quic_cms 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1445) hide show
  1. data/README.rdoc +11 -1
  2. data/app/assets/javascripts/quic_cms/application.js +1 -1
  3. data/app/assets/javascripts/quic_cms/ckeditor/CHANGES.html +1433 -0
  4. data/app/assets/javascripts/quic_cms/ckeditor/INSTALL.html +92 -0
  5. data/app/assets/javascripts/quic_cms/ckeditor/LICENSE.html +1327 -0
  6. data/app/assets/javascripts/quic_cms/ckeditor/_samples/adobeair/application.xml +32 -0
  7. data/app/assets/javascripts/quic_cms/ckeditor/_samples/adobeair/run.bat +9 -0
  8. data/app/assets/javascripts/quic_cms/ckeditor/_samples/adobeair/run.sh +8 -0
  9. data/app/assets/javascripts/quic_cms/ckeditor/_samples/adobeair/sample.html +45 -0
  10. data/app/assets/javascripts/quic_cms/ckeditor/_samples/ajax.html +98 -0
  11. data/app/assets/javascripts/quic_cms/ckeditor/_samples/api.html +192 -0
  12. data/app/assets/javascripts/quic_cms/ckeditor/_samples/api_dialog.html +198 -0
  13. data/app/assets/javascripts/quic_cms/ckeditor/_samples/api_dialog/my_dialog.js +28 -0
  14. data/app/assets/javascripts/quic_cms/ckeditor/_samples/asp/index.html +103 -0
  15. data/app/assets/javascripts/quic_cms/ckeditor/_samples/assets/output_for_flash.fla +0 -0
  16. data/app/assets/javascripts/quic_cms/ckeditor/_samples/assets/output_for_flash.swf +0 -0
  17. data/app/assets/javascripts/quic_cms/ckeditor/_samples/assets/output_xhtml.css +204 -0
  18. data/app/assets/javascripts/quic_cms/ckeditor/_samples/assets/parsesample.css +70 -0
  19. data/app/assets/javascripts/quic_cms/ckeditor/_samples/assets/swfobject.js +18 -0
  20. data/app/assets/javascripts/quic_cms/ckeditor/_samples/autogrow.html +108 -0
  21. data/app/assets/javascripts/quic_cms/ckeditor/_samples/bbcode.html +125 -0
  22. data/app/assets/javascripts/quic_cms/ckeditor/_samples/devtools.html +94 -0
  23. data/app/assets/javascripts/quic_cms/ckeditor/_samples/divreplace.html +154 -0
  24. data/app/assets/javascripts/quic_cms/ckeditor/_samples/enterkey.html +115 -0
  25. data/app/assets/javascripts/quic_cms/ckeditor/_samples/fullpage.html +82 -0
  26. data/app/assets/javascripts/quic_cms/ckeditor/_samples/index.html +116 -0
  27. data/app/assets/javascripts/quic_cms/ckeditor/_samples/jqueryadapter.html +99 -0
  28. data/app/assets/javascripts/quic_cms/ckeditor/_samples/output_for_flash.html +275 -0
  29. data/app/assets/javascripts/quic_cms/ckeditor/_samples/output_html.html +285 -0
  30. data/app/assets/javascripts/quic_cms/ckeditor/_samples/output_xhtml.html +177 -0
  31. data/app/assets/javascripts/quic_cms/ckeditor/_samples/php/index.html +47 -0
  32. data/app/assets/javascripts/quic_cms/ckeditor/_samples/placeholder.html +81 -0
  33. data/app/assets/javascripts/quic_cms/ckeditor/_samples/readonly.html +91 -0
  34. data/app/assets/javascripts/quic_cms/ckeditor/_samples/replacebyclass.html +64 -0
  35. data/app/assets/javascripts/quic_cms/ckeditor/_samples/replacebycode.html +97 -0
  36. data/app/assets/javascripts/quic_cms/ckeditor/_samples/sample.css +163 -0
  37. data/app/assets/javascripts/quic_cms/ckeditor/_samples/sample.js +65 -0
  38. data/app/assets/javascripts/quic_cms/ckeditor/_samples/sharedspaces.html +153 -0
  39. data/app/assets/javascripts/quic_cms/ckeditor/_samples/skins.html +110 -0
  40. data/app/assets/javascripts/quic_cms/ckeditor/_samples/stylesheetparser.html +93 -0
  41. data/app/assets/javascripts/quic_cms/ckeditor/_samples/tableresize.html +115 -0
  42. data/app/assets/javascripts/quic_cms/ckeditor/_samples/ui_color.html +129 -0
  43. data/app/assets/javascripts/quic_cms/ckeditor/_samples/ui_languages.html +134 -0
  44. data/app/assets/javascripts/quic_cms/ckeditor/_source/adapters/jquery.js +306 -0
  45. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/_bootstrap.js +87 -0
  46. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/ckeditor.js +141 -0
  47. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/ckeditor_base.js +227 -0
  48. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/ckeditor_basic.js +238 -0
  49. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/command.js +209 -0
  50. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/commanddefinition.js +129 -0
  51. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/config.js +439 -0
  52. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dataprocessor.js +65 -0
  53. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom.js +20 -0
  54. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/comment.js +32 -0
  55. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/document.js +251 -0
  56. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/documentfragment.js +49 -0
  57. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/domobject.js +258 -0
  58. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/element.js +1691 -0
  59. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/elementpath.js +119 -0
  60. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/event.js +145 -0
  61. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/node.js +696 -0
  62. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/nodelist.js +26 -0
  63. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/range.js +2054 -0
  64. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/rangelist.js +213 -0
  65. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/text.js +128 -0
  66. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/walker.js +462 -0
  67. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dom/window.js +96 -0
  68. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/dtd.js +266 -0
  69. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/editor.js +1059 -0
  70. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/editor_basic.js +186 -0
  71. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/env.js +305 -0
  72. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/event.js +342 -0
  73. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/eventInfo.js +120 -0
  74. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/focusmanager.js +152 -0
  75. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser.js +224 -0
  76. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
  77. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/cdata.js +43 -0
  78. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/comment.js +60 -0
  79. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/element.js +308 -0
  80. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/filter.js +288 -0
  81. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/fragment.js +518 -0
  82. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/htmlparser/text.js +53 -0
  83. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/lang.js +157 -0
  84. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/loader.js +240 -0
  85. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/plugindefinition.js +83 -0
  86. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/plugins.js +103 -0
  87. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/resourcemanager.js +238 -0
  88. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/scriptloader.js +180 -0
  89. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/skins.js +184 -0
  90. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/themes.js +19 -0
  91. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/tools.js +763 -0
  92. data/app/assets/javascripts/quic_cms/ckeditor/_source/core/ui.js +128 -0
  93. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/_languages.js +84 -0
  94. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/_translationstatus.txt +61 -0
  95. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/af.js +815 -0
  96. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ar.js +815 -0
  97. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/bg.js +815 -0
  98. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/bn.js +815 -0
  99. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/bs.js +815 -0
  100. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ca.js +815 -0
  101. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/cs.js +815 -0
  102. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/cy.js +815 -0
  103. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/da.js +815 -0
  104. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/de.js +815 -0
  105. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/el.js +815 -0
  106. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/en-au.js +815 -0
  107. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/en-ca.js +815 -0
  108. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/en-gb.js +815 -0
  109. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/en.js +815 -0
  110. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/eo.js +815 -0
  111. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/es.js +815 -0
  112. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/et.js +815 -0
  113. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/eu.js +815 -0
  114. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/fa.js +815 -0
  115. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/fi.js +815 -0
  116. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/fo.js +815 -0
  117. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/fr-ca.js +815 -0
  118. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/fr.js +815 -0
  119. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/gl.js +815 -0
  120. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/gu.js +815 -0
  121. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/he.js +815 -0
  122. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/hi.js +815 -0
  123. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/hr.js +815 -0
  124. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/hu.js +815 -0
  125. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/is.js +815 -0
  126. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/it.js +815 -0
  127. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ja.js +815 -0
  128. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ka.js +815 -0
  129. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/km.js +815 -0
  130. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ko.js +815 -0
  131. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/lt.js +815 -0
  132. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/lv.js +815 -0
  133. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/mn.js +815 -0
  134. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ms.js +815 -0
  135. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/nb.js +815 -0
  136. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/nl.js +815 -0
  137. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/no.js +815 -0
  138. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/pl.js +815 -0
  139. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/pt-br.js +814 -0
  140. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/pt.js +815 -0
  141. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ro.js +815 -0
  142. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/ru.js +815 -0
  143. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/sk.js +815 -0
  144. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/sl.js +815 -0
  145. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/sr-latn.js +815 -0
  146. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/sr.js +815 -0
  147. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/sv.js +814 -0
  148. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/th.js +815 -0
  149. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/tr.js +814 -0
  150. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/uk.js +815 -0
  151. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/vi.js +815 -0
  152. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/zh-cn.js +815 -0
  153. data/app/assets/javascripts/quic_cms/ckeditor/_source/lang/zh.js +815 -0
  154. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +222 -0
  155. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
  156. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
  157. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/a11yhelp/plugin.js +47 -0
  158. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/about/dialogs/about.js +76 -0
  159. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/about/dialogs/logo_ckeditor.png +0 -0
  160. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/about/plugin.js +24 -0
  161. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/adobeair/plugin.js +228 -0
  162. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/ajax/plugin.js +152 -0
  163. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/autogrow/plugin.js +141 -0
  164. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/basicstyles/plugin.js +129 -0
  165. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/bbcode/plugin.js +931 -0
  166. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/bidi/plugin.js +334 -0
  167. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/blockquote/plugin.js +305 -0
  168. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/button/plugin.js +290 -0
  169. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/clipboard/dialogs/paste.js +223 -0
  170. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/clipboard/plugin.js +453 -0
  171. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/colorbutton/plugin.js +301 -0
  172. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js +340 -0
  173. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/colordialog/plugin.js +15 -0
  174. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/contextmenu/plugin.js +179 -0
  175. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/devtools/lang/en.js +16 -0
  176. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/devtools/plugin.js +173 -0
  177. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/dialog/dialogDefinition.js +1166 -0
  178. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/dialog/plugin.js +3308 -0
  179. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/dialogadvtab/plugin.js +208 -0
  180. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/dialogui/plugin.js +1541 -0
  181. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/div/dialogs/div.js +535 -0
  182. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/div/plugin.js +121 -0
  183. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/docprops/dialogs/docprops.js +674 -0
  184. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/docprops/plugin.js +22 -0
  185. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/domiterator/plugin.js +361 -0
  186. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/editingblock/plugin.js +278 -0
  187. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/elementspath/plugin.js +218 -0
  188. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/enterkey/plugin.js +433 -0
  189. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/entities/plugin.js +250 -0
  190. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/fakeobjects/plugin.js +175 -0
  191. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/filebrowser/plugin.js +534 -0
  192. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/find/dialogs/find.js +915 -0
  193. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/find/plugin.js +47 -0
  194. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/flash/dialogs/flash.js +674 -0
  195. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/flash/images/placeholder.png +0 -0
  196. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/flash/plugin.js +154 -0
  197. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/floatpanel/plugin.js +428 -0
  198. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/font/plugin.js +234 -0
  199. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/format/plugin.js +197 -0
  200. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/button.js +118 -0
  201. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/checkbox.js +153 -0
  202. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/form.js +177 -0
  203. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js +100 -0
  204. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/radio.js +135 -0
  205. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/select.js +558 -0
  206. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/textarea.js +135 -0
  207. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/dialogs/textfield.js +199 -0
  208. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/images/hiddenfield.gif +0 -0
  209. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/forms/plugin.js +288 -0
  210. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/horizontalrule/plugin.js +48 -0
  211. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/htmldataprocessor/plugin.js +596 -0
  212. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
  213. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/iframe/dialogs/iframe.js +229 -0
  214. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/iframe/images/placeholder.png +0 -0
  215. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/iframe/plugin.js +87 -0
  216. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/iframedialog/plugin.js +188 -0
  217. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/image/dialogs/image.js +1407 -0
  218. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/image/plugin.js +81 -0
  219. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/indent/plugin.js +461 -0
  220. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/justify/plugin.js +253 -0
  221. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
  222. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/link/dialogs/anchor.js +144 -0
  223. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/link/dialogs/link.js +1425 -0
  224. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/link/images/anchor.gif +0 -0
  225. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/link/plugin.js +374 -0
  226. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/list/plugin.js +774 -0
  227. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/listblock/plugin.js +266 -0
  228. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +225 -0
  229. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/liststyle/plugin.js +66 -0
  230. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/maximize/plugin.js +353 -0
  231. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/menu/plugin.js +541 -0
  232. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/menubutton/plugin.js +98 -0
  233. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/newpage/plugin.js +55 -0
  234. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/pagebreak/images/pagebreak.gif +0 -0
  235. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/pagebreak/plugin.js +164 -0
  236. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/panel/plugin.js +400 -0
  237. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/panelbutton/plugin.js +144 -0
  238. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/pastefromword/filter/default.js +1367 -0
  239. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/pastefromword/plugin.js +141 -0
  240. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +67 -0
  241. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/pastetext/plugin.js +98 -0
  242. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/placeholder/dialogs/placeholder.js +71 -0
  243. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/placeholder/lang/en.js +16 -0
  244. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/placeholder/lang/he.js +16 -0
  245. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/placeholder/placeholder.gif +0 -0
  246. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/placeholder/plugin.js +171 -0
  247. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/popup/plugin.js +64 -0
  248. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/preview/plugin.js +113 -0
  249. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/print/plugin.js +42 -0
  250. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/removeformat/plugin.js +185 -0
  251. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/resize/plugin.js +168 -0
  252. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/richcombo/plugin.js +381 -0
  253. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/save/plugin.js +56 -0
  254. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/scayt/dialogs/options.js +537 -0
  255. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/scayt/dialogs/toolbar.css +71 -0
  256. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/scayt/plugin.js +973 -0
  257. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/selection/plugin.js +1729 -0
  258. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_address.png +0 -0
  259. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_blockquote.png +0 -0
  260. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_div.png +0 -0
  261. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_h1.png +0 -0
  262. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_h2.png +0 -0
  263. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_h3.png +0 -0
  264. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_h4.png +0 -0
  265. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_h5.png +0 -0
  266. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_h6.png +0 -0
  267. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_p.png +0 -0
  268. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/images/block_pre.png +0 -0
  269. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showblocks/plugin.js +160 -0
  270. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/showborders/plugin.js +207 -0
  271. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/dialogs/smiley.js +224 -0
  272. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/angel_smile.gif +0 -0
  273. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/angry_smile.gif +0 -0
  274. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/broken_heart.gif +0 -0
  275. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/confused_smile.gif +0 -0
  276. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/cry_smile.gif +0 -0
  277. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/devil_smile.gif +0 -0
  278. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/embaressed_smile.gif +0 -0
  279. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/envelope.gif +0 -0
  280. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/heart.gif +0 -0
  281. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/kiss.gif +0 -0
  282. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/lightbulb.gif +0 -0
  283. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/omg_smile.gif +0 -0
  284. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/regular_smile.gif +0 -0
  285. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/sad_smile.gif +0 -0
  286. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/shades_smile.gif +0 -0
  287. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/teeth_smile.gif +0 -0
  288. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/thumbs_down.gif +0 -0
  289. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/thumbs_up.gif +0 -0
  290. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/tounge_smile.gif +0 -0
  291. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  292. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/images/wink_smile.gif +0 -0
  293. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/smiley/plugin.js +94 -0
  294. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/sourcearea/plugin.js +209 -0
  295. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/specialchar/dialogs/specialchar.js +350 -0
  296. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/specialchar/lang/en.js +122 -0
  297. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/specialchar/plugin.js +70 -0
  298. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/styles/plugin.js +1700 -0
  299. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/styles/styles/default.js +88 -0
  300. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/stylescombo/plugin.js +218 -0
  301. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/stylesheetparser/plugin.js +148 -0
  302. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/tab/plugin.js +367 -0
  303. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/table/dialogs/table.js +623 -0
  304. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/table/plugin.js +78 -0
  305. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/tableresize/plugin.js +443 -0
  306. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
  307. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/tabletools/plugin.js +1194 -0
  308. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/templates/dialogs/templates.js +234 -0
  309. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/templates/plugin.js +99 -0
  310. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/templates/templates/default.js +94 -0
  311. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/templates/templates/images/template1.gif +0 -0
  312. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/templates/templates/images/template2.gif +0 -0
  313. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/templates/templates/images/template3.gif +0 -0
  314. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/toolbar/plugin.js +545 -0
  315. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/dialogs/uicolor.js +205 -0
  316. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/lang/en.js +15 -0
  317. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/lang/he.js +15 -0
  318. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/plugin.js +37 -0
  319. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/uicolor.gif +0 -0
  320. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  321. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  322. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  323. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  324. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/yui/assets/yui.css +15 -0
  325. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/uicolor/yui/yui.js +71 -0
  326. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/undo/plugin.js +578 -0
  327. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/wsc/dialogs/ciframe.html +49 -0
  328. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  329. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/wsc/dialogs/wsc.css +82 -0
  330. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/wsc/dialogs/wsc.js +192 -0
  331. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/wsc/plugin.js +33 -0
  332. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/wysiwygarea/plugin.js +1347 -0
  333. data/app/assets/javascripts/quic_cms/ckeditor/_source/plugins/xml/plugin.js +170 -0
  334. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/dialog.css +989 -0
  335. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/editor.css +25 -0
  336. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/elementspath.css +73 -0
  337. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/icons.css +366 -0
  338. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/icons.png +0 -0
  339. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  340. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  341. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  342. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  343. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/mini.gif +0 -0
  344. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/noimage.png +0 -0
  345. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/sprites.png +0 -0
  346. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  347. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  348. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/mainui.css +206 -0
  349. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/menu.css +232 -0
  350. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/panel.css +217 -0
  351. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/presets.css +49 -0
  352. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/reset.css +85 -0
  353. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/richcombo.css +287 -0
  354. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/skin.js +236 -0
  355. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/templates.css +88 -0
  356. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/kama/toolbar.css +408 -0
  357. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/dialog.css +891 -0
  358. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/editor.css +25 -0
  359. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/elementspath.css +74 -0
  360. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/icons.css +363 -0
  361. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/icons.png +0 -0
  362. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/icons_rtl.png +0 -0
  363. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/dialog_sides.gif +0 -0
  364. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/dialog_sides.png +0 -0
  365. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/dialog_sides_rtl.png +0 -0
  366. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/mini.gif +0 -0
  367. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/noimage.png +0 -0
  368. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/sprites.png +0 -0
  369. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/images/sprites_ie6.png +0 -0
  370. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/mainui.css +153 -0
  371. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/menu.css +229 -0
  372. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/panel.css +212 -0
  373. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/presets.css +49 -0
  374. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/reset.css +85 -0
  375. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/richcombo.css +309 -0
  376. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/skin.js +74 -0
  377. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/templates.css +87 -0
  378. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/office2003/toolbar.css +522 -0
  379. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/dialog.css +907 -0
  380. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/editor.css +25 -0
  381. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/elementspath.css +74 -0
  382. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/icons.css +363 -0
  383. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/icons.png +0 -0
  384. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/icons_rtl.png +0 -0
  385. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/dialog_sides.gif +0 -0
  386. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/dialog_sides.png +0 -0
  387. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/dialog_sides_rtl.png +0 -0
  388. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/mini.gif +0 -0
  389. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/noimage.png +0 -0
  390. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/sprites.png +0 -0
  391. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/sprites_ie6.png +0 -0
  392. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/images/toolbar_start.gif +0 -0
  393. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/mainui.css +162 -0
  394. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/menu.css +232 -0
  395. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/panel.css +212 -0
  396. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/presets.css +50 -0
  397. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/reset.css +85 -0
  398. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/richcombo.css +302 -0
  399. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/skin.js +70 -0
  400. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/templates.css +87 -0
  401. data/app/assets/javascripts/quic_cms/ckeditor/_source/skins/v2/toolbar.css +465 -0
  402. data/app/assets/javascripts/quic_cms/ckeditor/_source/themes/default/theme.js +407 -0
  403. data/app/assets/javascripts/quic_cms/ckeditor/adapters/jquery.js +6 -0
  404. data/app/assets/javascripts/quic_cms/ckeditor/ckeditor.js +149 -0
  405. data/app/assets/javascripts/quic_cms/ckeditor/ckeditor.pack +211 -0
  406. data/app/assets/javascripts/quic_cms/ckeditor/ckeditor_basic.js +8 -0
  407. data/app/assets/javascripts/quic_cms/ckeditor/ckeditor_basic_source.js +20 -0
  408. data/app/assets/javascripts/quic_cms/ckeditor/ckeditor_source.js +35 -0
  409. data/app/assets/javascripts/quic_cms/ckeditor/config.js +65 -0
  410. data/app/assets/javascripts/quic_cms/ckeditor/contents.css +25 -0
  411. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/gal_add.jpg +0 -0
  412. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/gal_add.png +0 -0
  413. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/gal_del.png +0 -0
  414. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/gal_more.gif +0 -0
  415. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/preloader.gif +0 -0
  416. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif +0 -0
  417. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/thumbs/mp3.gif +0 -0
  418. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/thumbs/pdf.gif +0 -0
  419. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/thumbs/rar.gif +0 -0
  420. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/thumbs/swf.gif +0 -0
  421. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/images/thumbs/xls.gif +0 -0
  422. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/javascripts/application.js +222 -0
  423. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/javascripts/fileuploader.js +1301 -0
  424. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/javascripts/jquery.js +18 -0
  425. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/javascripts/jquery.tmpl.js +10 -0
  426. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/javascripts/rails.js +367 -0
  427. data/app/assets/javascripts/quic_cms/ckeditor/filebrowser/stylesheets/uploader.css +117 -0
  428. data/app/assets/javascripts/quic_cms/ckeditor/images/spacer.gif +0 -0
  429. data/app/assets/javascripts/quic_cms/ckeditor/lang/_languages.js +6 -0
  430. data/app/assets/javascripts/quic_cms/ckeditor/lang/_translationstatus.txt +61 -0
  431. data/app/assets/javascripts/quic_cms/ckeditor/lang/af.js +6 -0
  432. data/app/assets/javascripts/quic_cms/ckeditor/lang/ar.js +6 -0
  433. data/app/assets/javascripts/quic_cms/ckeditor/lang/bg.js +6 -0
  434. data/app/assets/javascripts/quic_cms/ckeditor/lang/bn.js +6 -0
  435. data/app/assets/javascripts/quic_cms/ckeditor/lang/bs.js +6 -0
  436. data/app/assets/javascripts/quic_cms/ckeditor/lang/ca.js +6 -0
  437. data/app/assets/javascripts/quic_cms/ckeditor/lang/cs.js +6 -0
  438. data/app/assets/javascripts/quic_cms/ckeditor/lang/cy.js +6 -0
  439. data/app/assets/javascripts/quic_cms/ckeditor/lang/da.js +6 -0
  440. data/app/assets/javascripts/quic_cms/ckeditor/lang/de.js +6 -0
  441. data/app/assets/javascripts/quic_cms/ckeditor/lang/el.js +6 -0
  442. data/app/assets/javascripts/quic_cms/ckeditor/lang/en-au.js +6 -0
  443. data/app/assets/javascripts/quic_cms/ckeditor/lang/en-ca.js +6 -0
  444. data/app/assets/javascripts/quic_cms/ckeditor/lang/en-gb.js +6 -0
  445. data/app/assets/javascripts/quic_cms/ckeditor/lang/en.js +6 -0
  446. data/app/assets/javascripts/quic_cms/ckeditor/lang/eo.js +6 -0
  447. data/app/assets/javascripts/quic_cms/ckeditor/lang/es.js +6 -0
  448. data/app/assets/javascripts/quic_cms/ckeditor/lang/et.js +6 -0
  449. data/app/assets/javascripts/quic_cms/ckeditor/lang/eu.js +6 -0
  450. data/app/assets/javascripts/quic_cms/ckeditor/lang/fa.js +6 -0
  451. data/app/assets/javascripts/quic_cms/ckeditor/lang/fi.js +6 -0
  452. data/app/assets/javascripts/quic_cms/ckeditor/lang/fo.js +6 -0
  453. data/app/assets/javascripts/quic_cms/ckeditor/lang/fr-ca.js +6 -0
  454. data/app/assets/javascripts/quic_cms/ckeditor/lang/fr.js +6 -0
  455. data/app/assets/javascripts/quic_cms/ckeditor/lang/gl.js +6 -0
  456. data/app/assets/javascripts/quic_cms/ckeditor/lang/gu.js +6 -0
  457. data/app/assets/javascripts/quic_cms/ckeditor/lang/he.js +6 -0
  458. data/app/assets/javascripts/quic_cms/ckeditor/lang/hi.js +6 -0
  459. data/app/assets/javascripts/quic_cms/ckeditor/lang/hr.js +6 -0
  460. data/app/assets/javascripts/quic_cms/ckeditor/lang/hu.js +6 -0
  461. data/app/assets/javascripts/quic_cms/ckeditor/lang/is.js +6 -0
  462. data/app/assets/javascripts/quic_cms/ckeditor/lang/it.js +6 -0
  463. data/app/assets/javascripts/quic_cms/ckeditor/lang/ja.js +6 -0
  464. data/app/assets/javascripts/quic_cms/ckeditor/lang/ka.js +6 -0
  465. data/app/assets/javascripts/quic_cms/ckeditor/lang/km.js +6 -0
  466. data/app/assets/javascripts/quic_cms/ckeditor/lang/ko.js +6 -0
  467. data/app/assets/javascripts/quic_cms/ckeditor/lang/lt.js +6 -0
  468. data/app/assets/javascripts/quic_cms/ckeditor/lang/lv.js +6 -0
  469. data/app/assets/javascripts/quic_cms/ckeditor/lang/mn.js +6 -0
  470. data/app/assets/javascripts/quic_cms/ckeditor/lang/ms.js +6 -0
  471. data/app/assets/javascripts/quic_cms/ckeditor/lang/nb.js +6 -0
  472. data/app/assets/javascripts/quic_cms/ckeditor/lang/nl.js +6 -0
  473. data/app/assets/javascripts/quic_cms/ckeditor/lang/no.js +6 -0
  474. data/app/assets/javascripts/quic_cms/ckeditor/lang/pl.js +6 -0
  475. data/app/assets/javascripts/quic_cms/ckeditor/lang/pt-br.js +6 -0
  476. data/app/assets/javascripts/quic_cms/ckeditor/lang/pt.js +6 -0
  477. data/app/assets/javascripts/quic_cms/ckeditor/lang/ro.js +6 -0
  478. data/app/assets/javascripts/quic_cms/ckeditor/lang/ru.js +6 -0
  479. data/app/assets/javascripts/quic_cms/ckeditor/lang/sk.js +6 -0
  480. data/app/assets/javascripts/quic_cms/ckeditor/lang/sl.js +6 -0
  481. data/app/assets/javascripts/quic_cms/ckeditor/lang/sr-latn.js +6 -0
  482. data/app/assets/javascripts/quic_cms/ckeditor/lang/sr.js +6 -0
  483. data/app/assets/javascripts/quic_cms/ckeditor/lang/sv.js +6 -0
  484. data/app/assets/javascripts/quic_cms/ckeditor/lang/th.js +6 -0
  485. data/app/assets/javascripts/quic_cms/ckeditor/lang/tr.js +6 -0
  486. data/app/assets/javascripts/quic_cms/ckeditor/lang/uk.js +6 -0
  487. data/app/assets/javascripts/quic_cms/ckeditor/lang/vi.js +6 -0
  488. data/app/assets/javascripts/quic_cms/ckeditor/lang/zh-cn.js +6 -0
  489. data/app/assets/javascripts/quic_cms/ckeditor/lang/zh.js +6 -0
  490. data/app/assets/javascripts/quic_cms/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
  491. data/app/assets/javascripts/quic_cms/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
  492. data/app/assets/javascripts/quic_cms/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
  493. data/app/assets/javascripts/quic_cms/ckeditor/plugins/about/dialogs/about.js +6 -0
  494. data/app/assets/javascripts/quic_cms/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  495. data/app/assets/javascripts/quic_cms/ckeditor/plugins/adobeair/plugin.js +6 -0
  496. data/app/assets/javascripts/quic_cms/ckeditor/plugins/ajax/plugin.js +6 -0
  497. data/app/assets/javascripts/quic_cms/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
  498. data/app/assets/javascripts/quic_cms/ckeditor/plugins/attachment/images/attachment.png +0 -0
  499. data/app/assets/javascripts/quic_cms/ckeditor/plugins/attachment/lang/en.js +10 -0
  500. data/app/assets/javascripts/quic_cms/ckeditor/plugins/attachment/lang/ru.js +10 -0
  501. data/app/assets/javascripts/quic_cms/ckeditor/plugins/attachment/lang/uk.js +10 -0
  502. data/app/assets/javascripts/quic_cms/ckeditor/plugins/attachment/plugin.js +1 -0
  503. data/app/assets/javascripts/quic_cms/ckeditor/plugins/autogrow/plugin.js +6 -0
  504. data/app/assets/javascripts/quic_cms/ckeditor/plugins/bbcode/plugin.js +9 -0
  505. data/app/assets/javascripts/quic_cms/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
  506. data/app/assets/javascripts/quic_cms/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
  507. data/app/assets/javascripts/quic_cms/ckeditor/plugins/devtools/lang/en.js +6 -0
  508. data/app/assets/javascripts/quic_cms/ckeditor/plugins/devtools/plugin.js +6 -0
  509. data/app/assets/javascripts/quic_cms/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  510. data/app/assets/javascripts/quic_cms/ckeditor/plugins/div/dialogs/div.js +8 -0
  511. data/app/assets/javascripts/quic_cms/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
  512. data/app/assets/javascripts/quic_cms/ckeditor/plugins/docprops/plugin.js +6 -0
  513. data/app/assets/javascripts/quic_cms/ckeditor/plugins/embed/dialogs/embed.js +1 -0
  514. data/app/assets/javascripts/quic_cms/ckeditor/plugins/embed/images/embed.png +0 -0
  515. data/app/assets/javascripts/quic_cms/ckeditor/plugins/embed/lang/en.js +9 -0
  516. data/app/assets/javascripts/quic_cms/ckeditor/plugins/embed/lang/ru.js +9 -0
  517. data/app/assets/javascripts/quic_cms/ckeditor/plugins/embed/lang/uk.js +9 -0
  518. data/app/assets/javascripts/quic_cms/ckeditor/plugins/embed/plugin.js +1 -0
  519. data/app/assets/javascripts/quic_cms/ckeditor/plugins/find/dialogs/find.js +10 -0
  520. data/app/assets/javascripts/quic_cms/ckeditor/plugins/flash/dialogs/flash.js +9 -0
  521. data/app/assets/javascripts/quic_cms/ckeditor/plugins/flash/images/placeholder.png +0 -0
  522. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/button.js +6 -0
  523. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
  524. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/form.js +6 -0
  525. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
  526. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/radio.js +6 -0
  527. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/select.js +9 -0
  528. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
  529. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
  530. data/app/assets/javascripts/quic_cms/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  531. data/app/assets/javascripts/quic_cms/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
  532. data/app/assets/javascripts/quic_cms/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  533. data/app/assets/javascripts/quic_cms/ckeditor/plugins/iframedialog/plugin.js +6 -0
  534. data/app/assets/javascripts/quic_cms/ckeditor/plugins/image/dialogs/image.js +13 -0
  535. data/app/assets/javascripts/quic_cms/ckeditor/plugins/link/dialogs/anchor.js +6 -0
  536. data/app/assets/javascripts/quic_cms/ckeditor/plugins/link/dialogs/link.js +12 -0
  537. data/app/assets/javascripts/quic_cms/ckeditor/plugins/link/images/anchor.gif +0 -0
  538. data/app/assets/javascripts/quic_cms/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -0
  539. data/app/assets/javascripts/quic_cms/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  540. data/app/assets/javascripts/quic_cms/ckeditor/plugins/pastefromword/filter/default.js +11 -0
  541. data/app/assets/javascripts/quic_cms/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
  542. data/app/assets/javascripts/quic_cms/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
  543. data/app/assets/javascripts/quic_cms/ckeditor/plugins/placeholder/lang/en.js +6 -0
  544. data/app/assets/javascripts/quic_cms/ckeditor/plugins/placeholder/lang/he.js +6 -0
  545. data/app/assets/javascripts/quic_cms/ckeditor/plugins/placeholder/placeholder.gif +0 -0
  546. data/app/assets/javascripts/quic_cms/ckeditor/plugins/placeholder/plugin.js +6 -0
  547. data/app/assets/javascripts/quic_cms/ckeditor/plugins/scayt/dialogs/options.js +8 -0
  548. data/app/assets/javascripts/quic_cms/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
  549. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  550. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  551. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  552. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  553. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  554. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  555. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  556. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  557. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  558. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  559. data/app/assets/javascripts/quic_cms/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  560. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
  561. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  562. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  563. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  564. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  565. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  566. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  567. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  568. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  569. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/heart.gif +0 -0
  570. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  571. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  572. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  573. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  574. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  575. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  576. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  577. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  578. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  579. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  580. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  581. data/app/assets/javascripts/quic_cms/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  582. data/app/assets/javascripts/quic_cms/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  583. data/app/assets/javascripts/quic_cms/ckeditor/plugins/specialchar/lang/en.js +6 -0
  584. data/app/assets/javascripts/quic_cms/ckeditor/plugins/styles/styles/default.js +6 -0
  585. data/app/assets/javascripts/quic_cms/ckeditor/plugins/stylesheetparser/plugin.js +6 -0
  586. data/app/assets/javascripts/quic_cms/ckeditor/plugins/table/dialogs/table.js +9 -0
  587. data/app/assets/javascripts/quic_cms/ckeditor/plugins/tableresize/plugin.js +7 -0
  588. data/app/assets/javascripts/quic_cms/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
  589. data/app/assets/javascripts/quic_cms/ckeditor/plugins/templates/dialogs/templates.js +7 -0
  590. data/app/assets/javascripts/quic_cms/ckeditor/plugins/templates/templates/default.js +6 -0
  591. data/app/assets/javascripts/quic_cms/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  592. data/app/assets/javascripts/quic_cms/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  593. data/app/assets/javascripts/quic_cms/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  594. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
  595. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/lang/en.js +6 -0
  596. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/lang/he.js +6 -0
  597. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/plugin.js +6 -0
  598. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  599. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  600. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  601. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  602. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  603. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
  604. data/app/assets/javascripts/quic_cms/ckeditor/plugins/uicolor/yui/yui.js +76 -0
  605. data/app/assets/javascripts/quic_cms/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  606. data/app/assets/javascripts/quic_cms/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  607. data/app/assets/javascripts/quic_cms/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
  608. data/app/assets/javascripts/quic_cms/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
  609. data/app/assets/javascripts/quic_cms/ckeditor/plugins/xml/plugin.js +6 -0
  610. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/dialog.css +10 -0
  611. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/editor.css +13 -0
  612. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/icons.png +0 -0
  613. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/icons_rtl.png +0 -0
  614. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  615. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  616. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  617. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/mini.gif +0 -0
  618. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/noimage.png +0 -0
  619. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/sprites.png +0 -0
  620. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  621. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  622. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/skin.js +7 -0
  623. data/app/assets/javascripts/quic_cms/ckeditor/skins/kama/templates.css +6 -0
  624. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/dialog.css +9 -0
  625. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/editor.css +14 -0
  626. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/icons.png +0 -0
  627. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/icons_rtl.png +0 -0
  628. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  629. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  630. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  631. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/mini.gif +0 -0
  632. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/noimage.png +0 -0
  633. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/sprites.png +0 -0
  634. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  635. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/skin.js +6 -0
  636. data/app/assets/javascripts/quic_cms/ckeditor/skins/office2003/templates.css +6 -0
  637. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/dialog.css +9 -0
  638. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/editor.css +13 -0
  639. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/icons.png +0 -0
  640. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/icons_rtl.png +0 -0
  641. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  642. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  643. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  644. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/mini.gif +0 -0
  645. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/noimage.png +0 -0
  646. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/sprites.png +0 -0
  647. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  648. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  649. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/skin.js +6 -0
  650. data/app/assets/javascripts/quic_cms/ckeditor/skins/v2/templates.css +6 -0
  651. data/app/assets/javascripts/quic_cms/ckeditor/themes/default/theme.js +8 -0
  652. data/app/controllers/quic_cms/admin/base_controller.rb +1 -1
  653. data/app/views/layouts/quic_cms/application.html.erb +2 -1
  654. data/app/views/quic_cms/admin/pages/_form.html.erb +1 -3
  655. data/config/initializers/ckeditor.rb +1 -0
  656. data/lib/quic_cms.rb +1 -0
  657. data/lib/quic_cms/version.rb +1 -1
  658. data/test/dummy/config/application.rb +1 -0
  659. data/test/dummy/db/development.sqlite3 +0 -0
  660. data/test/dummy/log/development.log +3718 -0
  661. data/test/dummy/tmp/cache/assets/BA9/B00/sprockets%2F0ed496270513006281b4125980118d01 +0 -0
  662. data/test/dummy/tmp/cache/assets/BE8/650/sprockets%2F2c171522598162b8b7c137897113b222 +0 -0
  663. data/test/dummy/tmp/cache/assets/BEC/6F0/sprockets%2F48177951709b5121021c0398c43b19b9 +0 -0
  664. data/test/dummy/tmp/cache/assets/C00/FB0/sprockets%2F99063b099506960c1b808d7161492e95 +0 -0
  665. data/test/dummy/tmp/cache/assets/C02/240/sprockets%2F92422c8797c636792f215f408a815572 +0 -0
  666. data/test/dummy/tmp/cache/assets/C15/C30/sprockets%2F3107179f7ac02b0859196b12a1566820 +0 -0
  667. data/test/dummy/tmp/cache/assets/C19/F10/sprockets%2F51196128ddc04761d5d99123570061a6 +0 -0
  668. data/test/dummy/tmp/cache/assets/C1E/A20/sprockets%2Fc28f2bc2240bd8192774817101958381 +0 -0
  669. data/test/dummy/tmp/cache/assets/C26/EE0/sprockets%2F10f9707f33e3e5391283887d201637a5 +0 -0
  670. data/test/dummy/tmp/cache/assets/C2B/7A0/sprockets%2F475277546e0684f30aa42930647f68c4 +0 -0
  671. data/test/dummy/tmp/cache/assets/C2E/540/sprockets%2F8b9993d855003970032f6e594770d0e2 +0 -0
  672. data/test/dummy/tmp/cache/assets/C3F/EF0/sprockets%2F14a2163d232862b1b47df49117b12296 +0 -0
  673. data/test/dummy/tmp/cache/assets/C40/050/sprockets%2F1cb77052c853c8560100d67502b0d593 +0 -0
  674. data/test/dummy/tmp/cache/assets/C40/B70/sprockets%2F6b135270e5a2926b6d4321740e73e043 +0 -0
  675. data/test/dummy/tmp/cache/assets/C41/420/sprockets%2F23d6322f57f0d4a573800342714d34c4 +0 -0
  676. data/test/dummy/tmp/cache/assets/C48/E50/sprockets%2F5ec937848a200c06a81181693f5a6022 +0 -0
  677. data/test/dummy/tmp/cache/assets/C49/620/sprockets%2Fbb842440fcf2c28d7724692111470446 +0 -0
  678. data/test/dummy/tmp/cache/assets/C4B/230/sprockets%2Fe7c23393245a2f45c1688e174720c044 +0 -0
  679. data/test/dummy/tmp/cache/assets/C4C/050/sprockets%2F97a2c4ac206474543a4b654e47170278 +0 -0
  680. data/test/dummy/tmp/cache/assets/C4C/650/sprockets%2F47b2d64d42241f728c294311c8d21765 +0 -0
  681. data/test/dummy/tmp/cache/assets/C50/970/sprockets%2F89093924837210142fbe53ea25a5296c +0 -0
  682. data/test/dummy/tmp/cache/assets/C54/A90/sprockets%2F68b18d0537309c046a27f3f02e846665 +0 -0
  683. data/test/dummy/tmp/cache/assets/C56/B40/sprockets%2F1f955a3f3214835d28e0550947544ef3 +0 -0
  684. data/test/dummy/tmp/cache/assets/C58/3B0/sprockets%2Fd09f04ca085203994685ff8b14616248 +0 -0
  685. data/test/dummy/tmp/cache/assets/C58/FC0/sprockets%2F941e427937eef488c1a46576523133a2 +0 -0
  686. data/test/dummy/tmp/cache/assets/C58/FD0/sprockets%2F57f5231943f48d91476fd853007b1b35 +0 -0
  687. data/test/dummy/tmp/cache/assets/C5E/2B0/sprockets%2Fbf0d1841586851e90065f6313e886a96 +0 -0
  688. data/test/dummy/tmp/cache/assets/C63/110/sprockets%2F73c968745f3699c9981b070a92a37b02 +0 -0
  689. data/test/dummy/tmp/cache/assets/C69/EB0/sprockets%2F059031a69f2ce31c504524471d1521eb +0 -0
  690. data/test/dummy/tmp/cache/assets/C6B/F40/sprockets%2Fc257c24502f5a60523167aa4e0661a83 +0 -0
  691. data/test/dummy/tmp/cache/assets/C6C/310/sprockets%2F1052028d12936b016fea13b515fc8806 +0 -0
  692. data/test/dummy/tmp/cache/assets/C6D/790/sprockets%2Fa3a24a406e171426160834581bb5a95e +0 -0
  693. data/test/dummy/tmp/cache/assets/C6F/C20/sprockets%2Fc3d12234ae140472e6482928fc77a010 +0 -0
  694. data/test/dummy/tmp/cache/assets/C71/080/sprockets%2F8763fca4757f09817422f8986390be58 +0 -0
  695. data/test/dummy/tmp/cache/assets/C72/480/sprockets%2F7a17a36d252b5076443fe3f40312b628 +0 -0
  696. data/test/dummy/tmp/cache/assets/C75/850/sprockets%2F22067df88e271fa9206f31119d1604a2 +0 -0
  697. data/test/dummy/tmp/cache/assets/C75/A30/sprockets%2Fc1777340fc22577de17d1310c829d203 +0 -0
  698. data/test/dummy/tmp/cache/assets/C76/140/sprockets%2F1c0d64340e13a68755330e7c6993e11a +0 -0
  699. data/test/dummy/tmp/cache/assets/C76/2F0/sprockets%2F207b3b1f1687453100995c262df2ad92 +0 -0
  700. data/test/dummy/tmp/cache/assets/C76/6B0/sprockets%2Fd201089413d0434f95216ddc91b813b9 +0 -0
  701. data/test/dummy/tmp/cache/assets/C76/B60/sprockets%2Fe34a8c4105968f604e2b480293c1240d +0 -0
  702. data/test/dummy/tmp/cache/assets/C78/AE0/sprockets%2Ffa346e6a94e122a55c4069c644571006 +0 -0
  703. data/test/dummy/tmp/cache/assets/C7A/7E0/sprockets%2F4d63f771501e1143330139edb6568cd6 +0 -0
  704. data/test/dummy/tmp/cache/assets/C7B/720/sprockets%2F821ebe0e0602a52c4154b26497f93864 +0 -0
  705. data/test/dummy/tmp/cache/assets/C7B/EC0/sprockets%2F3a1b095fc269441668290cb01179f90b +0 -0
  706. data/test/dummy/tmp/cache/assets/C7C/E40/sprockets%2F6704046639ccf03d5350a8882562cb1e +0 -0
  707. data/test/dummy/tmp/cache/assets/C7D/870/sprockets%2Fe5648066bb7f0360f106d0771797f1a0 +0 -0
  708. data/test/dummy/tmp/cache/assets/C7D/AC0/sprockets%2F7927fd1409b522d7f823a6361c8514a0 +0 -0
  709. data/test/dummy/tmp/cache/assets/C7D/C00/sprockets%2F2712631e1c8bf27884440a9a818a3f70 +0 -0
  710. data/test/dummy/tmp/cache/assets/C7D/E20/sprockets%2Fc8146d3e853310afc9a6651d98820033 +0 -0
  711. data/test/dummy/tmp/cache/assets/C80/7D0/sprockets%2F02c02880672e8c449809c2536b4e4ae4 +0 -0
  712. data/test/dummy/tmp/cache/assets/C81/950/sprockets%2Fa6850f257f4889661f807ab7a0101d16 +0 -0
  713. data/test/dummy/tmp/cache/assets/C81/AF0/sprockets%2F375e7715f62372371fba373323e4d28c +0 -0
  714. data/test/dummy/tmp/cache/assets/C82/6B0/sprockets%2F9708a2d0aac258177047ae7479f17208 +0 -0
  715. data/test/dummy/tmp/cache/assets/C84/8A0/sprockets%2Fbc21960379f7615fbf2509700e1c6278 +0 -0
  716. data/test/dummy/tmp/cache/assets/C85/EF0/sprockets%2Fc01f47407897149438bf3cb76a270b83 +0 -0
  717. data/test/dummy/tmp/cache/assets/C87/C40/sprockets%2F26e981c2094f4a58d2616952238c4ca7 +0 -0
  718. data/test/dummy/tmp/cache/assets/C8A/590/sprockets%2F5715384dc171b7958b8b194446a0c5f7 +0 -0
  719. data/test/dummy/tmp/cache/assets/C8A/9A0/sprockets%2Fc560c3846e32c448416c3758f6435fa7 +0 -0
  720. data/test/dummy/tmp/cache/assets/C8D/270/sprockets%2F23af40159d3146c88880d688643ce85a +0 -0
  721. data/test/dummy/tmp/cache/assets/C8D/DC0/sprockets%2F970e39e54f930627908c184c0c0d198d +0 -0
  722. data/test/dummy/tmp/cache/assets/C8E/690/sprockets%2F77ca911d740fc5565604575984c3c63f +0 -0
  723. data/test/dummy/tmp/cache/assets/C8E/970/sprockets%2F64112952397c3d6098740767debbef90 +0 -0
  724. data/test/dummy/tmp/cache/assets/C8F/020/sprockets%2F98794fb0d419b924531f32451d8c96e2 +0 -0
  725. data/test/dummy/tmp/cache/assets/C90/260/sprockets%2F9a8a10e77ca8397891e22f7c08390393 +0 -0
  726. data/test/dummy/tmp/cache/assets/C95/090/sprockets%2F94430d478572f5056553cc7a4ce98f84 +0 -0
  727. data/test/dummy/tmp/cache/assets/C95/480/sprockets%2F03478841395887e0bbd35727db7f43f9 +0 -0
  728. data/test/dummy/tmp/cache/assets/C98/B90/sprockets%2Fdf812b9995f9a0268053d85659d87a22 +0 -0
  729. data/test/dummy/tmp/cache/assets/C9B/FB0/sprockets%2Fc6979861fa39fc442d67c1586c951608 +0 -0
  730. data/test/dummy/tmp/cache/assets/C9D/D40/sprockets%2F2baf719a78a436f6578886f9f0321589 +0 -0
  731. data/test/dummy/tmp/cache/assets/C9E/080/sprockets%2Fa1670c0b29cb01d5c95134842b71428e +0 -0
  732. data/test/dummy/tmp/cache/assets/C9F/180/sprockets%2Fd5753ee4e1c602043f121a63a21b7929 +0 -0
  733. data/test/dummy/tmp/cache/assets/C9F/670/sprockets%2Fb2a33b4a6619309303861beb7b204d86 +0 -0
  734. data/test/dummy/tmp/cache/assets/C9F/A70/sprockets%2F410038970db000bd0df8164735e39b6b +0 -0
  735. data/test/dummy/tmp/cache/assets/CA0/200/sprockets%2Ffbd03fc52020251915284a5853d6a29b +0 -0
  736. data/test/dummy/tmp/cache/assets/CA0/2F0/sprockets%2F11cb49d59ba21115595a0b7d5614d165 +0 -0
  737. data/test/dummy/tmp/cache/assets/CA1/150/sprockets%2F21163d6f3c9530d21e8b6a5f225094a2 +0 -0
  738. data/test/dummy/tmp/cache/assets/CA1/260/sprockets%2F24d1f70b25419d53b16cf474328b106c +0 -0
  739. data/test/dummy/tmp/cache/assets/CA1/430/sprockets%2F183a5ead10b8c16887521169c25a0e41 +0 -0
  740. data/test/dummy/tmp/cache/assets/CA1/FB0/sprockets%2Fc60c900af814ae57025cb363b4248842 +0 -0
  741. data/test/dummy/tmp/cache/assets/CA2/970/sprockets%2F03048cf2419530cb16fc280d0d95850d +0 -0
  742. data/test/dummy/tmp/cache/assets/CA2/C00/sprockets%2F9a4243a2621b32b8c14f62878b80d41b +0 -0
  743. data/test/dummy/tmp/cache/assets/CA3/B60/sprockets%2F9e34421b27465ae7bb43104e2348b5e2 +0 -0
  744. data/test/dummy/tmp/cache/assets/CA4/210/sprockets%2F8e90ce1f015324bd09f761c200577d05 +0 -0
  745. data/test/dummy/tmp/cache/assets/CA4/E10/sprockets%2F4310f265a63cf3b52f6467a67c40e133 +0 -0
  746. data/test/dummy/tmp/cache/assets/CA4/E30/sprockets%2F3d73a1d4684deb495551035be8023a42 +0 -0
  747. data/test/dummy/tmp/cache/assets/CA5/A10/sprockets%2F88145120bdf0b15e89c2457181ec73a0 +0 -0
  748. data/test/dummy/tmp/cache/assets/CA6/560/sprockets%2F81489014c4449d9aba3fee003573150c +0 -0
  749. data/test/dummy/tmp/cache/assets/CA9/350/sprockets%2Fc85402b163892c69b910da717ccb7070 +0 -0
  750. data/test/dummy/tmp/cache/assets/CA9/8A0/sprockets%2Ffb6936125256940aee9212e175ab40d5 +0 -0
  751. data/test/dummy/tmp/cache/assets/CAA/EF0/sprockets%2Fdfcd08e2c912e599c10026f124692045 +0 -0
  752. data/test/dummy/tmp/cache/assets/CAB/5A0/sprockets%2F2400b439df2400520d059f5f97f76db4 +0 -0
  753. data/test/dummy/tmp/cache/assets/CAD/030/sprockets%2Fc565af3799566b844973fcf47c585796 +0 -0
  754. data/test/dummy/tmp/cache/assets/CAD/6B0/sprockets%2F00214f89d0b79a537c138f9d05419bd2 +0 -0
  755. data/test/dummy/tmp/cache/assets/CAE/7E0/sprockets%2F794828340e6ce5ea34c119aa4818a820 +0 -0
  756. data/test/dummy/tmp/cache/assets/CAE/DC0/sprockets%2F92d004f456f5bc540ee1d20166882f29 +0 -0
  757. data/test/dummy/tmp/cache/assets/CAF/8A0/sprockets%2Fd176c310bcd73272926735a9eca12994 +0 -0
  758. data/test/dummy/tmp/cache/assets/CB0/D90/sprockets%2F4d262b0c7b3fd1948e495061a754564c +0 -0
  759. data/test/dummy/tmp/cache/assets/CB1/290/sprockets%2F5ff5268c663edec25694005a34138c42 +0 -0
  760. data/test/dummy/tmp/cache/assets/CB1/CE0/sprockets%2Fe60f18194ca87aa6965a543377e1d312 +0 -0
  761. data/test/dummy/tmp/cache/assets/CB1/D60/sprockets%2Fa0e7cb0bf434b0592722f91f69057864 +0 -0
  762. data/test/dummy/tmp/cache/assets/CB2/DA0/sprockets%2F993bc59d1167cbe6b4623d5874222b60 +0 -0
  763. data/test/dummy/tmp/cache/assets/CB2/DC0/sprockets%2Fa0fa4e463758f4335b166b4938ce6242 +0 -0
  764. data/test/dummy/tmp/cache/assets/CB3/4A0/sprockets%2Fbb9103242f461947785a56f73b7c52ae +0 -0
  765. data/test/dummy/tmp/cache/assets/CB4/2A0/sprockets%2F66af1045036b448809782ed595be0ad6 +0 -0
  766. data/test/dummy/tmp/cache/assets/CB5/8D0/sprockets%2F7682a96fc8a95540a291bff1822015d7 +0 -0
  767. data/test/dummy/tmp/cache/assets/CB5/C50/sprockets%2F29b01c56582276472596d0f8bc1e9d1c +0 -0
  768. data/test/dummy/tmp/cache/assets/CB5/FA0/sprockets%2Ff5533a865ca40618366b48d81455dde3 +0 -0
  769. data/test/dummy/tmp/cache/assets/CB6/110/sprockets%2Fa2efe87014e245955867b8b5760ab280 +0 -0
  770. data/test/dummy/tmp/cache/assets/CB6/840/sprockets%2Fa39ecb12678f1652a2542c75ca473897 +0 -0
  771. data/test/dummy/tmp/cache/assets/CB6/A90/sprockets%2F76e12d51f22fc7245074b5026787fe9b +0 -0
  772. data/test/dummy/tmp/cache/assets/CB7/070/sprockets%2F20142a0511d0cbf006290cd790ba0f28 +0 -0
  773. data/test/dummy/tmp/cache/assets/CB7/730/sprockets%2F821fea94576058e621dc8c97131d613e +0 -0
  774. data/test/dummy/tmp/cache/assets/CB8/290/sprockets%2F2430b4427d5e41e868f6782a7d8c5f03 +0 -0
  775. data/test/dummy/tmp/cache/assets/CB8/620/sprockets%2F635209129dc8db616dfc65a5846285c3 +0 -0
  776. data/test/dummy/tmp/cache/assets/CB9/030/sprockets%2Fa90e77528d941f587b920398a03da44c +0 -0
  777. data/test/dummy/tmp/cache/assets/CB9/6B0/sprockets%2Fd82f9fd70e39265347eed48b15252314 +0 -0
  778. data/test/dummy/tmp/cache/assets/CB9/AE0/sprockets%2Fc3553e3e6741439fd4a45658f206f17d +0 -0
  779. data/test/dummy/tmp/cache/assets/CB9/EC0/sprockets%2Fe598c1399ecc80d200671b7090174f9e +0 -0
  780. data/test/dummy/tmp/cache/assets/CBB/0C0/sprockets%2F1328ebe19e07138eb454c13f699547b8 +0 -0
  781. data/test/dummy/tmp/cache/assets/CBB/3E0/sprockets%2F49fea4f989d31c41d53f19127e627008 +0 -0
  782. data/test/dummy/tmp/cache/assets/CBD/3C0/sprockets%2F5885f4a1aa606b46a497b5f97395e450 +0 -0
  783. data/test/dummy/tmp/cache/assets/CBD/800/sprockets%2F2762aa263cf846341e803d7495eeb959 +0 -0
  784. data/test/dummy/tmp/cache/assets/CBE/100/sprockets%2F8a7d7501e3853709f723eddf365035f8 +0 -0
  785. data/test/dummy/tmp/cache/assets/CC0/4C0/sprockets%2F268199406a3d37df6a9e5f561b439c46 +0 -0
  786. data/test/dummy/tmp/cache/assets/CC1/E30/sprockets%2F573cf1953cd9ff793aa38191a3587417 +0 -0
  787. data/test/dummy/tmp/cache/assets/CC3/C50/sprockets%2F55f33d846deee95546027cc4974362b7 +0 -0
  788. data/test/dummy/tmp/cache/assets/CC3/FE0/sprockets%2F34958a1997a5b090f760906ace58f5d7 +0 -0
  789. data/test/dummy/tmp/cache/assets/CC4/000/sprockets%2F728a4d72e3163d39d6c18492a77d7f77 +0 -0
  790. data/test/dummy/tmp/cache/assets/CC4/DC0/sprockets%2F7905d79f00ab9594da97a9e71d218196 +0 -0
  791. data/test/dummy/tmp/cache/assets/CC5/650/sprockets%2Ff8829579c3299160bfb12f49eae86702 +0 -0
  792. data/test/dummy/tmp/cache/assets/CC5/B70/sprockets%2Fa8a390f184309cdf18ce7299186815e9 +0 -0
  793. data/test/dummy/tmp/cache/assets/CC6/200/sprockets%2F29833f86e3f2d1f69671bfd593f03285 +0 -0
  794. data/test/dummy/tmp/cache/assets/CC6/2E0/sprockets%2F59c69872075fdeddb7415771760b7a76 +0 -0
  795. data/test/dummy/tmp/cache/assets/CC6/E40/sprockets%2F878c668ea3348a6b36f78fd8e5216440 +0 -0
  796. data/test/dummy/tmp/cache/assets/CC6/FF0/sprockets%2F6f0125f107d2cc11407af150ea13479d +0 -0
  797. data/test/dummy/tmp/cache/assets/CC8/030/sprockets%2F03126385510ccbac3058cee402d9b318 +0 -0
  798. data/test/dummy/tmp/cache/assets/CC8/660/sprockets%2Fa2ac894529de4959f2013b8d769993e2 +0 -0
  799. data/test/dummy/tmp/cache/assets/CC9/7F0/sprockets%2F2d607f27e953c9946ddf934f953c1058 +0 -0
  800. data/test/dummy/tmp/cache/assets/CCA/3E0/sprockets%2F6cb270301396d4ae1d4751be2e3d1730 +0 -0
  801. data/test/dummy/tmp/cache/assets/CCB/370/sprockets%2F5fa5b3041150df5fae120868635023be +0 -0
  802. data/test/dummy/tmp/cache/assets/CCB/9D0/sprockets%2F07b5f6d94791700c1f2afa73a3110f02 +0 -0
  803. data/test/dummy/tmp/cache/assets/CCB/B70/sprockets%2F69c2f3999528dc33f3db458864674af1 +0 -0
  804. data/test/dummy/tmp/cache/assets/CCC/590/sprockets%2Ff367ff8ba47450339d939c8329bd6981 +0 -0
  805. data/test/dummy/tmp/cache/assets/CCC/BD0/sprockets%2F4b178d6b060b95a0df43427a5113c0d7 +0 -0
  806. data/test/dummy/tmp/cache/assets/CCE/990/sprockets%2F40d48492f5a402e533c3aff1d134236b +0 -0
  807. data/test/dummy/tmp/cache/assets/CCE/A00/sprockets%2Fd6d008fb404404b2df575ec03f325361 +0 -0
  808. data/test/dummy/tmp/cache/assets/CCF/720/sprockets%2F24b233fe1c38cf0423108356fa3e529a +0 -0
  809. data/test/dummy/tmp/cache/assets/CCF/BA0/sprockets%2F70f8333bf3f98829b761a93e7a92f966 +0 -0
  810. data/test/dummy/tmp/cache/assets/CD0/7E0/sprockets%2Fcf05167df91a5db0c305159c41326c53 +0 -0
  811. data/test/dummy/tmp/cache/assets/CD1/0D0/sprockets%2F60811cc22b8d47ea5428dd1324c5a734 +0 -0
  812. data/test/dummy/tmp/cache/assets/CD1/660/sprockets%2Fd4d143a86e0209903576f08e4dda0a30 +0 -0
  813. data/test/dummy/tmp/cache/assets/CD1/C70/sprockets%2F3b4743392eb69a611d0ec30c1990f3a2 +0 -0
  814. data/test/dummy/tmp/cache/assets/CD2/7D0/sprockets%2F9e390f792d29706357d29e8a176f96cf +0 -0
  815. data/test/dummy/tmp/cache/assets/CD3/F20/sprockets%2F3c8e81ac877a1bb3884cd016167213a1 +0 -0
  816. data/test/dummy/tmp/cache/assets/CD4/2B0/sprockets%2F16e4cf1935bc65a98133d3417d15b1d0 +0 -0
  817. data/test/dummy/tmp/cache/assets/CD5/660/sprockets%2F0d9f2205132f4395245624aad196affb +0 -0
  818. data/test/dummy/tmp/cache/assets/CD5/E00/sprockets%2Fdf9027be61905960b2b2b1442b9e62a4 +0 -0
  819. data/test/dummy/tmp/cache/assets/CD6/570/sprockets%2Fac32e6004b8e321866118fd8e91005cf +0 -0
  820. data/test/dummy/tmp/cache/assets/CD6/670/sprockets%2Fd70c95bc23151521d524c027d995cd3e +0 -0
  821. data/test/dummy/tmp/cache/assets/CD7/7D0/sprockets%2F3b089bcaa223b0f894270485b123d97d +0 -0
  822. data/test/dummy/tmp/cache/assets/CD7/C30/sprockets%2F74f1278997de668e0999818b0f5f25fa +0 -0
  823. data/test/dummy/tmp/cache/assets/CD7/C70/sprockets%2F3df412c4ef7765057082c54b2160cdd4 +0 -0
  824. data/test/dummy/tmp/cache/assets/CD8/2C0/sprockets%2F9a85a3d0cd4b7b7503512fc796b45114 +0 -0
  825. data/test/dummy/tmp/cache/assets/CD8/6D0/sprockets%2F14eb1204415e05b0f6259a9b83f67c4f +0 -0
  826. data/test/dummy/tmp/cache/assets/CD8/C50/sprockets%2F24a232380906f7b67e3d24374addc82b +0 -0
  827. data/test/dummy/tmp/cache/assets/CD8/CD0/sprockets%2F0694c2303fea9d50a175b42fd941b727 +0 -0
  828. data/test/dummy/tmp/cache/assets/CD8/FE0/sprockets%2Fc7d3b2ee7b659128f0d024ae75161362 +0 -0
  829. data/test/dummy/tmp/cache/assets/CD9/5D0/sprockets%2Fd9720571f2423fa71ed077ad2f290b36 +0 -0
  830. data/test/dummy/tmp/cache/assets/CD9/770/sprockets%2Fc21e1599a9c45b20b3443f0e73e490c6 +0 -0
  831. data/test/dummy/tmp/cache/assets/CD9/B10/sprockets%2F294f09681f11092abd7e4c54a2a76b07 +0 -0
  832. data/test/dummy/tmp/cache/assets/CDA/2A0/sprockets%2F27ed85fa31b725f321d658360d10e72e +0 -0
  833. data/test/dummy/tmp/cache/assets/CDA/3F0/sprockets%2F34425722001aec4465e3e8fc9d0c38c8 +0 -0
  834. data/test/dummy/tmp/cache/assets/CDB/240/sprockets%2Fb48b8310de6a5a17e4e309923452c8b5 +0 -0
  835. data/test/dummy/tmp/cache/assets/CDB/AB0/sprockets%2F2030ba553249f5ef6c5bf980c12c5736 +0 -0
  836. data/test/dummy/tmp/cache/assets/CDC/1D0/sprockets%2F706f9f3eba40ce7429300472e9f6a321 +0 -0
  837. data/test/dummy/tmp/cache/assets/CDC/830/sprockets%2Fbe2365ed7f324292a3358e122d3c8f16 +0 -0
  838. data/test/dummy/tmp/cache/assets/CDC/C50/sprockets%2Fa6b30fd25737732ec068a0ac8359f255 +0 -0
  839. data/test/dummy/tmp/cache/assets/CDC/D20/sprockets%2F8a48a585006247290fdb1dc59f27eb11 +0 -0
  840. data/test/dummy/tmp/cache/assets/CDC/D50/sprockets%2F6732c9b33041a8e54acfd2885c55532b +0 -0
  841. data/test/dummy/tmp/cache/assets/CDD/1C0/sprockets%2Fe26f29c99d576e3ee9c746915909767d +0 -0
  842. data/test/dummy/tmp/cache/assets/CDD/5E0/sprockets%2F57d2f52089d2eb75918a910d2ca1b554 +0 -0
  843. data/test/dummy/tmp/cache/assets/CDD/710/sprockets%2F975c50fd5ca30d27572fc258b13c1368 +0 -0
  844. data/test/dummy/tmp/cache/assets/CDD/AA0/sprockets%2Fc13727d57b9af7a1754940dc713d0d17 +0 -0
  845. data/test/dummy/tmp/cache/assets/CDD/C80/sprockets%2Fa6c15376b7caa23300632f88787e48ba +0 -0
  846. data/test/dummy/tmp/cache/assets/CDD/D70/sprockets%2F061ada1194efb117568a81057d9cf349 +0 -0
  847. data/test/dummy/tmp/cache/assets/CDF/370/sprockets%2F86b9d86e55641e1707162f4212bace4c +0 -0
  848. data/test/dummy/tmp/cache/assets/CDF/560/sprockets%2F8e106e27b03a69d93685c2aee1a66245 +0 -0
  849. data/test/dummy/tmp/cache/assets/CDF/5C0/sprockets%2Fb31e92bf2c749c1cf1b736b905816355 +0 -0
  850. data/test/dummy/tmp/cache/assets/CDF/AA0/sprockets%2F99be3d39064f40cb77823a0f7d2b6241 +0 -0
  851. data/test/dummy/tmp/cache/assets/CDF/E60/sprockets%2F1fee08179f19a22b46cd5800a89a6551 +0 -0
  852. data/test/dummy/tmp/cache/assets/CE1/C70/sprockets%2F817e1841b28bbb825d3041b7ff13988c +0 -0
  853. data/test/dummy/tmp/cache/assets/CE1/D10/sprockets%2Fe1e212786f9631820b8ef35b06ce537a +0 -0
  854. data/test/dummy/tmp/cache/assets/CE2/490/sprockets%2Ffe227615ab72b54040fe0ad98a888771 +0 -0
  855. data/test/dummy/tmp/cache/assets/CE3/2A0/sprockets%2F5bea23987a4a993d04a94e70d4d82334 +0 -0
  856. data/test/dummy/tmp/cache/assets/CE3/3F0/sprockets%2Fd38c41f298204e76e180087753baeab8 +0 -0
  857. data/test/dummy/tmp/cache/assets/CE3/9F0/sprockets%2Fa4fe1895a510793f159535fcf3fd0080 +0 -0
  858. data/test/dummy/tmp/cache/assets/CE3/BE0/sprockets%2F339906a8160c198e4ad6eb2f33564a7d +0 -0
  859. data/test/dummy/tmp/cache/assets/CE3/F50/sprockets%2F2acd33aa007898286b722159ddb47f86 +0 -0
  860. data/test/dummy/tmp/cache/assets/CE4/030/sprockets%2F29a287220a79f5a18493e8a520ffbc92 +0 -0
  861. data/test/dummy/tmp/cache/assets/CE4/2F0/sprockets%2F9db4b70644dcb543990c77621555bbf4 +0 -0
  862. data/test/dummy/tmp/cache/assets/CE4/980/sprockets%2F60753c8e8406b916fa3d388cab146e53 +0 -0
  863. data/test/dummy/tmp/cache/assets/CE5/8A0/sprockets%2Fa7753624ae6236766f7bc8cd64620c2d +0 -0
  864. data/test/dummy/tmp/cache/assets/CE5/BA0/sprockets%2F6b49565064aa8f9ae51d4a074f810f93 +0 -0
  865. data/test/dummy/tmp/cache/assets/CE5/E20/sprockets%2F730a585af55d9fc85b168391bf4a1057 +0 -0
  866. data/test/dummy/tmp/cache/assets/CE5/FE0/sprockets%2F29813f05338952d028c444d24eee5dee +0 -0
  867. data/test/dummy/tmp/cache/assets/CE6/2C0/sprockets%2Ffe4c39bd9f08f903872a6d1510618b09 +0 -0
  868. data/test/dummy/tmp/cache/assets/CE7/4E0/sprockets%2F4e47ca597b75951b0931d435be4aa984 +0 -0
  869. data/test/dummy/tmp/cache/assets/CE8/140/sprockets%2F05fe34d971769784dd1b3cc2673de215 +0 -0
  870. data/test/dummy/tmp/cache/assets/CE8/200/sprockets%2F50b67d9bf00fae9f00644246695ff464 +0 -0
  871. data/test/dummy/tmp/cache/assets/CE8/390/sprockets%2F82e58c1f0c62a976fd7078a21a8b9084 +0 -0
  872. data/test/dummy/tmp/cache/assets/CE8/F00/sprockets%2F430764e4051a4e97fdd866f24d7e3b53 +0 -0
  873. data/test/dummy/tmp/cache/assets/CE8/F20/sprockets%2Fd6f66b97f4d60511d2d79cde08803127 +0 -0
  874. data/test/dummy/tmp/cache/assets/CE8/FD0/sprockets%2Fe629bc56195844f132fc57731db970da +0 -0
  875. data/test/dummy/tmp/cache/assets/CE9/120/sprockets%2F85e72796fd5147fc3b51281a6a8a3f26 +0 -0
  876. data/test/dummy/tmp/cache/assets/CE9/1B0/sprockets%2Fd5957ba5a3f67c24c81b744740716c9e +0 -0
  877. data/test/dummy/tmp/cache/assets/CE9/630/sprockets%2Fb675d8ff067a52683161c773fdb4228c +0 -0
  878. data/test/dummy/tmp/cache/assets/CEA/000/sprockets%2F0226c2df8c1fd6b73f4579308e25d739 +0 -0
  879. data/test/dummy/tmp/cache/assets/CEA/0A0/sprockets%2F5f483d61dc19cd1e9244797c0d3b7266 +0 -0
  880. data/test/dummy/tmp/cache/assets/CEA/280/sprockets%2Fd5b90b2554e34f5e753983451b9a3e6e +0 -0
  881. data/test/dummy/tmp/cache/assets/CEC/7A0/sprockets%2F5c6bb7169f4d498b1082825bf593bb47 +0 -0
  882. data/test/dummy/tmp/cache/assets/CED/760/sprockets%2F4f8e9121d16e6fb3f819cc596a636613 +0 -0
  883. data/test/dummy/tmp/cache/assets/CED/9A0/sprockets%2F752755fd322ddd7070c897f1ac662f94 +0 -0
  884. data/test/dummy/tmp/cache/assets/CEE/450/sprockets%2F96f5d60952c3704fa5655b8918b4b9bb +0 -0
  885. data/test/dummy/tmp/cache/assets/CEF/480/sprockets%2Ff979e376408802959ca90b94bdb7d20a +0 -0
  886. data/test/dummy/tmp/cache/assets/CF1/080/sprockets%2Fdf94dea9527ae6744781fd470b273384 +0 -0
  887. data/test/dummy/tmp/cache/assets/CF4/3F0/sprockets%2F4736d9499ae845cb62b6d0ae5447b939 +0 -0
  888. data/test/dummy/tmp/cache/assets/CF5/390/sprockets%2Fa0eb0bd9a8b1f90433100506f50c82c6 +0 -0
  889. data/test/dummy/tmp/cache/assets/CF5/7A0/sprockets%2F30612db003a21add69f58b42e15a4a66 +0 -0
  890. data/test/dummy/tmp/cache/assets/CF7/BF0/sprockets%2F554a5f8795063d8fd8c6e561e824b1e8 +0 -0
  891. data/test/dummy/tmp/cache/assets/CF8/770/sprockets%2F849c0848e70e4d4e6be6385586bc19c6 +0 -0
  892. data/test/dummy/tmp/cache/assets/CF9/210/sprockets%2F5b31953c297de85a3892a7eb5f9777f1 +0 -0
  893. data/test/dummy/tmp/cache/assets/CFA/7C0/sprockets%2Ffb8696d8b68967af71a46ab5966123e5 +0 -0
  894. data/test/dummy/tmp/cache/assets/CFB/670/sprockets%2F67bddc46330005055d3d28c2dc24b0d9 +0 -0
  895. data/test/dummy/tmp/cache/assets/CFE/170/sprockets%2F311bf55e96c3e141e0a77034cf36b3c1 +0 -0
  896. data/test/dummy/tmp/cache/assets/CFF/270/sprockets%2F406e6bf7874bdf7c6266987d359fa545 +0 -0
  897. data/test/dummy/tmp/cache/assets/CFF/B60/sprockets%2F40c558722b84e02d2fc177acd020d26f +0 -0
  898. data/test/dummy/tmp/cache/assets/D00/0B0/sprockets%2F3733cec50b3b4153593e50ad60da6c57 +0 -0
  899. data/test/dummy/tmp/cache/assets/D00/BB0/sprockets%2F77ba2a28c550328a23fef9c74b1b2016 +0 -0
  900. data/test/dummy/tmp/cache/assets/D01/500/sprockets%2F600c6cd4c2f013e942a8334f327b2cf6 +0 -0
  901. data/test/dummy/tmp/cache/assets/D01/900/sprockets%2Fa1e28c17c5a22dc2df534dc025421888 +0 -0
  902. data/test/dummy/tmp/cache/assets/D02/0F0/sprockets%2F2c0ba17652354bdb34a2278bc57d59d3 +0 -0
  903. data/test/dummy/tmp/cache/assets/D02/6D0/sprockets%2Faac844134172df1238e57a4c82c1e5e1 +0 -0
  904. data/test/dummy/tmp/cache/assets/D02/820/sprockets%2F6e22ec4606b5a20f35d1ff123599e2a1 +0 -0
  905. data/test/dummy/tmp/cache/assets/D02/C40/sprockets%2F9443e181cb6eed05b38c3190c1c00d49 +0 -0
  906. data/test/dummy/tmp/cache/assets/D02/FB0/sprockets%2Ff44b240284f27c454a71013cf1cc67ed +0 -0
  907. data/test/dummy/tmp/cache/assets/D04/180/sprockets%2Fc23974aa0c53259ae50ae78d8a3a3605 +0 -0
  908. data/test/dummy/tmp/cache/assets/D04/5F0/sprockets%2F6cadb80225a0a82b12942f4e5146d77f +0 -0
  909. data/test/dummy/tmp/cache/assets/D04/7F0/sprockets%2Fd8d200d19413ab405bee251309cf969c +0 -0
  910. data/test/dummy/tmp/cache/assets/D05/2D0/sprockets%2F9656e025ba626405d0ef4bd64b542a3e +0 -0
  911. data/test/dummy/tmp/cache/assets/D05/500/sprockets%2F7f6941698cb0f58e2f4a467f775fb597 +0 -0
  912. data/test/dummy/tmp/cache/assets/D05/810/sprockets%2F1ede656f846f8768c6357769d29d3e4a +0 -0
  913. data/test/dummy/tmp/cache/assets/D06/E30/sprockets%2F0d1fe4b29bae2d497c16f403302076e9 +0 -0
  914. data/test/dummy/tmp/cache/assets/D07/5D0/sprockets%2F22119a913995edad10e0aee93653d0c7 +0 -0
  915. data/test/dummy/tmp/cache/assets/D07/8A0/sprockets%2F769d10f50c2bc67b130dde07b415977a +0 -0
  916. data/test/dummy/tmp/cache/assets/D08/150/sprockets%2F242c164e9e44faf1ec145d9a69070d30 +0 -0
  917. data/test/dummy/tmp/cache/assets/D08/770/sprockets%2F93550f16b6fe16f059f2cb4191b32af1 +0 -0
  918. data/test/dummy/tmp/cache/assets/D08/A10/sprockets%2Fd3b843d85cf4d78123475a38a4cca032 +0 -0
  919. data/test/dummy/tmp/cache/assets/D09/410/sprockets%2F790cf80b3e51783c5a6ca0811381bbd9 +0 -0
  920. data/test/dummy/tmp/cache/assets/D09/980/sprockets%2Fdd5011c5700e9ad5cf620d109790ff66 +0 -0
  921. data/test/dummy/tmp/cache/assets/D09/DE0/sprockets%2F29a155455a48c80f271c6eb5026ffcb2 +0 -0
  922. data/test/dummy/tmp/cache/assets/D0A/060/sprockets%2Fdb39590b115562a7f5814d55adde413d +0 -0
  923. data/test/dummy/tmp/cache/assets/D0A/680/sprockets%2F4e57352bac0417f076a3d1c9b6ef2088 +0 -0
  924. data/test/dummy/tmp/cache/assets/D0A/A20/sprockets%2Fbc40e54ee6ca1740dd8007d4d7019595 +0 -0
  925. data/test/dummy/tmp/cache/assets/D0B/510/sprockets%2Fb7a123f988364204afa414a6b1f9e8a5 +0 -0
  926. data/test/dummy/tmp/cache/assets/D0B/980/sprockets%2F07dbe0d6772cd21c5e2285520c587df3 +0 -0
  927. data/test/dummy/tmp/cache/assets/D0C/B00/sprockets%2Fc62c6219698b16ef1b028ea8ed35c033 +0 -0
  928. data/test/dummy/tmp/cache/assets/D0D/020/sprockets%2Ff57d0875e7d1b63a776219cd1abd4430 +0 -0
  929. data/test/dummy/tmp/cache/assets/D0D/8C0/sprockets%2Fcbf2a38ef6181a10793f6651fe5d8022 +0 -0
  930. data/test/dummy/tmp/cache/assets/D0D/C00/sprockets%2F53852a63b3c146839a8e2f54dfbf6a10 +0 -0
  931. data/test/dummy/tmp/cache/assets/D0E/430/sprockets%2F13fc71cac9e245d6caf62719782117b4 +0 -0
  932. data/test/dummy/tmp/cache/assets/D0E/690/sprockets%2Ff4730e60f81dfea9115f12de06e04667 +0 -0
  933. data/test/dummy/tmp/cache/assets/D0E/7C0/sprockets%2F6e9eea96162225a3aab317a09e33e876 +0 -0
  934. data/test/dummy/tmp/cache/assets/D0F/760/sprockets%2F4c301ecc2c8877d39b3a31193287cd9b +0 -0
  935. data/test/dummy/tmp/cache/assets/D0F/FD0/sprockets%2Fcfd66bf2be9d70197a5d5085109a5062 +0 -0
  936. data/test/dummy/tmp/cache/assets/D10/1D0/sprockets%2F52279d9d21a7df58c91d5340b73dd5b0 +0 -0
  937. data/test/dummy/tmp/cache/assets/D10/220/sprockets%2F88d1f830206a30934b7a2f94bda7f94b +0 -0
  938. data/test/dummy/tmp/cache/assets/D10/330/sprockets%2F7f7cf3a2e56266383a03cac8496ae045 +0 -0
  939. data/test/dummy/tmp/cache/assets/D10/530/sprockets%2Fff660e0fe9ab7942363c6c27e10263c5 +0 -0
  940. data/test/dummy/tmp/cache/assets/D10/610/sprockets%2F9d3a0221c48e82bf28c4147f13e8c5d8 +0 -0
  941. data/test/dummy/tmp/cache/assets/D10/BA0/sprockets%2Fdd8dc1bb89f056184d557b2a683223f1 +0 -0
  942. data/test/dummy/tmp/cache/assets/D12/520/sprockets%2Fa86f8493293773a720cf70c6becf110e +0 -0
  943. data/test/dummy/tmp/cache/assets/D12/C10/sprockets%2Fa2a036519a61832a4a877e6bb97c68de +0 -0
  944. data/test/dummy/tmp/cache/assets/D12/D60/sprockets%2F6ac774e46154dfb57be2f6e083208d51 +0 -0
  945. data/test/dummy/tmp/cache/assets/D13/AC0/sprockets%2F977e301577ec9e3a00562d5e33f0ff6a +0 -0
  946. data/test/dummy/tmp/cache/assets/D13/DF0/sprockets%2Fb5ca7c9d6dffa0a472d1420866805893 +0 -0
  947. data/test/dummy/tmp/cache/assets/D14/0E0/sprockets%2F0fb7f16804802ef4be6956b17dff1254 +0 -0
  948. data/test/dummy/tmp/cache/assets/D14/3C0/sprockets%2Fba286854d8220dc2cf47f5294fc5329a +0 -0
  949. data/test/dummy/tmp/cache/assets/D14/4D0/sprockets%2F255a54fd2997bdecf3a672561e14f307 +0 -0
  950. data/test/dummy/tmp/cache/assets/D14/920/sprockets%2F965d4d8180e422f88e28040eac2bf4f4 +0 -0
  951. data/test/dummy/tmp/cache/assets/D14/C40/sprockets%2Fbf54d40aed607b61df3566336988d15b +0 -0
  952. data/test/dummy/tmp/cache/assets/D14/E70/sprockets%2Fc007eb86107b35c6c8e950249828bcee +0 -0
  953. data/test/dummy/tmp/cache/assets/D15/050/sprockets%2F820f1d934d954b6b99169fa7216bcc0c +0 -0
  954. data/test/dummy/tmp/cache/assets/D15/1C0/sprockets%2Fda1f2f703eb6609650e9ac7f6708c724 +0 -0
  955. data/test/dummy/tmp/cache/assets/D15/690/sprockets%2Ff28e3e1b83616382aa782068eed71ef2 +0 -0
  956. data/test/dummy/tmp/cache/assets/D15/F40/sprockets%2F576b17f966768a1cdb0ce1e49237b4a4 +0 -0
  957. data/test/dummy/tmp/cache/assets/D16/050/sprockets%2F1f9395b7b5d9cc2a032c42ba9729f188 +0 -0
  958. data/test/dummy/tmp/cache/assets/D16/250/sprockets%2F0f8a465784c71c337d9c5961f11cca4f +0 -0
  959. data/test/dummy/tmp/cache/assets/D16/2B0/sprockets%2F9ee2638a8417c8e55d2d9b0ab300947f +0 -0
  960. data/test/dummy/tmp/cache/assets/D16/930/sprockets%2F1c06f48de8d3819531d5d11f2d088ff4 +0 -0
  961. data/test/dummy/tmp/cache/assets/D16/B40/sprockets%2Ffb159c9be6f30068043f92e0ab3f6857 +0 -0
  962. data/test/dummy/tmp/cache/assets/D17/F10/sprockets%2F9234640d69b0ca49bc292595f29d1fbf +0 -0
  963. data/test/dummy/tmp/cache/assets/D19/190/sprockets%2F906b6dd82fe1f502fe36c13756b8b288 +0 -0
  964. data/test/dummy/tmp/cache/assets/D1A/270/sprockets%2F5f7ae9c6bd0454b4d37a83767f8a2336 +0 -0
  965. data/test/dummy/tmp/cache/assets/D1A/850/sprockets%2F47454d31b988dd2674890f1c6cfcc3c2 +0 -0
  966. data/test/dummy/tmp/cache/assets/D1B/240/sprockets%2Fc8ea449d50537d4b4867645acc76f1d4 +0 -0
  967. data/test/dummy/tmp/cache/assets/D1B/410/sprockets%2F608db8f6904ace27ca14e96f9584a271 +0 -0
  968. data/test/dummy/tmp/cache/assets/D1C/350/sprockets%2Fbcb5a3522785d5af4609969c3f16c4e9 +0 -0
  969. data/test/dummy/tmp/cache/assets/D1C/7D0/sprockets%2Ffcaef48203f274c9022979d66cdd5761 +0 -0
  970. data/test/dummy/tmp/cache/assets/D1C/BE0/sprockets%2F9ab18579e9e51d07b3d746eb39d027c5 +0 -0
  971. data/test/dummy/tmp/cache/assets/D1C/EE0/sprockets%2Ff12340d7f0399dfa57b48791853ec9ba +0 -0
  972. data/test/dummy/tmp/cache/assets/D1D/0C0/sprockets%2Ff61378ce55c3f8329592b45fb15c9f0c +0 -0
  973. data/test/dummy/tmp/cache/assets/D1D/6D0/sprockets%2F02cdb068bd169f122b47a20bb20e05c4 +0 -0
  974. data/test/dummy/tmp/cache/assets/D1D/9A0/sprockets%2F5846ec16d54ef6fb9a7852451a24c57e +0 -0
  975. data/test/dummy/tmp/cache/assets/D1E/370/sprockets%2F77995f5614d5babf94e32718a05e9bf0 +0 -0
  976. data/test/dummy/tmp/cache/assets/D1E/580/sprockets%2F1e7317490a6cce8aa8e399f4d7d64552 +0 -0
  977. data/test/dummy/tmp/cache/assets/D1F/6D0/sprockets%2F725c4fa3df346c837966db9a46a25f47 +0 -0
  978. data/test/dummy/tmp/cache/assets/D20/160/sprockets%2F3c9878e0967c3920f1cc666cea09f09b +0 -0
  979. data/test/dummy/tmp/cache/assets/D20/AB0/sprockets%2Fda897bdbbb238984a80758d3a52f8951 +0 -0
  980. data/test/dummy/tmp/cache/assets/D21/3F0/sprockets%2F5d55289baff6579aaf24988b0dd25517 +0 -0
  981. data/test/dummy/tmp/cache/assets/D21/8A0/sprockets%2F626b731d9e9921a47d263e65fe8ae65d +0 -0
  982. data/test/dummy/tmp/cache/assets/D21/C30/sprockets%2F0066015dccca5c488f2986d8e9f59a65 +0 -0
  983. data/test/dummy/tmp/cache/assets/D22/8B0/sprockets%2Ff9742ee32f669795aa43c95f5551a2ce +0 -0
  984. data/test/dummy/tmp/cache/assets/D23/280/sprockets%2F1e99b3a947580c2ed37d4f736bf5566d +0 -0
  985. data/test/dummy/tmp/cache/assets/D23/4E0/sprockets%2F870c063e9ef88f8a665b055a34be488d +0 -0
  986. data/test/dummy/tmp/cache/assets/D23/B10/sprockets%2F306f09cc0eaa37a66d1d171a9411ce10 +0 -0
  987. data/test/dummy/tmp/cache/assets/D24/8D0/sprockets%2Fc8ac73fd5048d9fb945461355eff5564 +0 -0
  988. data/test/dummy/tmp/cache/assets/D25/C00/sprockets%2Fb0687345f7c88bcf0e909c427bf628c9 +0 -0
  989. data/test/dummy/tmp/cache/assets/D26/620/sprockets%2F6f2d2e0ffd30fc1742c8d00f164300b2 +0 -0
  990. data/test/dummy/tmp/cache/assets/D27/690/sprockets%2F27a15a0dac7444330f14e70bb40ff45e +0 -0
  991. data/test/dummy/tmp/cache/assets/D27/690/sprockets%2Fa3a6f32b8c0df1565c0a05218fd63a50 +0 -0
  992. data/test/dummy/tmp/cache/assets/D28/1C0/sprockets%2Fd24e224b1ca657115c81e231bfba518e +0 -0
  993. data/test/dummy/tmp/cache/assets/D28/9B0/sprockets%2F5d574609b56dd2dbc9e5173d49e965d8 +0 -0
  994. data/test/dummy/tmp/cache/assets/D28/A00/sprockets%2F70c6a6ffd2140f5b3e2ba6b1a7370252 +0 -0
  995. data/test/dummy/tmp/cache/assets/D29/EC0/sprockets%2Fa02efcd37502f44f0126fc241a8e290a +0 -0
  996. data/test/dummy/tmp/cache/assets/D2A/440/sprockets%2Ff312d991b84ec7ee7bc9ec7647958270 +0 -0
  997. data/test/dummy/tmp/cache/assets/D2A/8F0/sprockets%2Fb750d324f7ad56bc84e694fa9c799593 +0 -0
  998. data/test/dummy/tmp/cache/assets/D2A/B00/sprockets%2F0d99e114e864890c781f8b54c9efd6c5 +0 -0
  999. data/test/dummy/tmp/cache/assets/D2A/BC0/sprockets%2Fa3731b0ddae8c49ea5a2327360186b1b +0 -0
  1000. data/test/dummy/tmp/cache/assets/D2B/190/sprockets%2F8921bfcea7bcce26116813f7003ad140 +0 -0
  1001. data/test/dummy/tmp/cache/assets/D2C/7F0/sprockets%2F42496fe275b38f59bb93d1e967f5a49d +0 -0
  1002. data/test/dummy/tmp/cache/assets/D2D/3B0/sprockets%2Fdd4a548e507c03dbf3aa328405c440b8 +0 -0
  1003. data/test/dummy/tmp/cache/assets/D2D/450/sprockets%2Fa8ba4d54b2c181815ecc5d5032b16d82 +0 -0
  1004. data/test/dummy/tmp/cache/assets/D2D/C80/sprockets%2F43e518ae9ac05130abce156b7a5525e4 +0 -0
  1005. data/test/dummy/tmp/cache/assets/D2D/E20/sprockets%2Fb418f337a60fbfd754111a7b2283c1cc +0 -0
  1006. data/test/dummy/tmp/cache/assets/D2E/E60/sprockets%2Fe13ab4d3e16ba0f18b3629a0fa653098 +0 -0
  1007. data/test/dummy/tmp/cache/assets/D2E/FE0/sprockets%2Ffa132c2a5a3f84423d46f6b45290bb4c +0 -0
  1008. data/test/dummy/tmp/cache/assets/D2F/000/sprockets%2F5ca393a9c7c0c6b1b511d1b48c5138e3 +0 -0
  1009. data/test/dummy/tmp/cache/assets/D2F/280/sprockets%2Fcc258b590fc2b5147aa4d841bce34404 +0 -0
  1010. data/test/dummy/tmp/cache/assets/D2F/550/sprockets%2F27d2a7a21ca620d552ad5b3a469ce287 +0 -0
  1011. data/test/dummy/tmp/cache/assets/D30/E70/sprockets%2F2a1084b3fdd66724a5241ec3f6e70c2c +0 -0
  1012. data/test/dummy/tmp/cache/assets/D31/580/sprockets%2F93e0de2c0b522651aed176083ccb8d35 +0 -0
  1013. data/test/dummy/tmp/cache/assets/D31/5D0/sprockets%2F05f10cb83e80bb2f68510fec3846bf01 +0 -0
  1014. data/test/dummy/tmp/cache/assets/D32/030/sprockets%2F4ed4c1992a22a60d40f509c3b3bfb619 +0 -0
  1015. data/test/dummy/tmp/cache/assets/D32/960/sprockets%2F2008afcab237a725b3de364432d86bf6 +0 -0
  1016. data/test/dummy/tmp/cache/assets/D32/980/sprockets%2F1da108456928fcd66a226aa47d2bc23d +0 -0
  1017. data/test/dummy/tmp/cache/assets/D32/990/sprockets%2F2ee06a770a48963bbabccfe911054163 +0 -0
  1018. data/test/dummy/tmp/cache/assets/D32/BD0/sprockets%2Fcf34067d191acab2fa610887f9137aa0 +0 -0
  1019. data/test/dummy/tmp/cache/assets/D33/7E0/sprockets%2F069ebd818385e57eb6f44f6759b8d67d +0 -0
  1020. data/test/dummy/tmp/cache/assets/D33/FD0/sprockets%2F62d071f1de1bb35736d14554fad5ec07 +0 -0
  1021. data/test/dummy/tmp/cache/assets/D34/1C0/sprockets%2F4a0fd80f5980c69fc46d11bd0021f15e +0 -0
  1022. data/test/dummy/tmp/cache/assets/D35/280/sprockets%2F86432622a2409351574fd5eadb3cdbec +0 -0
  1023. data/test/dummy/tmp/cache/assets/D35/5B0/sprockets%2Fa96c3456c6f1f53ef1e0432710d7b1ae +0 -0
  1024. data/test/dummy/tmp/cache/assets/D35/6E0/sprockets%2Fd479de40b5ca3b4320606387bf6a50cf +0 -0
  1025. data/test/dummy/tmp/cache/assets/D36/970/sprockets%2F613e7935e43ca8fc4db19033fb505b1c +0 -0
  1026. data/test/dummy/tmp/cache/assets/D37/E10/sprockets%2Fc03e77cea4a0d205f7479e6251d1a75c +0 -0
  1027. data/test/dummy/tmp/cache/assets/D39/5A0/sprockets%2F327e7decd19f890d2f5204ef125041bc +0 -0
  1028. data/test/dummy/tmp/cache/assets/D39/680/sprockets%2F12070b959a65f5acfd6dbab489352e20 +0 -0
  1029. data/test/dummy/tmp/cache/assets/D39/B10/sprockets%2F9214ceeae0aedd48c732271f94175b41 +0 -0
  1030. data/test/dummy/tmp/cache/assets/D39/ED0/sprockets%2F5a206f5ad5cfd866a16f87c315830b0c +0 -0
  1031. data/test/dummy/tmp/cache/assets/D3A/1D0/sprockets%2Fd7454f2304191bb2d85b4e34cc573cfe +0 -0
  1032. data/test/dummy/tmp/cache/assets/D3A/9C0/sprockets%2Ff51ea96963110ff570e3bc4d3d0ed741 +0 -0
  1033. data/test/dummy/tmp/cache/assets/D3A/A70/sprockets%2F69f8e7327aafcc7c8dd43b1162b12234 +0 -0
  1034. data/test/dummy/tmp/cache/assets/D3B/340/sprockets%2F3640a0ecf60034c63d655b9e7d0d8f8a +0 -0
  1035. data/test/dummy/tmp/cache/assets/D3C/130/sprockets%2Fa1c7d908282d0968accee5e60b73b441 +0 -0
  1036. data/test/dummy/tmp/cache/assets/D3C/5D0/sprockets%2F8c4467e86136eda23a30e63be4f18bd2 +0 -0
  1037. data/test/dummy/tmp/cache/assets/D3C/B30/sprockets%2F4a2bf801768841d7bf0fa8eb474ac712 +0 -0
  1038. data/test/dummy/tmp/cache/assets/D3D/810/sprockets%2Fb7ab88a4c1659e7acdd0238b13d95065 +0 -0
  1039. data/test/dummy/tmp/cache/assets/D3E/010/sprockets%2F1c6e1c37654206dbe2c037d65f7fd55d +0 -0
  1040. data/test/dummy/tmp/cache/assets/D3E/310/sprockets%2F3259177cc0c40b33519fadeede556c38 +0 -0
  1041. data/test/dummy/tmp/cache/assets/D3E/4A0/sprockets%2F974d2195038c944e25a1ce280bacfdf4 +0 -0
  1042. data/test/dummy/tmp/cache/assets/D3E/AB0/sprockets%2Fe128c2d98548dd02639d29ba027adfc2 +0 -0
  1043. data/test/dummy/tmp/cache/assets/D3F/4F0/sprockets%2F4db1fa452a7c549240e4478a5f278ecb +0 -0
  1044. data/test/dummy/tmp/cache/assets/D3F/710/sprockets%2F725c3e393c4ab6be4e91e326b0733f9c +0 -0
  1045. data/test/dummy/tmp/cache/assets/D3F/850/sprockets%2F34d80409f076d45e0a8912aedf367aec +0 -0
  1046. data/test/dummy/tmp/cache/assets/D3F/A30/sprockets%2Fc10a5624d99094a75a2f4d308e2f9dfa +0 -0
  1047. data/test/dummy/tmp/cache/assets/D3F/FB0/sprockets%2F6cff9b4007bd32a816d5b7a8d9f27303 +0 -0
  1048. data/test/dummy/tmp/cache/assets/D40/0B0/sprockets%2Fd2d52fe53d1f298420cdf171385e6cf2 +0 -0
  1049. data/test/dummy/tmp/cache/assets/D40/1A0/sprockets%2F10097c31a8b4fcdac4496548ce78eb42 +0 -0
  1050. data/test/dummy/tmp/cache/assets/D40/280/sprockets%2Fb71c94900758a1ee72eb3e712b75dfc4 +0 -0
  1051. data/test/dummy/tmp/cache/assets/D40/620/sprockets%2F0f3d148f095d5f9f029801c39c2f3acc +0 -0
  1052. data/test/dummy/tmp/cache/assets/D40/660/sprockets%2F00b8ae875b125ef35f304c8c8d8ec930 +0 -0
  1053. data/test/dummy/tmp/cache/assets/D40/9A0/sprockets%2Fd34761c33ca768e3a49a39dc1db455c7 +0 -0
  1054. data/test/dummy/tmp/cache/assets/D41/140/sprockets%2Faa479f48ed71b61b5e0013c6bc2f5789 +0 -0
  1055. data/test/dummy/tmp/cache/assets/D41/E00/sprockets%2F59ead0253463d7686749bcda14a26afd +0 -0
  1056. data/test/dummy/tmp/cache/assets/D42/070/sprockets%2Fd09dc4aba1b955e389545a771ca726d6 +0 -0
  1057. data/test/dummy/tmp/cache/assets/D42/570/sprockets%2Fbe52c899a74e44b6cad242b78752af22 +0 -0
  1058. data/test/dummy/tmp/cache/assets/D42/5E0/sprockets%2F2ba53d4c2e73ef90999ee4062c73dd30 +0 -0
  1059. data/test/dummy/tmp/cache/assets/D42/BB0/sprockets%2Fb48143c1558469bc73e5daf1efa7562b +0 -0
  1060. data/test/dummy/tmp/cache/assets/D42/E10/sprockets%2F0263f69dd4c85d5ef8ae211f416f603d +0 -0
  1061. data/test/dummy/tmp/cache/assets/D43/110/sprockets%2Fbc264df2f4d136c884ea9df36202349e +0 -0
  1062. data/test/dummy/tmp/cache/assets/D44/620/sprockets%2Ff9016ae6e54ede4979ca002c2703fa89 +0 -0
  1063. data/test/dummy/tmp/cache/assets/D44/D80/sprockets%2Fe4aad65716db3b1792eec515819fe148 +0 -0
  1064. data/test/dummy/tmp/cache/assets/D45/0C0/sprockets%2F7e0ef33be170ff83c9549f61327efa03 +0 -0
  1065. data/test/dummy/tmp/cache/assets/D45/650/sprockets%2Faf6e402610cf49945b35c8b5efd1826f +0 -0
  1066. data/test/dummy/tmp/cache/assets/D45/680/sprockets%2F37587b87d0e4d248a561ca4a9ada5d58 +0 -0
  1067. data/test/dummy/tmp/cache/assets/D45/B10/sprockets%2Fe1e9d029d8de7fe2d32c059325ef4127 +0 -0
  1068. data/test/dummy/tmp/cache/assets/D45/C80/sprockets%2F8799183ad4d5b9013a28fae421c6d9eb +0 -0
  1069. data/test/dummy/tmp/cache/assets/D46/190/sprockets%2F5ef52ed8c45ad02239f9558ef0c8a801 +0 -0
  1070. data/test/dummy/tmp/cache/assets/D46/E20/sprockets%2F7f351e414e91656ff5b9eb04a6275ead +0 -0
  1071. data/test/dummy/tmp/cache/assets/D46/E50/sprockets%2Fda288492725b6ba6289a76c34f8abed0 +0 -0
  1072. data/test/dummy/tmp/cache/assets/D47/A10/sprockets%2F3ebc074f3752856dee88a308d1d638da +0 -0
  1073. data/test/dummy/tmp/cache/assets/D47/AF0/sprockets%2F83370fc28b1d79e8d72a4fa4e0d194b9 +0 -0
  1074. data/test/dummy/tmp/cache/assets/D49/5B0/sprockets%2Fcb68d52da3b7e6ac4d77362992b435d8 +0 -0
  1075. data/test/dummy/tmp/cache/assets/D49/A00/sprockets%2F7ded9ff607debe16984d3a831421654a +0 -0
  1076. data/test/dummy/tmp/cache/assets/D4A/1D0/sprockets%2F0d932eb8b78c61249f4d5e27bf0f387b +0 -0
  1077. data/test/dummy/tmp/cache/assets/D4A/2C0/sprockets%2Fd0e6d8402f96c16ce4517e083f689dbb +0 -0
  1078. data/test/dummy/tmp/cache/assets/D4B/0F0/sprockets%2F844d1c69ec2785074f1ffe80feac6307 +0 -0
  1079. data/test/dummy/tmp/cache/assets/D4B/300/sprockets%2F797bb46db3da2f3628f84e4f3d0d9426 +0 -0
  1080. data/test/dummy/tmp/cache/assets/D4B/A00/sprockets%2F54fd929b2ef8525f51e6a8be0ad36817 +0 -0
  1081. data/test/dummy/tmp/cache/assets/D4C/E00/sprockets%2F8677c72a9f224ea1cba659d6a89901ed +0 -0
  1082. data/test/dummy/tmp/cache/assets/D4C/E80/sprockets%2F98370ffcd58f4603ef398c61fb72c0d1 +0 -0
  1083. data/test/dummy/tmp/cache/assets/D4C/F90/sprockets%2F43b9e4352cc1f7a655fc3df7538c709f +0 -0
  1084. data/test/dummy/tmp/cache/assets/D4D/150/sprockets%2Fbbe7af80f4891617ccd4670a87376af6 +0 -0
  1085. data/test/dummy/tmp/cache/assets/D4D/6B0/sprockets%2F584dedd4c44bba7ce97409b61569148e +0 -0
  1086. data/test/dummy/tmp/cache/assets/D4E/4A0/sprockets%2F9e2275ca84766e60e374c7dbbb9a97e0 +0 -0
  1087. data/test/dummy/tmp/cache/assets/D4F/150/sprockets%2F4de840f827f7bb7c32a87674bac678d3 +0 -0
  1088. data/test/dummy/tmp/cache/assets/D4F/590/sprockets%2F63c853804ff249d0e3a09ff37ed77ec5 +0 -0
  1089. data/test/dummy/tmp/cache/assets/D4F/A00/sprockets%2Ff4124b4cf0c274b32c72b92a3c03a3cb +0 -0
  1090. data/test/dummy/tmp/cache/assets/D4F/FB0/sprockets%2Fca20e6eb23ed9896276d6234fa955e7e +0 -0
  1091. data/test/dummy/tmp/cache/assets/D50/0A0/sprockets%2Fa6d68cf1e5c807169f84b56566eeee10 +0 -0
  1092. data/test/dummy/tmp/cache/assets/D50/1B0/sprockets%2F8ffb560df41fe4a297eb69cf52892513 +0 -0
  1093. data/test/dummy/tmp/cache/assets/D50/540/sprockets%2Fad846f1891d7062f6f60cf681fc7de62 +0 -0
  1094. data/test/dummy/tmp/cache/assets/D50/A70/sprockets%2Fa208fab6bac5993c1d14611438aa1a1a +0 -0
  1095. data/test/dummy/tmp/cache/assets/D50/A70/sprockets%2Fc8118d589febd77f0be84b65c055b665 +0 -0
  1096. data/test/dummy/tmp/cache/assets/D50/CB0/sprockets%2F4f27f68146979f0cd1ce95a4b735bbe6 +0 -0
  1097. data/test/dummy/tmp/cache/assets/D51/0E0/sprockets%2F508a2de7b9a6af12b7f76a87876627fc +0 -0
  1098. data/test/dummy/tmp/cache/assets/D51/850/sprockets%2F73d9a6f49f9ad7ab10371f999f0d822c +0 -0
  1099. data/test/dummy/tmp/cache/assets/D52/450/sprockets%2F0a3e7cf32c285f8c9955585aaff2e765 +0 -0
  1100. data/test/dummy/tmp/cache/assets/D52/650/sprockets%2F3e4e654eca896ccf627994ff4014cc64 +0 -0
  1101. data/test/dummy/tmp/cache/assets/D53/960/sprockets%2F9c0dc258558bb12d1188cf77757ff8fb +0 -0
  1102. data/test/dummy/tmp/cache/assets/D53/F70/sprockets%2F60836b48e9d63cee38fbec34f837c643 +0 -0
  1103. data/test/dummy/tmp/cache/assets/D55/1F0/sprockets%2F43cc11b1d8d19f1be51301b5f9a3a42d +0 -0
  1104. data/test/dummy/tmp/cache/assets/D55/B30/sprockets%2Fb37c19a00eb723aee5d2226b1db5505d +0 -0
  1105. data/test/dummy/tmp/cache/assets/D56/530/sprockets%2F97856af23f6cec888615d8137da1ffb5 +0 -0
  1106. data/test/dummy/tmp/cache/assets/D56/870/sprockets%2F53f9885475c8b8b3ca779bd7a0d99c0b +0 -0
  1107. data/test/dummy/tmp/cache/assets/D56/950/sprockets%2F6f1685a221c3a61acc4d580fcabb5106 +0 -0
  1108. data/test/dummy/tmp/cache/assets/D57/240/sprockets%2F22b217bb8c40d5c328d5b071c4c2fcf1 +0 -0
  1109. data/test/dummy/tmp/cache/assets/D57/7C0/sprockets%2F1812fc85fc78e3c8171098b996f2fcde +0 -0
  1110. data/test/dummy/tmp/cache/assets/D59/870/sprockets%2Fd2d9bb106815a331e6ba701faca32e59 +0 -0
  1111. data/test/dummy/tmp/cache/assets/D5A/820/sprockets%2F26302ba3c0a8e0762a220bd672efbef9 +0 -0
  1112. data/test/dummy/tmp/cache/assets/D5A/870/sprockets%2Fc5e5de478ad943df467a847b848de562 +0 -0
  1113. data/test/dummy/tmp/cache/assets/D5A/9A0/sprockets%2F442faf3bd44c107a62ef5310ac18a66d +0 -0
  1114. data/test/dummy/tmp/cache/assets/D5B/180/sprockets%2F12d5aad0f5a4b488585e11a193da6a1c +0 -0
  1115. data/test/dummy/tmp/cache/assets/D5B/A60/sprockets%2F816aec61d14f2af6a4cd02be400b4784 +0 -0
  1116. data/test/dummy/tmp/cache/assets/D5C/FE0/sprockets%2Fd60ce66a0952a06b2e0e620a6f3a59cb +0 -0
  1117. data/test/dummy/tmp/cache/assets/D5D/BA0/sprockets%2F31670cc3b4127dfa0aa8223be6865bed +0 -0
  1118. data/test/dummy/tmp/cache/assets/D5E/640/sprockets%2Febfd05301a3ee3861e1b7c436c42b4f4 +0 -0
  1119. data/test/dummy/tmp/cache/assets/D5E/930/sprockets%2F0edd4c0c6728defd7562f10c044f2a02 +0 -0
  1120. data/test/dummy/tmp/cache/assets/D5F/0E0/sprockets%2F9a71774b13a4dd37bcb4a0dd446a26d3 +0 -0
  1121. data/test/dummy/tmp/cache/assets/D5F/250/sprockets%2Fb238ccdb4aff13b36307e71f319334bb +0 -0
  1122. data/test/dummy/tmp/cache/assets/D60/1E0/sprockets%2F0e0599c3bcfe600e6b7bf1d9c172a121 +0 -0
  1123. data/test/dummy/tmp/cache/assets/D60/650/sprockets%2Fd69d97469c9e1dbda61b7956fe33a968 +0 -0
  1124. data/test/dummy/tmp/cache/assets/D60/A10/sprockets%2Ffab303c37d2152b48e86f641ee4d1b0c +0 -0
  1125. data/test/dummy/tmp/cache/assets/D60/BD0/sprockets%2F190c2ffc620c42c7afddc0f0555290b7 +0 -0
  1126. data/test/dummy/tmp/cache/assets/D61/220/sprockets%2F370faa6c6d33c3a7c9171ad0bb9647b2 +0 -0
  1127. data/test/dummy/tmp/cache/assets/D61/3D0/sprockets%2F53d45fbb14e913381c1551abcba6ad79 +0 -0
  1128. data/test/dummy/tmp/cache/assets/D61/880/sprockets%2F71b81dc2f7d907ba0d10b574c14fa36f +0 -0
  1129. data/test/dummy/tmp/cache/assets/D61/980/sprockets%2Fcdd020599eb357378bc81cbc2ad424b0 +0 -0
  1130. data/test/dummy/tmp/cache/assets/D61/F40/sprockets%2F9f77e16f876692ade17c52bf6cb958b9 +0 -0
  1131. data/test/dummy/tmp/cache/assets/D62/120/sprockets%2F3c45336edb0a92f42feabe1c510847f2 +0 -0
  1132. data/test/dummy/tmp/cache/assets/D62/BE0/sprockets%2F0152cc0084a7aeaf763600eae8e8d84a +0 -0
  1133. data/test/dummy/tmp/cache/assets/D63/F40/sprockets%2Fcdd856c38bb25ca10b768135d3bc084c +0 -0
  1134. data/test/dummy/tmp/cache/assets/D64/230/sprockets%2Fd1090ad2274e9c9c461a3335da8f0cde +0 -0
  1135. data/test/dummy/tmp/cache/assets/D64/3D0/sprockets%2F62226828ff03e13ea4bed0e503ce57ea +0 -0
  1136. data/test/dummy/tmp/cache/assets/D64/DC0/sprockets%2Ff8c5f5c526d31882930ee0c2aa2c8aa1 +0 -0
  1137. data/test/dummy/tmp/cache/assets/D65/020/sprockets%2F190f56bd0fe0aab8306a81a3484f75dd +0 -0
  1138. data/test/dummy/tmp/cache/assets/D65/160/sprockets%2Ffe22c9e0074b563e5a7d20fd0e75e1c2 +0 -0
  1139. data/test/dummy/tmp/cache/assets/D65/7F0/sprockets%2Fc10da6dd4d43166ce3c03409c0e79ee6 +0 -0
  1140. data/test/dummy/tmp/cache/assets/D65/AE0/sprockets%2Ffdb0eb414bc1e891142da6b62790ed38 +0 -0
  1141. data/test/dummy/tmp/cache/assets/D65/C40/sprockets%2F99ca4a06ab35157f8ed4f0ff51b1133c +0 -0
  1142. data/test/dummy/tmp/cache/assets/D65/E50/sprockets%2Fd93da14d25e0f1c43647c1a7ee51e70e +0 -0
  1143. data/test/dummy/tmp/cache/assets/D66/730/sprockets%2F9e0149c86ef27bd0d430da23e35bfd32 +0 -0
  1144. data/test/dummy/tmp/cache/assets/D66/FD0/sprockets%2F389ca2ed5642082cfba0ee7821f821ab +0 -0
  1145. data/test/dummy/tmp/cache/assets/D67/350/sprockets%2Fdc9530bc412e1d6489b8a3fd0a549bd1 +0 -0
  1146. data/test/dummy/tmp/cache/assets/D67/A30/sprockets%2Fe85aadf4f84bc091db2596d4b01702e3 +0 -0
  1147. data/test/dummy/tmp/cache/assets/D68/4D0/sprockets%2Fb5d76958b044bc7c00ebb414b9cab927 +0 -0
  1148. data/test/dummy/tmp/cache/assets/D69/020/sprockets%2F515c19c79abe2b7f0fc244bd25305e8d +0 -0
  1149. data/test/dummy/tmp/cache/assets/D69/5D0/sprockets%2F52558166bcc91e3cb21bd50fd76ec37a +0 -0
  1150. data/test/dummy/tmp/cache/assets/D69/680/sprockets%2F6ce6c7a1f23d635a20ded2d9390b83c5 +0 -0
  1151. data/test/dummy/tmp/cache/assets/D69/A80/sprockets%2F3a512d72c5288bbee98f2c2c322eef40 +0 -0
  1152. data/test/dummy/tmp/cache/assets/D6A/320/sprockets%2F91ff6c61a8b0793410dcbdf9d2b0942b +0 -0
  1153. data/test/dummy/tmp/cache/assets/D6A/980/sprockets%2Ffd5e40ecf366b149f10912de65ada237 +0 -0
  1154. data/test/dummy/tmp/cache/assets/D6A/F30/sprockets%2F39fdb1d2c0e914412ee264a8c7c924af +0 -0
  1155. data/test/dummy/tmp/cache/assets/D6C/B60/sprockets%2Fc783cbf78d7eae8cd0c723c41e231109 +0 -0
  1156. data/test/dummy/tmp/cache/assets/D6D/350/sprockets%2F64785abd066a95c7eab3fdbb9d501506 +0 -0
  1157. data/test/dummy/tmp/cache/assets/D6D/4C0/sprockets%2F58655bde9ec7c133f2cb3f1622dd28d0 +0 -0
  1158. data/test/dummy/tmp/cache/assets/D6D/800/sprockets%2F0203086dc58dc9f17f1a07be7fa485eb +0 -0
  1159. data/test/dummy/tmp/cache/assets/D6D/BB0/sprockets%2F441e6aa638bca68b878941fbaf190a0e +0 -0
  1160. data/test/dummy/tmp/cache/assets/D6E/2A0/sprockets%2F03d17b340fb9bfb96b4ea3b363849c8c +0 -0
  1161. data/test/dummy/tmp/cache/assets/D6E/8B0/sprockets%2F04997da1743423e3bde3df6acd319d7b +0 -0
  1162. data/test/dummy/tmp/cache/assets/D6E/950/sprockets%2Fd223cb5e86bd8ad40dbc66446622e6f5 +0 -0
  1163. data/test/dummy/tmp/cache/assets/D6F/0B0/sprockets%2F4b05d8c7399a122b6ef34628c37dceac +0 -0
  1164. data/test/dummy/tmp/cache/assets/D6F/320/sprockets%2Fe35de59d66e41bc4725c01c6ac5b629e +0 -0
  1165. data/test/dummy/tmp/cache/assets/D6F/650/sprockets%2F3904fad3d035a3648931e9f7fb0e4dea +0 -0
  1166. data/test/dummy/tmp/cache/assets/D6F/700/sprockets%2F3620b8afd3d9b58babd42165554fc3f9 +0 -0
  1167. data/test/dummy/tmp/cache/assets/D70/0D0/sprockets%2Ff09fa4e5d715cd863e5034b7b72b4ee2 +0 -0
  1168. data/test/dummy/tmp/cache/assets/D70/330/sprockets%2F6153c4b5e1f9986ed06448aa4e7bccb0 +0 -0
  1169. data/test/dummy/tmp/cache/assets/D70/820/sprockets%2Ffae870c1c0e77ea97d58fbd20440465c +0 -0
  1170. data/test/dummy/tmp/cache/assets/D70/BF0/sprockets%2F0f3792677c0ab0f2b93fb1a1eaf7887d +0 -0
  1171. data/test/dummy/tmp/cache/assets/D71/D20/sprockets%2F7cb49b60108c88a3ed9264ddda7b3a39 +0 -0
  1172. data/test/dummy/tmp/cache/assets/D71/F90/sprockets%2F35061e6dd5d9cde1b98db7d04084d0d8 +0 -0
  1173. data/test/dummy/tmp/cache/assets/D72/1A0/sprockets%2F410c3f6c72a55b8ef8ddfea4552b9516 +0 -0
  1174. data/test/dummy/tmp/cache/assets/D72/270/sprockets%2F1e79d738f4e8ad90c3b231cabcd77318 +0 -0
  1175. data/test/dummy/tmp/cache/assets/D72/410/sprockets%2F11979bbd7835dab1bf8e0a62c77ce472 +0 -0
  1176. data/test/dummy/tmp/cache/assets/D73/310/sprockets%2F105b3d4e9ce85c750ff6e9f337a7a05a +0 -0
  1177. data/test/dummy/tmp/cache/assets/D73/730/sprockets%2Fb9ac32937da67ff2b416dc98a63ac490 +0 -0
  1178. data/test/dummy/tmp/cache/assets/D74/6D0/sprockets%2F8d9d45f098fba5e0e531f96a0653aba6 +0 -0
  1179. data/test/dummy/tmp/cache/assets/D74/710/sprockets%2Fd37e7a68d51378e4e61a0caf49e13de4 +0 -0
  1180. data/test/dummy/tmp/cache/assets/D75/7E0/sprockets%2F70932e6bea85a0e9e9c2a91c7451eee4 +0 -0
  1181. data/test/dummy/tmp/cache/assets/D75/C60/sprockets%2F85a3fcd918d553d00d7b674863efc1ea +0 -0
  1182. data/test/dummy/tmp/cache/assets/D75/C70/sprockets%2F55a3dc3a742a9a89c16e2c71693cd9de +0 -0
  1183. data/test/dummy/tmp/cache/assets/D75/DE0/sprockets%2Fecd1f7ce3208f7f020a685d816f72c6f +0 -0
  1184. data/test/dummy/tmp/cache/assets/D76/570/sprockets%2F92b832c3059ea4e88d2b67bdcc5915fb +0 -0
  1185. data/test/dummy/tmp/cache/assets/D76/BF0/sprockets%2F8df269f086a3f34fdb0b9a3c09c6049e +0 -0
  1186. data/test/dummy/tmp/cache/assets/D76/D50/sprockets%2F7f14465f3b0bdf1a91f4b8a95e7d43d8 +0 -0
  1187. data/test/dummy/tmp/cache/assets/D77/040/sprockets%2Ff247e5f40d8b4786fae85bb13c883a4a +0 -0
  1188. data/test/dummy/tmp/cache/assets/D77/B50/sprockets%2F8363e57c3433ca775ac6f4b9e1e0be8f +0 -0
  1189. data/test/dummy/tmp/cache/assets/D77/F40/sprockets%2F1f90795ff6d3c7ad010b4ea38928e9cb +0 -0
  1190. data/test/dummy/tmp/cache/assets/D78/B00/sprockets%2F062fe8c9e8ace815ad1e229c676a219f +0 -0
  1191. data/test/dummy/tmp/cache/assets/D78/B10/sprockets%2F1ff16042259ede2ee4664e183cf79ead +0 -0
  1192. data/test/dummy/tmp/cache/assets/D78/BA0/sprockets%2Fc8c08dd357dce5fc5431e9731f2a8e36 +0 -0
  1193. data/test/dummy/tmp/cache/assets/D78/D20/sprockets%2F161a8f9916c399c8cbe4df0d8fb82a11 +0 -0
  1194. data/test/dummy/tmp/cache/assets/D79/010/sprockets%2F671f0cdced78d4aa1f8b06e7453793f5 +0 -0
  1195. data/test/dummy/tmp/cache/assets/D79/420/sprockets%2F525a40cf98dc966f62bc7cf27bc5a564 +0 -0
  1196. data/test/dummy/tmp/cache/assets/D7A/2D0/sprockets%2F94e531f86e75b46b3c7fe11ee440d6fd +0 -0
  1197. data/test/dummy/tmp/cache/assets/D7A/A10/sprockets%2F4e75c71a9f65d59c55c1dc3b64bae486 +0 -0
  1198. data/test/dummy/tmp/cache/assets/D7A/CF0/sprockets%2F6abfff0e11af85fb99410d7f403768d8 +0 -0
  1199. data/test/dummy/tmp/cache/assets/D7A/F90/sprockets%2Fb284bac1409cf8da64f89e59450c8d5c +0 -0
  1200. data/test/dummy/tmp/cache/assets/D7C/390/sprockets%2Fd7b071ae9f49d6dcef53b978314f24d3 +0 -0
  1201. data/test/dummy/tmp/cache/assets/D7C/DD0/sprockets%2F63ae8f81ace247ef4d63bb783ac44886 +0 -0
  1202. data/test/dummy/tmp/cache/assets/D7C/F00/sprockets%2Fd6109ba1a79aaa83bba1e51e372a2b20 +0 -0
  1203. data/test/dummy/tmp/cache/assets/D7D/060/sprockets%2F81ef86311ee9c61682c08eb97db6da9a +0 -0
  1204. data/test/dummy/tmp/cache/assets/D7E/510/sprockets%2Fca236fdfc85f7b6c63875a8b4f41c638 +0 -0
  1205. data/test/dummy/tmp/cache/assets/D7E/850/sprockets%2Ff486c9f55e1d446fb93aee02a4fd5548 +0 -0
  1206. data/test/dummy/tmp/cache/assets/D7E/BD0/sprockets%2Faca7ebc091f967a4e5b8719c94165ee6 +0 -0
  1207. data/test/dummy/tmp/cache/assets/D80/190/sprockets%2F589ca16b1a8c8998495a58fb4bd3a5cd +0 -0
  1208. data/test/dummy/tmp/cache/assets/D80/730/sprockets%2F945d794f55bdcf8703d8e523aadc258f +0 -0
  1209. data/test/dummy/tmp/cache/assets/D80/A20/sprockets%2Feefc3489dc8ec4d3c348d9805a45b375 +0 -0
  1210. data/test/dummy/tmp/cache/assets/D80/CE0/sprockets%2Fceb0d83a564c4a44497d9c48c919eff4 +0 -0
  1211. data/test/dummy/tmp/cache/assets/D81/570/sprockets%2Ff9053fc2281ecf6f69b6f8b3a7b863e4 +0 -0
  1212. data/test/dummy/tmp/cache/assets/D82/610/sprockets%2Fb6ad52d0017bf26a6a13ced1f900e03f +0 -0
  1213. data/test/dummy/tmp/cache/assets/D82/C60/sprockets%2Fc221ff6cc5bdf9f78d6e792183e6d227 +0 -0
  1214. data/test/dummy/tmp/cache/assets/D83/4D0/sprockets%2Fb92cb6d4b120a4b0eb5c2310cb49a6d9 +0 -0
  1215. data/test/dummy/tmp/cache/assets/D83/530/sprockets%2F35434a7ac3a2d3d041f1fcb484b4eb1b +0 -0
  1216. data/test/dummy/tmp/cache/assets/D84/6F0/sprockets%2Fcc254b6f939747b5f7a727953ff4acfb +0 -0
  1217. data/test/dummy/tmp/cache/assets/D84/B70/sprockets%2Fb80c5e68acedc31a5aa52a52c0320b77 +0 -0
  1218. data/test/dummy/tmp/cache/assets/D85/670/sprockets%2Ffe6a29627ab687590e49bd3afb7884dd +0 -0
  1219. data/test/dummy/tmp/cache/assets/D85/810/sprockets%2F5e80ae94ff4dfe299e1557c3a37f0f58 +0 -0
  1220. data/test/dummy/tmp/cache/assets/D85/DA0/sprockets%2Fc2e1e1867daee15ab1bc1ec90234a360 +0 -0
  1221. data/test/dummy/tmp/cache/assets/D86/2E0/sprockets%2F8c0198089731cc8f80ddcfa599faa9d7 +0 -0
  1222. data/test/dummy/tmp/cache/assets/D86/360/sprockets%2Fdac7134a4350b2a50e7ea27df0156dbe +0 -0
  1223. data/test/dummy/tmp/cache/assets/D86/410/sprockets%2F204c4d2fb7b2f8a253e5cb2a1b196d1a +0 -0
  1224. data/test/dummy/tmp/cache/assets/D86/980/sprockets%2Fa0094c6c4cb00d9c7c25058b11fcaee1 +0 -0
  1225. data/test/dummy/tmp/cache/assets/D87/330/sprockets%2Fc32ddf367fe4fd8c9ee178b87553b356 +0 -0
  1226. data/test/dummy/tmp/cache/assets/D87/590/sprockets%2F057e0db227b0d2eea2e5d41219d26bfa +0 -0
  1227. data/test/dummy/tmp/cache/assets/D88/670/sprockets%2Fb55a88873969aad88d7a06bed968fbc0 +0 -0
  1228. data/test/dummy/tmp/cache/assets/D89/200/sprockets%2Fa888f8137663fdf977c6a7187aea8abb +0 -0
  1229. data/test/dummy/tmp/cache/assets/D89/B00/sprockets%2F51c8a4fc3fc6d4b4ae5666bbaa000272 +0 -0
  1230. data/test/dummy/tmp/cache/assets/D8A/1F0/sprockets%2Fa584778e1b83fba1e899d0eb9ed58a96 +0 -0
  1231. data/test/dummy/tmp/cache/assets/D8A/2C0/sprockets%2F9023ee258ac0b3afb7bf546bba8060a3 +0 -0
  1232. data/test/dummy/tmp/cache/assets/D8A/BA0/sprockets%2Ff25447f638ee98604dbc3c7ff5eac787 +0 -0
  1233. data/test/dummy/tmp/cache/assets/D8A/C00/sprockets%2F76e1ac1d5c2fabb44cef4910221d91f0 +0 -0
  1234. data/test/dummy/tmp/cache/assets/D8B/E00/sprockets%2F580a8725e6f86d83d493cbcfefd69d27 +0 -0
  1235. data/test/dummy/tmp/cache/assets/D8C/4B0/sprockets%2Fddca9303dcea152235c696bd23fc14c2 +0 -0
  1236. data/test/dummy/tmp/cache/assets/D8C/660/sprockets%2Fca11131ab889aad26644ae1ff94eb41a +0 -0
  1237. data/test/dummy/tmp/cache/assets/D8C/E50/sprockets%2Fa79bc162ae104d187ca49b4cdcb52d40 +0 -0
  1238. data/test/dummy/tmp/cache/assets/D8D/890/sprockets%2F351dbe7b0436abbe86cb8af5462b030e +0 -0
  1239. data/test/dummy/tmp/cache/assets/D8E/6D0/sprockets%2F11f02e2179c6e36d2a53e61b1a3beeef +0 -0
  1240. data/test/dummy/tmp/cache/assets/D8F/2C0/sprockets%2Feef1d8a352931bd39c211f0f30e6e2ac +0 -0
  1241. data/test/dummy/tmp/cache/assets/D90/9E0/sprockets%2Fa9ceedcc16170311b30c88da1ca368c9 +0 -0
  1242. data/test/dummy/tmp/cache/assets/D90/F50/sprockets%2F0f293f5b0f85c1a1fd48c2b0610cbcf8 +0 -0
  1243. data/test/dummy/tmp/cache/assets/D91/A80/sprockets%2F33e68918bcd0f1d2f3e74dfa100d42da +0 -0
  1244. data/test/dummy/tmp/cache/assets/D91/D40/sprockets%2F7a4af3978cd1dc0cb31dad052392a4e7 +0 -0
  1245. data/test/dummy/tmp/cache/assets/D93/180/sprockets%2F911e3c82316bd872e74b2ccbb5aa50ff +0 -0
  1246. data/test/dummy/tmp/cache/assets/D93/C00/sprockets%2Fd488319eaf212fb1a38bd4a3ae2b469a +0 -0
  1247. data/test/dummy/tmp/cache/assets/D94/4C0/sprockets%2Fa5c02c8ab2f99f10e2bcabf418546f25 +0 -0
  1248. data/test/dummy/tmp/cache/assets/D94/530/sprockets%2Fde7075de3200dc2c4eac4e1f761485bd +0 -0
  1249. data/test/dummy/tmp/cache/assets/D94/9F0/sprockets%2F1b1129cfc72e04e65b13edf34ceb496a +0 -0
  1250. data/test/dummy/tmp/cache/assets/D94/B10/sprockets%2Fbcfb028c273e438d5b2d60d430f8ad7b +0 -0
  1251. data/test/dummy/tmp/cache/assets/D94/C20/sprockets%2F7a101ec2d75abbc0dd7e508478a48ef0 +0 -0
  1252. data/test/dummy/tmp/cache/assets/D94/EC0/sprockets%2Fbd52d50da5c5eaf9a316a36d5c076f61 +0 -0
  1253. data/test/dummy/tmp/cache/assets/D95/350/sprockets%2F1f3d20dc63195f7f2dfe670eba6220cd +0 -0
  1254. data/test/dummy/tmp/cache/assets/D95/C40/sprockets%2F8afc3bf0557baa6f0a547b59061ed5c2 +0 -0
  1255. data/test/dummy/tmp/cache/assets/D96/3B0/sprockets%2Fb8ba9ecefe9a40e9364b646210c1bc23 +0 -0
  1256. data/test/dummy/tmp/cache/assets/D96/460/sprockets%2F5b5c02dc0a42e48ec921a28a9a8edf09 +0 -0
  1257. data/test/dummy/tmp/cache/assets/D97/010/sprockets%2Fb309aeaddf391f44fec1cb76e3131564 +0 -0
  1258. data/test/dummy/tmp/cache/assets/D97/980/sprockets%2Fb147432bbfe84eee5312dcd755f0e03e +0 -0
  1259. data/test/dummy/tmp/cache/assets/D97/BE0/sprockets%2F9340b16c8a74b4ec8857ba3ca5c2df2a +0 -0
  1260. data/test/dummy/tmp/cache/assets/D98/A70/sprockets%2Fc2b7a7570c7ce543b508ecb0ffdd9105 +0 -0
  1261. data/test/dummy/tmp/cache/assets/D9A/060/sprockets%2F5519910b3dedc05c9ac10acf470e98ee +0 -0
  1262. data/test/dummy/tmp/cache/assets/D9A/6F0/sprockets%2Ffe5d3eebd51fda4d6564f610217e170e +0 -0
  1263. data/test/dummy/tmp/cache/assets/D9A/F60/sprockets%2F3795c6bbf7d0e64b30bbb9f53d5804aa +0 -0
  1264. data/test/dummy/tmp/cache/assets/D9A/FD0/sprockets%2F83efda39f23ab1e659e140fc618a42cc +0 -0
  1265. data/test/dummy/tmp/cache/assets/D9B/2F0/sprockets%2F9fe27100bdcaabcf9846cb036f91d572 +0 -0
  1266. data/test/dummy/tmp/cache/assets/D9B/3B0/sprockets%2F7faed13fe306993b1ad1e784f7da004d +0 -0
  1267. data/test/dummy/tmp/cache/assets/D9B/4F0/sprockets%2F0d94a7210999a7c5b5da2ccaf92ca91d +0 -0
  1268. data/test/dummy/tmp/cache/assets/D9B/5B0/sprockets%2F45dd3f642b59a7c5b3ef5fdbb8d16021 +0 -0
  1269. data/test/dummy/tmp/cache/assets/D9B/E30/sprockets%2F5b5ca2d2218086be74ba495c6a8ebda9 +0 -0
  1270. data/test/dummy/tmp/cache/assets/D9C/AA0/sprockets%2Fa1396fb7f51c5bbfc6101729ad7e39da +0 -0
  1271. data/test/dummy/tmp/cache/assets/D9C/F10/sprockets%2Fcd6c0589a97bc00bf795fd0a0da74f15 +0 -0
  1272. data/test/dummy/tmp/cache/assets/D9D/1B0/sprockets%2F05b6f241ca68070e88fab18f7abbdf83 +0 -0
  1273. data/test/dummy/tmp/cache/assets/D9D/A80/sprockets%2F7b2d79acdbca2dc61ee55c837140d648 +0 -0
  1274. data/test/dummy/tmp/cache/assets/D9D/F70/sprockets%2F9e98ba43acde2a53f4473e116a3e75db +0 -0
  1275. data/test/dummy/tmp/cache/assets/D9E/5D0/sprockets%2Fe03864504ac3aec186f7b19a4af9eac9 +0 -0
  1276. data/test/dummy/tmp/cache/assets/D9E/870/sprockets%2F69c856a61e0c9b8c5c110e3d8fcacc36 +0 -0
  1277. data/test/dummy/tmp/cache/assets/DA0/A70/sprockets%2F86c966ab0c1c3d8fa213fa9fcc3820f9 +0 -0
  1278. data/test/dummy/tmp/cache/assets/DA0/CC0/sprockets%2Fce1324ffa47d1ec4f81b52ae656a5f86 +0 -0
  1279. data/test/dummy/tmp/cache/assets/DA0/F80/sprockets%2Fdf90f09e67bbee23244a0e5f729ab8d1 +0 -0
  1280. data/test/dummy/tmp/cache/assets/DA1/0B0/sprockets%2F36d9c1e3be67364c96da8fe2600bbf0f +0 -0
  1281. data/test/dummy/tmp/cache/assets/DA1/0B0/sprockets%2Ff5b17f9c4f24a11edebff34c149096e3 +0 -0
  1282. data/test/dummy/tmp/cache/assets/DA1/350/sprockets%2Fad69dbcd3078800eafd83c35ce6e1538 +0 -0
  1283. data/test/dummy/tmp/cache/assets/DA1/7B0/sprockets%2F1eaf1d2c98579ba25b5d723dfa2d693d +0 -0
  1284. data/test/dummy/tmp/cache/assets/DA1/970/sprockets%2Fbf8a889df2281a60ed6cbec40584c5a3 +0 -0
  1285. data/test/dummy/tmp/cache/assets/DA2/F50/sprockets%2F64c68dca163ed984760b6beba7ce5b24 +0 -0
  1286. data/test/dummy/tmp/cache/assets/DA3/960/sprockets%2Ff462ec2d8ab778da8b7364e2eea1453d +0 -0
  1287. data/test/dummy/tmp/cache/assets/DA3/C70/sprockets%2Fe11d250efc53ad89e9dac25d00988ef4 +0 -0
  1288. data/test/dummy/tmp/cache/assets/DA4/2C0/sprockets%2Ff3d9c4d5eb87c07442d700fd21ec9bd9 +0 -0
  1289. data/test/dummy/tmp/cache/assets/DA4/3A0/sprockets%2F5f87fca4333b3d3be75d846ad6744eab +0 -0
  1290. data/test/dummy/tmp/cache/assets/DA4/9B0/sprockets%2F9a2db0b2d4f7f5c02a67fee3f83584e5 +0 -0
  1291. data/test/dummy/tmp/cache/assets/DA4/D50/sprockets%2F229bc9d8bea3f22e268bc5a685e6dc52 +0 -0
  1292. data/test/dummy/tmp/cache/assets/DA5/D50/sprockets%2Feb9084eb3c96c230de7ce47a6e83ef31 +0 -0
  1293. data/test/dummy/tmp/cache/assets/DA6/1D0/sprockets%2Fac9a973c9a1dc7503e28e7ff68eaa234 +0 -0
  1294. data/test/dummy/tmp/cache/assets/DA6/FC0/sprockets%2Ff01be55d37ae55528dacf9e3bf65c583 +0 -0
  1295. data/test/dummy/tmp/cache/assets/DA7/830/sprockets%2F5f76428ad99efd1581b4b91cc1f1da6e +0 -0
  1296. data/test/dummy/tmp/cache/assets/DA7/970/sprockets%2F81f8c8b3ce9d1bfd5f33896c002cbf82 +0 -0
  1297. data/test/dummy/tmp/cache/assets/DA7/AA0/sprockets%2Fdcc7f1714594fdad718c4c6d5b518cf4 +0 -0
  1298. data/test/dummy/tmp/cache/assets/DA7/BC0/sprockets%2F4897daac4ae12adfc78760ac793a54e9 +0 -0
  1299. data/test/dummy/tmp/cache/assets/DA7/BD0/sprockets%2Fa5e7e05a11ec5bf7f68b2953b9fd507f +0 -0
  1300. data/test/dummy/tmp/cache/assets/DA8/960/sprockets%2Feada6e6381fc62dc368e3b6e05f697b3 +0 -0
  1301. data/test/dummy/tmp/cache/assets/DA9/030/sprockets%2Ffb94112f8d6154f78c3fa18b6f9dde0c +0 -0
  1302. data/test/dummy/tmp/cache/assets/DA9/870/sprockets%2F4efb8160f0ab5e3c6d9f26667bde3b88 +0 -0
  1303. data/test/dummy/tmp/cache/assets/DAA/280/sprockets%2Fb1b928cc15ad669e45b924e5fe617ede +0 -0
  1304. data/test/dummy/tmp/cache/assets/DAA/300/sprockets%2Fa63ffc606928545d5c68dfc45ea4afc4 +0 -0
  1305. data/test/dummy/tmp/cache/assets/DAA/350/sprockets%2F39c328c8550ee2e0a39dbfc92d925eff +0 -0
  1306. data/test/dummy/tmp/cache/assets/DAB/5C0/sprockets%2Fe0183ee232c79dd5fb1996841dffafb6 +0 -0
  1307. data/test/dummy/tmp/cache/assets/DAC/CB0/sprockets%2F7e46dca8f3c6f36d8c251fbdca144898 +0 -0
  1308. data/test/dummy/tmp/cache/assets/DAC/EE0/sprockets%2F747a0f5ae6e8fbbee76450c9d622b98b +0 -0
  1309. data/test/dummy/tmp/cache/assets/DAE/690/sprockets%2F45e34bb8844af4f2ede8c8a6e7765e1b +0 -0
  1310. data/test/dummy/tmp/cache/assets/DAE/940/sprockets%2Fe85b9dc8b8bb68801e32e09df59b2da8 +0 -0
  1311. data/test/dummy/tmp/cache/assets/DAE/D10/sprockets%2Fff0f2e187dd40943fc5672e3f7eac66f +0 -0
  1312. data/test/dummy/tmp/cache/assets/DB1/710/sprockets%2F80a2f98e5104baceb767e99fea7673fc +0 -0
  1313. data/test/dummy/tmp/cache/assets/DB6/DD0/sprockets%2F30dde5d8fa4257bedf99f1e657d934d7 +0 -0
  1314. data/test/dummy/tmp/cache/assets/DB6/E40/sprockets%2Fd34872593df77b4760eaceae98d78eda +0 -0
  1315. data/test/dummy/tmp/cache/assets/DB7/220/sprockets%2F2f9a57eeb18e9e7da174ce069299c5fd +0 -0
  1316. data/test/dummy/tmp/cache/assets/DB8/020/sprockets%2F8fe9e933e637b0dde67de1c7ff97a550 +0 -0
  1317. data/test/dummy/tmp/cache/assets/DB8/5E0/sprockets%2F7f67e1aeed28f5dbd2836f84c25e9e93 +0 -0
  1318. data/test/dummy/tmp/cache/assets/DB8/B60/sprockets%2Fab2954a1b4cfc4b0e2c66c352cb25a7d +0 -0
  1319. data/test/dummy/tmp/cache/assets/DBA/A20/sprockets%2F759cdaee13f68c98e48a59e0d34dd58f +0 -0
  1320. data/test/dummy/tmp/cache/assets/DBB/480/sprockets%2F48abb2bc119e084b0b8cdc5d1872c0be +0 -0
  1321. data/test/dummy/tmp/cache/assets/DBC/8D0/sprockets%2Ffc230cafbe156d070cdc4b6922d2b9a5 +0 -0
  1322. data/test/dummy/tmp/cache/assets/DBD/320/sprockets%2F2b65e932b8737db3cc451ab20c0efccb +0 -0
  1323. data/test/dummy/tmp/cache/assets/DBD/380/sprockets%2Fa310affe5dc17e1c208ba29c5c81c1f7 +0 -0
  1324. data/test/dummy/tmp/cache/assets/DBD/7E0/sprockets%2Fa3720fb80ef0d17bebb9cbfe407f1106 +0 -0
  1325. data/test/dummy/tmp/cache/assets/DC0/3F0/sprockets%2F9daae6a0cf920c744e1abbc4081b52f9 +0 -0
  1326. data/test/dummy/tmp/cache/assets/DC1/460/sprockets%2F2a63a229e7ed193a49fbbd0d0cb561dd +0 -0
  1327. data/test/dummy/tmp/cache/assets/DC1/B80/sprockets%2Facacb282d8ea59a00a5fd454b609a93c +0 -0
  1328. data/test/dummy/tmp/cache/assets/DC1/DA0/sprockets%2Fa1d2e51413b94cb2cffaf8c612dd971a +0 -0
  1329. data/test/dummy/tmp/cache/assets/DC5/920/sprockets%2F189afd04f90ca4d5be92fb09312a3deb +0 -0
  1330. data/test/dummy/tmp/cache/assets/DC6/F60/sprockets%2F46edc56bddf48f0d060e1ccef3440d25 +0 -0
  1331. data/test/dummy/tmp/cache/assets/DC7/4B0/sprockets%2F2e81ca666f3d4b86cef64e11f0cca52a +0 -0
  1332. data/test/dummy/tmp/cache/assets/DC7/680/sprockets%2Fd829a102cf914f54eaf0c3a8cd5b6e0f +0 -0
  1333. data/test/dummy/tmp/cache/assets/DC8/390/sprockets%2F0aad7ee75bde1854be0d53bb8e151c68 +0 -0
  1334. data/test/dummy/tmp/cache/assets/DC8/7B0/sprockets%2F2e3c3d4bb59426da50cd1c6df47ce37d +0 -0
  1335. data/test/dummy/tmp/cache/assets/DC9/FC0/sprockets%2F3a24d7f0ca926afa47cc0be08e9bc846 +0 -0
  1336. data/test/dummy/tmp/cache/assets/DCB/310/sprockets%2Fddd2b6caa0d201c7b567fa1ff56e9477 +0 -0
  1337. data/test/dummy/tmp/cache/assets/DCC/230/sprockets%2F4fbadc0d0eb4b1f637ee0e37c729857b +0 -0
  1338. data/test/dummy/tmp/cache/assets/DCC/E50/sprockets%2F6910e6b16bc8fea2827b0f5ff4ad4a6c +0 -0
  1339. data/test/dummy/tmp/cache/assets/DD0/DA0/sprockets%2F8136eeece3046ba40c48c36a8ecb77fe +0 -0
  1340. data/test/dummy/tmp/cache/assets/DD1/4F0/sprockets%2Fa23f4dc3298a9ff5c051c6573dedd2de +0 -0
  1341. data/test/dummy/tmp/cache/assets/DD1/8F0/sprockets%2F83f2e8ac11e34511bec0df8f9fce27f4 +0 -0
  1342. data/test/dummy/tmp/cache/assets/DD1/D30/sprockets%2F8255cd4bfaedb0685c977ea321fa7cf2 +0 -0
  1343. data/test/dummy/tmp/cache/assets/DD2/CB0/sprockets%2Fb6eeafc80775ee7a8f03670dbd24a90e +0 -0
  1344. data/test/dummy/tmp/cache/assets/DD3/A70/sprockets%2Fe4ad942ec54ff6e45633c615eaca49af +0 -0
  1345. data/test/dummy/tmp/cache/assets/DD4/0E0/sprockets%2F0cc6edb2467c3cfec1de97b8a270587e +0 -0
  1346. data/test/dummy/tmp/cache/assets/DD4/ED0/sprockets%2Fc802ee9056d8a9eda175ebb6dd4719ac +0 -0
  1347. data/test/dummy/tmp/cache/assets/DD6/180/sprockets%2Fc8e682fcdec36aa25b5c2c7f3b09955f +0 -0
  1348. data/test/dummy/tmp/cache/assets/DD6/750/sprockets%2Ff97a293f76a97e0c02c6dd8bfd41ba5e +0 -0
  1349. data/test/dummy/tmp/cache/assets/DD7/140/sprockets%2Fa76f26f3774fe26856fad3dc04daeed2 +0 -0
  1350. data/test/dummy/tmp/cache/assets/DD7/A40/sprockets%2Fd331fb0878fd8cefc6a644cb4d2a956e +0 -0
  1351. data/test/dummy/tmp/cache/assets/DD8/2D0/sprockets%2F1e9141c7b09fdc7edd69cfe2ab1596e5 +0 -0
  1352. data/test/dummy/tmp/cache/assets/DD9/360/sprockets%2F79d79f0eb57b05e2ddce9c07e2a6c66b +0 -0
  1353. data/test/dummy/tmp/cache/assets/DD9/4A0/sprockets%2Fbd5ee46629c52e17ef5d910ec7c2ede6 +0 -0
  1354. data/test/dummy/tmp/cache/assets/DD9/860/sprockets%2F6b8da6eba1fec2995d710cc99bf658a2 +0 -0
  1355. data/test/dummy/tmp/cache/assets/DD9/E30/sprockets%2Fc83d5941be7eaaafd26924ada767fd85 +0 -0
  1356. data/test/dummy/tmp/cache/assets/DD9/E60/sprockets%2Fc0d0cccb43be3ea072b0fae322a0873c +0 -0
  1357. data/test/dummy/tmp/cache/assets/DDA/7F0/sprockets%2F669aba5af9e9471a68f8dd9be640aa2c +0 -0
  1358. data/test/dummy/tmp/cache/assets/DDB/570/sprockets%2Ffcf2f12c56ce4df8779ab4832de75cd2 +0 -0
  1359. data/test/dummy/tmp/cache/assets/DDB/7D0/sprockets%2Ff6e99f11a89d9bb903e97e5d4ed0a1ba +0 -0
  1360. data/test/dummy/tmp/cache/assets/DDB/DD0/sprockets%2Fcfdbc8923bee60c577a19ffe7424f72c +0 -0
  1361. data/test/dummy/tmp/cache/assets/DDB/E70/sprockets%2F9861e7858fde4a644c0c5e2bfedc0c9b +0 -0
  1362. data/test/dummy/tmp/cache/assets/DDF/030/sprockets%2F00baca8df8cc4424ce2c4c632070caac +0 -0
  1363. data/test/dummy/tmp/cache/assets/DDF/1D0/sprockets%2F2a72ab03a965f1b1bfdddcc3cc0155b2 +0 -0
  1364. data/test/dummy/tmp/cache/assets/DE1/5B0/sprockets%2Ff9dbf94f992d24bc1ada3f41ef458e68 +0 -0
  1365. data/test/dummy/tmp/cache/assets/DE3/780/sprockets%2Fd23df897ee3e8c98c1e9def097aa61d0 +0 -0
  1366. data/test/dummy/tmp/cache/assets/DE3/DF0/sprockets%2F44a65bafad2d02bf2bc017cab1793c7b +0 -0
  1367. data/test/dummy/tmp/cache/assets/DE4/CE0/sprockets%2F4ffede03976e1969f85bb576e5abe0ce +0 -0
  1368. data/test/dummy/tmp/cache/assets/DE5/770/sprockets%2F63662f5d5fff5faec7c6c3edf3998b31 +0 -0
  1369. data/test/dummy/tmp/cache/assets/DEA/090/sprockets%2F01cbf5af01ea4b3c693e79d315ddda0b +0 -0
  1370. data/test/dummy/tmp/cache/assets/DEB/E10/sprockets%2Fe32593dfde78efef348b6d9ca947b76a +0 -0
  1371. data/test/dummy/tmp/cache/assets/DEE/750/sprockets%2F9a7dda51453523c143c8eefbac3caaa7 +0 -0
  1372. data/test/dummy/tmp/cache/assets/DEE/C20/sprockets%2F3dadc39c1fae53590e508c2a5dabdc15 +0 -0
  1373. data/test/dummy/tmp/cache/assets/DF0/D00/sprockets%2Ff09010d1d9bbeeccc11758ebafb5427c +0 -0
  1374. data/test/dummy/tmp/cache/assets/DF2/C90/sprockets%2Fc8cbf80d4e9ac03245cbe229c27aa1ee +0 -0
  1375. data/test/dummy/tmp/cache/assets/DF3/3D0/sprockets%2Fe9e4dd0fbd96400e70bcbe5b62af20f3 +0 -0
  1376. data/test/dummy/tmp/cache/assets/DF3/920/sprockets%2Fbd6c0174d04aeb0875a6f4bbcd2e75cf +0 -0
  1377. data/test/dummy/tmp/cache/assets/DF3/C50/sprockets%2F71c1dd251bedbf172ed2ee25ff4456ab +0 -0
  1378. data/test/dummy/tmp/cache/assets/DF4/6D0/sprockets%2Ffd69442c5b02e3aedaf36b342bbd4a9f +0 -0
  1379. data/test/dummy/tmp/cache/assets/DF4/730/sprockets%2Fe4d08b1ffdac83138fbc8b7c4ac421a6 +0 -0
  1380. data/test/dummy/tmp/cache/assets/DF4/DC0/sprockets%2Fab0ed5aba0f6cd57228d5d2c04f7e7c6 +0 -0
  1381. data/test/dummy/tmp/cache/assets/DF4/ED0/sprockets%2F9064c1a67a6badbcb92f3aa60ee468ae +0 -0
  1382. data/test/dummy/tmp/cache/assets/DF5/2E0/sprockets%2F0d9a7cdbcd4b6f31dc0dfc9576b1e520 +0 -0
  1383. data/test/dummy/tmp/cache/assets/DF5/2E0/sprockets%2Fb4b23f8d4c1560dafe3ec9d6be0a92d2 +0 -0
  1384. data/test/dummy/tmp/cache/assets/DF8/110/sprockets%2Fb303fcdf636f4a8078cccc5aefbd9031 +0 -0
  1385. data/test/dummy/tmp/cache/assets/DF9/FC0/sprockets%2F50bbf9fdafe071e6028b76ed31ab8cb6 +0 -0
  1386. data/test/dummy/tmp/cache/assets/DFB/360/sprockets%2F9abc6db13d4d137b882a2eb7eead827d +0 -0
  1387. data/test/dummy/tmp/cache/assets/DFB/CF0/sprockets%2Face4e0a9ba7ca0feaa7911992cff5059 +0 -0
  1388. data/test/dummy/tmp/cache/assets/DFC/140/sprockets%2F7e7ad5c9b10d9185e7ceea0cb8c80cb2 +0 -0
  1389. data/test/dummy/tmp/cache/assets/DFC/2A0/sprockets%2Fac1af26cf800dfb87c37f18c48d2fb2e +0 -0
  1390. data/test/dummy/tmp/cache/assets/DFD/4D0/sprockets%2F2e5f7f564fe27f90ded02fb1cc3d3a5b +0 -0
  1391. data/test/dummy/tmp/cache/assets/DFD/540/sprockets%2F2a2b0ef6f64035dd392dca378d8ccdfe +0 -0
  1392. data/test/dummy/tmp/cache/assets/DFE/3E0/sprockets%2F789f8ad6ee09f4732a026faa8c0abfab +0 -0
  1393. data/test/dummy/tmp/cache/assets/DFF/910/sprockets%2F6b0fb645978bd30cfed1ede2cac722e9 +0 -0
  1394. data/test/dummy/tmp/cache/assets/DFF/BD0/sprockets%2F1afc22ed3a41058feddbef34fc8a9892 +0 -0
  1395. data/test/dummy/tmp/cache/assets/DFF/E10/sprockets%2F9b0da01c99b97d0782dae4fa9d5edcb1 +0 -0
  1396. data/test/dummy/tmp/cache/assets/E01/B80/sprockets%2F26a49fb3e5c42fb5fa8e7deda7a2a826 +0 -0
  1397. data/test/dummy/tmp/cache/assets/E02/DB0/sprockets%2Ffe8db23e9dd1ce02c01f1f93f6fbc973 +0 -0
  1398. data/test/dummy/tmp/cache/assets/E03/A00/sprockets%2Fb65afd30ebf7f8a668f00ed285f8cbd0 +0 -0
  1399. data/test/dummy/tmp/cache/assets/E03/A40/sprockets%2F534e94f19bc2fd5f47de81edbb1e5da3 +0 -0
  1400. data/test/dummy/tmp/cache/assets/E04/990/sprockets%2F00a94c7ef2c7525f9fdfc1bd3fcf860d +0 -0
  1401. data/test/dummy/tmp/cache/assets/E0A/750/sprockets%2Ffea08f995694e9ddd6beceb40316e1cb +0 -0
  1402. data/test/dummy/tmp/cache/assets/E0B/7D0/sprockets%2Fd70d98fcdbf69f522acefc8e226fd045 +0 -0
  1403. data/test/dummy/tmp/cache/assets/E0E/470/sprockets%2Fdf9bcee6df67e5d6a2a25909d463b5df +0 -0
  1404. data/test/dummy/tmp/cache/assets/E0E/650/sprockets%2F5a33fc11ab6bc0f1fd24b6deaf07e00b +0 -0
  1405. data/test/dummy/tmp/cache/assets/E10/E40/sprockets%2F112f373dc0ecdabbd21552bf3e2cfc0d +0 -0
  1406. data/test/dummy/tmp/cache/assets/E11/0F0/sprockets%2Fff7d87ecb3d281cbdcc83b95b96fd626 +0 -0
  1407. data/test/dummy/tmp/cache/assets/E14/580/sprockets%2F9aca4c2b442dee3efba02471f4cc10dc +0 -0
  1408. data/test/dummy/tmp/cache/assets/E14/6B0/sprockets%2Fdddb89ed1db182d9f02758ce56e8ef4f +0 -0
  1409. data/test/dummy/tmp/cache/assets/E16/510/sprockets%2Fc5995b57e5de1c95aa9f4dcd9c1ff3c9 +0 -0
  1410. data/test/dummy/tmp/cache/assets/E1B/540/sprockets%2Fcd1fe0e9ac0a5ae34c554cbe26b3a84b +0 -0
  1411. data/test/dummy/tmp/cache/assets/E1D/140/sprockets%2Fc1bfeb7c6cce6c51cfd70a151f60e14b +0 -0
  1412. data/test/dummy/tmp/cache/assets/E1E/B50/sprockets%2F0d1b5aad8e8cf604c44debaca856e0b3 +0 -0
  1413. data/test/dummy/tmp/cache/assets/E21/6C0/sprockets%2Fc83ac0d6ac44dc1a2d437ec84e9bcdd1 +0 -0
  1414. data/test/dummy/tmp/cache/assets/E22/0A0/sprockets%2Ffad6b5952f8d6b362ae2dbc29ad02bca +0 -0
  1415. data/test/dummy/tmp/cache/assets/E23/B10/sprockets%2Ff8d7e7befa2eea7e47a030a63a50fe0a +0 -0
  1416. data/test/dummy/tmp/cache/assets/E23/EB0/sprockets%2F8e8e37b3fb709ec24b03dcbbada1f08c +0 -0
  1417. data/test/dummy/tmp/cache/assets/E24/170/sprockets%2F26403c9bcdbfec6ce5f8b13b46ba1d6c +0 -0
  1418. data/test/dummy/tmp/cache/assets/E24/390/sprockets%2Fbcb78d3acfe8b742db65217becf03ea1 +0 -0
  1419. data/test/dummy/tmp/cache/assets/E24/3A0/sprockets%2Fd724e26eeb4b56c72cd3a604ecdfaae3 +0 -0
  1420. data/test/dummy/tmp/cache/assets/E25/700/sprockets%2F981acc1f4dab3b465ea4deaf72be443e +0 -0
  1421. data/test/dummy/tmp/cache/assets/E26/050/sprockets%2F103d5888bec43da7a0ddcdb2bf3beb97 +0 -0
  1422. data/test/dummy/tmp/cache/assets/E26/0F0/sprockets%2F4e30a2bd37a1dd9c36e6cee8a9b1d5ea +0 -0
  1423. data/test/dummy/tmp/cache/assets/E29/E80/sprockets%2F90cb9bddaa39285cdca816dd90d72adb +0 -0
  1424. data/test/dummy/tmp/cache/assets/E2B/2D0/sprockets%2Fe5397bda4daaf7830a72dfd6e05bffc0 +0 -0
  1425. data/test/dummy/tmp/cache/assets/E2B/D40/sprockets%2F6a8aecedec265cd422c43118c2cf6fff +0 -0
  1426. data/test/dummy/tmp/cache/assets/E2D/0E0/sprockets%2Fffa3484fba492abd803cbd8aef9cd055 +0 -0
  1427. data/test/dummy/tmp/cache/assets/E2F/320/sprockets%2F9caa91c3f6b2af91b45b9fcdb68af62b +0 -0
  1428. data/test/dummy/tmp/cache/assets/E2F/650/sprockets%2F7b75dca570f1d49cfef1cc23cbfd57f1 +0 -0
  1429. data/test/dummy/tmp/cache/assets/E37/FC0/sprockets%2Fde33a8396fe6d0cfd90c36ebef72cf3c +0 -0
  1430. data/test/dummy/tmp/cache/assets/E38/9E0/sprockets%2F2abf75fb8e27e59efc5a6daa42d9d8c2 +0 -0
  1431. data/test/dummy/tmp/cache/assets/E3A/650/sprockets%2Ffb4abcc7eedf902d354dd59e3b5d389f +0 -0
  1432. data/test/dummy/tmp/cache/assets/E45/2F0/sprockets%2Fede8097d852ebcde8097daefcf826e6a +0 -0
  1433. data/test/dummy/tmp/cache/assets/E49/020/sprockets%2F3c6401cbfb8c71dbb0ce0f64bde3dbb6 +0 -0
  1434. data/test/dummy/tmp/cache/assets/E49/ED0/sprockets%2Fdf98ada6ae6737d7ceff1fc0d8967c8c +0 -0
  1435. data/test/dummy/tmp/cache/assets/E53/770/sprockets%2Fe2e0a3e9ffa5dfaab1928c0cd2f4a9b3 +0 -0
  1436. data/test/dummy/tmp/cache/assets/E5A/CF0/sprockets%2Fbdeb098bcbca426a7e1bd57ad6ea777c +0 -0
  1437. data/test/dummy/tmp/cache/assets/E66/7B0/sprockets%2F9f4bfaee4738b7f9ab2c0cc3acfb875e +0 -0
  1438. data/test/dummy/tmp/cache/assets/E69/AE0/sprockets%2F979dd3fdf9f63a16c3de57fcbbea40fa +0 -0
  1439. data/test/dummy/tmp/cache/assets/E6D/700/sprockets%2F79e4a4cf98db8cf1e9e6cb4df415cbae +0 -0
  1440. data/test/dummy/tmp/cache/assets/E72/620/sprockets%2F9e672ffd3fa2edeb8dc98ddcd427dd09 +0 -0
  1441. data/test/dummy/tmp/cache/assets/E79/690/sprockets%2Fbabceaf46edfe2e70c21ef3a158bb2d0 +0 -0
  1442. data/test/dummy/tmp/cache/assets/E8A/670/sprockets%2Fdeb4bee79b6ff1fa244abfba59ce1e41 +0 -0
  1443. data/test/dummy/tmp/cache/assets/E90/270/sprockets%2Fc1cdf1f3fb4d844ec448dc6eeb5be8ca +0 -0
  1444. data/test/dummy/tmp/cache/assets/ED7/DC0/sprockets%2Faeeeccc9e87d37893ddecd4cfef2b68e +0 -0
  1445. metadata +2226 -13
