rich 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1464) hide show
  1. data/app/inputs/rich_input.rb +1 -1
  2. data/app/views/rails_admin/main/_form_rich_text.html.haml +1 -1
  3. data/lib/rich.rb +3 -3
  4. data/lib/rich/integrations/legacy_formtastic.rb +1 -1
  5. data/lib/rich/version.rb +1 -1
  6. metadata +4 -2920
  7. data/test/dummy/public/assets/active_admin-7c22dd5d091d5986bb317d01578d770b.css +0 -1
  8. data/test/dummy/public/assets/active_admin-7c22dd5d091d5986bb317d01578d770b.css.gz +0 -0
  9. data/test/dummy/public/assets/active_admin-cab6278178c392e12a96772baa6f75d3.js +0 -30
  10. data/test/dummy/public/assets/active_admin-cab6278178c392e12a96772baa6f75d3.js.gz +0 -0
  11. data/test/dummy/public/assets/active_admin.css +0 -1
  12. data/test/dummy/public/assets/active_admin.css.gz +0 -0
  13. data/test/dummy/public/assets/active_admin.js +0 -30
  14. data/test/dummy/public/assets/active_admin.js.gz +0 -0
  15. data/test/dummy/public/assets/active_admin/admin_notes_icon-44f1e8c6c964121ed2a81ec46cab4e8f.png +0 -0
  16. data/test/dummy/public/assets/active_admin/admin_notes_icon.png +0 -0
  17. data/test/dummy/public/assets/active_admin/datepicker/datepicker-header-bg-82379b1692ff58021cbb72b7a47398f4.png +0 -0
  18. data/test/dummy/public/assets/active_admin/datepicker/datepicker-header-bg.png +0 -0
  19. data/test/dummy/public/assets/active_admin/datepicker/datepicker-input-icon-8bc559f420278746aadc71a39ee2dcba.png +0 -0
  20. data/test/dummy/public/assets/active_admin/datepicker/datepicker-input-icon.png +0 -0
  21. data/test/dummy/public/assets/active_admin/datepicker/datepicker-next-link-icon-244c553aa4397b8bd71fb7b9c6f2c038.png +0 -0
  22. data/test/dummy/public/assets/active_admin/datepicker/datepicker-next-link-icon.png +0 -0
  23. data/test/dummy/public/assets/active_admin/datepicker/datepicker-nipple-b2d462853233e269d07924e121373ed6.png +0 -0
  24. data/test/dummy/public/assets/active_admin/datepicker/datepicker-nipple.png +0 -0
  25. data/test/dummy/public/assets/active_admin/datepicker/datepicker-prev-link-icon-c7350481017d5d77579c21937470ab25.png +0 -0
  26. data/test/dummy/public/assets/active_admin/datepicker/datepicker-prev-link-icon.png +0 -0
  27. data/test/dummy/public/assets/active_admin/loading-d608b5c4f1285d851932fb16404f2ef9.gif +0 -0
  28. data/test/dummy/public/assets/active_admin/loading.gif +0 -0
  29. data/test/dummy/public/assets/active_admin/nested_menu_arrow-843da9bdc70bc1b886dcb77568b56c17.gif +0 -0
  30. data/test/dummy/public/assets/active_admin/nested_menu_arrow.gif +0 -0
  31. data/test/dummy/public/assets/active_admin/nested_menu_arrow_dark-639ddf23c1337911ccba7cc755edce38.gif +0 -0
  32. data/test/dummy/public/assets/active_admin/nested_menu_arrow_dark.gif +0 -0
  33. data/test/dummy/public/assets/active_admin/orderable-91583e6f60064e4b86801f12b7d52bc8.png +0 -0
  34. data/test/dummy/public/assets/active_admin/orderable.png +0 -0
  35. data/test/dummy/public/assets/application-1807d8e7d63797f1ada2239ca9cf7c3b.css +0 -1
  36. data/test/dummy/public/assets/application-1807d8e7d63797f1ada2239ca9cf7c3b.css.gz +0 -0
  37. data/test/dummy/public/assets/application-a08973695228f879d618b212de14ccd7.js +0 -29
  38. data/test/dummy/public/assets/application-a08973695228f879d618b212de14ccd7.js.gz +0 -0
  39. data/test/dummy/public/assets/application.css +0 -1
  40. data/test/dummy/public/assets/application.css.gz +0 -0
  41. data/test/dummy/public/assets/application.js +0 -29
  42. data/test/dummy/public/assets/application.js.gz +0 -0
  43. data/test/dummy/public/assets/ckeditor/CHANGES-f20e8a82d502c4c177f9f36630336b41.html +0 -1433
  44. data/test/dummy/public/assets/ckeditor/CHANGES.html +0 -1433
  45. data/test/dummy/public/assets/ckeditor/INSTALL-2ffbef3279a59c4316cf813597a2c508.html +0 -92
  46. data/test/dummy/public/assets/ckeditor/INSTALL.html +0 -92
  47. data/test/dummy/public/assets/ckeditor/LICENSE-2b4f1fb3d6f70cd4d5213c7bab7ee998.html +0 -1327
  48. data/test/dummy/public/assets/ckeditor/LICENSE.html +0 -1327
  49. data/test/dummy/public/assets/ckeditor/_samples/adobeair/application-5bc1ca37c86572044599f9e6308f2710.xml +0 -32
  50. data/test/dummy/public/assets/ckeditor/_samples/adobeair/application.xml +0 -32
  51. data/test/dummy/public/assets/ckeditor/_samples/adobeair/run-31c16b1eec8b8f4789dd418d8ccc6c06.sh +0 -8
  52. data/test/dummy/public/assets/ckeditor/_samples/adobeair/run-94e108d6e09ab93ee31e7878a770a3db.bat +0 -9
  53. data/test/dummy/public/assets/ckeditor/_samples/adobeair/run.bat +0 -9
  54. data/test/dummy/public/assets/ckeditor/_samples/adobeair/run.sh +0 -8
  55. data/test/dummy/public/assets/ckeditor/_samples/adobeair/sample-94ee1edb7dfb307dd415eb1315df1be5.html +0 -45
  56. data/test/dummy/public/assets/ckeditor/_samples/adobeair/sample.html +0 -45
  57. data/test/dummy/public/assets/ckeditor/_samples/ajax-bafebba9e9dc0a61d2d4a5e924d8a70c.html +0 -98
  58. data/test/dummy/public/assets/ckeditor/_samples/ajax.html +0 -98
  59. data/test/dummy/public/assets/ckeditor/_samples/api-057535aabdb4860995cb08e1a535ef60.html +0 -192
  60. data/test/dummy/public/assets/ckeditor/_samples/api.html +0 -192
  61. data/test/dummy/public/assets/ckeditor/_samples/api_dialog-b32277b735d50842cceec8c3ff10e134.html +0 -198
  62. data/test/dummy/public/assets/ckeditor/_samples/api_dialog.html +0 -198
  63. data/test/dummy/public/assets/ckeditor/_samples/api_dialog/my_dialog.js +0 -28
  64. data/test/dummy/public/assets/ckeditor/_samples/asp/advanced-54ff50b3650043f062f720f8a65b6afd.asp +0 -105
  65. data/test/dummy/public/assets/ckeditor/_samples/asp/advanced.asp +0 -105
  66. data/test/dummy/public/assets/ckeditor/_samples/asp/events-c68d53123518d87149d8f562b21cf494.asp +0 -136
  67. data/test/dummy/public/assets/ckeditor/_samples/asp/events.asp +0 -136
  68. data/test/dummy/public/assets/ckeditor/_samples/asp/index-68ba3a172db03205bef8cbee8641e78d.html +0 -103
  69. data/test/dummy/public/assets/ckeditor/_samples/asp/index.html +0 -103
  70. data/test/dummy/public/assets/ckeditor/_samples/asp/replace-1f7af5a8bb29d30663445b22be5a628e.asp +0 -72
  71. data/test/dummy/public/assets/ckeditor/_samples/asp/replace.asp +0 -72
  72. data/test/dummy/public/assets/ckeditor/_samples/asp/replaceall-01e192b1664cc24f07fbe25d57f41612.asp +0 -77
  73. data/test/dummy/public/assets/ckeditor/_samples/asp/replaceall.asp +0 -77
  74. data/test/dummy/public/assets/ckeditor/_samples/asp/sample_posteddata-ce7311b1afdd32525d1eac9f717c7ae2.asp +0 -46
  75. data/test/dummy/public/assets/ckeditor/_samples/asp/sample_posteddata.asp +0 -46
  76. data/test/dummy/public/assets/ckeditor/_samples/asp/standalone-49dbef1fd77f8041dad9561c056a2155.asp +0 -72
  77. data/test/dummy/public/assets/ckeditor/_samples/asp/standalone.asp +0 -72
  78. data/test/dummy/public/assets/ckeditor/_samples/assets/_posteddata-1d3aef6c999e042b6f7d313a9ac0f609.php +0 -59
  79. data/test/dummy/public/assets/ckeditor/_samples/assets/_posteddata.php +0 -59
  80. data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash-0e1abfc75b16edc78c33987ba1380070.swf +0 -0
  81. data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash-1066afe33f62b4aa2d82bcb81f486043.fla +0 -0
  82. data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash.fla +0 -0
  83. data/test/dummy/public/assets/ckeditor/_samples/assets/output_for_flash.swf +0 -0
  84. data/test/dummy/public/assets/ckeditor/_samples/assets/output_xhtml.css +0 -204
  85. data/test/dummy/public/assets/ckeditor/_samples/assets/parsesample.css +0 -70
  86. data/test/dummy/public/assets/ckeditor/_samples/assets/swfobject.js +0 -18
  87. data/test/dummy/public/assets/ckeditor/_samples/autogrow-d75f5b15f788f42dbc9741db3776d69a.html +0 -108
  88. data/test/dummy/public/assets/ckeditor/_samples/autogrow.html +0 -108
  89. data/test/dummy/public/assets/ckeditor/_samples/bbcode-0f74d8e224f5266d89593ec30d11b36b.html +0 -125
  90. data/test/dummy/public/assets/ckeditor/_samples/bbcode.html +0 -125
  91. data/test/dummy/public/assets/ckeditor/_samples/devtools-f3809d9f736e4c808a3d719a92e25cf3.html +0 -94
  92. data/test/dummy/public/assets/ckeditor/_samples/devtools.html +0 -94
  93. data/test/dummy/public/assets/ckeditor/_samples/divreplace-d465028dd7a709153254e7fdd64a5168.html +0 -154
  94. data/test/dummy/public/assets/ckeditor/_samples/divreplace.html +0 -154
  95. data/test/dummy/public/assets/ckeditor/_samples/enterkey-57de47d08ee98aa394821181d6db2cbd.html +0 -115
  96. data/test/dummy/public/assets/ckeditor/_samples/enterkey.html +0 -115
  97. data/test/dummy/public/assets/ckeditor/_samples/fullpage-57a20d50b0a5a8747f335dec7300e9a0.html +0 -82
  98. data/test/dummy/public/assets/ckeditor/_samples/fullpage.html +0 -82
  99. data/test/dummy/public/assets/ckeditor/_samples/index-5cf9715eb1983edee5d3da2da6d3a2b0.html +0 -116
  100. data/test/dummy/public/assets/ckeditor/_samples/index.html +0 -116
  101. data/test/dummy/public/assets/ckeditor/_samples/jqueryadapter-6baf7fff5cc78b08e345459b31f2edeb.html +0 -99
  102. data/test/dummy/public/assets/ckeditor/_samples/jqueryadapter.html +0 -99
  103. data/test/dummy/public/assets/ckeditor/_samples/output_for_flash-659e402a614b6bcdf89d137fcacaa7c2.html +0 -275
  104. data/test/dummy/public/assets/ckeditor/_samples/output_for_flash.html +0 -275
  105. data/test/dummy/public/assets/ckeditor/_samples/output_html-ae26aa60262a0b170e27ed43165467e4.html +0 -285
  106. data/test/dummy/public/assets/ckeditor/_samples/output_html.html +0 -285
  107. data/test/dummy/public/assets/ckeditor/_samples/output_xhtml-2dd3dce4c43dcd7e4aa7ddd8943b374b.html +0 -177
  108. data/test/dummy/public/assets/ckeditor/_samples/output_xhtml.html +0 -177
  109. data/test/dummy/public/assets/ckeditor/_samples/php/advanced-e5323a928a4d1c2883156610f3e0a38e.php +0 -120
  110. data/test/dummy/public/assets/ckeditor/_samples/php/advanced.php +0 -120
  111. data/test/dummy/public/assets/ckeditor/_samples/php/events-5286b70c33caae79a7be1a52a5e9245d.php +0 -153
  112. data/test/dummy/public/assets/ckeditor/_samples/php/events.php +0 -153
  113. data/test/dummy/public/assets/ckeditor/_samples/php/index-946329b00cf358518f2d685586b82e97.html +0 -47
  114. data/test/dummy/public/assets/ckeditor/_samples/php/index.html +0 -47
  115. data/test/dummy/public/assets/ckeditor/_samples/php/replace-ae0be7dbef2f0229baa7d4b56cf5eeea.php +0 -87
  116. data/test/dummy/public/assets/ckeditor/_samples/php/replace.php +0 -87
  117. data/test/dummy/public/assets/ckeditor/_samples/php/replaceall-2278779ada3171438515d024ed1f7d86.php +0 -88
  118. data/test/dummy/public/assets/ckeditor/_samples/php/replaceall.php +0 -88
  119. data/test/dummy/public/assets/ckeditor/_samples/php/standalone-964b35efc041bdf618d27fcd632ab5ad.php +0 -83
  120. data/test/dummy/public/assets/ckeditor/_samples/php/standalone.php +0 -83
  121. data/test/dummy/public/assets/ckeditor/_samples/placeholder-117048862dab5cea78c207cce4bc79b2.html +0 -81
  122. data/test/dummy/public/assets/ckeditor/_samples/placeholder.html +0 -81
  123. data/test/dummy/public/assets/ckeditor/_samples/readonly-34a58f31885ae6e59af2af51cb232433.html +0 -91
  124. data/test/dummy/public/assets/ckeditor/_samples/readonly.html +0 -91
  125. data/test/dummy/public/assets/ckeditor/_samples/replacebyclass-2c0dca58346a180aabf46284ca2b3b26.html +0 -64
  126. data/test/dummy/public/assets/ckeditor/_samples/replacebyclass.html +0 -64
  127. data/test/dummy/public/assets/ckeditor/_samples/replacebycode-87179bec3dfddf48b08ab7d6ddb6e8b0.html +0 -97
  128. data/test/dummy/public/assets/ckeditor/_samples/replacebycode.html +0 -97
  129. data/test/dummy/public/assets/ckeditor/_samples/sample.css +0 -163
  130. data/test/dummy/public/assets/ckeditor/_samples/sample.js +0 -65
  131. data/test/dummy/public/assets/ckeditor/_samples/sample_posteddata-51b7712d6c70ff6dca17de03a4b2d3d1.php +0 -21
  132. data/test/dummy/public/assets/ckeditor/_samples/sample_posteddata.php +0 -21
  133. data/test/dummy/public/assets/ckeditor/_samples/sharedspaces-4bb176a12b4fa9a0f8dafaa8d8580ec7.html +0 -153
  134. data/test/dummy/public/assets/ckeditor/_samples/sharedspaces.html +0 -153
  135. data/test/dummy/public/assets/ckeditor/_samples/skins-c45f1281cd26ea856954c9e28f5de0de.html +0 -110
  136. data/test/dummy/public/assets/ckeditor/_samples/skins.html +0 -110
  137. data/test/dummy/public/assets/ckeditor/_samples/stylesheetparser-64a03394b2a15563465e36ff37207acf.html +0 -93
  138. data/test/dummy/public/assets/ckeditor/_samples/stylesheetparser.html +0 -93
  139. data/test/dummy/public/assets/ckeditor/_samples/tableresize-64c60ccc44d2e031d3f7ea15898da27a.html +0 -115
  140. data/test/dummy/public/assets/ckeditor/_samples/tableresize.html +0 -115
  141. data/test/dummy/public/assets/ckeditor/_samples/ui_color-d8839219a2553c5cd7160488bb1a44ad.html +0 -129
  142. data/test/dummy/public/assets/ckeditor/_samples/ui_color.html +0 -129
  143. data/test/dummy/public/assets/ckeditor/_samples/ui_languages-78f32c64667385393fd630d8998f67e2.html +0 -134
  144. data/test/dummy/public/assets/ckeditor/_samples/ui_languages.html +0 -134
  145. data/test/dummy/public/assets/ckeditor/_source/adapters/jquery.js +0 -306
  146. data/test/dummy/public/assets/ckeditor/_source/core/_bootstrap.js +0 -87
  147. data/test/dummy/public/assets/ckeditor/_source/core/ckeditor.js +0 -141
  148. data/test/dummy/public/assets/ckeditor/_source/core/ckeditor_base.js +0 -227
  149. data/test/dummy/public/assets/ckeditor/_source/core/ckeditor_basic.js +0 -238
  150. data/test/dummy/public/assets/ckeditor/_source/core/command.js +0 -209
  151. data/test/dummy/public/assets/ckeditor/_source/core/commanddefinition.js +0 -129
  152. data/test/dummy/public/assets/ckeditor/_source/core/config.js +0 -439
  153. data/test/dummy/public/assets/ckeditor/_source/core/dataprocessor.js +0 -65
  154. data/test/dummy/public/assets/ckeditor/_source/core/dom.js +0 -20
  155. data/test/dummy/public/assets/ckeditor/_source/core/dom/comment.js +0 -32
  156. data/test/dummy/public/assets/ckeditor/_source/core/dom/document.js +0 -251
  157. data/test/dummy/public/assets/ckeditor/_source/core/dom/documentfragment.js +0 -49
  158. data/test/dummy/public/assets/ckeditor/_source/core/dom/domobject.js +0 -258
  159. data/test/dummy/public/assets/ckeditor/_source/core/dom/element.js +0 -1691
  160. data/test/dummy/public/assets/ckeditor/_source/core/dom/elementpath.js +0 -119
  161. data/test/dummy/public/assets/ckeditor/_source/core/dom/event.js +0 -145
  162. data/test/dummy/public/assets/ckeditor/_source/core/dom/node.js +0 -696
  163. data/test/dummy/public/assets/ckeditor/_source/core/dom/nodelist.js +0 -26
  164. data/test/dummy/public/assets/ckeditor/_source/core/dom/range.js +0 -2054
  165. data/test/dummy/public/assets/ckeditor/_source/core/dom/rangelist.js +0 -213
  166. data/test/dummy/public/assets/ckeditor/_source/core/dom/text.js +0 -128
  167. data/test/dummy/public/assets/ckeditor/_source/core/dom/walker.js +0 -462
  168. data/test/dummy/public/assets/ckeditor/_source/core/dom/window.js +0 -96
  169. data/test/dummy/public/assets/ckeditor/_source/core/dtd.js +0 -266
  170. data/test/dummy/public/assets/ckeditor/_source/core/editor.js +0 -1059
  171. data/test/dummy/public/assets/ckeditor/_source/core/editor_basic.js +0 -186
  172. data/test/dummy/public/assets/ckeditor/_source/core/env.js +0 -305
  173. data/test/dummy/public/assets/ckeditor/_source/core/event.js +0 -342
  174. data/test/dummy/public/assets/ckeditor/_source/core/eventInfo.js +0 -120
  175. data/test/dummy/public/assets/ckeditor/_source/core/focusmanager.js +0 -152
  176. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser.js +0 -224
  177. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/basicwriter.js +0 -145
  178. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/cdata.js +0 -43
  179. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/comment.js +0 -60
  180. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/element.js +0 -308
  181. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/filter.js +0 -288
  182. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/fragment.js +0 -518
  183. data/test/dummy/public/assets/ckeditor/_source/core/htmlparser/text.js +0 -53
  184. data/test/dummy/public/assets/ckeditor/_source/core/lang.js +0 -157
  185. data/test/dummy/public/assets/ckeditor/_source/core/loader.js +0 -240
  186. data/test/dummy/public/assets/ckeditor/_source/core/plugindefinition.js +0 -83
  187. data/test/dummy/public/assets/ckeditor/_source/core/plugins.js +0 -103
  188. data/test/dummy/public/assets/ckeditor/_source/core/resourcemanager.js +0 -238
  189. data/test/dummy/public/assets/ckeditor/_source/core/scriptloader.js +0 -180
  190. data/test/dummy/public/assets/ckeditor/_source/core/skins.js +0 -184
  191. data/test/dummy/public/assets/ckeditor/_source/core/themes.js +0 -19
  192. data/test/dummy/public/assets/ckeditor/_source/core/tools.js +0 -763
  193. data/test/dummy/public/assets/ckeditor/_source/core/ui.js +0 -128
  194. data/test/dummy/public/assets/ckeditor/_source/lang/_languages.js +0 -84
  195. data/test/dummy/public/assets/ckeditor/_source/lang/_translationstatus-d4de76b18adf6359149559be9138847a.txt +0 -61
  196. data/test/dummy/public/assets/ckeditor/_source/lang/_translationstatus.txt +0 -61
  197. data/test/dummy/public/assets/ckeditor/_source/lang/af.js +0 -815
  198. data/test/dummy/public/assets/ckeditor/_source/lang/ar.js +0 -815
  199. data/test/dummy/public/assets/ckeditor/_source/lang/bg.js +0 -815
  200. data/test/dummy/public/assets/ckeditor/_source/lang/bn.js +0 -815
  201. data/test/dummy/public/assets/ckeditor/_source/lang/bs.js +0 -815
  202. data/test/dummy/public/assets/ckeditor/_source/lang/ca.js +0 -815
  203. data/test/dummy/public/assets/ckeditor/_source/lang/cs.js +0 -815
  204. data/test/dummy/public/assets/ckeditor/_source/lang/cy.js +0 -815
  205. data/test/dummy/public/assets/ckeditor/_source/lang/da.js +0 -815
  206. data/test/dummy/public/assets/ckeditor/_source/lang/de.js +0 -815
  207. data/test/dummy/public/assets/ckeditor/_source/lang/el.js +0 -815
  208. data/test/dummy/public/assets/ckeditor/_source/lang/en-au.js +0 -815
  209. data/test/dummy/public/assets/ckeditor/_source/lang/en-ca.js +0 -815
  210. data/test/dummy/public/assets/ckeditor/_source/lang/en-gb.js +0 -815
  211. data/test/dummy/public/assets/ckeditor/_source/lang/en.js +0 -815
  212. data/test/dummy/public/assets/ckeditor/_source/lang/eo.js +0 -815
  213. data/test/dummy/public/assets/ckeditor/_source/lang/es.js +0 -815
  214. data/test/dummy/public/assets/ckeditor/_source/lang/et.js +0 -815
  215. data/test/dummy/public/assets/ckeditor/_source/lang/eu.js +0 -815
  216. data/test/dummy/public/assets/ckeditor/_source/lang/fa.js +0 -815
  217. data/test/dummy/public/assets/ckeditor/_source/lang/fi.js +0 -815
  218. data/test/dummy/public/assets/ckeditor/_source/lang/fo.js +0 -815
  219. data/test/dummy/public/assets/ckeditor/_source/lang/fr-ca.js +0 -815
  220. data/test/dummy/public/assets/ckeditor/_source/lang/fr.js +0 -815
  221. data/test/dummy/public/assets/ckeditor/_source/lang/gl.js +0 -815
  222. data/test/dummy/public/assets/ckeditor/_source/lang/gu.js +0 -815
  223. data/test/dummy/public/assets/ckeditor/_source/lang/he.js +0 -815
  224. data/test/dummy/public/assets/ckeditor/_source/lang/hi.js +0 -815
  225. data/test/dummy/public/assets/ckeditor/_source/lang/hr.js +0 -815
  226. data/test/dummy/public/assets/ckeditor/_source/lang/hu.js +0 -815
  227. data/test/dummy/public/assets/ckeditor/_source/lang/is.js +0 -815
  228. data/test/dummy/public/assets/ckeditor/_source/lang/it.js +0 -815
  229. data/test/dummy/public/assets/ckeditor/_source/lang/ja.js +0 -815
  230. data/test/dummy/public/assets/ckeditor/_source/lang/ka.js +0 -815
  231. data/test/dummy/public/assets/ckeditor/_source/lang/km.js +0 -815
  232. data/test/dummy/public/assets/ckeditor/_source/lang/ko.js +0 -815
  233. data/test/dummy/public/assets/ckeditor/_source/lang/lt.js +0 -815
  234. data/test/dummy/public/assets/ckeditor/_source/lang/lv.js +0 -815
  235. data/test/dummy/public/assets/ckeditor/_source/lang/mn.js +0 -815
  236. data/test/dummy/public/assets/ckeditor/_source/lang/ms.js +0 -815
  237. data/test/dummy/public/assets/ckeditor/_source/lang/nb.js +0 -815
  238. data/test/dummy/public/assets/ckeditor/_source/lang/nl.js +0 -815
  239. data/test/dummy/public/assets/ckeditor/_source/lang/no.js +0 -815
  240. data/test/dummy/public/assets/ckeditor/_source/lang/pl.js +0 -815
  241. data/test/dummy/public/assets/ckeditor/_source/lang/pt-br.js +0 -814
  242. data/test/dummy/public/assets/ckeditor/_source/lang/pt.js +0 -815
  243. data/test/dummy/public/assets/ckeditor/_source/lang/ro.js +0 -815
  244. data/test/dummy/public/assets/ckeditor/_source/lang/ru.js +0 -815
  245. data/test/dummy/public/assets/ckeditor/_source/lang/sk.js +0 -815
  246. data/test/dummy/public/assets/ckeditor/_source/lang/sl.js +0 -815
  247. data/test/dummy/public/assets/ckeditor/_source/lang/sr-latn.js +0 -815
  248. data/test/dummy/public/assets/ckeditor/_source/lang/sr.js +0 -815
  249. data/test/dummy/public/assets/ckeditor/_source/lang/sv.js +0 -814
  250. data/test/dummy/public/assets/ckeditor/_source/lang/th.js +0 -815
  251. data/test/dummy/public/assets/ckeditor/_source/lang/tr.js +0 -814
  252. data/test/dummy/public/assets/ckeditor/_source/lang/uk.js +0 -815
  253. data/test/dummy/public/assets/ckeditor/_source/lang/vi.js +0 -815
  254. data/test/dummy/public/assets/ckeditor/_source/lang/zh-cn.js +0 -815
  255. data/test/dummy/public/assets/ckeditor/_source/lang/zh.js +0 -815
  256. data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +0 -222
  257. data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/lang/en.js +0 -108
  258. data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/lang/he.js +0 -216
  259. data/test/dummy/public/assets/ckeditor/_source/plugins/a11yhelp/plugin.js +0 -47
  260. data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/about.js +0 -76
  261. data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/logo_ckeditor-fc876ee54c60ea0f0bb16ad65ca4deeb.png +0 -0
  262. data/test/dummy/public/assets/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
  263. data/test/dummy/public/assets/ckeditor/_source/plugins/about/plugin.js +0 -24
  264. data/test/dummy/public/assets/ckeditor/_source/plugins/adobeair/plugin.js +0 -228
  265. data/test/dummy/public/assets/ckeditor/_source/plugins/ajax/plugin.js +0 -152
  266. data/test/dummy/public/assets/ckeditor/_source/plugins/autogrow/plugin.js +0 -141
  267. data/test/dummy/public/assets/ckeditor/_source/plugins/basicstyles/plugin.js +0 -129
  268. data/test/dummy/public/assets/ckeditor/_source/plugins/bbcode/plugin.js +0 -931
  269. data/test/dummy/public/assets/ckeditor/_source/plugins/bidi/plugin.js +0 -334
  270. data/test/dummy/public/assets/ckeditor/_source/plugins/blockquote/plugin.js +0 -305
  271. data/test/dummy/public/assets/ckeditor/_source/plugins/button/plugin.js +0 -290
  272. data/test/dummy/public/assets/ckeditor/_source/plugins/clipboard/dialogs/paste.js +0 -223
  273. data/test/dummy/public/assets/ckeditor/_source/plugins/clipboard/plugin.js +0 -453
  274. data/test/dummy/public/assets/ckeditor/_source/plugins/colorbutton/plugin.js +0 -301
  275. data/test/dummy/public/assets/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +0 -340
  276. data/test/dummy/public/assets/ckeditor/_source/plugins/colordialog/plugin.js +0 -15
  277. data/test/dummy/public/assets/ckeditor/_source/plugins/contextmenu/plugin.js +0 -179
  278. data/test/dummy/public/assets/ckeditor/_source/plugins/devtools/lang/en.js +0 -16
  279. data/test/dummy/public/assets/ckeditor/_source/plugins/devtools/plugin.js +0 -173
  280. data/test/dummy/public/assets/ckeditor/_source/plugins/dialog/dialogDefinition.js +0 -1166
  281. data/test/dummy/public/assets/ckeditor/_source/plugins/dialog/plugin.js +0 -3308
  282. data/test/dummy/public/assets/ckeditor/_source/plugins/dialogadvtab/plugin.js +0 -208
  283. data/test/dummy/public/assets/ckeditor/_source/plugins/dialogui/plugin.js +0 -1541
  284. data/test/dummy/public/assets/ckeditor/_source/plugins/div/dialogs/div.js +0 -535
  285. data/test/dummy/public/assets/ckeditor/_source/plugins/div/plugin.js +0 -121
  286. data/test/dummy/public/assets/ckeditor/_source/plugins/docprops/dialogs/docprops.js +0 -674
  287. data/test/dummy/public/assets/ckeditor/_source/plugins/docprops/plugin.js +0 -22
  288. data/test/dummy/public/assets/ckeditor/_source/plugins/domiterator/plugin.js +0 -361
  289. data/test/dummy/public/assets/ckeditor/_source/plugins/editingblock/plugin.js +0 -278
  290. data/test/dummy/public/assets/ckeditor/_source/plugins/elementspath/plugin.js +0 -218
  291. data/test/dummy/public/assets/ckeditor/_source/plugins/enterkey/plugin.js +0 -433
  292. data/test/dummy/public/assets/ckeditor/_source/plugins/entities/plugin.js +0 -250
  293. data/test/dummy/public/assets/ckeditor/_source/plugins/fakeobjects/plugin.js +0 -175
  294. data/test/dummy/public/assets/ckeditor/_source/plugins/filebrowser/plugin.js +0 -534
  295. data/test/dummy/public/assets/ckeditor/_source/plugins/find/dialogs/find.js +0 -915
  296. data/test/dummy/public/assets/ckeditor/_source/plugins/find/plugin.js +0 -47
  297. data/test/dummy/public/assets/ckeditor/_source/plugins/flash/dialogs/flash.js +0 -674
  298. data/test/dummy/public/assets/ckeditor/_source/plugins/flash/images/placeholder-ba59b836184c3127b4b6f60f7a4e0720.png +0 -0
  299. data/test/dummy/public/assets/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
  300. data/test/dummy/public/assets/ckeditor/_source/plugins/flash/plugin.js +0 -154
  301. data/test/dummy/public/assets/ckeditor/_source/plugins/floatpanel/plugin.js +0 -428
  302. data/test/dummy/public/assets/ckeditor/_source/plugins/font/plugin.js +0 -234
  303. data/test/dummy/public/assets/ckeditor/_source/plugins/format/plugin.js +0 -197
  304. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/button.js +0 -118
  305. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/checkbox.js +0 -153
  306. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/form.js +0 -177
  307. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +0 -100
  308. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/radio.js +0 -135
  309. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/select.js +0 -558
  310. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/textarea.js +0 -135
  311. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/dialogs/textfield.js +0 -199
  312. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/images/hiddenfield-4b630612e38369aae8e4502421668aec.gif +0 -0
  313. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
  314. data/test/dummy/public/assets/ckeditor/_source/plugins/forms/plugin.js +0 -288
  315. data/test/dummy/public/assets/ckeditor/_source/plugins/horizontalrule/plugin.js +0 -48
  316. data/test/dummy/public/assets/ckeditor/_source/plugins/htmldataprocessor/plugin.js +0 -596
  317. data/test/dummy/public/assets/ckeditor/_source/plugins/htmlwriter/plugin.js +0 -319
  318. data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/dialogs/iframe.js +0 -229
  319. data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/images/placeholder-0003e18e649512d4360293190828c51e.png +0 -0
  320. data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
  321. data/test/dummy/public/assets/ckeditor/_source/plugins/iframe/plugin.js +0 -87
  322. data/test/dummy/public/assets/ckeditor/_source/plugins/iframedialog/plugin.js +0 -188
  323. data/test/dummy/public/assets/ckeditor/_source/plugins/image/dialogs/image.js +0 -1407
  324. data/test/dummy/public/assets/ckeditor/_source/plugins/image/plugin.js +0 -81
  325. data/test/dummy/public/assets/ckeditor/_source/plugins/indent/plugin.js +0 -461
  326. data/test/dummy/public/assets/ckeditor/_source/plugins/justify/plugin.js +0 -253
  327. data/test/dummy/public/assets/ckeditor/_source/plugins/keystrokes/plugin.js +0 -225
  328. data/test/dummy/public/assets/ckeditor/_source/plugins/link/dialogs/anchor.js +0 -144
  329. data/test/dummy/public/assets/ckeditor/_source/plugins/link/dialogs/link.js +0 -1425
  330. data/test/dummy/public/assets/ckeditor/_source/plugins/link/images/anchor-501974232bdebac2c503f40a23e2108d.gif +0 -0
  331. data/test/dummy/public/assets/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
  332. data/test/dummy/public/assets/ckeditor/_source/plugins/link/plugin.js +0 -374
  333. data/test/dummy/public/assets/ckeditor/_source/plugins/list/plugin.js +0 -774
  334. data/test/dummy/public/assets/ckeditor/_source/plugins/listblock/plugin.js +0 -266
  335. data/test/dummy/public/assets/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +0 -225
  336. data/test/dummy/public/assets/ckeditor/_source/plugins/liststyle/plugin.js +0 -66
  337. data/test/dummy/public/assets/ckeditor/_source/plugins/maximize/plugin.js +0 -353
  338. data/test/dummy/public/assets/ckeditor/_source/plugins/menu/plugin.js +0 -541
  339. data/test/dummy/public/assets/ckeditor/_source/plugins/menubutton/plugin.js +0 -98
  340. data/test/dummy/public/assets/ckeditor/_source/plugins/newpage/plugin.js +0 -55
  341. data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/images/pagebreak-2bbc85d3a07d40c7c7fb8d07c5ba1a91.gif +0 -0
  342. data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
  343. data/test/dummy/public/assets/ckeditor/_source/plugins/pagebreak/plugin.js +0 -164
  344. data/test/dummy/public/assets/ckeditor/_source/plugins/panel/plugin.js +0 -400
  345. data/test/dummy/public/assets/ckeditor/_source/plugins/panelbutton/plugin.js +0 -144
  346. data/test/dummy/public/assets/ckeditor/_source/plugins/pastefromword/filter/default.js +0 -1367
  347. data/test/dummy/public/assets/ckeditor/_source/plugins/pastefromword/plugin.js +0 -141
  348. data/test/dummy/public/assets/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +0 -67
  349. data/test/dummy/public/assets/ckeditor/_source/plugins/pastetext/plugin.js +0 -98
  350. data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +0 -71
  351. data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/lang/en.js +0 -16
  352. data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/lang/he.js +0 -16
  353. data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/placeholder-3fa52c05f290e714bb7ce46ef9e1e3fd.gif +0 -0
  354. data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
  355. data/test/dummy/public/assets/ckeditor/_source/plugins/placeholder/plugin.js +0 -171
  356. data/test/dummy/public/assets/ckeditor/_source/plugins/popup/plugin.js +0 -64
  357. data/test/dummy/public/assets/ckeditor/_source/plugins/preview/plugin.js +0 -113
  358. data/test/dummy/public/assets/ckeditor/_source/plugins/print/plugin.js +0 -42
  359. data/test/dummy/public/assets/ckeditor/_source/plugins/removeformat/plugin.js +0 -185
  360. data/test/dummy/public/assets/ckeditor/_source/plugins/resize/plugin.js +0 -168
  361. data/test/dummy/public/assets/ckeditor/_source/plugins/richcombo/plugin.js +0 -381
  362. data/test/dummy/public/assets/ckeditor/_source/plugins/save/plugin.js +0 -56
  363. data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/dialogs/options.js +0 -537
  364. data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +0 -71
  365. data/test/dummy/public/assets/ckeditor/_source/plugins/scayt/plugin.js +0 -973
  366. data/test/dummy/public/assets/ckeditor/_source/plugins/selection/plugin.js +0 -1729
  367. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_address-03733f204b35c6ea053d6dc766e627f4.png +0 -0
  368. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
  369. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_blockquote-9f5a2341078595e812f4390673e1d691.png +0 -0
  370. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
  371. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_div-197a3f96741fe9008a4679d26fdb7f2c.png +0 -0
  372. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
  373. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h1-2ef949aef3e9e43f866cd44f6b912617.png +0 -0
  374. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
  375. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h2-a1bd5af6674ec59ab8dd2753d1fe7123.png +0 -0
  376. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
  377. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h3-94ce278fa39900a6603e7c509116d322.png +0 -0
  378. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
  379. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h4-6c8bbaba545a3e0c29e06bb015ff38f6.png +0 -0
  380. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
  381. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h5-b22e60c26c7c654fcc751f77c16cad59.png +0 -0
  382. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
  383. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h6-184a0c99cd06c2d7d329a1ce8aab7963.png +0 -0
  384. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
  385. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_p-638869d4338d1e1ebb9eaa4f73de174d.png +0 -0
  386. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
  387. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_pre-ebdbe4b89d8955761f6a97a891c8aa19.png +0 -0
  388. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
  389. data/test/dummy/public/assets/ckeditor/_source/plugins/showblocks/plugin.js +0 -160
  390. data/test/dummy/public/assets/ckeditor/_source/plugins/showborders/plugin.js +0 -207
  391. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/dialogs/smiley.js +0 -224
  392. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angel_smile-61a21f5af1321a26350cb2ac7f9ecab8.gif +0 -0
  393. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
  394. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angry_smile-5f6ecc899507a1b169bb7a8a62372441.gif +0 -0
  395. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
  396. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/broken_heart-089eb8c05b66c50383cf43a94170bcd7.gif +0 -0
  397. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
  398. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/confused_smile-bdfd0e16b074007d0621999fd50f5348.gif +0 -0
  399. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
  400. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/cry_smile-e28cb803c6d8eaa6f22f90489b4c519c.gif +0 -0
  401. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
  402. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/devil_smile-77d7bfa3796df2c81858e285c4b65d97.gif +0 -0
  403. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
  404. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/embaressed_smile-16ef2926176e59d29ec7fe3a2bfe2e02.gif +0 -0
  405. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
  406. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/envelope-c2077dc5ae53ac8ec69c9ff0b8386938.gif +0 -0
  407. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
  408. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/heart-2d8a0eaaf7c2e42f579e78464a8d443f.gif +0 -0
  409. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
  410. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/kiss-a4e7f76f10b1fbe1891e6db5bb900b1b.gif +0 -0
  411. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
  412. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/lightbulb-939e2ca2cb123f03c8ee11e53dce7a35.gif +0 -0
  413. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
  414. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/omg_smile-84ae8a1fc1c04e9289421037347799ba.gif +0 -0
  415. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
  416. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/regular_smile-6b1e1690d88c16913eb05dd119f221d9.gif +0 -0
  417. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
  418. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/sad_smile-bf3a033d9be803b4f5b38b9b0c258704.gif +0 -0
  419. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
  420. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/shades_smile-bd6d9f1ef7c868ef160aafc4da42fdad.gif +0 -0
  421. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
  422. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/teeth_smile-7da3f610067417297b3a235899688067.gif +0 -0
  423. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
  424. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_down-abcf7aad6e8ccd1e0786786bc5594c7a.gif +0 -0
  425. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
  426. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_up-e5239bab9fb2674ce22705d232cd29f3.gif +0 -0
  427. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
  428. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/tounge_smile-66d4ad71a8977e7e9871a18c5a79952f.gif +0 -0
  429. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
  430. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile-a831e713a52639619968a6c67ade659b.gif +0 -0
  431. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  432. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/wink_smile-81177f9fe9e8c62c8bc1dac30fbedf12.gif +0 -0
  433. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
  434. data/test/dummy/public/assets/ckeditor/_source/plugins/smiley/plugin.js +0 -94
  435. data/test/dummy/public/assets/ckeditor/_source/plugins/sourcearea/plugin.js +0 -209
  436. data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +0 -350
  437. data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/lang/en.js +0 -122
  438. data/test/dummy/public/assets/ckeditor/_source/plugins/specialchar/plugin.js +0 -70
  439. data/test/dummy/public/assets/ckeditor/_source/plugins/styles/plugin.js +0 -1700
  440. data/test/dummy/public/assets/ckeditor/_source/plugins/styles/styles/default.js +0 -88
  441. data/test/dummy/public/assets/ckeditor/_source/plugins/stylescombo/plugin.js +0 -218
  442. data/test/dummy/public/assets/ckeditor/_source/plugins/stylesheetparser/plugin.js +0 -148
  443. data/test/dummy/public/assets/ckeditor/_source/plugins/tab/plugin.js +0 -367
  444. data/test/dummy/public/assets/ckeditor/_source/plugins/table/dialogs/table.js +0 -623
  445. data/test/dummy/public/assets/ckeditor/_source/plugins/table/plugin.js +0 -78
  446. data/test/dummy/public/assets/ckeditor/_source/plugins/tableresize/plugin.js +0 -443
  447. data/test/dummy/public/assets/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +0 -525
  448. data/test/dummy/public/assets/ckeditor/_source/plugins/tabletools/plugin.js +0 -1194
  449. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/dialogs/templates.js +0 -234
  450. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/plugin.js +0 -99
  451. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/default.js +0 -94
  452. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template1-ea363748d77b692075af885f384ae6bd.gif +0 -0
  453. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
  454. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template2-6401418f8e62efe47b7a87c734c9dd25.gif +0 -0
  455. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
  456. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template3-ef931fe4fdb3fa35897598a2df449988.gif +0 -0
  457. data/test/dummy/public/assets/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
  458. data/test/dummy/public/assets/ckeditor/_source/plugins/toolbar/plugin.js +0 -545
  459. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +0 -205
  460. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/lang/en.js +0 -15
  461. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/lang/he.js +0 -15
  462. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/plugin.js +0 -37
  463. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/uicolor-8ce2d3d1bf5d83b297c1568e065fd6e9.gif +0 -0
  464. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
  465. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg-c2d8d7faeb9d4b01f3008cda322f2763.png +0 -0
  466. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  467. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb-8e5fb8d26c158303b319553876a2a799.png +0 -0
  468. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  469. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask-ac846f51ee3570c6880d2a88cb4c5353.png +0 -0
  470. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  471. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb-aed7c70c1854dac98bd8310da084d689.png +0 -0
  472. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  473. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +0 -15
  474. data/test/dummy/public/assets/ckeditor/_source/plugins/uicolor/yui/yui.js +0 -71
  475. data/test/dummy/public/assets/ckeditor/_source/plugins/undo/plugin.js +0 -578
  476. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/ciframe-c7c588e16f092fdb33f9522df57acdf7.html +0 -49
  477. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +0 -49
  478. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset-2ed47c8c321406680828cd39a4cfd841.html +0 -52
  479. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  480. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/wsc.css +0 -82
  481. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/dialogs/wsc.js +0 -192
  482. data/test/dummy/public/assets/ckeditor/_source/plugins/wsc/plugin.js +0 -33
  483. data/test/dummy/public/assets/ckeditor/_source/plugins/wysiwygarea/plugin.js +0 -1347
  484. data/test/dummy/public/assets/ckeditor/_source/plugins/xml/plugin.js +0 -170
  485. data/test/dummy/public/assets/ckeditor/_source/skins/kama/dialog.css +0 -989
  486. data/test/dummy/public/assets/ckeditor/_source/skins/kama/editor.css +0 -25
  487. data/test/dummy/public/assets/ckeditor/_source/skins/kama/elementspath.css +0 -73
  488. data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
  489. data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons.css +0 -366
  490. data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons.png +0 -0
  491. data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
  492. data/test/dummy/public/assets/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  493. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
  494. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
  495. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  496. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  497. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
  498. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  499. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
  500. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/mini.gif +0 -0
  501. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
  502. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/noimage.png +0 -0
  503. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites-37a3ebdc1b4393eefbc4520a02938daf.png +0 -0
  504. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites.png +0 -0
  505. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites_ie6-105615f241302fed23e7aae2411b4a1f.png +0 -0
  506. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  507. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
  508. data/test/dummy/public/assets/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  509. data/test/dummy/public/assets/ckeditor/_source/skins/kama/mainui.css +0 -206
  510. data/test/dummy/public/assets/ckeditor/_source/skins/kama/menu.css +0 -232
  511. data/test/dummy/public/assets/ckeditor/_source/skins/kama/panel.css +0 -217
  512. data/test/dummy/public/assets/ckeditor/_source/skins/kama/presets.css +0 -49
  513. data/test/dummy/public/assets/ckeditor/_source/skins/kama/reset.css +0 -85
  514. data/test/dummy/public/assets/ckeditor/_source/skins/kama/richcombo.css +0 -287
  515. data/test/dummy/public/assets/ckeditor/_source/skins/kama/skin.js +0 -236
  516. data/test/dummy/public/assets/ckeditor/_source/skins/kama/templates.css +0 -88
  517. data/test/dummy/public/assets/ckeditor/_source/skins/kama/toolbar.css +0 -408
  518. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/dialog.css +0 -891
  519. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/editor.css +0 -25
  520. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/elementspath.css +0 -74
  521. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
  522. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons.css +0 -363
  523. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons.png +0 -0
  524. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
  525. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
  526. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides-75a65a85a2b30468dc1beac0c54d1fb9.png +0 -0
  527. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides-edefdf8c116d4656501f13731ae8ff5b.gif +0 -0
  528. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
  529. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
  530. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides_rtl-77bbf3783e5dc7984f3be35faf7779fb.png +0 -0
  531. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
  532. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
  533. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
  534. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
  535. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
  536. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites-55354902984711767f69cf5f190b9d42.png +0 -0
  537. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
  538. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites_ie6-ea9534ccd0a64d8d14579a37bcdaaeb9.png +0 -0
  539. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
  540. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/mainui.css +0 -153
  541. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/menu.css +0 -229
  542. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/panel.css +0 -212
  543. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/presets.css +0 -49
  544. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/reset.css +0 -85
  545. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/richcombo.css +0 -309
  546. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/skin.js +0 -74
  547. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/templates.css +0 -87
  548. data/test/dummy/public/assets/ckeditor/_source/skins/office2003/toolbar.css +0 -522
  549. data/test/dummy/public/assets/ckeditor/_source/skins/v2/dialog.css +0 -907
  550. data/test/dummy/public/assets/ckeditor/_source/skins/v2/editor.css +0 -25
  551. data/test/dummy/public/assets/ckeditor/_source/skins/v2/elementspath.css +0 -74
  552. data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
  553. data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons.css +0 -363
  554. data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons.png +0 -0
  555. data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
  556. data/test/dummy/public/assets/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
  557. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
  558. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
  559. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
  560. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
  561. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
  562. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
  563. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
  564. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/mini.gif +0 -0
  565. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
  566. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/noimage.png +0 -0
  567. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites-781d681644b31f32868856fa132e4906.png +0 -0
  568. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites.png +0 -0
  569. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites_ie6-9c6895a740fc1778a432cce5b91bc281.png +0 -0
  570. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
  571. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
  572. data/test/dummy/public/assets/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
  573. data/test/dummy/public/assets/ckeditor/_source/skins/v2/mainui.css +0 -162
  574. data/test/dummy/public/assets/ckeditor/_source/skins/v2/menu.css +0 -232
  575. data/test/dummy/public/assets/ckeditor/_source/skins/v2/panel.css +0 -212
  576. data/test/dummy/public/assets/ckeditor/_source/skins/v2/presets.css +0 -50
  577. data/test/dummy/public/assets/ckeditor/_source/skins/v2/reset.css +0 -85
  578. data/test/dummy/public/assets/ckeditor/_source/skins/v2/richcombo.css +0 -302
  579. data/test/dummy/public/assets/ckeditor/_source/skins/v2/skin.js +0 -70
  580. data/test/dummy/public/assets/ckeditor/_source/skins/v2/templates.css +0 -87
  581. data/test/dummy/public/assets/ckeditor/_source/skins/v2/toolbar.css +0 -465
  582. data/test/dummy/public/assets/ckeditor/_source/themes/default/theme.js +0 -407
  583. data/test/dummy/public/assets/ckeditor/adapters/jquery.js +0 -6
  584. data/test/dummy/public/assets/ckeditor/ckeditor-375b08659b4cb8f72be5ee3587123e65.pack +0 -211
  585. data/test/dummy/public/assets/ckeditor/ckeditor-443f9c44cd2d9283d11a70ab3fcf480a.php +0 -29
  586. data/test/dummy/public/assets/ckeditor/ckeditor-d4b0a17fd7607891a271f2430be8835d.asp +0 -955
  587. data/test/dummy/public/assets/ckeditor/ckeditor.asp +0 -955
  588. data/test/dummy/public/assets/ckeditor/ckeditor.js +0 -149
  589. data/test/dummy/public/assets/ckeditor/ckeditor.pack +0 -211
  590. data/test/dummy/public/assets/ckeditor/ckeditor.php +0 -29
  591. data/test/dummy/public/assets/ckeditor/ckeditor_basic.js +0 -8
  592. data/test/dummy/public/assets/ckeditor/ckeditor_basic_source.js +0 -20
  593. data/test/dummy/public/assets/ckeditor/ckeditor_php4-e6e1feca4ad8048e38b87150326bb706.php +0 -566
  594. data/test/dummy/public/assets/ckeditor/ckeditor_php4.php +0 -566
  595. data/test/dummy/public/assets/ckeditor/ckeditor_php5-2ac2cebe11e6dbe76831c21173cc6d36.php +0 -556
  596. data/test/dummy/public/assets/ckeditor/ckeditor_php5.php +0 -556
  597. data/test/dummy/public/assets/ckeditor/ckeditor_source.js +0 -35
  598. data/test/dummy/public/assets/ckeditor/config.js +0 -11
  599. data/test/dummy/public/assets/ckeditor/contents.css +0 -25
  600. data/test/dummy/public/assets/ckeditor/images/spacer-dade68cd2b33bdcd06c6a8f59676327e.gif +0 -0
  601. data/test/dummy/public/assets/ckeditor/images/spacer.gif +0 -0
  602. data/test/dummy/public/assets/ckeditor/lang/_languages.js +0 -6
  603. data/test/dummy/public/assets/ckeditor/lang/_translationstatus-d4de76b18adf6359149559be9138847a.txt +0 -61
  604. data/test/dummy/public/assets/ckeditor/lang/_translationstatus.txt +0 -61
  605. data/test/dummy/public/assets/ckeditor/lang/af.js +0 -6
  606. data/test/dummy/public/assets/ckeditor/lang/ar.js +0 -6
  607. data/test/dummy/public/assets/ckeditor/lang/bg.js +0 -6
  608. data/test/dummy/public/assets/ckeditor/lang/bn.js +0 -6
  609. data/test/dummy/public/assets/ckeditor/lang/bs.js +0 -6
  610. data/test/dummy/public/assets/ckeditor/lang/ca.js +0 -6
  611. data/test/dummy/public/assets/ckeditor/lang/cs.js +0 -6
  612. data/test/dummy/public/assets/ckeditor/lang/cy.js +0 -6
  613. data/test/dummy/public/assets/ckeditor/lang/da.js +0 -6
  614. data/test/dummy/public/assets/ckeditor/lang/de.js +0 -6
  615. data/test/dummy/public/assets/ckeditor/lang/el.js +0 -6
  616. data/test/dummy/public/assets/ckeditor/lang/en-au.js +0 -6
  617. data/test/dummy/public/assets/ckeditor/lang/en-ca.js +0 -6
  618. data/test/dummy/public/assets/ckeditor/lang/en-gb.js +0 -6
  619. data/test/dummy/public/assets/ckeditor/lang/en.js +0 -6
  620. data/test/dummy/public/assets/ckeditor/lang/eo.js +0 -6
  621. data/test/dummy/public/assets/ckeditor/lang/es.js +0 -6
  622. data/test/dummy/public/assets/ckeditor/lang/et.js +0 -6
  623. data/test/dummy/public/assets/ckeditor/lang/eu.js +0 -6
  624. data/test/dummy/public/assets/ckeditor/lang/fa.js +0 -6
  625. data/test/dummy/public/assets/ckeditor/lang/fi.js +0 -6
  626. data/test/dummy/public/assets/ckeditor/lang/fo.js +0 -6
  627. data/test/dummy/public/assets/ckeditor/lang/fr-ca.js +0 -6
  628. data/test/dummy/public/assets/ckeditor/lang/fr.js +0 -6
  629. data/test/dummy/public/assets/ckeditor/lang/gl.js +0 -6
  630. data/test/dummy/public/assets/ckeditor/lang/gu.js +0 -6
  631. data/test/dummy/public/assets/ckeditor/lang/he.js +0 -6
  632. data/test/dummy/public/assets/ckeditor/lang/hi.js +0 -6
  633. data/test/dummy/public/assets/ckeditor/lang/hr.js +0 -6
  634. data/test/dummy/public/assets/ckeditor/lang/hu.js +0 -6
  635. data/test/dummy/public/assets/ckeditor/lang/is.js +0 -6
  636. data/test/dummy/public/assets/ckeditor/lang/it.js +0 -6
  637. data/test/dummy/public/assets/ckeditor/lang/ja.js +0 -6
  638. data/test/dummy/public/assets/ckeditor/lang/ka.js +0 -6
  639. data/test/dummy/public/assets/ckeditor/lang/km.js +0 -6
  640. data/test/dummy/public/assets/ckeditor/lang/ko.js +0 -6
  641. data/test/dummy/public/assets/ckeditor/lang/lt.js +0 -6
  642. data/test/dummy/public/assets/ckeditor/lang/lv.js +0 -6
  643. data/test/dummy/public/assets/ckeditor/lang/mn.js +0 -6
  644. data/test/dummy/public/assets/ckeditor/lang/ms.js +0 -6
  645. data/test/dummy/public/assets/ckeditor/lang/nb.js +0 -6
  646. data/test/dummy/public/assets/ckeditor/lang/nl.js +0 -6
  647. data/test/dummy/public/assets/ckeditor/lang/no.js +0 -6
  648. data/test/dummy/public/assets/ckeditor/lang/pl.js +0 -6
  649. data/test/dummy/public/assets/ckeditor/lang/pt-br.js +0 -6
  650. data/test/dummy/public/assets/ckeditor/lang/pt.js +0 -6
  651. data/test/dummy/public/assets/ckeditor/lang/ro.js +0 -6
  652. data/test/dummy/public/assets/ckeditor/lang/ru.js +0 -6
  653. data/test/dummy/public/assets/ckeditor/lang/sk.js +0 -6
  654. data/test/dummy/public/assets/ckeditor/lang/sl.js +0 -6
  655. data/test/dummy/public/assets/ckeditor/lang/sr-latn.js +0 -6
  656. data/test/dummy/public/assets/ckeditor/lang/sr.js +0 -6
  657. data/test/dummy/public/assets/ckeditor/lang/sv.js +0 -6
  658. data/test/dummy/public/assets/ckeditor/lang/th.js +0 -6
  659. data/test/dummy/public/assets/ckeditor/lang/tr.js +0 -6
  660. data/test/dummy/public/assets/ckeditor/lang/uk.js +0 -6
  661. data/test/dummy/public/assets/ckeditor/lang/vi.js +0 -6
  662. data/test/dummy/public/assets/ckeditor/lang/zh-cn.js +0 -6
  663. data/test/dummy/public/assets/ckeditor/lang/zh.js +0 -6
  664. data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -7
  665. data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
  666. data/test/dummy/public/assets/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
  667. data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/about.js +0 -6
  668. data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor-fc876ee54c60ea0f0bb16ad65ca4deeb.png +0 -0
  669. data/test/dummy/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  670. data/test/dummy/public/assets/ckeditor/plugins/adobeair/plugin.js +0 -6
  671. data/test/dummy/public/assets/ckeditor/plugins/ajax/plugin.js +0 -6
  672. data/test/dummy/public/assets/ckeditor/plugins/autogrow/plugin.js +0 -6
  673. data/test/dummy/public/assets/ckeditor/plugins/bbcode/plugin.js +0 -9
  674. data/test/dummy/public/assets/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
  675. data/test/dummy/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -7
  676. data/test/dummy/public/assets/ckeditor/plugins/devtools/lang/en.js +0 -6
  677. data/test/dummy/public/assets/ckeditor/plugins/devtools/plugin.js +0 -6
  678. data/test/dummy/public/assets/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  679. data/test/dummy/public/assets/ckeditor/plugins/div/dialogs/div.js +0 -8
  680. data/test/dummy/public/assets/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
  681. data/test/dummy/public/assets/ckeditor/plugins/docprops/plugin.js +0 -6
  682. data/test/dummy/public/assets/ckeditor/plugins/find/dialogs/find.js +0 -10
  683. data/test/dummy/public/assets/ckeditor/plugins/flash/dialogs/flash.js +0 -9
  684. data/test/dummy/public/assets/ckeditor/plugins/flash/images/placeholder-ba59b836184c3127b4b6f60f7a4e0720.png +0 -0
  685. data/test/dummy/public/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
  686. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/button.js +0 -6
  687. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
  688. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/form.js +0 -6
  689. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
  690. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/radio.js +0 -6
  691. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/select.js +0 -9
  692. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
  693. data/test/dummy/public/assets/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
  694. data/test/dummy/public/assets/ckeditor/plugins/forms/images/hiddenfield-4b630612e38369aae8e4502421668aec.gif +0 -0
  695. data/test/dummy/public/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  696. data/test/dummy/public/assets/ckeditor/plugins/iframe/dialogs/iframe.js +0 -7
  697. data/test/dummy/public/assets/ckeditor/plugins/iframe/images/placeholder-0003e18e649512d4360293190828c51e.png +0 -0
  698. data/test/dummy/public/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  699. data/test/dummy/public/assets/ckeditor/plugins/iframedialog/plugin.js +0 -6
  700. data/test/dummy/public/assets/ckeditor/plugins/image/dialogs/image.js +0 -13
  701. data/test/dummy/public/assets/ckeditor/plugins/link/dialogs/anchor.js +0 -6
  702. data/test/dummy/public/assets/ckeditor/plugins/link/dialogs/link.js +0 -12
  703. data/test/dummy/public/assets/ckeditor/plugins/link/images/anchor-501974232bdebac2c503f40a23e2108d.gif +0 -0
  704. data/test/dummy/public/assets/ckeditor/plugins/link/images/anchor.gif +0 -0
  705. data/test/dummy/public/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -7
  706. data/test/dummy/public/assets/ckeditor/plugins/pagebreak/images/pagebreak-2bbc85d3a07d40c7c7fb8d07c5ba1a91.gif +0 -0
  707. data/test/dummy/public/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  708. data/test/dummy/public/assets/ckeditor/plugins/pastefromword/filter/default.js +0 -11
  709. data/test/dummy/public/assets/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  710. data/test/dummy/public/assets/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
  711. data/test/dummy/public/assets/ckeditor/plugins/placeholder/lang/en.js +0 -6
  712. data/test/dummy/public/assets/ckeditor/plugins/placeholder/lang/he.js +0 -6
  713. data/test/dummy/public/assets/ckeditor/plugins/placeholder/placeholder-3fa52c05f290e714bb7ce46ef9e1e3fd.gif +0 -0
  714. data/test/dummy/public/assets/ckeditor/plugins/placeholder/placeholder.gif +0 -0
  715. data/test/dummy/public/assets/ckeditor/plugins/placeholder/plugin.js +0 -6
  716. data/test/dummy/public/assets/ckeditor/plugins/scayt/dialogs/options.js +0 -8
  717. data/test/dummy/public/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
  718. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_address-03733f204b35c6ea053d6dc766e627f4.png +0 -0
  719. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  720. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_blockquote-9f5a2341078595e812f4390673e1d691.png +0 -0
  721. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  722. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_div-197a3f96741fe9008a4679d26fdb7f2c.png +0 -0
  723. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  724. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h1-2ef949aef3e9e43f866cd44f6b912617.png +0 -0
  725. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  726. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h2-a1bd5af6674ec59ab8dd2753d1fe7123.png +0 -0
  727. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  728. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h3-94ce278fa39900a6603e7c509116d322.png +0 -0
  729. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  730. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h4-6c8bbaba545a3e0c29e06bb015ff38f6.png +0 -0
  731. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  732. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h5-b22e60c26c7c654fcc751f77c16cad59.png +0 -0
  733. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  734. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h6-184a0c99cd06c2d7d329a1ce8aab7963.png +0 -0
  735. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  736. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_p-638869d4338d1e1ebb9eaa4f73de174d.png +0 -0
  737. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  738. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_pre-ebdbe4b89d8955761f6a97a891c8aa19.png +0 -0
  739. data/test/dummy/public/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  740. data/test/dummy/public/assets/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
  741. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angel_smile-61a21f5af1321a26350cb2ac7f9ecab8.gif +0 -0
  742. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  743. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angry_smile-5f6ecc899507a1b169bb7a8a62372441.gif +0 -0
  744. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  745. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/broken_heart-089eb8c05b66c50383cf43a94170bcd7.gif +0 -0
  746. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  747. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/confused_smile-bdfd0e16b074007d0621999fd50f5348.gif +0 -0
  748. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  749. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/cry_smile-e28cb803c6d8eaa6f22f90489b4c519c.gif +0 -0
  750. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  751. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/devil_smile-77d7bfa3796df2c81858e285c4b65d97.gif +0 -0
  752. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  753. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/embaressed_smile-16ef2926176e59d29ec7fe3a2bfe2e02.gif +0 -0
  754. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  755. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/envelope-c2077dc5ae53ac8ec69c9ff0b8386938.gif +0 -0
  756. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  757. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/heart-2d8a0eaaf7c2e42f579e78464a8d443f.gif +0 -0
  758. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
  759. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/kiss-a4e7f76f10b1fbe1891e6db5bb900b1b.gif +0 -0
  760. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  761. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/lightbulb-939e2ca2cb123f03c8ee11e53dce7a35.gif +0 -0
  762. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  763. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/omg_smile-84ae8a1fc1c04e9289421037347799ba.gif +0 -0
  764. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  765. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/regular_smile-6b1e1690d88c16913eb05dd119f221d9.gif +0 -0
  766. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  767. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/sad_smile-bf3a033d9be803b4f5b38b9b0c258704.gif +0 -0
  768. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  769. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/shades_smile-bd6d9f1ef7c868ef160aafc4da42fdad.gif +0 -0
  770. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  771. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/teeth_smile-7da3f610067417297b3a235899688067.gif +0 -0
  772. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  773. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_down-abcf7aad6e8ccd1e0786786bc5594c7a.gif +0 -0
  774. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  775. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_up-e5239bab9fb2674ce22705d232cd29f3.gif +0 -0
  776. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  777. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/tounge_smile-66d4ad71a8977e7e9871a18c5a79952f.gif +0 -0
  778. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  779. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile-a831e713a52639619968a6c67ade659b.gif +0 -0
  780. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  781. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/wink_smile-81177f9fe9e8c62c8bc1dac30fbedf12.gif +0 -0
  782. data/test/dummy/public/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  783. data/test/dummy/public/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
  784. data/test/dummy/public/assets/ckeditor/plugins/specialchar/lang/en.js +0 -6
  785. data/test/dummy/public/assets/ckeditor/plugins/styles/styles/default.js +0 -6
  786. data/test/dummy/public/assets/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
  787. data/test/dummy/public/assets/ckeditor/plugins/table/dialogs/table.js +0 -9
  788. data/test/dummy/public/assets/ckeditor/plugins/tableresize/plugin.js +0 -7
  789. data/test/dummy/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -8
  790. data/test/dummy/public/assets/ckeditor/plugins/templates/dialogs/templates.js +0 -7
  791. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/default.js +0 -6
  792. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template1-ea363748d77b692075af885f384ae6bd.gif +0 -0
  793. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  794. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template2-6401418f8e62efe47b7a87c734c9dd25.gif +0 -0
  795. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  796. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template3-ef931fe4fdb3fa35897598a2df449988.gif +0 -0
  797. data/test/dummy/public/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  798. data/test/dummy/public/assets/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  799. data/test/dummy/public/assets/ckeditor/plugins/uicolor/lang/en.js +0 -6
  800. data/test/dummy/public/assets/ckeditor/plugins/uicolor/lang/he.js +0 -6
  801. data/test/dummy/public/assets/ckeditor/plugins/uicolor/plugin.js +0 -6
  802. data/test/dummy/public/assets/ckeditor/plugins/uicolor/uicolor-8ce2d3d1bf5d83b297c1568e065fd6e9.gif +0 -0
  803. data/test/dummy/public/assets/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  804. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_bg-c2d8d7faeb9d4b01f3008cda322f2763.png +0 -0
  805. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  806. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_thumb-8e5fb8d26c158303b319553876a2a799.png +0 -0
  807. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  808. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_mask-ac846f51ee3570c6880d2a88cb4c5353.png +0 -0
  809. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  810. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_thumb-aed7c70c1854dac98bd8310da084d689.png +0 -0
  811. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  812. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  813. data/test/dummy/public/assets/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  814. data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/ciframe-c7c588e16f092fdb33f9522df57acdf7.html +0 -49
  815. data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  816. data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset-2ed47c8c321406680828cd39a4cfd841.html +0 -52
  817. data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  818. data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
  819. data/test/dummy/public/assets/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
  820. data/test/dummy/public/assets/ckeditor/plugins/xml/plugin.js +0 -6
  821. data/test/dummy/public/assets/ckeditor/skins/kama/dialog.css +0 -10
  822. data/test/dummy/public/assets/ckeditor/skins/kama/editor.css +0 -13
  823. data/test/dummy/public/assets/ckeditor/skins/kama/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
  824. data/test/dummy/public/assets/ckeditor/skins/kama/icons.png +0 -0
  825. data/test/dummy/public/assets/ckeditor/skins/kama/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
  826. data/test/dummy/public/assets/ckeditor/skins/kama/icons_rtl.png +0 -0
  827. data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
  828. data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
  829. data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  830. data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  831. data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
  832. data/test/dummy/public/assets/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  833. data/test/dummy/public/assets/ckeditor/skins/kama/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
  834. data/test/dummy/public/assets/ckeditor/skins/kama/images/mini.gif +0 -0
  835. data/test/dummy/public/assets/ckeditor/skins/kama/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
  836. data/test/dummy/public/assets/ckeditor/skins/kama/images/noimage.png +0 -0
  837. data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites-37a3ebdc1b4393eefbc4520a02938daf.png +0 -0
  838. data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites.png +0 -0
  839. data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites_ie6-105615f241302fed23e7aae2411b4a1f.png +0 -0
  840. data/test/dummy/public/assets/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  841. data/test/dummy/public/assets/ckeditor/skins/kama/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
  842. data/test/dummy/public/assets/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  843. data/test/dummy/public/assets/ckeditor/skins/kama/skin.js +0 -7
  844. data/test/dummy/public/assets/ckeditor/skins/kama/templates.css +0 -6
  845. data/test/dummy/public/assets/ckeditor/skins/office2003/dialog.css +0 -9
  846. data/test/dummy/public/assets/ckeditor/skins/office2003/editor.css +0 -14
  847. data/test/dummy/public/assets/ckeditor/skins/office2003/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
  848. data/test/dummy/public/assets/ckeditor/skins/office2003/icons.png +0 -0
  849. data/test/dummy/public/assets/ckeditor/skins/office2003/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
  850. data/test/dummy/public/assets/ckeditor/skins/office2003/icons_rtl.png +0 -0
  851. data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides-75a65a85a2b30468dc1beac0c54d1fb9.png +0 -0
  852. data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides-edefdf8c116d4656501f13731ae8ff5b.gif +0 -0
  853. data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  854. data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  855. data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides_rtl-77bbf3783e5dc7984f3be35faf7779fb.png +0 -0
  856. data/test/dummy/public/assets/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  857. data/test/dummy/public/assets/ckeditor/skins/office2003/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
  858. data/test/dummy/public/assets/ckeditor/skins/office2003/images/mini.gif +0 -0
  859. data/test/dummy/public/assets/ckeditor/skins/office2003/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
  860. data/test/dummy/public/assets/ckeditor/skins/office2003/images/noimage.png +0 -0
  861. data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites-55354902984711767f69cf5f190b9d42.png +0 -0
  862. data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites.png +0 -0
  863. data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites_ie6-ea9534ccd0a64d8d14579a37bcdaaeb9.png +0 -0
  864. data/test/dummy/public/assets/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  865. data/test/dummy/public/assets/ckeditor/skins/office2003/skin.js +0 -6
  866. data/test/dummy/public/assets/ckeditor/skins/office2003/templates.css +0 -6
  867. data/test/dummy/public/assets/ckeditor/skins/v2/dialog.css +0 -9
  868. data/test/dummy/public/assets/ckeditor/skins/v2/editor.css +0 -13
  869. data/test/dummy/public/assets/ckeditor/skins/v2/icons-2f0d4921addf1896455275e7ccb7d0ff.png +0 -0
  870. data/test/dummy/public/assets/ckeditor/skins/v2/icons.png +0 -0
  871. data/test/dummy/public/assets/ckeditor/skins/v2/icons_rtl-fe1043485a7af2aaf254c823086123ba.png +0 -0
  872. data/test/dummy/public/assets/ckeditor/skins/v2/icons_rtl.png +0 -0
  873. data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides-1bd20fa0a9f35f0921eccfbb345490e2.gif +0 -0
  874. data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides-b54c340d7451e52aaecf7e944f15bde8.png +0 -0
  875. data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  876. data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  877. data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides_rtl-53a84633be082d2b19a805a9398cfe03.png +0 -0
  878. data/test/dummy/public/assets/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  879. data/test/dummy/public/assets/ckeditor/skins/v2/images/mini-92ae7c7f7f48d849814f5e331cb2bd24.gif +0 -0
  880. data/test/dummy/public/assets/ckeditor/skins/v2/images/mini.gif +0 -0
  881. data/test/dummy/public/assets/ckeditor/skins/v2/images/noimage-623baac6fe6b7cd494715931451deeed.png +0 -0
  882. data/test/dummy/public/assets/ckeditor/skins/v2/images/noimage.png +0 -0
  883. data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites-781d681644b31f32868856fa132e4906.png +0 -0
  884. data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites.png +0 -0
  885. data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites_ie6-9c6895a740fc1778a432cce5b91bc281.png +0 -0
  886. data/test/dummy/public/assets/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  887. data/test/dummy/public/assets/ckeditor/skins/v2/images/toolbar_start-806bf6a72342160d7ccdc846e7d4a476.gif +0 -0
  888. data/test/dummy/public/assets/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  889. data/test/dummy/public/assets/ckeditor/skins/v2/skin.js +0 -6
  890. data/test/dummy/public/assets/ckeditor/skins/v2/templates.css +0 -6
  891. data/test/dummy/public/assets/ckeditor/themes/default/theme.js +0 -8
  892. data/test/dummy/public/assets/manifest.yml +0 -239
  893. data/test/dummy/public/assets/rich/application-2d948ba94e7a1e8ee49e29ef95f87995.css +0 -2
  894. data/test/dummy/public/assets/rich/application-2d948ba94e7a1e8ee49e29ef95f87995.css.gz +0 -0
  895. data/test/dummy/public/assets/rich/application-f0e3ebd0b5dd8a6ffd525e1b5a688acf.js +0 -19
  896. data/test/dummy/public/assets/rich/application-f0e3ebd0b5dd8a6ffd525e1b5a688acf.js.gz +0 -0
  897. data/test/dummy/public/assets/rich/application.css +0 -2
  898. data/test/dummy/public/assets/rich/application.css.gz +0 -0
  899. data/test/dummy/public/assets/rich/application.js +0 -19
  900. data/test/dummy/public/assets/rich/application.js.gz +0 -0
  901. data/test/dummy/public/assets/rich/base-3d3160088af99119a311b4e7362326ac.js +0 -11
  902. data/test/dummy/public/assets/rich/base-3d3160088af99119a311b4e7362326ac.js.gz +0 -0
  903. data/test/dummy/public/assets/rich/base.js +0 -11
  904. data/test/dummy/public/assets/rich/base.js.gz +0 -0
  905. data/test/dummy/public/assets/rich/editor-204d2a1d7aec25614b4611349aa793fb.css +0 -1
  906. data/test/dummy/public/assets/rich/editor-204d2a1d7aec25614b4611349aa793fb.css.gz +0 -0
  907. data/test/dummy/public/assets/rich/editor.css +0 -1
  908. data/test/dummy/public/assets/rich/editor.css.gz +0 -0
  909. data/test/dummy/public/assets/rich/images-e091bcc710f62a6265d8bc6eae54fbab.png +0 -0
  910. data/test/dummy/public/assets/rich/images.png +0 -0
  911. data/test/dummy/public/assets/rich/insert-many-0a73f24b86f9df3e23484009639f306c.png +0 -0
  912. data/test/dummy/public/assets/rich/insert-many.png +0 -0
  913. data/test/dummy/public/assets/rich/insert-one-452c896e53e8907911a0e6961601be4c.png +0 -0
  914. data/test/dummy/public/assets/rich/insert-one.png +0 -0
  915. data/test/dummy/public/assets/rich/loading-3fc55503a06d7a68cbed7e4a5d9aef8e.png +0 -0
  916. data/test/dummy/public/assets/rich/loading.png +0 -0
  917. data/test/dummy/public/assets/rich/menu-dash-12c49f78947dffd7da66c54427a241b7.png +0 -0
  918. data/test/dummy/public/assets/rich/menu-dash.png +0 -0
  919. data/test/dummy/public/assets/rich/plus-dc390d95d28f5c2b62823c0d50f97c61.png +0 -0
  920. data/test/dummy/public/assets/rich/plus-red-ab024857950b67766ecc033a1231944e.png +0 -0
  921. data/test/dummy/public/assets/rich/plus-red.png +0 -0
  922. data/test/dummy/public/assets/rich/plus.png +0 -0
  923. data/test/dummy/public/assets/rich/x-red-e18786c310c0a2a696a8eaccc9618711.png +0 -0
  924. data/test/dummy/public/assets/rich/x-red.png +0 -0
  925. data/test/dummy/tmp/cache/assets/BDC/DF0/sprockets%2F556859632756792340573f0b7d7937d4 +0 -0
  926. data/test/dummy/tmp/cache/assets/BEE/9D0/sprockets%2F04f1847209c701267b145074c38d7915 +0 -0
  927. data/test/dummy/tmp/cache/assets/C09/940/sprockets%2F9c892480308a353394094957b3389d7e +0 -0
  928. data/test/dummy/tmp/cache/assets/C19/4A0/sprockets%2F25141441498608917b8f0fa0b263a356 +0 -0
  929. data/test/dummy/tmp/cache/assets/C27/DF0/sprockets%2F33f6324a781951f5041a3515ae596788 +0 -0
  930. data/test/dummy/tmp/cache/assets/C2B/650/sprockets%2F1df4737580163259e6d2b79578a23191 +0 -0
  931. data/test/dummy/tmp/cache/assets/C2B/690/sprockets%2F7386b243b8578943a8a058fd73153523 +0 -0
  932. data/test/dummy/tmp/cache/assets/C2E/BB0/sprockets%2F67170774689ef70161779c25ce13145c +0 -0
  933. data/test/dummy/tmp/cache/assets/C30/AD0/sprockets%2F5e464907523e20c546b278814936f9a7 +0 -0
  934. data/test/dummy/tmp/cache/assets/C33/CE0/sprockets%2Fb83256fce54175498209904a643f4677 +0 -0
  935. data/test/dummy/tmp/cache/assets/C48/FF0/sprockets%2F96e842574236271ede53a401177c103c +0 -0
  936. data/test/dummy/tmp/cache/assets/C49/500/sprockets%2F72473c15cf2e294b25b1823e82954031 +0 -154
  937. data/test/dummy/tmp/cache/assets/C4B/120/sprockets%2F68c509110e4521f31e08c02988cd1871 +0 -0
  938. data/test/dummy/tmp/cache/assets/C4B/4F0/sprockets%2F507227215261ca7b895102e5f831b9b8 +0 -0
  939. data/test/dummy/tmp/cache/assets/C4D/110/sprockets%2F611640a397c0e9a8a99433e6681b3401 +0 -0
  940. data/test/dummy/tmp/cache/assets/C53/D20/sprockets%2Fc717231c3a3035802677df4eb6884727 +0 -0
  941. data/test/dummy/tmp/cache/assets/C54/A80/sprockets%2F1de74a969431c6973c790026061ab287 +0 -0
  942. data/test/dummy/tmp/cache/assets/C55/B30/sprockets%2F39a30f38a0388c637e0840d03656967b +0 -0
  943. data/test/dummy/tmp/cache/assets/C56/250/sprockets%2Fb6db18745993b17d85dc925232322923 +0 -0
  944. data/test/dummy/tmp/cache/assets/C58/8D0/sprockets%2F353a6a7559802014f934e28851f7da74 +0 -0
  945. data/test/dummy/tmp/cache/assets/C5D/7F0/sprockets%2F539347136e2b81496339888d3fead221 +0 -0
  946. data/test/dummy/tmp/cache/assets/C65/9A0/sprockets%2F7ce27567092e41279b34498d6075cb87 +0 -0
  947. data/test/dummy/tmp/cache/assets/C68/9D0/sprockets%2F46c8f88ef788054366f4b5c940236533 +0 -0
  948. data/test/dummy/tmp/cache/assets/C6B/9C0/sprockets%2F3dae21157a42b25135fae24956315172 +0 -0
  949. data/test/dummy/tmp/cache/assets/C6D/1A0/sprockets%2F212b0151e5d2cba1587771f308323d48 +0 -0
  950. data/test/dummy/tmp/cache/assets/C6E/8D0/sprockets%2Fca47069498ba75e028c450aa50333005 +0 -0
  951. data/test/dummy/tmp/cache/assets/C70/F80/sprockets%2F25a1272055d68b1f13f457471a3082af +0 -0
  952. data/test/dummy/tmp/cache/assets/C72/A20/sprockets%2F3f1d53046321c2171bbd83739410d7c9 +0 -0
  953. data/test/dummy/tmp/cache/assets/C73/820/sprockets%2Fdc73957133cc0c6c36681621ad275022 +0 -0
  954. data/test/dummy/tmp/cache/assets/C77/5B0/sprockets%2F540101198b081942476e5ef23c406fcc +0 -0
  955. data/test/dummy/tmp/cache/assets/C77/720/sprockets%2Fca30f4a4080067a42488536e598232da +0 -0
  956. data/test/dummy/tmp/cache/assets/C77/EF0/sprockets%2F35ca46348a682bda063928544a2630d5 +0 -0
  957. data/test/dummy/tmp/cache/assets/C79/B60/sprockets%2F7002c4f53b73b5eef125743664530f53 +0 -0
  958. data/test/dummy/tmp/cache/assets/C7B/200/sprockets%2F2720e7546112b1c1d03fd9697e606d90 +0 -0
  959. data/test/dummy/tmp/cache/assets/C7B/410/sprockets%2Ff676f01075f2e49124321b39229e5d2a +0 -0
  960. data/test/dummy/tmp/cache/assets/C7B/540/sprockets%2F547199d245ed02056a83508dd104a69a +0 -0
  961. data/test/dummy/tmp/cache/assets/C7D/C40/sprockets%2Fc99034ce618e1228e662c007671f2a53 +0 -0
  962. data/test/dummy/tmp/cache/assets/C7E/9B0/sprockets%2Fc7ed8687b3ce693f0342017416225b60 +0 -0
  963. data/test/dummy/tmp/cache/assets/C7F/360/sprockets%2Fb500dd4e82499845120f11801cf99b45 +0 -0
  964. data/test/dummy/tmp/cache/assets/C80/060/sprockets%2Fb1220c62161546be7f197a929d2096f6 +0 -0
  965. data/test/dummy/tmp/cache/assets/C82/D30/sprockets%2F8187429e99fcd8806f856c75449b6695 +0 -0
  966. data/test/dummy/tmp/cache/assets/C83/A00/sprockets%2F9c83c872822bb127b72291b42729ca49 +0 -0
  967. data/test/dummy/tmp/cache/assets/C84/840/sprockets%2Ff4d18b49e90538028a47531ca4668a35 +0 -387
  968. data/test/dummy/tmp/cache/assets/C85/380/sprockets%2F53a7b57361807c68e79e068a40273c0e +0 -0
  969. data/test/dummy/tmp/cache/assets/C88/B20/sprockets%2F7b205d3f7366e20665c267792b07c6b9 +0 -0
  970. data/test/dummy/tmp/cache/assets/C89/B80/sprockets%2Fea20d64c17365772e6cc48b787323728 +0 -0
  971. data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  972. data/test/dummy/tmp/cache/assets/C8D/710/sprockets%2F15cd04c9e7637a0b4229648dd6395838 +0 -0
  973. data/test/dummy/tmp/cache/assets/C8D/F20/sprockets%2F06a7164988ac4742a97874f84aa2a870 +0 -0
  974. data/test/dummy/tmp/cache/assets/C8F/D80/sprockets%2F455e93b83c0e017f18c228f533c74899 +0 -0
  975. data/test/dummy/tmp/cache/assets/C93/B40/sprockets%2F2270437a1d5132fb56c8231aa2d4f700 +0 -0
  976. data/test/dummy/tmp/cache/assets/C93/E70/sprockets%2F15444ade262779d3465f892d96403ee7 +0 -0
  977. data/test/dummy/tmp/cache/assets/C95/5F0/sprockets%2F53e43e281a976e7c238662c7853915ef +0 -0
  978. data/test/dummy/tmp/cache/assets/C99/810/sprockets%2F635ebe464ce2f4e00172f900204124b4 +0 -0
  979. data/test/dummy/tmp/cache/assets/C9A/1C0/sprockets%2F4af720073e4216a9d110904c61db1a87 +0 -0
  980. data/test/dummy/tmp/cache/assets/C9B/7D0/sprockets%2F96f6279c83e55127e167ef745f37b911 +0 -0
  981. data/test/dummy/tmp/cache/assets/C9B/D00/sprockets%2Fb8d85ebf421d5b24e602a64260507021 +0 -0
  982. data/test/dummy/tmp/cache/assets/C9B/FE0/sprockets%2F303058205a85e00b20733f8bd342b8fd +0 -0
  983. data/test/dummy/tmp/cache/assets/C9D/410/sprockets%2F68567256a0f5453dd962789b884b7f4b +0 -0
  984. data/test/dummy/tmp/cache/assets/C9D/AD0/sprockets%2F9534922958d0e57f02ca7a68bb887878 +0 -387
  985. data/test/dummy/tmp/cache/assets/C9E/C60/sprockets%2F2533ccfb67e257141e36362e252da032 +0 -0
  986. data/test/dummy/tmp/cache/assets/CA2/380/sprockets%2F33584e07265b247dae580ae72a7c2400 +0 -0
  987. data/test/dummy/tmp/cache/assets/CA3/840/sprockets%2F97c1b55a37382e5212f06661ad22b47a +0 -0
  988. data/test/dummy/tmp/cache/assets/CA5/3E0/sprockets%2F6ab4dab3e616486a6e691190a4550432 +0 -0
  989. data/test/dummy/tmp/cache/assets/CA5/DE0/sprockets%2F1aec0853505712843049be275d6afa17 +0 -0
  990. data/test/dummy/tmp/cache/assets/CA6/D70/sprockets%2F954979c930b87d937d7c968dec805082 +0 -0
  991. data/test/dummy/tmp/cache/assets/CA7/2D0/sprockets%2Fe973314ba7ade33537d8456a59101c12 +0 -0
  992. data/test/dummy/tmp/cache/assets/CA8/010/sprockets%2F3822fe6ee82705342f2d141f13e5018d +0 -0
  993. data/test/dummy/tmp/cache/assets/CA8/CC0/sprockets%2Ff50aa8604c2dc7ef123085426c447680 +0 -0
  994. data/test/dummy/tmp/cache/assets/CA8/F60/sprockets%2F0b316c6974cffbd0a850690d14629016 +0 -0
  995. data/test/dummy/tmp/cache/assets/CA9/BD0/sprockets%2F85c5c7da5274e330a42646d15e26650c +0 -0
  996. data/test/dummy/tmp/cache/assets/CAA/CB0/sprockets%2F21a4f54177965054ccba876d4ac90044 +0 -0
  997. data/test/dummy/tmp/cache/assets/CAC/130/sprockets%2F720e4c18ea437d497333ae2a293265c6 +0 -0
  998. data/test/dummy/tmp/cache/assets/CAC/660/sprockets%2Fa610f1c249982658e21d3c61b32d7e90 +0 -0
  999. data/test/dummy/tmp/cache/assets/CAD/D40/sprockets%2Fd5e8810f5217f0d1f60d130646682bc9 +0 -0
  1000. data/test/dummy/tmp/cache/assets/CAE/440/sprockets%2F31dc3464893dd5a7734a257022bf9a37 +0 -0
  1001. data/test/dummy/tmp/cache/assets/CB0/4E0/sprockets%2Fc8b3ba39cf681f453847427b6130d290 +0 -0
  1002. data/test/dummy/tmp/cache/assets/CB0/600/sprockets%2F721bd25e8fdb60735b9076b6004d8672 +0 -0
  1003. data/test/dummy/tmp/cache/assets/CB0/9C0/sprockets%2F70533e8bf04740f964137b3a7d1ef580 +0 -0
  1004. data/test/dummy/tmp/cache/assets/CB0/9E0/sprockets%2Fa79c8554338c001671b1fa59d03e4d68 +0 -0
  1005. data/test/dummy/tmp/cache/assets/CB0/F40/sprockets%2F539d1dd471483a311391ef9c03474cf6 +0 -0
  1006. data/test/dummy/tmp/cache/assets/CB1/3F0/sprockets%2F2172ba97acd80322a70758d66d5739e2 +0 -0
  1007. data/test/dummy/tmp/cache/assets/CB2/8C0/sprockets%2F6914720c7939036a3e2732ccffa5f264 +0 -0
  1008. data/test/dummy/tmp/cache/assets/CB2/C10/sprockets%2Fda8a1c8122d78dd08710294582f46a76 +0 -0
  1009. data/test/dummy/tmp/cache/assets/CB3/E10/sprockets%2Fd5b564657254f5c2a5483a0691b9df05 +0 -0
  1010. data/test/dummy/tmp/cache/assets/CB4/E40/sprockets%2Fb74c920b96371fa5234b8fd717b29237 +0 -0
  1011. data/test/dummy/tmp/cache/assets/CB6/CD0/sprockets%2F662c7a2399eb4f53567a415802aa38f7 +0 -0
  1012. data/test/dummy/tmp/cache/assets/CBA/7A0/sprockets%2F12bc93547225645986e183d867cc3cda +0 -0
  1013. data/test/dummy/tmp/cache/assets/CBB/670/sprockets%2F03d2a8fa7c98289281cd88ff86451020 +0 -0
  1014. data/test/dummy/tmp/cache/assets/CBC/610/sprockets%2F7a258d3f291d8be96017cb7e78024457 +0 -0
  1015. data/test/dummy/tmp/cache/assets/CBD/2B0/sprockets%2Fc1ff2e740da50e998769526dc9420364 +0 -0
  1016. data/test/dummy/tmp/cache/assets/CBE/A80/sprockets%2F60bb9087aed9745744925f6ce01525d9 +0 -0
  1017. data/test/dummy/tmp/cache/assets/CC3/670/sprockets%2F787a8401551cdb9896241f17e65a9ce8 +0 -0
  1018. data/test/dummy/tmp/cache/assets/CC3/9E0/sprockets%2F2498b630f6820fa93a9779a8760af47c +0 -0
  1019. data/test/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145 +0 -0
  1020. data/test/dummy/tmp/cache/assets/CC9/7C0/sprockets%2Fc82557feaf0c7f8138225e629e905689 +0 -0
  1021. data/test/dummy/tmp/cache/assets/CCC/BF0/sprockets%2Fd64241850aaf9a25152b91a69130a8ac +0 -0
  1022. data/test/dummy/tmp/cache/assets/CCD/390/sprockets%2Fe60c975c2568f7ab948e190369c697f1 +0 -0
  1023. data/test/dummy/tmp/cache/assets/CCD/B70/sprockets%2Fbe5d4276053476bce1da3850b710b108 +0 -0
  1024. data/test/dummy/tmp/cache/assets/CCE/3D0/sprockets%2F7c053a0e37e4109846266a0a686acb0a +0 -0
  1025. data/test/dummy/tmp/cache/assets/CCF/230/sprockets%2F60a41eef6b55f390c02108a0a0681d97 +0 -0
  1026. data/test/dummy/tmp/cache/assets/CCF/500/sprockets%2F0330258c93457d4b72d10e2e5d1bb1c9 +0 -0
  1027. data/test/dummy/tmp/cache/assets/CD0/3C0/sprockets%2F246333a1ec8bbbc08425552f0da98621 +0 -0
  1028. data/test/dummy/tmp/cache/assets/CD0/700/sprockets%2F652b92177e5b7db32062ba3e0c08a491 +0 -0
  1029. data/test/dummy/tmp/cache/assets/CD3/830/sprockets%2Fb5142e54768f952183bdb60cc2352b0b +0 -0
  1030. data/test/dummy/tmp/cache/assets/CD6/370/sprockets%2F36de299a111a8a148188b30ac146d55f +0 -0
  1031. data/test/dummy/tmp/cache/assets/CD7/A90/sprockets%2Fa4a89b241f7573bb600539fe154ed123 +0 -0
  1032. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -4
  1033. data/test/dummy/tmp/cache/assets/CD9/250/sprockets%2F7e917f0e901da1316765aa09934dab61 +0 -0
  1034. data/test/dummy/tmp/cache/assets/CD9/590/sprockets%2F9713483f12b1c7021150cf9cfdc6905e +0 -0
  1035. data/test/dummy/tmp/cache/assets/CD9/B40/sprockets%2F7d192e48d1b63bccf1582db070388142 +0 -0
  1036. data/test/dummy/tmp/cache/assets/CDA/0A0/sprockets%2Feca5b9f722a12be9921b80813a316964 +0 -0
  1037. data/test/dummy/tmp/cache/assets/CDA/170/sprockets%2F2107f8467a22ca1f677e7721ad149da3 +0 -0
  1038. data/test/dummy/tmp/cache/assets/CDA/420/sprockets%2F63c2e7b996558fafc202d5d32a181322 +0 -0
  1039. data/test/dummy/tmp/cache/assets/CDA/B70/sprockets%2F2bd240317a1b99b77f2686a14dc443b9 +0 -0
  1040. data/test/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -32
  1041. data/test/dummy/tmp/cache/assets/CDD/1B0/sprockets%2F0ff0d37d63ee08c16d32c363c8638163 +0 -0
  1042. data/test/dummy/tmp/cache/assets/CDD/D40/sprockets%2Fb576ec16362bed40601d284642e4e65f +0 -0
  1043. data/test/dummy/tmp/cache/assets/CDE/000/sprockets%2Fe97433dd8b48edad9812b060532a3616 +0 -0
  1044. data/test/dummy/tmp/cache/assets/CDE/140/sprockets%2F851c91b0bb7b4f177553597cf8ca1043 +0 -0
  1045. data/test/dummy/tmp/cache/assets/CDE/F80/sprockets%2F0f0a327295671d4a71e54cc90a9ef608 +0 -0
  1046. data/test/dummy/tmp/cache/assets/CE0/680/sprockets%2F574bb703603a713ac76ff8f20dc73658 +0 -0
  1047. data/test/dummy/tmp/cache/assets/CE0/F70/sprockets%2F5f626eb3d0e9861907861afe5612a00f +0 -0
  1048. data/test/dummy/tmp/cache/assets/CE1/990/sprockets%2F5334706128d5d744f211efe5e1a4c69f +0 -0
  1049. data/test/dummy/tmp/cache/assets/CE1/A60/sprockets%2Fc25ce483202a35f7574cb39717ba929c +0 -0
  1050. data/test/dummy/tmp/cache/assets/CE2/4B0/sprockets%2F93a5af891560bd8a5292f2f0b9307e34 +0 -0
  1051. data/test/dummy/tmp/cache/assets/CE2/E50/sprockets%2F15a14263195fc451ea7eb4ce86c56872 +0 -0
  1052. data/test/dummy/tmp/cache/assets/CE3/B40/sprockets%2F7b599dfd5a2a00872ac28ba983832094 +0 -0
  1053. data/test/dummy/tmp/cache/assets/CE4/350/sprockets%2F265c265a5e41393b3d5e7d639bf0a496 +0 -0
  1054. data/test/dummy/tmp/cache/assets/CE5/5B0/sprockets%2F9ba69a933006592e5570cf6e60a86b2e +0 -0
  1055. data/test/dummy/tmp/cache/assets/CE5/7E0/sprockets%2F1ffd3469b370f7b79022757f4cfe1403 +0 -0
  1056. data/test/dummy/tmp/cache/assets/CE6/0D0/sprockets%2F4d0d42d933e80526e6498de7ac597a01 +0 -0
  1057. data/test/dummy/tmp/cache/assets/CE6/1A0/sprockets%2F914de32827cb63c586780e7b60a0dc77 +0 -0
  1058. data/test/dummy/tmp/cache/assets/CE6/CE0/sprockets%2F5110c98e00cb6a5f0154eb0a1c12a027 +0 -0
  1059. data/test/dummy/tmp/cache/assets/CE7/050/sprockets%2F82c0f75e42815fd25931f7efbf476121 +0 -0
  1060. data/test/dummy/tmp/cache/assets/CE7/C30/sprockets%2F6804fdb4e5322536e5496cda8a538d17 +0 -0
  1061. data/test/dummy/tmp/cache/assets/CE8/690/sprockets%2F4d6aa28aa542f1e7b5941992cb738972 +0 -0
  1062. data/test/dummy/tmp/cache/assets/CE8/6E0/sprockets%2F8923777ce0d4b72fb555e68172a2cb64 +0 -1251
  1063. data/test/dummy/tmp/cache/assets/CE9/260/sprockets%2F20e1d59afc58e2ba50296184927fd568 +0 -0
  1064. data/test/dummy/tmp/cache/assets/CE9/A20/sprockets%2F9bc63f08d44e8c1117c1460496a7e86f +0 -0
  1065. data/test/dummy/tmp/cache/assets/CE9/B80/sprockets%2F5b2c5115ef4f940777455ffec4f26073 +0 -0
  1066. data/test/dummy/tmp/cache/assets/CE9/EB0/sprockets%2F7f84d056b7fe2b725f7932aa23a66844 +0 -0
  1067. data/test/dummy/tmp/cache/assets/CEC/CF0/sprockets%2F7d24293c4dd5e394e4fc986d91e13323 +0 -0
  1068. data/test/dummy/tmp/cache/assets/CEC/DA0/sprockets%2F977a164588d50ff9b2b40c39a79a6c06 +0 -0
  1069. data/test/dummy/tmp/cache/assets/CED/CF0/sprockets%2F74a2cf33276e4898e45eed1a73180b79 +0 -0
  1070. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  1071. data/test/dummy/tmp/cache/assets/CF0/E20/sprockets%2Ff99883cd6c0d6948912163ea70e1a77b +0 -0
  1072. data/test/dummy/tmp/cache/assets/CF2/0F0/sprockets%2Fba5069468c4d33d87e1693bed71e7828 +0 -0
  1073. data/test/dummy/tmp/cache/assets/CF3/070/sprockets%2F58eff2332972bb5992d8cf77a542835a +0 -0
  1074. data/test/dummy/tmp/cache/assets/CF5/440/sprockets%2F763177da4ee86d55459c0e67d0ff8471 +0 -0
  1075. data/test/dummy/tmp/cache/assets/CF6/610/sprockets%2Fa9939681583396390d7a6db5ef6ac71d +0 -0
  1076. data/test/dummy/tmp/cache/assets/CF6/9E0/sprockets%2Ff3c0e6e191993ce3d97cb35929d18197 +0 -0
  1077. data/test/dummy/tmp/cache/assets/CF8/E20/sprockets%2F04404b5427d0fa1409084aa2e7c3cbd8 +0 -0
  1078. data/test/dummy/tmp/cache/assets/CFA/F90/sprockets%2F9963d85bcc2128785c833cb6b549c7f9 +0 -0
  1079. data/test/dummy/tmp/cache/assets/CFA/FF0/sprockets%2Fa6545f61c7de6879eb67484098a462cf +0 -21
  1080. data/test/dummy/tmp/cache/assets/CFC/350/sprockets%2Fb5801d1da3bbb5345b61cc825306f825 +0 -0
  1081. data/test/dummy/tmp/cache/assets/CFC/630/sprockets%2F432f958a494fd38f3f37b89567ae307f +0 -0
  1082. data/test/dummy/tmp/cache/assets/CFD/270/sprockets%2Fc745cd989d73367f34afec4c47897117 +0 -0
  1083. data/test/dummy/tmp/cache/assets/CFD/710/sprockets%2Fbc0c3a445b706b06a105e27283c7c86d +0 -0
  1084. data/test/dummy/tmp/cache/assets/CFD/B60/sprockets%2Ff12843c2e0032ed43f125a7f9b109a2f +0 -9305
  1085. data/test/dummy/tmp/cache/assets/CFE/0F0/sprockets%2Fe98895972601a6cc7ab8d9f069a529b9 +0 -0
  1086. data/test/dummy/tmp/cache/assets/D01/560/sprockets%2F04a744ea7118f43a7a27c24bcd642e71 +0 -0
  1087. data/test/dummy/tmp/cache/assets/D01/590/sprockets%2F9bad11726f5d1f504ce12d8033d1f139 +0 -0
  1088. data/test/dummy/tmp/cache/assets/D02/2C0/sprockets%2Fd73b46ed6a762df701e311a74ae11922 +0 -0
  1089. data/test/dummy/tmp/cache/assets/D02/640/sprockets%2F6d5e6c58fd5f03e2085101ef10e6f001 +0 -0
  1090. data/test/dummy/tmp/cache/assets/D02/E40/sprockets%2Fa9cebd54c414f85c03f7b3139f035210 +0 -0
  1091. data/test/dummy/tmp/cache/assets/D06/F80/sprockets%2F2afddf336526f2108d7556508cd0b31d +0 -0
  1092. data/test/dummy/tmp/cache/assets/D08/4D0/sprockets%2Fa160637ce029d8b0e13d612cb97a69e3 +0 -0
  1093. data/test/dummy/tmp/cache/assets/D08/5C0/sprockets%2F550ad52ac67d961c444d3757a8d211eb +0 -0
  1094. data/test/dummy/tmp/cache/assets/D08/760/sprockets%2F2473104fe4e449cf4bfe83b52d402a72 +0 -0
  1095. data/test/dummy/tmp/cache/assets/D09/130/sprockets%2F4f3f2b2d7797011422ca58b088dfc4c1 +0 -0
  1096. data/test/dummy/tmp/cache/assets/D09/190/sprockets%2F71fe58d509e365a1f075f06fa02e2b24 +0 -0
  1097. data/test/dummy/tmp/cache/assets/D0A/690/sprockets%2F8bb7894de97fb8480d98129f5c65794c +0 -0
  1098. data/test/dummy/tmp/cache/assets/D0B/9F0/sprockets%2F61079c4cb9b1cb5694950218aeb01ed8 +0 -0
  1099. data/test/dummy/tmp/cache/assets/D0C/F90/sprockets%2Fc835c94f6e5d2507b7d5108bbf33d150 +0 -0
  1100. data/test/dummy/tmp/cache/assets/D0D/500/sprockets%2Fe9df7097196f12161bd1e81c2c5e0a18 +0 -0
  1101. data/test/dummy/tmp/cache/assets/D0D/800/sprockets%2Fca77562e78d1945a2ba47c257074be1b +0 -0
  1102. data/test/dummy/tmp/cache/assets/D0D/B90/sprockets%2Fa948d9c1d5112b935641e39e5adad406 +0 -0
  1103. data/test/dummy/tmp/cache/assets/D0D/EC0/sprockets%2F78e6ad15884b3128b31b2b33c9dc5d28 +0 -0
  1104. data/test/dummy/tmp/cache/assets/D0E/970/sprockets%2Ff4346553df4bcb0293ec44436ceb7445 +0 -0
  1105. data/test/dummy/tmp/cache/assets/D0E/C50/sprockets%2F3857156331637ee1fbac0d2ee6c077e5 +0 -0
  1106. data/test/dummy/tmp/cache/assets/D0F/E60/sprockets%2F1e18f8d3084d0d11e871c43c9923da9b +0 -0
  1107. data/test/dummy/tmp/cache/assets/D11/480/sprockets%2F9abb3f39da45da15e51996a03d458625 +0 -0
  1108. data/test/dummy/tmp/cache/assets/D11/500/sprockets%2F3639b6f984cae1c94702d1ad2306ed66 +0 -0
  1109. data/test/dummy/tmp/cache/assets/D11/570/sprockets%2Fb05e6530b69847a4b5064ab78bc83d8c +0 -0
  1110. data/test/dummy/tmp/cache/assets/D11/A30/sprockets%2Ff8e47f36b1ab958267a330d882baa129 +0 -0
  1111. data/test/dummy/tmp/cache/assets/D13/050/sprockets%2Fbabf84b54e50b709867265a852f49ac0 +0 -0
  1112. data/test/dummy/tmp/cache/assets/D13/070/sprockets%2F0ccc67084360d9b43ce3737427fd2c9e +0 -0
  1113. data/test/dummy/tmp/cache/assets/D13/120/sprockets%2Fd2e5b5a7e1b3071528d6e58ab79f5426 +0 -0
  1114. data/test/dummy/tmp/cache/assets/D13/270/sprockets%2Fce909c16cf3808c14f5c28b95006ee43 +0 -0
  1115. data/test/dummy/tmp/cache/assets/D13/B90/sprockets%2F805ac5f993e6cab507a8532f5bb40883 +0 -0
  1116. data/test/dummy/tmp/cache/assets/D14/A40/sprockets%2F42754518d7e0ebf48fd64f3d387d102a +0 -0
  1117. data/test/dummy/tmp/cache/assets/D14/B10/sprockets%2Ff38863f0920a58989fac3b39b01a8ae0 +0 -13
  1118. data/test/dummy/tmp/cache/assets/D15/0B0/sprockets%2Fd5149b844d7a98c07c7ba2a61334ef49 +0 -0
  1119. data/test/dummy/tmp/cache/assets/D15/8F0/sprockets%2F8b0888b329d337e1167e0d25c49ebd2e +0 -0
  1120. data/test/dummy/tmp/cache/assets/D15/CE0/sprockets%2Fdade526d1ef2c411639d80985b8725b5 +0 -0
  1121. data/test/dummy/tmp/cache/assets/D15/E00/sprockets%2F9ee2fbb12247382968b720fbbd35c729 +0 -0
  1122. data/test/dummy/tmp/cache/assets/D15/EC0/sprockets%2F6d0bde1aa84292c30b1003ac230fb254 +0 -0
  1123. data/test/dummy/tmp/cache/assets/D16/920/sprockets%2F7f5b385e40fd83a24f148722b9a4b65f +0 -0
  1124. data/test/dummy/tmp/cache/assets/D16/B40/sprockets%2Fc1e0e33847ba7d65fb40fd674544485e +0 -0
  1125. data/test/dummy/tmp/cache/assets/D16/FE0/sprockets%2F514d67b58770ab16259b9f5c53e5f4ab +0 -0
  1126. data/test/dummy/tmp/cache/assets/D17/220/sprockets%2F97927ed522c7f6a7e4f184b0c084a6a4 +0 -0
  1127. data/test/dummy/tmp/cache/assets/D17/8C0/sprockets%2Fdff966f193f4c8026a3ae110287737dd +0 -0
  1128. data/test/dummy/tmp/cache/assets/D18/A30/sprockets%2F901a1bfb87fa6d5563e7e55632f6b375 +0 -0
  1129. data/test/dummy/tmp/cache/assets/D18/FB0/sprockets%2F948c078adb346c2b9e3e4e794d054d60 +0 -0
  1130. data/test/dummy/tmp/cache/assets/D19/CB0/sprockets%2Fcac38332595f72fe9156b55d1f55c92b +0 -0
  1131. data/test/dummy/tmp/cache/assets/D1A/B60/sprockets%2Fdcf768d806243bfa34e6ef20902795f3 +0 -0
  1132. data/test/dummy/tmp/cache/assets/D1B/350/sprockets%2F383e9fa9d5a7d053391b3fbe5c167863 +0 -0
  1133. data/test/dummy/tmp/cache/assets/D1B/660/sprockets%2Fdd39ad391b6e318822eb3779cb465f36 +0 -0
  1134. data/test/dummy/tmp/cache/assets/D1C/F40/sprockets%2F0d33b8f2d9fb681d65c0926364c5f7c8 +0 -0
  1135. data/test/dummy/tmp/cache/assets/D1D/220/sprockets%2F847c4b2bf7db2f731f17556fa2f67809 +0 -0
  1136. data/test/dummy/tmp/cache/assets/D1F/150/sprockets%2Fa123aa32899798a9f2f1f046fe76bc94 +0 -0
  1137. data/test/dummy/tmp/cache/assets/D1F/990/sprockets%2F0229af100a7137b13cb36acf7c1843ba +0 -0
  1138. data/test/dummy/tmp/cache/assets/D1F/DE0/sprockets%2Fc489f1afba2df21817e4a999496c0943 +0 -0
  1139. data/test/dummy/tmp/cache/assets/D23/CF0/sprockets%2F0e77db800c24be23b153dead25322b26 +0 -0
  1140. data/test/dummy/tmp/cache/assets/D23/EA0/sprockets%2F5c4b2f6109d6f098b259bc2736f94e9f +0 -0
  1141. data/test/dummy/tmp/cache/assets/D25/300/sprockets%2Fc1788b2da83f9a01e957d9d74497f0c6 +0 -0
  1142. data/test/dummy/tmp/cache/assets/D25/4A0/sprockets%2F6da119011fd1c4afc2c8cec032692151 +0 -0
  1143. data/test/dummy/tmp/cache/assets/D26/530/sprockets%2F818dd91d72b47a76578e1789fe7ad0d2 +0 -0
  1144. data/test/dummy/tmp/cache/assets/D27/940/sprockets%2F7765f5936c6eee1166f57e0f883cb17b +0 -0
  1145. data/test/dummy/tmp/cache/assets/D28/9F0/sprockets%2Fa19ac5ae78c7137516a5799609fdf69e +0 -0
  1146. data/test/dummy/tmp/cache/assets/D29/730/sprockets%2Fe4c91c7a22fb37e3037a2e0b77ec1102 +0 -0
  1147. data/test/dummy/tmp/cache/assets/D2A/E60/sprockets%2F7025f1229a2a1d7ea814efad0473d05b +0 -0
  1148. data/test/dummy/tmp/cache/assets/D2B/4C0/sprockets%2Feb44438184c4b3c490f4b0b127dba24c +0 -0
  1149. data/test/dummy/tmp/cache/assets/D2B/F50/sprockets%2Fe26eda13a54cd6200413fd8245a5e36b +0 -0
  1150. data/test/dummy/tmp/cache/assets/D2C/B30/sprockets%2F17ffe8089e75f2a8f32f36fd6554a793 +0 -0
  1151. data/test/dummy/tmp/cache/assets/D2D/3B0/sprockets%2Fa138b75a5452409b2eba70a3248fcc1f +0 -0
  1152. data/test/dummy/tmp/cache/assets/D2D/460/sprockets%2F331b76daab2794678cd6a5e42e010ab1 +0 -0
  1153. data/test/dummy/tmp/cache/assets/D2E/810/sprockets%2Fb1855e47730873ec79f8ff3ad792c79b +0 -0
  1154. data/test/dummy/tmp/cache/assets/D2E/AE0/sprockets%2F320b52115ecb6998f00abf7ad00e26c8 +0 -0
  1155. data/test/dummy/tmp/cache/assets/D30/110/sprockets%2Fb0040b0738cb8a55272b28f641fffcd1 +0 -0
  1156. data/test/dummy/tmp/cache/assets/D31/780/sprockets%2F56108beeaa03b0831f1cbf8a269817c3 +0 -0
  1157. data/test/dummy/tmp/cache/assets/D32/A00/sprockets%2Fe0f2020ee5e383f19c42f0a00566fd7c +0 -0
  1158. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -4
  1159. data/test/dummy/tmp/cache/assets/D34/3D0/sprockets%2F119d40a8f2a43038578ff0f6b0da4d2d +0 -0
  1160. data/test/dummy/tmp/cache/assets/D34/5C0/sprockets%2F904c9b8fddca30f8ac0061367513f2d2 +0 -0
  1161. data/test/dummy/tmp/cache/assets/D34/800/sprockets%2F9b41851c5133ffabbc40861ba79527ba +0 -0
  1162. data/test/dummy/tmp/cache/assets/D36/340/sprockets%2Ff0143d2bc0f90ea4d33b6597c592e2c4 +0 -0
  1163. data/test/dummy/tmp/cache/assets/D36/DD0/sprockets%2F33ca018764d31fbf5187366aaea616eb +0 -0
  1164. data/test/dummy/tmp/cache/assets/D37/480/sprockets%2F101629fc7aaf58f0f21aa7f976d2b313 +0 -0
  1165. data/test/dummy/tmp/cache/assets/D37/7A0/sprockets%2Fe81d470a3d42215c3de7739ecf23db42 +0 -0
  1166. data/test/dummy/tmp/cache/assets/D37/960/sprockets%2F61a6af3eff42bab11629ba9610a61898 +0 -0
  1167. data/test/dummy/tmp/cache/assets/D37/A30/sprockets%2F97e5740333f81b8bebf5b0b1abd93305 +0 -0
  1168. data/test/dummy/tmp/cache/assets/D38/4D0/sprockets%2F9ba117f1b040c2a45bd5848474eed7a7 +0 -0
  1169. data/test/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -32
  1170. data/test/dummy/tmp/cache/assets/D38/8A0/sprockets%2F1f1e7f16400f3c4b814ec9b254bb5f83 +0 -0
  1171. data/test/dummy/tmp/cache/assets/D38/8F0/sprockets%2F1c4d30cdafd61299103b235af5e958b7 +0 -0
  1172. data/test/dummy/tmp/cache/assets/D38/9D0/sprockets%2F5bd3c62f2076b688ba1a8bee052e4364 +0 -0
  1173. data/test/dummy/tmp/cache/assets/D39/6C0/sprockets%2F21f41594eb00f4477d6beb038a2f6bd7 +0 -0
  1174. data/test/dummy/tmp/cache/assets/D39/940/sprockets%2F07b30d0d5f5480b06e7a5d9540fae9a7 +0 -0
  1175. data/test/dummy/tmp/cache/assets/D39/B40/sprockets%2Fad8f11451a28c67435bc69c7c303b4ee +0 -0
  1176. data/test/dummy/tmp/cache/assets/D3A/9D0/sprockets%2Fb4c4d44120bb4654e97cf9b2900c6eb7 +0 -0
  1177. data/test/dummy/tmp/cache/assets/D3B/9D0/sprockets%2Fbe23efc42b103a6190e6b77e0aa86888 +0 -0
  1178. data/test/dummy/tmp/cache/assets/D3B/A50/sprockets%2F7cd55ad8b822b0e5f860da7e6c804321 +0 -0
  1179. data/test/dummy/tmp/cache/assets/D3C/840/sprockets%2F2cc9f2f6f2813d2734d152eb0d3a27f9 +0 -0
  1180. data/test/dummy/tmp/cache/assets/D3C/960/sprockets%2F64bc8df36b55c0af96b209630ff22f41 +0 -0
  1181. data/test/dummy/tmp/cache/assets/D3D/1A0/sprockets%2F4d98b3e2964a665d090dc05ceb26f04b +0 -0
  1182. data/test/dummy/tmp/cache/assets/D3D/830/sprockets%2Fe0cddff2df836c4a507c3c7889101702 +0 -0
  1183. data/test/dummy/tmp/cache/assets/D3E/BA0/sprockets%2Ff61844e1ee3a7d1425bdc3c524b9864c +0 -0
  1184. data/test/dummy/tmp/cache/assets/D3F/730/sprockets%2F42e5b389fd468b620820e30feba48a4f +0 -0
  1185. data/test/dummy/tmp/cache/assets/D3F/D60/sprockets%2Fc4be91aa2c15835ee9463297d1d1cf63 +0 -0
  1186. data/test/dummy/tmp/cache/assets/D40/2F0/sprockets%2F4e62f80b61f6ba86e7e4422d55192acd +0 -0
  1187. data/test/dummy/tmp/cache/assets/D40/450/sprockets%2Fbb52e6c1d4033d98782eb3e6953ea13f +0 -0
  1188. data/test/dummy/tmp/cache/assets/D40/A70/sprockets%2F9fc97e7cb3f02054434fc6d5b92560aa +0 -0
  1189. data/test/dummy/tmp/cache/assets/D41/560/sprockets%2F80dacf68f8f4c072cc8e2600993124ea +0 -0
  1190. data/test/dummy/tmp/cache/assets/D41/650/sprockets%2F6e9c347ae1b83e9f48b7a13e0fe50630 +0 -0
  1191. data/test/dummy/tmp/cache/assets/D42/370/sprockets%2F6cc76bba170617de617563a983fb82bd +0 -0
  1192. data/test/dummy/tmp/cache/assets/D43/3D0/sprockets%2F8ada471f7421754fee5fbf924129fc02 +0 -0
  1193. data/test/dummy/tmp/cache/assets/D43/7C0/sprockets%2F8e5114ada2934ee254f7ece612c9d249 +0 -0
  1194. data/test/dummy/tmp/cache/assets/D43/950/sprockets%2F4daa403e1633b51ae8a13cb1334ec00a +0 -0
  1195. data/test/dummy/tmp/cache/assets/D43/E00/sprockets%2Fc4c5ff4471dfaa6231dc699271f5406f +0 -0
  1196. data/test/dummy/tmp/cache/assets/D44/0A0/sprockets%2Fa6f7ddb2d883616fd31562ff0f4c5173 +0 -0
  1197. data/test/dummy/tmp/cache/assets/D44/E90/sprockets%2F1216c14a8fb1c0c982e86dd6c8ef9425 +0 -0
  1198. data/test/dummy/tmp/cache/assets/D45/580/sprockets%2F7c3eeca57727e72e6b272c1c836cd049 +0 -0
  1199. data/test/dummy/tmp/cache/assets/D46/6E0/sprockets%2Fbd1d8ec68a8962ff1832082bc158ee33 +0 -0
  1200. data/test/dummy/tmp/cache/assets/D46/8E0/sprockets%2Fb35bf69c999ecf20641b357ad13a819c +0 -0
  1201. data/test/dummy/tmp/cache/assets/D48/470/sprockets%2F5031e9bffd9c3b316bfb718e8e925444 +0 -0
  1202. data/test/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
  1203. data/test/dummy/tmp/cache/assets/D49/BB0/sprockets%2F7b540757fd5b74d7e28cf951f402a6fa +0 -0
  1204. data/test/dummy/tmp/cache/assets/D4A/050/sprockets%2F624bb566309f6ab88f4eebd1a76f5167 +0 -0
  1205. data/test/dummy/tmp/cache/assets/D4A/590/sprockets%2F83b19be32a99cbc53d6b1593ff59573a +0 -0
  1206. data/test/dummy/tmp/cache/assets/D4A/F90/sprockets%2Fcf6b86c748033f0a17b7cc831c6d58f9 +0 -0
  1207. data/test/dummy/tmp/cache/assets/D4B/1D0/sprockets%2F0769c4e1883fbee89ccfa684319051bb +0 -0
  1208. data/test/dummy/tmp/cache/assets/D4C/100/sprockets%2Ff6ad0962972e10a956e6a85dd7c358db +0 -0
  1209. data/test/dummy/tmp/cache/assets/D4D/DF0/sprockets%2Feb951b6de7e9a824c622816c85473cde +0 -0
  1210. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  1211. data/test/dummy/tmp/cache/assets/D4E/B80/sprockets%2F12b0ea98f9192449e82d8ae7d185dbd6 +0 -0
  1212. data/test/dummy/tmp/cache/assets/D4F/1F0/sprockets%2F2824f2530a0ac36c117a2afcac736a6a +0 -0
  1213. data/test/dummy/tmp/cache/assets/D50/3C0/sprockets%2F178a6e5098feedc2b5ae759413b77d83 +0 -0
  1214. data/test/dummy/tmp/cache/assets/D50/D70/sprockets%2F13297c9f3a654ebe511fc93c9c7d974c +0 -21
  1215. data/test/dummy/tmp/cache/assets/D52/B60/sprockets%2Ff845b7f41c8cb98d13b90964a92e9e2c +0 -0
  1216. data/test/dummy/tmp/cache/assets/D53/120/sprockets%2F6bfa5aab9fb0247002900e73cc2eb206 +0 -0
  1217. data/test/dummy/tmp/cache/assets/D54/C50/sprockets%2F011c250cecb491f0716c2d35db11d5ef +0 -0
  1218. data/test/dummy/tmp/cache/assets/D55/CF0/sprockets%2F7d7fe3b68cb317492f290a6f57b2f79f +0 -0
  1219. data/test/dummy/tmp/cache/assets/D56/060/sprockets%2F3cc85144bd659faafd4ba12514a04a41 +0 -0
  1220. data/test/dummy/tmp/cache/assets/D56/8B0/sprockets%2Fd07237e557b67cf8dc3d7f9993fad027 +0 -0
  1221. data/test/dummy/tmp/cache/assets/D58/030/sprockets%2F20c195c0206544ad0039cc7eaddff13d +0 -0
  1222. data/test/dummy/tmp/cache/assets/D58/3E0/sprockets%2Fc24b0c6ca152dc28e8d957a036d10bc1 +0 -1251
  1223. data/test/dummy/tmp/cache/assets/D58/D30/sprockets%2Ff15a54b9f439372e8f8b4a68778c5eea +0 -0
  1224. data/test/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -5
  1225. data/test/dummy/tmp/cache/assets/D59/F60/sprockets%2Fa60b09ec201afe4006f5363c33d76eac +0 -0
  1226. data/test/dummy/tmp/cache/assets/D59/FD0/sprockets%2Ff3ed2c82c99fe2e39994837f0aa8346d +0 -0
  1227. data/test/dummy/tmp/cache/assets/D5A/DA0/sprockets%2Fd1c25b1bd44d0def57ce592c912100f1 +0 -0
  1228. data/test/dummy/tmp/cache/assets/D5A/E70/sprockets%2F206e1e7e85af42e0d1eeb0b061028fd2 +0 -0
  1229. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  1230. data/test/dummy/tmp/cache/assets/D5C/DD0/sprockets%2Feec24d1953ff13e02858b0aac10a076e +0 -0
  1231. data/test/dummy/tmp/cache/assets/D5D/1A0/sprockets%2Faa06db4710c1a4b247d56b385daec719 +0 -0
  1232. data/test/dummy/tmp/cache/assets/D5D/990/sprockets%2F51fcb2d63f0aa308af357e3127eac616 +0 -0
  1233. data/test/dummy/tmp/cache/assets/D5D/CE0/sprockets%2Fc30fd9a32d15a079b2b0cb99865bab20 +0 -0
  1234. data/test/dummy/tmp/cache/assets/D5E/B80/sprockets%2Fe625810245c919dc11b09d0fe0fbfb2a +0 -0
  1235. data/test/dummy/tmp/cache/assets/D5E/F20/sprockets%2F752a76745e38ed8f3aee8bd996a9b366 +0 -0
  1236. data/test/dummy/tmp/cache/assets/D60/C60/sprockets%2Fdb27de9df2ccd7874c6798689219b17e +0 -0
  1237. data/test/dummy/tmp/cache/assets/D60/CC0/sprockets%2F94b21cc1744250cb2ddcb8d8c80e813a +0 -0
  1238. data/test/dummy/tmp/cache/assets/D61/A70/sprockets%2Fddd9348f4a2f2224a3f214a7d5ea12f3 +0 -0
  1239. data/test/dummy/tmp/cache/assets/D61/EA0/sprockets%2F1bf460ff6016c9a0300ef911b4dd96db +0 -0
  1240. data/test/dummy/tmp/cache/assets/D62/DB0/sprockets%2Fda35aee549e43a36049ab2ac3e27713d +0 -9305
  1241. data/test/dummy/tmp/cache/assets/D63/110/sprockets%2F9d0225436ad44c81b4c2c54e1ffd8bb2 +0 -0
  1242. data/test/dummy/tmp/cache/assets/D63/420/sprockets%2F5d1b25fd4631fd4b6077fd6c4aac1155 +0 -0
  1243. data/test/dummy/tmp/cache/assets/D63/8B0/sprockets%2Ffd68b2a5725a037c42c2aefe4417ec05 +0 -0
  1244. data/test/dummy/tmp/cache/assets/D64/FC0/sprockets%2F949311ddda0a051ffab848db9b50a591 +0 -0
  1245. data/test/dummy/tmp/cache/assets/D65/560/sprockets%2F33385b9c98a3a1cb3b45e330ced1dc75 +0 -0
  1246. data/test/dummy/tmp/cache/assets/D66/750/sprockets%2Fd4153ec333cf53abf1c7abd718c02689 +0 -0
  1247. data/test/dummy/tmp/cache/assets/D67/270/sprockets%2F2bd6d8a7baa62843bcc05e5d2239256f +0 -0
  1248. data/test/dummy/tmp/cache/assets/D68/3B0/sprockets%2Fe0ac076b844e6c350abc027feb685e91 +0 -0
  1249. data/test/dummy/tmp/cache/assets/D68/870/sprockets%2F7a92d35590718f3fb11c95add4a5bb3a +0 -0
  1250. data/test/dummy/tmp/cache/assets/D68/980/sprockets%2F63eabb497ea33b281c722fc7b12f95d1 +0 -0
  1251. data/test/dummy/tmp/cache/assets/D68/DE0/sprockets%2F7d630ecce0c227377a609deed09a332e +0 -0
  1252. data/test/dummy/tmp/cache/assets/D69/570/sprockets%2Ff54291dc566dc2a25ccd0d55a6e8209b +0 -0
  1253. data/test/dummy/tmp/cache/assets/D69/900/sprockets%2Ff0a07be0d41e5cb998f70020effb8048 +0 -0
  1254. data/test/dummy/tmp/cache/assets/D6A/000/sprockets%2Fbb7461dd924cbd860e8cae2a0e921079 +0 -0
  1255. data/test/dummy/tmp/cache/assets/D6A/110/sprockets%2Fb93ff472ebb3773cd9b412fbb47c2502 +0 -0
  1256. data/test/dummy/tmp/cache/assets/D6A/2F0/sprockets%2Fffe90709b05c7ac131463faada7d4395 +0 -0
  1257. data/test/dummy/tmp/cache/assets/D6B/010/sprockets%2Fde174944909ea6c90acc19a0ab576dd0 +0 -0
  1258. data/test/dummy/tmp/cache/assets/D6B/ED0/sprockets%2F95316224abccb0d08782d77dda95abc8 +0 -0
  1259. data/test/dummy/tmp/cache/assets/D6C/AC0/sprockets%2F97aac3f84c8a14d18caa957ed41613e1 +0 -0
  1260. data/test/dummy/tmp/cache/assets/D6E/F90/sprockets%2F543aa025557a09fe4e19aed7b77b0ee7 +0 -0
  1261. data/test/dummy/tmp/cache/assets/D6F/5B0/sprockets%2Fc0a3a580c584caaa292d939c2d999b2f +0 -0
  1262. data/test/dummy/tmp/cache/assets/D6F/AA0/sprockets%2F6ba461f33c45ba3ca198cb5f177d49d7 +0 -0
  1263. data/test/dummy/tmp/cache/assets/D70/1D0/sprockets%2F1920e0a4ad06e9d71d89f3cecd56084e +0 -0
  1264. data/test/dummy/tmp/cache/assets/D70/620/sprockets%2Fb7a0b3fec35d697aaa981766c325d9b1 +0 -0
  1265. data/test/dummy/tmp/cache/assets/D70/880/sprockets%2F3ff7edf6019d5b55c68c1f43d7b6100d +0 -0
  1266. data/test/dummy/tmp/cache/assets/D70/B80/sprockets%2Ff66eaed3de611551ae84d6e34b04d495 +0 -0
  1267. data/test/dummy/tmp/cache/assets/D71/760/sprockets%2Fc64381994a923ace4c5e2e5c178ba4fa +0 -0
  1268. data/test/dummy/tmp/cache/assets/D72/3D0/sprockets%2F923ba252f3fd65b366e437c6ddbd278b +0 -0
  1269. data/test/dummy/tmp/cache/assets/D72/E60/sprockets%2F22cd61e47198a268f3be5aebf3534cd8 +0 -0
  1270. data/test/dummy/tmp/cache/assets/D73/020/sprockets%2F2e306d7c72e689d14fadcf72dc7327c1 +0 -0
  1271. data/test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff8a186d6bf7a3faad8829b9aa1881006 +0 -0
  1272. data/test/dummy/tmp/cache/assets/D73/A90/sprockets%2F887d5caf9ac104401916ca75fcff08a8 +0 -0
  1273. data/test/dummy/tmp/cache/assets/D74/960/sprockets%2F493fabdec98fe58d0c36db7821521a63 +0 -0
  1274. data/test/dummy/tmp/cache/assets/D75/460/sprockets%2F8cd8795055b081fd1be3e7fa2785dca2 +0 -0
  1275. data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fb4491f28776c3b33b589fcb590aedc2c +0 -0
  1276. data/test/dummy/tmp/cache/assets/D75/600/sprockets%2F2afafb282ed0628408f76753fbc9df51 +0 -0
  1277. data/test/dummy/tmp/cache/assets/D75/840/sprockets%2F9937d516ad47438fccb8f0815fe2ab3a +0 -0
  1278. data/test/dummy/tmp/cache/assets/D76/CF0/sprockets%2F7ec2368edb7eb22a3fd702a4272e9e89 +0 -0
  1279. data/test/dummy/tmp/cache/assets/D77/440/sprockets%2F938ff041ac8b9346fa3d51cffd0675b7 +0 -0
  1280. data/test/dummy/tmp/cache/assets/D77/580/sprockets%2Fa8dd3ed803c736f6995bf1543d0d8be1 +0 -0
  1281. data/test/dummy/tmp/cache/assets/D77/720/sprockets%2Fffe40f92385ceb1311ae53d77f948ad5 +0 -0
  1282. data/test/dummy/tmp/cache/assets/D77/C50/sprockets%2F0d3dac59d5038274467ffb8dbfd5924b +0 -0
  1283. data/test/dummy/tmp/cache/assets/D78/100/sprockets%2F0f618f82a476ad93a8c199c9c6bbfa50 +0 -0
  1284. data/test/dummy/tmp/cache/assets/D78/490/sprockets%2Fe2986e19baeda4ad61a7999a44303e8c +0 -0
  1285. data/test/dummy/tmp/cache/assets/D78/5E0/sprockets%2Fd8e4db6d4b7de69d0d28f4a627124f81 +0 -0
  1286. data/test/dummy/tmp/cache/assets/D78/C40/sprockets%2F95d8ee0f10fcadca3927427c3990b99a +0 -0
  1287. data/test/dummy/tmp/cache/assets/D79/440/sprockets%2Fabd1b8188900ee5afcef4a486673855d +0 -0
  1288. data/test/dummy/tmp/cache/assets/D79/750/sprockets%2F624cecec55d5d244b8b935f06e57b4e8 +0 -0
  1289. data/test/dummy/tmp/cache/assets/D79/BD0/sprockets%2Fa28334562f4a5947f684bdcfefe2b65a +0 -0
  1290. data/test/dummy/tmp/cache/assets/D7B/470/sprockets%2F4628828d5fded2770f9d4541cacc0f9c +0 -0
  1291. data/test/dummy/tmp/cache/assets/D7B/920/sprockets%2Fda69e29ee3ffe7a2c63781c7d10593d3 +0 -0
  1292. data/test/dummy/tmp/cache/assets/D7C/510/sprockets%2F779ca358c6e034a723cbeca985fb84d7 +0 -0
  1293. data/test/dummy/tmp/cache/assets/D7C/B80/sprockets%2Fe00c543f5cfb7825e52c7bf6d299cf38 +0 -0
  1294. data/test/dummy/tmp/cache/assets/D7C/D80/sprockets%2F9dcd822bf5be7ee30d14c04a96785b99 +0 -0
  1295. data/test/dummy/tmp/cache/assets/D7C/F50/sprockets%2Fc3ac208cec41908ff3393197ccd789ee +0 -0
  1296. data/test/dummy/tmp/cache/assets/D7E/600/sprockets%2F73cfa96224daea00c732aebb0413f12b +0 -0
  1297. data/test/dummy/tmp/cache/assets/D7E/CE0/sprockets%2F480dd37fe4cf71f649a5186d5c29dfc2 +0 -0
  1298. data/test/dummy/tmp/cache/assets/D7F/660/sprockets%2Fe856b8fe72d371ddcb9a6d961317f36c +0 -0
  1299. data/test/dummy/tmp/cache/assets/D80/310/sprockets%2Fd20319d8ef9238666d8dead0ccd6675f +0 -0
  1300. data/test/dummy/tmp/cache/assets/D80/550/sprockets%2F9f26fe839674331ce8ba44ee79edc0a4 +0 -0
  1301. data/test/dummy/tmp/cache/assets/D80/CD0/sprockets%2Fe77d6be07ff62e4fc47e35d4c04d8853 +0 -0
  1302. data/test/dummy/tmp/cache/assets/D80/ED0/sprockets%2F0a56cc02f4f6620064b5dbb91bfa20bb +0 -0
  1303. data/test/dummy/tmp/cache/assets/D81/DD0/sprockets%2Ffffebdff398ef962880d3810b514082f +0 -0
  1304. data/test/dummy/tmp/cache/assets/D82/540/sprockets%2F850ad4b014aea40e7abeed224d30763b +0 -0
  1305. data/test/dummy/tmp/cache/assets/D84/550/sprockets%2Fbc1fc79d543f504d2e8581ce6ee68d78 +0 -0
  1306. data/test/dummy/tmp/cache/assets/D86/330/sprockets%2Fe262ff5799f085cfc9f3c0f9ad090c67 +0 -13
  1307. data/test/dummy/tmp/cache/assets/D87/1F0/sprockets%2F96766fecddb0ec4f87238167d9b7ae90 +0 -0
  1308. data/test/dummy/tmp/cache/assets/D89/790/sprockets%2Fc28cac5b0fbe00ee48e7b0616b34123e +0 -0
  1309. data/test/dummy/tmp/cache/assets/D89/E50/sprockets%2F5198fa00faf0ae724c5a7b0b0047b4df +0 -0
  1310. data/test/dummy/tmp/cache/assets/D8A/160/sprockets%2F3c99b6f39fd9f6a31444944e6fbbfe29 +0 -0
  1311. data/test/dummy/tmp/cache/assets/D8D/0B0/sprockets%2F4e290aaad51d06a4b3e91f88060cad6c +0 -0
  1312. data/test/dummy/tmp/cache/assets/D8F/440/sprockets%2F47623d312f4ac92cbe27e72fdb4a0aa6 +0 -0
  1313. data/test/dummy/tmp/cache/assets/D91/460/sprockets%2Fb7cf39ef8fd9fd950130e779e4847c6d +0 -0
  1314. data/test/dummy/tmp/cache/assets/D92/9A0/sprockets%2Fd055f103c6d30edb8abebb381d2997c1 +0 -0
  1315. data/test/dummy/tmp/cache/assets/D93/190/sprockets%2F4c3c82c0fe91f855df82401f121bdaae +0 -0
  1316. data/test/dummy/tmp/cache/assets/D93/1C0/sprockets%2Ff23b5794b0f2c371a40e4ffaae246cb7 +0 -0
  1317. data/test/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -4
  1318. data/test/dummy/tmp/cache/assets/D96/5C0/sprockets%2Fec17fb2aa35590948ecdfab12265cd43 +0 -0
  1319. data/test/dummy/tmp/cache/assets/D96/5E0/sprockets%2F8ab3acca6a547a8f9521fbc1e76b1129 +0 -0
  1320. data/test/dummy/tmp/cache/assets/D97/950/sprockets%2Fb599ecabbba5b1bb1c025092990966de +0 -0
  1321. data/test/dummy/tmp/cache/assets/D97/BF0/sprockets%2F09df11e5a1e8a6ac6ba8c2ab6f692615 +0 -0
  1322. data/test/dummy/tmp/cache/assets/D98/230/sprockets%2F1ade5eb764fe2cd76faa1241d12259f6 +0 -0
  1323. data/test/dummy/tmp/cache/assets/D98/CD0/sprockets%2Fcafa6a24ecba1f5c899188701d0084dc +0 -0
  1324. data/test/dummy/tmp/cache/assets/D99/390/sprockets%2F68e0acf8be26200d58dcf4edc1c70329 +0 -0
  1325. data/test/dummy/tmp/cache/assets/D99/8B0/sprockets%2F751a6a4f71b2d265b1a2ba69fe74da9e +0 -0
  1326. data/test/dummy/tmp/cache/assets/D99/D70/sprockets%2Ff9bd12f1c79a65cab71c8864b2bb7c02 +0 -0
  1327. data/test/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
  1328. data/test/dummy/tmp/cache/assets/D9C/F00/sprockets%2F3e977aee4ddade1c0c397ac4414862d1 +0 -0
  1329. data/test/dummy/tmp/cache/assets/D9C/FC0/sprockets%2F4bb5a2a65c16b0ef27fec77491d1da88 +0 -372
  1330. data/test/dummy/tmp/cache/assets/D9D/AB0/sprockets%2F3a6af815e06da817837c0867e1dbdcad +0 -0
  1331. data/test/dummy/tmp/cache/assets/D9E/3D0/sprockets%2F9e1c6c638a039a1bc71fb3f098ffc0e4 +0 -0
  1332. data/test/dummy/tmp/cache/assets/D9E/8A0/sprockets%2F0a7eeed4a8f1f8254832ab05ebc45f84 +0 -0
  1333. data/test/dummy/tmp/cache/assets/D9F/870/sprockets%2F0ba85295bee19d33738bdd5b0e6ac77c +0 -0
  1334. data/test/dummy/tmp/cache/assets/D9F/EA0/sprockets%2F33a453bf9407af39d63d34bffa5b6c6d +0 -0
  1335. data/test/dummy/tmp/cache/assets/DA0/5B0/sprockets%2Fcb59af26c8dbd9e32b43bc1f628884a0 +0 -0
  1336. data/test/dummy/tmp/cache/assets/DA0/D10/sprockets%2Ff3ea93c25f1ee82c0d968ccc1e542b37 +0 -0
  1337. data/test/dummy/tmp/cache/assets/DA1/270/sprockets%2F2f1f73349032e4ef6bffeb3b6164dd9a +0 -0
  1338. data/test/dummy/tmp/cache/assets/DA1/440/sprockets%2Fabefcd66d26e6dc045535ddf32c08297 +0 -0
  1339. data/test/dummy/tmp/cache/assets/DA1/C50/sprockets%2F6871442f272dc32ae3f5da27dfcfb7f4 +0 -0
  1340. data/test/dummy/tmp/cache/assets/DA2/900/sprockets%2F253fd4c683d31b6ae7d2ec8db9b5c509 +0 -0
  1341. data/test/dummy/tmp/cache/assets/DA3/AF0/sprockets%2F669d9e6e618b3cb21db4063b5eaaf87c +0 -0
  1342. data/test/dummy/tmp/cache/assets/DA4/100/sprockets%2F10c9ed07a7c83a5f8f2fa5827a6c3eb8 +0 -0
  1343. data/test/dummy/tmp/cache/assets/DA5/F50/sprockets%2F6e5e9448aeecbd1a4e242fd346a5d829 +0 -0
  1344. data/test/dummy/tmp/cache/assets/DA6/450/sprockets%2Fddd8a39e9f078ac33133bb71e5365fef +0 -0
  1345. data/test/dummy/tmp/cache/assets/DA7/120/sprockets%2F1bf2a915b5c9ee1fd36c85f5276fe04f +0 -0
  1346. data/test/dummy/tmp/cache/assets/DA9/3A0/sprockets%2F6a93e60a4af9dde11c88ce1f1f5f0698 +0 -0
  1347. data/test/dummy/tmp/cache/assets/DA9/910/sprockets%2Fbb959ba602ab7943a96debe1558da88e +0 -0
  1348. data/test/dummy/tmp/cache/assets/DAA/8E0/sprockets%2Fb59cb9365c263e17d8e9cc72b2f1e8ea +0 -0
  1349. data/test/dummy/tmp/cache/assets/DAA/A50/sprockets%2F8cfa87b2646897bd65abdc6f4a23df51 +0 -0
  1350. data/test/dummy/tmp/cache/assets/DAA/C50/sprockets%2F990e0def657f2f38f0f46ea25c3aa67e +0 -0
  1351. data/test/dummy/tmp/cache/assets/DAC/390/sprockets%2F692b14ff6d597b82d7cb9b7671ddbf0a +0 -0
  1352. data/test/dummy/tmp/cache/assets/DAD/150/sprockets%2F7510e84f786ad386efd0ac4ecf963dc4 +0 -0
  1353. data/test/dummy/tmp/cache/assets/DAD/B00/sprockets%2Fc50f0bb43f1be82d46b3dbaed700d002 +0 -0
  1354. data/test/dummy/tmp/cache/assets/DAF/6A0/sprockets%2Fa10a9fb17fdd3c30a048cfa112fdb441 +0 -0
  1355. data/test/dummy/tmp/cache/assets/DB0/FB0/sprockets%2F7b977859d2c94edcaddb62b75e2a098b +0 -0
  1356. data/test/dummy/tmp/cache/assets/DB4/580/sprockets%2F73cfb0d516a66b01deb0d0c098dfb0d0 +0 -0
  1357. data/test/dummy/tmp/cache/assets/DBE/6D0/sprockets%2Fe6f798b88c87fe64a4e40ead8ad85d37 +0 -0
  1358. data/test/dummy/tmp/cache/assets/DBE/F60/sprockets%2Ff389a1ce4db9c7c6ae03ac1f312fa232 +0 -0
  1359. data/test/dummy/tmp/cache/assets/DBF/D70/sprockets%2F0fb312a776d39a42a8c6cb8ca0d4eb5b +0 -0
  1360. data/test/dummy/tmp/cache/assets/DC0/D20/sprockets%2F348d1dba39ef8d6e48fd02a201a6eaa1 +0 -0
  1361. data/test/dummy/tmp/cache/assets/DC1/330/sprockets%2F0ca5e4ab25ba6b584b50c681b2e2f8ef +0 -0
  1362. data/test/dummy/tmp/cache/assets/DC3/9A0/sprockets%2F4fca05aadb18e1ce743875b3c0eae763 +0 -0
  1363. data/test/dummy/tmp/cache/assets/DC5/990/sprockets%2Fad178a990d23dd1ac46e0bd930dcf46c +0 -0
  1364. data/test/dummy/tmp/cache/assets/DC9/F10/sprockets%2Fef521f1bf8efce0a0ec6c3e6728b0508 +0 -0
  1365. data/test/dummy/tmp/cache/assets/DCA/1A0/sprockets%2Fa340bbf09a7ea93e47ac5dc7b9bc5436 +0 -0
  1366. data/test/dummy/tmp/cache/assets/DCD/6B0/sprockets%2F05ccaeb7ffede091c1708296eacb9713 +0 -0
  1367. data/test/dummy/tmp/cache/assets/DCF/260/sprockets%2Ffa6048415c7ead7b13579c9cbeb8dae0 +0 -0
  1368. data/test/dummy/tmp/cache/assets/DD4/820/sprockets%2F35a959659ad9dc2de1e0fbe3c13d18fd +0 -0
  1369. data/test/dummy/tmp/cache/assets/DD5/2A0/sprockets%2Fef50b031ac1a0fb2e08a2a6ea3fc08b0 +0 -0
  1370. data/test/dummy/tmp/cache/assets/DD5/610/sprockets%2F9e1ba99824f7731edc3489abbaca5ef1 +0 -0
  1371. data/test/dummy/tmp/cache/assets/DD6/330/sprockets%2F7ca77285ccddf7fdab491480fde7c151 +0 -0
  1372. data/test/dummy/tmp/cache/assets/DD7/B50/sprockets%2F7effa89c4b23ab60109f969a9a66ccbc +0 -0
  1373. data/test/dummy/tmp/cache/assets/DD8/2D0/sprockets%2Fc7f10cddd3a3cdccc64580ca85795f99 +0 -0
  1374. data/test/dummy/tmp/cache/assets/DD9/DE0/sprockets%2Fb966cd2ba3e1b3ff91f8b948ec238e2e +0 -0
  1375. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -31
  1376. data/test/dummy/tmp/cache/assets/DDD/390/sprockets%2F97cde4e909ae99d0bacaaf5483a8b944 +0 -0
  1377. data/test/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -4
  1378. data/test/dummy/tmp/cache/assets/DDE/960/sprockets%2Ff3399fed917fb2a6f8ff71d4d1ae21b9 +0 -0
  1379. data/test/dummy/tmp/cache/assets/DDF/B10/sprockets%2F74a9645f5a8bb77187bbb49aac2ef9ef +0 -0
  1380. data/test/dummy/tmp/cache/assets/DE1/B90/sprockets%2Fd1da8c874edf3fa186e5e3f3e29e862e +0 -0
  1381. data/test/dummy/tmp/cache/assets/DE2/FF0/sprockets%2F8f58db6f60a268bbf88249eb2d76ecbe +0 -0
  1382. data/test/dummy/tmp/cache/assets/DE5/C00/sprockets%2Fdd9d56992a0f3fe1cbd8b667ec9d09e6 +0 -0
  1383. data/test/dummy/tmp/cache/assets/DE6/DB0/sprockets%2F267addac8fe023b1a311ddad2e25f71d +0 -0
  1384. data/test/dummy/tmp/cache/assets/DE8/2F0/sprockets%2F96f2a8f5f9405bdef3dd3cfd3ee26699 +0 -0
  1385. data/test/dummy/tmp/cache/assets/DEA/ED0/sprockets%2Fa9ece897c9d32df5d53aed7eb5d38973 +0 -0
  1386. data/test/dummy/tmp/cache/assets/DEE/140/sprockets%2F9e7b9f2cc1e4af0aac3a2c630a6823bf +0 -154
  1387. data/test/dummy/tmp/cache/assets/DEF/170/sprockets%2Fb277fe609cadbad6cda3d5440e17e11b +0 -0
  1388. data/test/dummy/tmp/cache/assets/DF1/390/sprockets%2F6e5c959ef6f318f078e7d4a9f6ff3bfb +0 -0
  1389. data/test/dummy/tmp/cache/assets/DF1/AB0/sprockets%2Fe07c10f91a71dedd69d86ce3ac210aeb +0 -0
  1390. data/test/dummy/tmp/cache/assets/DF1/B20/sprockets%2Fdaf37c0f4b45bd9e7261afd02a1e3b5f +0 -0
  1391. data/test/dummy/tmp/cache/assets/DF3/5D0/sprockets%2Fbded3ce230d39fbb3d0802ef2d7726bd +0 -0
  1392. data/test/dummy/tmp/cache/assets/DF3/E20/sprockets%2F552e130b12fc2abeb75fcafcde9e6471 +0 -0
  1393. data/test/dummy/tmp/cache/assets/DF4/810/sprockets%2F07fbe0ba9e5c035a15e3defdc472b7c5 +0 -0
  1394. data/test/dummy/tmp/cache/assets/DF4/BF0/sprockets%2Fba73f1ee71ebc1ad6b8f025b4d3e58d2 +0 -0
  1395. data/test/dummy/tmp/cache/assets/DF5/F30/sprockets%2F61a9f09fc06eb910c5a984a3db1fbcbc +0 -0
  1396. data/test/dummy/tmp/cache/assets/DF6/220/sprockets%2F7e6ea4f6a6c0c9cf3db8c0d4414b3de0 +0 -0
  1397. data/test/dummy/tmp/cache/assets/DF7/0A0/sprockets%2F846c5a4fe7a07fb7db1a50f17e2adfb4 +0 -0
  1398. data/test/dummy/tmp/cache/assets/DF7/EE0/sprockets%2F661abfd8ab8ddb966ccded48ca100623 +0 -0
  1399. data/test/dummy/tmp/cache/assets/DF8/A50/sprockets%2Fab8699ae64f2efbfb0c01bd269661aba +0 -0
  1400. data/test/dummy/tmp/cache/assets/DFA/E10/sprockets%2Fe0ed51edc80877cbe7d5c6ea334c41da +0 -0
  1401. data/test/dummy/tmp/cache/assets/DFA/FD0/sprockets%2Fae353fbfac66799b1b2b673cd0ee2dd2 +0 -0
  1402. data/test/dummy/tmp/cache/assets/DFB/A10/sprockets%2Fe8c0b2f8d9deb6d6edacfe3042213c29 +0 -0
  1403. data/test/dummy/tmp/cache/assets/DFC/D30/sprockets%2F4420d2feffc9ca5db5627b7cc32e18fb +0 -0
  1404. data/test/dummy/tmp/cache/assets/DFD/D00/sprockets%2Fa1f60245fdcbef10e7b34ff59b7e1ce7 +0 -0
  1405. data/test/dummy/tmp/cache/assets/DFE/390/sprockets%2Fe3b16ae99b11b9eeb1f19b9da4a3f9b4 +0 -0
  1406. data/test/dummy/tmp/cache/assets/E02/C40/sprockets%2F78ca65bacdf0f50b219c998bd2d8c1fd +0 -0
  1407. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -31
  1408. data/test/dummy/tmp/cache/assets/E04/E00/sprockets%2F82bbcd7dc4cd65bcaf98f457e64cd006 +0 -0
  1409. data/test/dummy/tmp/cache/assets/E07/B90/sprockets%2Faa8bbd5ec66e8551cb8f02e6f91ccf66 +0 -0
  1410. data/test/dummy/tmp/cache/assets/E0A/170/sprockets%2F997a4124bcbaff8ef47ba8c3f186b6fc +0 -0
  1411. data/test/dummy/tmp/cache/assets/E0A/1C0/sprockets%2Fb86fd2e0b485e4ed9457b5e1fbd7bcf4 +0 -0
  1412. data/test/dummy/tmp/cache/assets/E0B/300/sprockets%2F6b29fde38df17f56a7dfd0b53e78c0fb +0 -0
  1413. data/test/dummy/tmp/cache/assets/E0D/910/sprockets%2F13bc0ba3fbaece034c2cd4e223cea493 +0 -0
  1414. data/test/dummy/tmp/cache/assets/E12/620/sprockets%2F6aed958a85d7bbfed8175b89b21baef9 +0 -0
  1415. data/test/dummy/tmp/cache/assets/E12/C20/sprockets%2Feb34805a939ece95f8dade1eacfe8575 +0 -0
  1416. data/test/dummy/tmp/cache/assets/E18/BD0/sprockets%2Fdd3f079cb22f0cbad4d62c2df2e6a1c1 +0 -0
  1417. data/test/dummy/tmp/cache/assets/E19/9B0/sprockets%2F8dcc04b1c4d8aecb55c19e2f0a13aac8 +0 -0
  1418. data/test/dummy/tmp/cache/assets/E19/A50/sprockets%2Fc235225f0a4e2d6aaac029dec6dc7fca +0 -0
  1419. data/test/dummy/tmp/cache/assets/E1C/6A0/sprockets%2Fd27eac5dac6f025912b1ae4f60aafe6b +0 -0
  1420. data/test/dummy/tmp/cache/assets/E1E/6D0/sprockets%2F0286dff2b4ebd44afc41a7bea4db414e +0 -0
  1421. data/test/dummy/tmp/cache/assets/E1F/040/sprockets%2Fcaaa0078fb3ec94cd2b8a2565d4abda8 +0 -0
  1422. data/test/dummy/tmp/cache/assets/E25/920/sprockets%2F96dab96ea56aceaeaaaa605803bb68d4 +0 -0
  1423. data/test/dummy/tmp/cache/assets/E26/430/sprockets%2Ffa79fa9d616edd2acb247422aa17eafb +0 -0
  1424. data/test/dummy/tmp/cache/assets/E2B/B40/sprockets%2F88b136beafea9b44ef70aa16b4afcb78 +0 -0
  1425. data/test/dummy/tmp/cache/assets/E2D/350/sprockets%2F38bf1c815d0b29bdf4c5c5f8c7c7beaa +0 -0
  1426. data/test/dummy/tmp/cache/assets/E2D/620/sprockets%2F378b29aa9f5b06dba19fac1a7c8cdfd4 +0 -0
  1427. data/test/dummy/tmp/cache/assets/E2F/350/sprockets%2Fad9346a4df3cc90fb4aba15ce9db9f47 +0 -0
  1428. data/test/dummy/tmp/cache/assets/E32/D80/sprockets%2F460ccbfbbb7bd5d4f4954bcd1792bf8f +0 -0
  1429. data/test/dummy/tmp/cache/assets/E33/6A0/sprockets%2Fda09745d0a9bccceef4b95f7c4e3d36c +0 -0
  1430. data/test/dummy/tmp/cache/assets/E39/2D0/sprockets%2F52e15dbdf2cefdb67efc480d67e38f6a +0 -0
  1431. data/test/dummy/tmp/cache/assets/E41/2C0/sprockets%2Fb4fdba6739eff84ef39eec25f5f15fd0 +0 -0
  1432. data/test/dummy/tmp/cache/assets/E50/0A0/sprockets%2F3b85ffabdab3abb59d1aa3c63ded2674 +0 -0
  1433. data/test/dummy/tmp/cache/assets/E56/660/sprockets%2Ffed6a01984e7ea5c007c5e3bfad1fadd +0 -0
  1434. data/test/dummy/tmp/cache/assets/E62/880/sprockets%2F3aaf0abaaa5dfc481858fcf99be744df +0 -372
  1435. data/test/dummy/tmp/cache/assets/E66/340/sprockets%2F57b82ebdad2ba79dd446f878a3eeaedb +0 -0
  1436. data/test/dummy/tmp/cache/assets/E68/350/sprockets%2Ff26bb3efad0f92afcaf6dfb597fa7448 +0 -0
  1437. data/test/dummy/tmp/cache/assets/E68/EA0/sprockets%2F93ee9ef7cee9da2cd08dca8430cce81d +0 -0
  1438. data/test/dummy/tmp/cache/assets/E71/550/sprockets%2F0efa339ed96f9cb5eab36f8adec8de39 +0 -0
  1439. data/test/dummy/tmp/cache/assets/E8B/C90/sprockets%2Fa4bdcee220f4a6e6d48fd6cb5dceed71 +0 -0
  1440. data/test/dummy/tmp/cache/assets/E94/740/sprockets%2Faa66cedb6ca6aee1d95ebaf8937beb57 +0 -0
  1441. data/test/dummy/tmp/cache/assets/E95/F50/sprockets%2F37a48ac3dc87ddfec85b4dc7abcca99b +0 -0
  1442. data/test/dummy/tmp/cache/assets/EF4/820/sprockets%2Fee2adf3afe09beb7fd9cbb9ea29da75d +0 -0
  1443. data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_base.css.scssc +0 -0
  1444. data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_forms.css.scssc +0 -0
  1445. data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_header.css.scssc +0 -0
  1446. data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_mixins.css.scssc +0 -0
  1447. data/test/dummy/tmp/cache/sass/2e16b619d48bf62a8ac98dbb3d2bc6e27f102db4/_typography.css.scssc +0 -0
  1448. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_all.css.scssc +0 -0
  1449. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_buttons.css.scssc +0 -0
  1450. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_gradients.css.scssc +0 -0
  1451. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_icons.css.scssc +0 -0
  1452. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_reset.css.scssc +0 -0
  1453. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_rounded.css.scssc +0 -0
  1454. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_sections.css.scssc +0 -0
  1455. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_shadows.css.scssc +0 -0
  1456. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_utilities.scssc +0 -0
  1457. data/test/dummy/tmp/cache/sass/3483e61ece0234ea8055e784e5c316d7ad7a62c4/_variables.css.scssc +0 -0
  1458. data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_comments.css.scssc +0 -0
  1459. data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_date_picker.css.scssc +0 -0
  1460. data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_flash_messages.css.scssc +0 -0
  1461. data/test/dummy/tmp/cache/sass/8b152f509dc9acb2d79f7dce8f46ec225b01bc66/_tables.css.scssc +0 -0
  1462. data/test/dummy/tmp/cache/sass/9ca9a22eff91c4261249b7b40e957b81799629ba/application.css.scssc +0 -0
  1463. data/test/dummy/tmp/cache/sass/9fa1a2d9195a64ca73dc2fbf42b5468fc9babf48/active_admin.css.scssc +0 -0
  1464. data/test/dummy/tmp/cache/sass/c467ab1ac00bb4b33ddebfbc4207f8cc0f9e61bc/reset.css.scssc +0 -0
@@ -1,13 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@expires_in0:@compressedF: @value{"required_assets_digest"%442ef59e4ff27e1bde6e33ae242d3384"content_type"application/javascript"
2
- class"BundledAsset"
3
- mtime"2011-11-21T13:42:08+01:00"
4
- (),!0),a(c,c.getPrevious())}}(),show:function(){this.setStyles({display:"",visibility:""})},setAttribute:function(){var a=function(a,b){return this.$.setAttribute(a,b),this};return c&&(b.ie7Compat||b.ie6Compat)?function(b,c){var d=this;return b=="class"?d.$.className=c:b=="style"?d.$.style.cssText=c:b=="tabindex"?d.$.tabIndex=c:b=="checked"?d.$.checked=c:a.apply(d,arguments),d}:b.ie8Compat&&b.secure?function(b,c){if(b=="src"&&c.match(/^http:\/\//))try{a.apply(this,arguments)}catch(d){}else a.apply(this,arguments);return this}:a}(),setAttributes:function(a){for(var b in a)this.setAttribute(b,a[b]);return this},setValue:function(a){return this.$.value=a,this},removeAttribute:function(){var a=function(a){this.$.removeAttribute(a)};return c&&(b.ie7Compat||b.ie6Compat)?function(b){b=="class"?b="className":b=="tabindex"&&(b="tabIndex"),a.call(this,b)}:a}(),removeAttributes:function(a){if(e.isArray(a))for(var b=0;b<a.length;b++)this.removeAttribute(a[b]);else for(var c in a)a.hasOwnProperty(c)&&this.removeAttribute(c)},removeStyle:function(a){var b=this;b.setStyle(a,""),b.$.style.removeAttribute&&b.$.style.removeAttribute(e.cssStyleToDomStyle(a)),b.$.style.cssText||b.removeAttribute("style")},setStyle:function(a,b){return this.$.style[e.cssStyleToDomStyle(a)]=b,this},setStyles:function(a){for(var b in a)this.setStyle(b,a[b]);return this},setOpacity:function(a){c?(a=Math.round(a*100),this.setStyle("filter",a>=100?"":"progid:DXImageTransform.Microsoft.Alpha(opacity="+a+")")):this.setStyle("opacity",a)},unselectable:b.gecko?function(){this.$.style.MozUserSelect="none",this.on("dragstart",function(a){a.data.preventDefault()})}:b.webkit?function(){this.$.style.KhtmlUserSelect="none",this.on("dragstart",function(a){a.data.preventDefault()})}:function(){if(c||b.opera){var a=this.$,d,e=0;a.unselectable="on";while(d=a.all[e++])switch(d.tagName.toLowerCase()){case"iframe":case"textarea":case"input":case"select":break;default:d.unselectable="on"}}},getPositionedAncestor:function(){var a=this;while(a.getName()!="html"){if(a.getComputedStyle("position")!="static")return a;a=a.getParent()}return null},getDocumentPosition:function(a){var d=this,e=0,f=0,g=d.getDocument(),i=g.getBody(),j=g.$.compatMode=="BackCompat";if(document.documentElement.getBoundingClientRect){var k=d.$.getBoundingClientRect(),l=g.$,m=l.documentElement,n=m.clientTop||i.$.clientTop||0,o=m.clientLeft||i.$.clientLeft||0,p=!0;if(c){var q=g.getDocumentElement().contains(d),r=g.getBody().contains(d);p=j&&r||!j&&q}p&&(e=k.left+(!j&&m.scrollLeft||i.$.scrollLeft),e-=o,f=k.top+(!j&&m.scrollTop||i.$.scrollTop),f-=n)}else{var s=d,t=null,u;while(s&&s.getName()!="body"&&s.getName()!="html"){e+=s.$.offsetLeft-s.$.scrollLeft,f+=s.$.offsetTop-s.$.scrollTop,s.equals(d)||(e+=s.$.clientLeft||0,f+=s.$.clientTop||0);var v=t;while(v&&!v.equals(s))e-=v.$.scrollLeft,f-=v.$.scrollTop,v=v.getParent();t=s,s=(u=s.$.offsetParent)?new h(u):null}}if(a){var w=d.getWindow(),x=a.getWindow();if(!w.equals(x)&&w.$.frameElement){var y=(new h(w.$.frameElement)).getDocumentPosition(a);e+=y.x,f+=y.y}}return document.documentElement.getBoundingClientRect||b.gecko&&!j&&(e+=d.$.clientLeft?1:0,f+=d.$.clientTop?1:0),{x:e,y:f}},scrollIntoView:function(a){var b=this,c=b.getWindow(),d=c.getViewPaneSize().height,e=d*-1;a?e+=d:(e+=b.$.offsetHeight||0,e+=parseInt(b.getComputedStyle("marginBottom")||0,10)||0);var f=b.getDocumentPosition();e+=f.y,e=e<0?0:e;var g=c.getScrollPosition().y;(e>g||e<g-d)&&c.$.scrollTo(0,e)},setState:function(a){var b=this;switch(a){case 1:b.addClass("cke_on"),b.removeClass("cke_off"),b.removeClass("cke_disabled");break;case 0:b.addClass("cke_disabled"),b.removeClass("cke_off"),b.removeClass("cke_on");break;default:b.addClass("cke_off"),b.removeClass("cke_on"),b.removeClass("cke_disabled")}},getFrameDocument:function(){var a=this.$;try{a.contentWindow.document}catch(d){a.src=a.src,c&&b.version<7&&window.showModalDialog('javascript:document.write("<script>window.setTimeout(function(){window.close();},50);</script>")')}return a&&new g(a.contentWindow.document)},copyAttributes:function(a,b){var d=this,e=d.$.attributes;b=b||{};for(var f=0;f<e.length;f++){var g=e[f],h=g.nodeName.toLowerCase(),i;if(h in b)continue;if(h=="checked"&&(i=d.getAttribute(h)))a.setAttribute(h,i);else if(g.specified||c&&g.nodeValue&&h=="value")i=d.getAttribute(h),i===null&&(i=g.nodeValue),a.setAttribute(h,i)}d.$.style.cssText!==""&&(a.$.style.cssText=d.$.style.cssText)},renameNode:function(a){var b=this;if(b.getName()==a)return;var c=b.getDocument(),d=new h(a,c);b.copyAttributes(d),b.moveChildren(d),b.getParent()&&b.$.parentNode.replaceChild(d.$,b.$),d.$["data-cke-expando"]=b.$["data-cke-expando"],b.$=d.$},getChild:function(a){var b=this.$;if(!a.slice)b=b.childNodes[a];else while(a.length>0&&b)b=b.childNodes[a.shift()];return b?new d.node(b):null},getChildCount:function(){return this.$.childNodes.length},disableContextMenu:function(){this.on("contextmenu",function(a){a.data.getTarget().hasClass("cke_enable_context_menu")||a.data.preventDefault()})},getDirection:function(a){var b=this;return a?b.getComputedStyle("direction")||b.getDirection()||b.getDocument().$.dir||b.getDocument().getBody().getDirection(1):b.getStyle("direction")||b.getAttribute("dir")},data:function(a,b){return a="data-"+a,b===undefined?this.getAttribute(a):(b===!1?this.removeAttribute(a):this.setAttribute(a,b),null)}}),function(){function d(b){var c=0;for(var d=0,e=a[b].length;d<e;d++)c+=parseInt(this.getComputedStyle(a[b][d])||0,10)||0;return c}var a={width:["border-left-width","border-right-width","padding-left","padding-right"],height:["border-top-width","border-bottom-width","padding-top","padding-bottom"]};h.prototype.setSize=function(a,e,f){typeof e=="number"&&(f&&(!c||!b.quirks)&&(e-=d.call(this,a)),this.setStyle(a,e+"px"))},h.prototype.getSize=function(a,b){var c=Math.max(this.$["offset"+e.capitalize(a)],this.$["client"+e.capitalize(a)])||0;return b&&(c-=d.call(this,a)),c}}(),a.command=function(b,c){this.uiItems=[],this.exec=function(a){return this.state==0?!1:(this.editorFocus&&b.focus(),c.exec.call(this,b,a)!==!1)},e.extend(this,c,{modes:{wysiwyg:1},editorFocus:1,state:2}),a.event.call(this)},a.command.prototype={enable:function(){var a=this;a.state==0&&a.setState(!a.preserveState||typeof a.previousState=="undefined"?2:a.previousState)},disable:function(){this.setState(0)},setState:function(a){var b=this;return b.state==a?!1:(b.previousState=b.state,b.state=a,b.fire("state"),!0)},toggleState:function(){var a=this;a.state==2?a.setState(1):a.state==1&&a.setState(2)}},a.event.implementOn(a.command.prototype,!0),a.ENTER_P=1,a.ENTER_BR=2,a.ENTER_DIV=3,a.config={customConfig:"config.js",autoUpdateElement:!0,baseHref:"",contentsCss:a.basePath+"contents.css",contentsLangDirection:"ui",contentsLanguage:"",language:"",defaultLanguage:"en",enterMode:1,forceEnterMode:!1,shiftEnterMode:2,corePlugins:"",docType:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',bodyId:"",bodyClass:"",fullPage:!1,height:200,plugins:"about,a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,dialogadvtab,div,elementspath,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,iframe,image,indent,justify,keystrokes,link,list,liststyle,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,scayt,smiley,showblocks,showborders,sourcearea,stylescombo,table,tabletools,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc",extraPlugins:"",removePlugins:"",protectedSource:[],tabIndex:0,theme:"default",skin:"kama",width:"",baseFloatZIndex:1e4};var i=a.config;a.focusManager=function(a){return a.focusManager?a.focusManager:(this.hasFocus=!1,this._={editor:a},this)},a.focusManager.prototype={focus:function(){var b=this;b._.timer&&clearTimeout(b._.timer);if(!b.hasFocus){a.currentInstance&&a.currentInstance.focusManager.forceBlur();var c=b._.editor;c.container.getChild(1).addClass("cke_focus"),b.hasFocus=!0,c.fire("focus")}},blur:function(){var a=this;a._.timer&&clearTimeout(a._.timer),a._.timer=setTimeout(function(){delete a._.timer,a.forceBlur()},100)},forceBlur:function(){if(this.hasFocus){var a=this._.editor;a.container.getChild(1).removeClass("cke_focus"),this.hasFocus=!1,a.fire("blur")}}},function(){var b={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,"en-au":1,"en-ca":1,"en-gb":1,en:1,eo:1,es:1,et:1,eu:1,fa:1,fi:1,fo:1,"fr-ca":1,fr:1,gl:1,gu:1,he:1,hi:1,hr:1,hu:1,is:1,it:1,ja:1,ka:1,km:1,ko:1,lt:1,lv:1,mn:1,ms:1,nb:1,nl:1,no:1,pl:1,"pt-br":1,pt:1,ro:1,ru:1,sk:1,sl:1,"sr-latn":1,sr:1,sv:1,th:1,tr:1,uk:1,vi:1,"zh-cn":1,zh:1},load:function(b,c,d){if(!b||!a.lang.languages[b])b=this.detect(c,b);this[b]?d(b,this[b]):a.scriptLoader.load(a.getUrl("lang/"+b+".js"),function(){d(b,this[b])},this)},detect:function(b,c){var d=this.languages;c=c||navigator.userLanguage||navigator.language||b;var e=c.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),f=e[1],g=e[2];return d[f+"-"+g]?f=f+"-"+g:d[f]||(f=null),a.lang.detect=f?function(){return f}:function(a){return a},f||b}}}(),a.scriptLoader=function(){var b={},d={};return{load:function(e,f,g,i){var j=typeof e=="string";j&&(e=[e]),g||(g=a);var k=e.length,l=[],m=[],n=function(a){f&&(j?f.call(g,a):f.call(g,l,m))};if(k===0){n(!0);return}var o=function(b,c){(c?l:m).push(b),--k<=0&&(i&&a.document.getDocumentElement().removeStyle("cursor"),n(c))},p=function(a,c){b[a]=1;var e=d[a];delete d[a];for(var f=0;f<e.length;f++)e[f](a,c)},q=function(e){if(b[e]){o(e,!0);return}var g=d[e]||(d[e]=[]);g.push(o);if(g.length>1)return;var i=new h("script");i.setAttributes({type:"text/javascript",src:e}),f&&(c?i.$.onreadystatechange=function(){if(i.$.readyState=="loaded"||i.$.readyState=="complete")i.$.onreadystatechange=null,p(e,!0)}:(i.$.onload=function(){setTimeout(function(){p(e,!0)},0)},i.$.onerror=function(){p(e,!1)})),i.appendTo(a.document.getHead())};i&&a.document.getDocumentElement().setStyle("cursor","wait");for(var r=0;r<k;r++)q(e[r])}}}(),a.resourceManager=function(a,b){var c=this;c.basePath=a,c.fileName=b,c.registered={},c.loaded={},c.externals={},c._={waitingList:{}}},a.resourceManager.prototype={add:function(b,c){if(this.registered[b])throw'[CKEDITOR.resourceManager.add] The resource name "'+b+'" is already registered.';a.fire(b+e.capitalize(this.fileName)+"Ready",this.registered[b]=c||{})},get:function(a){return this.registered[a]||null},getPath:function(b){var c=this.externals[b];return a.getUrl(c&&c.dir||this.basePath+b+"/")},getFilePath:function(b){var c=this.externals[b];return a.getUrl(this.getPath(b)+(c&&typeof c.file=="string"?c.file:this.fileName+".js"))},addExternal:function(a,b,c){a=a.split(",");for(var d=0;d<a.length;d++){var e=a[d];this.externals[e]={dir:b,file:c}}},load:function(b,c,d){e.isArray(b)||(b=b?[b]:[]);var f=this.loaded,g=this.registered,h=[],i={},j={};for(var k=0;k<b.length;k++){var l=b[k];if(!l)continue;if(!f[l]&&!g[l]){var m=this.getFilePath(l);h.push(m),m in i||(i[m]=[]),i[m].push(l)}else j[l]=this.get(l)}a.scriptLoader.load(h,function(a,b){if(b.length)throw'[CKEDITOR.resourceManager.load] Resource name "'+i[b[0]].join(",")+'" was not found at "'+b[0]+'".';for(var e=0;e<a.length;e++){var g=i[a[e]];for(var h=0;h<g.length;h++){var k=g[h];j[k]=this.get(k),f[k]=1}}c.call(d,j)},this)}},a.plugins=new a.resourceManager("plugins/","plugin");var j=a.plugins;j.load=e.override(j.load,function(a){return function(b,c,d){var f={},g=function(b){a.call(this,b,function(a){e.extend(f,a);var b=[];for(var h in a){var i=a[h],j=i&&i.requires;if(j)for(var k=0;k<j.length;k++)f[j[k]]||b.push(j[k])}if(b.length)g.call(this,b);else{for(h in f)i=f[h],i.onLoad&&!i.onLoad._called&&(i.onLoad(),i.onLoad._called=1);c&&c.call(d||window,f)}},this)};g.call(this,b)}}),j.setLang=function(a,b,c){var d=this.get(a),f=d.langEntries||(d.langEntries={}),g=d.lang||(d.lang=[]);e.indexOf(g,b)==-1&&g.push(b),f[b]=c},a.skins=function(){var b={},c={},d=function(d,f,g,h){function k(a,b){return a.replace(/url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,function(a,c,d,e){return/^\/|^\w?:/.test(d)?a:"url("+b+c+d+e+")"})}var i=b[f];d.skin||(d.skin=i,i.init&&i.init(d));var j=function(b){for(var d=0;d<b.length;d++)b[d]=a.getUrl(c[f]+b[d])};g=i[g];var l=!g||!!g._isLoaded;if(l)h&&h();else{var m=g._pending||(g._pending=[]);m.push(h);if(m.length>1)return;var n=!g.css||!g.css.length,o=!g.js||!g.js.length,p=function(){if(n&&o){g._isLoaded=1;for(var a=0;a<m.length;a++)m[a]&&m[a]()}};if(!n){var q=g.css;if(e.isArray(q)){j(q);for(var r=0;r<q.length;r++)a.document.appendStyleSheet(q[r])}else q=k(q,a.getUrl(c[f])),a.document.appendStyleText(q);g.css=q,n=1}o||(j(g.js),a.scriptLoader.load(g.js,function(){o=1,p()})),p()}};return{add:function(d,e){b[d]=e,e.skinPath=c[d]||(c[d]=a.getUrl("skins/"+d+"/"))},load:function(e,f,g){var h=e.skinName,i=e.skinPath;b[h]?d(e,h,f,g):(c[h]=i,a.scriptLoader.load(a.getUrl(i+"skin.js"),function(){d(e,h,f,g)}))}}}(),a.themes=new a.resourceManager("themes/","theme"),a.ui=function(a){return a.ui?a.ui:(this._={handlers:{},items:{},editor:a},this)};var k=a.ui;k.prototype={add:function(a,b,c){this._.items[a]={type:b,command:c.command||null,args:Array.prototype.slice.call(arguments,2)}},create:function(a){var b=this,c=b._.items[a],d=c&&b._.handlers[c.type],f=c&&c.command&&b._.editor.getCommand(c.command),g=d&&d.create.apply(b,c.args);return c&&(g=e.extend(g,b._.editor.skin[c.type],!0)),f&&f.uiItems.push(g),g},addHandler:function(a,b){this._.handlers[a]=b}},a.event.implementOn(k),function(){function s(){var a,b=this._.commands,c=this.mode;if(!c)return;for(var d in b)a=b[d],a[a.startDisabled?"disable":this.readOnly&&!a.readOnly?"disable":a.modes[c]?"enable":"disable"]()}var c=0,d=function(){var b="editor"+ ++c;return a.instances&&a.instances[b]?d():b},f={},g=function(b){var c=b.config.customConfig;if(!c)return!1;c=a.getUrl(c);var d=f[c]||(f[c]={});return d.fn?(d.fn.call(b,b.config),(a.getUrl(b.config.customConfig)==c||!g(b))&&b.fireOnce("customConfigLoaded")):a.scriptLoader.load(c,function(){a.editorConfig?d.fn=a.editorConfig:d.fn=function(){},g(b)}),!0},l=function(a,b){a.on("customConfigLoaded",function(){if(b){if(b.on)for(var c in b.on)a.on(c,b.on[c]);e.extend(a.config,b,!0),delete a.config.on}m(a)}),b&&b.customConfig!=undefined&&(a.config.customConfig=b.customConfig),g(a)||a.fireOnce("customConfigLoaded")},m=function(b){var c=b.config.skin.split(","),d=c[0],e=a.getUrl(c[1]||"skins/"+d+"/");b.skinName=d,b.skinPath=e,b.skinClass="cke_skin_"+d,b.tabIndex=b.config.tabIndex||b.element.getAttribute("tabindex")||0,b.readOnly=!!b.config.readOnly||!!b.element.getAttribute("disabled"),b.fireOnce("configLoaded"),p(b)},n=function(c){a.lang.load(c.config.language,c.config.defaultLanguage,function(a,d){c.langCode=a,c.lang=e.prototypedCopy(d),b.gecko&&b.version<10900&&c.lang.dir=="rtl"&&(c.lang.dir="ltr"),c.fire("langLoaded");var f=c.config;f.contentsLangDirection=="ui"&&(f.contentsLangDirection=c.lang.dir),o(c)})},o=function(c){var d=c.config,f=d.plugins,g=d.extraPlugins,h=d.removePlugins;if(g){var i=new RegExp("(?:^|,)(?:"+g.replace(/\s*,\s*/g,"|")+")(?=,|$)","g");f=f.replace(i,""),f+=","+g}h&&(i=new RegExp("(?:^|,)(?:"+h.replace(/\s*,\s*/g,"|")+")(?=,|$)","g"),f=f.replace(i,"")),b.air&&(f+=",adobeair"),j.load(f.split(","),function(b){var d=[],f=[],g=[];c.plugins=b;for(var h in b){var i=b[h],k=i.lang,l=j.getPath(h),m=null;i.path=l,k&&(m=e.indexOf(k,c.langCode)>=0?c.langCode:k[0],!i.langEntries||!i.langEntries[m]?g.push(a.getUrl(l+"lang/"+m+".js")):(e.extend(c.lang,i.langEntries[m]),m=null)),f.push(m),d.push(i)}a.scriptLoader.load(g,function(){var a=["beforeInit","init","afterInit"];for(var b=0;b<a.length;b++)for(var g=0;g<d.length;g++){var h=d[g];b===0&&f[g]&&h.lang&&e.extend(c.lang,h.langEntries[f[g]]),h[a[b]]&&h[a[b]](c)}c.fire("pluginsLoaded"),q(c)})})},p=function(b){a.skins.load(b,"editor",function(){n(b)})},q=function(b){var c=b.config.theme;a.themes.load(c,function(){var d=b.theme=a.themes.get(c);d.path=a.themes.getPath(c),d.build(b),b.config.autoUpdateElement&&r(b)})},r=function(a){var b=a.element;if(a.elementMode==1&&b.is("textarea")){var c=b.$.form&&new h(b.$.form);if(c){function d(){a.updateElement()}c.on("submit",d),!c.$.submit.nodeName&&!c.$.submit.length&&(c.$.submit=e.override(c.$.submit,function(b){return function(){a.updateElement(),b.apply?b.apply(this,arguments):b()}})),a.on("destroy",function(){c.removeListener("submit",d)})}}};a.editor.prototype._init=function(){var b=this,c=h.get(b._.element),f=b._.instanceConfig;delete b._.element,delete b._.instanceConfig,b._.commands={},b._.styles=[],b.element=c,b.name=c&&b.elementMode==1&&(c.getId()||c.getNameAtt())||d();if(b.name in a.instances)throw'[CKEDITOR.editor] The instance "'+b.name+'" already exists.';b.id=e.getNextId(),b.config=e.prototypedCopy(i),b.ui=new k(b),b.focusManager=new a.focusManager(b),a.fire("instanceCreated",null,b),b.on("mode",s,null,null,1),b.on("readOnly",s,null,null,1),l(b,f)}}(),e.extend(a.editor.prototype,{addCommand:function(b,c){return this._.commands[b]=new a.command(this,c)},addCss:function(a){this._.styles.push(a)},destroy:function(b){var c=this;b||c.updateElement(),c.fire("destroy"),c.theme&&c.theme.destroy(c),a.remove(c),a.fire("instanceDestroyed",null,c)},execCommand:function(a,b){var c=this.getCommand(a),d={name:a,commandData:b,command:c};if(c&&c.state!=0&&this.fire("beforeCommandExec",d)!==!0){d.returnValue=c.exec(d.commandData);if(!c.async&&this.fire("afterCommandExec",d)!==!0)return d.returnValue}return!1},getCommand:function(a){return this._.commands[a]},getData:function(){var a=this;a.fire("beforeGetData");var b=a._.data;if(typeof b!="string"){var c=a.element;c&&a.elementMode==1?b=c.is("textarea")?c.getValue():c.getHtml():b=""}return b={dataValue:b},a.fire("getData",b),b.dataValue},getSnapshot:function(){var a=this.fire("getSnapshot");if(typeof a!="string"){var b=this.element;b&&this.elementMode==1&&(a=b.is("textarea")?b.getValue():b.getHtml())}return a},loadSnapshot:function(a){this.fire("loadSnapshot",a)},setData:function(a,b,c){b&&this.on("dataReady",function(a){a.removeListener(),b.call(a.editor)});var d={dataValue:a};!c&&this.fire("setData",d),this._.data=d.dataValue,!c&&this.fire("afterSetData",d)},setReadOnly:function(a){a=a==undefined||a,this.readOnly!=a&&(this.readOnly=a,this.fire("readOnly"))},insertHtml:function(a){this.fire("insertHtml",a)},insertText:function(a){this.fire("insertText",a)},insertElement:function(a){this.fire("insertElement",a)},checkDirty:function(){return this.mayBeDirty&&this._.previousValue!==this.getSnapshot()},resetDirty:function(){this.mayBeDirty&&(this._.previousValue=this.getSnapshot())},updateElement:function(){var a=this,b=a.element;if(b&&a.elementMode==1){var c=a.getData();a.config.htmlEncodeOutput&&(c=e.htmlEncode(c)),b.is("textarea")?b.setValue(c):b.setHtml(c)}}}),a.on("loaded",function(){var b=a.editor._pending;if(b){delete a.editor._pending;for(var c=0;c<b.length;c++)b[c]._init()}}),a.htmlParser=function(){this._={htmlPartsRegex:new RegExp("<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s*((?:(?:\"[^\"]*\")|(?:'[^']*')|[^\"'>])*)\\/?>))","g")}},function(){var b=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,c={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};a.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(a){var d=this,e,g,h=0,i;while(e=d._.htmlPartsRegex.exec(a)){var j=e.index;if(j>h){var k=a.substring(h,j);i?i.push(k):d.onText(k)}h=d._.htmlPartsRegex.lastIndex;if(g=e[1]){g=g.toLowerCase(),i&&f.$cdata[g]&&(d.onCDATA(i.join("")),i=null);if(!i){d.onTagClose(g);continue}}if(i){i.push(e[0]);continue}if(g=e[3]){g=g.toLowerCase();if(/="/.test(g))continue;var l={},n,o=e[4],p=!!o&&o.charAt(o.length-1)=="/";if(o)while(n=b.exec(o)){var q=n[1].toLowerCase(),r=n[2]||n[3]||n[4]||"";!r&&c[q]?l[q]=q:l[q]=r}d.onTagOpen(g,l,p),!i&&f.$cdata[g]&&(i=[]);continue}(g=e[2])&&d.onComment(g)}a.length>h&&d.onText(a.substring(h,a.length))}}}(),a.htmlParser.comment=function(a){this.value=a,this._={isBlockLike:!1}},a.htmlParser.comment.prototype={type:8,writeHtml:function(a,b){var c=this.value;if(b){if(!(c=b.onComment(c,this)))return;if(typeof c!="string"){c.parent=this.parent,c.writeHtml(a,b);return}}a.comment(c)}},function(){a.htmlParser.text=function(a){this.value=a,this._={isBlockLike:!1}},a.htmlParser.text.prototype={type:3,writeHtml:function(a,b){var c=this.value;if(b&&!(c=b.onText(c,this)))return;a.text(c)}}}(),function(){a.htmlParser.cdata=function(a){this.value=a},a.htmlParser.cdata.prototype={type:3,writeHtml:function(a){a.write(this.value)}}}(),a.htmlParser.fragment=function(){this.children=[],this.parent=null,this._={isBlockLike:!0,hasInlineStarted:!1}},function(){function j(a){return a.name=="a"&&a.attributes.href||f.$removeEmpty[a.name]}var d=e.extend({table:1,ul:1,ol:1,dl:1},f.table,f.ul,f.ol,f.dl),g=c&&b.version<8?{dd:1,dt:1}:{},h={ol:1,ul:1},i=e.extend({},{html:1},f.html,f.body,f.head,{style:1,script:1});a.htmlParser.fragment.fromHtml=function(b,k,l){function x(a){var b;if(s.length>0)for(var c=0;c<s.length;c++){var d=s[c],e=d.name,g=f[e],h=u.name&&f[u.name];(!h||h[e])&&(!a||!g||g[a]||!f[a])?(b||(y(),b=1),d=d.clone(),d.parent=u,u=d,s.splice(c,1),c--):e==u.name&&(z(u,u.parent,1),c--)}}function y(){while(t.length)u.add(t.shift())}function z(a,b,c){if(a.previous!==undefined)return;b=b||u||r;var d=u;if(k&&(!b.type||b.name=="body")){var g,h;a.attributes&&(h=a.attributes["data-cke-real-element-type"])?g=h:g=a.name,g&&!(g in f.$body||g=="body"||a.isOrphan)&&(u=b,q.onTagOpen(k,{}),a.returnPoint=b=u)}if(a._.isBlockLike&&a.name!="pre"&&a.name!="textarea"){var i=a.children.length,j=a.children[i-1],l;j&&j.type==3&&((l=e.rtrim(j.value))?j.value=l:a.children.length=i-1)}b.add(a),a.returnPoint?(u=a.returnPoint,delete a.returnPoint):u=c?b:d}var q=new a.htmlParser,r=l||new a.htmlParser.fragment,s=[],t=[],u=r,v=!1,w=!1;q.onTagOpen=function(b,c,e,k){var l=new a.htmlParser.element(b,c);l.isUnknown&&e&&(l.isEmpty=!0),l.isOptionalClose=b in g||k;if(j(l)){s.push(l);return}if(b=="pre")w=!0;else{if(b=="br"&&w){u.add(new a.htmlParser.text("\n"));return}b=="textarea"&&(v=!0)}if(b=="br"){t.push(l);return}for(;;){var r=u.name,D=r?f[r]||(u._.isBlockLike?f.div:f.span):i;if(!(!l.isUnknown&&!u.isUnknown&&!D[b]))break;if(u.isOptionalClose)q.onTagClose(r);else if(b in h&&r in h){var E=u.children,F=E[E.length-1];(!F||F.name!="li")&&z(F=new a.htmlParser.element("li"),u),!l.returnPoint&&(l.returnPoint=u),u=F}else if(b in f.$listItem&&r!=b)q.onTagOpen(b=="li"?"ul":"dl",{},0,1);else if(r in d&&r!=b)!l.returnPoint&&(l.returnPoint=u),u=u.parent;else{r in f.$inline&&s.unshift(u);if(u.parent)z(u,u.parent,1);else{l.isOrphan=1;break}}}x(b),y(),l.parent=u,l.isEmpty?z(l):u=l},q.onTagClose=function(a){for(var b=s.length-1;b>=0;b--)if(a==s[b].name){s.splice(b,1);return}var c=[],d=[],e=u;while(e!=r&&e.name!=a)e._.isBlockLike||d.unshift(e),c.push(e),e=e.returnPoint||e.parent;if(e!=r){for(b=0;b<c.length;b++){var f=c[b];z(f,f.parent)}u=e,u.name=="pre"&&(w=!1),u.name=="textarea"&&(v=!1),e._.isBlockLike&&y(),z(e,e.parent),e==u&&(u=u.parent),s=s.concat(d)}a=="body"&&(k=!1)},q.onText=function(b){if((!u._.hasInlineStarted||t.length)&&!w&&!v){b=e.ltrim(b);if(b.length===0)return}y(),x(),k&&(!u.type||u.name=="body")&&e.trim(b)&&this.onTagOpen(k,{},0,1),!w&&!v&&(b=b.replace(/[\t\r\n ]{2,}|[\t\r\n]/g," ")),u.add(new a.htmlParser.text(b))},q.onCDATA=function(b){u.add(new a.htmlParser.cdata(b))},q.onComment=function(b){y(),x(),u.add(new a.htmlParser.comment(b))},q.parse(b),y(!c&&1);while(u!=r)z(u,u.parent,1);return r},a.htmlParser.fragment.prototype={add:function(a,b){var c=this;isNaN(b)&&(b=c.children.length);var d=b>0?c.children[b-1]:null;if(d){if(a._.isBlockLike&&d.type==3){d.value=e.rtrim(d.value);if(d.value.length===0){c.children.pop(),c.add(a);return}}d.next=a}a.previous=d,a.parent=c,c.children.splice(b,0,a),c._.hasInlineStarted=a.type==3||a.type==1&&!a._.isBlockLike},writeHtml:function(b,c){var d;this.filterChildren=function(){var b=new a.htmlParser.basicWriter;this.writeChildrenHtml.call(this,b,c,!0);var e=b.getHtml();this.children=(new a.htmlParser.fragment.fromHtml(e)).children,d=1},!this.name&&c&&c.onFragment(this),this.writeChildrenHtml(b,d?null:c)},writeChildrenHtml:function(a,b){for(var c=0;c<this.children.length;c++)this.children[c].writeHtml(a,b)}}}(),a.htmlParser.element=function(a,b){var c=this;c.name=a,c.attributes=b||(b={}),c.children=[];var d=b["data-cke-real-element-type"]||a||"",e=d.match(/^cke:(.*)/);e&&(d=e[1]);var g=f,h=!!(g.$nonBodyContent[d]||g.$block[d]||g.$listItem[d]||g.$tableContent[d]||g.$nonEditable[d]||d=="br"),i=!!g.$empty[a];c.isEmpty=i,c.isUnknown=!g[a],c._={isBlockLike:h,hasInlineStarted:i||!h}},a.htmlParser.cssStyle=function(){var b,c=arguments[0],d={};return b=c instanceof a.htmlParser.element?c.attributes.style:c,(b||"").replace(/&quot;/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,b,c){b=="font-family"&&(c=c.replace(/["']/g,"")),d[b.toLowerCase()]=c}),{rules:d,populate:function(b){var c=this.toString();c&&(b instanceof h?b.setAttribute("style",c):b instanceof a.htmlParser.element?b.attributes.style=c:b.style=c)},toString:function(){var a=[];for(var b in d)d[b]&&a.push(b,":",d[b],";");return a.join("")}}},function(){var b=function(a,b){return a=a[0],b=b[0],a<b?-1:a>b?1:0};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes)},writeHtml:function(c,d){var e=this.attributes,f=this,g=f.name,h,i,j,k;f.filterChildren=function(){if(!k){var b=new a.htmlParser.basicWriter;a.htmlParser.fragment.prototype.writeChildrenHtml.call(f,b,d),f.children=(new a.htmlParser.fragment.fromHtml(b.getHtml(),0,f.clone())).children,k=1}};if(d){for(;;){if(!(g=d.onElementName(g)))return;f.name=g;if(!(f=d.onElement(f)))return;f.parent=this.parent;if(f.name==g)break;if(f.type!=1){f.writeHtml(c,d);return}g=f.name;if(!g){for(var l=0,m=this.children.length;l<m;l++)this.children[l].parent=f.parent;this.writeChildrenHtml.call(f,c,k?null:d);return}}e=f.attributes}c.openTag(g,e);var n=[];for(var o=0;o<2;o++)for(h in e){i=h,j=e[h];if(o==1)n.push([h,j]);else if(d){for(;;){if(!(i=d.onAttributeName(h))){delete e[h];break}if(i!=h){delete e[h],h=i;continue}break}i&&((j=d.onAttribute(f,i,j))===!1?delete e[i]:e[i]=j)}}c.sortAttributes&&n.sort(b);var p=n.length;for(o=0;o<p;o++){var q=n[o];c.attribute(q[0],q[1])}c.openTagClose(g,f.isEmpty),f.isEmpty||(this.writeChildrenHtml.call(f,c,k?null:d),c.closeTag(g))},writeChildrenHtml:function(b,c){a.htmlParser.fragment.prototype.writeChildrenHtml.apply(this,arguments)}}}(),function(){function b(a,b){for(var c=0;a&&c<b.length;c++){var d=b[c];a=a.replace(d[0],d[1])}return a}function c(a,b,c){typeof b=="function"&&(b=[b]);var d,e,f=a.length,g=b&&b.length;if(g){for(d=0;d<f&&a[d].pri<c;d++);for(e=g-1;e>=0;e--){var h=b[e];h&&(h.pri=c,a.splice(d,0,h))}}}function d(a,b,c){if(b)for(var d in b){var e=a[d];a[d]=f(e,b[d],c),e||a.$length++}}function f(a,b,d){if(b)return b.pri=d,a?(a.splice?c(a,b,d):(a.pri>d?a=[b,a]:a=[a,b],a.filter=g),a):(b.filter=b,b)}function g(b){var c=b.type||b instanceof a.htmlParser.fragment;for(var d=0;d<this.length;d++){if(c)var e=b.type,f=b.name;var g=this[d],h=g.apply(window,arguments);if(h===!1)return h;if(c){if(h&&(h.name!=f||h.type!=e))return h}else if(typeof h!="string")return h;h!=undefined&&(b=h)}return b}a.htmlParser.filter=e.createClass({$:function(a){this._={elementNames:[],attributeNames:[],elements:{$length:0},attributes:{$length:0}},a&&this.addRules(a,10)},proto:{addRules:function(a,b){var e=this;typeof b!="number"&&(b=10),c(e._.elementNames,a.elementNames,b),c(e._.attributeNames,a.attributeNames,b),d(e._.elements,a.elements,b),d(e._.attributes,a.attributes,b),e._.text=f(e._.text,a.text,b)||e._.text,e._.comment=f(e._.comment,a.comment,b)||e._.comment,e._.root=f(e._.root,a.root,b)||e._.root},onElementName:function(a){return b(a,this._.elementNames)},onAttributeName:function(a){return b(a,this._.attributeNames)},onText:function(a){var b=this._.text;return b?b.filter(a):a},onComment:function(a,b){var c=this._.comment;return c?c.filter(a,b):a},onFragment:function(a){var b=this._.root;return b?b.filter(a):a},onElement:function(a){var b=this,c=[b._.elements["^"],b._.elements[a.name],b._.elements.$],d,e;for(var f=0;f<3;f++){d=c[f];if(d){e=d.filter(a,b);if(e===!1)return null;if(e&&e!=a)return b.onNode(e);if(a.parent&&!a.name)break}}return a},onNode:function(b){var c=b.type;return c==1?this.onElement(b):c==3?new a.htmlParser.text(this.onText(b.value)):c==8?new a.htmlParser.comment(this.onComment(b.value)):null},onAttribute:function(a,b,c){var d=this._.attributes[b];if(d){var e=d.filter(c,a,this);if(e===!1)return!1;if(typeof e!="undefined")return e}return c}}})}(),a.htmlParser.basicWriter=e.createClass({$:function(){this._={output:[]}},proto:{openTag:function(a,b){this._.output.push("<",a)},openTagClose:function(a,b){b?this._.output.push(" />"):this._.output.push(">")},attribute:function(a,b){typeof b=="string"&&(b=e.htmlEncodeAttr(b)),this._.output.push(" ",a,'="',b,'"')},closeTag:function(a){this._.output.push("</",a,">")},text:function(a){this._.output.push(a)},comment:function(a){this._.output.push("<!--",a,"-->")},write:function(a){this._.output.push(a)},reset:function(){this._.output=[],this._.indent=!1},getHtml:function(a){var b=this._.output.join("");return a&&this.reset(),b}}}),delete a.loadFullCore,a.instances={},a.document=new g(document),a.add=function(b){a.instances[b.name]=b,b.on("focus",function(){a.currentInstance!=b&&(a.currentInstance=b,a.fire("currentInstance"))}),b.on("blur",function(){a.currentInstance==b&&(a.currentInstance=null,a.fire("currentInstance"))})},a.remove=function(b){delete a.instances[b.name]},a.on("instanceDestroyed",function(){e.isEmpty(this.instances)&&a.fire("reset")}),a.TRISTATE_ON=1,a.TRISTATE_OFF=2,a.TRISTATE_DISABLED=0,d.comment=e.createClass({base:d.node,$:function(a,b){typeof a=="string"&&(a=(b?b.$:document).createComment(a)),this.base(a)},proto:{type:8,getOuterHtml:function(){return"<!--"+this.$.nodeValue+"-->"}}}),function(){var a={address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,dd:1,legend:1,caption:1},b={body:1,div:1,table:1,tbody:1,tr:1,td:1,th:1,form:1,fieldset:1},e=function(a){var b=a.getChildren();for(var c=0,d=b.count();c<d;c++){var e=b.getItem(c);if(e.type==1&&f.$block[e.getName()])return!0}return!1};d.elementPath=function(d){var f=this,g=null,h=null,i=[],j=d;while(j){if(j.type==1){f.lastElement||(f.lastElement=j);var k=j.getName();c&&j.$.scopeName!="HTML"&&(k=j.$.scopeName.toLowerCase()+":"+k),h||(!g&&a[k]&&(g=j),b[k]&&(!g&&k=="div"&&!e(j)?g=j:h=j)),i.push(j);if(k=="body")break}j=j.getParent()}f.block=g,f.blockLimit=h,f.elements=i}}(),d.elementPath.prototype={compare:function(a){var b=this.elements,c=a&&a.elements;if(!c||b.length!=c.length)return!1;for(var d=0;d<b.length;d++)if(!b[d].equals(c[d]))return!1;return!0},contains:function(a){var b=this.elements;for(var c=0;c<b.length;c++)if(b[c].getName()in a)return b[c];return null}},d.text=function(a,b){typeof a=="string"&&(a=(b?b.$:document).createTextNode(a)),this.$=a},d.text.prototype=new d.node,e.extend(d.text.prototype,{type:3,getLength:function(){return this.$.nodeValue.length},getText:function(){return this.$.nodeValue},setText:function(a){this.$.nodeValue=a},split:function(a){var e=this;if(c&&a==e.getLength()){var f=e.getDocument().createText("");return f.insertAfter(e),f}var g=e.getDocument(),h=new d.text(e.$.splitText(a),g);if(b.ie8){var i=new d.text("",g);i.insertAfter(h),i.remove()}return h},substring:function(a,b){return typeof b!="number"?this.$.nodeValue.substr(a):this.$.nodeValue.substring(a,b)}}),d.documentFragment=function(b){b=b||a.document,this.$=b.$.createDocumentFragment()},e.extend(d.documentFragment.prototype,h.prototype,{type:11,insertAfterNode:function(a){a=a.$,a.parentNode.insertBefore(this.$,a.nextSibling)}},!0,{append:1,appendBogus:1,getFirst:1,getLast:1,appendTo:1,moveChildren:1,insertBefore:1,insertAfterNode:1,replace:1,trim:1,type:1,ltrim:1,rtrim:1,getDocument:1,getChildCount:1,getChild:1,getChildren:1}),function(){function a(a,b){if(this._.end)return null;var c,d=this.range,e,f=this.guard,g=this.type,h=a?"getPreviousSourceNode":"getNextSourceNode";if(!this._.start){this._.start=1,d.trim();if(d.collapsed)return this.end(),null}if(!a&&!this._.guardLTR){var i=d.endContainer,j=i.getChild(d.endOffset);this._.guardLTR=function(a,b){return(!b||!i.equals(a))&&(!j||!a.equals(j))&&(a.type!=1||!b||
5
- a.getName()!="body")}}if(a&&!this._.guardRTL){var k=d.startContainer,l=d.startOffset>0&&k.getChild(d.startOffset-1);this._.guardRTL=function(a,b){return(!b||!k.equals(a))&&(!l||!a.equals(l))&&(a.type!=1||!b||a.getName()!="body")}}var m=a?this._.guardRTL:this._.guardLTR;f?e=function(a,b){return m(a,b)===!1?!1:f(a,b)}:e=m,this.current?c=this.current[h](!1,g,e):a?(c=d.endContainer,d.endOffset>0?(c=c.getChild(d.endOffset-1),e(c)===!1&&(c=null)):c=e(c,!0)===!1?null:c.getPreviousSourceNode(!0,g,e)):(c=d.startContainer,c=c.getChild(d.startOffset),c?e(c)===!1&&(c=null):c=e(d.startContainer,!0)===!1?null:d.startContainer.getNextSourceNode(!0,g,e));while(c&&!this._.end){this.current=c;if(!this.evaluator||this.evaluator(c)!==!1){if(!b)return c}else if(b&&this.evaluator)return!1;c=c[h](!1,g,e)}return this.end(),this.current=null}function b(b){var c,d=null;while(c=a.call(this,b))d=c;return d}d.walker=e.createClass({$:function(a){this.range=a,this._={}},proto:{end:function(){this._.end=1},next:function(){return a.call(this)},previous:function(){return a.call(this,1)},checkForward:function(){return a.call(this,0,1)!==!1},checkBackward:function(){return a.call(this,1,1)!==!1},lastForward:function(){return b.call(this)},lastBackward:function(){return b.call(this,1)},reset:function(){delete this.current,this._={}}}});var g={block:1,"list-item":1,table:1,"table-row-group":1,"table-header-group":1,"table-footer-group":1,"table-row":1,"table-column-group":1,"table-column":1,"table-cell":1,"table-caption":1};h.prototype.isBlockBoundary=function(a){var b=a?e.extend({},f.$block,a||{}):f.$block;return this.getComputedStyle("float")=="none"&&g[this.getComputedStyle("display")]||b[this.getName()]},d.walker.blockBoundary=function(a){return function(b,c){return b.type!=1||!b.isBlockBoundary(a)}},d.walker.listItemBoundary=function(){return this.blockBoundary({br:1})},d.walker.bookmark=function(a,b){function c(a){return a&&a.getName&&a.getName()=="span"&&a.data("cke-bookmark")}return function(d){var e,f;return e=d&&!d.getName&&(f=d.getParent())&&c(f),e=a?e:e||c(d),!!(b^e)}},d.walker.whitespaces=function(a){return function(b){var c=b&&b.type==3&&!e.trim(b.getText());return!!(a^c)}},d.walker.invisible=function(a){var b=d.walker.whitespaces();return function(c){var d=b(c)||c.is&&!c.$.offsetHeight;return!!(a^d)}},d.walker.nodeType=function(a,b){return function(c){return!!(b^c.type==a)}};var i=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,j=d.walker.whitespaces(),k=d.walker.bookmark(),l=function(a){return k(a)||j(a)||a.type==1&&a.getName()in f.$inline&&!(a.getName()in f.$empty)};h.prototype.getBogus=function(){var a=this;do a=a.getPreviousSourceNode();while(l(a));return a&&(c?a.getText&&i.test(a.getText()):a.is&&a.is("br"))?a:!1}}(),d.range=function(a){var b=this;b.startContainer=null,b.startOffset=null,b.endContainer=null,b.endOffset=null,b.collapsed=!0,b.document=a},function(){function i(a){var b=!1,f=d.walker.bookmark(!0);return function(d){if(f(d))return!0;if(d.type==3){if(d.hasAscendant("pre")||e.trim(d.getText()).length)return!1}else if(d.type==1&&!g[d.getName()])if(!a&&!c&&d.getName()=="br"&&!b)b=!0;else return!1;return!0}}function j(a){return a.type!=3&&a.getName()in f.$removeEmpty||!e.trim(a.getText())||!!a.getParent().data("cke-bookmark")}function m(a){return!k(a)&&!l(a)}var a=function(a){a.collapsed=a.startContainer&&a.endContainer&&a.startContainer.equals(a.endContainer)&&a.startOffset==a.endOffset},b=function(a,b,c,d){a.optimizeBookmark();var e=a.startContainer,f=a.endContainer,g=a.startOffset,i=a.endOffset,j,k;f.type==3?f=f.split(i):f.getChildCount()>0&&(i>=f.getChildCount()?(f=f.append(a.document.createText("")),k=!0):f=f.getChild(i)),e.type==3?(e.split(g),e.equals(f)&&(f=e.getNext())):g?g>=e.getChildCount()?(e=e.append(a.document.createText("")),j=!0):e=e.getChild(g).getPrevious():(e=e.getFirst().insertBeforeMe(a.document.createText("")),j=!0);var l=e.getParents(),m=f.getParents(),n,o,p;for(n=0;n<l.length;n++){o=l[n],p=m[n];if(!o.equals(p))break}var q=c,r,s,t,u;for(var v=n;v<l.length;v++){r=l[v],q&&!r.equals(e)&&(s=q.append(r.clone())),t=r.getNext();while(t){if(t.equals(m[v])||t.equals(f))break;u=t.getNext(),b==2?q.append(t.clone(!0)):(t.remove(),b==1&&q.append(t)),t=u}q&&(q=s)}q=c;for(var w=n;w<m.length;w++){r=m[w],b>0&&!r.equals(f)&&(s=q.append(r.clone()));if(!l[w]||r.$.parentNode!=l[w].$.parentNode){t=r.getPrevious();while(t){if(t.equals(l[w])||t.equals(e))break;u=t.getPrevious(),b==2?q.$.insertBefore(t.$.cloneNode(!0),q.$.firstChild):(t.remove(),b==1&&q.$.insertBefore(t.$,q.$.firstChild)),t=u}}q&&(q=s)}if(b==2){var x=a.startContainer;x.type==3&&(x.$.data+=x.$.nextSibling.data,x.$.parentNode.removeChild(x.$.nextSibling));var y=a.endContainer;y.type==3&&y.$.nextSibling&&(y.$.data+=y.$.nextSibling.data,y.$.parentNode.removeChild(y.$.nextSibling))}else{if(o&&p&&(e.$.parentNode!=o.$.parentNode||f.$.parentNode!=p.$.parentNode)){var z=p.getIndex();j&&p.$.parentNode==e.$.parentNode&&z--;if(d&&o.type==1){var A=h.createFromHtml('<span data-cke-bookmark="1" style="display:none">&nbsp;</span>',a.document);A.insertAfter(o),o.mergeSiblings(!1),a.moveToBookmark({startNode:A})}else a.setStart(p.getParent(),z)}a.collapse(!0)}j&&e.remove(),k&&f.$.parentNode&&f.remove()},g={abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,"var":1},k=new d.walker.whitespaces,l=new d.walker.bookmark;d.range.prototype={clone:function(){var a=this,b=new d.range(a.document);return b.startContainer=a.startContainer,b.startOffset=a.startOffset,b.endContainer=a.endContainer,b.endOffset=a.endOffset,b.collapsed=a.collapsed,b},collapse:function(a){var b=this;a?(b.endContainer=b.startContainer,b.endOffset=b.startOffset):(b.startContainer=b.endContainer,b.startOffset=b.endOffset),b.collapsed=!0},cloneContents:function(){var a=new d.documentFragment(this.document);return this.collapsed||b(this,2,a),a},deleteContents:function(a){if(this.collapsed)return;b(this,0,null,a)},extractContents:function(a){var c=new d.documentFragment(this.document);return this.collapsed||b(this,1,c,a),c},createBookmark:function(a){var b=this,c,d,f,g,h=b.collapsed;return c=b.document.createElement("span"),c.data("cke-bookmark",1),c.setStyle("display","none"),c.setHtml("&nbsp;"),a&&(f="cke_bm_"+e.getNextNumber(),c.setAttribute("id",f+"S")),h||(d=c.clone(),d.setHtml("&nbsp;"),a&&d.setAttribute("id",f+"E"),g=b.clone(),g.collapse(),g.insertNode(d)),g=b.clone(),g.collapse(!0),g.insertNode(c),d?(b.setStartAfter(c),b.setEndBefore(d)):b.moveToPosition(c,4),{startNode:a?f+"S":c,endNode:a?f+"E":d,serializable:a,collapsed:h}},createBookmark2:function(a){var b=this,c=b.startContainer,d=b.endContainer,e=b.startOffset,f=b.endOffset,g=b.collapsed,h,i;if(!c||!d)return{start:0,end:0};if(a){c.type==1&&(h=c.getChild(e),h&&h.type==3&&e>0&&h.getPrevious().type==3&&(c=h,e=0),h&&h.type==1&&(e=h.getIndex(1)));while(c.type==3&&(i=c.getPrevious())&&i.type==3)c=i,e+=i.getLength();if(!g){d.type==1&&(h=d.getChild(f),h&&h.type==3&&f>0&&h.getPrevious().type==3&&(d=h,f=0),h&&h.type==1&&(f=h.getIndex(1)));while(d.type==3&&(i=d.getPrevious())&&i.type==3)d=i,f+=i.getLength()}}return{start:c.getAddress(a),end:g?null:d.getAddress(a),startOffset:e,endOffset:f,normalized:a,collapsed:g,is2:!0}},moveToBookmark:function(a){var b=this;if(a.is2){var c=b.document.getByAddress(a.start,a.normalized),d=a.startOffset,e=a.end&&b.document.getByAddress(a.end,a.normalized),f=a.endOffset;b.setStart(c,d),e?b.setEnd(e,f):b.collapse(!0)}else{var g=a.serializable,h=g?b.document.getById(a.startNode):a.startNode,i=g?b.document.getById(a.endNode):a.endNode;b.setStartBefore(h),h.remove(),i?(b.setEndBefore(i),i.remove()):b.collapse(!0)}},getBoundaryNodes:function(){var a=this,b=a.startContainer,c=a.endContainer,e=a.startOffset,f=a.endOffset,g;if(b.type==1){g=b.getChildCount();if(g>e)b=b.getChild(e);else if(g<1)b=b.getPreviousSourceNode();else{b=b.$;while(b.lastChild)b=b.lastChild;b=new d.node(b),b=b.getNextSourceNode()||b}}if(c.type==1){g=c.getChildCount();if(g>f)c=c.getChild(f).getPreviousSourceNode(!0);else if(g<1)c=c.getPreviousSourceNode();else{c=c.$;while(c.lastChild)c=c.lastChild;c=new d.node(c)}}return b.getPosition(c)&2&&(b=c),{startNode:b,endNode:c}},getCommonAncestor:function(a,b){var c=this,d=c.startContainer,e=c.endContainer,f;return d.equals(e)?a&&d.type==1&&c.startOffset==c.endOffset-1?f=d.getChild(c.startOffset):f=d:f=d.getCommonAncestor(e),b&&!f.is?f.getParent():f},optimize:function(){var a=this,b=a.startContainer,c=a.startOffset;b.type!=1&&(c?c>=b.getLength()&&a.setStartAfter(b):a.setStartBefore(b)),b=a.endContainer,c=a.endOffset,b.type!=1&&(c?c>=b.getLength()&&a.setEndAfter(b):a.setEndBefore(b))},optimizeBookmark:function(){var a=this,b=a.startContainer,c=a.endContainer;b.is&&b.is("span")&&b.data("cke-bookmark")&&a.setStartAt(b,3),c&&c.is&&c.is("span")&&c.data("cke-bookmark")&&a.setEndAt(c,4)},trim:function(a,b){var c=this,d=c.startContainer,e=c.startOffset,f=c.collapsed;if((!a||f)&&d&&d.type==3){if(!e)e=d.getIndex(),d=d.getParent();else if(e>=d.getLength())e=d.getIndex()+1,d=d.getParent();else{var g=d.split(e);e=d.getIndex()+1,d=d.getParent(),c.startContainer.equals(c.endContainer)?c.setEnd(g,c.endOffset-c.startOffset):d.equals(c.endContainer)&&(c.endOffset+=1)}c.setStart(d,e);if(f){c.collapse(!0);return}}var h=c.endContainer,i=c.endOffset;!b&&!f&&h&&h.type==3&&(i?i>=h.getLength()?(i=h.getIndex()+1,h=h.getParent()):(h.split(i),i=h.getIndex()+1,h=h.getParent()):(i=h.getIndex(),h=h.getParent()),c.setEnd(h,i))},enlarge:function(a,b){switch(a){case 1:if(this.collapsed)return;var c=this.getCommonAncestor(),g=this.document.getBody(),h,i,j,k,l,m=!1,n,o,p=this.startContainer,q=this.startOffset;p.type==3?(q&&(p=!e.trim(p.substring(0,q)).length&&p,m=!!p),p&&((k=p.getPrevious())||(j=p.getParent()))):(q&&(k=p.getChild(q-1)||p.getLast()),k||(j=p));while(j||k){if(j&&!k){!l&&j.equals(c)&&(l=!0);if(!g.contains(j))break;if(!m||j.getComputedStyle("display")!="inline")m=!1,l?h=j:this.setStartBefore(j);k=j.getPrevious()}while(k){n=!1;if(k.type==3)o=k.getText(),/[^\s\ufeff]/.test(o)&&(k=null),n=/[\s\ufeff]$/.test(o);else if((k.$.offsetWidth>0||b&&k.is("br"))&&!k.data("cke-bookmark"))if(m&&f.$removeEmpty[k.getName()]){o=k.getText();if(/[^\s\ufeff]/.test(o))k=null;else{var r=k.$.all||k.$.getElementsByTagName("*");for(var s=0,t;t=r[s++];)if(!f.$removeEmpty[t.nodeName.toLowerCase()]){k=null;break}}k&&(n=!!o.length)}else k=null;n&&(m?l?h=j:j&&this.setStartBefore(j):m=!0);if(k){var u=k.getPrevious();if(!j&&!u){j=k,k=null;break}k=u}else j=null}j&&(j=j.getParent())}p=this.endContainer,q=this.endOffset,j=k=null,l=m=!1,p.type==3?(p=!e.trim(p.substring(q)).length&&p,m=!p||!p.getLength(),p&&((k=p.getNext())||(j=p.getParent()))):(k=p.getChild(q),k||(j=p));while(j||k){if(j&&!k){!l&&j.equals(c)&&(l=!0);if(!g.contains(j))break;if(!m||j.getComputedStyle("display")!="inline")m=!1,l?i=j:j&&this.setEndAfter(j);k=j.getNext()}while(k){n=!1;if(k.type==3)o=k.getText(),/[^\s\ufeff]/.test(o)&&(k=null),n=/^[\s\ufeff]/.test(o);else if((k.$.offsetWidth>0||b&&k.is("br"))&&!k.data("cke-bookmark"))if(m&&f.$removeEmpty[k.getName()]){o=k.getText();if(/[^\s\ufeff]/.test(o))k=null;else{r=k.$.all||k.$.getElementsByTagName("*");for(s=0;t=r[s++];)if(!f.$removeEmpty[t.nodeName.toLowerCase()]){k=null;break}}k&&(n=!!o.length)}else k=null;n&&m&&(l?i=j:this.setEndAfter(j));if(k){u=k.getNext();if(!j&&!u){j=k,k=null;break}k=u}else j=null}j&&(j=j.getParent())}h&&i&&(c=h.contains(i)?i:h,this.setStartBefore(c),this.setEndAfter(c));break;case 2:case 3:var v=new d.range(this.document);g=this.document.getBody(),v.setStartAt(g,1),v.setEnd(this.startContainer,this.startOffset);var w=new d.walker(v),x,y,z=d.walker.blockBoundary(a==3?{br:1}:null),A=function(a){var b=z(a);return b||(x=a),b},B=function(a){var b=A(a);return!b&&a.is&&a.is("br")&&(y=a),b};w.guard=A,j=w.lastBackward(),x=x||g,this.setStartAt(x,!x.is("br")&&(!j&&this.checkStartOfBlock()||j&&x.contains(j))?1:4);if(a==3){var C=this.clone();w=new d.walker(C);var D=d.walker.whitespaces(),E=d.walker.bookmark();w.evaluator=function(a){return!D(a)&&!E(a)};var F=w.previous();if(F&&F.type==1&&F.is("br"))return}v=this.clone(),v.collapse(),v.setEndAt(g,2),w=new d.walker(v),w.guard=a==3?B:A,x=null,j=w.lastForward(),x=x||g,this.setEndAt(x,!j&&this.checkEndOfBlock()||j&&x.contains(j)?2:3),y&&this.setEndAfter(y)}},shrink:function(a,b){if(!this.collapsed){a=a||2;var c=this.clone(),e=this.startContainer,f=this.endContainer,g=this.startOffset,h=this.endOffset,i=this.collapsed,j=1,k=1;e&&e.type==3&&(g?g>=e.getLength()?c.setStartAfter(e):(c.setStartBefore(e),j=0):c.setStartBefore(e)),f&&f.type==3&&(h?h>=f.getLength()?c.setEndAfter(f):(c.setEndAfter(f),k=0):c.setEndBefore(f));var l=new d.walker(c),m=d.walker.bookmark();l.evaluator=function(b){return b.type==(a==1?1:3)};var n;l.guard=function(b,c){return m(b)?!0:a==1&&b.type==3?!1:c&&b.equals(n)?!1:(!c&&b.type==1&&(n=b),!0)};if(j){var o=l[a==1?"lastForward":"next"]();o&&this.setStartAt(o,b?1:3)}if(k){l.reset();var p=l[a==1?"lastBackward":"previous"]();p&&this.setEndAt(p,b?2:4)}return!!j||!!k}},insertNode:function(a){var b=this;b.optimizeBookmark(),b.trim(!1,!0);var c=b.startContainer,d=b.startOffset,e=c.getChild(d);e?a.insertBefore(e):c.append(a),a.getParent().equals(b.endContainer)&&b.endOffset++,b.setStartBefore(a)},moveToPosition:function(a,b){this.setStartAt(a,b),this.collapse(!0)},selectNodeContents:function(a){this.setStart(a,0),this.setEnd(a,a.type==3?a.getLength():a.getChildCount())},setStart:function(b,c){var d=this;b.type==1&&f.$empty[b.getName()]&&(c=b.getIndex(),b=b.getParent()),d.startContainer=b,d.startOffset=c,d.endContainer||(d.endContainer=b,d.endOffset=c),a(d)},setEnd:function(b,c){var d=this;b.type==1&&f.$empty[b.getName()]&&(c=b.getIndex()+1,b=b.getParent()),d.endContainer=b,d.endOffset=c,d.startContainer||(d.startContainer=b,d.startOffset=c),a(d)},setStartAfter:function(a){this.setStart(a.getParent(),a.getIndex()+1)},setStartBefore:function(a){this.setStart(a.getParent(),a.getIndex())},setEndAfter:function(a){this.setEnd(a.getParent(),a.getIndex()+1)},setEndBefore:function(a){this.setEnd(a.getParent(),a.getIndex())},setStartAt:function(b,c){var d=this;switch(c){case 1:d.setStart(b,0);break;case 2:b.type==3?d.setStart(b,b.getLength()):d.setStart(b,b.getChildCount());break;case 3:d.setStartBefore(b);break;case 4:d.setStartAfter(b)}a(d)},setEndAt:function(b,c){var d=this;switch(c){case 1:d.setEnd(b,0);break;case 2:b.type==3?d.setEnd(b,b.getLength()):d.setEnd(b,b.getChildCount());break;case 3:d.setEndBefore(b);break;case 4:d.setEndAfter(b)}a(d)},fixBlock:function(a,b){var d=this,e=d.createBookmark(),f=d.document.createElement(b);return d.collapse(a),d.enlarge(2),d.extractContents().appendTo(f),f.trim(),c||f.appendBogus(),d.insertNode(f),d.moveToBookmark(e),f},splitBlock:function(a){var b=this,e=new d.elementPath(b.startContainer),f=new d.elementPath(b.endContainer),g=e.blockLimit,h=f.blockLimit,i=e.block,j=f.block,k=null;if(!g.equals(h))return null;a!="br"&&(i||(i=b.fixBlock(!0,a),j=(new d.elementPath(b.endContainer)).block),j||(j=b.fixBlock(!1,a)));var l=i&&b.checkStartOfBlock(),m=j&&b.checkEndOfBlock();return b.deleteContents(),i&&i.equals(j)&&(m?(k=new d.elementPath(b.startContainer),b.moveToPosition(j,4),j=null):l?(k=new d.elementPath(b.startContainer),b.moveToPosition(i,3),i=null):(j=b.splitElement(i),!c&&!i.is("ul","ol")&&i.appendBogus())),{previousBlock:i,nextBlock:j,wasStartOfBlock:l,wasEndOfBlock:m,elementPath:k}},splitElement:function(a){var b=this;if(!b.collapsed)return null;b.setEndAt(a,2);var c=b.extractContents(),d=a.clone(!1);return c.appendTo(d),d.insertAfter(a),b.moveToPosition(a,4),d},checkBoundaryOfElement:function(a,b){var c=b==1,e=this.clone();e.collapse(c),e[c?"setStartAt":"setEndAt"](a,c?1:2);var f=new d.walker(e);return f.evaluator=j,f[c?"checkBackward":"checkForward"]()},checkStartOfBlock:function(){var a=this,b=a.startContainer,c=a.startOffset;if(c&&b.type==3){var f=e.ltrim(b.substring(0,c));if(f.length)return!1}a.trim();var g=new d.elementPath(a.startContainer),h=a.clone();h.collapse(!0),h.setStartAt(g.block||g.blockLimit,1);var j=new d.walker(h);return j.evaluator=i(!0),j.checkBackward()},checkEndOfBlock:function(){var a=this,b=a.endContainer,c=a.endOffset;if(b.type==3){var f=e.rtrim(b.substring(c));if(f.length)return!1}a.trim();var g=new d.elementPath(a.endContainer),h=a.clone();h.collapse(!1),h.setEndAt(g.block||g.blockLimit,2);var j=new d.walker(h);return j.evaluator=i(!1),j.checkForward()},checkReadOnly:function(){function a(a,b){while(a){if(a.type==1){if(a.getAttribute("contentEditable")=="false"&&!a.data("cke-editable"))return 0;if(a.is("html")||a.getAttribute("contentEditable")=="true"&&(a.contains(b)||a.equals(b)))break}a=a.getParent()}return 1}return function(){var b=this.startContainer,c=this.endContainer;return!a(b,c)||!a(c,b)}}(),moveToElementEditablePosition:function(a,b){function c(a,c){var d;return a.type==1&&a.isEditable(!1)&&!f.$nonEditable[a.getName()]&&(d=a[b?"getLast":"getFirst"](m)),!c&&!d&&(d=a[b?"getPrevious":"getNext"](m)),d}var d=0;while(a){if(a.type==3){this.moveToPosition(a,b?4:3),d=1;break}a.type==1&&a.isEditable()&&(this.moveToPosition(a,b?2:1),d=1),a=c(a,d)}return!!d},moveToElementEditStart:function(a){return this.moveToElementEditablePosition(a)},moveToElementEditEnd:function(a){return this.moveToElementEditablePosition(a,!0)},getEnclosedNode:function(){var a=this.clone();a.optimize();if(a.startContainer.type!=1||a.endContainer.type!=1)return null;var b=new d.walker(a),c=d.walker.bookmark(!0),e=d.walker.whitespaces(!0),f=function(a){return e(a)&&c(a)};a.evaluator=f;var g=b.next();return b.reset(),g&&g.equals(b.previous())?g:null},getTouchedStartNode:function(){var a=this.startContainer;return this.collapsed||a.type!=1?a:a.getChild(this.startOffset)||a},getTouchedEndNode:function(){var a=this.endContainer;return this.collapsed||a.type!=1?a:a.getChild(this.endOffset-1)||a}}}(),a.POSITION_AFTER_START=1,a.POSITION_BEFORE_END=2,a.POSITION_BEFORE_START=3,a.POSITION_AFTER_END=4,a.ENLARGE_ELEMENT=1,a.ENLARGE_BLOCK_CONTENTS=2,a.ENLARGE_LIST_ITEM_CONTENTS=3,a.START=1,a.END=2,a.STARTEND=3,a.SHRINK_ELEMENT=1,a.SHRINK_TEXT=2,function(){function b(a,b,c){var d=a.serializable,e=b[c?"endContainer":"startContainer"],f=c?"endOffset":"startOffset",g=d?b.document.getById(a.startNode):a.startNode,h=d?b.document.getById(a.endNode):a.endNode;return e.equals(g.getPrevious())?(b.startOffset=b.startOffset-e.getLength()-h.getPrevious().getLength(),e=h.getNext()):e.equals(h.getPrevious())&&(b.startOffset=b.startOffset-e.getLength(),e=h.getNext()),e.equals(g.getParent())&&b[f]++,e.equals(h.getParent())&&b[f]++,b[c?"endContainer":"startContainer"]=e,b}d.rangeList=function(b){return b instanceof d.rangeList?b:(b?b instanceof d.range&&(b=[b]):b=[],e.extend(b,a))};var a={createIterator:function(){var a=this,b=d.walker.bookmark(),c=function(a){return!a.is||!a.is("tr")},e=[],f;return{getNextRange:function(c){f=f==undefined?0:f+1;var d=a[f];if(d&&a.length>1){if(!f)for(var g=a.length-1;g>=0;g--)e.unshift(a[g].createBookmark(!0));if(c){var h=0;while(a[f+h+1]){var i=d.document,j=0,k=i.getById(e[h].endNode),l=i.getById(e[h+1].startNode),m;for(;;){m=k.getNextSourceNode(!1);if(!l.equals(m)){if(b(m)||m.type==1&&m.isBlockBoundary()){k=m;continue}}else j=1;break}if(!j)break;h++}}d.moveToBookmark(e.shift());while(h--)m=a[++f],m.moveToBookmark(e.shift()),d.setEnd(m.endContainer,m.endOffset)}return d}}},createBookmarks:function(a){var c=this,d=[],e;for(var f=0;f<c.length;f++){d.push(e=c[f].createBookmark(a,!0));for(var g=f+1;g<c.length;g++)c[g]=b(e,c[g]),c[g]=b(e,c[g],!0)}return d},createBookmarks2:function(a){var b=[];for(var c=0;c<this.length;c++)b.push(this[c].createBookmark2(a));return b},moveToBookmarks:function(a){for(var b=0;b<this.length;b++)this[b].moveToBookmark(a[b])}}}(),function(){if(b.webkit){b.hc=!1;return}var c=h.createFromHtml('<div style="width:0px;height:0px;position:absolute;left:-10000px;border: 1px solid;border-color: red blue;"></div>',a.document);c.appendTo(a.document.getHead());try{b.hc=c.getComputedStyle("border-top-color")==c.getComputedStyle("border-right-color")}catch(d){b.hc=!1}b.hc&&(b.cssClass+=" cke_hc"),c.remove()}(),j.load(i.corePlugins.split(","),function(){a.status="loaded",a.fire("loaded");var b=a._.pending;if(b){delete a._.pending;for(var c=0;c<b.length;c++)a.add(b[c])}});if(c)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(l){}a.skins.add("kama",function(){var d="cke_ui_color";return{editor:{css:["editor.css"]},dialog:{css:["dialog.css"]},richcombo:{canGroup:!1},templates:{css:["templates.css"]},margins:[0,0,0,0],init:function(f){function k(a){var b=a.getById(d);return b||(b=a.getHead().append("style"),b.setAttribute("id",d),b.setAttribute("type","text/css")),b}function l(a,d,e){var f,g,h;for(var i=0;i<a.length;i++)if(b.webkit)for(g=0;g<d.length;g++){h=d[g][1];for(f=0;f<e.length;f++)h=h.replace(e[f][0],e[f][1]);a[i].$.sheet.addRule(d[g][0],h)}else{h=d;for(f=0;f<e.length;f++)h=h.replace(e[f][0],e[f][1]);c?a[i].$.styleSheet.cssText+=h:a[i].$.innerHTML+=h}}f.config.width&&!isNaN(f.config.width)&&(f.config.width-=12);var g=[],h=/\$color/g,i="/* UI Color Support */.cke_skin_kama .cke_menuitem .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover .cke_label,.cke_skin_kama .cke_menuitem a:focus .cke_label,.cke_skin_kama .cke_menuitem a:active .cke_label{\tbackground-color: $color !important;}.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label{\tbackground-color: transparent !important;}.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_icon_wrapper,.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a.cke_disabled .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuseparator{\tbackground-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover,.cke_skin_kama .cke_menuitem a:focus,.cke_skin_kama .cke_menuitem a:active{\tbackground-color: $color !important;}";if(b.webkit){i=i.split("}").slice(0,-1);for(var j=0;j<i.length;j++)i[j]=i[j].split("{")}var n=/\$color/g;e.extend(f,{uiColor:null,getUiColor:function(){return this.uiColor},setUiColor:function(c){var d,e=k(a.document),h="."+f.id,j=[h+" .cke_wrapper",h+"_dialog .cke_dialog_contents",h+"_dialog a.cke_dialog_tab",h+"_dialog .cke_dialog_footer"].join(","),m="background-color: $color !important;";return b.webkit?d=[[j,m]]:d=j+"{"+m+"}",(this.setUiColor=function(a){var b=[[n,a]];f.uiColor=a,l([e],d,b),l(g,i,b)})(c)}}),f.on("menuShow",function(a){var b=a.data[0],c=b.element.getElementsByTag("iframe").getItem(0).getFrameDocument();if(!c.getById("cke_ui_color")){var d=k(c);g.push(d);var e=f.getUiColor();e&&l([d],i,[[n,e]])}}),f.config.uiColor&&f.setUiColor(f.config.uiColor)}}}()),function(){function b(){a.dialog.on("resize",function(a){var b=a.data,c=b.width,d=b.height,e=b.dialog,f=e.parts.contents;if(b.skin!="kama")return;f.setStyles({width:c+"px",height:d+"px"})})}a.dialog?b():a.on("dialogPluginReady",b)}(),j.add("about",{requires:["dialog"],init:function(b){var c=b.addCommand("about",new a.dialogCommand("about"));c.modes={wysiwyg:1,source:1},c.canUndo=!1,c.readOnly=1,b.ui.addButton("About",{label:b.lang.about.title,command:"about"}),a.dialog.add("about",this.path+"dialogs/about.js")}}),function(){var b="a11yhelp",c="a11yHelp";j.add(b,{availableLangs:{en:1,he:1},init:function(b){var d=this;b.addCommand(c,{exec:function(){var f=b.langCode;f=d.availableLangs[f]?f:"en",a.scriptLoader.load(a.getUrl(d.path+"lang/"+f+".js"),function(){e.extend(b.lang,d.langEntries[f]),b.openDialog(c)})},modes:{wysiwyg:1,source:1},readOnly:1,canUndo:!1}),a.dialog.add(c,this.path+"dialogs/a11yhelp.js")}})}(),j.add("basicstyles",{requires:["styles","button"],init:function(b){var c=function(c,d,e,f){var g=new a.style(f);b.attachStyleStateChange(g,function(a){!b.readOnly&&b.getCommand(e).setState(a)}),b.addCommand(e,new a.styleCommand(g)),b.ui.addButton(c,{label:d,command:e})},d=b.config,e=b.lang;c("Bold",e.bold,"bold",d.coreStyles_bold),c("Italic",e.italic,"italic",d.coreStyles_italic),c("Underline",e.underline,"underline",d.coreStyles_underline),c("Strike",e.strike,"strike",d.coreStyles_strike),c("Subscript",e.subscript,"subscript",d.coreStyles_subscript),c("Superscript",e.superscript,"superscript",d.coreStyles_superscript)}}),i.coreStyles_bold={element:"strong",overrides:"b"},i.coreStyles_italic={element:"em",overrides:"i"},i.coreStyles_underline={element:"u"},i.coreStyles_strike={element:"strike"},i.coreStyles_subscript={element:"sub"},i.coreStyles_superscript={element:"sup"},function(){function g(a){i(a),k(a)}function i(a){var b=a.editor,c=a.data.path;if(b.readOnly)return;var d=b.config.useComputedState,e;d=d===undefined||d,d||(e=l(c.lastElement)),e=e||c.block||c.blockLimit;if(e.is("body")){var f=b.getSelection().getRanges()[0].getEnclosedNode();f&&f.type==1&&(e=f)}if(!e)return;var g=d?e.getComputedStyle("direction"):e.getStyle("direction")||e.getAttribute("dir");b.getCommand("bidirtl").setState(g=="rtl"?1:2),b.getCommand("bidiltr").setState(g=="ltr"?1:2)}function k(a){var b=a.editor,c=a.data.path.block||a.data.path.blockLimit;b.fire("contentDirChanged",c?c.getComputedStyle("direction"):b.lang.dir)}function l(a){while(a&&!(a.getName()in f||a.is("body"))){var b=a.getParent();if(!b)break;a=b}return a}function m(a,b,c,d){if(a.isReadOnly())return;h.setMarker(d,a,"bidi_processed",1);var e=a;while((e=e.getParent())&&!e.is("body"))if(e.getCustomData("bidi_processed")){a.removeStyle("direction"),a.removeAttribute("dir");return}var f="useComputedState"in c.config?c.config.useComputedState:1,g=f?a.getComputedStyle("direction"):a.getStyle("direction")||a.hasAttribute("dir");if(g==b)return;a.removeStyle("direction"),f?(a.removeAttribute("dir"),b!=a.getComputedStyle("direction")&&a.setAttribute("dir",b)):a.setAttribute("dir",b),c.forceNextSelectionCheck()}function n(a,b,c){var d=a.getCommonAncestor(!1,!0);a=a.clone(),a.enlarge(c==2?3:2);if(a.checkBoundaryOfElement(d,1)&&a.checkBoundaryOfElement(d,2)){var e;while(d&&d.type==1&&(e=d.getParent())&&e.getChildCount()==1&&!(d.getName()in b))d=e;return d.type==1&&d.getName()in b&&d}}function o(a){return function(e){var f=e.getSelection(),g=e.config.enterMode,i=f.getRanges();if(i&&i.length){var j={},k=f.createBookmarks(),l=i.createIterator(),o,p=0;while(o=l.getNextRange(1)){var q=o.getEnclosedNode();if(!q||q&&!(q.type==1&&q.getName()in c))q=n(o,b,g);q&&m(q,a,e,j);var r,s,t=new d.walker(o),v=k[p].startNode,w=k[p++].endNode;t.evaluator=function(a){return!!(a.type==1&&a.getName()in b&&(a.getName()!=(g==1?"p":"div")||a.getParent().type!=1||a.getParent().getName()!="blockquote")&&a.getPosition(v)&2&&(a.getPosition(w)&4+16)==4)};while(s=t.next())m(s,a,e,j);r=o.createIterator(),r.enlargeBr=g!=2;while(s=r.getNextParagraph(g==1?"p":"div"))m(s,a,e,j)}h.clearAllMarkers(j),e.forceNextSelectionCheck(),f.selectBookmarks(k),e.focus()}}}function p(a){var b=a.getDocument().getBody().getParent();while(a){if(a.equals(b))return!1;a=a.getParent()}return!0}function q(b){var c=b==r.setAttribute,d=b==r.removeAttribute,e=/\bdirection\s*:\s*(.*?)\s*(:?$|;)/;return function(f,g){var h=this;if(!h.getDocument().equals(a.document)){var i;if((f==(c||d?"dir":"direction")||f=="style"&&(d||e.test(g)))&&!p(h)){i=h.getDirection(1);var j=b.apply(h,arguments);if(i!=h.getDirection(1))return h.getDocument().fire("dirChanged",h),j}}return b.apply(h,arguments)}}var b={table:1,ul:1,ol:1,blockquote:1,div:1},c={},f={};e.extend(c,b,{tr:1,p:1,div:1,li:1}),e.extend(f,c,{td:1}),j.add("bidi",{requires:["styles","button"],init:function(b){var c=function(c,d,e,f){b.addCommand(e,new a.command(b,{exec:f})),b.ui.addButton(c,{label:d,command:e})},d=b.lang.bidi;c("BidiLtr",d.ltr,"bidiltr",o("ltr")),c("BidiRtl",d.rtl,"bidirtl",o("rtl")),b.on("selectionChange",g),b.on("contentDom",function(){b.document.on("dirChanged",function(a){b.fire("dirChanged",{node:a.data,dir:a.data.getDirection(1)})})})}});var r=h.prototype,s=["setStyle","removeStyle","setAttribute","removeAttribute"];for(var t=0;t<s.length;t++)r[s[t]]=e.override(r[s[t]],q)}(),function(){function a(a,b){var c=b.block||b.blockLimit;return!c||c.getName()=="body"?2:c.getAscendant("blockquote",!0)?1:2}function b(b){var c=b.editor;if(c.readOnly)return;var d=c.getCommand("blockquote");d.state=a(c,b.data.path),d.fire("state")}function e(a){for(var b=0,c=a.getChildCount(),d;b<c&&(d=a.getChild(b));b++)if(d.type==1&&d.isBlockBoundary())return!1;return!0}var f={exec:function(a){var b=a.getCommand("blockquote").state,f=a.getSelection(),g=f&&f.getRanges(!0)[0];if(!g)return;var i=f.createBookmarks();if(c){var j=i[0].startNode,k=i[0].endNode,l;if(j&&j.getParent().getName()=="blockquote"){l=j;while(l=l.getNext())if(l.type==1&&l.isBlockBoundary()){j.move(l,!0);break}}if(k&&k.getParent().getName()=="blockquote"){l=k;while(l=l.getPrevious())if(l.type==1&&l.isBlockBoundary()){k.move(l);break}}}var m=g.createIterator(),n;m.enlargeBr=a.config.enterMode!=2;if(b==2){var p=[];while(n=m.getNextParagraph())p.push(n);if(p.length<1){var q=a.document.createElement(a.config.enterMode==1?"p":"div"),r=i.shift();g.insertNode(q),q.append(new d.text("",a.document)),g.moveToBookmark(r),g.selectNodeContents(q),g.collapse(!0),r=g.createBookmark(),p.push(q),i.unshift(r)}var s=p[0].getParent(),t=[];for(var u=0;u<p.length;u++)n=p[u],s=s.getCommonAncestor(n.getParent());var v={table:1,tbody:1,tr:1,ol:1,ul:1};while(v[s.getName()])s=s.getParent();var w=null;while(p.length>0){n=p.shift();while(!n.getParent().equals(s))n=n.getParent();n.equals(w)||t.push(n),w=n}while(t.length>0){n=t.shift();if(n.getName()=="blockquote"){var x=new d.documentFragment(a.document);while(n.getFirst())x.append(n.getFirst().remove()),p.push(x.getLast());x.replace(n)}else p.push(n)}var y=a.document.createElement("blockquote");y.insertBefore(p[0]);while(p.length>0)n=p.shift(),y.append(n)}else if(b==1){var z=[],A={};while(n=m.getNextParagraph()){var B=null,C=null;while(n.getParent()){if(n.getParent().getName()=="blockquote"){B=n.getParent(),C=n;break}n=n.getParent()}B&&C&&!C.getCustomData("blockquote_moveout")&&(z.push(C),h.setMarker(A,C,"blockquote_moveout",!0))}h.clearAllMarkers(A);var D=[],E=[];A={};while(z.length>0){var F=z.shift();y=F.getParent(),F.getPrevious()?F.getNext()?(F.breakParent(F.getParent()),E.push(F.getNext())):F.remove().insertAfter(y):F.remove().insertBefore(y),y.getCustomData("blockquote_processed")||(E.push(y),h.setMarker(A,y,"blockquote_processed",!0)),D.push(F)}h.clearAllMarkers(A);for(u=E.length-1;u>=0;u--)y=E[u],e(y)&&y.remove();if(a.config.enterMode==2){var G=!0;while(D.length){F=D.shift();if(F.getName()=="div"){x=new d.documentFragment(a.document);var H=G&&F.getPrevious()&&(F.getPrevious().type!=1||!F.getPrevious().isBlockBoundary());H&&x.append(a.document.createElement("br"));var I=F.getNext()&&(F.getNext().type!=1||!F.getNext().isBlockBoundary());while(F.getFirst())F.getFirst().remove().appendTo(x);I&&x.append(a.document.createElement("br")),x.replace(F),G=!1}}}}f.selectBookmarks(i),a.focus()}};j.add("blockquote",{init:function(a){a.addCommand("blockquote",f),a.ui.addButton("Blockquote",{label:a.lang.blockquote,command:"blockquote"}),a.on("selectionChange",b)},requires:["domiterator"]})}(),j.add("button",{beforeInit:function(a){a.ui.addHandler("button",k.button.handler)}}),a.UI_BUTTON="button",k.button=function(a){e.extend(this,a,{title:a.label,className:a.className||a.command&&"cke_button_"+a.command||"",click:a.click||function(b){b.execCommand(a.command)}}),this._={}},k.button.handler={create:function(a){return new k.button(a)}},function(){k.button.prototype={render:function(f,g){var h=b,i=this._.id=e.getNextId(),j="",k=this.command,l;this._.editor=f;var m={id:i,button:this,editor:f,focus:function(){var b=a.document.getById(i);b.focus()},execute:function(){c&&b.version<7?e.setTimeout(function(){this.button.click(f)},0,this):this.button.click(f)}},n=e.addFunction(function(a){if(m.onkey)return a=new d.event(a),m.onkey(m,a.getKeystroke())!==!1}),o=e.addFunction(function(a){var c;return m.onfocus&&(c=m.onfocus(m,new d.event(a))!==!1),b.gecko&&b.version<10900&&a.preventBubble(),c});m.clickFn=
6
- l=e.addFunction(m.execute,m);if(this.modes){var p={};function q(){var a=f.mode;if(a){var b=this.modes[a]?p[a]!=undefined?p[a]:2:0;this.setState(f.readOnly&&!this.readOnly?0:b)}}f.on("beforeModeUnload",function(){f.mode&&this._.state!=0&&(p[f.mode]=this._.state)},this),f.on("mode",q,this),!this.readOnly&&f.on("readOnly",q,this)}else k&&(k=f.getCommand(k),k&&(k.on("state",function(){this.setState(k.state)},this),j+="cke_"+(k.state==1?"on":k.state==0?"disabled":"off")));k||(j+="cke_off"),this.className&&(j+=" "+this.className),g.push('<span class="cke_button'+(this.icon&&this.icon.indexOf(".png")==-1?" cke_noalphafix":"")+'">','<a id="',i,'" class="',j,'"',h.gecko&&h.version>=10900&&!h.hc?"":'" href="javascript:void(\''+(this.title||"").replace("'","")+"')\"",' title="',this.title,'" tabindex="-1" hidefocus="true" role="button" aria-labelledby="'+i+'_label"'+(this.hasArrow?' aria-haspopup="true"':"")),(h.opera||h.gecko&&h.mac)&&g.push(' onkeypress="return false;"'),h.gecko&&g.push(' onblur="this.style.cssText = this.style.cssText;"'),g.push(' onkeydown="return CKEDITOR.tools.callFunction(',n,', event);" onfocus="return CKEDITOR.tools.callFunction(',o,', event);" '+(c?'onclick="return false;" onmouseup':"onclick")+'="CKEDITOR.tools.callFunction(',l,', this); return false;"><span class="cke_icon"');if(this.icon){var r=(this.iconOffset||0)*-16;g.push(' style="background-image:url(',a.getUrl(this.icon),");background-position:0 "+r+'px;"')}return g.push('>&nbsp;</span><span id="',i,'_label" class="cke_label">',this.label,"</span>"),this.hasArrow&&g.push('<span class="cke_buttonarrow">'+(b.hc?"&#9660;":"&nbsp;")+"</span>"),g.push("</a>","</span>"),this.onRender&&this.onRender(),m},setState:function(b){if(this._.state==b)return!1;this._.state=b;var c=a.document.getById(this._.id);return c?(c.setState(b),b==0?c.setAttribute("aria-disabled",!0):c.removeAttribute("aria-disabled"),b==1?c.setAttribute("aria-pressed",!0):c.removeAttribute("aria-pressed"),!0):!1}}}(),k.prototype.addButton=function(a,b){this.add(a,"button",b)},function(){function m(a){a.cancel()}function n(a,c,e){var f=this.document;if(f.getById("cke_pastebin"))return;if(c=="text"&&a.data&&a.data.$.clipboardData){var g=a.data.$.clipboardData.getData("text/plain");if(g){a.data.preventDefault(),e(g);return}}var i=this.getSelection(),j=new d.range(f),k=new h(c=="text"?"textarea":b.webkit?"body":"div",f);k.setAttribute("id","cke_pastebin"),b.webkit&&k.append(f.createText(" ")),f.getBody().append(k),k.setStyles({position:"absolute",top:i.getStartElement().getDocumentPosition().y+"px",width:"1px",height:"1px",overflow:"hidden"}),k.setStyle(this.config.contentsLangDirection=="ltr"?"left":"right","-1000px");var l=i.createBookmarks();this.on("selectionChange",m,null,null,0),c=="text"?k.$.focus():(j.setStartAt(k,1),j.setEndAt(k,2),j.select(!0));var n=this;window.setTimeout(function(){c=="text"&&b.gecko&&n.focusGrabber.focus(),k.remove(),n.removeListener("selectionChange",m);var a;k=b.webkit&&(a=k.getFirst())&&a.is&&a.hasClass("Apple-style-span")?a:k,i.selectBookmarks(l),e(k["get"+(c=="text"?"Value":"Html")]())},0)}function o(a){if(!c||b.quirks)return;var d=a.getSelection(),e;if(d.getType()==3&&(e=d.getSelectedElement())){var f=d.getRanges()[0],g=a.document.createText("");g.insertBefore(e),f.setStartBefore(g),f.setEndAfter(e),d.selectRanges([f]),setTimeout(function(){e.getParent()&&(g.remove(),d.selectElement(e))},0)}}function q(a,b){c&&(p=1);var d=2;try{d=b.document.$.queryCommandEnabled(a)?2:0}catch(e){}return p=0,d}function s(){var a=this;if(a.mode!="wysiwyg")return;a.getCommand("cut").setState(r?0:q("Cut",a)),a.getCommand("copy").setState(q("Copy",a));var c=r?0:b.webkit?2:q("Paste",a);a.fire("pasteState",c)}var f=function(a,c){var d=a.document,e=d.getBody(),f=0,g=function(){f=1};return e.on(c,g),(b.version>7?d.$:d.$.selection.createRange()).execCommand(c),e.removeListener(c,g),f},g=c?function(a,b){return f(a,b)}:function(a,b){try{return a.document.$.execCommand(b,!1,null)}catch(c){return!1}},i=function(a){var b=this;b.type=a,b.canUndo=b.type=="cut",b.startDisabled=!0};i.prototype={exec:function(a,b){this.type=="cut"&&o(a);var c=g(a,this.type);return c||alert(a.lang.clipboard[this.type+"Error"]),c}};var k={canUndo:!1,exec:c?function(a){a.focus();if(!a.document.getBody().fire("beforepaste")&&!f(a,"paste"))return a.fire("pasteDialog"),!1}:function(a){try{if(!a.document.getBody().fire("beforepaste")&&!a.document.$.execCommand("Paste",!1,null))throw 0}catch(b){return setTimeout(function(){a.fire("pasteDialog")},0),!1}}},l=function(a){if(this.mode!="wysiwyg")return;switch(a.data.keyCode){case 1114198:case 2228269:var d=this.document.getBody();!c&&d.fire("beforepaste")?a.cancel():(b.opera||b.gecko&&b.version<10900)&&d.fire("paste");return;case 1114200:case 2228270:var e=this;this.fire("saveSnapshot"),setTimeout(function(){e.fire("saveSnapshot")},0)}},p,r;j.add("clipboard",{requires:["dialog","htmldataprocessor"],init:function(c){function d(a,b,d,e){var f=c.lang[b];c.addCommand(b,d),c.ui.addButton(a,{label:f,command:b}),c.addMenuItems&&c.addMenuItem(b,{label:f,command:b,group:"clipboard",order:e})}c.on("paste",function(a){var b=a.data;b.html?c.insertHtml(b.html):b.text&&c.insertText(b.text),setTimeout(function(){c.fire("afterPaste")},0)},null,null,1e3),c.on("pasteDialog",function(a){setTimeout(function(){c.openDialog("paste")},0)}),c.on("pasteState",function(a){c.getCommand("paste").setState(a.data)}),d("Cut","cut",new i("cut"),1),d("Copy","copy",new i("copy"),4),d("Paste","paste",k,8),a.dialog.add("paste",a.getUrl(this.path+"dialogs/paste.js")),c.on("key",l,c),c.on("contentDom",function(){var a=c.document.getBody();a.on(b.webkit?"paste":"beforepaste",function(a){if(p)return;var b={mode:"html"};c.fire("beforePaste",b),n.call(c,a,b.mode,function(a){if(!(a=e.trim(a.replace(/<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,""))))return;var d={};d[b.mode]=a,c.fire("paste",d)})}),a.on("contextmenu",function(){p=1,setTimeout(function(){p=0},10)}),a.on("beforecut",function(){!p&&o(c)}),a.on("mouseup",function(){setTimeout(function(){s.call(c)},0)},c),a.on("keyup",s,c)}),c.on("selectionChange",function(a){r=a.data.selection.getRanges()[0].checkReadOnly(),s.call(c)}),c.contextMenu&&c.contextMenu.addListener(function(a,d){var e=d.getRanges()[0].checkReadOnly();return{cut:!e&&q("Cut",c),copy:q("Copy",c),paste:!e&&(b.webkit?2:q("Paste",c))}})}})}(),j.add("colorbutton",{requires:["panelbutton","floatpanel","styles"],init:function(c){function i(a,b,f){var h=e.getNextId()+"_colorBox";c.ui.add(a,"panelbutton",{label:f,title:f,className:"cke_button_"+a.toLowerCase(),modes:{wysiwyg:1},panel:{css:c.skin.editor.css,attributes:{role:"listbox","aria-label":g.panelTitle}},onBlock:function(a,d){d.autoSize=!0,d.element.addClass("cke_colorblock"),d.element.setHtml(j(a,b,h)),d.element.getDocument().getBody().setStyle("overflow","hidden"),k.fire("ready",this);var e=d.keys,f=c.lang.dir=="rtl";e[f?37:39]="next",e[40]="next",e[9]="next",e[f?39:37]="prev",e[38]="prev",e[2228233]="prev",e[32]="click"},onOpen:function(){var a=c.getSelection(),e=a&&a.getStartElement(),f=new d.elementPath(e),g;e=f.block||f.blockLimit||c.document.getBody();do g=e&&e.getComputedStyle(b=="back"?"background-color":"color")||"transparent";while(b=="back"&&g=="transparent"&&e&&(e=e.getParent()));if(!g||g=="transparent")g="#ffffff";this._.panel._.iframe.getFrameDocument().getById(h).setStyle("background-color",g)}})}function j(b,d,h){var i=[],j=f.colorButton_colors.split(","),k=j.length+(f.colorButton_enableMore?2:1),p=e.addFunction(function(d,e){if(d=="?"){var g=arguments.callee;function h(a){this.removeListener("ok",h),this.removeListener("cancel",h),a.name=="ok"&&g(this.getContentElement("picker","selectedColor").getValue(),e)}c.openDialog("colordialog",function(){this.on("ok",h),this.on("cancel",h)});return}c.focus(),b.hide(!1),c.fire("saveSnapshot"),(new a.style(f["colorButton_"+e+"Style"],{color:"inherit"})).remove(c.document);if(d){var i=f["colorButton_"+e+"Style"];i.childRule=e=="back"?function(a){return l(a)}:function(a){return!a.is("a")&&!a.getElementsByTag("a").count()||l(a)},(new a.style(i,{color:d})).apply(c.document)}c.fire("saveSnapshot")});i.push('<a class="cke_colorauto" _cke_focus=1 hidefocus=true title="',g.auto,'" onclick="CKEDITOR.tools.callFunction(',p,",null,'",d,"');return false;\" href=\"javascript:void('",g.auto,'\')" role="option" aria-posinset="1" aria-setsize="',k,'"><table role="presentation" cellspacing=0 cellpadding=0 width="100%"><tr><td><span class="cke_colorbox" id="',h,'"></span></td><td colspan=7 align=center>',g.auto,'</td></tr></table></a><table role="presentation" cellspacing=0 cellpadding=0 width="100%">');for(var q=0;q<j.length;q++){q%8===0&&i.push("</tr><tr>");var r=j[q].split("/"),t=r[0],u=r[1]||t;r[1]||(t="#"+t.replace(/^(.)(.)(.)$/,"$1$1$2$2$3$3"));var v=c.lang.colors[u]||u;i.push('<td><a class="cke_colorbox" _cke_focus=1 hidefocus=true title="',v,'" onclick="CKEDITOR.tools.callFunction(',p,",'",t,"','",d,"'); return false;\" href=\"javascript:void('",v,'\')" role="option" aria-posinset="',q+2,'" aria-setsize="',k,'"><span class="cke_colorbox" style="background-color:#',u,'"></span></a></td>')}return(f.colorButton_enableMore===undefined||f.colorButton_enableMore)&&i.push('</tr><tr><td colspan=8 align=center><a class="cke_colormore" _cke_focus=1 hidefocus=true title="',g.more,'" onclick="CKEDITOR.tools.callFunction(',p,",'?','",d,"');return false;\" href=\"javascript:void('",g.more,"')\"",' role="option" aria-posinset="',k,'" aria-setsize="',k,'">',g.more,"</a></td>"),i.push("</tr></table>"),i.join("")}function l(a){return a.getAttribute("contentEditable")=="false"||a.getAttribute("data-nostyle")}var f=c.config,g=c.lang.colorButton,h;b.hc||(i("TextColor","fore",g.textColorTitle),i("BGColor","back",g.bgColorTitle))}}),i.colorButton_colors="000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF",i.colorButton_foreStyle={element:"span",styles:{color:"#(color)"},overrides:[{element:"font",attributes:{color:null}}]},i.colorButton_backStyle={element:"span",styles:{"background-color":"#(color)"}},j.colordialog={init:function(b){b.addCommand("colordialog",new a.dialogCommand("colordialog")),a.dialog.add("colordialog",this.path+"dialogs/colordialog.js")}},j.add("colordialog",j.colordialog),j.add("contextmenu",{requires:["menu"],onLoad:function(){j.contextMenu=e.createClass({base:a.menu,$:function(a){this.base.call(this,a,{panel:{className:a.skinClass+" cke_contextmenu",attributes:{"aria-label":a.lang.contextmenu.options}}})},proto:{addTarget:function(a,d){if(b.opera&&!("oncontextmenu"in document.body)){var f;a.on("mousedown",function(c){c=c.data;if(c.$.button!=2){c.getKeystroke()==1114112+1&&a.fire("contextmenu",c);return}if(d&&(b.mac?c.$.metaKey:c.$.ctrlKey))return;var e=c.getTarget();if(!f){var g=e.getDocument();f=g.createElement("input"),f.$.type="button",g.getBody().append(f)}f.setAttribute("style","position:absolute;top:"+(c.$.clientY-2)+"px;left:"+(c.$.clientX-2)+"px;width:5px;height:5px;opacity:0.01")}),a.on("mouseup",function(b){f&&(f.remove(),f=undefined,a.fire("contextmenu",b.data))})}a.on("contextmenu",function(a){var f=a.data;if(d&&(b.webkit?g:b.mac?f.$.metaKey:f.$.ctrlKey))return;f.preventDefault();var h=f.getTarget().getDocument().getDocumentElement(),i=f.$.clientX,j=f.$.clientY;e.setTimeout(function(){this.open(h,null,i,j)},c?200:0,this)},this),b.opera&&a.on("keypress",function(a){var b=a.data;b.$.keyCode===0&&b.preventDefault()});if(b.webkit){var g,h=function(a){g=b.mac?a.data.$.metaKey:a.data.$.ctrlKey},i=function(){g=0};a.on("keydown",h),a.on("keyup",i),a.on("contextmenu",i)}},open:function(b,c,d,e){this.editor.focus(),b=b||a.document.getDocumentElement(),this.show(b,c,d,e)}}})},beforeInit:function(a){a.contextMenu=new j.contextMenu(a),a.addCommand("contextMenu",{exec:function(){a.contextMenu.open(a.document.getBody())}})}}),function(){function b(a){var b=this.att,c=a&&a.hasAttribute(b)&&a.getAttribute(b)||"";c!==undefined&&this.setValue(c)}function c(){var a;for(var b=0;b<arguments.length;b++)if(arguments[b]instanceof h){a=arguments[b];break}if(a){var c=this.att,d=this.getValue();d?a.setAttribute(c,d):a.removeAttribute(c,d)}}j.add("dialogadvtab",{createAdvancedTab:function(d,e){e||(e={id:1,dir:1,classes:1,styles:1});var f=d.lang.common,g={id:"advanced",label:f.advancedTab,title:f.advancedTab,elements:[{type:"vbox",padding:1,children:[]}]},h=[];if(e.id||e.dir)e.id&&h.push({id:"advId",att:"id",type:"text",label:f.id,setup:b,commit:c}),e.dir&&h.push({id:"advLangDir",att:"dir",type:"select",label:f.langDir,"default":"",style:"width:100%",items:[[f.notSet,""],[f.langDirLTR,"ltr"],[f.langDirRTL,"rtl"]],setup:b,commit:c}),g.elements[0].children.push({type:"hbox",widths:["50%","50%"],children:[].concat(h)});if(e.styles||e.classes)h=[],e.styles&&h.push({id:"advStyles",att:"style",type:"text",label:f.styles,"default":"",validate:a.dialog.validate.inlineStyle(f.invalidInlineStyle),onChange:function(){},getStyle:function(a,b){var c=this.getValue().match(new RegExp(a+"\\s*:\\s*([^;]*)","i"));return c?c[1]:b},updateStyle:function(a,b){var c=this.getValue();c&&(c=c.replace(new RegExp("\\s*"+a+"s*:[^;]*(?:$|;s*)","i"),"").replace(/^[;\s]+/,"").replace(/\s+$/,"")),b&&(c&&!/;\s*$/.test(c)&&(c+="; "),c+=a+": "+b),this.setValue(c,1)},setup:b,commit:c}),e.classes&&h.push({type:"hbox",widths:["45%","55%"],children:[{id:"advCSSClasses",att:"class",type:"text",label:f.cssClasses,"default":"",setup:b,commit:c}]}),g.elements[0].children.push({type:"hbox",widths:["50%","50%"],children:[].concat(h)});return g}})}(),function(){j.add("div",{requires:["editingblock","domiterator","styles"],init:function(b){var c=b.lang.div;b.addCommand("creatediv",new a.dialogCommand("creatediv")),b.addCommand("editdiv",new a.dialogCommand("editdiv")),b.addCommand("removediv",{exec:function(a){function i(a){var b=new d.elementPath(a),c=b.blockLimit,e=c.is("div")&&c;e&&!e.data("cke-div-added")&&(h.push(e),e.data("cke-div-added"))}var b=a.getSelection(),c=b&&b.getRanges(),e,f=b.createBookmarks(),g,h=[];for(var j=0;j<c.length;j++)e=c[j],e.collapsed?i(b.getStartElement()):(g=new d.walker(e),g.evaluator=i,g.lastForward());for(j=0;j<h.length;j++)h[j].remove(!0);b.selectBookmarks(f)}}),b.ui.addButton("CreateDiv",{label:c.toolbar,command:"creatediv"}),b.addMenuItems&&(b.addMenuItems({editdiv:{label:c.edit,command:"editdiv",group:"div",order:1},removediv:{label:c.remove,command:"removediv",group:"div",order:5}}),b.contextMenu&&b.contextMenu.addListener(function(a,b){if(!a||a.isReadOnly())return null;var c=new d.elementPath(a),e=c.blockLimit;return e&&e.getAscendant("div",!0)?{editdiv:2,removediv:2}:null})),a.dialog.add("creatediv",this.path+"dialogs/div.js"),a.dialog.add("editdiv",this.path+"dialogs/div.js")}})}(),function(){var f={toolbarFocus:{editorFocus:!1,readOnly:1,exec:function(d){var e=d._.elementsPath.idBase,f=a.document.getById(e+"0");f&&f.focus(c||b.air)}}},g='<span class="cke_empty">&nbsp;</span>';j.add("elementspath",{requires:["selection"],init:function(c){function l(a){c.focus();var b=c._.elementsPath.list[a];if(b.is("body")){var e=new d.range(c.document);e.selectNodeContents(b),e.select()}else c.getSelection().selectElement(b)}function q(){i&&i.setHtml(g),delete c._.elementsPath.list}var h="cke_path_"+c.name,i,j=function(){return i||(i=a.document.getById(h)),i},k="cke_elementspath_"+e.getNextNumber()+"_";c._.elementsPath={idBase:k,filters:[]},c.on("themeSpace",function(a){a.data.space=="bottom"&&(a.data.html+='<span id="'+h+'_label" class="cke_voice_label">'+c.lang.elementsPath.eleLabel+"</span>"+'<div id="'+h+'" class="cke_path" role="group" aria-labelledby="'+h+'_label">'+g+"</div>")});var o=e.addFunction(l),p=e.addFunction(function(b,e){var f=c._.elementsPath.idBase,g;e=new d.event(e);var h=c.lang.dir=="rtl";switch(e.getKeystroke()){case h?39:37:case 9:return g=a.document.getById(f+(b+1)),g||(g=a.document.getById(f+"0")),g.focus(),!1;case h?37:39:case 2228233:return g=a.document.getById(f+(b-1)),g||(g=a.document.getById(f+(c._.elementsPath.list.length-1))),g.focus(),!1;case 27:return c.focus(),!1;case 13:case 32:return l(b),!1}return!0});c.on("selectionChange",function(a){var c=b,d=a.data.selection,e=d.getStartElement(),f=[],h=a.editor,i=h._.elementsPath.list=[],l=h._.elementsPath.filters;while(e){var m=0,q;e.data("cke-display-name")?q=e.data("cke-display-name"):e.data("cke-real-element-type")?q=e.data("cke-real-element-type"):q=e.getName();for(var t=0;t<l.length;t++){var w=l[t](e,q);if(w===!1){m=1;break}q=w||q}if(!m){var x=i.push(e)-1,y="";if(c.opera||c.gecko&&c.mac)y+=' onkeypress="return false;"';c.gecko&&(y+=' onblur="this.style.cssText = this.style.cssText;"');var z=h.lang.elementsPath.eleTitle.replace(/%1/,q);f.unshift('<a id="',k,x,'" href="javascript:void(\'',q,'\')" tabindex="-1" title="',z,'"'+(b.gecko&&b.version<10900?' onfocus="event.preventBubble();"':"")+' hidefocus="true" '+' onkeydown="return CKEDITOR.tools.callFunction(',p,",",x,', event );"'+y,' onclick="CKEDITOR.tools.callFunction('+o,",",x,'); return false;"',' role="button" aria-labelledby="'+k+x+'_label">',q,'<span id="',k,x,'_label" class="cke_label">'+z+"</span>","</a>")}if(q=="body")break;e=e.getParent()}var A=j();A.setHtml(f.join("")+g),h.fire("elementsPathUpdate",{space:A})}),c.on("readOnly",q),c.on("contentDomUnload",q),c.addCommand("elementsPathFocus",f.toolbarFocus)}})}(),function(){function i(a){return a.mode!="wysiwyg"?!1:k(a,a.config.shiftEnterMode,1)}function k(a,b,c){return c=a.config.forceEnterMode||c,a.mode!="wysiwyg"?!1:(b||(b=a.config.enterMode),setTimeout(function(){a.fire("saveSnapshot"),b==2?e(a,b,null,c):g(a,b,null,c),a.fire("saveSnapshot")},0),!0)}function l(a){var b=a.getSelection().getRanges(!0);for(var c=b.length-1;c>0;c--)b[c].deleteContents();return b[0]}j.add("enterkey",{requires:["keystrokes","indent"],init:function(a){a.addCommand("enter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){k(a)}}),a.addCommand("shiftEnter",{modes:{wysiwyg:1},editorFocus:!1,exec:function(a){i(a)}});var b=a.keystrokeHandler.keystrokes;b[13]="enter",b[2228237]="shiftEnter"}}),j.enterkey={enterBlock:function(a,b,g,i){g=g||l(a);if(!g)return;var j=g.document,k=g.checkStartOfBlock(),m=g.checkEndOfBlock(),o=new d.elementPath(g.startContainer),q=o.block;if(k&&m){if(q&&(q.is("li")||q.getParent().is("li"))){a.execCommand("outdent");return}if(q&&q.getParent().is("blockquote")){q.breakParent(q.getParent()),q.getPrevious().getFirst(d.walker.invisible(1))||q.getPrevious().remove(),q.getNext().getFirst(d.walker.invisible(1))||q.getNext().remove(),g.moveToElementEditStart(q),g.select();return}}else if(q&&q.is("pre")){if(!m){e(a,b,g,i);return}}else if(q&&f.$captionBlock[q.getName()]){e(a,b,g,i);return}var r=b==3?"div":"p",t=g.splitBlock(r);if(!t)return;var u=t.previousBlock,v=t.nextBlock,w=t.wasStartOfBlock,x=t.wasEndOfBlock,y;v?(y=v.getParent(),y.is("li")&&(v.breakParent(y),v.move(v.getNext(),1))):u&&(y=u.getParent())&&y.is("li")&&(u.breakParent(y),y=u.getNext(),g.moveToElementEditStart(y),u.move(u.getPrevious()));if(!w&&!x)v.is("li")&&(y=v.getFirst(d.walker.invisible(!0)))&&y.is&&y.is("ul","ol")&&(c?j.createText(" "):j.createElement("br")).insertBefore(y),v&&g.moveToElementEditStart(v);else{var z,A;if(u){if(u.is("li")||!h.test(u.getName())&&!u.is("pre"))z=u.clone()}else v&&(z=v.clone());z?i&&!z.is("li")&&z.renameNode(r):y&&y.is("li")?z=y:(z=j.createElement(r),u&&(A=u.getDirection())&&z.setAttribute("dir",A));var B=t.elementPath;if(B)for(var C=0,D=B.elements.length;C<D;C++){var E=B.elements[C];if(E.equals(B.block)||E.equals(B.blockLimit))break;f.$removeEmpty[E.getName()]&&(E=E.clone(),z.moveChildren(E),z.append(E))}c||z.appendBogus(),z.getParent()||g.insertNode(z),z.is("li")&&z.removeAttribute("value"),c&&w&&(!x||!u.getChildCount())&&(g.moveToElementEditStart(x?u:z),g.select()),g.moveToElementEditStart(w&&!x?v:z)}if(!c)if(v){var F=j.createElement("span");F.setHtml("&nbsp;"),g.insertNode(F),F.scrollIntoView(),g.deleteContents()}else z.scrollIntoView();g.select()},enterBr:function(a,e,f,i){f=f||l(a);if(!f)return;var j=f.document,k=e==3?"div":"p",m=f.checkEndOfBlock(),n=new d.elementPath(a.getSelection().getStartElement()),q=n.block,r=q&&n.block.getName(),t=!1;if(!i&&r=="li"){g(a,e,f,i);return}if(!i&&m&&h.test(r)){var u,v;(v=q.getDirection())?(u=j.createElement("div"),u.setAttribute("dir",v),u.insertAfter(q),f.setStart(u,0)):(j.createElement("br").insertAfter(q),b.gecko&&j.createText("").insertAfter(q),f.setStartAt(q.getNext(),c?3:1))}else{var w;t=r=="pre",t&&!b.gecko?w=j.createText(c?"\r":"\n"):w=j.createElement("br"),f.deleteContents(),f.insertNode(w);if(c)f.setStartAt(w,4);else{j.createText("").insertAfter(w),m&&w.getParent().appendBogus(),w.getNext().$.nodeValue="",f.setStartAt(w.getNext(),1);var x=null;b.gecko?x=j.createElement("br"):(x=j.createElement("span"),x.setHtml("&nbsp;")),x.insertBefore(w.getNext()),x.scrollIntoView(),x.remove()}}f.collapse(!0),f.select(t)}};var a=j.enterkey,e=a.enterBr,g=a.enterBlock,h=/^h[1-6]$/}(),function(){function e(a,b){var c={},d=[],e={nbsp:" ",shy:"­",gt:">",lt:"<",amp:"&"};a=a.replace(/\b(nbsp|shy|gt|lt|amp)(?:,|$)/g,function(a,f){var g=b?"&"+f+";":e[f],h=b?e[f]:"&"+f+";";return c[g]=h,d.push(g),""});if(!b&&a){a=a.split(",");var f=document.createElement("div"),g;f.innerHTML="&"+a.join(";&")+";",g=f.innerHTML,f=null;for(var h=0;h<g.length;h++){var i=g.charAt(h);c[i]="&"+a[h]+";",d.push(i)}}return c.regex=d.join(b?"|":""),c}var a="nbsp,gt,lt,amp",b="quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro",c="Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml",d="Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv";j.add("entities",{afterInit:function(f){var g=f.config,h=f.dataProcessor,i=h&&h.htmlFilter;if(i){var j="";g.basicEntities!==!1&&(j+=a),g.entities&&(j+=","+b,g.entities_latin&&(j+=","+c),g.entities_greek&&(j+=","+d),g.entities_additional&&(j+=","+g.entities_additional));var k=e(j),l=k.regex?"["+k.regex+"]":"a^";delete k.regex,g.entities&&g.entities_processNumerical&&(l="[^ -~]|"+l),l=new RegExp(l,"g");function r(a){return g.entities_processNumerical=="force"||!k[a]?"&#"+a.charCodeAt(0)+";":k[a]}var s=e([a,"shy"].join(","),!0),t=new RegExp(s.regex,"g");function u(a){return s[a]}i.addRules({text:function(a){return a.replace(t,u).replace(l,r)}})}}})}(),i.basicEntities=!0,i.entities=!0,i.entities_latin=!0,i.entities_greek=!0,i.entities_additional="#39",function(){function b(a,b){var c=[];if(!b)return a;for(var d in b)c.push(d+"="+encodeURIComponent(b[d]));return a+(a.indexOf("?")!=-1?"&":"?")+c.join("&")}function c(a){a+="";var b=a.charAt(0).toUpperCase();return b+a.substr(1)}function d(a){var d=this,e=d.getDialog(),f=e.getParentEditor();f._.filebrowserSe=d;var g=f.config["filebrowser"+c(e.getName())+"WindowWidth"]||f.config.filebrowserWindowWidth||"80%",h=f.config["filebrowser"+c(e.getName())+"WindowHeight"]||f.config.filebrowserWindowHeight||"70%",i=d.filebrowser.params||{};i.CKEditor=f.name,i.CKEditorFuncNum=f._.filebrowserFn,i.langCode||(i.langCode=f.langCode);var j=b(d.filebrowser.url,i);f.popup(j,g,h,f.config.filebrowserWindowFeatures||f.config.fileBrowserWindowFeatures)}function f(a){var b=this,c=b.getDialog(),d=c.getParentEditor();return d._.filebrowserSe=b,c.getContentElement(b["for"][0],b["for"][1]).getInputElement().$.value?c.getContentElement(b["for"][0],b["for"][1]).getAction()?!0:!1:!1}function g(a,c,d){var e=d.params||{};e.CKEditor=a.name,e.CKEditorFuncNum=a._.filebrowserFn,e.langCode||(e.langCode=a.langCode),c.action=b(d.url,e),c.filebrowser=d}function h(a,b,e,i){var j,k;for(var l in i){j=i[l],(j.type=="hbox"||j.type=="vbox")&&h(a,b,e,j.children);if(!j.filebrowser)continue;if(typeof j.filebrowser=="string"){var m={action:j.type=="fileButton"?"QuickUpload":"Browse",target:j.filebrowser};j.filebrowser=m}if(j.filebrowser.action=="Browse"){var s=j.filebrowser.url;s===undefined&&(s=a.config["filebrowser"+c(b)+"BrowseUrl"],s===undefined&&(s=a.config.filebrowserBrowseUrl)),s&&(j.onClick=d,j.filebrowser.url=s,j.hidden=!1)}else if(j.filebrowser.action=="QuickUpload"&&j["for"]){s=j.filebrowser.url,s===undefined&&(s=a.config["filebrowser"+c(b)+"UploadUrl"],s===undefined&&(s=a.config.filebrowserUploadUrl));if(s){var t=j.onClick;j.onClick=function(a){var b=a.sender;return t&&t.call(b,a)===!1?!1:f.call(b,a)},j.filebrowser.url=s,j.hidden=!1,g(a,e.getContents(j["for"][0]).get(j["for"][1]),j.filebrowser)}}}}function i(a,b){var c=b.getDialog(),d=b.filebrowser.target||null;a=a.replace(/#/g,"%23");if(d){var e=d.split(":"),f=c.getContentElement(e[0],e[1]);f&&(f.setValue(a),c.selectPage(e[0]))}}function k(a,b,c){if(c.indexOf(";")!==-1){var d=c.split(";");for(var e=0;e<d.length;e++)if(k(a,b,d[e]))return!0;return!1}var f=a.getContents(b).get(c).filebrowser;return f&&f.url}function l(a,b){var c=this,d=c._.filebrowserSe.getDialog(),e=c._.filebrowserSe["for"],f=c._.filebrowserSe.filebrowser.onSelect;e&&d.getContentElement(e[0],e[1]).reset();if(typeof b=="function"&&b.call(c._.filebrowserSe)===!1)return;if(f&&f.call(c._.filebrowserSe,a,b)===!1)return;typeof b=="string"&&b&&alert(b),a&&i(a,c._.filebrowserSe)}j.add("filebrowser",{init:function(a,b){a._.filebrowserFn=e.addFunction(l,a),a.on("destroy",function(){e.removeFunction(this._.filebrowserFn)})}}),a.on("dialogDefinition",function(a){var b=a.data.definition,c;for(var d in b.contents)if(c=b.contents[d])h(a.editor,a.data.name,b,c.elements),c.hidden&&c.filebrowser&&(c.hidden=!k(b,c.id,c.filebrowser))})}(),j.add("find",{init:function(b){var c=j.find;b.ui.addButton("Find",{label:b.lang.findAndReplace.find,command:"find"});var d=b.addCommand("find",new a.dialogCommand("find"));d.canUndo=!1,d.readOnly=1,b.ui.addButton("Replace",{label:b.lang.findAndReplace.replace,command:"replace"});var e=b.addCommand("replace",new a.dialogCommand("replace"));e.canUndo=!1,a.dialog.add("find",this.path+"dialogs/find.js"),a.dialog.add("replace",this.path+"dialogs/find.js")},requires:["styles"]}),i.find_highlight={element:"span",styles:{"background-color":"#004",color:"#fff"}},function(){function c(a){var c=a.attributes;return c.type=="application/x-shockwave-flash"||b.test(c.src||"")}function d(a,b){return a.createFakeParserElement(b,"cke_flash","flash",!0)}var b=/\.swf(?:$|\?)/i;j.add("flash",{init:function(b){b.addCommand("flash",new a.dialogCommand("flash")),b.ui.addButton("Flash",{label:b.lang.common.flash,command:"flash"}),a.dialog.add("flash",this.path+"dialogs/flash.js"),b.addCss("img.cke_flash{background-image: url("+a.getUrl(this.path+"images/placeholder.png")+");"+"background-position: center center;"+"background-repeat: no-repeat;"+"border: 1px solid #a9a9a9;"+"width: 80px;"+"height: 80px;"+"}"),b.addMenuItems&&b.addMenuItems({flash:{label:b.lang.flash.properties,command:"flash",group:"flash"}}),b.on("doubleclick",function(a){var b=a.data.element;b.is("img")&&b.data("cke-real-element-type")=="flash"&&(a.data.dialog="flash")}),b.contextMenu&&b.contextMenu.addListener(function(a,b){if(a&&a.is("img")&&!a.isReadOnly()&&a.data("cke-real-element-type")=="flash")return{flash:2}})},afterInit:function(a){var b=a.dataProcessor,e=b&&b.dataFilter;e&&e.addRules({elements:{"cke:object":function(b){var e=b.attributes,f=e.classid&&String(e.classid).toLowerCase();if(!f&&!c(b)){for(var g=0;g<b.children.length;g++)if(b.children[g].name=="cke:embed")return c(b.children[g])?d(a,b):null;return null}return d(a,b)},"cke:embed":function(b){return c(b)?d(a,b):null}}},5)},requires:["fakeobjects"]})}(),e.extend(i,{flashEmbedTagOnly:!1,flashAddEmbedTag:!0,flashConvertOnEdit:!1}),function(){function b(b,c,d,e,f,g,h){var i=b.config,j=f.split(";"),k=[],l={};for(var m=0;m<j.length;m++){var n=j[m];if(n){n=n.split("/");var o={},p=j[m]=n[0];o[d]=k[m]=n[1]||p,l[p]=new a.style(h,o),l[p]._.definition.name=p}else j.splice(m--,1)}b.ui.addRichCombo(c,{label:e.label,title:e.panelTitle,className:"cke_"+(d=="size"?"fontSize":"font"),panel:{css:b.skin.editor.css.concat(i.contentsCss),multiSelect:!1,attributes:{"aria-label":e.panelTitle}},init:function(){this.startGroup(e.panelTitle);for(var a=0;a<j.length;a++){var b=j[a];this.add(b,l[b].buildPreview(),b)}},onClick:function(a){b.focus(),b.fire("saveSnapshot");var c=l[a];this.getValue()==a?c.remove(b.document):c.apply(b.document),b.fire("saveSnapshot")},onRender:function(){b.on("selectionChange",function(a){var b=this.getValue(),c=a.data.path,d=c.elements;for(var e=0,f;e<d.length;e++){f=d[e];for(var h in l)if(l[h].checkElementRemovable(f,!0)){h!=b&&this.setValue(h);return}}this.setValue("",g)},this)}})}j.add("font",{requires:["richcombo","styles"],init:function(a){var c=a.config;b(a,"Font","family",a.lang.font,c.font_names,c.font_defaultLabel,c.font_style),b(a,"FontSize","size",a.lang.fontSize,c.fontSize_sizes,c.fontSize_defaultLabel,c.fontSize_style)}})}(),i.font_names="Arial/Arial, Helvetica, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif",i.font_defaultLabel="",i.font_style={element:"span",styles:{"font-family":"#(family)"},overrides:[{element:"font",attributes:{face:null}}]},i.fontSize_sizes="8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px",i.fontSize_defaultLabel="",i.fontSize_style={element:"span",styles:{"font-size":"#(size)"},overrides:[{element:"font",attributes:{size:null}}]},j.add("format",{requires:["richcombo","styles"],init:function(b){var c=b.config,e=b.lang.format,f=c.format_tags.split(";"),g={};for(var h=0;h<f.length;h++){var i=f[h];g[i]=new a.style(c["format_"+i]),g[i]._.enterMode=b.config.enterMode}b.ui.addRichCombo("Format",{label:e.label,title:e.panelTitle,className:"cke_format",panel:{css:b.skin.editor.css.concat(c.contentsCss),multiSelect:!1,attributes:{"aria-label":e.panelTitle}},init:function(){this.startGroup(e.panelTitle);for(var a in g){var b=e["tag_"+a];this.add(a,g[a].buildPreview(b),b)}},onClick:function(a){b.focus(),b.fire("saveSnapshot");var c=g[a],e=new d.elementPath(b.getSelection().getStartElement());c[c.checkActive(e)?"remove":"apply"](b.document),setTimeout(function(){b.fire("saveSnapshot")},0)},onRender:function(){b.on("selectionChange",function(a){var c=this.getValue(),d=a.data.path;for(var e in g)if(g[e].checkActive(d)){e!=c&&this.setValue(e,b.lang.format["tag_"+e]);return}this.setValue("")},this)}})}}),i.format_tags="p;h1;h2;h3;h4;h5;h6;pre;address;div",i.format_p={element:"p"},i.format_div={element:"div"},i.format_pre={element:"pre"},i.format_address={element:"address"},i.format_h1={element:"h1"},i.format_h2={element:"h2"},i.format_h3={element:"h3"},i.format_h4={element:"h4"},i.format_h5={element:"h5"},i.format_h6={element:"h6"},j.add("forms",{init:function(b){var c=b.lang;b.addCss("form{border: 1px dotted #FF0000;padding: 2px;}\n"),b.addCss("img.cke_hidden{background-image: url("+a.getUrl(this.path+"images/hiddenfield.gif")+");"+"background-position: center center;"+"background-repeat: no-repeat;"+"border: 1px solid #a9a9a9;"+"width: 16px !important;"+"height: 16px !important;"+"}");var d=function(d,e,f){b.addCommand(e,new a.dialogCommand(e)),b.ui.addButton(d,{label:c.common
7
- [d.charAt(0).toLowerCase()+d.slice(1)],command:e}),a.dialog.add(e,f)},e=this.path+"dialogs/";d("Form","form",e+"form.js"),d("Checkbox","checkbox",e+"checkbox.js"),d("Radio","radio",e+"radio.js"),d("TextField","textfield",e+"textfield.js"),d("Textarea","textarea",e+"textarea.js"),d("Select","select",e+"select.js"),d("Button","button",e+"button.js"),d("ImageButton","imagebutton",j.getPath("image")+"dialogs/image.js"),d("HiddenField","hiddenfield",e+"hiddenfield.js"),b.addMenuItems&&b.addMenuItems({form:{label:c.form.menu,command:"form",group:"form"},checkbox:{label:c.checkboxAndRadio.checkboxTitle,command:"checkbox",group:"checkbox"},radio:{label:c.checkboxAndRadio.radioTitle,command:"radio",group:"radio"},textfield:{label:c.textfield.title,command:"textfield",group:"textfield"},hiddenfield:{label:c.hidden.title,command:"hiddenfield",group:"hiddenfield"},imagebutton:{label:c.image.titleButton,command:"imagebutton",group:"imagebutton"},button:{label:c.button.title,command:"button",group:"button"},select:{label:c.select.title,command:"select",group:"select"},textarea:{label:c.textarea.title,command:"textarea",group:"textarea"}}),b.contextMenu&&(b.contextMenu.addListener(function(a){if(a&&a.hasAscendant("form",!0)&&!a.isReadOnly())return{form:2}}),b.contextMenu.addListener(function(a){if(a&&!a.isReadOnly()){var b=a.getName();if(b=="select")return{select:2};if(b=="textarea")return{textarea:2};if(b=="input")switch(a.getAttribute("type")){case"button":case"submit":case"reset":return{button:2};case"checkbox":return{checkbox:2};case"radio":return{radio:2};case"image":return{imagebutton:2};default:return{textfield:2}}if(b=="img"&&a.data("cke-real-element-type")=="hiddenfield")return{hiddenfield:2}}})),b.on("doubleclick",function(a){var b=a.data.element;if(b.is("form"))a.data.dialog="form";else if(b.is("select"))a.data.dialog="select";else if(b.is("textarea"))a.data.dialog="textarea";else if(b.is("img")&&b.data("cke-real-element-type")=="hiddenfield")a.data.dialog="hiddenfield";else if(b.is("input"))switch(b.getAttribute("type")){case"button":case"submit":case"reset":a.data.dialog="button";break;case"checkbox":a.data.dialog="checkbox";break;case"radio":a.data.dialog="radio";break;case"image":a.data.dialog="imagebutton";break;default:a.data.dialog="textfield"}})},afterInit:function(a){var b=a.dataProcessor,d=b&&b.htmlFilter,e=b&&b.dataFilter;c&&d&&d.addRules({elements:{input:function(a){var b=a.attributes,c=b.type;c||(b.type="text"),(c=="checkbox"||c=="radio")&&b.value=="on"&&delete b.value}}}),e&&e.addRules({elements:{input:function(b){if(b.attributes.type=="hidden")return a.createFakeParserElement(b,"cke_hidden","hiddenfield")}}})},requires:["image","fakeobjects"]}),c&&(h.prototype.hasAttribute=e.override(h.prototype.hasAttribute,function(a){return function(b){var c=this,d=c.$.attributes.getNamedItem(b);if(c.getName()=="input")switch(b){case"class":return c.$.className.length>0;case"checked":return!!c.$.checked;case"value":var e=c.getAttribute("type");return e=="checkbox"||e=="radio"?c.$.value!="on":c.$.value}return a.apply(c,arguments)}})),function(){var a={canUndo:!1,exec:function(a){var b=a.document.createElement("hr"),c=new d.range(a.document);a.insertElement(b),c.moveToPosition(b,4);var e=b.getNext();(!e||e.type==1&&!e.isEditable())&&c.fixBlock(!0,a.config.enterMode==3?"div":"p"),c.select()}},b="horizontalrule";j.add(b,{init:function(c){c.addCommand(b,a),c.ui.addButton("HorizontalRule",{label:c.lang.horizontalrule,command:b})}})}(),function(){function g(a){var b=a.children.length,c=a.children[b-1];while(c&&c.type==3&&!e.trim(c.value))c=a.children[--b];return c}function k(a,d){var e=a.children,f=g(a);f&&((d||!c)&&f.type==1&&f.name=="br"&&e.pop(),f.type==3&&b.test(f.value)&&e.pop())}function l(a,b,d){if(!b&&(!d||typeof d=="function"&&d(a)===!1))return!1;if(b&&c&&(document.documentMode>7||a.name in f.tr||a.name in f.$listItem))return!1;var e=g(a);return!e||e&&(e.type==1&&e.name=="br"||a.name=="form"&&e.name=="input")}function m(b,d){return function(e){k(e,!b),l(e,!b,d)&&(b||c?e.add(new a.htmlParser.text(" ")):e.add(new a.htmlParser.element("br",{})))}}function u(a){var b=a.attributes;b.contenteditable!="false"&&(b["data-cke-editable"]=b.contenteditable?"true":1),b.contenteditable="false"}function v(a){var b=a.attributes;switch(b["data-cke-editable"]){case"true":b.contenteditable="true";break;case"1":delete b.contenteditable}}function D(a){return a.replace(w,function(a,b,c){return"<"+b+c.replace(x,function(a,b){return!/^on/.test(b)&&c.indexOf("data-cke-saved-"+b)==-1?" data-cke-saved-"+a+" "+a:a})+">"})}function E(a){return a.replace(y,function(a){return"<cke:encoded>"+encodeURIComponent(a)+"</cke:encoded>"})}function F(a){return a.replace(z,function(a,b){return decodeURIComponent(b)})}function G(a){return a.replace(A,"$1cke:$2")}function H(a){return a.replace(B,"$1$2")}function I(a){return a.replace(C,"<cke:$1$2></cke:$1>")}function J(a){return a.replace(/(<pre\b[^>]*>)(\r\n|\n)/g,"$1$2$2")}function K(a){return a.replace(/<!--(?!{cke_protected})[\s\S]+?-->/g,function(a){return"<!--"+d+"{C}"+encodeURIComponent(a).replace(/--/g,"%2D%2D")+"-->"})}function L(a){return a.replace(/<!--\{cke_protected\}\{C\}([\s\S]+?)-->/g,function(a,b){return decodeURIComponent(b)})}function M(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 N(a,b){var c=[],e=b.config.protectedSource,f=b._.dataStore||(b._.dataStore={id:1}),g=/<\!--\{cke_temp(comment)?\}(\d*?)-->/g,h=[/<script[\s\S]*?<\/script>/gi,/<noscript[\s\S]*?<\/noscript>/gi].concat(e);a=a.replace(/<!--[\s\S]*?-->/g,function(a){return"<!--{cke_tempcomment}"+(c.push(a)-1)+"-->"});for(var i=0;i<h.length;i++)a=a.replace(h[i],function(a){return a=a.replace(g,function(a,b,d){return c[d]}),/cke_temp(comment)?/.test(a)?a:"<!--{cke_temp}"+(c.push(a)-1)+"-->"});return a=a.replace(g,function(a,b,e){return"<!--"+d+(b?"{C}":"")+encodeURIComponent(c[e]).replace(/--/g,"%2D%2D")+"-->"}),a.replace(/(['"]).*?\1/g,function(a){return a.replace(/<!--\{cke_protected\}([\s\S]+?)-->/g,function(a,b){return f[f.id]=decodeURIComponent(b),"{cke_protected_"+f.id++ +"}"})})}var b=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,d="{cke_protected}",n=f,o=["caption","colgroup","col","thead","tfoot","tbody"],p=e.extend({},n.$block,n.$listItem,n.$tableContent);for(var q in p)"br"in n[q]||delete p[q];delete p.pre;var r={elements:{},attributeNames:[[/^on/,"data-cke-pa-on"]]},s={elements:{}};for(q in p)s.elements[q]=m();var t={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!1;var c=["name","href","src"],d;for(var e=0;e<c.length;e++)d="data-cke-saved-"+c[e],d in b&&delete b[c[e]]}return a},table:function(a){var b=a.children;b.sort(function(a,b){return a.type==1&&b.type==a.type?e.indexOf(o,a.name)>e.indexOf(o,b.name)?1:-1:0})},embed:function(a){var b=a.parent;if(b&&b.name=="object"){var c=b.attributes.width,d=b.attributes.height;c&&(a.attributes.width=c),d&&(a.attributes.height=d)}},param:function(a){return a.children=[],a.isEmpty=!0,a},a:function(a){if(!(a.children.length||a.attributes.name||a.attributes["data-cke-saved-name"]))return!1},span:function(a){a.attributes["class"]=="Apple-style-span"&&delete a.name},pre:function(a){c&&k(a)},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];b&&b.value&&(b.value=e.trim(b.value)),a.attributes.type||(a.attributes.type="text/css")},title:function(a){var b=a.children[0];b&&(b.value=a.attributes["data-cke-title"]||"")}},attributes:{"class":function(a,b){return e.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g,""))||!1}}};c&&(t.attributes.style=function(a,b){return a.replace(/(^|;)([^\:]+)/g,function(a){return a.toLowerCase()})});for(q in{input:1,textarea:1})r.elements[q]=u,t.elements[q]=v;var w=/<(a|area|img|input)\b([^>]*)>/gi,x=/\b(on\w+|href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi,y=/(?:<style(?=[ >])[^>]*>[\s\S]*<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,z=/<cke:encoded>([^<]*)<\/cke:encoded>/gi,A=/(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi,B=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,C=/<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi;j.add("htmldataprocessor",{requires:["htmlwriter"],init:function(b){var c=b.dataProcessor=new a.htmlDataProcessor(b);c.writer.forceSimpleAmpersand=b.config.forceSimpleAmpersand,c.dataFilter.addRules(r),c.dataFilter.addRules(s),c.htmlFilter.addRules(t);var d={elements:{}};for(q in p)d.elements[q]=m(!0,b.config.fillEmptyBlocks);c.htmlFilter.addRules(d)},onLoad:function(){!("fillEmptyBlocks"in i)&&(i.fillEmptyBlocks=1)}}),a.htmlDataProcessor=function(b){var c=this;c.editor=b,c.writer=new a.htmlWriter,c.dataFilter=new a.htmlParser.filter,c.htmlFilter=new a.htmlParser.filter},a.htmlDataProcessor.prototype={toHtml:function(b,c){b=N(b,this.editor),b=D(b),b=E(b),b=G(b),b=I(b),b=J(b);var d=new h("div");d.setHtml("a"+b),b=d.getHtml().substr(1),b=H(b),b=F(b),b=L(b);var e=a.htmlParser.fragment.fromHtml(b,c),f=new a.htmlParser.basicWriter;return e.writeHtml(f,this.dataFilter),b=f.getHtml(!0),b=K(b),b},toDataFormat:function(b,c){var d=this.writer,e=a.htmlParser.fragment.fromHtml(b,c);d.reset(),e.writeHtml(d,this.htmlFilter);var f=d.getHtml(!0);return f=L(f),f=M(f,this.editor),f}}}(),function(){j.add("iframe",{requires:["dialog","fakeobjects"],init:function(b){var c="iframe",d=b.lang.iframe;a.dialog.add(c,this.path+"dialogs/iframe.js"),b.addCommand(c,new a.dialogCommand(c)),b.addCss("img.cke_iframe{background-image: url("+a.getUrl(this.path+"images/placeholder.png")+");"+"background-position: center center;"+"background-repeat: no-repeat;"+"border: 1px solid #a9a9a9;"+"width: 80px;"+"height: 80px;"+"}"),b.ui.addButton("Iframe",{label:d.toolbar,command:c}),b.on("doubleclick",function(a){var b=a.data.element;b.is("img")&&b.data("cke-real-element-type")=="iframe"&&(a.data.dialog="iframe")}),b.addMenuItems&&b.addMenuItems({iframe:{label:d.title,command:"iframe",group:"image"}}),b.contextMenu&&b.contextMenu.addListener(function(a,b){if(a&&a.is("img")&&a.data("cke-real-element-type")=="iframe")return{iframe:2}})},afterInit:function(a){var b=a.dataProcessor,c=b&&b.dataFilter;c&&c.addRules({elements:{iframe:function(b){return a.createFakeParserElement(b,"cke_iframe","iframe",!0)}}})}})}(),j.add("image",{init:function(b){var c="image";a.dialog.add(c,this.path+"dialogs/image.js"),b.addCommand(c,new a.dialogCommand(c)),b.ui.addButton("Image",{label:b.lang.common.image,command:c}),b.on("doubleclick",function(a){var b=a.data.element;b.is("img")&&!b.data("cke-realelement")&&!b.isReadOnly()&&(a.data.dialog="image")}),b.addMenuItems&&b.addMenuItems({image:{label:b.lang.image.menu,command:"image",group:"image"}}),b.contextMenu&&b.contextMenu.addListener(function(a,b){return!a||!a.is("img")||a.data("cke-realelement")||a.isReadOnly()?null:{image:2}})}}),i.image_removeLinkByEmptyURL=!0,function(){function i(b){var c=this;if(b.editor.readOnly)return null;var d=b.editor,e=b.data.path,f=e&&e.contains(a),g=e.block||e.blockLimit;if(f)return c.setState(2);if(!c.useIndentClasses&&c.name=="indent")return c.setState(2);if(!g)return c.setState(0);if(c.useIndentClasses){var h=g.$.className.match(c.classNameRegex),i=0;return h&&(h=h[1],i=c.indentClassMap[h]),c.name=="outdent"&&!i||c.name=="indent"&&i==d.config.indentClasses.length?c.setState(0):c.setState(2)}var j=parseInt(g.getStyle(l(g)),10);return isNaN(j)&&(j=0),j<=0?c.setState(0):c.setState(2)}function k(a,b){var c=this;c.name=b,c.useIndentClasses=a.config.indentClasses&&a.config.indentClasses.length>0;if(c.useIndentClasses){c.classNameRegex=new RegExp("(?:^|\\s+)("+a.config.indentClasses.join("|")+")(?=$|\\s)"),c.indentClassMap={};for(var d=0;d<a.config.indentClasses.length;d++)c.indentClassMap[a.config.indentClasses[d]]=d+1}c.startDisabled=b=="outdent"}function l(a,b){return(b||a.getComputedStyle("direction"))=="ltr"?"margin-left":"margin-right"}function m(a){return a.type==1&&a.is("li")}var a={ol:1,ul:1},f=d.walker.whitespaces(!0),g=d.walker.bookmark(!1,!0);k.prototype={exec:function(b){function p(d){var e=x.startContainer,l=x.endContainer;while(e&&!e.getParent().equals(d))e=e.getParent();while(l&&!l.getParent().equals(d))l=l.getParent();if(!e||!l)return;var m=e,p=[],q=!1;while(!q)m.equals(l)&&(q=!0),p.push(m),m=m.getNext();if(p.length<1)return;var r=d.getParents(!0);for(var s=0;s<r.length;s++)if(r[s].getName&&a[r[s].getName()]){d=r[s];break}var t=i.name=="indent"?1:-1,u=p[0],v=p[p.length-1],w=j.list.listToArray(d,k),y=w[v.getCustomData("listarray_index")].indent;for(s=u.getCustomData("listarray_index");s<=v.getCustomData("listarray_index");s++){w[s].indent+=t;var z=w[s].parent;w[s].parent=new h(z.getName(),z.getDocument())}for(s=v.getCustomData("listarray_index")+1;s<w.length&&w[s].indent>y;s++)w[s].indent+=t;var A=j.list.arrayToList(w,k,null,b.config.enterMode,d.getDirection());if(i.name=="outdent"){var B;if((B=d.getParent())&&B.is("li")){var C=A.listNode.getChildren(),D=[],E=C.count(),F;for(s=E-1;s>=0;s--)(F=C.getItem(s))&&F.is&&F.is("li")&&D.push(F)}}A&&A.listNode.replace(d);if(D&&D.length)for(s=0;s<D.length;s++){var G=D[s],H=G;while((H=H.getNext())&&H.is&&H.getName()in a)c&&!G.getFirst(function(a){return f(a)&&g(a)})&&G.append(x.document.createText(" ")),G.append(H);G.insertAfter(B)}}function q(){var a=x.createIterator(),c=b.config.enterMode;a.enforceRealBlocks=!0,a.enlargeBr=c!=2;var d;while(d=a.getNextParagraph(c==1?"p":"div"))t(d)}function t(a,c){if(a.getCustomData("indent_processed"))return!1;if(i.useIndentClasses){var d=a.$.className.match(i.classNameRegex),f=0;d&&(d=d[1],f=i.indentClassMap[d]),i.name=="outdent"?f--:f++;if(f<0)return!1;f=Math.min(f,b.config.indentClasses.length),f=Math.max(f,0),a.$.className=e.ltrim(a.$.className.replace(i.classNameRegex,"")),f>0&&a.addClass(b.config.indentClasses[f-1])}else{var g=l(a,c),j=parseInt(a.getStyle(g),10);isNaN(j)&&(j=0);var m=b.config.indentOffset||40;j+=(i.name=="indent"?1:-1)*m;if(j<0)return!1;j=Math.max(j,0),j=Math.ceil(j/m)*m,a.setStyle(g,j?j+(b.config.indentUnit||"px"):""),a.getAttribute("style")===""&&a.removeAttribute("style")}return h.setMarker(k,a,"indent_processed",1),!0}var i=this,k={},u=b.getSelection(),v=u.createBookmarks(1),w=u&&u.getRanges(1),x,y=w.createIterator();while(x=y.getNextRange()){var z=x.getCommonAncestor(),A=z;while(A&&(A.type!=1||!a[A.getName()]))A=A.getParent();if(!A){var B=x.getEnclosedNode();B&&B.type==1&&B.getName()in a&&(x.setStartAt(B,1),x.setEndAt(B,2),A=B)}if(A&&x.startContainer.type==1&&x.startContainer.getName()in a){var C=new d.walker(x);C.evaluator=m,x.startContainer=C.next()}A&&x.endContainer.type==1&&x.endContainer.getName()in a&&(C=new d.walker(x),C.evaluator=m,x.endContainer=C.previous());if(A){var D=A.getFirst(m),E=!!D.getNext(m),F=x.startContainer,G=D.equals(F)||D.contains(F);(!G||i.name!="indent"&&!i.useIndentClasses&&!parseInt(A.getStyle(l(A)),10)||!t(A,!E&&D.getDirection()))&&p(A)}else q()}h.clearAllMarkers(k),b.forceNextSelectionCheck(),u.selectBookmarks(v)}},j.add("indent",{init:function(a){var c=a.addCommand("indent",new k(a,"indent")),f=a.addCommand("outdent",new k(a,"outdent"));a.ui.addButton("Indent",{label:a.lang.indent,command:"indent"}),a.ui.addButton("Outdent",{label:a.lang.outdent,command:"outdent"}),a.on("selectionChange",e.bind(i,c)),a.on("selectionChange",e.bind(i,f)),(b.ie6Compat||b.ie7Compat)&&a.addCss("ul,ol{\tmargin-left: 0px;\tpadding-left: 40px;}"),a.on("dirChanged",function(b){var c=new d.range(a.document);c.setStartBefore(b.data.node),c.setEndAfter(b.data.node);var e=new d.walker(c),f;while(f=e.next())if(f.type==1){if(!f.equals(b.data.node)&&f.getDirection()){c.setStartAfter(f),e=new d.walker(c);continue}var g=a.config.indentClasses;if(g){var h=b.data.dir=="ltr"?["_rtl",""]:["","_rtl"];for(var i=0;i<g.length;i++)f.hasClass(g[i]+h[0])&&(f.removeClass(g[i]+h[0]),f.addClass(g[i]+h[1]))}var j=f.getStyle("margin-right"),k=f.getStyle("margin-left");j?f.setStyle("margin-left",j):f.removeStyle("margin-left"),k?f.setStyle("margin-right",k):f.removeStyle("margin-right")}})},requires:["domiterator","list"]})}(),function(){function a(a,c){var d=c.block||c.blockLimit;return!d||d.getName()=="body"?2:b(d,a.config.useComputedState)==this.value?1:2}function b(a,b){b=b===undefined||b;var c;if(b)c=a.getComputedStyle("text-align");else{while(!a.hasAttribute||!a.hasAttribute("align")&&!a.getStyle("text-align")){var d=a.getParent();if(!d)break;a=d}c=a.getStyle("text-align")||a.getAttribute("align")||""}return c&&(c=c.replace(/-moz-|-webkit-|start|auto/i,"")),!c&&b&&(c=a.getComputedStyle("direction")=="rtl"?"right":"left"),c}function c(b){if(b.editor.readOnly)return;var c=b.editor.getCommand(this.name);c.state=a.call(this,b.editor,b.data.path),c.fire("state")}function f(a,b,c){var d=this;d.name=b,d.value=c;var e=a.config.justifyClasses;if(e){switch(c){case"left":d.cssClassName=e[0];break;case"center":d.cssClassName=e[1];break;case"right":d.cssClassName=e[2];break;case"justify":d.cssClassName=e[3]}d.cssClassRegex=new RegExp("(?:^|\\s+)(?:"+e.join("|")+")(?=$|\\s)")}}function g(a){var b=a.editor,c=new d.range(b.document);c.setStartBefore(a.data.node),c.setEndAfter(a.data.node);var e=new d.walker(c),f;while(f=e.next())if(f.type==1){if(!f.equals(a.data.node)&&f.getDirection()){c.setStartAfter(f),e=new d.walker(c);continue}var g=b.config.justifyClasses;g&&(f.hasClass(g[0])?(f.removeClass(g[0]),f.addClass(g[2])):f.hasClass(g[2])&&(f.removeClass(g[2]),f.addClass(g[0])));var h="text-align",i=f.getStyle(h);i=="left"?f.setStyle(h,"right"):i=="right"&&f.setStyle(h,"left")}}f.prototype={exec:function(a){var c=this,d=a.getSelection(),f=a.config.enterMode;if(!d)return;var g=d.createBookmarks(),h=d.getRanges(!0),i=c.cssClassName,j,k,l=a.config.useComputedState;l=l===undefined||l;for(var m=h.length-1;m>=0;m--){j=h[m].createIterator(),j.enlargeBr=f!=2;while(k=j.getNextParagraph(f==1?"p":"div")){k.removeAttribute("align"),k.removeStyle("text-align");var o=i&&(k.$.className=e.ltrim(k.$.className.replace(c.cssClassRegex,""))),p=c.state==2&&(!l||b(k,true)!=c.value);i?p?k.addClass(i):o||k.removeAttribute("class"):p&&k.setStyle("text-align",c.value)}}a.focus(),a.forceNextSelectionCheck(),d.selectBookmarks(g)}},j.add("justify",{init:function(a){var b=new f(a,"justifyleft","left"),d=new f(a,"justifycenter","center"),h=new f(a,"justifyright","right"),i=new f(a,"justifyblock","justify");a.addCommand("justifyleft",b),a.addCommand("justifycenter",d),a.addCommand("justifyright",h),a.addCommand("justifyblock",i),a.ui.addButton("JustifyLeft",{label:a.lang.justify.left,command:"justifyleft"}),a.ui.addButton("JustifyCenter",{label:a.lang.justify.center,command:"justifycenter"}),a.ui.addButton("JustifyRight",{label:a.lang.justify.right,command:"justifyright"}),a.ui.addButton("JustifyBlock",{label:a.lang.justify.block,command:"justifyblock"}),a.on("selectionChange",e.bind(c,b)),a.on("selectionChange",e.bind(c,h)),a.on("selectionChange",e.bind(c,d)),a.on("selectionChange",e.bind(c,i)),a.on("dirChanged",g)},requires:["domiterator"]})}(),j.add("keystrokes",{beforeInit:function(b){b.keystrokeHandler=new a.keystrokeHandler(b),b.specialKeys={}},init:function(a){var b=a.config.keystrokes,c=a.config.blockedKeystrokes,d=a.keystrokeHandler.keystrokes,e=a.keystrokeHandler.blockedKeystrokes;for(var f=0;f<b.length;f++)d[b[f][0]]=b[f][1];for(f=0;f<c.length;f++)e[c[f]]=1}}),a.keystrokeHandler=function(a){var b=this;return a.keystrokeHandler?a.keystrokeHandler:(b.keystrokes={},b.blockedKeystrokes={},b._={editor:a},b)},function(){var c,d=function(a){a=a.data;var b=a.getKeystroke(),d=this.keystrokes[b],e=this._.editor;c=e.fire("key",{keyCode:b})===!0;if(!c){if(d){var f={from:"keystrokeHandler"};c=e.execCommand(d,f)!==!1}if(!c){var g=e.specialKeys[b];c=g&&g(e)===!0,c||(c=!!this.blockedKeystrokes[b])}}return c&&a.preventDefault(!0),!c},e=function(a){c&&(c=!1,a.data.preventDefault(!0))};a.keystrokeHandler.prototype={attach:function(a){a.on("keydown",d,this),(b.opera||b.gecko&&b.mac)&&a.on("keypress",e,this)}}}(),i.blockedKeystrokes=[1114178,1114185,1114197],i.keystrokes=[[4456569,"toolbarFocus"],[4456570,"elementsPathFocus"],[2228345,"contextMenu"],[3342457,"contextMenu"],[1114202,"undo"],[1114201,"redo"],[3342426,"redo"],[1114188,"link"],[1114178,"bold"],[1114185,"italic"],[1114197,"underline"],[4456448+(c||b.webkit?189:109),"toolbarCollapse"],[4456496,"a11yHelp"]],j.add("link",{init:function(d){d.addCommand("link",new a.dialogCommand("link")),d.addCommand("anchor",new a.dialogCommand("anchor")),d.addCommand("unlink",new a.unlinkCommand),d.addCommand("removeAnchor",new a.removeAnchorCommand),d.ui.addButton("Link",{label:d.lang.link.toolbar,command:"link"}),d.ui.addButton("Unlink",{label:d.lang.unlink,command:"unlink"}),d.ui.addButton("Anchor",{label:d.lang.anchor.toolbar,command:"anchor"}),a.dialog.add("link",this.path+"dialogs/link.js"),a.dialog.add("anchor",this.path+"dialogs/anchor.js");var e=d.lang.dir=="rtl"?"right":"left",f="background:url("+a.getUrl(this.path+"images/anchor.gif")+") no-repeat "+e+" center;"+"border:1px dotted #00f;";d.addCss("a.cke_anchor,a.cke_anchor_empty"+(c&&b.version<7?"":",a[name],a[data-cke-saved-name]")+"{"+f+"padding-"+e+":18px;"+"cursor:auto;"+"}"+(c?"a.cke_anchor_empty{display:inline-block;}":"")+"img.cke_anchor"+"{"+f+"width:16px;"+"min-height:15px;"+"height:1.15em;"+"vertical-align:"+(b.opera?"middle":"text-bottom")+";"+"}"),d.on("selectionChange",function(a){if(d.readOnly)return;var b=d.getCommand("unlink"),c=a.data.path.lastElement&&a.data.path.lastElement.getAscendant("a",!0);c&&c.getName()=="a"&&c.getAttribute("href")&&c.getChildCount()?b.setState(2):b.setState(0)}),d.on("doubleclick",function(a){var b=j.link.getSelectedLink(d)||a.data.element;b.isReadOnly()||(b.is("a")?(a.data.dialog=b.getAttribute("name")&&(!b.getAttribute("href")||!b.getChildCount())?"anchor":"link",d.getSelection().selectElement(b)):j.link.tryRestoreFakeAnchor(d,b)&&(a.data.dialog="anchor"))}),d.addMenuItems&&d.addMenuItems({anchor:{label:d.lang.anchor.menu,command:"anchor",group:"anchor",order:1},removeAnchor:{label:d.lang.anchor.remove,command:"removeAnchor",group:"anchor",order:5},link:{label:d.lang.link.menu,command:"link",group:"link",order:1},unlink:{label:d.lang.unlink,command:"unlink",group:"link",order:5}}),d.contextMenu&&d.contextMenu.addListener(function(a,b){if(!a||a.isReadOnly())return null;var c=j.link.tryRestoreFakeAnchor(d,a);if(!c&&!(c=j.link.getSelectedLink(d)))return null;var e={};return c.getAttribute("href")&&c.getChildCount()&&(e={link:2,unlink:2}),c&&c.hasAttribute("name")&&(e.anchor=e.removeAnchor=2),e})},afterInit:function(a){var b=a.dataProcessor,c=b&&b.dataFilter,d=b&&b.htmlFilter,e=a._.elementsPath&&a._.elementsPath.filters;c&&c.addRules({elements:{a:function(b){var c=b.attributes;if(!c.name)return null;var d=!b.children.length;if(j.link.synAnchorSelector){var e=d?"cke_anchor_empty":"cke_anchor",f=c["class"];c.name&&(!f||f.indexOf(e)<0)&&(c["class"]=(f||"")+" "+e),d&&j.link.emptyAnchorFix&&(c.contenteditable="false",c["data-cke-editable"]=1)}else if(j.link.fakeAnchor&&d)return a.createFakeParserElement(b,"cke_anchor","anchor");return null}}}),j.link.emptyAnchorFix&&d&&d.addRules({elements:{a:function(a){delete a.attributes.contenteditable}}}),e&&e.push(function(b,c){if(c=="a")if(j.link.tryRestoreFakeAnchor(a,b)||b.getAttribute("name")&&(!b.getAttribute("href")||!b.getChildCount()))return"anchor"})},requires:["fakeobjects"]}),j.link={getSelectedLink:function(a){try{var b=a.getSelection();if(b.getType()==3){var c=b.getSelectedElement();if(c.is("a"))return c}var d=b.getRanges(!0)[0];d.shrink(2);var e=d.getCommonAncestor();return e.getAscendant("a",!0)}catch(f){return null}},fakeAnchor:b.opera||b.webkit,synAnchorSelector:c,emptyAnchorFix:c&&b.version<8,tryRestoreFakeAnchor:function(a,b){if(b&&b.data("cke-real-element-type")&&b.data("cke-real-element-type")=="anchor"){var c=a.restoreRealElement(b);if(c.data("cke-saved-name"))return c}}},a.unlinkCommand=function(){},a.unlinkCommand.prototype={exec:function(a){var b=a.getSelection(),c=b.createBookmarks(),d=b.getRanges(),e,f;for(var g=0;g<d.length;g++){e=d[g].getCommonAncestor(!0),f=e.getAscendant("a",!0);if(!f)continue;d[g].selectNodeContents(f)}b.selectRanges(d),a.document.$.execCommand("unlink",!1,null),b.selectBookmarks(c)},startDisabled:!0},a.removeAnchorCommand=function(){},a.removeAnchorCommand.prototype={exec:function(a){var b=a.getSelection(),c=b.createBookmarks(),d;if(b&&(d=b.getSelectedElement())&&(j.link.fakeAnchor&&!d.getChildCount()?j.link.tryRestoreFakeAnchor(a,d):d.is("a")))d.remove(1);else if(d=j.link.getSelectedLink(a))d.hasAttribute("href")?(d.removeAttributes({name:1,"data-cke-saved-name":1}),d.removeClass("cke_anchor")):d.remove(1);b.selectBookmarks(c)}},e.extend(i,{linkShowAdvancedTab:!0,linkShowTargetTab:!0}),function(){function m(a){var b,c,d;if(b=a.getDirection()){c=a.getParent();while(c&&!(d=c.getDirection()))c=c.getParent();b==d&&a.removeAttribute("dir")}}function n(a){if(a.editor.readOnly)return null;var c=a.data.path,d=c.blockLimit,e=c.elements,f,g;for(g=0;g<e.length&&(f=e[g])&&!f.equals(d);g++)if(b[e[g].getName()])return this.setState(this.type==e[g].getName()?1:2);return this.setState(2)}function o(a,b,c,d){var e=j.list.listToArray(b.root,c),f=[];for(var g=0;g<b.contents.length;g++){var i=b.contents[g];i=i.getAscendant("li",!0);if(!i||i.getCustomData("list_item_processed"))continue;f.push(i),h.setMarker(c,i,"list_item_processed",!0)}var k=b.root,l=k.getDocument().createElement(this.type);k.copyAttributes(l,{start:1,type:1}),l.removeStyle("list-style-type");for(g=0;g<f.length;g++){var m=f[g].getCustomData("listarray_index");e[m].parent=l}var n=j.list.arrayToList(e,c,null,a.config.enterMode),o,p=n.listNode.getChildCount();for(g=0;g<p&&(o=n.listNode.getChild(g));g++)o.getName()==this.type&&d.push(o);n.listNode.replace(b.root)}function q(a,b,c){var d=b.contents,e=b.root.getDocument(),f=[];if(d.length==1&&d[0].equals(b.root)){var g=e.createElement("div");d[0].moveChildren&&d[0].moveChildren(g),d[0].append(g),d[0]=g}var h=b.contents[0].getParent();for(var i=0;i<d.length;i++)h=h.getCommonAncestor(d[i].getParent());var j=a.config.useComputedState,k,l;j=j===undefined||j;for(i=0;i<d.length;i++){var m=d[i],n;while(n=m.getParent()){if(n.equals(h)){f.push(m),!l&&m.getDirection()&&(l=1);var o=m.getDirection(j);k!==null&&(k&&k!=o?k=null:k=o);break}m=n}}if(f.length<1)return;var q=f[f.length-1].getNext(),r=e.createElement(this.type);c.push(r);var s,t;while(f.length)s=f.shift(),t=e.createElement("li"),s.is("pre")||p.test(s.getName())?s.appendTo(t):(s.copyAttributes(t),k&&s.getDirection()&&(t.removeStyle("direction"),t.removeAttribute("dir")),s.moveChildren(t),s.remove()),t.appendTo(r);k&&l&&r.setAttribute("dir",k),q?r.insertBefore(q):r.appendTo(h)}function r(a,b,c){function s(c){(q=p[c?"getFirst":"getLast"]())&&(!q.is||!q.isBlockBoundary())&&(r=b.root[c?"getPrevious":"getNext"](d.walker.whitespaces(!0)))&&(!r.is||!r.isBlockBoundary({br:1}))&&a.document.createElement("br")[c?"insertBefore":"insertAfter"](q)}var e=j.list.listToArray(b.root,c),f=[];for(var g=0;g<b.contents.length;g++){var i=b.contents[g];i=i.getAscendant("li",!0);if(!i||i.getCustomData("list_item_processed"))continue;f.push(i),h.setMarker(c,i,"list_item_processed",!0)}var k=null;for(g=0;g<f.length;g++){var l=f[g].getCustomData("listarray_index");e[l].indent=-1,k=l}for(g=k+1;g<e.length;g++)if(e[g].indent>e[g-1].indent+1){var m=e[g-1].indent+1-e[g].indent,n=e[g].indent;while(e[g]&&e[g].indent>=n)e[g].indent+=m,g++;g--}var o=j.list.arrayToList(e,c,null,a.config.enterMode,b.root.getAttribute("dir")),p=o.listNode,q,r;s(!0),s(),p.replace(b.root)}function s(a,b){this.name=a,this.type=b}function t(a){var b=a.getDirection();if(b){for(var c=0,d=a.getChildren(),e;e=d.getItem(c),c<d.count();c++)e.type==1&&e.is("li")&&!e.getDirection()&&e.setAttribute("dir",b);a.removeAttribute("dir")}}function w(a,b){var c,d=a.children,e=d.length;for(var f=0;f<e;f++){c=d[f];if(c.name&&c.name in b)return f}return e}function x(b){return function(d){var e=d.children,f=w(d,u.$list),g=e[f],h=g&&g.previous,i;if(h&&(h.name&&h.name=="br"||h.value&&(i=h.value.match(v)))){var j=h;(!i||!i.index)&&j==e[0]?e[0]=b||c?new a.htmlParser.text(" "):new a.htmlParser.element("br",{}):j.name=="br"?e.splice(f-1,1):j.value=j.value.replace(v,"")}}}var b={ol:1,ul:1},g=/^[\n\r\t ]*$/,i=d.walker.whitespaces(),k=d.walker.bookmark(),l=function(a){return!i(a)&&!k(a)};j.list={listToArray:function(a,c,d,e,g){if(!b[a.getName()])return[];e||(e=0),d||(d=[]);for(var i=0,k=a.getChildCount();i<k;i++){var l=a.getChild(i);l.type==1&&l.getName()in f.$list&&j.list.listToArray(l,c,d,e+1);if(l.$.nodeName.toLowerCase()!="li")continue;var m={parent:a,indent:e,element:l,contents:[]};g?m.grandparent=g:(m.grandparent=a.getParent(),m.grandparent&&m.grandparent.$.nodeName.toLowerCase()=="li"&&(m.grandparent=m.grandparent.getParent())),c&&h.setMarker(c,l,"listarray_index",d.length),d.push(m);for(var n=0,o=l.getChildCount(),p;n<o;n++)p=l.getChild(n),p.type==1&&b[p.getName()]?j.list.listToArray(p,c,d,e+1,m.grandparent):m.contents.push(p)}return d},arrayToList:function(a,e,g,i,k){g||(g=0);if(!a||a.length<g+1)return null;var n=a[g].parent.getDocument(),o=new d.documentFragment(n),p=null,q=g,r=Math.max(a[g].indent,0),s=null,t,u=i==1?"p":"div";for(;;){var v=a[q];t=v.element.getDirection(1);if(v.indent==r){if(!p||a[q].parent.getName()!=p.getName())p=a[q].parent.clone(!1,1),k&&p.setAttribute("dir",k),o.append(p);s=p.append(v.element.clone(0,1)),t!=p.getDirection(1)&&s.setAttribute("dir",t);for(var w=0;w<v.contents.length;w++)s.append(v.contents[w].clone(1,1));q++}else if(v.indent==Math.max(r,0)+1){var x=a[q-1].element.getDirection(1),y=j.list.arrayToList(a,null,q,i,x!=t?t:null);!s.getChildCount()&&c&&!(n.$.documentMode>7)&&s.append(n.createText(" ")),s.append(y.listNode),q=y.nextIndex}else{if(v.indent!=-1||!!g||!v.grandparent)return null;b[v.grandparent.getName()]?s=v.element.clone(!1,!0):k||v.element.hasAttributes()||i!=2?(s=n.createElement(u),v.element.copyAttributes(s,{type:1,value:1}),!k&&i==2&&!s.hasAttributes()&&(s=new d.documentFragment(n))):s=new d.documentFragment(n),s.type==1&&v.grandparent.getDirection(1)!=t&&s.setAttribute("dir",t);for(w=0;w<v.contents.length;w++)s.append(v.contents[w].clone(1,1));if(s.type==11&&q!=a.length-1){var z=s.getLast();z&&z.type==1&&z.getAttribute("type")=="_moz"&&z.remove(),(z=s.getLast(l)&&z.type==1&&z.getName()in f.$block)||s.append(n.createElement("br"))}if(s.type==1&&s.getName()==u&&s.$.firstChild){s.trim();var A=s.getFirst();if(A.type==1&&A.isBlockBoundary()){var B=new d.documentFragment(n);s.moveChildren(B),s=B}}var C=s.$.nodeName.toLowerCase();!c&&(C=="div"||C=="p")&&s.appendBogus(),o.append(s),p=null,q++}if(a.length<=q||Math.max(a[q].indent,0)<r)break}if(e){var D=o.getFirst(),E=a[0].parent;while(D)D.type==1&&(h.clearMarkers(e,D),D.getName()in f.$listItem&&m(D)),D=D.getNextSourceNode()}return{listNode:o,nextIndex:q}}};var p=/^h[1-6]$/;s.prototype={exec:function(a){var c=a.document,e=a.config,f=a.getSelection(),g=f&&f.getRanges(!0);if(!g||g.length<1)return;if(this.state==2){var i=c.getBody();if(!i.getFirst(l))e.enterMode==2?i.appendBogus():g[0].fixBlock(1,e.enterMode==1?"p":"div"),f.selectRanges(g);else{var j=g.length==1&&g[0],k=j&&j.getEnclosedNode();k&&k.is&&this.type==k.getName()&&this.setState(1)}}var m=f.createBookmarks(!0),n=[],p={},s=g.createIterator(),u=0;while((j=s.getNextRange())&&++u){var v=j.getBoundaryNodes(),w=v.startNode,x=v.endNode;w.type==1&&w.getName()=="td"&&j.setStartAt(v.startNode,1),x.type==1&&x.getName()=="td"&&j.setEndAt(v.endNode,2);var y=j.createIterator(),z;y.forceBrBreak=this.state==2;while(z=y.getNextParagraph()){if(z.getCustomData("list_block"))continue;h.setMarker(p,z,"list_block",1);var A=new d.elementPath(z),B=A.elements,C=B.length,D=null,E=0,F=A.blockLimit,G;for(var H=C-1;H>=0&&(G=B[H]);H--)if(b[G.getName()]&&F.contains(G)){F.removeCustomData("list_group_object_"+u);var I=G.getCustomData("list_group_object");I?I.contents.push(z):(I={root:G,contents:[z]},n.push(I),h.setMarker(p,G,"list_group_object",I)),E=1;break}if(E)continue;var J=F;J.getCustomData("list_group_object_"+u)?J.getCustomData("list_group_object_"+u).contents.push(z):(I={root:J,contents:[z]},h.setMarker(p,J,"list_group_object_"+u,I),n.push(I))}}var K=[];while(n.length>0)I=n.shift(),this.state==2?b[I.root.getName()]?o.call(this,a,I,p,K):q.call(this,a,I,K):this.state==1&&b[I.root.getName()]&&r.call(this,a,I,p);for(H=0;H<K.
8
- length;H++){D=K[H];var L,M=this;(L=function(a){var b=D[a?"getPrevious":"getNext"](d.walker.whitespaces(!0));b&&b.getName&&b.getName()==M.type&&(b.getDirection(1)!=D.getDirection(1)&&t(D.getDirection()?D:b),b.remove(),b.moveChildren(D,a))})(),L(1)}h.clearAllMarkers(p),f.selectBookmarks(m),a.focus()}};var u=f,v=/[\t\r\n ]*(?:&nbsp;|\xa0)$/,y={elements:{}};for(var z in u.$listItem)y.elements[z]=x();var A={elements:{}};for(z in u.$listItem)A.elements[z]=x(!0);j.add("list",{init:function(a){var b=a.addCommand("numberedlist",new s("numberedlist","ol")),c=a.addCommand("bulletedlist",new s("bulletedlist","ul"));a.ui.addButton("NumberedList",{label:a.lang.numberedlist,command:"numberedlist"}),a.ui.addButton("BulletedList",{label:a.lang.bulletedlist,command:"bulletedlist"}),a.on("selectionChange",e.bind(n,b)),a.on("selectionChange",e.bind(n,c))},afterInit:function(a){var b=a.dataProcessor;b&&(b.dataFilter.addRules(y),b.htmlFilter.addRules(A))},requires:["domiterator"]})}(),function(){j.liststyle={requires:["dialog"],init:function(b){b.addCommand("numberedListStyle",new a.dialogCommand("numberedListStyle")),a.dialog.add("numberedListStyle",this.path+"dialogs/liststyle.js"),b.addCommand("bulletedListStyle",new a.dialogCommand("bulletedListStyle")),a.dialog.add("bulletedListStyle",this.path+"dialogs/liststyle.js"),b.addMenuItems&&(b.addMenuGroup("list",108),b.addMenuItems({numberedlist:{label:b.lang.list.numberedTitle,group:"list",command:"numberedListStyle"},bulletedlist:{label:b.lang.list.bulletedTitle,group:"list",command:"bulletedListStyle"}})),b.contextMenu&&b.contextMenu.addListener(function(a,b){if(!a||a.isReadOnly())return null;while(a){var c=a.getName();if(c=="ol")return{numberedlist:2};if(c=="ul")return{bulletedlist:2};a=a.getParent()}return null})}},j.add("liststyle",j.liststyle)}(),function(){function d(a){if(!a||a.type!=1||a.getName()!="form")return[];var b=[],c=["style","className"];for(var d=0;d<c.length;d++){var e=c[d],f=a.$.elements.namedItem(e);if(f){var g=new h(f);b.push([g,g.nextSibling]),g.remove()}}return b}function e(a,b){if(!a||a.type!=1||a.getName()!="form")return;if(b.length>0)for(var c=b.length-1;c>=0;c--){var d=b[c][0],e=b[c][1];e?d.insertBefore(e):d.appendTo(a)}}function f(a,b){var c=d(a),f={},g=a.$;return b||(f["class"]=g.className||"",g.className=""),f.inline=g.style.cssText||"",b||(g.style.cssText="position: static; overflow: visible"),e(c),f}function g(a,b){var c=d(a),f=a.$;"class"in b&&(f.className=b["class"]),"inline"in b&&(f.style.cssText=b.inline),e(c)}function i(b){var c=a.instances;for(var d in c){var e=c[d];if(e.mode=="wysiwyg"&&!e.readOnly){var f=e.document.getBody();f.setAttribute("contentEditable",!1),f.setAttribute("contentEditable",!0)}}b.focusManager.hasFocus&&(b.toolbox.focus(),b.focus())}function k(a){if(!c||b.version>6)return null;var d=h.createFromHtml('<iframe frameborder="0" tabindex="-1" src="javascript:void((function(){document.open();'+(b.isCustomDomain()?"document.domain='"+this.getDocument().$.domain+"';":"")+"document.close();"+'})())"'+' style="display:block;position:absolute;z-index:-1;'+"progid:DXImageTransform.Microsoft.Alpha(opacity=0);"+'"></iframe>');return a.append(d,!0)}j.add("maximize",{init:function(d){function t(){var a=j.getViewPaneSize();s&&s.setStyles({width:a.width+"px",height:a.height+"px"}),d.resize(a.width,a.height,null,!0)}var e=d.lang,h=a.document,j=h.getWindow(),l,m,n,s,u=2;d.addCommand("maximize",{modes:{wysiwyg:!b.iOS,source:!b.iOS},readOnly:1,editorFocus:!1,exec:function(){var a=d.container.getChild(1),C=d.getThemeSpace("contents");if(d.mode=="wysiwyg"){var D=d.getSelection();l=D&&D.getRanges(),m=j.getScrollPosition()}else{var E=d.textarea.$;l=!c&&[E.selectionStart,E.selectionEnd],m=[E.scrollLeft,E.scrollTop]}if(this.state==2){j.on("resize",t),n=j.getScrollPosition();var F=d.container;while(F=F.getParent())F.setCustomData("maximize_saved_styles",f(F)),F.setStyle("z-index",d.config.baseFloatZIndex-1);C.setCustomData("maximize_saved_styles",f(C,!0)),a.setCustomData("maximize_saved_styles",f(a,!0));var G={overflow:b.webkit?"":"hidden",width:0,height:0};h.getDocumentElement().setStyles(G),!b.gecko&&h.getDocumentElement().setStyle("position","fixed"),(!b.gecko||!b.quirks)&&h.getBody().setStyles(G),c?setTimeout(function(){j.$.scrollTo(0,0)},0):j.$.scrollTo(0,0),a.setStyle("position",b.gecko&&b.quirks?"fixed":"absolute"),a.$.offsetLeft,a.setStyles({"z-index":d.config.baseFloatZIndex-1,left:"0px",top:"0px"}),s=k(a),a.addClass("cke_maximized"),t();var H=a.getDocumentPosition();a.setStyles({left:-1*H.x+"px",top:-1*H.y+"px"}),b.gecko&&i(d)}else if(this.state==1){j.removeListener("resize",t);var I=[C,a];for(var J=0;J<I.length;J++)g(I[J],I[J].getCustomData("maximize_saved_styles")),I[J].removeCustomData("maximize_saved_styles");F=d.container;while(F=F.getParent())g(F,F.getCustomData("maximize_saved_styles")),F.removeCustomData("maximize_saved_styles");c?setTimeout(function(){j.$.scrollTo(n.x,n.y)},0):j.$.scrollTo(n.x,n.y),a.removeClass("cke_maximized"),b.webkit&&(a.setStyle("display","inline"),setTimeout(function(){a.setStyle("display","block")},0)),s&&(s.remove(),s=null),d.fire("resize")}this.toggleState();var K=this.uiItems[0];if(K){var L=this.state==2?e.maximize:e.minimize,M=d.element.getDocument().getById(K._.id);M.getChild(1).setHtml(L),M.setAttribute("title",L),M.setAttribute("href",'javascript:void("'+L+'");')}if(d.mode=="wysiwyg")if(l){b.gecko&&i(d),d.getSelection().selectRanges(l);var N=d.getSelection().getStartElement();N&&N.scrollIntoView(!0)}else j.$.scrollTo(m.x,m.y);else l&&(E.selectionStart=l[0],E.selectionEnd=l[1]),E.scrollLeft=m[0],E.scrollTop=m[1];l=m=null,u=this.state},canUndo:!1}),d.ui.addButton("Maximize",{label:e.maximize,command:"maximize"}),d.on("mode",function(){var a=d.getCommand("maximize");a.setState(a.state==0?0:u)},null,null,100)}})}(),j.add("newpage",{init:function(a){a.addCommand("newpage",{modes:{wysiwyg:1,source:1},exec:function(a){var b=this;a.setData(a.config.newpage_html||"",function(){setTimeout(function(){a.fire("afterCommandExec",{name:b.name,command:b}),a.selectionChange()},200)}),a.focus()},async:!0}),a.ui.addButton("NewPage",{label:a.lang.newPage,command:"newpage"})}}),j.add("pagebreak",{init:function(c){c.addCommand("pagebreak",j.pagebreakCmd),c.ui.addButton("PageBreak",{label:c.lang.pagebreak,command:"pagebreak"});var d=["{","background: url("+a.getUrl(this.path+"images/pagebreak.gif")+") no-repeat center center;","clear: both;","width:100%; _width:99.9%;","border-top: #999999 1px dotted;","border-bottom: #999999 1px dotted;","padding:0;","height: 5px;","cursor: default;","}"].join("").replace(/;/g," !important;");c.addCss("div.cke_pagebreak"+d),b.opera&&c.on("contentDom",function(){c.document.on("click",function(a){var b=a.data.getTarget();b.is("div")&&b.hasClass("cke_pagebreak")&&c.getSelection().selectElement(b)})})},afterInit:function(b){var c=b.lang.pagebreakAlt,d=b.dataProcessor,e=d&&d.dataFilter,f=d&&d.htmlFilter;f&&f.addRules({attributes:{"class":function(b,c){var d=b.replace("cke_pagebreak","");if(d!=b){var e=a.htmlParser.fragment.fromHtml('<span style="display: none;">&nbsp;</span>');c.children.length=0,c.add(e);var f=c.attributes;delete f["aria-label"],delete f.contenteditable,delete f.title}return d}}},5),e&&e.addRules({elements:{div:function(a){var b=a.attributes,d=b&&b.style,e=d&&a.children.length==1&&a.children[0],f=e&&e.name=="span"&&e.attributes.style;f&&/page-break-after\s*:\s*always/i.test(d)&&/display\s*:\s*none/i.test(f)&&(b.contenteditable="false",b["class"]="cke_pagebreak",b["data-cke-display-name"]="pagebreak",b["aria-label"]=c,b.title=c,a.children.length=0)}}})},requires:["fakeobjects"]}),j.pagebreakCmd={exec:function(a){var b=a.lang.pagebreakAlt,c=h.createFromHtml('<div style="page-break-after: always;"contenteditable="false" title="'+b+'" '+'aria-label="'+b+'" '+'data-cke-display-name="pagebreak" '+'class="cke_pagebreak">'+"</div>",a.document),d=a.getSelection().getRanges(!0);a.fire("saveSnapshot");for(var e,f=d.length-1;f>=0;f--){e=d[f],f<d.length-1&&(c=c.clone(!0)),e.splitBlock("p"),e.insertNode(c);if(f==d.length-1){var g=c.getNext();e.moveToPosition(c,4),(!g||g.type==1&&!g.isEditable())&&e.fixBlock(!0,a.config.enterMode==3?"div":"p"),e.select()}}a.fire("saveSnapshot")}},function(){function b(a){a.data.mode="html"}j.add("pastefromword",{init:function(c){var d=0,e=function(a){a&&a.removeListener(),c.removeListener("beforePaste",b),d&&setTimeout(function(){d=0},0)};c.addCommand("pastefromword",{canUndo:!1,exec:function(){d=1,c.on("beforePaste",b),c.execCommand("paste","html")===!1&&(c.on("dialogShow",function(a){a.removeListener(),a.data.on("cancel",e)}),c.on("dialogHide",function(a){a.data.removeListener("cancel",e)})),c.on("afterPaste",e)}}),c.ui.addButton("PasteFromWord",{label:c.lang.pastefromword.toolbar,command:"pastefromword"}),c.on("pasteState",function(a){c.getCommand("pastefromword").setState(a.data)}),c.on("paste",function(b){var e=b.data,f;if((f=e.html)&&(d||/(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/.test(f))){var g=this.loadFilterRules(function(){if(g)c.fire("paste",e);else if(!c.config.pasteFromWordPromptCleanup||d||confirm(c.lang.pastefromword.confirmCleanup))e.html=a.cleanWord(f,c)});g&&b.cancel()}},this)},loadFilterRules:function(b){var c=a.cleanWord;if(c)b();else{var d=a.getUrl(i.pasteFromWordCleanupFile||this.path+"filter/default.js");a.scriptLoader.load(d,b,null,!0)}return!c},requires:["clipboard"]})}(),function(){var b={exec:function(a){var b=e.tryThese(function(){var a=window.clipboardData.getData("Text");if(!a)throw 0;return a});return b?(a.fire("paste",{text:b}),!0):(a.openDialog("pastetext"),!1)}};j.add("pastetext",{init:function(c){var d="pastetext",e=c.addCommand(d,b);c.ui.addButton("PasteText",{label:c.lang.pasteText.button,command:d}),a.dialog.add(d,a.getUrl(this.path+"dialogs/pastetext.js")),c.config.forcePasteAsPlainText&&(c.on("beforeCommandExec",function(a){var b=a.data.commandData;a.data.name=="paste"&&b!="html"&&(c.execCommand("pastetext"),a.cancel())},null,null,0),c.on("beforePaste",function(a){a.data.mode="text"})),c.on("pasteState",function(a){c.getCommand("pastetext").setState(a.data)})},requires:["clipboard"]})}(),j.add("popup"),e.extend(a.editor.prototype,{popup:function(a,b,c,d){b=b||"80%",c=c||"70%",typeof b=="string"&&b.length>1&&b.substr(b.length-1,1)=="%"&&(b=parseInt(window.screen.width*parseInt(b,10)/100,10)),typeof c=="string"&&c.length>1&&c.substr(c.length-1,1)=="%"&&(c=parseInt(window.screen.height*parseInt(c,10)/100,10)),b<640&&(b=640),c<420&&(c=420);var e=parseInt((window.screen.height-c)/2,10),f=parseInt((window.screen.width-b)/2,10);d=(d||"location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes")+",width="+b+",height="+c+",top="+e+",left="+f;var g=window.open("",null,d,!0);if(!g)return!1;try{g.moveTo(f,e),g.resizeTo(b,c),g.focus(),g.location.href=a}catch(h){g=window.open(a,null,d,!0)}return!0}}),function(){var a={modes:{wysiwyg:1,source:1},canUndo:!1,readOnly:1,exec:function(a){var c,d=a.config,f=d.baseHref?'<base href="'+d.baseHref+'"/>':"",g=b.isCustomDomain();if(d.fullPage)c=a.getData().replace(/<head>/,"$&"+f).replace(/[^>]*(?=<\/title>)/,"$& &mdash; "+a.lang.preview);else{var h="<body ",i=a.document&&a.document.getBody();i&&(i.getAttribute("id")&&(h+='id="'+i.getAttribute("id")+'" '),i.getAttribute("class")&&(h+='class="'+i.getAttribute("class")+'" ')),h+=">",c=a.config.docType+'<html dir="'+a.config.contentsLangDirection+'">'+"<head>"+f+"<title>"+a.lang.preview+"</title>"+e.buildStyleHtml(a.config.contentsCss)+"</head>"+h+a.getData()+"</body></html>"}var j=640,k=420,l=80;try{var m=window.screen;j=Math.round(m.width*.8),k=Math.round(m.height*.7),l=Math.round(m.width*.1)}catch(n){}var o="";g&&(window._cke_htmlToLoad=c,o='javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+"document.write( window.opener._cke_htmlToLoad );"+"document.close();"+"window.opener._cke_htmlToLoad = null;"+"})() )");var p=window.open(o,null,"toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width="+j+",height="+k+",left="+l);if(!g){var q=p.document;q.open(),q.write(c),q.close(),b.webkit&&setTimeout(function(){q.body.innerHTML+=""},0)}}},c="preview";j.add(c,{init:function(b){b.addCommand(c,a),b.ui.addButton("Preview",{label:b.lang.preview,command:c})}})}(),j.add("print",{init:function(a){var b="print",c=a.addCommand(b,j.print);a.ui.addButton("Print",{label:a.lang.print,command:b})}}),j.print={exec:function(a){if(b.opera)return;b.gecko?a.window.$.print():a.document.$.execCommand("Print")},canUndo:!1,readOnly:1,modes:{wysiwyg:!b.opera}},j.add("removeformat",{requires:["selection"],init:function(a){a.addCommand("removeFormat",j.removeformat.commands.removeformat),a.ui.addButton("RemoveFormat",{label:a.lang.removeFormat,command:"removeFormat"}),a._.removeFormat={filters:[]}}}),j.removeformat={commands:{removeformat:{exec:function(a){var b=a._.removeFormatRegex||(a._.removeFormatRegex=new RegExp("^(?:"+a.config.removeFormatTags.replace(/,/g,"|")+")$","i")),c=a._.removeAttributes||(a._.removeAttributes=a.config.removeFormatAttributes.split(",")),e=j.removeformat.filter,f=a.getSelection().getRanges(1),g=f.createIterator(),h;while(h=g.getNextRange()){h.collapsed||h.enlarge(1);var i=h.createBookmark(),k=i.startNode,l=i.endNode,m,n=function(c){var f=new d.elementPath(c),g=f.elements;for(var h=1,i;i=g[h];h++){if(i.equals(f.block)||i.equals(f.blockLimit))break;b.test(i.getName())&&e(a,i)&&c.breakParent(i)}};n(k);if(l){n(l),m=k.getNextSourceNode(!0,1);while(m){if(m.equals(l))break;var o=m.getNextSourceNode(!1,1);(m.getName()!="img"||!m.data("cke-realelement"))&&e(a,m)&&(b.test(m.getName())?m.remove(1):(m.removeAttributes(c),a.fire("removeFormatCleanup",m))),m=o}}h.moveToBookmark(i)}a.getSelection().selectRanges(f)}}},filter:function(a,b){var c=a._.removeFormat.filters;for(var d=0;d<c.length;d++)if(c[d](b)===!1)return!1;return!0}},a.editor.prototype.addRemoveFormatFilter=function(a){this._.removeFormat.filters.push(a)},i.removeFormatTags="b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var",i.removeFormatAttributes="class,style,lang,width,height,align,hspace,valign",j.add("resize",{init:function(b){var c=b.config,d=b.element.getDirection(1);!c.resize_dir&&(c.resize_dir="both"),c.resize_maxWidth==undefined&&(c.resize_maxWidth=3e3),c.resize_maxHeight==undefined&&(c.resize_maxHeight=3e3),c.resize_minWidth==undefined&&(c.resize_minWidth=750),c.resize_minHeight==undefined&&(c.resize_minHeight=250);if(c.resize_enabled!==!1){var f=null,g,h,i=(c.resize_dir=="both"||c.resize_dir=="horizontal")&&c.resize_minWidth!=c.resize_maxWidth,j=(c.resize_dir=="both"||c.resize_dir=="vertical")&&c.resize_minHeight!=c.resize_maxHeight;function k(a){var e=a.data.$.screenX-g.x,f=a.data.$.screenY-g.y,k=h.width,l=h.height,m=k+e*(d=="rtl"?-1:1),p=l+f;i&&(k=Math.max(c.resize_minWidth,Math.min(m,c.resize_maxWidth))),j&&(l=Math.max(c.resize_minHeight,Math.min(p,c.resize_maxHeight))),b.resize(k,l)}function l(c){a.document.removeListener("mousemove",k),a.document.removeListener("mouseup",l),b.document&&(b.document.removeListener("mousemove",k),b.document.removeListener("mouseup",l))}var m=e.addFunction(function(d){f||(f=b.getResizable()),h={width:f.$.offsetWidth||0,height:f.$.offsetHeight||0},g={x:d.screenX,y:d.screenY},c.resize_minWidth>h.width&&(c.resize_minWidth=h.width),c.resize_minHeight>h.height&&(c.resize_minHeight=h.height),a.document.on("mousemove",k),a.document.on("mouseup",l),b.document&&(b.document.on("mousemove",k),b.document.on("mouseup",l))});b.on("destroy",function(){e.removeFunction(m)}),b.on("themeSpace",function(a){if(a.data.space=="bottom"){var c="";i&&!j&&(c=" cke_resizer_horizontal"),!i&&j&&(c=" cke_resizer_vertical");var f='<div class="cke_resizer'+c+" cke_resizer_"+d+'"'+' title="'+e.htmlEncode(b.lang.resize)+'"'+' onmousedown="CKEDITOR.tools.callFunction('+m+', event)"'+"></div>";d=="ltr"&&c=="ltr"?a.data.html+=f:a.data.html=f+a.data.html}},b,null,100)}}}),function(){var a={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(a){var b=a.element.$.form;if(b)try{b.submit()}catch(c){b.submit.click&&b.submit.click()}}},b="save";j.add(b,{init:function(c){var d=c.addCommand(b,a);d.modes={wysiwyg:!!c.element.$.form},c.ui.addButton("Save",{label:c.lang.save,command:b})}})}(),function(){function g(a,b){var c=0,d;for(d in b)if(b[d]==a){c=1;break}return c}var d="scaytcheck",f="",i=function(){var d=this,g=function(){var e=d.config,f={};f.srcNodeRef=d.document.getWindow().$.frameElement,f.assocApp="CKEDITOR."+a.version+"@"+a.revision,f.customerid=e.scayt_customerid||"1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2",f.customDictionaryIds=e.scayt_customDictionaryIds||"",f.userDictionaryName=e.scayt_userDictionaryName||"",f.sLang=e.scayt_sLang||"en_US",f.onLoad=function(){c&&b.version<8||this.addStyle(this.selectorCss(),"padding-bottom: 2px !important;"),d.focusManager.hasFocus&&!k.isControlRestored(d)&&this.focus()},f.onBeforeChange=function(){k.getScayt(d)&&!d.checkDirty()&&setTimeout(function(){d.resetDirty()},0)};var g=window.scayt_custom_params;if(typeof g=="object")for(var i in g)f[i]=g[i];k.getControlId(d)&&(f.id=k.getControlId(d));var j=new window.scayt(f);j.afterMarkupRemove.push(function(a){(new h(a,j.document)).mergeSiblings()});var l=k.instances[d.name];l&&(j.sLang=l.sLang,j.option(l.option()),j.paused=l.paused),k.instances[d.name]=j;try{j.setDisabled(k.isPaused(d)===!1)}catch(m){}d.fire("showScaytState")};d.on("contentDom",g),d.on("contentDomUnload",function(){var b=a.document.getElementsByTag("script"),c=/^dojoIoScript(\d+)$/i,d=/^https?:\/\/svc\.webspellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;for(var e=0;e<b.count();e++){var f=b.getItem(e),g=f.getId(),h=f.getAttribute("src");g&&h&&g.match(c)&&h.match(d)&&f.remove()}}),d.on("beforeCommandExec",function(a){if(a.data.name!="source"&&a.data.name!="newpage"||d.mode!="wysiwyg")a.data.name=="source"&&d.mode=="source"&&k.markControlRestore(d);else{var b=k.getScayt(d);b&&(k.setPaused(d,!b.disabled),k.setControlId(d,b.id),b.destroy(!0),delete k.instances[d.name])}}),d.on("afterCommandExec",function(a){if(!k.isScaytEnabled(d))return;d.mode=="wysiwyg"&&(a.data.name=="undo"||a.data.name=="redo")&&window.setTimeout(function(){k.getScayt(d).refresh()},10)}),d.on("destroy",function(a){var b=a.editor,c=k.getScayt(b);if(!c)return;delete k.instances[b.name],k.setControlId(b,c.id),c.destroy(!0)}),d.on("afterSetData",function(){k.isScaytEnabled(d)&&window.setTimeout(function(){var a=k.getScayt(d);a&&a.refresh()},10)}),d.on("insertElement",function(){var a=k.getScayt(d);k.isScaytEnabled(d)&&(c&&d.getSelection().unlock(!0),window.setTimeout(function(){a.focus(),a.refresh()},10))},this,null,50),d.on("insertHtml",function(){var a=k.getScayt(d);k.isScaytEnabled(d)&&(c&&d.getSelection().unlock(!0),window.setTimeout(function(){a.focus(),a.refresh()},10))},this,null,50),d.on("scaytDialog",function(a){a.data.djConfig=window.djConfig,a.data.scayt_control=k.getScayt(d),a.data.tab=f,a.data.scayt=window.scayt});var i=d.dataProcessor,l=i&&i.htmlFilter;l&&l.addRules({elements:{span:function(a){if(a.attributes["data-scayt_word"]&&a.attributes["data-scaytid"])return delete a.name,a}}});var m=j.undo.Image.prototype;m.equals=e.override(m.equals,function(a){return function(b){var c=this,d=c.contents,e=b.contents,f=k.getScayt(c.editor);f&&k.isScaytReady(c.editor)&&(c.contents=f.reset(d)||"",b.contents=f.reset(e)||"");var g=a.apply(c,arguments);return c.contents=d,b.contents=e,g}}),d.document&&g()};j.scayt={engineLoaded:!1,instances:{},controlInfo:{},setControlInfo:function(a,b){a&&a.name&&typeof this.controlInfo[a.name]!="object"&&(this.controlInfo[a.name]={});for(var c in b)this.controlInfo[a.name][c]=b[c]},isControlRestored:function(a){return a&&a.name&&this.controlInfo[a.name]?this.controlInfo[a.name].restored:!1},markControlRestore:function(a){this.setControlInfo(a,{restored:!0})},setControlId:function(a,b){this.setControlInfo(a,{id:b})},getControlId:function(a){return a&&a.name&&this.controlInfo[a.name]&&this.controlInfo[a.name].id?this.controlInfo[a.name].id:null},setPaused:function(a,b){this.setControlInfo(a,{paused:b})},isPaused:function(a){return a&&a.name&&this.controlInfo[a.name]?this.controlInfo[a.name].paused:undefined},getScayt:function(a){return this.instances[a.name]},isScaytReady:function(a){return this.engineLoaded===!0&&"undefined"!=typeof window.scayt&&this.getScayt(a)},isScaytEnabled:function(a){var b=this.getScayt(a);return b?b.disabled===!1:!1},getUiTabs:function(a){var b=[],c=a.config.scayt_uiTabs||"1,1,1";c=c.split(","),c[3]="1";for(var d=0;d<4;d++)b[d]=typeof window.scayt!="undefined"&&typeof window.scayt.uiTags!="undefined"?parseInt(c[d],10)&&window.scayt.uiTags[d]:parseInt(c[d],10);return b},loadEngine:function(c){if(b.gecko&&b.version<10900||b.opera||b.air)return c.fire("showScaytState");if(this.engineLoaded===!0)return i.apply(c);if(this.engineLoaded==-1)return a.on("scaytReady",function(){i.apply(c)});a.on("scaytReady",i,c),a.on("scaytReady",function(){this.engineLoaded=!0},this,null,0),this.engineLoaded=-1;var d=document.location.protocol;d=d.search(/https?:/)!=-1?d:"http:";var e="svc.webspellchecker.net/scayt26/loader__base.js",f=c.config.scayt_srcUrl||d+"//"+e,g=k.parseUrl(f).path+"/";return window.scayt==undefined?(a._djScaytConfig={baseUrl:g,addOnLoad:[function(){a.fireOnce("scaytReady")}],isDebug:!1},a.document.getHead().append(a.document.createElement("script",{attributes:{type:"text/javascript",async:"true",src:f}}))):a.fireOnce("scaytReady"),null},parseUrl:function(a){var b;return a.match&&(b=a.match(/(.*)[\/\\](.*?\.\w+)$/))?{path:b[1],file:b[2]}:a}};var k=j.scayt,l=function(a,b,c,d,e,f,g){a.addCommand(d,e),a.addMenuItem(d,{label:c,command:d,group:f,order:g})},m={preserveState:!0,editorFocus:!1,canUndo:!1,exec:function(a){if(k.isScaytReady(a)){var b=k.isScaytEnabled(a);this.setState(b?2:1);var c=k.getScayt(a);c.focus(),c.setDisabled(b)}else!a.config.scayt_autoStartup&&k.engineLoaded>=0&&(this.setState(0),k.loadEngine(a))}};j.add("scayt",{requires:["menubutton"],beforeInit:function(a){var b=a.config.scayt_contextMenuItemsOrder||"suggest|moresuggest|control",c="";b=b.split("|");if(b&&b.length)for(var d=0;d<b.length;d++)c+="scayt_"+b[d]+(b.length!=parseInt(d,10)+1?",":"");a.config.menu_groups=c+","+a.config.menu_groups},init:function(c){var e=c.dataProcessor&&c.dataProcessor.dataFilter,h={elements:{span:function(a){var b=a.attributes;b&&b["data-scaytid"]&&delete a.name}}};e&&e.addRules(h);var i={},j={},p=c.addCommand(d,m);a.dialog.add(d,a.getUrl(this.path+"dialogs/options.js"));var t=k.getUiTabs(c),u="scaytButton";c.addMenuGroup(u);var v={},w=c.lang.scayt;v.scaytToggle={label:w.enable,command:d,group:u},t[0]==1&&(v.scaytOptions={label:w.options,group:u,onClick:function(){f="options",c.openDialog(d)}}),t[1]==1&&(v.scaytLangs={label:w.langs,group:u,onClick:function(){f="langs",c.openDialog(d)}}),t[2]==1&&(v.scaytDict={label:w.dictionariesTab,group:u,onClick:function(){f="dictionaries",c.openDialog(d)}}),v.scaytAbout={label:c.lang.scayt.about,group:u,onClick:function(){f="about",c.openDialog(d)}},c.addMenuItems(v),c.ui.add("Scayt","menubutton",{label:w.title,title:b.opera?w.opera_title:w.title,className:"cke_button_scayt",modes:{wysiwyg:1},onRender:function(){p.on("state",function(){this.setState(p.state)},this)},onMenu:function(){var a=k.isScaytEnabled(c);c.getMenuItem("scaytToggle").label=w[a?"disable":"enable"];var b=k.getUiTabs(c);return{scaytToggle:2,scaytOptions:a&&b[0]?2:0,scaytLangs:a&&b[1]?2:0,scaytDict:a&&b[2]?2:0,scaytAbout:a&&b[3]?2:0}}}),c.contextMenu&&c.addMenuItems&&c.contextMenu.addListener(function(a,b){if(!k.isScaytEnabled(c)||b.getRanges()[0].checkReadOnly())return null;var d=k.getScayt(c),e=d.getScaytNode();if(!e)return null;var f=d.getWord(e);if(!f)return null;var h=d.getLang(),m={},n=window.scayt.getSuggestion(f,h);if(!n||!n.length)return null;for(var p in i)delete c._.menuItems[p],delete c._.commands[p];for(p in j)delete c._.menuItems[p],delete c._.commands[p];i={},j={};var s=c.config.scayt_moreSuggestions||"on",t=!1,u=c.config.scayt_maxSuggestions;typeof u!="number"&&(u=5),!u&&(u=n.length);var v=c.config.scayt_contextCommands||"all";v=v.split("|");for(var x=0,y=n.length;x<y;x+=1){var z="scayt_suggestion_"+n[x].replace(" ","_"),A=function(a,b){return{exec:function(){d.replace(a,b)}}}(e,n[x]);x<u?(l(c,"button_"+z,n[x],z,A,"scayt_suggest",x+1),m[z]=2,j[z]=2):s=="on"&&(l(c,"button_"+z,n[x],z,A,"scayt_moresuggest",x+1),i[z]=2,t=!0)}t&&(c.addMenuItem("scayt_moresuggest",{label:w.moreSuggestions,group:"scayt_moresuggest",order:10,getItems:function(){return i}}),j.scayt_moresuggest=2);if(g("all",v)||g("ignore",v)){var B={exec:function(){d.ignore(e)}};l(c,"ignore",w.ignore,"scayt_ignore",B,"scayt_control",1),j.scayt_ignore=2}if(g("all",v)||g("ignoreall",v)){var D={exec:function(){d.ignoreAll(e)}};l(c,"ignore_all",w.ignoreAll,"scayt_ignore_all",D,"scayt_control",2),j.scayt_ignore_all=2}if(g("all",v)||g("add",v)){var E={exec:function(){window.scayt.addWordToUserDictionary(e)}};l(c,"add_word",w.addWord,"scayt_add_word",E,"scayt_control",3),j.scayt_add_word=2}return d.fireOnContextMenu&&d.fireOnContextMenu(c),j});var x=function(){c.removeListener("showScaytState",x),!b.opera&&!b.air?p.setState(k.isScaytEnabled(c)?1:2):p.setState(0)};c.on("showScaytState",x),(b.opera||b.air)&&c.on("instanceReady",function(){x()}),c.config.scayt_autoStartup&&c.on("instanceReady",function(){k.loadEngine(c)})},afterInit:function(a){var b,c=function(a){if(a.hasAttribute("data-scaytid"))return!1};a._.elementsPath&&(b=a._.elementsPath.filters)&&b.push(c),a.addRemoveFormatFilter&&a.addRemoveFormatFilter(c)}})}(),j.add("smiley",{requires:["dialog"],init:function(b){b.config.smiley_path=b.config.smiley_path||this.path+"images/",b.addCommand("smiley",new a.dialogCommand("smiley")),b.ui.addButton("Smiley",{label:b.lang.smiley.toolbar,command:"smiley"}),a.dialog.add("smiley",this.path+"dialogs/smiley.js")}}),i.smiley_images=["regular_smile.gif","sad_smile.gif","wink_smile.gif","teeth_smile.gif","confused_smile.gif","tounge_smile.gif","embaressed_smile.gif","omg_smile.gif","whatchutalkingabout_smile.gif","angry_smile.gif","angel_smile.gif","shades_smile.gif","devil_smile.gif","cry_smile.gif","lightbulb.gif","thumbs_down.gif","thumbs_up.gif","heart.gif","broken_heart.gif","kiss.gif","envelope.gif"],i.smiley_descriptions=["smiley","sad","wink","laugh","frown","cheeky","blush","surprise","indecision","angry","angel","cool","devil","crying","enlightened","no","yes","heart","broken heart","kiss","mail"],function(){var b=".%2 p,.%2 div,.%2 pre,.%2 address,.%2 blockquote,.%2 h1,.%2 h2,.%2 h3,.%2 h4,.%2 h5,.%2 h6{background-repeat: no-repeat;background-position: top %3;border: 1px dotted gray;padding-top: 8px;padding-%3: 8px;}.%2 p{%1p.png);}.%2 div{%1div.png);}.%2 pre{%1pre.png);}.%2 address{%1address.png);}.%2 blockquote{%1blockquote.png);}.%2 h1{%1h1.png);}.%2 h2{%1h2.png);}.%2 h3{%1h3.png);}.%2 h4{%1h4.png);}.%2 h5{%1h5.png);}.%2 h6{%1h6.png);}",c=/%1/g,d=/%2/g,e=/%3/g,f={readOnly:1,preserveState:!0,editorFocus:!1,exec:function(a){this.toggleState(),this.refresh(a)},refresh:function(a){if(a.document){var b=this.state==1?"addClass":"removeClass";a.document.getBody()[b]("cke_show_blocks")}}};j.add("showblocks",{requires:["wysiwygarea"],init:function(g){var h=g.addCommand("showblocks",f);h.canUndo=!1,g.config.startupOutlineBlocks&&h.setState(1),g.addCss(b.replace(c,"background-image: url("+a.getUrl(this.path)+"images/block_").replace(d,"cke_show_blocks ").replace(e,g.lang.dir=="rtl"?"right":"left")),g.ui.addButton("ShowBlocks",{label:g.lang.showBlocks,command:"showblocks"}),g.on("mode",function(){h.state!=0&&h.refresh(g)}),g.on("contentDom",function(){h.state!=0&&h.refresh(g)})}})}(),function(){var c="cke_show_border",d,f=(b.ie6Compat?[".%1 table.%2,",".%1 table.%2 td, .%1 table.%2 th","{","border : #d3d3d3 1px dotted","}"]:[".%1 table.%2,",".%1 table.%2 > tr > td, .%1 table.%2 > tr > th,",".%1 table.%2 > tbody > tr > td, .%1 table.%2 > tbody > tr > th,",".%1 table.%2 > thead > tr > td, .%1 table.%2 > thead > tr > th,",".%1 table.%2 > tfoot > tr > td, .%1 table.%2 > tfoot > tr > th","{","border : #d3d3d3 1px dotted","}"]).join("");d=f.replace(/%2/g,c).replace(/%1/g,"cke_show_borders ");var g={preserveState:!0,editorFocus:!1,readOnly:1,exec:function(a){this.toggleState(),this.refresh(a)},refresh:function(a){if(a.document){var b=this.state==1?"addClass":"removeClass";a.document.getBody()[b]("cke_show_borders")}}};j.add("showborders",{requires:["wysiwygarea"],modes:{wysiwyg:1},init:function(a){var b=a.addCommand("showborders",g);b.canUndo=!1,a.config.startupShowBorders!==!1&&b.setState(1),a.addCss(d),a.on("mode",function(){b.state!=0&&b.refresh(a)},null,null,100),a.on("contentDom",function(){b.state!=0&&b.refresh(a)}),a.on("removeFormatCleanup",function(b){var d=b.data;a.getCommand("showborders").state==1&&d.is("table")&&(!d.hasAttribute("border")||parseInt(d.getAttribute("border"),10)<=0)&&d.addClass(c)})},afterInit:function(a){var b=a.dataProcessor,d=b&&b.dataFilter,e=b&&b.htmlFilter;d&&d.addRules({elements:{table:function(a){var b=a.attributes,d=b["class"],e=parseInt(b.border,10);(!e||e<=0)&&(!d||d.indexOf(c)==-1)&&(b["class"]=(d||"")+" "+c)}}}),e&&e.addRules({elements:{table:function(a){var b=a.attributes,d=b["class"];d&&(b["class"]=d.replace(c,"").replace(/\s{2}/," ").replace(/^\s+|\s+$/,""))}}})}}),a.on("dialogDefinition",function(a){var b=a.data.name;if(b=="table"||b=="tableProperties"){var d=a.data.definition,f=d.getContents("info"),g=f.get("txtBorder"),h=g.commit;g.commit=e.override(h,function(a){return function(b,d){a.apply(this,arguments);var e=parseInt(this.getValue(),10);d[!e||e<=0?"addClass":"removeClass"](c)}});var i=d.getContents("advanced"),j=i&&i.get("advCSSClasses");j&&(j.setup=e.override(j.setup,function(a){return function(){a.apply(this,arguments),this.setValue(this.getValue().replace(/cke_show_border/,""))}}),j.commit=e.override(j.commit,function(a){return function(b,c){a.apply(this,arguments),parseInt(c.getAttribute("border"),10)||c.addClass("cke_show_border")}}))}})}(),j.add("sourcearea",{requires:["editingblock"],init:function(d){var e=j.sourcearea,f=a.document.getWindow();d.on("editingBlockReady",function(){var a,e;d.addMode("source",{load:function(g,i){c&&b.version<8&&g.setStyle("position","relative"),d.textarea=a=new h("textarea"),a.setAttributes({dir:"ltr",tabIndex:b.webkit?-1:d.tabIndex,role:"textbox","aria-label":d.lang.editorTitle.replace("%1",d.name)}),a.addClass("cke_source"),a.addClass("cke_enable_context_menu"),d.readOnly&&a.setAttribute("readOnly","readonly");var j={width:b.ie7Compat?"99%":"100%",height:"100%",resize:"none",outline:"none","text-align":"left"};c&&(e=function(){a.hide(),a.setStyle("height",g.$.clientHeight+"px"),a.setStyle("width",g.$.clientWidth+"px"),a.show()},d.on("resize",e),f.on("resize",e),setTimeout(e,0)),g.setHtml(""),g.append(a),a.setStyles(j),d.fire("ariaWidget",a),a.on("blur",function(){d.focusManager.blur()}),a.on("focus",function(){d.focusManager.focus()}),d.mayBeDirty=!0,this.loadData(i);var k=d.keystrokeHandler;k&&k.attach(a),setTimeout(function(){d.mode="source",d.fire("mode",{previousMode:d._.previousMode})},b.gecko||b.webkit?100:0)},loadData:function(b){a.setValue(b),d.fire("dataReady")},getData:function(){return a.getValue()},getSnapshotData:function(){return a.getValue()},unload:function(g){a.clearCustomData(),d.textarea=a=null,e&&(d.removeListener("resize",e),f.removeListener("resize",e)),c&&b.version<8&&g.removeStyle("position")},focus:function(){a.focus()}})}),d.on("readOnly",function(){d.mode=="source"&&(d.readOnly?d.textarea.setAttribute("readOnly","readonly"):d.textarea.removeAttribute("readOnly"))}),d.addCommand("source",e.commands.source),d.ui.addButton&&d.ui.addButton("Source",{label:d.lang.source,command:"source"}),d.on("mode",function(){d.getCommand("source").setState(d.mode=="source"?1:2)})}}),j.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:!1,readOnly:1,exec:function(a){a.mode=="wysiwyg"&&a.fire("saveSnapshot"),a.getCommand("source").setState(0),a.setMode(a.mode=="source"?"wysiwyg":"source")},canUndo:!1}}},function(){function e(a,b){var c=a.type,d=b.type;return c==d?0:c==3?-1:d==3?1:d==1?1:-1}j.add("stylescombo",{requires:["richcombo","styles"],init:function(f){function l(b){f.getStylesSet(function(c){if(!j.length){var d,f;for(var h=0,k=c.length;h<k;h++){var l=c[h];f=l.name,d=i[f]=new a.style(l),d._name=f,d._.enterMode=g.enterMode,j.push(d)}j.sort(e)}b&&b()})}var g=f.config,h=f.lang.stylesCombo,i={},j=[],k;f.ui.addRichCombo("Styles",{label:h.label,title:h.panelTitle,className:"cke_styles"
9
- ,panel:{css:f.skin.editor.css.concat(g.contentsCss),multiSelect:!0,attributes:{"aria-label":h.panelTitle}},init:function(){k=this,l(function(){var a,b,c,d,e,f;for(e=0,f=j.length;e<f;e++)a=j[e],b=a._name,d=a.type,d!=c&&(k.startGroup(h["panelTitle"+String(d)]),c=d),k.add(b,a.type==3?b:a.buildPreview(),b);k.commit()})},onClick:function(a){f.focus(),f.fire("saveSnapshot");var b=i[a],c=f.getSelection(),e=new d.elementPath(c.getStartElement());b[b.checkActive(e)?"remove":"apply"](f.document),f.fire("saveSnapshot")},onRender:function(){f.on("selectionChange",function(a){var b=this.getValue(),c=a.data.path,d=c.elements;for(var e=0,f=d.length,g;e<f;e++){g=d[e];for(var h in i)if(i[h].checkElementRemovable(g,!0)){h!=b&&this.setValue(h);return}}this.setValue("")},this)},onOpen:function(){var a=this;(c||b.webkit)&&f.focus();var e=f.getSelection(),g=e.getSelectedElement(),j=new d.elementPath(g||e.getStartElement()),k=[0,0,0,0];a.showAll(),a.unmarkAll();for(var l in i){var m=i[l],o=m.type;m.checkActive(j)?a.mark(l):o==3&&!m.checkApplicable(j)&&(a.hideItem(l),k[o]--),k[o]++}k[1]||a.hideGroup(h["panelTitle"+String(1)]),k[2]||a.hideGroup(h["panelTitle"+String(2)]),k[3]||a.hideGroup(h["panelTitle"+String(3)])},reset:function(){k&&(delete k._.panel,delete k._.list,k._.committed=0,k._.items={},k._.state=2),i={},j=[],l()}}),f.on("instanceReady",function(){l()})}})}(),j.add("table",{init:function(b){var c=j.table,d=b.lang.table;b.addCommand("table",new a.dialogCommand("table")),b.addCommand("tableProperties",new a.dialogCommand("tableProperties")),b.ui.addButton("Table",{label:d.toolbar,command:"table"}),a.dialog.add("table",this.path+"dialogs/table.js"),a.dialog.add("tableProperties",this.path+"dialogs/table.js"),b.addMenuItems&&b.addMenuItems({table:{label:d.menu,command:"tableProperties",group:"table",order:5},tabledelete:{label:d.deleteTable,command:"tableDelete",group:"table",order:1}}),b.on("doubleclick",function(a){var b=a.data.element;b.is("table")&&(a.data.dialog="tableProperties")}),b.contextMenu&&b.contextMenu.addListener(function(a,b){if(!a||a.isReadOnly())return null;var c=a.hasAscendant("table",1);return c?{tabledelete:2,table:2}:null})}}),function(){function f(a){function i(a){if(f.length>0)return;a.type==1&&b.test(a.getName())&&!a.getCustomData("selected_cell")&&(h.setMarker(g,a,"selected_cell",!0),f.push(a))}var c=a.createBookmarks(),e=a.getRanges(),f=[],g={};for(var j=0;j<e.length;j++){var k=e[j];if(k.collapsed){var l=k.getCommonAncestor(),m=l.getAscendant("td",!0)||l.getAscendant("th",!0);m&&f.push(m)}else{var n=new d.walker(k),o;n.guard=i;while(o=n.next()){var p=o.getAscendant("td")||o.getAscendant("th");p&&!p.getCustomData("selected_cell")&&(h.setMarker(g,p,"selected_cell",!0),f.push(p))}}}return h.clearAllMarkers(g),a.selectBookmarks(c),f}function g(a){var b=0,c=a.length-1,d={},e,f,g;while(e=a[b++])h.setMarker(d,e,"delete_cell",!0);b=0;while(e=a[b++])if((f=e.getPrevious())&&!f.getCustomData("delete_cell")||(f=e.getNext())&&!f.getCustomData("delete_cell"))return h.clearAllMarkers(d),f;return h.clearAllMarkers(d),g=a[0].getParent(),(g=g.getPrevious())?g.getLast():(g=a[c].getParent(),(g=g.getNext())?g.getChild(0):null)}function i(a,b){var d=f(a),g=d[0],i=g.getAscendant("table"),j=g.getDocument(),k=d[0].getParent(),l=k.$.rowIndex,m=d[d.length-1],n=m.getParent().$.rowIndex+m.$.rowSpan-1,o=new h(i.$.rows[n]),p=b?l:n,q=b?k:o,r=e.buildTableMap(i),s=r[p],t=b?r[p-1]:r[p+1],u=r[0].length,v=j.createElement("tr");for(var w=0;s[w]&&w<u;w++){var x;s[w].rowSpan>1&&t&&s[w]==t[w]?(x=s[w],x.rowSpan+=1):(x=(new h(s[w])).clone(),x.removeAttribute("rowSpan"),!c&&x.appendBogus(),v.append(x),x=x.$),w+=x.colSpan-1}b?v.insertBefore(q):v.insertAfter(q)}function k(a){if(a instanceof d.selection){var b=f(a),c=b[0],g=c.getAscendant("table"),i=e.buildTableMap(g),j=b[0].getParent(),l=j.$.rowIndex,m=b[b.length-1],n=m.getParent().$.rowIndex+m.$.rowSpan-1,o=[];for(var p=l;p<=n;p++){var q=i[p],r=new h(g.$.rows[p]);for(var s=0;s<q.length;s++){var t=new h(q[s]),u=t.getParent().$.rowIndex;if(t.$.rowSpan==1)t.remove();else{t.$.rowSpan-=1;if(u==p){var v=i[p+1];v[s-1]?t.insertAfter(new h(v[s-1])):(new h(g.$.rows[p+1])).append(t,1)}}s+=t.$.colSpan-1}o.push(r)}var w=g.$.rows,x=new h(w[n+1]||(l>0?w[l-1]:null)||g.$.parentNode);for(p=o.length;p>=0;p--)k(o[p]);return x}return a instanceof h&&(g=a.getAscendant("table"),g.$.rows.length==1?g.remove():a.remove()),null}function l(a,b){var c=a.getParent(),d=c.$.cells,e=0;for(var f=0;f<d.length;f++){var g=d[f];e+=b?1:g.colSpan;if(g==a.$)break}return e-1}function m(a,b){var c=b?Infinity:0;for(var d=0;d<a.length;d++){var e=l(a[d],b);if(b?e<c:e>c)c=e}return c}function n(a,b){var d=f(a),g=d[0],i=g.getAscendant("table"),j=m(d,1),k=m(d),l=b?j:k,n=e.buildTableMap(i),o=[],p=[],q=n.length;for(var r=0;r<q;r++){o.push(n[r][l]);var s=b?n[r][l-1]:n[r][l+1];s&&p.push(s)}for(r=0;r<q;r++){var t;o[r].colSpan>1&&p.length&&p[r]==o[r]?(t=o[r],t.colSpan+=1):(t=(new h(o[r])).clone(),t.removeAttribute("colSpan"),!c&&t.appendBogus(),t[b?"insertBefore":"insertAfter"].call(t,new h(o[r])),t=t.$),r+=t.rowSpan-1}}function o(a){var b=f(a),c=b[0],d=b[b.length-1],g=c.getAscendant("table"),i=e.buildTableMap(g),j,k,l=[];for(var m=0,n=i.length;m<n;m++)for(var o=0,p=i[m].length;o<p;o++)i[m][o]==c.$&&(j=o),i[m][o]==d.$&&(k=o);for(m=j;m<=k;m++)for(o=0;o<i.length;o++){var q=i[o],r=new h(g.$.rows[o]),s=new h(q[m]);s.$&&(s.$.colSpan==1?s.remove():s.$.colSpan-=1,o+=s.$.rowSpan-1,r.$.cells.length||l.push(r))}var t=g.$.rows[0]&&g.$.rows[0].cells,u=new h(t[j]||(j?t[j-1]:g.$.parentNode));return l.length==n&&g.remove(),u}function p(a){var b=[],c=a[0]&&a[0].getAscendant("table"),d,e,f,g;for(d=0,e=a.length;d<e;d++)b.push(a[d].$.cellIndex);b.sort();for(d=1,e=b.length;d<e;d++)if(b[d]-b[d-1]>1){f=b[d-1]+1;break}f||(f=b[0]>0?b[0]-1:b[b.length-1]+1);var i=c.$.rows;for(d=0,e=i.length;d<e;d++){g=i[d].cells[f];if(g)break}return g?new h(g):c.getPrevious()}function q(a,b){var d=a.getStartElement(),e=d.getAscendant("td",1)||d.getAscendant("th",1);if(!e)return;var f=e.clone();c||f.appendBogus(),b?f.insertBefore(e):f.insertAfter(e)}function r(a){if(a instanceof d.selection){var b=f(a),c=b[0]&&b[0].getAscendant("table"),e=g(b);for(var i=b.length-1;i>=0;i--)r(b[i]);e?t(e,!0):c&&c.remove()}else if(a instanceof h){var j=a.getParent();j.getChildCount()==1?j.remove():a.remove()}}function s(a){var b=a.getBogus();b&&b.remove(),a.trim()}function t(a,b){var c=new d.range(a.getDocument());c["moveToElementEdit"+(b?"End":"Start")](a)||(c.selectNodeContents(a),c.collapse(b?!1:!0)),c.select(!0)}function u(a,b,c){var d=a[b];if(typeof c=="undefined")return d;for(var e=0;d&&e<d.length;e++){if(c.is&&d[e]==c.$)return e;if(e==c)return new h(d[e])}return c.is?-1:null}function v(a,b,c){var d=[];for(var e=0;e<a.length;e++){var f=a[e];if(typeof c=="undefined")d.push(f[b]);else{if(c.is&&f[b]==c.$)return e;if(e==c)return new h(f[b])}}return typeof c=="undefined"?d:c.is?-1:null}function w(a,b,g){var i=f(a),j;if((b?i.length!=1:i.length<2)||(j=a.getCommonAncestor())&&j.type==1&&j.is("table"))return!1;var k,l=i[0],m=l.getAscendant("table"),n=e.buildTableMap(m),o=n.length,p=n[0].length,q=l.getParent().$.rowIndex,r=u(n,q,l);if(b){var t;try{var v=parseInt(l.getAttribute("rowspan"),10)||1,w=parseInt(l.getAttribute("colspan"),10)||1;t=n[b=="up"?q-v:b=="down"?q+v:q][b=="left"?r-w:b=="right"?r+w:r]}catch(x){return!1}if(!t||l.$==t)return!1;i[b=="up"||b=="left"?"unshift":"push"](new h(t))}var y=l.getDocument(),z=q,B=0,C=0,D=!g&&new d.documentFragment(y),E=0;for(var F=0;F<i.length;F++){k=i[F];var G=k.getParent(),H=k.getFirst(),I=k.$.colSpan,J=k.$.rowSpan,K=G.$.rowIndex,L=u(n,K,k);E+=I*J,C=Math.max(C,L-r+I),B=Math.max(B,K-q+J);if(!g){if(s(k),k.getChildren().count()){if(K!=z&&H&&(!H.isBlockBoundary||!H.isBlockBoundary({br:1}))){var M=D.getLast(d.walker.whitespaces(!0));M&&(!M.is||!M.is("br"))&&D.append("br")}k.moveChildren(D)}F?k.remove():k.setHtml("")}z=K}if(!g){D.moveChildren(l),c||l.appendBogus(),C>=p?l.removeAttribute("rowSpan"):l.$.rowSpan=B,B>=o?l.removeAttribute("colSpan"):l.$.colSpan=C;var N=new d.nodeList(m.$.rows),O=N.count();for(F=O-1;F>=0;F--){var P=N.getItem(F);if(!P.$.cells.length){P.remove(),O++;continue}}return l}return B*C==E}function x(a,b){var d=f(a);if(d.length>1)return!1;if(b)return!0;var g=d[0],i=g.getParent(),j=i.getAscendant("table"),k=e.buildTableMap(j),l=i.$.rowIndex,m=u(k,l,g),n=g.$.rowSpan,o,p,q,r;if(n>1){p=Math.ceil(n/2),q=Math.floor(n/2),r=l+p;var s=new h(j.$.rows[r]),t=u(k,r),v;o=g.clone();for(var w=0;w<t.length;w++){v=t[w];if(v.parentNode==s.$&&w>m){o.insertBefore(new h(v));break}v=null}v||s.append(o,!0)}else{q=p=1,s=i.clone(),s.insertAfter(i),s.append(o=g.clone());var x=u(k,l);for(var y=0;y<x.length;y++)x[y].rowSpan++}return c||o.appendBogus(),g.$.rowSpan=p,o.$.rowSpan=q,p==1&&g.removeAttribute("rowSpan"),q==1&&o.removeAttribute("rowSpan"),o}function y(a,b){var d=f(a);if(d.length>1)return!1;if(b)return!0;var g=d[0],h=g.getParent(),i=h.getAscendant("table"),j=e.buildTableMap(i),k=h.$.rowIndex,l=u(j,k,g),m=g.$.colSpan,n,o,p;if(m>1)o=Math.ceil(m/2),p=Math.floor(m/2);else{p=o=1;var q=v(j,l);for(var r=0;r<q.length;r++)q[r].colSpan++}return n=g.clone(),n.insertAfter(g),c||n.appendBogus(),g.$.colSpan=o,n.$.colSpan=p,o==1&&g.removeAttribute("colSpan"),p==1&&n.removeAttribute("colSpan"),n}var b=/^(?:td|th)$/,z={thead:1,tbody:1,tfoot:1,td:1,tr:1,th:1};j.tabletools={init:function(b){var c=b.lang.table;b.addCommand("cellProperties",new a.dialogCommand("cellProperties")),a.dialog.add("cellProperties",this.path+"dialogs/tableCell.js"),b.addCommand("tableDelete",{exec:function(a){var b=a.getSelection(),c=b&&b.getStartElement(),e=c&&c.getAscendant("table",1);if(!e)return;var f=e.getParent();f.getChildCount()==1&&!f.is("body","td","th")&&(e=f);var g=new d.range(a.document);g.moveToPosition(e,3),e.remove(),g.select()}}),b.addCommand("rowDelete",{exec:function(a){var b=a.getSelection();t(k(b))}}),b.addCommand("rowInsertBefore",{exec:function(a){var b=a.getSelection();i(b,!0)}}),b.addCommand("rowInsertAfter",{exec:function(a){var b=a.getSelection();i(b)}}),b.addCommand("columnDelete",{exec:function(a){var b=a.getSelection(),c=o(b);c&&t(c,!0)}}),b.addCommand("columnInsertBefore",{exec:function(a){var b=a.getSelection();n(b,!0)}}),b.addCommand("columnInsertAfter",{exec:function(a){var b=a.getSelection();n(b)}}),b.addCommand("cellDelete",{exec:function(a){var b=a.getSelection();r(b)}}),b.addCommand("cellMerge",{exec:function(a){t(w(a.getSelection()),!0)}}),b.addCommand("cellMergeRight",{exec:function(a){t(w(a.getSelection(),"right"),!0)}}),b.addCommand("cellMergeDown",{exec:function(a){t(w(a.getSelection(),"down"),!0)}}),b.addCommand("cellVerticalSplit",{exec:function(a){t(x(a.getSelection()))}}),b.addCommand("cellHorizontalSplit",{exec:function(a){t(y(a.getSelection()))}}),b.addCommand("cellInsertBefore",{exec:function(a){var b=a.getSelection();q(b,!0)}}),b.addCommand("cellInsertAfter",{exec:function(a){var b=a.getSelection();q(b)}}),b.addMenuItems&&b.addMenuItems({tablecell:{label:c.cell.menu,group:"tablecell",order:1,getItems:function(){var a=b.getSelection(),c=f(a);return{tablecell_insertBefore:2,tablecell_insertAfter:2,tablecell_delete:2,tablecell_merge:w(a,null,!0)?2:0,tablecell_merge_right:w(a,"right",!0)?2:0,tablecell_merge_down:w(a,"down",!0)?2:0,tablecell_split_vertical:x(a,!0)?2:0,tablecell_split_horizontal:y(a,!0)?2:0,tablecell_properties:c.length>0?2:0}}},tablecell_insertBefore:{label:c.cell.insertBefore,group:"tablecell",command:"cellInsertBefore",order:5},tablecell_insertAfter:{label:c.cell.insertAfter,group:"tablecell",command:"cellInsertAfter",order:10},tablecell_delete:{label:c.cell.deleteCell,group:"tablecell",command:"cellDelete",order:15},tablecell_merge:{label:c.cell.merge,group:"tablecell",command:"cellMerge",order:16},tablecell_merge_right:{label:c.cell.mergeRight,group:"tablecell",command:"cellMergeRight",order:17},tablecell_merge_down:{label:c.cell.mergeDown,group:"tablecell",command:"cellMergeDown",order:18},tablecell_split_horizontal:{label:c.cell.splitHorizontal,group:"tablecell",command:"cellHorizontalSplit",order:19},tablecell_split_vertical:{label:c.cell.splitVertical,group:"tablecell",command:"cellVerticalSplit",order:20},tablecell_properties:{label:c.cell.title,group:"tablecellproperties",command:"cellProperties",order:21},tablerow:{label:c.row.menu,group:"tablerow",order:1,getItems:function(){return{tablerow_insertBefore:2,tablerow_insertAfter:2,tablerow_delete:2}}},tablerow_insertBefore:{label:c.row.insertBefore,group:"tablerow",command:"rowInsertBefore",order:5},tablerow_insertAfter:{label:c.row.insertAfter,group:"tablerow",command:"rowInsertAfter",order:10},tablerow_delete:{label:c.row.deleteRow,group:"tablerow",command:"rowDelete",order:15},tablecolumn:{label:c.column.menu,group:"tablecolumn",order:1,getItems:function(){return{tablecolumn_insertBefore:2,tablecolumn_insertAfter:2,tablecolumn_delete:2}}},tablecolumn_insertBefore:{label:c.column.insertBefore,group:"tablecolumn",command:"columnInsertBefore",order:5},tablecolumn_insertAfter:{label:c.column.insertAfter,group:"tablecolumn",command:"columnInsertAfter",order:10},tablecolumn_delete:{label:c.column.deleteColumn,group:"tablecolumn",command:"columnDelete",order:15}}),b.contextMenu&&b.contextMenu.addListener(function(a,b){if(!a||a.isReadOnly())return null;while(a){if(a.getName()in z)return{tablecell:2,tablerow:2,tablecolumn:2};a=a.getParent()}return null})},getSelectedCells:f},j.add("tabletools",j.tabletools)}(),e.buildTableMap=function(a){var b=a.$.rows,c=-1,d=[];for(var e=0;e<b.length;e++){c++,!d[c]&&(d[c]=[]);var f=-1;for(var g=0;g<b[e].cells.length;g++){var h=b[e].cells[g];f++;while(d[c][f])f++;var i=isNaN(h.colSpan)?1:h.colSpan,j=isNaN(h.rowSpan)?1:h.rowSpan;for(var k=0;k<j;k++){d[c+k]||(d[c+k]=[]);for(var l=0;l<i;l++)d[c+k][f+l]=b[e].cells[g]}f+=i-1}}return d},j.add("specialchar",{availableLangs:{en:1},init:function(b){var c="specialchar",d=this;a.dialog.add(c,this.path+"dialogs/specialchar.js"),b.addCommand(c,{exec:function(){var f=b.langCode;f=d.availableLangs[f]?f:"en",a.scriptLoader.load(a.getUrl(d.path+"lang/"+f+".js"),function(){e.extend(b.lang.specialChar,d.langEntries[f]),b.openDialog(c)})},modes:{wysiwyg:1},canUndo:!1}),b.ui.addButton("SpecialChar",{label:b.lang.specialChar.toolbar,command:c})}}),i.specialChars=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&raquo;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],function(){function i(a){return{editorFocus:!1,canUndo:!1,modes:{wysiwyg:1},exec:function(b){if(b.focusManager.hasFocus){var f=b.getSelection(),g=f.getCommonAncestor(),i;if(i=g.getAscendant("td",!0)||g.getAscendant("th",!0)){var j=new d.range(b.document),k=e.tryThese(function(){var b=i.getParent(),c=b.$.cells[i.$.cellIndex+(a?-1:1)];return c.parentNode.parentNode,c},function(){var b=i.getParent(),c=b.getAscendant("table"),d=c.$.rows[b.$.rowIndex+(a?-1:1)];return d.cells[a?d.cells.length-1:0]});if(!k&&!a){var l=i.getAscendant("table").$,m=i.getParent().$.cells,n=new h(l.insertRow(-1),b.document);for(var o=0,p=m.length;o<p;o++){var r=n.append((new h(m[o],b.document)).clone(!1,!1));!c&&r.appendBogus()}j.moveToElementEditStart(n)}else if(k)k=new h(k),j.moveToElementEditStart(k),(!j.checkStartOfBlock()||!j.checkEndOfBlock())&&j.selectNodeContents(k);else return!0;return j.select(!0),!0}}return!1}}}var a={editorFocus:!1,modes:{wysiwyg:1,source:1}},f={exec:function(a){a.container.focusNext(!0,a.tabIndex)}},g={exec:function(a){a.container.focusPrevious(!0,a.tabIndex)}};j.add("tab",{requires:["keystrokes"],init:function(c){var d=c.config.enableTabKeyTools!==!1,h=c.config.tabSpaces||0,j="";while(h--)j+=" ";j&&c.on("key",function(a){a.data.keyCode==9&&(c.insertHtml(j),a.cancel())}),d&&c.on("key",function(a){(a.data.keyCode==9&&c.execCommand("selectNextCell")||a.data.keyCode==2228224+9&&c.execCommand("selectPreviousCell"))&&a.cancel()}),(b.webkit||b.gecko)&&c.on("key",function(a){var b=a.data.keyCode;b==9&&!j&&(a.cancel(),c.execCommand("blur")),b==2228224+9&&(c.execCommand("blurBack"),a.cancel())}),c.addCommand("blur",e.extend(f,a)),c.addCommand("blurBack",e.extend(g,a)),c.addCommand("selectNextCell",i()),c.addCommand("selectPreviousCell",i(!0))}})}(),h.prototype.focusNext=function(a,b){var c=this,d=c.$,e=b===undefined?c.getTabIndex():b,f,g,h,i,j,k;if(e<=0){j=c.getNextSourceNode(a,1);while(j){if(j.isVisible()&&j.getTabIndex()===0){h=j;break}j=j.getNextSourceNode(!1,1)}}else{j=c.getDocument().getBody().getFirst();while(j=j.getNextSourceNode(!1,1)){if(!f)if(!g&&j.equals(c)){g=!0;if(a){if(!(j=j.getNextSourceNode(!0,1)))break;f=1}}else g&&!c.contains(j)&&(f=1);if(!j.isVisible()||(k=j.getTabIndex())<0)continue;if(f&&k==e){h=j;break}k>e&&(!h||!i||k<i)?(h=j,i=k):!h&&k===0&&(h=j,i=k)}}h&&h.focus()},h.prototype.focusPrevious=function(a,b){var c=this,d=c.$,e=b===undefined?c.getTabIndex():b,f,g,h,i=0,j,k=c.getDocument().getBody().getLast();while(k=k.getPreviousSourceNode(!1,1)){if(!f)if(!g&&k.equals(c)){g=!0;if(a){if(!(k=k.getPreviousSourceNode(!0,1)))break;f=1}}else g&&!c.contains(k)&&(f=1);if(!k.isVisible()||(j=k.getTabIndex())<0)continue;if(e<=0){if(f&&j===0){h=k;break}j>i&&(h=k,i=j)}else{if(f&&j==e){h=k;break}j<e&&(!h||j>i)&&(h=k,i=j)}}h&&h.focus()},function(){j.add("templates",{requires:["dialog"],init:function(b){a.dialog.add("templates",a.getUrl(this.path+"dialogs/templates.js")),b.addCommand("templates",new a.dialogCommand("templates")),b.ui.addButton("Templates",{label:b.lang.templates.button,command:"templates"})}});var b={},c={};a.addTemplates=function(a,c){b[a]=c},a.getTemplates=function(a){return b[a]},a.loadTemplates=function(b,d){var e=[];for(var f=0,g=b.length;f<g;f++)c[b[f]]||(e.push(b[f]),c[b[f]]=1);e.length?a.scriptLoader.load(e,d):setTimeout(d,0)}}(),i.templates_files=[a.getUrl("plugins/templates/templates/default.js")],i.templates_replaceContent=!0,function(){var d=function(){this.toolbars=[],this.focusCommandExecuted=!1};d.prototype.focus=function(){for(var a=0,b;b=this.toolbars[a++];)for(var c=0,d;d=b.items[c++];)if(d.focus){d.focus();return}};var f={toolbarFocus:{modes:{wysiwyg:1,source:1},readOnly:1,exec:function(a){a.toolbox&&(a.toolbox.focusCommandExecuted=!0,c||b.air?setTimeout(function(){a.toolbox.focus()},100):a.toolbox.focus())}}};j.add("toolbar",{init:function(b){var c,g=function(a,d){var e,f,h=b.lang.dir=="rtl",i=b.config.toolbarGroupCycling;i=i===undefined||i;switch(d){case 9:case 2228233:while(!f||!f.items.length){f=d==9?(f?f.next:a.toolbar.next)||b.toolbox.toolbars[0]:(f?f.previous:a.toolbar.previous)||b.toolbox.toolbars[b.toolbox.toolbars.length-1];if(f.items.length){a=f.items[c?f.items.length-1:0];while(a&&!a.focus)a=c?a.previous:a.next,a||(f=0)}}return a&&a.focus(),!1;case h?37:39:case 40:e=a;do e=e.next,!e&&i&&(e=a.toolbar.items[0]);while(e&&!e.focus);return e?e.focus():g(a,9),!1;case h?39:37:case 38:e=a;do e=e.previous,!e&&i&&(e=a.toolbar.items[a.toolbar.items.length-1]);while(e&&!e.focus);return e?e.focus():(c=1,g(a,2228233),c=0),!1;case 27:return b.focus(),!1;case 13:case 32:return a.execute(),!1}return!0};b.on("themeSpace",function(c){if(c.data.space==b.config.toolbarLocation){b.toolbox=new d;var f=e.getNextId(),h=['<div class="cke_toolbox" role="group" aria-labelledby="',f,'" onmousedown="return false;"'],i=b.config.toolbarStartupExpanded!==!1,j;h.push(i?">":' style="display:none">'),h.push('<span id="',f,'" class="cke_voice_label">',b.lang.toolbars,"</span>");var k=b.toolbox.toolbars,l=b.config.toolbar instanceof Array?b.config.toolbar:b.config["toolbar_"+b.config.toolbar];for(var n=0;n<l.length;n++){var p,r=0,s,t=l[n],u;if(!t)continue;j&&(h.push("</div>"),j=0);if(t==="/"){h.push('<div class="cke_break"></div>');continue}u=t.items||t;for(var v=0;v<u.length;v++){var w,x=u[v],y;w=b.ui.create(x);if(w){y=w.canGroup!==!1;if(!r){p=e.getNextId(),r={id:p,items:[]},s=t.name&&(b.lang.toolbarGroups[t.name]||t.name),h.push('<span id="',p,'" class="cke_toolbar"',s?' aria-labelledby="'+p+'_label"':"",' role="toolbar">'),s&&h.push('<span id="',p,'_label" class="cke_voice_label">',s,"</span>"),h.push('<span class="cke_toolbar_start"></span>');var z=k.push(r)-1;z>0&&(r.previous=k[z-1],r.previous.next=r)}y?j||(h.push('<span class="cke_toolgroup" role="presentation">'),j=1):j&&(h.push("</span>"),j=0);var A=w.render(b,h);z=r.items.push(A)-1,z>0&&(A.previous=r.items[z-1],A.previous.next=A),A.toolbar=r,A.onkey=g,A.onfocus=function(){b.toolbox.focusCommandExecuted||b.focus()}}}j&&(h.push("</span>"),j=0),r&&h.push('<span class="cke_toolbar_end"></span></span>')}h.push("</div>");if(b.config.toolbarCanCollapse){var B=e.addFunction(function(){b.execCommand("toolbarCollapse")});b.on("destroy",function(){e.removeFunction(B)});var C=e.getNextId();b.addCommand("toolbarCollapse",{readOnly:1,exec:function(b){var c=a.document.getById(C),d=c.getPrevious(),e=b.getThemeSpace("contents"),f=d.getParent(),g=parseInt(e.$.style.height,10),h=f.$.offsetHeight,i=!d.isVisible();i?(d.show(),c.removeClass("cke_toolbox_collapser_min"),c.setAttribute("title",b.lang.toolbarCollapse)):(d.hide(),c.addClass("cke_toolbox_collapser_min"),c.setAttribute("title",b.lang.toolbarExpand)),c.getFirst().setText(i?"▲":"◀");var j=f.$.offsetHeight-h;e.setStyle("height",g-j+"px"),b.fire("resize")},modes:{wysiwyg:1,source:1}}),h.push('<a title="'+(i?b.lang.toolbarCollapse:b.lang.toolbarExpand)+'" id="'+C+'" tabIndex="-1" class="cke_toolbox_collapser'),i||h.push(" cke_toolbox_collapser_min"),h.push('" onclick="CKEDITOR.tools.callFunction('+B+')">',"<span>&#9650;</span>","</a>")}c.data.html+=h.join("")}}),b.on("destroy",function(){var a,b=0,c,d,f;a=this.toolbox.toolbars;for(;b<a.length;b++){d=a[b].items;for(c=0;c<d.length;c++)f=d[c],f.clickFn&&e.removeFunction(f.clickFn),f.keyDownFn&&e.removeFunction(f.keyDownFn)}}),b.addCommand("toolbarFocus",f.toolbarFocus),b.ui.add("-",a.UI_SEPARATOR,{}),b.ui.addHandler(a.UI_SEPARATOR,{create:function(){return{render:function(a,b){return b.push('<span class="cke_separator" role="separator"></span>'),{}}}}})}})}(),a.UI_SEPARATOR="separator",i.toolbarLocation="top",i.toolbar_Basic=[["Bold","Italic","-","NumberedList","BulletedList","-","Link","Unlink","-","About"]],i.toolbar_Full=[{name:"document",items:["Source","-","Save","NewPage","DocProps","Preview","Print","-","Templates"]},{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"editing",items:["Find","Replace","-","SelectAll","-","SpellChecker","Scayt"]},{name:"forms",items:["Form","Checkbox","Radio","TextField","Textarea","Select","Button","ImageButton","HiddenField"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote","CreateDiv","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","BidiLtr","BidiRtl"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Flash","Table","HorizontalRule","Smiley","SpecialChar","PageBreak","Iframe"]},"/",{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]},{name:"tools",items:["Maximize","ShowBlocks","-","About"]}],i.toolbar="Full",i.toolbarCanCollapse=!0,function(){function f(a){this.editor=a,this.reset()}j.add("undo",{requires:["selection","wysiwygarea"],init:function(a){function e(a){b.enabled&&a.data.command.canUndo!==!1&&b.save()}var b=new f(a),c=a.addCommand("undo",{exec:function(){b.undo()&&(a.selectionChange(),this.fire("afterUndo"))},state:0,canUndo:!1}),d=a.addCommand("redo",{exec:function(){b.redo()&&(a.selectionChange(),this.fire("afterRedo"))},state:0,canUndo:!1});b.onChange=function(){c.setState(b.undoable()?2:0),d.setState(b.redoable()?2:0)},a.on("beforeCommandExec",e),a.on("afterCommandExec",e),a.on("saveSnapshot",function(a){b.save(a.data&&a.data.contentOnly)}),a.on("contentDom",function(){a.document.on("keydown",function(a){!a.data.$.ctrlKey&&!a.data.$.metaKey&&b.type(a)})}),a.on("beforeModeUnload",function(){a.mode=="wysiwyg"&&b.save(!0)}),a.on("mode",function(){b.enabled=a.readOnly?!1:a.mode=="wysiwyg",b.onChange()}),a.ui.addButton("Undo",{label:a.lang.undo,command:"undo"}),a.ui.addButton("Redo",{label:a.lang.redo,command:"redo"}),a.resetUndo=function(){b.reset(),a.fire("saveSnapshot")},a.on("updateSnapshot",function(){b.currentImage&&b.update()})}}),j.undo={};var a=j.undo.Image=function(a){this.editor=a,a.fire("beforeUndoImage");var b=a.getSnapshot(),d=b&&a.getSelection();c&&b&&(b=b.replace(/\s+data-cke-expando=".*?"/g,"")),this.contents=b,this.bookmarks=d&&d.createBookmarks2(!0),a.fire("afterUndoImage")},d=/\b(?:href|src|name)="[^"]*?"/gi;a.prototype={equals:function(a,f){var g=this.contents,h=a.contents;c&&(b.ie7Compat||b.ie6Compat)&&(g=g.replace(d,""),h=h.replace(d,""));if(g!=h)return!1;if(f)return!0;var i=this.bookmarks,j=a.bookmarks;if(i||j){if(!i||!j||i.length!=j.length)return!1;for(var k=0;k<i.length;k++){var l=i[k],m=j[k];if(l.startOffset!=m.startOffset||l.endOffset!=m.endOffset||!e.arrayCompare(l.start,m.start)||!e.arrayCompare(l.end,m.end))return!1}}return!0}};var g={8:1,46:1},h={16:1,17:1,18:1},i={37:1,38:1,39:1,40:1};f.prototype={type:function(b){var d=b&&b.data.getKey(),f=d in h,j=d in g,k=this.lastKeystroke in g,l=j&&d==this.lastKeystroke,n=d in i,o=this.lastKeystroke in i,s=!j&&!n,t=j&&!l,u=!f&&!this.typing||s&&(k||o);if(u||t){var v=new a(this.editor);e.setTimeout(function(){var a=this,b=a.editor.getSnapshot();c&&(b=b.replace(/\s+data-cke-expando=".*?"/g,"")),v.contents!=b&&(a.typing=!0,a.save(!1,v,!1)||a.snapshots.splice(a.index+1,a.snapshots.length-a.index-1),a.hasUndo=!0,a.hasRedo=!1,a.typesCount=1,a.modifiersCount=1,a.onChange())},0,this)}this.lastKeystroke=d,j?(this.typesCount=0,this.modifiersCount++,this.modifiersCount>25&&(this.save(!1,null,!1),this.modifiersCount=1)):n||(this.modifiersCount=0,this.typesCount++,this.typesCount>25&&(this.save(!1,null,!1),this.typesCount=1))},reset:function(){var a=this;a.lastKeystroke=0,a.snapshots=[],a.index=-1,a.limit=a.editor.config.undoStackSize||20,a.currentImage=null,a.hasUndo=!1,a.hasRedo=!1,a.resetType()},resetType:function(){var a=this;a.typing=!1,delete a.lastKeystroke,a.typesCount=0,a.modifiersCount=0},fireChange:function(){var a=this;a.hasUndo=!!a.getNextImage(!0),a.hasRedo=!!a.getNextImage(!1),a.resetType(),a.onChange()},save:function(b,c,d){var e=this,f=e.snapshots;return c||(c=new a(e.editor)),c.contents===!1?!1:e.currentImage&&c.equals(e.currentImage,b)?!1:(f.splice(e.index+1,f.length-e.index-1),f.length==e.limit&&f.shift(),e.index=f.push(c)-1,e.currentImage=c,d!==!1&&e.fireChange(),!0)},restoreImage:function(a){var b=this;b.editor.loadSnapshot(a.contents);if(a.bookmarks)b.editor.getSelection().selectBookmarks(a.bookmarks);else if(c){var d=b.editor.document.getBody().$.createTextRange();d.collapse(!0),d.select()}b.index=a.index,b.update(),b.fireChange()},getNextImage:function(a){var b=this,c=b.snapshots,d=b.currentImage,e,f;if(d)if(a)for(f=b.index-1;f>=0;f--){e=c[f];if(!d.equals(e,!0))return e.index=f,e}else for(f=b.index+1;f<c.length;f++){e=c[f];if(!d.equals(e,!0))return e.index=f,e}return null},redoable:function(){return this.enabled&&this.hasRedo},undoable:function(){return this.enabled&&this.hasUndo},undo:function(){var a=this;if(a.undoable()){a.save(!0);var b=a.getNextImage(!0);if(b)return a.restoreImage(b),!0}return!1},redo:function(){var a=this;if(a.redoable()){a.save(!0);if(a.redoable()){var b=a.getNextImage(!1);if(b)return a.restoreImage(b),!0}}return!1},update:function(){var b=this;b.snapshots.splice(b.index,1,b.currentImage=new a(b.editor))}}}(),function(){function l(a){return a.isBlockBoundary()&&f.$empty[a.getName()]}function m(a){return function(b){this.mode=="wysiwyg"&&(this.focus(),this.fire("saveSnapshot"),a.call(this,b.data),e.setTimeout(function(){this.fire("saveSnapshot")},0,this))}}function n(e){var f=this;f.dataProcessor&&(e=f.dataProcessor.toHtml(e));if(!e)return;var g=f.getSelection(),h=g.getRanges()[0];if(h.checkReadOnly())return;if(b.opera){var i=new d.elementPath(h.startContainer);if(i.block){var j=a.htmlParser.fragment.fromHtml(e,!1).children;for(var k=0,l=j.length;k<l;k++)if(j[k]._.isBlockLike){h.splitBlock(f.enterMode==3?"div":"p"),h.insertNode(h.document.createText("")),h.select();break}}}if(c){var m=g.isLocked;m&&g.unlock();var n=g.getNative();if(n.type=="Control")n.clear();else if(g.getType()==2){h=g.getRanges()[0];var o=h&&h.endContainer;o&&o.type==1&&o.getAttribute("contenteditable")=="false"&&h.checkBoundaryOfElement(o,2)&&(h.setEndAfter(h.endContainer),h.deleteContents())}n.createRange().pasteHTML(e),m&&f.getSelection().lock()}else f.document.$.execCommand("inserthtml",!1,e);b.webkit&&(g=f.getSelection(),g.scrollIntoView())}function o(a){var g=this.getSelection(),h=g.getStartElement().hasAscendant("pre",!0)?2:this.config.enterMode,i=h==2,j=e.htmlEncode(a.replace(/\r\n|\r/g,"\n"));j=j.replace(/^[ \t]+|[ \t]+$/g,function(a,b,c){return a.length==1?"&nbsp;":b?" "+e.repeat("&nbsp;",a.length-1):e.repeat("&nbsp;",a.length-1)+" "}),j=j.replace(/[ \t]{2,}/g,function(a){return e.repeat("&nbsp;",a.length-1)+" "});var k=h==1?"p":"div";i||(j=j.replace(/(\n{2})([\s\S]*?)(?:$|\1)/g,function(a,b,c){return"<"+k+">"+c+"</"+k+">"})),j=j.replace(/\n/g,"<br>"),!i&&!c&&(j=j.replace(new RegExp("<br>(?=</"+k+">)"),function(a){return e.repeat(a,2)}));if(b.gecko||b.webkit){var l=new d.elementPath(g.getStartElement()),m=[];for(var o=0;o<l.elements.length;o++){var p=l.elements[o].getName();if(p in f.$inline)m.unshift(l.elements[o].getOuterHtml().match(/^<.*?>/));else if(p in f.$block)break}j=m.join("")+j}n.call(this,j)}function p(a){var b=this.getSelection(),c=b.getRanges(),d=a.getName(),e=f.$block[d],g=b.isLocked;g&&b.unlock();var h,i,j,l;for(var m=c.length-1;m>=0;m--){h=c[m];if(!h.checkReadOnly()){h.deleteContents(1),i=!m&&a||a.clone(1);var n,o;if(e)while((n=h.getCommonAncestor(0,1))&&(o=f[n.getName()])&&(!o||!o[d]))n.getName()in f.span?h.splitElement(n):h.checkStartOfBlock()&&h.checkEndOfBlock()?(h.setStartBefore(n),h.collapse(!0),n.remove()):h.splitBlock();h.insertNode(i),j||(j=i)}}if(j){h.moveToPosition(j,4);if(e){var p=j.getNext(k),q=p&&p.type==1&&p.getName();q&&f.$block[q]&&f[q]["#"]&&h.moveToElementEditStart(p)}}b.selectRanges([h]),g&&this.getSelection().lock()}function q(a){a.checkDirty()||setTimeout(function(){a.resetDirty()},0)}function t(a){return r(a)&&s(a)}function u(a){return a.type==3&&e.trim(a.getText()).match(/^(?:&nbsp;|\xa0)$/)}function v(a){a.isLocked&&(a.unlock(),setTimeout(function(){a.lock()},0))}function w(a){return a.getOuterHtml().match(i)}function x(a){var b=a.window,c=a.document,e=a.document.getBody(),f=e.getFirst(),g=e.getChildren().count();if(!g||g==1&&f.type==1&&f.hasAttribute("_moz_editor_bogus_node")){q(a);var h=a.element.getDocument(),i=h.getDocumentElement(),j=i.$.scrollTop,k=i.$.scrollLeft,l=c.$.createEvent("KeyEvents");l.initKeyEvent("keypress",!0,!0,b.$,!1,!1,!1,!1,0,32),c.$.dispatchEvent(l),(j!=i.$.scrollTop||k!=i.$.scrollLeft)&&h.getWindow().$.scrollTo(k,j),g&&e.getFirst().remove(),c.getBody().appendBogus();var m=new d.range(c);m.setStartAt(e,1),m.select()}}function y(a){var e=a.editor,f=a.data.path,g=f.blockLimit,h=a.data.selection,i=h.getRanges()[0],j=e.document.getBody(),k=e.config.enterMode;if(b.gecko){x(e);var m=f.block||f.blockLimit,n=m&&m.getLast(t);m&&m.isBlockBoundary()&&
10
- (!n||n.type!=1||!n.isBlockBoundary())&&!m.is("pre")&&!m.getBogus()&&m.appendBogus()}if(e.config.autoParagraph!==!1&&k!=2&&i.collapsed&&g.getName()=="body"&&!f.block){var o=i.fixBlock(!0,e.config.enterMode==3?"div":"p");if(c){var p=o.getFirst(t);p&&u(p)&&p.remove()}if(w(o)){var q=o.getNext(r);q&&q.type==1&&!l(q)?(i.moveToElementEditStart(q),o.remove()):(q=o.getPrevious(r),q&&q.type==1&&!l(q)&&(i.moveToElementEditEnd(q),o.remove()))}i.select(),a.cancel()}var s=new d.range(e.document);s.moveToElementEditEnd(e.document.getBody());var v=new d.elementPath(s.startContainer);if(!v.blockLimit.is("body")){var y;k!=2?y=j.append(e.document.createElement(k==1?"p":"div")):y=j,c||y.appendBogus()}}var i=/(^|<body\b[^>]*>)\s*<(p|div|address|h\d|center|pre)[^>]*>\s*(?:<br[^>]*>|&nbsp;|\u00A0|&#160;)?\s*(:?<\/\2>)?\s*(?=$|<\/body>)/gi,k=d.walker.whitespaces(!0),r=d.walker.whitespaces(!0),s=d.walker.bookmark(!1,!0);r=d.walker.whitespaces(!0),j.add("wysiwygarea",{requires:["editingblock"],init:function(j){function u(b){if(j.readOnly)return;e.tryThese(function(){j.document.$.designMode="on",setTimeout(function(){j.document.$.designMode="off",a.currentInstance==j&&j.document.getBody().focus()},50)},function(){j.document.$.designMode="off";var a=j.document.getBody();a.setAttribute("contentEditable",!1),a.setAttribute("contentEditable",!0),!b&&u(1)})}var k=j.config.enterMode!=2&&j.config.autoParagraph!==!1?j.config.enterMode==3?"div":"p":!1,l=j.lang.editorTitle.replace("%1",j.name),q;j.on("editingBlockReady",function(){function L(a){if(!w)return;w=0,j.fire("ariaWidget",r);var f=a.document,h=f.body,k=f.getElementById("cke_actscrpt");k&&k.parentNode.removeChild(k),h.spellcheck=!j.config.disableNativeSpellChecker;var l=!j.readOnly;c?(h.hideFocus=!0,h.disabled=!0,h.contentEditable=l,h.removeAttribute("disabled")):setTimeout(function(){b.gecko&&b.version>=10900||b.opera?f.$.body.contentEditable=l:b.webkit?f.$.body.parentNode.contentEditable=l:f.$.designMode=l?"off":"on"},0),l&&b.gecko&&e.setTimeout(x,0,null,j),a=j.window=new d.window(a),f=j.document=new g(f),l&&f.on("dblclick",function(a){var b=a.data.getTarget(),c={element:b,dialog:""};j.fire("doubleclick",c),c.dialog&&j.openDialog(c.dialog)}),c&&f.on("click",function(a){var b=a.data.getTarget();if(b.is("input")){var c=b.getAttribute("type");(c=="submit"||c=="reset")&&a.data.preventDefault()}}),!c&&!b.opera&&f.on("mousedown",function(a){var b=a.data.getTarget();b.is("img","hr","input","textarea","select")&&j.getSelection().selectElement(b)}),b.gecko&&f.on("mouseup",function(a){if(a.data.$.button==2){var b=a.data.getTarget();if(!b.getOuterHtml().replace(i,"")){var c=new d.range(f);c.moveToElementEditStart(b),c.select(!0)}}}),f.on("click",function(a){a=a.data,a.getTarget().is("a")&&a.$.button!=2&&a.preventDefault()}),b.webkit&&(f.on("mousedown",function(){o=1}),f.on("click",function(a){a.data.getTarget().is("input","select")&&a.data.preventDefault()}),f.on("mouseup",function(a){a.data.getTarget().is("input","textarea")&&a.data.preventDefault()}));if(l&&c&&f.$.compatMode=="CSS1Compat"||b.gecko||b.opera){var m=f.getDocumentElement();m.on("mousedown",function(a){a.data.getTarget().equals(m)&&(b.gecko&&b.version>=10900&&u(),v.focus())})}var n=c?r:a;n.on("blur",function(){j.focusManager.blur()});var o;n.on("focus",function(){var a=j.document;l&&b.gecko&&b.version>=10900?u():b.opera?a.getBody().focus():b.webkit&&(o||(j.document.getDocumentElement().focus(),o=1)),j.focusManager.focus()});var p=j.keystrokeHandler;p.blockedKeystrokes[8]=!l,p.attach(f),f.getDocumentElement().addClass(f.$.compatMode),l&&f.on("keydown",function(a){var b=a.data.getKeystroke();if(b in{8:1,46:1}){var c=j.getSelection(),d=c.getSelectedElement(),e=c.getRanges()[0];if(d){j.fire("saveSnapshot"),e.moveToPosition(d,3),d.remove(),e.select(),j.fire("saveSnapshot"),a.data.preventDefault();return}}});if(c&&f.$.compatMode=="CSS1Compat"){var q={33:1,34:1};f.on("keydown",function(a){a.data.getKeystroke()in q&&setTimeout(function(){j.getSelection().scrollIntoView()},0)})}c&&j.config.enterMode!=1&&f.on("selectionchange",function(){var a=f.getBody(),b=j.getSelection().getRanges()[0];a.getHtml().match(/^<p>&nbsp;<\/p>$/i)&&b.startContainer.equals(a)&&setTimeout(function(){b=j.getSelection().getRanges()[0],b.startContainer.equals("body")||(a.getFirst().remove(1),b.moveToElementEditEnd(a),b.select(1))},0)}),j.contextMenu&&j.contextMenu.addTarget(f,j.config.browserContextMenuOnCtrl!==!1),setTimeout(function(){j.fire("contentDom"),z&&(j.mode="wysiwyg",j.fire("mode",{previousMode:j._.previousMode}),z=!1),s=!1,t&&(j.focus(),t=!1),setTimeout(function(){j.fire("dataReady")},0);try{j.document.$.execCommand("enableInlineTableEditing",!1,!j.config.disableNativeTableHandles)}catch(a){}if(j.config.disableObjectResizing)try{j.document.$.execCommand("enableObjectResizing",!1,!1)}catch(b){j.document.getBody().on(c?"resizestart":"resize",function(a){a.data.preventDefault()})}c&&setTimeout(function(){if(j.document){var a=j.document.$.body;a.runtimeStyle.marginBottom="0px",a.runtimeStyle.marginBottom=""}},1e3)},0)}var f,r,s,t,w,z,G=b.isCustomDomain(),H=function(d){r&&r.remove();var e="document.open();"+(G?'document.domain="'+document.domain+'";':"")+"document.close();";e=b.air?"javascript:void(0)":c?"javascript:void(function(){"+encodeURIComponent(e)+"}())":"",r=h.createFromHtml('<iframe style="width:100%;height:100%" frameBorder="0" title="'+l+'"'+' src="'+e+'"'+' tabIndex="'+(b.webkit?-1:j.tabIndex)+'"'+' allowTransparency="true"'+"></iframe>"),document.location.protocol=="chrome:"&&(a.event.useCapture=!0),r.on("load",function(a){w=1,a.removeListener();var c=r.getFrameDocument();c.write(d),b.air&&L(c.getWindow().$)}),document.location.protocol=="chrome:"&&(a.event.useCapture=!1),f.append(r)};q=e.addFunction(L);var I='<script id="cke_actscrpt" type="text/javascript" data-cke-temp="1">'+(G?'document.domain="'+document.domain+'";':"")+"window.parent.CKEDITOR.tools.callFunction( "+q+", window );"+"</script>";j.addMode("wysiwyg",{load:function(a,d,e){f=a,c&&b.quirks&&a.setStyle("position","relative"),j.mayBeDirty=!0,z=!0,e?this.loadSnapshotData(d):this.loadData(d)},loadData:function(a){s=!0,j._.dataStore={id:1};var c=j.config,d=c.fullPage,f=c.docType,g='<style type="text/css" data-cke-temp="1">'+j._.styles.join("\n")+"</style>";!d&&(g=e.buildStyleHtml(j.config.contentsCss)+g);var h=c.baseHref?'<base href="'+c.baseHref+'" data-cke-temp="1" />':"";d&&(a=a.replace(/<!DOCTYPE[^>]*>/i,function(a){return j.docType=f=a,""}).replace(/<\?xml\s[^\?]*\?>/i,function(a){return j.xmlDeclaration=a,""})),j.dataProcessor&&(a=j.dataProcessor.toHtml(a,k)),d?(/<body[\s|>]/.test(a)||(a="<body>"+a),/<html[\s|>]/.test(a)||(a="<html>"+a+"</html>"),/<head[\s|>]/.test(a)?/<title[\s|>]/.test(a)||(a=a.replace(/<head[^>]*>/,"$&<title></title>")):a=a.replace(/<html[^>]*>/,"$&<head><title></title></head>"),h&&(a=a.replace(/<head>/,"$&"+h)),a=a.replace(/<\/head\s*>/,g+"$&"),a=f+a):a=c.docType+'<html dir="'+c.contentsLangDirection+'"'+' lang="'+(c.contentsLanguage||j.langCode)+'">'+"<head>"+"<title>"+l+"</title>"+h+g+"</head>"+"<body"+(c.bodyId?' id="'+c.bodyId+'"':"")+(c.bodyClass?' class="'+c.bodyClass+'"':"")+">"+a+"</html>",b.gecko&&(a=a.replace(/<br \/>(?=\s*<\/(:?html|body)>)/,'$&<br type="_moz" />')),a+=I,this.onDispose(),H(a)},getData:function(){var a=j.config,c=a.fullPage,d=c&&j.docType,e=c&&j.xmlDeclaration,f=r.getFrameDocument(),g=c?f.getDocumentElement().getOuterHtml():f.getBody().getHtml();return b.gecko&&(g=g.replace(/<br>(?=\s*(:?$|<\/body>))/,"")),j.dataProcessor&&(g=j.dataProcessor.toDataFormat(g,k)),a.ignoreEmptyParagraph&&(g=g.replace(i,function(a,b){return b})),e&&(g=e+"\n"+g),d&&(g=d+"\n"+g),g},getSnapshotData:function(){return r.getFrameDocument().getBody().getHtml()},loadSnapshotData:function(a){r.getFrameDocument().getBody().setHtml(a)},onDispose:function(){if(!j.document)return;j.document.getDocumentElement().clearCustomData(),j.document.getBody().clearCustomData(),j.window.clearCustomData(),j.document.clearCustomData(),r.clearCustomData(),r.remove()},unload:function(a){this.onDispose(),j.window=j.document=r=f=t=null,j.fire("contentDomUnload")},focus:function(){var a=j.window;s?t=!0:a&&(b.air?setTimeout(function(){a.focus()},0):a.focus(),j.selectionChange())}}),j.on("insertHtml",m(n),null,null,20),j.on("insertElement",m(p),null,null,20),j.on("insertText",m(o),null,null,20),j.on("selectionChange",function(a){if(j.readOnly)return;var b=j.getSelection();if(b&&!b.isLocked){var c=j.checkDirty();j.fire("saveSnapshot",{contentOnly:1}),y.call(this,a),j.fire("updateSnapshot"),!c&&j.resetDirty()}},null,null,1)});var r;j.on("contentDom",function(){var a=j.document.getElementsByTag("title").getItem(0);a.data("cke-title",j.document.$.title),j.document.$.title=l}),j.on("readOnly",function(){if(j.mode=="wysiwyg"){var a=j.getMode();a.loadData(a.getData())}});if(a.document.$.documentMode>=8){j.addCss("html.CSS1Compat [contenteditable=false]{ min-height:0 !important;}");var s=[];for(var t in f.$removeEmpty)s.push("html.CSS1Compat "+t+"[contenteditable=false]");j.addCss(s.join(",")+"{ display:inline-block;}")}else b.gecko&&(j.addCss("html { height: 100% !important; }"),j.addCss("img:-moz-broken { -moz-force-broken-image-icon : 1;\twidth : 24px; height : 24px; }"));j.addCss("html {\t_overflow-y: scroll; cursor: text;\t*cursor:auto;}"),j.addCss("img, input, textarea { cursor: default;}");if(b.gecko||c||b.opera){var v;j.on("uiReady",function(){v=j.container.append(h.createFromHtml('<span tabindex="-1" style="position:absolute;" role="presentation"></span>')),v.on("focus",function(){j.focus()}),j.focusGrabber=v}),j.on("destroy",function(){e.removeFunction(q),v.clearCustomData(),delete j.focusGrabber})}j.on("insertElement",function(a){var b=a.data;if(b.type==1&&(b.is("input")||b.is("textarea"))){var c=b.getAttribute("contenteditable")=="false";c||(b.data("cke-editable",b.hasAttribute("contenteditable")?"true":"1"),b.setAttribute("contenteditable",!1))}})}}),b.gecko&&function(){var a=document.body;if(!a)window.addEventListener("load",arguments.callee,!1);else{var b=a.getAttribute("onpageshow");a.setAttribute("onpageshow",(b?b+";":"")+"event.persisted && (function(){"+"var allInstances = CKEDITOR.instances, editor, doc;"+"for ( var i in allInstances )"+"{"+"\teditor = allInstances[ i ];"+"\tdoc = editor.document;"+"\tif ( doc )"+"\t{"+'\t\tdoc.$.designMode = "off";'+'\t\tdoc.$.designMode = "on";'+"\t}"+"}"+"})();")}}()}(),i.disableObjectResizing=!1,i.disableNativeTableHandles=!0,i.disableNativeSpellChecker=!0,i.ignoreEmptyParagraph=!0,j.add("wsc",{requires:["dialog"],init:function(c){var d="checkspell",e=c.addCommand(d,new a.dialogCommand(d));e.modes={wysiwyg:!b.opera&&!b.air&&document.domain==window.location.hostname},c.ui.addButton("SpellChecker",{label:c.lang.spellCheck.toolbar,command:d}),a.dialog.add(d,this.path+"dialogs/wsc.js")}}),i.wsc_customerId=i.wsc_customerId||"1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk",i.wsc_customLoaderScript=i.wsc_customLoaderScript||null,a.DIALOG_RESIZE_NONE=0,a.DIALOG_RESIZE_WIDTH=1,a.DIALOG_RESIZE_HEIGHT=2,a.DIALOG_RESIZE_BOTH=3,function(){function j(a){return!!this._.tabs[a][0].$.offsetHeight}function l(){var a=this,b=a._.currentTabId,c=a._.tabIdList.length,d=e.indexOf(a._.tabIdList,b)+c;for(var f=d-1;f>d-c;f--)if(j.call(a,a._.tabIdList[f%c]))return a._.tabIdList[f%c];return null}function m(){var a=this,b=a._.currentTabId,c=a._.tabIdList.length,d=e.indexOf(a._.tabIdList,b);for(var f=d+1;f<d+c;f++)if(j.call(a,a._.tabIdList[f%c]))return a._.tabIdList[f%c];return null}function n(a,b){var c=a.$.getElementsByTagName("input");for(var d=0,e=c.length;d<e;d++){var f=new h(c[d]);f.getAttribute("type").toLowerCase()=="text"&&(b?(f.setAttribute("value",f.getCustomData("fake_value")||""),f.removeCustomData("fake_value")):(f.setCustomData("fake_value",f.getAttribute("value")),f.setAttribute("value","")))}}function o(a,b){var c=this,d=c.getInputElement();d&&(a?d.removeAttribute("aria-invalid"):d.setAttribute("aria-invalid",!0)),a||(c.select?c.select():c.focus()),b&&alert(b),c.fire("validated",{valid:a,msg:b})}function p(){var a=this.getInputElement();a&&a.removeAttribute("aria-invalid")}function q(a,b,c){this.element=b,this.focusIndex=c,this.tabIndex=0,this.isFocusable=function(){return!b.getAttribute("disabled")&&b.isVisible()},this.focus=function(){a._.currentFocusIndex=this.focusIndex,this.element.focus()},b.on("keydown",function(a){a.data.getKeystroke()in{32:1,13:1}&&this.fire("click")}),b.on("focus",function(){this.fire("mouseover")}),b.on("blur",function(){this.fire("mouseout")})}function w(a,b){this._={dialog:a},e.extend(this,b)}function x(c){function j(b){var f=c.getSize(),j=a.document.getWindow().getViewPaneSize(),k=b.data.$.screenX,l=b.data.$.screenY,m=k-d.x,n=l-d.y,o,p;d={x:k,y:l},e.x+=m,e.y+=n,e.x+i[3]<h?o=-i[3]:e.x-i[1]>j.width-f.width-h?o=j.width-f.width+(g.lang.dir=="rtl"?0:i[1]):o=e.x,e.y+i[0]<h?p=-i[0]:e.y-i[2]>j.height-f.height-h?p=j.height-f.height+i[2]:p=e.y,c.move(o,p,1),b.data.preventDefault()}function k(c){a.document.removeListener("mousemove",j),a.document.removeListener("mouseup",k);if(b.ie6Compat){var d=B.getChild(0).getFrameDocument();d.removeListener("mousemove",j),d.removeListener("mouseup",k)}}var d=null,e=null,f=c.getElement().getFirst(),g=c.getParentEditor(),h=g.config.dialog_magnetDistance,i=g.skin.margins||[0,0,0,0];typeof h=="undefined"&&(h=20),c.parts.title.on("mousedown",function(f){d={x:f.data.$.screenX,y:f.data.$.screenY},a.document.on("mousemove",j),a.document.on("mouseup",k),e=c.getPosition();if(b.ie6Compat){var g=B.getChild(0).getFrameDocument();g.on("mousemove",j),g.on("mouseup",k)}f.data.preventDefault()},c)}function y(d){function q(a){var b=i.lang.dir=="rtl",c=(a.data.$.screenX-m.x)*(b?-1:1),e=a.data.$.screenY-m.y,h=n.width,o=n.height,p=h+c*(d._.moved?1:2),q=o+e*(d._.moved?1:2),r=d._.element.getFirst(),s=b&&r.getComputedStyle("right"),t=d.getPosition();t.y+q>l.height&&(q=l.height-t.y),(b?s:t.x)+p>l.width&&(p=l.width-(b?s:t.x));if(g==1||g==3)h=Math.max(f.minWidth||0,p-j);if(g==2||g==3)o=Math.max(f.minHeight||0,q-k);d.resize(h,o),d._.moved||d.layout(),a.data.preventDefault()}function r(){a.document.removeListener("mouseup",r),a.document.removeListener("mousemove",q),o&&(o.remove(),o=null);if(b.ie6Compat){var c=B.getChild(0).getFrameDocument();c.removeListener("mouseup",r),c.removeListener("mousemove",q)}}var f=d.definition,g=f.resizable;if(g==0)return;var i=d.getParentEditor(),j,k,l,m,n,o,p=e.addFunction(function(e){n=d.getSize();var f=d.parts.contents,g=f.$.getElementsByTagName("iframe").length;g&&(o=h.createFromHtml('<div class="cke_dialog_resize_cover" style="height: 100%; position: absolute; width: 100%;"></div>'),f.append(o)),k=n.height-d.parts.contents.getSize("height",!(b.gecko||b.opera||c&&b.quirks)),j=n.width-d.parts.contents.getSize("width",1),m={x:e.screenX,y:e.screenY},l=a.document.getWindow().getViewPaneSize(),a.document.on("mousemove",q),a.document.on("mouseup",r);if(b.ie6Compat){var i=B.getChild(0).getFrameDocument();i.on("mousemove",q),i.on("mouseup",r)}e.preventDefault&&e.preventDefault()});d.on("load",function(){var a="";g==1?a=" cke_resizer_horizontal":g==2&&(a=" cke_resizer_vertical");var b=h.createFromHtml('<div class="cke_resizer'+a+" cke_resizer_"+i.lang.dir+'"'+' title="'+e.htmlEncode(i.lang.resize)+'"'+' onmousedown="CKEDITOR.tools.callFunction('+p+', event )"></div>');d.parts.footer.append(b,1)}),i.on("destroy",function(){e.removeFunction(p)})}function C(a){a.data.preventDefault(1)}function D(c){var d=a.document.getWindow(),f=c.config,g=f.dialog_backgroundCoverColor||"white",i=f.dialog_backgroundCoverOpacity,j=f.baseFloatZIndex,k=e.genKey(g,i,j),l=A[k];if(!l){var m=['<div tabIndex="-1" style="position: ',b.ie6Compat?"absolute":"fixed","; z-index: ",j,"; top: 0px; left: 0px; ",b.ie6Compat?"":"background-color: "+g,'" class="cke_dialog_background_cover">'];if(b.ie6Compat){var n=b.isCustomDomain(),o="<html><body style=\\'background-color:"+g+";\\'></body></html>";m.push('<iframe hidefocus="true" frameborder="0" id="cke_dialog_background_iframe" src="javascript:'),m.push("void((function(){document.open();"+(n?"document.domain='"+document.domain+"';":"")+"document.write( '"+o+"' );"+"document.close();"+"})())"),m.push('" style="position:absolute;left:0;top:0;width:100%;height: 100%;progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>')}m.push("</div>"),l=h.createFromHtml(m.join("")),l.setOpacity(i!=undefined?i:.5),l.on("keydown",C),l.on("keypress",C),l.on("keyup",C),l.appendTo(a.document.getBody()),A[k]=l}else l.show();B=l;var p=function(){var a=d.getViewPaneSize();l.setStyles({width:a.width+"px",height:a.height+"px"})},q=function(){var b=d.getScrollPosition(),c=a.dialog._.currentTop;l.setStyles({left:b.x+"px",top:b.y+"px"});if(c)do{var e=c.getPosition();c.move(e.x,e.y)}while(c=c._.parentDialog)};z=p,d.on("resize",p),p(),(!b.mac||!b.webkit)&&l.focus();if(b.ie6Compat){var r=function(){q(),arguments.callee.prevScrollHandler.apply(this,arguments)};d.$.setTimeout(function(){r.prevScrollHandler=window.onscroll||function(){},window.onscroll=r},0),q()}}function E(){if(!B)return;var c=a.document.getWindow();B.hide(),c.removeListener("resize",z),b.ie6Compat&&c.$.setTimeout(function(){var a=window.onscroll&&window.onscroll.prevScrollHandler;window.onscroll=a||null},0),z=null}function F(){for(var a in A)A[a].remove();A={}}var f=e.cssLength;a.dialog=function(f,h){function E(){var a=C._.focusList;a.sort(function(a,b){return a.tabIndex!=b.tabIndex?b.tabIndex-a.tabIndex:a.focusIndex-b.focusIndex});var b=a.length;for(var c=0;c<b;c++)a[c].focusIndex=c}function F(a){var b=C._.focusList,c=a?1:-1;if(b.length<1)return;var d=C._.currentFocusIndex;try{b[d].getInputElement().$.blur()}catch(e){}var f=(d+c+b.length)%b.length,g=f;while(!b[g].isFocusable()){g=(g+c+b.length)%b.length;if(g==f)break}b[g].focus(),b[g].type=="text"&&b[g].select()}function H(b){var c=this;if(C!=a.dialog._.currentTop)return;var d=b.data.getKeystroke(),e=f.lang.dir=="rtl";G=0;if(d==9||d==2228224+9){var g=d==2228224+9;if(C._.tabBarMode){var h=g?l.call(C):m.call(C);C.selectPage(h),C._.tabs[h][0].focus()}else F(!g);G=1}else d==4456448+121&&!C._.tabBarMode&&C.getPageCount()>1?(C._.tabBarMode=!0,C._.tabs[C._.currentTabId][0].focus(),G=1):d!=37&&d!=39||!C._.tabBarMode?(d==13||d==32)&&C._.tabBarMode&&(c.selectPage(c._.currentTabId),c._.tabBarMode=!1,c._.currentFocusIndex=-1,F(!0),G=1):(h=d==(e?39:37)?l.call(C):m.call(C),C.selectPage(h),C._.tabs[h][0].focus(),G=1);G&&(b.stop(),b.data.preventDefault())}function I(a){G&&a.data.preventDefault()}var j=a.dialog._.dialogDefinitions[h],k=e.clone(r),n=f.config.dialog_buttonsOrder||"OS",q=f.lang.dir;(n=="OS"&&b.mac||n=="rtl"&&q=="ltr"||n=="ltr"&&q=="rtl")&&k.buttons.reverse(),j=e.extend(j(f),k),j=e.clone(j),j=new v(this,j);var s=a.document,t=f.theme.buildDialog(f);this._={editor:f,element:t.element,name:h,contentSize:{width:0,height:0},size:{width:0,height:0},contents:{},buttons:{},accessKeyMap:{},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:!1,focusList:[],currentFocusIndex:0,hasFocus:!1},this.parts=t.parts,e.setTimeout(function(){f.fire("ariaWidget",this.parts.contents)},0,this);var u={position:b.ie6Compat?"absolute":"fixed",top:0,visibility:"hidden"};u[q=="rtl"?"right":"left"]=0,this.parts.dialog.setStyles(u),a.event.call(this),this.definition=j=a.fire("dialogDefinition",{name:h,definition:j},f).definition;var w={};if(!("removeDialogTabs"in f._)&&f.config.removeDialogTabs){var z=f.config.removeDialogTabs.split(";");for(i=0;i<z.length;i++){var A=z[i].split(":");if(A.length==2){var B=A[0];w[B]||(w[B]=[]),w[B].push(A[1])}}f._.removeDialogTabs=w}if(f._.removeDialogTabs&&(w=f._.removeDialogTabs[h]))for(i=0;i<w.length;i++)j.removeContents(w[i]);j.onLoad&&this.on("load",j.onLoad),j.onShow&&this.on("show",j.onShow),j.onHide&&this.on("hide",j.onHide),j.onOk&&this.on("ok",function(a){f.fire("saveSnapshot"),setTimeout(function(){f.fire("saveSnapshot")},0),j.onOk.call(this,a)===!1&&(a.data.hide=!1)}),j.onCancel&&this.on("cancel",function(a){j.onCancel.call(this,a)===!1&&(a.data.hide=!1)});var C=this,D=function(a){var b=C._.contents,c=!1;for(var d in b)for(var e in b[d]){c=a.call(this,b[d][e]);if(c)return}};this.on("ok",function(a){D(function(b){if(b.validate){var c=b.validate(this),d=typeof c=="string"||c===!1;return d&&(a.data.hide=!1,a.stop()),o.call(b,!d,typeof c=="string"?c:undefined),d}})},this,null,0),this.on("cancel",function(a){D(function(b){if(b.isChanged())return confirm(f.lang.common.confirmCancel)||(a.data.hide=!1),!0})},this,null,0),this.parts.close.on("click",function(a){this.fire("cancel",{hide:!0}).hide!==!1&&this.hide(),a.data.preventDefault()},this),this.changeFocus=F;var G,J=this._.element;this.on("show",function(){J.on("keydown",H,this,null,0),(b.opera||b.gecko&&b.mac)&&J.on("keypress",I,this)}),this.on("hide",function(){J.removeListener("keydown",H),(b.opera||b.gecko&&b.mac)&&J.removeListener("keypress",I),D(function(a){p.apply(a)})}),this.on("iframeAdded",function(a){var b=new g(a.data.iframe.$.contentWindow.document);b.on("keydown",H,this,null,0)}),this.on("show",function(){var a=this;E();if(f.config.dialog_startupFocusTab&&C._.pageCount>1)C._.tabBarMode=!0,C._.tabs[C._.currentTabId][0].focus();else if(!a._.hasFocus){a._.currentFocusIndex=-1;if(j.onFocus){var b=j.onFocus.call(a);b&&b.focus()}else F(!0);if(a._.editor.mode=="wysiwyg"&&c){var d=f.document.$.selection,e=d.createRange();if(e)if(e.parentElement&&e.parentElement().ownerDocument==f.document.$||e.item&&e.item(0).ownerDocument==f.document.$){var g=document.body.createTextRange();g.moveToElementText(a.getElement().getFirst().$),g.collapse(!0),g.select()}}}},this,null,4294967295),b.ie6Compat&&this.on("load",function(a){var b=this.getElement(),c=b.getFirst();c.remove(),c.appendTo(b)},this),x(this),y(this),(new d.text(j.title,a.document)).appendTo(this.parts.title);for(var K=0;K<j.contents.length;K++){var L=j.contents[K];L&&this.addPage(L)}this.parts.tabs.on("click",function(a){var b=this,c=a.data.getTarget();if(c.hasClass("cke_dialog_tab")){var d=c.$.id;b.selectPage(d.substring(4,d.lastIndexOf("_"))),b._.tabBarMode&&(b._.tabBarMode=!1,b._.currentFocusIndex=-1,F(!0)),a.data.preventDefault()}},this);var M=[],N=a.dialog._.uiElementBuilders.hbox.build(this,{type:"hbox",className:"cke_dialog_footer_buttons",widths:[],children:j.buttons},M).getChild();this.parts.footer.setHtml(M.join(""));for(K=0;K<N.length;K++)this._.buttons[N[K].id]=N[K]},a.dialog.prototype={destroy:function(){this.hide(),this._.element.remove()},resize:function(){return function(b,c){var d=this;if(d._.contentSize&&d._.contentSize.width==b&&d._.contentSize.height==c)return;a.dialog.fire("resize",{dialog:d,skin:d._.editor.skinName,width:b,height:c},d._.editor),d.fire("resize",{skin:d._.editor.skinName,width:b,height:c},d._.editor),d._.editor.lang.dir=="rtl"&&d._.position&&(d._.position.x=a.document.getWindow().getViewPaneSize().width-d._.contentSize.width-parseInt(d._.element.getFirst().getStyle("right"),10)),d._.contentSize={width:b,height:c}}}(),getSize:function(){var a=this._.element.getFirst();return{width:a.$.offsetWidth||0,height:a.$.offsetHeight||0}},move:function(){var b;return function(c,d,e){var f=this,g=f._.element.getFirst(),h=f._.editor.lang.dir=="rtl";b===undefined&&(b=g.getComputedStyle("position")=="fixed");if(b&&f._.position&&f._.position.x==c&&f._.position.y==d)return;f._.position={x:c,y:d};if(!b){var i=a.document.getWindow().getScrollPosition();c+=i.x,d+=i.y}if(h){var j=f.getSize(),k=a.document.getWindow().getViewPaneSize();c=k.width-j.width-c}var l={top:(d>0?d:0)+"px"};l[h?"right":"left"]=(c>0?c:0)+"px",g.setStyles(l),e&&(f._.moved=1)}}(),getPosition:function(){return e.extend({},this._.position)},show:function(){var c=this._.element,d=this.definition;!c.getParent()||!c.getParent().equals(a.document.getBody())?c.appendTo(a.document.getBody()):c.setStyle("display","block");if(b.gecko&&b.version<10900){var f=this.parts.dialog;f.setStyle("position","absolute"),setTimeout(function(){f.setStyle("position","fixed")},0)}this.resize(this._.contentSize&&this._.contentSize.width||d.width||d.minWidth,this._.contentSize&&this._.contentSize.height||d.height||d.minHeight),this.reset(),this.selectPage(this.definition.contents[0].id),a.dialog._.currentZIndex===null&&(a.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex),this._.element.getFirst().setStyle("z-index",a.dialog._.currentZIndex+=10);if(a.dialog._.currentTop===null){a.dialog._.currentTop=this,this._.parentDialog=null,D(this._.editor),c.on("keydown",H),c.on(b.opera?"keypress":"keyup",I);for(var g in{keyup:1,keydown:1,keypress:1})c.on(g,O)}else{this._.parentDialog=a.dialog._.currentTop;var h=this._.parentDialog.getElement().getFirst();h.$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/2),a.dialog._.currentTop=this}J(this,this,"",null,function(){this.getButton("cancel")&&this.getButton("cancel").click()}),this._.hasFocus=!1,e.setTimeout(function(){this.layout(),this.parts.dialog.setStyle("visibility",""),this.fireOnce("load",{}),k.fire("ready",this),this.fire("show",{}),this._.editor.fire("dialogShow",this),this.foreach(function(a){a.setInitValue&&a.setInitValue()})},100,this)},layout:function(){var b=this,c=a.document.getWindow().getViewPaneSize(),d=b.getSize();b.move(b._.moved?b._.position.x:(c.width-d.width)/2,b._.moved?b._.position.y:(c.height-d.height)/2)},foreach:function(a){var b=this;for(var c in b._.contents)for(var d in b._.contents[c])a.call(b,b._.contents[c][d]);return b},reset:function(){var a=function(a){a.reset&&a.reset(1)};return function(){return this.foreach(a),this}}(),setupContent:function(){var a=arguments;this.foreach(function(b){b.setup&&b.setup.apply(b,a)})},commitContent:function(){var a=arguments;this.foreach(function(b){c&&this._.currentFocusIndex==b.focusIndex&&b.getInputElement().$.blur(),b.commit&&b.commit.apply(b,a)})},hide:function(){if(!this.parts.dialog.isVisible())return;this.fire("hide",{}),this._.editor.fire("dialogHide",this);var d=this._.element;d.setStyle("display","none"),this.parts.dialog.setStyle("visibility","hidden"),K(this);while(a.dialog._.currentTop!=this)a.dialog._.currentTop.hide();if(!this._.parentDialog)E();else{var e=this._.parentDialog.getElement().getFirst();e.setStyle("z-index",parseInt(e.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2))}a.dialog._.currentTop=this._.parentDialog;if(!this._.parentDialog){a.dialog._.currentZIndex=null,d.removeListener("keydown",H),d.removeListener(b.opera?"keypress":"keyup",I);for(var f in{keyup:1,keydown:1,keypress:1})d.removeListener(f,O);var g=this._.editor;g.focus();if(g.mode=="wysiwyg"&&c){var h=g.getSelection();h&&h.unlock(!0)}}else a.dialog._.currentZIndex-=10;delete this._.parentDialog,this.foreach(function(a){a.resetInitValue&&a.resetInitValue()})},addPage:function(c){var d=this,f=[],g=c.label?' title="'+e.htmlEncode(c.label)+'"':"",i=c.elements,j=a.dialog._.uiElementBuilders.vbox.build(d,{type:"vbox",className:"cke_dialog_page_contents",children:c.elements,expand:!!c.expand,padding:c.padding,style:c.style||"width: 100%;height:100%"},f),k=h.createFromHtml(f.join(""));k.setAttribute("role","tabpanel");var l=b,m="cke_"+c.id+"_"+e.getNextNumber(),n=h.createFromHtml(['<a class="cke_dialog_tab"',d._.pageCount>0?" cke_last":"cke_first",g,c.hidden?' style="display:none"':"",' id="',m,'"',l.gecko&&l.version>=10900&&!l.hc?"":' href="javascript:void(0)"',' tabIndex="-1"',' hidefocus="true"',' role="tab">',c.label,"</a>"].join(""));k.setAttribute("aria-labelledby",m),d._.tabs[c.id]=[n,k],d._.tabIdList.push(c.id),!c.hidden&&d._.pageCount++,d._.lastTab=n,d.updateStyle();var o=d._.contents[c.id]={},p,q=j.getChild();while(p=q.shift())o[p.id]=p,typeof p.getChild=="function"&&q.push.apply(q,p.getChild());k.setAttribute("name",c.id),k.appendTo(d.parts.contents),n.unselectable(),d.parts.tabs.append(n),c.accessKey&&(J(d,d,"CTRL+"+c.accessKey,M,L),d._.accessKeyMap["CTRL+"+c.accessKey]=c.id)},selectPage:function(a){if(this._.currentTabId==a)return;if(this.fire("selectPage",{page:a,currentPage:this._.currentTabId})===!0)return;for(var c in this._.tabs){var d=this._.tabs[c][0],f=this._.tabs[c][1];c!=a&&(d.removeClass("cke_dialog_tab_selected"),f.hide()),f.setAttribute("aria-hidden",c!=a)}var g=this._.tabs[a];g[0].addClass("cke_dialog_tab_selected"),b.ie6Compat||b.ie7Compat?(n(g[1]),g[1].show(),setTimeout(function(){n(g[1],1)},0)):g[1].show(),this._.currentTabId=a,this._.currentTabIndex=e.indexOf(this._.tabIdList,a)},updateStyle:function(){this.parts.dialog[(this._.pageCount===1?"add":"remove")+"Class"]("cke_single_page")},hidePage:function(a){var b=this,c=b._.tabs[a]&&b._.tabs[a][0];if(!c||b._.pageCount==1||!c.isVisible())return;a==b._.currentTabId&&b.selectPage(l.call(b)),c.hide(),b._.pageCount--,b.updateStyle()},showPage:function(a){var b=this,c=b._.tabs[a]&&b._.tabs[a][0];if(!c)return;c.show(),b._.pageCount++,b.updateStyle()},getElement:function(){return this._.element},getName:function(){return this._.name},getContentElement:function(a,b){var c=this._.contents[a];return c&&c[b]},getValueOf:function(a,b){return this.getContentElement(a,b).getValue()},setValueOf:function(a,b,c){return this.getContentElement(a,b).setValue(c)},getButton:function(a){return this._.buttons[a]},click:function(a){return this._.buttons[a].click()},disableButton:function(a){return this._.buttons[a].disable()},enableButton:function(a){return this._.buttons[a].enable()},getPageCount:function(){return this._.pageCount},getParentEditor:function(){return this._.editor},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement()},addFocusable:function(a,b){var c=this;if(typeof b=="undefined")b=c._.focusList.length,c._.focusList.push(new q(c,a,b));else{c._.focusList.splice(b,0,new q(c,a,b));for(var d=b+1;d<c._.focusList.length;d++)c._.focusList[d].focusIndex++}}},e.extend(a.dialog,{add:function(a,b){if(!this._.dialogDefinitions[a]||typeof b=="function")this._.dialogDefinitions[a]=b},exists:function(a){return!!this._.dialogDefinitions[a]},getCurrent:function(){return a.dialog._.currentTop},okButton:function(){var a=function(a,b){return b=b||{},e.extend({id:"ok",type:"button",label:a.lang.common.ok,"class":"cke_dialog_ui_button_ok",onClick:function(a){var b=a.data.dialog;b.fire("ok",{hide:!0}).hide!==!1&&b.hide()}},b,!0)};return a.type="button",a.override=function(b){return e.extend(function(c){return a(c,b)},{type:"button"},!0)},a}(),cancelButton:function(){var a=function(a,b){return b=b||{},e.extend({id:"cancel",type:"button",label:a.lang.common.cancel,"class":"cke_dialog_ui_button_cancel",onClick:function(a){var b=a.data.dialog;b.fire("cancel",{hide:!0}).hide!==!1&&b.hide()}},b,!0)};return a.type="button",a.override=function(b){return e.extend(function(c){return a(c,b)},{type:"button"},!0)},a}(),addUIElement:function(a,b){this._.uiElementBuilders[a]=b}}),a.dialog._={uiElementBuilders:{},dialogDefinitions:{},currentTop:null,currentZIndex:null},a.event.implementOn(a.dialog),a.event.implementOn(a.dialog.prototype,!0);var r={resizable:3,minWidth:600,minHeight:400,buttons:[a.dialog.okButton,a.dialog.cancelButton]},s=function(a,b,c){for(var d=0,e;e=a[d];d++){if(e.id==b)return e;if(c&&e[c]){var f=s(e[c],b,c);if(f)return f}}return null},t=function(a,b,c,d,e){if(c){for(var f=0,g;g=a[f];f++){if(g.id==c)return a.splice(f,0,b),b;if(d&&g[d]){var h=t(g[d],b,c,d,!0);if(h)return h}}if(e)return null}return a.push(b),b},u=function(a,b,c){for(var d=0,e;e=a[d];d++){if(e.id==b)return a.splice(d,1);if(c&&e[c]){var f=u(e[c],b,c);if(f)return f}}return null},v=function(a,b){this.dialog=a;var c=b.contents;for(var d=0,f;f=c[d];d++)c[d]=f&&new w(a,f);e.extend(this,b)};v.prototype={getContents:function(a){return s(this.contents,a)},getButton:function(a){return s(this.buttons,a)},addContents:function(a,b){return t(this.contents,a,b)},addButton:function(a,b){return t(this.buttons,a,b)},removeContents:function(a){u(this.contents,a)},removeButton:function(a){u(this.buttons,a)}},w.prototype={get:function(a){return s(this.elements,a,"children")},add:function(a,b){return t(this.elements,a,b,"children")},remove:function(a){u(this.elements,a,"children")}};var z,A={},B,G={},H=function(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,d=a.data.$.shiftKey,e=String.fromCharCode(a.data.$.keyCode),f=G[(b?"CTRL+":"")+(c?"ALT+":"")+(d?"SHIFT+":"")+e];if(!f||!f.length)return;f=f[f.length-1],f.keydown&&f.keydown.call(f.uiElement,f.dialog,f.key),a.data.preventDefault()},I=function(a){var b=a.data.$.ctrlKey||a.data.$.metaKey,c=a.data.$.altKey,d=a.data.$.shiftKey,e=String.fromCharCode(a.data.$.keyCode),f=G[(b?"CTRL+":"")+(c?"ALT+":"")+(d?"SHIFT+":"")+e];if(!f||!f.length)return;f=f[f.length-1
11
- ],f.keyup&&(f.keyup.call(f.uiElement,f.dialog,f.key),a.data.preventDefault())},J=function(a,b,c,d,e){var f=G[c]||(G[c]=[]);f.push({uiElement:a,dialog:b,key:c,keyup:e||a.accessKeyUp,keydown:d||a.accessKeyDown})},K=function(a){for(var b in G){var c=G[b];for(var d=c.length-1;d>=0;d--)(c[d].dialog==a||c[d].uiElement==a)&&c.splice(d,1);c.length===0&&delete G[b]}},L=function(a,b){a._.accessKeyMap[b]&&a.selectPage(a._.accessKeyMap[b])},M=function(a,b){},N={27:1,13:1},O=function(a){a.data.getKeystroke()in N&&a.data.stopPropagation()};(function(){k.dialog={uiElement:function(d,f,g,h,i,j,k){if(arguments.length<4)return;var l=(h.call?h(f):h)||"div",m=["<",l," "],n=(i&&i.call?i(f):i)||{},o=(j&&j.call?j(f):j)||{},p=(k&&k.call?k.call(this,d,f):k)||"",q=this.domId=o.id||e.getNextId()+"_uiElement",r=this.id=f.id,s;o.id=q;var t={};f.type&&(t["cke_dialog_ui_"+f.type]=1),f.className&&(t[f.className]=1),f.disabled&&(t.cke_disabled=1);var u=o["class"]&&o["class"].split?o["class"].split(" "):[];for(s=0;s<u.length;s++)u[s]&&(t[u[s]]=1);var v=[];for(s in t)v.push(s);o["class"]=v.join(" "),f.title&&(o.title=f.title);var w=(f.style||"").split(";");if(f.align){var x=f.align;n["margin-left"]=x=="left"?0:"auto",n["margin-right"]=x=="right"?0:"auto"}for(s in n)w.push(s+":"+n[s]);f.hidden&&w.push("display:none");for(s=w.length-1;s>=0;s--)w[s]===""&&w.splice(s,1);w.length>0&&(o.style=(o.style?o.style+"; ":"")+w.join("; "));for(s in o)m.push(s+'="'+e.htmlEncode(o[s])+'" ');m.push(">",p,"</",l,">"),g.push(m.join("")),(this._||(this._={})).dialog=d,typeof f.isChanged=="boolean"&&(this.isChanged=function(){return f.isChanged}),typeof f.isChanged=="function"&&(this.isChanged=f.isChanged),typeof f.setValue=="function"&&(this.setValue=e.override(this.setValue,function(a){return function(b){a.call(this,f.setValue.call(this,b))}})),typeof f.getValue=="function"&&(this.getValue=e.override(this.getValue,function(a){return function(){return f.getValue.call(this,a.call(this))}})),a.event.implementOn(this),this.registerEvents(f),this.accessKeyUp&&this.accessKeyDown&&f.accessKey&&J(this,d,"CTRL+"+f.accessKey);var y=this;d.on("load",function(){var a=y.getInputElement();if(a){var e=y.type in{checkbox:1,ratio:1}&&c&&b.version<8?"cke_dialog_ui_focused":"";a.on("focus",function(){d._.tabBarMode=!1,d._.hasFocus=!0,y.fire("focus"),e&&this.addClass(e)}),a.on("blur",function(){y.fire("blur"),e&&this.removeClass(e)})}}),this.keyboardFocusable&&(this.tabIndex=f.tabIndex||0,this.focusIndex=d._.focusList.push(this)-1,this.on("focus",function(){d._.currentFocusIndex=y.focusIndex})),e.extend(this,f)},hbox:function(a,d,e,g,h){if(arguments.length<4)return;this._||(this._={});var i=this._.children=d,j=h&&h.widths||null,l=h&&h.height||null,m={},n,o=function(){var a=['<tbody><tr class="cke_dialog_ui_hbox">'];for(n=0;n<e.length;n++){var d="cke_dialog_ui_hbox_child",g=[];n===0&&(d="cke_dialog_ui_hbox_first"),n==e.length-1&&(d="cke_dialog_ui_hbox_last"),a.push('<td class="',d,'" role="presentation" '),j?j[n]&&g.push("width:"+f(j[n])):g.push("width:"+Math.floor(100/e.length)+"%"),l&&g.push("height:"+f(l)),h&&h.padding!=undefined&&g.push("padding:"+f(h.padding)),c&&b.quirks&&i[n].align&&g.push("text-align:"+i[n].align),g.length>0&&a.push('style="'+g.join("; ")+'" '),a.push(">",e[n],"</td>")}return a.push("</tr></tbody>"),a.join("")},p={role:"presentation"};h&&h.align&&(p.align=h.align),k.dialog.uiElement.call(this,a,h||{type:"hbox"},g,"table",m,p,o)},vbox:function(a,d,g,h,i){if(arguments.length<3)return;this._||(this._={});var j=this._.children=d,l=i&&i.width||null,m=i&&i.heights||null,n=function(){var d=['<table role="presentation" cellspacing="0" border="0" '];d.push('style="'),i&&i.expand&&d.push("height:100%;"),d.push("width:"+f(l||"100%"),";"),d.push('"'),d.push('align="',e.htmlEncode(i&&i.align||(a.getParentEditor().lang.dir=="ltr"?"left":"right")),'" '),d.push("><tbody>");for(var h=0;h<g.length;h++){var k=[];d.push('<tr><td role="presentation" '),l&&k.push("width:"+f(l||"100%")),m?k.push("height:"+f(m[h])):i&&i.expand&&k.push("height:"+Math.floor(100/g.length)+"%"),i&&i.padding!=undefined&&k.push("padding:"+f(i.padding)),c&&b.quirks&&j[h].align&&k.push("text-align:"+j[h].align),k.length>0&&d.push('style="',k.join("; "),'" '),d.push(' class="cke_dialog_ui_vbox_child">',g[h],"</td></tr>")}return d.push("</tbody></table>"),d.join("")};k.dialog.uiElement.call(this,a,i||{type:"vbox"},h,"div",null,{role:"presentation"},n)}}})(),k.dialog.uiElement.prototype={getElement:function(){return a.document.getById(this.domId)},getInputElement:function(){return this.getElement()},getDialog:function(){return this._.dialog},setValue:function(a,b){return this.getInputElement().setValue(a),!b&&this.fire("change",{value:a}),this},getValue:function(){return this.getInputElement().getValue()},isChanged:function(){return!1},selectParentTab:function(){var a=this,b=a.getInputElement(),c=b,d;while((c=c.getParent())&&c.$.className.search("cke_dialog_page_contents")==-1);return c?(d=c.getAttribute("name"),a._.dialog._.currentTabId!=d&&a._.dialog.selectPage(d),a):a},focus:function(){return this.selectParentTab().getInputElement().focus(),this},registerEvents:function(a){var b=/^on([A-Z]\w+)/,c,d=function(a,b,c,d){b.on("load",function(){a.getInputElement().on(c,d,a)})};for(var e in a){if(!(c=e.match(b)))continue;this.eventProcessors[e]?this.eventProcessors[e].call(this,this._.dialog,a[e]):d(this,this._.dialog,c[1].toLowerCase(),a[e])}return this},eventProcessors:{onLoad:function(a,b){a.on("load",b,this)},onShow:function(a,b){a.on("show",b,this)},onHide:function(a,b){a.on("hide",b,this)}},accessKeyDown:function(a,b){this.focus()},accessKeyUp:function(a,b){},disable:function(){var a=this.getElement(),b=this.getInputElement();b.setAttribute("disabled","true"),a.addClass("cke_disabled")},enable:function(){var a=this.getElement(),b=this.getInputElement();b.removeAttribute("disabled"),a.removeClass("cke_disabled")},isEnabled:function(){return!this.getElement().hasClass("cke_disabled")},isVisible:function(){return this.getInputElement().isVisible()},isFocusable:function(){return!this.isEnabled()||!this.isVisible()?!1:!0}},k.dialog.hbox.prototype=e.extend(new k.dialog.uiElement,{getChild:function(a){var b=this;return arguments.length<1?b._.children.concat():(a.splice||(a=[a]),a.length<2?b._.children[a[0]]:b._.children[a[0]]&&b._.children[a[0]].getChild?b._.children[a[0]].getChild(a.slice(1,a.length)):null)}},!0),k.dialog.vbox.prototype=new k.dialog.hbox,function(){var b={build:function(b,c,d){var e=c.children,f,g=[],h=[];for(var i=0;i<e.length&&(f=e[i]);i++){var j=[];g.push(j),h.push(a.dialog._.uiElementBuilders[f.type].build(b,f,j))}return new k.dialog[c.type](b,h,g,d,c)}};a.dialog.addUIElement("hbox",b),a.dialog.addUIElement("vbox",b)}(),a.dialogCommand=function(a){this.dialogName=a},a.dialogCommand.prototype={exec:function(a){b.opera?e.setTimeout(function(){a.openDialog(this.dialogName)},0,this):a.openDialog(this.dialogName)},canUndo:!1,editorFocus:c||b.webkit},function(){var b=/^([a]|[^a])+$/,c=/^\d*$/,d=/^\d*(?:\.\d+)?$/,f=/^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,g=/^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,h=/^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;a.VALIDATE_OR=1,a.VALIDATE_AND=2,a.dialog.validate={functions:function(){var a=arguments;return function(){var b=this&&this.getValue?this.getValue():a[0],c=undefined,d=2,e=[],f;for(f=0;f<a.length;f++)if(typeof a[f]=="function")e.push(a[f]);else break;f<a.length&&typeof a[f]=="string"&&(c=a[f],f++),f<a.length&&typeof a[f]=="number"&&(d=a[f]);var g=d==2?!0:!1;for(f=0;f<e.length;f++)d==2?g=g&&e[f](b):g=g||e[f](b);return g?!0:c}},regex:function(a,b){return function(){var c=this&&this.getValue?this.getValue():arguments[0];return a.test(c)?!0:b}},notEmpty:function(a){return this.regex(b,a)},integer:function(a){return this.regex(c,a)},number:function(a){return this.regex(d,a)},cssLength:function(a){return this.functions(function(a){return g.test(e.trim(a))},a)},htmlLength:function(a){return this.functions(function(a){return f.test(e.trim(a))},a)},inlineStyle:function(a){return this.functions(function(a){return h.test(e.trim(a))},a)},equals:function(a,b){return this.functions(function(b){return b==a},b)},notEqual:function(a,b){return this.functions(function(b){return b!=a},b)}},a.on("instanceDestroyed",function(b){if(e.isEmpty(a.instances)){var c;while(c=a.dialog._.currentTop)c.hide();F()}var d=b.editor._.storedDialogs;for(var f in d)d[f].destroy()})}(),e.extend(a.editor.prototype,{openDialog:function(b,d){function k(c){var e=a.dialog._.dialogDefinitions[b],f=j.skin.dialog;if(!f._isLoaded||l&&typeof c=="undefined")return;typeof e!="function"&&(a.dialog._.dialogDefinitions[b]="failed"),j.openDialog(b,d)}if(this.mode=="wysiwyg"&&c){var e=this.getSelection();e&&e.lock()}var f=a.dialog._.dialogDefinitions[b],g=this.skin.dialog;a.dialog._.currentTop===null&&D(this);if(typeof f=="function"&&g._isLoaded){var h=this._.storedDialogs||(this._.storedDialogs={}),i=h[b]||(h[b]=new a.dialog(this,b));return d&&d.call(i,i),i.show(),i}if(f=="failed")throw E(),new Error('[CKEDITOR.dialog.openDialog] Dialog "'+b+'" failed when loading definition.');var j=this;if(typeof f=="string"){var l=1;a.scriptLoader.load(a.getUrl(f),k,null,0,1)}return a.skins.load(this,"dialog",k),null}})}(),j.add("dialog",{requires:["dialogui"]}),j.add("styles",{requires:["selection"],init:function(a){a.on("contentDom",function(){a.document.setCustomData("cke_includeReadonly",!a.config.disableReadonlyStyling)})}}),a.editor.prototype.attachStyleStateChange=function(a,b){var c=this._.styleStateChangeCallbacks;c||(c=this._.styleStateChangeCallbacks=[],this.on("selectionChange",function(a){for(var b=0;b<c.length;b++){var d=c[b],e=d.style.checkActive(a.data.path)?1:2;d.fn.call(this,e)}})),c.push({style:a,fn:b})},a.STYLE_BLOCK=1,a.STYLE_INLINE=2,a.STYLE_OBJECT=3,function(){function m(a){var b,c;while(a=a.getParent()){if(a.getName()=="body")break;if(a.getAttribute("data-nostyle"))b=a;else if(!c){var d=a.getAttribute("contentEditable");d=="false"?b=a:d=="true"&&(c=1)}}return b}function n(a){var b=this,e=a.document;if(a.collapsed){var g=D(b,e);a.insertNode(g),a.moveToPosition(g,2);return}var i=b.element,j=b._.definition,l,n=j.ignoreReadonly,o=n||j.includeReadonly;o==undefined&&(o=e.getCustomData("cke_includeReadonly"));var p=f[i]||(l=!0,f.span);a.enlarge(1,1),a.trim();var q=a.createBookmark(),r=q.startNode,s=q.endNode,t=r,u;if(!n){var v=m(r),w=m(s);v&&(t=v.getNextSourceNode(!0)),w&&(s=w)}t.getPosition(s)==2&&(t=0);while(t){var x=!1;if(t.equals(s))t=null,x=!0;else{var y=t.type,z=y==1?t.getName():null,B=z&&t.getAttribute("contentEditable")=="false",C=z&&t.getAttribute("data-nostyle");if(z&&t.data("cke-bookmark")){t=t.getNextSourceNode(!0);continue}if(!z||p[z]&&!C&&(!B||o)&&(t.getPosition(s)|4|0|8)==4+0+8&&(!j.childRule||j.childRule(t))){var E=t.getParent();if(E&&((E.getDtd()||f.span)[i]||l)&&(!j.parentRule||j.parentRule(E))){!u&&(!z||!f.$removeEmpty[z]||(t.getPosition(s)|4|0|8)==4+0+8)&&(u=new d.range(e),u.setStartBefore(t));if(y==3||B||y==1&&!t.getChildCount()){var F=t,G;while((x=!F.getNext(k))&&(G=F.getParent(),p[G.getName()])&&(G.getPosition(r)|2|0|8)==2+0+8&&(!j.childRule||j.childRule(G)))F=G;u.setEndAfter(F)}}else x=!0}else x=!0;t=t.getNextSourceNode(C||B)}if(x&&u&&!u.collapsed){var H=D(b,e),I=H.hasAttributes(),J=u.getCommonAncestor(),K={styles:{},attrs:{},blockedStyles:{},blockedAttrs:{}},L,M,N;while(H&&J){if(J.getName()==i){for(L in j.attributes){if(K.blockedAttrs[L]||!(N=J.getAttribute(M)))continue;H.getAttribute(L)==N?K.attrs[L]=1:K.blockedAttrs[L]=1}for(M in j.styles){if(K.blockedStyles[M]||!(N=J.getStyle(M)))continue;H.getStyle(M)==N?K.styles[M]=1:K.blockedStyles[M]=1}}J=J.getParent()}for(L in K.attrs)H.removeAttribute(L);for(M in K.styles)H.removeStyle(M);I&&!H.hasAttributes()&&(H=null),H?(u.extractContents().appendTo(H),A(b,H),u.insertNode(H),H.mergeSiblings(),c||H.$.normalize()):(H=new h("span"),u.extractContents().appendTo(H),u.insertNode(H),A(b,H),H.remove(!0)),u=null}}a.moveToBookmark(q),a.shrink(2)}function o(a){a.enlarge(1,1);var b=a.createBookmark(),c=b.startNode;if(a.collapsed){var e=new d.elementPath(c.getParent()),f;for(var g=0,h;g<e.elements.length&&(h=e.elements[g]);g++){if(h==e.block||h==e.blockLimit)break;if(this.checkElementRemovable(h)){var i;a.collapsed&&(a.checkBoundaryOfElement(h,2)||(i=a.checkBoundaryOfElement(h,1)))?(f=h,f.match=i?"start":"end"):(h.mergeSiblings(),h.getName()==this.element?z(this,h):B(h,H(this)[h.getName()]))}}if(f){var j=c;for(g=0;!0;g++){var k=e.elements[g];if(k.equals(f))break;if(k.match)continue;k=k.clone(),k.append(j),j=k}j[f.match=="start"?"insertBefore":"insertAfter"](f)}}else{var l=b.endNode,m=this;function n(){var a=new d.elementPath(c.getParent()),b=new d.elementPath(l.getParent()),e=null,f=null;for(var g=0;g<a.elements.length;g++){var h=a.elements[g];if(h==a.block||h==a.blockLimit)break;m.checkElementRemovable(h)&&(e=h)}for(g=0;g<b.elements.length;g++){h=b.elements[g];if(h==b.block||h==b.blockLimit)break;m.checkElementRemovable(h)&&(f=h)}f&&l.breakParent(f),e&&c.breakParent(e)}n();var o=c;while(!o.equals(l)){var p=o.getNextSourceNode();o.type==1&&this.checkElementRemovable(o)&&(o.getName()==this.element?z(this,o):B(o,H(this)[o.getName()]),p.type==1&&p.contains(c)&&(n(),p=c.getNext())),o=p}}a.moveToBookmark(b)}function p(a){var b=a.getCommonAncestor(!0,!0),c=b.getAscendant(this.element,!0);c&&!c.isReadOnly()&&E(c,this)}function q(a){var b=a.getCommonAncestor(!0,!0),c=b.getAscendant(this.element,!0);if(!c)return;var d=this,e=d._.definition,f=e.attributes;if(f)for(var g in f)c.removeAttribute(g,f[g]);if(e.styles)for(var h in e.styles){if(!e.styles.hasOwnProperty(h))continue;c.removeStyle(h)}}function r(a){var b=a.createBookmark(!0),c=a.createIterator();c.enforceRealBlocks=!0,this._.enterMode&&(c.enlargeBr=this._.enterMode!=2);var d,e=a.document,f;while(d=c.getNextParagraph())if(!d.isReadOnly()){var g=D(this,e,d);t(d,g)}a.moveToBookmark(b)}function s(a){var b=this,c=a.createBookmark(1),d=a.createIterator();d.enforceRealBlocks=!0,d.enlargeBr=b._.enterMode!=2;var e;while(e=d.getNextParagraph())if(b.checkElementRemovable(e))if(e.is("pre")){var f=b._.enterMode==2?null:a.document.createElement(b._.enterMode==1?"p":"div");f&&e.copyAttributes(f),t(e,f)}else z(b,e,1);a.moveToBookmark(c)}function t(a,b){var c=!b;c&&(b=a.getDocument().createElement("div"),a.copyAttributes(b));var d=b&&b.is("pre"),e=a.is("pre"),f=d&&!e,g=!d&&e;f?b=y(a,b):g?b=x(c?[a.getHtml()]:v(a),b):a.moveChildren(b),b.replace(a),d?u(b):c&&C(b)}function u(a){var b;if(!((b=a.getPrevious(l))&&b.is&&b.is("pre")))return;var d=w(b.getHtml(),/\n$/,"")+"\n\n"+w(a.getHtml(),/^\n/,"");c?a.$.outerHTML="<pre>"+d+"</pre>":a.setHtml(d),b.remove()}function v(a){var b=/(\S\s*)\n(?:\s|(<span[^>]+data-cke-bookmark.*?\/span>))*\n(?!$)/gi,c=a.getName(),d=w(a.getOuterHtml(),b,function(a,b,c){return b+"</pre>"+c+"<pre>"}),e=[];return d.replace(/<pre\b.*?>([\s\S]*?)<\/pre>/gi,function(a,b){e.push(b)}),e}function w(a,b,c){var d="",e="";return a=a.replace(/(^<span[^>]+data-cke-bookmark.*?\/span>)|(<span[^>]+data-cke-bookmark.*?\/span>$)/gi,function(a,b,c){return b&&(d=b),c&&(e=c),""}),d+a.replace(b,c)+e}function x(a,b){var c;a.length>1&&(c=new d.documentFragment(b.getDocument()));for(var f=0;f<a.length;f++){var g=a[f];g=g.replace(/(\r\n|\r)/g,"\n"),g=w(g,/^[ \t]*\n/,""),g=w(g,/\n$/,""),g=w(g,/^[ \t]+|[ \t]+$/g,function(a,b,c){return a.length==1?"&nbsp;":b?" "+e.repeat("&nbsp;",a.length-1):e.repeat("&nbsp;",a.length-1)+" "}),g=g.replace(/\n/g,"<br>"),g=g.replace(/[ \t]{2,}/g,function(a){return e.repeat("&nbsp;",a.length-1)+" "});if(c){var h=b.clone();h.setHtml(g),c.append(h)}else b.setHtml(g)}return c||b}function y(a,b){var d=a.getBogus();d&&d.remove();var e=a.getHtml();e=w(e,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,""),e=e.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi,"$1"),e=e.replace(/([ \t\n\r]+|&nbsp;)/g," "),e=e.replace(/<br\b[^>]*>/gi,"\n");if(c){var f=a.getDocument().createElement("div");f.append(b),b.$.outerHTML="<pre>"+e+"</pre>",b.copyAttributes(f.getFirst()),b=f.getFirst().remove()}else b.setHtml(e);return b}function z(a,b){var c=a._.definition,d=e.extend({},c.attributes,H(a)[b.getName()]),g=c.styles,h=e.isEmpty(d)&&e.isEmpty(g);for(var i in d)if(i!="class"&&!a._.definition.fullMatch||b.getAttribute(i)==I(i,d[i]))h=b.hasAttribute(i),b.removeAttribute(i);else continue;for(var j in g){if(a._.definition.fullMatch&&b.getStyle(j)!=I(j,g[j],true))continue;h=h||!!b.getStyle(j),b.removeStyle(j)}h&&(!f.$block[b.getName()]||a._.enterMode==2&&!b.hasAttributes()?C(b):b.renameNode(a._.enterMode==1?"p":"div"))}function A(a,b){var c=a._.definition,d=c.attributes,e=c.styles,f=H(a),g=b.getElementsByTag(a.element);for(var h=g.count();--h>=0;)z(a,g.getItem(h));for(var i in f)if(i!=a.element){g=b.getElementsByTag(i);for(h=g.count()-1;h>=0;h--){var j=g.getItem(h);B(j,f[i])}}}function B(a,b){var c=b&&b.attributes;if(c)for(var d=0;d<c.length;d++){var e=c[d][0],f;if(f=a.getAttribute(e)){var g=c[d][1];(g===null||g.test&&g.test(f)||typeof g=="string"&&f==g)&&a.removeAttribute(e)}}C(a)}function C(a){if(!a.hasAttributes())if(f.$block[a.getName()]){var b=a.getPrevious(l),c=a.getNext(l);b&&(b.type==3||!b.isBlockBoundary({br:1}))&&a.append("br",1),c&&(c.type==3||!c.isBlockBoundary({br:1}))&&a.append("br"),a.remove(!0)}else{var d=a.getFirst(),e=a.getLast();a.remove(!0),d&&(d.type==1&&d.mergeSiblings(),e&&!d.equals(e)&&e.type==1&&e.mergeSiblings())}}function D(a,b,c){var d,e=a._.definition,f=a.element;return f=="*"&&(f="span"),d=new h(f,b),c&&c.copyAttributes(d),d=E(d,a),b.getCustomData("doc_processing_style")&&d.hasAttribute("id")?d.removeAttribute("id"):b.setCustomData("doc_processing_style",1),d}function E(b,c){var d=c._.definition,e=d.attributes,f=a.style.getStyleText(d);if(e)for(var g in e)b.setAttribute(g,e[g]);return f&&b.setAttribute("style",f),b}function F(a,b){for(var c in a)a[c]=a[c].replace(j,function(a,c){return b[c]})}function G(b){var c=b._AC;if(c)return c;c={};var d=0,e=b.attributes;if(e)for(var f in e)d++,c[f]=e[f];var g=a.style.getStyleText(b);return g&&(c.style||d++,c.style=g),c._length=d,b._AC=c}function H(a){if(a._.overrides)return a._.overrides;var b=a._.overrides={},c=a._.definition.overrides;if(c){e.isArray(c)||(c=[c]);for(var d=0;d<c.length;d++){var f=c[d],g,h,i;typeof f=="string"?g=f.toLowerCase():(g=f.element?f.element.toLowerCase():a.element,i=f.attributes),h=b[g]||(b[g]={});if(i){var j=h.attributes=h.attributes||[];for(var k in i)j.push([k.toLowerCase(),i[k]])}}}return b}function I(a,b,c){var d=new h("span");return d[c?"setStyle":"setAttribute"](a,b),d[c?"getStyle":"getAttribute"](a)}function J(a,b){var c;if(b!==!1){var d=new h("span");d.setAttribute("style",a),c=d.getAttribute("style")||""}else c=a;return c=c.replace(/(font-family:)(.*?)(?=;|$)/,function(a,b,c){var d=c.split(",");for(var f=0;f<d.length;f++)d[f]=e.trim(d[f].replace(/["']/g,""));return b+d.join(",")}),c.replace(/\s*([;:])\s*/,"$1").replace(/([^\s;])$/,"$1;").replace(/,\s+/g,",").replace(/\"/g,"").toLowerCase()}function K(a){var b={};return a.replace(/&quot;/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(a,c,d){b[c]=d}),b}function L(a,b){typeof a=="string"&&(a=K(a)),typeof b=="string"&&(b=K(b));for(var c in a)if(!(c in b)||b[c]!=a[c]&&a[c]!="inherit"&&b[c]!="inherit")return!1;return!0}function M(a,b){var c=a.getSelection(),d=c.createBookmarks(1),e=c.getRanges(),f=b?this.removeFromRange:this.applyToRange,g,h=e.createIterator();while(g=h.getNextRange())f.call(this,g);d.length==1&&d[0].collapsed?(c.selectRanges(e),a.getById(d[0].startNode).remove()):c.selectBookmarks(d),a.removeCustomData("doc_processing_style")}var b={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,section:1,header:1,footer:1,nav:1,article:1,aside:1,figure:1,dialog:1,hgroup:1,time:1,meter:1,menu:1,command:1,keygen:1,output:1,progress:1,details:1,datagrid:1,datalist:1},g={a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,dt:1,dd:1,form:1,audio:1,video:1},i=/\s*(?:;\s*|$)/,j=/#\((.+?)\)/g,k=d.walker.bookmark(0,1),l=d.walker.whitespaces(1);a.style=function(a,c){var d=this;c&&(a=e.clone(a),F(a.attributes,c),F(a.styles,c));var f=d.element=a.element?typeof a.element=="string"?a.element.toLowerCase():a.element:"*";d.type=b[f]?1:g[f]?3:2,typeof d.element=="object"&&(d.type=3),d._={definition:a}},a.style.prototype={apply:function(a){M.call(this,a,!1)},remove:function(a){M.call(this,a,!0)},applyToRange:function(a){var b=this;return(b.applyToRange=b.type==2?n:b.type==1?r:b.type==3?p:null).call(b,a)},removeFromRange:function(a){var b=this;return(b.removeFromRange=b.type==2?o:b.type==1?s:b.type==3?q:null).call(b,a)},applyToObject:function(a){E(a,this)},checkActive:function(a){var b=this;switch(b.type){case 1:return b.checkElementRemovable(a.block||a.blockLimit,!0);case 3:case 2:var c=a.elements;for(var d=0,e;d<c.length;d++){e=c[d];if(b.type==2&&(e==a.block||e==a.blockLimit))continue;if(b.type==3){var f=e.getName();if(!(typeof b.element=="string"?f==b.element:f in b.element))continue}if(b.checkElementRemovable(e,!0))return!0}}return!1},checkApplicable:function(a){switch(this.type){case 2:case 1:break;case 3:return a.lastElement.getAscendant(this.element,!0)}return!0},checkElementRemovable:function(a,b){var c=this,d=c._.definition;if(!a||!d.ignoreReadonly&&a.isReadOnly())return!1;var e,f=a.getName();if(typeof c.element=="string"?f==c.element:f in c.element){if(!b&&!a.hasAttributes())return!0;e=G(d);if(!e._length)return!0;for(var g in e){if(g=="_length")continue;var h=a.getAttribute(g)||"";if(g=="style"?L(e[g],J(h,!1)):e[g]==h){if(!b)return!0}else if(b)return!1}if(b)return!0}var i=H(c)[a.getName()];if(i){if(!(e=i.attributes))return!0;for(var j=0;j<e.length;j++){g=e[j][0];var k=a.getAttribute(g);if(k){var l=e[j][1];if(l===null||typeof l=="string"&&k==l||l.test(k))return!0}}}return!1},buildPreview:function(b){var c=this._.definition,d=[],e=c.element;e=="bdo"&&(e="span"),d=["<",e];var f=c.attributes;if(f)for(var g in f)d.push(" ",g,'="',f[g],'"');var h=a.style.getStyleText(c);return h&&d.push(' style="',h,'"'),d.push(">",b||c.name,"</",e,">"),d.join("")}},a.style.getStyleText=function(a){var b=a._ST;if(b)return b;b=a.styles;var c=a.attributes&&a.attributes.style||"",d="";c.length&&(c=c.replace(i,";"));for(var e in b){var f=b[e],g=(e+":"+f).replace(i,";");f=="inherit"?d+=g:c+=g}return c.length&&(c=J(c)),c+=d,a._ST=c}}(),a.styleCommand=function(a){this.style=a},a.styleCommand.prototype.exec=function(a){var b=this;a.focus();var c=a.document;return c&&(b.state==2?b.style.apply(c):b.state==1&&b.style.remove(c)),!!c},a.stylesSet=new a.resourceManager("","stylesSet"),a.addStylesSet=e.bind(a.stylesSet.add,a.stylesSet),a.loadStylesSet=function(b,c,d){a.stylesSet.addExternal(b,c,""),a.stylesSet.load(b,d)},a.editor.prototype.getStylesSet=function(b){if(!this._.stylesDefinitions){var c=this,d=c.config.stylesCombo_stylesSet||c.config.stylesSet||"default";if(d instanceof Array){c._.stylesDefinitions=d,b(d);return}var e=d.split(":"),f=e[0],g=e[1],h=j.registered.styles.path;a.stylesSet.addExternal(f,g?e.slice(1).join(":"):h+"styles/"+f+".js",""),a.stylesSet.load(f,function(a){c._.stylesDefinitions=a[f],b(c._.stylesDefinitions)})}else b(this._.stylesDefinitions)},j.add("domiterator"),function(){function a(a){var b=this;if(arguments.length<1)return;b.range=a,b.forceBrBreak=0,b.enlargeBr=1,b.enforceRealBlocks=0,b._||(b._={})}function i(a,b,c){var d=a.getNextSourceNode(b,null,c);while(!f(d))d=d.getNextSourceNode(b,null,c);return d}var b=/^[\r\n\t ]+$/,f=d.walker.bookmark(!1,!0),g=d.walker.whitespaces(!0),h=function(a){return f(a)&&g(a)};a.prototype={getNextParagraph:function(a){var g=this,j,k,l,m,p,s;if(!g._.lastNode){k=g.range.clone(),k.shrink(1,!0),m=k.endContainer.hasAscendant("pre",!0)||k.startContainer.hasAscendant("pre",!0),k.enlarge(g.forceBrBreak&&!m||!g.enlargeBr?3:2);var t=new d.walker(k),u=d.walker.bookmark(!0,!0);t.evaluator=u,g._.nextNode=t.next(),t=new d.walker(k),t.evaluator=u;var v=t.previous();g._.lastNode=v.getNextSourceNode(!0);if(g._.lastNode&&g._.lastNode.type==3&&!e.trim(g._.lastNode.getText())&&g._.lastNode.getParent().isBlockBoundary()){var w=new d.range(k.document);w.moveToPosition(g._.lastNode,4);if(w.checkEndOfBlock()){var x=new d.elementPath(w.endContainer),y=x.block||x.blockLimit;g._.lastNode=y.getNextSourceNode(!0)}}g._.lastNode||(g._.lastNode=g._.docEndMarker=k.document.createText(""),g._.lastNode.insertAfter(v)),k=null}var z=g._.nextNode;v=g._.lastNode,g._.nextNode=null;while(z){var A=0,B=z.hasAscendant("pre"),C=z.type!=1,D=0;if(!C){var E=z.getName();if(z.isBlockBoundary(g.forceBrBreak&&!B&&{br:1})){if(E=="br")C=1;else if(!k&&!z.getChildCount()&&E!="hr"){j=z,l=z.equals(v);break}k&&(k.setEndAt(z,3),E!="br"&&(g._.nextNode=z)),A=1}else{if(z.getFirst()){k||(k=new d.range(g.range.document),k.setStartAt(z,3)),z=z.getFirst();continue}C=1}}else z.type==3&&b.test(z.getText())&&(C=0);C&&!k&&(k=new d.range(g.range.document),k.setStartAt(z,3)),l=(!A||C)&&z.equals(v);if(k&&!A)while(!z.getNext(h)&&!l){var F=z.getParent();if(F.isBlockBoundary(g.forceBrBreak&&!B&&{br:1})){A=1,C=0,l=l||F.equals(v),k.setEndAt(F,2);break}z=F,C=1,l=z.equals(v),D=1}C&&k.setEndAt(z,4),z=i(z,D,v),l=!z;if(l||A&&k)break}if(!j){if(!k)return g._.docEndMarker&&g._.docEndMarker.remove(),g._.nextNode=null,null;var G=new d.elementPath(k.startContainer),H=G.blockLimit,I={div:1,th:1,td:1};j=G.block;if(!j&&!g.enforceRealBlocks&&I[H.getName()]&&k.checkStartOfBlock()&&k.checkEndOfBlock())j=H;else if(!j||g.enforceRealBlocks&&j.getName()=="li")j=g.range.document.createElement(a||"p"),k.extractContents().appendTo(j),j.trim(),k.insertNode(j),p=s=!0;else if(j.getName()!="li"){if(!k.checkStartOfBlock()||!k.checkEndOfBlock()){j=j.clone(!1),k.extractContents().appendTo(j),j.trim();var J=k.splitBlock();p=!J.wasStartOfBlock,s=!J.wasEndOfBlock,k.insertNode(j)}}else l||(g._.nextNode=j.equals(v)?null:i(k.getBoundaryNodes().endNode,1,v))}if(p){var K=j.getPrevious();K&&K.type==1&&(K.getName()=="br"?K.remove():K.getLast()&&K.getLast().$.nodeName.toLowerCase()=="br"&&K.getLast().remove())}if(s){var L=j.getLast();L&&L.type==1&&L.getName()=="br"&&(c||L.getPrevious(f)||L.getNext(f))&&L.remove()}return g._.nextNode||(g._.nextNode=l||j.equals(v)?null:i(j,1,v)),j}},d.range.prototype.createIterator=function(){return new a(this)}}(),j.add("panelbutton",{requires:["button"],onLoad:function(){function b(a){var b=this,c=b._;if(c.state==0)return;b.createPanel(a);if(c.on){c.panel.hide();return}c.panel.showBlock(b._.id,b.document.getById(b._.id),4)}k.panelButton=e.createClass({base:k.button,$:function(c){var d=this,e=c.panel;delete c.panel,d.base(c),d.document=e&&e.parent&&e.parent.getDocument()||a.document,e.block={attributes:e.attributes},d.hasArrow=!0,d.click=b,d._={panelDefinition:e}},statics:{handler:{create:function(a){return new k.panelButton(a)}}},proto:{createPanel:function(b){var c=this._;if(c.panel)return;var d=this._.panelDefinition||{},e=this._.panelDefinition.block,f=d.parent||a.document.getBody(),g=this._.panel=new k.floatPanel(b,f,d),h=g.addBlock(c.id,e),i=this;g.onShow=function(){i.className&&this.element.getFirst().addClass(i.className+"_panel"),i.setState(1),c.on=1,i.onOpen&&i.onOpen()},g.onHide=function(a){i.className&&this.element.getFirst().removeClass(i.className+"_panel"),i.setState(i.modes&&i.modes[b.mode]?2:0),c.on=0,!a&&i.onClose&&i.onClose()},g.onEscape=function(){g.hide(),i.document.getById(c.id).focus()},this.onBlock&&this.onBlock(g,h),h.onHide=function(){c.on=0,i.setState(2)}}}})},beforeInit:function(a){a.ui.addHandler("panelbutton",k.panelButton.handler)}}),a.UI_PANELBUTTON="panelbutton",j.add("floatpanel",{requires:["panel"]}),function(){function i(a,b,c,d,g){var i=e.genKey(b.getUniqueId(),c.getUniqueId(),a.skinName,a.lang.dir,a.uiColor||"",d.css||"",g||""),j=f[i];return j||(j=f[i]=new k.panel(b,d),j.element=c.append(h.createFromHtml(j.renderHtml(a),b)),j.element.setStyles({display:"none",position:"absolute"})),j}var f={},g=!1;k.floatPanel=e.createClass({$:function(a,b,c,d){c.forceIFrame=1;var e=b.getDocument(),f=i(a,e,b,c,d||0),g=f.element,h=g.getFirst().getFirst();this.element=g,this._={editor:a,panel:f,parentElement:b,definition:c,document:e,iframe:h,children:[],dir:a.lang.dir},a.on("mode",function(){this.hide()},this)},proto:{addBlock:function(a,b){return this._.panel.addBlock(a,b)},addListBlock:function(a,b){return this._.panel.addListBlock(a,b)},getBlock:function(a){return this._.panel.getBlock(a)},showBlock:function(f,i,j,k,l){var m=this._.panel,o=m.showBlock(f);this.allowBlur(!1),g=1,this._.returnFocus=this._.editor.focusManager.hasFocus?this._.editor:new h(a.document.$.activeElement);var p=this.element,q=this._.iframe,r=this._.definition,s=i.getDocumentPosition(p.getDocument()),t=this._.dir=="rtl",u=s.x+(k||0),v=s.y+(l||0);!t||j!=1&&j!=4?!t&&(j==2||j==3)&&(u+=i.$.offsetWidth-1):u+=i.$.offsetWidth;if(j==3||j==4)v+=i.$.offsetHeight-1;this._.panel._.offsetParentId=i.getId(),p.setStyles({top:v+"px",left:0,display:""}),p.setOpacity(0),p.getFirst().removeStyle("width");if(!this._.blurSet){var w=c?q:new d.window(q.$.contentWindow);a.event.useCapture=!0,w.on("blur",function(a){var b=this;if(!b.allowBlur())return;var c=a.data.getTarget();if(c.getName&&c.getName()!="iframe")return;b.visible&&!b._.activeChild&&!g&&(delete b._.returnFocus,b.hide())},this),w.on("focus",function(){this._.focused=!0,this.hideChild(),this.allowBlur(!0)},this),a.event.useCapture=!1,this._.blurSet=1}m.onEscape=e.bind(function(a){if(this.onEscape&&this.onEscape(a)===!1)return!1},this),e.setTimeout(function(){t&&(u-=p.$.offsetWidth);var a=e.bind(function(){var a=p.getFirst();if(o.autoSize){var d=o.element.$;if(b.gecko||b.opera)d=d.parentNode;c&&(d=d.document.body);var e=d.scrollWidth;c&&b.quirks&&e>0&&(e+=(a.$.offsetWidth||0)-(a.$.clientWidth||0)+3),e+=4,a.setStyle("width",e+"px"),o.element.addClass("cke_frameLoaded");var f=o.element.$.scrollHeight;c&&b.quirks&&f>0&&(f+=(a.$.offsetHeight||0)-(a.$.clientHeight||0)+3),a.setStyle("height",f+"px"),m._.currentBlock.element.setStyle("display","none").removeStyle("display")}else a.removeStyle("height");var g=m.element,i=g.getWindow(),j=i.getScrollPosition(),k=i.getViewPaneSize(),l={height:g.$.offsetHeight,width:g.$.offsetWidth};if(t?u<0:u+l.width>k.width+j.x)u+=l.width*(t?1:-1);v+l.height>k.height+j.y&&(v-=l.height);if(c){var n=new h(p.$.offsetParent),q=n;q.getName()=="html"&&(q=q.getDocument().getBody()),q.getComputedStyle("direction")=="rtl"&&(b.ie8Compat?u-=p.getDocument().getDocumentElement().$.scrollLeft*2:u-=n.$.scrollWidth-n.$.clientWidth)}var r=p.getFirst(),s;(s=r.getCustomData("activePanel"))&&s.onHide&&s.onHide.call(this,1),r.setCustomData("activePanel",this),p.setStyles({top:v+"px",left:u+"px"}),p.setOpacity(1)},this);m.isLoaded?a():m.onLoad=a,e.setTimeout(function(){q.$.contentWindow.focus(),this.allowBlur(!0)},0,this)},b.air?200:0,this),this.visible=1,this.onShow&&this.onShow.call(this),g=0},hide:function(a){var c=this;if(c.visible&&(!c.onHide||c.onHide.call(c)!==!0)){c.hideChild(),b.gecko&&c._.iframe.getFrameDocument().$.activeElement.blur(),c.element.setStyle("display","none"),c.visible=0,c.element.getFirst().removeCustomData("activePanel");var d=a!==!1&&c._.returnFocus;d&&(b.webkit&&d.type&&d.getWindow().$.focus(),d.focus())}},allowBlur:function(a){var b=this._.panel;return a!=undefined&&(b.allowBlur=a),b.allowBlur},showAsChild:function(a,c,d,f,g,h){if(this._.activeChild==a&&a._.panel._.offsetParentId==d.getId())return;this.hideChild(),a.onHide=e.bind(function(){e.setTimeout(function(){this._.focused||this.hide()},0,this)},this),this._.activeChild=a,this._.focused=!1,a.showBlock(c,d,f,g,h),(b.ie7Compat||b.ie8&&b.ie6Compat)&&setTimeout(function(){a.element.getChild(0).$.style.cssText+=""},100)},hideChild:function(){var a=this._.activeChild;a&&(delete a.onHide,delete a._.returnFocus,delete this._.activeChild,a.hide())}}}),a.on("instanceDestroyed",function(){var b=e.isEmpty(a.instances);for(var c in f){var d=f[c];b?d.destroy():d.element.hide()}b&&(f={})})}(),j.add("menu",{beforeInit:function(b){var c=b.config.menu_groups.split(","),d=b._.menuGroups={},e=b._.menuItems={};for(var f=0;f<c.length;f++)d[c[f]]=f+1;b.addMenuGroup=function(a,b){d[a]=b||100},b.addMenuItem=function(b,c){d[c.group]&&(e[b]=new a.menuItem(this,b,c))},b.addMenuItems=function(a){for(var b in a)this.addMenuItem(b,a[b])},b.getMenuItem=function(a){return e[a]},b.removeMenuItem=function(a){delete e[a]}},requires:["floatpanel"]}),function(){function d(a){a.sort(function(a,b){return a.group<b.group?-1:a.group>b.group?1:a.order<b.order?-1:a.order>b.order?1:0})}a.menu=e.createClass({$:function(a,b){var c=this;b=c._.definition=b||{},c.id=e.getNextId(),c.editor=a,c.items=[],c._.listeners=[],c._.level=b.level||1;var d=e.extend({},b.panel,{css:a.skin
12
- .editor.css,level:c._.level-1,block:{}}),f=d.block.attributes=d.attributes||{};!f.role&&(f.role="menu"),c._.panelDefinition=d},_:{onShow:function(){var a=this,b=a.editor.getSelection();c&&b&&b.lock();var d=b&&b.getStartElement(),e=a._.listeners,f=[];a.removeAll();for(var g=0;g<e.length;g++){var h=e[g](d,b);if(h)for(var i in h){var j=a.editor.getMenuItem(i);j&&(!j.command||a.editor.getCommand(j.command).state)&&(j.state=h[i],a.add(j))}}},onClick:function(a){this.hide(!1),a.onClick?a.onClick():a.command&&this.editor.execCommand(a.command)},onEscape:function(a){var b=this.parent;if(b){b._.panel.hideChild();var c=b._.panel._.panel._.currentBlock,d=c._.focusIndex;c._.markItem(d)}else a==27&&this.hide();return!1},onHide:function(){if(c){var a=this.editor.getSelection();a&&a.unlock()}this.onHide&&this.onHide()},showSubMenu:function(b){var c=this,d=c._.subMenu,f=c.items[b],g=f.getItems&&f.getItems();if(!g){c._.panel.hideChild();return}var h=c._.panel.getBlock(c.id);h._.focusIndex=b,d?d.removeAll():(d=c._.subMenu=new a.menu(c.editor,e.extend({},c._.definition,{level:c._.level+1},!0)),d.parent=c,d._.onClick=e.bind(c._.onClick,c));for(var i in g){var j=c.editor.getMenuItem(i);j&&(j.state=g[i],d.add(j))}var k=c._.panel.getBlock(c.id).element.getDocument().getById(c.id+String(b));d.show(k,2)}},proto:{add:function(a){a.order||(a.order=this.items.length),this.items.push(a)},removeAll:function(){this.items=[]},show:function(b,f,g,h){if(!this.parent){this._.onShow();if(!this.items.length)return}f=f||(this.editor.lang.dir=="rtl"?2:1);var i=this.items,j=this.editor,l=this._.panel,n=this._.element;if(!l){l=this._.panel=new k.floatPanel(this.editor,a.document.getBody(),this._.panelDefinition,this._.level),l.onEscape=e.bind(function(a){if(this._.onEscape(a)===!1)return!1},this),l.onHide=e.bind(function(){this._.onHide&&this._.onHide()},this);var o=l.addBlock(this.id,this._.panelDefinition.block);o.autoSize=!0;var p=o.keys;p[40]="next",p[9]="next",p[38]="prev",p[2228233]="prev",p[j.lang.dir=="rtl"?37:39]=c?"mouseup":"click",p[32]=c?"mouseup":"click",c&&(p[13]="mouseup"),n=this._.element=o.element,n.addClass(j.skinClass);var q=n.getDocument();q.getBody().setStyle("overflow","hidden"),q.getElementsByTag("html").getItem(0).setStyle("overflow","hidden"),this._.itemOverFn=e.addFunction(function(a){var b=this;clearTimeout(b._.showSubTimeout),b._.showSubTimeout=e.setTimeout(b._.showSubMenu,j.config.menu_subMenuDelay||400,b,[a])},this),this._.itemOutFn=e.addFunction(function(a){clearTimeout(this._.showSubTimeout)},this),this._.itemClickFn=e.addFunction(function(a){var b=this,c=b.items[a];if(c.state==0){b.hide();return}c.getItems?b._.showSubMenu(a):b._.onClick(c)},this)}d(i);var r=j.container.getChild(1),s=r.hasClass("cke_mixed_dir_content")?" cke_mixed_dir_content":"",t=['<div class="cke_menu'+s+'" role="presentation">'],u=i.length,v=u&&i[0].group;for(var w=0;w<u;w++){var x=i[w];v!=x.group&&(t.push('<div class="cke_menuseparator" role="separator"></div>'),v=x.group),x.render(this,w,t)}t.push("</div>"),n.setHtml(t.join("")),k.fire("ready",this),this.parent?this.parent._.panel.showAsChild(l,this.id,b,f,g,h):l.showBlock(this.id,b,f,g,h),j.fire("menuShow",[l])},addListener:function(a){this._.listeners.push(a)},hide:function(a){var b=this;b._.onHide&&b._.onHide(),b._.panel&&b._.panel.hide(a)}}}),a.menuItem=e.createClass({$:function(a,b,c){var d=this;e.extend(d,c,{order:0,className:"cke_button_"+b}),d.group=a._.menuGroups[d.group],d.editor=a,d.name=b},proto:{render:function(d,e,f){var g=this,h=d.id+String(e),i=typeof g.state=="undefined"?2:g.state,j=" cke_"+(i==1?"on":i==0?"disabled":"off"),k=g.label;g.className&&(j+=" "+g.className);var l=g.getItems;f.push('<span class="cke_menuitem'+(g.icon&&g.icon.indexOf(".png")==-1?" cke_noalphafix":"")+'">'+'<a id="',h,'" class="',j,'" href="javascript:void(\'',(g.label||"").replace("'",""),'\')" title="',g.label,'" tabindex="-1"_cke_focus=1 hidefocus="true" role="menuitem"'+(l?'aria-haspopup="true"':"")+(i==0?'aria-disabled="true"':"")+(i==1?'aria-pressed="true"':"")),(b.opera||b.gecko&&b.mac)&&f.push(' onkeypress="return false;"'),b.gecko&&f.push(' onblur="this.style.cssText = this.style.cssText;"');var m=(g.iconOffset||0)*-16;f.push(' onmouseover="CKEDITOR.tools.callFunction(',d._.itemOverFn,",",e,');" onmouseout="CKEDITOR.tools.callFunction(',d._.itemOutFn,",",e,');" '+(c?'onclick="return false;" onmouseup':"onclick")+'="CKEDITOR.tools.callFunction(',d._.itemClickFn,",",e,'); return false;"><span class="cke_icon_wrapper"><span class="cke_icon"'+(g.icon?' style="background-image:url('+a.getUrl(g.icon)+");background-position:0 "+m+'px;"':"")+"></span></span>"+'<span class="cke_label">'),l&&f.push('<span class="cke_menuarrow">',"<span>&#",g.editor.lang.dir=="rtl"?"9668":"9658",";</span>","</span>"),f.push(k,"</span></a></span>")}}})}(),i.menu_groups="clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div",function(){var c;j.add("editingblock",{init:function(d){if(!d.config.editingBlock)return;d.on("themeSpace",function(a){a.data.space=="contents"&&(a.data.html+="<br>")}),d.on("themeLoaded",function(){d.fireOnce("editingBlockReady")}),d.on("uiReady",function(){d.setMode(d.config.startupMode)}),d.on("afterSetData",function(){if(!c){function a(){c=!0,d.getMode().loadData(d.getData()),c=!1}d.mode?a():d.on("mode",function(){d.mode&&(a(),d.removeListener("mode",arguments.callee))})}}),d.on("beforeGetData",function(){!c&&d.mode&&(c=!0,d.setData(d.getMode().getData(),null,1),c=!1)}),d.on("getSnapshot",function(a){d.mode&&(a.data=d.getMode().getSnapshotData())}),d.on("loadSnapshot",function(a){d.mode&&d.getMode().loadSnapshotData(a.data)}),d.on("mode",function(c){c.removeListener(),b.webkit&&d.container.on("focus",function(){d.focus()}),d.config.startupFocus&&d.focus(),setTimeout(function(){d.fireOnce("instanceReady"),a.fire("instanceReady",null,d)},0)}),d.on("destroy",function(){var a=this;a.mode&&a._.modes[a.mode].unload(a.getThemeSpace("contents"))})}}),a.editor.prototype.mode="",a.editor.prototype.addMode=function(a,b){b.name=a,(this._.modes||(this._.modes={}))[a]=b},a.editor.prototype.setMode=function(a){this.fire("beforeSetMode",{newMode:a});var b,c=this.getThemeSpace("contents"),d=this.checkDirty();if(this.mode){if(a==this.mode)return;this._.previousMode=this.mode,this.fire("beforeModeUnload");var e=this.getMode();b=e.getData(),e.unload(c),this.mode=""}c.setHtml("");var f=this.getMode(a);if(!f)throw'[CKEDITOR.editor.setMode] Unknown mode "'+a+'".';d||this.on("mode",function(){this.resetDirty(),this.removeListener("mode",arguments.callee)}),f.load(c,typeof b!="string"?this.getData():b)},a.editor.prototype.getMode=function(a){return this._.modes&&this._.modes[a||this.mode]},a.editor.prototype.focus=function(){this.forceNextSelectionCheck();var a=this.getMode();a&&a.focus()}}(),i.startupMode="wysiwyg",i.editingBlock=!0,function(){function i(){var a=this;try{var b=a.getSelection();if(!b||!b.document.getWindow().$)return;var c=b.getStartElement(),e=new d.elementPath(c);e.compare(a._.selectionPreviousPath)||(a._.selectionPreviousPath=e,a.fire("selectionChange",{selection:b,path:e,element:c}))}catch(f){}}function m(){l=!0;if(k)return;n.call(this),k=e.setTimeout(n,200,this)}function n(){k=null,l&&(e.setTimeout(i,0,this),l=!1)}function o(a){function b(a){return a&&a.type==1&&a.getName()in f.$removeEmpty}function c(b){var c=a.document.getBody();return!b.is("body")&&c.getChildCount()==1}var d=a.startContainer,g=a.startOffset;return d.type==3?!1:e.trim(d.getHtml())?b(d.getChild(g-1))||b(d.getChild(g)):b(d)||c(d)}function q(a){t(a);var b=a.createText("​");return a.setCustomData("cke-fillingChar",b),b}function r(a){return a&&a.getCustomData("cke-fillingChar")}function s(a){var b=a&&r(a);b&&(b.getCustomData("ready")?t(a):b.setCustomData("ready",1))}function t(a){var b=a&&a.removeCustomData("cke-fillingChar");b&&(b.setText(b.getText().replace(/\u200B/g,"")),b=0)}var k,l,p={modes:{wysiwyg:1,source:1},readOnly:c||b.webkit,exec:function(a){switch(a.mode){case"wysiwyg":a.document.$.execCommand("SelectAll",!1,null),a.forceNextSelectionCheck(),a.selectionChange();break;case"source":var b=a.textarea.$;c?b.createTextRange().execCommand("SelectAll"):(b.selectionStart=0,b.selectionEnd=b.value.length),b.focus()}},canUndo:!1};j.add("selection",{init:function(a){if(b.webkit){a.on("selectionChange",function(){s(a.document)}),a.on("beforeSetMode",function(){t(a.document)}),a.on("key",function(b){switch(b.data.keyCode){case 13:case 2228237:case 37:case 39:case 8:t(a.document)}},null,null,10);var d,f;function g(){var b=a.document,c=r(b);if(c){var e=b.$.defaultView.getSelection();e.type=="Caret"&&e.anchorNode==c.$&&(f=1),d=c.getText(),c.setText(d.replace(/\u200B/g,""))}}function h(){var b=a.document,c=r(b);c&&(c.setText(d),f&&(b.$.defaultView.getSelection().setPosition(c.$,c.getLength()),f=0))}a.on("beforeUndoImage",g),a.on("afterUndoImage",h),a.on("beforeGetData",g,null,null,0),a.on("getData",h)}a.on("contentDom",function(){var d=a.document,f=d.getBody(),g=d.getDocumentElement();if(c){var h,i,j=1;f.on("focusin",function(a){if(a.data.$.srcElement.nodeName!="BODY")return;if(h){if(j){try{h.select()}catch(b){}var c=d.getCustomData("cke_locked_selection");c&&(c.unlock(),c.lock())}h=null}}),f.on("focus",function(){i=1,n()}),f.on("beforedeactivate",function(a){if(a.data.$.toElement)return;i=0,j=1}),c&&b.version<8&&a.on("blur",function(b){try{a.document&&a.document.$.selection.empty()}catch(c){}}),g.on("mousedown",function(){j=0}),g.on("mouseup",function(){j=1}),c&&(b.ie7Compat||b.version<8||b.quirks)&&g.on("click",function(b){b.data.getTarget().getName()=="html"&&a.getSelection().getRanges()[0].select()});var k;f.on("mousedown",function(b){if(b.data.$.button==2){var c=a.document.$.selection;c.type=="None"&&(k=a.window.getScrollPosition())}l()}),f.on("mouseup",function(b){b.data.$.button==2&&k&&(a.document.$.documentElement.scrollLeft=k.x,a.document.$.documentElement.scrollTop=k.y),k=null,i=1,setTimeout(function(){n(!0)},0)}),f.on("keydown",l),f.on("keyup",function(){i=1,n()}),d.on("selectionchange",n);function l(){i=0}function n(b){if(i){var c=a.document,d=a.getSelection(),f=d&&d.getNative();if(b&&f&&f.type=="None"&&!c.$.queryCommandEnabled("InsertImage")){e.setTimeout(n,50,this,!0);return}var g;if(f&&f.type&&f.type!="Control"&&(g=f.createRange())&&(g=g.parentElement())&&(g=g.nodeName)&&g.toLowerCase()in{input:1,textarea:1})return;h=f&&d.getRanges()[0],m.call(a)}}}else d.on("mouseup",m,a),d.on("keyup",m,a),d.on("selectionchange",m,a)}),a.on("contentDomUnload",a.forceNextSelectionCheck,a),a.addCommand("selectAll",p),a.ui.addButton("SelectAll",{label:a.lang.selectAll,command:"selectAll"}),a.selectionChange=m,b.ie9Compat&&a.on("destroy",function(){var b=a.getSelection();b&&b.getNative().clear()},null,null,9)}}),a.editor.prototype.getSelection=function(){return this.document&&this.document.getSelection()},a.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath},g.prototype.getSelection=function(){var a=new d.selection(this);return!a||a.isInvalid?null:a},a.SELECTION_NONE=1,a.SELECTION_TEXT=2,a.SELECTION_ELEMENT=3,d.selection=function(a){var b=this,d=a.getCustomData("cke_locked_selection");if(d)return d;b.document=a,b.isLocked=0,b._={cache:{}};if(c){var e=b.getNative().createRange();if(!e||e.item&&e.item(0).ownerDocument!=b.document.$||e.parentElement&&e.parentElement().ownerDocument!=b.document.$)b.isInvalid=!0}return b};var u={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};d.selection.prototype={getNative:c?function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.$.selection)}:function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.getWindow().$.getSelection())},getType:c?function(){var a=this._.cache;if(a.type)return a.type;var b=1;try{var c=this.getNative(),d=c.type;d=="Text"&&(b=2),d=="Control"&&(b=3),c.createRange().parentElement&&(b=2)}catch(e){}return a.type=b}:function(){var a=this._.cache;if(a.type)return a.type;var b=2,c=this.getNative();if(!c)b=1;else if(c.rangeCount==1){var d=c.getRangeAt(0),e=d.startContainer;e==d.endContainer&&e.nodeType==1&&d.endOffset-d.startOffset==1&&u[e.childNodes[d.startOffset].nodeName.toLowerCase()]&&(b=3)}return a.type=b},getRanges:function(){var a=c?function(){function a(a){return(new d.node(a)).getIndex()}var c=function(c,d){c=c.duplicate(),c.collapse(d);var e=c.parentElement(),f=e.ownerDocument;if(!e.hasChildNodes())return{container:e,offset:0};var g=e.children,h,i,j=c.duplicate(),k=0,l=g.length-1,m=-1,n,o;while(k<=l){m=Math.floor((k+l)/2),h=g[m],j.moveToElementText(h),n=j.compareEndPoints("StartToStart",c);if(n>0)l=m-1;else if(n<0)k=m+1;else{if(b.ie9Compat&&h.tagName=="BR"){var p="cke_range_marker";c.execCommand("CreateBookmark",!1,p),h=f.getElementsByName(p)[0];var q=a(h);return e.removeChild(h),{container:e,offset:q}}return{container:e,offset:a(h)}}}if(m==-1||m==g.length-1&&n<0){j.moveToElementText(e),j.setEndPoint("StartToStart",c),o=j.text.replace(/(\r\n|\r)/g,"\n").length,g=e.childNodes;if(!o)return h=g[g.length-1],h.nodeType==1?{container:e,offset:g.length}:{container:h,offset:h.nodeValue.length};var r=g.length;while(o>0)o-=g[--r].nodeValue.length;return{container:g[r],offset:-o}}j.collapse(n>0?!0:!1),j.setEndPoint(n>0?"StartToStart":"EndToStart",c),o=j.text.replace(/(\r\n|\r)/g,"\n").length;if(!o)return{container:e,offset:a(h)+(n>0?0:1)};while(o>0)try{i=h[n>0?"previousSibling":"nextSibling"],o-=i.nodeValue.length,h=i}catch(s){return{container:e,offset:a(h)}}return{container:h,offset:n>0?-o:h.nodeValue.length+o}};return function(){var a=this,b=a.getNative(),e=b&&b.createRange(),f=a.getType(),g;if(!b)return[];if(f==2){g=new d.range(a.document);var h=c(e,!0);return g.setStart(new d.node(h.container),h.offset),h=c(e),g.setEnd(new d.node(h.container),h.offset),g.endContainer.getPosition(g.startContainer)&4&&g.endOffset<=g.startContainer.getIndex()&&g.collapse(),[g]}if(f==3){var i=[];for(var j=0;j<e.length;j++){var k=e.item(j),l=k.parentNode,m=0;g=new d.range(a.document);for(;m<l.childNodes.length&&l.childNodes[m]!=k;m++);g.setStart(new d.node(l),m),g.setEnd(new d.node(l),m+1),i.push(g)}return i}return[]}}():function(){var a=[],b,c=this.document,e=this.getNative();if(!e)return a;e.rangeCount||(b=new d.range(c),b.moveToElementEditStart(c.getBody()),a.push(b));for(var f=0;f<e.rangeCount;f++){var g=e.getRangeAt(f);b=new d.range(c),b.setStart(new d.node(g.startContainer),g.startOffset),b.setEnd(new d.node(g.endContainer),g.endOffset),a.push(b)}return a};return function(b){var c=this._.cache;if(c.ranges&&!b)return c.ranges;c.ranges||(c.ranges=new d.rangeList(a.call(this)));if(b){var e=c.ranges;for(var f=0;f<e.length;f++){var g=e[f],h=g.getCommonAncestor();h.isReadOnly()&&e.splice(f,1);if(g.collapsed)continue;if(g.startContainer.isReadOnly()){var i=g.startContainer;while(i){if(i.is("body")||!i.isReadOnly())break;i.type==1&&i.getAttribute("contentEditable")=="false"&&g.setStartAfter(i),i=i.getParent()}}var j=g.startContainer,k=g.endContainer,l=g.startOffset,m=g.endOffset,n=g.clone();j&&j.type==3&&(l>=j.getLength()?n.setStartAfter(j):n.setStartBefore(j)),k&&k.type==3&&(m?n.setEndAfter(k):n.setEndBefore(k));var o=new d.walker(n);o.evaluator=function(a){if(a.type==1&&a.isReadOnly()){var b=g.clone();return g.setEndBefore(a),g.collapsed&&e.splice(f--,1),a.getPosition(n.endContainer)&16||(b.setStartAfter(a),b.collapsed||e.splice(f+1,0,b)),!0}return!1},o.next()}}return c.ranges}}(),getStartElement:function(){var a=this,b=a._.cache;if(b.startElement!==undefined)return b.startElement;var c,d=a.getNative();switch(a.getType()){case 3:return a.getSelectedElement();case 2:var e=a.getRanges()[0];if(e){if(!e.collapsed){e.optimize();for(;;){var f=e.startContainer,g=e.startOffset;if(g==(f.getChildCount?f.getChildCount():f.getLength())&&!f.isBlockBoundary())e.setStartAfter(f);else break}c=e.startContainer;if(c.type!=1)return c.getParent();c=c.getChild(e.startOffset);if(!c||c.type!=1)c=e.startContainer;else{var i=c.getFirst();while(i&&i.type==1)c=i,i=i.getFirst()}}else c=e.startContainer,c.type!=1&&(c=c.getParent());c=c.$}}return b.startElement=c?new h(c):null},getSelectedElement:function(){var a=this._.cache;if(a.selectedElement!==undefined)return a.selectedElement;var b=this,c=e.tryThese(function(){return b.getNative().createRange().item(0)},function(){var a,c,g=b.getRanges()[0],h=g.getCommonAncestor(1,1),i={table:1,ul:1,ol:1,dl:1};for(var j in i)if(a=h.getAscendant(j,1))break;if(a){var k=new d.range(this.document);k.setStartAt(a,1),k.setEnd(g.startContainer,g.startOffset);var l=e.extend(i,f.$listItem,f.$tableContent),m=new d.walker(k),n=function(a,b){return function(c,d){if(c.type==3&&(!e.trim(c.getText())||c.getParent().data("cke-bookmark")))return!0;var g;if(c.type==1){g=c.getName();if(g=="br"&&b&&c.equals(c.getParent().getBogus()))return!0;if(d&&g in l||g in f.$removeEmpty)return!0}return a.halted=1,!1}};m.guard=n(m),m.checkBackward()&&!m.halted&&(m=new d.walker(k),k.setStart(g.endContainer,g.endOffset),k.setEndAt(a,2),m.guard=n(m,1),m.checkForward()&&!m.halted&&(c=a.$))}if(!c)throw 0;return c},function(){var a=b.getRanges()[0],c,d;for(var e=2;e&&!((c=a.getEnclosedNode())&&c.type==1&&u[c.getName()]&&(d=c));e--)a.shrink(1);return d.$});return a.selectedElement=c?new h(c):null},getSelectedText:function(){var a=this._.cache;if(a.selectedText!==undefined)return a.selectedText;var b="",d=this.getNative();return this.getType()==2&&(b=c?d.createRange().text:d.toString()),a.selectedText=b},lock:function(){var a=this;a.getRanges(),a.getStartElement(),a.getSelectedElement(),a.getSelectedText(),a._.cache.nativeSel={},a.isLocked=1,a.document.setCustomData("cke_locked_selection",a)},unlock:function(a){var b=this,c=b.document,d=c.getCustomData("cke_locked_selection");if(d){c.setCustomData("cke_locked_selection",null);if(a){var e=d.getSelectedElement(),f=!e&&d.getRanges();b.isLocked=0,b.reset(),c.getBody().focus(),e?b.selectElement(e):b.selectRanges(f)}}if(!d||!a)b.isLocked=0,b.reset()},reset:function(){this._.cache={}},selectElement:function(a){var b=this;if(b.isLocked){var c=new d.range(b.document);c.setStartBefore(a),c.setEndAfter(a),b._.cache.selectedElement=a,b._.cache.startElement=a,b._.cache.ranges=new d.rangeList(c),b._.cache.type=3;return}c=new d.range(a.getDocument()),c.setStartBefore(a),c.setEndAfter(a),c.select(),b.document.fire("selectionchange"),b.reset()},selectRanges:function(a){var e=this;if(e.isLocked){e._.cache.selectedElement=null,e._.cache.startElement=a[0]&&a[0].getTouchedStartNode(),e._.cache.ranges=new d.rangeList(a),e._.cache.type=2;return}if(c){if(a.length>1){var f=a[a.length-1];a[0].setEnd(f.endContainer,f.endOffset),a.length=1}a[0]&&a[0].select(),e.reset()}else{var g=e.getNative();if(!g)return;a.length&&(g.removeAllRanges(),b.webkit&&t(e.document));for(var h=0;h<a.length;h++){if(h<a.length-1){var i=a[h],j=a[h+1],k=i.clone();k.setStart(i.endContainer,i.endOffset),k.setEnd(j.startContainer,j.startOffset);if(!k.collapsed){k.shrink(1,!0);var l=k.getCommonAncestor(),m=k.getEnclosedNode();if(l.isReadOnly()||m&&m.isReadOnly()){j.setStart(i.startContainer,i.startOffset),a.splice(h--,1);continue}}}var n=a[h],p=e.document.$.createRange(),r=n.startContainer;n.collapsed&&(b.opera||b.gecko&&b.version<10900)&&r.type==1&&!r.getChildCount()&&r.appendText("");if(n.collapsed&&b.webkit&&o(n)){var s=q(e.document);n.insertNode(s);var u=s.getNext();u&&!s.getPrevious()&&u.type==1&&u.getName()=="br"?(t(e.document),n.moveToPosition(u,3)):n.moveToPosition(s,4)}p.setStart(n.startContainer.$,n.startOffset);try{p.setEnd(n.endContainer.$,n.endOffset)}catch(v){if(v.toString().indexOf("NS_ERROR_ILLEGAL_VALUE")>=0)n.collapse(1),p.setEnd(n.endContainer.$,n.endOffset);else throw v}g.addRange(p)}e.document.fire("selectionchange"),e.reset()}},createBookmarks:function(a){return this.getRanges().createBookmarks(a)},createBookmarks2:function(a){return this.getRanges().createBookmarks2(a)},selectBookmarks:function(a){var b=[];for(var c=0;c<a.length;c++){var e=new d.range(this.document);e.moveToBookmark(a[c]),b.push(e)}return this.selectRanges(b),this},getCommonAncestor:function(){var a=this.getRanges(),b=a[0].startContainer,c=a[a.length-1].endContainer;return b.getCommonAncestor(c)},scrollIntoView:function(){var a=this.getStartElement();a.scrollIntoView()}}}(),function(){var a=d.walker.whitespaces(!0),b=/\ufeff|\u00a0/,e={table:1,tbody:1,tr:1};d.range.prototype.select=c?function(c){var d=this,f=d.collapsed,g,h,i,j=d.getEnclosedNode();if(j)try{i=d.document.$.body.createControlRange(),i.addElement(j.$),i.select();return}catch(k){}(d.startContainer.type==1&&d.startContainer.getName()in e||d.endContainer.type==1&&d.endContainer.getName()in e)&&d.shrink(1,!0);var l=d.createBookmark(),p=l.startNode,q;f||(q=l.endNode),i=d.document.$.body.createTextRange(),i.moveToElementText(p.$),i.moveStart("character",1);if(q){var r=d.document.$.body.createTextRange();r.moveToElementText(q.$),i.setEndPoint("EndToEnd",r),i.moveEnd("character",-1)}else{var s=p.getNext(a);g=!(s&&s.getText&&s.getText().match(b))&&(c||!p.hasPrevious()||p.getPrevious().is&&p.getPrevious().is("br")),h=d.document.createElement("span"),h.setHtml("&#65279;"),h.insertBefore(p),g&&d.document.createText("").insertBefore(p)}d.setStartBefore(p),p.remove(),f?(g?(i.moveStart("character",-1),i.select(),d.document.$.selection.clear()):i.select(),d.moveToPosition(h,3),h.remove()):(d.setEndBefore(q),q.remove(),i.select()),d.document.fire("selectionchange")}:function(){this.document.getSelection().selectRanges([this])}}(),function(){function f(a,b){var c=d.exec(a),e=d.exec(b);if(c){if(!c[2]&&e[2]=="px")return e[1];if(c[2]=="px"&&!e[2])return e[1]+"px"}return b}var b=a.htmlParser.cssStyle,c=e.cssLength,d=/^((?:\d*(?:\.\d+))|(?:\d+))(.*)?$/i,g={elements:{$:function(c){var d=c.attributes,e=d&&d["data-cke-realelement"],g=e&&new a.htmlParser.fragment.fromHtml(decodeURIComponent(e)),h=g&&g.children[0];if(h&&c.attributes["data-cke-resizable"]){var i=(new b(c)).rules,j=h.attributes,k=i.width,l=i.height;k&&(j.width=f(j.width,k)),l&&(j.height=f(j.height,l))}return h}}};j.add("fakeobjects",{requires:["htmlwriter"],afterInit:function(a){var b=a.dataProcessor,c=b&&b.htmlFilter;c&&c.addRules(g)}}),a.editor.prototype.createFakeElement=function(d,e,f,g){var h=this.lang.fakeobjects,i=h[f]||h.unknown,j={"class":e,src:a.getUrl("images/spacer.gif"),"data-cke-realelement":encodeURIComponent(d.getOuterHtml()),"data-cke-real-node-type":d.type,alt:i,title:i,align:d.getAttribute("align")||""};f&&(j["data-cke-real-element-type"]=f);if(g){j["data-cke-resizable"]=g;var k=new b,l=d.getAttribute("width"),o=d.getAttribute("height");l&&(k.rules.width=c(l)),o&&(k.rules.height=c(o)),k.populate(j)}return this.document.createElement("img",{attributes:j})},a.editor.prototype.createFakeParserElement=function(d,e,f,g){var h=this.lang.fakeobjects,i=h[f]||h.unknown,j,k=new a.htmlParser.basicWriter;d.writeHtml(k),j=k.getHtml();var l={"class":e,src:a.getUrl("images/spacer.gif"),"data-cke-realelement":encodeURIComponent(j),"data-cke-real-node-type":d.type,alt:i,title:i,align:d.attributes.align||""};f&&(l["data-cke-real-element-type"]=f);if(g){l["data-cke-resizable"]=g;var o=d.attributes,p=new b,q=o.width,r=o.height;q!=undefined&&(p.rules.width=c(q)),r!=undefined&&(p.rules.height=c(r)),p.populate(l)}return new a.htmlParser.element("img",l)},a.editor.prototype.restoreRealElement=function(a){if(a.data("cke-real-node-type")!=1)return null;var b=h.createFromHtml(decodeURIComponent(a.data("cke-realelement")),this.document);if(a.data("cke-resizable")){var c=a.getStyle("width"),d=a.getStyle("height");c&&b.setAttribute("width",f(b.getAttribute("width"),c)),d&&b.setAttribute("height",f(b.getAttribute("height"),d))}return b}}(),j.add("richcombo",{requires:["floatpanel","listblock","button"],beforeInit:function(a){a.ui.addHandler("richcombo",k.richCombo.handler)}}),a.UI_RICHCOMBO="richcombo",k.richCombo=e.createClass({$:function(b){var c=this;e.extend(c,b,{title:b.label,modes:{wysiwyg:1}});var d=c.panel||{};delete c.panel,c.id=e.getNextNumber(),c.document=d&&d.parent&&d.parent.getDocument()||a.document,d.className=(d.className||"")+" cke_rcombopanel",d.block={multiSelect:d.multiSelect,attributes:d.attributes},c._={panelDefinition:d,items:{},state:2}},statics:{handler:{create:function(a){return new k.richCombo(a)}}},proto:{renderHtml:function(a){var b=[];return this.render(a,b),b.join("")},render:function(f,g){function m(){var a=this,b=a.modes[f.mode]?2:0;a.setState(f.readOnly&&!a.readOnly?0:b),a.setValue("")}var i=b,j="cke_"+this.id,k=e.addFunction(function(a){var b=this,c=b._;if(c.state==0)return;b.createPanel(f);if(c.on){c.panel.hide();return}b.commit();var d=b.getValue();d?c.list.mark(d):c.list.unmarkAll(),c.panel.showBlock(b.id,new h(a),4)},this),l={id:j,combo:this,focus:function(){var b=a.document.getById(j).getChild(1);b.focus()},clickFn:k};f.on("mode",m,this),!this.readOnly&&f.on("readOnly",m,this);var n=e.addFunction(function(a,b){a=new d.event(a);var c=a.getKeystroke();switch(c){case 13:case 32:case 40:e.callFunction(k,b);break;default:l.onkey(l,c)}a.preventDefault()}),o=e.addFunction(function(){l.onfocus&&l.onfocus()});return l.keyDownFn=n,g.push('<span class="cke_rcombo" role="presentation">',"<span id=",j),this.className&&g.push(' class="',this.className,' cke_off"'),g.push(' role="presentation">','<span id="'+j+'_label" class=cke_label>',this.label,"</span>",'<a hidefocus=true title="',this.title,'" tabindex="-1"',i.gecko&&i.version>=10900&&!i.hc?"":" href=\"javascript:void('"+this.label+"')\"",' role="button" aria-labelledby="',j,'_label" aria-describedby="',j,'_text" aria-haspopup="true"'),(b.opera||b.gecko&&b.mac)&&g.push(' onkeypress="return false;"'),b.gecko&&g.push(' onblur="this.style.cssText = this.style.cssText;"'),g.push(' onkeydown="CKEDITOR.tools.callFunction( ',n,', event, this );" onfocus="return CKEDITOR.tools.callFunction(',o,', event);" '+(c?'onclick="return false;" onmouseup':"onclick")+'="CKEDITOR.tools.callFunction(',k,', this); return false;"><span><span id="'+j+'_text" class="cke_text cke_inline_label">'+this.label+"</span>"+"</span>"+"<span class=cke_openbutton><span class=cke_icon>"+(b.hc?"&#9660;":b.air?"&nbsp;":"")+"</span></span>"+"</a>"+"</span>"+"</span>"),this.onRender&&this.onRender(),l},createPanel:function(b){if(this._.panel)return;var c=this._.panelDefinition,d=this._.panelDefinition.block,e=c.parent||a.document.getBody(),f=new k.floatPanel(b,e,c),g=f.addListBlock(this.id,d),h=this;f.onShow=function(){h.className&&this.element.getFirst().addClass(h.className+"_panel"),h.setState(1),g.focus(!h.multiSelect&&h.getValue()),h._.on=1,h.onOpen&&h.onOpen()},f.onHide=function(a){h.className&&this.element.getFirst().removeClass(h.className+"_panel"),h.setState(h.modes&&h.modes[b.mode]?2:0),h._.on=0,!a&&h.onClose&&h.onClose()},f.onEscape=function(){f.hide()},g.onClick=function(a,b){h.document.getWindow().focus(),h.onClick&&h.onClick.call(h,a,b),b?h.setValue(a,h._.items[a]):h.setValue(""),f.hide(!1)},this._.panel=f,this._.list=g,f.getBlock(this.id).onHide=function(){h._.on=0,h.setState(2)},this.init&&this.init()},setValue:function(a,b){var c=this;c._.value=a;var d=c.document.getById("cke_"+c.id+"_text");d&&(!a&&!b?(b=c.label,d.addClass("cke_inline_label")):d.removeClass("cke_inline_label"),d.setHtml(typeof b!="undefined"?b:a))},getValue:function(){return this._.value||""},unmarkAll:function(){this._.list.unmarkAll()},mark:function(a){this._.list.mark(a)},hideItem:function(a){this._.list.hideItem(a)},hideGroup:function(a){this._.list.hideGroup(a)},showAll:function(){this._.list.showAll()},add:function(a,b,c){this._.items[a]=c||a,this._.list.add(a,b,c)},startGroup:function(a){this._.list.startGroup(a)},commit:function(){var a=this;a._.committed||(a._.list.commit(),a._.committed=1,k.fire("ready",a)),a._.committed=1},setState:function(a){var b=this;if(b._.state==a)return;b.document.getById("cke_"+b.id).setState(a),b._.state=a}}}),k.prototype.addRichCombo=function(a,b){this.add(a,"richcombo",b)},j.add("htmlwriter"),a.htmlWriter=e.createClass({base:a.htmlParser.basicWriter,$:function(){var a=this;a.base(),a.indentationChars="\t",a.selfClosingEnd=" />",a.lineBreakChars="\n",a.forceSimpleAmpersand=0,a.sortAttributes=1,a._.indent=0,a._.indentation="",a._.inPre=0,a._.rules={};var b=f;for(var c in e.extend({},b.$nonBodyContent,b.$block,b.$listItem,b.$tableContent))a.setRules(c,{indent:1,breakBeforeOpen:1,breakAfterOpen:1,breakBeforeClose:!b[c]["#"],breakAfterClose:1});a.setRules("br",{breakAfterOpen:1}),a.setRules("title",{indent:0,breakAfterOpen:0}),a.setRules("style",{indent:0,breakBeforeClose:1}),a.setRules("pre",{indent:0})},proto:{openTag:function(a,b){var c=this,d=c._.rules[a];c._.indent?c.indentation():d&&d.breakBeforeOpen&&(c.lineBreak(),c.indentation()),c._.output.push("<",a)},openTagClose:function(a,b){var c=this,d=c._.rules[a];b?c._.output.push(c.selfClosingEnd):(c._.output.push(">"),d&&d.indent&&(c._.indentation+=c.indentationChars)),d&&d.breakAfterOpen&&c.lineBreak(),a=="pre"&&(c._.inPre=1)},attribute:function(a,b){typeof b=="string"&&(this.forceSimpleAmpersand&&(b=b.replace(/&amp;/g,"&")),b=e.htmlEncodeAttr(b)),this._.output.push(" ",a,'="',b,'"')},closeTag:function(a){var b=this,c=b._.rules[a];c&&c.indent&&(b._.indentation=b._.indentation.substr(b.indentationChars.length)),b._.indent?b.indentation():c&&c.breakBeforeClose&&(b.lineBreak(),b.indentation()),b._.output.push("</",a,">"),a=="pre"&&(b._.inPre=0),c&&c.breakAfterClose&&b.lineBreak()},text:function(a){var b=this;b._.indent&&(b.indentation(),!b._.inPre&&(a=e.ltrim(a))),b._.output.push(a)},comment:function(a){this._.indent&&this.indentation(),this._.output.push("<!--",a,"-->")},lineBreak:function(){var a=this;!a._.inPre&&a._.output.length>0&&a._.output.push(a.lineBreakChars),a._.indent=1},indentation:function(){var a=this;a._.inPre||a._.output.push(a._.indentation),a._.indent=0},setRules:function(a,b){var c=this._.rules[a];c?e.extend(c,b,!0):this._.rules[a]=b}}}),j.add("menubutton",{requires:["button","menu"],beforeInit:function(a){a.ui.addHandler("menubutton",k.menuButton.handler)}}),a.UI_MENUBUTTON="menubutton",function(){var b=function(b){var c=this._;if(c.state===0)return;c.previousState=c.state;var d=c.menu;d||(d=c.menu=new a.menu(b,{panel:{className:b.skinClass+" cke_contextmenu",attributes:{"aria-label":b.lang.common.options}}}),d.onHide=e.bind(function(){this.setState(this.modes&&this.modes[b.mode]?c.previousState:0)},this),this.onMenu&&d.addListener(this.onMenu));if(c.on){d.hide();return}this.setState(1),d.show(a.document.getById(this._.id),4)};k.menuButton=e.createClass({base:k.button,$:function(a){var c=a.panel;delete a.panel,this.base(a),this.hasArrow=!0,this.click=b},statics:{handler:{create:function(a){return new k.menuButton(a)}}}})}(),j.add("dialogui"),function(){var f=function(a){var b=this;b._||(b._={}),b._["default"]=b._.initValue=a["default"]||"",b._.required=a.required||!1;var c=[b._];for(var d=1;d<arguments.length;d++)c.push(arguments[d]);return c.push(!0),e.extend.apply(e,c),b._},g={build:function(a,b,c){return new k.dialog.textInput(a,b,c)}},i={build:function(a,b,c){return new k.dialog[b.type](a,b,c)}},j={build:function(b,c,d){var e=c.children,f,g=[],h=[];for(var i=0;i<e.length&&(f=e[i]);i++){var j=[];g.push(j),h.push(a.dialog._.uiElementBuilders[f.type].build(b,f,j))}return new k.dialog[c.type](b,h,g,d,c)}},l={isChanged:function(){return this.getValue()!=this.getInitValue()},reset:function(a){this.setValue(this.getInitValue(),a)},setInitValue:function(){this._.initValue=this.getValue()},resetInitValue:function(){this._.initValue=this._["default"]},getInitValue:function(){return this._.initValue}},m=e.extend({},k.dialog.uiElement.prototype.eventProcessors,{onChange:function(a,b){this._.domOnChangeRegistered||(a.on("load",function(){this.getInputElement().on("change",function(){if(!a.parts.dialog.isVisible())return;this.fire("change",{value:this.getValue()})},this)},this),this._.domOnChangeRegistered=!0),this.on("change",b)}},!0),n=/^on([A-Z]\w+)/,o=function(a){for(var b in a)(n.test(b)||b=="title"||b=="type")&&delete a[b];return a};e.extend(k.dialog,{labeledElement:function(b,c,d,g){if(arguments.length<4)return;var h=f.call(this,c);h.labelId=e.getNextId()+"_label";var i=this._.children=[],j=function(){var d=[],f=c.required?" cke_required":"";if(c.labelLayout!="horizontal")d.push('<label class="cke_dialog_ui_labeled_label'+f+'" ',' id="'+h.labelId+'"',' for="'+h.inputId+'"',(c.labelStyle?' style="'+c.labelStyle+'"':"")+">",c.label,"</label>",'<div class="cke_dialog_ui_labeled_content"'+(c
13
- .controlStyle?' style="'+c.controlStyle+'"':"")+' role="presentation">',g.call(this,b,c),"</div>");else{var i={type:"hbox",widths:c.widths,padding:0,children:[{type:"html",html:'<label class="cke_dialog_ui_labeled_label'+f+'"'+' id="'+h.labelId+'"'+' for="'+h.inputId+'"'+(c.labelStyle?' style="'+c.labelStyle+'"':"")+">"+e.htmlEncode(c.label)+"</span>"},{type:"html",html:'<span class="cke_dialog_ui_labeled_content"'+(c.controlStyle?' style="'+c.controlStyle+'"':"")+">"+g.call(this,b,c)+"</span>"}]};a.dialog._.uiElementBuilders.hbox.build(b,i,d)}return d.join("")};k.dialog.uiElement.call(this,b,c,d,"div",null,{role:"presentation"},j)},textInput:function(a,b,c){if(arguments.length<3)return;f.call(this,b);var d=this._.inputId=e.getNextId()+"_textInput",g={"class":"cke_dialog_ui_input_"+b.type,id:d,type:"text"},h;b.validate&&(this.validate=b.validate),b.maxLength&&(g.maxlength=b.maxLength),b.size&&(g.size=b.size),b.inputStyle&&(g.style=b.inputStyle);var i=this,j=!1;a.on("load",function(){i.getInputElement().on("keydown",function(a){a.data.getKeystroke()==13&&(j=!0)}),i.getInputElement().on("keyup",function(b){b.data.getKeystroke()==13&&j&&(a.getButton("ok")&&setTimeout(function(){a.getButton("ok").click()},0),j=!1)},null,null,1e3)});var l=function(){var a=['<div class="cke_dialog_ui_input_',b.type,'" role="presentation"'];b.width&&a.push('style="width:'+b.width+'" '),a.push("><input "),g["aria-labelledby"]=this._.labelId,this._.required&&(g["aria-required"]=this._.required);for(var c in g)a.push(c+'="'+g[c]+'" ');return a.push(" /></div>"),a.join("")};k.dialog.labeledElement.call(this,a,b,c,l)},textarea:function(a,b,c){if(arguments.length<3)return;f.call(this,b);var d=this,g=this._.inputId=e.getNextId()+"_textarea",h={};b.validate&&(this.validate=b.validate),h.rows=b.rows||5,h.cols=b.cols||20,typeof b.inputStyle!="undefined"&&(h.style=b.inputStyle);var i=function(){h["aria-labelledby"]=this._.labelId,this._.required&&(h["aria-required"]=this._.required);var a=['<div class="cke_dialog_ui_input_textarea" role="presentation"><textarea class="cke_dialog_ui_input_textarea" id="',g,'" '];for(var b in h)a.push(b+'="'+e.htmlEncode(h[b])+'" ');return a.push(">",e.htmlEncode(d._["default"]),"</textarea></div>"),a.join("")};k.dialog.labeledElement.call(this,a,b,c,i)},checkbox:function(a,b,c){if(arguments.length<3)return;var d=f.call(this,b,{"default":!!b["default"]});b.validate&&(this.validate=b.validate);var g=function(){var c=e.extend({},b,{id:b.id?b.id+"_checkbox":e.getNextId()+"_checkbox"},!0),f=[],g=e.getNextId()+"_label",h={"class":"cke_dialog_ui_checkbox_input",type:"checkbox","aria-labelledby":g};return o(c),b["default"]&&(h.checked="checked"),typeof c.inputStyle!="undefined"&&(c.style=c.inputStyle),d.checkbox=new k.dialog.uiElement(a,c,f,"input",null,h),f.push(' <label id="',g,'" for="',h.id,'"'+(b.labelStyle?' style="'+b.labelStyle+'"':"")+">",e.htmlEncode(b.label),"</label>"),f.join("")};k.dialog.uiElement.call(this,a,b,c,"span",null,null,g)},radio:function(a,b,c){if(arguments.length<3)return;f.call(this,b),this._["default"]||(this._["default"]=this._.initValue=b.items[0][1]),b.validate&&(this.validate=b.valdiate);var d=[],g=this,h=function(){var c=[],f=[],h={"class":"cke_dialog_ui_radio_item","aria-labelledby":this._.labelId},i=b.id?b.id+"_radio":e.getNextId()+"_radio";for(var j=0;j<b.items.length;j++){var l=b.items[j],m=l[2]!==undefined?l[2]:l[0],n=l[1]!==undefined?l[1]:l[0],p=e.getNextId()+"_radio_input",q=p+"_label",r=e.extend({},b,{id:p,title:null,type:null},!0),s=e.extend({},r,{title:m},!0),w={type:"radio","class":"cke_dialog_ui_radio_input",name:i,value:n,"aria-labelledby":q},z=[];g._["default"]==n&&(w.checked="checked"),o(r),o(s),typeof r.inputStyle!="undefined"&&(r.style=r.inputStyle),d.push(new k.dialog.uiElement(a,r,z,"input",null,w)),z.push(" "),new k.dialog.uiElement(a,s,z,"label",null,{id:q,"for":w.id},l[0]),c.push(z.join(""))}return new k.dialog.hbox(a,d,c,f),f.join("")};k.dialog.labeledElement.call(this,a,b,c,h),this._.children=d},button:function(b,c,d){if(!arguments.length)return;typeof c=="function"&&(c=c(b.getParentEditor())),f.call(this,c,{disabled:c.disabled||!1}),a.event.implementOn(this);var g=this;b.on("load",function(a){var b=this.getElement();(function(){b.on("click",function(a){g.fire("click",{dialog:g.getDialog()}),a.data.preventDefault()}),b.on("keydown",function(a){a.data.getKeystroke()in{32:1}&&(g.click(),a.data.preventDefault())})})(),b.unselectable()},this);var h=e.extend({},c);delete h.style;var i=e.getNextId()+"_label";k.dialog.uiElement.call(this,b,h,d,"a",null,{style:c.style,href:"javascript:void(0)",title:c.label,hidefocus:"true","class":c["class"],role:"button","aria-labelledby":i},'<span id="'+i+'" class="cke_dialog_ui_button">'+e.htmlEncode(c.label)+"</span>")},select:function(a,b,c){if(arguments.length<3)return;var d=f.call(this,b);b.validate&&(this.validate=b.validate),d.inputId=e.getNextId()+"_select";var g=function(){var c=e.extend({},b,{id:b.id?b.id+"_select":e.getNextId()+"_select"},!0),f=[],g=[],h={id:d.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};b.size!=undefined&&(h.size=b.size),b.multiple!=undefined&&(h.multiple=b.multiple),o(c);for(var i=0,j;i<b.items.length&&(j=b.items[i]);i++)g.push('<option value="',e.htmlEncode(j[1]!==undefined?j[1]:j[0]).replace(/"/g,"&quot;"),'" /> ',e.htmlEncode(j[0]));return typeof c.inputStyle!="undefined"&&(c.style=c.inputStyle),d.select=new k.dialog.uiElement(a,c,f,"select",null,h,g.join("")),f.join("")};k.dialog.labeledElement.call(this,a,b,c,g)},file:function(c,d,g){if(arguments.length<3)return;d["default"]===undefined&&(d["default"]="");var h=e.extend(f.call(this,d),{definition:d,buttons:[]});d.validate&&(this.validate=d.validate);var i=function(){h.frameId=e.getNextId()+"_fileInput";var a=b.isCustomDomain(),c=['<iframe frameborder="0" allowtransparency="0" class="cke_dialog_ui_input_file" id="',h.frameId,'" title="',d.label,'" src="javascript:void('];return c.push(a?"(function(){document.open();document.domain='"+document.domain+"';"+"document.close();"+"})()":"0"),c.push(')"></iframe>'),c.join("")};c.on("load",function(){var b=a.document.getById(h.frameId),c=b.getParent();c.addClass("cke_dialog_ui_input_file")}),k.dialog.labeledElement.call(this,c,d,g,i)},fileButton:function(a,b,c){if(arguments.length<3)return;var d=f.call(this,b),g=this;b.validate&&(this.validate=b.validate);var h=e.extend({},b),i=h.onClick;h.className=(h.className?h.className+" ":"")+"cke_dialog_ui_button",h.onClick=function(c){var d=b["for"];if(!i||i.call(this,c)!==!1)a.getContentElement(d[0],d[1]).submit(),this.disable()},a.on("load",function(){a.getContentElement(b["for"][0],b["for"][1])._.buttons.push(g)}),k.dialog.button.call(this,a,h,c)},html:function(){var a=/^\s*<[\w:]+\s+([^>]*)?>/,b=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,c=/\/$/;return function(d,e,f){if(arguments.length<3)return;var g=[],h,i=e.html,j,l;i.charAt(0)!="<"&&(i="<span>"+i+"</span>");var m=e.focus;if(m){var n=this.focus;this.focus=function(){n.call(this),typeof m=="function"&&m.call(this),this.fire("focus")};if(e.isFocusable){var o=this.isFocusable;this.isFocusable=o}this.keyboardFocusable=!0}k.dialog.uiElement.call(this,d,e,g,"span",null,null,""),h=g.join(""),j=h.match(a),l=i.match(b)||["","",""],c.test(l[1])&&(l[1]=l[1].slice(0,-1),l[2]="/"+l[2]),f.push([l[1]," ",j[1]||"",l[2]].join(""))}}(),fieldset:function(a,b,c,d,e){var f=e.label,g=function(){var a=[];f&&a.push("<legend>"+f+"</legend>");for(var b=0;b<c.length;b++)a.push(c[b]);return a.join("")};this._={children:b},k.dialog.uiElement.call(this,a,e,d,"fieldset",null,null,g)}},!0),k.dialog.html.prototype=new k.dialog.uiElement,k.dialog.labeledElement.prototype=e.extend(new k.dialog.uiElement,{setLabel:function(b){var c=a.document.getById(this._.labelId);return c.getChildCount()<1?(new d.text(b,a.document)).appendTo(c):c.getChild(0).$.nodeValue=b,this},getLabel:function(){var b=a.document.getById(this._.labelId);return!b||b.getChildCount()<1?"":b.getChild(0).getText()},eventProcessors:m},!0),k.dialog.button.prototype=e.extend(new k.dialog.uiElement,{click:function(){var a=this;return a._.disabled?(a.getElement().$.blur(),!1):a.fire("click",{dialog:a._.dialog})},enable:function(){this._.disabled=!1;var a=this.getElement();a&&a.removeClass("cke_disabled")},disable:function(){this._.disabled=!0,this.getElement().addClass("cke_disabled")},isVisible:function(){return this.getElement().getFirst().isVisible()},isEnabled:function(){return!this._.disabled},eventProcessors:e.extend({},k.dialog.uiElement.prototype.eventProcessors,{onClick:function(a,b){this.on("click",b)}},!0),accessKeyUp:function(){this.click()},accessKeyDown:function(){this.focus()},keyboardFocusable:!0},!0),k.dialog.textInput.prototype=e.extend(new k.dialog.labeledElement,{getInputElement:function(){return a.document.getById(this._.inputId)},focus:function(){var a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&&b.$.focus()},0)},select:function(){var a=this.selectParentTab();setTimeout(function(){var b=a.getInputElement();b&&(b.$.focus(),b.$.select())},0)},accessKeyUp:function(){this.select()},setValue:function(a){return!a&&(a=""),k.dialog.uiElement.prototype.setValue.apply(this,arguments)},keyboardFocusable:!0},l,!0),k.dialog.textarea.prototype=new k.dialog.textInput,k.dialog.select.prototype=e.extend(new k.dialog.labeledElement,{getInputElement:function(){return this._.select.getElement()},add:function(a,b,d){var e=new h("option",this.getDialog().getParentEditor().document),f=this.getInputElement().$;return e.$.text=a,e.$.value=b===undefined||b===null?a:b,d===undefined||d===null?c?f.add(e.$):f.add(e.$,null):f.add(e.$,d),this},remove:function(a){var b=this.getInputElement().$;return b.remove(a),this},clear:function(){var a=this.getInputElement().$;while(a.length>0)a.remove(0);return this},keyboardFocusable:!0},l,!0),k.dialog.checkbox.prototype=e.extend(new k.dialog.uiElement,{getInputElement:function(){return this._.checkbox.getElement()},setValue:function(a,b){this.getInputElement().$.checked=a,!b&&this.fire("change",{value:a})},getValue:function(){return this.getInputElement().$.checked},accessKeyUp:function(){this.setValue(!this.getValue())},eventProcessors:{onChange:function(a,b){return c?(a.on("load",function(){var a=this._.checkbox.getElement();a.on("propertychange",function(b){b=b.data.$,b.propertyName=="checked"&&this.fire("change",{value:a.$.checked})},this)},this),this.on("change",b),null):m.onChange.apply(this,arguments)}},keyboardFocusable:!0},l,!0),k.dialog.radio.prototype=e.extend(new k.dialog.uiElement,{setValue:function(a,b){var c=this._.children,d;for(var e=0;e<c.length&&(d=c[e]);e++)d.getElement().$.checked=d.getValue()==a;!b&&this.fire("change",{value:a})},getValue:function(){var a=this._.children;for(var b=0;b<a.length;b++)if(a[b].getElement().$.checked)return a[b].getValue();return null},accessKeyUp:function(){var a=this._.children,b;for(b=0;b<a.length;b++)if(a[b].getElement().$.checked){a[b].getElement().focus();return}a[0].getElement().focus()},eventProcessors:{onChange:function(a,b){return c?(a.on("load",function(){var a=this._.children,b=this;for(var c=0;c<a.length;c++){var d=a[c].getElement();d.on("propertychange",function(a){a=a.data.$,a.propertyName=="checked"&&this.$.checked&&b.fire("change",{value:this.getAttribute("value")})})}},this),this.on("change",b),null):m.onChange.apply(this,arguments)}},keyboardFocusable:!0},l,!0),k.dialog.file.prototype=e.extend(new k.dialog.labeledElement,l,{getInputElement:function(){var b=a.document.getById(this._.frameId).getFrameDocument();return b.$.forms.length>0?new h(b.$.forms[0].elements[0]):this.getElement()},submit:function(){return this.getInputElement().getParent().$.submit(),this},getAction:function(){return this.getInputElement().getParent().$.action},registerEvents:function(a){var b=/^on([A-Z]\w+)/,c,d=function(a,b,c,d){a.on("formLoaded",function(){a.getInputElement().on(c,d,a)})};for(var e in a){if(!(c=e.match(b)))continue;this.eventProcessors[e]?this.eventProcessors[e].call(this,this._.dialog,a[e]):d(this,this._.dialog,c[1].toLowerCase(),a[e])}return this},reset:function(){function n(){g.$.open(),b.isCustomDomain()&&(g.$.domain=document.domain);var a="";h.size&&(a=h.size-(c?7:0)),g.$.write(['<html dir="'+l+'" lang="'+m+'"><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">','<form enctype="multipart/form-data" method="POST" dir="'+l+'" lang="'+m+'" action="',e.htmlEncode(h.action),'">','<input type="file" name="',e.htmlEncode(h.id||"cke_upload"),'" size="',e.htmlEncode(a>0?a:""),'" />',"</form>","</body></html>","<script>window.parent.CKEDITOR.tools.callFunction("+j+");","window.onbeforeunload = function() {window.parent.CKEDITOR.tools.callFunction("+k+")}</script>"].join("")),g.$.close();for(var d=0;d<i.length;d++)i[d].enable()}var d=this._,f=a.document.getById(d.frameId),g=f.getFrameDocument(),h=d.definition,i=d.buttons,j=this.formLoadedNumber,k=this.formUnloadNumber,l=d.dialog._.editor.lang.dir,m=d.dialog._.editor.langCode;j||(j=this.formLoadedNumber=e.addFunction(function(){this.fire("formLoaded")},this),k=this.formUnloadNumber=e.addFunction(function(){this.getInputElement().clearCustomData()},this),this.getDialog()._.editor.on("destroy",function(){e.removeFunction(j),e.removeFunction(k)})),b.gecko?setTimeout(n,500):n()},getValue:function(){return this.getInputElement().$.value||""},setInitValue:function(){this._.initValue=""},eventProcessors:{onChange:function(a,b){this._.domOnChangeRegistered||(this.on("formLoaded",function(){this.getInputElement().on("change",function(){this.fire("change",{value:this.getValue()})},this)},this),this._.domOnChangeRegistered=!0),this.on("change",b)}},keyboardFocusable:!0},!0),k.dialog.fileButton.prototype=new k.dialog.button,k.dialog.fieldset.prototype=e.clone(k.dialog.hbox.prototype),a.dialog.addUIElement("text",g),a.dialog.addUIElement("password",g),a.dialog.addUIElement("textarea",i),a.dialog.addUIElement("checkbox",i),a.dialog.addUIElement("radio",i),a.dialog.addUIElement("button",i),a.dialog.addUIElement("select",i),a.dialog.addUIElement("file",i),a.dialog.addUIElement("fileButton",i),a.dialog.addUIElement("html",i),a.dialog.addUIElement("fieldset",j)}(),j.add("panel",{beforeInit:function(a){a.ui.addHandler("panel",k.panel.handler)}}),a.UI_PANEL="panel",k.panel=function(a,b){var c=this;b&&e.extend(c,b),e.extend(c,{className:"",css:[]}),c.id=e.getNextId(),c.document=a,c._={blocks:{}}},k.panel.handler={create:function(a){return new k.panel(a)}},k.panel.prototype={renderHtml:function(a){var b=[];return this.render(a,b),b.join("")},render:function(a,c){var d=this,e=d.id;c.push('<div class="',a.skinClass,'" lang="',a.langCode,'" role="presentation" style="display:none;z-index:'+(a.config.baseFloatZIndex+1)+'">'+"<div"+" id=",e," dir=",a.lang.dir,' role="presentation" class="cke_panel cke_',a.lang.dir),d.className&&c.push(" ",d.className),c.push('">');if(d.forceIFrame||d.css.length)c.push('<iframe id="',e,'_frame" frameborder="0" role="application" src="javascript:void('),c.push(b.isCustomDomain()?"(function(){document.open();document.domain='"+document.domain+"';"+"document.close();"+"})()":"0"),c.push(')"></iframe>');return c.push("</div></div>"),e},getHolderElement:function(){var c=this._.holder;if(!c){if(this.forceIFrame||this.css.length){var d=this.document.getById(this.id+"_frame"),f=d.getParent(),g=f.getAttribute("dir"),h=f.getParent().getAttribute("class"),i=f.getParent().getAttribute("lang"),j=d.getFrameDocument();b.iOS&&f.setStyles({overflow:"scroll","-webkit-overflow-scrolling":"touch"});var k=e.addFunction(e.bind(function(a){this.isLoaded=!0,this.onLoad&&this.onLoad()},this)),l='<!DOCTYPE html><html dir="'+g+'" class="'+h+'_container" lang="'+i+'">'+"<head>"+"<style>."+h+"_container{visibility:hidden}</style>"+"</head>"+'<body class="cke_'+g+" cke_panel_frame "+b.cssClass+'" style="margin:0;padding:0"'+' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction('+k+');"></body>'+e.buildStyleHtml(this.css)+"</html>";j.write(l);var m=j.getWindow();m.$.CKEDITOR=a,j.on("key"+(b.opera?"press":"down"),function(a){var b=this,c=a.data.getKeystroke(),d=b.document.getById(b.id).getAttribute("dir");if(b._.onKeyDown&&b._.onKeyDown(c)===!1){a.data.preventDefault();return}(c==27||c==(d=="rtl"?39:37))&&b.onEscape&&b.onEscape(c)===!1&&a.data.preventDefault()},this),c=j.getBody(),c.unselectable(),b.air&&e.callFunction(k)}else c=this.document.getById(this.id);this._.holder=c}return c},addBlock:function(a,b){var c=this;return b=c._.blocks[a]=b instanceof k.panel.block?b:new k.panel.block(c.getHolderElement(),b),c._.currentBlock||c.showBlock(a),b},getBlock:function(a){return this._.blocks[a]},showBlock:function(b){var c=this,d=c._.blocks,f=d[b],g=c._.currentBlock,h=c.forceIFrame?c.document.getById(c.id+"_frame"):c._.holder;return h.getParent().getParent().disableContextMenu(),g&&(h.removeAttributes(g.attributes),g.hide()),c._.currentBlock=f,h.setAttributes(f.attributes),a.fire("ariaWidget",h),f._.focusIndex=-1,c._.onKeyDown=f.onKeyDown&&e.bind(f.onKeyDown,f),f.show(),f},destroy:function(){this.element&&this.element.remove()}},k.panel.block=e.createClass({$:function(a,b){var c=this;c.element=a.append(a.getDocument().createElement("div",{attributes:{tabIndex:-1,"class":"cke_panel_block",role:"presentation"},styles:{display:"none"}})),b&&e.extend(c,b),c.attributes.title||(c.attributes.title=c.attributes["aria-label"]),c.keys={},c._.focusIndex=-1,c.element.disableContextMenu()},_:{markItem:function(a){var c=this;if(a==-1)return;var d=c.element.getElementsByTag("a"),e=d.getItem(c._.focusIndex=a);(b.webkit||b.opera)&&e.getDocument().getWindow().focus(),e.focus(),c.onMark&&c.onMark(e)}},proto:{show:function(){this.element.setStyle("display","")},hide:function(){var a=this;(!a.onHide||a.onHide.call(a)!==!0)&&a.element.setStyle("display","none")},onKeyDown:function(a){var b=this,c=b.keys[a];switch(c){case"next":var d=b._.focusIndex,e=b.element.getElementsByTag("a"),f;while(f=e.getItem(++d))if(f.getAttribute("_cke_focus")&&f.$.offsetWidth){b._.focusIndex=d,f.focus();break}return!1;case"prev":d=b._.focusIndex,e=b.element.getElementsByTag("a");while(d>0&&(f=e.getItem(--d)))if(f.getAttribute("_cke_focus")&&f.$.offsetWidth){b._.focusIndex=d,f.focus();break}return!1;case"click":case"mouseup":return d=b._.focusIndex,f=d>=0&&b.element.getElementsByTag("a").getItem(d),f&&(f.$[c]?f.$[c]():f.$["on"+c]()),!1}return!0}}}),j.add("listblock",{requires:["panel"],onLoad:function(){k.panel.prototype.addListBlock=function(a,b){return this.addBlock(a,new k.listBlock(this.getHolderElement(),b))},k.listBlock=e.createClass({base:k.panel.block,$:function(a,b){var d=this;b=b||{};var e=b.attributes||(b.attributes={});(d.multiSelect=!!b.multiSelect)&&(e["aria-multiselectable"]=!0),!e.role&&(e.role="listbox"),d.base.apply(d,arguments);var f=d.keys;f[40]="next",f[9]="next",f[38]="prev",f[2228233]="prev",f[32]=c?"mouseup":"click",c&&(f[13]="mouseup"),d._.pendingHtml=[],d._.items={},d._.groups={}},_:{close:function(){this._.started&&(this._.pendingHtml.push("</ul>"),delete this._.started)},getClick:function(){return this._.click||(this._.click=e.addFunction(function(a){var b=this,c=!0;b.multiSelect?c=b.toggle(a):b.mark(a),b.onClick&&b.onClick(a,c)},this)),this._.click}},proto:{add:function(a,b,d){var f=this,g=f._.pendingHtml,h=e.getNextId();f._.started||(g.push('<ul role="presentation" class=cke_panel_list>'),f._.started=1,f._.size=f._.size||0),f._.items[a]=h,g.push("<li id=",h,' class=cke_panel_listItem role=presentation><a id="',h,'_option" _cke_focus=1 hidefocus=true title="',d||a,'" href="javascript:void(\'',a,"')\" "+(c?'onclick="return false;" onmouseup':"onclick")+'="CKEDITOR.tools.callFunction(',f._.getClick(),",'",a,"'); return false;\"",' role="option" aria-posinset="'+ ++f._.size+'">',b||a,"</a></li>")},startGroup:function(a){this._.close();var b=e.getNextId();this._.groups[a]=b,this._.pendingHtml.push('<h1 role="presentation" id=',b," class=cke_panel_grouptitle>",a,"</h1>")},commit:function(){var a=this;a._.close(),a.element.appendHtml(a._.pendingHtml.join(""));var b=a._.items,c=a.element.getDocument();for(var d in b)c.getById(b[d]+"_option").setAttribute("aria-setsize",a._.size);delete a._.size,a._.pendingHtml=[]},toggle:function(a){var b=this.isMarked(a);return b?this.unmark(a):this.mark(a),!b},hideGroup:function(a){var b=this.element.getDocument().getById(this._.groups[a]),c=b&&b.getNext();b&&(b.setStyle("display","none"),c&&c.getName()=="ul"&&c.setStyle("display","none"))},hideItem:function(a){this.element.getDocument().getById(this._.items[a]).setStyle("display","none")},showAll:function(){var a=this._.items,b=this._.groups,c=this.element.getDocument();for(var d in a)c.getById(a[d]).setStyle("display","");for(var e in b){var f=c.getById(b[e]),g=f.getNext();f.setStyle("display",""),g&&g.getName()=="ul"&&g.setStyle("display","")}},mark:function(a){var b=this;b.multiSelect||b.unmarkAll();var c=b._.items[a],d=b.element.getDocument().getById(c);d.addClass("cke_selected"),b.element.getDocument().getById(c+"_option").setAttribute("aria-selected",!0),b.onMark&&b.onMark(d)},unmark:function(a){var b=this,c=b.element.getDocument(),d=b._.items[a],e=c.getById(d);e.removeClass("cke_selected"),c.getById(d+"_option").removeAttribute("aria-selected"),b.onUnmark&&b.onUnmark(e)},unmarkAll:function(){var a=this,b=a._.items,c=a.element.getDocument();for(var d in b){var e=b[d];c.getById(e).removeClass("cke_selected"),c.getById(e+"_option").removeAttribute("aria-selected")}a.onUnmark&&a.onUnmark()},isMarked:function(a){return this.element.getDocument().getById(this._.items[a]).hasClass("cke_selected")},focus:function(a){this._.focusIndex=-1;if(a){var b=this.element.getDocument().getById(this._.items[a]).getFirst(),c=this.element.getElementsByTag("a"),d,e=-1;while(d=c.getItem(++e))if(d.equals(b)){this._.focusIndex=e;break}setTimeout(function(){b.focus()},0)}}}})}}),a.themes.add("default",function(){function f(c,d){var e,f;f=c.config.sharedSpaces,f=f&&f[d],f=f&&a.document.getById(f);if(f){var g='<span class="cke_shared " dir="'+c.lang.dir+'"'+">"+'<span class="'+c.skinClass+" "+c.id+" cke_editor_"+c.name+'">'+'<span class="'+b.cssClass+'">'+'<span class="cke_wrapper cke_'+c.lang.dir+'">'+'<span class="cke_editor">'+'<div class="cke_'+d+'">'+"</div></span></span></span></span></span>",i=f.append(h.createFromHtml(g,f.getDocument()));f.getCustomData("cke_hasshared")?i.hide():f.setCustomData("cke_hasshared",1),e=i.getChild([0,0,0,0]),!c.sharedSpaces&&(c.sharedSpaces={}),c.sharedSpaces[d]=e,c.on("focus",function(){for(var a=0,b,c=f.getChildren();b=c.getItem(a);a++)b.type==1&&!b.equals(i)&&b.hasClass("cke_shared")&&b.hide();i.show()}),c.on("destroy",function(){i.remove()})}return e}var d={};return{build:function(a,c){var e=a.name,g=a.element,i=a.elementMode;if(!g||i==0)return;i==1&&g.hide();var j=a.fire("themeSpace",{space:"top",html:""}).html,k=a.fire("themeSpace",{space:"contents",html:""}).html,l=a.fireOnce("themeSpace",{space:"bottom",html:""}).html,o=k&&a.config.height,p=a.config.tabIndex||a.element.getAttribute("tabindex")||0;k?isNaN(o)||(o+="px"):o="auto";var q="",r=a.config.width;r&&(isNaN(r)||(r+="px"),q+="width: "+r+";");var s=j&&f(a,"top"),t=f(a,"bottom");s&&(s.setHtml(j),j=""),t&&(t.setHtml(l),l="");var u="<style>."+a.skinClass+"{visibility:hidden;}</style>";d[a.skinClass]?u="":d[a.skinClass]=1;var v=h.createFromHtml(['<span id="cke_',e,'" class="',a.skinClass," ",a.id," cke_editor_",e,'" dir="',a.lang.dir,'" title="',b.gecko?" ":"",'" lang="',a.langCode,'"'+(b.webkit?' tabindex="'+p+'"':"")+' role="application"'+' aria-labelledby="cke_',e,'_arialbl"'+(q?' style="'+q+'"':"")+">"+'<span id="cke_',e,'_arialbl" class="cke_voice_label">'+a.lang.editor+"</span>"+'<span class="',b.cssClass,'" role="presentation"><span class="cke_wrapper cke_',a.lang.dir,'" role="presentation"><table class="cke_editor" border="0" cellspacing="0" cellpadding="0" role="presentation"><tbody><tr',j?"":' style="display:none"',' role="presentation"><td id="cke_top_',e,'" class="cke_top" role="presentation">',j,"</td></tr><tr",k?"":' style="display:none"',' role="presentation"><td id="cke_contents_',e,'" class="cke_contents" style="height:',o,'" role="presentation">',k,"</td></tr><tr",l?"":' style="display:none"',' role="presentation"><td id="cke_bottom_',e,'" class="cke_bottom" role="presentation">',l,"</td></tr></tbody></table>"+u+"</span>"+"</span>"+"</span>"].join(""));v.getChild([1,0,0,0,0]).unselectable(),v.getChild([1,0,0,0,2]).unselectable(),i==1?v.insertAfter(g):g.append(v),a.container=v,v.disableContextMenu(),a.on("contentDirChanged",function(b){var c=(a.lang.dir!=b.data?"add":"remove")+"Class";v.getChild(1)[c]("cke_mixed_dir_content");var d=this.sharedSpaces&&this.sharedSpaces[this.config.toolbarLocation];d&&d.getParent().getParent()[c]("cke_mixed_dir_content")}),a.fireOnce("themeLoaded"),a.fireOnce("uiReady")},buildDialog:function(a){var d=e.getNextNumber(),f=h.createFromHtml(['<div class="',a.id,"_dialog cke_editor_",a.name.replace(".","\\."),"_dialog cke_skin_",a.skinName,'" dir="',a.lang.dir,'" lang="',a.langCode,'" role="dialog" aria-labelledby="%title#"><table class="cke_dialog'," "+b.cssClass," cke_",a.lang.dir,'" style="position:absolute" role="presentation"><tr><td role="presentation"><div class="%body" role="presentation"><div id="%title#" class="%title" role="presentation"></div><a id="%close_button#" class="%close_button" href="javascript:void(0)" title="'+a.lang.common.close+'" role="button"><span class="cke_label">X</span></a>'+'<div id="%tabs#" class="%tabs" role="tablist"></div>'+'<table class="%contents" role="presentation">'+"<tr>"+'<td id="%contents#" class="%contents" role="presentation"></td>'+"</tr>"+"<tr>"+'<td id="%footer#" class="%footer" role="presentation"></td>'+"</tr>"+"</table>"+"</div>"+'<div id="%tl#" class="%tl"></div>'+'<div id="%tc#" class="%tc"></div>'+'<div id="%tr#" class="%tr"></div>'+'<div id="%ml#" class="%ml"></div>'+'<div id="%mr#" class="%mr"></div>'+'<div id="%bl#" class="%bl"></div>'+'<div id="%bc#" class="%bc"></div>'+'<div id="%br#" class="%br"></div>'+"</td></tr>"+"</table>",c?"":"<style>.cke_dialog{visibility:hidden;}</style>","</div>"].join("").replace(/#/g,"_"+d).replace(/%/g,"cke_dialog_")),g=f.getChild([0,0,0,0,0]),i=g.getChild(0),j=g.getChild(1);if(c&&!b.ie6Compat){var k=b.isCustomDomain(),l="javascript:void(function(){"+encodeURIComponent("document.open();"+(k?'document.domain="'+document.domain+'";':"")+"document.close();")+"}())",m=h.createFromHtml('<iframe frameBorder="0" class="cke_iframe_shim" src="'+l+'"'+' tabIndex="-1"'+"></iframe>");m.appendTo(g.getParent())}return i.unselectable(),j.unselectable(),{element:f,parts:{dialog:f.getChild(0),title:i,close:j,tabs:g.getChild(2),contents:g.getChild([3,0,0,0]),footer:g.getChild([3,0,1,0])}}},destroy:function(a){var b=a.container,c=a.element;b&&(b.clearCustomData(),b.remove()),c&&(c.clearCustomData(),a.elementMode==1&&c.show(),delete a.element)}}}()),a.editor.prototype.getThemeSpace=function(b){var c="cke_"+b,d=this._[c]||(this._[c]=a.document.getById(c+"_"+this.name));return d},a.editor.prototype.resize=function(c,d,e,f){var g=this,h=g.container,i=a.document.getById("cke_contents_"+g.name),j=b.webkit&&g.document&&g.document.getWindow().$.frameElement,k=f?h.getChild(1):h;k.setSize("width",c,!0),j&&(j.style.width="1%");var l=e?0:(k.$.offsetHeight||0)-(i.$.clientHeight||0);i.setStyle("height",Math.max(d-l,0)+"px"),j&&(j.style.width="100%"),g.fire("resize")},a.editor.prototype.getResizable=function(b){return b?a.document.getById("cke_contents_"+this.name):this.container}})(),function(){CKEDITOR.config.jqueryOverrideVal=typeof CKEDITOR.config.jqueryOverrideVal=="undefined"?!0:CKEDITOR.config.jqueryOverrideVal;var a=window.jQuery;if(typeof a=="undefined")return;a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor not yet initialized, use ckeditor() with callback.";return a},ckeditor:function(b,c){if(!CKEDITOR.env.isCompatible)return this;if(!a.isFunction(b)){var d=c;c=b,b=d}return c=c||{},this.filter("textarea, div, p").each(function(){var d=a(this),e=d.data("ckeditorInstance"),f=d.data("_ckeditorInstanceLock"),g=this;if(e&&!f)b&&b.apply(e,[this]);else if(!f){if(c.autoUpdateElement||typeof c.autoUpdateElement=="undefined"&&CKEDITOR.config.autoUpdateElement)c.autoUpdateElementJquery=!0;c.autoUpdateElement=!1,d.data("_ckeditorInstanceLock",!0),e=CKEDITOR.replace(g,c),d.data("ckeditorInstance",e),e.on("instanceReady",function(a){var c=a.editor;setTimeout(function(){if(!c.element){setTimeout(arguments.callee,100);return}a.removeListener("instanceReady",this.callee),c.on("dataReady",function(){d.trigger("setData.ckeditor",[c])}),c.on("getData",function(a){d.trigger("getData.ckeditor",[c,a.data])},999),c.on("destroy",function(){d.trigger("destroy.ckeditor",[c])});if(c.config.autoUpdateElementJquery&&d.is("textarea")&&d.parents("form").length){var e=function(){d.ckeditor(function(){c.updateElement()})};d.parents("form").submit(e),d.parents("form").bind("form-pre-serialize",e),d.bind("destroy.ckeditor",function(){d.parents("form").unbind("submit",e),d.parents("form").unbind("form-pre-serialize",e)})}c.on("destroy",function(){d.data("ckeditorInstance",null)}),d.data("_ckeditorInstanceLock",null),d.trigger("instanceReady.ckeditor",[c]),b&&b.apply(c,[g])},0)},null,null,9999)}else CKEDITOR.on("instanceReady",function(a){var c=a.editor;setTimeout(function(){if(!c.element){setTimeout(arguments.callee,100);return}c.element.$==g&&b&&b.apply(c,[g])},0)},null,null,9999)}),this}}),CKEDITOR.config.jqueryOverrideVal&&(a.fn.val=CKEDITOR.tools.override(a.fn.val,function(b){return function(c,d){var e=typeof c!="undefined",f;return this.each(function(){var g=a(this),h=g.data("ckeditorInstance");if(!d&&g.is("textarea")&&h)if(e)h.setData(c);else return f=h.getData(),null;else if(e)b.call(g,c);else return f=b.call(g),null;return!0}),e?this:f}}))}(),CKEDITOR.plugins.add("richimage",{init:function(a){a._.insertImagefn=CKEDITOR.tools.addFunction(function(a,b,c){this.insertHtml('<img src="'+a+'" alt="" data-rich-image-id="'+b+'" />')},a),a.on("destroy",function(){CKEDITOR.tools.removeFunction(this._.insertImagefn)}),a.addCommand("insertRichImage",{exec:function(a){var b={};b.CKEditor=a.name,b.CKEditorFuncNum=a._.insertImagefn,b.default_style=a.config.default_style,b.allowed_styles=a.config.allowed_styles,b.insert_many=a.config.insert_many;var c=addQueryString(a.config.richBrowserUrl,b);a.popup(c,860,400)}}),a.ui.addButton("richImage",{label:a.lang.common.image,command:"insertRichImage",icon:"/assets/rich/images.png"})}});var rich=rich||{};rich.AssetFinder=function(){},rich.AssetFinder.prototype={showFinder:function(a){console.log(a)},setAsset:function(a,b){console.log(a)}};var assetFinder=new rich.AssetFinder;$(function(){$(".rich_asset").live("click",function(a){$(this).get(0).tagName=="INPUT"&&assetFinder.showFinder($(this).attr("id"))})}):@created_atf1322398658.279928�W
@@ -1,4 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@expires_in0:@compressedF: @value{"required_assets_digest"%6f55bd5f9c468a2c6076246e5dbdb9b6"content_type"
2
- class"BundledAsset"
3
- mtime"2011-10-18T20:12:50+02:00"
4
- :@created_atf1322398639.6935711cx
@@ -1,372 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@expires_in0:@compressedF: @value{"content_type"application/javascript"
2
- class"ProcessedAsset"dependency_digest"%4871ae9b68a755865291973d960836e0"
3
- mtime"2011-11-18T21:19:00+01:00"
4
- mtime"2011-11-18T21:19:00+01:00" digest"%25d3d49ea460c196cfd7aa0381b7b243" path"o/Users/bastiaan/.rvm/gems/ruby-1.8.7-p352/gems/jquery-rails-1.0.18/vendor/assets/javascripts/jquery_ujs.js" digest"%25d3d49ea460c196cfd7aa0381b7b243"required_paths["o/Users/bastiaan/.rvm/gems/ruby-1.8.7-p352/gems/jquery-rails-1.0.18/vendor/assets/javascripts/jquery_ujs.js"
5
-
6
- /**
7
- * Unobtrusive scripting adapter for jQuery
8
- *
9
- * Requires jQuery 1.6.0 or later.
10
- * https://github.com/rails/jquery-ujs
11
-
12
- * Uploading file using rails.js
13
- * =============================
14
- *
15
- * By default, browsers do not allow files to be uploaded via AJAX. As a result, if there are any non-blank file fields
16
- * in the remote form, this adapter aborts the AJAX submission and allows the form to submit through standard means.
17
- *
18
- * The `ajax:aborted:file` event allows you to bind your own handler to process the form submission however you wish.
19
- *
20
- * Ex:
21
- * $('form').live('ajax:aborted:file', function(event, elements){
22
- * // Implement own remote file-transfer handler here for non-blank file inputs passed in `elements`.
23
- * // Returning false in this handler tells rails.js to disallow standard form submission
24
- * return false;
25
- * });
26
- *
27
- * The `ajax:aborted:file` event is fired when a file-type input is detected with a non-blank value.
28
- *
29
- * Third-party tools can use this hook to detect when an AJAX file upload is attempted, and then use
30
- * techniques like the iframe method to upload the file instead.
31
- *
32
- * Required fields in rails.js
33
- * ===========================
34
- *
35
- * If any blank required inputs (required="required") are detected in the remote form, the whole form submission
36
- * is canceled. Note that this is unlike file inputs, which still allow standard (non-AJAX) form submission.
37
- *
38
- * The `ajax:aborted:required` event allows you to bind your own handler to inform the user of blank required inputs.
39
- *
40
- * !! Note that Opera does not fire the form's submit event if there are blank required inputs, so this event may never
41
- * get fired in Opera. This event is what causes other browsers to exhibit the same submit-aborting behavior.
42
- *
43
- * Ex:
44
- * $('form').live('ajax:aborted:required', function(event, elements){
45
- * // Returning false in this handler tells rails.js to submit the form anyway.
46
- * // The blank required inputs are passed to this function in `elements`.
47
- * return ! confirm("Would you like to submit the form with missing info?");
48
- * });
49
- */
50
-
51
- // Shorthand to make it a little easier to call public rails functions from within rails.js
52
- var rails;
53
-
54
- $.rails = rails = {
55
- // Link elements bound by jquery-ujs
56
- linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]',
57
-
58
- // Select elements bound by jquery-ujs
59
- inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
60
-
61
- // Form elements bound by jquery-ujs
62
- formSubmitSelector: 'form',
63
-
64
- // Form input elements bound by jquery-ujs
65
- formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])',
66
-
67
- // Form input elements disabled during form submission
68
- disableSelector: 'input[data-disable-with], button[data-disable-with], textarea[data-disable-with]',
69
-
70
- // Form input elements re-enabled after form submission
71
- enableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled',
72
-
73
- // Form required input elements
74
- requiredInputSelector: 'input[name][required]:not([disabled]),textarea[name][required]:not([disabled])',
75
-
76
- // Form file input elements
77
- fileInputSelector: 'input:file',
78
-
79
- // Link onClick disable selector with possible reenable after remote submission
80
- linkDisableSelector: 'a[data-disable-with]',
81
-
82
- // Make sure that every Ajax request sends the CSRF token
83
- CSRFProtection: function(xhr) {
84
- var token = $('meta[name="csrf-token"]').attr('content');
85
- if (token) xhr.setRequestHeader('X-CSRF-Token', token);
86
- },
87
-
88
- // Triggers an event on an element and returns false if the event result is false
89
- fire: function(obj, name, data) {
90
- var event = $.Event(name);
91
- obj.trigger(event, data);
92
- return event.result !== false;
93
- },
94
-
95
- // Default confirm dialog, may be overridden with custom confirm dialog in $.rails.confirm
96
- confirm: function(message) {
97
- return confirm(message);
98
- },
99
-
100
- // Default ajax function, may be overridden with custom function in $.rails.ajax
101
- ajax: function(options) {
102
- return $.ajax(options);
103
- },
104
-
105
- // Submits "remote" forms and links with ajax
106
- handleRemote: function(element) {
107
- var method, url, data,
108
- crossDomain = element.data('cross-domain') || null,
109
- dataType = element.data('type') || ($.ajaxSettings && $.ajaxSettings.dataType),
110
- options;
111
-
112
- if (rails.fire(element, 'ajax:before')) {
113
-
114
- if (element.is('form')) {
115
- method = element.attr('method');
116
- url = element.attr('action');
117
- data = element.serializeArray();
118
- // memoized value from clicked submit button
119
- var button = element.data('ujs:submit-button');
120
- if (button) {
121
- data.push(button);
122
- element.data('ujs:submit-button', null);
123
- }
124
- } else if (element.is(rails.inputChangeSelector)) {
125
- method = element.data('method');
126
- url = element.data('url');
127
- data = element.serialize();
128
- if (element.data('params')) data = data + "&" + element.data('params');
129
- } else {
130
- method = element.data('method');
131
- url = element.attr('href');
132
- data = element.data('params') || null;
133
- }
134
-
135
- options = {
136
- type: method || 'GET', data: data, dataType: dataType, crossDomain: crossDomain,
137
- // stopping the "ajax:beforeSend" event will cancel the ajax request
138
- beforeSend: function(xhr, settings) {
139
- if (settings.dataType === undefined) {
140
- xhr.setRequestHeader('accept', '*/*;q=0.5, ' + settings.accepts.script);
141
- }
142
- return rails.fire(element, 'ajax:beforeSend', [xhr, settings]);
143
- },
144
- success: function(data, status, xhr) {
145
- element.trigger('ajax:success', [data, status, xhr]);
146
- },
147
- complete: function(xhr, status) {
148
- element.trigger('ajax:complete', [xhr, status]);
149
- },
150
- error: function(xhr, status, error) {
151
- element.trigger('ajax:error', [xhr, status, error]);
152
- }
153
- };
154
- // Only pass url to `ajax` options if not blank
155
- if (url) { options.url = url; }
156
-
157
- rails.ajax(options);
158
- }
159
- },
160
-
161
- // Handles "data-method" on links such as:
162
- // <a href="/users/5" data-method="delete" rel="nofollow" data-confirm="Are you sure?">Delete</a>
163
- handleMethod: function(link) {
164
- var href = link.attr('href'),
165
- method = link.data('method'),
166
- target = link.attr('target'),
167
- csrf_token = $('meta[name=csrf-token]').attr('content'),
168
- csrf_param = $('meta[name=csrf-param]').attr('content'),
169
- form = $('<form method="post" action="' + href + '"></form>'),
170
- metadata_input = '<input name="_method" value="' + method + '" type="hidden" />';
171
-
172
- if (csrf_param !== undefined && csrf_token !== undefined) {
173
- metadata_input += '<input name="' + csrf_param + '" value="' + csrf_token + '" type="hidden" />';
174
- }
175
-
176
- if (target) { form.attr('target', target); }
177
-
178
- form.hide().append(metadata_input).appendTo('body');
179
- form.submit();
180
- },
181
-
182
- /* Disables form elements:
183
- - Caches element value in 'ujs:enable-with' data store
184
- - Replaces element text with value of 'data-disable-with' attribute
185
- - Sets disabled property to true
186
- */
187
- disableFormElements: function(form) {
188
- form.find(rails.disableSelector).each(function() {
189
- var element = $(this), method = element.is('button') ? 'html' : 'val';
190
- element.data('ujs:enable-with', element[method]());
191
- element[method](element.data('disable-with'));
192
- element.prop('disabled', true);
193
- });
194
- },
195
-
196
- /* Re-enables disabled form elements:
197
- - Replaces element text with cached value from 'ujs:enable-with' data store (created in `disableFormElements`)
198
- - Sets disabled property to false
199
- */
200
- enableFormElements: function(form) {
201
- form.find(rails.enableSelector).each(function() {
202
- var element = $(this), method = element.is('button') ? 'html' : 'val';
203
- if (element.data('ujs:enable-with')) element[method](element.data('ujs:enable-with'));
204
- element.prop('disabled', false);
205
- });
206
- },
207
-
208
- /* For 'data-confirm' attribute:
209
- - Fires `confirm` event
210
- - Shows the confirmation dialog
211
- - Fires the `confirm:complete` event
212
-
213
- Returns `true` if no function stops the chain and user chose yes; `false` otherwise.
214
- Attaching a handler to the element's `confirm` event that returns a `falsy` value cancels the confirmation dialog.
215
- Attaching a handler to the element's `confirm:complete` event that returns a `falsy` value makes this function
216
- return false. The `confirm:complete` event is fired whether or not the user answered true or false to the dialog.
217
- */
218
- allowAction: function(element) {
219
- var message = element.data('confirm'),
220
- answer = false, callback;
221
- if (!message) { return true; }
222
-
223
- if (rails.fire(element, 'confirm')) {
224
- answer = rails.confirm(message);
225
- callback = rails.fire(element, 'confirm:complete', [answer]);
226
- }
227
- return answer && callback;
228
- },
229
-
230
- // Helper function which checks for blank inputs in a form that match the specified CSS selector
231
- blankInputs: function(form, specifiedSelector, nonBlank) {
232
- var inputs = $(), input,
233
- selector = specifiedSelector || 'input,textarea';
234
- form.find(selector).each(function() {
235
- input = $(this);
236
- // Collect non-blank inputs if nonBlank option is true, otherwise, collect blank inputs
237
- if (nonBlank ? input.val() : !input.val()) {
238
- inputs = inputs.add(input);
239
- }
240
- });
241
- return inputs.length ? inputs : false;
242
- },
243
-
244
- // Helper function which checks for non-blank inputs in a form that match the specified CSS selector
245
- nonBlankInputs: function(form, specifiedSelector) {
246
- return rails.blankInputs(form, specifiedSelector, true); // true specifies nonBlank
247
- },
248
-
249
- // Helper function, needed to provide consistent behavior in IE
250
- stopEverything: function(e) {
251
- $(e.target).trigger('ujs:everythingStopped');
252
- e.stopImmediatePropagation();
253
- return false;
254
- },
255
-
256
- // find all the submit events directly bound to the form and
257
- // manually invoke them. If anyone returns false then stop the loop
258
- callFormSubmitBindings: function(form, event) {
259
- var events = form.data('events'), continuePropagation = true;
260
- if (events !== undefined && events['submit'] !== undefined) {
261
- $.each(events['submit'], function(i, obj){
262
- if (typeof obj.handler === 'function') return continuePropagation = obj.handler(event);
263
- });
264
- }
265
- return continuePropagation;
266
- },
267
-
268
- // replace element's html with the 'data-disable-with' after storing original html
269
- // and prevent clicking on it
270
- disableElement: function(element) {
271
- element.data('ujs:enable-with', element.html()); // store enabled state
272
- element.html(element.data('disable-with')); // set to disabled state
273
- element.bind('click.railsDisable', function(e) { // prevent further clicking
274
- return rails.stopEverything(e)
275
- });
276
- },
277
-
278
- // restore element to its original state which was disabled by 'disableElement' above
279
- enableElement: function(element) {
280
- if (element.data('ujs:enable-with') !== undefined) {
281
- element.html(element.data('ujs:enable-with')); // set to old enabled state
282
- // this should be element.removeData('ujs:enable-with')
283
- // but, there is currently a bug in jquery which makes hyphenated data attributes not get removed
284
- element.data('ujs:enable-with', false); // clean up cache
285
- }
286
- element.unbind('click.railsDisable'); // enable element
287
- }
288
-
289
- };
290
-
291
- $.ajaxPrefilter(function(options, originalOptions, xhr){ if ( !options.crossDomain ) { rails.CSRFProtection(xhr); }});
292
-
293
- $(rails.linkDisableSelector).live('ajax:complete', function() {
294
- rails.enableElement($(this));
295
- });
296
-
297
- $(rails.linkClickSelector).live('click.rails', function(e) {
298
- var link = $(this), method = link.data('method'), data = link.data('params');
299
- if (!rails.allowAction(link)) return rails.stopEverything(e);
300
-
301
- if (link.is(rails.linkDisableSelector)) rails.disableElement(link);
302
-
303
- if (link.data('remote') !== undefined) {
304
- if ( (e.metaKey || e.ctrlKey) && (!method || method === 'GET') && !data ) { return true; }
305
- rails.handleRemote(link);
306
- return false;
307
- } else if (link.data('method')) {
308
- rails.handleMethod(link);
309
- return false;
310
- }
311
- });
312
-
313
- $(rails.inputChangeSelector).live('change.rails', function(e) {
314
- var link = $(this);
315
- if (!rails.allowAction(link)) return rails.stopEverything(e);
316
-
317
- rails.handleRemote(link);
318
- return false;
319
- });
320
-
321
- $(rails.formSubmitSelector).live('submit.rails', function(e) {
322
- var form = $(this),
323
- remote = form.data('remote') !== undefined,
324
- blankRequiredInputs = rails.blankInputs(form, rails.requiredInputSelector),
325
- nonBlankFileInputs = rails.nonBlankInputs(form, rails.fileInputSelector);
326
-
327
- if (!rails.allowAction(form)) return rails.stopEverything(e);
328
-
329
- // skip other logic when required values are missing or file upload is present
330
- if (blankRequiredInputs && form.attr("novalidate") == undefined && rails.fire(form, 'ajax:aborted:required', [blankRequiredInputs])) {
331
- return rails.stopEverything(e);
332
- }
333
-
334
- if (remote) {
335
- if (nonBlankFileInputs) {
336
- return rails.fire(form, 'ajax:aborted:file', [nonBlankFileInputs]);
337
- }
338
-
339
- // If browser does not support submit bubbling, then this live-binding will be called before direct
340
- // bindings. Therefore, we should directly call any direct bindings before remotely submitting form.
341
- if (!$.support.submitBubbles && $().jquery < '1.7' && rails.callFormSubmitBindings(form, e) === false) return rails.stopEverything(e);
342
-
343
- rails.handleRemote(form);
344
- return false;
345
- } else {
346
- // slight timeout so that the submit button gets properly serialized
347
- setTimeout(function(){ rails.disableFormElements(form); }, 13);
348
- }
349
- });
350
-
351
- $(rails.formInputClickSelector).live('click.rails', function(event) {
352
- var button = $(this);
353
-
354
- if (!rails.allowAction(button)) return rails.stopEverything(event);
355
-
356
- // register the pressed submit button
357
- var name = button.attr('name'),
358
- data = name ? {name:name, value:button.val()} : null;
359
-
360
- button.closest('form').data('ujs:submit-button', data);
361
- });
362
-
363
- $(rails.formSubmitSelector).live('ajax:beforeSend.rails', function(event) {
364
- if (this == event.target) rails.disableFormElements($(this));
365
- });
366
-
367
- $(rails.formSubmitSelector).live('ajax:complete.rails', function(event) {
368
- if (this == event.target) rails.enableFormElements($(this));
369
- });
370
-
371
- })( jQuery );
372
- :@created_atf1322398621.2590289��