From 4f7a37a43f6db7e65ab6f9895d058f09b47652ee Mon Sep 17 00:00:00 2001 From: spider Date: Sat, 31 Jan 2015 10:17:59 -0500 Subject: update ckeditor to 4.4.7 --- ckeditor/CHANGES.md | 112 +- ckeditor/LICENSE.md | 2 +- ckeditor/adapters/jquery.js | 2 +- ckeditor/build-config.js | 180 +++ ckeditor/ckeditor.js | 1488 ++++++++++---------- ckeditor/config.js | 38 +- ckeditor/contents.css | 2 +- ckeditor/lang/af.js | 5 + ckeditor/lang/ar.js | 5 + ckeditor/lang/bg.js | 5 + ckeditor/lang/bn.js | 5 + ckeditor/lang/bs.js | 5 + ckeditor/lang/ca.js | 5 + ckeditor/lang/cs.js | 5 + ckeditor/lang/cy.js | 5 + ckeditor/lang/da.js | 5 + ckeditor/lang/de.js | 5 + ckeditor/lang/el.js | 5 + ckeditor/lang/en-au.js | 5 + ckeditor/lang/en-ca.js | 5 + ckeditor/lang/en-gb.js | 101 +- ckeditor/lang/en.js | 4 +- ckeditor/lang/eo.js | 5 + ckeditor/lang/es.js | 5 + ckeditor/lang/et.js | 5 + ckeditor/lang/eu.js | 5 + ckeditor/lang/fa.js | 5 + ckeditor/lang/fi.js | 5 + ckeditor/lang/fo.js | 5 + ckeditor/lang/fr-ca.js | 5 + ckeditor/lang/fr.js | 5 + ckeditor/lang/gl.js | 5 + ckeditor/lang/gu.js | 5 + ckeditor/lang/he.js | 5 + ckeditor/lang/hi.js | 5 + ckeditor/lang/hr.js | 5 + ckeditor/lang/hu.js | 5 + ckeditor/lang/id.js | 5 + ckeditor/lang/is.js | 5 + ckeditor/lang/it.js | 5 + ckeditor/lang/ja.js | 5 + ckeditor/lang/ka.js | 5 + ckeditor/lang/km.js | 5 + ckeditor/lang/ko.js | 5 + ckeditor/lang/ku.js | 5 + ckeditor/lang/lt.js | 5 + ckeditor/lang/lv.js | 5 + ckeditor/lang/mk.js | 5 + ckeditor/lang/mn.js | 5 + ckeditor/lang/ms.js | 5 + ckeditor/lang/nb.js | 5 + ckeditor/lang/nl.js | 5 + ckeditor/lang/no.js | 5 + ckeditor/lang/pl.js | 5 + ckeditor/lang/pt-br.js | 5 + ckeditor/lang/pt.js | 5 + ckeditor/lang/ro.js | 5 + ckeditor/lang/ru.js | 5 + ckeditor/lang/si.js | 5 + ckeditor/lang/sk.js | 5 + ckeditor/lang/sl.js | 5 + ckeditor/lang/sq.js | 5 + ckeditor/lang/sr-latn.js | 5 + ckeditor/lang/sr.js | 5 + ckeditor/lang/sv.js | 5 + ckeditor/lang/th.js | 5 + ckeditor/lang/tr.js | 5 + ckeditor/lang/tt.js | 5 + ckeditor/lang/ug.js | 5 + ckeditor/lang/uk.js | 5 + ckeditor/lang/vi.js | 5 + ckeditor/lang/zh-cn.js | 5 + ckeditor/lang/zh.js | 5 + ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js | 2 +- .../a11yhelp/dialogs/lang/_translationstatus.txt | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/af.js | 11 + ckeditor/plugins/a11yhelp/dialogs/lang/ar.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/bg.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/ca.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/cs.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/cy.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/da.js | 12 +- ckeditor/plugins/a11yhelp/dialogs/lang/de.js | 9 +- ckeditor/plugins/a11yhelp/dialogs/lang/el.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/en.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/eo.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/es.js | 8 +- ckeditor/plugins/a11yhelp/dialogs/lang/et.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/fa.js | 4 +- ckeditor/plugins/a11yhelp/dialogs/lang/fi.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/fr.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/gl.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/gu.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/he.js | 8 +- ckeditor/plugins/a11yhelp/dialogs/lang/hi.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/hr.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/hu.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/id.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/it.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/ja.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/km.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/ko.js | 15 +- ckeditor/plugins/a11yhelp/dialogs/lang/ku.js | 6 +- ckeditor/plugins/a11yhelp/dialogs/lang/lt.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/lv.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/mk.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/mn.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/nb.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/nl.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/no.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/pl.js | 6 +- ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/pt.js | 14 +- ckeditor/plugins/a11yhelp/dialogs/lang/ro.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/ru.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/si.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/sk.js | 8 +- ckeditor/plugins/a11yhelp/dialogs/lang/sl.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/sq.js | 8 +- ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/sr.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/sv.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/th.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/tr.js | 8 +- ckeditor/plugins/a11yhelp/dialogs/lang/tt.js | 4 +- ckeditor/plugins/a11yhelp/dialogs/lang/ug.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/uk.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/vi.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js | 2 +- ckeditor/plugins/a11yhelp/dialogs/lang/zh.js | 7 +- ckeditor/plugins/about/dialogs/about.js | 4 +- .../plugins/about/dialogs/hidpi/logo_ckeditor.png | Bin ckeditor/plugins/about/dialogs/logo_ckeditor.png | Bin ckeditor/plugins/clipboard/dialogs/paste.js | 2 +- .../plugins/colordialog/dialogs/colordialog.js | 6 +- ckeditor/plugins/dialog/dialogDefinition.js | 2 +- ckeditor/plugins/div/dialogs/div.js | 2 +- ckeditor/plugins/fakeobjects/images/spacer.gif | Bin 43 -> 0 bytes ckeditor/plugins/find/dialogs/find.js | 42 +- ckeditor/plugins/flash/dialogs/flash.js | 2 +- ckeditor/plugins/forms/dialogs/button.js | 2 +- ckeditor/plugins/forms/dialogs/checkbox.js | 2 +- ckeditor/plugins/forms/dialogs/form.js | 2 +- ckeditor/plugins/forms/dialogs/hiddenfield.js | 9 +- ckeditor/plugins/forms/dialogs/radio.js | 2 +- ckeditor/plugins/forms/dialogs/select.js | 6 +- ckeditor/plugins/forms/dialogs/textarea.js | 2 +- ckeditor/plugins/forms/dialogs/textfield.js | 2 +- ckeditor/plugins/icons.png | Bin 11371 -> 20833 bytes ckeditor/plugins/icons_hidpi.png | Bin 36816 -> 67753 bytes ckeditor/plugins/iframe/dialogs/iframe.js | 2 +- ckeditor/plugins/iframe/images/placeholder.png | Bin 449 -> 265 bytes ckeditor/plugins/image/dialogs/image.js | 64 +- ckeditor/plugins/image2/dialogs/image2.js | 14 - .../leaflet/Creating and Editing Leaflet Maps.txt | 56 - ckeditor/plugins/leaflet/Installation Guide.txt | 203 --- ckeditor/plugins/leaflet/README.md | 65 - ckeditor/plugins/leaflet/css/contents.css | 25 - ckeditor/plugins/leaflet/dialogs/leaflet.js | 9 - .../leaflet/scripts/Leaflet-MiniMap/LICENSE.txt | 22 - .../scripts/Leaflet-MiniMap/example/example.html | 37 - .../example/example_customRects.html | 40 - .../Leaflet-MiniMap/example/example_fixedzoom.html | 37 - .../Leaflet-MiniMap/example/example_larger.html | 40 - .../example/example_layergroup.html | 61 - .../Leaflet-MiniMap/example/example_lowzoom.html | 37 - .../example/example_toggleDisplay.html | 37 - .../scripts/Leaflet-MiniMap/example/fullscreen.css | 7 - .../example/local_pubs_restaurant_norway.js | 777 ---------- .../leaflet/scripts/Leaflet-MiniMap/package.json | 25 - .../leaflet/scripts/Leaflet-MiniMap/readme.md | 47 - .../Leaflet-MiniMap/src/Control.MiniMap-de.js | 1 - .../Leaflet-MiniMap/src/Control.MiniMap.css | 43 - .../scripts/Leaflet-MiniMap/src/Control.MiniMap.js | 12 - .../scripts/Leaflet-MiniMap/src/images/toggle.png | Bin 345 -> 0 bytes .../scripts/leaflet-providers/.jshintignore | 1 - .../leaflet/scripts/leaflet-providers/.jshintrc | 40 - .../scripts/leaflet-providers/CONTRIBUTING.md | 10 - .../leaflet/scripts/leaflet-providers/README.md | 75 - .../leaflet/scripts/leaflet-providers/bower.json | 22 - .../leaflet-providers/css/gh-fork-ribbon.css | 127 -- .../leaflet-providers/css/gh-fork-ribbon.ie.css | 68 - .../leaflet/scripts/leaflet-providers/index.html | 153 -- .../scripts/leaflet-providers/leaflet-providers.js | 20 - .../leaflet/scripts/leaflet-providers/license.md | 9 - .../leaflet/scripts/leaflet-providers/package.json | 20 - .../preview/L.Control.Layers.Minimap.js | 7 - .../leaflet-providers/preview/L.Map.Sync.js | 3 - .../preview/control.layers.minimap.css | 35 - .../leaflet-providers/preview/highlightjs/LICENSE | 24 - .../preview/highlightjs/github.css | 127 -- .../preview/highlightjs/highlight.pack.js | 14 - .../scripts/leaflet-providers/preview/index.html | 90 -- .../scripts/leaflet-providers/preview/preview.js | 4 - ckeditor/plugins/leaflet/scripts/mapParser.html | 113 -- ckeditor/plugins/link/dialogs/anchor.js | 2 +- ckeditor/plugins/link/dialogs/link.js | 2 +- ckeditor/plugins/link/images/anchor.png | Bin 763 -> 589 bytes ckeditor/plugins/link/images/hidpi/anchor.png | Bin 1597 -> 1379 bytes ckeditor/plugins/liststyle/dialogs/liststyle.js | 2 +- .../plugins/magicline/images/hidpi/icon-rtl.png | Bin 0 -> 176 bytes ckeditor/plugins/magicline/images/hidpi/icon.png | Bin 260 -> 199 bytes ckeditor/plugins/magicline/images/icon-rtl.png | Bin 0 -> 138 bytes ckeditor/plugins/magicline/images/icon.png | Bin 172 -> 133 bytes ckeditor/plugins/pastefromword/filter/default.js | 16 +- ckeditor/plugins/preview/preview.html | 0 ckeditor/plugins/qrc/images/qrc.png | Bin 13265 -> 0 bytes ckeditor/plugins/scayt/LICENSE.md | 0 ckeditor/plugins/scayt/README.md | 0 ckeditor/plugins/scayt/dialogs/options.js | 32 +- ckeditor/plugins/scayt/dialogs/toolbar.css | 0 .../plugins/showblocks/images/block_address.png | Bin 171 -> 152 bytes .../plugins/showblocks/images/block_blockquote.png | Bin 181 -> 154 bytes ckeditor/plugins/showblocks/images/block_div.png | Bin 136 -> 127 bytes ckeditor/plugins/showblocks/images/block_h1.png | Bin 127 -> 120 bytes ckeditor/plugins/showblocks/images/block_h2.png | Bin 134 -> 127 bytes ckeditor/plugins/showblocks/images/block_h3.png | Bin 131 -> 123 bytes ckeditor/plugins/showblocks/images/block_h4.png | Bin 133 -> 123 bytes ckeditor/plugins/showblocks/images/block_h5.png | Bin 133 -> 126 bytes ckeditor/plugins/showblocks/images/block_h6.png | Bin 129 -> 123 bytes ckeditor/plugins/showblocks/images/block_p.png | Bin 119 -> 115 bytes ckeditor/plugins/showblocks/images/block_pre.png | Bin 136 -> 128 bytes ckeditor/plugins/smiley/dialogs/smiley.js | 2 +- ckeditor/plugins/smiley/images/angel_smile.gif | Bin 1250 -> 1245 bytes ckeditor/plugins/smiley/images/angel_smile.png | Bin 1294 -> 1172 bytes ckeditor/plugins/smiley/images/angry_smile.gif | Bin 1221 -> 1219 bytes ckeditor/plugins/smiley/images/angry_smile.png | Bin 1351 -> 1220 bytes ckeditor/plugins/smiley/images/broken_heart.gif | Bin 1131 -> 732 bytes ckeditor/plugins/smiley/images/broken_heart.png | Bin 1213 -> 1139 bytes ckeditor/plugins/smiley/images/confused_smile.gif | Bin 1210 -> 1202 bytes ckeditor/plugins/smiley/images/confused_smile.png | Bin 1175 -> 1101 bytes ckeditor/plugins/smiley/images/cry_smile.gif | Bin ckeditor/plugins/smiley/images/cry_smile.png | Bin 1315 -> 1214 bytes ckeditor/plugins/smiley/images/devil_smile.gif | Bin ckeditor/plugins/smiley/images/devil_smile.png | Bin 1299 -> 1220 bytes .../plugins/smiley/images/embaressed_smile.gif | Bin 790 -> 786 bytes .../plugins/smiley/images/embarrassed_smile.gif | Bin 790 -> 786 bytes .../plugins/smiley/images/embarrassed_smile.png | Bin 1222 -> 1145 bytes ckeditor/plugins/smiley/images/envelope.gif | Bin 712 -> 506 bytes ckeditor/plugins/smiley/images/envelope.png | Bin 1049 -> 760 bytes ckeditor/plugins/smiley/images/heart.gif | Bin 1091 -> 692 bytes ckeditor/plugins/smiley/images/heart.png | Bin 1073 -> 999 bytes ckeditor/plugins/smiley/images/kiss.gif | Bin 1082 -> 683 bytes ckeditor/plugins/smiley/images/kiss.png | Bin 1077 -> 1003 bytes ckeditor/plugins/smiley/images/lightbulb.gif | Bin 1062 -> 660 bytes ckeditor/plugins/smiley/images/lightbulb.png | Bin 993 -> 919 bytes ckeditor/plugins/smiley/images/omg_smile.gif | Bin 1207 -> 820 bytes ckeditor/plugins/smiley/images/omg_smile.png | Bin 1196 -> 1122 bytes ckeditor/plugins/smiley/images/regular_smile.gif | Bin 1216 -> 1209 bytes ckeditor/plugins/smiley/images/regular_smile.png | Bin 1158 -> 1084 bytes ckeditor/plugins/smiley/images/sad_smile.gif | Bin 1199 -> 782 bytes ckeditor/plugins/smiley/images/sad_smile.png | Bin 1189 -> 1115 bytes ckeditor/plugins/smiley/images/shades_smile.gif | Bin 1234 -> 1231 bytes ckeditor/plugins/smiley/images/shades_smile.png | Bin 1353 -> 1204 bytes ckeditor/plugins/smiley/images/teeth_smile.gif | Bin 1210 -> 1201 bytes ckeditor/plugins/smiley/images/teeth_smile.png | Bin 1257 -> 1183 bytes ckeditor/plugins/smiley/images/thumbs_down.gif | Bin 1117 -> 715 bytes ckeditor/plugins/smiley/images/thumbs_down.png | Bin 1059 -> 985 bytes ckeditor/plugins/smiley/images/thumbs_up.gif | Bin 1112 -> 714 bytes ckeditor/plugins/smiley/images/thumbs_up.png | Bin 1033 -> 959 bytes ckeditor/plugins/smiley/images/tongue_smile.gif | Bin 1216 -> 1210 bytes ckeditor/plugins/smiley/images/tongue_smile.png | Bin 1206 -> 1132 bytes ckeditor/plugins/smiley/images/tounge_smile.gif | Bin 1216 -> 1210 bytes .../smiley/images/whatchutalkingabout_smile.gif | Bin 1190 -> 775 bytes .../smiley/images/whatchutalkingabout_smile.png | Bin 1113 -> 1039 bytes ckeditor/plugins/smiley/images/wink_smile.gif | Bin 1214 -> 1202 bytes ckeditor/plugins/smiley/images/wink_smile.png | Bin 1188 -> 1114 bytes .../plugins/sourcedialog/dialogs/sourcedialog.js | 6 - .../dialogs/lang/_translationstatus.txt | 2 +- ckeditor/plugins/specialchar/dialogs/lang/af.js | 13 + ckeditor/plugins/specialchar/dialogs/lang/ar.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/bg.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/ca.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/cs.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/cy.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/da.js | 13 + ckeditor/plugins/specialchar/dialogs/lang/de.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/el.js | 18 +- ckeditor/plugins/specialchar/dialogs/lang/en-gb.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/en.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/eo.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/es.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/et.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/fa.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/fi.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/fr.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/gl.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/he.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/hr.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/hu.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/id.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/it.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/ja.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/km.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/ku.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/lt.js | 13 + ckeditor/plugins/specialchar/dialogs/lang/lv.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/nb.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/nl.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/no.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/pl.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/pt-br.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/pt.js | 12 +- ckeditor/plugins/specialchar/dialogs/lang/ru.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/si.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/sk.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/sl.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/sq.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/sv.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/th.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/tr.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/tt.js | 10 +- ckeditor/plugins/specialchar/dialogs/lang/ug.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/uk.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/vi.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js | 2 +- ckeditor/plugins/specialchar/dialogs/lang/zh.js | 2 +- .../plugins/specialchar/dialogs/specialchar.js | 2 +- ckeditor/plugins/table/dialogs/table.js | 2 +- ckeditor/plugins/tabletools/dialogs/tableCell.js | 2 +- ckeditor/plugins/templates/dialogs/templates.css | 2 +- ckeditor/plugins/templates/dialogs/templates.js | 2 +- ckeditor/plugins/templates/templates/default.js | 2 +- ckeditor/plugins/widget/images/handle.png | Bin 345 -> 0 bytes ckeditor/plugins/wsc/dialogs/ciframe.html | 2 +- ckeditor/plugins/wsc/dialogs/tmp.html | 118 -- ckeditor/plugins/wsc/dialogs/tmpFrameset.html | 2 +- ckeditor/plugins/wsc/dialogs/wsc.css | 0 ckeditor/plugins/wsc/dialogs/wsc.js | 136 +- ckeditor/plugins/wsc/dialogs/wsc_ie.js | 0 ckeditor/samples/ajax.html | 4 +- ckeditor/samples/api.html | 4 +- ckeditor/samples/appendto.html | 4 +- ckeditor/samples/assets/inlineall/logo.png | Bin 4411 -> 4283 bytes .../samples/assets/outputxhtml/outputxhtml.css | 2 +- ckeditor/samples/assets/posteddata.php | 4 +- ckeditor/samples/assets/sample.css | 3 - ckeditor/samples/assets/sample.jpg | Bin 17932 -> 14449 bytes ckeditor/samples/assets/uilanguages/languages.js | 2 +- ckeditor/samples/datafiltering.html | 4 +- ckeditor/samples/divreplace.html | 4 +- ckeditor/samples/index.html | 7 +- ckeditor/samples/inlineall.html | 4 +- ckeditor/samples/inlinebycode.html | 4 +- ckeditor/samples/inlinetextarea.html | 6 +- ckeditor/samples/jquery.html | 4 +- ckeditor/samples/plugins/devtools/devtools.html | 83 -- .../samples/plugins/dialog/assets/my_dialog.js | 4 +- ckeditor/samples/plugins/dialog/dialog.html | 4 +- ckeditor/samples/plugins/enterkey/enterkey.html | 4 +- .../assets/outputforflash/outputforflash.fla | Bin .../assets/outputforflash/outputforflash.swf | Bin .../htmlwriter/assets/outputforflash/swfobject.js | 0 .../samples/plugins/htmlwriter/outputforflash.html | 4 +- .../samples/plugins/htmlwriter/outputhtml.html | 4 +- ckeditor/samples/plugins/image2/assets/image1.jpg | Bin 34316 -> 0 bytes ckeditor/samples/plugins/image2/assets/image2.jpg | Bin 27711 -> 0 bytes ckeditor/samples/plugins/image2/contents.css | 19 - ckeditor/samples/plugins/image2/image2.html | 70 - ckeditor/samples/plugins/magicline/magicline.html | 4 +- .../samples/plugins/sourcedialog/sourcedialog.html | 118 -- .../plugins/stylesheetparser/assets/sample.css | 70 - .../plugins/stylesheetparser/stylesheetparser.html | 82 -- ckeditor/samples/plugins/toolbar/toolbar.html | 4 +- ckeditor/samples/plugins/wysiwygarea/fullpage.html | 4 +- ckeditor/samples/readonly.html | 4 +- ckeditor/samples/replacebyclass.html | 4 +- ckeditor/samples/replacebycode.html | 4 +- ckeditor/samples/sample.css | 2 +- ckeditor/samples/sample.js | 2 +- ckeditor/samples/sample_posteddata.php | 2 +- ckeditor/samples/tabindex.html | 4 +- ckeditor/samples/uicolor.html | 4 +- ckeditor/samples/uilanguages.html | 4 +- ckeditor/samples/xhtmlstyle.html | 4 +- ckeditor/skins/bw_basic/dialog.css | 8 - ckeditor/skins/bw_basic/editor.css | 12 - ckeditor/skins/bw_basic/icons.png | Bin 4365 -> 0 bytes ckeditor/skins/bw_basic/images/dialog_sides.gif | Bin 48 -> 0 bytes ckeditor/skins/bw_basic/images/dialog_sides.png | Bin 178 -> 0 bytes .../skins/bw_basic/images/dialog_sides_rtl.png | Bin 181 -> 0 bytes ckeditor/skins/bw_basic/images/mini.gif | Bin 183 -> 0 bytes ckeditor/skins/bw_basic/images/noimage.png | Bin 2115 -> 0 bytes ckeditor/skins/bw_basic/images/sprites.png | Bin 5389 -> 0 bytes ckeditor/skins/bw_basic/images/sprites_ie6.png | Bin 492 -> 0 bytes ckeditor/skins/bw_basic/images/toolbar_start.gif | Bin 105 -> 0 bytes ckeditor/skins/bw_basic/skin.js | 6 - ckeditor/skins/bw_basic/templates.css | 6 - ckeditor/skins/kama/dialog.css | 5 - ckeditor/skins/kama/dialog_ie.css | 5 - ckeditor/skins/kama/dialog_ie7.css | 5 - ckeditor/skins/kama/dialog_ie8.css | 5 - ckeditor/skins/kama/dialog_iequirks.css | 5 - ckeditor/skins/kama/dialog_opera.css | 5 - ckeditor/skins/kama/editor.css | 5 - ckeditor/skins/kama/editor_ie.css | 5 - ckeditor/skins/kama/editor_ie7.css | 5 - ckeditor/skins/kama/editor_ie8.css | 5 - ckeditor/skins/kama/editor_iequirks.css | 5 - ckeditor/skins/kama/icons.png | Bin 13181 -> 0 bytes ckeditor/skins/kama/icons_hidpi.png | Bin 16567 -> 0 bytes ckeditor/skins/kama/images/dialog_sides.gif | Bin 48 -> 0 bytes ckeditor/skins/kama/images/dialog_sides.png | Bin 178 -> 0 bytes ckeditor/skins/kama/images/dialog_sides_rtl.png | Bin 181 -> 0 bytes ckeditor/skins/kama/images/mini.gif | Bin 183 -> 0 bytes ckeditor/skins/kama/images/sprites.png | Bin 7086 -> 0 bytes ckeditor/skins/kama/images/sprites_ie6.png | Bin 2724 -> 0 bytes ckeditor/skins/kama/images/toolbar_start.gif | Bin 105 -> 0 bytes ckeditor/skins/kama/readme.md | 40 - ckeditor/skins/moono/dialog.css | 5 + ckeditor/skins/moono/dialog_ie.css | 5 + ckeditor/skins/moono/dialog_ie7.css | 5 + ckeditor/skins/moono/dialog_ie8.css | 5 + ckeditor/skins/moono/dialog_iequirks.css | 5 + ckeditor/skins/moono/editor.css | 5 + ckeditor/skins/moono/editor_gecko.css | 5 + ckeditor/skins/moono/editor_ie.css | 5 + ckeditor/skins/moono/editor_ie7.css | 5 + ckeditor/skins/moono/editor_ie8.css | 5 + ckeditor/skins/moono/editor_iequirks.css | 5 + ckeditor/skins/moono/icons.png | Bin 0 -> 20833 bytes ckeditor/skins/moono/icons_hidpi.png | Bin 0 -> 67753 bytes ckeditor/skins/moono/images/arrow.png | Bin 0 -> 191 bytes ckeditor/skins/moono/images/close.png | Bin 0 -> 468 bytes ckeditor/skins/moono/images/hidpi/close.png | Bin 0 -> 1271 bytes ckeditor/skins/moono/images/hidpi/lock-open.png | Bin 0 -> 1329 bytes ckeditor/skins/moono/images/hidpi/lock.png | Bin 0 -> 1299 bytes ckeditor/skins/moono/images/hidpi/refresh.png | Bin 0 -> 1842 bytes ckeditor/skins/moono/images/lock-open.png | Bin 0 -> 349 bytes ckeditor/skins/moono/images/lock.png | Bin 0 -> 475 bytes ckeditor/skins/moono/images/refresh.png | Bin 0 -> 422 bytes ckeditor/skins/moono/readme.md | 51 + ckeditor/skins/moonocolor/dialog.css | 5 - ckeditor/skins/moonocolor/dialog_ie.css | 5 - ckeditor/skins/moonocolor/dialog_ie7.css | 5 - ckeditor/skins/moonocolor/dialog_ie8.css | 5 - ckeditor/skins/moonocolor/dialog_iequirks.css | 5 - ckeditor/skins/moonocolor/dialog_opera.css | 5 - ckeditor/skins/moonocolor/editor.css | 5 - ckeditor/skins/moonocolor/editor_gecko.css | 5 - ckeditor/skins/moonocolor/editor_ie.css | 5 - ckeditor/skins/moonocolor/editor_ie7.css | 5 - ckeditor/skins/moonocolor/editor_ie8.css | 5 - ckeditor/skins/moonocolor/editor_iequirks.css | 5 - ckeditor/skins/moonocolor/icons.png | Bin 17292 -> 0 bytes ckeditor/skins/moonocolor/icons_hidpi.png | Bin 20242 -> 0 bytes ckeditor/skins/moonocolor/images/arrow.png | Bin 342 -> 0 bytes ckeditor/skins/moonocolor/images/close.png | Bin 375 -> 0 bytes ckeditor/skins/moonocolor/images/hidpi/close.png | Bin 1792 -> 0 bytes .../skins/moonocolor/images/hidpi/lock-open.png | Bin 1503 -> 0 bytes ckeditor/skins/moonocolor/images/hidpi/lock.png | Bin 1616 -> 0 bytes ckeditor/skins/moonocolor/images/hidpi/refresh.png | Bin 2320 -> 0 bytes ckeditor/skins/moonocolor/images/lock-open.png | Bin 736 -> 0 bytes ckeditor/skins/moonocolor/images/lock.png | Bin 728 -> 0 bytes ckeditor/skins/moonocolor/images/refresh.png | Bin 953 -> 0 bytes ckeditor/skins/moonocolor/readme.md | 51 - ckeditor/skins/office2003/dialog.css | 9 - ckeditor/skins/office2003/editor.css | 14 - ckeditor/skins/office2003/icons.png | Bin 5598 -> 0 bytes ckeditor/skins/office2003/icons_rtl.png | Bin 5600 -> 0 bytes ckeditor/skins/office2003/images/dialog_sides.gif | Bin 48 -> 0 bytes ckeditor/skins/office2003/images/dialog_sides.png | Bin 178 -> 0 bytes .../skins/office2003/images/dialog_sides_rtl.png | Bin 181 -> 0 bytes ckeditor/skins/office2003/images/mini.gif | Bin 183 -> 0 bytes ckeditor/skins/office2003/images/noimage.png | Bin 2115 -> 0 bytes ckeditor/skins/office2003/images/sprites.png | Bin 6119 -> 0 bytes ckeditor/skins/office2003/images/sprites_ie6.png | Bin 2715 -> 0 bytes ckeditor/skins/office2003/skin.js | 6 - ckeditor/skins/office2003/templates.css | 6 - ckeditor/skins/v2/dialog.css | 9 - ckeditor/skins/v2/editor.css | 13 - ckeditor/skins/v2/icons.png | Bin 5598 -> 0 bytes ckeditor/skins/v2/icons_rtl.png | Bin 5600 -> 0 bytes ckeditor/skins/v2/images/dialog_sides.gif | Bin 48 -> 0 bytes ckeditor/skins/v2/images/dialog_sides.png | Bin 178 -> 0 bytes ckeditor/skins/v2/images/dialog_sides_rtl.png | Bin 181 -> 0 bytes ckeditor/skins/v2/images/mini.gif | Bin 183 -> 0 bytes ckeditor/skins/v2/images/noimage.png | Bin 2115 -> 0 bytes ckeditor/skins/v2/images/sprites.png | Bin 5389 -> 0 bytes ckeditor/skins/v2/images/sprites_ie6.png | Bin 492 -> 0 bytes ckeditor/skins/v2/images/toolbar_start.gif | Bin 105 -> 0 bytes ckeditor/skins/v2/skin.js | 6 - ckeditor/skins/v2/templates.css | 6 - ckeditor/styles.js | 4 +- 487 files changed, 1946 insertions(+), 4709 deletions(-) mode change 100755 => 100644 ckeditor/CHANGES.md mode change 100755 => 100644 ckeditor/LICENSE.md mode change 100755 => 100644 ckeditor/adapters/jquery.js create mode 100644 ckeditor/build-config.js mode change 100755 => 100644 ckeditor/ckeditor.js mode change 100755 => 100644 ckeditor/config.js mode change 100755 => 100644 ckeditor/contents.css create mode 100644 ckeditor/lang/af.js create mode 100644 ckeditor/lang/ar.js create mode 100644 ckeditor/lang/bg.js create mode 100644 ckeditor/lang/bn.js create mode 100644 ckeditor/lang/bs.js create mode 100644 ckeditor/lang/ca.js create mode 100644 ckeditor/lang/cs.js create mode 100644 ckeditor/lang/cy.js create mode 100644 ckeditor/lang/da.js create mode 100644 ckeditor/lang/de.js create mode 100644 ckeditor/lang/el.js create mode 100644 ckeditor/lang/en-au.js create mode 100644 ckeditor/lang/en-ca.js mode change 100755 => 100644 ckeditor/lang/en-gb.js mode change 100755 => 100644 ckeditor/lang/en.js create mode 100644 ckeditor/lang/eo.js create mode 100644 ckeditor/lang/es.js create mode 100644 ckeditor/lang/et.js create mode 100644 ckeditor/lang/eu.js create mode 100644 ckeditor/lang/fa.js create mode 100644 ckeditor/lang/fi.js create mode 100644 ckeditor/lang/fo.js create mode 100644 ckeditor/lang/fr-ca.js create mode 100644 ckeditor/lang/fr.js create mode 100644 ckeditor/lang/gl.js create mode 100644 ckeditor/lang/gu.js create mode 100644 ckeditor/lang/he.js create mode 100644 ckeditor/lang/hi.js create mode 100644 ckeditor/lang/hr.js create mode 100644 ckeditor/lang/hu.js create mode 100644 ckeditor/lang/id.js create mode 100644 ckeditor/lang/is.js create mode 100644 ckeditor/lang/it.js create mode 100644 ckeditor/lang/ja.js create mode 100644 ckeditor/lang/ka.js create mode 100644 ckeditor/lang/km.js create mode 100644 ckeditor/lang/ko.js create mode 100644 ckeditor/lang/ku.js create mode 100644 ckeditor/lang/lt.js create mode 100644 ckeditor/lang/lv.js create mode 100644 ckeditor/lang/mk.js create mode 100644 ckeditor/lang/mn.js create mode 100644 ckeditor/lang/ms.js create mode 100644 ckeditor/lang/nb.js create mode 100644 ckeditor/lang/nl.js create mode 100644 ckeditor/lang/no.js create mode 100644 ckeditor/lang/pl.js create mode 100644 ckeditor/lang/pt-br.js create mode 100644 ckeditor/lang/pt.js create mode 100644 ckeditor/lang/ro.js create mode 100644 ckeditor/lang/ru.js create mode 100644 ckeditor/lang/si.js create mode 100644 ckeditor/lang/sk.js create mode 100644 ckeditor/lang/sl.js create mode 100644 ckeditor/lang/sq.js create mode 100644 ckeditor/lang/sr-latn.js create mode 100644 ckeditor/lang/sr.js create mode 100644 ckeditor/lang/sv.js create mode 100644 ckeditor/lang/th.js create mode 100644 ckeditor/lang/tr.js create mode 100644 ckeditor/lang/tt.js create mode 100644 ckeditor/lang/ug.js create mode 100644 ckeditor/lang/uk.js create mode 100644 ckeditor/lang/vi.js create mode 100644 ckeditor/lang/zh-cn.js create mode 100644 ckeditor/lang/zh.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt create mode 100644 ckeditor/plugins/a11yhelp/dialogs/lang/af.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ar.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/bg.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ca.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/cs.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/cy.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/da.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/de.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/el.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/en.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/eo.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/es.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/et.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/fa.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/fi.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/fr.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/gl.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/gu.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/he.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/hi.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/hr.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/hu.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/id.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/it.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ja.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/km.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ko.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ku.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/lt.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/lv.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/mk.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/mn.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/nb.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/nl.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/no.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/pl.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/pt.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ro.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ru.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/si.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/sk.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/sl.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/sq.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/sr.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/sv.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/th.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/tr.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/ug.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/uk.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/vi.js mode change 100755 => 100644 ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js mode change 100755 => 100644 ckeditor/plugins/about/dialogs/about.js mode change 100755 => 100644 ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png mode change 100755 => 100644 ckeditor/plugins/about/dialogs/logo_ckeditor.png mode change 100755 => 100644 ckeditor/plugins/clipboard/dialogs/paste.js mode change 100755 => 100644 ckeditor/plugins/colordialog/dialogs/colordialog.js mode change 100755 => 100644 ckeditor/plugins/dialog/dialogDefinition.js mode change 100755 => 100644 ckeditor/plugins/div/dialogs/div.js delete mode 100644 ckeditor/plugins/fakeobjects/images/spacer.gif mode change 100755 => 100644 ckeditor/plugins/find/dialogs/find.js mode change 100755 => 100644 ckeditor/plugins/flash/dialogs/flash.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/button.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/checkbox.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/form.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/hiddenfield.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/radio.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/select.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/textarea.js mode change 100755 => 100644 ckeditor/plugins/forms/dialogs/textfield.js mode change 100755 => 100644 ckeditor/plugins/icons.png mode change 100755 => 100644 ckeditor/plugins/icons_hidpi.png mode change 100755 => 100644 ckeditor/plugins/iframe/dialogs/iframe.js delete mode 100755 ckeditor/plugins/image2/dialogs/image2.js delete mode 100644 ckeditor/plugins/leaflet/Creating and Editing Leaflet Maps.txt delete mode 100644 ckeditor/plugins/leaflet/Installation Guide.txt delete mode 100644 ckeditor/plugins/leaflet/README.md delete mode 100644 ckeditor/plugins/leaflet/css/contents.css delete mode 100644 ckeditor/plugins/leaflet/dialogs/leaflet.js delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/LICENSE.txt delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example_customRects.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example_fixedzoom.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example_larger.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example_layergroup.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example_lowzoom.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/example_toggleDisplay.html delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/fullscreen.css delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/example/local_pubs_restaurant_norway.js delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/package.json delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/readme.md delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/src/Control.MiniMap-de.js delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/src/Control.MiniMap.css delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/src/Control.MiniMap.js delete mode 100644 ckeditor/plugins/leaflet/scripts/Leaflet-MiniMap/src/images/toggle.png delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/.jshintignore delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/.jshintrc delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/CONTRIBUTING.md delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/README.md delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/bower.json delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/css/gh-fork-ribbon.css delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/css/gh-fork-ribbon.ie.css delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/index.html delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/leaflet-providers.js delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/license.md delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/package.json delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/L.Control.Layers.Minimap.js delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/L.Map.Sync.js delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/control.layers.minimap.css delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/highlightjs/LICENSE delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/highlightjs/github.css delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/highlightjs/highlight.pack.js delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/index.html delete mode 100644 ckeditor/plugins/leaflet/scripts/leaflet-providers/preview/preview.js delete mode 100644 ckeditor/plugins/leaflet/scripts/mapParser.html mode change 100755 => 100644 ckeditor/plugins/link/dialogs/anchor.js mode change 100755 => 100644 ckeditor/plugins/link/dialogs/link.js mode change 100755 => 100644 ckeditor/plugins/link/images/anchor.png mode change 100755 => 100644 ckeditor/plugins/link/images/hidpi/anchor.png mode change 100755 => 100644 ckeditor/plugins/liststyle/dialogs/liststyle.js create mode 100644 ckeditor/plugins/magicline/images/hidpi/icon-rtl.png mode change 100755 => 100644 ckeditor/plugins/magicline/images/hidpi/icon.png create mode 100644 ckeditor/plugins/magicline/images/icon-rtl.png mode change 100755 => 100644 ckeditor/plugins/pastefromword/filter/default.js mode change 100755 => 100644 ckeditor/plugins/preview/preview.html delete mode 100644 ckeditor/plugins/qrc/images/qrc.png mode change 100755 => 100644 ckeditor/plugins/scayt/LICENSE.md mode change 100755 => 100644 ckeditor/plugins/scayt/README.md mode change 100755 => 100644 ckeditor/plugins/scayt/dialogs/options.js mode change 100755 => 100644 ckeditor/plugins/scayt/dialogs/toolbar.css mode change 100755 => 100644 ckeditor/plugins/smiley/dialogs/smiley.js mode change 100755 => 100644 ckeditor/plugins/smiley/images/angel_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/angel_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/angry_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/angry_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/broken_heart.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/broken_heart.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/confused_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/confused_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/cry_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/cry_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/devil_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/devil_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/embaressed_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/embarrassed_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/embarrassed_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/envelope.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/envelope.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/heart.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/heart.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/kiss.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/kiss.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/lightbulb.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/lightbulb.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/omg_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/omg_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/regular_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/regular_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/sad_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/sad_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/shades_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/shades_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/teeth_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/teeth_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/thumbs_down.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/thumbs_down.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/thumbs_up.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/thumbs_up.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/tongue_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/tongue_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/tounge_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png mode change 100755 => 100644 ckeditor/plugins/smiley/images/wink_smile.gif mode change 100755 => 100644 ckeditor/plugins/smiley/images/wink_smile.png delete mode 100755 ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt create mode 100644 ckeditor/plugins/specialchar/dialogs/lang/af.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/ar.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/bg.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/ca.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/cs.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/cy.js create mode 100644 ckeditor/plugins/specialchar/dialogs/lang/da.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/de.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/el.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/en.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/eo.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/es.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/et.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/fa.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/fi.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/fr.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/gl.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/he.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/hr.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/hu.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/id.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/it.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/ja.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/km.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/ku.js create mode 100644 ckeditor/plugins/specialchar/dialogs/lang/lt.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/lv.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/nb.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/nl.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/no.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/pl.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/pt-br.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/pt.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/ru.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/si.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/sk.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/sl.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/sq.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/sv.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/th.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/tr.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/ug.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/uk.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/vi.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js mode change 100755 => 100644 ckeditor/plugins/specialchar/dialogs/specialchar.js mode change 100755 => 100644 ckeditor/plugins/table/dialogs/table.js mode change 100755 => 100644 ckeditor/plugins/tabletools/dialogs/tableCell.js mode change 100755 => 100644 ckeditor/plugins/templates/dialogs/templates.css mode change 100755 => 100644 ckeditor/plugins/templates/dialogs/templates.js mode change 100755 => 100644 ckeditor/plugins/templates/templates/default.js delete mode 100755 ckeditor/plugins/widget/images/handle.png delete mode 100755 ckeditor/plugins/wsc/dialogs/tmp.html mode change 100755 => 100644 ckeditor/plugins/wsc/dialogs/wsc.css mode change 100755 => 100644 ckeditor/plugins/wsc/dialogs/wsc.js mode change 100755 => 100644 ckeditor/plugins/wsc/dialogs/wsc_ie.js mode change 100755 => 100644 ckeditor/samples/ajax.html mode change 100755 => 100644 ckeditor/samples/api.html mode change 100755 => 100644 ckeditor/samples/appendto.html mode change 100755 => 100644 ckeditor/samples/assets/outputxhtml/outputxhtml.css mode change 100755 => 100644 ckeditor/samples/assets/posteddata.php delete mode 100644 ckeditor/samples/assets/sample.css mode change 100755 => 100644 ckeditor/samples/assets/uilanguages/languages.js mode change 100755 => 100644 ckeditor/samples/datafiltering.html mode change 100755 => 100644 ckeditor/samples/divreplace.html mode change 100755 => 100644 ckeditor/samples/index.html mode change 100755 => 100644 ckeditor/samples/inlineall.html mode change 100755 => 100644 ckeditor/samples/inlinebycode.html mode change 100755 => 100644 ckeditor/samples/inlinetextarea.html mode change 100755 => 100644 ckeditor/samples/jquery.html delete mode 100755 ckeditor/samples/plugins/devtools/devtools.html mode change 100755 => 100644 ckeditor/samples/plugins/dialog/assets/my_dialog.js mode change 100755 => 100644 ckeditor/samples/plugins/dialog/dialog.html mode change 100755 => 100644 ckeditor/samples/plugins/enterkey/enterkey.html mode change 100755 => 100644 ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla mode change 100755 => 100644 ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf mode change 100755 => 100644 ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js mode change 100755 => 100644 ckeditor/samples/plugins/htmlwriter/outputforflash.html mode change 100755 => 100644 ckeditor/samples/plugins/htmlwriter/outputhtml.html delete mode 100755 ckeditor/samples/plugins/image2/assets/image1.jpg delete mode 100755 ckeditor/samples/plugins/image2/assets/image2.jpg delete mode 100755 ckeditor/samples/plugins/image2/contents.css delete mode 100755 ckeditor/samples/plugins/image2/image2.html mode change 100755 => 100644 ckeditor/samples/plugins/magicline/magicline.html delete mode 100755 ckeditor/samples/plugins/sourcedialog/sourcedialog.html delete mode 100755 ckeditor/samples/plugins/stylesheetparser/assets/sample.css delete mode 100755 ckeditor/samples/plugins/stylesheetparser/stylesheetparser.html mode change 100755 => 100644 ckeditor/samples/plugins/toolbar/toolbar.html mode change 100755 => 100644 ckeditor/samples/plugins/wysiwygarea/fullpage.html mode change 100755 => 100644 ckeditor/samples/readonly.html mode change 100755 => 100644 ckeditor/samples/replacebyclass.html mode change 100755 => 100644 ckeditor/samples/replacebycode.html mode change 100755 => 100644 ckeditor/samples/sample.css mode change 100755 => 100644 ckeditor/samples/sample.js mode change 100755 => 100644 ckeditor/samples/sample_posteddata.php mode change 100755 => 100644 ckeditor/samples/tabindex.html mode change 100755 => 100644 ckeditor/samples/uicolor.html mode change 100755 => 100644 ckeditor/samples/uilanguages.html mode change 100755 => 100644 ckeditor/samples/xhtmlstyle.html delete mode 100644 ckeditor/skins/bw_basic/dialog.css delete mode 100644 ckeditor/skins/bw_basic/editor.css delete mode 100644 ckeditor/skins/bw_basic/icons.png delete mode 100644 ckeditor/skins/bw_basic/images/dialog_sides.gif delete mode 100644 ckeditor/skins/bw_basic/images/dialog_sides.png delete mode 100644 ckeditor/skins/bw_basic/images/dialog_sides_rtl.png delete mode 100644 ckeditor/skins/bw_basic/images/mini.gif delete mode 100644 ckeditor/skins/bw_basic/images/noimage.png delete mode 100644 ckeditor/skins/bw_basic/images/sprites.png delete mode 100644 ckeditor/skins/bw_basic/images/sprites_ie6.png delete mode 100644 ckeditor/skins/bw_basic/images/toolbar_start.gif delete mode 100644 ckeditor/skins/bw_basic/skin.js delete mode 100644 ckeditor/skins/bw_basic/templates.css delete mode 100755 ckeditor/skins/kama/dialog.css delete mode 100755 ckeditor/skins/kama/dialog_ie.css delete mode 100755 ckeditor/skins/kama/dialog_ie7.css delete mode 100755 ckeditor/skins/kama/dialog_ie8.css delete mode 100755 ckeditor/skins/kama/dialog_iequirks.css delete mode 100755 ckeditor/skins/kama/dialog_opera.css delete mode 100755 ckeditor/skins/kama/editor.css delete mode 100755 ckeditor/skins/kama/editor_ie.css delete mode 100755 ckeditor/skins/kama/editor_ie7.css delete mode 100755 ckeditor/skins/kama/editor_ie8.css delete mode 100755 ckeditor/skins/kama/editor_iequirks.css delete mode 100755 ckeditor/skins/kama/icons.png delete mode 100755 ckeditor/skins/kama/icons_hidpi.png delete mode 100644 ckeditor/skins/kama/images/dialog_sides.gif delete mode 100644 ckeditor/skins/kama/images/dialog_sides.png delete mode 100644 ckeditor/skins/kama/images/dialog_sides_rtl.png delete mode 100644 ckeditor/skins/kama/images/mini.gif delete mode 100644 ckeditor/skins/kama/images/sprites.png delete mode 100644 ckeditor/skins/kama/images/sprites_ie6.png delete mode 100644 ckeditor/skins/kama/images/toolbar_start.gif delete mode 100755 ckeditor/skins/kama/readme.md create mode 100644 ckeditor/skins/moono/dialog.css create mode 100644 ckeditor/skins/moono/dialog_ie.css create mode 100644 ckeditor/skins/moono/dialog_ie7.css create mode 100644 ckeditor/skins/moono/dialog_ie8.css create mode 100644 ckeditor/skins/moono/dialog_iequirks.css create mode 100644 ckeditor/skins/moono/editor.css create mode 100644 ckeditor/skins/moono/editor_gecko.css create mode 100644 ckeditor/skins/moono/editor_ie.css create mode 100644 ckeditor/skins/moono/editor_ie7.css create mode 100644 ckeditor/skins/moono/editor_ie8.css create mode 100644 ckeditor/skins/moono/editor_iequirks.css create mode 100644 ckeditor/skins/moono/icons.png create mode 100644 ckeditor/skins/moono/icons_hidpi.png create mode 100644 ckeditor/skins/moono/images/arrow.png create mode 100644 ckeditor/skins/moono/images/close.png create mode 100644 ckeditor/skins/moono/images/hidpi/close.png create mode 100644 ckeditor/skins/moono/images/hidpi/lock-open.png create mode 100644 ckeditor/skins/moono/images/hidpi/lock.png create mode 100644 ckeditor/skins/moono/images/hidpi/refresh.png create mode 100644 ckeditor/skins/moono/images/lock-open.png create mode 100644 ckeditor/skins/moono/images/lock.png create mode 100644 ckeditor/skins/moono/images/refresh.png create mode 100644 ckeditor/skins/moono/readme.md delete mode 100644 ckeditor/skins/moonocolor/dialog.css delete mode 100644 ckeditor/skins/moonocolor/dialog_ie.css delete mode 100644 ckeditor/skins/moonocolor/dialog_ie7.css delete mode 100644 ckeditor/skins/moonocolor/dialog_ie8.css delete mode 100644 ckeditor/skins/moonocolor/dialog_iequirks.css delete mode 100644 ckeditor/skins/moonocolor/dialog_opera.css delete mode 100644 ckeditor/skins/moonocolor/editor.css delete mode 100644 ckeditor/skins/moonocolor/editor_gecko.css delete mode 100644 ckeditor/skins/moonocolor/editor_ie.css delete mode 100644 ckeditor/skins/moonocolor/editor_ie7.css delete mode 100644 ckeditor/skins/moonocolor/editor_ie8.css delete mode 100644 ckeditor/skins/moonocolor/editor_iequirks.css delete mode 100644 ckeditor/skins/moonocolor/icons.png delete mode 100644 ckeditor/skins/moonocolor/icons_hidpi.png delete mode 100644 ckeditor/skins/moonocolor/images/arrow.png delete mode 100644 ckeditor/skins/moonocolor/images/close.png delete mode 100644 ckeditor/skins/moonocolor/images/hidpi/close.png delete mode 100644 ckeditor/skins/moonocolor/images/hidpi/lock-open.png delete mode 100644 ckeditor/skins/moonocolor/images/hidpi/lock.png delete mode 100644 ckeditor/skins/moonocolor/images/hidpi/refresh.png delete mode 100644 ckeditor/skins/moonocolor/images/lock-open.png delete mode 100644 ckeditor/skins/moonocolor/images/lock.png delete mode 100644 ckeditor/skins/moonocolor/images/refresh.png delete mode 100644 ckeditor/skins/moonocolor/readme.md delete mode 100644 ckeditor/skins/office2003/dialog.css delete mode 100644 ckeditor/skins/office2003/editor.css delete mode 100644 ckeditor/skins/office2003/icons.png delete mode 100644 ckeditor/skins/office2003/icons_rtl.png delete mode 100644 ckeditor/skins/office2003/images/dialog_sides.gif delete mode 100644 ckeditor/skins/office2003/images/dialog_sides.png delete mode 100644 ckeditor/skins/office2003/images/dialog_sides_rtl.png delete mode 100644 ckeditor/skins/office2003/images/mini.gif delete mode 100644 ckeditor/skins/office2003/images/noimage.png delete mode 100644 ckeditor/skins/office2003/images/sprites.png delete mode 100644 ckeditor/skins/office2003/images/sprites_ie6.png delete mode 100644 ckeditor/skins/office2003/skin.js delete mode 100644 ckeditor/skins/office2003/templates.css delete mode 100644 ckeditor/skins/v2/dialog.css delete mode 100644 ckeditor/skins/v2/editor.css delete mode 100644 ckeditor/skins/v2/icons.png delete mode 100644 ckeditor/skins/v2/icons_rtl.png delete mode 100644 ckeditor/skins/v2/images/dialog_sides.gif delete mode 100644 ckeditor/skins/v2/images/dialog_sides.png delete mode 100644 ckeditor/skins/v2/images/dialog_sides_rtl.png delete mode 100644 ckeditor/skins/v2/images/mini.gif delete mode 100644 ckeditor/skins/v2/images/noimage.png delete mode 100644 ckeditor/skins/v2/images/sprites.png delete mode 100644 ckeditor/skins/v2/images/sprites_ie6.png delete mode 100644 ckeditor/skins/v2/images/toolbar_start.gif delete mode 100644 ckeditor/skins/v2/skin.js delete mode 100644 ckeditor/skins/v2/templates.css mode change 100755 => 100644 ckeditor/styles.js diff --git a/ckeditor/CHANGES.md b/ckeditor/CHANGES.md old mode 100755 new mode 100644 index 8126f56..d927d93 --- a/ckeditor/CHANGES.md +++ b/ckeditor/CHANGES.md @@ -1,6 +1,114 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.4.7 + +Fixed Issues: + +* [#12825](http://dev.ckeditor.com/ticket/12825): Fixed: Preventing the [Table Resize](http://ckeditor.com/addon/tableresize) plugin from operating on elements outside the editor. Thanks to [Paul Martin](https://github.com/Paul-Martin)! +* [#12157](http://dev.ckeditor.com/ticket/12157): Fixed: Lost text formatting on pressing *Tab* when the [`config.tabSpaces`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-tabSpaces) configuration option value was greater than zero. +* [#12777](http://dev.ckeditor.com/ticket/12777): Fixed: The `table-layout` CSS property should be reset by skins. Thanks to [vita10gy](https://github.com/vita10gy)! +* [#12812](http://dev.ckeditor.com/ticket/12812): Fixed: An uncaught security exception is thrown when [Line Utilities](http://ckeditor.com/addon/lineutils) are used in an inline editor loaded in a cross-domain `iframe`. Thanks to [Vitaliy Zurian](https://github.com/thecatontheflat)! +* [#12735](http://dev.ckeditor.com/ticket/12735): Fixed: [`config.fillEmptyBlocks`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-fillEmptyBlocks) should only apply when outputting data. +* [#10032](http://dev.ckeditor.com/ticket/10032): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) filter is executed for every paste after using the button. +* [#12597](http://dev.ckeditor.com/ticket/12597): [Blink/Webkit] Fixed: Multi-byte Japanese characters entry not working properly after *Shift+Enter*. +* [#12387](http://dev.ckeditor.com/ticket/12387): Fixed: An error is thrown if a skin does not have the [`chameleon`](http://docs.ckeditor.com/#!/api/CKEDITOR.skin-method-chameleon) property defined and [`config.uiColor`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-uiColor) is defined. +* [#12747](http://dev.ckeditor.com/ticket/12747): [IE8-10] Fixed: Opening a drop-down for a specific selection when the editor is maximized results in incorrect drop-down panel position. +* [#12850](http://dev.ckeditor.com/ticket/12850): [IEQM] Fixed: An error is thrown after focusing the editor. + +## CKEditor 4.4.6 + +**Security Updates:** + +* Fixed XSS vulnerability in the HTML parser reported by [Maco Cortes](https://www.facebook.com/Maaacoooo). + + Issue summary: It was possible to execute XSS inside CKEditor after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode. + +**An upgrade is highly recommended!** + +New Features: + +* [#12501](http://dev.ckeditor.com/ticket/12501): Allowed dashes in element names in the [string format of allowed content rules](http://docs.ckeditor.com/#!/guide/dev_allowed_content_rules-section-string-format). +* [#12550](http://dev.ckeditor.com/ticket/12550): Added the `
` element to the [`CKEDITOR.dtd`](http://docs.ckeditor.com/#!/api/CKEDITOR.dtd). + +Fixed Issues: + +* [#12506](http://dev.ckeditor.com/ticket/12506): [Safari] Fixed: Cannot paste into inline editor if the page has `user-select: none` style. Thanks to [shaohua](https://github.com/shaohua)! +* [#12683](http://dev.ckeditor.com/ticket/12683): Fixed: [Filter](http://docs.ckeditor.com/#!/guide/dev_acf) fails to remove custom tags. Thanks to [timselier](https://github.com/timselier)! +* [#12489](http://dev.ckeditor.com/ticket/12489) and [#12491](http://dev.ckeditor.com/ticket/12491): Fixed: Various issues related to restoring the selection after performing operations on filler character. See the [fixed cases](http://dev.ckeditor.com/ticket/12491#comment:4). +* [#12621](http://dev.ckeditor.com/ticket/12621): Fixed: Cannot remove inline styles (bold, italic, etc.) in empty lines. +* [#12630](http://dev.ckeditor.com/ticket/12630): [Chrome] Fixed: Selection is placed outside the paragraph when the [New Page](http://ckeditor.com/addon/newpage) button is clicked. This patch significantly simplified the way how the initial selection (a selection after the content of the editable is overwritten) is being fixed. That might have fixed many related scenarios in all browsers. +* [#11647](http://dev.ckeditor.com/ticket/11647): Fixed: The [`editor.blur`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-blur) event is not fired on first blur after initializing the inline editor on an already focused element. +* [#12601](http://dev.ckeditor.com/ticket/12601): Fixed: [Strikethrough](http://ckeditor.com/addon/basicstyles) button tooltip spelling. +* [#12546](http://dev.ckeditor.com/ticket/12546): Fixed: The Preview tab in the [Document Properties](http://ckeditor.com/addon/docprops) dialog window is always disabled. +* [#12300](http://dev.ckeditor.com/ticket/12300): Fixed: The [`editor.change`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-change) event fired on first navigation key press after typing. +* [#12141](http://dev.ckeditor.com/ticket/12141): Fixed: List items are lost when indenting a list item with content wrapped with a block element. +* [#12515](http://dev.ckeditor.com/ticket/12515): Fixed: Cursor is in the wrong position when undoing after adding an image and typing some text. +* [#12484](http://dev.ckeditor.com/ticket/12484): [Blink/Webkit] Fixed: DOM is changed outside the editor area in a certain case. +* [#12688](http://dev.ckeditor.com/ticket/12688): Improved the tests of the [styles system](http://docs.ckeditor.com/#!/api/CKEDITOR.style) and fixed two minor issues. +* [#12403](http://dev.ckeditor.com/ticket/12403): Fixed: Changing the [font](http://ckeditor.com/addon/font) style should not lead to nesting it in the previous style element. +* [#12609](http://dev.ckeditor.com/ticket/12609): Fixed: Incorrect `config.magicline_putEverywhere` name used for a [Magic Line](http://ckeditor.com/addon/magicline) all-encompassing [`config.magicline_everywhere`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-magicline_everywhere) configuration option. + + +## CKEditor 4.4.5 + +New Features: + +* [#12279](http://dev.ckeditor.com/ticket/12279): Added a possibility to pass a custom evaluator to [`node.getAscendant()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.node-method-getAscendant). + +Fixed Issues: + +* [#12423](http://dev.ckeditor.com/ticket/12423): [Safari7.1+] Fixed: *Enter* key moved cursor to a strange position. +* [#12381](http://dev.ckeditor.com/ticket/12381): [iOS] Fixed: Selection issue. Thanks to [Remiremi](https://github.com/Remiremi)! +* [#10804](http://dev.ckeditor.com/ticket/10804): Fixed: `CKEDITOR_GETURL` is not used with some plugins where it should be used. Thanks to [Thomas Andraschko](https://github.com/tandraschko)! +* [#9137](http://dev.ckeditor.com/ticket/9137): Fixed: The `` tag is not created when `` has an attribute. Thanks to [naoki.fujikawa](https://github.com/naoki-fujikawa)! +* [#12377](http://dev.ckeditor.com/ticket/12377): Fixed: Errors thrown in the [Image](http://ckeditor.com/addon/image) plugin when removing preview from the dialog window definition. Thanks to [Axinet](https://github.com/Axinet)! +* [#12162](http://dev.ckeditor.com/ticket/12162): Fixed: Auto paragraphing and *Enter* key in nested editables. +* [#12315](http://dev.ckeditor.com/ticket/12315): Fixed: Marked [`config.autoParagraph`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoParagraph) as deprecated. +* [#12113](http://dev.ckeditor.com/ticket/12113): Fixed: A [code snippet](http://ckeditor.com/addon/codesnippet) should be presented in the [elements path](http://ckeditor.com/addon/elementspath) as "code snippet" (translatable). +* [#12311](http://dev.ckeditor.com/ticket/12311): Fixed: [Remove Format](http://ckeditor.com/addon/removeformat) should also remove `` elements. +* [#12261](http://dev.ckeditor.com/ticket/12261): Fixed: Filter has to be destroyed and removed from [`CKEDITOR.filter.instances`](http://docs.ckeditor.com/#!/api/CKEDITOR.filter-static-property-instances) on editor destroy. +* [#12398](http://dev.ckeditor.com/ticket/12398): Fixed: [Maximize](http://ckeditor.com/addon/maximize) does not work on an instance without a [title](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-title). +* [#12097](http://dev.ckeditor.com/ticket/12097): Fixed: JAWS not reading the number of options correctly in the [Text Color and Background Color](http://ckeditor.com/addon/colorbutton) button menu. +* [#12411](http://dev.ckeditor.com/ticket/12411): Fixed: [Page Break](http://ckeditor.com/addon/pagebreak) used directly in the editable breaks the editor. +* [#12354](http://dev.ckeditor.com/ticket/12354): Fixed: Various issues in undo manager when holding keys. +* [#12324](http://dev.ckeditor.com/ticket/12324): [IE8] Fixed: Undo steps are not recorded when changing the caret position by clicking below the body. +* [#12332](http://dev.ckeditor.com/ticket/12332): Fixed: Lowered DOM events listeners' priorities in undo manager in order to avoid ambiguity. +* [#12402](http://dev.ckeditor.com/ticket/12402): [Blink] Fixed: Workaround for Blink bug with `document.title` which breaks updating title in the full HTML mode. +* [#12338](http://dev.ckeditor.com/ticket/12338): Fixed: The CKEditor package contains unoptimized images. + + +## CKEditor 4.4.4 + +Fixed Issues: + +* [#12268](http://dev.ckeditor.com/ticket/12268): Cleanup of [UI Color](http://ckeditor.com/addon/uicolor) YUI styles. Thanks to [CasherWest](https://github.com/CasherWest)! +* [#12263](http://dev.ckeditor.com/ticket/12263): Fixed: [Paste from Word](http://ckeditor.com/addon/pastefromword) filter does not properly normalize semicolons style text. Thanks to [Alin Purcaru](https://github.com/mesmerizero)! +* [#12243](http://dev.ckeditor.com/ticket/12243): Fixed: Text formatting lost when pasting from Word. Thanks to [Alin Purcaru](https://github.com/mesmerizero)! +* [#111739](http://dev.ckeditor.com/ticket/11739): Fixed: `keypress` listeners should not be used in the undo manager. A complete rewrite of keyboard handling in the undo manager was made. Numerous smaller issues were fixed, among others: + * [#10926](http://dev.ckeditor.com/ticket/10926): [Chrome@Android] Fixed: Typing does not record snapshots and does not fire the [`editor.change`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-change) event. + * [#11611](http://dev.ckeditor.com/ticket/11611): [Firefox] Fixed: The [`editor.change`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-change) event is fired when pressing Arrow keys. + * [#12219](http://dev.ckeditor.com/ticket/12219): [Safari] Fixed: Some modifications of the [`UndoManager.locked`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.undo.UndoManager-property-locked) property violate strict mode in the [Undo](http://ckeditor.com/addon/undo) plugin. +* [#10916](http://dev.ckeditor.com/ticket/10916): Fixed: [Magic Line](http://ckeditor.com/addon/magicline) icon in Right-To-Left environments. +* [#11970](http://dev.ckeditor.com/ticket/11970): [IE] Fixed: CKEditor `paste` event is not fired when pasting with *Shift+Ins*. +* [#12111](http://dev.ckeditor.com/ticket/12111): Fixed: Linked image attributes are not read when opening the image dialog window by doubleclicking. +* [#10030](http://dev.ckeditor.com/ticket/10030): [IE] Fixed: Prevented "Unspecified Error" thrown in various cases when IE8-9 does not allow access to `document.activeElement`. +* [#12273](http://dev.ckeditor.com/ticket/12273): Fixed: Applying block style in a description list breaks it. +* [#12218](http://dev.ckeditor.com/ticket/12218): Fixed: Minor syntax issue in CSS files. +* [#12178](http://dev.ckeditor.com/ticket/12178): [Blink/WebKit] Fixed: Iterator does not return the block if the selection is located at the end of it. +* [#12185](http://dev.ckeditor.com/ticket/12185): [IE9QM] Fixed: Error thrown when moving the mouse over focused editor's scrollbar. +* [#12215](http://dev.ckeditor.com/ticket/12215): Fixed: Basepath resolution does not recognize semicolon as a query separator. +* [#12135](http://dev.ckeditor.com/ticket/12135): Fixed: [Remove Format](http://ckeditor.com/addon/removeformat) does not work on widgets. +* [#12298](http://dev.ckeditor.com/ticket/12298): [IE11] Fixed: Clicking below `` in Compatibility Mode will no longer reset selection to the first line. +* [#12204](http://dev.ckeditor.com/ticket/12204): Fixed: Editor's voice label is not affected by [`config.title`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-title). +* [#11915](http://dev.ckeditor.com/ticket/11915): Fixed: With [SCAYT](http://ckeditor.com/addon/scayt) enabled, cursor moves to the beginning of the first highlighted, misspelled word after typing or pasting into the editor. +* [SCAYT](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/69): Fixed: Error thrown in the console after enabling [SCAYT](http://ckeditor.com/addon/scayt) and trying to add a new image. + + +Other Changes: + +* [#12296](http://dev.ckeditor.com/ticket/12296): Merged `benderjs-ckeditor` into the main CKEditor repository. + ## CKEditor 4.4.3 **Security Updates:** @@ -16,7 +124,7 @@ New Features: Fixed Issues: * [#12110](http://dev.ckeditor.com/ticket/12110): Fixed: Editor crash after deleting a table. Thanks to [Alin Purcaru](https://github.com/mesmerizero)! -* [#11897](http://dev.ckeditor.com/ticket/11897): Fixed: **Enter** key used in an empty list item creates a new line instead of breaking the list. Thanks to [noam-si](https://github.com/noam-si)! +* [#11897](http://dev.ckeditor.com/ticket/11897): Fixed: *Enter* key used in an empty list item creates a new line instead of breaking the list. Thanks to [noam-si](https://github.com/noam-si)! * [#12140](http://dev.ckeditor.com/ticket/12140): Fixed: Double-clicking linked widgets opens two dialog windows. * [#12132](http://dev.ckeditor.com/ticket/12132): Fixed: Image is inserted with `width` and `height` styles even when they are not allowed. * [#9317](http://dev.ckeditor.com/ticket/9317): [IE] Fixed: [`config.disableObjectResizing`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-disableObjectResizing) does not work on IE. **Note**: We were not able to fix this issue on IE11+ because necessary events stopped working. See a [last resort workaround](http://dev.ckeditor.com/ticket/9317#comment:16) and make sure to [support our complaint to Microsoft](https://connect.microsoft.com/IE/feedback/details/742593/please-respect-execcommand-enableobjectresizing-in-contenteditable-elements). @@ -413,7 +521,7 @@ New Features: * [#8244](http://dev.ckeditor.com/ticket/8244): Use *(Shift+)Tab* to indent and outdent lists. * [#10281](http://dev.ckeditor.com/ticket/10281): The [jQuery Adapter](http://docs.ckeditor.com/#!/guide/dev_jquery) is now available. Several jQuery-related issues fixed: [#8261](http://dev.ckeditor.com/ticket/8261), [#9077](http://dev.ckeditor.com/ticket/9077), [#8710](http://dev.ckeditor.com/ticket/8710), [#8530](http://dev.ckeditor.com/ticket/8530), [#9019](http://dev.ckeditor.com/ticket/9019), [#6181](http://dev.ckeditor.com/ticket/6181), [#7876](http://dev.ckeditor.com/ticket/7876), [#6906](http://dev.ckeditor.com/ticket/6906). * [#10042](http://dev.ckeditor.com/ticket/10042): Introduced [`config.title`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-title) setting to change the human-readable title of the editor. -* [#9794](http://dev.ckeditor.com/ticket/9794): Added [`editor.onChange`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-change) event. +* [#9794](http://dev.ckeditor.com/ticket/9794): Added [`editor.change`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-change) event. * [#9923](http://dev.ckeditor.com/ticket/9923): HiDPI support in the editor UI. HiDPI icons for [Moono skin](http://ckeditor.com/addon/moono) added. * [#8031](http://dev.ckeditor.com/ticket/8031): Handle `required` attributes on `");return""+encodeURIComponent(a)+""})}function p(a){return a.replace(w,function(a,b){return decodeURIComponent(b)})}function s(a){return a.replace(/<\!--(?!{cke_protected})[\s\S]+?--\>/g, -function(a){return"<\!--"+A+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\>"})}function x(a){return a.replace(/<\!--\{cke_protected\}\{C\}([\s\S]+?)--\>/g,function(a,b){return decodeURIComponent(b)})}function q(a,b){var d=b._.dataStore;return a.replace(/<\!--\{cke_protected\}([\s\S]+?)--\>/g,function(a,b){return decodeURIComponent(b)}).replace(/\{cke_protected_(\d+)\}/g,function(a,b){return d&&d[b]||""})}function o(a,b){for(var d=[],c=b.config.protectedSource,e=b._.dataStore||(b._.dataStore= -{id:1}),f=/<\!--\{cke_temp(comment)?\}(\d*?)--\>/g,c=[//gi,//gi,//gi].concat(c),a=a.replace(/<\!--[\s\S]*?--\>/g,function(a){return"<\!--{cke_tempcomment}"+(d.push(a)-1)+"--\>"}),j=0;j"});a=a.replace(f,function(a,b,c){return"<\!--"+A+(b?"{C}":"")+encodeURIComponent(d[c]).replace(/--/g, -"%2D%2D")+"--\>"});a=a.replace(/<\w+(?:\s+(?:(?:[^\s=>]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=>]+))+\s*>/g,function(a){return a.replace(/<\!--\{cke_protected\}([^>]*)--\>/g,function(a,b){e[e.id]=decodeURIComponent(b);return"{cke_protected_"+e.id++ +"}"})});return a=a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(a,d,c,e){return"<"+d+c+">"+q(x(e),b)+""})}CKEDITOR.htmlDataProcessor=function(b){var d,e,f=this;this.editor=b;this.dataFilter=d=new CKEDITOR.htmlParser.filter; -this.htmlFilter=e=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;d.addRules(v);d.addRules(I,{applyToAll:true});d.addRules(a(b,"data"),{applyToAll:true});e.addRules(r);e.addRules(O,{applyToAll:true});e.addRules(a(b,"html"),{applyToAll:true});b.on("toHtml",function(a){var a=a.data,d=a.dataValue,d=o(d,b),d=m(d,J),d=i(d),d=m(d,L),d=d.replace(z,"$1cke:$2"),d=d.replace(E,""),d=d.replace(/(]*>)(\r\n|\n)/g,"$1$2$2"),d=d.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi, -"$1data-cke-"+CKEDITOR.rnd+"-$2"),e=a.context||b.editable().getName(),f;if(CKEDITOR.env.ie&&CKEDITOR.env.version<9&&e=="pre"){e="div";d="
"+d+"
";f=1}e=b.document.createElement(e);e.setHtml("a"+d);d=e.getHtml().substr(1);d=d.replace(RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),"");f&&(d=d.replace(/^
|<\/pre>$/gi,""));d=d.replace(t,"$1$2");d=p(d);d=x(d);a.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(d,a.context,a.fixForBody===false?false:c(a.enterMode,b.config.autoParagraph))},null,null,
-5);b.on("toHtml",function(a){a.data.filter.applyTo(a.data.dataValue,true,a.data.dontFilter,a.data.enterMode)&&b.fire("dataFiltered")},null,null,6);b.on("toHtml",function(a){a.data.dataValue.filterChildren(f.dataFilter,true)},null,null,10);b.on("toHtml",function(a){var a=a.data,b=a.dataValue,d=new CKEDITOR.htmlParser.basicWriter;b.writeChildrenHtml(d);b=d.getHtml(true);a.dataValue=s(b)},null,null,15);b.on("toDataFormat",function(a){var d=a.data.dataValue;a.data.enterMode!=CKEDITOR.ENTER_BR&&(d=d.replace(/^
/i, -""));a.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(d,a.data.context,c(a.data.enterMode,b.config.autoParagraph))},null,null,5);b.on("toDataFormat",function(a){a.data.dataValue.filterChildren(f.htmlFilter,true)},null,null,10);b.on("toDataFormat",function(a){a.data.filter.applyTo(a.data.dataValue,false,true)},null,null,11);b.on("toDataFormat",function(a){var d=a.data.dataValue,c=f.writer;c.reset();d.writeChildrenHtml(c);d=c.getHtml(true);d=x(d);d=q(d,b);a.data.dataValue=d},null,null,15)};CKEDITOR.htmlDataProcessor.prototype= -{toHtml:function(a,b,d,c){var e=this.editor,f,j,k;if(b&&typeof b=="object"){f=b.context;d=b.fixForBody;c=b.dontFilter;j=b.filter;k=b.enterMode}else f=b;!f&&f!==null&&(f=e.editable().getName());return e.fire("toHtml",{dataValue:a,context:f,fixForBody:d,dontFilter:c,filter:j||e.filter,enterMode:k||e.enterMode}).dataValue},toDataFormat:function(a,b){var d,c,e;if(b){d=b.context;c=b.filter;e=b.enterMode}!d&&d!==null&&(d=this.editor.editable().getName());return this.editor.fire("toDataFormat",{dataValue:a, -filter:c||this.editor.filter,context:d,enterMode:e||this.editor.enterMode}).dataValue}};var u=/(?: |\xa0)$/,A="{cke_protected}",k=CKEDITOR.dtd,l=["caption","colgroup","col","thead","tfoot","tbody"],j=CKEDITOR.tools.extend({},k.$blockLimit,k.$block),v={elements:{input:n,textarea:n}},I={attributeNames:[[/^on/,"data-cke-pa-on"],[/^data-cke-expando$/,""]]},r={elements:{embed:function(a){var b=a.parent;if(b&&b.name=="object"){var d=b.attributes.width,b=b.attributes.height;if(d)a.attributes.width= -d;if(b)a.attributes.height=b}},a:function(a){if(!a.children.length&&!a.attributes.name&&!a.attributes["data-cke-saved-name"])return false}}},O={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/,""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(a){var b=a.attributes;if(b){if(b["data-cke-temp"])return false;for(var d=["name","href","src"],c,e=0;e-1&&c>-1&&d!=c)){d=a.parent?a.getIndex():-1;c=b.parent?b.getIndex():-1}return d>c?1:-1})},param:function(a){a.children=[];a.isEmpty=true;return a},span:function(a){a.attributes["class"]=="Apple-style-span"&&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 b=a.children[0];if(b&&b.value)b.value=CKEDITOR.tools.trim(b.value);if(!a.attributes.type)a.attributes.type="text/css"},title:function(a){var b=a.children[0];!b&&g(a,b=new CKEDITOR.htmlParser.text);b.value=a.attributes["data-cke-title"]||""},input:h,textarea:h},attributes:{"class":function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,""))||false}}};if(CKEDITOR.env.ie)O.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})}; -var S=/<(a|area|img|input|source)\b([^>]*)>/gi,F=/([\w-]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,D=/^(href|src|name)$/i,L=/(?:])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,J=/(])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,w=/([^<]*)<\/cke:encoded>/gi,z=/(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi,t=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,E=/]*?)\/?>(?!\s*<\/cke:\1)/gi})();"use strict"; -CKEDITOR.htmlParser.element=function(a,c){this.name=a;this.attributes=c||{};this.children=[];var b=a||"",f=b.match(/^cke:(.*)/);f&&(b=f[1]);b=!(!CKEDITOR.dtd.$nonBodyContent[b]&&!CKEDITOR.dtd.$block[b]&&!CKEDITOR.dtd.$listItem[b]&&!CKEDITOR.dtd.$tableContent[b]&&!(CKEDITOR.dtd.$nonEditable[b]||b=="br"));this.isEmpty=!!CKEDITOR.dtd.$empty[a];this.isUnknown=!CKEDITOR.dtd[a];this._={isBlockLike:b,hasInlineStarted:this.isEmpty||!b}}; -CKEDITOR.htmlParser.cssStyle=function(a){var c={};((a instanceof CKEDITOR.htmlParser.element?a.attributes.style:a)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,f,d){f=="font-family"&&(d=d.replace(/["']/g,""));c[f.toLowerCase()]=d});return{rules:c,populate:function(a){var c=this.toString();if(c)a instanceof CKEDITOR.dom.element?a.setAttribute("style",c):a instanceof CKEDITOR.htmlParser.element?a.attributes.style=c:a.style=c},toString:function(){var a=[],f; -for(f in c)c[f]&&a.push(f,":",c[f],";");return a.join("")}}}; -(function(){function a(a){return function(b){return b.type==CKEDITOR.NODE_ELEMENT&&(typeof a=="string"?b.name==a:b.name in a)}}var c=function(a,b){a=a[0];b=b[0];return ab?1:0},b=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:b.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(a,b){var c=this,g,n,b=c.getFilterContext(b);if(b.off)return true; -if(!c.parent)a.onRoot(b,c);for(;;){g=c.name;if(!(n=a.onElementName(b,g))){this.remove();return false}c.name=n;if(!(c=a.onElement(b,c))){this.remove();return false}if(c!==this){this.replaceWith(c);return false}if(c.name==g)break;if(c.type!=CKEDITOR.NODE_ELEMENT){this.replaceWith(c);return false}if(!c.name){this.replaceWithChildren();return false}}g=c.attributes;var h,i;for(h in g){i=h;for(n=g[h];;)if(i=a.onAttributeName(b,h))if(i!=h){delete g[h];h=i}else break;else{delete g[h];break}i&&((n=a.onAttribute(b, -c,i,n))===false?delete g[i]:g[i]=n)}c.isEmpty||this.filterChildren(a,false,b);return true},filterChildren:b.filterChildren,writeHtml:function(a,b){b&&this.filter(b);var e=this.name,g=[],n=this.attributes,h,i;a.openTag(e,n);for(h in n)g.push([h,n[h]]);a.sortAttributes&&g.sort(c);h=0;for(i=g.length;h0)this.children[a-1].next=null;this.parent.add(c,this.getIndex()+1);return c},addClass:function(a){if(!this.hasClass(a)){var b=this.attributes["class"]||"";this.attributes["class"]=b+(b?" ":"")+ +(function(){function a(){this.rules=[]}function f(b,c,e,d){var f,k;for(f in c){(k=b[f])||(k=b[f]=new a);k.add(c[f],e,d)}}CKEDITOR.htmlParser.filter=CKEDITOR.tools.createClass({$:function(b){this.id=CKEDITOR.tools.getNextNumber();this.elementNameRules=new a;this.attributeNameRules=new a;this.elementsRules={};this.attributesRules={};this.textRules=new a;this.commentRules=new a;this.rootRules=new a;b&&this.addRules(b,10)},proto:{addRules:function(a,c){var e;if(typeof c=="number")e=c;else if(c&&"priority"in +c)e=c.priority;typeof e!="number"&&(e=10);typeof c!="object"&&(c={});a.elementNames&&this.elementNameRules.addMany(a.elementNames,e,c);a.attributeNames&&this.attributeNameRules.addMany(a.attributeNames,e,c);a.elements&&f(this.elementsRules,a.elements,e,c);a.attributes&&f(this.attributesRules,a.attributes,e,c);a.text&&this.textRules.add(a.text,e,c);a.comment&&this.commentRules.add(a.comment,e,c);a.root&&this.rootRules.add(a.root,e,c)},applyTo:function(a){a.filter(this)},onElementName:function(a,c){return this.elementNameRules.execOnName(a, +c)},onAttributeName:function(a,c){return this.attributeNameRules.execOnName(a,c)},onText:function(a,c,e){return this.textRules.exec(a,c,e)},onComment:function(a,c,e){return this.commentRules.exec(a,c,e)},onRoot:function(a,c){return this.rootRules.exec(a,c)},onElement:function(a,c){for(var e=[this.elementsRules["^"],this.elementsRules[c.name],this.elementsRules.$],d,f=0;f<3;f++)if(d=e[f]){d=d.exec(a,c,this);if(d===false)return null;if(d&&d!=c)return this.onNode(a,d);if(c.parent&&!c.name)break}return c}, +onNode:function(a,c){var e=c.type;return e==CKEDITOR.NODE_ELEMENT?this.onElement(a,c):e==CKEDITOR.NODE_TEXT?new CKEDITOR.htmlParser.text(this.onText(a,c.value)):e==CKEDITOR.NODE_COMMENT?new CKEDITOR.htmlParser.comment(this.onComment(a,c.value)):null},onAttribute:function(a,c,e,d){return(e=this.attributesRules[e])?e.exec(a,d,c,this):d}}});CKEDITOR.htmlParser.filterRulesGroup=a;a.prototype={add:function(a,c,e){this.rules.splice(this.findIndex(c),0,{value:a,priority:c,options:e})},addMany:function(a, +c,e){for(var d=[this.findIndex(c),0],f=0,k=a.length;f=0&&a7||f.name in CKEDITOR.dtd.tr||f.name in CKEDITOR.dtd.$listItem))i=false;else{i=b(f);i=!i||f.name=="form"&&i.name=="input"}i&&f.add(p(a))}}}function v(a,b){if((!g||CKEDITOR.env.needsBrFiller)&&a.type==CKEDITOR.NODE_ELEMENT&&a.name=="br"&&!a.attributes["data-cke-eol"])return true;var c;if(a.type==CKEDITOR.NODE_TEXT&&(c=a.value.match(i))){if(c.index){(new CKEDITOR.htmlParser.text(a.value.substring(0, +c.index))).insertBefore(a);a.value=c[0]}if(!CKEDITOR.env.needsBrFiller&&g&&(!b||a.parent.name in z))return true;if(!g)if((c=a.previous)&&c.name=="br"||!c||d(c))return true}return false}var n={elements:{}},g=f=="html",z=CKEDITOR.tools.extend({},l),o;for(o in z)"#"in u[o]||delete z[o];for(o in z)n.elements[o]=r(g,a.config.fillEmptyBlocks);n.root=r(g,false);n.elements.br=function(a){return function(b){if(b.parent.type!=CKEDITOR.NODE_DOCUMENT_FRAGMENT){var f=b.attributes;if("data-cke-bogus"in f||"data-cke-eol"in +f)delete f["data-cke-bogus"];else{for(f=b.next;f&&e(f);)f=f.next;var i=c(b);!f&&d(b.parent)?h(b.parent,p(a)):d(f)&&(i&&!d(i))&&p(a).insertBefore(f)}}}}(g);return n}function f(a,b){return a!=CKEDITOR.ENTER_BR&&b!==false?a==CKEDITOR.ENTER_DIV?"div":"p":false}function b(a){for(a=a.children[a.children.length-1];a&&e(a);)a=a.previous;return a}function c(a){for(a=a.previous;a&&e(a);)a=a.previous;return a}function e(a){return a.type==CKEDITOR.NODE_TEXT&&!CKEDITOR.tools.trim(a.value)||a.type==CKEDITOR.NODE_ELEMENT&& +a.attributes["data-cke-bookmark"]}function d(a){return a&&(a.type==CKEDITOR.NODE_ELEMENT&&a.name in l||a.type==CKEDITOR.NODE_DOCUMENT_FRAGMENT)}function h(a,b){var c=a.children[a.children.length-1];a.children.push(b);b.parent=a;if(c){c.next=b;b.previous=c}}function k(a){a=a.attributes;a.contenteditable!="false"&&(a["data-cke-editable"]=a.contenteditable?"true":1);a.contenteditable="false"}function j(a){a=a.attributes;switch(a["data-cke-editable"]){case "true":a.contenteditable="true";break;case "1":delete a.contenteditable}} +function g(a){return a.replace(C,function(a,b,c){return"<"+b+c.replace(L,function(a,b){return F.test(b)&&c.indexOf("data-cke-saved-"+b)==-1?" data-cke-saved-"+a+" data-cke-"+CKEDITOR.rnd+"-"+a:a})+">"})}function m(a,b){return a.replace(b,function(a,b,c){a.indexOf("/g,">")+"");return""+encodeURIComponent(a)+""})}function y(a){return a.replace(v,function(a,b){return decodeURIComponent(b)})}function s(a){return a.replace(/<\!--(?!{cke_protected})[\s\S]+?--\>/g, +function(a){return"<\!--"+A+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"--\>"})}function w(a){return a.replace(/<\!--\{cke_protected\}\{C\}([\s\S]+?)--\>/g,function(a,b){return decodeURIComponent(b)})}function q(a,b){var c=b._.dataStore;return a.replace(/<\!--\{cke_protected\}([\s\S]+?)--\>/g,function(a,b){return decodeURIComponent(b)}).replace(/\{cke_protected_(\d+)\}/g,function(a,b){return c&&c[b]||""})}function t(a,b){for(var c=[],d=b.config.protectedSource,e=b._.dataStore||(b._.dataStore= +{id:1}),f=/<\!--\{cke_temp(comment)?\}(\d*?)--\>/g,d=[//gi,//gi,//gi].concat(d),a=a.replace(/<\!--[\s\S]*?--\>/g,function(a){return"<\!--{cke_tempcomment}"+(c.push(a)-1)+"--\>"}),i=0;i"});a=a.replace(f,function(a,b,d){return"<\!--"+A+(b?"{C}":"")+encodeURIComponent(c[d]).replace(/--/g, +"%2D%2D")+"--\>"});a=a.replace(/<\w+(?:\s+(?:(?:[^\s=>]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=>]+))+\s*>/g,function(a){return a.replace(/<\!--\{cke_protected\}([^>]*)--\>/g,function(a,b){e[e.id]=decodeURIComponent(b);return"{cke_protected_"+e.id++ +"}"})});return a=a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g,function(a,c,d,e){return"<"+c+d+">"+q(w(e),b)+""})}CKEDITOR.htmlDataProcessor=function(b){var c,d,e=this;this.editor=b;this.dataFilter=c=new CKEDITOR.htmlParser.filter; +this.htmlFilter=d=new CKEDITOR.htmlParser.filter;this.writer=new CKEDITOR.htmlParser.basicWriter;c.addRules(p);c.addRules(r,{applyToAll:true});c.addRules(a(b,"data"),{applyToAll:true});d.addRules(n);d.addRules(P,{applyToAll:true});d.addRules(a(b,"html"),{applyToAll:true});b.on("toHtml",function(a){var a=a.data,c=a.dataValue,d,c=t(c,b),c=m(c,I),c=g(c),c=m(c,K),c=c.replace(G,"$1cke:$2"),c=c.replace(B,""),c=c.replace(/(]*>)(\r\n|\n)/g,"$1$2$2"),c=c.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi, +"$1data-cke-"+CKEDITOR.rnd+"-$2");d=a.context||b.editable().getName();var e;if(CKEDITOR.env.ie&&CKEDITOR.env.version<9&&d=="pre"){d="div";c="
"+c+"
";e=1}d=b.document.createElement(d);d.setHtml("a"+c);c=d.getHtml().substr(1);c=c.replace(RegExp("data-cke-"+CKEDITOR.rnd+"-","ig"),"");e&&(c=c.replace(/^
|<\/pre>$/gi,""));c=c.replace(z,"$1$2");c=y(c);c=w(c);d=a.fixForBody===false?false:f(a.enterMode,b.config.autoParagraph);c=CKEDITOR.htmlParser.fragment.fromHtml(c,a.context,d);if(d){e=c;
+if(!e.children.length&&CKEDITOR.dtd[e.name][d]){d=new CKEDITOR.htmlParser.element(d);e.add(d)}}a.dataValue=c},null,null,5);b.on("toHtml",function(a){a.data.filter.applyTo(a.data.dataValue,true,a.data.dontFilter,a.data.enterMode)&&b.fire("dataFiltered")},null,null,6);b.on("toHtml",function(a){a.data.dataValue.filterChildren(e.dataFilter,true)},null,null,10);b.on("toHtml",function(a){var a=a.data,b=a.dataValue,c=new CKEDITOR.htmlParser.basicWriter;b.writeChildrenHtml(c);b=c.getHtml(true);a.dataValue=
+s(b)},null,null,15);b.on("toDataFormat",function(a){var c=a.data.dataValue;a.data.enterMode!=CKEDITOR.ENTER_BR&&(c=c.replace(/^
/i,""));a.data.dataValue=CKEDITOR.htmlParser.fragment.fromHtml(c,a.data.context,f(a.data.enterMode,b.config.autoParagraph))},null,null,5);b.on("toDataFormat",function(a){a.data.dataValue.filterChildren(e.htmlFilter,true)},null,null,10);b.on("toDataFormat",function(a){a.data.filter.applyTo(a.data.dataValue,false,true)},null,null,11);b.on("toDataFormat",function(a){var c= +a.data.dataValue,d=e.writer;d.reset();c.writeChildrenHtml(d);c=d.getHtml(true);c=w(c);c=q(c,b);a.data.dataValue=c},null,null,15)};CKEDITOR.htmlDataProcessor.prototype={toHtml:function(a,b,c,d){var e=this.editor,f,i,l;if(b&&typeof b=="object"){f=b.context;c=b.fixForBody;d=b.dontFilter;i=b.filter;l=b.enterMode}else f=b;!f&&f!==null&&(f=e.editable().getName());return e.fire("toHtml",{dataValue:a,context:f,fixForBody:c,dontFilter:d,filter:i||e.filter,enterMode:l||e.enterMode}).dataValue},toDataFormat:function(a, +b){var c,d,e;if(b){c=b.context;d=b.filter;e=b.enterMode}!c&&c!==null&&(c=this.editor.editable().getName());return this.editor.fire("toDataFormat",{dataValue:a,filter:d||this.editor.filter,context:c,enterMode:e||this.editor.enterMode}).dataValue}};var i=/(?: |\xa0)$/,A="{cke_protected}",u=CKEDITOR.dtd,o=["caption","colgroup","col","thead","tfoot","tbody"],l=CKEDITOR.tools.extend({},u.$blockLimit,u.$block),p={elements:{input:k,textarea:k}},r={attributeNames:[[/^on/,"data-cke-pa-on"],[/^data-cke-expando$/, +""]]},n={elements:{embed:function(a){var b=a.parent;if(b&&b.name=="object"){var c=b.attributes.width,b=b.attributes.height;if(c)a.attributes.width=c;if(b)a.attributes.height=b}},a:function(a){if(!a.children.length&&!a.attributes.name&&!a.attributes["data-cke-saved-name"])return false}}},P={elementNames:[[/^cke:/,""],[/^\?xml:namespace$/,""]],attributeNames:[[/^data-cke-(saved|pa)-/,""],[/^data-cke-.*/,""],["hidefocus",""]],elements:{$:function(a){var b=a.attributes;if(b){if(b["data-cke-temp"])return false; +for(var c=["name","href","src"],d,e=0;e-1&&d>-1&&c!=d)){c=a.parent?a.getIndex():-1;d=b.parent?b.getIndex():-1}return c>d?1:-1})},param:function(a){a.children=[];a.isEmpty=true;return a},span:function(a){a.attributes["class"]=="Apple-style-span"&& +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 b=a.children[0];if(b&&b.value)b.value=CKEDITOR.tools.trim(b.value);if(!a.attributes.type)a.attributes.type="text/css"},title:function(a){var b=a.children[0];!b&&h(a,b=new CKEDITOR.htmlParser.text);b.value=a.attributes["data-cke-title"]||""},input:j,textarea:j},attributes:{"class":function(a){return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g, +""))||false}}};if(CKEDITOR.env.ie)P.attributes.style=function(a){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})};var C=/<(a|area|img|input|source)\b([^>]*)>/gi,L=/([\w-]+)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,F=/^(href|src|name)$/i,K=/(?:])[^>]*>[\s\S]*?<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,I=/(])[^>]*>)([\s\S]*?)(?:<\/textarea>)/gi,v=/([^<]*)<\/cke:encoded>/gi,G=/(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi, +z=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,B=/]*?)\/?>(?!\s*<\/cke:\1)/gi})();"use strict"; +CKEDITOR.htmlParser.element=function(a,f){this.name=a;this.attributes=f||{};this.children=[];var b=a||"",c=b.match(/^cke:(.*)/);c&&(b=c[1]);b=!(!CKEDITOR.dtd.$nonBodyContent[b]&&!CKEDITOR.dtd.$block[b]&&!CKEDITOR.dtd.$listItem[b]&&!CKEDITOR.dtd.$tableContent[b]&&!(CKEDITOR.dtd.$nonEditable[b]||b=="br"));this.isEmpty=!!CKEDITOR.dtd.$empty[a];this.isUnknown=!CKEDITOR.dtd[a];this._={isBlockLike:b,hasInlineStarted:this.isEmpty||!b}}; +CKEDITOR.htmlParser.cssStyle=function(a){var f={};((a instanceof CKEDITOR.htmlParser.element?a.attributes.style:a)||"").replace(/"/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,c,e){c=="font-family"&&(e=e.replace(/["']/g,""));f[c.toLowerCase()]=e});return{rules:f,populate:function(a){var c=this.toString();if(c)a instanceof CKEDITOR.dom.element?a.setAttribute("style",c):a instanceof CKEDITOR.htmlParser.element?a.attributes.style=c:a.style=c},toString:function(){var a=[],c; +for(c in f)f[c]&&a.push(c,":",f[c],";");return a.join("")}}}; +(function(){function a(a){return function(b){return b.type==CKEDITOR.NODE_ELEMENT&&(typeof a=="string"?b.name==a:b.name in a)}}var f=function(a,b){a=a[0];b=b[0];return ab?1:0},b=CKEDITOR.htmlParser.fragment.prototype;CKEDITOR.htmlParser.element.prototype=CKEDITOR.tools.extend(new CKEDITOR.htmlParser.node,{type:CKEDITOR.NODE_ELEMENT,add:b.add,clone:function(){return new CKEDITOR.htmlParser.element(this.name,this.attributes)},filter:function(a,b){var d=this,f,k,b=d.getFilterContext(b);if(b.off)return true; +if(!d.parent)a.onRoot(b,d);for(;;){f=d.name;if(!(k=a.onElementName(b,f))){this.remove();return false}d.name=k;if(!(d=a.onElement(b,d))){this.remove();return false}if(d!==this){this.replaceWith(d);return false}if(d.name==f)break;if(d.type!=CKEDITOR.NODE_ELEMENT){this.replaceWith(d);return false}if(!d.name){this.replaceWithChildren();return false}}f=d.attributes;var j,g;for(j in f){g=j;for(k=f[j];;)if(g=a.onAttributeName(b,j))if(g!=j){delete f[j];j=g}else break;else{delete f[j];break}g&&((k=a.onAttribute(b, +d,g,k))===false?delete f[g]:f[g]=k)}d.isEmpty||this.filterChildren(a,false,b);return true},filterChildren:b.filterChildren,writeHtml:function(a,b){b&&this.filter(b);var d=this.name,h=[],k=this.attributes,j,g;a.openTag(d,k);for(j in k)h.push([j,k[j]]);a.sortAttributes&&h.sort(f);j=0;for(g=h.length;j0)this.children[a-1].next=null;this.parent.add(d,this.getIndex()+1);return d},addClass:function(a){if(!this.hasClass(a)){var b=this.attributes["class"]||"";this.attributes["class"]=b+(b?" ":"")+ a}},removeClass:function(a){var b=this.attributes["class"];if(b)(b=CKEDITOR.tools.trim(b.replace(RegExp("(?:\\s+|^)"+a+"(?:\\s+|$)")," ")))?this.attributes["class"]=b:delete this.attributes["class"]},hasClass:function(a){var b=this.attributes["class"];return!b?false:RegExp("(?:^|\\s)"+a+"(?=\\s|$)").test(b)},getFilterContext:function(a){var b=[];a||(a={off:false,nonEditable:false,nestedEditable:false});!a.off&&this.attributes["data-cke-processor"]=="off"&&b.push("off",true);!a.nonEditable&&this.attributes.contenteditable== -"false"?b.push("nonEditable",true):a.nonEditable&&(!a.nestedEditable&&this.attributes.contenteditable=="true")&&b.push("nestedEditable",true);if(b.length)for(var a=CKEDITOR.tools.copy(a),c=0;c'+f.getValue()+"",CKEDITOR.document); -a.insertAfter(f);f.hide();f.$.form&&b._attachToForm()}else b.setData(a.getHtml(),null,true);b.on("loaded",function(){b.fire("uiReady");b.editable(a);b.container=a;b.setData(b.getData(1));b.resetDirty();b.fire("contentDom");b.mode="wysiwyg";b.fire("mode");b.status="ready";b.fireOnce("instanceReady");CKEDITOR.fire("instanceReady",null,b)},null,null,1E4);b.on("destroy",function(){if(f){b.container.clearCustomData();b.container.remove();f.show()}b.element.clearCustomData();delete b.element});return b}; -CKEDITOR.inlineAll=function(){var a,c,b;for(b in CKEDITOR.dtd.$editable)for(var f=CKEDITOR.document.getElementsByTag(b),d=0,e=f.count();d{voiceLabel}<{outerEl} class="cke_inner cke_reset" role="presentation">{topHtml}<{outerEl} id="{contentId}" class="cke_contents cke_reset" role="presentation">{bottomHtml}')); -b=CKEDITOR.dom.element.createFromHtml(f.output({id:a.id,name:b,langDir:a.lang.dir,langCode:a.langCode,voiceLabel:[a.lang.editor,a.name].join(", "),topHtml:h?''+h+"":"",contentId:a.ui.spaceId("contents"),bottomHtml:i?''+i+"":"",outerEl:CKEDITOR.env.ie?"span":"div"}));if(n==CKEDITOR.ELEMENT_MODE_REPLACE){c.hide(); -b.insertAfter(c)}else c.append(b);a.container=b;h&&a.ui.space("top").unselectable();i&&a.ui.space("bottom").unselectable();c=a.config.width;n=a.config.height;c&&b.setStyle("width",CKEDITOR.tools.cssLength(c));n&&a.ui.space("contents").setStyle("height",CKEDITOR.tools.cssLength(n));b.disableContextMenu();CKEDITOR.env.webkit&&b.on("focus",function(){a.focus()});a.fireOnce("uiReady")}CKEDITOR.replace=function(b,c){return a(b,c,null,CKEDITOR.ELEMENT_MODE_REPLACE)};CKEDITOR.appendTo=function(b,c,f){return a(b, -c,f,CKEDITOR.ELEMENT_MODE_APPENDTO)};CKEDITOR.replaceAll=function(){for(var a=document.getElementsByTagName("textarea"),b=0;b",v="",a=f+a.replace(e,function(){return v+f})+v}a=a.replace(/\n/g,"
");b||(a=a.replace(RegExp("
(?=)"),function(a){return d.repeat(a,2)}));a=a.replace(/^ | $/g," ");a=a.replace(/(>|\s) /g,function(a,b){return b+" "}).replace(/ (?=<)/g," ");x(this,"text",a)},insertElement:function(a, -b){b?this.insertElementIntoRange(a,b):this.insertElementIntoSelection(a)},insertElementIntoRange:function(a,b){var c=this.editor,d=c.config.enterMode,e=a.getName(),f=CKEDITOR.dtd.$block[e];if(b.checkReadOnly())return false;b.deleteContents(1);b.startContainer.type==CKEDITOR.NODE_ELEMENT&&b.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})&&q(b);var g,h;if(f)for(;(g=b.getCommonAncestor(0,1))&&(h=CKEDITOR.dtd[g.getName()])&&(!h||!h[e]);)if(g.getName()in CKEDITOR.dtd.span)b.splitElement(g);else if(b.checkStartOfBlock()&& -b.checkEndOfBlock()){b.setStartBefore(g);b.collapse(true);g.remove()}else b.splitBlock(d==CKEDITOR.ENTER_DIV?"div":"p",c.editable());b.insertNode(a);return true},insertElementIntoSelection:function(a){g(this);var b=this.editor,c=b.activeEnterMode,b=b.getSelection(),d=b.getRanges()[0],e=a.getName(),e=CKEDITOR.dtd.$block[e];if(this.insertElementIntoRange(a,d)){d.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);if(e)if((e=a.getNext(function(a){return f(a)&&!i(a)}))&&e.type==CKEDITOR.NODE_ELEMENT&&e.is(CKEDITOR.dtd.$block))e.getDtd()["#"]? -d.moveToElementEditStart(e):d.moveToElementEditEnd(a);else if(!e&&c!=CKEDITOR.ENTER_BR){e=d.fixBlock(true,c==CKEDITOR.ENTER_DIV?"div":"p");d.moveToElementEditStart(e)}}b.selectRanges([d]);n(this)},setData:function(a,b){b||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);if(this.status=="unloaded")this.status="ready";this.editor.fire("dataReady")},getData:function(a){var b=this.getHtml();a||(b=this.editor.dataProcessor.toDataFormat(b));return b},setReadOnly:function(a){this.setAttribute("contenteditable", -!a)},detach:function(){this.removeClass("cke_editable");this.status="detached";var a=this.editor;this._.detach();delete a.document;delete a.window},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},setup:function(){var a=this.editor;this.attachListener(a,"beforeGetData",function(){var b=this.getData();this.is("textarea")||a.config.ignoreEmptyParagraph!==false&&(b=b.replace(m,function(a,b){return b}));a.setData(b,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 b=a.getSelection();(b=b&&b.getNative())&&b.type=="Control"||this.focus()},this);this.attachListener(a,"insertHtml",function(a){this.insertHtml(a.data.dataValue,a.data.mode)},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");this.attachClass(a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"cke_editable_inline":a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE||a.elementMode==CKEDITOR.ELEMENT_MODE_APPENDTO?"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= -false},null,null,-1);this.on("focus",function(){this.hasFocus=true},null,null,-1);a.focusManager.add(this);if(this.equals(CKEDITOR.document.getActive())){this.hasFocus=true;a.once("contentDom",function(){a.focusManager.focus()})}this.isInline()&&this.changeAttr("tabindex",a.tabIndex);if(!this.is("textarea")){a.document=this.getDocument();a.window=this.getWindow();var c=a.document;this.changeAttr("spellcheck",!a.config.disableNativeSpellChecker);var d=a.config.contentsLangDirection;this.getDirection(1)!= -d&&this.changeAttr("dir",d);var k=CKEDITOR.getCss();if(k){d=c.getHead();if(!d.getCustomData("stylesheet")){k=c.appendStyleText(k);k=new CKEDITOR.dom.element(k.ownerNode||k.owningElement);d.setCustomData("stylesheet",k);k.data("cke-temp",1)}}d=c.getCustomData("stylesheet_ref")||0;c.setCustomData("stylesheet_ref",d+1);this.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling);this.attachListener(this,"click",function(a){var a=a.data,b=(new CKEDITOR.dom.elementPath(a.getTarget(),this)).contains("a"); -b&&(a.$.button!=2&&b.isReadOnly())&&a.preventDefault()});var l={8:1,46:1};this.attachListener(a,"key",function(b){if(a.readOnly)return true;var c=b.data.domEvent.getKey(),d;if(c in l){var b=a.getSelection(),f,k=b.getRanges()[0],g=k.startPath(),h,i,m,c=c==8;if(CKEDITOR.env.ie&&CKEDITOR.env.version<11&&(f=b.getSelectedElement())||(f=e(b))){a.fire("saveSnapshot");k.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);f.remove();k.select();a.fire("saveSnapshot");d=1}else if(k.collapsed)if((h=g.block)&&(m= -h[c?"getPrevious":"getNext"](p))&&m.type==CKEDITOR.NODE_ELEMENT&&m.is("table")&&k[c?"checkStartOfBlock":"checkEndOfBlock"]()){a.fire("saveSnapshot");k[c?"checkEndOfBlock":"checkStartOfBlock"]()&&h.remove();k["moveToElementEdit"+(c?"End":"Start")](m);k.select();a.fire("saveSnapshot");d=1}else if(g.blockLimit&&g.blockLimit.is("td")&&(i=g.blockLimit.getAscendant("table"))&&k.checkBoundaryOfElement(i,c?CKEDITOR.START:CKEDITOR.END)&&(m=i[c?"getPrevious":"getNext"](p))){a.fire("saveSnapshot");k["moveToElementEdit"+ -(c?"End":"Start")](m);k.checkStartOfBlock()&&k.checkEndOfBlock()?m.remove():k.select();a.fire("saveSnapshot");d=1}else if((i=g.contains(["td","th","caption"]))&&k.checkBoundaryOfElement(i,c?CKEDITOR.START:CKEDITOR.END))d=1}return!d});a.blockless&&(CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller)&&this.attachListener(this,"keyup",function(b){if(b.data.getKeystroke()in l&&!this.getFirst(f)){this.appendBogus();b=a.createRange();b.moveToPosition(this,CKEDITOR.POSITION_AFTER_START);b.select()}});this.attachListener(this, -"dblclick",function(b){if(a.readOnly)return false;b={element:b.data.getTarget()};a.fire("doubleclick",b)});CKEDITOR.env.ie&&this.attachListener(this,"click",b);CKEDITOR.env.ie||this.attachListener(this,"mousedown",function(b){var c=b.data.getTarget();if(c.is("img","hr","input","textarea","select")&&!c.isReadOnly()){a.getSelection().selectElement(c);c.is("input","textarea","select")&&b.data.preventDefault()}});CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(b){if(b.data.$.button==2){b= -b.data.getTarget();if(!b.getOuterHtml().replace(m,"")){var c=a.createRange();c.moveToElementEditStart(b);c.select(true)}}});if(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(b){b=b.data.domEvent.getKey();if(b in l){var c=b==8,d=a.getSelection().getRanges()[0], -b=d.startPath();if(d.collapsed){var e;a:{var f=b.block;if(f)if(d[c?"checkStartOfBlock":"checkEndOfBlock"]())if(!d.moveToClosestEditablePosition(f,!c)||!d.collapsed)e=false;else{if(d.startContainer.type==CKEDITOR.NODE_ELEMENT){var k=d.startContainer.getChild(d.startOffset-(c?1:0));if(k&&k.type==CKEDITOR.NODE_ELEMENT&&k.is("hr")){a.fire("saveSnapshot");k.remove();e=true;break a}}if((d=d.startPath().block)&&(!d||!d.contains(f))){a.fire("saveSnapshot");var g;(g=(c?d:f).getBogus())&&g.remove();e=a.getSelection(); -g=e.createBookmarks();(c?f:d).moveChildren(c?d:f,false);b.lastElement.mergeSiblings();h(f,d,!c);e.selectBookmarks(g);e=true}}else e=false;else e=false}if(!e)return}else{c=d;e=b.block;g=c.endPath().block;if(!e||!g||e.equals(g))b=false;else{a.fire("saveSnapshot");(f=e.getBogus())&&f.remove();c.deleteContents();if(g.getParent()){g.moveChildren(e,false);b.lastElement.mergeSiblings();h(e,g,true)}c=a.getSelection().getRanges()[0];c.collapse(1);c.select();b=true}if(!b)return}a.getSelection().scrollIntoView(); +(function(){CKEDITOR.inline=function(a,f){if(!CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEditor())throw'The editor instance "'+a.getEditor().name+'" is already attached to the provided element.';var b=new CKEDITOR.editor(f,a,CKEDITOR.ELEMENT_MODE_INLINE),c=a.is("textarea")?a:null;if(c){b.setData(c.getValue(),null,true);a=CKEDITOR.dom.element.createFromHtml('
'+c.getValue()+"
",CKEDITOR.document); +a.insertAfter(c);c.hide();c.$.form&&b._attachToForm()}else b.setData(a.getHtml(),null,true);b.on("loaded",function(){b.fire("uiReady");b.editable(a);b.container=a;b.setData(b.getData(1));b.resetDirty();b.fire("contentDom");b.mode="wysiwyg";b.fire("mode");b.status="ready";b.fireOnce("instanceReady");CKEDITOR.fire("instanceReady",null,b)},null,null,1E4);b.on("destroy",function(){if(c){b.container.clearCustomData();b.container.remove();c.show()}b.element.clearCustomData();delete b.element});return b}; +CKEDITOR.inlineAll=function(){var a,f,b;for(b in CKEDITOR.dtd.$editable)for(var c=CKEDITOR.document.getElementsByTag(b),e=0,d=c.count();e"+(a.title?'{voiceLabel}':"")+'<{outerEl} class="cke_inner cke_reset" role="presentation">{topHtml}<{outerEl} id="{contentId}" class="cke_contents cke_reset" role="presentation">{bottomHtml}'), +b=CKEDITOR.dom.element.createFromHtml(g.output({id:a.id,name:b,langDir:a.lang.dir,langCode:a.langCode,voiceLabel:a.title,topHtml:k?''+k+"":"",contentId:a.ui.spaceId("contents"),bottomHtml:j?''+j+"":"",outerEl:CKEDITOR.env.ie?"span":"div"}));if(f==CKEDITOR.ELEMENT_MODE_REPLACE){d.hide();b.insertAfter(d)}else d.append(b); +a.container=b;k&&a.ui.space("top").unselectable();j&&a.ui.space("bottom").unselectable();d=a.config.width;f=a.config.height;d&&b.setStyle("width",CKEDITOR.tools.cssLength(d));f&&a.ui.space("contents").setStyle("height",CKEDITOR.tools.cssLength(f));b.disableContextMenu();CKEDITOR.env.webkit&&b.on("focus",function(){a.focus()});a.fireOnce("uiReady")}CKEDITOR.replace=function(b,e){return a(b,e,null,CKEDITOR.ELEMENT_MODE_REPLACE)};CKEDITOR.appendTo=function(b,e,d){return a(b,e,d,CKEDITOR.ELEMENT_MODE_APPENDTO)}; +CKEDITOR.replaceAll=function(){for(var a=document.getElementsByTagName("textarea"),b=0;b",r="",a=f+a.replace(e,function(){return r+f})+r}a=a.replace(/\n/g,"
");b||(a=a.replace(RegExp("
(?=)"),function(a){return d.repeat(a,2)}));a=a.replace(/^ | $/g," ");a=a.replace(/(>|\s) /g,function(a,b){return b+" "}).replace(/ (?=<)/g, +" ");q(this,"text",a)},insertElement:function(a,b){b?this.insertElementIntoRange(a,b):this.insertElementIntoSelection(a)},insertElementIntoRange:function(a,b){var c=this.editor,d=c.config.enterMode,e=a.getName(),f=CKEDITOR.dtd.$block[e];if(b.checkReadOnly())return false;b.deleteContents(1);b.startContainer.type==CKEDITOR.NODE_ELEMENT&&b.startContainer.is({tr:1,table:1,tbody:1,thead:1,tfoot:1})&&t(b);var r,n;if(f)for(;(r=b.getCommonAncestor(0,1))&&(n=CKEDITOR.dtd[r.getName()])&&(!n||!n[e]);)if(r.getName()in +CKEDITOR.dtd.span)b.splitElement(r);else if(b.checkStartOfBlock()&&b.checkEndOfBlock()){b.setStartBefore(r);b.collapse(true);r.remove()}else b.splitBlock(d==CKEDITOR.ENTER_DIV?"div":"p",c.editable());b.insertNode(a);return true},insertElementIntoSelection:function(a){k(this);var b=this.editor,d=b.activeEnterMode,b=b.getSelection(),e=b.getRanges()[0],f=a.getName(),f=CKEDITOR.dtd.$block[f];if(this.insertElementIntoRange(a,e)){e.moveToPosition(a,CKEDITOR.POSITION_AFTER_END);if(f)if((f=a.getNext(function(a){return c(a)&& +!m(a)}))&&f.type==CKEDITOR.NODE_ELEMENT&&f.is(CKEDITOR.dtd.$block))f.getDtd()["#"]?e.moveToElementEditStart(f):e.moveToElementEditEnd(a);else if(!f&&d!=CKEDITOR.ENTER_BR){f=e.fixBlock(true,d==CKEDITOR.ENTER_DIV?"div":"p");e.moveToElementEditStart(f)}}b.selectRanges([e]);j(this)},setData:function(a,b){b||(a=this.editor.dataProcessor.toHtml(a));this.setHtml(a);this.fixInitialSelection();if(this.status=="unloaded")this.status="ready";this.editor.fire("dataReady")},getData:function(a){var b=this.getHtml(); +a||(b=this.editor.dataProcessor.toDataFormat(b));return b},setReadOnly:function(a){this.setAttribute("contenteditable",!a)},detach:function(){this.removeClass("cke_editable");this.status="detached";var a=this.editor;this._.detach();delete a.document;delete a.window},isInline:function(){return this.getDocument().equals(CKEDITOR.document)},fixInitialSelection:function(){function a(){var b=c.getDocument().$,d=b.getSelection(),e;if(d.anchorNode&&d.anchorNode==c.$)e=true;else if(CKEDITOR.env.webkit){var f= +c.getDocument().getActive();f&&(f.equals(c)&&!d.anchorNode)&&(e=true)}if(e){e=new CKEDITOR.dom.range(c);e.moveToElementEditStart(c);b=b.createRange();b.setStart(e.startContainer.$,e.startOffset);b.collapse(true);d.removeAllRanges();d.addRange(b)}}function b(){var a=c.getDocument().$,d=a.selection,e=c.getDocument().getActive();if(d.type=="None"&&e.equals(c)){d=new CKEDITOR.dom.range(c);a=a.body.createTextRange();d.moveToElementEditStart(c);d=d.startContainer;d.type!=CKEDITOR.NODE_ELEMENT&&(d=d.getParent()); +a.moveToElementText(d.$);a.collapse(true);a.select()}}var c=this;if(CKEDITOR.env.ie&&(CKEDITOR.env.version<9||CKEDITOR.env.quirks)){if(this.hasFocus){this.focus();b()}}else if(this.hasFocus){this.focus();a()}else this.once("focus",function(){a()},null,null,-999)},setup:function(){var a=this.editor;this.attachListener(a,"beforeGetData",function(){var b=this.getData();this.is("textarea")||a.config.ignoreEmptyParagraph!==false&&(b=b.replace(y,function(a,b){return b}));a.setData(b,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 b=a.getSelection();(b=b&&b.getNative())&&b.type=="Control"||this.focus()},this);this.attachListener(a,"insertHtml",function(a){this.insertHtml(a.data.dataValue,a.data.mode)},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");this.attachClass(a.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"cke_editable_inline":a.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE||a.elementMode==CKEDITOR.ELEMENT_MODE_APPENDTO?"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=false},null,null,-1);this.on("focus",function(){this.hasFocus=true},null,null,-1);a.focusManager.add(this);if(this.equals(CKEDITOR.document.getActive())){this.hasFocus=true;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 e=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){f=e.getHead();if(!f.getCustomData("stylesheet")){h=e.appendStyleText(h);h=new CKEDITOR.dom.element(h.ownerNode||h.owningElement);f.setCustomData("stylesheet",h);h.data("cke-temp",1)}}f=e.getCustomData("stylesheet_ref")||0;e.setCustomData("stylesheet_ref",f+1);this.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling);this.attachListener(this,"click",function(a){var a=a.data,b=(new CKEDITOR.dom.elementPath(a.getTarget(), +this)).contains("a");b&&(a.$.button!=2&&b.isReadOnly())&&a.preventDefault()});var l={8:1,46:1};this.attachListener(a,"key",function(b){if(a.readOnly)return true;var c=b.data.domEvent.getKey(),e;if(c in l){var b=a.getSelection(),f,h=b.getRanges()[0],g=h.startPath(),o,m,j,c=c==8;if(CKEDITOR.env.ie&&CKEDITOR.env.version<11&&(f=b.getSelectedElement())||(f=d(b))){a.fire("saveSnapshot");h.moveToPosition(f,CKEDITOR.POSITION_BEFORE_START);f.remove();h.select();a.fire("saveSnapshot");e=1}else if(h.collapsed)if((o= +g.block)&&(j=o[c?"getPrevious":"getNext"](s))&&j.type==CKEDITOR.NODE_ELEMENT&&j.is("table")&&h[c?"checkStartOfBlock":"checkEndOfBlock"]()){a.fire("saveSnapshot");h[c?"checkEndOfBlock":"checkStartOfBlock"]()&&o.remove();h["moveToElementEdit"+(c?"End":"Start")](j);h.select();a.fire("saveSnapshot");e=1}else if(g.blockLimit&&g.blockLimit.is("td")&&(m=g.blockLimit.getAscendant("table"))&&h.checkBoundaryOfElement(m,c?CKEDITOR.START:CKEDITOR.END)&&(j=m[c?"getPrevious":"getNext"](s))){a.fire("saveSnapshot"); +h["moveToElementEdit"+(c?"End":"Start")](j);h.checkStartOfBlock()&&h.checkEndOfBlock()?j.remove():h.select();a.fire("saveSnapshot");e=1}else if((m=g.contains(["td","th","caption"]))&&h.checkBoundaryOfElement(m,c?CKEDITOR.START:CKEDITOR.END))e=1}return!e});a.blockless&&(CKEDITOR.env.ie&&CKEDITOR.env.needsBrFiller)&&this.attachListener(this,"keyup",function(b){if(b.data.getKeystroke()in l&&!this.getFirst(c)){this.appendBogus();b=a.createRange();b.moveToPosition(this,CKEDITOR.POSITION_AFTER_START);b.select()}}); +this.attachListener(this,"dblclick",function(b){if(a.readOnly)return false;b={element:b.data.getTarget()};a.fire("doubleclick",b)});CKEDITOR.env.ie&&this.attachListener(this,"click",b);CKEDITOR.env.ie||this.attachListener(this,"mousedown",function(b){var c=b.data.getTarget();if(c.is("img","hr","input","textarea","select")&&!c.isReadOnly()){a.getSelection().selectElement(c);c.is("input","textarea","select")&&b.data.preventDefault()}});CKEDITOR.env.gecko&&this.attachListener(this,"mouseup",function(b){if(b.data.$.button== +2){b=b.data.getTarget();if(!b.getOuterHtml().replace(y,"")){var c=a.createRange();c.moveToElementEditStart(b);c.select(true)}}});if(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(b){b=b.data.domEvent.getKey();if(b in l){var c=b==8,d=a.getSelection().getRanges()[0], +b=d.startPath();if(d.collapsed){var e;a:{var f=b.block;if(f)if(d[c?"checkStartOfBlock":"checkEndOfBlock"]())if(!d.moveToClosestEditablePosition(f,!c)||!d.collapsed)e=false;else{if(d.startContainer.type==CKEDITOR.NODE_ELEMENT){var h=d.startContainer.getChild(d.startOffset-(c?1:0));if(h&&h.type==CKEDITOR.NODE_ELEMENT&&h.is("hr")){a.fire("saveSnapshot");h.remove();e=true;break a}}if((d=d.startPath().block)&&(!d||!d.contains(f))){a.fire("saveSnapshot");var j;(j=(c?d:f).getBogus())&&j.remove();e=a.getSelection(); +j=e.createBookmarks();(c?f:d).moveChildren(c?d:f,false);b.lastElement.mergeSiblings();g(f,d,!c);e.selectBookmarks(j);e=true}}else e=false;else e=false}if(!e)return}else{c=d;e=b.block;j=c.endPath().block;if(!e||!j||e.equals(j))b=false;else{a.fire("saveSnapshot");(f=e.getBogus())&&f.remove();c.deleteContents();if(j.getParent()){j.moveChildren(e,false);b.lastElement.mergeSiblings();g(e,j,true)}c=a.getSelection().getRanges()[0];c.collapse(1);c.select();b=true}if(!b)return}a.getSelection().scrollIntoView(); a.fire("saveSnapshot");return false}},this,null,100)}}},_:{detach:function(){this.editor.setData(this.editor.getData(),0,1);this.clearListeners();this.restoreAttrs();var a;if(a=this.removeCustomData("classes"))for(;a.length;)this.removeClass(a.pop());if(!this.is("textarea")){a=this.getDocument();var b=a.getHead();if(b.getCustomData("stylesheet")){var c=a.getCustomData("stylesheet_ref");if(--c)a.setCustomData("stylesheet_ref",c);else{a.removeCustomData("stylesheet_ref");b.removeCustomData("stylesheet").remove()}}}this.editor.fire("contentDomUnload"); -delete this.editor}}});CKEDITOR.editor.prototype.editable=function(a){var b=this._.editable;if(b&&a)return 0;if(arguments.length)b=this._.editable=a?a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(b&&b.detach(),null);return b};var i=CKEDITOR.dom.walker.bogus(),m=/(^|]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi,p=CKEDITOR.dom.walker.whitespaces(true),s=CKEDITOR.dom.walker.bookmark(false,true);CKEDITOR.on("instanceLoaded", +delete this.editor}}});CKEDITOR.editor.prototype.editable=function(a){var b=this._.editable;if(b&&a)return 0;if(arguments.length)b=this._.editable=a?a instanceof CKEDITOR.editable?a:new CKEDITOR.editable(this,a):(b&&b.detach(),null);return b};var m=CKEDITOR.dom.walker.bogus(),y=/(^|]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:]*>| |\u00A0| )?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi,s=CKEDITOR.dom.walker.whitespaces(true),w=CKEDITOR.dom.walker.bookmark(false,true);CKEDITOR.on("instanceLoaded", function(b){var c=b.editor;c.on("insertElement",function(a){a=a.data;if(a.type==CKEDITOR.NODE_ELEMENT&&(a.is("input")||a.is("textarea"))){a.getAttribute("contentEditable")!="false"&&a.data("cke-editable",a.hasAttribute("contenteditable")?"true":"1");a.setAttribute("contentEditable",false)}});c.on("selectionChange",function(b){if(!c.readOnly){var d=c.getSelection();if(d&&!d.isLocked){d=c.checkDirty();c.fire("lockSnapshot");a(b);c.fire("unlockSnapshot");!d&&c.resetDirty()}}})});CKEDITOR.on("instanceCreated", function(a){var b=a.editor;b.on("mode",function(){var a=b.editable();if(a&&a.isInline()){var c=b.title;a.changeAttr("role","textbox");a.changeAttr("aria-label",c);c&&a.changeAttr("title",c);var d=b.fire("ariaEditorHelpLabel",{}).label;if(d)if(c=this.ui.space(this.elementMode==CKEDITOR.ELEMENT_MODE_INLINE?"top":"contents")){var e=CKEDITOR.tools.getNextId(),d=CKEDITOR.dom.element.createFromHtml(''+d+"");c.append(d);a.changeAttr("aria-describedby",e)}}})}); -CKEDITOR.addCss(".cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}");var x=function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT}function b(c,d){var e,f,j,k,l=[],r=d.range.startContainer;e=d.range.startPath();for(var r=g[r.getName()],h=0,i=c.getChildren(),m=i.count(),n=-1,q=-1,p=0,s=e.contains(g.$list);h-1)l[n].firstNotAllowed=1;if(q>-1)l[q].lastNotAllowed=1;return l}function c(b,d){var e=[],f=b.getChildren(),j=f.count(),k,l=0,r=g[d],h=!b.is(g.$inline)||b.is("br");for(h&&e.push(" ");l ",p.document);p.insertNode(t);p.setStartAfter(t)}E=new CKEDITOR.dom.elementPath(p.startContainer); -m.endPath=y=new CKEDITOR.dom.elementPath(p.endContainer);if(!p.collapsed){var z=y.block||y.blockLimit,I=p.getCommonAncestor();z&&(!z.equals(I)&&!z.contains(I)&&p.checkEndOfBlock())&&m.zombies.push(z);p.deleteContents()}for(;(C=a(p.startContainer)&&p.startContainer.getChild(p.startOffset-1))&&a(C)&&C.isBlockBoundary()&&E.contains(C);)p.moveToPosition(C,CKEDITOR.POSITION_BEFORE_END);e(p,m.blockLimit,E,y);if(t){p.setEndBefore(t);p.collapse();t.remove()}t=p.startPath();if(z=t.contains(d,false,1)){p.splitElement(z); -m.inlineStylesRoot=z;m.inlineStylesPeak=t.lastElement}t=p.createBookmark();(z=t.startNode.getPrevious(f))&&a(z)&&d(z)&&w.push(z);(z=t.startNode.getNext(f))&&a(z)&&d(z)&&w.push(z);for(z=t.startNode;(z=z.getParent())&&d(z);)w.push(z);p.moveToBookmark(t);if(t=q){t=m.range;if(m.type=="text"&&m.inlineStylesRoot){C=m.inlineStylesPeak;p=C.getDocument().createText("{cke-peak}");for(w=m.inlineStylesRoot.getParent();!C.equals(w);){p=p.appendTo(C.clone());C=C.getParent()}q=p.getOuterHtml().split("{cke-peak}").join(q)}C= -m.blockLimit.getName();if(/^\s+|\s+$/.test(q)&&"span"in CKEDITOR.dtd[C])var x=' ',q=x+q+x;q=m.editor.dataProcessor.toHtml(q,{context:null,fixForBody:false,dontFilter:m.dontFilter,filter:m.editor.activeFilter,enterMode:m.editor.activeEnterMode});C=t.document.createElement("body");C.setHtml(q);if(x){C.getFirst().remove();C.getLast().remove()}if((x=t.startPath().block)&&!(x.getChildCount()==1&&x.getBogus()))a:{var G;if(C.getChildCount()==1&&a(G=C.getFirst())&&G.is(r)){x= -G.getElementsByTag("*");t=0;for(w=x.count();t0;else{B=G.startPath();if(!y.isBlock&&m.editor.config.autoParagraph!==false&&(m.editor.activeEnterMode!=CKEDITOR.ENTER_BR&&m.editor.editable().equals(B.blockLimit)&&!B.block)&&(Q=m.editor.activeEnterMode!= -CKEDITOR.ENTER_BR&&m.editor.config.autoParagraph!==false?m.editor.activeEnterMode==CKEDITOR.ENTER_DIV?"div":"p":false)){Q=x.createElement(Q);Q.appendBogus();G.insertNode(Q);CKEDITOR.env.needsBrFiller&&(K=Q.getBogus())&&K.remove();G.moveToPosition(Q,CKEDITOR.POSITION_BEFORE_END)}if((B=G.startPath().block)&&!B.equals(H)){if(K=B.getBogus()){K.remove();C.push(B)}H=B}y.firstNotAllowed&&(p=1);if(p&&y.isElement){B=G.startContainer;for(M=null;B&&!g[B.getName()][y.name];){if(B.equals(q)){B=null;break}M=B; -B=B.getParent()}if(B){if(M){T=G.splitElement(M);m.zombies.push(T);m.zombies.push(M)}}else{M=q.getName();U=!t;B=t==E.length-1;M=c(y.node,M);for(var N=[],W=M.length,X=0,Z=void 0,$=0,aa=-1;X0;){d=a.getItem(b);if(!CKEDITOR.tools.trim(d.getHtml())){d.appendBogus();CKEDITOR.env.ie&&(CKEDITOR.env.version<9&&d.getChildCount())&&d.getFirst().remove()}}}return function(d){var e=d.startContainer,f=e.getAscendant("table",1),g=false;c(f.getElementsByTag("td"));c(f.getElementsByTag("th"));f=d.clone();f.setStart(e,0);f=a(f).lastBackward();if(!f){f=d.clone();f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);f=a(f).lastForward();g=true}f|| -(f=e);if(f.is("table")){d.setStartAt(f,CKEDITOR.POSITION_BEFORE_START);d.collapse(true);f.remove()}else{f.is({tbody:1,thead:1,tfoot:1})&&(f=b(f,"tr",g));f.is("tr")&&(f=b(f,f.getParent().is("thead")?"th":"td",g));(e=f.getBogus())&&e.remove();d.moveToPosition(f,g?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END)}}}()})(); -(function(){function a(){var a=this._.fakeSelection,b;if(a){b=this.getSelection(1);if(!b||!b.isHidden()){a.reset();a=0}}if(!a){a=b||this.getSelection(1);if(!a||a.getType()==CKEDITOR.SELECTION_NONE)return}this.fire("selectionCheck",a);b=this.elementPath();if(!b.compare(this._.selectionPreviousPath)){if(CKEDITOR.env.webkit)this._.previousActive=this.document.getActive();this._.selectionPreviousPath=b;this.fire("selectionChange",{selection:a,path:b})}}function c(){s=true;if(!p){b.call(this);p=CKEDITOR.tools.setTimeout(b, -200,this)}}function b(){p=null;if(s){CKEDITOR.tools.setTimeout(a,0,this);s=false}}function f(a){function b(c,d){return!c||c.type==CKEDITOR.NODE_TEXT?false:a.clone()["moveToElementEdit"+(d?"End":"Start")](c)}if(!(a.root instanceof CKEDITOR.editable))return false;var c=a.startContainer,d=a.getPreviousNode(x,null,c),e=a.getNextNode(x,null,c);return b(d)||b(e,1)||!d&&!e&&!(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary()&&c.getBogus())?true:false}function d(a){return a.getCustomData("cke-fillingChar")} -function e(a,b){var c=a&&a.removeCustomData("cke-fillingChar");if(c){if(b!==false){var d,e=a.getDocument().getSelection().getNative(),f=e&&e.type!="None"&&e.getRangeAt(0);if(c.getLength()>1&&f&&f.intersectsNode(c.$)){d=[e.anchorOffset,e.focusOffset];f=e.focusNode==c.$&&e.focusOffset>0;e.anchorNode==c.$&&e.anchorOffset>0&&d[0]--;f&&d[1]--;var h;f=e;if(!f.isCollapsed){h=f.getRangeAt(0);h.setStart(f.anchorNode,f.anchorOffset);h.setEnd(f.focusNode,f.focusOffset);h=h.collapsed}h&&d.unshift(d.pop())}}c.setText(g(c.getText())); -if(d){c=e.getRangeAt(0);c.setStart(c.startContainer,d[0]);c.setEnd(c.startContainer,d[1]);e.removeAllRanges();e.addRange(c)}}}function g(a){return a.replace(/\u200B( )?/g,function(a){return a[1]?" ":""})}function n(a,b,c){var d=a.on("focus",function(a){a.cancel()},null,null,-100);if(CKEDITOR.env.ie)var e=a.getDocument().on("selectionchange",function(a){a.cancel()},null,null,-100);else{var f=new CKEDITOR.dom.range(a);f.moveToElementEditStart(a);var g=a.getDocument().$.createRange();g.setStart(f.startContainer.$, -f.startOffset);g.collapse(1);b.removeAllRanges();b.addRange(g)}c&&a.focus();d.removeListener();e&&e.removeListener()}function h(a){var b=CKEDITOR.dom.element.createFromHtml('
 
',a.document);a.fire("lockSnapshot");a.editable().append(b);var c=a.getSelection(1),d=a.createRange(),e=c.root.on("selectionchange",function(a){a.cancel()},null,null,0);d.setStartAt(b,CKEDITOR.POSITION_AFTER_START); -d.setEndAt(b,CKEDITOR.POSITION_BEFORE_END);c.selectRanges([d]);e.removeListener();a.fire("unlockSnapshot");a._.hiddenSelectionContainer=b}function i(a){var b={37:1,39:1,8:1,46:1};return function(c){var d=c.data.getKeystroke();if(b[d]){var e=a.getSelection().getRanges(),f=e[0];if(e.length==1&&f.collapsed)if((d=f[d<38?"getPreviousEditableNode":"getNextEditableNode"]())&&d.type==CKEDITOR.NODE_ELEMENT&&d.getAttribute("contenteditable")=="false"){a.getSelection().fake(d);c.data.preventDefault();c.cancel()}}}} -function m(a){for(var b=0;b=d.getLength()?h.setStartAfter(d):h.setStartBefore(d)); -e&&e.type==CKEDITOR.NODE_TEXT&&(g?h.setEndAfter(e):h.setEndBefore(e));d=new CKEDITOR.dom.walker(h);d.evaluator=function(d){if(d.type==CKEDITOR.NODE_ELEMENT&&d.isReadOnly()){var e=c.clone();c.setEndBefore(d);c.collapsed&&a.splice(b--,1);if(!(d.getPosition(h.endContainer)&CKEDITOR.POSITION_CONTAINS)){e.setStartAfter(d);e.collapsed||a.splice(b+1,0,e)}return true}return false};d.next()}}return a}var p,s,x=CKEDITOR.dom.walker.invisible(1),q=function(){function a(b){return function(a){var c=a.editor.createRange(); -c.moveToClosestEditablePosition(a.selected,b)&&a.editor.getSelection().selectRanges([c]);return false}}function b(a){return function(b){var c=b.editor,d=c.createRange(),e;if(!(e=d.moveToClosestEditablePosition(b.selected,a)))e=d.moveToClosestEditablePosition(b.selected,!a);e&&c.getSelection().selectRanges([d]);c.fire("saveSnapshot");b.selected.remove();if(!e){d.moveToElementEditablePosition(c.editable());c.getSelection().selectRanges([d])}c.fire("saveSnapshot");return false}}var c=a(),d=a(1);return{37:c, -38:c,39:d,40:d,8:b(),46:b(1)}}();CKEDITOR.on("instanceCreated",function(b){function d(){var a=f.getSelection();a&&a.removeAllRanges()}var f=b.editor;f.on("contentDom",function(){var b=f.document,d=CKEDITOR.document,g=f.editable(),k=b.getBody(),l=b.getDocumentElement(),h=g.isInline(),m,n;CKEDITOR.env.gecko&&g.attachListener(g,"focus",function(a){a.removeListener();if(m!==0)if((a=f.getSelection().getNative())&&a.isCollapsed&&a.anchorNode==g.$){a=f.createRange();a.moveToElementEditStart(g);a.select()}}, -null,null,-2);g.attachListener(g,CKEDITOR.env.webkit?"DOMFocusIn":"focus",function(){m&&CKEDITOR.env.webkit&&(m=f._.previousActive&&f._.previousActive.equals(b.getActive()));f.unlockSelection(m);m=0},null,null,-1);g.attachListener(g,"mousedown",function(){m=0});if(CKEDITOR.env.ie||h){var q=function(){n=new CKEDITOR.dom.selection(f.getSelection());n.lock()};o?g.attachListener(g,"beforedeactivate",q,null,null,-1):g.attachListener(f,"selectionCheck",q,null,null,-1);g.attachListener(g,CKEDITOR.env.webkit? -"DOMFocusOut":"blur",function(){f.lockSelection(n);m=1},null,null,-1);g.attachListener(g,"mousedown",function(){m=0})}if(CKEDITOR.env.ie&&!h){var w;g.attachListener(g,"mousedown",function(a){if(a.data.$.button==2){a=f.document.getSelection();if(!a||a.getType()==CKEDITOR.SELECTION_NONE)w=f.window.getScrollPosition()}});g.attachListener(g,"mouseup",function(a){if(a.data.$.button==2&&w){f.document.$.documentElement.scrollLeft=w.x;f.document.$.documentElement.scrollTop=w.y}w=null});if(b.$.compatMode!= -"BackCompat"){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)l.on("mousedown",function(a){function b(a){a=a.data.$;if(e){var c=k.$.createTextRange();try{c.moveToPoint(a.x,a.y)}catch(d){}e.setEndPoint(g.compareEndPoints("StartToStart",c)<0?"EndToEnd":"StartToStart",c);e.select()}}function c(){l.removeListener("mousemove",b);d.removeListener("mouseup",c);l.removeListener("mouseup",c);e.select()}a=a.data;if(a.getTarget().is("html")&&a.$.y7&&CKEDITOR.env.version<11){l.on("mousedown",function(a){if(a.data.getTarget().is("html")){d.on("mouseup",z);l.on("mouseup",z)}});var z=function(){d.removeListener("mouseup",z);l.removeListener("mouseup",z);var a=CKEDITOR.document.$.selection,c=a.createRange();a.type!="None"&&c.parentElement().ownerDocument==b.$&&c.select()}}}}g.attachListener(g,"selectionchange", -a,f);g.attachListener(g,"keyup",c,f);g.attachListener(g,CKEDITOR.env.webkit?"DOMFocusIn":"focus",function(){f.forceNextSelectionCheck();f.selectionChange(1)});if(h&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var t;g.attachListener(g,"mousedown",function(){t=1});g.attachListener(b.getDocumentElement(),"mouseup",function(){t&&c.call(f);t=0})}else g.attachListener(CKEDITOR.env.ie?g:b.getDocumentElement(),"mouseup",c,f);CKEDITOR.env.webkit&&g.attachListener(b,"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:e(g)}}, -null,null,-1);g.attachListener(g,"keydown",i(f),null,null,-1)});f.on("setData",function(){f.unlockSelection();CKEDITOR.env.webkit&&d()});f.on("contentDomUnload",function(){f.unlockSelection()});if(CKEDITOR.env.ie9Compat)f.on("beforeDestroy",d,null,null,9);f.on("dataReady",function(){delete f._.fakeSelection;delete f._.hiddenSelectionContainer;f.selectionChange(1)});f.on("loadSnapshot",function(){var a=f.editable().getLast(function(a){return a.type==CKEDITOR.NODE_ELEMENT});a&&a.hasAttribute("data-cke-hidden-sel")&& -a.remove()},null,null,100);f.on("key",function(a){if(f.mode=="wysiwyg"){var b=f.getSelection();if(b.isFake){var c=q[a.data.keyCode];if(c)return c({editor:f,selected:b.getSelectedElement(),selection:b,keyEvent:a})}}})});CKEDITOR.on("instanceReady",function(a){var b=a.editor;if(CKEDITOR.env.webkit){b.on("selectionChange",function(){var a=b.editable(),c=d(a);c&&(c.getCustomData("ready")?e(a):c.setCustomData("ready",1))},null,null,-1);b.on("beforeSetMode",function(){e(b.editable())},null,null,-1);var c, -f,a=function(){var a=b.editable();if(a)if(a=d(a)){var e=b.document.$.defaultView.getSelection();e.type=="Caret"&&e.anchorNode==a.$&&(f=1);c=a.getText();a.setText(g(c))}},h=function(){var a=b.editable();if(a)if(a=d(a)){a.setText(c);if(f){b.document.$.defaultView.getSelection().setPosition(a.$,a.getLength());f=0}}};b.on("beforeUndoImage",a);b.on("afterUndoImage",h);b.on("beforeGetData",a,null,null,0);b.on("getData",h)}});CKEDITOR.editor.prototype.selectionChange=function(b){(b?a:c).call(this)};CKEDITOR.editor.prototype.getSelection= -function(a){if((this._.savedSelection||this._.fakeSelection)&&!a)return this._.savedSelection||this._.fakeSelection;return(a=this.editable())&&this.mode=="wysiwyg"?new CKEDITOR.dom.selection(a):null};CKEDITOR.editor.prototype.lockSelection=function(a){a=a||this.getSelection(1);if(a.getType()!=CKEDITOR.SELECTION_NONE){!a.isLocked&&a.lock();this._.savedSelection=a;return true}return false};CKEDITOR.editor.prototype.unlockSelection=function(a){var b=this._.savedSelection;if(b){b.unlock(a);delete this._.savedSelection; -return true}return false};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;var o= -typeof window.getSelection!="function",u=1;CKEDITOR.dom.selection=function(a){if(a instanceof CKEDITOR.dom.selection)var b=a,a=a.root;var c=a instanceof CKEDITOR.dom.element;this.rev=b?b.rev:u++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=a=c?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(b){CKEDITOR.tools.extend(this._.cache,b._.cache);this.isFake=b.isFake;this.isLocked=b.isLocked;return this}b=o?this.document.$.selection:this.document.getWindow().$.getSelection(); -if(CKEDITOR.env.webkit)(b.type=="None"&&this.document.getActive().equals(a)||b.type=="Caret"&&b.anchorNode.nodeType==CKEDITOR.NODE_DOCUMENT)&&n(a,b);else if(CKEDITOR.env.gecko)b&&(this.document.getActive().equals(a)&&b.anchorNode&&b.anchorNode.nodeType==CKEDITOR.NODE_DOCUMENT)&&n(a,b,true);else if(CKEDITOR.env.ie){var d;try{d=this.document.getActive()}catch(e){}if(o)b.type=="None"&&(d&&d.equals(this.document.getDocumentElement()))&&n(a,null,true);else{(b=b&&b.anchorNode)&&(b=new CKEDITOR.dom.node(b)); -d&&(d.equals(this.document.getDocumentElement())&&b&&(a.equals(b)||a.contains(b)))&&n(a,null,true)}}d=this.getNative();var f,g;if(d)if(d.getRangeAt)f=(g=d.rangeCount&&d.getRangeAt(0))&&new CKEDITOR.dom.node(g.commonAncestorContainer);else{try{g=d.createRange()}catch(h){}f=g&&CKEDITOR.dom.element.get(g.item&&g.item(0)||g.parentElement())}if(!f||!(f.type==CKEDITOR.NODE_ELEMENT||f.type==CKEDITOR.NODE_TEXT)||!this.root.equals(f)&&!this.root.contains(f)){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 A={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.dom.selection.prototype={getNative:function(){return this._.cache.nativeSel!==void 0?this._.cache.nativeSel:this._.cache.nativeSel=o?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:o?function(){var a= -this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_NONE;try{var c=this.getNative(),d=c.type;if(d=="Text")b=CKEDITOR.SELECTION_TEXT;if(d=="Control")b=CKEDITOR.SELECTION_ELEMENT;if(c.createRange().parentElement())b=CKEDITOR.SELECTION_TEXT}catch(e){}return a.type=b}:function(){var a=this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_TEXT,c=this.getNative();if(!c||!c.rangeCount)b=CKEDITOR.SELECTION_NONE;else if(c.rangeCount==1){var c=c.getRangeAt(0),d=c.startContainer;if(d==c.endContainer&& -d.nodeType==1&&c.endOffset-c.startOffset==1&&A[d.childNodes[c.startOffset].nodeName.toLowerCase()])b=CKEDITOR.SELECTION_ELEMENT}return a.type=b},getRanges:function(){var a=o?function(){function a(b){return(new CKEDITOR.dom.node(b)).getIndex()}var b=function(b,c){b=b.duplicate();b.collapse(c);var d=b.parentElement();if(!d.hasChildNodes())return{container:d,offset:0};for(var e=d.children,f,g,k=b.duplicate(),j=0,h=e.length-1,w=-1,i,t;j<=h;){w=Math.floor((j+h)/2);f=e[w];k.moveToElementText(f);i=k.compareEndPoints("StartToStart", -b);if(i>0)h=w-1;else if(i<0)j=w+1;else return{container:d,offset:a(f)}}if(w==-1||w==e.length-1&&i<0){k.moveToElementText(d);k.setEndPoint("StartToStart",b);k=k.text.replace(/(\r\n|\r)/g,"\n").length;e=d.childNodes;if(!k){f=e[e.length-1];return f.nodeType!=CKEDITOR.NODE_TEXT?{container:d,offset:e.length}:{container:f,offset:f.nodeValue.length}}for(d=e.length;k>0&&d>0;){g=e[--d];if(g.nodeType==CKEDITOR.NODE_TEXT){t=g;k=k-g.nodeValue.length}}return{container:t,offset:-k}}k.collapse(i>0?true:false);k.setEndPoint(i> -0?"StartToStart":"EndToStart",b);k=k.text.replace(/(\r\n|\r)/g,"\n").length;if(!k)return{container:d,offset:a(f)+(i>0?0:1)};for(;k>0;)try{g=f[i>0?"previousSibling":"nextSibling"];if(g.nodeType==CKEDITOR.NODE_TEXT){k=k-g.nodeValue.length;t=g}f=g}catch(m){return{container:d,offset:a(f)}}return{container:t,offset:i>0?-k:t.nodeValue.length+k}};return function(){var a=this.getNative(),c=a&&a.createRange(),d=this.getType();if(!a)return[];if(d==CKEDITOR.SELECTION_TEXT){a=new CKEDITOR.dom.range(this.root); -d=b(c,true);a.setStart(new CKEDITOR.dom.node(d.container),d.offset);d=b(c);a.setEnd(new CKEDITOR.dom.node(d.container),d.offset);a.endContainer.getPosition(a.startContainer)&CKEDITOR.POSITION_PRECEDING&&a.endOffset<=a.startContainer.getIndex()&&a.collapse();return[a]}if(d==CKEDITOR.SELECTION_ELEMENT){for(var d=[],e=0;e1){h=a[a.length-1];a[0].setEnd(h.endContainer,h.endOffset)}h=a[0];var a=h.collapsed,n,q,p;if((c=h.getEnclosedNode())&&c.type==CKEDITOR.NODE_ELEMENT&&c.getName()in A&&(!c.is("a")||!c.getText()))try{p=c.$.createControlRange();p.addElement(c.$);p.select();return}catch(s){}if(h.startContainer.type==CKEDITOR.NODE_ELEMENT&&h.startContainer.getName()in b||h.endContainer.type==CKEDITOR.NODE_ELEMENT&&h.endContainer.getName()in b){h.shrink(CKEDITOR.NODE_ELEMENT,true);a=h.collapsed}p=h.createBookmark(); -b=p.startNode;if(!a)g=p.endNode;p=h.document.$.body.createTextRange();p.moveToElementText(b.$);p.moveStart("character",1);if(g){i=h.document.$.body.createTextRange();i.moveToElementText(g.$);p.setEndPoint("EndToEnd",i);p.moveEnd("character",-1)}else{n=b.getNext(m);q=b.hasAscendant("pre");n=!(n&&n.getText&&n.getText().match(i))&&(q||!b.hasPrevious()||b.getPrevious().is&&b.getPrevious().is("br"));q=h.document.createElement("span");q.setHtml("");q.insertBefore(b);n&&h.document.createText("").insertBefore(b)}h.setStartBefore(b); -b.remove();if(a){if(n){p.moveStart("character",-1);p.select();h.document.$.selection.clear()}else p.select();h.moveToPosition(q,CKEDITOR.POSITION_BEFORE_START);q.remove()}else{h.setEndBefore(g);g.remove();p.select()}}else{g=this.getNative();if(!g)return;this.removeAllRanges();for(p=0;p=0){h.collapse(1);q.setEnd(h.endContainer.$,h.endOffset)}else throw w;}g.addRange(q)}}this.reset();this.root.fire("selectionchange")}}},fake:function(a){var b=this.root.editor;this.reset();h(b);var c=this._.cache,d=new CKEDITOR.dom.range(this.root);d.setStartBefore(a);d.setEndAfter(a);c.ranges=new CKEDITOR.dom.rangeList(d);c.selectedElement=c.startElement=a;c.type=CKEDITOR.SELECTION_ELEMENT; -c.selectedText=c.nativeSel=null;this.isFake=1;this.rev=u++;b._.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"))},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 b= -[],c=0;c]*>)[ \t\r\n]*/gi,"$1");f=f.replace(/([ \t\n\r]+| )/g, -" ");f=f.replace(/]*>/gi,"\n");if(CKEDITOR.env.ie){var g=a.getDocument().createElement("div");g.append(e);e.$.outerHTML="
"+f+"
";e.copyAttributes(g.getFirst());e=g.getFirst().remove()}else e.setHtml(f);b=e}else f?b=p(c?[a.getHtml()]:i(a),b):a.moveChildren(b);b.replace(a);if(d){var c=b,h;if((h=c.getPrevious(D))&&h.type==CKEDITOR.NODE_ELEMENT&&h.is("pre")){d=m(h.getHtml(),/\n$/,"")+"\n\n"+m(c.getHtml(),/^\n/,"");CKEDITOR.env.ie?c.$.outerHTML="
"+d+"
":c.setHtml(d);h.remove()}}else c&& -o(b)}function i(a){a.getName();var b=[];m(a.getOuterHtml(),/(\S\s*)\n(?:\s|(]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi,function(a,b,c){return b+"
"+c+"
"}).replace(/([\s\S]*?)<\/pre>/gi,function(a,c){b.push(c)});return b}function m(a,b,c){var d="",e="",a=a.replace(/(^]+data-cke-bookmark.*?\/span>)|(]+data-cke-bookmark.*?\/span>$)/gi,function(a,b,c){b&&(d=b);c&&(e=c);return""});return d+a.replace(b,c)+e}function p(a,b){var c;a.length>1&&(c=new CKEDITOR.dom.documentFragment(b.getDocument()));
+CKEDITOR.addCss(".cke_editable{cursor:text}.cke_editable img,.cke_editable input,.cke_editable textarea{cursor:default}");var q=function(){function a(b){return b.type==CKEDITOR.NODE_ELEMENT}function b(c,d){var e,f,l,p,h=[],g=d.range.startContainer;e=d.range.startPath();for(var g=r[g.getName()],n=0,j=c.getChildren(),m=j.count(),o=-1,C=-1,k=0,q=e.contains(r.$list);n-1)h[o].firstNotAllowed=1;if(C>-1)h[C].lastNotAllowed=1;return h}function d(b,c){var e=[],f=b.getChildren(),l=f.count(),p,h=0,g=r[c],n=!b.is(r.$inline)||b.is("br");for(n&&e.push(" ");h ",q.document);q.insertNode(B);q.setStartAfter(B)}x=new CKEDITOR.dom.elementPath(q.startContainer);
+n.endPath=E=new CKEDITOR.dom.elementPath(q.endContainer);if(!q.collapsed){var z=E.block||E.blockLimit,w=q.getCommonAncestor();z&&(!z.equals(w)&&!z.contains(w)&&q.checkEndOfBlock())&&n.zombies.push(z);q.deleteContents()}for(;(s=a(q.startContainer)&&q.startContainer.getChild(q.startOffset-1))&&a(s)&&s.isBlockBoundary()&&x.contains(s);)q.moveToPosition(s,CKEDITOR.POSITION_BEFORE_END);f(q,n.blockLimit,x,E);if(B){q.setEndBefore(B);q.collapse();B.remove()}B=q.startPath();if(z=B.contains(e,false,1)){q.splitElement(z);
+n.inlineStylesRoot=z;n.inlineStylesPeak=B.lastElement}B=q.createBookmark();(z=B.startNode.getPrevious(c))&&a(z)&&e(z)&&G.push(z);(z=B.startNode.getNext(c))&&a(z)&&e(z)&&G.push(z);for(z=B.startNode;(z=z.getParent())&&e(z);)G.push(z);q.moveToBookmark(B);if(B=k){B=n.range;if(n.type=="text"&&n.inlineStylesRoot){s=n.inlineStylesPeak;q=s.getDocument().createText("{cke-peak}");for(G=n.inlineStylesRoot.getParent();!s.equals(G);){q=q.appendTo(s.clone());s=s.getParent()}k=q.getOuterHtml().split("{cke-peak}").join(k)}s=
+n.blockLimit.getName();if(/^\s+|\s+$/.test(k)&&"span"in CKEDITOR.dtd[s])var y=' ',k=y+k+y;k=n.editor.dataProcessor.toHtml(k,{context:null,fixForBody:false,dontFilter:n.dontFilter,filter:n.editor.activeFilter,enterMode:n.editor.activeEnterMode});s=B.document.createElement("body");s.setHtml(k);if(y){s.getFirst().remove();s.getLast().remove()}if((y=B.startPath().block)&&!(y.getChildCount()==1&&y.getBogus()))a:{var t;if(s.getChildCount()==1&&a(t=s.getFirst())&&t.is(m)){y=
+t.getElementsByTag("*");B=0;for(G=y.count();B0;else{D=t.startPath();if(!E.isBlock&&h(n.editor,D.block,D.blockLimit)&&(Q=n.editor.activeEnterMode!=CKEDITOR.ENTER_BR&&n.editor.config.autoParagraph!==false?n.editor.activeEnterMode==CKEDITOR.ENTER_DIV?
+"div":"p":false)){Q=y.createElement(Q);Q.appendBogus();t.insertNode(Q);CKEDITOR.env.needsBrFiller&&(J=Q.getBogus())&&J.remove();t.moveToPosition(Q,CKEDITOR.POSITION_BEFORE_END)}if((D=t.startPath().block)&&!D.equals(H)){if(J=D.getBogus()){J.remove();s.push(D)}H=D}E.firstNotAllowed&&(q=1);if(q&&E.isElement){D=t.startContainer;for(M=null;D&&!r[D.getName()][E.name];){if(D.equals(k)){D=null;break}M=D;D=D.getParent()}if(D){if(M){S=t.splitElement(M);n.zombies.push(S);n.zombies.push(M)}}else{M=k.getName();
+T=!B;D=B==x.length-1;M=d(E.node,M);for(var O=[],V=M.length,W=0,Y=void 0,Z=0,U=-1;W0;){d=a.getItem(b);
+if(!CKEDITOR.tools.trim(d.getHtml())){d.appendBogus();CKEDITOR.env.ie&&(CKEDITOR.env.version<9&&d.getChildCount())&&d.getFirst().remove()}}}return function(d){var e=d.startContainer,f=e.getAscendant("table",1),h=false;c(f.getElementsByTag("td"));c(f.getElementsByTag("th"));f=d.clone();f.setStart(e,0);f=a(f).lastBackward();if(!f){f=d.clone();f.setEndAt(e,CKEDITOR.POSITION_BEFORE_END);f=a(f).lastForward();h=true}f||(f=e);if(f.is("table")){d.setStartAt(f,CKEDITOR.POSITION_BEFORE_START);d.collapse(true);
+f.remove()}else{f.is({tbody:1,thead:1,tfoot:1})&&(f=b(f,"tr",h));f.is("tr")&&(f=b(f,f.getParent().is("thead")?"th":"td",h));(e=f.getBogus())&&e.remove();d.moveToPosition(f,h?CKEDITOR.POSITION_AFTER_START:CKEDITOR.POSITION_BEFORE_END)}}}()})();
+(function(){function a(){var a=this._.fakeSelection,b;if(a){b=this.getSelection(1);if(!b||!b.isHidden()){a.reset();a=0}}if(!a){a=b||this.getSelection(1);if(!a||a.getType()==CKEDITOR.SELECTION_NONE)return}this.fire("selectionCheck",a);b=this.elementPath();if(!b.compare(this._.selectionPreviousPath)){if(CKEDITOR.env.webkit)this._.previousActive=this.document.getActive();this._.selectionPreviousPath=b;this.fire("selectionChange",{selection:a,path:b})}}function f(){q=true;if(!w){b.call(this);w=CKEDITOR.tools.setTimeout(b,
+200,this)}}function b(){w=null;if(q){CKEDITOR.tools.setTimeout(a,0,this);q=false}}function c(a){return t(a)||a.type==CKEDITOR.NODE_ELEMENT&&!a.is(CKEDITOR.dtd.$empty)?true:false}function e(a){function b(c,d){return!c||c.type==CKEDITOR.NODE_TEXT?false:a.clone()["moveToElementEdit"+(d?"End":"Start")](c)}if(!(a.root instanceof CKEDITOR.editable))return false;var d=a.startContainer,e=a.getPreviousNode(c,null,d),f=a.getNextNode(c,null,d);return b(e)||b(f,1)||!e&&!f&&!(d.type==CKEDITOR.NODE_ELEMENT&&d.isBlockBoundary()&&
+d.getBogus())?true:false}function d(a){return a.getCustomData("cke-fillingChar")}function h(a,b){var c=a&&a.removeCustomData("cke-fillingChar");if(c){if(b!==false){var d,e=a.getDocument().getSelection().getNative(),f=e&&e.type!="None"&&e.getRangeAt(0);if(c.getLength()>1&&f&&f.intersectsNode(c.$)){d=j(e);f=e.focusNode==c.$&&e.focusOffset>0;e.anchorNode==c.$&&e.anchorOffset>0&&d[0].offset--;f&&d[1].offset--}}c.setText(k(c.getText()));d&&g(a.getDocument().$,d)}}function k(a){return a.replace(/\u200B( )?/g,
+function(a){return a[1]?" ":""})}function j(a){return[{node:a.anchorNode,offset:a.anchorOffset},{node:a.focusNode,offset:a.focusOffset}]}function g(a,b){var c=a.getSelection(),d=a.createRange();d.setStart(b[0].node,b[0].offset);d.collapse(true);c.removeAllRanges();c.addRange(d);c.extend(b[1].node,b[1].offset)}function m(a){var b=CKEDITOR.dom.element.createFromHtml('
 
', +a.document);a.fire("lockSnapshot");a.editable().append(b);var c=a.getSelection(1),d=a.createRange(),e=c.root.on("selectionchange",function(a){a.cancel()},null,null,0);d.setStartAt(b,CKEDITOR.POSITION_AFTER_START);d.setEndAt(b,CKEDITOR.POSITION_BEFORE_END);c.selectRanges([d]);e.removeListener();a.fire("unlockSnapshot");a._.hiddenSelectionContainer=b}function y(a){var b={37:1,39:1,8:1,46:1};return function(c){var d=c.data.getKeystroke();if(b[d]){var e=a.getSelection().getRanges(),f=e[0];if(e.length== +1&&f.collapsed)if((d=f[d<38?"getPreviousEditableNode":"getNextEditableNode"]())&&d.type==CKEDITOR.NODE_ELEMENT&&d.getAttribute("contenteditable")=="false"){a.getSelection().fake(d);c.data.preventDefault();c.cancel()}}}}function s(a){for(var b=0;b=d.getLength()?g.setStartAfter(d):g.setStartBefore(d));e&&e.type==CKEDITOR.NODE_TEXT&&(h?g.setEndAfter(e):g.setEndBefore(e));d=new CKEDITOR.dom.walker(g);d.evaluator=function(d){if(d.type==CKEDITOR.NODE_ELEMENT&&d.isReadOnly()){var e=c.clone();c.setEndBefore(d);c.collapsed&&a.splice(b--,1);if(!(d.getPosition(g.endContainer)&CKEDITOR.POSITION_CONTAINS)){e.setStartAfter(d); +e.collapsed||a.splice(b+1,0,e)}return true}return false};d.next()}}return a}var w,q,t=CKEDITOR.dom.walker.invisible(1),i=function(){function a(b){return function(a){var c=a.editor.createRange();c.moveToClosestEditablePosition(a.selected,b)&&a.editor.getSelection().selectRanges([c]);return false}}function b(a){return function(b){var c=b.editor,d=c.createRange(),e;if(!(e=d.moveToClosestEditablePosition(b.selected,a)))e=d.moveToClosestEditablePosition(b.selected,!a);e&&c.getSelection().selectRanges([d]); +c.fire("saveSnapshot");b.selected.remove();if(!e){d.moveToElementEditablePosition(c.editable());c.getSelection().selectRanges([d])}c.fire("saveSnapshot");return false}}var c=a(),d=a(1);return{37:c,38:c,39:d,40:d,8:b(),46:b(1)}}();CKEDITOR.on("instanceCreated",function(b){function c(){var a=d.getSelection();a&&a.removeAllRanges()}var d=b.editor;d.on("contentDom",function(){function b(){z=new CKEDITOR.dom.selection(d.getSelection());z.lock()}function c(){l.removeListener("mouseup",c);i.removeListener("mouseup", +c);var a=CKEDITOR.document.$.selection,b=a.createRange();a.type!="None"&&b.parentElement().ownerDocument==e.$&&b.select()}var e=d.document,l=CKEDITOR.document,g=d.editable(),p=e.getBody(),i=e.getDocumentElement(),v=g.isInline(),j,z;CKEDITOR.env.gecko&&g.attachListener(g,"focus",function(a){a.removeListener();if(j!==0)if((a=d.getSelection().getNative())&&a.isCollapsed&&a.anchorNode==g.$){a=d.createRange();a.moveToElementEditStart(g);a.select()}},null,null,-2);g.attachListener(g,CKEDITOR.env.webkit? +"DOMFocusIn":"focus",function(){j&&CKEDITOR.env.webkit&&(j=d._.previousActive&&d._.previousActive.equals(e.getActive()));d.unlockSelection(j);j=0},null,null,-1);g.attachListener(g,"mousedown",function(){j=0});if(CKEDITOR.env.ie||v){A?g.attachListener(g,"beforedeactivate",b,null,null,-1):g.attachListener(d,"selectionCheck",b,null,null,-1);g.attachListener(g,CKEDITOR.env.webkit?"DOMFocusOut":"blur",function(){d.lockSelection(z);j=1},null,null,-1);g.attachListener(g,"mousedown",function(){j=0})}if(CKEDITOR.env.ie&& +!v){var B;g.attachListener(g,"mousedown",function(a){if(a.data.$.button==2){a=d.document.getSelection();if(!a||a.getType()==CKEDITOR.SELECTION_NONE)B=d.window.getScrollPosition()}});g.attachListener(g,"mouseup",function(a){if(a.data.$.button==2&&B){d.document.$.documentElement.scrollLeft=B.x;d.document.$.documentElement.scrollTop=B.y}B=null});if(e.$.compatMode!="BackCompat"){if(CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)i.on("mousedown",function(a){function b(a){a=a.data.$;if(d){var c=p.$.createTextRange(); +try{c.moveToPoint(a.clientX,a.clientY)}catch(e){}d.setEndPoint(f.compareEndPoints("StartToStart",c)<0?"EndToEnd":"StartToStart",c);d.select()}}function c(){i.removeListener("mousemove",b);l.removeListener("mouseup",c);i.removeListener("mouseup",c);d.select()}a=a.data;if(a.getTarget().is("html")&&a.$.y7&&CKEDITOR.env.version<11)i.on("mousedown",function(a){if(a.data.getTarget().is("html")){l.on("mouseup",c);i.on("mouseup",c)}})}}g.attachListener(g,"selectionchange",a,d);g.attachListener(g,"keyup",f,d);g.attachListener(g,CKEDITOR.env.webkit?"DOMFocusIn":"focus",function(){d.forceNextSelectionCheck();d.selectionChange(1)});if(v&&(CKEDITOR.env.webkit||CKEDITOR.env.gecko)){var x;g.attachListener(g,"mousedown",function(){x=1});g.attachListener(e.getDocumentElement(),"mouseup", +function(){x&&f.call(d);x=0})}else g.attachListener(CKEDITOR.env.ie?g:e.getDocumentElement(),"mouseup",f,d);CKEDITOR.env.webkit&&g.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(g)}},null,null,-1);g.attachListener(g,"keydown",y(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),b=d.editable().getLast(a);if(b&&b.hasAttribute("data-cke-hidden-sel")){b.remove();if(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(d.mode=="wysiwyg"){var b=d.getSelection(); +if(b.isFake){var c=i[a.data.keyCode];if(c)return c({editor:d,selected:b.getSelectedElement(),selection:b,keyEvent:a})}}})});CKEDITOR.on("instanceReady",function(a){function b(){var a=e.editable();if(a)if(a=d(a)){var c=e.document.$.getSelection();if(c.type!="None"&&(c.anchorNode==a.$||c.focusNode==a.$))i=j(c);f=a.getText();a.setText(k(f))}}function c(){var a=e.editable();if(a)if(a=d(a)){a.setText(f);if(i){g(e.document.$,i);i=null}}}var e=a.editor,f,i;if(CKEDITOR.env.webkit){e.on("selectionChange", +function(){var a=e.editable(),b=d(a);b&&(b.getCustomData("ready")?h(a):b.setCustomData("ready",1))},null,null,-1);e.on("beforeSetMode",function(){h(e.editable())},null,null,-1);e.on("beforeUndoImage",b);e.on("afterUndoImage",c);e.on("beforeGetData",b,null,null,0);e.on("getData",c)}});CKEDITOR.editor.prototype.selectionChange=function(b){(b?a:f).call(this)};CKEDITOR.editor.prototype.getSelection=function(a){if((this._.savedSelection||this._.fakeSelection)&&!a)return this._.savedSelection||this._.fakeSelection; +return(a=this.editable())&&this.mode=="wysiwyg"?new CKEDITOR.dom.selection(a):null};CKEDITOR.editor.prototype.lockSelection=function(a){a=a||this.getSelection(1);if(a.getType()!=CKEDITOR.SELECTION_NONE){!a.isLocked&&a.lock();this._.savedSelection=a;return true}return false};CKEDITOR.editor.prototype.unlockSelection=function(a){var b=this._.savedSelection;if(b){b.unlock(a);delete this._.savedSelection;return true}return false};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;var A=typeof window.getSelection!="function",u=1;CKEDITOR.dom.selection=function(a){if(a instanceof CKEDITOR.dom.selection)var b= +a,a=a.root;var c=a instanceof CKEDITOR.dom.element;this.rev=b?b.rev:u++;this.document=a instanceof CKEDITOR.dom.document?a:a.getDocument();this.root=c?a:this.document.getBody();this.isLocked=0;this._={cache:{}};if(b){CKEDITOR.tools.extend(this._.cache,b._.cache);this.isFake=b.isFake;this.isLocked=b.isLocked;return this}var a=this.getNative(),d,e;if(a)if(a.getRangeAt)d=(e=a.rangeCount&&a.getRangeAt(0))&&new CKEDITOR.dom.node(e.commonAncestorContainer);else{try{e=a.createRange()}catch(f){}d=e&&CKEDITOR.dom.element.get(e.item&& +e.item(0)||e.parentElement())}if(!d||!(d.type==CKEDITOR.NODE_ELEMENT||d.type==CKEDITOR.NODE_TEXT)||!this.root.equals(d)&&!this.root.contains(d)){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 o={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.dom.selection.prototype= +{getNative:function(){return this._.cache.nativeSel!==void 0?this._.cache.nativeSel:this._.cache.nativeSel=A?this.document.$.selection:this.document.getWindow().$.getSelection()},getType:A?function(){var a=this._.cache;if(a.type)return a.type;var b=CKEDITOR.SELECTION_NONE;try{var c=this.getNative(),d=c.type;if(d=="Text")b=CKEDITOR.SELECTION_TEXT;if(d=="Control")b=CKEDITOR.SELECTION_ELEMENT;if(c.createRange().parentElement())b=CKEDITOR.SELECTION_TEXT}catch(e){}return a.type=b}:function(){var a=this._.cache; +if(a.type)return a.type;var b=CKEDITOR.SELECTION_TEXT,c=this.getNative();if(!c||!c.rangeCount)b=CKEDITOR.SELECTION_NONE;else if(c.rangeCount==1){var c=c.getRangeAt(0),d=c.startContainer;if(d==c.endContainer&&d.nodeType==1&&c.endOffset-c.startOffset==1&&o[d.childNodes[c.startOffset].nodeName.toLowerCase()])b=CKEDITOR.SELECTION_ELEMENT}return a.type=b},getRanges:function(){var a=A?function(){function a(b){return(new CKEDITOR.dom.node(b)).getIndex()}var b=function(b,c){b=b.duplicate();b.collapse(c); +var d=b.parentElement();if(!d.hasChildNodes())return{container:d,offset:0};for(var e=d.children,f,g,h=b.duplicate(),v=0,l=e.length-1,i=-1,j,x;v<=l;){i=Math.floor((v+l)/2);f=e[i];h.moveToElementText(f);j=h.compareEndPoints("StartToStart",b);if(j>0)l=i-1;else if(j<0)v=i+1;else return{container:d,offset:a(f)}}if(i==-1||i==e.length-1&&j<0){h.moveToElementText(d);h.setEndPoint("StartToStart",b);h=h.text.replace(/(\r\n|\r)/g,"\n").length;e=d.childNodes;if(!h){f=e[e.length-1];return f.nodeType!=CKEDITOR.NODE_TEXT? +{container:d,offset:e.length}:{container:f,offset:f.nodeValue.length}}for(d=e.length;h>0&&d>0;){g=e[--d];if(g.nodeType==CKEDITOR.NODE_TEXT){x=g;h=h-g.nodeValue.length}}return{container:x,offset:-h}}h.collapse(j>0?true:false);h.setEndPoint(j>0?"StartToStart":"EndToStart",b);h=h.text.replace(/(\r\n|\r)/g,"\n").length;if(!h)return{container:d,offset:a(f)+(j>0?0:1)};for(;h>0;)try{g=f[j>0?"previousSibling":"nextSibling"];if(g.nodeType==CKEDITOR.NODE_TEXT){h=h-g.nodeValue.length;x=g}f=g}catch(m){return{container:d, +offset:a(f)}}return{container:x,offset:j>0?-h:x.nodeValue.length+h}};return function(){var a=this.getNative(),c=a&&a.createRange(),d=this.getType();if(!a)return[];if(d==CKEDITOR.SELECTION_TEXT){a=new CKEDITOR.dom.range(this.root);d=b(c,true);a.setStart(new CKEDITOR.dom.node(d.container),d.offset);d=b(c);a.setEnd(new CKEDITOR.dom.node(d.container),d.offset);a.endContainer.getPosition(a.startContainer)&CKEDITOR.POSITION_PRECEDING&&a.endOffset<=a.startContainer.getIndex()&&a.collapse();return[a]}if(d== +CKEDITOR.SELECTION_ELEMENT){for(var d=[],e=0;e1){g=a[a.length-1];a[0].setEnd(g.endContainer,g.endOffset)}g=a[0];var a=g.collapsed,m,k,v;if((c=g.getEnclosedNode())&&c.type==CKEDITOR.NODE_ELEMENT&&c.getName()in o&&(!c.is("a")||!c.getText()))try{v=c.$.createControlRange(); +v.addElement(c.$);v.select();return}catch(q){}if(g.startContainer.type==CKEDITOR.NODE_ELEMENT&&g.startContainer.getName()in b||g.endContainer.type==CKEDITOR.NODE_ELEMENT&&g.endContainer.getName()in b){g.shrink(CKEDITOR.NODE_ELEMENT,true);a=g.collapsed}v=g.createBookmark();b=v.startNode;if(!a)f=v.endNode;v=g.document.$.body.createTextRange();v.moveToElementText(b.$);v.moveStart("character",1);if(f){i=g.document.$.body.createTextRange();i.moveToElementText(f.$);v.setEndPoint("EndToEnd",i);v.moveEnd("character", +-1)}else{m=b.getNext(j);k=b.hasAscendant("pre");m=!(m&&m.getText&&m.getText().match(i))&&(k||!b.hasPrevious()||b.getPrevious().is&&b.getPrevious().is("br"));k=g.document.createElement("span");k.setHtml("");k.insertBefore(b);m&&g.document.createText("").insertBefore(b)}g.setStartBefore(b);b.remove();if(a){if(m){v.moveStart("character",-1);v.select();g.document.$.selection.clear()}else v.select();g.moveToPosition(k,CKEDITOR.POSITION_BEFORE_START);k.remove()}else{g.setEndBefore(f);f.remove(); +v.select()}}else{f=this.getNative();if(!f)return;this.removeAllRanges();for(v=0;v=0){g.collapse(1);k.setEnd(g.endContainer.$, +g.endOffset)}else throw z;}f.addRange(k)}}this.reset();this.root.fire("selectionchange")}}},fake:function(a){var b=this.root.editor;this.reset();m(b);var c=this._.cache,d=new CKEDITOR.dom.range(this.root);d.setStartBefore(a);d.setEndAfter(a);c.ranges=new CKEDITOR.dom.rangeList(d);c.selectedElement=c.startElement=a;c.type=CKEDITOR.SELECTION_ELEMENT;c.selectedText=c.nativeSel=null;this.isFake=1;this.rev=u++;b._.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"))},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 b=[],c=0;c]*>)[ \t\r\n]*/gi,"$1");f=f.replace(/([ \t\n\r]+| )/g, +" ");f=f.replace(/]*>/gi,"\n");if(CKEDITOR.env.ie){var h=a.getDocument().createElement("div");h.append(e);e.$.outerHTML="
"+f+"
";e.copyAttributes(h.getFirst());e=h.getFirst().remove()}else e.setHtml(f);b=e}else f?b=y(c?[a.getHtml()]:g(a),b):a.moveChildren(b);b.replace(a);if(d){var c=b,i;if((i=c.getPrevious(F))&&i.type==CKEDITOR.NODE_ELEMENT&&i.is("pre")){d=m(i.getHtml(),/\n$/,"")+"\n\n"+m(c.getHtml(),/^\n/,"");CKEDITOR.env.ie?c.$.outerHTML="
"+d+"
":c.setHtml(d);i.remove()}}else c&& +t(b)}function g(a){var b=[];m(a.getOuterHtml(),/(\S\s*)\n(?:\s|(]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi,function(a,b,c){return b+"
"+c+"
"}).replace(/([\s\S]*?)<\/pre>/gi,function(a,c){b.push(c)});return b}function m(a,b,c){var d="",e="",a=a.replace(/(^]+data-cke-bookmark.*?\/span>)|(]+data-cke-bookmark.*?\/span>$)/gi,function(a,b,c){b&&(d=b);c&&(e=c);return""});return d+a.replace(b,c)+e}function y(a,b){var c;a.length>1&&(c=new CKEDITOR.dom.documentFragment(b.getDocument()));
 for(var d=0;d"),e=e.replace(/[ \t]{2,}/g,function(a){return CKEDITOR.tools.repeat(" ",a.length-1)+" "});if(c){var f=b.clone();f.setHtml(e);c.append(f)}else b.setHtml(e)}return c||b}function s(a,b){var c=this._.definition,
-d=c.attributes,c=c.styles,e=l(this)[a.getName()],f=CKEDITOR.tools.isEmpty(d)&&CKEDITOR.tools.isEmpty(c),g;for(g in d)if(!((g=="class"||this._.definition.fullMatch)&&a.getAttribute(g)!=j(g,d[g]))&&!(b&&g.slice(0,5)=="data-")){f=a.hasAttribute(g);a.removeAttribute(g)}for(var h in c)if(!(this._.definition.fullMatch&&a.getStyle(h)!=j(h,c[h],true))){f=f||!!a.getStyle(h);a.removeStyle(h)}q(a,e,I[a.getName()]);f&&(this._.definition.alwaysRemoveElement?o(a,1):!CKEDITOR.dtd.$block[a.getName()]||this._.enterMode==
-CKEDITOR.ENTER_BR&&!a.hasAttributes()?o(a):a.renameNode(this._.enterMode==CKEDITOR.ENTER_P?"p":"div"))}function x(a){for(var b=l(this),c=a.getElementsByTag(this.element),d,e=c.count();--e>=0;){d=c.getItem(e);d.isReadOnly()||s.call(this,d,true)}for(var f in b)if(f!=this.element){c=a.getElementsByTag(f);for(e=c.count()-1;e>=0;e--){d=c.getItem(e);d.isReadOnly()||q(d,b[f])}}}function q(a,b,c){if(b=b&&b.attributes)for(var d=0;d=0;){d=c.getItem(e);d.isReadOnly()||s.call(this,d,true)}for(var f in b)if(f!=this.element){c=a.getElementsByTag(f);for(e=c.count()-1;e>=0;e--){d=c.getItem(e);d.isReadOnly()||q(d,b[f])}}}function q(a,b,c){if(b=b&&b.attributes)for(var d=0;d",a||b.name,"");return c.join("")},getDefinition:function(){return this._.definition}};CKEDITOR.style.getStyleText=function(a){var b=a._ST;if(b)return b;var b=a.styles,c=a.attributes&&a.attributes.style||"",
-d="";c.length&&(c=c.replace(O,";"));for(var e in b){var f=b[e],g=(e+":"+f).replace(O,";");f=="inherit"?d=d+g:c=c+g}c.length&&(c=CKEDITOR.tools.normalizeCssText(c,true));return a._ST=c+d};CKEDITOR.style.customHandlers={};CKEDITOR.style.addCustomHandler=function(a){var b=function(a){this._={definition:a};this.setup&&this.setup(a)};b.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.style.prototype),{assignedTo:CKEDITOR.STYLE_OBJECT},a,true);return this.customHandlers[a.type]=b};
-var L=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,J=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED})();CKEDITOR.styleCommand=function(a,c){this.requiredContent=this.allowedContent=this.style=a;CKEDITOR.tools.extend(this,c,true)};CKEDITOR.styleCommand.prototype.exec=function(a){a.focus();this.state==CKEDITOR.TRISTATE_OFF?a.applyStyle(this.style):this.state==CKEDITOR.TRISTATE_ON&&a.removeStyle(this.style)};
-CKEDITOR.stylesSet=new CKEDITOR.resourceManager("","stylesSet");CKEDITOR.addStylesSet=CKEDITOR.tools.bind(CKEDITOR.stylesSet.add,CKEDITOR.stylesSet);CKEDITOR.loadStylesSet=function(a,c,b){CKEDITOR.stylesSet.addExternal(a,c,"");CKEDITOR.stylesSet.load(a,b)};
-CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(a,c){var b=this._.styleStateChangeCallbacks;if(!b){b=this._.styleStateChangeCallbacks=[];this.on("selectionChange",function(a){for(var c=0;c"}});"use strict";
-(function(){var a={},c={},b;for(b in CKEDITOR.dtd.$blockLimit)b in CKEDITOR.dtd.$list||(a[b]=1);for(b in CKEDITOR.dtd.$block)b in CKEDITOR.dtd.$blockLimit||b in CKEDITOR.dtd.$empty||(c[b]=1);CKEDITOR.dom.elementPath=function(b,d){var e=null,g=null,n=[],h=b,i,d=d||b.getDocument().getBody();do if(h.type==CKEDITOR.NODE_ELEMENT){n.push(h);if(!this.lastElement){this.lastElement=h;if(h.is(CKEDITOR.dtd.$object)||h.getAttribute("contenteditable")=="false")continue}if(h.equals(d))break;if(!g){i=h.getName();
-h.getAttribute("contenteditable")=="true"?g=h:!e&&c[i]&&(e=h);if(a[i]){var m;if(m=!e){if(i=i=="div"){a:{i=h.getChildren();m=0;for(var p=i.count();m-1}:typeof a=="function"?f=a:typeof a=="object"&&(f=
-function(b){return b.getName()in a});var d=this.elements,e=d.length;c&&e--;if(b){d=Array.prototype.slice.call(d,0);d.reverse()}for(c=0;c=f){e=d.createText("");e.insertAfter(this)}else{a=d.createText("");a.insertAfter(e);a.remove()}return e},substring:function(a,
-c){return typeof c!="number"?this.$.nodeValue.substr(a):this.$.nodeValue.substring(a,c)}});
-(function(){function a(a,c,d){var e=a.serializable,g=c[d?"endContainer":"startContainer"],n=d?"endOffset":"startOffset",h=e?c.document.getById(a.startNode):a.startNode,a=e?c.document.getById(a.endNode):a.endNode;if(g.equals(h.getPrevious())){c.startOffset=c.startOffset-g.getLength()-a.getPrevious().getLength();g=a.getNext()}else if(g.equals(a.getPrevious())){c.startOffset=c.startOffset-g.getLength();g=a.getNext()}g.equals(h.getParent())&&c[n]++;g.equals(a.getParent())&&c[n]++;c[d?"endContainer":"startContainer"]=
-g;return c}CKEDITOR.dom.rangeList=function(a){if(a instanceof CKEDITOR.dom.rangeList)return a;a?a instanceof CKEDITOR.dom.range&&(a=[a]):a=[];return CKEDITOR.tools.extend(a,c)};var c={createIterator:function(){var a=this,c=CKEDITOR.dom.walker.bookmark(),d=[],e;return{getNextRange:function(g){e=e==void 0?0:e+1;var n=a[e];if(n&&a.length>1){if(!e)for(var h=a.length-1;h>=0;h--)d.unshift(a[h].createBookmark(true));if(g)for(var i=0;a[e+i+1];){for(var m=n.document,g=0,h=m.getById(d[i].endNode),m=m.getById(d[i+
-1].startNode);;){h=h.getNextSourceNode(false);if(m.equals(h))g=1;else if(c(h)||h.type==CKEDITOR.NODE_ELEMENT&&h.isBlockBoundary())continue;break}if(!g)break;i++}for(n.moveToBookmark(d.shift());i--;){h=a[++e];h.moveToBookmark(d.shift());n.setEnd(h.endContainer,h.endOffset)}}return n}}},createBookmarks:function(b){for(var c=[],d,e=0;eb?-1:1}),e=0,f;e',CKEDITOR.document);a.appendTo(CKEDITOR.document.getHead());try{var c=a.getComputedStyle("border-top-color"),b=a.getComputedStyle("border-right-color");CKEDITOR.env.hc=!!(c&&c==b)}catch(f){CKEDITOR.env.hc=false}a.remove()}if(CKEDITOR.env.hc)CKEDITOR.env.cssClass=CKEDITOR.env.cssClass+" cke_hc";
-CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}");CKEDITOR.status="loaded";CKEDITOR.fireOnce("loaded");if(a=CKEDITOR._.pending){delete CKEDITOR._.pending;for(c=0;c",a||b.name,"");return c.join("")},getDefinition:function(){return this._.definition}};CKEDITOR.style.getStyleText=function(a){var b=a._ST;if(b)return b;var b=a.styles,c=
+a.attributes&&a.attributes.style||"",d="";c.length&&(c=c.replace(P,";"));for(var e in b){var f=b[e],g=(e+":"+f).replace(P,";");f=="inherit"?d=d+g:c=c+g}c.length&&(c=CKEDITOR.tools.normalizeCssText(c,true));return a._ST=c+d};CKEDITOR.style.customHandlers={};CKEDITOR.style.addCustomHandler=function(a){var b=function(a){this._={definition:a};this.setup&&this.setup(a)};b.prototype=CKEDITOR.tools.extend(CKEDITOR.tools.prototypedCopy(CKEDITOR.style.prototype),{assignedTo:CKEDITOR.STYLE_OBJECT},a,true);
+return this.customHandlers[a.type]=b};var K=CKEDITOR.POSITION_PRECEDING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED,I=CKEDITOR.POSITION_FOLLOWING|CKEDITOR.POSITION_IDENTICAL|CKEDITOR.POSITION_IS_CONTAINED})();CKEDITOR.styleCommand=function(a,f){this.requiredContent=this.allowedContent=this.style=a;CKEDITOR.tools.extend(this,f,true)};
+CKEDITOR.styleCommand.prototype.exec=function(a){a.focus();this.state==CKEDITOR.TRISTATE_OFF?a.applyStyle(this.style):this.state==CKEDITOR.TRISTATE_ON&&a.removeStyle(this.style)};CKEDITOR.stylesSet=new CKEDITOR.resourceManager("","stylesSet");CKEDITOR.addStylesSet=CKEDITOR.tools.bind(CKEDITOR.stylesSet.add,CKEDITOR.stylesSet);CKEDITOR.loadStylesSet=function(a,f,b){CKEDITOR.stylesSet.addExternal(a,f,"");CKEDITOR.stylesSet.load(a,b)};
+CKEDITOR.tools.extend(CKEDITOR.editor.prototype,{attachStyleStateChange:function(a,f){var b=this._.styleStateChangeCallbacks;if(!b){b=this._.styleStateChangeCallbacks=[];this.on("selectionChange",function(a){for(var e=0;e"}});"use strict";
+(function(){var a={},f={},b;for(b in CKEDITOR.dtd.$blockLimit)b in CKEDITOR.dtd.$list||(a[b]=1);for(b in CKEDITOR.dtd.$block)b in CKEDITOR.dtd.$blockLimit||b in CKEDITOR.dtd.$empty||(f[b]=1);CKEDITOR.dom.elementPath=function(b,e){var d=null,h=null,k=[],j=b,g,e=e||b.getDocument().getBody();do if(j.type==CKEDITOR.NODE_ELEMENT){k.push(j);if(!this.lastElement){this.lastElement=j;if(j.is(CKEDITOR.dtd.$object)||j.getAttribute("contenteditable")=="false")continue}if(j.equals(e))break;if(!h){g=j.getName();
+j.getAttribute("contenteditable")=="true"?h=j:!d&&f[g]&&(d=j);if(a[g]){var m;if(m=!d){if(g=g=="div"){a:{g=j.getChildren();m=0;for(var y=g.count();m-1}:typeof a=="function"?c=a:typeof a=="object"&&(c=
+function(b){return b.getName()in a});var e=this.elements,d=e.length;f&&d--;if(b){e=Array.prototype.slice.call(e,0);e.reverse()}for(f=0;f=c){d=e.createText("");d.insertAfter(this)}else{a=e.createText("");a.insertAfter(d);a.remove()}return d},substring:function(a,
+f){return typeof f!="number"?this.$.nodeValue.substr(a):this.$.nodeValue.substring(a,f)}});
+(function(){function a(a,c,e){var d=a.serializable,f=c[e?"endContainer":"startContainer"],k=e?"endOffset":"startOffset",j=d?c.document.getById(a.startNode):a.startNode,a=d?c.document.getById(a.endNode):a.endNode;if(f.equals(j.getPrevious())){c.startOffset=c.startOffset-f.getLength()-a.getPrevious().getLength();f=a.getNext()}else if(f.equals(a.getPrevious())){c.startOffset=c.startOffset-f.getLength();f=a.getNext()}f.equals(j.getParent())&&c[k]++;f.equals(a.getParent())&&c[k]++;c[e?"endContainer":"startContainer"]=
+f;return c}CKEDITOR.dom.rangeList=function(a){if(a instanceof CKEDITOR.dom.rangeList)return a;a?a instanceof CKEDITOR.dom.range&&(a=[a]):a=[];return CKEDITOR.tools.extend(a,f)};var f={createIterator:function(){var a=this,c=CKEDITOR.dom.walker.bookmark(),e=[],d;return{getNextRange:function(f){d=d===void 0?0:d+1;var k=a[d];if(k&&a.length>1){if(!d)for(var j=a.length-1;j>=0;j--)e.unshift(a[j].createBookmark(true));if(f)for(var g=0;a[d+g+1];){for(var m=k.document,f=0,j=m.getById(e[g].endNode),m=m.getById(e[g+
+1].startNode);;){j=j.getNextSourceNode(false);if(m.equals(j))f=1;else if(c(j)||j.type==CKEDITOR.NODE_ELEMENT&&j.isBlockBoundary())continue;break}if(!f)break;g++}for(k.moveToBookmark(e.shift());g--;){j=a[++d];j.moveToBookmark(e.shift());k.setEnd(j.endContainer,j.endOffset)}}return k}}},createBookmarks:function(b){for(var c=[],e,d=0;db?-1:1}),e=0,f;e',CKEDITOR.document);a.appendTo(CKEDITOR.document.getHead());try{var f=a.getComputedStyle("border-top-color"),b=a.getComputedStyle("border-right-color");CKEDITOR.env.hc=!!(f&&f==b)}catch(c){CKEDITOR.env.hc=false}a.remove()}if(CKEDITOR.env.hc)CKEDITOR.env.cssClass=CKEDITOR.env.cssClass+" cke_hc";
+CKEDITOR.document.appendStyleText(".cke{visibility:hidden;}");CKEDITOR.status="loaded";CKEDITOR.fireOnce("loaded");if(a=CKEDITOR._.pending){delete CKEDITOR._.pending;for(f=0;fc;c++){var f=a,h=c,d;d=parseInt(a[c],16);d=("0"+(0>e?0|d*(1+e):0|d+(255-d)*e).toString(16)).slice(-2);f[h]=d}return"#"+a.join("")}}(),c=function(){var b=new CKEDITOR.template("background:#{to};background-image:-webkit-gradient(linear,lefttop,leftbottom,from({from}),to({to}));background-image:-moz-linear-gradient(top,{from},{to});background-image:-webkit-linear-gradient(top,{from},{to});background-image:-o-linear-gradient(top,{from},{to});background-image:-ms-linear-gradient(top,{from},{to});background-image:linear-gradient(top,{from},{to});filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='{from}',endColorstr='{to}');");return function(c,
 a){return b.output({from:c,to:a})}}(),f={editor:new CKEDITOR.template("{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ {defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_bottom [{defaultGradient}border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [{defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [{defaultGradient}outline-color:{defaultBorder};border-top-color:{defaultBorder};] {id} .cke_dialog_tab [{lightGradient}border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [{mediumGradient}] {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} .cke_toolgroup [{lightGradient}border-color:{defaultBorder};] {id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [{mediumGradient}] {id} .cke_button_on [{ckeButtonOn}] {id} .cke_toolbar_separator [background-color: {ckeToolbarSeparator};] {id} .cke_combo_button [border-color:{defaultBorder};{lightGradient}] {id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [border-color:{defaultBorder};{mediumGradient}] {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:{elementsPathBg};] {id}.cke_panel [border-color:{defaultBorder};] "),
 panel:new CKEDITOR.template(".cke_panel_grouptitle [{lightGradient}border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};] ")};
@@ -481,9 +485,9 @@ a.includeLabel=!0;CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){f
 l)o.checked="checked";p(m);p(h);if(typeof m.inputStyle!="undefined")m.style=m.inputStyle;m.keyboardFocusable=true;f.push(new CKEDITOR.ui.dialog.uiElement(b,m,q,"input",null,o));q.push(" ");new CKEDITOR.ui.dialog.uiElement(b,h,q,"label",null,{id:n,"for":o.id},j[0]);e.push(q.join(""))}new CKEDITOR.ui.dialog.hbox(b,f,e,d);return d.join("")});this._.children=f}},button:function(b,a,d){if(arguments.length){"function"==typeof a&&(a=a(b.getParentEditor()));h.call(this,a,{disabled:a.disabled||!1});CKEDITOR.event.implementOn(this);
 var f=this;b.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 c=CKEDITOR.tools.extend({},a);delete c.style;var e=CKEDITOR.tools.getNextId()+"_label";CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,"a",null,{style:a.style,href:"javascript:void(0)",title:a.label,hidefocus:"true","class":a["class"],role:"button",
 "aria-labelledby":e},''+CKEDITOR.tools.htmlEncode(a.label)+"")}},select:function(b,a,d){if(!(3>arguments.length)){var f=h.call(this,a);a.validate&&(this.validate=a.validate);f.inputId=CKEDITOR.tools.getNextId()+"_select";CKEDITOR.ui.dialog.labeledElement.call(this,b,a,d,function(){var c=CKEDITOR.tools.extend({},a,{id:a.id?a.id+"_select":CKEDITOR.tools.getNextId()+"_select"},true),e=[],d=[],g={id:f.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};
-e.push('