@@ -0,0 +1,3308 @@
1
+ /*
2
+ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ /**
7
+ * @fileOverview The floating dialog plugin.
8
+ */
9
+
10
+ /**
11
+ * No resize for this dialog.
12
+ * @constant
13
+ */
14
+ CKEDITOR.DIALOG_RESIZE_NONE = 0;
15
+
16
+ /**
17
+ * Only allow horizontal resizing for this dialog, disable vertical resizing.
18
+ * @constant
19
+ */
20
+ CKEDITOR.DIALOG_RESIZE_WIDTH = 1;
21
+
22
+ /**
23
+ * Only allow vertical resizing for this dialog, disable horizontal resizing.
24
+ * @constant
25
+ */
26
+ CKEDITOR.DIALOG_RESIZE_HEIGHT = 2;
27
+
28
+ /*
29
+ * Allow the dialog to be resized in both directions.
30
+ * @constant
31
+ */
32
+ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
33
+
34
+ (function()
35
+ {
36
+ var cssLength = CKEDITOR.tools.cssLength;
37
+ function isTabVisible( tabId )
38
+ {
39
+ return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight;
40
+ }
41
+
42
+ function getPreviousVisibleTab()
43
+ {
44
+ var tabId = this._.currentTabId,
45
+ length = this._.tabIdList.length,
46
+ tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length;
47
+
48
+ for ( var i = tabIndex - 1 ; i > tabIndex - length ; i-- )
49
+ {
50
+ if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
51
+ return this._.tabIdList[ i % length ];
52
+ }
53
+
54
+ return null;
55
+ }
56
+
57
+ function getNextVisibleTab()
58
+ {
59
+ var tabId = this._.currentTabId,
60
+ length = this._.tabIdList.length,
61
+ tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId );
62
+
63
+ for ( var i = tabIndex + 1 ; i < tabIndex + length ; i++ )
64
+ {
65
+ if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
66
+ return this._.tabIdList[ i % length ];
67
+ }
68
+
69
+ return null;
70
+ }
71
+
72
+
73
+ function clearOrRecoverTextInputValue( container, isRecover )
74
+ {
75
+ var inputs = container.$.getElementsByTagName( 'input' );
76
+ for ( var i = 0, length = inputs.length; i < length ; i++ )
77
+ {
78
+ var item = new CKEDITOR.dom.element( inputs[ i ] );
79
+
80
+ if ( item.getAttribute( 'type' ).toLowerCase() == 'text' )
81
+ {
82
+ if ( isRecover )
83
+ {
84
+ item.setAttribute( 'value', item.getCustomData( 'fake_value' ) || '' );
85
+ item.removeCustomData( 'fake_value' );
86
+ }
87
+ else
88
+ {
89
+ item.setCustomData( 'fake_value', item.getAttribute( 'value' ) );
90
+ item.setAttribute( 'value', '' );
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ // Handle dialog element validation state UI changes.
97
+ function handleFieldValidated( isValid, msg )
98
+ {
99
+ var input = this.getInputElement();
100
+ if ( input )
101
+ {
102
+ isValid ? input.removeAttribute( 'aria-invalid' )
103
+ : input.setAttribute( 'aria-invalid', true );
104
+ }
105
+
106
+ if ( !isValid )
107
+ {
108
+ if ( this.select )
109
+ this.select();
110
+ else
111
+ this.focus();
112
+ }
113
+
114
+ msg && alert( msg );
115
+
116
+ this.fire( 'validated', { valid : isValid, msg : msg } );
117
+ }
118
+
119
+ function resetField()
120
+ {
121
+ var input = this.getInputElement();
122
+ input && input.removeAttribute( 'aria-invalid' );
123
+ }
124
+
125
+
126
+ /**
127
+ * This is the base class for runtime dialog objects. An instance of this
128
+ * class represents a single named dialog for a single editor instance.
129
+ * @param {Object} editor The editor which created the dialog.
130
+ * @param {String} dialogName The dialog's registered name.
131
+ * @constructor
132
+ * @example
133
+ * var dialogObj = new CKEDITOR.dialog( editor, 'smiley' );
134
+ */
135
+ CKEDITOR.dialog = function( editor, dialogName )
136
+ {
137
+ // Load the dialog definition.
138
+ var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
139
+ defaultDefinition = CKEDITOR.tools.clone( defaultDialogDefinition ),
140
+ buttonsOrder = editor.config.dialog_buttonsOrder || 'OS',
141
+ dir = editor.lang.dir;
142
+
143
+ if ( ( buttonsOrder == 'OS' && CKEDITOR.env.mac ) || // The buttons in MacOS Apps are in reverse order (#4750)
144
+ ( buttonsOrder == 'rtl' && dir == 'ltr' ) ||
145
+ ( buttonsOrder == 'ltr' && dir == 'rtl' ) )
146
+ defaultDefinition.buttons.reverse();
147
+
148
+
149
+ // Completes the definition with the default values.
150
+ definition = CKEDITOR.tools.extend( definition( editor ), defaultDefinition );
151
+
152
+ // Clone a functionally independent copy for this dialog.
153
+ definition = CKEDITOR.tools.clone( definition );
154
+
155
+ // Create a complex definition object, extending it with the API
156
+ // functions.
157
+ definition = new definitionObject( this, definition );
158
+
159
+ var doc = CKEDITOR.document;
160
+
161
+ var themeBuilt = editor.theme.buildDialog( editor );
162
+
163
+ // Initialize some basic parameters.
164
+ this._ =
165
+ {
166
+ editor : editor,
167
+ element : themeBuilt.element,
168
+ name : dialogName,
169
+ contentSize : { width : 0, height : 0 },
170
+ size : { width : 0, height : 0 },
171
+ contents : {},
172
+ buttons : {},
173
+ accessKeyMap : {},
174
+
175
+ // Initialize the tab and page map.
176
+ tabs : {},
177
+ tabIdList : [],
178
+ currentTabId : null,
179
+ currentTabIndex : null,
180
+ pageCount : 0,
181
+ lastTab : null,
182
+ tabBarMode : false,
183
+
184
+ // Initialize the tab order array for input widgets.
185
+ focusList : [],
186
+ currentFocusIndex : 0,
187
+ hasFocus : false
188
+ };
189
+
190
+ this.parts = themeBuilt.parts;
191
+
192
+ CKEDITOR.tools.setTimeout( function()
193
+ {
194
+ editor.fire( 'ariaWidget', this.parts.contents );
195
+ },
196
+ 0, this );
197
+
198
+ // Set the startup styles for the dialog, avoiding it enlarging the
199
+ // page size on the dialog creation.
200
+ var startStyles = {
201
+ position : CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed',
202
+ top : 0,
203
+ visibility : 'hidden'
204
+ };
205
+
206
+ startStyles[ dir == 'rtl' ? 'right' : 'left' ] = 0;
207
+ this.parts.dialog.setStyles( startStyles );
208
+
209
+
210
+ // Call the CKEDITOR.event constructor to initialize this instance.
211
+ CKEDITOR.event.call( this );
212
+
213
+ // Fire the "dialogDefinition" event, making it possible to customize
214
+ // the dialog definition.
215
+ this.definition = definition = CKEDITOR.fire( 'dialogDefinition',
216
+ {
217
+ name : dialogName,
218
+ definition : definition
219
+ }
220
+ , editor ).definition;
221
+
222
+ var tabsToRemove = {};
223
+ // Cache tabs that should be removed.
224
+ if ( !( 'removeDialogTabs' in editor._ ) && editor.config.removeDialogTabs )
225
+ {
226
+ var removeContents = editor.config.removeDialogTabs.split( ';' );
227
+
228
+ for ( i = 0; i < removeContents.length; i++ )
229
+ {
230
+ var parts = removeContents[ i ].split( ':' );
231
+ if ( parts.length == 2 )
232
+ {
233
+ var removeDialogName = parts[ 0 ];
234
+ if ( !tabsToRemove[ removeDialogName ] )
235
+ tabsToRemove[ removeDialogName ] = [];
236
+ tabsToRemove[ removeDialogName ].push( parts[ 1 ] );
237
+ }
238
+ }
239
+ editor._.removeDialogTabs = tabsToRemove;
240
+ }
241
+
242
+ // Remove tabs of this dialog.
243
+ if ( editor._.removeDialogTabs && ( tabsToRemove = editor._.removeDialogTabs[ dialogName ] ) )
244
+ {
245
+ for ( i = 0; i < tabsToRemove.length; i++ )
246
+ definition.removeContents( tabsToRemove[ i ] );
247
+ }
248
+
249
+ // Initialize load, show, hide, ok and cancel events.
250
+ if ( definition.onLoad )
251
+ this.on( 'load', definition.onLoad );
252
+
253
+ if ( definition.onShow )
254
+ this.on( 'show', definition.onShow );
255
+
256
+ if ( definition.onHide )
257
+ this.on( 'hide', definition.onHide );
258
+
259
+ if ( definition.onOk )
260
+ {
261
+ this.on( 'ok', function( evt )
262
+ {
263
+ // Dialog confirm might probably introduce content changes (#5415).
264
+ editor.fire( 'saveSnapshot' );
265
+ setTimeout( function () { editor.fire( 'saveSnapshot' ); }, 0 );
266
+ if ( definition.onOk.call( this, evt ) === false )
267
+ evt.data.hide = false;
268
+ });
269
+ }
270
+
271
+ if ( definition.onCancel )
272
+ {
273
+ this.on( 'cancel', function( evt )
274
+ {
275
+ if ( definition.onCancel.call( this, evt ) === false )
276
+ evt.data.hide = false;
277
+ });
278
+ }
279
+
280
+ var me = this;
281
+
282
+ // Iterates over all items inside all content in the dialog, calling a
283
+ // function for each of them.
284
+ var iterContents = function( func )
285
+ {
286
+ var contents = me._.contents,
287
+ stop = false;
288
+
289
+ for ( var i in contents )
290
+ {
291
+ for ( var j in contents[i] )
292
+ {
293
+ stop = func.call( this, contents[i][j] );
294
+ if ( stop )
295
+ return;
296
+ }
297
+ }
298
+ };
299
+
300
+ this.on( 'ok', function( evt )
301
+ {
302
+ iterContents( function( item )
303
+ {
304
+ if ( item.validate )
305
+ {
306
+ var retval = item.validate( this ),
307
+ invalid = typeof ( retval ) == 'string' || retval === false;
308
+
309
+ if ( invalid )
310
+ {
311
+ evt.data.hide = false;
312
+ evt.stop();
313
+ }
314
+
315
+ handleFieldValidated.call( item, !invalid, typeof retval == 'string' ? retval : undefined );
316
+ return invalid;
317
+ }
318
+ });
319
+ }, this, null, 0 );
320
+
321
+ this.on( 'cancel', function( evt )
322
+ {
323
+ iterContents( function( item )
324
+ {
325
+ if ( item.isChanged() )
326
+ {
327
+ if ( !confirm( editor.lang.common.confirmCancel ) )
328
+ evt.data.hide = false;
329
+ return true;
330
+ }
331
+ });
332
+ }, this, null, 0 );
333
+
334
+ this.parts.close.on( 'click', function( evt )
335
+ {
336
+ if ( this.fire( 'cancel', { hide : true } ).hide !== false )
337
+ this.hide();
338
+ evt.data.preventDefault();
339
+ }, this );
340
+
341
+ // Sort focus list according to tab order definitions.
342
+ function setupFocus()
343
+ {
344
+ var focusList = me._.focusList;
345
+ focusList.sort( function( a, b )
346
+ {
347
+ // Mimics browser tab order logics;
348
+ if ( a.tabIndex != b.tabIndex )
349
+ return b.tabIndex - a.tabIndex;
350
+ // Sort is not stable in some browsers,
351
+ // fall-back the comparator to 'focusIndex';
352
+ else
353
+ return a.focusIndex - b.focusIndex;
354
+ });
355
+
356
+ var size = focusList.length;
357
+ for ( var i = 0; i < size; i++ )
358
+ focusList[ i ].focusIndex = i;
359
+ }
360
+
361
+ function changeFocus( forward )
362
+ {
363
+ var focusList = me._.focusList,
364
+ offset = forward ? 1 : -1;
365
+ if ( focusList.length < 1 )
366
+ return;
367
+
368
+ var current = me._.currentFocusIndex;
369
+
370
+ // Trigger the 'blur' event of any input element before anything,
371
+ // since certain UI updates may depend on it.
372
+ try
373
+ {
374
+ focusList[ current ].getInputElement().$.blur();
375
+ }
376
+ catch( e ){}
377
+
378
+ var startIndex = ( current + offset + focusList.length ) % focusList.length,
379
+ currentIndex = startIndex;
380
+ while ( !focusList[ currentIndex ].isFocusable() )
381
+ {
382
+ currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length;
383
+ if ( currentIndex == startIndex )
384
+ break;
385
+ }
386
+ focusList[ currentIndex ].focus();
387
+
388
+ // Select whole field content.
389
+ if ( focusList[ currentIndex ].type == 'text' )
390
+ focusList[ currentIndex ].select();
391
+ }
392
+
393
+ this.changeFocus = changeFocus;
394
+
395
+ var processed;
396
+
397
+ function focusKeydownHandler( evt )
398
+ {
399
+ // If I'm not the top dialog, ignore.
400
+ if ( me != CKEDITOR.dialog._.currentTop )
401
+ return;
402
+
403
+ var keystroke = evt.data.getKeystroke(),
404
+ rtl = editor.lang.dir == 'rtl';
405
+
406
+ processed = 0;
407
+ if ( keystroke == 9 || keystroke == CKEDITOR.SHIFT + 9 )
408
+ {
409
+ var shiftPressed = ( keystroke == CKEDITOR.SHIFT + 9 );
410
+
411
+ // Handling Tab and Shift-Tab.
412
+ if ( me._.tabBarMode )
413
+ {
414
+ // Change tabs.
415
+ var nextId = shiftPressed ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me );
416
+ me.selectPage( nextId );
417
+ me._.tabs[ nextId ][ 0 ].focus();
418
+ }
419
+ else
420
+ {
421
+ // Change the focus of inputs.
422
+ changeFocus( !shiftPressed );
423
+ }
424
+
425
+ processed = 1;
426
+ }
427
+ else if ( keystroke == CKEDITOR.ALT + 121 && !me._.tabBarMode && me.getPageCount() > 1 )
428
+ {
429
+ // Alt-F10 puts focus into the current tab item in the tab bar.
430
+ me._.tabBarMode = true;
431
+ me._.tabs[ me._.currentTabId ][ 0 ].focus();
432
+ processed = 1;
433
+ }
434
+ else if ( ( keystroke == 37 || keystroke == 39 ) && me._.tabBarMode )
435
+ {
436
+ // Arrow keys - used for changing tabs.
437
+ nextId = ( keystroke == ( rtl ? 39 : 37 ) ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ) );
438
+ me.selectPage( nextId );
439
+ me._.tabs[ nextId ][ 0 ].focus();
440
+ processed = 1;
441
+ }
442
+ else if ( ( keystroke == 13 || keystroke == 32 ) && me._.tabBarMode )
443
+ {
444
+ this.selectPage( this._.currentTabId );
445
+ this._.tabBarMode = false;
446
+ this._.currentFocusIndex = -1;
447
+ changeFocus( true );
448
+ processed = 1;
449
+ }
450
+
451
+ if ( processed )
452
+ {
453
+ evt.stop();
454
+ evt.data.preventDefault();
455
+ }
456
+ }
457
+
458
+ function focusKeyPressHandler( evt )
459
+ {
460
+ processed && evt.data.preventDefault();
461
+ }
462
+
463
+ var dialogElement = this._.element;
464
+ // Add the dialog keyboard handlers.
465
+ this.on( 'show', function()
466
+ {
467
+ dialogElement.on( 'keydown', focusKeydownHandler, this, null, 0 );
468
+ // Some browsers instead, don't cancel key events in the keydown, but in the
469
+ // keypress. So we must do a longer trip in those cases. (#4531)
470
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
471
+ dialogElement.on( 'keypress', focusKeyPressHandler, this );
472
+
473
+ } );
474
+ this.on( 'hide', function()
475
+ {
476
+ dialogElement.removeListener( 'keydown', focusKeydownHandler );
477
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
478
+ dialogElement.removeListener( 'keypress', focusKeyPressHandler );
479
+
480
+ // Reset fields state when closing dialog.
481
+ iterContents( function( item ) { resetField.apply( item ); } );
482
+ } );
483
+ this.on( 'iframeAdded', function( evt )
484
+ {
485
+ var doc = new CKEDITOR.dom.document( evt.data.iframe.$.contentWindow.document );
486
+ doc.on( 'keydown', focusKeydownHandler, this, null, 0 );
487
+ } );
488
+
489
+ // Auto-focus logic in dialog.
490
+ this.on( 'show', function()
491
+ {
492
+ // Setup tabIndex on showing the dialog instead of on loading
493
+ // to allow dynamic tab order happen in dialog definition.
494
+ setupFocus();
495
+
496
+ if ( editor.config.dialog_startupFocusTab
497
+ && me._.pageCount > 1 )
498
+ {
499
+ me._.tabBarMode = true;
500
+ me._.tabs[ me._.currentTabId ][ 0 ].focus();
501
+ }
502
+ else if ( !this._.hasFocus )
503
+ {
504
+ this._.currentFocusIndex = -1;
505
+
506
+ // Decide where to put the initial focus.
507
+ if ( definition.onFocus )
508
+ {
509
+ var initialFocus = definition.onFocus.call( this );
510
+ // Focus the field that the user specified.
511
+ initialFocus && initialFocus.focus();
512
+ }
513
+ // Focus the first field in layout order.
514
+ else
515
+ changeFocus( true );
516
+
517
+ /*
518
+ * IE BUG: If the initial focus went into a non-text element (e.g. button),
519
+ * then IE would still leave the caret inside the editing area.
520
+ */
521
+ if ( this._.editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
522
+ {
523
+ var $selection = editor.document.$.selection,
524
+ $range = $selection.createRange();
525
+
526
+ if ( $range )
527
+ {
528
+ if ( $range.parentElement && $range.parentElement().ownerDocument == editor.document.$
529
+ || $range.item && $range.item( 0 ).ownerDocument == editor.document.$ )
530
+ {
531
+ var $myRange = document.body.createTextRange();
532
+ $myRange.moveToElementText( this.getElement().getFirst().$ );
533
+ $myRange.collapse( true );
534
+ $myRange.select();
535
+ }
536
+ }
537
+ }
538
+ }
539
+ }, this, null, 0xffffffff );
540
+
541
+ // IE6 BUG: Text fields and text areas are only half-rendered the first time the dialog appears in IE6 (#2661).
542
+ // This is still needed after [2708] and [2709] because text fields in hidden TR tags are still broken.
543
+ if ( CKEDITOR.env.ie6Compat )
544
+ {
545
+ this.on( 'load', function( evt )
546
+ {
547
+ var outer = this.getElement(),
548
+ inner = outer.getFirst();
549
+ inner.remove();
550
+ inner.appendTo( outer );
551
+ }, this );
552
+ }
553
+
554
+ initDragAndDrop( this );
555
+ initResizeHandles( this );
556
+
557
+ // Insert the title.
558
+ ( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title );
559
+
560
+ // Insert the tabs and contents.
561
+ for ( var i = 0 ; i < definition.contents.length ; i++ )
562
+ {
563
+ var page = definition.contents[i];
564
+ page && this.addPage( page );
565
+ }
566
+
567
+ this.parts[ 'tabs' ].on( 'click', function( evt )
568
+ {
569
+ var target = evt.data.getTarget();
570
+ // If we aren't inside a tab, bail out.
571
+ if ( target.hasClass( 'cke_dialog_tab' ) )
572
+ {
573
+ // Get the ID of the tab, without the 'cke_' prefix and the unique number suffix.
574
+ var id = target.$.id;
575
+ this.selectPage( id.substring( 4, id.lastIndexOf( '_' ) ) );
576
+
577
+ if ( this._.tabBarMode )
578
+ {
579
+ this._.tabBarMode = false;
580
+ this._.currentFocusIndex = -1;
581
+ changeFocus( true );
582
+ }
583
+ evt.data.preventDefault();
584
+ }
585
+ }, this );
586
+
587
+ // Insert buttons.
588
+ var buttonsHtml = [],
589
+ buttons = CKEDITOR.dialog._.uiElementBuilders.hbox.build( this,
590
+ {
591
+ type : 'hbox',
592
+ className : 'cke_dialog_footer_buttons',
593
+ widths : [],
594
+ children : definition.buttons
595
+ }, buttonsHtml ).getChild();
596
+ this.parts.footer.setHtml( buttonsHtml.join( '' ) );
597
+
598
+ for ( i = 0 ; i < buttons.length ; i++ )
599
+ this._.buttons[ buttons[i].id ] = buttons[i];
600
+ };
601
+
602
+ // Focusable interface. Use it via dialog.addFocusable.
603
+ function Focusable( dialog, element, index )
604
+ {
605
+ this.element = element;
606
+ this.focusIndex = index;
607
+ // TODO: support tabIndex for focusables.
608
+ this.tabIndex = 0;
609
+ this.isFocusable = function()
610
+ {
611
+ return !element.getAttribute( 'disabled' ) && element.isVisible();
612
+ };
613
+ this.focus = function()
614
+ {
615
+ dialog._.currentFocusIndex = this.focusIndex;
616
+ this.element.focus();
617
+ };
618
+ // Bind events
619
+ element.on( 'keydown', function( e )
620
+ {
621
+ if ( e.data.getKeystroke() in { 32:1, 13:1 } )
622
+ this.fire( 'click' );
623
+ } );
624
+ element.on( 'focus', function()
625
+ {
626
+ this.fire( 'mouseover' );
627
+ } );
628
+ element.on( 'blur', function()
629
+ {
630
+ this.fire( 'mouseout' );
631
+ } );
632
+ }
633
+
634
+ CKEDITOR.dialog.prototype =
635
+ {
636
+ destroy : function()
637
+ {
638
+ this.hide();
639
+ this._.element.remove();
640
+ },
641
+
642
+ /**
643
+ * Resizes the dialog.
644
+ * @param {Number} width The width of the dialog in pixels.
645
+ * @param {Number} height The height of the dialog in pixels.
646
+ * @function
647
+ * @example
648
+ * dialogObj.resize( 800, 640 );
649
+ */
650
+ resize : (function()
651
+ {
652
+ return function( width, height )
653
+ {
654
+ if ( this._.contentSize && this._.contentSize.width == width && this._.contentSize.height == height )
655
+ return;
656
+
657
+ CKEDITOR.dialog.fire( 'resize',
658
+ {
659
+ dialog : this,
660
+ skin : this._.editor.skinName,
661
+ width : width,
662
+ height : height
663
+ }, this._.editor );
664
+
665
+ this.fire( 'resize',
666
+ {
667
+ skin : this._.editor.skinName,
668
+ width : width,
669
+ height : height
670
+ }, this._.editor );
671
+
672
+ // Update dialog position when dimension get changed in RTL.
673
+ if ( this._.editor.lang.dir == 'rtl' && this._.position )
674
+ this._.position.x = CKEDITOR.document.getWindow().getViewPaneSize().width -
675
+ this._.contentSize.width - parseInt( this._.element.getFirst().getStyle( 'right' ), 10 );
676
+
677
+ this._.contentSize = { width : width, height : height };
678
+ };
679
+ })(),
680
+
681
+ /**
682
+ * Gets the current size of the dialog in pixels.
683
+ * @returns {Object} An object with "width" and "height" properties.
684
+ * @example
685
+ * var width = dialogObj.getSize().width;
686
+ */
687
+ getSize : function()
688
+ {
689
+ var element = this._.element.getFirst();
690
+ return { width : element.$.offsetWidth || 0, height : element.$.offsetHeight || 0};
691
+ },
692
+
693
+ /**
694
+ * Moves the dialog to an (x, y) coordinate relative to the window.
695
+ * @function
696
+ * @param {Number} x The target x-coordinate.
697
+ * @param {Number} y The target y-coordinate.
698
+ * @param {Boolean} save Flag indicate whether the dialog position should be remembered on next open up.
699
+ * @example
700
+ * dialogObj.move( 10, 40 );
701
+ */
702
+ move : (function()
703
+ {
704
+ var isFixed;
705
+ return function( x, y, save )
706
+ {
707
+ // The dialog may be fixed positioned or absolute positioned. Ask the
708
+ // browser what is the current situation first.
709
+ var element = this._.element.getFirst(),
710
+ rtl = this._.editor.lang.dir == 'rtl';
711
+
712
+ if ( isFixed === undefined )
713
+ isFixed = element.getComputedStyle( 'position' ) == 'fixed';
714
+
715
+ if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )
716
+ return;
717
+
718
+ // Save the current position.
719
+ this._.position = { x : x, y : y };
720
+
721
+ // If not fixed positioned, add scroll position to the coordinates.
722
+ if ( !isFixed )
723
+ {
724
+ var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition();
725
+ x += scrollPosition.x;
726
+ y += scrollPosition.y;
727
+ }
728
+
729
+ // Translate coordinate for RTL.
730
+ if ( rtl )
731
+ {
732
+ var dialogSize = this.getSize(),
733
+ viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize();
734
+ x = viewPaneSize.width - dialogSize.width - x;
735
+ }
736
+
737
+ var styles = { 'top' : ( y > 0 ? y : 0 ) + 'px' };
738
+ styles[ rtl ? 'right' : 'left' ] = ( x > 0 ? x : 0 ) + 'px';
739
+
740
+ element.setStyles( styles );
741
+
742
+ save && ( this._.moved = 1 );
743
+ };
744
+ })(),
745
+
746
+ /**
747
+ * Gets the dialog's position in the window.
748
+ * @returns {Object} An object with "x" and "y" properties.
749
+ * @example
750
+ * var dialogX = dialogObj.getPosition().x;
751
+ */
752
+ getPosition : function(){ return CKEDITOR.tools.extend( {}, this._.position ); },
753
+
754
+ /**
755
+ * Shows the dialog box.
756
+ * @example
757
+ * dialogObj.show();
758
+ */
759
+ show : function()
760
+ {
761
+ // Insert the dialog's element to the root document.
762
+ var element = this._.element;
763
+ var definition = this.definition;
764
+ if ( !( element.getParent() && element.getParent().equals( CKEDITOR.document.getBody() ) ) )
765
+ element.appendTo( CKEDITOR.document.getBody() );
766
+ else
767
+ element.setStyle( 'display', 'block' );
768
+
769
+ // FIREFOX BUG: Fix vanishing caret for Firefox 2 or Gecko 1.8.
770
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
771
+ {
772
+ var dialogElement = this.parts.dialog;
773
+ dialogElement.setStyle( 'position', 'absolute' );
774
+ setTimeout( function()
775
+ {
776
+ dialogElement.setStyle( 'position', 'fixed' );
777
+ }, 0 );
778
+ }
779
+
780
+
781
+ // First, set the dialog to an appropriate size.
782
+ this.resize( this._.contentSize && this._.contentSize.width || definition.width || definition.minWidth,
783
+ this._.contentSize && this._.contentSize.height || definition.height || definition.minHeight );
784
+
785
+ // Reset all inputs back to their default value.
786
+ this.reset();
787
+
788
+ // Select the first tab by default.
789
+ this.selectPage( this.definition.contents[0].id );
790
+
791
+ // Set z-index.
792
+ if ( CKEDITOR.dialog._.currentZIndex === null )
793
+ CKEDITOR.dialog._.currentZIndex = this._.editor.config.baseFloatZIndex;
794
+ this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 );
795
+
796
+ // Maintain the dialog ordering and dialog cover.
797
+ // Also register key handlers if first dialog.
798
+ if ( CKEDITOR.dialog._.currentTop === null )
799
+ {
800
+ CKEDITOR.dialog._.currentTop = this;
801
+ this._.parentDialog = null;
802
+ showCover( this._.editor );
803
+
804
+ element.on( 'keydown', accessKeyDownHandler );
805
+ element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
806
+
807
+ // Prevent some keys from bubbling up. (#4269)
808
+ for ( var event in { keyup :1, keydown :1, keypress :1 } )
809
+ element.on( event, preventKeyBubbling );
810
+ }
811
+ else
812
+ {
813
+ this._.parentDialog = CKEDITOR.dialog._.currentTop;
814
+ var parentElement = this._.parentDialog.getElement().getFirst();
815
+ parentElement.$.style.zIndex -= Math.floor( this._.editor.config.baseFloatZIndex / 2 );
816
+ CKEDITOR.dialog._.currentTop = this;
817
+ }
818
+
819
+ // Register the Esc hotkeys.
820
+ registerAccessKey( this, this, '\x1b', null, function()
821
+ {
822
+ this.getButton( 'cancel' ) && this.getButton( 'cancel' ).click();
823
+ } );
824
+
825
+ // Reset the hasFocus state.
826
+ this._.hasFocus = false;
827
+
828
+ CKEDITOR.tools.setTimeout( function()
829
+ {
830
+ this.layout();
831
+ this.parts.dialog.setStyle( 'visibility', '' );
832
+
833
+ // Execute onLoad for the first show.
834
+ this.fireOnce( 'load', {} );
835
+ CKEDITOR.ui.fire( 'ready', this );
836
+
837
+ this.fire( 'show', {} );
838
+ this._.editor.fire( 'dialogShow', this );
839
+
840
+ // Save the initial values of the dialog.
841
+ this.foreach( function( contentObj ) { contentObj.setInitValue && contentObj.setInitValue(); } );
842
+
843
+ },
844
+ 100, this );
845
+ },
846
+
847
+ /**
848
+ * Rearrange the dialog to its previous position or the middle of the window.
849
+ * @since 3.5
850
+ */
851
+ layout : function()
852
+ {
853
+ var viewSize = CKEDITOR.document.getWindow().getViewPaneSize(),
854
+ dialogSize = this.getSize();
855
+
856
+ this.move( this._.moved ? this._.position.x : ( viewSize.width - dialogSize.width ) / 2,
857
+ this._.moved ? this._.position.y : ( viewSize.height - dialogSize.height ) / 2 );
858
+ },
859
+
860
+ /**
861
+ * Executes a function for each UI element.
862
+ * @param {Function} fn Function to execute for each UI element.
863
+ * @returns {CKEDITOR.dialog} The current dialog object.
864
+ */
865
+ foreach : function( fn )
866
+ {
867
+ for ( var i in this._.contents )
868
+ {
869
+ for ( var j in this._.contents[i] )
870
+ fn.call( this, this._.contents[i][j] );
871
+ }
872
+ return this;
873
+ },
874
+
875
+ /**
876
+ * Resets all input values in the dialog.
877
+ * @example
878
+ * dialogObj.reset();
879
+ * @returns {CKEDITOR.dialog} The current dialog object.
880
+ */
881
+ reset : (function()
882
+ {
883
+ var fn = function( widget ){ if ( widget.reset ) widget.reset( 1 ); };
884
+ return function(){ this.foreach( fn ); return this; };
885
+ })(),
886
+
887
+
888
+ /**
889
+ * Calls the {@link CKEDITOR.dialog.definition.uiElement#setup} method of each of the UI elements, with the arguments passed through it.
890
+ * It is usually being called when the dialog is opened, to put the initial value inside the field.
891
+ * @example
892
+ * dialogObj.setupContent();
893
+ * @example
894
+ * var timestamp = ( new Date() ).valueOf();
895
+ * dialogObj.setupContent( timestamp );
896
+ */
897
+ setupContent : function()
898
+ {
899
+ var args = arguments;
900
+ this.foreach( function( widget )
901
+ {
902
+ if ( widget.setup )
903
+ widget.setup.apply( widget, args );
904
+ });
905
+ },
906
+
907
+ /**
908
+ * Calls the {@link CKEDITOR.dialog.definition.uiElement#commit} method of each of the UI elements, with the arguments passed through it.
909
+ * It is usually being called when the user confirms the dialog, to process the values.
910
+ * @example
911
+ * dialogObj.commitContent();
912
+ * @example
913
+ * var timestamp = ( new Date() ).valueOf();
914
+ * dialogObj.commitContent( timestamp );
915
+ */
916
+ commitContent : function()
917
+ {
918
+ var args = arguments;
919
+ this.foreach( function( widget )
920
+ {
921
+ // Make sure IE triggers "change" event on last focused input before closing the dialog. (#7915)
922
+ if ( CKEDITOR.env.ie && this._.currentFocusIndex == widget.focusIndex )
923
+ widget.getInputElement().$.blur();
924
+
925
+ if ( widget.commit )
926
+ widget.commit.apply( widget, args );
927
+ });
928
+ },
929
+
930
+ /**
931
+ * Hides the dialog box.
932
+ * @example
933
+ * dialogObj.hide();
934
+ */
935
+ hide : function()
936
+ {
937
+ if ( !this.parts.dialog.isVisible() )
938
+ return;
939
+
940
+ this.fire( 'hide', {} );
941
+ this._.editor.fire( 'dialogHide', this );
942
+ var element = this._.element;
943
+ element.setStyle( 'display', 'none' );
944
+ this.parts.dialog.setStyle( 'visibility', 'hidden' );
945
+ // Unregister all access keys associated with this dialog.
946
+ unregisterAccessKey( this );
947
+
948
+ // Close any child(top) dialogs first.
949
+ while( CKEDITOR.dialog._.currentTop != this )
950
+ CKEDITOR.dialog._.currentTop.hide();
951
+
952
+ // Maintain dialog ordering and remove cover if needed.
953
+ if ( !this._.parentDialog )
954
+ hideCover();
955
+ else
956
+ {
957
+ var parentElement = this._.parentDialog.getElement().getFirst();
958
+ parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) );
959
+ }
960
+ CKEDITOR.dialog._.currentTop = this._.parentDialog;
961
+
962
+ // Deduct or clear the z-index.
963
+ if ( !this._.parentDialog )
964
+ {
965
+ CKEDITOR.dialog._.currentZIndex = null;
966
+
967
+ // Remove access key handlers.
968
+ element.removeListener( 'keydown', accessKeyDownHandler );
969
+ element.removeListener( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
970
+
971
+ // Remove bubbling-prevention handler. (#4269)
972
+ for ( var event in { keyup :1, keydown :1, keypress :1 } )
973
+ element.removeListener( event, preventKeyBubbling );
974
+
975
+ var editor = this._.editor;
976
+ editor.focus();
977
+
978
+ if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
979
+ {
980
+ var selection = editor.getSelection();
981
+ selection && selection.unlock( true );
982
+ }
983
+ }
984
+ else
985
+ CKEDITOR.dialog._.currentZIndex -= 10;
986
+
987
+ delete this._.parentDialog;
988
+ // Reset the initial values of the dialog.
989
+ this.foreach( function( contentObj ) { contentObj.resetInitValue && contentObj.resetInitValue(); } );
990
+ },
991
+
992
+ /**
993
+ * Adds a tabbed page into the dialog.
994
+ * @param {Object} contents Content definition.
995
+ * @example
996
+ */
997
+ addPage : function( contents )
998
+ {
999
+ var pageHtml = [],
1000
+ titleHtml = contents.label ? ' title="' + CKEDITOR.tools.htmlEncode( contents.label ) + '"' : '',
1001
+ elements = contents.elements,
1002
+ vbox = CKEDITOR.dialog._.uiElementBuilders.vbox.build( this,
1003
+ {
1004
+ type : 'vbox',
1005
+ className : 'cke_dialog_page_contents',
1006
+ children : contents.elements,
1007
+ expand : !!contents.expand,
1008
+ padding : contents.padding,
1009
+ style : contents.style || 'width: 100%;height:100%'
1010
+ }, pageHtml );
1011
+
1012
+ // Create the HTML for the tab and the content block.
1013
+ var page = CKEDITOR.dom.element.createFromHtml( pageHtml.join( '' ) );
1014
+ page.setAttribute( 'role', 'tabpanel' );
1015
+
1016
+ var env = CKEDITOR.env;
1017
+ var tabId = 'cke_' + contents.id + '_' + CKEDITOR.tools.getNextNumber(),
1018
+ tab = CKEDITOR.dom.element.createFromHtml( [
1019
+ '<a class="cke_dialog_tab"',
1020
+ ( this._.pageCount > 0 ? ' cke_last' : 'cke_first' ),
1021
+ titleHtml,
1022
+ ( !!contents.hidden ? ' style="display:none"' : '' ),
1023
+ ' id="', tabId, '"',
1024
+ env.gecko && env.version >= 10900 && !env.hc ? '' : ' href="javascript:void(0)"',
1025
+ ' tabIndex="-1"',
1026
+ ' hidefocus="true"',
1027
+ ' role="tab">',
1028
+ contents.label,
1029
+ '</a>'
1030
+ ].join( '' ) );
1031
+
1032
+ page.setAttribute( 'aria-labelledby', tabId );
1033
+
1034
+ // Take records for the tabs and elements created.
1035
+ this._.tabs[ contents.id ] = [ tab, page ];
1036
+ this._.tabIdList.push( contents.id );
1037
+ !contents.hidden && this._.pageCount++;
1038
+ this._.lastTab = tab;
1039
+ this.updateStyle();
1040
+
1041
+ var contentMap = this._.contents[ contents.id ] = {},
1042
+ cursor,
1043
+ children = vbox.getChild();
1044
+
1045
+ while ( ( cursor = children.shift() ) )
1046
+ {
1047
+ contentMap[ cursor.id ] = cursor;
1048
+ if ( typeof( cursor.getChild ) == 'function' )
1049
+ children.push.apply( children, cursor.getChild() );
1050
+ }
1051
+
1052
+ // Attach the DOM nodes.
1053
+
1054
+ page.setAttribute( 'name', contents.id );
1055
+ page.appendTo( this.parts.contents );
1056
+
1057
+ tab.unselectable();
1058
+ this.parts.tabs.append( tab );
1059
+
1060
+ // Add access key handlers if access key is defined.
1061
+ if ( contents.accessKey )
1062
+ {
1063
+ registerAccessKey( this, this, 'CTRL+' + contents.accessKey,
1064
+ tabAccessKeyDown, tabAccessKeyUp );
1065
+ this._.accessKeyMap[ 'CTRL+' + contents.accessKey ] = contents.id;
1066
+ }
1067
+ },
1068
+
1069
+ /**
1070
+ * Activates a tab page in the dialog by its id.
1071
+ * @param {String} id The id of the dialog tab to be activated.
1072
+ * @example
1073
+ * dialogObj.selectPage( 'tab_1' );
1074
+ */
1075
+ selectPage : function( id )
1076
+ {
1077
+ if ( this._.currentTabId == id )
1078
+ return;
1079
+
1080
+ // Returning true means that the event has been canceled
1081
+ if ( this.fire( 'selectPage', { page : id, currentPage : this._.currentTabId } ) === true )
1082
+ return;
1083
+
1084
+ // Hide the non-selected tabs and pages.
1085
+ for ( var i in this._.tabs )
1086
+ {
1087
+ var tab = this._.tabs[i][0],
1088
+ page = this._.tabs[i][1];
1089
+ if ( i != id )
1090
+ {
1091
+ tab.removeClass( 'cke_dialog_tab_selected' );
1092
+ page.hide();
1093
+ }
1094
+ page.setAttribute( 'aria-hidden', i != id );
1095
+ }
1096
+
1097
+ var selected = this._.tabs[ id ];
1098
+ selected[ 0 ].addClass( 'cke_dialog_tab_selected' );
1099
+
1100
+ // [IE] an invisible input[type='text'] will enlarge it's width
1101
+ // if it's value is long when it shows, so we clear it's value
1102
+ // before it shows and then recover it (#5649)
1103
+ if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat )
1104
+ {
1105
+ clearOrRecoverTextInputValue( selected[ 1 ] );
1106
+ selected[ 1 ].show();
1107
+ setTimeout( function()
1108
+ {
1109
+ clearOrRecoverTextInputValue( selected[ 1 ], 1 );
1110
+ }, 0 );
1111
+ }
1112
+ else
1113
+ selected[ 1 ].show();
1114
+
1115
+ this._.currentTabId = id;
1116
+ this._.currentTabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, id );
1117
+ },
1118
+
1119
+ // Dialog state-specific style updates.
1120
+ updateStyle : function()
1121
+ {
1122
+ // If only a single page shown, a different style is used in the central pane.
1123
+ this.parts.dialog[ ( this._.pageCount === 1 ? 'add' : 'remove' ) + 'Class' ]( 'cke_single_page' );
1124
+ },
1125
+
1126
+ /**
1127
+ * Hides a page's tab away from the dialog.
1128
+ * @param {String} id The page's Id.
1129
+ * @example
1130
+ * dialog.hidePage( 'tab_3' );
1131
+ */
1132
+ hidePage : function( id )
1133
+ {
1134
+ var tab = this._.tabs[id] && this._.tabs[id][0];
1135
+ if ( !tab || this._.pageCount == 1 || !tab.isVisible() )
1136
+ return;
1137
+ // Switch to other tab first when we're hiding the active tab.
1138
+ else if ( id == this._.currentTabId )
1139
+ this.selectPage( getPreviousVisibleTab.call( this ) );
1140
+
1141
+ tab.hide();
1142
+ this._.pageCount--;
1143
+ this.updateStyle();
1144
+ },
1145
+
1146
+ /**
1147
+ * Unhides a page's tab.
1148
+ * @param {String} id The page's Id.
1149
+ * @example
1150
+ * dialog.showPage( 'tab_2' );
1151
+ */
1152
+ showPage : function( id )
1153
+ {
1154
+ var tab = this._.tabs[id] && this._.tabs[id][0];
1155
+ if ( !tab )
1156
+ return;
1157
+ tab.show();
1158
+ this._.pageCount++;
1159
+ this.updateStyle();
1160
+ },
1161
+
1162
+ /**
1163
+ * Gets the root DOM element of the dialog.
1164
+ * @returns {CKEDITOR.dom.element} The &lt;span&gt; element containing this dialog.
1165
+ * @example
1166
+ * var dialogElement = dialogObj.getElement().getFirst();
1167
+ * dialogElement.setStyle( 'padding', '5px' );
1168
+ */
1169
+ getElement : function()
1170
+ {
1171
+ return this._.element;
1172
+ },
1173
+
1174
+ /**
1175
+ * Gets the name of the dialog.
1176
+ * @returns {String} The name of this dialog.
1177
+ * @example
1178
+ * var dialogName = dialogObj.getName();
1179
+ */
1180
+ getName : function()
1181
+ {
1182
+ return this._.name;
1183
+ },
1184
+
1185
+ /**
1186
+ * Gets a dialog UI element object from a dialog page.
1187
+ * @param {String} pageId id of dialog page.
1188
+ * @param {String} elementId id of UI element.
1189
+ * @example
1190
+ * dialogObj.getContentElement( 'tabId', 'elementId' ).setValue( 'Example' );
1191
+ * @returns {CKEDITOR.ui.dialog.uiElement} The dialog UI element.
1192
+ */
1193
+ getContentElement : function( pageId, elementId )
1194
+ {
1195
+ var page = this._.contents[ pageId ];
1196
+ return page && page[ elementId ];
1197
+ },
1198
+
1199
+ /**
1200
+ * Gets the value of a dialog UI element.
1201
+ * @param {String} pageId id of dialog page.
1202
+ * @param {String} elementId id of UI element.
1203
+ * @example
1204
+ * alert( dialogObj.getValueOf( 'tabId', 'elementId' ) );
1205
+ * @returns {Object} The value of the UI element.
1206
+ */
1207
+ getValueOf : function( pageId, elementId )
1208
+ {
1209
+ return this.getContentElement( pageId, elementId ).getValue();
1210
+ },
1211
+
1212
+ /**
1213
+ * Sets the value of a dialog UI element.
1214
+ * @param {String} pageId id of the dialog page.
1215
+ * @param {String} elementId id of the UI element.
1216
+ * @param {Object} value The new value of the UI element.
1217
+ * @example
1218
+ * dialogObj.setValueOf( 'tabId', 'elementId', 'Example' );
1219
+ */
1220
+ setValueOf : function( pageId, elementId, value )
1221
+ {
1222
+ return this.getContentElement( pageId, elementId ).setValue( value );
1223
+ },
1224
+
1225
+ /**
1226
+ * Gets the UI element of a button in the dialog's button row.
1227
+ * @param {String} id The id of the button.
1228
+ * @example
1229
+ * @returns {CKEDITOR.ui.dialog.button} The button object.
1230
+ */
1231
+ getButton : function( id )
1232
+ {
1233
+ return this._.buttons[ id ];
1234
+ },
1235
+
1236
+ /**
1237
+ * Simulates a click to a dialog button in the dialog's button row.
1238
+ * @param {String} id The id of the button.
1239
+ * @example
1240
+ * @returns The return value of the dialog's "click" event.
1241
+ */
1242
+ click : function( id )
1243
+ {
1244
+ return this._.buttons[ id ].click();
1245
+ },
1246
+
1247
+ /**
1248
+ * Disables a dialog button.
1249
+ * @param {String} id The id of the button.
1250
+ * @example
1251
+ */
1252
+ disableButton : function( id )
1253
+ {
1254
+ return this._.buttons[ id ].disable();
1255
+ },
1256
+
1257
+ /**
1258
+ * Enables a dialog button.
1259
+ * @param {String} id The id of the button.
1260
+ * @example
1261
+ */
1262
+ enableButton : function( id )
1263
+ {
1264
+ return this._.buttons[ id ].enable();
1265
+ },
1266
+
1267
+ /**
1268
+ * Gets the number of pages in the dialog.
1269
+ * @returns {Number} Page count.
1270
+ */
1271
+ getPageCount : function()
1272
+ {
1273
+ return this._.pageCount;
1274
+ },
1275
+
1276
+ /**
1277
+ * Gets the editor instance which opened this dialog.
1278
+ * @returns {CKEDITOR.editor} Parent editor instances.
1279
+ */
1280
+ getParentEditor : function()
1281
+ {
1282
+ return this._.editor;
1283
+ },
1284
+
1285
+ /**
1286
+ * Gets the element that was selected when opening the dialog, if any.
1287
+ * @returns {CKEDITOR.dom.element} The element that was selected, or null.
1288
+ */
1289
+ getSelectedElement : function()
1290
+ {
1291
+ return this.getParentEditor().getSelection().getSelectedElement();
1292
+ },
1293
+
1294
+ /**
1295
+ * Adds element to dialog's focusable list.
1296
+ *
1297
+ * @param {CKEDITOR.dom.element} element
1298
+ * @param {Number} [index]
1299
+ */
1300
+ addFocusable: function( element, index ) {
1301
+ if ( typeof index == 'undefined' )
1302
+ {
1303
+ index = this._.focusList.length;
1304
+ this._.focusList.push( new Focusable( this, element, index ) );
1305
+ }
1306
+ else
1307
+ {
1308
+ this._.focusList.splice( index, 0, new Focusable( this, element, index ) );
1309
+ for ( var i = index + 1 ; i < this._.focusList.length ; i++ )
1310
+ this._.focusList[ i ].focusIndex++;
1311
+ }
1312
+ }
1313
+ };
1314
+
1315
+ CKEDITOR.tools.extend( CKEDITOR.dialog,
1316
+ /**
1317
+ * @lends CKEDITOR.dialog
1318
+ */
1319
+ {
1320
+ /**
1321
+ * Registers a dialog.
1322
+ * @param {String} name The dialog's name.
1323
+ * @param {Function|String} dialogDefinition
1324
+ * A function returning the dialog's definition, or the URL to the .js file holding the function.
1325
+ * The function should accept an argument "editor" which is the current editor instance, and
1326
+ * return an object conforming to {@link CKEDITOR.dialog.definition}.
1327
+ * @see CKEDITOR.dialog.definition
1328
+ * @example
1329
+ * // Full sample plugin, which does not only register a dialog window but also adds an item to the context menu.
1330
+ * // To open the dialog window, choose "Open dialog" in the context menu.
1331
+ * CKEDITOR.plugins.add( 'myplugin',
1332
+ * {
1333
+ * init: function( editor )
1334
+ * {
1335
+ * editor.addCommand( 'mydialog',new CKEDITOR.dialogCommand( 'mydialog' ) );
1336
+ *
1337
+ * if ( editor.contextMenu )
1338
+ * {
1339
+ * editor.addMenuGroup( 'mygroup', 10 );
1340
+ * editor.addMenuItem( 'My Dialog',
1341
+ * {
1342
+ * label : 'Open dialog',
1343
+ * command : 'mydialog',
1344
+ * group : 'mygroup'
1345
+ * });
1346
+ * editor.contextMenu.addListener( function( element )
1347
+ * {
1348
+ * return { 'My Dialog' : CKEDITOR.TRISTATE_OFF };
1349
+ * });
1350
+ * }
1351
+ *
1352
+ * <strong>CKEDITOR.dialog.add</strong>( 'mydialog', function( api )
1353
+ * {
1354
+ * // CKEDITOR.dialog.definition
1355
+ * var <strong>dialogDefinition</strong> =
1356
+ * {
1357
+ * title : 'Sample dialog',
1358
+ * minWidth : 390,
1359
+ * minHeight : 130,
1360
+ * contents : [
1361
+ * {
1362
+ * id : 'tab1',
1363
+ * label : 'Label',
1364
+ * title : 'Title',
1365
+ * expand : true,
1366
+ * padding : 0,
1367
+ * elements :
1368
+ * [
1369
+ * {
1370
+ * type : 'html',
1371
+ * html : '&lt;p&gt;This is some sample HTML content.&lt;/p&gt;'
1372
+ * },
1373
+ * {
1374
+ * type : 'textarea',
1375
+ * id : 'textareaId',
1376
+ * rows : 4,
1377
+ * cols : 40
1378
+ * }
1379
+ * ]
1380
+ * }
1381
+ * ],
1382
+ * buttons : [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ],
1383
+ * onOk : function() {
1384
+ * // "this" is now a CKEDITOR.dialog object.
1385
+ * // Accessing dialog elements:
1386
+ * var textareaObj = this.<strong>getContentElement</strong>( 'tab1', 'textareaId' );
1387
+ * alert( "You have entered: " + textareaObj.getValue() );
1388
+ * }
1389
+ * };
1390
+ *
1391
+ * return dialogDefinition;
1392
+ * } );
1393
+ * }
1394
+ * } );
1395
+ *
1396
+ * CKEDITOR.replace( 'editor1', { extraPlugins : 'myplugin' } );
1397
+ */
1398
+ add : function( name, dialogDefinition )
1399
+ {
1400
+ // Avoid path registration from multiple instances override definition.
1401
+ if ( !this._.dialogDefinitions[name]
1402
+ || typeof dialogDefinition == 'function' )
1403
+ this._.dialogDefinitions[name] = dialogDefinition;
1404
+ },
1405
+
1406
+ exists : function( name )
1407
+ {
1408
+ return !!this._.dialogDefinitions[ name ];
1409
+ },
1410
+
1411
+ getCurrent : function()
1412
+ {
1413
+ return CKEDITOR.dialog._.currentTop;
1414
+ },
1415
+
1416
+ /**
1417
+ * The default OK button for dialogs. Fires the "ok" event and closes the dialog if the event succeeds.
1418
+ * @static
1419
+ * @field
1420
+ * @example
1421
+ * @type Function
1422
+ */
1423
+ okButton : (function()
1424
+ {
1425
+ var retval = function( editor, override )
1426
+ {
1427
+ override = override || {};
1428
+ return CKEDITOR.tools.extend( {
1429
+ id : 'ok',
1430
+ type : 'button',
1431
+ label : editor.lang.common.ok,
1432
+ 'class' : 'cke_dialog_ui_button_ok',
1433
+ onClick : function( evt )
1434
+ {
1435
+ var dialog = evt.data.dialog;
1436
+ if ( dialog.fire( 'ok', { hide : true } ).hide !== false )
1437
+ dialog.hide();
1438
+ }
1439
+ }, override, true );
1440
+ };
1441
+ retval.type = 'button';
1442
+ retval.override = function( override )
1443
+ {
1444
+ return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
1445
+ { type : 'button' }, true );
1446
+ };
1447
+ return retval;
1448
+ })(),
1449
+
1450
+ /**
1451
+ * The default cancel button for dialogs. Fires the "cancel" event and closes the dialog if no UI element value changed.
1452
+ * @static
1453
+ * @field
1454
+ * @example
1455
+ * @type Function
1456
+ */
1457
+ cancelButton : (function()
1458
+ {
1459
+ var retval = function( editor, override )
1460
+ {
1461
+ override = override || {};
1462
+ return CKEDITOR.tools.extend( {
1463
+ id : 'cancel',
1464
+ type : 'button',
1465
+ label : editor.lang.common.cancel,
1466
+ 'class' : 'cke_dialog_ui_button_cancel',
1467
+ onClick : function( evt )
1468
+ {
1469
+ var dialog = evt.data.dialog;
1470
+ if ( dialog.fire( 'cancel', { hide : true } ).hide !== false )
1471
+ dialog.hide();
1472
+ }
1473
+ }, override, true );
1474
+ };
1475
+ retval.type = 'button';
1476
+ retval.override = function( override )
1477
+ {
1478
+ return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
1479
+ { type : 'button' }, true );
1480
+ };
1481
+ return retval;
1482
+ })(),
1483
+
1484
+ /**
1485
+ * Registers a dialog UI element.
1486
+ * @param {String} typeName The name of the UI element.
1487
+ * @param {Function} builder The function to build the UI element.
1488
+ * @example
1489
+ */
1490
+ addUIElement : function( typeName, builder )
1491
+ {
1492
+ this._.uiElementBuilders[ typeName ] = builder;
1493
+ }
1494
+ });
1495
+
1496
+ CKEDITOR.dialog._ =
1497
+ {
1498
+ uiElementBuilders : {},
1499
+
1500
+ dialogDefinitions : {},
1501
+
1502
+ currentTop : null,
1503
+
1504
+ currentZIndex : null
1505
+ };
1506
+
1507
+ // "Inherit" (copy actually) from CKEDITOR.event.
1508
+ CKEDITOR.event.implementOn( CKEDITOR.dialog );
1509
+ CKEDITOR.event.implementOn( CKEDITOR.dialog.prototype, true );
1510
+
1511
+ var defaultDialogDefinition =
1512
+ {
1513
+ resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
1514
+ minWidth : 600,
1515
+ minHeight : 400,
1516
+ buttons : [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
1517
+ };
1518
+
1519
+ // Tool function used to return an item from an array based on its id
1520
+ // property.
1521
+ var getById = function( array, id, recurse )
1522
+ {
1523
+ for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
1524
+ {
1525
+ if ( item.id == id )
1526
+ return item;
1527
+ if ( recurse && item[ recurse ] )
1528
+ {
1529
+ var retval = getById( item[ recurse ], id, recurse ) ;
1530
+ if ( retval )
1531
+ return retval;
1532
+ }
1533
+ }
1534
+ return null;
1535
+ };
1536
+
1537
+ // Tool function used to add an item into an array.
1538
+ var addById = function( array, newItem, nextSiblingId, recurse, nullIfNotFound )
1539
+ {
1540
+ if ( nextSiblingId )
1541
+ {
1542
+ for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
1543
+ {
1544
+ if ( item.id == nextSiblingId )
1545
+ {
1546
+ array.splice( i, 0, newItem );
1547
+ return newItem;
1548
+ }
1549
+
1550
+ if ( recurse && item[ recurse ] )
1551
+ {
1552
+ var retval = addById( item[ recurse ], newItem, nextSiblingId, recurse, true );
1553
+ if ( retval )
1554
+ return retval;
1555
+ }
1556
+ }
1557
+
1558
+ if ( nullIfNotFound )
1559
+ return null;
1560
+ }
1561
+
1562
+ array.push( newItem );
1563
+ return newItem;
1564
+ };
1565
+
1566
+ // Tool function used to remove an item from an array based on its id.
1567
+ var removeById = function( array, id, recurse )
1568
+ {
1569
+ for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
1570
+ {
1571
+ if ( item.id == id )
1572
+ return array.splice( i, 1 );
1573
+ if ( recurse && item[ recurse ] )
1574
+ {
1575
+ var retval = removeById( item[ recurse ], id, recurse );
1576
+ if ( retval )
1577
+ return retval;
1578
+ }
1579
+ }
1580
+ return null;
1581
+ };
1582
+
1583
+ /**
1584
+ * This class is not really part of the API. It is the "definition" property value
1585
+ * passed to "dialogDefinition" event handlers.
1586
+ * @constructor
1587
+ * @name CKEDITOR.dialog.definitionObject
1588
+ * @extends CKEDITOR.dialog.definition
1589
+ * @example
1590
+ * CKEDITOR.on( 'dialogDefinition', function( evt )
1591
+ * {
1592
+ * var definition = evt.data.definition;
1593
+ * var content = definition.getContents( 'page1' );
1594
+ * ...
1595
+ * } );
1596
+ */
1597
+ var definitionObject = function( dialog, dialogDefinition )
1598
+ {
1599
+ // TODO : Check if needed.
1600
+ this.dialog = dialog;
1601
+
1602
+ // Transform the contents entries in contentObjects.
1603
+ var contents = dialogDefinition.contents;
1604
+ for ( var i = 0, content ; ( content = contents[i] ) ; i++ )
1605
+ contents[ i ] = content && new contentObject( dialog, content );
1606
+
1607
+ CKEDITOR.tools.extend( this, dialogDefinition );
1608
+ };
1609
+
1610
+ definitionObject.prototype =
1611
+ /** @lends CKEDITOR.dialog.definitionObject.prototype */
1612
+ {
1613
+ /**
1614
+ * Gets a content definition.
1615
+ * @param {String} id The id of the content definition.
1616
+ * @returns {CKEDITOR.dialog.definition.content} The content definition
1617
+ * matching id.
1618
+ */
1619
+ getContents : function( id )
1620
+ {
1621
+ return getById( this.contents, id );
1622
+ },
1623
+
1624
+ /**
1625
+ * Gets a button definition.
1626
+ * @param {String} id The id of the button definition.
1627
+ * @returns {CKEDITOR.dialog.definition.button} The button definition
1628
+ * matching id.
1629
+ */
1630
+ getButton : function( id )
1631
+ {
1632
+ return getById( this.buttons, id );
1633
+ },
1634
+
1635
+ /**
1636
+ * Adds a content definition object under this dialog definition.
1637
+ * @param {CKEDITOR.dialog.definition.content} contentDefinition The
1638
+ * content definition.
1639
+ * @param {String} [nextSiblingId] The id of an existing content
1640
+ * definition which the new content definition will be inserted
1641
+ * before. Omit if the new content definition is to be inserted as
1642
+ * the last item.
1643
+ * @returns {CKEDITOR.dialog.definition.content} The inserted content
1644
+ * definition.
1645
+ */
1646
+ addContents : function( contentDefinition, nextSiblingId )
1647
+ {
1648
+ return addById( this.contents, contentDefinition, nextSiblingId );
1649
+ },
1650
+
1651
+ /**
1652
+ * Adds a button definition object under this dialog definition.
1653
+ * @param {CKEDITOR.dialog.definition.button} buttonDefinition The
1654
+ * button definition.
1655
+ * @param {String} [nextSiblingId] The id of an existing button
1656
+ * definition which the new button definition will be inserted
1657
+ * before. Omit if the new button definition is to be inserted as
1658
+ * the last item.
1659
+ * @returns {CKEDITOR.dialog.definition.button} The inserted button
1660
+ * definition.
1661
+ */
1662
+ addButton : function( buttonDefinition, nextSiblingId )
1663
+ {
1664
+ return addById( this.buttons, buttonDefinition, nextSiblingId );
1665
+ },
1666
+
1667
+ /**
1668
+ * Removes a content definition from this dialog definition.
1669
+ * @param {String} id The id of the content definition to be removed.
1670
+ * @returns {CKEDITOR.dialog.definition.content} The removed content
1671
+ * definition.
1672
+ */
1673
+ removeContents : function( id )
1674
+ {
1675
+ removeById( this.contents, id );
1676
+ },
1677
+
1678
+ /**
1679
+ * Removes a button definition from the dialog definition.
1680
+ * @param {String} id The id of the button definition to be removed.
1681
+ * @returns {CKEDITOR.dialog.definition.button} The removed button
1682
+ * definition.
1683
+ */
1684
+ removeButton : function( id )
1685
+ {
1686
+ removeById( this.buttons, id );
1687
+ }
1688
+ };
1689
+
1690
+ /**
1691
+ * This class is not really part of the API. It is the template of the
1692
+ * objects representing content pages inside the
1693
+ * CKEDITOR.dialog.definitionObject.
1694
+ * @constructor
1695
+ * @name CKEDITOR.dialog.definition.contentObject
1696
+ * @example
1697
+ * CKEDITOR.on( 'dialogDefinition', function( evt )
1698
+ * {
1699
+ * var definition = evt.data.definition;
1700
+ * var content = definition.getContents( 'page1' );
1701
+ * content.remove( 'textInput1' );
1702
+ * ...
1703
+ * } );
1704
+ */
1705
+ function contentObject( dialog, contentDefinition )
1706
+ {
1707
+ this._ =
1708
+ {
1709
+ dialog : dialog
1710
+ };
1711
+
1712
+ CKEDITOR.tools.extend( this, contentDefinition );
1713
+ }
1714
+
1715
+ contentObject.prototype =
1716
+ /** @lends CKEDITOR.dialog.definition.contentObject.prototype */
1717
+ {
1718
+ /**
1719
+ * Gets a UI element definition under the content definition.
1720
+ * @param {String} id The id of the UI element definition.
1721
+ * @returns {CKEDITOR.dialog.definition.uiElement}
1722
+ */
1723
+ get : function( id )
1724
+ {
1725
+ return getById( this.elements, id, 'children' );
1726
+ },
1727
+
1728
+ /**
1729
+ * Adds a UI element definition to the content definition.
1730
+ * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition The
1731
+ * UI elemnet definition to be added.
1732
+ * @param {String} nextSiblingId The id of an existing UI element
1733
+ * definition which the new UI element definition will be inserted
1734
+ * before. Omit if the new button definition is to be inserted as
1735
+ * the last item.
1736
+ * @returns {CKEDITOR.dialog.definition.uiElement} The element
1737
+ * definition inserted.
1738
+ */
1739
+ add : function( elementDefinition, nextSiblingId )
1740
+ {
1741
+ return addById( this.elements, elementDefinition, nextSiblingId, 'children' );
1742
+ },
1743
+
1744
+ /**
1745
+ * Removes a UI element definition from the content definition.
1746
+ * @param {String} id The id of the UI element definition to be
1747
+ * removed.
1748
+ * @returns {CKEDITOR.dialog.definition.uiElement} The element
1749
+ * definition removed.
1750
+ * @example
1751
+ */
1752
+ remove : function( id )
1753
+ {
1754
+ removeById( this.elements, id, 'children' );
1755
+ }
1756
+ };
1757
+
1758
+ function initDragAndDrop( dialog )
1759
+ {
1760
+ var lastCoords = null,
1761
+ abstractDialogCoords = null,
1762
+ element = dialog.getElement().getFirst(),
1763
+ editor = dialog.getParentEditor(),
1764
+ magnetDistance = editor.config.dialog_magnetDistance,
1765
+ margins = editor.skin.margins || [ 0, 0, 0, 0 ];
1766
+
1767
+ if ( typeof magnetDistance == 'undefined' )
1768
+ magnetDistance = 20;
1769
+
1770
+ function mouseMoveHandler( evt )
1771
+ {
1772
+ var dialogSize = dialog.getSize(),
1773
+ viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(),
1774
+ x = evt.data.$.screenX,
1775
+ y = evt.data.$.screenY,
1776
+ dx = x - lastCoords.x,
1777
+ dy = y - lastCoords.y,
1778
+ realX, realY;
1779
+
1780
+ lastCoords = { x : x, y : y };
1781
+ abstractDialogCoords.x += dx;
1782
+ abstractDialogCoords.y += dy;
1783
+
1784
+ if ( abstractDialogCoords.x + margins[3] < magnetDistance )
1785
+ realX = - margins[3];
1786
+ else if ( abstractDialogCoords.x - margins[1] > viewPaneSize.width - dialogSize.width - magnetDistance )
1787
+ realX = viewPaneSize.width - dialogSize.width + ( editor.lang.dir == 'rtl' ? 0 : margins[1] );
1788
+ else
1789
+ realX = abstractDialogCoords.x;
1790
+
1791
+ if ( abstractDialogCoords.y + margins[0] < magnetDistance )
1792
+ realY = - margins[0];
1793
+ else if ( abstractDialogCoords.y - margins[2] > viewPaneSize.height - dialogSize.height - magnetDistance )
1794
+ realY = viewPaneSize.height - dialogSize.height + margins[2];
1795
+ else
1796
+ realY = abstractDialogCoords.y;
1797
+
1798
+ dialog.move( realX, realY, 1 );
1799
+
1800
+ evt.data.preventDefault();
1801
+ }
1802
+
1803
+ function mouseUpHandler( evt )
1804
+ {
1805
+ CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
1806
+ CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
1807
+
1808
+ if ( CKEDITOR.env.ie6Compat )
1809
+ {
1810
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
1811
+ coverDoc.removeListener( 'mousemove', mouseMoveHandler );
1812
+ coverDoc.removeListener( 'mouseup', mouseUpHandler );
1813
+ }
1814
+ }
1815
+
1816
+ dialog.parts.title.on( 'mousedown', function( evt )
1817
+ {
1818
+ lastCoords = { x : evt.data.$.screenX, y : evt.data.$.screenY };
1819
+
1820
+ CKEDITOR.document.on( 'mousemove', mouseMoveHandler );
1821
+ CKEDITOR.document.on( 'mouseup', mouseUpHandler );
1822
+ abstractDialogCoords = dialog.getPosition();
1823
+
1824
+ if ( CKEDITOR.env.ie6Compat )
1825
+ {
1826
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
1827
+ coverDoc.on( 'mousemove', mouseMoveHandler );
1828
+ coverDoc.on( 'mouseup', mouseUpHandler );
1829
+ }
1830
+
1831
+ evt.data.preventDefault();
1832
+ }, dialog );
1833
+ }
1834
+
1835
+ function initResizeHandles( dialog )
1836
+ {
1837
+ var def = dialog.definition,
1838
+ resizable = def.resizable;
1839
+
1840
+ if ( resizable == CKEDITOR.DIALOG_RESIZE_NONE )
1841
+ return;
1842
+
1843
+ var editor = dialog.getParentEditor();
1844
+ var wrapperWidth, wrapperHeight,
1845
+ viewSize, origin, startSize,
1846
+ dialogCover;
1847
+
1848
+ var mouseDownFn = CKEDITOR.tools.addFunction( function( $event )
1849
+ {
1850
+ startSize = dialog.getSize();
1851
+
1852
+ var content = dialog.parts.contents,
1853
+ iframeDialog = content.$.getElementsByTagName( 'iframe' ).length;
1854
+
1855
+ // Shim to help capturing "mousemove" over iframe.
1856
+ if ( iframeDialog )
1857
+ {
1858
+ dialogCover = CKEDITOR.dom.element.createFromHtml( '<div class="cke_dialog_resize_cover" style="height: 100%; position: absolute; width: 100%;"></div>' );
1859
+ content.append( dialogCover );
1860
+ }
1861
+
1862
+ // Calculate the offset between content and chrome size.
1863
+ wrapperHeight = startSize.height - dialog.parts.contents.getSize( 'height', ! ( CKEDITOR.env.gecko || CKEDITOR.env.opera || CKEDITOR.env.ie && CKEDITOR.env.quirks ) );
1864
+ wrapperWidth = startSize.width - dialog.parts.contents.getSize( 'width', 1 );
1865
+
1866
+ origin = { x : $event.screenX, y : $event.screenY };
1867
+
1868
+ viewSize = CKEDITOR.document.getWindow().getViewPaneSize();
1869
+
1870
+ CKEDITOR.document.on( 'mousemove', mouseMoveHandler );
1871
+ CKEDITOR.document.on( 'mouseup', mouseUpHandler );
1872
+
1873
+ if ( CKEDITOR.env.ie6Compat )
1874
+ {
1875
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
1876
+ coverDoc.on( 'mousemove', mouseMoveHandler );
1877
+ coverDoc.on( 'mouseup', mouseUpHandler );
1878
+ }
1879
+
1880
+ $event.preventDefault && $event.preventDefault();
1881
+ });
1882
+
1883
+ // Prepend the grip to the dialog.
1884
+ dialog.on( 'load', function()
1885
+ {
1886
+ var direction = '';
1887
+ if ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH )
1888
+ direction = ' cke_resizer_horizontal';
1889
+ else if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT )
1890
+ direction = ' cke_resizer_vertical';
1891
+ var resizer = CKEDITOR.dom.element.createFromHtml( '<div' +
1892
+ ' class="cke_resizer' + direction + ' cke_resizer_' + editor.lang.dir + '"' +
1893
+ ' title="' + CKEDITOR.tools.htmlEncode( editor.lang.resize ) + '"' +
1894
+ ' onmousedown="CKEDITOR.tools.callFunction(' + mouseDownFn + ', event )"></div>' );
1895
+ dialog.parts.footer.append( resizer, 1 );
1896
+ });
1897
+ editor.on( 'destroy', function() { CKEDITOR.tools.removeFunction( mouseDownFn ); } );
1898
+
1899
+ function mouseMoveHandler( evt )
1900
+ {
1901
+ var rtl = editor.lang.dir == 'rtl',
1902
+ dx = ( evt.data.$.screenX - origin.x ) * ( rtl ? -1 : 1 ),
1903
+ dy = evt.data.$.screenY - origin.y,
1904
+ width = startSize.width,
1905
+ height = startSize.height,
1906
+ internalWidth = width + dx * ( dialog._.moved ? 1 : 2 ),
1907
+ internalHeight = height + dy * ( dialog._.moved ? 1 : 2 ),
1908
+ element = dialog._.element.getFirst(),
1909
+ right = rtl && element.getComputedStyle( 'right' ),
1910
+ position = dialog.getPosition();
1911
+
1912
+ if ( position.y + internalHeight > viewSize.height )
1913
+ internalHeight = viewSize.height - position.y;
1914
+
1915
+ if ( ( rtl ? right : position.x ) + internalWidth > viewSize.width )
1916
+ internalWidth = viewSize.width - ( rtl ? right : position.x );
1917
+
1918
+ // Make sure the dialog will not be resized to the wrong side when it's in the leftmost position for RTL.
1919
+ if ( ( resizable == CKEDITOR.DIALOG_RESIZE_WIDTH || resizable == CKEDITOR.DIALOG_RESIZE_BOTH ) )
1920
+ width = Math.max( def.minWidth || 0, internalWidth - wrapperWidth );
1921
+
1922
+ if ( resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT || resizable == CKEDITOR.DIALOG_RESIZE_BOTH )
1923
+ height = Math.max( def.minHeight || 0, internalHeight - wrapperHeight );
1924
+
1925
+ dialog.resize( width, height );
1926
+
1927
+ if ( !dialog._.moved )
1928
+ dialog.layout();
1929
+
1930
+ evt.data.preventDefault();
1931
+ }
1932
+
1933
+ function mouseUpHandler()
1934
+ {
1935
+ CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
1936
+ CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
1937
+
1938
+ if ( dialogCover )
1939
+ {
1940
+ dialogCover.remove();
1941
+ dialogCover = null;
1942
+ }
1943
+
1944
+ if ( CKEDITOR.env.ie6Compat )
1945
+ {
1946
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
1947
+ coverDoc.removeListener( 'mouseup', mouseUpHandler );
1948
+ coverDoc.removeListener( 'mousemove', mouseMoveHandler );
1949
+ }
1950
+ }
1951
+ }
1952
+
1953
+ var resizeCover;
1954
+ // Caching resuable covers and allowing only one cover
1955
+ // on screen.
1956
+ var covers = {},
1957
+ currentCover;
1958
+
1959
+ function cancelEvent( ev )
1960
+ {
1961
+ ev.data.preventDefault(1);
1962
+ }
1963
+
1964
+ function showCover( editor )
1965
+ {
1966
+ var win = CKEDITOR.document.getWindow();
1967
+ var config = editor.config,
1968
+ backgroundColorStyle = config.dialog_backgroundCoverColor || 'white',
1969
+ backgroundCoverOpacity = config.dialog_backgroundCoverOpacity,
1970
+ baseFloatZIndex = config.baseFloatZIndex,
1971
+ coverKey = CKEDITOR.tools.genKey(
1972
+ backgroundColorStyle,
1973
+ backgroundCoverOpacity,
1974
+ baseFloatZIndex ),
1975
+ coverElement = covers[ coverKey ];
1976
+
1977
+ if ( !coverElement )
1978
+ {
1979
+ var html = [
1980
+ '<div tabIndex="-1" style="position: ', ( CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed' ),
1981
+ '; z-index: ', baseFloatZIndex,
1982
+ '; top: 0px; left: 0px; ',
1983
+ ( !CKEDITOR.env.ie6Compat ? 'background-color: ' + backgroundColorStyle : '' ),
1984
+ '" class="cke_dialog_background_cover">'
1985
+ ];
1986
+
1987
+ if ( CKEDITOR.env.ie6Compat )
1988
+ {
1989
+ // Support for custom document.domain in IE.
1990
+ var isCustomDomain = CKEDITOR.env.isCustomDomain(),
1991
+ iframeHtml = '<html><body style=\\\'background-color:' + backgroundColorStyle + ';\\\'></body></html>';
1992
+
1993
+ html.push(
1994
+ '<iframe' +
1995
+ ' hidefocus="true"' +
1996
+ ' frameborder="0"' +
1997
+ ' id="cke_dialog_background_iframe"' +
1998
+ ' src="javascript:' );
1999
+
2000
+ html.push( 'void((function(){' +
2001
+ 'document.open();' +
2002
+ ( isCustomDomain ? 'document.domain=\'' + document.domain + '\';' : '' ) +
2003
+ 'document.write( \'' + iframeHtml + '\' );' +
2004
+ 'document.close();' +
2005
+ '})())' );
2006
+
2007
+ html.push(
2008
+ '"' +
2009
+ ' style="' +
2010
+ 'position:absolute;' +
2011
+ 'left:0;' +
2012
+ 'top:0;' +
2013
+ 'width:100%;' +
2014
+ 'height: 100%;' +
2015
+ 'progid:DXImageTransform.Microsoft.Alpha(opacity=0)">' +
2016
+ '</iframe>' );
2017
+ }
2018
+
2019
+ html.push( '</div>' );
2020
+
2021
+ coverElement = CKEDITOR.dom.element.createFromHtml( html.join( '' ) );
2022
+ coverElement.setOpacity( backgroundCoverOpacity != undefined ? backgroundCoverOpacity : 0.5 );
2023
+
2024
+ coverElement.on( 'keydown', cancelEvent );
2025
+ coverElement.on( 'keypress', cancelEvent );
2026
+ coverElement.on( 'keyup', cancelEvent );
2027
+
2028
+ coverElement.appendTo( CKEDITOR.document.getBody() );
2029
+ covers[ coverKey ] = coverElement;
2030
+ }
2031
+ else
2032
+ coverElement. show();
2033
+
2034
+ currentCover = coverElement;
2035
+ var resizeFunc = function()
2036
+ {
2037
+ var size = win.getViewPaneSize();
2038
+ coverElement.setStyles(
2039
+ {
2040
+ width : size.width + 'px',
2041
+ height : size.height + 'px'
2042
+ } );
2043
+ };
2044
+
2045
+ var scrollFunc = function()
2046
+ {
2047
+ var pos = win.getScrollPosition(),
2048
+ cursor = CKEDITOR.dialog._.currentTop;
2049
+ coverElement.setStyles(
2050
+ {
2051
+ left : pos.x + 'px',
2052
+ top : pos.y + 'px'
2053
+ });
2054
+
2055
+ if ( cursor )
2056
+ {
2057
+ do
2058
+ {
2059
+ var dialogPos = cursor.getPosition();
2060
+ cursor.move( dialogPos.x, dialogPos.y );
2061
+ } while ( ( cursor = cursor._.parentDialog ) );
2062
+ }
2063
+ };
2064
+
2065
+ resizeCover = resizeFunc;
2066
+ win.on( 'resize', resizeFunc );
2067
+ resizeFunc();
2068
+ // Using Safari/Mac, focus must be kept where it is (#7027)
2069
+ if ( !( CKEDITOR.env.mac && CKEDITOR.env.webkit ) )
2070
+ coverElement.focus();
2071
+
2072
+ if ( CKEDITOR.env.ie6Compat )
2073
+ {
2074
+ // IE BUG: win.$.onscroll assignment doesn't work.. it must be window.onscroll.
2075
+ // So we need to invent a really funny way to make it work.
2076
+ var myScrollHandler = function()
2077
+ {
2078
+ scrollFunc();
2079
+ arguments.callee.prevScrollHandler.apply( this, arguments );
2080
+ };
2081
+ win.$.setTimeout( function()
2082
+ {
2083
+ myScrollHandler.prevScrollHandler = window.onscroll || function(){};
2084
+ window.onscroll = myScrollHandler;
2085
+ }, 0 );
2086
+ scrollFunc();
2087
+ }
2088
+ }
2089
+
2090
+ function hideCover()
2091
+ {
2092
+ if ( !currentCover )
2093
+ return;
2094
+
2095
+ var win = CKEDITOR.document.getWindow();
2096
+ currentCover.hide();
2097
+ win.removeListener( 'resize', resizeCover );
2098
+
2099
+ if ( CKEDITOR.env.ie6Compat )
2100
+ {
2101
+ win.$.setTimeout( function()
2102
+ {
2103
+ var prevScrollHandler = window.onscroll && window.onscroll.prevScrollHandler;
2104
+ window.onscroll = prevScrollHandler || null;
2105
+ }, 0 );
2106
+ }
2107
+ resizeCover = null;
2108
+ }
2109
+
2110
+ function removeCovers()
2111
+ {
2112
+ for ( var coverId in covers )
2113
+ covers[ coverId ].remove();
2114
+ covers = {};
2115
+ }
2116
+
2117
+ var accessKeyProcessors = {};
2118
+
2119
+ var accessKeyDownHandler = function( evt )
2120
+ {
2121
+ var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
2122
+ alt = evt.data.$.altKey,
2123
+ shift = evt.data.$.shiftKey,
2124
+ key = String.fromCharCode( evt.data.$.keyCode ),
2125
+ keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
2126
+
2127
+ if ( !keyProcessor || !keyProcessor.length )
2128
+ return;
2129
+
2130
+ keyProcessor = keyProcessor[keyProcessor.length - 1];
2131
+ keyProcessor.keydown && keyProcessor.keydown.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
2132
+ evt.data.preventDefault();
2133
+ };
2134
+
2135
+ var accessKeyUpHandler = function( evt )
2136
+ {
2137
+ var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
2138
+ alt = evt.data.$.altKey,
2139
+ shift = evt.data.$.shiftKey,
2140
+ key = String.fromCharCode( evt.data.$.keyCode ),
2141
+ keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
2142
+
2143
+ if ( !keyProcessor || !keyProcessor.length )
2144
+ return;
2145
+
2146
+ keyProcessor = keyProcessor[keyProcessor.length - 1];
2147
+ if ( keyProcessor.keyup )
2148
+ {
2149
+ keyProcessor.keyup.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
2150
+ evt.data.preventDefault();
2151
+ }
2152
+ };
2153
+
2154
+ var registerAccessKey = function( uiElement, dialog, key, downFunc, upFunc )
2155
+ {
2156
+ var procList = accessKeyProcessors[key] || ( accessKeyProcessors[key] = [] );
2157
+ procList.push( {
2158
+ uiElement : uiElement,
2159
+ dialog : dialog,
2160
+ key : key,
2161
+ keyup : upFunc || uiElement.accessKeyUp,
2162
+ keydown : downFunc || uiElement.accessKeyDown
2163
+ } );
2164
+ };
2165
+
2166
+ var unregisterAccessKey = function( obj )
2167
+ {
2168
+ for ( var i in accessKeyProcessors )
2169
+ {
2170
+ var list = accessKeyProcessors[i];
2171
+ for ( var j = list.length - 1 ; j >= 0 ; j-- )
2172
+ {
2173
+ if ( list[j].dialog == obj || list[j].uiElement == obj )
2174
+ list.splice( j, 1 );
2175
+ }
2176
+ if ( list.length === 0 )
2177
+ delete accessKeyProcessors[i];
2178
+ }
2179
+ };
2180
+
2181
+ var tabAccessKeyUp = function( dialog, key )
2182
+ {
2183
+ if ( dialog._.accessKeyMap[key] )
2184
+ dialog.selectPage( dialog._.accessKeyMap[key] );
2185
+ };
2186
+
2187
+ var tabAccessKeyDown = function( dialog, key )
2188
+ {
2189
+ };
2190
+
2191
+ // ESC, ENTER
2192
+ var preventKeyBubblingKeys = { 27 :1, 13 :1 };
2193
+ var preventKeyBubbling = function( e )
2194
+ {
2195
+ if ( e.data.getKeystroke() in preventKeyBubblingKeys )
2196
+ e.data.stopPropagation();
2197
+ };
2198
+
2199
+ (function()
2200
+ {
2201
+ CKEDITOR.ui.dialog =
2202
+ {
2203
+ /**
2204
+ * The base class of all dialog UI elements.
2205
+ * @constructor
2206
+ * @param {CKEDITOR.dialog} dialog Parent dialog object.
2207
+ * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition Element
2208
+ * definition. Accepted fields:
2209
+ * <ul>
2210
+ * <li><strong>id</strong> (Required) The id of the UI element. See {@link
2211
+ * CKEDITOR.dialog#getContentElement}</li>
2212
+ * <li><strong>type</strong> (Required) The type of the UI element. The
2213
+ * value to this field specifies which UI element class will be used to
2214
+ * generate the final widget.</li>
2215
+ * <li><strong>title</strong> (Optional) The popup tooltip for the UI
2216
+ * element.</li>
2217
+ * <li><strong>hidden</strong> (Optional) A flag that tells if the element
2218
+ * should be initially visible.</li>
2219
+ * <li><strong>className</strong> (Optional) Additional CSS class names
2220
+ * to add to the UI element. Separated by space.</li>
2221
+ * <li><strong>style</strong> (Optional) Additional CSS inline styles
2222
+ * to add to the UI element. A semicolon (;) is required after the last
2223
+ * style declaration.</li>
2224
+ * <li><strong>accessKey</strong> (Optional) The alphanumeric access key
2225
+ * for this element. Access keys are automatically prefixed by CTRL.</li>
2226
+ * <li><strong>on*</strong> (Optional) Any UI element definition field that
2227
+ * starts with <em>on</em> followed immediately by a capital letter and
2228
+ * probably more letters is an event handler. Event handlers may be further
2229
+ * divided into registered event handlers and DOM event handlers. Please
2230
+ * refer to {@link CKEDITOR.ui.dialog.uiElement#registerEvents} and
2231
+ * {@link CKEDITOR.ui.dialog.uiElement#eventProcessors} for more
2232
+ * information.</li>
2233
+ * </ul>
2234
+ * @param {Array} htmlList
2235
+ * List of HTML code to be added to the dialog's content area.
2236
+ * @param {Function|String} nodeNameArg
2237
+ * A function returning a string, or a simple string for the node name for
2238
+ * the root DOM node. Default is 'div'.
2239
+ * @param {Function|Object} stylesArg
2240
+ * A function returning an object, or a simple object for CSS styles applied
2241
+ * to the DOM node. Default is empty object.
2242
+ * @param {Function|Object} attributesArg
2243
+ * A fucntion returning an object, or a simple object for attributes applied
2244
+ * to the DOM node. Default is empty object.
2245
+ * @param {Function|String} contentsArg
2246
+ * A function returning a string, or a simple string for the HTML code inside
2247
+ * the root DOM node. Default is empty string.
2248
+ * @example
2249
+ */
2250
+ uiElement : function( dialog, elementDefinition, htmlList, nodeNameArg, stylesArg, attributesArg, contentsArg )
2251
+ {
2252
+ if ( arguments.length < 4 )
2253
+ return;
2254
+
2255
+ var nodeName = ( nodeNameArg.call ? nodeNameArg( elementDefinition ) : nodeNameArg ) || 'div',
2256
+ html = [ '<', nodeName, ' ' ],
2257
+ styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {},
2258
+ attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {},
2259
+ innerHTML = ( contentsArg && contentsArg.call ? contentsArg.call( this, dialog, elementDefinition ) : contentsArg ) || '',
2260
+ domId = this.domId = attributes.id || CKEDITOR.tools.getNextId() + '_uiElement',
2261
+ id = this.id = elementDefinition.id,
2262
+ i;
2263
+
2264
+ // Set the id, a unique id is required for getElement() to work.
2265
+ attributes.id = domId;
2266
+
2267
+ // Set the type and definition CSS class names.
2268
+ var classes = {};
2269
+ if ( elementDefinition.type )
2270
+ classes[ 'cke_dialog_ui_' + elementDefinition.type ] = 1;
2271
+ if ( elementDefinition.className )
2272
+ classes[ elementDefinition.className ] = 1;
2273
+ if ( elementDefinition.disabled )
2274
+ classes[ 'cke_disabled' ] = 1;
2275
+
2276
+ var attributeClasses = ( attributes['class'] && attributes['class'].split ) ? attributes['class'].split( ' ' ) : [];
2277
+ for ( i = 0 ; i < attributeClasses.length ; i++ )
2278
+ {
2279
+ if ( attributeClasses[i] )
2280
+ classes[ attributeClasses[i] ] = 1;
2281
+ }
2282
+ var finalClasses = [];
2283
+ for ( i in classes )
2284
+ finalClasses.push( i );
2285
+ attributes['class'] = finalClasses.join( ' ' );
2286
+
2287
+ // Set the popup tooltop.
2288
+ if ( elementDefinition.title )
2289
+ attributes.title = elementDefinition.title;
2290
+
2291
+ // Write the inline CSS styles.
2292
+ var styleStr = ( elementDefinition.style || '' ).split( ';' );
2293
+
2294
+ // Element alignment support.
2295
+ if ( elementDefinition.align )
2296
+ {
2297
+ var align = elementDefinition.align;
2298
+ styles[ 'margin-left' ] = align == 'left' ? 0 : 'auto';
2299
+ styles[ 'margin-right' ] = align == 'right' ? 0 : 'auto';
2300
+ }
2301
+
2302
+ for ( i in styles )
2303
+ styleStr.push( i + ':' + styles[i] );
2304
+ if ( elementDefinition.hidden )
2305
+ styleStr.push( 'display:none' );
2306
+ for ( i = styleStr.length - 1 ; i >= 0 ; i-- )
2307
+ {
2308
+ if ( styleStr[i] === '' )
2309
+ styleStr.splice( i, 1 );
2310
+ }
2311
+ if ( styleStr.length > 0 )
2312
+ attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' );
2313
+
2314
+ // Write the attributes.
2315
+ for ( i in attributes )
2316
+ html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ');
2317
+
2318
+ // Write the content HTML.
2319
+ html.push( '>', innerHTML, '</', nodeName, '>' );
2320
+
2321
+ // Add contents to the parent HTML array.
2322
+ htmlList.push( html.join( '' ) );
2323
+
2324
+ ( this._ || ( this._ = {} ) ).dialog = dialog;
2325
+
2326
+ // Override isChanged if it is defined in element definition.
2327
+ if ( typeof( elementDefinition.isChanged ) == 'boolean' )
2328
+ this.isChanged = function(){ return elementDefinition.isChanged; };
2329
+ if ( typeof( elementDefinition.isChanged ) == 'function' )
2330
+ this.isChanged = elementDefinition.isChanged;
2331
+
2332
+ // Overload 'get(set)Value' on definition.
2333
+ if ( typeof( elementDefinition.setValue ) == 'function' )
2334
+ {
2335
+ this.setValue = CKEDITOR.tools.override( this.setValue, function( org )
2336
+ {
2337
+ return function( val ){ org.call( this, elementDefinition.setValue.call( this, val ) ); };
2338
+ } );
2339
+ }
2340
+
2341
+ if ( typeof( elementDefinition.getValue ) == 'function' )
2342
+ {
2343
+ this.getValue = CKEDITOR.tools.override( this.getValue, function( org )
2344
+ {
2345
+ return function(){ return elementDefinition.getValue.call( this, org.call( this ) ); };
2346
+ } );
2347
+ }
2348
+
2349
+ // Add events.
2350
+ CKEDITOR.event.implementOn( this );
2351
+
2352
+ this.registerEvents( elementDefinition );
2353
+ if ( this.accessKeyUp && this.accessKeyDown && elementDefinition.accessKey )
2354
+ registerAccessKey( this, dialog, 'CTRL+' + elementDefinition.accessKey );
2355
+
2356
+ var me = this;
2357
+ dialog.on( 'load', function()
2358
+ {
2359
+ var input = me.getInputElement();
2360
+ if ( input )
2361
+ {
2362
+ var focusClass = me.type in { 'checkbox' : 1, 'ratio' : 1 } && CKEDITOR.env.ie && CKEDITOR.env.version < 8 ? 'cke_dialog_ui_focused' : '';
2363
+ input.on( 'focus', function()
2364
+ {
2365
+ dialog._.tabBarMode = false;
2366
+ dialog._.hasFocus = true;
2367
+ me.fire( 'focus' );
2368
+ focusClass && this.addClass( focusClass );
2369
+
2370
+ });
2371
+
2372
+ input.on( 'blur', function()
2373
+ {
2374
+ me.fire( 'blur' );
2375
+ focusClass && this.removeClass( focusClass );
2376
+ });
2377
+ }
2378
+ } );
2379
+
2380
+ // Register the object as a tab focus if it can be included.
2381
+ if ( this.keyboardFocusable )
2382
+ {
2383
+ this.tabIndex = elementDefinition.tabIndex || 0;
2384
+
2385
+ this.focusIndex = dialog._.focusList.push( this ) - 1;
2386
+ this.on( 'focus', function()
2387
+ {
2388
+ dialog._.currentFocusIndex = me.focusIndex;
2389
+ } );
2390
+ }
2391
+
2392
+ // Completes this object with everything we have in the
2393
+ // definition.
2394
+ CKEDITOR.tools.extend( this, elementDefinition );
2395
+ },
2396
+
2397
+ /**
2398
+ * Horizontal layout box for dialog UI elements, auto-expends to available width of container.
2399
+ * @constructor
2400
+ * @extends CKEDITOR.ui.dialog.uiElement
2401
+ * @param {CKEDITOR.dialog} dialog
2402
+ * Parent dialog object.
2403
+ * @param {Array} childObjList
2404
+ * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
2405
+ * container.
2406
+ * @param {Array} childHtmlList
2407
+ * Array of HTML code that correspond to the HTML output of all the
2408
+ * objects in childObjList.
2409
+ * @param {Array} htmlList
2410
+ * Array of HTML code that this element will output to.
2411
+ * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition
2412
+ * The element definition. Accepted fields:
2413
+ * <ul>
2414
+ * <li><strong>widths</strong> (Optional) The widths of child cells.</li>
2415
+ * <li><strong>height</strong> (Optional) The height of the layout.</li>
2416
+ * <li><strong>padding</strong> (Optional) The padding width inside child
2417
+ * cells.</li>
2418
+ * <li><strong>align</strong> (Optional) The alignment of the whole layout
2419
+ * </li>
2420
+ * </ul>
2421
+ * @example
2422
+ */
2423
+ hbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
2424
+ {
2425
+ if ( arguments.length < 4 )
2426
+ return;
2427
+
2428
+ this._ || ( this._ = {} );
2429
+
2430
+ var children = this._.children = childObjList,
2431
+ widths = elementDefinition && elementDefinition.widths || null,
2432
+ height = elementDefinition && elementDefinition.height || null,
2433
+ styles = {},
2434
+ i;
2435
+ /** @ignore */
2436
+ var innerHTML = function()
2437
+ {
2438
+ var html = [ '<tbody><tr class="cke_dialog_ui_hbox">' ];
2439
+ for ( i = 0 ; i < childHtmlList.length ; i++ )
2440
+ {
2441
+ var className = 'cke_dialog_ui_hbox_child',
2442
+ styles = [];
2443
+ if ( i === 0 )
2444
+ className = 'cke_dialog_ui_hbox_first';
2445
+ if ( i == childHtmlList.length - 1 )
2446
+ className = 'cke_dialog_ui_hbox_last';
2447
+ html.push( '<td class="', className, '" role="presentation" ' );
2448
+ if ( widths )
2449
+ {
2450
+ if ( widths[i] )
2451
+ styles.push( 'width:' + cssLength( widths[i] ) );
2452
+ }
2453
+ else
2454
+ styles.push( 'width:' + Math.floor( 100 / childHtmlList.length ) + '%' );
2455
+ if ( height )
2456
+ styles.push( 'height:' + cssLength( height ) );
2457
+ if ( elementDefinition && elementDefinition.padding != undefined )
2458
+ styles.push( 'padding:' + cssLength( elementDefinition.padding ) );
2459
+ // In IE Quirks alignment has to be done on table cells. (#7324)
2460
+ if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align )
2461
+ styles.push( 'text-align:' + children[ i ].align );
2462
+ if ( styles.length > 0 )
2463
+ html.push( 'style="' + styles.join('; ') + '" ' );
2464
+ html.push( '>', childHtmlList[i], '</td>' );
2465
+ }
2466
+ html.push( '</tr></tbody>' );
2467
+ return html.join( '' );
2468
+ };
2469
+
2470
+ var attribs = { role : 'presentation' };
2471
+ elementDefinition && elementDefinition.align && ( attribs.align = elementDefinition.align );
2472
+
2473
+ CKEDITOR.ui.dialog.uiElement.call(
2474
+ this,
2475
+ dialog,
2476
+ elementDefinition || { type : 'hbox' },
2477
+ htmlList,
2478
+ 'table',
2479
+ styles,
2480
+ attribs,
2481
+ innerHTML );
2482
+ },
2483
+
2484
+ /**
2485
+ * Vertical layout box for dialog UI elements.
2486
+ * @constructor
2487
+ * @extends CKEDITOR.ui.dialog.hbox
2488
+ * @param {CKEDITOR.dialog} dialog
2489
+ * Parent dialog object.
2490
+ * @param {Array} childObjList
2491
+ * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
2492
+ * container.
2493
+ * @param {Array} childHtmlList
2494
+ * Array of HTML code that correspond to the HTML output of all the
2495
+ * objects in childObjList.
2496
+ * @param {Array} htmlList
2497
+ * Array of HTML code that this element will output to.
2498
+ * @param {CKEDITOR.dialog.definition.uiElement} elementDefinition
2499
+ * The element definition. Accepted fields:
2500
+ * <ul>
2501
+ * <li><strong>width</strong> (Optional) The width of the layout.</li>
2502
+ * <li><strong>heights</strong> (Optional) The heights of individual cells.
2503
+ * </li>
2504
+ * <li><strong>align</strong> (Optional) The alignment of the layout.</li>
2505
+ * <li><strong>padding</strong> (Optional) The padding width inside child
2506
+ * cells.</li>
2507
+ * <li><strong>expand</strong> (Optional) Whether the layout should expand
2508
+ * vertically to fill its container.</li>
2509
+ * </ul>
2510
+ * @example
2511
+ */
2512
+ vbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
2513
+ {
2514
+ if ( arguments.length < 3 )
2515
+ return;
2516
+
2517
+ this._ || ( this._ = {} );
2518
+
2519
+ var children = this._.children = childObjList,
2520
+ width = elementDefinition && elementDefinition.width || null,
2521
+ heights = elementDefinition && elementDefinition.heights || null;
2522
+ /** @ignore */
2523
+ var innerHTML = function()
2524
+ {
2525
+ var html = [ '<table role="presentation" cellspacing="0" border="0" ' ];
2526
+ html.push( 'style="' );
2527
+ if ( elementDefinition && elementDefinition.expand )
2528
+ html.push( 'height:100%;' );
2529
+ html.push( 'width:' + cssLength( width || '100%' ), ';' );
2530
+ html.push( '"' );
2531
+ html.push( 'align="', CKEDITOR.tools.htmlEncode(
2532
+ ( elementDefinition && elementDefinition.align ) || ( dialog.getParentEditor().lang.dir == 'ltr' ? 'left' : 'right' ) ), '" ' );
2533
+
2534
+ html.push( '><tbody>' );
2535
+ for ( var i = 0 ; i < childHtmlList.length ; i++ )
2536
+ {
2537
+ var styles = [];
2538
+ html.push( '<tr><td role="presentation" ' );
2539
+ if ( width )
2540
+ styles.push( 'width:' + cssLength( width || '100%' ) );
2541
+ if ( heights )
2542
+ styles.push( 'height:' + cssLength( heights[i] ) );
2543
+ else if ( elementDefinition && elementDefinition.expand )
2544
+ styles.push( 'height:' + Math.floor( 100 / childHtmlList.length ) + '%' );
2545
+ if ( elementDefinition && elementDefinition.padding != undefined )
2546
+ styles.push( 'padding:' + cssLength( elementDefinition.padding ) );
2547
+ // In IE Quirks alignment has to be done on table cells. (#7324)
2548
+ if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align )
2549
+ styles.push( 'text-align:' + children[ i ].align );
2550
+ if ( styles.length > 0 )
2551
+ html.push( 'style="', styles.join( '; ' ), '" ' );
2552
+ html.push( ' class="cke_dialog_ui_vbox_child">', childHtmlList[i], '</td></tr>' );
2553
+ }
2554
+ html.push( '</tbody></table>' );
2555
+ return html.join( '' );
2556
+ };
2557
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type : 'vbox' }, htmlList, 'div', null, { role : 'presentation' }, innerHTML );
2558
+ }
2559
+ };
2560
+ })();
2561
+
2562
+ CKEDITOR.ui.dialog.uiElement.prototype =
2563
+ {
2564
+ /**
2565
+ * Gets the root DOM element of this dialog UI object.
2566
+ * @returns {CKEDITOR.dom.element} Root DOM element of UI object.
2567
+ * @example
2568
+ * uiElement.getElement().hide();
2569
+ */
2570
+ getElement : function()
2571
+ {
2572
+ return CKEDITOR.document.getById( this.domId );
2573
+ },
2574
+
2575
+ /**
2576
+ * Gets the DOM element that the user inputs values.
2577
+ * This function is used by setValue(), getValue() and focus(). It should
2578
+ * be overrided in child classes where the input element isn't the root
2579
+ * element.
2580
+ * @returns {CKEDITOR.dom.element} The element where the user input values.
2581
+ * @example
2582
+ * var rawValue = textInput.getInputElement().$.value;
2583
+ */
2584
+ getInputElement : function()
2585
+ {
2586
+ return this.getElement();
2587
+ },
2588
+
2589
+ /**
2590
+ * Gets the parent dialog object containing this UI element.
2591
+ * @returns {CKEDITOR.dialog} Parent dialog object.
2592
+ * @example
2593
+ * var dialog = uiElement.getDialog();
2594
+ */
2595
+ getDialog : function()
2596
+ {
2597
+ return this._.dialog;
2598
+ },
2599
+
2600
+ /**
2601
+ * Sets the value of this dialog UI object.
2602
+ * @param {Object} value The new value.
2603
+ * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
2604
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
2605
+ * @example
2606
+ * uiElement.setValue( 'Dingo' );
2607
+ */
2608
+ setValue : function( value, noChangeEvent )
2609
+ {
2610
+ this.getInputElement().setValue( value );
2611
+ !noChangeEvent && this.fire( 'change', { value : value } );
2612
+ return this;
2613
+ },
2614
+
2615
+ /**
2616
+ * Gets the current value of this dialog UI object.
2617
+ * @returns {Object} The current value.
2618
+ * @example
2619
+ * var myValue = uiElement.getValue();
2620
+ */
2621
+ getValue : function()
2622
+ {
2623
+ return this.getInputElement().getValue();
2624
+ },
2625
+
2626
+ /**
2627
+ * Tells whether the UI object's value has changed.
2628
+ * @returns {Boolean} true if changed, false if not changed.
2629
+ * @example
2630
+ * if ( uiElement.isChanged() )
2631
+ * &nbsp;&nbsp;confirm( 'Value changed! Continue?' );
2632
+ */
2633
+ isChanged : function()
2634
+ {
2635
+ // Override in input classes.
2636
+ return false;
2637
+ },
2638
+
2639
+ /**
2640
+ * Selects the parent tab of this element. Usually called by focus() or overridden focus() methods.
2641
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
2642
+ * @example
2643
+ * focus : function()
2644
+ * {
2645
+ * this.selectParentTab();
2646
+ * // do something else.
2647
+ * }
2648
+ */
2649
+ selectParentTab : function()
2650
+ {
2651
+ var element = this.getInputElement(),
2652
+ cursor = element,
2653
+ tabId;
2654
+ while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 )
2655
+ { /*jsl:pass*/ }
2656
+
2657
+ // Some widgets don't have parent tabs (e.g. OK and Cancel buttons).
2658
+ if ( !cursor )
2659
+ return this;
2660
+
2661
+ tabId = cursor.getAttribute( 'name' );
2662
+ // Avoid duplicate select.
2663
+ if ( this._.dialog._.currentTabId != tabId )
2664
+ this._.dialog.selectPage( tabId );
2665
+ return this;
2666
+ },
2667
+
2668
+ /**
2669
+ * Puts the focus to the UI object. Switches tabs if the UI object isn't in the active tab page.
2670
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
2671
+ * @example
2672
+ * uiElement.focus();
2673
+ */
2674
+ focus : function()
2675
+ {
2676
+ this.selectParentTab().getInputElement().focus();
2677
+ return this;
2678
+ },
2679
+
2680
+ /**
2681
+ * Registers the on* event handlers defined in the element definition.
2682
+ * The default behavior of this function is:
2683
+ * <ol>
2684
+ * <li>
2685
+ * If the on* event is defined in the class's eventProcesors list,
2686
+ * then the registration is delegated to the corresponding function
2687
+ * in the eventProcessors list.
2688
+ * </li>
2689
+ * <li>
2690
+ * If the on* event is not defined in the eventProcessors list, then
2691
+ * register the event handler under the corresponding DOM event of
2692
+ * the UI element's input DOM element (as defined by the return value
2693
+ * of {@link CKEDITOR.ui.dialog.uiElement#getInputElement}).
2694
+ * </li>
2695
+ * </ol>
2696
+ * This function is only called at UI element instantiation, but can
2697
+ * be overridded in child classes if they require more flexibility.
2698
+ * @param {CKEDITOR.dialog.definition.uiElement} definition The UI element
2699
+ * definition.
2700
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
2701
+ * @example
2702
+ */
2703
+ registerEvents : function( definition )
2704
+ {
2705
+ var regex = /^on([A-Z]\w+)/,
2706
+ match;
2707
+
2708
+ var registerDomEvent = function( uiElement, dialog, eventName, func )
2709
+ {
2710
+ dialog.on( 'load', function()
2711
+ {
2712
+ uiElement.getInputElement().on( eventName, func, uiElement );
2713
+ });
2714
+ };
2715
+
2716
+ for ( var i in definition )
2717
+ {
2718
+ if ( !( match = i.match( regex ) ) )
2719
+ continue;
2720
+ if ( this.eventProcessors[i] )
2721
+ this.eventProcessors[i].call( this, this._.dialog, definition[i] );
2722
+ else
2723
+ registerDomEvent( this, this._.dialog, match[1].toLowerCase(), definition[i] );
2724
+ }
2725
+
2726
+ return this;
2727
+ },
2728
+
2729
+ /**
2730
+ * The event processor list used by
2731
+ * {@link CKEDITOR.ui.dialog.uiElement#getInputElement} at UI element
2732
+ * instantiation. The default list defines three on* events:
2733
+ * <ol>
2734
+ * <li>onLoad - Called when the element's parent dialog opens for the
2735
+ * first time</li>
2736
+ * <li>onShow - Called whenever the element's parent dialog opens.</li>
2737
+ * <li>onHide - Called whenever the element's parent dialog closes.</li>
2738
+ * </ol>
2739
+ * @field
2740
+ * @type Object
2741
+ * @example
2742
+ * // This connects the 'click' event in CKEDITOR.ui.dialog.button to onClick
2743
+ * // handlers in the UI element's definitions.
2744
+ * CKEDITOR.ui.dialog.button.eventProcessors = CKEDITOR.tools.extend( {},
2745
+ * &nbsp;&nbsp;CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
2746
+ * &nbsp;&nbsp;{ onClick : function( dialog, func ) { this.on( 'click', func ); } },
2747
+ * &nbsp;&nbsp;true );
2748
+ */
2749
+ eventProcessors :
2750
+ {
2751
+ onLoad : function( dialog, func )
2752
+ {
2753
+ dialog.on( 'load', func, this );
2754
+ },
2755
+
2756
+ onShow : function( dialog, func )
2757
+ {
2758
+ dialog.on( 'show', func, this );
2759
+ },
2760
+
2761
+ onHide : function( dialog, func )
2762
+ {
2763
+ dialog.on( 'hide', func, this );
2764
+ }
2765
+ },
2766
+
2767
+ /**
2768
+ * The default handler for a UI element's access key down event, which
2769
+ * tries to put focus to the UI element.<br />
2770
+ * Can be overridded in child classes for more sophisticaed behavior.
2771
+ * @param {CKEDITOR.dialog} dialog The parent dialog object.
2772
+ * @param {String} key The key combination pressed. Since access keys
2773
+ * are defined to always include the CTRL key, its value should always
2774
+ * include a 'CTRL+' prefix.
2775
+ * @example
2776
+ */
2777
+ accessKeyDown : function( dialog, key )
2778
+ {
2779
+ this.focus();
2780
+ },
2781
+
2782
+ /**
2783
+ * The default handler for a UI element's access key up event, which
2784
+ * does nothing.<br />
2785
+ * Can be overridded in child classes for more sophisticated behavior.
2786
+ * @param {CKEDITOR.dialog} dialog The parent dialog object.
2787
+ * @param {String} key The key combination pressed. Since access keys
2788
+ * are defined to always include the CTRL key, its value should always
2789
+ * include a 'CTRL+' prefix.
2790
+ * @example
2791
+ */
2792
+ accessKeyUp : function( dialog, key )
2793
+ {
2794
+ },
2795
+
2796
+ /**
2797
+ * Disables a UI element.
2798
+ * @example
2799
+ */
2800
+ disable : function()
2801
+ {
2802
+ var element = this.getElement(),
2803
+ input = this.getInputElement();
2804
+ input.setAttribute( 'disabled', 'true' );
2805
+ element.addClass( 'cke_disabled' );
2806
+ },
2807
+
2808
+ /**
2809
+ * Enables a UI element.
2810
+ * @example
2811
+ */
2812
+ enable : function()
2813
+ {
2814
+ var element = this.getElement(),
2815
+ input = this.getInputElement();
2816
+ input.removeAttribute( 'disabled' );
2817
+ element.removeClass( 'cke_disabled' );
2818
+ },
2819
+
2820
+ /**
2821
+ * Determines whether an UI element is enabled or not.
2822
+ * @returns {Boolean} Whether the UI element is enabled.
2823
+ * @example
2824
+ */
2825
+ isEnabled : function()
2826
+ {
2827
+ return !this.getElement().hasClass( 'cke_disabled' );
2828
+ },
2829
+
2830
+ /**
2831
+ * Determines whether an UI element is visible or not.
2832
+ * @returns {Boolean} Whether the UI element is visible.
2833
+ * @example
2834
+ */
2835
+ isVisible : function()
2836
+ {
2837
+ return this.getInputElement().isVisible();
2838
+ },
2839
+
2840
+ /**
2841
+ * Determines whether an UI element is focus-able or not.
2842
+ * Focus-able is defined as being both visible and enabled.
2843
+ * @returns {Boolean} Whether the UI element can be focused.
2844
+ * @example
2845
+ */
2846
+ isFocusable : function()
2847
+ {
2848
+ if ( !this.isEnabled() || !this.isVisible() )
2849
+ return false;
2850
+ return true;
2851
+ }
2852
+ };
2853
+
2854
+ CKEDITOR.ui.dialog.hbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
2855
+ /**
2856
+ * @lends CKEDITOR.ui.dialog.hbox.prototype
2857
+ */
2858
+ {
2859
+ /**
2860
+ * Gets a child UI element inside this container.
2861
+ * @param {Array|Number} indices An array or a single number to indicate the child's
2862
+ * position in the container's descendant tree. Omit to get all the children in an array.
2863
+ * @returns {Array|CKEDITOR.ui.dialog.uiElement} Array of all UI elements in the container
2864
+ * if no argument given, or the specified UI element if indices is given.
2865
+ * @example
2866
+ * var checkbox = hbox.getChild( [0,1] );
2867
+ * checkbox.setValue( true );
2868
+ */
2869
+ getChild : function( indices )
2870
+ {
2871
+ // If no arguments, return a clone of the children array.
2872
+ if ( arguments.length < 1 )
2873
+ return this._.children.concat();
2874
+
2875
+ // If indices isn't array, make it one.
2876
+ if ( !indices.splice )
2877
+ indices = [ indices ];
2878
+
2879
+ // Retrieve the child element according to tree position.
2880
+ if ( indices.length < 2 )
2881
+ return this._.children[ indices[0] ];
2882
+ else
2883
+ return ( this._.children[ indices[0] ] && this._.children[ indices[0] ].getChild ) ?
2884
+ this._.children[ indices[0] ].getChild( indices.slice( 1, indices.length ) ) :
2885
+ null;
2886
+ }
2887
+ }, true );
2888
+
2889
+ CKEDITOR.ui.dialog.vbox.prototype = new CKEDITOR.ui.dialog.hbox();
2890
+
2891
+
2892
+
2893
+ (function()
2894
+ {
2895
+ var commonBuilder = {
2896
+ build : function( dialog, elementDefinition, output )
2897
+ {
2898
+ var children = elementDefinition.children,
2899
+ child,
2900
+ childHtmlList = [],
2901
+ childObjList = [];
2902
+ for ( var i = 0 ; ( i < children.length && ( child = children[i] ) ) ; i++ )
2903
+ {
2904
+ var childHtml = [];
2905
+ childHtmlList.push( childHtml );
2906
+ childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) );
2907
+ }
2908
+ return new CKEDITOR.ui.dialog[elementDefinition.type]( dialog, childObjList, childHtmlList, output, elementDefinition );
2909
+ }
2910
+ };
2911
+
2912
+ CKEDITOR.dialog.addUIElement( 'hbox', commonBuilder );
2913
+ CKEDITOR.dialog.addUIElement( 'vbox', commonBuilder );
2914
+ })();
2915
+
2916
+ /**
2917
+ * Generic dialog command. It opens a specific dialog when executed.
2918
+ * @constructor
2919
+ * @augments CKEDITOR.commandDefinition
2920
+ * @param {string} dialogName The name of the dialog to open when executing
2921
+ * this command.
2922
+ * @example
2923
+ * // Register the "link" command, which opens the "link" dialog.
2924
+ * editor.addCommand( 'link', <b>new CKEDITOR.dialogCommand( 'link' )</b> );
2925
+ */
2926
+ CKEDITOR.dialogCommand = function( dialogName )
2927
+ {
2928
+ this.dialogName = dialogName;
2929
+ };
2930
+
2931
+ CKEDITOR.dialogCommand.prototype =
2932
+ {
2933
+ /** @ignore */
2934
+ exec : function( editor )
2935
+ {
2936
+ // Special treatment for Opera. (#8031)
2937
+ CKEDITOR.env.opera ?
2938
+ CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName ) }, 0, this )
2939
+ : editor.openDialog( this.dialogName );
2940
+ },
2941
+
2942
+ // Dialog commands just open a dialog ui, thus require no undo logic,
2943
+ // undo support should dedicate to specific dialog implementation.
2944
+ canUndo: false,
2945
+
2946
+ editorFocus : CKEDITOR.env.ie || CKEDITOR.env.webkit
2947
+ };
2948
+
2949
+ (function()
2950
+ {
2951
+ var notEmptyRegex = /^([a]|[^a])+$/,
2952
+ integerRegex = /^\d*$/,
2953
+ numberRegex = /^\d*(?:\.\d+)?$/,
2954
+ htmlLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|\%)?)?$/,
2955
+ cssLengthRegex = /^(((\d*(\.\d+))|(\d*))(px|em|ex|in|cm|mm|pt|pc|\%)?)?$/i,
2956
+ inlineStyleRegex = /^(\s*[\w-]+\s*:\s*[^:;]+(?:;|$))*$/;
2957
+
2958
+ CKEDITOR.VALIDATE_OR = 1;
2959
+ CKEDITOR.VALIDATE_AND = 2;
2960
+
2961
+ CKEDITOR.dialog.validate =
2962
+ {
2963
+ functions : function()
2964
+ {
2965
+ var args = arguments;
2966
+ return function()
2967
+ {
2968
+ /**
2969
+ * It's important for validate functions to be able to accept the value
2970
+ * as argument in addition to this.getValue(), so that it is possible to
2971
+ * combine validate functions together to make more sophisticated
2972
+ * validators.
2973
+ */
2974
+ var value = this && this.getValue ? this.getValue() : args[ 0 ];
2975
+
2976
+ var msg = undefined,
2977
+ relation = CKEDITOR.VALIDATE_AND,
2978
+ functions = [], i;
2979
+
2980
+ for ( i = 0 ; i < args.length ; i++ )
2981
+ {
2982
+ if ( typeof( args[i] ) == 'function' )
2983
+ functions.push( args[i] );
2984
+ else
2985
+ break;
2986
+ }
2987
+
2988
+ if ( i < args.length && typeof( args[i] ) == 'string' )
2989
+ {
2990
+ msg = args[i];
2991
+ i++;
2992
+ }
2993
+
2994
+ if ( i < args.length && typeof( args[i]) == 'number' )
2995
+ relation = args[i];
2996
+
2997
+ var passed = ( relation == CKEDITOR.VALIDATE_AND ? true : false );
2998
+ for ( i = 0 ; i < functions.length ; i++ )
2999
+ {
3000
+ if ( relation == CKEDITOR.VALIDATE_AND )
3001
+ passed = passed && functions[i]( value );
3002
+ else
3003
+ passed = passed || functions[i]( value );
3004
+ }
3005
+
3006
+ return !passed ? msg : true;
3007
+ };
3008
+ },
3009
+
3010
+ regex : function( regex, msg )
3011
+ {
3012
+ /*
3013
+ * Can be greatly shortened by deriving from functions validator if code size
3014
+ * turns out to be more important than performance.
3015
+ */
3016
+ return function()
3017
+ {
3018
+ var value = this && this.getValue ? this.getValue() : arguments[0];
3019
+ return !regex.test( value ) ? msg : true;
3020
+ };
3021
+ },
3022
+
3023
+ notEmpty : function( msg )
3024
+ {
3025
+ return this.regex( notEmptyRegex, msg );
3026
+ },
3027
+
3028
+ integer : function( msg )
3029
+ {
3030
+ return this.regex( integerRegex, msg );
3031
+ },
3032
+
3033
+ 'number' : function( msg )
3034
+ {
3035
+ return this.regex( numberRegex, msg );
3036
+ },
3037
+
3038
+ 'cssLength' : function( msg )
3039
+ {
3040
+ return this.functions( function( val ){ return cssLengthRegex.test( CKEDITOR.tools.trim( val ) ); }, msg );
3041
+ },
3042
+
3043
+ 'htmlLength' : function( msg )
3044
+ {
3045
+ return this.functions( function( val ){ return htmlLengthRegex.test( CKEDITOR.tools.trim( val ) ); }, msg );
3046
+ },
3047
+
3048
+ 'inlineStyle' : function( msg )
3049
+ {
3050
+ return this.functions( function( val ){ return inlineStyleRegex.test( CKEDITOR.tools.trim( val ) ); }, msg );
3051
+ },
3052
+
3053
+ equals : function( value, msg )
3054
+ {
3055
+ return this.functions( function( val ){ return val == value; }, msg );
3056
+ },
3057
+
3058
+ notEqual : function( value, msg )
3059
+ {
3060
+ return this.functions( function( val ){ return val != value; }, msg );
3061
+ }
3062
+ };
3063
+
3064
+ CKEDITOR.on( 'instanceDestroyed', function( evt )
3065
+ {
3066
+ // Remove dialog cover on last instance destroy.
3067
+ if ( CKEDITOR.tools.isEmpty( CKEDITOR.instances ) )
3068
+ {
3069
+ var currentTopDialog;
3070
+ while ( ( currentTopDialog = CKEDITOR.dialog._.currentTop ) )
3071
+ currentTopDialog.hide();
3072
+ removeCovers();
3073
+ }
3074
+
3075
+ var dialogs = evt.editor._.storedDialogs;
3076
+ for ( var name in dialogs )
3077
+ dialogs[ name ].destroy();
3078
+
3079
+ });
3080
+
3081
+ })();
3082
+
3083
+ // Extend the CKEDITOR.editor class with dialog specific functions.
3084
+ CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
3085
+ /** @lends CKEDITOR.editor.prototype */
3086
+ {
3087
+ /**
3088
+ * Loads and opens a registered dialog.
3089
+ * @param {String} dialogName The registered name of the dialog.
3090
+ * @param {Function} callback The function to be invoked after dialog instance created.
3091
+ * @see CKEDITOR.dialog.add
3092
+ * @example
3093
+ * CKEDITOR.instances.editor1.openDialog( 'smiley' );
3094
+ * @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. null if the dialog name is not registered.
3095
+ */
3096
+ openDialog : function( dialogName, callback )
3097
+ {
3098
+ if ( this.mode == 'wysiwyg' && CKEDITOR.env.ie )
3099
+ {
3100
+ var selection = this.getSelection();
3101
+ selection && selection.lock();
3102
+ }
3103
+
3104
+ var dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
3105
+ dialogSkin = this.skin.dialog;
3106
+
3107
+ if ( CKEDITOR.dialog._.currentTop === null )
3108
+ showCover( this );
3109
+
3110
+ // If the dialogDefinition is already loaded, open it immediately.
3111
+ if ( typeof dialogDefinitions == 'function' && dialogSkin._isLoaded )
3112
+ {
3113
+ var storedDialogs = this._.storedDialogs ||
3114
+ ( this._.storedDialogs = {} );
3115
+
3116
+ var dialog = storedDialogs[ dialogName ] ||
3117
+ ( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) );
3118
+
3119
+ callback && callback.call( dialog, dialog );
3120
+ dialog.show();
3121
+
3122
+ return dialog;
3123
+ }
3124
+ else if ( dialogDefinitions == 'failed' )
3125
+ {
3126
+ hideCover();
3127
+ throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' );
3128
+ }
3129
+
3130
+ var me = this;
3131
+
3132
+ function onDialogFileLoaded( success )
3133
+ {
3134
+ var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
3135
+ skin = me.skin.dialog;
3136
+
3137
+ // Check if both skin part and definition is loaded.
3138
+ if ( !skin._isLoaded || loadDefinition && typeof success == 'undefined' )
3139
+ return;
3140
+
3141
+ // In case of plugin error, mark it as loading failed.
3142
+ if ( typeof dialogDefinition != 'function' )
3143
+ CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed';
3144
+
3145
+ me.openDialog( dialogName, callback );
3146
+ }
3147
+
3148
+ if ( typeof dialogDefinitions == 'string' )
3149
+ {
3150
+ var loadDefinition = 1;
3151
+ CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), onDialogFileLoaded, null, 0, 1 );
3152
+ }
3153
+
3154
+ CKEDITOR.skins.load( this, 'dialog', onDialogFileLoaded );
3155
+
3156
+ return null;
3157
+ }
3158
+ });
3159
+ })();
3160
+
3161
+ CKEDITOR.plugins.add( 'dialog',
3162
+ {
3163
+ requires : [ 'dialogui' ]
3164
+ });
3165
+
3166
+ // Dialog related configurations.
3167
+
3168
+ /**
3169
+ * The color of the dialog background cover. It should be a valid CSS color
3170
+ * string.
3171
+ * @name CKEDITOR.config.dialog_backgroundCoverColor
3172
+ * @type String
3173
+ * @default 'white'
3174
+ * @example
3175
+ * config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
3176
+ */
3177
+
3178
+ /**
3179
+ * The opacity of the dialog background cover. It should be a number within the
3180
+ * range [0.0, 1.0].
3181
+ * @name CKEDITOR.config.dialog_backgroundCoverOpacity
3182
+ * @type Number
3183
+ * @default 0.5
3184
+ * @example
3185
+ * config.dialog_backgroundCoverOpacity = 0.7;
3186
+ */
3187
+
3188
+ /**
3189
+ * If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened.
3190
+ * @name CKEDITOR.config.dialog_startupFocusTab
3191
+ * @type Boolean
3192
+ * @default false
3193
+ * @example
3194
+ * config.dialog_startupFocusTab = true;
3195
+ */
3196
+
3197
+ /**
3198
+ * The distance of magnetic borders used in moving and resizing dialogs,
3199
+ * measured in pixels.
3200
+ * @name CKEDITOR.config.dialog_magnetDistance
3201
+ * @type Number
3202
+ * @default 20
3203
+ * @example
3204
+ * config.dialog_magnetDistance = 30;
3205
+ */
3206
+
3207
+ /**
3208
+ * The guideline to follow when generating the dialog buttons. There are 3 possible options:
3209
+ * <ul>
3210
+ * <li>'OS' - the buttons will be displayed in the default order of the user's OS;</li>
3211
+ * <li>'ltr' - for Left-To-Right order;</li>
3212
+ * <li>'rtl' - for Right-To-Left order.</li>
3213
+ * </ul>
3214
+ * @name CKEDITOR.config.dialog_buttonsOrder
3215
+ * @type String
3216
+ * @default 'OS'
3217
+ * @since 3.5
3218
+ * @example
3219
+ * config.dialog_buttonsOrder = 'rtl';
3220
+ */
3221
+
3222
+ /**
3223
+ * The dialog contents to removed. It's a string composed by dialog name and tab name with a colon between them.
3224
+ * Separate each pair with semicolon (see example).
3225
+ * <b>Note: All names are case-sensitive.</b>
3226
+ * <b>Note: Be cautious when specifying dialog tabs that are mandatory, like "info", dialog functionality might be broken because of this!</b>
3227
+ * @name CKEDITOR.config.removeDialogTabs
3228
+ * @type String
3229
+ * @since 3.5
3230
+ * @default ''
3231
+ * @example
3232
+ * config.removeDialogTabs = 'flash:advanced;image:Link';
3233
+ */
3234
+
3235
+ /**
3236
+ * Fired when a dialog definition is about to be used to create a dialog into
3237
+ * an editor instance. This event makes it possible to customize the definition
3238
+ * before creating it.
3239
+ * <p>Note that this event is called only the first time a specific dialog is
3240
+ * opened. Successive openings will use the cached dialog, and this event will
3241
+ * not get fired.</p>
3242
+ * @name CKEDITOR#dialogDefinition
3243
+ * @event
3244
+ * @param {CKEDITOR.dialog.definition} data The dialog defination that
3245
+ * is being loaded.
3246
+ * @param {CKEDITOR.editor} editor The editor instance that will use the
3247
+ * dialog.
3248
+ */
3249
+
3250
+ /**
3251
+ * Fired when a tab is going to be selected in a dialog
3252
+ * @name CKEDITOR.dialog#selectPage
3253
+ * @event
3254
+ * @param {String} page The id of the page that it's gonna be selected.
3255
+ * @param {String} currentPage The id of the current page.
3256
+ */
3257
+
3258
+ /**
3259
+ * Fired when the user tries to dismiss a dialog
3260
+ * @name CKEDITOR.dialog#cancel
3261
+ * @event
3262
+ * @param {Boolean} hide Whether the event should proceed or not.
3263
+ */
3264
+
3265
+ /**
3266
+ * Fired when the user tries to confirm a dialog
3267
+ * @name CKEDITOR.dialog#ok
3268
+ * @event
3269
+ * @param {Boolean} hide Whether the event should proceed or not.
3270
+ */
3271
+
3272
+ /**
3273
+ * Fired when a dialog is shown
3274
+ * @name CKEDITOR.dialog#show
3275
+ * @event
3276
+ */
3277
+
3278
+ /**
3279
+ * Fired when a dialog is shown
3280
+ * @name CKEDITOR.editor#dialogShow
3281
+ * @event
3282
+ */
3283
+
3284
+ /**
3285
+ * Fired when a dialog is hidden
3286
+ * @name CKEDITOR.dialog#hide
3287
+ * @event
3288
+ */
3289
+
3290
+ /**
3291
+ * Fired when a dialog is hidden
3292
+ * @name CKEDITOR.editor#dialogHide
3293
+ * @event
3294
+ */
3295
+
3296
+ /**
3297
+ * Fired when a dialog is being resized. The event is fired on
3298
+ * both the 'CKEDITOR.dialog' object and the dialog instance
3299
+ * since 3.5.3, previously it's available only in the global object.
3300
+ * @name CKEDITOR.dialog#resize
3301
+ * @since 3.5
3302
+ * @event
3303
+ * @param {CKEDITOR.dialog} dialog The dialog being resized (if
3304
+ * it's fired on the dialog itself, this parameter isn't sent).
3305
+ * @param {String} skin The skin name.
3306
+ * @param {Number} width The new width.
3307
+ * @param {Number} height The new height.
3308
+ */