diff --git a/composer.json b/composer.json index 45274b23afbdced6192a54c5fa9e89d62ff352b3..eabb4cc33b822642094d7d25e66111750f5b7efe 100644 --- a/composer.json +++ b/composer.json @@ -105,7 +105,7 @@ "drupal/config_update": "1.5", "drupal/console": "1.8", "drupal/content_access": "1.0-alpha1", - "drupal/core-recommended": "8.9.2", + "drupal/core-recommended": "8.9.3", "drupal/crop": "2.1", "drupal/ctools": "3.4", "drupal/devel": "2.0", diff --git a/composer.lock b/composer.lock index 2235858e735472df3387daee7a4b5b2989545c54..abfeef19f41544d91cf75d92709ebaa51fba3827 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "caf2194a7ee3f3c92e4e9dfb8a1d2311", + "content-hash": "8bbf1b75a83436fa7654bf0208a40f2d", "packages": [ { "name": "alchemy/zippy", @@ -3378,16 +3378,16 @@ }, { "name": "drupal/core", - "version": "8.9.2", + "version": "8.9.3", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "8f0e24555c093669ce41edbb30637fe19df16802" + "reference": "ee02fd4cbe4ac148b4d7e297ec63b3459983862e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/8f0e24555c093669ce41edbb30637fe19df16802", - "reference": "8f0e24555c093669ce41edbb30637fe19df16802", + "url": "https://api.github.com/repos/drupal/core/zipball/ee02fd4cbe4ac148b4d7e297ec63b3459983862e", + "reference": "ee02fd4cbe4ac148b4d7e297ec63b3459983862e", "shasum": "" }, "require": { @@ -3610,20 +3610,20 @@ "GPL-2.0-or-later" ], "description": "Drupal is an open source content management platform powering millions of websites and applications.", - "time": "2020-07-08T18:53:45+00:00" + "time": "2020-08-05T21:49:40+00:00" }, { "name": "drupal/core-recommended", - "version": "8.9.2", + "version": "8.9.3", "source": { "type": "git", "url": "https://github.com/drupal/core-recommended.git", - "reference": "8301ff766f17ce8a9eb36d3ffd183cbfff01dad6" + "reference": "db5c2fdd4bf3e72aee8c862eca72dd445e704d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-recommended/zipball/8301ff766f17ce8a9eb36d3ffd183cbfff01dad6", - "reference": "8301ff766f17ce8a9eb36d3ffd183cbfff01dad6", + "url": "https://api.github.com/repos/drupal/core-recommended/zipball/db5c2fdd4bf3e72aee8c862eca72dd445e704d71", + "reference": "db5c2fdd4bf3e72aee8c862eca72dd445e704d71", "shasum": "" }, "require": { @@ -3635,7 +3635,7 @@ "doctrine/common": "v2.7.3", "doctrine/inflector": "v1.2.0", "doctrine/lexer": "1.0.2", - "drupal/core": "8.9.2", + "drupal/core": "8.9.3", "easyrdf/easyrdf": "0.9.1", "egulias/email-validator": "2.1.17", "guzzlehttp/guzzle": "6.5.4", @@ -3692,7 +3692,7 @@ "GPL-2.0-or-later" ], "description": "Locked core dependencies; require this project INSTEAD OF drupal/core.", - "time": "2020-07-08T18:53:45+00:00" + "time": "2020-08-05T21:49:40+00:00" }, { "name": "drupal/crop", diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index b5f7c27f23b20ade20893436339b04b5eb124c47..31c343ffb6fb749407471baac5c63f9872e9a170 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -1370,6 +1370,7 @@ 'Drupal\\Core\\Block\\BlockManager' => $baseDir . '/web/core/lib/Drupal/Core/Block/BlockManager.php', 'Drupal\\Core\\Block\\BlockManagerInterface' => $baseDir . '/web/core/lib/Drupal/Core/Block/BlockManagerInterface.php', 'Drupal\\Core\\Block\\BlockPluginInterface' => $baseDir . '/web/core/lib/Drupal/Core/Block/BlockPluginInterface.php', + 'Drupal\\Core\\Block\\BlockPluginTrait' => $baseDir . '/web/core/lib/Drupal/Core/Block/BlockPluginTrait.php', 'Drupal\\Core\\Block\\MainContentBlockPluginInterface' => $baseDir . '/web/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php', 'Drupal\\Core\\Block\\MessagesBlockPluginInterface' => $baseDir . '/web/core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php', 'Drupal\\Core\\Block\\Plugin\\Block\\Broken' => $baseDir . '/web/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php', diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index ebed8106eb059f378a9bd7bcaa8ffcf9fff3d36a..81a723b4fd07b3332260da91d65f880bace2742d 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -2047,6 +2047,7 @@ class ComposerStaticInit5c689ffcd54b9e495ed983fdce09b530 'Drupal\\Core\\Block\\BlockManager' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/BlockManager.php', 'Drupal\\Core\\Block\\BlockManagerInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/BlockManagerInterface.php', 'Drupal\\Core\\Block\\BlockPluginInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/BlockPluginInterface.php', + 'Drupal\\Core\\Block\\BlockPluginTrait' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/BlockPluginTrait.php', 'Drupal\\Core\\Block\\MainContentBlockPluginInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php', 'Drupal\\Core\\Block\\MessagesBlockPluginInterface' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php', 'Drupal\\Core\\Block\\Plugin\\Block\\Broken' => __DIR__ . '/../..' . '/web/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index eed947c09322b72cd6874ce6d86490e17c04d66f..cce0268e72f5cecd7be1a9e5c7dfa35954c725f6 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -3487,17 +3487,17 @@ }, { "name": "drupal/core", - "version": "8.9.2", - "version_normalized": "8.9.2.0", + "version": "8.9.3", + "version_normalized": "8.9.3.0", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "8f0e24555c093669ce41edbb30637fe19df16802" + "reference": "ee02fd4cbe4ac148b4d7e297ec63b3459983862e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/8f0e24555c093669ce41edbb30637fe19df16802", - "reference": "8f0e24555c093669ce41edbb30637fe19df16802", + "url": "https://api.github.com/repos/drupal/core/zipball/ee02fd4cbe4ac148b4d7e297ec63b3459983862e", + "reference": "ee02fd4cbe4ac148b4d7e297ec63b3459983862e", "shasum": "" }, "require": { @@ -3664,7 +3664,7 @@ "drupal/workflows": "self.version", "drupal/workspaces": "self.version" }, - "time": "2020-07-08T18:53:45+00:00", + "time": "2020-08-05T21:49:40+00:00", "type": "drupal-core", "extra": { "drupal-scaffold": { @@ -3725,17 +3725,17 @@ }, { "name": "drupal/core-recommended", - "version": "8.9.2", - "version_normalized": "8.9.2.0", + "version": "8.9.3", + "version_normalized": "8.9.3.0", "source": { "type": "git", "url": "https://github.com/drupal/core-recommended.git", - "reference": "8301ff766f17ce8a9eb36d3ffd183cbfff01dad6" + "reference": "db5c2fdd4bf3e72aee8c862eca72dd445e704d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-recommended/zipball/8301ff766f17ce8a9eb36d3ffd183cbfff01dad6", - "reference": "8301ff766f17ce8a9eb36d3ffd183cbfff01dad6", + "url": "https://api.github.com/repos/drupal/core-recommended/zipball/db5c2fdd4bf3e72aee8c862eca72dd445e704d71", + "reference": "db5c2fdd4bf3e72aee8c862eca72dd445e704d71", "shasum": "" }, "require": { @@ -3747,7 +3747,7 @@ "doctrine/common": "v2.7.3", "doctrine/inflector": "v1.2.0", "doctrine/lexer": "1.0.2", - "drupal/core": "8.9.2", + "drupal/core": "8.9.3", "easyrdf/easyrdf": "0.9.1", "egulias/email-validator": "2.1.17", "guzzlehttp/guzzle": "6.5.4", @@ -3798,7 +3798,7 @@ "conflict": { "webflo/drupal-core-strict": "*" }, - "time": "2020-07-08T18:53:45+00:00", + "time": "2020-08-05T21:49:40+00:00", "type": "metapackage", "notification-url": "https://packagist.org/downloads/", "license": [ diff --git a/web/core/assets/scaffold/files/default.settings.php b/web/core/assets/scaffold/files/default.settings.php index 62f73e1b46530904e3a066fe4fc98c229f18ebcd..c5e2b4ab0d97f371c695e752aeb3a3b7e08f7a55 100644 --- a/web/core/assets/scaffold/files/default.settings.php +++ b/web/core/assets/scaffold/files/default.settings.php @@ -781,10 +781,13 @@ /** * Load local development override configuration, if available. * - * Use settings.local.php to override variables on secondary (staging, - * development, etc) installations of this site. Typically used to disable - * caching, JavaScript/CSS compression, re-routing of outgoing emails, and - * other things that should not happen on development and testing sites. + * Create a settings.local.php file to override variables on secondary (staging, + * development, etc.) installations of this site. + * + * Typical uses of settings.local.php include: + * - Disabling caching. + * - Disabling JavaScript/CSS compression. + * - Rerouting outgoing emails. * * Keep this code block at the end of this file to take full effect. */ diff --git a/web/core/assets/vendor/ckeditor/CHANGES.md b/web/core/assets/vendor/ckeditor/CHANGES.md index 9f5d14d45d0dbbf9679633d26de7497cc383e549..d4bf24aa44abe6c88e95533609714cbb9b97c85b 100644 --- a/web/core/assets/vendor/ckeditor/CHANGES.md +++ b/web/core/assets/vendor/ckeditor/CHANGES.md @@ -1,6 +1,30 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.14.1 + +Fixed Issues: + +* [#2607](https://github.com/ckeditor/ckeditor4/issues/2607): Fixed: The [Emoji](https://ckeditor.com/cke4/addon/emoji) plugin SVG icons file is not loaded in CORS context. +* [#3866](https://github.com/ckeditor/ckeditor4/issues/3866): Fixed: The [`config.readOnly`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-readOnly) configuration option not considered for startup read-only mode of inline editor. +* [#3931](https://github.com/ckeditor/ckeditor4/issues/3931): [IE] Fixed: An error is thrown when pasting using the Paste button after accepting the browser Clipboard Access Prompt dialog. +* [#3938](https://github.com/ckeditor/ckeditor4/issues/3938): Fixed: Cannot navigate the [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) panel with the keyboard after switching to source mode. +* [#2823](https://github.com/ckeditor/ckeditor4/issues/2823): [IE] Fixed: Cannot resize the last table column using the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin. +* [#909](https://github.com/ckeditor/ckeditor4/issues/909): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin does not work when the editor is placed in an absolutely positioned container. Thanks to [Roland Petto](https://github.com/arpi68)! +* [#1959](https://github.com/ckeditor/ckeditor4/issues/1959): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin does not work in a [maximized](https://ckeditor.com/cke4/addon/maximize) editor when the [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) feature is enabled. Thanks to [Roland Petto](https://github.com/arpi68)! +* [#3156](https://github.com/ckeditor/ckeditor4/issues/3156): Fixed: [Autolink](https://ckeditor.com/cke4/addon/autolink) [`config.autolink_urlRegex`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autolink_urlRegex) and [`config.autolink_emailRegex`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-autolink_emailRegex) options are not customizable. Thanks to [Sergiy Dobrovolsky](https://github.com/serggoodwill)! +* [#624](https://github.com/ckeditor/ckeditor4/issues/624): Fixed: [Notification](https://ckeditor.com/cke4/addon/notification) does not work with the [bottom toolbar location](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-toolbarLocation). +* [#3000](https://github.com/ckeditor/ckeditor4/issues/3000): Fixed: [Auto Embed](https://ckeditor.com/cke4/addon/autoembed) does not work with the [bottom toolbar location](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-toolbarLocation). +* [#1883](https://github.com/ckeditor/ckeditor4/issues/1883): Fixed: The [`editor.resize()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-resize) method does not work with CSS units. +* [#3926](https://github.com/ckeditor/ckeditor4/issues/3926): Fixed: Dragging and dropping a [widget](https://ckeditor.com/cke4/addon/widget) sometimes produces an error. +* [#4008](https://github.com/ckeditor/ckeditor4/issues/4008): Fixed: [Remove Format](https://ckeditor.com/cke4/addon/removeformat) does not work with a collapsed selection. +* [#3998](https://github.com/ckeditor/ckeditor4/issues/3998): Fixed: An error is thrown when switching to the [source mode](https://ckeditor.com/cke4/addon/sourcearea) using a custom <kbd>Ctrl</kbd> + <kbd>Enter</kbd> [keystroke](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-setKeystroke) with the [Widget](https://ckeditor.com/cke4/addon/widget) plugin present. + +Other Changes: + +* Updated [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) and [SpellCheckAsYouType](https://ckeditor.com/cke4/addon/scayt) (SCAYT) plugins: + * Fixed: Active [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) panel causes active suggestions to be unnecessarily checked by the SCAYT spell checking mechanism. + ## CKEditor 4.14 **Security Updates:** @@ -1391,7 +1415,7 @@ New Features: * [#11341](https://dev.ckeditor.com/ticket/11341): [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin: It is now possible to add a link to any image type. * [#10202](https://dev.ckeditor.com/ticket/10202): Introduced wildcard support in the [Allowed Content Rules](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_allowed_content_rules.html) format. * [#10276](https://dev.ckeditor.com/ticket/10276): Introduced blacklisting in the [Allowed Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html). -* [#10480](https://dev.ckeditor.com/ticket/10480): Introduced code snippets with code highlighting. There are two versions available so far — the default [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) which uses the [highlight.js](http://highlightjs.org) library and the [Code Snippet GeSHi](https://ckeditor.com/cke4/addon/codesnippetgeshi) which uses the [GeSHi](http://qbnz.com/highlighter/) library. +* [#10480](https://dev.ckeditor.com/ticket/10480): Introduced code snippets with code highlighting. There are two versions available so far — the default [Code Snippet](https://ckeditor.com/cke4/addon/codesnippet) which uses the [highlight.js](https://highlightjs.org) library and the [Code Snippet GeSHi](https://ckeditor.com/cke4/addon/codesnippetgeshi) which uses the [GeSHi](http://qbnz.com/highlighter/) library. * [#11737](https://dev.ckeditor.com/ticket/11737): Introduced an option to prevent [filtering](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html) of an element that matches custom criteria (see [`filter.addElementCallback()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#method-addElementCallback)). * [#11532](https://dev.ckeditor.com/ticket/11532): Introduced the [`editor.addContentsCss()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-addContentsCss) method that can be used for [adding custom CSS files](https://ckeditor.com/docs/ckeditor4/latest/guide/plugin_sdk_styles.html). * [#11536](https://dev.ckeditor.com/ticket/11536): Added the [`CKEDITOR.tools.htmlDecode()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-htmlDecode) method for decoding HTML entities. diff --git a/web/core/assets/vendor/ckeditor/LICENSE.md b/web/core/assets/vendor/ckeditor/LICENSE.md index 9ab2d17459aa56b7ac6462789928b63437f75386..5c9991d51b79d1505b674d493b92aa4b79a00ba2 100644 --- a/web/core/assets/vendor/ckeditor/LICENSE.md +++ b/web/core/assets/vendor/ckeditor/LICENSE.md @@ -2,21 +2,21 @@ Software License Agreement ========================== CKEditor - The text editor for Internet - https://ckeditor.com/ -Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. Licensed under the terms of any of the following licenses at your choice: - GNU General Public License Version 2 or later (the "GPL") - http://www.gnu.org/licenses/gpl.html + https://www.gnu.org/licenses/gpl.html (See Appendix A) - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - http://www.gnu.org/licenses/lgpl.html + https://www.gnu.org/licenses/lgpl.html (See Appendix B) - Mozilla Public License Version 1.1 or later (the "MPL") - http://www.mozilla.org/MPL/MPL-1.1.html + https://www.mozilla.org/MPL/MPL-1.1.html (See Appendix C) You are not required to, but if you want to explicitly declare the @@ -37,14 +37,14 @@ done by developers outside of CKSource with their express permission. The following libraries are included in CKEditor under the MIT license (see Appendix D): -* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2019, CKSource - Frederico Knabben. +* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2020, CKSource - Frederico Knabben. * PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca. * CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke <marijnh@gmail.com> and others. * ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors. Parts of code taken from the following libraries are included in CKEditor under the MIT license (see Appendix D): -* jQuery (inspired the domReady function, ckeditor_base.js) - Copyright (c) 2011 John Resig, http://jquery.com/ +* jQuery (inspired the domReady function, ckeditor_base.js) - Copyright (c) 2011 John Resig, https://jquery.com/ The following libraries are included in CKEditor under the SIL Open Font License, Version 1.1 (see Appendix E): diff --git a/web/core/assets/vendor/ckeditor/ckeditor.js b/web/core/assets/vendor/ckeditor/ckeditor.js index 01979e95e8aa5c761b0b67cc7f06fb89dba1464e..1c1638e20b0b70f61f6ef8d6a5cd15b467e5277d 100644 --- a/web/core/assets/vendor/ckeditor/ckeditor.js +++ b/web/core/assets/vendor/ckeditor/ckeditor.js @@ -2,43 +2,43 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -(function(){if(!window.CKEDITOR||!window.CKEDITOR.dom){window.CKEDITOR||(window.CKEDITOR=function(){var b=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,h={timestamp:"K2GA",version:"4.14.0",revision:"8a12b0417",rnd:Math.floor(900*Math.random())+100,_:{pending:[],basePathSrcPattern:b},status:"unloaded",basePath:function(){var a=window.CKEDITOR_BASEPATH||"";if(!a)for(var e=document.getElementsByTagName("script"),g=0;g<e.length;g++){var k=e[g].src.match(b);if(k){a=k[1];break}}-1==a.indexOf(":/")&&"//"!=a.slice(0, +(function(){if(!window.CKEDITOR||!window.CKEDITOR.dom){window.CKEDITOR||(window.CKEDITOR=function(){var b=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,h={timestamp:"K5QD",version:"4.14.1",revision:"eb2d11644",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"),g=0;g<f.length;g++){var l=f[g].src.match(b);if(l){a=l[1];break}}-1==a.indexOf(":/")&&"//"!=a.slice(0, 2)&&(a=0===a.indexOf("/")?location.href.match(/^.*?:\/\/[^\/]*/)[0]+a:location.href.match(/^[^\?]*\/(?:)/)[0]+a);if(!a)throw'The CKEditor installation path could not be automatically detected. Please set the global variable "CKEDITOR_BASEPATH" before creating editor instances.';return a}(),getUrl:function(a){-1==a.indexOf(":/")&&0!==a.indexOf("/")&&(a=this.basePath+a);this.timestamp&&"/"!=a.charAt(a.length-1)&&!/[&?]t=/.test(a)&&(a+=(0<=a.indexOf("?")?"\x26":"?")+"t\x3d"+this.timestamp);return a}, -domReady:function(){function a(){try{document.addEventListener?(document.removeEventListener("DOMContentLoaded",a,!1),e()):document.attachEvent&&"complete"===document.readyState&&(document.detachEvent("onreadystatechange",a),e())}catch(b){}}function e(){for(var a;a=b.shift();)a()}var b=[];return function(e){function c(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(c,1);return}a()}b.push(e);"complete"===document.readyState&&setTimeout(a,1);if(1==b.length)if(document.addEventListener)document.addEventListener("DOMContentLoaded", -a,!1),window.addEventListener("load",a,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",a);window.attachEvent("onload",a);e=!1;try{e=!window.frameElement}catch(f){}document.documentElement.doScroll&&e&&c()}}}()},g=window.CKEDITOR_GETURL;if(g){var e=h.getUrl;h.getUrl=function(a){return g.call(h,a)||e.call(h,a)}}return h}());CKEDITOR.event||(CKEDITOR.event=function(){},CKEDITOR.event.implementOn=function(b){var h=CKEDITOR.event.prototype,g;for(g in h)null==b[g]&&(b[g]=h[g])}, -CKEDITOR.event.prototype=function(){function b(e){var a=h(this);return a[e]||(a[e]=new g(e))}var h=function(e){e=e.getPrivate&&e.getPrivate()||e._||(e._={});return e.events||(e.events={})},g=function(e){this.name=e;this.listeners=[]};g.prototype={getListenerIndex:function(e){for(var a=0,b=this.listeners;a<b.length;a++)if(b[a].fn==e)return a;return-1}};return{define:function(e,a){var g=b.call(this,e);CKEDITOR.tools.extend(g,a,!0)},on:function(e,a,g,h,k){function c(n,d,c,w){n={name:e,sender:this,editor:n, -data:d,listenerData:h,stop:c,cancel:w,removeListener:f};return!1===a.call(g,n)?!1:n.data}function f(){n.removeListener(e,a)}var d=b.call(this,e);if(0>d.getListenerIndex(a)){d=d.listeners;g||(g=this);isNaN(k)&&(k=10);var n=this;c.fn=a;c.priority=k;for(var w=d.length-1;0<=w;w--)if(d[w].priority<=k)return d.splice(w+1,0,c),{removeListener:f};d.unshift(c)}return{removeListener:f}},once:function(){var e=Array.prototype.slice.call(arguments),a=e[1];e[1]=function(e){e.removeListener();return a.apply(this, -arguments)};return this.on.apply(this,e)},capture:function(){CKEDITOR.event.useCapture=1;var e=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return e},fire:function(){var e=0,a=function(){e=1},b=0,g=function(){b=1};return function(k,c,f){var d=h(this)[k];k=e;var n=b;e=b=0;if(d){var w=d.listeners;if(w.length)for(var w=w.slice(0),v,p=0;p<w.length;p++){if(d.errorProof)try{v=w[p].call(this,f,c,a,g)}catch(r){}else v=w[p].call(this,f,c,a,g);!1===v?b=1:"undefined"!=typeof v&&(c=v);if(e||b)break}}c= -b?!1:"undefined"==typeof c?!0:c;e=k;b=n;return c}}(),fireOnce:function(e,a,b){a=this.fire(e,a,b);delete h(this)[e];return a},removeListener:function(e,a){var b=h(this)[e];if(b){var g=b.getListenerIndex(a);0<=g&&b.listeners.splice(g,1)}},removeAllListeners:function(){var e=h(this),a;for(a in e)delete e[a]},hasListeners:function(e){return(e=h(this)[e])&&0<e.listeners.length}}}());CKEDITOR.editor||(CKEDITOR.editor=function(){CKEDITOR._.pending.push([this,arguments]);CKEDITOR.event.call(this)},CKEDITOR.editor.prototype.fire= +domReady:function(){function a(){try{document.addEventListener?(document.removeEventListener("DOMContentLoaded",a,!1),f()):document.attachEvent&&"complete"===document.readyState&&(document.detachEvent("onreadystatechange",a),f())}catch(b){}}function f(){for(var a;a=b.shift();)a()}var b=[];return function(f){function c(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(c,1);return}a()}b.push(f);"complete"===document.readyState&&setTimeout(a,1);if(1==b.length)if(document.addEventListener)document.addEventListener("DOMContentLoaded", +a,!1),window.addEventListener("load",a,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",a);window.attachEvent("onload",a);f=!1;try{f=!window.frameElement}catch(e){}document.documentElement.doScroll&&f&&c()}}}()},g=window.CKEDITOR_GETURL;if(g){var f=h.getUrl;h.getUrl=function(a){return g.call(h,a)||f.call(h,a)}}return h}());CKEDITOR.event||(CKEDITOR.event=function(){},CKEDITOR.event.implementOn=function(b){var h=CKEDITOR.event.prototype,g;for(g in h)null==b[g]&&(b[g]=h[g])}, +CKEDITOR.event.prototype=function(){function b(f){var a=h(this);return a[f]||(a[f]=new g(f))}var h=function(f){f=f.getPrivate&&f.getPrivate()||f._||(f._={});return f.events||(f.events={})},g=function(f){this.name=f;this.listeners=[]};g.prototype={getListenerIndex:function(f){for(var a=0,b=this.listeners;a<b.length;a++)if(b[a].fn==f)return a;return-1}};return{define:function(f,a){var g=b.call(this,f);CKEDITOR.tools.extend(g,a,!0)},on:function(f,a,g,h,l){function c(n,d,c,y){n={name:f,sender:this,editor:n, +data:d,listenerData:h,stop:c,cancel:y,removeListener:e};return!1===a.call(g,n)?!1:n.data}function e(){n.removeListener(f,a)}var d=b.call(this,f);if(0>d.getListenerIndex(a)){d=d.listeners;g||(g=this);isNaN(l)&&(l=10);var n=this;c.fn=a;c.priority=l;for(var y=d.length-1;0<=y;y--)if(d[y].priority<=l)return d.splice(y+1,0,c),{removeListener:e};d.unshift(c)}return{removeListener:e}},once:function(){var f=Array.prototype.slice.call(arguments),a=f[1];f[1]=function(f){f.removeListener();return a.apply(this, +arguments)};return this.on.apply(this,f)},capture:function(){CKEDITOR.event.useCapture=1;var f=this.on.apply(this,arguments);CKEDITOR.event.useCapture=0;return f},fire:function(){var f=0,a=function(){f=1},b=0,g=function(){b=1};return function(l,c,e){var d=h(this)[l];l=f;var n=b;f=b=0;if(d){var y=d.listeners;if(y.length)for(var y=y.slice(0),x,q=0;q<y.length;q++){if(d.errorProof)try{x=y[q].call(this,e,c,a,g)}catch(r){}else x=y[q].call(this,e,c,a,g);!1===x?b=1:"undefined"!=typeof x&&(c=x);if(f||b)break}}c= +b?!1:"undefined"==typeof c?!0:c;f=l;b=n;return c}}(),fireOnce:function(f,a,b){a=this.fire(f,a,b);delete h(this)[f];return a},removeListener:function(f,a){var b=h(this)[f];if(b){var g=b.getListenerIndex(a);0<=g&&b.listeners.splice(g,1)}},removeAllListeners:function(){var f=h(this),a;for(a in f)delete f[a]},hasListeners:function(f){return(f=h(this)[f])&&0<f.listeners.length}}}());CKEDITOR.editor||(CKEDITOR.editor=function(){CKEDITOR._.pending.push([this,arguments]);CKEDITOR.event.call(this)},CKEDITOR.editor.prototype.fire= function(b,h){b in{instanceReady:1,loaded:1}&&(this[b]=!0);return CKEDITOR.event.prototype.fire.call(this,b,h,this)},CKEDITOR.editor.prototype.fireOnce=function(b,h){b in{instanceReady:1,loaded:1}&&(this[b]=!0);return CKEDITOR.event.prototype.fireOnce.call(this,b,h,this)},CKEDITOR.event.implementOn(CKEDITOR.editor.prototype));CKEDITOR.env||(CKEDITOR.env=function(){var b=navigator.userAgent.toLowerCase(),h=b.match(/edge[ \/](\d+.?\d*)/),g=-1<b.indexOf("trident/"),g=!(!h&&!g),g={ie:g,edge:!!h,webkit:!g&& --1<b.indexOf(" applewebkit/"),air:-1<b.indexOf(" adobeair/"),mac:-1<b.indexOf("macintosh"),quirks:"BackCompat"==document.compatMode&&(!document.documentMode||10>document.documentMode),mobile:-1<b.indexOf("mobile"),iOS:/(ipad|iphone|ipod)/.test(b),isCustomDomain:function(){if(!this.ie)return!1;var a=document.domain,e=window.location.hostname;return a!=e&&a!="["+e+"]"},secure:"https:"==location.protocol};g.gecko="Gecko"==navigator.product&&!g.webkit&&!g.ie;g.webkit&&(-1<b.indexOf("chrome")?g.chrome= -!0:g.safari=!0);var e=0;g.ie&&(e=h?parseFloat(h[1]):g.quirks||!document.documentMode?parseFloat(b.match(/msie (\d+)/)[1]):document.documentMode,g.ie9Compat=9==e,g.ie8Compat=8==e,g.ie7Compat=7==e,g.ie6Compat=7>e||g.quirks);g.gecko&&(h=b.match(/rv:([\d\.]+)/))&&(h=h[1].split("."),e=1E4*h[0]+100*(h[1]||0)+1*(h[2]||0));g.air&&(e=parseFloat(b.match(/ adobeair\/(\d+)/)[1]));g.webkit&&(e=parseFloat(b.match(/ applewebkit\/(\d+)/)[1]));g.version=e;g.isCompatible=!(g.ie&&7>e)&&!(g.gecko&&4E4>e)&&!(g.webkit&& -534>e);g.hidpi=2<=window.devicePixelRatio;g.needsBrFiller=g.gecko||g.webkit||g.ie&&10<e;g.needsNbspFiller=g.ie&&11>e;g.cssClass="cke_browser_"+(g.ie?"ie":g.gecko?"gecko":g.webkit?"webkit":"unknown");g.quirks&&(g.cssClass+=" cke_browser_quirks");g.ie&&(g.cssClass+=" cke_browser_ie"+(g.quirks?"6 cke_browser_iequirks":g.version));g.air&&(g.cssClass+=" cke_browser_air");g.iOS&&(g.cssClass+=" cke_browser_ios");g.hidpi&&(g.cssClass+=" cke_hidpi");return g}());"unloaded"==CKEDITOR.status&&function(){CKEDITOR.event.implementOn(CKEDITOR); +-1<b.indexOf(" applewebkit/"),air:-1<b.indexOf(" adobeair/"),mac:-1<b.indexOf("macintosh"),quirks:"BackCompat"==document.compatMode&&(!document.documentMode||10>document.documentMode),mobile:-1<b.indexOf("mobile"),iOS:/(ipad|iphone|ipod)/.test(b),isCustomDomain:function(){if(!this.ie)return!1;var a=document.domain,f=window.location.hostname;return a!=f&&a!="["+f+"]"},secure:"https:"==location.protocol};g.gecko="Gecko"==navigator.product&&!g.webkit&&!g.ie;g.webkit&&(-1<b.indexOf("chrome")?g.chrome= +!0:g.safari=!0);var f=0;g.ie&&(f=h?parseFloat(h[1]):g.quirks||!document.documentMode?parseFloat(b.match(/msie (\d+)/)[1]):document.documentMode,g.ie9Compat=9==f,g.ie8Compat=8==f,g.ie7Compat=7==f,g.ie6Compat=7>f||g.quirks);g.gecko&&(h=b.match(/rv:([\d\.]+)/))&&(h=h[1].split("."),f=1E4*h[0]+100*(h[1]||0)+1*(h[2]||0));g.air&&(f=parseFloat(b.match(/ adobeair\/(\d+)/)[1]));g.webkit&&(f=parseFloat(b.match(/ applewebkit\/(\d+)/)[1]));g.version=f;g.isCompatible=!(g.ie&&7>f)&&!(g.gecko&&4E4>f)&&!(g.webkit&& +534>f);g.hidpi=2<=window.devicePixelRatio;g.needsBrFiller=g.gecko||g.webkit||g.ie&&10<f;g.needsNbspFiller=g.ie&&11>f;g.cssClass="cke_browser_"+(g.ie?"ie":g.gecko?"gecko":g.webkit?"webkit":"unknown");g.quirks&&(g.cssClass+=" cke_browser_quirks");g.ie&&(g.cssClass+=" cke_browser_ie"+(g.quirks?"6 cke_browser_iequirks":g.version));g.air&&(g.cssClass+=" cke_browser_air");g.iOS&&(g.cssClass+=" cke_browser_ios");g.hidpi&&(g.cssClass+=" cke_hidpi");return g}());"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",g=b.data.errorCode;if(b=b.data.additionalData)console[h]("[CKEDITOR] Error code: "+g+".",b);else console[h]("[CKEDITOR] Error code: "+g+".");console[h]("[CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#"+g)}},null,null,999);CKEDITOR.dom={};(function(){function b(n,d,c){this._minInterval= n;this._context=c;this._lastOutput=this._scheduledTimer=0;this._output=CKEDITOR.tools.bind(d,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 d=(new Date).getTime()-a._lastOutput;d<a._minInterval?a._scheduledTimer=setTimeout(n,a._minInterval-d):n()}}}function h(n,d,c){b.call(this,n,d,c);this._args=[];var a=this;this.input=CKEDITOR.tools.override(this.input,function(n){return function(){a._args= -Array.prototype.slice.call(arguments);n.call(this)}})}var g=[],e=CKEDITOR.env.gecko?"-moz-":CKEDITOR.env.webkit?"-webkit-":CKEDITOR.env.ie?"-ms-":"",a=/&/g,m=/>/g,l=/</g,k=/"/g,c=/&(lt|gt|amp|quot|nbsp|shy|#\d{1,5});/g,f={lt:"\x3c",gt:"\x3e",amp:"\x26",quot:'"',nbsp:" ",shy:""},d=function(n,d){return"#"==d[0]?String.fromCharCode(parseInt(d.slice(1),10)):f[d]};CKEDITOR.on("reset",function(){g=[]});CKEDITOR.tools={arrayCompare:function(n,d){if(!n&&!d)return!0;if(!n||!d||n.length!=d.length)return!1; +Array.prototype.slice.call(arguments);n.call(this)}})}var g=[],f=CKEDITOR.env.gecko?"-moz-":CKEDITOR.env.webkit?"-webkit-":CKEDITOR.env.ie?"-ms-":"",a=/&/g,m=/>/g,k=/</g,l=/"/g,c=/&(lt|gt|amp|quot|nbsp|shy|#\d{1,5});/g,e={lt:"\x3c",gt:"\x3e",amp:"\x26",quot:'"',nbsp:" ",shy:""},d=function(n,d){return"#"==d[0]?String.fromCharCode(parseInt(d.slice(1),10)):e[d]};CKEDITOR.on("reset",function(){g=[]});CKEDITOR.tools={arrayCompare:function(n,d){if(!n&&!d)return!0;if(!n||!d||n.length!=d.length)return!1; for(var c=0;c<n.length;c++)if(n[c]!=d[c])return!1;return!0},getIndex:function(n,d){for(var c=0;c<n.length;++c)if(d(n[c]))return c;return-1},clone:function(n){var d;if(n&&n instanceof Array){d=[];for(var c=0;c<n.length;c++)d[c]=CKEDITOR.tools.clone(n[c]);return d}if(null===n||"object"!=typeof n||n instanceof String||n instanceof Number||n instanceof Boolean||n instanceof Date||n instanceof RegExp||n.nodeType||n.window===n)return n;d=new n.constructor;for(c in n)d[c]=CKEDITOR.tools.clone(n[c]);return d}, -capitalize:function(d,c){return d.charAt(0).toUpperCase()+(c?d.slice(1):d.slice(1).toLowerCase())},extend:function(d){var c=arguments.length,a,f;"boolean"==typeof(a=arguments[c-1])?c--:"boolean"==typeof(a=arguments[c-2])&&(f=arguments[c-1],c-=2);for(var e=1;e<c;e++){var b=arguments[e]||{};CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(b),function(c){if(!0===a||null==d[c])if(!f||c in f)d[c]=b[c]})}return d},prototypedCopy:function(d){var c=function(){};c.prototype=d;return new c},copy:function(d){var c= -{},a;for(a in d)c[a]=d[a];return c},isArray:function(d){return"[object Array]"==Object.prototype.toString.call(d)},isEmpty:function(d){for(var c in d)if(d.hasOwnProperty(c))return!1;return!0},cssVendorPrefix:function(d,c,a){if(a)return e+d+":"+c+";"+d+":"+c;a={};a[d]=c;a[e+d]=c;return a},cssStyleToDomStyle:function(){var d=document.createElement("div").style,c="undefined"!=typeof d.cssFloat?"cssFloat":"undefined"!=typeof d.styleFloat?"styleFloat":"float";return function(d){return"float"==d?c:d.replace(/-./g, -function(d){return d.substr(1).toUpperCase()})}}(),buildStyleHtml:function(d){d=[].concat(d);for(var c,a=[],f=0;f<d.length;f++)if(c=d[f])/@import|[{}]/.test(c)?a.push("\x3cstyle\x3e"+c+"\x3c/style\x3e"):a.push('\x3clink type\x3d"text/css" rel\x3dstylesheet href\x3d"'+c+'"\x3e');return a.join("")},htmlEncode:function(d){return void 0===d||null===d?"":String(d).replace(a,"\x26amp;").replace(m,"\x26gt;").replace(l,"\x26lt;")},htmlDecode:function(n){return n.replace(c,d)},htmlEncodeAttr:function(d){return CKEDITOR.tools.htmlEncode(d).replace(k, -"\x26quot;")},htmlDecodeAttr:function(d){return CKEDITOR.tools.htmlDecode(d)},transformPlainTextToHtml:function(d,c){var a=c==CKEDITOR.ENTER_BR,f=this.htmlEncode(d.replace(/\r\n/g,"\n")),f=f.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;"),e=c==CKEDITOR.ENTER_P?"p":"div";if(!a){var b=/\n{2}/g;if(b.test(f))var k="\x3c"+e+"\x3e",g="\x3c/"+e+"\x3e",f=k+f.replace(b,function(){return g+k})+g}f=f.replace(/\n/g,"\x3cbr\x3e");a||(f=f.replace(new RegExp("\x3cbr\x3e(?\x3d\x3c/"+e+"\x3e)"),function(d){return CKEDITOR.tools.repeat(d, -2)}));f=f.replace(/^ | $/g,"\x26nbsp;");return f=f.replace(/(>|\s) /g,function(d,n){return n+"\x26nbsp;"}).replace(/ (?=<)/g,"\x26nbsp;")},getNextNumber:function(){var d=0;return function(){return++d}}(),getNextId:function(){return"cke_"+this.getNextNumber()},getUniqueId:function(){for(var d="e",c=0;8>c;c++)d+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return d},override:function(d,c){var a=c(d);a.prototype=d.prototype;return a},setTimeout:function(d,c,a,f,e){e||(e=window);a||(a= -e);return e.setTimeout(function(){f?d.apply(a,[].concat(f)):d.apply(a)},c||0)},throttle:function(d,c,a){return new this.buffers.throttle(d,c,a)},trim:function(){var d=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(c){return c.replace(d,"")}}(),ltrim:function(){var d=/^[ \t\n\r]+/g;return function(c){return c.replace(d,"")}}(),rtrim:function(){var d=/[ \t\n\r]+$/g;return function(c){return c.replace(d,"")}}(),indexOf:function(d,c){if("function"==typeof c)for(var a=0,f=d.length;a<f;a++){if(c(d[a]))return a}else{if(d.indexOf)return d.indexOf(c); -a=0;for(f=d.length;a<f;a++)if(d[a]===c)return a}return-1},search:function(d,c){var a=CKEDITOR.tools.indexOf(d,c);return 0<=a?d[a]:null},bind:function(d,c){var a=Array.prototype.slice.call(arguments,2);return function(){return d.apply(c,a.concat(Array.prototype.slice.call(arguments)))}},createClass:function(d){var c=d.$,a=d.base,f=d.privates||d._,e=d.proto;d=d.statics;!c&&(c=function(){a&&this.base.apply(this,arguments)});if(f)var b=c,c=function(){var d=this._||(this._={}),c;for(c in f){var n=f[c]; -d[c]="function"==typeof n?CKEDITOR.tools.bind(n,this):n}b.apply(this,arguments)};a&&(c.prototype=this.prototypedCopy(a.prototype),c.prototype.constructor=c,c.base=a,c.baseProto=a.prototype,c.prototype.base=function t(){this.base=a.prototype.base;a.apply(this,arguments);this.base=t});e&&this.extend(c.prototype,e,!0);d&&this.extend(c,d,!0);return c},addFunction:function(d,c){return g.push(function(){return d.apply(c||this,arguments)})-1},removeFunction:function(d){g[d]=null},callFunction:function(d){var c= +capitalize:function(n,d){return n.charAt(0).toUpperCase()+(d?n.slice(1):n.slice(1).toLowerCase())},extend:function(n){var d=arguments.length,c,a;"boolean"==typeof(c=arguments[d-1])?d--:"boolean"==typeof(c=arguments[d-2])&&(a=arguments[d-1],d-=2);for(var e=1;e<d;e++){var f=arguments[e]||{};CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(f),function(d){if(!0===c||null==n[d])if(!a||d in a)n[d]=f[d]})}return n},prototypedCopy:function(d){var c=function(){};c.prototype=d;return new c},copy:function(d){var c= +{},a;for(a in d)c[a]=d[a];return c},isArray:function(d){return"[object Array]"==Object.prototype.toString.call(d)},isEmpty:function(d){for(var c in d)if(d.hasOwnProperty(c))return!1;return!0},cssVendorPrefix:function(d,c,a){if(a)return f+d+":"+c+";"+d+":"+c;a={};a[d]=c;a[f+d]=c;return a},cssStyleToDomStyle:function(){var d=document.createElement("div").style,c="undefined"!=typeof d.cssFloat?"cssFloat":"undefined"!=typeof d.styleFloat?"styleFloat":"float";return function(d){return"float"==d?c:d.replace(/-./g, +function(d){return d.substr(1).toUpperCase()})}}(),buildStyleHtml:function(d){d=[].concat(d);for(var c,a=[],e=0;e<d.length;e++)if(c=d[e])/@import|[{}]/.test(c)?a.push("\x3cstyle\x3e"+c+"\x3c/style\x3e"):a.push('\x3clink type\x3d"text/css" rel\x3dstylesheet href\x3d"'+c+'"\x3e');return a.join("")},htmlEncode:function(d){return void 0===d||null===d?"":String(d).replace(a,"\x26amp;").replace(m,"\x26gt;").replace(k,"\x26lt;")},htmlDecode:function(n){return n.replace(c,d)},htmlEncodeAttr:function(d){return CKEDITOR.tools.htmlEncode(d).replace(l, +"\x26quot;")},htmlDecodeAttr:function(d){return CKEDITOR.tools.htmlDecode(d)},transformPlainTextToHtml:function(d,c){var a=c==CKEDITOR.ENTER_BR,e=this.htmlEncode(d.replace(/\r\n/g,"\n")),e=e.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;"),f=c==CKEDITOR.ENTER_P?"p":"div";if(!a){var b=/\n{2}/g;if(b.test(e))var l="\x3c"+f+"\x3e",g="\x3c/"+f+"\x3e",e=l+e.replace(b,function(){return g+l})+g}e=e.replace(/\n/g,"\x3cbr\x3e");a||(e=e.replace(new RegExp("\x3cbr\x3e(?\x3d\x3c/"+f+"\x3e)"),function(d){return CKEDITOR.tools.repeat(d, +2)}));e=e.replace(/^ | $/g,"\x26nbsp;");return e=e.replace(/(>|\s) /g,function(d,n){return n+"\x26nbsp;"}).replace(/ (?=<)/g,"\x26nbsp;")},getNextNumber:function(){var d=0;return function(){return++d}}(),getNextId:function(){return"cke_"+this.getNextNumber()},getUniqueId:function(){for(var d="e",c=0;8>c;c++)d+=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return d},override:function(d,c){var a=c(d);a.prototype=d.prototype;return a},setTimeout:function(d,c,a,e,f){f||(f=window);a||(a= +f);return f.setTimeout(function(){e?d.apply(a,[].concat(e)):d.apply(a)},c||0)},throttle:function(d,c,a){return new this.buffers.throttle(d,c,a)},trim:function(){var d=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(c){return c.replace(d,"")}}(),ltrim:function(){var d=/^[ \t\n\r]+/g;return function(c){return c.replace(d,"")}}(),rtrim:function(){var d=/[ \t\n\r]+$/g;return function(c){return c.replace(d,"")}}(),indexOf:function(d,c){if("function"==typeof c)for(var a=0,e=d.length;a<e;a++){if(c(d[a]))return a}else{if(d.indexOf)return d.indexOf(c); +a=0;for(e=d.length;a<e;a++)if(d[a]===c)return a}return-1},search:function(d,c){var a=CKEDITOR.tools.indexOf(d,c);return 0<=a?d[a]:null},bind:function(d,c){var a=Array.prototype.slice.call(arguments,2);return function(){return d.apply(c,a.concat(Array.prototype.slice.call(arguments)))}},createClass:function(d){var c=d.$,a=d.base,e=d.privates||d._,f=d.proto;d=d.statics;!c&&(c=function(){a&&this.base.apply(this,arguments)});if(e)var b=c,c=function(){var d=this._||(this._={}),c;for(c in e){var n=e[c]; +d[c]="function"==typeof n?CKEDITOR.tools.bind(n,this):n}b.apply(this,arguments)};a&&(c.prototype=this.prototypedCopy(a.prototype),c.prototype.constructor=c,c.base=a,c.baseProto=a.prototype,c.prototype.base=function t(){this.base=a.prototype.base;a.apply(this,arguments);this.base=t});f&&this.extend(c.prototype,f,!0);d&&this.extend(c,d,!0);return c},addFunction:function(d,c){return g.push(function(){return d.apply(c||this,arguments)})-1},removeFunction:function(d){g[d]=null},callFunction:function(d){var c= g[d];return c&&c.apply(window,Array.prototype.slice.call(arguments,1))},cssLength:function(){var d=/^-?\d+\.?\d*px$/,c;return function(a){c=CKEDITOR.tools.trim(a+"")+"px";return d.test(c)?c:a||""}}(),convertToPx:function(){var d;return function(c){d||(d=CKEDITOR.dom.element.createFromHtml('\x3cdiv style\x3d"position:absolute;left:-9999px;top:-9999px;margin:0px;padding:0px;border:0px;"\x3e\x3c/div\x3e',CKEDITOR.document),CKEDITOR.document.getBody().append(d));if(!/%$/.test(c)){var a=0>parseFloat(c); -a&&(c=c.replace("-",""));d.setStyle("width",c);c=d.$.clientWidth;return a?-c:c}return c}}(),repeat:function(d,c){return Array(c+1).join(d)},tryThese:function(){for(var d,c=0,a=arguments.length;c<a;c++){var f=arguments[c];try{d=f();break}catch(e){}}return d},genKey:function(){return Array.prototype.slice.call(arguments).join("-")},defer:function(d){return function(){var c=arguments,a=this;window.setTimeout(function(){d.apply(a,c)},0)}},normalizeCssText:function(d,c){var a=[],f,e=CKEDITOR.tools.parseCssText(d, -!0,c);for(f in e)a.push(f+":"+e[f]);a.sort();return a.length?a.join(";")+";":""},convertRgbToHex:function(d){return d.replace(/(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi,function(d,c,n,a){d=[c,n,a];for(c=0;3>c;c++)d[c]=("0"+parseInt(d[c],10).toString(16)).slice(-2);return"#"+d.join("")})},normalizeHex:function(d){return d.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(d,c,n,a){d=c.toLowerCase();3==d.length&&(d=d.split(""),d=[d[0],d[0],d[1],d[1],d[2],d[2]].join(""));return"#"+d+a})},parseCssText:function(d, -c,a){var f={};a&&(d=(new CKEDITOR.dom.element("span")).setAttribute("style",d).getAttribute("style")||"");d&&(d=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(d)));if(!d||";"==d)return f;d.replace(/"/g,'"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(d,n,a){c&&(n=n.toLowerCase(),"font-family"==n&&(a=a.replace(/\s*,\s*/g,",")),a=CKEDITOR.tools.trim(a));f[n]=a});return f},writeCssText:function(d,c){var a,f=[];for(a in d)f.push(a+":"+d[a]);c&&f.sort();return f.join("; ")}, -objectCompare:function(d,c,a){var f;if(!d&&!c)return!0;if(!d||!c)return!1;for(f in d)if(d[f]!=c[f])return!1;if(!a)for(f in c)if(d[f]!=c[f])return!1;return!0},objectKeys:function(d){return CKEDITOR.tools.object.keys(d)},convertArrayToObject:function(d,c){var a={};1==arguments.length&&(c=!0);for(var f=0,e=d.length;f<e;++f)a[d[f]]=c;return a},fixDomain:function(){for(var d;;)try{d=window.parent.document.domain;break}catch(c){d=d?d.replace(/.+?(?:\.|$)/,""):document.domain;if(!d)break;document.domain= -d}return!!d},eventsBuffer:function(d,c,a){return new this.buffers.event(d,c,a)},enableHtml5Elements:function(d,c){for(var a="abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video".split(" "),f=a.length,e;f--;)e=d.createElement(a[f]),c&&d.appendChild(e)},checkIfAnyArrayItemMatches:function(d,c){for(var a=0,f=d.length;a<f;++a)if(d[a].match(c))return!0;return!1},checkIfAnyObjectPropertyMatches:function(d, -c){for(var a in d)if(a.match(c))return!0;return!1},keystrokeToString:function(d,c){var a=this.keystrokeToArray(d,c);a.display=a.display.join("+");a.aria=a.aria.join("+");return a},keystrokeToArray:function(d,c){var a=c&16711680,f=c&65535,e=CKEDITOR.env.mac,b=[],k=[];a&CKEDITOR.CTRL&&(b.push(e?"⌘":d[17]),k.push(e?d[224]:d[17]));a&CKEDITOR.ALT&&(b.push(e?"⌥":d[18]),k.push(d[18]));a&CKEDITOR.SHIFT&&(b.push(e?"⇧":d[16]),k.push(d[16]));f&&(d[f]?(b.push(d[f]),k.push(d[f])):(b.push(String.fromCharCode(f)), -k.push(String.fromCharCode(f))));return{display:b,aria:k}},transparentImageData:"data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw\x3d\x3d",getCookie:function(d){d=d.toLowerCase();for(var c=document.cookie.split(";"),a,f,e=0;e<c.length;e++)if(a=c[e].split("\x3d"),f=decodeURIComponent(CKEDITOR.tools.trim(a[0]).toLowerCase()),f===d)return decodeURIComponent(1<a.length?a[1]:"");return null},setCookie:function(d,c){document.cookie=encodeURIComponent(d)+"\x3d"+encodeURIComponent(c)+ -";path\x3d/"},getCsrfToken:function(){var d=CKEDITOR.tools.getCookie("ckCsrfToken");if(!d||40!=d.length){var d=[],c="";if(window.crypto&&window.crypto.getRandomValues)d=new Uint8Array(40),window.crypto.getRandomValues(d);else for(var a=0;40>a;a++)d.push(Math.floor(256*Math.random()));for(a=0;a<d.length;a++)var f="abcdefghijklmnopqrstuvwxyz0123456789".charAt(d[a]%36),c=c+(.5<Math.random()?f.toUpperCase():f);d=c;CKEDITOR.tools.setCookie("ckCsrfToken",d)}return d},escapeCss:function(d){return d?window.CSS&& -CSS.escape?CSS.escape(d):isNaN(parseInt(d.charAt(0),10))?d:"\\3"+d.charAt(0)+" "+d.substring(1,d.length):""},getMouseButton:function(d){return(d=d&&d.data?d.data.$:d)?CKEDITOR.tools.normalizeMouseButton(d.button):!1},normalizeMouseButton:function(d,c){if(!CKEDITOR.env.ie||9<=CKEDITOR.env.version&&!CKEDITOR.env.ie6Compat)return d;for(var a=[[CKEDITOR.MOUSE_BUTTON_LEFT,1],[CKEDITOR.MOUSE_BUTTON_MIDDLE,4],[CKEDITOR.MOUSE_BUTTON_RIGHT,2]],f=0;f<a.length;f++){var e=a[f];if(e[0]===d&&c)return e[1];if(!c&& -e[1]===d)return e[0]}},convertHexStringToBytes:function(d){var c=[],a=d.length/2,f;for(f=0;f<a;f++)c.push(parseInt(d.substr(2*f,2),16));return c},convertBytesToBase64:function(d){var c="",a=d.length,f;for(f=0;f<a;f+=3){var e=d.slice(f,f+3),b=e.length,k=[],g;if(3>b)for(g=b;3>g;g++)e[g]=0;k[0]=(e[0]&252)>>2;k[1]=(e[0]&3)<<4|e[1]>>4;k[2]=(e[1]&15)<<2|(e[2]&192)>>6;k[3]=e[2]&63;for(g=0;4>g;g++)c=g<=b?c+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(k[g]):c+"\x3d"}return c}, +a&&(c=c.replace("-",""));d.setStyle("width",c);c=d.$.clientWidth;return a?-c:c}return c}}(),repeat:function(d,c){return Array(c+1).join(d)},tryThese:function(){for(var d,c=0,a=arguments.length;c<a;c++){var e=arguments[c];try{d=e();break}catch(f){}}return d},genKey:function(){return Array.prototype.slice.call(arguments).join("-")},defer:function(d){return function(){var c=arguments,a=this;window.setTimeout(function(){d.apply(a,c)},0)}},normalizeCssText:function(d,c){var a=[],e,f=CKEDITOR.tools.parseCssText(d, +!0,c);for(e in f)a.push(e+":"+f[e]);a.sort();return a.length?a.join(";")+";":""},convertRgbToHex:function(d){return d.replace(/(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi,function(d,c,n,a){d=[c,n,a];for(c=0;3>c;c++)d[c]=("0"+parseInt(d[c],10).toString(16)).slice(-2);return"#"+d.join("")})},normalizeHex:function(d){return d.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi,function(d,c,n,a){d=c.toLowerCase();3==d.length&&(d=d.split(""),d=[d[0],d[0],d[1],d[1],d[2],d[2]].join(""));return"#"+d+a})},parseCssText:function(d, +c,a){var e={};a&&(d=(new CKEDITOR.dom.element("span")).setAttribute("style",d).getAttribute("style")||"");d&&(d=CKEDITOR.tools.normalizeHex(CKEDITOR.tools.convertRgbToHex(d)));if(!d||";"==d)return e;d.replace(/"/g,'"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(d,n,a){c&&(n=n.toLowerCase(),"font-family"==n&&(a=a.replace(/\s*,\s*/g,",")),a=CKEDITOR.tools.trim(a));e[n]=a});return e},writeCssText:function(d,c){var a,e=[];for(a in d)e.push(a+":"+d[a]);c&&e.sort();return e.join("; ")}, +objectCompare:function(d,c,a){var e;if(!d&&!c)return!0;if(!d||!c)return!1;for(e in d)if(d[e]!=c[e])return!1;if(!a)for(e in c)if(d[e]!=c[e])return!1;return!0},objectKeys:function(d){return CKEDITOR.tools.object.keys(d)},convertArrayToObject:function(d,c){var a={};1==arguments.length&&(c=!0);for(var e=0,f=d.length;e<f;++e)a[d[e]]=c;return a},fixDomain:function(){for(var d;;)try{d=window.parent.document.domain;break}catch(c){d=d?d.replace(/.+?(?:\.|$)/,""):document.domain;if(!d)break;document.domain= +d}return!!d},eventsBuffer:function(d,c,a){return new this.buffers.event(d,c,a)},enableHtml5Elements:function(d,c){for(var a="abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video".split(" "),e=a.length,f;e--;)f=d.createElement(a[e]),c&&d.appendChild(f)},checkIfAnyArrayItemMatches:function(d,c){for(var a=0,e=d.length;a<e;++a)if(d[a].match(c))return!0;return!1},checkIfAnyObjectPropertyMatches:function(d, +c){for(var a in d)if(a.match(c))return!0;return!1},keystrokeToString:function(d,c){var a=this.keystrokeToArray(d,c);a.display=a.display.join("+");a.aria=a.aria.join("+");return a},keystrokeToArray:function(d,c){var a=c&16711680,e=c&65535,f=CKEDITOR.env.mac,b=[],l=[];a&CKEDITOR.CTRL&&(b.push(f?"⌘":d[17]),l.push(f?d[224]:d[17]));a&CKEDITOR.ALT&&(b.push(f?"⌥":d[18]),l.push(d[18]));a&CKEDITOR.SHIFT&&(b.push(f?"⇧":d[16]),l.push(d[16]));e&&(d[e]?(b.push(d[e]),l.push(d[e])):(b.push(String.fromCharCode(e)), +l.push(String.fromCharCode(e))));return{display:b,aria:l}},transparentImageData:"data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw\x3d\x3d",getCookie:function(d){d=d.toLowerCase();for(var c=document.cookie.split(";"),a,e,f=0;f<c.length;f++)if(a=c[f].split("\x3d"),e=decodeURIComponent(CKEDITOR.tools.trim(a[0]).toLowerCase()),e===d)return decodeURIComponent(1<a.length?a[1]:"");return null},setCookie:function(d,c){document.cookie=encodeURIComponent(d)+"\x3d"+encodeURIComponent(c)+ +";path\x3d/"},getCsrfToken:function(){var d=CKEDITOR.tools.getCookie("ckCsrfToken");if(!d||40!=d.length){var d=[],c="";if(window.crypto&&window.crypto.getRandomValues)d=new Uint8Array(40),window.crypto.getRandomValues(d);else for(var a=0;40>a;a++)d.push(Math.floor(256*Math.random()));for(a=0;a<d.length;a++)var e="abcdefghijklmnopqrstuvwxyz0123456789".charAt(d[a]%36),c=c+(.5<Math.random()?e.toUpperCase():e);d=c;CKEDITOR.tools.setCookie("ckCsrfToken",d)}return d},escapeCss:function(d){return d?window.CSS&& +CSS.escape?CSS.escape(d):isNaN(parseInt(d.charAt(0),10))?d:"\\3"+d.charAt(0)+" "+d.substring(1,d.length):""},getMouseButton:function(d){return(d=d&&d.data?d.data.$:d)?CKEDITOR.tools.normalizeMouseButton(d.button):!1},normalizeMouseButton:function(d,c){if(!CKEDITOR.env.ie||9<=CKEDITOR.env.version&&!CKEDITOR.env.ie6Compat)return d;for(var a=[[CKEDITOR.MOUSE_BUTTON_LEFT,1],[CKEDITOR.MOUSE_BUTTON_MIDDLE,4],[CKEDITOR.MOUSE_BUTTON_RIGHT,2]],e=0;e<a.length;e++){var f=a[e];if(f[0]===d&&c)return f[1];if(!c&& +f[1]===d)return f[0]}},convertHexStringToBytes:function(d){var c=[],a=d.length/2,e;for(e=0;e<a;e++)c.push(parseInt(d.substr(2*e,2),16));return c},convertBytesToBase64:function(d){var c="",a=d.length,e;for(e=0;e<a;e+=3){var f=d.slice(e,e+3),b=f.length,l=[],g;if(3>b)for(g=b;3>g;g++)f[g]=0;l[0]=(f[0]&252)>>2;l[1]=(f[0]&3)<<4|f[1]>>4;l[2]=(f[1]&15)<<2|(f[2]&192)>>6;l[3]=f[2]&63;for(g=0;4>g;g++)c=g<=b?c+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l[g]):c+"\x3d"}return c}, style:{parse:{_colors:{aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400", darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC", ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A", @@ -46,807 +46,808 @@ lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightsla moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460", seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",windowtext:"windowtext",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},_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(d){var c={},a=this._findColor(d);a.length&&(c.color=a[0],CKEDITOR.tools.array.forEach(a,function(c){d=d.replace(c,"")}));if(d=CKEDITOR.tools.trim(d))c.unprocessed=d;return c},margin:function(d){return CKEDITOR.tools.style.parse.sideShorthand(d, -function(d){return d.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset|revert)/g)||["0px"]})},sideShorthand:function(d,c){function a(d){f.top=e[d[0]];f.right=e[d[1]];f.bottom=e[d[2]];f.left=e[d[3]]}var f={},e=c?c(d):d.split(/\s+/);switch(e.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 f},border:function(d){return CKEDITOR.tools.style.border.fromCssRule(d)},_findColor:function(d){var c=[],a=CKEDITOR.tools.array,c=c.concat(d.match(this._rgbaRegExp)|| -[]),c=c.concat(d.match(this._hslaRegExp)||[]);return c=c.concat(a.filter(d.split(/\s+/),function(d){return d.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:d.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},array:{filter:function(d,c,a){var f=[];this.forEach(d,function(e,b){c.call(a,e,b,d)&&f.push(e)});return f},find:function(d,c,a){for(var f=d.length,e=0;e<f;){if(c.call(a,d[e],e,d))return d[e];e++}},forEach:function(d,c,a){var f=d.length,e;for(e=0;e<f;e++)c.call(a,d[e],e,d)},map:function(d, -c,a){for(var f=[],e=0;e<d.length;e++)f.push(c.call(a,d[e],e,d));return f},reduce:function(d,c,a,f){for(var e=0;e<d.length;e++)a=c.call(f,a,d[e],e,d);return a},every:function(d,c,a){if(!d.length)return!0;c=this.filter(d,c,a);return d.length===c.length},some:function(d,c,a){for(var f=0;f<d.length;f++)if(c.call(a,d[f],f,d))return!0;return!1}},object:{DONT_ENUMS:"toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),entries:function(d){return CKEDITOR.tools.array.map(CKEDITOR.tools.object.keys(d), -function(c){return[c,d[c]]})},values:function(d){return CKEDITOR.tools.array.map(CKEDITOR.tools.object.keys(d),function(c){return d[c]})},keys:function(d){var c=Object.prototype.hasOwnProperty,a=[],f=CKEDITOR.tools.object.DONT_ENUMS;if(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(!d||"object"!==typeof d)){c=[];if("string"===typeof d)for(a=0;a<d.length;a++)c.push(String(a));return c}for(var e in d)a.push(e);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)for(e=0;e<f.length;e++)c.call(d,f[e])&&a.push(f[e]); -return a},findKey:function(d,c){if("object"!==typeof d)return null;for(var a in d)if(d[a]===c)return a;return null},merge:function(d,c){var a=CKEDITOR.tools,f=a.clone(d),e=a.clone(c);a.array.forEach(a.object.keys(e),function(d){f[d]="object"===typeof e[d]&&"object"===typeof f[d]?a.object.merge(f[d],e[d]):e[d]});return f}},getAbsoluteRectPosition:function(d,c){function a(d){if(d){var c=d.getClientRect();f.top+=c.top;f.left+=c.left;"x"in f&&"y"in f&&(f.x+=c.x,f.y+=c.y);a(d.getWindow().getFrame())}} -var f=CKEDITOR.tools.copy(c);a(d.getFrame());var e=CKEDITOR.document.getWindow().getScrollPosition();f.top+=e.y;f.left+=e.x;"x"in f&&"y"in f&&(f.y+=e.y,f.x+=e.x);f.right=f.left+f.width;f.bottom=f.top+f.height;return f}};b.prototype={reset:function(){this._lastOutput=0;this._clearTimer()},_reschedule:function(){return!1},_call:function(){this._output()},_clearTimer:function(){this._scheduledTimer&&clearTimeout(this._scheduledTimer);this._scheduledTimer=0}};h.prototype=CKEDITOR.tools.prototypedCopy(b.prototype); +function(d){return d.match(/(?:\-?[\.\d]+(?:%|\w*)|auto|inherit|initial|unset|revert)/g)||["0px"]})},sideShorthand:function(d,c){function a(d){e.top=f[d[0]];e.right=f[d[1]];e.bottom=f[d[2]];e.left=f[d[3]]}var e={},f=c?c(d):d.split(/\s+/);switch(f.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 e},border:function(d){return CKEDITOR.tools.style.border.fromCssRule(d)},_findColor:function(d){var c=[],a=CKEDITOR.tools.array,c=c.concat(d.match(this._rgbaRegExp)|| +[]),c=c.concat(d.match(this._hslaRegExp)||[]);return c=c.concat(a.filter(d.split(/\s+/),function(d){return d.match(/^\#[a-f0-9]{3}(?:[a-f0-9]{3})?$/gi)?!0:d.toLowerCase()in CKEDITOR.tools.style.parse._colors}))}}},array:{filter:function(d,c,a){var e=[];this.forEach(d,function(f,b){c.call(a,f,b,d)&&e.push(f)});return e},find:function(d,c,a){for(var e=d.length,f=0;f<e;){if(c.call(a,d[f],f,d))return d[f];f++}},forEach:function(d,c,a){var e=d.length,f;for(f=0;f<e;f++)c.call(a,d[f],f,d)},map:function(d, +c,a){for(var e=[],f=0;f<d.length;f++)e.push(c.call(a,d[f],f,d));return e},reduce:function(d,c,a,e){for(var f=0;f<d.length;f++)a=c.call(e,a,d[f],f,d);return a},every:function(d,c,a){if(!d.length)return!0;c=this.filter(d,c,a);return d.length===c.length},some:function(d,c,a){for(var e=0;e<d.length;e++)if(c.call(a,d[e],e,d))return!0;return!1}},object:{DONT_ENUMS:"toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),entries:function(d){return CKEDITOR.tools.array.map(CKEDITOR.tools.object.keys(d), +function(c){return[c,d[c]]})},values:function(d){return CKEDITOR.tools.array.map(CKEDITOR.tools.object.keys(d),function(c){return d[c]})},keys:function(d){var c=Object.prototype.hasOwnProperty,a=[],e=CKEDITOR.tools.object.DONT_ENUMS;if(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(!d||"object"!==typeof d)){c=[];if("string"===typeof d)for(a=0;a<d.length;a++)c.push(String(a));return c}for(var f in d)a.push(f);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)for(f=0;f<e.length;f++)c.call(d,e[f])&&a.push(e[f]); +return a},findKey:function(d,c){if("object"!==typeof d)return null;for(var a in d)if(d[a]===c)return a;return null},merge:function(d,c){var a=CKEDITOR.tools,e=a.clone(d),f=a.clone(c);a.array.forEach(a.object.keys(f),function(d){e[d]="object"===typeof f[d]&&"object"===typeof e[d]?a.object.merge(e[d],f[d]):f[d]});return e}},getAbsoluteRectPosition:function(d,c){function a(d){if(d){var c=d.getClientRect();e.top+=c.top;e.left+=c.left;"x"in e&&"y"in e&&(e.x+=c.x,e.y+=c.y);a(d.getWindow().getFrame())}} +var e=CKEDITOR.tools.copy(c);a(d.getFrame());var f=CKEDITOR.document.getWindow().getScrollPosition();e.top+=f.y;e.left+=f.x;"x"in e&&"y"in e&&(e.y+=f.y,e.x+=f.x);e.right=e.left+e.width;e.bottom=e.top+e.height;return e}};b.prototype={reset:function(){this._lastOutput=0;this._clearTimer()},_reschedule:function(){return!1},_call:function(){this._output()},_clearTimer:function(){this._scheduledTimer&&clearTimeout(this._scheduledTimer);this._scheduledTimer=0}};h.prototype=CKEDITOR.tools.prototypedCopy(b.prototype); h.prototype._reschedule=function(){this._scheduledTimer&&this._clearTimer()};h.prototype._call=function(){this._output.apply(this._context,this._args)};CKEDITOR.tools.buffers={};CKEDITOR.tools.buffers.event=b;CKEDITOR.tools.buffers.throttle=h;CKEDITOR.tools.style.border=CKEDITOR.tools.createClass({$:function(d){d=d||{};this.width=d.width;this.style=d.style;this.color=d.color;this._.normalize()},_:{normalizeMap:{color:[[/windowtext/g,"black"]]},normalize:function(){for(var d in this._.normalizeMap){var c= this[d];c&&(this[d]=CKEDITOR.tools.array.reduce(this._.normalizeMap[d],function(d,c){return d.replace(c[0],c[1])},c))}}},proto:{toString:function(){return CKEDITOR.tools.array.filter([this.width,this.style,this.color],function(d){return!!d}).join(" ")}},statics:{fromCssRule:function(d){var c={},a=d.split(/\s+/g);d=CKEDITOR.tools.style.parse._findColor(d);d.length&&(c.color=d[0]);CKEDITOR.tools.array.forEach(a,function(d){c.style||-1===CKEDITOR.tools.indexOf(CKEDITOR.tools.style.parse._borderStyle, -d)?!c.width&&CKEDITOR.tools.style.parse._widthRegExp.test(d)&&(c.width=d):c.style=d});return new CKEDITOR.tools.style.border(c)},splitCssValues:function(d,c){c=c||{};var a=CKEDITOR.tools.array.reduce(["width","style","color"],function(a,f){var e=d["border-"+f]||c[f];a[f]=e?CKEDITOR.tools.style.parse.sideShorthand(e):null;return a},{});return CKEDITOR.tools.array.reduce(["top","right","bottom","left"],function(c,f){var e={},b;for(b in a){var k=d["border-"+f+"-"+b];e[b]=k?k:a[b]&&a[b][f]}c["border-"+ -f]=new CKEDITOR.tools.style.border(e);return c},{})}}});CKEDITOR.tools.array.indexOf=CKEDITOR.tools.indexOf;CKEDITOR.tools.array.isArray=CKEDITOR.tools.isArray;CKEDITOR.MOUSE_BUTTON_LEFT=0;CKEDITOR.MOUSE_BUTTON_MIDDLE=1;CKEDITOR.MOUSE_BUTTON_RIGHT=2})();CKEDITOR.dtd=function(){var b=CKEDITOR.tools.extend,h=function(c,d){for(var a=CKEDITOR.tools.clone(c),e=1;e<arguments.length;e++){d=arguments[e];for(var b in d)delete a[b]}return a},g={},e={},a={address:1,article:1,aside:1,blockquote:1,details:1,div:1, -dl:1,fieldset:1,figure:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,hr:1,main:1,menu:1,nav:1,ol:1,p:1,pre:1,section:1,table:1,ul:1},m={command:1,link:1,meta:1,noscript:1,script:1,style:1},l={},k={"#":1},c={center:1,dir:1,noframes:1};b(g,{a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1, -q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,"var":1,video:1,wbr:1},k,{acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1});b(e,a,g,c);h={a:h(g,{a:1,button:1}),abbr:g,address:e,area:l,article:e,aside:e,audio:b({source:1,track:1},e),b:g,base:l,bdi:g,bdo:g,blockquote:e,body:e,br:l,button:h(g,{a:1,button:1}),canvas:g,caption:e,cite:g,code:g,col:l,colgroup:{col:1},command:l,datalist:b({option:1},g),dd:e,del:g,details:b({summary:1}, -e),dfn:g,div:e,dl:{dt:1,dd:1},dt:e,em:g,embed:l,fieldset:b({legend:1},e),figcaption:e,figure:b({figcaption:1},e),footer:e,form:e,h1:g,h2:g,h3:g,h4:g,h5:g,h6:g,head:b({title:1,base:1},m),header:e,hgroup:{h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},hr:l,html:b({head:1,body:1},e,m),i:g,iframe:k,img:l,input:l,ins:g,kbd:g,keygen:l,label:g,legend:g,li:e,link:l,main:e,map:e,mark:g,menu:b({li:1},e),meta:l,meter:h(g,{meter:1}),nav:e,noscript:b({link:1,meta:1,style:1},g),object:b({param:1},g),ol:{li:1},optgroup:{option:1}, -option:k,output:g,p:g,param:l,pre:g,progress:h(g,{progress:1}),q:g,rp:g,rt:g,ruby:b({rp:1,rt:1},g),s:g,samp:g,script:k,section:e,select:{optgroup:1,option:1},small:g,source:l,span:g,strong:g,style:k,sub:g,summary:b({h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},g),sup:g,table:{caption:1,colgroup:1,thead:1,tfoot:1,tbody:1,tr:1},tbody:{tr:1},td:e,textarea:k,tfoot:{tr:1},th:e,thead:{tr:1},time:h(g,{time:1}),title:k,tr:{th:1,td:1},track:l,u:g,ul:{li:1},"var":g,video:b({source:1,track:1},e),wbr:l,acronym:g,applet:b({param:1}, -e),basefont:l,big:g,center:e,dialog:l,dir:{li:1},font:g,isindex:l,noframes:e,strike:g,tt:g};b(h,{$block:b({audio:1,dd:1,dt:1,figcaption:1,li:1,video:1},a,c),$blockLimit:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1},$cdata:{script:1,style:1},$editable:{address:1,article:1,aside:1,blockquote:1,body:1,details:1,div:1,fieldset:1,figcaption:1, +d)?!c.width&&CKEDITOR.tools.style.parse._widthRegExp.test(d)&&(c.width=d):c.style=d});return new CKEDITOR.tools.style.border(c)},splitCssValues:function(d,c){c=c||{};var a=CKEDITOR.tools.array.reduce(["width","style","color"],function(a,e){var f=d["border-"+e]||c[e];a[e]=f?CKEDITOR.tools.style.parse.sideShorthand(f):null;return a},{});return CKEDITOR.tools.array.reduce(["top","right","bottom","left"],function(c,e){var f={},b;for(b in a){var l=d["border-"+e+"-"+b];f[b]=l?l:a[b]&&a[b][e]}c["border-"+ +e]=new CKEDITOR.tools.style.border(f);return c},{})}}});CKEDITOR.tools.array.indexOf=CKEDITOR.tools.indexOf;CKEDITOR.tools.array.isArray=CKEDITOR.tools.isArray;CKEDITOR.MOUSE_BUTTON_LEFT=0;CKEDITOR.MOUSE_BUTTON_MIDDLE=1;CKEDITOR.MOUSE_BUTTON_RIGHT=2})();CKEDITOR.dtd=function(){var b=CKEDITOR.tools.extend,h=function(c,d){for(var a=CKEDITOR.tools.clone(c),f=1;f<arguments.length;f++){d=arguments[f];for(var b in d)delete a[b]}return a},g={},f={},a={address:1,article:1,aside:1,blockquote:1,details:1,div:1, +dl:1,fieldset:1,figure:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,hr:1,main:1,menu:1,nav:1,ol:1,p:1,pre:1,section:1,table:1,ul:1},m={command:1,link:1,meta:1,noscript:1,script:1,style:1},k={},l={"#":1},c={center:1,dir:1,noframes:1};b(g,{a:1,abbr:1,area:1,audio:1,b:1,bdi:1,bdo:1,br:1,button:1,canvas:1,cite:1,code:1,command:1,datalist:1,del:1,dfn:1,em:1,embed:1,i:1,iframe:1,img:1,input:1,ins:1,kbd:1,keygen:1,label:1,map:1,mark:1,meter:1,noscript:1,object:1,output:1,progress:1, +q:1,ruby:1,s:1,samp:1,script:1,select:1,small:1,span:1,strong:1,sub:1,sup:1,textarea:1,time:1,u:1,"var":1,video:1,wbr:1},l,{acronym:1,applet:1,basefont:1,big:1,font:1,isindex:1,strike:1,style:1,tt:1});b(f,a,g,c);h={a:h(g,{a:1,button:1}),abbr:g,address:f,area:k,article:f,aside:f,audio:b({source:1,track:1},f),b:g,base:k,bdi:g,bdo:g,blockquote:f,body:f,br:k,button:h(g,{a:1,button:1}),canvas:g,caption:f,cite:g,code:g,col:k,colgroup:{col:1},command:k,datalist:b({option:1},g),dd:f,del:g,details:b({summary:1}, +f),dfn:g,div:f,dl:{dt:1,dd:1},dt:f,em:g,embed:k,fieldset:b({legend:1},f),figcaption:f,figure:b({figcaption:1},f),footer:f,form:f,h1:g,h2:g,h3:g,h4:g,h5:g,h6:g,head:b({title:1,base:1},m),header:f,hgroup:{h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},hr:k,html:b({head:1,body:1},f,m),i:g,iframe:l,img:k,input:k,ins:g,kbd:g,keygen:k,label:g,legend:g,li:f,link:k,main:f,map:f,mark:g,menu:b({li:1},f),meta:k,meter:h(g,{meter:1}),nav:f,noscript:b({link:1,meta:1,style:1},g),object:b({param:1},g),ol:{li:1},optgroup:{option:1}, +option:l,output:g,p:g,param:k,pre:g,progress:h(g,{progress:1}),q:g,rp:g,rt:g,ruby:b({rp:1,rt:1},g),s:g,samp:g,script:l,section:f,select:{optgroup:1,option:1},small:g,source:k,span:g,strong:g,style:l,sub:g,summary:b({h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},g),sup:g,table:{caption:1,colgroup:1,thead:1,tfoot:1,tbody:1,tr:1},tbody:{tr:1},td:f,textarea:l,tfoot:{tr:1},th:f,thead:{tr:1},time:h(g,{time:1}),title:l,tr:{th:1,td:1},track:k,u:g,ul:{li:1},"var":g,video:b({source:1,track:1},f),wbr:k,acronym:g,applet:b({param:1}, +f),basefont:k,big:g,center:f,dialog:k,dir:{li:1},font:g,isindex:k,noframes:f,strike:g,tt:g};b(h,{$block:b({audio:1,dd:1,dt:1,figcaption:1,li:1,video:1},a,c),$blockLimit:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1},$cdata:{script:1,style:1},$editable:{address:1,article:1,aside:1,blockquote:1,body:1,details:1,div:1,fieldset:1,figcaption:1, footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,main:1,nav:1,p:1,pre:1,section:1},$empty:{area:1,base:1,basefont:1,br:1,col:1,command:1,dialog:1,embed:1,hr:1,img:1,input:1,isindex:1,keygen:1,link:1,meta:1,param:1,source:1,track:1,wbr:1},$inline:g,$list:{dl:1,ol:1,ul:1},$listItem:{dd:1,dt:1,li:1},$nonBodyContent:b({body:1,head:1,html:1},h.head),$nonEditable:{applet:1,audio:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,param:1,script:1,textarea:1,video:1},$object:{applet:1,audio:1, button:1,hr:1,iframe:1,img:1,input:1,object:1,select:1,table:1,textarea:1,video:1},$removeEmpty:{abbr:1,acronym:1,b:1,bdi: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,mark:1,meter:1,output:1,q:1,ruby:1,s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,time:1,tt:1,u:1,"var":1},$tabIndex:{a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},$tableContent:{caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},$transparent:{a:1,audio:1,canvas:1,del:1, ins:1,map:1,noscript:1,object:1,video:1},$intermediate:{caption:1,colgroup:1,dd:1,dt:1,figcaption:1,legend:1,li:1,optgroup:1,option:1,rp:1,rt:1,summary:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1}});return h}();CKEDITOR.dom.event=function(b){this.$=b};CKEDITOR.dom.event.prototype={getKey:function(){return this.$.keyCode||this.$.which},getKeystroke:function(){var b=this.getKey();if(this.$.ctrlKey||this.$.metaKey)b+=CKEDITOR.CTRL;this.$.shiftKey&&(b+=CKEDITOR.SHIFT);this.$.altKey&&(b+=CKEDITOR.ALT);return b}, preventDefault:function(b){var h=this.$;h.preventDefault?h.preventDefault():h.returnValue=!1;b&&this.stopPropagation()},stopPropagation:function(){var b=this.$;b.stopPropagation?b.stopPropagation():b.cancelBubble=!0},getTarget:function(){var b=this.$.target||this.$.srcElement;return b?new CKEDITOR.dom.node(b):null},getPhase:function(){return this.$.eventPhase||2},getPageOffset:function(){var b=this.getTarget().getDocument().$;return{x:this.$.pageX||this.$.clientX+(b.documentElement.scrollLeft||b.body.scrollLeft), -y:this.$.pageY||this.$.clientY+(b.documentElement.scrollTop||b.body.scrollTop)}}};CKEDITOR.CTRL=1114112;CKEDITOR.SHIFT=2228224;CKEDITOR.ALT=4456448;CKEDITOR.EVENT_PHASE_CAPTURING=1;CKEDITOR.EVENT_PHASE_AT_TARGET=2;CKEDITOR.EVENT_PHASE_BUBBLING=3;CKEDITOR.dom.domObject=function(b){b&&(this.$=b)};CKEDITOR.dom.domObject.prototype=function(){var b=function(b,g){return function(e){"undefined"!=typeof CKEDITOR&&b.fire(g,new CKEDITOR.dom.event(e))}};return{getPrivate:function(){var b;(b=this.getCustomData("_"))|| +y:this.$.pageY||this.$.clientY+(b.documentElement.scrollTop||b.body.scrollTop)}}};CKEDITOR.CTRL=1114112;CKEDITOR.SHIFT=2228224;CKEDITOR.ALT=4456448;CKEDITOR.EVENT_PHASE_CAPTURING=1;CKEDITOR.EVENT_PHASE_AT_TARGET=2;CKEDITOR.EVENT_PHASE_BUBBLING=3;CKEDITOR.dom.domObject=function(b){b&&(this.$=b)};CKEDITOR.dom.domObject.prototype=function(){var b=function(b,g){return function(f){"undefined"!=typeof CKEDITOR&&b.fire(g,new CKEDITOR.dom.event(f))}};return{getPrivate:function(){var b;(b=this.getCustomData("_"))|| this.setCustomData("_",b={});return b},on:function(h){var g=this.getCustomData("_cke_nativeListeners");g||(g={},this.setCustomData("_cke_nativeListeners",g));g[h]||(g=g[h]=b(this,h),this.$.addEventListener?this.$.addEventListener(h,g,!!CKEDITOR.event.useCapture):this.$.attachEvent&&this.$.attachEvent("on"+h,g));return CKEDITOR.event.prototype.on.apply(this,arguments)},removeListener:function(b){CKEDITOR.event.prototype.removeListener.apply(this,arguments);if(!this.hasListeners(b)){var g=this.getCustomData("_cke_nativeListeners"), -e=g&&g[b];e&&(this.$.removeEventListener?this.$.removeEventListener(b,e,!1):this.$.detachEvent&&this.$.detachEvent("on"+b,e),delete g[b])}},removeAllListeners:function(){try{var b=this.getCustomData("_cke_nativeListeners"),g;for(g in b){var e=b[g];this.$.detachEvent?this.$.detachEvent("on"+g,e):this.$.removeEventListener&&this.$.removeEventListener(g,e,!1);delete b[g]}}catch(a){if(!CKEDITOR.env.edge||-2146828218!==a.number)throw a;}CKEDITOR.event.prototype.removeAllListeners.call(this)}}}();(function(b){var h= -{};CKEDITOR.on("reset",function(){h={}});b.equals=function(b){try{return b&&b.$===this.$}catch(e){return!1}};b.setCustomData=function(b,e){var a=this.getUniqueId();(h[a]||(h[a]={}))[b]=e;return this};b.getCustomData=function(b){var e=this.$["data-cke-expando"];return(e=e&&h[e])&&b in e?e[b]:null};b.removeCustomData=function(b){var e=this.$["data-cke-expando"],e=e&&h[e],a,m;e&&(a=e[b],m=b in e,delete e[b]);return m?a:null};b.clearCustomData=function(){this.removeAllListeners();var b=this.getUniqueId(); +f=g&&g[b];f&&(this.$.removeEventListener?this.$.removeEventListener(b,f,!1):this.$.detachEvent&&this.$.detachEvent("on"+b,f),delete g[b])}},removeAllListeners:function(){try{var b=this.getCustomData("_cke_nativeListeners"),g;for(g in b){var f=b[g];this.$.detachEvent?this.$.detachEvent("on"+g,f):this.$.removeEventListener&&this.$.removeEventListener(g,f,!1);delete b[g]}}catch(a){if(!CKEDITOR.env.edge||-2146828218!==a.number)throw a;}CKEDITOR.event.prototype.removeAllListeners.call(this)}}}();(function(b){var h= +{};CKEDITOR.on("reset",function(){h={}});b.equals=function(b){try{return b&&b.$===this.$}catch(f){return!1}};b.setCustomData=function(b,f){var a=this.getUniqueId();(h[a]||(h[a]={}))[b]=f;return this};b.getCustomData=function(b){var f=this.$["data-cke-expando"];return(f=f&&h[f])&&b in f?f[b]:null};b.removeCustomData=function(b){var f=this.$["data-cke-expando"],f=f&&h[f],a,m;f&&(a=f[b],m=b in f,delete f[b]);return m?a:null};b.clearCustomData=function(){this.removeAllListeners();var b=this.getUniqueId(); b&&delete h[b]};b.getUniqueId=function(){return this.$["data-cke-expando"]||(this.$["data-cke-expando"]=CKEDITOR.tools.getNextNumber())};CKEDITOR.event.implementOn(b)})(CKEDITOR.dom.domObject.prototype);CKEDITOR.dom.node=function(b){return b?new CKEDITOR.dom[b.nodeType==CKEDITOR.NODE_DOCUMENT?"document":b.nodeType==CKEDITOR.NODE_ELEMENT?"element":b.nodeType==CKEDITOR.NODE_TEXT?"text":b.nodeType==CKEDITOR.NODE_COMMENT?"comment":b.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT?"documentFragment":"domObject"](b): this};CKEDITOR.dom.node.prototype=new CKEDITOR.dom.domObject;CKEDITOR.NODE_ELEMENT=1;CKEDITOR.NODE_DOCUMENT=9;CKEDITOR.NODE_TEXT=3;CKEDITOR.NODE_COMMENT=8;CKEDITOR.NODE_DOCUMENT_FRAGMENT=11;CKEDITOR.POSITION_IDENTICAL=0;CKEDITOR.POSITION_DISCONNECTED=1;CKEDITOR.POSITION_FOLLOWING=2;CKEDITOR.POSITION_PRECEDING=4;CKEDITOR.POSITION_IS_CONTAINED=8;CKEDITOR.POSITION_CONTAINS=16;CKEDITOR.tools.extend(CKEDITOR.dom.node.prototype,{appendTo:function(b,h){b.append(this,h);return b},clone:function(b,h){function g(a){a["data-cke-expando"]&& -(a["data-cke-expando"]=!1);if(a.nodeType==CKEDITOR.NODE_ELEMENT||a.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)if(h||a.nodeType!=CKEDITOR.NODE_ELEMENT||a.removeAttribute("id",!1),b){a=a.childNodes;for(var e=0;e<a.length;e++)g(a[e])}}function e(a){if(a.type==CKEDITOR.NODE_ELEMENT||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT){if(a.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var g=a.getName();":"==g[0]&&a.renameNode(g.substring(1))}if(b)for(g=0;g<a.getChildCount();g++)e(a.getChild(g))}}var a=this.$.cloneNode(b); -g(a);a=new CKEDITOR.dom.node(a);CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&&e(a);return a},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=[],g=this.getDocument().$.documentElement,e=this;e&&e!=g;){var a=e.getParent();a&&h.unshift(this.getIndex.call(e,b));e=a}return h},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(b){function h(a,e){var b=e?a.getNext():a.getPrevious();return b&&b.type==CKEDITOR.NODE_TEXT?b.isEmpty()?h(b,e):b:null}var g=this,e=-1,a;if(!this.getParent()||b&&g.type==CKEDITOR.NODE_TEXT&&g.isEmpty()&& -!h(g)&&!h(g,!0))return-1;do if(!b||g.equals(this)||g.type!=CKEDITOR.NODE_TEXT||!a&&!g.isEmpty())e++,a=g.type==CKEDITOR.NODE_TEXT;while(g=g.getPrevious());return e},getNextSourceNode:function(b,h,g){if(g&&!g.call){var e=g;g=function(a){return!a.equals(e)}}b=!b&&this.getFirst&&this.getFirst();var a;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;b=this.getNext()}for(;!b&&(a=(a||this).getParent());){if(g&&!1===g(a,!0))return null;b=a.getNext()}return!b||g&&!1===g(b)?null:h&& -h!=b.type?b.getNextSourceNode(!1,h,g):b},getPreviousSourceNode:function(b,h,g){if(g&&!g.call){var e=g;g=function(a){return!a.equals(e)}}b=!b&&this.getLast&&this.getLast();var a;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;b=this.getPrevious()}for(;!b&&(a=(a||this).getParent());){if(g&&!1===g(a,!0))return null;b=a.getPrevious()}return!b||g&&!1===g(b)?null:h&&b.type!=h?b.getPreviousSourceNode(!1,h,g):b},getPrevious:function(b){var h=this.$,g;do g=(h=h.previousSibling)&& +(a["data-cke-expando"]=!1);if(a.nodeType==CKEDITOR.NODE_ELEMENT||a.nodeType==CKEDITOR.NODE_DOCUMENT_FRAGMENT)if(h||a.nodeType!=CKEDITOR.NODE_ELEMENT||a.removeAttribute("id",!1),b){a=a.childNodes;for(var f=0;f<a.length;f++)g(a[f])}}function f(a){if(a.type==CKEDITOR.NODE_ELEMENT||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT){if(a.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var g=a.getName();":"==g[0]&&a.renameNode(g.substring(1))}if(b)for(g=0;g<a.getChildCount();g++)f(a.getChild(g))}}var a=this.$.cloneNode(b); +g(a);a=new CKEDITOR.dom.node(a);CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(this.type==CKEDITOR.NODE_ELEMENT||this.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)&&f(a);return a},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=[],g=this.getDocument().$.documentElement,f=this;f&&f!=g;){var a=f.getParent();a&&h.unshift(this.getIndex.call(f,b));f=a}return h},getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument||this.$.parentNode.ownerDocument)},getIndex:function(b){function h(a,f){var b=f?a.getNext():a.getPrevious();return b&&b.type==CKEDITOR.NODE_TEXT?b.isEmpty()?h(b,f):b:null}var g=this,f=-1,a;if(!this.getParent()||b&&g.type==CKEDITOR.NODE_TEXT&&g.isEmpty()&& +!h(g)&&!h(g,!0))return-1;do if(!b||g.equals(this)||g.type!=CKEDITOR.NODE_TEXT||!a&&!g.isEmpty())f++,a=g.type==CKEDITOR.NODE_TEXT;while(g=g.getPrevious());return f},getNextSourceNode:function(b,h,g){if(g&&!g.call){var f=g;g=function(a){return!a.equals(f)}}b=!b&&this.getFirst&&this.getFirst();var a;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;b=this.getNext()}for(;!b&&(a=(a||this).getParent());){if(g&&!1===g(a,!0))return null;b=a.getNext()}return!b||g&&!1===g(b)?null:h&& +h!=b.type?b.getNextSourceNode(!1,h,g):b},getPreviousSourceNode:function(b,h,g){if(g&&!g.call){var f=g;g=function(a){return!a.equals(f)}}b=!b&&this.getLast&&this.getLast();var a;if(!b){if(this.type==CKEDITOR.NODE_ELEMENT&&g&&!1===g(this,!0))return null;b=this.getPrevious()}for(;!b&&(a=(a||this).getParent());){if(g&&!1===g(a,!0))return null;b=a.getPrevious()}return!b||g&&!1===g(b)?null:h&&b.type!=h?b.getPreviousSourceNode(!1,h,g):b},getPrevious:function(b){var h=this.$,g;do g=(h=h.previousSibling)&& 10!=h.nodeType&&new CKEDITOR.dom.node(h);while(g&&b&&!b(g));return g},getNext:function(b){var h=this.$,g;do g=(h=h.nextSibling)&&new CKEDITOR.dom.node(h);while(g&&b&&!b(g));return g},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,g=[];do g[b?"push":"unshift"](h);while(h=h.getParent());return g},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.$,g=b.$;if(h.compareDocumentPosition)return h.compareDocumentPosition(g);if(h==g)return CKEDITOR.POSITION_IDENTICAL;if(this.type==CKEDITOR.NODE_ELEMENT&&b.type==CKEDITOR.NODE_ELEMENT){if(h.contains){if(h.contains(g))return CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING;if(g.contains(h))return CKEDITOR.POSITION_IS_CONTAINED+ -CKEDITOR.POSITION_FOLLOWING}if("sourceIndex"in h)return 0>h.sourceIndex||0>g.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:h.sourceIndex<g.sourceIndex?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING}h=this.getAddress();b=b.getAddress();for(var g=Math.min(h.length,b.length),e=0;e<g;e++)if(h[e]!=b[e])return h[e]<b[e]?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING;return h.length<b.length?CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}, -getAscendant:function(b,h){var g=this.$,e,a;h||(g=g.parentNode);"function"==typeof b?(a=!0,e=b):(a=!1,e=function(a){a="string"==typeof a.nodeName?a.nodeName.toLowerCase():"";return"string"==typeof b?a==b:a in b});for(;g;){if(e(a?new CKEDITOR.dom.node(g):g))return new CKEDITOR.dom.node(g);try{g=g.parentNode}catch(m){g=null}}return null},hasAscendant:function(b,h){var g=this.$;h||(g=g.parentNode);for(;g;){if(g.nodeName&&g.nodeName.toLowerCase()==b)return!0;g=g.parentNode}return!1},move:function(b,h){b.append(this.remove(), +CKEDITOR.POSITION_FOLLOWING}if("sourceIndex"in h)return 0>h.sourceIndex||0>g.sourceIndex?CKEDITOR.POSITION_DISCONNECTED:h.sourceIndex<g.sourceIndex?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING}h=this.getAddress();b=b.getAddress();for(var g=Math.min(h.length,b.length),f=0;f<g;f++)if(h[f]!=b[f])return h[f]<b[f]?CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_FOLLOWING;return h.length<b.length?CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_PRECEDING:CKEDITOR.POSITION_IS_CONTAINED+CKEDITOR.POSITION_FOLLOWING}, +getAscendant:function(b,h){var g=this.$,f,a;h||(g=g.parentNode);"function"==typeof b?(a=!0,f=b):(a=!1,f=function(a){a="string"==typeof a.nodeName?a.nodeName.toLowerCase():"";return"string"==typeof b?a==b:a in b});for(;g;){if(f(a?new CKEDITOR.dom.node(g):g))return new CKEDITOR.dom.node(g);try{g=g.parentNode}catch(m){g=null}}return null},hasAscendant:function(b,h){var g=this.$;h||(g=g.parentNode);for(;g;){if(g.nodeName&&g.nodeName.toLowerCase()==b)return!0;g=g.parentNode}return!1},move:function(b,h){b.append(this.remove(), h)},remove:function(b){var h=this.$,g=h.parentNode;if(g){if(b)for(;b=h.firstChild;)g.insertBefore(h.removeChild(b),h);g.removeChild(h)}return this},replace:function(b){this.insertBefore(b);b.remove()},trim:function(){this.ltrim();this.rtrim()},ltrim:function(){for(var b;this.getFirst&&(b=this.getFirst());){if(b.type==CKEDITOR.NODE_TEXT){var h=CKEDITOR.tools.ltrim(b.getText()),g=b.getLength();if(h)h.length<g&&(b.split(g-h.length),this.$.removeChild(this.$.firstChild));else{b.remove();continue}}break}}, rtrim:function(){for(var b;this.getLast&&(b=this.getLast());){if(b.type==CKEDITOR.NODE_TEXT){var h=CKEDITOR.tools.rtrim(b.getText()),g=b.getLength();if(h)h.length<g&&(b.split(h.length),this.$.lastChild.parentNode.removeChild(this.$.lastChild));else{b.remove();continue}}break}CKEDITOR.env.needsBrFiller&&(b=this.$.lastChild)&&1==b.type&&"br"==b.nodeName.toLowerCase()&&b.parentNode.removeChild(b)},isReadOnly:function(b){var h=this;this.type!=CKEDITOR.NODE_ELEMENT&&(h=this.getParent());CKEDITOR.env.edge&& h&&h.is("textarea","input")&&(b=!0);if(!b&&h&&"undefined"!=typeof h.$.isContentEditable)return!(h.$.isContentEditable||h.data("cke-editable"));for(;h;){if(h.data("cke-editable"))return!1;if(h.hasAttribute("contenteditable"))return"false"==h.getAttribute("contenteditable");h=h.getParent()}return!0}});CKEDITOR.dom.window=function(b){CKEDITOR.dom.domObject.call(this,b)};CKEDITOR.dom.window.prototype=new CKEDITOR.dom.domObject;CKEDITOR.tools.extend(CKEDITOR.dom.window.prototype,{focus:function(){this.$.focus()}, getViewPaneSize:function(){var b=this.$.document,h="CSS1Compat"==b.compatMode;return{width:(h?b.documentElement.clientWidth:b.body.clientWidth)||0,height:(h?b.documentElement.clientHeight:b.body.clientHeight)||0}},getScrollPosition:function(){var b=this.$;if("pageXOffset"in b)return{x:b.pageXOffset||0,y:b.pageYOffset||0};b=b.document;return{x:b.documentElement.scrollLeft||b.body.scrollLeft||0,y:b.documentElement.scrollTop||b.body.scrollTop||0}},getFrame:function(){var b=this.$.frameElement;return b? new CKEDITOR.dom.element.get(b):null}});CKEDITOR.dom.document=function(b){CKEDITOR.dom.domObject.call(this,b)};CKEDITOR.dom.document.prototype=new CKEDITOR.dom.domObject;CKEDITOR.tools.extend(CKEDITOR.dom.document.prototype,{type:CKEDITOR.NODE_DOCUMENT,appendStyleSheet:function(b){if(this.$.createStyleSheet)this.$.createStyleSheet(b);else{var h=new CKEDITOR.dom.element("link");h.setAttributes({rel:"stylesheet",type:"text/css",href:b});this.getHead().append(h)}},appendStyleText:function(b){if(this.$.createStyleSheet){var h= this.$.createStyleSheet("");h.cssText=b}else{var g=new CKEDITOR.dom.element("style",this);g.append(new CKEDITOR.dom.text(b,this));this.getHead().append(g)}return h||g.$.sheet},createElement:function(b,h){var g=new CKEDITOR.dom.element(b,this);h&&(h.attributes&&g.setAttributes(h.attributes),h.styles&&g.setStyles(h.styles));return g},createText:function(b){return new CKEDITOR.dom.text(b,this)},focus:function(){this.getWindow().focus()},getActive:function(){var b;try{b=this.$.activeElement}catch(h){return null}return new CKEDITOR.dom.element(b)}, -getById:function(b){return(b=this.$.getElementById(b))?new CKEDITOR.dom.element(b):null},getByAddress:function(b,h){for(var g=this.$.documentElement,e=0;g&&e<b.length;e++){var a=b[e];if(h)for(var m=-1,l=0;l<g.childNodes.length;l++){var k=g.childNodes[l];if(!0!==h||3!=k.nodeType||!k.previousSibling||3!=k.previousSibling.nodeType)if(m++,m==a){g=k;break}}else g=g.childNodes[a]}return g?new CKEDITOR.dom.node(g):null},getElementsByTag:function(b,h){CKEDITOR.env.ie&&8>=document.documentMode||!h||(b=h+":"+ +getById:function(b){return(b=this.$.getElementById(b))?new CKEDITOR.dom.element(b):null},getByAddress:function(b,h){for(var g=this.$.documentElement,f=0;g&&f<b.length;f++){var a=b[f];if(h)for(var m=-1,k=0;k<g.childNodes.length;k++){var l=g.childNodes[k];if(!0!==h||3!=l.nodeType||!l.previousSibling||3!=l.previousSibling.nodeType)if(m++,m==a){g=l;break}}else g=g.childNodes[a]}return g?new CKEDITOR.dom.node(g):null},getElementsByTag:function(b,h){CKEDITOR.env.ie&&8>=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*<!DOCTYPE[^>]*?>)|^/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 g=new CKEDITOR.dom.element("div",h);g.setHtml(b);return g.getFirst().remove()};CKEDITOR.dom.element.setMarker=function(b,h,g,e){var a=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[a]=h;m[g]=1;return h.setCustomData(g,e)};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,g){var e=h.getCustomData("list_marker_names"),a=h.getCustomData("list_marker_id"),m;for(m in e)h.removeCustomData(m);h.removeCustomData("list_marker_names");g&&(h.removeCustomData("list_marker_id"), -delete b[a])};(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 g(a,c){var f=CKEDITOR.tools.escapeCss(a.$.id);return"#"+f+" "+c.split(/,\s*/).join(", #"+f+" ")}function e(a){for(var c=0,f=0,d=l[a].length;f<d;f++)c+=parseFloat(this.getComputedStyle(l[a][f])||0,10)||0;return c}var a=document.createElement("_").classList,a="undefined"!== +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 g=new CKEDITOR.dom.element("div",h);g.setHtml(b);return g.getFirst().remove()};CKEDITOR.dom.element.setMarker=function(b,h,g,f){var a=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[a]=h;m[g]=1;return h.setCustomData(g,f)};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,g){var f=h.getCustomData("list_marker_names"),a=h.getCustomData("list_marker_id"),m;for(m in f)h.removeCustomData(m);h.removeCustomData("list_marker_names");g&&(h.removeCustomData("list_marker_id"), +delete b[a])};(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 g(a,c){var e=CKEDITOR.tools.escapeCss(a.$.id);return"#"+e+" "+c.split(/,\s*/).join(", #"+e+" ")}function f(a){for(var c=0,e=0,d=k[a].length;e<d;e++)c+=parseFloat(this.getComputedStyle(k[a][e])||0,10)||0;return c}var a=document.createElement("_").classList,a="undefined"!== typeof a&&null!==String(a.add).match(/\[Native code\]/gi),m=/[\n\t\r]/g;CKEDITOR.tools.extend(CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_ELEMENT,addClass:a?function(a){this.$.classList.add(a);return this}:function(a){var c=this.$.className;c&&(b(c,a)||(c+=" "+a));this.$.className=c||a;return this},removeClass:a?function(a){var c=this.$;c.classList.remove(a);c.className||c.removeAttribute("class");return this}:function(a){var c=this.getAttribute("class");c&&b(c,a)&&((c=c.replace(new RegExp("(?:^|\\s+)"+ a+"(?\x3d\\s|$)"),"").replace(/^\s+/,""))?this.setAttribute("class",c):this.removeAttribute("class"));return this},hasClass:function(a){return b(this.$.className,a)},append:function(a,c){"string"==typeof a&&(a=this.getDocument().createElement(a));c?this.$.insertBefore(a.$,this.$.firstChild):this.$.appendChild(a.$);return a},appendHtml:function(a){if(this.$.childNodes.length){var c=new CKEDITOR.dom.element("div",this.getDocument());c.setHtml(a);c.moveChildren(this)}else this.setHtml(a)},appendText:function(a){null!= -this.$.text&&CKEDITOR.env.ie&&9>CKEDITOR.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 f=new CKEDITOR.dom.range(this.getDocument());f.setStartAfter(this);f.setEndAfter(a); -var d=f.extractContents(!1,c||!1),e;f.insertNode(this.remove());if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){for(f=new CKEDITOR.dom.element("div");e=d.getFirst();)e.$.style.backgroundColor&&(e.$.style.backgroundColor=e.$.style.backgroundColor),f.append(e);f.insertAfter(this);f.remove(!0)}else d.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().$): +this.$.text&&CKEDITOR.env.ie&&9>CKEDITOR.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 e=new CKEDITOR.dom.range(this.getDocument());e.setStartAfter(this);e.setEndAfter(a); +var d=e.extractContents(!1,c||!1),f;e.insertNode(this.remove());if(CKEDITOR.env.ie&&!CKEDITOR.env.edge){for(e=new CKEDITOR.dom.element("div");f=d.getFirst();)f.$.style.backgroundColor&&(f.$.style.backgroundColor=f.$.style.backgroundColor),e.append(f);e.insertAfter(this);e.remove(!0)}else d.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 f=this.getDocument()._getHtml5ShivFrag();f.appendChild(c);c.innerHTML=a;f.removeChild(c);return a}catch(d){this.$.innerHTML="";c=new CKEDITOR.dom.element("body",this.getDocument());c.$.innerHTML=a;for(c=c.getChildren();c.count();)this.append(c.getItem(0)); +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 e=this.getDocument()._getHtml5ShivFrag();e.appendChild(c);c.innerHTML=a;e.removeChild(c);return a}catch(d){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(c){return this.$.getAttribute(c,2)};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(c){switch(c){case "class":c="className";break;case "http-equiv":c="httpEquiv";break;case "name":return this.$.name;case "tabindex":return c=this.$.getAttribute(c, -2),0!==c&&0===this.$.tabIndex&&(c=null),c;case "checked":return c=this.$.attributes.getNamedItem(c),(c.specified?c.nodeValue:this.$.checked)?"checked":null;case "hspace":case "value":return this.$[c];case "style":return this.$.style.cssText;case "contenteditable":case "contentEditable":return this.$.attributes.getNamedItem("contentEditable").specified?this.$.getAttribute("contentEditable"):null}return this.$.getAttribute(c,2)}:a}(),getAttributes:function(a){var c={},f=this.$.attributes,d;a=CKEDITOR.tools.isArray(a)? -a:[];for(d=0;d<f.length;d++)-1===CKEDITOR.tools.indexOf(a,f[d].name)&&(c[f[d].name]=f[d].value);return c},getChildren:function(){return new CKEDITOR.dom.nodeList(this.$.childNodes)},getClientSize:function(){return{width:this.$.clientWidth,height:this.$.clientHeight}},getComputedStyle:document.defaultView&&document.defaultView.getComputedStyle?function(a){var c=this.getWindow().$.getComputedStyle(this.$,null);return c?c.getPropertyValue(a):""}:function(a){return this.$.currentStyle[CKEDITOR.tools.cssStyleToDomStyle(a)]}, +2),0!==c&&0===this.$.tabIndex&&(c=null),c;case "checked":return c=this.$.attributes.getNamedItem(c),(c.specified?c.nodeValue:this.$.checked)?"checked":null;case "hspace":case "value":return this.$[c];case "style":return this.$.style.cssText;case "contenteditable":case "contentEditable":return this.$.attributes.getNamedItem("contentEditable").specified?this.$.getAttribute("contentEditable"):null}return this.$.getAttribute(c,2)}:a}(),getAttributes:function(a){var c={},e=this.$.attributes,d;a=CKEDITOR.tools.isArray(a)? +a:[];for(d=0;d<e.length;d++)-1===CKEDITOR.tools.indexOf(a,e[d].name)&&(c[e[d].name]=e[d].value);return c},getChildren:function(){return new CKEDITOR.dom.nodeList(this.$.childNodes)},getClientSize:function(){return{width:this.$.clientWidth,height:this.$.clientHeight}},getComputedStyle:document.defaultView&&document.defaultView.getComputedStyle?function(a){var c=this.getWindow().$.getComputedStyle(this.$,null);return c?c.getPropertyValue(a):""}:function(a){return this.$.currentStyle[CKEDITOR.tools.cssStyleToDomStyle(a)]}, getDtd:function(){var a=CKEDITOR.dtd[this.getName()];this.getDtd=function(){return a};return a},getElementsByTag:CKEDITOR.dom.document.prototype.getElementsByTag,getTabIndex:function(){var a=this.$.tabIndex;return 0!==a||CKEDITOR.dtd.$tabIndex[this.getName()]||0===parseInt(this.getAttribute("tabindex"),10)?a:-1},getText:function(){return this.$.textContent||this.$.innerText||""},getWindow:function(){return this.getDocument().getWindow()},getId:function(){return this.$.id||null},getNameAtt:function(){return this.$.name|| null},getName:function(){var a=this.$.nodeName.toLowerCase();if(CKEDITOR.env.ie&&8>=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;c<arguments.length;c++)if(arguments[c]==a)return!0;return!1},isEditable:function(a){var c=this.getName();return this.isReadOnly()||"none"==this.getComputedStyle("display")||"hidden"==this.getComputedStyle("visibility")||CKEDITOR.dtd.$nonEditable[c]||CKEDITOR.dtd.$empty[c]||this.is("a")&&(this.data("cke-saved-name")||this.hasAttribute("name"))&&!this.getChildCount()?!1:!1!==a?(a=CKEDITOR.dtd[c]|| CKEDITOR.dtd.span,!(!a||!a["#"])):!0},isIdentical:function(a){var c=this.clone(0,1);a=a.clone(0,1);c.removeAttributes(["_moz_dirty","data-cke-expando","data-cke-saved-href","data-cke-saved-name"]);a.removeAttributes(["_moz_dirty","data-cke-expando","data-cke-saved-href","data-cke-saved-name"]);if(c.$.isEqualNode)return c.$.style.cssText=CKEDITOR.tools.normalizeCssText(c.$.style.cssText),a.$.style.cssText=CKEDITOR.tools.normalizeCssText(a.$.style.cssText),c.$.isEqualNode(a.$);c=c.getOuterHtml();a= -a.getOuterHtml();if(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&this.is("a")){var f=this.getParent();f.type==CKEDITOR.NODE_ELEMENT&&(f=f.clone(),f.setHtml(c),c=f.getHtml(),f.setHtml(a),a=f.getHtml())}return c==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&&"hidden"!=this.getComputedStyle("visibility"),c,f;a&&CKEDITOR.env.webkit&&(c=this.getWindow(),!c.equals(CKEDITOR.document.getWindow())&&(f=c.$.frameElement)&&(a=(new CKEDITOR.dom.element(f)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1; -for(var a=this.getChildren(),c=0,f=a.count();c<f;c++){var d=a.getItem(c);if(d.type!=CKEDITOR.NODE_ELEMENT||!d.data("cke-bookmark"))if(d.type==CKEDITOR.NODE_ELEMENT&&!d.isEmptyInlineRemoveable()||d.type==CKEDITOR.NODE_TEXT&&CKEDITOR.tools.trim(d.getText()))return!1}return!0},hasAttributes:CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(){for(var a=this.$.attributes,c=0;c<a.length;c++){var f=a[c];switch(f.nodeName){case "class":if(this.getAttribute("class"))return!0;case "data-cke-expando":continue; -default:if(f.specified)return!0}}return!1}:function(){var a=this.$.attributes,c=a.length,f={"data-cke-expando":1,_moz_dirty:1};return 0<c&&(2<c||!f[a[0].nodeName]||2==c&&!f[a[1].nodeName])},hasAttribute:function(){function a(c){var f=this.$.attributes.getNamedItem(c);if("input"==this.getName())switch(c){case "class":return 0<this.$.className.length;case "checked":return!!this.$.checked;case "value":return c=this.getAttribute("type"),"checkbox"==c||"radio"==c?"on"!=this.$.value:!!this.$.value}return f? -f.specified:!1}return CKEDITOR.env.ie?8>CKEDITOR.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 f=this.$;a=a.$;if(f!=a){var d;if(c)for(;d=f.lastChild;)a.insertBefore(f.removeChild(d),a.firstChild);else for(;d=f.firstChild;)a.appendChild(f.removeChild(d))}},mergeSiblings:function(){function a(c,f,d){if(f&&f.type==CKEDITOR.NODE_ELEMENT){for(var e= -[];f.data("cke-bookmark")||f.isEmptyInlineRemoveable();)if(e.push(f),f=d?f.getNext():f.getPrevious(),!f||f.type!=CKEDITOR.NODE_ELEMENT)return;if(c.isIdentical(f)){for(var b=d?c.getLast():c.getFirst();e.length;)e.shift().move(c,!d);f.moveChildren(c,!d);f.remove();b&&b.type==CKEDITOR.NODE_ELEMENT&&b.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,f){this.$.setAttribute(a,f);return this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(c,f){"class"==c?this.$.className=f:"style"==c?this.$.style.cssText=f:"tabindex"==c?this.$.tabIndex=f:"checked"==c?this.$.checked=f:"contenteditable"==c?a.call(this,"contentEditable",f):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(c,f){if("src"==c&&f.match(/^http:\/\//))try{a.apply(this, +a.getOuterHtml();if(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&this.is("a")){var e=this.getParent();e.type==CKEDITOR.NODE_ELEMENT&&(e=e.clone(),e.setHtml(c),c=e.getHtml(),e.setHtml(a),a=e.getHtml())}return c==a},isVisible:function(){var a=(this.$.offsetHeight||this.$.offsetWidth)&&"hidden"!=this.getComputedStyle("visibility"),c,e;a&&CKEDITOR.env.webkit&&(c=this.getWindow(),!c.equals(CKEDITOR.document.getWindow())&&(e=c.$.frameElement)&&(a=(new CKEDITOR.dom.element(e)).isVisible()));return!!a},isEmptyInlineRemoveable:function(){if(!CKEDITOR.dtd.$removeEmpty[this.getName()])return!1; +for(var a=this.getChildren(),c=0,e=a.count();c<e;c++){var d=a.getItem(c);if(d.type!=CKEDITOR.NODE_ELEMENT||!d.data("cke-bookmark"))if(d.type==CKEDITOR.NODE_ELEMENT&&!d.isEmptyInlineRemoveable()||d.type==CKEDITOR.NODE_TEXT&&CKEDITOR.tools.trim(d.getText()))return!1}return!0},hasAttributes:CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(){for(var a=this.$.attributes,c=0;c<a.length;c++){var e=a[c];switch(e.nodeName){case "class":if(this.getAttribute("class"))return!0;case "data-cke-expando":continue; +default:if(e.specified)return!0}}return!1}:function(){var a=this.$.attributes,c=a.length,e={"data-cke-expando":1,_moz_dirty:1};return 0<c&&(2<c||!e[a[0].nodeName]||2==c&&!e[a[1].nodeName])},hasAttribute:function(){function a(c){var e=this.$.attributes.getNamedItem(c);if("input"==this.getName())switch(c){case "class":return 0<this.$.className.length;case "checked":return!!this.$.checked;case "value":return c=this.getAttribute("type"),"checkbox"==c||"radio"==c?"on"!=this.$.value:!!this.$.value}return e? +e.specified:!1}return CKEDITOR.env.ie?8>CKEDITOR.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 e=this.$;a=a.$;if(e!=a){var d;if(c)for(;d=e.lastChild;)a.insertBefore(e.removeChild(d),a.firstChild);else for(;d=e.firstChild;)a.appendChild(e.removeChild(d))}},mergeSiblings:function(){function a(c,e,d){if(e&&e.type==CKEDITOR.NODE_ELEMENT){for(var f= +[];e.data("cke-bookmark")||e.isEmptyInlineRemoveable();)if(f.push(e),e=d?e.getNext():e.getPrevious(),!e||e.type!=CKEDITOR.NODE_ELEMENT)return;if(c.isIdentical(e)){for(var b=d?c.getLast():c.getFirst();f.length;)f.shift().move(c,!d);e.moveChildren(c,!d);e.remove();b&&b.type==CKEDITOR.NODE_ELEMENT&&b.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,e){this.$.setAttribute(a,e);return this};return CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)?function(c,e){"class"==c?this.$.className=e:"style"==c?this.$.style.cssText=e:"tabindex"==c?this.$.tabIndex=e:"checked"==c?this.$.checked=e:"contenteditable"==c?a.call(this,"contentEditable",e):a.apply(this,arguments);return this}:CKEDITOR.env.ie8Compat&&CKEDITOR.env.secure?function(c,e){if("src"==c&&e.match(/^http:\/\//))try{a.apply(this, arguments)}catch(d){}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;c<a.length;c++)this.removeAttribute(a[c]);else for(c in a=a||this.getAttributes(),a)a.hasOwnProperty(c)&&this.removeAttribute(c)},removeStyle:function(a){var c=this.$.style;if(c.removeProperty||"border"!=a&&"margin"!=a&&"padding"!=a)c.removeProperty?c.removeProperty(a):c.removeAttribute(CKEDITOR.tools.cssStyleToDomStyle(a)),this.$.style.cssText||this.removeAttribute("style");else{var f=["top","left","right","bottom"],d;"border"==a&&(d=["color","style","width"]);for(var c=[],e=0;e<f.length;e++)if(d)for(var b= -0;b<d.length;b++)c.push([a,f[e],d[b]].join("-"));else c.push([a,f[e]].join("-"));for(a=0;a<c.length;a++)this.removeStyle(c[a])}},setStyle:function(a,c){this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]=c;return this},setStyles:function(a){for(var c in a)this.setStyle(c,a[c]);return this},setOpacity:function(a){CKEDITOR.env.ie&&9>CKEDITOR.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("*"),f=0,d=c.count();f<d;f++)a=c.getItem(f),a.setAttribute("unselectable","on")}},getPositionedAncestor:function(){for(var a=this;"html"!=a.getName();){if("static"!=a.getComputedStyle("position"))return a;a=a.getParent()}return null},getDocumentPosition:function(a){var c=0,f=0,d=this.getDocument(),e=d.getBody(),b="BackCompat"==d.$.compatMode;if(document.documentElement.getBoundingClientRect&&(CKEDITOR.env.ie? -8!==CKEDITOR.env.version:1)){var g=this.$.getBoundingClientRect(),h=d.$.documentElement,l=h.clientTop||e.$.clientTop||0,q=h.clientLeft||e.$.clientLeft||0,m=!0;CKEDITOR.env.ie&&(m=d.getDocumentElement().contains(this),d=d.getBody().contains(this),m=b&&d||!b&&m);m&&(CKEDITOR.env.webkit||CKEDITOR.env.ie&&12<=CKEDITOR.env.version?(c=e.$.scrollLeft||h.scrollLeft,f=e.$.scrollTop||h.scrollTop):(f=b?e.$:h,c=f.scrollLeft,f=f.scrollTop),c=g.left+c-q,f=g.top+f-l)}else for(l=this,q=null;l&&"body"!=l.getName()&& -"html"!=l.getName();){c+=l.$.offsetLeft-l.$.scrollLeft;f+=l.$.offsetTop-l.$.scrollTop;l.equals(this)||(c+=l.$.clientLeft||0,f+=l.$.clientTop||0);for(;q&&!q.equals(l);)c-=q.$.scrollLeft,f-=q.$.scrollTop,q=q.getParent();q=l;l=(g=l.$.offsetParent)?new CKEDITOR.dom.element(g):null}a&&(g=this.getWindow(),l=a.getWindow(),!g.equals(l)&&g.$.frameElement&&(a=(new CKEDITOR.dom.element(g.$.frameElement)).getDocumentPosition(a),c+=a.x,f+=a.y));document.documentElement.getBoundingClientRect||!CKEDITOR.env.gecko|| -b||(c+=this.$.clientLeft?1:0,f+=this.$.clientTop?1:0);return{x:c,y:f}},scrollIntoView:function(a){var c=this.getParent();if(c){do if((c.$.clientWidth&&c.$.clientWidth<c.$.scrollWidth||c.$.clientHeight&&c.$.clientHeight<c.$.scrollHeight)&&!c.is("body")&&this.scrollIntoParent(c,a,1),c.is("html")){var f=c.getWindow();try{var d=f.$.frameElement;d&&(c=new CKEDITOR.dom.element(d))}catch(e){}}while(c=c.getParent())}},scrollIntoParent:function(a,c,f){var d,e,b,g;function h(d,c){/body|html/.test(a.getName())? -a.getWindow().$.scrollBy(d,c):(a.$.scrollLeft+=d,a.$.scrollTop+=c)}function l(d,a){var c={x:0,y:0};if(!d.is(m?"body":"html")){var f=d.$.getBoundingClientRect();c.x=f.left;c.y=f.top}f=d.getWindow();f.equals(a)||(f=l(CKEDITOR.dom.element.get(f.$.frameElement),a),c.x+=f.x,c.y+=f.y);return c}function q(d,a){return parseInt(d.getComputedStyle("margin-"+a)||0,10)||0}!a&&(a=this.getWindow());b=a.getDocument();var m="BackCompat"==b.$.compatMode;a instanceof CKEDITOR.dom.window&&(a=m?b.getBody():b.getDocumentElement()); -CKEDITOR.env.webkit&&(b=this.getEditor(!1))&&(b._.previousScrollTop=null);b=a.getWindow();e=l(this,b);var t=l(a,b),z=this.$.offsetHeight;d=this.$.offsetWidth;var y=a.$.clientHeight,u=a.$.clientWidth;b=e.x-q(this,"left")-t.x||0;g=e.y-q(this,"top")-t.y||0;d=e.x+d+q(this,"right")-(t.x+u)||0;e=e.y+z+q(this,"bottom")-(t.y+y)||0;(0>g||0<e)&&h(0,!0===c?g:!1===c?e:0>g?g:e);f&&(0>b||0<d)&&h(0>b?b:d,0)},setState:function(a,c,f){c=c||"cke";switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(c+"_on");this.removeClass(c+ -"_off");this.removeClass(c+"_disabled");f&&this.setAttribute("aria-pressed",!0);f&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(c+"_disabled");this.removeClass(c+"_off");this.removeClass(c+"_on");f&&this.setAttribute("aria-disabled",!0);f&&this.removeAttribute("aria-pressed");break;default:this.addClass(c+"_off"),this.removeClass(c+"_on"),this.removeClass(c+"_disabled"),f&&this.removeAttribute("aria-pressed"),f&&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 f=this.$.attributes;c=c||{};for(var d=0;d<f.length;d++){var e=f[d],b=e.nodeName.toLowerCase(),g;if(!(b in c))if("checked"==b&&(g=this.getAttribute(b)))a.setAttribute(b,g);else if(!CKEDITOR.env.ie||this.hasAttribute(b))g=this.getAttribute(b),null===g&&(g=e.nodeValue),a.setAttribute(b,g)}""!==this.$.style.cssText&& -(a.$.style.cssText=this.$.style.cssText)},renameNode:function(a){if(this.getName()!=a){var c=this.getDocument();a=new CKEDITOR.dom.element(a,c);this.copyAttributes(a);this.moveChildren(a);this.getParent(!0)&&this.$.parentNode.replaceChild(a.$,this.$);a.$["data-cke-expando"]=this.$["data-cke-expando"];this.$=a.$;delete this.getName}},getChild:function(){function a(c,f){var d=c.childNodes;if(0<=f&&f<d.length)return d[f]}return function(c){var f=this.$;if(c.slice)for(c=c.slice();0<c.length&&f;)f=a(f, -c.shift());else f=a(f,c);return f?new CKEDITOR.dom.node(f):null}}(),getChildCount:function(){return this.$.childNodes.length},disableContextMenu:function(){function a(c){return c.type==CKEDITOR.NODE_ELEMENT&&c.hasClass("cke_enable_context_menu")}this.on("contextmenu",function(c){c.data.getTarget().getAscendant(a,!0)||c.data.preventDefault()})},getDirection:function(a){return a?this.getComputedStyle("direction")||this.getDirection()||this.getParent()&&this.getParent().getDirection(1)||this.getDocument().$.dir|| -"ltr":this.getStyle("direction")||this.getAttribute("dir")},data:function(a,c){a="data-"+a;if(void 0===c)return this.getAttribute(a);!1===c?this.removeAttribute(a):this.setAttribute(a,c);return null},getEditor:function(a){var c=CKEDITOR.instances,f,d,e;a=a||void 0===a;for(f in c)if(d=c[f],d.element.equals(this)&&d.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||!a&&(e=d.editable())&&(e.equals(this)||e.contains(this)))return d;return null},find:function(a){var c=h(this);a=new CKEDITOR.dom.nodeList(this.$.querySelectorAll(g(this, -a)));c();return a},findOne:function(a){var c=h(this);a=this.$.querySelector(g(this,a));c();return a?new CKEDITOR.dom.element(a):null},forEach:function(a,c,f){if(!(f||c&&this.type!=c))var d=a(this);if(!1!==d){f=this.getChildren();for(var e=0;e<f.count();e++)d=f.getItem(e),d.type==CKEDITOR.NODE_ELEMENT?d.forEach(a,c):c&&d.type!=c||a(d)}},fireEventHandler:function(a,c){var f="on"+a,d=this.$;if(CKEDITOR.env.ie&&9>CKEDITOR.env.version){var e=d.ownerDocument.createEventObject(),b;for(b in c)e[b]=c[b];d.fireEvent(f, -e)}else d[d[a]?a:f](c)},isDetached:function(){var a=this.getDocument(),c=a.getDocumentElement();return c.equals(this)||c.contains(this)?!CKEDITOR.env.ie||8<CKEDITOR.env.version&&!CKEDITOR.env.quirks?!a.$.defaultView:!1:!0}});var l={width:["border-left-width","border-right-width","padding-left","padding-right"],height:["border-top-width","border-bottom-width","padding-top","padding-bottom"]};CKEDITOR.dom.element.prototype.setSize=function(a,c,f){"number"==typeof c&&(!f||CKEDITOR.env.ie&&CKEDITOR.env.quirks|| -(c-=e.call(this,a)),this.setStyle(a,c+"px"))};CKEDITOR.dom.element.prototype.getSize=function(a,c){var f=Math.max(this.$["offset"+CKEDITOR.tools.capitalize(a)],this.$["client"+CKEDITOR.tools.capitalize(a)])||0;c&&(f-=e.call(this,a));return f}})();CKEDITOR.dom.documentFragment=function(b){b=b||CKEDITOR.document;this.$=b.type==CKEDITOR.NODE_DOCUMENT?b.$.createDocumentFragment():b};CKEDITOR.tools.extend(CKEDITOR.dom.documentFragment.prototype,CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_DOCUMENT_FRAGMENT, +0;c<a.length;c++)this.removeAttribute(a[c]);else for(c in a=a||this.getAttributes(),a)a.hasOwnProperty(c)&&this.removeAttribute(c)},removeStyle:function(a){var c=this.$.style;if(c.removeProperty||"border"!=a&&"margin"!=a&&"padding"!=a)c.removeProperty?c.removeProperty(a):c.removeAttribute(CKEDITOR.tools.cssStyleToDomStyle(a)),this.$.style.cssText||this.removeAttribute("style");else{var e=["top","left","right","bottom"],d;"border"==a&&(d=["color","style","width"]);for(var c=[],f=0;f<e.length;f++)if(d)for(var b= +0;b<d.length;b++)c.push([a,e[f],d[b]].join("-"));else c.push([a,e[f]].join("-"));for(a=0;a<c.length;a++)this.removeStyle(c[a])}},setStyle:function(a,c){this.$.style[CKEDITOR.tools.cssStyleToDomStyle(a)]=c;return this},setStyles:function(a){for(var c in a)this.setStyle(c,a[c]);return this},setOpacity:function(a){CKEDITOR.env.ie&&9>CKEDITOR.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("*"),e=0,d=c.count();e<d;e++)a=c.getItem(e),a.setAttribute("unselectable","on")}},getPositionedAncestor:function(){for(var a=this;"html"!=a.getName();){if("static"!=a.getComputedStyle("position"))return a;a=a.getParent()}return null},getDocumentPosition:function(a){var c=0,e=0,d=this.getDocument(),f=d.getBody(),b="BackCompat"==d.$.compatMode;if(document.documentElement.getBoundingClientRect&&(CKEDITOR.env.ie? +8!==CKEDITOR.env.version:1)){var g=this.$.getBoundingClientRect(),h=d.$.documentElement,k=h.clientTop||f.$.clientTop||0,p=h.clientLeft||f.$.clientLeft||0,m=!0;CKEDITOR.env.ie&&(m=d.getDocumentElement().contains(this),d=d.getBody().contains(this),m=b&&d||!b&&m);m&&(CKEDITOR.env.webkit||CKEDITOR.env.ie&&12<=CKEDITOR.env.version?(c=f.$.scrollLeft||h.scrollLeft,e=f.$.scrollTop||h.scrollTop):(e=b?f.$:h,c=e.scrollLeft,e=e.scrollTop),c=g.left+c-p,e=g.top+e-k)}else for(k=this,p=null;k&&"body"!=k.getName()&& +"html"!=k.getName();){c+=k.$.offsetLeft-k.$.scrollLeft;e+=k.$.offsetTop-k.$.scrollTop;k.equals(this)||(c+=k.$.clientLeft||0,e+=k.$.clientTop||0);for(;p&&!p.equals(k);)c-=p.$.scrollLeft,e-=p.$.scrollTop,p=p.getParent();p=k;k=(g=k.$.offsetParent)?new CKEDITOR.dom.element(g):null}a&&(g=this.getWindow(),k=a.getWindow(),!g.equals(k)&&g.$.frameElement&&(a=(new CKEDITOR.dom.element(g.$.frameElement)).getDocumentPosition(a),c+=a.x,e+=a.y));document.documentElement.getBoundingClientRect||!CKEDITOR.env.gecko|| +b||(c+=this.$.clientLeft?1:0,e+=this.$.clientTop?1:0);return{x:c,y:e}},scrollIntoView:function(a){var c=this.getParent();if(c){do if((c.$.clientWidth&&c.$.clientWidth<c.$.scrollWidth||c.$.clientHeight&&c.$.clientHeight<c.$.scrollHeight)&&!c.is("body")&&this.scrollIntoParent(c,a,1),c.is("html")){var e=c.getWindow();try{var d=e.$.frameElement;d&&(c=new CKEDITOR.dom.element(d))}catch(f){}}while(c=c.getParent())}},scrollIntoParent:function(a,c,e){var d,f,b,g;function h(d,c){/body|html/.test(a.getName())? +a.getWindow().$.scrollBy(d,c):(a.$.scrollLeft+=d,a.$.scrollTop+=c)}function k(d,a){var c={x:0,y:0};if(!d.is(m?"body":"html")){var e=d.$.getBoundingClientRect();c.x=e.left;c.y=e.top}e=d.getWindow();e.equals(a)||(e=k(CKEDITOR.dom.element.get(e.$.frameElement),a),c.x+=e.x,c.y+=e.y);return c}function p(d,a){return parseInt(d.getComputedStyle("margin-"+a)||0,10)||0}!a&&(a=this.getWindow());b=a.getDocument();var m="BackCompat"==b.$.compatMode;a instanceof CKEDITOR.dom.window&&(a=m?b.getBody():b.getDocumentElement()); +CKEDITOR.env.webkit&&(b=this.getEditor(!1))&&(b._.previousScrollTop=null);b=a.getWindow();f=k(this,b);var t=k(a,b),z=this.$.offsetHeight;d=this.$.offsetWidth;var u=a.$.clientHeight,v=a.$.clientWidth;b=f.x-p(this,"left")-t.x||0;g=f.y-p(this,"top")-t.y||0;d=f.x+d+p(this,"right")-(t.x+v)||0;f=f.y+z+p(this,"bottom")-(t.y+u)||0;(0>g||0<f)&&h(0,!0===c?g:!1===c?f:0>g?g:f);e&&(0>b||0<d)&&h(0>b?b:d,0)},setState:function(a,c,e){c=c||"cke";switch(a){case CKEDITOR.TRISTATE_ON:this.addClass(c+"_on");this.removeClass(c+ +"_off");this.removeClass(c+"_disabled");e&&this.setAttribute("aria-pressed",!0);e&&this.removeAttribute("aria-disabled");break;case CKEDITOR.TRISTATE_DISABLED:this.addClass(c+"_disabled");this.removeClass(c+"_off");this.removeClass(c+"_on");e&&this.setAttribute("aria-disabled",!0);e&&this.removeAttribute("aria-pressed");break;default:this.addClass(c+"_off"),this.removeClass(c+"_on"),this.removeClass(c+"_disabled"),e&&this.removeAttribute("aria-pressed"),e&&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 e=this.$.attributes;c=c||{};for(var d=0;d<e.length;d++){var f=e[d],b=f.nodeName.toLowerCase(),g;if(!(b in c))if("checked"==b&&(g=this.getAttribute(b)))a.setAttribute(b,g);else if(!CKEDITOR.env.ie||this.hasAttribute(b))g=this.getAttribute(b),null===g&&(g=f.nodeValue),a.setAttribute(b,g)}""!==this.$.style.cssText&& +(a.$.style.cssText=this.$.style.cssText)},renameNode:function(a){if(this.getName()!=a){var c=this.getDocument();a=new CKEDITOR.dom.element(a,c);this.copyAttributes(a);this.moveChildren(a);this.getParent(!0)&&this.$.parentNode.replaceChild(a.$,this.$);a.$["data-cke-expando"]=this.$["data-cke-expando"];this.$=a.$;delete this.getName}},getChild:function(){function a(c,e){var d=c.childNodes;if(0<=e&&e<d.length)return d[e]}return function(c){var e=this.$;if(c.slice)for(c=c.slice();0<c.length&&e;)e=a(e, +c.shift());else e=a(e,c);return e?new CKEDITOR.dom.node(e):null}}(),getChildCount:function(){return this.$.childNodes.length},disableContextMenu:function(){function a(c){return c.type==CKEDITOR.NODE_ELEMENT&&c.hasClass("cke_enable_context_menu")}this.on("contextmenu",function(c){c.data.getTarget().getAscendant(a,!0)||c.data.preventDefault()})},getDirection:function(a){return a?this.getComputedStyle("direction")||this.getDirection()||this.getParent()&&this.getParent().getDirection(1)||this.getDocument().$.dir|| +"ltr":this.getStyle("direction")||this.getAttribute("dir")},data:function(a,c){a="data-"+a;if(void 0===c)return this.getAttribute(a);!1===c?this.removeAttribute(a):this.setAttribute(a,c);return null},getEditor:function(a){var c=CKEDITOR.instances,e,d,f;a=a||void 0===a;for(e in c)if(d=c[e],d.element.equals(this)&&d.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||!a&&(f=d.editable())&&(f.equals(this)||f.contains(this)))return d;return null},find:function(a){var c=h(this);a=new CKEDITOR.dom.nodeList(this.$.querySelectorAll(g(this, +a)));c();return a},findOne:function(a){var c=h(this);a=this.$.querySelector(g(this,a));c();return a?new CKEDITOR.dom.element(a):null},forEach:function(a,c,e){if(!(e||c&&this.type!=c))var d=a(this);if(!1!==d){e=this.getChildren();for(var f=0;f<e.count();f++)d=e.getItem(f),d.type==CKEDITOR.NODE_ELEMENT?d.forEach(a,c):c&&d.type!=c||a(d)}},fireEventHandler:function(a,c){var e="on"+a,d=this.$;if(CKEDITOR.env.ie&&9>CKEDITOR.env.version){var f=d.ownerDocument.createEventObject(),b;for(b in c)f[b]=c[b];d.fireEvent(e, +f)}else d[d[a]?a:e](c)},isDetached:function(){var a=this.getDocument(),c=a.getDocumentElement();return c.equals(this)||c.contains(this)?!CKEDITOR.env.ie||8<CKEDITOR.env.version&&!CKEDITOR.env.quirks?!a.$.defaultView:!1:!0}});var k={width:["border-left-width","border-right-width","padding-left","padding-right"],height:["border-top-width","border-bottom-width","padding-top","padding-bottom"]};CKEDITOR.dom.element.prototype.setSize=function(a,c,e){"number"==typeof c&&(!e||CKEDITOR.env.ie&&CKEDITOR.env.quirks|| +(c-=f.call(this,a)),this.setStyle(a,c+"px"))};CKEDITOR.dom.element.prototype.getSize=function(a,c){var e=Math.max(this.$["offset"+CKEDITOR.tools.capitalize(a)],this.$["client"+CKEDITOR.tools.capitalize(a)])||0;c&&(e-=f.call(this,a));return e}})();CKEDITOR.dom.documentFragment=function(b){b=b||CKEDITOR.document;this.$=b.type==CKEDITOR.NODE_DOCUMENT?b.$.createDocumentFragment():b};CKEDITOR.tools.extend(CKEDITOR.dom.documentFragment.prototype,CKEDITOR.dom.element.prototype,{type:CKEDITOR.NODE_DOCUMENT_FRAGMENT, insertAfterNode:function(b){b=b.$;b.parentNode.insertBefore(this.$,b.nextSibling)},getHtml:function(){var b=new CKEDITOR.dom.element("div");this.clone(1,1).appendTo(b);return b.getHtml().replace(/\s*data-cke-expando=".*?"/g,"")}},!0,{append:1,appendBogus:1,clone:1,getFirst:1,getHtml:1,getLast:1,getParent:1,getNext:1,getPrevious:1,appendTo:1,moveChildren:1,insertBefore:1,insertAfterNode:1,replace:1,trim:1,type:1,ltrim:1,rtrim:1,getDocument:1,getChildCount:1,getChild:1,getChildren:1});CKEDITOR.tools.extend(CKEDITOR.dom.documentFragment.prototype, -CKEDITOR.dom.document.prototype,!0,{find:1,findOne:1});(function(){function b(d,a){var c=this.range;if(this._.end)return null;if(!this._.start){this._.start=1;if(c.collapsed)return this.end(),null;c.optimize()}var f,e=c.startContainer;f=c.endContainer;var b=c.startOffset,n=c.endOffset,g,h=this.guard,u=this.type,l=d?"getPreviousSourceNode":"getNextSourceNode";if(!d&&!this._.guardLTR){var m=f.type==CKEDITOR.NODE_ELEMENT?f:f.getParent(),k=f.type==CKEDITOR.NODE_ELEMENT?f.getChild(n):f.getNext();this._.guardLTR= -function(d,a){return(!a||!m.equals(d))&&(!k||!d.equals(k))&&(d.type!=CKEDITOR.NODE_ELEMENT||!a||!d.equals(c.root))}}if(d&&!this._.guardRTL){var E=e.type==CKEDITOR.NODE_ELEMENT?e:e.getParent(),G=e.type==CKEDITOR.NODE_ELEMENT?b?e.getChild(b-1):null:e.getPrevious();this._.guardRTL=function(d,a){return(!a||!E.equals(d))&&(!G||!d.equals(G))&&(d.type!=CKEDITOR.NODE_ELEMENT||!a||!d.equals(c.root))}}var I=d?this._.guardRTL:this._.guardLTR;g=h?function(d,a){return!1===I(d,a)?!1:h(d,a)}:I;this.current?f=this.current[l](!1, -u,g):(d?f.type==CKEDITOR.NODE_ELEMENT&&(f=0<n?f.getChild(n-1):!1===g(f,!0)?null:f.getPreviousSourceNode(!0,u,g)):(f=e,f.type==CKEDITOR.NODE_ELEMENT&&((f=f.getChild(b))||(f=!1===g(e,!0)?null:e.getNextSourceNode(!0,u,g)))),f&&!1===g(f)&&(f=null));for(;f&&!this._.end;){this.current=f;if(!this.evaluator||!1!==this.evaluator(f)){if(!a)return f}else if(a&&this.evaluator)return!1;f=f[l](!1,u,g)}this.end();return this.current=null}function h(d){for(var a,c=null;a=b.call(this,d);)c=a;return c}CKEDITOR.dom.walker= +CKEDITOR.dom.document.prototype,!0,{find:1,findOne:1});(function(){function b(d,a){var c=this.range;if(this._.end)return null;if(!this._.start){this._.start=1;if(c.collapsed)return this.end(),null;c.optimize()}var e,f=c.startContainer;e=c.endContainer;var b=c.startOffset,n=c.endOffset,g,h=this.guard,v=this.type,k=d?"getPreviousSourceNode":"getNextSourceNode";if(!d&&!this._.guardLTR){var m=e.type==CKEDITOR.NODE_ELEMENT?e:e.getParent(),l=e.type==CKEDITOR.NODE_ELEMENT?e.getChild(n):e.getNext();this._.guardLTR= +function(d,a){return(!a||!m.equals(d))&&(!l||!d.equals(l))&&(d.type!=CKEDITOR.NODE_ELEMENT||!a||!d.equals(c.root))}}if(d&&!this._.guardRTL){var B=f.type==CKEDITOR.NODE_ELEMENT?f:f.getParent(),G=f.type==CKEDITOR.NODE_ELEMENT?b?f.getChild(b-1):null:f.getPrevious();this._.guardRTL=function(d,a){return(!a||!B.equals(d))&&(!G||!d.equals(G))&&(d.type!=CKEDITOR.NODE_ELEMENT||!a||!d.equals(c.root))}}var I=d?this._.guardRTL:this._.guardLTR;g=h?function(d,a){return!1===I(d,a)?!1:h(d,a)}:I;this.current?e=this.current[k](!1, +v,g):(d?e.type==CKEDITOR.NODE_ELEMENT&&(e=0<n?e.getChild(n-1):!1===g(e,!0)?null:e.getPreviousSourceNode(!0,v,g)):(e=f,e.type==CKEDITOR.NODE_ELEMENT&&((e=e.getChild(b))||(e=!1===g(f,!0)?null:f.getNextSourceNode(!0,v,g)))),e&&!1===g(e)&&(e=null));for(;e&&!this._.end;){this.current=e;if(!this.evaluator||!1!==this.evaluator(e)){if(!a)return e}else if(a&&this.evaluator)return!1;e=e[k](!1,v,g)}this.end();return this.current=null}function h(d){for(var a,c=null;a=b.call(this,d);)c=a;return c}CKEDITOR.dom.walker= CKEDITOR.tools.createClass({$:function(d){this.range=d;this._={}},proto:{end:function(){this._.end=1},next:function(){return b.call(this)},previous:function(){return b.call(this,1)},checkForward:function(){return!1!==b.call(this,0,1)},checkBackward:function(){return!1!==b.call(this,1,1)},lastForward:function(){return h.call(this)},lastBackward:function(){return h.call(this,1)},reset:function(){delete this.current;this._={}}}});var g={block:1,"list-item":1,table:1,"table-row-group":1,"table-header-group":1, -"table-footer-group":1,"table-row":1,"table-column-group":1,"table-column":1,"table-cell":1,"table-caption":1},e={absolute:1,fixed:1};CKEDITOR.dom.element.prototype.isBlockBoundary=function(d){return"none"!=this.getComputedStyle("float")||this.getComputedStyle("position")in e||!g[this.getComputedStyle("display")]?!!(this.is(CKEDITOR.dtd.$block)||d&&this.is(d)):!0};CKEDITOR.dom.walker.blockBoundary=function(d){return function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary(d))}};CKEDITOR.dom.walker.listItemBoundary= -function(){return this.blockBoundary({br:1})};CKEDITOR.dom.walker.bookmark=function(d,a){function c(d){return d&&d.getName&&"span"==d.getName()&&d.data("cke-bookmark")}return function(f){var e,b;e=f&&f.type!=CKEDITOR.NODE_ELEMENT&&(b=f.getParent())&&c(b);e=d?e:e||c(f);return!!(a^e)}};CKEDITOR.dom.walker.whitespaces=function(d){return function(a){var c;a&&a.type==CKEDITOR.NODE_TEXT&&(c=!CKEDITOR.tools.trim(a.getText())||CKEDITOR.env.webkit&&a.getText()==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE); -return!!(d^c)}};CKEDITOR.dom.walker.invisible=function(d){var a=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.env.webkit?1:0;return function(f){a(f)?f=1:(f.type==CKEDITOR.NODE_TEXT&&(f=f.getParent()),f=f.$.offsetWidth<=c);return!!(d^f)}};CKEDITOR.dom.walker.nodeType=function(d,a){return function(c){return!!(a^c.type==d)}};CKEDITOR.dom.walker.bogus=function(d){function c(d){return!m(d)&&!l(d)}return function(f){var e=CKEDITOR.env.needsBrFiller?f.is&&f.is("br"):f.getText&&a.test(f.getText());e&&(e=f.getParent(), -f=f.getNext(c),e=e.isBlockBoundary()&&(!f||f.type==CKEDITOR.NODE_ELEMENT&&f.isBlockBoundary()));return!!(d^e)}};CKEDITOR.dom.walker.temp=function(d){return function(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());a=a&&a.hasAttribute("data-cke-temp");return!!(d^a)}};var a=/^[\t\r\n ]*(?: |\xa0)$/,m=CKEDITOR.dom.walker.whitespaces(),l=CKEDITOR.dom.walker.bookmark(),k=CKEDITOR.dom.walker.temp(),c=function(d){return l(d)||m(d)||d.type==CKEDITOR.NODE_ELEMENT&&d.is(CKEDITOR.dtd.$inline)&&!d.is(CKEDITOR.dtd.$empty)}; -CKEDITOR.dom.walker.ignored=function(d){return function(a){a=m(a)||l(a)||k(a);return!!(d^a)}};var f=CKEDITOR.dom.walker.ignored();CKEDITOR.dom.walker.empty=function(d){return function(a){for(var c=0,e=a.getChildCount();c<e;++c)if(!f(a.getChild(c)))return!!d;return!d}};var d=CKEDITOR.dom.walker.empty(),n=CKEDITOR.dom.walker.validEmptyBlockContainers=CKEDITOR.tools.extend(function(d){var a={},c;for(c in d)CKEDITOR.dtd[c]["#"]&&(a[c]=1);return a}(CKEDITOR.dtd.$block),{caption:1,td:1,th:1});CKEDITOR.dom.walker.editable= -function(a){return function(c){c=f(c)?!1:c.type==CKEDITOR.NODE_TEXT||c.type==CKEDITOR.NODE_ELEMENT&&(c.is(CKEDITOR.dtd.$inline)||c.is("hr")||"false"==c.getAttribute("contenteditable")||!CKEDITOR.env.needsBrFiller&&c.is(n)&&d(c))?!0:!1;return!!(a^c)}};CKEDITOR.dom.element.prototype.getBogus=function(){var d=this;do d=d.getPreviousSourceNode();while(c(d));return d&&(CKEDITOR.env.needsBrFiller?d.is&&d.is("br"):d.getText&&a.test(d.getText()))?d:!1}})();CKEDITOR.dom.range=function(b){this.endOffset=this.endContainer= -this.startOffset=this.startContainer=null;this.collapsed=!0;var h=b instanceof CKEDITOR.dom.document;this.document=h?b:b.getDocument();this.root=h?b.getBody():b};(function(){function b(d){d.collapsed=d.startContainer&&d.endContainer&&d.startContainer.equals(d.endContainer)&&d.startOffset==d.endOffset}function h(d,a,c,f,e){function b(d,a,c,f){var n=c?d.getPrevious():d.getNext();if(f&&l)return n;k||f?a.append(d.clone(!0,e),c):(d.remove(),m&&a.append(d,c));return n}function g(){var d,a,c,f=Math.min(H.length, -J.length);for(d=0;d<f;d++)if(a=H[d],c=J[d],!a.equals(c))return d;return d-1}function h(){var a=D-1,c=I&&L&&!u.equals(B);a<K-1||a<O-1||c?(c?d.moveToPosition(B,CKEDITOR.POSITION_BEFORE_START):O==a+1&&G?d.moveToPosition(J[a],CKEDITOR.POSITION_BEFORE_END):d.moveToPosition(J[a+1],CKEDITOR.POSITION_BEFORE_START),f&&(a=H[a+1])&&a.type==CKEDITOR.NODE_ELEMENT&&(c=CKEDITOR.dom.element.createFromHtml('\x3cspan data-cke-bookmark\x3d"1" style\x3d"display:none"\x3e\x26nbsp;\x3c/span\x3e',d.document),c.insertAfter(a), -a.mergeSiblings(!1),d.moveToBookmark({startNode:c}))):d.collapse(!0)}d.optimizeBookmark();var l=0===a,m=1==a,k=2==a;a=k||m;var u=d.startContainer,B=d.endContainer,C=d.startOffset,A=d.endOffset,E,G,I,L,F,M;if(k&&B.type==CKEDITOR.NODE_TEXT&&(u.equals(B)||u.type===CKEDITOR.NODE_ELEMENT&&u.getFirst().equals(B)))c.append(d.document.createText(B.substring(C,A)));else{B.type==CKEDITOR.NODE_TEXT?k?M=!0:B=B.split(A):0<B.getChildCount()?A>=B.getChildCount()?(B=B.getChild(A-1),G=!0):B=B.getChild(A):L=G=!0;u.type== -CKEDITOR.NODE_TEXT?k?F=!0:u.split(C):0<u.getChildCount()?0===C?(u=u.getChild(C),E=!0):u=u.getChild(C-1):I=E=!0;for(var H=u.getParents(),J=B.getParents(),D=g(),K=H.length-1,O=J.length-1,N=c,Y,R,W,ea=-1,X=D;X<=K;X++){R=H[X];W=R.getNext();for(X!=K||R.equals(J[X])&&K<O?a&&(Y=N.append(R.clone(0,e))):E?b(R,N,!1,I):F&&N.append(d.document.createText(R.substring(C)));W;){if(W.equals(J[X])){ea=X;break}W=b(W,N)}N=Y}N=c;for(X=D;X<=O;X++)if(c=J[X],W=c.getPrevious(),c.equals(H[X]))a&&(N=N.getChild(0));else{X!= -O||c.equals(H[X])&&O<K?a&&(Y=N.append(c.clone(0,e))):G?b(c,N,!1,L):M&&N.append(d.document.createText(c.substring(0,A)));if(X>ea)for(;W;)W=b(W,N,!0);N=Y}k||h()}}function g(){var d=!1,a=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(!0),f=CKEDITOR.dom.walker.bogus();return function(e){return c(e)||a(e)?!0:f(e)&&!d?d=!0:e.type==CKEDITOR.NODE_TEXT&&(e.hasAscendant("pre")||CKEDITOR.tools.trim(e.getText()).length)||e.type==CKEDITOR.NODE_ELEMENT&&!e.is(m)?!1:!0}}function e(d){var a=CKEDITOR.dom.walker.whitespaces(), -c=CKEDITOR.dom.walker.bookmark(1);return function(f){return c(f)||a(f)?!0:!d&&l(f)||f.type==CKEDITOR.NODE_ELEMENT&&f.is(CKEDITOR.dtd.$removeEmpty)}}function a(d){return function(){var a;return this[d?"getPreviousNode":"getNextNode"](function(d){!a&&f(d)&&(a=d);return c(d)&&!(l(d)&&d.equals(a))})}}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(),f=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var d=new CKEDITOR.dom.range(this.root);d._setStartContainer(this.startContainer);d.startOffset=this.startOffset;d._setEndContainer(this.endContainer);d.endOffset=this.endOffset;d.collapsed=this.collapsed;return d},collapse:function(d){d?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer), +"table-footer-group":1,"table-row":1,"table-column-group":1,"table-column":1,"table-cell":1,"table-caption":1},f={absolute:1,fixed:1};CKEDITOR.dom.element.prototype.isBlockBoundary=function(d){return"none"!=this.getComputedStyle("float")||this.getComputedStyle("position")in f||!g[this.getComputedStyle("display")]?!!(this.is(CKEDITOR.dtd.$block)||d&&this.is(d)):!0};CKEDITOR.dom.walker.blockBoundary=function(d){return function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary(d))}};CKEDITOR.dom.walker.listItemBoundary= +function(){return this.blockBoundary({br:1})};CKEDITOR.dom.walker.bookmark=function(d,a){function c(d){return d&&d.getName&&"span"==d.getName()&&d.data("cke-bookmark")}return function(e){var f,b;f=e&&e.type!=CKEDITOR.NODE_ELEMENT&&(b=e.getParent())&&c(b);f=d?f:f||c(e);return!!(a^f)}};CKEDITOR.dom.walker.whitespaces=function(d){return function(a){var c;a&&a.type==CKEDITOR.NODE_TEXT&&(c=!CKEDITOR.tools.trim(a.getText())||CKEDITOR.env.webkit&&a.getText()==CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE); +return!!(d^c)}};CKEDITOR.dom.walker.invisible=function(d){var a=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.env.webkit?1:0;return function(e){a(e)?e=1:(e.type==CKEDITOR.NODE_TEXT&&(e=e.getParent()),e=e.$.offsetWidth<=c);return!!(d^e)}};CKEDITOR.dom.walker.nodeType=function(d,a){return function(c){return!!(a^c.type==d)}};CKEDITOR.dom.walker.bogus=function(d){function c(d){return!m(d)&&!k(d)}return function(e){var f=CKEDITOR.env.needsBrFiller?e.is&&e.is("br"):e.getText&&a.test(e.getText());f&&(f=e.getParent(), +e=e.getNext(c),f=f.isBlockBoundary()&&(!e||e.type==CKEDITOR.NODE_ELEMENT&&e.isBlockBoundary()));return!!(d^f)}};CKEDITOR.dom.walker.temp=function(d){return function(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());a=a&&a.hasAttribute("data-cke-temp");return!!(d^a)}};var a=/^[\t\r\n ]*(?: |\xa0)$/,m=CKEDITOR.dom.walker.whitespaces(),k=CKEDITOR.dom.walker.bookmark(),l=CKEDITOR.dom.walker.temp(),c=function(d){return k(d)||m(d)||d.type==CKEDITOR.NODE_ELEMENT&&d.is(CKEDITOR.dtd.$inline)&&!d.is(CKEDITOR.dtd.$empty)}; +CKEDITOR.dom.walker.ignored=function(d){return function(a){a=m(a)||k(a)||l(a);return!!(d^a)}};var e=CKEDITOR.dom.walker.ignored();CKEDITOR.dom.walker.empty=function(d){return function(a){for(var c=0,f=a.getChildCount();c<f;++c)if(!e(a.getChild(c)))return!!d;return!d}};var d=CKEDITOR.dom.walker.empty(),n=CKEDITOR.dom.walker.validEmptyBlockContainers=CKEDITOR.tools.extend(function(d){var a={},c;for(c in d)CKEDITOR.dtd[c]["#"]&&(a[c]=1);return a}(CKEDITOR.dtd.$block),{caption:1,td:1,th:1});CKEDITOR.dom.walker.editable= +function(a){return function(c){c=e(c)?!1:c.type==CKEDITOR.NODE_TEXT||c.type==CKEDITOR.NODE_ELEMENT&&(c.is(CKEDITOR.dtd.$inline)||c.is("hr")||"false"==c.getAttribute("contenteditable")||!CKEDITOR.env.needsBrFiller&&c.is(n)&&d(c))?!0:!1;return!!(a^c)}};CKEDITOR.dom.element.prototype.getBogus=function(){var d=this;do d=d.getPreviousSourceNode();while(c(d));return d&&(CKEDITOR.env.needsBrFiller?d.is&&d.is("br"):d.getText&&a.test(d.getText()))?d:!1}})();CKEDITOR.dom.range=function(b){this.endOffset=this.endContainer= +this.startOffset=this.startContainer=null;this.collapsed=!0;var h=b instanceof CKEDITOR.dom.document;this.document=h?b:b.getDocument();this.root=h?b.getBody():b};(function(){function b(d){d.collapsed=d.startContainer&&d.endContainer&&d.startContainer.equals(d.endContainer)&&d.startOffset==d.endOffset}function h(d,a,c,e,f){function b(d,a,c,e){var n=c?d.getPrevious():d.getNext();if(e&&k)return n;l||e?a.append(d.clone(!0,f),c):(d.remove(),m&&a.append(d,c));return n}function g(){var d,a,c,e=Math.min(H.length, +J.length);for(d=0;d<e;d++)if(a=H[d],c=J[d],!a.equals(c))return d;return d-1}function h(){var a=D-1,c=I&&L&&!v.equals(C);a<K-1||a<O-1||c?(c?d.moveToPosition(C,CKEDITOR.POSITION_BEFORE_START):O==a+1&&G?d.moveToPosition(J[a],CKEDITOR.POSITION_BEFORE_END):d.moveToPosition(J[a+1],CKEDITOR.POSITION_BEFORE_START),e&&(a=H[a+1])&&a.type==CKEDITOR.NODE_ELEMENT&&(c=CKEDITOR.dom.element.createFromHtml('\x3cspan data-cke-bookmark\x3d"1" style\x3d"display:none"\x3e\x26nbsp;\x3c/span\x3e',d.document),c.insertAfter(a), +a.mergeSiblings(!1),d.moveToBookmark({startNode:c}))):d.collapse(!0)}d.optimizeBookmark();var k=0===a,m=1==a,l=2==a;a=l||m;var v=d.startContainer,C=d.endContainer,E=d.startOffset,A=d.endOffset,B,G,I,L,F,M;if(l&&C.type==CKEDITOR.NODE_TEXT&&(v.equals(C)||v.type===CKEDITOR.NODE_ELEMENT&&v.getFirst().equals(C)))c.append(d.document.createText(C.substring(E,A)));else{C.type==CKEDITOR.NODE_TEXT?l?M=!0:C=C.split(A):0<C.getChildCount()?A>=C.getChildCount()?(C=C.getChild(A-1),G=!0):C=C.getChild(A):L=G=!0;v.type== +CKEDITOR.NODE_TEXT?l?F=!0:v.split(E):0<v.getChildCount()?0===E?(v=v.getChild(E),B=!0):v=v.getChild(E-1):I=B=!0;for(var H=v.getParents(),J=C.getParents(),D=g(),K=H.length-1,O=J.length-1,N=c,Y,Q,W,ea=-1,X=D;X<=K;X++){Q=H[X];W=Q.getNext();for(X!=K||Q.equals(J[X])&&K<O?a&&(Y=N.append(Q.clone(0,f))):B?b(Q,N,!1,I):F&&N.append(d.document.createText(Q.substring(E)));W;){if(W.equals(J[X])){ea=X;break}W=b(W,N)}N=Y}N=c;for(X=D;X<=O;X++)if(c=J[X],W=c.getPrevious(),c.equals(H[X]))a&&(N=N.getChild(0));else{X!= +O||c.equals(H[X])&&O<K?a&&(Y=N.append(c.clone(0,f))):G?b(c,N,!1,L):M&&N.append(d.document.createText(c.substring(0,A)));if(X>ea)for(;W;)W=b(W,N,!0);N=Y}l||h()}}function g(){var d=!1,a=CKEDITOR.dom.walker.whitespaces(),c=CKEDITOR.dom.walker.bookmark(!0),e=CKEDITOR.dom.walker.bogus();return function(f){return c(f)||a(f)?!0:e(f)&&!d?d=!0:f.type==CKEDITOR.NODE_TEXT&&(f.hasAscendant("pre")||CKEDITOR.tools.trim(f.getText()).length)||f.type==CKEDITOR.NODE_ELEMENT&&!f.is(m)?!1:!0}}function f(d){var a=CKEDITOR.dom.walker.whitespaces(), +c=CKEDITOR.dom.walker.bookmark(1);return function(e){return c(e)||a(e)?!0:!d&&k(e)||e.type==CKEDITOR.NODE_ELEMENT&&e.is(CKEDITOR.dtd.$removeEmpty)}}function a(d){return function(){var a;return this[d?"getPreviousNode":"getNextNode"](function(d){!a&&e(d)&&(a=d);return c(d)&&!(k(d)&&d.equals(a))})}}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},k=CKEDITOR.dom.walker.bogus(), +l=/^[\t\r\n ]*(?: |\xa0)$/,c=CKEDITOR.dom.walker.editable(),e=CKEDITOR.dom.walker.ignored(!0);CKEDITOR.dom.range.prototype={clone:function(){var d=new CKEDITOR.dom.range(this.root);d._setStartContainer(this.startContainer);d.startOffset=this.startOffset;d._setEndContainer(this.endContainer);d.endOffset=this.endOffset;d.collapsed=this.collapsed;return d},collapse:function(d){d?(this._setEndContainer(this.startContainer),this.endOffset=this.startOffset):(this._setStartContainer(this.endContainer), this.startOffset=this.endOffset);this.collapsed=!0},cloneContents:function(d){var a=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,2,a,!1,"undefined"==typeof d?!0:d);return a},deleteContents:function(d){this.collapsed||h(this,0,null,d)},extractContents:function(d,a){var c=new CKEDITOR.dom.documentFragment(this.document);this.collapsed||h(this,1,c,d,"undefined"==typeof a?!0:a);return c},equals:function(d){return this.startOffset===d.startOffset&&this.endOffset===d.endOffset&& -this.startContainer.equals(d.startContainer)&&this.endContainer.equals(d.endContainer)},createBookmark:function(d){function a(d){return d.getAscendant(function(d){var a;if(a=d.data&&d.data("cke-temp"))a=-1===CKEDITOR.tools.array.indexOf(["cke_copybin","cke_pastebin"],d.getAttribute("id"));return a},!0)}var c=this.startContainer,f=this.endContainer,e=this.collapsed,b,g,h,l;b=this.document.createElement("span");b.data("cke-bookmark",1);b.setStyle("display","none");b.setHtml("\x26nbsp;");d&&(h="cke_bm_"+ -CKEDITOR.tools.getNextNumber(),b.setAttribute("id",h+(e?"C":"S")));e||(g=b.clone(),g.setHtml("\x26nbsp;"),d&&g.setAttribute("id",h+"E"),l=this.clone(),a(f)&&(f=a(f),l.moveToPosition(f,CKEDITOR.POSITION_AFTER_END)),l.collapse(),l.insertNode(g));l=this.clone();a(c)&&(f=a(c),l.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START));l.collapse(!0);l.insertNode(b);g?(this.setStartAfter(b),this.setEndBefore(g)):this.moveToPosition(b,CKEDITOR.POSITION_AFTER_END);return{startNode:d?h+(e?"C":"S"):b,endNode:d?h+ -"E":g,serializable:d,collapsed:e}},createBookmark2:function(){function d(d){var a=d.container,f=d.offset,e;e=a;var b=f;e=e.type!=CKEDITOR.NODE_ELEMENT||0===b||b==e.getChildCount()?0:e.getChild(b-1).type==CKEDITOR.NODE_TEXT&&e.getChild(b).type==CKEDITOR.NODE_TEXT;e&&(a=a.getChild(f-1),f=a.getLength());if(a.type==CKEDITOR.NODE_ELEMENT&&0<f){a:{for(e=a;f--;)if(b=e.getChild(f).getIndex(!0),0<=b){f=b;break a}f=-1}f+=1}if(a.type==CKEDITOR.NODE_TEXT){e=a;for(b=0;(e=e.getPrevious())&&e.type==CKEDITOR.NODE_TEXT;)b+= -e.getText().replace(CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE,"").length;e=b;a.isEmpty()?(b=a.getPrevious(c),e?(f=e,a=b?b.getNext():a.getParent().getFirst()):(a=a.getParent(),f=b?b.getIndex(!0)+1:0)):f+=e}d.container=a;d.offset=f}function a(d,c){var f=c.getCustomData("cke-fillingChar");if(f){var e=d.container;f.equals(e)&&(d.offset-=CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE.length,0>=d.offset&&(d.offset=e.getIndex(),d.container=e.getParent()))}}var c=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT, -!0);return function(c){var f=this.collapsed,e={container:this.startContainer,offset:this.startOffset},b={container:this.endContainer,offset:this.endOffset};c&&(d(e),a(e,this.root),f||(d(b),a(b,this.root)));return{start:e.container.getAddress(c),end:f?null:b.container.getAddress(c),startOffset:e.offset,endOffset:b.offset,normalized:c,collapsed:f,is2:!0}}}(),moveToBookmark:function(d){if(d.is2){var a=this.document.getByAddress(d.start,d.normalized),c=d.startOffset,f=d.end&&this.document.getByAddress(d.end, -d.normalized);d=d.endOffset;this.setStart(a,c);f?this.setEnd(f,d):this.collapse(!0)}else a=(c=d.serializable)?this.document.getById(d.startNode):d.startNode,d=c?this.document.getById(d.endNode):d.endNode,this.setStartBefore(a),a.remove(),d?(this.setEndBefore(d),d.remove()):this.collapse(!0)},getBoundaryNodes:function(){var d=this.startContainer,a=this.endContainer,c=this.startOffset,f=this.endOffset,e;if(d.type==CKEDITOR.NODE_ELEMENT)if(e=d.getChildCount(),e>c)d=d.getChild(c);else if(1>e)d=d.getPreviousSourceNode(); -else{for(d=d.$;d.lastChild;)d=d.lastChild;d=new CKEDITOR.dom.node(d);d=d.getNextSourceNode()||d}if(a.type==CKEDITOR.NODE_ELEMENT)if(e=a.getChildCount(),e>f)a=a.getChild(f).getPreviousSourceNode(!0);else if(1>e)a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a)}d.getPosition(a)&CKEDITOR.POSITION_FOLLOWING&&(d=a);return{startNode:d,endNode:a}},getCommonAncestor:function(d,a){var c=this.startContainer,f=this.endContainer,c=c.equals(f)?d&&c.type==CKEDITOR.NODE_ELEMENT&& -this.startOffset==this.endOffset-1?c.getChild(this.startOffset):c:c.getCommonAncestor(f);return a&&!c.is?c.getParent():c},optimize:function(){var d=this.startContainer,a=this.startOffset;d.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=d.getLength()&&this.setStartAfter(d):this.setStartBefore(d));d=this.endContainer;a=this.endOffset;d.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=d.getLength()&&this.setEndAfter(d):this.setEndBefore(d))},optimizeBookmark:function(){var d=this.startContainer,a=this.endContainer;d.is&&d.is("span")&& -d.data("cke-bookmark")&&this.setStartAt(d,CKEDITOR.POSITION_BEFORE_START);a&&a.is&&a.is("span")&&a.data("cke-bookmark")&&this.setEndAt(a,CKEDITOR.POSITION_AFTER_END)},trim:function(d,a){var c=this.startContainer,f=this.startOffset,e=this.collapsed;if((!d||e)&&c&&c.type==CKEDITOR.NODE_TEXT){if(f)if(f>=c.getLength())f=c.getIndex()+1,c=c.getParent();else{var b=c.split(f),f=c.getIndex()+1,c=c.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(b,this.endOffset-this.startOffset):c.equals(this.endContainer)&& -(this.endOffset+=1)}else f=c.getIndex(),c=c.getParent();this.setStart(c,f);if(e){this.collapse(!0);return}}c=this.endContainer;f=this.endOffset;a||e||!c||c.type!=CKEDITOR.NODE_TEXT||(f?(f>=c.getLength()||c.split(f),f=c.getIndex()+1):f=c.getIndex(),c=c.getParent(),this.setEnd(c,f))},enlarge:function(d,a){function c(d){return d&&d.type==CKEDITOR.NODE_ELEMENT&&d.hasAttribute("contenteditable")?null:d}var f=new RegExp(/[^\s\ufeff]/);switch(d){case CKEDITOR.ENLARGE_INLINE:var e=1;case CKEDITOR.ENLARGE_ELEMENT:var b= -function(d,a){var c=new CKEDITOR.dom.range(h);c.setStart(d,a);c.setEndAt(h,CKEDITOR.POSITION_BEFORE_END);var c=new CKEDITOR.dom.walker(c),e;for(c.guard=function(d){return!(d.type==CKEDITOR.NODE_ELEMENT&&d.isBlockBoundary())};e=c.next();){if(e.type!=CKEDITOR.NODE_TEXT)return!1;E=e!=d?e.getText():e.substring(a);if(f.test(E))return!1}return!0};if(this.collapsed)break;var g=this.getCommonAncestor(),h=this.root,l,m,k,u,B,C=!1,A,E;A=this.startContainer;var G=this.startOffset;A.type==CKEDITOR.NODE_TEXT? -(G&&(A=!CKEDITOR.tools.trim(A.substring(0,G)).length&&A,C=!!A),A&&((u=A.getPrevious())||(k=A.getParent()))):(G&&(u=A.getChild(G-1)||A.getLast()),u||(k=A));for(k=c(k);k||u;){if(k&&!u){!B&&k.equals(g)&&(B=!0);if(e?k.isBlockBoundary():!h.contains(k))break;C&&"inline"==k.getComputedStyle("display")||(C=!1,B?l=k:this.setStartBefore(k));u=k.getPrevious()}for(;u;)if(A=!1,u.type==CKEDITOR.NODE_COMMENT)u=u.getPrevious();else{if(u.type==CKEDITOR.NODE_TEXT)E=u.getText(),f.test(E)&&(u=null),A=/[\s\ufeff]$/.test(E); -else if((u.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||a&&u.is("br"))&&!u.data("cke-bookmark"))if(C&&CKEDITOR.dtd.$removeEmpty[u.getName()]){E=u.getText();if(f.test(E))u=null;else for(var G=u.$.getElementsByTagName("*"),I=0,L;L=G[I++];)if(!CKEDITOR.dtd.$removeEmpty[L.nodeName.toLowerCase()]){u=null;break}u&&(A=!!E.length)}else u=null;A&&(C?B?l=k:k&&this.setStartBefore(k):C=!0);if(u){A=u.getPrevious();if(!k&&!A){k=u;u=null;break}u=A}else k=null}k&&(k=c(k.getParent()))}A=this.endContainer;G=this.endOffset; -k=u=null;B=C=!1;A.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(A.substring(G)).length?C=!0:(C=!A.getLength(),G==A.getLength()?(u=A.getNext())||(k=A.getParent()):b(A,G)&&(k=A.getParent())):(u=A.getChild(G))||(k=A);for(;k||u;){if(k&&!u){!B&&k.equals(g)&&(B=!0);if(e?k.isBlockBoundary():!h.contains(k))break;C&&"inline"==k.getComputedStyle("display")||(C=!1,B?m=k:k&&this.setEndAfter(k));u=k.getNext()}for(;u;){A=!1;if(u.type==CKEDITOR.NODE_TEXT)E=u.getText(),b(u,0)||(u=null),A=/^[\s\ufeff]/.test(E);else if(u.type== -CKEDITOR.NODE_ELEMENT){if((0<u.$.offsetWidth||a&&u.is("br"))&&!u.data("cke-bookmark"))if(C&&CKEDITOR.dtd.$removeEmpty[u.getName()]){E=u.getText();if(f.test(E))u=null;else for(G=u.$.getElementsByTagName("*"),I=0;L=G[I++];)if(!CKEDITOR.dtd.$removeEmpty[L.nodeName.toLowerCase()]){u=null;break}u&&(A=!!E.length)}else u=null}else A=1;A&&C&&(B?m=k:this.setEndAfter(k));if(u){A=u.getNext();if(!k&&!A){k=u;u=null;break}u=A}else k=null}k&&(k=c(k.getParent()))}l&&m&&(g=l.contains(m)?m:l,this.setStartBefore(g), -this.setEndAfter(g));break;case CKEDITOR.ENLARGE_BLOCK_CONTENTS:case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:k=new CKEDITOR.dom.range(this.root);h=this.root;k.setStartAt(h,CKEDITOR.POSITION_AFTER_START);k.setEnd(this.startContainer,this.startOffset);k=new CKEDITOR.dom.walker(k);var F,M,H=CKEDITOR.dom.walker.blockBoundary(d==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),J=null,D=function(d){if(d.type==CKEDITOR.NODE_ELEMENT&&"false"==d.getAttribute("contenteditable"))if(J){if(J.equals(d)){J=null;return}}else J= -d;else if(J)return;var a=H(d);a||(F=d);return a},e=function(d){var a=D(d);!a&&d.is&&d.is("br")&&(M=d);return a};k.guard=D;k=k.lastBackward();F=F||h;this.setStartAt(F,!F.is("br")&&(!k&&this.checkStartOfBlock()||k&&F.contains(k))?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_AFTER_END);if(d==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS){k=this.clone();k=new CKEDITOR.dom.walker(k);var K=CKEDITOR.dom.walker.whitespaces(),O=CKEDITOR.dom.walker.bookmark();k.evaluator=function(d){return!K(d)&&!O(d)};if((k=k.previous())&& -k.type==CKEDITOR.NODE_ELEMENT&&k.is("br"))break}k=this.clone();k.collapse();k.setEndAt(h,CKEDITOR.POSITION_BEFORE_END);k=new CKEDITOR.dom.walker(k);k.guard=d==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?e:D;F=J=M=null;k=k.lastForward();F=F||h;this.setEndAt(F,!k&&this.checkEndOfBlock()||k&&F.contains(k)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START);M&&this.setEndAfter(M)}},shrink:function(d,a,c){var f="boolean"===typeof c?c:c&&"boolean"===typeof c.shrinkOnBlockBoundary?c.shrinkOnBlockBoundary: -!0,e=c&&c.skipBogus;if(!this.collapsed){d=d||CKEDITOR.SHRINK_TEXT;var b=this.clone(),g=this.startContainer,h=this.endContainer,l=this.startOffset,k=this.endOffset,m=c=1;g&&g.type==CKEDITOR.NODE_TEXT&&(l?l>=g.getLength()?b.setStartAfter(g):(b.setStartBefore(g),c=0):b.setStartBefore(g));h&&h.type==CKEDITOR.NODE_TEXT&&(k?k>=h.getLength()?b.setEndAfter(h):(b.setEndAfter(h),m=0):b.setEndBefore(h));var b=new CKEDITOR.dom.walker(b),u=CKEDITOR.dom.walker.bookmark(),B=CKEDITOR.dom.walker.bogus();b.evaluator= -function(a){return a.type==(d==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var C;b.guard=function(a,c){if(e&&B(a)||u(a))return!0;if(d==CKEDITOR.SHRINK_ELEMENT&&a.type==CKEDITOR.NODE_TEXT||c&&a.equals(C)||!1===f&&a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary()||a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable"))return!1;c||a.type!=CKEDITOR.NODE_ELEMENT||(C=a);return!0};c&&(g=b[d==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(g,a?CKEDITOR.POSITION_AFTER_START: -CKEDITOR.POSITION_BEFORE_START);m&&(b.reset(),(b=b[d==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(b,a?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!c&&!m)}},insertNode:function(d){this.optimizeBookmark();this.trim(!1,!0);var a=this.startContainer,c=a.getChild(this.startOffset);c?d.insertBefore(c):a.append(d);d.getParent()&&d.getParent().equals(this.endContainer)&&this.endOffset++;this.setStartBefore(d)},moveToPosition:function(d,a){this.setStartAt(d, -a);this.collapse(!0)},moveToRange:function(d){this.setStart(d.startContainer,d.startOffset);this.setEnd(d.endContainer,d.endOffset)},selectNodeContents:function(d){this.setStart(d,0);this.setEnd(d,d.type==CKEDITOR.NODE_TEXT?d.getLength():d.getChildCount())},setStart:function(d,a){d.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$empty[d.getName()]&&(a=d.getIndex(),d=d.getParent());this._setStartContainer(d);this.startOffset=a;this.endContainer||(this._setEndContainer(d),this.endOffset=a);b(this)},setEnd:function(a, +this.startContainer.equals(d.startContainer)&&this.endContainer.equals(d.endContainer)},createBookmark:function(d){function a(d){return d.getAscendant(function(d){var a;if(a=d.data&&d.data("cke-temp"))a=-1===CKEDITOR.tools.array.indexOf(["cke_copybin","cke_pastebin"],d.getAttribute("id"));return a},!0)}var c=this.startContainer,e=this.endContainer,f=this.collapsed,b,g,h,k;b=this.document.createElement("span");b.data("cke-bookmark",1);b.setStyle("display","none");b.setHtml("\x26nbsp;");d&&(h="cke_bm_"+ +CKEDITOR.tools.getNextNumber(),b.setAttribute("id",h+(f?"C":"S")));f||(g=b.clone(),g.setHtml("\x26nbsp;"),d&&g.setAttribute("id",h+"E"),k=this.clone(),a(e)&&(e=a(e),k.moveToPosition(e,CKEDITOR.POSITION_AFTER_END)),k.collapse(),k.insertNode(g));k=this.clone();a(c)&&(e=a(c),k.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START));k.collapse(!0);k.insertNode(b);g?(this.setStartAfter(b),this.setEndBefore(g)):this.moveToPosition(b,CKEDITOR.POSITION_AFTER_END);return{startNode:d?h+(f?"C":"S"):b,endNode:d?h+ +"E":g,serializable:d,collapsed:f}},createBookmark2:function(){function d(d){var a=d.container,e=d.offset,f;f=a;var b=e;f=f.type!=CKEDITOR.NODE_ELEMENT||0===b||b==f.getChildCount()?0:f.getChild(b-1).type==CKEDITOR.NODE_TEXT&&f.getChild(b).type==CKEDITOR.NODE_TEXT;f&&(a=a.getChild(e-1),e=a.getLength());if(a.type==CKEDITOR.NODE_ELEMENT&&0<e){a:{for(f=a;e--;)if(b=f.getChild(e).getIndex(!0),0<=b){e=b;break a}e=-1}e+=1}if(a.type==CKEDITOR.NODE_TEXT){f=a;for(b=0;(f=f.getPrevious())&&f.type==CKEDITOR.NODE_TEXT;)b+= +f.getText().replace(CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE,"").length;f=b;a.isEmpty()?(b=a.getPrevious(c),f?(e=f,a=b?b.getNext():a.getParent().getFirst()):(a=a.getParent(),e=b?b.getIndex(!0)+1:0)):e+=f}d.container=a;d.offset=e}function a(d,c){var e=c.getCustomData("cke-fillingChar");if(e){var f=d.container;e.equals(f)&&(d.offset-=CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE.length,0>=d.offset&&(d.offset=f.getIndex(),d.container=f.getParent()))}}var c=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_TEXT, +!0);return function(c){var e=this.collapsed,f={container:this.startContainer,offset:this.startOffset},b={container:this.endContainer,offset:this.endOffset};c&&(d(f),a(f,this.root),e||(d(b),a(b,this.root)));return{start:f.container.getAddress(c),end:e?null:b.container.getAddress(c),startOffset:f.offset,endOffset:b.offset,normalized:c,collapsed:e,is2:!0}}}(),moveToBookmark:function(d){if(d.is2){var a=this.document.getByAddress(d.start,d.normalized),c=d.startOffset,e=d.end&&this.document.getByAddress(d.end, +d.normalized);d=d.endOffset;this.setStart(a,c);e?this.setEnd(e,d):this.collapse(!0)}else a=(c=d.serializable)?this.document.getById(d.startNode):d.startNode,d=c?this.document.getById(d.endNode):d.endNode,this.setStartBefore(a),a.remove(),d?(this.setEndBefore(d),d.remove()):this.collapse(!0)},getBoundaryNodes:function(){var d=this.startContainer,a=this.endContainer,c=this.startOffset,e=this.endOffset,f;if(d.type==CKEDITOR.NODE_ELEMENT)if(f=d.getChildCount(),f>c)d=d.getChild(c);else if(1>f)d=d.getPreviousSourceNode(); +else{for(d=d.$;d.lastChild;)d=d.lastChild;d=new CKEDITOR.dom.node(d);d=d.getNextSourceNode()||d}if(a.type==CKEDITOR.NODE_ELEMENT)if(f=a.getChildCount(),f>e)a=a.getChild(e).getPreviousSourceNode(!0);else if(1>f)a=a.getPreviousSourceNode();else{for(a=a.$;a.lastChild;)a=a.lastChild;a=new CKEDITOR.dom.node(a)}d.getPosition(a)&CKEDITOR.POSITION_FOLLOWING&&(d=a);return{startNode:d,endNode:a}},getCommonAncestor:function(d,a){var c=this.startContainer,e=this.endContainer,c=c.equals(e)?d&&c.type==CKEDITOR.NODE_ELEMENT&& +this.startOffset==this.endOffset-1?c.getChild(this.startOffset):c:c.getCommonAncestor(e);return a&&!c.is?c.getParent():c},optimize:function(){var d=this.startContainer,a=this.startOffset;d.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=d.getLength()&&this.setStartAfter(d):this.setStartBefore(d));d=this.endContainer;a=this.endOffset;d.type!=CKEDITOR.NODE_ELEMENT&&(a?a>=d.getLength()&&this.setEndAfter(d):this.setEndBefore(d))},optimizeBookmark:function(){var d=this.startContainer,a=this.endContainer;d.is&&d.is("span")&& +d.data("cke-bookmark")&&this.setStartAt(d,CKEDITOR.POSITION_BEFORE_START);a&&a.is&&a.is("span")&&a.data("cke-bookmark")&&this.setEndAt(a,CKEDITOR.POSITION_AFTER_END)},trim:function(d,a){var c=this.startContainer,e=this.startOffset,f=this.collapsed;if((!d||f)&&c&&c.type==CKEDITOR.NODE_TEXT){if(e)if(e>=c.getLength())e=c.getIndex()+1,c=c.getParent();else{var b=c.split(e),e=c.getIndex()+1,c=c.getParent();this.startContainer.equals(this.endContainer)?this.setEnd(b,this.endOffset-this.startOffset):c.equals(this.endContainer)&& +(this.endOffset+=1)}else e=c.getIndex(),c=c.getParent();this.setStart(c,e);if(f){this.collapse(!0);return}}c=this.endContainer;e=this.endOffset;a||f||!c||c.type!=CKEDITOR.NODE_TEXT||(e?(e>=c.getLength()||c.split(e),e=c.getIndex()+1):e=c.getIndex(),c=c.getParent(),this.setEnd(c,e))},enlarge:function(a,c){function e(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")?null:a}var f=new RegExp(/[^\s\ufeff]/);switch(a){case CKEDITOR.ENLARGE_INLINE:var b=1;case CKEDITOR.ENLARGE_ELEMENT:var g= +function(a,d){var c=new CKEDITOR.dom.range(k);c.setStart(a,d);c.setEndAt(k,CKEDITOR.POSITION_BEFORE_END);var c=new CKEDITOR.dom.walker(c),e;for(c.guard=function(a){return!(a.type==CKEDITOR.NODE_ELEMENT&&a.isBlockBoundary())};e=c.next();){if(e.type!=CKEDITOR.NODE_TEXT)return!1;B=e!=a?e.getText():e.substring(d);if(f.test(B))return!1}return!0};if(this.collapsed)break;var h=this.getCommonAncestor(),k=this.root,m,l,u,v,C,E=!1,A,B;A=this.startContainer;var G=this.startOffset;A.type==CKEDITOR.NODE_TEXT? +(G&&(A=!CKEDITOR.tools.trim(A.substring(0,G)).length&&A,E=!!A),A&&((v=A.getPrevious())||(u=A.getParent()))):(G&&(v=A.getChild(G-1)||A.getLast()),v||(u=A));for(u=e(u);u||v;){if(u&&!v){!C&&u.equals(h)&&(C=!0);if(b?u.isBlockBoundary():!k.contains(u))break;E&&"inline"==u.getComputedStyle("display")||(E=!1,C?m=u:this.setStartBefore(u));v=u.getPrevious()}for(;v;)if(A=!1,v.type==CKEDITOR.NODE_COMMENT)v=v.getPrevious();else{if(v.type==CKEDITOR.NODE_TEXT)B=v.getText(),f.test(B)&&(v=null),A=/[\s\ufeff]$/.test(B); +else if((v.$.offsetWidth>(CKEDITOR.env.webkit?1:0)||c&&v.is("br"))&&!v.data("cke-bookmark"))if(E&&CKEDITOR.dtd.$removeEmpty[v.getName()]){B=v.getText();if(f.test(B))v=null;else for(var G=v.$.getElementsByTagName("*"),I=0,L;L=G[I++];)if(!CKEDITOR.dtd.$removeEmpty[L.nodeName.toLowerCase()]){v=null;break}v&&(A=!!B.length)}else v=null;A&&(E?C?m=u:u&&this.setStartBefore(u):E=!0);if(v){A=v.getPrevious();if(!u&&!A){u=v;v=null;break}v=A}else u=null}u&&(u=e(u.getParent()))}A=this.endContainer;G=this.endOffset; +u=v=null;C=E=!1;A.type==CKEDITOR.NODE_TEXT?CKEDITOR.tools.trim(A.substring(G)).length?E=!0:(E=!A.getLength(),G==A.getLength()?(v=A.getNext())||(u=A.getParent()):g(A,G)&&(u=A.getParent())):(v=A.getChild(G))||(u=A);for(;u||v;){if(u&&!v){!C&&u.equals(h)&&(C=!0);if(b?u.isBlockBoundary():!k.contains(u))break;E&&"inline"==u.getComputedStyle("display")||(E=!1,C?l=u:u&&this.setEndAfter(u));v=u.getNext()}for(;v;){A=!1;if(v.type==CKEDITOR.NODE_TEXT)B=v.getText(),g(v,0)||(v=null),A=/^[\s\ufeff]/.test(B);else if(v.type== +CKEDITOR.NODE_ELEMENT){if((0<v.$.offsetWidth||c&&v.is("br"))&&!v.data("cke-bookmark"))if(E&&CKEDITOR.dtd.$removeEmpty[v.getName()]){B=v.getText();if(f.test(B))v=null;else for(G=v.$.getElementsByTagName("*"),I=0;L=G[I++];)if(!CKEDITOR.dtd.$removeEmpty[L.nodeName.toLowerCase()]){v=null;break}v&&(A=!!B.length)}else v=null}else A=1;A&&E&&(C?l=u:this.setEndAfter(u));if(v){A=v.getNext();if(!u&&!A){u=v;v=null;break}v=A}else u=null}u&&(u=e(u.getParent()))}m&&l&&(h=m.contains(l)?l:m,this.setStartBefore(h), +this.setEndAfter(h));break;case CKEDITOR.ENLARGE_BLOCK_CONTENTS:case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:u=new CKEDITOR.dom.range(this.root);k=this.root;u.setStartAt(k,CKEDITOR.POSITION_AFTER_START);u.setEnd(this.startContainer,this.startOffset);u=new CKEDITOR.dom.walker(u);var F,M,H=CKEDITOR.dom.walker.blockBoundary(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?{br:1}:null),J=null,D=function(a){if(a.type==CKEDITOR.NODE_ELEMENT&&"false"==a.getAttribute("contenteditable"))if(J){if(J.equals(a)){J=null;return}}else J= +a;else if(J)return;var d=H(a);d||(F=a);return d},b=function(a){var d=D(a);!d&&a.is&&a.is("br")&&(M=a);return d};u.guard=D;u=u.lastBackward();F=F||k;this.setStartAt(F,!F.is("br")&&(!u&&this.checkStartOfBlock()||u&&F.contains(u))?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_AFTER_END);if(a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS){u=this.clone();u=new CKEDITOR.dom.walker(u);var K=CKEDITOR.dom.walker.whitespaces(),O=CKEDITOR.dom.walker.bookmark();u.evaluator=function(a){return!K(a)&&!O(a)};if((u=u.previous())&& +u.type==CKEDITOR.NODE_ELEMENT&&u.is("br"))break}u=this.clone();u.collapse();u.setEndAt(k,CKEDITOR.POSITION_BEFORE_END);u=new CKEDITOR.dom.walker(u);u.guard=a==CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS?b:D;F=J=M=null;u=u.lastForward();F=F||k;this.setEndAt(F,!u&&this.checkEndOfBlock()||u&&F.contains(u)?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_BEFORE_START);M&&this.setEndAfter(M)}},shrink:function(a,c,e){var f="boolean"===typeof e?e:e&&"boolean"===typeof e.shrinkOnBlockBoundary?e.shrinkOnBlockBoundary: +!0,b=e&&e.skipBogus;if(!this.collapsed){a=a||CKEDITOR.SHRINK_TEXT;var g=this.clone(),h=this.startContainer,k=this.endContainer,m=this.startOffset,l=this.endOffset,u=e=1;h&&h.type==CKEDITOR.NODE_TEXT&&(m?m>=h.getLength()?g.setStartAfter(h):(g.setStartBefore(h),e=0):g.setStartBefore(h));k&&k.type==CKEDITOR.NODE_TEXT&&(l?l>=k.getLength()?g.setEndAfter(k):(g.setEndAfter(k),u=0):g.setEndBefore(k));var g=new CKEDITOR.dom.walker(g),v=CKEDITOR.dom.walker.bookmark(),C=CKEDITOR.dom.walker.bogus();g.evaluator= +function(c){return c.type==(a==CKEDITOR.SHRINK_ELEMENT?CKEDITOR.NODE_ELEMENT:CKEDITOR.NODE_TEXT)};var E;g.guard=function(c,e){if(b&&C(c)||v(c))return!0;if(a==CKEDITOR.SHRINK_ELEMENT&&c.type==CKEDITOR.NODE_TEXT||e&&c.equals(E)||!1===f&&c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()||c.type==CKEDITOR.NODE_ELEMENT&&c.hasAttribute("contenteditable"))return!1;e||c.type!=CKEDITOR.NODE_ELEMENT||(E=c);return!0};e&&(h=g[a==CKEDITOR.SHRINK_ELEMENT?"lastForward":"next"]())&&this.setStartAt(h,c?CKEDITOR.POSITION_AFTER_START: +CKEDITOR.POSITION_BEFORE_START);u&&(g.reset(),(g=g[a==CKEDITOR.SHRINK_ELEMENT?"lastBackward":"previous"]())&&this.setEndAt(g,c?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_END));return!(!e&&!u)}},insertNode:function(a){this.optimizeBookmark();this.trim(!1,!0);var c=this.startContainer,e=c.getChild(this.startOffset);e?a.insertBefore(e):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 f=this.createBookmark(),e=this.document.createElement(c);this.collapse(a);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(e);e.trim();this.insertNode(e);var b=e.getBogus();b&&b.remove();e.appendBogus();this.moveToBookmark(f);return e},splitBlock:function(a,c){var f= -new CKEDITOR.dom.elementPath(this.startContainer,this.root),e=new CKEDITOR.dom.elementPath(this.endContainer,this.root),b=f.block,g=e.block,h=null;if(!f.blockLimit.equals(e.blockLimit))return null;"br"!=a&&(b||(b=this.fixBlock(!0,a),g=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),g||(g=this.fixBlock(!1,a)));f=b&&this.checkStartOfBlock();e=g&&this.checkEndOfBlock();this.deleteContents();b&&b.equals(g)&&(e?(h=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(g, -CKEDITOR.POSITION_AFTER_END),g=null):f?(h=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START),b=null):(g=this.splitElement(b,c||!1),b.is("ul","ol")||b.appendBogus()));return{previousBlock:b,nextBlock:g,wasStartOfBlock:f,wasEndOfBlock:e,elementPath:h}},splitElement:function(a,c){if(!this.collapsed)return null;this.setEndAt(a,CKEDITOR.POSITION_BEFORE_END);var f=this.extractContents(!1,c||!1),e=a.clone(!1,c||!1);f.appendTo(e);e.insertAfter(a); -this.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);return e},removeEmptyBlocksAtEnd:function(){function a(d){return function(a){return c(a)||f(a)||a.type==CKEDITOR.NODE_ELEMENT&&a.isEmptyInlineRemoveable()||d.is("table")&&a.is("caption")?!1:!0}}var c=CKEDITOR.dom.walker.whitespaces(),f=CKEDITOR.dom.walker.bookmark(!1);return function(c){for(var f=this.createBookmark(),e=this[c?"endPath":"startPath"](),b=e.block||e.blockLimit,g;b&&!b.equals(e.root)&&!b.getFirst(a(b));)g=b.getParent(),this[c?"setEndAt": -"setStartAt"](b,CKEDITOR.POSITION_AFTER_END),b.remove(1),b=g;this.moveToBookmark(f)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(a,c){var f=c==CKEDITOR.START,b=this.clone();b.collapse(f);b[f?"setStartAt":"setEndAt"](a,f?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);b=new CKEDITOR.dom.walker(b);b.evaluator=e(f);return b[f? -"checkBackward":"checkForward"]()},checkStartOfBlock:function(){var a=this.startContainer,c=this.startOffset;CKEDITOR.env.ie&&c&&a.type==CKEDITOR.NODE_TEXT&&(a=CKEDITOR.tools.ltrim(a.substring(0,c)),k.test(a)&&this.trim(0,1));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=g();return a.checkBackward()},checkEndOfBlock:function(){var a=this.endContainer, -c=this.endOffset;CKEDITOR.env.ie&&a.type==CKEDITOR.NODE_TEXT&&(a=CKEDITOR.tools.rtrim(a.substring(c)),k.test(a)&&this.trim(1,0));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=g();return a.checkForward()},getPreviousNode:function(a,c,f){var e=this.clone();e.collapse(1);e.setStartAt(f||this.root,CKEDITOR.POSITION_AFTER_START);f=new CKEDITOR.dom.walker(e); -f.evaluator=a;f.guard=c;return f.previous()},getNextNode:function(a,c,f){var e=this.clone();e.collapse();e.setEndAt(f||this.root,CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(e);f.evaluator=a;f.guard=c;return f.next()},checkReadOnly:function(){function a(d,c){for(;d;){if(d.type==CKEDITOR.NODE_ELEMENT){if("false"==d.getAttribute("contentEditable")&&!d.data("cke-editable"))return 0;if(d.is("html")||"true"==d.getAttribute("contentEditable")&&(d.contains(c)||d.equals(c)))break}d=d.getParent()}return 1} -return function(){var c=this.startContainer,f=this.endContainer;return!(a(c,f)&&a(f,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 e=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);e=1;break}if(a.type==CKEDITOR.NODE_ELEMENT)if(a.isEditable())this.moveToPosition(a,c?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),e=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 b=a,g=e,h=void 0;b.type==CKEDITOR.NODE_ELEMENT&&b.isEditable(!1)&& -(h=b[c?"getLast":"getFirst"](f));g||h||(h=b[c?"getPrevious":"getNext"](f));a=h}return!!e},moveToClosestEditablePosition:function(a,c){var f,e=0,b,g,h=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(f=new CKEDITOR.dom.range(this.root),f.moveToPosition(a,h[c?0:1])):f=this.clone();if(a&&!a.is(CKEDITOR.dtd.$block))e=1;else if(b=f[c?"getNextEditableNode":"getPreviousEditableNode"]())e=1,(g=b.type==CKEDITOR.NODE_ELEMENT)&&b.is(CKEDITOR.dtd.$block)&&"false"==b.getAttribute("contenteditable")? -(f.setStartAt(b,CKEDITOR.POSITION_BEFORE_START),f.setEndAt(b,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&&g&&b.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(f.setEnd(b,0),f.collapse()):f.moveToPosition(b,h[c?1:0]);e&&this.moveToRange(f);return!!e},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),f=CKEDITOR.dom.walker.whitespaces(!0);a.evaluator=function(a){return f(a)&&c(a)};var e=a.next();a.reset();return e&&e.equals(a.previous())?e: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:a(),getPreviousEditableNode:a(1),_getTableElement:function(a){a=a||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var c=this.getTouchedStartNode(),f=this.getTouchedEndNode(),e=c.getAscendant("table",!0),f=f.getAscendant("table",!0);return e&&!this.root.contains(e)?null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(a,!0):e&&f&&(e.equals(f)||e.contains(f)||f.contains(e))?c.getAscendant(a,!0):null},scrollIntoView:function(){var a= -new CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",this.document),c,f,e,b=this.clone();b.optimize();(e=b.startContainer.type==CKEDITOR.NODE_TEXT)?(f=b.startContainer.getText(),c=b.startContainer.split(b.startOffset),a.insertAfter(b.startContainer)):b.insertNode(a);a.scrollIntoView();e&&(b.startContainer.setText(f),c.remove());a.remove()},getClientRects:function(){function a(d,c){var f=CKEDITOR.tools.array.map(d,function(a){return a}),e=new CKEDITOR.dom.range(c.root),b,g, -h;c.startContainer instanceof CKEDITOR.dom.element&&(g=0===c.startOffset&&c.startContainer.hasAttribute("data-widget"));c.endContainer instanceof CKEDITOR.dom.element&&(h=(h=c.endOffset===(c.endContainer.getChildCount?c.endContainer.getChildCount():c.endContainer.length))&&c.endContainer.hasAttribute("data-widget"));g&&e.setStart(c.startContainer.getParent(),c.startContainer.getIndex());h&&e.setEnd(c.endContainer.getParent(),c.endContainer.getIndex()+1);if(g||h)c=e;e=c.cloneContents().find("[data-cke-widget-id]").toArray(); -if(e=CKEDITOR.tools.array.map(e,function(a){var d=c.root.editor;a=a.getAttribute("data-cke-widget-id");return d.widgets.instances[a].element}))return e=CKEDITOR.tools.array.map(e,function(a){var d;d=a.getParent().hasClass("cke_widget_wrapper")?a.getParent():a;b=this.root.getDocument().$.createRange();b.setStart(d.getParent().$,d.getIndex());b.setEnd(d.getParent().$,d.getIndex()+1);d=b.getClientRects();d.widgetRect=a.getClientRect();return d},c),CKEDITOR.tools.array.forEach(e,function(a){function d(e){CKEDITOR.tools.array.forEach(f, -function(d,b){var g=CKEDITOR.tools.objectCompare(a[e],d);g||(g=CKEDITOR.tools.objectCompare(a.widgetRect,d));g&&(Array.prototype.splice.call(f,b,a.length-e,a.widgetRect),c=!0)});c||(e<f.length-1?d(e+1):f.push(a.widgetRect))}var c;d(0)}),f}function c(a,d,f){var b;d.collapsed?f.startContainer instanceof CKEDITOR.dom.element?(a=f.checkStartOfBlock(),b=new CKEDITOR.dom.text(""),a?f.startContainer.append(b,!0):0===f.startOffset?b.insertBefore(f.startContainer.getFirst()):(f=f.startContainer.getChildren().getItem(f.startOffset- -1),b.insertAfter(f)),d.setStart(b.$,0),d.setEnd(b.$,0),a=d.getClientRects(),b.remove()):f.startContainer instanceof CKEDITOR.dom.text&&(""===f.startContainer.getText()?(f.startContainer.setText(""),a=d.getClientRects(),f.startContainer.setText("")):a=[e(f.createBookmark())]):a=[e(f.createBookmark())];return a}function f(a,d,c){a=CKEDITOR.tools.extend({},a);d&&(a=CKEDITOR.tools.getAbsoluteRectPosition(c.document.getWindow(),a));!a.width&&(a.width=a.right-a.left);!a.height&&(a.height=a.bottom-a.top); -return a}function e(a){var d=a.startNode;a=a.endNode;var c;d.setText("");d.removeStyle("display");a?(a.setText(""),a.removeStyle("display"),c=[d.getClientRect(),a.getClientRect()],a.remove()):c=[d.getClientRect(),d.getClientRect()];d.remove();return{right:Math.max(c[0].right,c[1].right),bottom:Math.max(c[0].bottom,c[1].bottom),left:Math.min(c[0].left,c[1].left),top:Math.min(c[0].top,c[1].top),width:Math.abs(c[0].left-c[1].left),height:Math.max(c[0].bottom,c[1].bottom)-Math.min(c[0].top,c[1].top)}} -return void 0!==this.document.getSelection?function(e){var b=this.root.getDocument().$.createRange(),g;b.setStart(this.startContainer.$,this.startOffset);b.setEnd(this.endContainer.$,this.endOffset);g=b.getClientRects();g=a(g,this);g.length||(g=c(g,b,this));return CKEDITOR.tools.array.map(g,function(a){return f(a,e,this)},this)}:function(a){return[f(e(this.createBookmark()),a,this)]}}(),_setStartContainer:function(a){this.startContainer=a},_setEndContainer:function(a){this.endContainer=a},_find:function(a, -c){var f=this.getCommonAncestor(),e=this.getBoundaryNodes(),b=[],g,h,l,k;if(f&&f.find)for(h=f.find(a),g=0;g<h.count();g++)if(f=h.getItem(g),c||!f.isReadOnly())l=f.getPosition(e.startNode)&CKEDITOR.POSITION_FOLLOWING||e.startNode.equals(f),k=f.getPosition(e.endNode)&CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IS_CONTAINED||e.endNode.equals(f),l&&k&&b.push(f);return b}};CKEDITOR.dom.range.mergeRanges=function(a){return CKEDITOR.tools.array.reduce(a,function(a,c){var d=a[a.length-1],f=!1;c=c.clone(); -c.enlarge(CKEDITOR.ENLARGE_ELEMENT);if(d){var e=new CKEDITOR.dom.range(c.root),f=new CKEDITOR.dom.walker(e),b=CKEDITOR.dom.walker.whitespaces();e.setStart(d.endContainer,d.endOffset);e.setEnd(c.startContainer,c.startOffset);for(e=f.next();b(e)||c.endContainer.equals(e);)e=f.next();f=!e}f?d.setEnd(c.endContainer,c.endOffset):a.push(c);return a},[])}})();CKEDITOR.POSITION_AFTER_START=1;CKEDITOR.POSITION_BEFORE_END=2;CKEDITOR.POSITION_BEFORE_START=3;CKEDITOR.POSITION_AFTER_END=4;CKEDITOR.ENLARGE_ELEMENT= -1;CKEDITOR.ENLARGE_BLOCK_CONTENTS=2;CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS=3;CKEDITOR.ENLARGE_INLINE=4;CKEDITOR.START=1;CKEDITOR.END=2;CKEDITOR.SHRINK_ELEMENT=1;CKEDITOR.SHRINK_TEXT=2;"use strict";(function(){function b(a){1>arguments.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 g(a,c,e,b){a:{null== -b&&(b=h(e));for(var l;l=b.shift();)if(l.getDtd().p){b={element:l,remaining:b};break a}b=null}if(!b)return 0;if((l=CKEDITOR.filter.instances[b.element.data("cke-filter")])&&!l.check(c))return g(a,c,e,b.remaining);c=new CKEDITOR.dom.range(b.element);c.selectNodeContents(b.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=l;a._.nestedEditable={element:b.element,container:e,remaining:b.remaining,iterator:c};return 1}function e(a,c,e){if(!c)return!1; -a=a.clone();a.collapse(!e);return a.checkBoundaryOfElement(c,e?CKEDITOR.START:CKEDITOR.END)}var a=/^[\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(f){var d,b,h,l,p;f=f||"p";if(this._.nestedEditable){if(d=this._.nestedEditable.iterator.getNextParagraph(f))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,d;this.activeFilter=this.filter;if(g(this,f, -this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(f);this._.nestedEditable=null}if(!this.range.root.getDtd()[f])return null;if(!this._.started){var r=this.range.clone();b=r.startPath();var q=r.endPath(),x=!r.collapsed&&e(r,b.block),t=!r.collapsed&&e(r,q.block,1);r.shrink(CKEDITOR.SHRINK_ELEMENT,!0);x&&r.setStartAt(b.block,CKEDITOR.POSITION_BEFORE_END);t&&r.setEndAt(q.block, -CKEDITOR.POSITION_AFTER_START);b=r.endContainer.hasAscendant("pre",!0)||r.startContainer.hasAscendant("pre",!0);r.enlarge(this.forceBrBreak&&!b||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);r.collapsed||(b=new CKEDITOR.dom.walker(r.clone()),q=CKEDITOR.dom.walker.bookmark(!0,!0),b.evaluator=q,this._.nextNode=b.next(),b=new CKEDITOR.dom.walker(r.clone()),b.evaluator=q,b=b.previous(),this._.lastNode=b.getNextSourceNode(!0,null,r.root),this._.lastNode&&this._.lastNode.type== -CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(q=this.range.clone(),q.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),q.checkEndOfBlock()&&(q=new CKEDITOR.dom.elementPath(q.endContainer,q.root),this._.lastNode=(q.block||q.blockLimit).getNextSourceNode(!0))),this._.lastNode&&r.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=r.document.createText(""),this._.lastNode.insertAfter(b)),r=null);this._.started= -1;b=r}q=this._.nextNode;r=this._.lastNode;for(this._.nextNode=null;q;){var x=0,t=q.hasAscendant("pre"),z=q.type!=CKEDITOR.NODE_ELEMENT,y=0;if(z)q.type==CKEDITOR.NODE_TEXT&&a.test(q.getText())&&(z=0);else{var u=q.getName();if(CKEDITOR.dtd.$block[u]&&"false"==q.getAttribute("contenteditable")){d=q;g(this,f,d);break}else if(q.isBlockBoundary(this.forceBrBreak&&!t&&{br:1})){if("br"==u)z=1;else if(!b&&!q.getChildCount()&&"hr"!=u){d=q;h=q.equals(r);break}b&&(b.setEndAt(q,CKEDITOR.POSITION_BEFORE_START), -"br"!=u&&(this._.nextNode=q));x=1}else{if(q.getFirst()){b||(b=this.range.clone(),b.setStartAt(q,CKEDITOR.POSITION_BEFORE_START));q=q.getFirst();continue}z=1}}z&&!b&&(b=this.range.clone(),b.setStartAt(q,CKEDITOR.POSITION_BEFORE_START));h=(!x||z)&&q.equals(r);if(b&&!x)for(;!q.getNext(k)&&!h;){u=q.getParent();if(u.isBlockBoundary(this.forceBrBreak&&!t&&{br:1})){x=1;z=0;h||u.equals(r);b.setEndAt(u,CKEDITOR.POSITION_BEFORE_END);break}q=u;z=1;h=q.equals(r);y=1}z&&b.setEndAt(q,CKEDITOR.POSITION_AFTER_END); -q=this._getNextSourceNode(q,y,r);if((h=!q)||x&&b)break}if(!d){if(!b)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;d=new CKEDITOR.dom.elementPath(b.startContainer,b.root);q=d.blockLimit;x={div:1,th:1,td:1};d=d.block;!d&&q&&!this.enforceRealBlocks&&x[q.getName()]&&b.checkStartOfBlock()&&b.checkEndOfBlock()&&!q.equals(b.root)?d=q:!d||this.enforceRealBlocks&&d.is(c)?(d=this.range.document.createElement(f),b.extractContents().appendTo(d),d.trim(),b.insertNode(d),l=p=!0): -"li"!=d.getName()?b.checkStartOfBlock()&&b.checkEndOfBlock()||(d=d.clone(!1),b.extractContents().appendTo(d),d.trim(),p=b.splitBlock(),l=!p.wasStartOfBlock,p=!p.wasEndOfBlock,b.insertNode(d)):h||(this._.nextNode=d.equals(r)?null:this._getNextSourceNode(b.getBoundaryNodes().endNode,1,r))}l&&(l=d.getPrevious())&&l.type==CKEDITOR.NODE_ELEMENT&&("br"==l.getName()?l.remove():l.getLast()&&"br"==l.getLast().$.nodeName.toLowerCase()&&l.getLast().remove());p&&(l=d.getLast())&&l.type==CKEDITOR.NODE_ELEMENT&& -"br"==l.getName()&&(!CKEDITOR.env.needsBrFiller||l.getPrevious(m)||l.getNext(m))&&l.remove();this._.nextNode||(this._.nextNode=h||d.equals(r)||!r?null:this._getNextSourceNode(d,1,r));return d},_getNextSourceNode:function(a,c,e){function b(a){return!(a.equals(e)||a.equals(g))}var g=this.range.root;for(a=a.getNextSourceNode(c,null,b);!m(a);)a=a.getNextSourceNode(c,null,b);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new b(this)}})();CKEDITOR.command=function(b,h){this.uiItems= -[];this.exec=function(e){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,e)};this.refresh=function(e,a){if(!this.readOnly&&e.readOnly)return!0;if(this.context&&!a.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&&!this.modes[e.mode]&&this.disable();return!1===this.fire("refresh",{editor:e,path:a})?!0:h.refresh&&!1!==h.refresh.apply(this, -arguments)};var g;this.checkAllowed=function(e){return e||"boolean"!=typeof g?g=b.activeFilter.checkFeature(this):g};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)}, +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 e=this.createBookmark(),f=this.document.createElement(c);this.collapse(a);this.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS);this.extractContents().appendTo(f);f.trim();this.insertNode(f);var b=f.getBogus();b&&b.remove();f.appendBogus();this.moveToBookmark(e);return f},splitBlock:function(a,c){var e= +new CKEDITOR.dom.elementPath(this.startContainer,this.root),f=new CKEDITOR.dom.elementPath(this.endContainer,this.root),b=e.block,g=f.block,h=null;if(!e.blockLimit.equals(f.blockLimit))return null;"br"!=a&&(b||(b=this.fixBlock(!0,a),g=(new CKEDITOR.dom.elementPath(this.endContainer,this.root)).block),g||(g=this.fixBlock(!1,a)));e=b&&this.checkStartOfBlock();f=g&&this.checkEndOfBlock();this.deleteContents();b&&b.equals(g)&&(f?(h=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(g, +CKEDITOR.POSITION_AFTER_END),g=null):e?(h=new CKEDITOR.dom.elementPath(this.startContainer,this.root),this.moveToPosition(b,CKEDITOR.POSITION_BEFORE_START),b=null):(g=this.splitElement(b,c||!1),b.is("ul","ol")||b.appendBogus()));return{previousBlock:b,nextBlock:g,wasStartOfBlock:e,wasEndOfBlock:f,elementPath:h}},splitElement:function(a,c){if(!this.collapsed)return null;this.setEndAt(a,CKEDITOR.POSITION_BEFORE_END);var e=this.extractContents(!1,c||!1),f=a.clone(!1,c||!1);e.appendTo(f);f.insertAfter(a); +this.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);return f},removeEmptyBlocksAtEnd:function(){function a(d){return function(a){return c(a)||e(a)||a.type==CKEDITOR.NODE_ELEMENT&&a.isEmptyInlineRemoveable()||d.is("table")&&a.is("caption")?!1:!0}}var c=CKEDITOR.dom.walker.whitespaces(),e=CKEDITOR.dom.walker.bookmark(!1);return function(c){for(var e=this.createBookmark(),f=this[c?"endPath":"startPath"](),b=f.block||f.blockLimit,g;b&&!b.equals(f.root)&&!b.getFirst(a(b));)g=b.getParent(),this[c?"setEndAt": +"setStartAt"](b,CKEDITOR.POSITION_AFTER_END),b.remove(1),b=g;this.moveToBookmark(e)}}(),startPath:function(){return new CKEDITOR.dom.elementPath(this.startContainer,this.root)},endPath:function(){return new CKEDITOR.dom.elementPath(this.endContainer,this.root)},checkBoundaryOfElement:function(a,c){var e=c==CKEDITOR.START,b=this.clone();b.collapse(e);b[e?"setStartAt":"setEndAt"](a,e?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END);b=new CKEDITOR.dom.walker(b);b.evaluator=f(e);return b[e? +"checkBackward":"checkForward"]()},checkStartOfBlock:function(){var a=this.startContainer,c=this.startOffset;CKEDITOR.env.ie&&c&&a.type==CKEDITOR.NODE_TEXT&&(a=CKEDITOR.tools.ltrim(a.substring(0,c)),l.test(a)&&this.trim(0,1));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=g();return a.checkBackward()},checkEndOfBlock:function(){var a=this.endContainer, +c=this.endOffset;CKEDITOR.env.ie&&a.type==CKEDITOR.NODE_TEXT&&(a=CKEDITOR.tools.rtrim(a.substring(c)),l.test(a)&&this.trim(1,0));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=g();return a.checkForward()},getPreviousNode:function(a,c,e){var f=this.clone();f.collapse(1);f.setStartAt(e||this.root,CKEDITOR.POSITION_AFTER_START);e=new CKEDITOR.dom.walker(f); +e.evaluator=a;e.guard=c;return e.previous()},getNextNode:function(a,c,e){var f=this.clone();f.collapse();f.setEndAt(e||this.root,CKEDITOR.POSITION_BEFORE_END);e=new CKEDITOR.dom.walker(f);e.evaluator=a;e.guard=c;return e.next()},checkReadOnly:function(){function a(d,c){for(;d;){if(d.type==CKEDITOR.NODE_ELEMENT){if("false"==d.getAttribute("contentEditable")&&!d.data("cke-editable"))return 0;if(d.is("html")||"true"==d.getAttribute("contentEditable")&&(d.contains(c)||d.equals(c)))break}d=d.getParent()}return 1} +return function(){var c=this.startContainer,e=this.endContainer;return!(a(c,e)&&a(e,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 f=0;a;){if(a.type==CKEDITOR.NODE_TEXT){c&&this.endContainer&&this.checkEndOfBlock()&&l.test(a.getText())?this.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START):this.moveToPosition(a,c?CKEDITOR.POSITION_AFTER_END: +CKEDITOR.POSITION_BEFORE_START);f=1;break}if(a.type==CKEDITOR.NODE_ELEMENT)if(a.isEditable())this.moveToPosition(a,c?CKEDITOR.POSITION_BEFORE_END:CKEDITOR.POSITION_AFTER_START),f=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 b=a,g=f,h=void 0;b.type==CKEDITOR.NODE_ELEMENT&&b.isEditable(!1)&& +(h=b[c?"getLast":"getFirst"](e));g||h||(h=b[c?"getPrevious":"getNext"](e));a=h}return!!f},moveToClosestEditablePosition:function(a,c){var e,f=0,b,g,h=[CKEDITOR.POSITION_AFTER_END,CKEDITOR.POSITION_BEFORE_START];a?(e=new CKEDITOR.dom.range(this.root),e.moveToPosition(a,h[c?0:1])):e=this.clone();if(a&&!a.is(CKEDITOR.dtd.$block))f=1;else if(b=e[c?"getNextEditableNode":"getPreviousEditableNode"]())f=1,(g=b.type==CKEDITOR.NODE_ELEMENT)&&b.is(CKEDITOR.dtd.$block)&&"false"==b.getAttribute("contenteditable")? +(e.setStartAt(b,CKEDITOR.POSITION_BEFORE_START),e.setEndAt(b,CKEDITOR.POSITION_AFTER_END)):!CKEDITOR.env.needsBrFiller&&g&&b.is(CKEDITOR.dom.walker.validEmptyBlockContainers)?(e.setEnd(b,0),e.collapse()):e.moveToPosition(b,h[c?1:0]);f&&this.moveToRange(e);return!!f},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),e=CKEDITOR.dom.walker.whitespaces(!0);a.evaluator=function(a){return e(a)&&c(a)};var f=a.next();a.reset();return f&&f.equals(a.previous())?f: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:a(),getPreviousEditableNode:a(1),_getTableElement:function(a){a=a||{td:1,th:1,tr:1,tbody:1,thead:1,tfoot:1,table:1};var c=this.getTouchedStartNode(),e=this.getTouchedEndNode(),f=c.getAscendant("table",!0),e=e.getAscendant("table",!0);return f&&!this.root.contains(f)?null:this.getEnclosedNode()?this.getEnclosedNode().getAscendant(a,!0):f&&e&&(f.equals(e)||f.contains(e)||e.contains(f))?c.getAscendant(a,!0):null},scrollIntoView:function(){var a= +new CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",this.document),c,e,f,b=this.clone();b.optimize();(f=b.startContainer.type==CKEDITOR.NODE_TEXT)?(e=b.startContainer.getText(),c=b.startContainer.split(b.startOffset),a.insertAfter(b.startContainer)):b.insertNode(a);a.scrollIntoView();f&&(b.startContainer.setText(e),c.remove());a.remove()},getClientRects:function(){function a(c,d){var e=CKEDITOR.tools.array.map(c,function(a){return a}),f=new CKEDITOR.dom.range(d.root),b,g, +h;d.startContainer instanceof CKEDITOR.dom.element&&(g=0===d.startOffset&&d.startContainer.hasAttribute("data-widget"));d.endContainer instanceof CKEDITOR.dom.element&&(h=(h=d.endOffset===(d.endContainer.getChildCount?d.endContainer.getChildCount():d.endContainer.length))&&d.endContainer.hasAttribute("data-widget"));g&&f.setStart(d.startContainer.getParent(),d.startContainer.getIndex());h&&f.setEnd(d.endContainer.getParent(),d.endContainer.getIndex()+1);if(g||h)d=f;f=d.cloneContents().find("[data-cke-widget-id]").toArray(); +if(f=CKEDITOR.tools.array.map(f,function(a){var c=d.root.editor;a=a.getAttribute("data-cke-widget-id");return c.widgets.instances[a].element}))return f=CKEDITOR.tools.array.map(f,function(a){var c;c=a.getParent().hasClass("cke_widget_wrapper")?a.getParent():a;b=this.root.getDocument().$.createRange();b.setStart(c.getParent().$,c.getIndex());b.setEnd(c.getParent().$,c.getIndex()+1);c=b.getClientRects();c.widgetRect=a.getClientRect();return c},d),CKEDITOR.tools.array.forEach(f,function(a){function c(f){CKEDITOR.tools.array.forEach(e, +function(c,b){var g=CKEDITOR.tools.objectCompare(a[f],c);g||(g=CKEDITOR.tools.objectCompare(a.widgetRect,c));g&&(Array.prototype.splice.call(e,b,a.length-f,a.widgetRect),d=!0)});d||(f<e.length-1?c(f+1):e.push(a.widgetRect))}var d;c(0)}),e}function c(a,d,e){var b;d.collapsed?e.startContainer instanceof CKEDITOR.dom.element?(a=e.checkStartOfBlock(),b=new CKEDITOR.dom.text(""),a?e.startContainer.append(b,!0):0===e.startOffset?b.insertBefore(e.startContainer.getFirst()):(e=e.startContainer.getChildren().getItem(e.startOffset- +1),b.insertAfter(e)),d.setStart(b.$,0),d.setEnd(b.$,0),a=d.getClientRects(),b.remove()):e.startContainer instanceof CKEDITOR.dom.text&&(""===e.startContainer.getText()?(e.startContainer.setText(""),a=d.getClientRects(),e.startContainer.setText("")):a=[f(e.createBookmark())]):a=[f(e.createBookmark())];return a}function e(a,c,d){a=CKEDITOR.tools.extend({},a);c&&(a=CKEDITOR.tools.getAbsoluteRectPosition(d.document.getWindow(),a));!a.width&&(a.width=a.right-a.left);!a.height&&(a.height=a.bottom-a.top); +return a}function f(a){var c=a.startNode;a=a.endNode;var d;c.setText("");c.removeStyle("display");a?(a.setText(""),a.removeStyle("display"),d=[c.getClientRect(),a.getClientRect()],a.remove()):d=[c.getClientRect(),c.getClientRect()];c.remove();return{right:Math.max(d[0].right,d[1].right),bottom:Math.max(d[0].bottom,d[1].bottom),left:Math.min(d[0].left,d[1].left),top:Math.min(d[0].top,d[1].top),width:Math.abs(d[0].left-d[1].left),height:Math.max(d[0].bottom,d[1].bottom)-Math.min(d[0].top,d[1].top)}} +return void 0!==this.document.getSelection?function(f){var b=this.root.getDocument().$.createRange(),g;b.setStart(this.startContainer.$,this.startOffset);b.setEnd(this.endContainer.$,this.endOffset);g=b.getClientRects();g=a(g,this);g.length||(g=c(g,b,this));return CKEDITOR.tools.array.map(g,function(a){return e(a,f,this)},this)}:function(a){return[e(f(this.createBookmark()),a,this)]}}(),_setStartContainer:function(a){this.startContainer=a},_setEndContainer:function(a){this.endContainer=a},_find:function(a, +c){var e=this.getCommonAncestor(),f=this.getBoundaryNodes(),b=[],g,h,k,m;if(e&&e.find)for(h=e.find(a),g=0;g<h.count();g++)if(e=h.getItem(g),c||!e.isReadOnly())k=e.getPosition(f.startNode)&CKEDITOR.POSITION_FOLLOWING||f.startNode.equals(e),m=e.getPosition(f.endNode)&CKEDITOR.POSITION_PRECEDING+CKEDITOR.POSITION_IS_CONTAINED||f.endNode.equals(e),k&&m&&b.push(e);return b}};CKEDITOR.dom.range.mergeRanges=function(a){return CKEDITOR.tools.array.reduce(a,function(a,c){var d=a[a.length-1],e=!1;c=c.clone(); +c.enlarge(CKEDITOR.ENLARGE_ELEMENT);if(d){var f=new CKEDITOR.dom.range(c.root),e=new CKEDITOR.dom.walker(f),b=CKEDITOR.dom.walker.whitespaces();f.setStart(d.endContainer,d.endOffset);f.setEnd(c.startContainer,c.startOffset);for(f=e.next();b(f)||c.endContainer.equals(f);)f=e.next();e=!f}e?d.setEnd(c.endContainer,c.endOffset):a.push(c);return a},[])}})();CKEDITOR.POSITION_AFTER_START=1;CKEDITOR.POSITION_BEFORE_END=2;CKEDITOR.POSITION_BEFORE_START=3;CKEDITOR.POSITION_AFTER_END=4;CKEDITOR.ENLARGE_ELEMENT= +1;CKEDITOR.ENLARGE_BLOCK_CONTENTS=2;CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS=3;CKEDITOR.ENLARGE_INLINE=4;CKEDITOR.START=1;CKEDITOR.END=2;CKEDITOR.SHRINK_ELEMENT=1;CKEDITOR.SHRINK_TEXT=2;"use strict";(function(){function b(a){1>arguments.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 g(a,c,f,b){a:{null== +b&&(b=h(f));for(var k;k=b.shift();)if(k.getDtd().p){b={element:k,remaining:b};break a}b=null}if(!b)return 0;if((k=CKEDITOR.filter.instances[b.element.data("cke-filter")])&&!k.check(c))return g(a,c,f,b.remaining);c=new CKEDITOR.dom.range(b.element);c.selectNodeContents(b.element);c=c.createIterator();c.enlargeBr=a.enlargeBr;c.enforceRealBlocks=a.enforceRealBlocks;c.activeFilter=c.filter=k;a._.nestedEditable={element:b.element,container:f,remaining:b.remaining,iterator:c};return 1}function f(a,c,f){if(!c)return!1; +a=a.clone();a.collapse(!f);return a.checkBoundaryOfElement(c,f?CKEDITOR.START:CKEDITOR.END)}var a=/^[\r\n\t ]+$/,m=CKEDITOR.dom.walker.bookmark(!1,!0),k=CKEDITOR.dom.walker.whitespaces(!0),l=function(a){return m(a)&&k(a)},c={dd:1,dt:1,li:1};b.prototype={getNextParagraph:function(e){var d,b,h,k,q;e=e||"p";if(this._.nestedEditable){if(d=this._.nestedEditable.iterator.getNextParagraph(e))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,d;this.activeFilter=this.filter;if(g(this,e, +this._.nestedEditable.container,this._.nestedEditable.remaining))return this.activeFilter=this._.nestedEditable.iterator.activeFilter,this._.nestedEditable.iterator.getNextParagraph(e);this._.nestedEditable=null}if(!this.range.root.getDtd()[e])return null;if(!this._.started){var r=this.range.clone();b=r.startPath();var p=r.endPath(),w=!r.collapsed&&f(r,b.block),t=!r.collapsed&&f(r,p.block,1);r.shrink(CKEDITOR.SHRINK_ELEMENT,!0);w&&r.setStartAt(b.block,CKEDITOR.POSITION_BEFORE_END);t&&r.setEndAt(p.block, +CKEDITOR.POSITION_AFTER_START);b=r.endContainer.hasAscendant("pre",!0)||r.startContainer.hasAscendant("pre",!0);r.enlarge(this.forceBrBreak&&!b||!this.enlargeBr?CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:CKEDITOR.ENLARGE_BLOCK_CONTENTS);r.collapsed||(b=new CKEDITOR.dom.walker(r.clone()),p=CKEDITOR.dom.walker.bookmark(!0,!0),b.evaluator=p,this._.nextNode=b.next(),b=new CKEDITOR.dom.walker(r.clone()),b.evaluator=p,b=b.previous(),this._.lastNode=b.getNextSourceNode(!0,null,r.root),this._.lastNode&&this._.lastNode.type== +CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(this._.lastNode.getText())&&this._.lastNode.getParent().isBlockBoundary()&&(p=this.range.clone(),p.moveToPosition(this._.lastNode,CKEDITOR.POSITION_AFTER_END),p.checkEndOfBlock()&&(p=new CKEDITOR.dom.elementPath(p.endContainer,p.root),this._.lastNode=(p.block||p.blockLimit).getNextSourceNode(!0))),this._.lastNode&&r.root.contains(this._.lastNode)||(this._.lastNode=this._.docEndMarker=r.document.createText(""),this._.lastNode.insertAfter(b)),r=null);this._.started= +1;b=r}p=this._.nextNode;r=this._.lastNode;for(this._.nextNode=null;p;){var w=0,t=p.hasAscendant("pre"),z=p.type!=CKEDITOR.NODE_ELEMENT,u=0;if(z)p.type==CKEDITOR.NODE_TEXT&&a.test(p.getText())&&(z=0);else{var v=p.getName();if(CKEDITOR.dtd.$block[v]&&"false"==p.getAttribute("contenteditable")){d=p;g(this,e,d);break}else if(p.isBlockBoundary(this.forceBrBreak&&!t&&{br:1})){if("br"==v)z=1;else if(!b&&!p.getChildCount()&&"hr"!=v){d=p;h=p.equals(r);break}b&&(b.setEndAt(p,CKEDITOR.POSITION_BEFORE_START), +"br"!=v&&(this._.nextNode=p));w=1}else{if(p.getFirst()){b||(b=this.range.clone(),b.setStartAt(p,CKEDITOR.POSITION_BEFORE_START));p=p.getFirst();continue}z=1}}z&&!b&&(b=this.range.clone(),b.setStartAt(p,CKEDITOR.POSITION_BEFORE_START));h=(!w||z)&&p.equals(r);if(b&&!w)for(;!p.getNext(l)&&!h;){v=p.getParent();if(v.isBlockBoundary(this.forceBrBreak&&!t&&{br:1})){w=1;z=0;h||v.equals(r);b.setEndAt(v,CKEDITOR.POSITION_BEFORE_END);break}p=v;z=1;h=p.equals(r);u=1}z&&b.setEndAt(p,CKEDITOR.POSITION_AFTER_END); +p=this._getNextSourceNode(p,u,r);if((h=!p)||w&&b)break}if(!d){if(!b)return this._.docEndMarker&&this._.docEndMarker.remove(),this._.nextNode=null;d=new CKEDITOR.dom.elementPath(b.startContainer,b.root);p=d.blockLimit;w={div:1,th:1,td:1};d=d.block;!d&&p&&!this.enforceRealBlocks&&w[p.getName()]&&b.checkStartOfBlock()&&b.checkEndOfBlock()&&!p.equals(b.root)?d=p:!d||this.enforceRealBlocks&&d.is(c)?(d=this.range.document.createElement(e),b.extractContents().appendTo(d),d.trim(),b.insertNode(d),k=q=!0): +"li"!=d.getName()?b.checkStartOfBlock()&&b.checkEndOfBlock()||(d=d.clone(!1),b.extractContents().appendTo(d),d.trim(),q=b.splitBlock(),k=!q.wasStartOfBlock,q=!q.wasEndOfBlock,b.insertNode(d)):h||(this._.nextNode=d.equals(r)?null:this._getNextSourceNode(b.getBoundaryNodes().endNode,1,r))}k&&(k=d.getPrevious())&&k.type==CKEDITOR.NODE_ELEMENT&&("br"==k.getName()?k.remove():k.getLast()&&"br"==k.getLast().$.nodeName.toLowerCase()&&k.getLast().remove());q&&(k=d.getLast())&&k.type==CKEDITOR.NODE_ELEMENT&& +"br"==k.getName()&&(!CKEDITOR.env.needsBrFiller||k.getPrevious(m)||k.getNext(m))&&k.remove();this._.nextNode||(this._.nextNode=h||d.equals(r)||!r?null:this._getNextSourceNode(d,1,r));return d},_getNextSourceNode:function(a,c,f){function b(a){return!(a.equals(f)||a.equals(g))}var g=this.range.root;for(a=a.getNextSourceNode(c,null,b);!m(a);)a=a.getNextSourceNode(c,null,b);return a}};CKEDITOR.dom.range.prototype.createIterator=function(){return new b(this)}})();CKEDITOR.command=function(b,h){this.uiItems= +[];this.exec=function(f){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,f)};this.refresh=function(f,a){if(!this.readOnly&&f.readOnly)return!0;if(this.context&&!a.isContextFor(this.context)||!this.checkAllowed(!0))return this.disable(),!0;this.startDisabled||this.enable();this.modes&&!this.modes[f.mode]&&this.disable();return!1===this.fire("refresh",{editor:f,path:a})?!0:h.refresh&&!1!==h.refresh.apply(this, +arguments)};var g;this.checkAllowed=function(f){return f||"boolean"!=typeof g?g=b.activeFilter.checkFeature(this):g};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,f,e){var b,g;a=[];for(b in c){g=c[b];g="boolean"== -typeof g?{}:"function"==typeof g?{match:g}:I(g);"$"!=b.charAt(0)&&(g.elements=b);d&&(g.featureName=d.toLowerCase());var h=g;h.elements=l(h.elements,/\s+/)||null;h.propertiesOnly=h.propertiesOnly||!0===h.elements;var n=/\s*,\s*/,k=void 0;for(k in M){h[k]=l(h[k],n)||null;var u=h,q=H[k],m=l(h[H[k]],n),D=h[k],O=[],r=!0,w=void 0;m?r=!1:m={};for(w in D)"!"==w.charAt(0)&&(w=w.slice(1),O.push(w),m[w]=!0,r=!1);for(;w=O.pop();)D[w]=D["!"+w],delete D["!"+w];u[q]=(r?!1:m)||null}h.match=h.match||null;f.push(g); -a.push(g)}c=e.elements;e=e.generic;var t;d=0;for(f=a.length;d<f;++d){b=I(a[d]);g=!0===b.classes||!0===b.styles||!0===b.attributes;h=b;k=q=n=void 0;for(n in M)h[n]=x(h[n]);u=!0;for(k in H){n=H[k];q=h[n];m=[];D=void 0;for(D in q)-1<D.indexOf("*")?m.push(new RegExp("^"+D.replace(/\*/g,".*")+"$")):m.push(D);q=m;q.length&&(h[n]=q,u=!1)}h.nothingRequired=u;h.noProperties=!(h.attributes||h.classes||h.styles);if(!0===b.elements||null===b.elements)e[g?"unshift":"push"](b);else for(t in h=b.elements,delete b.elements, -h)if(c[t])c[t][g?"unshift":"push"](b);else c[t]=[b]}}function h(a,c,d,f){if(!a.match||a.match(c))if(f||k(a,c))if(a.propertiesOnly||(d.valid=!0),d.allAttributes||(d.allAttributes=g(a.attributes,c.attributes,d.validAttributes)),d.allStyles||(d.allStyles=g(a.styles,c.styles,d.validStyles)),!d.allClasses){a=a.classes;c=c.classes;f=d.validClasses;if(a)if(!0===a)a=!0;else{for(var e=0,b=c.length,h;e<b;++e)h=c[e],f[h]||(f[h]=a(h));a=!1}else a=!1;d.allClasses=a}}function g(a,c,d){if(!a)return!1;if(!0===a)return!0; -for(var f in c)d[f]||(d[f]=a(f));return!1}function e(c,d,f){if(!c.match||c.match(d)){if(c.noProperties)return!1;f.hadInvalidAttribute=a(c.attributes,d.attributes)||f.hadInvalidAttribute;f.hadInvalidStyle=a(c.styles,d.styles)||f.hadInvalidStyle;c=c.classes;d=d.classes;if(c){for(var e=!1,b=!0===c,g=d.length;g--;)if(b||c(d[g]))d.splice(g,1),e=!0;c=e}else c=!1;f.hadInvalidClass=c||f.hadInvalidClass}}function a(a,c){if(!a)return!1;var d=!1,f=!0===a,e;for(e in c)if(f||a(e))delete c[e],d=!0;return d}function m(a, -c,d){if(a.disabled||a.customConfig&&!d||!c)return!1;a._.cachedChecks={};return!0}function l(a,c){if(!a)return!1;if(!0===a)return a;if("string"==typeof a)return a=L(a),"*"==a?!0:CKEDITOR.tools.convertArrayToObject(a.split(c));if(CKEDITOR.tools.isArray(a))return a.length?CKEDITOR.tools.convertArrayToObject(a):!1;var d={},f=0,e;for(e in a)d[e]=a[e],f++;return f?d:!1}function k(a,d){if(a.nothingRequired)return!0;var f,e,b,g;if(b=a.requiredClasses)for(g=d.classes,f=0;f<b.length;++f)if(e=b[f],"string"== -typeof e){if(-1==CKEDITOR.tools.indexOf(g,e))return!1}else if(!CKEDITOR.tools.checkIfAnyArrayItemMatches(g,e))return!1;return c(d.styles,a.requiredStyles)&&c(d.attributes,a.requiredAttributes)}function c(a,c){if(!c)return!0;for(var d=0,f;d<c.length;++d)if(f=c[d],"string"==typeof f){if(!(f in a))return!1}else if(!CKEDITOR.tools.checkIfAnyObjectPropertyMatches(a,f))return!1;return!0}function f(a){if(!a)return{};a=a.split(/\s*,\s*/).sort();for(var c={};a.length;)c[a.shift()]="cke-test";return c}function d(a){var c, -d,f,e,b={},g=1;for(a=L(a);c=a.match(J);)(d=c[2])?(f=n(d,"styles"),e=n(d,"attrs"),d=n(d,"classes")):f=e=d=null,b["$"+g++]={elements:c[1],classes:d,styles:f,attributes:e},a=a.slice(c[0].length);return b}function n(a,c){var d=a.match(D[c]);return d?L(d[1]):null}function w(a){var c=a.styleBackup=a.attributes.style,d=a.classBackup=a.attributes["class"];a.styles||(a.styles=CKEDITOR.tools.parseCssText(c||"",1));a.classes||(a.classes=d?d.split(/\s+/):[])}function v(a,c,d,f){var b=0,g;f.toHtml&&(c.name=c.name.replace(K, -"$1"));if(f.doCallbacks&&a.elementCallbacks){a:{g=a.elementCallbacks;for(var l=0,n=g.length,k;l<n;++l)if(k=g[l](c)){g=k;break a}g=void 0}if(g)return g}if(f.doTransform&&(g=a._.transformations[c.name])){w(c);for(l=0;l<g.length;++l)u(a,c,g[l]);r(c)}if(f.doFilter){a:{l=c.name;n=a._;a=n.allowedRules.elements[l];g=n.allowedRules.generic;l=n.disallowedRules.elements[l];n=n.disallowedRules.generic;k=f.skipRequired;var m={valid:!1,validAttributes:{},validClasses:{},validStyles:{},allAttributes:!1,allClasses:!1, -allStyles:!1,hadInvalidAttribute:!1,hadInvalidClass:!1,hadInvalidStyle:!1},D,x;if(a||g){w(c);if(l)for(D=0,x=l.length;D<x;++D)if(!1===e(l[D],c,m)){a=null;break a}if(n)for(D=0,x=n.length;D<x;++D)e(n[D],c,m);if(a)for(D=0,x=a.length;D<x;++D)h(a[D],c,m,k);if(g)for(D=0,x=g.length;D<x;++D)h(g[D],c,m,k);a=m}else a=null}if(!a||!a.valid)return d.push(c),1;x=a.validAttributes;var t=a.validStyles;g=a.validClasses;var l=c.attributes,B=c.styles,n=c.classes;k=c.classBackup;var Q=c.styleBackup,P,G,L=[],m=[],A=/^data-cke-/; -D=!1;delete l.style;delete l["class"];delete c.classBackup;delete c.styleBackup;if(!a.allAttributes)for(P in l)x[P]||(A.test(P)?P==(G=P.replace(/^data-cke-saved-/,""))||x[G]||(delete l[P],D=!0):(delete l[P],D=!0));if(!a.allStyles||a.hadInvalidStyle){for(P in B)a.allStyles||t[P]?L.push(P+":"+B[P]):D=!0;L.length&&(l.style=L.sort().join("; "))}else Q&&(l.style=Q);if(!a.allClasses||a.hadInvalidClass){for(P=0;P<n.length;++P)(a.allClasses||g[n[P]])&&m.push(n[P]);m.length&&(l["class"]=m.sort().join(" ")); -k&&m.length<k.split(/\s+/).length&&(D=!0)}else k&&(l["class"]=k);D&&(b=1);if(!f.skipFinalValidation&&!q(c))return d.push(c),1}f.toHtml&&(c.name=c.name.replace(O,"cke:$1"));return b}function p(a){var c=[],d;for(d in a)-1<d.indexOf("*")&&c.push(d.replace(/\*/g,".*"));return c.length?new RegExp("^(?:"+c.join("|")+")$"):null}function r(a){var c=a.attributes,d;delete c.style;delete c["class"];if(d=CKEDITOR.tools.writeCssText(a.styles,!0))c.style=d;a.classes.length&&(c["class"]=a.classes.sort().join(" "))} -function q(a){switch(a.name){case "a":if(!(a.children.length||a.attributes.name||a.attributes.id))return!1;break;case "img":if(!a.attributes.src)return!1}return!0}function x(a){if(!a)return!1;if(!0===a)return!0;var c=p(a);return function(d){return d in a||c&&d.match(c)}}function t(){return new CKEDITOR.htmlParser.element("br")}function z(a){return a.type==CKEDITOR.NODE_ELEMENT&&("br"==a.name||G.$block[a.name])}function y(a,c,d){var f=a.name;if(G.$empty[f]||!a.children.length)"hr"==f&&"br"==c?a.replaceWith(t()): -(a.parent&&d.push({check:"it",el:a.parent}),a.remove());else if(G.$block[f]||"tr"==f)if("br"==c)a.previous&&!z(a.previous)&&(c=t(),c.insertBefore(a)),a.next&&!z(a.next)&&(c=t(),c.insertAfter(a)),a.replaceWithChildren();else{var f=a.children,e;b:{e=G[c];for(var b=0,g=f.length,h;b<g;++b)if(h=f[b],h.type==CKEDITOR.NODE_ELEMENT&&!e[h.name]){e=!1;break b}e=!0}if(e)a.name=c,a.attributes={},d.push({check:"parent-down",el:a});else{e=a.parent;for(var b=e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||"body"==e.name, -l,n,g=f.length;0<g;)h=f[--g],b&&(h.type==CKEDITOR.NODE_TEXT||h.type==CKEDITOR.NODE_ELEMENT&&G.$inline[h.name])?(l||(l=new CKEDITOR.htmlParser.element(c),l.insertAfter(a),d.push({check:"parent-down",el:l})),l.add(h,0)):(l=null,n=G[e.name]||G.span,h.insertAfter(a),e.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||h.type!=CKEDITOR.NODE_ELEMENT||n[h.name]||d.push({check:"el-up",el:h}));a.remove()}}else f in{style:1,script:1}?a.remove():(a.parent&&d.push({check:"it",el:a.parent}),a.replaceWithChildren())}function u(a, -c,d){var f,e;for(f=0;f<d.length;++f)if(e=d[f],!(e.check&&!a.check(e.check,!1)||e.left&&!e.left(c))){e.right(c,N);break}}function B(a,c){var d=c.getDefinition(),f=d.attributes,e=d.styles,b,g,h,l;if(a.name!=d.element)return!1;for(b in f)if("class"==b)for(d=f[b].split(/\s+/),h=a.classes.join("|");l=d.pop();){if(-1==h.indexOf(l))return!1}else if(a.attributes[b]!=f[b])return!1;for(g in e)if(a.styles[g]!=e[g])return!1;return!0}function C(a,c){var d,f;"string"==typeof a?d=a:a instanceof CKEDITOR.style?f= -a:(d=a[0],f=a[1]);return[{element:d,left:f,right:function(a,d){d.transform(a,c)}}]}function A(a){return function(c){return B(c,a)}}function E(a){return function(c,d){d[a](c)}}var G=CKEDITOR.dtd,I=CKEDITOR.tools.copy,L=CKEDITOR.tools.trim,F=["","p","br","div"];CKEDITOR.FILTER_SKIP_TREE=2;CKEDITOR.filter=function(a,c){this.allowedContent=[];this.disallowedContent=[];this.elementCallbacks=null;this.disabled=!1;this.editor=null;this.id=CKEDITOR.tools.getNextNumber();this._={allowedRules:{elements:{}, -generic:[]},disallowedRules:{elements:{},generic:[]},transformations:{},cachedTests:{},cachedChecks:{}};CKEDITOR.filter.instances[this.id]=this;var d=this.editor=a instanceof CKEDITOR.editor?a:null;if(d&&!c){this.customConfig=!0;var f=d.config.allowedContent;!0===f?this.disabled=!0:(f||(this.customConfig=!1),this.allow(f,"config",1),this.allow(d.config.extraAllowedContent,"extra",1),this.allow(F[d.enterMode]+" "+F[d.shiftEnterMode],"default",1),this.disallow(d.config.disallowedContent))}else this.customConfig= -!1,this.allow(c||a,"default",1)};CKEDITOR.filter.instances={};CKEDITOR.filter.prototype={allow:function(a,c,f){if(!m(this,a,f))return!1;var e,g;if("string"==typeof a)a=d(a);else if(a instanceof CKEDITOR.style){if(a.toAllowedContentRules)return this.allow(a.toAllowedContentRules(this.editor),c,f);e=a.getDefinition();a={};f=e.attributes;a[e.element]=e={styles:e.styles,requiredStyles:e.styles&&CKEDITOR.tools.object.keys(e.styles)};f&&(f=I(f),e.classes=f["class"]?f["class"].split(/\s+/):null,e.requiredClasses= -e.classes,delete f["class"],e.attributes=f,e.requiredAttributes=f&&CKEDITOR.tools.object.keys(f))}else if(CKEDITOR.tools.isArray(a)){for(e=0;e<a.length;++e)g=this.allow(a[e],c,f);return g}b(this,a,c,this.allowedContent,this._.allowedRules);return!0},applyTo:function(a,c,d,f){if(this.disabled)return!1;var e=this,b=[],g=this.editor&&this.editor.config.protectedSource,h,l=!1,n={doFilter:!d,doTransform:!0,doCallbacks:!0,toHtml:c};a.forEach(function(a){if(a.type==CKEDITOR.NODE_ELEMENT){if("off"==a.attributes["data-cke-filter"])return!1; -if(!c||"span"!=a.name||!~CKEDITOR.tools.object.keys(a.attributes).join("|").indexOf("data-cke-"))if(h=v(e,a,b,n),h&1)l=!0;else if(h&2)return!1}else if(a.type==CKEDITOR.NODE_COMMENT&&a.value.match(/^\{cke_protected\}(?!\{C\})/)){var d;a:{var f=decodeURIComponent(a.value.replace(/^\{cke_protected\}/,""));d=[];var k,u,q;if(g)for(u=0;u<g.length;++u)if((q=f.match(g[u]))&&q[0].length==f.length){d=!0;break a}f=CKEDITOR.htmlParser.fragment.fromHtml(f);1==f.children.length&&(k=f.children[0]).type==CKEDITOR.NODE_ELEMENT&& -v(e,k,d,n);d=!d.length}d||b.push(a)}},null,!0);b.length&&(l=!0);var k;a=[];f=F[f||(this.editor?this.editor.enterMode:CKEDITOR.ENTER_P)];for(var u;d=b.pop();)d.type==CKEDITOR.NODE_ELEMENT?y(d,f,a):d.remove();for(;k=a.pop();)if(d=k.el,d.parent)switch(u=G[d.parent.name]||G.span,k.check){case "it":G.$removeEmpty[d.name]&&!d.children.length?y(d,f,a):q(d)||y(d,f,a);break;case "el-up":d.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||u[d.name]||y(d,f,a);break;case "parent-down":d.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT|| -u[d.name]||y(d.parent,f,a)}return l},checkFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&&(a=a.toFeature(this.editor));return!a.requiredContent||this.check(a.requiredContent)},disable:function(){this.disabled=!0},disallow:function(a){if(!m(this,a,!0))return!1;"string"==typeof a&&(a=d(a));b(this,a,null,this.disallowedContent,this._.disallowedRules);return!0},addContentForms:function(a){if(!this.disabled&&a){var c,d,f=[],e;for(c=0;c<a.length&&!e;++c)d=a[c],("string"==typeof d||d instanceof -CKEDITOR.style)&&this.check(d)&&(e=d);if(e){for(c=0;c<a.length;++c)f.push(C(a[c],e));this.addTransformations(f)}}},addElementCallback:function(a){this.elementCallbacks||(this.elementCallbacks=[]);this.elementCallbacks.push(a)},addFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&&(a=a.toFeature(this.editor));this.allow(a.allowedContent,a.name);this.addTransformations(a.contentTransformations);this.addContentForms(a.contentForms);return a.requiredContent&&(this.customConfig||this.disallowedContent.length)? -this.check(a.requiredContent):!0},addTransformations:function(a){var c,d;if(!this.disabled&&a){var f=this._.transformations,e;for(e=0;e<a.length;++e){c=a[e];var b=void 0,g=void 0,h=void 0,l=void 0,n=void 0,k=void 0;d=[];for(g=0;g<c.length;++g)h=c[g],"string"==typeof h?(h=h.split(/\s*:\s*/),l=h[0],n=null,k=h[1]):(l=h.check,n=h.left,k=h.right),b||(b=h,b=b.element?b.element:l?l.match(/^([a-z0-9]+)/i)[0]:b.left.getDefinition().element),n instanceof CKEDITOR.style&&(n=A(n)),d.push({check:l==b?null:l,left:n, -right:"string"==typeof k?E(k):k});c=b;f[c]||(f[c]=[]);f[c].push(d)}}},check:function(a,c,e){if(this.disabled)return!0;if(CKEDITOR.tools.isArray(a)){for(var b=a.length;b--;)if(this.check(a[b],c,e))return!0;return!1}var g,h;if("string"==typeof a){h=a+"\x3c"+(!1===c?"0":"1")+(e?"1":"0")+"\x3e";if(h in this._.cachedChecks)return this._.cachedChecks[h];g=d(a).$1;var l=g.styles,b=g.classes;g.name=g.elements;g.classes=b=b?b.split(/\s*,\s*/):[];g.styles=f(l);g.attributes=f(g.attributes);g.children=[];b.length&& -(g.attributes["class"]=b.join(" "));l&&(g.attributes.style=CKEDITOR.tools.writeCssText(g.styles))}else g=a.getDefinition(),l=g.styles,b=g.attributes||{},l&&!CKEDITOR.tools.isEmpty(l)?(l=I(l),b.style=CKEDITOR.tools.writeCssText(l,!0)):l={},g={name:g.element,attributes:b,classes:b["class"]?b["class"].split(/\s+/):[],styles:l,children:[]};var l=CKEDITOR.tools.clone(g),n=[],k;if(!1!==c&&(k=this._.transformations[g.name])){for(b=0;b<k.length;++b)u(this,g,k[b]);r(g)}v(this,l,n,{doFilter:!0,doTransform:!1!== -c,skipRequired:!e,skipFinalValidation:!e});0<n.length?e=!1:((c=g.attributes["class"])&&(g.attributes["class"]=g.attributes["class"].split(" ").sort().join(" ")),e=CKEDITOR.tools.objectCompare(g.attributes,l.attributes,!0),c&&(g.attributes["class"]=c));"string"==typeof a&&(this._.cachedChecks[h]=e);return e},getAllowedEnterMode:function(){var a=["p","div","br"],c={p:CKEDITOR.ENTER_P,div:CKEDITOR.ENTER_DIV,br:CKEDITOR.ENTER_BR};return function(d,f){var e=a.slice(),b;if(this.check(F[d]))return d;for(f|| -(e=e.reverse());b=e.pop();)if(this.check(b))return c[b];return CKEDITOR.ENTER_BR}}(),clone:function(){var a=new CKEDITOR.filter,c=CKEDITOR.tools.clone;a.allowedContent=c(this.allowedContent);a._.allowedRules=c(this._.allowedRules);a.disallowedContent=c(this.disallowedContent);a._.disallowedRules=c(this._.disallowedRules);a._.transformations=c(this._.transformations);a.disabled=this.disabled;a.editor=this.editor;return a},destroy:function(){delete CKEDITOR.filter.instances[this.id];delete this._;delete this.allowedContent; +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,f){var b,g;a=[];for(b in c){g=c[b];g="boolean"== +typeof g?{}:"function"==typeof g?{match:g}:I(g);"$"!=b.charAt(0)&&(g.elements=b);d&&(g.featureName=d.toLowerCase());var h=g;h.elements=k(h.elements,/\s+/)||null;h.propertiesOnly=h.propertiesOnly||!0===h.elements;var n=/\s*,\s*/,v=void 0;for(v in M){h[v]=k(h[v],n)||null;var p=h,m=H[v],l=k(h[H[v]],n),D=h[v],O=[],r=!0,y=void 0;l?r=!1:l={};for(y in D)"!"==y.charAt(0)&&(y=y.slice(1),O.push(y),l[y]=!0,r=!1);for(;y=O.pop();)D[y]=D["!"+y],delete D["!"+y];p[m]=(r?!1:l)||null}h.match=h.match||null;e.push(g); +a.push(g)}c=f.elements;f=f.generic;var t;d=0;for(e=a.length;d<e;++d){b=I(a[d]);g=!0===b.classes||!0===b.styles||!0===b.attributes;h=b;v=m=n=void 0;for(n in M)h[n]=w(h[n]);p=!0;for(v in H){n=H[v];m=h[n];l=[];D=void 0;for(D in m)-1<D.indexOf("*")?l.push(new RegExp("^"+D.replace(/\*/g,".*")+"$")):l.push(D);m=l;m.length&&(h[n]=m,p=!1)}h.nothingRequired=p;h.noProperties=!(h.attributes||h.classes||h.styles);if(!0===b.elements||null===b.elements)f[g?"unshift":"push"](b);else for(t in h=b.elements,delete b.elements, +h)if(c[t])c[t][g?"unshift":"push"](b);else c[t]=[b]}}function h(a,c,d,e){if(!a.match||a.match(c))if(e||l(a,c))if(a.propertiesOnly||(d.valid=!0),d.allAttributes||(d.allAttributes=g(a.attributes,c.attributes,d.validAttributes)),d.allStyles||(d.allStyles=g(a.styles,c.styles,d.validStyles)),!d.allClasses){a=a.classes;c=c.classes;e=d.validClasses;if(a)if(!0===a)a=!0;else{for(var f=0,b=c.length,h;f<b;++f)h=c[f],e[h]||(e[h]=a(h));a=!1}else a=!1;d.allClasses=a}}function g(a,c,d){if(!a)return!1;if(!0===a)return!0; +for(var e in c)d[e]||(d[e]=a(e));return!1}function f(c,d,e){if(!c.match||c.match(d)){if(c.noProperties)return!1;e.hadInvalidAttribute=a(c.attributes,d.attributes)||e.hadInvalidAttribute;e.hadInvalidStyle=a(c.styles,d.styles)||e.hadInvalidStyle;c=c.classes;d=d.classes;if(c){for(var f=!1,b=!0===c,g=d.length;g--;)if(b||c(d[g]))d.splice(g,1),f=!0;c=f}else c=!1;e.hadInvalidClass=c||e.hadInvalidClass}}function a(a,c){if(!a)return!1;var d=!1,e=!0===a,f;for(f in c)if(e||a(f))delete c[f],d=!0;return d}function m(a, +c,d){if(a.disabled||a.customConfig&&!d||!c)return!1;a._.cachedChecks={};return!0}function k(a,c){if(!a)return!1;if(!0===a)return a;if("string"==typeof a)return a=L(a),"*"==a?!0:CKEDITOR.tools.convertArrayToObject(a.split(c));if(CKEDITOR.tools.isArray(a))return a.length?CKEDITOR.tools.convertArrayToObject(a):!1;var d={},e=0,f;for(f in a)d[f]=a[f],e++;return e?d:!1}function l(a,d){if(a.nothingRequired)return!0;var e,f,b,g;if(b=a.requiredClasses)for(g=d.classes,e=0;e<b.length;++e)if(f=b[e],"string"== +typeof f){if(-1==CKEDITOR.tools.indexOf(g,f))return!1}else if(!CKEDITOR.tools.checkIfAnyArrayItemMatches(g,f))return!1;return c(d.styles,a.requiredStyles)&&c(d.attributes,a.requiredAttributes)}function c(a,c){if(!c)return!0;for(var d=0,e;d<c.length;++d)if(e=c[d],"string"==typeof e){if(!(e in a))return!1}else if(!CKEDITOR.tools.checkIfAnyObjectPropertyMatches(a,e))return!1;return!0}function e(a){if(!a)return{};a=a.split(/\s*,\s*/).sort();for(var c={};a.length;)c[a.shift()]="cke-test";return c}function d(a){var c, +d,e,f,b={},g=1;for(a=L(a);c=a.match(J);)(d=c[2])?(e=n(d,"styles"),f=n(d,"attrs"),d=n(d,"classes")):e=f=d=null,b["$"+g++]={elements:c[1],classes:d,styles:e,attributes:f},a=a.slice(c[0].length);return b}function n(a,c){var d=a.match(D[c]);return d?L(d[1]):null}function y(a){var c=a.styleBackup=a.attributes.style,d=a.classBackup=a.attributes["class"];a.styles||(a.styles=CKEDITOR.tools.parseCssText(c||"",1));a.classes||(a.classes=d?d.split(/\s+/):[])}function x(a,c,d,e){var b=0,g;e.toHtml&&(c.name=c.name.replace(K, +"$1"));if(e.doCallbacks&&a.elementCallbacks){a:{g=a.elementCallbacks;for(var n=0,k=g.length,m;n<k;++n)if(m=g[n](c)){g=m;break a}g=void 0}if(g)return g}if(e.doTransform&&(g=a._.transformations[c.name])){y(c);for(n=0;n<g.length;++n)v(a,c,g[n]);r(c)}if(e.doFilter){a:{n=c.name;k=a._;a=k.allowedRules.elements[n];g=k.allowedRules.generic;n=k.disallowedRules.elements[n];k=k.disallowedRules.generic;m=e.skipRequired;var l={valid:!1,validAttributes:{},validClasses:{},validStyles:{},allAttributes:!1,allClasses:!1, +allStyles:!1,hadInvalidAttribute:!1,hadInvalidClass:!1,hadInvalidStyle:!1},D,w;if(a||g){y(c);if(n)for(D=0,w=n.length;D<w;++D)if(!1===f(n[D],c,l)){a=null;break a}if(k)for(D=0,w=k.length;D<w;++D)f(k[D],c,l);if(a)for(D=0,w=a.length;D<w;++D)h(a[D],c,l,m);if(g)for(D=0,w=g.length;D<w;++D)h(g[D],c,l,m);a=l}else a=null}if(!a||!a.valid)return d.push(c),1;w=a.validAttributes;var t=a.validStyles;g=a.validClasses;var n=c.attributes,C=c.styles,k=c.classes;m=c.classBackup;var S=c.styleBackup,P,G,L=[],l=[],u=/^data-cke-/; +D=!1;delete n.style;delete n["class"];delete c.classBackup;delete c.styleBackup;if(!a.allAttributes)for(P in n)w[P]||(u.test(P)?P==(G=P.replace(/^data-cke-saved-/,""))||w[G]||(delete n[P],D=!0):(delete n[P],D=!0));if(!a.allStyles||a.hadInvalidStyle){for(P in C)a.allStyles||t[P]?L.push(P+":"+C[P]):D=!0;L.length&&(n.style=L.sort().join("; "))}else S&&(n.style=S);if(!a.allClasses||a.hadInvalidClass){for(P=0;P<k.length;++P)(a.allClasses||g[k[P]])&&l.push(k[P]);l.length&&(n["class"]=l.sort().join(" ")); +m&&l.length<m.split(/\s+/).length&&(D=!0)}else m&&(n["class"]=m);D&&(b=1);if(!e.skipFinalValidation&&!p(c))return d.push(c),1}e.toHtml&&(c.name=c.name.replace(O,"cke:$1"));return b}function q(a){var c=[],d;for(d in a)-1<d.indexOf("*")&&c.push(d.replace(/\*/g,".*"));return c.length?new RegExp("^(?:"+c.join("|")+")$"):null}function r(a){var c=a.attributes,d;delete c.style;delete c["class"];if(d=CKEDITOR.tools.writeCssText(a.styles,!0))c.style=d;a.classes.length&&(c["class"]=a.classes.sort().join(" "))} +function p(a){switch(a.name){case "a":if(!(a.children.length||a.attributes.name||a.attributes.id))return!1;break;case "img":if(!a.attributes.src)return!1}return!0}function w(a){if(!a)return!1;if(!0===a)return!0;var c=q(a);return function(d){return d in a||c&&d.match(c)}}function t(){return new CKEDITOR.htmlParser.element("br")}function z(a){return a.type==CKEDITOR.NODE_ELEMENT&&("br"==a.name||G.$block[a.name])}function u(a,c,d){var e=a.name;if(G.$empty[e]||!a.children.length)"hr"==e&&"br"==c?a.replaceWith(t()): +(a.parent&&d.push({check:"it",el:a.parent}),a.remove());else if(G.$block[e]||"tr"==e)if("br"==c)a.previous&&!z(a.previous)&&(c=t(),c.insertBefore(a)),a.next&&!z(a.next)&&(c=t(),c.insertAfter(a)),a.replaceWithChildren();else{var e=a.children,f;b:{f=G[c];for(var b=0,g=e.length,h;b<g;++b)if(h=e[b],h.type==CKEDITOR.NODE_ELEMENT&&!f[h.name]){f=!1;break b}f=!0}if(f)a.name=c,a.attributes={},d.push({check:"parent-down",el:a});else{f=a.parent;for(var b=f.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||"body"==f.name, +n,k,g=e.length;0<g;)h=e[--g],b&&(h.type==CKEDITOR.NODE_TEXT||h.type==CKEDITOR.NODE_ELEMENT&&G.$inline[h.name])?(n||(n=new CKEDITOR.htmlParser.element(c),n.insertAfter(a),d.push({check:"parent-down",el:n})),n.add(h,0)):(n=null,k=G[f.name]||G.span,h.insertAfter(a),f.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||h.type!=CKEDITOR.NODE_ELEMENT||k[h.name]||d.push({check:"el-up",el:h}));a.remove()}}else e in{style:1,script:1}?a.remove():(a.parent&&d.push({check:"it",el:a.parent}),a.replaceWithChildren())}function v(a, +c,d){var e,f;for(e=0;e<d.length;++e)if(f=d[e],!(f.check&&!a.check(f.check,!1)||f.left&&!f.left(c))){f.right(c,N);break}}function C(a,c){var d=c.getDefinition(),e=d.attributes,f=d.styles,b,g,h,n;if(a.name!=d.element)return!1;for(b in e)if("class"==b)for(d=e[b].split(/\s+/),h=a.classes.join("|");n=d.pop();){if(-1==h.indexOf(n))return!1}else if(a.attributes[b]!=e[b])return!1;for(g in f)if(a.styles[g]!=f[g])return!1;return!0}function E(a,c){var d,e;"string"==typeof a?d=a:a instanceof CKEDITOR.style?e= +a:(d=a[0],e=a[1]);return[{element:d,left:e,right:function(a,d){d.transform(a,c)}}]}function A(a){return function(c){return C(c,a)}}function B(a){return function(c,d){d[a](c)}}var G=CKEDITOR.dtd,I=CKEDITOR.tools.copy,L=CKEDITOR.tools.trim,F=["","p","br","div"];CKEDITOR.FILTER_SKIP_TREE=2;CKEDITOR.filter=function(a,c){this.allowedContent=[];this.disallowedContent=[];this.elementCallbacks=null;this.disabled=!1;this.editor=null;this.id=CKEDITOR.tools.getNextNumber();this._={allowedRules:{elements:{}, +generic:[]},disallowedRules:{elements:{},generic:[]},transformations:{},cachedTests:{},cachedChecks:{}};CKEDITOR.filter.instances[this.id]=this;var d=this.editor=a instanceof CKEDITOR.editor?a:null;if(d&&!c){this.customConfig=!0;var e=d.config.allowedContent;!0===e?this.disabled=!0:(e||(this.customConfig=!1),this.allow(e,"config",1),this.allow(d.config.extraAllowedContent,"extra",1),this.allow(F[d.enterMode]+" "+F[d.shiftEnterMode],"default",1),this.disallow(d.config.disallowedContent))}else this.customConfig= +!1,this.allow(c||a,"default",1)};CKEDITOR.filter.instances={};CKEDITOR.filter.prototype={allow:function(a,c,e){if(!m(this,a,e))return!1;var f,g;if("string"==typeof a)a=d(a);else if(a instanceof CKEDITOR.style){if(a.toAllowedContentRules)return this.allow(a.toAllowedContentRules(this.editor),c,e);f=a.getDefinition();a={};e=f.attributes;a[f.element]=f={styles:f.styles,requiredStyles:f.styles&&CKEDITOR.tools.object.keys(f.styles)};e&&(e=I(e),f.classes=e["class"]?e["class"].split(/\s+/):null,f.requiredClasses= +f.classes,delete e["class"],f.attributes=e,f.requiredAttributes=e&&CKEDITOR.tools.object.keys(e))}else if(CKEDITOR.tools.isArray(a)){for(f=0;f<a.length;++f)g=this.allow(a[f],c,e);return g}b(this,a,c,this.allowedContent,this._.allowedRules);return!0},applyTo:function(a,c,d,e){if(this.disabled)return!1;var f=this,b=[],g=this.editor&&this.editor.config.protectedSource,h,n=!1,k={doFilter:!d,doTransform:!0,doCallbacks:!0,toHtml:c};a.forEach(function(a){if(a.type==CKEDITOR.NODE_ELEMENT){if("off"==a.attributes["data-cke-filter"])return!1; +if(!c||"span"!=a.name||!~CKEDITOR.tools.object.keys(a.attributes).join("|").indexOf("data-cke-"))if(h=x(f,a,b,k),h&1)n=!0;else if(h&2)return!1}else if(a.type==CKEDITOR.NODE_COMMENT&&a.value.match(/^\{cke_protected\}(?!\{C\})/)){var d;a:{var e=decodeURIComponent(a.value.replace(/^\{cke_protected\}/,""));d=[];var v,p,m;if(g)for(p=0;p<g.length;++p)if((m=e.match(g[p]))&&m[0].length==e.length){d=!0;break a}e=CKEDITOR.htmlParser.fragment.fromHtml(e);1==e.children.length&&(v=e.children[0]).type==CKEDITOR.NODE_ELEMENT&& +x(f,v,d,k);d=!d.length}d||b.push(a)}},null,!0);b.length&&(n=!0);var v;a=[];e=F[e||(this.editor?this.editor.enterMode:CKEDITOR.ENTER_P)];for(var m;d=b.pop();)d.type==CKEDITOR.NODE_ELEMENT?u(d,e,a):d.remove();for(;v=a.pop();)if(d=v.el,d.parent)switch(m=G[d.parent.name]||G.span,v.check){case "it":G.$removeEmpty[d.name]&&!d.children.length?u(d,e,a):p(d)||u(d,e,a);break;case "el-up":d.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT||m[d.name]||u(d,e,a);break;case "parent-down":d.parent.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT|| +m[d.name]||u(d.parent,e,a)}return n},checkFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&&(a=a.toFeature(this.editor));return!a.requiredContent||this.check(a.requiredContent)},disable:function(){this.disabled=!0},disallow:function(a){if(!m(this,a,!0))return!1;"string"==typeof a&&(a=d(a));b(this,a,null,this.disallowedContent,this._.disallowedRules);return!0},addContentForms:function(a){if(!this.disabled&&a){var c,d,e=[],f;for(c=0;c<a.length&&!f;++c)d=a[c],("string"==typeof d||d instanceof +CKEDITOR.style)&&this.check(d)&&(f=d);if(f){for(c=0;c<a.length;++c)e.push(E(a[c],f));this.addTransformations(e)}}},addElementCallback:function(a){this.elementCallbacks||(this.elementCallbacks=[]);this.elementCallbacks.push(a)},addFeature:function(a){if(this.disabled||!a)return!0;a.toFeature&&(a=a.toFeature(this.editor));this.allow(a.allowedContent,a.name);this.addTransformations(a.contentTransformations);this.addContentForms(a.contentForms);return a.requiredContent&&(this.customConfig||this.disallowedContent.length)? +this.check(a.requiredContent):!0},addTransformations:function(a){var c,d;if(!this.disabled&&a){var e=this._.transformations,f;for(f=0;f<a.length;++f){c=a[f];var b=void 0,g=void 0,h=void 0,n=void 0,k=void 0,v=void 0;d=[];for(g=0;g<c.length;++g)h=c[g],"string"==typeof h?(h=h.split(/\s*:\s*/),n=h[0],k=null,v=h[1]):(n=h.check,k=h.left,v=h.right),b||(b=h,b=b.element?b.element:n?n.match(/^([a-z0-9]+)/i)[0]:b.left.getDefinition().element),k instanceof CKEDITOR.style&&(k=A(k)),d.push({check:n==b?null:n,left:k, +right:"string"==typeof v?B(v):v});c=b;e[c]||(e[c]=[]);e[c].push(d)}}},check:function(a,c,f){if(this.disabled)return!0;if(CKEDITOR.tools.isArray(a)){for(var b=a.length;b--;)if(this.check(a[b],c,f))return!0;return!1}var g,h;if("string"==typeof a){h=a+"\x3c"+(!1===c?"0":"1")+(f?"1":"0")+"\x3e";if(h in this._.cachedChecks)return this._.cachedChecks[h];g=d(a).$1;var n=g.styles,b=g.classes;g.name=g.elements;g.classes=b=b?b.split(/\s*,\s*/):[];g.styles=e(n);g.attributes=e(g.attributes);g.children=[];b.length&& +(g.attributes["class"]=b.join(" "));n&&(g.attributes.style=CKEDITOR.tools.writeCssText(g.styles))}else g=a.getDefinition(),n=g.styles,b=g.attributes||{},n&&!CKEDITOR.tools.isEmpty(n)?(n=I(n),b.style=CKEDITOR.tools.writeCssText(n,!0)):n={},g={name:g.element,attributes:b,classes:b["class"]?b["class"].split(/\s+/):[],styles:n,children:[]};var n=CKEDITOR.tools.clone(g),k=[],p;if(!1!==c&&(p=this._.transformations[g.name])){for(b=0;b<p.length;++b)v(this,g,p[b]);r(g)}x(this,n,k,{doFilter:!0,doTransform:!1!== +c,skipRequired:!f,skipFinalValidation:!f});0<k.length?f=!1:((c=g.attributes["class"])&&(g.attributes["class"]=g.attributes["class"].split(" ").sort().join(" ")),f=CKEDITOR.tools.objectCompare(g.attributes,n.attributes,!0),c&&(g.attributes["class"]=c));"string"==typeof a&&(this._.cachedChecks[h]=f);return f},getAllowedEnterMode:function(){var a=["p","div","br"],c={p:CKEDITOR.ENTER_P,div:CKEDITOR.ENTER_DIV,br:CKEDITOR.ENTER_BR};return function(d,e){var f=a.slice(),b;if(this.check(F[d]))return d;for(e|| +(f=f.reverse());b=f.pop();)if(this.check(b))return c[b];return CKEDITOR.ENTER_BR}}(),clone:function(){var a=new CKEDITOR.filter,c=CKEDITOR.tools.clone;a.allowedContent=c(this.allowedContent);a._.allowedRules=c(this._.allowedRules);a.disallowedContent=c(this.disallowedContent);a._.disallowedRules=c(this._.disallowedRules);a._.transformations=c(this._.transformations);a.disabled=this.disabled;a.editor=this.editor;return a},destroy:function(){delete CKEDITOR.filter.instances[this.id];delete this._;delete this.allowedContent; delete this.disallowedContent}};var M={styles:1,attributes:1,classes:1},H={styles:"requiredStyles",attributes:"requiredAttributes",classes:"requiredClasses"},J=/^([a-z0-9\-*\s]+)((?:\s*\{[!\w\-,\s\*]+\}\s*|\s*\[[!\w\-,\s\*]+\]\s*|\s*\([!\w\-,\s\*]+\)\s*){0,3})(?:;\s*|$)/i,D={styles:/{([^}]+)}/,attrs:/\[([^\]]+)\]/,classes:/\(([^\)]+)\)/},K=/^cke:(object|embed|param)$/,O=/^(object|embed|param)$/,N;N=CKEDITOR.filter.transformationsTools={sizeToStyle:function(a){this.lengthToStyle(a,"width");this.lengthToStyle(a, -"height")},sizeToAttribute:function(a){this.lengthToAttribute(a,"width");this.lengthToAttribute(a,"height")},lengthToStyle:function(a,c,d){d=d||c;if(!(d in a.styles)){var f=a.attributes[c];f&&(/^\d+$/.test(f)&&(f+="px"),a.styles[d]=f)}delete a.attributes[c]},lengthToAttribute:function(a,c,d){d=d||c;if(!(d in a.attributes)){var f=a.styles[c],e=f&&f.match(/^(\d+)(?:\.\d*)?px$/);e?a.attributes[d]=e[1]:"cke-test"==f&&(a.attributes[d]="cke-test")}delete a.styles[c]},alignmentToStyle:function(a){if(!("float"in +"height")},sizeToAttribute:function(a){this.lengthToAttribute(a,"width");this.lengthToAttribute(a,"height")},lengthToStyle:function(a,c,d){d=d||c;if(!(d in a.styles)){var e=a.attributes[c];e&&(/^\d+$/.test(e)&&(e+="px"),a.styles[d]=e)}delete a.attributes[c]},lengthToAttribute:function(a,c,d){d=d||c;if(!(d in a.attributes)){var e=a.styles[c],f=e&&e.match(/^(\d+)(?:\.\d*)?px$/);f?a.attributes[d]=f[1]:"cke-test"==e&&(a.attributes[d]="cke-test")}delete a.styles[c]},alignmentToStyle:function(a){if(!("float"in a.styles)){var c=a.attributes.align;if("left"==c||"right"==c)a.styles["float"]=c}delete a.attributes.align},alignmentToAttribute:function(a){if(!("align"in a.attributes)){var c=a.styles["float"];if("left"==c||"right"==c)a.attributes.align=c}delete a.styles["float"]},splitBorderShorthand:function(a){if(a.styles.border){var c=CKEDITOR.tools.style.parse.border(a.styles.border);c.color&&(a.styles["border-color"]=c.color);c.style&&(a.styles["border-style"]=c.style);c.width&&(a.styles["border-width"]=c.width); -delete a.styles.border}},listTypeToStyle:function(a){if(a.attributes.type)switch(a.attributes.type){case "a":a.styles["list-style-type"]="lower-alpha";break;case "A":a.styles["list-style-type"]="upper-alpha";break;case "i":a.styles["list-style-type"]="lower-roman";break;case "I":a.styles["list-style-type"]="upper-roman";break;case "1":a.styles["list-style-type"]="decimal";break;default:a.styles["list-style-type"]=a.attributes.type}},splitMarginShorthand:function(a){function c(f){a.styles["margin-top"]= -d[f[0]];a.styles["margin-right"]=d[f[1]];a.styles["margin-bottom"]=d[f[2]];a.styles["margin-left"]=d[f[3]]}if(a.styles.margin){var d=a.styles.margin.match(/(\-?[\.\d]+\w+)/g)||["0px"];switch(d.length){case 1:c([0,0,0,0]);break;case 2:c([0,1,0,1]);break;case 3:c([0,1,2,1]);break;case 4:c([0,1,2,3])}delete a.styles.margin}},matchesStyle:B,transform:function(a,c){if("string"==typeof c)a.name=c;else{var d=c.getDefinition(),f=d.styles,e=d.attributes,b,g,h,l;a.name=d.element;for(b in e)if("class"==b)for(d= -a.classes.join("|"),h=e[b].split(/\s+/);l=h.pop();)-1==d.indexOf(l)&&a.classes.push(l);else a.attributes[b]=e[b];for(g in f)a.styles[g]=f[g]}}}})();(function(){CKEDITOR.focusManager=function(b){if(b.focusManager)return b.focusManager;this.hasFocus=!1;this.currentActive=null;this._={editor:b};return this};CKEDITOR.focusManager._={blurDelay:200};CKEDITOR.focusManager.prototype={focus:function(b){this._.timer&&clearTimeout(this._.timer);b&&(this.currentActive=b);this.hasFocus||this._.locked||((b=CKEDITOR.currentInstance)&& -b.focusManager.blur(1),this.hasFocus=!0,(b=this._.editor.container)&&b.addClass("cke_focus"),this._.editor.fire("focus"))},lock:function(){this._.locked=1},unlock:function(){delete this._.locked},blur:function(b){function h(){if(this.hasFocus){this.hasFocus=!1;var e=this._.editor.container;e&&e.removeClass("cke_focus");this._.editor.fire("blur")}}if(!this._.locked){this._.timer&&clearTimeout(this._.timer);var g=CKEDITOR.focusManager._.blurDelay;b||!g?h.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer; -h.call(this)},g,this)}},add:function(b,h){var g=b.getCustomData("focusmanager");if(!g||g!=this){g&&g.remove(b);var g="focus",e="blur";h&&(CKEDITOR.env.ie?(g="focusin",e="focusout"):CKEDITOR.event.useCapture=1);var a={blur:function(){b.equals(this.currentActive)&&this.blur()},focus:function(){this.focus(b)}};b.on(g,a.focus,this);b.on(e,a.blur,this);h&&(CKEDITOR.event.useCapture=0);b.setCustomData("focusmanager",this);b.setCustomData("focusmanager_handlers",a)}},remove:function(b){b.removeCustomData("focusmanager"); -var h=b.removeCustomData("focusmanager_handlers");b.removeListener("blur",h.blur);b.removeListener("focus",h.focus)}}})();CKEDITOR.keystrokeHandler=function(b){if(b.keystrokeHandler)return b.keystrokeHandler;this.keystrokes={};this.blockedKeystrokes={};this._={editor:b};return this};(function(){var b,h=function(e){e=e.data;var a=e.getKeystroke(),g=this.keystrokes[a],h=this._.editor;b=!1===h.fire("key",{keyCode:a,domEvent:e});b||(g&&(b=!1!==h.execCommand(g,{from:"keystrokeHandler"})),b||(b=!!this.blockedKeystrokes[a])); -b&&e.preventDefault(!0);return!b},g=function(e){b&&(b=!1,e.data.preventDefault(!0))};CKEDITOR.keystrokeHandler.prototype={attach:function(e){e.on("keydown",h,this);if(CKEDITOR.env.gecko&&CKEDITOR.env.mac)e.on("keypress",g,this)}}})();(function(){CKEDITOR.lang={languages:{af:1,ar:1,az:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,"de-ch":1,el:1,"en-au":1,"en-ca":1,"en-gb":1,en:1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fo:1,"fr-ca":1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,is:1,it:1,ja:1,ka:1,km:1,ko:1, -ku:1,lt:1,lv:1,mk:1,mn:1,ms:1,nb:1,nl:1,no:1,oc:1,pl:1,"pt-br":1,pt:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,"sr-latn":1,sr:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,"zh-cn":1,zh:1},rtl:{ar:1,fa:1,he:1,ku:1,ug:1},load:function(b,h,g){b&&CKEDITOR.lang.languages[b]||(b=this.detect(h,b));var e=this;h=function(){e[b].dir=e.rtl[b]?"rtl":"ltr";g(b,e[b])};this[b]?h():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl("lang/"+b+".js"),h,this)},detect:function(b,h){var g=this.languages;h=h||navigator.userLanguage||navigator.language|| -b;var e=h.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),a=e[1],e=e[2];g[a+"-"+e]?a=a+"-"+e:g[a]||(a=null);CKEDITOR.lang.detect=a?function(){return a}:function(a){return a};return a||b}}})();CKEDITOR.scriptLoader=function(){var b={},h={};return{load:function(g,e,a,m){var l="string"==typeof g;l&&(g=[g]);a||(a=CKEDITOR);var k=g.length,c=[],f=[],d=function(d){e&&(l?e.call(a,d):e.call(a,c,f))};if(0===k)d(!0);else{var n=function(a,e){(e?c:f).push(a);0>=--k&&(m&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"), -d(e))},w=function(a,c){b[a]=1;var d=h[a];delete h[a];for(var f=0;f<d.length;f++)d[f](a,c)},v=function(a){if(b[a])n(a,!0);else{var c=h[a]||(h[a]=[]);c.push(n);if(!(1<c.length)){var d=new CKEDITOR.dom.element("script");d.setAttributes({type:"text/javascript",src:a});e&&(CKEDITOR.env.ie&&(8>=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?d.$.onreadystatechange=function(){if("loaded"==d.$.readyState||"complete"==d.$.readyState)d.$.onreadystatechange=null,w(a,!0)}:(d.$.onload=function(){setTimeout(function(){d.$.onload= -null;d.$.onerror=null;w(a,!0)},0)},d.$.onerror=function(){d.$.onload=null;d.$.onerror=null;w(a,!1)}));d.appendTo(CKEDITOR.document.getHead())}}};m&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var p=0;p<k;p++)v(g[p])}},queue:function(){function b(){var a;(a=e[0])&&this.load(a.scriptUrl,a.callback,CKEDITOR,0)}var e=[];return function(a,h){var l=this;e.push({scriptUrl:a,callback:function(){h&&h.apply(this,arguments);e.shift();b.call(l)}});1==e.length&&b.call(this)}}()}}();CKEDITOR.resourceManager= +delete a.styles.border}},listTypeToStyle:function(a){if(a.attributes.type)switch(a.attributes.type){case "a":a.styles["list-style-type"]="lower-alpha";break;case "A":a.styles["list-style-type"]="upper-alpha";break;case "i":a.styles["list-style-type"]="lower-roman";break;case "I":a.styles["list-style-type"]="upper-roman";break;case "1":a.styles["list-style-type"]="decimal";break;default:a.styles["list-style-type"]=a.attributes.type}},splitMarginShorthand:function(a){function c(e){a.styles["margin-top"]= +d[e[0]];a.styles["margin-right"]=d[e[1]];a.styles["margin-bottom"]=d[e[2]];a.styles["margin-left"]=d[e[3]]}if(a.styles.margin){var d=a.styles.margin.match(/(\-?[\.\d]+\w+)/g)||["0px"];switch(d.length){case 1:c([0,0,0,0]);break;case 2:c([0,1,0,1]);break;case 3:c([0,1,2,1]);break;case 4:c([0,1,2,3])}delete a.styles.margin}},matchesStyle:C,transform:function(a,c){if("string"==typeof c)a.name=c;else{var d=c.getDefinition(),e=d.styles,f=d.attributes,b,g,h,n;a.name=d.element;for(b in f)if("class"==b)for(d= +a.classes.join("|"),h=f[b].split(/\s+/);n=h.pop();)-1==d.indexOf(n)&&a.classes.push(n);else a.attributes[b]=f[b];for(g in e)a.styles[g]=e[g]}}}})();(function(){CKEDITOR.focusManager=function(b){if(b.focusManager)return b.focusManager;this.hasFocus=!1;this.currentActive=null;this._={editor:b};return this};CKEDITOR.focusManager._={blurDelay:200};CKEDITOR.focusManager.prototype={focus:function(b){this._.timer&&clearTimeout(this._.timer);b&&(this.currentActive=b);this.hasFocus||this._.locked||((b=CKEDITOR.currentInstance)&& +b.focusManager.blur(1),this.hasFocus=!0,(b=this._.editor.container)&&b.addClass("cke_focus"),this._.editor.fire("focus"))},lock:function(){this._.locked=1},unlock:function(){delete this._.locked},blur:function(b){function h(){if(this.hasFocus){this.hasFocus=!1;var f=this._.editor.container;f&&f.removeClass("cke_focus");this._.editor.fire("blur")}}if(!this._.locked){this._.timer&&clearTimeout(this._.timer);var g=CKEDITOR.focusManager._.blurDelay;b||!g?h.call(this):this._.timer=CKEDITOR.tools.setTimeout(function(){delete this._.timer; +h.call(this)},g,this)}},add:function(b,h){var g=b.getCustomData("focusmanager");if(!g||g!=this){g&&g.remove(b);var g="focus",f="blur";h&&(CKEDITOR.env.ie?(g="focusin",f="focusout"):CKEDITOR.event.useCapture=1);var a={blur:function(){b.equals(this.currentActive)&&this.blur()},focus:function(){this.focus(b)}};b.on(g,a.focus,this);b.on(f,a.blur,this);h&&(CKEDITOR.event.useCapture=0);b.setCustomData("focusmanager",this);b.setCustomData("focusmanager_handlers",a)}},remove:function(b){b.removeCustomData("focusmanager"); +var h=b.removeCustomData("focusmanager_handlers");b.removeListener("blur",h.blur);b.removeListener("focus",h.focus)}}})();CKEDITOR.keystrokeHandler=function(b){if(b.keystrokeHandler)return b.keystrokeHandler;this.keystrokes={};this.blockedKeystrokes={};this._={editor:b};return this};(function(){var b,h=function(f){f=f.data;var a=f.getKeystroke(),g=this.keystrokes[a],h=this._.editor;b=!1===h.fire("key",{keyCode:a,domEvent:f});b||(g&&(b=!1!==h.execCommand(g,{from:"keystrokeHandler"})),b||(b=!!this.blockedKeystrokes[a])); +b&&f.preventDefault(!0);return!b},g=function(f){b&&(b=!1,f.data.preventDefault(!0))};CKEDITOR.keystrokeHandler.prototype={attach:function(f){f.on("keydown",h,this);if(CKEDITOR.env.gecko&&CKEDITOR.env.mac)f.on("keypress",g,this)}}})();(function(){CKEDITOR.lang={languages:{af:1,ar:1,az:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,"de-ch":1,el:1,"en-au":1,"en-ca":1,"en-gb":1,en:1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fo:1,"fr-ca":1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,is:1,it:1,ja:1,ka:1,km:1,ko:1, +ku:1,lt:1,lv:1,mk:1,mn:1,ms:1,nb:1,nl:1,no:1,oc:1,pl:1,"pt-br":1,pt:1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,"sr-latn":1,sr:1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,"zh-cn":1,zh:1},rtl:{ar:1,fa:1,he:1,ku:1,ug:1},load:function(b,h,g){b&&CKEDITOR.lang.languages[b]||(b=this.detect(h,b));var f=this;h=function(){f[b].dir=f.rtl[b]?"rtl":"ltr";g(b,f[b])};this[b]?h():CKEDITOR.scriptLoader.load(CKEDITOR.getUrl("lang/"+b+".js"),h,this)},detect:function(b,h){var g=this.languages;h=h||navigator.userLanguage||navigator.language|| +b;var f=h.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),a=f[1],f=f[2];g[a+"-"+f]?a=a+"-"+f:g[a]||(a=null);CKEDITOR.lang.detect=a?function(){return a}:function(a){return a};return a||b}}})();CKEDITOR.scriptLoader=function(){var b={},h={};return{load:function(g,f,a,m){var k="string"==typeof g;k&&(g=[g]);a||(a=CKEDITOR);var l=g.length,c=[],e=[],d=function(d){f&&(k?f.call(a,d):f.call(a,c,e))};if(0===l)d(!0);else{var n=function(a,f){(f?c:e).push(a);0>=--l&&(m&&CKEDITOR.document.getDocumentElement().removeStyle("cursor"), +d(f))},y=function(a,c){b[a]=1;var d=h[a];delete h[a];for(var e=0;e<d.length;e++)d[e](a,c)},x=function(a){if(b[a])n(a,!0);else{var c=h[a]||(h[a]=[]);c.push(n);if(!(1<c.length)){var d=new CKEDITOR.dom.element("script");d.setAttributes({type:"text/javascript",src:a});f&&(CKEDITOR.env.ie&&(8>=CKEDITOR.env.version||CKEDITOR.env.ie9Compat)?d.$.onreadystatechange=function(){if("loaded"==d.$.readyState||"complete"==d.$.readyState)d.$.onreadystatechange=null,y(a,!0)}:(d.$.onload=function(){setTimeout(function(){d.$.onload= +null;d.$.onerror=null;y(a,!0)},0)},d.$.onerror=function(){d.$.onload=null;d.$.onerror=null;y(a,!1)}));d.appendTo(CKEDITOR.document.getHead())}}};m&&CKEDITOR.document.getDocumentElement().setStyle("cursor","wait");for(var q=0;q<l;q++)x(g[q])}},queue:function(){function b(){var a;(a=f[0])&&this.load(a.scriptUrl,a.callback,CKEDITOR,0)}var f=[];return function(a,h){var k=this;f.push({scriptUrl:a,callback:function(){h&&h.apply(this,arguments);f.shift();b.call(k)}});1==f.length&&b.call(this)}}()}}();CKEDITOR.resourceManager= function(b,h){this.basePath=b;this.fileName=h;this.registered={};this.loaded={};this.externals={};this._={waitingList:{}}};CKEDITOR.resourceManager.prototype={add:function(b,h){if(this.registered[b])throw Error('[CKEDITOR.resourceManager.add] The resource name "'+b+'" is already registered.');var g=this.registered[b]=h||{};g.name=b;g.path=this.getPath(b);CKEDITOR.fire(b+CKEDITOR.tools.capitalize(this.fileName)+"Ready",g);return this.get(b)},get:function(b){return this.registered[b]||null},getPath:function(b){var h= -this.externals[b];return CKEDITOR.getUrl(h&&h.dir||this.basePath+b+"/")},getFilePath:function(b){var h=this.externals[b];return CKEDITOR.getUrl(this.getPath(b)+(h?h.file:this.fileName+".js"))},addExternal:function(b,h,g){g||(h=h.replace(/[^\/]+$/,function(a){g=a;return""}));g=g||this.fileName+".js";b=b.split(",");for(var e=0;e<b.length;e++)this.externals[b[e]]={dir:h,file:g}},load:function(b,h,g){CKEDITOR.tools.isArray(b)||(b=b?[b]:[]);for(var e=this.loaded,a=this.registered,m=[],l={},k={},c=0;c< -b.length;c++){var f=b[c];if(f)if(e[f]||a[f])k[f]=this.get(f);else{var d=this.getFilePath(f);m.push(d);d in l||(l[d]=[]);l[d].push(f)}}CKEDITOR.scriptLoader.load(m,function(a,c){if(c.length)throw Error('[CKEDITOR.resourceManager.load] Resource name "'+l[c[0]].join(",")+'" was not found at "'+c[0]+'".');for(var d=0;d<a.length;d++)for(var f=l[a[d]],b=0;b<f.length;b++){var q=f[b];k[q]=this.get(q);e[q]=1}h.call(g,k)},this)}};CKEDITOR.plugins=new CKEDITOR.resourceManager("plugins/","plugin");CKEDITOR.plugins.load= -CKEDITOR.tools.override(CKEDITOR.plugins.load,function(b){var h={};return function(g,e,a){var m={},l=function(g){b.call(this,g,function(c){CKEDITOR.tools.extend(m,c);var f=[],d;for(d in c){var b=c[d],g=b&&b.requires;if(!h[d]){if(b.icons)for(var k=b.icons.split(","),p=k.length;p--;)CKEDITOR.skin.addIcon(k[p],b.path+"icons/"+(CKEDITOR.env.hidpi&&b.hidpi?"hidpi/":"")+k[p]+".png");b.isSupportedEnvironment=b.isSupportedEnvironment||function(){return!0};h[d]=1}if(g)for(g.split&&(g=g.split(",")),b=0;b<g.length;b++)m[g[b]]|| -f.push(g[b])}if(f.length)l.call(this,f);else{for(d in m)b=m[d],b.onLoad&&!b.onLoad._called&&(!1===b.onLoad()&&delete m[d],b.onLoad._called=1);e&&e.call(a||window,m)}},this)};l.call(this,g)}});CKEDITOR.plugins.setLang=function(b,h,g){var e=this.get(b);b=e.langEntries||(e.langEntries={});e=e.lang||(e.lang=[]);e.split&&(e=e.split(","));-1==CKEDITOR.tools.indexOf(e,h)&&e.push(h);b[h]=g};CKEDITOR.ui=function(b){if(b.ui)return b.ui;this.items={};this.instances={};this.editor=b;this._={handlers:{}};return this}; -CKEDITOR.ui.prototype={add:function(b,h,g){g.name=b.toLowerCase();var e=this.items[b]={type:h,command:g.command||null,args:Array.prototype.slice.call(arguments,2)};CKEDITOR.tools.extend(e,g)},get:function(b){return this.instances[b]},create:function(b){var h=this.items[b],g=h&&this._.handlers[h.type],e=h&&h.command&&this.editor.getCommand(h.command),g=g&&g.create.apply(this,h.args);this.instances[b]=g;e&&e.uiItems.push(g);g&&!g.type&&(g.type=h.type);return g},addHandler:function(b,h){this._.handlers[b]= +this.externals[b];return CKEDITOR.getUrl(h&&h.dir||this.basePath+b+"/")},getFilePath:function(b){var h=this.externals[b];return CKEDITOR.getUrl(this.getPath(b)+(h?h.file:this.fileName+".js"))},addExternal:function(b,h,g){g||(h=h.replace(/[^\/]+$/,function(a){g=a;return""}));g=g||this.fileName+".js";b=b.split(",");for(var f=0;f<b.length;f++)this.externals[b[f]]={dir:h,file:g}},load:function(b,h,g){CKEDITOR.tools.isArray(b)||(b=b?[b]:[]);for(var f=this.loaded,a=this.registered,m=[],k={},l={},c=0;c< +b.length;c++){var e=b[c];if(e)if(f[e]||a[e])l[e]=this.get(e);else{var d=this.getFilePath(e);m.push(d);d in k||(k[d]=[]);k[d].push(e)}}CKEDITOR.scriptLoader.load(m,function(a,c){if(c.length)throw Error('[CKEDITOR.resourceManager.load] Resource name "'+k[c[0]].join(",")+'" was not found at "'+c[0]+'".');for(var d=0;d<a.length;d++)for(var e=k[a[d]],b=0;b<e.length;b++){var p=e[b];l[p]=this.get(p);f[p]=1}h.call(g,l)},this)}};CKEDITOR.plugins=new CKEDITOR.resourceManager("plugins/","plugin");CKEDITOR.plugins.load= +CKEDITOR.tools.override(CKEDITOR.plugins.load,function(b){var h={};return function(g,f,a){var m={},k=function(g){b.call(this,g,function(c){CKEDITOR.tools.extend(m,c);var e=[],d;for(d in c){var b=c[d],g=b&&b.requires;if(!h[d]){if(b.icons)for(var l=b.icons.split(","),q=l.length;q--;)CKEDITOR.skin.addIcon(l[q],b.path+"icons/"+(CKEDITOR.env.hidpi&&b.hidpi?"hidpi/":"")+l[q]+".png");b.isSupportedEnvironment=b.isSupportedEnvironment||function(){return!0};h[d]=1}if(g)for(g.split&&(g=g.split(",")),b=0;b<g.length;b++)m[g[b]]|| +e.push(g[b])}if(e.length)k.call(this,e);else{for(d in m)b=m[d],b.onLoad&&!b.onLoad._called&&(!1===b.onLoad()&&delete m[d],b.onLoad._called=1);f&&f.call(a||window,m)}},this)};k.call(this,g)}});CKEDITOR.plugins.setLang=function(b,h,g){var f=this.get(b);b=f.langEntries||(f.langEntries={});f=f.lang||(f.lang=[]);f.split&&(f=f.split(","));-1==CKEDITOR.tools.indexOf(f,h)&&f.push(h);b[h]=g};CKEDITOR.ui=function(b){if(b.ui)return b.ui;this.items={};this.instances={};this.editor=b;this._={handlers:{}};return this}; +CKEDITOR.ui.prototype={add:function(b,h,g){g.name=b.toLowerCase();var f=this.items[b]={type:h,command:g.command||null,args:Array.prototype.slice.call(arguments,2)};CKEDITOR.tools.extend(f,g)},get:function(b){return this.instances[b]},create:function(b){var h=this.items[b],g=h&&this._.handlers[h.type],f=h&&h.command&&this.editor.getCommand(h.command),g=g&&g.create.apply(this,h.args);this.instances[b]=g;f&&f.uiItems.push(g);g&&!g.type&&(g.type=h.type);return g},addHandler:function(b,h){this._.handlers[b]= h},space:function(b){return CKEDITOR.document.getById(this.spaceId(b))},spaceId:function(b){return this.editor.id+"_"+b}};CKEDITOR.event.implementOn(CKEDITOR.ui);(function(){function b(a,c,d){CKEDITOR.event.call(this);a=a&&CKEDITOR.tools.clone(a);if(void 0!==c){if(!(c instanceof CKEDITOR.dom.element))throw Error("Expect element of type CKEDITOR.dom.element.");if(!d)throw Error("One of the element modes must be specified.");if(CKEDITOR.env.ie&&CKEDITOR.env.quirks&&d==CKEDITOR.ELEMENT_MODE_INLINE)throw Error("Inline element mode is not supported on IE quirks."); if(!g(c,d))throw Error('The specified element mode is not supported on element: "'+c.getName()+'".');this.element=c;this.elementMode=d;this.name=this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO&&(c.getId()||c.getNameAtt())}else this.elementMode=CKEDITOR.ELEMENT_MODE_NONE;this._={};this.commands={};this.templates={};this.name=this.name||h();this.id=CKEDITOR.tools.getNextId();this.status="unloaded";this.config=CKEDITOR.tools.prototypedCopy(CKEDITOR.config);this.ui=new CKEDITOR.ui(this);this.focusManager= -new CKEDITOR.focusManager(this);this.keystrokeHandler=new CKEDITOR.keystrokeHandler(this);this.on("readOnly",e);this.on("selectionChange",function(a){m(this,a.data.path)});this.on("activeFilterChange",function(){m(this,this.elementPath(),!0)});this.on("mode",e);CKEDITOR.dom.selection.setupEditorOptimization(this);this.on("instanceReady",function(){if(this.config.startupFocus){if("end"===this.config.startupFocus){var a=this.createRange();a.selectNodeContents(this.editable());a.shrink(CKEDITOR.SHRINK_ELEMENT, -!0);a.collapse();this.getSelection().selectRanges([a])}this.focus()}});CKEDITOR.fire("instanceCreated",null,this);CKEDITOR.add(this);CKEDITOR.tools.setTimeout(function(){this.isDestroyed()||this.isDetached()||k(this,a)},0,this)}function h(){do var a="editor"+ ++p;while(CKEDITOR.instances[a]);return a}function g(a,c){return c==CKEDITOR.ELEMENT_MODE_INLINE?a.is(CKEDITOR.dtd.$editable)||a.is("textarea"):c==CKEDITOR.ELEMENT_MODE_REPLACE?!a.is(CKEDITOR.dtd.$nonBodyContent):1}function e(){var c=this.commands, -d;for(d in c)a(this,c[d])}function a(a,c){c[c.startDisabled?"disable":a.readOnly&&!c.readOnly?"disable":c.modes[a.mode]?"enable":"disable"]()}function m(a,c,d){if(c){var f,e,b=a.commands;for(e in b)f=b[e],(d||f.contextSensitive)&&f.refresh(a,c)}}function l(a){var c=a.config.customConfig;if(!c)return!1;var c=CKEDITOR.getUrl(c),d=r[c]||(r[c]={});d.fn?(d.fn.call(a,a.config),CKEDITOR.getUrl(a.config.customConfig)!=c&&l(a)||a.fireOnce("customConfigLoaded")):CKEDITOR.scriptLoader.queue(c,function(){d.fn= -CKEDITOR.editorConfig?CKEDITOR.editorConfig:function(){};l(a)});return!0}function k(a,d){a.on("customConfigLoaded",function(){if(d){if(d.on)for(var f in d.on)a.on(f,d.on[f]);CKEDITOR.tools.extend(a.config,d,!0);delete a.config.on}f=a.config;a.readOnly=f.readOnly?!0:a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.is("textarea")?a.element.hasAttribute("disabled")||a.element.hasAttribute("readonly"):a.element.isReadOnly():a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?a.element.hasAttribute("disabled")|| -a.element.hasAttribute("readonly"):!1;a.blockless=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?!(a.element.is("textarea")||CKEDITOR.dtd[a.element.getName()].p):!1;a.tabIndex=f.tabIndex||a.element&&a.element.getAttribute("tabindex")||0;a.activeEnterMode=a.enterMode=a.blockless?CKEDITOR.ENTER_BR:f.enterMode;a.activeShiftEnterMode=a.shiftEnterMode=a.blockless?CKEDITOR.ENTER_BR:f.shiftEnterMode;f.skin&&(CKEDITOR.skinName=f.skin);a.fireOnce("configLoaded");a.dataProcessor=new CKEDITOR.htmlDataProcessor(a); -a.filter=a.activeFilter=new CKEDITOR.filter(a);c(a)});d&&null!=d.customConfig&&(a.config.customConfig=d.customConfig);l(a)||a.fireOnce("customConfigLoaded")}function c(a){CKEDITOR.skin.loadPart("editor",function(){f(a)})}function f(a){CKEDITOR.lang.load(a.config.language,a.config.defaultLanguage,function(c,f){var e=a.config.title;a.langCode=c;a.lang=CKEDITOR.tools.prototypedCopy(f);a.title="string"==typeof e||!1===e?e:[a.lang.editor,a.name].join(", ");a.config.contentsLangDirection||(a.config.contentsLangDirection= -a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.getDirection(1):a.lang.dir);a.fire("langLoaded");d(a)})}function d(a){a.getStylesSet(function(c){a.once("loaded",function(){a.fire("stylesSet",{styles:c})},null,null,1);n(a)})}function n(a){function c(a){if(!a)return"";CKEDITOR.tools.isArray(a)&&(a=a.join(","));return a.replace(/\s/g,"")}var d=a.config,f=c(d.plugins),e=c(d.extraPlugins),b=c(d.removePlugins);if(e)var g=new RegExp("(?:^|,)(?:"+e.replace(/,/g,"|")+")(?\x3d,|$)","g"),f=f.replace(g, -""),f=f+(","+e);if(b)var h=new RegExp("(?:^|,)(?:"+b.replace(/,/g,"|")+")(?\x3d,|$)","g"),f=f.replace(h,"");CKEDITOR.env.air&&(f+=",adobeair");CKEDITOR.plugins.load(f.split(","),function(c){var f=[],e=[],b=[];a.plugins=CKEDITOR.tools.extend({},a.plugins,c);for(var g in c){var l=c[g],n=l.lang,k=null,u=l.requires,m;CKEDITOR.tools.isArray(u)&&(u=u.join(","));if(u&&(m=u.match(h)))for(;u=m.pop();)CKEDITOR.error("editor-plugin-required",{plugin:u.replace(",",""),requiredBy:g});n&&!a.lang[g]&&(n.split&& -(n=n.split(",")),0<=CKEDITOR.tools.indexOf(n,a.langCode)?k=a.langCode:(k=a.langCode.replace(/-.*/,""),k=k!=a.langCode&&0<=CKEDITOR.tools.indexOf(n,k)?k:0<=CKEDITOR.tools.indexOf(n,"en")?"en":n[0]),l.langEntries&&l.langEntries[k]?(a.lang[g]=l.langEntries[k],k=null):b.push(CKEDITOR.getUrl(l.path+"lang/"+k+".js")));e.push(k);f.push(l)}CKEDITOR.scriptLoader.load(b,function(){if(!a.isDestroyed()&&!a.isDetached()){for(var c=["beforeInit","init","afterInit"],b=0;b<c.length;b++)for(var g=0;g<f.length;g++){var h= -f[g];0===b&&e[g]&&h.lang&&h.langEntries&&(a.lang[h.name]=h.langEntries[e[g]]);if(h[c[b]])h[c[b]](a)}a.fireOnce("pluginsLoaded");d.keystrokes&&a.setKeystroke(a.config.keystrokes);for(g=0;g<a.config.blockedKeystrokes.length;g++)a.keystrokeHandler.blockedKeystrokes[a.config.blockedKeystrokes[g]]=1;a.status="loaded";a.fireOnce("loaded");CKEDITOR.fire("instanceLoaded",null,a)}})})}function w(){var a=this.element;if(a&&this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO){var c=this.getData();this.config.htmlEncodeOutput&& -(c=CKEDITOR.tools.htmlEncode(c));a.is("textarea")?a.setValue(c):a.setHtml(c);return!0}return!1}function v(a,c){function d(a){var c=a.startContainer,f=a.endContainer;return c.is&&(c.is("tr")||c.is("td")&&c.equals(f)&&a.endOffset===c.getChildCount())?!0:!1}function f(a){var c=a.startContainer;return c.is("tr")?a.cloneContents():c.clone(!0)}for(var e=new CKEDITOR.dom.documentFragment,b,g,h,l=0;l<a.length;l++){var n=a[l],k=n.startContainer.getAscendant("tr",!0);d(n)?(b||(b=k.getAscendant("table").clone(), -b.append(k.getAscendant({thead:1,tbody:1,tfoot:1}).clone()),e.append(b),b=b.findOne("thead, tbody, tfoot")),g&&g.equals(k)||(g=k,h=k.clone(),b.append(h)),h.append(f(n))):e.append(n.cloneContents())}return b?e:c.getHtmlFromRange(a[0])}b.prototype=CKEDITOR.editor.prototype;CKEDITOR.editor=b;var p=0,r={};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{plugins:{detectConflict:function(a,c){for(var d=0;d<c.length;d++){var f=c[d];if(this[f])return CKEDITOR.warn("editor-plugin-conflict",{plugin:a,replacedWith:f}), -!0}return!1}},addCommand:function(c,d){d.name=c.toLowerCase();var f=d instanceof CKEDITOR.command?d:new CKEDITOR.command(this,d);this.mode&&a(this,f);return this.commands[c]=f},_attachToForm:function(){function a(c){d.updateElement();d._.required&&!f.getValue()&&!1===d.fire("required")&&c.data.preventDefault()}function c(a){return!!(a&&a.call&&a.apply)}var d=this,f=d.element,e=new CKEDITOR.dom.element(f.$.form);f.is("textarea")&&e&&(e.on("submit",a),c(e.$.submit)&&(e.$.submit=CKEDITOR.tools.override(e.$.submit, -function(c){return function(){a();c.apply?c.apply(this):c()}})),d.on("destroy",function(){e.removeListener("submit",a)}))},destroy:function(a){var c=CKEDITOR.filter.instances,d=this;this.fire("beforeDestroy");!a&&w.call(this);this.editable(null);this.filter&&delete this.filter;CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(c),function(a){a=c[a];d===a.editor&&a.destroy()});delete this.activeFilter;this.status="destroyed";this.fire("destroy");this.removeAllListeners();CKEDITOR.remove(this); -CKEDITOR.fire("instanceDestroyed",null,this)},elementPath:function(a){if(!a){a=this.getSelection();if(!a)return null;a=a.getStartElement()}return a?new CKEDITOR.dom.elementPath(a,this.editable()):null},createRange:function(){var a=this.editable();return a?new CKEDITOR.dom.range(a):null},execCommand:function(a,c){var d=this.getCommand(a),f={name:a,commandData:c||{},command:d};return d&&d.state!=CKEDITOR.TRISTATE_DISABLED&&!1!==this.fire("beforeCommandExec",f)&&(f.returnValue=d.exec(f.commandData), -!d.async&&!1!==this.fire("afterCommandExec",f))?f.returnValue:!1},getCommand:function(a){return this.commands[a]},getData:function(a){!a&&this.fire("beforeGetData");var c=this._.data;"string"!=typeof c&&(c=(c=this.element)&&this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?c.is("textarea")?c.getValue():c.getHtml():"");c={dataValue:c};!a&&this.fire("getData",c);return c.dataValue},getSnapshot:function(){var a=this.fire("getSnapshot");"string"!=typeof a&&(a=(a=this.element)&&this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE? -a.is("textarea")?a.getValue():a.getHtml():"");return a},loadSnapshot:function(a){this.fire("loadSnapshot",a)},setData:function(a,c,d){var f=!0,e=c;c&&"object"==typeof c&&(d=c.internal,e=c.callback,f=!c.noSnapshot);!d&&f&&this.fire("saveSnapshot");if(e||!d)this.once("dataReady",function(a){!d&&f&&this.fire("saveSnapshot");e&&e.call(a.editor)});a={dataValue:a};!d&&this.fire("setData",a);this._.data=a.dataValue;!d&&this.fire("afterSetData",a)},setReadOnly:function(a){a=null==a||a;this.readOnly!=a&&(this.readOnly= -a,this.keystrokeHandler.blockedKeystrokes[8]=+a,this.editable().setReadOnly(a),this.fire("readOnly"))},insertHtml:function(a,c,d){this.fire("insertHtml",{dataValue:a,mode:c,range:d})},insertText:function(a){this.fire("insertText",a)},insertElement:function(a){this.fire("insertElement",a)},getSelectedHtml:function(a){var c=this.editable(),d=this.getSelection(),d=d&&d.getRanges();if(!c||!d||0===d.length)return null;c=v(d,c);return a?c.getHtml():c},extractSelectedHtml:function(a,c){var d=this.editable(), -f=this.getSelection().getRanges(),e=new CKEDITOR.dom.documentFragment,b;if(!d||0===f.length)return null;for(b=0;b<f.length;b++)e.append(d.extractHtmlFromRange(f[b],c));c||this.getSelection().selectRanges([f[0]]);return a?e.getHtml():e},focus:function(){this.fire("beforeFocus")},checkDirty:function(){return"ready"==this.status&&this._.previousValue!==this.getSnapshot()},resetDirty:function(){this._.previousValue=this.getSnapshot()},updateElement:function(){return w.call(this)},setKeystroke:function(){for(var a= -this.keystrokeHandler.keystrokes,c=CKEDITOR.tools.isArray(arguments[0])?arguments[0]:[[].slice.call(arguments,0)],d,f,e=c.length;e--;)d=c[e],f=0,CKEDITOR.tools.isArray(d)&&(f=d[1],d=d[0]),f?a[d]=f:delete a[d]},getCommandKeystroke:function(a,c){var d="string"===typeof a?this.getCommand(a):a,f=[];if(d){var e=CKEDITOR.tools.object.findKey(this.commands,d),b=this.keystrokeHandler.keystrokes;if(d.fakeKeystroke)f.push(d.fakeKeystroke);else for(var g in b)b[g]===e&&f.push(g)}return c?f:f[0]||null},addFeature:function(a){return this.filter.addFeature(a)}, +new CKEDITOR.focusManager(this);this.keystrokeHandler=new CKEDITOR.keystrokeHandler(this);this.on("readOnly",f);this.on("selectionChange",function(a){m(this,a.data.path)});this.on("activeFilterChange",function(){m(this,this.elementPath(),!0)});this.on("mode",f);CKEDITOR.dom.selection.setupEditorOptimization(this);this.on("instanceReady",function(){if(this.config.startupFocus){if("end"===this.config.startupFocus){var a=this.createRange();a.selectNodeContents(this.editable());a.shrink(CKEDITOR.SHRINK_ELEMENT, +!0);a.collapse();this.getSelection().selectRanges([a])}this.focus()}});CKEDITOR.fire("instanceCreated",null,this);CKEDITOR.add(this);CKEDITOR.tools.setTimeout(function(){this.isDestroyed()||this.isDetached()||l(this,a)},0,this)}function h(){do var a="editor"+ ++q;while(CKEDITOR.instances[a]);return a}function g(a,c){return c==CKEDITOR.ELEMENT_MODE_INLINE?a.is(CKEDITOR.dtd.$editable)||a.is("textarea"):c==CKEDITOR.ELEMENT_MODE_REPLACE?!a.is(CKEDITOR.dtd.$nonBodyContent):1}function f(){var c=this.commands, +d;for(d in c)a(this,c[d])}function a(a,c){c[c.startDisabled?"disable":a.readOnly&&!c.readOnly?"disable":c.modes[a.mode]?"enable":"disable"]()}function m(a,c,d){if(c){var e,f,b=a.commands;for(f in b)e=b[f],(d||e.contextSensitive)&&e.refresh(a,c)}}function k(a){var c=a.config.customConfig;if(!c)return!1;var c=CKEDITOR.getUrl(c),d=r[c]||(r[c]={});d.fn?(d.fn.call(a,a.config),CKEDITOR.getUrl(a.config.customConfig)!=c&&k(a)||a.fireOnce("customConfigLoaded")):CKEDITOR.scriptLoader.queue(c,function(){d.fn= +CKEDITOR.editorConfig?CKEDITOR.editorConfig:function(){};k(a)});return!0}function l(a,d){a.on("customConfigLoaded",function(){if(d){if(d.on)for(var e in d.on)a.on(e,d.on[e]);CKEDITOR.tools.extend(a.config,d,!0);delete a.config.on}e=a.config;a.readOnly=e.readOnly?!0:a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.is("textarea")?a.element.hasAttribute("disabled")||a.element.hasAttribute("readonly"):a.element.isReadOnly():a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?a.element.hasAttribute("disabled")|| +a.element.hasAttribute("readonly"):!1;a.blockless=a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?!(a.element.is("textarea")||CKEDITOR.dtd[a.element.getName()].p):!1;a.tabIndex=e.tabIndex||a.element&&a.element.getAttribute("tabindex")||0;a.activeEnterMode=a.enterMode=a.blockless?CKEDITOR.ENTER_BR:e.enterMode;a.activeShiftEnterMode=a.shiftEnterMode=a.blockless?CKEDITOR.ENTER_BR:e.shiftEnterMode;e.skin&&(CKEDITOR.skinName=e.skin);a.fireOnce("configLoaded");a.dataProcessor=new CKEDITOR.htmlDataProcessor(a); +a.filter=a.activeFilter=new CKEDITOR.filter(a);c(a)});d&&null!=d.customConfig&&(a.config.customConfig=d.customConfig);k(a)||a.fireOnce("customConfigLoaded")}function c(a){CKEDITOR.skin.loadPart("editor",function(){e(a)})}function e(a){CKEDITOR.lang.load(a.config.language,a.config.defaultLanguage,function(c,e){var f=a.config.title;a.langCode=c;a.lang=CKEDITOR.tools.prototypedCopy(e);a.title="string"==typeof f||!1===f?f:[a.lang.editor,a.name].join(", ");a.config.contentsLangDirection||(a.config.contentsLangDirection= +a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?a.element.getDirection(1):a.lang.dir);a.fire("langLoaded");d(a)})}function d(a){a.getStylesSet(function(c){a.once("loaded",function(){a.fire("stylesSet",{styles:c})},null,null,1);n(a)})}function n(a){function c(a){if(!a)return"";CKEDITOR.tools.isArray(a)&&(a=a.join(","));return a.replace(/\s/g,"")}var d=a.config,e=c(d.plugins),f=c(d.extraPlugins),b=c(d.removePlugins);if(f)var g=new RegExp("(?:^|,)(?:"+f.replace(/,/g,"|")+")(?\x3d,|$)","g"),e=e.replace(g, +""),e=e+(","+f);if(b)var h=new RegExp("(?:^|,)(?:"+b.replace(/,/g,"|")+")(?\x3d,|$)","g"),e=e.replace(h,"");CKEDITOR.env.air&&(e+=",adobeair");CKEDITOR.plugins.load(e.split(","),function(c){var e=[],f=[],b=[];a.plugins=CKEDITOR.tools.extend({},a.plugins,c);for(var g in c){var n=c[g],k=n.lang,v=null,m=n.requires,l;CKEDITOR.tools.isArray(m)&&(m=m.join(","));if(m&&(l=m.match(h)))for(;m=l.pop();)CKEDITOR.error("editor-plugin-required",{plugin:m.replace(",",""),requiredBy:g});k&&!a.lang[g]&&(k.split&& +(k=k.split(",")),0<=CKEDITOR.tools.indexOf(k,a.langCode)?v=a.langCode:(v=a.langCode.replace(/-.*/,""),v=v!=a.langCode&&0<=CKEDITOR.tools.indexOf(k,v)?v:0<=CKEDITOR.tools.indexOf(k,"en")?"en":k[0]),n.langEntries&&n.langEntries[v]?(a.lang[g]=n.langEntries[v],v=null):b.push(CKEDITOR.getUrl(n.path+"lang/"+v+".js")));f.push(v);e.push(n)}CKEDITOR.scriptLoader.load(b,function(){if(!a.isDestroyed()&&!a.isDetached()){for(var c=["beforeInit","init","afterInit"],b=0;b<c.length;b++)for(var g=0;g<e.length;g++){var h= +e[g];0===b&&f[g]&&h.lang&&h.langEntries&&(a.lang[h.name]=h.langEntries[f[g]]);if(h[c[b]])h[c[b]](a)}a.fireOnce("pluginsLoaded");d.keystrokes&&a.setKeystroke(a.config.keystrokes);for(g=0;g<a.config.blockedKeystrokes.length;g++)a.keystrokeHandler.blockedKeystrokes[a.config.blockedKeystrokes[g]]=1;a.status="loaded";a.fireOnce("loaded");CKEDITOR.fire("instanceLoaded",null,a)}})})}function y(){var a=this.element;if(a&&this.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO){var c=this.getData();this.config.htmlEncodeOutput&& +(c=CKEDITOR.tools.htmlEncode(c));a.is("textarea")?a.setValue(c):a.setHtml(c);return!0}return!1}function x(a,c){function d(a){var c=a.startContainer,e=a.endContainer;return c.is&&(c.is("tr")||c.is("td")&&c.equals(e)&&a.endOffset===c.getChildCount())?!0:!1}function e(a){var c=a.startContainer;return c.is("tr")?a.cloneContents():c.clone(!0)}for(var f=new CKEDITOR.dom.documentFragment,b,g,h,n=0;n<a.length;n++){var k=a[n],m=k.startContainer.getAscendant("tr",!0);d(k)?(b||(b=m.getAscendant("table").clone(), +b.append(m.getAscendant({thead:1,tbody:1,tfoot:1}).clone()),f.append(b),b=b.findOne("thead, tbody, tfoot")),g&&g.equals(m)||(g=m,h=m.clone(),b.append(h)),h.append(e(k))):f.append(k.cloneContents())}return b?f:c.getHtmlFromRange(a[0])}b.prototype=CKEDITOR.editor.prototype;CKEDITOR.editor=b;var q=0,r={};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{plugins:{detectConflict:function(a,c){for(var d=0;d<c.length;d++){var e=c[d];if(this[e])return CKEDITOR.warn("editor-plugin-conflict",{plugin:a,replacedWith:e}), +!0}return!1}},addCommand:function(c,d){d.name=c.toLowerCase();var e=d instanceof CKEDITOR.command?d:new CKEDITOR.command(this,d);this.mode&&a(this,e);return this.commands[c]=e},_attachToForm:function(){function a(c){d.updateElement();d._.required&&!e.getValue()&&!1===d.fire("required")&&c.data.preventDefault()}function c(a){return!!(a&&a.call&&a.apply)}var d=this,e=d.element,f=new CKEDITOR.dom.element(e.$.form);e.is("textarea")&&f&&(f.on("submit",a),c(f.$.submit)&&(f.$.submit=CKEDITOR.tools.override(f.$.submit, +function(c){return function(){a();c.apply?c.apply(this):c()}})),d.on("destroy",function(){f.removeListener("submit",a)}))},destroy:function(a){var c=CKEDITOR.filter.instances,d=this;this.fire("beforeDestroy");!a&&y.call(this);this.editable(null);this.filter&&delete this.filter;CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(c),function(a){a=c[a];d===a.editor&&a.destroy()});delete this.activeFilter;this.status="destroyed";this.fire("destroy");this.removeAllListeners();CKEDITOR.remove(this); +CKEDITOR.fire("instanceDestroyed",null,this)},elementPath:function(a){if(!a){a=this.getSelection();if(!a)return null;a=a.getStartElement()}return a?new CKEDITOR.dom.elementPath(a,this.editable()):null},createRange:function(){var a=this.editable();return a?new CKEDITOR.dom.range(a):null},execCommand:function(a,c){var d=this.getCommand(a),e={name:a,commandData:c||{},command:d};return d&&d.state!=CKEDITOR.TRISTATE_DISABLED&&!1!==this.fire("beforeCommandExec",e)&&(e.returnValue=d.exec(e.commandData), +!d.async&&!1!==this.fire("afterCommandExec",e))?e.returnValue:!1},getCommand:function(a){return this.commands[a]},getData:function(a){!a&&this.fire("beforeGetData");var c=this._.data;"string"!=typeof c&&(c=(c=this.element)&&this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE?c.is("textarea")?c.getValue():c.getHtml():"");c={dataValue:c};!a&&this.fire("getData",c);return c.dataValue},getSnapshot:function(){var a=this.fire("getSnapshot");"string"!=typeof a&&(a=(a=this.element)&&this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE? +a.is("textarea")?a.getValue():a.getHtml():"");return a},loadSnapshot:function(a){this.fire("loadSnapshot",a)},setData:function(a,c,d){var e=!0,f=c;c&&"object"==typeof c&&(d=c.internal,f=c.callback,e=!c.noSnapshot);!d&&e&&this.fire("saveSnapshot");if(f||!d)this.once("dataReady",function(a){!d&&e&&this.fire("saveSnapshot");f&&f.call(a.editor)});a={dataValue:a};!d&&this.fire("setData",a);this._.data=a.dataValue;!d&&this.fire("afterSetData",a)},setReadOnly:function(a){a=null==a||a;this.readOnly!=a&&(this.readOnly= +a,this.keystrokeHandler.blockedKeystrokes[8]=+a,this.editable().setReadOnly(a),this.fire("readOnly"))},insertHtml:function(a,c,d){this.fire("insertHtml",{dataValue:a,mode:c,range:d})},insertText:function(a){this.fire("insertText",a)},insertElement:function(a){this.fire("insertElement",a)},getSelectedHtml:function(a){var c=this.editable(),d=this.getSelection(),d=d&&d.getRanges();if(!c||!d||0===d.length)return null;c=x(d,c);return a?c.getHtml():c},extractSelectedHtml:function(a,c){var d=this.editable(), +e=this.getSelection().getRanges(),f=new CKEDITOR.dom.documentFragment,b;if(!d||0===e.length)return null;for(b=0;b<e.length;b++)f.append(d.extractHtmlFromRange(e[b],c));c||this.getSelection().selectRanges([e[0]]);return a?f.getHtml():f},focus:function(){this.fire("beforeFocus")},checkDirty:function(){return"ready"==this.status&&this._.previousValue!==this.getSnapshot()},resetDirty:function(){this._.previousValue=this.getSnapshot()},updateElement:function(){return y.call(this)},setKeystroke:function(){for(var a= +this.keystrokeHandler.keystrokes,c=CKEDITOR.tools.isArray(arguments[0])?arguments[0]:[[].slice.call(arguments,0)],d,e,f=c.length;f--;)d=c[f],e=0,CKEDITOR.tools.isArray(d)&&(e=d[1],d=d[0]),e?a[d]=e:delete a[d]},getCommandKeystroke:function(a,c){var d="string"===typeof a?this.getCommand(a):a,e=[];if(d){var f=CKEDITOR.tools.object.findKey(this.commands,d),b=this.keystrokeHandler.keystrokes;if(d.fakeKeystroke)e.push(d.fakeKeystroke);else for(var g in b)b[g]===f&&e.push(g)}return c?e:e[0]||null},addFeature:function(a){return this.filter.addFeature(a)}, setActiveFilter:function(a){a||(a=this.filter);this.activeFilter!==a&&(this.activeFilter=a,this.fire("activeFilterChange"),a===this.filter?this.setActiveEnterMode(null,null):this.setActiveEnterMode(a.getAllowedEnterMode(this.enterMode),a.getAllowedEnterMode(this.shiftEnterMode,!0)))},setActiveEnterMode:function(a,c){a=a?this.blockless?CKEDITOR.ENTER_BR:a:this.enterMode;c=c?this.blockless?CKEDITOR.ENTER_BR:c:this.shiftEnterMode;if(this.activeEnterMode!=a||this.activeShiftEnterMode!=c)this.activeEnterMode= a,this.activeShiftEnterMode=c,this.fire("activeEnterModeChange")},showNotification:function(a){alert(a)},isDetached:function(){return!!this.container&&this.container.isDetached()},isDestroyed:function(){return"destroyed"===this.status}});CKEDITOR.editor._getEditorElement=function(a){if(!CKEDITOR.env.isCompatible)return null;var c=CKEDITOR.dom.element.get(a);return c?c.getEditor()?(CKEDITOR.error("editor-element-conflict",{editorName:c.getEditor().name}),null):c:(CKEDITOR.error("editor-incorrect-element", {element:a}),null)}})();CKEDITOR.ELEMENT_MODE_NONE=0;CKEDITOR.ELEMENT_MODE_REPLACE=1;CKEDITOR.ELEMENT_MODE_APPENDTO=2;CKEDITOR.ELEMENT_MODE_INLINE=3;CKEDITOR.htmlParser=function(){this._={htmlPartsRegex:/<(?:(?:\/([^>]+)>)|(?:!--([\S|\s]*?)--\x3e)|(?:([^\/\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(g){for(var e,a,m=0,l;e=this._.htmlPartsRegex.exec(g);){a=e.index;if(a>m)if(m=g.substring(m,a),l)l.push(m);else this.onText(m);m=this._.htmlPartsRegex.lastIndex;if(a=e[1])if(a=a.toLowerCase(),l&&CKEDITOR.dtd.$cdata[a]&&(this.onCDATA(l.join("")),l=null),!l){this.onTagClose(a); -continue}if(l)l.push(e[0]);else if(a=e[3]){if(a=a.toLowerCase(),!/="/.test(a)){var k={},c,f=e[4];e=!!e[5];if(f)for(;c=b.exec(f);){var d=c[1].toLowerCase();c=c[2]||c[3]||c[4]||"";k[d]=!c&&h[d]?d:CKEDITOR.tools.htmlDecodeAttr(c)}this.onTagOpen(a,k,e);!l&&CKEDITOR.dtd.$cdata[a]&&(l=[])}}else if(a=e[2])this.onComment(a)}if(g.length>m)this.onText(g.substring(m,g.length))}}})();CKEDITOR.htmlParser.basicWriter=CKEDITOR.tools.createClass({$:function(){this._={output:[]}},proto:{openTag:function(b){this._.output.push("\x3c", +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(g){for(var f,a,m=0,k;f=this._.htmlPartsRegex.exec(g);){a=f.index;if(a>m)if(m=g.substring(m,a),k)k.push(m);else this.onText(m);m=this._.htmlPartsRegex.lastIndex;if(a=f[1])if(a=a.toLowerCase(),k&&CKEDITOR.dtd.$cdata[a]&&(this.onCDATA(k.join("")),k=null),!k){this.onTagClose(a); +continue}if(k)k.push(f[0]);else if(a=f[3]){if(a=a.toLowerCase(),!/="/.test(a)){var l={},c,e=f[4];f=!!f[5];if(e)for(;c=b.exec(e);){var d=c[1].toLowerCase();c=c[2]||c[3]||c[4]||"";l[d]=!c&&h[d]?d:CKEDITOR.tools.htmlDecodeAttr(c)}this.onTagOpen(a,l,f);!k&&CKEDITOR.dtd.$cdata[a]&&(k=[])}}else if(a=f[2])this.onComment(a)}if(g.length>m)this.onText(g.substring(m,g.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),g=this.previous,e=this.next;g&&(g.next=e);e&&(e.previous=g);b.splice(h,1);this.parent=null},replaceWith:function(b){var h=this.parent.children,g=CKEDITOR.tools.indexOf(h,this),e=b.previous=this.previous,a=b.next=this.next;e&&(e.next=b);a&&(a.previous=b);h[g]=b;b.parent=this.parent;this.parent=null}, -insertAfter:function(b){var h=b.parent.children,g=CKEDITOR.tools.indexOf(h,b),e=b.next;h.splice(g+1,0,this);this.next=b.next;this.previous=b;b.next=this;e&&(e.previous=this);this.parent=b.parent},insertBefore:function(b){var h=b.parent.children,g=CKEDITOR.tools.indexOf(h,b);h.splice(g,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(e){return e.name==b}:function(e){return e.name in +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),g=this.previous,f=this.next;g&&(g.next=f);f&&(f.previous=g);b.splice(h,1);this.parent=null},replaceWith:function(b){var h=this.parent.children,g=CKEDITOR.tools.indexOf(h,this),f=b.previous=this.previous,a=b.next=this.next;f&&(f.next=b);a&&(a.previous=b);h[g]=b;b.parent=this.parent;this.parent=null}, +insertAfter:function(b){var h=b.parent.children,g=CKEDITOR.tools.indexOf(h,b),f=b.next;h.splice(g+1,0,this);this.next=b.next;this.previous=b;b.next=this;f&&(f.previous=this);this.parent=b.parent},insertBefore:function(b){var h=b.parent.children,g=CKEDITOR.tools.indexOf(h,b);h.splice(g,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(f){return f.name==b}:function(f){return f.name in b},g=this.parent;for(;g&&g.type==CKEDITOR.NODE_ELEMENT;){if(h(g))return g;g=g.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 g=this.value;if(!(g=b.onComment(h,g,this)))return this.remove(),!1;if("string"!=typeof g)return this.replaceWith(g),!1;this.value=g;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),g={ol:1,ul:1},e=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),a={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(0<q.length)for(var d=0;d<q.length;d++){var e= -q[d],b=e.name,g=CKEDITOR.dtd[b],h=t.name&&CKEDITOR.dtd[t.name];h&&!h[b]||a&&g&&!g[a]&&CKEDITOR.dtd[a]?b==t.name&&(n(t,t.parent,1),d--):(c||(f(),c=1),e=e.clone(),e.parent=t,t=e,q.splice(d,1),d--)}}function f(){for(;x.length;)n(x.shift(),t)}function d(a){if(a._.isBlockLike&&"pre"!=a.name&&"textarea"!=a.name){var c=a.children.length,d=a.children[c-1],f;d&&d.type==CKEDITOR.NODE_TEXT&&((f=CKEDITOR.tools.rtrim(d.value))?d.value=f:a.children.length=c-1)}}function n(a,c,f){c=c||t||r;var e=t;void 0===a.previous&& -(w(c,a)&&(t=c,p.onTagOpen(k,{}),a.returnPoint=c=t),d(a),b(a)&&!a.children.length||c.add(a),"pre"==a.name&&(y=!1),"textarea"==a.name&&(z=!1));a.returnPoint?(t=a.returnPoint,delete a.returnPoint):t=f?c:e}function w(a,c){if((a==r||"body"==a.name)&&k&&(!a.name||CKEDITOR.dtd[a.name][k])){var d,f;return(d=c.attributes&&(f=c.attributes["data-cke-real-element-type"])?f:c.name)&&d in CKEDITOR.dtd.$inline&&!(d in CKEDITOR.dtd.head)&&!c.isOrphan||c.type==CKEDITOR.NODE_TEXT}}function v(a,c){return a in CKEDITOR.dtd.$listItem|| -a in CKEDITOR.dtd.$tableContent?a==c||"dt"==a&&"dd"==c||"dd"==a&&"dt"==c:!1}var p=new CKEDITOR.htmlParser,r=l instanceof CKEDITOR.htmlParser.element?l:"string"==typeof l?new CKEDITOR.htmlParser.element(l):new CKEDITOR.htmlParser.fragment,q=[],x=[],t=r,z="textarea"==r.name,y="pre"==r.name;p.onTagOpen=function(a,d,l,k){d=new CKEDITOR.htmlParser.element(a,d);d.isUnknown&&l&&(d.isEmpty=!0);d.isOptionalClose=k;if(b(d))q.push(d);else{if("pre"==a)y=!0;else{if("br"==a&&y){t.add(new CKEDITOR.htmlParser.text("\n")); -return}"textarea"==a&&(z=!0)}if("br"==a)x.push(d);else{for(;!(k=(l=t.name)?CKEDITOR.dtd[l]||(t._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):e,d.isUnknown||t.isUnknown||k[a]);)if(t.isOptionalClose)p.onTagClose(l);else if(a in g&&l in g)l=t.children,(l=l[l.length-1])&&"li"==l.name||n(l=new CKEDITOR.htmlParser.element("li"),t),!d.returnPoint&&(d.returnPoint=t),t=l;else if(a in CKEDITOR.dtd.$listItem&&!v(a,l))p.onTagOpen("li"==a?"ul":"dl",{},0,1);else if(l in h&&!v(a,l))!d.returnPoint&&(d.returnPoint= -t),t=t.parent;else if(l in CKEDITOR.dtd.$inline&&q.unshift(t),t.parent)n(t,t.parent,1);else{d.isOrphan=1;break}c(a);f();d.parent=t;d.isEmpty?n(d):t=d}}};p.onTagClose=function(a){for(var c=q.length-1;0<=c;c--)if(a==q[c].name){q.splice(c,1);return}for(var d=[],e=[],b=t;b!=r&&b.name!=a;)b._.isBlockLike||e.unshift(b),d.push(b),b=b.returnPoint||b.parent;if(b!=r){for(c=0;c<d.length;c++){var g=d[c];n(g,g.parent)}t=b;b._.isBlockLike&&f();n(b,b.parent);b==t&&(t=t.parent);q=q.concat(e)}"body"==a&&(k=!1)};p.onText= -function(d){if(!(t._.hasInlineStarted&&!x.length||y||z)&&(d=CKEDITOR.tools.ltrim(d),0===d.length))return;var b=t.name,g=b?CKEDITOR.dtd[b]||(t._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):e;if(!z&&!g["#"]&&b in h)p.onTagOpen(a[b]||""),p.onText(d);else{f();c();y||z||(d=d.replace(/[\t\r\n ]{2,}|[\t\r\n]/g," "));d=new CKEDITOR.htmlParser.text(d);if(w(t,d))this.onTagOpen(k,{},0,1);t.add(d)}};p.onCDATA=function(a){t.add(new CKEDITOR.htmlParser.cdata(a))};p.onComment=function(a){f();c();t.add(new CKEDITOR.htmlParser.comment(a))}; -p.parse(m);for(f();t!=r;)n(t,t.parent,1);d(r);return r};CKEDITOR.htmlParser.fragment.prototype={type:CKEDITOR.NODE_DOCUMENT_FRAGMENT,add:function(a,e){isNaN(e)&&(e=this.children.length);var b=0<e?this.children[e-1]:null;if(b){if(a._.isBlockLike&&b.type==CKEDITOR.NODE_TEXT&&(b.value=CKEDITOR.tools.rtrim(b.value),0===b.value.length)){this.children.pop();this.add(a);return}b.next=a}a.previous=b;a.parent=this;this.children.splice(e,0,a);this._.hasInlineStarted||(this._.hasInlineStarted=a.type==CKEDITOR.NODE_TEXT|| -a.type==CKEDITOR.NODE_ELEMENT&&!a._.isBlockLike)},filter:function(a,e){e=this.getFilterContext(e);a.onRoot(e,this);this.filterChildren(a,!1,e)},filterChildren:function(a,e,b){if(this.childrenFilteredBy!=a.id){b=this.getFilterContext(b);if(e&&!this.parent)a.onRoot(b,this);this.childrenFilteredBy=a.id;for(e=0;e<this.children.length;e++)!1===this.children[e].filter(a,b)&&e--}},writeHtml:function(a,e){e&&this.filter(e);this.writeChildrenHtml(a)},writeChildrenHtml:function(a,e,b){var c=this.getFilterContext(); -if(b&&!this.parent&&e)e.onRoot(c,this);e&&this.filterChildren(e,!1,c);e=0;b=this.children;for(c=b.length;e<c;e++)b[e].writeHtml(a)},forEach:function(a,e,b){if(!(b||e&&this.type!=e))var c=a(this);if(!1!==c){b=this.children;for(var f=0;f<b.length;f++)c=b[f],c.type==CKEDITOR.NODE_ELEMENT?c.forEach(a,e):e&&c.type!=e||a(c)}},getFilterContext:function(a){return a||{}}}})();"use strict";(function(){function b(){this.rules=[]}function h(g,e,a,h){var l,k;for(l in e)(k=g[l])||(k=g[l]=new b),k.add(e[l],a,h)} -CKEDITOR.htmlParser.filter=CKEDITOR.tools.createClass({$:function(g){this.id=CKEDITOR.tools.getNextNumber();this.elementNameRules=new b;this.attributeNameRules=new b;this.elementsRules={};this.attributesRules={};this.textRules=new b;this.commentRules=new b;this.rootRules=new b;g&&this.addRules(g,10)},proto:{addRules:function(b,e){var a;"number"==typeof e?a=e:e&&"priority"in e&&(a=e.priority);"number"!=typeof a&&(a=10);"object"!=typeof e&&(e={});b.elementNames&&this.elementNameRules.addMany(b.elementNames, -a,e);b.attributeNames&&this.attributeNameRules.addMany(b.attributeNames,a,e);b.elements&&h(this.elementsRules,b.elements,a,e);b.attributes&&h(this.attributesRules,b.attributes,a,e);b.text&&this.textRules.add(b.text,a,e);b.comment&&this.commentRules.add(b.comment,a,e);b.root&&this.rootRules.add(b.root,a,e)},applyTo:function(b){b.filter(this)},onElementName:function(b,e){return this.elementNameRules.execOnName(b,e)},onAttributeName:function(b,e){return this.attributeNameRules.execOnName(b,e)},onText:function(b, -e,a){return this.textRules.exec(b,e,a)},onComment:function(b,e,a){return this.commentRules.exec(b,e,a)},onRoot:function(b,e){return this.rootRules.exec(b,e)},onElement:function(b,e){for(var a=[this.elementsRules["^"],this.elementsRules[e.name],this.elementsRules.$],h,l=0;3>l;l++)if(h=a[l]){h=h.exec(b,e,this);if(!1===h)return null;if(h&&h!=e)return this.onNode(b,h);if(e.parent&&!e.name)break}return e},onNode:function(b,e){var a=e.type;return a==CKEDITOR.NODE_ELEMENT?this.onElement(b,e):a==CKEDITOR.NODE_TEXT? -new CKEDITOR.htmlParser.text(this.onText(b,e.value,e)):a==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(b,e.value,e)):null},onAttribute:function(b,e,a,h){return(a=this.attributesRules[a])?a.exec(b,h,e,this):h}}});CKEDITOR.htmlParser.filterRulesGroup=b;b.prototype={add:function(b,e,a){this.rules.splice(this.findIndex(e),0,{value:b,priority:e,options:a})},addMany:function(b,e,a){for(var h=[this.findIndex(e),0],l=0,k=b.length;l<k;l++)h.push({value:b[l],priority:e,options:a});this.rules.splice.apply(this.rules, -h)},findIndex:function(b){for(var e=this.rules,a=e.length-1;0<=a&&b<e[a].priority;)a--;return a+1},exec:function(b,e){var a=e instanceof CKEDITOR.htmlParser.node||e instanceof CKEDITOR.htmlParser.fragment,h=Array.prototype.slice.call(arguments,1),l=this.rules,k=l.length,c,f,d,n;for(n=0;n<k;n++)if(a&&(c=e.type,f=e.name),d=l[n],!(b.nonEditable&&!d.options.applyToAll||b.nestedEditable&&d.options.excludeNestedEditable)){d=d.value.apply(null,h);if(!1===d||a&&d&&(d.name!=f||d.type!=c))return d;null!=d&& -(h[0]=e=d)}return e},execOnName:function(b,e){for(var a=0,h=this.rules,l=h.length,k;e&&a<l;a++)k=h[a],b.nonEditable&&!k.options.applyToAll||b.nestedEditable&&k.options.excludeNestedEditable||(e=e.replace(k.value[0],k.value[1]));return e}}})();(function(){function b(c,d){function f(a){return a||CKEDITOR.env.needsNbspFiller?new CKEDITOR.htmlParser.text(" "):new CKEDITOR.htmlParser.element("br",{"data-cke-bogus":1})}function b(a,c){return function(d){if(d.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var b= -[],l=g(d),n,u;if(l)for(h(l,1)&&b.push(l);l;)m(l)&&(n=e(l))&&h(n)&&((u=e(n))&&!m(u)?b.push(n):(f(k).insertAfter(n),n.remove())),l=l.previous;for(l=0;l<b.length;l++)b[l].remove();if(b=!a||!1!==("function"==typeof c?c(d):c))k||CKEDITOR.env.needsBrFiller||d.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT?k||CKEDITOR.env.needsBrFiller||!(7<document.documentMode||d.name in CKEDITOR.dtd.tr||d.name in CKEDITOR.dtd.$listItem)?(b=g(d),b=!b||"form"==d.name&&"input"==b.name):b=!1:b=!1;b&&d.add(f(a))}}}function h(a,c){if((!k|| -CKEDITOR.env.needsBrFiller)&&a.type==CKEDITOR.NODE_ELEMENT&&"br"==a.name&&!a.attributes["data-cke-eol"])return!0;var d;return a.type==CKEDITOR.NODE_TEXT&&(d=a.value.match(x))&&(d.index&&((new CKEDITOR.htmlParser.text(a.value.substring(0,d.index))).insertBefore(a),a.value=d[0]),!CKEDITOR.env.needsBrFiller&&k&&(!c||a.parent.name in D)||!k&&((d=a.previous)&&"br"==d.name||!d||m(d)))?!0:!1}var n={elements:{}},k="html"==d,D=CKEDITOR.tools.extend({},u),q;for(q in D)"#"in z[q]||delete D[q];for(q in D)n.elements[q]= -b(k,c.config.fillEmptyBlocks);n.root=b(k,!1);n.elements.br=function(c){return function(d){if(d.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var b=d.attributes;if("data-cke-bogus"in b||"data-cke-eol"in b)delete b["data-cke-bogus"];else{for(b=d.next;b&&a(b);)b=b.next;var g=e(d);!b&&m(d.parent)?l(d.parent,f(c)):m(b)&&g&&!m(g)&&f(c).insertBefore(b)}}}}(k);return n}function h(a,c){return a!=CKEDITOR.ENTER_BR&&!1!==c?a==CKEDITOR.ENTER_DIV?"div":"p":!1}function g(c){for(c=c.children[c.children.length-1];c&& -a(c);)c=c.previous;return c}function e(c){for(c=c.previous;c&&a(c);)c=c.previous;return c}function a(a){return a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(a.value)||a.type==CKEDITOR.NODE_ELEMENT&&a.attributes["data-cke-bookmark"]}function m(a){return a&&(a.type==CKEDITOR.NODE_ELEMENT&&a.name in u||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function l(a,c){var d=a.children[a.children.length-1];a.children.push(c);c.parent=a;d&&(d.next=c,c.previous=d)}function k(a){a=a.attributes;"false"!=a.contenteditable&& -(a["data-cke-editable"]=a.contenteditable?"true":1);a.contenteditable="false"}function c(a){a=a.attributes;switch(a["data-cke-editable"]){case "true":a.contenteditable="true";break;case "1":delete a.contenteditable}}function f(a){return a.replace(G,function(a,c,d){return"\x3c"+c+d.replace(I,function(a,c){return L.test(c)&&-1==d.indexOf("data-cke-saved-"+c)?" data-cke-saved-"+a+" data-cke-"+CKEDITOR.rnd+"-"+a:a})+"\x3e"})}function d(a,c){return a.replace(c,function(a,c,d){0===a.indexOf("\x3ctextarea")&& -(a=c+v(d).replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;")+"\x3c/textarea\x3e");return"\x3ccke:encoded\x3e"+encodeURIComponent(a)+"\x3c/cke:encoded\x3e"})}function n(a){return a.replace(H,function(a,c){return decodeURIComponent(c)})}function w(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,function(a){return"\x3c!--"+t+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\x3e"})}function v(a){return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g,function(a,c){return decodeURIComponent(c)})} -function p(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 r(a,c){var d=[],f=c.config.protectedSource,b=c._.dataStore||(c._.dataStore={id:1}),e=/<\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,f=[/<script[\s\S]*?(<\/script>|$)/gi,/<noscript[\s\S]*?<\/noscript>/gi,/<meta[\s\S]*?\/?>/gi].concat(f);a=a.replace(/\x3c!--[\s\S]*?--\x3e/g,function(a){return"\x3c!--{cke_tempcomment}"+ -(d.push(a)-1)+"--\x3e"});for(var g=0;g<f.length;g++)a=a.replace(f[g],function(a){a=a.replace(e,function(a,c,f){return d[f]});return/cke_temp(comment)?/.test(a)?a:"\x3c!--{cke_temp}"+(d.push(a)-1)+"--\x3e"});a=a.replace(e,function(a,c,f){return"\x3c!--"+t+(c?"{C}":"")+encodeURIComponent(d[f]).replace(/--/g,"%2D%2D")+"--\x3e"});a=a.replace(/<\w+(?:\s+(?:(?:[^\s=>]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=\/>]+))+\s*\/?>/g,function(a){return a.replace(/\x3c!--\{cke_protected\}([^>]*)--\x3e/g,function(a, -c){b[b.id]=decodeURIComponent(c);return"{cke_protected_"+b.id++ +"}"})});return a=a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(a,d,f,b){return"\x3c"+d+f+"\x3e"+p(v(b),c)+"\x3c/"+d+"\x3e"})}var q;CKEDITOR.htmlDataProcessor=function(a){var c,e,g=this;this.editor=a;this.dataFilter=c=new CKEDITOR.htmlParser.filter;this.htmlFilter=e=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;c.addRules(B);c.addRules(C,{applyToAll:!0});c.addRules(b(a,"data"), -{applyToAll:!0});e.addRules(A);e.addRules(E,{applyToAll:!0});e.addRules(b(a,"html"),{applyToAll:!0});a.on("toHtml",function(c){c=c.data;var b=c.dataValue,e,b=q(b),b=r(b,a),b=d(b,M),b=f(b),b=d(b,F),b=b.replace(J,"$1cke:$2"),b=b.replace(K,"\x3ccke:$1$2\x3e\x3c/cke:$1\x3e"),b=b.replace(/(<pre\b[^>]*>)(\r\n|\n)/g,"$1$2$2"),b=b.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi,"$1data-cke-"+CKEDITOR.rnd+"-$2");e=c.context||a.editable().getName();var g;CKEDITOR.env.ie&&9>CKEDITOR.env.version&&"pre"==e&&(e="div", -b="\x3cpre\x3e"+b+"\x3c/pre\x3e",g=1);e=a.document.createElement(e);e.setHtml("a"+b);b=e.getHtml().substr(1);b=b.replace(new RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),"");g&&(b=b.replace(/^<pre>|<\/pre>$/gi,""));b=b.replace(D,"$1$2");b=n(b);b=v(b);e=!1===c.fixForBody?!1:h(c.enterMode,a.config.autoParagraph);b=CKEDITOR.htmlParser.fragment.fromHtml(b,c.context,e);e&&(g=b,!g.children.length&&CKEDITOR.dtd[g.name][e]&&(e=new CKEDITOR.htmlParser.element(e),g.add(e)));c.dataValue=b},null,null,5);a.on("toHtml", -function(c){c.data.filter.applyTo(c.data.dataValue,!0,c.data.dontFilter,c.data.enterMode)&&a.fire("dataFiltered")},null,null,6);a.on("toHtml",function(a){a.data.dataValue.filterChildren(g.dataFilter,!0)},null,null,10);a.on("toHtml",function(a){a=a.data;var c=a.dataValue,d=new CKEDITOR.htmlParser.basicWriter;c.writeChildrenHtml(d);c=d.getHtml(!0);a.dataValue=w(c)},null,null,15);a.on("toDataFormat",function(c){var d=c.data.dataValue;c.data.enterMode!=CKEDITOR.ENTER_BR&&(d=d.replace(/^<br *\/?>/i,"")); -c.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(d,c.data.context,h(c.data.enterMode,a.config.autoParagraph))},null,null,5);a.on("toDataFormat",function(a){a.data.dataValue.filterChildren(g.htmlFilter,!0)},null,null,10);a.on("toDataFormat",function(a){a.data.filter.applyTo(a.data.dataValue,!1,!0)},null,null,11);a.on("toDataFormat",function(c){var d=c.data.dataValue,f=g.writer;f.reset();d.writeChildrenHtml(f);d=f.getHtml(!0);d=v(d);d=p(d,a);c.data.dataValue=d},null,null,15)};CKEDITOR.htmlDataProcessor.prototype= -{toHtml:function(a,c,d,f){var b=this.editor,e,g,h,l;c&&"object"==typeof c?(e=c.context,d=c.fixForBody,f=c.dontFilter,g=c.filter,h=c.enterMode,l=c.protectedWhitespaces):e=c;e||null===e||(e=b.editable().getName());return b.fire("toHtml",{dataValue:a,context:e,fixForBody:d,dontFilter:f,filter:g||b.filter,enterMode:h||b.enterMode,protectedWhitespaces:l}).dataValue},toDataFormat:function(a,c){var d,f,b;c&&(d=c.context,f=c.filter,b=c.enterMode);d||null===d||(d=this.editor.editable().getName());return this.editor.fire("toDataFormat", -{dataValue:a,filter:f||this.editor.filter,context:d,enterMode:b||this.editor.enterMode}).dataValue}};var x=/(?: |\xa0)$/,t="{cke_protected}",z=CKEDITOR.dtd,y="caption colgroup col thead tfoot tbody".split(" "),u=CKEDITOR.tools.extend({},z.$blockLimit,z.$block),B={elements:{input:k,textarea:k}},C={attributeNames:[[/^on/,"data-cke-pa-on"],[/^srcdoc/,"data-cke-pa-srcdoc"],[/^data-cke-expando$/,""]],elements:{iframe:function(a){if(a.attributes&&a.attributes.src){var c=a.attributes.src.toLowerCase().replace(/[^a-z]/gi, -"");if(0===c.indexOf("javascript")||0===c.indexOf("data"))a.attributes["data-cke-pa-src"]=a.attributes.src,delete a.attributes.src}}}},A={elements:{embed:function(a){var c=a.parent;if(c&&"object"==c.name){var d=c.attributes.width,c=c.attributes.height;d&&(a.attributes.width=d);c&&(a.attributes.height=c)}},a:function(a){var c=a.attributes;if(!(a.children.length||c.name||c.id||a.attributes["data-cke-saved-name"]))return!1}}},E={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/, -""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(a){var c=a.attributes;if(c){if(c["data-cke-temp"])return!1;for(var d=["name","href","src"],f,b=0;b<d.length;b++)f="data-cke-saved-"+d[b],f in c&&delete c[d[b]]}return a},table:function(a){a.children.slice(0).sort(function(a,c){var d,f;a.type==CKEDITOR.NODE_ELEMENT&&c.type==a.type&&(d=CKEDITOR.tools.indexOf(y,a.name),f=CKEDITOR.tools.indexOf(y,c.name));-1<d&&-1<f&&d!=f||(d=a.parent?a.getIndex():-1,f=c.parent?c.getIndex():-1);return d>f? -1:-1})},param:function(a){a.children=[];a.isEmpty=!0;return a},span:function(a){"Apple-style-span"==a.attributes["class"]&&delete a.name},html:function(a){delete a.attributes.contenteditable;delete a.attributes["class"]},body:function(a){delete a.attributes.spellcheck;delete a.attributes.contenteditable},style:function(a){var c=a.children[0];c&&c.value&&(c.value=CKEDITOR.tools.trim(c.value));a.attributes.type||(a.attributes.type="text/css")},title:function(a){var c=a.children[0];!c&&l(a,c=new CKEDITOR.htmlParser.text); -c.value=a.attributes["data-cke-title"]||""},input:c,textarea:c},attributes:{"class":function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,""))||!1}}};CKEDITOR.env.ie&&(E.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});var G=/<(a|area|img|input|source)\b([^>]*)>/gi,I=/([\w-:]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,L=/^(href|src|name)$/i,F=/(?:<style(?=[ >])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi, -M=/(<textarea(?=[ >])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,H=/<cke:encoded>([^<]*)<\/cke:encoded>/gi,J=/(<\/?)((?:object|embed|param|html|body|head|title)([\s][^>]*)?>)/gi,D=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,K=/<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi;q=function(){function a(d){return CKEDITOR.tools.array.reduce(d.split(""),function(a,d){var f=d.toLowerCase(),b=d.toUpperCase(),e=c(f);f!==b&&(e+="|"+c(b));return a+("("+e+")")},"")}function c(a){var d;d=a.charCodeAt(0);var f=d.toString(16); -d={htmlCode:"\x26#"+d+";?",hex:"\x26#x0*"+f+";?",entity:{"\x3c":"\x26lt;","\x3e":"\x26gt;",":":"\x26colon;"}[a]};for(var b in d)d[b]&&(a+="|"+d[b]);return a}var d=new RegExp("("+a("\x3ccke:encoded\x3e")+"(.*?)"+a("\x3c/cke:encoded\x3e")+")|("+a("\x3c")+a("/")+"?"+a("cke:encoded\x3e")+")","gi"),f=new RegExp("(("+a("{cke_protected")+")(_[0-9]*)?"+a("}")+")","gi");return function(a){return a.replace(d,"").replace(f,"")}}()})();"use strict";CKEDITOR.htmlParser.element=function(b,h){this.name=b;this.attributes= -h||{};this.children=[];var g=b||"",e=g.match(/^cke:(.*)/);e&&(g=e[1]);g=!!(CKEDITOR.dtd.$nonBodyContent[g]||CKEDITOR.dtd.$block[g]||CKEDITOR.dtd.$listItem[g]||CKEDITOR.dtd.$tableContent[g]||CKEDITOR.dtd.$nonEditable[g]||"br"==g);this.isEmpty=!!CKEDITOR.dtd.$empty[b];this.isUnknown=!CKEDITOR.dtd[b];this._={isBlockLike:g,hasInlineStarted:this.isEmpty||!g}};CKEDITOR.htmlParser.cssStyle=function(b){var h={};((b instanceof CKEDITOR.htmlParser.element?b.attributes.style:b)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, -function(b,e,a){"font-family"==e&&(a=a.replace(/["']/g,""));h[e.toLowerCase()]=a});return{rules:h,populate:function(b){var e=this.toString();e&&(b instanceof CKEDITOR.dom.element?b.setAttribute("style",e):b instanceof CKEDITOR.htmlParser.element?b.attributes.style=e:b.style=e)},toString:function(){var b=[],e;for(e in h)h[e]&&b.push(e,":",h[e],";");return b.join("")}}};(function(){function b(b){return function(a){return a.type==CKEDITOR.NODE_ELEMENT&&("string"==typeof b?a.name==b:a.name in b)}}var h= -function(b,a){b=b[0];a=a[0];return b<a?-1:b>a?1:0},g=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:g.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(b,a){var g=this,h,k;a=g.getFilterContext(a);if(!g.parent)b.onRoot(a,g);for(;;){h=g.name;if(!(k=b.onElementName(a,h)))return this.remove(),!1;g.name=k;if(!(g=b.onElement(a,g)))return this.remove(), -!1;if(g!==this)return this.replaceWith(g),!1;if(g.name==h)break;if(g.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(g),!1;if(!g.name)return this.replaceWithChildren(),!1}h=g.attributes;var c,f;for(c in h){for(k=h[c];;)if(f=b.onAttributeName(a,c))if(f!=c)delete h[c],c=f;else break;else{delete h[c];break}f&&(!1===(k=b.onAttribute(a,g,f,k))?delete h[f]:h[f]=k)}g.isEmpty||this.filterChildren(b,!1,a);return!0},filterChildren:g.filterChildren,writeHtml:function(b,a){a&&this.filter(a);var g=this.name, -l=[],k=this.attributes,c,f;b.openTag(g,k);for(c in k)l.push([c,k[c]]);b.sortAttributes&&l.sort(h);c=0;for(f=l.length;c<f;c++)k=l[c],b.attribute(k[0],k[1]);b.openTagClose(g,this.isEmpty);this.writeChildrenHtml(b);this.isEmpty||b.closeTag(g)},writeChildrenHtml:g.writeChildrenHtml,replaceWithChildren:function(){for(var b=this.children,a=b.length;a;)b[--a].insertAfter(this);this.remove()},forEach:g.forEach,getFirst:function(e){if(!e)return this.children.length?this.children[0]:null;"function"!=typeof e&& -(e=b(e));for(var a=0,g=this.children.length;a<g;++a)if(e(this.children[a]))return this.children[a];return null},getHtml:function(){var b=new CKEDITOR.htmlParser.basicWriter;this.writeChildrenHtml(b);return b.getHtml()},setHtml:function(b){b=this.children=CKEDITOR.htmlParser.fragment.fromHtml(b).children;for(var a=0,g=b.length;a<g;++a)b[a].parent=this},getOuterHtml:function(){var b=new CKEDITOR.htmlParser.basicWriter;this.writeHtml(b);return b.getHtml()},split:function(b){for(var a=this.children.splice(b, -this.children.length-b),g=this.clone(),h=0;h<a.length;++h)a[h].parent=g;g.children=a;a[0]&&(a[0].previous=null);0<b&&(this.children[b-1].next=null);this.parent.add(g,this.getIndex()+1);return g},find:function(b,a){void 0===a&&(a=!1);var g=[],h;for(h=0;h<this.children.length;h++){var k=this.children[h];"function"==typeof b&&b(k)?g.push(k):"string"==typeof b&&k.name===b&&g.push(k);a&&k.find&&(g=g.concat(k.find(b,a)))}return g},findOne:function(b,a){var g=null,h=CKEDITOR.tools.array.find(this.children, +!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),g={ol:1,ul:1},f=CKEDITOR.tools.extend({},{html:1},CKEDITOR.dtd.html,CKEDITOR.dtd.body,CKEDITOR.dtd.head,{style:1,script:1}),a={ul:"li",ol:"li",dl:"dd",table:"tbody",tbody:"tr",thead:"tr",tfoot:"tr",tr:"td"};CKEDITOR.htmlParser.fragment.fromHtml=function(m,k,l){function c(a){var c;if(0<p.length)for(var d=0;d<p.length;d++){var f= +p[d],b=f.name,g=CKEDITOR.dtd[b],h=t.name&&CKEDITOR.dtd[t.name];h&&!h[b]||a&&g&&!g[a]&&CKEDITOR.dtd[a]?b==t.name&&(n(t,t.parent,1),d--):(c||(e(),c=1),f=f.clone(),f.parent=t,t=f,p.splice(d,1),d--)}}function e(){for(;w.length;)n(w.shift(),t)}function d(a){if(a._.isBlockLike&&"pre"!=a.name&&"textarea"!=a.name){var c=a.children.length,d=a.children[c-1],e;d&&d.type==CKEDITOR.NODE_TEXT&&((e=CKEDITOR.tools.rtrim(d.value))?d.value=e:a.children.length=c-1)}}function n(a,c,e){c=c||t||r;var f=t;void 0===a.previous&& +(y(c,a)&&(t=c,q.onTagOpen(l,{}),a.returnPoint=c=t),d(a),b(a)&&!a.children.length||c.add(a),"pre"==a.name&&(u=!1),"textarea"==a.name&&(z=!1));a.returnPoint?(t=a.returnPoint,delete a.returnPoint):t=e?c:f}function y(a,c){if((a==r||"body"==a.name)&&l&&(!a.name||CKEDITOR.dtd[a.name][l])){var d,e;return(d=c.attributes&&(e=c.attributes["data-cke-real-element-type"])?e:c.name)&&d in CKEDITOR.dtd.$inline&&!(d in CKEDITOR.dtd.head)&&!c.isOrphan||c.type==CKEDITOR.NODE_TEXT}}function x(a,c){return a in CKEDITOR.dtd.$listItem|| +a in CKEDITOR.dtd.$tableContent?a==c||"dt"==a&&"dd"==c||"dd"==a&&"dt"==c:!1}var q=new CKEDITOR.htmlParser,r=k instanceof CKEDITOR.htmlParser.element?k:"string"==typeof k?new CKEDITOR.htmlParser.element(k):new CKEDITOR.htmlParser.fragment,p=[],w=[],t=r,z="textarea"==r.name,u="pre"==r.name;q.onTagOpen=function(a,d,k,m){d=new CKEDITOR.htmlParser.element(a,d);d.isUnknown&&k&&(d.isEmpty=!0);d.isOptionalClose=m;if(b(d))p.push(d);else{if("pre"==a)u=!0;else{if("br"==a&&u){t.add(new CKEDITOR.htmlParser.text("\n")); +return}"textarea"==a&&(z=!0)}if("br"==a)w.push(d);else{for(;!(m=(k=t.name)?CKEDITOR.dtd[k]||(t._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):f,d.isUnknown||t.isUnknown||m[a]);)if(t.isOptionalClose)q.onTagClose(k);else if(a in g&&k in g)k=t.children,(k=k[k.length-1])&&"li"==k.name||n(k=new CKEDITOR.htmlParser.element("li"),t),!d.returnPoint&&(d.returnPoint=t),t=k;else if(a in CKEDITOR.dtd.$listItem&&!x(a,k))q.onTagOpen("li"==a?"ul":"dl",{},0,1);else if(k in h&&!x(a,k))!d.returnPoint&&(d.returnPoint= +t),t=t.parent;else if(k in CKEDITOR.dtd.$inline&&p.unshift(t),t.parent)n(t,t.parent,1);else{d.isOrphan=1;break}c(a);e();d.parent=t;d.isEmpty?n(d):t=d}}};q.onTagClose=function(a){for(var c=p.length-1;0<=c;c--)if(a==p[c].name){p.splice(c,1);return}for(var d=[],f=[],b=t;b!=r&&b.name!=a;)b._.isBlockLike||f.unshift(b),d.push(b),b=b.returnPoint||b.parent;if(b!=r){for(c=0;c<d.length;c++){var g=d[c];n(g,g.parent)}t=b;b._.isBlockLike&&e();n(b,b.parent);b==t&&(t=t.parent);p=p.concat(f)}"body"==a&&(l=!1)};q.onText= +function(d){if(!(t._.hasInlineStarted&&!w.length||u||z)&&(d=CKEDITOR.tools.ltrim(d),0===d.length))return;var b=t.name,g=b?CKEDITOR.dtd[b]||(t._.isBlockLike?CKEDITOR.dtd.div:CKEDITOR.dtd.span):f;if(!z&&!g["#"]&&b in h)q.onTagOpen(a[b]||""),q.onText(d);else{e();c();u||z||(d=d.replace(/[\t\r\n ]{2,}|[\t\r\n]/g," "));d=new CKEDITOR.htmlParser.text(d);if(y(t,d))this.onTagOpen(l,{},0,1);t.add(d)}};q.onCDATA=function(a){t.add(new CKEDITOR.htmlParser.cdata(a))};q.onComment=function(a){e();c();t.add(new CKEDITOR.htmlParser.comment(a))}; +q.parse(m);for(e();t!=r;)n(t,t.parent,1);d(r);return r};CKEDITOR.htmlParser.fragment.prototype={type:CKEDITOR.NODE_DOCUMENT_FRAGMENT,add:function(a,f){isNaN(f)&&(f=this.children.length);var b=0<f?this.children[f-1]:null;if(b){if(a._.isBlockLike&&b.type==CKEDITOR.NODE_TEXT&&(b.value=CKEDITOR.tools.rtrim(b.value),0===b.value.length)){this.children.pop();this.add(a);return}b.next=a}a.previous=b;a.parent=this;this.children.splice(f,0,a);this._.hasInlineStarted||(this._.hasInlineStarted=a.type==CKEDITOR.NODE_TEXT|| +a.type==CKEDITOR.NODE_ELEMENT&&!a._.isBlockLike)},filter:function(a,f){f=this.getFilterContext(f);a.onRoot(f,this);this.filterChildren(a,!1,f)},filterChildren:function(a,f,b){if(this.childrenFilteredBy!=a.id){b=this.getFilterContext(b);if(f&&!this.parent)a.onRoot(b,this);this.childrenFilteredBy=a.id;for(f=0;f<this.children.length;f++)!1===this.children[f].filter(a,b)&&f--}},writeHtml:function(a,f){f&&this.filter(f);this.writeChildrenHtml(a)},writeChildrenHtml:function(a,f,b){var c=this.getFilterContext(); +if(b&&!this.parent&&f)f.onRoot(c,this);f&&this.filterChildren(f,!1,c);f=0;b=this.children;for(c=b.length;f<c;f++)b[f].writeHtml(a)},forEach:function(a,f,b){if(!(b||f&&this.type!=f))var c=a(this);if(!1!==c){b=this.children;for(var e=0;e<b.length;e++)c=b[e],c.type==CKEDITOR.NODE_ELEMENT?c.forEach(a,f):f&&c.type!=f||a(c)}},getFilterContext:function(a){return a||{}}}})();"use strict";(function(){function b(){this.rules=[]}function h(g,f,a,h){var k,l;for(k in f)(l=g[k])||(l=g[k]=new b),l.add(f[k],a,h)} +CKEDITOR.htmlParser.filter=CKEDITOR.tools.createClass({$:function(g){this.id=CKEDITOR.tools.getNextNumber();this.elementNameRules=new b;this.attributeNameRules=new b;this.elementsRules={};this.attributesRules={};this.textRules=new b;this.commentRules=new b;this.rootRules=new b;g&&this.addRules(g,10)},proto:{addRules:function(b,f){var a;"number"==typeof f?a=f:f&&"priority"in f&&(a=f.priority);"number"!=typeof a&&(a=10);"object"!=typeof f&&(f={});b.elementNames&&this.elementNameRules.addMany(b.elementNames, +a,f);b.attributeNames&&this.attributeNameRules.addMany(b.attributeNames,a,f);b.elements&&h(this.elementsRules,b.elements,a,f);b.attributes&&h(this.attributesRules,b.attributes,a,f);b.text&&this.textRules.add(b.text,a,f);b.comment&&this.commentRules.add(b.comment,a,f);b.root&&this.rootRules.add(b.root,a,f)},applyTo:function(b){b.filter(this)},onElementName:function(b,f){return this.elementNameRules.execOnName(b,f)},onAttributeName:function(b,f){return this.attributeNameRules.execOnName(b,f)},onText:function(b, +f,a){return this.textRules.exec(b,f,a)},onComment:function(b,f,a){return this.commentRules.exec(b,f,a)},onRoot:function(b,f){return this.rootRules.exec(b,f)},onElement:function(b,f){for(var a=[this.elementsRules["^"],this.elementsRules[f.name],this.elementsRules.$],h,k=0;3>k;k++)if(h=a[k]){h=h.exec(b,f,this);if(!1===h)return null;if(h&&h!=f)return this.onNode(b,h);if(f.parent&&!f.name)break}return f},onNode:function(b,f){var a=f.type;return a==CKEDITOR.NODE_ELEMENT?this.onElement(b,f):a==CKEDITOR.NODE_TEXT? +new CKEDITOR.htmlParser.text(this.onText(b,f.value,f)):a==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(b,f.value,f)):null},onAttribute:function(b,f,a,h){return(a=this.attributesRules[a])?a.exec(b,h,f,this):h}}});CKEDITOR.htmlParser.filterRulesGroup=b;b.prototype={add:function(b,f,a){this.rules.splice(this.findIndex(f),0,{value:b,priority:f,options:a})},addMany:function(b,f,a){for(var h=[this.findIndex(f),0],k=0,l=b.length;k<l;k++)h.push({value:b[k],priority:f,options:a});this.rules.splice.apply(this.rules, +h)},findIndex:function(b){for(var f=this.rules,a=f.length-1;0<=a&&b<f[a].priority;)a--;return a+1},exec:function(b,f){var a=f instanceof CKEDITOR.htmlParser.node||f instanceof CKEDITOR.htmlParser.fragment,h=Array.prototype.slice.call(arguments,1),k=this.rules,l=k.length,c,e,d,n;for(n=0;n<l;n++)if(a&&(c=f.type,e=f.name),d=k[n],!(b.nonEditable&&!d.options.applyToAll||b.nestedEditable&&d.options.excludeNestedEditable)){d=d.value.apply(null,h);if(!1===d||a&&d&&(d.name!=e||d.type!=c))return d;null!=d&& +(h[0]=f=d)}return f},execOnName:function(b,f){for(var a=0,h=this.rules,k=h.length,l;f&&a<k;a++)l=h[a],b.nonEditable&&!l.options.applyToAll||b.nestedEditable&&l.options.excludeNestedEditable||(f=f.replace(l.value[0],l.value[1]));return f}}})();(function(){function b(c,d){function e(a){return a||CKEDITOR.env.needsNbspFiller?new CKEDITOR.htmlParser.text(" "):new CKEDITOR.htmlParser.element("br",{"data-cke-bogus":1})}function b(a,c){return function(d){if(d.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var b= +[],n=g(d),k,v;if(n)for(h(n,1)&&b.push(n);n;)m(n)&&(k=f(n))&&h(k)&&((v=f(k))&&!m(v)?b.push(k):(e(l).insertAfter(k),k.remove())),n=n.previous;for(n=0;n<b.length;n++)b[n].remove();if(b=!a||!1!==("function"==typeof c?c(d):c))l||CKEDITOR.env.needsBrFiller||d.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT?l||CKEDITOR.env.needsBrFiller||!(7<document.documentMode||d.name in CKEDITOR.dtd.tr||d.name in CKEDITOR.dtd.$listItem)?(b=g(d),b=!b||"form"==d.name&&"input"==b.name):b=!1:b=!1;b&&d.add(e(a))}}}function h(a,c){if((!l|| +CKEDITOR.env.needsBrFiller)&&a.type==CKEDITOR.NODE_ELEMENT&&"br"==a.name&&!a.attributes["data-cke-eol"])return!0;var d;return a.type==CKEDITOR.NODE_TEXT&&(d=a.value.match(w))&&(d.index&&((new CKEDITOR.htmlParser.text(a.value.substring(0,d.index))).insertBefore(a),a.value=d[0]),!CKEDITOR.env.needsBrFiller&&l&&(!c||a.parent.name in D)||!l&&((d=a.previous)&&"br"==d.name||!d||m(d)))?!0:!1}var n={elements:{}},l="html"==d,D=CKEDITOR.tools.extend({},v),p;for(p in D)"#"in z[p]||delete D[p];for(p in D)n.elements[p]= +b(l,c.config.fillEmptyBlocks);n.root=b(l,!1);n.elements.br=function(c){return function(d){if(d.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var b=d.attributes;if("data-cke-bogus"in b||"data-cke-eol"in b)delete b["data-cke-bogus"];else{for(b=d.next;b&&a(b);)b=b.next;var g=f(d);!b&&m(d.parent)?k(d.parent,e(c)):m(b)&&g&&!m(g)&&e(c).insertBefore(b)}}}}(l);return n}function h(a,c){return a!=CKEDITOR.ENTER_BR&&!1!==c?a==CKEDITOR.ENTER_DIV?"div":"p":!1}function g(c){for(c=c.children[c.children.length-1];c&& +a(c);)c=c.previous;return c}function f(c){for(c=c.previous;c&&a(c);)c=c.previous;return c}function a(a){return a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(a.value)||a.type==CKEDITOR.NODE_ELEMENT&&a.attributes["data-cke-bookmark"]}function m(a){return a&&(a.type==CKEDITOR.NODE_ELEMENT&&a.name in v||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function k(a,c){var d=a.children[a.children.length-1];a.children.push(c);c.parent=a;d&&(d.next=c,c.previous=d)}function l(a){a=a.attributes;"false"!=a.contenteditable&& +(a["data-cke-editable"]=a.contenteditable?"true":1);a.contenteditable="false"}function c(a){a=a.attributes;switch(a["data-cke-editable"]){case "true":a.contenteditable="true";break;case "1":delete a.contenteditable}}function e(a){return a.replace(G,function(a,c,d){return"\x3c"+c+d.replace(I,function(a,c){return L.test(c)&&-1==d.indexOf("data-cke-saved-"+c)?" data-cke-saved-"+a+" data-cke-"+CKEDITOR.rnd+"-"+a:a})+"\x3e"})}function d(a,c){return a.replace(c,function(a,c,d){0===a.indexOf("\x3ctextarea")&& +(a=c+x(d).replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;")+"\x3c/textarea\x3e");return"\x3ccke:encoded\x3e"+encodeURIComponent(a)+"\x3c/cke:encoded\x3e"})}function n(a){return a.replace(H,function(a,c){return decodeURIComponent(c)})}function y(a){return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,function(a){return"\x3c!--"+t+"{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 q(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 r(a,c){var d=[],e=c.config.protectedSource,b=c._.dataStore||(c._.dataStore={id:1}),f=/<\!--\{cke_temp(comment)?\}(\d*?)--\x3e/g,e=[/<script[\s\S]*?(<\/script>|$)/gi,/<noscript[\s\S]*?<\/noscript>/gi,/<meta[\s\S]*?\/?>/gi].concat(e);a=a.replace(/\x3c!--[\s\S]*?--\x3e/g,function(a){return"\x3c!--{cke_tempcomment}"+ +(d.push(a)-1)+"--\x3e"});for(var g=0;g<e.length;g++)a=a.replace(e[g],function(a){a=a.replace(f,function(a,c,e){return d[e]});return/cke_temp(comment)?/.test(a)?a:"\x3c!--{cke_temp}"+(d.push(a)-1)+"--\x3e"});a=a.replace(f,function(a,c,e){return"\x3c!--"+t+(c?"{C}":"")+encodeURIComponent(d[e]).replace(/--/g,"%2D%2D")+"--\x3e"});a=a.replace(/<\w+(?:\s+(?:(?:[^\s=>]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=\/>]+))+\s*\/?>/g,function(a){return a.replace(/\x3c!--\{cke_protected\}([^>]*)--\x3e/g,function(a, +c){b[b.id]=decodeURIComponent(c);return"{cke_protected_"+b.id++ +"}"})});return a=a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(a,d,e,b){return"\x3c"+d+e+"\x3e"+q(x(b),c)+"\x3c/"+d+"\x3e"})}var p;CKEDITOR.htmlDataProcessor=function(a){var c,f,g=this;this.editor=a;this.dataFilter=c=new CKEDITOR.htmlParser.filter;this.htmlFilter=f=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;c.addRules(C);c.addRules(E,{applyToAll:!0});c.addRules(b(a,"data"), +{applyToAll:!0});f.addRules(A);f.addRules(B,{applyToAll:!0});f.addRules(b(a,"html"),{applyToAll:!0});a.on("toHtml",function(c){c=c.data;var b=c.dataValue,f,b=p(b),b=r(b,a),b=d(b,M),b=e(b),b=d(b,F),b=b.replace(J,"$1cke:$2"),b=b.replace(K,"\x3ccke:$1$2\x3e\x3c/cke:$1\x3e"),b=b.replace(/(<pre\b[^>]*>)(\r\n|\n)/g,"$1$2$2"),b=b.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi,"$1data-cke-"+CKEDITOR.rnd+"-$2");f=c.context||a.editable().getName();var g;CKEDITOR.env.ie&&9>CKEDITOR.env.version&&"pre"==f&&(f="div", +b="\x3cpre\x3e"+b+"\x3c/pre\x3e",g=1);f=a.document.createElement(f);f.setHtml("a"+b);b=f.getHtml().substr(1);b=b.replace(new RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),"");g&&(b=b.replace(/^<pre>|<\/pre>$/gi,""));b=b.replace(D,"$1$2");b=n(b);b=x(b);f=!1===c.fixForBody?!1:h(c.enterMode,a.config.autoParagraph);b=CKEDITOR.htmlParser.fragment.fromHtml(b,c.context,f);f&&(g=b,!g.children.length&&CKEDITOR.dtd[g.name][f]&&(f=new CKEDITOR.htmlParser.element(f),g.add(f)));c.dataValue=b},null,null,5);a.on("toHtml", +function(c){c.data.filter.applyTo(c.data.dataValue,!0,c.data.dontFilter,c.data.enterMode)&&a.fire("dataFiltered")},null,null,6);a.on("toHtml",function(a){a.data.dataValue.filterChildren(g.dataFilter,!0)},null,null,10);a.on("toHtml",function(a){a=a.data;var c=a.dataValue,d=new CKEDITOR.htmlParser.basicWriter;c.writeChildrenHtml(d);c=d.getHtml(!0);a.dataValue=y(c)},null,null,15);a.on("toDataFormat",function(c){var d=c.data.dataValue;c.data.enterMode!=CKEDITOR.ENTER_BR&&(d=d.replace(/^<br *\/?>/i,"")); +c.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(d,c.data.context,h(c.data.enterMode,a.config.autoParagraph))},null,null,5);a.on("toDataFormat",function(a){a.data.dataValue.filterChildren(g.htmlFilter,!0)},null,null,10);a.on("toDataFormat",function(a){a.data.filter.applyTo(a.data.dataValue,!1,!0)},null,null,11);a.on("toDataFormat",function(c){var d=c.data.dataValue,e=g.writer;e.reset();d.writeChildrenHtml(e);d=e.getHtml(!0);d=x(d);d=q(d,a);c.data.dataValue=d},null,null,15)};CKEDITOR.htmlDataProcessor.prototype= +{toHtml:function(a,c,d,e){var b=this.editor,f,g,h,n;c&&"object"==typeof c?(f=c.context,d=c.fixForBody,e=c.dontFilter,g=c.filter,h=c.enterMode,n=c.protectedWhitespaces):f=c;f||null===f||(f=b.editable().getName());return b.fire("toHtml",{dataValue:a,context:f,fixForBody:d,dontFilter:e,filter:g||b.filter,enterMode:h||b.enterMode,protectedWhitespaces:n}).dataValue},toDataFormat:function(a,c){var d,e,b;c&&(d=c.context,e=c.filter,b=c.enterMode);d||null===d||(d=this.editor.editable().getName());return this.editor.fire("toDataFormat", +{dataValue:a,filter:e||this.editor.filter,context:d,enterMode:b||this.editor.enterMode}).dataValue}};var w=/(?: |\xa0)$/,t="{cke_protected}",z=CKEDITOR.dtd,u="caption colgroup col thead tfoot tbody".split(" "),v=CKEDITOR.tools.extend({},z.$blockLimit,z.$block),C={elements:{input:l,textarea:l}},E={attributeNames:[[/^on/,"data-cke-pa-on"],[/^srcdoc/,"data-cke-pa-srcdoc"],[/^data-cke-expando$/,""]],elements:{iframe:function(a){if(a.attributes&&a.attributes.src){var c=a.attributes.src.toLowerCase().replace(/[^a-z]/gi, +"");if(0===c.indexOf("javascript")||0===c.indexOf("data"))a.attributes["data-cke-pa-src"]=a.attributes.src,delete a.attributes.src}}}},A={elements:{embed:function(a){var c=a.parent;if(c&&"object"==c.name){var d=c.attributes.width,c=c.attributes.height;d&&(a.attributes.width=d);c&&(a.attributes.height=c)}},a:function(a){var c=a.attributes;if(!(a.children.length||c.name||c.id||a.attributes["data-cke-saved-name"]))return!1}}},B={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/, +""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(a){var c=a.attributes;if(c){if(c["data-cke-temp"])return!1;for(var d=["name","href","src"],e,b=0;b<d.length;b++)e="data-cke-saved-"+d[b],e in c&&delete c[d[b]]}return a},table:function(a){a.children.slice(0).sort(function(a,c){var d,e;a.type==CKEDITOR.NODE_ELEMENT&&c.type==a.type&&(d=CKEDITOR.tools.indexOf(u,a.name),e=CKEDITOR.tools.indexOf(u,c.name));-1<d&&-1<e&&d!=e||(d=a.parent?a.getIndex():-1,e=c.parent?c.getIndex():-1);return d>e? +1:-1})},param:function(a){a.children=[];a.isEmpty=!0;return a},span:function(a){"Apple-style-span"==a.attributes["class"]&&delete a.name},html:function(a){delete a.attributes.contenteditable;delete a.attributes["class"]},body:function(a){delete a.attributes.spellcheck;delete a.attributes.contenteditable},style:function(a){var c=a.children[0];c&&c.value&&(c.value=CKEDITOR.tools.trim(c.value));a.attributes.type||(a.attributes.type="text/css")},title:function(a){var c=a.children[0];!c&&k(a,c=new CKEDITOR.htmlParser.text); +c.value=a.attributes["data-cke-title"]||""},input:c,textarea:c},attributes:{"class":function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,""))||!1}}};CKEDITOR.env.ie&&(B.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});var G=/<(a|area|img|input|source)\b([^>]*)>/gi,I=/([\w-:]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,L=/^(href|src|name)$/i,F=/(?:<style(?=[ >])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi, +M=/(<textarea(?=[ >])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,H=/<cke:encoded>([^<]*)<\/cke:encoded>/gi,J=/(<\/?)((?:object|embed|param|html|body|head|title)([\s][^>]*)?>)/gi,D=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,K=/<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi;p=function(){function a(d){return CKEDITOR.tools.array.reduce(d.split(""),function(a,d){var e=d.toLowerCase(),b=d.toUpperCase(),f=c(e);e!==b&&(f+="|"+c(b));return a+("("+f+")")},"")}function c(a){var d;d=a.charCodeAt(0);var e=d.toString(16); +d={htmlCode:"\x26#"+d+";?",hex:"\x26#x0*"+e+";?",entity:{"\x3c":"\x26lt;","\x3e":"\x26gt;",":":"\x26colon;"}[a]};for(var b in d)d[b]&&(a+="|"+d[b]);return a}var d=new RegExp("("+a("\x3ccke:encoded\x3e")+"(.*?)"+a("\x3c/cke:encoded\x3e")+")|("+a("\x3c")+a("/")+"?"+a("cke:encoded\x3e")+")","gi"),e=new RegExp("(("+a("{cke_protected")+")(_[0-9]*)?"+a("}")+")","gi");return function(a){return a.replace(d,"").replace(e,"")}}()})();"use strict";CKEDITOR.htmlParser.element=function(b,h){this.name=b;this.attributes= +h||{};this.children=[];var g=b||"",f=g.match(/^cke:(.*)/);f&&(g=f[1]);g=!!(CKEDITOR.dtd.$nonBodyContent[g]||CKEDITOR.dtd.$block[g]||CKEDITOR.dtd.$listItem[g]||CKEDITOR.dtd.$tableContent[g]||CKEDITOR.dtd.$nonEditable[g]||"br"==g);this.isEmpty=!!CKEDITOR.dtd.$empty[b];this.isUnknown=!CKEDITOR.dtd[b];this._={isBlockLike:g,hasInlineStarted:this.isEmpty||!g}};CKEDITOR.htmlParser.cssStyle=function(b){var h={};((b instanceof CKEDITOR.htmlParser.element?b.attributes.style:b)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, +function(b,f,a){"font-family"==f&&(a=a.replace(/["']/g,""));h[f.toLowerCase()]=a});return{rules:h,populate:function(b){var f=this.toString();f&&(b instanceof CKEDITOR.dom.element?b.setAttribute("style",f):b instanceof CKEDITOR.htmlParser.element?b.attributes.style=f:b.style=f)},toString:function(){var b=[],f;for(f in h)h[f]&&b.push(f,":",h[f],";");return b.join("")}}};(function(){function b(b){return function(a){return a.type==CKEDITOR.NODE_ELEMENT&&("string"==typeof b?a.name==b:a.name in b)}}var h= +function(b,a){b=b[0];a=a[0];return b<a?-1:b>a?1:0},g=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:g.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(b,a){var g=this,h,l;a=g.getFilterContext(a);if(!g.parent)b.onRoot(a,g);for(;;){h=g.name;if(!(l=b.onElementName(a,h)))return this.remove(),!1;g.name=l;if(!(g=b.onElement(a,g)))return this.remove(), +!1;if(g!==this)return this.replaceWith(g),!1;if(g.name==h)break;if(g.type!=CKEDITOR.NODE_ELEMENT)return this.replaceWith(g),!1;if(!g.name)return this.replaceWithChildren(),!1}h=g.attributes;var c,e;for(c in h){for(l=h[c];;)if(e=b.onAttributeName(a,c))if(e!=c)delete h[c],c=e;else break;else{delete h[c];break}e&&(!1===(l=b.onAttribute(a,g,e,l))?delete h[e]:h[e]=l)}g.isEmpty||this.filterChildren(b,!1,a);return!0},filterChildren:g.filterChildren,writeHtml:function(b,a){a&&this.filter(a);var g=this.name, +k=[],l=this.attributes,c,e;b.openTag(g,l);for(c in l)k.push([c,l[c]]);b.sortAttributes&&k.sort(h);c=0;for(e=k.length;c<e;c++)l=k[c],b.attribute(l[0],l[1]);b.openTagClose(g,this.isEmpty);this.writeChildrenHtml(b);this.isEmpty||b.closeTag(g)},writeChildrenHtml:g.writeChildrenHtml,replaceWithChildren:function(){for(var b=this.children,a=b.length;a;)b[--a].insertAfter(this);this.remove()},forEach:g.forEach,getFirst:function(f){if(!f)return this.children.length?this.children[0]:null;"function"!=typeof f&& +(f=b(f));for(var a=0,g=this.children.length;a<g;++a)if(f(this.children[a]))return this.children[a];return null},getHtml:function(){var b=new CKEDITOR.htmlParser.basicWriter;this.writeChildrenHtml(b);return b.getHtml()},setHtml:function(b){b=this.children=CKEDITOR.htmlParser.fragment.fromHtml(b).children;for(var a=0,g=b.length;a<g;++a)b[a].parent=this},getOuterHtml:function(){var b=new CKEDITOR.htmlParser.basicWriter;this.writeHtml(b);return b.getHtml()},split:function(b){for(var a=this.children.splice(b, +this.children.length-b),g=this.clone(),h=0;h<a.length;++h)a[h].parent=g;g.children=a;a[0]&&(a[0].previous=null);0<b&&(this.children[b-1].next=null);this.parent.add(g,this.getIndex()+1);return g},find:function(b,a){void 0===a&&(a=!1);var g=[],h;for(h=0;h<this.children.length;h++){var l=this.children[h];"function"==typeof b&&b(l)?g.push(l):"string"==typeof b&&l.name===b&&g.push(l);a&&l.find&&(g=g.concat(l.find(b,a)))}return g},findOne:function(b,a){var g=null,h=CKEDITOR.tools.array.find(this.children, function(h){var c="function"===typeof b?b(h):h.name===b;if(c||!a)return c;h.children&&h.findOne&&(g=h.findOne(b,!0));return!!g});return g||h||null},addClass:function(b){if(!this.hasClass(b)){var a=this.attributes["class"]||"";this.attributes["class"]=a+(a?" ":"")+b}},removeClass:function(b){var a=this.attributes["class"];a&&((a=CKEDITOR.tools.trim(a.replace(new RegExp("(?:\\s+|^)"+b+"(?:\\s+|$)")," ")))?this.attributes["class"]=a:delete this.attributes["class"])},hasClass:function(b){var a=this.attributes["class"]; return a?(new RegExp("(?:^|\\s)"+b+"(?\x3d\\s|$)")).test(a):!1},getFilterContext:function(b){var a=[];b||(b={nonEditable:!1,nestedEditable:!1});b.nonEditable||"false"!=this.attributes.contenteditable?b.nonEditable&&!b.nestedEditable&&"true"==this.attributes.contenteditable&&a.push("nestedEditable",!0):a.push("nonEditable",!0);if(a.length){b=CKEDITOR.tools.copy(b);for(var g=0;g<a.length;g+=2)b[a[g]]=a[g+1]}return b}},!0)})();(function(){var b=/{([^}]+)}/g;CKEDITOR.template=function(b){this.source= -"function"===typeof b?b:String(b)};CKEDITOR.template.prototype.output=function(h,g){var e=("function"===typeof this.source?this.source(h):this.source).replace(b,function(a,b){return void 0!==h[b]?h[b]:a});return g?g.push(e):e}})();delete CKEDITOR.loadFullCore;CKEDITOR.instances={};CKEDITOR.document=new CKEDITOR.dom.document(document);CKEDITOR.add=function(b){function h(){CKEDITOR.currentInstance==b&&(CKEDITOR.currentInstance=null,CKEDITOR.fire("currentInstance"))}CKEDITOR.instances[b.name]=b;b.on("focus", -function(){CKEDITOR.currentInstance!=b&&(CKEDITOR.currentInstance=b,CKEDITOR.fire("currentInstance"))});b.on("blur",h);b.on("destroy",h);CKEDITOR.fire("instance",null,b)};CKEDITOR.remove=function(b){delete CKEDITOR.instances[b.name]};(function(){var b={};CKEDITOR.addTemplate=function(h,g){var e=b[h];if(e)return e;e={name:h,source:g};CKEDITOR.fire("template",e);return b[h]=new CKEDITOR.template(e.source)};CKEDITOR.getTemplate=function(h){return b[h]}})();(function(){var b=[];CKEDITOR.addCss=function(h){b.push(h)}; -CKEDITOR.getCss=function(){return b.join("\n")}})();CKEDITOR.on("instanceDestroyed",function(){CKEDITOR.tools.isEmpty(this.instances)&&CKEDITOR.fire("reset")});CKEDITOR.TRISTATE_ON=1;CKEDITOR.TRISTATE_OFF=2;CKEDITOR.TRISTATE_DISABLED=0;(function(){CKEDITOR.inline=function(b,h){b=CKEDITOR.editor._getEditorElement(b);if(!b)return null;var g=new CKEDITOR.editor(h,b,CKEDITOR.ELEMENT_MODE_INLINE),e=b.is("textarea")?b:null;e?(g.setData(e.getValue(),null,!0),b=CKEDITOR.dom.element.createFromHtml('\x3cdiv contenteditable\x3d"'+ -!!g.readOnly+'" class\x3d"cke_textarea_inline"\x3e'+e.getValue()+"\x3c/div\x3e",CKEDITOR.document),b.insertAfter(e),e.hide(),e.$.form&&g._attachToForm()):g.setData(b.getHtml(),null,!0);g.on("loaded",function(){g.fire("uiReady");g.editable(b);g.container=b;g.ui.contentsElement=b;g.setData(g.getData(1));g.resetDirty();g.fire("contentDom");g.mode="wysiwyg";g.fire("mode");g.status="ready";g.fireOnce("instanceReady");CKEDITOR.fire("instanceReady",null,g)},null,null,1E4);g.on("destroy",function(){var a= -g.container;e&&a&&(a.clearCustomData(),a.remove());e&&e.show();g.element.clearCustomData();delete g.element});return g};CKEDITOR.inlineAll=function(){var b,h,g;for(g in CKEDITOR.dtd.$editable)for(var e=CKEDITOR.document.getElementsByTag(g),a=0,m=e.count();a<m;a++)b=e.getItem(a),"true"==b.getAttribute("contenteditable")&&(h={element:b,config:{}},!1!==CKEDITOR.fire("inline",h)&&CKEDITOR.inline(b,h.config))};CKEDITOR.domReady(function(){!CKEDITOR.disableAutoInline&&CKEDITOR.inlineAll()})})();CKEDITOR.replaceClass= -"ckeditor";(function(){function b(b,a,m,l){b=CKEDITOR.editor._getEditorElement(b);if(!b)return null;var k=new CKEDITOR.editor(a,b,l);l==CKEDITOR.ELEMENT_MODE_REPLACE&&(b.setStyle("visibility","hidden"),k._.required=b.hasAttribute("required"),b.removeAttribute("required"));m&&k.setData(m,null,!0);k.on("loaded",function(){k.isDestroyed()||k.isDetached()||(g(k),l==CKEDITOR.ELEMENT_MODE_REPLACE&&k.config.autoUpdateElement&&b.$.form&&k._attachToForm(),k.setMode(k.config.startupMode,function(){k.resetDirty(); -k.status="ready";k.fireOnce("instanceReady");CKEDITOR.fire("instanceReady",null,k)}))});k.on("destroy",h);return k}function h(){var b=this.container,a=this.element;b&&(b.clearCustomData(),b.remove());a&&(a.clearCustomData(),this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&&(a.show(),this._.required&&a.setAttribute("required","required")),delete this.element)}function g(b){var a=b.name,g=b.element,h=b.elementMode,k=b.fire("uiSpace",{space:"top",html:""}).html,c=b.fire("uiSpace",{space:"bottom",html:""}).html, -f=new CKEDITOR.template('\x3c{outerEl} id\x3d"cke_{name}" class\x3d"{id} cke cke_reset cke_chrome cke_editor_{name} cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" lang\x3d"{langCode}" role\x3d"application"'+(b.title?' aria-labelledby\x3d"cke_{name}_arialbl"':"")+"\x3e"+(b.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e':"")+'\x3c{outerEl} class\x3d"cke_inner cke_reset" role\x3d"presentation"\x3e{topHtml}\x3c{outerEl} id\x3d"{contentId}" class\x3d"cke_contents cke_reset" role\x3d"presentation"\x3e\x3c/{outerEl}\x3e{bottomHtml}\x3c/{outerEl}\x3e\x3c/{outerEl}\x3e'), -a=CKEDITOR.dom.element.createFromHtml(f.output({id:b.id,name:a,langDir:b.lang.dir,langCode:b.langCode,voiceLabel:b.title,topHtml:k?'\x3cspan id\x3d"'+b.ui.spaceId("top")+'" class\x3d"cke_top cke_reset_all" role\x3d"presentation" style\x3d"height:auto"\x3e'+k+"\x3c/span\x3e":"",contentId:b.ui.spaceId("contents"),bottomHtml:c?'\x3cspan id\x3d"'+b.ui.spaceId("bottom")+'" class\x3d"cke_bottom cke_reset_all" role\x3d"presentation"\x3e'+c+"\x3c/span\x3e":"",outerEl:CKEDITOR.env.ie?"span":"div"}));h==CKEDITOR.ELEMENT_MODE_REPLACE? -(g.hide(),a.insertAfter(g)):g.append(a);b.container=a;b.ui.contentsElement=b.ui.space("contents");k&&b.ui.space("top").unselectable();c&&b.ui.space("bottom").unselectable();g=b.config.width;h=b.config.height;g&&a.setStyle("width",CKEDITOR.tools.cssLength(g));h&&b.ui.space("contents").setStyle("height",CKEDITOR.tools.cssLength(h));a.disableContextMenu();CKEDITOR.env.webkit&&a.on("focus",function(){b.focus()});b.fireOnce("uiReady")}CKEDITOR.replace=function(e,a){return b(e,a,null,CKEDITOR.ELEMENT_MODE_REPLACE)}; -CKEDITOR.appendTo=function(e,a,g){return b(e,a,g,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var b=document.getElementsByTagName("textarea"),a=0;a<b.length;a++){var g=null,h=b[a];if(h.name||h.id){if("string"==typeof arguments[0]){if(!(new RegExp("(?:^|\\s)"+arguments[0]+"(?:$|\\s)")).test(h.className))continue}else if("function"==typeof arguments[0]&&(g={},!1===arguments[0](h,g)))continue;this.replace(h,g)}}};CKEDITOR.editor.prototype.addMode=function(b,a){(this._.modes||(this._.modes= -{}))[b]=a};CKEDITOR.editor.prototype.setMode=function(b,a){var g=this,h=this._.modes;if(b!=g.mode&&h&&h[b]){g.fire("beforeSetMode",b);if(g.mode){var k=g.checkDirty(),h=g._.previousModeData,c,f=0;g.fire("beforeModeUnload");g.editable(0);g._.previousMode=g.mode;g._.previousModeData=c=g.getData(1);"source"==g.mode&&h==c&&(g.fire("lockSnapshot",{forceUpdate:!0}),f=1);g.ui.space("contents").setHtml("");g.mode=""}else g._.previousModeData=g.getData(1);this._.modes[b](function(){g.mode=b;void 0!==k&&!k&& -g.resetDirty();f?g.fire("unlockSnapshot"):"wysiwyg"==b&&g.fire("saveSnapshot");setTimeout(function(){g.isDestroyed()||g.isDetached()||(g.fire("mode"),a&&a.call(g))},0)})}};CKEDITOR.editor.prototype.resize=function(b,a,g,h){var k=this.container,c=this.ui.space("contents"),f=CKEDITOR.env.webkit&&this.document&&this.document.getWindow().$.frameElement;h=h?this.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasClass("cke_inner")}):k;h.setSize("width",b,!0);f&&(f.style.width="1%"); -var d=(h.$.offsetHeight||0)-(c.$.clientHeight||0),k=Math.max(a-(g?0:d),0);a=g?a+d:a;c.setStyle("height",k+"px");f&&(f.style.width="100%");this.fire("resize",{outerHeight:a,contentsHeight:k,outerWidth:b||h.getSize("width")})};CKEDITOR.editor.prototype.getResizable=function(b){return b?this.ui.space("contents"):this.container};CKEDITOR.domReady(function(){CKEDITOR.replaceClass&&CKEDITOR.replaceAll(CKEDITOR.replaceClass)})})();CKEDITOR.config.startupMode="wysiwyg";(function(){function b(a){var c=a.editor, -d=a.data.path,b=d.blockLimit,f=a.data.selection,g=f.getRanges()[0],n;if(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller)if(f=h(f,d))f.appendBogus(),n=CKEDITOR.env.ie&&!CKEDITOR.env.edge||CKEDITOR.env.edge&&c._.previousActive;l(c,d.block,b)&&g.collapsed&&!g.getCommonAncestor().isReadOnly()&&(d=g.clone(),d.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS),b=new CKEDITOR.dom.walker(d),b.guard=function(a){return!e(a)||a.type==CKEDITOR.NODE_COMMENT||a.isReadOnly()},!b.checkForward()||d.checkStartOfBlock()&& -d.checkEndOfBlock())&&(c=g.fixBlock(!0,c.activeEnterMode==CKEDITOR.ENTER_DIV?"div":"p"),CKEDITOR.env.needsBrFiller||(c=c.getFirst(e))&&c.type==CKEDITOR.NODE_TEXT&&CKEDITOR.tools.trim(c.getText()).match(/^(?: |\xa0)$/)&&c.remove(),n=1,a.cancel());n&&g.select()}function h(a,c){if(a.isFake)return 0;var d=c.block||c.blockLimit,b=d&&d.getLast(e);if(!(!d||!d.isBlockBoundary()||b&&b.type==CKEDITOR.NODE_ELEMENT&&b.isBlockBoundary()||d.is("pre")||d.getBogus()))return d}function g(a){var c=a.data.getTarget(); -c.is("input")&&(c=c.getAttribute("type"),"submit"!=c&&"reset"!=c||a.data.preventDefault())}function e(a){return n(a)&&w(a)}function a(a,c){return function(d){var b=d.data.$.toElement||d.data.$.fromElement||d.data.$.relatedTarget;(b=b&&b.nodeType==CKEDITOR.NODE_ELEMENT?new CKEDITOR.dom.element(b):null)&&(c.equals(b)||c.contains(b))||a.call(this,d)}}function m(a){function c(a){return function(c,b){b&&c.type==CKEDITOR.NODE_ELEMENT&&c.is(f)&&(d=c);if(!(b||!e(c)||a&&p(c)))return!1}}var d,b=a.getRanges()[0]; -a=a.root;var f={table:1,ul:1,ol:1,dl:1};if(b.startPath().contains(f)){var g=b.clone();g.collapse(1);g.setStartAt(a,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(g);a.guard=c();a.checkBackward();if(d)return g=b.clone(),g.collapse(),g.setEndAt(d,CKEDITOR.POSITION_AFTER_END),a=new CKEDITOR.dom.walker(g),a.guard=c(!0),d=!1,a.checkForward(),d}return null}function l(a,c,d){return!1!==a.config.autoParagraph&&a.activeEnterMode!=CKEDITOR.ENTER_BR&&(a.editable().equals(d)&&!c||c&&"true"==c.getAttribute("contenteditable"))} -function k(a){return a.activeEnterMode!=CKEDITOR.ENTER_BR&&!1!==a.config.autoParagraph?a.activeEnterMode==CKEDITOR.ENTER_DIV?"div":"p":!1}function c(a){a&&a.isEmptyInlineRemoveable()&&a.remove()}function f(a){var c=a.editor;c.getSelection().scrollIntoView();setTimeout(function(){c.fire("saveSnapshot")},0)}function d(a,c,d){var b=a.getCommonAncestor(c);for(c=a=d?c:a;(a=a.getParent())&&!b.equals(a)&&1==a.getChildCount();)c=a;c.remove()}var n,w,v,p,r,q,x,t,z,y;CKEDITOR.editable=CKEDITOR.tools.createClass({base:CKEDITOR.dom.element, -$:function(a,c){this.base(c.$||c);this.editor=a;this.status="unloaded";this.hasFocus=!1;this.setup()},proto:{focus:function(){var a;if(CKEDITOR.env.webkit&&!this.hasFocus&&(a=this.editor._.previousActive||this.getDocument().getActive(),this.contains(a))){a.focus();return}CKEDITOR.env.edge&&14<CKEDITOR.env.version&&!this.hasFocus&&this.getDocument().equals(CKEDITOR.document)&&(this.editor._.previousScrollTop=this.$.scrollTop);try{if(!CKEDITOR.env.ie||CKEDITOR.env.edge&&14<CKEDITOR.env.version||!this.getDocument().equals(CKEDITOR.document))if(CKEDITOR.env.chrome){var c= -this.$.scrollTop;this.$.focus();this.$.scrollTop=c}else this.$.focus();else this.$.setActive()}catch(d){if(!CKEDITOR.env.ie)throw d;}CKEDITOR.env.safari&&!this.isInline()&&(a=CKEDITOR.document.getActive(),a.equals(this.getWindow().getFrame())||this.getWindow().focus())},on:function(c,d){var b=Array.prototype.slice.call(arguments,0);CKEDITOR.env.ie&&/^focus|blur$/.exec(c)&&(c="focus"==c?"focusin":"focusout",d=a(d,this),b[0]=c,b[1]=d);return CKEDITOR.dom.element.prototype.on.apply(this,b)},attachListener:function(a){!this._.listeners&& -(this._.listeners=[]);var c=Array.prototype.slice.call(arguments,1),c=a.on.apply(a,c);this._.listeners.push(c);return c},clearListeners:function(){var a=this._.listeners;try{for(;a.length;)a.pop().removeListener()}catch(c){}},restoreAttrs:function(){var a=this._.attrChanges,c,d;for(d in a)a.hasOwnProperty(d)&&(c=a[d],null!==c?this.setAttribute(d,c):this.removeAttribute(d))},attachClass:function(a){var c=this.getCustomData("classes");this.hasClass(a)||(!c&&(c=[]),c.push(a),this.setCustomData("classes", -c),this.addClass(a))},changeAttr:function(a,c){var d=this.getAttribute(a);c!==d&&(!this._.attrChanges&&(this._.attrChanges={}),a in this._.attrChanges||(this._.attrChanges[a]=d),this.setAttribute(a,c))},insertText:function(a){this.editor.focus();this.insertHtml(this.transformPlainTextToHtml(a),"text")},transformPlainTextToHtml:function(a){var c=this.editor.getSelection().getStartElement().hasAscendant("pre",!0)?CKEDITOR.ENTER_BR:this.editor.activeEnterMode;return CKEDITOR.tools.transformPlainTextToHtml(a, -c)},insertHtml:function(a,c,d){var b=this.editor;b.focus();b.fire("saveSnapshot");d||(d=b.getSelection().getRanges()[0]);q(this,c||"html",a,d);d.select();f(this);this.editor.fire("afterInsertHtml",{})},insertHtmlIntoRange:function(a,c,d){q(this,d||"html",a,c);this.editor.fire("afterInsertHtml",{intoRange:c})},insertElement:function(a,c){var d=this.editor;d.focus();d.fire("saveSnapshot");var b=d.activeEnterMode,d=d.getSelection(),g=a.getName(),g=CKEDITOR.dtd.$block[g];c||(c=d.getRanges()[0]);this.insertElementIntoRange(a, -c)&&(c.moveToPosition(a,CKEDITOR.POSITION_AFTER_END),g&&((g=a.getNext(function(a){return e(a)&&!p(a)}))&&g.type==CKEDITOR.NODE_ELEMENT&&g.is(CKEDITOR.dtd.$block)?g.getDtd()["#"]?c.moveToElementEditStart(g):c.moveToElementEditEnd(a):g||b==CKEDITOR.ENTER_BR||(g=c.fixBlock(!0,b==CKEDITOR.ENTER_DIV?"div":"p"),c.moveToElementEditStart(g))));d.selectRanges([c]);f(this)},insertElementIntoSelection:function(a){this.insertElement(a)},insertElementIntoRange:function(a,d){var b=this.editor,f=b.config.enterMode, -e=a.getName(),g=CKEDITOR.dtd.$block[e];if(d.checkReadOnly())return!1;d.deleteContents(1);d.startContainer.type==CKEDITOR.NODE_ELEMENT&&(d.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})?x(d):d.startContainer.is(CKEDITOR.dtd.$list)&&t(d));var h,n;if(g)for(;(h=d.getCommonAncestor(0,1))&&(n=CKEDITOR.dtd[h.getName()])&&(!n||!n[e]);)if(h.getName()in CKEDITOR.dtd.span){var g=d.splitElement(h),l=d.createBookmark();c(h);c(g);d.moveToBookmark(l)}else d.checkStartOfBlock()&&d.checkEndOfBlock()?(d.setStartBefore(h), -d.collapse(!0),h.remove()):d.splitBlock(f==CKEDITOR.ENTER_DIV?"div":"p",b.editable());d.insertNode(a);return!0},setData:function(a,c){c||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);this.fixInitialSelection();"unloaded"==this.status&&(this.status="ready");this.editor.fire("dataReady")},getData:function(a){var c=this.getHtml();a||(c=this.editor.dataProcessor.toDataFormat(c));return c},setReadOnly:function(a){this.setAttribute("contenteditable",!a)},detach:function(){this.status="detached"; -this.editor.setData(this.editor.getData(),{internal:!0});this.clearListeners();try{this._.cleanCustomData()}catch(a){if(!CKEDITOR.env.ie||-2146828218!==a.number)throw a;}this.editor.fire("contentDomUnload");delete this.editor.document;delete this.editor.window;delete this.editor},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},fixInitialSelection:function(){function a(){var c=d.getDocument().$,b=c.getSelection(),f;a:if(b.anchorNode&&b.anchorNode==d.$)f=!0;else{if(CKEDITOR.env.webkit&& -(f=d.getDocument().getActive())&&f.equals(d)&&!b.anchorNode){f=!0;break a}f=void 0}f&&(f=new CKEDITOR.dom.range(d),f.moveToElementEditStart(d),c=c.createRange(),c.setStart(f.startContainer.$,f.startOffset),c.collapse(!0),b.removeAllRanges(),b.addRange(c))}function c(){var a=d.getDocument().$,b=a.selection,f=d.getDocument().getActive();"None"==b.type&&f.equals(d)&&(b=new CKEDITOR.dom.range(d),a=a.body.createTextRange(),b.moveToElementEditStart(d),b=b.startContainer,b.type!=CKEDITOR.NODE_ELEMENT&&(b= -b.getParent()),a.moveToElementText(b.$),a.collapse(!0),a.select())}var d=this;if(CKEDITOR.env.ie&&(9>CKEDITOR.env.version||CKEDITOR.env.quirks))this.hasFocus&&(this.focus(),c());else if(this.hasFocus)this.focus(),a();else this.once("focus",function(){a()},null,null,-999)},getHtmlFromRange:function(a){if(a.collapsed)return new CKEDITOR.dom.documentFragment(a.document);a={doc:this.getDocument(),range:a.clone()};z.eol.detect(a,this);z.bogus.exclude(a);z.cell.shrink(a);a.fragment=a.range.cloneContents(); -z.tree.rebuild(a,this);z.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,c){var d=y,b={range:a,doc:a.document},f=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),f;a.enlarge(CKEDITOR.ENLARGE_INLINE,1);d.table.detectPurge(b);b.bookmark=a.createBookmark();delete b.range;var e=this.editor.createRange();e.moveToPosition(b.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);b.targetBookmark=e.createBookmark();d.list.detectMerge(b,this); -d.table.detectRanges(b,this);d.block.detectMerge(b,this);b.tableContentsRanges?(d.table.deleteRanges(b),a.moveToBookmark(b.bookmark),b.range=a):(a.moveToBookmark(b.bookmark),b.range=a,a.extractContents(d.detectExtractMerge(b)));a.moveToBookmark(b.targetBookmark);a.optimize();d.fixUneditableRangePosition(a);d.list.merge(b,this);d.table.purge(b,this);d.block.merge(b,this);if(c){d=a.startPath();if(b=a.checkStartOfBlock()&&a.checkEndOfBlock()&&d.block&&!a.root.equals(d.block)){a:{var b=d.block.getElementsByTag("span"), -e=0,g;if(b)for(;g=b.getItem(e++);)if(!w(g)){b=!0;break a}b=!1}b=!b}b&&(a.moveToPosition(d.block,CKEDITOR.POSITION_BEFORE_START),d.block.remove())}else d.autoParagraph(this.editor,a),v(a.startContainer)&&a.startContainer.appendBogus();a.startContainer.mergeSiblings();return f},setup:function(){var a=this.editor;this.attachListener(a,"beforeGetData",function(){var c=this.getData();this.is("textarea")||!1!==a.config.ignoreEmptyParagraph&&(c=c.replace(r,function(a,c){return c}));a.setData(c,null,1)}, -this);this.attachListener(a,"getSnapshot",function(a){a.data=this.getData(1)},this);this.attachListener(a,"afterSetData",function(){this.setData(a.getData(1))},this);this.attachListener(a,"loadSnapshot",function(a){this.setData(a.data,1)},this);this.attachListener(a,"beforeFocus",function(){var c=a.getSelection();(c=c&&c.getNative())&&"Control"==c.type||this.focus()},this);this.attachListener(a,"insertHtml",function(a){this.insertHtml(a.data.dataValue,a.data.mode,a.data.range)},this);this.attachListener(a, -"insertElement",function(a){this.insertElement(a.data)},this);this.attachListener(a,"insertText",function(a){this.insertText(a.data)},this);this.setReadOnly(a.readOnly);this.attachClass("cke_editable");a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?this.attachClass("cke_editable_inline"):a.elementMode!=CKEDITOR.ELEMENT_MODE_REPLACE&&a.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO||this.attachClass("cke_editable_themed");this.attachClass("cke_contents_"+a.config.contentsLangDirection);a.keystrokeHandler.blockedKeystrokes[8]= -+a.readOnly;a.keystrokeHandler.attach(this);this.on("blur",function(){this.hasFocus=!1},null,null,-1);this.on("focus",function(){this.hasFocus=!0},null,null,-1);if(CKEDITOR.env.webkit)this.on("scroll",function(){a._.previousScrollTop=a.editable().$.scrollTop},null,null,-1);if(CKEDITOR.env.edge&&14<CKEDITOR.env.version){var c=function(){var d=a.editable();null!=a._.previousScrollTop&&d.getDocument().equals(CKEDITOR.document)&&(d.$.scrollTop=a._.previousScrollTop,a._.previousScrollTop=null,this.removeListener("scroll", -c))};this.on("scroll",c)}a.focusManager.add(this);this.equals(CKEDITOR.document.getActive())&&(this.hasFocus=!0,a.once("contentDom",function(){a.focusManager.focus(this)},this));this.isInline()&&this.changeAttr("tabindex",a.tabIndex);if(!this.is("textarea")){a.document=this.getDocument();a.window=this.getWindow();var b=a.document;this.changeAttr("spellcheck",!a.config.disableNativeSpellChecker);var f=a.config.contentsLangDirection;this.getDirection(1)!=f&&this.changeAttr("dir",f);var h=CKEDITOR.getCss(); -if(h){var f=b.getHead(),l=f.getCustomData("stylesheet");l?h!=l.getText()&&(CKEDITOR.env.ie&&9>CKEDITOR.env.version?l.$.styleSheet.cssText=h:l.setText(h)):(h=b.appendStyleText(h),h=new CKEDITOR.dom.element(h.ownerNode||h.owningElement),f.setCustomData("stylesheet",h),h.data("cke-temp",1))}f=b.getCustomData("stylesheet_ref")||0;b.setCustomData("stylesheet_ref",f+1);this.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling);this.attachListener(this,"click",function(a){a=a.data;var c= -(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains("a");c&&2!=a.$.button&&c.isReadOnly()&&a.preventDefault()});var k={8:1,46:1};this.attachListener(a,"key",function(c){if(a.readOnly)return!0;var d=c.data.domEvent.getKey(),b;c=a.getSelection();if(0!==c.getRanges().length){if(d in k){var f,e=c.getRanges()[0],g=e.startPath(),h,l,q,d=8==d;CKEDITOR.env.ie&&11>CKEDITOR.env.version&&(f=c.getSelectedElement())||(f=m(c))?(a.fire("saveSnapshot"),e.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START),f.remove(), -e.select(),a.fire("saveSnapshot"),b=1):e.collapsed&&((h=g.block)&&(q=h[d?"getPrevious":"getNext"](n))&&q.type==CKEDITOR.NODE_ELEMENT&&q.is("table")&&e[d?"checkStartOfBlock":"checkEndOfBlock"]()?(a.fire("saveSnapshot"),e[d?"checkEndOfBlock":"checkStartOfBlock"]()&&h.remove(),e["moveToElementEdit"+(d?"End":"Start")](q),e.select(),a.fire("saveSnapshot"),b=1):g.blockLimit&&g.blockLimit.is("td")&&(l=g.blockLimit.getAscendant("table"))&&e.checkBoundaryOfElement(l,d?CKEDITOR.START:CKEDITOR.END)&&(q=l[d? -"getPrevious":"getNext"](n))?(a.fire("saveSnapshot"),e["moveToElementEdit"+(d?"End":"Start")](q),e.checkStartOfBlock()&&e.checkEndOfBlock()?q.remove():e.select(),a.fire("saveSnapshot"),b=1):(l=g.contains(["td","th","caption"]))&&e.checkBoundaryOfElement(l,d?CKEDITOR.START:CKEDITOR.END)&&(b=1))}return!b}});a.blockless&&CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller&&this.attachListener(this,"keyup",function(c){c.data.getKeystroke()in k&&!this.getFirst(e)&&(this.appendBogus(),c=a.createRange(),c.moveToPosition(this, -CKEDITOR.POSITION_AFTER_START),c.select())});this.attachListener(this,"dblclick",function(c){if(a.readOnly)return!1;c={element:c.data.getTarget()};a.fire("doubleclick",c)});CKEDITOR.env.ie&&this.attachListener(this,"click",g);CKEDITOR.env.ie&&!CKEDITOR.env.edge||this.attachListener(this,"mousedown",function(c){var d=c.data.getTarget();d.is("img","hr","input","textarea","select")&&!d.isReadOnly()&&(a.getSelection().selectElement(d),d.is("input","textarea","select")&&c.data.preventDefault())});CKEDITOR.env.edge&& -this.attachListener(this,"mouseup",function(c){(c=c.data.getTarget())&&c.is("img")&&!c.isReadOnly()&&a.getSelection().selectElement(c)});CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(c){if(2==c.data.$.button&&(c=c.data.getTarget(),!c.getAscendant("table")&&!c.getOuterHtml().replace(r,""))){var d=a.createRange();d.moveToElementEditStart(c);d.select(!0)}});CKEDITOR.env.webkit&&(this.attachListener(this,"click",function(a){a.data.getTarget().is("input","select")&&a.data.preventDefault()}), -this.attachListener(this,"mouseup",function(a){a.data.getTarget().is("input","textarea")&&a.data.preventDefault()}));CKEDITOR.env.webkit&&this.attachListener(a,"key",function(c){if(a.readOnly)return!0;var b=c.data.domEvent.getKey();if(b in k&&(c=a.getSelection(),0!==c.getRanges().length)){var b=8==b,f=c.getRanges()[0];c=f.startPath();if(f.collapsed)a:{var e=c.block;if(e&&f[b?"checkStartOfBlock":"checkEndOfBlock"]()&&f.moveToClosestEditablePosition(e,!b)&&f.collapsed){if(f.startContainer.type==CKEDITOR.NODE_ELEMENT){var g= -f.startContainer.getChild(f.startOffset-(b?1:0));if(g&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("hr")){a.fire("saveSnapshot");g.remove();c=!0;break a}}f=f.startPath().block;if(!f||f&&f.contains(e))c=void 0;else{a.fire("saveSnapshot");var h;(h=(b?f:e).getBogus())&&h.remove();h=a.getSelection();g=h.createBookmarks();(b?e:f).moveChildren(b?f:e,!1);c.lastElement.mergeSiblings();d(e,f,!b);h.selectBookmarks(g);c=!0}}else c=!1}else b=f,h=c.block,f=b.endPath().block,h&&f&&!h.equals(f)?(a.fire("saveSnapshot"), -(e=h.getBogus())&&e.remove(),b.enlarge(CKEDITOR.ENLARGE_INLINE),b.deleteContents(),f.getParent()&&(f.moveChildren(h,!1),c.lastElement.mergeSiblings(),d(h,f,!0)),b=a.getSelection().getRanges()[0],b.collapse(1),b.optimize(),""===b.startContainer.getHtml()&&b.startContainer.appendBogus(),b.select(),c=!0):c=!1;if(!c)return;a.getSelection().scrollIntoView();a.fire("saveSnapshot");return!1}},this,null,100)}},getUniqueId:function(){var a;try{this._.expandoNumber=a=CKEDITOR.dom.domObject.prototype.getUniqueId.call(this)}catch(c){a= -this._&&this._.expandoNumber}return a}},_:{cleanCustomData:function(){this.removeClass("cke_editable");this.restoreAttrs();for(var a=this.removeCustomData("classes");a&&a.length;)this.removeClass(a.pop());if(!this.is("textarea")){var a=this.getDocument(),c=a.getHead();if(c.getCustomData("stylesheet")){var d=a.getCustomData("stylesheet_ref");--d?a.setCustomData("stylesheet_ref",d):(a.removeCustomData("stylesheet_ref"),c.removeCustomData("stylesheet").remove())}}}}});CKEDITOR.editor.prototype.editable= -function(a){var c=this._.editable;if(c&&a)return 0;if(!arguments.length)return c;a?c=a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(c&&c.detach(),c=null);return this._.editable=c};CKEDITOR.on("instanceLoaded",function(a){var c=a.editor;c.on("insertElement",function(a){a=a.data;a.type==CKEDITOR.NODE_ELEMENT&&(a.is("input")||a.is("textarea"))&&("false"!=a.getAttribute("contentEditable")&&a.data("cke-editable",a.hasAttribute("contenteditable")?"true":"1"),a.setAttribute("contentEditable", -!1))});c.on("selectionChange",function(a){if(!c.readOnly){var d=c.getSelection();d&&!d.isLocked&&(d=c.checkDirty(),c.fire("lockSnapshot"),b(a),c.fire("unlockSnapshot"),!d&&c.resetDirty())}})});CKEDITOR.on("instanceCreated",function(a){var c=a.editor;c.on("mode",function(){var a=c.editable();if(a&&a.isInline()){var d=c.title;a.changeAttr("role","textbox");a.changeAttr("aria-multiline","true");a.changeAttr("aria-label",d);d&&a.changeAttr("title",d);var b=c.fire("ariaEditorHelpLabel",{}).label;if(b&& -(d=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"top":"contents"))){var f=CKEDITOR.tools.getNextId(),b=CKEDITOR.dom.element.createFromHtml('\x3cspan id\x3d"'+f+'" class\x3d"cke_voice_label"\x3e'+b+"\x3c/span\x3e");d.append(b);a.changeAttr("aria-describedby",f)}}})});CKEDITOR.addCss(".cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}");n=CKEDITOR.dom.walker.whitespaces(!0);w=CKEDITOR.dom.walker.bookmark(!1,!0);v=CKEDITOR.dom.walker.empty(); -p=CKEDITOR.dom.walker.bogus();r=/(^|<body\b[^>]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:<br[^>]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi;q=function(){function a(c){return c.type==CKEDITOR.NODE_ELEMENT}function d(c,b){var f,e,g,h,n=[],l=b.range.startContainer;f=b.range.startPath();for(var l=m[l.getName()],k=0,q=c.getChildren(),r=q.count(),w=-1,t=-1,x=0,G=f.contains(m.$list);k<r;++k)f=q.getItem(k),a(f)?(g=f.getName(),G&&g in CKEDITOR.dtd.$list?n=n.concat(d(f,b)):(h=!!l[g], -"br"!=g||!f.data("cke-eol")||k&&k!=r-1||(x=(e=k?n[k-1].node:q.getItem(k+1))&&(!a(e)||!e.is("br")),e=e&&a(e)&&m.$block[e.getName()]),-1!=w||h||(w=k),h||(t=k),n.push({isElement:1,isLineBreak:x,isBlock:f.isBlockBoundary(),hasBlockSibling:e,node:f,name:g,allowed:h}),e=x=0)):n.push({isElement:0,node:f,allowed:1});-1<w&&(n[w].firstNotAllowed=1);-1<t&&(n[t].lastNotAllowed=1);return n}function b(c,d){var f=[],e=c.getChildren(),g=e.count(),h,n=0,l=m[d],k=!c.is(m.$inline)||c.is("br");for(k&&f.push(" ");n<g;n++)h= -e.getItem(n),a(h)&&!h.is(l)?f=f.concat(b(h,d)):f.push(h);k&&f.push(" ");return f}function f(c){return a(c.startContainer)&&c.startContainer.getChild(c.startOffset-1)}function g(c){return c&&a(c)&&(c.is(m.$removeEmpty)||c.is("a")&&!c.isBlockBoundary())}function h(c,d,b,f){var e=c.clone(),g,n;e.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);(g=(new CKEDITOR.dom.walker(e)).next())&&a(g)&&q[g.getName()]&&(n=g.getPrevious())&&a(n)&&!n.getParent().equals(c.startContainer)&&b.contains(n)&&f.contains(g)&&g.isIdentical(n)&& -(g.moveChildren(n),g.remove(),h(c,d,b,f))}function n(c,d){function b(c,d){if(d.isBlock&&d.isElement&&!d.node.is("br")&&a(c)&&c.is("br"))return c.remove(),1}var f=d.endContainer.getChild(d.endOffset),e=d.endContainer.getChild(d.endOffset-1);f&&b(f,c[c.length-1]);e&&b(e,c[0])&&(d.setEnd(d.endContainer,d.endOffset-1),d.collapse())}var m=CKEDITOR.dtd,q={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,ul:1,ol:1,li:1,pre:1,dl:1,blockquote:1},r={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},w=CKEDITOR.tools.extend({}, -m.$inline);delete w.br;return function(q,D,K,t){var x=q.editor,p=!1;"unfiltered_html"==D&&(D="html",p=!0);if(!t.checkReadOnly()){var y=(new CKEDITOR.dom.elementPath(t.startContainer,t.root)).blockLimit||t.root;D={type:D,dontFilter:p,editable:q,editor:x,range:t,blockLimit:y,mergeCandidates:[],zombies:[]};var p=D.range,y=D.mergeCandidates,v="html"===D.type,z,F,T,Z,ca,aa;"text"==D.type&&p.shrink(CKEDITOR.SHRINK_ELEMENT,!0,!1)&&(F=CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e", -p.document),p.insertNode(F),p.setStartAfter(F));T=new CKEDITOR.dom.elementPath(p.startContainer);D.endPath=Z=new CKEDITOR.dom.elementPath(p.endContainer);if(!p.collapsed){z=Z.block||Z.blockLimit;var da=p.getCommonAncestor();z&&!z.equals(da)&&!z.contains(da)&&p.checkEndOfBlock()&&D.zombies.push(z);p.deleteContents()}for(;(ca=f(p))&&a(ca)&&ca.isBlockBoundary()&&T.contains(ca);)p.moveToPosition(ca,CKEDITOR.POSITION_BEFORE_END);h(p,D.blockLimit,T,Z);F&&(p.setEndBefore(F),p.collapse(),F.remove());F=p.startPath(); -if(z=F.contains(g,!1,1))aa=p.splitElement(z),D.inlineStylesRoot=z,D.inlineStylesPeak=F.lastElement;F=p.createBookmark();v&&(c(z),c(aa));(z=F.startNode.getPrevious(e))&&a(z)&&g(z)&&y.push(z);(z=F.startNode.getNext(e))&&a(z)&&g(z)&&y.push(z);for(z=F.startNode;(z=z.getParent())&&g(z);)y.push(z);p.moveToBookmark(F);x.enterMode===CKEDITOR.ENTER_DIV&&""===x.getData(!0)&&((x=q.getFirst())&&x.remove(),t.setStartAt(q,CKEDITOR.POSITION_AFTER_START),t.collapse(!0));if(q=K){q=D.range;if("text"==D.type&&D.inlineStylesRoot){t= -D.inlineStylesPeak;x=t.getDocument().createText("{cke-peak}");for(aa=D.inlineStylesRoot.getParent();!t.equals(aa);)x=x.appendTo(t.clone()),t=t.getParent();K=x.getOuterHtml().split("{cke-peak}").join(K)}t=D.blockLimit.getName();if(/^\s+|\s+$/.test(K)&&"span"in CKEDITOR.dtd[t]){var ba='\x3cspan data-cke-marker\x3d"1"\x3e\x26nbsp;\x3c/span\x3e';K=ba+K+ba}K=D.editor.dataProcessor.toHtml(K,{context:null,fixForBody:!1,protectedWhitespaces:!!ba,dontFilter:D.dontFilter,filter:D.editor.activeFilter,enterMode:D.editor.activeEnterMode}); -t=q.document.createElement("body");t.setHtml(K);ba&&(t.getFirst().remove(),t.getLast().remove());if((ba=q.startPath().block)&&(1!=ba.getChildCount()||!ba.getBogus()))a:{var S;if(1==t.getChildCount()&&a(S=t.getFirst())&&S.is(r)&&!S.hasAttribute("contenteditable")){ba=S.getElementsByTag("*");q=0;for(aa=ba.count();q<aa;q++)if(x=ba.getItem(q),!x.is(w))break a;S.moveChildren(S.getParent(1));S.remove()}}D.dataWrapper=t;q=K}if(q){S=D.range;q=S.document;t=D.blockLimit;aa=0;var V,ba=[],U,Q;K=F=0;var P,x=S.startContainer; -ca=D.endPath.elements[0];var ga,p=ca.getPosition(x),y=!!ca.getCommonAncestor(x)&&p!=CKEDITOR.POSITION_IDENTICAL&&!(p&CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_IS_CONTAINED),x=d(D.dataWrapper,D);for(n(x,S);aa<x.length;aa++){p=x[aa];if(v=p.isLineBreak)v=S,z=t,Z=T=void 0,p.hasBlockSibling?v=1:(T=v.startContainer.getAscendant(m.$block,1))&&T.is({div:1,p:1})?(Z=T.getPosition(z),Z==CKEDITOR.POSITION_IDENTICAL||Z==CKEDITOR.POSITION_CONTAINS?v=0:(z=v.splitElement(T),v.moveToPosition(z,CKEDITOR.POSITION_AFTER_START), -v=1)):v=0;if(v)K=0<aa;else{v=S.startPath();!p.isBlock&&l(D.editor,v.block,v.blockLimit)&&(Q=k(D.editor))&&(Q=q.createElement(Q),Q.appendBogus(),S.insertNode(Q),CKEDITOR.env.needsBrFiller&&(V=Q.getBogus())&&V.remove(),S.moveToPosition(Q,CKEDITOR.POSITION_BEFORE_END));if((v=S.startPath().block)&&!v.equals(U)){if(V=v.getBogus())V.remove(),ba.push(v);U=v}p.firstNotAllowed&&(F=1);if(F&&p.isElement){v=S.startContainer;for(z=null;v&&!m[v.getName()][p.name];){if(v.equals(t)){v=null;break}z=v;v=v.getParent()}if(v)z&& -(P=S.splitElement(z),D.zombies.push(P),D.zombies.push(z));else{z=t.getName();ga=!aa;v=aa==x.length-1;z=b(p.node,z);T=[];Z=z.length;for(var da=0,ia=void 0,ha=0,fa=-1;da<Z;da++)ia=z[da]," "==ia?(ha||ga&&!da||(T.push(new CKEDITOR.dom.text(" ")),fa=T.length),ha=1):(T.push(ia),ha=0);v&&fa==T.length&&T.pop();ga=T}}if(ga){for(;v=ga.pop();)S.insertNode(v);ga=0}else S.insertNode(p.node);p.lastNotAllowed&&aa<x.length-1&&((P=y?ca:P)&&S.setEndAt(P,CKEDITOR.POSITION_AFTER_START),F=0);S.collapse()}}1!=x.length? -V=!1:(V=x[0],V=V.isElement&&"false"==V.node.getAttribute("contenteditable"));V&&(K=!0,v=x[0].node,S.setStartAt(v,CKEDITOR.POSITION_BEFORE_START),S.setEndAt(v,CKEDITOR.POSITION_AFTER_END));D.dontMoveCaret=K;D.bogusNeededBlocks=ba}V=D.range;var ja;P=D.bogusNeededBlocks;for(ga=V.createBookmark();U=D.zombies.pop();)U.getParent()&&(Q=V.clone(),Q.moveToElementEditStart(U),Q.removeEmptyBlocksAtEnd());if(P)for(;U=P.pop();)CKEDITOR.env.needsBrFiller?U.appendBogus():U.append(V.document.createText(" "));for(;U= -D.mergeCandidates.pop();)U.mergeSiblings();V.moveToBookmark(ga);if(!D.dontMoveCaret){for(U=f(V);U&&a(U)&&!U.is(m.$empty);){if(U.isBlockBoundary())V.moveToPosition(U,CKEDITOR.POSITION_BEFORE_END);else{if(g(U)&&U.getHtml().match(/(\s| )$/g)){ja=null;break}ja=V.clone();ja.moveToPosition(U,CKEDITOR.POSITION_BEFORE_END)}U=U.getLast(e)}ja&&V.moveToRange(ja)}}}}();x=function(){function a(c){c=new CKEDITOR.dom.walker(c);c.guard=function(a,c){if(c)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$tableContent)}; -c.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT};return c}function c(a,d,b){d=a.getDocument().createElement(d);a.append(d,b);return d}function d(a){var c=a.count(),b;for(c;0<c--;)b=a.getItem(c),CKEDITOR.tools.trim(b.getHtml())||(b.appendBogus(),CKEDITOR.env.ie&&9>CKEDITOR.env.version&&b.getChildCount()&&b.getFirst().remove())}return function(b){var f=b.startContainer,e=f.getAscendant("table",1),g=!1;d(e.getElementsByTag("td"));d(e.getElementsByTag("th"));e=b.clone();e.setStart(f,0);e= -a(e).lastBackward();e||(e=b.clone(),e.setEndAt(f,CKEDITOR.POSITION_BEFORE_END),e=a(e).lastForward(),g=!0);e||(e=f);e.is("table")?(b.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),b.collapse(!0),e.remove()):(e.is({tbody:1,thead:1,tfoot:1})&&(e=c(e,"tr",g)),e.is("tr")&&(e=c(e,e.getParent().is("thead")?"th":"td",g)),(f=e.getBogus())&&f.remove(),b.moveToPosition(e,g?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();t=function(){function a(c){c=new CKEDITOR.dom.walker(c);c.guard=function(a, -c){if(c)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$list)||a.is(CKEDITOR.dtd.$listItem)};c.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.is(CKEDITOR.dtd.$listItem)};return c}return function(c){var d=c.startContainer,b=!1,f;f=c.clone();f.setStart(d,0);f=a(f).lastBackward();f||(f=c.clone(),f.setEndAt(d,CKEDITOR.POSITION_BEFORE_END),f=a(f).lastForward(),b=!0);f||(f=d);f.is(CKEDITOR.dtd.$list)?(c.setStartAt(f,CKEDITOR.POSITION_BEFORE_START),c.collapse(!0),f.remove()): -((d=f.getBogus())&&d.remove(),c.moveToPosition(f,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),c.select())}}();z={eol:{detect:function(a,c){var d=a.range,b=d.clone(),f=d.clone(),e=new CKEDITOR.dom.elementPath(d.startContainer,c),g=new CKEDITOR.dom.elementPath(d.endContainer,c);b.collapse(1);f.collapse();e.block&&b.checkBoundaryOfElement(e.block,CKEDITOR.END)&&(d.setStartAfter(e.block),a.prependEolBr=1);g.block&&f.checkBoundaryOfElement(g.block,CKEDITOR.START)&&(d.setEndBefore(g.block), -a.appendEolBr=1)},fix:function(a,c){var d=c.getDocument(),b;a.appendEolBr&&(b=this.createEolBr(d),a.fragment.append(b));!a.prependEolBr||b&&!b.getPrevious()||a.fragment.append(this.createEolBr(d),1)},createEolBr:function(a){return a.createElement("br",{attributes:{"data-cke-eol":1}})}},bogus:{exclude:function(a){var c=a.range.getBoundaryNodes(),d=c.startNode,c=c.endNode;!c||!p(c)||d&&d.equals(c)||a.range.setEndBefore(c)}},tree:{rebuild:function(a,c){var d=a.range,b=d.getCommonAncestor(),f=new CKEDITOR.dom.elementPath(b, -c),e=new CKEDITOR.dom.elementPath(d.startContainer,c),d=new CKEDITOR.dom.elementPath(d.endContainer,c),g;b.type==CKEDITOR.NODE_TEXT&&(b=b.getParent());if(f.blockLimit.is({tr:1,table:1})){var h=f.contains("table").getParent();g=function(a){return!a.equals(h)}}else if(f.block&&f.block.is(CKEDITOR.dtd.$listItem)&&(e=e.contains(CKEDITOR.dtd.$list),d=d.contains(CKEDITOR.dtd.$list),!e.equals(d))){var n=f.contains(CKEDITOR.dtd.$list).getParent();g=function(a){return!a.equals(n)}}g||(g=function(a){return!a.equals(f.block)&& -!a.equals(f.blockLimit)});this.rebuildFragment(a,c,b,g)},rebuildFragment:function(a,c,d,b){for(var f;d&&!d.equals(c)&&b(d);)f=d.clone(0,1),a.fragment.appendTo(f),a.fragment=f,d=d.getParent()}},cell:{shrink:function(a){a=a.range;var c=a.startContainer,d=a.endContainer,b=a.startOffset,f=a.endOffset;c.type==CKEDITOR.NODE_ELEMENT&&c.equals(d)&&c.is("tr")&&++b==f&&a.shrink(CKEDITOR.SHRINK_TEXT)}}};y=function(){function a(c,d){var b=c.getParent();if(b.is(CKEDITOR.dtd.$inline))c[d?"insertBefore":"insertAfter"](b)} -function c(d,b,f){a(b);a(f,1);for(var e;e=f.getNext();)e.insertAfter(b),b=e;v(d)&&d.remove()}function d(a,c){var b=new CKEDITOR.dom.range(a);b.setStartAfter(c.startNode);b.setEndBefore(c.endNode);return b}return{list:{detectMerge:function(a,c){var b=d(c,a.bookmark),f=b.startPath(),e=b.endPath(),g=f.contains(CKEDITOR.dtd.$list),h=e.contains(CKEDITOR.dtd.$list);a.mergeList=g&&h&&g.getParent().equals(h.getParent())&&!g.equals(h);a.mergeListItems=f.block&&e.block&&f.block.is(CKEDITOR.dtd.$listItem)&& -e.block.is(CKEDITOR.dtd.$listItem);if(a.mergeList||a.mergeListItems)b=b.clone(),b.setStartBefore(a.bookmark.startNode),b.setEndAfter(a.bookmark.endNode),a.mergeListBookmark=b.createBookmark()},merge:function(a,d){if(a.mergeListBookmark){var b=a.mergeListBookmark.startNode,f=a.mergeListBookmark.endNode,e=new CKEDITOR.dom.elementPath(b,d),g=new CKEDITOR.dom.elementPath(f,d);if(a.mergeList){var h=e.contains(CKEDITOR.dtd.$list),n=g.contains(CKEDITOR.dtd.$list);h.equals(n)||(n.moveChildren(h),n.remove())}a.mergeListItems&& -(e=e.contains(CKEDITOR.dtd.$listItem),g=g.contains(CKEDITOR.dtd.$listItem),e.equals(g)||c(g,b,f));b.remove();f.remove()}}},block:{detectMerge:function(a,c){if(!a.tableContentsRanges&&!a.mergeListBookmark){var d=new CKEDITOR.dom.range(c);d.setStartBefore(a.bookmark.startNode);d.setEndAfter(a.bookmark.endNode);a.mergeBlockBookmark=d.createBookmark()}},merge:function(a,d){if(a.mergeBlockBookmark&&!a.purgeTableBookmark){var b=a.mergeBlockBookmark.startNode,f=a.mergeBlockBookmark.endNode,e=new CKEDITOR.dom.elementPath(b, -d),g=new CKEDITOR.dom.elementPath(f,d),e=e.block,g=g.block;e&&g&&!e.equals(g)&&c(g,b,f);b.remove();f.remove()}}},table:function(){function a(d){var f=[],e,g=new CKEDITOR.dom.walker(d),h=d.startPath().contains(b),n=d.endPath().contains(b),l={};g.guard=function(a,g){if(a.type==CKEDITOR.NODE_ELEMENT){var k="visited_"+(g?"out":"in");if(a.getCustomData(k))return;CKEDITOR.dom.element.setMarker(l,a,k,1)}if(g&&h&&a.equals(h))e=d.clone(),e.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),f.push(e);else if(!g&&n&& -a.equals(n))e=d.clone(),e.setStartAt(n,CKEDITOR.POSITION_AFTER_START),f.push(e);else{if(k=!g)k=a.type==CKEDITOR.NODE_ELEMENT&&a.is(b)&&(!h||c(a,h))&&(!n||c(a,n));if(!k&&(k=g))if(a.is(b))var k=h&&h.getAscendant("table",!0),m=n&&n.getAscendant("table",!0),q=a.getAscendant("table",!0),k=k&&k.contains(q)||m&&m.contains(q);else k=void 0;k&&(e=d.clone(),e.selectNodeContents(a),f.push(e))}};g.lastForward();CKEDITOR.dom.element.clearAllMarkers(l);return f}function c(a,d){var b=CKEDITOR.POSITION_CONTAINS+ -CKEDITOR.POSITION_IS_CONTAINED,f=a.getPosition(d);return f===CKEDITOR.POSITION_IDENTICAL?!1:0===(f&b)}var b={td:1,th:1,caption:1};return{detectPurge:function(a){var c=a.range,d=c.clone();d.enlarge(CKEDITOR.ENLARGE_ELEMENT);var d=new CKEDITOR.dom.walker(d),f=0;d.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&&a.is(b)&&++f};d.checkForward();if(1<f){var d=c.startPath().contains("table"),e=c.endPath().contains("table");d&&e&&c.checkBoundaryOfElement(d,CKEDITOR.START)&&c.checkBoundaryOfElement(e, -CKEDITOR.END)&&(c=a.range.clone(),c.setStartBefore(d),c.setEndAfter(e),a.purgeTableBookmark=c.createBookmark())}},detectRanges:function(f,e){var g=d(e,f.bookmark),h=g.clone(),n,l,k=g.getCommonAncestor();k.is(CKEDITOR.dtd.$tableContent)&&!k.is(b)&&(k=k.getAscendant("table",!0));l=k;k=new CKEDITOR.dom.elementPath(g.startContainer,l);l=new CKEDITOR.dom.elementPath(g.endContainer,l);k=k.contains("table");l=l.contains("table");if(k||l)k&&l&&c(k,l)?(f.tableSurroundingRange=h,h.setStartAt(k,CKEDITOR.POSITION_AFTER_END), -h.setEndAt(l,CKEDITOR.POSITION_BEFORE_START),h=g.clone(),h.setEndAt(k,CKEDITOR.POSITION_AFTER_END),n=g.clone(),n.setStartAt(l,CKEDITOR.POSITION_BEFORE_START),n=a(h).concat(a(n))):k?l||(f.tableSurroundingRange=h,h.setStartAt(k,CKEDITOR.POSITION_AFTER_END),g.setEndAt(k,CKEDITOR.POSITION_AFTER_END)):(f.tableSurroundingRange=h,h.setEndAt(l,CKEDITOR.POSITION_BEFORE_START),g.setStartAt(l,CKEDITOR.POSITION_AFTER_START)),f.tableContentsRanges=n?n:a(g)},deleteRanges:function(a){for(var c;c=a.tableContentsRanges.pop();)c.extractContents(), -v(c.startContainer)&&c.startContainer.appendBogus();a.tableSurroundingRange&&a.tableSurroundingRange.extractContents()},purge:function(a){if(a.purgeTableBookmark){var c=a.doc,d=a.range.clone(),c=c.createElement("p");c.insertBefore(a.purgeTableBookmark.startNode);d.moveToBookmark(a.purgeTableBookmark);d.deleteContents();a.range.moveToPosition(c,CKEDITOR.POSITION_AFTER_START)}}}}(),detectExtractMerge:function(a){return!(a.range.startPath().contains(CKEDITOR.dtd.$listItem)&&a.range.endPath().contains(CKEDITOR.dtd.$listItem))}, -fixUneditableRangePosition:function(a){a.startContainer.getDtd()["#"]||a.moveToClosestEditablePosition(null,!0)},autoParagraph:function(a,c){var d=c.startPath(),b;l(a,d.block,d.blockLimit)&&(b=k(a))&&(b=c.document.createElement(b),b.appendBogus(),c.insertNode(b),c.moveToPosition(b,CKEDITOR.POSITION_AFTER_START))}}}()})();(function(){function b(a){return CKEDITOR.plugins.widget&&CKEDITOR.plugins.widget.isDomWidget(a)}function h(a,c){if(0===a.length||b(a[0].getEnclosedNode()))return!1;var d,f;if((d= -!c&&1===a.length)&&!(d=a[0].collapsed)){var e=a[0];d=e.startContainer.getAscendant({td:1,th:1},!0);var g=e.endContainer.getAscendant({td:1,th:1},!0);f=CKEDITOR.tools.trim;d&&d.equals(g)&&!d.findOne("td, th, tr, tbody, table")?(e=e.cloneContents(),d=e.getFirst()?f(e.getFirst().getText())!==f(d.getText()):!0):d=!1}if(d)return!1;for(f=0;f<a.length;f++)if(d=a[f]._getTableElement(),!d)return!1;return!0}function g(a){function c(a){a=a.find("td, th");var d=[],b;for(b=0;b<a.count();b++)d.push(a.getItem(b)); -return d}var d=[],b,f;for(f=0;f<a.length;f++)b=a[f]._getTableElement(),b.is&&b.is({td:1,th:1})?d.push(b):d=d.concat(c(b));return d}function e(a){a=g(a);var c="",d=[],b,f;for(f=0;f<a.length;f++)b&&!b.equals(a[f].getAscendant("tr"))?(c+=d.join("\t")+"\n",b=a[f].getAscendant("tr"),d=[]):0===f&&(b=a[f].getAscendant("tr")),d.push(a[f].getText());return c+=d.join("\t")}function a(a){var c=this.root.editor,d=c.getSelection(1);this.reset();y=!0;d.root.once("selectionchange",function(a){a.cancel()},null,null, -0);d.selectRanges([a[0]]);d=this._.cache;d.ranges=new CKEDITOR.dom.rangeList(a);d.type=CKEDITOR.SELECTION_TEXT;d.selectedElement=a[0]._getTableElement();d.selectedText=e(a);d.nativeSel=null;this.isFake=1;this.rev=x++;c._.fakeSelection=this;y=!1;this.root.fire("selectionchange")}function m(){var a=this._.fakeSelection,c;if(a){c=this.getSelection(1);var d;if(!(d=!c)&&(d=!c.isHidden())){d=a;var f=c.getRanges(),e=d.getRanges(),g=f.length&&f[0]._getTableElement()&&f[0]._getTableElement().getAscendant("table", -!0),n=e.length&&e[0]._getTableElement()&&e[0]._getTableElement().getAscendant("table",!0),l=1===f.length&&f[0]._getTableElement()&&f[0]._getTableElement().is("table"),k=1===e.length&&e[0]._getTableElement()&&e[0]._getTableElement().is("table");if(b(d.getSelectedElement()))d=!1;else{var m=1===f.length&&f[0].collapsed,e=h(f,!!CKEDITOR.env.webkit)&&h(e);g=g&&n?g.equals(n)||n.contains(g):!1;g&&(m||e)?(l&&!k&&d.selectRanges(f),d=!0):d=!1}d=!d}d&&(a.reset(),a=0)}if(!a&&(a=c||this.getSelection(1),!a||a.getType()== -CKEDITOR.SELECTION_NONE))return;this.fire("selectionCheck",a);c=this.elementPath();c.compare(this._.selectionPreviousPath)||(d=this._.selectionPreviousPath&&this._.selectionPreviousPath.blockLimit.equals(c.blockLimit),!CKEDITOR.env.webkit&&!CKEDITOR.env.gecko||d||(this._.previousActive=this.document.getActive()),this._.selectionPreviousPath=c,this.fire("selectionChange",{selection:a,path:c}))}function l(){B=!0;u||(k.call(this),u=CKEDITOR.tools.setTimeout(k,200,this))}function k(){u=null;B&&(CKEDITOR.tools.setTimeout(m, -0,this),B=!1)}function c(a){return C(a)||a.type==CKEDITOR.NODE_ELEMENT&&!a.is(CKEDITOR.dtd.$empty)?!0:!1}function f(a){function d(c,b){return c&&c.type!=CKEDITOR.NODE_TEXT?a.clone()["moveToElementEdit"+(b?"End":"Start")](c):!1}if(!(a.root instanceof CKEDITOR.editable))return!1;var b=a.startContainer,f=a.getPreviousNode(c,null,b),e=a.getNextNode(c,null,b);return d(f)||d(e,1)||!(f||e||b.type==CKEDITOR.NODE_ELEMENT&&b.isBlockBoundary()&&b.getBogus())?!0:!1}function d(a){n(a,!1);var c=a.getDocument().createText(t); -a.setCustomData("cke-fillingChar",c);return c}function n(a,c){var d=a&&a.removeCustomData("cke-fillingChar");if(d){if(!1!==c){var b=a.getDocument().getSelection().getNative(),f=b&&"None"!=b.type&&b.getRangeAt(0),e=t.length;if(d.getLength()>e&&f&&f.intersectsNode(d.$)){var g=[{node:b.anchorNode,offset:b.anchorOffset},{node:b.focusNode,offset:b.focusOffset}];b.anchorNode==d.$&&b.anchorOffset>e&&(g[0].offset-=e);b.focusNode==d.$&&b.focusOffset>e&&(g[1].offset-=e)}}d.setText(w(d.getText(),1));g&&(d=a.getDocument().$, -b=d.getSelection(),d=d.createRange(),d.setStart(g[0].node,g[0].offset),d.collapse(!0),b.removeAllRanges(),b.addRange(d),b.extend(g[1].node,g[1].offset))}}function w(a,c){return c?a.replace(z,function(a,c){return c?" ":""}):a.replace(t,"")}function v(a,c){var d=c&&CKEDITOR.tools.htmlEncode(c)||"\x26nbsp;",d=CKEDITOR.dom.element.createFromHtml('\x3cdiv data-cke-hidden-sel\x3d"1" data-cke-temp\x3d"1" style\x3d"'+(CKEDITOR.env.ie&&14>CKEDITOR.env.version?"display:none":"position:fixed;top:0;left:-1000px;width:0;height:0;overflow:hidden;")+ -'"\x3e'+d+"\x3c/div\x3e",a.document);a.fire("lockSnapshot");a.editable().append(d);var b=a.getSelection(1),f=a.createRange(),e=b.root.on("selectionchange",function(a){a.cancel()},null,null,0);f.setStartAt(d,CKEDITOR.POSITION_AFTER_START);f.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);b.selectRanges([f]);e.removeListener();a.fire("unlockSnapshot");a._.hiddenSelectionContainer=d}function p(a){var c={37:1,39:1,8:1,46:1};return function(d){var b=d.data.getKeystroke();if(c[b]){var f=a.getSelection().getRanges(), -e=f[0];1==f.length&&e.collapsed&&(b=e[38>b?"getPreviousEditableNode":"getNextEditableNode"]())&&b.type==CKEDITOR.NODE_ELEMENT&&"false"==b.getAttribute("contenteditable")&&(a.getSelection().fake(b),d.data.preventDefault(),d.cancel())}}}function r(a){for(var c=0;c<a.length;c++){var d=a[c];d.getCommonAncestor().isReadOnly()&&a.splice(c,1);if(!d.collapsed){if(d.startContainer.isReadOnly())for(var b=d.startContainer,f;b&&!((f=b.type==CKEDITOR.NODE_ELEMENT)&&b.is("body")||!b.isReadOnly());)f&&"false"== -b.getAttribute("contentEditable")&&d.setStartAfter(b),b=b.getParent();b=d.startContainer;f=d.endContainer;var e=d.startOffset,g=d.endOffset,h=d.clone();b&&b.type==CKEDITOR.NODE_TEXT&&(e>=b.getLength()?h.setStartAfter(b):h.setStartBefore(b));f&&f.type==CKEDITOR.NODE_TEXT&&(g?h.setEndAfter(f):h.setEndBefore(f));b=new CKEDITOR.dom.walker(h);b.evaluator=function(b){if(b.type==CKEDITOR.NODE_ELEMENT&&b.isReadOnly()){var f=d.clone();d.setEndBefore(b);d.collapsed&&a.splice(c--,1);b.getPosition(h.endContainer)& -CKEDITOR.POSITION_CONTAINS||(f.setStartAfter(b),f.collapsed||a.splice(c+1,0,f));return!0}return!1};b.next()}}return a}var q="function"!=typeof window.getSelection,x=1,t=CKEDITOR.tools.repeat("",7),z=new RegExp(t+"( )?","g"),y,u,B,C=CKEDITOR.dom.walker.invisible(1),A=function(){function a(c){return function(a){var d=a.editor.createRange();d.moveToClosestEditablePosition(a.selected,c)&&a.editor.getSelection().selectRanges([d]);return!1}}function c(a){return function(c){var d=c.editor,b=d.createRange(), -f;if(!d.readOnly)return(f=b.moveToClosestEditablePosition(c.selected,a))||(f=b.moveToClosestEditablePosition(c.selected,!a)),f&&d.getSelection().selectRanges([b]),d.fire("saveSnapshot"),c.selected.remove(),f||(b.moveToElementEditablePosition(d.editable()),d.getSelection().selectRanges([b])),d.fire("saveSnapshot"),!1}}var d=a(),b=a(1);return{37:d,38:d,39:b,40:b,8:c(),46:c(1)}}();CKEDITOR.on("instanceCreated",function(a){function c(){var a=d.getSelection();a&&a.removeAllRanges()}var d=a.editor;d.on("contentDom", -function(){function a(){x=new CKEDITOR.dom.selection(d.getSelection());x.lock()}function c(){g.removeListener("mouseup",c);r.removeListener("mouseup",c);var a=CKEDITOR.document.$.selection,d=a.createRange();"None"!=a.type&&d.parentElement()&&d.parentElement().ownerDocument==e.$&&d.select()}function b(a){var c,d;c=(c=this.document.getActive())?"input"===c.getName()||"textarea"===c.getName():!1;c||(c=this.getSelection(1),(d=f(c))&&!d.equals(h)&&(c.selectElement(d),a.data.preventDefault()))}function f(a){a= -a.getRanges()[0];return a?(a=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")},!0))&&"false"===a.getAttribute("contenteditable")?a:null:null}var e=d.document,g=CKEDITOR.document,h=d.editable(),k=e.getBody(),r=e.getDocumentElement(),w=h.isInline(),t,x;CKEDITOR.env.gecko&&h.attachListener(h,"focus",function(a){a.removeListener();0!==t&&(a=d.getSelection().getNative())&&a.isCollapsed&&a.anchorNode==h.$&&(a=d.createRange(),a.moveToElementEditStart(h), -a.select())},null,null,-2);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){if(t&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){t=d._.previousActive&&d._.previousActive.equals(e.getActive());var a=null!=d._.previousScrollTop&&d._.previousScrollTop!=h.$.scrollTop;CKEDITOR.env.webkit&&t&&a&&(h.$.scrollTop=d._.previousScrollTop)}d.unlockSelection(t);t=0},null,null,-1);h.attachListener(h,"mousedown",function(){t=0});if(CKEDITOR.env.ie||CKEDITOR.env.gecko||w)q?h.attachListener(h, -"beforedeactivate",a,null,null,-1):h.attachListener(d,"selectionCheck",a,null,null,-1),h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusout":"blur",function(){var a=x&&(x.isFake||2>x.getRanges().length);CKEDITOR.env.gecko&&!w&&a||(d.lockSelection(x),t=1)},null,null,-1),h.attachListener(h,"mousedown",function(){t=0});if(CKEDITOR.env.ie&&!w){var u;h.attachListener(h,"mousedown",function(a){2==a.data.$.button&&((a=d.document.getSelection())&&a.getType()!=CKEDITOR.SELECTION_NONE||(u=d.window.getScrollPosition()))}); -h.attachListener(h,"mouseup",function(a){2==a.data.$.button&&u&&(d.document.$.documentElement.scrollLeft=u.x,d.document.$.documentElement.scrollTop=u.y);u=null});if("BackCompat"!=e.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat){var v,y;r.on("mousedown",function(a){function c(a){a=a.data.$;if(v){var d=k.$.createTextRange();try{d.moveToPoint(a.clientX,a.clientY)}catch(b){}v.setEndPoint(0>y.compareEndPoints("StartToStart",d)?"EndToEnd":"StartToStart",d);v.select()}}function d(){r.removeListener("mousemove", -c);g.removeListener("mouseup",d);r.removeListener("mouseup",d);v.select()}a=a.data;if(a.getTarget().is("html")&&a.$.y<r.$.clientHeight&&a.$.x<r.$.clientWidth){v=k.$.createTextRange();try{v.moveToPoint(a.$.clientX,a.$.clientY)}catch(b){}y=v.duplicate();r.on("mousemove",c);g.on("mouseup",d);r.on("mouseup",d)}})}if(7<CKEDITOR.env.version&&11>CKEDITOR.env.version)r.on("mousedown",function(a){a.data.getTarget().is("html")&&(g.on("mouseup",c),r.on("mouseup",c))})}}h.attachListener(h,"selectionchange",m, -d);h.attachListener(h,"keyup",l,d);h.attachListener(h,"touchstart",l,d);h.attachListener(h,"touchend",l,d);CKEDITOR.env.ie&&h.attachListener(h,"keydown",b,d);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){d.forceNextSelectionCheck();d.selectionChange(1)});if(w&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var z;h.attachListener(h,"mousedown",function(){z=1});h.attachListener(e.getDocumentElement(),"mouseup",function(){z&&l.call(d);z=0})}else h.attachListener(CKEDITOR.env.ie? -h:e.getDocumentElement(),"mouseup",l,d);CKEDITOR.env.webkit&&h.attachListener(e,"keydown",function(a){switch(a.data.getKey()){case 13:case 33:case 34:case 35:case 36:case 37:case 39:case 8:case 45:case 46:h.hasFocus&&n(h)}},null,null,-1);h.attachListener(h,"keydown",p(d),null,null,-1)});d.on("setData",function(){d.unlockSelection();CKEDITOR.env.webkit&&c()});d.on("contentDomUnload",function(){d.unlockSelection()});if(CKEDITOR.env.ie9Compat)d.on("beforeDestroy",c,null,null,9);d.on("dataReady",function(){delete d._.fakeSelection; -delete d._.hiddenSelectionContainer;d.selectionChange(1)});d.on("loadSnapshot",function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),c=d.editable().getLast(a);c&&c.hasAttribute("data-cke-hidden-sel")&&(c.remove(),CKEDITOR.env.gecko&&(a=d.editable().getFirst(a))&&a.is("br")&&a.getAttribute("_moz_editor_bogus_node")&&a.remove())},null,null,100);d.on("key",function(a){if("wysiwyg"==d.mode){var c=d.getSelection();if(c.isFake){var b=A[a.data.keyCode];if(b)return b({editor:d,selected:c.getSelectedElement(), -selection:c,keyEvent:a})}}})});if(CKEDITOR.env.webkit)CKEDITOR.on("instanceReady",function(a){var c=a.editor;c.on("selectionChange",function(){var a=c.editable(),d=a.getCustomData("cke-fillingChar");d&&(d.getCustomData("ready")?(n(a),a.editor.fire("selectionCheck")):d.setCustomData("ready",1))},null,null,-1);c.on("beforeSetMode",function(){n(c.editable())},null,null,-1);c.on("getSnapshot",function(a){a.data&&(a.data=w(a.data))},c,null,20);c.on("toDataFormat",function(a){a.data.dataValue=w(a.data.dataValue)}, -null,null,0)});CKEDITOR.editor.prototype.selectionChange=function(a){(a?m:l).call(this)};CKEDITOR.editor.prototype.getSelection=function(a){return!this._.savedSelection&&!this._.fakeSelection||a?(a=this.editable())&&"wysiwyg"==this.mode?new CKEDITOR.dom.selection(a):null:this._.savedSelection||this._.fakeSelection};CKEDITOR.editor.prototype.getSelectedRanges=function(a){var c=this.getSelection();return c&&c.getRanges(a)||[]};CKEDITOR.editor.prototype.lockSelection=function(a){a=a||this.getSelection(1); -return a.getType()!=CKEDITOR.SELECTION_NONE?(!a.isLocked&&a.lock(),this._.savedSelection=a,!0):!1};CKEDITOR.editor.prototype.unlockSelection=function(a){var c=this._.savedSelection;return c?(c.unlock(a),delete this._.savedSelection,!0):!1};CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath};CKEDITOR.dom.document.prototype.getSelection=function(){return new CKEDITOR.dom.selection(this)};CKEDITOR.dom.range.prototype.select=function(){var a=this.root instanceof -CKEDITOR.editable?this.root.editor.getSelection():new CKEDITOR.dom.selection(this.root);a.selectRanges([this]);return a};CKEDITOR.SELECTION_NONE=1;CKEDITOR.SELECTION_TEXT=2;CKEDITOR.SELECTION_ELEMENT=3;CKEDITOR.dom.selection=function(a){if(a instanceof CKEDITOR.dom.selection){var c=a;a=a.root}var d=a instanceof CKEDITOR.dom.element;this.rev=c?c.rev:x++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=d?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(c)return CKEDITOR.tools.extend(this._.cache, -c._.cache),this.isFake=c.isFake,this.isLocked=c.isLocked,this;a=this.getNative();var b,f;if(a)if(a.getRangeAt)b=(f=a.rangeCount&&a.getRangeAt(0))&&new CKEDITOR.dom.node(f.commonAncestorContainer);else{try{f=a.createRange()}catch(e){}b=f&&CKEDITOR.dom.element.get(f.item&&f.item(0)||f.parentElement())}if(!b||b.type!=CKEDITOR.NODE_ELEMENT&&b.type!=CKEDITOR.NODE_TEXT||!this.root.equals(b)&&!this.root.contains(b))this._.cache.type=CKEDITOR.SELECTION_NONE,this._.cache.startElement=null,this._.cache.selectedElement= -null,this._.cache.selectedText="",this._.cache.ranges=new CKEDITOR.dom.rangeList;return this};var E={img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1,select:1,textarea:1,button:1,fieldset:1,thead:1,tfoot:1};CKEDITOR.tools.extend(CKEDITOR.dom.selection,{_removeFillingCharSequenceString:w,_createFillingCharSequenceNode:d,FILLING_CHAR_SEQUENCE:t});CKEDITOR.dom.selection.prototype={getNative:function(){return void 0!==this._.cache.nativeSel?this._.cache.nativeSel:this._.cache.nativeSel= -q?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:q?function(){var a=this._.cache;if(a.type)return a.type;var c=CKEDITOR.SELECTION_NONE;try{var d=this.getNative(),b=d.type;"Text"==b&&(c=CKEDITOR.SELECTION_TEXT);"Control"==b&&(c=CKEDITOR.SELECTION_ELEMENT);d.createRange().parentElement()&&(c=CKEDITOR.SELECTION_TEXT)}catch(f){}return a.type=c}:function(){var a=this._.cache;if(a.type)return a.type;var c=CKEDITOR.SELECTION_TEXT,d=this.getNative();if(!d||!d.rangeCount)c=CKEDITOR.SELECTION_NONE; -else if(1==d.rangeCount){var d=d.getRangeAt(0),b=d.startContainer;b==d.endContainer&&1==b.nodeType&&1==d.endOffset-d.startOffset&&E[b.childNodes[d.startOffset].nodeName.toLowerCase()]&&(c=CKEDITOR.SELECTION_ELEMENT)}return a.type=c},getRanges:function(){var a=q?function(){function a(c){return(new CKEDITOR.dom.node(c)).getIndex()}var c=function(c,d){c=c.duplicate();c.collapse(d);var b=c.parentElement();if(!b.hasChildNodes())return{container:b,offset:0};for(var f=b.children,e,g,h=c.duplicate(),n=0, -l=f.length-1,k=-1,m,q;n<=l;)if(k=Math.floor((n+l)/2),e=f[k],h.moveToElementText(e),m=h.compareEndPoints("StartToStart",c),0<m)l=k-1;else if(0>m)n=k+1;else return{container:b,offset:a(e)};if(-1==k||k==f.length-1&&0>m){h.moveToElementText(b);h.setEndPoint("StartToStart",c);h=h.text.replace(/(\r\n|\r)/g,"\n").length;f=b.childNodes;if(!h)return e=f[f.length-1],e.nodeType!=CKEDITOR.NODE_TEXT?{container:b,offset:f.length}:{container:e,offset:e.nodeValue.length};for(b=f.length;0<h&&0<b;)g=f[--b],g.nodeType== -CKEDITOR.NODE_TEXT&&(q=g,h-=g.nodeValue.length);return{container:q,offset:-h}}h.collapse(0<m?!0:!1);h.setEndPoint(0<m?"StartToStart":"EndToStart",c);h=h.text.replace(/(\r\n|\r)/g,"\n").length;if(!h)return{container:b,offset:a(e)+(0<m?0:1)};for(;0<h;)try{g=e[0<m?"previousSibling":"nextSibling"],g.nodeType==CKEDITOR.NODE_TEXT&&(h-=g.nodeValue.length,q=g),e=g}catch(r){return{container:b,offset:a(e)}}return{container:q,offset:0<m?-h:q.nodeValue.length+h}};return function(){var a=this.getNative(),d=a&& -a.createRange(),b=this.getType();if(!a)return[];if(b==CKEDITOR.SELECTION_TEXT)return a=new CKEDITOR.dom.range(this.root),b=c(d,!0),a.setStart(new CKEDITOR.dom.node(b.container),b.offset),b=c(d),a.setEnd(new CKEDITOR.dom.node(b.container),b.offset),a.endContainer.getPosition(a.startContainer)&CKEDITOR.POSITION_PRECEDING&&a.endOffset<=a.startContainer.getIndex()&&a.collapse(),[a];if(b==CKEDITOR.SELECTION_ELEMENT){for(var b=[],f=0;f<d.length;f++){for(var e=d.item(f),g=e.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h< -g.childNodes.length&&g.childNodes[h]!=e;h++);a.setStart(new CKEDITOR.dom.node(g),h);a.setEnd(new CKEDITOR.dom.node(g),h+1);b.push(a)}return b}return[]}}():function(){var a=[],c,d=this.getNative();if(!d)return a;for(var b=0;b<d.rangeCount;b++){var f=d.getRangeAt(b);c=new CKEDITOR.dom.range(this.root);c.setStart(new CKEDITOR.dom.node(f.startContainer),f.startOffset);c.setEnd(new CKEDITOR.dom.node(f.endContainer),f.endOffset);a.push(c)}return a};return function(c){var d=this._.cache,b=d.ranges;b||(d.ranges= -b=new CKEDITOR.dom.rangeList(a.call(this)));return c?r(new CKEDITOR.dom.rangeList(b.slice())):b}}(),getStartElement:function(){var a=this._.cache;if(void 0!==a.startElement)return a.startElement;var c;switch(this.getType()){case CKEDITOR.SELECTION_ELEMENT:return this.getSelectedElement();case CKEDITOR.SELECTION_TEXT:var d=this.getRanges()[0];if(d){if(d.collapsed)c=d.startContainer,c.type!=CKEDITOR.NODE_ELEMENT&&(c=c.getParent());else{for(d.optimize();c=d.startContainer,d.startOffset==(c.getChildCount? -c.getChildCount():c.getLength())&&!c.isBlockBoundary();)d.setStartAfter(c);c=d.startContainer;if(c.type!=CKEDITOR.NODE_ELEMENT)return c.getParent();if((c=c.getChild(d.startOffset))&&c.type==CKEDITOR.NODE_ELEMENT)for(d=c.getFirst();d&&d.type==CKEDITOR.NODE_ELEMENT;)c=d,d=d.getFirst();else c=d.startContainer}c=c.$}}return a.startElement=c?new CKEDITOR.dom.element(c):null},getSelectedElement:function(){var a=this._.cache;if(void 0!==a.selectedElement)return a.selectedElement;var c=this,d=CKEDITOR.tools.tryThese(function(){return c.getNative().createRange().item(0)}, -function(){for(var a=c.getRanges()[0].clone(),d,b,f=2;f&&!((d=a.getEnclosedNode())&&d.type==CKEDITOR.NODE_ELEMENT&&E[d.getName()]&&(b=d));f--)a.shrink(CKEDITOR.SHRINK_ELEMENT);return b&&b.$});return a.selectedElement=d?new CKEDITOR.dom.element(d):null},getSelectedText:function(){var a=this._.cache;if(void 0!==a.selectedText)return a.selectedText;var c=this.getNative(),c=q?"Control"==c.type?"":c.createRange().text:c.toString();return a.selectedText=c},lock:function(){this.getRanges();this.getStartElement(); -this.getSelectedElement();this.getSelectedText();this._.cache.nativeSel=null;this.isLocked=1},unlock:function(c){if(this.isLocked){if(c)var d=this.getSelectedElement(),b=this.getRanges(),f=this.isFake;this.isLocked=0;this.reset();c&&(c=d||b[0]&&b[0].getCommonAncestor())&&c.getAscendant("body",1)&&(this.root.editor.plugins.tableselection&&h(b)?a.call(this,b):f?this.fake(d):d&&2>b.length?this.selectElement(d):this.selectRanges(b))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor; -if(a&&a._.fakeSelection)if(this.rev==a._.fakeSelection.rev){delete a._.fakeSelection;var c=a._.hiddenSelectionContainer;if(c){var d=a.checkDirty();a.fire("lockSnapshot");c.remove();a.fire("unlockSnapshot");!d&&a.resetDirty()}delete a._.hiddenSelectionContainer}else CKEDITOR.warn("selection-fake-reset");this.rev=x++},selectElement:function(a){var c=new CKEDITOR.dom.range(this.root);c.setStartBefore(a);c.setEndAfter(a);this.selectRanges([c])},selectRanges:function(c){var b=this.root.editor,e=b&&b._.hiddenSelectionContainer; -this.reset();if(e)for(var e=this.root,g,l=0;l<c.length;++l)g=c[l],g.endContainer.equals(e)&&(g.endOffset=Math.min(g.endOffset,e.getChildCount()));if(c.length)if(this.isLocked){var k=CKEDITOR.document.getActive();this.unlock();this.selectRanges(c);this.lock();k&&!k.equals(this.root)&&k.focus()}else{var m;a:{var r,w;if(1==c.length&&!(w=c[0]).collapsed&&(m=w.getEnclosedNode())&&m.type==CKEDITOR.NODE_ELEMENT&&(w=w.clone(),w.shrink(CKEDITOR.SHRINK_ELEMENT,!0),(r=w.getEnclosedNode())&&r.type==CKEDITOR.NODE_ELEMENT&& -(m=r),"false"==m.getAttribute("contenteditable")))break a;m=void 0}if(m)this.fake(m);else if(b&&b.plugins.tableselection&&b.plugins.tableselection.isSupportedEnvironment()&&h(c)&&!y&&!c[0]._getTableElement({table:1}).hasAttribute("data-cke-tableselection-ignored"))a.call(this,c);else{if(q){r=CKEDITOR.dom.walker.whitespaces(!0);m=/\ufeff|\u00a0/;w={table:1,tbody:1,tr:1};1<c.length&&(b=c[c.length-1],c[0].setEnd(b.endContainer,b.endOffset));b=c[0];c=b.collapsed;var t,x,u;if((e=b.getEnclosedNode())&& -e.type==CKEDITOR.NODE_ELEMENT&&e.getName()in E&&(!e.is("a")||!e.getText()))try{u=e.$.createControlRange();u.addElement(e.$);u.select();return}catch(p){}if(b.startContainer.type==CKEDITOR.NODE_ELEMENT&&b.startContainer.getName()in w||b.endContainer.type==CKEDITOR.NODE_ELEMENT&&b.endContainer.getName()in w)b.shrink(CKEDITOR.NODE_ELEMENT,!0),c=b.collapsed;u=b.createBookmark();w=u.startNode;c||(k=u.endNode);u=b.document.$.body.createTextRange();u.moveToElementText(w.$);u.moveStart("character",1);k?(m= -b.document.$.body.createTextRange(),m.moveToElementText(k.$),u.setEndPoint("EndToEnd",m),u.moveEnd("character",-1)):(t=w.getNext(r),x=w.hasAscendant("pre"),t=!(t&&t.getText&&t.getText().match(m))&&(x||!w.hasPrevious()||w.getPrevious().is&&w.getPrevious().is("br")),x=b.document.createElement("span"),x.setHtml("\x26#65279;"),x.insertBefore(w),t&&b.document.createText("").insertBefore(w));b.setStartBefore(w);w.remove();c?(t?(u.moveStart("character",-1),u.select(),b.document.$.selection.clear()):u.select(), -b.moveToPosition(x,CKEDITOR.POSITION_BEFORE_START),x.remove()):(b.setEndBefore(k),k.remove(),u.select())}else{k=this.getNative();if(!k)return;this.removeAllRanges();for(u=0;u<c.length;u++){if(u<c.length-1&&(t=c[u],x=c[u+1],m=t.clone(),m.setStart(t.endContainer,t.endOffset),m.setEnd(x.startContainer,x.startOffset),!m.collapsed&&(m.shrink(CKEDITOR.NODE_ELEMENT,!0),b=m.getCommonAncestor(),m=m.getEnclosedNode(),b.isReadOnly()||m&&m.isReadOnly()))){x.setStart(t.startContainer,t.startOffset);c.splice(u--, -1);continue}b=c[u];x=this.document.$.createRange();b.collapsed&&CKEDITOR.env.webkit&&f(b)&&(m=d(this.root),b.insertNode(m),(t=m.getNext())&&!m.getPrevious()&&t.type==CKEDITOR.NODE_ELEMENT&&"br"==t.getName()?(n(this.root),b.moveToPosition(t,CKEDITOR.POSITION_BEFORE_START)):b.moveToPosition(m,CKEDITOR.POSITION_AFTER_END));x.setStart(b.startContainer.$,b.startOffset);try{x.setEnd(b.endContainer.$,b.endOffset)}catch(v){if(0<=v.toString().indexOf("NS_ERROR_ILLEGAL_VALUE"))b.collapse(1),x.setEnd(b.endContainer.$, -b.endOffset);else throw v;}k.addRange(x)}}this.reset();this.root.fire("selectionchange")}}},fake:function(a,c){var d=this.root.editor;void 0===c&&a.hasAttribute("aria-label")&&(c=a.getAttribute("aria-label"));this.reset();v(d,c);var b=this._.cache,f=new CKEDITOR.dom.range(this.root);f.setStartBefore(a);f.setEndAfter(a);b.ranges=new CKEDITOR.dom.rangeList(f);b.selectedElement=b.startElement=a;b.type=CKEDITOR.SELECTION_ELEMENT;b.selectedText=b.nativeSel=null;this.isFake=1;this.rev=x++;d._.fakeSelection= -this;this.root.fire("selectionchange")},isHidden:function(){var a=this.getCommonAncestor();a&&a.type==CKEDITOR.NODE_TEXT&&(a=a.getParent());return!(!a||!a.data("cke-hidden-sel"))},isInTable:function(a){return h(this.getRanges(),a)},isCollapsed:function(){var a=this.getRanges();return 1===a.length&&a[0].collapsed},createBookmarks:function(a){a=this.getRanges().createBookmarks(a);this.isFake&&(a.isFake=1);return a},createBookmarks2:function(a){a=this.getRanges().createBookmarks2(a);this.isFake&&(a.isFake= -1);return a},selectBookmarks:function(a){for(var c=[],d,b=0;b<a.length;b++){var f=new CKEDITOR.dom.range(this.root);f.moveToBookmark(a[b]);c.push(f)}a.isFake&&(d=h(c)?c[0]._getTableElement():c[0].getEnclosedNode(),d&&d.type==CKEDITOR.NODE_ELEMENT||(CKEDITOR.warn("selection-not-fake"),a.isFake=0));a.isFake&&!h(c)?this.fake(d):this.selectRanges(c);return this},getCommonAncestor:function(){var a=this.getRanges();return a.length?a[0].startContainer.getCommonAncestor(a[a.length-1].endContainer):null}, -scrollIntoView:function(){this.type!=CKEDITOR.SELECTION_NONE&&this.getRanges()[0].scrollIntoView()},removeAllRanges:function(){if(this.getType()!=CKEDITOR.SELECTION_NONE){var a=this.getNative();try{a&&a[q?"empty":"removeAllRanges"]()}catch(c){}this.reset()}}}})();"use strict";CKEDITOR.STYLE_BLOCK=1;CKEDITOR.STYLE_INLINE=2;CKEDITOR.STYLE_OBJECT=3;(function(){function b(a,c){for(var d,b;(a=a.getParent())&&!a.equals(c);)if(a.getAttribute("data-nostyle"))d=a;else if(!b){var f=a.getAttribute("contentEditable"); -"false"==f?d=a:"true"==f&&(b=1)}return d}function h(a,c,d,b){return(a.getPosition(c)|b)==b&&(!d.childRule||d.childRule(a))}function g(c){var d=c.document;if(c.collapsed)d=x(this,d),c.insertNode(d),c.moveToPosition(d,CKEDITOR.POSITION_BEFORE_END);else{var f=this.element,e=this._.definition,n,k=e.ignoreReadonly,l=k||e.includeReadonly;null==l&&(l=c.root.getCustomData("cke_includeReadonly"));var m=CKEDITOR.dtd[f];m||(n=!0,m=CKEDITOR.dtd.span);c.enlarge(CKEDITOR.ENLARGE_INLINE,1);c.trim();var q=c.createBookmark(), -r=q.startNode,w=q.endNode,t=r,u;if(!k){var v=c.getCommonAncestor(),k=b(r,v),v=b(w,v);k&&(t=k.getNextSourceNode(!0));v&&(w=v)}for(t.getPosition(w)==CKEDITOR.POSITION_FOLLOWING&&(t=0);t;){k=!1;if(t.equals(w))t=null,k=!0;else{var y=t.type==CKEDITOR.NODE_ELEMENT?t.getName():null,v=y&&"false"==t.getAttribute("contentEditable"),z=y&&t.getAttribute("data-nostyle");if(y&&t.data("cke-bookmark")||t.type===CKEDITOR.NODE_COMMENT){t=t.getNextSourceNode(!0);continue}if(v&&l&&CKEDITOR.dtd.$block[y])for(var B=t, -A=a(B),E=void 0,Q=A.length,P=0,B=Q&&new CKEDITOR.dom.range(B.getDocument());P<Q;++P){var E=A[P],ga=CKEDITOR.filter.instances[E.data("cke-filter")];if(ga?ga.check(this):1)B.selectNodeContents(E),g.call(this,B)}A=y?!m[y]||z?0:v&&!l?0:h(t,w,e,M):1;if(A)if(E=t.getParent(),A=e,Q=f,P=n,!E||!(E.getDtd()||CKEDITOR.dtd.span)[Q]&&!P||A.parentRule&&!A.parentRule(E))k=!0;else{if(u||y&&CKEDITOR.dtd.$removeEmpty[y]&&(t.getPosition(w)|M)!=M||(u=c.clone(),u.setStartBefore(t)),y=t.type,y==CKEDITOR.NODE_TEXT||v||y== -CKEDITOR.NODE_ELEMENT&&!t.getChildCount()){for(var y=t,ia;(k=!y.getNext(L))&&(ia=y.getParent(),m[ia.getName()])&&h(ia,r,e,H);)y=ia;u.setEndAfter(y)}}else k=!0;t=t.getNextSourceNode(z||v)}if(k&&u&&!u.collapsed){for(var k=x(this,d),v=k.hasAttributes(),z=u.getCommonAncestor(),y={},A={},E={},Q={},ha,fa,C;k&&z;){if(z.getName()==f){for(ha in e.attributes)!Q[ha]&&(C=z.getAttribute(fa))&&(k.getAttribute(ha)==C?A[ha]=1:Q[ha]=1);for(fa in e.styles)!E[fa]&&(C=z.getStyle(fa))&&(k.getStyle(fa)==C?y[fa]=1:E[fa]= -1)}z=z.getParent()}for(ha in A)k.removeAttribute(ha);for(fa in y)k.removeStyle(fa);v&&!k.hasAttributes()&&(k=null);k?(u.extractContents().appendTo(k),u.insertNode(k),p.call(this,k),k.mergeSiblings(),CKEDITOR.env.ie||k.$.normalize()):(k=new CKEDITOR.dom.element("span"),u.extractContents().appendTo(k),u.insertNode(k),p.call(this,k),k.remove(!0));u=null}}c.moveToBookmark(q);c.shrink(CKEDITOR.SHRINK_TEXT);c.shrink(CKEDITOR.NODE_ELEMENT,!0)}}function e(a){function c(){for(var a=new CKEDITOR.dom.elementPath(b.getParent()), -d=new CKEDITOR.dom.elementPath(l.getParent()),f=null,e=null,g=0;g<a.elements.length;g++){var h=a.elements[g];if(h==a.block||h==a.blockLimit)break;m.checkElementRemovable(h,!0)&&(f=h)}for(g=0;g<d.elements.length;g++){h=d.elements[g];if(h==d.block||h==d.blockLimit)break;m.checkElementRemovable(h,!0)&&(e=h)}e&&l.breakParent(e);f&&b.breakParent(f)}a.enlarge(CKEDITOR.ENLARGE_INLINE,1);var d=a.createBookmark(),b=d.startNode,f=this._.definition.alwaysRemoveElement;if(a.collapsed){for(var e=new CKEDITOR.dom.elementPath(b.getParent(), -a.root),g,h=0,k;h<e.elements.length&&(k=e.elements[h])&&k!=e.block&&k!=e.blockLimit;h++)if(this.checkElementRemovable(k)){var n;!f&&a.collapsed&&(a.checkBoundaryOfElement(k,CKEDITOR.END)||(n=a.checkBoundaryOfElement(k,CKEDITOR.START)))?(g=k,g.match=n?"start":"end"):(k.mergeSiblings(),k.is(this.element)?v.call(this,k):r(k,y(this)[k.getName()]))}if(g){f=b;for(h=0;;h++){k=e.elements[h];if(k.equals(g))break;else if(k.match)continue;else k=k.clone();k.append(f);f=k}f["start"==g.match?"insertBefore":"insertAfter"](g)}}else{var l= -d.endNode,m=this;c();for(e=b;!e.equals(l);)g=e.getNextSourceNode(),e.type==CKEDITOR.NODE_ELEMENT&&this.checkElementRemovable(e)&&(e.getName()==this.element?v.call(this,e):r(e,y(this)[e.getName()]),g.type==CKEDITOR.NODE_ELEMENT&&g.contains(b)&&(c(),g=b.getNext())),e=g}a.moveToBookmark(d);a.shrink(CKEDITOR.NODE_ELEMENT,!0)}function a(a){var c=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return c.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return c}function m(a){var c=a.getEnclosedNode()|| -a.getCommonAncestor(!1,!0);(a=(new CKEDITOR.dom.elementPath(c,a.root)).contains(this.element,1))&&!a.isReadOnly()&&t(a,this)}function l(a){var c=a.getCommonAncestor(!0,!0);if(a=(new CKEDITOR.dom.elementPath(c,a.root)).contains(this.element,1)){var c=this._.definition,d=c.attributes;if(d)for(var b in d)a.removeAttribute(b,d[b]);if(c.styles)for(var f in c.styles)c.styles.hasOwnProperty(f)&&a.removeStyle(f)}}function k(a){var c=a.createBookmark(!0),d=a.createIterator();d.enforceRealBlocks=!0;this._.enterMode&& -(d.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR);for(var b,e=a.document,g;b=d.getNextParagraph();)!b.isReadOnly()&&(d.activeFilter?d.activeFilter.check(this):1)&&(g=x(this,e,b),f(b,g));a.moveToBookmark(c)}function c(a){var c=a.createBookmark(1),d=a.createIterator();d.enforceRealBlocks=!0;d.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR;for(var b,e;b=d.getNextParagraph();)this.checkElementRemovable(b)&&(b.is("pre")?((e=this._.enterMode==CKEDITOR.ENTER_BR?null:a.document.createElement(this._.enterMode== -CKEDITOR.ENTER_P?"p":"div"))&&b.copyAttributes(e),f(b,e)):v.call(this,b));a.moveToBookmark(c)}function f(a,c){var b=!c;b&&(c=a.getDocument().createElement("div"),a.copyAttributes(c));var f=c&&c.is("pre"),e=a.is("pre"),g=!f&&e;if(f&&!e){e=c;(g=a.getBogus())&&g.remove();g=a.getHtml();g=n(g,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,"");g=g.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi,"$1");g=g.replace(/([ \t\n\r]+| )/g," ");g=g.replace(/<br\b[^>]*>/gi,"\n");if(CKEDITOR.env.ie){var h=a.getDocument().createElement("div"); -h.append(e);e.$.outerHTML="\x3cpre\x3e"+g+"\x3c/pre\x3e";e.copyAttributes(h.getFirst());e=h.getFirst().remove()}else e.setHtml(g);c=e}else g?c=w(b?[a.getHtml()]:d(a),c):a.moveChildren(c);c.replace(a);if(f){var b=c,k;(k=b.getPrevious(F))&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("pre")&&(f=n(k.getHtml(),/\n$/,"")+"\n\n"+n(b.getHtml(),/^\n/,""),CKEDITOR.env.ie?b.$.outerHTML="\x3cpre\x3e"+f+"\x3c/pre\x3e":b.setHtml(f),k.remove())}else b&&q(c)}function d(a){var c=[];n(a.getOuterHtml(),/(\S\s*)\n(?:\s|(<span[^>]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi, -function(a,c,d){return c+"\x3c/pre\x3e"+d+"\x3cpre\x3e"}).replace(/<pre\b.*?>([\s\S]*?)<\/pre>/gi,function(a,d){c.push(d)});return c}function n(a,c,d){var b="",f="";a=a.replace(/(^<span[^>]+data-cke-bookmark.*?\/span>)|(<span[^>]+data-cke-bookmark.*?\/span>$)/gi,function(a,c,d){c&&(b=c);d&&(f=d);return""});return b+a.replace(c,d)+f}function w(a,c){var d;1<a.length&&(d=new CKEDITOR.dom.documentFragment(c.getDocument()));for(var b=0;b<a.length;b++){var f=a[b],f=f.replace(/(\r\n|\r)/g,"\n"),f=n(f,/^[ \t]*\n/, -""),f=n(f,/\n$/,""),f=n(f,/^[ \t]+|[ \t]+$/g,function(a,c){return 1==a.length?"\x26nbsp;":c?" "+CKEDITOR.tools.repeat("\x26nbsp;",a.length-1):CKEDITOR.tools.repeat("\x26nbsp;",a.length-1)+" "}),f=f.replace(/\n/g,"\x3cbr\x3e"),f=f.replace(/[ \t]{2,}/g,function(a){return CKEDITOR.tools.repeat("\x26nbsp;",a.length-1)+" "});if(d){var e=c.clone();e.setHtml(f);d.append(e)}else c.setHtml(f)}return d||c}function v(a,c){var d=this._.definition,b=d.attributes,d=d.styles,f=y(this)[a.getName()],e=CKEDITOR.tools.isEmpty(b)&& -CKEDITOR.tools.isEmpty(d),g;for(g in b)if("class"!=g&&!this._.definition.fullMatch||a.getAttribute(g)==u(g,b[g]))c&&"data-"==g.slice(0,5)||(e=a.hasAttribute(g),a.removeAttribute(g));for(var h in d)this._.definition.fullMatch&&a.getStyle(h)!=u(h,d[h],!0)||(e=e||!!a.getStyle(h),a.removeStyle(h));r(a,f,A[a.getName()]);e&&(this._.definition.alwaysRemoveElement?q(a,1):!CKEDITOR.dtd.$block[a.getName()]||this._.enterMode==CKEDITOR.ENTER_BR&&!a.hasAttributes()?q(a):a.renameNode(this._.enterMode==CKEDITOR.ENTER_P? -"p":"div"))}function p(a){for(var c=y(this),d=a.getElementsByTag(this.element),b,f=d.count();0<=--f;)b=d.getItem(f),b.isReadOnly()||v.call(this,b,!0);for(var e in c)if(e!=this.element)for(d=a.getElementsByTag(e),f=d.count()-1;0<=f;f--)b=d.getItem(f),b.isReadOnly()||r(b,c[e])}function r(a,c,d){if(c=c&&c.attributes)for(var b=0;b<c.length;b++){var f=c[b][0],e;if(e=a.getAttribute(f)){var g=c[b][1];(null===g||g.test&&g.test(e)||"string"==typeof g&&e==g)&&a.removeAttribute(f)}}d||q(a)}function q(a,c){if(!a.hasAttributes()|| -c)if(CKEDITOR.dtd.$block[a.getName()]){var d=a.getPrevious(F),b=a.getNext(F);!d||d.type!=CKEDITOR.NODE_TEXT&&d.isBlockBoundary({br:1})||a.append("br",1);!b||b.type!=CKEDITOR.NODE_TEXT&&b.isBlockBoundary({br:1})||a.append("br");a.remove(!0)}else d=a.getFirst(),b=a.getLast(),a.remove(!0),d&&(d.type==CKEDITOR.NODE_ELEMENT&&d.mergeSiblings(),b&&!d.equals(b)&&b.type==CKEDITOR.NODE_ELEMENT&&b.mergeSiblings())}function x(a,c,d){var b;b=a.element;"*"==b&&(b="span");b=new CKEDITOR.dom.element(b,c);d&&d.copyAttributes(b); -b=t(b,a);c.getCustomData("doc_processing_style")&&b.hasAttribute("id")?b.removeAttribute("id"):c.setCustomData("doc_processing_style",1);return b}function t(a,c){var d=c._.definition,b=d.attributes,d=CKEDITOR.style.getStyleText(d);if(b)for(var f in b)a.setAttribute(f,b[f]);d&&a.setAttribute("style",d);a.getDocument().removeCustomData("doc_processing_style");return a}function z(a,c){for(var d in a)a[d]=a[d].replace(I,function(a,d){return c[d]})}function y(a){if(a._.overrides)return a._.overrides;var c= -a._.overrides={},d=a._.definition.overrides;if(d){CKEDITOR.tools.isArray(d)||(d=[d]);for(var b=0;b<d.length;b++){var f=d[b],e,g;"string"==typeof f?e=f.toLowerCase():(e=f.element?f.element.toLowerCase():a.element,g=f.attributes);f=c[e]||(c[e]={});if(g){var f=f.attributes=f.attributes||[],h;for(h in g)f.push([h.toLowerCase(),g[h]])}}}return c}function u(a,c,d){var b=new CKEDITOR.dom.element("span");b[d?"setStyle":"setAttribute"](a,c);return b[d?"getStyle":"getAttribute"](a)}function B(a,c){function d(a, -c){return"font-family"==c.toLowerCase()?a.replace(/["']/g,""):a}"string"==typeof a&&(a=CKEDITOR.tools.parseCssText(a));"string"==typeof c&&(c=CKEDITOR.tools.parseCssText(c,!0));for(var b in a)if(!(b in c)||d(c[b],b)!=d(a[b],b)&&"inherit"!=a[b]&&"inherit"!=c[b])return!1;return!0}function C(a,c,d){var b=a.getRanges();c=c?this.removeFromRange:this.applyToRange;for(var f,e=b.createIterator();f=e.getNextRange();)c.call(this,f,d);a.selectRanges(b)}var A={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1, -pre:1,section:1,header:1,footer:1,nav:1,article:1,aside:1,figure:1,dialog:1,hgroup:1,time:1,meter:1,menu:1,command:1,keygen:1,output:1,progress:1,details:1,datagrid:1,datalist:1},E={a:1,blockquote:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,dt:1,dd:1,form:1,audio:1,video:1},G=/\s*(?:;\s*|$)/,I=/#\((.+?)\)/g,L=CKEDITOR.dom.walker.bookmark(0,1),F=CKEDITOR.dom.walker.whitespaces(1);CKEDITOR.style=function(a,c){if("string"==typeof a.type)return new CKEDITOR.style.customHandlers[a.type](a); -var d=a.attributes;d&&d.style&&(a.styles=CKEDITOR.tools.extend({},a.styles,CKEDITOR.tools.parseCssText(d.style)),delete d.style);c&&(a=CKEDITOR.tools.clone(a),z(a.attributes,c),z(a.styles,c));d=this.element=a.element?"string"==typeof a.element?a.element.toLowerCase():a.element:"*";this.type=a.type||(A[d]?CKEDITOR.STYLE_BLOCK:E[d]?CKEDITOR.STYLE_OBJECT:CKEDITOR.STYLE_INLINE);"object"==typeof this.element&&(this.type=CKEDITOR.STYLE_OBJECT);this._={definition:a}};CKEDITOR.style.prototype={apply:function(a){if(a instanceof -CKEDITOR.dom.document)return C.call(this,a.getSelection());if(this.checkApplicable(a.elementPath(),a)){var c=this._.enterMode;c||(this._.enterMode=a.activeEnterMode);C.call(this,a.getSelection(),0,a);this._.enterMode=c}},remove:function(a){if(a instanceof CKEDITOR.dom.document)return C.call(this,a.getSelection(),1);if(this.checkApplicable(a.elementPath(),a)){var c=this._.enterMode;c||(this._.enterMode=a.activeEnterMode);C.call(this,a.getSelection(),1,a);this._.enterMode=c}},applyToRange:function(a){this.applyToRange= -this.type==CKEDITOR.STYLE_INLINE?g:this.type==CKEDITOR.STYLE_BLOCK?k:this.type==CKEDITOR.STYLE_OBJECT?m:null;return this.applyToRange(a)},removeFromRange:function(a){this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?e:this.type==CKEDITOR.STYLE_BLOCK?c:this.type==CKEDITOR.STYLE_OBJECT?l:null;return this.removeFromRange(a)},applyToObject:function(a){t(a,this)},checkActive:function(a,c){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(a.block||a.blockLimit,!0,c);case CKEDITOR.STYLE_OBJECT:case CKEDITOR.STYLE_INLINE:for(var d= -a.elements,b=0,f;b<d.length;b++)if(f=d[b],this.type!=CKEDITOR.STYLE_INLINE||f!=a.block&&f!=a.blockLimit){if(this.type==CKEDITOR.STYLE_OBJECT){var e=f.getName();if(!("string"==typeof this.element?e==this.element:e in this.element))continue}if(this.checkElementRemovable(f,!0,c))return!0}}return!1},checkApplicable:function(a,c,d){c&&c instanceof CKEDITOR.filter&&(d=c);if(d&&!d.check(this))return!1;switch(this.type){case CKEDITOR.STYLE_OBJECT:return!!a.contains(this.element);case CKEDITOR.STYLE_BLOCK:return!!a.blockLimit.getDtd()[this.element]}return!0}, -checkElementMatch:function(a,c){var d=this._.definition;if(!a||!d.ignoreReadonly&&a.isReadOnly())return!1;var b=a.getName();if("string"==typeof this.element?b==this.element:b in this.element){if(!c&&!a.hasAttributes())return!0;if(b=d._AC)d=b;else{var b={},f=0,e=d.attributes;if(e)for(var g in e)f++,b[g]=e[g];if(g=CKEDITOR.style.getStyleText(d))b.style||f++,b.style=g;b._length=f;d=d._AC=b}if(d._length){for(var h in d)if("_length"!=h)if(b=a.getAttribute(h)||"","style"==h?B(d[h],b):d[h]==b){if(!c)return!0}else if(c)return!1; -if(c)return!0}else return!0}return!1},checkElementRemovable:function(a,c,d){if(this.checkElementMatch(a,c,d))return!0;if(c=y(this)[a.getName()]){var b;if(!(c=c.attributes))return!0;for(d=0;d<c.length;d++)if(b=c[d][0],b=a.getAttribute(b)){var f=c[d][1];if(null===f)return!0;if("string"==typeof f){if(b==f)return!0}else if(f.test(b))return!0}}return!1},buildPreview:function(a){var c=this._.definition,d=[],b=c.element;"bdo"==b&&(b="span");var d=["\x3c",b],f=c.attributes;if(f)for(var e in f)d.push(" ", -e,'\x3d"',f[e],'"');(f=CKEDITOR.style.getStyleText(c))&&d.push(' style\x3d"',f,'"');d.push("\x3e",a||c.name,"\x3c/",b,"\x3e");return d.join("")},getDefinition:function(){return this._.definition}};CKEDITOR.style.getStyleText=function(a){var c=a._ST;if(c)return c;var c=a.styles,d=a.attributes&&a.attributes.style||"",b="";d.length&&(d=d.replace(G,";"));for(var f in c){var e=c[f],g=(f+":"+e).replace(G,";");"inherit"==e?b+=g:d+=g}d.length&&(d=CKEDITOR.tools.normalizeCssText(d,!0));return a._ST=d+b};CKEDITOR.style.customHandlers= +"function"===typeof b?b:String(b)};CKEDITOR.template.prototype.output=function(h,g){var f=("function"===typeof this.source?this.source(h):this.source).replace(b,function(a,b){return void 0!==h[b]?h[b]:a});return g?g.push(f):f}})();delete CKEDITOR.loadFullCore;CKEDITOR.instances={};CKEDITOR.document=new CKEDITOR.dom.document(document);CKEDITOR.add=function(b){function h(){CKEDITOR.currentInstance==b&&(CKEDITOR.currentInstance=null,CKEDITOR.fire("currentInstance"))}CKEDITOR.instances[b.name]=b;b.on("focus", +function(){CKEDITOR.currentInstance!=b&&(CKEDITOR.currentInstance=b,CKEDITOR.fire("currentInstance"))});b.on("blur",h);b.on("destroy",h);CKEDITOR.fire("instance",null,b)};CKEDITOR.remove=function(b){delete CKEDITOR.instances[b.name]};(function(){var b={};CKEDITOR.addTemplate=function(h,g){var f=b[h];if(f)return f;f={name:h,source:g};CKEDITOR.fire("template",f);return b[h]=new CKEDITOR.template(f.source)};CKEDITOR.getTemplate=function(h){return b[h]}})();(function(){var b=[];CKEDITOR.addCss=function(h){b.push(h)}; +CKEDITOR.getCss=function(){return b.join("\n")}})();CKEDITOR.on("instanceDestroyed",function(){CKEDITOR.tools.isEmpty(this.instances)&&CKEDITOR.fire("reset")});CKEDITOR.TRISTATE_ON=1;CKEDITOR.TRISTATE_OFF=2;CKEDITOR.TRISTATE_DISABLED=0;(function(){CKEDITOR.inline=function(b,h){b=CKEDITOR.editor._getEditorElement(b);if(!b)return null;var g=new CKEDITOR.editor(h,b,CKEDITOR.ELEMENT_MODE_INLINE),f=b.is("textarea")?b:null;f?(g.setData(f.getValue(),null,!0),b=CKEDITOR.dom.element.createFromHtml('\x3cdiv contenteditable\x3d"'+ +!!g.readOnly+'" class\x3d"cke_textarea_inline"\x3e'+f.getValue()+"\x3c/div\x3e",CKEDITOR.document),b.insertAfter(f),f.hide(),f.$.form&&g._attachToForm()):(h&&"undefined"!==typeof h.readOnly&&!h.readOnly&&b.setAttribute("contenteditable","true"),g.setData(b.getHtml(),null,!0));g.on("loaded",function(){g.fire("uiReady");g.editable(b);g.container=b;g.ui.contentsElement=b;g.setData(g.getData(1));g.resetDirty();g.fire("contentDom");g.mode="wysiwyg";g.fire("mode");g.status="ready";g.fireOnce("instanceReady"); +CKEDITOR.fire("instanceReady",null,g)},null,null,1E4);g.on("destroy",function(){var a=g.container;f&&a&&(a.clearCustomData(),a.remove());f&&f.show();g.element.clearCustomData();delete g.element});return g};CKEDITOR.inlineAll=function(){var b,h,g;for(g in CKEDITOR.dtd.$editable)for(var f=CKEDITOR.document.getElementsByTag(g),a=0,m=f.count();a<m;a++)b=f.getItem(a),"true"==b.getAttribute("contenteditable")&&(h={element:b,config:{}},!1!==CKEDITOR.fire("inline",h)&&CKEDITOR.inline(b,h.config))};CKEDITOR.domReady(function(){!CKEDITOR.disableAutoInline&& +CKEDITOR.inlineAll()})})();CKEDITOR.replaceClass="ckeditor";(function(){function b(b,a,m,k){b=CKEDITOR.editor._getEditorElement(b);if(!b)return null;var l=new CKEDITOR.editor(a,b,k);k==CKEDITOR.ELEMENT_MODE_REPLACE&&(b.setStyle("visibility","hidden"),l._.required=b.hasAttribute("required"),b.removeAttribute("required"));m&&l.setData(m,null,!0);l.on("loaded",function(){l.isDestroyed()||l.isDetached()||(g(l),k==CKEDITOR.ELEMENT_MODE_REPLACE&&l.config.autoUpdateElement&&b.$.form&&l._attachToForm(),l.setMode(l.config.startupMode, +function(){l.resetDirty();l.status="ready";l.fireOnce("instanceReady");CKEDITOR.fire("instanceReady",null,l)}))});l.on("destroy",h);return l}function h(){var b=this.container,a=this.element;b&&(b.clearCustomData(),b.remove());a&&(a.clearCustomData(),this.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE&&(a.show(),this._.required&&a.setAttribute("required","required")),delete this.element)}function g(b){var a=b.name,g=b.element,h=b.elementMode,l=b.fire("uiSpace",{space:"top",html:""}).html,c=b.fire("uiSpace", +{space:"bottom",html:""}).html,e=new CKEDITOR.template('\x3c{outerEl} id\x3d"cke_{name}" class\x3d"{id} cke cke_reset cke_chrome cke_editor_{name} cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" lang\x3d"{langCode}" role\x3d"application"'+(b.title?' aria-labelledby\x3d"cke_{name}_arialbl"':"")+"\x3e"+(b.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e':"")+'\x3c{outerEl} class\x3d"cke_inner cke_reset" role\x3d"presentation"\x3e{topHtml}\x3c{outerEl} id\x3d"{contentId}" class\x3d"cke_contents cke_reset" role\x3d"presentation"\x3e\x3c/{outerEl}\x3e{bottomHtml}\x3c/{outerEl}\x3e\x3c/{outerEl}\x3e'), +a=CKEDITOR.dom.element.createFromHtml(e.output({id:b.id,name:a,langDir:b.lang.dir,langCode:b.langCode,voiceLabel:b.title,topHtml:l?'\x3cspan id\x3d"'+b.ui.spaceId("top")+'" class\x3d"cke_top cke_reset_all" role\x3d"presentation" style\x3d"height:auto"\x3e'+l+"\x3c/span\x3e":"",contentId:b.ui.spaceId("contents"),bottomHtml:c?'\x3cspan id\x3d"'+b.ui.spaceId("bottom")+'" class\x3d"cke_bottom cke_reset_all" role\x3d"presentation"\x3e'+c+"\x3c/span\x3e":"",outerEl:CKEDITOR.env.ie?"span":"div"}));h==CKEDITOR.ELEMENT_MODE_REPLACE? +(g.hide(),a.insertAfter(g)):g.append(a);b.container=a;b.ui.contentsElement=b.ui.space("contents");l&&b.ui.space("top").unselectable();c&&b.ui.space("bottom").unselectable();g=b.config.width;h=b.config.height;g&&a.setStyle("width",CKEDITOR.tools.cssLength(g));h&&b.ui.space("contents").setStyle("height",CKEDITOR.tools.cssLength(h));a.disableContextMenu();CKEDITOR.env.webkit&&a.on("focus",function(){b.focus()});b.fireOnce("uiReady")}CKEDITOR.replace=function(f,a){return b(f,a,null,CKEDITOR.ELEMENT_MODE_REPLACE)}; +CKEDITOR.appendTo=function(f,a,g){return b(f,a,g,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var b=document.getElementsByTagName("textarea"),a=0;a<b.length;a++){var g=null,h=b[a];if(h.name||h.id){if("string"==typeof arguments[0]){if(!(new RegExp("(?:^|\\s)"+arguments[0]+"(?:$|\\s)")).test(h.className))continue}else if("function"==typeof arguments[0]&&(g={},!1===arguments[0](h,g)))continue;this.replace(h,g)}}};CKEDITOR.editor.prototype.addMode=function(b,a){(this._.modes||(this._.modes= +{}))[b]=a};CKEDITOR.editor.prototype.setMode=function(b,a){var g=this,h=this._.modes;if(b!=g.mode&&h&&h[b]){g.fire("beforeSetMode",b);if(g.mode){var l=g.checkDirty(),h=g._.previousModeData,c,e=0;g.fire("beforeModeUnload");g.editable(0);g._.previousMode=g.mode;g._.previousModeData=c=g.getData(1);"source"==g.mode&&h==c&&(g.fire("lockSnapshot",{forceUpdate:!0}),e=1);g.ui.space("contents").setHtml("");g.mode=""}else g._.previousModeData=g.getData(1);this._.modes[b](function(){g.mode=b;void 0!==l&&!l&& +g.resetDirty();e?g.fire("unlockSnapshot"):"wysiwyg"==b&&g.fire("saveSnapshot");setTimeout(function(){g.isDestroyed()||g.isDetached()||(g.fire("mode"),a&&a.call(g))},0)})}};CKEDITOR.editor.prototype.resize=function(b,a,g,h){var l=this.container,c=this.ui.space("contents"),e=CKEDITOR.env.webkit&&this.document&&this.document.getWindow().$.frameElement;h=h?this.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasClass("cke_inner")}):l;b=CKEDITOR.tools.convertToPx(CKEDITOR.tools.cssLength(b)); +h.setSize("width",b,!0);e&&(e.style.width="1%");a=CKEDITOR.tools.convertToPx(CKEDITOR.tools.cssLength(a));var d=(h.$.offsetHeight||0)-(c.$.clientHeight||0),l=Math.max(a-(g?0:d),0);a=g?a+d:a;c.setStyle("height",CKEDITOR.tools.cssLength(l));e&&(e.style.width="100%");this.fire("resize",{outerHeight:a,contentsHeight:l,outerWidth:b||h.getSize("width")})};CKEDITOR.editor.prototype.getResizable=function(b){return b?this.ui.space("contents"):this.container};CKEDITOR.domReady(function(){CKEDITOR.replaceClass&& +CKEDITOR.replaceAll(CKEDITOR.replaceClass)})})();CKEDITOR.config.startupMode="wysiwyg";(function(){function b(a){var c=a.editor,d=a.data.path,b=d.blockLimit,e=a.data.selection,g=e.getRanges()[0],n;if(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller)if(e=h(e,d))e.appendBogus(),n=CKEDITOR.env.ie&&!CKEDITOR.env.edge||CKEDITOR.env.edge&&c._.previousActive;k(c,d.block,b)&&g.collapsed&&!g.getCommonAncestor().isReadOnly()&&(d=g.clone(),d.enlarge(CKEDITOR.ENLARGE_BLOCK_CONTENTS),b=new CKEDITOR.dom.walker(d), +b.guard=function(a){return!f(a)||a.type==CKEDITOR.NODE_COMMENT||a.isReadOnly()},!b.checkForward()||d.checkStartOfBlock()&&d.checkEndOfBlock())&&(c=g.fixBlock(!0,c.activeEnterMode==CKEDITOR.ENTER_DIV?"div":"p"),CKEDITOR.env.needsBrFiller||(c=c.getFirst(f))&&c.type==CKEDITOR.NODE_TEXT&&CKEDITOR.tools.trim(c.getText()).match(/^(?: |\xa0)$/)&&c.remove(),n=1,a.cancel());n&&g.select()}function h(a,c){if(a.isFake)return 0;var d=c.block||c.blockLimit,b=d&&d.getLast(f);if(!(!d||!d.isBlockBoundary()|| +b&&b.type==CKEDITOR.NODE_ELEMENT&&b.isBlockBoundary()||d.is("pre")||d.getBogus()))return d}function g(a){var c=a.data.getTarget();c.is("input")&&(c=c.getAttribute("type"),"submit"!=c&&"reset"!=c||a.data.preventDefault())}function f(a){return n(a)&&y(a)}function a(a,c){return function(d){var b=d.data.$.toElement||d.data.$.fromElement||d.data.$.relatedTarget;(b=b&&b.nodeType==CKEDITOR.NODE_ELEMENT?new CKEDITOR.dom.element(b):null)&&(c.equals(b)||c.contains(b))||a.call(this,d)}}function m(a){function c(a){return function(c, +b){b&&c.type==CKEDITOR.NODE_ELEMENT&&c.is(e)&&(d=c);if(!(b||!f(c)||a&&q(c)))return!1}}var d,b=a.getRanges()[0];a=a.root;var e={table:1,ul:1,ol:1,dl:1};if(b.startPath().contains(e)){var g=b.clone();g.collapse(1);g.setStartAt(a,CKEDITOR.POSITION_AFTER_START);a=new CKEDITOR.dom.walker(g);a.guard=c();a.checkBackward();if(d)return g=b.clone(),g.collapse(),g.setEndAt(d,CKEDITOR.POSITION_AFTER_END),a=new CKEDITOR.dom.walker(g),a.guard=c(!0),d=!1,a.checkForward(),d}return null}function k(a,c,d){return!1!== +a.config.autoParagraph&&a.activeEnterMode!=CKEDITOR.ENTER_BR&&(a.editable().equals(d)&&!c||c&&"true"==c.getAttribute("contenteditable"))}function l(a){return a.activeEnterMode!=CKEDITOR.ENTER_BR&&!1!==a.config.autoParagraph?a.activeEnterMode==CKEDITOR.ENTER_DIV?"div":"p":!1}function c(a){a&&a.isEmptyInlineRemoveable()&&a.remove()}function e(a){var c=a.editor;c.getSelection().scrollIntoView();setTimeout(function(){c.fire("saveSnapshot")},0)}function d(a,c,d){var b=a.getCommonAncestor(c);for(c=a=d? +c:a;(a=a.getParent())&&!b.equals(a)&&1==a.getChildCount();)c=a;c.remove()}var n,y,x,q,r,p,w,t,z,u;CKEDITOR.editable=CKEDITOR.tools.createClass({base:CKEDITOR.dom.element,$:function(a,c){this.base(c.$||c);this.editor=a;this.status="unloaded";this.hasFocus=!1;this.setup()},proto:{focus:function(){var a;if(CKEDITOR.env.webkit&&!this.hasFocus&&(a=this.editor._.previousActive||this.getDocument().getActive(),this.contains(a))){a.focus();return}CKEDITOR.env.edge&&14<CKEDITOR.env.version&&!this.hasFocus&& +this.getDocument().equals(CKEDITOR.document)&&(this.editor._.previousScrollTop=this.$.scrollTop);try{if(!CKEDITOR.env.ie||CKEDITOR.env.edge&&14<CKEDITOR.env.version||!this.getDocument().equals(CKEDITOR.document))if(CKEDITOR.env.chrome){var c=this.$.scrollTop;this.$.focus();this.$.scrollTop=c}else this.$.focus();else this.$.setActive()}catch(d){if(!CKEDITOR.env.ie)throw d;}CKEDITOR.env.safari&&!this.isInline()&&(a=CKEDITOR.document.getActive(),a.equals(this.getWindow().getFrame())||this.getWindow().focus())}, +on:function(c,d){var b=Array.prototype.slice.call(arguments,0);CKEDITOR.env.ie&&/^focus|blur$/.exec(c)&&(c="focus"==c?"focusin":"focusout",d=a(d,this),b[0]=c,b[1]=d);return CKEDITOR.dom.element.prototype.on.apply(this,b)},attachListener:function(a){!this._.listeners&&(this._.listeners=[]);var c=Array.prototype.slice.call(arguments,1),c=a.on.apply(a,c);this._.listeners.push(c);return c},clearListeners:function(){var a=this._.listeners;try{for(;a.length;)a.pop().removeListener()}catch(c){}},restoreAttrs:function(){var a= +this._.attrChanges,c,d;for(d in a)a.hasOwnProperty(d)&&(c=a[d],null!==c?this.setAttribute(d,c):this.removeAttribute(d))},attachClass:function(a){var c=this.getCustomData("classes");this.hasClass(a)||(!c&&(c=[]),c.push(a),this.setCustomData("classes",c),this.addClass(a))},changeAttr:function(a,c){var d=this.getAttribute(a);c!==d&&(!this._.attrChanges&&(this._.attrChanges={}),a in this._.attrChanges||(this._.attrChanges[a]=d),this.setAttribute(a,c))},insertText:function(a){this.editor.focus();this.insertHtml(this.transformPlainTextToHtml(a), +"text")},transformPlainTextToHtml:function(a){var c=this.editor.getSelection().getStartElement().hasAscendant("pre",!0)?CKEDITOR.ENTER_BR:this.editor.activeEnterMode;return CKEDITOR.tools.transformPlainTextToHtml(a,c)},insertHtml:function(a,c,d){var b=this.editor;b.focus();b.fire("saveSnapshot");d||(d=b.getSelection().getRanges()[0]);p(this,c||"html",a,d);d.select();e(this);this.editor.fire("afterInsertHtml",{})},insertHtmlIntoRange:function(a,c,d){p(this,d||"html",a,c);this.editor.fire("afterInsertHtml", +{intoRange:c})},insertElement:function(a,c){var d=this.editor;d.focus();d.fire("saveSnapshot");var b=d.activeEnterMode,d=d.getSelection(),g=a.getName(),g=CKEDITOR.dtd.$block[g];c||(c=d.getRanges()[0]);this.insertElementIntoRange(a,c)&&(c.moveToPosition(a,CKEDITOR.POSITION_AFTER_END),g&&((g=a.getNext(function(a){return f(a)&&!q(a)}))&&g.type==CKEDITOR.NODE_ELEMENT&&g.is(CKEDITOR.dtd.$block)?g.getDtd()["#"]?c.moveToElementEditStart(g):c.moveToElementEditEnd(a):g||b==CKEDITOR.ENTER_BR||(g=c.fixBlock(!0, +b==CKEDITOR.ENTER_DIV?"div":"p"),c.moveToElementEditStart(g))));d.selectRanges([c]);e(this)},insertElementIntoSelection:function(a){this.insertElement(a)},insertElementIntoRange:function(a,d){var b=this.editor,e=b.config.enterMode,f=a.getName(),g=CKEDITOR.dtd.$block[f];if(d.checkReadOnly())return!1;d.deleteContents(1);d.startContainer.type==CKEDITOR.NODE_ELEMENT&&(d.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})?w(d):d.startContainer.is(CKEDITOR.dtd.$list)&&t(d));var h,n;if(g)for(;(h=d.getCommonAncestor(0, +1))&&(n=CKEDITOR.dtd[h.getName()])&&(!n||!n[f]);)if(h.getName()in CKEDITOR.dtd.span){var g=d.splitElement(h),k=d.createBookmark();c(h);c(g);d.moveToBookmark(k)}else d.checkStartOfBlock()&&d.checkEndOfBlock()?(d.setStartBefore(h),d.collapse(!0),h.remove()):d.splitBlock(e==CKEDITOR.ENTER_DIV?"div":"p",b.editable());d.insertNode(a);return!0},setData:function(a,c){c||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);this.fixInitialSelection();"unloaded"==this.status&&(this.status="ready");this.editor.fire("dataReady")}, +getData:function(a){var c=this.getHtml();a||(c=this.editor.dataProcessor.toDataFormat(c));return c},setReadOnly:function(a){this.setAttribute("contenteditable",!a)},detach:function(){this.status="detached";this.editor.setData(this.editor.getData(),{internal:!0});this.clearListeners();try{this._.cleanCustomData()}catch(a){if(!CKEDITOR.env.ie||-2146828218!==a.number)throw a;}this.editor.fire("contentDomUnload");delete this.editor.document;delete this.editor.window;delete this.editor},isInline:function(){return this.getDocument().equals(CKEDITOR.document)}, +fixInitialSelection:function(){function a(){var c=d.getDocument().$,b=c.getSelection(),e;a:if(b.anchorNode&&b.anchorNode==d.$)e=!0;else{if(CKEDITOR.env.webkit&&(e=d.getDocument().getActive())&&e.equals(d)&&!b.anchorNode){e=!0;break a}e=void 0}e&&(e=new CKEDITOR.dom.range(d),e.moveToElementEditStart(d),c=c.createRange(),c.setStart(e.startContainer.$,e.startOffset),c.collapse(!0),b.removeAllRanges(),b.addRange(c))}function c(){var a=d.getDocument().$,b=a.selection,e=d.getDocument().getActive();"None"== +b.type&&e.equals(d)&&(b=new CKEDITOR.dom.range(d),a=a.body.createTextRange(),b.moveToElementEditStart(d),b=b.startContainer,b.type!=CKEDITOR.NODE_ELEMENT&&(b=b.getParent()),a.moveToElementText(b.$),a.collapse(!0),a.select())}var d=this;if(CKEDITOR.env.ie&&(9>CKEDITOR.env.version||CKEDITOR.env.quirks))this.hasFocus&&(this.focus(),c());else if(this.hasFocus)this.focus(),a();else this.once("focus",function(){a()},null,null,-999)},getHtmlFromRange:function(a){if(a.collapsed)return new CKEDITOR.dom.documentFragment(a.document); +a={doc:this.getDocument(),range:a.clone()};z.eol.detect(a,this);z.bogus.exclude(a);z.cell.shrink(a);a.fragment=a.range.cloneContents();z.tree.rebuild(a,this);z.eol.fix(a,this);return new CKEDITOR.dom.documentFragment(a.fragment.$)},extractHtmlFromRange:function(a,c){var d=u,b={range:a,doc:a.document},e=this.getHtmlFromRange(a);if(a.collapsed)return a.optimize(),e;a.enlarge(CKEDITOR.ENLARGE_INLINE,1);d.table.detectPurge(b);b.bookmark=a.createBookmark();delete b.range;var f=this.editor.createRange(); +f.moveToPosition(b.bookmark.startNode,CKEDITOR.POSITION_BEFORE_START);b.targetBookmark=f.createBookmark();d.list.detectMerge(b,this);d.table.detectRanges(b,this);d.block.detectMerge(b,this);b.tableContentsRanges?(d.table.deleteRanges(b),a.moveToBookmark(b.bookmark),b.range=a):(a.moveToBookmark(b.bookmark),b.range=a,a.extractContents(d.detectExtractMerge(b)));a.moveToBookmark(b.targetBookmark);a.optimize();d.fixUneditableRangePosition(a);d.list.merge(b,this);d.table.purge(b,this);d.block.merge(b,this); +if(c){d=a.startPath();if(b=a.checkStartOfBlock()&&a.checkEndOfBlock()&&d.block&&!a.root.equals(d.block)){a:{var b=d.block.getElementsByTag("span"),f=0,g;if(b)for(;g=b.getItem(f++);)if(!y(g)){b=!0;break a}b=!1}b=!b}b&&(a.moveToPosition(d.block,CKEDITOR.POSITION_BEFORE_START),d.block.remove())}else d.autoParagraph(this.editor,a),x(a.startContainer)&&a.startContainer.appendBogus();a.startContainer.mergeSiblings();return e},setup:function(){var a=this.editor;this.attachListener(a,"beforeGetData",function(){var c= +this.getData();this.is("textarea")||!1!==a.config.ignoreEmptyParagraph&&(c=c.replace(r,function(a,c){return c}));a.setData(c,null,1)},this);this.attachListener(a,"getSnapshot",function(a){a.data=this.getData(1)},this);this.attachListener(a,"afterSetData",function(){this.setData(a.getData(1))},this);this.attachListener(a,"loadSnapshot",function(a){this.setData(a.data,1)},this);this.attachListener(a,"beforeFocus",function(){var c=a.getSelection();(c=c&&c.getNative())&&"Control"==c.type||this.focus()}, +this);this.attachListener(a,"insertHtml",function(a){this.insertHtml(a.data.dataValue,a.data.mode,a.data.range)},this);this.attachListener(a,"insertElement",function(a){this.insertElement(a.data)},this);this.attachListener(a,"insertText",function(a){this.insertText(a.data)},this);this.setReadOnly(a.readOnly);this.attachClass("cke_editable");a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?this.attachClass("cke_editable_inline"):a.elementMode!=CKEDITOR.ELEMENT_MODE_REPLACE&&a.elementMode!=CKEDITOR.ELEMENT_MODE_APPENDTO|| +this.attachClass("cke_editable_themed");this.attachClass("cke_contents_"+a.config.contentsLangDirection);a.keystrokeHandler.blockedKeystrokes[8]=+a.readOnly;a.keystrokeHandler.attach(this);this.on("blur",function(){this.hasFocus=!1},null,null,-1);this.on("focus",function(){this.hasFocus=!0},null,null,-1);if(CKEDITOR.env.webkit)this.on("scroll",function(){a._.previousScrollTop=a.editable().$.scrollTop},null,null,-1);if(CKEDITOR.env.edge&&14<CKEDITOR.env.version){var c=function(){var d=a.editable(); +null!=a._.previousScrollTop&&d.getDocument().equals(CKEDITOR.document)&&(d.$.scrollTop=a._.previousScrollTop,a._.previousScrollTop=null,this.removeListener("scroll",c))};this.on("scroll",c)}a.focusManager.add(this);this.equals(CKEDITOR.document.getActive())&&(this.hasFocus=!0,a.once("contentDom",function(){a.focusManager.focus(this)},this));this.isInline()&&this.changeAttr("tabindex",a.tabIndex);if(!this.is("textarea")){a.document=this.getDocument();a.window=this.getWindow();var b=a.document;this.changeAttr("spellcheck", +!a.config.disableNativeSpellChecker);var e=a.config.contentsLangDirection;this.getDirection(1)!=e&&this.changeAttr("dir",e);var h=CKEDITOR.getCss();if(h){var e=b.getHead(),k=e.getCustomData("stylesheet");k?h!=k.getText()&&(CKEDITOR.env.ie&&9>CKEDITOR.env.version?k.$.styleSheet.cssText=h:k.setText(h)):(h=b.appendStyleText(h),h=new CKEDITOR.dom.element(h.ownerNode||h.owningElement),e.setCustomData("stylesheet",h),h.data("cke-temp",1))}e=b.getCustomData("stylesheet_ref")||0;b.setCustomData("stylesheet_ref", +e+1);this.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling);this.attachListener(this,"click",function(a){a=a.data;var c=(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains("a");c&&2!=a.$.button&&c.isReadOnly()&&a.preventDefault()});var l={8:1,46:1};this.attachListener(a,"key",function(c){if(a.readOnly)return!0;var d=c.data.domEvent.getKey(),b;c=a.getSelection();if(0!==c.getRanges().length){if(d in l){var e,f=c.getRanges()[0],g=f.startPath(),h,k,p,d=8==d;CKEDITOR.env.ie&& +11>CKEDITOR.env.version&&(e=c.getSelectedElement())||(e=m(c))?(a.fire("saveSnapshot"),f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START),e.remove(),f.select(),a.fire("saveSnapshot"),b=1):f.collapsed&&((h=g.block)&&(p=h[d?"getPrevious":"getNext"](n))&&p.type==CKEDITOR.NODE_ELEMENT&&p.is("table")&&f[d?"checkStartOfBlock":"checkEndOfBlock"]()?(a.fire("saveSnapshot"),f[d?"checkEndOfBlock":"checkStartOfBlock"]()&&h.remove(),f["moveToElementEdit"+(d?"End":"Start")](p),f.select(),a.fire("saveSnapshot"), +b=1):g.blockLimit&&g.blockLimit.is("td")&&(k=g.blockLimit.getAscendant("table"))&&f.checkBoundaryOfElement(k,d?CKEDITOR.START:CKEDITOR.END)&&(p=k[d?"getPrevious":"getNext"](n))?(a.fire("saveSnapshot"),f["moveToElementEdit"+(d?"End":"Start")](p),f.checkStartOfBlock()&&f.checkEndOfBlock()?p.remove():f.select(),a.fire("saveSnapshot"),b=1):(k=g.contains(["td","th","caption"]))&&f.checkBoundaryOfElement(k,d?CKEDITOR.START:CKEDITOR.END)&&(b=1))}return!b}});a.blockless&&CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller&& +this.attachListener(this,"keyup",function(c){c.data.getKeystroke()in l&&!this.getFirst(f)&&(this.appendBogus(),c=a.createRange(),c.moveToPosition(this,CKEDITOR.POSITION_AFTER_START),c.select())});this.attachListener(this,"dblclick",function(c){if(a.readOnly)return!1;c={element:c.data.getTarget()};a.fire("doubleclick",c)});CKEDITOR.env.ie&&this.attachListener(this,"click",g);CKEDITOR.env.ie&&!CKEDITOR.env.edge||this.attachListener(this,"mousedown",function(c){var d=c.data.getTarget();d.is("img","hr", +"input","textarea","select")&&!d.isReadOnly()&&(a.getSelection().selectElement(d),d.is("input","textarea","select")&&c.data.preventDefault())});CKEDITOR.env.edge&&this.attachListener(this,"mouseup",function(c){(c=c.data.getTarget())&&c.is("img")&&!c.isReadOnly()&&a.getSelection().selectElement(c)});CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(c){if(2==c.data.$.button&&(c=c.data.getTarget(),!c.getAscendant("table")&&!c.getOuterHtml().replace(r,""))){var d=a.createRange();d.moveToElementEditStart(c); +d.select(!0)}});CKEDITOR.env.webkit&&(this.attachListener(this,"click",function(a){a.data.getTarget().is("input","select")&&a.data.preventDefault()}),this.attachListener(this,"mouseup",function(a){a.data.getTarget().is("input","textarea")&&a.data.preventDefault()}));CKEDITOR.env.webkit&&this.attachListener(a,"key",function(c){if(a.readOnly)return!0;var b=c.data.domEvent.getKey();if(b in l&&(c=a.getSelection(),0!==c.getRanges().length)){var b=8==b,e=c.getRanges()[0];c=e.startPath();if(e.collapsed)a:{var f= +c.block;if(f&&e[b?"checkStartOfBlock":"checkEndOfBlock"]()&&e.moveToClosestEditablePosition(f,!b)&&e.collapsed){if(e.startContainer.type==CKEDITOR.NODE_ELEMENT){var g=e.startContainer.getChild(e.startOffset-(b?1:0));if(g&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("hr")){a.fire("saveSnapshot");g.remove();c=!0;break a}}e=e.startPath().block;if(!e||e&&e.contains(f))c=void 0;else{a.fire("saveSnapshot");var h;(h=(b?e:f).getBogus())&&h.remove();h=a.getSelection();g=h.createBookmarks();(b?f:e).moveChildren(b? +e:f,!1);c.lastElement.mergeSiblings();d(f,e,!b);h.selectBookmarks(g);c=!0}}else c=!1}else b=e,h=c.block,e=b.endPath().block,h&&e&&!h.equals(e)?(a.fire("saveSnapshot"),(f=h.getBogus())&&f.remove(),b.enlarge(CKEDITOR.ENLARGE_INLINE),b.deleteContents(),e.getParent()&&(e.moveChildren(h,!1),c.lastElement.mergeSiblings(),d(h,e,!0)),b=a.getSelection().getRanges()[0],b.collapse(1),b.optimize(),""===b.startContainer.getHtml()&&b.startContainer.appendBogus(),b.select(),c=!0):c=!1;if(!c)return;a.getSelection().scrollIntoView(); +a.fire("saveSnapshot");return!1}},this,null,100)}},getUniqueId:function(){var a;try{this._.expandoNumber=a=CKEDITOR.dom.domObject.prototype.getUniqueId.call(this)}catch(c){a=this._&&this._.expandoNumber}return a}},_:{cleanCustomData:function(){this.removeClass("cke_editable");this.restoreAttrs();for(var a=this.removeCustomData("classes");a&&a.length;)this.removeClass(a.pop());if(!this.is("textarea")){var a=this.getDocument(),c=a.getHead();if(c.getCustomData("stylesheet")){var d=a.getCustomData("stylesheet_ref"); +--d?a.setCustomData("stylesheet_ref",d):(a.removeCustomData("stylesheet_ref"),c.removeCustomData("stylesheet").remove())}}}}});CKEDITOR.editor.prototype.editable=function(a){var c=this._.editable;if(c&&a)return 0;if(!arguments.length)return c;a?c=a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(c&&c.detach(),c=null);return this._.editable=c};CKEDITOR.on("instanceLoaded",function(a){var c=a.editor;c.on("insertElement",function(a){a=a.data;a.type==CKEDITOR.NODE_ELEMENT&&(a.is("input")|| +a.is("textarea"))&&("false"!=a.getAttribute("contentEditable")&&a.data("cke-editable",a.hasAttribute("contenteditable")?"true":"1"),a.setAttribute("contentEditable",!1))});c.on("selectionChange",function(a){if(!c.readOnly){var d=c.getSelection();d&&!d.isLocked&&(d=c.checkDirty(),c.fire("lockSnapshot"),b(a),c.fire("unlockSnapshot"),!d&&c.resetDirty())}})});CKEDITOR.on("instanceCreated",function(a){var c=a.editor;c.on("mode",function(){var a=c.editable();if(a&&a.isInline()){var d=c.title;a.changeAttr("role", +"textbox");a.changeAttr("aria-multiline","true");a.changeAttr("aria-label",d);d&&a.changeAttr("title",d);var b=c.fire("ariaEditorHelpLabel",{}).label;if(b&&(d=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"top":"contents"))){var e=CKEDITOR.tools.getNextId(),b=CKEDITOR.dom.element.createFromHtml('\x3cspan id\x3d"'+e+'" class\x3d"cke_voice_label"\x3e'+b+"\x3c/span\x3e");d.append(b);a.changeAttr("aria-describedby",e)}}})});CKEDITOR.addCss(".cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}"); +n=CKEDITOR.dom.walker.whitespaces(!0);y=CKEDITOR.dom.walker.bookmark(!1,!0);x=CKEDITOR.dom.walker.empty();q=CKEDITOR.dom.walker.bogus();r=/(^|<body\b[^>]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:<br[^>]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi;p=function(){function a(c){return c.type==CKEDITOR.NODE_ELEMENT}function d(c,b){var e,f,g,h,n=[],k=b.range.startContainer;e=b.range.startPath();for(var k=m[k.getName()],l=0,p=c.getChildren(),r=p.count(),y=-1,t=-1,u=0,G=e.contains(m.$list);l< +r;++l)e=p.getItem(l),a(e)?(g=e.getName(),G&&g in CKEDITOR.dtd.$list?n=n.concat(d(e,b)):(h=!!k[g],"br"!=g||!e.data("cke-eol")||l&&l!=r-1||(u=(f=l?n[l-1].node:p.getItem(l+1))&&(!a(f)||!f.is("br")),f=f&&a(f)&&m.$block[f.getName()]),-1!=y||h||(y=l),h||(t=l),n.push({isElement:1,isLineBreak:u,isBlock:e.isBlockBoundary(),hasBlockSibling:f,node:e,name:g,allowed:h}),f=u=0)):n.push({isElement:0,node:e,allowed:1});-1<y&&(n[y].firstNotAllowed=1);-1<t&&(n[t].lastNotAllowed=1);return n}function b(c,d){var e=[], +f=c.getChildren(),g=f.count(),h,n=0,k=m[d],l=!c.is(m.$inline)||c.is("br");for(l&&e.push(" ");n<g;n++)h=f.getItem(n),a(h)&&!h.is(k)?e=e.concat(b(h,d)):e.push(h);l&&e.push(" ");return e}function e(c){return a(c.startContainer)&&c.startContainer.getChild(c.startOffset-1)}function g(c){return c&&a(c)&&(c.is(m.$removeEmpty)||c.is("a")&&!c.isBlockBoundary())}function h(c,d,b,e){var f=c.clone(),g,n;f.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);(g=(new CKEDITOR.dom.walker(f)).next())&&a(g)&&p[g.getName()]&& +(n=g.getPrevious())&&a(n)&&!n.getParent().equals(c.startContainer)&&b.contains(n)&&e.contains(g)&&g.isIdentical(n)&&(g.moveChildren(n),g.remove(),h(c,d,b,e))}function n(c,d){function b(c,d){if(d.isBlock&&d.isElement&&!d.node.is("br")&&a(c)&&c.is("br"))return c.remove(),1}var e=d.endContainer.getChild(d.endOffset),f=d.endContainer.getChild(d.endOffset-1);e&&b(e,c[c.length-1]);f&&b(f,c[0])&&(d.setEnd(d.endContainer,d.endOffset-1),d.collapse())}var m=CKEDITOR.dtd,p={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1, +h6:1,ul:1,ol:1,li:1,pre:1,dl:1,blockquote:1},r={p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1},y=CKEDITOR.tools.extend({},m.$inline);delete y.br;return function(p,D,K,t){var u=p.editor,w=!1;"unfiltered_html"==D&&(D="html",w=!0);if(!t.checkReadOnly()){var q=(new CKEDITOR.dom.elementPath(t.startContainer,t.root)).blockLimit||t.root;D={type:D,dontFilter:w,editable:p,editor:u,range:t,blockLimit:q,mergeCandidates:[],zombies:[]};var w=D.range,q=D.mergeCandidates,x="html"===D.type,z,F,T,Z,ca,aa;"text"==D.type&& +w.shrink(CKEDITOR.SHRINK_ELEMENT,!0,!1)&&(F=CKEDITOR.dom.element.createFromHtml("\x3cspan\x3e\x26nbsp;\x3c/span\x3e",w.document),w.insertNode(F),w.setStartAfter(F));T=new CKEDITOR.dom.elementPath(w.startContainer);D.endPath=Z=new CKEDITOR.dom.elementPath(w.endContainer);if(!w.collapsed){z=Z.block||Z.blockLimit;var da=w.getCommonAncestor();z&&!z.equals(da)&&!z.contains(da)&&w.checkEndOfBlock()&&D.zombies.push(z);w.deleteContents()}for(;(ca=e(w))&&a(ca)&&ca.isBlockBoundary()&&T.contains(ca);)w.moveToPosition(ca, +CKEDITOR.POSITION_BEFORE_END);h(w,D.blockLimit,T,Z);F&&(w.setEndBefore(F),w.collapse(),F.remove());F=w.startPath();if(z=F.contains(g,!1,1))aa=w.splitElement(z),D.inlineStylesRoot=z,D.inlineStylesPeak=F.lastElement;F=w.createBookmark();x&&(c(z),c(aa));(z=F.startNode.getPrevious(f))&&a(z)&&g(z)&&q.push(z);(z=F.startNode.getNext(f))&&a(z)&&g(z)&&q.push(z);for(z=F.startNode;(z=z.getParent())&&g(z);)q.push(z);w.moveToBookmark(F);u.enterMode===CKEDITOR.ENTER_DIV&&""===u.getData(!0)&&((u=p.getFirst())&& +u.remove(),t.setStartAt(p,CKEDITOR.POSITION_AFTER_START),t.collapse(!0));if(p=K){p=D.range;if("text"==D.type&&D.inlineStylesRoot){t=D.inlineStylesPeak;u=t.getDocument().createText("{cke-peak}");for(aa=D.inlineStylesRoot.getParent();!t.equals(aa);)u=u.appendTo(t.clone()),t=t.getParent();K=u.getOuterHtml().split("{cke-peak}").join(K)}t=D.blockLimit.getName();if(/^\s+|\s+$/.test(K)&&"span"in CKEDITOR.dtd[t]){var ba='\x3cspan data-cke-marker\x3d"1"\x3e\x26nbsp;\x3c/span\x3e';K=ba+K+ba}K=D.editor.dataProcessor.toHtml(K, +{context:null,fixForBody:!1,protectedWhitespaces:!!ba,dontFilter:D.dontFilter,filter:D.editor.activeFilter,enterMode:D.editor.activeEnterMode});t=p.document.createElement("body");t.setHtml(K);ba&&(t.getFirst().remove(),t.getLast().remove());if((ba=p.startPath().block)&&(1!=ba.getChildCount()||!ba.getBogus()))a:{var R;if(1==t.getChildCount()&&a(R=t.getFirst())&&R.is(r)&&!R.hasAttribute("contenteditable")){ba=R.getElementsByTag("*");p=0;for(aa=ba.count();p<aa;p++)if(u=ba.getItem(p),!u.is(y))break a; +R.moveChildren(R.getParent(1));R.remove()}}D.dataWrapper=t;p=K}if(p){R=D.range;p=R.document;t=D.blockLimit;aa=0;var V,ba=[],U,S;K=F=0;var P,u=R.startContainer;ca=D.endPath.elements[0];var ga,w=ca.getPosition(u),q=!!ca.getCommonAncestor(u)&&w!=CKEDITOR.POSITION_IDENTICAL&&!(w&CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_IS_CONTAINED),u=d(D.dataWrapper,D);for(n(u,R);aa<u.length;aa++){w=u[aa];if(x=w.isLineBreak)x=R,z=t,Z=T=void 0,w.hasBlockSibling?x=1:(T=x.startContainer.getAscendant(m.$block,1))&&T.is({div:1, +p:1})?(Z=T.getPosition(z),Z==CKEDITOR.POSITION_IDENTICAL||Z==CKEDITOR.POSITION_CONTAINS?x=0:(z=x.splitElement(T),x.moveToPosition(z,CKEDITOR.POSITION_AFTER_START),x=1)):x=0;if(x)K=0<aa;else{x=R.startPath();!w.isBlock&&k(D.editor,x.block,x.blockLimit)&&(S=l(D.editor))&&(S=p.createElement(S),S.appendBogus(),R.insertNode(S),CKEDITOR.env.needsBrFiller&&(V=S.getBogus())&&V.remove(),R.moveToPosition(S,CKEDITOR.POSITION_BEFORE_END));if((x=R.startPath().block)&&!x.equals(U)){if(V=x.getBogus())V.remove(), +ba.push(x);U=x}w.firstNotAllowed&&(F=1);if(F&&w.isElement){x=R.startContainer;for(z=null;x&&!m[x.getName()][w.name];){if(x.equals(t)){x=null;break}z=x;x=x.getParent()}if(x)z&&(P=R.splitElement(z),D.zombies.push(P),D.zombies.push(z));else{z=t.getName();ga=!aa;x=aa==u.length-1;z=b(w.node,z);T=[];Z=z.length;for(var da=0,ia=void 0,ha=0,fa=-1;da<Z;da++)ia=z[da]," "==ia?(ha||ga&&!da||(T.push(new CKEDITOR.dom.text(" ")),fa=T.length),ha=1):(T.push(ia),ha=0);x&&fa==T.length&&T.pop();ga=T}}if(ga){for(;x=ga.pop();)R.insertNode(x); +ga=0}else R.insertNode(w.node);w.lastNotAllowed&&aa<u.length-1&&((P=q?ca:P)&&R.setEndAt(P,CKEDITOR.POSITION_AFTER_START),F=0);R.collapse()}}1!=u.length?V=!1:(V=u[0],V=V.isElement&&"false"==V.node.getAttribute("contenteditable"));V&&(K=!0,x=u[0].node,R.setStartAt(x,CKEDITOR.POSITION_BEFORE_START),R.setEndAt(x,CKEDITOR.POSITION_AFTER_END));D.dontMoveCaret=K;D.bogusNeededBlocks=ba}V=D.range;var ja;P=D.bogusNeededBlocks;for(ga=V.createBookmark();U=D.zombies.pop();)U.getParent()&&(S=V.clone(),S.moveToElementEditStart(U), +S.removeEmptyBlocksAtEnd());if(P)for(;U=P.pop();)CKEDITOR.env.needsBrFiller?U.appendBogus():U.append(V.document.createText(" "));for(;U=D.mergeCandidates.pop();)U.mergeSiblings();V.moveToBookmark(ga);if(!D.dontMoveCaret){for(U=e(V);U&&a(U)&&!U.is(m.$empty);){if(U.isBlockBoundary())V.moveToPosition(U,CKEDITOR.POSITION_BEFORE_END);else{if(g(U)&&U.getHtml().match(/(\s| )$/g)){ja=null;break}ja=V.clone();ja.moveToPosition(U,CKEDITOR.POSITION_BEFORE_END)}U=U.getLast(f)}ja&&V.moveToRange(ja)}}}}(); +w=function(){function a(c){c=new CKEDITOR.dom.walker(c);c.guard=function(a,c){if(c)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$tableContent)};c.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT};return c}function c(a,d,b){d=a.getDocument().createElement(d);a.append(d,b);return d}function d(a){var c=a.count(),b;for(c;0<c--;)b=a.getItem(c),CKEDITOR.tools.trim(b.getHtml())||(b.appendBogus(),CKEDITOR.env.ie&&9>CKEDITOR.env.version&&b.getChildCount()&&b.getFirst().remove())} +return function(b){var e=b.startContainer,f=e.getAscendant("table",1),g=!1;d(f.getElementsByTag("td"));d(f.getElementsByTag("th"));f=b.clone();f.setStart(e,0);f=a(f).lastBackward();f||(f=b.clone(),f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END),f=a(f).lastForward(),g=!0);f||(f=e);f.is("table")?(b.setStartAt(f,CKEDITOR.POSITION_BEFORE_START),b.collapse(!0),f.remove()):(f.is({tbody:1,thead:1,tfoot:1})&&(f=c(f,"tr",g)),f.is("tr")&&(f=c(f,f.getParent().is("thead")?"th":"td",g)),(e=f.getBogus())&&e.remove(), +b.moveToPosition(f,g?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END))}}();t=function(){function a(c){c=new CKEDITOR.dom.walker(c);c.guard=function(a,c){if(c)return!1;if(a.type==CKEDITOR.NODE_ELEMENT)return a.is(CKEDITOR.dtd.$list)||a.is(CKEDITOR.dtd.$listItem)};c.evaluator=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.is(CKEDITOR.dtd.$listItem)};return c}return function(c){var d=c.startContainer,b=!1,e;e=c.clone();e.setStart(d,0);e=a(e).lastBackward();e||(e=c.clone(),e.setEndAt(d, +CKEDITOR.POSITION_BEFORE_END),e=a(e).lastForward(),b=!0);e||(e=d);e.is(CKEDITOR.dtd.$list)?(c.setStartAt(e,CKEDITOR.POSITION_BEFORE_START),c.collapse(!0),e.remove()):((d=e.getBogus())&&d.remove(),c.moveToPosition(e,b?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END),c.select())}}();z={eol:{detect:function(a,c){var d=a.range,b=d.clone(),e=d.clone(),f=new CKEDITOR.dom.elementPath(d.startContainer,c),g=new CKEDITOR.dom.elementPath(d.endContainer,c);b.collapse(1);e.collapse();f.block&&b.checkBoundaryOfElement(f.block, +CKEDITOR.END)&&(d.setStartAfter(f.block),a.prependEolBr=1);g.block&&e.checkBoundaryOfElement(g.block,CKEDITOR.START)&&(d.setEndBefore(g.block),a.appendEolBr=1)},fix:function(a,c){var d=c.getDocument(),b;a.appendEolBr&&(b=this.createEolBr(d),a.fragment.append(b));!a.prependEolBr||b&&!b.getPrevious()||a.fragment.append(this.createEolBr(d),1)},createEolBr:function(a){return a.createElement("br",{attributes:{"data-cke-eol":1}})}},bogus:{exclude:function(a){var c=a.range.getBoundaryNodes(),d=c.startNode, +c=c.endNode;!c||!q(c)||d&&d.equals(c)||a.range.setEndBefore(c)}},tree:{rebuild:function(a,c){var d=a.range,b=d.getCommonAncestor(),e=new CKEDITOR.dom.elementPath(b,c),f=new CKEDITOR.dom.elementPath(d.startContainer,c),d=new CKEDITOR.dom.elementPath(d.endContainer,c),g;b.type==CKEDITOR.NODE_TEXT&&(b=b.getParent());if(e.blockLimit.is({tr:1,table:1})){var h=e.contains("table").getParent();g=function(a){return!a.equals(h)}}else if(e.block&&e.block.is(CKEDITOR.dtd.$listItem)&&(f=f.contains(CKEDITOR.dtd.$list), +d=d.contains(CKEDITOR.dtd.$list),!f.equals(d))){var n=e.contains(CKEDITOR.dtd.$list).getParent();g=function(a){return!a.equals(n)}}g||(g=function(a){return!a.equals(e.block)&&!a.equals(e.blockLimit)});this.rebuildFragment(a,c,b,g)},rebuildFragment:function(a,c,d,b){for(var e;d&&!d.equals(c)&&b(d);)e=d.clone(0,1),a.fragment.appendTo(e),a.fragment=e,d=d.getParent()}},cell:{shrink:function(a){a=a.range;var c=a.startContainer,d=a.endContainer,b=a.startOffset,e=a.endOffset;c.type==CKEDITOR.NODE_ELEMENT&& +c.equals(d)&&c.is("tr")&&++b==e&&a.shrink(CKEDITOR.SHRINK_TEXT)}}};u=function(){function a(c,d){var b=c.getParent();if(b.is(CKEDITOR.dtd.$inline))c[d?"insertBefore":"insertAfter"](b)}function c(d,b,e){a(b);a(e,1);for(var f;f=e.getNext();)f.insertAfter(b),b=f;x(d)&&d.remove()}function d(a,c){var b=new CKEDITOR.dom.range(a);b.setStartAfter(c.startNode);b.setEndBefore(c.endNode);return b}return{list:{detectMerge:function(a,c){var b=d(c,a.bookmark),e=b.startPath(),f=b.endPath(),g=e.contains(CKEDITOR.dtd.$list), +h=f.contains(CKEDITOR.dtd.$list);a.mergeList=g&&h&&g.getParent().equals(h.getParent())&&!g.equals(h);a.mergeListItems=e.block&&f.block&&e.block.is(CKEDITOR.dtd.$listItem)&&f.block.is(CKEDITOR.dtd.$listItem);if(a.mergeList||a.mergeListItems)b=b.clone(),b.setStartBefore(a.bookmark.startNode),b.setEndAfter(a.bookmark.endNode),a.mergeListBookmark=b.createBookmark()},merge:function(a,d){if(a.mergeListBookmark){var b=a.mergeListBookmark.startNode,e=a.mergeListBookmark.endNode,f=new CKEDITOR.dom.elementPath(b, +d),g=new CKEDITOR.dom.elementPath(e,d);if(a.mergeList){var h=f.contains(CKEDITOR.dtd.$list),n=g.contains(CKEDITOR.dtd.$list);h.equals(n)||(n.moveChildren(h),n.remove())}a.mergeListItems&&(f=f.contains(CKEDITOR.dtd.$listItem),g=g.contains(CKEDITOR.dtd.$listItem),f.equals(g)||c(g,b,e));b.remove();e.remove()}}},block:{detectMerge:function(a,c){if(!a.tableContentsRanges&&!a.mergeListBookmark){var d=new CKEDITOR.dom.range(c);d.setStartBefore(a.bookmark.startNode);d.setEndAfter(a.bookmark.endNode);a.mergeBlockBookmark= +d.createBookmark()}},merge:function(a,d){if(a.mergeBlockBookmark&&!a.purgeTableBookmark){var b=a.mergeBlockBookmark.startNode,e=a.mergeBlockBookmark.endNode,f=new CKEDITOR.dom.elementPath(b,d),g=new CKEDITOR.dom.elementPath(e,d),f=f.block,g=g.block;f&&g&&!f.equals(g)&&c(g,b,e);b.remove();e.remove()}}},table:function(){function a(d){var e=[],f,g=new CKEDITOR.dom.walker(d),h=d.startPath().contains(b),n=d.endPath().contains(b),k={};g.guard=function(a,g){if(a.type==CKEDITOR.NODE_ELEMENT){var l="visited_"+ +(g?"out":"in");if(a.getCustomData(l))return;CKEDITOR.dom.element.setMarker(k,a,l,1)}if(g&&h&&a.equals(h))f=d.clone(),f.setEndAt(h,CKEDITOR.POSITION_BEFORE_END),e.push(f);else if(!g&&n&&a.equals(n))f=d.clone(),f.setStartAt(n,CKEDITOR.POSITION_AFTER_START),e.push(f);else{if(l=!g)l=a.type==CKEDITOR.NODE_ELEMENT&&a.is(b)&&(!h||c(a,h))&&(!n||c(a,n));if(!l&&(l=g))if(a.is(b))var l=h&&h.getAscendant("table",!0),m=n&&n.getAscendant("table",!0),p=a.getAscendant("table",!0),l=l&&l.contains(p)||m&&m.contains(p); +else l=void 0;l&&(f=d.clone(),f.selectNodeContents(a),e.push(f))}};g.lastForward();CKEDITOR.dom.element.clearAllMarkers(k);return e}function c(a,d){var b=CKEDITOR.POSITION_CONTAINS+CKEDITOR.POSITION_IS_CONTAINED,e=a.getPosition(d);return e===CKEDITOR.POSITION_IDENTICAL?!1:0===(e&b)}var b={td:1,th:1,caption:1};return{detectPurge:function(a){var c=a.range,d=c.clone();d.enlarge(CKEDITOR.ENLARGE_ELEMENT);var d=new CKEDITOR.dom.walker(d),e=0;d.evaluator=function(a){a.type==CKEDITOR.NODE_ELEMENT&&a.is(b)&& +++e};d.checkForward();if(1<e){var d=c.startPath().contains("table"),f=c.endPath().contains("table");d&&f&&c.checkBoundaryOfElement(d,CKEDITOR.START)&&c.checkBoundaryOfElement(f,CKEDITOR.END)&&(c=a.range.clone(),c.setStartBefore(d),c.setEndAfter(f),a.purgeTableBookmark=c.createBookmark())}},detectRanges:function(e,f){var g=d(f,e.bookmark),h=g.clone(),n,k,l=g.getCommonAncestor();l.is(CKEDITOR.dtd.$tableContent)&&!l.is(b)&&(l=l.getAscendant("table",!0));k=l;l=new CKEDITOR.dom.elementPath(g.startContainer, +k);k=new CKEDITOR.dom.elementPath(g.endContainer,k);l=l.contains("table");k=k.contains("table");if(l||k)l&&k&&c(l,k)?(e.tableSurroundingRange=h,h.setStartAt(l,CKEDITOR.POSITION_AFTER_END),h.setEndAt(k,CKEDITOR.POSITION_BEFORE_START),h=g.clone(),h.setEndAt(l,CKEDITOR.POSITION_AFTER_END),n=g.clone(),n.setStartAt(k,CKEDITOR.POSITION_BEFORE_START),n=a(h).concat(a(n))):l?k||(e.tableSurroundingRange=h,h.setStartAt(l,CKEDITOR.POSITION_AFTER_END),g.setEndAt(l,CKEDITOR.POSITION_AFTER_END)):(e.tableSurroundingRange= +h,h.setEndAt(k,CKEDITOR.POSITION_BEFORE_START),g.setStartAt(k,CKEDITOR.POSITION_AFTER_START)),e.tableContentsRanges=n?n:a(g)},deleteRanges:function(a){for(var c;c=a.tableContentsRanges.pop();)c.extractContents(),x(c.startContainer)&&c.startContainer.appendBogus();a.tableSurroundingRange&&a.tableSurroundingRange.extractContents()},purge:function(a){if(a.purgeTableBookmark){var c=a.doc,d=a.range.clone(),c=c.createElement("p");c.insertBefore(a.purgeTableBookmark.startNode);d.moveToBookmark(a.purgeTableBookmark); +d.deleteContents();a.range.moveToPosition(c,CKEDITOR.POSITION_AFTER_START)}}}}(),detectExtractMerge:function(a){return!(a.range.startPath().contains(CKEDITOR.dtd.$listItem)&&a.range.endPath().contains(CKEDITOR.dtd.$listItem))},fixUneditableRangePosition:function(a){a.startContainer.getDtd()["#"]||a.moveToClosestEditablePosition(null,!0)},autoParagraph:function(a,c){var d=c.startPath(),b;k(a,d.block,d.blockLimit)&&(b=l(a))&&(b=c.document.createElement(b),b.appendBogus(),c.insertNode(b),c.moveToPosition(b, +CKEDITOR.POSITION_AFTER_START))}}}()})();(function(){function b(a){return CKEDITOR.plugins.widget&&CKEDITOR.plugins.widget.isDomWidget(a)}function h(a,c){if(0===a.length||b(a[0].getEnclosedNode()))return!1;var d,e;if((d=!c&&1===a.length)&&!(d=a[0].collapsed)){var f=a[0];d=f.startContainer.getAscendant({td:1,th:1},!0);var g=f.endContainer.getAscendant({td:1,th:1},!0);e=CKEDITOR.tools.trim;d&&d.equals(g)&&!d.findOne("td, th, tr, tbody, table")?(f=f.cloneContents(),d=f.getFirst()?e(f.getFirst().getText())!== +e(d.getText()):!0):d=!1}if(d)return!1;for(e=0;e<a.length;e++)if(d=a[e]._getTableElement(),!d)return!1;return!0}function g(a){function c(a){a=a.find("td, th");var d=[],b;for(b=0;b<a.count();b++)d.push(a.getItem(b));return d}var d=[],b,e;for(e=0;e<a.length;e++)b=a[e]._getTableElement(),b.is&&b.is({td:1,th:1})?d.push(b):d=d.concat(c(b));return d}function f(a){a=g(a);var c="",d=[],b,e;for(e=0;e<a.length;e++)b&&!b.equals(a[e].getAscendant("tr"))?(c+=d.join("\t")+"\n",b=a[e].getAscendant("tr"),d=[]):0=== +e&&(b=a[e].getAscendant("tr")),d.push(a[e].getText());return c+=d.join("\t")}function a(a){var c=this.root.editor,d=c.getSelection(1);this.reset();u=!0;d.root.once("selectionchange",function(a){a.cancel()},null,null,0);d.selectRanges([a[0]]);d=this._.cache;d.ranges=new CKEDITOR.dom.rangeList(a);d.type=CKEDITOR.SELECTION_TEXT;d.selectedElement=a[0]._getTableElement();d.selectedText=f(a);d.nativeSel=null;this.isFake=1;this.rev=w++;c._.fakeSelection=this;u=!1;this.root.fire("selectionchange")}function m(){var a= +this._.fakeSelection,c;if(a){c=this.getSelection(1);var d;if(!(d=!c)&&(d=!c.isHidden())){d=a;var e=c.getRanges(),f=d.getRanges(),g=e.length&&e[0]._getTableElement()&&e[0]._getTableElement().getAscendant("table",!0),n=f.length&&f[0]._getTableElement()&&f[0]._getTableElement().getAscendant("table",!0),k=1===e.length&&e[0]._getTableElement()&&e[0]._getTableElement().is("table"),l=1===f.length&&f[0]._getTableElement()&&f[0]._getTableElement().is("table");if(b(d.getSelectedElement()))d=!1;else{var m=1=== +e.length&&e[0].collapsed,f=h(e,!!CKEDITOR.env.webkit)&&h(f);g=g&&n?g.equals(n)||n.contains(g):!1;g&&(m||f)?(k&&!l&&d.selectRanges(e),d=!0):d=!1}d=!d}d&&(a.reset(),a=0)}if(!a&&(a=c||this.getSelection(1),!a||a.getType()==CKEDITOR.SELECTION_NONE))return;this.fire("selectionCheck",a);c=this.elementPath();c.compare(this._.selectionPreviousPath)||(d=this._.selectionPreviousPath&&this._.selectionPreviousPath.blockLimit.equals(c.blockLimit),!CKEDITOR.env.webkit&&!CKEDITOR.env.gecko||d||(this._.previousActive= +this.document.getActive()),this._.selectionPreviousPath=c,this.fire("selectionChange",{selection:a,path:c}))}function k(){C=!0;v||(l.call(this),v=CKEDITOR.tools.setTimeout(l,200,this))}function l(){v=null;C&&(CKEDITOR.tools.setTimeout(m,0,this),C=!1)}function c(a){return E(a)||a.type==CKEDITOR.NODE_ELEMENT&&!a.is(CKEDITOR.dtd.$empty)?!0:!1}function e(a){function d(c,b){return c&&c.type!=CKEDITOR.NODE_TEXT?a.clone()["moveToElementEdit"+(b?"End":"Start")](c):!1}if(!(a.root instanceof CKEDITOR.editable))return!1; +var b=a.startContainer,e=a.getPreviousNode(c,null,b),f=a.getNextNode(c,null,b);return d(e)||d(f,1)||!(e||f||b.type==CKEDITOR.NODE_ELEMENT&&b.isBlockBoundary()&&b.getBogus())?!0:!1}function d(a){n(a,!1);var c=a.getDocument().createText(t);a.setCustomData("cke-fillingChar",c);return c}function n(a,c){var d=a&&a.removeCustomData("cke-fillingChar");if(d){if(!1!==c){var b=a.getDocument().getSelection().getNative(),e=b&&"None"!=b.type&&b.getRangeAt(0),f=t.length;if(d.getLength()>f&&e&&e.intersectsNode(d.$)){var g= +[{node:b.anchorNode,offset:b.anchorOffset},{node:b.focusNode,offset:b.focusOffset}];b.anchorNode==d.$&&b.anchorOffset>f&&(g[0].offset-=f);b.focusNode==d.$&&b.focusOffset>f&&(g[1].offset-=f)}}d.setText(y(d.getText(),1));g&&(d=a.getDocument().$,b=d.getSelection(),d=d.createRange(),d.setStart(g[0].node,g[0].offset),d.collapse(!0),b.removeAllRanges(),b.addRange(d),b.extend(g[1].node,g[1].offset))}}function y(a,c){return c?a.replace(z,function(a,c){return c?" ":""}):a.replace(t,"")}function x(a,c){var d= +c&&CKEDITOR.tools.htmlEncode(c)||"\x26nbsp;",d=CKEDITOR.dom.element.createFromHtml('\x3cdiv data-cke-hidden-sel\x3d"1" data-cke-temp\x3d"1" style\x3d"'+(CKEDITOR.env.ie&&14>CKEDITOR.env.version?"display:none":"position:fixed;top:0;left:-1000px;width:0;height:0;overflow:hidden;")+'"\x3e'+d+"\x3c/div\x3e",a.document);a.fire("lockSnapshot");a.editable().append(d);var b=a.getSelection(1),e=a.createRange(),f=b.root.on("selectionchange",function(a){a.cancel()},null,null,0);e.setStartAt(d,CKEDITOR.POSITION_AFTER_START); +e.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);b.selectRanges([e]);f.removeListener();a.fire("unlockSnapshot");a._.hiddenSelectionContainer=d}function q(a){var c={37:1,39:1,8:1,46:1};return function(d){var b=d.data.getKeystroke();if(c[b]){var e=a.getSelection().getRanges(),f=e[0];1==e.length&&f.collapsed&&(b=f[38>b?"getPreviousEditableNode":"getNextEditableNode"]())&&b.type==CKEDITOR.NODE_ELEMENT&&"false"==b.getAttribute("contenteditable")&&(a.getSelection().fake(b),d.data.preventDefault(),d.cancel())}}} +function r(a){for(var c=0;c<a.length;c++){var d=a[c];d.getCommonAncestor().isReadOnly()&&a.splice(c,1);if(!d.collapsed){if(d.startContainer.isReadOnly())for(var b=d.startContainer,e;b&&!((e=b.type==CKEDITOR.NODE_ELEMENT)&&b.is("body")||!b.isReadOnly());)e&&"false"==b.getAttribute("contentEditable")&&d.setStartAfter(b),b=b.getParent();b=d.startContainer;e=d.endContainer;var f=d.startOffset,g=d.endOffset,h=d.clone();b&&b.type==CKEDITOR.NODE_TEXT&&(f>=b.getLength()?h.setStartAfter(b):h.setStartBefore(b)); +e&&e.type==CKEDITOR.NODE_TEXT&&(g?h.setEndAfter(e):h.setEndBefore(e));b=new CKEDITOR.dom.walker(h);b.evaluator=function(b){if(b.type==CKEDITOR.NODE_ELEMENT&&b.isReadOnly()){var e=d.clone();d.setEndBefore(b);d.collapsed&&a.splice(c--,1);b.getPosition(h.endContainer)&CKEDITOR.POSITION_CONTAINS||(e.setStartAfter(b),e.collapsed||a.splice(c+1,0,e));return!0}return!1};b.next()}}return a}var p="function"!=typeof window.getSelection,w=1,t=CKEDITOR.tools.repeat("",7),z=new RegExp(t+"( )?","g"),u,v,C,E=CKEDITOR.dom.walker.invisible(1), +A=function(){function a(c){return function(a){var d=a.editor.createRange();d.moveToClosestEditablePosition(a.selected,c)&&a.editor.getSelection().selectRanges([d]);return!1}}function c(a){return function(c){var d=c.editor,b=d.createRange(),e;if(!d.readOnly)return(e=b.moveToClosestEditablePosition(c.selected,a))||(e=b.moveToClosestEditablePosition(c.selected,!a)),e&&d.getSelection().selectRanges([b]),d.fire("saveSnapshot"),c.selected.remove(),e||(b.moveToElementEditablePosition(d.editable()),d.getSelection().selectRanges([b])), +d.fire("saveSnapshot"),!1}}var d=a(),b=a(1);return{37:d,38:d,39:b,40:b,8:c(),46:c(1)}}();CKEDITOR.on("instanceCreated",function(a){function c(){var a=d.getSelection();a&&a.removeAllRanges()}var d=a.editor;d.on("contentDom",function(){function a(){v=new CKEDITOR.dom.selection(d.getSelection());v.lock()}function c(){g.removeListener("mouseup",c);r.removeListener("mouseup",c);var a=CKEDITOR.document.$.selection,d=a.createRange();"None"!=a.type&&d.parentElement()&&d.parentElement().ownerDocument==f.$&& +d.select()}function b(a){var c,d;c=(c=this.document.getActive())?"input"===c.getName()||"textarea"===c.getName():!1;c||(c=this.getSelection(1),(d=e(c))&&!d.equals(h)&&(c.selectElement(d),a.data.preventDefault()))}function e(a){a=a.getRanges()[0];return a?(a=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("contenteditable")},!0))&&"false"===a.getAttribute("contenteditable")?a:null:null}var f=d.document,g=CKEDITOR.document,h=d.editable(),l=f.getBody(), +r=f.getDocumentElement(),y=h.isInline(),t,v;CKEDITOR.env.gecko&&h.attachListener(h,"focus",function(a){a.removeListener();0!==t&&(a=d.getSelection().getNative())&&a.isCollapsed&&a.anchorNode==h.$&&(a=d.createRange(),a.moveToElementEditStart(h),a.select())},null,null,-2);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){if(t&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){t=d._.previousActive&&d._.previousActive.equals(f.getActive());var a=null!=d._.previousScrollTop&& +d._.previousScrollTop!=h.$.scrollTop;CKEDITOR.env.webkit&&t&&a&&(h.$.scrollTop=d._.previousScrollTop)}d.unlockSelection(t);t=0},null,null,-1);h.attachListener(h,"mousedown",function(){t=0});if(CKEDITOR.env.ie||CKEDITOR.env.gecko||y)p?h.attachListener(h,"beforedeactivate",a,null,null,-1):h.attachListener(d,"selectionCheck",a,null,null,-1),h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusout":"blur",function(){var a=v&&(v.isFake||2>v.getRanges().length);CKEDITOR.env.gecko&&!y&&a||(d.lockSelection(v), +t=1)},null,null,-1),h.attachListener(h,"mousedown",function(){t=0});if(CKEDITOR.env.ie&&!y){var w;h.attachListener(h,"mousedown",function(a){2==a.data.$.button&&((a=d.document.getSelection())&&a.getType()!=CKEDITOR.SELECTION_NONE||(w=d.window.getScrollPosition()))});h.attachListener(h,"mouseup",function(a){2==a.data.$.button&&w&&(d.document.$.documentElement.scrollLeft=w.x,d.document.$.documentElement.scrollTop=w.y);w=null});if("BackCompat"!=f.$.compatMode){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat){var u, +x;r.on("mousedown",function(a){function c(a){a=a.data.$;if(u){var d=l.$.createTextRange();try{d.moveToPoint(a.clientX,a.clientY)}catch(b){}u.setEndPoint(0>x.compareEndPoints("StartToStart",d)?"EndToEnd":"StartToStart",d);u.select()}}function d(){r.removeListener("mousemove",c);g.removeListener("mouseup",d);r.removeListener("mouseup",d);u.select()}a=a.data;if(a.getTarget().is("html")&&a.$.y<r.$.clientHeight&&a.$.x<r.$.clientWidth){u=l.$.createTextRange();try{u.moveToPoint(a.$.clientX,a.$.clientY)}catch(b){}x= +u.duplicate();r.on("mousemove",c);g.on("mouseup",d);r.on("mouseup",d)}})}if(7<CKEDITOR.env.version&&11>CKEDITOR.env.version)r.on("mousedown",function(a){a.data.getTarget().is("html")&&(g.on("mouseup",c),r.on("mouseup",c))})}}h.attachListener(h,"selectionchange",m,d);h.attachListener(h,"keyup",k,d);h.attachListener(h,"touchstart",k,d);h.attachListener(h,"touchend",k,d);CKEDITOR.env.ie&&h.attachListener(h,"keydown",b,d);h.attachListener(h,CKEDITOR.env.webkit||CKEDITOR.env.gecko?"focusin":"focus",function(){d.forceNextSelectionCheck(); +d.selectionChange(1)});if(y&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var z;h.attachListener(h,"mousedown",function(){z=1});h.attachListener(f.getDocumentElement(),"mouseup",function(){z&&k.call(d);z=0})}else h.attachListener(CKEDITOR.env.ie?h:f.getDocumentElement(),"mouseup",k,d);CKEDITOR.env.webkit&&h.attachListener(f,"keydown",function(a){switch(a.data.getKey()){case 13:case 33:case 34:case 35:case 36:case 37:case 39:case 8:case 45:case 46:h.hasFocus&&n(h)}},null,null,-1);h.attachListener(h, +"keydown",q(d),null,null,-1)});d.on("setData",function(){d.unlockSelection();CKEDITOR.env.webkit&&c()});d.on("contentDomUnload",function(){d.unlockSelection()});if(CKEDITOR.env.ie9Compat)d.on("beforeDestroy",c,null,null,9);d.on("dataReady",function(){delete d._.fakeSelection;delete d._.hiddenSelectionContainer;d.selectionChange(1)});d.on("loadSnapshot",function(){var a=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT),c=d.editable().getLast(a);c&&c.hasAttribute("data-cke-hidden-sel")&&(c.remove(), +CKEDITOR.env.gecko&&(a=d.editable().getFirst(a))&&a.is("br")&&a.getAttribute("_moz_editor_bogus_node")&&a.remove())},null,null,100);d.on("key",function(a){if("wysiwyg"==d.mode){var c=d.getSelection();if(c.isFake){var b=A[a.data.keyCode];if(b)return b({editor:d,selected:c.getSelectedElement(),selection:c,keyEvent:a})}}})});if(CKEDITOR.env.webkit)CKEDITOR.on("instanceReady",function(a){var c=a.editor;c.on("selectionChange",function(){var a=c.editable(),d=a.getCustomData("cke-fillingChar");d&&(d.getCustomData("ready")? +(n(a),a.editor.fire("selectionCheck")):d.setCustomData("ready",1))},null,null,-1);c.on("beforeSetMode",function(){n(c.editable())},null,null,-1);c.on("getSnapshot",function(a){a.data&&(a.data=y(a.data))},c,null,20);c.on("toDataFormat",function(a){a.data.dataValue=y(a.data.dataValue)},null,null,0)});CKEDITOR.editor.prototype.selectionChange=function(a){(a?m:k).call(this)};CKEDITOR.editor.prototype.getSelection=function(a){return!this._.savedSelection&&!this._.fakeSelection||a?(a=this.editable())&& +"wysiwyg"==this.mode?new CKEDITOR.dom.selection(a):null:this._.savedSelection||this._.fakeSelection};CKEDITOR.editor.prototype.getSelectedRanges=function(a){var c=this.getSelection();return c&&c.getRanges(a)||[]};CKEDITOR.editor.prototype.lockSelection=function(a){a=a||this.getSelection(1);return a.getType()!=CKEDITOR.SELECTION_NONE?(!a.isLocked&&a.lock(),this._.savedSelection=a,!0):!1};CKEDITOR.editor.prototype.unlockSelection=function(a){var c=this._.savedSelection;return c?(c.unlock(a),delete this._.savedSelection, +!0):!1};CKEDITOR.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath};CKEDITOR.dom.document.prototype.getSelection=function(){return new CKEDITOR.dom.selection(this)};CKEDITOR.dom.range.prototype.select=function(){var a=this.root instanceof CKEDITOR.editable?this.root.editor.getSelection():new CKEDITOR.dom.selection(this.root);a.selectRanges([this]);return a};CKEDITOR.SELECTION_NONE=1;CKEDITOR.SELECTION_TEXT=2;CKEDITOR.SELECTION_ELEMENT=3;CKEDITOR.dom.selection= +function(a){if(a instanceof CKEDITOR.dom.selection){var c=a;a=a.root}var d=a instanceof CKEDITOR.dom.element;this.rev=c?c.rev:w++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=d?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(c)return CKEDITOR.tools.extend(this._.cache,c._.cache),this.isFake=c.isFake,this.isLocked=c.isLocked,this;a=this.getNative();var b,e;if(a)if(a.getRangeAt)b=(e=a.rangeCount&&a.getRangeAt(0))&&new CKEDITOR.dom.node(e.commonAncestorContainer); +else{try{e=a.createRange()}catch(f){}b=e&&CKEDITOR.dom.element.get(e.item&&e.item(0)||e.parentElement())}if(!b||b.type!=CKEDITOR.NODE_ELEMENT&&b.type!=CKEDITOR.NODE_TEXT||!this.root.equals(b)&&!this.root.contains(b))this._.cache.type=CKEDITOR.SELECTION_NONE,this._.cache.startElement=null,this._.cache.selectedElement=null,this._.cache.selectedText="",this._.cache.ranges=new CKEDITOR.dom.rangeList;return this};var B={img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,a:1,input:1,form:1, +select:1,textarea:1,button:1,fieldset:1,thead:1,tfoot:1};CKEDITOR.tools.extend(CKEDITOR.dom.selection,{_removeFillingCharSequenceString:y,_createFillingCharSequenceNode:d,FILLING_CHAR_SEQUENCE:t});CKEDITOR.dom.selection.prototype={getNative:function(){return void 0!==this._.cache.nativeSel?this._.cache.nativeSel:this._.cache.nativeSel=p?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:p?function(){var a=this._.cache;if(a.type)return a.type;var c=CKEDITOR.SELECTION_NONE; +try{var d=this.getNative(),b=d.type;"Text"==b&&(c=CKEDITOR.SELECTION_TEXT);"Control"==b&&(c=CKEDITOR.SELECTION_ELEMENT);d.createRange().parentElement()&&(c=CKEDITOR.SELECTION_TEXT)}catch(e){}return a.type=c}:function(){var a=this._.cache;if(a.type)return a.type;var c=CKEDITOR.SELECTION_TEXT,d=this.getNative();if(!d||!d.rangeCount)c=CKEDITOR.SELECTION_NONE;else if(1==d.rangeCount){var d=d.getRangeAt(0),b=d.startContainer;b==d.endContainer&&1==b.nodeType&&1==d.endOffset-d.startOffset&&B[b.childNodes[d.startOffset].nodeName.toLowerCase()]&& +(c=CKEDITOR.SELECTION_ELEMENT)}return a.type=c},getRanges:function(){var a=p?function(){function a(c){return(new CKEDITOR.dom.node(c)).getIndex()}var c=function(c,d){c=c.duplicate();c.collapse(d);var b=c.parentElement();if(!b.hasChildNodes())return{container:b,offset:0};for(var e=b.children,f,g,h=c.duplicate(),n=0,k=e.length-1,l=-1,m,p;n<=k;)if(l=Math.floor((n+k)/2),f=e[l],h.moveToElementText(f),m=h.compareEndPoints("StartToStart",c),0<m)k=l-1;else if(0>m)n=l+1;else return{container:b,offset:a(f)}; +if(-1==l||l==e.length-1&&0>m){h.moveToElementText(b);h.setEndPoint("StartToStart",c);h=h.text.replace(/(\r\n|\r)/g,"\n").length;e=b.childNodes;if(!h)return f=e[e.length-1],f.nodeType!=CKEDITOR.NODE_TEXT?{container:b,offset:e.length}:{container:f,offset:f.nodeValue.length};for(b=e.length;0<h&&0<b;)g=e[--b],g.nodeType==CKEDITOR.NODE_TEXT&&(p=g,h-=g.nodeValue.length);return{container:p,offset:-h}}h.collapse(0<m?!0:!1);h.setEndPoint(0<m?"StartToStart":"EndToStart",c);h=h.text.replace(/(\r\n|\r)/g,"\n").length; +if(!h)return{container:b,offset:a(f)+(0<m?0:1)};for(;0<h;)try{g=f[0<m?"previousSibling":"nextSibling"],g.nodeType==CKEDITOR.NODE_TEXT&&(h-=g.nodeValue.length,p=g),f=g}catch(r){return{container:b,offset:a(f)}}return{container:p,offset:0<m?-h:p.nodeValue.length+h}};return function(){var a=this.getNative(),d=a&&a.createRange(),b=this.getType();if(!a)return[];if(b==CKEDITOR.SELECTION_TEXT)return a=new CKEDITOR.dom.range(this.root),b=c(d,!0),a.setStart(new CKEDITOR.dom.node(b.container),b.offset),b=c(d), +a.setEnd(new CKEDITOR.dom.node(b.container),b.offset),a.endContainer.getPosition(a.startContainer)&CKEDITOR.POSITION_PRECEDING&&a.endOffset<=a.startContainer.getIndex()&&a.collapse(),[a];if(b==CKEDITOR.SELECTION_ELEMENT){for(var b=[],e=0;e<d.length;e++){for(var f=d.item(e),g=f.parentNode,h=0,a=new CKEDITOR.dom.range(this.root);h<g.childNodes.length&&g.childNodes[h]!=f;h++);a.setStart(new CKEDITOR.dom.node(g),h);a.setEnd(new CKEDITOR.dom.node(g),h+1);b.push(a)}return b}return[]}}():function(){var a= +[],c,d=this.getNative();if(!d)return a;for(var b=0;b<d.rangeCount;b++){var e=d.getRangeAt(b);c=new CKEDITOR.dom.range(this.root);c.setStart(new CKEDITOR.dom.node(e.startContainer),e.startOffset);c.setEnd(new CKEDITOR.dom.node(e.endContainer),e.endOffset);a.push(c)}return a};return function(c){var d=this._.cache,b=d.ranges;b||(d.ranges=b=new CKEDITOR.dom.rangeList(a.call(this)));return c?r(new CKEDITOR.dom.rangeList(b.slice())):b}}(),getStartElement:function(){var a=this._.cache;if(void 0!==a.startElement)return a.startElement; +var c;switch(this.getType()){case CKEDITOR.SELECTION_ELEMENT:return this.getSelectedElement();case CKEDITOR.SELECTION_TEXT:var d=this.getRanges()[0];if(d){if(d.collapsed)c=d.startContainer,c.type!=CKEDITOR.NODE_ELEMENT&&(c=c.getParent());else{for(d.optimize();c=d.startContainer,d.startOffset==(c.getChildCount?c.getChildCount():c.getLength())&&!c.isBlockBoundary();)d.setStartAfter(c);c=d.startContainer;if(c.type!=CKEDITOR.NODE_ELEMENT)return c.getParent();if((c=c.getChild(d.startOffset))&&c.type== +CKEDITOR.NODE_ELEMENT)for(d=c.getFirst();d&&d.type==CKEDITOR.NODE_ELEMENT;)c=d,d=d.getFirst();else c=d.startContainer}c=c.$}}return a.startElement=c?new CKEDITOR.dom.element(c):null},getSelectedElement:function(){var a=this._.cache;if(void 0!==a.selectedElement)return a.selectedElement;var c=this,d=CKEDITOR.tools.tryThese(function(){return c.getNative().createRange().item(0)},function(){for(var a=c.getRanges()[0].clone(),d,b,e=2;e&&!((d=a.getEnclosedNode())&&d.type==CKEDITOR.NODE_ELEMENT&&B[d.getName()]&& +(b=d));e--)a.shrink(CKEDITOR.SHRINK_ELEMENT);return b&&b.$});return a.selectedElement=d?new CKEDITOR.dom.element(d):null},getSelectedText:function(){var a=this._.cache;if(void 0!==a.selectedText)return a.selectedText;var c=this.getNative(),c=p?"Control"==c.type?"":c.createRange().text:c.toString();return a.selectedText=c},lock:function(){this.getRanges();this.getStartElement();this.getSelectedElement();this.getSelectedText();this._.cache.nativeSel=null;this.isLocked=1},unlock:function(c){if(this.isLocked){if(c)var d= +this.getSelectedElement(),b=this.getRanges(),e=this.isFake;this.isLocked=0;this.reset();c&&(c=d||b[0]&&b[0].getCommonAncestor())&&c.getAscendant("body",1)&&((c=this.root.editor)&&c.plugins.tableselection&&c.plugins.tableselection.isSupportedEnvironment(c)&&h(b)?a.call(this,b):e?this.fake(d):d&&2>b.length?this.selectElement(d):this.selectRanges(b))}},reset:function(){this._.cache={};this.isFake=0;var a=this.root.editor;if(a&&a._.fakeSelection)if(this.rev==a._.fakeSelection.rev){delete a._.fakeSelection; +var c=a._.hiddenSelectionContainer;if(c){var d=a.checkDirty();a.fire("lockSnapshot");c.remove();a.fire("unlockSnapshot");!d&&a.resetDirty()}delete a._.hiddenSelectionContainer}else CKEDITOR.warn("selection-fake-reset");this.rev=w++},selectElement:function(a){var c=new CKEDITOR.dom.range(this.root);c.setStartBefore(a);c.setEndAfter(a);this.selectRanges([c])},selectRanges:function(c){var b=this.root.editor,f=b&&b._.hiddenSelectionContainer;this.reset();if(f)for(var f=this.root,g,k=0;k<c.length;++k)g= +c[k],g.endContainer.equals(f)&&(g.endOffset=Math.min(g.endOffset,f.getChildCount()));if(c.length)if(this.isLocked){var l=CKEDITOR.document.getActive();this.unlock();this.selectRanges(c);this.lock();l&&!l.equals(this.root)&&l.focus()}else{var m;a:{var r,y;if(1==c.length&&!(y=c[0]).collapsed&&(m=y.getEnclosedNode())&&m.type==CKEDITOR.NODE_ELEMENT&&(y=y.clone(),y.shrink(CKEDITOR.SHRINK_ELEMENT,!0),(r=y.getEnclosedNode())&&r.type==CKEDITOR.NODE_ELEMENT&&(m=r),"false"==m.getAttribute("contenteditable")))break a; +m=void 0}if(m)this.fake(m);else if(b&&b.plugins.tableselection&&b.plugins.tableselection.isSupportedEnvironment(b)&&h(c)&&!u&&!c[0]._getTableElement({table:1}).hasAttribute("data-cke-tableselection-ignored"))a.call(this,c);else{if(p){r=CKEDITOR.dom.walker.whitespaces(!0);m=/\ufeff|\u00a0/;y={table:1,tbody:1,tr:1};1<c.length&&(b=c[c.length-1],c[0].setEnd(b.endContainer,b.endOffset));b=c[0];c=b.collapsed;var t,v,w;if((f=b.getEnclosedNode())&&f.type==CKEDITOR.NODE_ELEMENT&&f.getName()in B&&(!f.is("a")|| +!f.getText()))try{w=f.$.createControlRange();w.addElement(f.$);w.select();return}catch(q){}if(b.startContainer.type==CKEDITOR.NODE_ELEMENT&&b.startContainer.getName()in y||b.endContainer.type==CKEDITOR.NODE_ELEMENT&&b.endContainer.getName()in y)b.shrink(CKEDITOR.NODE_ELEMENT,!0),c=b.collapsed;w=b.createBookmark();y=w.startNode;c||(l=w.endNode);w=b.document.$.body.createTextRange();w.moveToElementText(y.$);w.moveStart("character",1);l?(m=b.document.$.body.createTextRange(),m.moveToElementText(l.$), +w.setEndPoint("EndToEnd",m),w.moveEnd("character",-1)):(t=y.getNext(r),v=y.hasAscendant("pre"),t=!(t&&t.getText&&t.getText().match(m))&&(v||!y.hasPrevious()||y.getPrevious().is&&y.getPrevious().is("br")),v=b.document.createElement("span"),v.setHtml("\x26#65279;"),v.insertBefore(y),t&&b.document.createText("").insertBefore(y));b.setStartBefore(y);y.remove();c?(t?(w.moveStart("character",-1),w.select(),b.document.$.selection.clear()):w.select(),b.moveToPosition(v,CKEDITOR.POSITION_BEFORE_START),v.remove()): +(b.setEndBefore(l),l.remove(),w.select())}else{l=this.getNative();if(!l)return;this.removeAllRanges();for(w=0;w<c.length;w++){if(w<c.length-1&&(t=c[w],v=c[w+1],m=t.clone(),m.setStart(t.endContainer,t.endOffset),m.setEnd(v.startContainer,v.startOffset),!m.collapsed&&(m.shrink(CKEDITOR.NODE_ELEMENT,!0),b=m.getCommonAncestor(),m=m.getEnclosedNode(),b.isReadOnly()||m&&m.isReadOnly()))){v.setStart(t.startContainer,t.startOffset);c.splice(w--,1);continue}b=c[w];v=this.document.$.createRange();b.collapsed&& +CKEDITOR.env.webkit&&e(b)&&(m=d(this.root),b.insertNode(m),(t=m.getNext())&&!m.getPrevious()&&t.type==CKEDITOR.NODE_ELEMENT&&"br"==t.getName()?(n(this.root),b.moveToPosition(t,CKEDITOR.POSITION_BEFORE_START)):b.moveToPosition(m,CKEDITOR.POSITION_AFTER_END));v.setStart(b.startContainer.$,b.startOffset);try{v.setEnd(b.endContainer.$,b.endOffset)}catch(x){if(0<=x.toString().indexOf("NS_ERROR_ILLEGAL_VALUE"))b.collapse(1),v.setEnd(b.endContainer.$,b.endOffset);else throw x;}l.addRange(v)}}this.reset(); +this.root.fire("selectionchange")}}},fake:function(a,c){var d=this.root.editor;void 0===c&&a.hasAttribute("aria-label")&&(c=a.getAttribute("aria-label"));this.reset();x(d,c);var b=this._.cache,e=new CKEDITOR.dom.range(this.root);e.setStartBefore(a);e.setEndAfter(a);b.ranges=new CKEDITOR.dom.rangeList(e);b.selectedElement=b.startElement=a;b.type=CKEDITOR.SELECTION_ELEMENT;b.selectedText=b.nativeSel=null;this.isFake=1;this.rev=w++;d._.fakeSelection=this;this.root.fire("selectionchange")},isHidden:function(){var a= +this.getCommonAncestor();a&&a.type==CKEDITOR.NODE_TEXT&&(a=a.getParent());return!(!a||!a.data("cke-hidden-sel"))},isInTable:function(a){return h(this.getRanges(),a)},isCollapsed:function(){var a=this.getRanges();return 1===a.length&&a[0].collapsed},createBookmarks:function(a){a=this.getRanges().createBookmarks(a);this.isFake&&(a.isFake=1);return a},createBookmarks2:function(a){a=this.getRanges().createBookmarks2(a);this.isFake&&(a.isFake=1);return a},selectBookmarks:function(a){for(var c=[],d,b=0;b< +a.length;b++){var e=new CKEDITOR.dom.range(this.root);e.moveToBookmark(a[b]);c.push(e)}a.isFake&&(d=h(c)?c[0]._getTableElement():c[0].getEnclosedNode(),d&&d.type==CKEDITOR.NODE_ELEMENT||(CKEDITOR.warn("selection-not-fake"),a.isFake=0));a.isFake&&!h(c)?this.fake(d):this.selectRanges(c);return this},getCommonAncestor:function(){var a=this.getRanges();return a.length?a[0].startContainer.getCommonAncestor(a[a.length-1].endContainer):null},scrollIntoView:function(){this.type!=CKEDITOR.SELECTION_NONE&& +this.getRanges()[0].scrollIntoView()},removeAllRanges:function(){if(this.getType()!=CKEDITOR.SELECTION_NONE){var a=this.getNative();try{a&&a[p?"empty":"removeAllRanges"]()}catch(c){}this.reset()}}}})();"use strict";CKEDITOR.STYLE_BLOCK=1;CKEDITOR.STYLE_INLINE=2;CKEDITOR.STYLE_OBJECT=3;(function(){function b(a,c){for(var d,b;(a=a.getParent())&&!a.equals(c);)if(a.getAttribute("data-nostyle"))d=a;else if(!b){var e=a.getAttribute("contentEditable");"false"==e?d=a:"true"==e&&(b=1)}return d}function h(a, +c,d,b){return(a.getPosition(c)|b)==b&&(!d.childRule||d.childRule(a))}function g(c){var d=c.document;if(c.collapsed)d=w(this,d),c.insertNode(d),c.moveToPosition(d,CKEDITOR.POSITION_BEFORE_END);else{var e=this.element,f=this._.definition,n,k=f.ignoreReadonly,l=k||f.includeReadonly;null==l&&(l=c.root.getCustomData("cke_includeReadonly"));var m=CKEDITOR.dtd[e];m||(n=!0,m=CKEDITOR.dtd.span);c.enlarge(CKEDITOR.ENLARGE_INLINE,1);c.trim();var p=c.createBookmark(),r=p.startNode,y=p.endNode,t=r,v;if(!k){var u= +c.getCommonAncestor(),k=b(r,u),u=b(y,u);k&&(t=k.getNextSourceNode(!0));u&&(y=u)}for(t.getPosition(y)==CKEDITOR.POSITION_FOLLOWING&&(t=0);t;){k=!1;if(t.equals(y))t=null,k=!0;else{var x=t.type==CKEDITOR.NODE_ELEMENT?t.getName():null,u=x&&"false"==t.getAttribute("contentEditable"),z=x&&t.getAttribute("data-nostyle");if(x&&t.data("cke-bookmark")||t.type===CKEDITOR.NODE_COMMENT){t=t.getNextSourceNode(!0);continue}if(u&&l&&CKEDITOR.dtd.$block[x])for(var C=t,A=a(C),B=void 0,S=A.length,P=0,C=S&&new CKEDITOR.dom.range(C.getDocument());P< +S;++P){var B=A[P],ga=CKEDITOR.filter.instances[B.data("cke-filter")];if(ga?ga.check(this):1)C.selectNodeContents(B),g.call(this,C)}A=x?!m[x]||z?0:u&&!l?0:h(t,y,f,M):1;if(A)if(B=t.getParent(),A=f,S=e,P=n,!B||!(B.getDtd()||CKEDITOR.dtd.span)[S]&&!P||A.parentRule&&!A.parentRule(B))k=!0;else{if(v||x&&CKEDITOR.dtd.$removeEmpty[x]&&(t.getPosition(y)|M)!=M||(v=c.clone(),v.setStartBefore(t)),x=t.type,x==CKEDITOR.NODE_TEXT||u||x==CKEDITOR.NODE_ELEMENT&&!t.getChildCount()){for(var x=t,ia;(k=!x.getNext(L))&& +(ia=x.getParent(),m[ia.getName()])&&h(ia,r,f,H);)x=ia;v.setEndAfter(x)}}else k=!0;t=t.getNextSourceNode(z||u)}if(k&&v&&!v.collapsed){for(var k=w(this,d),u=k.hasAttributes(),z=v.getCommonAncestor(),x={},A={},B={},S={},ha,fa,E;k&&z;){if(z.getName()==e){for(ha in f.attributes)!S[ha]&&(E=z.getAttribute(fa))&&(k.getAttribute(ha)==E?A[ha]=1:S[ha]=1);for(fa in f.styles)!B[fa]&&(E=z.getStyle(fa))&&(k.getStyle(fa)==E?x[fa]=1:B[fa]=1)}z=z.getParent()}for(ha in A)k.removeAttribute(ha);for(fa in x)k.removeStyle(fa); +u&&!k.hasAttributes()&&(k=null);k?(v.extractContents().appendTo(k),v.insertNode(k),q.call(this,k),k.mergeSiblings(),CKEDITOR.env.ie||k.$.normalize()):(k=new CKEDITOR.dom.element("span"),v.extractContents().appendTo(k),v.insertNode(k),q.call(this,k),k.remove(!0));v=null}}c.moveToBookmark(p);c.shrink(CKEDITOR.SHRINK_TEXT);c.shrink(CKEDITOR.NODE_ELEMENT,!0)}}function f(a){function c(){for(var a=new CKEDITOR.dom.elementPath(b.getParent()),d=new CKEDITOR.dom.elementPath(l.getParent()),e=null,f=null,g= +0;g<a.elements.length;g++){var h=a.elements[g];if(h==a.block||h==a.blockLimit)break;m.checkElementRemovable(h,!0)&&(e=h)}for(g=0;g<d.elements.length;g++){h=d.elements[g];if(h==d.block||h==d.blockLimit)break;m.checkElementRemovable(h,!0)&&(f=h)}f&&l.breakParent(f);e&&b.breakParent(e)}a.enlarge(CKEDITOR.ENLARGE_INLINE,1);var d=a.createBookmark(),b=d.startNode,e=this._.definition.alwaysRemoveElement;if(a.collapsed){for(var f=new CKEDITOR.dom.elementPath(b.getParent(),a.root),g,h=0,n;h<f.elements.length&& +(n=f.elements[h])&&n!=f.block&&n!=f.blockLimit;h++)if(this.checkElementRemovable(n)){var k;!e&&a.collapsed&&(a.checkBoundaryOfElement(n,CKEDITOR.END)||(k=a.checkBoundaryOfElement(n,CKEDITOR.START)))?(g=n,g.match=k?"start":"end"):(n.mergeSiblings(),n.is(this.element)?x.call(this,n):r(n,u(this)[n.getName()]))}if(g){e=b;for(h=0;;h++){n=f.elements[h];if(n.equals(g))break;else if(n.match)continue;else n=n.clone();n.append(e);e=n}e["start"==g.match?"insertBefore":"insertAfter"](g)}}else{var l=d.endNode, +m=this;c();for(f=b;!f.equals(l);)g=f.getNextSourceNode(),f.type==CKEDITOR.NODE_ELEMENT&&this.checkElementRemovable(f)&&(f.getName()==this.element?x.call(this,f):r(f,u(this)[f.getName()]),g.type==CKEDITOR.NODE_ELEMENT&&g.contains(b)&&(c(),g=b.getNext())),f=g}a.moveToBookmark(d);a.shrink(CKEDITOR.NODE_ELEMENT,!0)}function a(a){var c=[];a.forEach(function(a){if("true"==a.getAttribute("contenteditable"))return c.push(a),!1},CKEDITOR.NODE_ELEMENT,!0);return c}function m(a){var c=a.getEnclosedNode()||a.getCommonAncestor(!1, +!0);(a=(new CKEDITOR.dom.elementPath(c,a.root)).contains(this.element,1))&&!a.isReadOnly()&&t(a,this)}function k(a){var c=a.getCommonAncestor(!0,!0);if(a=(new CKEDITOR.dom.elementPath(c,a.root)).contains(this.element,1)){var c=this._.definition,d=c.attributes;if(d)for(var b in d)a.removeAttribute(b,d[b]);if(c.styles)for(var e in c.styles)c.styles.hasOwnProperty(e)&&a.removeStyle(e)}}function l(a){var c=a.createBookmark(!0),d=a.createIterator();d.enforceRealBlocks=!0;this._.enterMode&&(d.enlargeBr= +this._.enterMode!=CKEDITOR.ENTER_BR);for(var b,f=a.document,g;b=d.getNextParagraph();)!b.isReadOnly()&&(d.activeFilter?d.activeFilter.check(this):1)&&(g=w(this,f,b),e(b,g));a.moveToBookmark(c)}function c(a){var c=a.createBookmark(1),d=a.createIterator();d.enforceRealBlocks=!0;d.enlargeBr=this._.enterMode!=CKEDITOR.ENTER_BR;for(var b,f;b=d.getNextParagraph();)this.checkElementRemovable(b)&&(b.is("pre")?((f=this._.enterMode==CKEDITOR.ENTER_BR?null:a.document.createElement(this._.enterMode==CKEDITOR.ENTER_P? +"p":"div"))&&b.copyAttributes(f),e(b,f)):x.call(this,b));a.moveToBookmark(c)}function e(a,c){var b=!c;b&&(c=a.getDocument().createElement("div"),a.copyAttributes(c));var e=c&&c.is("pre"),f=a.is("pre"),g=!e&&f;if(e&&!f){f=c;(g=a.getBogus())&&g.remove();g=a.getHtml();g=n(g,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,"");g=g.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi,"$1");g=g.replace(/([ \t\n\r]+| )/g," ");g=g.replace(/<br\b[^>]*>/gi,"\n");if(CKEDITOR.env.ie){var h=a.getDocument().createElement("div"); +h.append(f);f.$.outerHTML="\x3cpre\x3e"+g+"\x3c/pre\x3e";f.copyAttributes(h.getFirst());f=h.getFirst().remove()}else f.setHtml(g);c=f}else g?c=y(b?[a.getHtml()]:d(a),c):a.moveChildren(c);c.replace(a);if(e){var b=c,k;(k=b.getPrevious(F))&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("pre")&&(e=n(k.getHtml(),/\n$/,"")+"\n\n"+n(b.getHtml(),/^\n/,""),CKEDITOR.env.ie?b.$.outerHTML="\x3cpre\x3e"+e+"\x3c/pre\x3e":b.setHtml(e),k.remove())}else b&&p(c)}function d(a){var c=[];n(a.getOuterHtml(),/(\S\s*)\n(?:\s|(<span[^>]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi, +function(a,c,d){return c+"\x3c/pre\x3e"+d+"\x3cpre\x3e"}).replace(/<pre\b.*?>([\s\S]*?)<\/pre>/gi,function(a,d){c.push(d)});return c}function n(a,c,d){var b="",e="";a=a.replace(/(^<span[^>]+data-cke-bookmark.*?\/span>)|(<span[^>]+data-cke-bookmark.*?\/span>$)/gi,function(a,c,d){c&&(b=c);d&&(e=d);return""});return b+a.replace(c,d)+e}function y(a,c){var d;1<a.length&&(d=new CKEDITOR.dom.documentFragment(c.getDocument()));for(var b=0;b<a.length;b++){var e=a[b],e=e.replace(/(\r\n|\r)/g,"\n"),e=n(e,/^[ \t]*\n/, +""),e=n(e,/\n$/,""),e=n(e,/^[ \t]+|[ \t]+$/g,function(a,c){return 1==a.length?"\x26nbsp;":c?" "+CKEDITOR.tools.repeat("\x26nbsp;",a.length-1):CKEDITOR.tools.repeat("\x26nbsp;",a.length-1)+" "}),e=e.replace(/\n/g,"\x3cbr\x3e"),e=e.replace(/[ \t]{2,}/g,function(a){return CKEDITOR.tools.repeat("\x26nbsp;",a.length-1)+" "});if(d){var f=c.clone();f.setHtml(e);d.append(f)}else c.setHtml(e)}return d||c}function x(a,c){var d=this._.definition,b=d.attributes,d=d.styles,e=u(this)[a.getName()],f=CKEDITOR.tools.isEmpty(b)&& +CKEDITOR.tools.isEmpty(d),g;for(g in b)if("class"!=g&&!this._.definition.fullMatch||a.getAttribute(g)==v(g,b[g]))c&&"data-"==g.slice(0,5)||(f=a.hasAttribute(g),a.removeAttribute(g));for(var h in d)this._.definition.fullMatch&&a.getStyle(h)!=v(h,d[h],!0)||(f=f||!!a.getStyle(h),a.removeStyle(h));r(a,e,A[a.getName()]);f&&(this._.definition.alwaysRemoveElement?p(a,1):!CKEDITOR.dtd.$block[a.getName()]||this._.enterMode==CKEDITOR.ENTER_BR&&!a.hasAttributes()?p(a):a.renameNode(this._.enterMode==CKEDITOR.ENTER_P? +"p":"div"))}function q(a){for(var c=u(this),d=a.getElementsByTag(this.element),b,e=d.count();0<=--e;)b=d.getItem(e),b.isReadOnly()||x.call(this,b,!0);for(var f in c)if(f!=this.element)for(d=a.getElementsByTag(f),e=d.count()-1;0<=e;e--)b=d.getItem(e),b.isReadOnly()||r(b,c[f])}function r(a,c,d){if(c=c&&c.attributes)for(var b=0;b<c.length;b++){var e=c[b][0],f;if(f=a.getAttribute(e)){var g=c[b][1];(null===g||g.test&&g.test(f)||"string"==typeof g&&f==g)&&a.removeAttribute(e)}}d||p(a)}function p(a,c){if(!a.hasAttributes()|| +c)if(CKEDITOR.dtd.$block[a.getName()]){var d=a.getPrevious(F),b=a.getNext(F);!d||d.type!=CKEDITOR.NODE_TEXT&&d.isBlockBoundary({br:1})||a.append("br",1);!b||b.type!=CKEDITOR.NODE_TEXT&&b.isBlockBoundary({br:1})||a.append("br");a.remove(!0)}else d=a.getFirst(),b=a.getLast(),a.remove(!0),d&&(d.type==CKEDITOR.NODE_ELEMENT&&d.mergeSiblings(),b&&!d.equals(b)&&b.type==CKEDITOR.NODE_ELEMENT&&b.mergeSiblings())}function w(a,c,d){var b;b=a.element;"*"==b&&(b="span");b=new CKEDITOR.dom.element(b,c);d&&d.copyAttributes(b); +b=t(b,a);c.getCustomData("doc_processing_style")&&b.hasAttribute("id")?b.removeAttribute("id"):c.setCustomData("doc_processing_style",1);return b}function t(a,c){var d=c._.definition,b=d.attributes,d=CKEDITOR.style.getStyleText(d);if(b)for(var e in b)a.setAttribute(e,b[e]);d&&a.setAttribute("style",d);a.getDocument().removeCustomData("doc_processing_style");return a}function z(a,c){for(var d in a)a[d]=a[d].replace(I,function(a,d){return c[d]})}function u(a){if(a._.overrides)return a._.overrides;var c= +a._.overrides={},d=a._.definition.overrides;if(d){CKEDITOR.tools.isArray(d)||(d=[d]);for(var b=0;b<d.length;b++){var e=d[b],f,g;"string"==typeof e?f=e.toLowerCase():(f=e.element?e.element.toLowerCase():a.element,g=e.attributes);e=c[f]||(c[f]={});if(g){var e=e.attributes=e.attributes||[],h;for(h in g)e.push([h.toLowerCase(),g[h]])}}}return c}function v(a,c,d){var b=new CKEDITOR.dom.element("span");b[d?"setStyle":"setAttribute"](a,c);return b[d?"getStyle":"getAttribute"](a)}function C(a,c){function d(a, +c){return"font-family"==c.toLowerCase()?a.replace(/["']/g,""):a}"string"==typeof a&&(a=CKEDITOR.tools.parseCssText(a));"string"==typeof c&&(c=CKEDITOR.tools.parseCssText(c,!0));for(var b in a)if(!(b in c)||d(c[b],b)!=d(a[b],b)&&"inherit"!=a[b]&&"inherit"!=c[b])return!1;return!0}function E(a,c,d){var b=a.getRanges();c=c?this.removeFromRange:this.applyToRange;for(var e,f=b.createIterator();e=f.getNextRange();)c.call(this,e,d);a.selectRanges(b)}var A={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1, +pre:1,section:1,header:1,footer:1,nav:1,article:1,aside:1,figure:1,dialog:1,hgroup:1,time:1,meter:1,menu:1,command:1,keygen:1,output:1,progress:1,details:1,datagrid:1,datalist:1},B={a:1,blockquote:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,dt:1,dd:1,form:1,audio:1,video:1},G=/\s*(?:;\s*|$)/,I=/#\((.+?)\)/g,L=CKEDITOR.dom.walker.bookmark(0,1),F=CKEDITOR.dom.walker.whitespaces(1);CKEDITOR.style=function(a,c){if("string"==typeof a.type)return new CKEDITOR.style.customHandlers[a.type](a); +var d=a.attributes;d&&d.style&&(a.styles=CKEDITOR.tools.extend({},a.styles,CKEDITOR.tools.parseCssText(d.style)),delete d.style);c&&(a=CKEDITOR.tools.clone(a),z(a.attributes,c),z(a.styles,c));d=this.element=a.element?"string"==typeof a.element?a.element.toLowerCase():a.element:"*";this.type=a.type||(A[d]?CKEDITOR.STYLE_BLOCK:B[d]?CKEDITOR.STYLE_OBJECT:CKEDITOR.STYLE_INLINE);"object"==typeof this.element&&(this.type=CKEDITOR.STYLE_OBJECT);this._={definition:a}};CKEDITOR.style.prototype={apply:function(a){if(a instanceof +CKEDITOR.dom.document)return E.call(this,a.getSelection());if(this.checkApplicable(a.elementPath(),a)){var c=this._.enterMode;c||(this._.enterMode=a.activeEnterMode);E.call(this,a.getSelection(),0,a);this._.enterMode=c}},remove:function(a){if(a instanceof CKEDITOR.dom.document)return E.call(this,a.getSelection(),1);if(this.checkApplicable(a.elementPath(),a)){var c=this._.enterMode;c||(this._.enterMode=a.activeEnterMode);E.call(this,a.getSelection(),1,a);this._.enterMode=c}},applyToRange:function(a){this.applyToRange= +this.type==CKEDITOR.STYLE_INLINE?g:this.type==CKEDITOR.STYLE_BLOCK?l:this.type==CKEDITOR.STYLE_OBJECT?m:null;return this.applyToRange(a)},removeFromRange:function(a){this.removeFromRange=this.type==CKEDITOR.STYLE_INLINE?f:this.type==CKEDITOR.STYLE_BLOCK?c:this.type==CKEDITOR.STYLE_OBJECT?k:null;return this.removeFromRange(a)},applyToObject:function(a){t(a,this)},checkActive:function(a,c){switch(this.type){case CKEDITOR.STYLE_BLOCK:return this.checkElementRemovable(a.block||a.blockLimit,!0,c);case CKEDITOR.STYLE_OBJECT:case CKEDITOR.STYLE_INLINE:for(var d= +a.elements,b=0,e;b<d.length;b++)if(e=d[b],this.type!=CKEDITOR.STYLE_INLINE||e!=a.block&&e!=a.blockLimit){if(this.type==CKEDITOR.STYLE_OBJECT){var f=e.getName();if(!("string"==typeof this.element?f==this.element:f in this.element))continue}if(this.checkElementRemovable(e,!0,c))return!0}}return!1},checkApplicable:function(a,c,d){c&&c instanceof CKEDITOR.filter&&(d=c);if(d&&!d.check(this))return!1;switch(this.type){case CKEDITOR.STYLE_OBJECT:return!!a.contains(this.element);case CKEDITOR.STYLE_BLOCK:return!!a.blockLimit.getDtd()[this.element]}return!0}, +checkElementMatch:function(a,c){var d=this._.definition;if(!a||!d.ignoreReadonly&&a.isReadOnly())return!1;var b=a.getName();if("string"==typeof this.element?b==this.element:b in this.element){if(!c&&!a.hasAttributes())return!0;if(b=d._AC)d=b;else{var b={},e=0,f=d.attributes;if(f)for(var g in f)e++,b[g]=f[g];if(g=CKEDITOR.style.getStyleText(d))b.style||e++,b.style=g;b._length=e;d=d._AC=b}if(d._length){for(var h in d)if("_length"!=h)if(b=a.getAttribute(h)||"","style"==h?C(d[h],b):d[h]==b){if(!c)return!0}else if(c)return!1; +if(c)return!0}else return!0}return!1},checkElementRemovable:function(a,c,d){if(this.checkElementMatch(a,c,d))return!0;if(c=u(this)[a.getName()]){var b;if(!(c=c.attributes))return!0;for(d=0;d<c.length;d++)if(b=c[d][0],b=a.getAttribute(b)){var e=c[d][1];if(null===e)return!0;if("string"==typeof e){if(b==e)return!0}else if(e.test(b))return!0}}return!1},buildPreview:function(a){var c=this._.definition,d=[],b=c.element;"bdo"==b&&(b="span");var d=["\x3c",b],e=c.attributes;if(e)for(var f in e)d.push(" ", +f,'\x3d"',e[f],'"');(e=CKEDITOR.style.getStyleText(c))&&d.push(' style\x3d"',e,'"');d.push("\x3e",a||c.name,"\x3c/",b,"\x3e");return d.join("")},getDefinition:function(){return this._.definition}};CKEDITOR.style.getStyleText=function(a){var c=a._ST;if(c)return c;var c=a.styles,d=a.attributes&&a.attributes.style||"",b="";d.length&&(d=d.replace(G,";"));for(var e in c){var f=c[e],g=(e+":"+f).replace(G,";");"inherit"==f?b+=g:d+=g}d.length&&(d=CKEDITOR.tools.normalizeCssText(d,!0));return a._ST=d+b};CKEDITOR.style.customHandlers= {};CKEDITOR.style.addCustomHandler=function(a){var c=function(a){this._={definition:a};this.setup&&this.setup(a)};c.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.style.prototype),{assignedTo:CKEDITOR.STYLE_OBJECT},a,!0);return this.customHandlers[a.type]=c};var M=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,H=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED})();CKEDITOR.styleCommand=function(b, h){this.requiredContent=this.allowedContent=this.style=b;CKEDITOR.tools.extend(this,h,!0)};CKEDITOR.styleCommand.prototype.exec=function(b){b.focus();this.state==CKEDITOR.TRISTATE_OFF?b.applyStyle(this.style):this.state==CKEDITOR.TRISTATE_ON&&b.removeStyle(this.style)};CKEDITOR.stylesSet=new CKEDITOR.resourceManager("","stylesSet");CKEDITOR.addStylesSet=CKEDITOR.tools.bind(CKEDITOR.stylesSet.add,CKEDITOR.stylesSet);CKEDITOR.loadStylesSet=function(b,h,g){CKEDITOR.stylesSet.addExternal(b,h,"");CKEDITOR.stylesSet.load(b, -g)};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(b,h){var g=this._.styleStateChangeCallbacks;g||(g=this._.styleStateChangeCallbacks=[],this.on("selectionChange",function(b){for(var a=0;a<g.length;a++){var h=g[a],l=h.style.checkActive(b.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;h.fn.call(this,l)}}));g.push({style:b,fn:h})},applyStyle:function(b){b.apply(this)},removeStyle:function(b){b.remove(this)},getStylesSet:function(b){if(this._.stylesDefinitions)b(this._.stylesDefinitions); -else{var h=this,g=h.config.stylesCombo_stylesSet||h.config.stylesSet;if(!1===g)b(null);else if(g instanceof Array)h._.stylesDefinitions=g,b(g);else{g||(g="default");var g=g.split(":"),e=g[0];CKEDITOR.stylesSet.addExternal(e,g[1]?g.slice(1).join(":"):CKEDITOR.getUrl("styles.js"),"");CKEDITOR.stylesSet.load(e,function(a){h._.stylesDefinitions=a[e];b(h._.stylesDefinitions)})}}}});(function(){if(window.Promise)CKEDITOR.tools.promise=Promise;else{var b=CKEDITOR.getUrl("vendor/promise.js");if("function"=== -typeof window.define&&window.define.amd&&"function"===typeof window.require)return window.require([b],function(b){CKEDITOR.tools.promise=b});CKEDITOR.scriptLoader.load(b,function(h){if(!h)return CKEDITOR.error("no-vendor-lib",{path:b});if("undefined"!==typeof window.ES6Promise)return CKEDITOR.tools.promise=ES6Promise})}})();(function(){function b(b,a,m){b.once("selectionCheck",function(b){if(!h){var e=b.data.getRanges()[0];m.equals(e)?b.cancel():a.equals(e)&&(g=!0)}},null,null,-1)}var h=!0,g=!1;CKEDITOR.dom.selection.setupEditorOptimization= -function(b){b.on("selectionCheck",function(a){a.data&&!g&&a.data.optimizeInElementEnds();g=!1});b.on("contentDom",function(){var a=b.editable();a&&(a.attachListener(a,"keydown",function(a){this._.shiftPressed=a.data.$.shiftKey},this),a.attachListener(a,"keyup",function(a){this._.shiftPressed=a.data.$.shiftKey},this))})};CKEDITOR.dom.selection.prototype.optimizeInElementEnds=function(){var e=this.getRanges()[0],a=this.root.editor,g;if(this.root.editor._.shiftPressed||this.isFake||e.isCollapsed||e.startContainer.equals(e.endContainer))g= -!1;else if(0===e.endOffset)g=!0;else{g=e.startContainer.type===CKEDITOR.NODE_TEXT;var l=e.endContainer.type===CKEDITOR.NODE_TEXT,k=g?e.startContainer.getLength():e.startContainer.getChildCount();g=e.startOffset===k||g^l}g&&(g=e.clone(),e.shrink(CKEDITOR.SHRINK_TEXT,!1,{skipBogus:!CKEDITOR.env.webkit}),h=!1,b(a,e,g),e.select(),h=!0)}})();CKEDITOR.dom.comment=function(b,h){"string"==typeof b&&(b=(h?h.$:document).createComment(b));CKEDITOR.dom.domObject.call(this,b)};CKEDITOR.dom.comment.prototype=new CKEDITOR.dom.node; -CKEDITOR.tools.extend(CKEDITOR.dom.comment.prototype,{type:CKEDITOR.NODE_COMMENT,getOuterHtml:function(){return"\x3c!--"+this.$.nodeValue+"--\x3e"}});"use strict";(function(){var b={},h={},g;for(g in CKEDITOR.dtd.$blockLimit)g in CKEDITOR.dtd.$list||(b[g]=1);for(g in CKEDITOR.dtd.$block)g in CKEDITOR.dtd.$blockLimit||g in CKEDITOR.dtd.$empty||(h[g]=1);CKEDITOR.dom.elementPath=function(e,a){var g=null,l=null,k=[],c=e,f;a=a||e.getDocument().getBody();c||(c=a);do if(c.type==CKEDITOR.NODE_ELEMENT){k.push(c); -if(!this.lastElement&&(this.lastElement=c,c.is(CKEDITOR.dtd.$object)||"false"==c.getAttribute("contenteditable")))continue;if(c.equals(a))break;if(!l&&(f=c.getName(),"true"==c.getAttribute("contenteditable")?l=c:!g&&h[f]&&(g=c),b[f])){if(f=!g&&"div"==f){a:{f=c.getChildren();for(var d=0,n=f.count();d<n;d++){var w=f.getItem(d);if(w.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$block[w.getName()]){f=!0;break a}}f=!1}f=!f}f?g=c:l=c}}while(c=c.getParent());l||(l=a);this.block=g;this.blockLimit=l;this.root= -a;this.elements=k}})();CKEDITOR.dom.elementPath.prototype={compare:function(b){var h=this.elements;b=b&&b.elements;if(!b||h.length!=b.length)return!1;for(var g=0;g<h.length;g++)if(!h[g].equals(b[g]))return!1;return!0},contains:function(b,h,g){var e=0,a;"string"==typeof b&&(a=function(a){return a.getName()==b});b instanceof CKEDITOR.dom.element?a=function(a){return a.equals(b)}:CKEDITOR.tools.isArray(b)?a=function(a){return-1<CKEDITOR.tools.indexOf(b,a.getName())}:"function"==typeof b?a=b:"object"== -typeof b&&(a=function(a){return a.getName()in b});var m=this.elements,l=m.length;h&&(g?e+=1:--l);g&&(m=Array.prototype.slice.call(m,0),m.reverse());for(;e<l;e++)if(a(m[e]))return m[e];return null},isContextFor:function(b){var h;return b in CKEDITOR.dtd.$block?(h=this.contains(CKEDITOR.dtd.$intermediate)||this.root.equals(this.block)&&this.block||this.blockLimit,!!h.getDtd()[b]):!0},direction:function(){return(this.block||this.blockLimit||this.root).getDirection(1)}};CKEDITOR.dom.text=function(b,h){"string"== +g)};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(b,h){var g=this._.styleStateChangeCallbacks;g||(g=this._.styleStateChangeCallbacks=[],this.on("selectionChange",function(b){for(var a=0;a<g.length;a++){var h=g[a],k=h.style.checkActive(b.data.path,this)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF;h.fn.call(this,k)}}));g.push({style:b,fn:h})},applyStyle:function(b){b.apply(this)},removeStyle:function(b){b.remove(this)},getStylesSet:function(b){if(this._.stylesDefinitions)b(this._.stylesDefinitions); +else{var h=this,g=h.config.stylesCombo_stylesSet||h.config.stylesSet;if(!1===g)b(null);else if(g instanceof Array)h._.stylesDefinitions=g,b(g);else{g||(g="default");var g=g.split(":"),f=g[0];CKEDITOR.stylesSet.addExternal(f,g[1]?g.slice(1).join(":"):CKEDITOR.getUrl("styles.js"),"");CKEDITOR.stylesSet.load(f,function(a){h._.stylesDefinitions=a[f];b(h._.stylesDefinitions)})}}}});(function(){if(window.Promise)CKEDITOR.tools.promise=Promise;else{var b=CKEDITOR.getUrl("vendor/promise.js");if("function"=== +typeof window.define&&window.define.amd&&"function"===typeof window.require)return window.require([b],function(b){CKEDITOR.tools.promise=b});CKEDITOR.scriptLoader.load(b,function(h){if(!h)return CKEDITOR.error("no-vendor-lib",{path:b});if("undefined"!==typeof window.ES6Promise)return CKEDITOR.tools.promise=ES6Promise})}})();(function(){function b(b,a,m){b.once("selectionCheck",function(b){if(!h){var f=b.data.getRanges()[0];m.equals(f)?b.cancel():a.equals(f)&&(g=!0)}},null,null,-1)}var h=!0,g=!1;CKEDITOR.dom.selection.setupEditorOptimization= +function(b){b.on("selectionCheck",function(a){a.data&&!g&&a.data.optimizeInElementEnds();g=!1});b.on("contentDom",function(){var a=b.editable();a&&(a.attachListener(a,"keydown",function(a){this._.shiftPressed=a.data.$.shiftKey},this),a.attachListener(a,"keyup",function(a){this._.shiftPressed=a.data.$.shiftKey},this))})};CKEDITOR.dom.selection.prototype.optimizeInElementEnds=function(){var f=this.getRanges()[0],a=this.root.editor,g;if(this.root.editor._.shiftPressed||this.isFake||f.isCollapsed||f.startContainer.equals(f.endContainer))g= +!1;else if(0===f.endOffset)g=!0;else{g=f.startContainer.type===CKEDITOR.NODE_TEXT;var k=f.endContainer.type===CKEDITOR.NODE_TEXT,l=g?f.startContainer.getLength():f.startContainer.getChildCount();g=f.startOffset===l||g^k}g&&(g=f.clone(),f.shrink(CKEDITOR.SHRINK_TEXT,!1,{skipBogus:!CKEDITOR.env.webkit}),h=!1,b(a,f,g),f.select(),h=!0)}})();CKEDITOR.dom.comment=function(b,h){"string"==typeof b&&(b=(h?h.$:document).createComment(b));CKEDITOR.dom.domObject.call(this,b)};CKEDITOR.dom.comment.prototype=new CKEDITOR.dom.node; +CKEDITOR.tools.extend(CKEDITOR.dom.comment.prototype,{type:CKEDITOR.NODE_COMMENT,getOuterHtml:function(){return"\x3c!--"+this.$.nodeValue+"--\x3e"}});"use strict";(function(){var b={},h={},g;for(g in CKEDITOR.dtd.$blockLimit)g in CKEDITOR.dtd.$list||(b[g]=1);for(g in CKEDITOR.dtd.$block)g in CKEDITOR.dtd.$blockLimit||g in CKEDITOR.dtd.$empty||(h[g]=1);CKEDITOR.dom.elementPath=function(f,a){var g=null,k=null,l=[],c=f,e;a=a||f.getDocument().getBody();c||(c=a);do if(c.type==CKEDITOR.NODE_ELEMENT){l.push(c); +if(!this.lastElement&&(this.lastElement=c,c.is(CKEDITOR.dtd.$object)||"false"==c.getAttribute("contenteditable")))continue;if(c.equals(a))break;if(!k&&(e=c.getName(),"true"==c.getAttribute("contenteditable")?k=c:!g&&h[e]&&(g=c),b[e])){if(e=!g&&"div"==e){a:{e=c.getChildren();for(var d=0,n=e.count();d<n;d++){var y=e.getItem(d);if(y.type==CKEDITOR.NODE_ELEMENT&&CKEDITOR.dtd.$block[y.getName()]){e=!0;break a}}e=!1}e=!e}e?g=c:k=c}}while(c=c.getParent());k||(k=a);this.block=g;this.blockLimit=k;this.root= +a;this.elements=l}})();CKEDITOR.dom.elementPath.prototype={compare:function(b){var h=this.elements;b=b&&b.elements;if(!b||h.length!=b.length)return!1;for(var g=0;g<h.length;g++)if(!h[g].equals(b[g]))return!1;return!0},contains:function(b,h,g){var f=0,a;"string"==typeof b&&(a=function(a){return a.getName()==b});b instanceof CKEDITOR.dom.element?a=function(a){return a.equals(b)}:CKEDITOR.tools.isArray(b)?a=function(a){return-1<CKEDITOR.tools.indexOf(b,a.getName())}:"function"==typeof b?a=b:"object"== +typeof b&&(a=function(a){return a.getName()in b});var m=this.elements,k=m.length;h&&(g?f+=1:--k);g&&(m=Array.prototype.slice.call(m,0),m.reverse());for(;f<k;f++)if(a(m[f]))return m[f];return null},isContextFor:function(b){var h;return b in CKEDITOR.dtd.$block?(h=this.contains(CKEDITOR.dtd.$intermediate)||this.root.equals(this.block)&&this.block||this.blockLimit,!!h.getDtd()[b]):!0},direction:function(){return(this.block||this.blockLimit||this.root).getDirection(1)}};CKEDITOR.dom.text=function(b,h){"string"== typeof b&&(b=(h?h.$:document).createTextNode(b));this.$=b};CKEDITOR.dom.text.prototype=new CKEDITOR.dom.node;CKEDITOR.tools.extend(CKEDITOR.dom.text.prototype,{type:CKEDITOR.NODE_TEXT,getLength:function(){return this.$.nodeValue.length},getText:function(){return this.$.nodeValue},setText:function(b){this.$.nodeValue=b},isEmpty:function(b){var h=this.getText();b&&(h=CKEDITOR.tools.trim(h));return!h||h===CKEDITOR.dom.selection.FILLING_CHAR_SEQUENCE},split:function(b){var h=this.$.parentNode,g=h.childNodes.length, -e=this.getLength(),a=this.getDocument(),m=new CKEDITOR.dom.text(this.$.splitText(b),a);h.childNodes.length==g&&(b>=e?(m=a.createText(""),m.insertAfter(this)):(b=a.createText(""),b.insertAfter(m),b.remove()));return m},substring:function(b,h){return"number"!=typeof h?this.$.nodeValue.substr(b):this.$.nodeValue.substring(b,h)}});(function(){function b(b,e,a){var h=b.serializable,l=e[a?"endContainer":"startContainer"],k=a?"endOffset":"startOffset",c=h?e.document.getById(b.startNode):b.startNode;b=h? -e.document.getById(b.endNode):b.endNode;l.equals(c.getPrevious())?(e.startOffset=e.startOffset-l.getLength()-b.getPrevious().getLength(),l=b.getNext()):l.equals(b.getPrevious())&&(e.startOffset-=l.getLength(),l=b.getNext());l.equals(c.getParent())&&e[k]++;l.equals(b.getParent())&&e[k]++;e[a?"endContainer":"startContainer"]=l;return e}CKEDITOR.dom.rangeList=function(b){if(b instanceof CKEDITOR.dom.rangeList)return b;b?b instanceof CKEDITOR.dom.range&&(b=[b]):b=[];return CKEDITOR.tools.extend(b,h)}; -var h={createIterator:function(){var b=this,e=CKEDITOR.dom.walker.bookmark(),a=[],h;return{getNextRange:function(l){h=void 0===h?0:h+1;var k=b[h];if(k&&1<b.length){if(!h)for(var c=b.length-1;0<=c;c--)a.unshift(b[c].createBookmark(!0));if(l)for(var f=0;b[h+f+1];){var d=k.document;l=0;c=d.getById(a[f].endNode);for(d=d.getById(a[f+1].startNode);;){c=c.getNextSourceNode(!1);if(d.equals(c))l=1;else if(e(c)||c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary())continue;break}if(!l)break;f++}for(k.moveToBookmark(a.shift());f--;)c= -b[++h],c.moveToBookmark(a.shift()),k.setEnd(c.endContainer,c.endOffset)}return k}}},createBookmarks:function(g){for(var e=[],a,h=0;h<this.length;h++){e.push(a=this[h].createBookmark(g,!0));for(var l=h+1;l<this.length;l++)this[l]=b(a,this[l]),this[l]=b(a,this[l],!0)}return e},createBookmarks2:function(b){for(var e=[],a=0;a<this.length;a++)e.push(this[a].createBookmark2(b));return e},moveToBookmarks:function(b){for(var e=0;e<this.length;e++)this[e].moveToBookmark(b[e])}}})();(function(){function b(){return CKEDITOR.getUrl(CKEDITOR.skinName.split(",")[1]|| -"skins/"+CKEDITOR.skinName.split(",")[0]+"/")}function h(a){var c=CKEDITOR.skin["ua_"+a],e=CKEDITOR.env;if(c)for(var c=c.split(",").sort(function(a,c){return a>c?-1:1}),g=0,h;g<c.length;g++)if(h=c[g],e.ie&&(h.replace(/^ie/,"")==e.version||e.quirks&&"iequirks"==h)&&(h="ie"),e[h]){a+="_"+c[g];break}return CKEDITOR.getUrl(b()+a+".css")}function g(a,c){m[a]||(CKEDITOR.document.appendStyleSheet(h(a)),m[a]=1);c&&c()}function e(a){var c=a.getById(l);c||(c=a.getHead().append("style"),c.setAttribute("id", -l),c.setAttribute("type","text/css"));return c}function a(a,c,b){var e,g,h;if(CKEDITOR.env.webkit)for(c=c.split("}").slice(0,-1),g=0;g<c.length;g++)c[g]=c[g].split("{");for(var k=0;k<a.length;k++)if(CKEDITOR.env.webkit)for(g=0;g<c.length;g++){h=c[g][1];for(e=0;e<b.length;e++)h=h.replace(b[e][0],b[e][1]);a[k].$.sheet.addRule(c[g][0],h)}else{h=c;for(e=0;e<b.length;e++)h=h.replace(b[e][0],b[e][1]);CKEDITOR.env.ie&&11>CKEDITOR.env.version?a[k].$.styleSheet.cssText+=h:a[k].$.innerHTML+=h}}var m={};CKEDITOR.skin= -{path:b,loadPart:function(a,c){CKEDITOR.skin.name!=CKEDITOR.skinName.split(",")[0]?CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(b()+"skin.js"),function(){g(a,c)}):g(a,c)},getPath:function(a){return CKEDITOR.getUrl(h(a))},icons:{},addIcon:function(a,c,b,e){a=a.toLowerCase();this.icons[a]||(this.icons[a]={path:c,offset:b||0,bgsize:e||"16px"})},getIconStyle:function(a,c,b,e,g){var h;a&&(a=a.toLowerCase(),c&&(h=this.icons[a+"-rtl"]),h||(h=this.icons[a]));a=b||h&&h.path||"";e=e||h&&h.offset;g=g||h&&h.bgsize|| -"16px";a&&(a=a.replace(/'/g,"\\'"));return a&&"background-image:url('"+CKEDITOR.getUrl(a)+"');background-position:0 "+e+"px;background-size:"+g+";"}};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{getUiColor:function(){return this.uiColor},setUiColor:function(b){var d=e(CKEDITOR.document);return(this.setUiColor=function(b){this.uiColor=b;var f=CKEDITOR.skin.chameleon,e="",g="";"function"==typeof f&&(e=f(this,"editor"),g=f(this,"panel"));b=[[c,b]];a([d],e,b);a(k,g,b)}).call(this,b)}});var l="cke_ui_color", -k=[],c=/\$color/g;CKEDITOR.on("instanceLoaded",function(b){if(!CKEDITOR.env.ie||!CKEDITOR.env.quirks){var d=b.editor;b=function(b){b=(b.data[0]||b.data).element.getElementsByTag("iframe").getItem(0).getFrameDocument();if(!b.getById("cke_ui_color")){var f=e(b);k.push(f);d.on("destroy",function(){k=CKEDITOR.tools.array.filter(k,function(a){return f!==a})});(b=d.getUiColor())&&a([f],CKEDITOR.skin.chameleon(d,"panel"),[[c,b]])}};d.on("panelShow",b);d.on("menuShow",b);d.config.uiColor&&d.setUiColor(d.config.uiColor)}})})(); -(function(){if(CKEDITOR.env.webkit)CKEDITOR.env.hc=!1;else{var b=CKEDITOR.dom.element.createFromHtml('\x3cdiv style\x3d"width:0;height:0;position:absolute;left:-10000px;border:1px solid;border-color:red blue"\x3e\x3c/div\x3e',CKEDITOR.document);b.appendTo(CKEDITOR.document.getHead());try{var h=b.getComputedStyle("border-top-color"),g=b.getComputedStyle("border-right-color");CKEDITOR.env.hc=!(!h||h!=g)}catch(e){CKEDITOR.env.hc=!1}b.remove()}CKEDITOR.env.hc&&(CKEDITOR.env.cssClass+=" cke_hc");CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}"); -CKEDITOR.status="loaded";CKEDITOR.fireOnce("loaded");if(b=CKEDITOR._.pending)for(delete CKEDITOR._.pending,h=0;h<b.length;h++)CKEDITOR.editor.prototype.constructor.apply(b[h][0],b[h][1]),CKEDITOR.add(b[h][0])})();CKEDITOR.skin.name="moono-lisa";CKEDITOR.skin.ua_editor="ie,iequirks,ie8,gecko";CKEDITOR.skin.ua_dialog="ie,iequirks,ie8";CKEDITOR.skin.chameleon=function(){var b=function(){return function(b,e){for(var a=b.match(/[^#]./g),h=0;3>h;h++){var l=h,k;k=parseInt(a[h],16);k=("0"+(0>e?0|k*(1+e): -0|k+(255-k)*e).toString(16)).slice(-2);a[l]=k}return"#"+a.join("")}}(),h={editor:new CKEDITOR.template("{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_bottom [background-color:{defaultBackground};border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [background-color:{defaultBackground};outline-color:{defaultBorder};] {id} .cke_dialog_tab [background-color:{dialogTab};border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [background-color:{lightBackground};] {id} .cke_dialog_contents [border-top-color:{defaultBorder};] {id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [background:{dialogTabSelected};border-bottom-color:{dialogTabSelectedBorder};] {id} .cke_dialog_body [background:{dialogBody};border-color:{defaultBorder};] {id} a.cke_button_off:hover,{id} a.cke_button_off:focus,{id} a.cke_button_off:active [background-color:{darkBackground};border-color:{toolbarElementsBorder};] {id} .cke_button_on [background-color:{ckeButtonOn};border-color:{toolbarElementsBorder};] {id} .cke_toolbar_separator,{id} .cke_toolgroup a.cke_button:last-child:after,{id} .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after [background-color: {toolbarElementsBorder};border-color: {toolbarElementsBorder};] {id} a.cke_combo_button:hover,{id} a.cke_combo_button:focus,{id} .cke_combo_on a.cke_combo_button [border-color:{toolbarElementsBorder};background-color:{darkBackground};] {id} .cke_combo:after [border-color:{toolbarElementsBorder};] {id} .cke_path_item [color:{elementsPathColor};] {id} a.cke_path_item:hover,{id} a.cke_path_item:focus,{id} a.cke_path_item:active [background-color:{darkBackground};] {id}.cke_panel [border-color:{defaultBorder};] "), +f=this.getLength(),a=this.getDocument(),m=new CKEDITOR.dom.text(this.$.splitText(b),a);h.childNodes.length==g&&(b>=f?(m=a.createText(""),m.insertAfter(this)):(b=a.createText(""),b.insertAfter(m),b.remove()));return m},substring:function(b,h){return"number"!=typeof h?this.$.nodeValue.substr(b):this.$.nodeValue.substring(b,h)}});(function(){function b(b,f,a){var h=b.serializable,k=f[a?"endContainer":"startContainer"],l=a?"endOffset":"startOffset",c=h?f.document.getById(b.startNode):b.startNode;b=h? +f.document.getById(b.endNode):b.endNode;k.equals(c.getPrevious())?(f.startOffset=f.startOffset-k.getLength()-b.getPrevious().getLength(),k=b.getNext()):k.equals(b.getPrevious())&&(f.startOffset-=k.getLength(),k=b.getNext());k.equals(c.getParent())&&f[l]++;k.equals(b.getParent())&&f[l]++;f[a?"endContainer":"startContainer"]=k;return f}CKEDITOR.dom.rangeList=function(b){if(b instanceof CKEDITOR.dom.rangeList)return b;b?b instanceof CKEDITOR.dom.range&&(b=[b]):b=[];return CKEDITOR.tools.extend(b,h)}; +var h={createIterator:function(){var b=this,f=CKEDITOR.dom.walker.bookmark(),a=[],h;return{getNextRange:function(k){h=void 0===h?0:h+1;var l=b[h];if(l&&1<b.length){if(!h)for(var c=b.length-1;0<=c;c--)a.unshift(b[c].createBookmark(!0));if(k)for(var e=0;b[h+e+1];){var d=l.document;k=0;c=d.getById(a[e].endNode);for(d=d.getById(a[e+1].startNode);;){c=c.getNextSourceNode(!1);if(d.equals(c))k=1;else if(f(c)||c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary())continue;break}if(!k)break;e++}for(l.moveToBookmark(a.shift());e--;)c= +b[++h],c.moveToBookmark(a.shift()),l.setEnd(c.endContainer,c.endOffset)}return l}}},createBookmarks:function(g){for(var f=[],a,h=0;h<this.length;h++){f.push(a=this[h].createBookmark(g,!0));for(var k=h+1;k<this.length;k++)this[k]=b(a,this[k]),this[k]=b(a,this[k],!0)}return f},createBookmarks2:function(b){for(var f=[],a=0;a<this.length;a++)f.push(this[a].createBookmark2(b));return f},moveToBookmarks:function(b){for(var f=0;f<this.length;f++)this[f].moveToBookmark(b[f])}}})();(function(){function b(){return CKEDITOR.getUrl(CKEDITOR.skinName.split(",")[1]|| +"skins/"+CKEDITOR.skinName.split(",")[0]+"/")}function h(a){var c=CKEDITOR.skin["ua_"+a],f=CKEDITOR.env;if(c)for(var c=c.split(",").sort(function(a,c){return a>c?-1:1}),g=0,h;g<c.length;g++)if(h=c[g],f.ie&&(h.replace(/^ie/,"")==f.version||f.quirks&&"iequirks"==h)&&(h="ie"),f[h]){a+="_"+c[g];break}return CKEDITOR.getUrl(b()+a+".css")}function g(a,c){m[a]||(CKEDITOR.document.appendStyleSheet(h(a)),m[a]=1);c&&c()}function f(a){var c=a.getById(k);c||(c=a.getHead().append("style"),c.setAttribute("id", +k),c.setAttribute("type","text/css"));return c}function a(a,c,b){var f,g,h;if(CKEDITOR.env.webkit)for(c=c.split("}").slice(0,-1),g=0;g<c.length;g++)c[g]=c[g].split("{");for(var k=0;k<a.length;k++)if(CKEDITOR.env.webkit)for(g=0;g<c.length;g++){h=c[g][1];for(f=0;f<b.length;f++)h=h.replace(b[f][0],b[f][1]);a[k].$.sheet.addRule(c[g][0],h)}else{h=c;for(f=0;f<b.length;f++)h=h.replace(b[f][0],b[f][1]);CKEDITOR.env.ie&&11>CKEDITOR.env.version?a[k].$.styleSheet.cssText+=h:a[k].$.innerHTML+=h}}var m={};CKEDITOR.skin= +{path:b,loadPart:function(a,c){CKEDITOR.skin.name!=CKEDITOR.skinName.split(",")[0]?CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(b()+"skin.js"),function(){g(a,c)}):g(a,c)},getPath:function(a){return CKEDITOR.getUrl(h(a))},icons:{},addIcon:function(a,c,b,f){a=a.toLowerCase();this.icons[a]||(this.icons[a]={path:c,offset:b||0,bgsize:f||"16px"})},getIconStyle:function(a,c,b,f,g){var h;a&&(a=a.toLowerCase(),c&&(h=this.icons[a+"-rtl"]),h||(h=this.icons[a]));a=b||h&&h.path||"";f=f||h&&h.offset;g=g||h&&h.bgsize|| +"16px";a&&(a=a.replace(/'/g,"\\'"));return a&&"background-image:url('"+CKEDITOR.getUrl(a)+"');background-position:0 "+f+"px;background-size:"+g+";"}};CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{getUiColor:function(){return this.uiColor},setUiColor:function(b){var d=f(CKEDITOR.document);return(this.setUiColor=function(b){this.uiColor=b;var e=CKEDITOR.skin.chameleon,f="",g="";"function"==typeof e&&(f=e(this,"editor"),g=e(this,"panel"));b=[[c,b]];a([d],f,b);a(l,g,b)}).call(this,b)}});var k="cke_ui_color", +l=[],c=/\$color/g;CKEDITOR.on("instanceLoaded",function(b){if(!CKEDITOR.env.ie||!CKEDITOR.env.quirks){var d=b.editor;b=function(b){b=(b.data[0]||b.data).element.getElementsByTag("iframe").getItem(0).getFrameDocument();if(!b.getById("cke_ui_color")){var e=f(b);l.push(e);d.on("destroy",function(){l=CKEDITOR.tools.array.filter(l,function(a){return e!==a})});(b=d.getUiColor())&&a([e],CKEDITOR.skin.chameleon(d,"panel"),[[c,b]])}};d.on("panelShow",b);d.on("menuShow",b);d.config.uiColor&&d.setUiColor(d.config.uiColor)}})})(); +(function(){if(CKEDITOR.env.webkit)CKEDITOR.env.hc=!1;else{var b=CKEDITOR.dom.element.createFromHtml('\x3cdiv style\x3d"width:0;height:0;position:absolute;left:-10000px;border:1px solid;border-color:red blue"\x3e\x3c/div\x3e',CKEDITOR.document);b.appendTo(CKEDITOR.document.getHead());try{var h=b.getComputedStyle("border-top-color"),g=b.getComputedStyle("border-right-color");CKEDITOR.env.hc=!(!h||h!=g)}catch(f){CKEDITOR.env.hc=!1}b.remove()}CKEDITOR.env.hc&&(CKEDITOR.env.cssClass+=" cke_hc");CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}"); +CKEDITOR.status="loaded";CKEDITOR.fireOnce("loaded");if(b=CKEDITOR._.pending)for(delete CKEDITOR._.pending,h=0;h<b.length;h++)CKEDITOR.editor.prototype.constructor.apply(b[h][0],b[h][1]),CKEDITOR.add(b[h][0])})();CKEDITOR.skin.name="moono-lisa";CKEDITOR.skin.ua_editor="ie,iequirks,ie8,gecko";CKEDITOR.skin.ua_dialog="ie,iequirks,ie8";CKEDITOR.skin.chameleon=function(){var b=function(){return function(b,f){for(var a=b.match(/[^#]./g),h=0;3>h;h++){var k=h,l;l=parseInt(a[h],16);l=("0"+(0>f?0|l*(1+f): +0|l+(255-l)*f).toString(16)).slice(-2);a[k]=l}return"#"+a.join("")}}(),h={editor:new CKEDITOR.template("{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_bottom [background-color:{defaultBackground};border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [background-color:{defaultBackground};border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [background-color:{defaultBackground};outline-color:{defaultBorder};] {id} .cke_dialog_tab [background-color:{dialogTab};border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [background-color:{lightBackground};] {id} .cke_dialog_contents [border-top-color:{defaultBorder};] {id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [background:{dialogTabSelected};border-bottom-color:{dialogTabSelectedBorder};] {id} .cke_dialog_body [background:{dialogBody};border-color:{defaultBorder};] {id} a.cke_button_off:hover,{id} a.cke_button_off:focus,{id} a.cke_button_off:active [background-color:{darkBackground};border-color:{toolbarElementsBorder};] {id} .cke_button_on [background-color:{ckeButtonOn};border-color:{toolbarElementsBorder};] {id} .cke_toolbar_separator,{id} .cke_toolgroup a.cke_button:last-child:after,{id} .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after [background-color: {toolbarElementsBorder};border-color: {toolbarElementsBorder};] {id} a.cke_combo_button:hover,{id} a.cke_combo_button:focus,{id} .cke_combo_on a.cke_combo_button [border-color:{toolbarElementsBorder};background-color:{darkBackground};] {id} .cke_combo:after [border-color:{toolbarElementsBorder};] {id} .cke_path_item [color:{elementsPathColor};] {id} a.cke_path_item:hover,{id} a.cke_path_item:focus,{id} a.cke_path_item:active [background-color:{darkBackground};] {id}.cke_panel [border-color:{defaultBorder};] "), panel:new CKEDITOR.template(".cke_panel_grouptitle [background-color:{lightBackground};border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active [background-color:{menubuttonHover};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};] ")}; -return function(g,e){var a=b(g.uiColor,.4),a={id:"."+g.id,defaultBorder:b(a,-.2),toolbarElementsBorder:b(a,-.25),defaultBackground:a,lightBackground:b(a,.8),darkBackground:b(a,-.15),ckeButtonOn:b(a,.4),ckeResizer:b(a,-.4),ckeColorauto:b(a,.8),dialogBody:b(a,.7),dialogTab:b(a,.65),dialogTabSelected:"#FFF",dialogTabSelectedBorder:"#FFF",elementsPathColor:b(a,-.6),menubuttonHover:b(a,.1),menubuttonIcon:b(a,.5),menubuttonIconHover:b(a,.3)};return h[e].output(a).replace(/\[/g,"{").replace(/\]/g,"}")}}(); -CKEDITOR.plugins.add("dialogui",{onLoad:function(){var b=function(a){this._||(this._={});this._["default"]=this._.initValue=a["default"]||"";this._.required=a.required||!1;for(var b=[this._],d=1;d<arguments.length;d++)b.push(arguments[d]);b.push(!0);CKEDITOR.tools.extend.apply(CKEDITOR.tools,b);return this._},h={build:function(a,b,d){return new CKEDITOR.ui.dialog.textInput(a,b,d)}},g={build:function(a,b,d){return new CKEDITOR.ui.dialog[b.type](a,b,d)}},e={isChanged:function(){return this.getValue()!= +return function(g,f){var a=b(g.uiColor,.4),a={id:"."+g.id,defaultBorder:b(a,-.2),toolbarElementsBorder:b(a,-.25),defaultBackground:a,lightBackground:b(a,.8),darkBackground:b(a,-.15),ckeButtonOn:b(a,.4),ckeResizer:b(a,-.4),ckeColorauto:b(a,.8),dialogBody:b(a,.7),dialogTab:b(a,.65),dialogTabSelected:"#FFF",dialogTabSelectedBorder:"#FFF",elementsPathColor:b(a,-.6),menubuttonHover:b(a,.1),menubuttonIcon:b(a,.5),menubuttonIconHover:b(a,.3)};return h[f].output(a).replace(/\[/g,"{").replace(/\]/g,"}")}}(); +CKEDITOR.plugins.add("dialogui",{onLoad:function(){var b=function(a){this._||(this._={});this._["default"]=this._.initValue=a["default"]||"";this._.required=a.required||!1;for(var b=[this._],d=1;d<arguments.length;d++)b.push(arguments[d]);b.push(!0);CKEDITOR.tools.extend.apply(CKEDITOR.tools,b);return this._},h={build:function(a,b,d){return new CKEDITOR.ui.dialog.textInput(a,b,d)}},g={build:function(a,b,d){return new CKEDITOR.ui.dialog[b.type](a,b,d)}},f={isChanged:function(){return this.getValue()!= this.getInitValue()},reset:function(a){this.setValue(this.getInitValue(),a)},setInitValue:function(){this._.initValue=this.getValue()},resetInitValue:function(){this._.initValue=this._["default"]},getInitValue:function(){return this._.initValue}},a=CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onChange:function(a,b){this._.domOnChangeRegistered||(a.on("load",function(){this.getInputElement().on("change",function(){a.parts.dialog.isVisible()&&this.fire("change",{value:this.getValue()})}, -this)},this),this._.domOnChangeRegistered=!0);this.on("change",b)}},!0),m=/^on([A-Z]\w+)/,l=function(a){for(var b in a)(m.test(b)||"title"==b||"type"==b)&&delete a[b];return a},k=function(a){a=a.data.getKeystroke();a==CKEDITOR.SHIFT+CKEDITOR.ALT+36?this.setDirectionMarker("ltr"):a==CKEDITOR.SHIFT+CKEDITOR.ALT+35&&this.setDirectionMarker("rtl")};CKEDITOR.tools.extend(CKEDITOR.ui.dialog,{labeledElement:function(a,f,d,e){if(!(4>arguments.length)){var g=b.call(this,f);g.labelId=CKEDITOR.tools.getNextId()+ -"_label";this._.children=[];var h={role:f.role||"presentation"};f.includeLabel&&(h["aria-labelledby"]=g.labelId);CKEDITOR.ui.dialog.uiElement.call(this,a,f,d,"div",null,h,function(){var d=[],b=f.required?" cke_required":"";"horizontal"!=f.labelLayout?d.push('\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" ',' id\x3d"'+g.labelId+'"',g.inputId?' for\x3d"'+g.inputId+'"':"",(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e",f.label,"\x3c/label\x3e",'\x3cdiv class\x3d"cke_dialog_ui_labeled_content"', -f.controlStyle?' style\x3d"'+f.controlStyle+'"':"",' role\x3d"presentation"\x3e',e.call(this,a,f),"\x3c/div\x3e"):(b={type:"hbox",widths:f.widths,padding:0,children:[{type:"html",html:'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" id\x3d"'+g.labelId+'" for\x3d"'+g.inputId+'"'+(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e"+CKEDITOR.tools.htmlEncode(f.label)+"\x3c/label\x3e"},{type:"html",html:'\x3cspan class\x3d"cke_dialog_ui_labeled_content"'+(f.controlStyle?' style\x3d"'+f.controlStyle+ -'"':"")+"\x3e"+e.call(this,a,f)+"\x3c/span\x3e"}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(a,b,d));return d.join("")})}},textInput:function(a,f,d){if(!(3>arguments.length)){b.call(this,f);var e=this._.inputId=CKEDITOR.tools.getNextId()+"_textInput",g={"class":"cke_dialog_ui_input_"+f.type,id:e,type:f.type};f.validate&&(this.validate=f.validate);f.maxLength&&(g.maxlength=f.maxLength);f.size&&(g.size=f.size);f.inputStyle&&(g.style=f.inputStyle);var h=this,l=!1;a.on("load",function(){h.getInputElement().on("keydown", -function(a){13==a.data.getKeystroke()&&(l=!0)});h.getInputElement().on("keyup",function(d){13==d.data.getKeystroke()&&l&&(a.getButton("ok")&&setTimeout(function(){a.getButton("ok").click()},0),l=!1);h.bidi&&k.call(h,d)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,a,f,d,function(){var a=['\x3cdiv class\x3d"cke_dialog_ui_input_',f.type,'" role\x3d"presentation"'];f.width&&a.push('style\x3d"width:'+f.width+'" ');a.push("\x3e\x3cinput ");g["aria-labelledby"]=this._.labelId;this._.required&& -(g["aria-required"]=this._.required);for(var c in g)a.push(c+'\x3d"'+g[c]+'" ');a.push(" /\x3e\x3c/div\x3e");return a.join("")})}},textarea:function(a,f,d){if(!(3>arguments.length)){b.call(this,f);var e=this,g=this._.inputId=CKEDITOR.tools.getNextId()+"_textarea",h={};f.validate&&(this.validate=f.validate);h.rows=f.rows||5;h.cols=f.cols||20;h["class"]="cke_dialog_ui_input_textarea "+(f["class"]||"");"undefined"!=typeof f.inputStyle&&(h.style=f.inputStyle);f.dir&&(h.dir=f.dir);if(e.bidi)a.on("load", -function(){e.getInputElement().on("keyup",k)},e);CKEDITOR.ui.dialog.labeledElement.call(this,a,f,d,function(){h["aria-labelledby"]=this._.labelId;this._.required&&(h["aria-required"]=this._.required);var a=['\x3cdiv class\x3d"cke_dialog_ui_input_textarea" role\x3d"presentation"\x3e\x3ctextarea id\x3d"',g,'" '],c;for(c in h)a.push(c+'\x3d"'+CKEDITOR.tools.htmlEncode(h[c])+'" ');a.push("\x3e",CKEDITOR.tools.htmlEncode(e._["default"]),"\x3c/textarea\x3e\x3c/div\x3e");return a.join("")})}},checkbox:function(a, -f,d){if(!(3>arguments.length)){var e=b.call(this,f,{"default":!!f["default"]});f.validate&&(this.validate=f.validate);CKEDITOR.ui.dialog.uiElement.call(this,a,f,d,"span",null,null,function(){var d=CKEDITOR.tools.extend({},f,{id:f.id?f.id+"_checkbox":CKEDITOR.tools.getNextId()+"_checkbox"},!0),b=[],g=CKEDITOR.tools.getNextId()+"_label",h={"class":"cke_dialog_ui_checkbox_input",type:"checkbox","aria-labelledby":g};l(d);f["default"]&&(h.checked="checked");"undefined"!=typeof d.inputStyle&&(d.style=d.inputStyle); -e.checkbox=new CKEDITOR.ui.dialog.uiElement(a,d,b,"input",null,h);b.push(' \x3clabel id\x3d"',g,'" for\x3d"',h.id,'"'+(f.labelStyle?' style\x3d"'+f.labelStyle+'"':"")+"\x3e",CKEDITOR.tools.htmlEncode(f.label),"\x3c/label\x3e");return b.join("")})}},radio:function(a,f,d){if(!(3>arguments.length)){b.call(this,f);this._["default"]||(this._["default"]=this._.initValue=f.items[0][1]);f.validate&&(this.validate=f.validate);var e=[],g=this;f.role="radiogroup";f.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this, -a,f,d,function(){for(var d=[],b=[],h=(f.id?f.id:CKEDITOR.tools.getNextId())+"_radio",k=0;k<f.items.length;k++){var m=f.items[k],t=void 0!==m[2]?m[2]:m[0],z=void 0!==m[1]?m[1]:m[0],y=CKEDITOR.tools.getNextId()+"_radio_input",u=y+"_label",y=CKEDITOR.tools.extend({},f,{id:y,title:null,type:null},!0),t=CKEDITOR.tools.extend({},y,{title:t},!0),B={type:"radio","class":"cke_dialog_ui_radio_input",name:h,value:z,"aria-labelledby":u},C=[];g._["default"]==z&&(B.checked="checked");l(y);l(t);"undefined"!=typeof y.inputStyle&& -(y.style=y.inputStyle);y.keyboardFocusable=!0;e.push(new CKEDITOR.ui.dialog.uiElement(a,y,C,"input",null,B));C.push(" ");new CKEDITOR.ui.dialog.uiElement(a,t,C,"label",null,{id:u,"for":B.id},m[0]);d.push(C.join(""))}new CKEDITOR.ui.dialog.hbox(a,e,d,b);return b.join("")});this._.children=e}},button:function(a,f,d){if(arguments.length){"function"==typeof f&&(f=f(a.getParentEditor()));b.call(this,f,{disabled:f.disabled||!1});CKEDITOR.event.implementOn(this);var e=this;a.on("load",function(){var a=this.getElement(); -(function(){a.on("click",function(a){e.click();a.data.preventDefault()});a.on("keydown",function(a){a.data.getKeystroke()in{32:1}&&(e.click(),a.data.preventDefault())})})();a.unselectable()},this);var g=CKEDITOR.tools.extend({},f);delete g.style;var h=CKEDITOR.tools.getNextId()+"_label";CKEDITOR.ui.dialog.uiElement.call(this,a,g,d,"a",null,{style:f.style,href:"javascript:void(0)",title:f.label,hidefocus:"true","class":f["class"],role:"button","aria-labelledby":h},'\x3cspan id\x3d"'+h+'" class\x3d"cke_dialog_ui_button"\x3e'+ -CKEDITOR.tools.htmlEncode(f.label)+"\x3c/span\x3e")}},select:function(a,f,d){if(!(3>arguments.length)){var e=b.call(this,f);f.validate&&(this.validate=f.validate);e.inputId=CKEDITOR.tools.getNextId()+"_select";CKEDITOR.ui.dialog.labeledElement.call(this,a,f,d,function(){var d=CKEDITOR.tools.extend({},f,{id:f.id?f.id+"_select":CKEDITOR.tools.getNextId()+"_select"},!0),b=[],g=[],h={id:e.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};b.push('\x3cdiv class\x3d"cke_dialog_ui_input_', -f.type,'" role\x3d"presentation"');f.width&&b.push('style\x3d"width:'+f.width+'" ');b.push("\x3e");void 0!==f.size&&(h.size=f.size);void 0!==f.multiple&&(h.multiple=f.multiple);l(d);for(var k=0,m;k<f.items.length&&(m=f.items[k]);k++)g.push('\x3coption value\x3d"',CKEDITOR.tools.htmlEncode(void 0!==m[1]?m[1]:m[0]).replace(/"/g,"\x26quot;"),'" /\x3e ',CKEDITOR.tools.htmlEncode(m[0]));"undefined"!=typeof d.inputStyle&&(d.style=d.inputStyle);e.select=new CKEDITOR.ui.dialog.uiElement(a,d,b,"select",null, -h,g.join(""));b.push("\x3c/div\x3e");return b.join("")})}},file:function(a,f,d){if(!(3>arguments.length)){void 0===f["default"]&&(f["default"]="");var e=CKEDITOR.tools.extend(b.call(this,f),{definition:f,buttons:[]});f.validate&&(this.validate=f.validate);a.on("load",function(){CKEDITOR.document.getById(e.frameId).getParent().addClass("cke_dialog_ui_input_file")});CKEDITOR.ui.dialog.labeledElement.call(this,a,f,d,function(){e.frameId=CKEDITOR.tools.getNextId()+"_fileInput";var a=['\x3ciframe frameborder\x3d"0" allowtransparency\x3d"0" class\x3d"cke_dialog_ui_input_file" role\x3d"presentation" id\x3d"', -e.frameId,'" title\x3d"',f.label,'" src\x3d"javascript:void('];a.push(CKEDITOR.env.ie?"(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"})()":"0");a.push(')"\x3e\x3c/iframe\x3e');return a.join("")})}},fileButton:function(a,f,d){var e=this;if(!(3>arguments.length)){b.call(this,f);f.validate&&(this.validate=f.validate);var g=CKEDITOR.tools.extend({},f),h=g.onClick;g.className=(g.className?g.className+" ":"")+"cke_dialog_ui_button";g.onClick=function(d){var b= -f["for"];d=h?h.call(this,d):!1;!1!==d&&("xhr"!==d&&a.getContentElement(b[0],b[1]).submit(),this.disable())};a.on("load",function(){a.getContentElement(f["for"][0],f["for"][1])._.buttons.push(e)});CKEDITOR.ui.dialog.button.call(this,a,g,d)}},html:function(){var a=/^\s*<[\w:]+\s+([^>]*)?>/,b=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,d=/\/$/;return function(e,g,h){if(!(3>arguments.length)){var k=[],l=g.html;"\x3c"!=l.charAt(0)&&(l="\x3cspan\x3e"+l+"\x3c/span\x3e");var m=g.focus;if(m){var x=this.focus; -this.focus=function(){("function"==typeof m?m:x).call(this);this.fire("focus")};g.isFocusable&&(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,e,g,k,"span",null,null,"");k=k.join("").match(a);l=l.match(b)||["","",""];d.test(l[1])&&(l[1]=l[1].slice(0,-1),l[2]="/"+l[2]);h.push([l[1]," ",k[1]||"",l[2]].join(""))}}}(),fieldset:function(a,b,d,e,g){var h=g.label;this._={children:b};CKEDITOR.ui.dialog.uiElement.call(this,a,g,e,"fieldset",null,null,function(){var a= +this)},this),this._.domOnChangeRegistered=!0);this.on("change",b)}},!0),m=/^on([A-Z]\w+)/,k=function(a){for(var b in a)(m.test(b)||"title"==b||"type"==b)&&delete a[b];return a},l=function(a){a=a.data.getKeystroke();a==CKEDITOR.SHIFT+CKEDITOR.ALT+36?this.setDirectionMarker("ltr"):a==CKEDITOR.SHIFT+CKEDITOR.ALT+35&&this.setDirectionMarker("rtl")};CKEDITOR.tools.extend(CKEDITOR.ui.dialog,{labeledElement:function(a,e,d,f){if(!(4>arguments.length)){var g=b.call(this,e);g.labelId=CKEDITOR.tools.getNextId()+ +"_label";this._.children=[];var h={role:e.role||"presentation"};e.includeLabel&&(h["aria-labelledby"]=g.labelId);CKEDITOR.ui.dialog.uiElement.call(this,a,e,d,"div",null,h,function(){var d=[],b=e.required?" cke_required":"";"horizontal"!=e.labelLayout?d.push('\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" ',' id\x3d"'+g.labelId+'"',g.inputId?' for\x3d"'+g.inputId+'"':"",(e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e",e.label,"\x3c/label\x3e",'\x3cdiv class\x3d"cke_dialog_ui_labeled_content"', +e.controlStyle?' style\x3d"'+e.controlStyle+'"':"",' role\x3d"presentation"\x3e',f.call(this,a,e),"\x3c/div\x3e"):(b={type:"hbox",widths:e.widths,padding:0,children:[{type:"html",html:'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+b+'" id\x3d"'+g.labelId+'" for\x3d"'+g.inputId+'"'+(e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e"+CKEDITOR.tools.htmlEncode(e.label)+"\x3c/label\x3e"},{type:"html",html:'\x3cspan class\x3d"cke_dialog_ui_labeled_content"'+(e.controlStyle?' style\x3d"'+e.controlStyle+ +'"':"")+"\x3e"+f.call(this,a,e)+"\x3c/span\x3e"}]},CKEDITOR.dialog._.uiElementBuilders.hbox.build(a,b,d));return d.join("")})}},textInput:function(a,e,d){if(!(3>arguments.length)){b.call(this,e);var f=this._.inputId=CKEDITOR.tools.getNextId()+"_textInput",g={"class":"cke_dialog_ui_input_"+e.type,id:f,type:e.type};e.validate&&(this.validate=e.validate);e.maxLength&&(g.maxlength=e.maxLength);e.size&&(g.size=e.size);e.inputStyle&&(g.style=e.inputStyle);var h=this,k=!1;a.on("load",function(){h.getInputElement().on("keydown", +function(a){13==a.data.getKeystroke()&&(k=!0)});h.getInputElement().on("keyup",function(d){13==d.data.getKeystroke()&&k&&(a.getButton("ok")&&setTimeout(function(){a.getButton("ok").click()},0),k=!1);h.bidi&&l.call(h,d)},null,null,1E3)});CKEDITOR.ui.dialog.labeledElement.call(this,a,e,d,function(){var a=['\x3cdiv class\x3d"cke_dialog_ui_input_',e.type,'" role\x3d"presentation"'];e.width&&a.push('style\x3d"width:'+e.width+'" ');a.push("\x3e\x3cinput ");g["aria-labelledby"]=this._.labelId;this._.required&& +(g["aria-required"]=this._.required);for(var c in g)a.push(c+'\x3d"'+g[c]+'" ');a.push(" /\x3e\x3c/div\x3e");return a.join("")})}},textarea:function(a,e,d){if(!(3>arguments.length)){b.call(this,e);var f=this,g=this._.inputId=CKEDITOR.tools.getNextId()+"_textarea",h={};e.validate&&(this.validate=e.validate);h.rows=e.rows||5;h.cols=e.cols||20;h["class"]="cke_dialog_ui_input_textarea "+(e["class"]||"");"undefined"!=typeof e.inputStyle&&(h.style=e.inputStyle);e.dir&&(h.dir=e.dir);if(f.bidi)a.on("load", +function(){f.getInputElement().on("keyup",l)},f);CKEDITOR.ui.dialog.labeledElement.call(this,a,e,d,function(){h["aria-labelledby"]=this._.labelId;this._.required&&(h["aria-required"]=this._.required);var a=['\x3cdiv class\x3d"cke_dialog_ui_input_textarea" role\x3d"presentation"\x3e\x3ctextarea id\x3d"',g,'" '],c;for(c in h)a.push(c+'\x3d"'+CKEDITOR.tools.htmlEncode(h[c])+'" ');a.push("\x3e",CKEDITOR.tools.htmlEncode(f._["default"]),"\x3c/textarea\x3e\x3c/div\x3e");return a.join("")})}},checkbox:function(a, +e,d){if(!(3>arguments.length)){var f=b.call(this,e,{"default":!!e["default"]});e.validate&&(this.validate=e.validate);CKEDITOR.ui.dialog.uiElement.call(this,a,e,d,"span",null,null,function(){var d=CKEDITOR.tools.extend({},e,{id:e.id?e.id+"_checkbox":CKEDITOR.tools.getNextId()+"_checkbox"},!0),b=[],g=CKEDITOR.tools.getNextId()+"_label",h={"class":"cke_dialog_ui_checkbox_input",type:"checkbox","aria-labelledby":g};k(d);e["default"]&&(h.checked="checked");"undefined"!=typeof d.inputStyle&&(d.style=d.inputStyle); +f.checkbox=new CKEDITOR.ui.dialog.uiElement(a,d,b,"input",null,h);b.push(' \x3clabel id\x3d"',g,'" for\x3d"',h.id,'"'+(e.labelStyle?' style\x3d"'+e.labelStyle+'"':"")+"\x3e",CKEDITOR.tools.htmlEncode(e.label),"\x3c/label\x3e");return b.join("")})}},radio:function(a,e,d){if(!(3>arguments.length)){b.call(this,e);this._["default"]||(this._["default"]=this._.initValue=e.items[0][1]);e.validate&&(this.validate=e.validate);var f=[],g=this;e.role="radiogroup";e.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this, +a,e,d,function(){for(var d=[],b=[],h=(e.id?e.id:CKEDITOR.tools.getNextId())+"_radio",l=0;l<e.items.length;l++){var m=e.items[l],t=void 0!==m[2]?m[2]:m[0],z=void 0!==m[1]?m[1]:m[0],u=CKEDITOR.tools.getNextId()+"_radio_input",v=u+"_label",u=CKEDITOR.tools.extend({},e,{id:u,title:null,type:null},!0),t=CKEDITOR.tools.extend({},u,{title:t},!0),C={type:"radio","class":"cke_dialog_ui_radio_input",name:h,value:z,"aria-labelledby":v},E=[];g._["default"]==z&&(C.checked="checked");k(u);k(t);"undefined"!=typeof u.inputStyle&& +(u.style=u.inputStyle);u.keyboardFocusable=!0;f.push(new CKEDITOR.ui.dialog.uiElement(a,u,E,"input",null,C));E.push(" ");new CKEDITOR.ui.dialog.uiElement(a,t,E,"label",null,{id:v,"for":C.id},m[0]);d.push(E.join(""))}new CKEDITOR.ui.dialog.hbox(a,f,d,b);return b.join("")});this._.children=f}},button:function(a,e,d){if(arguments.length){"function"==typeof e&&(e=e(a.getParentEditor()));b.call(this,e,{disabled:e.disabled||!1});CKEDITOR.event.implementOn(this);var f=this;a.on("load",function(){var a=this.getElement(); +(function(){a.on("click",function(a){f.click();a.data.preventDefault()});a.on("keydown",function(a){a.data.getKeystroke()in{32:1}&&(f.click(),a.data.preventDefault())})})();a.unselectable()},this);var g=CKEDITOR.tools.extend({},e);delete g.style;var h=CKEDITOR.tools.getNextId()+"_label";CKEDITOR.ui.dialog.uiElement.call(this,a,g,d,"a",null,{style:e.style,href:"javascript:void(0)",title:e.label,hidefocus:"true","class":e["class"],role:"button","aria-labelledby":h},'\x3cspan id\x3d"'+h+'" class\x3d"cke_dialog_ui_button"\x3e'+ +CKEDITOR.tools.htmlEncode(e.label)+"\x3c/span\x3e")}},select:function(a,e,d){if(!(3>arguments.length)){var f=b.call(this,e);e.validate&&(this.validate=e.validate);f.inputId=CKEDITOR.tools.getNextId()+"_select";CKEDITOR.ui.dialog.labeledElement.call(this,a,e,d,function(){var d=CKEDITOR.tools.extend({},e,{id:e.id?e.id+"_select":CKEDITOR.tools.getNextId()+"_select"},!0),b=[],g=[],h={id:f.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};b.push('\x3cdiv class\x3d"cke_dialog_ui_input_', +e.type,'" role\x3d"presentation"');e.width&&b.push('style\x3d"width:'+e.width+'" ');b.push("\x3e");void 0!==e.size&&(h.size=e.size);void 0!==e.multiple&&(h.multiple=e.multiple);k(d);for(var l=0,m;l<e.items.length&&(m=e.items[l]);l++)g.push('\x3coption value\x3d"',CKEDITOR.tools.htmlEncode(void 0!==m[1]?m[1]:m[0]).replace(/"/g,"\x26quot;"),'" /\x3e ',CKEDITOR.tools.htmlEncode(m[0]));"undefined"!=typeof d.inputStyle&&(d.style=d.inputStyle);f.select=new CKEDITOR.ui.dialog.uiElement(a,d,b,"select",null, +h,g.join(""));b.push("\x3c/div\x3e");return b.join("")})}},file:function(a,e,d){if(!(3>arguments.length)){void 0===e["default"]&&(e["default"]="");var f=CKEDITOR.tools.extend(b.call(this,e),{definition:e,buttons:[]});e.validate&&(this.validate=e.validate);a.on("load",function(){CKEDITOR.document.getById(f.frameId).getParent().addClass("cke_dialog_ui_input_file")});CKEDITOR.ui.dialog.labeledElement.call(this,a,e,d,function(){f.frameId=CKEDITOR.tools.getNextId()+"_fileInput";var a=['\x3ciframe frameborder\x3d"0" allowtransparency\x3d"0" class\x3d"cke_dialog_ui_input_file" role\x3d"presentation" id\x3d"', +f.frameId,'" title\x3d"',e.label,'" src\x3d"javascript:void('];a.push(CKEDITOR.env.ie?"(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"})()":"0");a.push(')"\x3e\x3c/iframe\x3e');return a.join("")})}},fileButton:function(a,e,d){var f=this;if(!(3>arguments.length)){b.call(this,e);e.validate&&(this.validate=e.validate);var g=CKEDITOR.tools.extend({},e),h=g.onClick;g.className=(g.className?g.className+" ":"")+"cke_dialog_ui_button";g.onClick=function(d){var b= +e["for"];d=h?h.call(this,d):!1;!1!==d&&("xhr"!==d&&a.getContentElement(b[0],b[1]).submit(),this.disable())};a.on("load",function(){a.getContentElement(e["for"][0],e["for"][1])._.buttons.push(f)});CKEDITOR.ui.dialog.button.call(this,a,g,d)}},html:function(){var a=/^\s*<[\w:]+\s+([^>]*)?>/,b=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,d=/\/$/;return function(f,g,h){if(!(3>arguments.length)){var k=[],l=g.html;"\x3c"!=l.charAt(0)&&(l="\x3cspan\x3e"+l+"\x3c/span\x3e");var m=g.focus;if(m){var w=this.focus; +this.focus=function(){("function"==typeof m?m:w).call(this);this.fire("focus")};g.isFocusable&&(this.isFocusable=this.isFocusable);this.keyboardFocusable=!0}CKEDITOR.ui.dialog.uiElement.call(this,f,g,k,"span",null,null,"");k=k.join("").match(a);l=l.match(b)||["","",""];d.test(l[1])&&(l[1]=l[1].slice(0,-1),l[2]="/"+l[2]);h.push([l[1]," ",k[1]||"",l[2]].join(""))}}}(),fieldset:function(a,b,d,f,g){var h=g.label;this._={children:b};CKEDITOR.ui.dialog.uiElement.call(this,a,g,f,"fieldset",null,null,function(){var a= [];h&&a.push("\x3clegend"+(g.labelStyle?' style\x3d"'+g.labelStyle+'"':"")+"\x3e"+h+"\x3c/legend\x3e");for(var c=0;c<d.length;c++)a.push(d[c]);return a.join("")})}},!0);CKEDITOR.ui.dialog.html.prototype=new CKEDITOR.ui.dialog.uiElement;CKEDITOR.ui.dialog.labeledElement.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setLabel:function(a){var b=CKEDITOR.document.getById(this._.labelId);1>b.getChildCount()?(new CKEDITOR.dom.text(a,CKEDITOR.document)).appendTo(b):b.getChild(0).$.nodeValue= a;return this},getLabel:function(){var a=CKEDITOR.document.getById(this._.labelId);return!a||1>a.getChildCount()?"":a.getChild(0).getText()},eventProcessors:a},!0);CKEDITOR.ui.dialog.button.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{click:function(){return this._.disabled?!1:this.fire("click",{dialog:this._.dialog})},enable:function(){this._.disabled=!1;var a=this.getElement();a&&a.removeClass("cke_disabled")},disable:function(){this._.disabled=!0;this.getElement().addClass("cke_disabled")}, isVisible:function(){return this.getElement().getFirst().isVisible()},isEnabled:function(){return!this._.disabled},eventProcessors:CKEDITOR.tools.extend({},CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,{onClick:function(a,b){this.on("click",function(){b.apply(this,arguments)})}},!0),accessKeyUp:function(){this.click()},accessKeyDown:function(){this.focus()},keyboardFocusable:!0},!0);CKEDITOR.ui.dialog.textInput.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return CKEDITOR.document.getById(this._.inputId)}, focus:function(){var a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&&b.$.focus()},0)},select:function(){var a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&&(b.$.focus(),b.$.select())},0)},accessKeyUp:function(){this.select()},setValue:function(a){if(this.bidi){var b=a&&a.charAt(0);(b=""==b?"ltr":""==b?"rtl":null)&&(a=a.slice(1));this.setDirectionMarker(b)}a||(a="");return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply(this,arguments)}, -getValue:function(){var a=CKEDITOR.ui.dialog.uiElement.prototype.getValue.call(this);if(this.bidi&&a){var b=this.getDirectionMarker();b&&(a=("ltr"==b?"":"")+a)}return a},setDirectionMarker:function(a){var b=this.getInputElement();a?b.setAttributes({dir:a,"data-cke-dir-marker":a}):this.getDirectionMarker()&&b.removeAttributes(["dir","data-cke-dir-marker"])},getDirectionMarker:function(){return this.getInputElement().data("cke-dir-marker")},keyboardFocusable:!0},e,!0);CKEDITOR.ui.dialog.textarea.prototype= -new CKEDITOR.ui.dialog.textInput;CKEDITOR.ui.dialog.select.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return this._.select.getElement()},add:function(a,b,d){var e=new CKEDITOR.dom.element("option",this.getDialog().getParentEditor().document),g=this.getInputElement().$;e.$.text=a;e.$.value=void 0===b||null===b?a:b;void 0===d||null===d?CKEDITOR.env.ie?g.add(e.$):g.add(e.$,null):g.add(e.$,d);return this},remove:function(a){this.getInputElement().$.remove(a); -return this},clear:function(){for(var a=this.getInputElement().$;0<a.length;)a.remove(0);return this},keyboardFocusable:!0},e,!0);CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(a,b){this.getInputElement().$.checked=a;!b&&this.fire("change",{value:a})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(c, -b){if(!CKEDITOR.env.ie||8<CKEDITOR.env.version)return a.onChange.apply(this,arguments);c.on("load",function(){var a=this._.checkbox.getElement();a.on("propertychange",function(c){c=c.data.$;"checked"==c.propertyName&&this.fire("change",{value:a.$.checked})},this)},this);this.on("change",b);return null}},keyboardFocusable:!0},e,!0);CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setValue:function(a,b){for(var d=this._.children,e,g=0;g<d.length&&(e=d[g]);g++)e.getElement().$.checked= -e.getValue()==a;!b&&this.fire("change",{value:a})},getValue:function(){for(var a=this._.children,b=0;b<a.length;b++)if(a[b].getElement().$.checked)return a[b].getValue();return null},accessKeyUp:function(){var a=this._.children,b;for(b=0;b<a.length;b++)if(a[b].getElement().$.checked){a[b].getElement().focus();return}a[0].getElement().focus()},eventProcessors:{onChange:function(c,b){if(!CKEDITOR.env.ie||8<CKEDITOR.env.version)return a.onChange.apply(this,arguments);c.on("load",function(){for(var a= -this._.children,c=this,b=0;b<a.length;b++)a[b].getElement().on("propertychange",function(a){a=a.data.$;"checked"==a.propertyName&&this.$.checked&&c.fire("change",{value:this.getAttribute("value")})})},this);this.on("change",b);return null}}},e,!0);CKEDITOR.ui.dialog.file.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,e,{getInputElement:function(){var a=CKEDITOR.document.getById(this._.frameId).getFrameDocument();return 0<a.$.forms.length?new CKEDITOR.dom.element(a.$.forms[0].elements[0]): -this.getElement()},submit:function(){this.getInputElement().getParent().$.submit();return this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(a){var b=/^on([A-Z]\w+)/,d,e=function(a,c,d,b){a.on("formLoaded",function(){a.getInputElement().on(d,b,a)})},g;for(g in a)if(d=g.match(b))this.eventProcessors[g]?this.eventProcessors[g].call(this,this._.dialog,a[g]):e(this,this._.dialog,d[1].toLowerCase(),a[g]);return this},reset:function(){function a(){d.$.open(); -var c="";e.size&&(c=e.size-(CKEDITOR.env.ie?7:0));var t=b.frameId+"_input";d.$.write(['\x3chtml dir\x3d"'+l+'" lang\x3d"'+m+'"\x3e\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d"margin: 0; overflow: hidden; background: transparent;"\x3e','\x3cform enctype\x3d"multipart/form-data" method\x3d"POST" dir\x3d"'+l+'" lang\x3d"'+m+'" action\x3d"',CKEDITOR.tools.htmlEncode(e.action),'"\x3e\x3clabel id\x3d"',b.labelId,'" for\x3d"',t,'" style\x3d"display:none"\x3e',CKEDITOR.tools.htmlEncode(e.label), -'\x3c/label\x3e\x3cinput style\x3d"width:100%" id\x3d"',t,'" aria-labelledby\x3d"',b.labelId,'" type\x3d"file" name\x3d"',CKEDITOR.tools.htmlEncode(e.id||"cke_upload"),'" size\x3d"',CKEDITOR.tools.htmlEncode(0<c?c:""),'" /\x3e\x3c/form\x3e\x3c/body\x3e\x3c/html\x3e\x3cscript\x3e',CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"","window.parent.CKEDITOR.tools.callFunction("+h+");","window.onbeforeunload \x3d function() {window.parent.CKEDITOR.tools.callFunction("+k+")}","\x3c/script\x3e"].join("")); -d.$.close();for(c=0;c<g.length;c++)g[c].enable()}var b=this._,d=CKEDITOR.document.getById(b.frameId).getFrameDocument(),e=b.definition,g=b.buttons,h=this.formLoadedNumber,k=this.formUnloadNumber,l=b.dialog._.editor.lang.dir,m=b.dialog._.editor.langCode;h||(h=this.formLoadedNumber=CKEDITOR.tools.addFunction(function(){this.fire("formLoaded")},this),k=this.formUnloadNumber=CKEDITOR.tools.addFunction(function(){this.getInputElement().clearCustomData()},this),this.getDialog()._.editor.on("destroy",function(){CKEDITOR.tools.removeFunction(h); +getValue:function(){var a=CKEDITOR.ui.dialog.uiElement.prototype.getValue.call(this);if(this.bidi&&a){var b=this.getDirectionMarker();b&&(a=("ltr"==b?"":"")+a)}return a},setDirectionMarker:function(a){var b=this.getInputElement();a?b.setAttributes({dir:a,"data-cke-dir-marker":a}):this.getDirectionMarker()&&b.removeAttributes(["dir","data-cke-dir-marker"])},getDirectionMarker:function(){return this.getInputElement().data("cke-dir-marker")},keyboardFocusable:!0},f,!0);CKEDITOR.ui.dialog.textarea.prototype= +new CKEDITOR.ui.dialog.textInput;CKEDITOR.ui.dialog.select.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,{getInputElement:function(){return this._.select.getElement()},add:function(a,b,d){var f=new CKEDITOR.dom.element("option",this.getDialog().getParentEditor().document),g=this.getInputElement().$;f.$.text=a;f.$.value=void 0===b||null===b?a:b;void 0===d||null===d?CKEDITOR.env.ie?g.add(f.$):g.add(f.$,null):g.add(f.$,d);return this},remove:function(a){this.getInputElement().$.remove(a); +return this},clear:function(){for(var a=this.getInputElement().$;0<a.length;)a.remove(0);return this},keyboardFocusable:!0},f,!0);CKEDITOR.ui.dialog.checkbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(a,b){this.getInputElement().$.checked=a;!b&&this.fire("change",{value:a})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(c, +b){if(!CKEDITOR.env.ie||8<CKEDITOR.env.version)return a.onChange.apply(this,arguments);c.on("load",function(){var a=this._.checkbox.getElement();a.on("propertychange",function(c){c=c.data.$;"checked"==c.propertyName&&this.fire("change",{value:a.$.checked})},this)},this);this.on("change",b);return null}},keyboardFocusable:!0},f,!0);CKEDITOR.ui.dialog.radio.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement,{setValue:function(a,b){for(var d=this._.children,f,g=0;g<d.length&&(f=d[g]);g++)f.getElement().$.checked= +f.getValue()==a;!b&&this.fire("change",{value:a})},getValue:function(){for(var a=this._.children,b=0;b<a.length;b++)if(a[b].getElement().$.checked)return a[b].getValue();return null},accessKeyUp:function(){var a=this._.children,b;for(b=0;b<a.length;b++)if(a[b].getElement().$.checked){a[b].getElement().focus();return}a[0].getElement().focus()},eventProcessors:{onChange:function(c,b){if(!CKEDITOR.env.ie||8<CKEDITOR.env.version)return a.onChange.apply(this,arguments);c.on("load",function(){for(var a= +this._.children,c=this,b=0;b<a.length;b++)a[b].getElement().on("propertychange",function(a){a=a.data.$;"checked"==a.propertyName&&this.$.checked&&c.fire("change",{value:this.getAttribute("value")})})},this);this.on("change",b);return null}}},f,!0);CKEDITOR.ui.dialog.file.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.labeledElement,f,{getInputElement:function(){var a=CKEDITOR.document.getById(this._.frameId).getFrameDocument();return 0<a.$.forms.length?new CKEDITOR.dom.element(a.$.forms[0].elements[0]): +this.getElement()},submit:function(){this.getInputElement().getParent().$.submit();return this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(a){var b=/^on([A-Z]\w+)/,d,f=function(a,c,d,b){a.on("formLoaded",function(){a.getInputElement().on(d,b,a)})},g;for(g in a)if(d=g.match(b))this.eventProcessors[g]?this.eventProcessors[g].call(this,this._.dialog,a[g]):f(this,this._.dialog,d[1].toLowerCase(),a[g]);return this},reset:function(){function a(){d.$.open(); +var c="";f.size&&(c=f.size-(CKEDITOR.env.ie?7:0));var t=b.frameId+"_input";d.$.write(['\x3chtml dir\x3d"'+l+'" lang\x3d"'+m+'"\x3e\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e\x3cbody style\x3d"margin: 0; overflow: hidden; background: transparent;"\x3e','\x3cform enctype\x3d"multipart/form-data" method\x3d"POST" dir\x3d"'+l+'" lang\x3d"'+m+'" action\x3d"',CKEDITOR.tools.htmlEncode(f.action),'"\x3e\x3clabel id\x3d"',b.labelId,'" for\x3d"',t,'" style\x3d"display:none"\x3e',CKEDITOR.tools.htmlEncode(f.label), +'\x3c/label\x3e\x3cinput style\x3d"width:100%" id\x3d"',t,'" aria-labelledby\x3d"',b.labelId,'" type\x3d"file" name\x3d"',CKEDITOR.tools.htmlEncode(f.id||"cke_upload"),'" size\x3d"',CKEDITOR.tools.htmlEncode(0<c?c:""),'" /\x3e\x3c/form\x3e\x3c/body\x3e\x3c/html\x3e\x3cscript\x3e',CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"","window.parent.CKEDITOR.tools.callFunction("+h+");","window.onbeforeunload \x3d function() {window.parent.CKEDITOR.tools.callFunction("+k+")}","\x3c/script\x3e"].join("")); +d.$.close();for(c=0;c<g.length;c++)g[c].enable()}var b=this._,d=CKEDITOR.document.getById(b.frameId).getFrameDocument(),f=b.definition,g=b.buttons,h=this.formLoadedNumber,k=this.formUnloadNumber,l=b.dialog._.editor.lang.dir,m=b.dialog._.editor.langCode;h||(h=this.formLoadedNumber=CKEDITOR.tools.addFunction(function(){this.fire("formLoaded")},this),k=this.formUnloadNumber=CKEDITOR.tools.addFunction(function(){this.getInputElement().clearCustomData()},this),this.getDialog()._.editor.on("destroy",function(){CKEDITOR.tools.removeFunction(h); CKEDITOR.tools.removeFunction(k)}));CKEDITOR.env.gecko?setTimeout(a,500):a()},getValue:function(){return this.getInputElement().$.value||""},setInitValue:function(){this._.initValue=""},eventProcessors:{onChange:function(a,b){this._.domOnChangeRegistered||(this.on("formLoaded",function(){this.getInputElement().on("change",function(){this.fire("change",{value:this.getValue()})},this)},this),this._.domOnChangeRegistered=!0);this.on("change",b)}},keyboardFocusable:!0},!0);CKEDITOR.ui.dialog.fileButton.prototype= new CKEDITOR.ui.dialog.button;CKEDITOR.ui.dialog.fieldset.prototype=CKEDITOR.tools.clone(CKEDITOR.ui.dialog.hbox.prototype);CKEDITOR.dialog.addUIElement("text",h);CKEDITOR.dialog.addUIElement("password",h);CKEDITOR.dialog.addUIElement("tel",h);CKEDITOR.dialog.addUIElement("textarea",g);CKEDITOR.dialog.addUIElement("checkbox",g);CKEDITOR.dialog.addUIElement("radio",g);CKEDITOR.dialog.addUIElement("button",g);CKEDITOR.dialog.addUIElement("select",g);CKEDITOR.dialog.addUIElement("file",g);CKEDITOR.dialog.addUIElement("fileButton", -g);CKEDITOR.dialog.addUIElement("html",g);CKEDITOR.dialog.addUIElement("fieldset",{build:function(a,b,d){for(var e=b.children,g,h=[],k=[],l=0;l<e.length&&(g=e[l]);l++){var m=[];h.push(m);k.push(CKEDITOR.dialog._.uiElementBuilders[g.type].build(a,g,m))}return new CKEDITOR.ui.dialog[b.type](a,k,h,d,b)}})}});CKEDITOR.DIALOG_RESIZE_NONE=0;CKEDITOR.DIALOG_RESIZE_WIDTH=1;CKEDITOR.DIALOG_RESIZE_HEIGHT=2;CKEDITOR.DIALOG_RESIZE_BOTH=3;CKEDITOR.DIALOG_STATE_IDLE=1;CKEDITOR.DIALOG_STATE_BUSY=2;(function(){function b(a){a._.tabBarMode= +g);CKEDITOR.dialog.addUIElement("html",g);CKEDITOR.dialog.addUIElement("fieldset",{build:function(a,b,d){for(var f=b.children,g,h=[],k=[],l=0;l<f.length&&(g=f[l]);l++){var m=[];h.push(m);k.push(CKEDITOR.dialog._.uiElementBuilders[g.type].build(a,g,m))}return new CKEDITOR.ui.dialog[b.type](a,k,h,d,b)}})}});CKEDITOR.DIALOG_RESIZE_NONE=0;CKEDITOR.DIALOG_RESIZE_WIDTH=1;CKEDITOR.DIALOG_RESIZE_HEIGHT=2;CKEDITOR.DIALOG_RESIZE_BOTH=3;CKEDITOR.DIALOG_STATE_IDLE=1;CKEDITOR.DIALOG_STATE_BUSY=2;(function(){function b(a){a._.tabBarMode= !0;a._.tabs[a._.currentTabId][0].focus();a._.currentFocusIndex=-1}function h(){for(var a=this._.tabIdList.length,c=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId)+a,d=c-1;d>c-a;d--)if(this._.tabs[this._.tabIdList[d%a]][0].$.offsetHeight)return this._.tabIdList[d%a];return null}function g(){for(var a=this._.tabIdList.length,c=CKEDITOR.tools.indexOf(this._.tabIdList,this._.currentTabId),d=c+1;d<c+a;d++)if(this._.tabs[this._.tabIdList[d%a]][0].$.offsetHeight)return this._.tabIdList[d%a]; -return null}function e(a,c){for(var d=a.$.getElementsByTagName("input"),b=0,f=d.length;b<f;b++){var e=new CKEDITOR.dom.element(d[b]);"text"==e.getAttribute("type").toLowerCase()&&(c?(e.setAttribute("value",e.getCustomData("fake_value")||""),e.removeCustomData("fake_value")):(e.setCustomData("fake_value",e.getAttribute("value")),e.setAttribute("value","")))}}function a(a,c){var d=this.getInputElement();d&&(a?d.removeAttribute("aria-invalid"):d.setAttribute("aria-invalid",!0));a||(this.select?this.select(): -this.focus());c&&alert(c);this.fire("validated",{valid:a,msg:c})}function m(){var a=this.getInputElement();a&&a.removeAttribute("aria-invalid")}function l(a){var c=CKEDITOR.dom.element.createFromHtml(CKEDITOR.addTemplate("dialog",I).output({id:CKEDITOR.tools.getNextNumber(),editorId:a.id,langDir:a.lang.dir,langCode:a.langCode,editorDialogClass:"cke_editor_"+a.name.replace(/\./g,"\\.")+"_dialog",closeTitle:a.lang.common.close,hidpi:CKEDITOR.env.hidpi?"cke_hidpi":""})),d=c.getChild([0,0,0,0,0]),b=d.getChild(0), -f=d.getChild(1);a.plugins.clipboard&&CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(d);!CKEDITOR.env.ie||CKEDITOR.env.quirks||CKEDITOR.env.edge||(a="javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())",CKEDITOR.dom.element.createFromHtml('\x3ciframe frameBorder\x3d"0" class\x3d"cke_iframe_shim" src\x3d"'+a+'" tabIndex\x3d"-1"\x3e\x3c/iframe\x3e').appendTo(d.getParent()));b.unselectable();f.unselectable();return{element:c, -parts:{dialog:c.getChild(0),title:b,close:f,tabs:d.getChild(2),contents:d.getChild([3,0,0,0]),footer:d.getChild([3,0,1,0])}}}function k(a,c,d){this.element=c;this.focusIndex=d;this.tabIndex=0;this.isFocusable=function(){return!c.getAttribute("disabled")&&c.isVisible()};this.focus=function(){a._.currentFocusIndex=this.focusIndex;this.element.focus()};c.on("keydown",function(a){a.data.getKeystroke()in{32:1,13:1}&&this.fire("click")});c.on("focus",function(){this.fire("mouseover")});c.on("blur",function(){this.fire("mouseout")})} -function c(a){function c(){a.layout()}var d=CKEDITOR.document.getWindow();d.on("resize",c);a.on("hide",function(){d.removeListener("resize",c)})}function f(a,c){this.dialog=a;for(var b=c.contents,f=0,e;e=b[f];f++)b[f]=e&&new d(a,e);CKEDITOR.tools.extend(this,c)}function d(a,c){this._={dialog:a};CKEDITOR.tools.extend(this,c)}function n(a){function c(d){var k=a.getSize(),l=a.parts.dialog.getParent().getClientSize(),n=d.data.$.screenX,m=d.data.$.screenY,q=n-b.x,t=m-b.y;b={x:n,y:m};f.x+=q;f.y+=t;n=f.x+ -h[3]<g?-h[3]:f.x-h[1]>l.width-k.width-g?l.width-k.width+("rtl"==e.lang.dir?0:h[1]):f.x;k=f.y+h[0]<g?-h[0]:f.y-h[2]>l.height-k.height-g?l.height-k.height+h[2]:f.y;n=Math.floor(n);k=Math.floor(k);a.move(n,k,1);d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mousemove",c);CKEDITOR.document.removeListener("mouseup",d);if(CKEDITOR.env.ie6Compat){var a=E.getChild(0).getFrameDocument();a.removeListener("mousemove",c);a.removeListener("mouseup",d)}}var b=null,f=null,e=a.getParentEditor(), -g=e.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];"undefined"==typeof g&&(g=20);a.parts.title.on("mousedown",function(e){if(!a._.moved){var g=a._.element;g.getFirst().setStyle("position","absolute");g.removeStyle("display");a._.moved=!0;a.layout()}b={x:e.data.$.screenX,y:e.data.$.screenY};CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);f=a.getPosition();CKEDITOR.env.ie6Compat&&(g=E.getChild(0).getFrameDocument(),g.on("mousemove",c),g.on("mouseup",d));e.data.preventDefault()}, -a)}function w(a){function c(d){var m="rtl"==e.lang.dir,q=n.width,t=n.height,r=q+(d.data.$.screenX-l.x)*(m?-1:1)*(a._.moved?1:2),Q=t+(d.data.$.screenY-l.y)*(a._.moved?1:2),P=a._.element.getFirst(),P=m&&parseInt(P.getComputedStyle("right"),10),u=a.getPosition();u.x=u.x||0;u.y=u.y||0;u.y+Q>k.height&&(Q=k.height-u.y);(m?P:u.x)+r>k.width&&(r=k.width-(m?P:u.x));Q=Math.floor(Q);r=Math.floor(r);if(f==CKEDITOR.DIALOG_RESIZE_WIDTH||f==CKEDITOR.DIALOG_RESIZE_BOTH)q=Math.max(b.minWidth||0,r-g);if(f==CKEDITOR.DIALOG_RESIZE_HEIGHT|| -f==CKEDITOR.DIALOG_RESIZE_BOTH)t=Math.max(b.minHeight||0,Q-h);a.resize(q,t);a._.moved&&v(a,a._.position.x,a._.position.y);a._.moved||a.layout();d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mouseup",d);CKEDITOR.document.removeListener("mousemove",c);m&&(m.remove(),m=null);if(CKEDITOR.env.ie6Compat){var a=E.getChild(0).getFrameDocument();a.removeListener("mouseup",d);a.removeListener("mousemove",c)}}var b=a.definition,f=b.resizable;if(f!=CKEDITOR.DIALOG_RESIZE_NONE){var e= -a.getParentEditor(),g,h,k,l,n,m,q=CKEDITOR.tools.addFunction(function(b){function f(a){return a.isVisible()}n=a.getSize();var e=a.parts.contents,q=e.$.getElementsByTagName("iframe").length,t=!(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.quirks);q&&(m=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_dialog_resize_cover" style\x3d"height: 100%; position: absolute; width: 100%; left:0; top:0;"\x3e\x3c/div\x3e'),e.append(m));h=n.height-a.parts.contents.getFirst(f).getSize("height",t); -g=n.width-a.parts.contents.getFirst(f).getSize("width",1);l={x:b.screenX,y:b.screenY};k=CKEDITOR.document.getWindow().getViewPaneSize();CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);CKEDITOR.env.ie6Compat&&(e=E.getChild(0).getFrameDocument(),e.on("mousemove",c),e.on("mouseup",d));b.preventDefault&&b.preventDefault()});a.on("load",function(){var c="";f==CKEDITOR.DIALOG_RESIZE_WIDTH?c=" cke_resizer_horizontal":f==CKEDITOR.DIALOG_RESIZE_HEIGHT&&(c=" cke_resizer_vertical");c=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_resizer'+ -c+" cke_resizer_"+e.lang.dir+'" title\x3d"'+CKEDITOR.tools.htmlEncode(e.lang.common.resize)+'" onmousedown\x3d"CKEDITOR.tools.callFunction('+q+', event )"\x3e'+("ltr"==e.lang.dir?"◢":"◣")+"\x3c/div\x3e");a.parts.footer.append(c,1)});e.on("destroy",function(){CKEDITOR.tools.removeFunction(q)})}}function v(a,c,d){var b=a.parts.dialog.getParent().getClientSize(),f=a.getSize(),e=a._.viewportRatio,g=Math.max(b.width-f.width,0),b=Math.max(b.height-f.height,0);e.width=g?c/g:e.width;e.height=b?d/b:e.height; -a._.viewportRatio=e}function p(a){a.data.preventDefault(1)}function r(a){var c=a.config,d=CKEDITOR.skinName||a.config.skin,b=c.dialog_backgroundCoverColor||("moono-lisa"==d?"black":"white"),d=c.dialog_backgroundCoverOpacity,f=c.baseFloatZIndex,c=CKEDITOR.tools.genKey(b,d,f),e=H[c];CKEDITOR.document.getBody().addClass("cke_dialog_open");e?e.show():(f=['\x3cdiv tabIndex\x3d"-1" style\x3d"position: ',CKEDITOR.env.ie6Compat?"absolute":"fixed","; z-index: ",f,"; top: 0px; left: 0px; ","; width: 100%; height: 100%;", -CKEDITOR.env.ie6Compat?"":"background-color: "+b,'" class\x3d"cke_dialog_background_cover"\x3e'],CKEDITOR.env.ie6Compat&&(b="\x3chtml\x3e\x3cbody style\x3d\\'background-color:"+b+";\\'\x3e\x3c/body\x3e\x3c/html\x3e",f.push('\x3ciframe hidefocus\x3d"true" frameborder\x3d"0" id\x3d"cke_dialog_background_iframe" src\x3d"javascript:'),f.push("void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.write( '"+b+"' );document.close();")+"})())"),f.push('" style\x3d"position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0)"\x3e\x3c/iframe\x3e')), -f.push("\x3c/div\x3e"),e=CKEDITOR.dom.element.createFromHtml(f.join("")),e.setOpacity(void 0!==d?d:.5),e.on("keydown",p),e.on("keypress",p),e.on("keyup",p),e.appendTo(CKEDITOR.document.getBody()),H[c]=e);a.focusManager.add(e);E=e;CKEDITOR.env.mac&&CKEDITOR.env.webkit||e.focus()}function q(a){CKEDITOR.document.getBody().removeClass("cke_dialog_open");E&&(a.focusManager.remove(E),E.hide())}function x(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,f=String.fromCharCode(a.data.$.keyCode); -(c=J[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+f])&&c.length&&(c=c[c.length-1],c.keydown&&c.keydown.call(c.uiElement,c.dialog,c.key),a.data.preventDefault())}function t(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,f=String.fromCharCode(a.data.$.keyCode);(c=J[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+f])&&c.length&&(c=c[c.length-1],c.keyup&&(c.keyup.call(c.uiElement,c.dialog,c.key),a.data.preventDefault()))}function z(a,c,d,b,f){(J[d]||(J[d]=[])).push({uiElement:a, -dialog:c,key:d,keyup:f||a.accessKeyUp,keydown:b||a.accessKeyDown})}function y(a){for(var c in J){for(var d=J[c],b=d.length-1;0<=b;b--)d[b].dialog!=a&&d[b].uiElement!=a||d.splice(b,1);0===d.length&&delete J[c]}}function u(a,c){a._.accessKeyMap[c]&&a.selectPage(a._.accessKeyMap[c])}function B(){}var C=CKEDITOR.tools.cssLength,A,E,G=!CKEDITOR.env.ie||CKEDITOR.env.edge,I='\x3cdiv class\x3d"cke_reset_all cke_dialog_container {editorId} {editorDialogClass} {hidpi}" dir\x3d"{langDir}" style\x3d"'+(G?"display:flex": +return null}function f(a,c){for(var d=a.$.getElementsByTagName("input"),b=0,e=d.length;b<e;b++){var f=new CKEDITOR.dom.element(d[b]);"text"==f.getAttribute("type").toLowerCase()&&(c?(f.setAttribute("value",f.getCustomData("fake_value")||""),f.removeCustomData("fake_value")):(f.setCustomData("fake_value",f.getAttribute("value")),f.setAttribute("value","")))}}function a(a,c){var d=this.getInputElement();d&&(a?d.removeAttribute("aria-invalid"):d.setAttribute("aria-invalid",!0));a||(this.select?this.select(): +this.focus());c&&alert(c);this.fire("validated",{valid:a,msg:c})}function m(){var a=this.getInputElement();a&&a.removeAttribute("aria-invalid")}function k(a){var c=CKEDITOR.dom.element.createFromHtml(CKEDITOR.addTemplate("dialog",I).output({id:CKEDITOR.tools.getNextNumber(),editorId:a.id,langDir:a.lang.dir,langCode:a.langCode,editorDialogClass:"cke_editor_"+a.name.replace(/\./g,"\\.")+"_dialog",closeTitle:a.lang.common.close,hidpi:CKEDITOR.env.hidpi?"cke_hidpi":""})),d=c.getChild([0,0,0,0,0]),b=d.getChild(0), +e=d.getChild(1);a.plugins.clipboard&&CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(d);!CKEDITOR.env.ie||CKEDITOR.env.quirks||CKEDITOR.env.edge||(a="javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())",CKEDITOR.dom.element.createFromHtml('\x3ciframe frameBorder\x3d"0" class\x3d"cke_iframe_shim" src\x3d"'+a+'" tabIndex\x3d"-1"\x3e\x3c/iframe\x3e').appendTo(d.getParent()));b.unselectable();e.unselectable();return{element:c, +parts:{dialog:c.getChild(0),title:b,close:e,tabs:d.getChild(2),contents:d.getChild([3,0,0,0]),footer:d.getChild([3,0,1,0])}}}function l(a,c,d){this.element=c;this.focusIndex=d;this.tabIndex=0;this.isFocusable=function(){return!c.getAttribute("disabled")&&c.isVisible()};this.focus=function(){a._.currentFocusIndex=this.focusIndex;this.element.focus()};c.on("keydown",function(a){a.data.getKeystroke()in{32:1,13:1}&&this.fire("click")});c.on("focus",function(){this.fire("mouseover")});c.on("blur",function(){this.fire("mouseout")})} +function c(a){function c(){a.layout()}var d=CKEDITOR.document.getWindow();d.on("resize",c);a.on("hide",function(){d.removeListener("resize",c)})}function e(a,c){this.dialog=a;for(var b=c.contents,e=0,f;f=b[e];e++)b[e]=f&&new d(a,f);CKEDITOR.tools.extend(this,c)}function d(a,c){this._={dialog:a};CKEDITOR.tools.extend(this,c)}function n(a){function c(d){var k=a.getSize(),n=a.parts.dialog.getParent().getClientSize(),l=d.data.$.screenX,m=d.data.$.screenY,p=l-b.x,t=m-b.y;b={x:l,y:m};e.x+=p;e.y+=t;l=e.x+ +h[3]<g?-h[3]:e.x-h[1]>n.width-k.width-g?n.width-k.width+("rtl"==f.lang.dir?0:h[1]):e.x;k=e.y+h[0]<g?-h[0]:e.y-h[2]>n.height-k.height-g?n.height-k.height+h[2]:e.y;l=Math.floor(l);k=Math.floor(k);a.move(l,k,1);d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mousemove",c);CKEDITOR.document.removeListener("mouseup",d);if(CKEDITOR.env.ie6Compat){var a=B.getChild(0).getFrameDocument();a.removeListener("mousemove",c);a.removeListener("mouseup",d)}}var b=null,e=null,f=a.getParentEditor(), +g=f.config.dialog_magnetDistance,h=CKEDITOR.skin.margins||[0,0,0,0];"undefined"==typeof g&&(g=20);a.parts.title.on("mousedown",function(f){if(!a._.moved){var g=a._.element;g.getFirst().setStyle("position","absolute");g.removeStyle("display");a._.moved=!0;a.layout()}b={x:f.data.$.screenX,y:f.data.$.screenY};CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);e=a.getPosition();CKEDITOR.env.ie6Compat&&(g=B.getChild(0).getFrameDocument(),g.on("mousemove",c),g.on("mouseup",d));f.data.preventDefault()}, +a)}function y(a){function c(d){var m="rtl"==f.lang.dir,p=l.width,t=l.height,r=p+(d.data.$.screenX-n.x)*(m?-1:1)*(a._.moved?1:2),v=t+(d.data.$.screenY-n.y)*(a._.moved?1:2),P=a._.element.getFirst(),P=m&&parseInt(P.getComputedStyle("right"),10),y=a.getPosition();y.x=y.x||0;y.y=y.y||0;y.y+v>k.height&&(v=k.height-y.y);(m?P:y.x)+r>k.width&&(r=k.width-(m?P:y.x));v=Math.floor(v);r=Math.floor(r);if(e==CKEDITOR.DIALOG_RESIZE_WIDTH||e==CKEDITOR.DIALOG_RESIZE_BOTH)p=Math.max(b.minWidth||0,r-g);if(e==CKEDITOR.DIALOG_RESIZE_HEIGHT|| +e==CKEDITOR.DIALOG_RESIZE_BOTH)t=Math.max(b.minHeight||0,v-h);a.resize(p,t);a._.moved&&x(a,a._.position.x,a._.position.y);a._.moved||a.layout();d.data.preventDefault()}function d(){CKEDITOR.document.removeListener("mouseup",d);CKEDITOR.document.removeListener("mousemove",c);m&&(m.remove(),m=null);if(CKEDITOR.env.ie6Compat){var a=B.getChild(0).getFrameDocument();a.removeListener("mouseup",d);a.removeListener("mousemove",c)}}var b=a.definition,e=b.resizable;if(e!=CKEDITOR.DIALOG_RESIZE_NONE){var f= +a.getParentEditor(),g,h,k,n,l,m,p=CKEDITOR.tools.addFunction(function(b){function e(a){return a.isVisible()}l=a.getSize();var f=a.parts.contents,p=f.$.getElementsByTagName("iframe").length,t=!(CKEDITOR.env.gecko||CKEDITOR.env.ie&&CKEDITOR.env.quirks);p&&(m=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_dialog_resize_cover" style\x3d"height: 100%; position: absolute; width: 100%; left:0; top:0;"\x3e\x3c/div\x3e'),f.append(m));h=l.height-a.parts.contents.getFirst(e).getSize("height",t); +g=l.width-a.parts.contents.getFirst(e).getSize("width",1);n={x:b.screenX,y:b.screenY};k=CKEDITOR.document.getWindow().getViewPaneSize();CKEDITOR.document.on("mousemove",c);CKEDITOR.document.on("mouseup",d);CKEDITOR.env.ie6Compat&&(f=B.getChild(0).getFrameDocument(),f.on("mousemove",c),f.on("mouseup",d));b.preventDefault&&b.preventDefault()});a.on("load",function(){var c="";e==CKEDITOR.DIALOG_RESIZE_WIDTH?c=" cke_resizer_horizontal":e==CKEDITOR.DIALOG_RESIZE_HEIGHT&&(c=" cke_resizer_vertical");c=CKEDITOR.dom.element.createFromHtml('\x3cdiv class\x3d"cke_resizer'+ +c+" cke_resizer_"+f.lang.dir+'" title\x3d"'+CKEDITOR.tools.htmlEncode(f.lang.common.resize)+'" onmousedown\x3d"CKEDITOR.tools.callFunction('+p+', event )"\x3e'+("ltr"==f.lang.dir?"◢":"◣")+"\x3c/div\x3e");a.parts.footer.append(c,1)});f.on("destroy",function(){CKEDITOR.tools.removeFunction(p)})}}function x(a,c,d){var b=a.parts.dialog.getParent().getClientSize(),e=a.getSize(),f=a._.viewportRatio,g=Math.max(b.width-e.width,0),b=Math.max(b.height-e.height,0);f.width=g?c/g:f.width;f.height=b?d/b:f.height; +a._.viewportRatio=f}function q(a){a.data.preventDefault(1)}function r(a){var c=a.config,d=CKEDITOR.skinName||a.config.skin,b=c.dialog_backgroundCoverColor||("moono-lisa"==d?"black":"white"),d=c.dialog_backgroundCoverOpacity,e=c.baseFloatZIndex,c=CKEDITOR.tools.genKey(b,d,e),f=H[c];CKEDITOR.document.getBody().addClass("cke_dialog_open");f?f.show():(e=['\x3cdiv tabIndex\x3d"-1" style\x3d"position: ',CKEDITOR.env.ie6Compat?"absolute":"fixed","; z-index: ",e,"; top: 0px; left: 0px; ","; width: 100%; height: 100%;", +CKEDITOR.env.ie6Compat?"":"background-color: "+b,'" class\x3d"cke_dialog_background_cover"\x3e'],CKEDITOR.env.ie6Compat&&(b="\x3chtml\x3e\x3cbody style\x3d\\'background-color:"+b+";\\'\x3e\x3c/body\x3e\x3c/html\x3e",e.push('\x3ciframe hidefocus\x3d"true" frameborder\x3d"0" id\x3d"cke_dialog_background_iframe" src\x3d"javascript:'),e.push("void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.write( '"+b+"' );document.close();")+"})())"),e.push('" style\x3d"position:absolute;left:0;top:0;width:100%;height: 100%;filter: progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0)"\x3e\x3c/iframe\x3e')), +e.push("\x3c/div\x3e"),f=CKEDITOR.dom.element.createFromHtml(e.join("")),f.setOpacity(void 0!==d?d:.5),f.on("keydown",q),f.on("keypress",q),f.on("keyup",q),f.appendTo(CKEDITOR.document.getBody()),H[c]=f);a.focusManager.add(f);B=f;CKEDITOR.env.mac&&CKEDITOR.env.webkit||f.focus()}function p(a){CKEDITOR.document.getBody().removeClass("cke_dialog_open");B&&(a.focusManager.remove(B),B.hide())}function w(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,e=String.fromCharCode(a.data.$.keyCode); +(c=J[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+e])&&c.length&&(c=c[c.length-1],c.keydown&&c.keydown.call(c.uiElement,c.dialog,c.key),a.data.preventDefault())}function t(a){var c=a.data.$.ctrlKey||a.data.$.metaKey,d=a.data.$.altKey,b=a.data.$.shiftKey,e=String.fromCharCode(a.data.$.keyCode);(c=J[(c?"CTRL+":"")+(d?"ALT+":"")+(b?"SHIFT+":"")+e])&&c.length&&(c=c[c.length-1],c.keyup&&(c.keyup.call(c.uiElement,c.dialog,c.key),a.data.preventDefault()))}function z(a,c,d,b,e){(J[d]||(J[d]=[])).push({uiElement:a, +dialog:c,key:d,keyup:e||a.accessKeyUp,keydown:b||a.accessKeyDown})}function u(a){for(var c in J){for(var d=J[c],b=d.length-1;0<=b;b--)d[b].dialog!=a&&d[b].uiElement!=a||d.splice(b,1);0===d.length&&delete J[c]}}function v(a,c){a._.accessKeyMap[c]&&a.selectPage(a._.accessKeyMap[c])}function C(){}var E=CKEDITOR.tools.cssLength,A,B,G=!CKEDITOR.env.ie||CKEDITOR.env.edge,I='\x3cdiv class\x3d"cke_reset_all cke_dialog_container {editorId} {editorDialogClass} {hidpi}" dir\x3d"{langDir}" style\x3d"'+(G?"display:flex": "")+'" lang\x3d"{langCode}" role\x3d"dialog" aria-labelledby\x3d"cke_dialog_title_{id}"\x3e\x3ctable class\x3d"cke_dialog '+CKEDITOR.env.cssClass+' cke_{langDir}" style\x3d"'+(G?"margin:auto":"position:absolute")+'" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd role\x3d"presentation"\x3e\x3cdiv class\x3d"cke_dialog_body" role\x3d"presentation"\x3e\x3cdiv id\x3d"cke_dialog_title_{id}" class\x3d"cke_dialog_title" role\x3d"presentation"\x3e\x3c/div\x3e\x3ca id\x3d"cke_dialog_close_button_{id}" class\x3d"cke_dialog_close_button" href\x3d"javascript:void(0)" title\x3d"{closeTitle}" role\x3d"button"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e\x3cdiv id\x3d"cke_dialog_tabs_{id}" class\x3d"cke_dialog_tabs" role\x3d"tablist"\x3e\x3c/div\x3e\x3ctable class\x3d"cke_dialog_contents" role\x3d"presentation"\x3e\x3ctr\x3e\x3ctd id\x3d"cke_dialog_contents_{id}" class\x3d"cke_dialog_contents_body" role\x3d"presentation"\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd id\x3d"cke_dialog_footer_{id}" class\x3d"cke_dialog_footer" role\x3d"presentation"\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3c/table\x3e\x3c/div\x3e'; -CKEDITOR.dialog=function(c,d){function e(){var a=E._.focusList;a.sort(function(a,c){return a.tabIndex!=c.tabIndex?c.tabIndex-a.tabIndex:a.focusIndex-c.focusIndex});for(var c=a.length,d=0;d<c;d++)a[d].focusIndex=d}function k(a){var c=E._.focusList;a=a||0;if(!(1>c.length)){var d=E._.currentFocusIndex;E._.tabBarMode&&0>a&&(d=0);try{c[d].getInputElement().$.blur()}catch(b){}var f=d,e=1<E._.pageCount;do{f+=a;if(e&&!E._.tabBarMode&&(f==c.length||-1==f)){E._.tabBarMode=!0;E._.tabs[E._.currentTabId][0].focus(); -E._.currentFocusIndex=-1;return}f=(f+c.length)%c.length;if(f==d)break}while(a&&!c[f].isFocusable());c[f].focus();"text"==c[f].type&&c[f].select()}}function q(a){if(E==CKEDITOR.dialog._.currentTop){var d=a.data.getKeystroke(),f="rtl"==c.lang.dir,e=[37,38,39,40];z=v=0;if(9==d||d==CKEDITOR.SHIFT+9)k(d==CKEDITOR.SHIFT+9?-1:1),z=1;else if(d==CKEDITOR.ALT+121&&!E._.tabBarMode&&1<E.getPageCount())b(E),z=1;else if(-1!=CKEDITOR.tools.indexOf(e,d)&&E._.tabBarMode)d=-1!=CKEDITOR.tools.indexOf([f?39:37,38],d)? -h.call(E):g.call(E),E.selectPage(d),E._.tabs[d][0].focus(),z=1;else if(13!=d&&32!=d||!E._.tabBarMode)if(13==d)d=a.data.getTarget(),d.is("a","button","select","textarea")||d.is("input")&&"button"==d.$.type||((d=this.getButton("ok"))&&CKEDITOR.tools.setTimeout(d.click,0,d),z=1),v=1;else if(27==d)(d=this.getButton("cancel"))?CKEDITOR.tools.setTimeout(d.click,0,d):!1!==this.fire("cancel",{hide:!0}).hide&&this.hide(),v=1;else return;else this.selectPage(this._.currentTabId),this._.tabBarMode=!1,this._.currentFocusIndex= --1,k(1),z=1;t(a)}}function t(a){z?a.data.preventDefault(1):v&&a.data.stopPropagation()}var r=CKEDITOR.dialog._.dialogDefinitions[d],u=CKEDITOR.tools.clone(A),x=c.config.dialog_buttonsOrder||"OS",y=c.lang.dir,p={},z,v;("OS"==x&&CKEDITOR.env.mac||"rtl"==x&&"ltr"==y||"ltr"==x&&"rtl"==y)&&u.buttons.reverse();r=CKEDITOR.tools.extend(r(c),u);r=CKEDITOR.tools.clone(r);r=new f(this,r);u=l(c);this._={editor:c,element:u.element,name:d,model:null,contentSize:{width:0,height:0},size:{width:0,height:0},contents:{}, -buttons:{},accessKeyMap:{},viewportRatio:{width:.5,height:.5},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1};this.parts=u.parts;CKEDITOR.tools.setTimeout(function(){c.fire("ariaWidget",this.parts.contents)},0,this);u={top:0,visibility:"hidden"};CKEDITOR.env.ie6Compat&&(u.position="absolute");u["rtl"==y?"right":"left"]=0;this.parts.dialog.setStyles(u);CKEDITOR.event.call(this);this.definition=r=CKEDITOR.fire("dialogDefinition", -{name:d,definition:r,dialog:this},c).definition;if(!("removeDialogTabs"in c._)&&c.config.removeDialogTabs){u=c.config.removeDialogTabs.split(";");for(y=0;y<u.length;y++)if(x=u[y].split(":"),2==x.length){var B=x[0];p[B]||(p[B]=[]);p[B].push(x[1])}c._.removeDialogTabs=p}if(c._.removeDialogTabs&&(p=c._.removeDialogTabs[d]))for(y=0;y<p.length;y++)r.removeContents(p[y]);if(r.onLoad)this.on("load",r.onLoad);if(r.onShow)this.on("show",r.onShow);if(r.onHide)this.on("hide",r.onHide);if(r.onOk)this.on("ok", -function(a){c.fire("saveSnapshot");setTimeout(function(){c.fire("saveSnapshot")},0);!1===r.onOk.call(this,a)&&(a.data.hide=!1)});this.state=CKEDITOR.DIALOG_STATE_IDLE;if(r.onCancel)this.on("cancel",function(a){!1===r.onCancel.call(this,a)&&(a.data.hide=!1)});var E=this,C=function(a){var c=E._.contents,d=!1,b;for(b in c)for(var f in c[b])if(d=a.call(this,c[b][f]))return};this.on("ok",function(c){C(function(d){if(d.validate){var b=d.validate(this),f="string"==typeof b||!1===b;f&&(c.data.hide=!1,c.stop()); -a.call(d,!f,"string"==typeof b?b:void 0);return f}})},this,null,0);this.on("cancel",function(a){C(function(d){if(d.isChanged())return c.config.dialog_noConfirmCancel||confirm(c.lang.common.confirmCancel)||(a.data.hide=!1),!0})},this,null,0);this.parts.close.on("click",function(a){!1!==this.fire("cancel",{hide:!0}).hide&&this.hide();a.data.preventDefault()},this);this.changeFocus=k;var I=this._.element;c.focusManager.add(I,1);this.on("show",function(){I.on("keydown",q,this);if(CKEDITOR.env.gecko)I.on("keypress", -t,this)});this.on("hide",function(){I.removeListener("keydown",q);CKEDITOR.env.gecko&&I.removeListener("keypress",t);C(function(a){m.apply(a)})});this.on("iframeAdded",function(a){(new CKEDITOR.dom.document(a.data.iframe.$.contentWindow.document)).on("keydown",q,this,null,0)});this.on("show",function(){e();var a=1<E._.pageCount;c.config.dialog_startupFocusTab&&a?(E._.tabBarMode=!0,E._.tabs[E._.currentTabId][0].focus(),E._.currentFocusIndex=-1):this._.hasFocus||(this._.currentFocusIndex=a?-1:this._.focusList.length- -1,r.onFocus?(a=r.onFocus.call(this))&&a.focus():k(1))},this,null,4294967295);if(CKEDITOR.env.ie6Compat)this.on("load",function(){var a=this.getElement(),c=a.getFirst();c.remove();c.appendTo(a)},this);n(this);w(this);(new CKEDITOR.dom.text(r.title,CKEDITOR.document)).appendTo(this.parts.title);for(y=0;y<r.contents.length;y++)(p=r.contents[y])&&this.addPage(p);this.parts.tabs.on("click",function(a){var c=a.data.getTarget();c.hasClass("cke_dialog_tab")&&(c=c.$.id,this.selectPage(c.substring(4,c.lastIndexOf("_"))), -b(this),a.data.preventDefault())},this);y=[];p=CKEDITOR.dialog._.uiElementBuilders.hbox.build(this,{type:"hbox",className:"cke_dialog_footer_buttons",widths:[],children:r.buttons},y).getChild();this.parts.footer.setHtml(y.join(""));for(y=0;y<p.length;y++)this._.buttons[p[y].id]=p[y]};CKEDITOR.dialog.prototype={destroy:function(){this.hide();this._.element.remove()},resize:function(a,c){if(!this._.contentSize||this._.contentSize.width!=a||this._.contentSize.height!=c){CKEDITOR.dialog.fire("resize", +CKEDITOR.dialog=function(c,d){function f(){var a=B._.focusList;a.sort(function(a,c){return a.tabIndex!=c.tabIndex?c.tabIndex-a.tabIndex:a.focusIndex-c.focusIndex});for(var c=a.length,d=0;d<c;d++)a[d].focusIndex=d}function l(a){var c=B._.focusList;a=a||0;if(!(1>c.length)){var d=B._.currentFocusIndex;B._.tabBarMode&&0>a&&(d=0);try{c[d].getInputElement().$.blur()}catch(b){}var e=d,f=1<B._.pageCount;do{e+=a;if(f&&!B._.tabBarMode&&(e==c.length||-1==e)){B._.tabBarMode=!0;B._.tabs[B._.currentTabId][0].focus(); +B._.currentFocusIndex=-1;return}e=(e+c.length)%c.length;if(e==d)break}while(a&&!c[e].isFocusable());c[e].focus();"text"==c[e].type&&c[e].select()}}function p(a){if(B==CKEDITOR.dialog._.currentTop){var d=a.data.getKeystroke(),e="rtl"==c.lang.dir,f=[37,38,39,40];q=x=0;if(9==d||d==CKEDITOR.SHIFT+9)l(d==CKEDITOR.SHIFT+9?-1:1),q=1;else if(d==CKEDITOR.ALT+121&&!B._.tabBarMode&&1<B.getPageCount())b(B),q=1;else if(-1!=CKEDITOR.tools.indexOf(f,d)&&B._.tabBarMode)d=-1!=CKEDITOR.tools.indexOf([e?39:37,38],d)? +h.call(B):g.call(B),B.selectPage(d),B._.tabs[d][0].focus(),q=1;else if(13!=d&&32!=d||!B._.tabBarMode)if(13==d)d=a.data.getTarget(),d.is("a","button","select","textarea")||d.is("input")&&"button"==d.$.type||((d=this.getButton("ok"))&&CKEDITOR.tools.setTimeout(d.click,0,d),q=1),x=1;else if(27==d)(d=this.getButton("cancel"))?CKEDITOR.tools.setTimeout(d.click,0,d):!1!==this.fire("cancel",{hide:!0}).hide&&this.hide(),x=1;else return;else this.selectPage(this._.currentTabId),this._.tabBarMode=!1,this._.currentFocusIndex= +-1,l(1),q=1;t(a)}}function t(a){q?a.data.preventDefault(1):x&&a.data.stopPropagation()}var r=CKEDITOR.dialog._.dialogDefinitions[d],v=CKEDITOR.tools.clone(A),u=c.config.dialog_buttonsOrder||"OS",w=c.lang.dir,z={},q,x;("OS"==u&&CKEDITOR.env.mac||"rtl"==u&&"ltr"==w||"ltr"==u&&"rtl"==w)&&v.buttons.reverse();r=CKEDITOR.tools.extend(r(c),v);r=CKEDITOR.tools.clone(r);r=new e(this,r);v=k(c);this._={editor:c,element:v.element,name:d,model:null,contentSize:{width:0,height:0},size:{width:0,height:0},contents:{}, +buttons:{},accessKeyMap:{},viewportRatio:{width:.5,height:.5},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1};this.parts=v.parts;CKEDITOR.tools.setTimeout(function(){c.fire("ariaWidget",this.parts.contents)},0,this);v={top:0,visibility:"hidden"};CKEDITOR.env.ie6Compat&&(v.position="absolute");v["rtl"==w?"right":"left"]=0;this.parts.dialog.setStyles(v);CKEDITOR.event.call(this);this.definition=r=CKEDITOR.fire("dialogDefinition", +{name:d,definition:r,dialog:this},c).definition;if(!("removeDialogTabs"in c._)&&c.config.removeDialogTabs){v=c.config.removeDialogTabs.split(";");for(w=0;w<v.length;w++)if(u=v[w].split(":"),2==u.length){var C=u[0];z[C]||(z[C]=[]);z[C].push(u[1])}c._.removeDialogTabs=z}if(c._.removeDialogTabs&&(z=c._.removeDialogTabs[d]))for(w=0;w<z.length;w++)r.removeContents(z[w]);if(r.onLoad)this.on("load",r.onLoad);if(r.onShow)this.on("show",r.onShow);if(r.onHide)this.on("hide",r.onHide);if(r.onOk)this.on("ok", +function(a){c.fire("saveSnapshot");setTimeout(function(){c.fire("saveSnapshot")},0);!1===r.onOk.call(this,a)&&(a.data.hide=!1)});this.state=CKEDITOR.DIALOG_STATE_IDLE;if(r.onCancel)this.on("cancel",function(a){!1===r.onCancel.call(this,a)&&(a.data.hide=!1)});var B=this,E=function(a){var c=B._.contents,d=!1,b;for(b in c)for(var e in c[b])if(d=a.call(this,c[b][e]))return};this.on("ok",function(c){E(function(d){if(d.validate){var b=d.validate(this),e="string"==typeof b||!1===b;e&&(c.data.hide=!1,c.stop()); +a.call(d,!e,"string"==typeof b?b:void 0);return e}})},this,null,0);this.on("cancel",function(a){E(function(d){if(d.isChanged())return c.config.dialog_noConfirmCancel||confirm(c.lang.common.confirmCancel)||(a.data.hide=!1),!0})},this,null,0);this.parts.close.on("click",function(a){!1!==this.fire("cancel",{hide:!0}).hide&&this.hide();a.data.preventDefault()},this);this.changeFocus=l;var I=this._.element;c.focusManager.add(I,1);this.on("show",function(){I.on("keydown",p,this);if(CKEDITOR.env.gecko)I.on("keypress", +t,this)});this.on("hide",function(){I.removeListener("keydown",p);CKEDITOR.env.gecko&&I.removeListener("keypress",t);E(function(a){m.apply(a)})});this.on("iframeAdded",function(a){(new CKEDITOR.dom.document(a.data.iframe.$.contentWindow.document)).on("keydown",p,this,null,0)});this.on("show",function(){f();var a=1<B._.pageCount;c.config.dialog_startupFocusTab&&a?(B._.tabBarMode=!0,B._.tabs[B._.currentTabId][0].focus(),B._.currentFocusIndex=-1):this._.hasFocus||(this._.currentFocusIndex=a?-1:this._.focusList.length- +1,r.onFocus?(a=r.onFocus.call(this))&&a.focus():l(1))},this,null,4294967295);if(CKEDITOR.env.ie6Compat)this.on("load",function(){var a=this.getElement(),c=a.getFirst();c.remove();c.appendTo(a)},this);n(this);y(this);(new CKEDITOR.dom.text(r.title,CKEDITOR.document)).appendTo(this.parts.title);for(w=0;w<r.contents.length;w++)(z=r.contents[w])&&this.addPage(z);this.parts.tabs.on("click",function(a){var c=a.data.getTarget();c.hasClass("cke_dialog_tab")&&(c=c.$.id,this.selectPage(c.substring(4,c.lastIndexOf("_"))), +b(this),a.data.preventDefault())},this);w=[];z=CKEDITOR.dialog._.uiElementBuilders.hbox.build(this,{type:"hbox",className:"cke_dialog_footer_buttons",widths:[],children:r.buttons},w).getChild();this.parts.footer.setHtml(w.join(""));for(w=0;w<z.length;w++)this._.buttons[z[w].id]=z[w]};CKEDITOR.dialog.prototype={destroy:function(){this.hide();this._.element.remove()},resize:function(a,c){if(!this._.contentSize||this._.contentSize.width!=a||this._.contentSize.height!=c){CKEDITOR.dialog.fire("resize", {dialog:this,width:a,height:c},this._.editor);this.fire("resize",{width:a,height:c},this._.editor);this.parts.contents.setStyles({width:a+"px",height:c+"px"});if("rtl"==this._.editor.lang.dir&&this._.position){var d=this.parts.dialog.getParent().getClientSize().width;this._.position.x=d-this._.contentSize.width-parseInt(this._.element.getFirst().getStyle("right"),10)}this._.contentSize={width:a,height:c}}},getSize:function(){var a=this._.element.getFirst();return{width:a.$.offsetWidth||0,height:a.$.offsetHeight|| -0}},move:function(a,c,d){var b=this._.element.getFirst(),f="rtl"==this._.editor.lang.dir;CKEDITOR.env.ie&&b.setStyle("zoom","100%");var e=this.parts.dialog.getParent().getClientSize(),g=this.getSize(),h=this._.viewportRatio,k=Math.max(e.width-g.width,0),e=Math.max(e.height-g.height,0);this._.position&&this._.position.x==a&&this._.position.y==c?(a=Math.floor(k*h.width),c=Math.floor(e*h.height)):v(this,a,c);this._.position={x:a,y:c};f&&(a=k-a);c={top:(0<c?c:0)+"px"};c[f?"right":"left"]=(0<a?a:0)+"px"; -b.setStyles(c);d&&(this._.moved=1)},getPosition:function(){return CKEDITOR.tools.extend({},this._.position)},show:function(){var a=this._.element,d=this.definition,b=CKEDITOR.document.getBody(),f=this._.editor.config.baseFloatZIndex;a.getParent()&&a.getParent().equals(b)?a.setStyle("display",G?"flex":"block"):a.appendTo(b);this.resize(this._.contentSize&&this._.contentSize.width||d.width||d.minWidth,this._.contentSize&&this._.contentSize.height||d.height||d.minHeight);this.reset();null===this._.currentTabId&& -this.selectPage(this.definition.contents[0].id);null===CKEDITOR.dialog._.currentZIndex&&(CKEDITOR.dialog._.currentZIndex=f);this._.element.getFirst().setStyle("z-index",CKEDITOR.dialog._.currentZIndex+=10);this.getElement().setStyle("z-index",CKEDITOR.dialog._.currentZIndex);null===CKEDITOR.dialog._.currentTop?(CKEDITOR.dialog._.currentTop=this,this._.parentDialog=null,r(this._.editor)):(this._.parentDialog=CKEDITOR.dialog._.currentTop,b=this._.parentDialog.getElement().getFirst(),b.$.style.zIndex-= -Math.floor(f/2),this._.parentDialog.getElement().setStyle("z-index",b.$.style.zIndex),CKEDITOR.dialog._.currentTop=this);a.on("keydown",x);a.on("keyup",t);this._.hasFocus=!1;for(var e in d.contents)if(d.contents[e]){var a=d.contents[e],f=this._.tabs[a.id],b=a.requiredContent,g=0;if(f){for(var h in this._.contents[a.id]){var k=this._.contents[a.id][h];"hbox"!=k.type&&"vbox"!=k.type&&k.getInputElement()&&(k.requiredContent&&!this._.editor.activeFilter.check(k.requiredContent)?k.disable():(k.enable(), -g++))}!g||b&&!this._.editor.activeFilter.check(b)?f[0].addClass("cke_dialog_tab_disabled"):f[0].removeClass("cke_dialog_tab_disabled")}}CKEDITOR.tools.setTimeout(function(){this.layout();c(this);this.parts.dialog.setStyle("visibility","");this.fireOnce("load",{});CKEDITOR.ui.fire("ready",this);this.fire("show",{});this._.editor.fire("dialogShow",this);this._.parentDialog||this._.editor.focusManager.lock();this.foreach(function(a){a.setInitValue&&a.setInitValue()})},100,this)},layout:function(){var a= +0}},move:function(a,c,d){var b=this._.element.getFirst(),e="rtl"==this._.editor.lang.dir;CKEDITOR.env.ie&&b.setStyle("zoom","100%");var f=this.parts.dialog.getParent().getClientSize(),g=this.getSize(),h=this._.viewportRatio,k=Math.max(f.width-g.width,0),f=Math.max(f.height-g.height,0);this._.position&&this._.position.x==a&&this._.position.y==c?(a=Math.floor(k*h.width),c=Math.floor(f*h.height)):x(this,a,c);this._.position={x:a,y:c};e&&(a=k-a);c={top:(0<c?c:0)+"px"};c[e?"right":"left"]=(0<a?a:0)+"px"; +b.setStyles(c);d&&(this._.moved=1)},getPosition:function(){return CKEDITOR.tools.extend({},this._.position)},show:function(){var a=this._.element,d=this.definition,b=CKEDITOR.document.getBody(),e=this._.editor.config.baseFloatZIndex;a.getParent()&&a.getParent().equals(b)?a.setStyle("display",G?"flex":"block"):a.appendTo(b);this.resize(this._.contentSize&&this._.contentSize.width||d.width||d.minWidth,this._.contentSize&&this._.contentSize.height||d.height||d.minHeight);this.reset();null===this._.currentTabId&& +this.selectPage(this.definition.contents[0].id);null===CKEDITOR.dialog._.currentZIndex&&(CKEDITOR.dialog._.currentZIndex=e);this._.element.getFirst().setStyle("z-index",CKEDITOR.dialog._.currentZIndex+=10);this.getElement().setStyle("z-index",CKEDITOR.dialog._.currentZIndex);null===CKEDITOR.dialog._.currentTop?(CKEDITOR.dialog._.currentTop=this,this._.parentDialog=null,r(this._.editor)):(this._.parentDialog=CKEDITOR.dialog._.currentTop,b=this._.parentDialog.getElement().getFirst(),b.$.style.zIndex-= +Math.floor(e/2),this._.parentDialog.getElement().setStyle("z-index",b.$.style.zIndex),CKEDITOR.dialog._.currentTop=this);a.on("keydown",w);a.on("keyup",t);this._.hasFocus=!1;for(var f in d.contents)if(d.contents[f]){var a=d.contents[f],e=this._.tabs[a.id],b=a.requiredContent,g=0;if(e){for(var h in this._.contents[a.id]){var k=this._.contents[a.id][h];"hbox"!=k.type&&"vbox"!=k.type&&k.getInputElement()&&(k.requiredContent&&!this._.editor.activeFilter.check(k.requiredContent)?k.disable():(k.enable(), +g++))}!g||b&&!this._.editor.activeFilter.check(b)?e[0].addClass("cke_dialog_tab_disabled"):e[0].removeClass("cke_dialog_tab_disabled")}}CKEDITOR.tools.setTimeout(function(){this.layout();c(this);this.parts.dialog.setStyle("visibility","");this.fireOnce("load",{});CKEDITOR.ui.fire("ready",this);this.fire("show",{});this._.editor.fire("dialogShow",this);this._.parentDialog||this._.editor.focusManager.lock();this.foreach(function(a){a.setInitValue&&a.setInitValue()})},100,this)},layout:function(){var a= this.parts.dialog;if(this._.moved||!G){var c=this.getSize(),d=CKEDITOR.document.getWindow().getViewPaneSize(),b;this._.moved&&this._.position?(b=this._.position.x,c=this._.position.y):(b=(d.width-c.width)/2,c=(d.height-c.height)/2);CKEDITOR.env.ie6Compat||(a.setStyle("position","absolute"),a.removeStyle("margin"));b=Math.floor(b);c=Math.floor(c);this.move(b,c)}},foreach:function(a){for(var c in this._.contents)for(var d in this._.contents[c])a.call(this,this._.contents[c][d]);return this},reset:function(){var a= function(a){a.reset&&a.reset(1)};return function(){this.foreach(a);return this}}(),setupContent:function(){var a=arguments;this.foreach(function(c){c.setup&&c.setup.apply(c,a)})},commitContent:function(){var a=arguments;this.foreach(function(c){CKEDITOR.env.ie&&this._.currentFocusIndex==c.focusIndex&&c.getInputElement().$.blur();c.commit&&c.commit.apply(c,a)})},hide:function(){if(this.parts.dialog.isVisible()){this.fire("hide",{});this._.editor.fire("dialogHide",this);this.selectPage(this._.tabIdList[0]); -var a=this._.element;a.setStyle("display","none");this.parts.dialog.setStyle("visibility","hidden");for(y(this);CKEDITOR.dialog._.currentTop!=this;)CKEDITOR.dialog._.currentTop.hide();if(this._.parentDialog){var c=this._.parentDialog.getElement().getFirst();this._.parentDialog.getElement().removeStyle("z-index");c.setStyle("z-index",parseInt(c.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}else q(this._.editor);if(CKEDITOR.dialog._.currentTop=this._.parentDialog)CKEDITOR.dialog._.currentZIndex-= -10;else{CKEDITOR.dialog._.currentZIndex=null;a.removeListener("keydown",x);a.removeListener("keyup",t);var d=this._.editor;d.focus();setTimeout(function(){d.focusManager.unlock();CKEDITOR.env.iOS&&d.window.focus()},0)}delete this._.parentDialog;this.foreach(function(a){a.resetInitValue&&a.resetInitValue()});this.setState(CKEDITOR.DIALOG_STATE_IDLE)}},addPage:function(a){if(!a.requiredContent||this._.editor.filter.check(a.requiredContent)){for(var c=[],d=a.label?' title\x3d"'+CKEDITOR.tools.htmlEncode(a.label)+ -'"':"",b=CKEDITOR.dialog._.uiElementBuilders.vbox.build(this,{type:"vbox",className:"cke_dialog_page_contents",children:a.elements,expand:!!a.expand,padding:a.padding,style:a.style||"width: 100%;"},c),f=this._.contents[a.id]={},e=b.getChild(),g=0;b=e.shift();)b.notAllowed||"hbox"==b.type||"vbox"==b.type||g++,f[b.id]=b,"function"==typeof b.getChild&&e.push.apply(e,b.getChild());g||(a.hidden=!0);c=CKEDITOR.dom.element.createFromHtml(c.join(""));c.setAttribute("role","tabpanel");c.setStyle("min-height", -"100%");b=CKEDITOR.env;f="cke_"+a.id+"_"+CKEDITOR.tools.getNextNumber();d=CKEDITOR.dom.element.createFromHtml(['\x3ca class\x3d"cke_dialog_tab"',0<this._.pageCount?" cke_last":"cke_first",d,a.hidden?' style\x3d"display:none"':"",' id\x3d"',f,'"',b.gecko&&!b.hc?"":' href\x3d"javascript:void(0)"',' tabIndex\x3d"-1" hidefocus\x3d"true" role\x3d"tab"\x3e',a.label,"\x3c/a\x3e"].join(""));c.setAttribute("aria-labelledby",f);this._.tabs[a.id]=[d,c];this._.tabIdList.push(a.id);!a.hidden&&this._.pageCount++; -this._.lastTab=d;this.updateStyle();c.setAttribute("name",a.id);c.appendTo(this.parts.contents);d.unselectable();this.parts.tabs.append(d);a.accessKey&&(z(this,this,"CTRL+"+a.accessKey,B,u),this._.accessKeyMap["CTRL+"+a.accessKey]=a.id)}},selectPage:function(a){if(this._.currentTabId!=a&&!this._.tabs[a][0].hasClass("cke_dialog_tab_disabled")&&!1!==this.fire("selectPage",{page:a,currentPage:this._.currentTabId})){for(var c in this._.tabs){var d=this._.tabs[c][0],b=this._.tabs[c][1];c!=a&&(d.removeClass("cke_dialog_tab_selected"), -d.removeAttribute("aria-selected"),b.hide());b.setAttribute("aria-hidden",c!=a)}var f=this._.tabs[a];f[0].addClass("cke_dialog_tab_selected");f[0].setAttribute("aria-selected",!0);CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7Compat?(e(f[1]),f[1].show(),setTimeout(function(){e(f[1],1)},0)):f[1].show();this._.currentTabId=a;this._.currentTabIndex=CKEDITOR.tools.indexOf(this._.tabIdList,a)}},updateStyle:function(){this.parts.dialog[(1===this._.pageCount?"add":"remove")+"Class"]("cke_single_page")},hidePage:function(a){var c= +var a=this._.element;a.setStyle("display","none");this.parts.dialog.setStyle("visibility","hidden");for(u(this);CKEDITOR.dialog._.currentTop!=this;)CKEDITOR.dialog._.currentTop.hide();if(this._.parentDialog){var c=this._.parentDialog.getElement().getFirst();this._.parentDialog.getElement().removeStyle("z-index");c.setStyle("z-index",parseInt(c.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}else p(this._.editor);if(CKEDITOR.dialog._.currentTop=this._.parentDialog)CKEDITOR.dialog._.currentZIndex-= +10;else{CKEDITOR.dialog._.currentZIndex=null;a.removeListener("keydown",w);a.removeListener("keyup",t);var d=this._.editor;d.focus();setTimeout(function(){d.focusManager.unlock();CKEDITOR.env.iOS&&d.window.focus()},0)}delete this._.parentDialog;this.foreach(function(a){a.resetInitValue&&a.resetInitValue()});this.setState(CKEDITOR.DIALOG_STATE_IDLE)}},addPage:function(a){if(!a.requiredContent||this._.editor.filter.check(a.requiredContent)){for(var c=[],d=a.label?' title\x3d"'+CKEDITOR.tools.htmlEncode(a.label)+ +'"':"",b=CKEDITOR.dialog._.uiElementBuilders.vbox.build(this,{type:"vbox",className:"cke_dialog_page_contents",children:a.elements,expand:!!a.expand,padding:a.padding,style:a.style||"width: 100%;"},c),e=this._.contents[a.id]={},f=b.getChild(),g=0;b=f.shift();)b.notAllowed||"hbox"==b.type||"vbox"==b.type||g++,e[b.id]=b,"function"==typeof b.getChild&&f.push.apply(f,b.getChild());g||(a.hidden=!0);c=CKEDITOR.dom.element.createFromHtml(c.join(""));c.setAttribute("role","tabpanel");c.setStyle("min-height", +"100%");b=CKEDITOR.env;e="cke_"+a.id+"_"+CKEDITOR.tools.getNextNumber();d=CKEDITOR.dom.element.createFromHtml(['\x3ca class\x3d"cke_dialog_tab"',0<this._.pageCount?" cke_last":"cke_first",d,a.hidden?' style\x3d"display:none"':"",' id\x3d"',e,'"',b.gecko&&!b.hc?"":' href\x3d"javascript:void(0)"',' tabIndex\x3d"-1" hidefocus\x3d"true" role\x3d"tab"\x3e',a.label,"\x3c/a\x3e"].join(""));c.setAttribute("aria-labelledby",e);this._.tabs[a.id]=[d,c];this._.tabIdList.push(a.id);!a.hidden&&this._.pageCount++; +this._.lastTab=d;this.updateStyle();c.setAttribute("name",a.id);c.appendTo(this.parts.contents);d.unselectable();this.parts.tabs.append(d);a.accessKey&&(z(this,this,"CTRL+"+a.accessKey,C,v),this._.accessKeyMap["CTRL+"+a.accessKey]=a.id)}},selectPage:function(a){if(this._.currentTabId!=a&&!this._.tabs[a][0].hasClass("cke_dialog_tab_disabled")&&!1!==this.fire("selectPage",{page:a,currentPage:this._.currentTabId})){for(var c in this._.tabs){var d=this._.tabs[c][0],b=this._.tabs[c][1];c!=a&&(d.removeClass("cke_dialog_tab_selected"), +d.removeAttribute("aria-selected"),b.hide());b.setAttribute("aria-hidden",c!=a)}var e=this._.tabs[a];e[0].addClass("cke_dialog_tab_selected");e[0].setAttribute("aria-selected",!0);CKEDITOR.env.ie6Compat||CKEDITOR.env.ie7Compat?(f(e[1]),e[1].show(),setTimeout(function(){f(e[1],1)},0)):e[1].show();this._.currentTabId=a;this._.currentTabIndex=CKEDITOR.tools.indexOf(this._.tabIdList,a)}},updateStyle:function(){this.parts.dialog[(1===this._.pageCount?"add":"remove")+"Class"]("cke_single_page")},hidePage:function(a){var c= this._.tabs[a]&&this._.tabs[a][0];c&&1!=this._.pageCount&&c.isVisible()&&(a==this._.currentTabId&&this.selectPage(h.call(this)),c.hide(),this._.pageCount--,this.updateStyle())},showPage:function(a){if(a=this._.tabs[a]&&this._.tabs[a][0])a.show(),this._.pageCount++,this.updateStyle()},getElement:function(){return this._.element},getName:function(){return this._.name},getContentElement:function(a,c){var d=this._.contents[a];return d&&d[c]},getValueOf:function(a,c){return this.getContentElement(a,c).getValue()}, setValueOf:function(a,c,d){return this.getContentElement(a,c).setValue(d)},getButton:function(a){return this._.buttons[a]},click:function(a){return this._.buttons[a].click()},disableButton:function(a){return this._.buttons[a].disable()},enableButton:function(a){return this._.buttons[a].enable()},getPageCount:function(){return this._.pageCount},getParentEditor:function(){return this._.editor},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement()},addFocusable:function(a, -c){if("undefined"==typeof c)c=this._.focusList.length,this._.focusList.push(new k(this,a,c));else{this._.focusList.splice(c,0,new k(this,a,c));for(var d=c+1;d<this._.focusList.length;d++)this._.focusList[d].focusIndex++}},setState:function(a){if(this.state!=a){this.state=a;if(a==CKEDITOR.DIALOG_STATE_BUSY){if(!this.parts.spinner){var c=this.getParentEditor().lang.dir,d={attributes:{"class":"cke_dialog_spinner"},styles:{"float":"rtl"==c?"right":"left"}};d.styles["margin-"+("rtl"==c?"left":"right")]= +c){if("undefined"==typeof c)c=this._.focusList.length,this._.focusList.push(new l(this,a,c));else{this._.focusList.splice(c,0,new l(this,a,c));for(var d=c+1;d<this._.focusList.length;d++)this._.focusList[d].focusIndex++}},setState:function(a){if(this.state!=a){this.state=a;if(a==CKEDITOR.DIALOG_STATE_BUSY){if(!this.parts.spinner){var c=this.getParentEditor().lang.dir,d={attributes:{"class":"cke_dialog_spinner"},styles:{"float":"rtl"==c?"right":"left"}};d.styles["margin-"+("rtl"==c?"left":"right")]= "8px";this.parts.spinner=CKEDITOR.document.createElement("div",d);this.parts.spinner.setHtml("\x26#8987;");this.parts.spinner.appendTo(this.parts.title,1)}this.parts.spinner.show();this.getButton("ok").disable()}else a==CKEDITOR.DIALOG_STATE_IDLE&&(this.parts.spinner&&this.parts.spinner.hide(),this.getButton("ok").enable());this.fire("state",a)}},getModel:function(a){return this._.model?this._.model:this.definition.getModel?this.definition.getModel(a):null},setModel:function(a){this._.model=a},getMode:function(a){if(this.definition.getMode)return this.definition.getMode(a); a=this.getModel(a);return!a||a instanceof CKEDITOR.dom.element&&!a.getParent()?CKEDITOR.dialog.CREATION_MODE:CKEDITOR.dialog.EDITING_MODE}};CKEDITOR.tools.extend(CKEDITOR.dialog,{CREATION_MODE:0,EDITING_MODE:1,add:function(a,c){this._.dialogDefinitions[a]&&"function"!=typeof c||(this._.dialogDefinitions[a]=c)},exists:function(a){return!!this._.dialogDefinitions[a]},getCurrent:function(){return CKEDITOR.dialog._.currentTop},isTabEnabled:function(a,c,d){a=a.config.removeDialogTabs;return!(a&&a.match(new RegExp("(?:^|;)"+ c+":"+d+"(?:$|;)","i")))},okButton:function(){var a=function(a,c){c=c||{};return CKEDITOR.tools.extend({id:"ok",type:"button",label:a.lang.common.ok,"class":"cke_dialog_ui_button_ok",onClick:function(a){a=a.data.dialog;!1!==a.fire("ok",{hide:!0}).hide&&a.hide()}},c,!0)};a.type="button";a.override=function(c){return CKEDITOR.tools.extend(function(d){return a(d,c)},{type:"button"},!0)};return a}(),cancelButton:function(){var a=function(a,c){c=c||{};return CKEDITOR.tools.extend({id:"cancel",type:"button", label:a.lang.common.cancel,"class":"cke_dialog_ui_button_cancel",onClick:function(a){a=a.data.dialog;!1!==a.fire("cancel",{hide:!0}).hide&&a.hide()}},c,!0)};a.type="button";a.override=function(c){return CKEDITOR.tools.extend(function(d){return a(d,c)},{type:"button"},!0)};return a}(),addUIElement:function(a,c){this._.uiElementBuilders[a]=c}});CKEDITOR.dialog._={uiElementBuilders:{},dialogDefinitions:{},currentTop:null,currentZIndex:null};CKEDITOR.event.implementOn(CKEDITOR.dialog);CKEDITOR.event.implementOn(CKEDITOR.dialog.prototype); -A={resizable:CKEDITOR.DIALOG_RESIZE_BOTH,minWidth:600,minHeight:400,buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton]};var L=function(a,c,d){for(var b=0,f;f=a[b];b++)if(f.id==c||d&&f[d]&&(f=L(f[d],c,d)))return f;return null},F=function(a,c,d,b,f){if(d){for(var e=0,g;g=a[e];e++){if(g.id==d)return a.splice(e,0,c),c;if(b&&g[b]&&(g=F(g[b],c,d,b,!0)))return g}if(f)return null}a.push(c);return c},M=function(a,c,d){for(var b=0,f;f=a[b];b++){if(f.id==c)return a.splice(b,1);if(d&&f[d]&&(f=M(f[d], -c,d)))return f}return null};f.prototype={getContents:function(a){return L(this.contents,a)},getButton:function(a){return L(this.buttons,a)},addContents:function(a,c){return F(this.contents,a,c)},addButton:function(a,c){return F(this.buttons,a,c)},removeContents:function(a){M(this.contents,a)},removeButton:function(a){M(this.buttons,a)}};d.prototype={get:function(a){return L(this.elements,a,"children")},add:function(a,c){return F(this.elements,a,c,"children")},remove:function(a){M(this.elements,a, -"children")}};var H={},J={};(function(){CKEDITOR.ui.dialog={uiElement:function(a,c,d,b,f,e,g){if(!(4>arguments.length)){var h=(b.call?b(c):b)||"div",k=["\x3c",h," "],l=(f&&f.call?f(c):f)||{},n=(e&&e.call?e(c):e)||{},m=(g&&g.call?g.call(this,a,c):g)||"",q=this.domId=n.id||CKEDITOR.tools.getNextId()+"_uiElement";c.requiredContent&&!a.getParentEditor().filter.check(c.requiredContent)&&(l.display="none",this.notAllowed=!0);n.id=q;var r={};c.type&&(r["cke_dialog_ui_"+c.type]=1);c.className&&(r[c.className]= -1);c.disabled&&(r.cke_disabled=1);for(var t=n["class"]&&n["class"].split?n["class"].split(" "):[],q=0;q<t.length;q++)t[q]&&(r[t[q]]=1);t=[];for(q in r)t.push(q);n["class"]=t.join(" ");c.title&&(n.title=c.title);r=(c.style||"").split(";");c.align&&(t=c.align,l["margin-left"]="left"==t?0:"auto",l["margin-right"]="right"==t?0:"auto");for(q in l)r.push(q+":"+l[q]);c.hidden&&r.push("display:none");for(q=r.length-1;0<=q;q--)""===r[q]&&r.splice(q,1);0<r.length&&(n.style=(n.style?n.style+"; ":"")+r.join("; ")); -for(q in n)k.push(q+'\x3d"'+CKEDITOR.tools.htmlEncode(n[q])+'" ');k.push("\x3e",m,"\x3c/",h,"\x3e");d.push(k.join(""));(this._||(this._={})).dialog=a;"boolean"==typeof c.isChanged&&(this.isChanged=function(){return c.isChanged});"function"==typeof c.isChanged&&(this.isChanged=c.isChanged);"function"==typeof c.setValue&&(this.setValue=CKEDITOR.tools.override(this.setValue,function(a){return function(d){a.call(this,c.setValue.call(this,d))}}));"function"==typeof c.getValue&&(this.getValue=CKEDITOR.tools.override(this.getValue, -function(a){return function(){return c.getValue.call(this,a.call(this))}}));CKEDITOR.event.implementOn(this);this.registerEvents(c);this.accessKeyUp&&this.accessKeyDown&&c.accessKey&&z(this,a,"CTRL+"+c.accessKey);var u=this;a.on("load",function(){var c=u.getInputElement();if(c){var d=u.type in{checkbox:1,ratio:1}&&CKEDITOR.env.ie&&8>CKEDITOR.env.version?"cke_dialog_ui_focused":"";c.on("focus",function(){a._.tabBarMode=!1;a._.hasFocus=!0;u.fire("focus");d&&this.addClass(d)});c.on("blur",function(){u.fire("blur"); -d&&this.removeClass(d)})}});CKEDITOR.tools.extend(this,c);this.keyboardFocusable&&(this.tabIndex=c.tabIndex||0,this.focusIndex=a._.focusList.push(this)-1,this.on("focus",function(){a._.currentFocusIndex=u.focusIndex}))}},hbox:function(a,c,d,b,f){if(!(4>arguments.length)){this._||(this._={});var e=this._.children=c,g=f&&f.widths||null,h=f&&f.height||null,k,l={role:"presentation"};f&&f.align&&(l.align=f.align);CKEDITOR.ui.dialog.uiElement.call(this,a,f||{type:"hbox"},b,"table",{},l,function(){var a= -['\x3ctbody\x3e\x3ctr class\x3d"cke_dialog_ui_hbox"\x3e'];for(k=0;k<d.length;k++){var c="cke_dialog_ui_hbox_child",b=[];0===k&&(c="cke_dialog_ui_hbox_first");k==d.length-1&&(c="cke_dialog_ui_hbox_last");a.push('\x3ctd class\x3d"',c,'" role\x3d"presentation" ');g?g[k]&&b.push("width:"+C(g[k])):b.push("width:"+Math.floor(100/d.length)+"%");h&&b.push("height:"+C(h));f&&void 0!==f.padding&&b.push("padding:"+C(f.padding));CKEDITOR.env.ie&&CKEDITOR.env.quirks&&e[k].align&&b.push("text-align:"+e[k].align); -0<b.length&&a.push('style\x3d"'+b.join("; ")+'" ');a.push("\x3e",d[k],"\x3c/td\x3e")}a.push("\x3c/tr\x3e\x3c/tbody\x3e");return a.join("")})}},vbox:function(a,c,d,b,f){if(!(3>arguments.length)){this._||(this._={});var e=this._.children=c,g=f&&f.width||null,h=f&&f.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,f||{type:"vbox"},b,"div",null,{role:"presentation"},function(){var c=['\x3ctable role\x3d"presentation" cellspacing\x3d"0" border\x3d"0" '];c.push('style\x3d"');f&&f.expand&&c.push("height:100%;"); -c.push("width:"+C(g||"100%"),";");CKEDITOR.env.webkit&&c.push("float:none;");c.push('"');c.push('align\x3d"',CKEDITOR.tools.htmlEncode(f&&f.align||("ltr"==a.getParentEditor().lang.dir?"left":"right")),'" ');c.push("\x3e\x3ctbody\x3e");for(var b=0;b<d.length;b++){var k=[];c.push('\x3ctr\x3e\x3ctd role\x3d"presentation" ');g&&k.push("width:"+C(g||"100%"));h?k.push("height:"+C(h[b])):f&&f.expand&&k.push("height:"+Math.floor(100/d.length)+"%");f&&void 0!==f.padding&&k.push("padding:"+C(f.padding));CKEDITOR.env.ie&& -CKEDITOR.env.quirks&&e[b].align&&k.push("text-align:"+e[b].align);0<k.length&&c.push('style\x3d"',k.join("; "),'" ');c.push(' class\x3d"cke_dialog_ui_vbox_child"\x3e',d[b],"\x3c/td\x3e\x3c/tr\x3e")}c.push("\x3c/tbody\x3e\x3c/table\x3e");return c.join("")})}}}})();CKEDITOR.ui.dialog.uiElement.prototype={getElement:function(){return CKEDITOR.document.getById(this.domId)},getInputElement:function(){return this.getElement()},getDialog:function(){return this._.dialog},setValue:function(a,c){this.getInputElement().setValue(a); +A={resizable:CKEDITOR.DIALOG_RESIZE_BOTH,minWidth:600,minHeight:400,buttons:[CKEDITOR.dialog.okButton,CKEDITOR.dialog.cancelButton]};var L=function(a,c,d){for(var b=0,e;e=a[b];b++)if(e.id==c||d&&e[d]&&(e=L(e[d],c,d)))return e;return null},F=function(a,c,d,b,e){if(d){for(var f=0,g;g=a[f];f++){if(g.id==d)return a.splice(f,0,c),c;if(b&&g[b]&&(g=F(g[b],c,d,b,!0)))return g}if(e)return null}a.push(c);return c},M=function(a,c,d){for(var b=0,e;e=a[b];b++){if(e.id==c)return a.splice(b,1);if(d&&e[d]&&(e=M(e[d], +c,d)))return e}return null};e.prototype={getContents:function(a){return L(this.contents,a)},getButton:function(a){return L(this.buttons,a)},addContents:function(a,c){return F(this.contents,a,c)},addButton:function(a,c){return F(this.buttons,a,c)},removeContents:function(a){M(this.contents,a)},removeButton:function(a){M(this.buttons,a)}};d.prototype={get:function(a){return L(this.elements,a,"children")},add:function(a,c){return F(this.elements,a,c,"children")},remove:function(a){M(this.elements,a, +"children")}};var H={},J={};(function(){CKEDITOR.ui.dialog={uiElement:function(a,c,d,b,e,f,g){if(!(4>arguments.length)){var h=(b.call?b(c):b)||"div",k=["\x3c",h," "],n=(e&&e.call?e(c):e)||{},l=(f&&f.call?f(c):f)||{},m=(g&&g.call?g.call(this,a,c):g)||"",p=this.domId=l.id||CKEDITOR.tools.getNextId()+"_uiElement";c.requiredContent&&!a.getParentEditor().filter.check(c.requiredContent)&&(n.display="none",this.notAllowed=!0);l.id=p;var r={};c.type&&(r["cke_dialog_ui_"+c.type]=1);c.className&&(r[c.className]= +1);c.disabled&&(r.cke_disabled=1);for(var t=l["class"]&&l["class"].split?l["class"].split(" "):[],p=0;p<t.length;p++)t[p]&&(r[t[p]]=1);t=[];for(p in r)t.push(p);l["class"]=t.join(" ");c.title&&(l.title=c.title);r=(c.style||"").split(";");c.align&&(t=c.align,n["margin-left"]="left"==t?0:"auto",n["margin-right"]="right"==t?0:"auto");for(p in n)r.push(p+":"+n[p]);c.hidden&&r.push("display:none");for(p=r.length-1;0<=p;p--)""===r[p]&&r.splice(p,1);0<r.length&&(l.style=(l.style?l.style+"; ":"")+r.join("; ")); +for(p in l)k.push(p+'\x3d"'+CKEDITOR.tools.htmlEncode(l[p])+'" ');k.push("\x3e",m,"\x3c/",h,"\x3e");d.push(k.join(""));(this._||(this._={})).dialog=a;"boolean"==typeof c.isChanged&&(this.isChanged=function(){return c.isChanged});"function"==typeof c.isChanged&&(this.isChanged=c.isChanged);"function"==typeof c.setValue&&(this.setValue=CKEDITOR.tools.override(this.setValue,function(a){return function(d){a.call(this,c.setValue.call(this,d))}}));"function"==typeof c.getValue&&(this.getValue=CKEDITOR.tools.override(this.getValue, +function(a){return function(){return c.getValue.call(this,a.call(this))}}));CKEDITOR.event.implementOn(this);this.registerEvents(c);this.accessKeyUp&&this.accessKeyDown&&c.accessKey&&z(this,a,"CTRL+"+c.accessKey);var v=this;a.on("load",function(){var c=v.getInputElement();if(c){var d=v.type in{checkbox:1,ratio:1}&&CKEDITOR.env.ie&&8>CKEDITOR.env.version?"cke_dialog_ui_focused":"";c.on("focus",function(){a._.tabBarMode=!1;a._.hasFocus=!0;v.fire("focus");d&&this.addClass(d)});c.on("blur",function(){v.fire("blur"); +d&&this.removeClass(d)})}});CKEDITOR.tools.extend(this,c);this.keyboardFocusable&&(this.tabIndex=c.tabIndex||0,this.focusIndex=a._.focusList.push(this)-1,this.on("focus",function(){a._.currentFocusIndex=v.focusIndex}))}},hbox:function(a,c,d,b,e){if(!(4>arguments.length)){this._||(this._={});var f=this._.children=c,g=e&&e.widths||null,h=e&&e.height||null,k,n={role:"presentation"};e&&e.align&&(n.align=e.align);CKEDITOR.ui.dialog.uiElement.call(this,a,e||{type:"hbox"},b,"table",{},n,function(){var a= +['\x3ctbody\x3e\x3ctr class\x3d"cke_dialog_ui_hbox"\x3e'];for(k=0;k<d.length;k++){var c="cke_dialog_ui_hbox_child",b=[];0===k&&(c="cke_dialog_ui_hbox_first");k==d.length-1&&(c="cke_dialog_ui_hbox_last");a.push('\x3ctd class\x3d"',c,'" role\x3d"presentation" ');g?g[k]&&b.push("width:"+E(g[k])):b.push("width:"+Math.floor(100/d.length)+"%");h&&b.push("height:"+E(h));e&&void 0!==e.padding&&b.push("padding:"+E(e.padding));CKEDITOR.env.ie&&CKEDITOR.env.quirks&&f[k].align&&b.push("text-align:"+f[k].align); +0<b.length&&a.push('style\x3d"'+b.join("; ")+'" ');a.push("\x3e",d[k],"\x3c/td\x3e")}a.push("\x3c/tr\x3e\x3c/tbody\x3e");return a.join("")})}},vbox:function(a,c,d,b,e){if(!(3>arguments.length)){this._||(this._={});var f=this._.children=c,g=e&&e.width||null,h=e&&e.heights||null;CKEDITOR.ui.dialog.uiElement.call(this,a,e||{type:"vbox"},b,"div",null,{role:"presentation"},function(){var c=['\x3ctable role\x3d"presentation" cellspacing\x3d"0" border\x3d"0" '];c.push('style\x3d"');e&&e.expand&&c.push("height:100%;"); +c.push("width:"+E(g||"100%"),";");CKEDITOR.env.webkit&&c.push("float:none;");c.push('"');c.push('align\x3d"',CKEDITOR.tools.htmlEncode(e&&e.align||("ltr"==a.getParentEditor().lang.dir?"left":"right")),'" ');c.push("\x3e\x3ctbody\x3e");for(var b=0;b<d.length;b++){var k=[];c.push('\x3ctr\x3e\x3ctd role\x3d"presentation" ');g&&k.push("width:"+E(g||"100%"));h?k.push("height:"+E(h[b])):e&&e.expand&&k.push("height:"+Math.floor(100/d.length)+"%");e&&void 0!==e.padding&&k.push("padding:"+E(e.padding));CKEDITOR.env.ie&& +CKEDITOR.env.quirks&&f[b].align&&k.push("text-align:"+f[b].align);0<k.length&&c.push('style\x3d"',k.join("; "),'" ');c.push(' class\x3d"cke_dialog_ui_vbox_child"\x3e',d[b],"\x3c/td\x3e\x3c/tr\x3e")}c.push("\x3c/tbody\x3e\x3c/table\x3e");return c.join("")})}}}})();CKEDITOR.ui.dialog.uiElement.prototype={getElement:function(){return CKEDITOR.document.getById(this.domId)},getInputElement:function(){return this.getElement()},getDialog:function(){return this._.dialog},setValue:function(a,c){this.getInputElement().setValue(a); !c&&this.fire("change",{value:a});return this},getValue:function(){return this.getInputElement().getValue()},isChanged:function(){return!1},selectParentTab:function(){for(var a=this.getInputElement();(a=a.getParent())&&-1==a.$.className.search("cke_dialog_page_contents"););if(!a)return this;a=a.getAttribute("name");this._.dialog._.currentTabId!=a&&this._.dialog.selectPage(a);return this},focus:function(){this.selectParentTab().getInputElement().focus();return this},registerEvents:function(a){var c= -/^on([A-Z]\w+)/,d,b=function(a,c,d,b){c.on("load",function(){a.getInputElement().on(d,b,a)})},f;for(f in a)if(d=f.match(c))this.eventProcessors[f]?this.eventProcessors[f].call(this,this._.dialog,a[f]):b(this,this._.dialog,d[1].toLowerCase(),a[f]);return this},eventProcessors:{onLoad:function(a,c){a.on("load",c,this)},onShow:function(a,c){a.on("show",c,this)},onHide:function(a,c){a.on("hide",c,this)}},accessKeyDown:function(){this.focus()},accessKeyUp:function(){},disable:function(){var a=this.getElement(); +/^on([A-Z]\w+)/,d,b=function(a,c,d,b){c.on("load",function(){a.getInputElement().on(d,b,a)})},e;for(e in a)if(d=e.match(c))this.eventProcessors[e]?this.eventProcessors[e].call(this,this._.dialog,a[e]):b(this,this._.dialog,d[1].toLowerCase(),a[e]);return this},eventProcessors:{onLoad:function(a,c){a.on("load",c,this)},onShow:function(a,c){a.on("show",c,this)},onHide:function(a,c){a.on("hide",c,this)}},accessKeyDown:function(){this.focus()},accessKeyUp:function(){},disable:function(){var a=this.getElement(); this.getInputElement().setAttribute("disabled","true");a.addClass("cke_disabled")},enable:function(){var a=this.getElement();this.getInputElement().removeAttribute("disabled");a.removeClass("cke_disabled")},isEnabled:function(){return!this.getElement().hasClass("cke_disabled")},isVisible:function(){return this.getInputElement().isVisible()},isFocusable:function(){return this.isEnabled()&&this.isVisible()?!0:!1}};CKEDITOR.ui.dialog.hbox.prototype=CKEDITOR.tools.extend(new CKEDITOR.ui.dialog.uiElement, -{getChild:function(a){if(1>arguments.length)return this._.children.concat();a.splice||(a=[a]);return 2>a.length?this._.children[a[0]]:this._.children[a[0]]&&this._.children[a[0]].getChild?this._.children[a[0]].getChild(a.slice(1,a.length)):null}},!0);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox;(function(){var a={build:function(a,c,d){for(var b=c.children,f,e=[],g=[],h=0;h<b.length&&(f=b[h]);h++){var k=[];e.push(k);g.push(CKEDITOR.dialog._.uiElementBuilders[f.type].build(a,f,k))}return new CKEDITOR.ui.dialog[c.type](a, -g,e,d,c)}};CKEDITOR.dialog.addUIElement("hbox",a);CKEDITOR.dialog.addUIElement("vbox",a)})();CKEDITOR.dialogCommand=function(a,c){this.dialogName=a;CKEDITOR.tools.extend(this,c,!0)};CKEDITOR.dialogCommand.prototype={exec:function(a){var c=this.tabId;a.openDialog(this.dialogName,function(a){c&&a.selectPage(c)})},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,c=/^\d*$/,d=/^\d*(?:\.\d+)?$/,b=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,f=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i, -e=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){var a=arguments;return function(){var c=this&&this.getValue?this.getValue():a[0],d,b=CKEDITOR.VALIDATE_AND,f=[],e;for(e=0;e<a.length;e++)if("function"==typeof a[e])f.push(a[e]);else break;e<a.length&&"string"==typeof a[e]&&(d=a[e],e++);e<a.length&&"number"==typeof a[e]&&(b=a[e]);var g=b==CKEDITOR.VALIDATE_AND?!0:!1;for(e=0;e<f.length;e++)g=b==CKEDITOR.VALIDATE_AND?g&& -f[e](c):g||f[e](c);return g?!0:d}},regex:function(a,c){return function(d){d=this&&this.getValue?this.getValue():d;return a.test(d)?!0:c}},notEmpty:function(c){return this.regex(a,c)},integer:function(a){return this.regex(c,a)},number:function(a){return this.regex(d,a)},cssLength:function(a){return this.functions(function(a){return f.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return b.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return e.test(CKEDITOR.tools.trim(a))}, -a)},equals:function(a,c){return this.functions(function(c){return c==a},c)},notEqual:function(a,c){return this.functions(function(c){return c!=a},c)}};CKEDITOR.on("instanceDestroyed",function(a){if(CKEDITOR.tools.isEmpty(CKEDITOR.instances)){for(var c;c=CKEDITOR.dialog._.currentTop;)c.hide();for(var d in H)H[d].remove();H={}}a=a.editor._.storedDialogs;for(var b in a)a[b].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,c,d){var b=null,f=CKEDITOR.dialog._.dialogDefinitions[a]; -null===CKEDITOR.dialog._.currentTop&&r(this);if("function"==typeof f)f=this._.storedDialogs||(this._.storedDialogs={}),b=f[a]||(f[a]=new CKEDITOR.dialog(this,a)),b.setModel(d),c&&c.call(b,b),b.show();else{if("failed"==f)throw q(this),Error('[CKEDITOR.dialog.openDialog] Dialog "'+a+'" failed when loading definition.');"string"==typeof f&&CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(f),function(){"function"!=typeof CKEDITOR.dialog._.dialogDefinitions[a]&&(CKEDITOR.dialog._.dialogDefinitions[a]="failed"); +{getChild:function(a){if(1>arguments.length)return this._.children.concat();a.splice||(a=[a]);return 2>a.length?this._.children[a[0]]:this._.children[a[0]]&&this._.children[a[0]].getChild?this._.children[a[0]].getChild(a.slice(1,a.length)):null}},!0);CKEDITOR.ui.dialog.vbox.prototype=new CKEDITOR.ui.dialog.hbox;(function(){var a={build:function(a,c,d){for(var b=c.children,e,f=[],g=[],h=0;h<b.length&&(e=b[h]);h++){var k=[];f.push(k);g.push(CKEDITOR.dialog._.uiElementBuilders[e.type].build(a,e,k))}return new CKEDITOR.ui.dialog[c.type](a, +g,f,d,c)}};CKEDITOR.dialog.addUIElement("hbox",a);CKEDITOR.dialog.addUIElement("vbox",a)})();CKEDITOR.dialogCommand=function(a,c){this.dialogName=a;CKEDITOR.tools.extend(this,c,!0)};CKEDITOR.dialogCommand.prototype={exec:function(a){var c=this.tabId;a.openDialog(this.dialogName,function(a){c&&a.selectPage(c)})},canUndo:!1,editorFocus:1};(function(){var a=/^([a]|[^a])+$/,c=/^\d*$/,d=/^\d*(?:\.\d+)?$/,b=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,e=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i, +f=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;CKEDITOR.VALIDATE_OR=1;CKEDITOR.VALIDATE_AND=2;CKEDITOR.dialog.validate={functions:function(){var a=arguments;return function(){var c=this&&this.getValue?this.getValue():a[0],d,b=CKEDITOR.VALIDATE_AND,e=[],f;for(f=0;f<a.length;f++)if("function"==typeof a[f])e.push(a[f]);else break;f<a.length&&"string"==typeof a[f]&&(d=a[f],f++);f<a.length&&"number"==typeof a[f]&&(b=a[f]);var g=b==CKEDITOR.VALIDATE_AND?!0:!1;for(f=0;f<e.length;f++)g=b==CKEDITOR.VALIDATE_AND?g&& +e[f](c):g||e[f](c);return g?!0:d}},regex:function(a,c){return function(d){d=this&&this.getValue?this.getValue():d;return a.test(d)?!0:c}},notEmpty:function(c){return this.regex(a,c)},integer:function(a){return this.regex(c,a)},number:function(a){return this.regex(d,a)},cssLength:function(a){return this.functions(function(a){return e.test(CKEDITOR.tools.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return b.test(CKEDITOR.tools.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return f.test(CKEDITOR.tools.trim(a))}, +a)},equals:function(a,c){return this.functions(function(c){return c==a},c)},notEqual:function(a,c){return this.functions(function(c){return c!=a},c)}};CKEDITOR.on("instanceDestroyed",function(a){if(CKEDITOR.tools.isEmpty(CKEDITOR.instances)){for(var c;c=CKEDITOR.dialog._.currentTop;)c.hide();for(var d in H)H[d].remove();H={}}a=a.editor._.storedDialogs;for(var b in a)a[b].destroy()})})();CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{openDialog:function(a,c,d){var b=null,e=CKEDITOR.dialog._.dialogDefinitions[a]; +null===CKEDITOR.dialog._.currentTop&&r(this);if("function"==typeof e)e=this._.storedDialogs||(this._.storedDialogs={}),b=e[a]||(e[a]=new CKEDITOR.dialog(this,a)),b.setModel(d),c&&c.call(b,b),b.show();else{if("failed"==e)throw p(this),Error('[CKEDITOR.dialog.openDialog] Dialog "'+a+'" failed when loading definition.');"string"==typeof e&&CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(e),function(){"function"!=typeof CKEDITOR.dialog._.dialogDefinitions[a]&&(CKEDITOR.dialog._.dialogDefinitions[a]="failed"); this.openDialog(a,c,d)},this,0,1)}CKEDITOR.skin.loadPart("dialog");if(b)b.once("hide",function(){b.setModel(null)},null,null,999);return b}})})();var ka=!1;CKEDITOR.plugins.add("dialog",{requires:"dialogui",init:function(b){ka||(CKEDITOR.document.appendStyleSheet(this.path+"styles/dialog.css"),ka=!0);b.on("doubleclick",function(h){h.data.dialog&&b.openDialog(h.data.dialog)},null,null,999)}});(function(){CKEDITOR.plugins.add("a11yhelp",{requires:"dialog",availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1, cy:1,da:1,de:1,"de-ch":1,el:1,en:1,"en-au":1,"en-gb":1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fo:1,fr:1,"fr-ca":1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,ku:1,lt:1,lv:1,mk:1,mn:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,"pt-br":1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,"sr-latn":1,sv:1,th:1,tr:1,tt:1,ug:1,uk:1,vi:1,zh:1,"zh-cn":1},init:function(b){var h=this;b.addCommand("a11yHelp",{exec:function(){var g=b.langCode,g=h.availableLangs[g]?g:h.availableLangs[g.replace(/-.*/,"")]?g.replace(/-.*/,""): "en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(h.path+"dialogs/lang/"+g+".js"),function(){b.lang.a11yhelp=h.langEntries[g];b.openDialog("a11yHelp")})},modes:{wysiwyg:1,source:1},readOnly:1,canUndo:!1});b.setKeystroke(CKEDITOR.ALT+48,"a11yHelp");CKEDITOR.dialog.add("a11yHelp",this.path+"dialogs/a11yhelp.js");b.on("ariaEditorHelpLabel",function(g){g.data.label=b.lang.common.editorHelp})}})})();CKEDITOR.plugins.add("about",{requires:"dialog",init:function(b){var h=b.addCommand("about",new CKEDITOR.dialogCommand("about")); -h.modes={wysiwyg:1,source:1};h.canUndo=!1;h.readOnly=1;b.ui.addButton&&b.ui.addButton("About",{label:b.lang.about.dlgTitle,command:"about",toolbar:"about"});CKEDITOR.dialog.add("about",this.path+"dialogs/about.js")}});"use strict";(function(){function b(b){function g(){m=b.document;l=m[CKEDITOR.env.ie?"getBody":"getDocumentElement"]();k=CKEDITOR.env.quirks?m.getBody():m.getDocumentElement();var a=CKEDITOR.env.quirks?k:k.findOne("body");a&&(a.setStyle("height","auto"),a.setStyle("min-height",CKEDITOR.env.safari? -"0%":"auto"));c=CKEDITOR.dom.element.createFromHtml('\x3cspan style\x3d"margin:0;padding:0;border:0;clear:both;width:1px;height:1px;display:block;"\x3e'+(CKEDITOR.env.webkit?"\x26nbsp;":"")+"\x3c/span\x3e",m)}function e(){w&&k.setStyle("overflow-y","hidden");var e=b.window.getViewPaneSize().height,g;l.append(c);g=c.getDocumentPosition(m).y+c.$.offsetHeight;c.remove();g+=f;g=Math.max(g,d);g=Math.min(g,n);g!=e&&a!=g&&(g=b.fire("autoGrow",{currentHeight:e,newHeight:g}).newHeight,b.resize(b.container.getStyle("width"), -g,!0),a=g);w||(g<n&&k.$.scrollHeight>k.$.clientHeight?k.setStyle("overflow-y","hidden"):k.removeStyle("overflow-y"))}var a,m,l,k,c,f=b.config.autoGrow_bottomSpace||0,d=void 0!==b.config.autoGrow_minHeight?b.config.autoGrow_minHeight:200,n=b.config.autoGrow_maxHeight||Infinity,w=!b.config.autoGrow_maxHeight;b.addCommand("autogrow",{exec:e,modes:{wysiwyg:1},readOnly:1,canUndo:!1,editorFocus:!1});var v={contentDom:1,key:1,selectionChange:1,insertElement:1,mode:1},p;for(p in v)b.on(p,function(c){"wysiwyg"== -c.editor.mode&&setTimeout(function(){var c=b.getCommand("maximize");!b.window||c&&c.state==CKEDITOR.TRISTATE_ON?a=null:(e(),w||e())},100)});b.on("afterCommandExec",function(a){"maximize"==a.data.name&&"wysiwyg"==a.editor.mode&&(a.data.command.state==CKEDITOR.TRISTATE_ON?k.removeStyle("overflow-y"):e())});b.on("contentDom",g);g();b.config.autoGrow_onStartup&&b.editable().isVisible()&&b.execCommand("autogrow")}CKEDITOR.plugins.add("autogrow",{init:function(h){if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE)h.on("instanceReady", -function(){h.editable().isInline()?h.ui.space("contents").setStyle("height","auto"):b(h)})}})})();CKEDITOR.plugins.add("basicstyles",{init:function(b){var h=0,g=function(a,g,c,f){if(f){f=new CKEDITOR.style(f);var d=e[c];d.unshift(f);b.attachStyleStateChange(f,function(a){!b.readOnly&&b.getCommand(c).setState(a)});b.addCommand(c,new CKEDITOR.styleCommand(f,{contentForms:d}));b.ui.addButton&&b.ui.addButton(a,{label:g,command:c,toolbar:"basicstyles,"+(h+=10)})}},e={bold:["strong","b",["span",function(a){a= +h.modes={wysiwyg:1,source:1};h.canUndo=!1;h.readOnly=1;b.ui.addButton&&b.ui.addButton("About",{label:b.lang.about.dlgTitle,command:"about",toolbar:"about"});CKEDITOR.dialog.add("about",this.path+"dialogs/about.js")}});"use strict";(function(){function b(b){function g(){m=b.document;k=m[CKEDITOR.env.ie?"getBody":"getDocumentElement"]();l=CKEDITOR.env.quirks?m.getBody():m.getDocumentElement();var a=CKEDITOR.env.quirks?l:l.findOne("body");a&&(a.setStyle("height","auto"),a.setStyle("min-height",CKEDITOR.env.safari? +"0%":"auto"));c=CKEDITOR.dom.element.createFromHtml('\x3cspan style\x3d"margin:0;padding:0;border:0;clear:both;width:1px;height:1px;display:block;"\x3e'+(CKEDITOR.env.webkit?"\x26nbsp;":"")+"\x3c/span\x3e",m)}function f(){y&&l.setStyle("overflow-y","hidden");var f=b.window.getViewPaneSize().height,g;k.append(c);g=c.getDocumentPosition(m).y+c.$.offsetHeight;c.remove();g+=e;g=Math.max(g,d);g=Math.min(g,n);g!=f&&a!=g&&(g=b.fire("autoGrow",{currentHeight:f,newHeight:g}).newHeight,b.resize(b.container.getStyle("width"), +g,!0),a=g);y||(g<n&&l.$.scrollHeight>l.$.clientHeight?l.setStyle("overflow-y","hidden"):l.removeStyle("overflow-y"))}var a,m,k,l,c,e=b.config.autoGrow_bottomSpace||0,d=void 0!==b.config.autoGrow_minHeight?b.config.autoGrow_minHeight:200,n=b.config.autoGrow_maxHeight||Infinity,y=!b.config.autoGrow_maxHeight;b.addCommand("autogrow",{exec:f,modes:{wysiwyg:1},readOnly:1,canUndo:!1,editorFocus:!1});var x={contentDom:1,key:1,selectionChange:1,insertElement:1,mode:1},q;for(q in x)b.on(q,function(c){"wysiwyg"== +c.editor.mode&&setTimeout(function(){var c=b.getCommand("maximize");!b.window||c&&c.state==CKEDITOR.TRISTATE_ON?a=null:(f(),y||f())},100)});b.on("afterCommandExec",function(a){"maximize"==a.data.name&&"wysiwyg"==a.editor.mode&&(a.data.command.state==CKEDITOR.TRISTATE_ON?l.removeStyle("overflow-y"):f())});b.on("contentDom",g);g();b.config.autoGrow_onStartup&&b.editable().isVisible()&&b.execCommand("autogrow")}CKEDITOR.plugins.add("autogrow",{init:function(h){if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE)h.on("instanceReady", +function(){h.editable().isInline()?h.ui.space("contents").setStyle("height","auto"):b(h)})}})})();CKEDITOR.plugins.add("basicstyles",{init:function(b){var h=0,g=function(a,g,c,e){if(e){e=new CKEDITOR.style(e);var d=f[c];d.unshift(e);b.attachStyleStateChange(e,function(a){!b.readOnly&&b.getCommand(c).setState(a)});b.addCommand(c,new CKEDITOR.styleCommand(e,{contentForms:d}));b.ui.addButton&&b.ui.addButton(a,{label:g,command:c,toolbar:"basicstyles,"+(h+=10)})}},f={bold:["strong","b",["span",function(a){a= a.styles["font-weight"];return"bold"==a||700<=+a}]],italic:["em","i",["span",function(a){return"italic"==a.styles["font-style"]}]],underline:["u",["span",function(a){return"underline"==a.styles["text-decoration"]}]],strike:["s","strike",["span",function(a){return"line-through"==a.styles["text-decoration"]}]],subscript:["sub"],superscript:["sup"]},a=b.config,m=b.lang.basicstyles;g("Bold",m.bold,"bold",a.coreStyles_bold);g("Italic",m.italic,"italic",a.coreStyles_italic);g("Underline",m.underline,"underline", a.coreStyles_underline);g("Strike",m.strike,"strike",a.coreStyles_strike);g("Subscript",m.subscript,"subscript",a.coreStyles_subscript);g("Superscript",m.superscript,"superscript",a.coreStyles_superscript);b.setKeystroke([[CKEDITOR.CTRL+66,"bold"],[CKEDITOR.CTRL+73,"italic"],[CKEDITOR.CTRL+85,"underline"]])}});CKEDITOR.config.coreStyles_bold={element:"strong",overrides:"b"};CKEDITOR.config.coreStyles_italic={element:"em",overrides:"i"};CKEDITOR.config.coreStyles_underline={element:"u"};CKEDITOR.config.coreStyles_strike= -{element:"s",overrides:"strike"};CKEDITOR.config.coreStyles_subscript={element:"sub"};CKEDITOR.config.coreStyles_superscript={element:"sup"};(function(){var b={exec:function(b){var g=b.getCommand("blockquote").state,e=b.getSelection(),a=e&&e.getRanges()[0];if(a){var m=e.createBookmarks();if(CKEDITOR.env.ie){var l=m[0].startNode,k=m[0].endNode,c;if(l&&"blockquote"==l.getParent().getName())for(c=l;c=c.getNext();)if(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()){l.move(c,!0);break}if(k&&"blockquote"== -k.getParent().getName())for(c=k;c=c.getPrevious();)if(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()){k.move(c);break}}var f=a.createIterator();f.enlargeBr=b.config.enterMode!=CKEDITOR.ENTER_BR;if(g==CKEDITOR.TRISTATE_OFF){for(l=[];g=f.getNextParagraph();)l.push(g);1>l.length&&(g=b.document.createElement(b.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),k=m.shift(),a.insertNode(g),g.append(new CKEDITOR.dom.text("",b.document)),a.moveToBookmark(k),a.selectNodeContents(g),a.collapse(!0),k=a.createBookmark(), -l.push(g),m.unshift(k));c=l[0].getParent();a=[];for(k=0;k<l.length;k++)g=l[k],c=c.getCommonAncestor(g.getParent());for(g={table:1,tbody:1,tr:1,ol:1,ul:1};g[c.getName()];)c=c.getParent();for(k=null;0<l.length;){for(g=l.shift();!g.getParent().equals(c);)g=g.getParent();g.equals(k)||a.push(g);k=g}for(;0<a.length;)if(g=a.shift(),"blockquote"==g.getName()){for(k=new CKEDITOR.dom.documentFragment(b.document);g.getFirst();)k.append(g.getFirst().remove()),l.push(k.getLast());k.replace(g)}else l.push(g);a= -b.document.createElement("blockquote");for(a.insertBefore(l[0]);0<l.length;)g=l.shift(),a.append(g)}else if(g==CKEDITOR.TRISTATE_ON){k=[];for(c={};g=f.getNextParagraph();){for(l=a=null;g.getParent();){if("blockquote"==g.getParent().getName()){a=g.getParent();l=g;break}g=g.getParent()}a&&l&&!l.getCustomData("blockquote_moveout")&&(k.push(l),CKEDITOR.dom.element.setMarker(c,l,"blockquote_moveout",!0))}CKEDITOR.dom.element.clearAllMarkers(c);g=[];l=[];for(c={};0<k.length;)f=k.shift(),a=f.getParent(), -f.getPrevious()?f.getNext()?(f.breakParent(f.getParent()),l.push(f.getNext())):f.remove().insertAfter(a):f.remove().insertBefore(a),a.getCustomData("blockquote_processed")||(l.push(a),CKEDITOR.dom.element.setMarker(c,a,"blockquote_processed",!0)),g.push(f);CKEDITOR.dom.element.clearAllMarkers(c);for(k=l.length-1;0<=k;k--){a=l[k];a:{c=a;for(var f=0,d=c.getChildCount(),n=void 0;f<d&&(n=c.getChild(f));f++)if(n.type==CKEDITOR.NODE_ELEMENT&&n.isBlockBoundary()){c=!1;break a}c=!0}c&&a.remove()}if(b.config.enterMode== -CKEDITOR.ENTER_BR)for(a=!0;g.length;)if(f=g.shift(),"div"==f.getName()){k=new CKEDITOR.dom.documentFragment(b.document);!a||!f.getPrevious()||f.getPrevious().type==CKEDITOR.NODE_ELEMENT&&f.getPrevious().isBlockBoundary()||k.append(b.document.createElement("br"));for(a=f.getNext()&&!(f.getNext().type==CKEDITOR.NODE_ELEMENT&&f.getNext().isBlockBoundary());f.getFirst();)f.getFirst().remove().appendTo(k);a&&k.append(b.document.createElement("br"));k.replace(f);a=!1}}e.selectBookmarks(m);b.focus()}},refresh:function(b, -g){this.setState(b.elementPath(g.block||g.blockLimit).contains("blockquote",1)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)},context:"blockquote",allowedContent:"blockquote",requiredContent:"blockquote"};CKEDITOR.plugins.add("blockquote",{init:function(h){h.blockless||(h.addCommand("blockquote",b),h.ui.addButton&&h.ui.addButton("Blockquote",{label:h.lang.blockquote.toolbar,command:"blockquote",toolbar:"blocks,10"}))}})})();"use strict";(function(){function b(b,e){CKEDITOR.tools.extend(this,e,{editor:b, -id:"cke-"+CKEDITOR.tools.getUniqueId(),area:b._.notificationArea});e.type||(this.type="info");this.element=this._createElement();b.plugins.clipboard&&CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(this.element)}function h(b){var e=this;this.editor=b;this.notifications=[];this.element=this._createElement();this._uiBuffer=CKEDITOR.tools.eventsBuffer(10,this._layout,this);this._changeBuffer=CKEDITOR.tools.eventsBuffer(500,this._layout,this);b.on("destroy",function(){e._removeListeners();e.element.remove()})} -CKEDITOR.plugins.add("notification",{init:function(b){function e(a){var b=new CKEDITOR.dom.element("div");b.setStyles({position:"fixed","margin-left":"-9999px"});b.setAttributes({"aria-live":"assertive","aria-atomic":"true"});b.setText(a);CKEDITOR.document.getBody().append(b);setTimeout(function(){b.remove()},100)}b._.notificationArea=new h(b);b.showNotification=function(a,e,h){var k,c;"progress"==e?k=h:c=h;a=new CKEDITOR.plugins.notification(b,{message:a,type:e,progress:k,duration:c});a.show();return a}; -b.on("key",function(a){if(27==a.data.keyCode){var h=b._.notificationArea.notifications;h.length&&(e(b.lang.notification.closed),h[h.length-1].hide(),a.cancel())}})}});b.prototype={show:function(){!1!==this.editor.fire("notificationShow",{notification:this})&&(this.area.add(this),this._hideAfterTimeout())},update:function(b){var e=!0;!1===this.editor.fire("notificationUpdate",{notification:this,options:b})&&(e=!1);var a=this.element,h=a.findOne(".cke_notification_message"),l=a.findOne(".cke_notification_progress"), -k=b.type;a.removeAttribute("role");b.progress&&"progress"!=this.type&&(k="progress");k&&(a.removeClass(this._getClass()),a.removeAttribute("aria-label"),this.type=k,a.addClass(this._getClass()),a.setAttribute("aria-label",this.type),"progress"!=this.type||l?"progress"!=this.type&&l&&l.remove():(l=this._createProgressElement(),l.insertBefore(h)));void 0!==b.message&&(this.message=b.message,h.setHtml(this.message));void 0!==b.progress&&(this.progress=b.progress,l&&l.setStyle("width",this._getPercentageProgress())); -e&&b.important&&(a.setAttribute("role","alert"),this.isVisible()||this.area.add(this));this.duration=b.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire("notificationHide",{notification:this})&&this.area.remove(this)},isVisible:function(){return 0<=CKEDITOR.tools.indexOf(this.area.notifications,this)},_createElement:function(){var b=this,e,a,h=this.editor.lang.common.close;e=new CKEDITOR.dom.element("div");e.addClass("cke_notification");e.addClass(this._getClass());e.setAttributes({id:this.id, -role:"alert","aria-label":this.type});"progress"==this.type&&e.append(this._createProgressElement());a=new CKEDITOR.dom.element("p");a.addClass("cke_notification_message");a.setHtml(this.message);e.append(a);a=CKEDITOR.dom.element.createFromHtml('\x3ca class\x3d"cke_notification_close" href\x3d"javascript:void(0)" title\x3d"'+h+'" role\x3d"button" tabindex\x3d"-1"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e');e.append(a);a.on("click",function(){b.editor.focus();b.hide()});return e}, -_getClass:function(){return"progress"==this.type?"cke_notification_info":"cke_notification_"+this.type},_createProgressElement:function(){var b=new CKEDITOR.dom.element("span");b.addClass("cke_notification_progress");b.setStyle("width",this._getPercentageProgress());return b},_getPercentageProgress:function(){return Math.round(100*(this.progress||0))+"%"},_hideAfterTimeout:function(){var b=this,e;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);if("number"==typeof this.duration)e=this.duration; -else if("info"==this.type||"success"==this.type)e="number"==typeof this.editor.config.notification_duration?this.editor.config.notification_duration:5E3;e&&(b._hideTimeoutId=setTimeout(function(){b.hide()},e))}};h.prototype={add:function(b){this.notifications.push(b);this.element.append(b.element);1==this.element.getChildCount()&&(CKEDITOR.document.getBody().append(this.element),this._attachListeners());this._layout()},remove:function(b){var e=CKEDITOR.tools.indexOf(this.notifications,b);0>e||(this.notifications.splice(e, -1),b.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var b=this.editor,e=b.config,a=new CKEDITOR.dom.element("div");a.addClass("cke_notifications_area");a.setAttribute("id","cke_notifications_area_"+b.name);a.setStyle("z-index",e.baseFloatZIndex-2);return a},_attachListeners:function(){var b=CKEDITOR.document.getWindow(),e=this.editor;b.on("scroll",this._uiBuffer.input);b.on("resize",this._uiBuffer.input);e.on("change",this._changeBuffer.input); -e.on("floatingSpaceLayout",this._layout,this,null,20);e.on("blur",this._layout,this,null,20)},_removeListeners:function(){var b=CKEDITOR.document.getWindow(),e=this.editor;b.removeListener("scroll",this._uiBuffer.input);b.removeListener("resize",this._uiBuffer.input);e.removeListener("change",this._changeBuffer.input);e.removeListener("floatingSpaceLayout",this._layout);e.removeListener("blur",this._layout)},_layout:function(){function b(){e.setStyle("left",x(t+h.width-n-w))}var e=this.element,a= -this.editor,h=a.ui.contentsElement.getClientRect(),l=a.ui.contentsElement.getDocumentPosition(),k,c,f=e.getClientRect(),d,n=this._notificationWidth,w=this._notificationMargin;d=CKEDITOR.document.getWindow();var v=d.getScrollPosition(),p=d.getViewPaneSize(),r=CKEDITOR.document.getBody(),q=r.getDocumentPosition(),x=CKEDITOR.tools.cssLength;n&&w||(d=this.element.getChild(0),n=this._notificationWidth=d.getClientRect().width,w=this._notificationMargin=parseInt(d.getComputedStyle("margin-left"),10)+parseInt(d.getComputedStyle("margin-right"), -10));a.toolbar&&(k=a.ui.space("top"),c=k.getClientRect());k&&k.isVisible()&&c.bottom>h.top&&c.bottom<h.bottom-f.height?e.setStyles({position:"fixed",top:x(c.bottom)}):0<h.top?e.setStyles({position:"absolute",top:x(l.y)}):l.y+h.height-f.height>v.y?e.setStyles({position:"fixed",top:0}):e.setStyles({position:"absolute",top:x(l.y+h.height-f.height)});var t="fixed"==e.getStyle("position")?h.left:"static"!=r.getComputedStyle("position")?l.x-q.x:l.x;h.width<n+w?l.x+n+w>v.x+p.width?b():e.setStyle("left", -x(t)):l.x+n+w>v.x+p.width?e.setStyle("left",x(t)):l.x+h.width/2+n/2+w>v.x+p.width?e.setStyle("left",x(t-l.x+v.x+p.width-n-w)):0>h.left+h.width-n-w?b():0>h.left+h.width/2-n/2?e.setStyle("left",x(t-l.x+v.x)):e.setStyle("left",x(t+h.width/2-n/2-w/2))}};CKEDITOR.plugins.notification=b})();(function(){var b='\x3ca id\x3d"{id}" class\x3d"cke_button cke_button__{name} cke_button_{state} {cls}"'+(CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' title\x3d"{title}" tabindex\x3d"-1" hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasArrow}" aria-disabled\x3d"{ariaDisabled}"'; +{element:"s",overrides:"strike"};CKEDITOR.config.coreStyles_subscript={element:"sub"};CKEDITOR.config.coreStyles_superscript={element:"sup"};(function(){var b={exec:function(b){var g=b.getCommand("blockquote").state,f=b.getSelection(),a=f&&f.getRanges()[0];if(a){var m=f.createBookmarks();if(CKEDITOR.env.ie){var k=m[0].startNode,l=m[0].endNode,c;if(k&&"blockquote"==k.getParent().getName())for(c=k;c=c.getNext();)if(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()){k.move(c,!0);break}if(l&&"blockquote"== +l.getParent().getName())for(c=l;c=c.getPrevious();)if(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()){l.move(c);break}}var e=a.createIterator();e.enlargeBr=b.config.enterMode!=CKEDITOR.ENTER_BR;if(g==CKEDITOR.TRISTATE_OFF){for(k=[];g=e.getNextParagraph();)k.push(g);1>k.length&&(g=b.document.createElement(b.config.enterMode==CKEDITOR.ENTER_P?"p":"div"),l=m.shift(),a.insertNode(g),g.append(new CKEDITOR.dom.text("",b.document)),a.moveToBookmark(l),a.selectNodeContents(g),a.collapse(!0),l=a.createBookmark(), +k.push(g),m.unshift(l));c=k[0].getParent();a=[];for(l=0;l<k.length;l++)g=k[l],c=c.getCommonAncestor(g.getParent());for(g={table:1,tbody:1,tr:1,ol:1,ul:1};g[c.getName()];)c=c.getParent();for(l=null;0<k.length;){for(g=k.shift();!g.getParent().equals(c);)g=g.getParent();g.equals(l)||a.push(g);l=g}for(;0<a.length;)if(g=a.shift(),"blockquote"==g.getName()){for(l=new CKEDITOR.dom.documentFragment(b.document);g.getFirst();)l.append(g.getFirst().remove()),k.push(l.getLast());l.replace(g)}else k.push(g);a= +b.document.createElement("blockquote");for(a.insertBefore(k[0]);0<k.length;)g=k.shift(),a.append(g)}else if(g==CKEDITOR.TRISTATE_ON){l=[];for(c={};g=e.getNextParagraph();){for(k=a=null;g.getParent();){if("blockquote"==g.getParent().getName()){a=g.getParent();k=g;break}g=g.getParent()}a&&k&&!k.getCustomData("blockquote_moveout")&&(l.push(k),CKEDITOR.dom.element.setMarker(c,k,"blockquote_moveout",!0))}CKEDITOR.dom.element.clearAllMarkers(c);g=[];k=[];for(c={};0<l.length;)e=l.shift(),a=e.getParent(), +e.getPrevious()?e.getNext()?(e.breakParent(e.getParent()),k.push(e.getNext())):e.remove().insertAfter(a):e.remove().insertBefore(a),a.getCustomData("blockquote_processed")||(k.push(a),CKEDITOR.dom.element.setMarker(c,a,"blockquote_processed",!0)),g.push(e);CKEDITOR.dom.element.clearAllMarkers(c);for(l=k.length-1;0<=l;l--){a=k[l];a:{c=a;for(var e=0,d=c.getChildCount(),n=void 0;e<d&&(n=c.getChild(e));e++)if(n.type==CKEDITOR.NODE_ELEMENT&&n.isBlockBoundary()){c=!1;break a}c=!0}c&&a.remove()}if(b.config.enterMode== +CKEDITOR.ENTER_BR)for(a=!0;g.length;)if(e=g.shift(),"div"==e.getName()){l=new CKEDITOR.dom.documentFragment(b.document);!a||!e.getPrevious()||e.getPrevious().type==CKEDITOR.NODE_ELEMENT&&e.getPrevious().isBlockBoundary()||l.append(b.document.createElement("br"));for(a=e.getNext()&&!(e.getNext().type==CKEDITOR.NODE_ELEMENT&&e.getNext().isBlockBoundary());e.getFirst();)e.getFirst().remove().appendTo(l);a&&l.append(b.document.createElement("br"));l.replace(e);a=!1}}f.selectBookmarks(m);b.focus()}},refresh:function(b, +g){this.setState(b.elementPath(g.block||g.blockLimit).contains("blockquote",1)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)},context:"blockquote",allowedContent:"blockquote",requiredContent:"blockquote"};CKEDITOR.plugins.add("blockquote",{init:function(h){h.blockless||(h.addCommand("blockquote",b),h.ui.addButton&&h.ui.addButton("Blockquote",{label:h.lang.blockquote.toolbar,command:"blockquote",toolbar:"blocks,10"}))}})})();"use strict";(function(){function b(b,f){CKEDITOR.tools.extend(this,f,{editor:b, +id:"cke-"+CKEDITOR.tools.getUniqueId(),area:b._.notificationArea});f.type||(this.type="info");this.element=this._createElement();b.plugins.clipboard&&CKEDITOR.plugins.clipboard.preventDefaultDropOnElement(this.element)}function h(b){var f=this;this.editor=b;this.notifications=[];this.element=this._createElement();this._uiBuffer=CKEDITOR.tools.eventsBuffer(10,this._layout,this);this._changeBuffer=CKEDITOR.tools.eventsBuffer(500,this._layout,this);b.on("destroy",function(){f._removeListeners();f.element.remove()})} +CKEDITOR.plugins.add("notification",{init:function(b){function f(a){var b=new CKEDITOR.dom.element("div");b.setStyles({position:"fixed","margin-left":"-9999px"});b.setAttributes({"aria-live":"assertive","aria-atomic":"true"});b.setText(a);CKEDITOR.document.getBody().append(b);setTimeout(function(){b.remove()},100)}b._.notificationArea=new h(b);b.showNotification=function(a,f,h){var l,c;"progress"==f?l=h:c=h;a=new CKEDITOR.plugins.notification(b,{message:a,type:f,progress:l,duration:c});a.show();return a}; +b.on("key",function(a){if(27==a.data.keyCode){var h=b._.notificationArea.notifications;h.length&&(f(b.lang.notification.closed),h[h.length-1].hide(),a.cancel())}})}});b.prototype={show:function(){!1!==this.editor.fire("notificationShow",{notification:this})&&(this.area.add(this),this._hideAfterTimeout())},update:function(b){var f=!0;!1===this.editor.fire("notificationUpdate",{notification:this,options:b})&&(f=!1);var a=this.element,h=a.findOne(".cke_notification_message"),k=a.findOne(".cke_notification_progress"), +l=b.type;a.removeAttribute("role");b.progress&&"progress"!=this.type&&(l="progress");l&&(a.removeClass(this._getClass()),a.removeAttribute("aria-label"),this.type=l,a.addClass(this._getClass()),a.setAttribute("aria-label",this.type),"progress"!=this.type||k?"progress"!=this.type&&k&&k.remove():(k=this._createProgressElement(),k.insertBefore(h)));void 0!==b.message&&(this.message=b.message,h.setHtml(this.message));void 0!==b.progress&&(this.progress=b.progress,k&&k.setStyle("width",this._getPercentageProgress())); +f&&b.important&&(a.setAttribute("role","alert"),this.isVisible()||this.area.add(this));this.duration=b.duration;this._hideAfterTimeout()},hide:function(){!1!==this.editor.fire("notificationHide",{notification:this})&&this.area.remove(this)},isVisible:function(){return 0<=CKEDITOR.tools.indexOf(this.area.notifications,this)},_createElement:function(){var b=this,f,a,h=this.editor.lang.common.close;f=new CKEDITOR.dom.element("div");f.addClass("cke_notification");f.addClass(this._getClass());f.setAttributes({id:this.id, +role:"alert","aria-label":this.type});"progress"==this.type&&f.append(this._createProgressElement());a=new CKEDITOR.dom.element("p");a.addClass("cke_notification_message");a.setHtml(this.message);f.append(a);a=CKEDITOR.dom.element.createFromHtml('\x3ca class\x3d"cke_notification_close" href\x3d"javascript:void(0)" title\x3d"'+h+'" role\x3d"button" tabindex\x3d"-1"\x3e\x3cspan class\x3d"cke_label"\x3eX\x3c/span\x3e\x3c/a\x3e');f.append(a);a.on("click",function(){b.editor.focus();b.hide()});return f}, +_getClass:function(){return"progress"==this.type?"cke_notification_info":"cke_notification_"+this.type},_createProgressElement:function(){var b=new CKEDITOR.dom.element("span");b.addClass("cke_notification_progress");b.setStyle("width",this._getPercentageProgress());return b},_getPercentageProgress:function(){return Math.round(100*(this.progress||0))+"%"},_hideAfterTimeout:function(){var b=this,f;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);if("number"==typeof this.duration)f=this.duration; +else if("info"==this.type||"success"==this.type)f="number"==typeof this.editor.config.notification_duration?this.editor.config.notification_duration:5E3;f&&(b._hideTimeoutId=setTimeout(function(){b.hide()},f))}};h.prototype={add:function(b){this.notifications.push(b);this.element.append(b.element);1==this.element.getChildCount()&&(CKEDITOR.document.getBody().append(this.element),this._attachListeners());this._layout()},remove:function(b){var f=CKEDITOR.tools.indexOf(this.notifications,b);0>f||(this.notifications.splice(f, +1),b.element.remove(),this.element.getChildCount()||(this._removeListeners(),this.element.remove()))},_createElement:function(){var b=this.editor,f=b.config,a=new CKEDITOR.dom.element("div");a.addClass("cke_notifications_area");a.setAttribute("id","cke_notifications_area_"+b.name);a.setStyle("z-index",f.baseFloatZIndex-2);return a},_attachListeners:function(){var b=CKEDITOR.document.getWindow(),f=this.editor;b.on("scroll",this._uiBuffer.input);b.on("resize",this._uiBuffer.input);f.on("change",this._changeBuffer.input); +f.on("floatingSpaceLayout",this._layout,this,null,20);f.on("blur",this._layout,this,null,20)},_removeListeners:function(){var b=CKEDITOR.document.getWindow(),f=this.editor;b.removeListener("scroll",this._uiBuffer.input);b.removeListener("resize",this._uiBuffer.input);f.removeListener("change",this._changeBuffer.input);f.removeListener("floatingSpaceLayout",this._layout);f.removeListener("blur",this._layout)},_layout:function(){function b(){f.setStyle("left",w(t+h.width-n-y))}var f=this.element,a= +this.editor,h=a.ui.contentsElement.getClientRect(),k=a.ui.contentsElement.getDocumentPosition(),l,c,e=f.getClientRect(),d,n=this._notificationWidth,y=this._notificationMargin;d=CKEDITOR.document.getWindow();var x=d.getScrollPosition(),q=d.getViewPaneSize(),r=CKEDITOR.document.getBody(),p=r.getDocumentPosition(),w=CKEDITOR.tools.cssLength;n&&y||(d=this.element.getChild(0),n=this._notificationWidth=d.getClientRect().width,y=this._notificationMargin=parseInt(d.getComputedStyle("margin-left"),10)+parseInt(d.getComputedStyle("margin-right"), +10));a.toolbar&&(l=a.ui.space(a.config.toolbarLocation),c=l.getClientRect());l&&l.isVisible()&&c.bottom>h.top&&c.bottom<h.bottom-e.height?f.setStyles({position:"fixed",top:w(c.bottom)}):0<h.top?f.setStyles({position:"absolute",top:w(k.y)}):k.y+h.height-e.height>x.y?f.setStyles({position:"fixed",top:0}):f.setStyles({position:"absolute",top:w(k.y+h.height-e.height)});var t="fixed"==f.getStyle("position")?h.left:"static"!=r.getComputedStyle("position")?k.x-p.x:k.x;h.width<n+y?k.x+n+y>x.x+q.width?b(): +f.setStyle("left",w(t)):k.x+n+y>x.x+q.width?f.setStyle("left",w(t)):k.x+h.width/2+n/2+y>x.x+q.width?f.setStyle("left",w(t-k.x+x.x+q.width-n-y)):0>h.left+h.width-n-y?b():0>h.left+h.width/2-n/2?f.setStyle("left",w(t-k.x+x.x)):f.setStyle("left",w(t+h.width/2-n/2-y/2))}};CKEDITOR.plugins.notification=b})();(function(){var b='\x3ca id\x3d"{id}" class\x3d"cke_button cke_button__{name} cke_button_{state} {cls}"'+(CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' title\x3d"{title}" tabindex\x3d"-1" hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasArrow}" aria-disabled\x3d"{ariaDisabled}"'; CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(b+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(b+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var h="";CKEDITOR.env.ie&&(h='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26');var b=b+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" onclick\x3d"'+h+'CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{style}"')+ -'\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_button_label cke_button__{name}_label" aria-hidden\x3d"false"\x3e{label}\x3c/span\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_button_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e',g=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":"")+"\x3c/span\x3e"),e=CKEDITOR.addTemplate("button",b);CKEDITOR.plugins.add("button",{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON, -CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON="button";CKEDITOR.ui.button=function(a){CKEDITOR.tools.extend(this,a,{title:a.label,click:a.click||function(b){b.execCommand(a.command)}});this._={}};CKEDITOR.ui.button.handler={create:function(a){return new CKEDITOR.ui.button(a)}};CKEDITOR.ui.button.prototype={render:function(a,b){function h(){var c=a.mode;c&&(c=this.modes[c]?void 0!==k[c]?k[c]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,c=a.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED: -c,this.setState(c),this.refresh&&this.refresh())}var k=null,c=CKEDITOR.env,f=this._.id=CKEDITOR.tools.getNextId(),d="",n=this.command,w,v,p;this._.editor=a;var r={id:f,button:this,editor:a,focus:function(){CKEDITOR.document.getById(f).focus()},execute:function(){this.button.click(a)},attach:function(a){this.button.attach(a)}},q=CKEDITOR.tools.addFunction(function(a){if(r.onkey)return a=new CKEDITOR.dom.event(a),!1!==r.onkey(r,a.getKeystroke())}),x=CKEDITOR.tools.addFunction(function(a){var c;r.onfocus&& -(c=!1!==r.onfocus(r,new CKEDITOR.dom.event(a)));return c}),t=0;r.clickFn=w=CKEDITOR.tools.addFunction(function(){t&&(a.unlockSelection(1),t=0);r.execute();c.iOS&&a.focus()});this.modes?(k={},a.on("beforeModeUnload",function(){a.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(k[a.mode]=this._.state)},this),a.on("activeFilterChange",h,this),a.on("mode",h,this),!this.readOnly&&a.on("readOnly",h,this)):n&&(n=a.getCommand(n))&&(n.on("state",function(){this.setState(n.state)},this),d+=n.state==CKEDITOR.TRISTATE_ON? -"on":n.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");var z;if(this.directional)a.on("contentDirChanged",function(c){var d=CKEDITOR.document.getById(this._.id),b=d.getFirst();c=c.data;c!=a.lang.dir?d.addClass("cke_"+c):d.removeClass("cke_ltr").removeClass("cke_rtl");b.setAttribute("style",CKEDITOR.skin.getIconStyle(z,"rtl"==c,this.icon,this.iconOffset))},this);n?(v=a.getCommandKeystroke(n))&&(p=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,v)):d+="off";v=this.name||this.command;var y= -null,u=this.icon;z=v;this.icon&&!/\./.test(this.icon)?(z=this.icon,u=null):(this.icon&&(y=this.icon),CKEDITOR.env.hidpi&&this.iconHiDpi&&(y=this.iconHiDpi));y?(CKEDITOR.skin.addIcon(y,y),u=null):y=z;d={id:f,name:v,iconName:z,label:this.label,cls:(this.hasArrow?"cke_button_expandable ":"")+(this.className||""),state:d,ariaDisabled:"disabled"==d?"true":"false",title:this.title+(p?" ("+p.display+")":""),ariaShortcut:p?a.lang.common.keyboardShortcut+" "+p.aria:"",titleJs:c.gecko&&!c.hc?"":(this.title|| -"").replace("'",""),hasArrow:"string"===typeof this.hasArrow&&this.hasArrow||(this.hasArrow?"true":"false"),keydownFn:q,focusFn:x,clickFn:w,style:CKEDITOR.skin.getIconStyle(y,"rtl"==a.lang.dir,u,this.iconOffset),arrowHtml:this.hasArrow?g.output():""};e.output(d,b);if(this.onRender)this.onRender();return r},setState:function(a){if(this._.state==a)return!1;this._.state=a;var b=CKEDITOR.document.getById(this._.id);return b?(b.setState(a,"cke_button"),b.setAttribute("aria-disabled",a==CKEDITOR.TRISTATE_DISABLED), +'\x3e\x26nbsp;\x3c/span\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_button_label cke_button__{name}_label" aria-hidden\x3d"false"\x3e{label}\x3c/span\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_button_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e{arrowHtml}\x3c/a\x3e',g=CKEDITOR.addTemplate("buttonArrow",'\x3cspan class\x3d"cke_button_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":"")+"\x3c/span\x3e"),f=CKEDITOR.addTemplate("button",b);CKEDITOR.plugins.add("button",{beforeInit:function(a){a.ui.addHandler(CKEDITOR.UI_BUTTON, +CKEDITOR.ui.button.handler)}});CKEDITOR.UI_BUTTON="button";CKEDITOR.ui.button=function(a){CKEDITOR.tools.extend(this,a,{title:a.label,click:a.click||function(b){b.execCommand(a.command)}});this._={}};CKEDITOR.ui.button.handler={create:function(a){return new CKEDITOR.ui.button(a)}};CKEDITOR.ui.button.prototype={render:function(a,b){function h(){var c=a.mode;c&&(c=this.modes[c]?void 0!==l[c]?l[c]:CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,c=a.readOnly&&!this.readOnly?CKEDITOR.TRISTATE_DISABLED: +c,this.setState(c),this.refresh&&this.refresh())}var l=null,c=CKEDITOR.env,e=this._.id=CKEDITOR.tools.getNextId(),d="",n=this.command,y,x,q;this._.editor=a;var r={id:e,button:this,editor:a,focus:function(){CKEDITOR.document.getById(e).focus()},execute:function(){this.button.click(a)},attach:function(a){this.button.attach(a)}},p=CKEDITOR.tools.addFunction(function(a){if(r.onkey)return a=new CKEDITOR.dom.event(a),!1!==r.onkey(r,a.getKeystroke())}),w=CKEDITOR.tools.addFunction(function(a){var c;r.onfocus&& +(c=!1!==r.onfocus(r,new CKEDITOR.dom.event(a)));return c}),t=0;r.clickFn=y=CKEDITOR.tools.addFunction(function(){t&&(a.unlockSelection(1),t=0);r.execute();c.iOS&&a.focus()});this.modes?(l={},a.on("beforeModeUnload",function(){a.mode&&this._.state!=CKEDITOR.TRISTATE_DISABLED&&(l[a.mode]=this._.state)},this),a.on("activeFilterChange",h,this),a.on("mode",h,this),!this.readOnly&&a.on("readOnly",h,this)):n&&(n=a.getCommand(n))&&(n.on("state",function(){this.setState(n.state)},this),d+=n.state==CKEDITOR.TRISTATE_ON? +"on":n.state==CKEDITOR.TRISTATE_DISABLED?"disabled":"off");var z;if(this.directional)a.on("contentDirChanged",function(c){var d=CKEDITOR.document.getById(this._.id),b=d.getFirst();c=c.data;c!=a.lang.dir?d.addClass("cke_"+c):d.removeClass("cke_ltr").removeClass("cke_rtl");b.setAttribute("style",CKEDITOR.skin.getIconStyle(z,"rtl"==c,this.icon,this.iconOffset))},this);n?(x=a.getCommandKeystroke(n))&&(q=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,x)):d+="off";x=this.name||this.command;var u= +null,v=this.icon;z=x;this.icon&&!/\./.test(this.icon)?(z=this.icon,v=null):(this.icon&&(u=this.icon),CKEDITOR.env.hidpi&&this.iconHiDpi&&(u=this.iconHiDpi));u?(CKEDITOR.skin.addIcon(u,u),v=null):u=z;d={id:e,name:x,iconName:z,label:this.label,cls:(this.hasArrow?"cke_button_expandable ":"")+(this.className||""),state:d,ariaDisabled:"disabled"==d?"true":"false",title:this.title+(q?" ("+q.display+")":""),ariaShortcut:q?a.lang.common.keyboardShortcut+" "+q.aria:"",titleJs:c.gecko&&!c.hc?"":(this.title|| +"").replace("'",""),hasArrow:"string"===typeof this.hasArrow&&this.hasArrow||(this.hasArrow?"true":"false"),keydownFn:p,focusFn:w,clickFn:y,style:CKEDITOR.skin.getIconStyle(u,"rtl"==a.lang.dir,v,this.iconOffset),arrowHtml:this.hasArrow?g.output():""};f.output(d,b);if(this.onRender)this.onRender();return r},setState:function(a){if(this._.state==a)return!1;this._.state=a;var b=CKEDITOR.document.getById(this._.id);return b?(b.setState(a,"cke_button"),b.setAttribute("aria-disabled",a==CKEDITOR.TRISTATE_DISABLED), this.hasArrow?b.setAttribute("aria-expanded",a==CKEDITOR.TRISTATE_ON):a===CKEDITOR.TRISTATE_ON?b.setAttribute("aria-pressed",!0):b.removeAttribute("aria-pressed"),!0):!1},getState:function(){return this._.state},toFeature:function(a){if(this._.feature)return this._.feature;var b=this;this.allowedContent||this.requiredContent||!this.command||(b=a.getCommand(this.command)||b);return this._.feature=b}};CKEDITOR.ui.prototype.addButton=function(a,b){this.add(a,CKEDITOR.UI_BUTTON,b)}})();(function(){function b(a){function b(){for(var c= -e(),d=CKEDITOR.tools.clone(a.config.toolbarGroups)||h(a),f=0;f<d.length;f++){var m=d[f];if("/"!=m){"string"==typeof m&&(m=d[f]={name:m});var r,q=m.groups;if(q)for(var x=0;x<q.length;x++)r=q[x],(r=c[r])&&g(m,r);(r=c[m.name])&&g(m,r)}}return d}function e(){var c={},d,b,f;for(d in a.ui.items)b=a.ui.items[d],f=b.toolbar||"others",f=f.split(","),b=f[0],f=parseInt(f[1]||-1,10),c[b]||(c[b]=[]),c[b].push({name:d,order:f});for(b in c)c[b]=c[b].sort(function(a,c){return a.order==c.order?0:0>c.order?-1:0>a.order? -1:a.order<c.order?-1:1});return c}function g(c,d){if(d.length){c.items?c.items.push(a.ui.create("-")):c.items=[];for(var b;b=d.shift();)b="string"==typeof b?b:b.name,f&&-1!=CKEDITOR.tools.indexOf(f,b)||(b=a.ui.create(b))&&a.addFeature(b)&&c.items.push(b)}}function c(a){var c=[],d,b,f;for(d=0;d<a.length;++d)b=a[d],f={},"/"==b?c.push(b):CKEDITOR.tools.isArray(b)?(g(f,CKEDITOR.tools.clone(b)),c.push(f)):b.items&&(g(f,CKEDITOR.tools.clone(b.items)),f.name=b.name,c.push(f));return c}var f=a.config.removeButtons, -f=f&&f.split(","),d=a.config.toolbar;"string"==typeof d&&(d=a.config["toolbar_"+d]);return a.toolbar=d?c(d):b()}function h(a){return a._.toolbarGroups||(a._.toolbarGroups=[{name:"document",groups:["mode","document","doctools"]},{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker"]},{name:"forms"},"/",{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi"]},{name:"links"},{name:"insert"}, -"/",{name:"styles"},{name:"colors"},{name:"tools"},{name:"others"},{name:"about"}])}var g=function(){this.toolbars=[];this.focusCommandExecuted=!1};g.prototype.focus=function(){for(var a=0,b;b=this.toolbars[a++];)for(var e=0,g;g=b.items[e++];)if(g.focus){g.focus();return}};var e={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(a){a.toolbox&&(a.toolbox.focusCommandExecuted=!0,CKEDITOR.env.ie||CKEDITOR.env.air?setTimeout(function(){a.toolbox.focus()},100):a.toolbox.focus())}};CKEDITOR.plugins.add("toolbar", -{requires:"button",init:function(a){var h,l=function(b,c){var f,d="rtl"==a.lang.dir,e=a.config.toolbarGroupCycling,g=d?37:39,d=d?39:37,e=void 0===e||e;switch(c){case 9:case CKEDITOR.SHIFT+9:for(;!f||!f.items.length;)if(f=9==c?(f?f.next:b.toolbar.next)||a.toolbox.toolbars[0]:(f?f.previous:b.toolbar.previous)||a.toolbox.toolbars[a.toolbox.toolbars.length-1],f.items.length)for(b=f.items[h?f.items.length-1:0];b&&!b.focus;)(b=h?b.previous:b.next)||(f=0);b&&b.focus();return!1;case g:f=b;do f=f.next,!f&& -e&&(f=b.toolbar.items[0]);while(f&&!f.focus);f?f.focus():l(b,9);return!1;case 40:return b.button&&b.button.hasArrow?b.execute():l(b,40==c?g:d),!1;case d:case 38:f=b;do f=f.previous,!f&&e&&(f=b.toolbar.items[b.toolbar.items.length-1]);while(f&&!f.focus);f?f.focus():(h=1,l(b,CKEDITOR.SHIFT+9),h=0);return!1;case 27:return a.focus(),!1;case 13:case 32:return b.execute(),!1}return!0};a.on("uiSpace",function(e){if(e.data.space==a.config.toolbarLocation){e.removeListener();a.toolbox=new g;var c=CKEDITOR.tools.getNextId(), -f=['\x3cspan id\x3d"',c,'" class\x3d"cke_voice_label"\x3e',a.lang.toolbar.toolbars,"\x3c/span\x3e",'\x3cspan id\x3d"'+a.ui.spaceId("toolbox")+'" class\x3d"cke_toolbox" role\x3d"group" aria-labelledby\x3d"',c,'" onmousedown\x3d"return false;"\x3e'],c=!1!==a.config.toolbarStartupExpanded,d,h;a.config.toolbarCanCollapse&&a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&f.push('\x3cspan class\x3d"cke_toolbox_main"'+(c?"\x3e":' style\x3d"display:none"\x3e'));for(var m=a.toolbox.toolbars,v=b(a),p=v.length, -r=0;r<p;r++){var q,x=0,t,z=v[r],y="/"!==z&&("/"===v[r+1]||r==p-1),u;if(z)if(d&&(f.push("\x3c/span\x3e"),h=d=0),"/"===z)f.push('\x3cspan class\x3d"cke_toolbar_break"\x3e\x3c/span\x3e');else{u=z.items||z;for(var B=0;B<u.length;B++){var C=u[B],A;if(C){var E=function(c){c=c.render(a,f);G=x.items.push(c)-1;0<G&&(c.previous=x.items[G-1],c.previous.next=c);c.toolbar=x;c.onkey=l;c.onfocus=function(){a.toolbox.focusCommandExecuted||a.focus()}};if(C.type==CKEDITOR.UI_SEPARATOR)h=d&&C;else{A=!1!==C.canGroup; -if(!x){q=CKEDITOR.tools.getNextId();x={id:q,items:[]};t=z.name&&(a.lang.toolbar.toolbarGroups[z.name]||z.name);f.push('\x3cspan id\x3d"',q,'" class\x3d"cke_toolbar'+(y?' cke_toolbar_last"':'"'),t?' aria-labelledby\x3d"'+q+'_label"':"",' role\x3d"toolbar"\x3e');t&&f.push('\x3cspan id\x3d"',q,'_label" class\x3d"cke_voice_label"\x3e',t,"\x3c/span\x3e");f.push('\x3cspan class\x3d"cke_toolbar_start"\x3e\x3c/span\x3e');var G=m.push(x)-1;0<G&&(x.previous=m[G-1],x.previous.next=x)}A?d||(f.push('\x3cspan class\x3d"cke_toolgroup" role\x3d"presentation"\x3e'), -d=1):d&&(f.push("\x3c/span\x3e"),d=0);h&&(E(h),h=0);E(C)}}}d&&(f.push("\x3c/span\x3e"),h=d=0);x&&f.push('\x3cspan class\x3d"cke_toolbar_end"\x3e\x3c/span\x3e\x3c/span\x3e')}}a.config.toolbarCanCollapse&&f.push("\x3c/span\x3e");if(a.config.toolbarCanCollapse&&a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var I=CKEDITOR.tools.addFunction(function(){a.execCommand("toolbarCollapse")});a.on("destroy",function(){CKEDITOR.tools.removeFunction(I)});a.addCommand("toolbarCollapse",{readOnly:1,exec:function(a){var c= -a.ui.space("toolbar_collapser"),d=c.getPrevious(),b=a.ui.space("contents"),f=d.getParent(),e=parseInt(b.$.style.height,10),g=f.$.offsetHeight,h=c.hasClass("cke_toolbox_collapser_min");h?(d.show(),c.removeClass("cke_toolbox_collapser_min"),c.setAttribute("title",a.lang.toolbar.toolbarCollapse)):(d.hide(),c.addClass("cke_toolbox_collapser_min"),c.setAttribute("title",a.lang.toolbar.toolbarExpand));c.getFirst().setText(h?"▲":"◀");b.setStyle("height",e-(f.$.offsetHeight-g)+"px");a.fire("resize",{outerHeight:a.container.$.offsetHeight, -contentsHeight:b.$.offsetHeight,outerWidth:a.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});a.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),"toolbarCollapse");f.push('\x3ca title\x3d"'+(c?a.lang.toolbar.toolbarCollapse:a.lang.toolbar.toolbarExpand)+'" id\x3d"'+a.ui.spaceId("toolbar_collapser")+'" tabIndex\x3d"-1" class\x3d"cke_toolbox_collapser');c||f.push(" cke_toolbox_collapser_min");f.push('" onclick\x3d"CKEDITOR.tools.callFunction('+I+')"\x3e','\x3cspan class\x3d"cke_arrow"\x3e\x26#9650;\x3c/span\x3e', -"\x3c/a\x3e")}f.push("\x3c/span\x3e");e.data.html+=f.join("")}});a.on("destroy",function(){if(this.toolbox){var a,c=0,b,d,e;for(a=this.toolbox.toolbars;c<a.length;c++)for(d=a[c].items,b=0;b<d.length;b++)e=d[b],e.clickFn&&CKEDITOR.tools.removeFunction(e.clickFn),e.keyDownFn&&CKEDITOR.tools.removeFunction(e.keyDownFn)}});a.on("uiReady",function(){var b=a.ui.space("toolbox");b&&a.focusManager.add(b,1)});a.addCommand("toolbarFocus",e);a.setKeystroke(CKEDITOR.ALT+121,"toolbarFocus");a.ui.add("-",CKEDITOR.UI_SEPARATOR, -{});a.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(a,c){c.push('\x3cspan class\x3d"cke_toolbar_separator" role\x3d"separator"\x3e\x3c/span\x3e');return{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(a,b,e){var g=h(this.editor),c=0===b,f={name:a};if(e){if(e=CKEDITOR.tools.search(g,function(a){return a.name==e})){!e.groups&&(e.groups=[]);if(b&&(b=CKEDITOR.tools.indexOf(e.groups,b),0<=b)){e.groups.splice(b+1,0,a);return}c?e.groups.splice(0,0,a):e.groups.push(a); -return}b=null}b&&(b=CKEDITOR.tools.indexOf(g,function(a){return a.name==b}));c?g.splice(0,0,a):"number"==typeof b?g.splice(b+1,0,f):g.push(a)}})();CKEDITOR.UI_SEPARATOR="separator";CKEDITOR.config.toolbarLocation="top";"use strict";(function(){function b(a,c,b){c.type||(c.type="auto");if(b&&!1===a.fire("beforePaste",c)||!c.dataValue&&c.dataTransfer.isEmpty())return!1;c.dataValue||(c.dataValue="");if(CKEDITOR.env.gecko&&"drop"==c.method&&a.toolbox)a.once("afterPaste",function(){a.toolbox.focus()}); -return a.fire("paste",c)}function h(a){function c(){var b=a.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var f=function(c){a.getSelection().isCollapsed()||(a.readOnly&&"cut"==c.name||A.initPasteDataTransfer(c,a),c.data.preventDefault())};b.on("copy",f);b.on("cut",f);b.on("cut",function(){a.readOnly||a.extractSelectedHtml()},null,null,999)}b.on(A.mainPasteEvent,function(a){"beforepaste"==A.mainPasteEvent&&E||u(a)});"beforepaste"==A.mainPasteEvent&&(b.on("paste",function(a){G|| -(g(),a.data.preventDefault(),u(a),k("paste"))}),b.on("contextmenu",h,null,null,0),b.on("beforepaste",function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||h()},null,null,0));b.on("beforecut",function(){!E&&l(a)});var e;b.attachListener(CKEDITOR.env.ie?b:a.document.getDocumentElement(),"mouseup",function(){e=setTimeout(B,0)});a.on("destroy",function(){clearTimeout(e)});b.on("keyup",B)}function f(c){return{type:c,canUndo:"cut"==c,startDisabled:!0,fakeKeystroke:"cut"==c?CKEDITOR.CTRL+88:CKEDITOR.CTRL+ -67,exec:function(){"cut"==this.type&&l();var c;var b=this.type;if(CKEDITOR.env.ie)c=k(b);else try{c=a.document.$.execCommand(b,!1,null)}catch(f){c=!1}c||a.showNotification(a.lang.clipboard[this.type+"Error"]);return c}}}function e(){return{canUndo:!1,async:!0,fakeKeystroke:CKEDITOR.CTRL+86,exec:function(a,c){function d(c,g){g="undefined"!==typeof g?g:!0;c?(c.method="paste",c.dataTransfer||(c.dataTransfer=A.initPasteDataTransfer()),b(a,c,g)):e&&!a._.forcePasteDialog&&a.showNotification(k,"info",a.config.clipboard_notificationDuration); -a._.forcePasteDialog=!1;a.fire("afterCommandExec",{name:"paste",command:f,returnValue:!!c})}c="undefined"!==typeof c&&null!==c?c:{};var f=this,e="undefined"!==typeof c.notification?c.notification:!0,g=c.type,h=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,a.getCommandKeystroke(this)),k="string"===typeof e?e:a.lang.clipboard.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+h.aria+'"\x3e'+h.display+"\x3c/kbd\x3e"),h="string"===typeof c?c:c.dataValue;g&&!0!==a.config.forcePasteAsPlainText&& -"allow-word"!==a.config.forcePasteAsPlainText?a._.nextPasteType=g:delete a._.nextPasteType;"string"===typeof h?d({dataValue:h}):a.getClipboardData(d)}}}function g(){G=1;setTimeout(function(){G=0},100)}function h(){E=1;setTimeout(function(){E=0},10)}function k(c){var b=a.document,f=b.getBody(),e=!1,g=function(){e=!0};f.on(c,g);7<CKEDITOR.env.version?b.$.execCommand(c):b.$.selection.createRange().execCommand(c);f.removeListener(c,g);return e}function l(){if(CKEDITOR.env.ie&&!CKEDITOR.env.quirks){var c= -a.getSelection(),b,f,e;c.getType()==CKEDITOR.SELECTION_ELEMENT&&(b=c.getSelectedElement())&&(f=c.getRanges()[0],e=a.document.createText(""),e.insertBefore(b),f.setStartBefore(e),f.setEndAfter(b),c.selectRanges([f]),setTimeout(function(){b.getParent()&&(e.remove(),c.selectElement(b))},0))}}function m(c,b){var f=a.document,e=a.editable(),g=function(a){a.cancel()},h;if(!f.getById("cke_pastebin")){var k=a.getSelection(),l=k.createBookmarks();CKEDITOR.env.ie&&k.root.fire("selectionchange");var n=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&& -!e.is("body")||CKEDITOR.env.ie?"div":"body",f);n.setAttributes({id:"cke_pastebin","data-cke-temp":"1"});var q=0,f=f.getWindow();CKEDITOR.env.webkit?(e.append(n),n.addClass("cke_editable"),e.is("body")||(q="static"!=e.getComputedStyle("position")?e:CKEDITOR.dom.element.get(e.$.offsetParent),q=q.getDocumentPosition().y)):e.getAscendant(CKEDITOR.env.ie?"body":"html",1).append(n);n.setStyles({position:"absolute",top:f.getScrollPosition().y-q+10+"px",width:"1px",height:Math.max(1,f.getViewPaneSize().height- -20)+"px",overflow:"hidden",margin:0,padding:0});CKEDITOR.env.safari&&n.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select","text"));(q=n.getParent().isReadOnly())?(n.setOpacity(0),n.setAttribute("contenteditable",!0)):n.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-10000px");a.on("selectionChange",g,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)h=e.once("blur",g,null,null,-100);q&&n.focus();q=new CKEDITOR.dom.range(n);q.selectNodeContents(n);var t=q.select();CKEDITOR.env.ie&& -(h=e.once("blur",function(){a.lockSelection(t)}));var r=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=r);h&&h.removeListener();CKEDITOR.env.ie&&e.focus();k.selectBookmarks(l);n.remove();var c;CKEDITOR.env.webkit&&(c=n.getFirst())&&c.is&&c.hasClass("Apple-style-span")&&(n=c);a.removeListener("selectionChange",g);b(n.getHtml())},0)}}function z(){if("paste"==A.mainPasteEvent)return a.fire("beforePaste",{type:"auto", -method:"paste"}),!1;a.focus();g();var c=a.focusManager;c.lock();if(a.editable().fire(A.mainPasteEvent)&&!k("paste"))return c.unlock(),!1;c.unlock();return!0}function y(c){if("wysiwyg"==a.mode)switch(c.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:c=a.editable();g();"paste"==A.mainPasteEvent&&c.fire("beforepaste");break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:a.fire("saveSnapshot"),setTimeout(function(){a.fire("saveSnapshot")},50)}}function u(c){var f={type:"auto",method:"paste", -dataTransfer:A.initPasteDataTransfer(c)};f.dataTransfer.cacheData();var e=!1!==a.fire("beforePaste",f);e&&A.canClipboardApiBeTrusted(f.dataTransfer,a)?(c.data.preventDefault(),setTimeout(function(){b(a,f)},0)):m(c,function(c){f.dataValue=c.replace(/<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,"");e&&b(a,f)})}function B(){if("wysiwyg"==a.mode){var c=C("paste");a.getCommand("cut").setState(C("cut"));a.getCommand("copy").setState(C("copy"));a.getCommand("paste").setState(c);a.fire("pasteState",c)}}function C(c){var b= -a.getSelection(),b=b&&b.getRanges()[0];if((a.readOnly||b&&b.checkReadOnly())&&c in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if("paste"==c)return CKEDITOR.TRISTATE_OFF;c=a.getSelection();b=c.getRanges();return c.getType()==CKEDITOR.SELECTION_NONE||1==b.length&&b[0].collapsed?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var A=CKEDITOR.plugins.clipboard,E=0,G=0;(function(){a.on("key",y);a.on("contentDom",c);a.on("selectionChange",B);if(a.contextMenu){a.contextMenu.addListener(function(){return{cut:C("cut"), -copy:C("copy"),paste:C("paste")}});var b=null;a.on("menuShow",function(){b&&(b.removeListener(),b=null);var c=a.contextMenu.findItemByCommandName("paste");c&&c.element&&(b=c.element.on("touchend",function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once("instanceReady",function(){a._.pasteButtons&&CKEDITOR.tools.array.forEach(a._.pasteButtons,function(c){if(c=a.ui.get(c))if(c=CKEDITOR.document.getById(c._.id))c.on("touchend",function(){a._.forcePasteDialog=!0})})})})();(function(){function c(b, -f,e,g,h){var k=a.lang.clipboard[f];a.addCommand(f,e);a.ui.addButton&&a.ui.addButton(b,{label:k,command:f,toolbar:"clipboard,"+g});a.addMenuItems&&a.addMenuItem(f,{label:k,command:f,group:"clipboard",order:h})}c("Cut","cut",f("cut"),10,1);c("Copy","copy",f("copy"),20,4);c("Paste","paste",e(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push("Paste")})();a.getClipboardData=function(c,b){function f(a){a.removeListener();a.cancel();b(a.data)}function e(a){a.removeListener();a.cancel(); -b({type:h,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:"paste"})}var g=!1,h="auto";b||(b=c,c=null);a.on("beforePaste",function(a){a.removeListener();g=!0;h=a.data.type},null,null,1E3);a.on("paste",f,null,null,0);!1===z()&&(a.removeListener("paste",f),a._.forcePasteDialog&&g&&a.fire("pasteDialog")?(a.on("pasteDialogCommit",e),a.on("dialogHide",function(a){a.removeListener();a.data.removeListener("pasteDialogCommit",e);a.data._.committed||b(null)})):b(null))}}function g(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^<]*$/g)&& -!a.match(/^(<div><br( ?\/)?><\/div>|<div>[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi)&&!a.match(/^(<p>([^<]|<br( ?\/)?>)*<\/p>|(\r\n))*$/gi))return"html"}else if(CKEDITOR.env.gecko){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi))return"html"}else return"html";return"htmlifiedtext"}function e(a,c){function b(a){return CKEDITOR.tools.repeat("\x3c/p\x3e\x3cp\x3e",~~(a/2))+(1==a%2?"\x3cbr\x3e":"")}c=c.replace(/(?!\u3000)\s+/g," ").replace(/> +</g,"\x3e\x3c").replace(/<br ?\/>/gi, +f(),d=CKEDITOR.tools.clone(a.config.toolbarGroups)||h(a),e=0;e<d.length;e++){var m=d[e];if("/"!=m){"string"==typeof m&&(m=d[e]={name:m});var r,p=m.groups;if(p)for(var w=0;w<p.length;w++)r=p[w],(r=c[r])&&g(m,r);(r=c[m.name])&&g(m,r)}}return d}function f(){var c={},d,b,e;for(d in a.ui.items)b=a.ui.items[d],e=b.toolbar||"others",e=e.split(","),b=e[0],e=parseInt(e[1]||-1,10),c[b]||(c[b]=[]),c[b].push({name:d,order:e});for(b in c)c[b]=c[b].sort(function(a,c){return a.order==c.order?0:0>c.order?-1:0>a.order? +1:a.order<c.order?-1:1});return c}function g(c,d){if(d.length){c.items?c.items.push(a.ui.create("-")):c.items=[];for(var b;b=d.shift();)b="string"==typeof b?b:b.name,e&&-1!=CKEDITOR.tools.indexOf(e,b)||(b=a.ui.create(b))&&a.addFeature(b)&&c.items.push(b)}}function c(a){var c=[],d,b,e;for(d=0;d<a.length;++d)b=a[d],e={},"/"==b?c.push(b):CKEDITOR.tools.isArray(b)?(g(e,CKEDITOR.tools.clone(b)),c.push(e)):b.items&&(g(e,CKEDITOR.tools.clone(b.items)),e.name=b.name,c.push(e));return c}var e=a.config.removeButtons, +e=e&&e.split(","),d=a.config.toolbar;"string"==typeof d&&(d=a.config["toolbar_"+d]);return a.toolbar=d?c(d):b()}function h(a){return a._.toolbarGroups||(a._.toolbarGroups=[{name:"document",groups:["mode","document","doctools"]},{name:"clipboard",groups:["clipboard","undo"]},{name:"editing",groups:["find","selection","spellchecker"]},{name:"forms"},"/",{name:"basicstyles",groups:["basicstyles","cleanup"]},{name:"paragraph",groups:["list","indent","blocks","align","bidi"]},{name:"links"},{name:"insert"}, +"/",{name:"styles"},{name:"colors"},{name:"tools"},{name:"others"},{name:"about"}])}var g=function(){this.toolbars=[];this.focusCommandExecuted=!1};g.prototype.focus=function(){for(var a=0,b;b=this.toolbars[a++];)for(var f=0,g;g=b.items[f++];)if(g.focus){g.focus();return}};var f={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(a){a.toolbox&&(a.toolbox.focusCommandExecuted=!0,CKEDITOR.env.ie||CKEDITOR.env.air?setTimeout(function(){a.toolbox.focus()},100):a.toolbox.focus())}};CKEDITOR.plugins.add("toolbar", +{requires:"button",init:function(a){var h,k=function(b,c){var e,d="rtl"==a.lang.dir,f=a.config.toolbarGroupCycling,g=d?37:39,d=d?39:37,f=void 0===f||f;switch(c){case 9:case CKEDITOR.SHIFT+9:for(;!e||!e.items.length;)if(e=9==c?(e?e.next:b.toolbar.next)||a.toolbox.toolbars[0]:(e?e.previous:b.toolbar.previous)||a.toolbox.toolbars[a.toolbox.toolbars.length-1],e.items.length)for(b=e.items[h?e.items.length-1:0];b&&!b.focus;)(b=h?b.previous:b.next)||(e=0);b&&b.focus();return!1;case g:e=b;do e=e.next,!e&& +f&&(e=b.toolbar.items[0]);while(e&&!e.focus);e?e.focus():k(b,9);return!1;case 40:return b.button&&b.button.hasArrow?b.execute():k(b,40==c?g:d),!1;case d:case 38:e=b;do e=e.previous,!e&&f&&(e=b.toolbar.items[b.toolbar.items.length-1]);while(e&&!e.focus);e?e.focus():(h=1,k(b,CKEDITOR.SHIFT+9),h=0);return!1;case 27:return a.focus(),!1;case 13:case 32:return b.execute(),!1}return!0};a.on("uiSpace",function(f){if(f.data.space==a.config.toolbarLocation){f.removeListener();a.toolbox=new g;var c=CKEDITOR.tools.getNextId(), +e=['\x3cspan id\x3d"',c,'" class\x3d"cke_voice_label"\x3e',a.lang.toolbar.toolbars,"\x3c/span\x3e",'\x3cspan id\x3d"'+a.ui.spaceId("toolbox")+'" class\x3d"cke_toolbox" role\x3d"group" aria-labelledby\x3d"',c,'" onmousedown\x3d"return false;"\x3e'],c=!1!==a.config.toolbarStartupExpanded,d,h;a.config.toolbarCanCollapse&&a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE&&e.push('\x3cspan class\x3d"cke_toolbox_main"'+(c?"\x3e":' style\x3d"display:none"\x3e'));for(var m=a.toolbox.toolbars,x=b(a),q=x.length, +r=0;r<q;r++){var p,w=0,t,z=x[r],u="/"!==z&&("/"===x[r+1]||r==q-1),v;if(z)if(d&&(e.push("\x3c/span\x3e"),h=d=0),"/"===z)e.push('\x3cspan class\x3d"cke_toolbar_break"\x3e\x3c/span\x3e');else{v=z.items||z;for(var C=0;C<v.length;C++){var E=v[C],A;if(E){var B=function(c){c=c.render(a,e);G=w.items.push(c)-1;0<G&&(c.previous=w.items[G-1],c.previous.next=c);c.toolbar=w;c.onkey=k;c.onfocus=function(){a.toolbox.focusCommandExecuted||a.focus()}};if(E.type==CKEDITOR.UI_SEPARATOR)h=d&&E;else{A=!1!==E.canGroup; +if(!w){p=CKEDITOR.tools.getNextId();w={id:p,items:[]};t=z.name&&(a.lang.toolbar.toolbarGroups[z.name]||z.name);e.push('\x3cspan id\x3d"',p,'" class\x3d"cke_toolbar'+(u?' cke_toolbar_last"':'"'),t?' aria-labelledby\x3d"'+p+'_label"':"",' role\x3d"toolbar"\x3e');t&&e.push('\x3cspan id\x3d"',p,'_label" class\x3d"cke_voice_label"\x3e',t,"\x3c/span\x3e");e.push('\x3cspan class\x3d"cke_toolbar_start"\x3e\x3c/span\x3e');var G=m.push(w)-1;0<G&&(w.previous=m[G-1],w.previous.next=w)}A?d||(e.push('\x3cspan class\x3d"cke_toolgroup" role\x3d"presentation"\x3e'), +d=1):d&&(e.push("\x3c/span\x3e"),d=0);h&&(B(h),h=0);B(E)}}}d&&(e.push("\x3c/span\x3e"),h=d=0);w&&e.push('\x3cspan class\x3d"cke_toolbar_end"\x3e\x3c/span\x3e\x3c/span\x3e')}}a.config.toolbarCanCollapse&&e.push("\x3c/span\x3e");if(a.config.toolbarCanCollapse&&a.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var I=CKEDITOR.tools.addFunction(function(){a.execCommand("toolbarCollapse")});a.on("destroy",function(){CKEDITOR.tools.removeFunction(I)});a.addCommand("toolbarCollapse",{readOnly:1,exec:function(a){var c= +a.ui.space("toolbar_collapser"),d=c.getPrevious(),b=a.ui.space("contents"),e=d.getParent(),f=parseInt(b.$.style.height,10),g=e.$.offsetHeight,h=c.hasClass("cke_toolbox_collapser_min");h?(d.show(),c.removeClass("cke_toolbox_collapser_min"),c.setAttribute("title",a.lang.toolbar.toolbarCollapse)):(d.hide(),c.addClass("cke_toolbox_collapser_min"),c.setAttribute("title",a.lang.toolbar.toolbarExpand));c.getFirst().setText(h?"▲":"◀");b.setStyle("height",f-(e.$.offsetHeight-g)+"px");a.fire("resize",{outerHeight:a.container.$.offsetHeight, +contentsHeight:b.$.offsetHeight,outerWidth:a.container.$.offsetWidth})},modes:{wysiwyg:1,source:1}});a.setKeystroke(CKEDITOR.ALT+(CKEDITOR.env.ie||CKEDITOR.env.webkit?189:109),"toolbarCollapse");e.push('\x3ca title\x3d"'+(c?a.lang.toolbar.toolbarCollapse:a.lang.toolbar.toolbarExpand)+'" id\x3d"'+a.ui.spaceId("toolbar_collapser")+'" tabIndex\x3d"-1" class\x3d"cke_toolbox_collapser');c||e.push(" cke_toolbox_collapser_min");e.push('" onclick\x3d"CKEDITOR.tools.callFunction('+I+')"\x3e','\x3cspan class\x3d"cke_arrow"\x3e\x26#9650;\x3c/span\x3e', +"\x3c/a\x3e")}e.push("\x3c/span\x3e");f.data.html+=e.join("")}});a.on("destroy",function(){if(this.toolbox){var a,c=0,b,d,f;for(a=this.toolbox.toolbars;c<a.length;c++)for(d=a[c].items,b=0;b<d.length;b++)f=d[b],f.clickFn&&CKEDITOR.tools.removeFunction(f.clickFn),f.keyDownFn&&CKEDITOR.tools.removeFunction(f.keyDownFn)}});a.on("uiReady",function(){var b=a.ui.space("toolbox");b&&a.focusManager.add(b,1)});a.addCommand("toolbarFocus",f);a.setKeystroke(CKEDITOR.ALT+121,"toolbarFocus");a.ui.add("-",CKEDITOR.UI_SEPARATOR, +{});a.ui.addHandler(CKEDITOR.UI_SEPARATOR,{create:function(){return{render:function(a,c){c.push('\x3cspan class\x3d"cke_toolbar_separator" role\x3d"separator"\x3e\x3c/span\x3e');return{}}}}})}});CKEDITOR.ui.prototype.addToolbarGroup=function(a,b,f){var g=h(this.editor),c=0===b,e={name:a};if(f){if(f=CKEDITOR.tools.search(g,function(a){return a.name==f})){!f.groups&&(f.groups=[]);if(b&&(b=CKEDITOR.tools.indexOf(f.groups,b),0<=b)){f.groups.splice(b+1,0,a);return}c?f.groups.splice(0,0,a):f.groups.push(a); +return}b=null}b&&(b=CKEDITOR.tools.indexOf(g,function(a){return a.name==b}));c?g.splice(0,0,a):"number"==typeof b?g.splice(b+1,0,e):g.push(a)}})();CKEDITOR.UI_SEPARATOR="separator";CKEDITOR.config.toolbarLocation="top";"use strict";(function(){function b(a,c,b){c.type||(c.type="auto");if(b&&!1===a.fire("beforePaste",c)||!c.dataValue&&c.dataTransfer.isEmpty())return!1;c.dataValue||(c.dataValue="");if(CKEDITOR.env.gecko&&"drop"==c.method&&a.toolbox)a.once("afterPaste",function(){a.toolbox.focus()}); +return a.fire("paste",c)}function h(a){function c(){var b=a.editable();if(CKEDITOR.plugins.clipboard.isCustomCopyCutSupported){var e=function(c){a.getSelection().isCollapsed()||(a.readOnly&&"cut"==c.name||A.initPasteDataTransfer(c,a),c.data.preventDefault())};b.on("copy",e);b.on("cut",e);b.on("cut",function(){a.readOnly||a.extractSelectedHtml()},null,null,999)}b.on(A.mainPasteEvent,function(a){"beforepaste"==A.mainPasteEvent&&B||v(a)});"beforepaste"==A.mainPasteEvent&&(b.on("paste",function(a){G|| +(g(),a.data.preventDefault(),v(a),k("paste"))}),b.on("contextmenu",h,null,null,0),b.on("beforepaste",function(a){!a.data||a.data.$.ctrlKey||a.data.$.shiftKey||h()},null,null,0));b.on("beforecut",function(){!B&&l(a)});var f;b.attachListener(CKEDITOR.env.ie?b:a.document.getDocumentElement(),"mouseup",function(){f=setTimeout(C,0)});a.on("destroy",function(){clearTimeout(f)});b.on("keyup",C)}function e(c){return{type:c,canUndo:"cut"==c,startDisabled:!0,fakeKeystroke:"cut"==c?CKEDITOR.CTRL+88:CKEDITOR.CTRL+ +67,exec:function(){"cut"==this.type&&l();var c;var b=this.type;if(CKEDITOR.env.ie)c=k(b);else try{c=a.document.$.execCommand(b,!1,null)}catch(e){c=!1}c||a.showNotification(a.lang.clipboard[this.type+"Error"]);return c}}}function f(){return{canUndo:!1,async:!0,fakeKeystroke:CKEDITOR.CTRL+86,exec:function(a,c){function d(c,g){g="undefined"!==typeof g?g:!0;c?(c.method="paste",c.dataTransfer||(c.dataTransfer=A.initPasteDataTransfer()),b(a,c,g)):f&&!a._.forcePasteDialog&&a.showNotification(k,"info",a.config.clipboard_notificationDuration); +a._.forcePasteDialog=!1;a.fire("afterCommandExec",{name:"paste",command:e,returnValue:!!c})}c="undefined"!==typeof c&&null!==c?c:{};var e=this,f="undefined"!==typeof c.notification?c.notification:!0,g=c.type,h=CKEDITOR.tools.keystrokeToString(a.lang.common.keyboard,a.getCommandKeystroke(this)),k="string"===typeof f?f:a.lang.clipboard.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+h.aria+'"\x3e'+h.display+"\x3c/kbd\x3e"),h="string"===typeof c?c:c.dataValue;g&&!0!==a.config.forcePasteAsPlainText&& +"allow-word"!==a.config.forcePasteAsPlainText?a._.nextPasteType=g:delete a._.nextPasteType;"string"===typeof h?d({dataValue:h}):a.getClipboardData(d)}}}function g(){G=1;setTimeout(function(){G=0},100)}function h(){B=1;setTimeout(function(){B=0},10)}function k(c){var b=a.document,e=b.getBody(),f=!1,g=function(){f=!0};e.on(c,g);7<CKEDITOR.env.version?b.$.execCommand(c):b.$.selection.createRange().execCommand(c);e.removeListener(c,g);return f}function l(){if(CKEDITOR.env.ie&&!CKEDITOR.env.quirks){var c= +a.getSelection(),b,e,f;c.getType()==CKEDITOR.SELECTION_ELEMENT&&(b=c.getSelectedElement())&&(e=c.getRanges()[0],f=a.document.createText(""),f.insertBefore(b),e.setStartBefore(f),e.setEndAfter(b),c.selectRanges([e]),setTimeout(function(){b.getParent()&&(f.remove(),c.selectElement(b))},0))}}function m(c,b){var e=a.document,f=a.editable(),g=function(a){a.cancel()},h;if(!e.getById("cke_pastebin")){var k=a.getSelection(),n=k.createBookmarks();CKEDITOR.env.ie&&k.root.fire("selectionchange");var l=new CKEDITOR.dom.element(!CKEDITOR.env.webkit&& +!f.is("body")||CKEDITOR.env.ie?"div":"body",e);l.setAttributes({id:"cke_pastebin","data-cke-temp":"1"});var p=0,e=e.getWindow();CKEDITOR.env.webkit?(f.append(l),l.addClass("cke_editable"),f.is("body")||(p="static"!=f.getComputedStyle("position")?f:CKEDITOR.dom.element.get(f.$.offsetParent),p=p.getDocumentPosition().y)):f.getAscendant(CKEDITOR.env.ie?"body":"html",1).append(l);l.setStyles({position:"absolute",top:e.getScrollPosition().y-p+10+"px",width:"1px",height:Math.max(1,e.getViewPaneSize().height- +20)+"px",overflow:"hidden",margin:0,padding:0});CKEDITOR.env.safari&&l.setStyles(CKEDITOR.tools.cssVendorPrefix("user-select","text"));(p=l.getParent().isReadOnly())?(l.setOpacity(0),l.setAttribute("contenteditable",!0)):l.setStyle("ltr"==a.config.contentsLangDirection?"left":"right","-10000px");a.on("selectionChange",g,null,null,0);if(CKEDITOR.env.webkit||CKEDITOR.env.gecko)h=f.once("blur",g,null,null,-100);p&&l.focus();p=new CKEDITOR.dom.range(l);p.selectNodeContents(l);var t=p.select();CKEDITOR.env.ie&& +(h=f.once("blur",function(){a.lockSelection(t)}));var r=CKEDITOR.document.getWindow().getScrollPosition().y;setTimeout(function(){CKEDITOR.env.webkit&&(CKEDITOR.document.getBody().$.scrollTop=r);h&&h.removeListener();CKEDITOR.env.ie&&f.focus();k.selectBookmarks(n);l.remove();var c;CKEDITOR.env.webkit&&(c=l.getFirst())&&c.is&&c.hasClass("Apple-style-span")&&(l=c);a.removeListener("selectionChange",g);b(l.getHtml())},0)}}function z(){if("paste"==A.mainPasteEvent)return a.fire("beforePaste",{type:"auto", +method:"paste"}),!1;a.focus();g();var c=a.focusManager;c.lock();if(a.editable().fire(A.mainPasteEvent)&&!k("paste"))return c.unlock(),!1;c.unlock();return!0}function u(c){if("wysiwyg"==a.mode)switch(c.data.keyCode){case CKEDITOR.CTRL+86:case CKEDITOR.SHIFT+45:c=a.editable();g();"paste"==A.mainPasteEvent&&c.fire("beforepaste");break;case CKEDITOR.CTRL+88:case CKEDITOR.SHIFT+46:a.fire("saveSnapshot"),setTimeout(function(){a.fire("saveSnapshot")},50)}}function v(c){var e={type:"auto",method:"paste", +dataTransfer:A.initPasteDataTransfer(c)};e.dataTransfer.cacheData();var f=!1!==a.fire("beforePaste",e);f&&A.canClipboardApiBeTrusted(e.dataTransfer,a)?(c.data.preventDefault(),setTimeout(function(){b(a,e)},0)):m(c,function(c){e.dataValue=c.replace(/<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,"");f&&b(a,e)})}function C(){if("wysiwyg"==a.mode){var c=E("paste");a.getCommand("cut").setState(E("cut"));a.getCommand("copy").setState(E("copy"));a.getCommand("paste").setState(c);a.fire("pasteState",c)}}function E(c){var b= +a.getSelection(),b=b&&b.getRanges()[0];if((a.readOnly||b&&b.checkReadOnly())&&c in{paste:1,cut:1})return CKEDITOR.TRISTATE_DISABLED;if("paste"==c)return CKEDITOR.TRISTATE_OFF;c=a.getSelection();b=c.getRanges();return c.getType()==CKEDITOR.SELECTION_NONE||1==b.length&&b[0].collapsed?CKEDITOR.TRISTATE_DISABLED:CKEDITOR.TRISTATE_OFF}var A=CKEDITOR.plugins.clipboard,B=0,G=0;(function(){a.on("key",u);a.on("contentDom",c);a.on("selectionChange",C);if(a.contextMenu){a.contextMenu.addListener(function(){return{cut:E("cut"), +copy:E("copy"),paste:E("paste")}});var b=null;a.on("menuShow",function(){b&&(b.removeListener(),b=null);var c=a.contextMenu.findItemByCommandName("paste");c&&c.element&&(b=c.element.on("touchend",function(){a._.forcePasteDialog=!0}))})}if(a.ui.addButton)a.once("instanceReady",function(){a._.pasteButtons&&CKEDITOR.tools.array.forEach(a._.pasteButtons,function(c){if(c=a.ui.get(c))if(c=CKEDITOR.document.getById(c._.id))c.on("touchend",function(){a._.forcePasteDialog=!0})})})})();(function(){function c(b, +e,f,g,h){var k=a.lang.clipboard[e];a.addCommand(e,f);a.ui.addButton&&a.ui.addButton(b,{label:k,command:e,toolbar:"clipboard,"+g});a.addMenuItems&&a.addMenuItem(e,{label:k,command:e,group:"clipboard",order:h})}c("Cut","cut",e("cut"),10,1);c("Copy","copy",e("copy"),20,4);c("Paste","paste",f(),30,8);a._.pasteButtons||(a._.pasteButtons=[]);a._.pasteButtons.push("Paste")})();a.getClipboardData=function(c,b){function e(a){a.removeListener();a.cancel();b(a.data)}function f(a){a.removeListener();a.cancel(); +b({type:h,dataValue:a.data.dataValue,dataTransfer:a.data.dataTransfer,method:"paste"})}var g=!1,h="auto";b||(b=c,c=null);a.on("beforePaste",function(a){a.removeListener();g=!0;h=a.data.type},null,null,1E3);a.on("paste",e,null,null,0);!1===z()&&(a.removeListener("paste",e),a._.forcePasteDialog&&g&&a.fire("pasteDialog")?(a.on("pasteDialogCommit",f),a.on("dialogHide",function(a){a.removeListener();a.data.removeListener("pasteDialogCommit",f);a.data._.committed||b(null)})):b(null))}}function g(a){if(CKEDITOR.env.webkit){if(!a.match(/^[^<]*$/g)&& +!a.match(/^(<div><br( ?\/)?><\/div>|<div>[^<]*<\/div>)*$/gi))return"html"}else if(CKEDITOR.env.ie){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi)&&!a.match(/^(<p>([^<]|<br( ?\/)?>)*<\/p>|(\r\n))*$/gi))return"html"}else if(CKEDITOR.env.gecko){if(!a.match(/^([^<]|<br( ?\/)?>)*$/gi))return"html"}else return"html";return"htmlifiedtext"}function f(a,c){function b(a){return CKEDITOR.tools.repeat("\x3c/p\x3e\x3cp\x3e",~~(a/2))+(1==a%2?"\x3cbr\x3e":"")}c=c.replace(/(?!\u3000)\s+/g," ").replace(/> +</g,"\x3e\x3c").replace(/<br ?\/>/gi, "\x3cbr\x3e");c=c.replace(/<\/?[A-Z]+>/g,function(a){return a.toLowerCase()});if(c.match(/^[^<]$/))return c;CKEDITOR.env.webkit&&-1<c.indexOf("\x3cdiv\x3e")&&(c=c.replace(/^(<div>(<br>|)<\/div>)(?!$|(<div>(<br>|)<\/div>))/g,"\x3cbr\x3e").replace(/^(<div>(<br>|)<\/div>){2}(?!$)/g,"\x3cdiv\x3e\x3c/div\x3e"),c.match(/<div>(<br>|)<\/div>/)&&(c="\x3cp\x3e"+c.replace(/(<div>(<br>|)<\/div>)+/g,function(a){return b(a.split("\x3c/div\x3e\x3cdiv\x3e").length+1)})+"\x3c/p\x3e"),c=c.replace(/<\/div><div>/g,"\x3cbr\x3e"), -c=c.replace(/<\/?div>/g,""));CKEDITOR.env.gecko&&a.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(c=c.replace(/^<br><br>$/,"\x3cbr\x3e")),-1<c.indexOf("\x3cbr\x3e\x3cbr\x3e")&&(c="\x3cp\x3e"+c.replace(/(<br>){2,}/g,function(a){return b(a.length/4)})+"\x3c/p\x3e"));return l(a,c)}function a(a){function c(){var a={},b;for(b in CKEDITOR.dtd)"$"!=b.charAt(0)&&"div"!=b&&"span"!=b&&(a[b]=1);return a}var b={};return{get:function(f){return"plain-text"==f?b.plainText||(b.plainText=new CKEDITOR.filter(a, -"br")):"semantic-content"==f?((f=b.semanticContent)||(f=new CKEDITOR.filter(a,{}),f.allow({$1:{elements:c(),attributes:!0,styles:!1,classes:!1}}),f=b.semanticContent=f),f):f?new CKEDITOR.filter(a,f):null}}}function m(a,c,b){c=CKEDITOR.htmlParser.fragment.fromHtml(c);var f=new CKEDITOR.htmlParser.basicWriter;b.applyTo(c,!0,!1,a.activeEnterMode);c.writeHtml(f);return f.getHtml()}function l(a,c){a.enterMode==CKEDITOR.ENTER_BR?c=c.replace(/(<\/p><p>)+/g,function(a){return CKEDITOR.tools.repeat("\x3cbr\x3e", -a.length/7*2)}).replace(/<\/?p>/g,""):a.enterMode==CKEDITOR.ENTER_DIV&&(c=c.replace(/<(\/)?p>/g,"\x3c$1div\x3e"));return c}function k(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect="none"}function c(a){var c=CKEDITOR.plugins.clipboard;a.on("contentDom",function(){function f(c,e,g){e.select();b(a,{dataTransfer:g,method:"drop"},1);g.sourceEditor.fire("saveSnapshot");g.sourceEditor.editable().extractHtmlFromRange(c);g.sourceEditor.getSelection().selectRanges([c]);g.sourceEditor.fire("saveSnapshot")} -function e(f,g){f.select();b(a,{dataTransfer:g,method:"drop"},1);c.resetDragDataTransfer()}function g(c,b,f){var e={$:c.data.$,target:c.data.getTarget()};b&&(e.dragRange=b);f&&(e.dropRange=f);!1===a.fire(c.name,e)&&c.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()}var k=a.editable(),l=CKEDITOR.plugins.clipboard.getDropTarget(a),m=a.ui.space("top"),z=a.ui.space("bottom");c.preventDefaultDropOnElement(m);c.preventDefaultDropOnElement(z); +c=c.replace(/<\/?div>/g,""));CKEDITOR.env.gecko&&a.enterMode!=CKEDITOR.ENTER_BR&&(CKEDITOR.env.gecko&&(c=c.replace(/^<br><br>$/,"\x3cbr\x3e")),-1<c.indexOf("\x3cbr\x3e\x3cbr\x3e")&&(c="\x3cp\x3e"+c.replace(/(<br>){2,}/g,function(a){return b(a.length/4)})+"\x3c/p\x3e"));return k(a,c)}function a(a){function c(){var a={},b;for(b in CKEDITOR.dtd)"$"!=b.charAt(0)&&"div"!=b&&"span"!=b&&(a[b]=1);return a}var b={};return{get:function(e){return"plain-text"==e?b.plainText||(b.plainText=new CKEDITOR.filter(a, +"br")):"semantic-content"==e?((e=b.semanticContent)||(e=new CKEDITOR.filter(a,{}),e.allow({$1:{elements:c(),attributes:!0,styles:!1,classes:!1}}),e=b.semanticContent=e),e):e?new CKEDITOR.filter(a,e):null}}}function m(a,c,b){c=CKEDITOR.htmlParser.fragment.fromHtml(c);var e=new CKEDITOR.htmlParser.basicWriter;b.applyTo(c,!0,!1,a.activeEnterMode);c.writeHtml(e);return e.getHtml()}function k(a,c){a.enterMode==CKEDITOR.ENTER_BR?c=c.replace(/(<\/p><p>)+/g,function(a){return CKEDITOR.tools.repeat("\x3cbr\x3e", +a.length/7*2)}).replace(/<\/?p>/g,""):a.enterMode==CKEDITOR.ENTER_DIV&&(c=c.replace(/<(\/)?p>/g,"\x3c$1div\x3e"));return c}function l(a){a.data.preventDefault();a.data.$.dataTransfer.dropEffect="none"}function c(a){var c=CKEDITOR.plugins.clipboard;a.on("contentDom",function(){function e(c,f,g){f.select();b(a,{dataTransfer:g,method:"drop"},1);g.sourceEditor.fire("saveSnapshot");g.sourceEditor.editable().extractHtmlFromRange(c);g.sourceEditor.getSelection().selectRanges([c]);g.sourceEditor.fire("saveSnapshot")} +function f(e,g){e.select();b(a,{dataTransfer:g,method:"drop"},1);c.resetDragDataTransfer()}function g(c,b,e){var f={$:c.data.$,target:c.data.getTarget()};b&&(f.dragRange=b);e&&(f.dropRange=e);!1===a.fire(c.name,f)&&c.data.preventDefault()}function h(a){a.type!=CKEDITOR.NODE_ELEMENT&&(a=a.getParent());return a.getChildCount()}var k=a.editable(),l=CKEDITOR.plugins.clipboard.getDropTarget(a),m=a.ui.space("top"),z=a.ui.space("bottom");c.preventDefaultDropOnElement(m);c.preventDefaultDropOnElement(z); k.attachListener(l,"dragstart",g);k.attachListener(a,"dragstart",c.resetDragDataTransfer,c,null,1);k.attachListener(a,"dragstart",function(b){c.initDragDataTransfer(b,a)},null,null,2);k.attachListener(a,"dragstart",function(){var b=c.dragRange=a.getSelection().getRanges()[0];CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(c.dragStartContainerChildCount=b?h(b.startContainer):null,c.dragEndContainerChildCount=b?h(b.endContainer):null)},null,null,100);k.attachListener(l,"dragend",g);k.attachListener(a,"dragend", -c.initDragDataTransfer,c,null,1);k.attachListener(a,"dragend",c.resetDragDataTransfer,c,null,100);k.attachListener(l,"dragover",function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var c=a.data.getTarget();c&&c.is&&c.is("html")?a.data.preventDefault():CKEDITOR.env.ie&&CKEDITOR.plugins.clipboard.isFileApiSupported&&a.data.$.dataTransfer.types.contains("Files")&&a.data.preventDefault()}});k.attachListener(l,"drop",function(b){if(!b.data.$.defaultPrevented&&(b.data.preventDefault(),!a.readOnly)){var f= -b.data.getTarget();if(!f.isReadOnly()||f.type==CKEDITOR.NODE_ELEMENT&&f.is("html")){var f=c.getRangeAtDropPosition(b,a),e=c.dragRange;f&&g(b,e,f)}}},null,null,9999);k.attachListener(a,"drop",c.initDragDataTransfer,c,null,1);k.attachListener(a,"drop",function(b){if(b=b.data){var g=b.dropRange,h=b.dragRange,k=b.dataTransfer;k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL?setTimeout(function(){c.internalDrop(h,g,k,a)},0):k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?f(h,g,k):e(g,k)}}, -null,null,9999)})}var f;CKEDITOR.plugins.add("clipboard",{requires:"dialog,notification,toolbar",init:function(b){function f(a){if(!a||r===a.id)return!1;var c=a.getTypes(),c=1===c.length&&"Files"===c[0];a=1===a.getFilesCount();return c&&a}var k,l=a(b);b.config.forcePasteAsPlainText?k="plain-text":b.config.pasteFilter?k=b.config.pasteFilter:!CKEDITOR.env.webkit||"pasteFilter"in b.config||(k="semantic-content");b.pasteFilter=l.get(k);h(b);c(b);CKEDITOR.dialog.add("paste",CKEDITOR.getUrl(this.path+"dialogs/paste.js")); -if(CKEDITOR.env.gecko){var p=["image/png","image/jpeg","image/gif"],r;b.on("paste",function(a){var c=a.data,e=c.dataTransfer;if(!c.dataValue&&"paste"==c.method&&f(e)&&(e=e.getFile(0),-1!=CKEDITOR.tools.indexOf(p,e.type))){var g=new FileReader;g.addEventListener("load",function(){a.data.dataValue='\x3cimg src\x3d"'+g.result+'" /\x3e';b.fire("paste",a.data)},!1);g.addEventListener("abort",function(){b.fire("paste",a.data)},!1);g.addEventListener("error",function(){b.fire("paste",a.data)},!1);g.readAsDataURL(e); -r=c.dataTransfer.id;a.stop()}},null,null,1)}b.on("paste",function(a){a.data.dataTransfer||(a.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!a.data.dataValue){var c=a.data.dataTransfer,f=c.getData("text/html");if(f)a.data.dataValue=f,a.data.type="html";else if(f=c.getData("text/plain"))a.data.dataValue=b.editable().transformPlainTextToHtml(f),a.data.type="text"}},null,null,1);b.on("paste",function(a){var c=a.data.dataValue,b=CKEDITOR.dtd.$block;-1<c.indexOf("Apple-")&&(c=c.replace(/<span class="Apple-converted-space"> <\/span>/gi, -" "),"html"!=a.data.type&&(c=c.replace(/<span class="Apple-tab-span"[^>]*>([^<]*)<\/span>/gi,function(a,c){return c.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;")})),-1<c.indexOf('\x3cbr class\x3d"Apple-interchange-newline"\x3e')&&(a.data.startsWithEOL=1,a.data.preSniffing="html",c=c.replace(/<br class="Apple-interchange-newline">/,"")),c=c.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));if(c.match(/^<[^<]+cke_(editable|contents)/i)){var d,f,e=new CKEDITOR.dom.element("div");for(e.setHtml(c);1==e.getChildCount()&& -(d=e.getFirst())&&d.type==CKEDITOR.NODE_ELEMENT&&(d.hasClass("cke_editable")||d.hasClass("cke_contents"));)e=f=d;f&&(c=f.getHtml().replace(/<br>$/i,""))}CKEDITOR.env.ie?c=c.replace(/^ (?: |\r\n)?<(\w+)/g,function(c,d){return d.toLowerCase()in b?(a.data.preSniffing="html","\x3c"+d):c}):CKEDITOR.env.webkit?c=c.replace(/<\/(\w+)><div><br><\/div>$/,function(c,d){return d in b?(a.data.endsWithEOL=1,"\x3c/"+d+"\x3e"):c}):CKEDITOR.env.gecko&&(c=c.replace(/(\s)<br>$/,"$1"));a.data.dataValue=c},null, -null,3);b.on("paste",function(a){a=a.data;var c=b._.nextPasteType||a.type,f=a.dataValue,h,k=b.config.clipboard_defaultContentType||"html",n=a.dataTransfer.getTransferType(b)==CKEDITOR.DATA_TRANSFER_EXTERNAL,r=!0===b.config.forcePasteAsPlainText;h="html"==c||"html"==a.preSniffing?"html":g(f);delete b._.nextPasteType;"htmlifiedtext"==h&&(f=e(b.config,f));if("text"==c&&"html"==h)f=m(b,f,l.get("plain-text"));else if(n&&b.pasteFilter&&!a.dontFilter||r)f=m(b,f,b.pasteFilter);a.startsWithEOL&&(f='\x3cbr data-cke-eol\x3d"1"\x3e'+ -f);a.endsWithEOL&&(f+='\x3cbr data-cke-eol\x3d"1"\x3e');"auto"==c&&(c="html"==h||"html"==k?"html":"text");a.type=c;a.dataValue=f;delete a.preSniffing;delete a.startsWithEOL;delete a.endsWithEOL},null,null,6);b.on("paste",function(a){a=a.data;a.dataValue&&(b.insertHtml(a.dataValue,a.type,a.range),setTimeout(function(){b.fire("afterPaste")},0))},null,null,1E3);b.on("pasteDialog",function(a){setTimeout(function(){b.openDialog("paste",a.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:CKEDITOR.env.ie&& +c.initDragDataTransfer,c,null,1);k.attachListener(a,"dragend",c.resetDragDataTransfer,c,null,100);k.attachListener(l,"dragover",function(a){if(CKEDITOR.env.edge)a.data.preventDefault();else{var c=a.data.getTarget();c&&c.is&&c.is("html")?a.data.preventDefault():CKEDITOR.env.ie&&CKEDITOR.plugins.clipboard.isFileApiSupported&&a.data.$.dataTransfer.types.contains("Files")&&a.data.preventDefault()}});k.attachListener(l,"drop",function(b){if(!b.data.$.defaultPrevented&&(b.data.preventDefault(),!a.readOnly)){var e= +b.data.getTarget();if(!e.isReadOnly()||e.type==CKEDITOR.NODE_ELEMENT&&e.is("html")){var e=c.getRangeAtDropPosition(b,a),f=c.dragRange;e&&g(b,f,e)}}},null,null,9999);k.attachListener(a,"drop",c.initDragDataTransfer,c,null,1);k.attachListener(a,"drop",function(b){if(b=b.data){var g=b.dropRange,h=b.dragRange,k=b.dataTransfer;k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_INTERNAL?setTimeout(function(){c.internalDrop(h,g,k,a)},0):k.getTransferType(a)==CKEDITOR.DATA_TRANSFER_CROSS_EDITORS?e(h,g,k):f(g,k)}}, +null,null,9999)})}var e;CKEDITOR.plugins.add("clipboard",{requires:"dialog,notification,toolbar",init:function(b){function e(a){if(!a||r===a.id)return!1;var c=a.getTypes(),c=1===c.length&&"Files"===c[0];a=1===a.getFilesCount();return c&&a}var k,l=a(b);b.config.forcePasteAsPlainText?k="plain-text":b.config.pasteFilter?k=b.config.pasteFilter:!CKEDITOR.env.webkit||"pasteFilter"in b.config||(k="semantic-content");b.pasteFilter=l.get(k);h(b);c(b);CKEDITOR.dialog.add("paste",CKEDITOR.getUrl(this.path+"dialogs/paste.js")); +if(CKEDITOR.env.gecko){var q=["image/png","image/jpeg","image/gif"],r;b.on("paste",function(a){var c=a.data,f=c.dataTransfer;if(!c.dataValue&&"paste"==c.method&&e(f)&&(f=f.getFile(0),-1!=CKEDITOR.tools.indexOf(q,f.type))){var g=new FileReader;g.addEventListener("load",function(){a.data.dataValue='\x3cimg src\x3d"'+g.result+'" /\x3e';b.fire("paste",a.data)},!1);g.addEventListener("abort",function(){b.fire("paste",a.data)},!1);g.addEventListener("error",function(){b.fire("paste",a.data)},!1);g.readAsDataURL(f); +r=c.dataTransfer.id;a.stop()}},null,null,1)}b.on("paste",function(a){a.data.dataTransfer||(a.data.dataTransfer=new CKEDITOR.plugins.clipboard.dataTransfer);if(!a.data.dataValue){var c=a.data.dataTransfer,e=c.getData("text/html");if(e)a.data.dataValue=e,a.data.type="html";else if(e=c.getData("text/plain"))a.data.dataValue=b.editable().transformPlainTextToHtml(e),a.data.type="text"}},null,null,1);b.on("paste",function(a){var c=a.data.dataValue,b=CKEDITOR.dtd.$block;-1<c.indexOf("Apple-")&&(c=c.replace(/<span class="Apple-converted-space"> <\/span>/gi, +" "),"html"!=a.data.type&&(c=c.replace(/<span class="Apple-tab-span"[^>]*>([^<]*)<\/span>/gi,function(a,c){return c.replace(/\t/g,"\x26nbsp;\x26nbsp; \x26nbsp;")})),-1<c.indexOf('\x3cbr class\x3d"Apple-interchange-newline"\x3e')&&(a.data.startsWithEOL=1,a.data.preSniffing="html",c=c.replace(/<br class="Apple-interchange-newline">/,"")),c=c.replace(/(<[^>]+) class="Apple-[^"]*"/gi,"$1"));if(c.match(/^<[^<]+cke_(editable|contents)/i)){var d,e,f=new CKEDITOR.dom.element("div");for(f.setHtml(c);1==f.getChildCount()&& +(d=f.getFirst())&&d.type==CKEDITOR.NODE_ELEMENT&&(d.hasClass("cke_editable")||d.hasClass("cke_contents"));)f=e=d;e&&(c=e.getHtml().replace(/<br>$/i,""))}CKEDITOR.env.ie?c=c.replace(/^ (?: |\r\n)?<(\w+)/g,function(c,d){return d.toLowerCase()in b?(a.data.preSniffing="html","\x3c"+d):c}):CKEDITOR.env.webkit?c=c.replace(/<\/(\w+)><div><br><\/div>$/,function(c,d){return d in b?(a.data.endsWithEOL=1,"\x3c/"+d+"\x3e"):c}):CKEDITOR.env.gecko&&(c=c.replace(/(\s)<br>$/,"$1"));a.data.dataValue=c},null, +null,3);b.on("paste",function(a){a=a.data;var c=b._.nextPasteType||a.type,e=a.dataValue,h,k=b.config.clipboard_defaultContentType||"html",n=a.dataTransfer.getTransferType(b)==CKEDITOR.DATA_TRANSFER_EXTERNAL,r=!0===b.config.forcePasteAsPlainText;h="html"==c||"html"==a.preSniffing?"html":g(e);delete b._.nextPasteType;"htmlifiedtext"==h&&(e=f(b.config,e));if("text"==c&&"html"==h)e=m(b,e,l.get("plain-text"));else if(n&&b.pasteFilter&&!a.dontFilter||r)e=m(b,e,b.pasteFilter);a.startsWithEOL&&(e='\x3cbr data-cke-eol\x3d"1"\x3e'+ +e);a.endsWithEOL&&(e+='\x3cbr data-cke-eol\x3d"1"\x3e');"auto"==c&&(c="html"==h||"html"==k?"html":"text");a.type=c;a.dataValue=e;delete a.preSniffing;delete a.startsWithEOL;delete a.endsWithEOL},null,null,6);b.on("paste",function(a){a=a.data;a.dataValue&&(b.insertHtml(a.dataValue,a.type,a.range),setTimeout(function(){b.fire("afterPaste")},0))},null,null,1E3);b.on("pasteDialog",function(a){setTimeout(function(){b.openDialog("paste",a.data)},0)})}});CKEDITOR.plugins.clipboard={isCustomCopyCutSupported:CKEDITOR.env.ie&& 16>CKEDITOR.env.version||CKEDITOR.env.iOS&&605>CKEDITOR.env.version?!1:!0,isCustomDataTypesSupported:!CKEDITOR.env.ie||16<=CKEDITOR.env.version,isFileApiSupported:!CKEDITOR.env.ie||9<CKEDITOR.env.version,mainPasteEvent:CKEDITOR.env.ie&&!CKEDITOR.env.edge?"beforepaste":"paste",addPasteButton:function(a,c,b){a.ui.addButton&&(a.ui.addButton(c,b),a._.pasteButtons||(a._.pasteButtons=[]),a._.pasteButtons.push(c))},canClipboardApiBeTrusted:function(a,c){return a.getTransferType(c)!=CKEDITOR.DATA_TRANSFER_EXTERNAL|| -CKEDITOR.env.chrome&&!a.isEmpty()||CKEDITOR.env.gecko&&(a.getData("text/html")||a.getFilesCount())||CKEDITOR.env.safari&&603<=CKEDITOR.env.version&&!CKEDITOR.env.iOS||CKEDITOR.env.iOS&&605<=CKEDITOR.env.version||CKEDITOR.env.edge&&16<=CKEDITOR.env.version?!0:!1},getDropTarget:function(a){var c=a.editable();return CKEDITOR.env.ie&&9>CKEDITOR.env.version||c.isInline()?c:a.document},fixSplitNodesAfterDrop:function(a,c,b,f){function e(a,b,d){var f=a;f.type==CKEDITOR.NODE_TEXT&&(f=a.getParent());if(f.equals(b)&& -d!=b.getChildCount())return a=c.startContainer.getChild(c.startOffset-1),b=c.startContainer.getChild(c.startOffset),a&&a.type==CKEDITOR.NODE_TEXT&&b&&b.type==CKEDITOR.NODE_TEXT&&(d=a.getLength(),a.setText(a.getText()+b.getText()),b.remove(),c.setStart(a,d),c.collapse(!0)),!0}var g=c.startContainer;"number"==typeof f&&"number"==typeof b&&g.type==CKEDITOR.NODE_ELEMENT&&(e(a.startContainer,g,b)||e(a.endContainer,g,f))},isDropRangeAffectedByDragRange:function(a,c){var b=c.startContainer,f=c.endOffset; -return a.endContainer.equals(b)&&a.endOffset<=f||a.startContainer.getParent().equals(b)&&a.startContainer.getIndex()<f||a.endContainer.getParent().equals(b)&&a.endContainer.getIndex()<f?!0:!1},internalDrop:function(a,c,f,e){var g=CKEDITOR.plugins.clipboard,h=e.editable(),k,l;e.fire("saveSnapshot");e.fire("lockSnapshot",{dontUpdate:1});CKEDITOR.env.ie&&10>CKEDITOR.env.version&&this.fixSplitNodesAfterDrop(a,c,g.dragStartContainerChildCount,g.dragEndContainerChildCount);(l=this.isDropRangeAffectedByDragRange(a, -c))||(k=a.createBookmark(!1));g=c.clone().createBookmark(!1);l&&(k=a.createBookmark(!1));a=k.startNode;c=k.endNode;l=g.startNode;c&&a.getPosition(l)&CKEDITOR.POSITION_PRECEDING&&c.getPosition(l)&CKEDITOR.POSITION_FOLLOWING&&l.insertBefore(a);a=e.createRange();a.moveToBookmark(k);h.extractHtmlFromRange(a,1);c=e.createRange();g.startNode.getCommonAncestor(h)||(g=e.getSelection().createBookmarks()[0]);c.moveToBookmark(g);b(e,{dataTransfer:f,method:"drop",range:c},1);e.fire("unlockSnapshot")},getRangeAtDropPosition:function(a, -c){var b=a.data.$,f=b.clientX,e=b.clientY,g=c.getSelection(!0).getRanges()[0],h=c.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&&c.document.$.caretRangeFromPoint(f,e))b=c.document.$.caretRangeFromPoint(f,e),h.setStart(CKEDITOR.dom.node(b.startContainer),b.startOffset),h.collapse(!0);else if(b.rangeParent)h.setStart(CKEDITOR.dom.node(b.rangeParent),b.rangeOffset),h.collapse(!0);else{if(CKEDITOR.env.ie&&8<CKEDITOR.env.version&&g&&c.editable().hasFocus)return g; -if(document.body.createTextRange){c.focus();b=c.document.getBody().$.createTextRange();try{for(var k=!1,l=0;20>l&&!k;l++){if(!k)try{b.moveToPoint(f,e-l),k=!0}catch(m){}if(!k)try{b.moveToPoint(f,e+l),k=!0}catch(y){}}if(k){var u="cke-temp-"+(new Date).getTime();b.pasteHTML('\x3cspan id\x3d"'+u+'"\x3e\x3c/span\x3e');var B=c.document.getById(u);h.moveToPosition(B,CKEDITOR.POSITION_BEFORE_START);B.remove()}else{var C=c.document.$.elementFromPoint(f,e),A=new CKEDITOR.dom.element(C),E;if(A.equals(c.editable())|| -"html"==A.getName())return g&&g.startContainer&&!g.startContainer.equals(c.editable())?g:null;E=A.getClientRect();f<E.left?h.setStartAt(A,CKEDITOR.POSITION_AFTER_START):h.setStartAt(A,CKEDITOR.POSITION_BEFORE_END);h.collapse(!0)}}catch(G){return null}}else return null}return h},initDragDataTransfer:function(a,c){var b=a.data.$?a.data.$.dataTransfer:null,f=new this.dataTransfer(b,c);"dragstart"===a.name&&f.storeId();b?this.dragData&&f.id==this.dragData.id?f=this.dragData:this.dragData=f:this.dragData? -f=this.dragData:this.dragData=f;a.data.dataTransfer=f},resetDragDataTransfer:function(){this.dragData=null},initPasteDataTransfer:function(a,c){if(this.isCustomCopyCutSupported){if(a&&a.data&&a.data.$){var b=a.data.$.clipboardData,f=new this.dataTransfer(b,c);"copy"!==a.name&&"cut"!==a.name||f.storeId();this.copyCutData&&f.id==this.copyCutData.id?(f=this.copyCutData,f.$=b):this.copyCutData=f;return f}return new this.dataTransfer(null,c)}return new this.dataTransfer(CKEDITOR.env.edge&&a&&a.data.$&& -a.data.$.clipboardData||null,c)},preventDefaultDropOnElement:function(a){a&&a.on("dragover",k)}};f=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?"cke/id":"Text";CKEDITOR.plugins.clipboard.dataTransfer=function(a,c){a&&(this.$=a);this._={metaRegExp:/^<meta.*?>/i,bodyRegExp:/<body(?:[\s\S]*?)>([\s\S]*)<\/body>/i,fragmentRegExp:/\s*\x3c!--StartFragment--\x3e|\x3c!--EndFragment--\x3e\s*/g,data:{},files:[],nativeHtmlCache:"",normalizeType:function(a){a=a.toLowerCase();return"text"==a||"text/plain"== -a?"Text":"url"==a?"URL":a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(f);this.id||(this.id="Text"==f?"":"cke-"+CKEDITOR.tools.getUniqueId());c&&(this.sourceEditor=c,this.setData("text/html",c.getSelectedHtml(1)),"Text"==f||this.getData("text/plain")||this.setData("text/plain",c.getSelection().getSelectedText()))};CKEDITOR.DATA_TRANSFER_INTERNAL=1;CKEDITOR.DATA_TRANSFER_CROSS_EDITORS=2;CKEDITOR.DATA_TRANSFER_EXTERNAL=3;CKEDITOR.plugins.clipboard.dataTransfer.prototype= -{getData:function(a,c){a=this._.normalizeType(a);var b="text/html"==a&&c?this._.nativeHtmlCache:this._.data[a];if(void 0===b||null===b||""===b){if(this._.fallbackDataTransfer.isRequired())b=this._.fallbackDataTransfer.getData(a,c);else try{b=this.$.getData(a)||""}catch(f){b=""}"text/html"!=a||c||(b=this._stripHtml(b))}"Text"==a&&CKEDITOR.env.gecko&&this.getFilesCount()&&"file://"==b.substring(0,7)&&(b="");if("string"===typeof b)var e=b.indexOf("\x3c/html\x3e"),b=-1!==e?b.substring(0,e+7):b;return b}, -setData:function(a,c){a=this._.normalizeType(a);"text/html"==a?(this._.data[a]=this._stripHtml(c),this._.nativeHtmlCache=c):this._.data[a]=c;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"URL"==a||"Text"==a)if("Text"==f&&"Text"==a&&(this.id=c),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,c);else try{this.$.setData(a,c)}catch(b){}},storeId:function(){"Text"!==f&&this.setData(f,this.id)},getTransferType:function(a){return this.sourceEditor?this.sourceEditor== -a?CKEDITOR.DATA_TRANSFER_INTERNAL:CKEDITOR.DATA_TRANSFER_CROSS_EDITORS:CKEDITOR.DATA_TRANSFER_EXTERNAL},cacheData:function(){function a(b){b=c._.normalizeType(b);var d=c.getData(b);"text/html"==b&&(c._.nativeHtmlCache=c.getData(b,!0),d=c._stripHtml(d));d&&(c._.data[b]=d)}if(this.$){var c=this,b,f;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(b=0;b<this.$.types.length;b++)a(this.$.types[b])}else a("Text"),a("URL");f=this._getImageFromClipboard();if(this.$&&this.$.files|| -f){this._.files=[];if(this.$.files&&this.$.files.length)for(b=0;b<this.$.files.length;b++)this._.files.push(this.$.files[b]);0===this._.files.length&&f&&this._.files.push(f)}}},getFilesCount:function(){return this._.files.length?this._.files.length:this.$&&this.$.files&&this.$.files.length?this.$.files.length:this._getImageFromClipboard()?1:0},getFile:function(a){return this._.files.length?this._.files[a]:this.$&&this.$.files&&this.$.files.length?this.$.files[a]:0===a?this._getImageFromClipboard(): -void 0},isEmpty:function(){var a={},c;if(this.getFilesCount())return!1;CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(this._.data),function(c){a[c]=1});if(this.$)if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(var b=0;b<this.$.types.length;b++)a[this.$.types[b]]=1}else a.Text=1,a.URL=1;"Text"!=f&&(a[f]=0);for(c in a)if(a[c]&&""!==this.getData(c))return!1;return!0},getTypes:function(){return this.$&&this.$.types?[].slice.call(this.$.types):[]},_getImageFromClipboard:function(){var a; +CKEDITOR.env.chrome&&!a.isEmpty()||CKEDITOR.env.gecko&&(a.getData("text/html")||a.getFilesCount())||CKEDITOR.env.safari&&603<=CKEDITOR.env.version&&!CKEDITOR.env.iOS||CKEDITOR.env.iOS&&605<=CKEDITOR.env.version||CKEDITOR.env.edge&&16<=CKEDITOR.env.version?!0:!1},getDropTarget:function(a){var c=a.editable();return CKEDITOR.env.ie&&9>CKEDITOR.env.version||c.isInline()?c:a.document},fixSplitNodesAfterDrop:function(a,c,b,e){function f(a,b,d){var e=a;e.type==CKEDITOR.NODE_TEXT&&(e=a.getParent());if(e.equals(b)&& +d!=b.getChildCount())return a=c.startContainer.getChild(c.startOffset-1),b=c.startContainer.getChild(c.startOffset),a&&a.type==CKEDITOR.NODE_TEXT&&b&&b.type==CKEDITOR.NODE_TEXT&&(d=a.getLength(),a.setText(a.getText()+b.getText()),b.remove(),c.setStart(a,d),c.collapse(!0)),!0}var g=c.startContainer;"number"==typeof e&&"number"==typeof b&&g.type==CKEDITOR.NODE_ELEMENT&&(f(a.startContainer,g,b)||f(a.endContainer,g,e))},isDropRangeAffectedByDragRange:function(a,c){var b=c.startContainer,e=c.endOffset; +return a.endContainer.equals(b)&&a.endOffset<=e||a.startContainer.getParent().equals(b)&&a.startContainer.getIndex()<e||a.endContainer.getParent().equals(b)&&a.endContainer.getIndex()<e?!0:!1},internalDrop:function(a,c,e,f){var g=CKEDITOR.plugins.clipboard,h=f.editable(),k,l;f.fire("saveSnapshot");f.fire("lockSnapshot",{dontUpdate:1});CKEDITOR.env.ie&&10>CKEDITOR.env.version&&this.fixSplitNodesAfterDrop(a,c,g.dragStartContainerChildCount,g.dragEndContainerChildCount);(l=this.isDropRangeAffectedByDragRange(a, +c))||(k=a.createBookmark(!1));g=c.clone().createBookmark(!1);l&&(k=a.createBookmark(!1));a=k.startNode;c=k.endNode;l=g.startNode;c&&a.getPosition(l)&CKEDITOR.POSITION_PRECEDING&&c.getPosition(l)&CKEDITOR.POSITION_FOLLOWING&&l.insertBefore(a);a=f.createRange();a.moveToBookmark(k);h.extractHtmlFromRange(a,1);c=f.createRange();g.startNode.getCommonAncestor(h)||(g=f.getSelection().createBookmarks()[0]);c.moveToBookmark(g);b(f,{dataTransfer:e,method:"drop",range:c},1);f.fire("unlockSnapshot")},getRangeAtDropPosition:function(a, +c){var b=a.data.$,e=b.clientX,f=b.clientY,g=c.getSelection(!0).getRanges()[0],h=c.createRange();if(a.data.testRange)return a.data.testRange;if(document.caretRangeFromPoint&&c.document.$.caretRangeFromPoint(e,f))b=c.document.$.caretRangeFromPoint(e,f),h.setStart(CKEDITOR.dom.node(b.startContainer),b.startOffset),h.collapse(!0);else if(b.rangeParent)h.setStart(CKEDITOR.dom.node(b.rangeParent),b.rangeOffset),h.collapse(!0);else{if(CKEDITOR.env.ie&&8<CKEDITOR.env.version&&g&&c.editable().hasFocus)return g; +if(document.body.createTextRange){c.focus();b=c.document.getBody().$.createTextRange();try{for(var k=!1,l=0;20>l&&!k;l++){if(!k)try{b.moveToPoint(e,f-l),k=!0}catch(m){}if(!k)try{b.moveToPoint(e,f+l),k=!0}catch(u){}}if(k){var v="cke-temp-"+(new Date).getTime();b.pasteHTML('\x3cspan id\x3d"'+v+'"\x3e\x3c/span\x3e');var C=c.document.getById(v);h.moveToPosition(C,CKEDITOR.POSITION_BEFORE_START);C.remove()}else{var E=c.document.$.elementFromPoint(e,f),A=new CKEDITOR.dom.element(E),B;if(A.equals(c.editable())|| +"html"==A.getName())return g&&g.startContainer&&!g.startContainer.equals(c.editable())?g:null;B=A.getClientRect();e<B.left?h.setStartAt(A,CKEDITOR.POSITION_AFTER_START):h.setStartAt(A,CKEDITOR.POSITION_BEFORE_END);h.collapse(!0)}}catch(G){return null}}else return null}return h},initDragDataTransfer:function(a,c){var b=a.data.$?a.data.$.dataTransfer:null,e=new this.dataTransfer(b,c);"dragstart"===a.name&&e.storeId();b?this.dragData&&e.id==this.dragData.id?e=this.dragData:this.dragData=e:this.dragData? +e=this.dragData:this.dragData=e;a.data.dataTransfer=e},resetDragDataTransfer:function(){this.dragData=null},initPasteDataTransfer:function(a,c){if(this.isCustomCopyCutSupported){if(a&&a.data&&a.data.$){var b=a.data.$.clipboardData,e=new this.dataTransfer(b,c);"copy"!==a.name&&"cut"!==a.name||e.storeId();this.copyCutData&&e.id==this.copyCutData.id?(e=this.copyCutData,e.$=b):this.copyCutData=e;return e}return new this.dataTransfer(null,c)}return new this.dataTransfer(CKEDITOR.env.edge&&a&&a.data.$&& +a.data.$.clipboardData||null,c)},preventDefaultDropOnElement:function(a){a&&a.on("dragover",l)}};e=CKEDITOR.plugins.clipboard.isCustomDataTypesSupported?"cke/id":"Text";CKEDITOR.plugins.clipboard.dataTransfer=function(a,c){a&&(this.$=a);this._={metaRegExp:/^<meta.*?>/i,bodyRegExp:/<body(?:[\s\S]*?)>([\s\S]*)<\/body>/i,fragmentRegExp:/\s*\x3c!--StartFragment--\x3e|\x3c!--EndFragment--\x3e\s*/g,data:{},files:[],nativeHtmlCache:"",normalizeType:function(a){a=a.toLowerCase();return"text"==a||"text/plain"== +a?"Text":"url"==a?"URL":a}};this._.fallbackDataTransfer=new CKEDITOR.plugins.clipboard.fallbackDataTransfer(this);this.id=this.getData(e);this.id||(this.id="Text"==e?"":"cke-"+CKEDITOR.tools.getUniqueId());c&&(this.sourceEditor=c,this.setData("text/html",c.getSelectedHtml(1)),"Text"==e||this.getData("text/plain")||this.setData("text/plain",c.getSelection().getSelectedText()))};CKEDITOR.DATA_TRANSFER_INTERNAL=1;CKEDITOR.DATA_TRANSFER_CROSS_EDITORS=2;CKEDITOR.DATA_TRANSFER_EXTERNAL=3;CKEDITOR.plugins.clipboard.dataTransfer.prototype= +{getData:function(a,c){a=this._.normalizeType(a);var b="text/html"==a&&c?this._.nativeHtmlCache:this._.data[a];if(void 0===b||null===b||""===b){if(this._.fallbackDataTransfer.isRequired())b=this._.fallbackDataTransfer.getData(a,c);else try{b=this.$.getData(a)||""}catch(e){b=""}"text/html"!=a||c||(b=this._stripHtml(b))}"Text"==a&&CKEDITOR.env.gecko&&this.getFilesCount()&&"file://"==b.substring(0,7)&&(b="");if("string"===typeof b)var f=b.indexOf("\x3c/html\x3e"),b=-1!==f?b.substring(0,f+7):b;return b}, +setData:function(a,c){a=this._.normalizeType(a);"text/html"==a?(this._.data[a]=this._stripHtml(c),this._.nativeHtmlCache=c):this._.data[a]=c;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"URL"==a||"Text"==a)if("Text"==e&&"Text"==a&&(this.id=c),this._.fallbackDataTransfer.isRequired())this._.fallbackDataTransfer.setData(a,c);else try{this.$.setData(a,c)}catch(b){}},storeId:function(){"Text"!==e&&this.setData(e,this.id)},getTransferType:function(a){return this.sourceEditor?this.sourceEditor== +a?CKEDITOR.DATA_TRANSFER_INTERNAL:CKEDITOR.DATA_TRANSFER_CROSS_EDITORS:CKEDITOR.DATA_TRANSFER_EXTERNAL},cacheData:function(){function a(b){b=c._.normalizeType(b);var d=c.getData(b);"text/html"==b&&(c._.nativeHtmlCache=c.getData(b,!0),d=c._stripHtml(d));d&&(c._.data[b]=d)}if(this.$){var c=this,b,e;if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(b=0;b<this.$.types.length;b++)a(this.$.types[b])}else a("Text"),a("URL");e=this._getImageFromClipboard();if(this.$&&this.$.files|| +e){this._.files=[];if(this.$.files&&this.$.files.length)for(b=0;b<this.$.files.length;b++)this._.files.push(this.$.files[b]);0===this._.files.length&&e&&this._.files.push(e)}}},getFilesCount:function(){return this._.files.length?this._.files.length:this.$&&this.$.files&&this.$.files.length?this.$.files.length:this._getImageFromClipboard()?1:0},getFile:function(a){return this._.files.length?this._.files[a]:this.$&&this.$.files&&this.$.files.length?this.$.files[a]:0===a?this._getImageFromClipboard(): +void 0},isEmpty:function(){var a={},c;if(this.getFilesCount())return!1;CKEDITOR.tools.array.forEach(CKEDITOR.tools.object.keys(this._.data),function(c){a[c]=1});if(this.$)if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported){if(this.$.types)for(var b=0;b<this.$.types.length;b++)a[this.$.types[b]]=1}else a.Text=1,a.URL=1;"Text"!=e&&(a[e]=0);for(c in a)if(a[c]&&""!==this.getData(c))return!1;return!0},getTypes:function(){return this.$&&this.$.types?[].slice.call(this.$.types):[]},_getImageFromClipboard:function(){var a; try{if(this.$&&this.$.items&&this.$.items[0]&&(a=this.$.items[0].getAsFile())&&a.type)return a}catch(c){}},_stripHtml:function(a){if(a&&a.length){a=a.replace(this._.metaRegExp,"");var c=this._.bodyRegExp.exec(a);c&&c.length&&(a=c[1],a=a.replace(this._.fragmentRegExp,""))}return a}};CKEDITOR.plugins.clipboard.fallbackDataTransfer=function(a){this._dataTransfer=a;this._customDataFallbackType="text/html"};CKEDITOR.plugins.clipboard.fallbackDataTransfer._isCustomMimeTypeSupported=null;CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes= [];CKEDITOR.plugins.clipboard.fallbackDataTransfer.prototype={isRequired:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer,c=this._dataTransfer.$;if(null===a._isCustomMimeTypeSupported)if(c){a._isCustomMimeTypeSupported=!1;if(CKEDITOR.env.edge&&17<=CKEDITOR.env.version)return!0;try{c.setData("cke/mimetypetest","cke test value"),a._isCustomMimeTypeSupported="cke test value"===c.getData("cke/mimetypetest"),c.clearData("cke/mimetypetest")}catch(b){}}else return!1;return!a._isCustomMimeTypeSupported}, -getData:function(a,c){var b=this._getData(this._customDataFallbackType,!0);if(c)return b;var b=this._extractDataComment(b),f=null,f=a===this._customDataFallbackType?b.content:b.data&&b.data[a]?b.data[a]:this._getData(a,!0);return null!==f?f:""},setData:function(a,c){var b=a===this._customDataFallbackType;b&&(c=this._applyDataComment(c,this._getFallbackTypeData()));var f=c,e=this._dataTransfer.$;try{e.setData(a,f),b&&(this._dataTransfer._.nativeHtmlCache=f)}catch(g){if(this._isUnsupportedMimeTypeError(g)){b= -CKEDITOR.plugins.clipboard.fallbackDataTransfer;-1===CKEDITOR.tools.indexOf(b._customTypes,a)&&b._customTypes.push(a);var b=this._getFallbackTypeContent(),h=this._getFallbackTypeData();h[a]=f;try{f=this._applyDataComment(b,h),e.setData(this._customDataFallbackType,f),this._dataTransfer._.nativeHtmlCache=f}catch(k){f=""}}}return f},_getData:function(a,c){var b=this._dataTransfer._.data;if(!c&&b[a])return b[a];try{return this._dataTransfer.$.getData(a)}catch(f){return null}},_getFallbackTypeContent:function(){var a= +getData:function(a,c){var b=this._getData(this._customDataFallbackType,!0);if(c)return b;var b=this._extractDataComment(b),e=null,e=a===this._customDataFallbackType?b.content:b.data&&b.data[a]?b.data[a]:this._getData(a,!0);return null!==e?e:""},setData:function(a,c){var b=a===this._customDataFallbackType;b&&(c=this._applyDataComment(c,this._getFallbackTypeData()));var e=c,f=this._dataTransfer.$;try{f.setData(a,e),b&&(this._dataTransfer._.nativeHtmlCache=e)}catch(g){if(this._isUnsupportedMimeTypeError(g)){b= +CKEDITOR.plugins.clipboard.fallbackDataTransfer;-1===CKEDITOR.tools.indexOf(b._customTypes,a)&&b._customTypes.push(a);var b=this._getFallbackTypeContent(),h=this._getFallbackTypeData();h[a]=e;try{e=this._applyDataComment(b,h),f.setData(this._customDataFallbackType,e),this._dataTransfer._.nativeHtmlCache=e}catch(k){e=""}}}return e},_getData:function(a,c){var b=this._dataTransfer._.data;if(!c&&b[a])return b[a];try{return this._dataTransfer.$.getData(a)}catch(e){return null}},_getFallbackTypeContent:function(){var a= this._dataTransfer._.data[this._customDataFallbackType];a||(a=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).content);return a},_getFallbackTypeData:function(){var a=CKEDITOR.plugins.clipboard.fallbackDataTransfer._customTypes,c=this._extractDataComment(this._getData(this._customDataFallbackType,!0)).data||{},b=this._dataTransfer._.data;CKEDITOR.tools.array.forEach(a,function(a){void 0!==b[a]?c[a]=b[a]:void 0!==c[a]&&(c[a]=c[a])},this);return c},_isUnsupportedMimeTypeError:function(a){return a.message&& -1!==a.message.search(/element not found/gi)},_extractDataComment:function(a){var c={data:null,content:a||""};if(a&&16<a.length){var b;(b=/\x3c!--cke-data:(.*?)--\x3e/g.exec(a))&&b[1]&&(c.data=JSON.parse(decodeURIComponent(b[1])),c.content=a.replace(b[0],""))}return c},_applyDataComment:function(a,c){var b="";c&&CKEDITOR.tools.object.keys(c).length&&(b="\x3c!--cke-data:"+encodeURIComponent(JSON.stringify(c))+"--\x3e");return b+(a&&a.length?a:"")}}})();CKEDITOR.config.clipboard_notificationDuration= 1E4;(function(){CKEDITOR.plugins.add("panel",{beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_PANEL,CKEDITOR.ui.panel.handler)}});CKEDITOR.UI_PANEL="panel";CKEDITOR.ui.panel=function(b,a){a&&CKEDITOR.tools.extend(this,a);CKEDITOR.tools.extend(this,{className:"",css:[]});this.id=CKEDITOR.tools.getNextId();this.document=b;this.isFramed=this.forceIFrame||this.css.length;this._={blocks:{}}};CKEDITOR.ui.panel.handler={create:function(b){return new CKEDITOR.ui.panel(b)}};var b=CKEDITOR.addTemplate("panel", '\x3cdiv lang\x3d"{langCode}" id\x3d"{id}" dir\x3d{dir} class\x3d"cke cke_reset_all {editorId} cke_panel cke_panel {cls} cke_{dir}" style\x3d"z-index:{z-index}" role\x3d"presentation"\x3e{frame}\x3c/div\x3e'),h=CKEDITOR.addTemplate("panel-frame",'\x3ciframe id\x3d"{id}" class\x3d"cke_panel_frame" role\x3d"presentation" frameborder\x3d"0" src\x3d"{src}"\x3e\x3c/iframe\x3e'),g=CKEDITOR.addTemplate("panel-frame-inner",'\x3c!DOCTYPE html\x3e\x3chtml class\x3d"cke_panel_container {env}" dir\x3d"{dir}" lang\x3d"{langCode}"\x3e\x3chead\x3e{css}\x3c/head\x3e\x3cbody class\x3d"cke_{dir}" style\x3d"margin:0;padding:0" onload\x3d"{onload}"\x3e\x3c/body\x3e\x3c/html\x3e'); -CKEDITOR.ui.panel.prototype={render:function(e,a){var m={editorId:e.id,id:this.id,langCode:e.langCode,dir:e.lang.dir,cls:this.className,frame:"",env:CKEDITOR.env.cssClass,"z-index":e.config.baseFloatZIndex+1};this.getHolderElement=function(){var a=this._.holder;if(!a){if(this.isFramed){var a=this.document.getById(this.id+"_frame"),c=a.getParent(),a=a.getFrameDocument();CKEDITOR.env.iOS&&c.setStyles({overflow:"scroll","-webkit-overflow-scrolling":"touch"});c=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded= +CKEDITOR.ui.panel.prototype={render:function(f,a){var m={editorId:f.id,id:this.id,langCode:f.langCode,dir:f.lang.dir,cls:this.className,frame:"",env:CKEDITOR.env.cssClass,"z-index":f.config.baseFloatZIndex+1};this.getHolderElement=function(){var a=this._.holder;if(!a){if(this.isFramed){var a=this.document.getById(this.id+"_frame"),c=a.getParent(),a=a.getFrameDocument();CKEDITOR.env.iOS&&c.setStyles({overflow:"scroll","-webkit-overflow-scrolling":"touch"});c=CKEDITOR.tools.addFunction(CKEDITOR.tools.bind(function(){this.isLoaded= !0;if(this.onLoad)this.onLoad()},this));a.write(g.output(CKEDITOR.tools.extend({css:CKEDITOR.tools.buildStyleHtml(this.css),onload:"window.parent.CKEDITOR.tools.callFunction("+c+");"},m)));a.getWindow().$.CKEDITOR=CKEDITOR;a.on("keydown",function(a){var c=a.data.getKeystroke(),b=this.document.getById(this.id).getAttribute("dir");if("input"!==a.data.getTarget().getName()||37!==c&&39!==c)this._.onKeyDown&&!1===this._.onKeyDown(c)?"input"===a.data.getTarget().getName()&&32===c||a.data.preventDefault(): -(27==c||c==("rtl"==b?39:37))&&this.onEscape&&!1===this.onEscape(c)&&a.data.preventDefault()},this);a=a.getBody();a.unselectable();CKEDITOR.env.air&&CKEDITOR.tools.callFunction(c)}else a=this.document.getById(this.id);this._.holder=a}return a};if(this.isFramed){var l=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())":"";m.frame=h.output({id:this.id+"_frame", -src:l})}l=b.output(m);a&&a.push(l);return l},addBlock:function(b,a){a=this._.blocks[b]=a instanceof CKEDITOR.ui.panel.block?a:new CKEDITOR.ui.panel.block(this.getHolderElement(),a);this._.currentBlock||this.showBlock(b);return a},getBlock:function(b){return this._.blocks[b]},showBlock:function(b){b=this._.blocks[b];var a=this._.currentBlock,g=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+"_frame");a&&a.hide();this._.currentBlock=b;CKEDITOR.fire("ariaWidget",g);b._.focusIndex= +(27==c||c==("rtl"==b?39:37))&&this.onEscape&&!1===this.onEscape(c)&&a.data.preventDefault()},this);a=a.getBody();a.unselectable();CKEDITOR.env.air&&CKEDITOR.tools.callFunction(c)}else a=this.document.getById(this.id);this._.holder=a}return a};if(this.isFramed){var k=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void(function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+"}())":"";m.frame=h.output({id:this.id+"_frame", +src:k})}k=b.output(m);a&&a.push(k);return k},addBlock:function(b,a){a=this._.blocks[b]=a instanceof CKEDITOR.ui.panel.block?a:new CKEDITOR.ui.panel.block(this.getHolderElement(),a);this._.currentBlock||this.showBlock(b);return a},getBlock:function(b){return this._.blocks[b]},showBlock:function(b){b=this._.blocks[b];var a=this._.currentBlock,g=!this.forceIFrame||CKEDITOR.env.ie?this._.holder:this.document.getById(this.id+"_frame");a&&a.hide();this._.currentBlock=b;CKEDITOR.fire("ariaWidget",g);b._.focusIndex= -1;this._.onKeyDown=b.onKeyDown&&CKEDITOR.tools.bind(b.onKeyDown,b);b.show();return b},destroy:function(){this.element&&this.element.remove()}};CKEDITOR.ui.panel.block=CKEDITOR.tools.createClass({$:function(b,a){this.element=b.append(b.getDocument().createElement("div",{attributes:{tabindex:-1,"class":"cke_panel_block"},styles:{display:"none"}}));a&&CKEDITOR.tools.extend(this,a);this.element.setAttributes({role:this.attributes.role||"presentation","aria-label":this.attributes["aria-label"],title:this.attributes.title|| -this.attributes["aria-label"]});this.keys={};this._.focusIndex=-1;this.element.disableContextMenu()},_:{markItem:function(b){-1!=b&&(b=this._.getItems().getItem(this._.focusIndex=b),CKEDITOR.env.webkit&&b.getDocument().getWindow().focus(),b.focus(),this.onMark&&this.onMark(b))},markFirstDisplayed:function(b){for(var a=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&"none"==a.getStyle("display")},g=this._.getItems(),h,k,c=g.count()-1;0<=c;c--)if(h=g.getItem(c),h.getAscendant(a)||(k=h,this._.focusIndex= -c),"true"==h.getAttribute("aria-selected")){k=h;this._.focusIndex=c;break}k&&(b&&b(),CKEDITOR.env.webkit&&k.getDocument().getWindow().focus(),k.focus(),this.onMark&&this.onMark(k))},getItems:function(){return this.element.find("a,input")}},proto:{show:function(){this.element.setStyle("display","")},hide:function(){this.onHide&&!0===this.onHide.call(this)||this.element.setStyle("display","none")},onKeyDown:function(b,a){var g=this.keys[b];switch(g){case "next":for(var h=this._.focusIndex,g=this._.getItems(), -k;k=g.getItem(++h);)if(k.getAttribute("_cke_focus")&&k.$.offsetWidth){this._.focusIndex=h;k.focus(!0);break}return k||a?!1:(this._.focusIndex=-1,this.onKeyDown(b,1));case "prev":h=this._.focusIndex;for(g=this._.getItems();0<h&&(k=g.getItem(--h));){if(k.getAttribute("_cke_focus")&&k.$.offsetWidth){this._.focusIndex=h;k.focus(!0);break}k=null}return k||a?!1:(this._.focusIndex=g.count(),this.onKeyDown(b,1));case "click":case "mouseup":return h=this._.focusIndex,(k=0<=h&&this._.getItems().getItem(h))&& -k.fireEventHandler(g,{button:CKEDITOR.tools.normalizeMouseButton(CKEDITOR.MOUSE_BUTTON_LEFT,!0)}),!1}return!0}}})})();CKEDITOR.plugins.add("floatpanel",{requires:"panel"});(function(){function b(b,e,a,m,l){l=CKEDITOR.tools.genKey(e.getUniqueId(),a.getUniqueId(),b.lang.dir,b.uiColor||"",m.css||"",l||"");var k=h[l];k||(k=h[l]=new CKEDITOR.ui.panel(e,m),k.element=a.append(CKEDITOR.dom.element.createFromHtml(k.render(b),e)),k.element.setStyles({display:"none",position:"absolute"}));return k}var h={}; -CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(g,e,a,h){function l(){d.hide()}a.forceIFrame=1;a.toolbarRelated&&g.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(e=CKEDITOR.document.getById("cke_"+g.name));var k=e.getDocument();h=b(g,k,e,a,h||0);var c=h.element,f=c.getFirst(),d=this;c.disableContextMenu();this.element=c;this._={editor:g,panel:h,parentElement:e,definition:a,document:k,iframe:f,children:[],dir:g.lang.dir,showBlockParams:null,markFirst:void 0!==a.markFirst?a.markFirst:!0}; -g.on("mode",l);g.on("resize",l);k.getWindow().on("resize",function(){this.reposition()},this)},proto:{addBlock:function(b,e){return this._.panel.addBlock(b,e)},addListBlock:function(b,e){return this._.panel.addListBlock(b,e)},getBlock:function(b){return this._.panel.getBlock(b)},showBlock:function(b,e,a,h,l,k){var c=this._.panel,f=c.showBlock(b);this._.showBlockParams=[].slice.call(arguments);this.allowBlur(!1);var d=this._.editor.editable();this._.returnFocus=d.hasFocus?d:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement); -this._.hideTimeout=0;var n=this.element,d=this._.iframe,d=CKEDITOR.env.ie&&!CKEDITOR.env.edge?d:new CKEDITOR.dom.window(d.$.contentWindow),w=n.getDocument(),v=this._.parentElement.getPositionedAncestor(),p=e.getDocumentPosition(w),w=v?v.getDocumentPosition(w):{x:0,y:0},r="rtl"==this._.dir,q=p.x+(h||0)-w.x,x=p.y+(l||0)-w.y;!r||1!=a&&4!=a?r||2!=a&&3!=a||(q+=e.$.offsetWidth-1):q+=e.$.offsetWidth;if(3==a||4==a)x+=e.$.offsetHeight-1;this._.panel._.offsetParentId=e.getId();n.setStyles({top:x+"px",left:0, +this.attributes["aria-label"]});this.keys={};this._.focusIndex=-1;this.element.disableContextMenu()},_:{markItem:function(b){-1!=b&&(b=this._.getItems().getItem(this._.focusIndex=b),CKEDITOR.env.webkit&&b.getDocument().getWindow().focus(),b.focus(),this.onMark&&this.onMark(b))},markFirstDisplayed:function(b){for(var a=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&"none"==a.getStyle("display")},g=this._.getItems(),h,l,c=g.count()-1;0<=c;c--)if(h=g.getItem(c),h.getAscendant(a)||(l=h,this._.focusIndex= +c),"true"==h.getAttribute("aria-selected")){l=h;this._.focusIndex=c;break}l&&(b&&b(),CKEDITOR.env.webkit&&l.getDocument().getWindow().focus(),l.focus(),this.onMark&&this.onMark(l))},getItems:function(){return this.element.find("a,input")}},proto:{show:function(){this.element.setStyle("display","")},hide:function(){this.onHide&&!0===this.onHide.call(this)||this.element.setStyle("display","none")},onKeyDown:function(b,a){var g=this.keys[b];switch(g){case "next":for(var h=this._.focusIndex,g=this._.getItems(), +l;l=g.getItem(++h);)if(l.getAttribute("_cke_focus")&&l.$.offsetWidth){this._.focusIndex=h;l.focus(!0);break}return l||a?!1:(this._.focusIndex=-1,this.onKeyDown(b,1));case "prev":h=this._.focusIndex;for(g=this._.getItems();0<h&&(l=g.getItem(--h));){if(l.getAttribute("_cke_focus")&&l.$.offsetWidth){this._.focusIndex=h;l.focus(!0);break}l=null}return l||a?!1:(this._.focusIndex=g.count(),this.onKeyDown(b,1));case "click":case "mouseup":return h=this._.focusIndex,(l=0<=h&&this._.getItems().getItem(h))&& +l.fireEventHandler(g,{button:CKEDITOR.tools.normalizeMouseButton(CKEDITOR.MOUSE_BUTTON_LEFT,!0)}),!1}return!0}}})})();CKEDITOR.plugins.add("floatpanel",{requires:"panel"});(function(){function b(b,f,a,m,k){k=CKEDITOR.tools.genKey(f.getUniqueId(),a.getUniqueId(),b.lang.dir,b.uiColor||"",m.css||"",k||"");var l=h[k];l||(l=h[k]=new CKEDITOR.ui.panel(f,m),l.element=a.append(CKEDITOR.dom.element.createFromHtml(l.render(b),f)),l.element.setStyles({display:"none",position:"absolute"}));return l}var h={}; +CKEDITOR.ui.floatPanel=CKEDITOR.tools.createClass({$:function(g,f,a,h){function k(){d.hide()}a.forceIFrame=1;a.toolbarRelated&&g.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(f=CKEDITOR.document.getById("cke_"+g.name));var l=f.getDocument();h=b(g,l,f,a,h||0);var c=h.element,e=c.getFirst(),d=this;c.disableContextMenu();this.element=c;this._={editor:g,panel:h,parentElement:f,definition:a,document:l,iframe:e,children:[],dir:g.lang.dir,showBlockParams:null,markFirst:void 0!==a.markFirst?a.markFirst:!0}; +g.on("mode",k);g.on("resize",k);l.getWindow().on("resize",function(){this.reposition()},this)},proto:{addBlock:function(b,f){return this._.panel.addBlock(b,f)},addListBlock:function(b,f){return this._.panel.addListBlock(b,f)},getBlock:function(b){return this._.panel.getBlock(b)},showBlock:function(b,f,a,h,k,l){var c=this._.panel,e=c.showBlock(b);this._.showBlockParams=[].slice.call(arguments);this.allowBlur(!1);var d=this._.editor.editable();this._.returnFocus=d.hasFocus?d:new CKEDITOR.dom.element(CKEDITOR.document.$.activeElement); +this._.hideTimeout=0;var n=this.element,d=this._.iframe,d=CKEDITOR.env.ie&&!CKEDITOR.env.edge?d:new CKEDITOR.dom.window(d.$.contentWindow),y=n.getDocument(),x=this._.parentElement.getPositionedAncestor(),q=f.getDocumentPosition(y),y=x?x.getDocumentPosition(y):{x:0,y:0},r="rtl"==this._.dir,p=q.x+(h||0)-y.x,w=q.y+(k||0)-y.y;!r||1!=a&&4!=a?r||2!=a&&3!=a||(p+=f.$.offsetWidth-1):p+=f.$.offsetWidth;if(3==a||4==a)w+=f.$.offsetHeight-1;this._.panel._.offsetParentId=f.getId();n.setStyles({top:w+"px",left:0, display:""});n.setOpacity(0);n.getFirst().removeStyle("width");this._.editor.focusManager.add(d);this._.blurSet||(CKEDITOR.event.useCapture=!0,d.on("blur",function(a){function c(){delete this._.returnFocus;this.hide()}this.allowBlur()&&a.data.getPhase()==CKEDITOR.EVENT_PHASE_AT_TARGET&&this.visible&&!this._.activeChild&&(CKEDITOR.env.iOS?this._.hideTimeout||(this._.hideTimeout=CKEDITOR.tools.setTimeout(c,0,this)):c.call(this))},this),d.on("focus",function(){this._.focused=!0;this.hideChild();this.allowBlur(!0)}, -this),CKEDITOR.env.iOS&&(d.on("touchstart",function(){clearTimeout(this._.hideTimeout)},this),d.on("touchend",function(){this._.hideTimeout=0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);c.onEscape=CKEDITOR.tools.bind(function(a){if(this.onEscape&&!1===this.onEscape(a))return!1},this);CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.tools.bind(function(){var a=n;a.removeStyle("width");if(f.autoSize){var b=f.element.getDocument(),b=(CKEDITOR.env.webkit||CKEDITOR.env.edge? -f.element:b.getBody()).$.scrollWidth;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<b&&(b+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3);a.setStyle("width",b+10+"px");b=f.element.$.scrollHeight;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<b&&(b+=(a.$.offsetHeight||0)-(a.$.clientHeight||0)+3);a.setStyle("height",b+"px");c._.currentBlock.element.setStyle("display","none").removeStyle("display")}else a.removeStyle("height");r&&(q-=n.$.offsetWidth);n.setStyle("left",q+"px");var b=c.element.getWindow(),a=n.$.getBoundingClientRect(), -b=b.getViewPaneSize(),d=a.width||a.right-a.left,e=a.height||a.bottom-a.top,g=r?a.right:b.width-a.left,h=r?b.width-a.right:a.left;r?g<d&&(q=h>d?q+d:b.width>d?q-a.left:q-a.right+b.width):g<d&&(q=h>d?q-d:b.width>d?q-a.right+b.width:q-a.left);d=a.top;b.height-a.top<e&&(x=d>e?x-e:b.height>e?x-a.bottom+b.height:x-a.top);CKEDITOR.env.ie&&!CKEDITOR.env.edge&&((b=a=n.$.offsetParent&&new CKEDITOR.dom.element(n.$.offsetParent))&&"html"==b.getName()&&(b=b.getDocument().getBody()),b&&"rtl"==b.getComputedStyle("direction")&& -(q=CKEDITOR.env.ie8Compat?q-2*n.getDocument().getDocumentElement().$.scrollLeft:q-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),l;(l=a.getCustomData("activePanel"))&&l.onHide&&l.onHide.call(this,1);a.setCustomData("activePanel",this);n.setStyles({top:x+"px",left:q+"px"});n.setOpacity(1);k&&k()},this);c.isLoaded?a():c.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();f.element.focus();CKEDITOR.env.webkit&& -(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);this._.markFirst&&(CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){f.markFirstDisplayed?f.markFirstDisplayed():f._.markFirstDisplayed()},0):f.markFirstDisplayed?f.markFirstDisplayed():f._.markFirstDisplayed());this._.editor.fire("panelShow",this)},0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&&this.onShow.call(this)},reposition:function(){var b=this._.showBlockParams;this.visible&&this._.showBlockParams&&(this.hide(), +this),CKEDITOR.env.iOS&&(d.on("touchstart",function(){clearTimeout(this._.hideTimeout)},this),d.on("touchend",function(){this._.hideTimeout=0;this.focus()},this)),CKEDITOR.event.useCapture=!1,this._.blurSet=1);c.onEscape=CKEDITOR.tools.bind(function(a){if(this.onEscape&&!1===this.onEscape(a))return!1},this);CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.tools.bind(function(){var a=n;a.removeStyle("width");if(e.autoSize){var b=e.element.getDocument(),b=(CKEDITOR.env.webkit||CKEDITOR.env.edge? +e.element:b.getBody()).$.scrollWidth;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<b&&(b+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3);a.setStyle("width",b+10+"px");b=e.element.$.scrollHeight;CKEDITOR.env.ie&&CKEDITOR.env.quirks&&0<b&&(b+=(a.$.offsetHeight||0)-(a.$.clientHeight||0)+3);a.setStyle("height",b+"px");c._.currentBlock.element.setStyle("display","none").removeStyle("display")}else a.removeStyle("height");r&&(p-=n.$.offsetWidth);n.setStyle("left",p+"px");var b=c.element.getWindow(),a=n.$.getBoundingClientRect(), +b=b.getViewPaneSize(),d=a.width||a.right-a.left,f=a.height||a.bottom-a.top,g=r?a.right:b.width-a.left,h=r?b.width-a.right:a.left;r?g<d&&(p=h>d?p+d:b.width>d?p-a.left:p-a.right+b.width):g<d&&(p=h>d?p-d:b.width>d?p-a.right+b.width:p-a.left);d=a.top;b.height-a.top<f&&(w=d>f?w-f:b.height>f?w-a.bottom+b.height:w-a.top);CKEDITOR.env.ie&&!CKEDITOR.env.edge&&((b=a=n.$.offsetParent&&new CKEDITOR.dom.element(n.$.offsetParent))&&"html"==b.getName()&&(b=b.getDocument().getBody()),b&&"rtl"==b.getComputedStyle("direction")&& +(p=CKEDITOR.env.ie8Compat?p-2*n.getDocument().getDocumentElement().$.scrollLeft:p-(a.$.scrollWidth-a.$.clientWidth)));var a=n.getFirst(),k;(k=a.getCustomData("activePanel"))&&k.onHide&&k.onHide.call(this,1);a.setCustomData("activePanel",this);n.setStyles({top:w+"px",left:p+"px"});n.setOpacity(1);l&&l()},this);c.isLoaded?a():c.onLoad=a;CKEDITOR.tools.setTimeout(function(){var a=CKEDITOR.env.webkit&&CKEDITOR.document.getWindow().getScrollPosition().y;this.focus();e.element.focus();CKEDITOR.env.webkit&& +(CKEDITOR.document.getBody().$.scrollTop=a);this.allowBlur(!0);this._.markFirst&&(CKEDITOR.env.ie?CKEDITOR.tools.setTimeout(function(){e.markFirstDisplayed?e.markFirstDisplayed():e._.markFirstDisplayed()},0):e.markFirstDisplayed?e.markFirstDisplayed():e._.markFirstDisplayed());this._.editor.fire("panelShow",this)},0,this)},CKEDITOR.env.air?200:0,this);this.visible=1;this.onShow&&this.onShow.call(this)},reposition:function(){var b=this._.showBlockParams;this.visible&&this._.showBlockParams&&(this.hide(), this.showBlock.apply(this,b))},focus:function(){if(CKEDITOR.env.webkit){var b=CKEDITOR.document.getActive();b&&!b.equals(this._.iframe)&&b.$.blur()}(this._.lastFocused||this._.iframe.getFrameDocument().getWindow()).focus()},blur:function(){var b=this._.iframe.getFrameDocument().getActive();b&&b.is("a")&&(this._.lastFocused=b)},hide:function(b){if(this.visible&&(!this.onHide||!0!==this.onHide.call(this))){this.hideChild();CKEDITOR.env.gecko&&this._.iframe.getFrameDocument().$.activeElement.blur(); -this.element.setStyle("display","none");this.visible=0;this.element.getFirst().removeCustomData("activePanel");if(b=b&&this._.returnFocus)CKEDITOR.env.webkit&&b.type&&b.getWindow().$.focus(),b.focus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire("panelHide",this)}},allowBlur:function(b){var e=this._.panel;void 0!==b&&(e.allowBlur=b);return e.allowBlur},showAsChild:function(b,e,a,h,l,k){if(this._.activeChild!=b||b._.panel._.offsetParentId!=a.getId())this.hideChild(),b.onHide= -CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=b,this._.focused=!1,b.showBlock(e,a,h,l,k),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){b.element.getChild(0).$.style.cssText+=""},100)},hideChild:function(b){var e=this._.activeChild;e&&(delete e.onHide,delete this._.activeChild,e.hide(),b&&this.focus())}}});CKEDITOR.on("instanceDestroyed",function(){var b=CKEDITOR.tools.isEmpty(CKEDITOR.instances), -e;for(e in h){var a=h[e];b?a.destroy():a.element.hide()}b&&(h={})})})();CKEDITOR.plugins.add("menu",{requires:"floatpanel",beforeInit:function(b){for(var h=b.config.menu_groups.split(","),g=b._.menuGroups={},e=b._.menuItems={},a=0;a<h.length;a++)g[h[a]]=a+1;b.addMenuGroup=function(a,b){g[a]=b||100};b.addMenuItem=function(a,b){g[b.group]&&(e[a]=new CKEDITOR.menuItem(this,a,b))};b.addMenuItems=function(a){for(var b in a)this.addMenuItem(b,a[b])};b.getMenuItem=function(a){return e[a]};b.removeMenuItem= -function(a){delete e[a]}}});(function(){function b(a){a.sort(function(a,c){return a.group<c.group?-1:a.group>c.group?1:a.order<c.order?-1:a.order>c.order?1:0})}var h='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}" href\x3d"{href}" title\x3d"{title}" tabindex\x3d"-1" _cke_focus\x3d1 hidefocus\x3d"true" role\x3d"{role}" aria-label\x3d"{attrLabel}" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasPopup}" aria-disabled\x3d"{disabled}" {ariaChecked} draggable\x3d"false"', +this.element.setStyle("display","none");this.visible=0;this.element.getFirst().removeCustomData("activePanel");if(b=b&&this._.returnFocus)CKEDITOR.env.webkit&&b.type&&b.getWindow().$.focus(),b.focus();delete this._.lastFocused;this._.showBlockParams=null;this._.editor.fire("panelHide",this)}},allowBlur:function(b){var f=this._.panel;void 0!==b&&(f.allowBlur=b);return f.allowBlur},showAsChild:function(b,f,a,h,k,l){if(this._.activeChild!=b||b._.panel._.offsetParentId!=a.getId())this.hideChild(),b.onHide= +CKEDITOR.tools.bind(function(){CKEDITOR.tools.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=b,this._.focused=!1,b.showBlock(f,a,h,k,l),this.blur(),(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&setTimeout(function(){b.element.getChild(0).$.style.cssText+=""},100)},hideChild:function(b){var f=this._.activeChild;f&&(delete f.onHide,delete this._.activeChild,f.hide(),b&&this.focus())}}});CKEDITOR.on("instanceDestroyed",function(){var b=CKEDITOR.tools.isEmpty(CKEDITOR.instances), +f;for(f in h){var a=h[f];b?a.destroy():a.element.hide()}b&&(h={})})})();CKEDITOR.plugins.add("menu",{requires:"floatpanel",beforeInit:function(b){for(var h=b.config.menu_groups.split(","),g=b._.menuGroups={},f=b._.menuItems={},a=0;a<h.length;a++)g[h[a]]=a+1;b.addMenuGroup=function(a,b){g[a]=b||100};b.addMenuItem=function(a,b){g[b.group]&&(f[a]=new CKEDITOR.menuItem(this,a,b))};b.addMenuItems=function(a){for(var b in a)this.addMenuItem(b,a[b])};b.getMenuItem=function(a){return f[a]};b.removeMenuItem= +function(a){delete f[a]}}});(function(){function b(a){a.sort(function(a,c){return a.group<c.group?-1:a.group>c.group?1:a.order<c.order?-1:a.order>c.order?1:0})}var h='\x3cspan class\x3d"cke_menuitem"\x3e\x3ca id\x3d"{id}" class\x3d"cke_menubutton cke_menubutton__{name} cke_menubutton_{state} {cls}" href\x3d"{href}" title\x3d"{title}" tabindex\x3d"-1" _cke_focus\x3d1 hidefocus\x3d"true" role\x3d"{role}" aria-label\x3d"{attrLabel}" aria-describedby\x3d"{id}_description" aria-haspopup\x3d"{hasPopup}" aria-disabled\x3d"{disabled}" {ariaChecked} draggable\x3d"false"', g="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(h+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(h+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;" ondragstart\x3d"return false;"');CKEDITOR.env.ie&&(g='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26');var h=h+(' onmouseover\x3d"CKEDITOR.tools.callFunction({hoverFn},{index});" onmouseout\x3d"CKEDITOR.tools.callFunction({moveOutFn},{index});" onclick\x3d"'+g+'CKEDITOR.tools.callFunction({clickFn},{index}); return false;"\x3e')+ -'\x3cspan class\x3d"cke_menubutton_inner"\x3e\x3cspan class\x3d"cke_menubutton_icon"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{iconStyle}"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"cke_menubutton_label"\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_voice_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e',e=CKEDITOR.addTemplate("menuItem",h),a=CKEDITOR.addTemplate("menuArrow", +'\x3cspan class\x3d"cke_menubutton_inner"\x3e\x3cspan class\x3d"cke_menubutton_icon"\x3e\x3cspan class\x3d"cke_button_icon cke_button__{iconName}_icon" style\x3d"{iconStyle}"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"cke_menubutton_label"\x3e{label}\x3c/span\x3e{shortcutHtml}{arrowHtml}\x3c/span\x3e\x3c/a\x3e\x3cspan id\x3d"{id}_description" class\x3d"cke_voice_label" aria-hidden\x3d"false"\x3e{ariaShortcut}\x3c/span\x3e\x3c/span\x3e',f=CKEDITOR.addTemplate("menuItem",h),a=CKEDITOR.addTemplate("menuArrow", '\x3cspan class\x3d"cke_menuarrow"\x3e\x3cspan\x3e{label}\x3c/span\x3e\x3c/span\x3e'),m=CKEDITOR.addTemplate("menuShortcut",'\x3cspan class\x3d"cke_menubutton_label cke_menubutton_shortcut"\x3e{shortcut}\x3c/span\x3e');CKEDITOR.menu=CKEDITOR.tools.createClass({$:function(a,b){b=this._.definition=b||{};this.id=CKEDITOR.tools.getNextId();this.editor=a;this.items=[];this._.listeners=[];this._.level=b.level||1;var c=CKEDITOR.tools.extend({},b.panel,{css:[CKEDITOR.skin.getPath("editor")],level:this._.level- -1,block:{}}),f=c.block.attributes=c.attributes||{};!f.role&&(f.role="menu");this._.panelDefinition=c},_:{onShow:function(){var a=this.editor.getSelection(),b=a&&a.getStartElement(),c=this.editor.elementPath(),f=this._.listeners;this.removeAll();for(var d=0;d<f.length;d++){var e=f[d](b,a,c);if(e)for(var g in e){var h=this.editor.getMenuItem(g);!h||h.command&&!this.editor.getCommand(h.command).state||(h.state=e[g],this.add(h))}}},onClick:function(a){this.hide();if(a.onClick)a.onClick();else a.command&& -this.editor.execCommand(a.command)},onEscape:function(a){var b=this.parent;b?b._.panel.hideChild(1):27==a&&this.hide(1);return!1},onHide:function(){this.onHide&&this.onHide()},showSubMenu:function(a){var b=this._.subMenu,c=this.items[a];if(c=c.getItems&&c.getItems()){b?b.removeAll():(b=this._.subMenu=new CKEDITOR.menu(this.editor,CKEDITOR.tools.extend({},this._.definition,{level:this._.level+1},!0)),b.parent=this,b._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var f in c){var d=this.editor.getMenuItem(f); -d&&(d.state=c[f],b.add(d))}var e=this._.panel.getBlock(this.id).element.getDocument().getById(this.id+String(a));setTimeout(function(){b.show(e,2)},0)}else this._.panel.hideChild(1)}},proto:{add:function(a){a.order||(a.order=this.items.length);this.items.push(a)},removeAll:function(){this.items=[]},show:function(a,e,c,f){if(!this.parent&&(this._.onShow(),!this.items.length))return;e=e||("rtl"==this.editor.lang.dir?2:1);var d=this.items,g=this.editor,h=this._.panel,m=this._.element;if(!h){h=this._.panel= -new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),this._.panelDefinition,this._.level);h.onEscape=CKEDITOR.tools.bind(function(a){if(!1===this._.onEscape(a))return!1},this);h.onShow=function(){h._.panel.getHolderElement().getParent().addClass("cke").addClass("cke_reset_all")};h.onHide=CKEDITOR.tools.bind(function(){this._.onHide&&this._.onHide()},this);m=h.addBlock(this.id,this._.panelDefinition.block);m.autoSize=!0;var p=m.keys;p[40]="next";p[9]="next";p[38]="prev";p[CKEDITOR.SHIFT+ -9]="prev";p["rtl"==g.lang.dir?37:39]=CKEDITOR.env.ie?"mouseup":"click";p[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(p[13]="mouseup");m=this._.element=m.element;p=m.getDocument();p.getBody().setStyle("overflow","hidden");p.getElementsByTag("html").getItem(0).setStyle("overflow","hidden");this._.itemOverFn=CKEDITOR.tools.addFunction(function(a){clearTimeout(this._.showSubTimeout);this._.showSubTimeout=CKEDITOR.tools.setTimeout(this._.showSubMenu,g.config.menu_subMenuDelay||400,this,[a])}, -this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(){clearTimeout(this._.showSubTimeout)},this);this._.itemClickFn=CKEDITOR.tools.addFunction(function(a){var c=this.items[a];if(c.state==CKEDITOR.TRISTATE_DISABLED)this.hide(1);else if(c.getItems)this._.showSubMenu(a);else this._.onClick(c)},this)}b(d);for(var p=g.elementPath(),p=['\x3cdiv class\x3d"cke_menu'+(p&&p.direction()!=g.lang.dir?" cke_mixed_dir_content":"")+'" role\x3d"presentation"\x3e'],r=d.length,q=r&&d[0].group,x=0;x<r;x++){var t= -d[x];q!=t.group&&(p.push('\x3cdiv class\x3d"cke_menuseparator" role\x3d"separator"\x3e\x3c/div\x3e'),q=t.group);t.render(this,x,p)}p.push("\x3c/div\x3e");m.setHtml(p.join(""));CKEDITOR.ui.fire("ready",this);this.parent?this.parent._.panel.showAsChild(h,this.id,a,e,c,f):h.showBlock(this.id,a,e,c,f);g.fire("menuShow",[h])},addListener:function(a){this._.listeners.push(a)},hide:function(a){this._.onHide&&this._.onHide();this._.panel&&this._.panel.hide(a)},findItemByCommandName:function(a){var b=CKEDITOR.tools.array.filter(this.items, -function(c){return a===c.command});return b.length?(b=b[0],{item:b,element:this._.element.findOne("."+b.className)}):null}}});CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(a,b,c){CKEDITOR.tools.extend(this,c,{order:0,className:"cke_menubutton__"+b});this.group=a._.menuGroups[this.group];this.editor=a;this.name=b},proto:{render:function(b,g,c){var f=b.id+String(g),d="undefined"==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,h="",w=this.editor,v,p,r=d==CKEDITOR.TRISTATE_ON?"on":d==CKEDITOR.TRISTATE_DISABLED? -"disabled":"off";this.role in{menuitemcheckbox:1,menuitemradio:1}&&(h=' aria-checked\x3d"'+(d==CKEDITOR.TRISTATE_ON?"true":"false")+'"');var q=this.getItems,x="\x26#"+("rtl"==this.editor.lang.dir?"9668":"9658")+";",t=this.name;this.icon&&!/\./.test(this.icon)&&(t=this.icon);this.command&&(v=w.getCommand(this.command),(v=w.getCommandKeystroke(v))&&(p=CKEDITOR.tools.keystrokeToString(w.lang.common.keyboard,v)));v=CKEDITOR.tools.htmlEncodeAttr(this.label);b={id:f,name:this.name,iconName:t,label:this.label, -attrLabel:v,cls:this.className||"",state:r,hasPopup:q?"true":"false",disabled:d==CKEDITOR.TRISTATE_DISABLED,title:v+(p?" ("+p.display+")":""),ariaShortcut:p?w.lang.common.keyboardShortcut+" "+p.aria:"",href:"javascript:void('"+(v||"").replace("'")+"')",hoverFn:b._.itemOverFn,moveOutFn:b._.itemOutFn,clickFn:b._.itemClickFn,index:g,iconStyle:CKEDITOR.skin.getIconStyle(t,"rtl"==this.editor.lang.dir,t==this.icon?null:this.icon,this.iconOffset),shortcutHtml:p?m.output({shortcut:p.display}):"",arrowHtml:q? -a.output({label:x}):"",role:this.role?this.role:"menuitem",ariaChecked:h};e.output(b,c)}}})})();CKEDITOR.config.menu_groups="clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div";CKEDITOR.plugins.add("contextmenu",{requires:"menu",onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(b){this.base.call(this,b,{panel:{css:b.config.contextmenu_contentsCss, -className:"cke_menu_panel",attributes:{"aria-label":b.lang.contextmenu.options}}})},proto:{addTarget:function(b,h){function g(){a=!1}var e,a;b.on("contextmenu",function(b){b=b.data;var g=CKEDITOR.env.webkit?e:CKEDITOR.env.mac?b.$.metaKey:b.$.ctrlKey;if(!h||!g)if(b.preventDefault(),!a){if(CKEDITOR.env.mac&&CKEDITOR.env.webkit){var g=this.editor,c=(new CKEDITOR.dom.elementPath(b.getTarget(),g.editable())).contains(function(a){return a.hasAttribute("contenteditable")},!0);c&&"false"==c.getAttribute("contenteditable")&& -g.getSelection().fake(c)}var c=b.getTarget().getDocument(),f=b.getTarget().getDocument().getDocumentElement(),g=!c.equals(CKEDITOR.document),c=c.getWindow().getScrollPosition(),d=g?b.$.clientX:b.$.pageX||c.x+b.$.clientX,n=g?b.$.clientY:b.$.pageY||c.y+b.$.clientY;CKEDITOR.tools.setTimeout(function(){this.open(f,null,d,n)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var m=function(){e=0};b.on("keydown",function(a){e=CKEDITOR.env.mac?a.data.$.metaKey:a.data.$.ctrlKey});b.on("keyup",m); -b.on("contextmenu",m)}CKEDITOR.env.gecko&&!CKEDITOR.env.mac&&(b.on("keydown",function(b){b.data.$.shiftKey&&121===b.data.$.keyCode&&(a=!0)},null,null,0),b.on("keyup",g),b.on("contextmenu",g))},open:function(b,h,g,e){!1!==this.editor.config.enableContextMenu&&this.editor.getSelection().getType()!==CKEDITOR.SELECTION_NONE&&(this.editor.focus(),b=b||CKEDITOR.document.getDocumentElement(),this.editor.selectionChange(1),this.show(b,h,g,e))}}})},beforeInit:function(b){var h=b.contextMenu=new CKEDITOR.plugins.contextMenu(b); -b.on("contentDom",function(){h.addTarget(b.editable(),!1!==b.config.browserContextMenuOnCtrl)});b.addCommand("contextMenu",{exec:function(b){var e=0,a=0,h=b.getSelection().getRanges(),h=h[h.length-1].getClientRects(b.editable().isInline());if(h=h[h.length-1])e=h["rtl"===b.lang.dir?"left":"right"],a=h.bottom;b.contextMenu.open(b.document.getBody().getParent(),null,e,a)}});b.setKeystroke(CKEDITOR.SHIFT+121,"contextMenu");b.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,"contextMenu")}});(function(){function b(a, -b){function g(c){c=d.list[c];var b;c.equals(a.editable())||"true"==c.getAttribute("contenteditable")?(b=a.createRange(),b.selectNodeContents(c),b=b.select()):(b=a.getSelection(),b.selectElement(c));CKEDITOR.env.ie&&a.fire("selectionChange",{selection:b,path:new CKEDITOR.dom.elementPath(c)});a.focus()}function k(){f&&f.setHtml('\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');delete d.list}var c=a.ui.spaceId("path"),f,d=a._.elementsPath,n=d.idBase;b.html+='\x3cspan id\x3d"'+c+'_label" class\x3d"cke_voice_label"\x3e'+ -a.lang.elementspath.eleLabel+'\x3c/span\x3e\x3cspan id\x3d"'+c+'" class\x3d"cke_path" role\x3d"group" aria-labelledby\x3d"'+c+'_label"\x3e\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e\x3c/span\x3e';a.on("uiReady",function(){var c=a.ui.space("path");c&&a.focusManager.add(c,1)});d.onClick=g;var w=CKEDITOR.tools.addFunction(g),v=CKEDITOR.tools.addFunction(function(c,b){var f=d.idBase,e;b=new CKEDITOR.dom.event(b);e="rtl"==a.lang.dir;switch(b.getKeystroke()){case e?39:37:case 9:return(e= -CKEDITOR.document.getById(f+(c+1)))||(e=CKEDITOR.document.getById(f+"0")),e.focus(),!1;case e?37:39:case CKEDITOR.SHIFT+9:return(e=CKEDITOR.document.getById(f+(c-1)))||(e=CKEDITOR.document.getById(f+(d.list.length-1))),e.focus(),!1;case 27:return a.focus(),!1;case 13:case 32:return g(c),!1}return!0});a.on("selectionChange",function(b){for(var g=[],h=d.list=[],k=[],l=d.filters,m=!0,y=b.data.path.elements,u=y.length;u--;){var B=y[u],C=0;b=B.data("cke-display-name")?B.data("cke-display-name"):B.data("cke-real-element-type")? -B.data("cke-real-element-type"):B.getName();(m=B.hasAttribute("contenteditable")?"true"==B.getAttribute("contenteditable"):m)||B.hasAttribute("contenteditable")||(C=1);for(var A=0;A<l.length;A++){var E=l[A](B,b);if(!1===E){C=1;break}b=E||b}C||(h.unshift(B),k.unshift(b))}h=h.length;for(l=0;l<h;l++)b=k[l],m=a.lang.elementspath.eleTitle.replace(/%1/,b),b=e.output({id:n+l,label:m,text:b,jsTitle:"javascript:void('"+b+"')",index:l,keyDownFn:v,clickFn:w}),g.unshift(b);f||(f=CKEDITOR.document.getById(c)); -k=f;k.setHtml(g.join("")+'\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');a.fire("elementsPathUpdate",{space:k})});a.on("readOnly",k);a.on("contentDomUnload",k);a.addCommand("elementsPathFocus",h.toolbarFocus);a.setKeystroke(CKEDITOR.ALT+122,"elementsPathFocus")}var h={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(a){(a=CKEDITOR.document.getById(a._.elementsPath.idBase+"0"))&&a.focus(CKEDITOR.env.ie||CKEDITOR.env.air)}}},g="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(g+=' onkeypress\x3d"return false;"'); -CKEDITOR.env.gecko&&(g+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var e=CKEDITOR.addTemplate("pathItem",'\x3ca id\x3d"{id}" href\x3d"{jsTitle}" tabindex\x3d"-1" class\x3d"cke_path_item" title\x3d"{label}"'+g+' hidefocus\x3d"true" draggable\x3d"false" ondragstart\x3d"return false;" onkeydown\x3d"return CKEDITOR.tools.callFunction({keyDownFn},{index}, event );" onclick\x3d"CKEDITOR.tools.callFunction({clickFn},{index}); return false;" role\x3d"button" aria-label\x3d"{label}"\x3e{text}\x3c/a\x3e'); -CKEDITOR.plugins.add("elementspath",{init:function(a){a._.elementsPath={idBase:"cke_elementspath_"+CKEDITOR.tools.getNextNumber()+"_",filters:[]};a.on("uiSpace",function(e){"bottom"==e.data.space&&b(a,e.data)})}})})();(function(){function b(a,c,b){b=a.config.forceEnterMode||b;if("wysiwyg"==a.mode){c||(c=a.activeEnterMode);var e=a.elementPath();e&&!e.isContextFor("p")&&(c=CKEDITOR.ENTER_BR,b=1);a.fire("saveSnapshot");c==CKEDITOR.ENTER_BR?l(a,c,null,b):k(a,c,null,b);a.fire("saveSnapshot")}}function h(a){a= +1,block:{}}),e=c.block.attributes=c.attributes||{};!e.role&&(e.role="menu");this._.panelDefinition=c},_:{onShow:function(){var a=this.editor.getSelection(),b=a&&a.getStartElement(),c=this.editor.elementPath(),e=this._.listeners;this.removeAll();for(var d=0;d<e.length;d++){var f=e[d](b,a,c);if(f)for(var g in f){var h=this.editor.getMenuItem(g);!h||h.command&&!this.editor.getCommand(h.command).state||(h.state=f[g],this.add(h))}}},onClick:function(a){this.hide();if(a.onClick)a.onClick();else a.command&& +this.editor.execCommand(a.command)},onEscape:function(a){var b=this.parent;b?b._.panel.hideChild(1):27==a&&this.hide(1);return!1},onHide:function(){this.onHide&&this.onHide()},showSubMenu:function(a){var b=this._.subMenu,c=this.items[a];if(c=c.getItems&&c.getItems()){b?b.removeAll():(b=this._.subMenu=new CKEDITOR.menu(this.editor,CKEDITOR.tools.extend({},this._.definition,{level:this._.level+1},!0)),b.parent=this,b._.onClick=CKEDITOR.tools.bind(this._.onClick,this));for(var e in c){var d=this.editor.getMenuItem(e); +d&&(d.state=c[e],b.add(d))}var f=this._.panel.getBlock(this.id).element.getDocument().getById(this.id+String(a));setTimeout(function(){b.show(f,2)},0)}else this._.panel.hideChild(1)}},proto:{add:function(a){a.order||(a.order=this.items.length);this.items.push(a)},removeAll:function(){this.items=[]},show:function(a,f,c,e){if(!this.parent&&(this._.onShow(),!this.items.length))return;f=f||("rtl"==this.editor.lang.dir?2:1);var d=this.items,g=this.editor,h=this._.panel,m=this._.element;if(!h){h=this._.panel= +new CKEDITOR.ui.floatPanel(this.editor,CKEDITOR.document.getBody(),this._.panelDefinition,this._.level);h.onEscape=CKEDITOR.tools.bind(function(a){if(!1===this._.onEscape(a))return!1},this);h.onShow=function(){h._.panel.getHolderElement().getParent().addClass("cke").addClass("cke_reset_all")};h.onHide=CKEDITOR.tools.bind(function(){this._.onHide&&this._.onHide()},this);m=h.addBlock(this.id,this._.panelDefinition.block);m.autoSize=!0;var q=m.keys;q[40]="next";q[9]="next";q[38]="prev";q[CKEDITOR.SHIFT+ +9]="prev";q["rtl"==g.lang.dir?37:39]=CKEDITOR.env.ie?"mouseup":"click";q[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(q[13]="mouseup");m=this._.element=m.element;q=m.getDocument();q.getBody().setStyle("overflow","hidden");q.getElementsByTag("html").getItem(0).setStyle("overflow","hidden");this._.itemOverFn=CKEDITOR.tools.addFunction(function(a){clearTimeout(this._.showSubTimeout);this._.showSubTimeout=CKEDITOR.tools.setTimeout(this._.showSubMenu,g.config.menu_subMenuDelay||400,this,[a])}, +this);this._.itemOutFn=CKEDITOR.tools.addFunction(function(){clearTimeout(this._.showSubTimeout)},this);this._.itemClickFn=CKEDITOR.tools.addFunction(function(a){var c=this.items[a];if(c.state==CKEDITOR.TRISTATE_DISABLED)this.hide(1);else if(c.getItems)this._.showSubMenu(a);else this._.onClick(c)},this)}b(d);for(var q=g.elementPath(),q=['\x3cdiv class\x3d"cke_menu'+(q&&q.direction()!=g.lang.dir?" cke_mixed_dir_content":"")+'" role\x3d"presentation"\x3e'],r=d.length,p=r&&d[0].group,w=0;w<r;w++){var t= +d[w];p!=t.group&&(q.push('\x3cdiv class\x3d"cke_menuseparator" role\x3d"separator"\x3e\x3c/div\x3e'),p=t.group);t.render(this,w,q)}q.push("\x3c/div\x3e");m.setHtml(q.join(""));CKEDITOR.ui.fire("ready",this);this.parent?this.parent._.panel.showAsChild(h,this.id,a,f,c,e):h.showBlock(this.id,a,f,c,e);g.fire("menuShow",[h])},addListener:function(a){this._.listeners.push(a)},hide:function(a){this._.onHide&&this._.onHide();this._.panel&&this._.panel.hide(a)},findItemByCommandName:function(a){var b=CKEDITOR.tools.array.filter(this.items, +function(c){return a===c.command});return b.length?(b=b[0],{item:b,element:this._.element.findOne("."+b.className)}):null}}});CKEDITOR.menuItem=CKEDITOR.tools.createClass({$:function(a,b,c){CKEDITOR.tools.extend(this,c,{order:0,className:"cke_menubutton__"+b});this.group=a._.menuGroups[this.group];this.editor=a;this.name=b},proto:{render:function(b,g,c){var e=b.id+String(g),d="undefined"==typeof this.state?CKEDITOR.TRISTATE_OFF:this.state,h="",y=this.editor,x,q,r=d==CKEDITOR.TRISTATE_ON?"on":d==CKEDITOR.TRISTATE_DISABLED? +"disabled":"off";this.role in{menuitemcheckbox:1,menuitemradio:1}&&(h=' aria-checked\x3d"'+(d==CKEDITOR.TRISTATE_ON?"true":"false")+'"');var p=this.getItems,w="\x26#"+("rtl"==this.editor.lang.dir?"9668":"9658")+";",t=this.name;this.icon&&!/\./.test(this.icon)&&(t=this.icon);this.command&&(x=y.getCommand(this.command),(x=y.getCommandKeystroke(x))&&(q=CKEDITOR.tools.keystrokeToString(y.lang.common.keyboard,x)));x=CKEDITOR.tools.htmlEncodeAttr(this.label);b={id:e,name:this.name,iconName:t,label:this.label, +attrLabel:x,cls:this.className||"",state:r,hasPopup:p?"true":"false",disabled:d==CKEDITOR.TRISTATE_DISABLED,title:x+(q?" ("+q.display+")":""),ariaShortcut:q?y.lang.common.keyboardShortcut+" "+q.aria:"",href:"javascript:void('"+(x||"").replace("'")+"')",hoverFn:b._.itemOverFn,moveOutFn:b._.itemOutFn,clickFn:b._.itemClickFn,index:g,iconStyle:CKEDITOR.skin.getIconStyle(t,"rtl"==this.editor.lang.dir,t==this.icon?null:this.icon,this.iconOffset),shortcutHtml:q?m.output({shortcut:q.display}):"",arrowHtml:p? +a.output({label:w}):"",role:this.role?this.role:"menuitem",ariaChecked:h};f.output(b,c)}}})})();CKEDITOR.config.menu_groups="clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div";CKEDITOR.plugins.add("contextmenu",{requires:"menu",onLoad:function(){CKEDITOR.plugins.contextMenu=CKEDITOR.tools.createClass({base:CKEDITOR.menu,$:function(b){this.base.call(this,b,{panel:{css:b.config.contextmenu_contentsCss, +className:"cke_menu_panel",attributes:{"aria-label":b.lang.contextmenu.options}}})},proto:{addTarget:function(b,h){function g(){a=!1}var f,a;b.on("contextmenu",function(b){b=b.data;var g=CKEDITOR.env.webkit?f:CKEDITOR.env.mac?b.$.metaKey:b.$.ctrlKey;if(!h||!g)if(b.preventDefault(),!a){if(CKEDITOR.env.mac&&CKEDITOR.env.webkit){var g=this.editor,c=(new CKEDITOR.dom.elementPath(b.getTarget(),g.editable())).contains(function(a){return a.hasAttribute("contenteditable")},!0);c&&"false"==c.getAttribute("contenteditable")&& +g.getSelection().fake(c)}var c=b.getTarget().getDocument(),e=b.getTarget().getDocument().getDocumentElement(),g=!c.equals(CKEDITOR.document),c=c.getWindow().getScrollPosition(),d=g?b.$.clientX:b.$.pageX||c.x+b.$.clientX,n=g?b.$.clientY:b.$.pageY||c.y+b.$.clientY;CKEDITOR.tools.setTimeout(function(){this.open(e,null,d,n)},CKEDITOR.env.ie?200:0,this)}},this);if(CKEDITOR.env.webkit){var m=function(){f=0};b.on("keydown",function(a){f=CKEDITOR.env.mac?a.data.$.metaKey:a.data.$.ctrlKey});b.on("keyup",m); +b.on("contextmenu",m)}CKEDITOR.env.gecko&&!CKEDITOR.env.mac&&(b.on("keydown",function(b){b.data.$.shiftKey&&121===b.data.$.keyCode&&(a=!0)},null,null,0),b.on("keyup",g),b.on("contextmenu",g))},open:function(b,h,g,f){!1!==this.editor.config.enableContextMenu&&this.editor.getSelection().getType()!==CKEDITOR.SELECTION_NONE&&(this.editor.focus(),b=b||CKEDITOR.document.getDocumentElement(),this.editor.selectionChange(1),this.show(b,h,g,f))}}})},beforeInit:function(b){var h=b.contextMenu=new CKEDITOR.plugins.contextMenu(b); +b.on("contentDom",function(){h.addTarget(b.editable(),!1!==b.config.browserContextMenuOnCtrl)});b.addCommand("contextMenu",{exec:function(b){var f=0,a=0,h=b.getSelection().getRanges(),h=h[h.length-1].getClientRects(b.editable().isInline());if(h=h[h.length-1])f=h["rtl"===b.lang.dir?"left":"right"],a=h.bottom;b.contextMenu.open(b.document.getBody().getParent(),null,f,a)}});b.setKeystroke(CKEDITOR.SHIFT+121,"contextMenu");b.setKeystroke(CKEDITOR.CTRL+CKEDITOR.SHIFT+121,"contextMenu")}});(function(){function b(a, +b){function g(c){c=d.list[c];var b;c.equals(a.editable())||"true"==c.getAttribute("contenteditable")?(b=a.createRange(),b.selectNodeContents(c),b=b.select()):(b=a.getSelection(),b.selectElement(c));CKEDITOR.env.ie&&a.fire("selectionChange",{selection:b,path:new CKEDITOR.dom.elementPath(c)});a.focus()}function l(){e&&e.setHtml('\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');delete d.list}var c=a.ui.spaceId("path"),e,d=a._.elementsPath,n=d.idBase;b.html+='\x3cspan id\x3d"'+c+'_label" class\x3d"cke_voice_label"\x3e'+ +a.lang.elementspath.eleLabel+'\x3c/span\x3e\x3cspan id\x3d"'+c+'" class\x3d"cke_path" role\x3d"group" aria-labelledby\x3d"'+c+'_label"\x3e\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e\x3c/span\x3e';a.on("uiReady",function(){var c=a.ui.space("path");c&&a.focusManager.add(c,1)});d.onClick=g;var y=CKEDITOR.tools.addFunction(g),x=CKEDITOR.tools.addFunction(function(c,b){var e=d.idBase,f;b=new CKEDITOR.dom.event(b);f="rtl"==a.lang.dir;switch(b.getKeystroke()){case f?39:37:case 9:return(f= +CKEDITOR.document.getById(e+(c+1)))||(f=CKEDITOR.document.getById(e+"0")),f.focus(),!1;case f?37:39:case CKEDITOR.SHIFT+9:return(f=CKEDITOR.document.getById(e+(c-1)))||(f=CKEDITOR.document.getById(e+(d.list.length-1))),f.focus(),!1;case 27:return a.focus(),!1;case 13:case 32:return g(c),!1}return!0});a.on("selectionChange",function(b){for(var g=[],h=d.list=[],k=[],l=d.filters,m=!0,u=b.data.path.elements,v=u.length;v--;){var C=u[v],E=0;b=C.data("cke-display-name")?C.data("cke-display-name"):C.data("cke-real-element-type")? +C.data("cke-real-element-type"):C.getName();(m=C.hasAttribute("contenteditable")?"true"==C.getAttribute("contenteditable"):m)||C.hasAttribute("contenteditable")||(E=1);for(var A=0;A<l.length;A++){var B=l[A](C,b);if(!1===B){E=1;break}b=B||b}E||(h.unshift(C),k.unshift(b))}h=h.length;for(l=0;l<h;l++)b=k[l],m=a.lang.elementspath.eleTitle.replace(/%1/,b),b=f.output({id:n+l,label:m,text:b,jsTitle:"javascript:void('"+b+"')",index:l,keyDownFn:x,clickFn:y}),g.unshift(b);e||(e=CKEDITOR.document.getById(c)); +k=e;k.setHtml(g.join("")+'\x3cspan class\x3d"cke_path_empty"\x3e\x26nbsp;\x3c/span\x3e');a.fire("elementsPathUpdate",{space:k})});a.on("readOnly",l);a.on("contentDomUnload",l);a.addCommand("elementsPathFocus",h.toolbarFocus);a.setKeystroke(CKEDITOR.ALT+122,"elementsPathFocus")}var h={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(a){(a=CKEDITOR.document.getById(a._.elementsPath.idBase+"0"))&&a.focus(CKEDITOR.env.ie||CKEDITOR.env.air)}}},g="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(g+=' onkeypress\x3d"return false;"'); +CKEDITOR.env.gecko&&(g+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');var f=CKEDITOR.addTemplate("pathItem",'\x3ca id\x3d"{id}" href\x3d"{jsTitle}" tabindex\x3d"-1" class\x3d"cke_path_item" title\x3d"{label}"'+g+' hidefocus\x3d"true" draggable\x3d"false" ondragstart\x3d"return false;" onkeydown\x3d"return CKEDITOR.tools.callFunction({keyDownFn},{index}, event );" onclick\x3d"CKEDITOR.tools.callFunction({clickFn},{index}); return false;" role\x3d"button" aria-label\x3d"{label}"\x3e{text}\x3c/a\x3e'); +CKEDITOR.plugins.add("elementspath",{init:function(a){a._.elementsPath={idBase:"cke_elementspath_"+CKEDITOR.tools.getNextNumber()+"_",filters:[]};a.on("uiSpace",function(f){"bottom"==f.data.space&&b(a,f.data)})}})})();(function(){function b(a,c,b){b=a.config.forceEnterMode||b;if("wysiwyg"==a.mode){c||(c=a.activeEnterMode);var f=a.elementPath();f&&!f.isContextFor("p")&&(c=CKEDITOR.ENTER_BR,b=1);a.fire("saveSnapshot");c==CKEDITOR.ENTER_BR?k(a,c,null,b):l(a,c,null,b);a.fire("saveSnapshot")}}function h(a){a= a.getSelection().getRanges(!0);for(var c=a.length-1;0<c;c--)a[c].deleteContents();return a[0]}function g(a){var c=a.startContainer.getAscendant(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&"true"==a.getAttribute("contenteditable")},!0);if(a.root.equals(c))return a;c=new CKEDITOR.dom.range(c);c.moveToRange(a);return c}CKEDITOR.plugins.add("enterkey",{init:function(a){a.addCommand("enter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){b(a)}});a.addCommand("shiftEnter",{modes:{wysiwyg:1},editorFocus:!1, -exec:function(a){b(a,a.activeShiftEnterMode,1)}});a.setKeystroke([[13,"enter"],[CKEDITOR.SHIFT+13,"shiftEnter"]])}});var e=CKEDITOR.dom.walker.whitespaces(),a=CKEDITOR.dom.walker.bookmark(),m,l,k,c;CKEDITOR.plugins.enterkey={enterBlock:function(b,d,k,m){function v(a){var c;if(a===CKEDITOR.ENTER_BR||-1===CKEDITOR.tools.indexOf(["td","th"],x.lastElement.getName())||1!==x.lastElement.getChildCount())return!1;a=x.lastElement.getChild(0).clone(!0);(c=a.getBogus())&&c.remove();return a.getText().length? -!1:!0}if(k=k||h(b)){k=g(k);var p=k.document,r=k.checkStartOfBlock(),q=k.checkEndOfBlock(),x=b.elementPath(k.startContainer),t=x.block,z=d==CKEDITOR.ENTER_DIV?"div":"p",y;if(t&&r&&q){r=t.getParent();if(r.is("li")&&1<r.getChildCount()){p=new CKEDITOR.dom.element("li");y=b.createRange();p.insertAfter(r);t.remove();y.setStart(p,0);b.getSelection().selectRanges([y]);return}if(t.is("li")||t.getParent().is("li")){t.is("li")||(t=t.getParent(),r=t.getParent());y=r.getParent();k=!t.hasPrevious();var u=!t.hasNext(); -m=b.getSelection();var z=m.createBookmarks(),B=t.getDirection(1),q=t.getAttribute("class"),C=t.getAttribute("style"),A=y.getDirection(1)!=B;b=b.enterMode!=CKEDITOR.ENTER_BR||A||C||q;if(y.is("li"))k||u?(k&&u&&r.remove(),t[u?"insertAfter":"insertBefore"](y)):t.breakParent(y);else{if(b)if(x.block.is("li")?(y=p.createElement(d==CKEDITOR.ENTER_P?"p":"div"),A&&y.setAttribute("dir",B),C&&y.setAttribute("style",C),q&&y.setAttribute("class",q),t.moveChildren(y)):y=x.block,k||u)y[k?"insertBefore":"insertAfter"](r); -else t.breakParent(r),y.insertAfter(r);else if(t.appendBogus(!0),k||u)for(;p=t[k?"getFirst":"getLast"]();)p[k?"insertBefore":"insertAfter"](r);else for(t.breakParent(r);p=t.getLast();)p.insertAfter(r);t.remove()}m.selectBookmarks(z);return}if(t&&t.getParent().is("blockquote")){t.breakParent(t.getParent());t.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||t.getPrevious().remove();t.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||t.getNext().remove();k.moveToElementEditStart(t);k.select(); -return}}else if(t&&t.is("pre")&&!q){l(b,d,k,m);return}if(C=k.splitBlock(z)){b=C.previousBlock;t=C.nextBlock;r=C.wasStartOfBlock;q=C.wasEndOfBlock;t?(u=t.getParent(),u.is("li")&&(t.breakParent(u),t.move(t.getNext(),1))):b&&(u=b.getParent())&&u.is("li")&&(b.breakParent(u),u=b.getNext(),k.moveToElementEditStart(u),b.move(b.getPrevious()));if(r||q)if(v(d))k.moveToElementEditStart(k.getTouchedStartNode());else{if(b){if(b.is("li")||!c.test(b.getName())&&!b.is("pre"))y=b.clone()}else t&&(y=t.clone());y? -m&&!y.is("li")&&y.renameNode(z):u&&u.is("li")?y=u:(y=p.createElement(z),b&&(B=b.getDirection())&&y.setAttribute("dir",B));if(p=C.elementPath)for(d=0,m=p.elements.length;d<m;d++){z=p.elements[d];if(z.equals(p.block)||z.equals(p.blockLimit))break;CKEDITOR.dtd.$removeEmpty[z.getName()]&&(z=z.clone(),y.moveChildren(z),y.append(z))}y.appendBogus();y.getParent()||k.insertNode(y);y.is("li")&&y.removeAttribute("value");!CKEDITOR.env.ie||!r||q&&b.getChildCount()||(k.moveToElementEditStart(q?b:y),k.select()); -k.moveToElementEditStart(r&&!q?t:y)}else t.is("li")&&(y=k.clone(),y.selectNodeContents(t),y=new CKEDITOR.dom.walker(y),y.evaluator=function(c){return!(a(c)||e(c)||c.type==CKEDITOR.NODE_ELEMENT&&c.getName()in CKEDITOR.dtd.$inline&&!(c.getName()in CKEDITOR.dtd.$empty))},(u=y.next())&&u.type==CKEDITOR.NODE_ELEMENT&&u.is("ul","ol")&&(CKEDITOR.env.needsBrFiller?p.createElement("br"):p.createText(" ")).insertBefore(u)),t&&k.moveToElementEditStart(t);k.select();k.scrollIntoView()}}},enterBr:function(a,b, -e,g){if(e=e||h(a)){var l=e.document,m=e.checkEndOfBlock(),r=new CKEDITOR.dom.elementPath(a.getSelection().getStartElement()),q=r.block,x=q&&r.block.getName();g||"li"!=x?(!g&&m&&c.test(x)?(m=q.getDirection())?(l=l.createElement("div"),l.setAttribute("dir",m),l.insertAfter(q),e.setStart(l,0)):(l.createElement("br").insertAfter(q),CKEDITOR.env.gecko&&l.createText("").insertAfter(q),e.setStartAt(q.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(a="pre"==x&&CKEDITOR.env.ie&& -8>CKEDITOR.env.version?l.createText("\r"):l.createElement("br"),e.deleteContents(),e.insertNode(a),CKEDITOR.env.needsBrFiller?(l.createText("").insertAfter(a),m&&(q||r.blockLimit).appendBogus(),a.getNext().$.nodeValue="",e.setStartAt(a.getNext(),CKEDITOR.POSITION_AFTER_START)):e.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),e.collapse(!0),e.select(),e.scrollIntoView()):k(a,b,e,g)}}};m=CKEDITOR.plugins.enterkey;l=m.enterBr;k=m.enterBlock;c=/^h[1-6]$/})();(function(){function b(b,g){var e={},a=[],m={nbsp:" ", -shy:"",gt:"\x3e",lt:"\x3c",amp:"\x26",apos:"'",quot:'"'};b=b.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(c,b){var h=g?"\x26"+b+";":m[b];e[h]=g?m[b]:"\x26"+b+";";a.push(h);return""});b=b.replace(/,$/,"");if(!g&&b){b=b.split(",");var l=document.createElement("div"),k;l.innerHTML="\x26"+b.join(";\x26")+";";k=l.innerHTML;l=null;for(l=0;l<k.length;l++){var c=k.charAt(l);e[c]="\x26"+b[l]+";";a.push(c)}}e.regex=a.join(g?"|":"");return e}CKEDITOR.plugins.add("entities",{afterInit:function(h){function g(a){return c[a]} -function e(c){return"force"!=a.entities_processNumerical&&l[c]?l[c]:"\x26#"+c.charCodeAt(0)+";"}var a=h.config;if(h=(h=h.dataProcessor)&&h.htmlFilter){var m=[];!1!==a.basicEntities&&m.push("nbsp,gt,lt,amp");a.entities&&(m.length&&m.push("quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro"), +exec:function(a){b(a,a.activeShiftEnterMode,1)}});a.setKeystroke([[13,"enter"],[CKEDITOR.SHIFT+13,"shiftEnter"]])}});var f=CKEDITOR.dom.walker.whitespaces(),a=CKEDITOR.dom.walker.bookmark(),m,k,l,c;CKEDITOR.plugins.enterkey={enterBlock:function(b,d,l,m){function x(a){var c;if(a===CKEDITOR.ENTER_BR||-1===CKEDITOR.tools.indexOf(["td","th"],w.lastElement.getName())||1!==w.lastElement.getChildCount())return!1;a=w.lastElement.getChild(0).clone(!0);(c=a.getBogus())&&c.remove();return a.getText().length? +!1:!0}if(l=l||h(b)){l=g(l);var q=l.document,r=l.checkStartOfBlock(),p=l.checkEndOfBlock(),w=b.elementPath(l.startContainer),t=w.block,z=d==CKEDITOR.ENTER_DIV?"div":"p",u;if(t&&r&&p){r=t.getParent();if(r.is("li")&&1<r.getChildCount()){q=new CKEDITOR.dom.element("li");u=b.createRange();q.insertAfter(r);t.remove();u.setStart(q,0);b.getSelection().selectRanges([u]);return}if(t.is("li")||t.getParent().is("li")){t.is("li")||(t=t.getParent(),r=t.getParent());u=r.getParent();l=!t.hasPrevious();var v=!t.hasNext(); +m=b.getSelection();var z=m.createBookmarks(),C=t.getDirection(1),p=t.getAttribute("class"),E=t.getAttribute("style"),A=u.getDirection(1)!=C;b=b.enterMode!=CKEDITOR.ENTER_BR||A||E||p;if(u.is("li"))l||v?(l&&v&&r.remove(),t[v?"insertAfter":"insertBefore"](u)):t.breakParent(u);else{if(b)if(w.block.is("li")?(u=q.createElement(d==CKEDITOR.ENTER_P?"p":"div"),A&&u.setAttribute("dir",C),E&&u.setAttribute("style",E),p&&u.setAttribute("class",p),t.moveChildren(u)):u=w.block,l||v)u[l?"insertBefore":"insertAfter"](r); +else t.breakParent(r),u.insertAfter(r);else if(t.appendBogus(!0),l||v)for(;q=t[l?"getFirst":"getLast"]();)q[l?"insertBefore":"insertAfter"](r);else for(t.breakParent(r);q=t.getLast();)q.insertAfter(r);t.remove()}m.selectBookmarks(z);return}if(t&&t.getParent().is("blockquote")){t.breakParent(t.getParent());t.getPrevious().getFirst(CKEDITOR.dom.walker.invisible(1))||t.getPrevious().remove();t.getNext().getFirst(CKEDITOR.dom.walker.invisible(1))||t.getNext().remove();l.moveToElementEditStart(t);l.select(); +return}}else if(t&&t.is("pre")&&!p){k(b,d,l,m);return}if(E=l.splitBlock(z)){b=E.previousBlock;t=E.nextBlock;r=E.wasStartOfBlock;p=E.wasEndOfBlock;t?(v=t.getParent(),v.is("li")&&(t.breakParent(v),t.move(t.getNext(),1))):b&&(v=b.getParent())&&v.is("li")&&(b.breakParent(v),v=b.getNext(),l.moveToElementEditStart(v),b.move(b.getPrevious()));if(r||p)if(x(d))l.moveToElementEditStart(l.getTouchedStartNode());else{if(b){if(b.is("li")||!c.test(b.getName())&&!b.is("pre"))u=b.clone()}else t&&(u=t.clone());u? +m&&!u.is("li")&&u.renameNode(z):v&&v.is("li")?u=v:(u=q.createElement(z),b&&(C=b.getDirection())&&u.setAttribute("dir",C));if(q=E.elementPath)for(d=0,m=q.elements.length;d<m;d++){z=q.elements[d];if(z.equals(q.block)||z.equals(q.blockLimit))break;CKEDITOR.dtd.$removeEmpty[z.getName()]&&(z=z.clone(),u.moveChildren(z),u.append(z))}u.appendBogus();u.getParent()||l.insertNode(u);u.is("li")&&u.removeAttribute("value");!CKEDITOR.env.ie||!r||p&&b.getChildCount()||(l.moveToElementEditStart(p?b:u),l.select()); +l.moveToElementEditStart(r&&!p?t:u)}else t.is("li")&&(u=l.clone(),u.selectNodeContents(t),u=new CKEDITOR.dom.walker(u),u.evaluator=function(c){return!(a(c)||f(c)||c.type==CKEDITOR.NODE_ELEMENT&&c.getName()in CKEDITOR.dtd.$inline&&!(c.getName()in CKEDITOR.dtd.$empty))},(v=u.next())&&v.type==CKEDITOR.NODE_ELEMENT&&v.is("ul","ol")&&(CKEDITOR.env.needsBrFiller?q.createElement("br"):q.createText(" ")).insertBefore(v)),t&&l.moveToElementEditStart(t);l.select();l.scrollIntoView()}}},enterBr:function(a,b, +f,g){if(f=f||h(a)){var k=f.document,m=f.checkEndOfBlock(),r=new CKEDITOR.dom.elementPath(a.getSelection().getStartElement()),p=r.block,w=p&&r.block.getName();g||"li"!=w?(!g&&m&&c.test(w)?(m=p.getDirection())?(k=k.createElement("div"),k.setAttribute("dir",m),k.insertAfter(p),f.setStart(k,0)):(k.createElement("br").insertAfter(p),CKEDITOR.env.gecko&&k.createText("").insertAfter(p),f.setStartAt(p.getNext(),CKEDITOR.env.ie?CKEDITOR.POSITION_BEFORE_START:CKEDITOR.POSITION_AFTER_START)):(a="pre"==w&&CKEDITOR.env.ie&& +8>CKEDITOR.env.version?k.createText("\r"):k.createElement("br"),f.deleteContents(),f.insertNode(a),CKEDITOR.env.needsBrFiller?(k.createText("").insertAfter(a),m&&(p||r.blockLimit).appendBogus(),a.getNext().$.nodeValue="",f.setStartAt(a.getNext(),CKEDITOR.POSITION_AFTER_START)):f.setStartAt(a,CKEDITOR.POSITION_AFTER_END)),f.collapse(!0),f.select(),f.scrollIntoView()):l(a,b,f,g)}}};m=CKEDITOR.plugins.enterkey;k=m.enterBr;l=m.enterBlock;c=/^h[1-6]$/})();(function(){function b(b,g){var f={},a=[],m={nbsp:" ", +shy:"",gt:"\x3e",lt:"\x3c",amp:"\x26",apos:"'",quot:'"'};b=b.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(c,b){var h=g?"\x26"+b+";":m[b];f[h]=g?m[b]:"\x26"+b+";";a.push(h);return""});b=b.replace(/,$/,"");if(!g&&b){b=b.split(",");var k=document.createElement("div"),l;k.innerHTML="\x26"+b.join(";\x26")+";";l=k.innerHTML;k=null;for(k=0;k<l.length;k++){var c=l.charAt(k);f[c]="\x26"+b[k]+";";a.push(c)}}f.regex=a.join(g?"|":"");return f}CKEDITOR.plugins.add("entities",{afterInit:function(h){function g(a){return c[a]} +function f(c){return"force"!=a.entities_processNumerical&&k[c]?k[c]:"\x26#"+c.charCodeAt(0)+";"}var a=h.config;if(h=(h=h.dataProcessor)&&h.htmlFilter){var m=[];!1!==a.basicEntities&&m.push("nbsp,gt,lt,amp");a.entities&&(m.length&&m.push("quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro"), a.entities_latin&&m.push("Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml"),a.entities_greek&&m.push("Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv"), -a.entities_additional&&m.push(a.entities_additional));var l=b(m.join(",")),k=l.regex?"["+l.regex+"]":"a^";delete l.regex;a.entities&&a.entities_processNumerical&&(k="[^ -~]|"+k);var k=new RegExp(k,"g"),c=b("nbsp,gt,lt,amp,shy",!0),f=new RegExp(c.regex,"g");h.addRules({text:function(a){return a.replace(f,g).replace(k,e)}},{applyToAll:!0,excludeNestedEditable:!0})}}})})();CKEDITOR.config.basicEntities=!0;CKEDITOR.config.entities=!0;CKEDITOR.config.entities_latin=!0;CKEDITOR.config.entities_greek=!0; -CKEDITOR.config.entities_additional="#39";CKEDITOR.plugins.add("popup");CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(b,h,g,e){h=h||"80%";g=g||"70%";"string"==typeof h&&1<h.length&&"%"==h.substr(h.length-1,1)&&(h=parseInt(window.screen.width*parseInt(h,10)/100,10));"string"==typeof g&&1<g.length&&"%"==g.substr(g.length-1,1)&&(g=parseInt(window.screen.height*parseInt(g,10)/100,10));640>h&&(h=640);420>g&&(g=420);var a=parseInt((window.screen.height-g)/2,10),m=parseInt((window.screen.width- -h)/2,10);e=(e||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes")+",width\x3d"+h+",height\x3d"+g+",top\x3d"+a+",left\x3d"+m;var l=window.open("",null,e,!0);if(!l)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" chrome/")&&(l.moveTo(m,a),l.resizeTo(h,g)),l.focus(),l.location.href=b}catch(k){window.open(b,null,e,!0)}return!0}});"use strict";(function(){function b(a){this.editor=a;this.loaders= -[]}function h(a,b,e){var h=a.config.fileTools_defaultFileName;this.editor=a;this.lang=a.lang;"string"===typeof b?(this.data=b,this.file=g(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=b,this.total=this.file.size,this.loaded=0);e?this.fileName=e:this.file.name?this.fileName=this.file.name:(a=this.file.type.split("/"),h&&(a[0]=h),this.fileName=a.join("."));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status="created";this.abort=function(){this.changeStatus("abort")}} -function g(a){var b=a.match(e)[1];a=a.replace(e,"");a=atob(a);var g=[],h,c,f,d;for(h=0;h<a.length;h+=512){c=a.slice(h,h+512);f=Array(c.length);for(d=0;d<c.length;d++)f[d]=c.charCodeAt(d);c=new Uint8Array(f);g.push(c)}return new Blob(g,{type:b})}CKEDITOR.plugins.add("filetools",{beforeInit:function(a){a.uploadRepository=new b(a);a.on("fileUploadRequest",function(a){var b=a.data.fileLoader;b.xhr.open("POST",b.uploadUrl,!0);a.data.requestData.upload={file:b.file,name:b.fileName}},null,null,5);a.on("fileUploadRequest", -function(b){var e=b.data.fileLoader,g=new FormData;b=b.data.requestData;var c=a.config.fileTools_requestHeaders,f,d;for(d in b){var h=b[d];"object"===typeof h&&h.file?g.append(d,h.file,h.name):g.append(d,h)}g.append("ckCsrfToken",CKEDITOR.tools.getCsrfToken());if(c)for(f in c)e.xhr.setRequestHeader(f,c[f]);e.xhr.send(g)},null,null,999);a.on("fileUploadResponse",function(a){var b=a.data.fileLoader,e=b.xhr,c=a.data;try{var f=JSON.parse(e.responseText);f.error&&f.error.message&&(c.message=f.error.message); -if(f.uploaded)for(var d in f)c[d]=f[d];else a.cancel()}catch(g){c.message=b.lang.filetools.responseError,CKEDITOR.warn("filetools-response-error",{responseText:e.responseText}),a.cancel()}},null,null,999)}});b.prototype={create:function(a,b,e){e=e||h;var g=this.loaders.length;a=new e(this.editor,a,b);a.id=g;this.loaders[g]=a;this.fire("instanceCreated",a);return a},isFinished:function(){for(var a=0;a<this.loaders.length;++a)if(!this.loaders[a].isFinished())return!1;return!0}};h.prototype={loadAndUpload:function(a, -b){var e=this;this.once("loaded",function(g){g.cancel();e.once("update",function(a){a.cancel()},null,null,0);e.upload(a,b)},null,null,0);this.load()},load:function(){var a=this,b=this.reader=new FileReader;a.changeStatus("loading");this.abort=function(){a.reader.abort()};b.onabort=function(){a.changeStatus("abort")};b.onerror=function(){a.message=a.lang.filetools.loadError;a.changeStatus("error")};b.onprogress=function(b){a.loaded=b.loaded;a.update()};b.onload=function(){a.loaded=a.total;a.data=b.result; -a.changeStatus("loaded")};b.readAsDataURL(this.file)},upload:function(a,b){var e=b||{};a?(this.uploadUrl=a,this.xhr=new XMLHttpRequest,this.attachRequestListeners(),this.editor.fire("fileUploadRequest",{fileLoader:this,requestData:e})&&this.changeStatus("uploading")):(this.message=this.lang.filetools.noUrlError,this.changeStatus("error"))},attachRequestListeners:function(){function a(){"error"!=e.status&&(e.message=e.lang.filetools.networkError,e.changeStatus("error"))}function b(){"abort"!=e.status&& -e.changeStatus("abort")}var e=this,g=this.xhr;e.abort=function(){g.abort();b()};g.onerror=a;g.onabort=b;g.upload?(g.upload.onprogress=function(a){a.lengthComputable&&(e.uploadTotal||(e.uploadTotal=a.total),e.uploaded=a.loaded,e.update())},g.upload.onerror=a,g.upload.onabort=b):(e.uploadTotal=e.total,e.update());g.onload=function(){e.update();if("abort"!=e.status)if(e.uploaded=e.uploadTotal,200>g.status||299<g.status)e.message=e.lang.filetools["httpError"+g.status],e.message||(e.message=e.lang.filetools.httpError.replace("%1", -g.status)),e.changeStatus("error");else{for(var a={fileLoader:e},b=["message","fileName","url"],d=e.editor.fire("fileUploadResponse",a),h=0;h<b.length;h++){var m=b[h];"string"===typeof a[m]&&(e[m]=a[m])}e.responseData=a;delete e.responseData.fileLoader;!1===d?e.changeStatus("error"):e.changeStatus("uploaded")}}},changeStatus:function(a){this.status=a;if("error"==a||"abort"==a||"loaded"==a||"uploaded"==a)this.abort=function(){};this.fire(a);this.update()},update:function(){this.fire("update")},isFinished:function(){return!!this.status.match(/^(?:loaded|uploaded|error|abort)$/)}}; -CKEDITOR.event.implementOn(b.prototype);CKEDITOR.event.implementOn(h.prototype);var e=/^data:(\S*?);base64,/;CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{uploadRepository:b,fileLoader:h,getUploadUrl:function(a,b){var e=CKEDITOR.tools.capitalize;return b&&a[b+"UploadUrl"]?a[b+"UploadUrl"]:a.uploadUrl?a.uploadUrl:b&&a["filebrowser"+e(b,1)+"UploadUrl"]?a["filebrowser"+e(b,1)+"UploadUrl"]+"\x26responseType\x3djson":a.filebrowserUploadUrl?a.filebrowserUploadUrl+ +a.entities_additional&&m.push(a.entities_additional));var k=b(m.join(",")),l=k.regex?"["+k.regex+"]":"a^";delete k.regex;a.entities&&a.entities_processNumerical&&(l="[^ -~]|"+l);var l=new RegExp(l,"g"),c=b("nbsp,gt,lt,amp,shy",!0),e=new RegExp(c.regex,"g");h.addRules({text:function(a){return a.replace(e,g).replace(l,f)}},{applyToAll:!0,excludeNestedEditable:!0})}}})})();CKEDITOR.config.basicEntities=!0;CKEDITOR.config.entities=!0;CKEDITOR.config.entities_latin=!0;CKEDITOR.config.entities_greek=!0; +CKEDITOR.config.entities_additional="#39";CKEDITOR.plugins.add("popup");CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{popup:function(b,h,g,f){h=h||"80%";g=g||"70%";"string"==typeof h&&1<h.length&&"%"==h.substr(h.length-1,1)&&(h=parseInt(window.screen.width*parseInt(h,10)/100,10));"string"==typeof g&&1<g.length&&"%"==g.substr(g.length-1,1)&&(g=parseInt(window.screen.height*parseInt(g,10)/100,10));640>h&&(h=640);420>g&&(g=420);var a=parseInt((window.screen.height-g)/2,10),m=parseInt((window.screen.width- +h)/2,10);f=(f||"location\x3dno,menubar\x3dno,toolbar\x3dno,dependent\x3dyes,minimizable\x3dno,modal\x3dyes,alwaysRaised\x3dyes,resizable\x3dyes,scrollbars\x3dyes")+",width\x3d"+h+",height\x3d"+g+",top\x3d"+a+",left\x3d"+m;var k=window.open("",null,f,!0);if(!k)return!1;try{-1==navigator.userAgent.toLowerCase().indexOf(" chrome/")&&(k.moveTo(m,a),k.resizeTo(h,g)),k.focus(),k.location.href=b}catch(l){window.open(b,null,f,!0)}return!0}});"use strict";(function(){function b(a){this.editor=a;this.loaders= +[]}function h(a,b,f){var h=a.config.fileTools_defaultFileName;this.editor=a;this.lang=a.lang;"string"===typeof b?(this.data=b,this.file=g(this.data),this.loaded=this.total=this.file.size):(this.data=null,this.file=b,this.total=this.file.size,this.loaded=0);f?this.fileName=f:this.file.name?this.fileName=this.file.name:(a=this.file.type.split("/"),h&&(a[0]=h),this.fileName=a.join("."));this.uploaded=0;this.responseData=this.uploadTotal=null;this.status="created";this.abort=function(){this.changeStatus("abort")}} +function g(a){var b=a.match(f)[1];a=a.replace(f,"");a=atob(a);var g=[],h,c,e,d;for(h=0;h<a.length;h+=512){c=a.slice(h,h+512);e=Array(c.length);for(d=0;d<c.length;d++)e[d]=c.charCodeAt(d);c=new Uint8Array(e);g.push(c)}return new Blob(g,{type:b})}CKEDITOR.plugins.add("filetools",{beforeInit:function(a){a.uploadRepository=new b(a);a.on("fileUploadRequest",function(a){var b=a.data.fileLoader;b.xhr.open("POST",b.uploadUrl,!0);a.data.requestData.upload={file:b.file,name:b.fileName}},null,null,5);a.on("fileUploadRequest", +function(b){var f=b.data.fileLoader,g=new FormData;b=b.data.requestData;var c=a.config.fileTools_requestHeaders,e,d;for(d in b){var h=b[d];"object"===typeof h&&h.file?g.append(d,h.file,h.name):g.append(d,h)}g.append("ckCsrfToken",CKEDITOR.tools.getCsrfToken());if(c)for(e in c)f.xhr.setRequestHeader(e,c[e]);f.xhr.send(g)},null,null,999);a.on("fileUploadResponse",function(a){var b=a.data.fileLoader,f=b.xhr,c=a.data;try{var e=JSON.parse(f.responseText);e.error&&e.error.message&&(c.message=e.error.message); +if(e.uploaded)for(var d in e)c[d]=e[d];else a.cancel()}catch(g){c.message=b.lang.filetools.responseError,CKEDITOR.warn("filetools-response-error",{responseText:f.responseText}),a.cancel()}},null,null,999)}});b.prototype={create:function(a,b,f){f=f||h;var g=this.loaders.length;a=new f(this.editor,a,b);a.id=g;this.loaders[g]=a;this.fire("instanceCreated",a);return a},isFinished:function(){for(var a=0;a<this.loaders.length;++a)if(!this.loaders[a].isFinished())return!1;return!0}};h.prototype={loadAndUpload:function(a, +b){var f=this;this.once("loaded",function(g){g.cancel();f.once("update",function(a){a.cancel()},null,null,0);f.upload(a,b)},null,null,0);this.load()},load:function(){var a=this,b=this.reader=new FileReader;a.changeStatus("loading");this.abort=function(){a.reader.abort()};b.onabort=function(){a.changeStatus("abort")};b.onerror=function(){a.message=a.lang.filetools.loadError;a.changeStatus("error")};b.onprogress=function(b){a.loaded=b.loaded;a.update()};b.onload=function(){a.loaded=a.total;a.data=b.result; +a.changeStatus("loaded")};b.readAsDataURL(this.file)},upload:function(a,b){var f=b||{};a?(this.uploadUrl=a,this.xhr=new XMLHttpRequest,this.attachRequestListeners(),this.editor.fire("fileUploadRequest",{fileLoader:this,requestData:f})&&this.changeStatus("uploading")):(this.message=this.lang.filetools.noUrlError,this.changeStatus("error"))},attachRequestListeners:function(){function a(){"error"!=f.status&&(f.message=f.lang.filetools.networkError,f.changeStatus("error"))}function b(){"abort"!=f.status&& +f.changeStatus("abort")}var f=this,g=this.xhr;f.abort=function(){g.abort();b()};g.onerror=a;g.onabort=b;g.upload?(g.upload.onprogress=function(a){a.lengthComputable&&(f.uploadTotal||(f.uploadTotal=a.total),f.uploaded=a.loaded,f.update())},g.upload.onerror=a,g.upload.onabort=b):(f.uploadTotal=f.total,f.update());g.onload=function(){f.update();if("abort"!=f.status)if(f.uploaded=f.uploadTotal,200>g.status||299<g.status)f.message=f.lang.filetools["httpError"+g.status],f.message||(f.message=f.lang.filetools.httpError.replace("%1", +g.status)),f.changeStatus("error");else{for(var a={fileLoader:f},b=["message","fileName","url"],d=f.editor.fire("fileUploadResponse",a),h=0;h<b.length;h++){var m=b[h];"string"===typeof a[m]&&(f[m]=a[m])}f.responseData=a;delete f.responseData.fileLoader;!1===d?f.changeStatus("error"):f.changeStatus("uploaded")}}},changeStatus:function(a){this.status=a;if("error"==a||"abort"==a||"loaded"==a||"uploaded"==a)this.abort=function(){};this.fire(a);this.update()},update:function(){this.fire("update")},isFinished:function(){return!!this.status.match(/^(?:loaded|uploaded|error|abort)$/)}}; +CKEDITOR.event.implementOn(b.prototype);CKEDITOR.event.implementOn(h.prototype);var f=/^data:(\S*?);base64,/;CKEDITOR.fileTools||(CKEDITOR.fileTools={});CKEDITOR.tools.extend(CKEDITOR.fileTools,{uploadRepository:b,fileLoader:h,getUploadUrl:function(a,b){var f=CKEDITOR.tools.capitalize;return b&&a[b+"UploadUrl"]?a[b+"UploadUrl"]:a.uploadUrl?a.uploadUrl:b&&a["filebrowser"+f(b,1)+"UploadUrl"]?a["filebrowser"+f(b,1)+"UploadUrl"]+"\x26responseType\x3djson":a.filebrowserUploadUrl?a.filebrowserUploadUrl+ "\x26responseType\x3djson":null},isTypeSupported:function(a,b){return!!a.type.match(b)},isFileUploadSupported:"function"===typeof FileReader&&"function"===typeof(new FileReader).readAsDataURL&&"function"===typeof FormData&&"function"===typeof(new FormData).append&&"function"===typeof XMLHttpRequest&&"function"===typeof Blob})})();(function(){function b(a,c){var b=[];if(c)for(var d in c)b.push(d+"\x3d"+encodeURIComponent(c[d]));else return a;return a+(-1!=a.indexOf("?")?"\x26":"?")+b.join("\x26")} -function h(a){return!a.match(/command=QuickUpload/)||a.match(/(\?|&)responseType=json/)?a:b(a,{responseType:"json"})}function g(a){a+="";return a.charAt(0).toUpperCase()+a.substr(1)}function e(){var a=this.getDialog(),c=a.getParentEditor();c._.filebrowserSe=this;var d=c.config["filebrowser"+g(a.getName())+"WindowWidth"]||c.config.filebrowserWindowWidth||"80%",a=c.config["filebrowser"+g(a.getName())+"WindowHeight"]||c.config.filebrowserWindowHeight||"70%",f=this.filebrowser.params||{};f.CKEditor=c.name; -f.CKEditorFuncNum=c._.filebrowserFn;f.langCode||(f.langCode=c.langCode);f=b(this.filebrowser.url,f);c.popup(f,d,a,c.config.filebrowserWindowFeatures||c.config.fileBrowserWindowFeatures)}function a(a){var c=new CKEDITOR.dom.element(a.$.form);c&&((a=c.$.elements.ckCsrfToken)?a=new CKEDITOR.dom.element(a):(a=new CKEDITOR.dom.element("input"),a.setAttributes({name:"ckCsrfToken",type:"hidden"}),c.append(a)),a.setAttribute("value",CKEDITOR.tools.getCsrfToken()))}function m(){var a=this.getDialog();a.getParentEditor()._.filebrowserSe= -this;return a.getContentElement(this["for"][0],this["for"][1]).getInputElement().$.value&&a.getContentElement(this["for"][0],this["for"][1]).getAction()?!0:!1}function l(a,c,d){var f=d.params||{};f.CKEditor=a.name;f.CKEditorFuncNum=a._.filebrowserFn;f.langCode||(f.langCode=a.langCode);c.action=b(d.url,f);c.filebrowser=d}function k(b,f,v,p){if(p&&p.length)for(var r,q=p.length;q--;)if(r=p[q],"hbox"!=r.type&&"vbox"!=r.type&&"fieldset"!=r.type||k(b,f,v,r.children),r.filebrowser)if("string"==typeof r.filebrowser&& -(r.filebrowser={action:"fileButton"==r.type?"QuickUpload":"Browse",target:r.filebrowser}),"Browse"==r.filebrowser.action){var x=r.filebrowser.url;void 0===x&&(x=b.config["filebrowser"+g(f)+"BrowseUrl"],void 0===x&&(x=b.config.filebrowserBrowseUrl));x&&(r.onClick=e,r.filebrowser.url=x,r.hidden=!1)}else if("QuickUpload"==r.filebrowser.action&&r["for"]&&(x=r.filebrowser.url,void 0===x&&(x=b.config["filebrowser"+g(f)+"UploadUrl"],void 0===x&&(x=b.config.filebrowserUploadUrl)),x)){var t=r.onClick;r.onClick= -function(f){var e=f.sender,g=e.getDialog().getContentElement(this["for"][0],this["for"][1]).getInputElement(),k=CKEDITOR.fileTools&&CKEDITOR.fileTools.isFileUploadSupported;if(t&&!1===t.call(e,f))return!1;if(m.call(e,f)){if("form"!==b.config.filebrowserUploadMethod&&k)return f=b.uploadRepository.create(g.$.files[0]),f.on("uploaded",function(a){var c=a.sender.responseData;d.call(a.sender.editor,c.url,c.message)}),f.on("error",c.bind(this)),f.on("abort",c.bind(this)),f.loadAndUpload(h(x)),"xhr";a(g); -return!0}return!1};r.filebrowser.url=x;r.hidden=!1;l(b,v.getContents(r["for"][0]).get(r["for"][1]),r.filebrowser)}}function c(a){var c={};try{c=JSON.parse(a.sender.xhr.response)||{}}catch(b){}this.enable();alert(c.error?c.error.message:a.sender.message)}function f(a,c,b){if(-1!==b.indexOf(";")){b=b.split(";");for(var d=0;d<b.length;d++)if(f(a,c,b[d]))return!0;return!1}return(a=a.getContents(c).get(b).filebrowser)&&a.url}function d(a,c){var b=this._.filebrowserSe.getDialog(),d=this._.filebrowserSe["for"], -f=this._.filebrowserSe.filebrowser.onSelect;d&&b.getContentElement(d[0],d[1]).reset();if("function"!=typeof c||!1!==c.call(this._.filebrowserSe))if(!f||!1!==f.call(this._.filebrowserSe,a,c))if("string"==typeof c&&c&&alert(c),a&&(d=this._.filebrowserSe,b=d.getDialog(),d=d.filebrowser.target||null))if(d=d.split(":"),f=b.getContentElement(d[0],d[1]))f.setValue(a),b.selectPage(d[0])}CKEDITOR.plugins.add("filebrowser",{requires:"popup,filetools",init:function(a){a._.filebrowserFn=CKEDITOR.tools.addFunction(d, -a);a.on("destroy",function(){CKEDITOR.tools.removeFunction(this._.filebrowserFn)})}});CKEDITOR.on("dialogDefinition",function(a){if(a.editor.plugins.filebrowser)for(var c=a.data.definition,b,d=0;d<c.contents.length;++d)if(b=c.contents[d])k(a.editor,a.data.name,c,b.elements),b.hidden&&b.filebrowser&&(b.hidden=!f(c,b.id,b.filebrowser))})})();(function(){function b(b){var a=b.config,m=b.fire("uiSpace",{space:"top",html:""}).html,l=function(){function d(a,b,f){c.setStyle(b,g(f));c.setStyle("position", -a)}function f(a){var c=m.getDocumentPosition();switch(a){case "top":d("absolute","top",c.y-t-u);break;case "pin":d("fixed","top",C);break;case "bottom":d("absolute","top",c.y+(q.height||q.bottom-q.top)+u)}k=a}var k,m,r,q,x,t,z,y=a.floatSpaceDockedOffsetX||0,u=a.floatSpaceDockedOffsetY||0,B=a.floatSpacePinnedOffsetX||0,C=a.floatSpacePinnedOffsetY||0;return function(d){if(m=b.editable()){var n=d&&"focus"==d.name;n&&c.show();b.fire("floatingSpaceLayout",{show:n});c.removeStyle("left");c.removeStyle("right"); -r=c.getClientRect();q=m.getClientRect();x=h.getViewPaneSize();t=r.height;z="pageXOffset"in h.$?h.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;k?(t+u<=q.top?f("top"):t+u>x.height-q.bottom?f("pin"):f("bottom"),d=x.width/2,d=a.floatSpacePreferRight?"right":0<q.left&&q.right<x.width&&q.width>r.width?"rtl"==a.contentsLangDirection?"right":"left":d-q.left>q.right-d?"left":"right",r.width>x.width?(d="left",n=0):(n="left"==d?0<q.left?q.left:0:q.right<x.width?x.width-q.right:0,n+r.width>x.width&& -(d="left"==d?"right":"left",n=0)),c.setStyle(d,g(("pin"==k?B:y)+n+("pin"==k?0:"left"==d?z:-z)))):(k="pin",f("pin"),l(d))}}}();if(m){var k=new CKEDITOR.template('\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"application" style\x3d"{style}"'+(b.title?' aria-labelledby\x3d"cke_{name}_arialbl"':" ")+"\x3e"+(b.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e': -" ")+'\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{topId}" class\x3d"cke_top" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),c=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(k.output({content:m,id:b.id,langDir:b.lang.dir,langCode:b.langCode,name:b.name,style:"display:none;z-index:"+(a.baseFloatZIndex-1),topId:b.ui.spaceId("top"),voiceLabel:b.title}))),f=CKEDITOR.tools.eventsBuffer(500,l),d=CKEDITOR.tools.eventsBuffer(100,l);c.unselectable();c.on("mousedown", -function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()});b.on("focus",function(a){l(a);b.on("change",f.input);h.on("scroll",d.input);h.on("resize",d.input)});b.on("blur",function(){c.hide();b.removeListener("change",f.input);h.removeListener("scroll",d.input);h.removeListener("resize",d.input)});b.on("destroy",function(){h.removeListener("scroll",d.input);h.removeListener("resize",d.input);c.clearCustomData();c.remove()});b.focusManager.hasFocus&&c.show();b.focusManager.add(c, -1)}}var h=CKEDITOR.document.getWindow(),g=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(e){e.on("loaded",function(){b(this)},null,null,20)}})})();CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var b=CKEDITOR.addTemplate("panel-list",'\x3cul role\x3d"presentation" class\x3d"cke_panel_list"\x3e{items}\x3c/ul\x3e'),h=CKEDITOR.addTemplate("panel-list-item",'\x3cli id\x3d"{id}" class\x3d"cke_panel_listItem" role\x3dpresentation\x3e\x3ca id\x3d"{id}_option" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"{title}" draggable\x3d"false" ondragstart\x3d"return false;" href\x3d"javascript:void(\'{val}\')" onclick\x3d"{onclick}CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;" role\x3d"option"\x3e{text}\x3c/a\x3e\x3c/li\x3e'), -g=CKEDITOR.addTemplate("panel-list-group",'\x3ch1 id\x3d"{id}" draggable\x3d"false" ondragstart\x3d"return false;" class\x3d"cke_panel_grouptitle" role\x3d"presentation" \x3e{label}\x3c/h1\x3e'),e=/\'/g;CKEDITOR.ui.panel.prototype.addListBlock=function(a,b){return this.addBlock(a,new CKEDITOR.ui.listBlock(this.getHolderElement(),b))};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(a,b){b=b||{};var e=b.attributes||(b.attributes={});(this.multiSelect=!!b.multiSelect)&& -(e["aria-multiselectable"]=!0);!e.role&&(e.role="listbox");this.base.apply(this,arguments);this.element.setAttribute("role",e.role);e=this.keys;e[40]="next";e[9]="next";e[38]="prev";e[CKEDITOR.SHIFT+9]="prev";e[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(e[13]="mouseup");this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var a=b.output({items:this._.pendingList.join("")});this._.pendingList=[];this._.pendingHtml.push(a); -delete this._.started}},getClick:function(){this._.click||(this._.click=CKEDITOR.tools.addFunction(function(a){var b=this.toggle(a);if(this.onClick)this.onClick(a,b)},this));return this._.click}},proto:{add:function(a,b,g){var k=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[a]=k;var c;c=CKEDITOR.tools.htmlEncodeAttr(a).replace(e,"\\'");a={id:k,val:c,onclick:CKEDITOR.env.ie?'return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26': +function h(a){return!a.match(/command=QuickUpload/)||a.match(/(\?|&)responseType=json/)?a:b(a,{responseType:"json"})}function g(a){a+="";return a.charAt(0).toUpperCase()+a.substr(1)}function f(){var a=this.getDialog(),c=a.getParentEditor();c._.filebrowserSe=this;var d=c.config["filebrowser"+g(a.getName())+"WindowWidth"]||c.config.filebrowserWindowWidth||"80%",a=c.config["filebrowser"+g(a.getName())+"WindowHeight"]||c.config.filebrowserWindowHeight||"70%",e=this.filebrowser.params||{};e.CKEditor=c.name; +e.CKEditorFuncNum=c._.filebrowserFn;e.langCode||(e.langCode=c.langCode);e=b(this.filebrowser.url,e);c.popup(e,d,a,c.config.filebrowserWindowFeatures||c.config.fileBrowserWindowFeatures)}function a(a){var c=new CKEDITOR.dom.element(a.$.form);c&&((a=c.$.elements.ckCsrfToken)?a=new CKEDITOR.dom.element(a):(a=new CKEDITOR.dom.element("input"),a.setAttributes({name:"ckCsrfToken",type:"hidden"}),c.append(a)),a.setAttribute("value",CKEDITOR.tools.getCsrfToken()))}function m(){var a=this.getDialog();a.getParentEditor()._.filebrowserSe= +this;return a.getContentElement(this["for"][0],this["for"][1]).getInputElement().$.value&&a.getContentElement(this["for"][0],this["for"][1]).getAction()?!0:!1}function k(a,c,d){var e=d.params||{};e.CKEditor=a.name;e.CKEditorFuncNum=a._.filebrowserFn;e.langCode||(e.langCode=a.langCode);c.action=b(d.url,e);c.filebrowser=d}function l(b,e,x,q){if(q&&q.length)for(var r,p=q.length;p--;)if(r=q[p],"hbox"!=r.type&&"vbox"!=r.type&&"fieldset"!=r.type||l(b,e,x,r.children),r.filebrowser)if("string"==typeof r.filebrowser&& +(r.filebrowser={action:"fileButton"==r.type?"QuickUpload":"Browse",target:r.filebrowser}),"Browse"==r.filebrowser.action){var w=r.filebrowser.url;void 0===w&&(w=b.config["filebrowser"+g(e)+"BrowseUrl"],void 0===w&&(w=b.config.filebrowserBrowseUrl));w&&(r.onClick=f,r.filebrowser.url=w,r.hidden=!1)}else if("QuickUpload"==r.filebrowser.action&&r["for"]&&(w=r.filebrowser.url,void 0===w&&(w=b.config["filebrowser"+g(e)+"UploadUrl"],void 0===w&&(w=b.config.filebrowserUploadUrl)),w)){var t=r.onClick;r.onClick= +function(e){var f=e.sender,g=f.getDialog().getContentElement(this["for"][0],this["for"][1]).getInputElement(),k=CKEDITOR.fileTools&&CKEDITOR.fileTools.isFileUploadSupported;if(t&&!1===t.call(f,e))return!1;if(m.call(f,e)){if("form"!==b.config.filebrowserUploadMethod&&k)return e=b.uploadRepository.create(g.$.files[0]),e.on("uploaded",function(a){var c=a.sender.responseData;d.call(a.sender.editor,c.url,c.message)}),e.on("error",c.bind(this)),e.on("abort",c.bind(this)),e.loadAndUpload(h(w)),"xhr";a(g); +return!0}return!1};r.filebrowser.url=w;r.hidden=!1;k(b,x.getContents(r["for"][0]).get(r["for"][1]),r.filebrowser)}}function c(a){var c={};try{c=JSON.parse(a.sender.xhr.response)||{}}catch(b){}this.enable();alert(c.error?c.error.message:a.sender.message)}function e(a,c,b){if(-1!==b.indexOf(";")){b=b.split(";");for(var d=0;d<b.length;d++)if(e(a,c,b[d]))return!0;return!1}return(a=a.getContents(c).get(b).filebrowser)&&a.url}function d(a,c){var b=this._.filebrowserSe.getDialog(),d=this._.filebrowserSe["for"], +e=this._.filebrowserSe.filebrowser.onSelect;d&&b.getContentElement(d[0],d[1]).reset();if("function"!=typeof c||!1!==c.call(this._.filebrowserSe))if(!e||!1!==e.call(this._.filebrowserSe,a,c))if("string"==typeof c&&c&&alert(c),a&&(d=this._.filebrowserSe,b=d.getDialog(),d=d.filebrowser.target||null))if(d=d.split(":"),e=b.getContentElement(d[0],d[1]))e.setValue(a),b.selectPage(d[0])}CKEDITOR.plugins.add("filebrowser",{requires:"popup,filetools",init:function(a){a._.filebrowserFn=CKEDITOR.tools.addFunction(d, +a);a.on("destroy",function(){CKEDITOR.tools.removeFunction(this._.filebrowserFn)})}});CKEDITOR.on("dialogDefinition",function(a){if(a.editor.plugins.filebrowser)for(var c=a.data.definition,b,d=0;d<c.contents.length;++d)if(b=c.contents[d])l(a.editor,a.data.name,c,b.elements),b.hidden&&b.filebrowser&&(b.hidden=!e(c,b.id,b.filebrowser))})})();(function(){function b(b){var a=b.config,m=b.fire("uiSpace",{space:"top",html:""}).html,k=function(){function d(a,b,e){c.setStyle(b,g(e));c.setStyle("position", +a)}function e(a){var c=m.getDocumentPosition();switch(a){case "top":d("absolute","top",c.y-t-v);break;case "pin":d("fixed","top",E);break;case "bottom":d("absolute","top",c.y+(p.height||p.bottom-p.top)+v)}l=a}var l,m,r,p,w,t,z,u=a.floatSpaceDockedOffsetX||0,v=a.floatSpaceDockedOffsetY||0,C=a.floatSpacePinnedOffsetX||0,E=a.floatSpacePinnedOffsetY||0;return function(d){if(m=b.editable()){var n=d&&"focus"==d.name;n&&c.show();b.fire("floatingSpaceLayout",{show:n});c.removeStyle("left");c.removeStyle("right"); +r=c.getClientRect();p=m.getClientRect();w=h.getViewPaneSize();t=r.height;z="pageXOffset"in h.$?h.$.pageXOffset:CKEDITOR.document.$.documentElement.scrollLeft;l?(t+v<=p.top?e("top"):t+v>w.height-p.bottom?e("pin"):e("bottom"),d=w.width/2,d=a.floatSpacePreferRight?"right":0<p.left&&p.right<w.width&&p.width>r.width?"rtl"==a.contentsLangDirection?"right":"left":d-p.left>p.right-d?"left":"right",r.width>w.width?(d="left",n=0):(n="left"==d?0<p.left?p.left:0:p.right<w.width?w.width-p.right:0,n+r.width>w.width&& +(d="left"==d?"right":"left",n=0)),c.setStyle(d,g(("pin"==l?C:u)+n+("pin"==l?0:"left"==d?z:-z)))):(l="pin",e("pin"),k(d))}}}();if(m){var l=new CKEDITOR.template('\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_float cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"application" style\x3d"{style}"'+(b.title?' aria-labelledby\x3d"cke_{name}_arialbl"':" ")+"\x3e"+(b.title?'\x3cspan id\x3d"cke_{name}_arialbl" class\x3d"cke_voice_label"\x3e{voiceLabel}\x3c/span\x3e': +" ")+'\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{topId}" class\x3d"cke_top" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'),c=CKEDITOR.document.getBody().append(CKEDITOR.dom.element.createFromHtml(l.output({content:m,id:b.id,langDir:b.lang.dir,langCode:b.langCode,name:b.name,style:"display:none;z-index:"+(a.baseFloatZIndex-1),topId:b.ui.spaceId("top"),voiceLabel:b.title}))),e=CKEDITOR.tools.eventsBuffer(500,k),d=CKEDITOR.tools.eventsBuffer(100,k);c.unselectable();c.on("mousedown", +function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()});b.on("focus",function(a){k(a);b.on("change",e.input);h.on("scroll",d.input);h.on("resize",d.input)});b.on("blur",function(){c.hide();b.removeListener("change",e.input);h.removeListener("scroll",d.input);h.removeListener("resize",d.input)});b.on("destroy",function(){h.removeListener("scroll",d.input);h.removeListener("resize",d.input);c.clearCustomData();c.remove()});b.focusManager.hasFocus&&c.show();b.focusManager.add(c, +1)}}var h=CKEDITOR.document.getWindow(),g=CKEDITOR.tools.cssLength;CKEDITOR.plugins.add("floatingspace",{init:function(f){f.on("loaded",function(){b(this)},null,null,20)}})})();CKEDITOR.plugins.add("listblock",{requires:"panel",onLoad:function(){var b=CKEDITOR.addTemplate("panel-list",'\x3cul role\x3d"presentation" class\x3d"cke_panel_list"\x3e{items}\x3c/ul\x3e'),h=CKEDITOR.addTemplate("panel-list-item",'\x3cli id\x3d"{id}" class\x3d"cke_panel_listItem" role\x3dpresentation\x3e\x3ca id\x3d"{id}_option" _cke_focus\x3d1 hidefocus\x3dtrue title\x3d"{title}" draggable\x3d"false" ondragstart\x3d"return false;" href\x3d"javascript:void(\'{val}\')" onclick\x3d"{onclick}CKEDITOR.tools.callFunction({clickFn},\'{val}\'); return false;" role\x3d"option"\x3e{text}\x3c/a\x3e\x3c/li\x3e'), +g=CKEDITOR.addTemplate("panel-list-group",'\x3ch1 id\x3d"{id}" draggable\x3d"false" ondragstart\x3d"return false;" class\x3d"cke_panel_grouptitle" role\x3d"presentation" \x3e{label}\x3c/h1\x3e'),f=/\'/g;CKEDITOR.ui.panel.prototype.addListBlock=function(a,b){return this.addBlock(a,new CKEDITOR.ui.listBlock(this.getHolderElement(),b))};CKEDITOR.ui.listBlock=CKEDITOR.tools.createClass({base:CKEDITOR.ui.panel.block,$:function(a,b){b=b||{};var f=b.attributes||(b.attributes={});(this.multiSelect=!!b.multiSelect)&& +(f["aria-multiselectable"]=!0);!f.role&&(f.role="listbox");this.base.apply(this,arguments);this.element.setAttribute("role",f.role);f=this.keys;f[40]="next";f[9]="next";f[38]="prev";f[CKEDITOR.SHIFT+9]="prev";f[32]=CKEDITOR.env.ie?"mouseup":"click";CKEDITOR.env.ie&&(f[13]="mouseup");this._.pendingHtml=[];this._.pendingList=[];this._.items={};this._.groups={}},_:{close:function(){if(this._.started){var a=b.output({items:this._.pendingList.join("")});this._.pendingList=[];this._.pendingHtml.push(a); +delete this._.started}},getClick:function(){this._.click||(this._.click=CKEDITOR.tools.addFunction(function(a){var b=this.toggle(a);if(this.onClick)this.onClick(a,b)},this));return this._.click}},proto:{add:function(a,b,g){var l=CKEDITOR.tools.getNextId();this._.started||(this._.started=1,this._.size=this._.size||0);this._.items[a]=l;var c;c=CKEDITOR.tools.htmlEncodeAttr(a).replace(f,"\\'");a={id:l,val:c,onclick:CKEDITOR.env.ie?'return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26': "",clickFn:this._.getClick(),title:CKEDITOR.tools.htmlEncodeAttr(g||a),text:b||a};this._.pendingList.push(h.output(a))},startGroup:function(a){this._.close();var b=CKEDITOR.tools.getNextId();this._.groups[a]=b;this._.pendingHtml.push(g.output({id:b,label:a}))},commit:function(){this._.close();this.element.appendHtml(this._.pendingHtml.join(""));delete this._.size;this._.pendingHtml=[]},toggle:function(a){var b=this.isMarked(a);b?this.unmark(a):this.mark(a);return!b},hideGroup:function(a){var b=(a= -this.element.getDocument().getById(this._.groups[a]))&&a.getNext();a&&(a.setStyle("display","none"),b&&"ul"==b.getName()&&b.setStyle("display","none"))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle("display","none")},showAll:function(){var a=this._.items,b=this._.groups,e=this.element.getDocument(),g;for(g in a)e.getById(a[g]).setStyle("display","");for(var c in b)a=e.getById(b[c]),g=a.getNext(),a.setStyle("display",""),g&&"ul"==g.getName()&&g.setStyle("display", -"")},mark:function(a){this.multiSelect||this.unmarkAll();a=this._.items[a];var b=this.element.getDocument().getById(a);b.addClass("cke_selected");this.element.getDocument().getById(a+"_option").setAttribute("aria-selected",!0);this.onMark&&this.onMark(b)},markFirstDisplayed:function(){var a=this;this._.markFirstDisplayed(function(){a.multiSelect||a.unmarkAll()})},unmark:function(a){var b=this.element.getDocument();a=this._.items[a];var e=b.getById(a);e.removeClass("cke_selected");b.getById(a+"_option").removeAttribute("aria-selected"); -this.onUnmark&&this.onUnmark(e)},unmarkAll:function(){var a=this._.items,b=this.element.getDocument(),e;for(e in a){var g=a[e];b.getById(g).removeClass("cke_selected");b.getById(g+"_option").removeAttribute("aria-selected")}this.onUnmark&&this.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass("cke_selected")},focus:function(a){this._.focusIndex=-1;var b=this.element.getElementsByTag("a"),e,g=-1;if(a)for(e=this.element.getDocument().getById(this._.items[a]).getFirst();a= -b.getItem(++g);){if(a.equals(e)){this._.focusIndex=g;break}}else this.element.focus();e&&setTimeout(function(){e.focus()},0)}}})}});CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}});(function(){var b='\x3cspan id\x3d"{id}" class\x3d"cke_combo cke_combo__{name} {cls}" role\x3d"presentation"\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_combo_label"\x3e{label}\x3c/span\x3e\x3ca class\x3d"cke_combo_button" title\x3d"{title}" tabindex\x3d"-1"'+ +this.element.getDocument().getById(this._.groups[a]))&&a.getNext();a&&(a.setStyle("display","none"),b&&"ul"==b.getName()&&b.setStyle("display","none"))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle("display","none")},showAll:function(){var a=this._.items,b=this._.groups,f=this.element.getDocument(),g;for(g in a)f.getById(a[g]).setStyle("display","");for(var c in b)a=f.getById(b[c]),g=a.getNext(),a.setStyle("display",""),g&&"ul"==g.getName()&&g.setStyle("display", +"")},mark:function(a){this.multiSelect||this.unmarkAll();a=this._.items[a];var b=this.element.getDocument().getById(a);b.addClass("cke_selected");this.element.getDocument().getById(a+"_option").setAttribute("aria-selected",!0);this.onMark&&this.onMark(b)},markFirstDisplayed:function(){var a=this;this._.markFirstDisplayed(function(){a.multiSelect||a.unmarkAll()})},unmark:function(a){var b=this.element.getDocument();a=this._.items[a];var f=b.getById(a);f.removeClass("cke_selected");b.getById(a+"_option").removeAttribute("aria-selected"); +this.onUnmark&&this.onUnmark(f)},unmarkAll:function(){var a=this._.items,b=this.element.getDocument(),f;for(f in a){var g=a[f];b.getById(g).removeClass("cke_selected");b.getById(g+"_option").removeAttribute("aria-selected")}this.onUnmark&&this.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass("cke_selected")},focus:function(a){this._.focusIndex=-1;var b=this.element.getElementsByTag("a"),f,g=-1;if(a)for(f=this.element.getDocument().getById(this._.items[a]).getFirst();a= +b.getItem(++g);){if(a.equals(f)){this._.focusIndex=g;break}}else this.element.focus();f&&setTimeout(function(){f.focus()},0)}}})}});CKEDITOR.plugins.add("richcombo",{requires:"floatpanel,listblock,button",beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_RICHCOMBO,CKEDITOR.ui.richCombo.handler)}});(function(){var b='\x3cspan id\x3d"{id}" class\x3d"cke_combo cke_combo__{name} {cls}" role\x3d"presentation"\x3e\x3cspan id\x3d"{id}_label" class\x3d"cke_combo_label"\x3e{label}\x3c/span\x3e\x3ca class\x3d"cke_combo_button" title\x3d"{title}" tabindex\x3d"-1"'+ (CKEDITOR.env.gecko&&!CKEDITOR.env.hc?"":" href\x3d\"javascript:void('{titleJs}')\"")+' hidefocus\x3d"true" role\x3d"button" aria-labelledby\x3d"{id}_label" aria-haspopup\x3d"listbox"',h="";CKEDITOR.env.gecko&&CKEDITOR.env.mac&&(b+=' onkeypress\x3d"return false;"');CKEDITOR.env.gecko&&(b+=' onblur\x3d"this.style.cssText \x3d this.style.cssText;"');CKEDITOR.env.ie&&(h='return false;" onmouseup\x3d"CKEDITOR.tools.getMouseButton(event)\x3d\x3dCKEDITOR.MOUSE_BUTTON_LEFT\x26\x26');var b=b+(' onkeydown\x3d"return CKEDITOR.tools.callFunction({keydownFn},event,this);" onfocus\x3d"return CKEDITOR.tools.callFunction({focusFn},event);" onclick\x3d"'+ h+'CKEDITOR.tools.callFunction({clickFn},this);return false;"\x3e\x3cspan id\x3d"{id}_text" class\x3d"cke_combo_text cke_combo_inlinelabel"\x3e{label}\x3c/span\x3e\x3cspan class\x3d"cke_combo_open"\x3e\x3cspan class\x3d"cke_combo_arrow"\x3e'+(CKEDITOR.env.hc?"\x26#9660;":CKEDITOR.env.air?"\x26nbsp;":"")+"\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3c/span\x3e"),g=CKEDITOR.addTemplate("combo",b);CKEDITOR.UI_RICHCOMBO="richcombo";CKEDITOR.ui.richCombo=CKEDITOR.tools.createClass({$:function(b){CKEDITOR.tools.extend(this, b,{canGroup:!1,title:b.label,modes:{wysiwyg:1},editorFocus:1});b=this.panel||{};delete this.panel;this.id=CKEDITOR.tools.getNextNumber();this.document=b.parent&&b.parent.getDocument()||CKEDITOR.document;b.className="cke_combopanel";b.block={multiSelect:b.multiSelect,attributes:b.attributes};b.toolbarRelated=!0;this._={panelDefinition:b,items:{},listeners:[]}},proto:{renderHtml:function(b){var a=[];this.render(b,a);return a.join("")},render:function(b,a){function h(){if(this.getState()!=CKEDITOR.TRISTATE_ON){var a= -this.modes[b.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;b.readOnly&&!this.readOnly&&(a=CKEDITOR.TRISTATE_DISABLED);this.setState(a);this.setValue("");a!=CKEDITOR.TRISTATE_DISABLED&&this.refresh&&this.refresh()}}var l=CKEDITOR.env,k,c,f="cke_"+this.id,d=CKEDITOR.tools.addFunction(function(a){c&&(b.unlockSelection(1),c=0);k.execute(a)},this),n=this;k={id:f,combo:this,focus:function(){CKEDITOR.document.getById(f).getChild(1).focus()},execute:function(a){var c=n._;if(c.state!=CKEDITOR.TRISTATE_DISABLED)if(n.createPanel(b), -c.on)c.panel.hide();else{n.commit();var d=n.getValue();d?c.list.mark(d):c.list.unmarkAll();c.panel.showBlock(n.id,new CKEDITOR.dom.element(a),4)}},clickFn:d};this._.listeners.push(b.on("activeFilterChange",h,this));this._.listeners.push(b.on("mode",h,this));this._.listeners.push(b.on("selectionChange",h,this));!this.readOnly&&this._.listeners.push(b.on("readOnly",h,this));var w=CKEDITOR.tools.addFunction(function(a,c){a=new CKEDITOR.dom.event(a);var b=a.getKeystroke();switch(b){case 13:case 32:case 40:CKEDITOR.tools.callFunction(d, -c);break;default:k.onkey(k,b)}a.preventDefault()}),v=CKEDITOR.tools.addFunction(function(){k.onfocus&&k.onfocus()});c=0;k.keyDownFn=w;l={id:f,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:l.gecko&&!l.hc?"":(this.title||"").replace("'",""),keydownFn:w,focusFn:v,clickFn:d};g.output(l,a);if(this.onRender)this.onRender();return k},createPanel:function(b){if(!this._.panel){var a=this._.panelDefinition,g=this._.panelDefinition.block,h=a.parent||CKEDITOR.document.getBody(), -k="cke_combopanel__"+this.name,c=new CKEDITOR.ui.floatPanel(b,h,a),a=c.addListBlock(this.id,g),f=this;c.onShow=function(){this.element.addClass(k);f.setState(CKEDITOR.TRISTATE_ON);f._.on=1;f.editorFocus&&!b.focusManager.hasFocus&&b.focus();if(f.onOpen)f.onOpen()};c.onHide=function(a){this.element.removeClass(k);f.setState(f.modes&&f.modes[b.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);f._.on=0;if(!a&&f.onClose)f.onClose()};c.onEscape=function(){c.hide(1)};a.onClick=function(a,b){f.onClick&& -f.onClick.call(f,a,b);c.hide()};this._.panel=c;this._.list=a;c.getBlock(this.id).onHide=function(){f._.on=0;f.setState(CKEDITOR.TRISTATE_OFF)};this.init&&this.init()}},setValue:function(b,a){this._.value=b;var g=this.document.getById("cke_"+this.id+"_text");g&&(b||a?g.removeClass("cke_combo_inlinelabel"):(a=this.label,g.addClass("cke_combo_inlinelabel")),g.setText("undefined"!=typeof a?a:b))},getValue:function(){return this._.value||""},unmarkAll:function(){this._.list.unmarkAll()},mark:function(b){this._.list.mark(b)}, +this.modes[b.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED;b.readOnly&&!this.readOnly&&(a=CKEDITOR.TRISTATE_DISABLED);this.setState(a);this.setValue("");a!=CKEDITOR.TRISTATE_DISABLED&&this.refresh&&this.refresh()}}var k=CKEDITOR.env,l,c,e="cke_"+this.id,d=CKEDITOR.tools.addFunction(function(a){c&&(b.unlockSelection(1),c=0);l.execute(a)},this),n=this;l={id:e,combo:this,focus:function(){CKEDITOR.document.getById(e).getChild(1).focus()},execute:function(a){var c=n._;if(c.state!=CKEDITOR.TRISTATE_DISABLED)if(n.createPanel(b), +c.on)c.panel.hide();else{n.commit();var d=n.getValue();d?c.list.mark(d):c.list.unmarkAll();c.panel.showBlock(n.id,new CKEDITOR.dom.element(a),4)}},clickFn:d};this._.listeners.push(b.on("activeFilterChange",h,this));this._.listeners.push(b.on("mode",h,this));this._.listeners.push(b.on("selectionChange",h,this));!this.readOnly&&this._.listeners.push(b.on("readOnly",h,this));var y=CKEDITOR.tools.addFunction(function(a,c){a=new CKEDITOR.dom.event(a);var b=a.getKeystroke();switch(b){case 13:case 32:case 40:CKEDITOR.tools.callFunction(d, +c);break;default:l.onkey(l,b)}a.preventDefault()}),x=CKEDITOR.tools.addFunction(function(){l.onfocus&&l.onfocus()});c=0;l.keyDownFn=y;k={id:e,name:this.name||this.command,label:this.label,title:this.title,cls:this.className||"",titleJs:k.gecko&&!k.hc?"":(this.title||"").replace("'",""),keydownFn:y,focusFn:x,clickFn:d};g.output(k,a);if(this.onRender)this.onRender();return l},createPanel:function(b){if(!this._.panel){var a=this._.panelDefinition,g=this._.panelDefinition.block,h=a.parent||CKEDITOR.document.getBody(), +l="cke_combopanel__"+this.name,c=new CKEDITOR.ui.floatPanel(b,h,a),a=c.addListBlock(this.id,g),e=this;c.onShow=function(){this.element.addClass(l);e.setState(CKEDITOR.TRISTATE_ON);e._.on=1;e.editorFocus&&!b.focusManager.hasFocus&&b.focus();if(e.onOpen)e.onOpen()};c.onHide=function(a){this.element.removeClass(l);e.setState(e.modes&&e.modes[b.mode]?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);e._.on=0;if(!a&&e.onClose)e.onClose()};c.onEscape=function(){c.hide(1)};a.onClick=function(a,b){e.onClick&& +e.onClick.call(e,a,b);c.hide()};this._.panel=c;this._.list=a;c.getBlock(this.id).onHide=function(){e._.on=0;e.setState(CKEDITOR.TRISTATE_OFF)};this.init&&this.init()}},setValue:function(b,a){this._.value=b;var g=this.document.getById("cke_"+this.id+"_text");g&&(b||a?g.removeClass("cke_combo_inlinelabel"):(a=this.label,g.addClass("cke_combo_inlinelabel")),g.setText("undefined"!=typeof a?a:b))},getValue:function(){return this._.value||""},unmarkAll:function(){this._.list.unmarkAll()},mark:function(b){this._.list.mark(b)}, hideItem:function(b){this._.list.hideItem(b)},hideGroup:function(b){this._.list.hideGroup(b)},showAll:function(){this._.list.showAll()},add:function(b,a,g){this._.items[b]=g||b;this._.list.add(b,a,g)},startGroup:function(b){this._.list.startGroup(b)},commit:function(){this._.committed||(this._.list.commit(),this._.committed=1,CKEDITOR.ui.fire("ready",this));this._.committed=1},setState:function(b){if(this._.state!=b){var a=this.document.getById("cke_"+this.id);a.setState(b,"cke_combo");b==CKEDITOR.TRISTATE_DISABLED? a.setAttribute("aria-disabled",!0):a.removeAttribute("aria-disabled");this._.state=b}},getState:function(){return this._.state},enable:function(){this._.state==CKEDITOR.TRISTATE_DISABLED&&this.setState(this._.lastState)},disable:function(){this._.state!=CKEDITOR.TRISTATE_DISABLED&&(this._.lastState=this._.state,this.setState(CKEDITOR.TRISTATE_DISABLED))},destroy:function(){CKEDITOR.tools.array.forEach(this._.listeners,function(b){b.removeListener()});this._.listeners=[]},select:function(b){if(!CKEDITOR.tools.isEmpty(this._.items))for(var a in this._.items)if(b({value:a, -text:this._.items[a]})){this.setValue(a);break}}},statics:{handler:{create:function(b){return new CKEDITOR.ui.richCombo(b)}}}});CKEDITOR.ui.prototype.addRichCombo=function(b,a){this.add(b,CKEDITOR.UI_RICHCOMBO,a)}})();CKEDITOR.plugins.add("format",{requires:"richcombo",init:function(b){if(!b.blockless){for(var h=b.config,g=b.lang.format,e=h.format_tags.split(";"),a={},m=0,l=[],k=0;k<e.length;k++){var c=e[k],f=new CKEDITOR.style(h["format_"+c]);if(!b.filter.customConfig||b.filter.check(f))m++,a[c]= -f,a[c]._.enterMode=b.config.enterMode,l.push(f)}0!==m&&b.ui.addRichCombo("Format",{label:g.label,title:g.panelTitle,toolbar:"styles,20",allowedContent:l,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(h.contentsCss),multiSelect:!1,attributes:{"aria-label":g.panelTitle}},init:function(){this.startGroup(g.panelTitle);for(var c in a){var b=g["tag_"+c];this.add(c,a[c].buildPreview(b),b)}},onClick:function(c){b.focus();b.fire("saveSnapshot");c=a[c];var f=b.elementPath();c.checkActive(f,b)||b.applyStyle(c); -setTimeout(function(){b.fire("saveSnapshot")},0)},onRender:function(){b.on("selectionChange",function(c){var f=this.getValue();c=c.data.path;this.refresh();for(var e in a)if(a[e].checkActive(c,b)){e!=f&&this.setValue(e,b.lang.format["tag_"+e]);return}this.setValue("")},this)},onOpen:function(){this.showAll();for(var c in a)b.activeFilter.check(a[c])||this.hideItem(c)},refresh:function(){var c=b.elementPath();if(c){if(c.isContextFor("p"))for(var f in a)if(b.activeFilter.check(a[f]))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}}})}}}); +text:this._.items[a]})){this.setValue(a);break}}},statics:{handler:{create:function(b){return new CKEDITOR.ui.richCombo(b)}}}});CKEDITOR.ui.prototype.addRichCombo=function(b,a){this.add(b,CKEDITOR.UI_RICHCOMBO,a)}})();CKEDITOR.plugins.add("format",{requires:"richcombo",init:function(b){if(!b.blockless){for(var h=b.config,g=b.lang.format,f=h.format_tags.split(";"),a={},m=0,k=[],l=0;l<f.length;l++){var c=f[l],e=new CKEDITOR.style(h["format_"+c]);if(!b.filter.customConfig||b.filter.check(e))m++,a[c]= +e,a[c]._.enterMode=b.config.enterMode,k.push(e)}0!==m&&b.ui.addRichCombo("Format",{label:g.label,title:g.panelTitle,toolbar:"styles,20",allowedContent:k,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(h.contentsCss),multiSelect:!1,attributes:{"aria-label":g.panelTitle}},init:function(){this.startGroup(g.panelTitle);for(var c in a){var b=g["tag_"+c];this.add(c,a[c].buildPreview(b),b)}},onClick:function(c){b.focus();b.fire("saveSnapshot");c=a[c];var e=b.elementPath();c.checkActive(e,b)||b.applyStyle(c); +setTimeout(function(){b.fire("saveSnapshot")},0)},onRender:function(){b.on("selectionChange",function(c){var e=this.getValue();c=c.data.path;this.refresh();for(var f in a)if(a[f].checkActive(c,b)){f!=e&&this.setValue(f,b.lang.format["tag_"+f]);return}this.setValue("")},this)},onOpen:function(){this.showAll();for(var c in a)b.activeFilter.check(a[c])||this.hideItem(c)},refresh:function(){var c=b.elementPath();if(c){if(c.isContextFor("p"))for(var e in a)if(b.activeFilter.check(a[e]))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}}})}}}); CKEDITOR.config.format_tags="p;h1;h2;h3;h4;h5;h6;pre;address;div";CKEDITOR.config.format_p={element:"p"};CKEDITOR.config.format_div={element:"div"};CKEDITOR.config.format_pre={element:"pre"};CKEDITOR.config.format_address={element:"address"};CKEDITOR.config.format_h1={element:"h1"};CKEDITOR.config.format_h2={element:"h2"};CKEDITOR.config.format_h3={element:"h3"};CKEDITOR.config.format_h4={element:"h4"};CKEDITOR.config.format_h5={element:"h5"};CKEDITOR.config.format_h6={element:"h6"};(function(){var b= {canUndo:!1,exec:function(b){var g=b.document.createElement("hr");b.insertElement(g)},allowedContent:"hr",requiredContent:"hr"};CKEDITOR.plugins.add("horizontalrule",{init:function(h){h.blockless||(h.addCommand("horizontalrule",b),h.ui.addButton&&h.ui.addButton("HorizontalRule",{label:h.lang.horizontalrule.toolbar,command:"horizontalrule",toolbar:"insert,40"}))}})})();CKEDITOR.plugins.add("htmlwriter",{init:function(b){var h=new CKEDITOR.htmlWriter;h.forceSimpleAmpersand=b.config.forceSimpleAmpersand; h.indentationChars=b.config.dataIndentationChars||"\t";b.dataProcessor.writer=h}});CKEDITOR.htmlWriter=CKEDITOR.tools.createClass({base:CKEDITOR.htmlParser.basicWriter,$:function(){this.base();this.indentationChars="\t";this.selfClosingEnd=" /\x3e";this.lineBreakChars="\n";this.sortAttributes=1;this._.indent=0;this._.indentation="";this._.inPre=0;this._.rules={};var b=CKEDITOR.dtd,h;for(h in CKEDITOR.tools.extend({},b.$nonBodyContent,b.$block,b.$listItem,b.$tableContent))this.setRules(h,{indent:!b[h]["#"], @@ -855,338 +856,339 @@ this.indentation());this._.output.push("\x3c",b);this._.afterCloser=0},openTagCl this._.output.push(" ",b,'\x3d"',h,'"')},closeTag:function(b){var h=this._.rules[b];h&&h.indent&&(this._.indentation=this._.indentation.substr(this.indentationChars.length));this._.indent?this.indentation():h&&h.breakBeforeClose&&(this.lineBreak(),this.indentation());this._.output.push("\x3c/",b,"\x3e");"pre"==b&&(this._.inPre=0);h&&h.breakAfterClose&&(this.lineBreak(),this._.needsSpace=h.needsSpace);this._.afterCloser=1},text:function(b){this._.indent&&(this.indentation(),!this._.inPre&&(b=CKEDITOR.tools.ltrim(b))); this._.output.push(b)},comment:function(b){this._.indent&&this.indentation();this._.output.push("\x3c!--",b,"--\x3e")},lineBreak:function(){!this._.inPre&&0<this._.output.length&&this._.output.push(this.lineBreakChars);this._.indent=1},indentation:function(){!this._.inPre&&this._.indentation&&this._.output.push(this._.indentation);this._.indent=0},reset:function(){this._.output=[];this._.indent=0;this._.indentation="";this._.afterCloser=0;this._.inPre=0;this._.needsSpace=0},setRules:function(b,h){var g= this._.rules[b];g?CKEDITOR.tools.extend(g,h,!0):this._.rules[b]=h}}});"use strict";(function(){function b(a,b){CKEDITOR.tools.extend(this,{editor:a,editable:a.editable(),doc:a.document,win:a.window},b,!0);this.inline=this.editable.isInline();this.inline||(this.frame=this.win.getFrame());this.target=this[this.inline?"editable":"doc"]}function h(a,b){CKEDITOR.tools.extend(this,b,{editor:a},!0)}function g(c,b){var d=c.editable();CKEDITOR.tools.extend(this,{editor:c,editable:d,inline:d.isInline(),doc:c.document, -win:c.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()},b,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var e=CKEDITOR.tools.bind(this.queryViewport,this),g=CKEDITOR.tools.bind(this.hideVisible,this),h=CKEDITOR.tools.bind(this.removeAll,this);d.attachListener(this.winTop,"resize",e);d.attachListener(this.winTop,"scroll",e);d.attachListener(this.winTop,"resize",g);d.attachListener(this.win,"scroll",g);d.attachListener(this.inline? -d:this.frame,"mouseout",function(a){var c=a.data.$.clientX;a=a.data.$.clientY;this.queryViewport();(c<=this.rect.left||c>=this.rect.right||a<=this.rect.top||a>=this.rect.bottom)&&this.hideVisible();(0>=c||c>=this.winTopPane.width||0>=a||a>=this.winTopPane.height)&&this.hideVisible()},this);d.attachListener(c,"resize",e);d.attachListener(c,"mode",h);c.on("destroy",h);this.lineTpl=(new CKEDITOR.template('\x3cdiv data-cke-lineutils-line\x3d"1" class\x3d"cke_reset_all" style\x3d"{lineStyle}"\x3e\x3cspan style\x3d"{tipLeftStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d"{tipRightStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e')).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({}, -m,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},a,{left:"0px","border-left-color":"red","border-width":"6px 0 6px 6px"},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},a,{right:"0px","border-right-color":"red","border-width":"6px 6px 6px 0"},this.tipCss,this.tipRightStyle,!0))})}function e(a){var b;if(b=a&&a.type==CKEDITOR.NODE_ELEMENT)b=!(l[a.getComputedStyle("float")]||l[a.getAttribute("align")]);return b&& -!k[a.getComputedStyle("position")]}CKEDITOR.plugins.add("lineutils");CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;b.prototype={start:function(a){var b=this,d=this.editor,e=this.doc,g,h,k,l,m=CKEDITOR.tools.eventsBuffer(50,function(){d.readOnly||"wysiwyg"!=d.mode||(b.relations={},(h=e.$.elementFromPoint(k,l))&&h.nodeType&&(g=new CKEDITOR.dom.element(h),b.traverseSearch(g),isNaN(k+l)||b.pixelSearch(g,k,l),a&&a(b.relations,k,l)))});this.listener=this.editable.attachListener(this.target, +win:c.window,container:CKEDITOR.document.getBody(),winTop:CKEDITOR.document.getWindow()},b,!0);this.hidden={};this.visible={};this.inline||(this.frame=this.win.getFrame());this.queryViewport();var f=CKEDITOR.tools.bind(this.queryViewport,this),g=CKEDITOR.tools.bind(this.hideVisible,this),h=CKEDITOR.tools.bind(this.removeAll,this);d.attachListener(this.winTop,"resize",f);d.attachListener(this.winTop,"scroll",f);d.attachListener(this.winTop,"resize",g);d.attachListener(this.win,"scroll",g);d.attachListener(this.inline? +d:this.frame,"mouseout",function(a){var c=a.data.$.clientX;a=a.data.$.clientY;this.queryViewport();(c<=this.rect.left||c>=this.rect.right||a<=this.rect.top||a>=this.rect.bottom)&&this.hideVisible();(0>=c||c>=this.winTopPane.width||0>=a||a>=this.winTopPane.height)&&this.hideVisible()},this);d.attachListener(c,"resize",f);d.attachListener(c,"mode",h);c.on("destroy",h);this.lineTpl=(new CKEDITOR.template('\x3cdiv data-cke-lineutils-line\x3d"1" class\x3d"cke_reset_all" style\x3d"{lineStyle}"\x3e\x3cspan style\x3d"{tipLeftStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3cspan style\x3d"{tipRightStyle}"\x3e\x26nbsp;\x3c/span\x3e\x3c/div\x3e')).output({lineStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({}, +m,this.lineStyle,!0)),tipLeftStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},a,{left:"0px","border-left-color":"red","border-width":"6px 0 6px 6px"},this.tipCss,this.tipLeftStyle,!0)),tipRightStyle:CKEDITOR.tools.writeCssText(CKEDITOR.tools.extend({},a,{right:"0px","border-right-color":"red","border-width":"6px 6px 6px 0"},this.tipCss,this.tipRightStyle,!0))})}function f(a){var b;if(b=a&&a.type==CKEDITOR.NODE_ELEMENT)b=!(k[a.getComputedStyle("float")]||k[a.getAttribute("align")]);return b&& +!l[a.getComputedStyle("position")]}CKEDITOR.plugins.add("lineutils");CKEDITOR.LINEUTILS_BEFORE=1;CKEDITOR.LINEUTILS_AFTER=2;CKEDITOR.LINEUTILS_INSIDE=4;b.prototype={start:function(a){var b=this,d=this.editor,f=this.doc,g,h,k,l,m=CKEDITOR.tools.eventsBuffer(50,function(){d.readOnly||"wysiwyg"!=d.mode||(b.relations={},(h=f.$.elementFromPoint(k,l))&&h.nodeType&&(g=new CKEDITOR.dom.element(h),b.traverseSearch(g),isNaN(k+l)||b.pixelSearch(g,k,l),a&&a(b.relations,k,l)))});this.listener=this.editable.attachListener(this.target, "mousemove",function(a){k=a.data.$.clientX;l=a.data.$.clientY;m.input()});this.editable.attachListener(this.inline?this.editable:this.frame,"mouseout",function(){m.reset()})},stop:function(){this.listener&&this.listener.removeListener()},getRange:function(){var a={};a[CKEDITOR.LINEUTILS_BEFORE]=CKEDITOR.POSITION_BEFORE_START;a[CKEDITOR.LINEUTILS_AFTER]=CKEDITOR.POSITION_AFTER_END;a[CKEDITOR.LINEUTILS_INSIDE]=CKEDITOR.POSITION_AFTER_START;return function(b){var d=this.editor.createRange();d.moveToPosition(this.relations[b.uid].element, -a[b.type]);return d}}(),store:function(){function a(c,b,e){var g=c.getUniqueId();g in e?e[g].type|=b:e[g]={element:c,type:b}}return function(b,d){var g;d&CKEDITOR.LINEUTILS_AFTER&&e(g=b.getNext())&&g.isVisible()&&(a(g,CKEDITOR.LINEUTILS_BEFORE,this.relations),d^=CKEDITOR.LINEUTILS_AFTER);d&CKEDITOR.LINEUTILS_INSIDE&&e(g=b.getFirst())&&g.isVisible()&&(a(g,CKEDITOR.LINEUTILS_BEFORE,this.relations),d^=CKEDITOR.LINEUTILS_INSIDE);a(b,d,this.relations)}}(),traverseSearch:function(a){var b,d,g;do if(g=a.$["data-cke-expando"], -!(g&&g in this.relations)){if(a.equals(this.editable))break;if(e(a))for(b in this.lookups)(d=this.lookups[b](a))&&this.store(a,d)}while((!a||a.type!=CKEDITOR.NODE_ELEMENT||"true"!=a.getAttribute("contenteditable"))&&(a=a.getParent()))},pixelSearch:function(){function a(c,g,h,k,l){for(var m=0,q;l(h);){h+=k;if(25==++m)break;if(q=this.doc.$.elementFromPoint(g,h))if(q==c)m=0;else if(b(c,q)&&(m=0,e(q=new CKEDITOR.dom.element(q))))return q}}var b=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,c){return a.contains(c)}: -function(a,c){return!!(a.compareDocumentPosition(c)&16)};return function(b,f,g){var h=this.win.getViewPaneSize().height,k=a.call(this,b.$,f,g,-1,function(a){return 0<a});f=a.call(this,b.$,f,g,1,function(a){return a<h});if(k)for(this.traverseSearch(k);!k.getParent().equals(b);)k=k.getParent();if(f)for(this.traverseSearch(f);!f.getParent().equals(b);)f=f.getParent();for(;k||f;){k&&(k=k.getNext(e));if(!k||k.equals(f))break;this.traverseSearch(k);f&&(f=f.getPrevious(e));if(!f||f.equals(k))break;this.traverseSearch(f)}}}(), -greedySearch:function(){this.relations={};for(var a=this.editable.getElementsByTag("*"),b=0,d,g,h;d=a.getItem(b++);)if(!d.equals(this.editable)&&d.type==CKEDITOR.NODE_ELEMENT&&(d.hasAttribute("contenteditable")||!d.isReadOnly())&&e(d)&&d.isVisible())for(h in this.lookups)(g=this.lookups[h](d))&&this.store(d,g);return this.relations}};h.prototype={locate:function(){function a(c,b){var g=c.element[b===CKEDITOR.LINEUTILS_BEFORE?"getPrevious":"getNext"]();return g&&e(g)?(c.siblingRect=g.getClientRect(), -b==CKEDITOR.LINEUTILS_BEFORE?(c.siblingRect.bottom+c.elementRect.top)/2:(c.elementRect.bottom+c.siblingRect.top)/2):b==CKEDITOR.LINEUTILS_BEFORE?c.elementRect.top:c.elementRect.bottom}return function(b){var d;this.locations={};for(var e in b)d=b[e],d.elementRect=d.element.getClientRect(),d.type&CKEDITOR.LINEUTILS_BEFORE&&this.store(e,CKEDITOR.LINEUTILS_BEFORE,a(d,CKEDITOR.LINEUTILS_BEFORE)),d.type&CKEDITOR.LINEUTILS_AFTER&&this.store(e,CKEDITOR.LINEUTILS_AFTER,a(d,CKEDITOR.LINEUTILS_AFTER)),d.type& -CKEDITOR.LINEUTILS_INSIDE&&this.store(e,CKEDITOR.LINEUTILS_INSIDE,(d.elementRect.top+d.elementRect.bottom)/2);return this.locations}}(),sort:function(){var a,b,d,e;return function(g,h){a=this.locations;b=[];for(var k in a)for(var l in a[k])if(d=Math.abs(g-a[k][l]),b.length){for(e=0;e<b.length;e++)if(d<b[e].dist){b.splice(e,0,{uid:+k,type:l,dist:d});break}e==b.length&&b.push({uid:+k,type:l,dist:d})}else b.push({uid:+k,type:l,dist:d});return"undefined"!=typeof h?b.slice(0,h):b}}(),store:function(a, +a[b.type]);return d}}(),store:function(){function a(c,b,f){var g=c.getUniqueId();g in f?f[g].type|=b:f[g]={element:c,type:b}}return function(b,d){var g;d&CKEDITOR.LINEUTILS_AFTER&&f(g=b.getNext())&&g.isVisible()&&(a(g,CKEDITOR.LINEUTILS_BEFORE,this.relations),d^=CKEDITOR.LINEUTILS_AFTER);d&CKEDITOR.LINEUTILS_INSIDE&&f(g=b.getFirst())&&g.isVisible()&&(a(g,CKEDITOR.LINEUTILS_BEFORE,this.relations),d^=CKEDITOR.LINEUTILS_INSIDE);a(b,d,this.relations)}}(),traverseSearch:function(a){var b,d,g;do if(g=a.$["data-cke-expando"], +!(g&&g in this.relations)){if(a.equals(this.editable))break;if(f(a))for(b in this.lookups)(d=this.lookups[b](a))&&this.store(a,d)}while((!a||a.type!=CKEDITOR.NODE_ELEMENT||"true"!=a.getAttribute("contenteditable"))&&(a=a.getParent()))},pixelSearch:function(){function a(c,g,h,k,l){for(var m=0,p;l(h);){h+=k;if(25==++m)break;if(p=this.doc.$.elementFromPoint(g,h))if(p==c)m=0;else if(b(c,p)&&(m=0,f(p=new CKEDITOR.dom.element(p))))return p}}var b=CKEDITOR.env.ie||CKEDITOR.env.webkit?function(a,c){return a.contains(c)}: +function(a,c){return!!(a.compareDocumentPosition(c)&16)};return function(b,e,g){var h=this.win.getViewPaneSize().height,k=a.call(this,b.$,e,g,-1,function(a){return 0<a});e=a.call(this,b.$,e,g,1,function(a){return a<h});if(k)for(this.traverseSearch(k);!k.getParent().equals(b);)k=k.getParent();if(e)for(this.traverseSearch(e);!e.getParent().equals(b);)e=e.getParent();for(;k||e;){k&&(k=k.getNext(f));if(!k||k.equals(e))break;this.traverseSearch(k);e&&(e=e.getPrevious(f));if(!e||e.equals(k))break;this.traverseSearch(e)}}}(), +greedySearch:function(){this.relations={};for(var a=this.editable.getElementsByTag("*"),b=0,d,g,h;d=a.getItem(b++);)if(!d.equals(this.editable)&&d.type==CKEDITOR.NODE_ELEMENT&&(d.hasAttribute("contenteditable")||!d.isReadOnly())&&f(d)&&d.isVisible())for(h in this.lookups)(g=this.lookups[h](d))&&this.store(d,g);return this.relations}};h.prototype={locate:function(){function a(c,b){var g=c.element[b===CKEDITOR.LINEUTILS_BEFORE?"getPrevious":"getNext"]();return g&&f(g)?(c.siblingRect=g.getClientRect(), +b==CKEDITOR.LINEUTILS_BEFORE?(c.siblingRect.bottom+c.elementRect.top)/2:(c.elementRect.bottom+c.siblingRect.top)/2):b==CKEDITOR.LINEUTILS_BEFORE?c.elementRect.top:c.elementRect.bottom}return function(b){var d;this.locations={};for(var f in b)d=b[f],d.elementRect=d.element.getClientRect(),d.type&CKEDITOR.LINEUTILS_BEFORE&&this.store(f,CKEDITOR.LINEUTILS_BEFORE,a(d,CKEDITOR.LINEUTILS_BEFORE)),d.type&CKEDITOR.LINEUTILS_AFTER&&this.store(f,CKEDITOR.LINEUTILS_AFTER,a(d,CKEDITOR.LINEUTILS_AFTER)),d.type& +CKEDITOR.LINEUTILS_INSIDE&&this.store(f,CKEDITOR.LINEUTILS_INSIDE,(d.elementRect.top+d.elementRect.bottom)/2);return this.locations}}(),sort:function(){var a,b,d,f;return function(g,h){a=this.locations;b=[];for(var k in a)for(var l in a[k])if(d=Math.abs(g-a[k][l]),b.length){for(f=0;f<b.length;f++)if(d<b[f].dist){b.splice(f,0,{uid:+k,type:l,dist:d});break}f==b.length&&b.push({uid:+k,type:l,dist:d})}else b.push({uid:+k,type:l,dist:d});return"undefined"!=typeof h?b.slice(0,h):b}}(),store:function(a, b,d){this.locations[a]||(this.locations[a]={});this.locations[a][b]=d}};var a={display:"block",width:"0px",height:"0px","border-color":"transparent","border-style":"solid",position:"absolute",top:"-6px"},m={height:"0px","border-top":"1px dashed red",position:"absolute","z-index":9999};g.prototype={removeAll:function(){for(var a in this.hidden)this.hidden[a].remove(),delete this.hidden[a];for(a in this.visible)this.visible[a].remove(),delete this.visible[a]},hideLine:function(a){var b=a.getUniqueId(); -a.hide();this.hidden[b]=a;delete this.visible[b]},showLine:function(a){var b=a.getUniqueId();a.show();this.visible[b]=a;delete this.hidden[b]},hideVisible:function(){for(var a in this.visible)this.hideLine(this.visible[a])},placeLine:function(a,b){var d,e,g;if(d=this.getStyle(a.uid,a.type)){for(g in this.visible)if(this.visible[g].getCustomData("hash")!==this.hash){e=this.visible[g];break}if(!e)for(g in this.hidden)if(this.hidden[g].getCustomData("hash")!==this.hash){this.showLine(e=this.hidden[g]); -break}e||this.showLine(e=this.addLine());e.setCustomData("hash",this.hash);this.visible[e.getUniqueId()]=e;e.setStyles(d);b&&b(e)}},getStyle:function(a,b){var d=this.relations[a],e=this.locations[a][b],g={};g.width=d.siblingRect?Math.max(d.siblingRect.width,d.elementRect.width):d.elementRect.width;g.top=this.inline?e+this.winTopScroll.y-this.rect.relativeY:this.rect.top+this.winTopScroll.y+e;if(g.top-this.winTopScroll.y<this.rect.top||g.top-this.winTopScroll.y>this.rect.bottom)return!1;this.inline? +a.hide();this.hidden[b]=a;delete this.visible[b]},showLine:function(a){var b=a.getUniqueId();a.show();this.visible[b]=a;delete this.hidden[b]},hideVisible:function(){for(var a in this.visible)this.hideLine(this.visible[a])},placeLine:function(a,b){var d,f,g;if(d=this.getStyle(a.uid,a.type)){for(g in this.visible)if(this.visible[g].getCustomData("hash")!==this.hash){f=this.visible[g];break}if(!f)for(g in this.hidden)if(this.hidden[g].getCustomData("hash")!==this.hash){this.showLine(f=this.hidden[g]); +break}f||this.showLine(f=this.addLine());f.setCustomData("hash",this.hash);this.visible[f.getUniqueId()]=f;f.setStyles(d);b&&b(f)}},getStyle:function(a,b){var d=this.relations[a],f=this.locations[a][b],g={};g.width=d.siblingRect?Math.max(d.siblingRect.width,d.elementRect.width):d.elementRect.width;g.top=this.inline?f+this.winTopScroll.y-this.rect.relativeY:this.rect.top+this.winTopScroll.y+f;if(g.top-this.winTopScroll.y<this.rect.top||g.top-this.winTopScroll.y>this.rect.bottom)return!1;this.inline? g.left=d.elementRect.left-this.rect.relativeX:(0<d.elementRect.left?g.left=this.rect.left+d.elementRect.left:(g.width+=d.elementRect.left,g.left=this.rect.left),0<(d=g.left+g.width-(this.rect.left+this.winPane.width))&&(g.width-=d));g.left+=this.winTopScroll.x;for(var h in g)g[h]=CKEDITOR.tools.cssLength(g[h]);return g},addLine:function(){var a=CKEDITOR.dom.element.createFromHtml(this.lineTpl);a.appendTo(this.container);return a},prepare:function(a,b){this.relations=a;this.locations=b;this.hash=Math.random()}, cleanup:function(){var a,b;for(b in this.visible)a=this.visible[b],a.getCustomData("hash")!==this.hash&&this.hideLine(a)},queryViewport:function(){this.winPane=this.win.getViewPaneSize();this.winTopScroll=this.winTop.getScrollPosition();this.winTopPane=this.winTop.getViewPaneSize();this.rect=this.getClientRect(this.inline?this.editable:this.frame)},getClientRect:function(a){a=a.getClientRect();var b=this.container.getDocumentPosition(),d=this.container.getComputedStyle("position");a.relativeX=a.relativeY= -0;"static"!=d&&(a.relativeY=b.y,a.relativeX=b.x,a.top-=a.relativeY,a.bottom-=a.relativeY,a.left-=a.relativeX,a.right-=a.relativeX);return a}};var l={left:1,right:1,center:1},k={absolute:1,fixed:1};CKEDITOR.plugins.lineutils={finder:b,locator:h,liner:g}})();(function(){function b(b){return b.getName&&!b.hasAttribute("data-cke-temp")}CKEDITOR.plugins.add("widgetselection",{init:function(b){if(CKEDITOR.env.webkit){var g=CKEDITOR.plugins.widgetselection;b.on("contentDom",function(b){b=b.editor;var a= +0;"static"!=d&&(a.relativeY=b.y,a.relativeX=b.x,a.top-=a.relativeY,a.bottom-=a.relativeY,a.left-=a.relativeX,a.right-=a.relativeX);return a}};var k={left:1,right:1,center:1},l={absolute:1,fixed:1};CKEDITOR.plugins.lineutils={finder:b,locator:h,liner:g}})();(function(){function b(b){return b.getName&&!b.hasAttribute("data-cke-temp")}CKEDITOR.plugins.add("widgetselection",{init:function(b){if(CKEDITOR.env.webkit){var g=CKEDITOR.plugins.widgetselection;b.on("contentDom",function(b){b=b.editor;var a= b.editable();a.attachListener(a,"keydown",function(b){b.data.getKeystroke()==CKEDITOR.CTRL+65&&CKEDITOR.tools.setTimeout(function(){g.addFillers(a)||g.removeFillers(a)},0)},null,null,-1);b.on("selectionCheck",function(a){g.removeFillers(a.editor.editable())});b.on("paste",function(a){a.data.dataValue=g.cleanPasteData(a.data.dataValue)});"selectall"in b.plugins&&g.addSelectAllIntegration(b)})}}});CKEDITOR.plugins.widgetselection={startFiller:null,endFiller:null,fillerAttribute:"data-cke-filler-webkit", -fillerContent:"\x26nbsp;",fillerTagName:"div",addFillers:function(h){var g=h.editor;if(!this.isWholeContentSelected(h)&&0<h.getChildCount()){var e=h.getFirst(b),a=h.getLast(b);e&&e.type==CKEDITOR.NODE_ELEMENT&&!e.isEditable()&&(this.startFiller=this.createFiller(),h.append(this.startFiller,1));a&&a.type==CKEDITOR.NODE_ELEMENT&&!a.isEditable()&&(this.endFiller=this.createFiller(!0),h.append(this.endFiller,0));if(this.hasFiller(h))return g=g.createRange(),g.selectNodeContents(h),g.select(),!0}return!1}, -removeFillers:function(b){if(this.hasFiller(b)&&!this.isWholeContentSelected(b)){var g=b.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dstart]"),e=b.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dend]");this.startFiller&&g&&this.startFiller.equals(g)?this.removeFiller(this.startFiller,b):this.startFiller=g;this.endFiller&&e&&this.endFiller.equals(e)?this.removeFiller(this.endFiller,b):this.endFiller=e}},cleanPasteData:function(b){b&&b.length&&(b=b.replace(this.createFillerRegex(), +fillerContent:"\x26nbsp;",fillerTagName:"div",addFillers:function(h){var g=h.editor;if(!this.isWholeContentSelected(h)&&0<h.getChildCount()){var f=h.getFirst(b),a=h.getLast(b);f&&f.type==CKEDITOR.NODE_ELEMENT&&!f.isEditable()&&(this.startFiller=this.createFiller(),h.append(this.startFiller,1));a&&a.type==CKEDITOR.NODE_ELEMENT&&!a.isEditable()&&(this.endFiller=this.createFiller(!0),h.append(this.endFiller,0));if(this.hasFiller(h))return g=g.createRange(),g.selectNodeContents(h),g.select(),!0}return!1}, +removeFillers:function(b){if(this.hasFiller(b)&&!this.isWholeContentSelected(b)){var g=b.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dstart]"),f=b.findOne(this.fillerTagName+"["+this.fillerAttribute+"\x3dend]");this.startFiller&&g&&this.startFiller.equals(g)?this.removeFiller(this.startFiller,b):this.startFiller=g;this.endFiller&&f&&this.endFiller.equals(f)?this.removeFiller(this.endFiller,b):this.endFiller=f}},cleanPasteData:function(b){b&&b.length&&(b=b.replace(this.createFillerRegex(), "").replace(this.createFillerRegex(!0),""));return b},isWholeContentSelected:function(b){var g=b.editor.getSelection().getRanges()[0];return!g||g&&g.collapsed?!1:(g=g.clone(),g.enlarge(CKEDITOR.ENLARGE_ELEMENT),!!(g&&b&&g.startContainer&&g.endContainer&&0===g.startOffset&&g.endOffset===b.getChildCount()&&g.startContainer.equals(b)&&g.endContainer.equals(b)))},hasFiller:function(b){return 0<b.find(this.fillerTagName+"["+this.fillerAttribute+"]").count()},createFiller:function(b){var g=new CKEDITOR.dom.element(this.fillerTagName); -g.setHtml(this.fillerContent);g.setAttribute(this.fillerAttribute,b?"end":"start");g.setAttribute("data-cke-temp",1);g.setStyles({display:"block",width:0,height:0,padding:0,border:0,margin:0,position:"absolute",top:0,left:"-9999px",opacity:0,overflow:"hidden"});return g},removeFiller:function(b,g){if(b){var e=g.editor,a=g.editor.getSelection().getRanges()[0].startPath(),m=e.createRange(),l,k;a.contains(b)&&(l=b.getHtml(),k=!0);a="start"==b.getAttribute(this.fillerAttribute);b.remove();l&&0<l.length&& -l!=this.fillerContent?(g.insertHtmlIntoRange(l,e.getSelection().getRanges()[0]),m.setStartAt(g.getChild(g.getChildCount()-1),CKEDITOR.POSITION_BEFORE_END),e.getSelection().selectRanges([m])):k&&(a?m.setStartAt(g.getFirst().getNext(),CKEDITOR.POSITION_AFTER_START):m.setEndAt(g.getLast().getPrevious(),CKEDITOR.POSITION_BEFORE_END),g.editor.getSelection().selectRanges([m]))}},createFillerRegex:function(b){var g=this.createFiller(b).getOuterHtml().replace(/style="[^"]*"/gi,'style\x3d"[^"]*"').replace(/>[^<]*</gi, -"\x3e[^\x3c]*\x3c");return new RegExp((b?"":"^")+g+(b?"$":""))},addSelectAllIntegration:function(b){var g=this;b.editable().attachListener(b,"beforeCommandExec",function(e){var a=b.editable();"selectAll"==e.data.name&&a&&g.addFillers(a)},null,null,9999)}}})();"use strict";(function(){function b(a){this.editor=a;this.registered={};this.instances={};this.selected=[];this.widgetHoldingFocusedEditable=this.focused=null;this._={nextId:0,upcasts:[],upcastCallbacks:[],filters:{}};E(this);A(this);this.on("checkWidgets", -l);this.editor.on("contentDomInvalidated",this.checkWidgets,this);C(this);y(this);u(this);z(this);B(this)}function h(a,b,c,d,f){var e=a.editor;CKEDITOR.tools.extend(this,d,{editor:e,id:b,inline:"span"==c.getParent().getName(),element:c,data:CKEDITOR.tools.extend({},"function"==typeof d.defaults?d.defaults():d.defaults),dataReady:!1,inited:!1,ready:!1,edit:h.prototype.edit,focusedEditable:null,definition:d,repository:a,draggable:!1!==d.draggable,_:{downcastFn:d.downcast&&"string"==typeof d.downcast? -d.downcasts[d.downcast]:d.downcast}},!0);a.fire("instanceCreated",this);O(this,d);this.init&&this.init();this.inited=!0;(a=this.element.data("cke-widget-data"))&&this.setData(JSON.parse(decodeURIComponent(a)));f&&this.setData(f);this.data.classes||this.setData("classes",this.getClasses());this.dataReady=!0;da(this);this.fire("data",this.data);this.isInited()&&e.editable().contains(this.wrapper)&&(this.ready=!0,this.fire("ready"))}function g(a,b,c){CKEDITOR.dom.element.call(this,b.$);this.editor=a; -this._={};b=this.filter=c.filter;CKEDITOR.dtd[this.getName()].p?(this.enterMode=b?b.getAllowedEnterMode(a.enterMode):a.enterMode,this.shiftEnterMode=b?b.getAllowedEnterMode(a.shiftEnterMode,!0):a.shiftEnterMode):this.enterMode=this.shiftEnterMode=CKEDITOR.ENTER_BR}function e(a,b){a.addCommand(b.name,{exec:function(a,c){function d(){a.widgets.finalizeCreation(h)}var f=a.widgets.focused;if(f&&f.name==b.name)f.edit();else if(b.insert)b.insert({editor:a,commandData:c});else if(b.template){var f="function"== -typeof b.defaults?b.defaults():b.defaults,f=CKEDITOR.dom.element.createFromHtml(b.template.output(f),a.document),e,g=a.widgets.wrapElement(f,b.name),h=new CKEDITOR.dom.documentFragment(g.getDocument());h.append(g);(e=a.widgets.initOn(f,b,c&&c.startupData))?(f=e.once("edit",function(b){if(b.data.dialog)e.once("dialog",function(b){b=b.data;var c,f;c=b.once("ok",d,null,null,20);f=b.once("cancel",function(b){b.data&&!1===b.data.hide||a.widgets.destroy(e,!0)});b.once("hide",function(){c.removeListener(); -f.removeListener()})});else d()},null,null,999),e.edit(),f.removeListener()):d()}},allowedContent:b.allowedContent,requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function a(a,b){function c(a,d){var f=b.upcast.split(","),e,g;for(g=0;g<f.length;g++)if(e=f[g],e===a.name)return b.upcasts[e].call(this,a,d);return!1}function d(b,c,f){var e=CKEDITOR.tools.getIndex(a._.upcasts,function(a){return a[2]>f});0>e&&(e=a._.upcasts.length);a._.upcasts.splice(e, -0,[CKEDITOR.tools.bind(b,c),c.name,f])}var f=b.upcast,e=b.upcastPriority||10;f&&("string"==typeof f?d(c,b,e):d(f,b,e))}function m(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire("widgetBlurred",{widget:b});b.setFocused(!1);!c&&b.editor.resetDirty()}}function l(a){a=a.data;if("wysiwyg"==this.editor.mode){var b=this.editor.editable(),c=this.instances,d,f,e,g;if(b){for(d in c)c[d].isReady()&&!b.contains(c[d].wrapper)&&this.destroy(c[d],!0);if(a&&a.initOnlyNew)c=this.initOnAll(); -else{var k=b.find(".cke_widget_wrapper"),c=[];d=0;for(f=k.count();d<f;d++){e=k.getItem(d);if(g=!this.getByElement(e,!0)){a:{g=r;for(var l=e;l=l.getParent();)if(g(l)){g=!0;break a}g=!1}g=!g}g&&b.contains(e)&&(e.addClass("cke_widget_new"),c.push(this.initOn(e.getFirst(h.isDomWidgetElement))))}}a&&a.focusInited&&1==c.length&&c[0].focus()}}}function k(a){if("undefined"!=typeof a.attributes&&a.attributes["data-widget"]){var b=c(a),d=f(a),e=!1;b&&b.value&&b.value.match(/^\s/g)&&(b.parent.attributes["data-cke-white-space-first"]= -1,b.value=b.value.replace(/^\s/g,"\x26nbsp;"),e=!0);d&&d.value&&d.value.match(/\s$/g)&&(d.parent.attributes["data-cke-white-space-last"]=1,d.value=d.value.replace(/\s$/g,"\x26nbsp;"),e=!0);e&&(a.attributes["data-cke-widget-white-space"]=1)}}function c(a){return a.find(function(a){return 3===a.type},!0).shift()}function f(a){return a.find(function(a){return 3===a.type},!0).pop()}function d(a,b,c){if(!c.allowedContent&&!c.disallowedContent)return null;var d=this._.filters[a];d||(this._.filters[a]=d= -{});a=d[b];a||(a=c.allowedContent?new CKEDITOR.filter(c.allowedContent):this.editor.filter.clone(),d[b]=a,c.disallowedContent&&a.disallow(c.disallowedContent));return a}function n(a){var b=[],c=a._.upcasts,d=a._.upcastCallbacks;return{toBeWrapped:b,iterator:function(a){var f,e,g,k,l;if("data-cke-widget-wrapper"in a.attributes)return(a=a.getFirst(h.isParserWidgetElement))&&b.push([a]),!1;if("data-widget"in a.attributes)return b.push([a]),!1;if(l=c.length){if(a.attributes["data-cke-widget-upcasted"])return!1; -k=0;for(f=d.length;k<f;++k)if(!1===d[k](a))return;for(k=0;k<l;++k)if(f=c[k],g={},e=f[0](a,g))return e instanceof CKEDITOR.htmlParser.element&&(a=e),a.attributes["data-cke-widget-data"]=encodeURIComponent(JSON.stringify(g)),a.attributes["data-cke-widget-upcasted"]=1,b.push([a,f[1]]),!1}}}}function w(a,b){return{tabindex:-1,contenteditable:"false","data-cke-widget-wrapper":1,"data-cke-filter":"off","class":"cke_widget_wrapper cke_widget_new cke_widget_"+(a?"inline":"block")+(b?" cke_widget_"+b:"")}} -function v(a,b,c){if(a.type==CKEDITOR.NODE_ELEMENT){var d=CKEDITOR.dtd[a.name];if(d&&!d[c.name]){var d=a.split(b),f=a.parent;b=d.getIndex();a.children.length||(--b,a.remove());d.children.length||d.remove();return v(f,b,c)}}a.add(c,b)}function p(a,b){return"boolean"==typeof a.inline?a.inline:!!CKEDITOR.dtd.$inline[b]}function r(a){return a.hasAttribute("data-cke-temp")}function q(a,b,c,d){var f=a.editor;f.fire("lockSnapshot");c?(d=c.data("cke-widget-editable"),d=b.editables[d],a.widgetHoldingFocusedEditable= -b,b.focusedEditable=d,c.addClass("cke_widget_editable_focused"),d.filter&&f.setActiveFilter(d.filter),f.setActiveEnterMode(d.enterMode,d.shiftEnterMode)):(d||b.focusedEditable.removeClass("cke_widget_editable_focused"),b.focusedEditable=null,a.widgetHoldingFocusedEditable=null,f.setActiveFilter(null),f.setActiveEnterMode(null,null));f.fire("unlockSnapshot")}function x(a){a.contextMenu&&a.contextMenu.addListener(function(b){if(b=a.widgets.getByElement(b,!0))return b.fire("contextMenu",{})})}function t(a, -b){return CKEDITOR.tools.trim(b)}function z(a){var b=a.editor,c=CKEDITOR.plugins.lineutils;b.on("dragstart",function(c){var d=c.data.target;h.isDomDragHandler(d)&&(d=a.getByElement(d),c.data.dataTransfer.setData("cke/widget-id",d.id),b.focus(),d.focus())});b.on("drop",function(c){var d=c.data.dataTransfer,f=d.getData("cke/widget-id"),e=d.getTransferType(b),d=b.createRange();if(""!==f&&e===CKEDITOR.DATA_TRANSFER_CROSS_EDITORS)c.cancel();else if(e==CKEDITOR.DATA_TRANSFER_INTERNAL)if(!f&&0<b.widgets.selected.length)c.data.dataTransfer.setData("text/html", -K(b));else if(f=a.instances[f])d.setStartBefore(f.wrapper),d.setEndAfter(f.wrapper),c.data.dragRange=d,delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount,delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount,c.data.dataTransfer.setData("text/html",f.getClipboardHtml()),b.widgets.destroy(f,!0)});b.on("contentDom",function(){var d=b.editable();CKEDITOR.tools.extend(a,{finder:new c.finder(b,{lookups:{"default":function(b){if(!b.is(CKEDITOR.dtd.$listItem)&&b.is(CKEDITOR.dtd.$block)&& +g.setHtml(this.fillerContent);g.setAttribute(this.fillerAttribute,b?"end":"start");g.setAttribute("data-cke-temp",1);g.setStyles({display:"block",width:0,height:0,padding:0,border:0,margin:0,position:"absolute",top:0,left:"-9999px",opacity:0,overflow:"hidden"});return g},removeFiller:function(b,g){if(b){var f=g.editor,a=g.editor.getSelection().getRanges()[0].startPath(),m=f.createRange(),k,l;a.contains(b)&&(k=b.getHtml(),l=!0);a="start"==b.getAttribute(this.fillerAttribute);b.remove();k&&0<k.length&& +k!=this.fillerContent?(g.insertHtmlIntoRange(k,f.getSelection().getRanges()[0]),m.setStartAt(g.getChild(g.getChildCount()-1),CKEDITOR.POSITION_BEFORE_END),f.getSelection().selectRanges([m])):l&&(a?m.setStartAt(g.getFirst().getNext(),CKEDITOR.POSITION_AFTER_START):m.setEndAt(g.getLast().getPrevious(),CKEDITOR.POSITION_BEFORE_END),g.editor.getSelection().selectRanges([m]))}},createFillerRegex:function(b){var g=this.createFiller(b).getOuterHtml().replace(/style="[^"]*"/gi,'style\x3d"[^"]*"').replace(/>[^<]*</gi, +"\x3e[^\x3c]*\x3c");return new RegExp((b?"":"^")+g+(b?"$":""))},addSelectAllIntegration:function(b){var g=this;b.editable().attachListener(b,"beforeCommandExec",function(f){var a=b.editable();"selectAll"==f.data.name&&a&&g.addFillers(a)},null,null,9999)}}})();"use strict";(function(){function b(a){this.editor=a;this.registered={};this.instances={};this.selected=[];this.widgetHoldingFocusedEditable=this.focused=null;this._={nextId:0,upcasts:[],upcastCallbacks:[],filters:{}};B(this);A(this);this.on("checkWidgets", +k);this.editor.on("contentDomInvalidated",this.checkWidgets,this);E(this);u(this);v(this);z(this);C(this)}function h(a,b,c,d,e){var f=a.editor;CKEDITOR.tools.extend(this,d,{editor:f,id:b,inline:"span"==c.getParent().getName(),element:c,data:CKEDITOR.tools.extend({},"function"==typeof d.defaults?d.defaults():d.defaults),dataReady:!1,inited:!1,ready:!1,edit:h.prototype.edit,focusedEditable:null,definition:d,repository:a,draggable:!1!==d.draggable,_:{downcastFn:d.downcast&&"string"==typeof d.downcast? +d.downcasts[d.downcast]:d.downcast}},!0);a.fire("instanceCreated",this);O(this,d);this.init&&this.init();this.inited=!0;(a=this.element.data("cke-widget-data"))&&this.setData(JSON.parse(decodeURIComponent(a)));e&&this.setData(e);this.data.classes||this.setData("classes",this.getClasses());this.dataReady=!0;da(this);this.fire("data",this.data);this.isInited()&&f.editable().contains(this.wrapper)&&(this.ready=!0,this.fire("ready"))}function g(a,b,c){CKEDITOR.dom.element.call(this,b.$);this.editor=a; +this._={};b=this.filter=c.filter;CKEDITOR.dtd[this.getName()].p?(this.enterMode=b?b.getAllowedEnterMode(a.enterMode):a.enterMode,this.shiftEnterMode=b?b.getAllowedEnterMode(a.shiftEnterMode,!0):a.shiftEnterMode):this.enterMode=this.shiftEnterMode=CKEDITOR.ENTER_BR}function f(a,b){a.addCommand(b.name,{exec:function(a,c){function d(){a.widgets.finalizeCreation(h)}var e=a.widgets.focused;if(e&&e.name==b.name)e.edit();else if(b.insert)b.insert({editor:a,commandData:c});else if(b.template){var e="function"== +typeof b.defaults?b.defaults():b.defaults,e=CKEDITOR.dom.element.createFromHtml(b.template.output(e),a.document),f,g=a.widgets.wrapElement(e,b.name),h=new CKEDITOR.dom.documentFragment(g.getDocument());h.append(g);(f=a.widgets.initOn(e,b,c&&c.startupData))?(e=f.once("edit",function(b){if(b.data.dialog)f.once("dialog",function(b){b=b.data;var c,e;c=b.once("ok",d,null,null,20);e=b.once("cancel",function(b){b.data&&!1===b.data.hide||a.widgets.destroy(f,!0)});b.once("hide",function(){c.removeListener(); +e.removeListener()})});else d()},null,null,999),f.edit(),e.removeListener()):d()}},allowedContent:b.allowedContent,requiredContent:b.requiredContent,contentForms:b.contentForms,contentTransformations:b.contentTransformations})}function a(a,b){function c(a,d){var e=b.upcast.split(","),f,g;for(g=0;g<e.length;g++)if(f=e[g],f===a.name)return b.upcasts[f].call(this,a,d);return!1}function d(b,c,e){var f=CKEDITOR.tools.getIndex(a._.upcasts,function(a){return a[2]>e});0>f&&(f=a._.upcasts.length);a._.upcasts.splice(f, +0,[CKEDITOR.tools.bind(b,c),c.name,e])}var e=b.upcast,f=b.upcastPriority||10;e&&("string"==typeof e?d(c,b,f):d(e,b,f))}function m(a,b){a.focused=null;if(b.isInited()){var c=b.editor.checkDirty();a.fire("widgetBlurred",{widget:b});b.setFocused(!1);!c&&b.editor.resetDirty()}}function k(a){a=a.data;if("wysiwyg"==this.editor.mode){var b=this.editor.editable(),c=this.instances,d,e,f,g;if(b){for(d in c)c[d].isReady()&&!b.contains(c[d].wrapper)&&this.destroy(c[d],!0);if(a&&a.initOnlyNew)c=this.initOnAll(); +else{var k=b.find(".cke_widget_wrapper"),c=[];d=0;for(e=k.count();d<e;d++){f=k.getItem(d);if(g=!this.getByElement(f,!0)){a:{g=r;for(var l=f;l=l.getParent();)if(g(l)){g=!0;break a}g=!1}g=!g}g&&b.contains(f)&&(f.addClass("cke_widget_new"),c.push(this.initOn(f.getFirst(h.isDomWidgetElement))))}}a&&a.focusInited&&1==c.length&&c[0].focus()}}}function l(a){if("undefined"!=typeof a.attributes&&a.attributes["data-widget"]){var b=c(a),d=e(a),f=!1;b&&b.value&&b.value.match(/^\s/g)&&(b.parent.attributes["data-cke-white-space-first"]= +1,b.value=b.value.replace(/^\s/g,"\x26nbsp;"),f=!0);d&&d.value&&d.value.match(/\s$/g)&&(d.parent.attributes["data-cke-white-space-last"]=1,d.value=d.value.replace(/\s$/g,"\x26nbsp;"),f=!0);f&&(a.attributes["data-cke-widget-white-space"]=1)}}function c(a){return a.find(function(a){return 3===a.type},!0).shift()}function e(a){return a.find(function(a){return 3===a.type},!0).pop()}function d(a,b,c){if(!c.allowedContent&&!c.disallowedContent)return null;var d=this._.filters[a];d||(this._.filters[a]=d= +{});a=d[b];a||(a=c.allowedContent?new CKEDITOR.filter(c.allowedContent):this.editor.filter.clone(),d[b]=a,c.disallowedContent&&a.disallow(c.disallowedContent));return a}function n(a){var b=[],c=a._.upcasts,d=a._.upcastCallbacks;return{toBeWrapped:b,iterator:function(a){var e,f,g,k,l;if("data-cke-widget-wrapper"in a.attributes)return(a=a.getFirst(h.isParserWidgetElement))&&b.push([a]),!1;if("data-widget"in a.attributes)return b.push([a]),!1;if(l=c.length){if(a.attributes["data-cke-widget-upcasted"])return!1; +k=0;for(e=d.length;k<e;++k)if(!1===d[k](a))return;for(k=0;k<l;++k)if(e=c[k],g={},f=e[0](a,g))return f instanceof CKEDITOR.htmlParser.element&&(a=f),a.attributes["data-cke-widget-data"]=encodeURIComponent(JSON.stringify(g)),a.attributes["data-cke-widget-upcasted"]=1,b.push([a,e[1]]),!1}}}}function y(a,b){return{tabindex:-1,contenteditable:"false","data-cke-widget-wrapper":1,"data-cke-filter":"off","class":"cke_widget_wrapper cke_widget_new cke_widget_"+(a?"inline":"block")+(b?" cke_widget_"+b:"")}} +function x(a,b,c){if(a.type==CKEDITOR.NODE_ELEMENT){var d=CKEDITOR.dtd[a.name];if(d&&!d[c.name]){var d=a.split(b),e=a.parent;b=d.getIndex();a.children.length||(--b,a.remove());d.children.length||d.remove();return x(e,b,c)}}a.add(c,b)}function q(a,b){return"boolean"==typeof a.inline?a.inline:!!CKEDITOR.dtd.$inline[b]}function r(a){return a.hasAttribute("data-cke-temp")}function p(a,b,c,d){var e=a.editor;e.fire("lockSnapshot");c?(d=c.data("cke-widget-editable"),d=b.editables[d],a.widgetHoldingFocusedEditable= +b,b.focusedEditable=d,c.addClass("cke_widget_editable_focused"),d.filter&&e.setActiveFilter(d.filter),e.setActiveEnterMode(d.enterMode,d.shiftEnterMode)):(d||b.focusedEditable.removeClass("cke_widget_editable_focused"),b.focusedEditable=null,a.widgetHoldingFocusedEditable=null,e.setActiveFilter(null),e.setActiveEnterMode(null,null));e.fire("unlockSnapshot")}function w(a){a.contextMenu&&a.contextMenu.addListener(function(b){if(b=a.widgets.getByElement(b,!0))return b.fire("contextMenu",{})})}function t(a, +b){return CKEDITOR.tools.trim(b)}function z(a){var b=a.editor,c=CKEDITOR.plugins.lineutils;b.on("dragstart",function(c){var d=c.data.target;h.isDomDragHandler(d)&&(d=a.getByElement(d),c.data.dataTransfer.setData("cke/widget-id",d.id),b.focus(),d.focus())});b.on("drop",function(c){var d=c.data.dataTransfer,e=d.getData("cke/widget-id"),f=d.getTransferType(b),d=b.createRange();if(""!==e&&f===CKEDITOR.DATA_TRANSFER_CROSS_EDITORS)c.cancel();else if(f==CKEDITOR.DATA_TRANSFER_INTERNAL)if(""===e&&0<b.widgets.selected.length)c.data.dataTransfer.setData("text/html", +K(b));else if(e=a.instances[e])d.setStartBefore(e.wrapper),d.setEndAfter(e.wrapper),c.data.dragRange=d,delete CKEDITOR.plugins.clipboard.dragStartContainerChildCount,delete CKEDITOR.plugins.clipboard.dragEndContainerChildCount,c.data.dataTransfer.setData("text/html",e.getClipboardHtml()),b.widgets.destroy(e,!0)});b.on("contentDom",function(){var d=b.editable();CKEDITOR.tools.extend(a,{finder:new c.finder(b,{lookups:{"default":function(b){if(!b.is(CKEDITOR.dtd.$listItem)&&b.is(CKEDITOR.dtd.$block)&& !h.isDomNestedEditable(b)&&!a._.draggedWidget.wrapper.contains(b)){var c=h.getNestedEditable(d,b);if(c){b=a._.draggedWidget;if(a.getByElement(c)==b)return;c=CKEDITOR.filter.instances[c.data("cke-filter")];b=b.requiredContent;if(c&&b&&!c.check(b))return}return CKEDITOR.LINEUTILS_BEFORE|CKEDITOR.LINEUTILS_AFTER}}}}),locator:new c.locator(b),liner:new c.liner(b,{lineStyle:{cursor:"move !important","border-top-color":"#666"},tipLeftStyle:{"border-left-color":"#666"},tipRightStyle:{"border-right-color":"#666"}})}, -!0)})}function y(a){var b=a.editor;b.on("contentDom",function(){var c=b.editable(),d=c.isInline()?c:b.document,f,e;c.attachListener(d,"mousedown",function(c){var d=c.data.getTarget();f=d instanceof CKEDITOR.dom.element?a.getByElement(d):null;e=0;f&&(f.inline&&d.type==CKEDITOR.NODE_ELEMENT&&d.hasAttribute("data-cke-widget-drag-handler")?(e=1,a.focused!=f&&b.getSelection().removeAllRanges()):h.getNestedEditable(f.wrapper,d)?f=null:(c.data.preventDefault(),CKEDITOR.env.ie||f.focus()))});c.attachListener(d, -"mouseup",function(){e&&f&&f.wrapper&&(e=0,f.focus())});CKEDITOR.env.ie&&c.attachListener(d,"mouseup",function(){setTimeout(function(){f&&f.wrapper&&c.contains(f.wrapper)&&(f.focus(),f=null)})})});b.on("doubleclick",function(b){var c=a.getByElement(b.data.element);if(c&&!h.getNestedEditable(c.wrapper,b.data.element))return c.fire("doubleclick",{element:b.data.element})},null,null,1)}function u(a){a.editor.on("key",function(b){var c=a.focused,d=a.widgetHoldingFocusedEditable,f;c?f=c.fire("key",{keyCode:b.data.keyCode}): -d&&(c=b.data.keyCode,b=d.focusedEditable,c==CKEDITOR.CTRL+65?(c=b.getBogus(),d=d.editor.createRange(),d.selectNodeContents(b),c&&d.setEndAt(c,CKEDITOR.POSITION_BEFORE_START),d.select(),f=!1):8==c||46==c?(f=d.editor.getSelection().getRanges(),d=f[0],f=!(1==f.length&&d.collapsed&&d.checkBoundaryOfElement(b,CKEDITOR[8==c?"START":"END"]))):f=void 0);return f},null,null,1)}function B(a){function b(d){1>a.selected.length||M(c,"cut"===d.name)}var c=a.editor;c.on("contentDom",function(){var a=c.editable(); -a.attachListener(a,"copy",b);a.attachListener(a,"cut",b)})}function C(a){function b(){var a=f.getSelection();if((a=(a&&a.getRanges())[0])&&!a.collapsed){var d=c(a.startContainer),e=c(a.endContainer);!d&&e?(a.setEndBefore(e.wrapper),a.select()):d&&!e&&(a.setStartAfter(d.wrapper),a.select())}}function c(a){return a?a.type==CKEDITOR.NODE_TEXT?c(a.getParent()):f.widgets.getByElement(a):null}function d(){a.fire("checkSelection")}var f=a.editor;f.on("selectionCheck",d);f.on("contentDom",function(){f.editable().attachListener(f, -"key",function(){setTimeout(d,10)})});if(!CKEDITOR.env.ie)a.on("checkSelection",b);a.on("checkSelection",a.checkSelection,a);f.on("selectionChange",function(b){var c=(b=h.getNestedEditable(f.editable(),b.data.selection.getStartElement()))&&a.getByElement(b),d=a.widgetHoldingFocusedEditable;d?d===c&&d.focusedEditable.equals(b)||(q(a,d,null),c&&b&&q(a,c,b)):c&&b&&q(a,c,b)});f.on("dataReady",function(){G(a).commit()});f.on("blur",function(){var b;(b=a.focused)&&m(a,b);(b=a.widgetHoldingFocusedEditable)&& -q(a,b,null)})}function A(a){var b=a.editor,d={};b.on("toDataFormat",function(b){var e=CKEDITOR.tools.getNextNumber(),g=[];b.data.downcastingSessionId=e;d[e]=g;b.data.dataValue.forEach(function(b){var d=b.attributes,e;if("data-cke-widget-white-space"in d){e=c(b);var k=f(b);e.parent.attributes["data-cke-white-space-first"]&&(e.value=e.value.replace(/^ /g," "));k.parent.attributes["data-cke-white-space-last"]&&(k.value=k.value.replace(/ $/g," "))}if("data-cke-widget-id"in d){if(d=a.instances[d["data-cke-widget-id"]])e= -b.getFirst(h.isParserWidgetElement),g.push({wrapper:b,element:e,widget:d,editables:{}}),"1"!=e.attributes["data-cke-widget-keep-attr"]&&delete e.attributes["data-widget"]}else if("data-cke-widget-editable"in d)return 0<g.length&&(g[g.length-1].editables[d["data-cke-widget-editable"]]=b),!1},CKEDITOR.NODE_ELEMENT,!0)},null,null,8);b.on("toDataFormat",function(a){if(a.data.downcastingSessionId)for(var b=d[a.data.downcastingSessionId],c,f,e,g,h,k;c=b.shift();){f=c.widget;e=c.element;g=f._.downcastFn&& -f._.downcastFn.call(f,e);a.data.widgetsCopy&&f.getClipboardHtml&&(g=CKEDITOR.htmlParser.fragment.fromHtml(f.getClipboardHtml()),g=g.children[0]);for(k in c.editables)h=c.editables[k],delete h.attributes.contenteditable,h.setHtml(f.editables[k].getData());g||(g=e);c.wrapper.replaceWith(g)}},null,null,13);b.on("contentDomUnload",function(){a.destroyAll(!0)})}function E(a){var b=a.editor,c,d;b.on("toHtml",function(b){var d=n(a),f;for(b.data.dataValue.forEach(d.iterator,CKEDITOR.NODE_ELEMENT,!0);f=d.toBeWrapped.pop();){var e= -f[0],g=e.parent;g.type==CKEDITOR.NODE_ELEMENT&&g.attributes["data-cke-widget-wrapper"]&&g.replaceWith(e);a.wrapElement(f[0],f[1])}c=b.data.protectedWhitespaces?3==b.data.dataValue.children.length&&h.isParserWidgetWrapper(b.data.dataValue.children[1]):1==b.data.dataValue.children.length&&h.isParserWidgetWrapper(b.data.dataValue.children[0])},null,null,8);b.on("dataReady",function(){if(d)for(var c=b.editable().find(".cke_widget_wrapper"),f,e,g=0,k=c.count();g<k;++g)f=c.getItem(g),e=f.getFirst(h.isDomWidgetElement), -e.type==CKEDITOR.NODE_ELEMENT&&e.data("widget")?(e.replace(f),a.wrapElement(e)):f.remove();d=0;a.destroyAll(!0);a.initOnAll()});b.on("loadSnapshot",function(b){/data-cke-widget/.test(b.data)&&(d=1);a.destroyAll(!0)},null,null,9);b.on("paste",function(a){a=a.data;a.dataValue=a.dataValue.replace(S,t);a.range&&(a=h.getNestedEditable(b.editable(),a.range.startContainer))&&(a=CKEDITOR.filter.instances[a.data("cke-filter")])&&b.setActiveFilter(a)});b.on("afterInsertHtml",function(d){d.data.intoRange?a.checkWidgets({initOnlyNew:!0}): -(b.fire("lockSnapshot"),a.checkWidgets({initOnlyNew:!0,focusInited:c}),b.fire("unlockSnapshot"))})}function G(a){var b=a.selected,c=[],d=b.slice(0),f=null;return{select:function(a){0>CKEDITOR.tools.indexOf(b,a)&&c.push(a);a=CKEDITOR.tools.indexOf(d,a);0<=a&&d.splice(a,1);return this},focus:function(a){f=a;return this},commit:function(){var e=a.focused!==f,g,h;a.editor.fire("lockSnapshot");for(e&&(g=a.focused)&&m(a,g);g=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,g),1),g.isInited()&&(h=g.editor.checkDirty(), -g.setSelected(!1),!h&&g.editor.resetDirty());e&&f&&(h=a.editor.checkDirty(),a.focused=f,a.fire("widgetFocused",{widget:f}),f.setFocused(!0),!h&&a.editor.resetDirty());for(;g=c.pop();)b.push(g),g.setSelected(!0);a.editor.fire("unlockSnapshot")}}}function I(a){a&&a.addFilterRule(function(a){return a.replace(/\s*cke_widget_selected/g,"").replace(/\s*cke_widget_focused/g,"").replace(/<span[^>]*cke_widget_drag_handler_container[^>]*.*?<\/span>/gmi,"")})}function L(a,b,c){var d=0;b=H(b);var f=a.data.classes|| -{},e;if(b){for(f=CKEDITOR.tools.clone(f);e=b.pop();)c?f[e]||(d=f[e]=1):f[e]&&(delete f[e],d=1);d&&a.setData("classes",f)}}function F(a){a.cancel()}function M(a,b){var c=a.widgets.focused,d,f,e;U.hasCopyBin(a)||(f=new U(a,{beforeDestroy:function(){!b&&c&&c.focus();e&&a.getSelection().selectBookmarks(e);d&&CKEDITOR.plugins.widgetselection.addFillers(a.editable())},afterDestroy:function(){b&&!a.readOnly&&(c?a.widgets.del(c):a.extractSelectedHtml(),a.fire("saveSnapshot"))}}),c||(d=CKEDITOR.env.webkit&& -CKEDITOR.plugins.widgetselection.isWholeContentSelected(a.editable()),e=a.getSelection().createBookmarks(!0)),f.handle(K(a)))}function H(a){return(a=(a=a.getDefinition().attributes)&&a["class"])?a.split(/\s+/):null}function J(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&&b.focusManager.focus(c)}function D(){CKEDITOR.env.gecko&&this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(), -this.editor.selectionChange(1))}function K(a){var b=a.getSelectedHtml(!0);if(a.widgets.focused)return a.widgets.focused.getClipboardHtml();a.once("toDataFormat",function(a){a.data.widgetsCopy=!0},null,null,-1);return a.dataProcessor.toDataFormat(b)}function O(a,b){N(a);Y(a);R(a);W(a);T(a);ca(a);aa(a);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)a.wrapper.on("dragstart",function(b){var c=b.data.getTarget();h.getNestedEditable(a,c)||a.inline&&h.isDomDragHandler(c)||b.data.preventDefault()});a.wrapper.removeClass("cke_widget_new"); +!0)})}function u(a){var b=a.editor;b.on("contentDom",function(){var c=b.editable(),d=c.isInline()?c:b.document,e,f;c.attachListener(d,"mousedown",function(c){var d=c.data.getTarget();e=d instanceof CKEDITOR.dom.element?a.getByElement(d):null;f=0;e&&(e.inline&&d.type==CKEDITOR.NODE_ELEMENT&&d.hasAttribute("data-cke-widget-drag-handler")?(f=1,a.focused!=e&&b.getSelection().removeAllRanges()):h.getNestedEditable(e.wrapper,d)?e=null:(c.data.preventDefault(),CKEDITOR.env.ie||e.focus()))});c.attachListener(d, +"mouseup",function(){f&&e&&e.wrapper&&(f=0,e.focus())});CKEDITOR.env.ie&&c.attachListener(d,"mouseup",function(){setTimeout(function(){e&&e.wrapper&&c.contains(e.wrapper)&&(e.focus(),e=null)})})});b.on("doubleclick",function(b){var c=a.getByElement(b.data.element);if(c&&!h.getNestedEditable(c.wrapper,b.data.element))return c.fire("doubleclick",{element:b.data.element})},null,null,1)}function v(a){a.editor.on("key",function(b){var c=a.focused,d=a.widgetHoldingFocusedEditable,e;c?e=c.fire("key",{keyCode:b.data.keyCode}): +d&&(c=b.data.keyCode,b=d.focusedEditable,c==CKEDITOR.CTRL+65?(c=b.getBogus(),d=d.editor.createRange(),d.selectNodeContents(b),c&&d.setEndAt(c,CKEDITOR.POSITION_BEFORE_START),d.select(),e=!1):8==c||46==c?(e=d.editor.getSelection().getRanges(),d=e[0],e=!(1==e.length&&d.collapsed&&d.checkBoundaryOfElement(b,CKEDITOR[8==c?"START":"END"]))):e=void 0);return e},null,null,1)}function C(a){function b(d){1>a.selected.length||M(c,"cut"===d.name)}var c=a.editor;c.on("contentDom",function(){var a=c.editable(); +a.attachListener(a,"copy",b);a.attachListener(a,"cut",b)})}function E(a){function b(){var a=e.getSelection();if(a&&(a=a.getRanges()[0])&&!a.collapsed){var d=c(a.startContainer),f=c(a.endContainer);!d&&f?(a.setEndBefore(f.wrapper),a.select()):d&&!f&&(a.setStartAfter(d.wrapper),a.select())}}function c(a){return a?a.type==CKEDITOR.NODE_TEXT?c(a.getParent()):e.widgets.getByElement(a):null}function d(){a.fire("checkSelection")}var e=a.editor;e.on("selectionCheck",d);e.on("contentDom",function(){e.editable().attachListener(e, +"key",function(){setTimeout(d,10)})});if(!CKEDITOR.env.ie)a.on("checkSelection",b);a.on("checkSelection",a.checkSelection,a);e.on("selectionChange",function(b){var c=(b=h.getNestedEditable(e.editable(),b.data.selection.getStartElement()))&&a.getByElement(b),d=a.widgetHoldingFocusedEditable;d?d===c&&d.focusedEditable.equals(b)||(p(a,d,null),c&&b&&p(a,c,b)):c&&b&&p(a,c,b)});e.on("dataReady",function(){G(a).commit()});e.on("blur",function(){var b;(b=a.focused)&&m(a,b);(b=a.widgetHoldingFocusedEditable)&& +p(a,b,null)})}function A(a){var b=a.editor,d={};b.on("toDataFormat",function(b){var f=CKEDITOR.tools.getNextNumber(),g=[];b.data.downcastingSessionId=f;d[f]=g;b.data.dataValue.forEach(function(b){var d=b.attributes,f;if("data-cke-widget-white-space"in d){f=c(b);var k=e(b);f.parent.attributes["data-cke-white-space-first"]&&(f.value=f.value.replace(/^ /g," "));k.parent.attributes["data-cke-white-space-last"]&&(k.value=k.value.replace(/ $/g," "))}if("data-cke-widget-id"in d){if(d=a.instances[d["data-cke-widget-id"]])f= +b.getFirst(h.isParserWidgetElement),g.push({wrapper:b,element:f,widget:d,editables:{}}),"1"!=f.attributes["data-cke-widget-keep-attr"]&&delete f.attributes["data-widget"]}else if("data-cke-widget-editable"in d)return 0<g.length&&(g[g.length-1].editables[d["data-cke-widget-editable"]]=b),!1},CKEDITOR.NODE_ELEMENT,!0)},null,null,8);b.on("toDataFormat",function(a){if(a.data.downcastingSessionId)for(var b=d[a.data.downcastingSessionId],c,e,f,g,h,k;c=b.shift();){e=c.widget;f=c.element;g=e._.downcastFn&& +e._.downcastFn.call(e,f);a.data.widgetsCopy&&e.getClipboardHtml&&(g=CKEDITOR.htmlParser.fragment.fromHtml(e.getClipboardHtml()),g=g.children[0]);for(k in c.editables)h=c.editables[k],delete h.attributes.contenteditable,h.setHtml(e.editables[k].getData());g||(g=f);c.wrapper.replaceWith(g)}},null,null,13);b.on("contentDomUnload",function(){a.destroyAll(!0)})}function B(a){var b=a.editor,c,d;b.on("toHtml",function(b){var d=n(a),e;for(b.data.dataValue.forEach(d.iterator,CKEDITOR.NODE_ELEMENT,!0);e=d.toBeWrapped.pop();){var f= +e[0],g=f.parent;g.type==CKEDITOR.NODE_ELEMENT&&g.attributes["data-cke-widget-wrapper"]&&g.replaceWith(f);a.wrapElement(e[0],e[1])}c=b.data.protectedWhitespaces?3==b.data.dataValue.children.length&&h.isParserWidgetWrapper(b.data.dataValue.children[1]):1==b.data.dataValue.children.length&&h.isParserWidgetWrapper(b.data.dataValue.children[0])},null,null,8);b.on("dataReady",function(){if(d)for(var c=b.editable().find(".cke_widget_wrapper"),e,f,g=0,k=c.count();g<k;++g)e=c.getItem(g),f=e.getFirst(h.isDomWidgetElement), +f.type==CKEDITOR.NODE_ELEMENT&&f.data("widget")?(f.replace(e),a.wrapElement(f)):e.remove();d=0;a.destroyAll(!0);a.initOnAll()});b.on("loadSnapshot",function(b){/data-cke-widget/.test(b.data)&&(d=1);a.destroyAll(!0)},null,null,9);b.on("paste",function(a){a=a.data;a.dataValue=a.dataValue.replace(R,t);a.range&&(a=h.getNestedEditable(b.editable(),a.range.startContainer))&&(a=CKEDITOR.filter.instances[a.data("cke-filter")])&&b.setActiveFilter(a)});b.on("afterInsertHtml",function(d){d.data.intoRange?a.checkWidgets({initOnlyNew:!0}): +(b.fire("lockSnapshot"),a.checkWidgets({initOnlyNew:!0,focusInited:c}),b.fire("unlockSnapshot"))})}function G(a){var b=a.selected,c=[],d=b.slice(0),e=null;return{select:function(a){0>CKEDITOR.tools.indexOf(b,a)&&c.push(a);a=CKEDITOR.tools.indexOf(d,a);0<=a&&d.splice(a,1);return this},focus:function(a){e=a;return this},commit:function(){var f=a.focused!==e,g,h;a.editor.fire("lockSnapshot");for(f&&(g=a.focused)&&m(a,g);g=d.pop();)b.splice(CKEDITOR.tools.indexOf(b,g),1),g.isInited()&&(h=g.editor.checkDirty(), +g.setSelected(!1),!h&&g.editor.resetDirty());f&&e&&(h=a.editor.checkDirty(),a.focused=e,a.fire("widgetFocused",{widget:e}),e.setFocused(!0),!h&&a.editor.resetDirty());for(;g=c.pop();)b.push(g),g.setSelected(!0);a.editor.fire("unlockSnapshot")}}}function I(a){a&&a.addFilterRule(function(a){return a.replace(/\s*cke_widget_selected/g,"").replace(/\s*cke_widget_focused/g,"").replace(/<span[^>]*cke_widget_drag_handler_container[^>]*.*?<\/span>/gmi,"")})}function L(a,b,c){var d=0;b=H(b);var e=a.data.classes|| +{},f;if(b){for(e=CKEDITOR.tools.clone(e);f=b.pop();)c?e[f]||(d=e[f]=1):e[f]&&(delete e[f],d=1);d&&a.setData("classes",e)}}function F(a){a.cancel()}function M(a,b){var c=a.widgets.focused,d,e,f;U.hasCopyBin(a)||(e=new U(a,{beforeDestroy:function(){!b&&c&&c.focus();f&&a.getSelection().selectBookmarks(f);d&&CKEDITOR.plugins.widgetselection.addFillers(a.editable())},afterDestroy:function(){b&&!a.readOnly&&(c?a.widgets.del(c):a.extractSelectedHtml(),a.fire("saveSnapshot"))}}),c||(d=CKEDITOR.env.webkit&& +CKEDITOR.plugins.widgetselection.isWholeContentSelected(a.editable()),f=a.getSelection().createBookmarks(!0)),e.handle(K(a)))}function H(a){return(a=(a=a.getDefinition().attributes)&&a["class"])?a.split(/\s+/):null}function J(){var a=CKEDITOR.document.getActive(),b=this.editor,c=b.editable();(c.isInline()?c:b.document.getWindow().getFrame()).equals(a)&&b.focusManager.focus(c)}function D(){CKEDITOR.env.gecko&&this.editor.unlockSelection();CKEDITOR.env.webkit||(this.editor.forceNextSelectionCheck(), +this.editor.selectionChange(1))}function K(a){var b=a.getSelectedHtml(!0);if(a.widgets.focused)return a.widgets.focused.getClipboardHtml();a.once("toDataFormat",function(a){a.data.widgetsCopy=!0},null,null,-1);return a.dataProcessor.toDataFormat(b)}function O(a,b){N(a);Y(a);Q(a);W(a);T(a);ca(a);aa(a);if(CKEDITOR.env.ie&&9>CKEDITOR.env.version)a.wrapper.on("dragstart",function(b){var c=b.data.getTarget();h.getNestedEditable(a,c)||a.inline&&h.isDomDragHandler(c)||b.data.preventDefault()});a.wrapper.removeClass("cke_widget_new"); a.element.addClass("cke_widget_element");a.on("key",function(b){b=b.data.keyCode;if(13==b)a.edit();else{if(b==CKEDITOR.CTRL+67||b==CKEDITOR.CTRL+88){M(a.editor,b==CKEDITOR.CTRL+88);return}if(b in V||CKEDITOR.CTRL&b||CKEDITOR.ALT&b)return}return!1},null,null,999);a.on("doubleclick",function(b){a.edit()&&b.cancel()});if(b.data)a.on("data",b.data);if(b.edit)a.on("edit",b.edit)}function N(a){(a.wrapper=a.element.getParent()).setAttribute("data-cke-widget-id",a.id)}function Y(a,b){a.partSelectors||(a.partSelectors= -a.parts);if(a.parts){var c={},d,f;for(f in a.partSelectors)b||!a.parts[f]||"string"==typeof a.parts[f]?(d=a.wrapper.findOne(a.partSelectors[f]),c[f]=d):c[f]=a.parts[f];a.parts=c}}function R(a){var b=a.editables,c,d;a.editables={};if(a.editables)for(c in b)d=b[c],a.initEditable(c,"string"==typeof d?{selector:d}:d)}function W(a){if(!0===a.mask)ea(a);else if(a.mask){var b=new CKEDITOR.tools.buffers.throttle(250,X,a),c=CKEDITOR.env.gecko?300:0,d,f;a.on("focus",function(){b.input();d=a.editor.on("change", -b.input);f=a.on("blur",function(){d.removeListener();f.removeListener()})});a.editor.on("instanceReady",function(){setTimeout(function(){b.input()},c)});a.editor.on("mode",function(){setTimeout(function(){b.input()},c)});if(CKEDITOR.env.gecko){var e=a.element.find("img");CKEDITOR.tools.array.forEach(e.toArray(),function(a){a.on("load",function(){b.input()})})}for(var g in a.editables)a.editables[g].on("focus",function(){a.editor.on("change",b.input);f&&f.removeListener()}),a.editables[g].on("blur", +a.parts);if(a.parts){var c={},d,e;for(e in a.partSelectors)b||!a.parts[e]||"string"==typeof a.parts[e]?(d=a.wrapper.findOne(a.partSelectors[e]),c[e]=d):c[e]=a.parts[e];a.parts=c}}function Q(a){var b=a.editables,c,d;a.editables={};if(a.editables)for(c in b)d=b[c],a.initEditable(c,"string"==typeof d?{selector:d}:d)}function W(a){if(!0===a.mask)ea(a);else if(a.mask){var b=new CKEDITOR.tools.buffers.throttle(250,X,a),c=CKEDITOR.env.gecko?300:0,d,e;a.on("focus",function(){b.input();d=a.editor.on("change", +b.input);e=a.on("blur",function(){d.removeListener();e.removeListener()})});a.editor.on("instanceReady",function(){setTimeout(function(){b.input()},c)});a.editor.on("mode",function(){setTimeout(function(){b.input()},c)});if(CKEDITOR.env.gecko){var f=a.element.find("img");CKEDITOR.tools.array.forEach(f.toArray(),function(a){a.on("load",function(){b.input()})})}for(var g in a.editables)a.editables[g].on("focus",function(){a.editor.on("change",b.input);e&&e.removeListener()}),a.editables[g].on("blur", function(){a.editor.removeListener("change",b.input)});b.input()}}function ea(a){var b=a.wrapper.findOne(".cke_widget_mask");b||(b=new CKEDITOR.dom.element("img",a.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_mask"}),a.wrapper.append(b));a.mask=b}function X(){if(this.wrapper){this.maskPart=this.maskPart||this.mask;var a=this.parts[this.maskPart],b;if(a&&"string"!=typeof a){b=this.wrapper.findOne(".cke_widget_partial_mask");b||(b=new CKEDITOR.dom.element("img", -this.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_partial_mask"}),this.wrapper.append(b));this.mask=b;var c=b.$,d=a.$,f=!(c.offsetTop==d.offsetTop&&c.offsetLeft==d.offsetLeft);if(c.offsetWidth!=d.offsetWidth||c.offsetHeight!=d.offsetHeight||f)c=a.getParent(),d=CKEDITOR.plugins.widget.isDomWidget(c),b.setStyles({top:a.$.offsetTop+(d?0:c.$.offsetTop)+"px",left:a.$.offsetLeft+(d?0:c.$.offsetLeft)+"px",width:a.$.offsetWidth+"px",height:a.$.offsetHeight+ +this.editor.document),b.setAttributes({src:CKEDITOR.tools.transparentImageData,"class":"cke_reset cke_widget_partial_mask"}),this.wrapper.append(b));this.mask=b;var c=b.$,d=a.$,e=!(c.offsetTop==d.offsetTop&&c.offsetLeft==d.offsetLeft);if(c.offsetWidth!=d.offsetWidth||c.offsetHeight!=d.offsetHeight||e)c=a.getParent(),d=CKEDITOR.plugins.widget.isDomWidget(c),b.setStyles({top:a.$.offsetTop+(d?0:c.$.offsetTop)+"px",left:a.$.offsetLeft+(d?0:c.$.offsetLeft)+"px",width:a.$.offsetWidth+"px",height:a.$.offsetHeight+ "px"})}}}function T(a){if(a.draggable){var b=a.editor,c=a.wrapper.getLast(h.isDomDragHandlerContainer),d;c?d=c.findOne("img"):(c=new CKEDITOR.dom.element("span",b.document),c.setAttributes({"class":"cke_reset cke_widget_drag_handler_container",style:"background:rgba(220,220,220,0.5);background-image:url("+b.plugins.widget.path+"images/handle.png);display:none;"}),d=new CKEDITOR.dom.element("img",b.document),d.setAttributes({"class":"cke_reset cke_widget_drag_handler","data-cke-widget-drag-handler":"1", src:CKEDITOR.tools.transparentImageData,width:15,title:b.lang.widget.move,height:15,role:"presentation"}),a.inline&&d.setAttribute("draggable","true"),c.append(d),a.wrapper.append(c));a.wrapper.on("dragover",function(a){a.data.preventDefault()});a.wrapper.on("mouseenter",a.updateDragHandlerPosition,a);setTimeout(function(){a.on("data",a.updateDragHandlerPosition,a)},50);if(!a.inline&&(d.on("mousedown",Z,a),CKEDITOR.env.ie&&9>CKEDITOR.env.version))d.on("dragstart",function(a){a.data.preventDefault(!0)}); -a.dragHandlerContainer=c}}function Z(a){function b(){var c;for(t.reset();c=h.pop();)c.removeListener();var d=k;c=a.sender;var f=this.repository.finder,e=this.repository.liner,g=this.editor,l=this.editor.editable();CKEDITOR.tools.isEmpty(e.visible)||(d=f.getRange(d[0]),this.focus(),g.fire("drop",{dropRange:d,target:d.startContainer}));l.removeClass("cke_widget_dragging");e.hideVisible();g.fire("dragend",{target:c})}if(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT){var c=this.repository.finder, -d=this.repository.locator,f=this.repository.liner,e=this.editor,g=e.editable(),h=[],k=[],l,m;this.repository._.draggedWidget=this;var q=c.greedySearch(),t=CKEDITOR.tools.eventsBuffer(50,function(){l=d.locate(q);k=d.sort(m,1);k.length&&(f.prepare(q,l),f.placeLine(k[0]),f.cleanup())});g.addClass("cke_widget_dragging");h.push(g.on("mousemove",function(a){m=a.data.$.clientY;t.input()}));e.fire("dragstart",{target:a.sender});h.push(e.document.once("mouseup",b,this));g.isInline()||h.push(CKEDITOR.document.once("mouseup", +a.dragHandlerContainer=c}}function Z(a){function b(){var c;for(n.reset();c=h.pop();)c.removeListener();var d=k;c=a.sender;var e=this.repository.finder,f=this.repository.liner,g=this.editor,l=this.editor.editable();CKEDITOR.tools.isEmpty(f.visible)||(d=e.getRange(d[0]),this.focus(),g.fire("drop",{dropRange:d,target:d.startContainer}));l.removeClass("cke_widget_dragging");f.hideVisible();g.fire("dragend",{target:c})}if(CKEDITOR.tools.getMouseButton(a)===CKEDITOR.MOUSE_BUTTON_LEFT){var c=this.repository.finder, +d=this.repository.locator,e=this.repository.liner,f=this.editor,g=f.editable(),h=[],k=[],l,m;this.repository._.draggedWidget=this;var p=c.greedySearch(),n=CKEDITOR.tools.eventsBuffer(50,function(){l=d.locate(p);k=d.sort(m,1);k.length&&(e.prepare(p,l),e.placeLine(k[0]),e.cleanup())});g.addClass("cke_widget_dragging");h.push(g.on("mousemove",function(a){m=a.data.$.clientY;n.input()}));f.fire("dragstart",{target:a.sender});h.push(f.document.once("mouseup",b,this));g.isInline()||h.push(CKEDITOR.document.once("mouseup", b,this))}}function ca(a){var b=null;a.on("data",function(){var a=this.data.classes,c;if(b!=a){for(c in b)a&&a[c]||this.removeClass(c);for(c in a)this.addClass(c);b=a}})}function aa(a){a.on("data",function(){if(a.wrapper){var b=this.getLabel?this.getLabel():this.editor.lang.widget.label.replace(/%1/,this.pathName||this.element.getName());a.wrapper.setAttribute("role","region");a.wrapper.setAttribute("aria-label",b)}},null,null,9999)}function da(a){a.element.data("cke-widget-data",encodeURIComponent(JSON.stringify(a.data)))} -function ba(){function a(){}function b(a,c,d){return d&&this.checkElement(a)?(a=d.widgets.getByElement(a,!0))&&a.checkStyleActive(this):!1}function c(a){function b(a,c,d){for(var f=a.length,e=0;e<f;){if(c.call(d,a[e],e,a))return a[e];e++}}function f(a){function b(a,c){var d=CKEDITOR.tools.object.keys(a),f=CKEDITOR.tools.object.keys(c);if(d.length!==f.length)return!1;for(var e in a)if(("object"!==typeof a[e]||"object"!==typeof c[e]||!b(a[e],c[e]))&&a[e]!==c[e])return!1;return!0}return function(c){return b(a.getDefinition(), -c.getDefinition())}}var e=a.widget,g;d[e]||(d[e]={});for(var h=0,k=a.group.length;h<k;h++)g=a.group[h],d[e][g]||(d[e][g]=[]),g=d[e][g],b(g,f(a))||g.push(a)}var d={};CKEDITOR.style.addCustomHandler({type:"widget",setup:function(a){this.widget=a.widget;(this.group="string"==typeof a.group?[a.group]:a.group)&&c(this)},apply:function(a){var b;a instanceof CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&(b=a.widgets.focused,this.group&&this.removeStylesFromSameGroup(a),b.applyStyle(this))},remove:function(a){a instanceof -CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&a.widgets.focused.removeStyle(this)},removeStylesFromSameGroup:function(a){var b=!1,c,f;if(!(a instanceof CKEDITOR.editor))return!1;f=a.elementPath();if(this.checkApplicable(f,a))for(var e=0,g=this.group.length;e<g;e++){c=d[this.widget][this.group[e]];for(var h=0;h<c.length;h++)c[h]!==this&&c[h].checkActive(f,a)&&(a.widgets.focused.removeStyle(c[h]),b=!0)}return b},checkActive:function(a,b){return this.checkElementMatch(a.lastElement,0,b)}, +function ba(){function a(){}function b(a,c,d){return d&&this.checkElement(a)?(a=d.widgets.getByElement(a,!0))&&a.checkStyleActive(this):!1}function c(a){function b(a,c,d){for(var e=a.length,f=0;f<e;){if(c.call(d,a[f],f,a))return a[f];f++}}function e(a){function b(a,c){var d=CKEDITOR.tools.object.keys(a),e=CKEDITOR.tools.object.keys(c);if(d.length!==e.length)return!1;for(var f in a)if(("object"!==typeof a[f]||"object"!==typeof c[f]||!b(a[f],c[f]))&&a[f]!==c[f])return!1;return!0}return function(c){return b(a.getDefinition(), +c.getDefinition())}}var f=a.widget,g;d[f]||(d[f]={});for(var h=0,k=a.group.length;h<k;h++)g=a.group[h],d[f][g]||(d[f][g]=[]),g=d[f][g],b(g,e(a))||g.push(a)}var d={};CKEDITOR.style.addCustomHandler({type:"widget",setup:function(a){this.widget=a.widget;(this.group="string"==typeof a.group?[a.group]:a.group)&&c(this)},apply:function(a){var b;a instanceof CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&(b=a.widgets.focused,this.group&&this.removeStylesFromSameGroup(a),b.applyStyle(this))},remove:function(a){a instanceof +CKEDITOR.editor&&this.checkApplicable(a.elementPath(),a)&&a.widgets.focused.removeStyle(this)},removeStylesFromSameGroup:function(a){var b=!1,c,e;if(!(a instanceof CKEDITOR.editor))return!1;e=a.elementPath();if(this.checkApplicable(e,a))for(var f=0,g=this.group.length;f<g;f++){c=d[this.widget][this.group[f]];for(var h=0;h<c.length;h++)c[h]!==this&&c[h].checkActive(e,a)&&(a.widgets.focused.removeStyle(c[h]),b=!0)}return b},checkActive:function(a,b){return this.checkElementMatch(a.lastElement,0,b)}, checkApplicable:function(a,b){return b instanceof CKEDITOR.editor?this.checkElement(a.lastElement):!1},checkElementMatch:b,checkElementRemovable:b,checkElement:function(a){return h.isDomWidgetWrapper(a)?(a=a.getFirst(h.isDomWidgetElement))&&a.data("widget")==this.widget:!1},buildPreview:function(a){return a||this._.definition.name},toAllowedContentRules:function(a){if(!a)return null;a=a.widgets.registered[this.widget];var b,c={};if(!a)return null;if(a.styleableElements){b=this.getClassesArray();if(!b)return null; c[a.styleableElements]={classes:b,propertiesOnly:!0};return c}return a.styleToAllowedContentRules?a.styleToAllowedContentRules(this):null},getClassesArray:function(){var a=this._.definition.attributes&&this._.definition.attributes["class"];return a?CKEDITOR.tools.trim(a).split(/\s+/):null},applyToRange:a,removeFromRange:a,applyToObject:a})}CKEDITOR.plugins.add("widget",{requires:"lineutils,clipboard,widgetselection",onLoad:function(){void 0!==CKEDITOR.document.$.querySelectorAll&&(CKEDITOR.addCss('.cke_widget_wrapper{position:relative;outline:none}.cke_widget_inline{display:inline-block}.cke_widget_wrapper:hover\x3e.cke_widget_element{outline:2px solid #ffd25c;cursor:default}.cke_widget_wrapper:hover .cke_widget_editable{outline:2px solid #ffd25c}.cke_widget_wrapper.cke_widget_focused\x3e.cke_widget_element,.cke_widget_wrapper .cke_widget_editable.cke_widget_editable_focused{outline:2px solid #47a4f5}.cke_widget_editable{cursor:text}.cke_widget_drag_handler_container{position:absolute;width:15px;height:0;display:block;opacity:0.75;transition:height 0s 0.2s;line-height:0}.cke_widget_wrapper:hover\x3e.cke_widget_drag_handler_container{height:15px;transition:none}.cke_widget_drag_handler_container:hover{opacity:1}.cke_editable[contenteditable\x3d"false"] .cke_widget_drag_handler_container{display:none;}img.cke_widget_drag_handler{cursor:move;width:15px;height:15px;display:inline-block}.cke_widget_mask{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.cke_widget_partial_mask{position:absolute;display:block}.cke_editable.cke_widget_dragging, .cke_editable.cke_widget_dragging *{cursor:move !important}'), -ba())},beforeInit:function(a){void 0!==CKEDITOR.document.$.querySelectorAll&&(a.widgets=new b(a))},afterInit:function(a){if(void 0!==CKEDITOR.document.$.querySelectorAll){var b=a.widgets.registered,c,d,f;for(d in b)c=b[d],(f=c.button)&&a.ui.addButton&&a.ui.addButton(CKEDITOR.tools.capitalize(c.name,!0),{label:f,command:c.name,toolbar:"insert,10"});x(a);I(a.undoManager)}}});b.prototype={MIN_SELECTION_CHECK_INTERVAL:500,add:function(b,c){var d=this.editor;c=CKEDITOR.tools.prototypedCopy(c);c.name=b; -c._=c._||{};d.fire("widgetDefinition",c);c.template&&(c.template=new CKEDITOR.template(c.template));e(d,c);a(this,c);this.registered[b]=c;if(c.dialog&&d.plugins.dialog)var f=CKEDITOR.on("dialogDefinition",function(a){a=a.data.definition;var b=a.dialog;a.getMode||b.getName()!==c.dialog||(a.getMode=function(){var a=b.getModel(d);return a&&a instanceof CKEDITOR.plugins.widget&&a.ready?CKEDITOR.dialog.EDITING_MODE:CKEDITOR.dialog.CREATION_MODE});f.removeListener()});return c},addUpcastCallback:function(a){this._.upcastCallbacks.push(a)}, -checkSelection:function(){var a=this.editor.getSelection(),b=a.getSelectedElement(),c=G(this),d;if(b&&(d=this.getByElement(b,!0)))return c.focus(d).select(d).commit();a=a.getRanges()[0];if(!a||a.collapsed)return c.commit();a=new CKEDITOR.dom.walker(a);for(a.evaluator=h.isDomWidgetWrapper;b=a.next();)c.select(this.getByElement(b));c.commit()},checkWidgets:function(a){this.fire("checkWidgets",CKEDITOR.tools.copy(a||{}))},del:function(a){if(this.focused===a){var b=a.editor,c=b.createRange(),d;(d=c.moveToClosestEditablePosition(a.wrapper, -!0))||(d=c.moveToClosestEditablePosition(a.wrapper,!1));d&&b.getSelection().selectRanges([c])}a.wrapper.remove();this.destroy(a,!0)},destroy:function(a,b){this.widgetHoldingFocusedEditable===a&&q(this,a,null,b);a.destroy(b);delete this.instances[a.id];this.fire("instanceDestroyed",a)},destroyAll:function(a,b){var c,d,f=this.instances;if(b&&!a){d=b.find(".cke_widget_wrapper");for(var f=d.count(),e=0;e<f;++e)(c=this.getByElement(d.getItem(e),!0))&&this.destroy(c)}else for(d in f)c=f[d],this.destroy(c, -a)},finalizeCreation:function(a){(a=a.getFirst())&&h.isDomWidgetWrapper(a)&&(this.editor.insertElement(a),a=this.getByElement(a),a.ready=!0,a.fire("ready"),a.focus())},getByElement:function(){function a(c){return c.is(b)&&c.data("cke-widget-id")}var b={div:1,span:1};return function(b,c){if(!b)return null;var d=a(b);if(!c&&!d){var f=this.editor.editable();do b=b.getParent();while(b&&!b.equals(f)&&!(d=a(b)))}return this.instances[d]||null}}(),initOn:function(a,b,c){b?"string"==typeof b&&(b=this.registered[b]): -b=this.registered[a.data("widget")];if(!b)return null;var d=this.wrapElement(a,b.name);return d?d.hasClass("cke_widget_new")?(a=new h(this,this._.nextId++,a,b,c),a.isInited()?this.instances[a.id]=a:null):this.getByElement(a):null},initOnAll:function(a){a=(a||this.editor.editable()).find(".cke_widget_new");for(var b=[],c,d=a.count();d--;)(c=this.initOn(a.getItem(d).getFirst(h.isDomWidgetElement)))&&b.push(c);return b},onWidget:function(a){var b=Array.prototype.slice.call(arguments);b.shift();for(var c in this.instances){var d= -this.instances[c];d.name==a&&d.on.apply(d,b)}this.on("instanceCreated",function(c){c=c.data;c.name==a&&c.on.apply(c,b)})},parseElementClasses:function(a){if(!a)return null;a=CKEDITOR.tools.trim(a).split(/\s+/);for(var b,c={},d=0;b=a.pop();)-1==b.indexOf("cke_")&&(c[b]=d=1);return d?c:null},wrapElement:function(a,b){var c=null,d,f;if(a instanceof CKEDITOR.dom.element){b=b||a.data("widget");d=this.registered[b];if(!d)return null;if((c=a.getParent())&&c.type==CKEDITOR.NODE_ELEMENT&&c.data("cke-widget-wrapper"))return c; -a.hasAttribute("data-cke-widget-keep-attr")||a.data("cke-widget-keep-attr",a.data("widget")?1:0);a.data("widget",b);(f=p(d,a.getName()))&&k(a);c=new CKEDITOR.dom.element(f?"span":"div",a.getDocument());c.setAttributes(w(f,b));c.data("cke-display-name",d.pathName?d.pathName:a.getName());a.getParent(!0)&&c.replace(a);a.appendTo(c)}else if(a instanceof CKEDITOR.htmlParser.element){b=b||a.attributes["data-widget"];d=this.registered[b];if(!d)return null;if((c=a.parent)&&c.type==CKEDITOR.NODE_ELEMENT&& -c.attributes["data-cke-widget-wrapper"])return c;"data-cke-widget-keep-attr"in a.attributes||(a.attributes["data-cke-widget-keep-attr"]=a.attributes["data-widget"]?1:0);b&&(a.attributes["data-widget"]=b);(f=p(d,a.name))&&k(a);c=new CKEDITOR.htmlParser.element(f?"span":"div",w(f,b));c.attributes["data-cke-display-name"]=d.pathName?d.pathName:a.name;d=a.parent;var e;d&&(e=a.getIndex(),a.remove());c.add(a);d&&v(d,e,c)}return c},_tests_createEditableFilter:d};CKEDITOR.event.implementOn(b.prototype);h.prototype= -{addClass:function(a){this.element.addClass(a);this.wrapper.addClass(h.WRAPPER_CLASS_PREFIX+a)},applyStyle:function(a){L(this,a,1)},checkStyleActive:function(a){a=H(a);var b;if(!a)return!1;for(;b=a.pop();)if(!this.hasClass(b))return!1;return!0},destroy:function(a){this.fire("destroy");if(this.editables)for(var b in this.editables)this.destroyEditable(b,a);a||("0"==this.element.data("cke-widget-keep-attr")&&this.element.removeAttribute("data-widget"),this.element.removeAttributes(["data-cke-widget-data", -"data-cke-widget-keep-attr"]),this.element.removeClass("cke_widget_element"),this.element.replace(this.wrapper));this.wrapper=null},destroyEditable:function(a,b){var c=this.editables[a],d=!0;c.removeListener("focus",D);c.removeListener("blur",J);this.editor.focusManager.remove(c);if(c.filter){for(var f in this.repository.instances){var e=this.repository.instances[f];e.editables&&(e=e.editables[a])&&e!==c&&c.filter===e.filter&&(d=!1)}d&&(c.filter.destroy(),(d=this.repository._.filters[this.name])&& -delete d[a])}b||(this.repository.destroyAll(!1,c),c.removeClass("cke_widget_editable"),c.removeClass("cke_widget_editable_focused"),c.removeAttributes(["contenteditable","data-cke-widget-editable","data-cke-enter-mode"]));delete this.editables[a]},edit:function(){var a={dialog:this.dialog},b=this;if(!1===this.fire("edit",a)||!a.dialog)return!1;this.editor.openDialog(a.dialog,function(a){var c,d;!1!==b.fire("dialog",a)&&(c=a.on("show",function(){a.setupContent(b)}),d=a.on("ok",function(){var c,d=b.on("data", -function(a){c=1;a.cancel()},null,null,0);b.editor.fire("saveSnapshot");a.commitContent(b);d.removeListener();c&&(b.fire("data",b.data),b.editor.fire("saveSnapshot"))}),a.once("hide",function(){c.removeListener();d.removeListener()}))},b);return!0},getClasses:function(){return this.repository.parseElementClasses(this.element.getAttribute("class"))},getClipboardHtml:function(){var a=this.editor.createRange();a.setStartBefore(this.wrapper);a.setEndAfter(this.wrapper);return this.editor.editable().getHtmlFromRange(a).getHtml()}, -hasClass:function(a){return this.element.hasClass(a)},initEditable:function(a,b){var c=this._findOneNotNested(b.selector);return c&&c.is(CKEDITOR.dtd.$editable)?(c=new g(this.editor,c,{filter:d.call(this.repository,this.name,a,b)}),this.editables[a]=c,c.setAttributes({contenteditable:"true","data-cke-widget-editable":a,"data-cke-enter-mode":c.enterMode}),c.filter&&c.data("cke-filter",c.filter.id),c.addClass("cke_widget_editable"),c.removeClass("cke_widget_editable_focused"),b.pathName&&c.data("cke-display-name", -b.pathName),this.editor.focusManager.add(c),c.on("focus",D,this),CKEDITOR.env.ie&&c.on("blur",J,this),c._.initialSetData=!0,c.setData(c.getHtml()),!0):!1},_findOneNotNested:function(a){a=this.wrapper.find(a);for(var b,c,d=0;d<a.count();d++)if(b=a.getItem(d),c=b.getAscendant(h.isDomWidgetWrapper),this.wrapper.equals(c))return b;return null},isInited:function(){return!(!this.wrapper||!this.inited)},isReady:function(){return this.isInited()&&this.ready},focus:function(){var a=this.editor.getSelection(); -if(a){var b=this.editor.checkDirty();a.fake(this.wrapper);!b&&this.editor.resetDirty()}this.editor.focus()},refreshMask:function(){W(this)},refreshParts:function(a){Y(this,"undefined"!==typeof a?a:!0)},removeClass:function(a){this.element.removeClass(a);this.wrapper.removeClass(h.WRAPPER_CLASS_PREFIX+a)},removeStyle:function(a){L(this,a,0)},setData:function(a,b){var c=this.data,d=0;if("string"==typeof a)c[a]!==b&&(c[a]=b,d=1);else{var f=a;for(a in f)c[a]!==f[a]&&(d=1,c[a]=f[a])}d&&this.dataReady&& -(da(this),this.fire("data",c));return this},setFocused:function(a){this.wrapper[a?"addClass":"removeClass"]("cke_widget_focused");this.fire(a?"focus":"blur");return this},setSelected:function(a){this.wrapper[a?"addClass":"removeClass"]("cke_widget_selected");this.fire(a?"select":"deselect");return this},updateDragHandlerPosition:function(){var a=this.editor,b=this.element.$,c=this._.dragHandlerOffset,b={x:b.offsetLeft,y:b.offsetTop-15};c&&b.x==c.x&&b.y==c.y||(c=a.checkDirty(),a.fire("lockSnapshot"), -this.dragHandlerContainer.setStyles({top:b.y+"px",left:b.x+"px"}),this.dragHandlerContainer.removeStyle("display"),a.fire("unlockSnapshot"),!c&&a.resetDirty(),this._.dragHandlerOffset=b)}};CKEDITOR.event.implementOn(h.prototype);h.getNestedEditable=function(a,b){return!b||b.equals(a)?null:h.isDomNestedEditable(b)?b:h.getNestedEditable(a,b.getParent())};h.isDomDragHandler=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-cke-widget-drag-handler")};h.isDomDragHandlerContainer=function(a){return a.type== -CKEDITOR.NODE_ELEMENT&&a.hasClass("cke_widget_drag_handler_container")};h.isDomNestedEditable=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-cke-widget-editable")};h.isDomWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-widget")};h.isDomWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-cke-widget-wrapper")};h.isDomWidget=function(a){return a?this.isDomWidgetWrapper(a)||this.isDomWidgetElement(a):!1};h.isParserWidgetElement= -function(a){return a.type==CKEDITOR.NODE_ELEMENT&&!!a.attributes["data-widget"]};h.isParserWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&!!a.attributes["data-cke-widget-wrapper"]};h.WRAPPER_CLASS_PREFIX="cke_widget_wrapper_";g.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.dom.element.prototype),{setData:function(a){this._.initialSetData||this.editor.widgets.destroyAll(!1,this);this._.initialSetData=!1;a=this.editor.dataProcessor.toHtml(a,{context:this.getName(), -filter:this.filter,enterMode:this.enterMode});this.setHtml(a);this.editor.widgets.initOnAll(this)},getData:function(){return this.editor.dataProcessor.toDataFormat(this.getHtml(),{context:this.getName(),filter:this.filter,enterMode:this.enterMode})}});var S=/^(?:<(?:div|span)(?: data-cke-temp="1")?(?: id="cke_copybin")?(?: data-cke-temp="1")?>)?(?:<(?:div|span)(?: style="[^"]+")?>)?<span [^>]*data-cke-copybin-start="1"[^>]*>.?<\/span>([\s\S]+)<span [^>]*data-cke-copybin-end="1"[^>]*>.?<\/span>(?:<\/(?:div|span)>)?(?:<\/(?:div|span)>)?$/i, +ba())},beforeInit:function(a){void 0!==CKEDITOR.document.$.querySelectorAll&&(a.widgets=new b(a))},afterInit:function(a){if(void 0!==CKEDITOR.document.$.querySelectorAll){var b=a.widgets.registered,c,d,e;for(d in b)c=b[d],(e=c.button)&&a.ui.addButton&&a.ui.addButton(CKEDITOR.tools.capitalize(c.name,!0),{label:e,command:c.name,toolbar:"insert,10"});w(a);I(a.undoManager)}}});b.prototype={MIN_SELECTION_CHECK_INTERVAL:500,add:function(b,c){var d=this.editor;c=CKEDITOR.tools.prototypedCopy(c);c.name=b; +c._=c._||{};d.fire("widgetDefinition",c);c.template&&(c.template=new CKEDITOR.template(c.template));f(d,c);a(this,c);this.registered[b]=c;if(c.dialog&&d.plugins.dialog)var e=CKEDITOR.on("dialogDefinition",function(a){a=a.data.definition;var b=a.dialog;a.getMode||b.getName()!==c.dialog||(a.getMode=function(){var a=b.getModel(d);return a&&a instanceof CKEDITOR.plugins.widget&&a.ready?CKEDITOR.dialog.EDITING_MODE:CKEDITOR.dialog.CREATION_MODE});e.removeListener()});return c},addUpcastCallback:function(a){this._.upcastCallbacks.push(a)}, +checkSelection:function(){if(this.editor.getSelection()){var a=this.editor.getSelection(),b=a.getSelectedElement(),c=G(this),d;if(b&&(d=this.getByElement(b,!0)))return c.focus(d).select(d).commit();a=a.getRanges()[0];if(!a||a.collapsed)return c.commit();a=new CKEDITOR.dom.walker(a);for(a.evaluator=h.isDomWidgetWrapper;b=a.next();)c.select(this.getByElement(b));c.commit()}},checkWidgets:function(a){this.fire("checkWidgets",CKEDITOR.tools.copy(a||{}))},del:function(a){if(this.focused===a){var b=a.editor, +c=b.createRange(),d;(d=c.moveToClosestEditablePosition(a.wrapper,!0))||(d=c.moveToClosestEditablePosition(a.wrapper,!1));d&&b.getSelection().selectRanges([c])}a.wrapper.remove();this.destroy(a,!0)},destroy:function(a,b){this.widgetHoldingFocusedEditable===a&&p(this,a,null,b);a.destroy(b);delete this.instances[a.id];this.fire("instanceDestroyed",a)},destroyAll:function(a,b){var c,d,e=this.instances;if(b&&!a){d=b.find(".cke_widget_wrapper");for(var e=d.count(),f=0;f<e;++f)(c=this.getByElement(d.getItem(f), +!0))&&this.destroy(c)}else for(d in e)c=e[d],this.destroy(c,a)},finalizeCreation:function(a){(a=a.getFirst())&&h.isDomWidgetWrapper(a)&&(this.editor.insertElement(a),a=this.getByElement(a),a.ready=!0,a.fire("ready"),a.focus())},getByElement:function(){function a(c){return c.is(b)&&c.data("cke-widget-id")}var b={div:1,span:1};return function(b,c){if(!b)return null;var d=a(b);if(!c&&!d){var e=this.editor.editable();do b=b.getParent();while(b&&!b.equals(e)&&!(d=a(b)))}return this.instances[d]||null}}(), +initOn:function(a,b,c){b?"string"==typeof b&&(b=this.registered[b]):b=this.registered[a.data("widget")];if(!b)return null;var d=this.wrapElement(a,b.name);return d?d.hasClass("cke_widget_new")?(a=new h(this,this._.nextId++,a,b,c),a.isInited()?this.instances[a.id]=a:null):this.getByElement(a):null},initOnAll:function(a){a=(a||this.editor.editable()).find(".cke_widget_new");for(var b=[],c,d=a.count();d--;)(c=this.initOn(a.getItem(d).getFirst(h.isDomWidgetElement)))&&b.push(c);return b},onWidget:function(a){var b= +Array.prototype.slice.call(arguments);b.shift();for(var c in this.instances){var d=this.instances[c];d.name==a&&d.on.apply(d,b)}this.on("instanceCreated",function(c){c=c.data;c.name==a&&c.on.apply(c,b)})},parseElementClasses:function(a){if(!a)return null;a=CKEDITOR.tools.trim(a).split(/\s+/);for(var b,c={},d=0;b=a.pop();)-1==b.indexOf("cke_")&&(c[b]=d=1);return d?c:null},wrapElement:function(a,b){var c=null,d,e;if(a instanceof CKEDITOR.dom.element){b=b||a.data("widget");d=this.registered[b];if(!d)return null; +if((c=a.getParent())&&c.type==CKEDITOR.NODE_ELEMENT&&c.data("cke-widget-wrapper"))return c;a.hasAttribute("data-cke-widget-keep-attr")||a.data("cke-widget-keep-attr",a.data("widget")?1:0);a.data("widget",b);(e=q(d,a.getName()))&&l(a);c=new CKEDITOR.dom.element(e?"span":"div",a.getDocument());c.setAttributes(y(e,b));c.data("cke-display-name",d.pathName?d.pathName:a.getName());a.getParent(!0)&&c.replace(a);a.appendTo(c)}else if(a instanceof CKEDITOR.htmlParser.element){b=b||a.attributes["data-widget"]; +d=this.registered[b];if(!d)return null;if((c=a.parent)&&c.type==CKEDITOR.NODE_ELEMENT&&c.attributes["data-cke-widget-wrapper"])return c;"data-cke-widget-keep-attr"in a.attributes||(a.attributes["data-cke-widget-keep-attr"]=a.attributes["data-widget"]?1:0);b&&(a.attributes["data-widget"]=b);(e=q(d,a.name))&&l(a);c=new CKEDITOR.htmlParser.element(e?"span":"div",y(e,b));c.attributes["data-cke-display-name"]=d.pathName?d.pathName:a.name;d=a.parent;var f;d&&(f=a.getIndex(),a.remove());c.add(a);d&&x(d, +f,c)}return c},_tests_createEditableFilter:d};CKEDITOR.event.implementOn(b.prototype);h.prototype={addClass:function(a){this.element.addClass(a);this.wrapper.addClass(h.WRAPPER_CLASS_PREFIX+a)},applyStyle:function(a){L(this,a,1)},checkStyleActive:function(a){a=H(a);var b;if(!a)return!1;for(;b=a.pop();)if(!this.hasClass(b))return!1;return!0},destroy:function(a){this.fire("destroy");if(this.editables)for(var b in this.editables)this.destroyEditable(b,a);a||("0"==this.element.data("cke-widget-keep-attr")&& +this.element.removeAttribute("data-widget"),this.element.removeAttributes(["data-cke-widget-data","data-cke-widget-keep-attr"]),this.element.removeClass("cke_widget_element"),this.element.replace(this.wrapper));this.wrapper=null},destroyEditable:function(a,b){var c=this.editables[a],d=!0;c.removeListener("focus",D);c.removeListener("blur",J);this.editor.focusManager.remove(c);if(c.filter){for(var e in this.repository.instances){var f=this.repository.instances[e];f.editables&&(f=f.editables[a])&&f!== +c&&c.filter===f.filter&&(d=!1)}d&&(c.filter.destroy(),(d=this.repository._.filters[this.name])&&delete d[a])}b||(this.repository.destroyAll(!1,c),c.removeClass("cke_widget_editable"),c.removeClass("cke_widget_editable_focused"),c.removeAttributes(["contenteditable","data-cke-widget-editable","data-cke-enter-mode"]));delete this.editables[a]},edit:function(){var a={dialog:this.dialog},b=this;if(!1===this.fire("edit",a)||!a.dialog)return!1;this.editor.openDialog(a.dialog,function(a){var c,d;!1!==b.fire("dialog", +a)&&(c=a.on("show",function(){a.setupContent(b)}),d=a.on("ok",function(){var c,d=b.on("data",function(a){c=1;a.cancel()},null,null,0);b.editor.fire("saveSnapshot");a.commitContent(b);d.removeListener();c&&(b.fire("data",b.data),b.editor.fire("saveSnapshot"))}),a.once("hide",function(){c.removeListener();d.removeListener()}))},b);return!0},getClasses:function(){return this.repository.parseElementClasses(this.element.getAttribute("class"))},getClipboardHtml:function(){var a=this.editor.createRange(); +a.setStartBefore(this.wrapper);a.setEndAfter(this.wrapper);return this.editor.editable().getHtmlFromRange(a).getHtml()},hasClass:function(a){return this.element.hasClass(a)},initEditable:function(a,b){var c=this._findOneNotNested(b.selector);return c&&c.is(CKEDITOR.dtd.$editable)?(c=new g(this.editor,c,{filter:d.call(this.repository,this.name,a,b)}),this.editables[a]=c,c.setAttributes({contenteditable:"true","data-cke-widget-editable":a,"data-cke-enter-mode":c.enterMode}),c.filter&&c.data("cke-filter", +c.filter.id),c.addClass("cke_widget_editable"),c.removeClass("cke_widget_editable_focused"),b.pathName&&c.data("cke-display-name",b.pathName),this.editor.focusManager.add(c),c.on("focus",D,this),CKEDITOR.env.ie&&c.on("blur",J,this),c._.initialSetData=!0,c.setData(c.getHtml()),!0):!1},_findOneNotNested:function(a){a=this.wrapper.find(a);for(var b,c,d=0;d<a.count();d++)if(b=a.getItem(d),c=b.getAscendant(h.isDomWidgetWrapper),this.wrapper.equals(c))return b;return null},isInited:function(){return!(!this.wrapper|| +!this.inited)},isReady:function(){return this.isInited()&&this.ready},focus:function(){var a=this.editor.getSelection();if(a){var b=this.editor.checkDirty();a.fake(this.wrapper);!b&&this.editor.resetDirty()}this.editor.focus()},refreshMask:function(){W(this)},refreshParts:function(a){Y(this,"undefined"!==typeof a?a:!0)},removeClass:function(a){this.element.removeClass(a);this.wrapper.removeClass(h.WRAPPER_CLASS_PREFIX+a)},removeStyle:function(a){L(this,a,0)},setData:function(a,b){var c=this.data, +d=0;if("string"==typeof a)c[a]!==b&&(c[a]=b,d=1);else{var e=a;for(a in e)c[a]!==e[a]&&(d=1,c[a]=e[a])}d&&this.dataReady&&(da(this),this.fire("data",c));return this},setFocused:function(a){this.wrapper[a?"addClass":"removeClass"]("cke_widget_focused");this.fire(a?"focus":"blur");return this},setSelected:function(a){this.wrapper[a?"addClass":"removeClass"]("cke_widget_selected");this.fire(a?"select":"deselect");return this},updateDragHandlerPosition:function(){var a=this.editor,b=this.element.$,c=this._.dragHandlerOffset, +b={x:b.offsetLeft,y:b.offsetTop-15};c&&b.x==c.x&&b.y==c.y||(c=a.checkDirty(),a.fire("lockSnapshot"),this.dragHandlerContainer.setStyles({top:b.y+"px",left:b.x+"px"}),this.dragHandlerContainer.removeStyle("display"),a.fire("unlockSnapshot"),!c&&a.resetDirty(),this._.dragHandlerOffset=b)}};CKEDITOR.event.implementOn(h.prototype);h.getNestedEditable=function(a,b){return!b||b.equals(a)?null:h.isDomNestedEditable(b)?b:h.getNestedEditable(a,b.getParent())};h.isDomDragHandler=function(a){return a.type== +CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-cke-widget-drag-handler")};h.isDomDragHandlerContainer=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasClass("cke_widget_drag_handler_container")};h.isDomNestedEditable=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-cke-widget-editable")};h.isDomWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-widget")};h.isDomWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasAttribute("data-cke-widget-wrapper")}; +h.isDomWidget=function(a){return a?this.isDomWidgetWrapper(a)||this.isDomWidgetElement(a):!1};h.isParserWidgetElement=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&!!a.attributes["data-widget"]};h.isParserWidgetWrapper=function(a){return a.type==CKEDITOR.NODE_ELEMENT&&!!a.attributes["data-cke-widget-wrapper"]};h.WRAPPER_CLASS_PREFIX="cke_widget_wrapper_";g.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.dom.element.prototype),{setData:function(a){this._.initialSetData|| +this.editor.widgets.destroyAll(!1,this);this._.initialSetData=!1;a=this.editor.dataProcessor.toHtml(a,{context:this.getName(),filter:this.filter,enterMode:this.enterMode});this.setHtml(a);this.editor.widgets.initOnAll(this)},getData:function(){return this.editor.dataProcessor.toDataFormat(this.getHtml(),{context:this.getName(),filter:this.filter,enterMode:this.enterMode})}});var R=/^(?:<(?:div|span)(?: data-cke-temp="1")?(?: id="cke_copybin")?(?: data-cke-temp="1")?>)?(?:<(?:div|span)(?: style="[^"]+")?>)?<span [^>]*data-cke-copybin-start="1"[^>]*>.?<\/span>([\s\S]+)<span [^>]*data-cke-copybin-end="1"[^>]*>.?<\/span>(?:<\/(?:div|span)>)?(?:<\/(?:div|span)>)?$/i, V={37:1,38:1,39:1,40:1,8:1,46:1};V[CKEDITOR.SHIFT+121]=1;var U=CKEDITOR.tools.createClass({$:function(a,b){this._.createCopyBin(a,b);this._.createListeners(b)},_:{createCopyBin:function(a){var b=a.document,c=CKEDITOR.env.edge&&16<=CKEDITOR.env.version,d=!a.blockless&&!CKEDITOR.env.ie||c?"div":"span",c=b.createElement(d),b=b.createElement(d);b.setAttributes({id:"cke_copybin","data-cke-temp":"1"});c.setStyles({position:"absolute",width:"1px",height:"1px",overflow:"hidden"});c.setStyle("ltr"==a.config.contentsLangDirection? -"left":"right","-5000px");this.editor=a;this.copyBin=c;this.container=b},createListeners:function(a){a&&(a.beforeDestroy&&(this.beforeDestroy=a.beforeDestroy),a.afterDestroy&&(this.afterDestroy=a.afterDestroy))}},proto:{handle:function(a){var b=this.copyBin,c=this.editor,d=this.container,f=CKEDITOR.env.ie&&9>CKEDITOR.env.version,e=c.document.getDocumentElement().$,g=c.createRange(),h=this,k=CKEDITOR.env.mac&&CKEDITOR.env.webkit,l=k?100:0,m=window.requestAnimationFrame&&!k?requestAnimationFrame:setTimeout, -q,t,u;b.setHtml('\x3cspan data-cke-copybin-start\x3d"1"\x3e\x3c/span\x3e'+a+'\x3cspan data-cke-copybin-end\x3d"1"\x3e\x3c/span\x3e');c.fire("lockSnapshot");d.append(b);c.editable().append(d);q=c.on("selectionChange",F,null,null,0);t=c.widgets.on("checkSelection",F,null,null,0);f&&(u=e.scrollTop);g.selectNodeContents(b);g.select();f&&(e.scrollTop=u);return new CKEDITOR.tools.promise(function(a){m(function(){h.beforeDestroy&&h.beforeDestroy();d.remove();q.removeListener();t.removeListener();c.fire("unlockSnapshot"); +"left":"right","-5000px");this.editor=a;this.copyBin=c;this.container=b},createListeners:function(a){a&&(a.beforeDestroy&&(this.beforeDestroy=a.beforeDestroy),a.afterDestroy&&(this.afterDestroy=a.afterDestroy))}},proto:{handle:function(a){var b=this.copyBin,c=this.editor,d=this.container,e=CKEDITOR.env.ie&&9>CKEDITOR.env.version,f=c.document.getDocumentElement().$,g=c.createRange(),h=this,k=CKEDITOR.env.mac&&CKEDITOR.env.webkit,l=k?100:0,m=window.requestAnimationFrame&&!k?requestAnimationFrame:setTimeout, +p,n,t;b.setHtml('\x3cspan data-cke-copybin-start\x3d"1"\x3e\x3c/span\x3e'+a+'\x3cspan data-cke-copybin-end\x3d"1"\x3e\x3c/span\x3e');c.fire("lockSnapshot");d.append(b);c.editable().append(d);p=c.on("selectionChange",F,null,null,0);n=c.widgets.on("checkSelection",F,null,null,0);e&&(t=f.scrollTop);g.selectNodeContents(b);g.select();e&&(f.scrollTop=t);return new CKEDITOR.tools.promise(function(a){m(function(){h.beforeDestroy&&h.beforeDestroy();d.remove();p.removeListener();n.removeListener();c.fire("unlockSnapshot"); h.afterDestroy&&h.afterDestroy();a()},l)})}},statics:{hasCopyBin:function(a){return!!U.getCopyBin(a)},getCopyBin:function(a){return a.document.getById("cke_copybin")}}});CKEDITOR.plugins.widget=h;h.repository=b;h.nestedEditable=g})();"use strict";(function(){function b(a){function b(){this.deflated||(a.widgets.focused==this.widget&&(this.focused=!0),a.widgets.destroy(this.widget),this.deflated=!0)}function c(){var b=a.editable(),d=a.document;if(this.deflated)this.widget=a.widgets.initOn(this.element, -"image",this.widget.data),this.widget.inline&&!(new CKEDITOR.dom.elementPath(this.widget.wrapper,b)).block&&(b=d.createElement(a.activeEnterMode==CKEDITOR.ENTER_P?"p":"div"),b.replace(this.widget.wrapper),this.widget.wrapper.move(b)),this.focused&&(this.widget.focus(),delete this.focused),delete this.deflated;else{var f=this.widget,b=e,d=f.wrapper,g=f.data.align,f=f.data.hasCaption;if(b){for(var h=3;h--;)d.removeClass(b[h]);"center"==g?f&&d.addClass(b[1]):"none"!=g&&d.addClass(b[v[g]])}else"center"== -g?(f?d.setStyle("text-align","center"):d.removeStyle("text-align"),d.removeStyle("float")):("none"==g?d.removeStyle("float"):d.setStyle("float",g),d.removeStyle("text-align"))}}var e=a.config.image2_alignClasses,k=a.config.image2_captionedClass;return{allowedContent:f(a),requiredContent:"img[src,alt]",features:d(a),styleableElements:"img figure",contentTransformations:[["img[width]: sizeToAttribute"]],editables:{caption:{selector:"figcaption",allowedContent:"br em strong sub sup u s; a[!href,target]"}}, +"image",this.widget.data),this.widget.inline&&!(new CKEDITOR.dom.elementPath(this.widget.wrapper,b)).block&&(b=d.createElement(a.activeEnterMode==CKEDITOR.ENTER_P?"p":"div"),b.replace(this.widget.wrapper),this.widget.wrapper.move(b)),this.focused&&(this.widget.focus(),delete this.focused),delete this.deflated;else{var e=this.widget,b=f,d=e.wrapper,g=e.data.align,e=e.data.hasCaption;if(b){for(var h=3;h--;)d.removeClass(b[h]);"center"==g?e&&d.addClass(b[1]):"none"!=g&&d.addClass(b[x[g]])}else"center"== +g?(e?d.setStyle("text-align","center"):d.removeStyle("text-align"),d.removeStyle("float")):("none"==g?d.removeStyle("float"):d.setStyle("float",g),d.removeStyle("text-align"))}}var f=a.config.image2_alignClasses,k=a.config.image2_captionedClass;return{allowedContent:e(a),requiredContent:"img[src,alt]",features:d(a),styleableElements:"img figure",contentTransformations:[["img[width]: sizeToAttribute"]],editables:{caption:{selector:"figcaption",allowedContent:"br em strong sub sup u s; a[!href,target]"}}, parts:{image:"img",caption:"figcaption"},dialog:"image2",template:'\x3cimg alt\x3d"" src\x3d"" /\x3e',data:function(){var d=this.features;this.data.hasCaption&&!a.filter.checkFeature(d.caption)&&(this.data.hasCaption=!1);"none"==this.data.align||a.filter.checkFeature(d.align)||(this.data.align="none");this.shiftState({widget:this,element:this.element,oldData:this.oldData,newData:this.data,deflate:b,inflate:c});this.data.link?this.parts.link||(this.parts.link=this.parts.image.getParent()):this.parts.link&& -delete this.parts.link;this.parts.image.setAttributes({src:this.data.src,"data-cke-saved-src":this.data.src,alt:this.data.alt});if(this.oldData&&!this.oldData.hasCaption&&this.data.hasCaption)for(var f in this.data.classes)this.parts.image.removeClass(f);if(a.filter.checkFeature(d.dimension)){d=this.data;d={width:d.width,height:d.height};f=this.parts.image;for(var e in d)d[e]?f.setAttribute(e,d[e]):f.removeAttribute(e)}this.oldData=CKEDITOR.tools.extend({},this.data)},init:function(){var b=CKEDITOR.plugins.image2, -c=this.parts.image,d={hasCaption:!!this.parts.caption,src:c.getAttribute("src"),alt:c.getAttribute("alt")||"",width:c.getAttribute("width")||"",height:c.getAttribute("height")||"",lock:this.ready?b.checkHasNaturalRatio(c):!0},f=c.getAscendant("a");f&&this.wrapper.contains(f)&&(this.parts.link=f);d.align||(c=d.hasCaption?this.element:c,e?(c.hasClass(e[0])?d.align="left":c.hasClass(e[2])&&(d.align="right"),d.align?c.removeClass(e[v[d.align]]):d.align="none"):(d.align=c.getStyle("float")||"none",c.removeStyle("float"))); +delete this.parts.link;this.parts.image.setAttributes({src:this.data.src,"data-cke-saved-src":this.data.src,alt:this.data.alt});if(this.oldData&&!this.oldData.hasCaption&&this.data.hasCaption)for(var e in this.data.classes)this.parts.image.removeClass(e);if(a.filter.checkFeature(d.dimension)){d=this.data;d={width:d.width,height:d.height};e=this.parts.image;for(var f in d)d[f]?e.setAttribute(f,d[f]):e.removeAttribute(f)}this.oldData=CKEDITOR.tools.extend({},this.data)},init:function(){var b=CKEDITOR.plugins.image2, +c=this.parts.image,d={hasCaption:!!this.parts.caption,src:c.getAttribute("src"),alt:c.getAttribute("alt")||"",width:c.getAttribute("width")||"",height:c.getAttribute("height")||"",lock:this.ready?b.checkHasNaturalRatio(c):!0},e=c.getAscendant("a");e&&this.wrapper.contains(e)&&(this.parts.link=e);d.align||(c=d.hasCaption?this.element:c,f?(c.hasClass(f[0])?d.align="left":c.hasClass(f[2])&&(d.align="right"),d.align?c.removeClass(f[x[d.align]]):d.align="none"):(d.align=c.getStyle("float")||"none",c.removeStyle("float"))); a.plugins.link&&this.parts.link&&(d.link=b.getLinkAttributesParser()(a,this.parts.link),(c=d.link.advanced)&&c.advCSSClasses&&(c.advCSSClasses=CKEDITOR.tools.trim(c.advCSSClasses.replace(/cke_\S+/,""))));this.wrapper[(d.hasCaption?"remove":"add")+"Class"]("cke_image_nocaption");this.setData(d);a.filter.checkFeature(this.features.dimension)&&!0!==a.config.image2_disableResizer&&m(this);this.shiftState=b.stateShifter(this.editor);this.on("contextMenu",function(a){a.data.image=CKEDITOR.TRISTATE_OFF; -if(this.parts.link||this.wrapper.getAscendant("a"))a.data.link=a.data.unlink=CKEDITOR.TRISTATE_OFF})},addClass:function(a){n(this).addClass(a)},hasClass:function(a){return n(this).hasClass(a)},removeClass:function(a){n(this).removeClass(a)},getClasses:function(){var a=new RegExp("^("+[].concat(k,e).join("|")+")$");return function(){var b=this.repository.parseElementClasses(n(this).getAttribute("class")),c;for(c in b)a.test(c)&&delete b[c];return b}}(),upcast:h(a),downcast:g(a),getLabel:function(){return this.editor.lang.widget.label.replace(/%1/, -(this.data.alt||"")+" "+this.pathName)}}}function h(b){var c=e(b),d=b.config.image2_captionedClass;return function(b,f){var e={width:1,height:1},g=b.name,h;if(!b.attributes["data-cke-realelement"]&&(c(b)?("div"==g&&(h=b.getFirst("figure"))&&(b.replaceWith(h),b=h),f.align="center",h=b.getFirst("img")||b.getFirst("a").getFirst("img")):"figure"==g&&b.hasClass(d)?h=b.find(function(a){return"img"===a.name&&-1!==CKEDITOR.tools.array.indexOf(["figure","a"],a.parent.name)},!0)[0]:a(b)&&(h="a"==b.name?b.children[0]: -b),h)){for(var k in e)(e=h.attributes[k])&&e.match(p)&&delete h.attributes[k];return b}}}function g(a){var b=a.config.image2_alignClasses;return function(a){var c="a"==a.name?a.getFirst():a,d=c.attributes,f=this.data.align;if(!this.inline){var e=a.getFirst("span");e&&e.replaceWith(e.getFirst({img:1,a:1}))}f&&"none"!=f&&(e=CKEDITOR.tools.parseCssText(d.style||""),"center"==f&&"figure"==a.name?a=a.wrapWith(new CKEDITOR.htmlParser.element("div",b?{"class":b[1]}:{style:"text-align:center"})):f in{left:1, -right:1}&&(b?c.addClass(b[v[f]]):e["float"]=f),b||CKEDITOR.tools.isEmpty(e)||(d.style=CKEDITOR.tools.writeCssText(e)));return a}}function e(b){var c=b.config.image2_captionedClass,d=b.config.image2_alignClasses,f={figure:1,a:1,img:1};return function(e){if(!(e.name in{div:1,p:1}))return!1;var g=e.children;if(1!==g.length)return!1;g=g[0];if(!(g.name in f))return!1;if("p"==e.name){if(!a(g))return!1}else if("figure"==g.name){if(!g.hasClass(c))return!1}else if(b.enterMode==CKEDITOR.ENTER_P||!a(g))return!1; -return(d?e.hasClass(d[1]):"center"==CKEDITOR.tools.parseCssText(e.attributes.style||"",!0)["text-align"])?!0:!1}}function a(a){return"img"==a.name?!0:"a"==a.name?1==a.children.length&&a.getFirst("img"):!1}function m(a){var b=a.editor,c=b.editable(),d=b.document,f=a.resizer=d.createElement("span");f.addClass("cke_image_resizer");f.setAttribute("title",b.lang.image2.resizer);f.append(new CKEDITOR.dom.text("",d));if(a.inline)a.wrapper.append(f);else{var e=a.parts.link||a.parts.image,g=e.getParent(), -h=d.createElement("span");h.addClass("cke_image_resizer_wrapper");h.append(e);h.append(f);a.element.append(h,!0);g.is("span")&&g.remove()}f.on("mousedown",function(e){function g(a,b,c){var f=CKEDITOR.document,e=[];d.equals(f)||e.push(f.on(a,b));e.push(d.on(a,b));if(c)for(a=e.length;a--;)c.push(e.pop())}function h(){R=w+n*X;W=Math.round(R/B)}function k(){W=p-T;R=Math.round(W*B)}var l=a.parts.image,m=function(){var a=b.config.image2_maxSize,c;if(!a)return null;a=CKEDITOR.tools.copy(a);c=CKEDITOR.plugins.image2.getNatural(l); -a.width=Math.max("natural"===a.width?c.width:a.width,15);a.height=Math.max("natural"===a.height?c.height:a.height,15);return a}(),n="right"==a.data.align?-1:1,u=e.data.$.screenX,y=e.data.$.screenY,w=l.$.clientWidth,p=l.$.clientHeight,B=w/p,v=[],N="cke_image_s"+(~n?"e":"w"),Y,R,W,ea,X,T,Z;b.fire("saveSnapshot");g("mousemove",function(a){Y=a.data.$;X=Y.screenX-u;T=y-Y.screenY;Z=Math.abs(X/T);1==n?0>=X?0>=T?h():Z>=B?h():k():0>=T?Z>=B?k():h():k():0>=X?0>=T?Z>=B?k():h():k():0>=T?h():Z>=B?h():k();a=m&& -(R>m.width||W>m.height);15>R||15>W||a||(ea={width:R,height:W},l.setAttributes(ea))},v);g("mouseup",function(){for(var d;d=v.pop();)d.removeListener();c.removeClass(N);f.removeClass("cke_image_resizing");ea&&(a.setData(ea),b.fire("saveSnapshot"));ea=!1},v);c.addClass(N);f.addClass("cke_image_resizing")});a.on("data",function(){f["right"==a.data.align?"addClass":"removeClass"]("cke_image_resizer_left")})}function l(a){var b=[],d;return function(f){var e=a.getCommand("justify"+f);if(e){b.push(function(){e.refresh(a, -a.elementPath())});if(f in{right:1,left:1,center:1})e.on("exec",function(d){var e=c(a);if(e){e.setData("align",f);for(e=b.length;e--;)b[e]();d.cancel()}});e.on("refresh",function(b){var e=c(a),g={right:1,left:1,center:1};e&&(void 0===d&&(d=a.filter.checkFeature(a.widgets.registered.image.features.align)),d?this.setState(e.data.align==f?CKEDITOR.TRISTATE_ON:f in g?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED):this.setState(CKEDITOR.TRISTATE_DISABLED),b.cancel())})}}}function k(a){if(a.plugins.link){var b= -CKEDITOR.on("dialogDefinition",function(b){b=b.data;if("link"==b.name){b=b.definition;var d=b.onShow,f=b.onOk;b.onShow=function(){var b=c(a),f=this.getContentElement("info","linkDisplayText").getElement().getParent().getParent();b&&(b.inline?!b.wrapper.getAscendant("a"):1)?(this.setupContent(b.data.link||{}),f.hide()):(f.show(),d.apply(this,arguments))};b.onOk=function(){var b=c(a);if(b&&(b.inline?!b.wrapper.getAscendant("a"):1)){var d={};this.commitContent(d);b.setData("link",d)}else f.apply(this, -arguments)}}});a.on("destroy",function(){b.removeListener()});a.getCommand("unlink").on("exec",function(b){var d=c(a);d&&d.parts.link&&(d.setData("link",null),this.refresh(a,a.elementPath()),b.cancel())});a.getCommand("unlink").on("refresh",function(b){var d=c(a);d&&(this.setState(d.data.link||d.wrapper.getAscendant("a")?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),b.cancel())})}}function c(a){return(a=a.widgets.focused)&&"image"==a.name?a:null}function f(a){var b=a.config.image2_alignClasses; -a={div:{match:e(a)},p:{match:e(a)},img:{attributes:"!src,alt,width,height"},figure:{classes:"!"+a.config.image2_captionedClass},figcaption:!0};b?(a.div.classes=b[1],a.p.classes=a.div.classes,a.img.classes=b[0]+","+b[2],a.figure.classes+=","+a.img.classes):(a.div.styles="text-align",a.p.styles="text-align",a.img.styles="float",a.figure.styles="float,display");return a}function d(a){a=a.config.image2_alignClasses;return{dimension:{requiredContent:"img[width,height]"},align:{requiredContent:"img"+(a? -"("+a[0]+")":"{float}")},caption:{requiredContent:"figcaption"}}}function n(a){return a.data.hasCaption?a.element:a.parts.image}var w=new CKEDITOR.template('\x3cfigure class\x3d"{captionedClass}"\x3e\x3cimg alt\x3d"" src\x3d"" /\x3e\x3cfigcaption\x3e{captionPlaceholder}\x3c/figcaption\x3e\x3c/figure\x3e'),v={left:0,center:1,right:2},p=/^\s*(\d+\%)\s*$/i;CKEDITOR.plugins.add("image2",{requires:"widget,dialog",icons:"image",hidpi:!0,onLoad:function(){CKEDITOR.addCss('.cke_image_nocaption{line-height:0}.cke_editable.cke_image_sw, .cke_editable.cke_image_sw *{cursor:sw-resize !important}.cke_editable.cke_image_se, .cke_editable.cke_image_se *{cursor:se-resize !important}.cke_image_resizer{display:none;position:absolute;width:10px;height:10px;bottom:-5px;right:-5px;background:#000;outline:1px solid #fff;line-height:0;cursor:se-resize;}.cke_image_resizer_wrapper{position:relative;display:inline-block;line-height:0;}.cke_image_resizer.cke_image_resizer_left{right:auto;left:-5px;cursor:sw-resize;}.cke_widget_wrapper:hover .cke_image_resizer,.cke_image_resizer.cke_image_resizing{display:block}.cke_editable[contenteditable\x3d"false"] .cke_image_resizer{display:none;}.cke_widget_wrapper\x3ea{display:inline-block}')}, -init:function(a){if(!a.plugins.detectConflict("image2",["easyimage"])){var c=a.config,d=a.lang.image2,f=b(a);c.filebrowserImage2BrowseUrl=c.filebrowserImageBrowseUrl;c.filebrowserImage2UploadUrl=c.filebrowserImageUploadUrl;f.pathName=d.pathName;f.editables.caption.pathName=d.pathNameCaption;a.widgets.add("image",f);a.ui.addButton&&a.ui.addButton("Image",{label:a.lang.common.image,command:"image",toolbar:"insert,10"});a.contextMenu&&(a.addMenuGroup("image",10),a.addMenuItem("image",{label:d.menu,command:"image", -group:"image"}));CKEDITOR.dialog.add("image2",this.path+"dialogs/image2.js")}},afterInit:function(a){var b={left:1,right:1,center:1,block:1},c=l(a),d;for(d in b)c(d);k(a)}});CKEDITOR.plugins.image2={stateShifter:function(a){function b(a,e){var g={};f?g.attributes={"class":f[1]}:g.styles={"text-align":"center"};g=d.createElement(a.activeEnterMode==CKEDITOR.ENTER_P?"p":"div",g);c(g,e);e.move(g);return g}function c(b,d){if(d.getParent()){var f=a.createRange();f.moveToPosition(d,CKEDITOR.POSITION_BEFORE_START); -d.remove();g.insertElementIntoRange(b,f)}else b.replace(d)}var d=a.document,f=a.config.image2_alignClasses,e=a.config.image2_captionedClass,g=a.editable(),h=["hasCaption","align","link"],k={align:function(c,d,e){var g=c.element;c.changed.align?c.newData.hasCaption||("center"==e&&(c.deflate(),c.element=b(a,g)),c.changed.hasCaption||"center"!=d||"center"==e||(c.deflate(),d=g.findOne("a,img"),d.replace(g),c.element=d)):"center"==e&&c.changed.hasCaption&&!c.newData.hasCaption&&(c.deflate(),c.element= -b(a,g));!f&&g.is("figure")&&("center"==e?g.setStyle("display","inline-block"):g.removeStyle("display"))},hasCaption:function(b,f,g){b.changed.hasCaption&&(f=b.element.is({img:1,a:1})?b.element:b.element.findOne("a,img"),b.deflate(),g?(g=CKEDITOR.dom.element.createFromHtml(w.output({captionedClass:e,captionPlaceholder:a.lang.image2.captionPlaceholder}),d),c(g,b.element),f.replace(g.findOne("img")),b.element=g):(f.replace(b.element),b.element=f))},link:function(b,c,f){if(b.changed.link){var e=b.element.is("img")? -b.element:b.element.findOne("img"),g=b.element.is("a")?b.element:b.element.findOne("a"),h=b.element.is("a")&&!f||b.element.is("img")&&f,k;h&&b.deflate();f?(c||(k=d.createElement("a",{attributes:{href:b.newData.link.url}}),k.replace(e),e.move(k)),f=CKEDITOR.plugins.image2.getLinkAttributesGetter()(a,f),CKEDITOR.tools.isEmpty(f.set)||(k||g).setAttributes(f.set),f.removed.length&&(k||g).removeAttributes(f.removed)):(f=g.findOne("img"),f.replace(g),k=f);h&&(b.element=k)}}};return function(a){var b,c; +if(this.parts.link||this.wrapper.getAscendant("a"))a.data.link=a.data.unlink=CKEDITOR.TRISTATE_OFF})},addClass:function(a){n(this).addClass(a)},hasClass:function(a){return n(this).hasClass(a)},removeClass:function(a){n(this).removeClass(a)},getClasses:function(){var a=new RegExp("^("+[].concat(k,f).join("|")+")$");return function(){var b=this.repository.parseElementClasses(n(this).getAttribute("class")),c;for(c in b)a.test(c)&&delete b[c];return b}}(),upcast:h(a),downcast:g(a),getLabel:function(){return this.editor.lang.widget.label.replace(/%1/, +(this.data.alt||"")+" "+this.pathName)}}}function h(b){var c=f(b),d=b.config.image2_captionedClass;return function(b,e){var f={width:1,height:1},g=b.name,h;if(!b.attributes["data-cke-realelement"]&&(c(b)?("div"==g&&(h=b.getFirst("figure"))&&(b.replaceWith(h),b=h),e.align="center",h=b.getFirst("img")||b.getFirst("a").getFirst("img")):"figure"==g&&b.hasClass(d)?h=b.find(function(a){return"img"===a.name&&-1!==CKEDITOR.tools.array.indexOf(["figure","a"],a.parent.name)},!0)[0]:a(b)&&(h="a"==b.name?b.children[0]: +b),h)){for(var k in f)(f=h.attributes[k])&&f.match(q)&&delete h.attributes[k];return b}}}function g(a){var b=a.config.image2_alignClasses;return function(a){var c="a"==a.name?a.getFirst():a,d=c.attributes,e=this.data.align;if(!this.inline){var f=a.getFirst("span");f&&f.replaceWith(f.getFirst({img:1,a:1}))}e&&"none"!=e&&(f=CKEDITOR.tools.parseCssText(d.style||""),"center"==e&&"figure"==a.name?a=a.wrapWith(new CKEDITOR.htmlParser.element("div",b?{"class":b[1]}:{style:"text-align:center"})):e in{left:1, +right:1}&&(b?c.addClass(b[x[e]]):f["float"]=e),b||CKEDITOR.tools.isEmpty(f)||(d.style=CKEDITOR.tools.writeCssText(f)));return a}}function f(b){var c=b.config.image2_captionedClass,d=b.config.image2_alignClasses,e={figure:1,a:1,img:1};return function(f){if(!(f.name in{div:1,p:1}))return!1;var g=f.children;if(1!==g.length)return!1;g=g[0];if(!(g.name in e))return!1;if("p"==f.name){if(!a(g))return!1}else if("figure"==g.name){if(!g.hasClass(c))return!1}else if(b.enterMode==CKEDITOR.ENTER_P||!a(g))return!1; +return(d?f.hasClass(d[1]):"center"==CKEDITOR.tools.parseCssText(f.attributes.style||"",!0)["text-align"])?!0:!1}}function a(a){return"img"==a.name?!0:"a"==a.name?1==a.children.length&&a.getFirst("img"):!1}function m(a){var b=a.editor,c=b.editable(),d=b.document,e=a.resizer=d.createElement("span");e.addClass("cke_image_resizer");e.setAttribute("title",b.lang.image2.resizer);e.append(new CKEDITOR.dom.text("",d));if(a.inline)a.wrapper.append(e);else{var f=a.parts.link||a.parts.image,g=f.getParent(), +h=d.createElement("span");h.addClass("cke_image_resizer_wrapper");h.append(f);h.append(e);a.element.append(h,!0);g.is("span")&&g.remove()}e.on("mousedown",function(f){function g(a,b,c){var e=CKEDITOR.document,f=[];d.equals(e)||f.push(e.on(a,b));f.push(d.on(a,b));if(c)for(a=f.length;a--;)c.push(f.pop())}function h(){Q=y+n*X;W=Math.round(Q/q)}function k(){W=C-T;Q=Math.round(W*q)}var l=a.parts.image,m=function(){var a=b.config.image2_maxSize,c;if(!a)return null;a=CKEDITOR.tools.copy(a);c=CKEDITOR.plugins.image2.getNatural(l); +a.width=Math.max("natural"===a.width?c.width:a.width,15);a.height=Math.max("natural"===a.height?c.height:a.height,15);return a}(),n="right"==a.data.align?-1:1,v=f.data.$.screenX,u=f.data.$.screenY,y=l.$.clientWidth,C=l.$.clientHeight,q=y/C,x=[],N="cke_image_s"+(~n?"e":"w"),Y,Q,W,ea,X,T,Z;b.fire("saveSnapshot");g("mousemove",function(a){Y=a.data.$;X=Y.screenX-v;T=u-Y.screenY;Z=Math.abs(X/T);1==n?0>=X?0>=T?h():Z>=q?h():k():0>=T?Z>=q?k():h():k():0>=X?0>=T?Z>=q?k():h():k():0>=T?h():Z>=q?h():k();a=m&& +(Q>m.width||W>m.height);15>Q||15>W||a||(ea={width:Q,height:W},l.setAttributes(ea))},x);g("mouseup",function(){for(var d;d=x.pop();)d.removeListener();c.removeClass(N);e.removeClass("cke_image_resizing");ea&&(a.setData(ea),b.fire("saveSnapshot"));ea=!1},x);c.addClass(N);e.addClass("cke_image_resizing")});a.on("data",function(){e["right"==a.data.align?"addClass":"removeClass"]("cke_image_resizer_left")})}function k(a){var b=[],d;return function(e){var f=a.getCommand("justify"+e);if(f){b.push(function(){f.refresh(a, +a.elementPath())});if(e in{right:1,left:1,center:1})f.on("exec",function(d){var f=c(a);if(f){f.setData("align",e);for(f=b.length;f--;)b[f]();d.cancel()}});f.on("refresh",function(b){var f=c(a),g={right:1,left:1,center:1};f&&(void 0===d&&(d=a.filter.checkFeature(a.widgets.registered.image.features.align)),d?this.setState(f.data.align==e?CKEDITOR.TRISTATE_ON:e in g?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED):this.setState(CKEDITOR.TRISTATE_DISABLED),b.cancel())})}}}function l(a){if(a.plugins.link){var b= +CKEDITOR.on("dialogDefinition",function(b){b=b.data;if("link"==b.name){b=b.definition;var d=b.onShow,e=b.onOk;b.onShow=function(){var b=c(a),e=this.getContentElement("info","linkDisplayText").getElement().getParent().getParent();b&&(b.inline?!b.wrapper.getAscendant("a"):1)?(this.setupContent(b.data.link||{}),e.hide()):(e.show(),d.apply(this,arguments))};b.onOk=function(){var b=c(a);if(b&&(b.inline?!b.wrapper.getAscendant("a"):1)){var d={};this.commitContent(d);b.setData("link",d)}else e.apply(this, +arguments)}}});a.on("destroy",function(){b.removeListener()});a.getCommand("unlink").on("exec",function(b){var d=c(a);d&&d.parts.link&&(d.setData("link",null),this.refresh(a,a.elementPath()),b.cancel())});a.getCommand("unlink").on("refresh",function(b){var d=c(a);d&&(this.setState(d.data.link||d.wrapper.getAscendant("a")?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED),b.cancel())})}}function c(a){return(a=a.widgets.focused)&&"image"==a.name?a:null}function e(a){var b=a.config.image2_alignClasses; +a={div:{match:f(a)},p:{match:f(a)},img:{attributes:"!src,alt,width,height"},figure:{classes:"!"+a.config.image2_captionedClass},figcaption:!0};b?(a.div.classes=b[1],a.p.classes=a.div.classes,a.img.classes=b[0]+","+b[2],a.figure.classes+=","+a.img.classes):(a.div.styles="text-align",a.p.styles="text-align",a.img.styles="float",a.figure.styles="float,display");return a}function d(a){a=a.config.image2_alignClasses;return{dimension:{requiredContent:"img[width,height]"},align:{requiredContent:"img"+(a? +"("+a[0]+")":"{float}")},caption:{requiredContent:"figcaption"}}}function n(a){return a.data.hasCaption?a.element:a.parts.image}var y=new CKEDITOR.template('\x3cfigure class\x3d"{captionedClass}"\x3e\x3cimg alt\x3d"" src\x3d"" /\x3e\x3cfigcaption\x3e{captionPlaceholder}\x3c/figcaption\x3e\x3c/figure\x3e'),x={left:0,center:1,right:2},q=/^\s*(\d+\%)\s*$/i;CKEDITOR.plugins.add("image2",{requires:"widget,dialog",icons:"image",hidpi:!0,onLoad:function(){CKEDITOR.addCss('.cke_image_nocaption{line-height:0}.cke_editable.cke_image_sw, .cke_editable.cke_image_sw *{cursor:sw-resize !important}.cke_editable.cke_image_se, .cke_editable.cke_image_se *{cursor:se-resize !important}.cke_image_resizer{display:none;position:absolute;width:10px;height:10px;bottom:-5px;right:-5px;background:#000;outline:1px solid #fff;line-height:0;cursor:se-resize;}.cke_image_resizer_wrapper{position:relative;display:inline-block;line-height:0;}.cke_image_resizer.cke_image_resizer_left{right:auto;left:-5px;cursor:sw-resize;}.cke_widget_wrapper:hover .cke_image_resizer,.cke_image_resizer.cke_image_resizing{display:block}.cke_editable[contenteditable\x3d"false"] .cke_image_resizer{display:none;}.cke_widget_wrapper\x3ea{display:inline-block}')}, +init:function(a){if(!a.plugins.detectConflict("image2",["easyimage"])){var c=a.config,d=a.lang.image2,e=b(a);c.filebrowserImage2BrowseUrl=c.filebrowserImageBrowseUrl;c.filebrowserImage2UploadUrl=c.filebrowserImageUploadUrl;e.pathName=d.pathName;e.editables.caption.pathName=d.pathNameCaption;a.widgets.add("image",e);a.ui.addButton&&a.ui.addButton("Image",{label:a.lang.common.image,command:"image",toolbar:"insert,10"});a.contextMenu&&(a.addMenuGroup("image",10),a.addMenuItem("image",{label:d.menu,command:"image", +group:"image"}));CKEDITOR.dialog.add("image2",this.path+"dialogs/image2.js")}},afterInit:function(a){var b={left:1,right:1,center:1,block:1},c=k(a),d;for(d in b)c(d);l(a)}});CKEDITOR.plugins.image2={stateShifter:function(a){function b(a,f){var g={};e?g.attributes={"class":e[1]}:g.styles={"text-align":"center"};g=d.createElement(a.activeEnterMode==CKEDITOR.ENTER_P?"p":"div",g);c(g,f);f.move(g);return g}function c(b,d){if(d.getParent()){var e=a.createRange();e.moveToPosition(d,CKEDITOR.POSITION_BEFORE_START); +d.remove();g.insertElementIntoRange(b,e)}else b.replace(d)}var d=a.document,e=a.config.image2_alignClasses,f=a.config.image2_captionedClass,g=a.editable(),h=["hasCaption","align","link"],k={align:function(c,d,f){var g=c.element;c.changed.align?c.newData.hasCaption||("center"==f&&(c.deflate(),c.element=b(a,g)),c.changed.hasCaption||"center"!=d||"center"==f||(c.deflate(),d=g.findOne("a,img"),d.replace(g),c.element=d)):"center"==f&&c.changed.hasCaption&&!c.newData.hasCaption&&(c.deflate(),c.element= +b(a,g));!e&&g.is("figure")&&("center"==f?g.setStyle("display","inline-block"):g.removeStyle("display"))},hasCaption:function(b,e,g){b.changed.hasCaption&&(e=b.element.is({img:1,a:1})?b.element:b.element.findOne("a,img"),b.deflate(),g?(g=CKEDITOR.dom.element.createFromHtml(y.output({captionedClass:f,captionPlaceholder:a.lang.image2.captionPlaceholder}),d),c(g,b.element),e.replace(g.findOne("img")),b.element=g):(e.replace(b.element),b.element=e))},link:function(b,c,e){if(b.changed.link){var f=b.element.is("img")? +b.element:b.element.findOne("img"),g=b.element.is("a")?b.element:b.element.findOne("a"),h=b.element.is("a")&&!e||b.element.is("img")&&e,k;h&&b.deflate();e?(c||(k=d.createElement("a",{attributes:{href:b.newData.link.url}}),k.replace(f),f.move(k)),e=CKEDITOR.plugins.image2.getLinkAttributesGetter()(a,e),CKEDITOR.tools.isEmpty(e.set)||(k||g).setAttributes(e.set),e.removed.length&&(k||g).removeAttributes(e.removed)):(e=g.findOne("img"),e.replace(g),k=e);h&&(b.element=k)}}};return function(a){var b,c; a.changed={};for(c=0;c<h.length;c++)b=h[c],a.changed[b]=a.oldData?a.oldData[b]!==a.newData[b]:!1;for(c=0;c<h.length;c++)b=h[c],k[b](a,a.oldData?a.oldData[b]:null,a.newData[b]);a.inflate()}},checkHasNaturalRatio:function(a){var b=a.$;a=this.getNatural(a);return Math.round(b.clientWidth/a.width*a.height)==b.clientHeight||Math.round(b.clientHeight/a.height*a.width)==b.clientWidth},getNatural:function(a){if(a.$.naturalWidth)a={width:a.$.naturalWidth,height:a.$.naturalHeight};else{var b=new Image;b.src= -a.getAttribute("src");a={width:b.width,height:b.height}}return a},getLinkAttributesGetter:function(){return CKEDITOR.plugins.link.getLinkAttributes},getLinkAttributesParser:function(){return CKEDITOR.plugins.link.parseLinkAttributes}}})();CKEDITOR.config.image2_captionedClass="image";(function(){function b(b,a){var m,l;a.on("refresh",function(a){var b=[h],f;for(f in a.data.states)b.push(a.data.states[f]);this.setState(CKEDITOR.tools.search(b,g)?g:h)},a,null,100);a.on("exec",function(a){m=b.getSelection(); -l=m.createBookmarks(1);a.data||(a.data={});a.data.done=!1},a,null,0);a.on("exec",function(){b.forceNextSelectionCheck();m.selectBookmarks(l)},a,null,100)}var h=CKEDITOR.TRISTATE_DISABLED,g=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indent",{init:function(e){var a=CKEDITOR.plugins.indent.genericDefinition;b(e,e.addCommand("indent",new a(!0)));b(e,e.addCommand("outdent",new a));e.ui.addButton&&(e.ui.addButton("Indent",{label:e.lang.indent.indent,command:"indent",directional:!0,toolbar:"indent,20"}), -e.ui.addButton("Outdent",{label:e.lang.indent.outdent,command:"outdent",directional:!0,toolbar:"indent,10"}));e.on("dirChanged",function(a){var b=e.createRange(),g=a.data.node;b.setStartBefore(g);b.setEndAfter(g);for(var c=new CKEDITOR.dom.walker(b),f;f=c.next();)if(f.type==CKEDITOR.NODE_ELEMENT)if(!f.equals(g)&&f.getDirection())b.setStartAfter(f),c=new CKEDITOR.dom.walker(b);else{var d=e.config.indentClasses;if(d)for(var h="ltr"==a.data.dir?["_rtl",""]:["","_rtl"],w=0;w<d.length;w++)f.hasClass(d[w]+ -h[0])&&(f.removeClass(d[w]+h[0]),f.addClass(d[w]+h[1]));d=f.getStyle("margin-right");h=f.getStyle("margin-left");d?f.setStyle("margin-left",d):f.removeStyle("margin-left");h?f.setStyle("margin-right",h):f.removeStyle("margin-right")}})}});CKEDITOR.plugins.indent={genericDefinition:function(b){this.isIndent=!!b;this.startDisabled=!this.isIndent},specificDefinition:function(b,a,g){this.name=a;this.editor=b;this.jobs={};this.enterBr=b.config.enterMode==CKEDITOR.ENTER_BR;this.isIndent=!!g;this.relatedGlobal= -g?"indent":"outdent";this.indentKey=g?9:CKEDITOR.SHIFT+9;this.database={}},registerCommands:function(b,a){b.on("pluginsLoaded",function(){for(var b in a)(function(a,b){var c=a.getCommand(b.relatedGlobal),f;for(f in b.jobs)c.on("exec",function(c){c.data.done||(a.fire("lockSnapshot"),b.execJob(a,f)&&(c.data.done=!0),a.fire("unlockSnapshot"),CKEDITOR.dom.element.clearAllMarkers(b.database))},this,null,f),c.on("refresh",function(c){c.data.states||(c.data.states={});c.data.states[b.name+"@"+f]=b.refreshJob(a, -f,c.data.path)},this,null,f);a.addFeature(b)})(this,a[b])})}};CKEDITOR.plugins.indent.genericDefinition.prototype={context:"p",exec:function(){}};CKEDITOR.plugins.indent.specificDefinition.prototype={execJob:function(b,a){var g=this.jobs[a];if(g.state!=h)return g.exec.call(this,b)},refreshJob:function(b,a,g){a=this.jobs[a];b.activeFilter.checkFeature(this)?a.state=a.refresh.call(this,b,g):a.state=h;return a.state},getContext:function(b){return b.contains(this.context)}}})();(function(){function b(a){function b(c){for(var h= -l.startContainer,m=l.endContainer;h&&!h.getParent().equals(c);)h=h.getParent();for(;m&&!m.getParent().equals(c);)m=m.getParent();if(!h||!m)return!1;for(var r=[],y=!1;!y;)h.equals(m)&&(y=!0),r.push(h),h=h.getNext();if(1>r.length)return!1;h=c.getParents(!0);for(m=0;m<h.length;m++)if(h[m].getName&&e[h[m].getName()]){c=h[m];break}for(var h=f.isIndent?1:-1,m=r[0],r=r[r.length-1],y=CKEDITOR.plugins.list.listToArray(c,d),u=y[r.getCustomData("listarray_index")].indent,m=m.getCustomData("listarray_index");m<= -r.getCustomData("listarray_index");m++)if(y[m].indent+=h,0<h){for(var p=y[m].parent,C=m-1;0<=C;C--)if(y[C].indent===h){p=y[C].parent;break}y[m].parent=new CKEDITOR.dom.element(p.getName(),p.getDocument())}for(m=r.getCustomData("listarray_index")+1;m<y.length&&y[m].indent>u;m++)y[m].indent+=h;h=CKEDITOR.plugins.list.arrayToList(y,d,null,a.config.enterMode,c.getDirection());if(!f.isIndent){var A;if((A=c.getParent())&&A.is("li"))for(var r=h.listNode.getChildren(),E=[],v,m=r.count()-1;0<=m;m--)(v=r.getItem(m))&& -v.is&&v.is("li")&&E.push(v)}h&&h.listNode.replace(c);if(E&&E.length)for(m=0;m<E.length;m++){for(v=c=E[m];(v=v.getNext())&&v.is&&v.getName()in e;)CKEDITOR.env.needsNbspFiller&&!c.getFirst(g)&&c.append(l.document.createText(" ")),c.append(v);c.insertAfter(A)}h&&a.fire("contentDomInvalidated");return!0}for(var f=this,d=this.database,e=this.context,l,m=a.getSelection(),m=(m&&m.getRanges()).createIterator();l=m.getNextRange();){for(var p=l.getCommonAncestor();p&&(p.type!=CKEDITOR.NODE_ELEMENT||!e[p.getName()]);){if(a.editable().equals(p)){p= -!1;break}p=p.getParent()}p||(p=l.startPath().contains(e))&&l.setEndAt(p,CKEDITOR.POSITION_BEFORE_END);if(!p){var r=l.getEnclosedNode();r&&r.type==CKEDITOR.NODE_ELEMENT&&r.getName()in e&&(l.setStartAt(r,CKEDITOR.POSITION_AFTER_START),l.setEndAt(r,CKEDITOR.POSITION_BEFORE_END),p=r)}p&&l.startContainer.type==CKEDITOR.NODE_ELEMENT&&l.startContainer.getName()in e&&(r=new CKEDITOR.dom.walker(l),r.evaluator=h,l.startContainer=r.next());p&&l.endContainer.type==CKEDITOR.NODE_ELEMENT&&l.endContainer.getName()in -e&&(r=new CKEDITOR.dom.walker(l),r.evaluator=h,l.endContainer=r.previous());if(p)return b(p)}return 0}function h(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.is("li")}function g(b){return e(b)&&a(b)}var e=CKEDITOR.dom.walker.whitespaces(!0),a=CKEDITOR.dom.walker.bookmark(!1,!0),m=CKEDITOR.TRISTATE_DISABLED,l=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indentlist",{requires:"indent",init:function(a){function c(a){f.specificDefinition.apply(this,arguments);this.requiredContent=["ul","ol"];a.on("key", -function(b){var c=a.elementPath();if("wysiwyg"==a.mode&&b.data.keyCode==this.indentKey&&c){var f=this.getContext(c);!f||this.isIndent&&CKEDITOR.plugins.indentList.firstItemInPath(this.context,c,f)||(a.execCommand(this.relatedGlobal),b.cancel())}},this);this.jobs[this.isIndent?10:30]={refresh:this.isIndent?function(a,b){var c=this.getContext(b),d=CKEDITOR.plugins.indentList.firstItemInPath(this.context,b,c);return c&&this.isIndent&&!d?l:m}:function(a,b){return!this.getContext(b)||this.isIndent?m:l}, -exec:CKEDITOR.tools.bind(b,this)}}var f=CKEDITOR.plugins.indent;f.registerCommands(a,{indentlist:new c(a,"indentlist",!0),outdentlist:new c(a,"outdentlist")});CKEDITOR.tools.extend(c.prototype,f.specificDefinition.prototype,{context:{ol:1,ul:1}})}});CKEDITOR.plugins.indentList={};CKEDITOR.plugins.indentList.firstItemInPath=function(a,b,f){var d=b.contains(h);f||(f=b.contains(a));return f&&d&&d.equals(f.getFirst(h))}})();(function(){function b(b,a){a=void 0===a||a;var g;if(a)g=b.getComputedStyle("text-align"); +a.getAttribute("src");a={width:b.width,height:b.height}}return a},getLinkAttributesGetter:function(){return CKEDITOR.plugins.link.getLinkAttributes},getLinkAttributesParser:function(){return CKEDITOR.plugins.link.parseLinkAttributes}}})();CKEDITOR.config.image2_captionedClass="image";(function(){function b(b,a){var m,k;a.on("refresh",function(a){var b=[h],e;for(e in a.data.states)b.push(a.data.states[e]);this.setState(CKEDITOR.tools.search(b,g)?g:h)},a,null,100);a.on("exec",function(a){m=b.getSelection(); +k=m.createBookmarks(1);a.data||(a.data={});a.data.done=!1},a,null,0);a.on("exec",function(){b.forceNextSelectionCheck();m.selectBookmarks(k)},a,null,100)}var h=CKEDITOR.TRISTATE_DISABLED,g=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indent",{init:function(f){var a=CKEDITOR.plugins.indent.genericDefinition;b(f,f.addCommand("indent",new a(!0)));b(f,f.addCommand("outdent",new a));f.ui.addButton&&(f.ui.addButton("Indent",{label:f.lang.indent.indent,command:"indent",directional:!0,toolbar:"indent,20"}), +f.ui.addButton("Outdent",{label:f.lang.indent.outdent,command:"outdent",directional:!0,toolbar:"indent,10"}));f.on("dirChanged",function(a){var b=f.createRange(),g=a.data.node;b.setStartBefore(g);b.setEndAfter(g);for(var c=new CKEDITOR.dom.walker(b),e;e=c.next();)if(e.type==CKEDITOR.NODE_ELEMENT)if(!e.equals(g)&&e.getDirection())b.setStartAfter(e),c=new CKEDITOR.dom.walker(b);else{var d=f.config.indentClasses;if(d)for(var h="ltr"==a.data.dir?["_rtl",""]:["","_rtl"],y=0;y<d.length;y++)e.hasClass(d[y]+ +h[0])&&(e.removeClass(d[y]+h[0]),e.addClass(d[y]+h[1]));d=e.getStyle("margin-right");h=e.getStyle("margin-left");d?e.setStyle("margin-left",d):e.removeStyle("margin-left");h?e.setStyle("margin-right",h):e.removeStyle("margin-right")}})}});CKEDITOR.plugins.indent={genericDefinition:function(b){this.isIndent=!!b;this.startDisabled=!this.isIndent},specificDefinition:function(b,a,g){this.name=a;this.editor=b;this.jobs={};this.enterBr=b.config.enterMode==CKEDITOR.ENTER_BR;this.isIndent=!!g;this.relatedGlobal= +g?"indent":"outdent";this.indentKey=g?9:CKEDITOR.SHIFT+9;this.database={}},registerCommands:function(b,a){b.on("pluginsLoaded",function(){for(var b in a)(function(a,b){var c=a.getCommand(b.relatedGlobal),e;for(e in b.jobs)c.on("exec",function(c){c.data.done||(a.fire("lockSnapshot"),b.execJob(a,e)&&(c.data.done=!0),a.fire("unlockSnapshot"),CKEDITOR.dom.element.clearAllMarkers(b.database))},this,null,e),c.on("refresh",function(c){c.data.states||(c.data.states={});c.data.states[b.name+"@"+e]=b.refreshJob(a, +e,c.data.path)},this,null,e);a.addFeature(b)})(this,a[b])})}};CKEDITOR.plugins.indent.genericDefinition.prototype={context:"p",exec:function(){}};CKEDITOR.plugins.indent.specificDefinition.prototype={execJob:function(b,a){var g=this.jobs[a];if(g.state!=h)return g.exec.call(this,b)},refreshJob:function(b,a,g){a=this.jobs[a];b.activeFilter.checkFeature(this)?a.state=a.refresh.call(this,b,g):a.state=h;return a.state},getContext:function(b){return b.contains(this.context)}}})();(function(){function b(a){function b(c){for(var h= +k.startContainer,m=k.endContainer;h&&!h.getParent().equals(c);)h=h.getParent();for(;m&&!m.getParent().equals(c);)m=m.getParent();if(!h||!m)return!1;for(var r=[],u=!1;!u;)h.equals(m)&&(u=!0),r.push(h),h=h.getNext();if(1>r.length)return!1;h=c.getParents(!0);for(m=0;m<h.length;m++)if(h[m].getName&&f[h[m].getName()]){c=h[m];break}for(var h=e.isIndent?1:-1,m=r[0],r=r[r.length-1],u=CKEDITOR.plugins.list.listToArray(c,d),v=u[r.getCustomData("listarray_index")].indent,m=m.getCustomData("listarray_index");m<= +r.getCustomData("listarray_index");m++)if(u[m].indent+=h,0<h){for(var C=u[m].parent,q=m-1;0<=q;q--)if(u[q].indent===h){C=u[q].parent;break}u[m].parent=new CKEDITOR.dom.element(C.getName(),C.getDocument())}for(m=r.getCustomData("listarray_index")+1;m<u.length&&u[m].indent>v;m++)u[m].indent+=h;h=CKEDITOR.plugins.list.arrayToList(u,d,null,a.config.enterMode,c.getDirection());if(!e.isIndent){var A;if((A=c.getParent())&&A.is("li"))for(var r=h.listNode.getChildren(),B=[],x,m=r.count()-1;0<=m;m--)(x=r.getItem(m))&& +x.is&&x.is("li")&&B.push(x)}h&&h.listNode.replace(c);if(B&&B.length)for(m=0;m<B.length;m++){for(x=c=B[m];(x=x.getNext())&&x.is&&x.getName()in f;)CKEDITOR.env.needsNbspFiller&&!c.getFirst(g)&&c.append(k.document.createText(" ")),c.append(x);c.insertAfter(A)}h&&a.fire("contentDomInvalidated");return!0}for(var e=this,d=this.database,f=this.context,k,m=a.getSelection(),m=(m&&m.getRanges()).createIterator();k=m.getNextRange();){for(var q=k.getCommonAncestor();q&&(q.type!=CKEDITOR.NODE_ELEMENT||!f[q.getName()]);){if(a.editable().equals(q)){q= +!1;break}q=q.getParent()}q||(q=k.startPath().contains(f))&&k.setEndAt(q,CKEDITOR.POSITION_BEFORE_END);if(!q){var r=k.getEnclosedNode();r&&r.type==CKEDITOR.NODE_ELEMENT&&r.getName()in f&&(k.setStartAt(r,CKEDITOR.POSITION_AFTER_START),k.setEndAt(r,CKEDITOR.POSITION_BEFORE_END),q=r)}q&&k.startContainer.type==CKEDITOR.NODE_ELEMENT&&k.startContainer.getName()in f&&(r=new CKEDITOR.dom.walker(k),r.evaluator=h,k.startContainer=r.next());q&&k.endContainer.type==CKEDITOR.NODE_ELEMENT&&k.endContainer.getName()in +f&&(r=new CKEDITOR.dom.walker(k),r.evaluator=h,k.endContainer=r.previous());if(q)return b(q)}return 0}function h(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.is("li")}function g(b){return f(b)&&a(b)}var f=CKEDITOR.dom.walker.whitespaces(!0),a=CKEDITOR.dom.walker.bookmark(!1,!0),m=CKEDITOR.TRISTATE_DISABLED,k=CKEDITOR.TRISTATE_OFF;CKEDITOR.plugins.add("indentlist",{requires:"indent",init:function(a){function c(a){e.specificDefinition.apply(this,arguments);this.requiredContent=["ul","ol"];a.on("key", +function(b){var c=a.elementPath();if("wysiwyg"==a.mode&&b.data.keyCode==this.indentKey&&c){var e=this.getContext(c);!e||this.isIndent&&CKEDITOR.plugins.indentList.firstItemInPath(this.context,c,e)||(a.execCommand(this.relatedGlobal),b.cancel())}},this);this.jobs[this.isIndent?10:30]={refresh:this.isIndent?function(a,b){var c=this.getContext(b),d=CKEDITOR.plugins.indentList.firstItemInPath(this.context,b,c);return c&&this.isIndent&&!d?k:m}:function(a,b){return!this.getContext(b)||this.isIndent?m:k}, +exec:CKEDITOR.tools.bind(b,this)}}var e=CKEDITOR.plugins.indent;e.registerCommands(a,{indentlist:new c(a,"indentlist",!0),outdentlist:new c(a,"outdentlist")});CKEDITOR.tools.extend(c.prototype,e.specificDefinition.prototype,{context:{ol:1,ul:1}})}});CKEDITOR.plugins.indentList={};CKEDITOR.plugins.indentList.firstItemInPath=function(a,b,e){var d=b.contains(h);e||(e=b.contains(a));return e&&d&&d.equals(e.getFirst(h))}})();(function(){function b(b,a){a=void 0===a||a;var g;if(a)g=b.getComputedStyle("text-align"); else{for(;!b.hasAttribute||!b.hasAttribute("align")&&!b.getStyle("text-align");){g=b.getParent();if(!g)break;b=g}g=b.getStyle("text-align")||b.getAttribute("align")||""}g&&(g=g.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i,""));!g&&a&&(g="rtl"==b.getComputedStyle("direction")?"right":"left");return g}function h(b,a,g){this.editor=b;this.name=a;this.value=g;this.context="p";a=b.config.justifyClasses;var h=b.config.enterMode==CKEDITOR.ENTER_P?"p":"div";if(a){switch(g){case "left":this.cssClassName= a[0];break;case "center":this.cssClassName=a[1];break;case "right":this.cssClassName=a[2];break;case "justify":this.cssClassName=a[3]}this.cssClassRegex=new RegExp("(?:^|\\s+)(?:"+a.join("|")+")(?\x3d$|\\s)");this.requiredContent=h+"("+this.cssClassName+")"}else this.requiredContent=h+"{text-align}";this.allowedContent={"caption div h1 h2 h3 h4 h5 h6 p pre td th li":{propertiesOnly:!0,styles:this.cssClassName?null:"text-align",classes:this.cssClassName||null}};b.config.enterMode==CKEDITOR.ENTER_BR&& -(this.allowedContent.div=!0)}function g(b){var a=b.editor,g=a.createRange();g.setStartBefore(b.data.node);g.setEndAfter(b.data.node);for(var h=new CKEDITOR.dom.walker(g),k;k=h.next();)if(k.type==CKEDITOR.NODE_ELEMENT)if(!k.equals(b.data.node)&&k.getDirection())g.setStartAfter(k),h=new CKEDITOR.dom.walker(g);else{var c=a.config.justifyClasses;c&&(k.hasClass(c[0])?(k.removeClass(c[0]),k.addClass(c[2])):k.hasClass(c[2])&&(k.removeClass(c[2]),k.addClass(c[0])));c=k.getStyle("text-align");"left"==c?k.setStyle("text-align", -"right"):"right"==c&&k.setStyle("text-align","left")}}h.prototype={exec:function(e){var a=e.getSelection(),g=e.config.enterMode;if(a){for(var h=a.createBookmarks(),k=a.getRanges(),c=this.cssClassName,f,d,n=e.config.useComputedState,n=void 0===n||n,w=k.length-1;0<=w;w--)for(f=k[w].createIterator(),f.enlargeBr=g!=CKEDITOR.ENTER_BR;d=f.getNextParagraph(g==CKEDITOR.ENTER_P?"p":"div");)if(!d.isReadOnly()){var v=d.getName(),p;p=e.activeFilter.check(v+"{text-align}");if((v=e.activeFilter.check(v+"("+c+")"))|| -p){d.removeAttribute("align");d.removeStyle("text-align");var r=c&&(d.$.className=CKEDITOR.tools.ltrim(d.$.className.replace(this.cssClassRegex,""))),q=this.state==CKEDITOR.TRISTATE_OFF&&(!n||b(d,!0)!=this.value);c&&v?q?d.addClass(c):r||d.removeAttribute("class"):q&&p&&d.setStyle("text-align",this.value)}}e.focus();e.forceNextSelectionCheck();a.selectBookmarks(h)}},refresh:function(e,a){var g=a.block||a.blockLimit,h=g.getName(),k=g.equals(e.editable()),h=this.cssClassName?e.activeFilter.check(h+"("+ -this.cssClassName+")"):e.activeFilter.check(h+"{text-align}");k&&!CKEDITOR.dtd.$list[a.lastElement.getName()]?this.setState(CKEDITOR.TRISTATE_OFF):!k&&h?this.setState(b(g,this.editor.config.useComputedState)==this.value?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}};CKEDITOR.plugins.add("justify",{init:function(b){if(!b.blockless){var a=new h(b,"justifyleft","left"),m=new h(b,"justifycenter","center"),l=new h(b,"justifyright","right"),k=new h(b,"justifyblock", -"justify");b.addCommand("justifyleft",a);b.addCommand("justifycenter",m);b.addCommand("justifyright",l);b.addCommand("justifyblock",k);b.ui.addButton&&(b.ui.addButton("JustifyLeft",{label:b.lang.common.alignLeft,command:"justifyleft",toolbar:"align,10"}),b.ui.addButton("JustifyCenter",{label:b.lang.common.center,command:"justifycenter",toolbar:"align,20"}),b.ui.addButton("JustifyRight",{label:b.lang.common.alignRight,command:"justifyright",toolbar:"align,30"}),b.ui.addButton("JustifyBlock",{label:b.lang.common.justify, -command:"justifyblock",toolbar:"align,40"}));b.on("dirChanged",g)}}})})();CKEDITOR.plugins.add("menubutton",{requires:"button,menu",onLoad:function(){var b=function(b){var g=this._,e=g.menu;g.state!==CKEDITOR.TRISTATE_DISABLED&&(g.on&&e?e.hide():(g.previousState=g.state,e||(e=g.menu=new CKEDITOR.menu(b,{panel:{className:"cke_menu_panel",attributes:{"aria-label":b.lang.common.options}}}),e.onHide=CKEDITOR.tools.bind(function(){var a=this.command?b.getCommand(this.command).modes:this.modes;this.setState(!a|| -a[b.mode]?g.previousState:CKEDITOR.TRISTATE_DISABLED);g.on=0},this),this.onMenu&&e.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),g.on=1,setTimeout(function(){e.show(CKEDITOR.document.getById(g.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(h){delete h.panel;this.base(h);this.hasArrow="menu";this.click=b},statics:{handler:{create:function(b){return new CKEDITOR.ui.menuButton(b)}}}})},beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_MENUBUTTON, -CKEDITOR.ui.menuButton.handler)}});CKEDITOR.UI_MENUBUTTON="menubutton";"use strict";(function(){CKEDITOR.plugins.add("language",{requires:"menubutton",init:function(b){var h=b.config.language_list||["ar:Arabic:rtl","fr:French","es:Spanish"],g=this,e=b.lang.language,a={},m,l,k,c;b.addCommand("language",{allowedContent:"span[!lang,!dir]",requiredContent:"span[lang,dir]",contextSensitive:!0,exec:function(b,c){var e=a["language_"+c];if(e)b[e.style.checkActive(b.elementPath(),b)?"removeStyle":"applyStyle"](e.style)}, -refresh:function(a){this.setState(g.getCurrentLangElement(a)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)}});for(c=0;c<h.length;c++)m=h[c].split(":"),l=m[0],k="language_"+l,a[k]={label:m[1],langId:l,group:"language",order:c,ltr:"rtl"!=(""+m[2]).toLowerCase(),onClick:function(){b.execCommand("language",this.langId)},role:"menuitemcheckbox"},a[k].style=new CKEDITOR.style({element:"span",attributes:{lang:l,dir:a[k].ltr?"ltr":"rtl"}});a.language_remove={label:e.remove,group:"language_remove",state:CKEDITOR.TRISTATE_DISABLED, -order:a.length,onClick:function(){var a=g.getCurrentLangElement(b);a&&b.execCommand("language",a.getAttribute("lang"))}};b.addMenuGroup("language",1);b.addMenuGroup("language_remove");b.addMenuItems(a);b.ui.add("Language",CKEDITOR.UI_MENUBUTTON,{label:e.button,allowedContent:"span[!lang,!dir]",requiredContent:"span[lang,dir]",toolbar:"bidi,30",command:"language",onMenu:function(){var c={},d=g.getCurrentLangElement(b),e;for(e in a)c[e]=CKEDITOR.TRISTATE_OFF;c.language_remove=d?CKEDITOR.TRISTATE_OFF: -CKEDITOR.TRISTATE_DISABLED;d&&(c["language_"+d.getAttribute("lang")]=CKEDITOR.TRISTATE_ON);return c}});b.addRemoveFormatFilter&&b.addRemoveFormatFilter(function(a){return!(a.is("span")&&a.getAttribute("dir")&&a.getAttribute("lang"))})},getCurrentLangElement:function(b){var h=b.elementPath();b=h&&h.elements;var g;if(h)for(var e=0;e<b.length;e++)h=b[e],!g&&"span"==h.getName()&&h.hasAttribute("dir")&&h.hasAttribute("lang")&&(g=h);return g}})})();(function(){function b(a,b,c,d){for(var f=CKEDITOR.plugins.list.listToArray(b.root, -c),e=[],g=0;g<b.contents.length;g++){var h=b.contents[g];(h=h.getAscendant("li",!0))&&!h.getCustomData("list_item_processed")&&(e.push(h),CKEDITOR.dom.element.setMarker(c,h,"list_item_processed",!0))}for(var h=b.root.getDocument(),k,l,g=0;g<e.length;g++){var m=e[g].getCustomData("listarray_index");k=f[m].parent;k.is(this.type)||(l=h.createElement(this.type),k.copyAttributes(l,{start:1,type:1}),l.removeStyle("list-style-type"),f[m].parent=l)}c=CKEDITOR.plugins.list.arrayToList(f,c,null,a.config.enterMode); -for(var n,f=c.listNode.getChildCount(),g=0;g<f&&(n=c.listNode.getChild(g));g++)n.getName()==this.type&&d.push(n);c.listNode.replace(b.root);a.fire("contentDomInvalidated")}function h(a,b,c){var d=b.contents,f=b.root.getDocument(),e=[];if(1==d.length&&d[0].equals(b.root)){var g=f.createElement("div");d[0].moveChildren&&d[0].moveChildren(g);d[0].append(g);d[0]=g}b=b.contents[0].getParent();for(g=0;g<d.length;g++)b=b.getCommonAncestor(d[g].getParent());a=a.config.useComputedState;var h,k;a=void 0=== -a||a;for(g=0;g<d.length;g++)for(var l=d[g],m;m=l.getParent();){if(m.equals(b)){e.push(l);!k&&l.getDirection()&&(k=1);l=l.getDirection(a);null!==h&&(h=h&&h!=l?null:l);break}l=m}if(!(1>e.length)){d=e[e.length-1].getNext();g=f.createElement(this.type);for(c.push(g);e.length;)c=e.shift(),a=f.createElement("li"),l=c,l.is("pre")||p.test(l.getName())||"false"==l.getAttribute("contenteditable")?c.appendTo(a):(c.copyAttributes(a),h&&c.getDirection()&&(a.removeStyle("direction"),a.removeAttribute("dir")),c.moveChildren(a), -c.remove()),a.appendTo(g);h&&k&&g.setAttribute("dir",h);d?g.insertBefore(d):g.appendTo(b)}}function g(a,b,c){function d(c){if(!(!(l=k[c?"getFirst":"getLast"]())||l.is&&l.isBlockBoundary()||!(m=b.root[c?"getPrevious":"getNext"](CKEDITOR.dom.walker.invisible(!0)))||m.is&&m.isBlockBoundary({br:1})))a.document.createElement("br")[c?"insertBefore":"insertAfter"](l)}for(var f=CKEDITOR.plugins.list.listToArray(b.root,c),e=[],g=0;g<b.contents.length;g++){var h=b.contents[g];(h=h.getAscendant("li",!0))&&!h.getCustomData("list_item_processed")&& -(e.push(h),CKEDITOR.dom.element.setMarker(c,h,"list_item_processed",!0))}h=null;for(g=0;g<e.length;g++)h=e[g].getCustomData("listarray_index"),f[h].indent=-1;for(g=h+1;g<f.length;g++)if(f[g].indent>f[g-1].indent+1){e=f[g-1].indent+1-f[g].indent;for(h=f[g].indent;f[g]&&f[g].indent>=h;)f[g].indent+=e,g++;g--}var k=CKEDITOR.plugins.list.arrayToList(f,c,null,a.config.enterMode,b.root.getAttribute("dir")).listNode,l,m;d(!0);d();k.replace(b.root);a.fire("contentDomInvalidated")}function e(a,b){this.name= -a;this.context=this.type=b;this.allowedContent=b+" li";this.requiredContent=b}function a(a,b,c,d){for(var f,e;f=a[d?"getLast":"getFirst"](r);)(e=f.getDirection(1))!==b.getDirection(1)&&f.setAttribute("dir",e),f.remove(),c?f[d?"insertBefore":"insertAfter"](c):b.append(f,d),c=f}function m(b){function c(d){var f=b[d?"getPrevious":"getNext"](w);f&&f.type==CKEDITOR.NODE_ELEMENT&&f.is(b.getName())&&(a(b,f,null,!d),b.remove(),b=f)}c();c(1)}function l(a){return a.type==CKEDITOR.NODE_ELEMENT&&(a.getName()in -CKEDITOR.dtd.$block||a.getName()in CKEDITOR.dtd.$listItem)&&CKEDITOR.dtd[a.getName()]["#"]}function k(b,d,f){b.fire("saveSnapshot");f.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var e=f.extractContents();d.trim(!1,!0);var g=d.createBookmark(),h=new CKEDITOR.dom.elementPath(d.startContainer),k=h.block,h=h.lastElement.getAscendant("li",1)||k,l=new CKEDITOR.dom.elementPath(f.startContainer),n=l.contains(CKEDITOR.dtd.$listItem),l=l.contains(CKEDITOR.dtd.$list);k?(k=k.getBogus())&&k.remove():l&&(k=l.getPrevious(w))&& -v(k)&&k.remove();(k=e.getLast())&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("br")&&k.remove();(k=d.startContainer.getChild(d.startOffset))?e.insertBefore(k):d.startContainer.append(e);n&&(e=c(n))&&(h.contains(n)?(a(e,n.getParent(),n),e.remove()):h.append(e));for(;f.checkStartOfBlock()&&f.checkEndOfBlock();){l=f.startPath();e=l.block;if(!e)break;e.is("li")&&(h=e.getParent(),e.equals(h.getLast(w))&&e.equals(h.getFirst(w))&&(e=h));f.moveToPosition(e,CKEDITOR.POSITION_BEFORE_START);e.remove()}f=f.clone();e= -b.editable();f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);f=new CKEDITOR.dom.walker(f);f.evaluator=function(a){return w(a)&&!v(a)};(f=f.next())&&f.type==CKEDITOR.NODE_ELEMENT&&f.getName()in CKEDITOR.dtd.$list&&m(f);d.moveToBookmark(g);d.select();b.fire("saveSnapshot")}function c(a){return(a=a.getLast(w))&&a.type==CKEDITOR.NODE_ELEMENT&&a.getName()in f?a:null}var f={ol:1,ul:1},d=CKEDITOR.dom.walker.whitespaces(),n=CKEDITOR.dom.walker.bookmark(),w=function(a){return!(d(a)||n(a))},v=CKEDITOR.dom.walker.bogus(); -CKEDITOR.plugins.list={listToArray:function(a,b,c,d,e){if(!f[a.getName()])return[];d||(d=0);c||(c=[]);for(var g=0,h=a.getChildCount();g<h;g++){var k=a.getChild(g);k.type==CKEDITOR.NODE_ELEMENT&&k.getName()in CKEDITOR.dtd.$list&&CKEDITOR.plugins.list.listToArray(k,b,c,d+1);if("li"==k.$.nodeName.toLowerCase()){var l={parent:a,indent:d,element:k,contents:[]};e?l.grandparent=e:(l.grandparent=a.getParent(),l.grandparent&&"li"==l.grandparent.$.nodeName.toLowerCase()&&(l.grandparent=l.grandparent.getParent())); -b&&CKEDITOR.dom.element.setMarker(b,k,"listarray_index",c.length);c.push(l);for(var m=0,n=k.getChildCount(),r;m<n;m++)r=k.getChild(m),r.type==CKEDITOR.NODE_ELEMENT&&f[r.getName()]?CKEDITOR.plugins.list.listToArray(r,b,c,d+1,l.grandparent):l.contents.push(r)}}return c},arrayToList:function(a,b,c,d,e){c||(c=0);if(!a||a.length<c+1)return null;for(var g,h=a[c].parent.getDocument(),k=new CKEDITOR.dom.documentFragment(h),l=null,m=c,r=Math.max(a[c].indent,0),p=null,v,F,M=d==CKEDITOR.ENTER_P?"p":"div";;){var H= -a[m];g=H.grandparent;v=H.element.getDirection(1);if(H.indent==r){l&&a[m].parent.getName()==l.getName()||(l=a[m].parent.clone(!1,1),e&&l.setAttribute("dir",e),k.append(l));p=l.append(H.element.clone(0,1));v!=l.getDirection(1)&&p.setAttribute("dir",v);for(g=0;g<H.contents.length;g++)p.append(H.contents[g].clone(1,1));m++}else if(H.indent==Math.max(r,0)+1)H=a[m-1].element.getDirection(1),m=CKEDITOR.plugins.list.arrayToList(a,null,m,d,H!=v?v:null),!p.getChildCount()&&CKEDITOR.env.needsNbspFiller&&7>= -h.$.documentMode&&p.append(h.createText(" ")),p.append(m.listNode),m=m.nextIndex;else if(-1==H.indent&&!c&&g){f[g.getName()]?(p=H.element.clone(!1,!0),v!=g.getDirection(1)&&p.setAttribute("dir",v)):p=new CKEDITOR.dom.documentFragment(h);var l=g.getDirection(1)!=v,J=H.element,D=J.getAttribute("class"),K=J.getAttribute("style"),O=p.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&(d!=CKEDITOR.ENTER_BR||l||K||D),N,Y=H.contents.length,R;for(g=0;g<Y;g++)if(N=H.contents[g],n(N)&&1<Y)O?R=N.clone(1,1):p.append(N.clone(1, -1));else if(N.type==CKEDITOR.NODE_ELEMENT&&N.isBlockBoundary()){l&&!N.getDirection()&&N.setAttribute("dir",v);F=N;var W=J.getAttribute("style");W&&F.setAttribute("style",W.replace(/([^;])$/,"$1;")+(F.getAttribute("style")||""));D&&N.addClass(D);F=null;R&&(p.append(R),R=null);p.append(N.clone(1,1))}else O?(F||(F=h.createElement(M),p.append(F),l&&F.setAttribute("dir",v)),K&&F.setAttribute("style",K),D&&F.setAttribute("class",D),R&&(F.append(R),R=null),F.append(N.clone(1,1))):p.append(N.clone(1,1)); -R&&((F||p).append(R),R=null);p.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&m!=a.length-1&&(CKEDITOR.env.needsBrFiller&&(v=p.getLast())&&v.type==CKEDITOR.NODE_ELEMENT&&v.is("br")&&v.remove(),(v=p.getLast(w))&&v.type==CKEDITOR.NODE_ELEMENT&&v.is(CKEDITOR.dtd.$block)||p.append(h.createElement("br")));v=p.$.nodeName.toLowerCase();"div"!=v&&"p"!=v||p.appendBogus();k.append(p);l=null;m++}else return null;F=null;if(a.length<=m||Math.max(a[m].indent,0)<r)break}if(b)for(a=k.getFirst();a;){if(a.type==CKEDITOR.NODE_ELEMENT&& -(CKEDITOR.dom.element.clearMarkers(b,a),a.getName()in CKEDITOR.dtd.$listItem&&(c=a,h=e=d=void 0,d=c.getDirection()))){for(e=c.getParent();e&&!(h=e.getDirection());)e=e.getParent();d==h&&c.removeAttribute("dir")}a=a.getNextSourceNode()}return{listNode:k,nextIndex:m}}};var p=/^h[1-6]$/,r=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT);e.prototype={exec:function(a){function c(a){return f[a.root.getName()]&&!d(a.root,[CKEDITOR.NODE_COMMENT])}function d(a,b){return CKEDITOR.tools.array.filter(a.getChildren().toArray(), -function(a){return-1===CKEDITOR.tools.array.indexOf(b,a.type)}).length}function e(a){var b=!0;if(0===a.getChildCount())return!1;a.forEach(function(a){if(a.type!==CKEDITOR.NODE_COMMENT)return b=!1},null,!0);return b}this.refresh(a,a.elementPath());var k=a.config,l=a.getSelection(),n=l&&l.getRanges();if(this.state==CKEDITOR.TRISTATE_OFF){var r=a.editable();if(r.getFirst(w)){var p=1==n.length&&n[0];(k=p&&p.getEnclosedNode())&&k.is&&this.type==k.getName()&&this.setState(CKEDITOR.TRISTATE_ON)}else k.enterMode== -CKEDITOR.ENTER_BR?r.appendBogus():n[0].fixBlock(1,k.enterMode==CKEDITOR.ENTER_P?"p":"div"),l.selectRanges(n)}for(var k=l.createBookmarks(!0),r=[],v={},n=n.createIterator(),G=0;(p=n.getNextRange())&&++G;){var I=p.getBoundaryNodes(),L=I.startNode,F=I.endNode;L.type==CKEDITOR.NODE_ELEMENT&&"td"==L.getName()&&p.setStartAt(I.startNode,CKEDITOR.POSITION_AFTER_START);F.type==CKEDITOR.NODE_ELEMENT&&"td"==F.getName()&&p.setEndAt(I.endNode,CKEDITOR.POSITION_BEFORE_END);p=p.createIterator();for(p.forceBrBreak= -this.state==CKEDITOR.TRISTATE_OFF;I=p.getNextParagraph();)if(!I.getCustomData("list_block")&&!e(I)){CKEDITOR.dom.element.setMarker(v,I,"list_block",1);for(var M=a.elementPath(I),L=M.elements,F=0,M=M.blockLimit,H,J=L.length-1;0<=J&&(H=L[J]);J--)if(f[H.getName()]&&M.contains(H)){M.removeCustomData("list_group_object_"+G);(L=H.getCustomData("list_group_object"))?L.contents.push(I):(L={root:H,contents:[I]},r.push(L),CKEDITOR.dom.element.setMarker(v,H,"list_group_object",L));F=1;break}F||(F=M,F.getCustomData("list_group_object_"+ -G)?F.getCustomData("list_group_object_"+G).contents.push(I):(L={root:F,contents:[I]},CKEDITOR.dom.element.setMarker(v,F,"list_group_object_"+G,L),r.push(L)))}}for(H=[];0<r.length;)L=r.shift(),this.state==CKEDITOR.TRISTATE_OFF?c(L)||(f[L.root.getName()]?b.call(this,a,L,v,H):h.call(this,a,L,H)):this.state==CKEDITOR.TRISTATE_ON&&f[L.root.getName()]&&!c(L)&&g.call(this,a,L,v);for(J=0;J<H.length;J++)m(H[J]);CKEDITOR.dom.element.clearAllMarkers(v);l.selectBookmarks(k);a.focus()},refresh:function(a,b){var c= -b.contains(f,1),d=b.blockLimit||b.root;c&&d.contains(c)?this.setState(c.is(this.type)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_OFF)}};CKEDITOR.plugins.add("list",{requires:"indentlist",init:function(a){a.blockless||(a.addCommand("numberedlist",new e("numberedlist","ol")),a.addCommand("bulletedlist",new e("bulletedlist","ul")),a.ui.addButton&&(a.ui.addButton("NumberedList",{label:a.lang.list.numberedlist,command:"numberedlist",directional:!0,toolbar:"list,10"}),a.ui.addButton("BulletedList", -{label:a.lang.list.bulletedlist,command:"bulletedlist",directional:!0,toolbar:"list,20"})),a.on("key",function(b){var d=b.data.domEvent.getKey(),e;if("wysiwyg"==a.mode&&d in{8:1,46:1}){var g=a.getSelection().getRanges()[0],h=g&&g.startPath();if(g&&g.collapsed){var m=8==d,n=a.editable(),r=new CKEDITOR.dom.walker(g.clone());r.evaluator=function(a){return w(a)&&!v(a)};r.guard=function(a,b){return!(b&&a.type==CKEDITOR.NODE_ELEMENT&&a.is("table"))};d=g.clone();if(m){var p;(p=h.contains(f))&&g.checkBoundaryOfElement(p, -CKEDITOR.START)&&(p=p.getParent())&&p.is("li")&&(p=c(p))?(e=p,p=p.getPrevious(w),d.moveToPosition(p&&v(p)?p:e,CKEDITOR.POSITION_BEFORE_START)):(r.range.setStartAt(n,CKEDITOR.POSITION_AFTER_START),r.range.setEnd(g.startContainer,g.startOffset),(p=r.previous())&&p.type==CKEDITOR.NODE_ELEMENT&&(p.getName()in f||p.is("li"))&&(p.is("li")||(r.range.selectNodeContents(p),r.reset(),r.evaluator=l,p=r.previous()),e=p,d.moveToElementEditEnd(e),d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END))); -if(e)k(a,d,g),b.cancel();else{var G=h.contains(f);G&&g.checkBoundaryOfElement(G,CKEDITOR.START)&&(e=G.getFirst(w),g.checkBoundaryOfElement(e,CKEDITOR.START)&&(p=G.getPrevious(w),c(e)?p&&(g.moveToElementEditEnd(p),g.select()):a.execCommand("outdent"),b.cancel()))}}else if(e=h.contains("li")){if(r.range.setEndAt(n,CKEDITOR.POSITION_BEFORE_END),m=(n=e.getLast(w))&&l(n)?n:e,h=0,(p=r.next())&&p.type==CKEDITOR.NODE_ELEMENT&&p.getName()in f&&p.equals(n)?(h=1,p=r.next()):g.checkBoundaryOfElement(m,CKEDITOR.END)&& -(h=2),h&&p){g=g.clone();g.moveToElementEditStart(p);if(1==h&&(d.optimize(),!d.startContainer.equals(e))){for(e=d.startContainer;e.is(CKEDITOR.dtd.$inline);)G=e,e=e.getParent();G&&d.moveToPosition(G,CKEDITOR.POSITION_AFTER_END)}2==h&&(d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END),g.endPath().block&&g.moveToPosition(g.endPath().block,CKEDITOR.POSITION_AFTER_START));k(a,d,g);b.cancel()}}else r.range.setEndAt(n,CKEDITOR.POSITION_BEFORE_END),(p=r.next())&&p.type==CKEDITOR.NODE_ELEMENT&& -p.is(f)&&(p=p.getFirst(w),h.block&&g.checkStartOfBlock()&&g.checkEndOfBlock()?(h.block.remove(),g.moveToElementEditStart(p),g.select()):c(p)?(g.moveToElementEditStart(p),g.select()):(g=g.clone(),g.moveToElementEditStart(p),k(a,d,g)),b.cancel());setTimeout(function(){a.selectionChange(1)})}}}))}})})();"use strict";(function(){function b(a,b,c){return n(b)&&n(c)&&c.equals(b.getNext(function(a){return!(S(a)||V(a)||w(a))}))}function h(a){this.upper=a[0];this.lower=a[1];this.set.apply(this,a.slice(2))} -function g(a){var b=a.element;if(b&&n(b)&&(b=b.getAscendant(a.triggers,!0))&&a.editable.contains(b)){var c=l(b);if("true"==c.getAttribute("contenteditable"))return b;if(c.is(a.triggers))return c}return null}function e(a,b,c){y(a,b);y(a,c);a=b.size.bottom;c=c.size.top;return a&&c?0|(a+c)/2:a||c}function a(a,b,c){return b=b[c?"getPrevious":"getNext"](function(b){return b&&b.type==CKEDITOR.NODE_TEXT&&!S(b)||n(b)&&!w(b)&&!d(a,b)})}function m(a,b,c){return a>b&&a<c}function l(a,b){if(a.data("cke-editable"))return null; -for(b||(a=a.getParent());a&&!a.data("cke-editable");){if(a.hasAttribute("contenteditable"))return a;a=a.getParent()}return null}function k(a){var b=a.doc,d=G('\x3cspan contenteditable\x3d"false" data-cke-magic-line\x3d"1" style\x3d"'+ca+"position:absolute;border-top:1px dashed "+a.boxColor+'"\x3e\x3c/span\x3e',b),f=CKEDITOR.getUrl(this.path+"images/"+(I.hidpi?"hidpi/":"")+"icon"+(a.rtl?"-rtl":"")+".png");A(d,{attach:function(){this.wrap.getParent()||this.wrap.appendTo(a.editable,!0);return this}, -lineChildren:[A(G('\x3cspan title\x3d"'+a.editor.lang.magicline.title+'" contenteditable\x3d"false"\x3e\x26#8629;\x3c/span\x3e',b),{base:ca+"height:17px;width:17px;"+(a.rtl?"left":"right")+":17px;background:url("+f+") center no-repeat "+a.boxColor+";cursor:pointer;"+(I.hc?"font-size: 15px;line-height:14px;border:1px solid #fff;text-align:center;":"")+(I.hidpi?"background-size: 9px 10px;":""),looks:["top:-8px; border-radius: 2px;","top:-17px; border-radius: 2px 2px 0px 0px;","top:-1px; border-radius: 0px 0px 2px 2px;"]}), -A(G(da,b),{base:aa+"left:0px;border-left-color:"+a.boxColor+";",looks:["border-width:8px 0 8px 8px;top:-8px","border-width:8px 0 0 8px;top:-8px","border-width:0 0 8px 8px;top:0px"]}),A(G(da,b),{base:aa+"right:0px;border-right-color:"+a.boxColor+";",looks:["border-width:8px 8px 8px 0;top:-8px","border-width:8px 8px 0 0;top:-8px","border-width:0 8px 8px 0;top:0px"]})],detach:function(){this.wrap.getParent()&&this.wrap.remove();return this},mouseNear:function(){y(a,this);var b=a.holdDistance,c=this.size; -return c&&m(a.mouse.y,c.top-b,c.bottom+b)&&m(a.mouse.x,c.left-b,c.right+b)?!0:!1},place:function(){var b=a.view,c=a.editable,d=a.trigger,f=d.upper,e=d.lower,g=f||e,h=g.getParent(),k={};this.trigger=d;f&&y(a,f,!0);e&&y(a,e,!0);y(a,h,!0);a.inInlineMode&&u(a,!0);h.equals(c)?(k.left=b.scroll.x,k.right=-b.scroll.x,k.width=""):(k.left=g.size.left-g.size.margin.left+b.scroll.x-(a.inInlineMode?b.editable.left+b.editable.border.left:0),k.width=g.size.outerWidth+g.size.margin.left+g.size.margin.right+b.scroll.x, -k.right="");f&&e?k.top=f.size.margin.bottom===e.size.margin.top?0|f.size.bottom+f.size.margin.bottom/2:f.size.margin.bottom<e.size.margin.top?f.size.bottom+f.size.margin.bottom:f.size.bottom+f.size.margin.bottom-e.size.margin.top:f?e||(k.top=f.size.bottom+f.size.margin.bottom):k.top=e.size.top-e.size.margin.top;d.is(O)||m(k.top,b.scroll.y-15,b.scroll.y+5)?(k.top=a.inInlineMode?0:b.scroll.y,this.look(O)):d.is(N)||m(k.top,b.pane.bottom-5,b.pane.bottom+15)?(k.top=a.inInlineMode?b.editable.height+b.editable.padding.top+ -b.editable.padding.bottom:b.pane.bottom-1,this.look(N)):(a.inInlineMode&&(k.top-=b.editable.top+b.editable.border.top),this.look(Y));a.inInlineMode&&(k.top--,k.top+=b.editable.scroll.top,k.left+=b.editable.scroll.left);for(var l in k)k[l]=CKEDITOR.tools.cssLength(k[l]);this.setStyles(k)},look:function(a){if(this.oldLook!=a){for(var b=this.lineChildren.length,c;b--;)(c=this.lineChildren[b]).setAttribute("style",c.base+c.looks[0|a/2]);this.oldLook=a}},wrap:new E("span",a.doc)});for(b=d.lineChildren.length;b--;)d.lineChildren[b].appendTo(d); -d.look(Y);d.appendTo(d.wrap);d.unselectable();d.lineChildren[0].on("mouseup",function(b){d.detach();c(a,function(b){var c=a.line.trigger;b[c.is(H)?"insertBefore":"insertAfter"](c.is(H)?c.lower:c.upper)},!0);a.editor.focus();I.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();b.data.preventDefault(!0)});d.on("mousedown",function(a){a.data.preventDefault(!0)});a.line=d}function c(a,b,c){var d=new CKEDITOR.dom.range(a.doc),f=a.editor,e;I.ie&&a.enterMode==CKEDITOR.ENTER_BR?e=a.doc.createText(R): -(e=(e=l(a.element,!0))&&e.data("cke-enter-mode")||a.enterMode,e=new E(M[e],a.doc),e.is("br")||a.doc.createText(R).appendTo(e));c&&f.fire("saveSnapshot");b(e);d.moveToPosition(e,CKEDITOR.POSITION_AFTER_START);f.getSelection().selectRanges([d]);a.hotNode=e;c&&f.fire("saveSnapshot")}function f(b,d){return{canUndo:!0,modes:{wysiwyg:1},exec:function(){function f(a){var e=I.ie&&9>I.version?" ":R,g=b.hotNode&&b.hotNode.getText()==e&&b.element.equals(b.hotNode)&&b.lastCmdDirection===!!d;c(b,function(c){g&& -b.hotNode&&b.hotNode.remove();c[d?"insertAfter":"insertBefore"](a);c.setAttributes({"data-cke-magicline-hot":1,"data-cke-magicline-dir":!!d});b.lastCmdDirection=!!d});I.ie||b.enterMode==CKEDITOR.ENTER_BR||b.hotNode.scrollIntoView();b.line.detach()}return function(c){c=c.getSelection().getStartElement();var e;c=c.getAscendant(T,1);if(!r(b,c)&&c&&!c.equals(b.editable)&&!c.contains(b.editable)){(e=l(c))&&"false"==e.getAttribute("contenteditable")&&(c=e);b.element=c;e=a(b,c,!d);var h;n(e)&&e.is(b.triggers)&& -e.is(X)&&(!a(b,e,!d)||(h=a(b,e,!d))&&n(h)&&h.is(b.triggers))?f(e):(h=g(b,c),n(h)&&(a(b,h,!d)?(c=a(b,h,!d))&&n(c)&&c.is(b.triggers)&&f(h):f(h)))}}}()}}function d(a,b){if(!b||b.type!=CKEDITOR.NODE_ELEMENT||!b.$)return!1;var c=a.line;return c.wrap.equals(b)||c.wrap.contains(b)}function n(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.$}function w(a){if(!n(a))return!1;var b;(b=v(a))||(n(a)?(b={left:1,right:1,center:1},b=!(!b[a.getComputedStyle("float")]&&!b[a.getAttribute("align")])):b=!1);return b}function v(a){return!!{absolute:1, -fixed:1}[a.getComputedStyle("position")]}function p(a,b){return n(b)?b.is(a.triggers):null}function r(a,b){if(!b)return!1;for(var c=b.getParents(1),d=c.length;d--;)for(var f=a.tabuList.length;f--;)if(c[d].hasAttribute(a.tabuList[f]))return!0;return!1}function q(a,b,c){b=b[c?"getLast":"getFirst"](function(b){return a.isRelevant(b)&&!b.is(ea)});if(!b)return!1;y(a,b);return c?b.size.top>a.mouse.y:b.size.bottom<a.mouse.y}function x(a){var b=a.editable,c=a.mouse,f=a.view,e=a.triggerOffset;u(a);var g=c.y> -(a.inInlineMode?f.editable.top+f.editable.height/2:Math.min(f.editable.height,f.pane.height)/2),b=b[g?"getLast":"getFirst"](function(a){return!(S(a)||V(a))});if(!b)return null;d(a,b)&&(b=a.line.wrap[g?"getPrevious":"getNext"](function(a){return!(S(a)||V(a))}));if(!n(b)||w(b)||!p(a,b))return null;y(a,b);return!g&&0<=b.size.top&&m(c.y,0,b.size.top+e)?(a=a.inInlineMode||0===f.scroll.y?O:Y,new h([null,b,H,K,a])):g&&b.size.bottom<=f.pane.height&&m(c.y,b.size.bottom-e,f.pane.height)?(a=a.inInlineMode|| -m(b.size.bottom,f.pane.height-e,f.pane.height)?N:Y,new h([b,null,J,K,a])):null}function t(b){var c=b.mouse,d=b.view,f=b.triggerOffset,e=g(b);if(!e)return null;y(b,e);var f=Math.min(f,0|e.size.outerHeight/2),k=[],l,r;if(m(c.y,e.size.top-1,e.size.top+f))r=!1;else if(m(c.y,e.size.bottom-f,e.size.bottom+1))r=!0;else return null;if(w(e)||q(b,e,r)||e.getParent().is(W))return null;var t=a(b,e,!r);if(t){if(t&&t.type==CKEDITOR.NODE_TEXT)return null;if(n(t)){if(w(t)||!p(b,t)||t.getParent().is(W))return null; -k=[t,e][r?"reverse":"concat"]().concat([D,K])}}else e.equals(b.editable[r?"getLast":"getFirst"](b.isRelevant))?(u(b),r&&m(c.y,e.size.bottom-f,d.pane.height)&&m(e.size.bottom,d.pane.height-f,d.pane.height)?l=N:m(c.y,0,e.size.top+f)&&(l=O)):l=Y,k=[null,e][r?"reverse":"concat"]().concat([r?J:H,K,l,e.equals(b.editable[r?"getLast":"getFirst"](b.isRelevant))?r?N:O:Y]);return 0 in k?new h(k):null}function z(a,b,c,d){for(var f=b.getDocumentPosition(),e={},g={},h={},k={},l=Q.length;l--;)e[Q[l]]=parseInt(b.getComputedStyle.call(b, -"border-"+Q[l]+"-width"),10)||0,h[Q[l]]=parseInt(b.getComputedStyle.call(b,"padding-"+Q[l]),10)||0,g[Q[l]]=parseInt(b.getComputedStyle.call(b,"margin-"+Q[l]),10)||0;c&&!d||B(a,d);k.top=f.y-(c?0:a.view.scroll.y);k.left=f.x-(c?0:a.view.scroll.x);k.outerWidth=b.$.offsetWidth;k.outerHeight=b.$.offsetHeight;k.height=k.outerHeight-(h.top+h.bottom+e.top+e.bottom);k.width=k.outerWidth-(h.left+h.right+e.left+e.right);k.bottom=k.top+k.outerHeight;k.right=k.left+k.outerWidth;a.inInlineMode&&(k.scroll={top:b.$.scrollTop, -left:b.$.scrollLeft});return A({border:e,padding:h,margin:g,ignoreScroll:c},k,!0)}function y(a,b,c){if(!n(b))return b.size=null;if(!b.size)b.size={};else if(b.size.ignoreScroll==c&&b.size.date>new Date-Z)return null;return A(b.size,z(a,b,c),{date:+new Date},!0)}function u(a,b){a.view.editable=z(a,a.editable,b,!0)}function B(a,b){a.view||(a.view={});var c=a.view;if(!(!b&&c&&c.date>new Date-Z)){var d=a.win,c=d.getScrollPosition(),d=d.getViewPaneSize();A(a.view,{scroll:{x:c.x,y:c.y,width:a.doc.$.documentElement.scrollWidth- -d.width,height:a.doc.$.documentElement.scrollHeight-d.height},pane:{width:d.width,height:d.height,bottom:d.height+c.y},date:+new Date},!0)}}function C(a,b,c,d){for(var f=d,e=d,g=0,k=!1,l=!1,m=a.view.pane.height,n=a.mouse;n.y+g<m&&0<n.y-g;){k||(k=b(f,d));l||(l=b(e,d));!k&&0<n.y-g&&(f=c(a,{x:n.x,y:n.y-g}));!l&&n.y+g<m&&(e=c(a,{x:n.x,y:n.y+g}));if(k&&l)break;g+=2}return new h([f,e,null,null])}CKEDITOR.plugins.add("magicline",{init:function(b){var e=b.config,l=e.magicline_triggerOffset||30,m={editor:b, -enterMode:e.enterMode,triggerOffset:l,holdDistance:0|l*(e.magicline_holdDistance||.5),boxColor:e.magicline_color||"#ff0000",rtl:"rtl"==e.contentsLangDirection,tabuList:["data-cke-hidden-sel"].concat(e.magicline_tabuList||[]),triggers:e.magicline_everywhere?T:{table:1,hr:1,div:1,ul:1,ol:1,dl:1,form:1,blockquote:1}},q,p,y;m.isRelevant=function(a){return n(a)&&!d(m,a)&&!w(a)};b.on("contentDom",function(){var l=b.editable(),n=b.document,w=b.window;A(m,{editable:l,inInlineMode:l.isInline(),doc:n,win:w, -hotNode:null},!0);m.boundary=m.inInlineMode?m.editable:m.doc.getDocumentElement();l.is(F.$inline)||(m.inInlineMode&&!v(l)&&l.setStyles({position:"relative",top:null,left:null}),k.call(this,m),B(m),l.attachListener(b,"beforeUndoImage",function(){m.line.detach()}),l.attachListener(b,"beforeGetData",function(){m.line.wrap.getParent()&&(m.line.detach(),b.once("getData",function(){m.line.attach()},null,null,1E3))},null,null,0),l.attachListener(m.inInlineMode?n:n.getWindow().getFrame(),"mouseout",function(a){if("wysiwyg"== -b.mode)if(m.inInlineMode){var c=a.data.$.clientX;a=a.data.$.clientY;B(m);u(m,!0);var d=m.view.editable,f=m.view.scroll;c>d.left-f.x&&c<d.right-f.x&&a>d.top-f.y&&a<d.bottom-f.y||(clearTimeout(y),y=null,m.line.detach())}else clearTimeout(y),y=null,m.line.detach()}),l.attachListener(l,"keyup",function(){m.hiddenMode=0}),l.attachListener(l,"keydown",function(a){if("wysiwyg"==b.mode)switch(a.data.getKeystroke()){case 2228240:case 16:m.hiddenMode=1,m.line.detach()}}),l.attachListener(m.inInlineMode?l:n, -"mousemove",function(a){p=!0;if("wysiwyg"==b.mode&&!b.readOnly&&!y){var c={x:a.data.$.clientX,y:a.data.$.clientY};y=setTimeout(function(){m.mouse=c;y=m.trigger=null;B(m);p&&!m.hiddenMode&&b.focusManager.hasFocus&&!m.line.mouseNear()&&(m.element=ba(m,!0))&&((m.trigger=x(m)||t(m)||U(m))&&!r(m,m.trigger.upper||m.trigger.lower)?m.line.attach().place():(m.trigger=null,m.line.detach()),p=!1)},30)}}),l.attachListener(w,"scroll",function(){"wysiwyg"==b.mode&&(m.line.detach(),I.webkit&&(m.hiddenMode=1,clearTimeout(q), -q=setTimeout(function(){m.mouseDown||(m.hiddenMode=0)},50)))}),l.attachListener(L?n:w,"mousedown",function(){"wysiwyg"==b.mode&&(m.line.detach(),m.hiddenMode=1,m.mouseDown=1)}),l.attachListener(L?n:w,"mouseup",function(){m.hiddenMode=0;m.mouseDown=0}),b.addCommand("accessPreviousSpace",f(m)),b.addCommand("accessNextSpace",f(m,!0)),b.setKeystroke([[e.magicline_keystrokePrevious,"accessPreviousSpace"],[e.magicline_keystrokeNext,"accessNextSpace"]]),b.on("loadSnapshot",function(){var a,c,d,f;for(f in{p:1, -br:1,div:1})for(a=b.document.getElementsByTag(f),d=a.count();d--;)if((c=a.getItem(d)).data("cke-magicline-hot")){m.hotNode=c;m.lastCmdDirection="true"===c.data("cke-magicline-dir")?!0:!1;return}}),b._.magiclineBackdoor={accessFocusSpace:c,boxTrigger:h,isLine:d,getAscendantTrigger:g,getNonEmptyNeighbour:a,getSize:z,that:m,triggerEdge:t,triggerEditable:x,triggerExpand:U})},this)}});var A=CKEDITOR.tools.extend,E=CKEDITOR.dom.element,G=E.createFromHtml,I=CKEDITOR.env,L=CKEDITOR.env.ie&&9>CKEDITOR.env.version, -F=CKEDITOR.dtd,M={},H=128,J=64,D=32,K=16,O=4,N=2,Y=1,R=" ",W=F.$listItem,ea=F.$tableContent,X=A({},F.$nonEditable,F.$empty),T=F.$block,Z=100,ca="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;",aa=ca+"border-color:transparent;display:block;border-style:solid;",da="\x3cspan\x3e"+R+"\x3c/span\x3e";M[CKEDITOR.ENTER_BR]="br";M[CKEDITOR.ENTER_P]="p";M[CKEDITOR.ENTER_DIV]="div";h.prototype={set:function(a,b,c){this.properties= -a+b+(c||Y);return this},is:function(a){return(this.properties&a)==a}};var ba=function(){function a(b,c){var d=b.$.elementFromPoint(c.x,c.y);return d&&d.nodeType?new CKEDITOR.dom.element(d):null}return function(b,c,f){if(!b.mouse)return null;var e=b.doc,g=b.line.wrap;f=f||b.mouse;var h=a(e,f);c&&d(b,h)&&(g.hide(),h=a(e,f),g.show());return!h||h.type!=CKEDITOR.NODE_ELEMENT||!h.$||I.ie&&9>I.version&&!b.boundary.equals(h)&&!b.boundary.contains(h)?null:h}}(),S=CKEDITOR.dom.walker.whitespaces(),V=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT), -U=function(){function a(d){var f=d.element,g,h,k;if(!n(f)||f.contains(d.editable)||f.isReadOnly())return null;k=C(d,function(a,b){return!b.equals(a)},function(a,b){return ba(a,!0,b)},f);g=k.upper;h=k.lower;if(b(d,g,h))return k.set(D,8);if(g&&f.contains(g))for(;!g.getParent().equals(f);)g=g.getParent();else g=f.getFirst(function(a){return c(d,a)});if(h&&f.contains(h))for(;!h.getParent().equals(f);)h=h.getParent();else h=f.getLast(function(a){return c(d,a)});if(!g||!h)return null;y(d,g);y(d,h);if(!m(d.mouse.y, -g.size.top,h.size.bottom))return null;for(var f=Number.MAX_VALUE,l,r,q,u;h&&!h.equals(g)&&(r=g.getNext(d.isRelevant));)l=Math.abs(e(d,g,r)-d.mouse.y),l<f&&(f=l,q=g,u=r),g=r,y(d,g);if(!q||!u||!m(d.mouse.y,q.size.top,u.size.bottom))return null;k.upper=q;k.lower=u;return k.set(D,8)}function c(a,b){return!(b&&b.type==CKEDITOR.NODE_TEXT||V(b)||w(b)||d(a,b)||b.type==CKEDITOR.NODE_ELEMENT&&b.$&&b.is("br"))}return function(c){var d=a(c),f;if(f=d){f=d.upper;var e=d.lower;f=!f||!e||w(e)||w(f)||e.equals(f)|| -f.equals(e)||e.contains(f)||f.contains(e)?!1:p(c,f)&&p(c,e)&&b(c,f,e)?!0:!1}return f?d:null}}(),Q=["top","left","right","bottom"]})();CKEDITOR.config.magicline_keystrokePrevious=CKEDITOR.CTRL+CKEDITOR.SHIFT+51;CKEDITOR.config.magicline_keystrokeNext=CKEDITOR.CTRL+CKEDITOR.SHIFT+52;(function(){function b(a){if(!a||a.type!=CKEDITOR.NODE_ELEMENT||"form"!=a.getName())return[];for(var b=[],e=["style","className"],c=0;c<e.length;c++){var f=a.$.elements.namedItem(e[c]);f&&(f=new CKEDITOR.dom.element(f), -b.push([f,f.nextSibling]),f.remove())}return b}function h(a,b){if(a&&a.type==CKEDITOR.NODE_ELEMENT&&"form"==a.getName()&&0<b.length)for(var e=b.length-1;0<=e;e--){var c=b[e][0],f=b[e][1];f?c.insertBefore(f):c.appendTo(a)}}function g(a,e){var g=b(a),c={},f=a.$;e||(c["class"]=f.className||"",f.className="");c.inline=f.style.cssText||"";e||(f.style.cssText="position: static; overflow: visible");h(g);return c}function e(a,e){var g=b(a),c=a.$;"class"in e&&(c.className=e["class"]);"inline"in e&&(c.style.cssText= -e.inline);h(g)}function a(a){if(!a.editable().isInline()){var b=CKEDITOR.instances,e;for(e in b){var c=b[e];"wysiwyg"!=c.mode||c.readOnly||(c=c.document.getBody(),c.setAttribute("contentEditable",!1),c.setAttribute("contentEditable",!0))}a.editable().hasFocus&&(a.toolbox.focus(),a.focus())}}CKEDITOR.plugins.add("maximize",{init:function(b){function h(){var a=f.getViewPaneSize();b.resize(a.width,a.height,null,!0)}if(b.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var k=b.lang,c=CKEDITOR.document,f=c.getWindow(), -d,n,w,v=CKEDITOR.TRISTATE_OFF;b.addCommand("maximize",{modes:{wysiwyg:!CKEDITOR.env.iOS,source:!CKEDITOR.env.iOS},readOnly:1,editorFocus:!1,exec:function(){var p=b.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasClass("cke_inner")}),r=b.ui.space("contents");if("wysiwyg"==b.mode){var q=b.getSelection();d=q&&q.getRanges();n=f.getScrollPosition()}else{var x=b.editable().$;d=!CKEDITOR.env.ie&&[x.selectionStart,x.selectionEnd];n=[x.scrollLeft,x.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){f.on("resize", -h);w=f.getScrollPosition();for(q=b.container;q=q.getParent();)q.setCustomData("maximize_saved_styles",g(q)),q.setStyle("z-index",b.config.baseFloatZIndex-5);r.setCustomData("maximize_saved_styles",g(r,!0));p.setCustomData("maximize_saved_styles",g(p,!0));r={overflow:CKEDITOR.env.webkit?"":"hidden",width:0,height:0};c.getDocumentElement().setStyles(r);!CKEDITOR.env.gecko&&c.getDocumentElement().setStyle("position","fixed");CKEDITOR.env.gecko&&CKEDITOR.env.quirks||c.getBody().setStyles(r);CKEDITOR.env.ie? -setTimeout(function(){f.$.scrollTo(0,0)},0):f.$.scrollTo(0,0);p.setStyle("position",CKEDITOR.env.gecko&&CKEDITOR.env.quirks?"fixed":"absolute");p.$.offsetLeft;p.setStyles({"z-index":b.config.baseFloatZIndex-5,left:"0px",top:"0px"});p.addClass("cke_maximized");h();r=p.getDocumentPosition();p.setStyles({left:-1*r.x+"px",top:-1*r.y+"px"});CKEDITOR.env.gecko&&a(b)}else if(this.state==CKEDITOR.TRISTATE_ON){f.removeListener("resize",h);for(var q=[r,p],t=0;t<q.length;t++)e(q[t],q[t].getCustomData("maximize_saved_styles")), -q[t].removeCustomData("maximize_saved_styles");for(q=b.container;q=q.getParent();)e(q,q.getCustomData("maximize_saved_styles")),q.removeCustomData("maximize_saved_styles");CKEDITOR.env.ie?setTimeout(function(){f.$.scrollTo(w.x,w.y)},0):f.$.scrollTo(w.x,w.y);p.removeClass("cke_maximized");CKEDITOR.env.webkit&&(p.setStyle("display","inline"),setTimeout(function(){p.setStyle("display","block")},0));b.fire("resize",{outerHeight:b.container.$.offsetHeight,contentsHeight:r.$.offsetHeight,outerWidth:b.container.$.offsetWidth})}this.toggleState(); -if(q=this.uiItems[0])r=this.state==CKEDITOR.TRISTATE_OFF?k.maximize.maximize:k.maximize.minimize,q=CKEDITOR.document.getById(q._.id),q.getChild(1).setHtml(r),q.setAttribute("title",r),q.setAttribute("href",'javascript:void("'+r+'");');"wysiwyg"==b.mode?d?(CKEDITOR.env.gecko&&a(b),b.getSelection().selectRanges(d),(x=b.getSelection().getStartElement())&&x.scrollIntoView(!0)):f.$.scrollTo(n.x,n.y):(d&&(x.selectionStart=d[0],x.selectionEnd=d[1]),x.scrollLeft=n[0],x.scrollTop=n[1]);d=n=null;v=this.state; -b.fire("maximize",this.state)},canUndo:!1});b.ui.addButton&&b.ui.addButton("Maximize",{label:k.maximize.maximize,command:"maximize",toolbar:"tools,10"});b.on("mode",function(){var a=b.getCommand("maximize");a.setState(a.state==CKEDITOR.TRISTATE_DISABLED?CKEDITOR.TRISTATE_DISABLED:v)},null,null,100)}}})})();(function(){function b(a,b){return CKEDITOR.tools.array.filter(a,function(a){return a.canHandle(b)}).sort(function(a,b){return a.priority===b.priority?0:a.priority-b.priority})}function h(a,b){var c= -a.shift();c&&c.handle(b,function(){h(a,b)})}function g(a){var b=CKEDITOR.tools.array.reduce(a,function(a,b){return CKEDITOR.tools.array.isArray(b.filters)?a.concat(b.filters):a},[]);return CKEDITOR.tools.array.filter(b,function(a,f){return CKEDITOR.tools.array.indexOf(b,a)===f})}function e(b,e){var c=0,f,d;if(!CKEDITOR.tools.array.isArray(b)||0===b.length)return!0;f=CKEDITOR.tools.array.filter(b,function(b){return-1===CKEDITOR.tools.array.indexOf(a,b)});if(0<f.length)for(d=0;d<f.length;d++)(function(b){CKEDITOR.scriptLoader.queue(b, -function(d){d&&a.push(b);++c===f.length&&e()})})(f[d]);return 0===f.length}var a=[],m=CKEDITOR.tools.createClass({$:function(){this.handlers=[]},proto:{register:function(a){"number"!==typeof a.priority&&(a.priority=10);this.handlers.push(a)},addPasteListener:function(a){a.on("paste",function(k){var c=b(this.handlers,k),f;if(0!==c.length){f=g(c);f=e(f,function(){return a.fire("paste",k.data)});if(!f)return k.cancel();h(c,k)}},this,null,3)}}});CKEDITOR.plugins.add("pastetools",{requires:"clipboard", -beforeInit:function(a){a.pasteTools=new m;a.pasteTools.addPasteListener(a)}});CKEDITOR.plugins.pastetools={filters:{},loadFilters:e,createFilter:function(a){var b=CKEDITOR.tools.array.isArray(a.rules)?a.rules:[a.rules],c=a.additionalTransforms;return function(a,d){var e=new CKEDITOR.htmlParser.basicWriter,g=new CKEDITOR.htmlParser.filter,h;c&&(a=c(a,d));CKEDITOR.tools.array.forEach(b,function(b){g.addRules(b(a,d,g))});h=CKEDITOR.htmlParser.fragment.fromHtml(a);g.applyTo(h);h.writeHtml(e);return e.getHtml()}}, -getClipboardData:function(a,b){var c;return CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"text/html"===b?(c=a.dataTransfer.getData(b,!0))||"text/html"!==b?c:a.dataValue:null},getConfigValue:function(a,b){if(a&&a.config){var c=CKEDITOR.tools,f=a.config,d=c.object.keys(f),e=["pasteTools_"+b,"pasteFromWord_"+b,"pasteFromWord"+c.capitalize(b,!0)],e=c.array.find(e,function(a){return-1!==c.array.indexOf(d,a)});return f[e]}},getContentGeneratorName:function(a){if((a=/<meta\s+name=["']?generator["']?\s+content=["']?(\w+)/gi.exec(a))&& +(this.allowedContent.div=!0)}function g(b){var a=b.editor,g=a.createRange();g.setStartBefore(b.data.node);g.setEndAfter(b.data.node);for(var h=new CKEDITOR.dom.walker(g),l;l=h.next();)if(l.type==CKEDITOR.NODE_ELEMENT)if(!l.equals(b.data.node)&&l.getDirection())g.setStartAfter(l),h=new CKEDITOR.dom.walker(g);else{var c=a.config.justifyClasses;c&&(l.hasClass(c[0])?(l.removeClass(c[0]),l.addClass(c[2])):l.hasClass(c[2])&&(l.removeClass(c[2]),l.addClass(c[0])));c=l.getStyle("text-align");"left"==c?l.setStyle("text-align", +"right"):"right"==c&&l.setStyle("text-align","left")}}h.prototype={exec:function(f){var a=f.getSelection(),g=f.config.enterMode;if(a){for(var h=a.createBookmarks(),l=a.getRanges(),c=this.cssClassName,e,d,n=f.config.useComputedState,n=void 0===n||n,y=l.length-1;0<=y;y--)for(e=l[y].createIterator(),e.enlargeBr=g!=CKEDITOR.ENTER_BR;d=e.getNextParagraph(g==CKEDITOR.ENTER_P?"p":"div");)if(!d.isReadOnly()){var x=d.getName(),q;q=f.activeFilter.check(x+"{text-align}");if((x=f.activeFilter.check(x+"("+c+")"))|| +q){d.removeAttribute("align");d.removeStyle("text-align");var r=c&&(d.$.className=CKEDITOR.tools.ltrim(d.$.className.replace(this.cssClassRegex,""))),p=this.state==CKEDITOR.TRISTATE_OFF&&(!n||b(d,!0)!=this.value);c&&x?p?d.addClass(c):r||d.removeAttribute("class"):p&&q&&d.setStyle("text-align",this.value)}}f.focus();f.forceNextSelectionCheck();a.selectBookmarks(h)}},refresh:function(f,a){var g=a.block||a.blockLimit,h=g.getName(),l=g.equals(f.editable()),h=this.cssClassName?f.activeFilter.check(h+"("+ +this.cssClassName+")"):f.activeFilter.check(h+"{text-align}");l&&!CKEDITOR.dtd.$list[a.lastElement.getName()]?this.setState(CKEDITOR.TRISTATE_OFF):!l&&h?this.setState(b(g,this.editor.config.useComputedState)==this.value?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_DISABLED)}};CKEDITOR.plugins.add("justify",{init:function(b){if(!b.blockless){var a=new h(b,"justifyleft","left"),m=new h(b,"justifycenter","center"),k=new h(b,"justifyright","right"),l=new h(b,"justifyblock", +"justify");b.addCommand("justifyleft",a);b.addCommand("justifycenter",m);b.addCommand("justifyright",k);b.addCommand("justifyblock",l);b.ui.addButton&&(b.ui.addButton("JustifyLeft",{label:b.lang.common.alignLeft,command:"justifyleft",toolbar:"align,10"}),b.ui.addButton("JustifyCenter",{label:b.lang.common.center,command:"justifycenter",toolbar:"align,20"}),b.ui.addButton("JustifyRight",{label:b.lang.common.alignRight,command:"justifyright",toolbar:"align,30"}),b.ui.addButton("JustifyBlock",{label:b.lang.common.justify, +command:"justifyblock",toolbar:"align,40"}));b.on("dirChanged",g)}}})})();CKEDITOR.plugins.add("menubutton",{requires:"button,menu",onLoad:function(){var b=function(b){var g=this._,f=g.menu;g.state!==CKEDITOR.TRISTATE_DISABLED&&(g.on&&f?f.hide():(g.previousState=g.state,f||(f=g.menu=new CKEDITOR.menu(b,{panel:{className:"cke_menu_panel",attributes:{"aria-label":b.lang.common.options}}}),f.onHide=CKEDITOR.tools.bind(function(){var a=this.command?b.getCommand(this.command).modes:this.modes;this.setState(!a|| +a[b.mode]?g.previousState:CKEDITOR.TRISTATE_DISABLED);g.on=0},this),this.onMenu&&f.addListener(this.onMenu)),this.setState(CKEDITOR.TRISTATE_ON),g.on=1,setTimeout(function(){f.show(CKEDITOR.document.getById(g.id),4)},0)))};CKEDITOR.ui.menuButton=CKEDITOR.tools.createClass({base:CKEDITOR.ui.button,$:function(h){delete h.panel;this.base(h);this.hasArrow="menu";this.click=b},statics:{handler:{create:function(b){return new CKEDITOR.ui.menuButton(b)}}}})},beforeInit:function(b){b.ui.addHandler(CKEDITOR.UI_MENUBUTTON, +CKEDITOR.ui.menuButton.handler)}});CKEDITOR.UI_MENUBUTTON="menubutton";"use strict";(function(){CKEDITOR.plugins.add("language",{requires:"menubutton",init:function(b){var h=b.config.language_list||["ar:Arabic:rtl","fr:French","es:Spanish"],g=this,f=b.lang.language,a={},m,k,l,c;b.addCommand("language",{allowedContent:"span[!lang,!dir]",requiredContent:"span[lang,dir]",contextSensitive:!0,exec:function(b,c){var f=a["language_"+c];if(f)b[f.style.checkActive(b.elementPath(),b)?"removeStyle":"applyStyle"](f.style)}, +refresh:function(a){this.setState(g.getCurrentLangElement(a)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF)}});for(c=0;c<h.length;c++)m=h[c].split(":"),k=m[0],l="language_"+k,a[l]={label:m[1],langId:k,group:"language",order:c,ltr:"rtl"!=(""+m[2]).toLowerCase(),onClick:function(){b.execCommand("language",this.langId)},role:"menuitemcheckbox"},a[l].style=new CKEDITOR.style({element:"span",attributes:{lang:k,dir:a[l].ltr?"ltr":"rtl"}});a.language_remove={label:f.remove,group:"language_remove",state:CKEDITOR.TRISTATE_DISABLED, +order:a.length,onClick:function(){var a=g.getCurrentLangElement(b);a&&b.execCommand("language",a.getAttribute("lang"))}};b.addMenuGroup("language",1);b.addMenuGroup("language_remove");b.addMenuItems(a);b.ui.add("Language",CKEDITOR.UI_MENUBUTTON,{label:f.button,allowedContent:"span[!lang,!dir]",requiredContent:"span[lang,dir]",toolbar:"bidi,30",command:"language",onMenu:function(){var c={},d=g.getCurrentLangElement(b),f;for(f in a)c[f]=CKEDITOR.TRISTATE_OFF;c.language_remove=d?CKEDITOR.TRISTATE_OFF: +CKEDITOR.TRISTATE_DISABLED;d&&(c["language_"+d.getAttribute("lang")]=CKEDITOR.TRISTATE_ON);return c}});b.addRemoveFormatFilter&&b.addRemoveFormatFilter(function(a){return!(a.is("span")&&a.getAttribute("dir")&&a.getAttribute("lang"))})},getCurrentLangElement:function(b){var h=b.elementPath();b=h&&h.elements;var g;if(h)for(var f=0;f<b.length;f++)h=b[f],!g&&"span"==h.getName()&&h.hasAttribute("dir")&&h.hasAttribute("lang")&&(g=h);return g}})})();(function(){function b(a,b,c,d){for(var e=CKEDITOR.plugins.list.listToArray(b.root, +c),f=[],g=0;g<b.contents.length;g++){var h=b.contents[g];(h=h.getAscendant("li",!0))&&!h.getCustomData("list_item_processed")&&(f.push(h),CKEDITOR.dom.element.setMarker(c,h,"list_item_processed",!0))}for(var h=b.root.getDocument(),k,l,g=0;g<f.length;g++){var m=f[g].getCustomData("listarray_index");k=e[m].parent;k.is(this.type)||(l=h.createElement(this.type),k.copyAttributes(l,{start:1,type:1}),l.removeStyle("list-style-type"),e[m].parent=l)}c=CKEDITOR.plugins.list.arrayToList(e,c,null,a.config.enterMode); +for(var n,e=c.listNode.getChildCount(),g=0;g<e&&(n=c.listNode.getChild(g));g++)n.getName()==this.type&&d.push(n);c.listNode.replace(b.root);a.fire("contentDomInvalidated")}function h(a,b,c){var d=b.contents,e=b.root.getDocument(),f=[];if(1==d.length&&d[0].equals(b.root)){var g=e.createElement("div");d[0].moveChildren&&d[0].moveChildren(g);d[0].append(g);d[0]=g}b=b.contents[0].getParent();for(g=0;g<d.length;g++)b=b.getCommonAncestor(d[g].getParent());a=a.config.useComputedState;var h,k;a=void 0=== +a||a;for(g=0;g<d.length;g++)for(var l=d[g],m;m=l.getParent();){if(m.equals(b)){f.push(l);!k&&l.getDirection()&&(k=1);l=l.getDirection(a);null!==h&&(h=h&&h!=l?null:l);break}l=m}if(!(1>f.length)){d=f[f.length-1].getNext();g=e.createElement(this.type);for(c.push(g);f.length;)c=f.shift(),a=e.createElement("li"),l=c,l.is("pre")||q.test(l.getName())||"false"==l.getAttribute("contenteditable")?c.appendTo(a):(c.copyAttributes(a),h&&c.getDirection()&&(a.removeStyle("direction"),a.removeAttribute("dir")),c.moveChildren(a), +c.remove()),a.appendTo(g);h&&k&&g.setAttribute("dir",h);d?g.insertBefore(d):g.appendTo(b)}}function g(a,b,c){function d(c){if(!(!(l=k[c?"getFirst":"getLast"]())||l.is&&l.isBlockBoundary()||!(m=b.root[c?"getPrevious":"getNext"](CKEDITOR.dom.walker.invisible(!0)))||m.is&&m.isBlockBoundary({br:1})))a.document.createElement("br")[c?"insertBefore":"insertAfter"](l)}for(var e=CKEDITOR.plugins.list.listToArray(b.root,c),f=[],g=0;g<b.contents.length;g++){var h=b.contents[g];(h=h.getAscendant("li",!0))&&!h.getCustomData("list_item_processed")&& +(f.push(h),CKEDITOR.dom.element.setMarker(c,h,"list_item_processed",!0))}h=null;for(g=0;g<f.length;g++)h=f[g].getCustomData("listarray_index"),e[h].indent=-1;for(g=h+1;g<e.length;g++)if(e[g].indent>e[g-1].indent+1){f=e[g-1].indent+1-e[g].indent;for(h=e[g].indent;e[g]&&e[g].indent>=h;)e[g].indent+=f,g++;g--}var k=CKEDITOR.plugins.list.arrayToList(e,c,null,a.config.enterMode,b.root.getAttribute("dir")).listNode,l,m;d(!0);d();k.replace(b.root);a.fire("contentDomInvalidated")}function f(a,b){this.name= +a;this.context=this.type=b;this.allowedContent=b+" li";this.requiredContent=b}function a(a,b,c,d){for(var e,f;e=a[d?"getLast":"getFirst"](r);)(f=e.getDirection(1))!==b.getDirection(1)&&e.setAttribute("dir",f),e.remove(),c?e[d?"insertBefore":"insertAfter"](c):b.append(e,d),c=e}function m(b){function c(d){var e=b[d?"getPrevious":"getNext"](y);e&&e.type==CKEDITOR.NODE_ELEMENT&&e.is(b.getName())&&(a(b,e,null,!d),b.remove(),b=e)}c();c(1)}function k(a){return a.type==CKEDITOR.NODE_ELEMENT&&(a.getName()in +CKEDITOR.dtd.$block||a.getName()in CKEDITOR.dtd.$listItem)&&CKEDITOR.dtd[a.getName()]["#"]}function l(b,d,e){b.fire("saveSnapshot");e.enlarge(CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS);var f=e.extractContents();d.trim(!1,!0);var g=d.createBookmark(),h=new CKEDITOR.dom.elementPath(d.startContainer),k=h.block,h=h.lastElement.getAscendant("li",1)||k,l=new CKEDITOR.dom.elementPath(e.startContainer),n=l.contains(CKEDITOR.dtd.$listItem),l=l.contains(CKEDITOR.dtd.$list);k?(k=k.getBogus())&&k.remove():l&&(k=l.getPrevious(y))&& +x(k)&&k.remove();(k=f.getLast())&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("br")&&k.remove();(k=d.startContainer.getChild(d.startOffset))?f.insertBefore(k):d.startContainer.append(f);n&&(f=c(n))&&(h.contains(n)?(a(f,n.getParent(),n),f.remove()):h.append(f));for(;e.checkStartOfBlock()&&e.checkEndOfBlock();){l=e.startPath();f=l.block;if(!f)break;f.is("li")&&(h=f.getParent(),f.equals(h.getLast(y))&&f.equals(h.getFirst(y))&&(f=h));e.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);f.remove()}e=e.clone();f= +b.editable();e.setEndAt(f,CKEDITOR.POSITION_BEFORE_END);e=new CKEDITOR.dom.walker(e);e.evaluator=function(a){return y(a)&&!x(a)};(e=e.next())&&e.type==CKEDITOR.NODE_ELEMENT&&e.getName()in CKEDITOR.dtd.$list&&m(e);d.moveToBookmark(g);d.select();b.fire("saveSnapshot")}function c(a){return(a=a.getLast(y))&&a.type==CKEDITOR.NODE_ELEMENT&&a.getName()in e?a:null}var e={ol:1,ul:1},d=CKEDITOR.dom.walker.whitespaces(),n=CKEDITOR.dom.walker.bookmark(),y=function(a){return!(d(a)||n(a))},x=CKEDITOR.dom.walker.bogus(); +CKEDITOR.plugins.list={listToArray:function(a,b,c,d,f){if(!e[a.getName()])return[];d||(d=0);c||(c=[]);for(var g=0,h=a.getChildCount();g<h;g++){var k=a.getChild(g);k.type==CKEDITOR.NODE_ELEMENT&&k.getName()in CKEDITOR.dtd.$list&&CKEDITOR.plugins.list.listToArray(k,b,c,d+1);if("li"==k.$.nodeName.toLowerCase()){var l={parent:a,indent:d,element:k,contents:[]};f?l.grandparent=f:(l.grandparent=a.getParent(),l.grandparent&&"li"==l.grandparent.$.nodeName.toLowerCase()&&(l.grandparent=l.grandparent.getParent())); +b&&CKEDITOR.dom.element.setMarker(b,k,"listarray_index",c.length);c.push(l);for(var m=0,n=k.getChildCount(),r;m<n;m++)r=k.getChild(m),r.type==CKEDITOR.NODE_ELEMENT&&e[r.getName()]?CKEDITOR.plugins.list.listToArray(r,b,c,d+1,l.grandparent):l.contents.push(r)}}return c},arrayToList:function(a,b,c,d,f){c||(c=0);if(!a||a.length<c+1)return null;for(var g,h=a[c].parent.getDocument(),k=new CKEDITOR.dom.documentFragment(h),l=null,m=c,r=Math.max(a[c].indent,0),q=null,x,F,M=d==CKEDITOR.ENTER_P?"p":"div";;){var H= +a[m];g=H.grandparent;x=H.element.getDirection(1);if(H.indent==r){l&&a[m].parent.getName()==l.getName()||(l=a[m].parent.clone(!1,1),f&&l.setAttribute("dir",f),k.append(l));q=l.append(H.element.clone(0,1));x!=l.getDirection(1)&&q.setAttribute("dir",x);for(g=0;g<H.contents.length;g++)q.append(H.contents[g].clone(1,1));m++}else if(H.indent==Math.max(r,0)+1)H=a[m-1].element.getDirection(1),m=CKEDITOR.plugins.list.arrayToList(a,null,m,d,H!=x?x:null),!q.getChildCount()&&CKEDITOR.env.needsNbspFiller&&7>= +h.$.documentMode&&q.append(h.createText(" ")),q.append(m.listNode),m=m.nextIndex;else if(-1==H.indent&&!c&&g){e[g.getName()]?(q=H.element.clone(!1,!0),x!=g.getDirection(1)&&q.setAttribute("dir",x)):q=new CKEDITOR.dom.documentFragment(h);var l=g.getDirection(1)!=x,J=H.element,D=J.getAttribute("class"),K=J.getAttribute("style"),O=q.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&(d!=CKEDITOR.ENTER_BR||l||K||D),N,Y=H.contents.length,Q;for(g=0;g<Y;g++)if(N=H.contents[g],n(N)&&1<Y)O?Q=N.clone(1,1):q.append(N.clone(1, +1));else if(N.type==CKEDITOR.NODE_ELEMENT&&N.isBlockBoundary()){l&&!N.getDirection()&&N.setAttribute("dir",x);F=N;var W=J.getAttribute("style");W&&F.setAttribute("style",W.replace(/([^;])$/,"$1;")+(F.getAttribute("style")||""));D&&N.addClass(D);F=null;Q&&(q.append(Q),Q=null);q.append(N.clone(1,1))}else O?(F||(F=h.createElement(M),q.append(F),l&&F.setAttribute("dir",x)),K&&F.setAttribute("style",K),D&&F.setAttribute("class",D),Q&&(F.append(Q),Q=null),F.append(N.clone(1,1))):q.append(N.clone(1,1)); +Q&&((F||q).append(Q),Q=null);q.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT&&m!=a.length-1&&(CKEDITOR.env.needsBrFiller&&(x=q.getLast())&&x.type==CKEDITOR.NODE_ELEMENT&&x.is("br")&&x.remove(),(x=q.getLast(y))&&x.type==CKEDITOR.NODE_ELEMENT&&x.is(CKEDITOR.dtd.$block)||q.append(h.createElement("br")));x=q.$.nodeName.toLowerCase();"div"!=x&&"p"!=x||q.appendBogus();k.append(q);l=null;m++}else return null;F=null;if(a.length<=m||Math.max(a[m].indent,0)<r)break}if(b)for(a=k.getFirst();a;){if(a.type==CKEDITOR.NODE_ELEMENT&& +(CKEDITOR.dom.element.clearMarkers(b,a),a.getName()in CKEDITOR.dtd.$listItem&&(c=a,h=f=d=void 0,d=c.getDirection()))){for(f=c.getParent();f&&!(h=f.getDirection());)f=f.getParent();d==h&&c.removeAttribute("dir")}a=a.getNextSourceNode()}return{listNode:k,nextIndex:m}}};var q=/^h[1-6]$/,r=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_ELEMENT);f.prototype={exec:function(a){function c(a){return e[a.root.getName()]&&!d(a.root,[CKEDITOR.NODE_COMMENT])}function d(a,b){return CKEDITOR.tools.array.filter(a.getChildren().toArray(), +function(a){return-1===CKEDITOR.tools.array.indexOf(b,a.type)}).length}function f(a){var b=!0;if(0===a.getChildCount())return!1;a.forEach(function(a){if(a.type!==CKEDITOR.NODE_COMMENT)return b=!1},null,!0);return b}this.refresh(a,a.elementPath());var k=a.config,l=a.getSelection(),n=l&&l.getRanges();if(this.state==CKEDITOR.TRISTATE_OFF){var r=a.editable();if(r.getFirst(y)){var q=1==n.length&&n[0];(k=q&&q.getEnclosedNode())&&k.is&&this.type==k.getName()&&this.setState(CKEDITOR.TRISTATE_ON)}else k.enterMode== +CKEDITOR.ENTER_BR?r.appendBogus():n[0].fixBlock(1,k.enterMode==CKEDITOR.ENTER_P?"p":"div"),l.selectRanges(n)}for(var k=l.createBookmarks(!0),r=[],x={},n=n.createIterator(),G=0;(q=n.getNextRange())&&++G;){var I=q.getBoundaryNodes(),L=I.startNode,F=I.endNode;L.type==CKEDITOR.NODE_ELEMENT&&"td"==L.getName()&&q.setStartAt(I.startNode,CKEDITOR.POSITION_AFTER_START);F.type==CKEDITOR.NODE_ELEMENT&&"td"==F.getName()&&q.setEndAt(I.endNode,CKEDITOR.POSITION_BEFORE_END);q=q.createIterator();for(q.forceBrBreak= +this.state==CKEDITOR.TRISTATE_OFF;I=q.getNextParagraph();)if(!I.getCustomData("list_block")&&!f(I)){CKEDITOR.dom.element.setMarker(x,I,"list_block",1);for(var M=a.elementPath(I),L=M.elements,F=0,M=M.blockLimit,H,J=L.length-1;0<=J&&(H=L[J]);J--)if(e[H.getName()]&&M.contains(H)){M.removeCustomData("list_group_object_"+G);(L=H.getCustomData("list_group_object"))?L.contents.push(I):(L={root:H,contents:[I]},r.push(L),CKEDITOR.dom.element.setMarker(x,H,"list_group_object",L));F=1;break}F||(F=M,F.getCustomData("list_group_object_"+ +G)?F.getCustomData("list_group_object_"+G).contents.push(I):(L={root:F,contents:[I]},CKEDITOR.dom.element.setMarker(x,F,"list_group_object_"+G,L),r.push(L)))}}for(H=[];0<r.length;)L=r.shift(),this.state==CKEDITOR.TRISTATE_OFF?c(L)||(e[L.root.getName()]?b.call(this,a,L,x,H):h.call(this,a,L,H)):this.state==CKEDITOR.TRISTATE_ON&&e[L.root.getName()]&&!c(L)&&g.call(this,a,L,x);for(J=0;J<H.length;J++)m(H[J]);CKEDITOR.dom.element.clearAllMarkers(x);l.selectBookmarks(k);a.focus()},refresh:function(a,b){var c= +b.contains(e,1),d=b.blockLimit||b.root;c&&d.contains(c)?this.setState(c.is(this.type)?CKEDITOR.TRISTATE_ON:CKEDITOR.TRISTATE_OFF):this.setState(CKEDITOR.TRISTATE_OFF)}};CKEDITOR.plugins.add("list",{requires:"indentlist",init:function(a){a.blockless||(a.addCommand("numberedlist",new f("numberedlist","ol")),a.addCommand("bulletedlist",new f("bulletedlist","ul")),a.ui.addButton&&(a.ui.addButton("NumberedList",{label:a.lang.list.numberedlist,command:"numberedlist",directional:!0,toolbar:"list,10"}),a.ui.addButton("BulletedList", +{label:a.lang.list.bulletedlist,command:"bulletedlist",directional:!0,toolbar:"list,20"})),a.on("key",function(b){var d=b.data.domEvent.getKey(),f;if("wysiwyg"==a.mode&&d in{8:1,46:1}){var g=a.getSelection().getRanges()[0],h=g&&g.startPath();if(g&&g.collapsed){var m=8==d,n=a.editable(),r=new CKEDITOR.dom.walker(g.clone());r.evaluator=function(a){return y(a)&&!x(a)};r.guard=function(a,b){return!(b&&a.type==CKEDITOR.NODE_ELEMENT&&a.is("table"))};d=g.clone();if(m){var q;(q=h.contains(e))&&g.checkBoundaryOfElement(q, +CKEDITOR.START)&&(q=q.getParent())&&q.is("li")&&(q=c(q))?(f=q,q=q.getPrevious(y),d.moveToPosition(q&&x(q)?q:f,CKEDITOR.POSITION_BEFORE_START)):(r.range.setStartAt(n,CKEDITOR.POSITION_AFTER_START),r.range.setEnd(g.startContainer,g.startOffset),(q=r.previous())&&q.type==CKEDITOR.NODE_ELEMENT&&(q.getName()in e||q.is("li"))&&(q.is("li")||(r.range.selectNodeContents(q),r.reset(),r.evaluator=k,q=r.previous()),f=q,d.moveToElementEditEnd(f),d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END))); +if(f)l(a,d,g),b.cancel();else{var G=h.contains(e);G&&g.checkBoundaryOfElement(G,CKEDITOR.START)&&(f=G.getFirst(y),g.checkBoundaryOfElement(f,CKEDITOR.START)&&(q=G.getPrevious(y),c(f)?q&&(g.moveToElementEditEnd(q),g.select()):a.execCommand("outdent"),b.cancel()))}}else if(f=h.contains("li")){if(r.range.setEndAt(n,CKEDITOR.POSITION_BEFORE_END),m=(n=f.getLast(y))&&k(n)?n:f,h=0,(q=r.next())&&q.type==CKEDITOR.NODE_ELEMENT&&q.getName()in e&&q.equals(n)?(h=1,q=r.next()):g.checkBoundaryOfElement(m,CKEDITOR.END)&& +(h=2),h&&q){g=g.clone();g.moveToElementEditStart(q);if(1==h&&(d.optimize(),!d.startContainer.equals(f))){for(f=d.startContainer;f.is(CKEDITOR.dtd.$inline);)G=f,f=f.getParent();G&&d.moveToPosition(G,CKEDITOR.POSITION_AFTER_END)}2==h&&(d.moveToPosition(d.endPath().block,CKEDITOR.POSITION_BEFORE_END),g.endPath().block&&g.moveToPosition(g.endPath().block,CKEDITOR.POSITION_AFTER_START));l(a,d,g);b.cancel()}}else r.range.setEndAt(n,CKEDITOR.POSITION_BEFORE_END),(q=r.next())&&q.type==CKEDITOR.NODE_ELEMENT&& +q.is(e)&&(q=q.getFirst(y),h.block&&g.checkStartOfBlock()&&g.checkEndOfBlock()?(h.block.remove(),g.moveToElementEditStart(q),g.select()):c(q)?(g.moveToElementEditStart(q),g.select()):(g=g.clone(),g.moveToElementEditStart(q),l(a,d,g)),b.cancel());setTimeout(function(){a.selectionChange(1)})}}}))}})})();"use strict";(function(){function b(a,b,c){return n(b)&&n(c)&&c.equals(b.getNext(function(a){return!(R(a)||V(a)||y(a))}))}function h(a){this.upper=a[0];this.lower=a[1];this.set.apply(this,a.slice(2))} +function g(a){var b=a.element;if(b&&n(b)&&(b=b.getAscendant(a.triggers,!0))&&a.editable.contains(b)){var c=k(b);if("true"==c.getAttribute("contenteditable"))return b;if(c.is(a.triggers))return c}return null}function f(a,b,c){u(a,b);u(a,c);a=b.size.bottom;c=c.size.top;return a&&c?0|(a+c)/2:a||c}function a(a,b,c){return b=b[c?"getPrevious":"getNext"](function(b){return b&&b.type==CKEDITOR.NODE_TEXT&&!R(b)||n(b)&&!y(b)&&!d(a,b)})}function m(a,b,c){return a>b&&a<c}function k(a,b){if(a.data("cke-editable"))return null; +for(b||(a=a.getParent());a&&!a.data("cke-editable");){if(a.hasAttribute("contenteditable"))return a;a=a.getParent()}return null}function l(a){var b=a.doc,d=G('\x3cspan contenteditable\x3d"false" data-cke-magic-line\x3d"1" style\x3d"'+ca+"position:absolute;border-top:1px dashed "+a.boxColor+'"\x3e\x3c/span\x3e',b),e=CKEDITOR.getUrl(this.path+"images/"+(I.hidpi?"hidpi/":"")+"icon"+(a.rtl?"-rtl":"")+".png");A(d,{attach:function(){this.wrap.getParent()||this.wrap.appendTo(a.editable,!0);return this}, +lineChildren:[A(G('\x3cspan title\x3d"'+a.editor.lang.magicline.title+'" contenteditable\x3d"false"\x3e\x26#8629;\x3c/span\x3e',b),{base:ca+"height:17px;width:17px;"+(a.rtl?"left":"right")+":17px;background:url("+e+") center no-repeat "+a.boxColor+";cursor:pointer;"+(I.hc?"font-size: 15px;line-height:14px;border:1px solid #fff;text-align:center;":"")+(I.hidpi?"background-size: 9px 10px;":""),looks:["top:-8px; border-radius: 2px;","top:-17px; border-radius: 2px 2px 0px 0px;","top:-1px; border-radius: 0px 0px 2px 2px;"]}), +A(G(da,b),{base:aa+"left:0px;border-left-color:"+a.boxColor+";",looks:["border-width:8px 0 8px 8px;top:-8px","border-width:8px 0 0 8px;top:-8px","border-width:0 0 8px 8px;top:0px"]}),A(G(da,b),{base:aa+"right:0px;border-right-color:"+a.boxColor+";",looks:["border-width:8px 8px 8px 0;top:-8px","border-width:8px 8px 0 0;top:-8px","border-width:0 8px 8px 0;top:0px"]})],detach:function(){this.wrap.getParent()&&this.wrap.remove();return this},mouseNear:function(){u(a,this);var b=a.holdDistance,c=this.size; +return c&&m(a.mouse.y,c.top-b,c.bottom+b)&&m(a.mouse.x,c.left-b,c.right+b)?!0:!1},place:function(){var b=a.view,c=a.editable,d=a.trigger,e=d.upper,f=d.lower,g=e||f,h=g.getParent(),k={};this.trigger=d;e&&u(a,e,!0);f&&u(a,f,!0);u(a,h,!0);a.inInlineMode&&v(a,!0);h.equals(c)?(k.left=b.scroll.x,k.right=-b.scroll.x,k.width=""):(k.left=g.size.left-g.size.margin.left+b.scroll.x-(a.inInlineMode?b.editable.left+b.editable.border.left:0),k.width=g.size.outerWidth+g.size.margin.left+g.size.margin.right+b.scroll.x, +k.right="");e&&f?k.top=e.size.margin.bottom===f.size.margin.top?0|e.size.bottom+e.size.margin.bottom/2:e.size.margin.bottom<f.size.margin.top?e.size.bottom+e.size.margin.bottom:e.size.bottom+e.size.margin.bottom-f.size.margin.top:e?f||(k.top=e.size.bottom+e.size.margin.bottom):k.top=f.size.top-f.size.margin.top;d.is(O)||m(k.top,b.scroll.y-15,b.scroll.y+5)?(k.top=a.inInlineMode?0:b.scroll.y,this.look(O)):d.is(N)||m(k.top,b.pane.bottom-5,b.pane.bottom+15)?(k.top=a.inInlineMode?b.editable.height+b.editable.padding.top+ +b.editable.padding.bottom:b.pane.bottom-1,this.look(N)):(a.inInlineMode&&(k.top-=b.editable.top+b.editable.border.top),this.look(Y));a.inInlineMode&&(k.top--,k.top+=b.editable.scroll.top,k.left+=b.editable.scroll.left);for(var l in k)k[l]=CKEDITOR.tools.cssLength(k[l]);this.setStyles(k)},look:function(a){if(this.oldLook!=a){for(var b=this.lineChildren.length,c;b--;)(c=this.lineChildren[b]).setAttribute("style",c.base+c.looks[0|a/2]);this.oldLook=a}},wrap:new B("span",a.doc)});for(b=d.lineChildren.length;b--;)d.lineChildren[b].appendTo(d); +d.look(Y);d.appendTo(d.wrap);d.unselectable();d.lineChildren[0].on("mouseup",function(b){d.detach();c(a,function(b){var c=a.line.trigger;b[c.is(H)?"insertBefore":"insertAfter"](c.is(H)?c.lower:c.upper)},!0);a.editor.focus();I.ie||a.enterMode==CKEDITOR.ENTER_BR||a.hotNode.scrollIntoView();b.data.preventDefault(!0)});d.on("mousedown",function(a){a.data.preventDefault(!0)});a.line=d}function c(a,b,c){var d=new CKEDITOR.dom.range(a.doc),e=a.editor,f;I.ie&&a.enterMode==CKEDITOR.ENTER_BR?f=a.doc.createText(Q): +(f=(f=k(a.element,!0))&&f.data("cke-enter-mode")||a.enterMode,f=new B(M[f],a.doc),f.is("br")||a.doc.createText(Q).appendTo(f));c&&e.fire("saveSnapshot");b(f);d.moveToPosition(f,CKEDITOR.POSITION_AFTER_START);e.getSelection().selectRanges([d]);a.hotNode=f;c&&e.fire("saveSnapshot")}function e(b,d){return{canUndo:!0,modes:{wysiwyg:1},exec:function(){function e(a){var f=I.ie&&9>I.version?" ":Q,g=b.hotNode&&b.hotNode.getText()==f&&b.element.equals(b.hotNode)&&b.lastCmdDirection===!!d;c(b,function(c){g&& +b.hotNode&&b.hotNode.remove();c[d?"insertAfter":"insertBefore"](a);c.setAttributes({"data-cke-magicline-hot":1,"data-cke-magicline-dir":!!d});b.lastCmdDirection=!!d});I.ie||b.enterMode==CKEDITOR.ENTER_BR||b.hotNode.scrollIntoView();b.line.detach()}return function(c){c=c.getSelection().getStartElement();var f;c=c.getAscendant(T,1);if(!r(b,c)&&c&&!c.equals(b.editable)&&!c.contains(b.editable)){(f=k(c))&&"false"==f.getAttribute("contenteditable")&&(c=f);b.element=c;f=a(b,c,!d);var h;n(f)&&f.is(b.triggers)&& +f.is(X)&&(!a(b,f,!d)||(h=a(b,f,!d))&&n(h)&&h.is(b.triggers))?e(f):(h=g(b,c),n(h)&&(a(b,h,!d)?(c=a(b,h,!d))&&n(c)&&c.is(b.triggers)&&e(h):e(h)))}}}()}}function d(a,b){if(!b||b.type!=CKEDITOR.NODE_ELEMENT||!b.$)return!1;var c=a.line;return c.wrap.equals(b)||c.wrap.contains(b)}function n(a){return a&&a.type==CKEDITOR.NODE_ELEMENT&&a.$}function y(a){if(!n(a))return!1;var b;(b=x(a))||(n(a)?(b={left:1,right:1,center:1},b=!(!b[a.getComputedStyle("float")]&&!b[a.getAttribute("align")])):b=!1);return b}function x(a){return!!{absolute:1, +fixed:1}[a.getComputedStyle("position")]}function q(a,b){return n(b)?b.is(a.triggers):null}function r(a,b){if(!b)return!1;for(var c=b.getParents(1),d=c.length;d--;)for(var e=a.tabuList.length;e--;)if(c[d].hasAttribute(a.tabuList[e]))return!0;return!1}function p(a,b,c){b=b[c?"getLast":"getFirst"](function(b){return a.isRelevant(b)&&!b.is(ea)});if(!b)return!1;u(a,b);return c?b.size.top>a.mouse.y:b.size.bottom<a.mouse.y}function w(a){var b=a.editable,c=a.mouse,e=a.view,f=a.triggerOffset;v(a);var g=c.y> +(a.inInlineMode?e.editable.top+e.editable.height/2:Math.min(e.editable.height,e.pane.height)/2),b=b[g?"getLast":"getFirst"](function(a){return!(R(a)||V(a))});if(!b)return null;d(a,b)&&(b=a.line.wrap[g?"getPrevious":"getNext"](function(a){return!(R(a)||V(a))}));if(!n(b)||y(b)||!q(a,b))return null;u(a,b);return!g&&0<=b.size.top&&m(c.y,0,b.size.top+f)?(a=a.inInlineMode||0===e.scroll.y?O:Y,new h([null,b,H,K,a])):g&&b.size.bottom<=e.pane.height&&m(c.y,b.size.bottom-f,e.pane.height)?(a=a.inInlineMode|| +m(b.size.bottom,e.pane.height-f,e.pane.height)?N:Y,new h([b,null,J,K,a])):null}function t(b){var c=b.mouse,d=b.view,e=b.triggerOffset,f=g(b);if(!f)return null;u(b,f);var e=Math.min(e,0|f.size.outerHeight/2),k=[],l,r;if(m(c.y,f.size.top-1,f.size.top+e))r=!1;else if(m(c.y,f.size.bottom-e,f.size.bottom+1))r=!0;else return null;if(y(f)||p(b,f,r)||f.getParent().is(W))return null;var t=a(b,f,!r);if(t){if(t&&t.type==CKEDITOR.NODE_TEXT)return null;if(n(t)){if(y(t)||!q(b,t)||t.getParent().is(W))return null; +k=[t,f][r?"reverse":"concat"]().concat([D,K])}}else f.equals(b.editable[r?"getLast":"getFirst"](b.isRelevant))?(v(b),r&&m(c.y,f.size.bottom-e,d.pane.height)&&m(f.size.bottom,d.pane.height-e,d.pane.height)?l=N:m(c.y,0,f.size.top+e)&&(l=O)):l=Y,k=[null,f][r?"reverse":"concat"]().concat([r?J:H,K,l,f.equals(b.editable[r?"getLast":"getFirst"](b.isRelevant))?r?N:O:Y]);return 0 in k?new h(k):null}function z(a,b,c,d){for(var e=b.getDocumentPosition(),f={},g={},h={},k={},l=S.length;l--;)f[S[l]]=parseInt(b.getComputedStyle.call(b, +"border-"+S[l]+"-width"),10)||0,h[S[l]]=parseInt(b.getComputedStyle.call(b,"padding-"+S[l]),10)||0,g[S[l]]=parseInt(b.getComputedStyle.call(b,"margin-"+S[l]),10)||0;c&&!d||C(a,d);k.top=e.y-(c?0:a.view.scroll.y);k.left=e.x-(c?0:a.view.scroll.x);k.outerWidth=b.$.offsetWidth;k.outerHeight=b.$.offsetHeight;k.height=k.outerHeight-(h.top+h.bottom+f.top+f.bottom);k.width=k.outerWidth-(h.left+h.right+f.left+f.right);k.bottom=k.top+k.outerHeight;k.right=k.left+k.outerWidth;a.inInlineMode&&(k.scroll={top:b.$.scrollTop, +left:b.$.scrollLeft});return A({border:f,padding:h,margin:g,ignoreScroll:c},k,!0)}function u(a,b,c){if(!n(b))return b.size=null;if(!b.size)b.size={};else if(b.size.ignoreScroll==c&&b.size.date>new Date-Z)return null;return A(b.size,z(a,b,c),{date:+new Date},!0)}function v(a,b){a.view.editable=z(a,a.editable,b,!0)}function C(a,b){a.view||(a.view={});var c=a.view;if(!(!b&&c&&c.date>new Date-Z)){var d=a.win,c=d.getScrollPosition(),d=d.getViewPaneSize();A(a.view,{scroll:{x:c.x,y:c.y,width:a.doc.$.documentElement.scrollWidth- +d.width,height:a.doc.$.documentElement.scrollHeight-d.height},pane:{width:d.width,height:d.height,bottom:d.height+c.y},date:+new Date},!0)}}function E(a,b,c,d){for(var e=d,f=d,g=0,k=!1,l=!1,m=a.view.pane.height,n=a.mouse;n.y+g<m&&0<n.y-g;){k||(k=b(e,d));l||(l=b(f,d));!k&&0<n.y-g&&(e=c(a,{x:n.x,y:n.y-g}));!l&&n.y+g<m&&(f=c(a,{x:n.x,y:n.y+g}));if(k&&l)break;g+=2}return new h([e,f,null,null])}CKEDITOR.plugins.add("magicline",{init:function(b){var f=b.config,k=f.magicline_triggerOffset||30,m={editor:b, +enterMode:f.enterMode,triggerOffset:k,holdDistance:0|k*(f.magicline_holdDistance||.5),boxColor:f.magicline_color||"#ff0000",rtl:"rtl"==f.contentsLangDirection,tabuList:["data-cke-hidden-sel"].concat(f.magicline_tabuList||[]),triggers:f.magicline_everywhere?T:{table:1,hr:1,div:1,ul:1,ol:1,dl:1,form:1,blockquote:1}},p,u,q;m.isRelevant=function(a){return n(a)&&!d(m,a)&&!y(a)};b.on("contentDom",function(){var k=b.editable(),n=b.document,y=b.window;A(m,{editable:k,inInlineMode:k.isInline(),doc:n,win:y, +hotNode:null},!0);m.boundary=m.inInlineMode?m.editable:m.doc.getDocumentElement();k.is(F.$inline)||(m.inInlineMode&&!x(k)&&k.setStyles({position:"relative",top:null,left:null}),l.call(this,m),C(m),k.attachListener(b,"beforeUndoImage",function(){m.line.detach()}),k.attachListener(b,"beforeGetData",function(){m.line.wrap.getParent()&&(m.line.detach(),b.once("getData",function(){m.line.attach()},null,null,1E3))},null,null,0),k.attachListener(m.inInlineMode?n:n.getWindow().getFrame(),"mouseout",function(a){if("wysiwyg"== +b.mode)if(m.inInlineMode){var c=a.data.$.clientX;a=a.data.$.clientY;C(m);v(m,!0);var d=m.view.editable,e=m.view.scroll;c>d.left-e.x&&c<d.right-e.x&&a>d.top-e.y&&a<d.bottom-e.y||(clearTimeout(q),q=null,m.line.detach())}else clearTimeout(q),q=null,m.line.detach()}),k.attachListener(k,"keyup",function(){m.hiddenMode=0}),k.attachListener(k,"keydown",function(a){if("wysiwyg"==b.mode)switch(a.data.getKeystroke()){case 2228240:case 16:m.hiddenMode=1,m.line.detach()}}),k.attachListener(m.inInlineMode?k:n, +"mousemove",function(a){u=!0;if("wysiwyg"==b.mode&&!b.readOnly&&!q){var c={x:a.data.$.clientX,y:a.data.$.clientY};q=setTimeout(function(){m.mouse=c;q=m.trigger=null;C(m);u&&!m.hiddenMode&&b.focusManager.hasFocus&&!m.line.mouseNear()&&(m.element=ba(m,!0))&&((m.trigger=w(m)||t(m)||U(m))&&!r(m,m.trigger.upper||m.trigger.lower)?m.line.attach().place():(m.trigger=null,m.line.detach()),u=!1)},30)}}),k.attachListener(y,"scroll",function(){"wysiwyg"==b.mode&&(m.line.detach(),I.webkit&&(m.hiddenMode=1,clearTimeout(p), +p=setTimeout(function(){m.mouseDown||(m.hiddenMode=0)},50)))}),k.attachListener(L?n:y,"mousedown",function(){"wysiwyg"==b.mode&&(m.line.detach(),m.hiddenMode=1,m.mouseDown=1)}),k.attachListener(L?n:y,"mouseup",function(){m.hiddenMode=0;m.mouseDown=0}),b.addCommand("accessPreviousSpace",e(m)),b.addCommand("accessNextSpace",e(m,!0)),b.setKeystroke([[f.magicline_keystrokePrevious,"accessPreviousSpace"],[f.magicline_keystrokeNext,"accessNextSpace"]]),b.on("loadSnapshot",function(){var a,c,d,e;for(e in{p:1, +br:1,div:1})for(a=b.document.getElementsByTag(e),d=a.count();d--;)if((c=a.getItem(d)).data("cke-magicline-hot")){m.hotNode=c;m.lastCmdDirection="true"===c.data("cke-magicline-dir")?!0:!1;return}}),b._.magiclineBackdoor={accessFocusSpace:c,boxTrigger:h,isLine:d,getAscendantTrigger:g,getNonEmptyNeighbour:a,getSize:z,that:m,triggerEdge:t,triggerEditable:w,triggerExpand:U})},this)}});var A=CKEDITOR.tools.extend,B=CKEDITOR.dom.element,G=B.createFromHtml,I=CKEDITOR.env,L=CKEDITOR.env.ie&&9>CKEDITOR.env.version, +F=CKEDITOR.dtd,M={},H=128,J=64,D=32,K=16,O=4,N=2,Y=1,Q=" ",W=F.$listItem,ea=F.$tableContent,X=A({},F.$nonEditable,F.$empty),T=F.$block,Z=100,ca="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;",aa=ca+"border-color:transparent;display:block;border-style:solid;",da="\x3cspan\x3e"+Q+"\x3c/span\x3e";M[CKEDITOR.ENTER_BR]="br";M[CKEDITOR.ENTER_P]="p";M[CKEDITOR.ENTER_DIV]="div";h.prototype={set:function(a,b,c){this.properties= +a+b+(c||Y);return this},is:function(a){return(this.properties&a)==a}};var ba=function(){function a(b,c){var d=b.$.elementFromPoint(c.x,c.y);return d&&d.nodeType?new CKEDITOR.dom.element(d):null}return function(b,c,e){if(!b.mouse)return null;var f=b.doc,g=b.line.wrap;e=e||b.mouse;var h=a(f,e);c&&d(b,h)&&(g.hide(),h=a(f,e),g.show());return!h||h.type!=CKEDITOR.NODE_ELEMENT||!h.$||I.ie&&9>I.version&&!b.boundary.equals(h)&&!b.boundary.contains(h)?null:h}}(),R=CKEDITOR.dom.walker.whitespaces(),V=CKEDITOR.dom.walker.nodeType(CKEDITOR.NODE_COMMENT), +U=function(){function a(d){var e=d.element,g,h,k;if(!n(e)||e.contains(d.editable)||e.isReadOnly())return null;k=E(d,function(a,b){return!b.equals(a)},function(a,b){return ba(a,!0,b)},e);g=k.upper;h=k.lower;if(b(d,g,h))return k.set(D,8);if(g&&e.contains(g))for(;!g.getParent().equals(e);)g=g.getParent();else g=e.getFirst(function(a){return c(d,a)});if(h&&e.contains(h))for(;!h.getParent().equals(e);)h=h.getParent();else h=e.getLast(function(a){return c(d,a)});if(!g||!h)return null;u(d,g);u(d,h);if(!m(d.mouse.y, +g.size.top,h.size.bottom))return null;for(var e=Number.MAX_VALUE,l,r,p,v;h&&!h.equals(g)&&(r=g.getNext(d.isRelevant));)l=Math.abs(f(d,g,r)-d.mouse.y),l<e&&(e=l,p=g,v=r),g=r,u(d,g);if(!p||!v||!m(d.mouse.y,p.size.top,v.size.bottom))return null;k.upper=p;k.lower=v;return k.set(D,8)}function c(a,b){return!(b&&b.type==CKEDITOR.NODE_TEXT||V(b)||y(b)||d(a,b)||b.type==CKEDITOR.NODE_ELEMENT&&b.$&&b.is("br"))}return function(c){var d=a(c),e;if(e=d){e=d.upper;var f=d.lower;e=!e||!f||y(f)||y(e)||f.equals(e)|| +e.equals(f)||f.contains(e)||e.contains(f)?!1:q(c,e)&&q(c,f)&&b(c,e,f)?!0:!1}return e?d:null}}(),S=["top","left","right","bottom"]})();CKEDITOR.config.magicline_keystrokePrevious=CKEDITOR.CTRL+CKEDITOR.SHIFT+51;CKEDITOR.config.magicline_keystrokeNext=CKEDITOR.CTRL+CKEDITOR.SHIFT+52;(function(){function b(a){if(!a||a.type!=CKEDITOR.NODE_ELEMENT||"form"!=a.getName())return[];for(var b=[],f=["style","className"],c=0;c<f.length;c++){var e=a.$.elements.namedItem(f[c]);e&&(e=new CKEDITOR.dom.element(e), +b.push([e,e.nextSibling]),e.remove())}return b}function h(a,b){if(a&&a.type==CKEDITOR.NODE_ELEMENT&&"form"==a.getName()&&0<b.length)for(var f=b.length-1;0<=f;f--){var c=b[f][0],e=b[f][1];e?c.insertBefore(e):c.appendTo(a)}}function g(a,f){var g=b(a),c={},e=a.$;f||(c["class"]=e.className||"",e.className="");c.inline=e.style.cssText||"";f||(e.style.cssText="position: static; overflow: visible");h(g);return c}function f(a,f){var g=b(a),c=a.$;"class"in f&&(c.className=f["class"]);"inline"in f&&(c.style.cssText= +f.inline);h(g)}function a(a){if(!a.editable().isInline()){var b=CKEDITOR.instances,f;for(f in b){var c=b[f];"wysiwyg"!=c.mode||c.readOnly||(c=c.document.getBody(),c.setAttribute("contentEditable",!1),c.setAttribute("contentEditable",!0))}a.editable().hasFocus&&(a.toolbox.focus(),a.focus())}}CKEDITOR.plugins.add("maximize",{init:function(b){function h(){var a=e.getViewPaneSize();b.resize(a.width,a.height,null,!0)}if(b.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var l=b.lang,c=CKEDITOR.document,e=c.getWindow(), +d,n,y,x=CKEDITOR.TRISTATE_OFF;b.addCommand("maximize",{modes:{wysiwyg:!CKEDITOR.env.iOS,source:!CKEDITOR.env.iOS},readOnly:1,editorFocus:!1,exec:function(){var q=b.container.getFirst(function(a){return a.type==CKEDITOR.NODE_ELEMENT&&a.hasClass("cke_inner")}),r=b.ui.space("contents");if("wysiwyg"==b.mode){var p=b.getSelection();d=p&&p.getRanges();n=e.getScrollPosition()}else{var w=b.editable().$;d=!CKEDITOR.env.ie&&[w.selectionStart,w.selectionEnd];n=[w.scrollLeft,w.scrollTop]}if(this.state==CKEDITOR.TRISTATE_OFF){e.on("resize", +h);y=e.getScrollPosition();for(p=b.container;p=p.getParent();)p.setCustomData("maximize_saved_styles",g(p)),p.setStyle("z-index",b.config.baseFloatZIndex-5);r.setCustomData("maximize_saved_styles",g(r,!0));q.setCustomData("maximize_saved_styles",g(q,!0));r={overflow:CKEDITOR.env.webkit?"":"hidden",width:0,height:0};c.getDocumentElement().setStyles(r);!CKEDITOR.env.gecko&&c.getDocumentElement().setStyle("position","fixed");CKEDITOR.env.gecko&&CKEDITOR.env.quirks||c.getBody().setStyles(r);CKEDITOR.env.ie? +setTimeout(function(){e.$.scrollTo(0,0)},0):e.$.scrollTo(0,0);q.setStyle("position",CKEDITOR.env.gecko&&CKEDITOR.env.quirks?"fixed":"absolute");q.$.offsetLeft;q.setStyles({"z-index":b.config.baseFloatZIndex-5,left:"0px",top:"0px"});q.addClass("cke_maximized");h();r=q.getDocumentPosition();q.setStyles({left:-1*r.x+"px",top:-1*r.y+"px"});CKEDITOR.env.gecko&&a(b)}else if(this.state==CKEDITOR.TRISTATE_ON){e.removeListener("resize",h);for(var p=[r,q],t=0;t<p.length;t++)f(p[t],p[t].getCustomData("maximize_saved_styles")), +p[t].removeCustomData("maximize_saved_styles");for(p=b.container;p=p.getParent();)f(p,p.getCustomData("maximize_saved_styles")),p.removeCustomData("maximize_saved_styles");CKEDITOR.env.ie?setTimeout(function(){e.$.scrollTo(y.x,y.y)},0):e.$.scrollTo(y.x,y.y);q.removeClass("cke_maximized");CKEDITOR.env.webkit&&(q.setStyle("display","inline"),setTimeout(function(){q.setStyle("display","block")},0));b.fire("resize",{outerHeight:b.container.$.offsetHeight,contentsHeight:r.$.offsetHeight,outerWidth:b.container.$.offsetWidth})}this.toggleState(); +if(p=this.uiItems[0])r=this.state==CKEDITOR.TRISTATE_OFF?l.maximize.maximize:l.maximize.minimize,p=CKEDITOR.document.getById(p._.id),p.getChild(1).setHtml(r),p.setAttribute("title",r),p.setAttribute("href",'javascript:void("'+r+'");');"wysiwyg"==b.mode?d?(CKEDITOR.env.gecko&&a(b),b.getSelection().selectRanges(d),(w=b.getSelection().getStartElement())&&w.scrollIntoView(!0)):e.$.scrollTo(n.x,n.y):(d&&(w.selectionStart=d[0],w.selectionEnd=d[1]),w.scrollLeft=n[0],w.scrollTop=n[1]);d=n=null;x=this.state; +b.fire("maximize",this.state)},canUndo:!1});b.ui.addButton&&b.ui.addButton("Maximize",{label:l.maximize.maximize,command:"maximize",toolbar:"tools,10"});b.on("mode",function(){var a=b.getCommand("maximize");a.setState(a.state==CKEDITOR.TRISTATE_DISABLED?CKEDITOR.TRISTATE_DISABLED:x)},null,null,100)}}})})();(function(){function b(a,b){return CKEDITOR.tools.array.filter(a,function(a){return a.canHandle(b)}).sort(function(a,b){return a.priority===b.priority?0:a.priority-b.priority})}function h(a,b){var c= +a.shift();c&&c.handle(b,function(){h(a,b)})}function g(a){var b=CKEDITOR.tools.array.reduce(a,function(a,b){return CKEDITOR.tools.array.isArray(b.filters)?a.concat(b.filters):a},[]);return CKEDITOR.tools.array.filter(b,function(a,e){return CKEDITOR.tools.array.indexOf(b,a)===e})}function f(b,f){var c=0,e,d;if(!CKEDITOR.tools.array.isArray(b)||0===b.length)return!0;e=CKEDITOR.tools.array.filter(b,function(b){return-1===CKEDITOR.tools.array.indexOf(a,b)});if(0<e.length)for(d=0;d<e.length;d++)(function(b){CKEDITOR.scriptLoader.queue(b, +function(d){d&&a.push(b);++c===e.length&&f()})})(e[d]);return 0===e.length}var a=[],m=CKEDITOR.tools.createClass({$:function(){this.handlers=[]},proto:{register:function(a){"number"!==typeof a.priority&&(a.priority=10);this.handlers.push(a)},addPasteListener:function(a){a.on("paste",function(l){var c=b(this.handlers,l),e;if(0!==c.length){e=g(c);e=f(e,function(){return a.fire("paste",l.data)});if(!e)return l.cancel();h(c,l)}},this,null,3)}}});CKEDITOR.plugins.add("pastetools",{requires:"clipboard", +beforeInit:function(a){a.pasteTools=new m;a.pasteTools.addPasteListener(a)}});CKEDITOR.plugins.pastetools={filters:{},loadFilters:f,createFilter:function(a){var b=CKEDITOR.tools.array.isArray(a.rules)?a.rules:[a.rules],c=a.additionalTransforms;return function(a,d){var f=new CKEDITOR.htmlParser.basicWriter,g=new CKEDITOR.htmlParser.filter,h;c&&(a=c(a,d));CKEDITOR.tools.array.forEach(b,function(b){g.addRules(b(a,d,g))});h=CKEDITOR.htmlParser.fragment.fromHtml(a);g.applyTo(h);h.writeHtml(f);return f.getHtml()}}, +getClipboardData:function(a,b){var c;return CKEDITOR.plugins.clipboard.isCustomDataTypesSupported||"text/html"===b?(c=a.dataTransfer.getData(b,!0))||"text/html"!==b?c:a.dataValue:null},getConfigValue:function(a,b){if(a&&a.config){var c=CKEDITOR.tools,e=a.config,d=c.object.keys(e),f=["pasteTools_"+b,"pasteFromWord_"+b,"pasteFromWord"+c.capitalize(b,!0)],f=c.array.find(f,function(a){return-1!==c.array.indexOf(d,a)});return e[f]}},getContentGeneratorName:function(a){if((a=/<meta\s+name=["']?generator["']?\s+content=["']?(\w+)/gi.exec(a))&& a.length)return a=a[1].toLowerCase(),0===a.indexOf("microsoft")?"microsoft":0===a.indexOf("libreoffice")?"libreoffice":"unknown"}};CKEDITOR.pasteFilters={}})();(function(){CKEDITOR.plugins.add("pastefromgdocs",{requires:"pastetools",init:function(b){var h=CKEDITOR.plugins.getPath("pastetools"),g=this.path;b.pasteTools.register({filters:[CKEDITOR.getUrl(h+"filter/common.js"),CKEDITOR.getUrl(g+"filter/default.js")],canHandle:function(b){return/id=(\"|\')?docs\-internal\-guid\-/.test(b.data.dataValue)}, -handle:function(e,a){var g=e.data,h=CKEDITOR.plugins.pastetools.getClipboardData(g,"text/html");g.dontFilter=!0;g.dataValue=CKEDITOR.pasteFilters.gdocs(h,b);!0===b.config.forcePasteAsPlainText&&(g.type="text");a()}})}})})();(function(){CKEDITOR.plugins.add("pastefromlibreoffice",{requires:"pastetools",isSupportedEnvironment:function(){var b=CKEDITOR.env.ie&&11>=CKEDITOR.env.version;return!(CKEDITOR.env.webkit&&!CKEDITOR.env.chrome)&&!b},init:function(b){if(this.isSupportedEnvironment()){var h=CKEDITOR.plugins.getPath("pastetools"), -g=this.path;b.pasteTools.register({priority:100,filters:[CKEDITOR.getUrl(h+"filter/common.js"),CKEDITOR.getUrl(h+"filter/image.js"),CKEDITOR.getUrl(g+"filter/default.js")],canHandle:function(b){b=b.data;return(b=b.dataTransfer.getData("text/html",!0)||b.dataValue)?"libreoffice"===CKEDITOR.plugins.pastetools.getContentGeneratorName(b):!1},handle:function(e,a){var g=e.data,h=g.dataValue||CKEDITOR.plugins.pastetools.getClipboardData(g,"text/html");g.dontFilter=!0;h=CKEDITOR.pasteFilters.image(h,b,CKEDITOR.plugins.pastetools.getClipboardData(g, -"text/rtf"));g.dataValue=CKEDITOR.pasteFilters.libreoffice(h,b);!0===b.config.forcePasteAsPlainText&&(g.type="text");a()}})}}})})();(function(){CKEDITOR.plugins.add("pastefromword",{requires:"pastetools",init:function(b){function h(a){var b=CKEDITOR.plugins.pastefromword&&CKEDITOR.plugins.pastefromword.images,c,f=[];if(b&&a.editor.filter.check("img[src]")&&(c=b.extractTagsFromHtml(a.data.dataValue),0!==c.length&&(b=b.extractFromRtf(a.data.dataTransfer["text/rtf"]),0!==b.length&&(CKEDITOR.tools.array.forEach(b, -function(a){f.push(a.type?"data:"+a.type+";base64,"+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(a.hex)):null)},this),c.length===f.length))))for(b=0;b<c.length;b++)0===c[b].indexOf("file://")&&f[b]&&(a.data.dataValue=a.data.dataValue.replace(c[b],f[b]))}var g=0,e=CKEDITOR.plugins.getPath("pastetools"),a=this.path,m=void 0===b.config.pasteFromWord_inlineImages?!0:b.config.pasteFromWord_inlineImages,e=[CKEDITOR.getUrl(e+"filter/common.js"),CKEDITOR.getUrl(a+"filter/default.js")]; -b.addCommand("pastefromword",{canUndo:!1,async:!0,exec:function(a,b){g=1;a.execCommand("paste",{type:"html",notification:b&&"undefined"!==typeof b.notification?b.notification:!0})}});CKEDITOR.plugins.clipboard.addPasteButton(b,"PasteFromWord",{label:b.lang.pastefromword.toolbar,command:"pastefromword",toolbar:"clipboard,50"});b.pasteTools.register({filters:b.config.pasteFromWordCleanupFile?[b.config.pasteFromWordCleanupFile]:e,canHandle:function(a){a=CKEDITOR.plugins.pastetools.getClipboardData(a.data, -"text/html");var b=CKEDITOR.plugins.pastetools.getContentGeneratorName(a),c=/(class="?Mso|style=["'][^"]*?\bmso\-|w:WordDocument|<o:\w+>|<\/font>)/,b=b?"microsoft"===b:c.test(a);return a&&(g||b)},handle:function(a,e){var c=a.data,f=CKEDITOR.plugins.pastetools.getClipboardData(c,"text/html"),d=CKEDITOR.plugins.pastetools.getClipboardData(c,"text/rtf"),f={dataValue:f,dataTransfer:{"text/rtf":d}};if(!1!==b.fire("pasteFromWord",f)||g){c.dontFilter=!0;if(g||!b.config.pasteFromWordPromptCleanup||confirm(b.lang.pastefromword.confirmCleanup))f.dataValue= -CKEDITOR.cleanWord(f.dataValue,b),b.fire("afterPasteFromWord",f),c.dataValue=f.dataValue,!0===b.config.forcePasteAsPlainText?c.type="text":CKEDITOR.plugins.clipboard.isCustomCopyCutSupported||"allow-word"!==b.config.forcePasteAsPlainText||(c.type="html");g=0;e()}}});if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported&&m)b.on("afterPasteFromWord",h)}})})();(function(){var b={canUndo:!1,async:!0,exec:function(b,g){var e=b.lang,a=CKEDITOR.tools.keystrokeToString(e.common.keyboard,b.getCommandKeystroke(CKEDITOR.env.ie? -b.commands.paste:this)),m=g&&"undefined"!==typeof g.notification?g.notification:!g||!g.from||"keystrokeHandler"===g.from&&CKEDITOR.env.ie,e=m&&"string"===typeof m?m:e.pastetext.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+a.aria+'"\x3e'+a.display+"\x3c/kbd\x3e");b.execCommand("paste",{type:"text",notification:m?e:!1})}};CKEDITOR.plugins.add("pastetext",{requires:"clipboard",init:function(h){var g=CKEDITOR.env.safari?CKEDITOR.CTRL+CKEDITOR.ALT+CKEDITOR.SHIFT+86:CKEDITOR.CTRL+CKEDITOR.SHIFT+ +handle:function(f,a){var g=f.data,h=CKEDITOR.plugins.pastetools.getClipboardData(g,"text/html");g.dontFilter=!0;g.dataValue=CKEDITOR.pasteFilters.gdocs(h,b);!0===b.config.forcePasteAsPlainText&&(g.type="text");a()}})}})})();(function(){CKEDITOR.plugins.add("pastefromlibreoffice",{requires:"pastetools",isSupportedEnvironment:function(){var b=CKEDITOR.env.ie&&11>=CKEDITOR.env.version;return!(CKEDITOR.env.webkit&&!CKEDITOR.env.chrome)&&!b},init:function(b){if(this.isSupportedEnvironment()){var h=CKEDITOR.plugins.getPath("pastetools"), +g=this.path;b.pasteTools.register({priority:100,filters:[CKEDITOR.getUrl(h+"filter/common.js"),CKEDITOR.getUrl(h+"filter/image.js"),CKEDITOR.getUrl(g+"filter/default.js")],canHandle:function(b){b=b.data;return(b=b.dataTransfer.getData("text/html",!0)||b.dataValue)?"libreoffice"===CKEDITOR.plugins.pastetools.getContentGeneratorName(b):!1},handle:function(f,a){var g=f.data,h=g.dataValue||CKEDITOR.plugins.pastetools.getClipboardData(g,"text/html");g.dontFilter=!0;h=CKEDITOR.pasteFilters.image(h,b,CKEDITOR.plugins.pastetools.getClipboardData(g, +"text/rtf"));g.dataValue=CKEDITOR.pasteFilters.libreoffice(h,b);!0===b.config.forcePasteAsPlainText&&(g.type="text");a()}})}}})})();(function(){CKEDITOR.plugins.add("pastefromword",{requires:"pastetools",init:function(b){function h(a){var b=CKEDITOR.plugins.pastefromword&&CKEDITOR.plugins.pastefromword.images,c,e=[];if(b&&a.editor.filter.check("img[src]")&&(c=b.extractTagsFromHtml(a.data.dataValue),0!==c.length&&(b=b.extractFromRtf(a.data.dataTransfer["text/rtf"]),0!==b.length&&(CKEDITOR.tools.array.forEach(b, +function(a){e.push(a.type?"data:"+a.type+";base64,"+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(a.hex)):null)},this),c.length===e.length))))for(b=0;b<c.length;b++)0===c[b].indexOf("file://")&&e[b]&&(a.data.dataValue=a.data.dataValue.replace(c[b],e[b]))}var g=0,f=CKEDITOR.plugins.getPath("pastetools"),a=this.path,m=void 0===b.config.pasteFromWord_inlineImages?!0:b.config.pasteFromWord_inlineImages,f=[CKEDITOR.getUrl(f+"filter/common.js"),CKEDITOR.getUrl(a+"filter/default.js")]; +b.addCommand("pastefromword",{canUndo:!1,async:!0,exec:function(a,b){g=1;a.execCommand("paste",{type:"html",notification:b&&"undefined"!==typeof b.notification?b.notification:!0})}});CKEDITOR.plugins.clipboard.addPasteButton(b,"PasteFromWord",{label:b.lang.pastefromword.toolbar,command:"pastefromword",toolbar:"clipboard,50"});b.pasteTools.register({filters:b.config.pasteFromWordCleanupFile?[b.config.pasteFromWordCleanupFile]:f,canHandle:function(a){a=CKEDITOR.plugins.pastetools.getClipboardData(a.data, +"text/html");var b=CKEDITOR.plugins.pastetools.getContentGeneratorName(a),c=/(class="?Mso|style=["'][^"]*?\bmso\-|w:WordDocument|<o:\w+>|<\/font>)/,b=b?"microsoft"===b:c.test(a);return a&&(g||b)},handle:function(a,f){var c=a.data,e=CKEDITOR.plugins.pastetools.getClipboardData(c,"text/html"),d=CKEDITOR.plugins.pastetools.getClipboardData(c,"text/rtf"),e={dataValue:e,dataTransfer:{"text/rtf":d}};if(!1!==b.fire("pasteFromWord",e)||g){c.dontFilter=!0;if(g||!b.config.pasteFromWordPromptCleanup||confirm(b.lang.pastefromword.confirmCleanup))e.dataValue= +CKEDITOR.cleanWord(e.dataValue,b),b.fire("afterPasteFromWord",e),c.dataValue=e.dataValue,!0===b.config.forcePasteAsPlainText?c.type="text":CKEDITOR.plugins.clipboard.isCustomCopyCutSupported||"allow-word"!==b.config.forcePasteAsPlainText||(c.type="html");g=0;f()}}});if(CKEDITOR.plugins.clipboard.isCustomDataTypesSupported&&m)b.on("afterPasteFromWord",h)}})})();(function(){var b={canUndo:!1,async:!0,exec:function(b,g){var f=b.lang,a=CKEDITOR.tools.keystrokeToString(f.common.keyboard,b.getCommandKeystroke(CKEDITOR.env.ie? +b.commands.paste:this)),m=g&&"undefined"!==typeof g.notification?g.notification:!g||!g.from||"keystrokeHandler"===g.from&&CKEDITOR.env.ie,f=m&&"string"===typeof m?m:f.pastetext.pasteNotification.replace(/%1/,'\x3ckbd aria-label\x3d"'+a.aria+'"\x3e'+a.display+"\x3c/kbd\x3e");b.execCommand("paste",{type:"text",notification:m?f:!1})}};CKEDITOR.plugins.add("pastetext",{requires:"clipboard",init:function(h){var g=CKEDITOR.env.safari?CKEDITOR.CTRL+CKEDITOR.ALT+CKEDITOR.SHIFT+86:CKEDITOR.CTRL+CKEDITOR.SHIFT+ 86;h.addCommand("pastetext",b);h.setKeystroke(g,"pastetext");CKEDITOR.plugins.clipboard.addPasteButton(h,"PasteText",{label:h.lang.pastetext.button,command:"pastetext",toolbar:"clipboard,40"});if(h.config.forcePasteAsPlainText)h.on("beforePaste",function(b){"html"!=b.data.type&&(b.data.type="text")});h.on("pasteState",function(b){h.getCommand("pastetext").setState(b.data)})}})})();CKEDITOR.plugins.add("removeformat",{init:function(b){b.addCommand("removeFormat",CKEDITOR.plugins.removeformat.commands.removeformat); -b.ui.addButton&&b.ui.addButton("RemoveFormat",{label:b.lang.removeformat.toolbar,command:"removeFormat",toolbar:"cleanup,10"})}});CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(b){for(var h=b._.removeFormatRegex||(b._.removeFormatRegex=new RegExp("^(?:"+b.config.removeFormatTags.replace(/,/g,"|")+")$","i")),g=b._.removeAttributes||(b._.removeAttributes=b.config.removeFormatAttributes.split(",")),e=CKEDITOR.plugins.removeformat.filter,a=b.getSelection().getRanges().createIterator(), -m=function(a){return a.type==CKEDITOR.NODE_ELEMENT},l=[],k;k=a.getNextRange();){var c=k.createBookmark();k=b.createRange();k.setStartBefore(c.startNode);c.endNode&&k.setEndAfter(c.endNode);k.collapsed||k.enlarge(CKEDITOR.ENLARGE_ELEMENT);var f=k.createBookmark(),d=f.startNode,n=f.endNode,w=function(a){for(var c=b.elementPath(a),d=c.elements,f=1,g;(g=d[f])&&!g.equals(c.block)&&!g.equals(c.blockLimit);f++)h.test(g.getName())&&e(b,g)&&a.breakParent(g)};w(d);if(n)for(w(n),d=d.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);d&& -!d.equals(n);)if(d.isReadOnly()){if(d.getPosition(n)&CKEDITOR.POSITION_CONTAINS)break;d=d.getNext(m)}else w=d.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),"img"==d.getName()&&d.data("cke-realelement")||d.hasAttribute("data-cke-bookmark")||!e(b,d)||(h.test(d.getName())?d.remove(1):(d.removeAttributes(g),b.fire("removeFormatCleanup",d))),d=w;f.startNode.remove();f.endNode&&f.endNode.remove();k.moveToBookmark(c);l.push(k)}b.forceNextSelectionCheck();b.getSelection().selectRanges(l)}}},filter:function(b, -h){for(var g=b._.removeFormatFilters||[],e=0;e<g.length;e++)if(!1===g[e](h))return!1;return!0}};CKEDITOR.editor.prototype.addRemoveFormatFilter=function(b){this._.removeFormatFilters||(this._.removeFormatFilters=[]);this._.removeFormatFilters.push(b)};CKEDITOR.config.removeFormatTags="b,big,cite,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var";CKEDITOR.config.removeFormatAttributes="class,style,lang,width,height,align,hspace,valign";(function(){function b(b,e,a){var m, -l;if(a="string"==typeof a?CKEDITOR.document.getById(a):new CKEDITOR.dom.element(a))if(m=b.fire("uiSpace",{space:e,html:""}).html)b.on("uiSpace",function(a){a.data.space==e&&a.cancel()},null,null,1),l=a.append(CKEDITOR.dom.element.createFromHtml(h.output({id:b.id,name:b.name,langDir:b.lang.dir,langCode:b.langCode,space:e,spaceId:b.ui.spaceId(e),content:m}))),a.getCustomData("cke_hasshared")?l.hide():a.setCustomData("cke_hasshared",1),l.unselectable(),l.on("mousedown",function(a){a=a.data;a.getTarget().hasAscendant("a", -1)||a.preventDefault()}),b.focusManager.add(l,1),b.on("focus",function(){for(var b=0,c,f=a.getChildren();c=f.getItem(b);b++)c.type==CKEDITOR.NODE_ELEMENT&&!c.equals(l)&&c.hasClass("cke_shared")&&c.hide();l.show()}),b.on("destroy",function(){l.remove()})}var h=CKEDITOR.addTemplate("sharedcontainer",'\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_shared cke_detached cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko? -" ":"")+'" lang\x3d"{langCode}" role\x3d"presentation"\x3e\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{spaceId}" class\x3d"cke_{space}" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e');CKEDITOR.plugins.add("sharedspace",{init:function(g){g.on("loaded",function(){var e=g.config.sharedSpaces;if(e)for(var a in e)b(g,a,e[a])},null,null,9)}})})();(function(){var b={readOnly:1,preserveState:!0,editorFocus:!1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var g= -this.state!=CKEDITOR.TRISTATE_ON||b.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&!b.focusManager.hasFocus?"removeClass":"attachClass";b.editable()[g]("cke_show_blocks")}}};CKEDITOR.plugins.add("showblocks",{onLoad:function(){var b="p div pre address blockquote h1 h2 h3 h4 h5 h6".split(" "),g,e,a,m,l=CKEDITOR.getUrl(this.path),k=!(CKEDITOR.env.ie&&9>CKEDITOR.env.version),c=k?":not([contenteditable\x3dfalse]):not(.cke_show_blocks_off)":"",f,d;for(g=e=a=m="";f=b.pop();)d=b.length?",":"",g+=".cke_show_blocks "+ -f+c+d,a+=".cke_show_blocks.cke_contents_ltr "+f+c+d,m+=".cke_show_blocks.cke_contents_rtl "+f+c+d,e+=".cke_show_blocks "+f+c+"{background-image:url("+CKEDITOR.getUrl(l+"images/block_"+f+".png")+")}";CKEDITOR.addCss((g+"{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px}").concat(e,a+"{background-position:top left;padding-left:8px}",m+"{background-position:top right;padding-right:8px}"));k||CKEDITOR.addCss(".cke_show_blocks [contenteditable\x3dfalse],.cke_show_blocks .cke_show_blocks_off{border:none;padding-top:0;background-image:none}.cke_show_blocks.cke_contents_rtl [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_rtl .cke_show_blocks_off{padding-right:0}.cke_show_blocks.cke_contents_ltr [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_ltr .cke_show_blocks_off{padding-left:0}")}, -init:function(h){function g(){e.refresh(h)}if(!h.blockless){var e=h.addCommand("showblocks",b);e.canUndo=!1;h.config.startupOutlineBlocks&&e.setState(CKEDITOR.TRISTATE_ON);h.ui.addButton&&h.ui.addButton("ShowBlocks",{label:h.lang.showblocks.toolbar,command:"showblocks",toolbar:"tools,20"});h.on("mode",function(){e.state!=CKEDITOR.TRISTATE_DISABLED&&e.refresh(h)});h.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(h.on("focus",g),h.on("blur",g));h.on("contentDom",function(){e.state!=CKEDITOR.TRISTATE_DISABLED&& -e.refresh(h)})}}})})();(function(){var b={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var g=this.state==CKEDITOR.TRISTATE_ON?"attachClass":"removeClass";b.editable()[g]("cke_show_borders")}}};CKEDITOR.plugins.add("showborders",{modes:{wysiwyg:1},onLoad:function(){var b;b=(CKEDITOR.env.ie6Compat?[".%1 table.%2,",".%1 table.%2 td, .%1 table.%2 th","{","border : #d3d3d3 1px dotted","}"]:".%1 table.%2,;.%1 table.%2 \x3e tr \x3e td, .%1 table.%2 \x3e tr \x3e th,;.%1 table.%2 \x3e tbody \x3e tr \x3e td, .%1 table.%2 \x3e tbody \x3e tr \x3e th,;.%1 table.%2 \x3e thead \x3e tr \x3e td, .%1 table.%2 \x3e thead \x3e tr \x3e th,;.%1 table.%2 \x3e tfoot \x3e tr \x3e td, .%1 table.%2 \x3e tfoot \x3e tr \x3e th;{;border : #d3d3d3 1px dotted;}".split(";")).join("").replace(/%2/g, +b.ui.addButton&&b.ui.addButton("RemoveFormat",{label:b.lang.removeformat.toolbar,command:"removeFormat",toolbar:"cleanup,10"})}});CKEDITOR.plugins.removeformat={commands:{removeformat:{exec:function(b){for(var h=b._.removeFormatRegex||(b._.removeFormatRegex=new RegExp("^(?:"+b.config.removeFormatTags.replace(/,/g,"|")+")$","i")),g=b._.removeAttributes||(b._.removeAttributes=b.config.removeFormatAttributes.split(",")),f=CKEDITOR.plugins.removeformat.filter,a=b.getSelection().getRanges(),m=a.createIterator(), +k=function(a){return a.type==CKEDITOR.NODE_ELEMENT},l;l=m.getNextRange();){l.enlarge(CKEDITOR.ENLARGE_INLINE);var c=l.createBookmark(),e=c.startNode,d=c.endNode,n=function(a){for(var c=b.elementPath(a),d=c.elements,e=1,g;(g=d[e])&&!g.equals(c.block)&&!g.equals(c.blockLimit);e++)h.test(g.getName())&&f(b,g)&&a.breakParent(g)};n(e);if(d)for(n(d),e=e.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT);e&&!e.equals(d);)if(e.isReadOnly()){if(e.getPosition(d)&CKEDITOR.POSITION_CONTAINS)break;e=e.getNext(k)}else n= +e.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT),"img"==e.getName()&&e.data("cke-realelement")||!f(b,e)||(h.test(e.getName())?e.remove(1):(e.removeAttributes(g),b.fire("removeFormatCleanup",e))),e=n;l.moveToBookmark(c)}b.forceNextSelectionCheck();b.getSelection().selectRanges(a)}}},filter:function(b,h){for(var g=b._.removeFormatFilters||[],f=0;f<g.length;f++)if(!1===g[f](h))return!1;return!0}};CKEDITOR.editor.prototype.addRemoveFormatFilter=function(b){this._.removeFormatFilters||(this._.removeFormatFilters= +[]);this._.removeFormatFilters.push(b)};CKEDITOR.config.removeFormatTags="b,big,cite,code,del,dfn,em,font,i,ins,kbd,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var";CKEDITOR.config.removeFormatAttributes="class,style,lang,width,height,align,hspace,valign";(function(){function b(b,f,a){var m,k;if(a="string"==typeof a?CKEDITOR.document.getById(a):new CKEDITOR.dom.element(a))if(m=b.fire("uiSpace",{space:f,html:""}).html)b.on("uiSpace",function(a){a.data.space==f&&a.cancel()},null,null,1),k=a.append(CKEDITOR.dom.element.createFromHtml(h.output({id:b.id, +name:b.name,langDir:b.lang.dir,langCode:b.langCode,space:f,spaceId:b.ui.spaceId(f),content:m}))),a.getCustomData("cke_hasshared")?k.hide():a.setCustomData("cke_hasshared",1),k.unselectable(),k.on("mousedown",function(a){a=a.data;a.getTarget().hasAscendant("a",1)||a.preventDefault()}),b.focusManager.add(k,1),b.on("focus",function(){for(var b=0,c,e=a.getChildren();c=e.getItem(b);b++)c.type==CKEDITOR.NODE_ELEMENT&&!c.equals(k)&&c.hasClass("cke_shared")&&c.hide();k.show()}),b.on("destroy",function(){k.remove()})} +var h=CKEDITOR.addTemplate("sharedcontainer",'\x3cdiv id\x3d"cke_{name}" class\x3d"cke {id} cke_reset_all cke_chrome cke_editor_{name} cke_shared cke_detached cke_{langDir} '+CKEDITOR.env.cssClass+'" dir\x3d"{langDir}" title\x3d"'+(CKEDITOR.env.gecko?" ":"")+'" lang\x3d"{langCode}" role\x3d"presentation"\x3e\x3cdiv class\x3d"cke_inner"\x3e\x3cdiv id\x3d"{spaceId}" class\x3d"cke_{space}" role\x3d"presentation"\x3e{content}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e');CKEDITOR.plugins.add("sharedspace",{init:function(g){g.on("loaded", +function(){var f=g.config.sharedSpaces;if(f)for(var a in f)b(g,a,f[a])},null,null,9)}})})();(function(){var b={readOnly:1,preserveState:!0,editorFocus:!1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var g=this.state!=CKEDITOR.TRISTATE_ON||b.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&!b.focusManager.hasFocus?"removeClass":"attachClass";b.editable()[g]("cke_show_blocks")}}};CKEDITOR.plugins.add("showblocks",{onLoad:function(){var b="p div pre address blockquote h1 h2 h3 h4 h5 h6".split(" "), +g,f,a,m,k=CKEDITOR.getUrl(this.path),l=!(CKEDITOR.env.ie&&9>CKEDITOR.env.version),c=l?":not([contenteditable\x3dfalse]):not(.cke_show_blocks_off)":"",e,d;for(g=f=a=m="";e=b.pop();)d=b.length?",":"",g+=".cke_show_blocks "+e+c+d,a+=".cke_show_blocks.cke_contents_ltr "+e+c+d,m+=".cke_show_blocks.cke_contents_rtl "+e+c+d,f+=".cke_show_blocks "+e+c+"{background-image:url("+CKEDITOR.getUrl(k+"images/block_"+e+".png")+")}";CKEDITOR.addCss((g+"{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px}").concat(f, +a+"{background-position:top left;padding-left:8px}",m+"{background-position:top right;padding-right:8px}"));l||CKEDITOR.addCss(".cke_show_blocks [contenteditable\x3dfalse],.cke_show_blocks .cke_show_blocks_off{border:none;padding-top:0;background-image:none}.cke_show_blocks.cke_contents_rtl [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_rtl .cke_show_blocks_off{padding-right:0}.cke_show_blocks.cke_contents_ltr [contenteditable\x3dfalse],.cke_show_blocks.cke_contents_ltr .cke_show_blocks_off{padding-left:0}")}, +init:function(h){function g(){f.refresh(h)}if(!h.blockless){var f=h.addCommand("showblocks",b);f.canUndo=!1;h.config.startupOutlineBlocks&&f.setState(CKEDITOR.TRISTATE_ON);h.ui.addButton&&h.ui.addButton("ShowBlocks",{label:h.lang.showblocks.toolbar,command:"showblocks",toolbar:"tools,20"});h.on("mode",function(){f.state!=CKEDITOR.TRISTATE_DISABLED&&f.refresh(h)});h.elementMode==CKEDITOR.ELEMENT_MODE_INLINE&&(h.on("focus",g),h.on("blur",g));h.on("contentDom",function(){f.state!=CKEDITOR.TRISTATE_DISABLED&& +f.refresh(h)})}}})})();(function(){var b={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(b){this.toggleState();this.refresh(b)},refresh:function(b){if(b.document){var g=this.state==CKEDITOR.TRISTATE_ON?"attachClass":"removeClass";b.editable()[g]("cke_show_borders")}}};CKEDITOR.plugins.add("showborders",{modes:{wysiwyg:1},onLoad:function(){var b;b=(CKEDITOR.env.ie6Compat?[".%1 table.%2,",".%1 table.%2 td, .%1 table.%2 th","{","border : #d3d3d3 1px dotted","}"]:".%1 table.%2,;.%1 table.%2 \x3e tr \x3e td, .%1 table.%2 \x3e tr \x3e th,;.%1 table.%2 \x3e tbody \x3e tr \x3e td, .%1 table.%2 \x3e tbody \x3e tr \x3e th,;.%1 table.%2 \x3e thead \x3e tr \x3e td, .%1 table.%2 \x3e thead \x3e tr \x3e th,;.%1 table.%2 \x3e tfoot \x3e tr \x3e td, .%1 table.%2 \x3e tfoot \x3e tr \x3e th;{;border : #d3d3d3 1px dotted;}".split(";")).join("").replace(/%2/g, "cke_show_border").replace(/%1/g,"cke_show_borders ");CKEDITOR.addCss(b)},init:function(h){var g=h.addCommand("showborders",b);g.canUndo=!1;!1!==h.config.startupShowBorders&&g.setState(CKEDITOR.TRISTATE_ON);h.on("mode",function(){g.state!=CKEDITOR.TRISTATE_DISABLED&&g.refresh(h)},null,null,100);h.on("contentDom",function(){g.state!=CKEDITOR.TRISTATE_DISABLED&&g.refresh(h)});h.on("removeFormatCleanup",function(b){b=b.data;h.getCommand("showborders").state==CKEDITOR.TRISTATE_ON&&b.is("table")&&(!b.hasAttribute("border")|| 0>=parseInt(b.getAttribute("border"),10))&&b.addClass("cke_show_border")})},afterInit:function(b){var g=b.dataProcessor;b=g&&g.dataFilter;g=g&&g.htmlFilter;b&&b.addRules({elements:{table:function(b){b=b.attributes;var a=b["class"],g=parseInt(b.border,10);g&&!(0>=g)||a&&-1!=a.indexOf("cke_show_border")||(b["class"]=(a||"")+" cke_show_border")}}});g&&g.addRules({elements:{table:function(b){b=b.attributes;var a=b["class"];a&&(b["class"]=a.replace("cke_show_border","").replace(/\s{2}/," ").replace(/^\s+|\s+$/, ""))}}})}});CKEDITOR.on("dialogDefinition",function(b){var g=b.data.name;if("table"==g||"tableProperties"==g)if(b=b.data.definition,g=b.getContents("info").get("txtBorder"),g.commit=CKEDITOR.tools.override(g.commit,function(b){return function(a,g){b.apply(this,arguments);var h=parseInt(this.getValue(),10);g[!h||0>=h?"addClass":"removeClass"]("cke_show_border")}}),b=(b=b.getContents("advanced"))&&b.get("advCSSClasses"))b.setup=CKEDITOR.tools.override(b.setup,function(b){return function(){b.apply(this, arguments);this.setValue(this.getValue().replace(/cke_show_border/,""))}}),b.commit=CKEDITOR.tools.override(b.commit,function(b){return function(a,g){b.apply(this,arguments);parseInt(g.getAttribute("border"),10)||g.addClass("cke_show_border")}})})})();(function(){CKEDITOR.plugins.add("sourcearea",{init:function(h){function g(){var b=a&&this.equals(CKEDITOR.document.getActive());this.hide();this.setStyle("height",this.getParent().$.clientHeight+"px");this.setStyle("width",this.getParent().$.clientWidth+ -"px");this.show();b&&this.focus()}if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var e=CKEDITOR.plugins.sourcearea;h.addMode("source",function(a){var e=h.ui.space("contents").getDocument().createElement("textarea");e.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?"99%":"100%",height:"100%",resize:"none",outline:"none","text-align":"left"},CKEDITOR.tools.cssVendorPrefix("tab-size",h.config.sourceAreaTabSize||4)));e.setAttribute("dir","ltr");e.addClass("cke_source").addClass("cke_reset").addClass("cke_enable_context_menu"); -h.ui.space("contents").append(e);e=h.editable(new b(h,e));e.setData(h.getData(1));CKEDITOR.env.ie&&(e.attachListener(h,"resize",g,e),e.attachListener(CKEDITOR.document.getWindow(),"resize",g,e),CKEDITOR.tools.setTimeout(g,0,e));h.fire("ariaWidget",this);a()});h.addCommand("source",e.commands.source);h.ui.addButton&&h.ui.addButton("Source",{label:h.lang.sourcearea.toolbar,command:"source",toolbar:"mode,10"});h.on("mode",function(){h.getCommand("source").setState("source"==h.mode?CKEDITOR.TRISTATE_ON: +"px");this.show();b&&this.focus()}if(h.elementMode!=CKEDITOR.ELEMENT_MODE_INLINE){var f=CKEDITOR.plugins.sourcearea;h.addMode("source",function(a){var f=h.ui.space("contents").getDocument().createElement("textarea");f.setStyles(CKEDITOR.tools.extend({width:CKEDITOR.env.ie7Compat?"99%":"100%",height:"100%",resize:"none",outline:"none","text-align":"left"},CKEDITOR.tools.cssVendorPrefix("tab-size",h.config.sourceAreaTabSize||4)));f.setAttribute("dir","ltr");f.addClass("cke_source").addClass("cke_reset").addClass("cke_enable_context_menu"); +h.ui.space("contents").append(f);f=h.editable(new b(h,f));f.setData(h.getData(1));CKEDITOR.env.ie&&(f.attachListener(h,"resize",g,f),f.attachListener(CKEDITOR.document.getWindow(),"resize",g,f),CKEDITOR.tools.setTimeout(g,0,f));h.fire("ariaWidget",this);a()});h.addCommand("source",f.commands.source);h.ui.addButton&&h.ui.addButton("Source",{label:h.lang.sourcearea.toolbar,command:"source",toolbar:"mode,10"});h.on("mode",function(){h.getCommand("source").setState("source"==h.mode?CKEDITOR.TRISTATE_ON: CKEDITOR.TRISTATE_OFF)});var a=CKEDITOR.env.ie&&9==CKEDITOR.env.version}}});var b=CKEDITOR.tools.createClass({base:CKEDITOR.editable,proto:{setData:function(b){this.setValue(b);this.status="ready";this.editor.fire("dataReady")},getData:function(){return this.getValue()},insertHtml:function(){},insertElement:function(){},insertText:function(){},setReadOnly:function(b){this[(b?"set":"remove")+"Attribute"]("readOnly","readonly")},detach:function(){b.baseProto.detach.call(this);this.clearCustomData(); this.remove()}}})})();CKEDITOR.plugins.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(b){"wysiwyg"==b.mode&&b.fire("saveSnapshot");b.getCommand("source").setState(CKEDITOR.TRISTATE_DISABLED);b.setMode("source"==b.mode?"wysiwyg":"source")},canUndo:!1}}};CKEDITOR.plugins.add("sourcedialog",{requires:"dialog",init:function(b){b.addCommand("sourcedialog",new CKEDITOR.dialogCommand("sourcedialog"));CKEDITOR.dialog.add("sourcedialog",this.path+"dialogs/sourcedialog.js"); b.ui.addButton&&b.ui.addButton("Sourcedialog",{label:b.lang.sourcedialog.toolbar,command:"sourcedialog",toolbar:"mode,10"})}});CKEDITOR.plugins.add("specialchar",{availableLangs:{af:1,ar:1,az:1,bg:1,ca:1,cs:1,cy:1,da:1,de:1,"de-ch":1,el:1,en:1,"en-au":1,"en-ca":1,"en-gb":1,eo:1,es:1,"es-mx":1,et:1,eu:1,fa:1,fi:1,fr:1,"fr-ca":1,gl:1,he:1,hr:1,hu:1,id:1,it:1,ja:1,km:1,ko:1,ku:1,lt:1,lv:1,nb:1,nl:1,no:1,oc:1,pl:1,pt:1,"pt-br":1,ro:1,ru:1,si:1,sk:1,sl:1,sq:1,sr:1,"sr-latn":1,sv:1,th:1,tr:1,tt:1,ug:1, uk:1,vi:1,zh:1,"zh-cn":1},requires:"dialog",init:function(b){var h=this;CKEDITOR.dialog.add("specialchar",this.path+"dialogs/specialchar.js");b.addCommand("specialchar",{exec:function(){var g=b.langCode,g=h.availableLangs[g]?g:h.availableLangs[g.replace(/-.*/,"")]?g.replace(/-.*/,""):"en";CKEDITOR.scriptLoader.load(CKEDITOR.getUrl(h.path+"dialogs/lang/"+g+".js"),function(){CKEDITOR.tools.extend(b.lang.specialchar,h.langEntries[g]);b.openDialog("specialchar")})},modes:{wysiwyg:1},canUndo:!1});b.ui.addButton&& b.ui.addButton("SpecialChar",{label:b.lang.specialchar.toolbar,command:"specialchar",toolbar:"insert,50"})}});CKEDITOR.config.specialChars="! \x26quot; # $ % \x26amp; ' ( ) * + - . / 0 1 2 3 4 5 6 7 8 9 : ; \x26lt; \x3d \x26gt; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x26euro; \x26lsquo; \x26rsquo; \x26ldquo; \x26rdquo; \x26ndash; \x26mdash; \x26iexcl; \x26cent; \x26pound; \x26curren; \x26yen; \x26brvbar; \x26sect; \x26uml; \x26copy; \x26ordf; \x26laquo; \x26not; \x26reg; \x26macr; \x26deg; \x26sup2; \x26sup3; \x26acute; \x26micro; \x26para; \x26middot; \x26cedil; \x26sup1; \x26ordm; \x26raquo; \x26frac14; \x26frac12; \x26frac34; \x26iquest; \x26Agrave; \x26Aacute; \x26Acirc; \x26Atilde; \x26Auml; \x26Aring; \x26AElig; \x26Ccedil; \x26Egrave; \x26Eacute; \x26Ecirc; \x26Euml; \x26Igrave; \x26Iacute; \x26Icirc; \x26Iuml; \x26ETH; \x26Ntilde; \x26Ograve; \x26Oacute; \x26Ocirc; \x26Otilde; \x26Ouml; \x26times; \x26Oslash; \x26Ugrave; \x26Uacute; \x26Ucirc; \x26Uuml; \x26Yacute; \x26THORN; \x26szlig; \x26agrave; \x26aacute; \x26acirc; \x26atilde; \x26auml; \x26aring; \x26aelig; \x26ccedil; \x26egrave; \x26eacute; \x26ecirc; \x26euml; \x26igrave; \x26iacute; \x26icirc; \x26iuml; \x26eth; \x26ntilde; \x26ograve; \x26oacute; \x26ocirc; \x26otilde; \x26ouml; \x26divide; \x26oslash; \x26ugrave; \x26uacute; \x26ucirc; \x26uuml; \x26yacute; \x26thorn; \x26yuml; \x26OElig; \x26oelig; \x26#372; \x26#374 \x26#373 \x26#375; \x26sbquo; \x26#8219; \x26bdquo; \x26hellip; \x26trade; \x26#9658; \x26bull; \x26rarr; \x26rArr; \x26hArr; \x26diams; \x26asymp;".split(" "); -(function(){CKEDITOR.plugins.add("stylescombo",{requires:"richcombo",init:function(b){var h=b.config,g=b.lang.stylescombo,e={},a=[],m=[];b.on("stylesSet",function(g){if(g=g.data.styles){for(var k,c,f,d=0,n=g.length;d<n;d++)(k=g[d],b.blockless&&k.element in CKEDITOR.dtd.$block||"string"==typeof k.type&&!CKEDITOR.style.customHandlers[k.type]||(c=k.name,k=new CKEDITOR.style(k),b.filter.customConfig&&!b.filter.check(k)))||(k._name=c,k._.enterMode=h.enterMode,k._.type=f=k.assignedTo||k.type,k._.weight= -d+1E3*(f==CKEDITOR.STYLE_OBJECT?1:f==CKEDITOR.STYLE_BLOCK?2:3),e[c]=k,a.push(k),m.push(k));a.sort(function(a,b){return a._.weight-b._.weight})}});b.ui.addRichCombo("Styles",{label:g.label,title:g.panelTitle,toolbar:"styles,10",allowedContent:m,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(h.contentsCss),multiSelect:!0,attributes:{"aria-label":g.panelTitle}},init:function(){var b,e,c,f,d,h;d=0;for(h=a.length;d<h;d++)b=a[d],e=b._name,f=b._.type,f!=c&&(this.startGroup(g["panelTitle"+String(f)]), -c=f),this.add(e,b.type==CKEDITOR.STYLE_OBJECT?e:b.buildPreview(),e);this.commit()},onClick:function(a){b.focus();b.fire("saveSnapshot");a=e[a];var g=b.elementPath();if(a.group&&a.removeStylesFromSameGroup(b))b.applyStyle(a);else b[a.checkActive(g,b)?"removeStyle":"applyStyle"](a);b.fire("saveSnapshot")},onRender:function(){b.on("selectionChange",function(a){var g=this.getValue();a=a.data.path.elements;for(var c=0,f=a.length,d;c<f;c++){d=a[c];for(var h in e)if(e[h].checkElementRemovable(d,!0,b)){h!= -g&&this.setValue(h);return}}this.setValue("")},this)},onOpen:function(){var a=b.getSelection(),a=a.getSelectedElement()||a.getStartElement()||b.editable(),a=b.elementPath(a),h=[0,0,0,0];this.showAll();this.unmarkAll();for(var c in e){var f=e[c],d=f._.type;f.checkApplicable(a,b,b.activeFilter)?h[d]++:this.hideItem(c);f.checkActive(a,b)&&this.mark(c)}h[CKEDITOR.STYLE_BLOCK]||this.hideGroup(g["panelTitle"+String(CKEDITOR.STYLE_BLOCK)]);h[CKEDITOR.STYLE_INLINE]||this.hideGroup(g["panelTitle"+String(CKEDITOR.STYLE_INLINE)]); -h[CKEDITOR.STYLE_OBJECT]||this.hideGroup(g["panelTitle"+String(CKEDITOR.STYLE_OBJECT)])},refresh:function(){var a=b.elementPath();if(a){for(var g in e)if(e[g].checkApplicable(a,b,b.activeFilter))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}},reset:function(){e={};a=[]}})}})})();(function(){function b(a){return{editorFocus:!1,canUndo:!1,modes:{wysiwyg:1},exec:function(b){if(b.editable().hasFocus){var e=b.getSelection(),g;if(g=(new CKEDITOR.dom.elementPath(e.getCommonAncestor(),e.root)).contains({td:1, -th:1},1)){var e=b.createRange(),c=CKEDITOR.tools.tryThese(function(){var b=g.getParent().$.cells[g.$.cellIndex+(a?-1:1)];b.parentNode.parentNode;return b},function(){var b=g.getParent(),b=b.getAscendant("table").$.rows[b.$.rowIndex+(a?-1:1)];return b.cells[a?b.cells.length-1:0]});if(c||a)if(c)c=new CKEDITOR.dom.element(c),e.moveToElementEditStart(c),e.checkStartOfBlock()&&e.checkEndOfBlock()||e.selectNodeContents(c);else return!0;else{for(var f=g.getAscendant("table").$,c=g.getParent().$.cells,f= -new CKEDITOR.dom.element(f.insertRow(-1),b.document),d=0,h=c.length;d<h;d++)f.append((new CKEDITOR.dom.element(c[d],b.document)).clone(!1,!1)).appendBogus();e.moveToElementEditStart(f)}e.select(!0);return!0}}return!1}}}var h={editorFocus:!1,modes:{wysiwyg:1,source:1}},g={exec:function(a){a.container.focusNext(!0,a.tabIndex)}},e={exec:function(a){a.container.focusPrevious(!0,a.tabIndex)}};CKEDITOR.plugins.add("tab",{init:function(a){for(var m=!1!==a.config.enableTabKeyTools,l=a.config.tabSpaces||0, -k="";l--;)k+=" ";if(k)a.on("key",function(b){9==b.data.keyCode&&(a.insertText(k),b.cancel())});if(m)a.on("key",function(b){(9==b.data.keyCode&&a.execCommand("selectNextCell")||b.data.keyCode==CKEDITOR.SHIFT+9&&a.execCommand("selectPreviousCell"))&&b.cancel()});a.addCommand("blur",CKEDITOR.tools.extend(g,h));a.addCommand("blurBack",CKEDITOR.tools.extend(e,h));a.addCommand("selectNextCell",b());a.addCommand("selectPreviousCell",b(!0))}})})();CKEDITOR.dom.element.prototype.focusNext=function(b,h){var g= -void 0===h?this.getTabIndex():h,e,a,m,l,k,c;if(0>=g)for(k=this.getNextSourceNode(b,CKEDITOR.NODE_ELEMENT);k;){if(k.isVisible()&&0===k.getTabIndex()){m=k;break}k=k.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(k=this.getDocument().getBody().getFirst();k=k.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!e)if(!a&&k.equals(this)){if(a=!0,b){if(!(k=k.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;e=1}}else a&&!this.contains(k)&&(e=1);if(k.isVisible()&&!(0>(c=k.getTabIndex()))){if(e&&c==g){m= -k;break}c>g&&(!m||!l||c<l)?(m=k,l=c):m||0!==c||(m=k,l=c)}}m&&m.focus()};CKEDITOR.dom.element.prototype.focusPrevious=function(b,h){for(var g=void 0===h?this.getTabIndex():h,e,a,m,l=0,k,c=this.getDocument().getBody().getLast();c=c.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!e)if(!a&&c.equals(this)){if(a=!0,b){if(!(c=c.getPreviousSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;e=1}}else a&&!this.contains(c)&&(e=1);if(c.isVisible()&&!(0>(k=c.getTabIndex())))if(0>=g){if(e&&0===k){m=c;break}k>l&& -(m=c,l=k)}else{if(e&&k==g){m=c;break}k<g&&(!m||k>l)&&(m=c,l=k)}}m&&m.focus()};CKEDITOR.plugins.add("table",{requires:"dialog",init:function(b){function h(b){return CKEDITOR.tools.extend(b||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains("table",1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!b.blockless){var g=b.lang.table;b.addCommand("table",new CKEDITOR.dialogCommand("table",{context:"table",allowedContent:"table{width,height,border-collapse}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];td{border*,background-color,vertical-align,width,height}[colspan,rowspan];"+ +(function(){CKEDITOR.plugins.add("stylescombo",{requires:"richcombo",init:function(b){var h=b.config,g=b.lang.stylescombo,f={},a=[],m=[];b.on("stylesSet",function(g){if(g=g.data.styles){for(var l,c,e,d=0,n=g.length;d<n;d++)(l=g[d],b.blockless&&l.element in CKEDITOR.dtd.$block||"string"==typeof l.type&&!CKEDITOR.style.customHandlers[l.type]||(c=l.name,l=new CKEDITOR.style(l),b.filter.customConfig&&!b.filter.check(l)))||(l._name=c,l._.enterMode=h.enterMode,l._.type=e=l.assignedTo||l.type,l._.weight= +d+1E3*(e==CKEDITOR.STYLE_OBJECT?1:e==CKEDITOR.STYLE_BLOCK?2:3),f[c]=l,a.push(l),m.push(l));a.sort(function(a,b){return a._.weight-b._.weight})}});b.ui.addRichCombo("Styles",{label:g.label,title:g.panelTitle,toolbar:"styles,10",allowedContent:m,panel:{css:[CKEDITOR.skin.getPath("editor")].concat(h.contentsCss),multiSelect:!0,attributes:{"aria-label":g.panelTitle}},init:function(){var b,f,c,e,d,h;d=0;for(h=a.length;d<h;d++)b=a[d],f=b._name,e=b._.type,e!=c&&(this.startGroup(g["panelTitle"+String(e)]), +c=e),this.add(f,b.type==CKEDITOR.STYLE_OBJECT?f:b.buildPreview(),f);this.commit()},onClick:function(a){b.focus();b.fire("saveSnapshot");a=f[a];var g=b.elementPath();if(a.group&&a.removeStylesFromSameGroup(b))b.applyStyle(a);else b[a.checkActive(g,b)?"removeStyle":"applyStyle"](a);b.fire("saveSnapshot")},onRender:function(){b.on("selectionChange",function(a){var g=this.getValue();a=a.data.path.elements;for(var c=0,e=a.length,d;c<e;c++){d=a[c];for(var h in f)if(f[h].checkElementRemovable(d,!0,b)){h!= +g&&this.setValue(h);return}}this.setValue("")},this)},onOpen:function(){var a=b.getSelection(),a=a.getSelectedElement()||a.getStartElement()||b.editable(),a=b.elementPath(a),h=[0,0,0,0];this.showAll();this.unmarkAll();for(var c in f){var e=f[c],d=e._.type;e.checkApplicable(a,b,b.activeFilter)?h[d]++:this.hideItem(c);e.checkActive(a,b)&&this.mark(c)}h[CKEDITOR.STYLE_BLOCK]||this.hideGroup(g["panelTitle"+String(CKEDITOR.STYLE_BLOCK)]);h[CKEDITOR.STYLE_INLINE]||this.hideGroup(g["panelTitle"+String(CKEDITOR.STYLE_INLINE)]); +h[CKEDITOR.STYLE_OBJECT]||this.hideGroup(g["panelTitle"+String(CKEDITOR.STYLE_OBJECT)])},refresh:function(){var a=b.elementPath();if(a){for(var g in f)if(f[g].checkApplicable(a,b,b.activeFilter))return;this.setState(CKEDITOR.TRISTATE_DISABLED)}},reset:function(){f={};a=[]}})}})})();(function(){function b(a){return{editorFocus:!1,canUndo:!1,modes:{wysiwyg:1},exec:function(b){if(b.editable().hasFocus){var f=b.getSelection(),g;if(g=(new CKEDITOR.dom.elementPath(f.getCommonAncestor(),f.root)).contains({td:1, +th:1},1)){var f=b.createRange(),c=CKEDITOR.tools.tryThese(function(){var b=g.getParent().$.cells[g.$.cellIndex+(a?-1:1)];b.parentNode.parentNode;return b},function(){var b=g.getParent(),b=b.getAscendant("table").$.rows[b.$.rowIndex+(a?-1:1)];return b.cells[a?b.cells.length-1:0]});if(c||a)if(c)c=new CKEDITOR.dom.element(c),f.moveToElementEditStart(c),f.checkStartOfBlock()&&f.checkEndOfBlock()||f.selectNodeContents(c);else return!0;else{for(var e=g.getAscendant("table").$,c=g.getParent().$.cells,e= +new CKEDITOR.dom.element(e.insertRow(-1),b.document),d=0,h=c.length;d<h;d++)e.append((new CKEDITOR.dom.element(c[d],b.document)).clone(!1,!1)).appendBogus();f.moveToElementEditStart(e)}f.select(!0);return!0}}return!1}}}var h={editorFocus:!1,modes:{wysiwyg:1,source:1}},g={exec:function(a){a.container.focusNext(!0,a.tabIndex)}},f={exec:function(a){a.container.focusPrevious(!0,a.tabIndex)}};CKEDITOR.plugins.add("tab",{init:function(a){for(var m=!1!==a.config.enableTabKeyTools,k=a.config.tabSpaces||0, +l="";k--;)l+=" ";if(l)a.on("key",function(b){9==b.data.keyCode&&(a.insertText(l),b.cancel())});if(m)a.on("key",function(b){(9==b.data.keyCode&&a.execCommand("selectNextCell")||b.data.keyCode==CKEDITOR.SHIFT+9&&a.execCommand("selectPreviousCell"))&&b.cancel()});a.addCommand("blur",CKEDITOR.tools.extend(g,h));a.addCommand("blurBack",CKEDITOR.tools.extend(f,h));a.addCommand("selectNextCell",b());a.addCommand("selectPreviousCell",b(!0))}})})();CKEDITOR.dom.element.prototype.focusNext=function(b,h){var g= +void 0===h?this.getTabIndex():h,f,a,m,k,l,c;if(0>=g)for(l=this.getNextSourceNode(b,CKEDITOR.NODE_ELEMENT);l;){if(l.isVisible()&&0===l.getTabIndex()){m=l;break}l=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT)}else for(l=this.getDocument().getBody().getFirst();l=l.getNextSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!f)if(!a&&l.equals(this)){if(a=!0,b){if(!(l=l.getNextSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;f=1}}else a&&!this.contains(l)&&(f=1);if(l.isVisible()&&!(0>(c=l.getTabIndex()))){if(f&&c==g){m= +l;break}c>g&&(!m||!k||c<k)?(m=l,k=c):m||0!==c||(m=l,k=c)}}m&&m.focus()};CKEDITOR.dom.element.prototype.focusPrevious=function(b,h){for(var g=void 0===h?this.getTabIndex():h,f,a,m,k=0,l,c=this.getDocument().getBody().getLast();c=c.getPreviousSourceNode(!1,CKEDITOR.NODE_ELEMENT);){if(!f)if(!a&&c.equals(this)){if(a=!0,b){if(!(c=c.getPreviousSourceNode(!0,CKEDITOR.NODE_ELEMENT)))break;f=1}}else a&&!this.contains(c)&&(f=1);if(c.isVisible()&&!(0>(l=c.getTabIndex())))if(0>=g){if(f&&0===l){m=c;break}l>k&& +(m=c,k=l)}else{if(f&&l==g){m=c;break}l<g&&(!m||l>k)&&(m=c,k=l)}}m&&m.focus()};CKEDITOR.plugins.add("table",{requires:"dialog",init:function(b){function h(b){return CKEDITOR.tools.extend(b||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains("table",1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}if(!b.blockless){var g=b.lang.table;b.addCommand("table",new CKEDITOR.dialogCommand("table",{context:"table",allowedContent:"table{width,height,border-collapse}[align,border,cellpadding,cellspacing,summary];caption tbody thead tfoot;th td tr[scope];td{border*,background-color,vertical-align,width,height}[colspan,rowspan];"+ (b.plugins.dialogadvtab?"table"+b.plugins.dialogadvtab.allowedContent():""),requiredContent:"table",contentTransformations:[["table{width}: sizeToStyle","table[width]: sizeToAttribute"],["td: splitBorderShorthand"],[{element:"table",right:function(b){if(b.styles){var a;if(b.styles.border)a=CKEDITOR.tools.style.parse.border(b.styles.border);else if(CKEDITOR.env.ie&&8===CKEDITOR.env.version){var g=b.styles;g["border-left"]&&g["border-left"]===g["border-right"]&&g["border-right"]===g["border-top"]&& g["border-top"]===g["border-bottom"]&&(a=CKEDITOR.tools.style.parse.border(g["border-top"]))}a&&a.style&&"solid"===a.style&&a.width&&0!==parseFloat(a.width)&&(b.attributes.border=1);"collapse"==b.styles["border-collapse"]&&(b.attributes.cellspacing=0)}}}]]}));b.addCommand("tableProperties",new CKEDITOR.dialogCommand("tableProperties",h()));b.addCommand("tableDelete",h({exec:function(b){var a=b.elementPath().contains("table",1);if(a){var g=a.getParent(),h=b.editable();1!=g.getChildCount()||g.is("td", "th")||g.equals(h)||(a=g);b=b.createRange();b.moveToPosition(a,CKEDITOR.POSITION_BEFORE_START);a.remove();b.select()}}}));b.ui.addButton&&b.ui.addButton("Table",{label:g.toolbar,command:"table",toolbar:"insert,30"});CKEDITOR.dialog.add("table",this.path+"dialogs/table.js");CKEDITOR.dialog.add("tableProperties",this.path+"dialogs/table.js");b.addMenuItems&&b.addMenuItems({table:{label:g.menu,command:"tableProperties",group:"table",order:5},tabledelete:{label:g.deleteTable,command:"tableDelete",group:"table", -order:1}});b.on("doubleclick",function(b){b.data.element.is("table")&&(b.data.dialog="tableProperties")});b.contextMenu&&b.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}});(function(){function b(a,b){function c(a){return b?b.contains(a)&&a.getAscendant("table",!0).equals(b):!0}function d(a){var b=/^(?:td|th)$/;0<f.length||a.type!=CKEDITOR.NODE_ELEMENT||!b.test(a.getName())||a.getCustomData("selected_cell")||(CKEDITOR.dom.element.setMarker(e, -a,"selected_cell",!0),f.push(a))}var f=[],e={};if(!a)return f;for(var g=a.getRanges(),h=0;h<g.length;h++){var k=g[h];if(k.collapsed)(k=k.getCommonAncestor().getAscendant({td:1,th:1},!0))&&c(k)&&f.push(k);else{var k=new CKEDITOR.dom.walker(k),l;for(k.guard=d;l=k.next();)l.type==CKEDITOR.NODE_ELEMENT&&l.is(CKEDITOR.dtd.table)||(l=l.getAscendant({td:1,th:1},!0))&&!l.getCustomData("selected_cell")&&c(l)&&(CKEDITOR.dom.element.setMarker(e,l,"selected_cell",!0),f.push(l))}}CKEDITOR.dom.element.clearAllMarkers(e); -return f}function h(a,c){for(var d=p(a)?a:b(a),f=d[0],e=f.getAscendant("table"),f=f.getDocument(),g=d[0].getParent(),h=g.$.rowIndex,d=d[d.length-1],k=d.getParent().$.rowIndex+d.$.rowSpan-1,d=new CKEDITOR.dom.element(e.$.rows[k]),h=c?h:k,g=c?g:d,d=CKEDITOR.tools.buildTableMap(e),e=d[h],h=c?d[h-1]:d[h+1],d=d[0].length,f=f.createElement("tr"),k=0;e[k]&&k<d;k++){var l;1<e[k].rowSpan&&h&&e[k]==h[k]?(l=e[k],l.rowSpan+=1):(l=(new CKEDITOR.dom.element(e[k])).clone(),l.removeAttribute("rowSpan"),l.appendBogus(), -f.append(l),l=l.$);k+=l.colSpan-1}c?f.insertBefore(g):f.insertAfter(g);return f}function g(a){if(a instanceof CKEDITOR.dom.selection){var c=a.getRanges(),d=b(a),f=d[0].getAscendant("table"),e=CKEDITOR.tools.buildTableMap(f),h=d[0].getParent().$.rowIndex,d=d[d.length-1],k=d.getParent().$.rowIndex+d.$.rowSpan-1,d=[];a.reset();for(a=h;a<=k;a++){for(var l=e[a],m=new CKEDITOR.dom.element(f.$.rows[a]),n=0;n<l.length;n++){var p=new CKEDITOR.dom.element(l[n]),w=p.getParent().$.rowIndex;1==p.$.rowSpan?p.remove(): -(--p.$.rowSpan,w==a&&(w=e[a+1],w[n-1]?p.insertAfter(new CKEDITOR.dom.element(w[n-1])):(new CKEDITOR.dom.element(f.$.rows[a+1])).append(p,1)));n+=p.$.colSpan-1}d.push(m)}e=f.$.rows;c[0].moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);h=new CKEDITOR.dom.element(e[k+1]||(0<h?e[h-1]:null)||f.$.parentNode);for(a=d.length;0<=a;a--)g(d[a]);return f.$.parentNode?h:(c[0].select(),null)}a instanceof CKEDITOR.dom.element&&(f=a.getAscendant("table"),1==f.$.rows.length?f.remove():a.remove());return null}function e(a){for(var b= -a.getParent().$.cells,c=0,d=0;d<b.length;d++){var f=b[d],c=c+f.colSpan;if(f==a.$)break}return c-1}function a(a,b){for(var c=b?Infinity:0,d=0;d<a.length;d++){var f=e(a[d]);if(b?f<c:f>c)c=f}return c}function m(c,d){for(var f=p(c)?c:b(c),e=f[0].getAscendant("table"),g=a(f,1),f=a(f),h=d?g:f,k=CKEDITOR.tools.buildTableMap(e),e=[],g=[],f=[],l=k.length,m=0;m<l;m++){var n=d?k[m][h-1]:k[m][h+1];e.push(k[m][h]);g.push(n)}for(m=0;m<l;m++)e[m]&&(1<e[m].colSpan&&g[m]==e[m]?(k=e[m],k.colSpan+=1):(h=new CKEDITOR.dom.element(e[m]), -k=h.clone(),k.removeAttribute("colSpan"),k.appendBogus(),k[d?"insertBefore":"insertAfter"].call(k,h),f.push(k),k=k.$),m+=k.rowSpan-1);return f}function l(a){function c(a){var b=a.getRanges(),d,f;if(1!==b.length)return a;b=b[0];if(b.collapsed||0!==b.endOffset)return a;d=b.endContainer;f=d.getName().toLowerCase();if("td"!==f&&"th"!==f)return a;for((f=d.getPrevious())||(f=d.getParent().getPrevious().getLast());f.type!==CKEDITOR.NODE_TEXT&&"br"!==f.getName().toLowerCase();)if(f=f.getLast(),!f)return a; -b.setEndAt(f,CKEDITOR.POSITION_BEFORE_END);return b.select()}CKEDITOR.env.webkit&&!a.isFake&&(a=c(a));var d=a.getRanges(),f=b(a),e=f[0],g=f[f.length-1],f=e.getAscendant("table"),h=CKEDITOR.tools.buildTableMap(f),k,l,m=[];a.reset();var n=0;for(a=h.length;n<a;n++)for(var p=0,w=h[n].length;p<w;p++)void 0===k&&h[n][p]==e.$&&(k=p),h[n][p]==g.$&&(l=p);for(n=k;n<=l;n++)for(p=0;p<h.length;p++)g=h[p],e=new CKEDITOR.dom.element(f.$.rows[p]),g=new CKEDITOR.dom.element(g[n]),g.$&&(1==g.$.colSpan?g.remove():--g.$.colSpan, -p+=g.$.rowSpan-1,e.$.cells.length||m.push(e));k=h[0].length-1>l?new CKEDITOR.dom.element(h[0][l+1]):k&&-1!==h[0][k-1].cellIndex?new CKEDITOR.dom.element(h[0][k-1]):new CKEDITOR.dom.element(f.$.parentNode);m.length==a&&(d[0].moveToPosition(f,CKEDITOR.POSITION_AFTER_END),d[0].select(),f.remove());return k}function k(a,b){var c=a.getStartElement().getAscendant({td:1,th:1},!0);if(c){var d=c.clone();d.appendBogus();b?d.insertBefore(c):d.insertAfter(c)}}function c(a){if(a instanceof CKEDITOR.dom.selection){var d= -a.getRanges(),e=b(a),g=e[0]&&e[0].getAscendant("table"),h;a:{var k=0;h=e.length-1;for(var l={},m,n;m=e[k++];)CKEDITOR.dom.element.setMarker(l,m,"delete_cell",!0);for(k=0;m=e[k++];)if((n=m.getPrevious())&&!n.getCustomData("delete_cell")||(n=m.getNext())&&!n.getCustomData("delete_cell")){CKEDITOR.dom.element.clearAllMarkers(l);h=n;break a}CKEDITOR.dom.element.clearAllMarkers(l);k=e[0].getParent();(k=k.getPrevious())?h=k.getLast():(k=e[h].getParent(),h=(k=k.getNext())?k.getChild(0):null)}a.reset();for(a= -e.length-1;0<=a;a--)c(e[a]);h?f(h,!0):g&&(d[0].moveToPosition(g,CKEDITOR.POSITION_BEFORE_START),d[0].select(),g.remove())}else a instanceof CKEDITOR.dom.element&&(d=a.getParent(),1==d.getChildCount()?d.remove():a.remove())}function f(a,b){var c=a.getDocument(),d=CKEDITOR.document;CKEDITOR.env.ie&&10==CKEDITOR.env.version&&(d.focus(),c.focus());c=new CKEDITOR.dom.range(c);c["moveToElementEdit"+(b?"End":"Start")](a)||(c.selectNodeContents(a),c.collapse(b?!1:!0));c.select(!0)}function d(a,b,c){a=a[b]; -if("undefined"==typeof c)return a;for(b=0;a&&b<a.length;b++){if(c.is&&a[b]==c.$)return b;if(b==c)return new CKEDITOR.dom.element(a[b])}return c.is?-1:null}function n(a,c,f){var e=b(a),g;if((c?1!=e.length:2>e.length)||(g=a.getCommonAncestor())&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("table"))return!1;a=e[0];g=a.getAscendant("table");var h=CKEDITOR.tools.buildTableMap(g),k=h.length,l=h[0].length,m=a.getParent().$.rowIndex,n=d(h,m,a),p;if(c){var w;try{var v=parseInt(a.getAttribute("rowspan"),10)||1;p=parseInt(a.getAttribute("colspan"), -10)||1;w=h["up"==c?m-v:"down"==c?m+v:m]["left"==c?n-p:"right"==c?n+p:n]}catch(L){return!1}if(!w||a.$==w)return!1;e["up"==c||"left"==c?"unshift":"push"](new CKEDITOR.dom.element(w))}c=a.getDocument();var F=m,v=w=0,M=!f&&new CKEDITOR.dom.documentFragment(c),H=0;for(c=0;c<e.length;c++){p=e[c];var J=p.getParent(),D=p.getFirst(),K=p.$.colSpan,O=p.$.rowSpan,J=J.$.rowIndex,N=d(h,J,p),H=H+K*O,v=Math.max(v,N-n+K);w=Math.max(w,J-m+O);f||(K=p,(O=K.getBogus())&&O.remove(),K.trim(),p.getChildren().count()&&(J== -F||!D||D.isBlockBoundary&&D.isBlockBoundary({br:1})||(F=M.getLast(CKEDITOR.dom.walker.whitespaces(!0)),!F||F.is&&F.is("br")||M.append("br")),p.moveChildren(M)),c?p.remove():p.setHtml(""));F=J}if(f)return w*v==H;M.moveChildren(a);a.appendBogus();v>=l?a.removeAttribute("rowSpan"):a.$.rowSpan=w;w>=k?a.removeAttribute("colSpan"):a.$.colSpan=v;f=new CKEDITOR.dom.nodeList(g.$.rows);e=f.count();for(c=e-1;0<=c;c--)g=f.getItem(c),g.$.cells.length||(g.remove(),e++);return a}function w(a,c){var f=b(a);if(1< -f.length)return!1;if(c)return!0;var f=f[0],e=f.getParent(),g=e.getAscendant("table"),h=CKEDITOR.tools.buildTableMap(g),k=e.$.rowIndex,l=d(h,k,f),m=f.$.rowSpan,n;if(1<m){n=Math.ceil(m/2);for(var m=Math.floor(m/2),e=k+n,g=new CKEDITOR.dom.element(g.$.rows[e]),h=d(h,e),p,e=f.clone(),k=0;k<h.length;k++)if(p=h[k],p.parentNode==g.$&&k>l){e.insertBefore(new CKEDITOR.dom.element(p));break}else p=null;p||g.append(e)}else for(m=n=1,g=e.clone(),g.insertAfter(e),g.append(e=f.clone()),p=d(h,k),l=0;l<p.length;l++)p[l].rowSpan++; -e.appendBogus();f.$.rowSpan=n;e.$.rowSpan=m;1==n&&f.removeAttribute("rowSpan");1==m&&e.removeAttribute("rowSpan");return e}function v(a,c){var f=b(a);if(1<f.length)return!1;if(c)return!0;var f=f[0],e=f.getParent(),g=e.getAscendant("table"),g=CKEDITOR.tools.buildTableMap(g),h=d(g,e.$.rowIndex,f),k=f.$.colSpan;if(1<k)e=Math.ceil(k/2),k=Math.floor(k/2);else{for(var k=e=1,l=[],m=0;m<g.length;m++){var n=g[m];l.push(n[h]);1<n[h].rowSpan&&(m+=n[h].rowSpan-1)}for(g=0;g<l.length;g++)l[g].colSpan++}g=f.clone(); -g.insertAfter(f);g.appendBogus();f.$.colSpan=e;g.$.colSpan=k;1==e&&f.removeAttribute("colSpan");1==k&&g.removeAttribute("colSpan");return g}var p=CKEDITOR.tools.isArray;CKEDITOR.plugins.tabletools={requires:"table,dialog,contextmenu",init:function(a){function d(a){return CKEDITOR.tools.extend(a||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains({td:1,th:1},1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}function e(b,c){var d=a.addCommand(b,c);a.addFeature(d)}var p=a.lang.table, -z=CKEDITOR.tools.style.parse,y="td{width} td{height} td{border-color} td{background-color} td{white-space} td{vertical-align} td{text-align} td[colspan] td[rowspan] th".split(" ");e("cellProperties",new CKEDITOR.dialogCommand("cellProperties",d({allowedContent:"td th{width,height,border-color,background-color,white-space,vertical-align,text-align}[colspan,rowspan]",requiredContent:y,contentTransformations:[[{element:"td",left:function(a){return a.styles.background&&z.background(a.styles.background).color}, +order:1}});b.on("doubleclick",function(b){b.data.element.is("table")&&(b.data.dialog="tableProperties")});b.contextMenu&&b.contextMenu.addListener(function(){return{tabledelete:CKEDITOR.TRISTATE_OFF,table:CKEDITOR.TRISTATE_OFF}})}}});(function(){function b(a,b){function c(a){return b?b.contains(a)&&a.getAscendant("table",!0).equals(b):!0}function d(a){var b=/^(?:td|th)$/;0<e.length||a.type!=CKEDITOR.NODE_ELEMENT||!b.test(a.getName())||a.getCustomData("selected_cell")||(CKEDITOR.dom.element.setMarker(f, +a,"selected_cell",!0),e.push(a))}var e=[],f={};if(!a)return e;for(var g=a.getRanges(),h=0;h<g.length;h++){var k=g[h];if(k.collapsed)(k=k.getCommonAncestor().getAscendant({td:1,th:1},!0))&&c(k)&&e.push(k);else{var k=new CKEDITOR.dom.walker(k),l;for(k.guard=d;l=k.next();)l.type==CKEDITOR.NODE_ELEMENT&&l.is(CKEDITOR.dtd.table)||(l=l.getAscendant({td:1,th:1},!0))&&!l.getCustomData("selected_cell")&&c(l)&&(CKEDITOR.dom.element.setMarker(f,l,"selected_cell",!0),e.push(l))}}CKEDITOR.dom.element.clearAllMarkers(f); +return e}function h(a,c){for(var d=q(a)?a:b(a),e=d[0],f=e.getAscendant("table"),e=e.getDocument(),g=d[0].getParent(),h=g.$.rowIndex,d=d[d.length-1],k=d.getParent().$.rowIndex+d.$.rowSpan-1,d=new CKEDITOR.dom.element(f.$.rows[k]),h=c?h:k,g=c?g:d,d=CKEDITOR.tools.buildTableMap(f),f=d[h],h=c?d[h-1]:d[h+1],d=d[0].length,e=e.createElement("tr"),k=0;f[k]&&k<d;k++){var l;1<f[k].rowSpan&&h&&f[k]==h[k]?(l=f[k],l.rowSpan+=1):(l=(new CKEDITOR.dom.element(f[k])).clone(),l.removeAttribute("rowSpan"),l.appendBogus(), +e.append(l),l=l.$);k+=l.colSpan-1}c?e.insertBefore(g):e.insertAfter(g);return e}function g(a){if(a instanceof CKEDITOR.dom.selection){var c=a.getRanges(),d=b(a),e=d[0].getAscendant("table"),f=CKEDITOR.tools.buildTableMap(e),h=d[0].getParent().$.rowIndex,d=d[d.length-1],k=d.getParent().$.rowIndex+d.$.rowSpan-1,d=[];a.reset();for(a=h;a<=k;a++){for(var l=f[a],m=new CKEDITOR.dom.element(e.$.rows[a]),n=0;n<l.length;n++){var q=new CKEDITOR.dom.element(l[n]),y=q.getParent().$.rowIndex;1==q.$.rowSpan?q.remove(): +(--q.$.rowSpan,y==a&&(y=f[a+1],y[n-1]?q.insertAfter(new CKEDITOR.dom.element(y[n-1])):(new CKEDITOR.dom.element(e.$.rows[a+1])).append(q,1)));n+=q.$.colSpan-1}d.push(m)}f=e.$.rows;c[0].moveToPosition(e,CKEDITOR.POSITION_BEFORE_START);h=new CKEDITOR.dom.element(f[k+1]||(0<h?f[h-1]:null)||e.$.parentNode);for(a=d.length;0<=a;a--)g(d[a]);return e.$.parentNode?h:(c[0].select(),null)}a instanceof CKEDITOR.dom.element&&(e=a.getAscendant("table"),1==e.$.rows.length?e.remove():a.remove());return null}function f(a){for(var b= +a.getParent().$.cells,c=0,d=0;d<b.length;d++){var e=b[d],c=c+e.colSpan;if(e==a.$)break}return c-1}function a(a,b){for(var c=b?Infinity:0,d=0;d<a.length;d++){var e=f(a[d]);if(b?e<c:e>c)c=e}return c}function m(c,d){for(var e=q(c)?c:b(c),f=e[0].getAscendant("table"),g=a(e,1),e=a(e),h=d?g:e,k=CKEDITOR.tools.buildTableMap(f),f=[],g=[],e=[],l=k.length,m=0;m<l;m++){var n=d?k[m][h-1]:k[m][h+1];f.push(k[m][h]);g.push(n)}for(m=0;m<l;m++)f[m]&&(1<f[m].colSpan&&g[m]==f[m]?(k=f[m],k.colSpan+=1):(h=new CKEDITOR.dom.element(f[m]), +k=h.clone(),k.removeAttribute("colSpan"),k.appendBogus(),k[d?"insertBefore":"insertAfter"].call(k,h),e.push(k),k=k.$),m+=k.rowSpan-1);return e}function k(a){function c(a){var b=a.getRanges(),d,e;if(1!==b.length)return a;b=b[0];if(b.collapsed||0!==b.endOffset)return a;d=b.endContainer;e=d.getName().toLowerCase();if("td"!==e&&"th"!==e)return a;for((e=d.getPrevious())||(e=d.getParent().getPrevious().getLast());e.type!==CKEDITOR.NODE_TEXT&&"br"!==e.getName().toLowerCase();)if(e=e.getLast(),!e)return a; +b.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);return b.select()}CKEDITOR.env.webkit&&!a.isFake&&(a=c(a));var d=a.getRanges(),e=b(a),f=e[0],g=e[e.length-1],e=f.getAscendant("table"),h=CKEDITOR.tools.buildTableMap(e),k,l,m=[];a.reset();var n=0;for(a=h.length;n<a;n++)for(var q=0,y=h[n].length;q<y;q++)void 0===k&&h[n][q]==f.$&&(k=q),h[n][q]==g.$&&(l=q);for(n=k;n<=l;n++)for(q=0;q<h.length;q++)g=h[q],f=new CKEDITOR.dom.element(e.$.rows[q]),g=new CKEDITOR.dom.element(g[n]),g.$&&(1==g.$.colSpan?g.remove():--g.$.colSpan, +q+=g.$.rowSpan-1,f.$.cells.length||m.push(f));k=h[0].length-1>l?new CKEDITOR.dom.element(h[0][l+1]):k&&-1!==h[0][k-1].cellIndex?new CKEDITOR.dom.element(h[0][k-1]):new CKEDITOR.dom.element(e.$.parentNode);m.length==a&&(d[0].moveToPosition(e,CKEDITOR.POSITION_AFTER_END),d[0].select(),e.remove());return k}function l(a,b){var c=a.getStartElement().getAscendant({td:1,th:1},!0);if(c){var d=c.clone();d.appendBogus();b?d.insertBefore(c):d.insertAfter(c)}}function c(a){if(a instanceof CKEDITOR.dom.selection){var d= +a.getRanges(),f=b(a),g=f[0]&&f[0].getAscendant("table"),h;a:{var k=0;h=f.length-1;for(var l={},m,n;m=f[k++];)CKEDITOR.dom.element.setMarker(l,m,"delete_cell",!0);for(k=0;m=f[k++];)if((n=m.getPrevious())&&!n.getCustomData("delete_cell")||(n=m.getNext())&&!n.getCustomData("delete_cell")){CKEDITOR.dom.element.clearAllMarkers(l);h=n;break a}CKEDITOR.dom.element.clearAllMarkers(l);k=f[0].getParent();(k=k.getPrevious())?h=k.getLast():(k=f[h].getParent(),h=(k=k.getNext())?k.getChild(0):null)}a.reset();for(a= +f.length-1;0<=a;a--)c(f[a]);h?e(h,!0):g&&(d[0].moveToPosition(g,CKEDITOR.POSITION_BEFORE_START),d[0].select(),g.remove())}else a instanceof CKEDITOR.dom.element&&(d=a.getParent(),1==d.getChildCount()?d.remove():a.remove())}function e(a,b){var c=a.getDocument(),d=CKEDITOR.document;CKEDITOR.env.ie&&10==CKEDITOR.env.version&&(d.focus(),c.focus());c=new CKEDITOR.dom.range(c);c["moveToElementEdit"+(b?"End":"Start")](a)||(c.selectNodeContents(a),c.collapse(b?!1:!0));c.select(!0)}function d(a,b,c){a=a[b]; +if("undefined"==typeof c)return a;for(b=0;a&&b<a.length;b++){if(c.is&&a[b]==c.$)return b;if(b==c)return new CKEDITOR.dom.element(a[b])}return c.is?-1:null}function n(a,c,e){var f=b(a),g;if((c?1!=f.length:2>f.length)||(g=a.getCommonAncestor())&&g.type==CKEDITOR.NODE_ELEMENT&&g.is("table"))return!1;a=f[0];g=a.getAscendant("table");var h=CKEDITOR.tools.buildTableMap(g),k=h.length,l=h[0].length,m=a.getParent().$.rowIndex,n=d(h,m,a),q;if(c){var y;try{var x=parseInt(a.getAttribute("rowspan"),10)||1;q=parseInt(a.getAttribute("colspan"), +10)||1;y=h["up"==c?m-x:"down"==c?m+x:m]["left"==c?n-q:"right"==c?n+q:n]}catch(L){return!1}if(!y||a.$==y)return!1;f["up"==c||"left"==c?"unshift":"push"](new CKEDITOR.dom.element(y))}c=a.getDocument();var F=m,x=y=0,M=!e&&new CKEDITOR.dom.documentFragment(c),H=0;for(c=0;c<f.length;c++){q=f[c];var J=q.getParent(),D=q.getFirst(),K=q.$.colSpan,O=q.$.rowSpan,J=J.$.rowIndex,N=d(h,J,q),H=H+K*O,x=Math.max(x,N-n+K);y=Math.max(y,J-m+O);e||(K=q,(O=K.getBogus())&&O.remove(),K.trim(),q.getChildren().count()&&(J== +F||!D||D.isBlockBoundary&&D.isBlockBoundary({br:1})||(F=M.getLast(CKEDITOR.dom.walker.whitespaces(!0)),!F||F.is&&F.is("br")||M.append("br")),q.moveChildren(M)),c?q.remove():q.setHtml(""));F=J}if(e)return y*x==H;M.moveChildren(a);a.appendBogus();x>=l?a.removeAttribute("rowSpan"):a.$.rowSpan=y;y>=k?a.removeAttribute("colSpan"):a.$.colSpan=x;e=new CKEDITOR.dom.nodeList(g.$.rows);f=e.count();for(c=f-1;0<=c;c--)g=e.getItem(c),g.$.cells.length||(g.remove(),f++);return a}function y(a,c){var e=b(a);if(1< +e.length)return!1;if(c)return!0;var e=e[0],f=e.getParent(),g=f.getAscendant("table"),h=CKEDITOR.tools.buildTableMap(g),k=f.$.rowIndex,l=d(h,k,e),m=e.$.rowSpan,n;if(1<m){n=Math.ceil(m/2);for(var m=Math.floor(m/2),f=k+n,g=new CKEDITOR.dom.element(g.$.rows[f]),h=d(h,f),q,f=e.clone(),k=0;k<h.length;k++)if(q=h[k],q.parentNode==g.$&&k>l){f.insertBefore(new CKEDITOR.dom.element(q));break}else q=null;q||g.append(f)}else for(m=n=1,g=f.clone(),g.insertAfter(f),g.append(f=e.clone()),q=d(h,k),l=0;l<q.length;l++)q[l].rowSpan++; +f.appendBogus();e.$.rowSpan=n;f.$.rowSpan=m;1==n&&e.removeAttribute("rowSpan");1==m&&f.removeAttribute("rowSpan");return f}function x(a,c){var e=b(a);if(1<e.length)return!1;if(c)return!0;var e=e[0],f=e.getParent(),g=f.getAscendant("table"),g=CKEDITOR.tools.buildTableMap(g),h=d(g,f.$.rowIndex,e),k=e.$.colSpan;if(1<k)f=Math.ceil(k/2),k=Math.floor(k/2);else{for(var k=f=1,l=[],m=0;m<g.length;m++){var n=g[m];l.push(n[h]);1<n[h].rowSpan&&(m+=n[h].rowSpan-1)}for(g=0;g<l.length;g++)l[g].colSpan++}g=e.clone(); +g.insertAfter(e);g.appendBogus();e.$.colSpan=f;g.$.colSpan=k;1==f&&e.removeAttribute("colSpan");1==k&&g.removeAttribute("colSpan");return g}var q=CKEDITOR.tools.isArray;CKEDITOR.plugins.tabletools={requires:"table,dialog,contextmenu",init:function(a){function d(a){return CKEDITOR.tools.extend(a||{},{contextSensitive:1,refresh:function(a,b){this.setState(b.contains({td:1,th:1},1)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)}})}function f(b,c){var d=a.addCommand(b,c);a.addFeature(d)}var q=a.lang.table, +z=CKEDITOR.tools.style.parse,u="td{width} td{height} td{border-color} td{background-color} td{white-space} td{vertical-align} td{text-align} td[colspan] td[rowspan] th".split(" ");f("cellProperties",new CKEDITOR.dialogCommand("cellProperties",d({allowedContent:"td th{width,height,border-color,background-color,white-space,vertical-align,text-align}[colspan,rowspan]",requiredContent:u,contentTransformations:[[{element:"td",left:function(a){return a.styles.background&&z.background(a.styles.background).color}, right:function(a){a.styles["background-color"]=z.background(a.styles.background).color}},{element:"td",check:"td{vertical-align}",left:function(a){return a.attributes&&a.attributes.valign},right:function(a){a.styles["vertical-align"]=a.attributes.valign;delete a.attributes.valign}}],[{element:"tr",check:"td{height}",left:function(a){return a.styles&&a.styles.height},right:function(a){CKEDITOR.tools.array.forEach(a.children,function(b){b.name in{td:1,th:1}&&(b.attributes["cke-row-height"]=a.styles.height)}); -delete a.styles.height}}],[{element:"td",check:"td{height}",left:function(a){return(a=a.attributes)&&a["cke-row-height"]},right:function(a){a.styles.height=a.attributes["cke-row-height"];delete a.attributes["cke-row-height"]}}]]})));CKEDITOR.dialog.add("cellProperties",this.path+"dialogs/tableCell.js");e("rowDelete",d({requiredContent:"table",exec:function(a){a=a.getSelection();(a=g(a))&&f(a)}}));e("rowInsertBefore",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);h(a,!0)}})); -e("rowInsertAfter",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);h(a)}}));e("columnDelete",d({requiredContent:"table",exec:function(a){a=a.getSelection();(a=l(a))&&f(a,!0)}}));e("columnInsertBefore",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);m(a,!0)}}));e("columnInsertAfter",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);m(a)}}));e("cellDelete",d({requiredContent:"table",exec:function(a){a=a.getSelection();c(a)}}));e("cellMerge", -d({allowedContent:"td[colspan,rowspan]",requiredContent:"td[colspan,rowspan]",exec:function(a,b){b.cell=n(a.getSelection());f(b.cell,!0)}}));e("cellMergeRight",d({allowedContent:"td[colspan]",requiredContent:"td[colspan]",exec:function(a,b){b.cell=n(a.getSelection(),"right");f(b.cell,!0)}}));e("cellMergeDown",d({allowedContent:"td[rowspan]",requiredContent:"td[rowspan]",exec:function(a,b){b.cell=n(a.getSelection(),"down");f(b.cell,!0)}}));e("cellVerticalSplit",d({allowedContent:"td[rowspan]",requiredContent:"td[rowspan]", -exec:function(a){f(v(a.getSelection()))}}));e("cellHorizontalSplit",d({allowedContent:"td[colspan]",requiredContent:"td[colspan]",exec:function(a){f(w(a.getSelection()))}}));e("cellInsertBefore",d({requiredContent:"table",exec:function(a){a=a.getSelection();k(a,!0)}}));e("cellInsertAfter",d({requiredContent:"table",exec:function(a){a=a.getSelection();k(a)}}));a.addMenuItems&&a.addMenuItems({tablecell:{label:p.cell.menu,group:"tablecell",order:1,getItems:function(){var c=a.getSelection(),d=b(c),c= -{tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_merge:n(c,null,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_right:n(c,"right",!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_down:n(c,"down",!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_vertical:v(c,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_horizontal:w(c,!0)?CKEDITOR.TRISTATE_OFF: -CKEDITOR.TRISTATE_DISABLED};a.filter.check(y)&&(c.tablecell_properties=0<d.length?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);return c}},tablecell_insertBefore:{label:p.cell.insertBefore,group:"tablecell",command:"cellInsertBefore",order:5},tablecell_insertAfter:{label:p.cell.insertAfter,group:"tablecell",command:"cellInsertAfter",order:10},tablecell_delete:{label:p.cell.deleteCell,group:"tablecell",command:"cellDelete",order:15},tablecell_merge:{label:p.cell.merge,group:"tablecell",command:"cellMerge", -order:16},tablecell_merge_right:{label:p.cell.mergeRight,group:"tablecell",command:"cellMergeRight",order:17},tablecell_merge_down:{label:p.cell.mergeDown,group:"tablecell",command:"cellMergeDown",order:18},tablecell_split_horizontal:{label:p.cell.splitHorizontal,group:"tablecell",command:"cellHorizontalSplit",order:19},tablecell_split_vertical:{label:p.cell.splitVertical,group:"tablecell",command:"cellVerticalSplit",order:20},tablecell_properties:{label:p.cell.title,group:"tablecellproperties",command:"cellProperties", -order:21},tablerow:{label:p.row.menu,group:"tablerow",order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,tablerow_delete:CKEDITOR.TRISTATE_OFF}}},tablerow_insertBefore:{label:p.row.insertBefore,group:"tablerow",command:"rowInsertBefore",order:5},tablerow_insertAfter:{label:p.row.insertAfter,group:"tablerow",command:"rowInsertAfter",order:10},tablerow_delete:{label:p.row.deleteRow,group:"tablerow",command:"rowDelete",order:15}, -tablecolumn:{label:p.column.menu,group:"tablecolumn",order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,tablecolumn_delete:CKEDITOR.TRISTATE_OFF}}},tablecolumn_insertBefore:{label:p.column.insertBefore,group:"tablecolumn",command:"columnInsertBefore",order:5},tablecolumn_insertAfter:{label:p.column.insertAfter,group:"tablecolumn",command:"columnInsertAfter",order:10},tablecolumn_delete:{label:p.column.deleteColumn,group:"tablecolumn", -command:"columnDelete",order:15}});a.contextMenu&&a.contextMenu.addListener(function(a,b,c){return(a=c.contains({td:1,th:1},1))&&!a.isReadOnly()?{tablecell:CKEDITOR.TRISTATE_OFF,tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF}:null})},getCellColIndex:e,insertRow:h,insertColumn:m,getSelectedCells:b};CKEDITOR.plugins.add("tabletools",CKEDITOR.plugins.tabletools)})();CKEDITOR.tools.buildTableMap=function(b,h,g,e,a){b=b.$.rows;g=g||0;e="number"===typeof e?e:b.length-1;a="number"===typeof a? -a:-1;var m=-1,l=[];for(h=h||0;h<=e;h++){m++;!l[m]&&(l[m]=[]);for(var k=-1,c=g;c<=(-1===a?b[h].cells.length-1:a);c++){var f=b[h].cells[c];if(!f)break;for(k++;l[m][k];)k++;for(var d=isNaN(f.colSpan)?1:f.colSpan,f=isNaN(f.rowSpan)?1:f.rowSpan,n=0;n<f&&!(h+n>e);n++){l[m+n]||(l[m+n]=[]);for(var w=0;w<d;w++)l[m+n][k+w]=b[h].cells[c]}k+=d-1;if(-1!==a&&k>=a)break}}return l};(function(){function b(a){return CKEDITOR.env.ie?a.$.clientWidth:parseInt(a.getComputedStyle("width"),10)}function h(a,b){var d=a.getComputedStyle("border-"+ -b+"-width"),e={thin:"0px",medium:"1px",thick:"2px"};0>d.indexOf("px")&&(d=d in e&&"none"!=a.getComputedStyle("border-style")?e[d]:0);return parseInt(d,10)}function g(a){var b=[],d={},e="rtl"==a.getComputedStyle("direction");CKEDITOR.tools.array.forEach(a.$.rows,function(g,k){var l=-1,m=0,q=null;g?(m=new CKEDITOR.dom.element(g),q={height:m.$.offsetHeight,position:m.getDocumentPosition()}):q=void 0;for(var m=q.height,q=q.position,x=0,t=g.cells.length;x<t;x++){var z=new CKEDITOR.dom.element(g.cells[x]), -y=g.cells[x+1]&&new CKEDITOR.dom.element(g.cells[x+1]),l=l+(z.$.colSpan||1),u,B,C=z.getDocumentPosition().x;e?B=C+h(z,"left"):u=C+z.$.offsetWidth-h(z,"right");y?(C=y.getDocumentPosition().x,e?u=C+y.$.offsetWidth-h(y,"right"):B=C+h(y,"left")):(C=a.getDocumentPosition().x,e?u=C:B=C+a.$.offsetWidth);z=Math.max(B-u,3);z={table:a,index:l,x:u,y:q.y,width:z,height:m,rtl:e};d[l]=d[l]||[];d[l].push(z);z.alignedPillars=d[l];b.push(z)}});return b}function e(a){(a.data||a).preventDefault()}function a(a){function f(){x= -0;q.setOpacity(0);z&&d();var a=p.table;setTimeout(function(){a.removeCustomData("_cke_table_pillars")},0);r.removeListener("dragstart",e)}function d(){for(var d=p.rtl,f=d?B.length:u.length,e=0,g=0;g<f;g++){var k=u[g],m=B[g],n=p.table;CKEDITOR.tools.setTimeout(function(b,g,h,k,m,p){b&&b.setStyle("width",l(Math.max(g+p,1)));h&&h.setStyle("width",l(Math.max(k-p,1)));m&&n.setStyle("width",l(m+p*(d?-1:1)));++e==f&&a.fire("saveSnapshot")},0,this,[k,k&&b(k),m,m&&b(m),(!k||!m)&&b(n)+h(n,"left")+h(n,"right"), -z])}}function g(d){e(d);a.fire("saveSnapshot");d=p.index;for(var f=CKEDITOR.tools.buildTableMap(p.table),h=[],k=[],l=Number.MAX_VALUE,n=l,y=p.rtl,J=0,D=f.length;J<D;J++){var K=f[J],O=K[d+(y?1:0)],K=K[d+(y?0:1)],O=O&&new CKEDITOR.dom.element(O),K=K&&new CKEDITOR.dom.element(K);O&&K&&O.equals(K)||(O&&(l=Math.min(l,b(O))),K&&(n=Math.min(n,b(K))),h.push(O),k.push(K))}u=h;B=k;C=p.x-l;A=p.x+n;q.setOpacity(.5);t=parseInt(q.getStyle("left"),10);z=0;x=1;q.on("mousemove",v);r.on("dragstart",e);r.on("mouseup", -m,this)}function m(a){a.removeListener();f()}function v(a){y(a.data.getPageOffset().x)}var p,r,q,x,t,z,y,u,B,C,A;r=a.document;q=CKEDITOR.dom.element.createFromHtml('\x3cdiv data-cke-temp\x3d1 contenteditable\x3dfalse unselectable\x3don style\x3d"position:absolute;cursor:col-resize;filter:alpha(opacity\x3d0);opacity:0;padding:0;background-color:#004;background-image:none;border:0px none;z-index:10"\x3e\x3c/div\x3e',r);a.on("destroy",function(){q.remove()});k||r.getDocumentElement().append(q);this.attachTo= -function(a){var b,c,d;x||(k&&(r.getBody().append(q),z=0),p=a,b=p.alignedPillars[0],c=p.alignedPillars[p.alignedPillars.length-1],d=b.y,b=c.height+c.y-b.y,q.setStyles({width:l(a.width),height:l(b),left:l(a.x),top:l(d)}),k&&q.setOpacity(.25),q.on("mousedown",g,this),r.getBody().setStyle("cursor","col-resize"),q.show())};y=this.move=function(a,b){if(!p)return 0;if(!(x||a>=p.x&&a<=p.x+p.width&&b>=p.y&&b<=p.y+p.height))return p=null,x=z=0,r.removeListener("mouseup",m),q.removeListener("mousedown",g),q.removeListener("mousemove", -v),r.getBody().setStyle("cursor","auto"),k?q.remove():q.hide(),0;var c=a-Math.round(q.$.offsetWidth/2);if(x){if(c==C||c==A)return 1;c=Math.max(c,C);c=Math.min(c,A);z=c-t}q.setStyle("left",l(c));return 1}}function m(a){var b=a.data.getTarget();if("mouseout"==a.name){if(!b.is("table"))return;for(var d=new CKEDITOR.dom.element(a.data.$.relatedTarget||a.data.$.toElement);d&&d.$&&!d.equals(b)&&!d.is("body");)d=d.getParent();if(!d||d.equals(b))return}b.getAscendant("table",1).removeCustomData("_cke_table_pillars"); -a.removeListener()}var l=CKEDITOR.tools.cssLength,k=CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks);CKEDITOR.plugins.add("tableresize",{requires:"tabletools",init:function(b){b.on("contentDom",function(){var f,d=b.editable();d.attachListener(d.isInline()?d:b.document,"mousemove",function(d){d=d.data;var h=d.getTarget();if(h.type==CKEDITOR.NODE_ELEMENT){var k=d.getPageOffset().x,l=d.getPageOffset().y;if(f&&f.move(k,l))e(d);else if(h.is("table")||h.getAscendant({thead:1,tbody:1,tfoot:1}, -1))if(d=h.getAscendant("table",1),b.editable().contains(d)){(h=d.getCustomData("_cke_table_pillars"))||(d.setCustomData("_cke_table_pillars",h=g(d)),d.on("mouseout",m),d.on("mousedown",m));a:{d=h;for(var h=0,r=d.length;h<r;h++){var q=d[h];if(k>=q.x&&k<=q.x+q.width&&l>=q.y&&l<=q.y+q.height){k=q;break a}}k=null}k&&(!f&&(f=new a(b)),f.attachTo(k))}}})})}})})();"use strict";(function(){function b(a,b){return CKEDITOR.tools.array.reduce(b,function(a,b){return b(a)},a)}var h=[CKEDITOR.CTRL+90,CKEDITOR.CTRL+ -89,CKEDITOR.CTRL+CKEDITOR.SHIFT+90],g={8:1,46:1};CKEDITOR.plugins.add("undo",{init:function(a){function b(a){g.enabled&&!1!==a.data.command.canUndo&&g.save()}function d(){g.enabled=a.readOnly?!1:"wysiwyg"==a.mode;g.onChange()}var g=a.undoManager=new e(a),k=g.editingHandler=new l(g),m=a.addCommand("undo",{exec:function(){g.undo()&&(a.selectionChange(),this.fire("afterUndo"))},startDisabled:!0,canUndo:!1}),p=a.addCommand("redo",{exec:function(){g.redo()&&(a.selectionChange(),this.fire("afterRedo"))}, -startDisabled:!0,canUndo:!1});a.setKeystroke([[h[0],"undo"],[h[1],"redo"],[h[2],"redo"]]);g.onChange=function(){m.setState(g.undoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);p.setState(g.redoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)};a.on("beforeCommandExec",b);a.on("afterCommandExec",b);a.on("saveSnapshot",function(a){g.save(a.data&&a.data.contentOnly)});a.on("contentDom",k.attachListeners,k);a.on("instanceReady",function(){a.fire("saveSnapshot")});a.on("beforeModeUnload", -function(){"wysiwyg"==a.mode&&g.save(!0)});a.on("mode",d);a.on("readOnly",d);a.ui.addButton&&(a.ui.addButton("Undo",{label:a.lang.undo.undo,command:"undo",toolbar:"undo,10"}),a.ui.addButton("Redo",{label:a.lang.undo.redo,command:"redo",toolbar:"undo,20"}));a.resetUndo=function(){g.reset();a.fire("saveSnapshot")};a.on("updateSnapshot",function(){g.currentImage&&g.update()});a.on("lockSnapshot",function(a){a=a.data;g.lock(a&&a.dontUpdate,a&&a.forceUpdate)});a.on("unlockSnapshot",g.unlock,g)}});CKEDITOR.plugins.undo= -{};var e=CKEDITOR.plugins.undo.UndoManager=function(a){this.strokesRecorded=[0,0];this.locked=null;this.previousKeyGroup=-1;this.limit=a.config.undoStackSize||20;this.strokesLimit=25;this._filterRules=[];this.editor=a;this.reset();CKEDITOR.env.ie&&this.addFilterRule(function(a){return a.replace(/\s+data-cke-expando=".*?"/g,"")})};e.prototype={type:function(a,b){var d=e.getKeyGroup(a),g=this.strokesRecorded[d]+1;b=b||g>=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange()); -b?(g=0,this.editor.fire("saveSnapshot")):this.editor.fire("change");this.strokesRecorded[d]=g;this.previousKeyGroup=d},keyGroupChanged:function(a){return e.getKeyGroup(a)!=this.previousKeyGroup},reset:function(){this.snapshots=[];this.index=-1;this.currentImage=null;this.hasRedo=this.hasUndo=!1;this.locked=null;this.resetType()},resetType:function(){this.strokesRecorded=[0,0];this.typing=!1;this.previousKeyGroup=-1},refreshState:function(){this.hasUndo=!!this.getNextImage(!0);this.hasRedo=!!this.getNextImage(!1); -this.resetType();this.onChange()},save:function(b,f,d){var e=this.editor;if(this.locked||"ready"!=e.status||"wysiwyg"!=e.mode)return!1;var g=e.editable();if(!g||"ready"!=g.status)return!1;g=this.snapshots;f||(f=new a(e));if(!1===f.contents)return!1;if(this.currentImage)if(f.equalsContent(this.currentImage)){if(b||f.equalsSelection(this.currentImage))return!1}else!1!==d&&e.fire("change");g.splice(this.index+1,g.length-this.index-1);g.length==this.limit&&g.shift();this.index=g.push(f)-1;this.currentImage= -f;!1!==d&&this.refreshState();return!0},restoreImage:function(a){var b=this.editor,d;a.bookmarks&&(b.focus(),d=b.getSelection());this.locked={level:999};this.editor.loadSnapshot(a.contents);a.bookmarks?d.selectBookmarks(a.bookmarks):CKEDITOR.env.ie&&(d=this.editor.document.getBody().$.createTextRange(),d.collapse(!0),d.select());this.locked=null;this.index=a.index;this.currentImage=this.snapshots[this.index];this.update();this.refreshState();b.fire("change")},getNextImage:function(a){var b=this.snapshots, -d=this.currentImage,e;if(d)if(a)for(e=this.index-1;0<=e;e--){if(a=b[e],!d.equalsContent(a))return a.index=e,a}else for(e=this.index+1;e<b.length;e++)if(a=b[e],!d.equalsContent(a))return a.index=e,a;return null},redoable:function(){return this.enabled&&this.hasRedo},undoable:function(){return this.enabled&&this.hasUndo},undo:function(){if(this.undoable()){this.save(!0);var a=this.getNextImage(!0);if(a)return this.restoreImage(a),!0}return!1},redo:function(){if(this.redoable()&&(this.save(!0),this.redoable())){var a= -this.getNextImage(!1);if(a)return this.restoreImage(a),!0}return!1},update:function(b){if(!this.locked){b||(b=new a(this.editor));for(var f=this.index,d=this.snapshots;0<f&&this.currentImage.equalsContent(d[f-1]);)--f;d.splice(f,this.index-f+1,b);this.index=f;this.currentImage=b}},updateSelection:function(a){if(!this.snapshots.length)return!1;var b=this.snapshots,d=b[b.length-1];return d.equalsContent(a)&&!d.equalsSelection(a)?(this.currentImage=b[b.length-1]=a,!0):!1},lock:function(b,f){if(this.locked)this.locked.level++; -else if(b)this.locked={level:1};else{var d=null;if(f)d=!0;else{var e=new a(this.editor,!0);this.currentImage&&this.currentImage.equalsContent(e)&&(d=e)}this.locked={update:d,level:1}}},unlock:function(){if(this.locked&&!--this.locked.level){var b=this.locked.update;this.locked=null;if(!0===b)this.update();else if(b){var f=new a(this.editor,!0);b.equalsContent(f)||this.update()}}},addFilterRule:function(a){this._filterRules.push(a)}};e.navigationKeyCodes={37:1,38:1,39:1,40:1,36:1,35:1,33:1,34:1};e.keyGroups= -{PRINTABLE:0,FUNCTIONAL:1};e.isNavigationKey=function(a){return!!e.navigationKeyCodes[a]};e.getKeyGroup=function(a){var b=e.keyGroups;return g[a]?b.FUNCTIONAL:b.PRINTABLE};e.getOppositeKeyGroup=function(a){var b=e.keyGroups;return a==b.FUNCTIONAL?b.PRINTABLE:b.FUNCTIONAL};e.ieFunctionalKeysBug=function(a){return CKEDITOR.env.ie&&e.getKeyGroup(a)==e.keyGroups.FUNCTIONAL};var a=CKEDITOR.plugins.undo.Image=function(a,f){this.editor=a;a.fire("beforeUndoImage");var d=a.getSnapshot();d&&(this.contents= -b(d,a.undoManager._filterRules));f||(this.bookmarks=(d=d&&a.getSelection())&&d.createBookmarks2(!0));a.fire("afterUndoImage")},m=/\b(?:href|src|name)="[^"]*?"/gi;a.prototype={equalsContent:function(a){var b=this.contents;a=a.contents;CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)&&(b=b.replace(m,""),a=a.replace(m,""));return b!=a?!1:!0},equalsSelection:function(a){var b=this.bookmarks;a=a.bookmarks;if(b||a){if(!b||!a||b.length!=a.length)return!1;for(var d=0;d<b.length;d++){var e=b[d], -g=a[d];if(e.startOffset!=g.startOffset||e.endOffset!=g.endOffset||!CKEDITOR.tools.arrayCompare(e.start,g.start)||!CKEDITOR.tools.arrayCompare(e.end,g.end))return!1}}return!0}};var l=CKEDITOR.plugins.undo.NativeEditingHandler=function(a){this.undoManager=a;this.ignoreInputEvent=!1;this.keyEventsStack=new k;this.lastKeydownImage=null};l.prototype={onKeydown:function(b){var f=b.data.getKey();if(229!==f)if(-1<CKEDITOR.tools.indexOf(h,b.data.getKeystroke()))b.data.preventDefault();else if(this.keyEventsStack.cleanUp(b), -b=this.undoManager,this.keyEventsStack.getLast(f)||this.keyEventsStack.push(f),this.lastKeydownImage=new a(b.editor),e.isNavigationKey(f)||this.undoManager.keyGroupChanged(f))if(b.strokesRecorded[0]||b.strokesRecorded[1])b.save(!1,this.lastKeydownImage,!1),b.resetType()},onInput:function(){if(this.ignoreInputEvent)this.ignoreInputEvent=!1;else{var a=this.keyEventsStack.getLast();a||(a=this.keyEventsStack.push(0));this.keyEventsStack.increment(a.keyCode);this.keyEventsStack.getTotalInputs()>=this.undoManager.strokesLimit&& -(this.undoManager.type(a.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(b){var f=this.undoManager;b=b.data.getKey();var d=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(b);if(!(e.ieFunctionalKeysBug(b)&&this.lastKeydownImage&&this.lastKeydownImage.equalsContent(new a(f.editor,!0))))if(0<d)f.type(b);else if(e.isNavigationKey(b))this.onNavigationKey(!0)},onNavigationKey:function(b){var f=this.undoManager;!b&&f.save(!0,null,!1)||f.updateSelection(new a(f.editor)); -f.resetType()},ignoreInputEventListener:function(){this.ignoreInputEvent=!0},activateInputEventListener:function(){this.ignoreInputEvent=!1},attachListeners:function(){var a=this.undoManager.editor,b=a.editable(),d=this;b.attachListener(b,"keydown",function(a){d.onKeydown(a);if(e.ieFunctionalKeysBug(a.data.getKey()))d.onInput()},null,null,999);b.attachListener(b,CKEDITOR.env.ie?"keypress":"input",d.onInput,d,null,999);b.attachListener(b,"keyup",d.onKeyup,d,null,999);b.attachListener(b,"paste",d.ignoreInputEventListener, -d,null,999);b.attachListener(b,"drop",d.ignoreInputEventListener,d,null,999);a.on("afterPaste",d.activateInputEventListener,d,null,999);b.attachListener(b.isInline()?b:a.document.getDocumentElement(),"click",function(){d.onNavigationKey()},null,null,999);b.attachListener(this.undoManager.editor,"blur",function(){d.keyEventsStack.remove(9)},null,null,999)}};var k=CKEDITOR.plugins.undo.KeyEventsStack=function(){this.stack=[]};k.prototype={push:function(a){a=this.stack.push({keyCode:a,inputs:0});return this.stack[a- -1]},getLastIndex:function(a){if("number"!=typeof a)return this.stack.length-1;for(var b=this.stack.length;b--;)if(this.stack[b].keyCode==a)return b;return-1},getLast:function(a){a=this.getLastIndex(a);return-1!=a?this.stack[a]:null},increment:function(a){this.getLast(a).inputs++},remove:function(a){a=this.getLastIndex(a);-1!=a&&this.stack.splice(a,1)},resetInputs:function(a){if("number"==typeof a)this.getLast(a).inputs=0;else for(a=this.stack.length;a--;)this.stack[a].inputs=0},getTotalInputs:function(){for(var a= -this.stack.length,b=0;a--;)b+=this.stack[a].inputs;return b},cleanUp:function(a){a=a.data.$;a.ctrlKey||a.metaKey||this.remove(17);a.shiftKey||this.remove(16);a.altKey||this.remove(18)}}})();(function(){function b(a){function b(a){var c=!1;d.attachListener(d,"keydown",function(){var b=g.getBody().getElementsByTag(a);if(!c){for(var d=0;d<b.count();d++)b.getItem(d).setCustomData("retain",!0);c=!0}},null,null,1);d.attachListener(d,"keyup",function(){var b=g.getElementsByTag(a);c&&(1==b.count()&&!b.getItem(0).getCustomData("retain")&& -CKEDITOR.tools.isEmpty(b.getItem(0).getAttributes())&&b.getItem(0).remove(1),c=!1)})}var e=this.editor;if(e&&!e.isDetached()){var g=a.document,c=g.body,f=g.getElementById("cke_actscrpt");f&&f.parentNode.removeChild(f);(f=g.getElementById("cke_shimscrpt"))&&f.parentNode.removeChild(f);(f=g.getElementById("cke_basetagscrpt"))&&f.parentNode.removeChild(f);c.contentEditable=!0;CKEDITOR.env.ie&&(c.hideFocus=!0,c.disabled=!0,c.removeAttribute("disabled"));delete this._.isLoadingData;this.$=c;g=new CKEDITOR.dom.document(g); -this.setup();this.fixInitialSelection();var d=this;CKEDITOR.env.ie&&!CKEDITOR.env.edge&&g.getDocumentElement().addClass(g.$.compatMode);CKEDITOR.env.ie&&!CKEDITOR.env.edge&&e.enterMode!=CKEDITOR.ENTER_P?b("p"):CKEDITOR.env.edge&&15>CKEDITOR.env.version&&e.enterMode!=CKEDITOR.ENTER_DIV&&b("div");if(CKEDITOR.env.webkit||CKEDITOR.env.ie&&10<CKEDITOR.env.version)g.getDocumentElement().on("mousedown",function(a){a.data.getTarget().is("html")&&setTimeout(function(){e.editable().focus()})});h(e);try{e.document.$.execCommand("2D-position", -!1,!0)}catch(n){}(CKEDITOR.env.gecko||CKEDITOR.env.ie&&"CSS1Compat"==e.document.$.compatMode)&&this.attachListener(this,"keydown",function(a){var b=a.data.getKeystroke();if(33==b||34==b)if(CKEDITOR.env.ie)setTimeout(function(){e.getSelection().scrollIntoView()},0);else if(e.window.$.innerHeight>this.$.offsetHeight){var c=e.createRange();c[33==b?"moveToElementEditStart":"moveToElementEditEnd"](this);c.select();a.data.preventDefault()}});CKEDITOR.env.ie&&this.attachListener(g,"blur",function(){try{g.$.selection.empty()}catch(a){}}); -CKEDITOR.env.iOS&&this.attachListener(g,"touchend",function(){a.focus()});c=e.document.getElementsByTag("title").getItem(0);c.data("cke-title",c.getText());CKEDITOR.env.ie&&(e.document.$.title=this._.docTitle);CKEDITOR.tools.setTimeout(function(){"unloaded"==this.status&&(this.status="ready");e.fire("contentDom");this._.isPendingFocus&&(e.focus(),this._.isPendingFocus=!1);setTimeout(function(){e.fire("dataReady")},0)},0,this)}}function h(a){function b(){var c;a.editable().attachListener(a,"selectionChange", -function(){var b=a.getSelection().getSelectedElement();b&&(c&&(c.detachEvent("onresizestart",e),c=null),b.$.attachEvent("onresizestart",e),c=b.$)})}function e(a){a.returnValue=!1}if(CKEDITOR.env.gecko)try{var g=a.document.$;g.execCommand("enableObjectResizing",!1,!a.config.disableObjectResizing);g.execCommand("enableInlineTableEditing",!1,!a.config.disableNativeTableHandles)}catch(c){}else CKEDITOR.env.ie&&11>CKEDITOR.env.version&&a.config.disableObjectResizing&&b(a)}function g(){var a=[];if(8<=CKEDITOR.document.$.documentMode){a.push("html.CSS1Compat [contenteditable\x3dfalse]{min-height:0 !important}"); -var b=[],e;for(e in CKEDITOR.dtd.$removeEmpty)b.push("html.CSS1Compat "+e+"[contenteditable\x3dfalse]");a.push(b.join(",")+"{display:inline-block}")}else CKEDITOR.env.gecko&&(a.push("html{height:100% !important}"),a.push("img:-moz-broken{-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}"));a.push("html{cursor:text;*cursor:auto}");a.push("img,input,textarea{cursor:default}");return a.join("\n")}var e;CKEDITOR.plugins.add("wysiwygarea",{init:function(a){a.config.fullPage&&a.addFeature({allowedContent:"html head title; style [media,type]; body (*)[id]; meta link [*]", -requiredContent:"body"});a.addMode("wysiwyg",function(b){function g(d){d&&d.removeListener();a.isDestroyed()||a.isDetached()||(a.editable(new e(a,c.$.contentWindow.document.body)),a.setData(a.getData(1),b))}var h="document.open();"+(CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"")+"document.close();",h=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void(function(){"+encodeURIComponent(h)+"}())":"",c=CKEDITOR.dom.element.createFromHtml('\x3ciframe src\x3d"'+ -h+'" frameBorder\x3d"0"\x3e\x3c/iframe\x3e');c.setStyles({width:"100%",height:"100%"});c.addClass("cke_wysiwyg_frame").addClass("cke_reset");h=a.ui.space("contents");h.append(c);var f=CKEDITOR.env.ie&&!CKEDITOR.env.edge||CKEDITOR.env.gecko;if(f)c.on("load",g);var d=a.title,n=a.fire("ariaEditorHelpLabel",{}).label;d&&(CKEDITOR.env.ie&&n&&(d+=", "+n),c.setAttribute("title",d));if(n){var d=CKEDITOR.tools.getNextId(),w=CKEDITOR.dom.element.createFromHtml('\x3cspan id\x3d"'+d+'" class\x3d"cke_voice_label"\x3e'+ -n+"\x3c/span\x3e");h.append(w,1);c.setAttribute("aria-describedby",d)}a.on("beforeModeUnload",function(a){a.removeListener();w&&w.remove()});c.setAttributes({tabIndex:a.tabIndex,allowTransparency:"true"});!f&&g();a.fire("ariaWidget",c)})}});CKEDITOR.editor.prototype.addContentsCss=function(a){var b=this.config,e=b.contentsCss;CKEDITOR.tools.isArray(e)||(b.contentsCss=e?[e]:[]);b.contentsCss.push(a)};e=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments);this._.frameLoadedHandler= -CKEDITOR.tools.addFunction(function(a){CKEDITOR.tools.setTimeout(b,0,this,a)},this);this._.docTitle=this.getWindow().getFrame().getAttribute("title")},base:CKEDITOR.editable,proto:{setData:function(a,b){var e=this.editor;if(b)this.setHtml(a),this.fixInitialSelection(),e.fire("dataReady");else{this._.isLoadingData=!0;e._.dataStore={id:1};var h=e.config,c=h.fullPage,f=h.docType,d=CKEDITOR.tools.buildStyleHtml(g()).replace(/<style>/,'\x3cstyle data-cke-temp\x3d"1"\x3e');c||(d+=CKEDITOR.tools.buildStyleHtml(e.config.contentsCss)); -var n=h.baseHref?'\x3cbase href\x3d"'+h.baseHref+'" data-cke-temp\x3d"1" /\x3e':"";c&&(a=a.replace(/<!DOCTYPE[^>]*>/i,function(a){e.docType=f=a;return""}).replace(/<\?xml\s[^\?]*\?>/i,function(a){e.xmlDeclaration=a;return""}));a=e.dataProcessor.toHtml(a);c?(/<body[\s|>]/.test(a)||(a="\x3cbody\x3e"+a),/<html[\s|>]/.test(a)||(a="\x3chtml\x3e"+a+"\x3c/html\x3e"),/<head[\s|>]/.test(a)?/<title[\s|>]/.test(a)||(a=a.replace(/<head[^>]*>/,"$\x26\x3ctitle\x3e\x3c/title\x3e")):a=a.replace(/<html[^>]*>/,"$\x26\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e"), -n&&(a=a.replace(/<head[^>]*?>/,"$\x26"+n)),a=a.replace(/<\/head\s*>/,d+"$\x26"),a=f+a):a=h.docType+'\x3chtml dir\x3d"'+h.contentsLangDirection+'" lang\x3d"'+(h.contentsLanguage||e.langCode)+'"\x3e\x3chead\x3e\x3ctitle\x3e'+this._.docTitle+"\x3c/title\x3e"+n+d+"\x3c/head\x3e\x3cbody"+(h.bodyId?' id\x3d"'+h.bodyId+'"':"")+(h.bodyClass?' class\x3d"'+h.bodyClass+'"':"")+"\x3e"+a+"\x3c/body\x3e\x3c/html\x3e";CKEDITOR.env.gecko&&(a=a.replace(/<body/,'\x3cbody contenteditable\x3d"true" '),2E4>CKEDITOR.env.version&& -(a=a.replace(/<body[^>]*>/,"$\x26\x3c!-- cke-content-start --\x3e")));h='\x3cscript id\x3d"cke_actscrpt" type\x3d"text/javascript"'+(CKEDITOR.env.ie?' defer\x3d"defer" ':"")+"\x3evar wasLoaded\x3d0;function onload(){if(!wasLoaded)window.parent.CKEDITOR.tools.callFunction("+this._.frameLoadedHandler+",window);wasLoaded\x3d1;}"+(CKEDITOR.env.ie?"onload();":'document.addEventListener("DOMContentLoaded", onload, false );')+"\x3c/script\x3e";CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(h+='\x3cscript id\x3d"cke_shimscrpt"\x3ewindow.parent.CKEDITOR.tools.enableHtml5Elements(document)\x3c/script\x3e'); -n&&CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(h+='\x3cscript id\x3d"cke_basetagscrpt"\x3evar baseTag \x3d document.querySelector( "base" );baseTag.href \x3d baseTag.href;\x3c/script\x3e');a=a.replace(/(?=\s*<\/(:?head)>)/,h);this.clearCustomData();this.clearListeners();e.fire("contentDomUnload");var w=this.getDocument();try{w.write(a)}catch(v){setTimeout(function(){w.write(a)},0)}}},getData:function(a){if(a)return this.getHtml();a=this.editor;var b=a.config,e=b.fullPage,g=e&&a.docType,c=e&&a.xmlDeclaration, -f=this.getDocument(),e=e?f.getDocumentElement().getOuterHtml():f.getBody().getHtml();CKEDITOR.env.gecko&&b.enterMode!=CKEDITOR.ENTER_BR&&(e=e.replace(/<br>(?=\s*(:?$|<\/body>))/,""));e=a.dataProcessor.toDataFormat(e);c&&(e=c+"\n"+e);g&&(e=g+"\n"+e);return e},focus:function(){this._.isLoadingData?this._.isPendingFocus=!0:e.baseProto.focus.call(this)},detach:function(){var a=this.editor,b=a.document,a=a.container.findOne("iframe.cke_wysiwyg_frame");e.baseProto.detach.call(this);this.clearCustomData(this._.expandoNumber); +delete a.styles.height}}],[{element:"td",check:"td{height}",left:function(a){return(a=a.attributes)&&a["cke-row-height"]},right:function(a){a.styles.height=a.attributes["cke-row-height"];delete a.attributes["cke-row-height"]}}]]})));CKEDITOR.dialog.add("cellProperties",this.path+"dialogs/tableCell.js");f("rowDelete",d({requiredContent:"table",exec:function(a){a=a.getSelection();(a=g(a))&&e(a)}}));f("rowInsertBefore",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);h(a,!0)}})); +f("rowInsertAfter",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);h(a)}}));f("columnDelete",d({requiredContent:"table",exec:function(a){a=a.getSelection();(a=k(a))&&e(a,!0)}}));f("columnInsertBefore",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);m(a,!0)}}));f("columnInsertAfter",d({requiredContent:"table",exec:function(a){a=a.getSelection();a=b(a);m(a)}}));f("cellDelete",d({requiredContent:"table",exec:function(a){a=a.getSelection();c(a)}}));f("cellMerge", +d({allowedContent:"td[colspan,rowspan]",requiredContent:"td[colspan,rowspan]",exec:function(a,b){b.cell=n(a.getSelection());e(b.cell,!0)}}));f("cellMergeRight",d({allowedContent:"td[colspan]",requiredContent:"td[colspan]",exec:function(a,b){b.cell=n(a.getSelection(),"right");e(b.cell,!0)}}));f("cellMergeDown",d({allowedContent:"td[rowspan]",requiredContent:"td[rowspan]",exec:function(a,b){b.cell=n(a.getSelection(),"down");e(b.cell,!0)}}));f("cellVerticalSplit",d({allowedContent:"td[rowspan]",requiredContent:"td[rowspan]", +exec:function(a){e(x(a.getSelection()))}}));f("cellHorizontalSplit",d({allowedContent:"td[colspan]",requiredContent:"td[colspan]",exec:function(a){e(y(a.getSelection()))}}));f("cellInsertBefore",d({requiredContent:"table",exec:function(a){a=a.getSelection();l(a,!0)}}));f("cellInsertAfter",d({requiredContent:"table",exec:function(a){a=a.getSelection();l(a)}}));a.addMenuItems&&a.addMenuItems({tablecell:{label:q.cell.menu,group:"tablecell",order:1,getItems:function(){var c=a.getSelection(),d=b(c),c= +{tablecell_insertBefore:CKEDITOR.TRISTATE_OFF,tablecell_insertAfter:CKEDITOR.TRISTATE_OFF,tablecell_delete:CKEDITOR.TRISTATE_OFF,tablecell_merge:n(c,null,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_right:n(c,"right",!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_merge_down:n(c,"down",!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_vertical:x(c,!0)?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED,tablecell_split_horizontal:y(c,!0)?CKEDITOR.TRISTATE_OFF: +CKEDITOR.TRISTATE_DISABLED};a.filter.check(u)&&(c.tablecell_properties=0<d.length?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);return c}},tablecell_insertBefore:{label:q.cell.insertBefore,group:"tablecell",command:"cellInsertBefore",order:5},tablecell_insertAfter:{label:q.cell.insertAfter,group:"tablecell",command:"cellInsertAfter",order:10},tablecell_delete:{label:q.cell.deleteCell,group:"tablecell",command:"cellDelete",order:15},tablecell_merge:{label:q.cell.merge,group:"tablecell",command:"cellMerge", +order:16},tablecell_merge_right:{label:q.cell.mergeRight,group:"tablecell",command:"cellMergeRight",order:17},tablecell_merge_down:{label:q.cell.mergeDown,group:"tablecell",command:"cellMergeDown",order:18},tablecell_split_horizontal:{label:q.cell.splitHorizontal,group:"tablecell",command:"cellHorizontalSplit",order:19},tablecell_split_vertical:{label:q.cell.splitVertical,group:"tablecell",command:"cellVerticalSplit",order:20},tablecell_properties:{label:q.cell.title,group:"tablecellproperties",command:"cellProperties", +order:21},tablerow:{label:q.row.menu,group:"tablerow",order:1,getItems:function(){return{tablerow_insertBefore:CKEDITOR.TRISTATE_OFF,tablerow_insertAfter:CKEDITOR.TRISTATE_OFF,tablerow_delete:CKEDITOR.TRISTATE_OFF}}},tablerow_insertBefore:{label:q.row.insertBefore,group:"tablerow",command:"rowInsertBefore",order:5},tablerow_insertAfter:{label:q.row.insertAfter,group:"tablerow",command:"rowInsertAfter",order:10},tablerow_delete:{label:q.row.deleteRow,group:"tablerow",command:"rowDelete",order:15}, +tablecolumn:{label:q.column.menu,group:"tablecolumn",order:1,getItems:function(){return{tablecolumn_insertBefore:CKEDITOR.TRISTATE_OFF,tablecolumn_insertAfter:CKEDITOR.TRISTATE_OFF,tablecolumn_delete:CKEDITOR.TRISTATE_OFF}}},tablecolumn_insertBefore:{label:q.column.insertBefore,group:"tablecolumn",command:"columnInsertBefore",order:5},tablecolumn_insertAfter:{label:q.column.insertAfter,group:"tablecolumn",command:"columnInsertAfter",order:10},tablecolumn_delete:{label:q.column.deleteColumn,group:"tablecolumn", +command:"columnDelete",order:15}});a.contextMenu&&a.contextMenu.addListener(function(a,b,c){return(a=c.contains({td:1,th:1},1))&&!a.isReadOnly()?{tablecell:CKEDITOR.TRISTATE_OFF,tablerow:CKEDITOR.TRISTATE_OFF,tablecolumn:CKEDITOR.TRISTATE_OFF}:null})},getCellColIndex:f,insertRow:h,insertColumn:m,getSelectedCells:b};CKEDITOR.plugins.add("tabletools",CKEDITOR.plugins.tabletools)})();CKEDITOR.tools.buildTableMap=function(b,h,g,f,a){b=b.$.rows;g=g||0;f="number"===typeof f?f:b.length-1;a="number"===typeof a? +a:-1;var m=-1,k=[];for(h=h||0;h<=f;h++){m++;!k[m]&&(k[m]=[]);for(var l=-1,c=g;c<=(-1===a?b[h].cells.length-1:a);c++){var e=b[h].cells[c];if(!e)break;for(l++;k[m][l];)l++;for(var d=isNaN(e.colSpan)?1:e.colSpan,e=isNaN(e.rowSpan)?1:e.rowSpan,n=0;n<e&&!(h+n>f);n++){k[m+n]||(k[m+n]=[]);for(var y=0;y<d;y++)k[m+n][l+y]=b[h].cells[c]}l+=d-1;if(-1!==a&&l>=a)break}}return k};(function(){function b(a){return CKEDITOR.env.ie?a.$.clientWidth:parseInt(a.getComputedStyle("width"),10)}function h(a,b){var d=a.getComputedStyle("border-"+ +b+"-width"),f={thin:"0px",medium:"1px",thick:"2px"};0>d.indexOf("px")&&(d=d in f&&"none"!=a.getComputedStyle("border-style")?f[d]:0);return parseFloat(d)}function g(a){var b=[],d={},f="rtl"==a.getComputedStyle("direction");CKEDITOR.tools.array.forEach(a.$.rows,function(g,k){var l=-1,m=0,p=null;g?(m=new CKEDITOR.dom.element(g),p={height:m.$.offsetHeight,position:m.getDocumentPosition()}):p=void 0;for(var w=CKEDITOR.env.ie&&!CKEDITOR.env.edge,t="collapse"===a.getComputedStyle("border-collapse"),m=p.height, +p=p.position,z=0,u=g.cells.length;z<u;z++){var v=new CKEDITOR.dom.element(g.cells[z]),C=g.cells[z+1]&&new CKEDITOR.dom.element(g.cells[z+1]),l=l+(v.$.colSpan||1),E,A,B=v.getDocumentPosition().x;f?A=B+h(v,"left"):E=B+v.$.offsetWidth-h(v,"right");C?(B=C.getDocumentPosition().x,f?E=B+C.$.offsetWidth-h(C,"right"):A=B+h(C,"left")):(B=a.getDocumentPosition().x,f?E=B:A=B+a.$.offsetWidth);v=Math.max(A-E,3);w&&t&&(E-=v,v=Math.max(A-E,3));v={table:a,index:l,x:E,y:p.y,width:v,height:m,rtl:f};d[l]=d[l]||[];d[l].push(v); +v.alignedPillars=d[l];b.push(v)}});return b}function f(a){(a.data||a).preventDefault()}function a(a){function e(){w=0;p.setOpacity(0);z&&d();var a=q.table;setTimeout(function(){a.removeCustomData("_cke_table_pillars")},0);r.removeListener("dragstart",f)}function d(){for(var d=q.rtl,e=d?C.length:v.length,f=0,g=0;g<e;g++){var l=v[g],m=C[g],n=q.table;CKEDITOR.tools.setTimeout(function(b,g,h,l,m,q){b&&b.setStyle("width",k(Math.max(g+q,1)));h&&h.setStyle("width",k(Math.max(l-q,1)));m&&n.setStyle("width", +k(m+q*(d?-1:1)));++f==e&&a.fire("saveSnapshot")},0,this,[l,l&&b(l),m,m&&b(m),(!l||!m)&&b(n)+h(n,"left")+h(n,"right"),z])}}function g(d){f(d);a.fire("saveSnapshot");d=q.index;for(var e=CKEDITOR.tools.buildTableMap(q.table),h=[],k=[],l=Number.MAX_VALUE,n=l,u=q.rtl,J=0,D=e.length;J<D;J++){var K=e[J],O=K[d+(u?1:0)],K=K[d+(u?0:1)],O=O&&new CKEDITOR.dom.element(O),K=K&&new CKEDITOR.dom.element(K);O&&K&&O.equals(K)||(O&&(l=Math.min(l,b(O))),K&&(n=Math.min(n,b(K))),h.push(O),k.push(K))}v=h;C=k;E=q.x-l;A= +q.x+n;p.setOpacity(.5);t=parseInt(p.getStyle("left"),10);z=0;w=1;p.on("mousemove",x);r.on("dragstart",f);r.on("mouseup",m,this)}function m(a){a.removeListener();e()}function x(a){u(a.data.getPageOffset().x)}var q,r,p,w,t,z,u,v,C,E,A;r=a.document;p=CKEDITOR.dom.element.createFromHtml('\x3cdiv data-cke-temp\x3d1 contenteditable\x3dfalse unselectable\x3don style\x3d"position:absolute;cursor:col-resize;filter:alpha(opacity\x3d0);opacity:0;padding:0;background-color:#004;background-image:none;border:0px none;z-index:10000"\x3e\x3c/div\x3e', +r);a.on("destroy",function(){p.remove()});l||r.getDocumentElement().append(p);this.attachTo=function(a){var b,c,d;w||(l&&(r.getBody().append(p),z=0),q=a,b=q.alignedPillars[0],c=q.alignedPillars[q.alignedPillars.length-1],d=b.y,b=c.height+c.y-b.y,p.setStyles({width:k(a.width),height:k(b),left:k(a.x),top:k(d)}),l&&p.setOpacity(.25),p.on("mousedown",g,this),r.getBody().setStyle("cursor","col-resize"),p.show())};u=this.move=function(a,b){if(!q)return 0;if(!(w||a>=q.x&&a<=q.x+q.width&&b>=q.y&&b<=q.y+q.height))return q= +null,w=z=0,r.removeListener("mouseup",m),p.removeListener("mousedown",g),p.removeListener("mousemove",x),r.getBody().setStyle("cursor","auto"),l?p.remove():p.hide(),0;var c=a-Math.round(p.$.offsetWidth/2);if(w){if(c==E||c==A)return 1;c=Math.max(c,E);c=Math.min(c,A);z=c-t}p.setStyle("left",k(c));return 1}}function m(a){var b=a.data.getTarget();if("mouseout"==a.name){if(!b.is("table"))return;for(var d=new CKEDITOR.dom.element(a.data.$.relatedTarget||a.data.$.toElement);d&&d.$&&!d.equals(b)&&!d.is("body");)d= +d.getParent();if(!d||d.equals(b))return}b.getAscendant("table",1).removeCustomData("_cke_table_pillars");a.removeListener()}var k=CKEDITOR.tools.cssLength,l=CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks);CKEDITOR.plugins.add("tableresize",{requires:"tabletools",init:function(b){b.on("contentDom",function(){var e,d=b.editable();d.attachListener(d.isInline()?d:b.document,"mousemove",function(d){d=d.data;var h=d.getTarget();if(h.type==CKEDITOR.NODE_ELEMENT){var k=d.getPageOffset().x, +l=d.getPageOffset().y;if(e&&e.move(k,l))f(d);else if(h.is("table")||h.getAscendant({thead:1,tbody:1,tfoot:1},1))if(d=h.getAscendant("table",1),b.editable().contains(d)){(h=d.getCustomData("_cke_table_pillars"))||(d.setCustomData("_cke_table_pillars",h=g(d)),d.on("mouseout",m),d.on("mousedown",m));a:{d=h;for(var h=0,r=d.length;h<r;h++){var p=d[h];if(k>=p.x&&k<=p.x+p.width&&l>=p.y&&l<=p.y+p.height){k=p;break a}}k=null}k&&(!e&&(e=new a(b)),e.attachTo(k))}}})})}})})();"use strict";(function(){function b(a, +b){return CKEDITOR.tools.array.reduce(b,function(a,b){return b(a)},a)}var h=[CKEDITOR.CTRL+90,CKEDITOR.CTRL+89,CKEDITOR.CTRL+CKEDITOR.SHIFT+90],g={8:1,46:1};CKEDITOR.plugins.add("undo",{init:function(a){function b(a){g.enabled&&!1!==a.data.command.canUndo&&g.save()}function d(){g.enabled=a.readOnly?!1:"wysiwyg"==a.mode;g.onChange()}var g=a.undoManager=new f(a),l=g.editingHandler=new k(g),m=a.addCommand("undo",{exec:function(){g.undo()&&(a.selectionChange(),this.fire("afterUndo"))},startDisabled:!0, +canUndo:!1}),q=a.addCommand("redo",{exec:function(){g.redo()&&(a.selectionChange(),this.fire("afterRedo"))},startDisabled:!0,canUndo:!1});a.setKeystroke([[h[0],"undo"],[h[1],"redo"],[h[2],"redo"]]);g.onChange=function(){m.setState(g.undoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED);q.setState(g.redoable()?CKEDITOR.TRISTATE_OFF:CKEDITOR.TRISTATE_DISABLED)};a.on("beforeCommandExec",b);a.on("afterCommandExec",b);a.on("saveSnapshot",function(a){g.save(a.data&&a.data.contentOnly)});a.on("contentDom", +l.attachListeners,l);a.on("instanceReady",function(){a.fire("saveSnapshot")});a.on("beforeModeUnload",function(){"wysiwyg"==a.mode&&g.save(!0)});a.on("mode",d);a.on("readOnly",d);a.ui.addButton&&(a.ui.addButton("Undo",{label:a.lang.undo.undo,command:"undo",toolbar:"undo,10"}),a.ui.addButton("Redo",{label:a.lang.undo.redo,command:"redo",toolbar:"undo,20"}));a.resetUndo=function(){g.reset();a.fire("saveSnapshot")};a.on("updateSnapshot",function(){g.currentImage&&g.update()});a.on("lockSnapshot",function(a){a= +a.data;g.lock(a&&a.dontUpdate,a&&a.forceUpdate)});a.on("unlockSnapshot",g.unlock,g)}});CKEDITOR.plugins.undo={};var f=CKEDITOR.plugins.undo.UndoManager=function(a){this.strokesRecorded=[0,0];this.locked=null;this.previousKeyGroup=-1;this.limit=a.config.undoStackSize||20;this.strokesLimit=25;this._filterRules=[];this.editor=a;this.reset();CKEDITOR.env.ie&&this.addFilterRule(function(a){return a.replace(/\s+data-cke-expando=".*?"/g,"")})};f.prototype={type:function(a,b){var d=f.getKeyGroup(a),g=this.strokesRecorded[d]+ +1;b=b||g>=this.strokesLimit;this.typing||(this.hasUndo=this.typing=!0,this.hasRedo=!1,this.onChange());b?(g=0,this.editor.fire("saveSnapshot")):this.editor.fire("change");this.strokesRecorded[d]=g;this.previousKeyGroup=d},keyGroupChanged:function(a){return f.getKeyGroup(a)!=this.previousKeyGroup},reset:function(){this.snapshots=[];this.index=-1;this.currentImage=null;this.hasRedo=this.hasUndo=!1;this.locked=null;this.resetType()},resetType:function(){this.strokesRecorded=[0,0];this.typing=!1;this.previousKeyGroup= +-1},refreshState:function(){this.hasUndo=!!this.getNextImage(!0);this.hasRedo=!!this.getNextImage(!1);this.resetType();this.onChange()},save:function(b,e,d){var f=this.editor;if(this.locked||"ready"!=f.status||"wysiwyg"!=f.mode)return!1;var g=f.editable();if(!g||"ready"!=g.status)return!1;g=this.snapshots;e||(e=new a(f));if(!1===e.contents)return!1;if(this.currentImage)if(e.equalsContent(this.currentImage)){if(b||e.equalsSelection(this.currentImage))return!1}else!1!==d&&f.fire("change");g.splice(this.index+ +1,g.length-this.index-1);g.length==this.limit&&g.shift();this.index=g.push(e)-1;this.currentImage=e;!1!==d&&this.refreshState();return!0},restoreImage:function(a){var b=this.editor,d;a.bookmarks&&(b.focus(),d=b.getSelection());this.locked={level:999};this.editor.loadSnapshot(a.contents);a.bookmarks?d.selectBookmarks(a.bookmarks):CKEDITOR.env.ie&&(d=this.editor.document.getBody().$.createTextRange(),d.collapse(!0),d.select());this.locked=null;this.index=a.index;this.currentImage=this.snapshots[this.index]; +this.update();this.refreshState();b.fire("change")},getNextImage:function(a){var b=this.snapshots,d=this.currentImage,f;if(d)if(a)for(f=this.index-1;0<=f;f--){if(a=b[f],!d.equalsContent(a))return a.index=f,a}else for(f=this.index+1;f<b.length;f++)if(a=b[f],!d.equalsContent(a))return a.index=f,a;return null},redoable:function(){return this.enabled&&this.hasRedo},undoable:function(){return this.enabled&&this.hasUndo},undo:function(){if(this.undoable()){this.save(!0);var a=this.getNextImage(!0);if(a)return this.restoreImage(a), +!0}return!1},redo:function(){if(this.redoable()&&(this.save(!0),this.redoable())){var a=this.getNextImage(!1);if(a)return this.restoreImage(a),!0}return!1},update:function(b){if(!this.locked){b||(b=new a(this.editor));for(var e=this.index,d=this.snapshots;0<e&&this.currentImage.equalsContent(d[e-1]);)--e;d.splice(e,this.index-e+1,b);this.index=e;this.currentImage=b}},updateSelection:function(a){if(!this.snapshots.length)return!1;var b=this.snapshots,d=b[b.length-1];return d.equalsContent(a)&&!d.equalsSelection(a)? +(this.currentImage=b[b.length-1]=a,!0):!1},lock:function(b,e){if(this.locked)this.locked.level++;else if(b)this.locked={level:1};else{var d=null;if(e)d=!0;else{var f=new a(this.editor,!0);this.currentImage&&this.currentImage.equalsContent(f)&&(d=f)}this.locked={update:d,level:1}}},unlock:function(){if(this.locked&&!--this.locked.level){var b=this.locked.update;this.locked=null;if(!0===b)this.update();else if(b){var e=new a(this.editor,!0);b.equalsContent(e)||this.update()}}},addFilterRule:function(a){this._filterRules.push(a)}}; +f.navigationKeyCodes={37:1,38:1,39:1,40:1,36:1,35:1,33:1,34:1};f.keyGroups={PRINTABLE:0,FUNCTIONAL:1};f.isNavigationKey=function(a){return!!f.navigationKeyCodes[a]};f.getKeyGroup=function(a){var b=f.keyGroups;return g[a]?b.FUNCTIONAL:b.PRINTABLE};f.getOppositeKeyGroup=function(a){var b=f.keyGroups;return a==b.FUNCTIONAL?b.PRINTABLE:b.FUNCTIONAL};f.ieFunctionalKeysBug=function(a){return CKEDITOR.env.ie&&f.getKeyGroup(a)==f.keyGroups.FUNCTIONAL};var a=CKEDITOR.plugins.undo.Image=function(a,e){this.editor= +a;a.fire("beforeUndoImage");var d=a.getSnapshot();d&&(this.contents=b(d,a.undoManager._filterRules));e||(this.bookmarks=(d=d&&a.getSelection())&&d.createBookmarks2(!0));a.fire("afterUndoImage")},m=/\b(?:href|src|name)="[^"]*?"/gi;a.prototype={equalsContent:function(a){var b=this.contents;a=a.contents;CKEDITOR.env.ie&&(CKEDITOR.env.ie7Compat||CKEDITOR.env.quirks)&&(b=b.replace(m,""),a=a.replace(m,""));return b!=a?!1:!0},equalsSelection:function(a){var b=this.bookmarks;a=a.bookmarks;if(b||a){if(!b|| +!a||b.length!=a.length)return!1;for(var d=0;d<b.length;d++){var f=b[d],g=a[d];if(f.startOffset!=g.startOffset||f.endOffset!=g.endOffset||!CKEDITOR.tools.arrayCompare(f.start,g.start)||!CKEDITOR.tools.arrayCompare(f.end,g.end))return!1}}return!0}};var k=CKEDITOR.plugins.undo.NativeEditingHandler=function(a){this.undoManager=a;this.ignoreInputEvent=!1;this.keyEventsStack=new l;this.lastKeydownImage=null};k.prototype={onKeydown:function(b){var e=b.data.getKey();if(229!==e)if(-1<CKEDITOR.tools.indexOf(h, +b.data.getKeystroke()))b.data.preventDefault();else if(this.keyEventsStack.cleanUp(b),b=this.undoManager,this.keyEventsStack.getLast(e)||this.keyEventsStack.push(e),this.lastKeydownImage=new a(b.editor),f.isNavigationKey(e)||this.undoManager.keyGroupChanged(e))if(b.strokesRecorded[0]||b.strokesRecorded[1])b.save(!1,this.lastKeydownImage,!1),b.resetType()},onInput:function(){if(this.ignoreInputEvent)this.ignoreInputEvent=!1;else{var a=this.keyEventsStack.getLast();a||(a=this.keyEventsStack.push(0)); +this.keyEventsStack.increment(a.keyCode);this.keyEventsStack.getTotalInputs()>=this.undoManager.strokesLimit&&(this.undoManager.type(a.keyCode,!0),this.keyEventsStack.resetInputs())}},onKeyup:function(b){var e=this.undoManager;b=b.data.getKey();var d=this.keyEventsStack.getTotalInputs();this.keyEventsStack.remove(b);if(!(f.ieFunctionalKeysBug(b)&&this.lastKeydownImage&&this.lastKeydownImage.equalsContent(new a(e.editor,!0))))if(0<d)e.type(b);else if(f.isNavigationKey(b))this.onNavigationKey(!0)}, +onNavigationKey:function(b){var e=this.undoManager;!b&&e.save(!0,null,!1)||e.updateSelection(new a(e.editor));e.resetType()},ignoreInputEventListener:function(){this.ignoreInputEvent=!0},activateInputEventListener:function(){this.ignoreInputEvent=!1},attachListeners:function(){var a=this.undoManager.editor,b=a.editable(),d=this;b.attachListener(b,"keydown",function(a){d.onKeydown(a);if(f.ieFunctionalKeysBug(a.data.getKey()))d.onInput()},null,null,999);b.attachListener(b,CKEDITOR.env.ie?"keypress": +"input",d.onInput,d,null,999);b.attachListener(b,"keyup",d.onKeyup,d,null,999);b.attachListener(b,"paste",d.ignoreInputEventListener,d,null,999);b.attachListener(b,"drop",d.ignoreInputEventListener,d,null,999);a.on("afterPaste",d.activateInputEventListener,d,null,999);b.attachListener(b.isInline()?b:a.document.getDocumentElement(),"click",function(){d.onNavigationKey()},null,null,999);b.attachListener(this.undoManager.editor,"blur",function(){d.keyEventsStack.remove(9)},null,null,999)}};var l=CKEDITOR.plugins.undo.KeyEventsStack= +function(){this.stack=[]};l.prototype={push:function(a){a=this.stack.push({keyCode:a,inputs:0});return this.stack[a-1]},getLastIndex:function(a){if("number"!=typeof a)return this.stack.length-1;for(var b=this.stack.length;b--;)if(this.stack[b].keyCode==a)return b;return-1},getLast:function(a){a=this.getLastIndex(a);return-1!=a?this.stack[a]:null},increment:function(a){this.getLast(a).inputs++},remove:function(a){a=this.getLastIndex(a);-1!=a&&this.stack.splice(a,1)},resetInputs:function(a){if("number"== +typeof a)this.getLast(a).inputs=0;else for(a=this.stack.length;a--;)this.stack[a].inputs=0},getTotalInputs:function(){for(var a=this.stack.length,b=0;a--;)b+=this.stack[a].inputs;return b},cleanUp:function(a){a=a.data.$;a.ctrlKey||a.metaKey||this.remove(17);a.shiftKey||this.remove(16);a.altKey||this.remove(18)}}})();(function(){function b(a){function b(a){var c=!1;d.attachListener(d,"keydown",function(){var b=g.getBody().getElementsByTag(a);if(!c){for(var d=0;d<b.count();d++)b.getItem(d).setCustomData("retain", +!0);c=!0}},null,null,1);d.attachListener(d,"keyup",function(){var b=g.getElementsByTag(a);c&&(1==b.count()&&!b.getItem(0).getCustomData("retain")&&CKEDITOR.tools.isEmpty(b.getItem(0).getAttributes())&&b.getItem(0).remove(1),c=!1)})}var f=this.editor;if(f&&!f.isDetached()){var g=a.document,c=g.body,e=g.getElementById("cke_actscrpt");e&&e.parentNode.removeChild(e);(e=g.getElementById("cke_shimscrpt"))&&e.parentNode.removeChild(e);(e=g.getElementById("cke_basetagscrpt"))&&e.parentNode.removeChild(e); +c.contentEditable=!0;CKEDITOR.env.ie&&(c.hideFocus=!0,c.disabled=!0,c.removeAttribute("disabled"));delete this._.isLoadingData;this.$=c;g=new CKEDITOR.dom.document(g);this.setup();this.fixInitialSelection();var d=this;CKEDITOR.env.ie&&!CKEDITOR.env.edge&&g.getDocumentElement().addClass(g.$.compatMode);CKEDITOR.env.ie&&!CKEDITOR.env.edge&&f.enterMode!=CKEDITOR.ENTER_P?b("p"):CKEDITOR.env.edge&&15>CKEDITOR.env.version&&f.enterMode!=CKEDITOR.ENTER_DIV&&b("div");if(CKEDITOR.env.webkit||CKEDITOR.env.ie&& +10<CKEDITOR.env.version)g.getDocumentElement().on("mousedown",function(a){a.data.getTarget().is("html")&&setTimeout(function(){f.editable().focus()})});h(f);try{f.document.$.execCommand("2D-position",!1,!0)}catch(n){}(CKEDITOR.env.gecko||CKEDITOR.env.ie&&"CSS1Compat"==f.document.$.compatMode)&&this.attachListener(this,"keydown",function(a){var b=a.data.getKeystroke();if(33==b||34==b)if(CKEDITOR.env.ie)setTimeout(function(){f.getSelection().scrollIntoView()},0);else if(f.window.$.innerHeight>this.$.offsetHeight){var c= +f.createRange();c[33==b?"moveToElementEditStart":"moveToElementEditEnd"](this);c.select();a.data.preventDefault()}});CKEDITOR.env.ie&&this.attachListener(g,"blur",function(){try{g.$.selection.empty()}catch(a){}});CKEDITOR.env.iOS&&this.attachListener(g,"touchend",function(){a.focus()});c=f.document.getElementsByTag("title").getItem(0);c.data("cke-title",c.getText());CKEDITOR.env.ie&&(f.document.$.title=this._.docTitle);CKEDITOR.tools.setTimeout(function(){"unloaded"==this.status&&(this.status="ready"); +f.fire("contentDom");this._.isPendingFocus&&(f.focus(),this._.isPendingFocus=!1);setTimeout(function(){f.fire("dataReady")},0)},0,this)}}function h(a){function b(){var c;a.editable().attachListener(a,"selectionChange",function(){var b=a.getSelection().getSelectedElement();b&&(c&&(c.detachEvent("onresizestart",f),c=null),b.$.attachEvent("onresizestart",f),c=b.$)})}function f(a){a.returnValue=!1}if(CKEDITOR.env.gecko)try{var g=a.document.$;g.execCommand("enableObjectResizing",!1,!a.config.disableObjectResizing); +g.execCommand("enableInlineTableEditing",!1,!a.config.disableNativeTableHandles)}catch(c){}else CKEDITOR.env.ie&&11>CKEDITOR.env.version&&a.config.disableObjectResizing&&b(a)}function g(){var a=[];if(8<=CKEDITOR.document.$.documentMode){a.push("html.CSS1Compat [contenteditable\x3dfalse]{min-height:0 !important}");var b=[],f;for(f in CKEDITOR.dtd.$removeEmpty)b.push("html.CSS1Compat "+f+"[contenteditable\x3dfalse]");a.push(b.join(",")+"{display:inline-block}")}else CKEDITOR.env.gecko&&(a.push("html{height:100% !important}"), +a.push("img:-moz-broken{-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}"));a.push("html{cursor:text;*cursor:auto}");a.push("img,input,textarea{cursor:default}");return a.join("\n")}var f;CKEDITOR.plugins.add("wysiwygarea",{init:function(a){a.config.fullPage&&a.addFeature({allowedContent:"html head title; style [media,type]; body (*)[id]; meta link [*]",requiredContent:"body"});a.addMode("wysiwyg",function(b){function g(d){d&&d.removeListener();a.isDestroyed()||a.isDetached()||(a.editable(new f(a, +c.$.contentWindow.document.body)),a.setData(a.getData(1),b))}var h="document.open();"+(CKEDITOR.env.ie?"("+CKEDITOR.tools.fixDomain+")();":"")+"document.close();",h=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie&&!CKEDITOR.env.edge?"javascript:void(function(){"+encodeURIComponent(h)+"}())":"",c=CKEDITOR.dom.element.createFromHtml('\x3ciframe src\x3d"'+h+'" frameBorder\x3d"0"\x3e\x3c/iframe\x3e');c.setStyles({width:"100%",height:"100%"});c.addClass("cke_wysiwyg_frame").addClass("cke_reset"); +h=a.ui.space("contents");h.append(c);var e=CKEDITOR.env.ie&&!CKEDITOR.env.edge||CKEDITOR.env.gecko;if(e)c.on("load",g);var d=a.title,n=a.fire("ariaEditorHelpLabel",{}).label;d&&(CKEDITOR.env.ie&&n&&(d+=", "+n),c.setAttribute("title",d));if(n){var d=CKEDITOR.tools.getNextId(),y=CKEDITOR.dom.element.createFromHtml('\x3cspan id\x3d"'+d+'" class\x3d"cke_voice_label"\x3e'+n+"\x3c/span\x3e");h.append(y,1);c.setAttribute("aria-describedby",d)}a.on("beforeModeUnload",function(a){a.removeListener();y&&y.remove()}); +c.setAttributes({tabIndex:a.tabIndex,allowTransparency:"true"});!e&&g();a.fire("ariaWidget",c)})}});CKEDITOR.editor.prototype.addContentsCss=function(a){var b=this.config,f=b.contentsCss;CKEDITOR.tools.isArray(f)||(b.contentsCss=f?[f]:[]);b.contentsCss.push(a)};f=CKEDITOR.tools.createClass({$:function(){this.base.apply(this,arguments);this._.frameLoadedHandler=CKEDITOR.tools.addFunction(function(a){CKEDITOR.tools.setTimeout(b,0,this,a)},this);this._.docTitle=this.getWindow().getFrame().getAttribute("title")}, +base:CKEDITOR.editable,proto:{setData:function(a,b){var f=this.editor;if(b)this.setHtml(a),this.fixInitialSelection(),f.fire("dataReady");else{this._.isLoadingData=!0;f._.dataStore={id:1};var h=f.config,c=h.fullPage,e=h.docType,d=CKEDITOR.tools.buildStyleHtml(g()).replace(/<style>/,'\x3cstyle data-cke-temp\x3d"1"\x3e');c||(d+=CKEDITOR.tools.buildStyleHtml(f.config.contentsCss));var n=h.baseHref?'\x3cbase href\x3d"'+h.baseHref+'" data-cke-temp\x3d"1" /\x3e':"";c&&(a=a.replace(/<!DOCTYPE[^>]*>/i,function(a){f.docType= +e=a;return""}).replace(/<\?xml\s[^\?]*\?>/i,function(a){f.xmlDeclaration=a;return""}));a=f.dataProcessor.toHtml(a);c?(/<body[\s|>]/.test(a)||(a="\x3cbody\x3e"+a),/<html[\s|>]/.test(a)||(a="\x3chtml\x3e"+a+"\x3c/html\x3e"),/<head[\s|>]/.test(a)?/<title[\s|>]/.test(a)||(a=a.replace(/<head[^>]*>/,"$\x26\x3ctitle\x3e\x3c/title\x3e")):a=a.replace(/<html[^>]*>/,"$\x26\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e"),n&&(a=a.replace(/<head[^>]*?>/,"$\x26"+n)),a=a.replace(/<\/head\s*>/,d+"$\x26"),a= +e+a):a=h.docType+'\x3chtml dir\x3d"'+h.contentsLangDirection+'" lang\x3d"'+(h.contentsLanguage||f.langCode)+'"\x3e\x3chead\x3e\x3ctitle\x3e'+this._.docTitle+"\x3c/title\x3e"+n+d+"\x3c/head\x3e\x3cbody"+(h.bodyId?' id\x3d"'+h.bodyId+'"':"")+(h.bodyClass?' class\x3d"'+h.bodyClass+'"':"")+"\x3e"+a+"\x3c/body\x3e\x3c/html\x3e";CKEDITOR.env.gecko&&(a=a.replace(/<body/,'\x3cbody contenteditable\x3d"true" '),2E4>CKEDITOR.env.version&&(a=a.replace(/<body[^>]*>/,"$\x26\x3c!-- cke-content-start --\x3e"))); +h='\x3cscript id\x3d"cke_actscrpt" type\x3d"text/javascript"'+(CKEDITOR.env.ie?' defer\x3d"defer" ':"")+"\x3evar wasLoaded\x3d0;function onload(){if(!wasLoaded)window.parent.CKEDITOR.tools.callFunction("+this._.frameLoadedHandler+",window);wasLoaded\x3d1;}"+(CKEDITOR.env.ie?"onload();":'document.addEventListener("DOMContentLoaded", onload, false );')+"\x3c/script\x3e";CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(h+='\x3cscript id\x3d"cke_shimscrpt"\x3ewindow.parent.CKEDITOR.tools.enableHtml5Elements(document)\x3c/script\x3e'); +n&&CKEDITOR.env.ie&&10>CKEDITOR.env.version&&(h+='\x3cscript id\x3d"cke_basetagscrpt"\x3evar baseTag \x3d document.querySelector( "base" );baseTag.href \x3d baseTag.href;\x3c/script\x3e');a=a.replace(/(?=\s*<\/(:?head)>)/,h);this.clearCustomData();this.clearListeners();f.fire("contentDomUnload");var y=this.getDocument();try{y.write(a)}catch(x){setTimeout(function(){y.write(a)},0)}}},getData:function(a){if(a)return this.getHtml();a=this.editor;var b=a.config,f=b.fullPage,g=f&&a.docType,c=f&&a.xmlDeclaration, +e=this.getDocument(),f=f?e.getDocumentElement().getOuterHtml():e.getBody().getHtml();CKEDITOR.env.gecko&&b.enterMode!=CKEDITOR.ENTER_BR&&(f=f.replace(/<br>(?=\s*(:?$|<\/body>))/,""));f=a.dataProcessor.toDataFormat(f);c&&(f=c+"\n"+f);g&&(f=g+"\n"+f);return f},focus:function(){this._.isLoadingData?this._.isPendingFocus=!0:f.baseProto.focus.call(this)},detach:function(){var a=this.editor,b=a.document,a=a.container.findOne("iframe.cke_wysiwyg_frame");f.baseProto.detach.call(this);this.clearCustomData(this._.expandoNumber); b.getDocumentElement().clearCustomData();CKEDITOR.tools.removeFunction(this._.frameLoadedHandler);a&&(a.clearCustomData(),(b=a.removeCustomData("onResize"))&&b.removeListener(),a.isDetached()||a.remove())}}})})();CKEDITOR.config.disableObjectResizing=!1;CKEDITOR.config.disableNativeTableHandles=!0;CKEDITOR.config.disableNativeSpellChecker=!0;CKEDITOR.config.plugins="dialogui,dialog,a11yhelp,about,autogrow,basicstyles,blockquote,notification,button,toolbar,clipboard,panel,floatpanel,menu,contextmenu,elementspath,enterkey,entities,popup,filetools,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,lineutils,widgetselection,widget,image2,indent,indentlist,justify,menubutton,language,list,magicline,maximize,pastetools,pastefromgdocs,pastefromlibreoffice,pastefromword,pastetext,removeformat,sharedspace,showblocks,showborders,sourcearea,sourcedialog,specialchar,stylescombo,tab,table,tabletools,tableresize,undo,wysiwygarea"; -CKEDITOR.config.skin="moono-lisa";(function(){var b=function(b,g){var e=CKEDITOR.getUrl("plugins/"+g);b=b.split(",");for(var a=0;a<b.length;a++)CKEDITOR.skin.icons[b[a]]={path:e,offset:-b[++a],bgsize:b[++a]}};CKEDITOR.env.hidpi?b("about,0,,bold,24,,italic,48,,strike,72,,subscript,96,,superscript,120,,underline,144,,blockquote,168,,copy-rtl,192,,copy,216,,cut-rtl,240,,cut,264,,paste-rtl,288,,paste,312,,horizontalrule,336,,image,360,,indent-rtl,384,,indent,408,,outdent-rtl,432,,outdent,456,,justifyblock,480,,justifycenter,504,,justifyleft,528,,justifyright,552,,language,576,,bulletedlist-rtl,600,,bulletedlist,624,,numberedlist-rtl,648,,numberedlist,672,,maximize,696,,pastefromword-rtl,720,,pastefromword,744,,pastetext-rtl,768,,pastetext,792,,removeformat,816,,showblocks-rtl,840,,showblocks,864,,source-rtl,888,,source,912,,sourcedialog-rtl,936,,sourcedialog,960,,specialchar,984,,table,1008,,redo-rtl,1032,,redo,1056,,undo-rtl,1080,,undo,1104,,simplebox,2256,auto", +CKEDITOR.config.skin="moono-lisa";(function(){var b=function(b,g){var f=CKEDITOR.getUrl("plugins/"+g);b=b.split(",");for(var a=0;a<b.length;a++)CKEDITOR.skin.icons[b[a]]={path:f,offset:-b[++a],bgsize:b[++a]}};CKEDITOR.env.hidpi?b("about,0,,bold,24,,italic,48,,strike,72,,subscript,96,,superscript,120,,underline,144,,blockquote,168,,copy-rtl,192,,copy,216,,cut-rtl,240,,cut,264,,paste-rtl,288,,paste,312,,horizontalrule,336,,image,360,,indent-rtl,384,,indent,408,,outdent-rtl,432,,outdent,456,,justifyblock,480,,justifycenter,504,,justifyleft,528,,justifyright,552,,language,576,,bulletedlist-rtl,600,,bulletedlist,624,,numberedlist-rtl,648,,numberedlist,672,,maximize,696,,pastefromword-rtl,720,,pastefromword,744,,pastetext-rtl,768,,pastetext,792,,removeformat,816,,showblocks-rtl,840,,showblocks,864,,source-rtl,888,,source,912,,sourcedialog-rtl,936,,sourcedialog,960,,specialchar,984,,table,1008,,redo-rtl,1032,,redo,1056,,undo-rtl,1080,,undo,1104,,simplebox,2256,auto", "icons_hidpi.png"):b("about,0,auto,bold,24,auto,italic,48,auto,strike,72,auto,subscript,96,auto,superscript,120,auto,underline,144,auto,blockquote,168,auto,copy-rtl,192,auto,copy,216,auto,cut-rtl,240,auto,cut,264,auto,paste-rtl,288,auto,paste,312,auto,horizontalrule,336,auto,image,360,auto,indent-rtl,384,auto,indent,408,auto,outdent-rtl,432,auto,outdent,456,auto,justifyblock,480,auto,justifycenter,504,auto,justifyleft,528,auto,justifyright,552,auto,language,576,auto,bulletedlist-rtl,600,auto,bulletedlist,624,auto,numberedlist-rtl,648,auto,numberedlist,672,auto,maximize,696,auto,pastefromword-rtl,720,auto,pastefromword,744,auto,pastetext-rtl,768,auto,pastetext,792,auto,removeformat,816,auto,showblocks-rtl,840,auto,showblocks,864,auto,source-rtl,888,auto,source,912,auto,sourcedialog-rtl,936,auto,sourcedialog,960,auto,specialchar,984,auto,table,1008,auto,redo-rtl,1032,auto,redo,1056,auto,undo-rtl,1080,auto,undo,1104,auto,simplebox,1128,auto", "icons.png")})()}})(); \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/cs.js b/web/core/assets/vendor/ckeditor/lang/cs.js index 083e6ed633ca0e27575b067344710a0e24ee6065..98b69bd265c2a347a242bddd03d896fead0f06d9 100644 --- a/web/core/assets/vendor/ckeditor/lang/cs.js +++ b/web/core/assets/vendor/ckeditor/lang/cs.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['cs']={"widget":{"move":"Klepněte a táhněte pro přesunutí","label":"Ovládací prvek %1"},"undo":{"redo":"Znovu","undo":"Zpět"},"toolbar":{"toolbarCollapse":"Skrýt panel nástrojů","toolbarExpand":"Zobrazit panel nástrojů","toolbarGroups":{"document":"Dokument","clipboard":"Schránka/Zpět","editing":"Úpravy","forms":"Formuláře","basicstyles":"Základní styly","paragraph":"Odstavec","links":"Odkazy","insert":"Vložit","styles":"Styly","colors":"Barvy","tools":"Nástroje"},"toolbars":"Panely nástrojů editoru"},"table":{"border":"Ohraničení","caption":"Popis","cell":{"menu":"Buňka","insertBefore":"Vložit buňku před","insertAfter":"Vložit buňku za","deleteCell":"Smazat buňky","merge":"Sloučit buňky","mergeRight":"Sloučit doprava","mergeDown":"Sloučit dolů","splitHorizontal":"Rozdělit buňky vodorovně","splitVertical":"Rozdělit buňky svisle","title":"Vlastnosti buňky","cellType":"Typ buňky","rowSpan":"Spojit řádky","colSpan":"Spojit sloupce","wordWrap":"Zalamování","hAlign":"Vodorovné zarovnání","vAlign":"Svislé zarovnání","alignBaseline":"Na účaří","bgColor":"Barva pozadí","borderColor":"Barva okraje","data":"Data","header":"Hlavička","yes":"Ano","no":"Ne","invalidWidth":"Šířka buňky musí být číslo.","invalidHeight":"Zadaná výška buňky musí být číslená.","invalidRowSpan":"Zadaný počet sloučených řádků musí být celé číslo.","invalidColSpan":"Zadaný počet sloučených sloupců musí být celé číslo.","chooseColor":"Výběr"},"cellPad":"Odsazení obsahu v buňce","cellSpace":"Vzdálenost buněk","column":{"menu":"Sloupec","insertBefore":"Vložit sloupec před","insertAfter":"Vložit sloupec za","deleteColumn":"Smazat sloupec"},"columns":"Sloupce","deleteTable":"Smazat tabulku","headers":"Záhlaví","headersBoth":"Obojí","headersColumn":"První sloupec","headersNone":"Žádné","headersRow":"První řádek","heightUnit":"height unit","invalidBorder":"Zdaná velikost okraje musí být číselná.","invalidCellPadding":"Zadané odsazení obsahu v buňce musí být číselné.","invalidCellSpacing":"Zadaná vzdálenost buněk musí být číselná.","invalidCols":"Počet sloupců musí být číslo větší než 0.","invalidHeight":"Zadaná výška tabulky musí být číselná.","invalidRows":"Počet řádků musí být číslo větší než 0.","invalidWidth":"Šířka tabulky musí být číslo.","menu":"Vlastnosti tabulky","row":{"menu":"Řádek","insertBefore":"Vložit řádek před","insertAfter":"Vložit řádek za","deleteRow":"Smazat řádky"},"rows":"Řádky","summary":"Souhrn","title":"Vlastnosti tabulky","toolbar":"Tabulka","widthPc":"procent","widthPx":"bodů","widthUnit":"jednotka šířky"},"stylescombo":{"label":"Styl","panelTitle":"Formátovací styly","panelTitle1":"Blokové styly","panelTitle2":"Řádkové styly","panelTitle3":"Objektové styly"},"specialchar":{"options":"Nastavení speciálních znaků","title":"Výběr speciálního znaku","toolbar":"Vložit speciální znaky"},"sourcedialog":{"toolbar":"Zdroj","title":"Zdroj"},"sourcearea":{"toolbar":"Zdroj"},"showblocks":{"toolbar":"Ukázat bloky"},"removeformat":{"toolbar":"Odstranit formátování"},"pastetext":{"button":"Vložit jako čistý text","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Vložit jako čistý text"},"pastefromword":{"confirmCleanup":"Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?","error":"Z důvodu vnitřní chyby nebylo možné provést vyčištění vkládaného textu.","title":"Vložit z Wordu","toolbar":"Vložit z Wordu"},"notification":{"closed":"Oznámení zavřeno."},"maximize":{"maximize":"Maximalizovat","minimize":"Minimalizovat"},"magicline":{"title":"zde vložit odstavec"},"list":{"bulletedlist":"Odrážky","numberedlist":"Číslování"},"language":{"button":"Nastavit jazyk","remove":"Odstranit jazyk"},"indent":{"indent":"Zvětšit odsazení","outdent":"Zmenšit odsazení"},"image2":{"alt":"Alternativní text","btnUpload":"Odeslat na server","captioned":"Obrázek s popisem","captionPlaceholder":"Popis","infoTab":"Informace o obrázku","lockRatio":"Zámek","menu":"Vlastnosti obrázku","pathName":"Obrázek","pathNameCaption":"Popis","resetSize":"Původní velikost","resizer":"Klepněte a táhněte pro změnu velikosti","title":"Vlastnosti obrázku","uploadTab":"Odeslat","urlMissing":"Zadané URL zdroje obrázku nebylo nalezeno.","altMissing":"Alternativní text chybí."},"horizontalrule":{"toolbar":"Vložit vodorovnou linku"},"format":{"label":"Formát","panelTitle":"Formát","tag_address":"Adresa","tag_div":"Normální (DIV)","tag_h1":"Nadpis 1","tag_h2":"Nadpis 2","tag_h3":"Nadpis 3","tag_h4":"Nadpis 4","tag_h5":"Nadpis 5","tag_h6":"Nadpis 6","tag_p":"Normální","tag_pre":"Naformátováno"},"filetools":{"loadError":"Při čtení souboru došlo k chybě.","networkError":"Při nahrávání souboru došlo k chybě v síti.","httpError404":"Při nahrávání souboru došlo k chybě HTTP (404: Soubor nenalezen).","httpError403":"Při nahrávání souboru došlo k chybě HTTP (403: Zakázáno).","httpError":"Při nahrávání souboru došlo k chybě HTTP (chybový stav: %1).","noUrlError":"URL pro nahrání není zadána.","responseError":"Nesprávná odpověď serveru."},"elementspath":{"eleLabel":"Cesta objektu","eleTitle":"%1 objekt"},"contextmenu":{"options":"Nastavení kontextové nabídky"},"clipboard":{"copy":"Kopírovat","copyError":"Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+C).","cut":"Vyjmout","cutError":"Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+X).","paste":"Vložit","pasteNotification":"Stiskněte %1 pro vložení. Váš prohlížeč nepodporuje vkládání pomocí tlačítka na panelu nástrojů nebo volby kontextového menu.","pasteArea":"Oblast vkládání","pasteMsg":"Vložte svůj obsah do oblasti níže a stiskněte OK."},"blockquote":{"toolbar":"Citace"},"basicstyles":{"bold":"Tučné","italic":"Kurzíva","strike":"Přeškrtnuté","subscript":"Dolní index","superscript":"Horní index","underline":"Podtržené"},"about":{"copy":"Copyright © $1. All rights reserved.","dlgTitle":"O aplikaci CKEditor 4","moreInfo":"Pro informace o lincenci navštivte naši webovou stránku:"},"editor":"Textový editor","editorPanel":"Panel textového editoru","common":{"editorHelp":"Stiskněte ALT 0 pro nápovědu","browseServer":"Vybrat na serveru","url":"URL","protocol":"Protokol","upload":"Odeslat","uploadSubmit":"Odeslat na server","image":"Obrázek","flash":"Flash","form":"Formulář","checkbox":"Zaškrtávací políčko","radio":"Přepínač","textField":"Textové pole","textarea":"Textová oblast","hiddenField":"Skryté pole","button":"Tlačítko","select":"Seznam","imageButton":"Obrázkové tlačítko","notSet":"<nenastaveno>","id":"Id","name":"Jméno","langDir":"Směr jazyka","langDirLtr":"Zleva doprava (LTR)","langDirRtl":"Zprava doleva (RTL)","langCode":"Kód jazyka","longDescr":"Dlouhý popis URL","cssClass":"Třída stylu","advisoryTitle":"Pomocný titulek","cssStyle":"Styl","ok":"OK","cancel":"Zrušit","close":"Zavřít","preview":"Náhled","resize":"Uchopit pro změnu velikosti","generalTab":"Obecné","advancedTab":"Rozšířené","validateNumberFailed":"Zadaná hodnota není číselná.","confirmNewPage":"Jakékoliv neuložené změny obsahu budou ztraceny. Skutečně chcete otevřít novou stránku?","confirmCancel":"Některá z nastavení byla změněna. Skutečně chcete zavřít dialogové okno?","options":"Nastavení","target":"Cíl","targetNew":"Nové okno (_blank)","targetTop":"Okno nejvyšší úrovně (_top)","targetSelf":"Stejné okno (_self)","targetParent":"Rodičovské okno (_parent)","langDirLTR":"Zleva doprava (LTR)","langDirRTL":"Zprava doleva (RTL)","styles":"Styly","cssClasses":"Třídy stylů","width":"Šířka","height":"Výška","align":"Zarovnání","left":"Vlevo","right":"Vpravo","center":"Na střed","justify":"Zarovnat do bloku","alignLeft":"Zarovnat vlevo","alignRight":"Zarovnat vpravo","alignCenter":"Zarovnat na střed","alignTop":"Nahoru","alignMiddle":"Na střed","alignBottom":"Dolů","alignNone":"Žádné","invalidValue":"Neplatná hodnota.","invalidHeight":"Zadaná výška musí být číslo.","invalidWidth":"Šířka musí být číslo.","invalidLength":"Hodnota určená pro pole \"%1\" musí být kladné číslo bez nebo s platnou jednotkou míry (%2).","invalidCssLength":"Hodnota určená pro pole \"%1\" musí být kladné číslo bez nebo s platnou jednotkou míry CSS (px, %, in, cm, mm, em, ex, pt, nebo pc).","invalidHtmlLength":"Hodnota určená pro pole \"%1\" musí být kladné číslo bez nebo s platnou jednotkou míry HTML (px nebo %).","invalidInlineStyle":"Hodnota určená pro řádkový styl se musí skládat z jedné nebo více n-tic ve formátu \"název : hodnota\", oddělené středníky","cssLengthTooltip":"Zadejte číslo jako hodnotu v pixelech nebo číslo s platnou jednotkou CSS (px, %, v cm, mm, em, ex, pt, nebo pc).","unavailable":"%1<span class=\"cke_accessibility\">, nedostupné</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Mezerník","35":"Konec","36":"Domů","46":"Smazat","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Klávesová zkratka","optionDefault":"Výchozí"}}; \ No newline at end of file +CKEDITOR.lang['cs']={"widget":{"move":"Klepněte a táhněte pro přesunutí","label":"Ovládací prvek %1"},"undo":{"redo":"Znovu","undo":"Zpět"},"toolbar":{"toolbarCollapse":"Skrýt panel nástrojů","toolbarExpand":"Zobrazit panel nástrojů","toolbarGroups":{"document":"Dokument","clipboard":"Schránka/Zpět","editing":"Úpravy","forms":"Formuláře","basicstyles":"Základní styly","paragraph":"Odstavec","links":"Odkazy","insert":"Vložit","styles":"Styly","colors":"Barvy","tools":"Nástroje"},"toolbars":"Panely nástrojů editoru"},"table":{"border":"Ohraničení","caption":"Popis","cell":{"menu":"Buňka","insertBefore":"Vložit buňku před","insertAfter":"Vložit buňku za","deleteCell":"Smazat buňky","merge":"Sloučit buňky","mergeRight":"Sloučit doprava","mergeDown":"Sloučit dolů","splitHorizontal":"Rozdělit buňky vodorovně","splitVertical":"Rozdělit buňky svisle","title":"Vlastnosti buňky","cellType":"Typ buňky","rowSpan":"Spojit řádky","colSpan":"Spojit sloupce","wordWrap":"Zalamování","hAlign":"Vodorovné zarovnání","vAlign":"Svislé zarovnání","alignBaseline":"Na účaří","bgColor":"Barva pozadí","borderColor":"Barva okraje","data":"Data","header":"Hlavička","yes":"Ano","no":"Ne","invalidWidth":"Šířka buňky musí být číslo.","invalidHeight":"Zadaná výška buňky musí být číslená.","invalidRowSpan":"Zadaný počet sloučených řádků musí být celé číslo.","invalidColSpan":"Zadaný počet sloučených sloupců musí být celé číslo.","chooseColor":"Výběr"},"cellPad":"Odsazení obsahu v buňce","cellSpace":"Vzdálenost buněk","column":{"menu":"Sloupec","insertBefore":"Vložit sloupec před","insertAfter":"Vložit sloupec za","deleteColumn":"Smazat sloupec"},"columns":"Sloupce","deleteTable":"Smazat tabulku","headers":"Záhlaví","headersBoth":"Obojí","headersColumn":"První sloupec","headersNone":"Žádné","headersRow":"První řádek","heightUnit":"jednotka výšky","invalidBorder":"Zdaná velikost okraje musí být číselná.","invalidCellPadding":"Zadané odsazení obsahu v buňce musí být číselné.","invalidCellSpacing":"Zadaná vzdálenost buněk musí být číselná.","invalidCols":"Počet sloupců musí být číslo větší než 0.","invalidHeight":"Zadaná výška tabulky musí být číselná.","invalidRows":"Počet řádků musí být číslo větší než 0.","invalidWidth":"Šířka tabulky musí být číslo.","menu":"Vlastnosti tabulky","row":{"menu":"Řádek","insertBefore":"Vložit řádek před","insertAfter":"Vložit řádek za","deleteRow":"Smazat řádky"},"rows":"Řádky","summary":"Souhrn","title":"Vlastnosti tabulky","toolbar":"Tabulka","widthPc":"procent","widthPx":"bodů","widthUnit":"jednotka šířky"},"stylescombo":{"label":"Styl","panelTitle":"Formátovací styly","panelTitle1":"Blokové styly","panelTitle2":"Řádkové styly","panelTitle3":"Objektové styly"},"specialchar":{"options":"Nastavení speciálních znaků","title":"Výběr speciálního znaku","toolbar":"Vložit speciální znaky"},"sourcedialog":{"toolbar":"Zdroj","title":"Zdroj"},"sourcearea":{"toolbar":"Zdroj"},"showblocks":{"toolbar":"Ukázat bloky"},"removeformat":{"toolbar":"Odstranit formátování"},"pastetext":{"button":"Vložit jako čistý text","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Vložit jako čistý text"},"pastefromword":{"confirmCleanup":"Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?","error":"Z důvodu vnitřní chyby nebylo možné provést vyčištění vkládaného textu.","title":"Vložit z Wordu","toolbar":"Vložit z Wordu"},"notification":{"closed":"Oznámení zavřeno."},"maximize":{"maximize":"Maximalizovat","minimize":"Minimalizovat"},"magicline":{"title":"zde vložit odstavec"},"list":{"bulletedlist":"Odrážky","numberedlist":"Číslování"},"language":{"button":"Nastavit jazyk","remove":"Odstranit jazyk"},"indent":{"indent":"Zvětšit odsazení","outdent":"Zmenšit odsazení"},"image2":{"alt":"Alternativní text","btnUpload":"Odeslat na server","captioned":"Obrázek s popisem","captionPlaceholder":"Popis","infoTab":"Informace o obrázku","lockRatio":"Zámek","menu":"Vlastnosti obrázku","pathName":"Obrázek","pathNameCaption":"Popis","resetSize":"Původní velikost","resizer":"Klepněte a táhněte pro změnu velikosti","title":"Vlastnosti obrázku","uploadTab":"Odeslat","urlMissing":"Zadané URL zdroje obrázku nebylo nalezeno.","altMissing":"Alternativní text chybí."},"horizontalrule":{"toolbar":"Vložit vodorovnou linku"},"format":{"label":"Formát","panelTitle":"Formát","tag_address":"Adresa","tag_div":"Normální (DIV)","tag_h1":"Nadpis 1","tag_h2":"Nadpis 2","tag_h3":"Nadpis 3","tag_h4":"Nadpis 4","tag_h5":"Nadpis 5","tag_h6":"Nadpis 6","tag_p":"Normální","tag_pre":"Naformátováno"},"filetools":{"loadError":"Při čtení souboru došlo k chybě.","networkError":"Při nahrávání souboru došlo k chybě v síti.","httpError404":"Při nahrávání souboru došlo k chybě HTTP (404: Soubor nenalezen).","httpError403":"Při nahrávání souboru došlo k chybě HTTP (403: Zakázáno).","httpError":"Při nahrávání souboru došlo k chybě HTTP (chybový stav: %1).","noUrlError":"URL pro nahrání není zadána.","responseError":"Nesprávná odpověď serveru."},"elementspath":{"eleLabel":"Cesta objektu","eleTitle":"%1 objekt"},"contextmenu":{"options":"Nastavení kontextové nabídky"},"clipboard":{"copy":"Kopírovat","copyError":"Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro kopírování zvoleného textu do schránky. Prosím zkopírujte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+C).","cut":"Vyjmout","cutError":"Bezpečnostní nastavení vašeho prohlížeče nedovolují editoru spustit funkci pro vyjmutí zvoleného textu do schránky. Prosím vyjměte zvolený text do schránky pomocí klávesnice (Ctrl/Cmd+X).","paste":"Vložit","pasteNotification":"Stiskněte %1 pro vložení. Váš prohlížeč nepodporuje vkládání pomocí tlačítka na panelu nástrojů nebo volby kontextového menu.","pasteArea":"Oblast vkládání","pasteMsg":"Vložte svůj obsah do oblasti níže a stiskněte OK."},"blockquote":{"toolbar":"Citace"},"basicstyles":{"bold":"Tučné","italic":"Kurzíva","strike":"Přeškrtnuté","subscript":"Dolní index","superscript":"Horní index","underline":"Podtržené"},"about":{"copy":"Copyright © $1. All rights reserved.","dlgTitle":"O aplikaci CKEditor 4","moreInfo":"Pro informace o lincenci navštivte naši webovou stránku:"},"editor":"Textový editor","editorPanel":"Panel textového editoru","common":{"editorHelp":"Stiskněte ALT 0 pro nápovědu","browseServer":"Vybrat na serveru","url":"URL","protocol":"Protokol","upload":"Odeslat","uploadSubmit":"Odeslat na server","image":"Obrázek","flash":"Flash","form":"Formulář","checkbox":"Zaškrtávací políčko","radio":"Přepínač","textField":"Textové pole","textarea":"Textová oblast","hiddenField":"Skryté pole","button":"Tlačítko","select":"Seznam","imageButton":"Obrázkové tlačítko","notSet":"<nenastaveno>","id":"Id","name":"Jméno","langDir":"Směr jazyka","langDirLtr":"Zleva doprava (LTR)","langDirRtl":"Zprava doleva (RTL)","langCode":"Kód jazyka","longDescr":"Dlouhý popis URL","cssClass":"Třída stylu","advisoryTitle":"Pomocný titulek","cssStyle":"Styl","ok":"OK","cancel":"Zrušit","close":"Zavřít","preview":"Náhled","resize":"Uchopit pro změnu velikosti","generalTab":"Obecné","advancedTab":"Rozšířené","validateNumberFailed":"Zadaná hodnota není číselná.","confirmNewPage":"Jakékoliv neuložené změny obsahu budou ztraceny. Skutečně chcete otevřít novou stránku?","confirmCancel":"Některá z nastavení byla změněna. Skutečně chcete zavřít dialogové okno?","options":"Nastavení","target":"Cíl","targetNew":"Nové okno (_blank)","targetTop":"Okno nejvyšší úrovně (_top)","targetSelf":"Stejné okno (_self)","targetParent":"Rodičovské okno (_parent)","langDirLTR":"Zleva doprava (LTR)","langDirRTL":"Zprava doleva (RTL)","styles":"Styly","cssClasses":"Třídy stylů","width":"Šířka","height":"Výška","align":"Zarovnání","left":"Vlevo","right":"Vpravo","center":"Na střed","justify":"Zarovnat do bloku","alignLeft":"Zarovnat vlevo","alignRight":"Zarovnat vpravo","alignCenter":"Zarovnat na střed","alignTop":"Nahoru","alignMiddle":"Na střed","alignBottom":"Dolů","alignNone":"Žádné","invalidValue":"Neplatná hodnota.","invalidHeight":"Zadaná výška musí být číslo.","invalidWidth":"Šířka musí být číslo.","invalidLength":"Hodnota určená pro pole \"%1\" musí být kladné číslo bez nebo s platnou jednotkou míry (%2).","invalidCssLength":"Hodnota určená pro pole \"%1\" musí být kladné číslo bez nebo s platnou jednotkou míry CSS (px, %, in, cm, mm, em, ex, pt, nebo pc).","invalidHtmlLength":"Hodnota určená pro pole \"%1\" musí být kladné číslo bez nebo s platnou jednotkou míry HTML (px nebo %).","invalidInlineStyle":"Hodnota určená pro řádkový styl se musí skládat z jedné nebo více n-tic ve formátu \"název : hodnota\", oddělené středníky","cssLengthTooltip":"Zadejte číslo jako hodnotu v pixelech nebo číslo s platnou jednotkou CSS (px, %, v cm, mm, em, ex, pt, nebo pc).","unavailable":"%1<span class=\"cke_accessibility\">, nedostupné</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Mezerník","35":"Konec","36":"Domů","46":"Smazat","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Klávesová zkratka","optionDefault":"Výchozí"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/da.js b/web/core/assets/vendor/ckeditor/lang/da.js index 3dfd0545527d0cd8003211e4bed0b7d3dfbd63f0..b73944bebce8e0f2de99f0814ca8e3e6a594efd3 100644 --- a/web/core/assets/vendor/ckeditor/lang/da.js +++ b/web/core/assets/vendor/ckeditor/lang/da.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['da']={"widget":{"move":"Klik og træk for at flytte","label":"%1 widget"},"undo":{"redo":"Annullér fortryd","undo":"Fortryd"},"toolbar":{"toolbarCollapse":"Sammenklap værktøjslinje","toolbarExpand":"Udvid værktøjslinje","toolbarGroups":{"document":"Dokument","clipboard":"Udklipsholder/Fortryd","editing":"Redigering","forms":"Formularer","basicstyles":"Basis styles","paragraph":"Paragraf","links":"Links","insert":"Indsæt","styles":"Typografier","colors":"Farver","tools":"Værktøjer"},"toolbars":"Editors værktøjslinjer"},"table":{"border":"Rammebredde","caption":"Titel","cell":{"menu":"Celle","insertBefore":"Indsæt celle før","insertAfter":"Indsæt celle efter","deleteCell":"Slet celle","merge":"Flet celler","mergeRight":"Flet til højre","mergeDown":"Flet nedad","splitHorizontal":"Del celle vandret","splitVertical":"Del celle lodret","title":"Celleegenskaber","cellType":"Celletype","rowSpan":"Række span (rows span)","colSpan":"Kolonne span (columns span)","wordWrap":"Tekstombrydning","hAlign":"Vandret justering","vAlign":"Lodret justering","alignBaseline":"Grundlinje","bgColor":"Baggrundsfarve","borderColor":"Rammefarve","data":"Data","header":"Hoved","yes":"Ja","no":"Nej","invalidWidth":"Cellebredde skal være et tal.","invalidHeight":"Cellehøjde skal være et tal.","invalidRowSpan":"Række span skal være et heltal.","invalidColSpan":"Kolonne span skal være et heltal.","chooseColor":"Vælg"},"cellPad":"Cellemargen","cellSpace":"Celleafstand","column":{"menu":"Kolonne","insertBefore":"Indsæt kolonne før","insertAfter":"Indsæt kolonne efter","deleteColumn":"Slet kolonne"},"columns":"Kolonner","deleteTable":"Slet tabel","headers":"Hoved","headersBoth":"Begge","headersColumn":"Første kolonne","headersNone":"Ingen","headersRow":"Første række","heightUnit":"height unit","invalidBorder":"Rammetykkelse skal være et tal.","invalidCellPadding":"Cellemargen skal være et tal.","invalidCellSpacing":"Celleafstand skal være et tal.","invalidCols":"Antallet af kolonner skal være større end 0.","invalidHeight":"Tabelhøjde skal være et tal.","invalidRows":"Antallet af rækker skal være større end 0.","invalidWidth":"Tabelbredde skal være et tal.","menu":"Egenskaber for tabel","row":{"menu":"Række","insertBefore":"Indsæt række før","insertAfter":"Indsæt række efter","deleteRow":"Slet række"},"rows":"Rækker","summary":"Resumé","title":"Egenskaber for tabel","toolbar":"Tabel","widthPc":"procent","widthPx":"pixels","widthUnit":"Bredde på enhed"},"stylescombo":{"label":"Typografi","panelTitle":"Formattering på stylesheet","panelTitle1":"Block typografi","panelTitle2":"Inline typografi","panelTitle3":"Object typografi"},"specialchar":{"options":"Muligheder for specialkarakterer","title":"Vælg symbol","toolbar":"Indsæt symbol"},"sourcedialog":{"toolbar":"Kilde","title":"Kilde"},"sourcearea":{"toolbar":"Kilde"},"showblocks":{"toolbar":"Vis afsnitsmærker"},"removeformat":{"toolbar":"Fjern formatering"},"pastetext":{"button":"Indsæt som ikke-formateret tekst","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Indsæt som ikke-formateret tekst"},"pastefromword":{"confirmCleanup":"Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes?","error":"Det var ikke muligt at fjerne formatteringen på den indsatte tekst grundet en intern fejl","title":"Indsæt fra Word","toolbar":"Indsæt fra Word"},"notification":{"closed":"Notefikation lukket."},"maximize":{"maximize":"Maksimér","minimize":"Minimér"},"magicline":{"title":"Indsæt afsnit"},"list":{"bulletedlist":"Punktopstilling","numberedlist":"Talopstilling"},"language":{"button":"Vælg sprog","remove":"Fjern sprog"},"indent":{"indent":"Forøg indrykning","outdent":"Formindsk indrykning"},"image2":{"alt":"Alternativ tekst","btnUpload":"Upload fil til serveren","captioned":"Tekstet billede","captionPlaceholder":"Tekst","infoTab":"Generelt","lockRatio":"Lås størrelsesforhold","menu":"Egenskaber for billede","pathName":"billede","pathNameCaption":"tekst","resetSize":"Nulstil størrelse","resizer":"Klik og træk for at ændre størrelsen","title":"Egenskaber for billede","uploadTab":"Upload","urlMissing":"Kilde på billed-URL mangler","altMissing":"Alternative text is missing."},"horizontalrule":{"toolbar":"Indsæt vandret streg"},"format":{"label":"Formatering","panelTitle":"Formatering","tag_address":"Adresse","tag_div":"Normal (DIV)","tag_h1":"Overskrift 1","tag_h2":"Overskrift 2","tag_h3":"Overskrift 3","tag_h4":"Overskrift 4","tag_h5":"Overskrift 5","tag_h6":"Overskrift 6","tag_p":"Normal","tag_pre":"Formateret"},"filetools":{"loadError":"Der skete en fejl ved indlæsningen af filen.","networkError":"Der skete en netværks fejl under uploadingen.","httpError404":"Der skete en HTTP fejl under uploadingen (404: File not found).","httpError403":"Der skete en HTTP fejl under uploadingen (403: Forbidden).","httpError":"Der skete en HTTP fejl under uploadingen (error status: %1).","noUrlError":"Upload URL er ikke defineret.","responseError":"Ikke korrekt server svar."},"elementspath":{"eleLabel":"Sti på element","eleTitle":"%1 element"},"contextmenu":{"options":"Muligheder for hjælpemenu"},"clipboard":{"copy":"Kopiér","copyError":"Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen. Brug i stedet tastaturet til at kopiere teksten (Ctrl/Cmd+C).","cut":"Klip","cutError":"Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen. Brug i stedet tastaturet til at klippe teksten (Ctrl/Cmd+X).","paste":"Indsæt","pasteNotification":"Tryk %1 for at sætte ind. Din browser understøtter ikke indsættelse med værktøjslinje knappen eller kontekst menuen.","pasteArea":"Indsættelses område","pasteMsg":"Indsæt dit indhold i området nedenfor og tryk OK."},"blockquote":{"toolbar":"Blokcitat"},"basicstyles":{"bold":"Fed","italic":"Kursiv","strike":"Gennemstreget","subscript":"Sænket skrift","superscript":"Hævet skrift","underline":"Understreget"},"about":{"copy":"Copyright © $1. Alle rettigheder forbeholdes.","dlgTitle":"Om CKEditor 4","moreInfo":"For informationer omkring licens, se venligst vores hjemmeside (på engelsk):"},"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Tryk ALT 0 for hjælp","browseServer":"Gennemse...","url":"URL","protocol":"Protokol","upload":"Upload","uploadSubmit":"Upload","image":"Indsæt billede","flash":"Indsæt Flash","form":"Indsæt formular","checkbox":"Indsæt afkrydsningsfelt","radio":"Indsæt alternativknap","textField":"Indsæt tekstfelt","textarea":"Indsæt tekstboks","hiddenField":"Indsæt skjult felt","button":"Indsæt knap","select":"Indsæt liste","imageButton":"Indsæt billedknap","notSet":"<intet valgt>","id":"Id","name":"Navn","langDir":"Tekstretning","langDirLtr":"Fra venstre mod højre (LTR)","langDirRtl":"Fra højre mod venstre (RTL)","langCode":"Sprogkode","longDescr":"Udvidet beskrivelse","cssClass":"Typografiark (CSS)","advisoryTitle":"Titel","cssStyle":"Typografi (CSS)","ok":"OK","cancel":"Annullér","close":"Luk","preview":"Forhåndsvisning","resize":"Træk for at skalere","generalTab":"Generelt","advancedTab":"Avanceret","validateNumberFailed":"Værdien er ikke et tal.","confirmNewPage":"Alt indhold, der ikke er blevet gemt, vil gå tabt. Er du sikker på, at du vil indlæse en ny side?","confirmCancel":"Nogle af indstillingerne er blevet ændret. Er du sikker på, at du vil lukke vinduet?","options":"Vis muligheder","target":"Mål","targetNew":"Nyt vindue (_blank)","targetTop":"Øverste vindue (_top)","targetSelf":"Samme vindue (_self)","targetParent":"Samme vindue (_parent)","langDirLTR":"Venstre til højre (LTR)","langDirRTL":"Højre til venstre (RTL)","styles":"Style","cssClasses":"Stylesheetklasser","width":"Bredde","height":"Højde","align":"Justering","left":"Venstre","right":"Højre","center":"Center","justify":"Lige margener","alignLeft":"Venstrestillet","alignRight":"Højrestillet","alignCenter":"Centreret","alignTop":"Øverst","alignMiddle":"Centreret","alignBottom":"Nederst","alignNone":"Ingen","invalidValue":"Ugyldig værdi.","invalidHeight":"Højde skal være et tal.","invalidWidth":"Bredde skal være et tal.","invalidLength":"Værdien angivet for feltet \"%1\" skal være et positivt heltal med eller uden en gyldig måleenhed (%2).","invalidCssLength":"Værdien specificeret for \"%1\" feltet skal være et positivt nummer med eller uden en CSS måleenhed (px, %, in, cm, mm, em, ex, pt, eller pc).","invalidHtmlLength":"Værdien specificeret for \"%1\" feltet skal være et positivt nummer med eller uden en CSS måleenhed (px eller %).","invalidInlineStyle":"Værdien specificeret for inline style skal indeholde en eller flere elementer med et format som \"name:value\", separeret af semikoloner","cssLengthTooltip":"Indsæt en numerisk værdi i pixel eller nummer med en gyldig CSS værdi (px, %, in, cm, mm, em, ex, pt, eller pc).","unavailable":"%1<span class=\"cke_accessibility\">, ikke tilgængelig</span>","keyboard":{"8":"Backspace","13":"Retur","16":"Shift","17":"Ctrl","18":"Alt","32":"Mellemrum","35":"Slut","36":"Hjem","46":"Slet","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Kommando"},"keyboardShortcut":"Tastatur genvej","optionDefault":"Standard"}}; \ No newline at end of file +CKEDITOR.lang['da']={"widget":{"move":"Klik og træk for at flytte","label":"%1 widget"},"undo":{"redo":"Annullér fortryd","undo":"Fortryd"},"toolbar":{"toolbarCollapse":"Sammenklap værktøjslinje","toolbarExpand":"Udvid værktøjslinje","toolbarGroups":{"document":"Dokument","clipboard":"Udklipsholder/Fortryd","editing":"Redigering","forms":"Formularer","basicstyles":"Basis styles","paragraph":"Paragraf","links":"Links","insert":"Indsæt","styles":"Typografier","colors":"Farver","tools":"Værktøjer"},"toolbars":"Editors værktøjslinjer"},"table":{"border":"Rammebredde","caption":"Titel","cell":{"menu":"Celle","insertBefore":"Indsæt celle før","insertAfter":"Indsæt celle efter","deleteCell":"Slet celle","merge":"Flet celler","mergeRight":"Flet til højre","mergeDown":"Flet nedad","splitHorizontal":"Del celle vandret","splitVertical":"Del celle lodret","title":"Celleegenskaber","cellType":"Celletype","rowSpan":"Række span (rows span)","colSpan":"Kolonne span (columns span)","wordWrap":"Tekstombrydning","hAlign":"Vandret justering","vAlign":"Lodret justering","alignBaseline":"Grundlinje","bgColor":"Baggrundsfarve","borderColor":"Rammefarve","data":"Data","header":"Hoved","yes":"Ja","no":"Nej","invalidWidth":"Cellebredde skal være et tal.","invalidHeight":"Cellehøjde skal være et tal.","invalidRowSpan":"Række span skal være et heltal.","invalidColSpan":"Kolonne span skal være et heltal.","chooseColor":"Vælg"},"cellPad":"Cellemargen","cellSpace":"Celleafstand","column":{"menu":"Kolonne","insertBefore":"Indsæt kolonne før","insertAfter":"Indsæt kolonne efter","deleteColumn":"Slet kolonne"},"columns":"Kolonner","deleteTable":"Slet tabel","headers":"Hoved","headersBoth":"Begge","headersColumn":"Første kolonne","headersNone":"Ingen","headersRow":"Første række","heightUnit":"højde enhed","invalidBorder":"Rammetykkelse skal være et tal.","invalidCellPadding":"Cellemargen skal være et tal.","invalidCellSpacing":"Celleafstand skal være et tal.","invalidCols":"Antallet af kolonner skal være større end 0.","invalidHeight":"Tabelhøjde skal være et tal.","invalidRows":"Antallet af rækker skal være større end 0.","invalidWidth":"Tabelbredde skal være et tal.","menu":"Egenskaber for tabel","row":{"menu":"Række","insertBefore":"Indsæt række før","insertAfter":"Indsæt række efter","deleteRow":"Slet række"},"rows":"Rækker","summary":"Resumé","title":"Egenskaber for tabel","toolbar":"Tabel","widthPc":"procent","widthPx":"pixels","widthUnit":"Bredde på enhed"},"stylescombo":{"label":"Typografi","panelTitle":"Formatering på stylesheet","panelTitle1":"Blok typografi","panelTitle2":"Inline typografi","panelTitle3":"Objekt typografi"},"specialchar":{"options":"Muligheder for specielle karakterer","title":"Vælg specielle karakterer","toolbar":"Indsæt specielle karakterer"},"sourcedialog":{"toolbar":"Kilde","title":"Kilde"},"sourcearea":{"toolbar":"Kilde"},"showblocks":{"toolbar":"Vis afsnitsmærker"},"removeformat":{"toolbar":"Fjern formatering"},"pastetext":{"button":"Indsæt som ikke-formateret tekst","pasteNotification":"Klik %1 for at indsætte. Din browser understøtter ikke indsæt med tastatur eller kontekstmenu-valg.","title":"Indsæt som ikke-formateret tekst"},"pastefromword":{"confirmCleanup":"Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes?","error":"Det var ikke muligt at fjerne formatteringen på den indsatte tekst grundet en intern fejl","title":"Indsæt fra Word","toolbar":"Indsæt fra Word"},"notification":{"closed":"Notifikation lukket."},"maximize":{"maximize":"Maksimér","minimize":"Minimér"},"magicline":{"title":"Indsæt afsnit"},"list":{"bulletedlist":"Punktopstilling","numberedlist":"Talopstilling"},"language":{"button":"Vælg sprog","remove":"Fjern sprog"},"indent":{"indent":"Forøg indrykning","outdent":"Formindsk indrykning"},"image2":{"alt":"Alternativ tekst","btnUpload":"Upload fil til serveren","captioned":"Tekstet billede","captionPlaceholder":"Tekst","infoTab":"Generelt","lockRatio":"Lås størrelsesforhold","menu":"Egenskaber for billede","pathName":"billede","pathNameCaption":"tekst","resetSize":"Nulstil størrelse","resizer":"Klik og træk for at ændre størrelsen","title":"Egenskaber for billede","uploadTab":"Upload","urlMissing":"Kilde på billed-URL mangler","altMissing":"Alternativ-tekst mangler."},"horizontalrule":{"toolbar":"Indsæt vandret streg"},"format":{"label":"Formatering","panelTitle":"Formatering","tag_address":"Adresse","tag_div":"Normal (DIV)","tag_h1":"Overskrift 1","tag_h2":"Overskrift 2","tag_h3":"Overskrift 3","tag_h4":"Overskrift 4","tag_h5":"Overskrift 5","tag_h6":"Overskrift 6","tag_p":"Normal","tag_pre":"Formateret"},"filetools":{"loadError":"Der skete en fejl ved indlæsningen af filen.","networkError":"Der skete en netværks fejl under uploadingen.","httpError404":"Der skete en HTTP fejl under uploadingen (404: File not found).","httpError403":"Der skete en HTTP fejl under uploadingen (403: Forbidden).","httpError":"Der skete en HTTP fejl under uploadingen (error status: %1).","noUrlError":"Upload URL er ikke defineret.","responseError":"Ikke korrekt server svar."},"elementspath":{"eleLabel":"Sti på element","eleTitle":"%1 element"},"contextmenu":{"options":"Muligheder for hjælpemenu"},"clipboard":{"copy":"Kopiér","copyError":"Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen. Brug i stedet tastaturet til at kopiere teksten (Ctrl/Cmd+C).","cut":"Klip","cutError":"Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen. Brug i stedet tastaturet til at klippe teksten (Ctrl/Cmd+X).","paste":"Indsæt","pasteNotification":"Tryk %1 for at sætte ind. Din browser understøtter ikke indsættelse med værktøjslinje knappen eller kontekst menuen.","pasteArea":"Indsættelses område","pasteMsg":"Indsæt dit indhold i området nedenfor og tryk OK."},"blockquote":{"toolbar":"Blokcitat"},"basicstyles":{"bold":"Fed","italic":"Kursiv","strike":"Gennemstreget","subscript":"Sænket skrift","superscript":"Hævet skrift","underline":"Understreget"},"about":{"copy":"Copyright © $1. Alle rettigheder forbeholdes.","dlgTitle":"Om CKEditor 4","moreInfo":"For informationer omkring licens, se venligst vores hjemmeside (på engelsk):"},"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Tryk ALT 0 for hjælp","browseServer":"Gennemse...","url":"URL","protocol":"Protokol","upload":"Upload","uploadSubmit":"Upload","image":"Indsæt billede","flash":"Indsæt Flash","form":"Indsæt formular","checkbox":"Indsæt afkrydsningsfelt","radio":"Indsæt alternativknap","textField":"Indsæt tekstfelt","textarea":"Indsæt tekstboks","hiddenField":"Indsæt skjult felt","button":"Indsæt knap","select":"Indsæt liste","imageButton":"Indsæt billedknap","notSet":"<intet valgt>","id":"Id","name":"Navn","langDir":"Tekstretning","langDirLtr":"Fra venstre mod højre (LTR)","langDirRtl":"Fra højre mod venstre (RTL)","langCode":"Sprogkode","longDescr":"Udvidet beskrivelse","cssClass":"Typografiark (CSS)","advisoryTitle":"Titel","cssStyle":"Typografi (CSS)","ok":"OK","cancel":"Annullér","close":"Luk","preview":"Forhåndsvisning","resize":"Træk for at skalere","generalTab":"Generelt","advancedTab":"Avanceret","validateNumberFailed":"Værdien er ikke et tal.","confirmNewPage":"Alt indhold, der ikke er blevet gemt, vil gå tabt. Er du sikker på, at du vil indlæse en ny side?","confirmCancel":"Nogle af indstillingerne er blevet ændret. Er du sikker på, at du vil lukke vinduet?","options":"Vis muligheder","target":"Mål","targetNew":"Nyt vindue (_blank)","targetTop":"Øverste vindue (_top)","targetSelf":"Samme vindue (_self)","targetParent":"Samme vindue (_parent)","langDirLTR":"Venstre til højre (LTR)","langDirRTL":"Højre til venstre (RTL)","styles":"Style","cssClasses":"Stylesheetklasser","width":"Bredde","height":"Højde","align":"Justering","left":"Venstre","right":"Højre","center":"Center","justify":"Lige margener","alignLeft":"Venstrestillet","alignRight":"Højrestillet","alignCenter":"Centreret","alignTop":"Øverst","alignMiddle":"Centreret","alignBottom":"Nederst","alignNone":"Ingen","invalidValue":"Ugyldig værdi.","invalidHeight":"Højde skal være et tal.","invalidWidth":"Bredde skal være et tal.","invalidLength":"Værdien angivet for feltet \"%1\" skal være et positivt heltal med eller uden en gyldig måleenhed (%2).","invalidCssLength":"Værdien specificeret for \"%1\" feltet skal være et positivt nummer med eller uden en CSS måleenhed (px, %, in, cm, mm, em, ex, pt, eller pc).","invalidHtmlLength":"Værdien specificeret for \"%1\" feltet skal være et positivt nummer med eller uden en CSS måleenhed (px eller %).","invalidInlineStyle":"Værdien specificeret for inline style skal indeholde en eller flere elementer med et format som \"name:value\", separeret af semikoloner","cssLengthTooltip":"Indsæt en numerisk værdi i pixel eller nummer med en gyldig CSS værdi (px, %, in, cm, mm, em, ex, pt, eller pc).","unavailable":"%1<span class=\"cke_accessibility\">, ikke tilgængelig</span>","keyboard":{"8":"Backspace","13":"Retur","16":"Shift","17":"Ctrl","18":"Alt","32":"Mellemrum","35":"Slut","36":"Hjem","46":"Slet","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Kommando"},"keyboardShortcut":"Tastatur genvej","optionDefault":"Standard"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/de.js b/web/core/assets/vendor/ckeditor/lang/de.js index 5bc59ad8fa3ffe63fc68362cb99d28354b250c3d..a71002803b771eac307e7f9226ded245bffd9fdd 100644 --- a/web/core/assets/vendor/ckeditor/lang/de.js +++ b/web/core/assets/vendor/ckeditor/lang/de.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['de']={"widget":{"move":"Zum Verschieben anwählen und ziehen","label":"%1 Steuerelement"},"undo":{"redo":"Wiederherstellen","undo":"Rückgängig"},"toolbar":{"toolbarCollapse":"Werkzeugleiste einklappen","toolbarExpand":"Werkzeugleiste ausklappen","toolbarGroups":{"document":"Dokument","clipboard":"Zwischenablage/Rückgängig","editing":"Editieren","forms":"Formulare","basicstyles":"Grundstile","paragraph":"Absatz","links":"Links","insert":"Einfügen","styles":"Stile","colors":"Farben","tools":"Werkzeuge"},"toolbars":"Editor Werkzeugleisten"},"table":{"border":"Rahmengröße","caption":"Überschrift","cell":{"menu":"Zelle","insertBefore":"Zelle davor einfügen","insertAfter":"Zelle danach einfügen","deleteCell":"Zelle löschen","merge":"Zellen verbinden","mergeRight":"Nach rechts verbinden","mergeDown":"Nach unten verbinden","splitHorizontal":"Zelle horizontal teilen","splitVertical":"Zelle vertikal teilen","title":"Zelleneigenschaften","cellType":"Zellart","rowSpan":"Anzahl Zeilen verbinden","colSpan":"Anzahl Spalten verbinden","wordWrap":"Zeilenumbruch","hAlign":"Horizontale Ausrichtung","vAlign":"Vertikale Ausrichtung","alignBaseline":"Grundlinie","bgColor":"Hintergrundfarbe","borderColor":"Rahmenfarbe","data":"Daten","header":"Überschrift","yes":"Ja","no":"Nein","invalidWidth":"Zellenbreite muss eine Zahl sein.","invalidHeight":"Zellenhöhe muss eine Zahl sein.","invalidRowSpan":"\"Anzahl Zeilen verbinden\" muss eine Ganzzahl sein.","invalidColSpan":"\"Anzahl Spalten verbinden\" muss eine Ganzzahl sein.","chooseColor":"Wählen"},"cellPad":"Zellenabstand innen","cellSpace":"Zellenabstand außen","column":{"menu":"Spalte","insertBefore":"Spalte links davor einfügen","insertAfter":"Spalte rechts danach einfügen","deleteColumn":"Spalte löschen"},"columns":"Spalte","deleteTable":"Tabelle löschen","headers":"Kopfzeile","headersBoth":"Beide","headersColumn":"Erste Spalte","headersNone":"Keine","headersRow":"Erste Zeile","heightUnit":"height unit","invalidBorder":"Die Rahmenbreite muß eine Zahl sein.","invalidCellPadding":"Der Zellenabstand innen muß eine positive Zahl sein.","invalidCellSpacing":"Der Zellenabstand außen muß eine positive Zahl sein.","invalidCols":"Die Anzahl der Spalten muß größer als 0 sein..","invalidHeight":"Die Tabellenbreite muß eine Zahl sein.","invalidRows":"Die Anzahl der Zeilen muß größer als 0 sein.","invalidWidth":"Die Tabellenbreite muss eine Zahl sein.","menu":"Tabellen-Eigenschaften","row":{"menu":"Zeile","insertBefore":"Zeile oberhalb einfügen","insertAfter":"Zeile unterhalb einfügen","deleteRow":"Zeile entfernen"},"rows":"Zeile","summary":"Inhaltsübersicht","title":"Tabellen-Eigenschaften","toolbar":"Tabelle","widthPc":"%","widthPx":"Pixel","widthUnit":"Breite Einheit"},"stylescombo":{"label":"Stil","panelTitle":"Formatierungsstile","panelTitle1":"Blockstile","panelTitle2":"Inline Stilart","panelTitle3":"Objektstile"},"specialchar":{"options":"Sonderzeichenoptionen","title":"Sonderzeichen auswählen","toolbar":"Sonderzeichen einfügen"},"sourcedialog":{"toolbar":"Quellcode","title":"Quellcode"},"sourcearea":{"toolbar":"Quellcode"},"showblocks":{"toolbar":"Blöcke anzeigen"},"removeformat":{"toolbar":"Formatierung entfernen"},"pastetext":{"button":"Als Klartext einfügen","pasteNotification":"Drücken Sie %1 zum Einfügen. Ihr Browser unterstützt nicht das Einfügen über dem Knopf in der Toolbar oder dem Kontextmenü.","title":"Als Klartext einfügen"},"pastefromword":{"confirmCleanup":"Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?","error":"Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen","title":"Aus Word einfügen","toolbar":"Aus Word einfügen"},"notification":{"closed":"Benachrichtigung geschlossen."},"maximize":{"maximize":"Maximieren","minimize":"Minimieren"},"magicline":{"title":"Absatz hier einfügen"},"list":{"bulletedlist":"Liste","numberedlist":"Nummerierte Liste einfügen/entfernen"},"language":{"button":"Sprache festlegen","remove":"Sprache entfernen"},"indent":{"indent":"Einzug erhöhen","outdent":"Einzug verringern"},"image2":{"alt":"Alternativer Text","btnUpload":"Zum Server senden","captioned":"Bild mit Überschrift","captionPlaceholder":"Überschrift","infoTab":"Bildinfo","lockRatio":"Größenverhältnis beibehalten","menu":"Bildeigenschaften","pathName":"Bild","pathNameCaption":"Überschrift","resetSize":"Größe zurücksetzen","resizer":"Zum Vergrößern auswählen und ziehen","title":"Bild-Eigenschaften","uploadTab":"Hochladen","urlMissing":"Bildquellen-URL fehlt.","altMissing":"Alternativer Text fehlt."},"horizontalrule":{"toolbar":"Horizontale Linie einfügen"},"format":{"label":"Format","panelTitle":"Absatzformat","tag_address":"Adresse","tag_div":"Normal (DIV)","tag_h1":"Überschrift 1","tag_h2":"Überschrift 2","tag_h3":"Überschrift 3","tag_h4":"Überschrift 4","tag_h5":"Überschrift 5","tag_h6":"Überschrift 6","tag_p":"Normal","tag_pre":"Formatiert"},"filetools":{"loadError":"Während des Lesens der Datei ist ein Fehler aufgetreten.","networkError":"Während des Hochladens der Datei ist ein Netzwerkfehler aufgetreten.","httpError404":"Während des Hochladens der Datei ist ein HTTP-Fehler aufgetreten (404: Datei nicht gefunden).","httpError403":"Während des Hochladens der Datei ist ein HTTP-Fehler aufgetreten (403: Verboten).","httpError":"Während des Hochladens der Datei ist ein HTTP-Fehler aufgetreten (Fehlerstatus: %1).","noUrlError":"Hochlade-URL ist nicht definiert.","responseError":"Falsche Antwort des Servers."},"elementspath":{"eleLabel":"Elementepfad","eleTitle":"%1 Element"},"contextmenu":{"options":"Kontextmenüoptionen"},"clipboard":{"copy":"Kopieren","copyError":"Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).","cut":"Ausschneiden","cutError":"Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).","paste":"Einfügen","pasteNotification":"Drücken Sie %1 zum Einfügen. Ihr Browser unterstützt nicht das Einfügen über dem Knopf in der Toolbar oder dem Kontextmenü.","pasteArea":"Einfügebereich","pasteMsg":"Fügen Sie den Inhalt in den unteren Bereich ein und drücken Sie OK."},"blockquote":{"toolbar":"Zitatblock"},"basicstyles":{"bold":"Fett","italic":"Kursiv","strike":"Durchgestrichen","subscript":"Tiefgestellt","superscript":"Hochgestellt","underline":"Unterstrichen"},"about":{"copy":"Copyright © $1. Alle Rechte vorbehalten.","dlgTitle":"Über CKEditor 4","moreInfo":"Für Informationen über unsere Lizenzbestimmungen besuchen sie bitte unsere Webseite:"},"editor":"WYSIWYG-Editor","editorPanel":"WYSIWYG-Editor-Leiste","common":{"editorHelp":"Drücken Sie ALT 0 für Hilfe","browseServer":"Server durchsuchen","url":"URL","protocol":"Protokoll","upload":"Hochladen","uploadSubmit":"Zum Server senden","image":"Bild","flash":"Flash","form":"Formular","checkbox":"Kontrollbox","radio":"Optionsfeld","textField":"Textfeld","textarea":"Textfeld","hiddenField":"Verstecktes Feld","button":"Schaltfläche","select":"Auswahlfeld","imageButton":"Bildschaltfläche","notSet":"<nicht festgelegt>","id":"Kennung","name":"Name","langDir":"Schreibrichtung","langDirLtr":"Links nach Rechts (LTR)","langDirRtl":"Rechts nach Links (RTL)","langCode":"Sprachcode","longDescr":"Langbeschreibungs-URL","cssClass":"Formatvorlagenklassen","advisoryTitle":"Titel Beschreibung","cssStyle":"Stil","ok":"OK","cancel":"Abbrechen","close":"Schließen","preview":"Vorschau","resize":"Größe ändern","generalTab":"Allgemein","advancedTab":"Erweitert","validateNumberFailed":"Dieser Wert ist keine Nummer.","confirmNewPage":"Alle nicht gespeicherten Änderungen gehen verloren. Sind Sie sicher die neue Seite zu laden?","confirmCancel":"Einige Optionen wurden geändert. Wollen Sie den Dialog dennoch schließen?","options":"Optionen","target":"Zielseite","targetNew":"Neues Fenster (_blank)","targetTop":"Oberstes Fenster (_top)","targetSelf":"Gleiches Fenster (_self)","targetParent":"Oberes Fenster (_parent)","langDirLTR":"Links nach Rechts (LNR)","langDirRTL":"Rechts nach Links (RNL)","styles":"Style","cssClasses":"Stylesheet Klasse","width":"Breite","height":"Höhe","align":"Ausrichtung","left":"Links","right":"Rechts","center":"Zentriert","justify":"Blocksatz","alignLeft":"Linksbündig","alignRight":"Rechtsbündig","alignCenter":"Zentriert","alignTop":"Oben","alignMiddle":"Mitte","alignBottom":"Unten","alignNone":"Keine","invalidValue":"Ungültiger Wert.","invalidHeight":"Höhe muss eine Zahl sein.","invalidWidth":"Breite muss eine Zahl sein.","invalidLength":"Der für das Feld \"%1\" angegebene Wert muss eine positive Zahl mit oder ohne gültige Maßeinheit (%2) sein. ","invalidCssLength":"Wert spezifiziert für \"%1\" Feld muss ein positiver numerischer Wert sein mit oder ohne korrekte CSS Messeinheit (px, %, in, cm, mm, em, ex, pt oder pc).","invalidHtmlLength":"Wert spezifiziert für \"%1\" Feld muss ein positiver numerischer Wert sein mit oder ohne korrekte HTML Messeinheit (px oder %).","invalidInlineStyle":"Wert spezifiziert für inline Stilart muss enthalten ein oder mehr Tupels mit dem Format \"Name : Wert\" getrennt mit Semikolons.","cssLengthTooltip":"Gebe eine Zahl ein für ein Wert in pixels oder eine Zahl mit einer korrekten CSS Messeinheit (px, %, in, cm, mm, em, ex, pt oder pc).","unavailable":"%1<span class=\"cke_accessibility\">, nicht verfügbar</span>","keyboard":{"8":"Rücktaste","13":"Eingabe","16":"Umschalt","17":"Strg","18":"Alt","32":"Leer","35":"Ende","36":"Pos1","46":"Entfernen","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Befehl"},"keyboardShortcut":"Tastaturkürzel","optionDefault":"Standard"}}; \ No newline at end of file +CKEDITOR.lang['de']={"widget":{"move":"Zum Verschieben anwählen und ziehen","label":"%1 Steuerelement"},"undo":{"redo":"Wiederherstellen","undo":"Rückgängig"},"toolbar":{"toolbarCollapse":"Werkzeugleiste einklappen","toolbarExpand":"Werkzeugleiste ausklappen","toolbarGroups":{"document":"Dokument","clipboard":"Zwischenablage/Rückgängig","editing":"Editieren","forms":"Formulare","basicstyles":"Grundstile","paragraph":"Absatz","links":"Links","insert":"Einfügen","styles":"Stile","colors":"Farben","tools":"Werkzeuge"},"toolbars":"Editor Werkzeugleisten"},"table":{"border":"Rahmengröße","caption":"Überschrift","cell":{"menu":"Zelle","insertBefore":"Zelle davor einfügen","insertAfter":"Zelle danach einfügen","deleteCell":"Zelle löschen","merge":"Zellen verbinden","mergeRight":"Nach rechts verbinden","mergeDown":"Nach unten verbinden","splitHorizontal":"Zelle horizontal teilen","splitVertical":"Zelle vertikal teilen","title":"Zelleneigenschaften","cellType":"Zellart","rowSpan":"Anzahl Zeilen verbinden","colSpan":"Anzahl Spalten verbinden","wordWrap":"Zeilenumbruch","hAlign":"Horizontale Ausrichtung","vAlign":"Vertikale Ausrichtung","alignBaseline":"Grundlinie","bgColor":"Hintergrundfarbe","borderColor":"Rahmenfarbe","data":"Daten","header":"Überschrift","yes":"Ja","no":"Nein","invalidWidth":"Zellenbreite muss eine Zahl sein.","invalidHeight":"Zellenhöhe muss eine Zahl sein.","invalidRowSpan":"\"Anzahl Zeilen verbinden\" muss eine Ganzzahl sein.","invalidColSpan":"\"Anzahl Spalten verbinden\" muss eine Ganzzahl sein.","chooseColor":"Wählen"},"cellPad":"Zellenabstand innen","cellSpace":"Zellenabstand außen","column":{"menu":"Spalte","insertBefore":"Spalte links davor einfügen","insertAfter":"Spalte rechts danach einfügen","deleteColumn":"Spalte löschen"},"columns":"Spalte","deleteTable":"Tabelle löschen","headers":"Kopfzeile","headersBoth":"Beide","headersColumn":"Erste Spalte","headersNone":"Keine","headersRow":"Erste Zeile","heightUnit":"Höheneinheit","invalidBorder":"Die Rahmenbreite muß eine Zahl sein.","invalidCellPadding":"Der Zellenabstand innen muß eine positive Zahl sein.","invalidCellSpacing":"Der Zellenabstand außen muß eine positive Zahl sein.","invalidCols":"Die Anzahl der Spalten muß größer als 0 sein..","invalidHeight":"Die Tabellenbreite muß eine Zahl sein.","invalidRows":"Die Anzahl der Zeilen muß größer als 0 sein.","invalidWidth":"Die Tabellenbreite muss eine Zahl sein.","menu":"Tabellen-Eigenschaften","row":{"menu":"Zeile","insertBefore":"Zeile oberhalb einfügen","insertAfter":"Zeile unterhalb einfügen","deleteRow":"Zeile entfernen"},"rows":"Zeile","summary":"Inhaltsübersicht","title":"Tabellen-Eigenschaften","toolbar":"Tabelle","widthPc":"%","widthPx":"Pixel","widthUnit":"Breite Einheit"},"stylescombo":{"label":"Stil","panelTitle":"Formatierungsstile","panelTitle1":"Blockstile","panelTitle2":"Inline Stilart","panelTitle3":"Objektstile"},"specialchar":{"options":"Sonderzeichenoptionen","title":"Sonderzeichen auswählen","toolbar":"Sonderzeichen einfügen"},"sourcedialog":{"toolbar":"Quellcode","title":"Quellcode"},"sourcearea":{"toolbar":"Quellcode"},"showblocks":{"toolbar":"Blöcke anzeigen"},"removeformat":{"toolbar":"Formatierung entfernen"},"pastetext":{"button":"Als Klartext einfügen","pasteNotification":"Drücken Sie %1 zum Einfügen. Ihr Browser unterstützt nicht das Einfügen über dem Knopf in der Toolbar oder dem Kontextmenü.","title":"Als Klartext einfügen"},"pastefromword":{"confirmCleanup":"Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?","error":"Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen","title":"Aus Word einfügen","toolbar":"Aus Word einfügen"},"notification":{"closed":"Benachrichtigung geschlossen."},"maximize":{"maximize":"Maximieren","minimize":"Minimieren"},"magicline":{"title":"Absatz hier einfügen"},"list":{"bulletedlist":"Liste","numberedlist":"Nummerierte Liste einfügen/entfernen"},"language":{"button":"Sprache festlegen","remove":"Sprache entfernen"},"indent":{"indent":"Einzug erhöhen","outdent":"Einzug verringern"},"image2":{"alt":"Alternativer Text","btnUpload":"Zum Server senden","captioned":"Bild mit Überschrift","captionPlaceholder":"Überschrift","infoTab":"Bildinfo","lockRatio":"Größenverhältnis beibehalten","menu":"Bildeigenschaften","pathName":"Bild","pathNameCaption":"Überschrift","resetSize":"Größe zurücksetzen","resizer":"Zum Vergrößern auswählen und ziehen","title":"Bild-Eigenschaften","uploadTab":"Hochladen","urlMissing":"Bildquellen-URL fehlt.","altMissing":"Alternativer Text fehlt."},"horizontalrule":{"toolbar":"Horizontale Linie einfügen"},"format":{"label":"Format","panelTitle":"Absatzformat","tag_address":"Adresse","tag_div":"Normal (DIV)","tag_h1":"Überschrift 1","tag_h2":"Überschrift 2","tag_h3":"Überschrift 3","tag_h4":"Überschrift 4","tag_h5":"Überschrift 5","tag_h6":"Überschrift 6","tag_p":"Normal","tag_pre":"Formatiert"},"filetools":{"loadError":"Während des Lesens der Datei ist ein Fehler aufgetreten.","networkError":"Während des Hochladens der Datei ist ein Netzwerkfehler aufgetreten.","httpError404":"Während des Hochladens der Datei ist ein HTTP-Fehler aufgetreten (404: Datei nicht gefunden).","httpError403":"Während des Hochladens der Datei ist ein HTTP-Fehler aufgetreten (403: Verboten).","httpError":"Während des Hochladens der Datei ist ein HTTP-Fehler aufgetreten (Fehlerstatus: %1).","noUrlError":"Hochlade-URL ist nicht definiert.","responseError":"Falsche Antwort des Servers."},"elementspath":{"eleLabel":"Elementepfad","eleTitle":"%1 Element"},"contextmenu":{"options":"Kontextmenüoptionen"},"clipboard":{"copy":"Kopieren","copyError":"Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).","cut":"Ausschneiden","cutError":"Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).","paste":"Einfügen","pasteNotification":"Drücken Sie %1 zum Einfügen. Ihr Browser unterstützt nicht das Einfügen über dem Knopf in der Toolbar oder dem Kontextmenü.","pasteArea":"Einfügebereich","pasteMsg":"Fügen Sie den Inhalt in den unteren Bereich ein und drücken Sie OK."},"blockquote":{"toolbar":"Zitatblock"},"basicstyles":{"bold":"Fett","italic":"Kursiv","strike":"Durchgestrichen","subscript":"Tiefgestellt","superscript":"Hochgestellt","underline":"Unterstrichen"},"about":{"copy":"Copyright © $1. Alle Rechte vorbehalten.","dlgTitle":"Über CKEditor 4","moreInfo":"Für Informationen über unsere Lizenzbestimmungen besuchen sie bitte unsere Webseite:"},"editor":"WYSIWYG-Editor","editorPanel":"WYSIWYG-Editor-Leiste","common":{"editorHelp":"Drücken Sie ALT 0 für Hilfe","browseServer":"Server durchsuchen","url":"URL","protocol":"Protokoll","upload":"Hochladen","uploadSubmit":"Zum Server senden","image":"Bild","flash":"Flash","form":"Formular","checkbox":"Kontrollbox","radio":"Optionsfeld","textField":"Textfeld","textarea":"Textfeld","hiddenField":"Verstecktes Feld","button":"Schaltfläche","select":"Auswahlfeld","imageButton":"Bildschaltfläche","notSet":"<nicht festgelegt>","id":"Kennung","name":"Name","langDir":"Schreibrichtung","langDirLtr":"Links nach Rechts (LTR)","langDirRtl":"Rechts nach Links (RTL)","langCode":"Sprachcode","longDescr":"Langbeschreibungs-URL","cssClass":"Formatvorlagenklassen","advisoryTitle":"Titel Beschreibung","cssStyle":"Stil","ok":"OK","cancel":"Abbrechen","close":"Schließen","preview":"Vorschau","resize":"Größe ändern","generalTab":"Allgemein","advancedTab":"Erweitert","validateNumberFailed":"Dieser Wert ist keine Nummer.","confirmNewPage":"Alle nicht gespeicherten Änderungen gehen verloren. Sind Sie sicher die neue Seite zu laden?","confirmCancel":"Einige Optionen wurden geändert. Wollen Sie den Dialog dennoch schließen?","options":"Optionen","target":"Zielseite","targetNew":"Neues Fenster (_blank)","targetTop":"Oberstes Fenster (_top)","targetSelf":"Gleiches Fenster (_self)","targetParent":"Oberes Fenster (_parent)","langDirLTR":"Links nach Rechts (LNR)","langDirRTL":"Rechts nach Links (RNL)","styles":"Style","cssClasses":"Stylesheet Klasse","width":"Breite","height":"Höhe","align":"Ausrichtung","left":"Links","right":"Rechts","center":"Zentriert","justify":"Blocksatz","alignLeft":"Linksbündig","alignRight":"Rechtsbündig","alignCenter":"Zentriert","alignTop":"Oben","alignMiddle":"Mitte","alignBottom":"Unten","alignNone":"Keine","invalidValue":"Ungültiger Wert.","invalidHeight":"Höhe muss eine Zahl sein.","invalidWidth":"Breite muss eine Zahl sein.","invalidLength":"Der für das Feld \"%1\" angegebene Wert muss eine positive Zahl mit oder ohne gültige Maßeinheit (%2) sein. ","invalidCssLength":"Wert spezifiziert für \"%1\" Feld muss ein positiver numerischer Wert sein mit oder ohne korrekte CSS Messeinheit (px, %, in, cm, mm, em, ex, pt oder pc).","invalidHtmlLength":"Wert spezifiziert für \"%1\" Feld muss ein positiver numerischer Wert sein mit oder ohne korrekte HTML Messeinheit (px oder %).","invalidInlineStyle":"Wert spezifiziert für inline Stilart muss enthalten ein oder mehr Tupels mit dem Format \"Name : Wert\" getrennt mit Semikolons.","cssLengthTooltip":"Gebe eine Zahl ein für ein Wert in pixels oder eine Zahl mit einer korrekten CSS Messeinheit (px, %, in, cm, mm, em, ex, pt oder pc).","unavailable":"%1<span class=\"cke_accessibility\">, nicht verfügbar</span>","keyboard":{"8":"Rücktaste","13":"Eingabe","16":"Umschalt","17":"Strg","18":"Alt","32":"Leer","35":"Ende","36":"Pos1","46":"Entfernen","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Befehl"},"keyboardShortcut":"Tastaturkürzel","optionDefault":"Standard"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/et.js b/web/core/assets/vendor/ckeditor/lang/et.js index fd3b63f6ba839ce79ea327741c628f69e53c3fdc..5a5568928e592d17de7ec161b5a379e60f7ea9b7 100644 --- a/web/core/assets/vendor/ckeditor/lang/et.js +++ b/web/core/assets/vendor/ckeditor/lang/et.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['et']={"widget":{"move":"Liigutamiseks klõpsa ja lohista","label":"%1 vidin"},"undo":{"redo":"Toimingu kordamine","undo":"Tagasivõtmine"},"toolbar":{"toolbarCollapse":"Tööriistariba peitmine","toolbarExpand":"Tööriistariba näitamine","toolbarGroups":{"document":"Dokument","clipboard":"Lõikelaud/tagasivõtmine","editing":"Muutmine","forms":"Vormid","basicstyles":"Põhistiilid","paragraph":"Lõik","links":"Lingid","insert":"Sisesta","styles":"Stiilid","colors":"Värvid","tools":"Tööriistad"},"toolbars":"Redaktori tööriistaribad"},"table":{"border":"Joone suurus","caption":"Tabeli tiitel","cell":{"menu":"Lahter","insertBefore":"Sisesta lahter enne","insertAfter":"Sisesta lahter peale","deleteCell":"Eemalda lahtrid","merge":"Ühenda lahtrid","mergeRight":"Ühenda paremale","mergeDown":"Ühenda alla","splitHorizontal":"Poolita lahter horisontaalselt","splitVertical":"Poolita lahter vertikaalselt","title":"Lahtri omadused","cellType":"Lahtri liik","rowSpan":"Ridade vahe","colSpan":"Tulpade vahe","wordWrap":"Sõnade murdmine","hAlign":"Horisontaalne joondus","vAlign":"Vertikaalne joondus","alignBaseline":"Baasjoon","bgColor":"Tausta värv","borderColor":"Äärise värv","data":"Andmed","header":"Päis","yes":"Jah","no":"Ei","invalidWidth":"Lahtri laius peab olema number.","invalidHeight":"Lahtri kõrgus peab olema number.","invalidRowSpan":"Ridade vahe peab olema täisarv.","invalidColSpan":"Tulpade vahe peab olema täisarv.","chooseColor":"Vali"},"cellPad":"Lahtri täidis","cellSpace":"Lahtri vahe","column":{"menu":"Veerg","insertBefore":"Sisesta veerg enne","insertAfter":"Sisesta veerg peale","deleteColumn":"Eemalda veerud"},"columns":"Veerud","deleteTable":"Kustuta tabel","headers":"Päised","headersBoth":"Mõlemad","headersColumn":"Esimene tulp","headersNone":"Puudub","headersRow":"Esimene rida","heightUnit":"height unit","invalidBorder":"Äärise suurus peab olema number.","invalidCellPadding":"Lahtrite polsterdus (padding) peab olema positiivne arv.","invalidCellSpacing":"Lahtrite vahe peab olema positiivne arv.","invalidCols":"Tulpade arv peab olema nullist suurem.","invalidHeight":"Tabeli kõrgus peab olema number.","invalidRows":"Ridade arv peab olema nullist suurem.","invalidWidth":"Tabeli laius peab olema number.","menu":"Tabeli omadused","row":{"menu":"Rida","insertBefore":"Sisesta rida enne","insertAfter":"Sisesta rida peale","deleteRow":"Eemalda read"},"rows":"Read","summary":"Kokkuvõte","title":"Tabeli omadused","toolbar":"Tabel","widthPc":"protsenti","widthPx":"pikslit","widthUnit":"laiuse ühik"},"stylescombo":{"label":"Stiil","panelTitle":"Vormindusstiilid","panelTitle1":"Blokkstiilid","panelTitle2":"Reasisesed stiilid","panelTitle3":"Objektistiilid"},"specialchar":{"options":"Erimärkide valikud","title":"Erimärgi valimine","toolbar":"Erimärgi sisestamine"},"sourcedialog":{"toolbar":"Lähtekood","title":"Lähtekood"},"sourcearea":{"toolbar":"Lähtekood"},"showblocks":{"toolbar":"Blokkide näitamine"},"removeformat":{"toolbar":"Vormingu eemaldamine"},"pastetext":{"button":"Asetamine tavalise tekstina","pasteNotification":"Asetamiseks vajuta %1. Sinu brauser ei toeta asetamist tööriistariba nupu või kontekstimenüü valikuga.","title":"Asetamine tavalise tekstina"},"pastefromword":{"confirmCleanup":"Tekst, mida tahad asetada näib pärinevat Wordist. Kas tahad selle enne asetamist puhastada?","error":"Asetatud andmete puhastamine ei olnud sisemise vea tõttu võimalik","title":"Asetamine Wordist","toolbar":"Asetamine Wordist"},"notification":{"closed":"Teavitused on suletud."},"maximize":{"maximize":"Maksimeerimine","minimize":"Minimeerimine"},"magicline":{"title":"Sisesta siia lõigu tekst"},"list":{"bulletedlist":"Punktloend","numberedlist":"Numberloend"},"language":{"button":"Määra keel","remove":"Eemalda keel"},"indent":{"indent":"Taande suurendamine","outdent":"Taande vähendamine"},"image2":{"alt":"Alternatiivne tekst","btnUpload":"Saada serverisse","captioned":"Pealkirjaga pilt","captionPlaceholder":"Pealkiri","infoTab":"Pildi info","lockRatio":"Lukusta kuvasuhe","menu":"Pildi omadused","pathName":"pilt","pathNameCaption":"pealkiri","resetSize":"Lähtesta suurus","resizer":"Suuruse muutmiseks klõpsa ja lohista","title":"Pildi omadused","uploadTab":"Lae üles","urlMissing":"Pildi lähte-URL on puudu.","altMissing":"Alternatiivtekst puudub."},"horizontalrule":{"toolbar":"Horisontaaljoone sisestamine"},"format":{"label":"Vorming","panelTitle":"Vorming","tag_address":"Aadress","tag_div":"Tavaline (DIV)","tag_h1":"Pealkiri 1","tag_h2":"Pealkiri 2","tag_h3":"Pealkiri 3","tag_h4":"Pealkiri 4","tag_h5":"Pealkiri 5","tag_h6":"Pealkiri 6","tag_p":"Tavaline","tag_pre":"Vormindatud"},"filetools":{"loadError":"Faili lugemisel esines viga.","networkError":"Faili üleslaadimisel esines võrgu viga.","httpError404":"Faili üleslaadimisel esines HTTP viga (404: faili ei leitud).","httpError403":"Faili üleslaadimisel esines HTTP viga (403: keelatud).","httpError":"Faili üleslaadimisel esines HTTP viga (veakood: %1).","noUrlError":"Üleslaadimise URL ei ole määratud.","responseError":"Vigane serveri vastus."},"elementspath":{"eleLabel":"Elementide asukoht","eleTitle":"%1 element"},"contextmenu":{"options":"Kontekstimenüü valikud"},"clipboard":{"copy":"Kopeeri","copyError":"Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+C).","cut":"Lõika","cutError":"Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+X).","paste":"Aseta","pasteNotification":"Asetamiseks vajuta %1. Sinu brauser ei toeta asetamist tööriistariba nupu või kontekstimenüü valikuga.","pasteArea":"Asetamise ala","pasteMsg":"Aseta sisu alumisse kasti ja vajuta OK nupule."},"blockquote":{"toolbar":"Blokktsitaat"},"basicstyles":{"bold":"Paks","italic":"Kursiiv","strike":"Läbijoonitud","subscript":"Allindeks","superscript":"Ülaindeks","underline":"Allajoonitud"},"about":{"copy":"Copyright © $1. Kõik õigused kaitstud.","dlgTitle":"CKEditor 4st lähemalt","moreInfo":"Litsentsi andmed leiab meie veebilehelt:"},"editor":"Rikkalik tekstiredaktor","editorPanel":"Rikkaliku tekstiredaktori paneel","common":{"editorHelp":"Abi saamiseks vajuta ALT 0","browseServer":"Serveri sirvimine","url":"URL","protocol":"Protokoll","upload":"Laadi üles","uploadSubmit":"Saada serverisse","image":"Pilt","flash":"Flash","form":"Vorm","checkbox":"Märkeruut","radio":"Raadionupp","textField":"Tekstilahter","textarea":"Tekstiala","hiddenField":"Varjatud lahter","button":"Nupp","select":"Valiklahter","imageButton":"Piltnupp","notSet":"<määramata>","id":"ID","name":"Nimi","langDir":"Keele suund","langDirLtr":"Vasakult paremale (LTR)","langDirRtl":"Paremalt vasakule (RTL)","langCode":"Keele kood","longDescr":"Pikk kirjeldus URL","cssClass":"Stiilistiku klassid","advisoryTitle":"Soovituslik pealkiri","cssStyle":"Laad","ok":"Olgu","cancel":"Loobu","close":"Sulge","preview":"Eelvaade","resize":"Suuruse muutmiseks lohista","generalTab":"Üldine","advancedTab":"Täpsemalt","validateNumberFailed":"See väärtus pole number.","confirmNewPage":"Kõik salvestamata muudatused lähevad kaotsi. Kas oled kindel, et tahad laadida uue lehe?","confirmCancel":"Mõned valikud on muudetud. Kas oled kindel, et tahad dialoogi sulgeda?","options":"Valikud","target":"Sihtkoht","targetNew":"Uus aken (_blank)","targetTop":"Kõige ülemine aken (_top)","targetSelf":"Sama aken (_self)","targetParent":"Vanemaken (_parent)","langDirLTR":"Vasakult paremale (LTR)","langDirRTL":"Paremalt vasakule (RTL)","styles":"Stiili","cssClasses":"Stiililehe klassid","width":"Laius","height":"Kõrgus","align":"Joondus","left":"Vasak","right":"Paremale","center":"Kesk","justify":"Rööpjoondus","alignLeft":"Vasakjoondus","alignRight":"Paremjoondus","alignCenter":"Keskjoondus","alignTop":"Üles","alignMiddle":"Keskele","alignBottom":"Alla","alignNone":"Pole","invalidValue":"Vigane väärtus.","invalidHeight":"Kõrgus peab olema number.","invalidWidth":"Laius peab olema number.","invalidLength":"Välja \"%1\" väärtus peab olema positiivne arv korrektse ühikuga (%2) või ilma.","invalidCssLength":"\"%1\" välja jaoks määratud väärtus peab olema positiivne täisarv CSS ühikuga (px, %, in, cm, mm, em, ex, pt või pc) või ilma.","invalidHtmlLength":"\"%1\" välja jaoks määratud väärtus peab olema positiivne täisarv HTML ühikuga (px või %) või ilma.","invalidInlineStyle":"Reasisese stiili määrangud peavad koosnema paarisväärtustest (tuples), mis on semikoolonitega eraldatult järgnevas vormingus: \"nimi : väärtus\".","cssLengthTooltip":"Sisesta väärtus pikslites või number koos sobiva CSS-i ühikuga (px, %, in, cm, mm, em, ex, pt või pc).","unavailable":"%1<span class=\"cke_accessibility\">, pole saadaval</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Tühik","35":"End","36":"Home","46":"Kustuta","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Kiirklahv","optionDefault":"Vaikeväärtus"}}; \ No newline at end of file +CKEDITOR.lang['et']={"widget":{"move":"Liigutamiseks klõpsa ja lohista","label":"%1 vidin"},"undo":{"redo":"Toimingu kordamine","undo":"Tagasivõtmine"},"toolbar":{"toolbarCollapse":"Tööriistariba peitmine","toolbarExpand":"Tööriistariba näitamine","toolbarGroups":{"document":"Dokument","clipboard":"Lõikelaud/tagasivõtmine","editing":"Muutmine","forms":"Vormid","basicstyles":"Põhistiilid","paragraph":"Lõik","links":"Lingid","insert":"Sisesta","styles":"Stiilid","colors":"Värvid","tools":"Tööriistad"},"toolbars":"Redaktori tööriistaribad"},"table":{"border":"Joone suurus","caption":"Tabeli tiitel","cell":{"menu":"Lahter","insertBefore":"Sisesta lahter enne","insertAfter":"Sisesta lahter peale","deleteCell":"Eemalda lahtrid","merge":"Ühenda lahtrid","mergeRight":"Ühenda paremale","mergeDown":"Ühenda alla","splitHorizontal":"Poolita lahter horisontaalselt","splitVertical":"Poolita lahter vertikaalselt","title":"Lahtri omadused","cellType":"Lahtri liik","rowSpan":"Ridade vahe","colSpan":"Tulpade vahe","wordWrap":"Sõnade murdmine","hAlign":"Horisontaalne joondus","vAlign":"Vertikaalne joondus","alignBaseline":"Baasjoon","bgColor":"Tausta värv","borderColor":"Äärise värv","data":"Andmed","header":"Päis","yes":"Jah","no":"Ei","invalidWidth":"Lahtri laius peab olema number.","invalidHeight":"Lahtri kõrgus peab olema number.","invalidRowSpan":"Ridade vahe peab olema täisarv.","invalidColSpan":"Tulpade vahe peab olema täisarv.","chooseColor":"Vali"},"cellPad":"Lahtri täidis","cellSpace":"Lahtri vahe","column":{"menu":"Veerg","insertBefore":"Sisesta veerg enne","insertAfter":"Sisesta veerg peale","deleteColumn":"Eemalda veerud"},"columns":"Veerud","deleteTable":"Kustuta tabel","headers":"Päised","headersBoth":"Mõlemad","headersColumn":"Esimene tulp","headersNone":"Puudub","headersRow":"Esimene rida","heightUnit":"kõrgusühik","invalidBorder":"Äärise suurus peab olema number.","invalidCellPadding":"Lahtrite polsterdus (padding) peab olema positiivne arv.","invalidCellSpacing":"Lahtrite vahe peab olema positiivne arv.","invalidCols":"Tulpade arv peab olema nullist suurem.","invalidHeight":"Tabeli kõrgus peab olema number.","invalidRows":"Ridade arv peab olema nullist suurem.","invalidWidth":"Tabeli laius peab olema number.","menu":"Tabeli omadused","row":{"menu":"Rida","insertBefore":"Sisesta rida enne","insertAfter":"Sisesta rida peale","deleteRow":"Eemalda read"},"rows":"Read","summary":"Kokkuvõte","title":"Tabeli omadused","toolbar":"Tabel","widthPc":"protsenti","widthPx":"pikslit","widthUnit":"laiuse ühik"},"stylescombo":{"label":"Stiil","panelTitle":"Vormindusstiilid","panelTitle1":"Blokkstiilid","panelTitle2":"Reasisesed stiilid","panelTitle3":"Objektistiilid"},"specialchar":{"options":"Erimärkide valikud","title":"Erimärgi valimine","toolbar":"Erimärgi sisestamine"},"sourcedialog":{"toolbar":"Lähtekood","title":"Lähtekood"},"sourcearea":{"toolbar":"Lähtekood"},"showblocks":{"toolbar":"Blokkide näitamine"},"removeformat":{"toolbar":"Vormingu eemaldamine"},"pastetext":{"button":"Asetamine tavalise tekstina","pasteNotification":"Asetamiseks vajuta %1. Sinu brauser ei toeta asetamist tööriistariba nupu või kontekstimenüü valikuga.","title":"Asetamine tavalise tekstina"},"pastefromword":{"confirmCleanup":"Tekst, mida tahad asetada näib pärinevat Wordist. Kas tahad selle enne asetamist puhastada?","error":"Asetatud andmete puhastamine ei olnud sisemise vea tõttu võimalik","title":"Asetamine Wordist","toolbar":"Asetamine Wordist"},"notification":{"closed":"Teavitused on suletud."},"maximize":{"maximize":"Maksimeerimine","minimize":"Minimeerimine"},"magicline":{"title":"Sisesta siia lõigu tekst"},"list":{"bulletedlist":"Punktloend","numberedlist":"Numberloend"},"language":{"button":"Määra keel","remove":"Eemalda keel"},"indent":{"indent":"Taande suurendamine","outdent":"Taande vähendamine"},"image2":{"alt":"Alternatiivne tekst","btnUpload":"Saada serverisse","captioned":"Pealkirjaga pilt","captionPlaceholder":"Pealkiri","infoTab":"Pildi info","lockRatio":"Lukusta kuvasuhe","menu":"Pildi omadused","pathName":"pilt","pathNameCaption":"pealkiri","resetSize":"Lähtesta suurus","resizer":"Suuruse muutmiseks klõpsa ja lohista","title":"Pildi omadused","uploadTab":"Lae üles","urlMissing":"Pildi lähte-URL on puudu.","altMissing":"Alternatiivtekst puudub."},"horizontalrule":{"toolbar":"Horisontaaljoone sisestamine"},"format":{"label":"Vorming","panelTitle":"Vorming","tag_address":"Aadress","tag_div":"Tavaline (DIV)","tag_h1":"Pealkiri 1","tag_h2":"Pealkiri 2","tag_h3":"Pealkiri 3","tag_h4":"Pealkiri 4","tag_h5":"Pealkiri 5","tag_h6":"Pealkiri 6","tag_p":"Tavaline","tag_pre":"Vormindatud"},"filetools":{"loadError":"Faili lugemisel esines viga.","networkError":"Faili üleslaadimisel esines võrgu viga.","httpError404":"Faili üleslaadimisel esines HTTP viga (404: faili ei leitud).","httpError403":"Faili üleslaadimisel esines HTTP viga (403: keelatud).","httpError":"Faili üleslaadimisel esines HTTP viga (veakood: %1).","noUrlError":"Üleslaadimise URL ei ole määratud.","responseError":"Vigane serveri vastus."},"elementspath":{"eleLabel":"Elementide asukoht","eleTitle":"%1 element"},"contextmenu":{"options":"Kontekstimenüü valikud"},"clipboard":{"copy":"Kopeeri","copyError":"Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+C).","cut":"Lõika","cutError":"Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+X).","paste":"Aseta","pasteNotification":"Asetamiseks vajuta %1. Sinu brauser ei toeta asetamist tööriistariba nupu või kontekstimenüü valikuga.","pasteArea":"Asetamise ala","pasteMsg":"Aseta sisu alumisse kasti ja vajuta OK nupule."},"blockquote":{"toolbar":"Blokktsitaat"},"basicstyles":{"bold":"Paks","italic":"Kursiiv","strike":"Läbijoonitud","subscript":"Allindeks","superscript":"Ülaindeks","underline":"Allajoonitud"},"about":{"copy":"Copyright © $1. Kõik õigused kaitstud.","dlgTitle":"CKEditor 4st lähemalt","moreInfo":"Litsentsi andmed leiab meie veebilehelt:"},"editor":"Rikkalik tekstiredaktor","editorPanel":"Rikkaliku tekstiredaktori paneel","common":{"editorHelp":"Abi saamiseks vajuta ALT 0","browseServer":"Serveri sirvimine","url":"URL","protocol":"Protokoll","upload":"Laadi üles","uploadSubmit":"Saada serverisse","image":"Pilt","flash":"Flash","form":"Vorm","checkbox":"Märkeruut","radio":"Raadionupp","textField":"Tekstilahter","textarea":"Tekstiala","hiddenField":"Varjatud lahter","button":"Nupp","select":"Valiklahter","imageButton":"Piltnupp","notSet":"<määramata>","id":"ID","name":"Nimi","langDir":"Keele suund","langDirLtr":"Vasakult paremale (LTR)","langDirRtl":"Paremalt vasakule (RTL)","langCode":"Keele kood","longDescr":"Pikk kirjeldus URL","cssClass":"Stiilistiku klassid","advisoryTitle":"Soovituslik pealkiri","cssStyle":"Laad","ok":"Olgu","cancel":"Loobu","close":"Sulge","preview":"Eelvaade","resize":"Suuruse muutmiseks lohista","generalTab":"Üldine","advancedTab":"Täpsemalt","validateNumberFailed":"See väärtus pole number.","confirmNewPage":"Kõik salvestamata muudatused lähevad kaotsi. Kas oled kindel, et tahad laadida uue lehe?","confirmCancel":"Mõned valikud on muudetud. Kas oled kindel, et tahad dialoogi sulgeda?","options":"Valikud","target":"Sihtkoht","targetNew":"Uus aken (_blank)","targetTop":"Kõige ülemine aken (_top)","targetSelf":"Sama aken (_self)","targetParent":"Vanemaken (_parent)","langDirLTR":"Vasakult paremale (LTR)","langDirRTL":"Paremalt vasakule (RTL)","styles":"Stiili","cssClasses":"Stiililehe klassid","width":"Laius","height":"Kõrgus","align":"Joondus","left":"Vasak","right":"Paremale","center":"Kesk","justify":"Rööpjoondus","alignLeft":"Vasakjoondus","alignRight":"Paremjoondus","alignCenter":"Keskjoondus","alignTop":"Üles","alignMiddle":"Keskele","alignBottom":"Alla","alignNone":"Pole","invalidValue":"Vigane väärtus.","invalidHeight":"Kõrgus peab olema number.","invalidWidth":"Laius peab olema number.","invalidLength":"Välja \"%1\" väärtus peab olema positiivne arv korrektse ühikuga (%2) või ilma.","invalidCssLength":"\"%1\" välja jaoks määratud väärtus peab olema positiivne täisarv CSS ühikuga (px, %, in, cm, mm, em, ex, pt või pc) või ilma.","invalidHtmlLength":"\"%1\" välja jaoks määratud väärtus peab olema positiivne täisarv HTML ühikuga (px või %) või ilma.","invalidInlineStyle":"Reasisese stiili määrangud peavad koosnema paarisväärtustest (tuples), mis on semikoolonitega eraldatult järgnevas vormingus: \"nimi : väärtus\".","cssLengthTooltip":"Sisesta väärtus pikslites või number koos sobiva CSS-i ühikuga (px, %, in, cm, mm, em, ex, pt või pc).","unavailable":"%1<span class=\"cke_accessibility\">, pole saadaval</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Tühik","35":"End","36":"Home","46":"Kustuta","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Kiirklahv","optionDefault":"Vaikeväärtus"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/fa.js b/web/core/assets/vendor/ckeditor/lang/fa.js index e92a20bea465b29f0c17ae5a05fd3306676b05e5..14514be32edd0e367e7dfb0c1ab6c5f6f7c148d9 100644 --- a/web/core/assets/vendor/ckeditor/lang/fa.js +++ b/web/core/assets/vendor/ckeditor/lang/fa.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['fa']={"widget":{"move":"کلیک و کشیدن برای جابجایی","label":"ابزارک %1"},"undo":{"redo":"بازچیدن","undo":"واچیدن"},"toolbar":{"toolbarCollapse":"بستن نوار ابزار","toolbarExpand":"بازکردن نوار ابزار","toolbarGroups":{"document":"سند","clipboard":"حافظه موقت/برگشت","editing":"در حال ویرایش","forms":"فرمها","basicstyles":"سبکهای پایه","paragraph":"بند","links":"پیوندها","insert":"ورود","styles":"سبکها","colors":"رنگها","tools":"ابزارها"},"toolbars":"نوار ابزارهای ویرایشگر"},"table":{"border":"اندازهٴ لبه","caption":"عنوان","cell":{"menu":"سلول","insertBefore":"افزودن سلول قبل از","insertAfter":"افزودن سلول بعد از","deleteCell":"حذف سلولها","merge":"ادغام سلولها","mergeRight":"ادغام به راست","mergeDown":"ادغام به پایین","splitHorizontal":"جدا کردن افقی سلول","splitVertical":"جدا کردن عمودی سلول","title":"ویژگیهای سلول","cellType":"نوع سلول","rowSpan":"محدوده ردیفها","colSpan":"محدوده ستونها","wordWrap":"شکستن کلمه","hAlign":"چینش افقی","vAlign":"چینش عمودی","alignBaseline":"خط مبنا","bgColor":"رنگ زمینه","borderColor":"رنگ خطوط","data":"اطلاعات","header":"سرنویس","yes":"بله","no":"خیر","invalidWidth":"عرض سلول باید یک عدد باشد.","invalidHeight":"ارتفاع سلول باید عدد باشد.","invalidRowSpan":"مقدار محدوده ردیفها باید یک عدد باشد.","invalidColSpan":"مقدار محدوده ستونها باید یک عدد باشد.","chooseColor":"انتخاب"},"cellPad":"فاصلهٴ پرشده در سلول","cellSpace":"فاصلهٴ میان سلولها","column":{"menu":"ستون","insertBefore":"افزودن ستون قبل از","insertAfter":"افزودن ستون بعد از","deleteColumn":"حذف ستونها"},"columns":"ستونها","deleteTable":"پاک کردن جدول","headers":"سرنویسها","headersBoth":"هردو","headersColumn":"اولین ستون","headersNone":"هیچ","headersRow":"اولین ردیف","heightUnit":"height unit","invalidBorder":"مقدار اندازه خطوط باید یک عدد باشد.","invalidCellPadding":"بالشتک سلول باید یک عدد باشد.","invalidCellSpacing":"مقدار فاصلهگذاری سلول باید یک عدد باشد.","invalidCols":"تعداد ستونها باید یک عدد بزرگتر از 0 باشد.","invalidHeight":"مقدار ارتفاع جدول باید یک عدد باشد.","invalidRows":"تعداد ردیفها باید یک عدد بزرگتر از 0 باشد.","invalidWidth":"مقدار پهنای جدول باید یک عدد باشد.","menu":"ویژگیهای جدول","row":{"menu":"سطر","insertBefore":"افزودن سطر قبل از","insertAfter":"افزودن سطر بعد از","deleteRow":"حذف سطرها"},"rows":"سطرها","summary":"خلاصه","title":"ویژگیهای جدول","toolbar":"جدول","widthPc":"درصد","widthPx":"پیکسل","widthUnit":"واحد پهنا"},"stylescombo":{"label":"سبک","panelTitle":"سبکهای قالببندی","panelTitle1":"سبکهای بلوک","panelTitle2":"سبکهای درونخطی","panelTitle3":"سبکهای شیء"},"specialchar":{"options":"گزینههای نویسههای ویژه","title":"گزینش نویسهی ویژه","toolbar":"گنجاندن نویسهی ویژه"},"sourcedialog":{"toolbar":"منبع","title":"منبع"},"sourcearea":{"toolbar":"منبع"},"showblocks":{"toolbar":"نمایش بلوکها"},"removeformat":{"toolbar":"برداشتن فرمت"},"pastetext":{"button":"چسباندن به عنوان متن ساده","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"چسباندن به عنوان متن ساده"},"pastefromword":{"confirmCleanup":"متنی که میخواهید بچسبانید به نظر میرسد که از Word کپی شده است. آیا میخواهید قبل از چسباندن آن را پاکسازی کنید؟","error":"به دلیل بروز خطای داخلی امکان پاکسازی اطلاعات بازنشانی شده وجود ندارد.","title":"چسباندن از Word","toolbar":"چسباندن از Word"},"notification":{"closed":"آگاهسازی بسته شد"},"maximize":{"maximize":"بیشنه کردن","minimize":"کمینه کردن"},"magicline":{"title":"قرار دادن بند در اینجا"},"list":{"bulletedlist":"فهرست نقطهای","numberedlist":"فهرست شمارهدار"},"language":{"button":"تعیین زبان","remove":"حذف زبان"},"indent":{"indent":"افزایش تورفتگی","outdent":"کاهش تورفتگی"},"image2":{"alt":"متن جایگزین","btnUpload":"به سرور بفرست","captioned":"تصویر زیرنویس شده","captionPlaceholder":"عنوان","infoTab":"اطلاعات تصویر","lockRatio":"قفل کردن نسبت","menu":"ویژگیهای تصویر","pathName":"تصویر","pathNameCaption":"عنوان","resetSize":"بازنشانی اندازه","resizer":"کلیک و کشیدن برای تغییر اندازه","title":"ویژگیهای تصویر","uploadTab":"بالاگذاری","urlMissing":"آدرس URL اصلی تصویر یافت نشد.","altMissing":"متن جایگزین یافت نشد."},"horizontalrule":{"toolbar":"گنجاندن خط افقی"},"format":{"label":"قالب","panelTitle":"قالب بند","tag_address":"نشانی","tag_div":"بند","tag_h1":"سرنویس ۱","tag_h2":"سرنویس ۲","tag_h3":"سرنویس ۳","tag_h4":"سرنویس ۴","tag_h5":"سرنویس ۵","tag_h6":"سرنویس ۶","tag_p":"معمولی","tag_pre":"قالبدار"},"filetools":{"loadError":"هنگام خواندن فایل، خطایی رخ داد.","networkError":"هنگام آپلود فایل خطای شبکه رخ داد.","httpError404":"هنگام آپلود فایل خطای HTTP رخ داد (404: فایل یافت نشد).","httpError403":"هنگام آپلود فایل، خطای HTTP رخ داد (403: ممنوع).","httpError":"خطای HTTP در آپلود فایل رخ داده است (وضعیت خطا: %1).","noUrlError":"آدرس آپلود تعریف نشده است.","responseError":"پاسخ نادرست سرور."},"elementspath":{"eleLabel":"مسیر عناصر","eleTitle":"%1 عنصر"},"contextmenu":{"options":"گزینههای منوی زمینه"},"clipboard":{"copy":"رونوشت","copyError":"تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپی کردن را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+C).","cut":"برش","cutError":"تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+X).","paste":"چسباندن","pasteNotification":"1% را فشاردهید تا قرار داده شود. مرورگر شما از قراردهی با دکمه نوارابزار یا گزینه منوی زمینه پشتیبانی نمیکند","pasteArea":"محل چسباندن","pasteMsg":"محتوای خود را در ناحیه زیر قرار دهید و OK را فشار دهید"},"blockquote":{"toolbar":"بلوک نقل قول"},"basicstyles":{"bold":"درشت","italic":"خمیده","strike":"خطخورده","subscript":"زیرنویس","superscript":"بالانویس","underline":"زیرخطدار"},"about":{"copy":"حق نشر © $1. کلیه حقوق محفوظ است.","dlgTitle":"درباره CKEditor","moreInfo":"برای کسب اطلاعات مجوز لطفا به وب سایت ما مراجعه کنید:"},"editor":"ویرایشگر متن غنی","editorPanel":"پنل ویرایشگر متن غنی","common":{"editorHelp":"کلید Alt+0 را برای راهنمایی بفشارید","browseServer":"فهرستنمایی سرور","url":"URL","protocol":"قرارداد","upload":"بالاگذاری","uploadSubmit":"به سرور بفرست","image":"تصویر","flash":"فلش","form":"فرم","checkbox":"چکباکس","radio":"دکمهی رادیویی","textField":"فیلد متنی","textarea":"ناحیهٴ متنی","hiddenField":"فیلد پنهان","button":"دکمه","select":"فیلد انتخاب چند گزینهای","imageButton":"دکمهی تصویری","notSet":"<تعییننشده>","id":"شناسه","name":"نام","langDir":"جهت زبان","langDirLtr":"چپ به راست","langDirRtl":"راست به چپ","langCode":"کد زبان","longDescr":"URL توصیف طولانی","cssClass":"کلاسهای شیوهنامه (Stylesheet)","advisoryTitle":"عنوان کمکی","cssStyle":"سبک","ok":"پذیرش","cancel":"انصراف","close":"بستن","preview":"پیشنمایش","resize":"تغییر اندازه","generalTab":"عمومی","advancedTab":"پیشرفته","validateNumberFailed":"این مقدار یک عدد نیست.","confirmNewPage":"هر تغییر ایجاد شدهی ذخیره نشده از بین خواهد رفت. آیا اطمینان دارید که قصد بارگیری صفحه جدیدی را دارید؟","confirmCancel":"برخی از گزینهها تغییر کردهاند. آیا واقعا قصد بستن این پنجره را دارید؟","options":"گزینهها","target":"مقصد","targetNew":"پنجره جدید","targetTop":"بالاترین پنجره","targetSelf":"همان پنجره","targetParent":"پنجره والد","langDirLTR":"چپ به راست","langDirRTL":"راست به چپ","styles":"سبک","cssClasses":"کلاسهای سبکنامه","width":"عرض","height":"طول","align":"چینش","left":"چپ","right":"راست","center":"وسط","justify":"بلوک چین","alignLeft":"چپ چین","alignRight":"راست چین","alignCenter":"مرکز قرار بده","alignTop":"بالا","alignMiddle":"میانه","alignBottom":"پائین","alignNone":"هیچ","invalidValue":"مقدار نامعتبر.","invalidHeight":"ارتفاع باید یک عدد باشد.","invalidWidth":"عرض باید یک عدد باشد.","invalidLength":"عدد تعیین شده برای فیلد \"%1\" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری معتبر (\"%2\") باشد.","invalidCssLength":"عدد تعیین شده برای فیلد \"%1\" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری CSS معتبر باشد (px, %, in, cm, mm, em, ex, pt, or pc).","invalidHtmlLength":"عدد تعیین شده برای فیلد \"%1\" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری HTML معتبر باشد (px or %).","invalidInlineStyle":"عدد تعیین شده برای سبک درونخطی -Inline Style- باید دارای یک یا چند چندتایی با شکلی شبیه \"name : value\" که باید با یک \";\" از هم جدا شوند.","cssLengthTooltip":"یک عدد برای یک مقدار بر حسب پیکسل و یا یک عدد با یک واحد CSS معتبر وارد کنید (px, %, in, cm, mm, em, ex, pt, or pc).","unavailable":"%1<span class=\"cke_accessibility\">، غیر قابل دسترس</span>","keyboard":{"8":"عقبگرد","13":"ورود","16":"تعویض","17":"کنترل","18":"دگرساز","32":"فاصله","35":"پایان","36":"خانه","46":"حذف","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"فرمان"},"keyboardShortcut":"میانبر صفحه کلید","optionDefault":"پیش فرض"}}; \ No newline at end of file +CKEDITOR.lang['fa']={"widget":{"move":"کلیک و کشیدن برای جابجایی","label":"ابزارک %1"},"undo":{"redo":"بازچیدن","undo":"واچیدن"},"toolbar":{"toolbarCollapse":"بستن نوار ابزار","toolbarExpand":"بازکردن نوار ابزار","toolbarGroups":{"document":"سند","clipboard":"حافظه موقت/برگشت","editing":"در حال ویرایش","forms":"فرمها","basicstyles":"سبکهای پایه","paragraph":"بند","links":"پیوندها","insert":"ورود","styles":"سبکها","colors":"رنگها","tools":"ابزارها"},"toolbars":"نوار ابزارهای ویرایشگر"},"table":{"border":"اندازهٴ لبه","caption":"عنوان","cell":{"menu":"سلول","insertBefore":"افزودن سلول قبل از","insertAfter":"افزودن سلول بعد از","deleteCell":"حذف سلولها","merge":"ادغام سلولها","mergeRight":"ادغام به راست","mergeDown":"ادغام به پایین","splitHorizontal":"جدا کردن افقی سلول","splitVertical":"جدا کردن عمودی سلول","title":"ویژگیهای سلول","cellType":"نوع سلول","rowSpan":"محدوده ردیفها","colSpan":"محدوده ستونها","wordWrap":"شکستن کلمه","hAlign":"چینش افقی","vAlign":"چینش عمودی","alignBaseline":"خط مبنا","bgColor":"رنگ زمینه","borderColor":"رنگ خطوط","data":"اطلاعات","header":"سرنویس","yes":"بله","no":"خیر","invalidWidth":"عرض سلول باید یک عدد باشد.","invalidHeight":"ارتفاع سلول باید عدد باشد.","invalidRowSpan":"مقدار محدوده ردیفها باید یک عدد باشد.","invalidColSpan":"مقدار محدوده ستونها باید یک عدد باشد.","chooseColor":"انتخاب"},"cellPad":"فاصلهٴ پرشده در سلول","cellSpace":"فاصلهٴ میان سلولها","column":{"menu":"ستون","insertBefore":"افزودن ستون قبل از","insertAfter":"افزودن ستون بعد از","deleteColumn":"حذف ستونها"},"columns":"ستونها","deleteTable":"پاک کردن جدول","headers":"سرنویسها","headersBoth":"هردو","headersColumn":"اولین ستون","headersNone":"هیچ","headersRow":"اولین ردیف","heightUnit":"واحد ارتفاع","invalidBorder":"مقدار اندازه خطوط باید یک عدد باشد.","invalidCellPadding":"بالشتک سلول باید یک عدد باشد.","invalidCellSpacing":"مقدار فاصلهگذاری سلول باید یک عدد باشد.","invalidCols":"تعداد ستونها باید یک عدد بزرگتر از 0 باشد.","invalidHeight":"مقدار ارتفاع جدول باید یک عدد باشد.","invalidRows":"تعداد ردیفها باید یک عدد بزرگتر از 0 باشد.","invalidWidth":"مقدار پهنای جدول باید یک عدد باشد.","menu":"ویژگیهای جدول","row":{"menu":"سطر","insertBefore":"افزودن سطر قبل از","insertAfter":"افزودن سطر بعد از","deleteRow":"حذف سطرها"},"rows":"سطرها","summary":"خلاصه","title":"ویژگیهای جدول","toolbar":"جدول","widthPc":"درصد","widthPx":"پیکسل","widthUnit":"واحد پهنا"},"stylescombo":{"label":"سبک","panelTitle":"سبکهای قالببندی","panelTitle1":"سبکهای بلوک","panelTitle2":"سبکهای درونخطی","panelTitle3":"سبکهای شیء"},"specialchar":{"options":"گزینههای نویسههای ویژه","title":"گزینش نویسهی ویژه","toolbar":"گنجاندن نویسهی ویژه"},"sourcedialog":{"toolbar":"منبع","title":"منبع"},"sourcearea":{"toolbar":"منبع"},"showblocks":{"toolbar":"نمایش بلوکها"},"removeformat":{"toolbar":"برداشتن فرمت"},"pastetext":{"button":"چسباندن به عنوان متن ساده","pasteNotification":"1% را فشاردهید تا بچسبد. مرورگر شما از چسباندن با دکمه نوارابزار یا گزینه منوی زمینه پشتیبانی نمیکند","title":"چسباندن به عنوان متن ساده"},"pastefromword":{"confirmCleanup":"متنی که میخواهید بچسبانید به نظر میرسد که از Word کپی شده است. آیا میخواهید قبل از چسباندن آن را پاکسازی کنید؟","error":"به دلیل بروز خطای داخلی امکان پاکسازی اطلاعات بازنشانی شده وجود ندارد.","title":"چسباندن از Word","toolbar":"چسباندن از Word"},"notification":{"closed":"آگاهسازی بسته شد"},"maximize":{"maximize":"بیشنه کردن","minimize":"کمینه کردن"},"magicline":{"title":"قرار دادن بند در اینجا"},"list":{"bulletedlist":"فهرست نقطهای","numberedlist":"فهرست شمارهدار"},"language":{"button":"تعیین زبان","remove":"حذف زبان"},"indent":{"indent":"افزایش تورفتگی","outdent":"کاهش تورفتگی"},"image2":{"alt":"متن جایگزین","btnUpload":"به سرور بفرست","captioned":"تصویر زیرنویس شده","captionPlaceholder":"عنوان","infoTab":"اطلاعات تصویر","lockRatio":"قفل کردن نسبت","menu":"ویژگیهای تصویر","pathName":"تصویر","pathNameCaption":"عنوان","resetSize":"بازنشانی اندازه","resizer":"کلیک و کشیدن برای تغییر اندازه","title":"ویژگیهای تصویر","uploadTab":"بالاگذاری","urlMissing":"آدرس URL اصلی تصویر یافت نشد.","altMissing":"متن جایگزین یافت نشد."},"horizontalrule":{"toolbar":"گنجاندن خط افقی"},"format":{"label":"قالب","panelTitle":"قالب بند","tag_address":"نشانی","tag_div":"بند","tag_h1":"سرنویس ۱","tag_h2":"سرنویس ۲","tag_h3":"سرنویس ۳","tag_h4":"سرنویس ۴","tag_h5":"سرنویس ۵","tag_h6":"سرنویس ۶","tag_p":"معمولی","tag_pre":"قالبدار"},"filetools":{"loadError":"هنگام خواندن فایل، خطایی رخ داد.","networkError":"هنگام آپلود فایل خطای شبکه رخ داد.","httpError404":"هنگام آپلود فایل خطای HTTP رخ داد (404: فایل یافت نشد).","httpError403":"هنگام آپلود فایل، خطای HTTP رخ داد (403: ممنوع).","httpError":"خطای HTTP در آپلود فایل رخ داده است (وضعیت خطا: %1).","noUrlError":"آدرس آپلود تعریف نشده است.","responseError":"پاسخ نادرست سرور."},"elementspath":{"eleLabel":"مسیر عناصر","eleTitle":"%1 عنصر"},"contextmenu":{"options":"گزینههای منوی زمینه"},"clipboard":{"copy":"رونوشت","copyError":"تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای کپی کردن را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+C).","cut":"برش","cutError":"تنظیمات امنیتی مرورگر شما اجازه نمیدهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمههای صفحه کلید این کار را انجام دهید (Ctrl/Cmd+X).","paste":"چسباندن","pasteNotification":"1% را فشاردهید تا قرار داده شود. مرورگر شما از قراردهی با دکمه نوارابزار یا گزینه منوی زمینه پشتیبانی نمیکند","pasteArea":"محل چسباندن","pasteMsg":"محتوای خود را در ناحیه زیر قرار دهید و OK را فشار دهید"},"blockquote":{"toolbar":"بلوک نقل قول"},"basicstyles":{"bold":"درشت","italic":"خمیده","strike":"خطخورده","subscript":"زیرنویس","superscript":"بالانویس","underline":"زیرخطدار"},"about":{"copy":"حق نشر © $1. کلیه حقوق محفوظ است.","dlgTitle":"درباره CKEditor","moreInfo":"برای کسب اطلاعات مجوز لطفا به وب سایت ما مراجعه کنید:"},"editor":"ویرایشگر متن غنی","editorPanel":"پنل ویرایشگر متن غنی","common":{"editorHelp":"کلید Alt+0 را برای راهنمایی بفشارید","browseServer":"فهرستنمایی سرور","url":"URL","protocol":"قرارداد","upload":"بالاگذاری","uploadSubmit":"به سرور بفرست","image":"تصویر","flash":"فلش","form":"فرم","checkbox":"چکباکس","radio":"دکمهی رادیویی","textField":"فیلد متنی","textarea":"ناحیهٴ متنی","hiddenField":"فیلد پنهان","button":"دکمه","select":"فیلد انتخاب چند گزینهای","imageButton":"دکمهی تصویری","notSet":"<تعییننشده>","id":"شناسه","name":"نام","langDir":"جهت زبان","langDirLtr":"چپ به راست","langDirRtl":"راست به چپ","langCode":"کد زبان","longDescr":"URL توصیف طولانی","cssClass":"کلاسهای شیوهنامه (Stylesheet)","advisoryTitle":"عنوان کمکی","cssStyle":"سبک","ok":"پذیرش","cancel":"انصراف","close":"بستن","preview":"پیشنمایش","resize":"تغییر اندازه","generalTab":"عمومی","advancedTab":"پیشرفته","validateNumberFailed":"این مقدار یک عدد نیست.","confirmNewPage":"هر تغییر ایجاد شدهی ذخیره نشده از بین خواهد رفت. آیا اطمینان دارید که قصد بارگیری صفحه جدیدی را دارید؟","confirmCancel":"برخی از گزینهها تغییر کردهاند. آیا واقعا قصد بستن این پنجره را دارید؟","options":"گزینهها","target":"مقصد","targetNew":"پنجره جدید","targetTop":"بالاترین پنجره","targetSelf":"همان پنجره","targetParent":"پنجره والد","langDirLTR":"چپ به راست","langDirRTL":"راست به چپ","styles":"سبک","cssClasses":"کلاسهای سبکنامه","width":"عرض","height":"طول","align":"چینش","left":"چپ","right":"راست","center":"وسط","justify":"بلوک چین","alignLeft":"چپ چین","alignRight":"راست چین","alignCenter":"مرکز قرار بده","alignTop":"بالا","alignMiddle":"میانه","alignBottom":"پائین","alignNone":"هیچ","invalidValue":"مقدار نامعتبر.","invalidHeight":"ارتفاع باید یک عدد باشد.","invalidWidth":"عرض باید یک عدد باشد.","invalidLength":"عدد تعیین شده برای فیلد \"%1\" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری معتبر (\"%2\") باشد.","invalidCssLength":"عدد تعیین شده برای فیلد \"%1\" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری CSS معتبر باشد (px, %, in, cm, mm, em, ex, pt, or pc).","invalidHtmlLength":"عدد تعیین شده برای فیلد \"%1\" باید یک عدد مثبت با یا بدون یک واحد اندازه گیری HTML معتبر باشد (px or %).","invalidInlineStyle":"عدد تعیین شده برای سبک درونخطی -Inline Style- باید دارای یک یا چند چندتایی با شکلی شبیه \"name : value\" که باید با یک \";\" از هم جدا شوند.","cssLengthTooltip":"یک عدد برای یک مقدار بر حسب پیکسل و یا یک عدد با یک واحد CSS معتبر وارد کنید (px, %, in, cm, mm, em, ex, pt, or pc).","unavailable":"%1<span class=\"cke_accessibility\">، غیر قابل دسترس</span>","keyboard":{"8":"عقبگرد","13":"ورود","16":"تعویض","17":"کنترل","18":"دگرساز","32":"فاصله","35":"پایان","36":"خانه","46":"حذف","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"فرمان"},"keyboardShortcut":"میانبر صفحه کلید","optionDefault":"پیش فرض"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/fr.js b/web/core/assets/vendor/ckeditor/lang/fr.js index 39e714191afbbc37bc2540500ea8a7e578838171..775b29970011678dac93d4f09222cccfffe8912b 100644 --- a/web/core/assets/vendor/ckeditor/lang/fr.js +++ b/web/core/assets/vendor/ckeditor/lang/fr.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['fr']={"widget":{"move":"Cliquer et glisser pour déplacer","label":"Élément %1"},"undo":{"redo":"Rétablir","undo":"Annuler"},"toolbar":{"toolbarCollapse":"Enrouler la barre d'outils","toolbarExpand":"Dérouler la barre d'outils","toolbarGroups":{"document":"Document","clipboard":"Presse-papier/Défaire","editing":"Édition","forms":"Formulaires","basicstyles":"Styles de base","paragraph":"Paragraphe","links":"Liens","insert":"Insérer","styles":"Styles","colors":"Couleurs","tools":"Outils"},"toolbars":"Barres d'outils de l'éditeur"},"table":{"border":"Taille de la bordure","caption":"Titre du tableau","cell":{"menu":"Cellule","insertBefore":"Insérer une cellule avant","insertAfter":"Insérer une cellule après","deleteCell":"Supprimer les cellules","merge":"Fusionner les cellules","mergeRight":"Fusionner vers la droite","mergeDown":"Fusionner vers le bas","splitHorizontal":"Scinder la cellule horizontalement","splitVertical":"Scinder la cellule verticalement","title":"Propriétés de la cellule","cellType":"Type de cellule","rowSpan":"Lignes occupées","colSpan":"Colonnes occupées","wordWrap":"Césure","hAlign":"Alignement horizontal","vAlign":"Alignement vertical","alignBaseline":"Ligne de base","bgColor":"Couleur d'arrière-plan","borderColor":"Couleur de bordure","data":"Données","header":"En-tête","yes":"Oui","no":"Non","invalidWidth":"La largeur de la cellule doit être un nombre.","invalidHeight":"La hauteur de la cellule doit être un nombre.","invalidRowSpan":"Le nombre de colonnes occupées doit être un nombre entier.","invalidColSpan":"Le nombre de colonnes occupées doit être un nombre entier.","chooseColor":"Choisir"},"cellPad":"Marge interne des cellules","cellSpace":"Espacement entre les cellules","column":{"menu":"Colonne","insertBefore":"Insérer une colonne avant","insertAfter":"Insérer une colonne après","deleteColumn":"Supprimer les colonnes"},"columns":"Colonnes","deleteTable":"Supprimer le tableau","headers":"En-têtes","headersBoth":"Les deux","headersColumn":"Première colonne","headersNone":"Aucun","headersRow":"Première ligne","heightUnit":"height unit","invalidBorder":"La taille de la bordure doit être un nombre.","invalidCellPadding":"La marge interne des cellules doit être un nombre positif.","invalidCellSpacing":"L'espacement entre les cellules doit être un nombre positif.","invalidCols":"Le nombre de colonnes doit être supérieur à 0.","invalidHeight":"La hauteur du tableau doit être un nombre.","invalidRows":"Le nombre de lignes doit être supérieur à 0.","invalidWidth":"La largeur du tableau doit être un nombre.","menu":"Propriétés du tableau","row":{"menu":"Ligne","insertBefore":"Insérer une ligne avant","insertAfter":"Insérer une ligne après","deleteRow":"Supprimer les lignes"},"rows":"Lignes","summary":"Résumé (description)","title":"Propriétés du tableau","toolbar":"Tableau","widthPc":"pour cent","widthPx":"pixels","widthUnit":"unité de largeur"},"stylescombo":{"label":"Styles","panelTitle":"Styles de mise en forme","panelTitle1":"Styles de bloc","panelTitle2":"Styles en ligne","panelTitle3":"Styles d'objet"},"specialchar":{"options":"Options des caractères spéciaux","title":"Sélectionner un caractère","toolbar":"Insérer un caractère spécial"},"sourcedialog":{"toolbar":"Source","title":"Source"},"sourcearea":{"toolbar":"Source"},"showblocks":{"toolbar":"Afficher les blocs"},"removeformat":{"toolbar":"Supprimer la mise en forme"},"pastetext":{"button":"Coller comme texte brut","pasteNotification":"Utilisez le raccourci %1 pour coller. Votre navigateur n'accepte pas de coller à l'aide du bouton ou du menu contextuel.","title":"Coller comme texte brut"},"pastefromword":{"confirmCleanup":"Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller ?","error":"Les données collées n'ont pas pu être nettoyées à cause d'une erreur interne","title":"Coller depuis Word","toolbar":"Coller depuis Word"},"notification":{"closed":"Notification fermée."},"maximize":{"maximize":"Agrandir","minimize":"Réduire"},"magicline":{"title":"Insérer un paragraphe ici"},"list":{"bulletedlist":"Insérer/Supprimer une liste à puces","numberedlist":"Insérer/Supprimer une liste numérotée"},"language":{"button":"Définir la langue","remove":"Supprimer la langue"},"indent":{"indent":"Augmenter le retrait","outdent":"Diminuer le retrait"},"image2":{"alt":"Texte alternatif","btnUpload":"Envoyer sur le serveur","captioned":"Image légendée","captionPlaceholder":"Légende","infoTab":"Informations sur l'image","lockRatio":"Conserver les proportions","menu":"Propriétés de l'image","pathName":"image","pathNameCaption":"légende","resetSize":"Réinitialiser la taille","resizer":"Cliquer et glisser pour redimensionner","title":"Propriétés de l'image","uploadTab":"Téléverser","urlMissing":"L'URL source de l'image est manquante.","altMissing":"Vous n'avez pas indiqué de texte de remplacement."},"horizontalrule":{"toolbar":"Ligne horizontale"},"format":{"label":"Format","panelTitle":"Format de paragraphe","tag_address":"Adresse","tag_div":"Division","tag_h1":"Titre 1","tag_h2":"Titre 2","tag_h3":"Titre 3","tag_h4":"Titre 4","tag_h5":"Titre 5","tag_h6":"Titre 6","tag_p":"Normal","tag_pre":"Préformaté"},"filetools":{"loadError":"Une erreur est survenue lors de la lecture du fichier.","networkError":"Une erreur réseau est survenue lors du téléversement du fichier.","httpError404":"Une erreur HTTP est survenue durant le téléversement du fichier (404 : fichier non trouvé).","httpError403":"Une erreur HTTP est survenue durant le téléversement du fichier (403 : accès refusé).","httpError":"Une erreur HTTP est survenue durant le téléversement du fichier (erreur : %1).","noUrlError":"L'URL de téléversement n'est pas spécifiée.","responseError":"Réponse du serveur incorrecte."},"elementspath":{"eleLabel":"Chemin des éléments","eleTitle":"Élément %1"},"contextmenu":{"options":"Options du menu contextuel"},"clipboard":{"copy":"Copier","copyError":"Les paramètres de sécurité de votre navigateur n'autorisent pas l'éditeur à exécuter automatiquement l'opération « Copier ». Veuillez utiliser le raccourci clavier à cet effet (Ctrl/Cmd+C).","cut":"Couper","cutError":"Les paramètres de sécurité de votre navigateur n'autorisent pas l'éditeur à exécuter automatiquement l'opération « Couper ». Veuillez utiliser le raccourci clavier à cet effet (Ctrl/Cmd+X).","paste":"Coller","pasteNotification":"Utilisez le raccourci %1 pour coller. Votre navigateur n'accepte pas de coller à l'aide du bouton ou du menu contextuel.","pasteArea":"Coller la zone","pasteMsg":"Collez votre contenu dans la zone de saisie ci-dessous et cliquez OK."},"blockquote":{"toolbar":"Citation"},"basicstyles":{"bold":"Gras","italic":"Italique","strike":"Barré","subscript":"Indice","superscript":"Exposant","underline":"Souligné"},"about":{"copy":"Copyright © $1. Tous droits réservés.","dlgTitle":"À propos de CKEditor 4","moreInfo":"Pour les informations de licence, veuillez visiter notre site web :"},"editor":"Éditeur de texte enrichi","editorPanel":"Tableau de bord de l'éditeur de texte enrichi","common":{"editorHelp":"Utilisez le raccourci Alt-0 pour obtenir de l'aide","browseServer":"Parcourir le serveur","url":"URL","protocol":"Protocole","upload":"Télécharger","uploadSubmit":"Envoyer sur le serveur","image":"Image","flash":"Flash","form":"Formulaire","checkbox":"Case à cocher","radio":"Bouton radio","textField":"Champ texte","textarea":"Zone de texte","hiddenField":"Champ invisible","button":"Bouton","select":"Liste déroulante","imageButton":"Bouton avec image","notSet":"<indéfini>","id":"ID","name":"Nom","langDir":"Sens d'écriture","langDirLtr":"Gauche à droite (LTR)","langDirRtl":"Droite à gauche (RTL)","langCode":"Code de langue","longDescr":"URL de description longue","cssClass":"Classes de style","advisoryTitle":"Infobulle","cssStyle":"Style","ok":"OK","cancel":"Annuler","close":"Fermer","preview":"Aperçu","resize":"Redimensionner","generalTab":"Général","advancedTab":"Avancé","validateNumberFailed":"Cette valeur n'est pas un nombre.","confirmNewPage":"Les changements non sauvegardés seront perdus. Êtes-vous sûr de vouloir charger une nouvelle page ?","confirmCancel":"Certaines options ont été modifiées. Êtes-vous sûr de vouloir fermer ?","options":"Options","target":"Cible","targetNew":"Nouvelle fenêtre (_blank)","targetTop":"Fenêtre supérieure (_top)","targetSelf":"Même fenêtre (_self)","targetParent":"Fenêtre parent (_parent)","langDirLTR":"Gauche à droite (LTR)","langDirRTL":"Droite à gauche (RTL)","styles":"Style","cssClasses":"Classes de style","width":"Largeur","height":"Hauteur","align":"Alignement","left":"Gauche","right":"Droite","center":"Centrer","justify":"Justifier","alignLeft":"Aligner à gauche","alignRight":"Aligner à droite","alignCenter":"Aligner au centre","alignTop":"Haut","alignMiddle":"Milieu","alignBottom":"Bas","alignNone":"Aucun","invalidValue":"Valeur invalide.","invalidHeight":"La hauteur doit être un nombre.","invalidWidth":"La largeur doit être un nombre.","invalidLength":"La valeur de \"%1\" doit être un nombre positif avec ou sans unité de mesure (%2).","invalidCssLength":"La valeur spécifiée pour le champ « %1 » doit être un nombre positif avec ou sans unité de mesure CSS valide (px, %, in, cm, mm, em, ex, pt, ou pc).","invalidHtmlLength":"La valeur spécifiée pour le champ « %1 » doit être un nombre positif avec ou sans unité de mesure HTML valide (px ou %).","invalidInlineStyle":"La valeur spécifiée pour le style en ligne doit être composée d'un ou plusieurs couples au format « nom : valeur », séparés par des points-virgules.","cssLengthTooltip":"Entrer un nombre pour une valeur en pixels ou un nombre avec une unité de mesure CSS valide (px, %, in, cm, mm, em, ex, pt, ou pc).","unavailable":"%1<span class=\"cke_accessibility\">, indisponible</span>","keyboard":{"8":"Retour arrière","13":"Entrée","16":"Majuscule","17":"Ctrl","18":"Alt","32":"Espace","35":"Fin","36":"Origine","46":"Supprimer","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Commande"},"keyboardShortcut":"Raccourci clavier","optionDefault":"Par défaut"}}; \ No newline at end of file +CKEDITOR.lang['fr']={"widget":{"move":"Cliquer et glisser pour déplacer","label":"Élément %1"},"undo":{"redo":"Rétablir","undo":"Annuler"},"toolbar":{"toolbarCollapse":"Enrouler la barre d'outils","toolbarExpand":"Dérouler la barre d'outils","toolbarGroups":{"document":"Document","clipboard":"Presse-papier/Défaire","editing":"Édition","forms":"Formulaires","basicstyles":"Styles de base","paragraph":"Paragraphe","links":"Liens","insert":"Insérer","styles":"Styles","colors":"Couleurs","tools":"Outils"},"toolbars":"Barres d'outils de l'éditeur"},"table":{"border":"Taille de la bordure","caption":"Titre du tableau","cell":{"menu":"Cellule","insertBefore":"Insérer une cellule avant","insertAfter":"Insérer une cellule après","deleteCell":"Supprimer les cellules","merge":"Fusionner les cellules","mergeRight":"Fusionner vers la droite","mergeDown":"Fusionner vers le bas","splitHorizontal":"Scinder la cellule horizontalement","splitVertical":"Scinder la cellule verticalement","title":"Propriétés de la cellule","cellType":"Type de cellule","rowSpan":"Lignes occupées","colSpan":"Colonnes occupées","wordWrap":"Césure","hAlign":"Alignement horizontal","vAlign":"Alignement vertical","alignBaseline":"Ligne de base","bgColor":"Couleur d'arrière-plan","borderColor":"Couleur de bordure","data":"Données","header":"En-tête","yes":"Oui","no":"Non","invalidWidth":"La largeur de la cellule doit être un nombre.","invalidHeight":"La hauteur de la cellule doit être un nombre.","invalidRowSpan":"Le nombre de colonnes occupées doit être un nombre entier.","invalidColSpan":"Le nombre de colonnes occupées doit être un nombre entier.","chooseColor":"Choisir"},"cellPad":"Marge interne des cellules","cellSpace":"Espacement entre les cellules","column":{"menu":"Colonne","insertBefore":"Insérer une colonne avant","insertAfter":"Insérer une colonne après","deleteColumn":"Supprimer les colonnes"},"columns":"Colonnes","deleteTable":"Supprimer le tableau","headers":"En-têtes","headersBoth":"Les deux","headersColumn":"Première colonne","headersNone":"Aucun","headersRow":"Première ligne","heightUnit":"unité de hauteur","invalidBorder":"La taille de la bordure doit être un nombre.","invalidCellPadding":"La marge interne des cellules doit être un nombre positif.","invalidCellSpacing":"L'espacement entre les cellules doit être un nombre positif.","invalidCols":"Le nombre de colonnes doit être supérieur à 0.","invalidHeight":"La hauteur du tableau doit être un nombre.","invalidRows":"Le nombre de lignes doit être supérieur à 0.","invalidWidth":"La largeur du tableau doit être un nombre.","menu":"Propriétés du tableau","row":{"menu":"Ligne","insertBefore":"Insérer une ligne avant","insertAfter":"Insérer une ligne après","deleteRow":"Supprimer les lignes"},"rows":"Lignes","summary":"Résumé (description)","title":"Propriétés du tableau","toolbar":"Tableau","widthPc":"pour cent","widthPx":"pixels","widthUnit":"unité de largeur"},"stylescombo":{"label":"Styles","panelTitle":"Styles de mise en forme","panelTitle1":"Styles de bloc","panelTitle2":"Styles en ligne","panelTitle3":"Styles d'objet"},"specialchar":{"options":"Options des caractères spéciaux","title":"Sélectionner un caractère","toolbar":"Insérer un caractère spécial"},"sourcedialog":{"toolbar":"Source","title":"Source"},"sourcearea":{"toolbar":"Source"},"showblocks":{"toolbar":"Afficher les blocs"},"removeformat":{"toolbar":"Supprimer la mise en forme"},"pastetext":{"button":"Coller comme texte brut","pasteNotification":"Utilisez le raccourci %1 pour coller. Votre navigateur n'accepte pas de coller à l'aide du bouton ou du menu contextuel.","title":"Coller comme texte brut"},"pastefromword":{"confirmCleanup":"Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller ?","error":"Les données collées n'ont pas pu être nettoyées à cause d'une erreur interne","title":"Coller depuis Word","toolbar":"Coller depuis Word"},"notification":{"closed":"Notification fermée."},"maximize":{"maximize":"Agrandir","minimize":"Réduire"},"magicline":{"title":"Insérer un paragraphe ici"},"list":{"bulletedlist":"Insérer/Supprimer une liste à puces","numberedlist":"Insérer/Supprimer une liste numérotée"},"language":{"button":"Définir la langue","remove":"Supprimer la langue"},"indent":{"indent":"Augmenter le retrait","outdent":"Diminuer le retrait"},"image2":{"alt":"Texte alternatif","btnUpload":"Envoyer sur le serveur","captioned":"Image légendée","captionPlaceholder":"Légende","infoTab":"Informations sur l'image","lockRatio":"Conserver les proportions","menu":"Propriétés de l'image","pathName":"image","pathNameCaption":"légende","resetSize":"Réinitialiser la taille","resizer":"Cliquer et glisser pour redimensionner","title":"Propriétés de l'image","uploadTab":"Téléverser","urlMissing":"L'URL source de l'image est manquante.","altMissing":"Vous n'avez pas indiqué de texte de remplacement."},"horizontalrule":{"toolbar":"Ligne horizontale"},"format":{"label":"Format","panelTitle":"Format de paragraphe","tag_address":"Adresse","tag_div":"Division","tag_h1":"Titre 1","tag_h2":"Titre 2","tag_h3":"Titre 3","tag_h4":"Titre 4","tag_h5":"Titre 5","tag_h6":"Titre 6","tag_p":"Normal","tag_pre":"Préformaté"},"filetools":{"loadError":"Une erreur est survenue lors de la lecture du fichier.","networkError":"Une erreur réseau est survenue lors du téléversement du fichier.","httpError404":"Une erreur HTTP est survenue durant le téléversement du fichier (404 : fichier non trouvé).","httpError403":"Une erreur HTTP est survenue durant le téléversement du fichier (403 : accès refusé).","httpError":"Une erreur HTTP est survenue durant le téléversement du fichier (erreur : %1).","noUrlError":"L'URL de téléversement n'est pas spécifiée.","responseError":"Réponse du serveur incorrecte."},"elementspath":{"eleLabel":"Chemin des éléments","eleTitle":"Élément %1"},"contextmenu":{"options":"Options du menu contextuel"},"clipboard":{"copy":"Copier","copyError":"Les paramètres de sécurité de votre navigateur n'autorisent pas l'éditeur à exécuter automatiquement l'opération « Copier ». Veuillez utiliser le raccourci clavier à cet effet (Ctrl/Cmd+C).","cut":"Couper","cutError":"Les paramètres de sécurité de votre navigateur n'autorisent pas l'éditeur à exécuter automatiquement l'opération « Couper ». Veuillez utiliser le raccourci clavier à cet effet (Ctrl/Cmd+X).","paste":"Coller","pasteNotification":"Utilisez le raccourci %1 pour coller. Votre navigateur n'accepte pas de coller à l'aide du bouton ou du menu contextuel.","pasteArea":"Coller la zone","pasteMsg":"Collez votre contenu dans la zone de saisie ci-dessous et cliquez OK."},"blockquote":{"toolbar":"Citation"},"basicstyles":{"bold":"Gras","italic":"Italique","strike":"Barré","subscript":"Indice","superscript":"Exposant","underline":"Souligné"},"about":{"copy":"Copyright © $1. Tous droits réservés.","dlgTitle":"À propos de CKEditor 4","moreInfo":"Pour les informations de licence, veuillez visiter notre site web :"},"editor":"Éditeur de texte enrichi","editorPanel":"Tableau de bord de l'éditeur de texte enrichi","common":{"editorHelp":"Utilisez le raccourci Alt-0 pour obtenir de l'aide","browseServer":"Parcourir le serveur","url":"URL","protocol":"Protocole","upload":"Télécharger","uploadSubmit":"Envoyer sur le serveur","image":"Image","flash":"Flash","form":"Formulaire","checkbox":"Case à cocher","radio":"Bouton radio","textField":"Champ texte","textarea":"Zone de texte","hiddenField":"Champ invisible","button":"Bouton","select":"Liste déroulante","imageButton":"Bouton avec image","notSet":"<indéfini>","id":"ID","name":"Nom","langDir":"Sens d'écriture","langDirLtr":"Gauche à droite (LTR)","langDirRtl":"Droite à gauche (RTL)","langCode":"Code de langue","longDescr":"URL de description longue","cssClass":"Classes de style","advisoryTitle":"Infobulle","cssStyle":"Style","ok":"OK","cancel":"Annuler","close":"Fermer","preview":"Aperçu","resize":"Redimensionner","generalTab":"Général","advancedTab":"Avancé","validateNumberFailed":"Cette valeur n'est pas un nombre.","confirmNewPage":"Les changements non sauvegardés seront perdus. Êtes-vous sûr de vouloir charger une nouvelle page ?","confirmCancel":"Certaines options ont été modifiées. Êtes-vous sûr de vouloir fermer ?","options":"Options","target":"Cible","targetNew":"Nouvelle fenêtre (_blank)","targetTop":"Fenêtre supérieure (_top)","targetSelf":"Même fenêtre (_self)","targetParent":"Fenêtre parent (_parent)","langDirLTR":"Gauche à droite (LTR)","langDirRTL":"Droite à gauche (RTL)","styles":"Style","cssClasses":"Classes de style","width":"Largeur","height":"Hauteur","align":"Alignement","left":"Gauche","right":"Droite","center":"Centrer","justify":"Justifier","alignLeft":"Aligner à gauche","alignRight":"Aligner à droite","alignCenter":"Aligner au centre","alignTop":"Haut","alignMiddle":"Milieu","alignBottom":"Bas","alignNone":"Aucun","invalidValue":"Valeur invalide.","invalidHeight":"La hauteur doit être un nombre.","invalidWidth":"La largeur doit être un nombre.","invalidLength":"La valeur de \"%1\" doit être un nombre positif avec ou sans unité de mesure (%2).","invalidCssLength":"La valeur spécifiée pour le champ « %1 » doit être un nombre positif avec ou sans unité de mesure CSS valide (px, %, in, cm, mm, em, ex, pt, ou pc).","invalidHtmlLength":"La valeur spécifiée pour le champ « %1 » doit être un nombre positif avec ou sans unité de mesure HTML valide (px ou %).","invalidInlineStyle":"La valeur spécifiée pour le style en ligne doit être composée d'un ou plusieurs couples au format « nom : valeur », séparés par des points-virgules.","cssLengthTooltip":"Entrer un nombre pour une valeur en pixels ou un nombre avec une unité de mesure CSS valide (px, %, in, cm, mm, em, ex, pt, ou pc).","unavailable":"%1<span class=\"cke_accessibility\">, indisponible</span>","keyboard":{"8":"Retour arrière","13":"Entrée","16":"Majuscule","17":"Ctrl","18":"Alt","32":"Espace","35":"Fin","36":"Origine","46":"Supprimer","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Commande"},"keyboardShortcut":"Raccourci clavier","optionDefault":"Par défaut"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/gl.js b/web/core/assets/vendor/ckeditor/lang/gl.js index 02a7f9cab87739c378db111d694d8a880672a5e0..e18294a6b9e8c4f4ad9c1306b58ade899b712120 100644 --- a/web/core/assets/vendor/ckeditor/lang/gl.js +++ b/web/core/assets/vendor/ckeditor/lang/gl.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['gl']={"widget":{"move":"Prema e arrastre para mover","label":"Trebello %1"},"undo":{"redo":"Refacer","undo":"Desfacer"},"toolbar":{"toolbarCollapse":"Contraer a barra de ferramentas","toolbarExpand":"Expandir a barra de ferramentas","toolbarGroups":{"document":"Documento","clipboard":"Portapapeis/desfacer","editing":"Edición","forms":"Formularios","basicstyles":"Estilos básicos","paragraph":"Paragrafo","links":"Ligazóns","insert":"Inserir","styles":"Estilos","colors":"Cores","tools":"Ferramentas"},"toolbars":"Barras de ferramentas do editor"},"table":{"border":"Tamaño do bordo","caption":"Título","cell":{"menu":"Cela","insertBefore":"Inserir a cela á esquerda","insertAfter":"Inserir a cela á dereita","deleteCell":"Eliminar celas","merge":"Combinar celas","mergeRight":"Combinar á dereita","mergeDown":"Combinar cara abaixo","splitHorizontal":"Dividir a cela en horizontal","splitVertical":"Dividir a cela en vertical","title":"Propiedades da cela","cellType":"Tipo de cela","rowSpan":"Expandir filas","colSpan":"Expandir columnas","wordWrap":"Axustar ao contido","hAlign":"Aliñación horizontal","vAlign":"Aliñación vertical","alignBaseline":"Liña de base","bgColor":"Cor do fondo","borderColor":"Cor do bordo","data":"Datos","header":"Cabeceira","yes":"Si","no":"Non","invalidWidth":"O largo da cela debe ser un número.","invalidHeight":"O alto da cela debe ser un número.","invalidRowSpan":"A expansión de filas debe ser un número enteiro.","invalidColSpan":"A expansión de columnas debe ser un número enteiro.","chooseColor":"Escoller"},"cellPad":"Marxe interior da cela","cellSpace":"Marxe entre celas","column":{"menu":"Columna","insertBefore":"Inserir a columna á esquerda","insertAfter":"Inserir a columna á dereita","deleteColumn":"Borrar Columnas"},"columns":"Columnas","deleteTable":"Borrar Táboa","headers":"Cabeceiras","headersBoth":"Ambas","headersColumn":"Primeira columna","headersNone":"Ningún","headersRow":"Primeira fila","heightUnit":"height unit","invalidBorder":"O tamaño do bordo debe ser un número.","invalidCellPadding":"A marxe interior debe ser un número positivo.","invalidCellSpacing":"A marxe entre celas debe ser un número positivo.","invalidCols":"O número de columnas debe ser un número maior que 0.","invalidHeight":"O alto da táboa debe ser un número.","invalidRows":"O número de filas debe ser un número maior que 0","invalidWidth":"O largo da táboa debe ser un número.","menu":"Propiedades da táboa","row":{"menu":"Fila","insertBefore":"Inserir a fila por riba","insertAfter":"Inserir a fila por baixo","deleteRow":"Eliminar filas"},"rows":"Filas","summary":"Resumo","title":"Propiedades da táboa","toolbar":"Taboa","widthPc":"porcentaxe","widthPx":"píxeles","widthUnit":"unidade do largo"},"stylescombo":{"label":"Estilos","panelTitle":"Estilos de formatando","panelTitle1":"Estilos de bloque","panelTitle2":"Estilos de liña","panelTitle3":"Estilos de obxecto"},"specialchar":{"options":"Opcións de caracteres especiais","title":"Seleccione un carácter especial","toolbar":"Inserir un carácter especial"},"sourcedialog":{"toolbar":"Orixe","title":"Orixe"},"sourcearea":{"toolbar":"Orixe"},"showblocks":{"toolbar":"Amosar os bloques"},"removeformat":{"toolbar":"Retirar o formato"},"pastetext":{"button":"Pegar como texto simple","pasteNotification":"Prema %1 para pegar. O seu navegador non admite pegar co botón da barra de ferramentas ou coa opción do menú contextual.","title":"Pegar como texto simple"},"pastefromword":{"confirmCleanup":"O texto que quere pegar semella ser copiado desde o Word. Quere depuralo antes de pegalo?","error":"Non foi posíbel depurar os datos pegados por mor dun erro interno","title":"Pegar desde Word","toolbar":"Pegar desde Word"},"notification":{"closed":"Notificación pechada."},"maximize":{"maximize":"Maximizar","minimize":"Minimizar"},"magicline":{"title":"Inserir aquí o parágrafo"},"list":{"bulletedlist":"Inserir/retirar lista viñeteada","numberedlist":"Inserir/retirar lista numerada"},"language":{"button":"Estabelezer o idioma","remove":"Retirar o idioma"},"indent":{"indent":"Aumentar a sangría","outdent":"Reducir a sangría"},"image2":{"alt":"Texto alternativo","btnUpload":"Enviar ao servidor","captioned":"Imaxe con lenda","captionPlaceholder":"Lenda","infoTab":"Información da imaxe","lockRatio":"Proporcional","menu":"Propiedades da imaxe","pathName":"Imaxe","pathNameCaption":"lenda","resetSize":"Tamaño orixinal","resizer":"Prema e arrastre para axustar o tamaño","title":"Propiedades da imaxe","uploadTab":"Cargar","urlMissing":"Non se atopa o URL da imaxe.","altMissing":"Non foi posíbel atopar o texto alternativo."},"horizontalrule":{"toolbar":"Inserir unha liña horizontal"},"format":{"label":"Formato","panelTitle":"Formato do parágrafo","tag_address":"Enderezo","tag_div":"Normal (DIV)","tag_h1":"Enacabezado 1","tag_h2":"Encabezado 2","tag_h3":"Encabezado 3","tag_h4":"Encabezado 4","tag_h5":"Encabezado 5","tag_h6":"Encabezado 6","tag_p":"Normal","tag_pre":"Formatado"},"filetools":{"loadError":"Produciuse un erro durante a lectura do ficheiro.","networkError":"Produciuse un erro na rede durante o envío do ficheiro.","httpError404":"Produciuse un erro HTTP durante o envío do ficheiro (404: Ficheiro non atopado).","httpError403":"Produciuse un erro HTTP durante o envío do ficheiro (403: Acceso denegado).","httpError":"Produciuse un erro HTTP durante o envío do ficheiro (erro de estado: %1).","noUrlError":"Non foi definido o URL para o envío.","responseError":"Resposta incorrecta do servidor."},"elementspath":{"eleLabel":"Ruta dos elementos","eleTitle":"Elemento %1"},"contextmenu":{"options":"Opcións do menú contextual"},"clipboard":{"copy":"Copiar","copyError":"Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de copia. Use o teclado para iso (Ctrl/Cmd+C).","cut":"Cortar","cutError":"Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de corte. Use o teclado para iso (Ctrl/Cmd+X).","paste":"Pegar","pasteNotification":"Prema %1 para pegar. O seu navegador non admite pegar co botón da barra de ferramentas ou coa opción do menú contextual.","pasteArea":"Zona de pegado","pasteMsg":"Pegue o contido dentro da área de abaixo e prema Aceptar."},"blockquote":{"toolbar":"Cita"},"basicstyles":{"bold":"Negra","italic":"Cursiva","strike":"Riscado","subscript":"Subíndice","superscript":"Superíndice","underline":"Subliñado"},"about":{"copy":"Copyright © $1. Todos os dereitos reservados.","dlgTitle":"Sobre o CKEditor 4","moreInfo":"Para obter información sobre a licenza, visite o noso sitio web:"},"editor":"Editor de texto mellorado","editorPanel":"Panel do editor de texto mellorado","common":{"editorHelp":"Prema ALT 0 para obter axuda","browseServer":"Examinar o servidor","url":"URL","protocol":"Protocolo","upload":"Enviar","uploadSubmit":"Enviar ao servidor","image":"Imaxe","flash":"Flash","form":"Formulario","checkbox":"Caixa de selección","radio":"Botón de opción","textField":"Campo de texto","textarea":"Área de texto","hiddenField":"Campo agochado","button":"Botón","select":"Campo de selección","imageButton":"Botón de imaxe","notSet":"<sen estabelecer>","id":"ID","name":"Nome","langDir":"Dirección de escritura do idioma","langDirLtr":"Esquerda a dereita (LTR)","langDirRtl":"Dereita a esquerda (RTL)","langCode":"Código do idioma","longDescr":"Descrición completa do URL","cssClass":"Clases da folla de estilos","advisoryTitle":"Título","cssStyle":"Estilo","ok":"Aceptar","cancel":"Cancelar","close":"Pechar","preview":"Vista previa","resize":"Redimensionar","generalTab":"Xeral","advancedTab":"Avanzado","validateNumberFailed":"Este valor non é un número.","confirmNewPage":"Calquera cambio que non gardara neste contido perderase.\r\nConfirma que quere cargar unha páxina nova?","confirmCancel":"Algunhas das opcións foron cambiadas.\r\nConfirma que quere pechar o diálogo?","options":"Opcións","target":"Destino","targetNew":"Nova xanela (_blank)","targetTop":"Xanela principal (_top)","targetSelf":"Mesma xanela (_self)","targetParent":"Xanela superior (_parent)","langDirLTR":"Esquerda a dereita (LTR)","langDirRTL":"Dereita a esquerda (RTL)","styles":"Estilo","cssClasses":"Clases da folla de estilos","width":"Largo","height":"Alto","align":"Aliñamento","left":"Esquerda","right":"Dereita","center":"Centro","justify":"Xustificado","alignLeft":"Aliñar á esquerda","alignRight":"Aliñar á dereita","alignCenter":"Aliñar ao centro","alignTop":"Arriba","alignMiddle":"Centro","alignBottom":"Abaixo","alignNone":"Ningún","invalidValue":"Valor incorrecto.","invalidHeight":"O alto debe ser un número.","invalidWidth":"O largo debe ser un número.","invalidLength":"O valor especificado para o campo «%1» debe ser un número positivo con ou sen unha unidade de medida correcta (%2).","invalidCssLength":"O valor especificado para o campo «%1» debe ser un número positivo con ou sen unha unidade de medida CSS correcta (px, %, in, cm, mm, em, ex, pt, ou pc).","invalidHtmlLength":"O valor especificado para o campo «%1» debe ser un número positivo con ou sen unha unidade de medida HTML correcta (px ou %).","invalidInlineStyle":"O valor especificado no estilo en liña debe consistir nunha ou máis tuplas co formato «nome : valor», separadas por punto e coma.","cssLengthTooltip":"Escriba un número para o valor en píxeles ou un número cunha unidade CSS correcta (px, %, in, cm, mm, em, ex, pt, ou pc).","unavailable":"%1<span class=\"cke_accessibility\">, non dispoñíbel</span>","keyboard":{"8":"Ir atrás","13":"Intro","16":"Maiús","17":"Ctrl","18":"Alt","32":"Espazo","35":"Fin","36":"Inicio","46":"Supr","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Orde"},"keyboardShortcut":"Atallo de teclado","optionDefault":"Predeterminado"}}; \ No newline at end of file +CKEDITOR.lang['gl']={"widget":{"move":"Prema e arrastre para mover","label":"Trebello %1"},"undo":{"redo":"Refacer","undo":"Desfacer"},"toolbar":{"toolbarCollapse":"Contraer a barra de ferramentas","toolbarExpand":"Expandir a barra de ferramentas","toolbarGroups":{"document":"Documento","clipboard":"Portapapeis/desfacer","editing":"Edición","forms":"Formularios","basicstyles":"Estilos básicos","paragraph":"Paragrafo","links":"Ligazóns","insert":"Inserir","styles":"Estilos","colors":"Cores","tools":"Ferramentas"},"toolbars":"Barras de ferramentas do editor"},"table":{"border":"Tamaño do bordo","caption":"Título","cell":{"menu":"Cela","insertBefore":"Inserir a cela á esquerda","insertAfter":"Inserir a cela á dereita","deleteCell":"Eliminar celas","merge":"Combinar celas","mergeRight":"Combinar á dereita","mergeDown":"Combinar cara abaixo","splitHorizontal":"Dividir a cela en horizontal","splitVertical":"Dividir a cela en vertical","title":"Propiedades da cela","cellType":"Tipo de cela","rowSpan":"Expandir filas","colSpan":"Expandir columnas","wordWrap":"Axustar ao contido","hAlign":"Aliñación horizontal","vAlign":"Aliñación vertical","alignBaseline":"Liña de base","bgColor":"Cor do fondo","borderColor":"Cor do bordo","data":"Datos","header":"Cabeceira","yes":"Si","no":"Non","invalidWidth":"O largo da cela debe ser un número.","invalidHeight":"O alto da cela debe ser un número.","invalidRowSpan":"A expansión de filas debe ser un número enteiro.","invalidColSpan":"A expansión de columnas debe ser un número enteiro.","chooseColor":"Escoller"},"cellPad":"Marxe interior da cela","cellSpace":"Marxe entre celas","column":{"menu":"Columna","insertBefore":"Inserir a columna á esquerda","insertAfter":"Inserir a columna á dereita","deleteColumn":"Borrar Columnas"},"columns":"Columnas","deleteTable":"Borrar Táboa","headers":"Cabeceiras","headersBoth":"Ambas","headersColumn":"Primeira columna","headersNone":"Ningún","headersRow":"Primeira fila","heightUnit":"unidade do alto","invalidBorder":"O tamaño do bordo debe ser un número.","invalidCellPadding":"A marxe interior debe ser un número positivo.","invalidCellSpacing":"A marxe entre celas debe ser un número positivo.","invalidCols":"O número de columnas debe ser un número maior que 0.","invalidHeight":"O alto da táboa debe ser un número.","invalidRows":"O número de filas debe ser un número maior que 0","invalidWidth":"O largo da táboa debe ser un número.","menu":"Propiedades da táboa","row":{"menu":"Fila","insertBefore":"Inserir a fila por riba","insertAfter":"Inserir a fila por baixo","deleteRow":"Eliminar filas"},"rows":"Filas","summary":"Resumo","title":"Propiedades da táboa","toolbar":"Taboa","widthPc":"porcentaxe","widthPx":"píxeles","widthUnit":"unidade do largo"},"stylescombo":{"label":"Estilos","panelTitle":"Estilos de formatando","panelTitle1":"Estilos de bloque","panelTitle2":"Estilos de liña","panelTitle3":"Estilos de obxecto"},"specialchar":{"options":"Opcións de caracteres especiais","title":"Seleccione un carácter especial","toolbar":"Inserir un carácter especial"},"sourcedialog":{"toolbar":"Orixe","title":"Orixe"},"sourcearea":{"toolbar":"Orixe"},"showblocks":{"toolbar":"Amosar os bloques"},"removeformat":{"toolbar":"Retirar o formato"},"pastetext":{"button":"Pegar como texto simple","pasteNotification":"Prema %1 para pegar. O seu navegador non admite pegar co botón da barra de ferramentas ou coa opción do menú contextual.","title":"Pegar como texto simple"},"pastefromword":{"confirmCleanup":"O texto que quere pegar semella ser copiado desde o Word. Quere depuralo antes de pegalo?","error":"Non foi posíbel depurar os datos pegados por mor dun erro interno","title":"Pegar desde Word","toolbar":"Pegar desde Word"},"notification":{"closed":"Notificación pechada."},"maximize":{"maximize":"Maximizar","minimize":"Minimizar"},"magicline":{"title":"Inserir aquí o parágrafo"},"list":{"bulletedlist":"Inserir/retirar lista viñeteada","numberedlist":"Inserir/retirar lista numerada"},"language":{"button":"Estabelezer o idioma","remove":"Retirar o idioma"},"indent":{"indent":"Aumentar a sangría","outdent":"Reducir a sangría"},"image2":{"alt":"Texto alternativo","btnUpload":"Enviar ao servidor","captioned":"Imaxe con lenda","captionPlaceholder":"Lenda","infoTab":"Información da imaxe","lockRatio":"Proporcional","menu":"Propiedades da imaxe","pathName":"Imaxe","pathNameCaption":"lenda","resetSize":"Tamaño orixinal","resizer":"Prema e arrastre para axustar o tamaño","title":"Propiedades da imaxe","uploadTab":"Cargar","urlMissing":"Non se atopa o URL da imaxe.","altMissing":"Non foi posíbel atopar o texto alternativo."},"horizontalrule":{"toolbar":"Inserir unha liña horizontal"},"format":{"label":"Formato","panelTitle":"Formato do parágrafo","tag_address":"Enderezo","tag_div":"Normal (DIV)","tag_h1":"Enacabezado 1","tag_h2":"Encabezado 2","tag_h3":"Encabezado 3","tag_h4":"Encabezado 4","tag_h5":"Encabezado 5","tag_h6":"Encabezado 6","tag_p":"Normal","tag_pre":"Formatado"},"filetools":{"loadError":"Produciuse un erro durante a lectura do ficheiro.","networkError":"Produciuse un erro na rede durante o envío do ficheiro.","httpError404":"Produciuse un erro HTTP durante o envío do ficheiro (404: Ficheiro non atopado).","httpError403":"Produciuse un erro HTTP durante o envío do ficheiro (403: Acceso denegado).","httpError":"Produciuse un erro HTTP durante o envío do ficheiro (erro de estado: %1).","noUrlError":"Non foi definido o URL para o envío.","responseError":"Resposta incorrecta do servidor."},"elementspath":{"eleLabel":"Ruta dos elementos","eleTitle":"Elemento %1"},"contextmenu":{"options":"Opcións do menú contextual"},"clipboard":{"copy":"Copiar","copyError":"Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de copia. Use o teclado para iso (Ctrl/Cmd+C).","cut":"Cortar","cutError":"Os axustes de seguranza do seu navegador non permiten que o editor realice automaticamente as tarefas de corte. Use o teclado para iso (Ctrl/Cmd+X).","paste":"Pegar","pasteNotification":"Prema %1 para pegar. O seu navegador non admite pegar co botón da barra de ferramentas ou coa opción do menú contextual.","pasteArea":"Zona de pegado","pasteMsg":"Pegue o contido dentro da área de abaixo e prema Aceptar."},"blockquote":{"toolbar":"Cita"},"basicstyles":{"bold":"Negra","italic":"Cursiva","strike":"Riscado","subscript":"Subíndice","superscript":"Superíndice","underline":"Subliñado"},"about":{"copy":"Copyright © $1. Todos os dereitos reservados.","dlgTitle":"Sobre o CKEditor 4","moreInfo":"Para obter información sobre a licenza, visite o noso sitio web:"},"editor":"Editor de texto mellorado","editorPanel":"Panel do editor de texto mellorado","common":{"editorHelp":"Prema ALT 0 para obter axuda","browseServer":"Examinar o servidor","url":"URL","protocol":"Protocolo","upload":"Enviar","uploadSubmit":"Enviar ao servidor","image":"Imaxe","flash":"Flash","form":"Formulario","checkbox":"Caixa de selección","radio":"Botón de opción","textField":"Campo de texto","textarea":"Área de texto","hiddenField":"Campo agochado","button":"Botón","select":"Campo de selección","imageButton":"Botón de imaxe","notSet":"<sen estabelecer>","id":"ID","name":"Nome","langDir":"Dirección de escritura do idioma","langDirLtr":"Esquerda a dereita (LTR)","langDirRtl":"Dereita a esquerda (RTL)","langCode":"Código do idioma","longDescr":"Descrición completa do URL","cssClass":"Clases da folla de estilos","advisoryTitle":"Título","cssStyle":"Estilo","ok":"Aceptar","cancel":"Cancelar","close":"Pechar","preview":"Vista previa","resize":"Redimensionar","generalTab":"Xeral","advancedTab":"Avanzado","validateNumberFailed":"Este valor non é un número.","confirmNewPage":"Calquera cambio que non gardara neste contido perderase.\r\nConfirma que quere cargar unha páxina nova?","confirmCancel":"Algunhas das opcións foron cambiadas.\r\nConfirma que quere pechar o diálogo?","options":"Opcións","target":"Destino","targetNew":"Nova xanela (_blank)","targetTop":"Xanela principal (_top)","targetSelf":"Mesma xanela (_self)","targetParent":"Xanela superior (_parent)","langDirLTR":"Esquerda a dereita (LTR)","langDirRTL":"Dereita a esquerda (RTL)","styles":"Estilo","cssClasses":"Clases da folla de estilos","width":"Largo","height":"Alto","align":"Aliñamento","left":"Esquerda","right":"Dereita","center":"Centro","justify":"Xustificado","alignLeft":"Aliñar á esquerda","alignRight":"Aliñar á dereita","alignCenter":"Aliñar ao centro","alignTop":"Arriba","alignMiddle":"Centro","alignBottom":"Abaixo","alignNone":"Ningún","invalidValue":"Valor incorrecto.","invalidHeight":"O alto debe ser un número.","invalidWidth":"O largo debe ser un número.","invalidLength":"O valor especificado para o campo «%1» debe ser un número positivo con ou sen unha unidade de medida correcta (%2).","invalidCssLength":"O valor especificado para o campo «%1» debe ser un número positivo con ou sen unha unidade de medida CSS correcta (px, %, in, cm, mm, em, ex, pt, ou pc).","invalidHtmlLength":"O valor especificado para o campo «%1» debe ser un número positivo con ou sen unha unidade de medida HTML correcta (px ou %).","invalidInlineStyle":"O valor especificado no estilo en liña debe consistir nunha ou máis tuplas co formato «nome : valor», separadas por punto e coma.","cssLengthTooltip":"Escriba un número para o valor en píxeles ou un número cunha unidade CSS correcta (px, %, in, cm, mm, em, ex, pt, ou pc).","unavailable":"%1<span class=\"cke_accessibility\">, non dispoñíbel</span>","keyboard":{"8":"Ir atrás","13":"Intro","16":"Maiús","17":"Ctrl","18":"Alt","32":"Espazo","35":"Fin","36":"Inicio","46":"Supr","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Orde"},"keyboardShortcut":"Atallo de teclado","optionDefault":"Predeterminado"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/hu.js b/web/core/assets/vendor/ckeditor/lang/hu.js index 1997809d588a4e68cf96c3c43e522d7f653a551e..a4ae4635aec854874abff89e41936a0349ff8632 100644 --- a/web/core/assets/vendor/ckeditor/lang/hu.js +++ b/web/core/assets/vendor/ckeditor/lang/hu.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['hu']={"widget":{"move":"Kattints és húzd a mozgatáshoz","label":"%1 modul"},"undo":{"redo":"Ismétlés","undo":"Visszavonás"},"toolbar":{"toolbarCollapse":"Eszköztár összecsukása","toolbarExpand":"Eszköztár szétnyitása","toolbarGroups":{"document":"Dokumentum","clipboard":"Vágólap/Visszavonás","editing":"Szerkesztés","forms":"Űrlapok","basicstyles":"Alapstílusok","paragraph":"Bekezdés","links":"Hivatkozások","insert":"Beszúrás","styles":"Stílusok","colors":"Színek","tools":"Eszközök"},"toolbars":"Szerkesztő Eszköztár"},"table":{"border":"Szegélyméret","caption":"Felirat","cell":{"menu":"Cella","insertBefore":"Beszúrás balra","insertAfter":"Beszúrás jobbra","deleteCell":"Cellák törlése","merge":"Cellák egyesítése","mergeRight":"Cellák egyesítése jobbra","mergeDown":"Cellák egyesítése lefelé","splitHorizontal":"Cellák szétválasztása vízszintesen","splitVertical":"Cellák szétválasztása függőlegesen","title":"Cella tulajdonságai","cellType":"Cella típusa","rowSpan":"Függőleges egyesítés","colSpan":"Vízszintes egyesítés","wordWrap":"Hosszú sorok törése","hAlign":"Vízszintes igazítás","vAlign":"Függőleges igazítás","alignBaseline":"Alapvonalra","bgColor":"Háttér színe","borderColor":"Keret színe","data":"Adat","header":"Fejléc","yes":"Igen","no":"Nem","invalidWidth":"A szélesség mezőbe csak számokat írhat.","invalidHeight":"A magasság mezőbe csak számokat írhat.","invalidRowSpan":"A függőleges egyesítés mezőbe csak számokat írhat.","invalidColSpan":"A vízszintes egyesítés mezőbe csak számokat írhat.","chooseColor":"Válasszon"},"cellPad":"Cella belső margó","cellSpace":"Cella térköz","column":{"menu":"Oszlop","insertBefore":"Beszúrás balra","insertAfter":"Beszúrás jobbra","deleteColumn":"Oszlopok törlése"},"columns":"Oszlopok","deleteTable":"Táblázat törlése","headers":"Fejlécek","headersBoth":"Mindkettő","headersColumn":"Első oszlop","headersNone":"Nincsenek","headersRow":"Első sor","heightUnit":"height unit","invalidBorder":"A szegélyméret mezőbe csak számokat írhat.","invalidCellPadding":"A cella belső margó mezőbe csak számokat írhat.","invalidCellSpacing":"A cella térköz mezőbe csak számokat írhat.","invalidCols":"Az oszlopok számának nagyobbnak kell lenni mint 0.","invalidHeight":"A magasság mezőbe csak számokat írhat.","invalidRows":"A sorok számának nagyobbnak kell lenni mint 0.","invalidWidth":"A szélesség mezőbe csak számokat írhat.","menu":"Táblázat tulajdonságai","row":{"menu":"Sor","insertBefore":"Beszúrás fölé","insertAfter":"Beszúrás alá","deleteRow":"Sorok törlése"},"rows":"Sorok","summary":"Leírás","title":"Táblázat tulajdonságai","toolbar":"Táblázat","widthPc":"százalék","widthPx":"képpont","widthUnit":"Szélesség egység"},"stylescombo":{"label":"Stílus","panelTitle":"Formázási stílusok","panelTitle1":"Blokk stílusok","panelTitle2":"Inline stílusok","panelTitle3":"Objektum stílusok"},"specialchar":{"options":"Speciális karakter opciók","title":"Speciális karakter választása","toolbar":"Speciális karakter beillesztése"},"sourcedialog":{"toolbar":"Forráskód","title":"Forráskód"},"sourcearea":{"toolbar":"Forráskód"},"showblocks":{"toolbar":"Blokkok megjelenítése"},"removeformat":{"toolbar":"Formázás eltávolítása"},"pastetext":{"button":"Beillesztés formázatlan szövegként","pasteNotification":"Nyomja meg a %1 gombot a beillesztéshez. A böngésző nem támogatja a beillesztést az eszköztár gombbal vagy a menüből.","title":"Beillesztés formázatlan szövegként"},"pastefromword":{"confirmCleanup":"Úgy tűnik a beillesztett szöveget Word-ből másolta át. Meg szeretné tisztítani a szöveget? (ajánlott)","error":"Egy belső hiba miatt nem sikerült megtisztítani a szöveget","title":"Beillesztés Word-ből","toolbar":"Beillesztés Word-ből"},"notification":{"closed":"Értesítés bezárva."},"maximize":{"maximize":"Teljes méret","minimize":"Kis méret"},"magicline":{"title":"Szúrja be a bekezdést ide"},"list":{"bulletedlist":"Felsorolás","numberedlist":"Számozás"},"language":{"button":"Nyelv beállítása","remove":"Nyelv eltávolítása"},"indent":{"indent":"Behúzás növelése","outdent":"Behúzás csökkentése"},"image2":{"alt":"Alternatív szöveg","btnUpload":"Küldés a szerverre","captioned":"Feliratozott kép","captionPlaceholder":"Képfelirat","infoTab":"Alaptulajdonságok","lockRatio":"Arány megtartása","menu":"Kép tulajdonságai","pathName":"kép","pathNameCaption":"felirat","resetSize":"Eredeti méret","resizer":"Kattintson és húzza az átméretezéshez","title":"Kép tulajdonságai","uploadTab":"Feltöltés","urlMissing":"Hiányzik a kép URL-je","altMissing":"Az alternatív szöveg hiányzik."},"horizontalrule":{"toolbar":"Elválasztóvonal beillesztése"},"format":{"label":"Formátum","panelTitle":"Bekezdés formátum","tag_address":"Címsor","tag_div":"Bekezdés (DIV)","tag_h1":"Fejléc 1","tag_h2":"Fejléc 2","tag_h3":"Fejléc 3","tag_h4":"Fejléc 4","tag_h5":"Fejléc 5","tag_h6":"Fejléc 6","tag_p":"Normál","tag_pre":"Formázott"},"filetools":{"loadError":"Hiba történt a fájl olvasása közben.","networkError":"Hálózati hiba történt a fájl feltöltése közben.","httpError404":"HTTP hiba történt a fájl feltöltése alatt (404: A fájl nem található).","httpError403":"HTTP hiba történt a fájl feltöltése alatt (403: Tiltott).","httpError":"HTTP hiba történt a fájl feltöltése alatt (hiba státusz: %1).","noUrlError":"Feltöltési URL nincs megadva.","responseError":"Helytelen szerver válasz."},"elementspath":{"eleLabel":"Elem utak","eleTitle":"%1 elem"},"contextmenu":{"options":"Helyi menü opciók"},"clipboard":{"copy":"Másolás","copyError":"A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).","cut":"Kivágás","cutError":"A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).","paste":"Beillesztés","pasteNotification":"Nyomja meg a %1 gombot a beillesztéshez. A böngésző nem támogatja a beillesztést az eszköztárról vagy a menüből.","pasteArea":"Beillesztési terület","pasteMsg":"Illessze be a tartalmat az alábbi mezőbe, és nyomja meg az OK-t."},"blockquote":{"toolbar":"Idézet blokk"},"basicstyles":{"bold":"Félkövér","italic":"Dőlt","strike":"Áthúzott","subscript":"Alsó index","superscript":"Felső index","underline":"Aláhúzott"},"about":{"copy":"Copyright © $1. Minden jog fenntartva.","dlgTitle":"A CKEditor 4-ről","moreInfo":"Licenszelési információkért kérjük látogassa meg weboldalunkat:"},"editor":"HTML szerkesztő","editorPanel":"HTML szerkesztő panel","common":{"editorHelp":"Segítségért nyomjon ALT 0-t","browseServer":"Böngészés a szerveren","url":"Hivatkozás","protocol":"Protokoll","upload":"Feltöltés","uploadSubmit":"Küldés a szerverre","image":"Kép","flash":"Flash","form":"Űrlap","checkbox":"Jelölőnégyzet","radio":"Választógomb","textField":"Szövegmező","textarea":"Szövegterület","hiddenField":"Rejtett mező","button":"Gomb","select":"Legördülő lista","imageButton":"Képgomb","notSet":"<nincs beállítva>","id":"Azonosító","name":"Név","langDir":"Írás iránya","langDirLtr":"Balról jobbra","langDirRtl":"Jobbról balra","langCode":"Nyelv kódja","longDescr":"Részletes leírás webcíme","cssClass":"CSS osztályok","advisoryTitle":"Súgócimke","cssStyle":"Stílus","ok":"Rendben","cancel":"Mégsem","close":"Bezárás","preview":"Előnézet","resize":"Húzza az átméretezéshez","generalTab":"Általános","advancedTab":"További opciók","validateNumberFailed":"A mezőbe csak számokat írhat.","confirmNewPage":"Minden nem mentett változás el fog veszni! Biztosan be szeretné tölteni az oldalt?","confirmCancel":"Pár beállítást megváltoztatott. Biztosan be szeretné zárni az ablakot?","options":"Beállítások","target":"Cél","targetNew":"Új ablak (_blank)","targetTop":"Legfelső ablak (_top)","targetSelf":"Aktuális ablakban (_self)","targetParent":"Szülő ablak (_parent)","langDirLTR":"Balról jobbra (LTR)","langDirRTL":"Jobbról balra (RTL)","styles":"Stílus","cssClasses":"Stíluslap osztály","width":"Szélesség","height":"Magasság","align":"Igazítás","left":"Bal","right":"Jobbra","center":"Középre","justify":"Sorkizárt","alignLeft":"Balra","alignRight":"Jobbra","alignCenter":"Középre igazítás","alignTop":"Tetejére","alignMiddle":"Középre","alignBottom":"Aljára","alignNone":"Semmi","invalidValue":"Érvénytelen érték.","invalidHeight":"A magasság mezőbe csak számokat írhat.","invalidWidth":"A szélesség mezőbe csak számokat írhat.","invalidLength":"A megadott értéknek a \"%1\" mezőben pozitív számnak kell lennie, egy érvényes mértékegységgel vagy anélkül (%2).","invalidCssLength":"\"%1\"-hez megadott érték csakis egy pozitív szám lehet, esetleg egy érvényes CSS egységgel megjelölve(px, %, in, cm, mm, em, ex, pt vagy pc).","invalidHtmlLength":"\"%1\"-hez megadott érték csakis egy pozitív szám lehet, esetleg egy érvényes HTML egységgel megjelölve(px vagy %).","invalidInlineStyle":"Az inline stílusnak megadott értéknek tartalmaznia kell egy vagy több rekordot a \"name : value\" formátumban, pontosvesszővel elválasztva.","cssLengthTooltip":"Adjon meg egy számot értéknek pixelekben vagy egy számot érvényes CSS mértékegységben (px, %, in, cm, mm, em, ex, pt, vagy pc).","unavailable":"%1<span class=\"cke_accessibility\">, nem elérhető</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Gyorsbillentyű","optionDefault":"Alapértelmezett"}}; \ No newline at end of file +CKEDITOR.lang['hu']={"widget":{"move":"Kattints és húzd a mozgatáshoz","label":"%1 modul"},"undo":{"redo":"Ismétlés","undo":"Visszavonás"},"toolbar":{"toolbarCollapse":"Eszköztár összecsukása","toolbarExpand":"Eszköztár szétnyitása","toolbarGroups":{"document":"Dokumentum","clipboard":"Vágólap/Visszavonás","editing":"Szerkesztés","forms":"Űrlapok","basicstyles":"Alapstílusok","paragraph":"Bekezdés","links":"Hivatkozások","insert":"Beszúrás","styles":"Stílusok","colors":"Színek","tools":"Eszközök"},"toolbars":"Szerkesztő Eszköztár"},"table":{"border":"Szegélyméret","caption":"Felirat","cell":{"menu":"Cella","insertBefore":"Beszúrás balra","insertAfter":"Beszúrás jobbra","deleteCell":"Cellák törlése","merge":"Cellák egyesítése","mergeRight":"Cellák egyesítése jobbra","mergeDown":"Cellák egyesítése lefelé","splitHorizontal":"Cellák szétválasztása vízszintesen","splitVertical":"Cellák szétválasztása függőlegesen","title":"Cella tulajdonságai","cellType":"Cella típusa","rowSpan":"Függőleges egyesítés","colSpan":"Vízszintes egyesítés","wordWrap":"Hosszú sorok törése","hAlign":"Vízszintes igazítás","vAlign":"Függőleges igazítás","alignBaseline":"Alapvonalra","bgColor":"Háttér színe","borderColor":"Keret színe","data":"Adat","header":"Fejléc","yes":"Igen","no":"Nem","invalidWidth":"A szélesség mezőbe csak számokat írhat.","invalidHeight":"A magasság mezőbe csak számokat írhat.","invalidRowSpan":"A függőleges egyesítés mezőbe csak számokat írhat.","invalidColSpan":"A vízszintes egyesítés mezőbe csak számokat írhat.","chooseColor":"Válasszon"},"cellPad":"Cella belső margó","cellSpace":"Cella térköz","column":{"menu":"Oszlop","insertBefore":"Beszúrás balra","insertAfter":"Beszúrás jobbra","deleteColumn":"Oszlopok törlése"},"columns":"Oszlopok","deleteTable":"Táblázat törlése","headers":"Fejlécek","headersBoth":"Mindkettő","headersColumn":"Első oszlop","headersNone":"Nincsenek","headersRow":"Első sor","heightUnit":"Magasság egység","invalidBorder":"A szegélyméret mezőbe csak számokat írhat.","invalidCellPadding":"A cella belső margó mezőbe csak számokat írhat.","invalidCellSpacing":"A cella térköz mezőbe csak számokat írhat.","invalidCols":"Az oszlopok számának nagyobbnak kell lenni mint 0.","invalidHeight":"A magasság mezőbe csak számokat írhat.","invalidRows":"A sorok számának nagyobbnak kell lenni mint 0.","invalidWidth":"A szélesség mezőbe csak számokat írhat.","menu":"Táblázat tulajdonságai","row":{"menu":"Sor","insertBefore":"Beszúrás fölé","insertAfter":"Beszúrás alá","deleteRow":"Sorok törlése"},"rows":"Sorok","summary":"Leírás","title":"Táblázat tulajdonságai","toolbar":"Táblázat","widthPc":"százalék","widthPx":"képpont","widthUnit":"Szélesség egység"},"stylescombo":{"label":"Stílus","panelTitle":"Formázási stílusok","panelTitle1":"Blokk stílusok","panelTitle2":"Inline stílusok","panelTitle3":"Objektum stílusok"},"specialchar":{"options":"Speciális karakter opciók","title":"Speciális karakter választása","toolbar":"Speciális karakter beillesztése"},"sourcedialog":{"toolbar":"Forráskód","title":"Forráskód"},"sourcearea":{"toolbar":"Forráskód"},"showblocks":{"toolbar":"Blokkok megjelenítése"},"removeformat":{"toolbar":"Formázás eltávolítása"},"pastetext":{"button":"Beillesztés formázatlan szövegként","pasteNotification":"Nyomja meg a %1 gombot a beillesztéshez. A böngésző nem támogatja a beillesztést az eszköztár gombbal vagy a menüből.","title":"Beillesztés formázatlan szövegként"},"pastefromword":{"confirmCleanup":"Úgy tűnik a beillesztett szöveget Word-ből másolta át. Meg szeretné tisztítani a szöveget? (ajánlott)","error":"Egy belső hiba miatt nem sikerült megtisztítani a szöveget","title":"Beillesztés Word-ből","toolbar":"Beillesztés Word-ből"},"notification":{"closed":"Értesítés bezárva."},"maximize":{"maximize":"Teljes méret","minimize":"Kis méret"},"magicline":{"title":"Szúrja be a bekezdést ide"},"list":{"bulletedlist":"Felsorolás","numberedlist":"Számozás"},"language":{"button":"Nyelv beállítása","remove":"Nyelv eltávolítása"},"indent":{"indent":"Behúzás növelése","outdent":"Behúzás csökkentése"},"image2":{"alt":"Alternatív szöveg","btnUpload":"Küldés a szerverre","captioned":"Feliratozott kép","captionPlaceholder":"Képfelirat","infoTab":"Alaptulajdonságok","lockRatio":"Arány megtartása","menu":"Kép tulajdonságai","pathName":"kép","pathNameCaption":"felirat","resetSize":"Eredeti méret","resizer":"Kattintson és húzza az átméretezéshez","title":"Kép tulajdonságai","uploadTab":"Feltöltés","urlMissing":"Hiányzik a kép URL-je","altMissing":"Az alternatív szöveg hiányzik."},"horizontalrule":{"toolbar":"Elválasztóvonal beillesztése"},"format":{"label":"Formátum","panelTitle":"Bekezdés formátum","tag_address":"Címsor","tag_div":"Bekezdés (DIV)","tag_h1":"Fejléc 1","tag_h2":"Fejléc 2","tag_h3":"Fejléc 3","tag_h4":"Fejléc 4","tag_h5":"Fejléc 5","tag_h6":"Fejléc 6","tag_p":"Normál","tag_pre":"Formázott"},"filetools":{"loadError":"Hiba történt a fájl olvasása közben.","networkError":"Hálózati hiba történt a fájl feltöltése közben.","httpError404":"HTTP hiba történt a fájl feltöltése alatt (404: A fájl nem található).","httpError403":"HTTP hiba történt a fájl feltöltése alatt (403: Tiltott).","httpError":"HTTP hiba történt a fájl feltöltése alatt (hiba státusz: %1).","noUrlError":"Feltöltési URL nincs megadva.","responseError":"Helytelen szerver válasz."},"elementspath":{"eleLabel":"Elem utak","eleTitle":"%1 elem"},"contextmenu":{"options":"Helyi menü opciók"},"clipboard":{"copy":"Másolás","copyError":"A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).","cut":"Kivágás","cutError":"A böngésző biztonsági beállításai nem engedélyezik a szerkesztőnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).","paste":"Beillesztés","pasteNotification":"Nyomja meg a %1 gombot a beillesztéshez. A böngésző nem támogatja a beillesztést az eszköztárról vagy a menüből.","pasteArea":"Beillesztési terület","pasteMsg":"Illessze be a tartalmat az alábbi mezőbe, és nyomja meg az OK-t."},"blockquote":{"toolbar":"Idézet blokk"},"basicstyles":{"bold":"Félkövér","italic":"Dőlt","strike":"Áthúzott","subscript":"Alsó index","superscript":"Felső index","underline":"Aláhúzott"},"about":{"copy":"Copyright © $1. Minden jog fenntartva.","dlgTitle":"A CKEditor 4-ről","moreInfo":"Licenszelési információkért kérjük látogassa meg weboldalunkat:"},"editor":"HTML szerkesztő","editorPanel":"HTML szerkesztő panel","common":{"editorHelp":"Segítségért nyomjon ALT 0-t","browseServer":"Böngészés a szerveren","url":"Hivatkozás","protocol":"Protokoll","upload":"Feltöltés","uploadSubmit":"Küldés a szerverre","image":"Kép","flash":"Flash","form":"Űrlap","checkbox":"Jelölőnégyzet","radio":"Választógomb","textField":"Szövegmező","textarea":"Szövegterület","hiddenField":"Rejtett mező","button":"Gomb","select":"Legördülő lista","imageButton":"Képgomb","notSet":"<nincs beállítva>","id":"Azonosító","name":"Név","langDir":"Írás iránya","langDirLtr":"Balról jobbra","langDirRtl":"Jobbról balra","langCode":"Nyelv kódja","longDescr":"Részletes leírás webcíme","cssClass":"CSS osztályok","advisoryTitle":"Súgócimke","cssStyle":"Stílus","ok":"Rendben","cancel":"Mégsem","close":"Bezárás","preview":"Előnézet","resize":"Húzza az átméretezéshez","generalTab":"Általános","advancedTab":"További opciók","validateNumberFailed":"A mezőbe csak számokat írhat.","confirmNewPage":"Minden nem mentett változás el fog veszni! Biztosan be szeretné tölteni az oldalt?","confirmCancel":"Pár beállítást megváltoztatott. Biztosan be szeretné zárni az ablakot?","options":"Beállítások","target":"Cél","targetNew":"Új ablak (_blank)","targetTop":"Legfelső ablak (_top)","targetSelf":"Aktuális ablakban (_self)","targetParent":"Szülő ablak (_parent)","langDirLTR":"Balról jobbra (LTR)","langDirRTL":"Jobbról balra (RTL)","styles":"Stílus","cssClasses":"Stíluslap osztály","width":"Szélesség","height":"Magasság","align":"Igazítás","left":"Bal","right":"Jobbra","center":"Középre","justify":"Sorkizárt","alignLeft":"Balra","alignRight":"Jobbra","alignCenter":"Középre igazítás","alignTop":"Tetejére","alignMiddle":"Középre","alignBottom":"Aljára","alignNone":"Semmi","invalidValue":"Érvénytelen érték.","invalidHeight":"A magasság mezőbe csak számokat írhat.","invalidWidth":"A szélesség mezőbe csak számokat írhat.","invalidLength":"A megadott értéknek a \"%1\" mezőben pozitív számnak kell lennie, egy érvényes mértékegységgel vagy anélkül (%2).","invalidCssLength":"\"%1\"-hez megadott érték csakis egy pozitív szám lehet, esetleg egy érvényes CSS egységgel megjelölve(px, %, in, cm, mm, em, ex, pt vagy pc).","invalidHtmlLength":"\"%1\"-hez megadott érték csakis egy pozitív szám lehet, esetleg egy érvényes HTML egységgel megjelölve(px vagy %).","invalidInlineStyle":"Az inline stílusnak megadott értéknek tartalmaznia kell egy vagy több rekordot a \"name : value\" formátumban, pontosvesszővel elválasztva.","cssLengthTooltip":"Adjon meg egy számot értéknek pixelekben vagy egy számot érvényes CSS mértékegységben (px, %, in, cm, mm, em, ex, pt, vagy pc).","unavailable":"%1<span class=\"cke_accessibility\">, nem elérhető</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Gyorsbillentyű","optionDefault":"Alapértelmezett"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/it.js b/web/core/assets/vendor/ckeditor/lang/it.js index 15f0d1230eb0f72cdc0f1afe4b12dd8efe500c96..6026f3d2146861492cc4535b32a32e6f121828c8 100644 --- a/web/core/assets/vendor/ckeditor/lang/it.js +++ b/web/core/assets/vendor/ckeditor/lang/it.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['it']={"widget":{"move":"Fare clic e trascinare per spostare","label":"Widget %1"},"undo":{"redo":"Ripristina","undo":"Annulla"},"toolbar":{"toolbarCollapse":"Minimizza Toolbar","toolbarExpand":"Espandi Toolbar","toolbarGroups":{"document":"Documento","clipboard":"Copia negli appunti/Annulla","editing":"Modifica","forms":"Form","basicstyles":"Stili di base","paragraph":"Paragrafo","links":"Link","insert":"Inserisci","styles":"Stili","colors":"Colori","tools":"Strumenti"},"toolbars":"Editor toolbar"},"table":{"border":"Dimensione bordo","caption":"Intestazione","cell":{"menu":"Cella","insertBefore":"Inserisci Cella Prima","insertAfter":"Inserisci Cella Dopo","deleteCell":"Elimina celle","merge":"Unisce celle","mergeRight":"Unisci a Destra","mergeDown":"Unisci in Basso","splitHorizontal":"Dividi Cella Orizzontalmente","splitVertical":"Dividi Cella Verticalmente","title":"Proprietà della cella","cellType":"Tipo di cella","rowSpan":"Su più righe","colSpan":"Su più colonne","wordWrap":"Ritorno a capo","hAlign":"Allineamento orizzontale","vAlign":"Allineamento verticale","alignBaseline":"Linea Base","bgColor":"Colore di Sfondo","borderColor":"Colore del Bordo","data":"Dati","header":"Intestazione","yes":"Si","no":"No","invalidWidth":"La larghezza della cella dev'essere un numero.","invalidHeight":"L'altezza della cella dev'essere un numero.","invalidRowSpan":"Il numero di righe dev'essere un numero intero.","invalidColSpan":"Il numero di colonne dev'essere un numero intero.","chooseColor":"Scegli"},"cellPad":"Padding celle","cellSpace":"Spaziatura celle","column":{"menu":"Colonna","insertBefore":"Inserisci Colonna Prima","insertAfter":"Inserisci Colonna Dopo","deleteColumn":"Elimina colonne"},"columns":"Colonne","deleteTable":"Cancella Tabella","headers":"Intestazione","headersBoth":"Entrambe","headersColumn":"Prima Colonna","headersNone":"Nessuna","headersRow":"Prima Riga","heightUnit":"height unit","invalidBorder":"La dimensione del bordo dev'essere un numero.","invalidCellPadding":"Il paging delle celle dev'essere un numero","invalidCellSpacing":"La spaziatura tra le celle dev'essere un numero.","invalidCols":"Il numero di colonne dev'essere un numero maggiore di 0.","invalidHeight":"L'altezza della tabella dev'essere un numero.","invalidRows":"Il numero di righe dev'essere un numero maggiore di 0.","invalidWidth":"La larghezza della tabella dev'essere un numero.","menu":"Proprietà tabella","row":{"menu":"Riga","insertBefore":"Inserisci Riga Prima","insertAfter":"Inserisci Riga Dopo","deleteRow":"Elimina righe"},"rows":"Righe","summary":"Indice","title":"Proprietà tabella","toolbar":"Tabella","widthPc":"percento","widthPx":"pixel","widthUnit":"unità larghezza"},"stylescombo":{"label":"Stili","panelTitle":"Stili di formattazione","panelTitle1":"Stili per blocchi","panelTitle2":"Stili in linea","panelTitle3":"Stili per oggetti"},"specialchar":{"options":"Opzioni carattere speciale","title":"Seleziona carattere speciale","toolbar":"Inserisci carattere speciale"},"sourcedialog":{"toolbar":"Sorgente","title":"Sorgente"},"sourcearea":{"toolbar":"Sorgente"},"showblocks":{"toolbar":"Visualizza Blocchi"},"removeformat":{"toolbar":"Elimina formattazione"},"pastetext":{"button":"Incolla come testo semplice","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Incolla come testo semplice"},"pastefromword":{"confirmCleanup":"Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?","error":"Non è stato possibile eliminare il testo incollato a causa di un errore interno.","title":"Incolla da Word","toolbar":"Incolla da Word"},"notification":{"closed":"Notifica chiusa."},"maximize":{"maximize":"Massimizza","minimize":"Minimizza"},"magicline":{"title":"Inserisci paragrafo qui"},"list":{"bulletedlist":"Inserisci/Rimuovi Elenco Puntato","numberedlist":"Inserisci/Rimuovi Elenco Numerato"},"language":{"button":"Imposta lingua","remove":"Rimuovi lingua"},"indent":{"indent":"Aumenta rientro","outdent":"Riduci rientro"},"image2":{"alt":"Testo alternativo","btnUpload":"Invia al server","captioned":"Immagine con didascalia","captionPlaceholder":"Didascalia","infoTab":"Informazioni immagine","lockRatio":"Blocca rapporto","menu":"Proprietà immagine","pathName":"immagine","pathNameCaption":"didascalia","resetSize":"Reimposta dimensione","resizer":"Fare clic e trascinare per ridimensionare","title":"Proprietà immagine","uploadTab":"Carica","urlMissing":"Manca l'URL dell'immagine.","altMissing":"Testo alternativo mancante."},"horizontalrule":{"toolbar":"Inserisci riga orizzontale"},"format":{"label":"Formato","panelTitle":"Formato","tag_address":"Indirizzo","tag_div":"Paragrafo (DIV)","tag_h1":"Titolo 1","tag_h2":"Titolo 2","tag_h3":"Titolo 3","tag_h4":"Titolo 4","tag_h5":"Titolo 5","tag_h6":"Titolo 6","tag_p":"Normale","tag_pre":"Formattato"},"filetools":{"loadError":"Si è verificato un errore durante la lettura del file.","networkError":"Si è verificato un errore di rete durante il caricamento del file.","httpError404":"Si è verificato un errore HTTP durante il caricamento del file (404: file non trovato).","httpError403":"Si è verificato un errore HTTP durante il caricamento del file (403: accesso negato).","httpError":"Si è verificato un errore HTTP durante il caricamento del file (stato dell'errore: %1).","noUrlError":"L'URL per il caricamento non è stato definito.","responseError":"La risposta del server non è corretta."},"elementspath":{"eleLabel":"Percorso degli elementi","eleTitle":"%1 elemento"},"contextmenu":{"options":"Opzioni del menù contestuale"},"clipboard":{"copy":"Copia","copyError":"Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+C).","cut":"Taglia","cutError":"Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+X).","paste":"Incolla","pasteNotification":"Premere %1 per incollare. Il tuo browser non permette di incollare tramite il pulsante della barra degli strumenti o tramite la voce del menu contestuale.","pasteArea":"Area dove incollare","pasteMsg":"Incollare il proprio contenuto all'interno dell'area sottostante e premere OK."},"blockquote":{"toolbar":"Citazione"},"basicstyles":{"bold":"Grassetto","italic":"Corsivo","strike":"Barrato","subscript":"Pedice","superscript":"Apice","underline":"Sottolineato"},"about":{"copy":"Copyright © $1. Tutti i diritti riservati.","dlgTitle":"Informazioni su CKEditor 4","moreInfo":"Per le informazioni sulla licenza si prega di visitare il nostro sito:"},"editor":"Rich Text Editor","editorPanel":"Pannello Rich Text Editor","common":{"editorHelp":"Premi ALT 0 per aiuto","browseServer":"Cerca sul server","url":"URL","protocol":"Protocollo","upload":"Carica","uploadSubmit":"Invia al server","image":"Immagine","flash":"Oggetto Flash","form":"Modulo","checkbox":"Checkbox","radio":"Radio Button","textField":"Campo di testo","textarea":"Area di testo","hiddenField":"Campo nascosto","button":"Bottone","select":"Menu di selezione","imageButton":"Bottone immagine","notSet":"<non impostato>","id":"Id","name":"Nome","langDir":"Direzione scrittura","langDirLtr":"Da Sinistra a Destra (LTR)","langDirRtl":"Da Destra a Sinistra (RTL)","langCode":"Codice Lingua","longDescr":"URL descrizione estesa","cssClass":"Nome classe CSS","advisoryTitle":"Titolo","cssStyle":"Stile","ok":"OK","cancel":"Annulla","close":"Chiudi","preview":"Anteprima","resize":"Trascina per ridimensionare","generalTab":"Generale","advancedTab":"Avanzate","validateNumberFailed":"Il valore inserito non è un numero.","confirmNewPage":"Ogni modifica non salvata sarà persa. Sei sicuro di voler caricare una nuova pagina?","confirmCancel":"Alcune delle opzioni sono state cambiate. Sei sicuro di voler chiudere la finestra di dialogo?","options":"Opzioni","target":"Destinazione","targetNew":"Nuova finestra (_blank)","targetTop":"Finestra in primo piano (_top)","targetSelf":"Stessa finestra (_self)","targetParent":"Finestra Padre (_parent)","langDirLTR":"Da sinistra a destra (LTR)","langDirRTL":"Da destra a sinistra (RTL)","styles":"Stile","cssClasses":"Classi di stile","width":"Larghezza","height":"Altezza","align":"Allineamento","left":"Sinistra","right":"Destra","center":"Centrato","justify":"Giustifica","alignLeft":"Allinea a sinistra","alignRight":"Allinea a destra","alignCenter":"Allinea al centro","alignTop":"In Alto","alignMiddle":"Centrato","alignBottom":"In Basso","alignNone":"Nessuno","invalidValue":"Valore non valido.","invalidHeight":"L'altezza dev'essere un numero","invalidWidth":"La Larghezza dev'essere un numero","invalidLength":"Il valore specificato per il campo \"%1\" deve essere un numero positivo con o senza un'unità di misura valida (%2).","invalidCssLength":"Il valore indicato per il campo \"%1\" deve essere un numero positivo con o senza indicazione di una valida unità di misura per le classi CSS (px, %, in, cm, mm, em, ex, pt, o pc).","invalidHtmlLength":"Il valore indicato per il campo \"%1\" deve essere un numero positivo con o senza indicazione di una valida unità di misura per le pagine HTML (px o %).","invalidInlineStyle":"Il valore specificato per lo stile inline deve consistere in una o più tuple con il formato di \"name : value\", separati da semicolonne.","cssLengthTooltip":"Inserisci un numero per il valore in pixel oppure un numero con una valida unità CSS (px, %, in, cm, mm, ex, pt, o pc).","unavailable":"%1<span class=\"cke_accessibility\">, non disponibile</span>","keyboard":{"8":"Backspace","13":"Invio","16":"Maiusc","17":"Ctrl","18":"Alt","32":"Spazio","35":"Fine","36":"Inizio","46":"Canc","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Comando"},"keyboardShortcut":"Scorciatoia da tastiera","optionDefault":"Predefinito"}}; \ No newline at end of file +CKEDITOR.lang['it']={"widget":{"move":"Fare clic e trascinare per spostare","label":"Widget %1"},"undo":{"redo":"Ripristina","undo":"Annulla"},"toolbar":{"toolbarCollapse":"Minimizza Toolbar","toolbarExpand":"Espandi Toolbar","toolbarGroups":{"document":"Documento","clipboard":"Copia negli appunti/Annulla","editing":"Modifica","forms":"Form","basicstyles":"Stili di base","paragraph":"Paragrafo","links":"Link","insert":"Inserisci","styles":"Stili","colors":"Colori","tools":"Strumenti"},"toolbars":"Editor toolbar"},"table":{"border":"Dimensione bordo","caption":"Intestazione","cell":{"menu":"Cella","insertBefore":"Inserisci Cella Prima","insertAfter":"Inserisci Cella Dopo","deleteCell":"Elimina celle","merge":"Unisce celle","mergeRight":"Unisci a Destra","mergeDown":"Unisci in Basso","splitHorizontal":"Dividi Cella Orizzontalmente","splitVertical":"Dividi Cella Verticalmente","title":"Proprietà della cella","cellType":"Tipo di cella","rowSpan":"Su più righe","colSpan":"Su più colonne","wordWrap":"Ritorno a capo","hAlign":"Allineamento orizzontale","vAlign":"Allineamento verticale","alignBaseline":"Linea Base","bgColor":"Colore di Sfondo","borderColor":"Colore del Bordo","data":"Dati","header":"Intestazione","yes":"Si","no":"No","invalidWidth":"La larghezza della cella dev'essere un numero.","invalidHeight":"L'altezza della cella dev'essere un numero.","invalidRowSpan":"Il numero di righe dev'essere un numero intero.","invalidColSpan":"Il numero di colonne dev'essere un numero intero.","chooseColor":"Scegli"},"cellPad":"Padding celle","cellSpace":"Spaziatura celle","column":{"menu":"Colonna","insertBefore":"Inserisci Colonna Prima","insertAfter":"Inserisci Colonna Dopo","deleteColumn":"Elimina colonne"},"columns":"Colonne","deleteTable":"Cancella Tabella","headers":"Intestazione","headersBoth":"Entrambe","headersColumn":"Prima Colonna","headersNone":"Nessuna","headersRow":"Prima Riga","heightUnit":"unità altezza","invalidBorder":"La dimensione del bordo dev'essere un numero.","invalidCellPadding":"Il paging delle celle dev'essere un numero","invalidCellSpacing":"La spaziatura tra le celle dev'essere un numero.","invalidCols":"Il numero di colonne dev'essere un numero maggiore di 0.","invalidHeight":"L'altezza della tabella dev'essere un numero.","invalidRows":"Il numero di righe dev'essere un numero maggiore di 0.","invalidWidth":"La larghezza della tabella dev'essere un numero.","menu":"Proprietà tabella","row":{"menu":"Riga","insertBefore":"Inserisci Riga Prima","insertAfter":"Inserisci Riga Dopo","deleteRow":"Elimina righe"},"rows":"Righe","summary":"Indice","title":"Proprietà tabella","toolbar":"Tabella","widthPc":"percento","widthPx":"pixel","widthUnit":"unità larghezza"},"stylescombo":{"label":"Stili","panelTitle":"Stili di formattazione","panelTitle1":"Stili per blocchi","panelTitle2":"Stili in linea","panelTitle3":"Stili per oggetti"},"specialchar":{"options":"Opzioni carattere speciale","title":"Seleziona carattere speciale","toolbar":"Inserisci carattere speciale"},"sourcedialog":{"toolbar":"Sorgente","title":"Sorgente"},"sourcearea":{"toolbar":"Sorgente"},"showblocks":{"toolbar":"Visualizza Blocchi"},"removeformat":{"toolbar":"Elimina formattazione"},"pastetext":{"button":"Incolla come testo semplice","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Incolla come testo semplice"},"pastefromword":{"confirmCleanup":"Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?","error":"Non è stato possibile eliminare il testo incollato a causa di un errore interno.","title":"Incolla da Word","toolbar":"Incolla da Word"},"notification":{"closed":"Notifica chiusa."},"maximize":{"maximize":"Massimizza","minimize":"Minimizza"},"magicline":{"title":"Inserisci paragrafo qui"},"list":{"bulletedlist":"Inserisci/Rimuovi Elenco Puntato","numberedlist":"Inserisci/Rimuovi Elenco Numerato"},"language":{"button":"Imposta lingua","remove":"Rimuovi lingua"},"indent":{"indent":"Aumenta rientro","outdent":"Riduci rientro"},"image2":{"alt":"Testo alternativo","btnUpload":"Invia al server","captioned":"Immagine con didascalia","captionPlaceholder":"Didascalia","infoTab":"Informazioni immagine","lockRatio":"Blocca rapporto","menu":"Proprietà immagine","pathName":"immagine","pathNameCaption":"didascalia","resetSize":"Reimposta dimensione","resizer":"Fare clic e trascinare per ridimensionare","title":"Proprietà immagine","uploadTab":"Carica","urlMissing":"Manca l'URL dell'immagine.","altMissing":"Testo alternativo mancante."},"horizontalrule":{"toolbar":"Inserisci riga orizzontale"},"format":{"label":"Formato","panelTitle":"Formato","tag_address":"Indirizzo","tag_div":"Paragrafo (DIV)","tag_h1":"Titolo 1","tag_h2":"Titolo 2","tag_h3":"Titolo 3","tag_h4":"Titolo 4","tag_h5":"Titolo 5","tag_h6":"Titolo 6","tag_p":"Normale","tag_pre":"Formattato"},"filetools":{"loadError":"Si è verificato un errore durante la lettura del file.","networkError":"Si è verificato un errore di rete durante il caricamento del file.","httpError404":"Si è verificato un errore HTTP durante il caricamento del file (404: file non trovato).","httpError403":"Si è verificato un errore HTTP durante il caricamento del file (403: accesso negato).","httpError":"Si è verificato un errore HTTP durante il caricamento del file (stato dell'errore: %1).","noUrlError":"L'URL per il caricamento non è stato definito.","responseError":"La risposta del server non è corretta."},"elementspath":{"eleLabel":"Percorso degli elementi","eleTitle":"%1 elemento"},"contextmenu":{"options":"Opzioni del menù contestuale"},"clipboard":{"copy":"Copia","copyError":"Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+C).","cut":"Taglia","cutError":"Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+X).","paste":"Incolla","pasteNotification":"Premere %1 per incollare. Il tuo browser non permette di incollare tramite il pulsante della barra degli strumenti o tramite la voce del menu contestuale.","pasteArea":"Area dove incollare","pasteMsg":"Incollare il proprio contenuto all'interno dell'area sottostante e premere OK."},"blockquote":{"toolbar":"Citazione"},"basicstyles":{"bold":"Grassetto","italic":"Corsivo","strike":"Barrato","subscript":"Pedice","superscript":"Apice","underline":"Sottolineato"},"about":{"copy":"Copyright © $1. Tutti i diritti riservati.","dlgTitle":"Informazioni su CKEditor 4","moreInfo":"Per le informazioni sulla licenza si prega di visitare il nostro sito:"},"editor":"Rich Text Editor","editorPanel":"Pannello Rich Text Editor","common":{"editorHelp":"Premi ALT 0 per aiuto","browseServer":"Cerca sul server","url":"URL","protocol":"Protocollo","upload":"Carica","uploadSubmit":"Invia al server","image":"Immagine","flash":"Oggetto Flash","form":"Modulo","checkbox":"Checkbox","radio":"Radio Button","textField":"Campo di testo","textarea":"Area di testo","hiddenField":"Campo nascosto","button":"Bottone","select":"Menu di selezione","imageButton":"Bottone immagine","notSet":"<non impostato>","id":"Id","name":"Nome","langDir":"Direzione scrittura","langDirLtr":"Da Sinistra a Destra (LTR)","langDirRtl":"Da Destra a Sinistra (RTL)","langCode":"Codice Lingua","longDescr":"URL descrizione estesa","cssClass":"Nome classe CSS","advisoryTitle":"Titolo","cssStyle":"Stile","ok":"OK","cancel":"Annulla","close":"Chiudi","preview":"Anteprima","resize":"Trascina per ridimensionare","generalTab":"Generale","advancedTab":"Avanzate","validateNumberFailed":"Il valore inserito non è un numero.","confirmNewPage":"Ogni modifica non salvata sarà persa. Sei sicuro di voler caricare una nuova pagina?","confirmCancel":"Alcune delle opzioni sono state cambiate. Sei sicuro di voler chiudere la finestra di dialogo?","options":"Opzioni","target":"Destinazione","targetNew":"Nuova finestra (_blank)","targetTop":"Finestra in primo piano (_top)","targetSelf":"Stessa finestra (_self)","targetParent":"Finestra Padre (_parent)","langDirLTR":"Da sinistra a destra (LTR)","langDirRTL":"Da destra a sinistra (RTL)","styles":"Stile","cssClasses":"Classi di stile","width":"Larghezza","height":"Altezza","align":"Allineamento","left":"Sinistra","right":"Destra","center":"Centrato","justify":"Giustifica","alignLeft":"Allinea a sinistra","alignRight":"Allinea a destra","alignCenter":"Allinea al centro","alignTop":"In Alto","alignMiddle":"Centrato","alignBottom":"In Basso","alignNone":"Nessuno","invalidValue":"Valore non valido.","invalidHeight":"L'altezza dev'essere un numero","invalidWidth":"La Larghezza dev'essere un numero","invalidLength":"Il valore specificato per il campo \"%1\" deve essere un numero positivo con o senza un'unità di misura valida (%2).","invalidCssLength":"Il valore indicato per il campo \"%1\" deve essere un numero positivo con o senza indicazione di una valida unità di misura per le classi CSS (px, %, in, cm, mm, em, ex, pt, o pc).","invalidHtmlLength":"Il valore indicato per il campo \"%1\" deve essere un numero positivo con o senza indicazione di una valida unità di misura per le pagine HTML (px o %).","invalidInlineStyle":"Il valore specificato per lo stile inline deve consistere in una o più tuple con il formato di \"name : value\", separati da semicolonne.","cssLengthTooltip":"Inserisci un numero per il valore in pixel oppure un numero con una valida unità CSS (px, %, in, cm, mm, ex, pt, o pc).","unavailable":"%1<span class=\"cke_accessibility\">, non disponibile</span>","keyboard":{"8":"Backspace","13":"Invio","16":"Maiusc","17":"Ctrl","18":"Alt","32":"Spazio","35":"Fine","36":"Inizio","46":"Canc","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Comando"},"keyboardShortcut":"Scorciatoia da tastiera","optionDefault":"Predefinito"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/ja.js b/web/core/assets/vendor/ckeditor/lang/ja.js index 5b806fb25d3f8b2e37bd085759f6ac662d592606..62ea24b104dd61b8db5ec3e42d0b2d1d329fd288 100644 --- a/web/core/assets/vendor/ckeditor/lang/ja.js +++ b/web/core/assets/vendor/ckeditor/lang/ja.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['ja']={"widget":{"move":"ドラッグして移動","label":"%1 ウィジェット"},"undo":{"redo":"やり直す","undo":"元に戻す"},"toolbar":{"toolbarCollapse":"ツールバーを閉じる","toolbarExpand":"ツールバーを開く","toolbarGroups":{"document":"Document","clipboard":"Clipboard/Undo","editing":"Editing","forms":"Forms","basicstyles":"Basic Styles","paragraph":"Paragraph","links":"Links","insert":"Insert","styles":"Styles","colors":"Colors","tools":"Tools"},"toolbars":"編集ツールバー"},"table":{"border":"枠線の幅","caption":"キャプション","cell":{"menu":"セル","insertBefore":"セルを前に挿入","insertAfter":"セルを後に挿入","deleteCell":"セルを削除","merge":"セルを結合","mergeRight":"右に結合","mergeDown":"下に結合","splitHorizontal":"セルを水平方向に分割","splitVertical":"セルを垂直方向に分割","title":"セルのプロパティ","cellType":"セルの種類","rowSpan":"行の結合数","colSpan":"列の結合数","wordWrap":"単語の折り返し","hAlign":"水平方向の配置","vAlign":"垂直方向の配置","alignBaseline":"ベースライン","bgColor":"背景色","borderColor":"ボーダーカラー","data":"テーブルデータ (td)","header":"ヘッダ","yes":"はい","no":"いいえ","invalidWidth":"セル幅は数値で入力してください。","invalidHeight":"セル高さは数値で入力してください。","invalidRowSpan":"縦幅(行数)は数値で入力してください。","invalidColSpan":"横幅(列数)は数値で入力してください。","chooseColor":"色の選択"},"cellPad":"セル内間隔","cellSpace":"セル内余白","column":{"menu":"列","insertBefore":"列を左に挿入","insertAfter":"列を右に挿入","deleteColumn":"列を削除"},"columns":"列数","deleteTable":"表を削除","headers":"ヘッダ (th)","headersBoth":"両方","headersColumn":"最初の列のみ","headersNone":"なし","headersRow":"最初の行のみ","heightUnit":"height unit","invalidBorder":"枠線の幅は数値で入力してください。","invalidCellPadding":"セル内余白は数値で入力してください。","invalidCellSpacing":"セル間余白は数値で入力してください。","invalidCols":"列数は0より大きな数値を入力してください。","invalidHeight":"高さは数値で入力してください。","invalidRows":"行数は0より大きな数値を入力してください。","invalidWidth":"幅は数値で入力してください。","menu":"表のプロパティ","row":{"menu":"行","insertBefore":"行を上に挿入","insertAfter":"行を下に挿入","deleteRow":"行を削除"},"rows":"行数","summary":"表の概要","title":"表のプロパティ","toolbar":"表","widthPc":"パーセント","widthPx":"ピクセル","widthUnit":"幅の単位"},"stylescombo":{"label":"スタイル","panelTitle":"スタイル","panelTitle1":"ブロックスタイル","panelTitle2":"インラインスタイル","panelTitle3":"オブジェクトスタイル"},"specialchar":{"options":"特殊文字オプション","title":"特殊文字の選択","toolbar":"特殊文字を挿入"},"sourcedialog":{"toolbar":"ソース","title":"ソース"},"sourcearea":{"toolbar":"ソース"},"showblocks":{"toolbar":"ブロック表示"},"removeformat":{"toolbar":"書式を解除"},"pastetext":{"button":"プレーンテキストとして貼り付け","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"プレーンテキストとして貼り付け"},"pastefromword":{"confirmCleanup":"貼り付けを行うテキストはワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?","error":"内部エラーにより貼り付けたデータをクリアできませんでした","title":"ワード文章から貼り付け","toolbar":"ワード文章から貼り付け"},"notification":{"closed":"通知を閉じました。"},"maximize":{"maximize":"最大化","minimize":"最小化"},"magicline":{"title":"ここに段落を挿入"},"list":{"bulletedlist":"番号無しリスト","numberedlist":"番号付きリスト"},"language":{"button":"言語を設定","remove":"言語を削除"},"indent":{"indent":"インデント","outdent":"インデント解除"},"image2":{"alt":"代替テキスト","btnUpload":"サーバーに送信","captioned":"キャプションを付ける","captionPlaceholder":"キャプション","infoTab":"画像情報","lockRatio":"比率を固定","menu":"画像のプロパティ","pathName":"image","pathNameCaption":"caption","resetSize":"サイズをリセット","resizer":"ドラッグしてリサイズ","title":"画像のプロパティ","uploadTab":"アップロード","urlMissing":"画像のURLを入力してください。","altMissing":"代替テキストを入力してください。"},"horizontalrule":{"toolbar":"水平線"},"format":{"label":"書式","panelTitle":"段落の書式","tag_address":"アドレス","tag_div":"標準 (DIV)","tag_h1":"見出し 1","tag_h2":"見出し 2","tag_h3":"見出し 3","tag_h4":"見出し 4","tag_h5":"見出し 5","tag_h6":"見出し 6","tag_p":"標準","tag_pre":"書式付き"},"filetools":{"loadError":"ファイルの読み込み中にエラーが発生しました。","networkError":"ファイルのアップロード中にネットワークエラーが発生しました。","httpError404":"ファイルのアップロード中にHTTPエラーが発生しました。(404: File not found)","httpError403":"ファイルのアップロード中にHTTPエラーが発生しました。(403: Forbidden)","httpError":"ファイルのアップロード中にHTTPエラーが発生しました。(error status: %1)","noUrlError":"アップロードURLが定義されていません。","responseError":"サーバーの応答が不正です。"},"elementspath":{"eleLabel":"要素パス","eleTitle":"%1 要素"},"contextmenu":{"options":"コンテキストメニューオプション"},"clipboard":{"copy":"コピー","copyError":"ブラウザーのセキュリティ設定によりエディタのコピー操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+C)を使用してください。","cut":"切り取り","cutError":"ブラウザーのセキュリティ設定によりエディタの切り取り操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+X)を使用してください。","paste":"貼り付け","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","pasteArea":"貼り付け場所","pasteMsg":"Paste your content inside the area below and press OK."},"blockquote":{"toolbar":"ブロック引用文"},"basicstyles":{"bold":"太字","italic":"斜体","strike":"打ち消し線","subscript":"下付き","superscript":"上付き","underline":"下線"},"about":{"copy":"Copyright © $1. All rights reserved.","dlgTitle":"CKEditorについて","moreInfo":"ライセンス情報の詳細はウェブサイトにて確認してください:"},"editor":"リッチテキストエディタ","editorPanel":"リッチテキストエディタパネル","common":{"editorHelp":"ヘルプは ALT 0 を押してください","browseServer":"サーバブラウザ","url":"URL","protocol":"プロトコル","upload":"アップロード","uploadSubmit":"サーバーに送信","image":"イメージ","flash":"Flash","form":"フォーム","checkbox":"チェックボックス","radio":"ラジオボタン","textField":"1行テキスト","textarea":"テキストエリア","hiddenField":"不可視フィールド","button":"ボタン","select":"選択フィールド","imageButton":"画像ボタン","notSet":"<なし>","id":"Id","name":"Name属性","langDir":"文字表記の方向","langDirLtr":"左から右 (LTR)","langDirRtl":"右から左 (RTL)","langCode":"言語コード","longDescr":"longdesc属性(長文説明)","cssClass":"スタイルシートクラス","advisoryTitle":"Title属性","cssStyle":"スタイルシート","ok":"OK","cancel":"キャンセル","close":"閉じる","preview":"プレビュー","resize":"ドラッグしてリサイズ","generalTab":"全般","advancedTab":"高度な設定","validateNumberFailed":"値が数値ではありません","confirmNewPage":"変更内容を保存せず、 新しいページを開いてもよろしいでしょうか?","confirmCancel":"オプション設定を変更しました。ダイアログを閉じてもよろしいでしょうか?","options":"オプション","target":"ターゲット","targetNew":"新しいウインドウ (_blank)","targetTop":"最上部ウィンドウ (_top)","targetSelf":"同じウィンドウ (_self)","targetParent":"親ウィンドウ (_parent)","langDirLTR":"左から右 (LTR)","langDirRTL":"右から左 (RTL)","styles":"スタイル","cssClasses":"スタイルシートクラス","width":"幅","height":"高さ","align":"行揃え","left":"左","right":"右","center":"中央","justify":"両端揃え","alignLeft":"左揃え","alignRight":"右揃え","alignCenter":"Align Center","alignTop":"上","alignMiddle":"中央","alignBottom":"下","alignNone":"なし","invalidValue":"不正な値です。","invalidHeight":"高さは数値で入力してください。","invalidWidth":"幅は数値で入力してください。","invalidLength":"Value specified for the \"%1\" field must be a positive number with or without a valid measurement unit (%2).","invalidCssLength":"入力された \"%1\" 項目の値は、CSSの大きさ(px, %, in, cm, mm, em, ex, pt, または pc)が正しいものである/ないに関わらず、正の値である必要があります。","invalidHtmlLength":"入力された \"%1\" 項目の値は、HTMLの大きさ(px または %)が正しいものである/ないに関わらず、正の値である必要があります。","invalidInlineStyle":"入力されたインラインスタイルの値は、\"名前 : 値\" のフォーマットのセットで、複数の場合はセミコロンで区切られている形式である必要があります。","cssLengthTooltip":"ピクセル数もしくはCSSにセットできる数値を入力してください。(px,%,in,cm,mm,em,ex,pt,or pc)","unavailable":"%1<span class=\"cke_accessibility\">, 利用不可能</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"キーボードショートカット","optionDefault":"Default"}}; \ No newline at end of file +CKEDITOR.lang['ja']={"widget":{"move":"ドラッグして移動","label":"%1 ウィジェット"},"undo":{"redo":"やり直す","undo":"元に戻す"},"toolbar":{"toolbarCollapse":"ツールバーを閉じる","toolbarExpand":"ツールバーを開く","toolbarGroups":{"document":"Document","clipboard":"Clipboard/Undo","editing":"Editing","forms":"Forms","basicstyles":"Basic Styles","paragraph":"Paragraph","links":"Links","insert":"Insert","styles":"Styles","colors":"Colors","tools":"Tools"},"toolbars":"編集ツールバー"},"table":{"border":"枠線の幅","caption":"キャプション","cell":{"menu":"セル","insertBefore":"セルを前に挿入","insertAfter":"セルを後に挿入","deleteCell":"セルを削除","merge":"セルを結合","mergeRight":"右に結合","mergeDown":"下に結合","splitHorizontal":"セルを水平方向に分割","splitVertical":"セルを垂直方向に分割","title":"セルのプロパティ","cellType":"セルの種類","rowSpan":"行の結合数","colSpan":"列の結合数","wordWrap":"単語の折り返し","hAlign":"水平方向の配置","vAlign":"垂直方向の配置","alignBaseline":"ベースライン","bgColor":"背景色","borderColor":"ボーダーカラー","data":"テーブルデータ (td)","header":"ヘッダ","yes":"はい","no":"いいえ","invalidWidth":"セル幅は数値で入力してください。","invalidHeight":"セル高さは数値で入力してください。","invalidRowSpan":"縦幅(行数)は数値で入力してください。","invalidColSpan":"横幅(列数)は数値で入力してください。","chooseColor":"色の選択"},"cellPad":"セル内間隔","cellSpace":"セル内余白","column":{"menu":"列","insertBefore":"列を左に挿入","insertAfter":"列を右に挿入","deleteColumn":"列を削除"},"columns":"列数","deleteTable":"表を削除","headers":"ヘッダ (th)","headersBoth":"両方","headersColumn":"最初の列のみ","headersNone":"なし","headersRow":"最初の行のみ","heightUnit":"height unit","invalidBorder":"枠線の幅は数値で入力してください。","invalidCellPadding":"セル内余白は数値で入力してください。","invalidCellSpacing":"セル間余白は数値で入力してください。","invalidCols":"列数は0より大きな数値を入力してください。","invalidHeight":"高さは数値で入力してください。","invalidRows":"行数は0より大きな数値を入力してください。","invalidWidth":"幅は数値で入力してください。","menu":"表のプロパティ","row":{"menu":"行","insertBefore":"行を上に挿入","insertAfter":"行を下に挿入","deleteRow":"行を削除"},"rows":"行数","summary":"表の概要","title":"表のプロパティ","toolbar":"表","widthPc":"パーセント","widthPx":"ピクセル","widthUnit":"幅の単位"},"stylescombo":{"label":"スタイル","panelTitle":"スタイル","panelTitle1":"ブロックスタイル","panelTitle2":"インラインスタイル","panelTitle3":"オブジェクトスタイル"},"specialchar":{"options":"特殊文字オプション","title":"特殊文字の選択","toolbar":"特殊文字を挿入"},"sourcedialog":{"toolbar":"ソース","title":"ソース"},"sourcearea":{"toolbar":"ソース"},"showblocks":{"toolbar":"ブロック表示"},"removeformat":{"toolbar":"書式を解除"},"pastetext":{"button":"プレーンテキストとして貼り付け","pasteNotification":"%1 を押して貼り付けます。 ブラウザは、ツールバーボタンまたはコンテキストメニューオプションを使用した貼り付けをサポートしていません。","title":"プレーンテキストとして貼り付け"},"pastefromword":{"confirmCleanup":"貼り付けを行うテキストはワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?","error":"内部エラーにより貼り付けたデータをクリアできませんでした","title":"ワード文章から貼り付け","toolbar":"ワード文章から貼り付け"},"notification":{"closed":"通知を閉じました。"},"maximize":{"maximize":"最大化","minimize":"最小化"},"magicline":{"title":"ここに段落を挿入"},"list":{"bulletedlist":"番号無しリスト","numberedlist":"番号付きリスト"},"language":{"button":"言語を設定","remove":"言語を削除"},"indent":{"indent":"インデント","outdent":"インデント解除"},"image2":{"alt":"代替テキスト","btnUpload":"サーバーに送信","captioned":"キャプションを付ける","captionPlaceholder":"キャプション","infoTab":"画像情報","lockRatio":"比率を固定","menu":"画像のプロパティ","pathName":"image","pathNameCaption":"caption","resetSize":"サイズをリセット","resizer":"ドラッグしてリサイズ","title":"画像のプロパティ","uploadTab":"アップロード","urlMissing":"画像のURLを入力してください。","altMissing":"代替テキストを入力してください。"},"horizontalrule":{"toolbar":"水平線"},"format":{"label":"書式","panelTitle":"段落の書式","tag_address":"アドレス","tag_div":"標準 (DIV)","tag_h1":"見出し 1","tag_h2":"見出し 2","tag_h3":"見出し 3","tag_h4":"見出し 4","tag_h5":"見出し 5","tag_h6":"見出し 6","tag_p":"標準","tag_pre":"書式付き"},"filetools":{"loadError":"ファイルの読み込み中にエラーが発生しました。","networkError":"ファイルのアップロード中にネットワークエラーが発生しました。","httpError404":"ファイルのアップロード中にHTTPエラーが発生しました。(404: File not found)","httpError403":"ファイルのアップロード中にHTTPエラーが発生しました。(403: Forbidden)","httpError":"ファイルのアップロード中にHTTPエラーが発生しました。(error status: %1)","noUrlError":"アップロードURLが定義されていません。","responseError":"サーバーの応答が不正です。"},"elementspath":{"eleLabel":"要素パス","eleTitle":"%1 要素"},"contextmenu":{"options":"コンテキストメニューオプション"},"clipboard":{"copy":"コピー","copyError":"ブラウザーのセキュリティ設定によりエディタのコピー操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+C)を使用してください。","cut":"切り取り","cutError":"ブラウザーのセキュリティ設定によりエディタの切り取り操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+X)を使用してください。","paste":"貼り付け","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","pasteArea":"貼り付け場所","pasteMsg":"Paste your content inside the area below and press OK."},"blockquote":{"toolbar":"ブロック引用文"},"basicstyles":{"bold":"太字","italic":"斜体","strike":"打ち消し線","subscript":"下付き","superscript":"上付き","underline":"下線"},"about":{"copy":"Copyright © $1. All rights reserved.","dlgTitle":"CKEditorについて","moreInfo":"ライセンス情報の詳細はウェブサイトにて確認してください:"},"editor":"リッチテキストエディタ","editorPanel":"リッチテキストエディタパネル","common":{"editorHelp":"ヘルプは ALT 0 を押してください","browseServer":"サーバブラウザ","url":"URL","protocol":"プロトコル","upload":"アップロード","uploadSubmit":"サーバーに送信","image":"イメージ","flash":"Flash","form":"フォーム","checkbox":"チェックボックス","radio":"ラジオボタン","textField":"1行テキスト","textarea":"テキストエリア","hiddenField":"不可視フィールド","button":"ボタン","select":"選択フィールド","imageButton":"画像ボタン","notSet":"<なし>","id":"Id","name":"Name属性","langDir":"文字表記の方向","langDirLtr":"左から右 (LTR)","langDirRtl":"右から左 (RTL)","langCode":"言語コード","longDescr":"longdesc属性(長文説明)","cssClass":"スタイルシートクラス","advisoryTitle":"Title属性","cssStyle":"スタイルシート","ok":"OK","cancel":"キャンセル","close":"閉じる","preview":"プレビュー","resize":"ドラッグしてリサイズ","generalTab":"全般","advancedTab":"高度な設定","validateNumberFailed":"値が数値ではありません","confirmNewPage":"変更内容を保存せず、 新しいページを開いてもよろしいでしょうか?","confirmCancel":"オプション設定を変更しました。ダイアログを閉じてもよろしいでしょうか?","options":"オプション","target":"ターゲット","targetNew":"新しいウインドウ (_blank)","targetTop":"最上部ウィンドウ (_top)","targetSelf":"同じウィンドウ (_self)","targetParent":"親ウィンドウ (_parent)","langDirLTR":"左から右 (LTR)","langDirRTL":"右から左 (RTL)","styles":"スタイル","cssClasses":"スタイルシートクラス","width":"幅","height":"高さ","align":"行揃え","left":"左","right":"右","center":"中央","justify":"両端揃え","alignLeft":"左揃え","alignRight":"右揃え","alignCenter":"Align Center","alignTop":"上","alignMiddle":"中央","alignBottom":"下","alignNone":"なし","invalidValue":"不正な値です。","invalidHeight":"高さは数値で入力してください。","invalidWidth":"幅は数値で入力してください。","invalidLength":"Value specified for the \"%1\" field must be a positive number with or without a valid measurement unit (%2).","invalidCssLength":"入力された \"%1\" 項目の値は、CSSの大きさ(px, %, in, cm, mm, em, ex, pt, または pc)が正しいものである/ないに関わらず、正の値である必要があります。","invalidHtmlLength":"入力された \"%1\" 項目の値は、HTMLの大きさ(px または %)が正しいものである/ないに関わらず、正の値である必要があります。","invalidInlineStyle":"入力されたインラインスタイルの値は、\"名前 : 値\" のフォーマットのセットで、複数の場合はセミコロンで区切られている形式である必要があります。","cssLengthTooltip":"ピクセル数もしくはCSSにセットできる数値を入力してください。(px,%,in,cm,mm,em,ex,pt,or pc)","unavailable":"%1<span class=\"cke_accessibility\">, 利用不可能</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"キーボードショートカット","optionDefault":"Default"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/ku.js b/web/core/assets/vendor/ckeditor/lang/ku.js index 0aeb35ddc050d7f9e59f2ce16ddbbba18a82c0ac..0ad94496e00d5ad989b343dad5ebf6d74be11879 100644 --- a/web/core/assets/vendor/ckeditor/lang/ku.js +++ b/web/core/assets/vendor/ckeditor/lang/ku.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['ku']={"widget":{"move":"کرتەبکە و ڕایبکێشە بۆ جوڵاندن","label":"%1 ویجێت"},"undo":{"redo":"هەڵگەڕاندنەوە","undo":"پووچکردنەوە"},"toolbar":{"toolbarCollapse":"شاردنەوی هێڵی تووڵامراز","toolbarExpand":"نیشاندانی هێڵی تووڵامراز","toolbarGroups":{"document":"پەڕه","clipboard":"بڕین/پووچکردنەوە","editing":"چاکسازی","forms":"داڕشتە","basicstyles":"شێوازی بنچینەیی","paragraph":"بڕگە","links":"بەستەر","insert":"خستنە ناو","styles":"شێواز","colors":"ڕەنگەکان","tools":"ئامرازەکان"},"toolbars":"تووڵامرازی دەسکاریکەر"},"table":{"border":"گەورەیی پەراوێز","caption":"سەردێڕ","cell":{"menu":"خانه","insertBefore":"دانانی خانه لەپێش","insertAfter":"دانانی خانه لەپاش","deleteCell":"سڕینەوەی خانه","merge":"تێکەڵکردنی خانە","mergeRight":"تێکەڵکردنی لەگەڵ ڕاست","mergeDown":"تێکەڵکردنی لەگەڵ خوارەوە","splitHorizontal":"دابەشکردنی خانەی ئاسۆیی","splitVertical":"دابەشکردنی خانەی ئەستونی","title":"خاسیەتی خانه","cellType":"جۆری خانه","rowSpan":"ماوەی نێوان ڕیز","colSpan":"بستی ئەستونی","wordWrap":"پێچانەوەی وشە","hAlign":"ڕیزکردنی ئاسۆیی","vAlign":"ڕیزکردنی ئەستونی","alignBaseline":"هێڵەبنەڕەت","bgColor":"ڕەنگی پاشبنەما","borderColor":"ڕەنگی پەراوێز","data":"داتا","header":"سەرپەڕه","yes":"بەڵێ","no":"نەخێر","invalidWidth":"پانی خانه دەبێت بەتەواوی ژماره بێت.","invalidHeight":"درێژی خانه بەتەواوی دەبێت ژمارە بێت.","invalidRowSpan":"ماوەی نێوان ڕیز بەتەواوی دەبێت ژمارە بێت.","invalidColSpan":"ماوەی نێوان ئەستونی بەتەواوی دەبێت ژمارە بێت.","chooseColor":"هەڵبژێرە"},"cellPad":"بۆشایی ناوپۆش","cellSpace":"بۆشایی خانه","column":{"menu":"ئەستون","insertBefore":"دانانی ئەستون لەپێش","insertAfter":"دانانی ئەستوون لەپاش","deleteColumn":"سڕینەوەی ئەستوون"},"columns":"ستوونەکان","deleteTable":"سڕینەوەی خشتە","headers":"سەرپەڕه","headersBoth":"هەردووك","headersColumn":"یەکەم ئەستوون","headersNone":"هیچ","headersRow":"یەکەم ڕیز","heightUnit":"height unit","invalidBorder":"ژمارەی پەراوێز دەبێت تەنها ژماره بێت.","invalidCellPadding":"ناوپۆشی خانه دەبێت ژمارەکی درووست بێت.","invalidCellSpacing":"بۆشایی خانه دەبێت ژمارەکی درووست بێت.","invalidCols":"ژمارەی ئەستوونی دەبێت گەورەتر بێت لەژمارەی 0.","invalidHeight":"درێژی خشته دهبێت تهنها ژماره بێت.","invalidRows":"ژمارەی ڕیز دەبێت گەورەتر بێت لەژمارەی 0.","invalidWidth":"پانی خشته دەبێت تەنها ژماره بێت.","menu":"خاسیەتی خشتە","row":{"menu":"ڕیز","insertBefore":"دانانی ڕیز لەپێش","insertAfter":"دانانی ڕیز لەپاش","deleteRow":"سڕینەوەی ڕیز"},"rows":"ڕیز","summary":"کورتە","title":"خاسیەتی خشتە","toolbar":"خشتە","widthPc":"لەسەدا","widthPx":"وێنەخاڵ - پیکسل","widthUnit":"پانی یەکە"},"stylescombo":{"label":"شێواز","panelTitle":"شێوازی ڕازاندنەوە","panelTitle1":"شێوازی خشت","panelTitle2":"شێوازی ناوهێڵ","panelTitle3":"شێوازی بەرکار"},"specialchar":{"options":"هەڵبژاردەی نووسەی تایبەتی","title":"هەڵبژاردنی نووسەی تایبەتی","toolbar":"دانانی نووسەی تایبەتی"},"sourcedialog":{"toolbar":"سەرچاوە","title":"سەرچاوە"},"sourcearea":{"toolbar":"سەرچاوە"},"showblocks":{"toolbar":"نیشاندانی بەربەستەکان"},"removeformat":{"toolbar":"لابردنی داڕشتەکە"},"pastetext":{"button":"لکاندنی وەك دەقی ڕوون","pasteNotification":"کلیک بکە لەسەر %1 بۆ لکاندنی. وێبگەڕەکەت پشتیوانی لکاندن ناکات بە دوگمەی تولامراز یان ئامرازی ناوەڕۆکی لیستە - کلیکی دەستی ڕاست","title":"لکاندنی وەك دەقی ڕوون"},"pastefromword":{"confirmCleanup":"ئەم دەقەی بەتەمای بیلکێنی پێدەچێت له word هێنرابێت. دەتەوێت پاکی بکەیوه پێش ئەوەی بیلکێنی؟","error":"هیچ ڕێگەیەك نەبوو لەلکاندنی دەقەکه بەهۆی هەڵەیەکی ناوەخۆیی","title":"لکاندنی لەلایەن Word","toolbar":"لکاندنی لەڕێی Word"},"notification":{"closed":"ئاگادارکەرەوەکە داخرا."},"maximize":{"maximize":"ئەوپەڕی گەورەیی","minimize":"ئەوپەڕی بچووکی"},"magicline":{"title":"بڕگە لێرە دابنێ"},"list":{"bulletedlist":"دانان/لابردنی خاڵی لیست","numberedlist":"دانان/لابردنی ژمارەی لیست"},"language":{"button":"جێگیرکردنی زمان","remove":"لابردنی زمان"},"indent":{"indent":"زیادکردنی بۆشایی","outdent":"کەمکردنەوەی بۆشایی"},"image2":{"alt":"جێگرەوەی دەق","btnUpload":"ناردنی بۆ ڕاژه","captioned":"وێنەی بەسەردێر","captionPlaceholder":"سەردێر","infoTab":"زانیاری وێنه","lockRatio":"داخستنی ڕێژه","menu":"خاسیەتی وێنه","pathName":"وێنە","pathNameCaption":"سەردێر","resetSize":"ڕێکخستنەوەی قەباره","resizer":"کرتەبکە و ڕایبکێشە بۆ قەبارە گۆڕین","title":"خاسیەتی وێنه","uploadTab":"بارکردن","urlMissing":"سەرچاوەی بەستەری وێنه بزره","altMissing":"جێگرەوەی دەق لەدەست چووە."},"horizontalrule":{"toolbar":"دانانی هێلی ئاسۆیی"},"format":{"label":"ڕازاندنەوە","panelTitle":"بەشی ڕازاندنەوه","tag_address":"ناونیشان","tag_div":"(DIV)-ی ئاسایی","tag_h1":"سەرنووسەی ١","tag_h2":"سەرنووسەی ٢","tag_h3":"سەرنووسەی ٣","tag_h4":"سەرنووسەی ٤","tag_h5":"سەرنووسەی ٥","tag_h6":"سەرنووسەی ٦","tag_p":"ئاسایی","tag_pre":"شێوازکراو"},"filetools":{"loadError":"هەڵەیەک ڕوویدا لە ماوەی خوێندنەوەی پەڕگەکە.","networkError":"هەڵەیەکی ڕایەڵە ڕوویدا لە ماوەی بارکردنی پەڕگەکە.","httpError404":"هەڵەیەک ڕوویدا لە ماوەی بارکردنی پەڕگەکە (404: پەڕگەکە نەدۆزراوە).","httpError403":"هەڵەیەک ڕوویدا لە ماوەی بارکردنی پەڕگەکە (403: قەدەغەکراو).","httpError":"هەڵەیەک ڕوویدا لە ماوەی بارکردنی پەڕگەکە (دۆخی هەڵە: %1).","noUrlError":"بەستەری پەڕگەکە پێناسە نەکراوە.","responseError":"وەڵامێکی نادروستی سێرڤەر."},"elementspath":{"eleLabel":"ڕێڕەوی توخمەکان","eleTitle":"%1 توخم"},"contextmenu":{"options":"هەڵبژاردەی لیستەی کلیکی دەستی ڕاست"},"clipboard":{"copy":"لەبەرگرتنەوە","copyError":"پارێزی وێبگەڕەکەت ڕێگەنادات بەسەرنووسەکە لە لکاندنی دەقی خۆکارارنە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+C).","cut":"بڕین","cutError":"پارێزی وێبگەڕەکەت ڕێگەنادات بە سەرنووسەکە لەبڕینی خۆکارانە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+X).","paste":"لکاندن","pasteNotification":"کلیک بکە لەسەر %1 بۆ لکاندنی. وێبگەڕەکەت پشتیوانی لکاندن ناکات بە دوگمەی تولامراز یان ئامرازی ناوەڕۆکی لیستە - کلیکی دەستی ڕاست. ","pasteArea":"ناوچەی لکاندن","pasteMsg":"ناوەڕۆکەکەت لەم پانتایی خوارەوە بلکێنە"},"blockquote":{"toolbar":"بەربەستکردنی ووتەی وەرگیراو"},"basicstyles":{"bold":"قەڵەو","italic":"لار","strike":"لێدان","subscript":"ژێرنووس","superscript":"سەرنووس","underline":"ژێرهێڵ"},"about":{"copy":"مافی لەبەرگەرتنەوەی © $1. گشتی پارێزراوه. ورگێڕانی بۆ کوردی لەلایەن هۆژە کۆیی.","dlgTitle":"دەربارەی CKEditor 4","moreInfo":"بۆ زانیاری زیاتر دەربارەی مۆڵەتی بەکارهێنان، تکایه سەردانی ماڵپەڕەکەمان بکه:"},"editor":"سەرنووسەی دەقی تەواو","editorPanel":"بڕگەی سەرنووسەی دەقی تەواو","common":{"editorHelp":"کلیکی ALT لەگەڵ 0 بکه بۆ یارمەتی","browseServer":"هێنانی ڕاژە","url":"ناونیشانی بەستەر","protocol":"پڕۆتۆکۆڵ","upload":"بارکردن","uploadSubmit":"ناردنی بۆ ڕاژە","image":"وێنە","flash":"فلاش","form":"داڕشتە","checkbox":"خانەی نیشانکردن","radio":"جێگرەوەی دوگمە","textField":"خانەی دەق","textarea":"ڕووبەری دەق","hiddenField":"شاردنەوی خانە","button":"دوگمە","select":"هەڵبژاردەی خانە","imageButton":"دوگمەی وێنە","notSet":"<هیچ دانەدراوە>","id":"ناسنامە","name":"ناو","langDir":"ئاراستەی زمان","langDirLtr":"چەپ بۆ ڕاست (LTR)","langDirRtl":"ڕاست بۆ چەپ (RTL)","langCode":"هێمای زمان","longDescr":"پێناسەی درێژی بەستەر","cssClass":"شێوازی چینی پهڕە","advisoryTitle":"ڕاوێژکاری سەردێڕ","cssStyle":"شێواز","ok":"باشە","cancel":"پاشگەزبوونەوە","close":"داخستن","preview":"پێشبینین","resize":"گۆڕینی ئەندازە","generalTab":"گشتی","advancedTab":"پەرەسەندوو","validateNumberFailed":"ئەم نرخە ژمارە نیە، تکایە نرخێکی ژمارە بنووسە.","confirmNewPage":"سەرجەم گۆڕانکاریەکان و پێکهاتەکانی ناووەوە لەدەست دەدەی گەر بێتوو پاشکەوتی نەکەی یەکەم جار، تۆ هەر دڵنیایی لەکردنەوەی پەنجەرەکی نوێ؟","confirmCancel":"هەندێك هەڵبژاردە گۆڕدراوە. تۆ دڵنیایی لە داخستنی ئەم دیالۆگە؟","options":"هەڵبژاردەکان","target":"ئامانج","targetNew":"پەنجەرەیەکی نوێ (_blank)","targetTop":"لووتکەی پەنجەرە (_top)","targetSelf":"لەهەمان پەنجەرە (_self)","targetParent":"پەنجەرەی باوان (_parent)","langDirLTR":"چەپ بۆ ڕاست (LTR)","langDirRTL":"ڕاست بۆ چەپ (RTL)","styles":"شێواز","cssClasses":"شێوازی چینی پەڕە","width":"پانی","height":"درێژی","align":"ڕێککەرەوە","left":"چەپ","right":"ڕاست","center":"ناوەڕاست","justify":"هاوستوونی","alignLeft":"بەهێڵ کردنی چەپ","alignRight":"بەهێڵ کردنی ڕاست","alignCenter":"بەهێڵ کردنی ناوەڕاست","alignTop":"سەرەوە","alignMiddle":"ناوەند","alignBottom":"ژێرەوە","alignNone":"هیچ","invalidValue":"نرخێکی نادرووست.","invalidHeight":"درێژی دەبێت ژمارە بێت.","invalidWidth":"پانی دەبێت ژمارە بێت.","invalidLength":"ئەم نرخەی دراوە بۆ خانەی \"%1\" دەبێت ژمارەکی درووست لەگەڵ بێت یان بە بێ پێوانەی یەکەی ( %2)","invalidCssLength":"ئەم نرخەی دراوە بۆ خانەی \"%1\" دەبێت ژمارەکی درووست بێت یان بێ ناونیشانی ئامرازی (px, %, in, cm, mm, em, ex, pt, یان pc).","invalidHtmlLength":"ئەم نرخەی دراوە بۆ خانەی \"%1\" دەبێت ژمارەکی درووست بێت یان بێ ناونیشانی ئامرازی HTML (px یان %).","invalidInlineStyle":"دانەی نرخی شێوازی ناوهێڵ دەبێت پێکهاتبێت لەیەك یان زیاتری داڕشتە \"ناو : نرخ\", جیاکردنەوەی بە فاریزە و خاڵ","cssLengthTooltip":"ژمارەیەك بنووسه بۆ نرخی piksel یان ئامرازێکی درووستی CSS (px, %, in, cm, mm, em, ex, pt, یان pc).","unavailable":"%1<span class=\"cke_accessibility\">, ئامادە نیە</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"فەرمان"},"keyboardShortcut":"کورتبڕی تەختەکلیل","optionDefault":"هەمیشەیی"}}; \ No newline at end of file +CKEDITOR.lang['ku']={"widget":{"move":"کرتەبکە و ڕایبکێشە بۆ جوڵاندن","label":"%1 ویجێت"},"undo":{"redo":"هەڵگەڕاندنەوە","undo":"پووچکردنەوە"},"toolbar":{"toolbarCollapse":"شاردنەوی هێڵی تووڵامراز","toolbarExpand":"نیشاندانی هێڵی تووڵامراز","toolbarGroups":{"document":"پەڕه","clipboard":"بڕین/پووچکردنەوە","editing":"چاکسازی","forms":"داڕشتە","basicstyles":"شێوازی بنچینەیی","paragraph":"بڕگە","links":"بەستەر","insert":"خستنە ناو","styles":"شێواز","colors":"ڕەنگەکان","tools":"ئامرازەکان"},"toolbars":"تووڵامرازی دەسکاریکەر"},"table":{"border":"گەورەیی پەراوێز","caption":"سەردێڕ","cell":{"menu":"خانه","insertBefore":"دانانی خانه لەپێش","insertAfter":"دانانی خانه لەپاش","deleteCell":"سڕینەوەی خانه","merge":"تێکەڵکردنی خانە","mergeRight":"تێکەڵکردنی لەگەڵ ڕاست","mergeDown":"تێکەڵکردنی لەگەڵ خوارەوە","splitHorizontal":"دابەشکردنی خانەی ئاسۆیی","splitVertical":"دابەشکردنی خانەی ئەستونی","title":"خاسیەتی خانه","cellType":"جۆری خانه","rowSpan":"ماوەی نێوان ڕیز","colSpan":"بستی ئەستونی","wordWrap":"پێچانەوەی وشە","hAlign":"ڕیزکردنی ئاسۆیی","vAlign":"ڕیزکردنی ئەستونی","alignBaseline":"هێڵەبنەڕەت","bgColor":"ڕەنگی پاشبنەما","borderColor":"ڕەنگی پەراوێز","data":"داتا","header":"سەرپەڕه","yes":"بەڵێ","no":"نەخێر","invalidWidth":"پانی خانه دەبێت بەتەواوی ژماره بێت.","invalidHeight":"درێژی خانه بەتەواوی دەبێت ژمارە بێت.","invalidRowSpan":"ماوەی نێوان ڕیز بەتەواوی دەبێت ژمارە بێت.","invalidColSpan":"ماوەی نێوان ئەستونی بەتەواوی دەبێت ژمارە بێت.","chooseColor":"هەڵبژێرە"},"cellPad":"بۆشایی ناوپۆش","cellSpace":"بۆشایی خانه","column":{"menu":"ئەستون","insertBefore":"دانانی ئەستون لەپێش","insertAfter":"دانانی ئەستوون لەپاش","deleteColumn":"سڕینەوەی ئەستوون"},"columns":"ستوونەکان","deleteTable":"سڕینەوەی خشتە","headers":"سەرپەڕه","headersBoth":"هەردووك","headersColumn":"یەکەم ئەستوون","headersNone":"هیچ","headersRow":"یەکەم ڕیز","heightUnit":"یەکەی بەرز","invalidBorder":"ژمارەی پەراوێز دەبێت تەنها ژماره بێت.","invalidCellPadding":"ناوپۆشی خانه دەبێت ژمارەکی درووست بێت.","invalidCellSpacing":"بۆشایی خانه دەبێت ژمارەکی درووست بێت.","invalidCols":"ژمارەی ئەستوونی دەبێت گەورەتر بێت لەژمارەی 0.","invalidHeight":"درێژی خشته دهبێت تهنها ژماره بێت.","invalidRows":"ژمارەی ڕیز دەبێت گەورەتر بێت لەژمارەی 0.","invalidWidth":"پانی خشته دەبێت تەنها ژماره بێت.","menu":"خاسیەتی خشتە","row":{"menu":"ڕیز","insertBefore":"دانانی ڕیز لەپێش","insertAfter":"دانانی ڕیز لەپاش","deleteRow":"سڕینەوەی ڕیز"},"rows":"ڕیز","summary":"کورتە","title":"خاسیەتی خشتە","toolbar":"خشتە","widthPc":"لەسەدا","widthPx":"وێنەخاڵ - پیکسل","widthUnit":"پانی یەکە"},"stylescombo":{"label":"شێواز","panelTitle":"شێوازی ڕازاندنەوە","panelTitle1":"شێوازی خشت","panelTitle2":"شێوازی ناوهێڵ","panelTitle3":"شێوازی بەرکار"},"specialchar":{"options":"هەڵبژاردەی نووسەی تایبەتی","title":"هەڵبژاردنی نووسەی تایبەتی","toolbar":"دانانی نووسەی تایبەتی"},"sourcedialog":{"toolbar":"سەرچاوە","title":"سەرچاوە"},"sourcearea":{"toolbar":"سەرچاوە"},"showblocks":{"toolbar":"نیشاندانی بەربەستەکان"},"removeformat":{"toolbar":"لابردنی داڕشتەکە"},"pastetext":{"button":"لکاندنی وەك دەقی ڕوون","pasteNotification":"کلیک بکە لەسەر %1 بۆ لکاندنی. وێبگەڕەکەت پشتیوانی لکاندن ناکات بە دوگمەی تولامراز یان ئامرازی ناوەڕۆکی لیستە - کلیکی دەستی ڕاست","title":"لکاندنی وەك دەقی ڕوون"},"pastefromword":{"confirmCleanup":"ئەم دەقەی بەتەمای بیلکێنی پێدەچێت له word هێنرابێت. دەتەوێت پاکی بکەیوه پێش ئەوەی بیلکێنی؟","error":"هیچ ڕێگەیەك نەبوو لەلکاندنی دەقەکه بەهۆی هەڵەیەکی ناوەخۆیی","title":"لکاندنی لەلایەن Word","toolbar":"لکاندنی لەڕێی Word"},"notification":{"closed":"ئاگادارکەرەوەکە داخرا."},"maximize":{"maximize":"ئەوپەڕی گەورەیی","minimize":"ئەوپەڕی بچووکی"},"magicline":{"title":"بڕگە لێرە دابنێ"},"list":{"bulletedlist":"دانان/لابردنی خاڵی لیست","numberedlist":"دانان/لابردنی ژمارەی لیست"},"language":{"button":"جێگیرکردنی زمان","remove":"لابردنی زمان"},"indent":{"indent":"زیادکردنی بۆشایی","outdent":"کەمکردنەوەی بۆشایی"},"image2":{"alt":"جێگرەوەی دەق","btnUpload":"ناردنی بۆ ڕاژه","captioned":"وێنەی بەسەردێر","captionPlaceholder":"سەردێر","infoTab":"زانیاری وێنه","lockRatio":"داخستنی ڕێژه","menu":"خاسیەتی وێنه","pathName":"وێنە","pathNameCaption":"سەردێر","resetSize":"ڕێکخستنەوەی قەباره","resizer":"کرتەبکە و ڕایبکێشە بۆ قەبارە گۆڕین","title":"خاسیەتی وێنه","uploadTab":"بارکردن","urlMissing":"سەرچاوەی بەستەری وێنه بزره","altMissing":"جێگرەوەی دەق لەدەست چووە."},"horizontalrule":{"toolbar":"دانانی هێلی ئاسۆیی"},"format":{"label":"ڕازاندنەوە","panelTitle":"بەشی ڕازاندنەوه","tag_address":"ناونیشان","tag_div":"(DIV)-ی ئاسایی","tag_h1":"سەرنووسەی ١","tag_h2":"سەرنووسەی ٢","tag_h3":"سەرنووسەی ٣","tag_h4":"سەرنووسەی ٤","tag_h5":"سەرنووسەی ٥","tag_h6":"سەرنووسەی ٦","tag_p":"ئاسایی","tag_pre":"شێوازکراو"},"filetools":{"loadError":"هەڵەیەک ڕوویدا لە ماوەی خوێندنەوەی پەڕگەکە.","networkError":"هەڵەیەکی ڕایەڵە ڕوویدا لە ماوەی بارکردنی پەڕگەکە.","httpError404":"هەڵەیەک ڕوویدا لە ماوەی بارکردنی پەڕگەکە (404: پەڕگەکە نەدۆزراوە).","httpError403":"هەڵەیەک ڕوویدا لە ماوەی بارکردنی پەڕگەکە (403: قەدەغەکراو).","httpError":"هەڵەیەک ڕوویدا لە ماوەی بارکردنی پەڕگەکە (دۆخی هەڵە: %1).","noUrlError":"بەستەری پەڕگەکە پێناسە نەکراوە.","responseError":"وەڵامێکی نادروستی سێرڤەر."},"elementspath":{"eleLabel":"ڕێڕەوی توخمەکان","eleTitle":"%1 توخم"},"contextmenu":{"options":"هەڵبژاردەی لیستەی کلیکی دەستی ڕاست"},"clipboard":{"copy":"لەبەرگرتنەوە","copyError":"پارێزی وێبگەڕەکەت ڕێگەنادات بەسەرنووسەکە لە لکاندنی دەقی خۆکارارنە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+C).","cut":"بڕین","cutError":"پارێزی وێبگەڕەکەت ڕێگەنادات بە سەرنووسەکە لەبڕینی خۆکارانە. تکایە لەبری ئەمە ئەم فەرمانە بەکاربهێنە بەداگرتنی کلیلی (Ctrl/Cmd+X).","paste":"لکاندن","pasteNotification":"کلیک بکە لەسەر %1 بۆ لکاندنی. وێبگەڕەکەت پشتیوانی لکاندن ناکات بە دوگمەی تولامراز یان ئامرازی ناوەڕۆکی لیستە - کلیکی دەستی ڕاست. ","pasteArea":"ناوچەی لکاندن","pasteMsg":"ناوەڕۆکەکەت لەم پانتایی خوارەوە بلکێنە"},"blockquote":{"toolbar":"بەربەستکردنی ووتەی وەرگیراو"},"basicstyles":{"bold":"قەڵەو","italic":"لار","strike":"لێدان","subscript":"ژێرنووس","superscript":"سەرنووس","underline":"ژێرهێڵ"},"about":{"copy":"مافی لەبەرگەرتنەوەی © $1. گشتی پارێزراوه. ورگێڕانی بۆ کوردی لەلایەن هۆژە کۆیی.","dlgTitle":"دەربارەی CKEditor 4","moreInfo":"بۆ زانیاری زیاتر دەربارەی مۆڵەتی بەکارهێنان، تکایه سەردانی ماڵپەڕەکەمان بکه:"},"editor":"سەرنووسەی دەقی تەواو","editorPanel":"بڕگەی سەرنووسەی دەقی تەواو","common":{"editorHelp":"کلیکی ALT لەگەڵ 0 بکه بۆ یارمەتی","browseServer":"هێنانی ڕاژە","url":"ناونیشانی بەستەر","protocol":"پڕۆتۆکۆڵ","upload":"بارکردن","uploadSubmit":"ناردنی بۆ ڕاژە","image":"وێنە","flash":"فلاش","form":"داڕشتە","checkbox":"خانەی نیشانکردن","radio":"جێگرەوەی دوگمە","textField":"خانەی دەق","textarea":"ڕووبەری دەق","hiddenField":"شاردنەوی خانە","button":"دوگمە","select":"هەڵبژاردەی خانە","imageButton":"دوگمەی وێنە","notSet":"<هیچ دانەدراوە>","id":"ناسنامە","name":"ناو","langDir":"ئاراستەی زمان","langDirLtr":"چەپ بۆ ڕاست (LTR)","langDirRtl":"ڕاست بۆ چەپ (RTL)","langCode":"هێمای زمان","longDescr":"پێناسەی درێژی بەستەر","cssClass":"شێوازی چینی پهڕە","advisoryTitle":"ڕاوێژکاری سەردێڕ","cssStyle":"شێواز","ok":"باشە","cancel":"پاشگەزبوونەوە","close":"داخستن","preview":"پێشبینین","resize":"گۆڕینی ئەندازە","generalTab":"گشتی","advancedTab":"پەرەسەندوو","validateNumberFailed":"ئەم نرخە ژمارە نیە، تکایە نرخێکی ژمارە بنووسە.","confirmNewPage":"سەرجەم گۆڕانکاریەکان و پێکهاتەکانی ناووەوە لەدەست دەدەی گەر بێتوو پاشکەوتی نەکەی یەکەم جار، تۆ هەر دڵنیایی لەکردنەوەی پەنجەرەکی نوێ؟","confirmCancel":"هەندێك هەڵبژاردە گۆڕدراوە. تۆ دڵنیایی لە داخستنی ئەم دیالۆگە؟","options":"هەڵبژاردەکان","target":"ئامانج","targetNew":"پەنجەرەیەکی نوێ (_blank)","targetTop":"لووتکەی پەنجەرە (_top)","targetSelf":"لەهەمان پەنجەرە (_self)","targetParent":"پەنجەرەی باوان (_parent)","langDirLTR":"چەپ بۆ ڕاست (LTR)","langDirRTL":"ڕاست بۆ چەپ (RTL)","styles":"شێواز","cssClasses":"شێوازی چینی پەڕە","width":"پانی","height":"درێژی","align":"ڕێککەرەوە","left":"چەپ","right":"ڕاست","center":"ناوەڕاست","justify":"هاوستوونی","alignLeft":"بەهێڵ کردنی چەپ","alignRight":"بەهێڵ کردنی ڕاست","alignCenter":"بەهێڵ کردنی ناوەڕاست","alignTop":"سەرەوە","alignMiddle":"ناوەند","alignBottom":"ژێرەوە","alignNone":"هیچ","invalidValue":"نرخێکی نادرووست.","invalidHeight":"درێژی دەبێت ژمارە بێت.","invalidWidth":"پانی دەبێت ژمارە بێت.","invalidLength":"ئەم نرخەی دراوە بۆ خانەی \"%1\" دەبێت ژمارەکی درووست لەگەڵ بێت یان بە بێ پێوانەی یەکەی ( %2)","invalidCssLength":"ئەم نرخەی دراوە بۆ خانەی \"%1\" دەبێت ژمارەکی درووست بێت یان بێ ناونیشانی ئامرازی (px, %, in, cm, mm, em, ex, pt, یان pc).","invalidHtmlLength":"ئەم نرخەی دراوە بۆ خانەی \"%1\" دەبێت ژمارەکی درووست بێت یان بێ ناونیشانی ئامرازی HTML (px یان %).","invalidInlineStyle":"دانەی نرخی شێوازی ناوهێڵ دەبێت پێکهاتبێت لەیەك یان زیاتری داڕشتە \"ناو : نرخ\", جیاکردنەوەی بە فاریزە و خاڵ","cssLengthTooltip":"ژمارەیەك بنووسه بۆ نرخی piksel یان ئامرازێکی درووستی CSS (px, %, in, cm, mm, em, ex, pt, یان pc).","unavailable":"%1<span class=\"cke_accessibility\">, ئامادە نیە</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"فەرمان"},"keyboardShortcut":"کورتبڕی تەختەکلیل","optionDefault":"هەمیشەیی"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/pl.js b/web/core/assets/vendor/ckeditor/lang/pl.js index 01a9c95001c19fbab5064fd3d748cd423ef5b8fa..f75eb05aa417eab734974fe76d0b62507de6794e 100644 --- a/web/core/assets/vendor/ckeditor/lang/pl.js +++ b/web/core/assets/vendor/ckeditor/lang/pl.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['pl']={"widget":{"move":"Kliknij i przeciągnij, by przenieść.","label":"Widget %1"},"undo":{"redo":"Ponów","undo":"Cofnij"},"toolbar":{"toolbarCollapse":"Zwiń pasek narzędzi","toolbarExpand":"Rozwiń pasek narzędzi","toolbarGroups":{"document":"Dokument","clipboard":"Schowek/Wstecz","editing":"Edycja","forms":"Formularze","basicstyles":"Style podstawowe","paragraph":"Akapit","links":"Hiperłącza","insert":"Wstawianie","styles":"Style","colors":"Kolory","tools":"Narzędzia"},"toolbars":"Paski narzędzi edytora"},"table":{"border":"Grubość obramowania","caption":"Tytuł","cell":{"menu":"Komórka","insertBefore":"Wstaw komórkę z lewej","insertAfter":"Wstaw komórkę z prawej","deleteCell":"Usuń komórki","merge":"Połącz komórki","mergeRight":"Połącz z komórką z prawej","mergeDown":"Połącz z komórką poniżej","splitHorizontal":"Podziel komórkę poziomo","splitVertical":"Podziel komórkę pionowo","title":"Właściwości komórki","cellType":"Typ komórki","rowSpan":"Scalenie wierszy","colSpan":"Scalenie komórek","wordWrap":"Zawijanie słów","hAlign":"Wyrównanie poziome","vAlign":"Wyrównanie pionowe","alignBaseline":"Linia bazowa","bgColor":"Kolor tła","borderColor":"Kolor obramowania","data":"Dane","header":"Nagłówek","yes":"Tak","no":"Nie","invalidWidth":"Szerokość komórki musi być liczbą.","invalidHeight":"Wysokość komórki musi być liczbą.","invalidRowSpan":"Scalenie wierszy musi być liczbą całkowitą.","invalidColSpan":"Scalenie komórek musi być liczbą całkowitą.","chooseColor":"Wybierz"},"cellPad":"Dopełnienie komórek","cellSpace":"Odstęp pomiędzy komórkami","column":{"menu":"Kolumna","insertBefore":"Wstaw kolumnę z lewej","insertAfter":"Wstaw kolumnę z prawej","deleteColumn":"Usuń kolumny"},"columns":"Liczba kolumn","deleteTable":"Usuń tabelę","headers":"Nagłówki","headersBoth":"Oba","headersColumn":"Pierwsza kolumna","headersNone":"Brak","headersRow":"Pierwszy wiersz","heightUnit":"height unit","invalidBorder":"Wartość obramowania musi być liczbą.","invalidCellPadding":"Dopełnienie komórek musi być liczbą dodatnią.","invalidCellSpacing":"Odstęp pomiędzy komórkami musi być liczbą dodatnią.","invalidCols":"Liczba kolumn musi być większa niż 0.","invalidHeight":"Wysokość tabeli musi być liczbą.","invalidRows":"Liczba wierszy musi być większa niż 0.","invalidWidth":"Szerokość tabeli musi być liczbą.","menu":"Właściwości tabeli","row":{"menu":"Wiersz","insertBefore":"Wstaw wiersz powyżej","insertAfter":"Wstaw wiersz poniżej","deleteRow":"Usuń wiersze"},"rows":"Liczba wierszy","summary":"Podsumowanie","title":"Właściwości tabeli","toolbar":"Tabela","widthPc":"%","widthPx":"piksele","widthUnit":"jednostka szerokości"},"stylescombo":{"label":"Styl","panelTitle":"Style formatujące","panelTitle1":"Style blokowe","panelTitle2":"Style liniowe","panelTitle3":"Style obiektowe"},"specialchar":{"options":"Opcje znaków specjalnych","title":"Wybierz znak specjalny","toolbar":"Wstaw znak specjalny"},"sourcedialog":{"toolbar":"Źródło dokumentu","title":"Źródło dokumentu"},"sourcearea":{"toolbar":"Źródło dokumentu"},"showblocks":{"toolbar":"Pokaż bloki"},"removeformat":{"toolbar":"Usuń formatowanie"},"pastetext":{"button":"Wklej jako czysty tekst","pasteNotification":"Naciśnij %1 by wkleić tekst. Twoja przeglądarka nie obsługuje wklejania za pomocą przycisku paska narzędzi lub opcji menu kontekstowego.","title":"Wklej jako czysty tekst"},"pastefromword":{"confirmCleanup":"Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wyczyścić przed wklejeniem?","error":"Wyczyszczenie wklejonych danych nie było możliwe z powodu wystąpienia błędu.","title":"Wklej z programu MS Word","toolbar":"Wklej z programu MS Word"},"notification":{"closed":"Powiadomienie zostało zamknięte."},"maximize":{"maximize":"Maksymalizuj","minimize":"Minimalizuj"},"magicline":{"title":"Wstaw nowy akapit"},"list":{"bulletedlist":"Lista wypunktowana","numberedlist":"Lista numerowana"},"language":{"button":"Ustaw język","remove":"Usuń język"},"indent":{"indent":"Zwiększ wcięcie","outdent":"Zmniejsz wcięcie"},"image2":{"alt":"Tekst zastępczy","btnUpload":"Wyślij","captioned":"Obrazek z podpisem","captionPlaceholder":"Podpis","infoTab":"Informacje o obrazku","lockRatio":"Zablokuj proporcje","menu":"Właściwości obrazka","pathName":"obrazek","pathNameCaption":"podpis","resetSize":"Przywróć rozmiar","resizer":"Kliknij i przeciągnij, by zmienić rozmiar.","title":"Właściwości obrazka","uploadTab":"Wyślij","urlMissing":"Podaj adres URL obrazka.","altMissing":"Podaj tekst zastępczy obrazka."},"horizontalrule":{"toolbar":"Wstaw poziomą linię"},"format":{"label":"Format","panelTitle":"Format","tag_address":"Adres","tag_div":"Normalny (DIV)","tag_h1":"Nagłówek 1","tag_h2":"Nagłówek 2","tag_h3":"Nagłówek 3","tag_h4":"Nagłówek 4","tag_h5":"Nagłówek 5","tag_h6":"Nagłówek 6","tag_p":"Normalny","tag_pre":"Tekst sformatowany"},"filetools":{"loadError":"Błąd podczas odczytu pliku.","networkError":"W trakcie wysyłania pliku pojawił się błąd sieciowy.","httpError404":"Błąd HTTP w trakcie wysyłania pliku (404: Nie znaleziono pliku).","httpError403":"Błąd HTTP w trakcie wysyłania pliku (403: Zabroniony).","httpError":"Błąd HTTP w trakcie wysyłania pliku (status błędu: %1).","noUrlError":"Nie zdefiniowano adresu URL do przesłania pliku.","responseError":"Niepoprawna odpowiedź serwera."},"elementspath":{"eleLabel":"Ścieżka elementów","eleTitle":"element %1"},"contextmenu":{"options":"Opcje menu kontekstowego"},"clipboard":{"copy":"Kopiuj","copyError":"Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+C.","cut":"Wytnij","cutError":"Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+X.","paste":"Wklej","pasteNotification":"Naciśnij %1 by wkleić tekst. Twoja przeglądarka nie pozwala na wklejanie za pomocą przycisku paska narzędzi lub opcji menu kontekstowego.","pasteArea":"Miejsce do wklejenia treści","pasteMsg":"Wklej treść do obszaru poniżej i naciśnij OK."},"blockquote":{"toolbar":"Cytat"},"basicstyles":{"bold":"Pogrubienie","italic":"Kursywa","strike":"Przekreślenie","subscript":"Indeks dolny","superscript":"Indeks górny","underline":"Podkreślenie"},"about":{"copy":"Copyright © $1. Wszelkie prawa zastrzeżone.","dlgTitle":"Informacje o programie CKEditor 4","moreInfo":"Informacje na temat licencji można znaleźć na naszej stronie:"},"editor":"Edytor tekstu sformatowanego","editorPanel":"Panel edytora tekstu sformatowanego","common":{"editorHelp":"W celu uzyskania pomocy naciśnij ALT 0","browseServer":"Przeglądaj","url":"Adres URL","protocol":"Protokół","upload":"Wyślij","uploadSubmit":"Wyślij","image":"Obrazek","flash":"Flash","form":"Formularz","checkbox":"Pole wyboru (checkbox)","radio":"Przycisk opcji (radio)","textField":"Pole tekstowe","textarea":"Obszar tekstowy","hiddenField":"Pole ukryte","button":"Przycisk","select":"Lista wyboru","imageButton":"Przycisk graficzny","notSet":"<nie ustawiono>","id":"Id","name":"Nazwa","langDir":"Kierunek tekstu","langDirLtr":"Od lewej do prawej (LTR)","langDirRtl":"Od prawej do lewej (RTL)","langCode":"Kod języka","longDescr":"Adres URL długiego opisu","cssClass":"Nazwa klasy CSS","advisoryTitle":"Opis obiektu docelowego","cssStyle":"Styl","ok":"OK","cancel":"Anuluj","close":"Zamknij","preview":"Podgląd","resize":"Przeciągnij, aby zmienić rozmiar","generalTab":"Ogólne","advancedTab":"Zaawansowane","validateNumberFailed":"Ta wartość nie jest liczbą.","confirmNewPage":"Wszystkie niezapisane zmiany zostaną utracone. Czy na pewno wczytać nową stronę?","confirmCancel":"Pewne opcje zostały zmienione. Czy na pewno zamknąć okno dialogowe?","options":"Opcje","target":"Obiekt docelowy","targetNew":"Nowe okno (_blank)","targetTop":"Okno najwyżej w hierarchii (_top)","targetSelf":"To samo okno (_self)","targetParent":"Okno nadrzędne (_parent)","langDirLTR":"Od lewej do prawej (LTR)","langDirRTL":"Od prawej do lewej (RTL)","styles":"Style","cssClasses":"Klasy arkusza stylów","width":"Szerokość","height":"Wysokość","align":"Wyrównaj","left":"Do lewej","right":"Do prawej","center":"Do środka","justify":"Wyjustuj","alignLeft":"Wyrównaj do lewej","alignRight":"Wyrównaj do prawej","alignCenter":"Wyśrodkuj","alignTop":"Do góry","alignMiddle":"Do środka","alignBottom":"Do dołu","alignNone":"Brak","invalidValue":"Nieprawidłowa wartość.","invalidHeight":"Wysokość musi być liczbą.","invalidWidth":"Szerokość musi być liczbą.","invalidLength":"Wartość podana dla pola \"%1\" musi być liczbą dodatnią bez jednostki lub z poprawną jednostką długości (%2).","invalidCssLength":"Wartość podana dla pola \"%1\" musi być liczbą dodatnią bez jednostki lub z poprawną jednostką długości zgodną z CSS (px, %, in, cm, mm, em, ex, pt lub pc).","invalidHtmlLength":"Wartość podana dla pola \"%1\" musi być liczbą dodatnią bez jednostki lub z poprawną jednostką długości zgodną z HTML (px lub %).","invalidInlineStyle":"Wartość podana dla stylu musi składać się z jednej lub większej liczby krotek w formacie \"nazwa : wartość\", rozdzielonych średnikami.","cssLengthTooltip":"Wpisz liczbę dla wartości w pikselach lub liczbę wraz z jednostką długości zgodną z CSS (px, %, in, cm, mm, em, ex, pt lub pc).","unavailable":"%1<span class=\"cke_accessibility\">, niedostępne</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"spacja","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Skrót klawiszowy","optionDefault":"Domyślny"}}; \ No newline at end of file +CKEDITOR.lang['pl']={"widget":{"move":"Kliknij i przeciągnij, by przenieść.","label":"Widget %1"},"undo":{"redo":"Ponów","undo":"Cofnij"},"toolbar":{"toolbarCollapse":"Zwiń pasek narzędzi","toolbarExpand":"Rozwiń pasek narzędzi","toolbarGroups":{"document":"Dokument","clipboard":"Schowek/Wstecz","editing":"Edycja","forms":"Formularze","basicstyles":"Style podstawowe","paragraph":"Akapit","links":"Hiperłącza","insert":"Wstawianie","styles":"Style","colors":"Kolory","tools":"Narzędzia"},"toolbars":"Paski narzędzi edytora"},"table":{"border":"Grubość obramowania","caption":"Tytuł","cell":{"menu":"Komórka","insertBefore":"Wstaw komórkę z lewej","insertAfter":"Wstaw komórkę z prawej","deleteCell":"Usuń komórki","merge":"Połącz komórki","mergeRight":"Połącz z komórką z prawej","mergeDown":"Połącz z komórką poniżej","splitHorizontal":"Podziel komórkę poziomo","splitVertical":"Podziel komórkę pionowo","title":"Właściwości komórki","cellType":"Typ komórki","rowSpan":"Scalenie wierszy","colSpan":"Scalenie komórek","wordWrap":"Zawijanie słów","hAlign":"Wyrównanie poziome","vAlign":"Wyrównanie pionowe","alignBaseline":"Linia bazowa","bgColor":"Kolor tła","borderColor":"Kolor obramowania","data":"Dane","header":"Nagłówek","yes":"Tak","no":"Nie","invalidWidth":"Szerokość komórki musi być liczbą.","invalidHeight":"Wysokość komórki musi być liczbą.","invalidRowSpan":"Scalenie wierszy musi być liczbą całkowitą.","invalidColSpan":"Scalenie komórek musi być liczbą całkowitą.","chooseColor":"Wybierz"},"cellPad":"Dopełnienie komórek","cellSpace":"Odstęp pomiędzy komórkami","column":{"menu":"Kolumna","insertBefore":"Wstaw kolumnę z lewej","insertAfter":"Wstaw kolumnę z prawej","deleteColumn":"Usuń kolumny"},"columns":"Liczba kolumn","deleteTable":"Usuń tabelę","headers":"Nagłówki","headersBoth":"Oba","headersColumn":"Pierwsza kolumna","headersNone":"Brak","headersRow":"Pierwszy wiersz","heightUnit":"jednostka wysokości","invalidBorder":"Wartość obramowania musi być liczbą.","invalidCellPadding":"Dopełnienie komórek musi być liczbą dodatnią.","invalidCellSpacing":"Odstęp pomiędzy komórkami musi być liczbą dodatnią.","invalidCols":"Liczba kolumn musi być większa niż 0.","invalidHeight":"Wysokość tabeli musi być liczbą.","invalidRows":"Liczba wierszy musi być większa niż 0.","invalidWidth":"Szerokość tabeli musi być liczbą.","menu":"Właściwości tabeli","row":{"menu":"Wiersz","insertBefore":"Wstaw wiersz powyżej","insertAfter":"Wstaw wiersz poniżej","deleteRow":"Usuń wiersze"},"rows":"Liczba wierszy","summary":"Podsumowanie","title":"Właściwości tabeli","toolbar":"Tabela","widthPc":"%","widthPx":"piksele","widthUnit":"jednostka szerokości"},"stylescombo":{"label":"Styl","panelTitle":"Style formatujące","panelTitle1":"Style blokowe","panelTitle2":"Style liniowe","panelTitle3":"Style obiektowe"},"specialchar":{"options":"Opcje znaków specjalnych","title":"Wybierz znak specjalny","toolbar":"Wstaw znak specjalny"},"sourcedialog":{"toolbar":"Źródło dokumentu","title":"Źródło dokumentu"},"sourcearea":{"toolbar":"Źródło dokumentu"},"showblocks":{"toolbar":"Pokaż bloki"},"removeformat":{"toolbar":"Usuń formatowanie"},"pastetext":{"button":"Wklej jako czysty tekst","pasteNotification":"Naciśnij %1 by wkleić tekst. Twoja przeglądarka nie obsługuje wklejania za pomocą przycisku paska narzędzi lub opcji menu kontekstowego.","title":"Wklej jako czysty tekst"},"pastefromword":{"confirmCleanup":"Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wyczyścić przed wklejeniem?","error":"Wyczyszczenie wklejonych danych nie było możliwe z powodu wystąpienia błędu.","title":"Wklej z programu MS Word","toolbar":"Wklej z programu MS Word"},"notification":{"closed":"Powiadomienie zostało zamknięte."},"maximize":{"maximize":"Maksymalizuj","minimize":"Minimalizuj"},"magicline":{"title":"Wstaw nowy akapit"},"list":{"bulletedlist":"Lista wypunktowana","numberedlist":"Lista numerowana"},"language":{"button":"Ustaw język","remove":"Usuń język"},"indent":{"indent":"Zwiększ wcięcie","outdent":"Zmniejsz wcięcie"},"image2":{"alt":"Tekst zastępczy","btnUpload":"Wyślij","captioned":"Obrazek z podpisem","captionPlaceholder":"Podpis","infoTab":"Informacje o obrazku","lockRatio":"Zablokuj proporcje","menu":"Właściwości obrazka","pathName":"obrazek","pathNameCaption":"podpis","resetSize":"Przywróć rozmiar","resizer":"Kliknij i przeciągnij, by zmienić rozmiar.","title":"Właściwości obrazka","uploadTab":"Wyślij","urlMissing":"Podaj adres URL obrazka.","altMissing":"Podaj tekst zastępczy obrazka."},"horizontalrule":{"toolbar":"Wstaw poziomą linię"},"format":{"label":"Format","panelTitle":"Format","tag_address":"Adres","tag_div":"Normalny (DIV)","tag_h1":"Nagłówek 1","tag_h2":"Nagłówek 2","tag_h3":"Nagłówek 3","tag_h4":"Nagłówek 4","tag_h5":"Nagłówek 5","tag_h6":"Nagłówek 6","tag_p":"Normalny","tag_pre":"Tekst sformatowany"},"filetools":{"loadError":"Błąd podczas odczytu pliku.","networkError":"W trakcie wysyłania pliku pojawił się błąd sieciowy.","httpError404":"Błąd HTTP w trakcie wysyłania pliku (404: Nie znaleziono pliku).","httpError403":"Błąd HTTP w trakcie wysyłania pliku (403: Zabroniony).","httpError":"Błąd HTTP w trakcie wysyłania pliku (status błędu: %1).","noUrlError":"Nie zdefiniowano adresu URL do przesłania pliku.","responseError":"Niepoprawna odpowiedź serwera."},"elementspath":{"eleLabel":"Ścieżka elementów","eleTitle":"element %1"},"contextmenu":{"options":"Opcje menu kontekstowego"},"clipboard":{"copy":"Kopiuj","copyError":"Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+C.","cut":"Wytnij","cutError":"Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+X.","paste":"Wklej","pasteNotification":"Naciśnij %1 by wkleić tekst. Twoja przeglądarka nie pozwala na wklejanie za pomocą przycisku paska narzędzi lub opcji menu kontekstowego.","pasteArea":"Miejsce do wklejenia treści","pasteMsg":"Wklej treść do obszaru poniżej i naciśnij OK."},"blockquote":{"toolbar":"Cytat"},"basicstyles":{"bold":"Pogrubienie","italic":"Kursywa","strike":"Przekreślenie","subscript":"Indeks dolny","superscript":"Indeks górny","underline":"Podkreślenie"},"about":{"copy":"Copyright © $1. Wszelkie prawa zastrzeżone.","dlgTitle":"Informacje o programie CKEditor 4","moreInfo":"Informacje na temat licencji można znaleźć na naszej stronie:"},"editor":"Edytor tekstu sformatowanego","editorPanel":"Panel edytora tekstu sformatowanego","common":{"editorHelp":"W celu uzyskania pomocy naciśnij ALT 0","browseServer":"Przeglądaj","url":"Adres URL","protocol":"Protokół","upload":"Wyślij","uploadSubmit":"Wyślij","image":"Obrazek","flash":"Flash","form":"Formularz","checkbox":"Pole wyboru (checkbox)","radio":"Przycisk opcji (radio)","textField":"Pole tekstowe","textarea":"Obszar tekstowy","hiddenField":"Pole ukryte","button":"Przycisk","select":"Lista wyboru","imageButton":"Przycisk graficzny","notSet":"<nie ustawiono>","id":"Id","name":"Nazwa","langDir":"Kierunek tekstu","langDirLtr":"Od lewej do prawej (LTR)","langDirRtl":"Od prawej do lewej (RTL)","langCode":"Kod języka","longDescr":"Adres URL długiego opisu","cssClass":"Nazwa klasy CSS","advisoryTitle":"Opis obiektu docelowego","cssStyle":"Styl","ok":"OK","cancel":"Anuluj","close":"Zamknij","preview":"Podgląd","resize":"Przeciągnij, aby zmienić rozmiar","generalTab":"Ogólne","advancedTab":"Zaawansowane","validateNumberFailed":"Ta wartość nie jest liczbą.","confirmNewPage":"Wszystkie niezapisane zmiany zostaną utracone. Czy na pewno wczytać nową stronę?","confirmCancel":"Pewne opcje zostały zmienione. Czy na pewno zamknąć okno dialogowe?","options":"Opcje","target":"Obiekt docelowy","targetNew":"Nowe okno (_blank)","targetTop":"Okno najwyżej w hierarchii (_top)","targetSelf":"To samo okno (_self)","targetParent":"Okno nadrzędne (_parent)","langDirLTR":"Od lewej do prawej (LTR)","langDirRTL":"Od prawej do lewej (RTL)","styles":"Style","cssClasses":"Klasy arkusza stylów","width":"Szerokość","height":"Wysokość","align":"Wyrównaj","left":"Do lewej","right":"Do prawej","center":"Do środka","justify":"Wyjustuj","alignLeft":"Wyrównaj do lewej","alignRight":"Wyrównaj do prawej","alignCenter":"Wyśrodkuj","alignTop":"Do góry","alignMiddle":"Do środka","alignBottom":"Do dołu","alignNone":"Brak","invalidValue":"Nieprawidłowa wartość.","invalidHeight":"Wysokość musi być liczbą.","invalidWidth":"Szerokość musi być liczbą.","invalidLength":"Wartość podana dla pola \"%1\" musi być liczbą dodatnią bez jednostki lub z poprawną jednostką długości (%2).","invalidCssLength":"Wartość podana dla pola \"%1\" musi być liczbą dodatnią bez jednostki lub z poprawną jednostką długości zgodną z CSS (px, %, in, cm, mm, em, ex, pt lub pc).","invalidHtmlLength":"Wartość podana dla pola \"%1\" musi być liczbą dodatnią bez jednostki lub z poprawną jednostką długości zgodną z HTML (px lub %).","invalidInlineStyle":"Wartość podana dla stylu musi składać się z jednej lub większej liczby krotek w formacie \"nazwa : wartość\", rozdzielonych średnikami.","cssLengthTooltip":"Wpisz liczbę dla wartości w pikselach lub liczbę wraz z jednostką długości zgodną z CSS (px, %, in, cm, mm, em, ex, pt lub pc).","unavailable":"%1<span class=\"cke_accessibility\">, niedostępne</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"spacja","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Skrót klawiszowy","optionDefault":"Domyślny"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/pt-br.js b/web/core/assets/vendor/ckeditor/lang/pt-br.js index bed125efcef5bb3aa80d5826c5c10b5ca91f2e55..aea78ce78f4e178e3f306038195b222823ef5608 100644 --- a/web/core/assets/vendor/ckeditor/lang/pt-br.js +++ b/web/core/assets/vendor/ckeditor/lang/pt-br.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['pt-br']={"widget":{"move":"Click e arraste para mover","label":"%1 widget"},"undo":{"redo":"Refazer","undo":"Desfazer"},"toolbar":{"toolbarCollapse":"Diminuir Barra de Ferramentas","toolbarExpand":"Aumentar Barra de Ferramentas","toolbarGroups":{"document":"Documento","clipboard":"Clipboard/Desfazer","editing":"Edição","forms":"Formulários","basicstyles":"Estilos Básicos","paragraph":"Paragrafo","links":"Links","insert":"Inserir","styles":"Estilos","colors":"Cores","tools":"Ferramentas"},"toolbars":"Barra de Ferramentas do Editor"},"table":{"border":"Borda","caption":"Legenda","cell":{"menu":"Célula","insertBefore":"Inserir célula a esquerda","insertAfter":"Inserir célula a direita","deleteCell":"Remover Células","merge":"Mesclar Células","mergeRight":"Mesclar com célula a direita","mergeDown":"Mesclar com célula abaixo","splitHorizontal":"Dividir célula horizontalmente","splitVertical":"Dividir célula verticalmente","title":"Propriedades da célula","cellType":"Tipo de célula","rowSpan":"Linhas cobertas","colSpan":"Colunas cobertas","wordWrap":"Quebra de palavra","hAlign":"Alinhamento horizontal","vAlign":"Alinhamento vertical","alignBaseline":"Patamar de alinhamento","bgColor":"Cor de fundo","borderColor":"Cor das bordas","data":"Dados","header":"Cabeçalho","yes":"Sim","no":"Não","invalidWidth":"A largura da célula tem que ser um número.","invalidHeight":"A altura da célula tem que ser um número.","invalidRowSpan":"Linhas cobertas tem que ser um número inteiro.","invalidColSpan":"Colunas cobertas tem que ser um número inteiro.","chooseColor":"Escolher"},"cellPad":"Margem interna","cellSpace":"Espaçamento","column":{"menu":"Coluna","insertBefore":"Inserir coluna a esquerda","insertAfter":"Inserir coluna a direita","deleteColumn":"Remover Colunas"},"columns":"Colunas","deleteTable":"Apagar Tabela","headers":"Cabeçalho","headersBoth":"Ambos","headersColumn":"Primeira coluna","headersNone":"Nenhum","headersRow":"Primeira linha","heightUnit":"height unit","invalidBorder":"O tamanho da borda tem que ser um número.","invalidCellPadding":"A margem interna das células tem que ser um número.","invalidCellSpacing":"O espaçamento das células tem que ser um número.","invalidCols":"O número de colunas tem que ser um número maior que 0.","invalidHeight":"A altura da tabela tem que ser um número.","invalidRows":"O número de linhas tem que ser um número maior que 0.","invalidWidth":"A largura da tabela tem que ser um número.","menu":"Formatar Tabela","row":{"menu":"Linha","insertBefore":"Inserir linha acima","insertAfter":"Inserir linha abaixo","deleteRow":"Remover Linhas"},"rows":"Linhas","summary":"Resumo","title":"Formatar Tabela","toolbar":"Tabela","widthPc":"%","widthPx":"pixels","widthUnit":"unidade largura"},"stylescombo":{"label":"Estilo","panelTitle":"Estilos de Formatação","panelTitle1":"Estilos de bloco","panelTitle2":"Estilos de texto corrido","panelTitle3":"Estilos de objeto"},"specialchar":{"options":"Opções de Caractere Especial","title":"Selecione um Caractere Especial","toolbar":"Inserir Caractere Especial"},"sourcedialog":{"toolbar":"Código-Fonte","title":"Código-Fonte"},"sourcearea":{"toolbar":"Código-Fonte"},"showblocks":{"toolbar":"Mostrar blocos de código"},"removeformat":{"toolbar":"Remover Formatação"},"pastetext":{"button":"Colar como Texto sem Formatação","pasteNotification":"Pressione %1 para colar. Seu navegador não suporta colar a partir do botão da barra de ferramentas ou do menu de contexto.","title":"Colar como Texto sem Formatação"},"pastefromword":{"confirmCleanup":"O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?","error":"Não foi possível limpar os dados colados devido a um erro interno","title":"Colar do Word","toolbar":"Colar do Word"},"notification":{"closed":"Notificação fechada."},"maximize":{"maximize":"Maximizar","minimize":"Minimize"},"magicline":{"title":"Insera um parágrafo aqui"},"list":{"bulletedlist":"Lista sem números","numberedlist":"Lista numerada"},"language":{"button":"Configure o Idioma","remove":"Remover Idioma"},"indent":{"indent":"Aumentar Recuo","outdent":"Diminuir Recuo"},"image2":{"alt":"Texto Alternativo","btnUpload":"Enviar para o Servidor","captioned":"Legenda da Imagem","captionPlaceholder":"Legenda","infoTab":"Informações da Imagem","lockRatio":"Travar Proporções","menu":"Formatar Imagem","pathName":"Imagem","pathNameCaption":"Legenda","resetSize":"Redefinir para o Tamanho Original","resizer":"Click e arraste para redimensionar","title":"Formatar Imagem","uploadTab":"Enviar ao Servidor","urlMissing":"URL da imagem está faltando.","altMissing":"Texto alternativo não informado."},"horizontalrule":{"toolbar":"Inserir Linha Horizontal"},"format":{"label":"Formatação","panelTitle":"Formatação","tag_address":"Endereço","tag_div":"Normal (DIV)","tag_h1":"Título 1","tag_h2":"Título 2","tag_h3":"Título 3","tag_h4":"Título 4","tag_h5":"Título 5","tag_h6":"Título 6","tag_p":"Normal","tag_pre":"Formatado"},"filetools":{"loadError":"Um erro ocorreu durante a leitura do arquivo.","networkError":"Um erro de rede ocorreu durante o envio do arquivo.","httpError404":"Um erro HTTP ocorreu durante o envio do arquivo (404: Arquivo não encontrado).","httpError403":"Um erro HTTP ocorreu durante o envio do arquivo (403: Proibido).","httpError":"Um erro HTTP ocorreu durante o envio do arquivo (status do erro: %1)","noUrlError":"A URL de upload não está definida.","responseError":"Resposta incorreta do servidor."},"elementspath":{"eleLabel":"Caminho dos Elementos","eleTitle":"Elemento %1"},"contextmenu":{"options":"Opções Menu de Contexto"},"clipboard":{"copy":"Copiar","copyError":"As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).","cut":"Recortar","cutError":"As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).","paste":"Colar","pasteNotification":"Pressione %1 para colar. Seu navegador não permite colar pelos botões da barra de tarefas ou pelo menu de contexto.","pasteArea":"Área para Colar","pasteMsg":"Cole o conteúdo na área abaixo e pressione OK."},"blockquote":{"toolbar":"Citação"},"basicstyles":{"bold":"Negrito","italic":"Itálico","strike":"Tachado","subscript":"Subscrito","superscript":"Sobrescrito","underline":"Sublinhado"},"about":{"copy":"Copyright © $1. Todos os direitos reservados.","dlgTitle":"Sobre o CKEditor 4","moreInfo":"Para informações sobre a licença por favor visite o nosso site:"},"editor":"Editor de Rich Text","editorPanel":"Painel do editor de Rich Text","common":{"editorHelp":"Pressione ALT+0 para ajuda","browseServer":"Localizar no Servidor","url":"URL","protocol":"Protocolo","upload":"Enviar ao Servidor","uploadSubmit":"Enviar para o Servidor","image":"Imagem","flash":"Flash","form":"Formulário","checkbox":"Caixa de Seleção","radio":"Botão de Opção","textField":"Caixa de Texto","textarea":"Área de Texto","hiddenField":"Campo Oculto","button":"Botão","select":"Caixa de Listagem","imageButton":"Botão de Imagem","notSet":"<não ajustado>","id":"Id","name":"Nome","langDir":"Direção do idioma","langDirLtr":"Esquerda para Direita (LTR)","langDirRtl":"Direita para Esquerda (RTL)","langCode":"Idioma","longDescr":"Descrição da URL","cssClass":"Classe de CSS","advisoryTitle":"Título","cssStyle":"Estilos","ok":"OK","cancel":"Cancelar","close":"Fechar","preview":"Visualizar","resize":"Arraste para redimensionar","generalTab":"Geral","advancedTab":"Avançado","validateNumberFailed":"Este valor não é um número.","confirmNewPage":"Todas as mudanças não salvas serão perdidas. Tem certeza de que quer abrir uma nova página?","confirmCancel":"Algumas opções foram alteradas. Tem certeza de que quer fechar a caixa de diálogo?","options":"Opções","target":"Destino","targetNew":"Nova Janela (_blank)","targetTop":"Janela de Cima (_top)","targetSelf":"Mesma Janela (_self)","targetParent":"Janela Pai (_parent)","langDirLTR":"Esquerda para Direita (LTR)","langDirRTL":"Direita para Esquerda (RTL)","styles":"Estilo","cssClasses":"Classes","width":"Largura","height":"Altura","align":"Alinhamento","left":"Esquerda","right":"Direita","center":"Centralizado","justify":"Justificar","alignLeft":"Alinhar Esquerda","alignRight":"Alinhar Direita","alignCenter":"Centralizar","alignTop":"Superior","alignMiddle":"Centralizado","alignBottom":"Inferior","alignNone":"Nenhum","invalidValue":"Valor inválido.","invalidHeight":"A altura tem que ser um número","invalidWidth":"A largura tem que ser um número.","invalidLength":"Valor especifico para o campo \"%1\" deve ser um número positivo com ou sem uma unidade mensurável (%2) válida.","invalidCssLength":"O valor do campo \"%1\" deve ser um número positivo opcionalmente seguido por uma válida unidade de medida de CSS (px, %, in, cm, mm, em, ex, pt ou pc).","invalidHtmlLength":"O valor do campo \"%1\" deve ser um número positivo opcionalmente seguido por uma válida unidade de medida de HTML (px ou %).","invalidInlineStyle":"O valor válido para estilo deve conter uma ou mais tuplas no formato \"nome : valor\", separados por ponto e vírgula.","cssLengthTooltip":"Insira um número para valor em pixels ou um número seguido de uma válida unidade de medida de CSS (px, %, in, cm, mm, em, ex, pt ou pc).","unavailable":"%1<span class=\"cke_accessibility\">, indisponível</span>","keyboard":{"8":"Tecla Retroceder","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Tecla Espaço","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Comando"},"keyboardShortcut":"Atalho do teclado","optionDefault":"Padrão"}}; \ No newline at end of file +CKEDITOR.lang['pt-br']={"widget":{"move":"Click e arraste para mover","label":"%1 widget"},"undo":{"redo":"Refazer","undo":"Desfazer"},"toolbar":{"toolbarCollapse":"Diminuir Barra de Ferramentas","toolbarExpand":"Aumentar Barra de Ferramentas","toolbarGroups":{"document":"Documento","clipboard":"Clipboard/Desfazer","editing":"Edição","forms":"Formulários","basicstyles":"Estilos Básicos","paragraph":"Paragrafo","links":"Links","insert":"Inserir","styles":"Estilos","colors":"Cores","tools":"Ferramentas"},"toolbars":"Barra de Ferramentas do Editor"},"table":{"border":"Borda","caption":"Legenda","cell":{"menu":"Célula","insertBefore":"Inserir célula a esquerda","insertAfter":"Inserir célula a direita","deleteCell":"Remover Células","merge":"Mesclar Células","mergeRight":"Mesclar com célula a direita","mergeDown":"Mesclar com célula abaixo","splitHorizontal":"Dividir célula horizontalmente","splitVertical":"Dividir célula verticalmente","title":"Propriedades da célula","cellType":"Tipo de célula","rowSpan":"Linhas cobertas","colSpan":"Colunas cobertas","wordWrap":"Quebra de palavra","hAlign":"Alinhamento horizontal","vAlign":"Alinhamento vertical","alignBaseline":"Patamar de alinhamento","bgColor":"Cor de fundo","borderColor":"Cor das bordas","data":"Dados","header":"Cabeçalho","yes":"Sim","no":"Não","invalidWidth":"A largura da célula tem que ser um número.","invalidHeight":"A altura da célula tem que ser um número.","invalidRowSpan":"Linhas cobertas tem que ser um número inteiro.","invalidColSpan":"Colunas cobertas tem que ser um número inteiro.","chooseColor":"Escolher"},"cellPad":"Margem interna","cellSpace":"Espaçamento","column":{"menu":"Coluna","insertBefore":"Inserir coluna a esquerda","insertAfter":"Inserir coluna a direita","deleteColumn":"Remover Colunas"},"columns":"Colunas","deleteTable":"Apagar Tabela","headers":"Cabeçalho","headersBoth":"Ambos","headersColumn":"Primeira coluna","headersNone":"Nenhum","headersRow":"Primeira linha","heightUnit":"Unidade para altura","invalidBorder":"O tamanho da borda tem que ser um número.","invalidCellPadding":"A margem interna das células tem que ser um número.","invalidCellSpacing":"O espaçamento das células tem que ser um número.","invalidCols":"O número de colunas tem que ser um número maior que 0.","invalidHeight":"A altura da tabela tem que ser um número.","invalidRows":"O número de linhas tem que ser um número maior que 0.","invalidWidth":"A largura da tabela tem que ser um número.","menu":"Formatar Tabela","row":{"menu":"Linha","insertBefore":"Inserir linha acima","insertAfter":"Inserir linha abaixo","deleteRow":"Remover Linhas"},"rows":"Linhas","summary":"Resumo","title":"Formatar Tabela","toolbar":"Tabela","widthPc":"%","widthPx":"pixels","widthUnit":"unidade largura"},"stylescombo":{"label":"Estilo","panelTitle":"Estilos de Formatação","panelTitle1":"Estilos de bloco","panelTitle2":"Estilos de texto corrido","panelTitle3":"Estilos de objeto"},"specialchar":{"options":"Opções de Caractere Especial","title":"Selecione um Caractere Especial","toolbar":"Inserir Caractere Especial"},"sourcedialog":{"toolbar":"Código-Fonte","title":"Código-Fonte"},"sourcearea":{"toolbar":"Código-Fonte"},"showblocks":{"toolbar":"Mostrar blocos de código"},"removeformat":{"toolbar":"Remover Formatação"},"pastetext":{"button":"Colar como Texto sem Formatação","pasteNotification":"Pressione %1 para colar. Seu navegador não suporta colar a partir do botão da barra de ferramentas ou do menu de contexto.","title":"Colar como Texto sem Formatação"},"pastefromword":{"confirmCleanup":"O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?","error":"Não foi possível limpar os dados colados devido a um erro interno","title":"Colar do Word","toolbar":"Colar do Word"},"notification":{"closed":"Notificação fechada."},"maximize":{"maximize":"Maximizar","minimize":"Minimize"},"magicline":{"title":"Inserir um parágrafo aqui"},"list":{"bulletedlist":"Lista sem números","numberedlist":"Lista numerada"},"language":{"button":"Configure o Idioma","remove":"Remover Idioma"},"indent":{"indent":"Aumentar Recuo","outdent":"Diminuir Recuo"},"image2":{"alt":"Texto Alternativo","btnUpload":"Enviar para o Servidor","captioned":"Legenda da Imagem","captionPlaceholder":"Legenda","infoTab":"Informações da Imagem","lockRatio":"Travar Proporções","menu":"Formatar Imagem","pathName":"Imagem","pathNameCaption":"Legenda","resetSize":"Redefinir para o Tamanho Original","resizer":"Click e arraste para redimensionar","title":"Formatar Imagem","uploadTab":"Enviar ao Servidor","urlMissing":"URL da imagem está faltando.","altMissing":"Texto alternativo não informado."},"horizontalrule":{"toolbar":"Inserir Linha Horizontal"},"format":{"label":"Formatação","panelTitle":"Formatação","tag_address":"Endereço","tag_div":"Normal (DIV)","tag_h1":"Título 1","tag_h2":"Título 2","tag_h3":"Título 3","tag_h4":"Título 4","tag_h5":"Título 5","tag_h6":"Título 6","tag_p":"Normal","tag_pre":"Formatado"},"filetools":{"loadError":"Um erro ocorreu durante a leitura do arquivo.","networkError":"Um erro de rede ocorreu durante o envio do arquivo.","httpError404":"Um erro HTTP ocorreu durante o envio do arquivo (404: Arquivo não encontrado).","httpError403":"Um erro HTTP ocorreu durante o envio do arquivo (403: Proibido).","httpError":"Um erro HTTP ocorreu durante o envio do arquivo (status do erro: %1)","noUrlError":"A URL de upload não está definida.","responseError":"Resposta incorreta do servidor."},"elementspath":{"eleLabel":"Caminho dos Elementos","eleTitle":"Elemento %1"},"contextmenu":{"options":"Opções Menu de Contexto"},"clipboard":{"copy":"Copiar","copyError":"As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).","cut":"Recortar","cutError":"As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).","paste":"Colar","pasteNotification":"Pressione %1 para colar. Seu navegador não permite colar pelos botões da barra de tarefas ou pelo menu de contexto.","pasteArea":"Área para Colar","pasteMsg":"Cole o conteúdo na área abaixo e pressione OK."},"blockquote":{"toolbar":"Citação"},"basicstyles":{"bold":"Negrito","italic":"Itálico","strike":"Tachado","subscript":"Subscrito","superscript":"Sobrescrito","underline":"Sublinhado"},"about":{"copy":"Copyright © $1. Todos os direitos reservados.","dlgTitle":"Sobre o CKEditor 4","moreInfo":"Para informações sobre a licença por favor visite o nosso site:"},"editor":"Editor de Rich Text","editorPanel":"Painel do editor de Rich Text","common":{"editorHelp":"Pressione ALT+0 para ajuda","browseServer":"Localizar no Servidor","url":"URL","protocol":"Protocolo","upload":"Enviar ao Servidor","uploadSubmit":"Enviar para o Servidor","image":"Imagem","flash":"Flash","form":"Formulário","checkbox":"Caixa de Seleção","radio":"Botão de Opção","textField":"Caixa de Texto","textarea":"Área de Texto","hiddenField":"Campo Oculto","button":"Botão","select":"Caixa de Listagem","imageButton":"Botão de Imagem","notSet":"<não ajustado>","id":"Id","name":"Nome","langDir":"Direção do idioma","langDirLtr":"Esquerda para Direita (LTR)","langDirRtl":"Direita para Esquerda (RTL)","langCode":"Idioma","longDescr":"Descrição da URL","cssClass":"Classe de CSS","advisoryTitle":"Título","cssStyle":"Estilos","ok":"OK","cancel":"Cancelar","close":"Fechar","preview":"Visualizar","resize":"Arraste para redimensionar","generalTab":"Geral","advancedTab":"Avançado","validateNumberFailed":"Este valor não é um número.","confirmNewPage":"Todas as mudanças não salvas serão perdidas. Tem certeza de que quer abrir uma nova página?","confirmCancel":"Algumas opções foram alteradas. Tem certeza de que quer fechar a caixa de diálogo?","options":"Opções","target":"Destino","targetNew":"Nova Janela (_blank)","targetTop":"Janela de Cima (_top)","targetSelf":"Mesma Janela (_self)","targetParent":"Janela Pai (_parent)","langDirLTR":"Esquerda para Direita (LTR)","langDirRTL":"Direita para Esquerda (RTL)","styles":"Estilo","cssClasses":"Classes","width":"Largura","height":"Altura","align":"Alinhamento","left":"Esquerda","right":"Direita","center":"Centralizado","justify":"Justificar","alignLeft":"Alinhar Esquerda","alignRight":"Alinhar Direita","alignCenter":"Centralizar","alignTop":"Superior","alignMiddle":"Centralizado","alignBottom":"Inferior","alignNone":"Nenhum","invalidValue":"Valor inválido.","invalidHeight":"A altura tem que ser um número","invalidWidth":"A largura tem que ser um número.","invalidLength":"Valor especifico para o campo \"%1\" deve ser um número positivo com ou sem uma unidade mensurável (%2) válida.","invalidCssLength":"O valor do campo \"%1\" deve ser um número positivo opcionalmente seguido por uma válida unidade de medida de CSS (px, %, in, cm, mm, em, ex, pt ou pc).","invalidHtmlLength":"O valor do campo \"%1\" deve ser um número positivo opcionalmente seguido por uma válida unidade de medida de HTML (px ou %).","invalidInlineStyle":"O valor válido para estilo deve conter uma ou mais tuplas no formato \"nome : valor\", separados por ponto e vírgula.","cssLengthTooltip":"Insira um número para valor em pixels ou um número seguido de uma válida unidade de medida de CSS (px, %, in, cm, mm, em, ex, pt ou pc).","unavailable":"%1<span class=\"cke_accessibility\">, indisponível</span>","keyboard":{"8":"Tecla Retroceder","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Tecla Espaço","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Comando"},"keyboardShortcut":"Atalho do teclado","optionDefault":"Padrão"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/sk.js b/web/core/assets/vendor/ckeditor/lang/sk.js index 8eb9833b5bcc9c187f22edb05e75bfb204dbd36c..38b1faf8bf5fe9e2e025fc864239d39b2c09327a 100644 --- a/web/core/assets/vendor/ckeditor/lang/sk.js +++ b/web/core/assets/vendor/ckeditor/lang/sk.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['sk']={"widget":{"move":"Kliknite a potiahnite pre presunutie","label":"%1 widget"},"undo":{"redo":"Znovu","undo":"Späť"},"toolbar":{"toolbarCollapse":"Zbaliť lištu nástrojov","toolbarExpand":"Rozbaliť lištu nástrojov","toolbarGroups":{"document":"Dokument","clipboard":"Schránka pre kopírovanie/Späť","editing":"Upravovanie","forms":"Formuláre","basicstyles":"Základné štýly","paragraph":"Odsek","links":"Odkazy","insert":"Vložiť","styles":"Štýly","colors":"Farby","tools":"Nástroje"},"toolbars":"Lišty nástrojov editora"},"table":{"border":"Šírka orámovania","caption":"Popis","cell":{"menu":"Bunka","insertBefore":"Vložiť bunku pred","insertAfter":"Vložiť bunku za","deleteCell":"Vymazať bunky","merge":"Zlúčiť bunky","mergeRight":"Zlúčiť doprava","mergeDown":"Zlúčiť dole","splitHorizontal":"Rozdeliť bunky horizontálne","splitVertical":"Rozdeliť bunky vertikálne","title":"Vlastnosti bunky","cellType":"Typ bunky","rowSpan":"Rozsah riadkov","colSpan":"Rozsah stĺpcov","wordWrap":"Zalamovanie riadkov","hAlign":"Horizontálne zarovnanie","vAlign":"Vertikálne zarovnanie","alignBaseline":"Základná čiara (baseline)","bgColor":"Farba pozadia","borderColor":"Farba orámovania","data":"Dáta","header":"Hlavička","yes":"Áno","no":"Nie","invalidWidth":"Šírka bunky musí byť číslo.","invalidHeight":"Výška bunky musí byť číslo.","invalidRowSpan":"Rozsah riadkov musí byť celé číslo.","invalidColSpan":"Rozsah stĺpcov musí byť celé číslo.","chooseColor":"Vybrať"},"cellPad":"Odsadenie obsahu (cell padding)","cellSpace":"Vzdialenosť buniek (cell spacing)","column":{"menu":"Stĺpec","insertBefore":"Vložiť stĺpec pred","insertAfter":"Vložiť stĺpec po","deleteColumn":"Zmazať stĺpce"},"columns":"Stĺpce","deleteTable":"Vymazať tabuľku","headers":"Hlavička","headersBoth":"Obe","headersColumn":"Prvý stĺpec","headersNone":"Žiadne","headersRow":"Prvý riadok","heightUnit":"height unit","invalidBorder":"Šírka orámovania musí byť číslo.","invalidCellPadding":"Odsadenie v bunkách (cell padding) musí byť kladné číslo.","invalidCellSpacing":"Medzera mädzi bunkami (cell spacing) musí byť kladné číslo.","invalidCols":"Počet stĺpcov musí byť číslo väčšie ako 0.","invalidHeight":"Výška tabuľky musí byť číslo.","invalidRows":"Počet riadkov musí byť číslo väčšie ako 0.","invalidWidth":"Širka tabuľky musí byť číslo.","menu":"Vlastnosti tabuľky","row":{"menu":"Riadok","insertBefore":"Vložiť riadok pred","insertAfter":"Vložiť riadok po","deleteRow":"Vymazať riadky"},"rows":"Riadky","summary":"Prehľad","title":"Vlastnosti tabuľky","toolbar":"Tabuľka","widthPc":"percent","widthPx":"pixelov","widthUnit":"jednotka šírky"},"stylescombo":{"label":"Štýly","panelTitle":"Formátovanie štýlov","panelTitle1":"Štýly bloku","panelTitle2":"Znakové štýly","panelTitle3":"Štýly objektu"},"specialchar":{"options":"Možnosti špeciálneho znaku","title":"Výber špeciálneho znaku","toolbar":"Vložiť špeciálny znak"},"sourcedialog":{"toolbar":"Zdroj","title":"Zdroj"},"sourcearea":{"toolbar":"Zdroj"},"showblocks":{"toolbar":"Ukázať bloky"},"removeformat":{"toolbar":"Odstrániť formátovanie"},"pastetext":{"button":"Vložiť ako čistý text","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Vložiť ako čistý text"},"pastefromword":{"confirmCleanup":"Zdá sa, že vkladaný text pochádza z programu MS Word. Chcete ho pred vkladaním automaticky vyčistiť?","error":"Kvôli internej chybe nebolo možné vložené dáta vyčistiť","title":"Vložiť z Wordu","toolbar":"Vložiť z Wordu"},"notification":{"closed":"Notifikácia zatvorená."},"maximize":{"maximize":"Maximalizovať","minimize":"Minimalizovať"},"magicline":{"title":"Odsek vložiť sem"},"list":{"bulletedlist":"Vložiť/odstrániť zoznam s odrážkami","numberedlist":"Vložiť/odstrániť číslovaný zoznam"},"language":{"button":"Nastaviť jazyk","remove":"Odstrániť jazyk"},"indent":{"indent":"Zväčšiť odsadenie","outdent":"Zmenšiť odsadenie"},"image2":{"alt":"Alternatívny text","btnUpload":"Odoslať to na server","captioned":"Opísaný obrázok","captionPlaceholder":"Popis","infoTab":"Informácie o obrázku","lockRatio":"Pomer zámky","menu":"Vlastnosti obrázka","pathName":"obrázok","pathNameCaption":"popis","resetSize":"Pôvodná veľkosť","resizer":"Kliknite a potiahnite pre zmenu veľkosti","title":"Vlastnosti obrázka","uploadTab":"Nahrať","urlMissing":"Chýba URL zdroja obrázka.","altMissing":"Chýba alternatívny text."},"horizontalrule":{"toolbar":"Vložiť vodorovnú čiaru"},"format":{"label":"Formát","panelTitle":"Odsek","tag_address":"Adresa","tag_div":"Normálny (DIV)","tag_h1":"Nadpis 1","tag_h2":"Nadpis 2","tag_h3":"Nadpis 3","tag_h4":"Nadpis 4","tag_h5":"Nadpis 5","tag_h6":"Nadpis 6","tag_p":"Normálny","tag_pre":"Formátovaný"},"filetools":{"loadError":"Počas čítania súboru nastala chyba.","networkError":"Počas nahrávania súboru nastala chyba siete.","httpError404":"Počas nahrávania súboru nastala HTTP chyba (404: Súbor nebol nájdený).","httpError403":"Počas nahrávania súboru nastala HTTP chyba (403: Zakázaný).","httpError":"Počas nahrávania súboru nastala HTTP chyba (error status: %1).","noUrlError":"URL nahrávania nie je definovaný.","responseError":"Nesprávna odpoveď servera."},"elementspath":{"eleLabel":"Cesta prvkov","eleTitle":"%1 prvok"},"contextmenu":{"options":"Možnosti kontextového menu"},"clipboard":{"copy":"Kopírovať","copyError":"Bezpečnostné nastavenia vášho prehliadača nedovoľujú editoru automaticky spustiť operáciu kopírovania. Použite na to klávesnicu (Ctrl/Cmd+C).","cut":"Vystrihnúť","cutError":"Bezpečnostné nastavenia vášho prehliadača nedovoľujú editoru automaticky spustiť operáciu vystrihnutia. Použite na to klávesnicu (Ctrl/Cmd+X).","paste":"Vložiť","pasteNotification":"Stlačte %1 na vloženie. Váš prehliadač nepodporuje vloženie prostredníctvom tlačidla v nástrojovej lište alebo voľby v kontextovom menu.","pasteArea":"Miesto pre vloženie","pasteMsg":"Vložte svoj obsah do nasledujúcej oblasti a stlačte OK."},"blockquote":{"toolbar":"Citácia"},"basicstyles":{"bold":"Tučné","italic":"Kurzíva","strike":"Prečiarknuté","subscript":"Dolný index","superscript":"Horný index","underline":"Podčiarknuté"},"about":{"copy":"Copyright © $1. Všetky práva vyhradené.","dlgTitle":"O aplikácii CKEditor 4","moreInfo":"Pre informácie o licenciách, prosíme, navštívte našu web stránku:"},"editor":"Editor formátovaného textu","editorPanel":"Panel editora formátovaného textu","common":{"editorHelp":"Stlačením ALT 0 spustiť pomocníka","browseServer":"Prehliadať server","url":"URL","protocol":"Protokol","upload":"Odoslať","uploadSubmit":"Odoslať na server","image":"Obrázok","flash":"Flash","form":"Formulár","checkbox":"Zaškrtávacie pole","radio":"Prepínač","textField":"Textové pole","textarea":"Textová oblasť","hiddenField":"Skryté pole","button":"Tlačidlo","select":"Rozbaľovací zoznam","imageButton":"Obrázkové tlačidlo","notSet":"<nenastavené>","id":"Id","name":"Meno","langDir":"Orientácia jazyka","langDirLtr":"Zľava doprava (LTR)","langDirRtl":"Sprava doľava (RTL)","langCode":"Kód jazyka","longDescr":"Dlhý popis URL","cssClass":"Trieda štýlu","advisoryTitle":"Pomocný titulok","cssStyle":"Štýl","ok":"OK","cancel":"Zrušiť","close":"Zatvoriť","preview":"Náhľad","resize":"Zmeniť veľkosť","generalTab":"Hlavné","advancedTab":"Rozšírené","validateNumberFailed":"Hodnota nie je číslo.","confirmNewPage":"Prajete si načítat novú stránku? Všetky neuložené zmeny budú stratené. ","confirmCancel":"Niektore možnosti boli zmenené. Naozaj chcete zavrieť okno?","options":"Možnosti","target":"Cieľ","targetNew":"Nové okno (_blank)","targetTop":"Najvrchnejšie okno (_top)","targetSelf":"To isté okno (_self)","targetParent":"Rodičovské okno (_parent)","langDirLTR":"Zľava doprava (LTR)","langDirRTL":"Sprava doľava (RTL)","styles":"Štýl","cssClasses":"Triedy štýlu","width":"Šírka","height":"Výška","align":"Zarovnanie","left":"Vľavo","right":"Vpravo","center":"Na stred","justify":"Do bloku","alignLeft":"Zarovnať vľavo","alignRight":"Zarovnať vpravo","alignCenter":"Zarovnať na stred","alignTop":"Nahor","alignMiddle":"Na stred","alignBottom":"Dole","alignNone":"Žiadne","invalidValue":"Neplatná hodnota.","invalidHeight":"Výška musí byť číslo.","invalidWidth":"Šírka musí byť číslo.","invalidLength":"Hodnota uvedená v poli \"%1\" musí byť kladné číslo a s platnou mernou jednotkou (%2), alebo bez nej.","invalidCssLength":"Špecifikovaná hodnota pre pole \"%1\" musí byť kladné číslo s alebo bez platnej CSS mernej jednotky (px, %, in, cm, mm, em, ex, pt alebo pc).","invalidHtmlLength":"Špecifikovaná hodnota pre pole \"%1\" musí byť kladné číslo s alebo bez platnej HTML mernej jednotky (px alebo %).","invalidInlineStyle":"Zadaná hodnota pre inline štýl musí pozostávať s jedného, alebo viac dvojíc formátu \"názov: hodnota\", oddelených bodkočiarkou.","cssLengthTooltip":"Vložte číslo pre hodnotu v pixeloch alebo číslo so správnou CSS jednotou (px, %, in, cm, mm, em, ex, pt alebo pc).","unavailable":"%1<span class=\"cke_accessibility\">, nedostupný</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Medzerník","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Klávesová skratka","optionDefault":"Predvolený"}}; \ No newline at end of file +CKEDITOR.lang['sk']={"widget":{"move":"Kliknite a potiahnite pre presunutie","label":"%1 widget"},"undo":{"redo":"Znovu","undo":"Späť"},"toolbar":{"toolbarCollapse":"Zbaliť lištu nástrojov","toolbarExpand":"Rozbaliť lištu nástrojov","toolbarGroups":{"document":"Dokument","clipboard":"Schránka pre kopírovanie/Späť","editing":"Upravovanie","forms":"Formuláre","basicstyles":"Základné štýly","paragraph":"Odsek","links":"Odkazy","insert":"Vložiť","styles":"Štýly","colors":"Farby","tools":"Nástroje"},"toolbars":"Lišty nástrojov editora"},"table":{"border":"Šírka orámovania","caption":"Popis","cell":{"menu":"Bunka","insertBefore":"Vložiť bunku pred","insertAfter":"Vložiť bunku za","deleteCell":"Vymazať bunky","merge":"Zlúčiť bunky","mergeRight":"Zlúčiť doprava","mergeDown":"Zlúčiť dole","splitHorizontal":"Rozdeliť bunky horizontálne","splitVertical":"Rozdeliť bunky vertikálne","title":"Vlastnosti bunky","cellType":"Typ bunky","rowSpan":"Rozsah riadkov","colSpan":"Rozsah stĺpcov","wordWrap":"Zalamovanie riadkov","hAlign":"Horizontálne zarovnanie","vAlign":"Vertikálne zarovnanie","alignBaseline":"Základná čiara (baseline)","bgColor":"Farba pozadia","borderColor":"Farba orámovania","data":"Dáta","header":"Hlavička","yes":"Áno","no":"Nie","invalidWidth":"Šírka bunky musí byť číslo.","invalidHeight":"Výška bunky musí byť číslo.","invalidRowSpan":"Rozsah riadkov musí byť celé číslo.","invalidColSpan":"Rozsah stĺpcov musí byť celé číslo.","chooseColor":"Vybrať"},"cellPad":"Odsadenie obsahu (cell padding)","cellSpace":"Vzdialenosť buniek (cell spacing)","column":{"menu":"Stĺpec","insertBefore":"Vložiť stĺpec pred","insertAfter":"Vložiť stĺpec po","deleteColumn":"Zmazať stĺpce"},"columns":"Stĺpce","deleteTable":"Vymazať tabuľku","headers":"Hlavička","headersBoth":"Obe","headersColumn":"Prvý stĺpec","headersNone":"Žiadne","headersRow":"Prvý riadok","heightUnit":"jednotka výšky","invalidBorder":"Šírka orámovania musí byť číslo.","invalidCellPadding":"Odsadenie v bunkách (cell padding) musí byť kladné číslo.","invalidCellSpacing":"Medzera mädzi bunkami (cell spacing) musí byť kladné číslo.","invalidCols":"Počet stĺpcov musí byť číslo väčšie ako 0.","invalidHeight":"Výška tabuľky musí byť číslo.","invalidRows":"Počet riadkov musí byť číslo väčšie ako 0.","invalidWidth":"Širka tabuľky musí byť číslo.","menu":"Vlastnosti tabuľky","row":{"menu":"Riadok","insertBefore":"Vložiť riadok pred","insertAfter":"Vložiť riadok po","deleteRow":"Vymazať riadky"},"rows":"Riadky","summary":"Prehľad","title":"Vlastnosti tabuľky","toolbar":"Tabuľka","widthPc":"percent","widthPx":"pixelov","widthUnit":"jednotka šírky"},"stylescombo":{"label":"Štýly","panelTitle":"Formátovanie štýlov","panelTitle1":"Štýly bloku","panelTitle2":"Znakové štýly","panelTitle3":"Štýly objektu"},"specialchar":{"options":"Možnosti špeciálneho znaku","title":"Výber špeciálneho znaku","toolbar":"Vložiť špeciálny znak"},"sourcedialog":{"toolbar":"Zdroj","title":"Zdroj"},"sourcearea":{"toolbar":"Zdroj"},"showblocks":{"toolbar":"Ukázať bloky"},"removeformat":{"toolbar":"Odstrániť formátovanie"},"pastetext":{"button":"Vložiť ako čistý text","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Vložiť ako čistý text"},"pastefromword":{"confirmCleanup":"Zdá sa, že vkladaný text pochádza z programu MS Word. Chcete ho pred vkladaním automaticky vyčistiť?","error":"Kvôli internej chybe nebolo možné vložené dáta vyčistiť","title":"Vložiť z Wordu","toolbar":"Vložiť z Wordu"},"notification":{"closed":"Notifikácia zatvorená."},"maximize":{"maximize":"Maximalizovať","minimize":"Minimalizovať"},"magicline":{"title":"Odsek vložiť sem"},"list":{"bulletedlist":"Vložiť/odstrániť zoznam s odrážkami","numberedlist":"Vložiť/odstrániť číslovaný zoznam"},"language":{"button":"Nastaviť jazyk","remove":"Odstrániť jazyk"},"indent":{"indent":"Zväčšiť odsadenie","outdent":"Zmenšiť odsadenie"},"image2":{"alt":"Alternatívny text","btnUpload":"Odoslať to na server","captioned":"Opísaný obrázok","captionPlaceholder":"Popis","infoTab":"Informácie o obrázku","lockRatio":"Pomer zámky","menu":"Vlastnosti obrázka","pathName":"obrázok","pathNameCaption":"popis","resetSize":"Pôvodná veľkosť","resizer":"Kliknite a potiahnite pre zmenu veľkosti","title":"Vlastnosti obrázka","uploadTab":"Nahrať","urlMissing":"Chýba URL zdroja obrázka.","altMissing":"Chýba alternatívny text."},"horizontalrule":{"toolbar":"Vložiť vodorovnú čiaru"},"format":{"label":"Formát","panelTitle":"Odsek","tag_address":"Adresa","tag_div":"Normálny (DIV)","tag_h1":"Nadpis 1","tag_h2":"Nadpis 2","tag_h3":"Nadpis 3","tag_h4":"Nadpis 4","tag_h5":"Nadpis 5","tag_h6":"Nadpis 6","tag_p":"Normálny","tag_pre":"Formátovaný"},"filetools":{"loadError":"Počas čítania súboru nastala chyba.","networkError":"Počas nahrávania súboru nastala chyba siete.","httpError404":"Počas nahrávania súboru nastala HTTP chyba (404: Súbor nebol nájdený).","httpError403":"Počas nahrávania súboru nastala HTTP chyba (403: Zakázaný).","httpError":"Počas nahrávania súboru nastala HTTP chyba (error status: %1).","noUrlError":"URL nahrávania nie je definovaný.","responseError":"Nesprávna odpoveď servera."},"elementspath":{"eleLabel":"Cesta prvkov","eleTitle":"%1 prvok"},"contextmenu":{"options":"Možnosti kontextového menu"},"clipboard":{"copy":"Kopírovať","copyError":"Bezpečnostné nastavenia vášho prehliadača nedovoľujú editoru automaticky spustiť operáciu kopírovania. Použite na to klávesnicu (Ctrl/Cmd+C).","cut":"Vystrihnúť","cutError":"Bezpečnostné nastavenia vášho prehliadača nedovoľujú editoru automaticky spustiť operáciu vystrihnutia. Použite na to klávesnicu (Ctrl/Cmd+X).","paste":"Vložiť","pasteNotification":"Stlačte %1 na vloženie. Váš prehliadač nepodporuje vloženie prostredníctvom tlačidla v nástrojovej lište alebo voľby v kontextovom menu.","pasteArea":"Miesto pre vloženie","pasteMsg":"Vložte svoj obsah do nasledujúcej oblasti a stlačte OK."},"blockquote":{"toolbar":"Citácia"},"basicstyles":{"bold":"Tučné","italic":"Kurzíva","strike":"Prečiarknuté","subscript":"Dolný index","superscript":"Horný index","underline":"Podčiarknuté"},"about":{"copy":"Copyright © $1. Všetky práva vyhradené.","dlgTitle":"O aplikácii CKEditor 4","moreInfo":"Pre informácie o licenciách, prosíme, navštívte našu web stránku:"},"editor":"Editor formátovaného textu","editorPanel":"Panel editora formátovaného textu","common":{"editorHelp":"Stlačením ALT 0 spustiť pomocníka","browseServer":"Prehliadať server","url":"URL","protocol":"Protokol","upload":"Odoslať","uploadSubmit":"Odoslať na server","image":"Obrázok","flash":"Flash","form":"Formulár","checkbox":"Zaškrtávacie pole","radio":"Prepínač","textField":"Textové pole","textarea":"Textová oblasť","hiddenField":"Skryté pole","button":"Tlačidlo","select":"Rozbaľovací zoznam","imageButton":"Obrázkové tlačidlo","notSet":"<nenastavené>","id":"Id","name":"Meno","langDir":"Orientácia jazyka","langDirLtr":"Zľava doprava (LTR)","langDirRtl":"Sprava doľava (RTL)","langCode":"Kód jazyka","longDescr":"Dlhý popis URL","cssClass":"Trieda štýlu","advisoryTitle":"Pomocný titulok","cssStyle":"Štýl","ok":"OK","cancel":"Zrušiť","close":"Zatvoriť","preview":"Náhľad","resize":"Zmeniť veľkosť","generalTab":"Hlavné","advancedTab":"Rozšírené","validateNumberFailed":"Hodnota nie je číslo.","confirmNewPage":"Prajete si načítat novú stránku? Všetky neuložené zmeny budú stratené. ","confirmCancel":"Niektore možnosti boli zmenené. Naozaj chcete zavrieť okno?","options":"Možnosti","target":"Cieľ","targetNew":"Nové okno (_blank)","targetTop":"Najvrchnejšie okno (_top)","targetSelf":"To isté okno (_self)","targetParent":"Rodičovské okno (_parent)","langDirLTR":"Zľava doprava (LTR)","langDirRTL":"Sprava doľava (RTL)","styles":"Štýl","cssClasses":"Triedy štýlu","width":"Šírka","height":"Výška","align":"Zarovnanie","left":"Vľavo","right":"Vpravo","center":"Na stred","justify":"Do bloku","alignLeft":"Zarovnať vľavo","alignRight":"Zarovnať vpravo","alignCenter":"Zarovnať na stred","alignTop":"Nahor","alignMiddle":"Na stred","alignBottom":"Dole","alignNone":"Žiadne","invalidValue":"Neplatná hodnota.","invalidHeight":"Výška musí byť číslo.","invalidWidth":"Šírka musí byť číslo.","invalidLength":"Hodnota uvedená v poli \"%1\" musí byť kladné číslo a s platnou mernou jednotkou (%2), alebo bez nej.","invalidCssLength":"Špecifikovaná hodnota pre pole \"%1\" musí byť kladné číslo s alebo bez platnej CSS mernej jednotky (px, %, in, cm, mm, em, ex, pt alebo pc).","invalidHtmlLength":"Špecifikovaná hodnota pre pole \"%1\" musí byť kladné číslo s alebo bez platnej HTML mernej jednotky (px alebo %).","invalidInlineStyle":"Zadaná hodnota pre inline štýl musí pozostávať s jedného, alebo viac dvojíc formátu \"názov: hodnota\", oddelených bodkočiarkou.","cssLengthTooltip":"Vložte číslo pre hodnotu v pixeloch alebo číslo so správnou CSS jednotou (px, %, in, cm, mm, em, ex, pt alebo pc).","unavailable":"%1<span class=\"cke_accessibility\">, nedostupný</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Medzerník","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Klávesová skratka","optionDefault":"Predvolený"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/sr-latn.js b/web/core/assets/vendor/ckeditor/lang/sr-latn.js index d965e75f2a0fa616f35a5f4e3169efbdedc1ddcb..c20cb32b751535900209c91c47616dbdf1e6bf86 100644 --- a/web/core/assets/vendor/ckeditor/lang/sr-latn.js +++ b/web/core/assets/vendor/ckeditor/lang/sr-latn.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['sr-latn']={"widget":{"move":"Kliknite i povucite da bi pomerali","label":"%1 modul"},"undo":{"redo":"Ponovi ","undo":"Vrati"},"toolbar":{"toolbarCollapse":"Zatvori alatnu traku","toolbarExpand":"Otvori alatnu traku","toolbarGroups":{"document":"Dokument","clipboard":"Clipboard/Vrati","editing":"Uredi","forms":"Obrasci","basicstyles":"Osnovni stilovi","paragraph":"Pasus","links":"Linkovi","insert":"Dodaj","styles":"Stilovi","colors":"Boje","tools":"Alatke"},"toolbars":"Uredjivač alatne trake"},"table":{"border":"Veličina okvira","caption":"Naslov tabele","cell":{"menu":"Ćelija","insertBefore":"Ubaci levo","insertAfter":"Ubaci desno","deleteCell":"Obriši ćelije","merge":"Spoj ćelije","mergeRight":"Spolj ćelije desno","mergeDown":"Spolj čelije na dole","splitHorizontal":"Razdvoji ćelije vodoravno","splitVertical":"Razdvoji ćelije uspravno","title":"Karakteristike ćelija","cellType":"Tip ćelija","rowSpan":"Spoj uzdužno","colSpan":"Spoj vodoravno","wordWrap":"Brisanje dugačkih redova","hAlign":"Ravnanje vodoravno","vAlign":"Ravnanje uspravno","alignBaseline":"Bazna linija","bgColor":"Boja pozadine","borderColor":"Boja okvira","data":"Podatak","header":"Zaglavlje","yes":"Da","no":"Nе","invalidWidth":"U polje širina možete upisati samo brojeve. ","invalidHeight":"U polje visina možete upisati samo brojeve.","invalidRowSpan":"U polje spoj uspravno možete upistai samo brojeve.","invalidColSpan":"U polje spoj vodoravno možete upistai samo brojeve.","chooseColor":"Izaberi"},"cellPad":"Razmak ćelija","cellSpace":"Ćelijski prostor","column":{"menu":"Kolona","insertBefore":"Ubaci levo","insertAfter":"Ubaci desno","deleteColumn":"Obriši kolone"},"columns":"Kolona","deleteTable":"Izbriši tabelu","headers":"Zaglavlja","headersBoth":"Oba","headersColumn":"Prva kolona","headersNone":"Nema","headersRow":"Prvi red","heightUnit":"height unit","invalidBorder":"Veličina okvira mora biti broj.","invalidCellPadding":"Padding polja mora biti pozitivan broj.","invalidCellSpacing":"Razmak između ćelija mora biti pozitivan broj.","invalidCols":"Broj kolona mora biti broj veći od 0.","invalidHeight":"Visina tabele mora biti broj.","invalidRows":"Broj redova mora biti veći od 0.","invalidWidth":"Širina tabele mora biti broj.","menu":"Osobine tabele","row":{"menu":"Red","insertBefore":"Ubaci iznad","insertAfter":"Ubaci ispod","deleteRow":"Obriši redove"},"rows":"Redovi","summary":"Opis","title":"Karakteristike tabele","toolbar":"Tabela","widthPc":"procenata","widthPx":"piksela","widthUnit":"jedinica za širinu"},"stylescombo":{"label":"Stil","panelTitle":"Stilovi formatiranja","panelTitle1":"Blok stilovi","panelTitle2":"Inline stilovi","panelTitle3":"Stilovi objekta"},"specialchar":{"options":"Opcije specijalnog karaktera","title":"Odaberite specijalni karakter","toolbar":"Unesi specijalni karakter"},"sourcedialog":{"toolbar":"Izvorni kod","title":"Izvorni kod"},"sourcearea":{"toolbar":"Izvorni kod"},"showblocks":{"toolbar":"Prikaži blokove"},"removeformat":{"toolbar":"Ukloni formatiranje"},"pastetext":{"button":"Zalepi kao neformiran tekst","pasteNotification":"Pritisnite taster % 1 da bi ste nalepili. Pretraživač ne podržava lepljenje pomoću tastera na traci sa alatkama ili iz menija.","title":"Zalepi kao neformiran tekst"},"pastefromword":{"confirmCleanup":"Kopirani tekst je iz Word-a. Želite ga očistiti? ","error":"Zbog interne greške tekst nije očišćen.","title":"Zalepi iz Worda","toolbar":"Zalepi iz Worda"},"notification":{"closed":"Obaveštenje zatvoreno"},"maximize":{"maximize":"Maksimalna veličina","minimize":"Minimalna veličina"},"magicline":{"title":"Umetnite pasus ovde."},"list":{"bulletedlist":"Nаbrajanje","numberedlist":"Numerisanje"},"language":{"button":"Podesi jezik","remove":"Odstrani jezik"},"indent":{"indent":"Uvećaj marginu","outdent":"Smanji marginu"},"image2":{"alt":"Alternativni tekst","btnUpload":"Pošalji na server","captioned":"Slika sa natpisom","captionPlaceholder":"Natpis","infoTab":"Osnovne karakteristike","lockRatio":"Zadrži odnos","menu":"Osobine slike","pathName":"Slika","pathNameCaption":"Natpis","resetSize":"Original veličina","resizer":"Kliknite i povucite da bi ste promenili veličinu","title":"Osobine slika","uploadTab":"Postavi","urlMissing":"Nedostaje URL slike","altMissing":"Nedostaje alternativni tekst"},"horizontalrule":{"toolbar":"Unesi horizontalnu liniju"},"format":{"label":"Format","panelTitle":"Format pasusa","tag_address":"Adresa","tag_div":"Normalno (DIV)","tag_h1":"Naslov 1","tag_h2":"Naslov 2","tag_h3":"Naslov 3","tag_h4":"Naslov 4","tag_h5":"Naslov 5","tag_h6":"Naslov 6","tag_p":"Normalno","tag_pre":"Formatirano"},"filetools":{"loadError":"Došlo je do greške pri čitanju datoteke.","networkError":"Tokom postavljanja datoteke došlo je do mrežne greške","httpError404":"Tokom postavljanja datoteke došlo je do HTTP greške (404: Datoteka nije pronadjena).","httpError403":"Tokom postavljanja datoteke došlo je do HTTP greške (403: Zabranjena).","httpError":"Tokom postavljanja datoteke došlo je do HTTP greške (status greške: %1).","noUrlError":"URL adresa za postavljanje nije navedena.","responseError":"Neispravan odgovor servera."},"elementspath":{"eleLabel":"Put do elemenata","eleTitle":"%1 element"},"contextmenu":{"options":"Opcije menija"},"clipboard":{"copy":"Kopiraj","copyError":"Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+C).","cut":"Iseci","cutError":"Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+X).","paste":"Zalepi","pasteNotification":"\"Pritisnite taster %1 za lepljenje. Vaš pretraživač ne dozvoljava lepljenje iz alatne trake ili menia.","pasteArea":"Prostor za lepljenje","pasteMsg":"Nalepite sadržaj u sledeći prostor i pritisnite taster OK."},"blockquote":{"toolbar":"Blok citat"},"basicstyles":{"bold":"Podebljano","italic":"Kurziv","strike":"Precrtano","subscript":"Indeks","superscript":"Stepen","underline":"Podvučeno"},"about":{"copy":"Copyright © $1. Sva prava zadržana.","dlgTitle":"O CKEditor 4","moreInfo":"Za informacije o licenci posetite našu web stranicu:"},"editor":"Bogati uređivač teksta","editorPanel":"Bogati uređivač panel","common":{"editorHelp":"Za pomoć pritisnite ALT 0","browseServer":"Pretraži na serveru","url":"URL","protocol":"Protokol","upload":"Pošalji","uploadSubmit":"Pošalji na server","image":"Slika","flash":"Fleš","form":"Formular","checkbox":"Polje za potvrdu","radio":"Radio-dugme","textField":"Tekstualno polje","textarea":"Zona teksta","hiddenField":"Skriveno polje","button":"Dugme","select":"Padajuća lista","imageButton":"Dugme sa slikom","notSet":"<nije postavljeno> ","id":"Id","name":"Naziv","langDir":"Smer pisanja","langDirLtr":"S leva na desno (LTR)","langDirRtl":"S desna na levo (RTL)","langCode":"Kôd jezika","longDescr":"Detaljan opis URL","cssClass":"CSS klase","advisoryTitle":"Advisory naslov","cssStyle":"Stil","ok":"OK","cancel":"Otkaži","close":"Zatvori","preview":"Izgled stranice","resize":"Promena veličine","generalTab":"Opšti","advancedTab":"Dalje opcije","validateNumberFailed":"Ova vrednost nije broj.","confirmNewPage":"Nesačuvane promene ovog sadržaja će biti izgubljene. Jeste li sigurni da želita da učitate novu stranu?","confirmCancel":"Neka podešavanja su promenjena.Sigurno želite zatvoriti prozor?","options":"Podešavanja","target":"Cilj","targetNew":"Novi prozor (_blank)","targetTop":"Prozor na vrhu stranice(_top)","targetSelf":"Isti prozor (_self)","targetParent":"Matični prozor (_parent)","langDirLTR":"S leva na desno (LTR)","langDirRTL":"S desna na levo (RTL)","styles":"Stil","cssClasses":"CSS klase","width":"Širina","height":"Visina","align":"Ravnanje","left":"Levo","right":"Desno","center":"Sredina","justify":"Obostrano ravnanje","alignLeft":"Levo ravnanje","alignRight":"Desno ravnanje","alignCenter":"Centralno ravnanje","alignTop":"Vrh","alignMiddle":"Sredina","alignBottom":"Dole","alignNone":"Ništa","invalidValue":"Nevažeća vrednost.","invalidHeight":"U polje visina mogu se upisati samo brojevi.","invalidWidth":"U polje širina mogu se upisati samo brojevi.","invalidLength":"U \"%1\" polju data vrednos treba da bude pozitivan broj, sa validnom mernom jedinicom ili bez (%2).","invalidCssLength":"Za \"%1\" data vrednost mora biti pozitivan broj, moguće označiti sa validnim CSS vrednosću (px, %, in, cm, mm, em, ex, pt, or pc).","invalidHtmlLength":"Za \"%1\" data vrednost mora biti potitivan broj, moguće označiti sa validnim HTML vrednošću (px or %).","invalidInlineStyle":"Vrednost u inline styleu mora da sadrži barem jedan rekord u formatu \"name : value\", razdeljeni sa tačkazapetom.","cssLengthTooltip":"Odredite broj u pixeima ili u validnim CSS vrednostima (px, %, in, cm, mm, em, ex, pt, or pc).","unavailable":"%1<span class=\"cke_accessibility\">, unavailable</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Taster za prečicu","optionDefault":"Оsnovni"}}; \ No newline at end of file +CKEDITOR.lang['sr-latn']={"widget":{"move":"Kliknite i povucite da bi pomerali","label":"%1 modul"},"undo":{"redo":"Ponovi ","undo":"Vrati"},"toolbar":{"toolbarCollapse":"Zatvori alatnu traku","toolbarExpand":"Otvori alatnu traku","toolbarGroups":{"document":"Dokument","clipboard":"Clipboard/Vrati","editing":"Uredi","forms":"Obrasci","basicstyles":"Osnovni stilovi","paragraph":"Pasus","links":"Linkovi","insert":"Dodaj","styles":"Stilovi","colors":"Boje","tools":"Alatke"},"toolbars":"Uredjivač alatne trake"},"table":{"border":"Veličina okvira","caption":"Naslov tabele","cell":{"menu":"Ćelija","insertBefore":"Ubaci levo","insertAfter":"Ubaci desno","deleteCell":"Obriši ćelije","merge":"Spoj ćelije","mergeRight":"Spolj ćelije desno","mergeDown":"Spolj čelije na dole","splitHorizontal":"Razdvoji ćelije vodoravno","splitVertical":"Razdvoji ćelije uspravno","title":"Karakteristike ćelija","cellType":"Tip ćelija","rowSpan":"Spoj uzdužno","colSpan":"Spoj vodoravno","wordWrap":"Brisanje dugačkih redova","hAlign":"Ravnanje vodoravno","vAlign":"Ravnanje uspravno","alignBaseline":"Bazna linija","bgColor":"Boja pozadine","borderColor":"Boja okvira","data":"Podatak","header":"Zaglavlje","yes":"Da","no":"Nе","invalidWidth":"U polje širina možete upisati samo brojeve. ","invalidHeight":"U polje visina možete upisati samo brojeve.","invalidRowSpan":"U polje spoj uspravno možete upistai samo brojeve.","invalidColSpan":"U polje spoj vodoravno možete upistai samo brojeve.","chooseColor":"Izaberi"},"cellPad":"Razmak ćelija","cellSpace":"Ćelijski prostor","column":{"menu":"Kolona","insertBefore":"Ubaci levo","insertAfter":"Ubaci desno","deleteColumn":"Obriši kolone"},"columns":"Kolona","deleteTable":"Izbriši tabelu","headers":"Zaglavlja","headersBoth":"Oba","headersColumn":"Prva kolona","headersNone":"Nema","headersRow":"Prvi red","heightUnit":"Jedinica visine","invalidBorder":"Veličina okvira mora biti broj.","invalidCellPadding":"Padding polja mora biti pozitivan broj.","invalidCellSpacing":"Razmak između ćelija mora biti pozitivan broj.","invalidCols":"Broj kolona mora biti broj veći od 0.","invalidHeight":"Visina tabele mora biti broj.","invalidRows":"Broj redova mora biti veći od 0.","invalidWidth":"Širina tabele mora biti broj.","menu":"Osobine tabele","row":{"menu":"Red","insertBefore":"Ubaci iznad","insertAfter":"Ubaci ispod","deleteRow":"Obriši redove"},"rows":"Redovi","summary":"Opis","title":"Karakteristike tabele","toolbar":"Tabela","widthPc":"procenata","widthPx":"piksela","widthUnit":"jedinica za širinu"},"stylescombo":{"label":"Stil","panelTitle":"Stilovi formatiranja","panelTitle1":"Blok stilovi","panelTitle2":"Inline stilovi","panelTitle3":"Stilovi objekta"},"specialchar":{"options":"Opcije specijalnog karaktera","title":"Odaberite specijalni karakter","toolbar":"Unesi specijalni karakter"},"sourcedialog":{"toolbar":"Izvorni kod","title":"Izvorni kod"},"sourcearea":{"toolbar":"Izvorni kod"},"showblocks":{"toolbar":"Prikaži blokove"},"removeformat":{"toolbar":"Ukloni formatiranje"},"pastetext":{"button":"Zalepi kao neformiran tekst","pasteNotification":"Pritisnite taster % 1 da bi ste nalepili. Pretraživač ne podržava lepljenje pomoću tastera na traci sa alatkama ili iz menija.","title":"Zalepi kao neformiran tekst"},"pastefromword":{"confirmCleanup":"Kopirani tekst je iz Word-a. Želite ga očistiti? ","error":"Zbog interne greške tekst nije očišćen.","title":"Zalepi iz Worda","toolbar":"Zalepi iz Worda"},"notification":{"closed":"Obaveštenje zatvoreno"},"maximize":{"maximize":"Maksimalna veličina","minimize":"Minimalna veličina"},"magicline":{"title":"Umetnite pasus ovde."},"list":{"bulletedlist":"Nаbrajanje","numberedlist":"Numerisanje"},"language":{"button":"Podesi jezik","remove":"Odstrani jezik"},"indent":{"indent":"Uvećaj marginu","outdent":"Smanji marginu"},"image2":{"alt":"Alternativni tekst","btnUpload":"Pošalji na server","captioned":"Slika sa natpisom","captionPlaceholder":"Natpis","infoTab":"Osnovne karakteristike","lockRatio":"Zadrži odnos","menu":"Osobine slike","pathName":"Slika","pathNameCaption":"Natpis","resetSize":"Original veličina","resizer":"Kliknite i povucite da bi ste promenili veličinu","title":"Osobine slika","uploadTab":"Postavi","urlMissing":"Nedostaje URL slike","altMissing":"Nedostaje alternativni tekst"},"horizontalrule":{"toolbar":"Unesi horizontalnu liniju"},"format":{"label":"Format","panelTitle":"Format pasusa","tag_address":"Adresa","tag_div":"Normalno (DIV)","tag_h1":"Naslov 1","tag_h2":"Naslov 2","tag_h3":"Naslov 3","tag_h4":"Naslov 4","tag_h5":"Naslov 5","tag_h6":"Naslov 6","tag_p":"Normalno","tag_pre":"Formatirano"},"filetools":{"loadError":"Došlo je do greške pri čitanju datoteke.","networkError":"Tokom postavljanja datoteke došlo je do mrežne greške","httpError404":"Tokom postavljanja datoteke došlo je do HTTP greške (404: Datoteka nije pronadjena).","httpError403":"Tokom postavljanja datoteke došlo je do HTTP greške (403: Zabranjena).","httpError":"Tokom postavljanja datoteke došlo je do HTTP greške (status greške: %1).","noUrlError":"URL adresa za postavljanje nije navedena.","responseError":"Neispravan odgovor servera."},"elementspath":{"eleLabel":"Put do elemenata","eleTitle":"%1 element"},"contextmenu":{"options":"Opcije menija"},"clipboard":{"copy":"Kopiraj","copyError":"Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+C).","cut":"Iseci","cutError":"Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl/Cmd+X).","paste":"Zalepi","pasteNotification":"\"Pritisnite taster %1 za lepljenje. Vaš pretraživač ne dozvoljava lepljenje iz alatne trake ili menia.","pasteArea":"Prostor za lepljenje","pasteMsg":"Nalepite sadržaj u sledeći prostor i pritisnite taster OK."},"blockquote":{"toolbar":"Blok citat"},"basicstyles":{"bold":"Podebljano","italic":"Kurziv","strike":"Precrtano","subscript":"Indeks","superscript":"Stepen","underline":"Podvučeno"},"about":{"copy":"Copyright © $1. Sva prava zadržana.","dlgTitle":"O CKEditor 4","moreInfo":"Za informacije o licenci posetite našu web stranicu:"},"editor":"Bogati uređivač teksta","editorPanel":"Bogati uređivač panel","common":{"editorHelp":"Za pomoć pritisnite ALT 0","browseServer":"Pretraži na serveru","url":"URL","protocol":"Protokol","upload":"Pošalji","uploadSubmit":"Pošalji na server","image":"Slika","flash":"Fleš","form":"Formular","checkbox":"Polje za potvrdu","radio":"Radio-dugme","textField":"Tekstualno polje","textarea":"Zona teksta","hiddenField":"Skriveno polje","button":"Dugme","select":"Padajuća lista","imageButton":"Dugme sa slikom","notSet":"<nije postavljeno> ","id":"Id","name":"Naziv","langDir":"Smer pisanja","langDirLtr":"S leva na desno (LTR)","langDirRtl":"S desna na levo (RTL)","langCode":"Kôd jezika","longDescr":"Detaljan opis URL","cssClass":"CSS klase","advisoryTitle":"Advisory naslov","cssStyle":"Stil","ok":"OK","cancel":"Otkaži","close":"Zatvori","preview":"Izgled stranice","resize":"Promena veličine","generalTab":"Opšti","advancedTab":"Dalje opcije","validateNumberFailed":"Ova vrednost nije broj.","confirmNewPage":"Nesačuvane promene ovog sadržaja će biti izgubljene. Jeste li sigurni da želita da učitate novu stranu?","confirmCancel":"Neka podešavanja su promenjena.Sigurno želite zatvoriti prozor?","options":"Podešavanja","target":"Cilj","targetNew":"Novi prozor (_blank)","targetTop":"Prozor na vrhu stranice(_top)","targetSelf":"Isti prozor (_self)","targetParent":"Matični prozor (_parent)","langDirLTR":"S leva na desno (LTR)","langDirRTL":"S desna na levo (RTL)","styles":"Stil","cssClasses":"CSS klase","width":"Širina","height":"Visina","align":"Ravnanje","left":"Levo","right":"Desno","center":"Sredina","justify":"Obostrano ravnanje","alignLeft":"Levo ravnanje","alignRight":"Desno ravnanje","alignCenter":"Centralno ravnanje","alignTop":"Vrh","alignMiddle":"Sredina","alignBottom":"Dole","alignNone":"Ništa","invalidValue":"Nevažeća vrednost.","invalidHeight":"U polje visina mogu se upisati samo brojevi.","invalidWidth":"U polje širina mogu se upisati samo brojevi.","invalidLength":"U \"%1\" polju data vrednos treba da bude pozitivan broj, sa validnom mernom jedinicom ili bez (%2).","invalidCssLength":"Za \"%1\" data vrednost mora biti pozitivan broj, moguće označiti sa validnim CSS vrednosću (px, %, in, cm, mm, em, ex, pt, or pc).","invalidHtmlLength":"Za \"%1\" data vrednost mora biti potitivan broj, moguće označiti sa validnim HTML vrednošću (px or %).","invalidInlineStyle":"Vrednost u inline styleu mora da sadrži barem jedan rekord u formatu \"name : value\", razdeljeni sa tačkazapetom.","cssLengthTooltip":"Odredite broj u pixeima ili u validnim CSS vrednostima (px, %, in, cm, mm, em, ex, pt, or pc).","unavailable":"%1<span class=\"cke_accessibility\">, unavailable</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Taster za prečicu","optionDefault":"Оsnovni"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/sr.js b/web/core/assets/vendor/ckeditor/lang/sr.js index e9a782ca1bb2e8c26bc3bf97d12dfae3ab9f3f51..fb50785e65abcaa54aa507b27fbebfd2378ec51d 100644 --- a/web/core/assets/vendor/ckeditor/lang/sr.js +++ b/web/core/assets/vendor/ckeditor/lang/sr.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['sr']={"widget":{"move":"Кликните и повуците да би померали","label":"%1 модул"},"undo":{"redo":"Понови ","undo":"Врати"},"toolbar":{"toolbarCollapse":"Затвори алатну траку","toolbarExpand":"Отвори алатну траку","toolbarGroups":{"document":"Документ","clipboard":"Clipboard/Врати","editing":"Уреди","forms":"Обрасци","basicstyles":"Основни стилови","paragraph":"Пасус","links":"Линкови","insert":"Додај","styles":"Стилови","colors":"Боје","tools":"Алатке"},"toolbars":"Уређивач алатне траке"},"table":{"border":"Величина оквира","caption":"Наслов табеле","cell":{"menu":"Ћелија","insertBefore":"Убаци лево","insertAfter":"Убаци десно","deleteCell":"Обриши ћелије","merge":"Спој ћелије","mergeRight":"Спој ћелије на десно","mergeDown":"Спој ћелије на доле","splitHorizontal":"Раздвој ћелије водоравно","splitVertical":"Раздвој ћелије усправно","title":"Карактеристика ћелија","cellType":"Тип ћелија","rowSpan":"Спој уздужно","colSpan":"Спој водоравно","wordWrap":"Брисање дугачких редова","hAlign":"Равнање водоравно","vAlign":"Равнање усправно","alignBaseline":"Базна линија","bgColor":"Боја позадине","borderColor":"Боја оквира","data":"Податак","header":"Наслов","yes":"Да","no":"Не","invalidWidth":"У поље ширина можете уписати само бројеве.","invalidHeight":"У поље висина можете уписати само бројеве.","invalidRowSpan":"У поље спој усправно можете уписати само бројеве.","invalidColSpan":"У поље спој водоравно можете уписати само бројеве.","chooseColor":"Изабери"},"cellPad":"Размак ћелија","cellSpace":"Ћелијски простор","column":{"menu":"Колона","insertBefore":"Убаци лево","insertAfter":"Убаци десно","deleteColumn":"Обриши колоне"},"columns":"Kолона","deleteTable":"Обриши таблу","headers":"Поглавља","headersBoth":"Оба","headersColumn":"Прва колона","headersNone":"Нема","headersRow":"Први ред","heightUnit":"height unit","invalidBorder":"Величина ивице треба да буде цифра.","invalidCellPadding":"Пуњење ћелије треба да буде позитивна цифра.","invalidCellSpacing":"Размак ћелије треба да буде позитивна цифра.","invalidCols":"Број колона треба да буде цифра већа од 0.","invalidHeight":"Висина табеле треба да буде цифра.","invalidRows":"Број реда треба да буде цифра већа од 0.","invalidWidth":"Ширина табеле треба да буде цифра.","menu":"Карактеристике табеле","row":{"menu":"Ред","insertBefore":"Убаци изнад","insertAfter":"Убаци испод","deleteRow":"Обриши редове"},"rows":"Редови","summary":"Oпис","title":"Карактеристике табеле","toolbar":"Табела","widthPc":"процената","widthPx":"пиксела","widthUnit":"јединица ширине"},"stylescombo":{"label":"Стил","panelTitle":"Стилови форматирања","panelTitle1":"Блок стилови","panelTitle2":"Инлине стилови","panelTitle3":"Стилови објекта"},"specialchar":{"options":"Опције специјалног карактера","title":"Одаберите специјални карактер","toolbar":"Унеси специјални карактер"},"sourcedialog":{"toolbar":"Изворни код","title":"Изворни код"},"sourcearea":{"toolbar":"Изворни код"},"showblocks":{"toolbar":"Прикажи блокове"},"removeformat":{"toolbar":"Уклони форматирање"},"pastetext":{"button":"Залепи као неформиран текст","pasteNotification":"Притисните% 1 да бисте налепили. Претраживач не подржава лепљење помоћу тастера на траци са алаткама или из менија.","title":"Залепи као неформиран текст"},"pastefromword":{"confirmCleanup":"Уметнути текст је копиран из Word-а. Желите га очитити? ","error":"Због интерне грешке текст није очишћен.","title":"Залепи из Worda","toolbar":"Залепи из Worda"},"notification":{"closed":"Обавештење затворено"},"maximize":{"maximize":"Максимална величина","minimize":"Минимлна величина"},"magicline":{"title":"Уметните пасус овде."},"list":{"bulletedlist":"Набрајање","numberedlist":"Нумерисање"},"language":{"button":"Подеси језик","remove":"Одстрани језик"},"indent":{"indent":"Увећај леву маргину","outdent":"Смањи маргину"},"image2":{"alt":"Алтернативни текст","btnUpload":"Пошаљи на сервер","captioned":"Слика са натписом","captionPlaceholder":"Натпис","infoTab":"Основне карактеристике","lockRatio":"Задржи однос","menu":"Особине слика","pathName":"Слика","pathNameCaption":"Натпис","resetSize":"Оригинална величина","resizer":"Кликните и повуците да би сте променили величину","title":"Карактеристике слике","uploadTab":"Постави","urlMissing":"Недостаје УРЛ слике.","altMissing":"Недостаје алтернативни текст."},"horizontalrule":{"toolbar":"Унеси хоризонталну линију"},"format":{"label":"Формат","panelTitle":"Формат пасуса","tag_address":"Адреса","tag_div":"Нормално (DIV)","tag_h1":"Наслов 1","tag_h2":"Наслов 2","tag_h3":" Наслов 3","tag_h4":"Наслов 4","tag_h5":"Наслов 5","tag_h6":"Наслов 6","tag_p":"Нормално","tag_pre":"Форматирано"},"filetools":{"loadError":"Дошло је до грешке при читању датотеке.","networkError":"Током постављања датотеке дошло је до мрежне грешке.","httpError404":"Током постављања датотеке дошло је до ХТТП грешке (404: Датотека није пронађена).","httpError403":"Током постављања датотеке дошло је до ХТТП грешке (403: Забрањена).","httpError":"Током постављања датотеке дошло је до ХТТП грешке (статус грешке: %1).","noUrlError":"УРЛ адреса за постављање није наведена.","responseError":"Неисправан одговор сервера."},"elementspath":{"eleLabel":"Пут до елемената","eleTitle":"%1 eлемент"},"contextmenu":{"options":"Опције менија"},"clipboard":{"copy":"Копирај","copyError":"Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+C).","cut":"Исеци","cutError":"Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+X).","paste":"Залепи","pasteNotification":"Притисните тастер %1 за лепљење. Ваш ретраживач не дозвољаба лепљење из алатне траке или мениа.","pasteArea":"Залепи зону","pasteMsg":"Налепите садржај у следећи простор и притисните тастер OK."},"blockquote":{"toolbar":"Блок цитат"},"basicstyles":{"bold":"Подебљано","italic":"Курзив","strike":"Прецртано","subscript":"Индекс","superscript":"Степен","underline":"Подвучено"},"about":{"copy":"Copyright © $1. Сва права задржана.","dlgTitle":"О CKEditor 4","moreInfo":"За информације о лиценци посетите нашу веб страницу:"},"editor":"ХТМЛ уређивач текста","editorPanel":"ХТМЛ уређивач панел","common":{"editorHelp":"За помоћ притисните АЛТ 0","browseServer":"Претражи на серверу","url":"УРЛ","protocol":"Протокол","upload":"Пошаљи","uploadSubmit":"Пошаљи на сервер","image":"Слика","flash":"Флеш елемент","form":"Формулар","checkbox":"Поље за потврду","radio":"Радио-дугме","textField":"Текстуално поље","textarea":"Зона текста","hiddenField":"Скривено поље","button":"Дугме","select":"Падајућа листа","imageButton":"Дугме са сликом","notSet":"<није постављено>","id":"Ид","name":"Назив","langDir":"Смер писања","langDirLtr":"С лева на десно (LTR)","langDirRtl":"С десна на лево (RTL)","langCode":"Kôд језика","longDescr":"Пун опис УРЛ","cssClass":"ЦСС класе","advisoryTitle":"Advisory наслов","cssStyle":"Стил","ok":"OK","cancel":"Oткажи","close":"Затвори","preview":"Изглед странице","resize":"Промена величине","generalTab":"Општи","advancedTab":"Далје опције","validateNumberFailed":"Ова вредност није број.","confirmNewPage":"Несачуване промене овог садржаја ће бити изгублјене. Јесте ли сигурни да желите да учитате нову страну","confirmCancel":"Нека подешавања су променјена. Сигурмо желите затворити обај прозор?","options":"Подешавања","target":"Циљ","targetNew":"Ноби прозор (_blank)","targetTop":"Прозор на врху странице (_top)","targetSelf":"Исти прозор (_self)","targetParent":"Матични прозор(_parent)","langDirLTR":"С лева на десно (LTR)","langDirRTL":"С десна на лево (RTL)","styles":"Стил","cssClasses":"ЦСС класе","width":"Ширина","height":"Висина","align":"Равнање","left":"Лево","right":"Десно","center":"Средина","justify":"Обострано равнање","alignLeft":"Лево равнање","alignRight":"Десно равнање","alignCenter":"Централно равнанје","alignTop":"Врх","alignMiddle":"Средина","alignBottom":"Доле","alignNone":"Ништа","invalidValue":"Неважећа вредност.","invalidHeight":"У поље висина могу се уписати само бројеви.","invalidWidth":"У поље ширина могу се уписати само бројеви.","invalidLength":"У \"%1\" полју дата вредност треба да будепозитиван број са валидном мерном јединицом или без ње (%2).","invalidCssLength":"За \"%1\" дата вредност мора бити позитиван број, могуће означити са валидним ЦСС вредошћу (px, %, in, cm, mm, em, ex, pt, or pc).","invalidHtmlLength":"Зa \"%1\" дата вредност мора бити позитиван број, могуће означити са валидним ХТМЛ вредношћу (px or %).","invalidInlineStyle":"Вреднодст у инлине стилу мора да садржи барем један рекорд у формату \"name : value\", раздељени са тачказапетом.","cssLengthTooltip":"Одредите број у пикселима или у валидним ЦСС вредностима (px, %, in, cm, mm, em, ex, pt, or pc).","unavailable":"%1<span class=\"cke_accessibility\">, unavailable</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Tастер за пречицу","optionDefault":"Основни"}}; \ No newline at end of file +CKEDITOR.lang['sr']={"widget":{"move":"Кликните и повуците да би померали","label":"%1 модул"},"undo":{"redo":"Понови ","undo":"Врати"},"toolbar":{"toolbarCollapse":"Затвори алатну траку","toolbarExpand":"Отвори алатну траку","toolbarGroups":{"document":"Документ","clipboard":"Clipboard/Врати","editing":"Уреди","forms":"Обрасци","basicstyles":"Основни стилови","paragraph":"Пасус","links":"Линкови","insert":"Додај","styles":"Стилови","colors":"Боје","tools":"Алатке"},"toolbars":"Уређивач алатне траке"},"table":{"border":"Величина оквира","caption":"Наслов табеле","cell":{"menu":"Ћелија","insertBefore":"Убаци лево","insertAfter":"Убаци десно","deleteCell":"Обриши ћелије","merge":"Спој ћелије","mergeRight":"Спој ћелије на десно","mergeDown":"Спој ћелије на доле","splitHorizontal":"Раздвој ћелије водоравно","splitVertical":"Раздвој ћелије усправно","title":"Карактеристика ћелија","cellType":"Тип ћелија","rowSpan":"Спој уздужно","colSpan":"Спој водоравно","wordWrap":"Брисање дугачких редова","hAlign":"Равнање водоравно","vAlign":"Равнање усправно","alignBaseline":"Базна линија","bgColor":"Боја позадине","borderColor":"Боја оквира","data":"Податак","header":"Наслов","yes":"Да","no":"Не","invalidWidth":"У поље ширина можете уписати само бројеве.","invalidHeight":"У поље висина можете уписати само бројеве.","invalidRowSpan":"У поље спој усправно можете уписати само бројеве.","invalidColSpan":"У поље спој водоравно можете уписати само бројеве.","chooseColor":"Изабери"},"cellPad":"Размак ћелија","cellSpace":"Ћелијски простор","column":{"menu":"Колона","insertBefore":"Убаци лево","insertAfter":"Убаци десно","deleteColumn":"Обриши колоне"},"columns":"Kолона","deleteTable":"Обриши таблу","headers":"Поглавља","headersBoth":"Оба","headersColumn":"Прва колона","headersNone":"Нема","headersRow":"Први ред","heightUnit":"Јединица висине","invalidBorder":"Величина ивице треба да буде цифра.","invalidCellPadding":"Пуњење ћелије треба да буде позитивна цифра.","invalidCellSpacing":"Размак ћелије треба да буде позитивна цифра.","invalidCols":"Број колона треба да буде цифра већа од 0.","invalidHeight":"Висина табеле треба да буде цифра.","invalidRows":"Број реда треба да буде цифра већа од 0.","invalidWidth":"Ширина табеле треба да буде цифра.","menu":"Карактеристике табеле","row":{"menu":"Ред","insertBefore":"Убаци изнад","insertAfter":"Убаци испод","deleteRow":"Обриши редове"},"rows":"Редови","summary":"Oпис","title":"Карактеристике табеле","toolbar":"Табела","widthPc":"процената","widthPx":"пиксела","widthUnit":"јединица ширине"},"stylescombo":{"label":"Стил","panelTitle":"Стилови форматирања","panelTitle1":"Блок стилови","panelTitle2":"Инлине стилови","panelTitle3":"Стилови објекта"},"specialchar":{"options":"Опције специјалног карактера","title":"Одаберите специјални карактер","toolbar":"Унеси специјални карактер"},"sourcedialog":{"toolbar":"Изворни код","title":"Изворни код"},"sourcearea":{"toolbar":"Изворни код"},"showblocks":{"toolbar":"Прикажи блокове"},"removeformat":{"toolbar":"Уклони форматирање"},"pastetext":{"button":"Залепи као неформиран текст","pasteNotification":"Притисните% 1 да бисте налепили. Претраживач не подржава лепљење помоћу тастера на траци са алаткама или из менија.","title":"Залепи као неформиран текст"},"pastefromword":{"confirmCleanup":"Уметнути текст је копиран из Word-а. Желите га очитити? ","error":"Због интерне грешке текст није очишћен.","title":"Залепи из Worda","toolbar":"Залепи из Worda"},"notification":{"closed":"Обавештење затворено"},"maximize":{"maximize":"Максимална величина","minimize":"Минимлна величина"},"magicline":{"title":"Уметните пасус овде."},"list":{"bulletedlist":"Набрајање","numberedlist":"Нумерисање"},"language":{"button":"Подеси језик","remove":"Одстрани језик"},"indent":{"indent":"Увећај леву маргину","outdent":"Смањи маргину"},"image2":{"alt":"Алтернативни текст","btnUpload":"Пошаљи на сервер","captioned":"Слика са натписом","captionPlaceholder":"Натпис","infoTab":"Основне карактеристике","lockRatio":"Задржи однос","menu":"Особине слика","pathName":"Слика","pathNameCaption":"Натпис","resetSize":"Оригинална величина","resizer":"Кликните и повуците да би сте променили величину","title":"Карактеристике слике","uploadTab":"Постави","urlMissing":"Недостаје УРЛ слике.","altMissing":"Недостаје алтернативни текст."},"horizontalrule":{"toolbar":"Унеси хоризонталну линију"},"format":{"label":"Формат","panelTitle":"Формат пасуса","tag_address":"Адреса","tag_div":"Нормално (DIV)","tag_h1":"Наслов 1","tag_h2":"Наслов 2","tag_h3":" Наслов 3","tag_h4":"Наслов 4","tag_h5":"Наслов 5","tag_h6":"Наслов 6","tag_p":"Нормално","tag_pre":"Форматирано"},"filetools":{"loadError":"Дошло је до грешке при читању датотеке.","networkError":"Током постављања датотеке дошло је до мрежне грешке.","httpError404":"Током постављања датотеке дошло је до ХТТП грешке (404: Датотека није пронађена).","httpError403":"Током постављања датотеке дошло је до ХТТП грешке (403: Забрањена).","httpError":"Током постављања датотеке дошло је до ХТТП грешке (статус грешке: %1).","noUrlError":"УРЛ адреса за постављање није наведена.","responseError":"Неисправан одговор сервера."},"elementspath":{"eleLabel":"Пут до елемената","eleTitle":"%1 eлемент"},"contextmenu":{"options":"Опције менија"},"clipboard":{"copy":"Копирај","copyError":"Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+C).","cut":"Исеци","cutError":"Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl/Cmd+X).","paste":"Залепи","pasteNotification":"Притисните тастер %1 за лепљење. Ваш ретраживач не дозвољаба лепљење из алатне траке или мениа.","pasteArea":"Залепи зону","pasteMsg":"Налепите садржај у следећи простор и притисните тастер OK."},"blockquote":{"toolbar":"Блок цитат"},"basicstyles":{"bold":"Подебљано","italic":"Курзив","strike":"Прецртано","subscript":"Индекс","superscript":"Степен","underline":"Подвучено"},"about":{"copy":"Copyright © $1. Сва права задржана.","dlgTitle":"О CKEditor 4","moreInfo":"За информације о лиценци посетите нашу веб страницу:"},"editor":"ХТМЛ уређивач текста","editorPanel":"ХТМЛ уређивач панел","common":{"editorHelp":"За помоћ притисните АЛТ 0","browseServer":"Претражи на серверу","url":"УРЛ","protocol":"Протокол","upload":"Пошаљи","uploadSubmit":"Пошаљи на сервер","image":"Слика","flash":"Флеш елемент","form":"Формулар","checkbox":"Поље за потврду","radio":"Радио-дугме","textField":"Текстуално поље","textarea":"Зона текста","hiddenField":"Скривено поље","button":"Дугме","select":"Падајућа листа","imageButton":"Дугме са сликом","notSet":"<није постављено>","id":"Ид","name":"Назив","langDir":"Смер писања","langDirLtr":"С лева на десно (LTR)","langDirRtl":"С десна на лево (RTL)","langCode":"Kôд језика","longDescr":"Пун опис УРЛ","cssClass":"ЦСС класе","advisoryTitle":"Advisory наслов","cssStyle":"Стил","ok":"OK","cancel":"Oткажи","close":"Затвори","preview":"Изглед странице","resize":"Промена величине","generalTab":"Општи","advancedTab":"Далје опције","validateNumberFailed":"Ова вредност није број.","confirmNewPage":"Несачуване промене овог садржаја ће бити изгублјене. Јесте ли сигурни да желите да учитате нову страну","confirmCancel":"Нека подешавања су променјена. Сигурмо желите затворити обај прозор?","options":"Подешавања","target":"Циљ","targetNew":"Ноби прозор (_blank)","targetTop":"Прозор на врху странице (_top)","targetSelf":"Исти прозор (_self)","targetParent":"Матични прозор(_parent)","langDirLTR":"С лева на десно (LTR)","langDirRTL":"С десна на лево (RTL)","styles":"Стил","cssClasses":"ЦСС класе","width":"Ширина","height":"Висина","align":"Равнање","left":"Лево","right":"Десно","center":"Средина","justify":"Обострано равнање","alignLeft":"Лево равнање","alignRight":"Десно равнање","alignCenter":"Централно равнанје","alignTop":"Врх","alignMiddle":"Средина","alignBottom":"Доле","alignNone":"Ништа","invalidValue":"Неважећа вредност.","invalidHeight":"У поље висина могу се уписати само бројеви.","invalidWidth":"У поље ширина могу се уписати само бројеви.","invalidLength":"У \"%1\" полју дата вредност треба да будепозитиван број са валидном мерном јединицом или без ње (%2).","invalidCssLength":"За \"%1\" дата вредност мора бити позитиван број, могуће означити са валидним ЦСС вредошћу (px, %, in, cm, mm, em, ex, pt, or pc).","invalidHtmlLength":"Зa \"%1\" дата вредност мора бити позитиван број, могуће означити са валидним ХТМЛ вредношћу (px or %).","invalidInlineStyle":"Вреднодст у инлине стилу мора да садржи барем један рекорд у формату \"name : value\", раздељени са тачказапетом.","cssLengthTooltip":"Одредите број у пикселима или у валидним ЦСС вредностима (px, %, in, cm, mm, em, ex, pt, or pc).","unavailable":"%1<span class=\"cke_accessibility\">, unavailable</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Space","35":"End","36":"Home","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Tастер за пречицу","optionDefault":"Основни"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/sv.js b/web/core/assets/vendor/ckeditor/lang/sv.js index 61ba21c5d6c350f936a948e419008791ad7a1873..98c7a6a1a567f35093e2d2ee3068ee32c3c6f94a 100644 --- a/web/core/assets/vendor/ckeditor/lang/sv.js +++ b/web/core/assets/vendor/ckeditor/lang/sv.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['sv']={"widget":{"move":"Klicka och drag för att flytta","label":"%1-widget"},"undo":{"redo":"Gör om","undo":"Ångra"},"toolbar":{"toolbarCollapse":"Dölj verktygsfält","toolbarExpand":"Visa verktygsfält","toolbarGroups":{"document":"Dokument","clipboard":"Urklipp/ångra","editing":"Redigering","forms":"Formulär","basicstyles":"Basstilar","paragraph":"Paragraf","links":"Länkar","insert":"Infoga","styles":"Stilar","colors":"Färger","tools":"Verktyg"},"toolbars":"Editorns verktygsfält"},"table":{"border":"Kantstorlek","caption":"Rubrik","cell":{"menu":"Cell","insertBefore":"Lägg till cell före","insertAfter":"Lägg till cell efter","deleteCell":"Radera celler","merge":"Sammanfoga celler","mergeRight":"Sammanfoga höger","mergeDown":"Sammanfoga ner","splitHorizontal":"Dela cell horisontellt","splitVertical":"Dela cell vertikalt","title":"Egenskaper för cell","cellType":"Celltyp","rowSpan":"Rad spann","colSpan":"Kolumnen spann","wordWrap":"Radbrytning","hAlign":"Horisontell justering","vAlign":"Vertikal justering","alignBaseline":"Baslinje","bgColor":"Bakgrundsfärg","borderColor":"Ramfärg","data":"Data","header":"Rubrik","yes":"Ja","no":"Nej","invalidWidth":"Cellens bredd måste vara ett nummer.","invalidHeight":"Cellens höjd måste vara ett nummer.","invalidRowSpan":"Radutvidgning måste vara ett heltal.","invalidColSpan":"Kolumn måste vara ett heltal.","chooseColor":"Välj"},"cellPad":"Cellutfyllnad","cellSpace":"Cellavstånd","column":{"menu":"Kolumn","insertBefore":"Lägg till kolumn före","insertAfter":"Lägg till kolumn efter","deleteColumn":"Radera kolumn"},"columns":"Kolumner","deleteTable":"Radera tabell","headers":"Rubriker","headersBoth":"Båda","headersColumn":"Första kolumnen","headersNone":"Ingen","headersRow":"Första raden","heightUnit":"height unit","invalidBorder":"Ram måste vara ett nummer.","invalidCellPadding":"Luft i cell måste vara ett nummer.","invalidCellSpacing":"Luft i cell måste vara ett nummer.","invalidCols":"Antal kolumner måste vara ett nummer större än 0.","invalidHeight":"Tabellens höjd måste vara ett nummer.","invalidRows":"Antal rader måste vara större än 0.","invalidWidth":"Tabell måste vara ett nummer.","menu":"Tabellegenskaper","row":{"menu":"Rad","insertBefore":"Lägg till rad före","insertAfter":"Lägg till rad efter","deleteRow":"Radera rad"},"rows":"Rader","summary":"Sammanfattning","title":"Tabellegenskaper","toolbar":"Tabell","widthPc":"procent","widthPx":"pixlar","widthUnit":"enhet bredd"},"stylescombo":{"label":"Stilar","panelTitle":"Formateringsstilar","panelTitle1":"Blockstilar","panelTitle2":"Inbäddade stilar","panelTitle3":"Objektstilar"},"specialchar":{"options":"Alternativ för utökade tecken","title":"Välj utökat tecken","toolbar":"Klistra in utökat tecken"},"sourcedialog":{"toolbar":"Källa","title":"Källa"},"sourcearea":{"toolbar":"Källa"},"showblocks":{"toolbar":"Visa block"},"removeformat":{"toolbar":"Radera formatering"},"pastetext":{"button":"Klistra in som vanlig text","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Klistra in som vanlig text"},"pastefromword":{"confirmCleanup":"Texten du vill klistra in verkar vara kopierad från Word. Vill du rensa den innan du klistrar in den?","error":"Det var inte möjligt att städa upp den inklistrade data på grund av ett internt fel","title":"Klistra in från Word","toolbar":"Klistra in från Word"},"notification":{"closed":"Notifiering stängd."},"maximize":{"maximize":"Maximera","minimize":"Minimera"},"magicline":{"title":"Infoga paragraf här"},"list":{"bulletedlist":"Infoga/ta bort punktlista","numberedlist":"Infoga/ta bort numrerad lista"},"language":{"button":"Sätt språk","remove":"Ta bort språk"},"indent":{"indent":"Öka indrag","outdent":"Minska indrag"},"image2":{"alt":"Alternativ text","btnUpload":"Skicka till server","captioned":"Rubricerad bild","captionPlaceholder":"Bildtext","infoTab":"Bildinformation","lockRatio":"Lås höjd/bredd förhållanden","menu":"Bildegenskaper","pathName":"bild","pathNameCaption":"rubrik","resetSize":"Återställ storlek","resizer":"Klicka och drag för att ändra storlek","title":"Bildegenskaper","uploadTab":"Ladda upp","urlMissing":"Bildkällans URL saknas.","altMissing":"Alternativ text saknas"},"horizontalrule":{"toolbar":"Infoga horisontal linje"},"format":{"label":"Teckenformat","panelTitle":"Teckenformat","tag_address":"Adress","tag_div":"Normal (DIV)","tag_h1":"Rubrik 1","tag_h2":"Rubrik 2","tag_h3":"Rubrik 3","tag_h4":"Rubrik 4","tag_h5":"Rubrik 5","tag_h6":"Rubrik 6","tag_p":"Normal","tag_pre":"Formaterad"},"filetools":{"loadError":"Fel uppstod vid filläsning","networkError":"Nätverksfel uppstod vid filuppladdning.","httpError404":"HTTP-fel uppstod vid filuppladdning (404: Fil hittades inte).","httpError403":"HTTP-fel uppstod vid filuppladdning (403: Förbjuden).","httpError":"HTTP-fel uppstod vid filuppladdning (felstatus: %1).","noUrlError":"URL för uppladdning inte definierad.","responseError":"Felaktigt serversvar."},"elementspath":{"eleLabel":"Elementets sökväg","eleTitle":"%1 element"},"contextmenu":{"options":"Context Menu Options"},"clipboard":{"copy":"Kopiera","copyError":"Säkerhetsinställningar i din webbläsare tillåter inte åtgärden kopiera. Använd (Ctrl/Cmd+C) istället.","cut":"Klipp ut","cutError":"Säkerhetsinställningar i din webbläsare tillåter inte åtgärden klipp ut. Använd (Ctrl/Cmd+X) istället.","paste":"Klistra in","pasteNotification":"Tryck på %1 för att klistra in. Din webbläsare stödjer inte inklistring via verktygsfältet eller snabbmenyn.","pasteArea":"Inklistringsområde","pasteMsg":"Klistra in ditt innehåll i området nedan och tryck på OK."},"blockquote":{"toolbar":"Blockcitat"},"basicstyles":{"bold":"Fet","italic":"Kursiv","strike":"Genomstruken","subscript":"Nedsänkta tecken","superscript":"Upphöjda tecken","underline":"Understruken"},"about":{"copy":"Copyright © $1. Alla rättigheter reserverade.","dlgTitle":"Om CKEditor 4","moreInfo":"För information om licensiering besök vår hemsida:"},"editor":"Rich Text-editor","editorPanel":"Panel till Rich Text-editor","common":{"editorHelp":"Tryck ALT 0 för hjälp","browseServer":"Bläddra på server","url":"URL","protocol":"Protokoll","upload":"Ladda upp","uploadSubmit":"Skicka till server","image":"Bild","flash":"Flash","form":"Formulär","checkbox":"Kryssruta","radio":"Alternativknapp","textField":"Textfält","textarea":"Textruta","hiddenField":"Dolt fält","button":"Knapp","select":"Flervalslista","imageButton":"Bildknapp","notSet":"<ej angivet>","id":"Id","name":"Namn","langDir":"Språkriktning","langDirLtr":"Vänster till Höger (VTH)","langDirRtl":"Höger till Vänster (HTV)","langCode":"Språkkod","longDescr":"URL-beskrivning","cssClass":"Stilmall","advisoryTitle":"Titel","cssStyle":"Stilmall","ok":"OK","cancel":"Avbryt","close":"Stäng","preview":"Förhandsgranska","resize":"Dra för att ändra storlek","generalTab":"Allmänt","advancedTab":"Avancerad","validateNumberFailed":"Värdet är inte ett nummer.","confirmNewPage":"Alla ändringar i innehållet kommer att förloras. Är du säker på att du vill ladda en ny sida?","confirmCancel":"Några av alternativen har ändrats. Är du säker på att du vill stänga dialogrutan?","options":"Alternativ","target":"Mål","targetNew":"Nytt fönster (_blank)","targetTop":"Översta fönstret (_top)","targetSelf":"Samma fönster (_self)","targetParent":"Föregående fönster (_parent)","langDirLTR":"Vänster till höger (LTR)","langDirRTL":"Höger till vänster (RTL)","styles":"Stil","cssClasses":"Stilmallar","width":"Bredd","height":"Höjd","align":"Justering","left":"Vänster","right":"Höger","center":"Centrerad","justify":"Justera till marginaler","alignLeft":"Vänsterjustera","alignRight":"Högerjustera","alignCenter":"Centrera","alignTop":"Överkant","alignMiddle":"Mitten","alignBottom":"Nederkant","alignNone":"Ingen","invalidValue":"Felaktigt värde.","invalidHeight":"Höjd måste vara ett nummer.","invalidWidth":"Bredd måste vara ett nummer.","invalidLength":"Värdet för fältet \"%1\" måste vara ett positivt nummer med eller utan en giltig mätenhet (%2).","invalidCssLength":"Värdet för fältet \"%1\" måste vara ett positivt nummer med eller utan CSS-mätenheter (px, %, in, cm, mm, em, ex, pt, eller pc).","invalidHtmlLength":"Värdet för fältet \"%1\" måste vara ett positivt nummer med eller utan godkända HTML-mätenheter (px eller %).","invalidInlineStyle":"Det angivna värdet för style måste innehålla en eller flera tupler separerade med semikolon i följande format: \"name : value\"","cssLengthTooltip":"Ange ett nummer i pixlar eller ett nummer men godkänd CSS-mätenhet (px, %, in, cm, mm, em, ex, pt, eller pc).","unavailable":"%1<span class=\"cke_accessibility\">, Ej tillgänglig</span>","keyboard":{"8":"Backsteg","13":"Retur","16":"Skift","17":"Ctrl","18":"Alt","32":"Mellanslag","35":"Slut","36":"Hem","46":"Radera","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Kommando"},"keyboardShortcut":"Kortkommando","optionDefault":"Standard"}}; \ No newline at end of file +CKEDITOR.lang['sv']={"widget":{"move":"Klicka och drag för att flytta","label":"%1-widget"},"undo":{"redo":"Gör om","undo":"Ångra"},"toolbar":{"toolbarCollapse":"Dölj verktygsfält","toolbarExpand":"Visa verktygsfält","toolbarGroups":{"document":"Dokument","clipboard":"Urklipp/ångra","editing":"Redigering","forms":"Formulär","basicstyles":"Basstilar","paragraph":"Paragraf","links":"Länkar","insert":"Infoga","styles":"Stilar","colors":"Färger","tools":"Verktyg"},"toolbars":"Editorns verktygsfält"},"table":{"border":"Kantstorlek","caption":"Rubrik","cell":{"menu":"Cell","insertBefore":"Lägg till cell före","insertAfter":"Lägg till cell efter","deleteCell":"Radera celler","merge":"Sammanfoga celler","mergeRight":"Sammanfoga höger","mergeDown":"Sammanfoga ner","splitHorizontal":"Dela cell horisontellt","splitVertical":"Dela cell vertikalt","title":"Egenskaper för cell","cellType":"Celltyp","rowSpan":"Rad spann","colSpan":"Kolumnen spann","wordWrap":"Radbrytning","hAlign":"Horisontell justering","vAlign":"Vertikal justering","alignBaseline":"Baslinje","bgColor":"Bakgrundsfärg","borderColor":"Ramfärg","data":"Data","header":"Rubrik","yes":"Ja","no":"Nej","invalidWidth":"Cellens bredd måste vara ett nummer.","invalidHeight":"Cellens höjd måste vara ett nummer.","invalidRowSpan":"Radutvidgning måste vara ett heltal.","invalidColSpan":"Kolumn måste vara ett heltal.","chooseColor":"Välj"},"cellPad":"Cellutfyllnad","cellSpace":"Cellavstånd","column":{"menu":"Kolumn","insertBefore":"Lägg till kolumn före","insertAfter":"Lägg till kolumn efter","deleteColumn":"Radera kolumn"},"columns":"Kolumner","deleteTable":"Radera tabell","headers":"Rubriker","headersBoth":"Båda","headersColumn":"Första kolumnen","headersNone":"Ingen","headersRow":"Första raden","heightUnit":"Enhetshöjd","invalidBorder":"Ram måste vara ett nummer.","invalidCellPadding":"Luft i cell måste vara ett nummer.","invalidCellSpacing":"Luft i cell måste vara ett nummer.","invalidCols":"Antal kolumner måste vara ett nummer större än 0.","invalidHeight":"Tabellens höjd måste vara ett nummer.","invalidRows":"Antal rader måste vara större än 0.","invalidWidth":"Tabell måste vara ett nummer.","menu":"Tabellegenskaper","row":{"menu":"Rad","insertBefore":"Lägg till rad före","insertAfter":"Lägg till rad efter","deleteRow":"Radera rad"},"rows":"Rader","summary":"Sammanfattning","title":"Tabellegenskaper","toolbar":"Tabell","widthPc":"procent","widthPx":"pixlar","widthUnit":"enhet bredd"},"stylescombo":{"label":"Stilar","panelTitle":"Formateringsstilar","panelTitle1":"Blockstilar","panelTitle2":"Inbäddade stilar","panelTitle3":"Objektstilar"},"specialchar":{"options":"Alternativ för utökade tecken","title":"Välj utökat tecken","toolbar":"Klistra in utökat tecken"},"sourcedialog":{"toolbar":"Källa","title":"Källa"},"sourcearea":{"toolbar":"Källa"},"showblocks":{"toolbar":"Visa block"},"removeformat":{"toolbar":"Radera formatering"},"pastetext":{"button":"Klistra in som vanlig text","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Klistra in som vanlig text"},"pastefromword":{"confirmCleanup":"Texten du vill klistra in verkar vara kopierad från Word. Vill du rensa den innan du klistrar in den?","error":"Det var inte möjligt att städa upp den inklistrade data på grund av ett internt fel","title":"Klistra in från Word","toolbar":"Klistra in från Word"},"notification":{"closed":"Notifiering stängd."},"maximize":{"maximize":"Maximera","minimize":"Minimera"},"magicline":{"title":"Infoga paragraf här"},"list":{"bulletedlist":"Infoga/ta bort punktlista","numberedlist":"Infoga/ta bort numrerad lista"},"language":{"button":"Sätt språk","remove":"Ta bort språk"},"indent":{"indent":"Öka indrag","outdent":"Minska indrag"},"image2":{"alt":"Alternativ text","btnUpload":"Skicka till server","captioned":"Rubricerad bild","captionPlaceholder":"Bildtext","infoTab":"Bildinformation","lockRatio":"Lås höjd/bredd förhållanden","menu":"Bildegenskaper","pathName":"bild","pathNameCaption":"rubrik","resetSize":"Återställ storlek","resizer":"Klicka och drag för att ändra storlek","title":"Bildegenskaper","uploadTab":"Ladda upp","urlMissing":"Bildkällans URL saknas.","altMissing":"Alternativ text saknas"},"horizontalrule":{"toolbar":"Infoga horisontal linje"},"format":{"label":"Teckenformat","panelTitle":"Teckenformat","tag_address":"Adress","tag_div":"Normal (DIV)","tag_h1":"Rubrik 1","tag_h2":"Rubrik 2","tag_h3":"Rubrik 3","tag_h4":"Rubrik 4","tag_h5":"Rubrik 5","tag_h6":"Rubrik 6","tag_p":"Normal","tag_pre":"Formaterad"},"filetools":{"loadError":"Fel uppstod vid filläsning","networkError":"Nätverksfel uppstod vid filuppladdning.","httpError404":"HTTP-fel uppstod vid filuppladdning (404: Fil hittades inte).","httpError403":"HTTP-fel uppstod vid filuppladdning (403: Förbjuden).","httpError":"HTTP-fel uppstod vid filuppladdning (felstatus: %1).","noUrlError":"URL för uppladdning inte definierad.","responseError":"Felaktigt serversvar."},"elementspath":{"eleLabel":"Elementets sökväg","eleTitle":"%1 element"},"contextmenu":{"options":"Context Menu Options"},"clipboard":{"copy":"Kopiera","copyError":"Säkerhetsinställningar i din webbläsare tillåter inte åtgärden kopiera. Använd (Ctrl/Cmd+C) istället.","cut":"Klipp ut","cutError":"Säkerhetsinställningar i din webbläsare tillåter inte åtgärden klipp ut. Använd (Ctrl/Cmd+X) istället.","paste":"Klistra in","pasteNotification":"Tryck på %1 för att klistra in. Din webbläsare stödjer inte inklistring via verktygsfältet eller snabbmenyn.","pasteArea":"Inklistringsområde","pasteMsg":"Klistra in ditt innehåll i området nedan och tryck på OK."},"blockquote":{"toolbar":"Blockcitat"},"basicstyles":{"bold":"Fet","italic":"Kursiv","strike":"Genomstruken","subscript":"Nedsänkta tecken","superscript":"Upphöjda tecken","underline":"Understruken"},"about":{"copy":"Copyright © $1. Alla rättigheter reserverade.","dlgTitle":"Om CKEditor 4","moreInfo":"För information om licensiering besök vår hemsida:"},"editor":"Rich Text-editor","editorPanel":"Panel till Rich Text-editor","common":{"editorHelp":"Tryck ALT 0 för hjälp","browseServer":"Bläddra på server","url":"URL","protocol":"Protokoll","upload":"Ladda upp","uploadSubmit":"Skicka till server","image":"Bild","flash":"Flash","form":"Formulär","checkbox":"Kryssruta","radio":"Alternativknapp","textField":"Textfält","textarea":"Textruta","hiddenField":"Dolt fält","button":"Knapp","select":"Flervalslista","imageButton":"Bildknapp","notSet":"<ej angivet>","id":"Id","name":"Namn","langDir":"Språkriktning","langDirLtr":"Vänster till Höger (VTH)","langDirRtl":"Höger till Vänster (HTV)","langCode":"Språkkod","longDescr":"URL-beskrivning","cssClass":"Stilmall","advisoryTitle":"Titel","cssStyle":"Stilmall","ok":"OK","cancel":"Avbryt","close":"Stäng","preview":"Förhandsgranska","resize":"Dra för att ändra storlek","generalTab":"Allmänt","advancedTab":"Avancerad","validateNumberFailed":"Värdet är inte ett nummer.","confirmNewPage":"Alla ändringar i innehållet kommer att förloras. Är du säker på att du vill ladda en ny sida?","confirmCancel":"Några av alternativen har ändrats. Är du säker på att du vill stänga dialogrutan?","options":"Alternativ","target":"Mål","targetNew":"Nytt fönster (_blank)","targetTop":"Översta fönstret (_top)","targetSelf":"Samma fönster (_self)","targetParent":"Föregående fönster (_parent)","langDirLTR":"Vänster till höger (LTR)","langDirRTL":"Höger till vänster (RTL)","styles":"Stil","cssClasses":"Stilmallar","width":"Bredd","height":"Höjd","align":"Justering","left":"Vänster","right":"Höger","center":"Centrerad","justify":"Justera till marginaler","alignLeft":"Vänsterjustera","alignRight":"Högerjustera","alignCenter":"Centrera","alignTop":"Överkant","alignMiddle":"Mitten","alignBottom":"Nederkant","alignNone":"Ingen","invalidValue":"Felaktigt värde.","invalidHeight":"Höjd måste vara ett nummer.","invalidWidth":"Bredd måste vara ett nummer.","invalidLength":"Värdet för fältet \"%1\" måste vara ett positivt nummer med eller utan en giltig mätenhet (%2).","invalidCssLength":"Värdet för fältet \"%1\" måste vara ett positivt nummer med eller utan CSS-mätenheter (px, %, in, cm, mm, em, ex, pt, eller pc).","invalidHtmlLength":"Värdet för fältet \"%1\" måste vara ett positivt nummer med eller utan godkända HTML-mätenheter (px eller %).","invalidInlineStyle":"Det angivna värdet för style måste innehålla en eller flera tupler separerade med semikolon i följande format: \"name : value\"","cssLengthTooltip":"Ange ett nummer i pixlar eller ett nummer men godkänd CSS-mätenhet (px, %, in, cm, mm, em, ex, pt, eller pc).","unavailable":"%1<span class=\"cke_accessibility\">, Ej tillgänglig</span>","keyboard":{"8":"Backsteg","13":"Retur","16":"Skift","17":"Ctrl","18":"Alt","32":"Mellanslag","35":"Slut","36":"Hem","46":"Radera","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Kommando"},"keyboardShortcut":"Kortkommando","optionDefault":"Standard"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/tr.js b/web/core/assets/vendor/ckeditor/lang/tr.js index 6c9d42444ad7bcea4397bf01068747e18d2df0d4..49db19cc1817a4d7caaa5251fe7590a4d35c9e20 100644 --- a/web/core/assets/vendor/ckeditor/lang/tr.js +++ b/web/core/assets/vendor/ckeditor/lang/tr.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['tr']={"widget":{"move":"Taşımak için, tıklayın ve sürükleyin","label":"%1 Grafik Beleşeni"},"undo":{"redo":"Tekrarla","undo":"Geri Al"},"toolbar":{"toolbarCollapse":"Araç çubuklarını topla","toolbarExpand":"Araç çubuklarını aç","toolbarGroups":{"document":"Belge","clipboard":"Pano/Geri al","editing":"Düzenleme","forms":"Formlar","basicstyles":"Temel Stiller","paragraph":"Paragraf","links":"Bağlantılar","insert":"Ekle","styles":"Stiller","colors":"Renkler","tools":"Araçlar"},"toolbars":"Araç çubukları Editörü"},"table":{"border":"Kenar Kalınlığı","caption":"Başlık","cell":{"menu":"Hücre","insertBefore":"Hücre Ekle - Önce","insertAfter":"Hücre Ekle - Sonra","deleteCell":"Hücre Sil","merge":"Hücreleri Birleştir","mergeRight":"Birleştir - Sağdaki İle ","mergeDown":"Birleştir - Aşağıdaki İle ","splitHorizontal":"Hücreyi Yatay Böl","splitVertical":"Hücreyi Dikey Böl","title":"Hücre Özellikleri","cellType":"Hücre Tipi","rowSpan":"Satırlar Mesafesi (Span)","colSpan":"Sütünlar Mesafesi (Span)","wordWrap":"Kelime Kaydırma","hAlign":"Düşey Hizalama","vAlign":"Yataş Hizalama","alignBaseline":"Tabana","bgColor":"Arkaplan Rengi","borderColor":"Çerçeve Rengi","data":"Veri","header":"Başlık","yes":"Evet","no":"Hayır","invalidWidth":"Hücre genişliği sayı olmalıdır.","invalidHeight":"Hücre yüksekliği sayı olmalıdır.","invalidRowSpan":"Satırların mesafesi tam sayı olmalıdır.","invalidColSpan":"Sütünların mesafesi tam sayı olmalıdır.","chooseColor":"Seçiniz"},"cellPad":"Izgara yazı arası","cellSpace":"Izgara kalınlığı","column":{"menu":"Sütun","insertBefore":"Kolon Ekle - Önce","insertAfter":"Kolon Ekle - Sonra","deleteColumn":"Sütun Sil"},"columns":"Sütunlar","deleteTable":"Tabloyu Sil","headers":"Başlıklar","headersBoth":"Her İkisi","headersColumn":"İlk Sütun","headersNone":"Yok","headersRow":"İlk Satır","heightUnit":"height unit","invalidBorder":"Çerceve büyüklüklüğü sayı olmalıdır.","invalidCellPadding":"Hücre aralığı (padding) sayı olmalıdır.","invalidCellSpacing":"Hücre boşluğu (spacing) sayı olmalıdır.","invalidCols":"Sütün sayısı 0 sayısından büyük olmalıdır.","invalidHeight":"Tablo yüksekliği sayı olmalıdır.","invalidRows":"Satır sayısı 0 sayısından büyük olmalıdır.","invalidWidth":"Tablo genişliği sayı olmalıdır.","menu":"Tablo Özellikleri","row":{"menu":"Satır","insertBefore":"Satır Ekle - Önce","insertAfter":"Satır Ekle - Sonra","deleteRow":"Satır Sil"},"rows":"Satırlar","summary":"Özet","title":"Tablo Özellikleri","toolbar":"Tablo","widthPc":"yüzde","widthPx":"piksel","widthUnit":"genişlik birimi"},"stylescombo":{"label":"Biçem","panelTitle":"Stilleri Düzenliyor","panelTitle1":"Blok Stilleri","panelTitle2":"Inline Stilleri","panelTitle3":"Nesne Stilleri"},"specialchar":{"options":"Özel Karakter Seçenekleri","title":"Özel Karakter Seç","toolbar":"Özel Karakter Ekle"},"sourcedialog":{"toolbar":"Kaynak","title":"Kaynak"},"sourcearea":{"toolbar":"Kaynak"},"showblocks":{"toolbar":"Blokları Göster"},"removeformat":{"toolbar":"Biçimi Kaldır"},"pastetext":{"button":"Düz metin olarak yapıştır","pasteNotification":"%1 tuşuna yapıştırmak için tıklayın. Tarayıcınız, Araç Çubuğu yada İçerik Menüsünü kullanarak yapıştırmayı desteklemiyor.","title":"Düz metin olarak yapıştır"},"pastefromword":{"confirmCleanup":"Yapıştırmaya çalıştığınız metin Word'den kopyalanmıştır. Yapıştırmadan önce silmek istermisiniz?","error":"Yapıştırmadaki veri bilgisi hata düzelene kadar silinmeyecektir","title":"Word'den Yapıştır","toolbar":"Word'den Yapıştır"},"notification":{"closed":"Uyarılar kapatıldı."},"maximize":{"maximize":"Büyült","minimize":"Küçült"},"magicline":{"title":"Parağrafı buraya ekle"},"list":{"bulletedlist":"Simgeli Liste","numberedlist":"Numaralı Liste"},"language":{"button":"Dili seç","remove":"Dili kaldır"},"indent":{"indent":"Sekme Arttır","outdent":"Sekme Azalt"},"image2":{"alt":"Alternatif Yazı","btnUpload":"Sunucuya Yolla","captioned":"Başlıklı resim","captionPlaceholder":"Başlık","infoTab":"Resim Bilgisi","lockRatio":"Oranı Kilitle","menu":"Resim Özellikleri","pathName":"Resim","pathNameCaption":"başlık","resetSize":"Boyutu Başa Döndür","resizer":"Boyutlandırmak için, tıklayın ve sürükleyin","title":"Resim Özellikleri","uploadTab":"Karşıya Yükle","urlMissing":"Resmin URL kaynağı bulunamadı.","altMissing":"Alternatif yazı eksik."},"horizontalrule":{"toolbar":"Yatay Satır Ekle"},"format":{"label":"Biçim","panelTitle":"Biçim","tag_address":"Adres","tag_div":"Paragraf (DIV)","tag_h1":"Başlık 1","tag_h2":"Başlık 2","tag_h3":"Başlık 3","tag_h4":"Başlık 4","tag_h5":"Başlık 5","tag_h6":"Başlık 6","tag_p":"Normal","tag_pre":"Biçimli"},"filetools":{"loadError":"Dosya okunurken hata oluştu.","networkError":"Dosya gönderilirken ağ hatası oluştu.","httpError404":"Dosya gönderilirken HTTP hatası oluştu (404: Dosya bulunamadı).","httpError403":"Dosya gönderilirken HTTP hatası oluştu (403: Yasaklı).","httpError":"Dosya gönderilirken HTTP hatası oluştu (hata durumu: %1).","noUrlError":"Gönderilecek URL belirtilmedi.","responseError":"Sunucu cevap veremedi."},"elementspath":{"eleLabel":"Elementlerin yolu","eleTitle":"%1 elementi"},"contextmenu":{"options":"İçerik Menüsü Seçenekleri"},"clipboard":{"copy":"Kopyala","copyError":"Tarayıcı yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl/Cmd+C) tuşlarını kullanın.","cut":"Kes","cutError":"Tarayıcı yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl/Cmd+X) tuşlarını kullanın.","paste":"Yapıştır","pasteNotification":"%1 tuşuna yapıştırmak için tıklayın. Tarayıcınız, Araç Çubuğu yada İçerik Menüsünü kullanarak yapıştırmayı desteklemiyor.","pasteArea":"Yapıştırma Alanı","pasteMsg":"İçeriğinizi alttaki bulunan alana yapıştırın ve TAMAM butonuna tıklayın"},"blockquote":{"toolbar":"Blok Oluştur"},"basicstyles":{"bold":"Kalın","italic":"İtalik","strike":"Üstü Çizgili","subscript":"Alt Simge","superscript":"Üst Simge","underline":"Altı Çizgili"},"about":{"copy":"Copyright © $1. Tüm hakları saklıdır.","dlgTitle":"CKEditor Hakkında","moreInfo":"Lisanslama hakkında daha fazla bilgi almak için lütfen sitemizi ziyaret edin:"},"editor":"Zengin Metin Editörü","editorPanel":"Zengin Metin Editör Paneli","common":{"editorHelp":"Yardım için ALT 0 tuşlarına basın","browseServer":"Sunucuya Gözat","url":"URL","protocol":"Protokol","upload":"Karşıya Yükle","uploadSubmit":"Sunucuya Gönder","image":"Resim","flash":"Flash","form":"Form","checkbox":"Seçim Kutusu","radio":"Seçenek Düğmesi","textField":"Metin Kutusu","textarea":"Metin Alanı","hiddenField":"Gizli Alan","button":"Düğme","select":"Seçme Alanı","imageButton":"Resim Düğmesi","notSet":"<tanımlanmamış>","id":"Kimlik","name":"İsim","langDir":"Dil Yönü","langDirLtr":"Soldan Sağa (LTR)","langDirRtl":"Sağdan Sola (RTL)","langCode":" Dil Kodu","longDescr":"Uzun Açıklamalı URL","cssClass":"Stil Sınıfları","advisoryTitle":"Öneri Başlığı","cssStyle":"Stil","ok":"Tamam","cancel":"İptal","close":"Kapat","preview":"Önizleme","resize":"Yeniden Boyutlandır","generalTab":"Genel","advancedTab":"Gelişmiş","validateNumberFailed":"Bu değer bir sayı değildir.","confirmNewPage":"Bu içerikle ilgili kaydedilmemiş tüm bilgiler kaybolacaktır. Yeni bir sayfa yüklemek istediğinizden emin misiniz?","confirmCancel":"Bazı seçenekleri değiştirdiniz. İletişim penceresini kapatmak istediğinizden emin misiniz?","options":"Seçenekler","target":"Hedef","targetNew":"Yeni Pencere (_blank)","targetTop":"En Üstteki Pencere (_top)","targetSelf":"Aynı Pencere (_self)","targetParent":"Üst Pencere (_parent)","langDirLTR":"Soldan Sağa (LTR)","langDirRTL":"Sağdan Sola (RTL)","styles":"Stil","cssClasses":"Stil Sınıfları","width":"Genişlik","height":"Yükseklik","align":"Hizalama","left":"Sol","right":"Sağ","center":"Ortala","justify":"İki Kenara Yaslanmış","alignLeft":"Sola Dayalı","alignRight":"Sağa Dayalı","alignCenter":"Ortaya Hizala","alignTop":"Üst","alignMiddle":"Orta","alignBottom":"Alt","alignNone":"Hiçbiri","invalidValue":"Geçersiz değer.","invalidHeight":"Yükseklik değeri bir sayı olmalıdır.","invalidWidth":"Genişlik değeri bir sayı olmalıdır.","invalidLength":"\"%1\" alanı için belirtilen değer, geçerli bir ölçü birimi olsun veya olmasın (%2) pozitif bir sayı olmalıdır.","invalidCssLength":"\"%1\" alanı için verilen değer, geçerli bir CSS ölçü birimi (px, %, in, cm, mm, em, ex, pt, veya pc) içeren veya içermeyen pozitif bir sayı olmalıdır.","invalidHtmlLength":"\"%1\" alanı için belirttiğiniz sayı, HTML (px veya %) birimi olsun yada olmasın pozitif bir değeri olmalıdır.","invalidInlineStyle":"Satıriçi stil için verilen değer, \"isim : değer\" biçiminde birbirinden noktalı virgüllerle ayrılan bir veya daha fazla değişkenler grubundan oluşmalıdır.","cssLengthTooltip":"Piksel türünde bir sayı veya geçerli bir CSS ölçü birimi (px, %, in, cm, mm, em, ex, pt veya pc) içeren bir sayı girin.","unavailable":"%1<span class=\"cke_accessibility\">, kullanılamaz</span>","keyboard":{"8":"Silme Tuşu","13":"Giriş Tuşu","16":"Üst Karater Tuşu","17":"Kontrol Tuşu","18":"Alt Tuşu","32":"Boşluk Tuşu","35":"En Sona Tuşu","36":"En Başa Tuşu","46":"Silme Tuşu","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Komut Tuşu"},"keyboardShortcut":"Klavye Kısayolu","optionDefault":"Varsayılan"}}; \ No newline at end of file +CKEDITOR.lang['tr']={"widget":{"move":"Taşımak için, tıklayın ve sürükleyin","label":"%1 Grafik Beleşeni"},"undo":{"redo":"Tekrarla","undo":"Geri Al"},"toolbar":{"toolbarCollapse":"Araç çubuklarını topla","toolbarExpand":"Araç çubuklarını aç","toolbarGroups":{"document":"Belge","clipboard":"Pano/Geri al","editing":"Düzenleme","forms":"Formlar","basicstyles":"Temel Stiller","paragraph":"Paragraf","links":"Bağlantılar","insert":"Ekle","styles":"Stiller","colors":"Renkler","tools":"Araçlar"},"toolbars":"Araç çubukları Editörü"},"table":{"border":"Kenar Kalınlığı","caption":"Başlık","cell":{"menu":"Hücre","insertBefore":"Hücre Ekle - Önce","insertAfter":"Hücre Ekle - Sonra","deleteCell":"Hücre Sil","merge":"Hücreleri Birleştir","mergeRight":"Birleştir - Sağdaki İle ","mergeDown":"Birleştir - Aşağıdaki İle ","splitHorizontal":"Hücreyi Yatay Böl","splitVertical":"Hücreyi Dikey Böl","title":"Hücre Özellikleri","cellType":"Hücre Tipi","rowSpan":"Satırlar Mesafesi (Span)","colSpan":"Sütünlar Mesafesi (Span)","wordWrap":"Kelime Kaydırma","hAlign":"Düşey Hizalama","vAlign":"Yataş Hizalama","alignBaseline":"Tabana","bgColor":"Arkaplan Rengi","borderColor":"Çerçeve Rengi","data":"Veri","header":"Başlık","yes":"Evet","no":"Hayır","invalidWidth":"Hücre genişliği sayı olmalıdır.","invalidHeight":"Hücre yüksekliği sayı olmalıdır.","invalidRowSpan":"Satırların mesafesi tam sayı olmalıdır.","invalidColSpan":"Sütünların mesafesi tam sayı olmalıdır.","chooseColor":"Seçiniz"},"cellPad":"Izgara yazı arası","cellSpace":"Izgara kalınlığı","column":{"menu":"Sütun","insertBefore":"Kolon Ekle - Önce","insertAfter":"Kolon Ekle - Sonra","deleteColumn":"Sütun Sil"},"columns":"Sütunlar","deleteTable":"Tabloyu Sil","headers":"Başlıklar","headersBoth":"Her İkisi","headersColumn":"İlk Sütun","headersNone":"Yok","headersRow":"İlk Satır","heightUnit":"yükseklik birimi","invalidBorder":"Çerceve büyüklüklüğü sayı olmalıdır.","invalidCellPadding":"Hücre aralığı (padding) sayı olmalıdır.","invalidCellSpacing":"Hücre boşluğu (spacing) sayı olmalıdır.","invalidCols":"Sütün sayısı 0 sayısından büyük olmalıdır.","invalidHeight":"Tablo yüksekliği sayı olmalıdır.","invalidRows":"Satır sayısı 0 sayısından büyük olmalıdır.","invalidWidth":"Tablo genişliği sayı olmalıdır.","menu":"Tablo Özellikleri","row":{"menu":"Satır","insertBefore":"Satır Ekle - Önce","insertAfter":"Satır Ekle - Sonra","deleteRow":"Satır Sil"},"rows":"Satırlar","summary":"Özet","title":"Tablo Özellikleri","toolbar":"Tablo","widthPc":"yüzde","widthPx":"piksel","widthUnit":"genişlik birimi"},"stylescombo":{"label":"Biçem","panelTitle":"Stilleri Düzenliyor","panelTitle1":"Blok Stilleri","panelTitle2":"Inline Stilleri","panelTitle3":"Nesne Stilleri"},"specialchar":{"options":"Özel Karakter Seçenekleri","title":"Özel Karakter Seç","toolbar":"Özel Karakter Ekle"},"sourcedialog":{"toolbar":"Kaynak","title":"Kaynak"},"sourcearea":{"toolbar":"Kaynak"},"showblocks":{"toolbar":"Blokları Göster"},"removeformat":{"toolbar":"Biçimi Kaldır"},"pastetext":{"button":"Düz metin olarak yapıştır","pasteNotification":"%1 tuşuna yapıştırmak için tıklayın. Tarayıcınız, Araç Çubuğu yada İçerik Menüsünü kullanarak yapıştırmayı desteklemiyor.","title":"Düz metin olarak yapıştır"},"pastefromword":{"confirmCleanup":"Yapıştırmaya çalıştığınız metin Word'den kopyalanmıştır. Yapıştırmadan önce silmek istermisiniz?","error":"Yapıştırmadaki veri bilgisi hata düzelene kadar silinmeyecektir","title":"Word'den Yapıştır","toolbar":"Word'den Yapıştır"},"notification":{"closed":"Uyarılar kapatıldı."},"maximize":{"maximize":"Büyült","minimize":"Küçült"},"magicline":{"title":"Parağrafı buraya ekle"},"list":{"bulletedlist":"Simgeli Liste","numberedlist":"Numaralı Liste"},"language":{"button":"Dili seç","remove":"Dili kaldır"},"indent":{"indent":"Sekme Arttır","outdent":"Sekme Azalt"},"image2":{"alt":"Alternatif Yazı","btnUpload":"Sunucuya Yolla","captioned":"Başlıklı resim","captionPlaceholder":"Başlık","infoTab":"Resim Bilgisi","lockRatio":"Oranı Kilitle","menu":"Resim Özellikleri","pathName":"Resim","pathNameCaption":"başlık","resetSize":"Boyutu Başa Döndür","resizer":"Boyutlandırmak için, tıklayın ve sürükleyin","title":"Resim Özellikleri","uploadTab":"Karşıya Yükle","urlMissing":"Resmin URL kaynağı bulunamadı.","altMissing":"Alternatif yazı eksik."},"horizontalrule":{"toolbar":"Yatay Satır Ekle"},"format":{"label":"Biçim","panelTitle":"Biçim","tag_address":"Adres","tag_div":"Paragraf (DIV)","tag_h1":"Başlık 1","tag_h2":"Başlık 2","tag_h3":"Başlık 3","tag_h4":"Başlık 4","tag_h5":"Başlık 5","tag_h6":"Başlık 6","tag_p":"Normal","tag_pre":"Biçimli"},"filetools":{"loadError":"Dosya okunurken hata oluştu.","networkError":"Dosya gönderilirken ağ hatası oluştu.","httpError404":"Dosya gönderilirken HTTP hatası oluştu (404: Dosya bulunamadı).","httpError403":"Dosya gönderilirken HTTP hatası oluştu (403: Yasaklı).","httpError":"Dosya gönderilirken HTTP hatası oluştu (hata durumu: %1).","noUrlError":"Gönderilecek URL belirtilmedi.","responseError":"Sunucu cevap veremedi."},"elementspath":{"eleLabel":"Elementlerin yolu","eleTitle":"%1 elementi"},"contextmenu":{"options":"İçerik Menüsü Seçenekleri"},"clipboard":{"copy":"Kopyala","copyError":"Tarayıcı yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl/Cmd+C) tuşlarını kullanın.","cut":"Kes","cutError":"Tarayıcı yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl/Cmd+X) tuşlarını kullanın.","paste":"Yapıştır","pasteNotification":"%1 tuşuna yapıştırmak için tıklayın. Tarayıcınız, Araç Çubuğu yada İçerik Menüsünü kullanarak yapıştırmayı desteklemiyor.","pasteArea":"Yapıştırma Alanı","pasteMsg":"İçeriğinizi alttaki bulunan alana yapıştırın ve TAMAM butonuna tıklayın"},"blockquote":{"toolbar":"Blok Oluştur"},"basicstyles":{"bold":"Kalın","italic":"İtalik","strike":"Üstü Çizgili","subscript":"Alt Simge","superscript":"Üst Simge","underline":"Altı Çizgili"},"about":{"copy":"Copyright © $1. Tüm hakları saklıdır.","dlgTitle":"CKEditor Hakkında","moreInfo":"Lisanslama hakkında daha fazla bilgi almak için lütfen sitemizi ziyaret edin:"},"editor":"Zengin Metin Editörü","editorPanel":"Zengin Metin Editör Paneli","common":{"editorHelp":"Yardım için ALT 0 tuşlarına basın","browseServer":"Sunucuya Gözat","url":"URL","protocol":"Protokol","upload":"Karşıya Yükle","uploadSubmit":"Sunucuya Gönder","image":"Resim","flash":"Flash","form":"Form","checkbox":"Seçim Kutusu","radio":"Seçenek Düğmesi","textField":"Metin Kutusu","textarea":"Metin Alanı","hiddenField":"Gizli Alan","button":"Düğme","select":"Seçme Alanı","imageButton":"Resim Düğmesi","notSet":"<tanımlanmamış>","id":"Kimlik","name":"İsim","langDir":"Dil Yönü","langDirLtr":"Soldan Sağa (LTR)","langDirRtl":"Sağdan Sola (RTL)","langCode":" Dil Kodu","longDescr":"Uzun Açıklamalı URL","cssClass":"Stil Sınıfları","advisoryTitle":"Öneri Başlığı","cssStyle":"Stil","ok":"Tamam","cancel":"İptal","close":"Kapat","preview":"Önizleme","resize":"Yeniden Boyutlandır","generalTab":"Genel","advancedTab":"Gelişmiş","validateNumberFailed":"Bu değer bir sayı değildir.","confirmNewPage":"Bu içerikle ilgili kaydedilmemiş tüm bilgiler kaybolacaktır. Yeni bir sayfa yüklemek istediğinizden emin misiniz?","confirmCancel":"Bazı seçenekleri değiştirdiniz. İletişim penceresini kapatmak istediğinizden emin misiniz?","options":"Seçenekler","target":"Hedef","targetNew":"Yeni Pencere (_blank)","targetTop":"En Üstteki Pencere (_top)","targetSelf":"Aynı Pencere (_self)","targetParent":"Üst Pencere (_parent)","langDirLTR":"Soldan Sağa (LTR)","langDirRTL":"Sağdan Sola (RTL)","styles":"Stil","cssClasses":"Stil Sınıfları","width":"Genişlik","height":"Yükseklik","align":"Hizalama","left":"Sol","right":"Sağ","center":"Ortala","justify":"İki Kenara Yaslanmış","alignLeft":"Sola Dayalı","alignRight":"Sağa Dayalı","alignCenter":"Ortaya Hizala","alignTop":"Üst","alignMiddle":"Orta","alignBottom":"Alt","alignNone":"Hiçbiri","invalidValue":"Geçersiz değer.","invalidHeight":"Yükseklik değeri bir sayı olmalıdır.","invalidWidth":"Genişlik değeri bir sayı olmalıdır.","invalidLength":"\"%1\" alanı için belirtilen değer, geçerli bir ölçü birimi olsun veya olmasın (%2) pozitif bir sayı olmalıdır.","invalidCssLength":"\"%1\" alanı için verilen değer, geçerli bir CSS ölçü birimi (px, %, in, cm, mm, em, ex, pt, veya pc) içeren veya içermeyen pozitif bir sayı olmalıdır.","invalidHtmlLength":"\"%1\" alanı için belirttiğiniz sayı, HTML (px veya %) birimi olsun yada olmasın pozitif bir değeri olmalıdır.","invalidInlineStyle":"Satıriçi stil için verilen değer, \"isim : değer\" biçiminde birbirinden noktalı virgüllerle ayrılan bir veya daha fazla değişkenler grubundan oluşmalıdır.","cssLengthTooltip":"Piksel türünde bir sayı veya geçerli bir CSS ölçü birimi (px, %, in, cm, mm, em, ex, pt veya pc) içeren bir sayı girin.","unavailable":"%1<span class=\"cke_accessibility\">, kullanılamaz</span>","keyboard":{"8":"Silme Tuşu","13":"Giriş Tuşu","16":"Üst Karater Tuşu","17":"Kontrol Tuşu","18":"Alt Tuşu","32":"Boşluk Tuşu","35":"En Sona Tuşu","36":"En Başa Tuşu","46":"Silme Tuşu","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Komut Tuşu"},"keyboardShortcut":"Klavye Kısayolu","optionDefault":"Varsayılan"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/uk.js b/web/core/assets/vendor/ckeditor/lang/uk.js index cd5d21f753fb647e77b2b79cb739c57328817673..7ffb28dae36dfa25d8d79beb6b9c7e8725b7925c 100644 --- a/web/core/assets/vendor/ckeditor/lang/uk.js +++ b/web/core/assets/vendor/ckeditor/lang/uk.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['uk']={"widget":{"move":"Клікніть і потягніть для переміщення","label":"%1 віджет"},"undo":{"redo":"Повторити","undo":"Повернути"},"toolbar":{"toolbarCollapse":"Згорнути панель інструментів","toolbarExpand":"Розгорнути панель інструментів","toolbarGroups":{"document":"Документ","clipboard":"Буфер обміну / Скасувати","editing":"Редагування","forms":"Форми","basicstyles":"Основний Стиль","paragraph":"Параграф","links":"Посилання","insert":"Вставити","styles":"Стилі","colors":"Кольори","tools":"Інструменти"},"toolbars":"Панель інструментів редактора"},"table":{"border":"Розмір рамки","caption":"Заголовок таблиці","cell":{"menu":"Комірки","insertBefore":"Вставити комірку перед","insertAfter":"Вставити комірку після","deleteCell":"Видалити комірки","merge":"Об'єднати комірки","mergeRight":"Об'єднати справа","mergeDown":"Об'єднати донизу","splitHorizontal":"Розділити комірку по горизонталі","splitVertical":"Розділити комірку по вертикалі","title":"Властивості комірки","cellType":"Тип комірки","rowSpan":"Об'єднання рядків","colSpan":"Об'єднання стовпців","wordWrap":"Автоперенесення тексту","hAlign":"Гориз. вирівнювання","vAlign":"Верт. вирівнювання","alignBaseline":"По базовій лінії","bgColor":"Колір фону","borderColor":"Колір рамки","data":"Дані","header":"Заголовок","yes":"Так","no":"Ні","invalidWidth":"Ширина комірки повинна бути цілим числом.","invalidHeight":"Висота комірки повинна бути цілим числом.","invalidRowSpan":"Кількість об'єднуваних рядків повинна бути цілим числом.","invalidColSpan":"Кількість об'єднуваних стовбців повинна бути цілим числом.","chooseColor":"Обрати"},"cellPad":"Внутр. відступ","cellSpace":"Проміжок","column":{"menu":"Стовбці","insertBefore":"Вставити стовбець перед","insertAfter":"Вставити стовбець після","deleteColumn":"Видалити стовбці"},"columns":"Стовбці","deleteTable":"Видалити таблицю","headers":"Заголовки стовбців/рядків","headersBoth":"Стовбці і рядки","headersColumn":"Стовбці","headersNone":"Без заголовків","headersRow":"Рядки","heightUnit":"height unit","invalidBorder":"Розмір рамки повинен бути цілим числом.","invalidCellPadding":"Внутр. відступ комірки повинен бути цілим числом.","invalidCellSpacing":"Проміжок між комірками повинен бути цілим числом.","invalidCols":"Кількість стовбців повинна бути більшою 0.","invalidHeight":"Висота таблиці повинна бути цілим числом.","invalidRows":"Кількість рядків повинна бути більшою 0.","invalidWidth":"Ширина таблиці повинна бути цілим числом.","menu":"Властивості таблиці","row":{"menu":"Рядки","insertBefore":"Вставити рядок перед","insertAfter":"Вставити рядок після","deleteRow":"Видалити рядки"},"rows":"Рядки","summary":"Детальний опис заголовку таблиці","title":"Властивості таблиці","toolbar":"Таблиця","widthPc":"відсотків","widthPx":"пікселів","widthUnit":"Одиниці вимір."},"stylescombo":{"label":"Стиль","panelTitle":"Стилі форматування","panelTitle1":"Блочні стилі","panelTitle2":"Рядкові стилі","panelTitle3":"Об'єктні стилі"},"specialchar":{"options":"Опції","title":"Оберіть спеціальний символ","toolbar":"Спеціальний символ"},"sourcedialog":{"toolbar":"Джерело","title":"Джерело"},"sourcearea":{"toolbar":"Джерело"},"showblocks":{"toolbar":"Показувати блоки"},"removeformat":{"toolbar":"Видалити форматування"},"pastetext":{"button":"Вставити тільки текст","pasteNotification":"Натисніть %1, щоб вставити. Ваш браузер не підтримує вставку за допомогою кнопки панелі інструментів або пункту контекстного меню.","title":"Вставити тільки текст"},"pastefromword":{"confirmCleanup":"Текст, що Ви намагаєтесь вставити, схожий на скопійований з Word. Бажаєте очистити його форматування перед вставлянням?","error":"Неможливо очистити форматування через внутрішню помилку.","title":"Вставити з Word","toolbar":"Вставити з Word"},"notification":{"closed":"Сповіщення закрито."},"maximize":{"maximize":"Максимізувати","minimize":"Мінімізувати"},"magicline":{"title":"Вставити абзац"},"list":{"bulletedlist":"Маркірований список","numberedlist":"Нумерований список"},"language":{"button":"Установити мову","remove":"Вилучити мову"},"indent":{"indent":"Збільшити відступ","outdent":"Зменшити відступ"},"image2":{"alt":"Альтернативний текст","btnUpload":"Надіслати на сервер","captioned":"Підписане зображення","captionPlaceholder":"Заголовок","infoTab":"Інформація про зображення","lockRatio":"Зберегти пропорції","menu":"Властивості зображення","pathName":"Зображення","pathNameCaption":"заголовок","resetSize":"Очистити поля розмірів","resizer":"Клікніть та потягніть для зміни розмірів","title":"Властивості зображення","uploadTab":"Надіслати","urlMissing":"Вкажіть URL зображення.","altMissing":"Альтернативний текст відсутній."},"horizontalrule":{"toolbar":"Горизонтальна лінія"},"format":{"label":"Форматування","panelTitle":"Форматування параграфа","tag_address":"Адреса","tag_div":"Нормальний (div)","tag_h1":"Заголовок 1","tag_h2":"Заголовок 2","tag_h3":"Заголовок 3","tag_h4":"Заголовок 4","tag_h5":"Заголовок 5","tag_h6":"Заголовок 6","tag_p":"Нормальний","tag_pre":"Форматований"},"filetools":{"loadError":"Виникла помилка під час читання файлу","networkError":"Під час завантаження файлу виникла помилка мережі.","httpError404":"Під час завантаження файлу виникла помилка HTTP (404: Файл не знайдено).","httpError403":"Під час завантаження файлу виникла помилка HTTP (403: Доступ заборонено).","httpError":"Під час завантаження файлу виникла помилка (статус помилки: %1).","noUrlError":"URL завантаження не визначений.","responseError":"Невірна відповідь сервера."},"elementspath":{"eleLabel":"Шлях","eleTitle":"%1 елемент"},"contextmenu":{"options":"Опції контекстного меню"},"clipboard":{"copy":"Копіювати","copyError":"Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).","cut":"Вирізати","cutError":"Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)","paste":"Вставити","pasteNotification":"Натисніть %1, щоб вставити. Ваш браузер не підтримує вставку за допомогою кнопки панелі інструментів або пункту контекстного меню.","pasteArea":"Область вставки","pasteMsg":"Вставте вміст у область нижче та натисніть OK."},"blockquote":{"toolbar":"Цитата"},"basicstyles":{"bold":"Жирний","italic":"Курсив","strike":"Закреслений","subscript":"Нижній індекс","superscript":"Верхній індекс","underline":"Підкреслений"},"about":{"copy":"Copyright © $1. Всі права застережено.","dlgTitle":"Про CKEditor 4","moreInfo":"Щодо інформації з ліцензування завітайте на наш сайт:"},"editor":"Текстовий редактор","editorPanel":"Панель розширеного текстового редактора","common":{"editorHelp":"натисніть ALT 0 для довідки","browseServer":"Огляд Сервера","url":"URL","protocol":"Протокол","upload":"Надіслати","uploadSubmit":"Надіслати на сервер","image":"Зображення","flash":"Flash","form":"Форма","checkbox":"Галочка","radio":"Кнопка вибору","textField":"Текстове поле","textarea":"Текстова область","hiddenField":"Приховане поле","button":"Кнопка","select":"Список","imageButton":"Кнопка із зображенням","notSet":"<не визначено>","id":"Ідентифікатор","name":"Ім'я","langDir":"Напрямок мови","langDirLtr":"Зліва направо (LTR)","langDirRtl":"Справа наліво (RTL)","langCode":"Код мови","longDescr":"Довгий опис URL","cssClass":"Клас CSS","advisoryTitle":"Заголовок","cssStyle":"Стиль CSS","ok":"ОК","cancel":"Скасувати","close":"Закрити","preview":"Попередній перегляд","resize":"Потягніть для зміни розмірів","generalTab":"Основне","advancedTab":"Додаткове","validateNumberFailed":"Значення не є цілим числом.","confirmNewPage":"Всі незбережені зміни будуть втрачені. Ви впевнені, що хочете завантажити нову сторінку?","confirmCancel":"Деякі опції змінено. Закрити вікно без збереження змін?","options":"Опції","target":"Ціль","targetNew":"Нове вікно (_blank)","targetTop":"Поточне вікно (_top)","targetSelf":"Поточний фрейм/вікно (_self)","targetParent":"Батьківський фрейм/вікно (_parent)","langDirLTR":"Зліва направо (LTR)","langDirRTL":"Справа наліво (RTL)","styles":"Стиль CSS","cssClasses":"Клас CSS","width":"Ширина","height":"Висота","align":"Вирівнювання","left":"По лівому краю","right":"По правому краю","center":"По центру","justify":"По ширині","alignLeft":"По лівому краю","alignRight":"По правому краю","alignCenter":"По центру","alignTop":"По верхньому краю","alignMiddle":"По середині","alignBottom":"По нижньому краю","alignNone":"Нема","invalidValue":"Невірне значення.","invalidHeight":"Висота повинна бути цілим числом.","invalidWidth":"Ширина повинна бути цілим числом.","invalidLength":"Вказане значення для поля \"%1\" має бути позитивним числом без або з коректним символом одиниці виміру (%2).","invalidCssLength":"Значення, вказане для \"%1\" в полі повинно бути позитивним числом або без дійсного виміру CSS блоку (px, %, in, cm, mm, em, ex, pt або pc).","invalidHtmlLength":"Значення, вказане для \"%1\" в полі повинно бути позитивним числом або без дійсного виміру HTML блоку (px або %).","invalidInlineStyle":"Значення, вказане для вбудованого стилю повинне складатися з одного чи кількох кортежів у форматі \"ім'я : значення\", розділених крапкою з комою.","cssLengthTooltip":"Введіть номер значення в пікселях або число з дійсною одиниці CSS (px, %, in, cm, mm, em, ex, pt або pc).","unavailable":"%1<span class=\"cke_accessibility\">, не доступне</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Пробіл","35":"End","36":"Home","46":"Видалити","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Сполучення клавіш","optionDefault":"Типово"}}; \ No newline at end of file +CKEDITOR.lang['uk']={"widget":{"move":"Клікніть і потягніть для переміщення","label":"%1 віджет"},"undo":{"redo":"Повторити","undo":"Повернути"},"toolbar":{"toolbarCollapse":"Згорнути панель інструментів","toolbarExpand":"Розгорнути панель інструментів","toolbarGroups":{"document":"Документ","clipboard":"Буфер обміну / Скасувати","editing":"Редагування","forms":"Форми","basicstyles":"Основний Стиль","paragraph":"Параграф","links":"Посилання","insert":"Вставити","styles":"Стилі","colors":"Кольори","tools":"Інструменти"},"toolbars":"Панель інструментів редактора"},"table":{"border":"Розмір рамки","caption":"Заголовок таблиці","cell":{"menu":"Комірки","insertBefore":"Вставити комірку перед","insertAfter":"Вставити комірку після","deleteCell":"Видалити комірки","merge":"Об'єднати комірки","mergeRight":"Об'єднати справа","mergeDown":"Об'єднати донизу","splitHorizontal":"Розділити комірку по горизонталі","splitVertical":"Розділити комірку по вертикалі","title":"Властивості комірки","cellType":"Тип комірки","rowSpan":"Об'єднання рядків","colSpan":"Об'єднання стовпців","wordWrap":"Автоперенесення тексту","hAlign":"Гориз. вирівнювання","vAlign":"Верт. вирівнювання","alignBaseline":"По базовій лінії","bgColor":"Колір фону","borderColor":"Колір рамки","data":"Дані","header":"Заголовок","yes":"Так","no":"Ні","invalidWidth":"Ширина комірки повинна бути цілим числом.","invalidHeight":"Висота комірки повинна бути цілим числом.","invalidRowSpan":"Кількість об'єднуваних рядків повинна бути цілим числом.","invalidColSpan":"Кількість об'єднуваних стовбців повинна бути цілим числом.","chooseColor":"Обрати"},"cellPad":"Внутр. відступ","cellSpace":"Проміжок","column":{"menu":"Стовбці","insertBefore":"Вставити стовбець перед","insertAfter":"Вставити стовбець після","deleteColumn":"Видалити стовбці"},"columns":"Стовбці","deleteTable":"Видалити таблицю","headers":"Заголовки стовбців/рядків","headersBoth":"Стовбці і рядки","headersColumn":"Стовбці","headersNone":"Без заголовків","headersRow":"Рядки","heightUnit":"одиниця висоти","invalidBorder":"Розмір рамки повинен бути цілим числом.","invalidCellPadding":"Внутр. відступ комірки повинен бути цілим числом.","invalidCellSpacing":"Проміжок між комірками повинен бути цілим числом.","invalidCols":"Кількість стовбців повинна бути більшою 0.","invalidHeight":"Висота таблиці повинна бути цілим числом.","invalidRows":"Кількість рядків повинна бути більшою 0.","invalidWidth":"Ширина таблиці повинна бути цілим числом.","menu":"Властивості таблиці","row":{"menu":"Рядки","insertBefore":"Вставити рядок перед","insertAfter":"Вставити рядок після","deleteRow":"Видалити рядки"},"rows":"Рядки","summary":"Детальний опис заголовку таблиці","title":"Властивості таблиці","toolbar":"Таблиця","widthPc":"відсотків","widthPx":"пікселів","widthUnit":"одиниця ширини"},"stylescombo":{"label":"Стиль","panelTitle":"Стилі форматування","panelTitle1":"Блочні стилі","panelTitle2":"Рядкові стилі","panelTitle3":"Об'єктні стилі"},"specialchar":{"options":"Опції","title":"Оберіть спеціальний символ","toolbar":"Спеціальний символ"},"sourcedialog":{"toolbar":"Джерело","title":"Джерело"},"sourcearea":{"toolbar":"Джерело"},"showblocks":{"toolbar":"Показувати блоки"},"removeformat":{"toolbar":"Видалити форматування"},"pastetext":{"button":"Вставити тільки текст","pasteNotification":"Натисніть %1, щоб вставити. Ваш браузер не підтримує вставку за допомогою кнопки панелі інструментів або пункту контекстного меню.","title":"Вставити тільки текст"},"pastefromword":{"confirmCleanup":"Текст, що Ви намагаєтесь вставити, схожий на скопійований з Word. Бажаєте очистити його форматування перед вставлянням?","error":"Неможливо очистити форматування через внутрішню помилку.","title":"Вставити з Word","toolbar":"Вставити з Word"},"notification":{"closed":"Сповіщення закрито."},"maximize":{"maximize":"Максимізувати","minimize":"Мінімізувати"},"magicline":{"title":"Вставити абзац"},"list":{"bulletedlist":"Вставити/видалити маркований список","numberedlist":"Вставити/видалити нумерований список"},"language":{"button":"Установити мову","remove":"Вилучити мову"},"indent":{"indent":"Збільшити відступ","outdent":"Зменшити відступ"},"image2":{"alt":"Альтернативний текст","btnUpload":"Надіслати на сервер","captioned":"Підписане зображення","captionPlaceholder":"Заголовок","infoTab":"Інформація про зображення","lockRatio":"Зберегти пропорції","menu":"Властивості зображення","pathName":"Зображення","pathNameCaption":"заголовок","resetSize":"Очистити поля розмірів","resizer":"Клікніть та потягніть для зміни розмірів","title":"Властивості зображення","uploadTab":"Надіслати","urlMissing":"Вкажіть URL зображення.","altMissing":"Альтернативний текст відсутній."},"horizontalrule":{"toolbar":"Горизонтальна лінія"},"format":{"label":"Форматування","panelTitle":"Форматування параграфа","tag_address":"Адреса","tag_div":"Нормальний (div)","tag_h1":"Заголовок 1","tag_h2":"Заголовок 2","tag_h3":"Заголовок 3","tag_h4":"Заголовок 4","tag_h5":"Заголовок 5","tag_h6":"Заголовок 6","tag_p":"Нормальний","tag_pre":"Форматований"},"filetools":{"loadError":"Виникла помилка під час читання файлу","networkError":"Під час завантаження файлу виникла помилка мережі.","httpError404":"Під час завантаження файлу виникла помилка HTTP (404: Файл не знайдено).","httpError403":"Під час завантаження файлу виникла помилка HTTP (403: Доступ заборонено).","httpError":"Під час завантаження файлу виникла помилка (статус помилки: %1).","noUrlError":"URL завантаження не визначений.","responseError":"Невірна відповідь сервера."},"elementspath":{"eleLabel":"Шлях","eleTitle":"%1 елемент"},"contextmenu":{"options":"Опції контекстного меню"},"clipboard":{"copy":"Копіювати","copyError":"Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+C).","cut":"Вирізати","cutError":"Налаштування безпеки Вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl/Cmd+X)","paste":"Вставити","pasteNotification":"Натисніть %1, щоб вставити. Ваш браузер не підтримує вставку за допомогою кнопки панелі інструментів або пункту контекстного меню.","pasteArea":"Область вставки","pasteMsg":"Вставте вміст у область нижче та натисніть OK."},"blockquote":{"toolbar":"Цитата"},"basicstyles":{"bold":"Жирний","italic":"Курсив","strike":"Закреслений","subscript":"Нижній індекс","superscript":"Верхній індекс","underline":"Підкреслений"},"about":{"copy":"Copyright © $1. Всі права застережено.","dlgTitle":"Про CKEditor 4","moreInfo":"Щодо інформації з ліцензування завітайте на наш сайт:"},"editor":"Текстовий редактор","editorPanel":"Панель розширеного текстового редактора","common":{"editorHelp":"натисніть ALT 0 для довідки","browseServer":"Огляд Сервера","url":"URL","protocol":"Протокол","upload":"Надіслати","uploadSubmit":"Надіслати на сервер","image":"Зображення","flash":"Flash","form":"Форма","checkbox":"Галочка","radio":"Кнопка вибору","textField":"Текстове поле","textarea":"Текстова область","hiddenField":"Приховане поле","button":"Кнопка","select":"Список","imageButton":"Кнопка із зображенням","notSet":"<не визначено>","id":"Ідентифікатор","name":"Ім'я","langDir":"Напрямок мови","langDirLtr":"Зліва направо (LTR)","langDirRtl":"Справа наліво (RTL)","langCode":"Код мови","longDescr":"Довгий опис URL","cssClass":"Клас CSS","advisoryTitle":"Заголовок","cssStyle":"Стиль CSS","ok":"ОК","cancel":"Скасувати","close":"Закрити","preview":"Попередній перегляд","resize":"Потягніть для зміни розмірів","generalTab":"Основне","advancedTab":"Додаткове","validateNumberFailed":"Значення не є цілим числом.","confirmNewPage":"Всі незбережені зміни будуть втрачені. Ви впевнені, що хочете завантажити нову сторінку?","confirmCancel":"Деякі опції змінено. Закрити вікно без збереження змін?","options":"Опції","target":"Ціль","targetNew":"Нове вікно (_blank)","targetTop":"Поточне вікно (_top)","targetSelf":"Поточний фрейм/вікно (_self)","targetParent":"Батьківський фрейм/вікно (_parent)","langDirLTR":"Зліва направо (LTR)","langDirRTL":"Справа наліво (RTL)","styles":"Стиль CSS","cssClasses":"Клас CSS","width":"Ширина","height":"Висота","align":"Вирівнювання","left":"По лівому краю","right":"По правому краю","center":"По центру","justify":"По ширині","alignLeft":"По лівому краю","alignRight":"По правому краю","alignCenter":"По центру","alignTop":"По верхньому краю","alignMiddle":"По середині","alignBottom":"По нижньому краю","alignNone":"Нема","invalidValue":"Невірне значення.","invalidHeight":"Висота повинна бути цілим числом.","invalidWidth":"Ширина повинна бути цілим числом.","invalidLength":"Вказане значення для поля \"%1\" має бути позитивним числом без або з коректним символом одиниці виміру (%2).","invalidCssLength":"Значення, вказане для \"%1\" в полі повинно бути позитивним числом або без дійсного виміру CSS блоку (px, %, in, cm, mm, em, ex, pt або pc).","invalidHtmlLength":"Значення, вказане для \"%1\" в полі повинно бути позитивним числом або без дійсного виміру HTML блоку (px або %).","invalidInlineStyle":"Значення, вказане для вбудованого стилю повинне складатися з одного чи кількох кортежів у форматі \"ім'я : значення\", розділених крапкою з комою.","cssLengthTooltip":"Введіть номер значення в пікселях або число з дійсною одиниці CSS (px, %, in, cm, mm, em, ex, pt або pc).","unavailable":"%1<span class=\"cke_accessibility\">, не доступне</span>","keyboard":{"8":"Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Пробіл","35":"End","36":"Home","46":"Видалити","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Сполучення клавіш","optionDefault":"Типово"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/vi.js b/web/core/assets/vendor/ckeditor/lang/vi.js index 0257adb5aa80f59848e4fe27f086dd895d64d544..a2e6cbf036f54af52aa7d90a95ff356b79b0d253 100644 --- a/web/core/assets/vendor/ckeditor/lang/vi.js +++ b/web/core/assets/vendor/ckeditor/lang/vi.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['vi']={"widget":{"move":"Nhấp chuột và kéo để di chuyển","label":"%1 widget"},"undo":{"redo":"Làm lại thao tác","undo":"Khôi phục thao tác"},"toolbar":{"toolbarCollapse":"Thu gọn thanh công cụ","toolbarExpand":"Mở rộng thnah công cụ","toolbarGroups":{"document":"Tài liệu","clipboard":"Clipboard/Undo","editing":"Chỉnh sửa","forms":"Bảng biểu","basicstyles":"Kiểu cơ bản","paragraph":"Đoạn","links":"Liên kết","insert":"Chèn","styles":"Kiểu","colors":"Màu sắc","tools":"Công cụ"},"toolbars":"Thanh công cụ"},"table":{"border":"Kích thước đường viền","caption":"Đầu đề","cell":{"menu":"Ô","insertBefore":"Chèn ô Phía trước","insertAfter":"Chèn ô Phía sau","deleteCell":"Xoá ô","merge":"Kết hợp ô","mergeRight":"Kết hợp sang phải","mergeDown":"Kết hợp xuống dưới","splitHorizontal":"Phân tách ô theo chiều ngang","splitVertical":"Phân tách ô theo chiều dọc","title":"Thuộc tính của ô","cellType":"Kiểu của ô","rowSpan":"Kết hợp hàng","colSpan":"Kết hợp cột","wordWrap":"Chữ liền hàng","hAlign":"Canh lề ngang","vAlign":"Canh lề dọc","alignBaseline":"Đường cơ sở","bgColor":"Màu nền","borderColor":"Màu viền","data":"Dữ liệu","header":"Đầu đề","yes":"Có","no":"Không","invalidWidth":"Chiều rộng của ô phải là một số nguyên.","invalidHeight":"Chiều cao của ô phải là một số nguyên.","invalidRowSpan":"Số hàng kết hợp phải là một số nguyên.","invalidColSpan":"Số cột kết hợp phải là một số nguyên.","chooseColor":"Chọn màu"},"cellPad":"Khoảng đệm giữ ô và nội dung","cellSpace":"Khoảng cách giữa các ô","column":{"menu":"Cột","insertBefore":"Chèn cột phía trước","insertAfter":"Chèn cột phía sau","deleteColumn":"Xoá cột"},"columns":"Số cột","deleteTable":"Xóa bảng","headers":"Đầu đề","headersBoth":"Cả hai","headersColumn":"Cột đầu tiên","headersNone":"Không có","headersRow":"Hàng đầu tiên","heightUnit":"height unit","invalidBorder":"Kích cỡ của đường biên phải là một số nguyên.","invalidCellPadding":"Khoảng đệm giữa ô và nội dung phải là một số nguyên.","invalidCellSpacing":"Khoảng cách giữa các ô phải là một số nguyên.","invalidCols":"Số lượng cột phải là một số lớn hơn 0.","invalidHeight":"Chiều cao của bảng phải là một số nguyên.","invalidRows":"Số lượng hàng phải là một số lớn hơn 0.","invalidWidth":"Chiều rộng của bảng phải là một số nguyên.","menu":"Thuộc tính bảng","row":{"menu":"Hàng","insertBefore":"Chèn hàng phía trước","insertAfter":"Chèn hàng phía sau","deleteRow":"Xoá hàng"},"rows":"Số hàng","summary":"Tóm lược","title":"Thuộc tính bảng","toolbar":"Bảng","widthPc":"Phần trăm (%)","widthPx":"Điểm ảnh (px)","widthUnit":"Đơn vị"},"stylescombo":{"label":"Kiểu","panelTitle":"Phong cách định dạng","panelTitle1":"Kiểu khối","panelTitle2":"Kiểu trực tiếp","panelTitle3":"Kiểu đối tượng"},"specialchar":{"options":"Tùy chọn các ký tự đặc biệt","title":"Hãy chọn ký tự đặc biệt","toolbar":"Chèn ký tự đặc biệt"},"sourcedialog":{"toolbar":"Mã HTML","title":"Mã HTML"},"sourcearea":{"toolbar":"Mã HTML"},"showblocks":{"toolbar":"Hiển thị các khối"},"removeformat":{"toolbar":"Xoá định dạng"},"pastetext":{"button":"Dán theo định dạng văn bản thuần","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Dán theo định dạng văn bản thuần"},"pastefromword":{"confirmCleanup":"Văn bản bạn muốn dán có kèm định dạng của Word. Bạn có muốn loại bỏ định dạng Word trước khi dán?","error":"Không thể để làm sạch các dữ liệu dán do một lỗi nội bộ","title":"Dán với định dạng Word","toolbar":"Dán với định dạng Word"},"notification":{"closed":"Notification closed."},"maximize":{"maximize":"Phóng to tối đa","minimize":"Thu nhỏ"},"magicline":{"title":"Chèn đoạn vào đây"},"list":{"bulletedlist":"Chèn/Xoá Danh sách không thứ tự","numberedlist":"Chèn/Xoá Danh sách có thứ tự"},"language":{"button":"Thiết lập ngôn ngữ","remove":"Loại bỏ ngôn ngữ"},"indent":{"indent":"Dịch vào trong","outdent":"Dịch ra ngoài"},"image2":{"alt":"Chú thích ảnh","btnUpload":"Tải lên máy chủ","captioned":"Ảnh có chú thích","captionPlaceholder":"Nhãn","infoTab":"Thông tin của ảnh","lockRatio":"Giữ nguyên tỷ lệ","menu":"Thuộc tính của ảnh","pathName":"ảnh","pathNameCaption":"chú thích","resetSize":"Kích thước gốc","resizer":"Kéo rê để thay đổi kích cỡ","title":"Thuộc tính của ảnh","uploadTab":"Tải lên","urlMissing":"Thiếu đường dẫn hình ảnh","altMissing":"Alternative text is missing."},"horizontalrule":{"toolbar":"Chèn đường phân cách ngang"},"format":{"label":"Định dạng","panelTitle":"Định dạng","tag_address":"Address","tag_div":"Bình thường (DIV)","tag_h1":"Heading 1","tag_h2":"Heading 2","tag_h3":"Heading 3","tag_h4":"Heading 4","tag_h5":"Heading 5","tag_h6":"Heading 6","tag_p":"Bình thường (P)","tag_pre":"Đã thiết lập"},"filetools":{"loadError":"Error occurred during file read.","networkError":"Network error occurred during file upload.","httpError404":"HTTP error occurred during file upload (404: File not found).","httpError403":"HTTP error occurred during file upload (403: Forbidden).","httpError":"HTTP error occurred during file upload (error status: %1).","noUrlError":"Upload URL is not defined.","responseError":"Incorrect server response."},"elementspath":{"eleLabel":"Nhãn thành phần","eleTitle":"%1 thành phần"},"contextmenu":{"options":"Tùy chọn menu bổ xung"},"clipboard":{"copy":"Sao chép","copyError":"Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh sao chép. Hãy sử dụng bàn phím cho lệnh này (Ctrl/Cmd+C).","cut":"Cắt","cutError":"Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh cắt. Hãy sử dụng bàn phím cho lệnh này (Ctrl/Cmd+X).","paste":"Dán","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","pasteArea":"Khu vực dán","pasteMsg":"Paste your content inside the area below and press OK."},"blockquote":{"toolbar":"Khối trích dẫn"},"basicstyles":{"bold":"Đậm","italic":"Nghiêng","strike":"Gạch xuyên ngang","subscript":"Chỉ số dưới","superscript":"Chỉ số trên","underline":"Gạch chân"},"about":{"copy":"Bản quyền © $1. Giữ toàn quyền.","dlgTitle":"Thông tin về CKEditor 4","moreInfo":"Vui lòng ghé thăm trang web của chúng tôi để có thông tin về giấy phép:"},"editor":"Bộ soạn thảo văn bản có định dạng","editorPanel":"Bảng điều khiển Rich Text Editor","common":{"editorHelp":"Nhấn ALT + 0 để được giúp đỡ","browseServer":"Duyệt máy chủ","url":"URL","protocol":"Giao thức","upload":"Tải lên","uploadSubmit":"Tải lên máy chủ","image":"Hình ảnh","flash":"Flash","form":"Biểu mẫu","checkbox":"Nút kiểm","radio":"Nút chọn","textField":"Trường văn bản","textarea":"Vùng văn bản","hiddenField":"Trường ẩn","button":"Nút","select":"Ô chọn","imageButton":"Nút hình ảnh","notSet":"<không thiết lập>","id":"Định danh","name":"Tên","langDir":"Hướng ngôn ngữ","langDirLtr":"Trái sang phải (LTR)","langDirRtl":"Phải sang trái (RTL)","langCode":"Mã ngôn ngữ","longDescr":"Mô tả URL","cssClass":"Lớp Stylesheet","advisoryTitle":"Nhan đề hướng dẫn","cssStyle":"Kiểu ","ok":"Đồng ý","cancel":"Bỏ qua","close":"Đóng","preview":"Xem trước","resize":"Kéo rê để thay đổi kích cỡ","generalTab":"Tab chung","advancedTab":"Tab mở rộng","validateNumberFailed":"Giá trị này không phải là số.","confirmNewPage":"Mọi thay đổi không được lưu lại, nội dung này sẽ bị mất. Bạn có chắc chắn muốn tải một trang mới?","confirmCancel":"Một vài tùy chọn đã bị thay đổi. Bạn có chắc chắn muốn đóng hộp thoại?","options":"Tùy chọn","target":"Đích đến","targetNew":"Cửa sổ mới (_blank)","targetTop":"Cửa sổ trên cùng (_top)","targetSelf":"Tại trang (_self)","targetParent":"Cửa sổ cha (_parent)","langDirLTR":"Trái sang phải (LTR)","langDirRTL":"Phải sang trái (RTL)","styles":"Kiểu","cssClasses":"Lớp CSS","width":"Chiều rộng","height":"Chiều cao","align":"Vị trí","left":"Trái","right":"Phải","center":"Giữa","justify":"Sắp chữ","alignLeft":"Canh trái","alignRight":"Canh phải","alignCenter":"Canh giữa","alignTop":"Trên","alignMiddle":"Giữa","alignBottom":"Dưới","alignNone":"Không","invalidValue":"Giá trị không hợp lệ.","invalidHeight":"Chiều cao phải là số nguyên.","invalidWidth":"Chiều rộng phải là số nguyên.","invalidLength":"Giá trị cho trường \"%1\" phải là một số dương có hoặc không có đơn vị đo lường hợp lệ (%2)","invalidCssLength":"Giá trị quy định cho trường \"%1\" phải là một số dương có hoặc không có một đơn vị đo CSS hợp lệ (px, %, in, cm, mm, em, ex, pt, hoặc pc).","invalidHtmlLength":"Giá trị quy định cho trường \"%1\" phải là một số dương có hoặc không có một đơn vị đo HTML hợp lệ (px hoặc %).","invalidInlineStyle":"Giá trị quy định cho kiểu nội tuyến phải bao gồm một hoặc nhiều dữ liệu với định dạng \"tên:giá trị\", cách nhau bằng dấu chấm phẩy.","cssLengthTooltip":"Nhập một giá trị theo pixel hoặc một số với một đơn vị CSS hợp lệ (px, %, in, cm, mm, em, ex, pt, hoặc pc).","unavailable":"%1<span class=\"cke_accessibility\">, không có</span>","keyboard":{"8":"Phím Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Cách","35":"End","36":"Home","46":"Xóa","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Phím tắt","optionDefault":"Mặc định"}}; \ No newline at end of file +CKEDITOR.lang['vi']={"widget":{"move":"Nhấp chuột và kéo để di chuyển","label":"%1 widget"},"undo":{"redo":"Làm lại thao tác","undo":"Khôi phục thao tác"},"toolbar":{"toolbarCollapse":"Thu gọn thanh công cụ","toolbarExpand":"Mở rộng thnah công cụ","toolbarGroups":{"document":"Tài liệu","clipboard":"Clipboard/Undo","editing":"Chỉnh sửa","forms":"Bảng biểu","basicstyles":"Kiểu cơ bản","paragraph":"Đoạn","links":"Liên kết","insert":"Chèn","styles":"Kiểu","colors":"Màu sắc","tools":"Công cụ"},"toolbars":"Thanh công cụ"},"table":{"border":"Kích thước đường viền","caption":"Đầu đề","cell":{"menu":"Ô","insertBefore":"Chèn ô Phía trước","insertAfter":"Chèn ô Phía sau","deleteCell":"Xoá ô","merge":"Kết hợp ô","mergeRight":"Kết hợp sang phải","mergeDown":"Kết hợp xuống dưới","splitHorizontal":"Phân tách ô theo chiều ngang","splitVertical":"Phân tách ô theo chiều dọc","title":"Thuộc tính của ô","cellType":"Kiểu của ô","rowSpan":"Kết hợp hàng","colSpan":"Kết hợp cột","wordWrap":"Chữ liền hàng","hAlign":"Canh lề ngang","vAlign":"Canh lề dọc","alignBaseline":"Đường cơ sở","bgColor":"Màu nền","borderColor":"Màu viền","data":"Dữ liệu","header":"Đầu đề","yes":"Có","no":"Không","invalidWidth":"Chiều rộng của ô phải là một số nguyên.","invalidHeight":"Chiều cao của ô phải là một số nguyên.","invalidRowSpan":"Số hàng kết hợp phải là một số nguyên.","invalidColSpan":"Số cột kết hợp phải là một số nguyên.","chooseColor":"Chọn màu"},"cellPad":"Khoảng đệm giữ ô và nội dung","cellSpace":"Khoảng cách giữa các ô","column":{"menu":"Cột","insertBefore":"Chèn cột phía trước","insertAfter":"Chèn cột phía sau","deleteColumn":"Xoá cột"},"columns":"Số cột","deleteTable":"Xóa bảng","headers":"Đầu đề","headersBoth":"Cả hai","headersColumn":"Cột đầu tiên","headersNone":"Không có","headersRow":"Hàng đầu tiên","heightUnit":"height unit","invalidBorder":"Kích cỡ của đường biên phải là một số nguyên.","invalidCellPadding":"Khoảng đệm giữa ô và nội dung phải là một số nguyên.","invalidCellSpacing":"Khoảng cách giữa các ô phải là một số nguyên.","invalidCols":"Số lượng cột phải là một số lớn hơn 0.","invalidHeight":"Chiều cao của bảng phải là một số nguyên.","invalidRows":"Số lượng hàng phải là một số lớn hơn 0.","invalidWidth":"Chiều rộng của bảng phải là một số nguyên.","menu":"Thuộc tính bảng","row":{"menu":"Hàng","insertBefore":"Chèn hàng phía trước","insertAfter":"Chèn hàng phía sau","deleteRow":"Xoá hàng"},"rows":"Số hàng","summary":"Tóm lược","title":"Thuộc tính bảng","toolbar":"Bảng","widthPc":"Phần trăm (%)","widthPx":"Điểm ảnh (px)","widthUnit":"Đơn vị"},"stylescombo":{"label":"Kiểu","panelTitle":"Phong cách định dạng","panelTitle1":"Kiểu khối","panelTitle2":"Kiểu trực tiếp","panelTitle3":"Kiểu đối tượng"},"specialchar":{"options":"Tùy chọn các ký tự đặc biệt","title":"Hãy chọn ký tự đặc biệt","toolbar":"Chèn ký tự đặc biệt"},"sourcedialog":{"toolbar":"Mã HTML","title":"Mã HTML"},"sourcearea":{"toolbar":"Mã HTML"},"showblocks":{"toolbar":"Hiển thị các khối"},"removeformat":{"toolbar":"Xoá định dạng"},"pastetext":{"button":"Dán theo định dạng văn bản thuần","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","title":"Dán theo định dạng văn bản thuần"},"pastefromword":{"confirmCleanup":"Văn bản bạn muốn dán có kèm định dạng của Word. Bạn có muốn loại bỏ định dạng Word trước khi dán?","error":"Không thể để làm sạch các dữ liệu dán do một lỗi nội bộ","title":"Dán với định dạng Word","toolbar":"Dán với định dạng Word"},"notification":{"closed":"Notification closed."},"maximize":{"maximize":"Phóng to tối đa","minimize":"Thu nhỏ"},"magicline":{"title":"Chèn đoạn vào đây"},"list":{"bulletedlist":"Chèn/Xoá Danh sách không thứ tự","numberedlist":"Chèn/Xoá Danh sách có thứ tự"},"language":{"button":"Thiết lập ngôn ngữ","remove":"Loại bỏ ngôn ngữ"},"indent":{"indent":"Dịch vào trong","outdent":"Dịch ra ngoài"},"image2":{"alt":"Chú thích ảnh","btnUpload":"Tải lên máy chủ","captioned":"Ảnh có chú thích","captionPlaceholder":"Nhãn","infoTab":"Thông tin của ảnh","lockRatio":"Giữ nguyên tỷ lệ","menu":"Thuộc tính của ảnh","pathName":"ảnh","pathNameCaption":"chú thích","resetSize":"Kích thước gốc","resizer":"Kéo rê để thay đổi kích cỡ","title":"Thuộc tính của ảnh","uploadTab":"Tải lên","urlMissing":"Thiếu đường dẫn hình ảnh","altMissing":"Alternative text is missing."},"horizontalrule":{"toolbar":"Chèn đường phân cách ngang"},"format":{"label":"Định dạng","panelTitle":"Định dạng","tag_address":"Address","tag_div":"Bình thường (DIV)","tag_h1":"Heading 1","tag_h2":"Heading 2","tag_h3":"Heading 3","tag_h4":"Heading 4","tag_h5":"Heading 5","tag_h6":"Heading 6","tag_p":"Bình thường (P)","tag_pre":"Đã thiết lập"},"filetools":{"loadError":"Lỗi xảy ra khi đang đọc file","networkError":"Lỗi kết nối xảy ra khi đang tải file lên","httpError404":"Lỗi HTTP xảy ra khi đang tải file lên (404: Không tìm thấy file)","httpError403":"Lỗi HTTP xảy ra khi đang tải file lên (403: Bị cấm)","httpError":"Lỗi HTTP xảy ra khi đang tải file lên (tình trạng lỗi: %1)","noUrlError":"Đường dẫn tải lên không hoạt động","responseError":"Phản hồi từ server sai"},"elementspath":{"eleLabel":"Nhãn thành phần","eleTitle":"%1 thành phần"},"contextmenu":{"options":"Tùy chọn menu bổ xung"},"clipboard":{"copy":"Sao chép","copyError":"Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh sao chép. Hãy sử dụng bàn phím cho lệnh này (Ctrl/Cmd+C).","cut":"Cắt","cutError":"Các thiết lập bảo mật của trình duyệt không cho phép trình biên tập tự động thực thi lệnh cắt. Hãy sử dụng bàn phím cho lệnh này (Ctrl/Cmd+X).","paste":"Dán","pasteNotification":"Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.","pasteArea":"Khu vực dán","pasteMsg":"Paste your content inside the area below and press OK."},"blockquote":{"toolbar":"Khối trích dẫn"},"basicstyles":{"bold":"Đậm","italic":"Nghiêng","strike":"Gạch xuyên ngang","subscript":"Chỉ số dưới","superscript":"Chỉ số trên","underline":"Gạch chân"},"about":{"copy":"Bản quyền © $1. Giữ toàn quyền.","dlgTitle":"Thông tin về CKEditor 4","moreInfo":"Vui lòng ghé thăm trang web của chúng tôi để có thông tin về giấy phép:"},"editor":"Bộ soạn thảo văn bản có định dạng","editorPanel":"Bảng điều khiển Rich Text Editor","common":{"editorHelp":"Nhấn ALT + 0 để được giúp đỡ","browseServer":"Duyệt máy chủ","url":"URL","protocol":"Giao thức","upload":"Tải lên","uploadSubmit":"Tải lên máy chủ","image":"Hình ảnh","flash":"Flash","form":"Biểu mẫu","checkbox":"Nút kiểm","radio":"Nút chọn","textField":"Trường văn bản","textarea":"Vùng văn bản","hiddenField":"Trường ẩn","button":"Nút","select":"Ô chọn","imageButton":"Nút hình ảnh","notSet":"<không thiết lập>","id":"Định danh","name":"Tên","langDir":"Hướng ngôn ngữ","langDirLtr":"Trái sang phải (LTR)","langDirRtl":"Phải sang trái (RTL)","langCode":"Mã ngôn ngữ","longDescr":"Mô tả URL","cssClass":"Lớp Stylesheet","advisoryTitle":"Nhan đề hướng dẫn","cssStyle":"Kiểu ","ok":"Đồng ý","cancel":"Bỏ qua","close":"Đóng","preview":"Xem trước","resize":"Kéo rê để thay đổi kích cỡ","generalTab":"Tab chung","advancedTab":"Tab mở rộng","validateNumberFailed":"Giá trị này không phải là số.","confirmNewPage":"Mọi thay đổi không được lưu lại, nội dung này sẽ bị mất. Bạn có chắc chắn muốn tải một trang mới?","confirmCancel":"Một vài tùy chọn đã bị thay đổi. Bạn có chắc chắn muốn đóng hộp thoại?","options":"Tùy chọn","target":"Đích đến","targetNew":"Cửa sổ mới (_blank)","targetTop":"Cửa sổ trên cùng (_top)","targetSelf":"Tại trang (_self)","targetParent":"Cửa sổ cha (_parent)","langDirLTR":"Trái sang phải (LTR)","langDirRTL":"Phải sang trái (RTL)","styles":"Kiểu","cssClasses":"Lớp CSS","width":"Chiều rộng","height":"Chiều cao","align":"Vị trí","left":"Trái","right":"Phải","center":"Giữa","justify":"Sắp chữ","alignLeft":"Canh trái","alignRight":"Canh phải","alignCenter":"Canh giữa","alignTop":"Trên","alignMiddle":"Giữa","alignBottom":"Dưới","alignNone":"Không","invalidValue":"Giá trị không hợp lệ.","invalidHeight":"Chiều cao phải là số nguyên.","invalidWidth":"Chiều rộng phải là số nguyên.","invalidLength":"Giá trị cho trường \"%1\" phải là một số dương có hoặc không có đơn vị đo lường hợp lệ (%2)","invalidCssLength":"Giá trị quy định cho trường \"%1\" phải là một số dương có hoặc không có một đơn vị đo CSS hợp lệ (px, %, in, cm, mm, em, ex, pt, hoặc pc).","invalidHtmlLength":"Giá trị quy định cho trường \"%1\" phải là một số dương có hoặc không có một đơn vị đo HTML hợp lệ (px hoặc %).","invalidInlineStyle":"Giá trị quy định cho kiểu nội tuyến phải bao gồm một hoặc nhiều dữ liệu với định dạng \"tên:giá trị\", cách nhau bằng dấu chấm phẩy.","cssLengthTooltip":"Nhập một giá trị theo pixel hoặc một số với một đơn vị CSS hợp lệ (px, %, in, cm, mm, em, ex, pt, hoặc pc).","unavailable":"%1<span class=\"cke_accessibility\">, không có</span>","keyboard":{"8":"Phím Backspace","13":"Enter","16":"Shift","17":"Ctrl","18":"Alt","32":"Cách","35":"End","36":"Home","46":"Xóa","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"Phím tắt","optionDefault":"Mặc định"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/lang/zh-cn.js b/web/core/assets/vendor/ckeditor/lang/zh-cn.js index 5eb47269162aa716cc120c57aadd8e95e5a11f52..a6f26f223c016afcc8048ac6db28e3514df3fac5 100644 --- a/web/core/assets/vendor/ckeditor/lang/zh-cn.js +++ b/web/core/assets/vendor/ckeditor/lang/zh-cn.js @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -CKEDITOR.lang['zh-cn']={"widget":{"move":"点击并拖拽以移动","label":"%1 小部件"},"undo":{"redo":"重做","undo":"撤消"},"toolbar":{"toolbarCollapse":"折叠工具栏","toolbarExpand":"展开工具栏","toolbarGroups":{"document":"文档","clipboard":"剪贴板/撤销","editing":"编辑","forms":"表单","basicstyles":"基本格式","paragraph":"段落","links":"链接","insert":"插入","styles":"样式","colors":"颜色","tools":"工具"},"toolbars":"工具栏"},"table":{"border":"边框","caption":"标题","cell":{"menu":"单元格","insertBefore":"在左侧插入单元格","insertAfter":"在右侧插入单元格","deleteCell":"删除单元格","merge":"合并单元格","mergeRight":"向右合并单元格","mergeDown":"向下合并单元格","splitHorizontal":"水平拆分单元格","splitVertical":"垂直拆分单元格","title":"单元格属性","cellType":"单元格类型","rowSpan":"纵跨行数","colSpan":"横跨列数","wordWrap":"自动换行","hAlign":"水平对齐","vAlign":"垂直对齐","alignBaseline":"基线","bgColor":"背景颜色","borderColor":"边框颜色","data":"数据","header":"表头","yes":"是","no":"否","invalidWidth":"单元格宽度必须为数字格式","invalidHeight":"单元格高度必须为数字格式","invalidRowSpan":"行跨度必须为整数格式","invalidColSpan":"列跨度必须为整数格式","chooseColor":"选择"},"cellPad":"边距","cellSpace":"间距","column":{"menu":"列","insertBefore":"在左侧插入列","insertAfter":"在右侧插入列","deleteColumn":"删除列"},"columns":"列数","deleteTable":"删除表格","headers":"标题单元格","headersBoth":"第一列和第一行","headersColumn":"第一列","headersNone":"无","headersRow":"第一行","heightUnit":"height unit","invalidBorder":"边框粗细必须为数字格式","invalidCellPadding":"单元格填充必须为数字格式","invalidCellSpacing":"单元格间距必须为数字格式","invalidCols":"指定的行数必须大于零","invalidHeight":"表格高度必须为数字格式","invalidRows":"指定的列数必须大于零","invalidWidth":"表格宽度必须为数字格式","menu":"表格属性","row":{"menu":"行","insertBefore":"在上方插入行","insertAfter":"在下方插入行","deleteRow":"删除行"},"rows":"行数","summary":"摘要","title":"表格属性","toolbar":"表格","widthPc":"百分比","widthPx":"像素","widthUnit":"宽度单位"},"stylescombo":{"label":"样式","panelTitle":"样式","panelTitle1":"块级元素样式","panelTitle2":"内联元素样式","panelTitle3":"对象元素样式"},"specialchar":{"options":"特殊符号选项","title":"选择特殊符号","toolbar":"插入特殊符号"},"sourcedialog":{"toolbar":"源码","title":"源码"},"sourcearea":{"toolbar":"源码"},"showblocks":{"toolbar":"显示区块"},"removeformat":{"toolbar":"清除格式"},"pastetext":{"button":"粘贴为无格式文本","pasteNotification":"您的浏览器不支持通过工具栏或右键菜单进行粘贴,请按 %1 进行粘贴。","title":"粘贴为无格式文本"},"pastefromword":{"confirmCleanup":"您要粘贴的内容好像是来自 MS Word,是否要清除 MS Word 格式后再粘贴?","error":"由于内部错误无法清理要粘贴的数据","title":"从 MS Word 粘贴","toolbar":"从 MS Word 粘贴"},"notification":{"closed":"通知已关闭"},"maximize":{"maximize":"全屏","minimize":"最小化"},"magicline":{"title":"在这插入段落"},"list":{"bulletedlist":"项目列表","numberedlist":"编号列表"},"language":{"button":"设置语言","remove":"移除语言"},"indent":{"indent":"增加缩进量","outdent":"减少缩进量"},"image2":{"alt":"替换文本","btnUpload":"上传到服务器","captioned":"带标题图像","captionPlaceholder":"标题","infoTab":"图像信息","lockRatio":"锁定比例","menu":"图像属性","pathName":"图像","pathNameCaption":"标题","resetSize":"原始尺寸","resizer":"点击并拖拽以改变尺寸","title":"图像属性","uploadTab":"上传","urlMissing":"缺少图像源文件地址","altMissing":"缺少替换文本"},"horizontalrule":{"toolbar":"插入水平线"},"format":{"label":"格式","panelTitle":"格式","tag_address":"地址","tag_div":"段落(DIV)","tag_h1":"标题 1","tag_h2":"标题 2","tag_h3":"标题 3","tag_h4":"标题 4","tag_h5":"标题 5","tag_h6":"标题 6","tag_p":"普通","tag_pre":"已编排格式"},"filetools":{"loadError":"读取文件时发生错误","networkError":"上传文件时发生网络错误","httpError404":"上传文件时发生 HTTP 错误(404:无法找到文件)","httpError403":"上传文件时发生 HTTP 错误(403:禁止访问)","httpError":"上传文件时发生 HTTP 错误(错误代码:%1)","noUrlError":"上传的 URL 未定义","responseError":"不正确的服务器响应"},"elementspath":{"eleLabel":"元素路径","eleTitle":"%1 元素"},"contextmenu":{"options":"快捷菜单选项"},"clipboard":{"copy":"复制","copyError":"您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl/Cmd+C)来完成。","cut":"剪切","cutError":"您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl/Cmd+X)来完成。","paste":"粘贴","pasteNotification":"您的浏览器不支持通过工具栏或右键菜单进行粘贴,请按 %1 进行粘贴。","pasteArea":"粘贴区域","pasteMsg":"将您的内容粘贴到下方区域,然后按确定。"},"blockquote":{"toolbar":"块引用"},"basicstyles":{"bold":"加粗","italic":"倾斜","strike":"删除线","subscript":"下标","superscript":"上标","underline":"下划线"},"about":{"copy":"版权所有 © $1。<br />保留所有权利。","dlgTitle":"关于 CKEditor 4","moreInfo":"相关授权许可信息请访问我们的网站:"},"editor":"所见即所得编辑器","editorPanel":"所见即所得编辑器面板","common":{"editorHelp":"按 ALT+0 获得帮助","browseServer":"浏览服务器","url":"URL","protocol":"协议","upload":"上传","uploadSubmit":"上传到服务器","image":"图像","flash":"Flash","form":"表单","checkbox":"复选框","radio":"单选按钮","textField":"单行文本","textarea":"多行文本","hiddenField":"隐藏域","button":"按钮","select":"列表/菜单","imageButton":"图像按钮","notSet":"<没有设置>","id":"ID","name":"名称","langDir":"语言方向","langDirLtr":"从左到右 (LTR)","langDirRtl":"从右到左 (RTL)","langCode":"语言代码","longDescr":"详细说明 URL","cssClass":"样式类名称","advisoryTitle":"标题","cssStyle":"行内样式","ok":"确定","cancel":"取消","close":"关闭","preview":"预览","resize":"拖拽以改变大小","generalTab":"常规","advancedTab":"高级","validateNumberFailed":"需要输入数字格式","confirmNewPage":"当前文档内容未保存,是否确认新建文档?","confirmCancel":"部分修改尚未保存,是否确认关闭对话框?","options":"选项","target":"目标窗口","targetNew":"新窗口 (_blank)","targetTop":"整页 (_top)","targetSelf":"本窗口 (_self)","targetParent":"父窗口 (_parent)","langDirLTR":"从左到右 (LTR)","langDirRTL":"从右到左 (RTL)","styles":"样式","cssClasses":"样式类","width":"宽度","height":"高度","align":"对齐方式","left":"左对齐","right":"右对齐","center":"居中","justify":"两端对齐","alignLeft":"左对齐","alignRight":"右对齐","alignCenter":"居中","alignTop":"顶端","alignMiddle":"居中","alignBottom":"底部","alignNone":"无","invalidValue":"无效的值。","invalidHeight":"高度必须为数字格式","invalidWidth":"宽度必须为数字格式","invalidLength":"为 \"%1\" 字段设置的值必须是一个正数或者没有一个有效的度量单位 (%2)。","invalidCssLength":"此“%1”字段的值必须为正数,可以包含或不包含一个有效的 CSS 长度单位(px, %, in, cm, mm, em, ex, pt 或 pc)","invalidHtmlLength":"此“%1”字段的值必须为正数,可以包含或不包含一个有效的 HTML 长度单位(px 或 %)","invalidInlineStyle":"内联样式必须为格式是以分号分隔的一个或多个“属性名 : 属性值”。","cssLengthTooltip":"输入一个表示像素值的数字,或加上一个有效的 CSS 长度单位(px, %, in, cm, mm, em, ex, pt 或 pc)。","unavailable":"%1<span class=\"cke_accessibility\">,不可用</span>","keyboard":{"8":"退格键","13":"回车键","16":"Shift","17":"Ctrl","18":"Alt","32":"空格键","35":"行尾键","36":"行首键","46":"删除键","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"快捷键","optionDefault":"默认"}}; \ No newline at end of file +CKEDITOR.lang['zh-cn']={"widget":{"move":"点击并拖拽以移动","label":"%1 小部件"},"undo":{"redo":"重做","undo":"撤消"},"toolbar":{"toolbarCollapse":"折叠工具栏","toolbarExpand":"展开工具栏","toolbarGroups":{"document":"文档","clipboard":"剪贴板/撤销","editing":"编辑","forms":"表单","basicstyles":"基本格式","paragraph":"段落","links":"链接","insert":"插入","styles":"样式","colors":"颜色","tools":"工具"},"toolbars":"工具栏"},"table":{"border":"边框","caption":"标题","cell":{"menu":"单元格","insertBefore":"在左侧插入单元格","insertAfter":"在右侧插入单元格","deleteCell":"删除单元格","merge":"合并单元格","mergeRight":"向右合并单元格","mergeDown":"向下合并单元格","splitHorizontal":"水平拆分单元格","splitVertical":"垂直拆分单元格","title":"单元格属性","cellType":"单元格类型","rowSpan":"纵跨行数","colSpan":"横跨列数","wordWrap":"自动换行","hAlign":"水平对齐","vAlign":"垂直对齐","alignBaseline":"基线","bgColor":"背景颜色","borderColor":"边框颜色","data":"数据","header":"表头","yes":"是","no":"否","invalidWidth":"单元格宽度必须为数字格式","invalidHeight":"单元格高度必须为数字格式","invalidRowSpan":"行跨度必须为整数格式","invalidColSpan":"列跨度必须为整数格式","chooseColor":"选择"},"cellPad":"边距","cellSpace":"间距","column":{"menu":"列","insertBefore":"在左侧插入列","insertAfter":"在右侧插入列","deleteColumn":"删除列"},"columns":"列数","deleteTable":"删除表格","headers":"标题单元格","headersBoth":"第一列和第一行","headersColumn":"第一列","headersNone":"无","headersRow":"第一行","heightUnit":"高度单位","invalidBorder":"边框粗细必须为数字格式","invalidCellPadding":"单元格填充必须为数字格式","invalidCellSpacing":"单元格间距必须为数字格式","invalidCols":"指定的行数必须大于零","invalidHeight":"表格高度必须为数字格式","invalidRows":"指定的列数必须大于零","invalidWidth":"表格宽度必须为数字格式","menu":"表格属性","row":{"menu":"行","insertBefore":"在上方插入行","insertAfter":"在下方插入行","deleteRow":"删除行"},"rows":"行数","summary":"摘要","title":"表格属性","toolbar":"表格","widthPc":"百分比","widthPx":"像素","widthUnit":"宽度单位"},"stylescombo":{"label":"样式","panelTitle":"样式","panelTitle1":"块级元素样式","panelTitle2":"内联元素样式","panelTitle3":"对象元素样式"},"specialchar":{"options":"特殊符号选项","title":"选择特殊符号","toolbar":"插入特殊符号"},"sourcedialog":{"toolbar":"源码","title":"源码"},"sourcearea":{"toolbar":"源码"},"showblocks":{"toolbar":"显示区块"},"removeformat":{"toolbar":"清除格式"},"pastetext":{"button":"粘贴为无格式文本","pasteNotification":"您的浏览器不支持通过工具栏或右键菜单进行粘贴,请按 %1 进行粘贴。","title":"粘贴为无格式文本"},"pastefromword":{"confirmCleanup":"您要粘贴的内容好像是来自 MS Word,是否要清除 MS Word 格式后再粘贴?","error":"由于内部错误无法清理要粘贴的数据","title":"从 MS Word 粘贴","toolbar":"从 MS Word 粘贴"},"notification":{"closed":"通知已关闭"},"maximize":{"maximize":"全屏","minimize":"最小化"},"magicline":{"title":"在这插入段落"},"list":{"bulletedlist":"项目列表","numberedlist":"编号列表"},"language":{"button":"设置语言","remove":"移除语言"},"indent":{"indent":"增加缩进量","outdent":"减少缩进量"},"image2":{"alt":"替换文本","btnUpload":"上传到服务器","captioned":"带标题图像","captionPlaceholder":"标题","infoTab":"图像信息","lockRatio":"锁定比例","menu":"图像属性","pathName":"图像","pathNameCaption":"标题","resetSize":"原始尺寸","resizer":"点击并拖拽以改变尺寸","title":"图像属性","uploadTab":"上传","urlMissing":"缺少图像源文件地址","altMissing":"缺少替换文本"},"horizontalrule":{"toolbar":"插入水平线"},"format":{"label":"格式","panelTitle":"格式","tag_address":"地址","tag_div":"段落(DIV)","tag_h1":"标题 1","tag_h2":"标题 2","tag_h3":"标题 3","tag_h4":"标题 4","tag_h5":"标题 5","tag_h6":"标题 6","tag_p":"普通","tag_pre":"已编排格式"},"filetools":{"loadError":"读取文件时发生错误","networkError":"上传文件时发生网络错误","httpError404":"上传文件时发生 HTTP 错误(404:无法找到文件)","httpError403":"上传文件时发生 HTTP 错误(403:禁止访问)","httpError":"上传文件时发生 HTTP 错误(错误代码:%1)","noUrlError":"上传的 URL 未定义","responseError":"不正确的服务器响应"},"elementspath":{"eleLabel":"元素路径","eleTitle":"%1 元素"},"contextmenu":{"options":"快捷菜单选项"},"clipboard":{"copy":"复制","copyError":"您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl/Cmd+C)来完成。","cut":"剪切","cutError":"您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl/Cmd+X)来完成。","paste":"粘贴","pasteNotification":"您的浏览器不支持通过工具栏或右键菜单进行粘贴,请按 %1 进行粘贴。","pasteArea":"粘贴区域","pasteMsg":"将您的内容粘贴到下方区域,然后按确定。"},"blockquote":{"toolbar":"块引用"},"basicstyles":{"bold":"加粗","italic":"倾斜","strike":"删除线","subscript":"下标","superscript":"上标","underline":"下划线"},"about":{"copy":"版权所有 © $1。<br />保留所有权利。","dlgTitle":"关于 CKEditor 4","moreInfo":"相关授权许可信息请访问我们的网站:"},"editor":"所见即所得编辑器","editorPanel":"所见即所得编辑器面板","common":{"editorHelp":"按 ALT+0 获得帮助","browseServer":"浏览服务器","url":"URL","protocol":"协议","upload":"上传","uploadSubmit":"上传到服务器","image":"图像","flash":"Flash","form":"表单","checkbox":"复选框","radio":"单选按钮","textField":"单行文本","textarea":"多行文本","hiddenField":"隐藏域","button":"按钮","select":"列表/菜单","imageButton":"图像按钮","notSet":"<没有设置>","id":"ID","name":"名称","langDir":"语言方向","langDirLtr":"从左到右 (LTR)","langDirRtl":"从右到左 (RTL)","langCode":"语言代码","longDescr":"详细说明 URL","cssClass":"样式类名称","advisoryTitle":"标题","cssStyle":"行内样式","ok":"确定","cancel":"取消","close":"关闭","preview":"预览","resize":"拖拽以改变大小","generalTab":"常规","advancedTab":"高级","validateNumberFailed":"需要输入数字格式","confirmNewPage":"当前文档内容未保存,是否确认新建文档?","confirmCancel":"部分修改尚未保存,是否确认关闭对话框?","options":"选项","target":"目标窗口","targetNew":"新窗口 (_blank)","targetTop":"整页 (_top)","targetSelf":"本窗口 (_self)","targetParent":"父窗口 (_parent)","langDirLTR":"从左到右 (LTR)","langDirRTL":"从右到左 (RTL)","styles":"样式","cssClasses":"样式类","width":"宽度","height":"高度","align":"对齐方式","left":"左对齐","right":"右对齐","center":"居中","justify":"两端对齐","alignLeft":"左对齐","alignRight":"右对齐","alignCenter":"居中","alignTop":"顶端","alignMiddle":"居中","alignBottom":"底部","alignNone":"无","invalidValue":"无效的值。","invalidHeight":"高度必须为数字格式","invalidWidth":"宽度必须为数字格式","invalidLength":"为 \"%1\" 字段设置的值必须是一个正数或者没有一个有效的度量单位 (%2)。","invalidCssLength":"此“%1”字段的值必须为正数,可以包含或不包含一个有效的 CSS 长度单位(px, %, in, cm, mm, em, ex, pt 或 pc)","invalidHtmlLength":"此“%1”字段的值必须为正数,可以包含或不包含一个有效的 HTML 长度单位(px 或 %)","invalidInlineStyle":"内联样式必须为格式是以分号分隔的一个或多个“属性名 : 属性值”。","cssLengthTooltip":"输入一个表示像素值的数字,或加上一个有效的 CSS 长度单位(px, %, in, cm, mm, em, ex, pt 或 pc)。","unavailable":"%1<span class=\"cke_accessibility\">,不可用</span>","keyboard":{"8":"退格键","13":"回车键","16":"Shift","17":"Ctrl","18":"Alt","32":"空格键","35":"行尾键","36":"行首键","46":"删除键","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","124":"F13","125":"F14","126":"F15","127":"F16","128":"F17","129":"F18","130":"F19","131":"F20","132":"F21","133":"F22","134":"F23","135":"F24","224":"Command"},"keyboardShortcut":"快捷键","optionDefault":"默认"}}; \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor.css b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor.css index 097f4f477eee32148249e95a3eab550ec2127d2e..5eb35949247d773191527da138beff2856afc9ec 100644 --- a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor.css +++ b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor.css @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K2GA) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K2GA) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K2GA) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K2GA) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K2GA) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K2GA) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K2GA) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K2GA) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K2GA) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K2GA) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K2GA) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K2GA) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K2GA) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K2GA) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K2GA) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K2GA) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -2256px!important} \ No newline at end of file +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K5QD) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K5QD) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K5QD) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K5QD) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K5QD) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K5QD) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K5QD) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K5QD) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K5QD) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K5QD) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K5QD) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K5QD) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K5QD) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K5QD) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K5QD) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K5QD) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -2256px!important} \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_gecko.css b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_gecko.css index 1ad93307115fe60c8de31059a5c1208d680652fa..4dd300af496368994682be5463a6fb735e966ec7 100644 --- a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_gecko.css +++ b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_gecko.css @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K2GA) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K2GA) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K2GA) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K2GA) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K2GA) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K2GA) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K2GA) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K2GA) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K2GA) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K2GA) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K2GA) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K2GA) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K2GA) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K2GA) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K2GA) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K2GA) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -2256px!important}.cke_bottom{padding-bottom:3px}.cke_combo_text{margin-bottom:-1px;margin-top:1px} \ No newline at end of file +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K5QD) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K5QD) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K5QD) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K5QD) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K5QD) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K5QD) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K5QD) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K5QD) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K5QD) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K5QD) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K5QD) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K5QD) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K5QD) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K5QD) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K5QD) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K5QD) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -2256px!important}.cke_bottom{padding-bottom:3px}.cke_combo_text{margin-bottom:-1px;margin-top:1px} \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie.css b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie.css index 045e8034983530957eb739bb8a737cf7679ea207..b9fbdda4fc6667f8b933abe621cb8d497aca036f 100644 --- a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie.css +++ b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie.css @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K2GA) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K2GA) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K2GA) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K2GA) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K2GA) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K2GA) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K2GA) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K2GA) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K2GA) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K2GA) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K2GA) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K2GA) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K2GA) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K2GA) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K2GA) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K2GA) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -2256px!important}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)} \ No newline at end of file +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K5QD) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K5QD) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K5QD) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K5QD) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K5QD) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K5QD) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K5QD) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K5QD) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K5QD) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K5QD) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K5QD) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K5QD) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K5QD) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K5QD) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K5QD) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K5QD) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -2256px!important}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)} \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie8.css b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie8.css index 4af875ea9c26076a9c9957d25855f1d40158e924..455d51859a5c3faa241ac287165e42f967e3c3a6 100644 --- a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie8.css +++ b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_ie8.css @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K2GA) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K2GA) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K2GA) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K2GA) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K2GA) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K2GA) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K2GA) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K2GA) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K2GA) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K2GA) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K2GA) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K2GA) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K2GA) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K2GA) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K2GA) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K2GA) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -2256px!important}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_toolbox_collapser .cke_arrow{border-width:4px}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{border-width:3px}.cke_toolbox_collapser .cke_arrow{margin-top:0}.cke_toolbar{position:relative}.cke_rtl .cke_toolbar_end{right:auto;left:0}.cke_toolbar_end:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:1px;right:2px}.cke_rtl .cke_toolbar_end:after{right:auto;left:2px}.cke_hc .cke_toolbar_end:after{top:2px;right:5px;border-color:#000}.cke_hc.cke_rtl .cke_toolbar_end:after{right:auto;left:5px}.cke_combo+.cke_toolbar_end:after,.cke_toolbar.cke_toolbar_last .cke_toolbar_end:after{content:none;border:0}.cke_combo+.cke_toolgroup+.cke_toolbar_end:after{right:0}.cke_rtl .cke_combo+.cke_toolgroup+.cke_toolbar_end:after{right:auto;left:0} \ No newline at end of file +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K5QD) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K5QD) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K5QD) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K5QD) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K5QD) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K5QD) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K5QD) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K5QD) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K5QD) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K5QD) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K5QD) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K5QD) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K5QD) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K5QD) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K5QD) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K5QD) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -2256px!important}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_toolbox_collapser .cke_arrow{border-width:4px}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{border-width:3px}.cke_toolbox_collapser .cke_arrow{margin-top:0}.cke_toolbar{position:relative}.cke_rtl .cke_toolbar_end{right:auto;left:0}.cke_toolbar_end:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:1px;right:2px}.cke_rtl .cke_toolbar_end:after{right:auto;left:2px}.cke_hc .cke_toolbar_end:after{top:2px;right:5px;border-color:#000}.cke_hc.cke_rtl .cke_toolbar_end:after{right:auto;left:5px}.cke_combo+.cke_toolbar_end:after,.cke_toolbar.cke_toolbar_last .cke_toolbar_end:after{content:none;border:0}.cke_combo+.cke_toolgroup+.cke_toolbar_end:after{right:0}.cke_rtl .cke_combo+.cke_toolgroup+.cke_toolbar_end:after{right:auto;left:0} \ No newline at end of file diff --git a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_iequirks.css b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_iequirks.css index ec304970c3dc1085eff5ad5df01b583c3ca4e2f4..47b60411e1348c7b6e7b4b2e39cbe8adf625ae63 100644 --- a/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_iequirks.css +++ b/web/core/assets/vendor/ckeditor/skins/moono-lisa/editor_iequirks.css @@ -2,4 +2,4 @@ Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K2GA) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K2GA) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K2GA) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K2GA) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K2GA) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K2GA) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K2GA) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K2GA) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K2GA) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K2GA) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K2GA) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K2GA) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K2GA) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K2GA) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K2GA) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K2GA) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K2GA) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K2GA) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K2GA) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K2GA) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K2GA) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K2GA) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K2GA) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K2GA) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K2GA) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K2GA) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K2GA) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K2GA) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K2GA) no-repeat 0 -2256px!important}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_top,.cke_contents,.cke_bottom{width:100%}.cke_button_arrow{font-size:0}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_button,.cke_rtl .cke_button *,.cke_rtl .cke_combo,.cke_rtl .cke_combo *,.cke_rtl .cke_path_item,.cke_rtl .cke_path_item *,.cke_rtl .cke_path_empty{float:none}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_combo_button,.cke_rtl .cke_combo_button *,.cke_rtl .cke_button,.cke_rtl .cke_button_icon{display:inline-block;vertical-align:top}.cke_rtl .cke_button_icon{float:none}.cke_resizer{width:10px}.cke_source{white-space:normal}.cke_bottom{position:static}.cke_colorbox{font-size:0} \ No newline at end of file +.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none}.cke_reset_all,.cke_reset_all *,.cke_reset_all a,.cke_reset_all textarea{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;position:static;transition:none;border-collapse:collapse;font:normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#000;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre-wrap}.cke_reset_all textarea,.cke_reset_all input[type="text"],.cke_reset_all input[type="password"]{cursor:text}.cke_reset_all textarea[disabled],.cke_reset_all input[type="text"][disabled],.cke_reset_all input[type="password"][disabled]{cursor:default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-sizing:border-box}.cke_reset_all table{table-layout:auto}.cke_chrome{display:block;border:1px solid #d1d1d1;padding:0}.cke_inner{display:block;background:#fff;padding:0;-webkit-touch-callout:none}.cke_float{border:0}.cke_float .cke_inner{padding-bottom:0}.cke_top,.cke_contents,.cke_bottom{display:block;overflow:hidden}.cke_top{border-bottom:1px solid #d1d1d1;background:#f8f8f8;padding:6px 8px 2px;white-space:normal}.cke_float .cke_top{border:1px solid #d1d1d1}.cke_bottom{padding:6px 8px 2px;position:relative;border-top:1px solid #d1d1d1;background:#f8f8f8}.cke_browser_ios .cke_contents{overflow-y:auto;-webkit-overflow-scrolling:touch}.cke_resizer{width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #bcbcbc transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px}.cke_hc .cke_resizer{font-size:15px;width:auto;height:auto;border-width:0}.cke_resizer_ltr{cursor:se-resize;float:right;margin-right:-4px}.cke_resizer_rtl{border-width:10px 0 0 10px;border-color:transparent transparent transparent #bcbcbc;border-style:dashed dashed dashed solid;cursor:sw-resize;float:left;margin-left:-4px;right:auto}.cke_wysiwyg_div{display:block;height:100%;overflow:auto;padding:0 8px;outline-style:none;box-sizing:border-box}.cke_panel{visibility:visible;width:120px;height:100px;overflow:hidden;background-color:#fff;border:1px solid #d1d1d1}.cke_menu_panel{padding:0;margin:0}.cke_combopanel{width:150px;height:170px}.cke_panel_frame{width:100%;height:100%;font-size:12px;overflow:auto;overflow-x:hidden}.cke_panel_container{overflow-y:auto;overflow-x:hidden}.cke_panel_block:focus{outline:0}.cke_panel_list{margin:0;padding:0;list-style-type:none;white-space:nowrap}.cke_panel_listItem{margin:0;padding:0}.cke_panel_listItem a{padding:6px 7px;display:block;color:inherit!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.cke_hc .cke_panel_listItem a{border-style:none}.cke_panel_listItem.cke_selected a,.cke_panel_listItem a:hover,.cke_panel_listItem a:focus,.cke_panel_listItem a:active{background-color:#e9e9e9}.cke_panel_listItem a:focus{outline:1px dotted #000}.cke_hc .cke_panel_listItem a:hover,.cke_hc .cke_panel_listItem a:focus,.cke_hc .cke_panel_listItem a:active{border:2px solid;padding:4px 5px}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke_panel_listItem h6,.cke_panel_listItem pre{margin-top:0;margin-bottom:0}.cke_panel_grouptitle{cursor:default;font-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#000}a.cke_colorbox{padding:2px;float:left;width:20px;height:20px}.cke_rtl a.cke_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{outline:0;padding:0;border:2px solid #139ff7}a:hover.cke_colorbox{border-color:#bcbcbc}span.cke_colorbox{width:20px;height:20px;float:left}.cke_rtl span.cke_colorbox{float:right}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:3px;display:block;cursor:pointer}a.cke_colorauto{padding:0;border:1px solid transparent;margin-bottom:6px;height:26px;line-height:26px}a.cke_colormore{margin-top:10px;height:20px;line-height:19px}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a:active.cke_colorauto,a:active.cke_colormore{outline:0;border:#139ff7 1px solid;background-color:#f8f8f8}a:hover.cke_colorauto,a:hover.cke_colormore{border-color:#bcbcbc}.cke_colorauto span.cke_colorbox{width:18px;height:18px;border:1px solid #808080;margin-left:1px;margin-top:3px}.cke_rtl .cke_colorauto span.cke_colorbox{margin-left:0;margin-right:1px}span.cke_colorbox[style*="#ffffff"],span.cke_colorbox[style*="#FFFFFF"],span.cke_colorbox[style="background-color:#fff"],span.cke_colorbox[style="background-color:#FFF"],span.cke_colorbox[style*="rgb(255,255,255)"],span.cke_colorbox[style*="rgb(255, 255, 255)"]{border:1px solid #808080;width:18px;height:18px}.cke_toolbar{float:left}.cke_rtl .cke_toolbar{float:right}.cke_toolgroup{border:0;float:left;margin:1px 2px 6px 0;padding-right:3px}.cke_rtl .cke_toolgroup{float:right;margin:1px 0 6px 2px;padding-left:3px;padding-right:0}.cke_hc .cke_toolgroup{margin-right:5px;margin-bottom:5px}.cke_hc.cke_rtl .cke_toolgroup{margin-right:0;margin-left:5px}a.cke_button{display:inline-block;height:18px;padding:4px 6px;outline:0;cursor:default;float:left;border:0;position:relative}a.cke_button_expandable{padding:4px 5px}.cke_rtl a.cke_button{float:right}.cke_hc a.cke_button{border:1px solid black;padding:3px 5px;margin:0 3px 5px 0}.cke_hc.cke_rtl a.cke_button{margin:0 0 5px 3px}a.cke_button_on{background:#fff;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_on{padding:3px 4px}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active{background:#e5e5e5;border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_off:hover,a.cke_button_expandable.cke_button_off:focus,a.cke_button_expandable.cke_button_off:active{padding:3px 4px}.cke_hc a.cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active{background:#e5e5e5;border:3px solid #000;padding:1px 3px}a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{border:0;padding:4px 6px;background-color:transparent}a.cke_button_expandable.cke_button_disabled:hover,a.cke_button_expandable.cke_button_disabled:active{padding:4px 5px}a.cke_button_disabled:focus{border:1px #bcbcbc solid;padding:3px 5px}a.cke_button_expandable.cke_button_disabled:focus{padding:3px 4px}.cke_hc a.cke_button_disabled:hover,.cke_hc a.cke_button_disabled:focus,.cke_hc a.cke_button_disabled:active{border:1px solid #acacac;padding:3px 5px;margin:0 3px 5px 0}.cke_hc a.cke_button_disabled:focus{border:3px solid #000;padding:1px 3px}.cke_hc.cke_rtl a.cke_button_disabled:hover,.cke_hc.cke_rtl a.cke_button_disabled:focus,.cke_hc.cke_rtl a.cke_button_disabled:active{margin:0 0 5px 3px}a.cke_button_disabled .cke_button_icon,a.cke_button_disabled .cke_button_arrow{opacity:.3}.cke_hc a.cke_button_disabled{border-color:#acacac}.cke_hc a.cke_button_disabled .cke_button_icon,.cke_hc a.cke_button_disabled .cke_button_label{opacity:.5}.cke_toolgroup a.cke_button:last-child:after,.cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:4px;top:0;right:-3px}.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-right:0;right:auto;border-left:1px solid #bcbcbc;top:0;left:-3px}.cke_hc .cke_toolgroup a.cke_button:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{border-color:#000;top:0;right:-7px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_disabled:hover:last-child:after{top:0;right:auto;left:-7px}.cke_toolgroup a.cke_button:hover:last-child:after,.cke_toolgroup a.cke_button:focus:last-child:after,.cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:-4px}.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_rtl .cke_toolgroup a.cke_button:focus:last-child:after,.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-1px;right:auto;left:-4px}.cke_hc .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:-9px}.cke_hc.cke_rtl .cke_toolgroup a.cke_button:hover:last-child:after,.cke_hc.cke_rtl .cke_toolgroup a.cke_button.cke_button_on:last-child:after{top:-2px;right:auto;left:-9px}.cke_toolbar.cke_toolbar_last .cke_toolgroup a.cke_button:last-child:after{content:none;border:0;width:0;height:0}.cke_button_icon{cursor:inherit;background-repeat:no-repeat;margin-top:1px;width:16px;height:16px;float:left;display:inline-block}.cke_rtl .cke_button_icon{float:right}.cke_hc .cke_button_icon{display:none}.cke_button_label{display:none;padding-left:3px;margin-top:1px;line-height:17px;vertical-align:middle;float:left;cursor:default;color:#484848}.cke_rtl .cke_button_label{padding-right:3px;padding-left:0;float:right}.cke_hc .cke_button_label{padding:0;display:inline-block;font-size:12px}.cke_button_arrow{display:inline-block;margin:8px 0 0 3px;width:0;height:0;cursor:default;vertical-align:top;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_rtl .cke_button_arrow{margin-right:5px;margin-left:0}.cke_hc .cke_button_arrow{font-size:10px;margin:3px 0 0 3px;width:auto;border:0}.cke_toolbar_separator{float:left;background-color:#bcbcbc;margin:4px 2px 0 2px;height:18px;width:1px}.cke_rtl .cke_toolbar_separator{float:right}.cke_hc .cke_toolbar_separator{background-color:#000;margin-left:2px;margin-right:5px;margin-bottom:9px}.cke_hc.cke_rtl .cke_toolbar_separator{margin-left:5px;margin-right:2px}.cke_toolbar_break{display:block;clear:left}.cke_rtl .cke_toolbar_break{clear:right}a.cke_toolbox_collapser{width:12px;height:11px;float:right;margin:11px 0 0;font-size:0;cursor:default;text-align:center;border:1px solid #bcbcbc}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser:hover{background:#e5e5e5}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;margin-top:1px;border:3px solid transparent;border-bottom-color:#484848}.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow{margin-top:4px;border-bottom-color:transparent;border-top-color:#484848}.cke_hc .cke_toolbox_collapser .cke_arrow{font-size:8px;width:auto;border:0;margin-top:0}.cke_menuitem span{cursor:default}.cke_menubutton{display:block}.cke_hc .cke_menubutton{padding:2px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#e9e9e9;display:block;outline:1px dotted}.cke_menubutton:hover{outline:0}.cke_hc .cke_menubutton:hover,.cke_hc .cke_menubutton:focus,.cke_hc .cke_menubutton:active{border:2px solid;padding:0}.cke_menubutton_disabled:hover,.cke_menubutton_disabled:focus,.cke_menubutton_disabled:active{background-color:transparent;outline:0}.cke_menubutton_inner{display:table-row}.cke_menubutton_icon,.cke_menubutton_label,.cke_menuarrow{display:table-cell}.cke_menubutton_icon{background-color:#f8f8f8;padding:6px 4px}.cke_hc .cke_menubutton_icon{height:16px;width:0;padding:4px 0}.cke_menubutton:hover .cke_menubutton_icon,.cke_menubutton:focus .cke_menubutton_icon,.cke_menubutton:active .cke_menubutton_icon{background-color:#e9e9e9}.cke_menubutton_disabled:hover .cke_menubutton_icon,.cke_menubutton_disabled:focus .cke_menubutton_icon,.cke_menubutton_disabled:active .cke_menubutton_icon{background-color:#f8f8f8;outline:0}.cke_menuitem .cke_menubutton_on{background-color:#e9e9e9;border:1px solid #dedede;outline:0}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px;background-color:#e9e9e9}.cke_menubutton_label{padding:0 5px;background-color:transparent;width:100%;vertical-align:middle}.cke_menubutton_shortcut{color:#979797}.cke_menubutton_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_panel_frame .cke_menubutton_label{display:none}.cke_menuseparator{background-color:#d1d1d1;height:1px}.cke_menuarrow{background:transparent url(images/arrow.png) no-repeat 0 10px;padding:0 5px}.cke_rtl .cke_menuarrow{background-position:5px -13px;background-repeat:no-repeat}.cke_hc .cke_menuarrow{background-image:none}.cke_menuarrow span{display:none}.cke_hc .cke_menuarrow span{vertical-align:middle;display:inline}.cke_combo{display:inline-block;float:left;position:relative;margin-bottom:5px}.cke_rtl .cke_combo{float:right}.cke_hc .cke_combo{margin-top:1px;margin-bottom:10px}.cke_combo:after{content:"";position:absolute;height:18px;width:0;border-right:1px solid #bcbcbc;margin-top:5px;top:0;right:0}.cke_rtl .cke_combo:after{border-right:0;border-left:1px solid #bcbcbc;right:auto;left:0}.cke_hc .cke_combo:after{border-color:#000}a.cke_combo_button{cursor:default;display:inline-block;float:left;margin:0;padding:1px}.cke_rtl a.cke_combo_button{float:right}.cke_hc a.cke_combo_button{padding:4px}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:hover,.cke_combo_off a.cke_combo_button:focus,.cke_combo_off a.cke_combo_button:active{background:#e5e5e5;border:1px solid #bcbcbc;padding:0 0 0 1px;margin-left:-1px}.cke_combo_off a.cke_combo_button:focus{outline:0}.cke_combo_on a.cke_combo_button,.cke_combo_off a.cke_combo_button:active{background:#fff}.cke_rtl .cke_combo_on a.cke_combo_button,.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:0 1px 0 0;margin-left:0;margin-right:-1px}.cke_hc .cke_combo_on a.cke_combo_button,.cke_hc .cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_combo_off a.cke_combo_button:active{border:3px solid #000;padding:1px 1px 1px 2px}.cke_hc.cke_rtl .cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_combo_off a.cke_combo_button:active{padding:1px 2px 1px 1px}.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 0 0 3px;margin-left:-3px}.cke_rtl .cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_rtl .cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0 3px 0 0;margin-left:0;margin-right:-3px}.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 1px 1px 7px;margin-left:-6px}.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc.cke_rtl .cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px 7px 1px 1px;margin-left:0;margin-right:-6px}.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:0;margin:0}.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbox .cke_toolbar:first-child>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_on a.cke_combo_button,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:hover,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:focus,.cke_hc .cke_toolbar_break+.cke_toolbar>.cke_toolbar_start+.cke_combo_off a.cke_combo_button:active{padding:1px;margin:0}.cke_toolbar .cke_combo+.cke_toolbar_end,.cke_toolbar .cke_combo+.cke_toolgroup{margin-right:0;margin-left:2px}.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:2px}.cke_hc .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:5px}.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolbar_end,.cke_hc.cke_rtl .cke_toolbar .cke_combo+.cke_toolgroup{margin-left:0;margin-right:5px}.cke_toolbar.cke_toolbar_last .cke_combo:nth-last-child(-n+2):after{content:none;border:0;width:0;height:0}.cke_combo_text{line-height:26px;padding-left:10px;text-overflow:ellipsis;overflow:hidden;float:left;cursor:default;color:#484848;width:60px}.cke_rtl .cke_combo_text{float:right;text-align:right;padding-left:0;padding-right:10px}.cke_hc .cke_combo_text{line-height:18px;font-size:12px}.cke_combo_open{cursor:default;display:inline-block;font-size:0;height:19px;line-height:17px;margin:1px 10px 1px;width:5px}.cke_hc .cke_combo_open{height:12px}.cke_combo_arrow{cursor:default;margin:11px 0 0;float:left;height:0;width:0;font-size:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:3px solid #484848}.cke_hc .cke_combo_arrow{font-size:10px;width:auto;border:0;margin-top:3px}.cke_combo_label{display:none;float:left;line-height:26px;vertical-align:top;margin-right:5px}.cke_rtl .cke_combo_label{float:right;margin-left:5px;margin-right:0}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{opacity:.3}.cke_path{float:left;margin:-2px 0 2px}a.cke_path_item,span.cke_path_empty{display:inline-block;float:left;padding:3px 4px;margin-right:2px;cursor:default;text-decoration:none;outline:0;border:0;color:#484848;font-weight:bold;font-size:11px}.cke_rtl .cke_path,.cke_rtl .cke_path_item,.cke_rtl .cke_path_empty{float:right}a.cke_path_item:hover,a.cke_path_item:focus,a.cke_path_item:active{background-color:#e5e5e5}.cke_hc a.cke_path_item:hover,.cke_hc a.cke_path_item:focus,.cke_hc a.cke_path_item:active{border:2px solid;padding:1px 2px}.cke_button__source_label,.cke_button__sourcedialog_label{display:inline}.cke_combopanel__fontsize{width:135px}textarea.cke_source{font-family:'Courier New',Monospace;font-size:small;background-color:#fff;white-space:pre-wrap;border:0;padding:0;margin:0;display:block}.cke_wysiwyg_frame,.cke_wysiwyg_div{background-color:#fff}.cke_notifications_area{pointer-events:none}.cke_notification{pointer-events:auto;position:relative;margin:10px;width:300px;color:white;text-align:center;opacity:.95;filter:alpha(opacity = 95);-webkit-animation:fadeIn .7s;animation:fadeIn .7s}.cke_notification_message a{color:#12306f}@-webkit-keyframes fadeIn{from{opacity:.4}to{opacity:.95}}@keyframes fadeIn{from{opacity:.4}to{opacity:.95}}.cke_notification_success{background:#72b572;border:1px solid #63a563}.cke_notification_warning{background:#c83939;border:1px solid #902b2b}.cke_notification_info{background:#2e9ad0;border:1px solid #0f74a8}.cke_notification_info span.cke_notification_progress{background-color:#0f74a8;display:block;padding:0;margin:0;height:100%;overflow:hidden;position:absolute;z-index:1}.cke_notification_message{position:relative;margin:4px 23px 3px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;z-index:4;text-overflow:ellipsis;overflow:hidden}.cke_notification_close{background-image:url(images/close.png);background-repeat:no-repeat;background-position:50%;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:1px;right:1px;padding:0;margin:0;z-index:5;opacity:.6;filter:alpha(opacity = 60)}.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_notification_close span{display:none}.cke_notification_warning a.cke_notification_close{opacity:.8;filter:alpha(opacity = 80)}.cke_notification_warning a.cke_notification_close:hover{opacity:1;filter:alpha(opacity = 100)}.cke_chrome{visibility:inherit}.cke_voice_label{display:none}legend.cke_voice_label{display:none}.cke_button__about_icon{background:url(icons.png?t=K5QD) no-repeat 0 -0px!important}.cke_button__bold_icon{background:url(icons.png?t=K5QD) no-repeat 0 -24px!important}.cke_button__italic_icon{background:url(icons.png?t=K5QD) no-repeat 0 -48px!important}.cke_button__strike_icon{background:url(icons.png?t=K5QD) no-repeat 0 -72px!important}.cke_button__subscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -96px!important}.cke_button__superscript_icon{background:url(icons.png?t=K5QD) no-repeat 0 -120px!important}.cke_button__underline_icon{background:url(icons.png?t=K5QD) no-repeat 0 -144px!important}.cke_button__blockquote_icon{background:url(icons.png?t=K5QD) no-repeat 0 -168px!important}.cke_rtl .cke_button__copy_icon,.cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -192px!important}.cke_ltr .cke_button__copy_icon{background:url(icons.png?t=K5QD) no-repeat 0 -216px!important}.cke_rtl .cke_button__cut_icon,.cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -240px!important}.cke_ltr .cke_button__cut_icon{background:url(icons.png?t=K5QD) no-repeat 0 -264px!important}.cke_rtl .cke_button__paste_icon,.cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -288px!important}.cke_ltr .cke_button__paste_icon{background:url(icons.png?t=K5QD) no-repeat 0 -312px!important}.cke_button__horizontalrule_icon{background:url(icons.png?t=K5QD) no-repeat 0 -336px!important}.cke_button__image_icon{background:url(icons.png?t=K5QD) no-repeat 0 -360px!important}.cke_rtl .cke_button__indent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -384px!important}.cke_ltr .cke_button__indent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -408px!important}.cke_rtl .cke_button__outdent_icon,.cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -432px!important}.cke_ltr .cke_button__outdent_icon{background:url(icons.png?t=K5QD) no-repeat 0 -456px!important}.cke_button__justifyblock_icon{background:url(icons.png?t=K5QD) no-repeat 0 -480px!important}.cke_button__justifycenter_icon{background:url(icons.png?t=K5QD) no-repeat 0 -504px!important}.cke_button__justifyleft_icon{background:url(icons.png?t=K5QD) no-repeat 0 -528px!important}.cke_button__justifyright_icon{background:url(icons.png?t=K5QD) no-repeat 0 -552px!important}.cke_button__language_icon{background:url(icons.png?t=K5QD) no-repeat 0 -576px!important}.cke_rtl .cke_button__bulletedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -600px!important}.cke_ltr .cke_button__bulletedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -624px!important}.cke_rtl .cke_button__numberedlist_icon,.cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -648px!important}.cke_ltr .cke_button__numberedlist_icon{background:url(icons.png?t=K5QD) no-repeat 0 -672px!important}.cke_button__maximize_icon{background:url(icons.png?t=K5QD) no-repeat 0 -696px!important}.cke_rtl .cke_button__pastefromword_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -720px!important}.cke_ltr .cke_button__pastefromword_icon{background:url(icons.png?t=K5QD) no-repeat 0 -744px!important}.cke_rtl .cke_button__pastetext_icon,.cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -768px!important}.cke_ltr .cke_button__pastetext_icon{background:url(icons.png?t=K5QD) no-repeat 0 -792px!important}.cke_button__removeformat_icon{background:url(icons.png?t=K5QD) no-repeat 0 -816px!important}.cke_rtl .cke_button__showblocks_icon,.cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -840px!important}.cke_ltr .cke_button__showblocks_icon{background:url(icons.png?t=K5QD) no-repeat 0 -864px!important}.cke_rtl .cke_button__source_icon,.cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -888px!important}.cke_ltr .cke_button__source_icon{background:url(icons.png?t=K5QD) no-repeat 0 -912px!important}.cke_rtl .cke_button__sourcedialog_icon,.cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -936px!important}.cke_ltr .cke_button__sourcedialog_icon{background:url(icons.png?t=K5QD) no-repeat 0 -960px!important}.cke_button__specialchar_icon{background:url(icons.png?t=K5QD) no-repeat 0 -984px!important}.cke_button__table_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1008px!important}.cke_rtl .cke_button__redo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1032px!important}.cke_ltr .cke_button__redo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1056px!important}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1080px!important}.cke_ltr .cke_button__undo_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1104px!important}.cke_button__simplebox_icon{background:url(icons.png?t=K5QD) no-repeat 0 -1128px!important}.cke_hidpi .cke_button__about_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -0px!important;background-size:16px!important}.cke_hidpi .cke_button__bold_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -24px!important;background-size:16px!important}.cke_hidpi .cke_button__italic_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -48px!important;background-size:16px!important}.cke_hidpi .cke_button__strike_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -72px!important;background-size:16px!important}.cke_hidpi .cke_button__subscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -96px!important;background-size:16px!important}.cke_hidpi .cke_button__superscript_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -120px!important;background-size:16px!important}.cke_hidpi .cke_button__underline_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -144px!important;background-size:16px!important}.cke_hidpi .cke_button__blockquote_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -168px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__copy_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -192px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__copy_icon,.cke_ltr.cke_hidpi .cke_button__copy_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -216px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__cut_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -240px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__cut_icon,.cke_ltr.cke_hidpi .cke_button__cut_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -264px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__paste_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -288px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__paste_icon,.cke_ltr.cke_hidpi .cke_button__paste_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -312px!important;background-size:16px!important}.cke_hidpi .cke_button__horizontalrule_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -336px!important;background-size:16px!important}.cke_hidpi .cke_button__image_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -360px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__indent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -384px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__indent_icon,.cke_ltr.cke_hidpi .cke_button__indent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -408px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__outdent_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -432px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__outdent_icon,.cke_ltr.cke_hidpi .cke_button__outdent_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -456px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyblock_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -480px!important;background-size:16px!important}.cke_hidpi .cke_button__justifycenter_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -504px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyleft_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -528px!important;background-size:16px!important}.cke_hidpi .cke_button__justifyright_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -552px!important;background-size:16px!important}.cke_hidpi .cke_button__language_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -576px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__bulletedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -600px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__bulletedlist_icon,.cke_ltr.cke_hidpi .cke_button__bulletedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -624px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__numberedlist_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -648px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__numberedlist_icon,.cke_ltr.cke_hidpi .cke_button__numberedlist_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -672px!important;background-size:16px!important}.cke_hidpi .cke_button__maximize_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -696px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastefromword_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -720px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastefromword_icon,.cke_ltr.cke_hidpi .cke_button__pastefromword_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -744px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__pastetext_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -768px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__pastetext_icon,.cke_ltr.cke_hidpi .cke_button__pastetext_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -792px!important;background-size:16px!important}.cke_hidpi .cke_button__removeformat_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -816px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__showblocks_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -840px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__showblocks_icon,.cke_ltr.cke_hidpi .cke_button__showblocks_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -864px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__source_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -888px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__source_icon,.cke_ltr.cke_hidpi .cke_button__source_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -912px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__sourcedialog_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -936px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__sourcedialog_icon,.cke_ltr.cke_hidpi .cke_button__sourcedialog_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -960px!important;background-size:16px!important}.cke_hidpi .cke_button__specialchar_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -984px!important;background-size:16px!important}.cke_hidpi .cke_button__table_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1008px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__redo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1032px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__redo_icon,.cke_ltr.cke_hidpi .cke_button__redo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1056px!important;background-size:16px!important}.cke_rtl.cke_hidpi .cke_button__undo_icon,.cke_hidpi .cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1080px!important;background-size:16px!important}.cke_hidpi .cke_ltr .cke_button__undo_icon,.cke_ltr.cke_hidpi .cke_button__undo_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -1104px!important;background-size:16px!important}.cke_hidpi .cke_button__simplebox_icon{background:url(icons_hidpi.png?t=K5QD) no-repeat 0 -2256px!important}a.cke_button_disabled,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{filter:alpha(opacity = 30)}.cke_button_disabled .cke_button_icon{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00ffffff,endColorstr=#00ffffff)}.cke_button_off:hover,.cke_button_off:focus,.cke_button_off:active{filter:alpha(opacity = 100)}.cke_combo_disabled .cke_combo_inlinelabel,.cke_combo_disabled .cke_combo_open{filter:alpha(opacity = 30)}.cke_toolbox_collapser{border:1px solid #a6a6a6}.cke_toolbox_collapser .cke_arrow{margin-top:1px}.cke_hc .cke_top,.cke_hc .cke_bottom,.cke_hc .cke_combo_button,.cke_hc a.cke_combo_button:hover,.cke_hc a.cke_combo_button:focus,.cke_hc .cke_toolgroup,.cke_hc .cke_button_on,.cke_hc a.cke_button_off:hover,.cke_hc a.cke_button_off:focus,.cke_hc a.cke_button_off:active,.cke_hc .cke_toolbox_collapser,.cke_hc .cke_toolbox_collapser:hover,.cke_hc .cke_panel_grouptitle{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_top,.cke_contents,.cke_bottom{width:100%}.cke_button_arrow{font-size:0}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_button,.cke_rtl .cke_button *,.cke_rtl .cke_combo,.cke_rtl .cke_combo *,.cke_rtl .cke_path_item,.cke_rtl .cke_path_item *,.cke_rtl .cke_path_empty{float:none}.cke_rtl .cke_toolgroup,.cke_rtl .cke_toolbar_separator,.cke_rtl .cke_combo_button,.cke_rtl .cke_combo_button *,.cke_rtl .cke_button,.cke_rtl .cke_button_icon{display:inline-block;vertical-align:top}.cke_rtl .cke_button_icon{float:none}.cke_resizer{width:10px}.cke_source{white-space:normal}.cke_bottom{position:static}.cke_colorbox{font-size:0} \ No newline at end of file diff --git a/web/core/core.libraries.yml b/web/core/core.libraries.yml index b036741741c7a5acda152cd8200c31406bf72198..a17ce7c0e0575b72516707557107819a3f310b09 100644 --- a/web/core/core.libraries.yml +++ b/web/core/core.libraries.yml @@ -25,10 +25,10 @@ classList: ckeditor: remote: https://github.com/ckeditor/ckeditor-dev - version: "4.14.0" + version: "4.14.1" license: name: GNU-GPL-2.0-or-later - url: https://github.com/ckeditor/ckeditor4/blob/4.14.0/LICENSE.md + url: https://github.com/ckeditor/ckeditor4/blob/4.14.1/LICENSE.md gpl-compatible: true js: assets/vendor/ckeditor/ckeditor.js: { preprocess: false, minified: true } diff --git a/web/core/includes/pager.inc b/web/core/includes/pager.inc index cb06d804e3f128f1964a1e592ca5a2bb29da0ea0..0864b7821cb58ea314c64641e94844652aba1caf 100644 --- a/web/core/includes/pager.inc +++ b/web/core/includes/pager.inc @@ -26,13 +26,13 @@ * displays the third page of search results at that URL. * * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use - * \Drupal\Core\Pager\RequestPagerInterface->findPage() instead. + * \Drupal\Core\Pager\PagerParametersInterface->findPage() instead. * * @see https://www.drupal.org/node/2779457 * @see \Drupal\Core\Pager\PagerParametersInterface::findPage() */ function pager_find_page($element = 0) { - @trigger_error(__FUNCTION__ . ' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\RequestPagerInterface->findPage() instead. See https://www.drupal.org/node/2779457', E_USER_DEPRECATED); + @trigger_error(__FUNCTION__ . ' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->findPage() instead. See https://www.drupal.org/node/2779457', E_USER_DEPRECATED); /* @var $pager_parameters \Drupal\Core\Pager\PagerParametersInterface */ $pager_parameters = \Drupal::service('pager.parameters'); return $pager_parameters->findPage($element); @@ -150,13 +150,13 @@ function pager_default_initialize($total, $limit, $element = 0) { * page request except for those pertaining to paging. * * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use - * \Drupal\Core\Pager\RequestPagerInterface->getQueryParameters() instead. + * \Drupal\Core\Pager\PagerParametersInterface->getQueryParameters() instead. * * @see https://www.drupal.org/node/2779457 * @see \Drupal\Core\Pager\PagerParametersInterface::getQueryParameters() */ function pager_get_query_parameters() { - @trigger_error(__FUNCTION__ . ' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\RequestPagerInterface->getQueryParameters() instead. See https://www.drupal.org/node/2779457', E_USER_DEPRECATED); + @trigger_error(__FUNCTION__ . ' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->getQueryParameters() instead. See https://www.drupal.org/node/2779457', E_USER_DEPRECATED); /* @var $pager_params \Drupal\Core\Pager\PagerParametersInterface */ $pager_params = \Drupal::service('pager.parameters'); return $pager_params->getQueryParameters(); diff --git a/web/core/lib/Drupal.php b/web/core/lib/Drupal.php index b51f24019b8d1f570e9c7ce2cee98f2a3aec5413..28863da052182eff7a2d60ffddd011a880da1677 100644 --- a/web/core/lib/Drupal.php +++ b/web/core/lib/Drupal.php @@ -82,7 +82,7 @@ class Drupal { /** * The current system version. */ - const VERSION = '8.9.2'; + const VERSION = '8.9.3'; /** * Core API compatibility. @@ -606,8 +606,8 @@ public static function linkGenerator() { * This method is a convenience wrapper for the link generator service's * generate() method. * - * @param string $text - * The link text for the anchor tag. + * @param string|array|\Drupal\Component\Render\MarkupInterface $text + * The link text for the anchor tag as a translated string or render array. * @param \Drupal\Core\Url $url * The URL object used for the link. * diff --git a/web/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php b/web/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php index 2f6397406ae2004202bc58e3a71d754aaaeee258..8d62175e604d1fcdc1dc6f2b4bf6e7630eed4a14 100644 --- a/web/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php +++ b/web/core/lib/Drupal/Component/Transliteration/PhpTransliteration.php @@ -58,6 +58,21 @@ class PhpTransliteration implements TransliterationInterface { */ protected $genericMap = []; + /** + * Special characters for ::removeDiacritics(). + * + * Characters which have accented variants but their base character + * transliterates to more than one ASCII character require special + * treatment: we want to remove their accent and use the un- + * transliterated base character. + */ + protected $fixTransliterateForRemoveDiacritics = [ + 'AE' => 'Æ', + 'ae' => 'æ', + 'ZH' => 'Ʒ', + 'zh' => 'ʒ', + ]; + /** * Constructs a transliteration object. * @@ -93,6 +108,9 @@ public function removeDiacritics($string) { if (strlen($to_add) === 1) { $replacement = $to_add; } + elseif (isset($this->fixTransliterateForRemoveDiacritics[$to_add])) { + $replacement = $this->fixTransliterateForRemoveDiacritics[$to_add]; + } } $result .= $replacement; diff --git a/web/core/lib/Drupal/Component/Utility/Bytes.php b/web/core/lib/Drupal/Component/Utility/Bytes.php index d625b123641994e9dfd53c2591cc629b7c363f16..477e6e48dad70bc9c63cb664aa034587e83ad3bb 100644 --- a/web/core/lib/Drupal/Component/Utility/Bytes.php +++ b/web/core/lib/Drupal/Component/Utility/Bytes.php @@ -35,7 +35,8 @@ public static function toInt($size) { return round($size * pow(self::KILOBYTE, stripos('bkmgtpezy', $unit[0]))); } else { - return round($size); + // Ensure size is a proper number type. + return round((float) $size); } } diff --git a/web/core/lib/Drupal/Core/Block/BlockBase.php b/web/core/lib/Drupal/Core/Block/BlockBase.php index f5324bfb88d1a77e11ce7f78b7babaf02fd2c149..7076da42af71c6b76732b37d45c6361d32cb5ec5 100644 --- a/web/core/lib/Drupal/Core/Block/BlockBase.php +++ b/web/core/lib/Drupal/Core/Block/BlockBase.php @@ -2,18 +2,10 @@ namespace Drupal\Core\Block; -use Drupal\Core\Access\AccessResult; -use Drupal\Core\Form\FormStateInterface; -use Drupal\Core\Messenger\MessengerTrait; use Drupal\Core\Plugin\ContextAwarePluginAssignmentTrait; use Drupal\Core\Plugin\ContextAwarePluginBase; -use Drupal\Component\Utility\NestedArray; -use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Plugin\PluginWithFormsInterface; -use Drupal\Core\Plugin\PluginWithFormsTrait; use Drupal\Core\Render\PreviewFallbackInterface; -use Drupal\Core\Session\AccountInterface; -use Drupal\Component\Transliteration\TransliterationInterface; /** * Defines a base block implementation that most blocks plugins will extend. @@ -26,260 +18,7 @@ */ abstract class BlockBase extends ContextAwarePluginBase implements BlockPluginInterface, PluginWithFormsInterface, PreviewFallbackInterface { + use BlockPluginTrait; use ContextAwarePluginAssignmentTrait; - use MessengerTrait; - use PluginWithFormsTrait; - - /** - * The transliteration service. - * - * @var \Drupal\Component\Transliteration\TransliterationInterface - */ - protected $transliteration; - - /** - * {@inheritdoc} - */ - public function label() { - if (!empty($this->configuration['label'])) { - return $this->configuration['label']; - } - - $definition = $this->getPluginDefinition(); - // Cast the admin label to a string since it is an object. - // @see \Drupal\Core\StringTranslation\TranslatableMarkup - return (string) $definition['admin_label']; - } - - /** - * {@inheritdoc} - */ - public function __construct(array $configuration, $plugin_id, $plugin_definition) { - parent::__construct($configuration, $plugin_id, $plugin_definition); - $this->setConfiguration($configuration); - } - - /** - * {@inheritdoc} - */ - public function getConfiguration() { - return $this->configuration; - } - - /** - * {@inheritdoc} - */ - public function setConfiguration(array $configuration) { - $this->configuration = NestedArray::mergeDeep( - $this->baseConfigurationDefaults(), - $this->defaultConfiguration(), - $configuration - ); - } - - /** - * Returns generic default configuration for block plugins. - * - * @return array - * An associative array with the default configuration. - */ - protected function baseConfigurationDefaults() { - return [ - 'id' => $this->getPluginId(), - 'label' => '', - 'provider' => $this->pluginDefinition['provider'], - 'label_display' => static::BLOCK_LABEL_VISIBLE, - ]; - } - - /** - * {@inheritdoc} - */ - public function defaultConfiguration() { - return []; - } - - /** - * {@inheritdoc} - */ - public function setConfigurationValue($key, $value) { - $this->configuration[$key] = $value; - } - - /** - * {@inheritdoc} - */ - public function calculateDependencies() { - return []; - } - - /** - * {@inheritdoc} - */ - public function access(AccountInterface $account, $return_as_object = FALSE) { - $access = $this->blockAccess($account); - return $return_as_object ? $access : $access->isAllowed(); - } - - /** - * Indicates whether the block should be shown. - * - * Blocks with specific access checking should override this method rather - * than access(), in order to avoid repeating the handling of the - * $return_as_object argument. - * - * @param \Drupal\Core\Session\AccountInterface $account - * The user session for which to check access. - * - * @return \Drupal\Core\Access\AccessResult - * The access result. - * - * @see self::access() - */ - protected function blockAccess(AccountInterface $account) { - // By default, the block is visible. - return AccessResult::allowed(); - } - - /** - * {@inheritdoc} - * - * Creates a generic configuration form for all block types. Individual - * block plugins can add elements to this form by overriding - * BlockBase::blockForm(). Most block plugins should not override this - * method unless they need to alter the generic form elements. - * - * @see \Drupal\Core\Block\BlockBase::blockForm() - */ - public function buildConfigurationForm(array $form, FormStateInterface $form_state) { - $definition = $this->getPluginDefinition(); - $form['provider'] = [ - '#type' => 'value', - '#value' => $definition['provider'], - ]; - - $form['admin_label'] = [ - '#type' => 'item', - '#title' => $this->t('Block description'), - '#plain_text' => $definition['admin_label'], - ]; - $form['label'] = [ - '#type' => 'textfield', - '#title' => $this->t('Title'), - '#maxlength' => 255, - '#default_value' => $this->label(), - '#required' => TRUE, - ]; - $form['label_display'] = [ - '#type' => 'checkbox', - '#title' => $this->t('Display title'), - '#default_value' => ($this->configuration['label_display'] === static::BLOCK_LABEL_VISIBLE), - '#return_value' => static::BLOCK_LABEL_VISIBLE, - ]; - - // Add context mapping UI form elements. - $contexts = $form_state->getTemporaryValue('gathered_contexts') ?: []; - $form['context_mapping'] = $this->addContextAssignmentElement($this, $contexts); - // Add plugin-specific settings for this block type. - $form += $this->blockForm($form, $form_state); - return $form; - } - - /** - * {@inheritdoc} - */ - public function blockForm($form, FormStateInterface $form_state) { - return []; - } - - /** - * {@inheritdoc} - * - * Most block plugins should not override this method. To add validation - * for a specific block type, override BlockBase::blockValidate(). - * - * @see \Drupal\Core\Block\BlockBase::blockValidate() - */ - public function validateConfigurationForm(array &$form, FormStateInterface $form_state) { - // Remove the admin_label form item element value so it will not persist. - $form_state->unsetValue('admin_label'); - - $this->blockValidate($form, $form_state); - } - - /** - * {@inheritdoc} - */ - public function blockValidate($form, FormStateInterface $form_state) {} - - /** - * {@inheritdoc} - * - * Most block plugins should not override this method. To add submission - * handling for a specific block type, override BlockBase::blockSubmit(). - * - * @see \Drupal\Core\Block\BlockBase::blockSubmit() - */ - public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { - // Process the block's submission handling if no errors occurred only. - if (!$form_state->getErrors()) { - $this->configuration['label'] = $form_state->getValue('label'); - $this->configuration['label_display'] = $form_state->getValue('label_display'); - $this->configuration['provider'] = $form_state->getValue('provider'); - $this->blockSubmit($form, $form_state); - } - } - - /** - * {@inheritdoc} - */ - public function blockSubmit($form, FormStateInterface $form_state) {} - - /** - * {@inheritdoc} - */ - public function getMachineNameSuggestion() { - $definition = $this->getPluginDefinition(); - $admin_label = $definition['admin_label']; - - // @todo This is basically the same as what is done in - // \Drupal\system\MachineNameController::transliterate(), so it might make - // sense to provide a common service for the two. - $transliterated = $this->transliteration()->transliterate($admin_label, LanguageInterface::LANGCODE_DEFAULT, '_'); - $transliterated = mb_strtolower($transliterated); - - $transliterated = preg_replace('@[^a-z0-9_.]+@', '', $transliterated); - - return $transliterated; - } - - /** - * {@inheritdoc} - */ - public function getPreviewFallbackString() { - return $this->t('"@block" block', ['@block' => $this->label()]); - } - - /** - * Wraps the transliteration service. - * - * @return \Drupal\Component\Transliteration\TransliterationInterface - */ - protected function transliteration() { - if (!$this->transliteration) { - $this->transliteration = \Drupal::transliteration(); - } - return $this->transliteration; - } - - /** - * Sets the transliteration service. - * - * @param \Drupal\Component\Transliteration\TransliterationInterface $transliteration - * The transliteration service. - */ - public function setTransliteration(TransliterationInterface $transliteration) { - $this->transliteration = $transliteration; - } } diff --git a/web/core/lib/Drupal/Core/Block/BlockPluginTrait.php b/web/core/lib/Drupal/Core/Block/BlockPluginTrait.php new file mode 100644 index 0000000000000000000000000000000000000000..c7c47660f9165b287613cb87865943f71dbf583d --- /dev/null +++ b/web/core/lib/Drupal/Core/Block/BlockPluginTrait.php @@ -0,0 +1,287 @@ +<?php + +namespace Drupal\Core\Block; + +use Drupal\Component\Transliteration\TransliterationInterface; +use Drupal\Component\Utility\NestedArray; +use Drupal\Core\Access\AccessResult; +use Drupal\Core\Form\FormStateInterface; +use Drupal\Core\Language\LanguageInterface; +use Drupal\Core\Messenger\MessengerTrait; +use Drupal\Core\Plugin\PluginWithFormsTrait; +use Drupal\Core\Session\AccountInterface; +use Drupal\Core\StringTranslation\StringTranslationTrait; + +/** + * Provides the base implementation of a block plugin. + * + * @internal + * This trait is used internally by the block system. Block plugins should + * extend \Drupal\Core\Block\BlockBase. + * + * @see \Drupal\Core\Block\BlockBase + * @see \Drupal\Core\Block\BlockPluginInterface + * + * @ingroup block_api + */ +trait BlockPluginTrait { + + use StringTranslationTrait; + use MessengerTrait; + use PluginWithFormsTrait; + + /** + * The transliteration service. + * + * @var \Drupal\Component\Transliteration\TransliterationInterface + */ + protected $transliteration; + + /** + * {@inheritdoc} + */ + public function label() { + if (!empty($this->configuration['label'])) { + return $this->configuration['label']; + } + + $definition = $this->getPluginDefinition(); + // Cast the admin label to a string since it is an object. + // @see \Drupal\Core\StringTranslation\TranslatableMarkup + return (string) $definition['admin_label']; + } + + /** + * {@inheritdoc} + */ + public function __construct(array $configuration, $plugin_id, $plugin_definition) { + parent::__construct($configuration, $plugin_id, $plugin_definition); + $this->setConfiguration($configuration); + } + + /** + * {@inheritdoc} + */ + public function getConfiguration() { + return $this->configuration; + } + + /** + * {@inheritdoc} + */ + public function setConfiguration(array $configuration) { + $this->configuration = NestedArray::mergeDeep( + $this->baseConfigurationDefaults(), + $this->defaultConfiguration(), + $configuration + ); + } + + /** + * Returns generic default configuration for block plugins. + * + * @return array + * An associative array with the default configuration. + */ + protected function baseConfigurationDefaults() { + return [ + 'id' => $this->getPluginId(), + 'label' => '', + 'provider' => $this->pluginDefinition['provider'], + 'label_display' => BlockPluginInterface::BLOCK_LABEL_VISIBLE, + ]; + } + + /** + * {@inheritdoc} + */ + public function defaultConfiguration() { + return []; + } + + /** + * {@inheritdoc} + */ + public function setConfigurationValue($key, $value) { + $this->configuration[$key] = $value; + } + + /** + * {@inheritdoc} + */ + public function calculateDependencies() { + return []; + } + + /** + * {@inheritdoc} + */ + public function access(AccountInterface $account, $return_as_object = FALSE) { + $access = $this->blockAccess($account); + return $return_as_object ? $access : $access->isAllowed(); + } + + /** + * Indicates whether the block should be shown. + * + * Blocks with specific access checking should override this method rather + * than access(), in order to avoid repeating the handling of the + * $return_as_object argument. + * + * @param \Drupal\Core\Session\AccountInterface $account + * The user session for which to check access. + * + * @return \Drupal\Core\Access\AccessResult + * The access result. + * + * @see self::access() + */ + protected function blockAccess(AccountInterface $account) { + // By default, the block is visible. + return AccessResult::allowed(); + } + + /** + * {@inheritdoc} + * + * Creates a generic configuration form for all block types. Individual + * block plugins can add elements to this form by overriding + * BlockBase::blockForm(). Most block plugins should not override this + * method unless they need to alter the generic form elements. + * + * @see \Drupal\Core\Block\BlockBase::blockForm() + */ + public function buildConfigurationForm(array $form, FormStateInterface $form_state) { + $definition = $this->getPluginDefinition(); + $form['provider'] = [ + '#type' => 'value', + '#value' => $definition['provider'], + ]; + + $form['admin_label'] = [ + '#type' => 'item', + '#title' => $this->t('Block description'), + '#plain_text' => $definition['admin_label'], + ]; + $form['label'] = [ + '#type' => 'textfield', + '#title' => $this->t('Title'), + '#maxlength' => 255, + '#default_value' => $this->label(), + '#required' => TRUE, + ]; + $form['label_display'] = [ + '#type' => 'checkbox', + '#title' => $this->t('Display title'), + '#default_value' => ($this->configuration['label_display'] === BlockPluginInterface::BLOCK_LABEL_VISIBLE), + '#return_value' => BlockPluginInterface::BLOCK_LABEL_VISIBLE, + ]; + + // Add context mapping UI form elements. + $contexts = $form_state->getTemporaryValue('gathered_contexts') ?: []; + $form['context_mapping'] = $this->addContextAssignmentElement($this, $contexts); + // Add plugin-specific settings for this block type. + $form += $this->blockForm($form, $form_state); + return $form; + } + + /** + * {@inheritdoc} + */ + public function blockForm($form, FormStateInterface $form_state) { + return []; + } + + /** + * {@inheritdoc} + * + * Most block plugins should not override this method. To add validation + * for a specific block type, override BlockBase::blockValidate(). + * + * @see \Drupal\Core\Block\BlockBase::blockValidate() + */ + public function validateConfigurationForm(array &$form, FormStateInterface $form_state) { + // Remove the admin_label form item element value so it will not persist. + $form_state->unsetValue('admin_label'); + + $this->blockValidate($form, $form_state); + } + + /** + * {@inheritdoc} + */ + public function blockValidate($form, FormStateInterface $form_state) { + } + + /** + * {@inheritdoc} + * + * Most block plugins should not override this method. To add submission + * handling for a specific block type, override BlockBase::blockSubmit(). + * + * @see \Drupal\Core\Block\BlockBase::blockSubmit() + */ + public function submitConfigurationForm(array &$form, FormStateInterface $form_state) { + // Process the block's submission handling if no errors occurred only. + if (!$form_state->getErrors()) { + $this->configuration['label'] = $form_state->getValue('label'); + $this->configuration['label_display'] = $form_state->getValue('label_display'); + $this->configuration['provider'] = $form_state->getValue('provider'); + $this->blockSubmit($form, $form_state); + } + } + + /** + * {@inheritdoc} + */ + public function blockSubmit($form, FormStateInterface $form_state) { + } + + /** + * {@inheritdoc} + */ + public function getMachineNameSuggestion() { + $definition = $this->getPluginDefinition(); + $admin_label = $definition['admin_label']; + + // @todo This is basically the same as what is done in + // \Drupal\system\MachineNameController::transliterate(), so it might make + // sense to provide a common service for the two. + $transliterated = $this->transliteration()->transliterate($admin_label, LanguageInterface::LANGCODE_DEFAULT, '_'); + $transliterated = mb_strtolower($transliterated); + + $transliterated = preg_replace('@[^a-z0-9_.]+@', '', $transliterated); + + return $transliterated; + } + + /** + * {@inheritdoc} + */ + public function getPreviewFallbackString() { + return $this->t('"@block" block', ['@block' => $this->label()]); + } + + /** + * Wraps the transliteration service. + * + * @return \Drupal\Component\Transliteration\TransliterationInterface + */ + protected function transliteration() { + if (!$this->transliteration) { + $this->transliteration = \Drupal::transliteration(); + } + return $this->transliteration; + } + + /** + * Sets the transliteration service. + * + * @param \Drupal\Component\Transliteration\TransliterationInterface $transliteration + * The transliteration service. + */ + public function setTransliteration(TransliterationInterface $transliteration) { + $this->transliteration = $transliteration; + } + +} diff --git a/web/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php b/web/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php index b7f3a19fffe593478652eece1bbe9c8e63acb41c..79900c5f341bdb00bc76203d03e1ef5e44315bd4 100644 --- a/web/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php +++ b/web/core/lib/Drupal/Core/Block/Plugin/Block/Broken.php @@ -2,8 +2,11 @@ namespace Drupal\Core\Block\Plugin\Block; -use Drupal\Core\Block\BlockBase; +use Drupal\Core\Block\BlockPluginInterface; +use Drupal\Core\Block\BlockPluginTrait; +use Drupal\Core\Cache\CacheableDependencyTrait; use Drupal\Core\Form\FormStateInterface; +use Drupal\Core\Plugin\PluginBase; /** * Defines a fallback plugin for missing block plugins. @@ -14,7 +17,10 @@ * category = @Translation("Block"), * ) */ -class Broken extends BlockBase { +class Broken extends PluginBase implements BlockPluginInterface { + + use BlockPluginTrait; + use CacheableDependencyTrait; /** * {@inheritdoc} diff --git a/web/core/lib/Drupal/Core/Config/ConfigEvents.php b/web/core/lib/Drupal/Core/Config/ConfigEvents.php index 349d95824aa897e843f599e41ac712d9d7d17fb5..8aa2d8d65fc12a87547a45e537052f8d49f9fda7 100644 --- a/web/core/lib/Drupal/Core/Config/ConfigEvents.php +++ b/web/core/lib/Drupal/Core/Config/ConfigEvents.php @@ -121,7 +121,7 @@ final class ConfigEvents { * fire the event again to continue processing missing content dependencies. * * @see \Drupal\Core\Config\ConfigImporter::processMissingContent() - * @see \Drupal\Core\Config\MissingContentEvent + * @see \Drupal\Core\Config\Importer\MissingContentEvent */ const IMPORT_MISSING_CONTENT = 'config.importer.missing_content'; diff --git a/web/core/lib/Drupal/Core/Config/Entity/Query/Condition.php b/web/core/lib/Drupal/Core/Config/Entity/Query/Condition.php index 2adfd80d5fd2cd429b0e545aae958444883f3bed..420bc0d3dccb3631c9108c379f5cb01631894bc6 100644 --- a/web/core/lib/Drupal/Core/Config/Entity/Query/Condition.php +++ b/web/core/lib/Drupal/Core/Config/Entity/Query/Condition.php @@ -130,6 +130,11 @@ protected function matchArray(array $condition, array $data, array $needs_matchi return TRUE; } } + // If the parent does not exist, it's safe to say the actual property + // we're checking for is also NULL. + elseif ($condition['operator'] === 'IS NULL') { + return TRUE; + } } // Only try to match a scalar if there are no remaining keys in // $needs_matching as this indicates that we are looking for a specific diff --git a/web/core/lib/Drupal/Core/Config/Entity/Query/Query.php b/web/core/lib/Drupal/Core/Config/Entity/Query/Query.php index 5c14c9ac1a675785d59898e41d670fb0e96e60f5..66470dce5bb53c980b347ec494b66209338b69e9 100644 --- a/web/core/lib/Drupal/Core/Config/Entity/Query/Query.php +++ b/web/core/lib/Drupal/Core/Config/Entity/Query/Query.php @@ -89,7 +89,14 @@ public function execute() { $direction = $sort['direction'] == 'ASC' ? -1 : 1; $field = $sort['field']; uasort($result, function ($a, $b) use ($field, $direction) { - return ($a[$field] <= $b[$field]) ? $direction : -$direction; + $properties = explode('.', $field); + foreach ($properties as $property) { + if (isset($a[$property]) || isset($b[$property])) { + $a = isset($a[$property]) ? $a[$property] : NULL; + $b = isset($b[$property]) ? $b[$property] : NULL; + } + } + return ($a <= $b) ? $direction : -$direction; }); } diff --git a/web/core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php b/web/core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php index 9b7baf76e0f952e8bb62e3eb3abfd1c2ce7cf6c3..e23029707fd8d21aab92f2651e4b654dd3d28600 100644 --- a/web/core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php +++ b/web/core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php @@ -7,7 +7,7 @@ /** * Wraps a configuration event for event listeners. * - * @see \Drupal\Core\Config\Config\ConfigEvents::IMPORT_MISSING_CONTENT + * @see \Drupal\Core\Config\ConfigEvents::IMPORT_MISSING_CONTENT */ class MissingContentEvent extends Event { diff --git a/web/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php b/web/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php index 5ef4d70ea69c046f456a589d29206f89cd3be7eb..7c221fd9eabfaab6867bd78ba762aa026233ccbb 100644 --- a/web/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php +++ b/web/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php @@ -686,11 +686,11 @@ public function getComment($table, $column = NULL) { $condition->condition('column_name', $column); $condition->compile($this->connection, $this); // Don't use {} around information_schema.columns table. - return $this->connection->query("SELECT column_comment as column_comment FROM information_schema.columns WHERE " . (string) $condition, $condition->arguments())->fetchField(); + return $this->connection->query("SELECT column_comment AS column_comment FROM information_schema.columns WHERE " . (string) $condition, $condition->arguments())->fetchField(); } $condition->compile($this->connection, $this); // Don't use {} around information_schema.tables table. - $comment = $this->connection->query("SELECT table_comment as table_comment FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments())->fetchField(); + $comment = $this->connection->query("SELECT table_comment AS table_comment FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments())->fetchField(); // Work-around for MySQL 5.0 bug http://bugs.mysql.com/bug.php?id=11379 return preg_replace('/; InnoDB free:.*$/', '', $comment); } diff --git a/web/core/lib/Drupal/Core/Database/Query/Select.php b/web/core/lib/Drupal/Core/Database/Query/Select.php index 45d0fce2490e08d56f5d758080a22c7b57ad3105..bcfad55292fc4cc730d0bbddbbe3b6d6050b7be6 100644 --- a/web/core/lib/Drupal/Core/Database/Query/Select.php +++ b/web/core/lib/Drupal/Core/Database/Query/Select.php @@ -814,13 +814,16 @@ public function __toString() { $fields = []; foreach ($this->tables as $alias => $table) { if (!empty($table['all_fields'])) { - $fields[] = $this->connection->escapeTable($alias) . '.*'; + $fields[] = $this->connection->escapeAlias($alias) . '.*'; } } foreach ($this->fields as $field) { + // Note that $field['table'] holds the table alias. + // @see \Drupal\Core\Database\Query\Select::addField + $table = isset($field['table']) ? $this->connection->escapeAlias($field['table']) . '.' : ''; // Always use the AS keyword for field aliases, as some // databases require it (e.g., PostgreSQL). - $fields[] = (isset($field['table']) ? $this->connection->escapeTable($field['table']) . '.' : '') . $this->connection->escapeField($field['field']) . ' AS ' . $this->connection->escapeAlias($field['alias']); + $fields[] = $table . $this->connection->escapeField($field['field']) . ' AS ' . $this->connection->escapeAlias($field['alias']); } foreach ($this->expressions as $expression) { $fields[] = $expression['expression'] . ' AS ' . $this->connection->escapeAlias($expression['alias']); @@ -852,7 +855,7 @@ public function __toString() { // Don't use the AS keyword for table aliases, as some // databases don't support it (e.g., Oracle). - $query .= $table_string . ' ' . $this->connection->escapeTable($table['alias']); + $query .= $table_string . ' ' . $this->connection->escapeAlias($table['alias']); if (!empty($table['condition'])) { $query .= ' ON ' . (string) $table['condition']; diff --git a/web/core/lib/Drupal/Core/Database/Schema.php b/web/core/lib/Drupal/Core/Database/Schema.php index 620972082ad62e2e02c9e7b6e372c1a5305add26..935c90d7dc6622b2eccd6cee90dc3058391697a4 100644 --- a/web/core/lib/Drupal/Core/Database/Schema.php +++ b/web/core/lib/Drupal/Core/Database/Schema.php @@ -200,7 +200,7 @@ public function findTables($table_expression) { // couldn't use \Drupal::database()->select() here because it would prefix // information_schema.tables and the query would fail. // Don't use {} around information_schema.tables table. - $results = $this->connection->query("SELECT table_name as table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments()); + $results = $this->connection->query("SELECT table_name AS table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments()); foreach ($results as $table) { // Take into account tables that have an individual prefix. if (isset($individually_prefixed_tables[$table->table_name])) { diff --git a/web/core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php b/web/core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php index 9688b1f1c543e6a03e190b4eb5fb584c905b4447..853c37868aac2482f101c9bccc9297fa359acc24 100644 --- a/web/core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php +++ b/web/core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php @@ -70,7 +70,7 @@ public function isDefaultFormLangcode(FormStateInterface $form_state); * For more information about entity validation, see * https://www.drupal.org/node/2015613. * - * @return \Drupal\Core\Entity\ContentEntityTypeInterface + * @return \Drupal\Core\Entity\ContentEntityInterface * The built entity. */ public function validateForm(array &$form, FormStateInterface $form_state); diff --git a/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php b/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php index 10421abaae2f70123827cecdfbd30a49344eaf7c..241ce456cb3b4d33f0e20df2471ca964d3a72e08 100644 --- a/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php +++ b/web/core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php @@ -14,8 +14,54 @@ /** * Provides an entity autocomplete form element. * - * The #default_value accepted by this element is either an entity object or an - * array of entity objects. + * The autocomplete form element allows users to select one or multiple + * entities, which can come from all or specific bundles of an entity type. + * + * Properties: + * - #target_type: (required) The ID of the target entity type. + * - #tags: (optional) TRUE if the element allows multiple selection. Defaults + * to FALSE. + * - #default_value: (optional) The default entity or an array of default + * entities, depending on the value of #tags. + * - #selection_handler: (optional) The plugin ID of the entity reference + * selection handler (a plugin of type EntityReferenceSelection). The default + * value is the lowest-weighted plugin that is compatible with #target_type. + * - #selection_settings: (optional) An array of settings for the selection + * handler. Settings for the default selection handler + * \Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection are: + * - target_bundles: Array of bundles to allow (omit to allow all bundles). + * - sort: Array with 'field' and 'direction' keys, determining how results + * will be sorted. Defaults to unsorted. + * - #autocreate: (optional) Array of settings used to auto-create entities + * that do not exist (omit to not auto-create entities). Elements: + * - bundle: (required) Bundle to use for auto-created entities. + * - uid: User ID to use as the author of auto-created entities. Defaults to + * the current user. + * - #process_default_value: (optional) Set to FALSE if the #default_value + * property is processed and access checked elsewhere (such as by a Field API + * widget). Defaults to TRUE. + * - #validate_reference: (optional) Set to FALSE if validation of the selected + * entities is performed elsewhere. Defaults to TRUE. + * + * Usage example: + * @code + * $form['my_element'] = [ + * '#type' => 'entity_autocomplete', + * '#target_type' => 'node', + * '#tags' => TRUE, + * '#default_value' => $node, + * '#selection_handler' => 'default', + * '#selection_settings' => [ + * 'target_bundles' => ['article', 'page'], + * ], + * '#autocreate' => [ + * 'bundle' => 'article', + * 'uid' => <a valid user ID>, + * ], + * ]; + * @endcode + * + * @see \Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection * * @FormElement("entity_autocomplete") */ diff --git a/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php b/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php index a3454fc365321cb8dac2d6f141e87ec620cd57ad..b3b085ca684988d52c953028a3a47f83a39b068f 100644 --- a/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php +++ b/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php @@ -846,8 +846,19 @@ protected function getSelectQueryForFieldStorageDeletion($table_name, array $sha // Add the bundle column. if ($bundle = $this->entityType->getKey('bundle')) { - if ($base_table) { - $select->join($base_table, 'base_table', "entity_table.{$this->entityType->getKey('id')} = %alias.{$this->entityType->getKey('id')}"); + // The bundle field is not stored in the revision table, so we need to + // join the data (or base) table and retrieve it from there. + if ($base_table && $base_table !== $table_name) { + $join_condition = "entity_table.{$this->entityType->getKey('id')} = %alias.{$this->entityType->getKey('id')}"; + + // If the entity type is translatable, we also need to add the langcode + // to the join, otherwise we'll get duplicate rows for each language. + if ($this->entityType->isTranslatable()) { + $langcode = $this->entityType->getKey('langcode'); + $join_condition .= " AND entity_table.{$langcode} = %alias.{$langcode}"; + } + + $select->join($base_table, 'base_table', $join_condition); $select->addField('base_table', $bundle, 'bundle'); } else { diff --git a/web/core/lib/Drupal/Core/Entity/entity.api.php b/web/core/lib/Drupal/Core/Entity/entity.api.php index 7e1277fdd03293eb4af5df05857c626bee693295..0b163dc3a0c905dcad2875dc57c94187d85d4176 100644 --- a/web/core/lib/Drupal/Core/Entity/entity.api.php +++ b/web/core/lib/Drupal/Core/Entity/entity.api.php @@ -616,6 +616,18 @@ * are invoked are hook_entity_create_access() and * hook_ENTITY_TYPE_create_access() instead. * + * The access to an entity can be influenced in several ways: + * - To explicitly allow access, return an AccessResultInterface object with + * isAllowed() returning TRUE. Other modules can override this access by + * returning TRUE for isForbidden(). + * - To explicitly forbid access, return an AccessResultInterface object with + * isForbidden() returning TRUE. Access will be forbidden even if your module + * (or another module) also returns TRUE for isNeutral() or isAllowed(). + * - To neither allow nor explicitly forbid access, return an + * AccessResultInterface object with isNeutral() returning TRUE. + * - If your module does not return an AccessResultInterface object, neutral + * access will be assumed. + * * The Node entity type has a complex system for determining access, which * developers can interact with. This is described in the * @link node_access Node access topic. @endlink @@ -643,7 +655,10 @@ * @param string $operation * The operation that is to be performed on $entity. * @param \Drupal\Core\Session\AccountInterface $account - * The account trying to access the entity. + * The account trying to access the entity. Usually one of: + * - "view" + * - "update" + * - "delete" * * @return \Drupal\Core\Access\AccessResultInterface * The access result. The final result is calculated by using @@ -677,7 +692,10 @@ function hook_entity_access(\Drupal\Core\Entity\EntityInterface $entity, $operat * @param \Drupal\Core\Entity\EntityInterface $entity * The entity to check access to. * @param string $operation - * The operation that is to be performed on $entity. + * The operation that is to be performed on $entity. Usually one of: + * - "view" + * - "update" + * - "delete" * @param \Drupal\Core\Session\AccountInterface $account * The account trying to access the entity. * diff --git a/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php b/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php index 660a06460e778c0181da8a2b90957d861c838f35..7991a6f64da3751ad0a58d8663f9a9fc077b1e5e 100644 --- a/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php +++ b/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php @@ -49,7 +49,7 @@ public function settingsSummary() { $summary = []; $display_label = $this->getSetting('display_label'); - $summary[] = t('Use field label: @display_label', ['@display_label' => ($display_label ? t('Yes') : 'No')]); + $summary[] = t('Use field label: @display_label', ['@display_label' => ($display_label ? t('Yes') : t('No'))]); return $summary; } diff --git a/web/core/lib/Drupal/Core/Link.php b/web/core/lib/Drupal/Core/Link.php index c4fbd0dfc35823ffd85fa9ff9840a393fe3a9fec..90cbac9e9af99c98edaf57bece43a61b5e91cf96 100644 --- a/web/core/lib/Drupal/Core/Link.php +++ b/web/core/lib/Drupal/Core/Link.php @@ -66,8 +66,8 @@ public static function createFromRoute($text, $route_name, $route_parameters = [ /** * Creates a Link object from a given Url object. * - * @param string $text - * The text of the link. + * @param string|array|\Drupal\Component\Render\MarkupInterface $text + * The link text for the anchor tag as a translated string or render array. * @param \Drupal\Core\Url $url * The Url to create the link for. * diff --git a/web/core/lib/Drupal/Core/Render/Element/StatusReport.php b/web/core/lib/Drupal/Core/Render/Element/StatusReport.php index 85b12e25ff3c879c5618deb8f4ab1a1106392c90..3d9313af11c2cc0392e4b27d027315e84c6961ea 100644 --- a/web/core/lib/Drupal/Core/Render/Element/StatusReport.php +++ b/web/core/lib/Drupal/Core/Render/Element/StatusReport.php @@ -52,7 +52,7 @@ public static function preRenderGroupRequirements($element) { // Order the grouped requirements by a set order. $order = array_flip($element['#priorities']); uksort($grouped_requirements, function ($a, $b) use ($order) { - return $order[$a] > $order[$b]; + return $order[$a] <=> $order[$b]; }); $element['#grouped_requirements'] = $grouped_requirements; diff --git a/web/core/lib/Drupal/Core/Render/theme.api.php b/web/core/lib/Drupal/Core/Render/theme.api.php index 605c91b126bd10e377dfca08874f00c462c629d8..082f139f3c92d95790f68c685b77c2e647618c3b 100644 --- a/web/core/lib/Drupal/Core/Render/theme.api.php +++ b/web/core/lib/Drupal/Core/Render/theme.api.php @@ -414,13 +414,16 @@ * render array contained: * @code * $build['my_element'] = [ - * '#attached' => ['placeholders' => ['@foo' => 'replacement']], - * '#markup' => ['Something about @foo'], + * '#markup' => 'Something about @foo', + * '#attached' => [ + * 'placeholders' => [ + * '@foo' => ['#markup' => 'replacement'], + * ], * ]; * @endcode * then #markup would end up containing 'Something about replacement'. * - * Note that each placeholder value can itself be a render array, which will be + * Note that each placeholder value *must* itself be a render array. It will be * rendered, and any cache tags generated during rendering will be added to the * cache tags for the markup. * diff --git a/web/core/lib/Drupal/Core/Template/AttributeHelper.php b/web/core/lib/Drupal/Core/Template/AttributeHelper.php index 4beb5208cd707e5404200df4ec3d1d3e78ebfe26..c4b0fbfa1e5448a7277aa465dc39ff5843dc1d3d 100644 --- a/web/core/lib/Drupal/Core/Template/AttributeHelper.php +++ b/web/core/lib/Drupal/Core/Template/AttributeHelper.php @@ -26,7 +26,7 @@ private function __construct() { * An Attribute object or an array of attributes. * * @return bool - * TRUE if the attibute exists, FALSE otherwise. + * TRUE if the attribute exists, FALSE otherwise. * * @throws \InvalidArgumentException * When the input $collection is neither an Attribute object nor an array. diff --git a/web/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php b/web/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php index bc7846e81970694a6d9a5dd08f138f500861a192..ee85a625b1e1848ab4b4901abdb7dca910b40d65 100644 --- a/web/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php +++ b/web/core/lib/Drupal/Core/Test/PhpUnitTestRunner.php @@ -205,7 +205,7 @@ public function runCommand(array $unescaped_test_classnames, $phpunit_file, &$st */ public function runTests($test_id, array $unescaped_test_classnames, &$status = NULL) { $phpunit_file = $this->xmlLogFilePath($test_id); - // Store ouptut from our test run. + // Store output from our test run. $output = []; $this->runCommand($unescaped_test_classnames, $phpunit_file, $status, $output); @@ -217,7 +217,7 @@ public function runTests($test_id, array $unescaped_test_classnames, &$status = 'test_id' => $test_id, 'test_class' => implode(",", $unescaped_test_classnames), 'status' => TestStatus::label($status), - 'message' => 'PHPunit Test failed to complete; Error: ' . implode("\n", $output), + 'message' => 'PHPUnit Test failed to complete; Error: ' . implode("\n", $output), 'message_group' => 'Other', 'function' => implode(",", $unescaped_test_classnames), 'line' => '0', diff --git a/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php b/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php index 9ac018c37efdb48cfd06d528e88542ea65311e49..aab5850ada178d044a4a1bff339947c2dad1c8d4 100644 --- a/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php +++ b/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php @@ -169,7 +169,15 @@ public function getPropertyInstance(TypedDataInterface $object, $property_name, $parts[] = json_encode($settings); } // Property path for the requested data object. - $parts[] = $object->getPropertyPath() . '.' . $property_name; + $parts[] = $object->getPropertyPath(); + // Only property instances of complex data types should be cached by the + // property name, as they represent different properties. Properties of list + // data types are the items of the list and the property name represents + // only the delta in that list and not an unique property, which is why all + // items should use the same prototype. + if ($object instanceof ComplexDataInterface) { + $parts[] = $property_name; + } $key = implode(':', $parts); // Create the prototype if needed. diff --git a/web/core/lib/Drupal/Core/Update/UpdateCompilerPass.php b/web/core/lib/Drupal/Core/Update/UpdateCompilerPass.php index 6ac05886d0448ba4cc374ece5a0bbb8867f6f3da..73cef024ec5b03192c0d59f161a1689869336cad 100644 --- a/web/core/lib/Drupal/Core/Update/UpdateCompilerPass.php +++ b/web/core/lib/Drupal/Core/Update/UpdateCompilerPass.php @@ -27,16 +27,28 @@ public function process(ContainerBuilder $container) { do { $has_changed = FALSE; foreach ($container->getDefinitions() as $key => $definition) { + // Ensure all the definition's arguments are valid. foreach ($definition->getArguments() as $argument) { - if ($argument instanceof Reference) { - $argument_id = (string) $argument; - if (!$container->has($argument_id) && $argument->getInvalidBehavior() === ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { - // If the container does not have the argument and would throw an - // exception, remove the service. + if ($this->isArgumentMissingService($argument, $container)) { + $container->removeDefinition($key); + $container->log($this, sprintf('Removed service "%s"; reason: depends on non-existent service "%s".', $key, (string) $argument)); + $has_changed = TRUE; + $process_aliases = TRUE; + // Process the next definition. + continue 2; + } + } + + // Ensure all the method call arguments are valid. + foreach ($definition->getMethodCalls() as $call) { + foreach ($call[1] as $argument) { + if ($this->isArgumentMissingService($argument, $container)) { $container->removeDefinition($key); - $container->log($this, sprintf('Removed service "%s"; reason: depends on non-existent service "%s".', $key, $argument_id)); + $container->log($this, sprintf('Removed service "%s"; reason: method call "%s" depends on non-existent service "%s".', $key, $call[0], (string) $argument)); $has_changed = TRUE; $process_aliases = TRUE; + // Process the next definition. + continue 3; } } } @@ -58,4 +70,26 @@ public function process(ContainerBuilder $container) { } } + /** + * Checks if a reference argument is to a missing service. + * + * @param mixed $argument + * The argument to check. + * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container + * The container. + * + * @return bool + * TRUE if the argument is a reference to a service that is missing from the + * container and the reference is required, FALSE if not. + */ + private function isArgumentMissingService($argument, ContainerBuilder $container) { + if ($argument instanceof Reference) { + $argument_id = (string) $argument; + if (!$container->has($argument_id) && $argument->getInvalidBehavior() === ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { + return TRUE; + } + } + return FALSE; + } + } diff --git a/web/core/lib/Drupal/Core/Url.php b/web/core/lib/Drupal/Core/Url.php index 82c2c600b3760f78d49170ca79f6c01f40409b95..7465e34aae9d81a6beb4f73a88fd245dd201446b 100644 --- a/web/core/lib/Drupal/Core/Url.php +++ b/web/core/lib/Drupal/Core/Url.php @@ -297,7 +297,7 @@ public static function fromUri($uri, $options = []) { // Extract query parameters and fragment and merge them into $uri_options, // but preserve the original $options for the fallback case. $uri_options = $options; - if (isset($uri_parts['fragment'])) { + if (isset($uri_parts['fragment']) && $uri_parts['fragment'] !== '') { $uri_options += ['fragment' => $uri_parts['fragment']]; unset($uri_parts['fragment']); } diff --git a/web/core/lib/Drupal/Core/Utility/ProjectInfo.php b/web/core/lib/Drupal/Core/Utility/ProjectInfo.php index 395a23bfade8711fd3aedf825fd464027e38969f..63e17da2abf1f014e7df92a06001f171f96fc9c2 100644 --- a/web/core/lib/Drupal/Core/Utility/ProjectInfo.php +++ b/web/core/lib/Drupal/Core/Utility/ProjectInfo.php @@ -35,11 +35,11 @@ class ProjectInfo { * @param bool $status * Boolean that controls what status (enabled or uninstalled) to process out * of the $list and add to the $projects array. - * @param array $additional_whitelist + * @param array $additional_elements * (optional) Array of additional elements to be collected from the .info.yml * file. Defaults to array(). */ - public function processInfoList(array &$projects, array $list, $project_type, $status, array $additional_whitelist = []) { + public function processInfoList(array &$projects, array $list, $project_type, $status, array $additional_elements = []) { foreach ($list as $file) { // Just projects with a matching status should be listed. if ($file->status != $status) { @@ -111,7 +111,7 @@ public function processInfoList(array &$projects, array $list, $project_type, $s 'name' => $project_name, // Only save attributes from the .info.yml file we care about so we do // not bloat our RAM usage needlessly. - 'info' => $this->filterProjectInfo($file->info, $additional_whitelist), + 'info' => $this->filterProjectInfo($file->info, $additional_elements), 'datestamp' => $file->info['datestamp'], 'includes' => [$file->getName() => $file->info['name']], 'project_type' => $project_display_type, @@ -165,7 +165,7 @@ public function getProjectName(Extension $file) { * @param array $info * Array of .info.yml file data as returned by * \Drupal\Core\Extension\InfoParser. - * @param $additional_whitelist + * @param $additional_elements * (optional) Array of additional elements to be collected from the .info.yml * file. Defaults to array(). * @@ -174,8 +174,8 @@ public function getProjectName(Extension $file) { * * @see \Drupal\Core\Utility\ProjectInfo::processInfoList() */ - public function filterProjectInfo($info, $additional_whitelist = []) { - $whitelist = [ + public function filterProjectInfo($info, $additional_elements = []) { + $elements = [ '_info_file_ctime', 'datestamp', 'major', @@ -185,8 +185,8 @@ public function filterProjectInfo($info, $additional_whitelist = []) { 'project status url', 'version', ]; - $whitelist = array_merge($whitelist, $additional_whitelist); - return array_intersect_key($info, array_combine($whitelist, $whitelist)); + $elements = array_merge($elements, $additional_elements); + return array_intersect_key($info, array_combine($elements, $elements)); } } diff --git a/web/core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php b/web/core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php index 2b74d30046e67eafc9a19ecbbac5e964a0532b6d..8a4f7ab8753bc6154ec09c0ff5d41027f077bfcb 100644 --- a/web/core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php +++ b/web/core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php @@ -197,11 +197,8 @@ public function updateFeedItems(FeedInterface $feed, $expected_count = NULL) { $this->clickLink('Update items'); // Ensure we have the right number of items. - $iids = \Drupal::entityQuery('aggregator_item')->condition('fid', $feed->id())->execute(); - $feed->items = []; - foreach ($iids as $iid) { - $feed->items[] = $iid; - } + $item_ids = \Drupal::entityQuery('aggregator_item')->condition('fid', $feed->id())->execute(); + $feed->items = array_values($item_ids); if ($expected_count !== NULL) { $feed->item_count = count($feed->items); diff --git a/web/core/modules/aggregator/tests/src/Functional/FeedParserTest.php b/web/core/modules/aggregator/tests/src/Functional/FeedParserTest.php index 4e76ad76c044709fbd441ffb3e44b9198a0d14db..bc3ed26c67b413260937792a889e6db3611413ba 100644 --- a/web/core/modules/aggregator/tests/src/Functional/FeedParserTest.php +++ b/web/core/modules/aggregator/tests/src/Functional/FeedParserTest.php @@ -64,16 +64,16 @@ public function testAtomSample() { $this->assertText('Atom-Powered Robots Run Amok'); $this->assertLinkByHref('http://example.org/2003/12/13/atom03'); $this->assertText('Some text.'); - $iids = \Drupal::entityQuery('aggregator_item')->condition('link', 'http://example.org/2003/12/13/atom03')->execute(); - $item = Item::load(array_values($iids)[0]); + $item_ids = \Drupal::entityQuery('aggregator_item')->condition('link', 'http://example.org/2003/12/13/atom03')->execute(); + $item = Item::load(array_values($item_ids)[0]); $this->assertEqual('urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a', $item->getGuid(), 'Atom entry id element is parsed correctly.'); // Check for second feed entry. $this->assertText('We tried to stop them, but we failed.'); $this->assertLinkByHref('http://example.org/2003/12/14/atom03'); $this->assertText('Some other text.'); - $iids = \Drupal::entityQuery('aggregator_item')->condition('link', 'http://example.org/2003/12/14/atom03')->execute(); - $item = Item::load(array_values($iids)[0]); + $item_ids = \Drupal::entityQuery('aggregator_item')->condition('link', 'http://example.org/2003/12/14/atom03')->execute(); + $item = Item::load(array_values($item_ids)[0]); $this->assertEqual('urn:uuid:1225c695-cfb8-4ebb-bbbb-80da344efa6a', $item->getGuid(), 'Atom entry id element is parsed correctly.'); } diff --git a/web/core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php b/web/core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php index fdbcc04eabd4d6ca8abd4d2d8bebf4b4314d7165..4c5a3d3ab3cbaeeb070d732ed28270761648f3ff 100644 --- a/web/core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php +++ b/web/core/modules/aggregator/tests/src/Functional/UpdateFeedItemTest.php @@ -54,8 +54,8 @@ public function testUpdateFeedItem() { $feed = Feed::load(array_values($fids)[0]); $feed->refreshItems(); - $iids = \Drupal::entityQuery('aggregator_item')->condition('fid', $feed->id())->execute(); - $before = Item::load(array_values($iids)[0])->getPostedTime(); + $item_ids = \Drupal::entityQuery('aggregator_item')->condition('fid', $feed->id())->execute(); + $before = Item::load(array_values($item_ids)[0])->getPostedTime(); // Sleep for 3 second. sleep(3); @@ -67,7 +67,7 @@ public function testUpdateFeedItem() { ->save(); $feed->refreshItems(); - $after = Item::load(array_values($iids)[0])->getPostedTime(); + $after = Item::load(array_values($item_ids)[0])->getPostedTime(); $this->assertTrue($before === $after, new FormattableMarkup('Publish timestamp of feed item was not updated (@before === @after)', ['@before' => $before, '@after' => $after])); // Make sure updating items works even after uninstalling a module diff --git a/web/core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php b/web/core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php index 3e0f460e9a12309daaa0776c549807dff514ae8f..bd022f2ef3721942897b736a958ef17170800dca 100644 --- a/web/core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php +++ b/web/core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php @@ -210,7 +210,7 @@ protected static function createBigPipeJsPlaceholder($original_placeholder, arra 'library' => [ 'big_pipe/big_pipe', ], - // Inform BigPipe' JavaScript known BigPipe placeholder IDs (a whitelist). + // Inform BigPipe' JavaScript known BigPipe placeholder IDs. 'drupalSettings' => [ 'bigPipePlaceholderIds' => [$big_pipe_placeholder_id => TRUE], ], diff --git a/web/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php b/web/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php index e059f983995e354befc3253236bddb3d6283019c..d5bb0bcf04dabe16035fc8a3b58b374f4b10664b 100644 --- a/web/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php +++ b/web/core/modules/big_pipe/tests/src/Functional/BigPipeTest.php @@ -186,7 +186,7 @@ public function testBigPipe() { $this->assertRaw('</body>', 'Closing body tag present.'); - $this->pass('Verifying BigPipe assets are present…', 'Debug'); + // Verifying BigPipe assets are present. $this->assertFalse(empty($this->getDrupalSettings()), 'drupalSettings present.'); $this->assertContains('big_pipe/big_pipe', explode(',', $this->getDrupalSettings()['ajaxPageState']['libraries']), 'BigPipe asset library is present.'); @@ -205,7 +205,8 @@ public function testBigPipe() { $this->drupalGet(Url::fromUri('base:non-existing-path')); // Simulate development. - $this->pass('Verifying BigPipe provides useful error output when an error occurs while rendering a placeholder if verbose error logging is enabled.', 'Debug'); + // Verifying BigPipe provides useful error output when an error occurs + // while rendering a placeholder if verbose error logging is enabled. $this->config('system.logging')->set('error_level', ERROR_REPORTING_DISPLAY_VERBOSE)->save(); $this->drupalGet(Url::fromRoute('big_pipe_test')); // The 'edge_case__html_exception' case throws an exception. @@ -259,13 +260,13 @@ public function testBigPipeNoJs() { $cases['exception__embedded_response']->bigPipePlaceholderId => NULL, ]); - $this->pass('Verifying there are no BigPipe placeholders & replacements…', 'Debug'); + // Verifying there are no BigPipe placeholders & replacements. $this->assertEqual('<none>', $this->drupalGetHeader('BigPipe-Test-Placeholders')); - $this->pass('Verifying BigPipe start/stop signals are absent…', 'Debug'); + // Verifying BigPipe start/stop signals are absent. $this->assertNoRaw(BigPipe::START_SIGNAL, 'BigPipe start signal absent.'); $this->assertNoRaw(BigPipe::STOP_SIGNAL, 'BigPipe stop signal absent.'); - $this->pass('Verifying BigPipe assets are absent…', 'Debug'); + // Verifying BigPipe assets are absent. $this->assertTrue(!isset($this->getDrupalSettings()['bigPipePlaceholderIds']) && empty($this->getDrupalSettings()['ajaxPageState']), 'BigPipe drupalSettings and BigPipe asset library absent.'); $this->assertRaw('</body>', 'Closing body tag present.'); @@ -274,7 +275,8 @@ public function testBigPipeNoJs() { $this->drupalGet(Url::fromUri('base:non-existing-path')); // Simulate development. - $this->pass('Verifying BigPipe provides useful error output when an error occurs while rendering a placeholder if verbose error logging is enabled.', 'Debug'); + // Verifying BigPipe provides useful error output when an error occurs + // while rendering a placeholder if verbose error logging is enabled. $this->config('system.logging')->set('error_level', ERROR_REPORTING_DISPLAY_VERBOSE)->save(); $this->drupalGet(Url::fromRoute('big_pipe_test')); // The 'edge_case__html_exception' case throws an exception. @@ -322,7 +324,6 @@ public function testBigPipeMultiOccurrencePlaceholders() { } protected function assertBigPipeResponseHeadersPresent() { - $this->pass('Verifying BigPipe response headers…', 'Debug'); // Check that Cache-Control header set to "private". $this->assertSession()->responseHeaderContains('Cache-Control', 'private'); $this->assertEqual('no-store, content="BigPipe/1.0"', $this->drupalGetHeader('Surrogate-Control')); @@ -337,10 +338,10 @@ protected function assertBigPipeResponseHeadersPresent() { * markup. */ protected function assertBigPipeNoJsPlaceholders(array $expected_big_pipe_nojs_placeholders) { - $this->pass('Verifying BigPipe no-JS placeholders & replacements…', 'Debug'); $this->assertSetsEqual(array_keys($expected_big_pipe_nojs_placeholders), array_map('rawurldecode', explode(' ', $this->drupalGetHeader('BigPipe-Test-No-Js-Placeholders')))); foreach ($expected_big_pipe_nojs_placeholders as $big_pipe_nojs_placeholder => $expected_replacement) { - $this->pass('Checking whether the replacement for the BigPipe no-JS placeholder "' . $big_pipe_nojs_placeholder . '" is present:'); + // Checking whether the replacement for the BigPipe no-JS placeholder + // $big_pipe_nojs_placeholder is present. $this->assertNoRaw($big_pipe_nojs_placeholder); if ($expected_replacement !== NULL) { $this->assertRaw($expected_replacement); @@ -358,12 +359,10 @@ protected function assertBigPipeNoJsPlaceholders(array $expected_big_pipe_nojs_p * defined in the order that they are expected to be rendered & streamed. */ protected function assertBigPipePlaceholders(array $expected_big_pipe_placeholders, array $expected_big_pipe_placeholder_stream_order) { - $this->pass('Verifying BigPipe placeholders & replacements…', 'Debug'); $this->assertSetsEqual(array_keys($expected_big_pipe_placeholders), explode(' ', $this->drupalGetHeader('BigPipe-Test-Placeholders'))); $placeholder_positions = []; $placeholder_replacement_positions = []; foreach ($expected_big_pipe_placeholders as $big_pipe_placeholder_id => $expected_ajax_response) { - $this->pass('BigPipe placeholder: ' . $big_pipe_placeholder_id, 'Debug'); // Verify expected placeholder. $expected_placeholder_html = '<span data-big-pipe-placeholder-id="' . $big_pipe_placeholder_id . '"></span>'; $this->assertRaw($expected_placeholder_html, 'BigPipe placeholder for placeholder ID "' . $big_pipe_placeholder_id . '" found.'); @@ -396,14 +395,15 @@ protected function assertBigPipePlaceholders(array $expected_big_pipe_placeholde $this->assertSetsEqual(array_keys($expected_big_pipe_placeholders_with_replacements), array_values($placeholder_replacement_positions)); $this->assertEqual(count($expected_big_pipe_placeholders_with_replacements), preg_match_all('/' . preg_quote('<script type="application/vnd.drupal-ajax" data-big-pipe-replacement-for-placeholder-with-id="', '/') . '/', $this->getSession()->getPage()->getContent())); - $this->pass('Verifying BigPipe start/stop signals…', 'Debug'); + // Verifying BigPipe start/stop signals. $this->assertRaw(BigPipe::START_SIGNAL, 'BigPipe start signal present.'); $this->assertRaw(BigPipe::STOP_SIGNAL, 'BigPipe stop signal present.'); $start_signal_position = strpos($this->getSession()->getPage()->getContent(), BigPipe::START_SIGNAL); $stop_signal_position = strpos($this->getSession()->getPage()->getContent(), BigPipe::STOP_SIGNAL); $this->assertTrue($start_signal_position < $stop_signal_position, 'BigPipe start signal appears before stop signal.'); - $this->pass('Verifying BigPipe placeholder replacements and start/stop signals were streamed in the correct order…', 'Debug'); + // Verifying BigPipe placeholder replacements and start/stop signals were + // streamed in the correct order. $expected_stream_order = array_keys($expected_big_pipe_placeholders_with_replacements); array_unshift($expected_stream_order, BigPipe::START_SIGNAL); array_push($expected_stream_order, BigPipe::STOP_SIGNAL); diff --git a/web/core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php b/web/core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php index a70e89c31836347cdc94e94c30c528bf644ad086..095434cb89cbc842f0a7d86606bc7eb1ece5a5ff 100644 --- a/web/core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php +++ b/web/core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php @@ -292,7 +292,6 @@ protected function assertBlockRenderedWithExpectedCacheability(array $expected_k // Check that the expected cacheability metadata is present in: // - the built render array; - $this->pass('Built render array'); $build = $this->getBlockRenderArray(); $this->assertIdentical($expected_keys, $build['#cache']['keys']); $this->assertIdentical($expected_contexts, $build['#cache']['contexts']); @@ -300,10 +299,8 @@ protected function assertBlockRenderedWithExpectedCacheability(array $expected_k $this->assertIdentical($expected_max_age, $build['#cache']['max-age']); $this->assertFalse(isset($build['#create_placeholder'])); // - the rendered render array; - $this->pass('Rendered render array'); $this->renderer->renderRoot($build); // - the render cache item. - $this->pass('Render cache item'); $final_cache_contexts = Cache::mergeContexts($expected_contexts, $required_cache_contexts); $cid = implode(':', $expected_keys) . ':' . implode(':', \Drupal::service('cache_contexts_manager')->convertTokensToKeys($final_cache_contexts)->getKeys()); $cache_item = $this->container->get('cache.render')->get($cid); diff --git a/web/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php b/web/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php index d3649b77a7dc145eb05c477855784478013865b3..58517793a9d39ee14f6f06889466f93422106025 100644 --- a/web/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php +++ b/web/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @@ -37,7 +37,7 @@ protected function setUp() { * @covers ::transform */ public function testTransformNoData() { - $transformed_value = $this->plugin->transform([0, '', []], $this->migrateExecutable, $this->row, 'destinationproperty'); + $transformed_value = $this->plugin->transform([0, '', []], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertEmpty($transformed_value); } @@ -45,7 +45,7 @@ public function testTransformNoData() { * @covers ::transform */ public function testTransformSinglePageWithFront() { - $visibility = $this->plugin->transform([0, '<front>', []], $this->migrateExecutable, $this->row, 'destinationproperty'); + $visibility = $this->plugin->transform([0, '<front>', []], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('request_path', $visibility['request_path']['id']); $this->assertTrue($visibility['request_path']['negate']); $this->assertSame('<front>', $visibility['request_path']['pages']); @@ -55,7 +55,7 @@ public function testTransformSinglePageWithFront() { * @covers ::transform */ public function testTransformMultiplePagesWithFront() { - $visibility = $this->plugin->transform([1, "foo\n/bar\rbaz\r\n<front>", []], $this->migrateExecutable, $this->row, 'destinationproperty'); + $visibility = $this->plugin->transform([1, "foo\n/bar\rbaz\r\n<front>", []], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('request_path', $visibility['request_path']['id']); $this->assertFalse($visibility['request_path']['negate']); $this->assertSame("/foo\n/bar\n/baz\n<front>", $visibility['request_path']['pages']); @@ -66,7 +66,7 @@ public function testTransformMultiplePagesWithFront() { */ public function testTransformPhpEnabled() { $this->moduleHandler->moduleExists('php')->willReturn(TRUE); - $visibility = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destinationproperty'); + $visibility = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('php', $visibility['php']['id']); $this->assertFalse($visibility['php']['negate']); $this->assertSame('<?php', $visibility['php']['php']); @@ -77,7 +77,7 @@ public function testTransformPhpEnabled() { */ public function testTransformPhpDisabled() { $this->moduleHandler->moduleExists('php')->willReturn(FALSE); - $transformed_value = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destinationproperty'); + $transformed_value = $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertEmpty($transformed_value); } @@ -97,7 +97,7 @@ public function testTransformException() { $this->plugin = new BlockVisibility(['skip_php' => TRUE], 'block_visibility_pages', [], $this->moduleHandler->reveal(), $migrate_lookup->reveal()); $this->expectException(MigrateSkipRowException::class); $this->expectExceptionMessage("The block with bid '99' from module 'foobar' will have no PHP or request_path visibility configuration."); - $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform([2, '<?php', []], $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php b/web/core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php index 2e4280f5a25f26643178c7c18480439b18ac1f19..674eb04d76532242cb8b61f75895595a7395ea45 100644 --- a/web/core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php +++ b/web/core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php @@ -44,7 +44,7 @@ public function query() { // Add in the property, which is either title or body. Cast the bid to text // so PostgreSQL can make the join. - $query->leftJoin(static::I18N_STRING_TABLE, 'i18n', 'i18n.objectid = CAST(b.bid as CHAR(255))'); + $query->leftJoin(static::I18N_STRING_TABLE, 'i18n', 'i18n.objectid = CAST(b.bid AS CHAR(255))'); $query->condition('i18n.type', 'block'); // Add in the translation for the property. diff --git a/web/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php b/web/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php index 109a69ad0a7a2dc1c0731d47f466ec1b715753f6..c736ca77b2c6f2c28c4f427b0e26bb0e87b7a6c7 100644 --- a/web/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php +++ b/web/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php @@ -204,7 +204,7 @@ public function testFailedBlockCreation() { $this->fail('Expected exception has not been thrown.'); } catch (\Exception $e) { - $this->pass('Expected exception has been thrown.'); + // Expected exception; just continue testing. } $connection = Database::getConnection(); diff --git a/web/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php b/web/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php index 44560f9248d6c717a647575a8158fc51d218197a..3e859c0bc49742a655ae20ee53492f54857c07ae 100644 --- a/web/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php +++ b/web/core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php @@ -145,12 +145,10 @@ protected function doTestBasicTranslation() { $entity->addTranslation('it', $values); try { - $message = 'Blocks can have translations with the same "info" value.'; $entity->save(); - $this->pass($message); } catch (\Exception $e) { - $this->fail($message); + $this->fail('Blocks can have translations with the same "info" value.'); } // Check that the translate operation link is shown. diff --git a/web/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentStubTest.php b/web/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentStubTest.php index 124d0b38b9cdbace1fcf21d69c6419497550ce3c..f2abc9c7da5682e9155b48f1e949306d15db67ea 100644 --- a/web/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentStubTest.php +++ b/web/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentStubTest.php @@ -33,15 +33,10 @@ protected function setUp() { * Tests creation of block content stubs with no block_content_type available. */ public function testStubFailure() { - $message = 'Expected MigrateException thrown when no bundles exist.'; - try { - $this->createEntityStub('block_content'); - $this->fail($message); - } - catch (MigrateException $e) { - $this->pass($message); - $this->assertEqual('Stubbing failed, no bundles available for entity type: block_content', $e->getMessage()); - } + // Expected MigrateException thrown when no bundles exist. + $this->expectException(MigrateException::class); + $this->expectExceptionMessage('Stubbing failed, no bundles available for entity type: block_content'); + $this->createEntityStub('block_content'); } /** diff --git a/web/core/modules/book/tests/src/Functional/BookTestTrait.php b/web/core/modules/book/tests/src/Functional/BookTestTrait.php index c03dc6c5711bade55e5f3ae6fbb671915cf3ca3a..45196b5b852a981a4ba5778c83ee0d21bdb509b0 100644 --- a/web/core/modules/book/tests/src/Functional/BookTestTrait.php +++ b/web/core/modules/book/tests/src/Functional/BookTestTrait.php @@ -95,7 +95,7 @@ public function checkBookNode(EntityInterface $node, $nodes, $previous, $up, $ne // Check outline structure. if ($nodes !== NULL) { - $this->assertPattern($this->generateOutlinePattern($nodes), new FormattableMarkup('Node @number outline confirmed.', ['@number' => $number])); + $this->assertPattern($this->generateOutlinePattern($nodes)); } else { $this->pass(new FormattableMarkup('Node %number does not have outline.', ['%number' => $number])); diff --git a/web/core/modules/color/tests/src/Functional/ColorTest.php b/web/core/modules/color/tests/src/Functional/ColorTest.php index ba27a917129940b3b151313324429afd404beaa4..e90f7e9696aafb3d5e68b9050be9597a45865c7e 100644 --- a/web/core/modules/color/tests/src/Functional/ColorTest.php +++ b/web/core/modules/color/tests/src/Functional/ColorTest.php @@ -120,8 +120,9 @@ public function _testColor($theme, $test_values) { $this->drupalGet('<front>'); $stylesheets = $this->config('color.theme.' . $theme)->get('stylesheets'); + // Make sure the color stylesheet is included in the content. foreach ($stylesheets as $stylesheet) { - $this->assertPattern('|' . file_url_transform_relative(file_create_url($stylesheet)) . '|', 'Make sure the color stylesheet is included in the content. (' . $theme . ')'); + $this->assertPattern('|' . file_url_transform_relative(file_create_url($stylesheet)) . '|'); $stylesheet_content = implode("\n", file($stylesheet)); $this->assertStringContainsString('color: #123456', $stylesheet_content, 'Make sure the color we changed is in the color stylesheet. (' . $theme . ')'); } diff --git a/web/core/modules/comment/src/CommentViewsData.php b/web/core/modules/comment/src/CommentViewsData.php index 956a33544b0ab7f00e5b4f962d1dd0bcf0d4e56d..8292c090baae217abe06be51f1b4fd8745ced3f3 100644 --- a/web/core/modules/comment/src/CommentViewsData.php +++ b/web/core/modules/comment/src/CommentViewsData.php @@ -250,7 +250,7 @@ public function getViewsData() { // the same two tables is not supported. if (\Drupal::service('comment.manager')->getFields($type)) { $data['comment_entity_statistics']['table']['join'][$entity_type->getDataTable() ?: $entity_type->getBaseTable()] = [ - 'type' => 'INNER', + 'type' => 'LEFT', 'left_field' => $entity_type->getKey('id'), 'field' => 'entity_id', 'extra' => [ diff --git a/web/core/modules/comment/src/Entity/Comment.php b/web/core/modules/comment/src/Entity/Comment.php index 7cbf74ba3d4136eedc0c2d81d2d63b8926d1118f..5618cb0dde5e274c9bda05961767b143cbbfe277 100644 --- a/web/core/modules/comment/src/Entity/Comment.php +++ b/web/core/modules/comment/src/Entity/Comment.php @@ -510,8 +510,8 @@ public function setThread($thread) { */ public static function preCreate(EntityStorageInterface $storage, array &$values) { if (empty($values['comment_type']) && !empty($values['field_name']) && !empty($values['entity_type'])) { - $field_storage = FieldStorageConfig::loadByName($values['entity_type'], $values['field_name']); - $values['comment_type'] = $field_storage->getSetting('comment_type'); + $fields = \Drupal::service('entity_field.manager')->getFieldStorageDefinitions($values['entity_type']); + $values['comment_type'] = $fields[$values['field_name']]->getSetting('comment_type'); } } diff --git a/web/core/modules/comment/src/Plugin/views/field/NodeNewComments.php b/web/core/modules/comment/src/Plugin/views/field/NodeNewComments.php index 0117da0a23afbeb20630001ef01f80a4b0a7abbc..99381a208b65b4bb72c2229f53e207b54baa7cf8 100644 --- a/web/core/modules/comment/src/Plugin/views/field/NodeNewComments.php +++ b/web/core/modules/comment/src/Plugin/views/field/NodeNewComments.php @@ -163,7 +163,7 @@ public function preRender(&$values) { } if ($nids) { - $result = $this->database->query("SELECT n.nid, COUNT(c.cid) as num_comments FROM {node} n INNER JOIN {comment_field_data} c ON n.nid = c.entity_id AND c.entity_type = 'node' AND c.default_langcode = 1 + $result = $this->database->query("SELECT n.nid, COUNT(c.cid) AS num_comments FROM {node} n INNER JOIN {comment_field_data} c ON n.nid = c.entity_id AND c.entity_type = 'node' AND c.default_langcode = 1 LEFT JOIN {history} h ON h.nid = n.nid AND h.uid = :h_uid WHERE n.nid IN ( :nids[] ) AND c.changed > GREATEST(COALESCE(h.timestamp, :timestamp1), :timestamp2) AND c.status = :status GROUP BY n.nid", [ ':status' => CommentInterface::PUBLISHED, diff --git a/web/core/modules/comment/tests/modules/comment_base_field_test/comment_base_field_test.info.yml b/web/core/modules/comment/tests/modules/comment_base_field_test/comment_base_field_test.info.yml new file mode 100644 index 0000000000000000000000000000000000000000..d0ec2eecfc804e6ad1bbfaf7e58800ae768ab2cd --- /dev/null +++ b/web/core/modules/comment/tests/modules/comment_base_field_test/comment_base_field_test.info.yml @@ -0,0 +1,8 @@ +name: 'Comment base field test' +type: module +description: 'Test comment as a base field' +package: Testing +version: VERSION +dependencies: + - drupal:comment + - drupal:entity_test diff --git a/web/core/modules/comment/tests/modules/comment_base_field_test/config/install/comment.type.test_comment_type.yml b/web/core/modules/comment/tests/modules/comment_base_field_test/config/install/comment.type.test_comment_type.yml new file mode 100644 index 0000000000000000000000000000000000000000..3f59b466ff34f54aa82fcfba873849b4120735a0 --- /dev/null +++ b/web/core/modules/comment/tests/modules/comment_base_field_test/config/install/comment.type.test_comment_type.yml @@ -0,0 +1,6 @@ +langcode: en +status: true +id: test_comment_type +label: Test comment type +target_entity_type_id: comment_test_base_field +description: 'Test comment type.' diff --git a/web/core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php b/web/core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php new file mode 100644 index 0000000000000000000000000000000000000000..71012a0b5b734b496a9a04f88e97809da6638df5 --- /dev/null +++ b/web/core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php @@ -0,0 +1,39 @@ +<?php + +namespace Drupal\comment_base_field_test\Entity; + +use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface; +use Drupal\Core\Entity\EntityTypeInterface; +use Drupal\Core\Field\BaseFieldDefinition; +use Drupal\entity_test\Entity\EntityTest; + +/** + * Defines a test entity class for comment as a base field. + * + * @ContentEntityType( + * id = "comment_test_base_field", + * label = @Translation("Test comment - base field"), + * base_table = "comment_test_base_field", + * entity_keys = { + * "id" = "id", + * "uuid" = "uuid", + * "bundle" = "type" + * }, + * ) + */ +class CommentTestBaseField extends EntityTest { + + public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { + $fields = parent::baseFieldDefinitions($entity_type); + + $fields['test_comment'] = BaseFieldDefinition::create('comment') + ->setLabel(t('A comment field')) + ->setSetting('comment_type', 'test_comment_type') + ->setDefaultValue([ + 'status' => CommentItemInterface::OPEN, + ]); + + return $fields; + } + +} diff --git a/web/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_count.yml b/web/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_count.yml new file mode 100644 index 0000000000000000000000000000000000000000..ff472750c1b856031c7d65c873e715a343e1bc68 --- /dev/null +++ b/web/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_count.yml @@ -0,0 +1,244 @@ +langcode: en +status: true +dependencies: + module: + - node + - user +id: test_comment_count +label: 'test comment count' +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access content' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + inline: { } + separator: '' + hide_empty: false + default_field_elements: true + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + label: '' + alter: + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: true + plugin_id: field + relationship: none + group_type: group + admin_label: '' + exclude: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_alter_empty: true + click_sort_column: value + type: string + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + comment_count: + id: comment_count + table: comment_entity_statistics + field: comment_count + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + set_precision: false + precision: 0 + decimal: . + separator: '' + format_plural: false + format_plural_string: !!binary MQNAY291bnQ= + prefix: '' + suffix: '' + plugin_id: numeric + filters: + status: + value: '1' + table: node_field_data + field: status + plugin_id: boolean + entity_type: node + entity_field: status + id: status + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + group: 1 + sorts: + created: + id: created + table: node_field_data + field: created + order: DESC + entity_type: node + entity_field: created + plugin_id: date + relationship: none + group_type: group + admin_label: '' + exposed: false + expose: + label: '' + granularity: second + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: test-comment-count + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } diff --git a/web/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php b/web/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php index 5f9bbd0cae8063033aa91593936895c15c8eb647..69c548431f04e2026fe2b3adc69a9cd914b4e215 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentAnonymousTest.php @@ -188,7 +188,8 @@ public function testAnonymous() { 'skip comment approval' => FALSE, ]); $this->drupalGet('node/' . $this->node->id()); - $this->assertPattern('@<h2[^>]*>Comments</h2>@', 'Comments were displayed.'); + // Verify that the comment field title is displayed. + $this->assertPattern('@<h2[^>]*>Comments</h2>@'); $this->assertSession()->linkExists('Log in', 1, 'Link to login was found.'); $this->assertSession()->linkExists('register', 1, 'Link to register was found.'); diff --git a/web/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php b/web/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php index 8a7f19ee41e45951d62f14083a164b511ec51ad6..5f99f95d20c8ba8c3843a2882b786d366d77c24a 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentInterfaceTest.php @@ -55,7 +55,7 @@ public function testCommentInterface() { // Test the comment field title is displayed when there's comments. $this->drupalGet($this->node->toUrl()); - $this->assertPattern('@<h2[^>]*>Comments</h2>@', 'Comments title is displayed.'); + $this->assertPattern('@<h2[^>]*>Comments</h2>@'); // Set comments to have subject and preview to required. $this->drupalLogout(); diff --git a/web/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php b/web/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php index 295fa377b39dbfd7265b1fa038c943a29fd4411f..3a540272d7b8015d7d073c04d000eb478b1f8f84 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php @@ -370,7 +370,8 @@ public function testCommentFunctionality() { 'skip comment approval' => FALSE, ]); $this->drupalGet('entity_test/' . $this->entity->id()); - $this->assertPattern('@<h2[^>]*>Comments</h2>@', 'Comments were displayed.'); + // Verify that the comment field title is displayed. + $this->assertPattern('@<h2[^>]*>Comments</h2>@'); $this->assertSession()->linkExists('Log in', 0, 'Link to login was found.'); $this->assertSession()->linkExists('register', 0, 'Link to register was found.'); $this->assertNoFieldByName('subject[0][value]', '', 'Subject field not found.'); diff --git a/web/core/modules/comment/tests/src/Functional/CommentPagerTest.php b/web/core/modules/comment/tests/src/Functional/CommentPagerTest.php index 25da658ad6506ad3e59c526401960833bc265590..6e501a1f7f681a80205e1a358dfc3b2ebc8bb0f9 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentPagerTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentPagerTest.php @@ -429,7 +429,6 @@ protected function clickLinkWithXPath($xpath, $arguments = [], $index = 0) { $urls = $this->xpath($xpath, $arguments); if (isset($urls[$index])) { $url_target = $this->getAbsoluteUrl($urls[$index]->getAttribute('href')); - $this->pass(new FormattableMarkup('Clicked link %label (@url_target) from @url_before', ['%label' => $xpath, '@url_target' => $url_target, '@url_before' => $url_before]), 'Browser'); return $this->drupalGet($url_target); } $this->fail(new FormattableMarkup('Link %label does not exist on @url_before', ['%label' => $xpath, '@url_before' => $url_before]), 'Browser'); diff --git a/web/core/modules/comment/tests/src/Functional/CommentTitleTest.php b/web/core/modules/comment/tests/src/Functional/CommentTitleTest.php index 0565d88a275ce502abe1f376eea21eeeb5bd8095..7897acbaa2c64ee177df7e4ac2896afa83ce946f 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentTitleTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentTitleTest.php @@ -45,7 +45,8 @@ public function testCommentEmptyTitles() { $regex = '/<article(.*?)id="comment-' . $comment->id() . '"(.*?)'; $regex .= $comment->comment_body->value . '(.*?)'; $regex .= '/s'; - $this->assertPattern($regex, 'Comment is created successfully'); + // Verify that the comment is created successfully. + $this->assertPattern($regex); // Tests that markup is not generated for the comment without header. $this->assertSession()->responseNotMatches('|<h3[^>]*></h3>|', 'Comment title H3 element not found when title is an empty string.'); } @@ -76,7 +77,7 @@ public function testCommentPopulatedTitles() { // Confirm that the comment was created. $this->assertTrue($this->commentExists($comment1), 'Comment #1. Comment found.'); // Tests that markup is created for comment with heading. - $this->assertPattern('|<h3[^>]*><a[^>]*>' . $subject_text . '</a></h3>|', 'Comment title is rendered in h3 when title populated.'); + $this->assertPattern('|<h3[^>]*><a[^>]*>' . $subject_text . '</a></h3>|'); // Tests that the comment's title link is the permalink of the comment. $comment_permalink = $this->cssSelect('.permalink'); $comment_permalink = $comment_permalink[0]->getAttribute('href'); diff --git a/web/core/modules/comment/tests/src/Functional/CommentTypeTest.php b/web/core/modules/comment/tests/src/Functional/CommentTypeTest.php index b80a220ad46c63920b6b041e012aa2ffb14f4333..4dfd0ec346825818b23b3fe95b971862a2338417 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentTypeTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentTypeTest.php @@ -186,7 +186,7 @@ public function testCommentTypeDeletion() { $this->fail('Exception not thrown.'); } catch (\InvalidArgumentException $e) { - $this->pass('Exception thrown if attempting to re-use comment-type from another entity type.'); + // Expected exception; just continue testing. } // Delete the comment type. diff --git a/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php b/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php index 131752eb560822183dace56b2ef722a9b476c3aa..1f83529b3736c69c53ce2cc5b0c6d1eead86a0de 100644 --- a/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php +++ b/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php @@ -26,7 +26,7 @@ class NodeCommentsTest extends CommentTestBase { * * @var array */ - public static $testViews = ['test_new_comments']; + public static $testViews = ['test_new_comments', 'test_comment_count']; /** * Test the new comments field plugin. @@ -38,4 +38,30 @@ public function testNewComments() { $this->assertCount(1, $new_comments, 'Found the number of new comments for a certain node.'); } + /** + * Test the comment count field. + */ + public function testCommentCount() { + $this->drupalGet('test-comment-count'); + $this->assertSession()->statusCodeEquals(200); + $this->assertCount(2, $this->cssSelect('.views-row')); + $comment_count_with_comment = $this->cssSelect(".views-field-comment-count span:contains('1')"); + $this->assertCount(1, $comment_count_with_comment); + $comment_count_without_comment = $this->cssSelect(".views-field-comment-count span:contains('0')"); + $this->assertCount(1, $comment_count_without_comment); + + // Create a content type with no comment field, and add a node. + $this->drupalCreateContentType(['type' => 'no_comment', 'name' => t('No comment page')]); + $this->nodeUserPosted = $this->drupalCreateNode(['type' => 'no_comment']); + $this->drupalGet('test-comment-count'); + + // Test that the node with no comment field is also shown. + $this->assertSession()->statusCodeEquals(200); + $this->assertCount(3, $this->cssSelect('.views-row')); + $comment_count_with_comment = $this->cssSelect(".views-field-comment-count span:contains('1')"); + $this->assertCount(1, $comment_count_with_comment); + $comment_count_without_comment = $this->cssSelect(".views-field-comment-count span:contains('0')"); + $this->assertCount(2, $comment_count_without_comment); + } + } diff --git a/web/core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php b/web/core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php new file mode 100644 index 0000000000000000000000000000000000000000..5f203af6d5133075b24067298bcba50d5f279ce8 --- /dev/null +++ b/web/core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php @@ -0,0 +1,64 @@ +<?php + +namespace Drupal\Tests\comment\Kernel; + +use Drupal\comment\CommentInterface; +use Drupal\comment\Entity\Comment; +use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface; +use Drupal\comment_base_field_test\Entity\CommentTestBaseField; +use Drupal\Core\Language\LanguageInterface; +use Drupal\KernelTests\KernelTestBase; + +/** + * Tests that comment as a base field. + * + * @group comment + */ +class CommentBaseFieldTest extends KernelTestBase { + + /** + * {@inheritdoc} + */ + public static $modules = [ + 'system', + 'user', + 'comment', + 'comment_base_field_test', + ]; + + protected function setUp() { + parent::setUp(); + $this->installEntitySchema('comment_test_base_field'); + $this->installEntitySchema('comment'); + $this->installSchema('system', ['sequences']); + $this->installEntitySchema('user'); + } + + /** + * Tests comment as a base field. + */ + public function testCommentBaseField() { + // Verify entity creation. + $entity = CommentTestBaseField::create([ + 'name' => $this->randomMachineName(), + 'test_comment' => CommentItemInterface::OPEN, + ]); + $entity->save(); + + $comment = Comment::create([ + 'entity_id' => $entity->id(), + 'entity_type' => 'comment_test_base_field', + 'field_name' => 'test_comment', + 'pid' => 0, + 'uid' => 0, + 'status' => CommentInterface::PUBLISHED, + 'subject' => $this->randomMachineName(), + 'hostname' => '127.0.0.1', + 'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED, + 'comment_body' => [['value' => $this->randomMachineName()]], + ]); + $comment->save(); + $this->assertEquals('test_comment_type', $comment->bundle()); + } + +} diff --git a/web/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php b/web/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php index 6d72cfe53af3840aaa5b03dc273bd6db84d263f3..67b5cda21be8faa6db8dda7378d86355ac886863 100644 --- a/web/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php +++ b/web/core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php @@ -40,28 +40,23 @@ protected function setUp() { * Tests that comment fields cannot be added entities with non-integer IDs. */ public function testCommentFieldNonStringId() { - try { - $bundle = CommentType::create([ - 'id' => 'foo', - 'label' => 'foo', - 'description' => '', - 'target_entity_type_id' => 'entity_test_string_id', - ]); - $bundle->save(); - $field_storage = FieldStorageConfig::create([ - 'field_name' => 'foo', - 'entity_type' => 'entity_test_string_id', - 'settings' => [ - 'comment_type' => 'entity_test_string_id', - ], - 'type' => 'comment', - ]); - $field_storage->save(); - $this->fail('Did not throw an exception as expected.'); - } - catch (\UnexpectedValueException $e) { - $this->pass('Exception thrown when trying to create comment field on Entity Type with string ID.'); - } + $this->expectException(\UnexpectedValueException::class); + $bundle = CommentType::create([ + 'id' => 'foo', + 'label' => 'foo', + 'description' => '', + 'target_entity_type_id' => 'entity_test_string_id', + ]); + $bundle->save(); + $field_storage = FieldStorageConfig::create([ + 'field_name' => 'foo', + 'entity_type' => 'entity_test_string_id', + 'settings' => [ + 'comment_type' => 'entity_test_string_id', + ], + 'type' => 'comment', + ]); + $field_storage->save(); } } diff --git a/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php b/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php index a5b1bd6be88812340dda2f9b93fc9b74c4a7115b..0a41d4df0f6c313ed9ab82e05af538a972434c81 100644 --- a/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php +++ b/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php @@ -77,6 +77,7 @@ public function testMigration() { $this->assertEntity('book', 'comment_node_book', 2, 1, 50, 0, TRUE, 1); $this->assertEntity('forum', 'comment_forum', 2, 1, 50, 0, TRUE, 1); $this->assertEntity('test_content_type', 'comment_node_test_content_type', 2, 1, 30, 0, TRUE, 1); + $this->assertEntity('et', 'comment_node_et', 2, 1, 50, 0, FALSE, 1); } } diff --git a/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php b/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php index 2eaf4d4fc792df685ecd98edce108c4f4d97e87e..bb4e91bf48b79d203791a5024ce2dce70773de2d 100644 --- a/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php +++ b/web/core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php @@ -51,6 +51,7 @@ public function testMigration() { $this->assertEntity('comment_node_book'); $this->assertEntity('comment_forum'); $this->assertEntity('comment_node_test_content_type'); + $this->assertEntity('comment_node_et'); } } diff --git a/web/core/modules/config/src/Form/ConfigSingleImportForm.php b/web/core/modules/config/src/Form/ConfigSingleImportForm.php index 437a0a5f13005cc57b841f3888904532560118f2..33d2e328f7408002450dd5d1775fdf9f65c3a671 100644 --- a/web/core/modules/config/src/Form/ConfigSingleImportForm.php +++ b/web/core/modules/config/src/Form/ConfigSingleImportForm.php @@ -317,7 +317,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) { } // Validate for config entities. - if ($form_state->getValue('config_type') !== 'system.simple') { + if ($form_state->getValue('config_type') && $form_state->getValue('config_type') !== 'system.simple') { $definition = $this->entityTypeManager->getDefinition($form_state->getValue('config_type')); $id_key = $definition->getKey('id'); diff --git a/web/core/modules/config/tests/config_schema_test/config_schema_test.module b/web/core/modules/config/tests/config_schema_test/config_schema_test.module index 3ce1170222e1a2bcc3dd5472c03a2c429ea76570..1db8f8d13fe75a64d4cf2de5ada6037bd7b5ddb1 100644 --- a/web/core/modules/config/tests/config_schema_test/config_schema_test.module +++ b/web/core/modules/config/tests/config_schema_test/config_schema_test.module @@ -10,7 +10,7 @@ */ function config_schema_test_config_schema_info_alter(&$definitions) { if (\Drupal::state()->get('config_schema_test_exception_add')) { - $definitions['config_schema_test.hook_added_defintion'] = $definitions['config_schema_test.hook']; + $definitions['config_schema_test.hook_added_definition'] = $definitions['config_schema_test.hook']; } if (\Drupal::state()->get('config_schema_test_exception_remove')) { unset($definitions['config_schema_test.hook']); diff --git a/web/core/modules/config/tests/src/Functional/ConfigEntityTest.php b/web/core/modules/config/tests/src/Functional/ConfigEntityTest.php index cff042f7a830302b07c4e08e50d63e71d3640c89..8f375476a066725783edb3fb0909d737f1ddbbab 100644 --- a/web/core/modules/config/tests/src/Functional/ConfigEntityTest.php +++ b/web/core/modules/config/tests/src/Functional/ConfigEntityTest.php @@ -69,7 +69,7 @@ public function testCRUD() { $this->fail('EntityMalformedException was thrown.'); } catch (EntityMalformedException $e) { - $this->pass('EntityMalformedException was thrown.'); + // Expected exception; just continue testing. } // Verify that an empty entity cannot be saved. @@ -78,7 +78,7 @@ public function testCRUD() { $this->fail('EntityMalformedException was thrown.'); } catch (EntityMalformedException $e) { - $this->pass('EntityMalformedException was thrown.'); + // Expected exception; just continue testing. } // Verify that an entity with an empty ID string is considered empty, too. @@ -91,7 +91,7 @@ public function testCRUD() { $this->fail('EntityMalformedException was thrown.'); } catch (EntityMalformedException $e) { - $this->pass('EntityMalformedException was thrown.'); + // Expected exception; just continue testing. } // Verify properties on a newly created entity. @@ -116,7 +116,6 @@ public function testCRUD() { // Verify that the entity can be saved. try { $status = $config_test->save(); - $this->pass('EntityMalformedException was not thrown.'); } catch (EntityMalformedException $e) { $this->fail('EntityMalformedException was not thrown.'); @@ -151,9 +150,6 @@ public function testCRUD() { ]); try { $id_length_config_test->save(); - $this->pass(new FormattableMarkup("config_test entity with ID length @length was saved.", [ - '@length' => strlen($id_length_config_test->id()), - ])); } catch (ConfigEntityIdLengthException $e) { $this->fail($e->getMessage()); @@ -165,9 +161,6 @@ public function testCRUD() { ]); try { $id_length_config_test->save(); - $this->pass(new FormattableMarkup("config_test entity with ID length @length was saved.", [ - '@length' => strlen($id_length_config_test->id()), - ])); } catch (ConfigEntityIdLengthException $e) { $this->fail($e->getMessage()); @@ -185,10 +178,7 @@ public function testCRUD() { ])); } catch (ConfigEntityIdLengthException $e) { - $this->pass(new FormattableMarkup("config_test entity with ID length @length exceeding the maximum allowed length of @max failed to save", [ - '@length' => strlen($id_length_config_test->id()), - '@max' => static::MAX_ID_LENGTH, - ])); + // Expected exception; just continue testing. } // Ensure that creating an entity with the same id as an existing one is not @@ -202,7 +192,7 @@ public function testCRUD() { $this->fail('Not possible to overwrite an entity entity.'); } catch (EntityStorageException $e) { - $this->pass('Not possible to overwrite an entity entity.'); + // Expected exception; just continue testing. } // Verify that renaming the ID returns correct status and properties. diff --git a/web/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php b/web/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php index f5f1fa87ec53c3506cfbc76f8a1425de3a259e07..8f3229b7c70e0d3bf419c63756692d5cfc37ebe9 100644 --- a/web/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php +++ b/web/core/modules/config/tests/src/Functional/ConfigSingleImportExportTest.php @@ -231,6 +231,10 @@ public function testImportSimpleConfiguration() { $this->drupalPostForm('admin/config/development/configuration/single/import', $edit, t('Import')); $this->assertText(t('Can not uninstall the Configuration module as part of a configuration synchronization through the user interface.')); + // Try to import without any values. + $this->drupalPostForm('admin/config/development/configuration/single/import', [], t('Import')); + $this->assertText('Configuration type field is required.'); + $this->assertText('Paste your configuration here field is required.'); } /** diff --git a/web/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php b/web/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php index 588db76a331e34473579d364da8d17046e597025..2ea5a8ff2d989efdadf7b6d05e91fcd0954caaad 100644 --- a/web/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php +++ b/web/core/modules/config/tests/src/Functional/SchemaConfigListenerWebTest.php @@ -29,38 +29,32 @@ public function testConfigSchemaChecker() { $this->drupalLogin($this->drupalCreateUser(['administer site configuration'])); // Test a non-existing schema. - $msg = 'Expected SchemaIncompleteException thrown'; try { $this->config('config_schema_test.schemaless')->set('foo', 'bar')->save(); - $this->fail($msg); + $this->fail('Expected SchemaIncompleteException thrown'); } catch (SchemaIncompleteException $e) { - $this->pass($msg); $this->assertEquals('No schema for config_schema_test.schemaless', $e->getMessage()); } // Test a valid schema. - $msg = 'Unexpected SchemaIncompleteException thrown'; $config = $this->config('config_test.types')->set('int', 10); try { $config->save(); - $this->pass($msg); } catch (SchemaIncompleteException $e) { - $this->fail($msg); + $this->fail('Unexpected SchemaIncompleteException thrown'); } // Test an invalid schema. - $msg = 'Expected SchemaIncompleteException thrown'; $config = $this->config('config_test.types') ->set('foo', 'bar') ->set('array', 1); try { $config->save(); - $this->fail($msg); + $this->fail('Expected SchemaIncompleteException thrown'); } catch (SchemaIncompleteException $e) { - $this->pass($msg); $this->assertEquals('Schema errors for config_test.types with the following errors: config_test.types:array variable type is integer but applied schema class is Drupal\Core\Config\Schema\Sequence, config_test.types:foo missing schema', $e->getMessage()); } diff --git a/web/core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php b/web/core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php index 3affab6acd6054c1c2f285c45c6c6aac9f33913c..bf49573db06a421312e5130a13121422ea6d6a21 100644 --- a/web/core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php +++ b/web/core/modules/content_moderation/src/Plugin/views/ModerationStateJoinViewsHandlerTrait.php @@ -35,6 +35,10 @@ public function ensureMyTable() { 'field' => 'content_entity_type_id', 'value' => $left_entity_type->id(), ], + [ + 'field' => 'content_entity_id', + 'left_field' => $left_entity_type->getKey('id'), + ], ], ]; if ($left_entity_type->isTranslatable()) { diff --git a/web/core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php b/web/core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php index 5b705f3966860d577a6b2e7236d3dc5b81c1aea8..69309f00d3c8b9ff07ada7a193acbc5d8a2d55b7 100644 --- a/web/core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php +++ b/web/core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php @@ -137,7 +137,7 @@ protected function opSimple() { // If we have a list of moderated bundles, restrict the query to show only // entities in those bundles. if ($moderated_bundles) { - $entity_base_table_alias = $this->table; + $entity_base_table_alias = $this->relationship ?: $this->table; // The bundle field of an entity type is not revisionable so we need to // join the base table. diff --git a/web/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_filter_via_relationship.yml b/web/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_filter_via_relationship.yml new file mode 100644 index 0000000000000000000000000000000000000000..6e1362814ce997d55e7f7dfa45189dbe87322ac6 --- /dev/null +++ b/web/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_filter_via_relationship.yml @@ -0,0 +1,348 @@ +langcode: en +status: true +dependencies: + module: + - content_moderation + - node + - user +id: test_content_moderation_filter_via_relationship +label: test_content_moderation_filter_via_relationship +module: views +description: '' +tag: '' +base_table: users_field_data +base_field: uid +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'access user profiles' + cache: + type: tag + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: false + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: none + options: + offset: 0 + style: + type: default + row: + type: fields + fields: + name: + id: name + table: users_field_data + field: name + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: user_name + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: user + entity_field: name + plugin_id: field + title: + id: title + table: node_field_data + field: title + relationship: uid + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: title + plugin_id: field + moderation_state: + id: moderation_state + table: node_field_data + field: moderation_state + relationship: uid + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: content_moderation_state + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + plugin_id: moderation_state_field + filters: + moderation_state: + id: moderation_state + table: node_field_data + field: moderation_state + relationship: uid + group_type: group + admin_label: '' + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: moderation_state_op + label: 'Moderation state' + description: '' + use_operator: false + operator: moderation_state_op + identifier: moderation_state + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + plugin_id: moderation_state_filter + sorts: + vid: + id: vid + table: node_field_data + field: vid + relationship: uid + group_type: group + admin_label: '' + order: ASC + exposed: false + expose: + label: '' + entity_type: node + entity_field: vid + plugin_id: standard + title: test_content_moderation_filter_via_relationship + header: { } + footer: { } + empty: { } + relationships: + uid: + id: uid + table: users_field_data + field: uid + relationship: none + group_type: group + admin_label: nodes + required: true + entity_type: user + entity_field: uid + plugin_id: standard + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - user.permissions + tags: + - 'config:workflow_list' + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: test-content-moderation-filter-relationship + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - user.permissions + tags: + - 'config:workflow_list' diff --git a/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationAccessTest.php b/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationAccessTest.php index 5531b2f3fbf437a5ea70ae0a069cfd674c6af4d0..817cbc9b176625ee23aab93824f8bd0951b262aa 100644 --- a/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationAccessTest.php +++ b/web/core/modules/content_moderation/tests/src/Kernel/ContentModerationAccessTest.php @@ -61,7 +61,7 @@ protected function setUp() { /** * Tests access cacheability. */ - public function testAccessCacheablity() { + public function testAccessCacheability() { $node = $this->createNode(['type' => 'page']); /** @var \Drupal\user\RoleInterface $authenticated */ diff --git a/web/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php b/web/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php index 671b5ddc8739ec9ee9e9a2c57b277207ca6127bc..13f9c688de8fa48a566ca13eb2b7dc78d5633e72 100644 --- a/web/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php +++ b/web/core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php @@ -7,6 +7,7 @@ use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; use Drupal\Tests\content_moderation\Traits\ContentModerationTestTrait; +use Drupal\Tests\user\Traits\UserCreationTrait; use Drupal\Tests\views\Kernel\ViewsKernelTestBase; use Drupal\views\Views; use Drupal\workflows\Entity\Workflow; @@ -21,6 +22,7 @@ class ViewsModerationStateFilterTest extends ViewsKernelTestBase { use ContentModerationTestTrait; + use UserCreationTrait; /** * {@inheritdoc} @@ -183,6 +185,52 @@ public function testNonTranslatableEntityType() { $this->assertIdenticalResultset($view, [['id' => $test_entity->id()]], ['id' => 'id']); } + /** + * Tests the moderation state filter on an entity added via a relationship. + */ + public function testModerationStateFilterOnJoinedEntity() { + $workflow = Workflow::load('editorial'); + $workflow->getTypePlugin()->addEntityTypeAndBundle('node', 'example'); + $workflow->save(); + + // Create some sample content that will satisfy a view of users with a + // relationship to an item of content. + $user = $this->createUser([], 'Test user'); + $node = Node::create([ + 'type' => 'example', + 'title' => 'Test node', + 'moderation_state' => 'published', + 'uid' => $user->id(), + ]); + $node->save(); + + // When filtering by published nodes, the sample content will appear. + $view = Views::getView('test_content_moderation_filter_via_relationship'); + $view->setExposedInput([ + 'moderation_state' => 'editorial-published', + ]); + $view->execute(); + $this->assertIdenticalResultset($view, [ + [ + 'name' => 'Test user', + 'title' => 'Test node', + 'moderation_state' => 'published', + ], + ], [ + 'name' => 'name', + 'title' => 'title', + 'moderation_state' => 'moderation_state', + ]); + + // Filtering by the draft state will filter out the sample content. + $view = Views::getView('test_content_moderation_filter_via_relationship'); + $view->setExposedInput([ + 'moderation_state' => 'editorial-draft', + ]); + $view->execute(); + $this->assertIdenticalResultset($view, [], ['name' => 'name']); + } + /** * Tests the list of states in the filter plugin. */ @@ -297,8 +345,11 @@ protected function assertNodesWithFilters(array $nodes, array $filters, $view_id $this->assertEquals('vid', $configuration['left_field']); $this->assertEquals('content_entity_type_id', $configuration['extra'][0]['field']); $this->assertEquals('node', $configuration['extra'][0]['value']); - $this->assertEquals('langcode', $configuration['extra'][1]['field']); - $this->assertEquals('langcode', $configuration['extra'][1]['left_field']); + + $this->assertEquals('content_entity_id', $configuration['extra'][1]['field']); + $this->assertEquals('nid', $configuration['extra'][1]['left_field']); + $this->assertEquals('langcode', $configuration['extra'][2]['field']); + $this->assertEquals('langcode', $configuration['extra'][2]['left_field']); $expected_result = []; foreach ($nodes as $node) { diff --git a/web/core/modules/content_translation/content_translation.module b/web/core/modules/content_translation/content_translation.module index 10f546dfd52e56c5b592c2f6eb8efb31767752e5..b007b5543885e095e8902cb0a225c9e62dacecca 100644 --- a/web/core/modules/content_translation/content_translation.module +++ b/web/core/modules/content_translation/content_translation.module @@ -9,6 +9,7 @@ use Drupal\content_translation\BundleTranslationSettingsInterface; use Drupal\content_translation\ContentTranslationManager; use Drupal\Core\Access\AccessResult; +use Drupal\Core\Cache\CacheableMetadata; use Drupal\Core\Entity\ContentEntityFormInterface; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityInterface; @@ -656,6 +657,7 @@ function content_translation_preprocess_language_content_settings_table(&$variab * Implements hook_page_attachments(). */ function content_translation_page_attachments(&$page) { + $cache = CacheableMetadata::createFromRenderArray($page); $route_match = \Drupal::routeMatch(); // If the current route has no parameters, return. @@ -673,6 +675,13 @@ function content_translation_page_attachments(&$page) { if ($entity instanceof ContentEntityInterface && $entity->hasLinkTemplate('canonical')) { // Current route represents a content entity. Build hreflang links. foreach ($entity->getTranslationLanguages() as $language) { + // Skip any translation that cannot be viewed. + $translation = $entity->getTranslation($language->getId()); + $access = $translation->access('view', NULL, TRUE); + $cache->addCacheableDependency($access); + if (!$access->isAllowed()) { + continue; + } $url = $entity->toUrl('canonical') ->setOption('language', $language) ->setAbsolute() @@ -688,6 +697,8 @@ function content_translation_page_attachments(&$page) { } } // Since entity was found, no need to iterate further. - return; + break; } + // Apply updated caching information. + $cache->applyTo($page); } diff --git a/web/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php b/web/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php index f763c49a514492df2aecf03c34fcc23060db78a9..9bf8e0ee9351324ba1d362b34fad0ffdab5f0dce 100644 --- a/web/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php +++ b/web/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php @@ -37,7 +37,8 @@ public function testDateTimeSchema() { $view = Views::getView('test_filter_datetime'); $view->initHandlers(); $filters = $view->displayHandlers->get('default')->getOption('filters'); - $filters['field_date_value']['type'] = 'Date'; + $filters['field_date_value']['type'] = 'date'; + $view->displayHandlers->get('default')->overrideOption('filters', $filters); $view->save(); $this->assertConfigSchemaByName('views.view.test_filter_datetime'); diff --git a/web/core/modules/editor/tests/src/Functional/EditorSecurityTest.php b/web/core/modules/editor/tests/src/Functional/EditorSecurityTest.php index c6bd6495b5f9757aa1e30747e21a9abf798c851d..4f5b50b46fcc8bd70603e02d888c8f770324908c 100644 --- a/web/core/modules/editor/tests/src/Functional/EditorSecurityTest.php +++ b/web/core/modules/editor/tests/src/Functional/EditorSecurityTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\editor\Functional; -use Drupal\Component\Render\FormattableMarkup; use Drupal\Component\Serialization\Json; use Drupal\editor\Entity\Editor; use Drupal\filter\Entity\FilterFormat; @@ -282,10 +281,6 @@ public function testInitialSecurity() { // Log in as each user that may edit the content, and assert the value. foreach ($expected as $case) { foreach ($case['users'] as $account) { - $this->pass(new FormattableMarkup('Scenario: sample %sample_id, %format.', [ - '%sample_id' => $case['node_id'], - '%format' => $case['format'], - ])); $this->drupalLogin($account); $this->drupalGet('node/' . $case['node_id'] . '/edit'); $dom_node = $this->xpath('//textarea[@id="edit-body-0-value"]'); @@ -407,12 +402,6 @@ public function testSwitchingSecurity() { // Switch to every other text format/editor and verify the results. foreach ($case['switch_to'] as $format => $expected_filtered_value) { - $this->pass(new FormattableMarkup('Scenario: sample %sample_id, switch from %original_format to %format.', [ - '%sample_id' => $case['node_id'], - '%original_format' => $case['format'], - '%format' => $format, - ])); - $post = [ 'value' => self::$sampleContent, 'original_format_id' => $case['format'], diff --git a/web/core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php b/web/core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php index f9bdcfa9dfdc9c46de9038641ad2d05b42d37c02..4912904dcbfdcbff70bc070ea6872672e6d53548 100644 --- a/web/core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php +++ b/web/core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php @@ -71,44 +71,44 @@ public function testEditorFileReferenceFilter() { $uuid_2 = $image_2->uuid(); $cache_tag_2 = ['file:' . $id_2]; - $this->pass('No data-entity-type and no data-entity-uuid attribute.'); + // No data-entity-type and no data-entity-uuid attribute. $input = '<img src="llama.jpg" />'; $output = $test($input); $this->assertIdentical($input, $output->getProcessedText()); - $this->pass('A non-file data-entity-type attribute value.'); + // A non-file data-entity-type attribute value. $input = '<img src="llama.jpg" data-entity-type="invalid-entity-type-value" data-entity-uuid="' . $uuid . '" />'; $output = $test($input); $this->assertIdentical($input, $output->getProcessedText()); - $this->pass('One data-entity-uuid attribute.'); + // One data-entity-uuid attribute. $input = '<img src="llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $expected_output = '<img src="/' . $this->siteDirectory . '/files/llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $output = $test($input); $this->assertIdentical($expected_output, $output->getProcessedText()); $this->assertEqual($cache_tag, $output->getCacheTags()); - $this->pass('One data-entity-uuid attribute with odd capitalization.'); + // One data-entity-uuid attribute with odd capitalization. $input = '<img src="llama.jpg" data-entity-type="file" DATA-entity-UUID = "' . $uuid . '" />'; $expected_output = '<img src="/' . $this->siteDirectory . '/files/llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $output = $test($input); $this->assertIdentical($expected_output, $output->getProcessedText()); $this->assertEqual($cache_tag, $output->getCacheTags()); - $this->pass('One data-entity-uuid attribute on a non-image tag.'); + // One data-entity-uuid attribute on a non-image tag. $input = '<video src="llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $expected_output = '<video src="/' . $this->siteDirectory . '/files/llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '"></video>'; $output = $test($input); $this->assertIdentical($expected_output, $output->getProcessedText()); $this->assertEqual($cache_tag, $output->getCacheTags()); - $this->pass('One data-entity-uuid attribute with an invalid value.'); + // One data-entity-uuid attribute with an invalid value. $input = '<img src="llama.jpg" data-entity-type="file" data-entity-uuid="invalid-' . $uuid . '" />'; $output = $test($input); $this->assertIdentical($input, $output->getProcessedText()); $this->assertEqual([], $output->getCacheTags()); - $this->pass('Two different data-entity-uuid attributes.'); + // Two different data-entity-uuid attributes. $input = '<img src="llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $input .= '<img src="alpaca.jpg" data-entity-type="file" data-entity-uuid="' . $uuid_2 . '" />'; $expected_output = '<img src="/' . $this->siteDirectory . '/files/llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; @@ -117,7 +117,7 @@ public function testEditorFileReferenceFilter() { $this->assertIdentical($expected_output, $output->getProcessedText()); $this->assertEqual(Cache::mergeTags($cache_tag, $cache_tag_2), $output->getCacheTags()); - $this->pass('Two identical data-entity-uuid attributes.'); + // Two identical data-entity-uuid attributes. $input = '<img src="llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $input .= '<img src="llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; $expected_output = '<img src="/' . $this->siteDirectory . '/files/llama.jpg" data-entity-type="file" data-entity-uuid="' . $uuid . '" />'; diff --git a/web/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml b/web/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml index cbeda581de89f35ffddd94b7e484822e9192f11f..d597bae008132d6951a66707d61adb6bc2055432 100644 --- a/web/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml +++ b/web/core/modules/field/tests/modules/field_test_views/test_views/views.view.test_view_fieldapi.yml @@ -57,6 +57,15 @@ display: type: default row: type: fields + sorts: + nid: + id: nid + table: node_field_data + field: nid + order: ASC + plugin_id: field + entity_type: node + entity_field: nid display_plugin: default display_title: Master id: default diff --git a/web/core/modules/field/tests/src/Functional/FormTest.php b/web/core/modules/field/tests/src/Functional/FormTest.php index 48613f13827e5f2166885c4ce8632bc2c23fee8a..83359207334a4331056367770375a9a6fdd1af57 100644 --- a/web/core/modules/field/tests/src/Functional/FormTest.php +++ b/web/core/modules/field/tests/src/Functional/FormTest.php @@ -311,7 +311,8 @@ public function testFieldFormUnlimited() { } ksort($pattern); $pattern = implode('.*', array_values($pattern)); - $this->assertPattern("|$pattern|s", 'Widgets are displayed in the correct order'); + // Verify that the widgets are displayed in the correct order. + $this->assertPattern("|$pattern|s"); $this->assertFieldByName("{$field_name}[$delta][value]", '', "New widget is displayed"); $this->assertFieldByName("{$field_name}[$delta][_weight]", $delta, "New widget has the right weight"); $this->assertNoField("{$field_name}[" . ($delta + 1) . '][value]', 'No extraneous widget is displayed'); diff --git a/web/core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php b/web/core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php index cd79d843a088f4edd5533714e161bb079740d9cd..1a8cc22c48b080039af289e2a414b1809eeef309 100644 --- a/web/core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php +++ b/web/core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php @@ -90,15 +90,10 @@ public function testColumnUpdate() { // Now attempt to run automatic updates. An exception should be thrown // since there is data in the table. - try { - $entity_definition_update_manager = \Drupal::entityDefinitionUpdateManager(); - $field_storage_definition = $entity_definition_update_manager->getFieldStorageDefinition('test', 'entity_test_rev'); - $entity_definition_update_manager->updateFieldStorageDefinition($field_storage_definition); - $this->fail('Failed to detect a schema change in a field with data.'); - } - catch (FieldStorageDefinitionUpdateForbiddenException $e) { - $this->pass('Detected a schema change in a field with data.'); - } + $this->expectException(FieldStorageDefinitionUpdateForbiddenException::class); + $entity_definition_update_manager = \Drupal::entityDefinitionUpdateManager(); + $field_storage_definition = $entity_definition_update_manager->getFieldStorageDefinition('test', 'entity_test_rev'); + $entity_definition_update_manager->updateFieldStorageDefinition($field_storage_definition); } } diff --git a/web/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php b/web/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php index 34d508787bcd2a2be905be3b97ca7a92ce74ae6c..8b75b161bbddecb3461d1f2b9417846be2b5b5ef 100644 --- a/web/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php +++ b/web/core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php @@ -187,8 +187,8 @@ public function testContentEntityReferenceItem() { $entity->field_test_taxonomy_term = ['target_id' => 'invalid', 'entity' => $term2]; $this->fail('Assigning an invalid item throws an exception.'); } - catch (\InvalidArgumentException $e) { - $this->pass('Assigning an invalid item throws an exception.'); + catch (\Exception $e) { + $this->assertInstanceOf(\InvalidArgumentException::class, $e); } // Delete terms so we have nothing to reference and try again diff --git a/web/core/modules/field/tests/src/Kernel/FieldCrudTest.php b/web/core/modules/field/tests/src/Kernel/FieldCrudTest.php index 0dd55a866d192d2ac9fef1fd29c2d7b02cb3ff88..d94d2976ffc3549eeb1868c85cb8e5cf4a357e3c 100644 --- a/web/core/modules/field/tests/src/Kernel/FieldCrudTest.php +++ b/web/core/modules/field/tests/src/Kernel/FieldCrudTest.php @@ -103,7 +103,7 @@ public function testCreateField() { $this->fail('Cannot create two fields with the same field / bundle combination.'); } catch (EntityStorageException $e) { - $this->pass('Cannot create two fields with the same field / bundle combination.'); + // Expected exception; just continue testing. } // Check that the specified field exists. @@ -113,7 +113,7 @@ public function testCreateField() { $this->fail('Cannot create a field with a non-existing storage.'); } catch (FieldException $e) { - $this->pass('Cannot create a field with a non-existing storage.'); + // Expected exception; just continue testing. } // TODO: test other failures. diff --git a/web/core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php b/web/core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php index f3d7455c6551729254d0af24f406dde1c218778b..79535c4033b7038b8a2095a76654d1424b828958 100644 --- a/web/core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php +++ b/web/core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php @@ -65,46 +65,25 @@ public function testFieldPluginDefinitionIntegrity() { foreach ($field_type_manager->getDefinitions() as $definition) { // Test default field widgets. if (isset($definition['default_widget'])) { - if (in_array($definition['default_widget'], $available_field_widget_ids)) { - $this->pass(sprintf('Field type %s uses an existing field widget by default.', $definition['id'])); - } - else { - $this->fail(sprintf('Field type %s uses a non-existent field widget by default: %s', $definition['id'], $definition['default_widget'])); - } + $this->assertContains($definition['default_widget'], $available_field_widget_ids, sprintf('Field type %s uses a non-existent field widget by default: %s', $definition['id'], $definition['default_widget'])); } // Test default field formatters. if (isset($definition['default_formatter'])) { - if (in_array($definition['default_formatter'], $available_field_formatter_ids)) { - $this->pass(sprintf('Field type %s uses an existing field formatter by default.', $definition['id'])); - } - else { - $this->fail(sprintf('Field type %s uses a non-existent field formatter by default: %s', $definition['id'], $definition['default_formatter'])); - } + $this->assertContains($definition['default_formatter'], $available_field_formatter_ids, sprintf('Field type %s uses a non-existent field formatter by default: %s', $definition['id'], $definition['default_formatter'])); } } // Test the field widget plugins. foreach ($field_widget_manager->getDefinitions() as $definition) { $missing_field_type_ids = array_diff($definition['field_types'], $available_field_type_ids); - if ($missing_field_type_ids) { - $this->fail(sprintf('Field widget %s integrates with non-existent field types: %s', $definition['id'], implode(', ', $missing_field_type_ids))); - } - else { - $this->pass(sprintf('Field widget %s integrates with existing field types.', $definition['id'])); - } + $this->assertEmpty($missing_field_type_ids, sprintf('Field widget %s integrates with non-existent field types: %s', $definition['id'], implode(', ', $missing_field_type_ids))); } // Test the field formatter plugins. foreach ($field_formatter_manager->getDefinitions() as $definition) { $missing_field_type_ids = array_diff($definition['field_types'], $available_field_type_ids); - if ($missing_field_type_ids) { - $this->fail(sprintf('Field formatter %s integrates with non-existent field types: %s', $definition['id'], implode(', ', $missing_field_type_ids))); - } - else { - $this->pass(sprintf('Field formatter %s integrates with existing field types.', $definition['id'])); - } - + $this->assertEmpty($missing_field_type_ids, sprintf('Field formatter %s integrates with non-existent field types: %s', $definition['id'], implode(', ', $missing_field_type_ids))); } } diff --git a/web/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php b/web/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php index 738b4ef7dc86b34b7672830b148c268bfa65d4bf..a99bcd0a2cb164e03cb7e2fda2199309a45baddb 100644 --- a/web/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php +++ b/web/core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php @@ -80,8 +80,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create two fields with the same name.'); } - catch (EntityStorageException $e) { - $this->pass('Cannot create two fields with the same name.'); + catch (\Exception $e) { + $this->assertInstanceOf(EntityStorageException::class, $e); } // Check that field type is required. @@ -93,8 +93,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create a field with no type.'); } - catch (FieldException $e) { - $this->pass('Cannot create a field with no type.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } // Check that field name is required. @@ -106,8 +106,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create an unnamed field.'); } - catch (FieldException $e) { - $this->pass('Cannot create an unnamed field.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } // Check that entity type is required. try { @@ -118,8 +118,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create a field without an entity type.'); } - catch (FieldException $e) { - $this->pass('Cannot create a field without an entity type.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } // Check that field name must start with a letter or _. @@ -132,8 +132,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create a field with a name starting with a digit.'); } - catch (FieldException $e) { - $this->pass('Cannot create a field with a name starting with a digit.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } // Check that field name must only contain lowercase alphanumeric or _. @@ -146,8 +146,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create a field with a name containing an illegal character.'); } - catch (FieldException $e) { - $this->pass('Cannot create a field with a name containing an illegal character.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } // Check that field name cannot be longer than 32 characters long. @@ -160,8 +160,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create a field with a name longer than 32 characters.'); } - catch (FieldException $e) { - $this->pass('Cannot create a field with a name longer than 32 characters.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } // Check that field name can not be an entity key. @@ -175,8 +175,8 @@ public function testCreate() { FieldStorageConfig::create($field_storage_definition)->save(); $this->fail('Cannot create a field bearing the name of an entity key.'); } - catch (FieldException $e) { - $this->pass('Cannot create a field bearing the name of an entity key.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } } @@ -380,8 +380,8 @@ public function testUpdateFieldType() { $field_storage->save(); $this->fail('Cannot update a field to a different type.'); } - catch (FieldException $e) { - $this->pass('Cannot update a field to a different type.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldException::class, $e); } } @@ -480,7 +480,6 @@ public function testUpdateForbid() { $field_storage->setSetting('changeable', $field_storage->getSetting('changeable') + 1); try { $field_storage->save(); - $this->pass('A changeable setting can be updated.'); } catch (FieldStorageDefinitionUpdateForbiddenException $e) { $this->fail('An unchangeable setting cannot be updated.'); @@ -490,8 +489,8 @@ public function testUpdateForbid() { $field_storage->save(); $this->fail('An unchangeable setting can be updated.'); } - catch (FieldStorageDefinitionUpdateForbiddenException $e) { - $this->pass('An unchangeable setting cannot be updated.'); + catch (\Exception $e) { + $this->assertInstanceOf(FieldStorageDefinitionUpdateForbiddenException::class, $e); } } diff --git a/web/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php b/web/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php index d53aa992c0f882f4e2df4ec2225fa10b2d2639e4..49a30f8b4dc827f9ce61977173b50d3fde2ebd92 100644 --- a/web/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php +++ b/web/core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php @@ -638,14 +638,13 @@ public function testComponentDependencies() { $this->assertTrue($form_display->get('hidden')[$field_name]); // The correct warning message has been logged. $arguments = ['@display' => (string) t('Entity form display'), '@id' => $form_display->id(), '@name' => $field_name]; - $logged = (bool) Database::getConnection()->select('watchdog', 'w') - ->fields('w', ['wid']) + $variables = Database::getConnection()->select('watchdog', 'w') + ->fields('w', ['variables']) ->condition('type', 'system') ->condition('message', "@display '@id': Component '@name' was disabled because its settings depend on removed dependencies.") - ->condition('variables', serialize($arguments)) ->execute() - ->fetchAll(); - $this->assertTrue($logged); + ->fetchField(); + $this->assertEquals($arguments, unserialize($variables)); } /** diff --git a/web/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php b/web/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php index 4ee95841b1d13280e349b870f1046d918a713a95..6c99e30bd1d876e700522ba3d8805c2764cae03e 100644 --- a/web/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php +++ b/web/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php @@ -31,7 +31,7 @@ public function testTransformAltTitle() { $options = [ 'alt' => 'Foobaz', - 'title' => 'Wambooli', + 'title' => 'Bar', ]; $value = [ 'fid' => 1, @@ -45,7 +45,7 @@ public function testTransformAltTitle() { 'display' => TRUE, 'description' => '', 'alt' => 'Foobaz', - 'title' => 'Wambooli', + 'title' => 'Bar', ]; $this->assertSame($expected, $transformed); } diff --git a/web/core/modules/filter/src/Plugin/migrate/process/FilterID.php b/web/core/modules/filter/src/Plugin/migrate/process/FilterID.php index 8358cd626004c7b1b1f42686ab84ce477783bc3b..a58bea0367f8e5c0d76fd6e76f41ed86ff4993f7 100644 --- a/web/core/modules/filter/src/Plugin/migrate/process/FilterID.php +++ b/web/core/modules/filter/src/Plugin/migrate/process/FilterID.php @@ -234,7 +234,7 @@ protected static function getSourceFilterType($filter_id) { return FilterInterface::TYPE_HTML_RESTRICTOR; // https://www.drupal.org/project/entity_embed - case 'emtity_embed': + case 'entity_embed': return FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE; case 'filter_align': diff --git a/web/core/modules/filter/tests/src/Functional/FilterFormTest.php b/web/core/modules/filter/tests/src/Functional/FilterFormTest.php index 3eb5ae3f83799aa797107ef2f1f6200ae80ca761..22bc6d7fb2de15ac406a31b54c0f7d9e5ac3621c 100644 --- a/web/core/modules/filter/tests/src/Functional/FilterFormTest.php +++ b/web/core/modules/filter/tests/src/Functional/FilterFormTest.php @@ -207,10 +207,6 @@ protected function assertOptions($id, array $expected_options, $selected) { foreach ($found_options as $found_key => $found_option) { $expected_key = array_search($found_option->getValue(), $expected_options); if ($expected_key !== FALSE) { - $this->pass(new FormattableMarkup('Option @option for field @id exists.', [ - '@option' => $expected_options[$expected_key], - '@id' => $id, - ])); unset($found_options[$found_key]); unset($expected_options[$expected_key]); } diff --git a/web/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php b/web/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php index 7588d2378abfd37cc549b664c7bda381a630e505..0522ca26c5d46362c9c9cf12fa5ae7a6bc98b57c 100644 --- a/web/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php +++ b/web/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php @@ -2,8 +2,11 @@ namespace Drupal\Tests\filter\Kernel\Migrate\d7; +use Drupal\Core\Database\Database; use Drupal\filter\Entity\FilterFormat; use Drupal\filter\FilterFormatInterface; +use Drupal\KernelTests\KernelTestBase; +use Drupal\Tests\migrate\Kernel\MigrateDumpAlterInterface; use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase; /** @@ -11,7 +14,7 @@ * * @group filter */ -class MigrateFilterFormatTest extends MigrateDrupal7TestBase { +class MigrateFilterFormatTest extends MigrateDrupal7TestBase implements MigrateDumpAlterInterface { /** * {@inheritdoc} @@ -27,6 +30,30 @@ protected function setUp() { $this->executeMigration('d7_filter_format'); } + /** + * {@inheritdoc} + */ + public static function migrateDumpAlter(KernelTestBase $test) { + $db = Database::getConnection('default', 'migrate'); + $fields = [ + 'format' => 'image_resize_filter', + 'name' => 'Image resize', + 'cache' => '1', + 'status' => '1', + 'weight' => '0', + ]; + $db->insert('filter_format')->fields($fields)->execute(); + $fields = [ + 'format' => 'image_resize_filter', + 'module' => 'filter', + 'name' => 'image_resize_filter', + 'weight' => '0', + 'status' => '1', + 'settings' => serialize([]), + ]; + $db->insert('filter')->fields($fields)->execute(); + } + /** * Asserts various aspects of a filter format entity. * @@ -80,6 +107,22 @@ public function testFilterFormat() { // The disabled php_code format gets migrated, but the php_code filter is // changed to filter_null. $this->assertEntity('php_code', 'PHP code', ['filter_null' => 0], 11, FALSE); + + // Test a non-existent format. + $this->assertEntity('image_resize_filter', 'Image resize', [], 0, TRUE); + + // For each filter that does not exist on the destination, there should be + // a log message. + $migration = $this->getMigration('d7_filter_format'); + $errors = array_map(function ($message) { + return $message->message; + }, iterator_to_array($migration->getIdMap()->getMessages())); + $this->assertCount(2, $errors); + sort($errors); + $message = 'Filter image_resize_filter could not be mapped to an existing filter plugin; omitted since it is a transformation-only filter. Install and configure a successor after the migration.'; + $this->assertEquals($errors[0], $message); + $message = ('Filter php_code could not be mapped to an existing filter plugin; defaulting to filter_null and dropping all settings. Either redo the migration with the module installed that provides an equivalent filter, or modify the text format after the migration to remove this filter if it is no longer necessary.'); + $this->assertEquals($errors[1], $message); } } diff --git a/web/core/modules/hal/tests/src/Kernel/DenormalizeTest.php b/web/core/modules/hal/tests/src/Kernel/DenormalizeTest.php index 320ab65a5c30195a91b46d3f55cf4e4da1af9cc1..2e89767df4a02a32cde05c51941af110f5aef4a2 100644 --- a/web/core/modules/hal/tests/src/Kernel/DenormalizeTest.php +++ b/web/core/modules/hal/tests/src/Kernel/DenormalizeTest.php @@ -58,7 +58,7 @@ public function testTypeHandling() { $this->fail('Exception should be thrown when type is invalid.'); } catch (UnexpectedValueException $e) { - $this->pass('Exception thrown when type is invalid.'); + // Expected exception; just continue testing. } // No type. @@ -70,7 +70,7 @@ public function testTypeHandling() { $this->fail('Exception should be thrown when no type is provided.'); } catch (UnexpectedValueException $e) { - $this->pass('Exception thrown when no type is provided.'); + // Expected exception; just continue testing. } } diff --git a/web/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php b/web/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php index 53ae63455dec8e6387ced72976a0eec7441c16ff..f35914183c6ef201747169bd77fd930a944bcee4 100644 --- a/web/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php +++ b/web/core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageCacheTest.php @@ -35,15 +35,10 @@ public function testMissingTable() { ->condition('type', 'module') ->execute(); - try { - $this->getMigration('d6_imagecache_presets') - ->getSourcePlugin() - ->checkRequirements(); - $this->fail('Did not catch expected RequirementsException.'); - } - catch (RequirementsException $e) { - $this->pass('Caught expected RequirementsException: ' . $e->getMessage()); - } + $this->expectException(RequirementsException::class); + $this->getMigration('d6_imagecache_presets') + ->getSourcePlugin() + ->checkRequirements(); } /** @@ -162,7 +157,7 @@ protected function assertImageEffect($collection, $id, $config) { if ($effect_config['id'] == $id && $effect_config['data'] == $config) { // We found this effect so succeed and return. - return $this->pass('Effect ' . $id . ' imported correctly'); + return TRUE; } } // The loop did not find the effect so we it was not imported correctly. diff --git a/web/core/modules/jsonapi/src/ResourceType/ResourceType.php b/web/core/modules/jsonapi/src/ResourceType/ResourceType.php index 955feff354fccd482fd4b9589358f16b1764e4de..10e2c0fb65ca6a7bd2d018659678744f527db122 100644 --- a/web/core/modules/jsonapi/src/ResourceType/ResourceType.php +++ b/web/core/modules/jsonapi/src/ResourceType/ResourceType.php @@ -279,7 +279,7 @@ public function includeCount() { * the HTTP API. For example, read-only data from an internal resource might * be embedded in a public resource using computed fields. Therefore, * including the internal resource as a relationship with distinct routes - * might uneccesarilly expose internal implementation details. + * might unnecessarily expose internal implementation details. * * @return bool * TRUE if the resource type is internal. FALSE otherwise. diff --git a/web/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php b/web/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php index 50ffd46fb17a33c876c180cfca883b598113a54f..d9a69f08f85d27c4ecf506ae49e37c079756bc83 100644 --- a/web/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php +++ b/web/core/modules/jsonapi/tests/src/Functional/WorkflowTest.php @@ -52,7 +52,7 @@ protected function setUpAuthorization($method) { protected function createEntity() { $workflow = Workflow::create([ 'id' => 'rest_workflow', - 'label' => 'REST Worklow', + 'label' => 'REST Workflow', 'type' => 'workflow_type_complex_test', ]); $workflow @@ -96,7 +96,7 @@ protected function getExpectedDocument() { 'workflow_type_test', ], ], - 'label' => 'REST Worklow', + 'label' => 'REST Workflow', 'langcode' => 'en', 'status' => TRUE, 'workflow_type' => 'workflow_type_complex_test', diff --git a/web/core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php b/web/core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php index 2a644615a2446df1af80d43ccc566fb0c4211c0b..f8ecc2235523bf5cd3080aa6af8f3e7f2de1c0ea 100644 --- a/web/core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php +++ b/web/core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @@ -67,10 +67,10 @@ public function setUp() { $this->savePaintings([ ['colors' => ['red'], 'shapes' => ['triangle'], 'title' => 'FIND'], ['colors' => ['orange'], 'shapes' => ['circle'], 'title' => 'FIND'], - ['colors' => ['orange'], 'shapes' => ['triangle'], 'title' => 'DONT_FIND'], + ['colors' => ['orange'], 'shapes' => ['triangle'], 'title' => 'DO_NOT_FIND'], ['colors' => ['yellow'], 'shapes' => ['square'], 'title' => 'FIND'], - ['colors' => ['yellow'], 'shapes' => ['triangle'], 'title' => 'DONT_FIND'], - ['colors' => ['orange'], 'shapes' => ['square'], 'title' => 'DONT_FIND'], + ['colors' => ['yellow'], 'shapes' => ['triangle'], 'title' => 'DO_NOT_FIND'], + ['colors' => ['orange'], 'shapes' => ['square'], 'title' => 'DO_NOT_FIND'], ]); $this->nodeStorage = $this->container->get('entity_type.manager')->getStorage('node'); diff --git a/web/core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php b/web/core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php index 8ac8a39ec64ee63a84fe9a4eb27e87e1c6f11222..7dfb97067ea43c6cdb604e0e68b0555b70b772ea 100644 --- a/web/core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php +++ b/web/core/modules/jsonapi/tests/src/Traits/CommonCollectionFilterAccessTestPatternsTrait.php @@ -63,7 +63,7 @@ public function doTestCollectionFilterAccessBasedOnPermissions($label_field_name // Test. $collection_url = Url::fromRoute('jsonapi.entity_test--bar.collection'); - // Specifying a delta exercises TemporaryQueryGaurd more thoroughly. + // Specifying a delta exercises TemporaryQueryGuard more thoroughly. $filter_path = "spotlight.0.$label_field_name"; $collection_filter_url = $collection_url->setOption('query', ["filter[$filter_path]" => $this->entity->label()]); $request_options = []; diff --git a/web/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php b/web/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php index 9fe5e1cb7e025f6658864a215005fc439c2ae7a6..66604e8831ad1352e365b6e974408c39b543e09b 100644 --- a/web/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php +++ b/web/core/modules/language/tests/src/Kernel/LanguageDependencyInjectionTest.php @@ -48,7 +48,7 @@ public function testDependencyInjectedNewDefaultLanguage() { $this->fail('Expected DeleteDefaultLanguageException thrown.'); } catch (DeleteDefaultLanguageException $e) { - $this->pass('Expected DeleteDefaultLanguageException thrown.'); + // Expected exception; just continue testing. } // Re-save the previous default language and the delete should work. diff --git a/web/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php b/web/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php index 022fc4e6cd38ec82a39b5839164d9f8f0c069edd..7e9640915da9966b650ec10fbc0901e47497a208 100644 --- a/web/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php +++ b/web/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php @@ -55,7 +55,7 @@ public function testTransform() { 'es' => 'es.example.com', 'hu' => 'hu.example.com', ]; - $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($value, $expected); } diff --git a/web/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php b/web/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php index 27aa0999eafc5e95cf49005e538fc5860d6dceca..af8b6443ffd69eb1da738f3920e7cd84bd5a5a6b 100644 --- a/web/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php +++ b/web/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php @@ -50,7 +50,7 @@ public function testTransformWithWeights() { 'language-selected' => -6, ], ]; - $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($value, $expected); } @@ -70,7 +70,7 @@ public function testTransformWithoutWeights() { 'language-url-fallback' => 1, ], ]; - $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($value, $expected); } @@ -81,7 +81,7 @@ public function testStringInput() { $this->plugin = new LanguageNegotiation([], 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('The input should be an array'); - $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php b/web/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php index b65c9d0508707c8acf08c3a1c680a47db5384769..3b41a66825308e02612c678786dda80d4086f921 100644 --- a/web/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php +++ b/web/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php @@ -27,7 +27,7 @@ public function testTransformAll() { 1 => 'language_content', 2 => 'language_interface', ]; - $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($value, $expected); } @@ -44,7 +44,7 @@ public function testTransformConfigurable() { $expected = [ 0 => 'language_interface', ]; - $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($value, $expected); } @@ -55,7 +55,7 @@ public function testStringInput() { $this->plugin = new LanguageTypes([], 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('The input should be an array'); - $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php b/web/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php index daf54a4f789c60d0e7074067593b54a108c3e3bc..714173da717b0ac24966e9e34452c11e6c7f4585 100644 --- a/web/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php +++ b/web/core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php @@ -67,6 +67,39 @@ protected function setUp() { ]); } + /** + * Tests deleting a field in-use by an overridden layout. + */ + public function testDeleteField() { + $assert_session = $this->assertSession(); + $page = $this->getSession()->getPage(); + + $this->drupalLogin($this->drupalCreateUser([ + 'configure any layout', + 'administer node fields', + ])); + + // Enable layout builder overrides. + LayoutBuilderEntityViewDisplay::load('node.bundle_with_section_field.default') + ->enableLayoutBuilder() + ->setOverridable() + ->save(); + + // Ensure there is a layout override. + $this->drupalGet('node/1/layout'); + $page->pressButton('Save layout'); + + // Delete one of the fields in use. + $this->drupalGet('admin/structure/types/manage/bundle_with_section_field/fields/node.bundle_with_section_field.body/delete'); + $page->pressButton('Delete'); + + // The node should still be accessible. + $this->drupalGet('node/1'); + $assert_session->statusCodeEquals(200); + $this->drupalGet('node/1/layout'); + $assert_session->statusCodeEquals(200); + } + /** * Tests Layout Builder overrides without access to edit the default layout. */ diff --git a/web/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php b/web/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php index f92195c9dc947ad5169b2f7661a88586dc67816a..ce2c3ef7b7ee4d8d25d3ab9df0cd3ba29fba874b 100644 --- a/web/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php +++ b/web/core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php @@ -463,23 +463,16 @@ private function openAddBlockForm($block_title) { * * @param string $expected_form_id * The expected form ID. - * @param int $timeout - * (Optional) Timeout in milliseconds, defaults to 10000. */ - private function assertOffCanvasFormAfterWait($expected_form_id, $timeout = 10000) { - $page = $this->getSession()->getPage(); + private function assertOffCanvasFormAfterWait($expected_form_id) { $this->assertSession()->assertWaitOnAjaxRequest(); - $this->assertNotEmpty($page->waitFor($timeout / 1000, function () use ($page, $expected_form_id) { - // Ensure the form ID exists, is visible, and has the correct value. - $form_id_element = $page->find('hidden_field_selector', ['hidden_field', 'form_id']); - - // Ensure the off canvas dialog is visible. - $off_canvas = $page->find('css', '#drupal-off-canvas'); - if (!$off_canvas || !$off_canvas->isVisible()) { - return NULL; - } - return $form_id_element; - })); + $off_canvas = $this->assertSession()->waitForElementVisible('css', '#drupal-off-canvas'); + $this->assertNotNull($off_canvas); + $form_id_element = $off_canvas->find('hidden_field_selector', ['hidden_field', 'form_id']); + // Ensure the form ID has the correct value and that the form is visible. + $this->assertNotEmpty($form_id_element); + $this->assertSame($expected_form_id, $form_id_element->getValue()); + $this->assertTrue($form_id_element->getParent()->isVisible()); } /** diff --git a/web/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php b/web/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php index eb03ae2e767860f8cc6ac7b7094d46fbcf2e6fa6..392a9963f045602204c41685d7e7733324aec850 100644 --- a/web/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php +++ b/web/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @@ -545,7 +545,7 @@ public function testBuildRoutes() { $collection = new RouteCollection(); // Entity types that declare a link template for canonical must have a - // canonical route present in the route colletion. + // canonical route present in the route collection. $collection->add('entity.from_canonical.canonical', $expected['entity.from_canonical.canonical']); $collection->add('entity.with_string_id.canonical', $expected['entity.with_string_id.canonical']); $collection->add('entity.with_integer_id.canonical', $expected['entity.with_integer_id.canonical']); diff --git a/web/core/modules/layout_builder/tests/src/Unit/SectionTest.php b/web/core/modules/layout_builder/tests/src/Unit/SectionTest.php index 576eba7e1d25372d4939e0adc2192739f39b4e14..8a5bb95e3083c185dade2a6f6d87a0b0058f2122 100644 --- a/web/core/modules/layout_builder/tests/src/Unit/SectionTest.php +++ b/web/core/modules/layout_builder/tests/src/Unit/SectionTest.php @@ -314,42 +314,42 @@ public function providerTestSetThirdPartySetting() { * @covers ::unsetThirdPartySetting * @dataProvider providerTestUnsetThirdPartySetting */ - public function testUnsetThirdPartySetting() { - $this->section->unsetThirdPartySetting('bad_judgement', 'blink_speed'); - $this->assertSame(['spin_direction' => 'clockwise'], $this->section->getThirdPartySettings('bad_judgement')); - $this->section->unsetThirdPartySetting('hunt_and_peck', 'delay'); - $this->assertSame([], $this->section->getThirdPartySettings('hunt_and_peck')); - $this->section->unsetThirdPartySetting('bad_judgement', 'non_existing_key'); - $this->section->unsetThirdPartySetting('non_existing_provider', 'non_existing_key'); + public function testUnsetThirdPartySetting($provider, $key, $expected) { + $this->section->unsetThirdPartySetting($provider, $key); + $this->assertSame($expected, $this->section->getThirdPartySettings($provider)); } /** - * Provides test data for ::testUnsetThirdPartySettings(). + * Provides test data for ::testUnsetThirdPartySetting(). */ public function providerTestUnsetThirdPartySetting() { $data = []; - $data[] = [ + $data['Key with values'] = [ 'bad_judgement', 'blink_speed', [ 'spin_direction' => 'clockwise', ], ]; - $data[] = [ + $data['Key without values'] = [ 'hunt_and_peck', 'delay', [], ]; - $data[] = [ + $data['Non-existing key'] = [ 'bad_judgement', 'non_existing_key', - [], + [ + 'blink_speed' => 'fast', + 'spin_direction' => 'clockwise', + ], ]; - $data[] = [ + $data['Non-existing provider'] = [ 'non_existing_provider', 'non_existing_key', [], ]; + return $data; } diff --git a/web/core/modules/link/tests/src/Functional/LinkFieldTest.php b/web/core/modules/link/tests/src/Functional/LinkFieldTest.php index a1d067dc9010153bb0a763bb4090bc02d376c8f1..f855d91cba90aff127ee09800820ba97cababee3 100644 --- a/web/core/modules/link/tests/src/Functional/LinkFieldTest.php +++ b/web/core/modules/link/tests/src/Functional/LinkFieldTest.php @@ -727,7 +727,9 @@ public function testEditNonNodeEntityLink() { $entity_test_link = $entity_test_storage->create(['name' => 'correct link target']); $entity_test_link->save(); - $node = $this->drupalCreateNode(['wrong link target']); + // Create a node with the same ID as the test entity to ensure that the link + // doesn't match incorrectly. + $this->drupalCreateNode(['title' => 'wrong link target']); $correct_link = 'entity:entity_test/' . $entity_test_link->id(); $entity_test = $entity_test_storage->create([ diff --git a/web/core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php b/web/core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php index ee3e4df6abe3814ac5269ca777ce49aef89d5caa..a1bd6853bcb435a935b0fcee3c448ef9b4d70520 100644 --- a/web/core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php +++ b/web/core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php @@ -84,9 +84,9 @@ public function testBuildForm() { ]); $form_state->setRequestMethod('POST'); - EditorMediaDialog::create($this->container) + $form = EditorMediaDialog::create($this->container) ->buildForm([], $form_state, $editor->reveal()); - $this->pass('Form was built without errors.'); + $this->assertNotNull($form, 'Form should have been built without errors.'); } } diff --git a/web/core/modules/media_library/media_library.module b/web/core/modules/media_library/media_library.module index 19ef3c2131d7f89c6cba50b2d207d48bacad980c..5312b8e96dbe7404aefd7a029fc79086eef6252a 100644 --- a/web/core/modules/media_library/media_library.module +++ b/web/core/modules/media_library/media_library.module @@ -402,8 +402,7 @@ function _media_library_configure_form_display(MediaTypeInterface $type) { $display->removeComponent($name); } // Expose the name field when it is not mapped. - $field_map = $type->getFieldMap(); - if (empty($field_map['name'])) { + if (!in_array('name', $type->getFieldMap(), TRUE)) { $display->setComponent('name', [ 'type' => 'string_textfield', 'settings' => [ diff --git a/web/core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php b/web/core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php index ac9cb3b51056162853bff281656505527f8de941..f957b77fddb5ca3c6f6fb28d72e877c6ebb069e2 100644 --- a/web/core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php +++ b/web/core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php @@ -508,8 +508,19 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen // JavaScript by adding the 'data-disabled-focus' attribute. // @see Drupal.behaviors.MediaLibraryWidgetDisableButton if (!$cardinality_unlimited && $remaining === 0) { - $element['open_button']['#attributes']['data-disabled-focus'] = 'true'; - $element['open_button']['#attributes']['class'][] = 'visually-hidden'; + $triggering_element = $form_state->getTriggeringElement(); + if ($triggering_element && ($trigger_parents = $triggering_element['#array_parents']) && end($trigger_parents) === 'media_library_update_widget') { + // The widget is being rebuilt from a selection change. + $element['open_button']['#attributes']['data-disabled-focus'] = 'true'; + $element['open_button']['#attributes']['class'][] = 'visually-hidden'; + } + else { + // The widget is being built without a selection change, so we can just + // set the item to disabled now, there is no need to set the focus + // first. + $element['open_button']['#disabled'] = TRUE; + $element['open_button']['#attributes']['class'][] = 'visually-hidden'; + } } // This hidden field and button are used to add new items to the widget. diff --git a/web/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php b/web/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php index 2ca50fb5a964c8fa94b543306ab75eab7389c694..8b8754eeed142ffafcd3fe7d602700f03b8c8bb0 100644 --- a/web/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php +++ b/web/core/modules/media_library/tests/src/Functional/MediaLibraryDisplayModeTest.php @@ -162,6 +162,22 @@ public function testDisplayModes() { $this->assertFormDisplay($type_eight_id, FALSE, TRUE); $this->assertViewDisplay($type_eight_id, 'medium'); + // Create an oEmbed media type with a mapped name field in the UI. + $type_id = 'pinto_bean'; + $edit = [ + 'label' => $type_id, + 'id' => $type_id, + 'source' => 'oembed:video', + ]; + $this->drupalPostForm('admin/structure/media/add', $edit, 'Save'); + $edit = [ + 'field_map[title]' => 'name', + ]; + $this->drupalPostForm(NULL, $edit, t('Save')); + $this->assertSession()->pageTextContains("Media Library form and view displays have been created for the $type_id media type."); + $this->assertFormDisplay($type_id, FALSE, FALSE); + $this->assertViewDisplay($type_id, 'medium'); + // Delete a form and view display. EntityFormDisplay::load('media.type_one.media_library')->delete(); EntityViewDisplay::load('media.type_one.media_library')->delete(); diff --git a/web/core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php b/web/core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php index 4d8ee6060f99e68f400216d8afb5ffa783141131..3240d8bf678c90c771f71973a942d30556b16b7b 100644 --- a/web/core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php +++ b/web/core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php @@ -14,6 +14,13 @@ class EntityReferenceWidgetTest extends MediaLibraryTestBase { */ protected static $modules = ['field_ui']; + /** + * Test media items. + * + * @var \Drupal\media\MediaInterface[] + */ + protected $mediaItems = []; + /** * {@inheritdoc} */ @@ -21,7 +28,7 @@ protected function setUp() { parent::setUp(); // Create a few example media items for use in selection. - $this->createMediaItems([ + $this->mediaItems = $this->createMediaItems([ 'type_one' => [ 'Horse', 'Bear', @@ -48,6 +55,31 @@ protected function setUp() { $this->drupalLogin($user); } + /** + * Tests that disabled media items don't capture focus on page load. + */ + public function testFocusNotAppliedWithoutSelectionChange() { + // Create a node with the maximum number of values for the field_twin_media + // field. + $node = $this->drupalCreateNode([ + 'type' => 'basic_page', + 'field_twin_media' => [ + $this->mediaItems['Horse'], + $this->mediaItems['Bear'], + ], + ]); + $this->drupalGet($node->toUrl('edit-form')); + $open_button = $this->assertElementExistsAfterWait('css', '.js-media-library-open-button[name^="field_twin_media"]'); + // The open button should be disabled, but not have the + // 'data-disabled-focus' attribute. + $this->assertFalse($open_button->hasAttribute('data-disabled-focus')); + $this->assertTrue($open_button->hasAttribute('disabled')); + // The button should be disabled. + $this->assertJsCondition('jQuery("#field_twin_media-media-library-wrapper .js-media-library-open-button").is(":disabled")'); + // The button should not have focus. + $this->assertJsCondition('jQuery("#field_twin_media-media-library-wrapper .js-media-library-open-button").not(":focus")'); + } + /** * Tests that the Media library's widget works as expected. */ diff --git a/web/core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php b/web/core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php index c49002c185105325b349544f5f6ea493869721ab..5f00f96baff2166c561eb5ff068abc0a531f86c0 100644 --- a/web/core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php +++ b/web/core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php @@ -25,8 +25,12 @@ abstract class MediaLibraryTestBase extends WebDriverTestBase { * * @param array $media_items * A nested array of media item names keyed by media type. + * + * @return \Drupal\media\MediaInterface[] + * An array of media entities keyed by the names passed in. */ protected function createMediaItems(array $media_items) { + $created_items = []; $time = time(); foreach ($media_items as $type => $names) { foreach ($names as $name) { @@ -39,8 +43,10 @@ protected function createMediaItems(array $media_items) { ->getSourceFieldDefinition($media->bundle->entity) ->getName(); $media->set($source_field, $name)->setCreatedTime(++$time)->save(); + $created_items[$name] = $media; } } + return $created_items; } /** diff --git a/web/core/modules/media_library/tests/src/FunctionalJavascript/ViewsUiIntegrationTest.php b/web/core/modules/media_library/tests/src/FunctionalJavascript/ViewsUiIntegrationTest.php index 7e68f16a5a39ca2c04bdda6278c1905d27aeaf06..3b5a6f5039773cad2ae5cd8837a5439a3d3297bd 100644 --- a/web/core/modules/media_library/tests/src/FunctionalJavascript/ViewsUiIntegrationTest.php +++ b/web/core/modules/media_library/tests/src/FunctionalJavascript/ViewsUiIntegrationTest.php @@ -55,7 +55,7 @@ public function testViewsAdmin() { $page->find('css', '.js-media-library-view .view-filters')->pressButton('Apply filters'); $this->waitForElementsCount('css', '.js-media-library-item', 1); - // Test the same routine but in the view for the table wiget. + // Test the same routine but in the view for the table widget. $this->drupalGet('/admin/structure/views/view/media_library/edit/widget_table'); $this->waitForElementsCount('css', '.js-media-library-item', 8); diff --git a/web/core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php b/web/core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php index b663f2707194edc43b026195d4bd9e7891731344..0a7c8cc5a7b22900f8fbe52938c20b8d0d544bf7 100644 --- a/web/core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php +++ b/web/core/modules/menu_link_content/src/MenuLinkContentAccessControlHandler.php @@ -74,6 +74,9 @@ protected function checkAccess(EntityInterface $entity, $operation, AccountInter case 'delete': return AccessResult::allowedIfHasPermission($account, 'administer menu') ->andIf(AccessResult::allowedIf(!$entity->isNew())->addCacheableDependency($entity)); + + default: + return parent::checkAccess($entity, $operation, $account); } } diff --git a/web/core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php b/web/core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php index 045020d3850e3d0c8ca723ad6302516299f4b24a..2e0767a83b39c0c1087453b9c62fc33513851e01 100644 --- a/web/core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php +++ b/web/core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php @@ -40,7 +40,7 @@ public function query() { // Add in the property, which is either title or description. Cast the mlid // to text so PostgreSQL can make the join. - $query->leftJoin(static::I18N_STRING_TABLE, 'i18n', 'CAST(ml.mlid as CHAR(255)) = i18n.objectid'); + $query->leftJoin(static::I18N_STRING_TABLE, 'i18n', 'CAST(ml.mlid AS CHAR(255)) = i18n.objectid'); $query->addField('i18n', 'lid'); $query->addField('i18n', 'property'); diff --git a/web/core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php b/web/core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php index 2c7928b172d7a3db2f815db108c0bc961339cb39..391ee95e4ac2d3933f43a65e59a5a68cc980dd05 100644 --- a/web/core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php +++ b/web/core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php @@ -199,7 +199,7 @@ public function doTransform($value, $configuration = []) { $executable = $this->prophesize(MigrateExecutableInterface::class)->reveal(); $plugin = new LinkUri($configuration, 'link_uri', [], $entityTypeManager, $routeBuilder); - $actual = $plugin->transform($value, $executable, $row, 'destinationproperty'); + $actual = $plugin->transform($value, $executable, $row, 'destination_property'); return $actual; } diff --git a/web/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php b/web/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php new file mode 100644 index 0000000000000000000000000000000000000000..ea39e96b87989608f1e29500a60905aa0843b406 --- /dev/null +++ b/web/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php @@ -0,0 +1,54 @@ +<?php + +namespace Drupal\Tests\menu_link_content\Unit; + +use Drupal\Core\Access\AccessManagerInterface; +use Drupal\Core\Access\AccessResultInterface; +use Drupal\Core\Entity\ContentEntityInterface; +use Drupal\Core\Entity\EntityTypeInterface; +use Drupal\Core\Extension\ModuleHandlerInterface; +use Drupal\Core\Language\LanguageInterface; +use Drupal\Core\Session\AccountInterface; +use Drupal\menu_link_content\MenuLinkContentAccessControlHandler; +use Drupal\Tests\UnitTestCase; + +/** + * Tests menu link content entity access. + * + * @coversDefaultClass \Drupal\menu_link_content\MenuLinkContentAccessControlHandler + * @group menu_link_content + */ +class MenuLinkContentEntityAccessTest extends UnitTestCase { + + /** + * Tests an operation not implemented by the access control handler. + * + * @covers ::checkAccess + */ + public function testUnrecognizedOperation() { + $entityType = $this->createMock(EntityTypeInterface::class); + $accessManager = $this->createMock(AccessManagerInterface::class); + $moduleHandler = $this->createMock(ModuleHandlerInterface::class); + $moduleHandler->expects($this->any()) + ->method('invokeAll') + ->willReturn([]); + + $language = $this->createMock(LanguageInterface::class); + $language->expects($this->any()) + ->method('getId') + ->will($this->returnValue('de')); + + $entity = $this->createMock(ContentEntityInterface::class); + $entity->expects($this->any()) + ->method('language') + ->willReturn($language); + + $account = $this->createMock(AccountInterface::class); + + $accessControl = new MenuLinkContentAccessControlHandler($entityType, $accessManager); + $accessControl->setModuleHandler($moduleHandler); + $access = $accessControl->access($entity, 'not-an-op', $account, TRUE); + $this->assertInstanceOf(AccessResultInterface::class, $access); + } + +} diff --git a/web/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php b/web/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php index 4adf2a2e306030ea0d845287f872a1bdf8f6027b..e9012838103e8d677545f732433da00852d28a2a 100644 --- a/web/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php +++ b/web/core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php @@ -64,7 +64,6 @@ public function testMenuBlock() { $this->verifyPageCache($url, 'HIT', $expected_tags); // Verify that after modifying the menu, there is a cache miss. - $this->pass('Test modification of menu.', 'Debug'); $menu->set('label', 'Awesome llama'); $menu->save(); $this->verifyPageCache($url, 'MISS'); @@ -74,14 +73,12 @@ public function testMenuBlock() { // Verify that after modifying the menu link weight, there is a cache miss. $menu_link_manager->updateDefinition('test_page_test.test_page', ['weight' => -10]); - $this->pass('Test modification of menu link.', 'Debug'); $this->verifyPageCache($url, 'MISS'); // Verify a cache hit. $this->verifyPageCache($url, 'HIT'); // Verify that after adding a menu link, there is a cache miss. - $this->pass('Test addition of menu link.', 'Debug'); $menu_link_2 = MenuLinkContent::create([ 'id' => '', 'parent' => '', @@ -99,7 +96,6 @@ public function testMenuBlock() { $this->verifyPageCache($url, 'HIT'); // Verify that after resetting the first menu link, there is a cache miss. - $this->pass('Test reset of menu link.', 'Debug'); $this->assertTrue($menu_link->isResettable(), 'First link can be reset'); $menu_link = $menu_link_manager->resetLink($menu_link->getPluginId()); $this->verifyPageCache($url, 'MISS'); @@ -108,7 +104,6 @@ public function testMenuBlock() { $this->verifyPageCache($url, 'HIT', $expected_tags); // Verify that after deleting the menu, there is a cache miss. - $this->pass('Test deletion of menu.', 'Debug'); $menu->delete(); $this->verifyPageCache($url, 'MISS'); diff --git a/web/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php b/web/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php index 05b2dd91fc19a50f81c18341626ffa6c51ca0135..41fcae0388c3ad2e1f3b27e9cb505b8834486915 100644 --- a/web/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php +++ b/web/core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php @@ -78,12 +78,12 @@ public function testMenuNodeFormWidget() { // Verify that the menu link title has the correct maxlength. $title_max_length = \Drupal::service('entity_field.manager')->getBaseFieldDefinitions('menu_link_content')['title']->getSetting('max_length'); $this->drupalGet('node/add/page'); - $this->assertPattern('/<input .* id="edit-menu-title" .* maxlength="' . $title_max_length . '" .* \/>/', 'Menu link title field has correct maxlength in node add form.'); + $this->assertPattern('/<input .* id="edit-menu-title" .* maxlength="' . $title_max_length . '" .* \/>/'); // Verify that the menu link description has the correct maxlength. $description_max_length = \Drupal::service('entity_field.manager')->getBaseFieldDefinitions('menu_link_content')['description']->getSetting('max_length'); $this->drupalGet('node/add/page'); - $this->assertPattern('/<input .* id="edit-menu-description" .* maxlength="' . $description_max_length . '" .* \/>/', 'Menu link description field has correct maxlength in node add form.'); + $this->assertPattern('/<input .* id="edit-menu-description" .* maxlength="' . $description_max_length . '" .* \/>/'); // Disable the default main menu, so that no menus are enabled. $edit = [ @@ -193,8 +193,12 @@ public function testMenuNodeFormWidget() { $this->drupalGet('node/' . $node->id() . '/edit'); $this->assertFieldById('edit-menu-weight', 17, 'Menu weight correct in edit form'); - $this->assertPattern('/<input .* id="edit-menu-title" .* maxlength="' . $title_max_length . '" .* \/>/', 'Menu link title field has correct maxlength in node edit form.'); - $this->assertPattern('/<input .* id="edit-menu-description" .* maxlength="' . $description_max_length . '" .* \/>/', 'Menu link description field has correct maxlength in node add form.'); + // Verify that the menu link title field has correct maxlength in node edit + // form. + $this->assertPattern('/<input .* id="edit-menu-title" .* maxlength="' . $title_max_length . '" .* \/>/'); + // Verify that the menu link description field has correct maxlength in + // node add form. + $this->assertPattern('/<input .* id="edit-menu-description" .* maxlength="' . $description_max_length . '" .* \/>/'); // Disable the menu link, then edit the node--the link should stay disabled. $link_id = menu_ui_get_menu_link_defaults($node)['entity_id']; diff --git a/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php b/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php index e69f5609197b30c28c9d978820b4349e24b47cf7..79191184f9fd039051ef94c34ceae9e950582b78 100644 --- a/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php +++ b/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php @@ -13,21 +13,56 @@ * for audit and rollback purposes. The keys used in the migrate_map table are * of the form sourceidN and destidN for the source and destination values * respectively. + * + * The mappings are stored in a migrate_map table with properties: + * - source_ids_hash: A hash of the source IDs. + * - sourceidN: Any number of source IDs defined by a source plugin, where N + * starts at 1, for example, sourceid1, sourceid2 ... sourceidN. + * - destidN: Any number of destination IDs defined by a destination plugin, + * where N starts at 1, for example, destid1, destid2 ... destidN. + * - source_row_status: Indicates current status of the source row, valid + * values are self::STATUS_IMPORTED, self::STATUS_NEEDS_UPDATE, + * self::STATUS_IGNORED or self::STATUS_FAILED. + * - rollback_action: Flag indicating what to do for this item on rollback. This + * property is set in destination plugins. Valid values are + * self::ROLLBACK_DELETE and self::ROLLBACK_PRESERVE. + * - last_imported: UNIX timestamp of the last time the row was imported. + * - hash: A hash of the source row data that is used to detect changes in the + * source data. */ interface MigrateIdMapInterface extends \Iterator, PluginInspectionInterface { /** - * Codes reflecting the current status of a map row. + * Indicates that the import of the row was successful. */ const STATUS_IMPORTED = 0; + + /** + * Indicates that the row needs to be updated. + */ const STATUS_NEEDS_UPDATE = 1; + + /** + * Indicates that the import of the row was ignored. + */ const STATUS_IGNORED = 2; + + /** + * Indicates that the import of the row failed. + */ const STATUS_FAILED = 3; /** - * Codes reflecting how to handle the destination item on rollback. + * Indicates that the data for the row is to be deleted. */ const ROLLBACK_DELETE = 0; + + /** + * Indicates that the data for the row is to be preserved. + * + * Rows that refer to entities that already exist on the destination and are + * being updated are preserved. + */ const ROLLBACK_PRESERVE = 1; /** diff --git a/web/core/modules/migrate/src/Plugin/migrate/process/Concat.php b/web/core/modules/migrate/src/Plugin/migrate/process/Concat.php index e3323b4b04075ef0f903c49e5e46322f7be8797f..3490ae81e3185fcbdbb8b194044a82e813f97eaf 100644 --- a/web/core/modules/migrate/src/Plugin/migrate/process/Concat.php +++ b/web/core/modules/migrate/src/Plugin/migrate/process/Concat.php @@ -29,8 +29,8 @@ * @endcode * * This will set new_text_field to the concatenation of the 'foo' and 'bar' - * source values. For example, if the 'foo' property is "wambooli" and the 'bar' - * property is "pastafazoul", new_text_field will be "wamboolipastafazoul". + * source values. For example, if the 'foo' property is "Rosa" and the 'bar' + * property is "Parks", new_text_field will be "RosaParks". * * You can also specify a delimiter. * @@ -46,8 +46,8 @@ * * This will set new_text_field to the concatenation of the 'foo' source value, * the delimiter and the 'bar' source value. For example, using the values above - * and "/" as the delimiter, if the 'foo' property is "wambooli" and the 'bar' - * property is "pastafazoul", new_text_field will be "wambooli/pastafazoul". + * and "/" as the delimiter, if the 'foo' property is "Rosa" and the 'bar' + * property is "Rosa", new_text_field will be "Rosa/Parks". * * @see \Drupal\migrate\Plugin\MigrateProcessInterface * diff --git a/web/core/modules/migrate/src/Plugin/migrate/process/SubProcess.php b/web/core/modules/migrate/src/Plugin/migrate/process/SubProcess.php index c5c5fcab2f649a0a7f5ad13e216df4c32b16e682..7902465d35c6e7ba136638e4e39aa0378e6185ec 100644 --- a/web/core/modules/migrate/src/Plugin/migrate/process/SubProcess.php +++ b/web/core/modules/migrate/src/Plugin/migrate/process/SubProcess.php @@ -16,7 +16,8 @@ * Available configuration keys: * - process: the plugin(s) that will process each element of the source. * - key: runs the process pipeline for the key to determine a new dynamic - * name. + * name. If the new dynamic name is NULL then the result of the sub_process + * pipeline is ignored. * - include_source: (optional) If TRUE, all source plugin configuration and * values will be copied into the sub-processed row in a new property named * for the source_key configuration value (see below). Defaults to FALSE. @@ -143,7 +144,8 @@ * you need to change the key, it is possible for the returned array to be keyed * by one of the transformed values in the sub-array. For the same source data * used in the previous example, the migration below would result to keys - * 'filter_2' and 'filter_0'. + * 'filter_2' and 'filter_0'. If the value for 'id' is NULL the result of the + * sub_process pipeline is ignored. * @code * process: * filters: @@ -207,7 +209,13 @@ public function transform($value, MigrateExecutableInterface $migrate_executable if (array_key_exists('key', $this->configuration)) { $key = $this->transformKey($key, $migrate_executable, $new_row); } - $return[$key] = $destination; + // Do not save the result if the key is NULL. The configured process + // pipeline used in transformKey() will return NULL if a + // MigrateSkipProcessException is thrown. + // @see \Drupal\filter\Plugin\migrate\process\FilterID + if ($key !== NULL) { + $return[$key] = $destination; + } } } return $return; diff --git a/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.module b/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.module index 1da25f5a6d5cb7ec70e148d76a2784469b005981..6b7bc8c25f025eefc727f36c2f2b3b744e0f9d92 100644 --- a/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.module +++ b/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/migrate_prepare_row_test.module @@ -21,8 +21,8 @@ function migrate_prepare_row_test_migrate_prepare_row(Row $row, MigrateSourceInt // Record mapping but don't record a message. throw new MigrateSkipRowException('', TRUE); } - elseif ($data == 'skip_and_dont_record') { + elseif ($data == 'skip_and_do_not_record') { // Don't record mapping but record a message. - throw new MigrateSkipRowException('skip_and_dont_record message', FALSE); + throw new MigrateSkipRowException('skip_and_do_not_record message', FALSE); } } diff --git a/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Plugin/migrate/process/TestSkipRowProcess.php b/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Plugin/migrate/process/TestSkipRowProcess.php index 4822113b325459e0dd04188328c83ee64f157c30..b1540888ac1fb7debd165fe1597e20cab5c6b484 100644 --- a/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Plugin/migrate/process/TestSkipRowProcess.php +++ b/web/core/modules/migrate/tests/modules/migrate_prepare_row_test/src/Plugin/migrate/process/TestSkipRowProcess.php @@ -25,7 +25,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable if ($data == 'skip_and_record (use plugin)') { throw new MigrateSkipRowException('', TRUE); } - elseif ($data == 'skip_and_dont_record (use plugin)') { + elseif ($data == 'skip_and_do_not_record (use plugin)') { throw new MigrateSkipRowException('', FALSE); } return $value; diff --git a/web/core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php b/web/core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php index dd42f252fd091c4188d605c463160ebfa49dd9b5..c1c156ce9b9e0b922e2e99123c21c5b83ff3e824 100644 --- a/web/core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php +++ b/web/core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php @@ -33,7 +33,7 @@ public function testPrepareRowSkip() { 'plugin' => 'embedded_data', 'data_rows' => [ ['id' => '1', 'data' => 'skip_and_record'], - ['id' => '2', 'data' => 'skip_and_dont_record'], + ['id' => '2', 'data' => 'skip_and_do_not_record'], ], 'ids' => [ 'id' => ['type' => 'string'], @@ -69,7 +69,7 @@ public function testPrepareRowSkip() { $messages = $id_map_plugin->getMessages(['id' => 2])->fetchAll(); $this->assertCount(1, $messages); $message = reset($messages); - $this->assertEquals('skip_and_dont_record message', $message->message); + $this->assertEquals('skip_and_do_not_record message', $message->message); $this->assertEquals(MigrationInterface::MESSAGE_INFORMATIONAL, $message->level); // Insert a custom processor in the process flow. @@ -80,7 +80,7 @@ public function testPrepareRowSkip() { // Change data to avoid triggering again hook_migrate_prepare_row(). $definition['source']['data_rows'] = [ ['id' => '1', 'data' => 'skip_and_record (use plugin)'], - ['id' => '2', 'data' => 'skip_and_dont_record (use plugin)'], + ['id' => '2', 'data' => 'skip_and_do_not_record (use plugin)'], ]; $migration = \Drupal::service('plugin.manager.migration')->createStubMigration($definition); diff --git a/web/core/modules/migrate/tests/src/Kernel/process/RouteTest.php b/web/core/modules/migrate/tests/src/Kernel/process/RouteTest.php index b592fc3215c7bb4c89e163aede3b97faca7965ef..992201797a629f8794bdee30d455e43ef789ae73 100644 --- a/web/core/modules/migrate/tests/src/Kernel/process/RouteTest.php +++ b/web/core/modules/migrate/tests/src/Kernel/process/RouteTest.php @@ -267,7 +267,7 @@ protected function doTransform($value) { $executable = $this->prophesize(MigrateExecutableInterface::class)->reveal(); $plugin = new Route([], 'route', [], $migration, $pathValidator); - $actual = $plugin->transform($value, $executable, $row, 'destinationproperty'); + $actual = $plugin->transform($value, $executable, $row, 'destination_property'); return $actual; } diff --git a/web/core/modules/migrate/tests/src/Unit/RowTest.php b/web/core/modules/migrate/tests/src/Unit/RowTest.php index 4161900784d2ba9f50a430a587d49f6c1a0d62d9..8392220c6a69e36074fe2834f12a5676ee1d145c 100644 --- a/web/core/modules/migrate/tests/src/Unit/RowTest.php +++ b/web/core/modules/migrate/tests/src/Unit/RowTest.php @@ -405,15 +405,15 @@ public function getMultipleDataProvider() { 'destination_value_3', ], ], - 'Mix of keys including non-existant' => [ + 'Mix of keys including non-existent' => [ 'keys' => [ 'shared_key_1', '@shared_key_1', '@@shared_key_2', '@@@shared_key_2', '@@@@@@@@@shared_key_3', - 'non_existant_source_key', - '@non_existant_destination_key', + 'non_existent_source_key', + '@non_existent_destination_key', ], 'values' => [ 'source_shared_value_1', diff --git a/web/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php b/web/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php index 66ffedddcecb11d2d6cdefd97f2aba5ea86af452..c0669bbf8cbe9046557bb01431d039595ea751d2 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php @@ -35,7 +35,7 @@ public function testTransform() { 'Foo' => 'Bar', 'foo bar' => 'bar foo', ]; - $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($value, $expected); } @@ -48,7 +48,7 @@ public function testNonExistentKey() { ]; $this->expectException(MigrateException::class); $this->expectExceptionMessage("The key 'foo' does not exist"); - $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -60,7 +60,7 @@ public function testNonExistentValue() { ]; $this->expectException(MigrateException::class); $this->expectExceptionMessage("The key 'bar' does not exist"); - $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -70,7 +70,7 @@ public function testOneDimensionalArrayInput() { $source = ['foo' => 'bar']; $this->expectException(MigrateException::class); $this->expectExceptionMessage('The input should be an array of arrays'); - $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -80,7 +80,7 @@ public function testStringInput() { $source = 'foo'; $this->expectException(MigrateException::class); $this->expectExceptionMessage('The input should be an array of arrays'); - $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php b/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php index 260e9a7a20aaa1b447cd7c8d1b07792e99c14aa2..b34ce15b4b24398f4eb4d1b0e52126290063d615 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php @@ -19,7 +19,7 @@ class CallbackTest extends MigrateProcessTestCase { public function testCallback($callable) { $configuration = ['callable' => $callable]; $this->plugin = new Callback($configuration, 'map', []); - $value = $this->plugin->transform('FooBar', $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform('FooBar', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('foobar', $value); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php index 6f6181d84db493885a8aab7afe2cc36a90bb1fb1..cfca12cda727ce39a84e2215938d26280ac0def7 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php @@ -29,7 +29,7 @@ protected function setUp() { * Test concat works without a delimiter. */ public function testConcatWithoutDelimiter() { - $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('foobar', $value); } @@ -38,7 +38,7 @@ public function testConcatWithoutDelimiter() { */ public function testConcatWithNonArray() { $this->expectException(MigrateException::class); - $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -46,7 +46,7 @@ public function testConcatWithNonArray() { */ public function testConcatWithDelimiter() { $this->plugin->setDelimiter('_'); - $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('foo_bar', $value); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php b/web/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php index 85496f9d5b661c22703426b8b4800ba9780cba41..82fb728c7a7a6be3ab7db7ab937acb7a61c5e8fc 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php @@ -21,7 +21,7 @@ class DefaultValueTest extends MigrateProcessTestCase { */ public function testDefaultValue($configuration, $expected_value, $value) { $process = new DefaultValue($configuration, 'default_value', []); - $value = $process->transform($value, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $process->transform($value, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($expected_value, $value); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php b/web/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php index 2d3f0be3206bc43eb53f84cc47286e93a276f5d3..1ad8ab79969fc81e59c0c28f5e1abcba4a2c3850 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php @@ -28,7 +28,7 @@ protected function setUp() { * Test explode transform process works. */ public function testTransform() { - $value = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(['foo', 'bar', 'tik'], $value); } @@ -37,7 +37,7 @@ public function testTransform() { */ public function testTransformLimit() { $plugin = new Explode(['delimiter' => '_', 'limit' => 2], 'map', []); - $value = $plugin->transform('foo_bar_tik', $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $plugin->transform('foo_bar_tik', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(['foo', 'bar_tik'], $value); } @@ -45,10 +45,10 @@ public function testTransformLimit() { * Test if the explode process can be chained with a handles_multiple process. */ public function testChainedTransform() { - $exploded = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destinationproperty'); + $exploded = $this->plugin->transform('foo,bar,tik', $this->migrateExecutable, $this->row, 'destination_property'); $concat = new Concat([], 'map', []); - $concatenated = $concat->transform($exploded, $this->migrateExecutable, $this->row, 'destinationproperty'); + $concatenated = $concat->transform($exploded, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('foobartik', $concatenated); } @@ -58,7 +58,7 @@ public function testChainedTransform() { public function testExplodeWithNonString() { $this->expectException(MigrateException::class); $this->expectExceptionMessage('is not a string'); - $this->plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -69,7 +69,7 @@ public function testExplodeWithNonString() { public function testExplodeWithNonStrictAndEmptySource($value, $expected) { $plugin = new Explode(['delimiter' => '|', 'strict' => FALSE], 'map', []); - $processed = $plugin->transform($value, $this->migrateExecutable, $this->row, 'destinationproperty'); + $processed = $plugin->transform($value, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($expected, $processed); } @@ -96,7 +96,7 @@ public function testExplodeWithNonStrictAndNonCastable() { $plugin = new Explode(['delimiter' => '|', 'strict' => FALSE], 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('cannot be casted to a string'); - $processed = $plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $processed = $plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(['foo'], $processed); } @@ -106,7 +106,7 @@ public function testExplodeWithNonStrictAndNonCastable() { */ public function testExplodeWithStrictAndEmptyString() { $plugin = new Explode(['delimiter' => '|'], 'map', []); - $processed = $plugin->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + $processed = $plugin->transform('', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame([''], $processed); } @@ -117,7 +117,7 @@ public function testExplodeWithEmptyDelimiter() { $this->expectException(MigrateException::class); $this->expectExceptionMessage('delimiter is empty'); $plugin = new Explode(['delimiter' => ''], 'map', []); - $plugin->transform('foo,bar', $this->migrateExecutable, $this->row, 'destinationproperty'); + $plugin->transform('foo,bar', $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php b/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php index 2af2dc3b783113f0dabd417035855defe3821f7a..d7f86aef374d7837997b905ba993ea53dd6c4ecf 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php @@ -24,7 +24,7 @@ protected function setUp() { * Tests successful extraction. */ public function testExtract() { - $value = $this->plugin->transform(['foo' => 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(['foo' => 'bar'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('bar', $value); } @@ -34,7 +34,7 @@ public function testExtract() { public function testExtractFromString() { $this->expectException(MigrateException::class); $this->expectExceptionMessage('Input should be an array.'); - $this->plugin->transform('bar', $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform('bar', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -43,7 +43,7 @@ public function testExtractFromString() { public function testExtractFail() { $this->expectException(MigrateException::class); $this->expectExceptionMessage('Array index missing, extraction failed.'); - $this->plugin->transform(['bar' => 'foo'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform(['bar' => 'foo'], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -51,7 +51,7 @@ public function testExtractFail() { */ public function testExtractFailDefault() { $plugin = new Extract(['index' => ['foo'], 'default' => 'test'], 'map', []); - $value = $plugin->transform(['bar' => 'foo'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $plugin->transform(['bar' => 'foo'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('test', $value, ''); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php b/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php index 496cf92216667902702c13d155600eb248a52a44..899644f5aeb9999a508987c195b852647ef195cf 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php @@ -16,7 +16,7 @@ class FlattenTest extends MigrateProcessTestCase { */ public function testFlatten() { $plugin = new Flatten([], 'flatten', []); - $flattened = $plugin->transform([1, 2, [3, 4, [5]], [], [7, 8]], $this->migrateExecutable, $this->row, 'destinationproperty'); + $flattened = $plugin->transform([1, 2, [3, 4, [5]], [], [7, 8]], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame([1, 2, 3, 4, 5, 7, 8], $flattened); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/GetTest.php b/web/core/modules/migrate/tests/src/Unit/process/GetTest.php index bc9065c63e7b418f3a81483ee9abb17b10bd5731..bb6c177019a7a825489391a0237c09a887668fad 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/GetTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/GetTest.php @@ -20,7 +20,7 @@ public function testTransformSourceString() { ->with('test') ->will($this->returnValue('source_value')); $this->plugin = new Get(['source' => 'test'], '', []); - $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('source_value', $value); } @@ -38,7 +38,7 @@ public function testTransformSourceArray() { ->will($this->returnCallback(function ($argument) use ($map) { return $map[$argument]; })); - $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(['source_value1', 'source_value2'], $value); } @@ -51,7 +51,7 @@ public function testTransformSourceStringAt() { ->with('@@test') ->will($this->returnValue('source_value')); $this->plugin = new Get(['source' => '@@test'], '', []); - $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('source_value', $value); } @@ -71,7 +71,7 @@ public function testTransformSourceArrayAt() { ->will($this->returnCallback(function ($argument) use ($map) { return $map[$argument]; })); - $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(['source_value1', 'source_value2', 'source_value3', 'source_value4'], $value); } @@ -86,7 +86,7 @@ public function testIntegerValues($source, $expected_value) { ->willReturnOnConsecutiveCalls('val1', 'val2'); $this->plugin = new Get(['source' => $source], '', []); - $return = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty'); + $return = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($expected_value, $return); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php b/web/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php index 5bc91587bbaa591c7f82dd59e96d59f49637f533..06aa4024e89b0734598b14d94ddf2ba61b336f74 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php @@ -54,7 +54,7 @@ public function testMachineNames() { ->will($this->returnValue($human_name_ascii . 'aeo')); $plugin = new MachineName([], 'machine_name', [], $this->transliteration); - $value = $plugin->transform($human_name, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $plugin->transform($human_name, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertEquals($expected_result, $value); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php b/web/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php index d207be0c06e6b6a06c6e15b9e2bcd9f9d16a1925..11bcade24f2c3be1179a9580a302b47be95fb248 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php @@ -72,7 +72,7 @@ public function testTransformException() { $plugin = new MenuLinkParent([], 'map', [], $this->migrateLookup->reveal(), $this->menuLinkManager->reveal(), $this->menuLinkStorage->reveal(), $this->migration->reveal()); $this->expectException(MigrateSkipRowException::class); $this->expectExceptionMessage("No parent link found for plid '1' in menu 'admin'."); - $plugin->transform([1, 'admin', NULL], $this->migrateExecutable, $this->row, 'destinationproperty'); + $plugin->transform([1, 'admin', NULL], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -92,7 +92,7 @@ public function testTransformExternal() { $this->menuLinkManager->createInstance('menu_link_content:fe151460-dfa2-4133-8864-c1746f28ab27')->willReturn($plugin->reveal()); $plugin = new MenuLinkParent([], 'map', [], $this->migrateLookup->reveal(), $this->menuLinkManager->reveal(), $this->menuLinkStorage->reveal(), $this->migration->reveal()); - $result = $plugin->transform([1, 'admin', 'http://example.com'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $result = $plugin->transform([1, 'admin', 'http://example.com'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertEquals('menu_link_content:fe151460-dfa2-4133-8864-c1746f28ab27', $result); } diff --git a/web/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php b/web/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php index 8779be98fa95b736f1683a8fab65e0c443f7e512..6641a1deb6dde7ffc4381318aeb772eccfa2b520 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php @@ -21,7 +21,7 @@ class NullCoalesceTest extends MigrateProcessTestCase { */ public function testExceptionOnInvalidValue() { $this->expectException(MigrateException::class); - (new NullCoalesce([], 'null_coalesce', []))->transform('invalid', $this->migrateExecutable, $this->row, 'destinationproperty'); + (new NullCoalesce([], 'null_coalesce', []))->transform('invalid', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -40,7 +40,7 @@ public function testExceptionOnInvalidValue() { */ public function testTransform(array $source, $expected_result) { $plugin = new NullCoalesce([], 'null_coalesce', []); - $result = $plugin->transform($source, $this->migrateExecutable, $this->row, 'destinationproperty'); + $result = $plugin->transform($source, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($expected_result, $result); } @@ -83,10 +83,10 @@ public function transformDataProvider() { */ public function testTransformWithDefault() { $plugin = new NullCoalesce(['default_value' => 'default'], 'null_coalesce', []); - $result = $plugin->transform([NULL, NULL, 'Test', 'Test 2'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $result = $plugin->transform([NULL, NULL, 'Test', 'Test 2'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('Test', $result); - $this->assertSame('default', $plugin->transform([NULL, NULL], $this->migrateExecutable, $this->row, 'destinationproperty')); + $this->assertSame('default', $plugin->transform([NULL, NULL], $this->migrateExecutable, $this->row, 'destination_property')); } } diff --git a/web/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php b/web/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php index 56e85cd4a2116f3c04d9f28ace667102f1f4f763..0f2ddf8e00ece10188b5e3e61cf932ac749232ca 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php @@ -21,7 +21,7 @@ public function testProcessSkipsOnEmpty() { $configuration['method'] = 'process'; $this->expectException(MigrateSkipProcessException::class); (new SkipOnEmpty($configuration, 'skip_on_empty', [])) - ->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + ->transform('', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -30,7 +30,7 @@ public function testProcessSkipsOnEmpty() { public function testProcessBypassesOnNonEmpty() { $configuration['method'] = 'process'; $value = (new SkipOnEmpty($configuration, 'skip_on_empty', [])) - ->transform(' ', $this->migrateExecutable, $this->row, 'destinationproperty'); + ->transform(' ', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(' ', $value); } @@ -41,7 +41,7 @@ public function testRowSkipsOnEmpty() { $configuration['method'] = 'row'; $this->expectException(MigrateSkipRowException::class); (new SkipOnEmpty($configuration, 'skip_on_empty', [])) - ->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + ->transform('', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -50,7 +50,7 @@ public function testRowSkipsOnEmpty() { public function testRowBypassesOnNonEmpty() { $configuration['method'] = 'row'; $value = (new SkipOnEmpty($configuration, 'skip_on_empty', [])) - ->transform(' ', $this->migrateExecutable, $this->row, 'destinationproperty'); + ->transform(' ', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(' ', $value); } @@ -65,7 +65,7 @@ public function testRowSkipWithoutMessage() { ]; $process = new SkipOnEmpty($configuration, 'skip_on_empty', []); $this->expectException(MigrateSkipRowException::class); - $process->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + $process->transform('', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -81,7 +81,7 @@ public function testRowSkipWithMessage() { $process = new SkipOnEmpty($configuration, 'skip_on_empty', []); $this->expectException(MigrateSkipRowException::class); $this->expectExceptionMessage('The value is empty'); - $process->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + $process->transform('', $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php b/web/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php index 21c8aa0710c242ff35b4d6c2511c0f59f8192249..acd33d3d778a8324f2d3ce9f0fa13f58b3b2e85e 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php @@ -24,7 +24,7 @@ public function testRowSkipWithoutMessage() { ]; $process = new SkipRowIfNotSet($configuration, 'skip_row_if_not_set', []); $this->expectException(MigrateSkipRowException::class); - $process->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + $process->transform('', $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -40,7 +40,7 @@ public function testRowSkipWithMessage() { $process = new SkipRowIfNotSet($configuration, 'skip_row_if_not_set', []); $this->expectException(MigrateSkipRowException::class); $this->expectExceptionMessage("The 'some_key' key is not set"); - $process->transform('', $this->migrateExecutable, $this->row, 'destinationproperty'); + $process->transform('', $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php b/web/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php index cc77c393cd14816339d21a50869e353af14a9b06..bcf1bd77a4dcd88c12faf3fdd692dc2166bf4c20 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php @@ -27,7 +27,7 @@ protected function setUp() { * Tests map when the source is a string. */ public function testMapWithSourceString() { - $value = $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform('foo', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame(['bar' => 'baz'], $value); } @@ -35,7 +35,7 @@ public function testMapWithSourceString() { * Tests map when the source is a list. */ public function testMapWithSourceList() { - $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('baz', $value); } @@ -44,7 +44,7 @@ public function testMapWithSourceList() { */ public function testMapwithEmptySource() { $this->expectException(MigrateException::class); - $this->plugin->transform([], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform([], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -52,8 +52,8 @@ public function testMapwithEmptySource() { */ public function testMapwithInvalidSource() { $this->expectException(MigrateSkipRowException::class); - $this->expectExceptionMessage(sprintf("No static mapping found for '%s' and no default value provided for destination '%s'.", Variable::export(['bar']), 'destinationproperty')); - $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->expectExceptionMessage(sprintf("No static mapping found for '%s' and no default value provided for destination '%s'.", Variable::export(['bar']), 'destination_property')); + $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -63,7 +63,7 @@ public function testMapWithInvalidSourceWithADefaultValue() { $configuration['map']['foo']['bar'] = 'baz'; $configuration['default_value'] = 'test'; $this->plugin = new StaticMap($configuration, 'map', []); - $value = $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame('test', $value); } @@ -74,7 +74,7 @@ public function testMapWithInvalidSourceWithANullDefaultValue() { $configuration['map']['foo']['bar'] = 'baz'; $configuration['default_value'] = NULL; $this->plugin = new StaticMap($configuration, 'map', []); - $value = $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destination_property'); $this->assertNull($value); } @@ -88,7 +88,7 @@ public function testMapWithInvalidSourceAndBypass() { $this->plugin = new StaticMap($configuration, 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('Setting both default_value and bypass is invalid.'); - $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform(['bar'], $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php b/web/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php index 0d2ea5823728b8f688beff6069af0c2717ed3b22..c7edcbecfb2352b770fc3c86bbcc1fa1c8a0a5ef 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php @@ -125,4 +125,73 @@ public function providerTestSubProcess() { ]; } + /** + * Tests the sub_process process plugin. + * + * @dataProvider providerTestNotFoundSubProcess + */ + public function testNotFoundSubProcess($process_configuration, $source_values = []) { + $migration = $this->getMigration(); + // Set up the properties for the sub_process. + $plugin = new SubProcess($process_configuration, 'sub_process', []); + // Manually create the plugins. Migration::getProcessPlugins does this + // normally but the plugin system is not available. + foreach ($process_configuration['process'] as $destination => $source) { + $sub_process_plugins[$destination][] = new Get(['source' => $source], 'get', []); + } + $migration->expects($this->at(1)) + ->method('getProcessPlugins') + ->willReturn($sub_process_plugins); + // Set up the key plugins. + if (array_key_exists('key', $process_configuration)) { + $key_plugin['key'][] = new Get(['source' => '@id'], 'get', []); + $migration->expects($this->at(2)) + ->method('getProcessPlugins') + ->will($this->returnValue($key_plugin)); + } + $event_dispatcher = $this->createMock(EventDispatcherInterface::class); + $migrate_executable = new MigrateExecutable($migration, $this->createMock(MigrateMessageInterface::class), $event_dispatcher); + + // The current value of the pipeline. + $current_value = [ + [ + 'source_foo' => 'test', + 'source_id' => NULL, + ] + $source_values, + ]; + // This is not used but the interface requires it, so create an empty row. + $row = new Row($source_values); + + // After transformation, check to make sure that source_foo and source_id's + // values ended up in the proper destinations, and that the value of the + // key (@id) is the same as the destination ID (42). + $new_value = $plugin->transform($current_value, $migrate_executable, $row, 'test'); + $this->assertArrayEquals([], $new_value); + } + + /** + * Data provider for testNotFoundSubProcess(). + */ + public function providerTestNotFoundSubProcess() { + return [ + 'no key' => [ + 'process configuration' => [ + 'process' => [ + 'foo' => 'source_foo', + ], + 'key' => '@id', + ], + ], + 'lookup returns NULL' => [ + 'process configuration' => [ + 'process' => [ + 'foo' => 'source_foo', + 'id' => 'source_id', + ], + 'key' => '@id', + ], + ], + ]; + } + } diff --git a/web/core/modules/migrate/tests/src/Unit/process/SubstrTest.php b/web/core/modules/migrate/tests/src/Unit/process/SubstrTest.php index 54ef1c2b21c938f2c8128bb651d3982d3e8d6506..934e5f16c25b8f9889fa2a44ded37c3e46f713fa 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/SubstrTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/SubstrTest.php @@ -30,7 +30,7 @@ public function testSubstr($start = NULL, $length = NULL, $expected = NULL) { $configuration['start'] = $start; $configuration['length'] = $length; $this->plugin = new Substr($configuration, 'map', []); - $value = $this->plugin->transform('Captain Janeway', $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform('Captain Janeway', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertSame($expected, $value); } @@ -62,7 +62,7 @@ public function testSubstrFail() { $this->plugin = new Substr($configuration, 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('The input value must be a string.'); - $this->plugin->transform(['Captain Janeway'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform(['Captain Janeway'], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -73,7 +73,7 @@ public function testStartIsString() { $this->plugin = new Substr($configuration, 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('The start position configuration value should be an integer. Omit this key to capture from the beginning of the string.'); - $this->plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destination_property'); } /** @@ -84,7 +84,7 @@ public function testLengthIsString() { $this->plugin = new Substr($configuration, 'map', []); $this->expectException(MigrateException::class); $this->expectExceptionMessage('The character length configuration value should be an integer. Omit this key to capture from the start position to the end of the string.'); - $this->plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destinationproperty'); + $this->plugin->transform(['foo'], $this->migrateExecutable, $this->row, 'destination_property'); } } diff --git a/web/core/modules/migrate_drupal/tests/fixtures/drupal7.php b/web/core/modules/migrate_drupal/tests/fixtures/drupal7.php index ce6569976c22a26250f150b58a685e3ad41c83d6..372ffa6d0b4f81f90a9929d70c2425b4f777b95a 100644 --- a/web/core/modules/migrate_drupal/tests/fixtures/drupal7.php +++ b/web/core/modules/migrate_drupal/tests/fixtures/drupal7.php @@ -5282,6 +5282,15 @@ 'data' => 'a:7:{s:5:"label";s:4:"tree";s:6:"widget";a:5:{s:6:"weight";s:2:"-3";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:1;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) +->values(array( + 'id' => '83', + 'field_id' => '1', + 'field_name' => 'comment_body', + 'entity_type' => 'comment', + 'bundle' => 'comment_node_et', + 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', + 'deleted' => '0', +)) ->execute(); $connection->schema()->createTable('field_data_body', array( 'fields' => array( diff --git a/web/core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php b/web/core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php index 4cab54d0eed20bb0e336953c0e4687f80bf174b1..bb90e06eaf85bfd639948d2e6280c925c2d6292a 100644 --- a/web/core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php +++ b/web/core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php @@ -283,7 +283,7 @@ public function testGetAllFields() { $this->assertArrayHasKey('user', $actual_fields['user']); $this->assertArrayHasKey('test_content_type', $actual_fields['node']); $this->assertCount(7, $actual_fields['node']); - $this->assertCount(6, $actual_fields['comment']); + $this->assertCount(7, $actual_fields['comment']); $this->assertCount(22, $actual_fields['node']['test_content_type']); foreach ($actual_fields as $entity_type_id => $bundles) { foreach ($bundles as $bundle => $fields) { diff --git a/web/core/modules/migrate_drupal_ui/src/Form/CredentialForm.php b/web/core/modules/migrate_drupal_ui/src/Form/CredentialForm.php index 3443db867c8c6865f6dabccdb2e980bb258c9991..54b431f9ff41c18bb3d6997d4bec0f194aa01d17 100644 --- a/web/core/modules/migrate_drupal_ui/src/Form/CredentialForm.php +++ b/web/core/modules/migrate_drupal_ui/src/Form/CredentialForm.php @@ -167,7 +167,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { ]; $form['source']['d6_source_base_path'] = [ '#type' => 'textfield', - '#title' => $this->t('Files directory'), + '#title' => $this->t('Document root for files'), '#description' => $this->t('To import files from your current Drupal site, enter a local file directory containing your site (e.g. /var/www/docroot), or your site address (for example http://example.com).'), '#states' => [ 'visible' => [ @@ -179,7 +179,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { $form['source']['source_base_path'] = [ '#type' => 'textfield', - '#title' => $this->t('Public files directory'), + '#title' => $this->t('Document root for public files'), '#description' => $this->t('To import public files from your current Drupal site, enter a local file directory containing your site (e.g. /var/www/docroot), or your site address (for example http://example.com).'), '#states' => [ 'visible' => [ @@ -191,7 +191,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { $form['source']['source_private_file_path'] = [ '#type' => 'textfield', - '#title' => $this->t('Private files directory'), + '#title' => $this->t('Document root for private files'), '#default_value' => '', '#description' => $this->t('To import private files from your current Drupal site, enter a local file directory containing your site (e.g. /var/www/docroot).'), '#states' => [ diff --git a/web/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php b/web/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php index 446a0913b3fc17534bea503ce0502e4d3cda7f08..965ba6694e782c38645d1d8a642188a12589005d 100644 --- a/web/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php +++ b/web/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php @@ -100,11 +100,11 @@ public function testMigrateUpgradeExecute() { } $this->drupalPostForm(NULL, $paths + $edits, t('Review upgrade')); if ($version == 6) { - $session->responseContains('Failed to read from Files directory.'); + $session->responseContains('Failed to read from Document root for files.'); } else { - $session->responseContains('Failed to read from Public files directory.'); - $session->responseContains('Failed to read from Private files directory.'); + $session->responseContains('Failed to read from Document root for public files.'); + $session->responseContains('Failed to read from Document root for private files.'); } // Restart the upgrade process. diff --git a/web/core/modules/node/node.api.php b/web/core/modules/node/node.api.php index 54013ffdcbd1c59d61da4c343f09b2d75679c40e..8461d91139f67918ab05a6b13a2524ce1cdf223d 100644 --- a/web/core/modules/node/node.api.php +++ b/web/core/modules/node/node.api.php @@ -8,7 +8,6 @@ use Drupal\node\NodeInterface; use Drupal\Component\Utility\Html; use Drupal\Component\Utility\Xss; -use Drupal\Core\Access\AccessResult; /** * @addtogroup hooks @@ -286,79 +285,6 @@ function hook_node_grants_alter(&$grants, \Drupal\Core\Session\AccountInterface } } -/** - * Controls access to a node. - * - * Modules may implement this hook if they want to have a say in whether or not - * a given user has access to perform a given operation on a node. - * - * The administrative account (user ID #1) always passes any access check, so - * this hook is not called in that case. Users with the "bypass node access" - * permission may always view and edit content through the administrative - * interface. - * - * The access to a node can be influenced in several ways: - * - To explicitly allow access, return an AccessResultInterface object with - * isAllowed() returning TRUE. Other modules can override this access by - * returning TRUE for isForbidden(). - * - To explicitly forbid access, return an AccessResultInterface object with - * isForbidden() returning TRUE. Access will be forbidden even if your module - * (or another module) also returns TRUE for isNeutral() or isAllowed(). - * - To neither allow nor explicitly forbid access, return an - * AccessResultInterface object with isNeutral() returning TRUE. - * - If your module does not return an AccessResultInterface object, neutral - * access will be assumed. - * - * Also note that this function isn't called for node listings (e.g., RSS feeds, - * the default home page at path 'node', a recent content block, etc.) See - * @link node_access Node access rights @endlink for a full explanation. - * - * @param \Drupal\node\NodeInterface|string $node - * Either a node entity or the machine name of the content type on which to - * perform the access check. - * @param string $op - * The operation to be performed. Possible values: - * - "create" - * - "delete" - * - "update" - * - "view" - * @param \Drupal\Core\Session\AccountInterface $account - * The user object to perform the access check operation on. - * - * @return \Drupal\Core\Access\AccessResultInterface - * The access result. - * - * @ingroup node_access - */ -function hook_node_access(\Drupal\node\NodeInterface $node, $op, \Drupal\Core\Session\AccountInterface $account) { - $type = $node->bundle(); - - switch ($op) { - case 'create': - return AccessResult::allowedIfHasPermission($account, 'create ' . $type . ' content'); - - case 'update': - if ($account->hasPermission('edit any ' . $type . ' content')) { - return AccessResult::allowed()->cachePerPermissions(); - } - else { - return AccessResult::allowedIf($account->hasPermission('edit own ' . $type . ' content') && ($account->id() == $node->getOwnerId()))->cachePerPermissions()->cachePerUser()->addCacheableDependency($node); - } - - case 'delete': - if ($account->hasPermission('delete any ' . $type . ' content')) { - return AccessResult::allowed()->cachePerPermissions(); - } - else { - return AccessResult::allowedIf($account->hasPermission('delete own ' . $type . ' content') && ($account->id() == $node->getOwnerId()))->cachePerPermissions()->cachePerUser()->addCacheableDependency($node); - } - - default: - // No opinion. - return AccessResult::neutral(); - } -} - /** * Act on a node being displayed as a search result. * diff --git a/web/core/modules/node/node.module b/web/core/modules/node/node.module index 01a28cfaa0e44b18d626d2da8ce36cfab0bc0c16..9dd4f6e0735724524cfcde0f7cd34a6444d04a65 100644 --- a/web/core/modules/node/node.module +++ b/web/core/modules/node/node.module @@ -950,16 +950,16 @@ function node_form_system_themes_admin_form_submit($form, FormStateInterface $fo * @{ * The node access system determines who can do what to which nodes. * - * In determining access rights for a node, \Drupal\node\NodeAccessControlHandler - * first checks whether the user has the "bypass node access" permission. Such - * users have unrestricted access to all nodes. user 1 will always pass this - * check. + * In determining access rights for an existing node, + * \Drupal\node\NodeAccessControlHandler first checks whether the user has the + * "bypass node access" permission. Such users have unrestricted access to all + * nodes. user 1 will always pass this check. * - * Next, all implementations of hook_node_access() will be called. Each - * implementation may explicitly allow, explicitly forbid, or ignore the access - * request. If at least one module says to forbid the request, it will be - * rejected. If no modules deny the request and at least one says to allow it, - * the request will be permitted. + * Next, all implementations of hook_ENTITY_TYPE_access() for node will + * be called. Each implementation may explicitly allow, explicitly forbid, or + * ignore the access request. If at least one module says to forbid the request, + * it will be rejected. If no modules deny the request and at least one says to + * allow it, the request will be permitted. * * If all modules ignore the access request, then the node_access table is used * to determine access. All node access modules are queried using @@ -972,40 +972,42 @@ function node_form_system_themes_admin_form_submit($form, FormStateInterface $fo * * In node listings (lists of nodes generated from a select query, such as the * default home page at path 'node', an RSS feed, a recent content block, etc.), - * the process above is followed except that hook_node_access() is not called on - * each node for performance reasons and for proper functioning of the pager - * system. When adding a node listing to your module, be sure to use an entity - * query, which will add a tag of "node_access". This will allow modules dealing - * with node access to ensure only nodes to which the user has access are - * retrieved, through the use of hook_query_TAG_alter(). See the + * the process above is followed except that hook_ENTITY_TYPE_access() is not + * called on each node for performance reasons and for proper functioning of + * the pager system. When adding a node listing to your module, be sure to use + * an entity query, which will add a tag of "node_access". This will allow + * modules dealing with node access to ensure only nodes to which the user has + * access are retrieved, through the use of hook_query_TAG_alter(). See the * @link entity_api Entity API topic @endlink for more information on entity * queries. Tagging a query with "node_access" does not check the * published/unpublished status of nodes, so the base query is responsible * for ensuring that unpublished nodes are not displayed to inappropriate users. * * Note: Even a single module returning an AccessResultInterface object from - * hook_node_access() whose isForbidden() method equals TRUE will block access - * to the node. Therefore, implementers should take care to not deny access - * unless they really intend to. Unless a module wishes to actively forbid - * access it should return an AccessResultInterface object whose isAllowed() nor - * isForbidden() methods return TRUE, to allow other modules or the node_access - * table to control access. + * hook_ENTITY_TYPE_access() whose isForbidden() method equals TRUE will block + * access to the node. Therefore, implementers should take care to not deny + * access unless they really intend to. Unless a module wishes to actively + * forbid access it should return an AccessResultInterface object whose + * isAllowed() nor isForbidden() methods return TRUE, to allow other modules or + * the node_access table to control access. + * + * Note also that access to create nodes is handled by + * hook_ENTITY_TYPE_create_access(). * * To see how to write a node access module of your own, see * node_access_example.module. + * + * @see \Drupal\node\NodeAccessControlHandler */ /** - * Implements hook_node_access(). + * Implements hook_ENTITY_TYPE_access(). */ function node_node_access(NodeInterface $node, $op, AccountInterface $account) { $type = $node->bundle(); - $access = AccessResult::neutral(); + // Note create access is handled by hook_ENTITY_TYPE_create_access(). switch ($op) { - case 'create': - $access = AccessResult::allowedIfHasPermission($account, 'create ' . $type . ' content'); - case 'update': $access = AccessResult::allowedIfHasPermission($account, 'edit any ' . $type . ' content'); if (!$access->isAllowed() && $account->hasPermission('edit own ' . $type . ' content')) { @@ -1019,6 +1021,9 @@ function node_node_access(NodeInterface $node, $op, AccountInterface $account) { $access = $access->orIf(AccessResult::allowedIf($account->id() == $node->getOwnerId()))->cachePerUser()->addCacheableDependency($node); } break; + + default: + $access = AccessResult::neutral(); } return $access; diff --git a/web/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_uid.yml b/web/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_uid.yml index 19d5b7f2d83575a6a93cfcfac5724750aaf95261..195bc6db65a7e3917e6e0b96a797a3a8843d8b22 100644 --- a/web/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_uid.yml +++ b/web/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_uid.yml @@ -368,7 +368,15 @@ display: entity_type: node entity_field: revision_uid plugin_id: user_name - sorts: { } + sorts: + vid: + id: vid + table: node_field_revision + field: vid + order: ASC + plugin_id: field + entity_type: node + entity_field: vid header: { } footer: { } empty: { } diff --git a/web/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php b/web/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php index 4352c6c974c797506777d4c426289a45d4f52efc..548456f1c39b5c5b5822e2d9eae24c1c7a10b3bd 100644 --- a/web/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php @@ -82,7 +82,6 @@ protected function assertUserCacheContext(array $expected) { if ($uid > 0) { $this->drupalLogin($this->userMapping[$uid]); } - $this->pass('Asserting cache context for user ' . $uid . '.'); $this->assertIdentical($context, $this->container->get('cache_context.user.node_grants')->getContext('view')); } $this->drupalLogout(); diff --git a/web/core/modules/node/tests/src/Functional/NodeCreationTest.php b/web/core/modules/node/tests/src/Functional/NodeCreationTest.php index 1791bb0ab8d3ae723f1677d2e9e287cf07a0f564..faef2af13b3bab1c4b26143818c227e4c7baecc2 100644 --- a/web/core/modules/node/tests/src/Functional/NodeCreationTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeCreationTest.php @@ -111,7 +111,7 @@ public function testFailedPageCreation() { $this->fail('Expected exception has not been thrown.'); } catch (\Exception $e) { - $this->pass('Expected exception has been thrown.'); + // Expected exception; just continue testing. } if (Database::getConnection()->supportsTransactions()) { diff --git a/web/core/modules/node/tests/src/Functional/NodeRevisionsTest.php b/web/core/modules/node/tests/src/Functional/NodeRevisionsTest.php index d230613a3eb39d73770ab130157cfbc1e0dda82d..c1cf2f5bf64e06b5a7db34a775a9678c33531ccf 100644 --- a/web/core/modules/node/tests/src/Functional/NodeRevisionsTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeRevisionsTest.php @@ -197,8 +197,13 @@ public function testRevisions() { '%title' => $nodes[1]->label(), ]), 'Revision deleted.'); $connection = Database::getConnection(); - $this->assertTrue($connection->query('SELECT COUNT(vid) FROM {node_revision} WHERE nid = :nid and vid = :vid', [':nid' => $node->id(), ':vid' => $nodes[1]->getRevisionId()])->fetchField() == 0, 'Revision not found.'); - $this->assertTrue($connection->query('SELECT COUNT(vid) FROM {node_field_revision} WHERE nid = :nid and vid = :vid', [':nid' => $node->id(), ':vid' => $nodes[1]->getRevisionId()])->fetchField() == 0, 'Field revision not found.'); + $nids = \Drupal::entityQuery('node') + ->accessCheck(FALSE) + ->allRevisions() + ->condition('nid', $node->id()) + ->condition('vid', $nodes[1]->getRevisionId()) + ->execute(); + $this->assertCount(0, $nids); // Set the revision timestamp to an older date to make sure that the // confirmation message correctly displays the stored revision date. diff --git a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php index c4062b0731c801437cac26c9147a153062f6e483..e808266386174fb78a0ba8b127274add93b41532 100644 --- a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php @@ -55,7 +55,6 @@ public function testDisplayRevisionTab() { $this->drupalPlaceBlock('local_tasks_block'); $this->drupalLogin($this->editor); - $node_storage = $this->container->get('entity_type.manager')->getStorage('node'); // Set page revision setting 'create new revision'. This will mean new // revisions are created by default when the node is edited. diff --git a/web/core/modules/node/tests/src/Functional/NodeTranslationUITest.php b/web/core/modules/node/tests/src/Functional/NodeTranslationUITest.php index 5be412c332fed7138e5fb5226fb9574cfa1f8e83..d2decc4eadb5062c15795d5fefa8e0439a1292f1 100644 --- a/web/core/modules/node/tests/src/Functional/NodeTranslationUITest.php +++ b/web/core/modules/node/tests/src/Functional/NodeTranslationUITest.php @@ -371,7 +371,7 @@ public function testTranslationRendering() { $this->doTestTranslations('node/' . $node->id(), $values); // Test that the node page has the correct alternate hreflang links. - $this->doTestAlternateHreflangLinks($node->toUrl()); + $this->doTestAlternateHreflangLinks($node); } /** @@ -393,24 +393,35 @@ protected function doTestTranslations($path, array $values) { /** * Tests that the given path provides the correct alternate hreflang links. * - * @param \Drupal\Core\Url $url - * The path to be tested. + * @param \Drupal\node\Entity\Node $node + * The node to be tested. */ - protected function doTestAlternateHreflangLinks(Url $url) { + protected function doTestAlternateHreflangLinks(Node $node) { + $url = $node->toUrl(); $languages = $this->container->get('language_manager')->getLanguages(); $url->setAbsolute(); $urls = []; + $translations = []; foreach ($this->langcodes as $langcode) { $language_url = clone $url; $urls[$langcode] = $language_url->setOption('language', $languages[$langcode]); + $translations[$langcode] = $node->getTranslation($langcode); } foreach ($this->langcodes as $langcode) { - $this->drupalGet($urls[$langcode]); - foreach ($urls as $alternate_langcode => $language_url) { - // Retrieve desired link elements from the HTML head. - $links = $this->xpath('head/link[@rel = "alternate" and @href = :href and @hreflang = :hreflang]', - [':href' => $language_url->toString(), ':hreflang' => $alternate_langcode]); - $this->assert(isset($links[0]), new FormattableMarkup('The %langcode node translation has the correct alternate hreflang link for %alternate_langcode: %link.', ['%langcode' => $langcode, '%alternate_langcode' => $alternate_langcode, '%link' => $url->toString()])); + // Skip unpublished translations. + if ($translations[$langcode]->isPublished()) { + $this->drupalGet($urls[$langcode]); + foreach ($urls as $alternate_langcode => $language_url) { + // Retrieve desired link elements from the HTML head. + $links = $this->xpath('head/link[@rel = "alternate" and @href = :href and @hreflang = :hreflang]', + [':href' => $language_url->toString(), ':hreflang' => $alternate_langcode]); + if ($translations[$alternate_langcode]->isPublished()) { + $this->assert(isset($links[0]), new FormattableMarkup('The %langcode node translation has the correct alternate hreflang link for %alternate_langcode: %link.', ['%langcode' => $langcode, '%alternate_langcode' => $alternate_langcode, '%link' => $url->toString()])); + } + else { + $this->assertFalse(isset($links[0]), new FormattableMarkup('The %langcode node translation has an hreflang link for unpublished %alternate_langcode translation: %link.', ['%langcode' => $langcode, '%alternate_langcode' => $alternate_langcode, '%link' => $url->toString()])); + } + } } } } diff --git a/web/core/modules/node/tests/src/Functional/Views/BulkFormTest.php b/web/core/modules/node/tests/src/Functional/Views/BulkFormTest.php index 2e57f5e7e1e7cb033f073510527f85f69dd61963..3948922e94ee8ae3a0e53efe9e66926375c38803 100644 --- a/web/core/modules/node/tests/src/Functional/Views/BulkFormTest.php +++ b/web/core/modules/node/tests/src/Functional/Views/BulkFormTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\node\Functional\Views; -use Drupal\Component\Render\FormattableMarkup; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\views\Views; @@ -60,7 +59,6 @@ protected function setUp($import_test_views = TRUE) { 'promote' => FALSE, ]; $node = $this->drupalCreateNode($values); - $this->pass(new FormattableMarkup('Node %title created with language %langcode.', ['%title' => $node->label(), '%langcode' => $node->language()->getId()])); $this->nodes[] = $node; } @@ -71,7 +69,6 @@ protected function setUp($import_test_views = TRUE) { if (!$node->hasTranslation($langcode)) { $title = $this->randomMachineName() . ' [' . $node->id() . ':' . $langcode . ']'; $translation = $node->addTranslation($langcode, ['title' => $title, 'promote' => FALSE]); - $this->pass(new FormattableMarkup('Translation %title created with language %langcode.', ['%title' => $translation->label(), '%langcode' => $translation->language()->getId()])); } } $node->save(); @@ -82,7 +79,6 @@ protected function setUp($import_test_views = TRUE) { $langcode = 'en'; $title = $this->randomMachineName() . ' [' . $node->id() . ':' . $langcode . ']'; $translation = $node->addTranslation($langcode, ['title' => $title]); - $this->pass(new FormattableMarkup('Translation %title created with language %langcode.', ['%title' => $translation->label(), '%langcode' => $translation->language()->getId()])); $node->save(); // Check that all created translations are selected by the test view. diff --git a/web/core/modules/node/tests/src/Functional/Views/FrontPageTest.php b/web/core/modules/node/tests/src/Functional/Views/FrontPageTest.php index 208c0e97da11adcefb14747191a3c1993c0e3827..78c1327cfa555d111e7b737c337585da8b8bd2c8 100644 --- a/web/core/modules/node/tests/src/Functional/Views/FrontPageTest.php +++ b/web/core/modules/node/tests/src/Functional/Views/FrontPageTest.php @@ -187,7 +187,7 @@ public function testAdminFrontPage() { $this->drupalGet('node'); $this->assertSession()->statusCodeEquals(200); // Check that the frontpage view was rendered. - $this->assertPattern('/class=".+view-frontpage/', 'Frontpage view was rendered'); + $this->assertPattern('/class=".+view-frontpage/'); } /** @@ -304,7 +304,6 @@ protected function doTestFrontPageViewCacheTags($do_assert_views_caches) { 'timezone', ]); - $this->pass('First page'); // First page. $first_page_result_cache_tags = [ 'config:views.view.frontpage', @@ -344,7 +343,6 @@ protected function doTestFrontPageViewCacheTags($do_assert_views_caches) { ); // Second page. - $this->pass('Second page'); $this->assertPageCacheContextsAndTags(Url::fromRoute('view.frontpage.page_1', [], ['query' => ['page' => 1]]), $cache_contexts, [ // The cache tags for the listed nodes. 'node:1', diff --git a/web/core/modules/options/tests/src/Kernel/OptionsFieldTest.php b/web/core/modules/options/tests/src/Kernel/OptionsFieldTest.php index 6ed2fda2cb9ec1ff30793559e53a4721608ff875..ab17c61a60dcbeb7419478f94685cb9426e4cb36 100644 --- a/web/core/modules/options/tests/src/Kernel/OptionsFieldTest.php +++ b/web/core/modules/options/tests/src/Kernel/OptionsFieldTest.php @@ -43,7 +43,7 @@ public function testUpdateAllowedValues() { $this->fail('Cannot update a list field storage to not include keys with existing data.'); } catch (FieldStorageDefinitionUpdateForbiddenException $e) { - $this->pass('Cannot update a list field storage to not include keys with existing data.'); + // Expected exception; just continue testing. } // Empty the value, so that we can actually remove the option. unset($entity->{$this->fieldName}); diff --git a/web/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php b/web/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php index e260fb6834a3b044cc58d32d1aab5179d5fb2666..dc7b68f929ad31a8e05a3bfd84f142c046ec7725 100644 --- a/web/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php +++ b/web/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php @@ -115,7 +115,7 @@ public function testGetPathByAliasNoMatch() { * * @covers ::getPathByAlias */ - public function testGetPathByAliasNatch() { + public function testGetPathByAliasMatch() { $alias = $this->randomMachineName(); $path = $this->randomMachineName(); diff --git a/web/core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php b/web/core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php index aade6bc622a687ecb635b90b9878239823e949cb..fc08fd03986221de59d870c7056fb55954222bba 100644 --- a/web/core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php +++ b/web/core/modules/rdf/tests/src/Functional/GetRdfNamespacesTest.php @@ -61,7 +61,7 @@ public function testGetRdfNamespaces() { $this->fail('Expected exception not thrown for conflicting namespace declaration.'); } catch (\Exception $e) { - $this->pass('Expected exception thrown: ' . $e->getMessage()); + // Expected exception; just continue testing. } } diff --git a/web/core/modules/search/search.post_update.php b/web/core/modules/search/search.post_update.php index a6b1fd968b87c471350c1a8b3dcfe1fd10808a74..b9c1f6d7320b6d66c74330993d60991db73d8a14 100644 --- a/web/core/modules/search/search.post_update.php +++ b/web/core/modules/search/search.post_update.php @@ -22,3 +22,14 @@ function search_post_update_block_page(&$sandbox = NULL) { return $block->getPluginId() === 'search_form_block'; }); } + +/** + * Mark everything for reindexing after diacritics removal rule change. + */ +function search_post_update_reindex_after_diacritics_rule_change() { + $search_page_repository = \Drupal::service('search.search_page_repository'); + foreach ($search_page_repository->getIndexableSearchPages() as $entity) { + $entity->getPlugin()->markForReindex(); + } + return t("Content has been marked for re-indexing for all active search pages. Searching will continue to work, but new content won't be indexed until all existing content has been re-indexed."); +} diff --git a/web/core/modules/search/tests/src/Functional/SearchPageTextTest.php b/web/core/modules/search/tests/src/Functional/SearchPageTextTest.php index 62999854fee32e2535196f1148ca731da159a664..45ff04f9344c82560a13fe284be8ff7b43a35614 100644 --- a/web/core/modules/search/tests/src/Functional/SearchPageTextTest.php +++ b/web/core/modules/search/tests/src/Functional/SearchPageTextTest.php @@ -56,7 +56,7 @@ protected function setUp() { public function testSearchLabelXSS() { $this->drupalLogin($this->drupalCreateUser(['administer search'])); - $keys['label'] = '<script>alert("Dont Panic");</script>'; + $keys['label'] = '<script>alert("Don\'t Panic");</script>'; $this->drupalPostForm('admin/config/search/pages/manage/node_search', $keys, t('Save search page')); $this->drupalLogin($this->searchingUser); diff --git a/web/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php b/web/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php index 47c2be0344673097d25b9740c649583f05940820..483ad43efe5ea57966d83662ae7c1f98ccd266f4 100644 --- a/web/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php +++ b/web/core/modules/serialization/src/RegisterEntityResolversCompilerPass.php @@ -7,7 +7,7 @@ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; /** - * Adds services tagged 'normalizer' and 'encoder' to the Serializer. + * Adds services tagged 'entity_resolver' to the Serializer. */ class RegisterEntityResolversCompilerPass implements CompilerPassInterface { diff --git a/web/core/modules/serialization/tests/src/Kernel/SerializationTest.php b/web/core/modules/serialization/tests/src/Kernel/SerializationTest.php index a7ad145e65756d532de9cd022b5c433def714689..eefeef8ebc7111cb529c23700ffb023ec2246c79 100644 --- a/web/core/modules/serialization/tests/src/Kernel/SerializationTest.php +++ b/web/core/modules/serialization/tests/src/Kernel/SerializationTest.php @@ -48,7 +48,7 @@ public function testSerializerComponentRegistration() { $this->fail('The serializer was expected to throw an exception for an unsupported format, but did not.'); } catch (UnexpectedValueException $e) { - $this->pass('The serializer threw an exception for an unsupported format.'); + // Expected exception; just continue testing. } } diff --git a/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php b/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php index 07abf5fdbcbd47eadd3df99720237b382cc0e2db..bd9a394d3ebfe14c4da3522e1d0ddae49412d472 100644 --- a/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php +++ b/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php @@ -117,13 +117,13 @@ public function testLogging() { // Verify that logging scripts are found on a valid node page. $this->drupalGet($path); $settings = $this->getDrupalSettings(); - $this->assertPattern($expected_library, 'Found statistics library JS on node page.'); + $this->assertPattern($expected_library); $this->assertIdentical($this->node->id(), $settings['statistics']['data']['nid'], 'Found statistics settings on node page.'); // Verify the same when loading the site in a non-default language. $this->drupalGet($this->language['langcode'] . '/' . $path); $settings = $this->getDrupalSettings(); - $this->assertPattern($expected_library, 'Found statistics library JS on a valid node page in a non-default language.'); + $this->assertPattern($expected_library); $this->assertIdentical($this->node->id(), $settings['statistics']['data']['nid'], 'Found statistics settings on valid node page in a non-default language.'); // Manually call statistics.php to simulate ajax data collection behavior. diff --git a/web/core/modules/system/system.install b/web/core/modules/system/system.install index f8f9e5509d0fcd9cbe80a1caaa7d3c4ef2ea4cdb..abe796822a9d08414de238fdb6f84e9c91d74684 100644 --- a/web/core/modules/system/system.install +++ b/web/core/modules/system/system.install @@ -1306,7 +1306,7 @@ function system_requirements($phase) { if ($phase === 'install' || $phase === 'update') { if (\Drupal::moduleHandler()->moduleExists('pathauto')) { $info = \Drupal::service('extension.list.module')->getExtensionInfo('pathauto'); - if (version_compare($info['version'], '8.x-1.5') <= 0) { + if ($info['version'] && version_compare($info['version'], '8.x-1.5') <= 0) { $requirements['pathauto_module_incompatibility'] = [ 'title' => t('Pathauto'), 'description' => t('The Pathauto module is not compatible with the current version of Drupal core. Update the <a href=":url">Pathauto</a> module to 8.x-1.6 or later.', [ diff --git a/web/core/modules/system/system.module b/web/core/modules/system/system.module index ba714a4a4dc00b6d372a2d650ac7a22cbceba8e2..fdb9a61d390d090626aab38a8262c12ba2427ef1 100644 --- a/web/core/modules/system/system.module +++ b/web/core/modules/system/system.module @@ -869,10 +869,6 @@ function system_preprocess_block(&$variables) { ]; } break; - - case 'system_powered_by_block': - $variables['attributes']['role'] = 'complementary'; - break; } } diff --git a/web/core/modules/system/system.routing.yml b/web/core/modules/system/system.routing.yml index e0f497860e56f7dea4d4a14dd82694f27bd215e8..6a9c2087420afe77d4e3b0a0e06c6a8463be93a0 100644 --- a/web/core/modules/system/system.routing.yml +++ b/web/core/modules/system/system.routing.yml @@ -220,7 +220,7 @@ system.site_maintenance_mode: _form: '\Drupal\system\Form\SiteMaintenanceModeForm' _title: 'Maintenance mode' requirements: - _permission: 'administer site configuration' + _permission: 'administer site configuration+administer software updates' system.run_cron: path: '/admin/reports/status/run-cron' diff --git a/web/core/modules/system/tests/modules/database_test/database_test.install b/web/core/modules/system/tests/modules/database_test/database_test.install index e8094b2b2194a939683a0779ee60efdff92a20d2..ace4b3ffae6336e7937a33e5e1393d57e68e026d 100644 --- a/web/core/modules/system/tests/modules/database_test/database_test.install +++ b/web/core/modules/system/tests/modules/database_test/database_test.install @@ -333,6 +333,22 @@ function database_test_schema() { 'primary key' => ['id'], ]; + $schema['virtual'] = [ + 'description' => 'A simple table with reserved name in MySQL 8.', + 'fields' => [ + 'id' => [ + 'description' => 'Simple unique ID.', + 'type' => 'int', + 'not null' => TRUE, + ], + 'function' => [ + 'description' => 'A column with reserved name in MySQL 8.', + 'type' => 'text', + ], + ], + 'primary key' => ['id'], + ]; + $schema['TEST_UPPERCASE'] = $schema['test']; return $schema; diff --git a/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install b/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install index 2ab3e6b498ced634607ee9f77321a39e4d8497ee..552d6912c8739a7ce9ce4d13a7c7cf6a5e919864 100644 --- a/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install +++ b/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install @@ -17,6 +17,7 @@ function new_dependency_test_update_8001() { 'new_dependency_test.alias_dependency', 'new_dependency_test.alias2', 'new_dependency_test.alias_dependency2', + 'new_dependency_test.setter_injection', ]; // Gather the state of the services prior to installing the diff --git a/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml b/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml index a3283daea8d5d516d02fa03a192a55249b94d45d..1f1c4ca29a24bc03d066e0fdd64ca4e416f51d85 100644 --- a/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml +++ b/web/core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml @@ -34,3 +34,7 @@ services: decorates: new_dependency_test.another_service_two decoration_inner_name: new_dependency_test.foo arguments: ['@new_dependency_test.foo'] + new_dependency_test.setter_injection: + class: Drupal\new_dependency_test\SetterInjection + calls: + - [setter, ['@new_dependency_test_with_service.service']] diff --git a/web/core/modules/system/tests/modules/new_dependency_test/src/SetterInjection.php b/web/core/modules/system/tests/modules/new_dependency_test/src/SetterInjection.php new file mode 100644 index 0000000000000000000000000000000000000000..d74ee49de2f43b09ef73c5fd0a1356440b90621e --- /dev/null +++ b/web/core/modules/system/tests/modules/new_dependency_test/src/SetterInjection.php @@ -0,0 +1,39 @@ +<?php + +namespace Drupal\new_dependency_test; + +use Drupal\new_dependency_test_with_service\NewService; + +/** + * Generic service which uses setter injection. + */ +class SetterInjection { + + /** + * The injected service. + * + * @var \Drupal\new_dependency_test_with_service\NewService + */ + protected $service; + + /** + * SetterInjection constructor. + * + * @param \Drupal\new_dependency_test_with_service\NewService $service + * The service of the new module. + */ + public function setter(NewService $service) { + $this->service = $service; + } + + /** + * Get the simple greeting from the service. + * + * @return string + * The greeting. + */ + public function greet() { + return $this->service->greet(); + } + +} diff --git a/web/core/modules/system/tests/modules/session_test/session_test.routing.yml b/web/core/modules/system/tests/modules/session_test/session_test.routing.yml index 25a9321181ea7c5a0ab506a67c5415c6b02ed33f..ba7d08667ca37089df2c64f8fd467b6b005361c9 100644 --- a/web/core/modules/system/tests/modules/session_test/session_test.routing.yml +++ b/web/core/modules/system/tests/modules/session_test/session_test.routing.yml @@ -66,11 +66,11 @@ session_test.set_message: requirements: _access: 'TRUE' -session_test.set_message_but_dont_save: - path: '/session-test/set-message-but-dont-save' +session_test.set_message_but_do_not_save: + path: '/session-test/set-message-but-do-not-save' defaults: _title: 'Set message but do not save session' - _controller: '\Drupal\session_test\Controller\SessionTestController::setMessageButDontSave' + _controller: '\Drupal\session_test\Controller\SessionTestController::setMessageButDoNotSave' requirements: _access: 'TRUE' diff --git a/web/core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php b/web/core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php index 95be208a3ed26d15160400fa6e059dd128e4512b..7acc00dfd8580196786a4eccd362c0470949a223 100644 --- a/web/core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php +++ b/web/core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php @@ -124,7 +124,7 @@ public function setMessage() { * @return string * A notification message. */ - public function setMessageButDontSave() { + public function setMessageButDoNotSave() { \Drupal::service('session_handler.write_safe')->setSessionWritable(FALSE); $this->setMessage(); return ['#markup' => '']; diff --git a/web/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php b/web/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php index 634c8859b8651cb60b2e549b98e3fedb75ea5dd7..d3929e372716f6d1823cc33edb8d10e9aae78648 100644 --- a/web/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php +++ b/web/core/modules/system/tests/src/Functional/Batch/ProcessingTest.php @@ -221,7 +221,7 @@ public function testBatchLargePercentage() { */ public function assertBatchMessages($texts, $message) { $pattern = '|' . implode('.*', $texts) . '|s'; - return $this->assertPattern($pattern, $message); + return $this->assertPattern($pattern); } /** diff --git a/web/core/modules/system/tests/src/Functional/Common/UrlTest.php b/web/core/modules/system/tests/src/Functional/Common/UrlTest.php index 693dc0162caa62cbf5cdd2f65ca44b7e158a1709..75384a68e35f8accdbe200a1c6024d9b0c065023 100644 --- a/web/core/modules/system/tests/src/Functional/Common/UrlTest.php +++ b/web/core/modules/system/tests/src/Functional/Common/UrlTest.php @@ -71,7 +71,6 @@ public function testLinkBubbleableMetadata() { '#url' => Url::fromUri($uri), ]; \Drupal::service('renderer')->renderRoot($link); - $this->pass($title); $this->assertEqual($expected_cacheability, $link['#cache']); $this->assertEqual($expected_attachments, $link['#attached']); } diff --git a/web/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php b/web/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php index 7d0b2ecce36b4b48af018ff29219ed77fa069d20..350d14530223939d1ba282af449d49d3609389c5 100644 --- a/web/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php +++ b/web/core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php @@ -227,14 +227,18 @@ protected function updateEntityTypeToRevisionableAndTranslatable($perform_update * @param bool $is_revisionable * (optional) If the base field should be revisionable or not. Defaults to * FALSE. - * @param bool $set_label + * @param bool $set_label * (optional) If the base field should have a label or not. Defaults to * TRUE. + * @param bool $is_translatable + * (optional) If the base field should be translatable or not. Defaults to + * FALSE. */ - protected function addBaseField($type = 'string', $entity_type_id = 'entity_test_update', $is_revisionable = FALSE, $set_label = TRUE) { + protected function addBaseField($type = 'string', $entity_type_id = 'entity_test_update', $is_revisionable = FALSE, $set_label = TRUE, $is_translatable = FALSE) { $definitions['new_base_field'] = BaseFieldDefinition::create($type) ->setName('new_base_field') - ->setRevisionable($is_revisionable); + ->setRevisionable($is_revisionable) + ->setTranslatable($is_translatable); if ($set_label) { $definitions['new_base_field']->setLabel(t('A new base field')); diff --git a/web/core/modules/system/tests/src/Functional/Form/StorageTest.php b/web/core/modules/system/tests/src/Functional/Form/StorageTest.php index 8707c5e02e03994c782b1ab52034cd71909fb6bd..d503ba6a3817d8864ef43bd3b221156cb2a82611 100644 --- a/web/core/modules/system/tests/src/Functional/Form/StorageTest.php +++ b/web/core/modules/system/tests/src/Functional/Form/StorageTest.php @@ -101,7 +101,8 @@ public function testFormCached() { */ public function testValidation() { $this->drupalPostForm('form_test/form-storage', ['title' => '', 'value' => 'value_is_set'], 'Continue submit'); - $this->assertPattern('/value_is_set/', 'The input values have been kept.'); + // Ensure that the input values have been kept. + $this->assertPattern('/value_is_set/'); } /** diff --git a/web/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php b/web/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php index bccc4f5322191f65d1cdf2ecc3ea37322e69011b..a310c632e73c104ad4d1097b95c26a19871dff09 100644 --- a/web/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php +++ b/web/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php @@ -57,15 +57,12 @@ protected function assertHtmlToText($html, $text, $message, $allowed_tags = NULL $tested_tags = implode(', ', array_unique($matches[1])); $message .= ' (' . $tested_tags . ')'; $result = MailFormatHelper::htmlToText($html, $allowed_tags); - $pass = $this->assertEqual($result, $text, Html::escape($message)); + $this->assertEqual($result, $text, Html::escape($message)); $verbose = 'html = <pre>' . $this->stringToHtml($html) . '</pre><br />result = <pre>' . $this->stringToHtml($result) . '</pre><br />expected = <pre>' . $this->stringToHtml($text) . '</pre>'; $this->verbose($verbose); - if (!$pass) { - $this->pass("Previous test verbose info:<br />$verbose"); - } } /** diff --git a/web/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php b/web/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php index e0fd44abb80f953b48897c3a434c9585615802ee..3af0d6fa95b58396c0c476486c2b6655dc77728a 100644 --- a/web/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php +++ b/web/core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\system\Functional\Menu; -use Drupal\Component\Render\FormattableMarkup; use Drupal\Component\Utility\Html; use Drupal\Core\Url; use Drupal\Tests\BrowserTestBase; @@ -61,12 +60,7 @@ protected function assertLocalTasks(array $routes, $level = 0) { foreach ($routes as $index => $route_info) { list($route_name, $route_parameters) = $route_info; $expected = Url::fromRoute($route_name, $route_parameters)->toString(); - $method = ($elements[$index]->getAttribute('href') == $expected ? 'pass' : 'fail'); - $this->{$method}(new FormattableMarkup('Task @number href @value equals @expected.', [ - '@number' => $index + 1, - '@value' => $elements[$index]->getAttribute('href'), - '@expected' => $expected, - ])); + $this->assertEquals($expected, $elements[$index]->getAttribute('href'), "Task " . ($index + 1) . "number href " . $elements[$index]->getAttribute('href') . " equals $expected."); } } diff --git a/web/core/modules/system/tests/src/Functional/Module/InstallTest.php b/web/core/modules/system/tests/src/Functional/Module/InstallTest.php index 0d012f9d7003b9bec2829fb5846b5f0c3ba49103..1fb619ff26e08973202ab57e2c3fcfb11cae46db 100644 --- a/web/core/modules/system/tests/src/Functional/Module/InstallTest.php +++ b/web/core/modules/system/tests/src/Functional/Module/InstallTest.php @@ -82,8 +82,8 @@ public function testModuleNameLength() { $this->container->get('module_installer')->install([$module_name]); $this->fail($message); } - catch (ExtensionNameLengthException $e) { - $this->pass($message); + catch (\Exception $e) { + $this->assertInstanceOf(ExtensionNameLengthException::class, $e); } // Since for the UI, the submit callback uses FALSE, test that too. @@ -92,8 +92,8 @@ public function testModuleNameLength() { $this->container->get('module_installer')->install([$module_name], FALSE); $this->fail($message); } - catch (ExtensionNameLengthException $e) { - $this->pass($message); + catch (\Exception $e) { + $this->assertInstanceOf(ExtensionNameLengthException::class, $e); } } diff --git a/web/core/modules/system/tests/src/Functional/Module/UninstallTest.php b/web/core/modules/system/tests/src/Functional/Module/UninstallTest.php index fbec6c1e57d4ed05a447e332417e7dcee6a1005d..fff4c93dbcbd7fcb7e74108e2e299c186f774b52 100644 --- a/web/core/modules/system/tests/src/Functional/Module/UninstallTest.php +++ b/web/core/modules/system/tests/src/Functional/Module/UninstallTest.php @@ -157,7 +157,7 @@ public function testFailedInstallStatus() { $this->fail($message); } catch (EntityMalformedException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Even though the module failed to install properly, its configuration diff --git a/web/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php b/web/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php index a0f3caff88ffa871586e1f42e270de18c072c9e7..41e5327b56101c6102df57f2a6f16a308d28a40d 100644 --- a/web/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php +++ b/web/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php @@ -26,7 +26,7 @@ class UpcastingTest extends BrowserTestBase { * signature: f($user, $node, $foo) returning either values or labels * like "user: Dries, node: First post, foo: bar" * - * The tests shuffle the parameters around an checks if the right thing is + * The test shuffles the parameters around and checks if the right thing is * happening. */ public function testUpcasting() { diff --git a/web/core/modules/system/tests/src/Functional/Routing/RouterTest.php b/web/core/modules/system/tests/src/Functional/Routing/RouterTest.php index 63536c52558252d7630277743a9f805f7e683db9..705075812b34d6311bc78479a50b312dba6c0543 100644 --- a/web/core/modules/system/tests/src/Functional/Routing/RouterTest.php +++ b/web/core/modules/system/tests/src/Functional/Routing/RouterTest.php @@ -307,7 +307,7 @@ public function testRouterUninstallInstall() { $this->fail('Route was delete on uninstall.'); } catch (RouteNotFoundException $e) { - $this->pass('Route was delete on uninstall.'); + // Expected exception; just continue testing. } // Install the module again. \Drupal::service('module_installer')->install(['router_test']); diff --git a/web/core/modules/system/tests/src/Functional/Session/SessionTest.php b/web/core/modules/system/tests/src/Functional/Session/SessionTest.php index e0b20e7bed22b466ac88b6cb73d68f0db10919af..aa34664bd1b623792a664fad6fdca3e0810462ac 100644 --- a/web/core/modules/system/tests/src/Functional/Session/SessionTest.php +++ b/web/core/modules/system/tests/src/Functional/Session/SessionTest.php @@ -213,7 +213,7 @@ public function testEmptyAnonymousSession() { $this->assertNull($this->drupalGetHeader('Set-Cookie'), 'New session was not started.'); // Verify that no session is created if drupal_save_session(FALSE) is called. - $this->drupalGet('session-test/set-message-but-dont-save'); + $this->drupalGet('session-test/set-message-but-do-not-save'); $this->assertSessionCookie(FALSE); $this->assertSessionEmpty(TRUE); diff --git a/web/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php b/web/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php index d7d2474b59c7857d170675077ecd872e123b62fa..9f1541eb060d660e8178b25c66081060adb0449c 100644 --- a/web/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php +++ b/web/core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php @@ -161,7 +161,6 @@ public function testNonHtmlRequest() { \Drupal::state()->set('system.maintenance_mode', TRUE); $formats = ['json', 'xml', 'non-existing']; foreach ($formats as $format) { - $this->pass('Testing format ' . $format); $this->drupalGet('<front>', ['query' => ['_format' => $format]]); $this->assertSession()->statusCodeEquals(503); $this->assertRaw('Drupal is currently under maintenance. We should be back shortly. Thank you for your patience.'); diff --git a/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php b/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php index 6830c3b7f5a55eaaa44c6e7bd48579b43691d9d7..e8eab8372bad7e8e8c5d86dd3dd58a67befbb62a 100644 --- a/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php +++ b/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php @@ -55,6 +55,7 @@ public function testUpdateNewDependency() { $this->assertEquals('Hello', $this->container->get('new_dependency_test.alias')->greet()); $this->assertEquals('Hello World', $this->container->get('new_dependency_test.hard_dependency')->greet()); $this->assertEquals('Hello World', $this->container->get('new_dependency_test.optional_dependency')->greet()); + $this->assertEquals('Hello', $this->container->get('new_dependency_test.setter_injection')->greet()); // Tests that existing decorated services work as expected during update. $this->assertTrue(\Drupal::state()->get('new_dependency_test_update_8001.decorated_service'), 'The new_dependency_test.another_service service is decorated'); @@ -70,6 +71,7 @@ public function testUpdateNewDependency() { 'new_dependency_test.alias_dependency' => FALSE, 'new_dependency_test.alias2' => FALSE, 'new_dependency_test.alias_dependency2' => FALSE, + 'new_dependency_test.setter_injection' => FALSE, ], $before_install); $after_install = \Drupal::state()->get('new_dependency_test_update_8001.has_after_install', []); @@ -81,6 +83,7 @@ public function testUpdateNewDependency() { 'new_dependency_test.alias_dependency' => TRUE, 'new_dependency_test.alias2' => TRUE, 'new_dependency_test.alias_dependency2' => TRUE, + 'new_dependency_test.setter_injection' => TRUE, ], $after_install); } diff --git a/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php b/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php index 5cb492dfb34bbff7d4743588fc9470697329a6a0..827a9c8fc4f43c2dcb8aea0c8de90cc4ee425cab 100644 --- a/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php +++ b/web/core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php @@ -659,17 +659,26 @@ public function testSuccessfulMultilingualUpdateFunctionality() { * Tests maintenance mode link on update.php. */ public function testMaintenanceModeLink() { - $admin_user = $this->drupalCreateUser([ + $full_admin_user = $this->drupalCreateUser([ 'administer software updates', 'access administration pages', 'administer site configuration', ]); - $this->drupalLogin($admin_user); + $this->drupalLogin($full_admin_user); + $this->drupalGet($this->updateUrl, ['external' => TRUE]); + $this->assertSession()->statusCodeEquals(200); + $this->clickLink('maintenance mode'); + $this->assertSession()->statusCodeEquals(200); + $this->assertSession()->elementContains('css', 'main h1', 'Maintenance mode'); + + // Now login as a user with only 'administer software updates' (but not + // 'administer site configuration') permission and try again. + $this->drupalLogin($this->updateUser); $this->drupalGet($this->updateUrl, ['external' => TRUE]); $this->assertSession()->statusCodeEquals(200); $this->clickLink('maintenance mode'); $this->assertSession()->statusCodeEquals(200); - $this->assertEquals('Maintenance mode', $this->cssSelect('main h1')[0]->getText()); + $this->assertSession()->elementContains('css', 'main h1', 'Maintenance mode'); } /** diff --git a/web/core/modules/system/tests/src/Kernel/Common/AddFeedTest.php b/web/core/modules/system/tests/src/Kernel/Common/AddFeedTest.php index b7d34222fcbcf61eacfeebbab141420069c9d7c6..c12b907bab91102a9846fbae20c70e4e300612ca 100644 --- a/web/core/modules/system/tests/src/Kernel/Common/AddFeedTest.php +++ b/web/core/modules/system/tests/src/Kernel/Common/AddFeedTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\system\Kernel\Common; -use Drupal\Component\Render\FormattableMarkup; use Drupal\Core\Url; use Drupal\KernelTests\KernelTestBase; @@ -69,7 +68,7 @@ public function testBasicFeedAddNoTitle() { $this->setRawContent($response->getContent()); // Assert that the content contains the RSS links we specified. foreach ($urls as $description => $feed_info) { - $this->assertPattern($this->urlToRSSLinkPattern($feed_info['url'], $feed_info['title']), new FormattableMarkup('Found correct feed header for %description', ['%description' => $description])); + $this->assertPattern($this->urlToRSSLinkPattern($feed_info['url'], $feed_info['title'])); } } diff --git a/web/core/modules/system/tests/src/Kernel/Common/PageRenderTest.php b/web/core/modules/system/tests/src/Kernel/Common/PageRenderTest.php index fa16947344227a5be45165af1a151d53795f4943..c96f44d2fec440b8b96d5ebdbf801d568bdd34ea 100644 --- a/web/core/modules/system/tests/src/Kernel/Common/PageRenderTest.php +++ b/web/core/modules/system/tests/src/Kernel/Common/PageRenderTest.php @@ -59,7 +59,6 @@ public function assertPageRenderHookExceptions($module, $hook) { $this->error($assertion); } catch (\LogicException $e) { - $this->pass($assertion); $this->assertEqual($e->getMessage(), 'Only #attached and #cache may be set in ' . $hook . '().'); } \Drupal::state()->set('bc_test.' . $hook . '.descendant_attached', FALSE); @@ -73,7 +72,6 @@ public function assertPageRenderHookExceptions($module, $hook) { $this->error($assertion); } catch (\LogicException $e) { - $this->pass($assertion); $this->assertEqual($e->getMessage(), 'Only #attached and #cache may be set in ' . $hook . '().'); } \Drupal::state()->set($module . '.' . $hook . '.render_array', FALSE); diff --git a/web/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php b/web/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php index 6fa6d2bfb4ec9dd8df2d8b4d43ba57ced6be0fe0..26ae633152dbb11b86e326d58fd2081261047b06 100644 --- a/web/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php +++ b/web/core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php @@ -96,7 +96,7 @@ public function testDependencyResolution() { $this->fail('ModuleInstaller::install() throws an exception if dependencies are missing.'); } catch (MissingDependencyException $e) { - $this->pass('ModuleInstaller::install() throws an exception if dependencies are missing.'); + // Expected exception; just continue testing. } $this->assertFalse($this->moduleHandler()->moduleExists('color'), 'ModuleInstaller::install() aborts if dependencies are missing.'); @@ -292,7 +292,7 @@ public function testUninstallContentDependency() { $this->fail($message); } catch (ModuleUninstallValidatorException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + // Expected exception; just continue testing. } // Uninstalling help needs entity_test to be un-installable. @@ -302,7 +302,7 @@ public function testUninstallContentDependency() { $this->fail($message); } catch (ModuleUninstallValidatorException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + // Expected exception; just continue testing. } // Deleting the entity. diff --git a/web/core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php b/web/core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php index 245c965b18833b5f6e95051bd76bcd09af9092b5..ecca93a8723e3474b59a530f7452f14b39603114 100644 --- a/web/core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php +++ b/web/core/modules/system/tests/src/Kernel/Pager/PagerDeprecationTest.php @@ -13,7 +13,7 @@ class PagerDeprecationTest extends KernelTestBase { /** - * @expectedDeprecation pager_find_page is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\RequestPagerInterface->findPage() instead. See https://www.drupal.org/node/2779457 + * @expectedDeprecation pager_find_page is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->findPage() instead. See https://www.drupal.org/node/2779457 */ public function testFindPage() { $this->assertInternalType('int', pager_find_page()); @@ -27,7 +27,7 @@ public function testDefaultInitialize() { } /** - * @expectedDeprecation pager_get_query_parameters is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\RequestPagerInterface->getQueryParameters() instead. See https://www.drupal.org/node/2779457 + * @expectedDeprecation pager_get_query_parameters is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Pager\PagerParametersInterface->getQueryParameters() instead. See https://www.drupal.org/node/2779457 */ public function testGetQueryParameters() { $this->assertInternalType('array', pager_get_query_parameters()); diff --git a/web/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php b/web/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php index 782715e9a3ec6e0d125ef3e9c9f20ded443a0d70..91e49b28c1eb7823b9a25102820ea842bb6eaf95 100644 --- a/web/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php +++ b/web/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php @@ -241,9 +241,9 @@ public function providerTestBuildCacheability() { ]; // Multi-level tree. - $multi_level_root_a = MenuLinkMock::create(['id' => 'test.roota', 'route_name' => 'roota', 'title' => 'Root A']); - $multi_level_root_b = MenuLinkMock::create(['id' => 'test.rootb', 'route_name' => 'rootb', 'title' => 'Root B']); - $multi_level_parent_c = MenuLinkMock::create(['id' => 'test.parentc', 'route_name' => 'parentc', 'title' => 'Parent C']); + $multi_level_root_a = MenuLinkMock::create(['id' => 'test.root_a', 'route_name' => 'root_a', 'title' => 'Root A']); + $multi_level_root_b = MenuLinkMock::create(['id' => 'test.root_b', 'route_name' => 'root_b', 'title' => 'Root B']); + $multi_level_parent_c = MenuLinkMock::create(['id' => 'test.parent_c', 'route_name' => 'parent_c', 'title' => 'Parent C']); $tree = [ new MenuLinkTreeElement($multi_level_root_a, TRUE, 0, FALSE, [ new MenuLinkTreeElement($multi_level_parent_c, TRUE, 0, FALSE, [ @@ -256,13 +256,13 @@ public function providerTestBuildCacheability() { ]; $tree[0]->subtree[0]->subtree[0]->access = $access; $expected_build = $base_expected_build; - $expected_build['#items']['test.roota'] = $get_built_element($tree[0]); - $expected_build['#items']['test.roota']['below']['test.parentc'] = $get_built_element($tree[0]->subtree[0]); + $expected_build['#items']['test.root_a'] = $get_built_element($tree[0]); + $expected_build['#items']['test.root_a']['below']['test.parent_c'] = $get_built_element($tree[0]->subtree[0]); if ($access === NULL || $access->isAllowed()) { - $expected_build['#items']['test.roota']['below']['test.parentc']['below']['test.example1'] = $get_built_element($tree[0]->subtree[0]->subtree[0]); + $expected_build['#items']['test.root_a']['below']['test.parent_c']['below']['test.example1'] = $get_built_element($tree[0]->subtree[0]->subtree[0]); } - $expected_build['#items']['test.rootb'] = $get_built_element($tree[1]); - $expected_build['#items']['test.rootb']['below']['test.example2'] = $get_built_element($tree[1]->subtree[0]); + $expected_build['#items']['test.root_b'] = $get_built_element($tree[1]); + $expected_build['#items']['test.root_b']['below']['test.example2'] = $get_built_element($tree[1]->subtree[0]); $expected_build['#cache']['contexts'] = array_merge($expected_build['#cache']['contexts'], $access_cache_contexts, $links[0]->getCacheContexts(), $links[1]->getCacheContexts()); $data[] = [ 'description' => "Multi-level tree; access=$i; link=$j.", diff --git a/web/core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php b/web/core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php index 4eeb80961bc102d6d9b7f1b328902faf1f5ff27c..ac67040a2e31f30d8d07e839494db5a4b95bb628 100644 --- a/web/core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php +++ b/web/core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php @@ -60,7 +60,6 @@ public function validate($entity, Constraint $constraint) { $new_parents = array_column($entity->parent->getValue(), 'target_id'); $original_parents = array_keys($term_storage->loadParents($entity->id())) ?: [0]; if (($is_pending_revision || $ancestor_is_pending_revision) && $new_parents != $original_parents) { - $a = 1; $this->context->buildViolation($constraint->message) ->atPath('parent') ->addViolation(); diff --git a/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php b/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php index c5866fddbe8118e3b39050e5383ebc7eab212b8d..7645e86e94ea57dd48f85645b3e4f5305fe1af5a 100644 --- a/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php +++ b/web/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php @@ -63,13 +63,13 @@ public function testTaxonomyTermOverviewPager() { $this->createTerm($this->vocabulary); } - // Get Page 1. + // Ensure that pager is visible on page 1. $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview'); - $this->assertPattern('|<nav class="pager" [^>]*>|', 'Pager is visible on page 1'); + $this->assertPattern('|<nav class="pager" [^>]*>|'); - // Get Page 2. + // Ensure that pager is visible on page 2. $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview', ['query' => ['page' => 1]]); - $this->assertPattern('|<nav class="pager" [^>]*>|', 'Pager is visible on page 2'); + $this->assertPattern('|<nav class="pager" [^>]*>|'); } } diff --git a/web/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php b/web/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php index bc6230c2894dc5ef53deb61fdc9ec19a5f9480ac..05079dff1eee484e3b011ba830b6119f902d4daa 100644 --- a/web/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php +++ b/web/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php @@ -142,7 +142,7 @@ public function testTermTranslatedOnOverviewPage() { // Overview page in the other language shows the translated term $this->drupalGet('bb/admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview'); - $this->assertPattern('|<a[^>]*>' . $translated_title . '</a>|', 'The term language is correct'); + $this->assertPattern('|<a[^>]*>' . $translated_title . '</a>|'); } } diff --git a/web/core/modules/toolbar/css/toolbar.module.css b/web/core/modules/toolbar/css/toolbar.module.css index 4f871ba89ffce06738e641932473f127970d0473..e4bc7f66521177d5a925932bc235614de17fb22f 100644 --- a/web/core/modules/toolbar/css/toolbar.module.css +++ b/web/core/modules/toolbar/css/toolbar.module.css @@ -184,24 +184,6 @@ body.toolbar-tray-open.toolbar-fixed.toolbar-vertical .toolbar-oriented { .toolbar .toolbar-tray-vertical > .toolbar-lining { min-height: 100%; } -.toolbar .toolbar-tray-vertical > .toolbar-lining:before { - width: 100%; -} -.toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before { - position: fixed; - z-index: -1; - top: 0; - bottom: 0; - left: 0; /* LTR */ - display: block; - width: 240px; - width: 14rem; - content: ""; -} -[dir="rtl"] .toolbar .toolbar-tray-vertical > .toolbar-lining:before { - right: 0; - left: auto; -} /* Layer the links just above the toolbar-tray. */ .toolbar .toolbar-bar .toolbar-tab > .toolbar-icon { position: relative; diff --git a/web/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php b/web/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php index fbc8ee4a44e1d9f5c8fae883ad4163acb04f1140..47e676cab392b0e21d46155b483102b449d44e51 100644 --- a/web/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php +++ b/web/core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php @@ -131,12 +131,7 @@ protected function assertToolbarCacheContexts(array $cache_contexts, $message = $this->drupalGet('test-page'); $return = $return && $this->assertCacheContexts($cache_contexts); - if ($return) { - $this->pass($message); - } - else { - $this->fail($message); - } + $this->assertTrue($return, $message); return $return; } diff --git a/web/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php b/web/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php index d85e9a56b2a34216efc8dc79bb3243fc5224f0c4..0e3ce1ccec7fd0878c707446b709f94562d1bf77 100644 --- a/web/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php +++ b/web/core/modules/tour/tests/src/Functional/TourCacheTagsTest.php @@ -59,7 +59,6 @@ public function testRenderedTour() { $this->verifyPageCache($url, 'HIT', $expected_tags); // Verify that after modifying the tour, there is a cache miss. - $this->pass('Test modification of tour.', 'Debug'); Tour::load('tour-test')->save(); $this->verifyPageCache($url, 'MISS'); @@ -67,7 +66,6 @@ public function testRenderedTour() { $this->verifyPageCache($url, 'HIT', $expected_tags); // Verify that after deleting the tour, there is a cache miss. - $this->pass('Test deletion of tour.', 'Debug'); Tour::load('tour-test')->delete(); $this->verifyPageCache($url, 'MISS'); diff --git a/web/core/modules/tracker/tests/src/Functional/TrackerTest.php b/web/core/modules/tracker/tests/src/Functional/TrackerTest.php index 0e98d86de5e9293d9b2cb49ef58395ac030fe678..e892700950de29e8276bcc55d55d69acfb669b24 100644 --- a/web/core/modules/tracker/tests/src/Functional/TrackerTest.php +++ b/web/core/modules/tracker/tests/src/Functional/TrackerTest.php @@ -91,7 +91,7 @@ public function testTrackerAll() { $this->drupalGet('activity'); $this->assertNoText($unpublished->label(), 'Unpublished node does not show up in the tracker listing.'); $this->assertText($published->label(), 'Published node shows up in the tracker listing.'); - $this->assertLink(t('My recent content'), 0, 'User tab shows up on the global tracker page.'); + $this->assertSession()->linkExists(t('My recent content'), 0, 'User tab shows up on the global tracker page.'); // Assert cache contexts, specifically the pager and node access contexts. $this->assertCacheContexts(['languages:language_interface', 'route', 'theme', 'url.query_args:' . MainContentViewSubscriber::WRAPPER_FORMAT, 'url.query_args.pagers:0', 'user.node_grants:view', 'user']); @@ -208,8 +208,8 @@ public function testTrackerUser() { $this->assertCacheTags($expected_tags); $this->assertCacheContexts(['languages:language_interface', 'route', 'theme', 'url.query_args:' . MainContentViewSubscriber::WRAPPER_FORMAT, 'url.query_args.pagers:0', 'user', 'user.node_grants:view']); - $this->assertLink($my_published->label()); - $this->assertNoLink($unpublished->label()); + $this->assertSession()->linkExists($my_published->label()); + $this->assertSession()->linkNotExists($unpublished->label()); // Verify that title and tab title have been set correctly. $this->assertText('Activity', 'The user activity tab has the name "Activity".'); $this->assertTitle($this->user->getAccountName() . ' | Drupal'); @@ -353,7 +353,9 @@ public function testTrackerOrderingNewComments() { // It's almost certainly too brittle. $pattern = '/' . preg_quote($node_one->getTitle()) . '.+' . preg_quote($node_two->getTitle()) . '/s'; $this->verbose($pattern); - $this->assertPattern($pattern, 'Most recently commented on node appears at the top of tracker'); + // Verify that the most recent comment on node appears at the top of + // tracker. + $this->assertPattern($pattern); } /** diff --git a/web/core/modules/update/tests/src/Functional/UpdateUploadTest.php b/web/core/modules/update/tests/src/Functional/UpdateUploadTest.php index f71b3430e9459ee45b33c5ece0dcadd47ecad516..bb84df0a965602ad5ee16ffa7869a2c4de84b01e 100644 --- a/web/core/modules/update/tests/src/Functional/UpdateUploadTest.php +++ b/web/core/modules/update/tests/src/Functional/UpdateUploadTest.php @@ -147,9 +147,9 @@ public function testUploadModule() { public function testFileNameExtensionMerging() { $this->drupalGet('admin/modules/install'); // Make sure the bogus extension supported by update_test.module is there. - $this->assertPattern('/file extensions are supported:.*update-test-extension/', "Found 'update-test-extension' extension."); + $this->assertPattern('/file extensions are supported:.*update-test-extension/'); // Make sure it didn't clobber the first option from core. - $this->assertPattern('/file extensions are supported:.*tar/', "Found 'tar' extension."); + $this->assertPattern('/file extensions are supported:.*tar/'); } /** diff --git a/web/core/modules/user/src/PermissionHandler.php b/web/core/modules/user/src/PermissionHandler.php index 056c435dffdf91db70e0443674cce55efb36ac0e..dd04ab0118e7ca1efb2cf1fd490dfca3f7893f9f 100644 --- a/web/core/modules/user/src/PermissionHandler.php +++ b/web/core/modules/user/src/PermissionHandler.php @@ -205,10 +205,10 @@ protected function sortPermissions(array $all_permissions = []) { uasort($all_permissions, function (array $permission_a, array $permission_b) use ($modules) { if ($modules[$permission_a['provider']] == $modules[$permission_b['provider']]) { - return $permission_a['title'] > $permission_b['title']; + return $permission_a['title'] <=> $permission_b['title']; } else { - return $modules[$permission_a['provider']] > $modules[$permission_b['provider']]; + return $modules[$permission_a['provider']] <=> $modules[$permission_b['provider']]; } }); return $all_permissions; diff --git a/web/core/modules/user/src/Plugin/views/field/Roles.php b/web/core/modules/user/src/Plugin/views/field/Roles.php index c1cd8969e898f4b4250ca84c87e4f346b714d456..27a3ecc015fe36c902f8fa51ed3d7638ce3c9b48 100644 --- a/web/core/modules/user/src/Plugin/views/field/Roles.php +++ b/web/core/modules/user/src/Plugin/views/field/Roles.php @@ -73,7 +73,7 @@ public function preRender(&$values) { if ($uids) { $roles = user_roles(); - $result = $this->database->query('SELECT u.entity_id as uid, u.roles_target_id as rid FROM {user__roles} u WHERE u.entity_id IN ( :uids[] ) AND u.roles_target_id IN ( :rids[] )', [':uids[]' => $uids, ':rids[]' => array_keys($roles)]); + $result = $this->database->query('SELECT u.entity_id AS uid, u.roles_target_id AS rid FROM {user__roles} u WHERE u.entity_id IN ( :uids[] ) AND u.roles_target_id IN ( :rids[] )', [':uids[]' => $uids, ':rids[]' => array_keys($roles)]); foreach ($result as $role) { $this->items[$role->uid][$role->rid]['role'] = $roles[$role->rid]->label(); $this->items[$role->uid][$role->rid]['rid'] = $role->rid; diff --git a/web/core/modules/user/tests/src/Functional/UserBlocksTest.php b/web/core/modules/user/tests/src/Functional/UserBlocksTest.php index 450f53e879b912007c5a0ac4a3593a1022a8fe4d..a0db5ea936476eee4e92f7c1aaf765fbf39c691b 100644 --- a/web/core/modules/user/tests/src/Functional/UserBlocksTest.php +++ b/web/core/modules/user/tests/src/Functional/UserBlocksTest.php @@ -88,7 +88,8 @@ public function testUserLoginBlock() { $this->assertEqual('MISS', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER)); $this->drupalPostForm(NULL, $edit, t('Log in')); $this->assertNoText(t('User login'), 'Logged in.'); - $this->assertPattern('!<title.*?Compose tips.*?</title>!', 'Still on the same page after login for allowed page'); + // Verify that we are still on the same page after login for allowed page. + $this->assertPattern('!<title.*?Compose tips.*?</title>!'); // Log out again and repeat with a non-403 page including query arguments. $this->drupalLogout(); @@ -96,7 +97,8 @@ public function testUserLoginBlock() { $this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER)); $this->drupalPostForm(NULL, $edit, t('Log in')); $this->assertNoText(t('User login'), 'Logged in.'); - $this->assertPattern('!<title.*?Compose tips.*?</title>!', 'Still on the same page after login for allowed page'); + // Verify that we are still on the same page after login for allowed page. + $this->assertPattern('!<title.*?Compose tips.*?</title>!'); $this->assertStringContainsString('/filter/tips?foo=bar', $this->getUrl(), 'Correct query arguments are displayed after login'); // Repeat with different query arguments. @@ -105,7 +107,8 @@ public function testUserLoginBlock() { $this->assertEqual('HIT', $this->drupalGetHeader(DynamicPageCacheSubscriber::HEADER)); $this->drupalPostForm(NULL, $edit, t('Log in')); $this->assertNoText(t('User login'), 'Logged in.'); - $this->assertPattern('!<title.*?Compose tips.*?</title>!', 'Still on the same page after login for allowed page'); + // Verify that we are still on the same page after login for allowed page. + $this->assertPattern('!<title.*?Compose tips.*?</title>!'); $this->assertStringContainsString('/filter/tips?foo=baz', $this->getUrl(), 'Correct query arguments are displayed after login'); // Check that the user login block is not vulnerable to information diff --git a/web/core/modules/user/tests/src/Functional/UserPasswordResetTest.php b/web/core/modules/user/tests/src/Functional/UserPasswordResetTest.php index 11a37c27c3bbfe72f635f2e7fdbb1f8fc37afaa9..77bc5152dd70573f2dca6fd77e4ab6ec12aa95ff 100644 --- a/web/core/modules/user/tests/src/Functional/UserPasswordResetTest.php +++ b/web/core/modules/user/tests/src/Functional/UserPasswordResetTest.php @@ -109,7 +109,7 @@ public function testUserPasswordReset() { // Check successful login. $this->drupalPostForm(NULL, NULL, t('Log in')); - $this->assertLink(t('Log out')); + $this->assertSession()->linkExists(t('Log out')); $this->assertTitle($this->account->getAccountName() . ' | Drupal'); // Change the forgotten password. @@ -188,7 +188,7 @@ public function testUserPasswordReset() { $this->drupalPostForm(NULL, $edit, t('Submit')); $reset_url = $this->getResetURL(); $this->drupalGet($reset_url . '/login'); - $this->assertLink(t('Log out')); + $this->assertSession()->linkExists(t('Log out')); $this->assertTitle($this->account->getAccountName() . ' | Drupal'); // Ensure blocked and deleted accounts can't access the user.reset.login @@ -358,7 +358,7 @@ public function testUserResetPasswordUserFloodControlIsCleared() { // Use the last password reset URL which was generated. $reset_url = $this->getResetURL(); $this->drupalGet($reset_url . '/login'); - $this->assertLink(t('Log out')); + $this->assertSession()->linkExists(t('Log out')); $this->assertTitle($this->account->getAccountName() . ' | Drupal'); $this->drupalLogout(); diff --git a/web/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php b/web/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php index ddd731f8336c7ed0df4211a160614e7cb5da483e..873972b882936ef1bf83d9f469da907399c51c79 100644 --- a/web/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php +++ b/web/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php @@ -24,7 +24,7 @@ protected function setUp() { * Tests conversion of user tokens. */ public function testConvertTokens() { - $value = $this->plugin->transform('Account details for !username at !site', $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform('Account details for !username at !site', $this->migrateExecutable, $this->row, 'destination_property'); $this->assertEquals('Account details for [user:name] at [site:name]', $value); } @@ -32,7 +32,7 @@ public function testConvertTokens() { * Tests conversion of user tokens with a NULL value. */ public function testConvertTokensNull() { - $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty'); + $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destination_property'); $this->assertEquals('', $value); } diff --git a/web/core/modules/user/user.theme.es6.js b/web/core/modules/user/user.theme.es6.js index 7178eb8609c895f0a6b455812745bf45f674e75a..9c0e4432b58403d35757c8b80cf11c95ef3d1645 100644 --- a/web/core/modules/user/user.theme.es6.js +++ b/web/core/modules/user/user.theme.es6.js @@ -5,7 +5,7 @@ (Drupal => { /** - * Constucts a password confirm message element + * Constructs a password confirm message element * * @return {string} * A string representing a DOM fragment. diff --git a/web/core/modules/views/src/Form/ViewsExposedForm.php b/web/core/modules/views/src/Form/ViewsExposedForm.php index 7e92378ae3f8e53a91335cbc78900fd70312a9a7..a034c5d66259c61f34b8a32a9e3dd276a892a0c7 100644 --- a/web/core/modules/views/src/Form/ViewsExposedForm.php +++ b/web/core/modules/views/src/Form/ViewsExposedForm.php @@ -105,7 +105,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { // Grouped exposed filters have their own forms. // Instead of render the standard exposed form, a new Select or // Radio form field is rendered with the available groups. - // When an user choose an option the selected value is split + // When an user chooses an option the selected value is split // into the operator and value that the item represents. if ($handler->isAGroup()) { $handler->groupForm($form, $form_state); diff --git a/web/core/modules/views/src/Plugin/views/filter/BooleanOperator.php b/web/core/modules/views/src/Plugin/views/filter/BooleanOperator.php index 81a31880c32090235a0930345306442b645be44d..42e7f890c382a7faefb6162f28826353e43c1e41 100644 --- a/web/core/modules/views/src/Plugin/views/filter/BooleanOperator.php +++ b/web/core/modules/views/src/Plugin/views/filter/BooleanOperator.php @@ -43,8 +43,6 @@ class BooleanOperator extends FilterPluginBase { // exposed filter options protected $alwaysMultiple = TRUE; - // Don't display empty space where the operator would be. - public $no_operator = TRUE; // Whether to accept NULL as a false value or not public $accept_null = FALSE; diff --git a/web/core/modules/views/src/Plugin/views/filter/InOperator.php b/web/core/modules/views/src/Plugin/views/filter/InOperator.php index 8a884898f596f2c3d7efa6dc1e59e42983eb0458..d8f3d5ef86e29011ee46f38287968b3d06f9893e 100644 --- a/web/core/modules/views/src/Plugin/views/filter/InOperator.php +++ b/web/core/modules/views/src/Plugin/views/filter/InOperator.php @@ -452,7 +452,7 @@ public function validate() { } } elseif (!empty($this->value) && ($this->operator == 'in' || $this->operator == 'not in')) { - $errors[] = $this->t('The value @value is not an array for @operator on filter: @filter', ['@value' => var_export($this->value), '@operator' => $this->operator, '@filter' => $this->adminLabel(TRUE)]); + $errors[] = $this->t('The value @value is not an array for @operator on filter: @filter', ['@value' => var_export($this->value, TRUE), '@operator' => $this->operator, '@filter' => $this->adminLabel(TRUE)]); } return $errors; } diff --git a/web/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CachableMetadataCalculationTest.php b/web/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php similarity index 93% rename from web/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CachableMetadataCalculationTest.php rename to web/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php index 379dfec702e423f746d096406e0ba46c6eae1e21..814f0d769f153b729c9b8fd221227aa4bc2b2e0c 100644 --- a/web/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CachableMetadataCalculationTest.php +++ b/web/core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php @@ -19,7 +19,7 @@ * help = @Translation("Provides a test access plugin that reports when cacheable metadata is being calculated.") * ) */ -class CachableMetadataCalculationTest extends AccessPluginBase implements CacheableDependencyInterface { +class CacheableMetadataCalculationTest extends AccessPluginBase implements CacheableDependencyInterface { /** * The state service. @@ -29,7 +29,7 @@ class CachableMetadataCalculationTest extends AccessPluginBase implements Cachea protected $state; /** - * Constructs a CachableMetadataCalculationTest access plugin. + * Constructs a CacheableMetadataCalculationTest access plugin. * * @param array $configuration * A configuration array containing information about the plugin instance. diff --git a/web/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php b/web/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php index c63eaabf866d5654fe0c2760f3ad086239051f79..51ef987383b0ab6aef625a4ed2c469eb085e7b9b 100644 --- a/web/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php +++ b/web/core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php @@ -58,7 +58,7 @@ public function testSubmitButton() { // Test the submit button value defaults to 'Apply'. $this->drupalGet('test_exposed_form_buttons'); $this->assertSession()->statusCodeEquals(200); - $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Apply')); + $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', 'Apply'); // Rename the label of the submit button. $view = Views::getView('test_exposed_form_buttons'); @@ -84,7 +84,7 @@ public function testSubmitButton() { // Make sure the submit button label shows 'Apply'. $this->drupalGet('test_exposed_form_buttons'); - $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Apply')); + $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', 'Apply'); } /** @@ -264,7 +264,7 @@ public function testInputRequired() { $this->drupalGet('test_exposed_form_buttons'); $this->assertSession()->statusCodeEquals(200); - $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Apply')); + $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', 'Apply'); // Ensure that no results are displayed. $rows = $this->xpath("//div[contains(@class, 'views-row')]"); diff --git a/web/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php b/web/core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php similarity index 90% rename from web/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php rename to web/core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php index 1befb03bd4cfc7ec68abbf837be84a220056be14..c2d5b297ba413a9e8ebf4213cb30af350633d925 100644 --- a/web/core/modules/views/tests/src/Kernel/CachableMetadataCalculationTest.php +++ b/web/core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php @@ -9,7 +9,7 @@ * * @group views */ -class CachableMetadataCalculationTest extends KernelTestBase { +class CacheableMetadataCalculationTest extends KernelTestBase { /** * The ID of the view used in the test. @@ -72,21 +72,21 @@ public function testCacheableMetadataCalculation() { // metadata to be recalculated. $this->enableModules([self::TEST_MODULE]); $this->installConfig([self::TEST_MODULE]); - $this->assertCachebleMetadataHasBeenCalculated(FALSE); + $this->assertCacheableMetadataHasBeenCalculated(FALSE); // When a view is saved normally we have to recalculate the cacheability // metadata, since it is possible changes have been made to the view that // affect cacheability. $view = $this->entityTypeManager->getStorage('view')->load(self::TEST_VIEW_ID); $view->save(); - $this->assertCachebleMetadataHasBeenCalculated(TRUE); + $this->assertCacheableMetadataHasBeenCalculated(TRUE); $this->resetState(); // When a view is being saved due to config being synchronized, the // cacheability metadata doesn't change so it should not be recalculated. $view->setSyncing(TRUE); $view->save(); - $this->assertCachebleMetadataHasBeenCalculated(FALSE); + $this->assertCacheableMetadataHasBeenCalculated(FALSE); } /** @@ -96,7 +96,7 @@ public function testCacheableMetadataCalculation() { * TRUE if it is expected that the cacheability metadata has been * calculated. FALSE otherwise. */ - protected function assertCachebleMetadataHasBeenCalculated($expected_result) { + protected function assertCacheableMetadataHasBeenCalculated($expected_result) { $this->state->resetCache(); $this->assertEquals($expected_result, $this->state->get('views_test_cacheable_metadata_has_been_accessed')); } diff --git a/web/core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php b/web/core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php index e0ddb3c132d0738a5d640ec929e5686d901b288a..038b542bde25227f92c21eb2141b66f8c3387e00 100644 --- a/web/core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php +++ b/web/core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php @@ -89,11 +89,9 @@ public function testFieldBasedViewCacheTagsWithCachePluginTime() { * Whether to check Views' result & output caches. */ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { - $this->pass('Checking cache tags for field-based view.'); $view = Views::getview('entity_test_fields'); // Empty result (no entities yet). - $this->pass('Test without entities'); $base_tags = ['config:views.view.entity_test_fields', 'entity_test_list']; $this->assertViewsCacheTags($view, $base_tags, $do_assert_views_caches, $base_tags); $this->assertViewsCacheTagsFromStaticRenderArray($view, $base_tags, $do_assert_views_caches); @@ -103,7 +101,6 @@ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { $entities[] = $entity = EntityTest::create(); $entity->save(); - $this->pass('Test with entities'); $tags_with_entity = Cache::mergeTags($base_tags, $entities[0]->getCacheTags()); $this->assertViewsCacheTags($view, $tags_with_entity, $do_assert_views_caches, $tags_with_entity); $this->assertViewsCacheTagsFromStaticRenderArray($view, $tags_with_entity, $do_assert_views_caches); @@ -114,9 +111,8 @@ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { $entity->save(); } + // Test pager. // Page 1. - $this->pass('Test pager'); - $this->pass('Page 1'); \Drupal::request()->query->set('page', 0); $tags_page_1 = Cache::mergeTags($base_tags, $entities[1]->getCacheTags()); $tags_page_1 = Cache::mergeTags($tags_page_1, $entities[2]->getCacheTags()); @@ -127,7 +123,6 @@ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { $this->assertViewsCacheTagsFromStaticRenderArray($view, $tags_page_1, $do_assert_views_caches); $view->destroy(); // Page 2. - $this->pass('Page 2'); $view->setCurrentPage(1); \Drupal::request()->query->set('page', 1); $tags_page_2 = Cache::mergeTags($base_tags, $entities[0]->getCacheTags()); @@ -135,8 +130,7 @@ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { $view->destroy(); // Ensure that invalidation works on both pages. - $this->pass('Page invalidations'); - $this->pass('Page 2'); + // Page 2. $view->setCurrentPage(1); \Drupal::request()->query->set('page', 1); $entities[0]->name->value = $random_name = $this->randomMachineName(); @@ -148,7 +142,7 @@ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { $this->assertStringContainsString($random_name, (string) $build['#markup']); $view->destroy(); - $this->pass('Page 1'); + // Page 1. $view->setCurrentPage(0); \Drupal::request()->query->set('page', 0); $entities[1]->name->value = $random_name = $this->randomMachineName(); @@ -159,8 +153,6 @@ protected function assertCacheTagsForFieldBasedView($do_assert_views_caches) { $view->destroy(); // Setup arguments to ensure that render caching also varies by them. - $this->pass('Test arguments'); - // Custom assert for a single result row. $single_entity_assertions = function (array $build, EntityInterface $entity) { $this->setRawContent($build['#markup']); @@ -239,7 +231,6 @@ public function testEntityBasedViewCacheTagsWithCachePluginTime() { * Tests cache tags on output & result cache items for an entity-based view. */ protected function assertCacheTagsForEntityBasedView($do_assert_views_caches) { - $this->pass('Checking cache tags for entity-based view.'); $view = Views::getview('entity_test_row'); // Empty result (no entities yet). diff --git a/web/core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php b/web/core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php index f8c416f95ab79c3089bbba9fdac87f60893d2ac0..dd2f87e674729d62c4243abb77a6c1d020befce2 100644 --- a/web/core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php +++ b/web/core/modules/views/tests/src/Kernel/ViewsConfigUpdaterTest.php @@ -97,11 +97,10 @@ public function testUpdateAll() { foreach ($view_ids as $view_id) { $test_view = $this->loadTestView($view_id); - $this->configUpdater->updateAll($test_view); + $this->assertTrue($this->configUpdater->updateAll($test_view), "View $view_id should be updated."); } // @todo Improve this in https://www.drupal.org/node/3121008. - $this->pass('Views processed'); } } diff --git a/web/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php b/web/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php new file mode 100644 index 0000000000000000000000000000000000000000..7f80c6842d771d74be09741b033a9eaf01a2578f --- /dev/null +++ b/web/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @@ -0,0 +1,39 @@ +<?php + +namespace Drupal\Tests\views\Unit\Plugin\filter; + +use Drupal\Tests\UnitTestCase; +use Drupal\views\Plugin\views\filter\InOperator; + +/** + * @coversDefaultClass \Drupal\views\Plugin\views\filter\InOperator + * @group views + */ +class InOperatorTest extends UnitTestCase { + + /** + * @covers ::validate + */ + public function testValidate() { + $definition = [ + 'title' => 'Is InOperator Test', + 'group' => 'Test', + 'options callback' => '\Drupal\Tests\views\Unit\Plugin\filter\InOperatorTest::validate_options_callback', + ]; + $filter = new InOperator([], 'in_operator', $definition); + $filter->value = 'string'; + $filter->operator = 'in'; + $translation_stub = $this->getStringTranslationStub(); + $filter->setStringTranslation($translation_stub); + $errors = $filter->validate(); + $this->assertSame('The value 'string' is not an array for in on filter: ' . $filter->adminLabel(TRUE), (string) $errors[0]); + } + + /** + * @return array + */ + public static function validate_options_callback() { + return ['Yes', 'No']; + } + +} diff --git a/web/core/modules/views_ui/src/ViewAddForm.php b/web/core/modules/views_ui/src/ViewAddForm.php index 37b0136e555f3d11ea7ef5b2bb465100e5ae57c7..aec33d8a379045750b7e27cfddb4b71b7268f76d 100644 --- a/web/core/modules/views_ui/src/ViewAddForm.php +++ b/web/core/modules/views_ui/src/ViewAddForm.php @@ -9,7 +9,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Form controller for the Views edit form. + * Form controller for the Views add form. * * @internal */ @@ -23,7 +23,7 @@ class ViewAddForm extends ViewFormBase { protected $wizardManager; /** - * Constructs a new ViewEditForm object. + * Constructs a new ViewAddForm object. * * @param \Drupal\views\Plugin\ViewsPluginManager $wizard_manager * The wizard plugin manager. diff --git a/web/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php b/web/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php index 7a356d00c26b268bae7b926665b43158829e77e4..f9f123d1dd5a1a22b80519880cb279d695bee874 100644 --- a/web/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php +++ b/web/core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php @@ -47,7 +47,7 @@ public function testDefaultViews() { // Enable the view, and make sure it is now visible on the main listing // page. $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Enable'), '/glossary/'); + $this->clickViewsOperationLink('Enable', '/glossary/'); $this->assertUrl('admin/structure/views'); $this->assertLinkByHref($edit_href); @@ -76,7 +76,7 @@ public function testDefaultViews() { $this->drupalGet('admin/structure/views'); $this->assertLinkByHref('admin/structure/views/view/archive/enable'); // Enable it again so it can be tested for access permissions. - $this->clickViewsOperationLink(t('Enable'), '/archive/'); + $this->clickViewsOperationLink('Enable', '/archive/'); // It should now be possible to revert the view. Do that, and make sure the // view title we added above no longer is displayed. @@ -89,7 +89,7 @@ public function testDefaultViews() { // Duplicate the view and check that the normal schema of duplicated views is used. $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Duplicate'), '/glossary'); + $this->clickViewsOperationLink('Duplicate', '/glossary'); $edit = [ 'id' => 'duplicate_of_glossary', ]; @@ -99,7 +99,7 @@ public function testDefaultViews() { // Duplicate a view and set a custom name. $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Duplicate'), '/glossary'); + $this->clickViewsOperationLink('Duplicate', '/glossary'); $random_name = strtolower($this->randomMachineName()); $this->drupalPostForm(NULL, ['id' => $random_name], t('Duplicate')); $this->assertUrl("admin/structure/views/view/$random_name", [], 'The custom view name got saved.'); @@ -109,13 +109,13 @@ public function testDefaultViews() { // listing page. // @todo Test this behavior with templates instead. $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Disable'), '/glossary/'); + $this->clickViewsOperationLink('Disable', '/glossary/'); // $this->assertUrl('admin/structure/views'); // $this->assertNoLinkByHref($edit_href); // The easiest way to verify it appears on the disabled views listing page // is to try to click the "enable" link from there again. $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Enable'), '/glossary/'); + $this->clickViewsOperationLink('Enable', '/glossary/'); $this->assertUrl('admin/structure/views'); $this->assertLinkByHref($edit_href); @@ -132,7 +132,7 @@ public function testDefaultViews() { // Test deleting a view. $this->drupalLogin($this->fullAdminUser); $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Delete'), '/glossary/'); + $this->clickViewsOperationLink('Delete', '/glossary/'); // Submit the confirmation form. $this->drupalPostForm(NULL, [], t('Delete')); // Ensure the view is no longer listed. @@ -145,7 +145,7 @@ public function testDefaultViews() { // Delete all duplicated Glossary views. $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Delete'), 'duplicate_of_glossary'); + $this->clickViewsOperationLink('Delete', 'duplicate_of_glossary'); // Submit the confirmation form. $this->drupalPostForm(NULL, [], t('Delete')); @@ -153,7 +153,7 @@ public function testDefaultViews() { $this->assertSession()->statusCodeEquals(200); $this->drupalGet('admin/structure/views'); - $this->clickViewsOperationLink(t('Delete'), $random_name); + $this->clickViewsOperationLink('Delete', $random_name); // Submit the confirmation form. $this->drupalPostForm(NULL, [], t('Delete')); $this->drupalGet('glossary'); @@ -183,7 +183,7 @@ public function testSplitListing() { $this->assertCount(1, $elements, 'A disabled view is found in the disabled views table.'); // Enable the view. - $this->clickViewsOperationLink(t('Enable'), '/test_view_status/'); + $this->clickViewsOperationLink('Enable', '/test_view_status/'); $elements = $this->xpath($xpath, $arguments); $this->assertCount(0, $elements, 'After enabling a view, it is not found in the disabled views table.'); diff --git a/web/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php b/web/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php index a55be6b997a9521065a4ffdc93bcdc3f4706b88a..f78f7e7c1a57065cebe9b4d8260af674c7c9be13 100644 --- a/web/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php +++ b/web/core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php @@ -69,7 +69,7 @@ public function testExposedAdminUi() { $this->drupalGet('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/filter/type'); // Be sure that the button is called exposed. - $this->helperButtonHasLabel('edit-options-expose-button-button', t('Expose filter')); + $this->helperButtonHasLabel('edit-options-expose-button-button', 'Expose filter'); // The first time the filter UI is displayed, the operator and the // value forms should be shown. @@ -81,7 +81,7 @@ public function testExposedAdminUi() { // Click the Expose filter button. $this->drupalPostForm('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/filter/type', $edit, t('Expose filter')); // Check the label of the expose button. - $this->helperButtonHasLabel('edit-options-expose-button-button', t('Hide filter')); + $this->helperButtonHasLabel('edit-options-expose-button-button', 'Hide filter'); // After exposing the filter, Operator and Value should be still here. $this->assertFieldById('edit-options-operator-in', 'in', 'Operator In exists'); @@ -102,7 +102,7 @@ public function testExposedAdminUi() { // Now check the sort criteria. $this->drupalGet('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/sort/created'); - $this->helperButtonHasLabel('edit-options-expose-button-button', t('Expose sort')); + $this->helperButtonHasLabel('edit-options-expose-button-button', 'Expose sort'); $this->assertNoFieldById('edit-options-expose-label', '', 'Make sure no label field is shown'); // Un-expose the filter. @@ -119,7 +119,7 @@ public function testExposedAdminUi() { $edit = []; $this->drupalPostForm('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/sort/created', $edit, t('Expose sort')); // Check the label of the expose button. - $this->helperButtonHasLabel('edit-options-expose-button-button', t('Hide sort')); + $this->helperButtonHasLabel('edit-options-expose-button-button', 'Hide sort'); $this->assertFieldById('edit-options-expose-label', 'Authored on', 'Make sure a label field is shown'); // Test adding a new exposed sort criteria. @@ -154,7 +154,7 @@ public function testGroupedFilterAdminUi() { // Click the Expose filter button. $this->drupalPostForm('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/filter/type', $edit, t('Expose filter')); // Check the label of the grouped filters button. - $this->helperButtonHasLabel('edit-options-group-button-button', t('Grouped filters')); + $this->helperButtonHasLabel('edit-options-group-button-button', 'Grouped filters'); // Click the Grouped Filters button. $this->drupalGet('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/filter/type'); @@ -169,7 +169,7 @@ public function testGroupedFilterAdminUi() { // Check that after click on 'Grouped Filters', a new button is shown to // add more items to the list. - $this->helperButtonHasLabel('edit-options-group-info-add-group', t('Add another item')); + $this->helperButtonHasLabel('edit-options-group-info-add-group', 'Add another item'); // Validate a single entry for a grouped filter. $this->drupalGet('admin/structure/views/nojs/handler/test_exposed_admin_ui/default/filter/type'); diff --git a/web/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php b/web/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php index 3a2546d59a17c30994fdbabc3a09536b9b89f3ce..619b7ced526ddb62d70542ced8edbaefdcf8e674 100644 --- a/web/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php +++ b/web/core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php @@ -32,6 +32,11 @@ public function testFilterBooleanUI() { $result = $this->cssSelect('#edit-options-value--wrapper legend span'); $this->assertEqual($result[0]->getHtml(), 'Status'); + // Ensure that the operator and the filter value are displayed using correct + // layout. + $this->assertSession()->elementExists('css', '.views-left-30 .form-item-options-operator'); + $this->assertSession()->elementExists('css', '.views-right-70 .form-item-options-value'); + $this->drupalPostForm(NULL, [], t('Expose filter')); $this->drupalPostForm(NULL, [], t('Grouped filters')); diff --git a/web/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php b/web/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php index d026a4244561c0a3fd089d9d7b51de8c6e14c47c..a33d84326763aa2fee8158532527637191916a88 100644 --- a/web/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php +++ b/web/core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php @@ -193,7 +193,7 @@ public function testRevertAllDisplays() { // Revert the title of the block to the default ones, but submit some new // values to be sure that the new value is not stored. $edit = []; - $edit['title'] = $new_block_title = $this->randomMachineName(); + $edit['title'] = $this->randomMachineName(); $edit['override[dropdown]'] = 'default_revert'; $this->drupalPostForm("admin/structure/views/nojs/display/{$view['id']}/block_1/title", $edit, t('Apply')); diff --git a/web/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php b/web/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php index ce796a4f979a11b578424b0137b8796bca7b8f0c..c28a1cde69b341fab9f27b24e6b2ea1340396fad 100644 --- a/web/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php +++ b/web/core/modules/workflows/tests/src/Functional/Rest/WorkflowResourceTestBase.php @@ -48,7 +48,7 @@ protected function setUpAuthorization($method) { protected function createEntity() { $workflow = Workflow::create([ 'id' => 'rest_workflow', - 'label' => 'REST Worklow', + 'label' => 'REST Workflow', 'type' => 'workflow_type_complex_test', ]); $workflow @@ -74,7 +74,7 @@ protected function getExpectedNormalizedEntity() { ], ], 'id' => 'rest_workflow', - 'label' => 'REST Worklow', + 'label' => 'REST Workflow', 'langcode' => 'en', 'status' => TRUE, 'type' => 'workflow_type_complex_test', diff --git a/web/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php b/web/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php index 5a6fa195a9e4f0963aae1a2ad28f1bceb4630631..29ba1d6772f4083cbb4c38e3c0053acc2ec954d2 100644 --- a/web/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php +++ b/web/core/modules/workflows/tests/src/Functional/WorkflowUiTest.php @@ -343,16 +343,16 @@ public function testSorting() { ->getTypePlugin() ->setConfiguration([ 'states' => [ - 'twoa' => [ - 'label' => 'twoa', + 'two_a' => [ + 'label' => 'two a', 'weight' => 2, ], 'three' => [ 'label' => 'three', 'weight' => 3, ], - 'twob' => [ - 'label' => 'twob', + 'two_b' => [ + 'label' => 'two b', 'weight' => 2, ], 'one' => [ @@ -367,10 +367,10 @@ public function testSorting() { 'to' => 'three', 'weight' => 3, ], - 'twoa' => [ - 'label' => 'twoa', - 'from' => ['twoa'], - 'to' => 'twoa', + 'two_a' => [ + 'label' => 'two a', + 'from' => ['two_a'], + 'to' => 'two_a', 'weight' => 2, ], 'one' => [ @@ -379,10 +379,10 @@ public function testSorting() { 'to' => 'one', 'weight' => 1, ], - 'twob' => [ - 'label' => 'twob', - 'from' => ['twob'], - 'to' => 'twob', + 'two_b' => [ + 'label' => 'two b', + 'from' => ['two_b'], + 'to' => 'two_b', 'weight' => 2, ], ], @@ -391,12 +391,12 @@ public function testSorting() { $this->drupalLogin($this->createUser(['administer workflows'])); $this->drupalGet('admin/config/workflow/workflows/manage/test'); - $expected_states = ['one', 'twoa', 'twob', 'three']; + $expected_states = ['one', 'two a', 'two b', 'three']; $elements = $this->xpath('//details[@id="edit-states-container"]//table/tbody/tr'); foreach ($elements as $key => $element) { $this->assertEquals($expected_states[$key], $element->find('xpath', 'td')->getText()); } - $expected_transitions = ['one', 'twoa', 'twob', 'three']; + $expected_transitions = ['one', 'two a', 'two b', 'three']; $elements = $this->xpath('//details[@id="edit-transitions-container"]//table/tbody/tr'); foreach ($elements as $key => $element) { $this->assertEquals($expected_transitions[$key], $element->find('xpath', 'td')->getText()); diff --git a/web/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php b/web/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php index 12d913312425dde7142ba37dbdec1c21d58fda94..df76829fadd795b01c60b803c080f622fefc3879 100644 --- a/web/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php +++ b/web/core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php @@ -83,7 +83,6 @@ protected function assertDefaultConfig(StorageInterface $default_config_storage, // FunctionalTestSetupTrait::installParameters(). 'system.site' => ['uuid:', 'name:', 'mail:'], ]); - $this->pass("$config_name has no differences"); } else { $this->fail("$config_name has not been installed"); diff --git a/web/core/profiles/standard/tests/src/Functional/StandardTest.php b/web/core/profiles/standard/tests/src/Functional/StandardTest.php index 82d16326268d623de4c14003c6c2aa2828f407f8..8e3805d1c996ded4ae8b4bce2420911e8934c52a 100644 --- a/web/core/profiles/standard/tests/src/Functional/StandardTest.php +++ b/web/core/profiles/standard/tests/src/Functional/StandardTest.php @@ -61,8 +61,7 @@ public function testStandard() { $this->drupalGet(''); $this->assertText('Main navigation'); - // Verify we have role = aria on system_powered_by and help_block - // blocks. + // Verify we have role = complementary on help_block blocks. $this->drupalGet('admin/structure/block'); $elements = $this->xpath('//div[@role=:role and @id=:id]', [ ':role' => 'complementary', @@ -71,13 +70,6 @@ public function testStandard() { $this->assertCount(1, $elements, 'Found complementary role on help block.'); - $this->drupalGet(''); - $elements = $this->xpath('//div[@role=:role and @id=:id]', [ - ':role' => 'complementary', - ':id' => 'block-bartik-powered', - ]); - $this->assertCount(1, $elements, 'Found complementary role on powered by block.'); - // Verify anonymous user can see the block. $this->drupalLogout(); $this->assertText('Main navigation'); diff --git a/web/core/profiles/testing/config/optional/locale.settings.yml b/web/core/profiles/testing/config/optional/locale.settings.yml index f1842a02076c51986659ef33be07c63eb3fc8928..25b5b31b80d4403361464e18c0db7e17e9045412 100644 --- a/web/core/profiles/testing/config/optional/locale.settings.yml +++ b/web/core/profiles/testing/config/optional/locale.settings.yml @@ -1,10 +1,11 @@ cache_strings: true +translate_english: false javascript: directory: languages translation: use_source: remote_and_local default_filename: '%project-%version.%language.po' - default_server_pattern: 'http://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po' + default_server_pattern: 'https://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po' overwrite_customized: false overwrite_not_customized: true update_interval_days: 0 diff --git a/web/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php b/web/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php index 8921cfa5c32ab7239f4386c15a0831c34a88f2c7..8bfcc250cee83693106e98d8580c5249141bcd44 100644 --- a/web/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php +++ b/web/core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php @@ -240,8 +240,7 @@ public function testLostDatabaseConnection() { default: // We can not carry out this test. - $this->pass('Unable to run \Drupal\system\Tests\System\UncaughtExceptionTest::testLostDatabaseConnection for this database type.'); - return; + $this->markTestSkipped('Unable to run \Drupal\system\Tests\System\UncaughtExceptionTest::testLostDatabaseConnection for this database type.'); } // We simulate a broken database connection by rewrite settings.php to no diff --git a/web/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php b/web/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php index 74226b83e811853ae81f3a0f6e5d36b946f0c02c..c798e7186090ce0d9c8718f0a089d92b717de320 100644 --- a/web/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php +++ b/web/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php @@ -283,7 +283,7 @@ public function testXpathAsserts() { $this->fail('The "notexisting" field was found.'); } catch (ExpectationFailedException $e) { - $this->pass('assertFieldByXPath correctly failed. The "notexisting" field was not found.'); + // Expected exception; just continue testing. } try { @@ -291,7 +291,7 @@ public function testXpathAsserts() { $this->fail('The "edit-name" field was not found.'); } catch (ExpectationException $e) { - $this->pass('assertNoFieldByXPath correctly failed. The "edit-name" field was found.'); + // Expected exception; just continue testing. } try { @@ -299,7 +299,7 @@ public function testXpathAsserts() { $this->fail('The "edit-name" field is found with the value "not the value".'); } catch (ExpectationFailedException $e) { - $this->pass('The "edit-name" field is not found with the value "not the value".'); + // Expected exception; just continue testing. } } @@ -318,7 +318,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "name" field was not found based on name.'); } catch (ExpectationException $e) { - $this->pass('assertNoField correctly failed. The "name" field was found by name.'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly when searching by id. @@ -327,7 +327,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "name" field was not found based on id.'); } catch (ExpectationException $e) { - $this->pass('assertNoField correctly failed. The "name" field was found by id.'); + // Expected exception; just continue testing. } // *** 2. assertField(). @@ -340,7 +340,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "invalid_name_and_id" field was found.'); } catch (ExpectationFailedException $e) { - $this->pass('assertField correctly failed. The "invalid_name_and_id" field was not found.'); + // Expected exception; just continue testing. } // *** 3. assertNoFieldById(). @@ -355,7 +355,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "description" field, with no value was not found.'); } catch (ExpectationException $e) { - $this->pass('The "description" field, with no value was found.'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly if a NULL value is passed in. @@ -364,7 +364,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "name" field was not found.'); } catch (ExpectationException $e) { - $this->pass('The "name" field was found.'); + // Expected exception; just continue testing. } // *** 4. assertFieldById(). @@ -379,7 +379,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "edit-name" field with no value was found.'); } catch (ExpectationFailedException $e) { - $this->pass('The "edit-name" field with no value was not found.'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly if the wrong value is passed in. @@ -388,7 +388,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "name" field was found, using the wrong value.'); } catch (ExpectationFailedException $e) { - $this->pass('The "name" field was not found, using the wrong value.'); + // Expected exception; just continue testing } // *** 5. assertNoFieldByName(). @@ -403,7 +403,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "description" field, with no value was not found.'); } catch (ExpectationException $e) { - $this->pass('The "description" field, with no value was found.'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly if a NULL value is passed in. @@ -412,7 +412,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "name" field was not found.'); } catch (ExpectationException $e) { - $this->pass('The "name" field was found.'); + // Expected exception; just continue testing. } // *** 6. assertFieldByName(). @@ -429,7 +429,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "non-existing-name" field was found.'); } catch (ExpectationFailedException $e) { - $this->pass('The "non-existing-name" field was not found'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly if given the wrong value. @@ -438,7 +438,7 @@ public function testFieldAssertsForTextfields() { $this->fail('The "name" field with incorrect value was found.'); } catch (ExpectationFailedException $e) { - $this->pass('assertFieldByName correctly failed. The "name" field with incorrect value was not found.'); + // Expected exception; just continue testing. } // Test that text areas can contain new lines. @@ -458,7 +458,7 @@ public function testFieldAssertsForOptions() { $this->fail('The select option "four" was found.'); } catch (ExpectationException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } $this->assertOption('options', 1); @@ -467,7 +467,7 @@ public function testFieldAssertsForOptions() { $this->fail('The select option "4" was found.'); } catch (ExpectationException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } $this->assertNoOption('options', 'non-existing'); @@ -476,7 +476,7 @@ public function testFieldAssertsForOptions() { $this->fail('The select option "one" was not found.'); } catch (ExpectationException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } $this->assertOptionSelected('options', 2); @@ -485,7 +485,7 @@ public function testFieldAssertsForOptions() { $this->fail('The select option "4" was selected.'); } catch (ExpectationException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } try { @@ -493,7 +493,7 @@ public function testFieldAssertsForOptions() { $this->fail('The select option "1" was selected.'); } catch (ExpectationFailedException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } } @@ -512,7 +512,7 @@ public function testFieldAssertsForButton() { $this->fail('The field with id of "Save" was found.'); } catch (ExpectationFailedException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } $this->assertNoFieldById('Save', NULL); @@ -523,7 +523,7 @@ public function testFieldAssertsForButton() { $this->fail('The field with id of "edit-save" was not found.'); } catch (ExpectationException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } // Test that multiple fields with the same name are validated correctly. @@ -536,7 +536,7 @@ public function testFieldAssertsForButton() { $this->fail('The "duplicate_button" field with the value Duplicate button 2 was not found.'); } catch (ExpectationException $e) { - $this->pass('assertNoFieldByName correctly failed. The "duplicate_button" field with the value Duplicate button 2 was found.'); + // Expected exception; just continue testing. } } @@ -573,7 +573,7 @@ public function testFieldAssertsForCheckbox() { $this->fail('The "checkbox_enabled" field was not found by name, using NULL value.'); } catch (ExpectationException $e) { - $this->pass('assertNoFieldByName failed correctly. The "checkbox_enabled" field was found using NULL value.'); + // Expected exception; just continue testing. } // Part 2 - Test by ID. @@ -603,7 +603,7 @@ public function testFieldAssertsForCheckbox() { $this->fail('The "edit-checkbox-disabled" field was not found by ID, using NULL value.'); } catch (ExpectationException $e) { - $this->pass('assertNoFieldById failed correctly. The "edit-checkbox-disabled" field was found by ID using NULL value.'); + // Expected exception; just continue testing. } // Part 3 - Test the specific 'checked' assertions. @@ -616,7 +616,7 @@ public function testFieldAssertsForCheckbox() { $this->fail('The "incorrect_checkbox_id" field was found'); } catch (ExpectationException $e) { - $this->pass('assertNoFieldChecked correctly failed. The "incorrect_checkbox_id" field was not found.'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly for a checkbox that is checked. @@ -625,7 +625,7 @@ public function testFieldAssertsForCheckbox() { $this->fail('The "edit-checkbox-enabled" field was not found in a checked state.'); } catch (ExpectationException $e) { - $this->pass('assertNoFieldChecked correctly failed. The "edit-checkbox-enabled" field was found in a checked state.'); + // Expected exception; just continue testing. } // Test that the assertion fails correctly for a checkbox that is not @@ -635,7 +635,7 @@ public function testFieldAssertsForCheckbox() { $this->fail('The "edit-checkbox-disabled" field was found and checked.'); } catch (ExpectationException $e) { - $this->pass('assertFieldChecked correctly failed. The "edit-checkbox-disabled" field was not found in a checked state.'); + // Expected exception; just continue testing. } } diff --git a/web/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php b/web/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php index df5fd53b22610b47ae1dff7373282ca71abff288..169f2d711b09021efd00ee56daee80ce15a4024b 100644 --- a/web/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php +++ b/web/core/tests/Drupal/FunctionalTests/Installer/DistributionProfileExistingSettingsTest.php @@ -126,7 +126,6 @@ public function testInstalled() { $this->assertEqual($this->config('core.extension')->get('profile'), 'mydistro', 'The install profile has been written to core.extension configuration.'); $this->rebuildContainer(); - $this->pass('Container can be rebuilt even though distribution is not written to settings.php.'); $this->assertEqual(\Drupal::installProfile(), 'mydistro'); } diff --git a/web/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php b/web/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php index 33bf61f17f630b30f56c9c0a02c18e5315718db2..05142ba3185e31551f40b015419bf0d43ac521ce 100644 --- a/web/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php +++ b/web/core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.php @@ -85,7 +85,6 @@ public function testInstalled() { $this->assertEqual($this->config('core.extension')->get('profile'), 'distribution_one', 'The install profile has been written to core.extension configuration.'); $this->rebuildContainer(); - $this->pass('Container can be rebuilt as distribution is written to configuration.'); $this->assertEqual(\Drupal::installProfile(), 'distribution_one'); } diff --git a/web/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php b/web/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php index 17006fc3e38813b83729bea9db932016e6c0085e..4fa0f79c2bfcbfc6c7560fb373a2d6e340b8050d 100644 --- a/web/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php +++ b/web/core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php @@ -118,10 +118,9 @@ protected function doTestsOnConfigStorage(StorageInterface $default_config_stora $entity_storage->load($id)->calculateDependencies()->save(); } $result = $config_manager->diff($default_config_storage, $active_config_storage, $config_name); - $this->assertConfigDiff($result, $config_name, static::$skippedConfig); - // The method call above will throw an exception if the configuration is + // ::assertConfigDiff will throw an exception if the configuration is // different. - $this->pass("$config_name has no differences"); + $this->assertNull($this->assertConfigDiff($result, $config_name, static::$skippedConfig)); } else { $info = $this->container->get('extension.list.module')->getExtensionInfo($module); diff --git a/web/core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php b/web/core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php index 2b7a5ff3ae46237899fc0a7fbb623cf7a1e99a13..42daa13524b5a43ceba71cfd3986fe22a2ef8dd2 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php @@ -229,8 +229,7 @@ protected function activateTheme($theme_name) { $this->libraryDiscovery->clearCachedDefinitions(); - // Assert message. - $this->pass(sprintf('Activated theme "%s"', $theme_name)); + $this->assertSame($theme_name, $theme_manager->getActiveTheme()->getName()); } /** @@ -257,7 +256,7 @@ protected function assertAssetInLibrary($asset, $extension, $library_name, $sub_ $library = $this->libraryDiscovery->getLibraryByName($extension, $library_name); foreach ($library[$sub_key] as $definition) { if ($asset == $definition['data']) { - return $this->pass($message); + return TRUE; } } return $this->fail($message); @@ -290,7 +289,7 @@ protected function assertNoAssetInLibrary($asset, $extension, $library_name, $su return $this->fail($message); } } - return $this->pass($message); + return TRUE; } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php b/web/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php index 327a868c2210f7663617a83bcf7d16964b33d1ca..444904e9d0a26cf199b2d6c746cab9e50f4da767 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php @@ -44,15 +44,6 @@ class DbDumpTest extends KernelTestBase { */ protected $data; - /** - * Flag to skip these tests, which are database-backend dependent (MySQL). - * - * @see \Drupal\Core\Command\DbDumpCommand - * - * @var bool - */ - protected $skipTests = FALSE; - /** * An array of original table schemas. * @@ -93,8 +84,9 @@ public function register(ContainerBuilder $container) { protected function setUp() { parent::setUp(); - // Determine what database backend is running, and set the skip flag. - $this->skipTests = Database::getConnection()->databaseType() !== 'mysql'; + if (Database::getConnection()->databaseType() !== 'mysql') { + $this->markTestSkipped("Skipping test since the DbDumpCommand is currently only compatible with MySql"); + } // Create some schemas so our export contains tables. $this->installSchema('system', [ @@ -161,10 +153,6 @@ protected function setUp() { * Test the command directly. */ public function testDbDumpCommand() { - if ($this->skipTests) { - $this->pass("Skipping test since the DbDumpCommand is currently only compatible with MySql"); - return; - } $application = new DbDumpApplication(); $command = $application->find('dump-database-d8-mysql'); @@ -194,10 +182,6 @@ public function testDbDumpCommand() { * Test loading the script back into the database. */ public function testScriptLoad() { - if ($this->skipTests) { - $this->pass("Skipping test since the DbDumpCommand is currently only compatible with MySql"); - return; - } // Generate the script. $application = new DbDumpApplication(); diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php index 561fffef6efb4df268a6b87bdd34e88199a85d57..45b033547ec010f2653d7fc1927cd72f196766d7 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php @@ -193,24 +193,22 @@ public function testCRUD() { public function testNameValidation() { // Verify that an object name without namespace causes an exception. $name = 'nonamespace'; - $message = 'Expected ConfigNameException was thrown for a name without a namespace.'; try { $this->config($name)->save(); - $this->fail($message); + $this->fail('Expected ConfigNameException was thrown for a name without a namespace.'); } - catch (ConfigNameException $e) { - $this->pass($message); + catch (\Exception $e) { + $this->assertInstanceOf(ConfigNameException::class, $e); } // Verify that a name longer than the maximum length causes an exception. $name = 'config_test.herman_melville.moby_dick_or_the_whale.harper_1851.now_small_fowls_flew_screaming_over_the_yet_yawning_gulf_a_sullen_white_surf_beat_against_its_steep_sides_then_all_collapsed_and_the_great_shroud_of_the_sea_rolled_on_as_it_rolled_five_thousand_years_ago'; - $message = 'Expected ConfigNameException was thrown for a name longer than Config::MAX_NAME_LENGTH.'; try { $this->config($name)->save(); - $this->fail($message); + $this->fail('Expected ConfigNameException was thrown for a name longer than Config::MAX_NAME_LENGTH.'); } - catch (ConfigNameException $e) { - $this->pass($message); + catch (\Exception $e) { + $this->assertInstanceOf(ConfigNameException::class, $e); } // Verify that disallowed characters in the name cause an exception. @@ -231,14 +229,12 @@ public function testNameValidation() { // Verify that a valid config object name can be saved. $name = 'namespace.object'; - $message = 'ConfigNameException was not thrown for a valid object name.'; try { $config = $this->config($name); $config->save(); - $this->pass($message); } catch (ConfigNameException $e) { - $this->fail($message); + $this->fail('ConfigNameException was not thrown for a valid object name.'); } } @@ -248,23 +244,21 @@ public function testNameValidation() { */ public function testValueValidation() { // Verify that setData() will catch dotted keys. - $message = 'Expected ConfigValueException was thrown from setData() for value with dotted keys.'; try { $this->config('namespace.object')->setData(['key.value' => 12])->save(); - $this->fail($message); + $this->fail('Expected ConfigValueException was thrown from setData() for value with dotted keys.'); } - catch (ConfigValueException $e) { - $this->pass($message); + catch (\Exception $e) { + $this->assertInstanceOf(ConfigValueException::class, $e); } // Verify that set() will catch dotted keys. - $message = 'Expected ConfigValueException was thrown from set() for value with dotted keys.'; try { $this->config('namespace.object')->set('foo', ['key.value' => 12])->save(); - $this->fail($message); + $this->fail('Expected ConfigValueException was thrown from set() for value with dotted keys.'); } - catch (ConfigValueException $e) { - $this->pass($message); + catch (\Exception $e) { + $this->assertInstanceOf(ConfigValueException::class, $e); } } @@ -325,9 +319,7 @@ public function testDataTypes() { $this->fail('No Exception thrown upon saving invalid data type.'); } catch (UnsupportedDataTypeConfigException $e) { - $this->pass(new FormattableMarkup('%class thrown upon saving invalid data type.', [ - '%class' => get_class($e), - ])); + // Expected exception; just continue testing. } // Test that setting an unsupported type for a config object with no schema @@ -342,9 +334,7 @@ public function testDataTypes() { $this->fail('No Exception thrown upon saving invalid data type.'); } catch (UnsupportedDataTypeConfigException $e) { - $this->pass(new FormattableMarkup('%class thrown upon saving invalid data type.', [ - '%class' => get_class($e), - ])); + // Expected exception; just continue testing. } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStorageTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStorageTest.php index cf5ba3154a0d3628ec223b08d7fac3ba0b499401..843e7c80385c36b10258dbc94ddf3282e17ebb20 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStorageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStorageTest.php @@ -2,7 +2,6 @@ namespace Drupal\KernelTests\Core\Config; -use Drupal\Component\Render\FormattableMarkup; use Drupal\Core\Config\ConfigDuplicateUUIDException; use Drupal\KernelTests\KernelTestBase; @@ -44,7 +43,7 @@ public function testUUIDConflict() { $this->fail('Exception thrown when attempting to save a configuration entity with a UUID that does not match the existing UUID.'); } catch (ConfigDuplicateUUIDException $e) { - $this->pass(new FormattableMarkup('Exception thrown when attempting to save a configuration entity with a UUID that does not match existing data: %e.', ['%e' => $e])); + // Expected exception; just continue testing. } // Ensure that the config entity was not corrupted. diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigExportStorageTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigExportStorageTest.php index 89755e0a53259b535073bfafbe0a048786b0e4c5..d7e9ada63d08e86d39ebc189ffdc8df57ceb98d1 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigExportStorageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigExportStorageTest.php @@ -40,13 +40,8 @@ public function testExportStorage() { } // Test that the export storage is read-only. - try { - $export->deleteAll(); - $this->fail("export storage must not allow editing"); - } - catch (\BadMethodCallException $exception) { - $this->pass("Exception is thrown."); - } + $this->expectException(\BadMethodCallException::class); + $export->deleteAll(); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php index 57f6ad68327004f95b843d5457e737a61d92451e..a28a2dce68b4066f83b8849c17b2963a780f0435 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php @@ -111,10 +111,10 @@ public function testReadWriteConfig() { $this->assertEqual($config->get($nested_array_key), $array_value, 'Nested array configuration value found.'); // Read a top level value that doesn't exist. - $this->assertNull($config->get('i_dont_exist'), 'Non-existent top level value returned NULL.'); + $this->assertNull($config->get('i_do_not_exist'), 'Non-existent top level value returned NULL.'); // Read a nested value that doesn't exist. - $this->assertNull($config->get('i.dont.exist'), 'Non-existent nested value returned NULL.'); + $this->assertNull($config->get('i.do.not.exist'), 'Non-existent nested value returned NULL.'); // Read false value. $this->assertFalse($config->get($false_key), "Boolean FALSE value returned the FALSE."); diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php index 4540ca939d28187a30b7fe1473ecd1f5a341f693..acff69d5f1e7cefd99232fe144ffd46a547f076a 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php @@ -110,7 +110,6 @@ public function testRenameValidation() { $this->fail('Expected ConfigImporterException thrown when a renamed configuration entity does not match the existing entity type.'); } catch (ConfigImporterException $e) { - $this->pass('Expected ConfigImporterException thrown when a renamed configuration entity does not match the existing entity type.'); $expected = [ new FormattableMarkup('Entity type mismatch on rename. @old_type not equal to @new_type for existing configuration @old_name and staged configuration @new_name.', ['@old_type' => 'node_type', '@new_type' => 'config_test', '@old_name' => 'node.type.' . $content_type->id(), '@new_name' => 'config_test.dynamic.' . $test_entity_id]), ]; @@ -153,7 +152,6 @@ public function testRenameSimpleConfigValidation() { $this->fail('Expected ConfigImporterException thrown when simple configuration is renamed.'); } catch (ConfigImporterException $e) { - $this->pass('Expected ConfigImporterException thrown when simple configuration is renamed.'); $expected = [ new FormattableMarkup('Rename operation for simple configuration. Existing configuration @old_name and staged configuration @new_name.', ['@old_name' => 'config_test.old', '@new_name' => 'config_test.new']), ]; diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php index d9a513caaae2e5df02b0bb7c0dd917cdc823a4a8..8375b3e8c819f356488d567c94d3d8d68bab22c5 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php @@ -84,14 +84,9 @@ public function testNoImport() { * fails. */ public function testEmptyImportFails() { - try { - $this->container->get('config.storage.sync')->deleteAll(); - $this->configImporter->reset()->import(); - $this->fail('ConfigImporterException thrown, successfully stopping an empty import.'); - } - catch (ConfigImporterException $e) { - $this->pass('ConfigImporterException thrown, successfully stopping an empty import.'); - } + $this->expectException(ConfigImporterException::class); + $this->container->get('config.storage.sync')->deleteAll(); + $this->configImporter->reset()->import(); } /** @@ -834,7 +829,7 @@ public function testInvalidStep() { $this->fail('Expected \InvalidArgumentException thrown'); } catch (\InvalidArgumentException $e) { - $this->pass('Expected \InvalidArgumentException thrown'); + // Expected exception; just continue testing. } $this->assertFalse(\Drupal::isConfigSyncing(), 'After an invalid step \Drupal::isConfigSyncing() returns FALSE'); } diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php index 7f89bfa2483e71addc9a7822c4bc9b2a57193b25..04b498b51b0fa58d455e96ea1a5c9875400febc7 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php @@ -228,7 +228,6 @@ public function testSchemaMapping() { $this->assertEqual($definition, $expected, 'Retrieved the right metadata for the first effect of image.style.medium'); - $a = \Drupal::config('config_test.dynamic.third_party'); $test = \Drupal::service('config.typed')->get('config_test.dynamic.third_party')->get('third_party_settings.config_schema_test'); $definition = $test->getDataDefinition()->toArray(); $expected = []; @@ -560,36 +559,30 @@ public function testConfigSchemaInfoAlter() { // Ensure that keys can not be added or removed by // hook_config_schema_info_alter(). \Drupal::state()->set('config_schema_test_exception_remove', TRUE); - $message = 'Expected ConfigSchemaAlterException thrown.'; try { $typed_config->getDefinitions(); - $this->fail($message); + $this->fail('Expected ConfigSchemaAlterException thrown.'); } catch (ConfigSchemaAlterException $e) { - $this->pass($message); $this->assertEqual($e->getMessage(), 'Invoking hook_config_schema_info_alter() has removed (config_schema_test.hook) schema definitions'); } \Drupal::state()->set('config_schema_test_exception_add', TRUE); - $message = 'Expected ConfigSchemaAlterException thrown.'; try { $typed_config->getDefinitions(); - $this->fail($message); + $this->fail('Expected ConfigSchemaAlterException thrown.'); } catch (ConfigSchemaAlterException $e) { - $this->pass($message); - $this->assertEqual($e->getMessage(), 'Invoking hook_config_schema_info_alter() has added (config_schema_test.hook_added_defintion) and removed (config_schema_test.hook) schema definitions'); + $this->assertEqual($e->getMessage(), 'Invoking hook_config_schema_info_alter() has added (config_schema_test.hook_added_definition) and removed (config_schema_test.hook) schema definitions'); } \Drupal::state()->set('config_schema_test_exception_remove', FALSE); - $message = 'Expected ConfigSchemaAlterException thrown.'; try { $typed_config->getDefinitions(); - $this->fail($message); + $this->fail('Expected ConfigSchemaAlterException thrown.'); } catch (ConfigSchemaAlterException $e) { - $this->pass($message); - $this->assertEqual($e->getMessage(), 'Invoking hook_config_schema_info_alter() has added (config_schema_test.hook_added_defintion) schema definitions'); + $this->assertEqual($e->getMessage(), 'Invoking hook_config_schema_info_alter() has added (config_schema_test.hook_added_definition) schema definitions'); } // Tests that hook_config_schema_info_alter() can add additional metadata to diff --git a/web/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php b/web/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php index 33c864458a6f63619bc64b0c061d5232c8e33c4b..44c82daf0e6031abb96865b10defc36f79f6120a 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php @@ -82,7 +82,6 @@ public function testReadUnsupportedDataTypeConfigException() { $config_parsed = $this->storage->read('core.extension'); } catch (UnsupportedDataTypeConfigException $e) { - $this->pass('Exception thrown when trying to read a field containing invalid data type.'); $this->assertStringContainsString($this->storage->getFilePath('core.extension'), $e->getMessage(), 'Erroneous file path is displayed.'); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php index ce77eb4fc52f4ccc7c84f952c8f998aab96e2a2c..2b81e349f0fcbbb5e1d74ce8ca0e46ed33b80c29 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php @@ -128,33 +128,17 @@ public function testMultipleStatementsForNewPhp() { $this->markTestSkipped("This test only runs for MySQL"); } - $db = Database::getConnection('default', 'default'); // Disable the protection at the PHP level. - try { - $db->query('SELECT * FROM {test}; SELECT * FROM {test_people}', - [], - ['allow_delimiter_in_query' => TRUE] - ); - $this->fail('No PDO exception thrown for multiple statements.'); - } - catch (DatabaseExceptionWrapper $e) { - $this->pass('PDO exception thrown for multiple statements.'); - } + $this->expectException(DatabaseExceptionWrapper::class); + Database::getConnection('default', 'default')->query('SELECT * FROM {test}; SELECT * FROM {test_people}', [], ['allow_delimiter_in_query' => TRUE]); } /** * Ensure that you cannot execute multiple statements. */ public function testMultipleStatements() { - - $db = Database::getConnection('default', 'default'); - try { - $db->query('SELECT * FROM {test}; SELECT * FROM {test_people}'); - $this->fail('No exception thrown for multiple statements.'); - } - catch (\InvalidArgumentException $e) { - $this->pass('Exception thrown for multiple statements.'); - } + $this->expectException(\InvalidArgumentException::class); + Database::getConnection('default', 'default')->query('SELECT * FROM {test}; SELECT * FROM {test_people}'); } /** diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php index 54cc6cd3fae3d7744ff685d3bc1cac534c435629..7b2c00fdd1eb1b44543a090824b7fe3557328a84 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php @@ -29,14 +29,8 @@ public function testPreparedStatement() { $this->fail('Expected PDOException or DatabaseExceptionWrapper, none was thrown.'); } - catch (\PDOException $e) { - $this->pass('Expected PDOException was thrown.'); - } - catch (DatabaseExceptionWrapper $e) { - $this->pass('Expected DatabaseExceptionWrapper was thrown.'); - } catch (\Exception $e) { - $this->fail("Thrown exception is not a PDOException:\n" . (string) $e); + $this->assertTrue($e instanceof \PDOException || $e instanceof DatabaseExceptionWrapper, 'Exception should be an instance of \PDOException or DatabaseExceptionWrapper, thrown ' . get_class($e)); } } @@ -44,17 +38,8 @@ public function testPreparedStatement() { * Tests the expected database exception thrown for inexistent tables. */ public function testQueryThrowsDatabaseExceptionWrapperException() { - $connection = Database::getConnection(); - try { - $connection->query('SELECT * FROM {does_not_exist}'); - $this->fail('Expected PDOException, none was thrown.'); - } - catch (DatabaseExceptionWrapper $e) { - $this->pass('Expected DatabaseExceptionWrapper was thrown.'); - } - catch (\Exception $e) { - $this->fail("Thrown exception is not a DatabaseExceptionWrapper:\n" . (string) $e); - } + $this->expectException(DatabaseExceptionWrapper::class); + Database::getConnection()->query('SELECT * FROM {does_not_exist}'); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php b/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php index ae468c686a9bb3b02c4400d28e6556c059a182ee..6772067d12ef61c6186864b3563fa94f17c2e94b 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php @@ -37,6 +37,7 @@ protected function setUp() { 'test_serialized', 'test_special_columns', 'TEST_UPPERCASE', + 'virtual', ]); self::addSampleData(); } @@ -164,6 +165,13 @@ public static function addSampleData() { 'function' => 'Function value 1', ]) ->execute(); + + $connection->insert('virtual') + ->fields([ + 'id' => 1, + 'function' => 'Function value 1', + ]) + ->execute(); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php index 8c0f57f0207ea09f8a1a0f88a26547b6a29153da..39e37c67f79d8d1b3e670bae36cf13154862f91f 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php @@ -36,7 +36,7 @@ public function testDefaultEmptyInsert() { $this->fail('Expected exception NoFieldsException has not been thrown.'); } catch (NoFieldsException $e) { - $this->pass('Expected exception NoFieldsException has been thrown.'); + // Expected exception; just continue testing. } $num_records_after = (int) $this->connection->query('SELECT COUNT(*) FROM {test}')->fetchField(); diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php index b103b5fc6f6b49b0568f1ad3e9336605ef471003..7a9626efa7d652559184b6bfd7a586bb468e3aa0 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/MergeTest.php @@ -207,11 +207,9 @@ public function testInvalidMerge() { 'name' => 'Tiffany', ]) ->execute(); - $this->pass('$options[\'throw_exception\'] is FALSE, no InvalidMergeQueryException thrown.'); } catch (InvalidMergeQueryException $e) { $this->fail('$options[\'throw_exception\'] is FALSE, but InvalidMergeQueryException thrown for invalid query.'); - return; } try { @@ -222,12 +220,11 @@ public function testInvalidMerge() { 'name' => 'Tiffany', ]) ->execute(); + $this->fail('InvalidMergeQueryException should be thrown.'); } - catch (InvalidMergeQueryException $e) { - $this->pass('InvalidMergeQueryException thrown for invalid query.'); - return; + catch (\Exception $e) { + $this->assertInstanceOf(InvalidMergeQueryException::class, $e); } - $this->fail('No InvalidMergeQueryException thrown'); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/QueryTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/QueryTest.php index d59082ba8c3d0954201d261cc749724adb7df364..9bc3b1bd56102d1515361fe72a579e6994f155fb 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/QueryTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/QueryTest.php @@ -28,8 +28,8 @@ public function testScalarSubstitution() { $names = $this->connection->query('SELECT name FROM {test} WHERE age IN ( :ages[] ) ORDER BY age', [':ages[]' => 25])->fetchAll(); $this->fail('Array placeholder with scalar argument should result in an exception.'); } - catch (\InvalidArgumentException $e) { - $this->pass('Array placeholder with scalar argument should result in an exception.'); + catch (\Exception $e) { + $this->assertInstanceOf(\InvalidArgumentException::class, $e); } } @@ -48,7 +48,7 @@ public function testArrayArgumentsSQLInjection() { $this->fail('SQL injection attempt via array arguments should result in a database exception.'); } catch (\InvalidArgumentException $e) { - $this->pass('SQL injection attempt via array arguments should result in a database exception.'); + // Expected exception; just continue testing. } // Test that the insert query that was used in the SQL injection attempt did @@ -85,7 +85,7 @@ public function testConditionOperatorArgumentsSQLInjection() { $this->fail('Should not be able to attempt SQL injection via condition operator.'); } catch (\ErrorException $e) { - $this->pass('SQL injection attempt via condition arguments should result in a database exception.'); + // Expected exception; just continue testing. } // Test that the insert query that was used in the SQL injection attempt did @@ -113,7 +113,7 @@ public function testConditionOperatorArgumentsSQLInjection() { $this->fail('Should not be able to attempt SQL injection via operator.'); } catch (\ErrorException $e) { - $this->pass('SQL injection attempt via condition arguments should result in a database exception.'); + // Expected exception; just continue testing. } // Attempt SQLi via union query - uppercase tablename. @@ -130,7 +130,7 @@ public function testConditionOperatorArgumentsSQLInjection() { $this->fail('Should not be able to attempt SQL injection via operator.'); } catch (\ErrorException $e) { - $this->pass('SQL injection attempt via condition arguments should result in a database exception.'); + // Expected exception; just continue testing. } restore_error_handler(); } diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php new file mode 100644 index 0000000000000000000000000000000000000000..9bc296c8e67c96b32ced46fc373658fdc930856f --- /dev/null +++ b/web/core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php @@ -0,0 +1,83 @@ +<?php + +namespace Drupal\KernelTests\Core\Database; + +/** + * Tests queries that include reserved words. + * + * @group Database + */ +class ReservedWordTest extends DatabaseTestBase { + + /** + * Tests SELECT count query from a table with a reserved name. + */ + public function testSelectReservedWordTableCount() { + $query = $this->connection->select('virtual'); + $num_records = $query->countQuery()->execute()->fetchField(); + + $this->assertSame('1', $num_records); + } + + /** + * Tests SELECT query with a specific field from a table with a reserved name. + */ + public function testSelectReservedWordTableSpecificField() { + $query = $this->connection->select('virtual'); + $query->addField('virtual', 'function'); + $rows = $query->execute()->fetchCol(); + + $this->assertSame('Function value 1', $rows[0]); + } + + /** + * Tests SELECT query with all fields from a table with a reserved name. + */ + public function testSelectReservedWordTableAllFields() { + $query = $this->connection->select('virtual'); + $query->fields('virtual'); + $result = $query->execute()->fetchObject(); + + $this->assertSame('Function value 1', $result->function); + } + + /** + * Tests SELECT count query from a table with a reserved alias. + */ + public function testSelectReservedWordAliasCount() { + $query = $this->connection->select('test', 'character'); + $num_records = $query->countQuery()->execute()->fetchField(); + + $this->assertSame('4', $num_records); + } + + /** + * Tests SELECT query with specific fields from a table with a reserved alias. + */ + public function testSelectReservedWordAliasSpecificFields() { + $query = $this->connection->select('test', 'high_priority'); + $query->addField('high_priority', 'name'); + $query->addField('high_priority', 'age', 'age'); + $query->condition('age', 27); + $record = $query->execute()->fetchObject(); + + // Ensure that we got the right record. + $this->assertSame('George', $record->name); + $this->assertSame('27', $record->age); + } + + /** + * Tests SELECT query with all fields from a table with a reserved alias. + */ + public function testSelectReservedWordAliasAllFields() { + $record = $this->connection->select('test', 'signal') + ->fields('signal') + ->condition('age', 27) + ->execute()->fetchObject(); + + // Ensure that we got the right record. + $this->assertSame('George', $record->name); + $this->assertSame('27', $record->age); + } + +} diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php index 2a86e3470f3124f2f1b1e65cd91c2f47977dd61d..481c75b636c36d124cdc0b68235b34c84abc69bf 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php @@ -433,7 +433,7 @@ public function testIndexLength() { $this->fail('\Drupal\Core\Database\SchemaObjectExistsException exception missed.'); } catch (SchemaObjectExistsException $e) { - $this->pass('\Drupal\Core\Database\SchemaObjectExistsException thrown when index already exists.'); + // Expected exception; just continue testing. } try { @@ -441,7 +441,7 @@ public function testIndexLength() { $this->fail('\Drupal\Core\Database\SchemaObjectDoesNotExistException exception missed.'); } catch (SchemaObjectDoesNotExistException $e) { - $this->pass('\Drupal\Core\Database\SchemaObjectDoesNotExistException thrown when index already exists.'); + // Expected exception; just continue testing. } // Get index information. @@ -687,7 +687,6 @@ protected function assertFieldAdditionRemoval($field_spec) { 'primary key' => ['serial_column'], ]; $this->schema->createTable($table_name, $table_spec); - $this->pass(new FormattableMarkup('Table %table created.', ['%table' => $table_name])); // Check the characteristics of the field. $this->assertFieldCharacteristics($table_name, 'test_field', $field_spec); @@ -705,7 +704,6 @@ protected function assertFieldAdditionRemoval($field_spec) { 'primary key' => ['serial_column'], ]; $this->schema->createTable($table_name, $table_spec); - $this->pass(new FormattableMarkup('Table %table created.', ['%table' => $table_name])); // Insert some rows to the table to test the handling of initial values. for ($i = 0; $i < 3; $i++) { @@ -723,7 +721,6 @@ protected function assertFieldAdditionRemoval($field_spec) { ->execute(); $this->schema->addField($table_name, 'test_field', $field_spec); - $this->pass(new FormattableMarkup('Column %column created.', ['%column' => 'test_field'])); // Check the characteristics of the field. $this->assertFieldCharacteristics($table_name, 'test_field', $field_spec); @@ -1025,7 +1022,6 @@ protected function assertFieldChange($old_spec, $new_spec, $test_data = NULL) { 'primary key' => ['serial_column'], ]; $this->schema->createTable($table_name, $table_spec); - $this->pass(new FormattableMarkup('Table %table created.', ['%table' => $table_name])); // Check the characteristics of the field. $this->assertFieldCharacteristics($table_name, 'test_field', $old_spec); diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php index c4a2f349cf33448dfa8678e890450f09a3dc872b..10bf943a785077a8066c6ee3189220eb16ffbd6f 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php @@ -161,8 +161,8 @@ public function testRange() { */ public function testRangeUndo() { $query = $this->connection->select('test'); - $name_field = $query->addField('test', 'name'); - $age_field = $query->addField('test', 'age', 'age'); + $query->addField('test', 'name'); + $query->addField('test', 'age', 'age'); $query->range(0, 2); $query->range(NULL, NULL); $query_result = $query->countQuery()->execute()->fetchField(); diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/SelectTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/SelectTest.php index f551e43f41cddda1160c2ec981424379918c6007..4ef1f420bc1ff839a5c602dad07775eb4d0e8f1c 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/SelectTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/SelectTest.php @@ -4,6 +4,7 @@ use Drupal\Core\Database\InvalidQueryException; use Drupal\Core\Database\Database; +use Drupal\Core\Database\DatabaseExceptionWrapper; /** * Tests the Select query builder. @@ -551,7 +552,7 @@ public function testSelectDuplicateAlias() { } /** - * Tests that an invalid merge query throws an exception. + * Tests that an invalid count query throws an exception. */ public function testInvalidSelectCount() { try { @@ -563,12 +564,9 @@ public function testInvalidSelectCount() { ->fields('t') ->countQuery() ->execute(); - - $this->pass('$options[\'throw_exception\'] is FALSE, no Exception thrown.'); } catch (\Exception $e) { $this->fail('$options[\'throw_exception\'] is FALSE, but Exception thrown for invalid query.'); - return; } try { @@ -577,12 +575,11 @@ public function testInvalidSelectCount() { ->fields('t') ->countQuery() ->execute(); + $this->fail('No Exception thrown.'); } catch (\Exception $e) { - $this->pass('Exception thrown for invalid query.'); - return; + $this->assertInstanceOf(DatabaseExceptionWrapper::class, $e); } - $this->fail('No Exception thrown.'); } /** diff --git a/web/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php b/web/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php index fae1f69bf8cde613a9538844249d5dde470b0d84..3adc34c0cf37be69db3bbaf1c69c22e31f328776 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php @@ -300,7 +300,7 @@ public function testTransactionWithDdlStatement() { // $this->fail('Rolling back a transaction containing DDL should fail.'); } catch (TransactionNoActiveException $e) { - $this->pass('Rolling back a transaction containing DDL should fail.'); + // Expected exception; just continue testing. } $this->assertRowPresent('row'); } @@ -466,12 +466,12 @@ public function testTransactionStacking() { $this->fail('Rolling back the outer transaction while the inner transaction is active resulted in an exception.'); } catch (TransactionOutOfOrderException $e) { - $this->pass('Rolling back the outer transaction while the inner transaction is active resulted in an exception.'); + // Expected exception; just continue testing. } $this->assertFalse($this->connection->inTransaction(), 'No more in a transaction after rolling back the outer transaction'); // Try to commit one inner transaction. unset($transaction3); - $this->pass('Trying to commit an inner transaction resulted in an exception.'); + // Try to rollback one inner transaction. try { $transaction->rollBack(); @@ -479,7 +479,7 @@ public function testTransactionStacking() { $this->fail('Trying to commit an inner transaction resulted in an exception.'); } catch (TransactionNoActiveException $e) { - $this->pass('Trying to commit an inner transaction resulted in an exception.'); + // Expected exception; just continue testing. } $this->assertRowAbsent('outer'); $this->assertRowAbsent('inner'); @@ -496,10 +496,10 @@ public function testQueryFailureInTransaction() { // Test a failed query using the query() method. try { $this->connection->query('SELECT age FROM {test} WHERE name = :name', [':name' => 'David'])->fetchField(); - $this->fail('Using the query method failed.'); + $this->fail('Using the query method should have failed.'); } catch (\Exception $e) { - $this->pass('Using the query method failed.'); + // Just continue testing. } // Test a failed select query. @@ -508,10 +508,10 @@ public function testQueryFailureInTransaction() { ->fields('test', ['name']) ->execute(); - $this->fail('Select query failed.'); + $this->fail('Select query should have failed.'); } catch (\Exception $e) { - $this->pass('Select query failed.'); + // Just continue testing. } // Test a failed insert query. @@ -523,10 +523,10 @@ public function testQueryFailureInTransaction() { ]) ->execute(); - $this->fail('Insert query failed.'); + $this->fail('Insert query should have failed.'); } catch (\Exception $e) { - $this->pass('Insert query failed.'); + // Just continue testing. } // Test a failed update query. @@ -536,10 +536,10 @@ public function testQueryFailureInTransaction() { ->condition('id', 1) ->execute(); - $this->fail('Update query failed.'); + $this->fail('Update query sould have failed.'); } catch (\Exception $e) { - $this->pass('Update query failed.'); + // Just continue testing. } // Test a failed delete query. @@ -548,10 +548,10 @@ public function testQueryFailureInTransaction() { ->condition('id', 1) ->execute(); - $this->fail('Delete query failed.'); + $this->fail('Delete query should have failed.'); } catch (\Exception $e) { - $this->pass('Delete query failed.'); + // Just continue testing. } // Test a failed merge query. @@ -564,10 +564,10 @@ public function testQueryFailureInTransaction() { ]) ->execute(); - $this->fail('Merge query failed.'); + $this->fail('Merge query should have failed.'); } catch (\Exception $e) { - $this->pass('Merge query failed.'); + // Just continue testing. } // Test a failed upsert query. @@ -582,10 +582,10 @@ public function testQueryFailureInTransaction() { ]) ->execute(); - $this->fail('Upset query failed.'); + $this->fail('Upsert query should have failed.'); } catch (\Exception $e) { - $this->pass('Upset query failed.'); + // Just continue testing. } // Create the missing schema and insert a row. diff --git a/web/core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php b/web/core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php index 20447edf1d076ef2f805f20c7f9628f20cc028fe..1e4a7a1ddffd1e83de7ff824503c9ada526792eb 100644 --- a/web/core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php @@ -3,6 +3,7 @@ namespace Drupal\KernelTests\Core\DrupalKernel; use Drupal\Core\DrupalKernel; +use Drupal\Core\DrupalKernelInterface; use Drupal\KernelTests\KernelTestBase; use Symfony\Component\HttpFoundation\Request; @@ -158,10 +159,8 @@ public function testRepeatedBootWithDifferentEnvironment() { $kernel = DrupalKernel::createFromRequest($request, $class_loader, $environment); $this->setSetting('container_yamls', []); $this->setSetting('hash_salt', $this->databasePrefix); - $kernel->boot(); + $this->assertInstanceOf(DrupalKernelInterface::class, $kernel->boot(), "Environment $environment should boot."); } - - $this->pass('Repeatedly loaded compiled DIC with different environment'); } /** diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php index 94487c74dc07c279c66c3fb85e2cc0d47d391ca7..a0d3c5938118d25ad69329bbf509301d882c2d9b 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php @@ -114,6 +114,27 @@ protected function setUp() { $this->entities[] = $entity; $entity->enforceIsNew(); $entity->save(); + + $array['level1'] = []; + $entity = ConfigQueryTest::create([ + 'label' => $this->randomMachineName(), + 'id' => '6', + 'array' => $array, + ]); + $this->entities[] = $entity; + $entity->enforceIsNew(); + $entity->save(); + + $array['level1']['level2'] = 4; + $entity = ConfigQueryTest::create([ + 'label' => $this->randomMachineName(), + 'id' => '7', + 'number' => 70, + 'array' => $array, + ]); + $this->entities[] = $entity; + $entity->enforceIsNew(); + $entity->save(); } /** @@ -123,11 +144,11 @@ public function testConfigEntityQuery() { // Run a test without any condition. $this->queryResults = $this->entityStorage->getQuery() ->execute(); - $this->assertResults(['1', '2', '3', '4', '5']); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); // No conditions, OR. $this->queryResults = $this->entityStorage->getQuery('OR') ->execute(); - $this->assertResults(['1', '2', '3', '4', '5']); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); // Filter by ID with equality. $this->queryResults = $this->entityStorage->getQuery() @@ -169,19 +190,19 @@ public function testConfigEntityQuery() { $this->queryResults = $this->entityStorage->getQuery() ->condition('id', '3', '>') ->execute(); - $this->assertResults(['4', '5']); + $this->assertResults(['4', '5', '6', '7']); // Filter by ID with the >= operator. $this->queryResults = $this->entityStorage->getQuery() ->condition('id', '3', '>=') ->execute(); - $this->assertResults(['3', '4', '5']); + $this->assertResults(['3', '4', '5', '6', '7']); // Filter by ID with the <> operator. $this->queryResults = $this->entityStorage->getQuery() ->condition('id', '3', '<>') ->execute(); - $this->assertResults(['1', '2', '4', '5']); + $this->assertResults(['1', '2', '4', '5', '6', '7']); // Filter by ID with the < operator. $this->queryResults = $this->entityStorage->getQuery() @@ -226,7 +247,7 @@ public function testConfigEntityQuery() { ->condition('number', 10, '>=') ->condition('number', 50, '>=') ->execute(); - $this->assertResults(['3', '5']); + $this->assertResults(['3', '5', '7']); // Filter with an OR condition group. $this->queryResults = $this->entityStorage->getQuery('OR') @@ -249,7 +270,7 @@ public function testConfigEntityQuery() { $this->queryResults = $this->entityStorage->getQuery() ->condition('id', ['1', '2'], 'NOT IN') ->execute(); - $this->assertResults(['3', '4', '5']); + $this->assertResults(['3', '4', '5', '6', '7']); // Filter with an OR condition group on different fields. $this->queryResults = $this->entityStorage->getQuery('OR') @@ -328,7 +349,7 @@ public function testConfigEntityQuery() { $this->queryResults = $this->entityStorage->getQuery() ->exists('id') ->execute(); - $this->assertResults(['1', '2', '3', '4', '5']); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); $this->queryResults = $this->entityStorage->getQuery() ->exists('non-existent') @@ -343,7 +364,7 @@ public function testConfigEntityQuery() { $this->queryResults = $this->entityStorage->getQuery() ->notExists('non-existent') ->execute(); - $this->assertResults(['1', '2', '3', '4', '5']); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); } /** @@ -436,38 +457,38 @@ public function testSortRange() { $this->queryResults = $this->entityStorage->getQuery() ->sort('number', 'DESC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['3', '5', '2', '1', '4']); + $this->assertIdentical(array_values($this->queryResults), ['7', '3', '5', '2', '1', '4', '6']); $this->queryResults = $this->entityStorage->getQuery() ->sort('number', 'ASC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['4', '1', '2', '5', '3']); + $this->assertIdentical(array_values($this->queryResults), ['6', '4', '1', '2', '5', '3', '7']); // Apply some filters and sort. $this->queryResults = $this->entityStorage->getQuery() ->condition('id', '3', '>') ->sort('number', 'DESC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['5', '4']); + $this->assertIdentical(array_values($this->queryResults), ['7', '5', '4', '6']); $this->queryResults = $this->entityStorage->getQuery() ->condition('id', '3', '>') ->sort('number', 'ASC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['4', '5']); + $this->assertIdentical(array_values($this->queryResults), ['6', '4', '5', '7']); // Apply a pager and sort. $this->queryResults = $this->entityStorage->getQuery() ->sort('number', 'DESC') ->range('2', '2') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['2', '1']); + $this->assertIdentical(array_values($this->queryResults), ['5', '2']); $this->queryResults = $this->entityStorage->getQuery() ->sort('number', 'ASC') ->range('2', '2') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['2', '5']); + $this->assertIdentical(array_values($this->queryResults), ['1', '2']); // Add a range to a query without a start parameter. $this->queryResults = $this->entityStorage->getQuery() @@ -499,28 +520,28 @@ public function testTableSort() { ->tableSort($header) ->sort('id', 'DESC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['5', '4', '3', '2', '1']); + $this->assertIdentical(array_values($this->queryResults), ['7', '6', '5', '4', '3', '2', '1']); // Sorting with 'ASC' upper case $this->queryResults = $this->entityStorage->getQuery() ->tableSort($header) ->sort('id', 'ASC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['1', '2', '3', '4', '5']); + $this->assertIdentical(array_values($this->queryResults), ['1', '2', '3', '4', '5', '6', '7']); // Sorting with 'desc' lower case $this->queryResults = $this->entityStorage->getQuery() ->tableSort($header) ->sort('id', 'desc') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['5', '4', '3', '2', '1']); + $this->assertIdentical(array_values($this->queryResults), ['7', '6', '5', '4', '3', '2', '1']); // Sorting with 'asc' lower case $this->queryResults = $this->entityStorage->getQuery() ->tableSort($header) ->sort('id', 'asc') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['1', '2', '3', '4', '5']); + $this->assertIdentical(array_values($this->queryResults), ['1', '2', '3', '4', '5', '6', '7']); // Sort key: number // Sorting with 'DeSc' mixed upper and lower case @@ -528,28 +549,28 @@ public function testTableSort() { ->tableSort($header) ->sort('number', 'DeSc') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['3', '5', '2', '1', '4']); + $this->assertIdentical(array_values($this->queryResults), ['7', '3', '5', '2', '1', '4', '6']); // Sorting with 'AsC' mixed upper and lower case $this->queryResults = $this->entityStorage->getQuery() ->tableSort($header) ->sort('number', 'AsC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['4', '1', '2', '5', '3']); + $this->assertIdentical(array_values($this->queryResults), ['6', '4', '1', '2', '5', '3', '7']); // Sorting with 'dEsC' mixed upper and lower case $this->queryResults = $this->entityStorage->getQuery() ->tableSort($header) ->sort('number', 'dEsC') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['3', '5', '2', '1', '4']); + $this->assertIdentical(array_values($this->queryResults), ['7', '3', '5', '2', '1', '4', '6']); // Sorting with 'aSc' mixed upper and lower case $this->queryResults = $this->entityStorage->getQuery() ->tableSort($header) ->sort('number', 'aSc') ->execute(); - $this->assertIdentical(array_values($this->queryResults), ['4', '1', '2', '5', '3']); + $this->assertIdentical(array_values($this->queryResults), ['6', '4', '1', '2', '5', '3', '7']); } /** @@ -572,6 +593,15 @@ public function testDotted() { ->condition('array.level1.level2', 3) ->execute(); $this->assertResults(['5']); + // Test dotted sorting. + $this->queryResults = $this->entityStorage->getQuery() + ->sort('array.level1.level2') + ->execute(); + $this->assertResults(['6', '1', '3', '2', '4', '5', '7']); + $this->queryResults = $this->entityStorage->getQuery() + ->sort('array.level1.level2', 'DESC') + ->execute(); + $this->assertResults(['7', '5', '2', '4', '1', '3', '6']); // Make sure that values on the wildcard level do not match if there are // sub-keys defined. This must not find anything even if entity 2 has a // top-level key number with value 41. @@ -581,23 +611,22 @@ public function testDotted() { $this->assertResults([]); // Make sure that "IS NULL" and "IS NOT NULL" work correctly with // array-valued fields/keys. - $all = ['1', '2', '3', '4', '5']; $this->queryResults = $this->entityStorage->getQuery() ->exists('array.level1.level2') ->execute(); - $this->assertResults($all); + $this->assertResults(['1', '2', '3', '4', '5', '7']); $this->queryResults = $this->entityStorage->getQuery() ->exists('array.level1') ->execute(); - $this->assertResults($all); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); $this->queryResults = $this->entityStorage->getQuery() ->exists('array') ->execute(); - $this->assertResults($all); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); $this->queryResults = $this->entityStorage->getQuery() ->notExists('array.level1.level2') ->execute(); - $this->assertResults([]); + $this->assertResults(['6']); $this->queryResults = $this->entityStorage->getQuery() ->notExists('array.level1') ->execute(); @@ -606,6 +635,16 @@ public function testDotted() { ->notExists('array') ->execute(); $this->assertResults([]); + // Make sure that "IS NULL" and "IS NOT NULL" work correctly when the dotted + // path cannot be fully followed. + $this->queryResults = $this->entityStorage->getQuery() + ->exists('does.not.exist') + ->execute(); + $this->assertResults([]); + $this->queryResults = $this->entityStorage->getQuery() + ->notExists('does.not.exist') + ->execute(); + $this->assertResults(['1', '2', '3', '4', '5', '6', '7']); } /** diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php index b46661374a84bddd73d70c447ec8eb8f54de4689..38b9e1495077a186d38f25a517c6eddcac85887e 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php @@ -214,7 +214,6 @@ public function testEntityStorageExceptionHandling() { try { unset($GLOBALS['entity_test_throw_exception']); $entity->save(); - $this->pass('Exception presave not thrown and not caught.'); } catch (EntityStorageException $e) { $this->assertNotEqual($e->getCode(), 1, 'Entity presave EntityStorageException caught.'); @@ -236,7 +235,6 @@ public function testEntityStorageExceptionHandling() { $entity->save(); try { $entity->delete(); - $this->pass('Entity predelete EntityStorageException not thrown and not caught.'); } catch (EntityStorageException $e) { $this->assertNotEqual($e->getCode(), 2, 'Entity predelete EntityStorageException thrown.'); diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php index ca65eb832441e07f75561b1a6a8c967036d6acab..7a513f5ec5eaf0c1ce46104d45c6e7b00d6aa137 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php @@ -115,7 +115,7 @@ public function testSelectionSettingsHandling() { $this->fail('Non-existent selection settings key throws an exception.'); } catch (AccessDeniedHttpException $e) { - $this->pass('Non-existent selection settings key throws an exception.'); + // Expected exception; just continue testing. } try { @@ -129,12 +129,7 @@ public function testSelectionSettingsHandling() { $entity_reference_controller->handleAutocomplete($request, $this->entityType, 'default', $selection_settings_key); } catch (AccessDeniedHttpException $e) { - if ($e->getMessage() == 'Invalid selection settings key.') { - $this->pass('Invalid selection settings key throws an exception.'); - } - else { - $this->fail('Invalid selection settings key throws an exception.'); - } + $this->assertSame('Invalid selection settings key.', $e->getMessage()); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php index fd75f33957c4bda070a487e17e5de1526a4b60cc..2ad32880a18983b70699c16e808ae77a9f5e91e4 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php @@ -551,7 +551,7 @@ public function testEntityRollback() { $this->fail('Expected exception has not been thrown.'); } catch (\Exception $e) { - $this->pass('Expected exception has been thrown.'); + // Expected exception; just continue testing. } if (Database::getConnection()->supportsTransactions()) { diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php index 99fbff3bf7d8813f7660dca142e9eaa840ff1336..61cd3eb4ab751c23a904daad1e75090f5452c1b5 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php @@ -17,6 +17,7 @@ use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\entity_test\FieldStorageDefinition; use Drupal\entity_test_update\Entity\EntityTestUpdate; +use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Tests\system\Functional\Entity\Traits\EntityDefinitionTestTrait; /** @@ -56,7 +57,7 @@ class EntityDefinitionUpdateTest extends EntityKernelTestBase { * * @var array */ - public static $modules = ['entity_test_update']; + public static $modules = ['entity_test_update', 'language']; /** * {@inheritdoc} @@ -144,7 +145,7 @@ public function testEntityTypeUpdateWithEntityStorageChange() { $this->fail('EntityStorageException thrown when trying to apply an update that requires shared table schema changes.'); } catch (EntityStorageException $e) { - $this->pass('EntityStorageException thrown when trying to apply an update that requires shared table schema changes.'); + // Expected exception; just continue testing. } } @@ -426,7 +427,6 @@ public function testBaseFieldCreateDeleteWithExistingEntities() { $this->assertTrue($assert, 'Columns created again in shared table for new_base_field.'); $entity = $storage->create(['name' => $name]); $entity->save(); - $this->pass('The new_base_field columns are still nullable'); } /** @@ -490,7 +490,6 @@ public function testBundleFieldCreateDeleteWithExistingEntities() { $this->database->insert('entity_test_update__new_bundle_field') ->fields($values) ->execute(); - $this->pass($message); } else { // Keep throwing it. @@ -504,18 +503,22 @@ public function testBundleFieldCreateDeleteWithExistingEntities() { * * @dataProvider baseFieldDeleteWithExistingDataTestCases */ - public function testBaseFieldDeleteWithExistingData($entity_type_id, $create_entity_revision, $base_field_revisionable) { + public function testBaseFieldDeleteWithExistingData($entity_type_id, $create_entity_revision, $base_field_revisionable, $create_entity_translation) { + // Enable an additional language. + ConfigurableLanguage::createFromLangcode('ro')->save(); + /** @var \Drupal\Core\Entity\Sql\SqlEntityStorageInterface $storage */ $storage = $this->entityTypeManager->getStorage($entity_type_id); $schema_handler = $this->database->schema(); // Create an entity without the base field, to ensure NULL values are not // added to the dedicated table storage to be purged. + /** @var \Drupal\Core\Entity\ContentEntityInterface $entity */ $entity = $storage->create(); $entity->save(); // Add the base field and run the update. - $this->addBaseField('string', $entity_type_id, $base_field_revisionable); + $this->addBaseField('string', $entity_type_id, $base_field_revisionable, TRUE, $create_entity_translation); $this->applyEntityUpdates(); /** @var \Drupal\Core\Entity\Sql\DefaultTableMapping $table_mapping */ @@ -526,10 +529,22 @@ public function testBaseFieldDeleteWithExistingData($entity_type_id, $create_ent $entity = $storage->create(['new_base_field' => 'foo']); $entity->save(); + if ($create_entity_translation) { + $translation = $entity->addTranslation('ro', ['new_base_field' => 'foo-ro']); + $translation->save(); + } + if ($create_entity_revision) { $entity->setNewRevision(TRUE); + $entity->isDefaultRevision(FALSE); $entity->new_base_field = 'bar'; $entity->save(); + + if ($create_entity_translation) { + $translation = $entity->getTranslation('ro'); + $translation->new_base_field = 'bar-ro'; + $translation->save(); + } } // Remove the base field and apply updates. @@ -544,65 +559,81 @@ public function testBaseFieldDeleteWithExistingData($entity_type_id, $create_ent $dedicated_deleted_table_name = $table_mapping->getDedicatedDataTableName($storage_definition, TRUE); $this->assertTrue($schema_handler->tableExists($dedicated_deleted_table_name), 'A dedicated table was created for the deleted new_base_field.'); + $expected[] = [ + 'bundle' => $entity->bundle(), + 'deleted' => '1', + 'entity_id' => '2', + 'revision_id' => '2', + 'langcode' => 'en', + 'delta' => '0', + 'new_base_field_value' => 'foo', + ]; + + if ($create_entity_translation) { + $expected[] = [ + 'bundle' => $entity->bundle(), + 'deleted' => '1', + 'entity_id' => '2', + 'revision_id' => '2', + 'langcode' => 'ro', + 'delta' => '0', + 'new_base_field_value' => 'foo-ro', + ]; + } + // Check that the deleted field's data is preserved in the dedicated // 'deleted' table. $result = $this->database->select($dedicated_deleted_table_name, 't') ->fields('t') + ->orderBy('revision_id', 'ASC') + ->orderBy('langcode', 'ASC') ->execute() - ->fetchAll(); - $this->assertCount(1, $result); + ->fetchAll(\PDO::FETCH_ASSOC); + $this->assertCount(count($expected), $result); - $expected = [ - 'bundle' => $entity->bundle(), - 'deleted' => '1', - 'entity_id' => $entity->id(), - 'revision_id' => $create_entity_revision ? $entity->getRevisionId() : $entity->id(), - 'langcode' => $entity->language()->getId(), - 'delta' => '0', - 'new_base_field_value' => $entity->new_base_field->value, - ]; // Use assertEquals and not assertSame here to prevent that a different // sequence of the columns in the table will affect the check. - $this->assertEquals($expected, (array) $result[0]); + $this->assertEquals($expected, $result); if ($create_entity_revision) { $dedicated_deleted_revision_table_name = $table_mapping->getDedicatedRevisionTableName($storage_definition, TRUE); $this->assertTrue($schema_handler->tableExists($dedicated_deleted_revision_table_name), 'A dedicated revision table was created for the deleted new_base_field.'); + if ($base_field_revisionable) { + $expected[] = [ + 'bundle' => $entity->bundle(), + 'deleted' => '1', + 'entity_id' => '2', + 'revision_id' => '3', + 'langcode' => 'en', + 'delta' => '0', + 'new_base_field_value' => 'bar', + ]; + + if ($create_entity_translation) { + $expected[] = [ + 'bundle' => $entity->bundle(), + 'deleted' => '1', + 'entity_id' => '2', + 'revision_id' => '3', + 'langcode' => 'ro', + 'delta' => '0', + 'new_base_field_value' => 'bar-ro', + ]; + } + } + $result = $this->database->select($dedicated_deleted_revision_table_name, 't') ->fields('t') - ->orderBy('revision_id', 'DESC') + ->orderBy('revision_id', 'ASC') + ->orderBy('langcode', 'ASC') ->execute() - ->fetchAll(); - // Only one row will be created for non-revisionable base fields. - $this->assertCount($base_field_revisionable ? 2 : 1, $result); + ->fetchAll(\PDO::FETCH_ASSOC); + $this->assertCount(count($expected), $result); // Use assertEquals and not assertSame here to prevent that a different // sequence of the columns in the table will affect the check. - $this->assertEquals([ - 'bundle' => $entity->bundle(), - 'deleted' => '1', - 'entity_id' => $entity->id(), - 'revision_id' => '3', - 'langcode' => $entity->language()->getId(), - 'delta' => '0', - 'new_base_field_value' => 'bar', - ], (array) $result[0]); - - // Two rows only exist if the base field is revisionable. - if ($base_field_revisionable) { - // Use assertEquals and not assertSame here to prevent that a different - // sequence of the columns in the table will affect the check. - $this->assertEquals([ - 'bundle' => $entity->bundle(), - 'deleted' => '1', - 'entity_id' => $entity->id(), - 'revision_id' => '2', - 'langcode' => $entity->language()->getId(), - 'delta' => '0', - 'new_base_field_value' => 'foo', - ], (array) $result[1]); - } + $this->assertEquals($expected, $result); } // Check that the field storage definition is marked for purging. @@ -626,45 +657,65 @@ public function testBaseFieldDeleteWithExistingData($entity_type_id, $create_ent */ public function baseFieldDeleteWithExistingDataTestCases() { return [ - 'Non-revisionable entity type' => [ + 'Non-revisionable, non-translatable entity type' => [ 'entity_test_update', FALSE, FALSE, + FALSE, ], - 'Non-revisionable custom data table' => [ + 'Non-revisionable, non-translatable custom data table' => [ 'entity_test_mul', FALSE, FALSE, + FALSE, ], - 'Non-revisionable entity type, revisionable base field' => [ + 'Non-revisionable, non-translatable entity type, revisionable base field' => [ 'entity_test_update', FALSE, TRUE, + FALSE, ], - 'Non-revisionable custom data table, revisionable base field' => [ + 'Non-revisionable, non-translatable custom data table, revisionable base field' => [ 'entity_test_mul', FALSE, TRUE, + FALSE, ], - 'Revisionable entity type, non revisionable base field' => [ + 'Revisionable, translatable entity type, non revisionable and non-translatable base field' => [ 'entity_test_mulrev', TRUE, FALSE, + FALSE, ], - 'Revisionable entity type, revisionable base field' => [ + 'Revisionable, translatable entity type, revisionable and non-translatable base field' => [ 'entity_test_mulrev', TRUE, TRUE, + FALSE, ], - 'Non-translatable revisionable entity type, revisionable base field' => [ + 'Revisionable and non-translatable entity type, revisionable and non-translatable base field' => [ 'entity_test_rev', TRUE, TRUE, + FALSE, ], - 'Non-translatable revisionable entity type, non-revisionable base field' => [ + 'Revisionable and non-translatable entity type, non-revisionable and non-translatable base field' => [ 'entity_test_rev', TRUE, FALSE, + FALSE, + ], + 'Revisionable and translatable entity type, non-revisionable and translatable base field' => [ + 'entity_test_mulrev', + TRUE, + FALSE, + TRUE, + ], + 'Revisionable and translatable entity type, revisionable and translatable base field' => [ + 'entity_test_mulrev', + TRUE, + TRUE, + TRUE, ], ]; } @@ -763,7 +814,7 @@ public function testBaseFieldUpdateWithExistingData() { $this->fail('FieldStorageDefinitionUpdateForbiddenException thrown when trying to update a field schema that has data.'); } catch (FieldStorageDefinitionUpdateForbiddenException $e) { - $this->pass('FieldStorageDefinitionUpdateForbiddenException thrown when trying to update a field schema that has data.'); + // Expected exception; just continue testing. } } @@ -787,7 +838,7 @@ public function testBundleFieldUpdateWithExistingData() { $this->fail('FieldStorageDefinitionUpdateForbiddenException thrown when trying to update a field schema that has data.'); } catch (FieldStorageDefinitionUpdateForbiddenException $e) { - $this->pass('FieldStorageDefinitionUpdateForbiddenException thrown when trying to update a field schema that has data.'); + // Expected exception; just continue testing. } } @@ -972,7 +1023,7 @@ public function testSingleActionCalls() { $this->fail($message); } catch (PluginNotFoundException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Ensure that a field cannot be installed on non-existing entity type. @@ -985,7 +1036,7 @@ public function testSingleActionCalls() { $this->fail($message); } catch (PluginNotFoundException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Ensure that installing an existing entity type is a no-op. @@ -1114,14 +1165,13 @@ public function testBaseFieldEntityKeyUpdateWithExistingData() { $this->fail($message); } catch (EntityStorageException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Check that the update is correctly applied when no NULL data is left. $entity->set('new_base_field', $this->randomString()); $entity->save(); $this->applyEntityUpdates(); - $this->pass('The update is correctly performed when no NULL data exists.'); // Check that the update actually applied a NOT NULL constraint. $entity->set('new_base_field', NULL); @@ -1131,7 +1181,7 @@ public function testBaseFieldEntityKeyUpdateWithExistingData() { $this->fail($message); } catch (EntityStorageException $e) { - $this->pass($message); + // Expected exception; just continue testing. } } @@ -1269,7 +1319,6 @@ public function testInitialValueFromFieldErrorHandling() { } catch (FieldException $e) { $this->assertEquals('Illegal initial value definition on new_base_field: The field field_that_does_not_exist does not exist.', $e->getMessage()); - $this->pass('Using a non-existent field as initial value does not work.'); } try { @@ -1282,7 +1331,6 @@ public function testInitialValueFromFieldErrorHandling() { } catch (FieldException $e) { $this->assertEquals('Illegal initial value definition on new_base_field: The field types do not match.', $e->getMessage()); - $this->pass('Using a field of a different type as initial value does not work.'); } try { @@ -1306,7 +1354,6 @@ public function testInitialValueFromFieldErrorHandling() { } catch (FieldException $e) { $this->assertEquals('Illegal initial value definition on new_base_field: Both fields have to be stored in the shared entity tables.', $e->getMessage()); - $this->pass('Using a field that is not stored in the shared tables as initial value does not work.'); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php index 6d2b3e4c1c2deb28c8a6b9a4fc0ef66b5ba5401e..5baabde9ea3d1fcaac96af5f9da7dff554841bd3 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php @@ -1106,17 +1106,12 @@ public function testPendingRevisions() { * database driver's EntityQuery\Condition class. */ public function testInjectionInCondition() { - try { - $this->queryResults = $this->storage - ->getQuery() - ->condition('1 ; -- ', [0, 1], 'IN') - ->sort('id') - ->execute(); - $this->fail('SQL Injection attempt in Entity Query condition in operator should result in an exception.'); - } - catch (\Exception $e) { - $this->pass('SQL Injection attempt in Entity Query condition in operator should result in an exception.'); - } + $this->expectException(\Exception::class); + $this->queryResults = $this->storage + ->getQuery() + ->condition('1 ; -- ', [0, 1], 'IN') + ->sort('id') + ->execute(); } /** diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php index d16661bb263958980a43f0b6b045b5bc409b2f9e..afb8a8199a65ea71ef98d15d5c1c1e10989e0b6e 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php @@ -273,7 +273,7 @@ public function testAutocreateApi() { $this->fail($message); } catch (\InvalidArgumentException $e) { - $this->pass($message); + // Expected exception; just continue testing. } $this->assertUserAutocreate($entity, function (EntityInterface $entity, UserInterface $user) { $entity->user_id = $user; @@ -307,7 +307,7 @@ public function testAutocreateApi() { $this->fail($message); } catch (\InvalidArgumentException $e) { - $this->pass($message); + // Expected exception; just continue testing. } $this->assertUserRoleAutocreate($entity, function (EntityInterface $entity, RoleInterface $role) { $entity->user_role = $role; @@ -404,7 +404,6 @@ public function testTargetEntityNoLoad() { ->getStorage($entity_type->id()) ->create(['name' => $this->randomString()]); $entity->target_reference = $target_id; - $this->pass($message); } catch (EntityStorageException $e) { $this->fail($message); @@ -418,7 +417,7 @@ public function testTargetEntityNoLoad() { $this->fail($message); } catch (EntityStorageException $e) { - $this->pass($message); + // Expected exception; just continue testing. } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php index a7426b84d081abed64081e546110e5d6caf871c4..506f1f458aa83868578bfebb97650aa04076c137 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php @@ -62,13 +62,12 @@ protected function doTestEntityLanguageMethods($entity_type) { $this->assertEqual($field->getLangcode(), LanguageInterface::LANGCODE_NOT_SPECIFIED, new FormattableMarkup('%entity_type: Field object has the expected langcode.', ['%entity_type' => $entity_type])); // Try to get add a translation to language neutral entity. - $message = 'Adding a translation to a language-neutral entity results in an error.'; try { $entity->addTranslation($this->langcodes[1]); - $this->fail($message); + $this->fail('Adding a translation to a language-neutral entity results in an error.'); } catch (\InvalidArgumentException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Now, make the entity language-specific by assigning a language and test @@ -101,26 +100,24 @@ protected function doTestEntityLanguageMethods($entity_type) { $this->assertEqual($entity->getTranslationLanguages(FALSE), $translations, 'Translations retrieved.'); // Try to get a value using a language code for a non-existing translation. - $message = 'Getting a non existing translation results in an error.'; try { $entity->getTranslation($this->langcodes[2])->get($this->fieldName)->value; - $this->fail($message); + $this->fail('Getting a non existing translation results in an error.'); } catch (\InvalidArgumentException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Try to get a not available translation. $this->assertNull($entity->addTranslation($this->langcodes[2])->get($this->fieldName)->value, new FormattableMarkup('%entity_type: A translation that is not available is NULL.', ['%entity_type' => $entity_type])); // Try to get a value using an invalid language code. - $message = 'Getting an invalid translation results in an error.'; try { $entity->getTranslation('invalid')->get($this->fieldName)->value; - $this->fail($message); + $this->fail('Getting an invalid translation results in an error.'); } catch (\InvalidArgumentException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Try to set a value using an invalid language code. @@ -129,7 +126,7 @@ protected function doTestEntityLanguageMethods($entity_type) { $this->fail(new FormattableMarkup('%entity_type: Setting a translation for an invalid language throws an exception.', ['%entity_type' => $entity_type])); } catch (\InvalidArgumentException $e) { - $this->pass(new FormattableMarkup('%entity_type: Setting a translation for an invalid language throws an exception.', ['%entity_type' => $entity_type])); + // Expected exception; just continue testing. } // Set the value in default language. @@ -352,13 +349,12 @@ protected function doTestEntityTranslationAPI($entity_type) { // Verify that trying to retrieve a translation for a locked language when // the entity is language-aware causes an exception to be thrown. - $message = 'A language-neutral translation cannot be retrieved.'; try { $entity->getTranslation(LanguageInterface::LANGCODE_NOT_SPECIFIED); - $this->fail($message); + $this->fail('A language-neutral translation cannot be retrieved.'); } catch (\LogicException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Create a translation and verify that the translation object and the @@ -391,23 +387,20 @@ protected function doTestEntityTranslationAPI($entity_type) { // Verify that changing translation language causes an exception to be // thrown. - $message = 'The translation language cannot be changed.'; try { $translation->{$langcode_key}->value = $this->langcodes[2]; - $this->fail($message); + $this->fail('The translation language cannot be changed.'); } catch (\LogicException $e) { - $this->pass($message); + // Expected exception; just continue testing. } // Verify that reassigning the same translation language is allowed. - $message = 'The translation language can be reassigned the same value.'; try { $translation->{$langcode_key}->value = $langcode; - $this->pass($message); } catch (\LogicException $e) { - $this->fail($message); + $this->fail('The translation language can be reassigned the same value.'); } // Verify that changing the default translation flag causes an exception to @@ -416,22 +409,19 @@ protected function doTestEntityTranslationAPI($entity_type) { $translation = $entity->getTranslation($t_langcode); $default = $translation->isDefaultTranslation(); - $message = 'The default translation flag can be reassigned the same value.'; try { $translation->{$default_langcode_key}->value = $default; - $this->pass($message); } catch (\LogicException $e) { - $this->fail($message); + $this->fail('The default translation flag can be reassigned the same value.'); } - $message = 'The default translation flag cannot be changed.'; try { $translation->{$default_langcode_key}->value = !$default; - $this->fail($message); + $this->fail('The default translation flag cannot be changed.'); } catch (\LogicException $e) { - $this->pass($message); + // Expected exception; just continue testing. } $this->assertEqual($translation->{$default_langcode_key}->value, $default); @@ -464,13 +454,12 @@ protected function doTestEntityTranslationAPI($entity_type) { $translation = $entity->getTranslation($langcode2); $entity->removeTranslation($langcode2); foreach (['get', 'set', '__get', '__set', 'createDuplicate'] as $method) { - $message = new FormattableMarkup('The @method method raises an exception when trying to manipulate a removed translation.', ['@method' => $method]); try { $translation->{$method}('name', $this->randomMachineName()); - $this->fail($message); + $this->fail("The $method method raises an exception when trying to manipulate a removed translation."); } catch (\Exception $e) { - $this->pass($message); + // Expected exception; just continue testing. } } @@ -486,13 +475,12 @@ protected function doTestEntityTranslationAPI($entity_type) { // Check that removing an invalid translation causes an exception to be // thrown. foreach ([$default_langcode, LanguageInterface::LANGCODE_DEFAULT, $this->randomMachineName()] as $invalid_langcode) { - $message = new FormattableMarkup('Removing an invalid translation (@langcode) causes an exception to be thrown.', ['@langcode' => $invalid_langcode]); try { $entity->removeTranslation($invalid_langcode); - $this->fail($message); + $this->fail("Removing an invalid translation ($invalid_langcode) causes an exception to be thrown."); } catch (\Exception $e) { - $this->pass($message); + // Expected exception; just continue testing. } } @@ -714,14 +702,13 @@ public function testFieldDefinitions() { foreach ($translatable_fields as $name => $translatable) { $this->state->set('entity_test.field_definitions.translatable', [$name => $translatable]); $entity_field_manager->clearCachedFieldDefinitions(); - $message = new FormattableMarkup('Field %field cannot be translatable.', ['%field' => $name]); try { $entity_field_manager->getBaseFieldDefinitions($entity_type); - $this->fail($message); + $this->fail("Field $name cannot be translatable."); } catch (\LogicException $e) { - $this->pass($message); + // Expected exception; just continue testing. } } } @@ -778,13 +765,12 @@ protected function doTestLanguageChange($entity_type) { // Check that setting the default language to an existing translation // language causes an exception to be thrown. - $message = 'An exception is thrown when setting the default language to an existing translation language'; try { $entity->{$langcode_key}->value = $this->langcodes[2]; - $this->fail($message); + $this->fail('An exception is thrown when setting the default language to an existing translation language'); } catch (\InvalidArgumentException $e) { - $this->pass($message); + // Expected exception; just continue testing. } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php index 36b0ce463408f377752323a8272475dc79ebaa93..f8eb3fbcadc512a1b1d7803a1754662c40d51441 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php @@ -339,13 +339,8 @@ public function testUpdateFieldSchemaWithData() { // Attempt to update the field in a way that would work without data. $field_storage->setSetting('scale', 3); - try { - $field_storage->save(); - $this->fail('Cannot update field schema with data.'); - } - catch (FieldStorageDefinitionUpdateForbiddenException $e) { - $this->pass('Cannot update field schema with data.'); - } + $this->expectException(FieldStorageDefinitionUpdateForbiddenException::class); + $field_storage->save(); } /** @@ -373,7 +368,7 @@ public function testFieldUpdateFailure() { $this->fail('Update succeeded.'); } catch (\Exception $e) { - $this->pass('Update properly failed.'); + // Expected exception; just continue testing. } // Ensure that the field tables are still there. diff --git a/web/core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php b/web/core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php index 2b0579fd59aca136963b6ae8b239045864b3ab7f..5cc13188387af41c2dde2e41de7679aba14a909c 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Extension/ModuleImplementsAlterTest.php @@ -77,15 +77,10 @@ public function testModuleImplementsAlterNonExistingImplementation() { // Install the module_test module. \Drupal::service('module_installer')->install(['module_test']); - try { - // Trigger hook discovery. - \Drupal::moduleHandler()->getImplementations('unimplemented_test_hook'); - $this->fail('An exception should be thrown for the non-existing implementation.'); - } - catch (\RuntimeException $e) { - $this->pass('An exception should be thrown for the non-existing implementation.'); - $this->assertEqual($e->getMessage(), 'An invalid implementation module_test_unimplemented_test_hook was added by hook_module_implements_alter()'); - } + // Trigger hook discovery. + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('An invalid implementation module_test_unimplemented_test_hook was added by hook_module_implements_alter()'); + \Drupal::moduleHandler()->getImplementations('unimplemented_test_hook'); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php b/web/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php index 3c38e73667e6d1b627f1bb62b59078bd00139d20..afce1acfb204089971bbb677b9f27cca6af4a1ce 100644 --- a/web/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php @@ -62,7 +62,7 @@ public function testCRUD() { $this->fail('EntityMalformedException was thrown.'); } catch (EntityMalformedException $e) { - $this->pass('EntityMalformedException was thrown.'); + // Expected exception; just continue testing. } // Verify that an empty entity cannot be saved. @@ -71,7 +71,7 @@ public function testCRUD() { $this->fail('EntityMalformedException was thrown.'); } catch (EntityMalformedException $e) { - $this->pass('EntityMalformedException was thrown.'); + // Expected exception; just continue testing. } // Verify that an entity with an empty ID string is considered empty, too. @@ -84,7 +84,7 @@ public function testCRUD() { $this->fail('EntityMalformedException was thrown.'); } catch (EntityMalformedException $e) { - $this->pass('EntityMalformedException was thrown.'); + // Expected exception; just continue testing. } // Verify properties on a newly created entity. @@ -108,7 +108,6 @@ public function testCRUD() { // Verify that the entity can be saved. try { $status = $entity_test->save(); - $this->pass('EntityMalformedException was not thrown.'); } catch (EntityMalformedException $e) { $this->fail('EntityMalformedException was not thrown.'); @@ -143,7 +142,7 @@ public function testCRUD() { $this->fail('Not possible to overwrite an entity entity.'); } catch (EntityStorageException $e) { - $this->pass('Not possible to overwrite an entity entity.'); + // Expected exception; just continue testing. } // Verify that renaming the ID returns correct status and properties. diff --git a/web/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php b/web/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php index d5b884bb2302a040a645f8dd23283edcea07fe3f..13347ac86b22083bde68f7118022a4d4066c5eb6 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php @@ -214,7 +214,7 @@ public function testMenuDisabledChildLinks() { $this->fail('Exception was not thrown'); } catch (PluginException $e) { - $this->pass($e->getMessage()); + // Expected exception; just continue testing. } // The opposite move should work, and change the has_children flag. $this->moveMenuLink('footerA', 'test1'); @@ -354,7 +354,6 @@ public function testLoadByProperties() { } catch (\InvalidArgumentException $e) { $this->assertRegExp('/^An invalid property name, .+ was specified. Allowed property names are:/', $e->getMessage(), 'Found expected exception message.'); - $this->pass($message); } } $this->addMenuLink('test_link.1', '', 'test', [], 'menu1'); diff --git a/web/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php b/web/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php index ed7792982e6cfc46c955c7162954db46b3be1c41..2d19794b094bef56abf761184a6869927484d9f1 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php @@ -31,11 +31,8 @@ public function testDefaultFactory() { $this->testPluginManager->createInstance('non_existing'); $this->fail('Drupal\Component\Plugin\Exception\ExceptionInterface expected'); } - catch (ExceptionInterface $e) { - $this->pass('Drupal\Component\Plugin\Exception\ExceptionInterface expected and caught.'); - } catch (\Exception $e) { - $this->fail('Drupal\Component\Plugin\Exception\ExceptionInterface expected, but ' . get_class($e) . ' was thrown.'); + $this->assertInstanceOf(ExceptionInterface::class, $e); } } @@ -68,11 +65,8 @@ public function testReflectionFactory() { $this->mockBlockManager->createInstance($invalid_id); $this->fail('Drupal\Component\Plugin\Exception\ExceptionInterface expected'); } - catch (ExceptionInterface $e) { - $this->pass('Drupal\Component\Plugin\Exception\ExceptionInterface expected and caught.'); - } catch (\Exception $e) { - $this->fail('An unexpected Exception of type "' . get_class($e) . '" was thrown with message ' . $e->getMessage()); + $this->assertInstanceOf(ExceptionInterface::class, $e); } } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php b/web/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php index fb1e6511c0ae60820a3794d50564151ec1205dc8..deab9be049b15c00d36ccc8fa5ef292cbb77685c 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Render/RenderTest.php @@ -68,13 +68,8 @@ public function testProcessAttached() { $build['#attached']['library'][] = 'core/drupal.states'; $build['#attached']['drupal_process_states'][] = []; $renderer = $this->container->get('bare_html_page_renderer'); - try { - $renderer->renderBarePage($build, '', 'maintenance_page'); - $this->fail("Invalid #attachment 'drupal_process_states' allowed"); - } - catch (\LogicException $e) { - $this->pass("Invalid #attachment 'drupal_process_states' not allowed"); - } + $this->expectException(\LogicException::class); + $renderer->renderBarePage($build, '', 'maintenance_page'); } /** diff --git a/web/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php b/web/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php index 45a29662f92f268c5b771cab529092d16418b8a9..70a55bade7ad39c16217dbaaacad48d30cf35a14 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php @@ -136,17 +136,13 @@ public function testFullNegotiation() { $path = $test[0]; $accept_header = $test[1]; $content_type = $test[2]; - $message = "Testing path:$path Accept:$accept_header Content-type:$content_type"; $request = Request::create('/' . $path); $request->headers->set('Accept', $accept_header); /** @var \Symfony\Component\HttpKernel\HttpKernelInterface $kernel */ $kernel = \Drupal::getContainer()->get('http_kernel'); $response = $kernel->handle($request); - // Verbose message since simpletest doesn't let us provide a message and - // see the error. - $this->pass($message); - $this->assertEqual($response->getStatusCode(), Response::HTTP_OK); + $this->assertEqual($response->getStatusCode(), Response::HTTP_OK, "Testing path:$path Accept:$accept_header Content-type:$content_type"); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php b/web/core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php index cfad6baa7596ccd1665fcf194b6fb54c6ce7af14..61491e9f961a1825434efb9d648ec2a25696c69d 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php @@ -95,16 +95,8 @@ public function testAddAdditionalRoutes() { $dumper_routes = $dumper->getRoutes()->all(); $collection_routes = $collection->all(); - $success = TRUE; foreach ($collection_routes as $name => $route) { - if (empty($dumper_routes[$name])) { - $success = FALSE; - $this->fail('Not all routes found in the dumper.'); - } - } - - if ($success) { - $this->pass('All routes found in the dumper.'); + $this->assertNotEmpty($dumper_routes[$name], "Route $name should be present in the dumper."); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php b/web/core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php index 0492d773475c2eb24f5896b5a09a4620c3876135..81e5291d985cef0283d9080de0e8c968daad0bac 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php @@ -50,18 +50,9 @@ public function testAccountSwitching() { // Verify that AccountSwitcherInterface::switchBack() will throw // an exception if there are no accounts left in the stack. - try { - $switcher->switchBack(); - $this->fail('::switchBack() throws exception if called without previous switch.'); - } - catch (\RuntimeException $e) { - if ($e->getMessage() == 'No more accounts to revert to.') { - $this->pass('::switchBack() throws exception if called without previous switch.'); - } - else { - $this->fail($e->getMessage()); - } - } + $this->expectException(\RuntimeException::class); + $this->expectExceptionMessage('No more accounts to revert to.'); + $switcher->switchBack(); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php b/web/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php index 13c7aa2826564aa03d3ac06020760fc6d5fc50a5..3d6cfad3eff17e520be5073463bb2f4c9fa7c15c 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php @@ -115,8 +115,8 @@ public function testInstallNonExisting() { $this->themeInstaller()->install([$name]); $this->fail($message); } - catch (UnknownExtensionException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(UnknownExtensionException::class, $e); } $themes = $this->themeHandler()->listInfo(); @@ -134,8 +134,8 @@ public function testInstallNameTooLong() { $this->themeInstaller()->install([$name]); $this->fail($message); } - catch (ExtensionNameLengthException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(ExtensionNameLengthException::class, $e); } } @@ -230,8 +230,8 @@ public function testUninstallDefault() { $this->themeInstaller()->uninstall([$name]); $this->fail($message); } - catch (\InvalidArgumentException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(\InvalidArgumentException::class, $e); } $themes = $this->themeHandler()->listInfo(); @@ -257,8 +257,8 @@ public function testUninstallAdmin() { $this->themeInstaller()->uninstall([$name]); $this->fail($message); } - catch (\InvalidArgumentException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(\InvalidArgumentException::class, $e); } $themes = $this->themeHandler()->listInfo(); @@ -295,8 +295,8 @@ public function testUninstallBaseBeforeSubTheme() { $this->themeInstaller()->uninstall([$name]); $this->fail($message); } - catch (\InvalidArgumentException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(\InvalidArgumentException::class, $e); } $themes = $this->themeHandler()->listInfo(); @@ -325,8 +325,8 @@ public function testUninstallNonExisting() { $this->themeInstaller()->uninstall([$name]); $this->fail($message); } - catch (UnknownExtensionException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(UnknownExtensionException::class, $e); } $themes = $this->themeHandler()->listInfo(); @@ -367,8 +367,8 @@ public function testUninstallNotInstalled() { $this->themeInstaller()->uninstall([$name]); $this->fail($message); } - catch (UnknownExtensionException $e) { - $this->pass(get_class($e) . ': ' . $e->getMessage()); + catch (\Exception $e) { + $this->assertInstanceOf(UnknownExtensionException::class, $e); } } diff --git a/web/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php b/web/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php index bfffc00fda4cdf80417851f96825af255a7c71e8..e09b5ffbe799862c808649f72733d7c6351fda62 100644 --- a/web/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php @@ -428,7 +428,7 @@ public function testTypedDataLists() { $this->fail('No exception has been thrown when setting an invalid value.'); } catch (\Exception $e) { - $this->pass('Exception thrown:' . $e->getMessage()); + // Expected exception; just continue testing. } } @@ -550,7 +550,7 @@ public function testTypedDataMaps() { $this->fail('No exception has been thrown when getting an invalid value.'); } catch (\Exception $e) { - $this->pass('Exception thrown:' . $e->getMessage()); + // Expected exception; just continue testing. } // Test setting invalid values. @@ -559,7 +559,7 @@ public function testTypedDataMaps() { $this->fail('No exception has been thrown when setting an invalid value.'); } catch (\Exception $e) { - $this->pass('Exception thrown:' . $e->getMessage()); + // Expected exception; just continue testing. } // Test adding a new property to the map. diff --git a/web/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php b/web/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php index 8c7fc2d2532cdc9a59390cac55efb69641869df9..3bfa064e0148f412de65e53c69d16f2be0d2ee3a 100644 --- a/web/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php +++ b/web/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @@ -1216,7 +1216,7 @@ public function testReservedKeywordsInAnnotations() $this->assertInstanceOf(Null::class, $result[0]); } - public function testSetValuesExeption() + public function testSetValuesException() { $this->expectException('\Doctrine\Common\Annotations\AnnotationException'); $this->expectExceptionMessage('[Creation Error] The annotation @SomeAnnotationClassNameWithoutConstructor declared on some class does not have a property named "invalidaProperty". Available properties: data, name'); diff --git a/web/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php b/web/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php index 40d4988e60a796f7ea29e382ff1d192ab5bf2349..fe569e97da769db429a87a113f1ff993b09b77cb 100644 --- a/web/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php +++ b/web/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @@ -254,7 +254,7 @@ public function testGetForCircularServices() { * @covers ::getAlternatives * @covers ::getServiceAlternatives */ - public function testGetForNonExistantService() { + public function testGetForNonExistentService() { $this->expectException(ServiceNotFoundException::class); $this->container->get('service_not_exists'); } @@ -286,7 +286,7 @@ public function testGetForSerializedServiceDefinition() { * @covers ::createService * @covers ::resolveServicesAndParameters */ - public function testGetForNonExistantParameterDependency() { + public function testGetForNonExistentParameterDependency() { $service = $this->container->get('service_parameter_not_exists', ContainerInterface::NULL_ON_INVALID_REFERENCE); $this->assertNull($service, 'Service is NULL.'); } @@ -315,7 +315,7 @@ public function testGetForParameterDependencyWithExceptionOnSecondCall() { * @covers ::createService * @covers ::resolveServicesAndParameters */ - public function testGetForNonExistantParameterDependencyWithException() { + public function testGetForNonExistentParameterDependencyWithException() { $this->expectException(InvalidArgumentException::class); $this->container->get('service_parameter_not_exists'); } @@ -327,7 +327,7 @@ public function testGetForNonExistantParameterDependencyWithException() { * @covers ::createService * @covers ::resolveServicesAndParameters */ - public function testGetForNonExistantServiceDependency() { + public function testGetForNonExistentServiceDependency() { $service = $this->container->get('service_dependency_not_exists', ContainerInterface::NULL_ON_INVALID_REFERENCE); $this->assertNull($service, 'Service is NULL.'); } @@ -340,7 +340,7 @@ public function testGetForNonExistantServiceDependency() { * @covers ::resolveServicesAndParameters * @covers ::getAlternatives */ - public function testGetForNonExistantServiceDependencyWithException() { + public function testGetForNonExistentServiceDependencyWithException() { $this->expectException(ServiceNotFoundException::class); $this->container->get('service_dependency_not_exists'); } @@ -351,7 +351,7 @@ public function testGetForNonExistantServiceDependencyWithException() { * @covers ::get * @covers ::createService */ - public function testGetForNonExistantServiceWhenUsingNull() { + public function testGetForNonExistentServiceWhenUsingNull() { $this->assertNull($this->container->get('service_not_exists', ContainerInterface::NULL_ON_INVALID_REFERENCE), 'Not found service does not throw exception.'); } @@ -360,7 +360,7 @@ public function testGetForNonExistantServiceWhenUsingNull() { * @covers ::get * @covers ::createService */ - public function testGetForNonExistantNULLService() { + public function testGetForNonExistentNULLService() { $this->expectException(ServiceNotFoundException::class); $this->container->get(NULL); } @@ -371,7 +371,7 @@ public function testGetForNonExistantNULLService() { * @covers ::get * @covers ::createService */ - public function testGetForNonExistantServiceMultipleTimes() { + public function testGetForNonExistentServiceMultipleTimes() { $container = new $this->containerClass(); $this->assertNull($container->get('service_not_exists', ContainerInterface::NULL_ON_INVALID_REFERENCE), 'Not found service does not throw exception.'); @@ -385,7 +385,7 @@ public function testGetForNonExistantServiceMultipleTimes() { * @covers ::createService * @covers ::getAlternatives */ - public function testGetForNonExistantServiceWithExceptionOnSecondCall() { + public function testGetForNonExistentServiceWithExceptionOnSecondCall() { $this->assertNull($this->container->get('service_not_exists', ContainerInterface::NULL_ON_INVALID_REFERENCE), 'Not found service does nto throw exception.'); $this->expectException(ServiceNotFoundException::class); $this->container->get('service_not_exists'); diff --git a/web/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php b/web/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php index 69daab46dd18c114834a7bf8d80d80acedd9ffca..4961ee118a8a7867a97ee5ec285ccba7ce66b439 100644 --- a/web/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php +++ b/web/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @@ -62,7 +62,7 @@ public function testGetDefinition($expected, $has_register_definitions, $excepti // Mock our StaticDiscoveryDecorator. $mock_decorator = $this->getMockBuilder('Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator') ->disableOriginalConstructor() - ->setMethods(['registeredDefintionCallback']) + ->setMethods(['registeredDefinitionCallback']) ->getMock(); // Set up the ::$registerDefinitions property. @@ -132,7 +132,7 @@ public function testGetDefinitions($has_register_definitions, $definitions) { // Mock our StaticDiscoveryDecorator. $mock_decorator = $this->getMockBuilder('Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator') ->disableOriginalConstructor() - ->setMethods(['registeredDefintionCallback']) + ->setMethods(['registeredDefinitionCallback']) ->getMock(); // Set up the ::$registerDefinitions property. diff --git a/web/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php b/web/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php index 5fc3902f0fac5fa6e2f42883b01994256447f411..920189e91c61b2f9c204bbeb671d808ce4064ef0 100644 --- a/web/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php +++ b/web/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @@ -21,9 +21,9 @@ class HtmlEscapedTextTest extends TestCase { * @dataProvider providerToString */ public function testToString($text, $expected, $message) { - $escapeable_string = new HtmlEscapedText($text); - $this->assertEquals($expected, (string) $escapeable_string, $message); - $this->assertEquals($expected, $escapeable_string->jsonSerialize()); + $escapable_string = new HtmlEscapedText($text); + $this->assertEquals($expected, (string) $escapable_string, $message); + $this->assertEquals($expected, $escapable_string->jsonSerialize()); } /** @@ -57,8 +57,8 @@ public function providerToString() { */ public function testCount() { $string = 'Can I please have a <em>kitten</em>'; - $escapeable_string = new HtmlEscapedText($string); - $this->assertEquals(strlen($string), $escapeable_string->count()); + $escapable_string = new HtmlEscapedText($string); + $this->assertEquals(strlen($string), $escapable_string->count()); } } diff --git a/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php b/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php index 82c5ed0cec0429895367ff149dbeeca086d5b49d..db9f4ee159d2b7e4856a28d942fd25be9944a395 100644 --- a/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php +++ b/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php @@ -58,8 +58,8 @@ public function providerTestPhpTransliterationRemoveDiacritics() { // Test all characters in the Unicode range 0x01CD to 0x024F. ['ǍǎǏ', 'AaI'], ['ǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟ', 'iOoUuUuUuUuUuǝAa'], - ['ǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯ', 'AaǢǣGgGgKkOoOoǮǯ'], - ['ǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿ', 'jDZDzdzGgǶǷNnAaǼǽOo'], + ['ǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯ', 'AaÆæGgGgKkOoOoƷʒ'], + ['ǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿ', 'jDZDzdzGgǶǷNnAaÆæOo'], ['ȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏ', 'AaAaEeEeIiIiOoOo'], ['ȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟ', 'RrRrUuUuSsTtȜȝHh'], ['ȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯ', 'ȠȡȢȣZzAaEeOoOoOo'], diff --git a/web/core/tests/Drupal/Tests/Component/Utility/BytesTest.php b/web/core/tests/Drupal/Tests/Component/Utility/BytesTest.php index 72485ea8026be67719245c3f01edd081c9e43779..0b54a5150240589cf42dcc8c8e87d6783a9d9f86 100644 --- a/web/core/tests/Drupal/Tests/Component/Utility/BytesTest.php +++ b/web/core/tests/Drupal/Tests/Component/Utility/BytesTest.php @@ -56,6 +56,9 @@ public function providerTestToInt() { ['76MRandomStringThatShouldBeIgnoredByParseSize.', 79691776], // 76.24 GB (with typo). ['76.24 Giggabyte', 81862076662], + ['1.5', 2], + ['2.4', 2], + ['', 0], ]; } diff --git a/web/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php b/web/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php index b1bde4af935c738d6606fbb67bfb72187d8fd313..e89846066f3eea5485de5190cea724cfe89eca1b 100644 --- a/web/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php +++ b/web/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php @@ -192,7 +192,6 @@ public function testEmptyProject() { */ public function testProjectThatScaffoldsEmptyProject() { $fixture_name = 'project-allowing-empty-fixture'; - $is_link = FALSE; $result = $this->scaffoldSut($fixture_name, FALSE, FALSE); $this->assertStringContainsString('The allowed package fixtures/empty-fixture does not provide a file mapping for Composer Scaffold', $result->scaffoldOutput()); $this->assertCommonDrupalAssetsWereScaffolded($result->docroot(), FALSE); diff --git a/web/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php b/web/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php index f98dd25b2d975fae1e2821bf4fc5a29963f2c2fa..7894fb29c16efe4a937f7b035c94a7a1886b96dc 100644 --- a/web/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php +++ b/web/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @@ -6,13 +6,13 @@ use Composer\IO\IOInterface; use Composer\Package\PackageInterface; use Composer\Package\RootPackageInterface; -use Drupal\Composer\VendorHardening\Config; +use Drupal\Composer\Plugin\VendorHardening\Config; use Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin; use org\bovigo\vfs\vfsStream; use PHPUnit\Framework\TestCase; /** - * @coversDefaultClass Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin + * @coversDefaultClass \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin * @group VendorHardening */ class VendorHardeningPluginTest extends TestCase { @@ -36,7 +36,6 @@ public function setUp() { public function testCleanPackage() { $config = $this->getMockBuilder(Config::class) - ->setMethods(['getPathsForPackage']) ->disableOriginalConstructor() ->getMock(); $config->expects($this->once()) @@ -85,7 +84,6 @@ public function testCleanPathsForPackage() { */ public function testCleanAllPackages() { $config = $this->getMockBuilder(Config::class) - ->setMethods(['getAllCleanupPaths']) ->disableOriginalConstructor() ->getMock(); $config->expects($this->once()) @@ -93,7 +91,6 @@ public function testCleanAllPackages() { ->willReturn(['drupal/package' => ['tests']]); $package = $this->getMockBuilder(PackageInterface::class) - ->setMethods(['getName']) ->getMockForAbstractClass(); $package->expects($this->any()) ->method('getName') diff --git a/web/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/web/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php index d958ca0cf401dbc7f46e7a96b1ae30d32c06777d..3a96b8e5d4a6010ef6168f94cbe4ff18d082d7f1 100644 --- a/web/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php +++ b/web/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php @@ -374,7 +374,6 @@ public function testCheckNamedRouteWithUpcastedValues() { ->with('test_route_1') ->will($this->returnValue($route)); - $map = []; $map[] = ['test_route_1', ['value' => 'example'], '/test-route-1/example']; $this->paramConverter = $this->createMock('Drupal\Core\ParamConverter\ParamConverterManagerInterface'); @@ -423,7 +422,6 @@ public function testCheckNamedRouteWithDefaultValue() { ->with('test_route_1') ->will($this->returnValue($route)); - $map = []; $map[] = ['test_route_1', ['value' => 'example'], '/test-route-1/example']; $this->paramConverter = $this->createMock('Drupal\Core\ParamConverter\ParamConverterManagerInterface'); diff --git a/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php b/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php index 28bff19c11e4e2fbf0599f75f58609d50fad5158..b8b91d9dc1ecae8155e87a4ce4ebcd4c67ce6005 100644 --- a/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php +++ b/web/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @@ -36,8 +36,8 @@ protected function setUpEntityType($definition) { * * @dataProvider providerTestGet */ - public function testGet(array $defintion, $key, $expected) { - $entity_type = $this->setUpEntityType($defintion); + public function testGet(array $definition, $key, $expected) { + $entity_type = $this->setUpEntityType($definition); $this->assertSame($expected, $entity_type->get($key)); } diff --git a/web/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php b/web/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php index 8381466213743de23f650a64640bff58faaa227d..120ecf17d292398af67640711b4af5113a1d80b0 100644 --- a/web/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php +++ b/web/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php @@ -54,7 +54,6 @@ public function testBuildResponseNoTriggeringElement() { $form_state = new FormState(); $commands = []; - $expected = []; $this->expectException(HttpException::class); $this->formAjaxResponseBuilder->buildResponse($request, $form, $form_state, $commands); } @@ -73,7 +72,6 @@ public function testBuildResponseNoCallable() { $form_state->setTriggeringElement($triggering_element); $commands = []; - $expected = []; $this->expectException(HttpException::class); $this->formAjaxResponseBuilder->buildResponse($request, $form, $form_state, $commands); } diff --git a/web/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php b/web/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php index 0233f71e1df9019c3806c674cf6f08ec29ef899a..c596cf8d3c2e65d6d07fdf4c2506efa42a30de16 100644 --- a/web/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php +++ b/web/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php @@ -53,17 +53,6 @@ protected function setUp() { ], ]; - // Create a URL-based language negotiation method definition. - $method_definitions = [ - LanguageNegotiationUrl::METHOD_ID => [ - 'class' => '\Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl', - 'weight' => 9, - ], - ]; - - // Create a URL-based language negotiation method. - $method_instance = new LanguageNegotiationUrl($config); - // Create a language manager stub. $language_manager = $this->getMockBuilder('Drupal\language\ConfigurableLanguageManagerInterface') ->getMock(); @@ -77,7 +66,6 @@ protected function setUp() { ->method('getLanguageTypes') ->will($this->returnValue([LanguageInterface::TYPE_INTERFACE])); - $method_instance->setLanguageManager($language_manager); $this->languageManager = $language_manager; } diff --git a/web/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php b/web/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php index 75d85bff21e23a5428373d26e96be15da8a86a4d..7b954a92f60fa90c307d27a4e89b31b28a7999fe 100644 --- a/web/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php +++ b/web/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php @@ -100,7 +100,7 @@ public function testGetDefinition() { ] )); - $this->assertNull($this->hookDiscovery->getDefinition('test_non_existant', FALSE)); + $this->assertNull($this->hookDiscovery->getDefinition('test_non_existent', FALSE)); $plugin_definition = $this->hookDiscovery->getDefinition('test_id_1'); $this->assertEquals($plugin_definition['class'], 'Drupal\plugin_test\Plugin\plugin_test\fruit\Apple'); @@ -126,7 +126,7 @@ public function testGetDefinitionWithUnknownID() { ->will($this->returnValue([])); $this->expectException(PluginNotFoundException::class); - $this->hookDiscovery->getDefinition('test_non_existant', TRUE); + $this->hookDiscovery->getDefinition('test_non_existent', TRUE); } protected function hookDiscoveryTestTestPlugin() { diff --git a/web/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php b/web/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php index 7066f786dc3221ef4556c0cbf1687fe2d3507203..2a78baca9fb3070967b9093c7c7701121ff9ae10 100644 --- a/web/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php +++ b/web/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php @@ -42,7 +42,7 @@ public function providerGetFormClass() { return [ 'block plugin without forms, "configure" operation' => [$block_plugin_without_forms, 'configure', TestClass::class], 'block plugin without forms, "tickle" operation' => [$block_plugin_without_forms, 'tickle', NULL], - 'block plugin withut forms, "poke" operation' => [$block_plugin_without_forms, 'poke', NULL], + 'block plugin without forms, "poke" operation' => [$block_plugin_without_forms, 'poke', NULL], 'block plugin with forms, "configure" operation' => [$block_plugin_with_forms, 'configure', TestClass::class], 'block plugin with forms, "tickle" operation' => [$block_plugin_with_forms, 'tickle', NULL], 'block plugin with forms, "poke" operation' => [$block_plugin_with_forms, 'poke', static::class], diff --git a/web/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php b/web/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php index 6eec8fdf92621ab940e366b6c86d78601b0ad883..4fff4c66074ec55c1170a8a468d108131ecd0183 100644 --- a/web/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php +++ b/web/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @@ -35,9 +35,9 @@ public function testFilter(RouteCollection $collection, $request_format, array $ public function filterProvider() { $route_without_format = new Route('/test'); - $route_with_format = $route = new Route('/test'); + $route_with_format = new Route('/test'); $route_with_format->setRequirement('_format', 'json'); - $route_with_multiple_formats = $route = new Route('/test'); + $route_with_multiple_formats = new Route('/test'); $route_with_multiple_formats->setRequirement('_format', 'json|xml'); $collection = new RouteCollection(); @@ -71,7 +71,7 @@ public function testNoRouteFound() { \Drupal::setContainer($container); $collection = new RouteCollection(); - $route_with_format = $route = new Route('/test'); + $route_with_format = new Route('/test'); $route_with_format->setRequirement('_format', 'json'); $collection->add('test_0', $route_with_format); $collection->add('test_1', clone $route_with_format); @@ -102,7 +102,7 @@ public function testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFor \Drupal::setContainer($container); $collection = new RouteCollection(); - $route_with_format = $route = new Route('/test'); + $route_with_format = new Route('/test'); $route_with_format->setRequirement('_format', 'json|xml'); $collection->add('sole_route_multiple_formats', $route_with_format); diff --git a/web/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php b/web/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php index bd62c430c6d68ec7641e48a3278a48f31ae20e1c..ce68766de5aa201e088f893fb693cb72075426ee 100644 --- a/web/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php +++ b/web/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php @@ -57,7 +57,7 @@ function ($unescaped_test_classnames, $phpunit_file, &$status) { 'test_id' => $test_id, 'test_class' => 'SomeTest', 'status' => TestStatus::label(TestStatus::EXCEPTION), - 'message' => 'PHPunit Test failed to complete; Error: ', + 'message' => 'PHPUnit Test failed to complete; Error: ', 'message_group' => 'Other', 'function' => 'SomeTest', 'line' => '0', diff --git a/web/core/themes/claro/css/components/tabledrag.css b/web/core/themes/claro/css/components/tabledrag.css index ae680d4ed48e33190df0cdc00131dd7280ba2c4f..bf968f446a16b22a600b85327e8acb29fdd1632e 100644 --- a/web/core/themes/claro/css/components/tabledrag.css +++ b/web/core/themes/claro/css/components/tabledrag.css @@ -90,7 +90,7 @@ body.drag { border-bottom: none; } -/* Dont display the abbreviation of 'add-new' table rows. */ +/* Don't display the abbreviation of 'add-new' table rows. */ .add-new .tabledrag-changed { display: none; diff --git a/web/core/themes/claro/css/components/tabledrag.pcss.css b/web/core/themes/claro/css/components/tabledrag.pcss.css index ba51715522740a64586c9caefd5c8bd1e8e806bf..ee57a8c211740a2552145c1f9d9c97569b1f7da8 100644 --- a/web/core/themes/claro/css/components/tabledrag.pcss.css +++ b/web/core/themes/claro/css/components/tabledrag.pcss.css @@ -37,7 +37,7 @@ body.drag { .tabledrag-changed.tabledrag-changed { border-bottom: none; } -/* Dont display the abbreviation of 'add-new' table rows. */ +/* Don't display the abbreviation of 'add-new' table rows. */ .add-new .tabledrag-changed { display: none; } diff --git a/web/core/themes/claro/js/checkbox.es6.js b/web/core/themes/claro/js/checkbox.es6.js index bb83b7fbe1e61f420accbb7c6ea699725d1abee8..e051de5040c270add3148452e78deeeb62f9ceae 100644 --- a/web/core/themes/claro/js/checkbox.es6.js +++ b/web/core/themes/claro/js/checkbox.es6.js @@ -5,7 +5,7 @@ (Drupal => { /** - * Constucts a checkbox input element. + * Constructs a checkbox input element. * * @return {string} * A string representing a DOM fragment. diff --git a/web/core/themes/claro/js/tabledrag.es6.js b/web/core/themes/claro/js/tabledrag.es6.js index 805d4798f4e255b5d99ce8566ab84acef0420004..a5bd1cc80e44e36d5ceccdf155c6aa52a7596112 100644 --- a/web/core/themes/claro/js/tabledrag.es6.js +++ b/web/core/themes/claro/js/tabledrag.es6.js @@ -1808,7 +1808,7 @@ }, /** - * Constucts the table drag handle. + * Constructs the table drag handle. * * @return {string} * A string representing a DOM fragment. diff --git a/web/core/themes/stable/css/toolbar/toolbar.module.css b/web/core/themes/stable/css/toolbar/toolbar.module.css index 4f871ba89ffce06738e641932473f127970d0473..e4bc7f66521177d5a925932bc235614de17fb22f 100644 --- a/web/core/themes/stable/css/toolbar/toolbar.module.css +++ b/web/core/themes/stable/css/toolbar/toolbar.module.css @@ -184,24 +184,6 @@ body.toolbar-tray-open.toolbar-fixed.toolbar-vertical .toolbar-oriented { .toolbar .toolbar-tray-vertical > .toolbar-lining { min-height: 100%; } -.toolbar .toolbar-tray-vertical > .toolbar-lining:before { - width: 100%; -} -.toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before { - position: fixed; - z-index: -1; - top: 0; - bottom: 0; - left: 0; /* LTR */ - display: block; - width: 240px; - width: 14rem; - content: ""; -} -[dir="rtl"] .toolbar .toolbar-tray-vertical > .toolbar-lining:before { - right: 0; - left: auto; -} /* Layer the links just above the toolbar-tray. */ .toolbar .toolbar-bar .toolbar-tab > .toolbar-icon { position: relative; diff --git a/web/sites/default/default.settings.php b/web/sites/default/default.settings.php index 62f73e1b46530904e3a066fe4fc98c229f18ebcd..c5e2b4ab0d97f371c695e752aeb3a3b7e08f7a55 100644 --- a/web/sites/default/default.settings.php +++ b/web/sites/default/default.settings.php @@ -781,10 +781,13 @@ /** * Load local development override configuration, if available. * - * Use settings.local.php to override variables on secondary (staging, - * development, etc) installations of this site. Typically used to disable - * caching, JavaScript/CSS compression, re-routing of outgoing emails, and - * other things that should not happen on development and testing sites. + * Create a settings.local.php file to override variables on secondary (staging, + * development, etc.) installations of this site. + * + * Typical uses of settings.local.php include: + * - Disabling caching. + * - Disabling JavaScript/CSS compression. + * - Rerouting outgoing emails. * * Keep this code block at the end of this file to take full effect. */