lafeber_ckeditor 3.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1052) hide show
  1. data/Gemfile +39 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +224 -0
  4. data/Rakefile +64 -0
  5. data/app/assets/javascripts/ckeditor/API-CHANGES.md +195 -0
  6. data/app/assets/javascripts/ckeditor/LICENSE.md +1274 -0
  7. data/app/assets/javascripts/ckeditor/application.js +5 -0
  8. data/app/assets/javascripts/ckeditor/ckeditor.js +847 -0
  9. data/app/assets/javascripts/ckeditor/config.js +113 -0
  10. data/app/assets/javascripts/ckeditor/contents.css +25 -0
  11. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_add.jpg +0 -0
  12. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_add.png +0 -0
  13. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_del.png +0 -0
  14. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_more.gif +0 -0
  15. data/app/assets/javascripts/ckeditor/filebrowser/images/preloader.gif +0 -0
  16. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/avi.gif +0 -0
  17. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif +0 -0
  18. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/doc.gif +0 -0
  19. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/docx.gif +0 -0
  20. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/exe.gif +0 -0
  21. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/gz.gif +0 -0
  22. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/htm.gif +0 -0
  23. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/jpg.gif +0 -0
  24. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/mp3.gif +0 -0
  25. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/mpg.gif +0 -0
  26. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/pdf.gif +0 -0
  27. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/psd.gif +0 -0
  28. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/rar.gif +0 -0
  29. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/swf.gif +0 -0
  30. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/tar.gif +0 -0
  31. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/txt.gif +0 -0
  32. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/unknown.gif +0 -0
  33. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/wmv.gif +0 -0
  34. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/xls.gif +0 -0
  35. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/xlsx.gif +0 -0
  36. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/zip.gif +0 -0
  37. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/application.js +221 -0
  38. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/fileuploader.js +1301 -0
  39. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.min.js +4 -0
  40. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.tmpl.min.js +10 -0
  41. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/rails.js +373 -0
  42. data/app/assets/javascripts/ckeditor/filebrowser/stylesheets/uploader.css +118 -0
  43. data/app/assets/javascripts/ckeditor/lang/_languages.js +7 -0
  44. data/app/assets/javascripts/ckeditor/lang/_translationstatus.txt +63 -0
  45. data/app/assets/javascripts/ckeditor/lang/af.js +5 -0
  46. data/app/assets/javascripts/ckeditor/lang/ar.js +5 -0
  47. data/app/assets/javascripts/ckeditor/lang/bg.js +5 -0
  48. data/app/assets/javascripts/ckeditor/lang/bn.js +5 -0
  49. data/app/assets/javascripts/ckeditor/lang/bs.js +5 -0
  50. data/app/assets/javascripts/ckeditor/lang/ca.js +5 -0
  51. data/app/assets/javascripts/ckeditor/lang/cs.js +5 -0
  52. data/app/assets/javascripts/ckeditor/lang/cy.js +5 -0
  53. data/app/assets/javascripts/ckeditor/lang/da.js +5 -0
  54. data/app/assets/javascripts/ckeditor/lang/de.js +5 -0
  55. data/app/assets/javascripts/ckeditor/lang/el.js +5 -0
  56. data/app/assets/javascripts/ckeditor/lang/en-au.js +5 -0
  57. data/app/assets/javascripts/ckeditor/lang/en-ca.js +5 -0
  58. data/app/assets/javascripts/ckeditor/lang/en-gb.js +5 -0
  59. data/app/assets/javascripts/ckeditor/lang/en.js +5 -0
  60. data/app/assets/javascripts/ckeditor/lang/eo.js +5 -0
  61. data/app/assets/javascripts/ckeditor/lang/es.js +5 -0
  62. data/app/assets/javascripts/ckeditor/lang/et.js +5 -0
  63. data/app/assets/javascripts/ckeditor/lang/eu.js +5 -0
  64. data/app/assets/javascripts/ckeditor/lang/fa.js +5 -0
  65. data/app/assets/javascripts/ckeditor/lang/fi.js +5 -0
  66. data/app/assets/javascripts/ckeditor/lang/fo.js +5 -0
  67. data/app/assets/javascripts/ckeditor/lang/fr-ca.js +5 -0
  68. data/app/assets/javascripts/ckeditor/lang/fr.js +5 -0
  69. data/app/assets/javascripts/ckeditor/lang/gl.js +5 -0
  70. data/app/assets/javascripts/ckeditor/lang/gu.js +5 -0
  71. data/app/assets/javascripts/ckeditor/lang/he.js +5 -0
  72. data/app/assets/javascripts/ckeditor/lang/hi.js +5 -0
  73. data/app/assets/javascripts/ckeditor/lang/hr.js +5 -0
  74. data/app/assets/javascripts/ckeditor/lang/hu.js +5 -0
  75. data/app/assets/javascripts/ckeditor/lang/is.js +5 -0
  76. data/app/assets/javascripts/ckeditor/lang/it.js +5 -0
  77. data/app/assets/javascripts/ckeditor/lang/ja.js +5 -0
  78. data/app/assets/javascripts/ckeditor/lang/ka.js +5 -0
  79. data/app/assets/javascripts/ckeditor/lang/km.js +5 -0
  80. data/app/assets/javascripts/ckeditor/lang/ko.js +5 -0
  81. data/app/assets/javascripts/ckeditor/lang/lt.js +5 -0
  82. data/app/assets/javascripts/ckeditor/lang/lv.js +5 -0
  83. data/app/assets/javascripts/ckeditor/lang/mk.js +5 -0
  84. data/app/assets/javascripts/ckeditor/lang/mn.js +5 -0
  85. data/app/assets/javascripts/ckeditor/lang/ms.js +5 -0
  86. data/app/assets/javascripts/ckeditor/lang/nb.js +5 -0
  87. data/app/assets/javascripts/ckeditor/lang/nl.js +5 -0
  88. data/app/assets/javascripts/ckeditor/lang/no.js +5 -0
  89. data/app/assets/javascripts/ckeditor/lang/pl.js +5 -0
  90. data/app/assets/javascripts/ckeditor/lang/pt-br.js +5 -0
  91. data/app/assets/javascripts/ckeditor/lang/pt.js +5 -0
  92. data/app/assets/javascripts/ckeditor/lang/ro.js +5 -0
  93. data/app/assets/javascripts/ckeditor/lang/ru.js +5 -0
  94. data/app/assets/javascripts/ckeditor/lang/sk.js +5 -0
  95. data/app/assets/javascripts/ckeditor/lang/sl.js +5 -0
  96. data/app/assets/javascripts/ckeditor/lang/sr-latn.js +5 -0
  97. data/app/assets/javascripts/ckeditor/lang/sr.js +5 -0
  98. data/app/assets/javascripts/ckeditor/lang/sv.js +5 -0
  99. data/app/assets/javascripts/ckeditor/lang/th.js +5 -0
  100. data/app/assets/javascripts/ckeditor/lang/tr.js +5 -0
  101. data/app/assets/javascripts/ckeditor/lang/ug.js +5 -0
  102. data/app/assets/javascripts/ckeditor/lang/uk.js +5 -0
  103. data/app/assets/javascripts/ckeditor/lang/vi.js +5 -0
  104. data/app/assets/javascripts/ckeditor/lang/zh-cn.js +5 -0
  105. data/app/assets/javascripts/ckeditor/lang/zh.js +5 -0
  106. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +9 -0
  107. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  108. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +9 -0
  109. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +8 -0
  110. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +8 -0
  111. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +9 -0
  112. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +9 -0
  113. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +8 -0
  114. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +9 -0
  115. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +8 -0
  116. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +9 -0
  117. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +9 -0
  118. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +8 -0
  119. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +8 -0
  120. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +9 -0
  121. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +8 -0
  122. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +8 -0
  123. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +9 -0
  124. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +8 -0
  125. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +8 -0
  126. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +8 -0
  127. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +9 -0
  128. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +8 -0
  129. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +8 -0
  130. data/app/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  131. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  132. data/app/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  133. data/app/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +9 -0
  134. data/app/assets/javascripts/ckeditor/plugins/ajax/plugin.js +6 -0
  135. data/app/assets/javascripts/ckeditor/plugins/attachment/dialogs/attachment.js +1 -0
  136. data/app/assets/javascripts/ckeditor/plugins/attachment/images/attachment.png +0 -0
  137. data/app/assets/javascripts/ckeditor/plugins/attachment/lang/en.js +10 -0
  138. data/app/assets/javascripts/ckeditor/plugins/attachment/lang/ru.js +10 -0
  139. data/app/assets/javascripts/ckeditor/plugins/attachment/lang/uk.js +10 -0
  140. data/app/assets/javascripts/ckeditor/plugins/attachment/plugin.js +1 -0
  141. data/app/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +8 -0
  142. data/app/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +22 -0
  143. data/app/assets/javascripts/ckeditor/plugins/bbcode/samples/bbcode.html +172 -0
  144. data/app/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  145. data/app/assets/javascripts/ckeditor/plugins/clipboard/samples/clipboard.html +210 -0
  146. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
  147. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +27 -0
  148. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +5 -0
  149. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +5 -0
  150. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +5 -0
  151. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +5 -0
  152. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +5 -0
  153. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +5 -0
  154. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +5 -0
  155. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +5 -0
  156. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +5 -0
  157. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +5 -0
  158. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +5 -0
  159. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +5 -0
  160. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +5 -0
  161. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +5 -0
  162. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +5 -0
  163. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +5 -0
  164. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +5 -0
  165. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +5 -0
  166. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +5 -0
  167. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +5 -0
  168. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +5 -0
  169. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +5 -0
  170. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +5 -0
  171. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +5 -0
  172. data/app/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +5 -0
  173. data/app/assets/javascripts/ckeditor/plugins/devtools/plugin.js +9 -0
  174. data/app/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  175. data/app/assets/javascripts/ckeditor/plugins/dialogadvtab/plugin.js +8 -0
  176. data/app/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +9 -0
  177. data/app/assets/javascripts/ckeditor/plugins/divarea/plugin.js +5 -0
  178. data/app/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +25 -0
  179. data/app/assets/javascripts/ckeditor/plugins/docprops/icons/docprops-rtl.png +0 -0
  180. data/app/assets/javascripts/ckeditor/plugins/docprops/icons/docprops.png +0 -0
  181. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/af.js +3 -0
  182. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ar.js +2 -0
  183. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/bg.js +3 -0
  184. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/bn.js +3 -0
  185. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/bs.js +3 -0
  186. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ca.js +3 -0
  187. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/cs.js +3 -0
  188. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/cy.js +3 -0
  189. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/da.js +3 -0
  190. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/de.js +3 -0
  191. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/el.js +3 -0
  192. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/en-au.js +3 -0
  193. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/en-ca.js +3 -0
  194. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/en-gb.js +3 -0
  195. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/en.js +3 -0
  196. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/eo.js +3 -0
  197. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/es.js +3 -0
  198. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/et.js +3 -0
  199. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/eu.js +3 -0
  200. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/fa.js +2 -0
  201. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/fi.js +3 -0
  202. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/fo.js +3 -0
  203. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/fr-ca.js +3 -0
  204. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/fr.js +3 -0
  205. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/gl.js +3 -0
  206. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/gu.js +3 -0
  207. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/he.js +2 -0
  208. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/hi.js +3 -0
  209. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/hr.js +3 -0
  210. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/hu.js +3 -0
  211. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/is.js +3 -0
  212. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/it.js +3 -0
  213. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ja.js +2 -0
  214. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ka.js +3 -0
  215. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/km.js +3 -0
  216. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ko.js +2 -0
  217. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/lt.js +3 -0
  218. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/lv.js +3 -0
  219. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/mk.js +3 -0
  220. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/mn.js +3 -0
  221. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ms.js +3 -0
  222. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/nb.js +3 -0
  223. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/nl.js +3 -0
  224. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/no.js +3 -0
  225. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/pl.js +3 -0
  226. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/pt-br.js +3 -0
  227. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/pt.js +3 -0
  228. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ro.js +3 -0
  229. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ru.js +3 -0
  230. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/sk.js +3 -0
  231. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/sl.js +3 -0
  232. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/sr-latn.js +3 -0
  233. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/sr.js +3 -0
  234. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/sv.js +2 -0
  235. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/th.js +3 -0
  236. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/tr.js +3 -0
  237. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/ug.js +3 -0
  238. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/uk.js +3 -0
  239. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/vi.js +3 -0
  240. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/zh-cn.js +2 -0
  241. data/app/assets/javascripts/ckeditor/plugins/docprops/lang/zh.js +2 -0
  242. data/app/assets/javascripts/ckeditor/plugins/docprops/plugin.js +6 -0
  243. data/app/assets/javascripts/ckeditor/plugins/embed/dialogs/embed.js +1 -0
  244. data/app/assets/javascripts/ckeditor/plugins/embed/images/embed.png +0 -0
  245. data/app/assets/javascripts/ckeditor/plugins/embed/lang/el.js +9 -0
  246. data/app/assets/javascripts/ckeditor/plugins/embed/lang/en.js +9 -0
  247. data/app/assets/javascripts/ckeditor/plugins/embed/lang/ru.js +9 -0
  248. data/app/assets/javascripts/ckeditor/plugins/embed/lang/uk.js +9 -0
  249. data/app/assets/javascripts/ckeditor/plugins/embed/plugin.js +1 -0
  250. data/app/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
  251. data/app/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +25 -0
  252. data/app/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +23 -0
  253. data/app/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  254. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +8 -0
  255. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  256. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +8 -0
  257. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
  258. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  259. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +20 -0
  260. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  261. data/app/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  262. data/app/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  263. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  264. data/app/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  265. data/app/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  266. data/app/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +8 -0
  267. data/app/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +41 -0
  268. data/app/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  269. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +8 -0
  270. data/app/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +36 -0
  271. data/app/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  272. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  273. data/app/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  274. data/app/assets/javascripts/ckeditor/plugins/magicline/samples/sample.html +544 -0
  275. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  276. data/app/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +30 -0
  277. data/app/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
  278. data/app/assets/javascripts/ckeditor/plugins/placeholder/icons/createplaceholder.png +0 -0
  279. data/app/assets/javascripts/ckeditor/plugins/placeholder/icons/editplaceholder.png +0 -0
  280. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +26 -0
  281. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +5 -0
  282. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +5 -0
  283. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +5 -0
  284. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +5 -0
  285. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +5 -0
  286. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +5 -0
  287. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +5 -0
  288. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +5 -0
  289. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +5 -0
  290. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +5 -0
  291. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +5 -0
  292. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +5 -0
  293. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +5 -0
  294. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +5 -0
  295. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +5 -0
  296. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +5 -0
  297. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +5 -0
  298. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +5 -0
  299. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +5 -0
  300. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +5 -0
  301. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +5 -0
  302. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +5 -0
  303. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +5 -0
  304. data/app/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +5 -0
  305. data/app/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +10 -0
  306. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
  307. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +19 -0
  308. data/app/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  309. data/app/assets/javascripts/ckeditor/plugins/selectionmark/plugin.js +9 -0
  310. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  311. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  312. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  313. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  314. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  315. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  316. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  317. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  318. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  319. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  320. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  321. data/app/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  322. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  323. data/app/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  324. data/app/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  325. data/app/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  326. data/app/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  327. data/app/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  328. data/app/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  329. data/app/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  330. data/app/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  331. data/app/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  332. data/app/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  333. data/app/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  334. data/app/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  335. data/app/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  336. data/app/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  337. data/app/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  338. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  339. data/app/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  340. data/app/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  341. data/app/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  342. data/app/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  343. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  344. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  345. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  346. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  347. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  348. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  349. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  350. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  351. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +13 -0
  352. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  353. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  354. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  355. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  356. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  357. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  358. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  359. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  360. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  361. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  362. data/app/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  363. data/app/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +7 -0
  364. data/app/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +20 -0
  365. data/app/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +13 -0
  366. data/app/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
  367. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  368. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  369. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  370. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  371. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  372. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  373. data/app/assets/javascripts/ckeditor/plugins/toolbar/samples/toolbar.html +80 -0
  374. data/app/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +10 -0
  375. data/app/assets/javascripts/ckeditor/plugins/uicolor/icons/uicolor.png +0 -0
  376. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +27 -0
  377. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +5 -0
  378. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +5 -0
  379. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +5 -0
  380. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +5 -0
  381. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +5 -0
  382. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +5 -0
  383. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +5 -0
  384. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +5 -0
  385. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +5 -0
  386. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +5 -0
  387. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +5 -0
  388. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +5 -0
  389. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +5 -0
  390. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +5 -0
  391. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +5 -0
  392. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +5 -0
  393. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +5 -0
  394. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +5 -0
  395. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +5 -0
  396. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +5 -0
  397. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +5 -0
  398. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +5 -0
  399. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +5 -0
  400. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +5 -0
  401. data/app/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +5 -0
  402. data/app/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +5 -0
  403. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  404. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  405. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  406. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  407. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +15 -0
  408. data/app/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +225 -0
  409. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  410. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  411. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  412. data/app/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +11 -0
  413. data/app/assets/javascripts/ckeditor/plugins/xml/plugin.js +7 -0
  414. data/app/assets/javascripts/ckeditor/samples/ajax.html +82 -0
  415. data/app/assets/javascripts/ckeditor/samples/api.html +210 -0
  416. data/app/assets/javascripts/ckeditor/samples/apidialog.html +164 -0
  417. data/app/assets/javascripts/ckeditor/samples/appendto.html +92 -0
  418. data/app/assets/javascripts/ckeditor/samples/assets/apidialog/my_dialog.js +5 -0
  419. data/app/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  420. data/app/assets/javascripts/ckeditor/samples/assets/outputforflash/outputforflash.fla +0 -0
  421. data/app/assets/javascripts/ckeditor/samples/assets/outputforflash/outputforflash.swf +0 -0
  422. data/app/assets/javascripts/ckeditor/samples/assets/outputforflash/swfobject.js +18 -0
  423. data/app/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
  424. data/app/assets/javascripts/ckeditor/samples/assets/posteddata.php +59 -0
  425. data/app/assets/javascripts/ckeditor/samples/assets/sample.css +3 -0
  426. data/app/assets/javascripts/ckeditor/samples/assets/stylesheetparser/sample.css +70 -0
  427. data/app/assets/javascripts/ckeditor/samples/autogrow.html +96 -0
  428. data/app/assets/javascripts/ckeditor/samples/bbcode.html +106 -0
  429. data/app/assets/javascripts/ckeditor/samples/devtools.html +80 -0
  430. data/app/assets/javascripts/ckeditor/samples/divarea.html +96 -0
  431. data/app/assets/javascripts/ckeditor/samples/divreplace.html +141 -0
  432. data/app/assets/javascripts/ckeditor/samples/enterkey.html +99 -0
  433. data/app/assets/javascripts/ckeditor/samples/fullpage.html +109 -0
  434. data/app/assets/javascripts/ckeditor/samples/index.html +133 -0
  435. data/app/assets/javascripts/ckeditor/samples/inlineall.html +338 -0
  436. data/app/assets/javascripts/ckeditor/samples/inlinebycode.html +138 -0
  437. data/app/assets/javascripts/ckeditor/samples/magicline.html +198 -0
  438. data/app/assets/javascripts/ckeditor/samples/outputforflash.html +246 -0
  439. data/app/assets/javascripts/ckeditor/samples/outputhtml.html +228 -0
  440. data/app/assets/javascripts/ckeditor/samples/outputxhtml.html +217 -0
  441. data/app/assets/javascripts/ckeditor/samples/placeholder.html +69 -0
  442. data/app/assets/javascripts/ckeditor/samples/readonly.html +73 -0
  443. data/app/assets/javascripts/ckeditor/samples/replacebyclass.html +95 -0
  444. data/app/assets/javascripts/ckeditor/samples/replacebycode.html +93 -0
  445. data/app/assets/javascripts/ckeditor/samples/sample.css +261 -0
  446. data/app/assets/javascripts/ckeditor/samples/sample_posteddata.php +16 -0
  447. data/app/assets/javascripts/ckeditor/samples/stylesheetparser.html +77 -0
  448. data/app/assets/javascripts/ckeditor/samples/tabindex.html +80 -0
  449. data/app/assets/javascripts/ckeditor/samples/tableresize.html +101 -0
  450. data/app/assets/javascripts/ckeditor/samples/uicolor.html +137 -0
  451. data/app/assets/javascripts/ckeditor/samples/uilanguages.html +119 -0
  452. data/app/assets/javascripts/ckeditor/skins/kama/dialog.css +5 -0
  453. data/app/assets/javascripts/ckeditor/skins/kama/dialog_ie.css +5 -0
  454. data/app/assets/javascripts/ckeditor/skins/kama/dialog_ie7.css +5 -0
  455. data/app/assets/javascripts/ckeditor/skins/kama/dialog_ie8.css +5 -0
  456. data/app/assets/javascripts/ckeditor/skins/kama/dialog_iequirks.css +5 -0
  457. data/app/assets/javascripts/ckeditor/skins/kama/dialog_opera.css +5 -0
  458. data/app/assets/javascripts/ckeditor/skins/kama/editor.css +5 -0
  459. data/app/assets/javascripts/ckeditor/skins/kama/editor_ie.css +5 -0
  460. data/app/assets/javascripts/ckeditor/skins/kama/editor_ie7.css +5 -0
  461. data/app/assets/javascripts/ckeditor/skins/kama/editor_ie8.css +5 -0
  462. data/app/assets/javascripts/ckeditor/skins/kama/editor_iequirks.css +5 -0
  463. data/app/assets/javascripts/ckeditor/skins/kama/icons.png +0 -0
  464. data/app/assets/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  465. data/app/assets/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  466. data/app/assets/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  467. data/app/assets/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  468. data/app/assets/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  469. data/app/assets/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  470. data/app/assets/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  471. data/app/assets/javascripts/ckeditor/skins/kama/readme.md +26 -0
  472. data/app/assets/javascripts/ckeditor/skins/moono/colorpanel.css +127 -0
  473. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css +895 -0
  474. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +51 -0
  475. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +41 -0
  476. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +15 -0
  477. data/app/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +21 -0
  478. data/app/assets/javascripts/ckeditor/skins/moono/editor.css +66 -0
  479. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +25 -0
  480. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css +78 -0
  481. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +200 -0
  482. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +27 -0
  483. data/app/assets/javascripts/ckeditor/skins/moono/elementspath.css +76 -0
  484. data/app/assets/javascripts/ckeditor/skins/moono/icons.svg +1714 -0
  485. data/app/assets/javascripts/ckeditor/skins/moono/icons/about.png +0 -0
  486. data/app/assets/javascripts/ckeditor/skins/moono/icons/anchor-rtl.png +0 -0
  487. data/app/assets/javascripts/ckeditor/skins/moono/icons/anchor.png +0 -0
  488. data/app/assets/javascripts/ckeditor/skins/moono/icons/bgcolor.png +0 -0
  489. data/app/assets/javascripts/ckeditor/skins/moono/icons/bidiltr.png +0 -0
  490. data/app/assets/javascripts/ckeditor/skins/moono/icons/bidirtl.png +0 -0
  491. data/app/assets/javascripts/ckeditor/skins/moono/icons/blockquote.png +0 -0
  492. data/app/assets/javascripts/ckeditor/skins/moono/icons/bold.png +0 -0
  493. data/app/assets/javascripts/ckeditor/skins/moono/icons/bulletedlist-rtl.png +0 -0
  494. data/app/assets/javascripts/ckeditor/skins/moono/icons/bulletedlist.png +0 -0
  495. data/app/assets/javascripts/ckeditor/skins/moono/icons/button.png +0 -0
  496. data/app/assets/javascripts/ckeditor/skins/moono/icons/checkbox.png +0 -0
  497. data/app/assets/javascripts/ckeditor/skins/moono/icons/copy-rtl.png +0 -0
  498. data/app/assets/javascripts/ckeditor/skins/moono/icons/copy.png +0 -0
  499. data/app/assets/javascripts/ckeditor/skins/moono/icons/creatediv.png +0 -0
  500. data/app/assets/javascripts/ckeditor/skins/moono/icons/cut-rtl.png +0 -0
  501. data/app/assets/javascripts/ckeditor/skins/moono/icons/cut.png +0 -0
  502. data/app/assets/javascripts/ckeditor/skins/moono/icons/docprops-rtl.png +0 -0
  503. data/app/assets/javascripts/ckeditor/skins/moono/icons/docprops.png +0 -0
  504. data/app/assets/javascripts/ckeditor/skins/moono/icons/find-rtl.png +0 -0
  505. data/app/assets/javascripts/ckeditor/skins/moono/icons/find.png +0 -0
  506. data/app/assets/javascripts/ckeditor/skins/moono/icons/flash.png +0 -0
  507. data/app/assets/javascripts/ckeditor/skins/moono/icons/form.png +0 -0
  508. data/app/assets/javascripts/ckeditor/skins/moono/icons/hiddenfield.png +0 -0
  509. data/app/assets/javascripts/ckeditor/skins/moono/icons/horizontalrule.png +0 -0
  510. data/app/assets/javascripts/ckeditor/skins/moono/icons/iframe.png +0 -0
  511. data/app/assets/javascripts/ckeditor/skins/moono/icons/image.png +0 -0
  512. data/app/assets/javascripts/ckeditor/skins/moono/icons/imagebutton.png +0 -0
  513. data/app/assets/javascripts/ckeditor/skins/moono/icons/indent-rtl.png +0 -0
  514. data/app/assets/javascripts/ckeditor/skins/moono/icons/indent.png +0 -0
  515. data/app/assets/javascripts/ckeditor/skins/moono/icons/italic.png +0 -0
  516. data/app/assets/javascripts/ckeditor/skins/moono/icons/justifyblock.png +0 -0
  517. data/app/assets/javascripts/ckeditor/skins/moono/icons/justifycenter.png +0 -0
  518. data/app/assets/javascripts/ckeditor/skins/moono/icons/justifyleft.png +0 -0
  519. data/app/assets/javascripts/ckeditor/skins/moono/icons/justifyright.png +0 -0
  520. data/app/assets/javascripts/ckeditor/skins/moono/icons/link.png +0 -0
  521. data/app/assets/javascripts/ckeditor/skins/moono/icons/maximize.png +0 -0
  522. data/app/assets/javascripts/ckeditor/skins/moono/icons/newpage-rtl.png +0 -0
  523. data/app/assets/javascripts/ckeditor/skins/moono/icons/newpage.png +0 -0
  524. data/app/assets/javascripts/ckeditor/skins/moono/icons/numberedlist-rtl.png +0 -0
  525. data/app/assets/javascripts/ckeditor/skins/moono/icons/numberedlist.png +0 -0
  526. data/app/assets/javascripts/ckeditor/skins/moono/icons/outdent-rtl.png +0 -0
  527. data/app/assets/javascripts/ckeditor/skins/moono/icons/outdent.png +0 -0
  528. data/app/assets/javascripts/ckeditor/skins/moono/icons/pagebreak-rtl.png +0 -0
  529. data/app/assets/javascripts/ckeditor/skins/moono/icons/pagebreak.png +0 -0
  530. data/app/assets/javascripts/ckeditor/skins/moono/icons/paste-rtl.png +0 -0
  531. data/app/assets/javascripts/ckeditor/skins/moono/icons/paste.png +0 -0
  532. data/app/assets/javascripts/ckeditor/skins/moono/icons/pastefromword-rtl.png +0 -0
  533. data/app/assets/javascripts/ckeditor/skins/moono/icons/pastefromword.png +0 -0
  534. data/app/assets/javascripts/ckeditor/skins/moono/icons/pastetext-rtl.png +0 -0
  535. data/app/assets/javascripts/ckeditor/skins/moono/icons/pastetext.png +0 -0
  536. data/app/assets/javascripts/ckeditor/skins/moono/icons/preview-rtl.png +0 -0
  537. data/app/assets/javascripts/ckeditor/skins/moono/icons/preview.png +0 -0
  538. data/app/assets/javascripts/ckeditor/skins/moono/icons/print.png +0 -0
  539. data/app/assets/javascripts/ckeditor/skins/moono/icons/radio.png +0 -0
  540. data/app/assets/javascripts/ckeditor/skins/moono/icons/redo-rtl.png +0 -0
  541. data/app/assets/javascripts/ckeditor/skins/moono/icons/redo.png +0 -0
  542. data/app/assets/javascripts/ckeditor/skins/moono/icons/removeformat.png +0 -0
  543. data/app/assets/javascripts/ckeditor/skins/moono/icons/replace.png +0 -0
  544. data/app/assets/javascripts/ckeditor/skins/moono/icons/save.png +0 -0
  545. data/app/assets/javascripts/ckeditor/skins/moono/icons/scayt.png +0 -0
  546. data/app/assets/javascripts/ckeditor/skins/moono/icons/select-rtl.png +0 -0
  547. data/app/assets/javascripts/ckeditor/skins/moono/icons/select.png +0 -0
  548. data/app/assets/javascripts/ckeditor/skins/moono/icons/selectall.png +0 -0
  549. data/app/assets/javascripts/ckeditor/skins/moono/icons/showblocks-rtl.png +0 -0
  550. data/app/assets/javascripts/ckeditor/skins/moono/icons/showblocks.png +0 -0
  551. data/app/assets/javascripts/ckeditor/skins/moono/icons/smiley.png +0 -0
  552. data/app/assets/javascripts/ckeditor/skins/moono/icons/source-rtl.png +0 -0
  553. data/app/assets/javascripts/ckeditor/skins/moono/icons/source.png +0 -0
  554. data/app/assets/javascripts/ckeditor/skins/moono/icons/specialchar.png +0 -0
  555. data/app/assets/javascripts/ckeditor/skins/moono/icons/spellchecker.png +0 -0
  556. data/app/assets/javascripts/ckeditor/skins/moono/icons/strike.png +0 -0
  557. data/app/assets/javascripts/ckeditor/skins/moono/icons/subscript.png +0 -0
  558. data/app/assets/javascripts/ckeditor/skins/moono/icons/superscript.png +0 -0
  559. data/app/assets/javascripts/ckeditor/skins/moono/icons/table.png +0 -0
  560. data/app/assets/javascripts/ckeditor/skins/moono/icons/templates-rtl.png +0 -0
  561. data/app/assets/javascripts/ckeditor/skins/moono/icons/templates.png +0 -0
  562. data/app/assets/javascripts/ckeditor/skins/moono/icons/textarea-rtl.png +0 -0
  563. data/app/assets/javascripts/ckeditor/skins/moono/icons/textarea.png +0 -0
  564. data/app/assets/javascripts/ckeditor/skins/moono/icons/textcolor.png +0 -0
  565. data/app/assets/javascripts/ckeditor/skins/moono/icons/textfield-rtl.png +0 -0
  566. data/app/assets/javascripts/ckeditor/skins/moono/icons/textfield.png +0 -0
  567. data/app/assets/javascripts/ckeditor/skins/moono/icons/uicolor.png +0 -0
  568. data/app/assets/javascripts/ckeditor/skins/moono/icons/underline.png +0 -0
  569. data/app/assets/javascripts/ckeditor/skins/moono/icons/undo-rtl.png +0 -0
  570. data/app/assets/javascripts/ckeditor/skins/moono/icons/undo.png +0 -0
  571. data/app/assets/javascripts/ckeditor/skins/moono/icons/unlink.png +0 -0
  572. data/app/assets/javascripts/ckeditor/skins/moono/icons_export_16.png +0 -0
  573. data/app/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  574. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  575. data/app/assets/javascripts/ckeditor/skins/moono/images/mini.png +0 -0
  576. data/app/assets/javascripts/ckeditor/skins/moono/mainui.css +206 -0
  577. data/app/assets/javascripts/ckeditor/skins/moono/menu.css +182 -0
  578. data/app/assets/javascripts/ckeditor/skins/moono/panel.css +241 -0
  579. data/app/assets/javascripts/ckeditor/skins/moono/presets.css +63 -0
  580. data/app/assets/javascripts/ckeditor/skins/moono/readme.md +26 -0
  581. data/app/assets/javascripts/ckeditor/skins/moono/reset.css +97 -0
  582. data/app/assets/javascripts/ckeditor/skins/moono/richcombo.css +217 -0
  583. data/app/assets/javascripts/ckeditor/skins/moono/skin.js +314 -0
  584. data/app/assets/javascripts/ckeditor/skins/moono/toolbar.css +436 -0
  585. data/app/assets/javascripts/ckeditor/styles.js +86 -0
  586. data/app/assets/stylesheets/ckeditor/application.css +6 -0
  587. data/app/controllers/ckeditor/application_controller.rb +32 -0
  588. data/app/controllers/ckeditor/attachment_files_controller.rb +23 -0
  589. data/app/controllers/ckeditor/pictures_controller.rb +23 -0
  590. data/app/views/ckeditor/attachment_files/index.html.erb +15 -0
  591. data/app/views/ckeditor/pictures/index.html.erb +15 -0
  592. data/app/views/ckeditor/shared/_asset.html.erb +20 -0
  593. data/app/views/ckeditor/shared/_asset_tmpl.html.erb +22 -0
  594. data/app/views/layouts/ckeditor/application.html.erb +31 -0
  595. data/config/locales/cs.ckeditor.yml +8 -0
  596. data/config/locales/de.ckeditor.yml +8 -0
  597. data/config/locales/el-GR.cdkeditor.yml +8 -0
  598. data/config/locales/en.ckeditor.yml +8 -0
  599. data/config/locales/es.ckeditor.yml +8 -0
  600. data/config/locales/fr.ckeditor.yml +8 -0
  601. data/config/locales/it.ckeditor.yml +8 -0
  602. data/config/locales/nl.ckeditor.yml +8 -0
  603. data/config/locales/pl.ckeditor.yml +8 -0
  604. data/config/locales/pt-BR.ckeditor.yml +8 -0
  605. data/config/locales/ru.ckeditor.yml +8 -0
  606. data/config/locales/sv-SE.ckeditor.yml +8 -0
  607. data/config/locales/uk.ckeditor.yml +8 -0
  608. data/config/locales/zh-CN.ckeditor.yml +8 -0
  609. data/config/routes.rb +4 -0
  610. data/lib/ckeditor.rb +76 -0
  611. data/lib/ckeditor/backend/carrierwave.rb +64 -0
  612. data/lib/ckeditor/backend/dragonfly.rb +45 -0
  613. data/lib/ckeditor/backend/paperclip.rb +56 -0
  614. data/lib/ckeditor/engine.rb +37 -0
  615. data/lib/ckeditor/helpers/controllers.rb +30 -0
  616. data/lib/ckeditor/helpers/form_builder.rb +11 -0
  617. data/lib/ckeditor/helpers/form_helper.rb +27 -0
  618. data/lib/ckeditor/helpers/view_helper.rb +22 -0
  619. data/lib/ckeditor/hooks/formtastic.rb +12 -0
  620. data/lib/ckeditor/hooks/simple_form.rb +17 -0
  621. data/lib/ckeditor/http.rb +89 -0
  622. data/lib/ckeditor/orm/active_record.rb +26 -0
  623. data/lib/ckeditor/orm/base.rb +46 -0
  624. data/lib/ckeditor/orm/mongoid.rb +43 -0
  625. data/lib/ckeditor/utils.rb +82 -0
  626. data/lib/ckeditor/version.rb +6 -0
  627. data/lib/generators/ckeditor/install_generator.rb +83 -0
  628. data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/asset.rb +7 -0
  629. data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb +7 -0
  630. data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/picture.rb +7 -0
  631. data/lib/generators/ckeditor/templates/active_record/carrierwave/migration.rb +26 -0
  632. data/lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/asset.rb +7 -0
  633. data/lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb +7 -0
  634. data/lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/picture.rb +12 -0
  635. data/lib/generators/ckeditor/templates/active_record/dragonfly/migration.rb +27 -0
  636. data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/asset.rb +4 -0
  637. data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/attachment_file.rb +12 -0
  638. data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/picture.rb +13 -0
  639. data/lib/generators/ckeditor/templates/active_record/paperclip/migration.rb +26 -0
  640. data/lib/generators/ckeditor/templates/base/carrierwave/uploaders/ckeditor_attachment_file_uploader.rb +42 -0
  641. data/lib/generators/ckeditor/templates/base/carrierwave/uploaders/ckeditor_picture_uploader.rb +53 -0
  642. data/lib/generators/ckeditor/templates/base/dragonfly/initializer.rb +26 -0
  643. data/lib/generators/ckeditor/templates/ckeditor.rb +18 -0
  644. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb +7 -0
  645. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb +7 -0
  646. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/picture.rb +7 -0
  647. data/lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/asset.rb +5 -0
  648. data/lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/attachment_file.rb +12 -0
  649. data/lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/picture.rb +13 -0
  650. data/test/ckeditor_test.rb +13 -0
  651. data/test/controllers/attachment_files_controller_test.rb +63 -0
  652. data/test/controllers/pictures_controller_test.rb +64 -0
  653. data/test/dummy/Rakefile +7 -0
  654. data/test/dummy/app/assets/javascripts/application.js +11 -0
  655. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  656. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  657. data/test/dummy/app/controllers/application_controller.rb +4 -0
  658. data/test/dummy/app/controllers/posts_controller.rb +83 -0
  659. data/test/dummy/app/helpers/application_helper.rb +2 -0
  660. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  661. data/test/dummy/app/models/post.rb +17 -0
  662. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  663. data/test/dummy/app/views/posts/_form.html.erb +30 -0
  664. data/test/dummy/app/views/posts/edit.html.erb +6 -0
  665. data/test/dummy/app/views/posts/index.html.erb +27 -0
  666. data/test/dummy/app/views/posts/new.html.erb +5 -0
  667. data/test/dummy/app/views/posts/show.html.erb +5 -0
  668. data/test/dummy/config.ru +4 -0
  669. data/test/dummy/config/application.rb +63 -0
  670. data/test/dummy/config/boot.rb +10 -0
  671. data/test/dummy/config/database.yml +25 -0
  672. data/test/dummy/config/environment.rb +5 -0
  673. data/test/dummy/config/environments/development.rb +37 -0
  674. data/test/dummy/config/environments/production.rb +67 -0
  675. data/test/dummy/config/environments/test.rb +37 -0
  676. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  677. data/test/dummy/config/initializers/ckeditor.rb +10 -0
  678. data/test/dummy/config/initializers/inflections.rb +15 -0
  679. data/test/dummy/config/initializers/mime_types.rb +5 -0
  680. data/test/dummy/config/initializers/secret_token.rb +7 -0
  681. data/test/dummy/config/initializers/session_store.rb +8 -0
  682. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  683. data/test/dummy/config/locales/en.yml +5 -0
  684. data/test/dummy/config/mongoid.yml +2 -0
  685. data/test/dummy/config/routes.rb +6 -0
  686. data/test/dummy/db/migrate/20110623120047_create_posts.rb +14 -0
  687. data/test/dummy/public/404.html +26 -0
  688. data/test/dummy/public/422.html +26 -0
  689. data/test/dummy/public/500.html +26 -0
  690. data/test/dummy/public/favicon.ico +0 -0
  691. data/test/dummy/script/rails +6 -0
  692. data/test/dummy/test/fixtures/files/rails.png +0 -0
  693. data/test/dummy/test/fixtures/files/rails.tar.gz +0 -0
  694. data/test/functional/posts_controller_test.rb +41 -0
  695. data/test/generators/install_generator_test.rb +97 -0
  696. data/test/integration/navigation_test.rb +7 -0
  697. data/test/models/attachment_file_test.rb +22 -0
  698. data/test/models/picture_test.rb +21 -0
  699. data/test/models/utils_test.rb +19 -0
  700. data/test/orm/active_record.rb +1 -0
  701. data/test/orm/mongoid.rb +6 -0
  702. data/test/support/controller_hooks.rb +27 -0
  703. data/test/support/helpers.rb +30 -0
  704. data/test/support/integration_case.rb +5 -0
  705. data/test/support/raw_post.rb +9 -0
  706. data/test/support/routes.txt +4 -0
  707. data/test/test_helper.rb +38 -0
  708. data/vendor/assets/javascripts/ckeditor/CHANGES.html +1548 -0
  709. data/vendor/assets/javascripts/ckeditor/INSTALL.html +92 -0
  710. data/vendor/assets/javascripts/ckeditor/LICENSE.html +1327 -0
  711. data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +6 -0
  712. data/vendor/assets/javascripts/ckeditor/ckeditor.js +152 -0
  713. data/vendor/assets/javascripts/ckeditor/ckeditor.pack +211 -0
  714. data/vendor/assets/javascripts/ckeditor/ckeditor_basic.js +8 -0
  715. data/vendor/assets/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
  716. data/vendor/assets/javascripts/ckeditor/ckeditor_source.js +35 -0
  717. data/vendor/assets/javascripts/ckeditor/config.js +11 -0
  718. data/vendor/assets/javascripts/ckeditor/contents.css +25 -0
  719. data/vendor/assets/javascripts/ckeditor/images/spacer.gif +0 -0
  720. data/vendor/assets/javascripts/ckeditor/lang/_languages.js +6 -0
  721. data/vendor/assets/javascripts/ckeditor/lang/_translationstatus.txt +64 -0
  722. data/vendor/assets/javascripts/ckeditor/lang/af.js +6 -0
  723. data/vendor/assets/javascripts/ckeditor/lang/ar.js +6 -0
  724. data/vendor/assets/javascripts/ckeditor/lang/bg.js +6 -0
  725. data/vendor/assets/javascripts/ckeditor/lang/bn.js +6 -0
  726. data/vendor/assets/javascripts/ckeditor/lang/bs.js +6 -0
  727. data/vendor/assets/javascripts/ckeditor/lang/ca.js +6 -0
  728. data/vendor/assets/javascripts/ckeditor/lang/cs.js +6 -0
  729. data/vendor/assets/javascripts/ckeditor/lang/cy.js +6 -0
  730. data/vendor/assets/javascripts/ckeditor/lang/da.js +6 -0
  731. data/vendor/assets/javascripts/ckeditor/lang/de.js +6 -0
  732. data/vendor/assets/javascripts/ckeditor/lang/el.js +6 -0
  733. data/vendor/assets/javascripts/ckeditor/lang/en-au.js +6 -0
  734. data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +6 -0
  735. data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +6 -0
  736. data/vendor/assets/javascripts/ckeditor/lang/en.js +6 -0
  737. data/vendor/assets/javascripts/ckeditor/lang/eo.js +6 -0
  738. data/vendor/assets/javascripts/ckeditor/lang/es.js +6 -0
  739. data/vendor/assets/javascripts/ckeditor/lang/et.js +6 -0
  740. data/vendor/assets/javascripts/ckeditor/lang/eu.js +6 -0
  741. data/vendor/assets/javascripts/ckeditor/lang/fa.js +6 -0
  742. data/vendor/assets/javascripts/ckeditor/lang/fi.js +6 -0
  743. data/vendor/assets/javascripts/ckeditor/lang/fo.js +6 -0
  744. data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +6 -0
  745. data/vendor/assets/javascripts/ckeditor/lang/fr.js +6 -0
  746. data/vendor/assets/javascripts/ckeditor/lang/gl.js +6 -0
  747. data/vendor/assets/javascripts/ckeditor/lang/gu.js +6 -0
  748. data/vendor/assets/javascripts/ckeditor/lang/he.js +6 -0
  749. data/vendor/assets/javascripts/ckeditor/lang/hi.js +6 -0
  750. data/vendor/assets/javascripts/ckeditor/lang/hr.js +6 -0
  751. data/vendor/assets/javascripts/ckeditor/lang/hu.js +6 -0
  752. data/vendor/assets/javascripts/ckeditor/lang/id.js +6 -0
  753. data/vendor/assets/javascripts/ckeditor/lang/is.js +6 -0
  754. data/vendor/assets/javascripts/ckeditor/lang/it.js +6 -0
  755. data/vendor/assets/javascripts/ckeditor/lang/ja.js +6 -0
  756. data/vendor/assets/javascripts/ckeditor/lang/ka.js +6 -0
  757. data/vendor/assets/javascripts/ckeditor/lang/km.js +6 -0
  758. data/vendor/assets/javascripts/ckeditor/lang/ko.js +6 -0
  759. data/vendor/assets/javascripts/ckeditor/lang/lt.js +6 -0
  760. data/vendor/assets/javascripts/ckeditor/lang/lv.js +6 -0
  761. data/vendor/assets/javascripts/ckeditor/lang/mk.js +6 -0
  762. data/vendor/assets/javascripts/ckeditor/lang/mn.js +6 -0
  763. data/vendor/assets/javascripts/ckeditor/lang/ms.js +6 -0
  764. data/vendor/assets/javascripts/ckeditor/lang/nb.js +6 -0
  765. data/vendor/assets/javascripts/ckeditor/lang/nl.js +6 -0
  766. data/vendor/assets/javascripts/ckeditor/lang/no.js +6 -0
  767. data/vendor/assets/javascripts/ckeditor/lang/pl.js +6 -0
  768. data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +6 -0
  769. data/vendor/assets/javascripts/ckeditor/lang/pt.js +6 -0
  770. data/vendor/assets/javascripts/ckeditor/lang/ro.js +6 -0
  771. data/vendor/assets/javascripts/ckeditor/lang/ru.js +6 -0
  772. data/vendor/assets/javascripts/ckeditor/lang/sk.js +6 -0
  773. data/vendor/assets/javascripts/ckeditor/lang/sl.js +6 -0
  774. data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +6 -0
  775. data/vendor/assets/javascripts/ckeditor/lang/sr.js +6 -0
  776. data/vendor/assets/javascripts/ckeditor/lang/sv.js +6 -0
  777. data/vendor/assets/javascripts/ckeditor/lang/th.js +6 -0
  778. data/vendor/assets/javascripts/ckeditor/lang/tr.js +6 -0
  779. data/vendor/assets/javascripts/ckeditor/lang/ug.js +6 -0
  780. data/vendor/assets/javascripts/ckeditor/lang/uk.js +6 -0
  781. data/vendor/assets/javascripts/ckeditor/lang/vi.js +6 -0
  782. data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +6 -0
  783. data/vendor/assets/javascripts/ckeditor/lang/zh.js +6 -0
  784. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
  785. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/_translationstatus.txt +25 -0
  786. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cs.js +6 -0
  787. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/cy.js +6 -0
  788. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/da.js +6 -0
  789. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/de.js +6 -0
  790. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/el.js +6 -0
  791. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
  792. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/eo.js +6 -0
  793. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fa.js +6 -0
  794. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fi.js +6 -0
  795. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/fr.js +6 -0
  796. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/gu.js +6 -0
  797. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
  798. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/it.js +6 -0
  799. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/mk.js +6 -0
  800. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nb.js +6 -0
  801. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/nl.js +6 -0
  802. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/no.js +6 -0
  803. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/pt-br.js +6 -0
  804. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/ro.js +6 -0
  805. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/tr.js +6 -0
  806. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/ug.js +6 -0
  807. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/vi.js +6 -0
  808. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/lang/zh-cn.js +6 -0
  809. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  810. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  811. data/vendor/assets/javascripts/ckeditor/plugins/adobeair/plugin.js +6 -0
  812. data/vendor/assets/javascripts/ckeditor/plugins/ajax/plugin.js +6 -0
  813. data/vendor/assets/javascripts/ckeditor/plugins/autogrow/plugin.js +6 -0
  814. data/vendor/assets/javascripts/ckeditor/plugins/bbcode/plugin.js +9 -0
  815. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
  816. data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
  817. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/_translationstatus.txt +28 -0
  818. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/bg.js +6 -0
  819. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cs.js +6 -0
  820. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/cy.js +6 -0
  821. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/da.js +6 -0
  822. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/de.js +6 -0
  823. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/el.js +6 -0
  824. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/en.js +6 -0
  825. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/eo.js +6 -0
  826. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/et.js +6 -0
  827. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fa.js +6 -0
  828. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fi.js +6 -0
  829. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/fr.js +6 -0
  830. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/gu.js +6 -0
  831. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/he.js +6 -0
  832. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/hr.js +6 -0
  833. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/it.js +6 -0
  834. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nb.js +6 -0
  835. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/nl.js +6 -0
  836. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/no.js +6 -0
  837. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pl.js +6 -0
  838. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/pt-br.js +6 -0
  839. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/tr.js +6 -0
  840. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/ug.js +6 -0
  841. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/uk.js +6 -0
  842. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/vi.js +6 -0
  843. data/vendor/assets/javascripts/ckeditor/plugins/devtools/lang/zh-cn.js +6 -0
  844. data/vendor/assets/javascripts/ckeditor/plugins/devtools/plugin.js +6 -0
  845. data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  846. data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -0
  847. data/vendor/assets/javascripts/ckeditor/plugins/docprops/dialogs/docprops.js +10 -0
  848. data/vendor/assets/javascripts/ckeditor/plugins/docprops/plugin.js +6 -0
  849. data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +10 -0
  850. data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
  851. data/vendor/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  852. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
  853. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
  854. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
  855. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
  856. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
  857. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
  858. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
  859. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
  860. data/vendor/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  861. data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
  862. data/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  863. data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
  864. data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +13 -0
  865. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
  866. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +12 -0
  867. data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  868. data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -0
  869. data/vendor/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  870. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +11 -0
  871. data/vendor/assets/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
  872. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
  873. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/_translationstatus.txt +27 -0
  874. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/bg.js +6 -0
  875. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cs.js +6 -0
  876. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/cy.js +6 -0
  877. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/da.js +6 -0
  878. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/de.js +6 -0
  879. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/el.js +6 -0
  880. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/en.js +6 -0
  881. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/eo.js +6 -0
  882. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/et.js +6 -0
  883. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fa.js +6 -0
  884. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fi.js +6 -0
  885. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/fr.js +6 -0
  886. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/he.js +6 -0
  887. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/hr.js +6 -0
  888. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/it.js +6 -0
  889. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nb.js +6 -0
  890. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/nl.js +6 -0
  891. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/no.js +6 -0
  892. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pl.js +6 -0
  893. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/pt-br.js +6 -0
  894. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/tr.js +6 -0
  895. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/ug.js +6 -0
  896. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/uk.js +6 -0
  897. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/vi.js +6 -0
  898. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/lang/zh-cn.js +6 -0
  899. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
  900. data/vendor/assets/javascripts/ckeditor/plugins/placeholder/plugin.js +6 -0
  901. data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
  902. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
  903. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
  904. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  905. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  906. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  907. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  908. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  909. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  910. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  911. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  912. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  913. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  914. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  915. data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
  916. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  917. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  918. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  919. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  920. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  921. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  922. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  923. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  924. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  925. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  926. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  927. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  928. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  929. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  930. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  931. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  932. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  933. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  934. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  935. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  936. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  937. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  938. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/_translationstatus.txt +22 -0
  939. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/cs.js +6 -0
  940. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/cy.js +6 -0
  941. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/de.js +6 -0
  942. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/el.js +6 -0
  943. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/en.js +6 -0
  944. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/eo.js +6 -0
  945. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/et.js +6 -0
  946. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/fa.js +6 -0
  947. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/fi.js +6 -0
  948. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/fr.js +6 -0
  949. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/he.js +6 -0
  950. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/hr.js +6 -0
  951. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/it.js +6 -0
  952. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/nb.js +6 -0
  953. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/nl.js +6 -0
  954. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/no.js +6 -0
  955. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/pt-br.js +6 -0
  956. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/tr.js +6 -0
  957. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/ug.js +6 -0
  958. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/lang/zh-cn.js +6 -0
  959. data/vendor/assets/javascripts/ckeditor/plugins/styles/styles/default.js +6 -0
  960. data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +6 -0
  961. data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +9 -0
  962. data/vendor/assets/javascripts/ckeditor/plugins/tableresize/plugin.js +7 -0
  963. data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
  964. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +7 -0
  965. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  966. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  967. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  968. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  969. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
  970. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/_translationstatus.txt +28 -0
  971. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/bg.js +6 -0
  972. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cs.js +6 -0
  973. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/cy.js +6 -0
  974. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/da.js +6 -0
  975. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/de.js +6 -0
  976. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/el.js +6 -0
  977. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
  978. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/eo.js +6 -0
  979. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/et.js +6 -0
  980. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fa.js +6 -0
  981. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fi.js +6 -0
  982. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/fr.js +6 -0
  983. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/he.js +6 -0
  984. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/hr.js +6 -0
  985. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/it.js +6 -0
  986. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/mk.js +6 -0
  987. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nb.js +6 -0
  988. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/nl.js +6 -0
  989. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/no.js +6 -0
  990. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pl.js +6 -0
  991. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/pt-br.js +6 -0
  992. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/tr.js +6 -0
  993. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/ug.js +6 -0
  994. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/uk.js +6 -0
  995. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/vi.js +6 -0
  996. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/lang/zh-cn.js +6 -0
  997. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
  998. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  999. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  1000. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  1001. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  1002. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  1003. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
  1004. data/vendor/assets/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
  1005. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  1006. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  1007. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
  1008. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
  1009. data/vendor/assets/javascripts/ckeditor/plugins/xml/plugin.js +6 -0
  1010. data/vendor/assets/javascripts/ckeditor/skins/kama/dialog.css +10 -0
  1011. data/vendor/assets/javascripts/ckeditor/skins/kama/editor.css +13 -0
  1012. data/vendor/assets/javascripts/ckeditor/skins/kama/icons.png +0 -0
  1013. data/vendor/assets/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
  1014. data/vendor/assets/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  1015. data/vendor/assets/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  1016. data/vendor/assets/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  1017. data/vendor/assets/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  1018. data/vendor/assets/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  1019. data/vendor/assets/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  1020. data/vendor/assets/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  1021. data/vendor/assets/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  1022. data/vendor/assets/javascripts/ckeditor/skins/kama/skin.js +7 -0
  1023. data/vendor/assets/javascripts/ckeditor/skins/kama/templates.css +6 -0
  1024. data/vendor/assets/javascripts/ckeditor/skins/office2003/dialog.css +10 -0
  1025. data/vendor/assets/javascripts/ckeditor/skins/office2003/editor.css +14 -0
  1026. data/vendor/assets/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  1027. data/vendor/assets/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
  1028. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  1029. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  1030. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  1031. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  1032. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  1033. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  1034. data/vendor/assets/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  1035. data/vendor/assets/javascripts/ckeditor/skins/office2003/skin.js +6 -0
  1036. data/vendor/assets/javascripts/ckeditor/skins/office2003/templates.css +6 -0
  1037. data/vendor/assets/javascripts/ckeditor/skins/v2/dialog.css +9 -0
  1038. data/vendor/assets/javascripts/ckeditor/skins/v2/editor.css +13 -0
  1039. data/vendor/assets/javascripts/ckeditor/skins/v2/icons.png +0 -0
  1040. data/vendor/assets/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
  1041. data/vendor/assets/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  1042. data/vendor/assets/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  1043. data/vendor/assets/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  1044. data/vendor/assets/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  1045. data/vendor/assets/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  1046. data/vendor/assets/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  1047. data/vendor/assets/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  1048. data/vendor/assets/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  1049. data/vendor/assets/javascripts/ckeditor/skins/v2/skin.js +6 -0
  1050. data/vendor/assets/javascripts/ckeditor/skins/v2/templates.css +6 -0
  1051. data/vendor/assets/javascripts/ckeditor/themes/default/theme.js +8 -0
  1052. metadata +1186 -0
@@ -0,0 +1,80 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>Standalone Toolbar &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../../../ckeditor.js"></script>
11
+ <link href="../../../samples/sample.css" rel="stylesheet">
12
+ </head>
13
+ <body>
14
+ <h1 class="samples">
15
+ CKEditor Sample &mdash; Toolbar configuration
16
+ </h1>
17
+ <div class="description">
18
+ <p>
19
+ This sample demonstrates how to customize the toolbar buttons.</p>
20
+ </div>
21
+ <!-- This <div> holds alert messages to be display in the sample page. -->
22
+ <div id="alerts">
23
+ <noscript>
24
+ <p>
25
+ <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
26
+ support, like yours, you should still see the contents (HTML data) and you should
27
+ be able to edit it normally, without a rich editor interface.
28
+ </p>
29
+ </noscript>
30
+ </div>
31
+ <div id="sample-doc">
32
+ <p>Inline editable element:</p>
33
+ <div id="editor1" contenteditable="true"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></div>
34
+ <script>
35
+
36
+ CKEDITOR.disableAutoInline = true;
37
+
38
+ // Create an inline CKEditor instance over the above editable div,
39
+ // with only the basic style buttons on toolbar.
40
+ CKEDITOR.inline( CKEDITOR.document.getById( 'editor1' ),
41
+ {
42
+ plugins : 'floatingspace,basicstyles,toolbar',
43
+ toolbar : [ [ 'Bold', 'Italic', 'Underline' ] ]
44
+ } );
45
+
46
+ </script>
47
+ <p>
48
+ <textarea cols="80" id="editor2" name="editor2" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
49
+ <script>
50
+
51
+ // Create a themed CKEditor instance over the textarea, with only
52
+ // two rows of compact buttons on toolbar.
53
+ CKEDITOR.replace( 'editor2',
54
+ {
55
+ plugins : 'wysiwygarea,toolbar,basicstyles,list,indent,justify,link',
56
+ toolbar :
57
+ [
58
+ { name: 'basicstyles', items : [ 'Bold','Italic','Underline','-','Link','Unlink' ] },
59
+ '/',
60
+ { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },
61
+ ]
62
+ } );
63
+
64
+ //]]>
65
+ </script>
66
+ </p>
67
+ </div>
68
+ <div id="footer">
69
+ <hr>
70
+ <p>
71
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">
72
+ http://ckeditor.com</a>
73
+ </p>
74
+ <p id="copy">
75
+ Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a>
76
+ - Frederico Knabben. All rights reserved.
77
+ </p>
78
+ </div>
79
+ </body>
80
+ </html>
@@ -0,0 +1,10 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("uicolor",function(b){function h(a){/^#/.test(a)&&(a=window.YAHOO.util.Color.hex2rgb(a.substr(1)));c.setValue(a,!0);c.refresh(e)}function f(a,j){(j||d._.contents.tab1.livePeview.getValue())&&b.setUiColor(a);d._.contents.tab1.configBox.setValue('config.uiColor = "#'+c.get("hex")+'"')}var d,c,g=b.getUiColor(),e="cke_uicolor_picker"+CKEDITOR.tools.getNextNumber(),i=!0;return{title:b.lang.uicolor.title,minWidth:360,minHeight:320,onLoad:function(){d=this;this.setupContent();CKEDITOR.env.ie7Compat&&
6
+ d.parts.contents.setStyle("overflow","hidden")},contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[{id:"yuiColorPicker",type:"html",html:"<div id='"+e+"' class='cke_uicolor_picker' style='width: 360px; height: 200px; position: relative;'></div>",onLoad:function(){var a=CKEDITOR.getUrl("plugins/uicolor/yui/");c=new window.YAHOO.widget.ColorPicker(e,{showhsvcontrols:!0,showhexcontrols:!0,images:{PICKER_THUMB:a+"assets/picker_thumb.png",HUE_THUMB:a+"assets/hue_thumb.png"}});g&&h(g);
7
+ c.on("rgbChange",function(){d._.contents.tab1.predefined.setValue("");f("#"+c.get("hex"))});for(var a=new CKEDITOR.dom.nodeList(c.getElementsByTagName("input")),b=0;b<a.count();b++)a.getItem(b).addClass("cke_dialog_ui_input_text")}},{id:"tab1",type:"vbox",children:[{id:"livePeview",type:"checkbox",label:b.lang.uicolor.preview,"default":1,onLoad:function(){i=!0},onChange:function(){if(!i){var a=this.getValue()?"#"+c.get("hex"):g;f(a,!0)}}},{type:"hbox",children:[{id:"predefined",type:"select","default":"",
8
+ label:b.lang.uicolor.predefined,items:[[""],["Light blue","#9AB8F3"],["Sand","#D2B48C"],["Metallic","#949AAA"],["Purple","#C2A3C7"],["Olive","#A2C980"],["Happy green","#9BD446"],["Jezebel Blue","#14B8C4"],["Burn","#FF893A"],["Easy red","#FF6969"],["Pisces 3","#48B4F2"],["Aquarius 5","#487ED4"],["Absinthe","#A8CF76"],["Scrambled Egg","#C7A622"],["Hello monday","#8E8D80"],["Lovely sunshine","#F1E8B1"],["Recycled air","#B3C593"],["Down","#BCBCA4"],["Mark Twain","#CFE91D"],["Specks of dust","#D1B596"],
9
+ ["Lollipop","#F6CE23"]],onChange:function(){var a=this.getValue();a?(h(a),f(a),CKEDITOR.document.getById("predefinedPreview").setStyle("background",a)):CKEDITOR.document.getById("predefinedPreview").setStyle("background","")},onShow:function(){var a=b.getUiColor();a&&this.setValue(a)}},{id:"predefinedPreview",type:"html",html:'<div id="cke_uicolor_preview" style="border: 1px solid black; padding: 3px; width: 30px;"><div id="predefinedPreview" style="width: 30px; height: 30px;">&nbsp;</div></div>'}]},
10
+ {id:"configBox",type:"text",label:b.lang.uicolor.config,onShow:function(){var a=b.getUiColor();a&&this.setValue('config.uiColor = "'+a+'"')}}]}]}],buttons:[CKEDITOR.dialog.okButton]}});
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
2
+ For licensing, see LICENSE.html or http://ckeditor.com/license
3
+
4
+ bg.js Found: 4 Missing: 0
5
+ cs.js Found: 4 Missing: 0
6
+ cy.js Found: 4 Missing: 0
7
+ da.js Found: 4 Missing: 0
8
+ de.js Found: 4 Missing: 0
9
+ el.js Found: 4 Missing: 0
10
+ eo.js Found: 4 Missing: 0
11
+ et.js Found: 4 Missing: 0
12
+ fa.js Found: 4 Missing: 0
13
+ fi.js Found: 4 Missing: 0
14
+ fr.js Found: 4 Missing: 0
15
+ he.js Found: 4 Missing: 0
16
+ hr.js Found: 4 Missing: 0
17
+ it.js Found: 4 Missing: 0
18
+ mk.js Found: 4 Missing: 0
19
+ nb.js Found: 4 Missing: 0
20
+ nl.js Found: 4 Missing: 0
21
+ no.js Found: 4 Missing: 0
22
+ pl.js Found: 4 Missing: 0
23
+ tr.js Found: 4 Missing: 0
24
+ ug.js Found: 4 Missing: 0
25
+ uk.js Found: 4 Missing: 0
26
+ vi.js Found: 4 Missing: 0
27
+ zh-cn.js Found: 4 Missing: 0
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","bg",{title:"ПИ избор на цвят",preview:"Преглед",config:"Вмъкнете този низ във Вашия config.js fajl",predefined:"Предефинирани цветови палитри"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","cs",{title:"Výběr barvy rozhraní",preview:"Živý náhled",config:"Vložte tento řetězec do Vašeho souboru config.js",predefined:"Přednastavené sady barev"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","cy",{title:"Dewisydd Lliwiau'r UI",preview:"Rhagolwg Byw",config:"Gludwch y llinyn hwn i'ch ffeil config.js",predefined:"Setiau lliw wedi'u cyn-ddiffinio"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","da",{title:"Brugerflade på farvevælger",preview:"Vis liveeksempel",config:"Indsæt denne streng i din config.js fil",predefined:"Prædefinerede farveskemaer"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","de",{title:"UI Pipette",preview:"Live-Vorschau",config:"Fügen Sie diese Zeichenfolge in die 'config.js' Datei.",predefined:"Vordefinierte Farbsätze"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","el",{title:"Διεπαφή Επιλογέα Χρωμάτων",preview:"Ζωντανή Προεπισκόπηση",config:"Επικολλήστε αυτό το κείμενο στο αρχείο config.js",predefined:"Προκαθορισμένα σύνολα χρωμάτων"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","en",{title:"UI Color Picker",preview:"Live preview",config:"Paste this string into your config.js file",predefined:"Predefined color sets"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","eo",{title:"UI Kolorselektilo",preview:"Vidigi la aspekton",config:"Gluu tiun signoĉenon en vian dosieron config.js",predefined:"Antaŭdifinita koloraro"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","et",{title:"Värvivalija kasutajaliides",preview:"Automaatne eelvaade",config:"Aseta see sõne oma config.js faili.",predefined:"Eelmääratud värvikomplektid"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","fa",{title:"انتخاب رنگ UI",preview:"پیش‌نمایش زنده",config:"این رشته را در فایل config.js خود بچسبانید.",predefined:"مجموعه رنگ از پیش تعریف شده"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","fi",{title:"Käyttöliittymän värivalitsin",preview:"Esikatsele",config:"Liitä tämä merkkijono config.js tiedostoosi",predefined:"Esimääritellyt värijoukot"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","fr",{title:"UI Sélecteur de couleur",preview:"Aperçu",config:"Collez cette chaîne de caractères dans votre fichier config.js",predefined:"Palettes de couleurs prédéfinies"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","he",{title:"בחירת צבע ממשק משתמש",preview:"תצוגה מקדימה",config:"הדבק את הטקסט הבא לתוך הקובץ config.js",predefined:"קבוצות צבעים מוגדרות מראש"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","hr",{title:"UI odabir boja",preview:"Pregled uživo",config:"Zalijepite ovaj tekst u Vašu config.js datoteku.",predefined:"Već postavljeni setovi boja"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","it",{title:"Selettore Colore UI",preview:"Anteprima Live",config:"Incolla questa stringa nel tuo file config.js",predefined:"Set di colori predefiniti"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","mk",{title:"Палета со бои",preview:"Преглед",config:"Залепи го овој текст во config.js датотеката",predefined:"Предефинирани множества на бои"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","nb",{title:"Fargevelger for brukergrensesnitt",preview:"Forhåndsvisning i sanntid",config:"Lim inn følgende tekst i din config.js-fil",predefined:"Forhåndsdefinerte fargesett"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","nl",{title:"UI Kleurenkiezer",preview:"Live voorbeeld",config:"Plak deze tekst in jouw config.js bestand",predefined:"Voorgedefinieerde kleurensets"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","no",{title:"Fargevelger for brukergrensesnitt",preview:"Forhåndsvisning i sanntid",config:"Lim inn følgende tekst i din config.js-fil",predefined:"Forhåndsdefinerte fargesett"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","pl",{title:"Wybór koloru interfejsu",preview:"Podgląd na żywo",config:"Wklej poniższy łańcuch znaków do pliku config.js:",predefined:"Predefiniowane zestawy kolorów"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","tr",{title:"UI Renk Seçicisi",preview:"Canlı önizleme",config:"Bu dizeyi config.js dosyasının içine yapıştırın",predefined:"Önceden tanımlanmış renk kümeleri"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","ug",{title:"ئىشلەتكۈچى ئارايۈزى رەڭ تاللىغۇچ",preview:"شۇئان ئالدىن كۆزىتىش",config:"بۇ ھەرپ تىزىقىنى config.js ھۆججەتكە چاپلايدۇ",predefined:"ئالدىن بەلگىلەنگەن رەڭلەر"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","uk",{title:"Color Picker Інтерфейс",preview:"Перегляд наживо",config:"Вставте цей рядок у файл config.js",predefined:"Стандартний набір кольорів"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","vi",{title:"Giao diện người dùng Color Picker",preview:"Xem trước trực tiếp",config:"Dán chuỗi này vào tập tin config.js của bạn",predefined:"Tập màu định nghĩa sẵn"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.setLang("uicolor","zh-cn",{title:"用户界面颜色选择器",preview:"即时预览",config:"粘贴此字符串到你的 config.js 文件",predefined:"预定义颜色集"});
@@ -0,0 +1,5 @@
1
+ /*
2
+ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.plugins.add("uicolor",{requires:"dialog",lang:"bg,cs,cy,da,de,el,en,eo,et,fa,fi,fr,he,hr,it,mk,nb,nl,no,pl,tr,ug,uk,vi,zh-cn",icons:"uicolor",init:function(a){CKEDITOR.env.ie6Compat||(a.addCommand("uicolor",new CKEDITOR.dialogCommand("uicolor")),a.ui.addButton&&a.ui.addButton("UIColor",{label:a.lang.uicolor.title,command:"uicolor",toolbar:"tools,1"}),CKEDITOR.dialog.add("uicolor",this.path+"dialogs/uicolor.js"),CKEDITOR.scriptLoader.load(CKEDITOR.getUrl("plugins/uicolor/yui/yui.js")),CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl("plugins/uicolor/yui/assets/yui.css")))}});
@@ -0,0 +1,15 @@
1
+ /*
2
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.net/yui/license.txt
5
+ version: 2.7.0
6
+ */
7
+ .yui-h-slider,.yui-v-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}
8
+
9
+ /*
10
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
11
+ Code licensed under the BSD License:
12
+ http://developer.yahoo.net/yui/license.txt
13
+ version: 2.7.0
14
+ */
15
+ .cke_uicolor_picker .yui-picker-panel{background:#e3e3e3;border-color:#888;}.cke_uicolor_picker .yui-picker-panel .hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid #e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}.cke_uicolor_picker .yui-picker-panel .bd{background:#e8e8e8;margin:1px;height:200px;}.cke_uicolor_picker .yui-picker-panel .ft{background:#e8e8e8;margin:1px;padding:1px;}.cke_uicolor_picker .yui-picker{position:relative;}.cke_uicolor_picker .yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}.cke_uicolor_picker .yui-picker-hue-bg{-moz-outline:none;outline:0 none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png) no-repeat;top:4px;}.cke_uicolor_picker .yui-picker-bg{-moz-outline:none;outline:0 none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html .cke_uicolor_picker .yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='picker_mask.png',sizingMethod='scale');}.cke_uicolor_picker .yui-picker-mask{position:absolute;z-index:1;top:0;left:0;}.cke_uicolor_picker .yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}.cke_uicolor_picker .yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px solid #888;}.cke_uicolor_picker .yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px solid #888;}.cke_uicolor_picker .yui-picker-controls{position:absolute;top:72px;left:226px;font:1em monospace;}.cke_uicolor_picker .yui-picker-controls .hd{background:transparent;border-width:0!important;}.cke_uicolor_picker .yui-picker-controls .bd{height:100px;border-width:0!important;}.cke_uicolor_picker .yui-picker-controls ul{float:left;padding:0 2px 0 0;margin:0;}.cke_uicolor_picker .yui-picker-controls li{padding:2px;list-style:none;margin:0;}.cke_uicolor_picker .yui-picker-controls input{font-size:.85em;width:2.4em;}.cke_uicolor_picker .yui-picker-hex-controls{clear:both;padding:2px;}.cke_uicolor_picker .yui-picker-hex-controls input{width:4.6em;}.cke_uicolor_picker .yui-picker-controls a{font:1em arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}
@@ -0,0 +1,225 @@
1
+ if("undefined"==typeof YAHOO||!YAHOO)var YAHOO={};YAHOO.namespace=function(){var c=arguments,e=null,b,d,a;for(b=0;b<c.length;b+=1){a=(""+c[b]).split(".");e=YAHOO;for(d="YAHOO"==a[0]?1:0;d<a.length;d+=1)e[a[d]]=e[a[d]]||{},e=e[a[d]]}return e};YAHOO.log=function(c,e,b){var d=YAHOO.widget.Logger;return d&&d.log?d.log(c,e,b):!1};
2
+ YAHOO.register=function(c,e,b){var d=YAHOO.env.modules,a,f,g;d[c]||(d[c]={versions:[],builds:[]});d=d[c];a=b.version;b=b.build;f=YAHOO.env.listeners;d.name=c;d.version=a;d.build=b;d.versions.push(a);d.builds.push(b);d.mainClass=e;for(g=0;g<f.length;g+=1)f[g](d);e?(e.VERSION=a,e.BUILD=b):YAHOO.log("mainClass is undefined for module "+c,"warn")};YAHOO.env=YAHOO.env||{modules:[],listeners:[]};YAHOO.env.getVersion=function(c){return YAHOO.env.modules[c]||null};
3
+ YAHOO.env.ua=function(){var c={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:0},e=navigator.userAgent,b;/KHTML/.test(e)&&(c.webkit=1);if((b=e.match(/AppleWebKit\/([^\s]*)/))&&b[1]){c.webkit=parseFloat(b[1]);if(/ Mobile\//.test(e))c.mobile="Apple";else if(b=e.match(/NokiaN[^\/]*/))c.mobile=b[0];if(b=e.match(/AdobeAIR\/([^\s]*)/))c.air=b[0]}if(!c.webkit)if((b=e.match(/Opera[\s\/]([^\s]*)/))&&b[1]){if(c.opera=parseFloat(b[1]),b=e.match(/Opera Mini[^;]*/))c.mobile=b[0]}else if((b=e.match(/MSIE\s([^;]*)/))&&
4
+ b[1])c.ie=parseFloat(b[1]);else if(b=e.match(/Gecko\/([^\s]*)/))if(c.gecko=1,(b=e.match(/rv:([^\s\)]*)/))&&b[1])c.gecko=parseFloat(b[1]);if((b=e.match(/Caja\/([^\s]*)/))&&b[1])c.caja=parseFloat(b[1]);return c}();(function(){YAHOO.namespace("util","widget","example");if("undefined"!==typeof YAHOO_config){var c=YAHOO_config.listener,e=YAHOO.env.listeners,b=!0,d;if(c){for(d=0;d<e.length;d+=1)if(e[d]==c){b=!1;break}b&&e.push(c)}}})();YAHOO.lang=YAHOO.lang||{};
5
+ (function(){var c=YAHOO.lang,e=Object.prototype,b=["toString","valueOf"],d={isArray:function(a){return"[object Array]"===e.toString.apply(a)},isBoolean:function(a){return"boolean"===typeof a},isFunction:function(a){return"[object Function]"===e.toString.apply(a)},isNull:function(a){return null===a},isNumber:function(a){return"number"===typeof a&&isFinite(a)},isObject:function(a){return a&&("object"===typeof a||c.isFunction(a))||!1},isString:function(a){return"string"===typeof a},isUndefined:function(a){return"undefined"===
6
+ typeof a},_IEEnumFix:YAHOO.env.ua.ie?function(a,d){var g,h,i;for(g=0;g<b.length;g+=1)h=b[g],i=d[h],c.isFunction(i)&&i!=e[h]&&(a[h]=i)}:function(){},extend:function(a,b,d){if(!b||!a)throw Error("extend failed, please check that all dependencies are included.");var h=function(){},i;h.prototype=b.prototype;a.prototype=new h;a.prototype.constructor=a;a.superclass=b.prototype;b.prototype.constructor==e.constructor&&(b.prototype.constructor=b);if(d){for(i in d)c.hasOwnProperty(d,i)&&(a.prototype[i]=d[i]);
7
+ c._IEEnumFix(a.prototype,d)}},augmentObject:function(a,b){if(!b||!a)throw Error("Absorb failed, verify dependencies.");var d=arguments,e,i=d[2];if(i&&!0!==i)for(e=2;e<d.length;e+=1)a[d[e]]=b[d[e]];else{for(e in b)if(i||!(e in a))a[e]=b[e];c._IEEnumFix(a,b)}},augmentProto:function(a,b){if(!b||!a)throw Error("Augment failed, verify dependencies.");var d=[a.prototype,b.prototype],e;for(e=2;e<arguments.length;e+=1)d.push(arguments[e]);c.augmentObject.apply(this,d)},dump:function(a,b){var d,e,i=[];if(c.isObject(a)){if(a instanceof
8
+ Date||"nodeType"in a&&"tagName"in a)return a;if(c.isFunction(a))return"f(){...}"}else return a+"";b=c.isNumber(b)?b:3;if(c.isArray(a)){i.push("[");d=0;for(e=a.length;d<e;d+=1)c.isObject(a[d])?i.push(0<b?c.dump(a[d],b-1):"{...}"):i.push(a[d]),i.push(", ");1<i.length&&i.pop();i.push("]")}else{i.push("{");for(d in a)c.hasOwnProperty(a,d)&&(i.push(d+" => "),c.isObject(a[d])?i.push(0<b?c.dump(a[d],b-1):"{...}"):i.push(a[d]),i.push(", "));1<i.length&&i.pop();i.push("}")}return i.join("")},substitute:function(a,
9
+ b,d){for(var h,i,j,k,l,m=[],n;;){h=a.lastIndexOf("{");if(0>h)break;i=a.indexOf("}",h);if(h+1>=i)break;k=n=a.substring(h+1,i);l=null;j=k.indexOf(" ");-1<j&&(l=k.substring(j+1),k=k.substring(0,j));j=b[k];d&&(j=d(k,j,l));c.isObject(j)?c.isArray(j)?j=c.dump(j,parseInt(l,10)):(l=l||"",k=l.indexOf("dump"),-1<k&&(l=l.substring(4)),j=j.toString===e.toString||-1<k?c.dump(j,parseInt(l,10)):j.toString()):!c.isString(j)&&!c.isNumber(j)&&(j="~-"+m.length+"-~",m[m.length]=n);a=a.substring(0,h)+j+a.substring(i+
10
+ 1)}for(h=m.length-1;0<=h;h-=1)a=a.replace(RegExp("~-"+h+"-~"),"{"+m[h]+"}","g");return a},trim:function(a){try{return a.replace(/^\s+|\s+$/g,"")}catch(b){return a}},merge:function(){var a={},b=arguments,d=b.length,e;for(e=0;e<d;e+=1)c.augmentObject(a,b[e],!0);return a},later:function(a,b,d,e,i){var a=a||0,b=b||{},j=d,k=e,l;c.isString(d)&&(j=b[d]);if(!j)throw new TypeError("method undefined");c.isArray(k)||(k=[e]);d=function(){j.apply(b,k)};l=i?setInterval(d,a):setTimeout(d,a);return{interval:i,cancel:function(){this.interval?
11
+ clearInterval(l):clearTimeout(l)}}},isValue:function(a){return c.isObject(a)||c.isString(a)||c.isNumber(a)||c.isBoolean(a)}};c.hasOwnProperty=e.hasOwnProperty?function(a,b){return a&&a.hasOwnProperty(b)}:function(a,b){return!c.isUndefined(a[b])&&a.constructor.prototype[b]!==a[b]};d.augmentObject(c,d,!0);YAHOO.util.Lang=c;c.augment=c.augmentProto;YAHOO.augment=c.augmentProto;YAHOO.extend=c.extend})();YAHOO.register("yahoo",YAHOO,{version:"2.7.0",build:"1796"});
12
+ (function(){YAHOO.env._id_counter=YAHOO.env._id_counter||0;var c=YAHOO.util,e=YAHOO.lang,b=YAHOO.env.ua,d=YAHOO.lang.trim,a={},f={},g=/^t(?:able|d|h)$/i,h=/color$/i,i=window.document,j=i.documentElement,k=b.opera,l=b.webkit,m=b.gecko,n=b.ie;c.Dom={CUSTOM_ATTRIBUTES:!j.hasAttribute?{"for":"htmlFor","class":"className"}:{htmlFor:"for",className:"class"},get:function(a){var b,d,f,e;if(a){if(a.nodeType||a.item)return a;if("string"===typeof a){b=a;a=i.getElementById(a);if(!(a&&a.id===b)&&a&&i.all){a=null;
13
+ d=i.all[b];f=0;for(e=d.length;f<e;++f)if(d[f].id===b)return d[f]}return a}a.DOM_EVENTS&&(a=a.get("element"));if("length"in a){b=[];f=0;for(e=a.length;f<e;++f)b[b.length]=c.Dom.get(a[f]);return b}return a}return null},getComputedStyle:function(a,b){if(window.getComputedStyle)return a.ownerDocument.defaultView.getComputedStyle(a,null)[b];if(a.currentStyle)return c.Dom.IE_ComputedStyle.get(a,b)},getStyle:function(a,b){return c.Dom.batch(a,c.Dom._getStyle,b)},_getStyle:function(){if(window.getComputedStyle)return function(a,
14
+ b){var b="float"===b?b="cssFloat":c.Dom._toCamel(b),d=a.style[b],f;d||(f=a.ownerDocument.defaultView.getComputedStyle(a,null))&&(d=f[b]);return d};if(j.currentStyle)return function(a,b){var d;switch(b){case "opacity":d=100;try{d=a.filters["DXImageTransform.Microsoft.Alpha"].opacity}catch(f){try{d=a.filters("alpha").opacity}catch(e){}}return d/100;case "float":b="styleFloat";default:return b=c.Dom._toCamel(b),d=a.currentStyle?a.currentStyle[b]:null,a.style[b]||d}}}(),setStyle:function(a,b,d){c.Dom.batch(a,
15
+ c.Dom._setStyle,{prop:b,val:d})},_setStyle:function(){return n?function(a,b){var d=c.Dom._toCamel(b.prop),f=b.val;if(a)switch(d){case "opacity":if(e.isString(a.style.filter)&&(a.style.filter="alpha(opacity="+100*f+")",!a.currentStyle||!a.currentStyle.hasLayout))a.style.zoom=1;break;case "float":d="styleFloat";default:a.style[d]=f}}:function(a,b){var d=c.Dom._toCamel(b.prop),f=b.val;a&&("float"==d&&(d="cssFloat"),a.style[d]=f)}}(),getXY:function(a){return c.Dom.batch(a,c.Dom._getXY)},_canPosition:function(a){return"none"!==
16
+ c.Dom._getStyle(a,"display")&&c.Dom._inDoc(a)},_getXY:function(){return i.documentElement.getBoundingClientRect?function(a){var d,f,e,g,j,h,m,k=Math.floor;f=!1;if(c.Dom._canPosition(a)){f=a.getBoundingClientRect();e=a.ownerDocument;a=c.Dom.getDocumentScrollLeft(e);d=c.Dom.getDocumentScrollTop(e);f=[k(f.left),k(f.top)];n&&8>b.ie&&(j=g=2,h=e.compatMode,m=o(e.documentElement,"borderLeftWidth"),e=o(e.documentElement,"borderTopWidth"),6===b.ie&&"BackCompat"!==h&&(j=g=0),"BackCompat"==h&&("medium"!==m&&
17
+ (g=parseInt(m,10)),"medium"!==e&&(j=parseInt(e,10))),f[0]-=g,f[1]-=j);if(d||a)f[0]+=a,f[1]+=d;f[0]=k(f[0]);f[1]=k(f[1])}return f}:function(a){var d,f,e,g=!1,j=a;if(c.Dom._canPosition(a)){g=[a.offsetLeft,a.offsetTop];d=c.Dom.getDocumentScrollLeft(a.ownerDocument);f=c.Dom.getDocumentScrollTop(a.ownerDocument);for(e=m||519<b.webkit?!0:!1;j=j.offsetParent;)g[0]+=j.offsetLeft,g[1]+=j.offsetTop,e&&(g=c.Dom._calcBorders(j,g));if("fixed"!==c.Dom._getStyle(a,"position")){for(j=a;(j=j.parentNode)&&j.tagName;)if(a=
18
+ j.scrollTop,e=j.scrollLeft,m&&"visible"!==c.Dom._getStyle(j,"overflow")&&(g=c.Dom._calcBorders(j,g)),a||e)g[0]-=e,g[1]-=a;g[0]+=d;g[1]+=f}else if(k)g[0]-=d,g[1]-=f;else if(l||m)g[0]+=d,g[1]+=f;g[0]=Math.floor(g[0]);g[1]=Math.floor(g[1])}return g}}(),getX:function(a){return c.Dom.batch(a,function(a){return c.Dom.getXY(a)[0]},c.Dom,!0)},getY:function(a){return c.Dom.batch(a,function(a){return c.Dom.getXY(a)[1]},c.Dom,!0)},setXY:function(a,b,d){c.Dom.batch(a,c.Dom._setXY,{pos:b,noRetry:d})},_setXY:function(a,
19
+ b){var d=c.Dom._getStyle(a,"position"),f=c.Dom.setStyle,e=b.pos,g=b.noRetry,j=[parseInt(c.Dom.getComputedStyle(a,"left"),10),parseInt(c.Dom.getComputedStyle(a,"top"),10)],h;"static"==d&&(d="relative",f(a,"position",d));h=c.Dom._getXY(a);if(!e||!1===h)return!1;isNaN(j[0])&&(j[0]="relative"==d?0:a.offsetLeft);isNaN(j[1])&&(j[1]="relative"==d?0:a.offsetTop);null!==e[0]&&f(a,"left",e[0]-h[0]+j[0]+"px");null!==e[1]&&f(a,"top",e[1]-h[1]+j[1]+"px");g||(d=c.Dom._getXY(a),(null!==e[0]&&d[0]!=e[0]||null!==
20
+ e[1]&&d[1]!=e[1])&&c.Dom._setXY(a,{pos:e,noRetry:!0}))},setX:function(a,b){c.Dom.setXY(a,[b,null])},setY:function(a,b){c.Dom.setXY(a,[null,b])},getRegion:function(a){return c.Dom.batch(a,function(a){var b=!1;c.Dom._canPosition(a)&&(b=c.Region.getRegion(a));return b},c.Dom,!0)},getClientWidth:function(){return c.Dom.getViewportWidth()},getClientHeight:function(){return c.Dom.getViewportHeight()},getElementsByClassName:function(a,b,d,f,g,j){a=e.trim(a);b=b||"*";d=d?c.Dom.get(d):i;if(!d)return[];for(var h=
21
+ [],b=d.getElementsByTagName(b),d=c.Dom.hasClass,m=0,k=b.length;m<k;++m)d(b[m],a)&&(h[h.length]=b[m]);f&&c.Dom.batch(h,f,g,j);return h},hasClass:function(a,b){return c.Dom.batch(a,c.Dom._hasClass,b)},_hasClass:function(a,b){var d=!1;a&&b&&(d=c.Dom.getAttribute(a,"className")||"",d=b.exec?b.test(d):b&&-1<(" "+d+" ").indexOf(" "+b+" "));return d},addClass:function(a,b){return c.Dom.batch(a,c.Dom._addClass,b)},_addClass:function(a,b){var f=!1,e;a&&b&&(e=c.Dom.getAttribute(a,"className")||"",c.Dom._hasClass(a,
22
+ b)||(c.Dom.setAttribute(a,"className",d(e+" "+b)),f=!0));return f},removeClass:function(a,b){return c.Dom.batch(a,c.Dom._removeClass,b)},_removeClass:function(a,b){var f=!1,e,g;a&&b&&(e=c.Dom.getAttribute(a,"className")||"",c.Dom.setAttribute(a,"className",e.replace(c.Dom._getClassRegex(b),"")),g=c.Dom.getAttribute(a,"className"),e!==g&&(c.Dom.setAttribute(a,"className",d(g)),f=!0,""===c.Dom.getAttribute(a,"className")&&(e=a.hasAttribute&&a.hasAttribute("class")?"class":"className",a.removeAttribute(e))));
23
+ return f},replaceClass:function(a,b,d){return c.Dom.batch(a,c.Dom._replaceClass,{from:b,to:d})},_replaceClass:function(a,b){var f,e,g=!1;a&&b&&(f=b.from,(e=b.to)?f?f!==e&&(g=c.Dom.getAttribute(a,"className")||"",f=(" "+g.replace(c.Dom._getClassRegex(f)," "+e)).split(c.Dom._getClassRegex(e)),f.splice(1,0," "+e),c.Dom.setAttribute(a,"className",d(f.join(""))),g=!0):g=c.Dom._addClass(a,b.to):g=!1);return g},generateId:function(a,b){var b=b||"yui-gen",d=function(a){if(a&&a.id)return a.id;var d=b+YAHOO.env._id_counter++;
24
+ if(a){if(a.ownerDocument.getElementById(d))return c.Dom.generateId(a,d+b);a.id=d}return d};return c.Dom.batch(a,d,c.Dom,!0)||d.apply(c.Dom,arguments)},isAncestor:function(a,b){var a=c.Dom.get(a),b=c.Dom.get(b),d=!1;a&&b&&(a.nodeType&&b.nodeType)&&(a.contains&&a!==b?d=a.contains(b):a.compareDocumentPosition&&(d=!!(a.compareDocumentPosition(b)&16)));return d},inDocument:function(a,b){return c.Dom._inDoc(c.Dom.get(a),b)},_inDoc:function(a,b){var d=!1;a&&a.tagName&&(b=b||a.ownerDocument,d=c.Dom.isAncestor(b.documentElement,
25
+ a));return d},getElementsBy:function(a,b,d,f,e,g,j){b=b||"*";d=d?c.Dom.get(d):i;if(!d)return[];for(var h=[],b=d.getElementsByTagName(b),d=0,m=b.length;d<m;++d)if(a(b[d]))if(j){h=b[d];break}else h[h.length]=b[d];f&&c.Dom.batch(h,f,e,g);return h},getElementBy:function(a,b,d){return c.Dom.getElementsBy(a,b,d,null,null,null,!0)},batch:function(a,b,d,f){var e=[],f=f?d:window;if((a=a&&(a.tagName||a.item)?a:c.Dom.get(a))&&b){if(a.tagName||void 0===a.length)return b.call(f,a,d);for(var g=0;g<a.length;++g)e[e.length]=
26
+ b.call(f,a[g],d)}else return!1;return e},getDocumentHeight:function(){return Math.max("CSS1Compat"!=i.compatMode||l?i.body.scrollHeight:j.scrollHeight,c.Dom.getViewportHeight())},getDocumentWidth:function(){return Math.max("CSS1Compat"!=i.compatMode||l?i.body.scrollWidth:j.scrollWidth,c.Dom.getViewportWidth())},getViewportHeight:function(){var a=self.innerHeight,b=i.compatMode;if((b||n)&&!k)a="CSS1Compat"==b?j.clientHeight:i.body.clientHeight;return a},getViewportWidth:function(){var a=self.innerWidth,
27
+ b=i.compatMode;if(b||n)a="CSS1Compat"==b?j.clientWidth:i.body.clientWidth;return a},getAncestorBy:function(a,b){for(;a=a.parentNode;)if(c.Dom._testElement(a,b))return a;return null},getAncestorByClassName:function(a,b){a=c.Dom.get(a);return!a?null:c.Dom.getAncestorBy(a,function(a){return c.Dom.hasClass(a,b)})},getAncestorByTagName:function(a,b){a=c.Dom.get(a);return!a?null:c.Dom.getAncestorBy(a,function(a){return a.tagName&&a.tagName.toUpperCase()==b.toUpperCase()})},getPreviousSiblingBy:function(a,
28
+ b){for(;a;)if(a=a.previousSibling,c.Dom._testElement(a,b))return a;return null},getPreviousSibling:function(a){a=c.Dom.get(a);return!a?null:c.Dom.getPreviousSiblingBy(a)},getNextSiblingBy:function(a,b){for(;a;)if(a=a.nextSibling,c.Dom._testElement(a,b))return a;return null},getNextSibling:function(a){a=c.Dom.get(a);return!a?null:c.Dom.getNextSiblingBy(a)},getFirstChildBy:function(a,b){return(c.Dom._testElement(a.firstChild,b)?a.firstChild:null)||c.Dom.getNextSiblingBy(a.firstChild,b)},getFirstChild:function(a){a=
29
+ c.Dom.get(a);return!a?null:c.Dom.getFirstChildBy(a)},getLastChildBy:function(a,b){return!a?null:(c.Dom._testElement(a.lastChild,b)?a.lastChild:null)||c.Dom.getPreviousSiblingBy(a.lastChild,b)},getLastChild:function(a){a=c.Dom.get(a);return c.Dom.getLastChildBy(a)},getChildrenBy:function(a,b){var d=c.Dom.getFirstChildBy(a,b),f=d?[d]:[];c.Dom.getNextSiblingBy(d,function(a){if(!b||b(a))f[f.length]=a;return!1});return f},getChildren:function(a){a=c.Dom.get(a);return c.Dom.getChildrenBy(a)},getDocumentScrollLeft:function(a){a=
30
+ a||i;return Math.max(a.documentElement.scrollLeft,a.body.scrollLeft)},getDocumentScrollTop:function(a){a=a||i;return Math.max(a.documentElement.scrollTop,a.body.scrollTop)},insertBefore:function(a,b){a=c.Dom.get(a);b=c.Dom.get(b);return!a||!b||!b.parentNode?null:b.parentNode.insertBefore(a,b)},insertAfter:function(a,b){a=c.Dom.get(a);b=c.Dom.get(b);return!a||!b||!b.parentNode?null:b.nextSibling?b.parentNode.insertBefore(a,b.nextSibling):b.parentNode.appendChild(a)},getClientRegion:function(){var a=
31
+ c.Dom.getDocumentScrollTop(),b=c.Dom.getDocumentScrollLeft(),d=c.Dom.getViewportWidth()+b,f=c.Dom.getViewportHeight()+a;return new c.Region(a,d,f,b)},setAttribute:function(a,b,d){b=c.Dom.CUSTOM_ATTRIBUTES[b]||b;a.setAttribute(b,d)},getAttribute:function(a,b){b=c.Dom.CUSTOM_ATTRIBUTES[b]||b;return a.getAttribute(b)},_toCamel:function(b){function d(a,b){return b.toUpperCase()}return a[b]||(a[b]=-1===b.indexOf("-")?b:b.replace(/-([a-z])/gi,d))},_getClassRegex:function(a){var b;void 0!==a&&(a.exec?b=
32
+ a:(b=f[a],b||(a=a.replace(c.Dom._patterns.CLASS_RE_TOKENS,"\\$1"),b=f[a]=RegExp("(?:^|\\s)"+a+"(?= |$)","g"))));return b},_patterns:{ROOT_TAG:/^body|html$/i,CLASS_RE_TOKENS:/([\.\(\)\^\$\*\+\?\|\[\]\{\}])/g},_testElement:function(a,b){return a&&1==a.nodeType&&(!b||b(a))},_calcBorders:function(a,b){var d=parseInt(c.Dom.getComputedStyle(a,"borderTopWidth"),10)||0,f=parseInt(c.Dom.getComputedStyle(a,"borderLeftWidth"),10)||0;m&&g.test(a.tagName)&&(f=d=0);b[0]+=f;b[1]+=d;return b}};var o=c.Dom.getComputedStyle;
33
+ b.opera&&(c.Dom.getComputedStyle=function(a,b){var d=o(a,b);h.test(b)&&(d=c.Dom.Color.toRGB(d));return d});b.webkit&&(c.Dom.getComputedStyle=function(a,b){var d=o(a,b);"rgba(0, 0, 0, 0)"===d&&(d="transparent");return d})})();YAHOO.util.Region=function(c,e,b,d){this.y=this.top=c;this[1]=c;this.right=e;this.bottom=b;this.x=this.left=d;this[0]=d;this.width=this.right-this.left;this.height=this.bottom-this.top};
34
+ YAHOO.util.Region.prototype.contains=function(c){return c.left>=this.left&&c.right<=this.right&&c.top>=this.top&&c.bottom<=this.bottom};YAHOO.util.Region.prototype.getArea=function(){return(this.bottom-this.top)*(this.right-this.left)};YAHOO.util.Region.prototype.intersect=function(c){var e=Math.max(this.top,c.top),b=Math.min(this.right,c.right),d=Math.min(this.bottom,c.bottom),c=Math.max(this.left,c.left);return d>=e&&b>=c?new YAHOO.util.Region(e,b,d,c):null};
35
+ YAHOO.util.Region.prototype.union=function(c){var e=Math.min(this.top,c.top),b=Math.max(this.right,c.right),d=Math.max(this.bottom,c.bottom),c=Math.min(this.left,c.left);return new YAHOO.util.Region(e,b,d,c)};YAHOO.util.Region.prototype.toString=function(){return"Region {top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}"};
36
+ YAHOO.util.Region.getRegion=function(c){var e=YAHOO.util.Dom.getXY(c);return new YAHOO.util.Region(e[1],e[0]+c.offsetWidth,e[1]+c.offsetHeight,e[0])};YAHOO.util.Point=function(c,e){YAHOO.lang.isArray(c)&&(e=c[1],c=c[0]);YAHOO.util.Point.superclass.constructor.call(this,e,c,e,c)};YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region);
37
+ (function(){var c=YAHOO.util,e=/^width|height$/,b=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,d={get:function(a,d){var e="",e=a.currentStyle[d];return e="opacity"===d?c.Dom.getStyle(a,"opacity"):!e||e.indexOf&&-1<e.indexOf("px")?e:c.Dom.IE_COMPUTED[d]?c.Dom.IE_COMPUTED[d](a,d):b.test(e)?c.Dom.IE.ComputedStyle.getPixel(a,d):e},getOffset:function(a,b){var d=a.currentStyle[b],c=b.charAt(0).toUpperCase()+b.substr(1),j="offset"+c,k="pixel"+c,c="";"auto"==d?(c=
38
+ d=a[j],e.test(b)&&(a.style[b]=d,a[j]>d&&(c=d-(a[j]-d)),a.style[b]="auto")):(!a.style[k]&&!a.style[b]&&(a.style[b]=d),c=a.style[k]);return c+"px"},getBorderWidth:function(a,b){var d=null;a.currentStyle.hasLayout||(a.style.zoom=1);switch(b){case "borderTopWidth":d=a.clientTop;break;case "borderBottomWidth":d=a.offsetHeight-a.clientHeight-a.clientTop;break;case "borderLeftWidth":d=a.clientLeft;break;case "borderRightWidth":d=a.offsetWidth-a.clientWidth-a.clientLeft}return d+"px"},getPixel:function(a,
39
+ b){var d=null,c=a.currentStyle.right;a.style.right=a.currentStyle[b];d=a.style.pixelRight;a.style.right=c;return d+"px"},getMargin:function(a,b){return"auto"==a.currentStyle[b]?"0px":c.Dom.IE.ComputedStyle.getPixel(a,b)},getVisibility:function(a,b){for(var d;(d=a.currentStyle)&&"inherit"==d[b];)a=a.parentNode;return d?d[b]:"visible"},getColor:function(a,b){return c.Dom.Color.toRGB(a.currentStyle[b])||"transparent"},getBorderColor:function(a,b){var d=a.currentStyle;return c.Dom.Color.toRGB(c.Dom.Color.toHex(d[b]||
40
+ d.color))}},a={};a.top=a.right=a.bottom=a.left=a.width=a.height=d.getOffset;a.color=d.getColor;a.borderTopWidth=a.borderRightWidth=a.borderBottomWidth=a.borderLeftWidth=d.getBorderWidth;a.marginTop=a.marginRight=a.marginBottom=a.marginLeft=d.getMargin;a.visibility=d.getVisibility;a.borderColor=a.borderTopColor=a.borderRightColor=a.borderBottomColor=a.borderLeftColor=d.getBorderColor;c.Dom.IE_COMPUTED=a;c.Dom.IE_ComputedStyle=d})();
41
+ (function(){var c=parseInt,e=RegExp,b=YAHOO.util;b.Dom.Color={KEYWORDS:{black:"000",silver:"c0c0c0",gray:"808080",white:"fff",maroon:"800000",red:"f00",purple:"800080",fuchsia:"f0f",green:"008000",lime:"0f0",olive:"808000",yellow:"ff0",navy:"000080",blue:"00f",teal:"008080",aqua:"0ff"},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(d){b.Dom.Color.re_RGB.test(d)||(d=b.Dom.Color.toHex(d));b.Dom.Color.re_hex.exec(d)&&
42
+ (d="rgb("+[c(e.$1,16),c(e.$2,16),c(e.$3,16)].join(", ")+")");return d},toHex:function(d){d=b.Dom.Color.KEYWORDS[d]||d;if(b.Dom.Color.re_RGB.exec(d))var d=1===e.$2.length?"0"+e.$2:Number(e.$2),a=1===e.$3.length?"0"+e.$3:Number(e.$3),d=[(1===e.$1.length?"0"+e.$1:Number(e.$1)).toString(16),d.toString(16),a.toString(16)].join("");6>d.length&&(d=d.replace(b.Dom.Color.re_hex3,"$1$1"));"transparent"!==d&&0>d.indexOf("#")&&(d="#"+d);return d.toLowerCase()}}})();
43
+ YAHOO.register("dom",YAHOO.util.Dom,{version:"2.7.0",build:"1796"});YAHOO.util.CustomEvent=function(c,e,b,d){this.type=c;this.scope=e||window;this.silent=b;this.signature=d||YAHOO.util.CustomEvent.LIST;this.subscribers=[];"_YUICEOnSubscribe"!==c&&(this.subscribeEvent=new YAHOO.util.CustomEvent("_YUICEOnSubscribe",this,!0));this.lastError=null};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;
44
+ YAHOO.util.CustomEvent.prototype={subscribe:function(c,e,b){if(!c)throw Error("Invalid callback for subscriber to '"+this.type+"'");this.subscribeEvent&&this.subscribeEvent.fire(c,e,b);this.subscribers.push(new YAHOO.util.Subscriber(c,e,b))},unsubscribe:function(c,e){if(!c)return this.unsubscribeAll();for(var b=!1,d=0,a=this.subscribers.length;d<a;++d){var f=this.subscribers[d];f&&f.contains(c,e)&&(this._delete(d),b=!0)}return b},fire:function(){this.lastError=null;var c=this.subscribers.length;if(!c&&
45
+ this.silent)return!0;var e=[].slice.call(arguments,0),b=!0,d,a=this.subscribers.slice(),f=YAHOO.util.Event.throwErrors;for(d=0;d<c;++d){var g=a[d];if(g){var h=g.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var i=null;0<e.length&&(i=e[0]);try{b=g.fn.call(h,i,g.obj)}catch(j){if(this.lastError=j,f)throw j;}}else try{b=g.fn.call(h,this.type,e,g.obj)}catch(k){if(this.lastError=k,f)throw k;}if(!1===b)break}}return!1!==b},unsubscribeAll:function(){var c=this.subscribers.length,e;
46
+ for(e=c-1;-1<e;e--)this._delete(e);this.subscribers=[];return c},_delete:function(c){var e=this.subscribers[c];e&&(delete e.fn,delete e.obj);this.subscribers.splice(c,1)},toString:function(){return"CustomEvent: '"+this.type+"', context: "+this.scope}};YAHOO.util.Subscriber=function(c,e,b){this.fn=c;this.obj=YAHOO.lang.isUndefined(e)?null:e;this.overrideContext=b};
47
+ YAHOO.util.Subscriber.prototype.getScope=function(c){return this.overrideContext?!0===this.overrideContext?this.obj:this.overrideContext:c};YAHOO.util.Subscriber.prototype.contains=function(c,e){return e?this.fn==c&&this.obj==e:this.fn==c};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }"};
48
+ YAHOO.util.Event||(YAHOO.util.Event=function(){var c=!1,e=[],b=[],d=[],a=[],f=0,g=[],h=[],i=0,j={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9},k=YAHOO.env.ua.ie?"focusin":"focus",l=YAHOO.env.ua.ie?"focusout":"blur";return{POLL_RETRYS:2E3,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:YAHOO.env.ua.ie,_interval:null,_dri:null,DOMReady:!1,throwErrors:!1,startInterval:function(){if(!this._interval){var a=
49
+ this;this._interval=setInterval(function(){a._tryPreloadAttach()},this.POLL_INTERVAL)}},onAvailable:function(a,b,d,c,e){for(var a=YAHOO.lang.isString(a)?[a]:a,j=0;j<a.length;j+=1)g.push({id:a[j],fn:b,obj:d,overrideContext:c,checkReady:e});f=this.POLL_RETRYS;this.startInterval()},onContentReady:function(a,b,d,c){this.onAvailable(a,b,d,c,!0)},onDOMReady:function(a,b,d){this.DOMReady?setTimeout(function(){var c=window;d&&(c=!0===d?b:d);a.call(c,"DOMReady",[],b)},0):this.DOMReadyEvent.subscribe(a,b,d)},
50
+ _addListener:function(c,f,g,j,k,i){if(!g||!g.call)return!1;if(this._isValidCollection(c)){for(var i=!0,l=0,s=c.length;l<s;++l)i=this.on(c[l],f,g,j,k)&&i;return i}if(YAHOO.lang.isString(c))if(l=this.getEl(c))c=l;else return this.onAvailable(c,function(){YAHOO.util.Event.on(c,f,g,j,k)}),!0;if(!c)return!1;if("unload"==f&&j!==this)return b[b.length]=[c,f,g,j,k],!0;var t=c;k&&(t=!0===k?j:k);l=function(a){return g.call(t,YAHOO.util.Event.getEvent(a,c),j)};s=[c,f,g,l,t,j,k];e[e.length]=s;if(this.useLegacyEvent(c,
51
+ f)){var p=this.getLegacyIndex(c,f);if(-1==p||c!=d[p][0])p=d.length,h[c.id+f]=p,d[p]=[c,f,c["on"+f]],a[p]=[],c["on"+f]=function(a){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(a),p)};a[p].push(s)}else try{this._simpleAdd(c,f,l,i)}catch(u){return this.lastError=u,this.removeListener(c,f,g),!1}return!0},addListener:function(a,b,d,c,f){return this._addListener(a,b,d,c,f,!1)},addFocusListener:function(a,b,d,c){return this._addListener(a,k,b,d,c,!0)},removeFocusListener:function(a,b){return this.removeListener(a,
52
+ k,b)},addBlurListener:function(a,b,d,c){return this._addListener(a,l,b,d,c,!0)},removeBlurListener:function(a,b){return this.removeListener(a,l,b)},fireLegacyEvent:function(b,c){var f=!0,e,g,j;e=a[c].slice();for(var h=0,k=e.length;h<k;++h)if((g=e[h])&&g[this.WFN])j=g[this.ADJ_SCOPE],g=g[this.WFN].call(j,b),f=f&&g;if((e=d[c])&&e[2])e[2](b);return f},getLegacyIndex:function(a,b){var d=this.generateId(a)+b;return"undefined"==typeof h[d]?-1:h[d]},useLegacyEvent:function(a,b){return this.webkit&&419>this.webkit&&
53
+ ("click"==b||"dblclick"==b)},removeListener:function(d,c,f,g){var j,h,k;if("string"==typeof d)d=this.getEl(d);else if(this._isValidCollection(d)){g=!0;for(j=d.length-1;-1<j;j--)g=this.removeListener(d[j],c,f)&&g;return g}if(!f||!f.call)return this.purgeElement(d,!1,c);if("unload"==c){for(j=b.length-1;-1<j;j--)if((k=b[j])&&k[0]==d&&k[1]==c&&k[2]==f)return b.splice(j,1),!0;return!1}j=null;"undefined"===typeof g&&(g=this._getCacheIndex(d,c,f));0<=g&&(j=e[g]);if(!d||!j)return!1;if(this.useLegacyEvent(d,
54
+ c)){j=this.getLegacyIndex(d,c);var i=a[j];if(i){j=0;for(h=i.length;j<h;++j)if((k=i[j])&&k[this.EL]==d&&k[this.TYPE]==c&&k[this.FN]==f){i.splice(j,1);break}}}else try{this._simpleRemove(d,c,j[this.WFN],!1)}catch(l){return this.lastError=l,!1}delete e[g][this.WFN];delete e[g][this.FN];e.splice(g,1);return!0},getTarget:function(a){return this.resolveTextNode(a.target||a.srcElement)},resolveTextNode:function(a){try{if(a&&3==a.nodeType)return a.parentNode}catch(b){}return a},getPageX:function(a){var b=
55
+ a.pageX;!b&&0!==b&&(b=a.clientX||0,this.isIE&&(b+=this._getScrollLeft()));return b},getPageY:function(a){var b=a.pageY;!b&&0!==b&&(b=a.clientY||0,this.isIE&&(b+=this._getScrollTop()));return b},getXY:function(a){return[this.getPageX(a),this.getPageY(a)]},getRelatedTarget:function(a){var b=a.relatedTarget;b||("mouseout"==a.type?b=a.toElement:"mouseover"==a.type&&(b=a.fromElement));return this.resolveTextNode(b)},getTime:function(a){if(!a.time){var b=(new Date).getTime();try{a.time=b}catch(d){return this.lastError=
56
+ d,b}}return a.time},stopEvent:function(a){this.stopPropagation(a);this.preventDefault(a)},stopPropagation:function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0},preventDefault:function(a){a.preventDefault?a.preventDefault():a.returnValue=!1},getEvent:function(a){a=a||window.event;if(!a)for(var b=this.getEvent.caller;b&&!((a=b.arguments[0])&&Event==a.constructor);)b=b.caller;return a},getCharCode:function(a){a=a.keyCode||a.charCode||0;YAHOO.env.ua.webkit&&a in j&&(a=j[a]);return a},_getCacheIndex:function(a,
57
+ b,d){for(var c=0,f=e.length;c<f;c+=1){var g=e[c];if(g&&g[this.FN]==d&&g[this.EL]==a&&g[this.TYPE]==b)return c}return-1},generateId:function(a){var b=a.id;b||(b="yuievtautoid-"+i,++i,a.id=b);return b},_isValidCollection:function(a){try{return a&&"string"!==typeof a&&a.length&&!a.tagName&&!a.alert&&"undefined"!==typeof a[0]}catch(b){return!1}},elCache:{},getEl:function(a){return"string"===typeof a?document.getElementById(a):a},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",
58
+ this),_load:function(){if(!c){c=!0;var a=YAHOO.util.Event;a._ready();a._tryPreloadAttach()}},_ready:function(){var a=YAHOO.util.Event;a.DOMReady||(a.DOMReady=!0,a.DOMReadyEvent.fire(),a._simpleRemove(document,"DOMContentLoaded",a._ready))},_tryPreloadAttach:function(){if(0===g.length)f=0,this._interval&&(clearInterval(this._interval),this._interval=null);else if(!this.locked)if(this.isIE&&!this.DOMReady)this.startInterval();else{this.locked=!0;var a=!c;a||(a=0<f&&0<g.length);var b=[],d=function(a,
59
+ b){var d=a;b.overrideContext&&(d=!0===b.overrideContext?b.obj:b.overrideContext);b.fn.call(d,b.obj)},e,j,h,k,i=[];e=0;for(j=g.length;e<j;e+=1)if(h=g[e])if(k=this.getEl(h.id))if(h.checkReady){if(c||k.nextSibling||!a)i.push(h),g[e]=null}else d(k,h),g[e]=null;else b.push(h);e=0;for(j=i.length;e<j;e+=1)h=i[e],d(this.getEl(h.id),h);f--;if(a){for(e=g.length-1;-1<e;e--)h=g[e],(!h||!h.id)&&g.splice(e,1);this.startInterval()}else this._interval&&(clearInterval(this._interval),this._interval=null);this.locked=
60
+ !1}},purgeElement:function(a,b,d){var a=YAHOO.lang.isString(a)?this.getEl(a):a,c=this.getListeners(a,d),f;if(c)for(f=c.length-1;-1<f;f--){var e=c[f];this.removeListener(a,e.type,e.fn)}if(b&&a&&a.childNodes){f=0;for(c=a.childNodes.length;f<c;++f)this.purgeElement(a.childNodes[f],b,d)}},getListeners:function(a,d){var c=[],f;f=d?"unload"===d?[b]:[e]:[e,b];for(var g=YAHOO.lang.isString(a)?this.getEl(a):a,j=0;j<f.length;j+=1){var h=f[j];if(h)for(var k=0,i=h.length;k<i;++k){var l=h[k];l&&(l[this.EL]===
61
+ g&&(!d||d===l[this.TYPE]))&&c.push({type:l[this.TYPE],fn:l[this.FN],obj:l[this.OBJ],adjust:l[this.OVERRIDE],scope:l[this.ADJ_SCOPE],index:k})}}return c.length?c:null},_unload:function(a){var c=YAHOO.util.Event,f,g,j,h=b.slice(),k;f=0;for(j=b.length;f<j;++f)if(g=h[f])k=window,g[c.ADJ_SCOPE]&&(k=!0===g[c.ADJ_SCOPE]?g[c.UNLOAD_OBJ]:g[c.ADJ_SCOPE]),g[c.FN].call(k,c.getEvent(a,g[c.EL]),g[c.UNLOAD_OBJ]),h[f]=null;b=null;if(e)for(a=e.length-1;-1<a;a--)(g=e[a])&&c.removeListener(g[c.EL],g[c.TYPE],g[c.FN],
62
+ a);d=null;c._simpleRemove(window,"unload",c._unload)},_getScrollLeft:function(){return this._getScroll()[1]},_getScrollTop:function(){return this._getScroll()[0]},_getScroll:function(){var a=document.documentElement,b=document.body;return a&&(a.scrollTop||a.scrollLeft)?[a.scrollTop,a.scrollLeft]:b?[b.scrollTop,b.scrollLeft]:[0,0]},regCE:function(){},_simpleAdd:function(){return window.addEventListener?function(a,b,d,c){a.addEventListener(b,d,c)}:window.attachEvent?function(a,b,d){a.attachEvent("on"+
63
+ b,d)}:function(){}}(),_simpleRemove:function(){return window.removeEventListener?function(a,b,d,c){a.removeEventListener(b,d,c)}:window.detachEvent?function(a,b,d){a.detachEvent("on"+b,d)}:function(){}}()}}(),function(){var c=YAHOO.util.Event;c.on=c.addListener;c.onFocus=c.addFocusListener;c.onBlur=c.addBlurListener;if(c.isIE){YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,!0);var e=document.createElement("p");c._dri=setInterval(function(){try{e.doScroll("left"),clearInterval(c._dri),
64
+ c._dri=null,c._ready(),e=null}catch(b){}},c.POLL_INTERVAL)}else c.webkit&&525>c.webkit?c._dri=setInterval(function(){var b=document.readyState;if("loaded"==b||"complete"==b)clearInterval(c._dri),c._dri=null,c._ready()},c.POLL_INTERVAL):c._simpleAdd(document,"DOMContentLoaded",c._ready);c._simpleAdd(window,"load",c._load);c._simpleAdd(window,"unload",c._unload);c._tryPreloadAttach()}());YAHOO.util.EventProvider=function(){};
65
+ YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(c,e,b,d){this.__yui_events=this.__yui_events||{};var a=this.__yui_events[c];if(a)a.subscribe(e,b,d);else{a=this.__yui_subscribers=this.__yui_subscribers||{};a[c]||(a[c]=[]);a[c].push({fn:e,obj:b,overrideContext:d})}},unsubscribe:function(c,e,b){var d=this.__yui_events=this.__yui_events||{};if(c){if(d=d[c])return d.unsubscribe(e,b)}else{var c=true,a;for(a in d)YAHOO.lang.hasOwnProperty(d,a)&&(c=c&&d[a].unsubscribe(e,
66
+ b));return c}return false},unsubscribeAll:function(c){return this.unsubscribe(c)},createEvent:function(c,e){this.__yui_events=this.__yui_events||{};var b=e||{},d=this.__yui_events;if(!d[c]){var a=new YAHOO.util.CustomEvent(c,b.scope||this,b.silent,YAHOO.util.CustomEvent.FLAT);d[c]=a;b.onSubscribeCallback&&a.subscribeEvent.subscribe(b.onSubscribeCallback);this.__yui_subscribers=this.__yui_subscribers||{};if(b=this.__yui_subscribers[c])for(var f=0;f<b.length;++f)a.subscribe(b[f].fn,b[f].obj,b[f].overrideContext)}return d[c]},
67
+ fireEvent:function(c,e,b,d){this.__yui_events=this.__yui_events||{};var a=this.__yui_events[c];if(!a)return null;for(var f=[],g=1;g<arguments.length;++g)f.push(arguments[g]);return a.fire.apply(a,f)},hasEvent:function(c){return this.__yui_events&&this.__yui_events[c]?true:false}};
68
+ (function(){var c=YAHOO.util.Event,e=YAHOO.lang;YAHOO.util.KeyListener=function(b,a,f,g){function h(b){if(!a.shift)a.shift=false;if(!a.alt)a.alt=false;if(!a.ctrl)a.ctrl=false;if(b.shiftKey==a.shift&&b.altKey==a.alt&&b.ctrlKey==a.ctrl){var d,f=a.keys,e;if(YAHOO.lang.isArray(f))for(var g=0;g<f.length;g++){d=f[g];e=c.getCharCode(b);if(d==e){i.fire(e,b);break}}else{e=c.getCharCode(b);f==e&&i.fire(e,b)}}}if(!g)g=YAHOO.util.KeyListener.KEYDOWN;var i=new YAHOO.util.CustomEvent("keyPressed");this.enabledEvent=
69
+ new YAHOO.util.CustomEvent("enabled");this.disabledEvent=new YAHOO.util.CustomEvent("disabled");e.isString(b)&&(b=document.getElementById(b));e.isFunction(f)?i.subscribe(f):i.subscribe(f.fn,f.scope,f.correctScope);this.enable=function(){if(!this.enabled){c.on(b,g,h);this.enabledEvent.fire(a)}this.enabled=true};this.disable=function(){if(this.enabled){c.removeListener(b,g,h);this.disabledEvent.fire(a)}this.enabled=false};this.toString=function(){return"KeyListener ["+a.keys+"] "+b.tagName+(b.id?"["+
70
+ b.id+"]":"")}};var b=YAHOO.util.KeyListener;b.KEYDOWN="keydown";b.KEYUP="keyup";b.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38}})();YAHOO.register("event",YAHOO.util.Event,{version:"2.7.0",build:"1796"});YAHOO.register("yahoo-dom-event",YAHOO,{version:"2.7.0",build:"1796"});
71
+ YAHOO.util.DragDropMgr||(YAHOO.util.DragDropMgr=function(){var c=YAHOO.util.Event,e=YAHOO.util.Dom;return{useShim:false,_shimActive:false,_shimState:false,_debugShim:false,_createShim:function(){var b=document.createElement("div");b.id="yui-ddm-shim";document.body.firstChild?document.body.insertBefore(b,document.body.firstChild):document.body.appendChild(b);b.style.display="none";b.style.backgroundColor="red";b.style.position="absolute";b.style.zIndex="99999";e.setStyle(b,"opacity","0");this._shim=
72
+ b;c.on(b,"mouseup",this.handleMouseUp,this,true);c.on(b,"mousemove",this.handleMouseMove,this,true);c.on(window,"scroll",this._sizeShim,this,true)},_sizeShim:function(){if(this._shimActive){var b=this._shim;b.style.height=e.getDocumentHeight()+"px";b.style.width=e.getDocumentWidth()+"px";b.style.top="0";b.style.left="0"}},_activateShim:function(){if(this.useShim){this._shim||this._createShim();this._shimActive=true;var b=this._shim,d="0";this._debugShim&&(d=".5");e.setStyle(b,"opacity",d);this._sizeShim();
73
+ b.style.display="block"}},_deactivateShim:function(){this._shim.style.display="none";this._shimActive=false},_shim:null,ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,interactionInfo:null,init:function(){this.initialized=true},POINT:0,INTERSECT:1,STRICT_INTERSECT:2,mode:0,_execOnAll:function(b,d){for(var a in this.ids)for(var c in this.ids[a]){var e=this.ids[a][c];this.isTypeOfDD(e)&&e[b].apply(e,d)}},_onLoad:function(){this.init();
74
+ c.on(document,"mouseup",this.handleMouseUp,this,true);c.on(document,"mousemove",this.handleMouseMove,this,true);c.on(window,"unload",this._onUnload,this,true);c.on(window,"resize",this._onResize,this,true)},_onResize:function(){this._execOnAll("resetConstraints",[])},lock:function(){this.locked=true},unlock:function(){this.locked=false},isLocked:function(){return this.locked},locationCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:1E3,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,
75
+ fromTimeout:false,regDragDrop:function(b,d){this.initialized||this.init();this.ids[d]||(this.ids[d]={});this.ids[d][b.id]=b},removeDDFromGroup:function(b,d){this.ids[d]||(this.ids[d]={});var a=this.ids[d];a&&a[b.id]&&delete a[b.id]},_remove:function(b){for(var d in b.groups)if(d){var a=this.ids[d];a&&a[b.id]&&delete a[b.id]}delete this.handleIds[b.id]},regHandle:function(b,d){this.handleIds[b]||(this.handleIds[b]={});this.handleIds[b][d]=d},isDragDrop:function(b){return this.getDDById(b)?true:false},
76
+ getRelated:function(b,d){var a=[],c;for(c in b.groups)for(var e in this.ids[c]){var h=this.ids[c][e];if(this.isTypeOfDD(h)&&(!d||h.isTarget))a[a.length]=h}return a},isLegalTarget:function(b,d){for(var a=this.getRelated(b,true),c=0,e=a.length;c<e;++c)if(a[c].id==d.id)return true;return false},isTypeOfDD:function(b){return b&&b.__ygDragDrop},isHandle:function(b,d){return this.handleIds[b]&&this.handleIds[b][d]},getDDById:function(b){for(var d in this.ids)if(this.ids[d][b])return this.ids[d][b];return null},
77
+ handleMouseDown:function(b,d){this.currentTarget=YAHOO.util.Event.getTarget(b);this.dragCurrent=d;var a=d.getEl();this.startX=YAHOO.util.Event.getPageX(b);this.startY=YAHOO.util.Event.getPageY(b);this.deltaX=this.startX-a.offsetLeft;this.deltaY=this.startY-a.offsetTop;this.dragThreshMet=false;this.clickTimeout=setTimeout(function(){var a=YAHOO.util.DDM;a.startDrag(a.startX,a.startY);a.fromTimeout=true},this.clickTimeThresh)},startDrag:function(b,d){if(this.dragCurrent&&this.dragCurrent.useShim){this._shimState=
78
+ this.useShim;this.useShim=true}this._activateShim();clearTimeout(this.clickTimeout);var a=this.dragCurrent;if(a&&a.events.b4StartDrag){a.b4StartDrag(b,d);a.fireEvent("b4StartDragEvent",{x:b,y:d})}if(a&&a.events.startDrag){a.startDrag(b,d);a.fireEvent("startDragEvent",{x:b,y:d})}this.dragThreshMet=true},handleMouseUp:function(b){if(this.dragCurrent){clearTimeout(this.clickTimeout);if(this.dragThreshMet){if(this.fromTimeout){this.fromTimeout=false;this.handleMouseMove(b)}this.fromTimeout=false;this.fireEvents(b,
79
+ true)}this.stopDrag(b);this.stopEvent(b)}},stopEvent:function(b){this.stopPropagation&&YAHOO.util.Event.stopPropagation(b);this.preventDefault&&YAHOO.util.Event.preventDefault(b)},stopDrag:function(b,d){var a=this.dragCurrent;if(a&&!d){if(this.dragThreshMet){if(a.events.b4EndDrag){a.b4EndDrag(b);a.fireEvent("b4EndDragEvent",{e:b})}if(a.events.endDrag){a.endDrag(b);a.fireEvent("endDragEvent",{e:b})}}if(a.events.mouseUp){a.onMouseUp(b);a.fireEvent("mouseUpEvent",{e:b})}}if(this._shimActive){this._deactivateShim();
80
+ if(this.dragCurrent&&this.dragCurrent.useShim){this.useShim=this._shimState;this._shimState=false}}this.dragCurrent=null;this.dragOvers={}},handleMouseMove:function(b){var d=this.dragCurrent;if(d){if(YAHOO.util.Event.isIE&&!b.button){this.stopEvent(b);return this.handleMouseUp(b)}if(!this.dragThreshMet){var a=Math.abs(this.startX-YAHOO.util.Event.getPageX(b)),c=Math.abs(this.startY-YAHOO.util.Event.getPageY(b));(a>this.clickPixelThresh||c>this.clickPixelThresh)&&this.startDrag(this.startX,this.startY)}if(this.dragThreshMet){if(d&&
81
+ d.events.b4Drag){d.b4Drag(b);d.fireEvent("b4DragEvent",{e:b})}if(d&&d.events.drag){d.onDrag(b);d.fireEvent("dragEvent",{e:b})}d&&this.fireEvents(b,false)}this.stopEvent(b)}},fireEvents:function(b,d){var a=this.dragCurrent;if(a&&!a.isLocked()&&!a.dragOnly){var c=YAHOO.util.Event.getPageX(b),e=YAHOO.util.Event.getPageY(b),h=new YAHOO.util.Point(c,e),e=a.getTargetCoord(h.x,h.y),i=a.getDragEl(),c=["out","over","drop","enter"],j=new YAHOO.util.Region(e.y,e.x+i.offsetWidth,e.y+i.offsetHeight,e.x),k=[],
82
+ l={},e=[],i={outEvts:[],overEvts:[],dropEvts:[],enterEvts:[]},m;for(m in this.dragOvers){var n=this.dragOvers[m];if(this.isTypeOfDD(n)){this.isOverTarget(h,n,this.mode,j)||i.outEvts.push(n);k[m]=true;delete this.dragOvers[m]}}for(var o in a.groups)if("string"==typeof o)for(m in this.ids[o]){n=this.ids[o][m];if(this.isTypeOfDD(n)&&n.isTarget&&(!n.isLocked()&&n!=a)&&this.isOverTarget(h,n,this.mode,j)){l[o]=true;if(d)i.dropEvts.push(n);else{k[n.id]?i.overEvts.push(n):i.enterEvts.push(n);this.dragOvers[n.id]=
83
+ n}}}this.interactionInfo={out:i.outEvts,enter:i.enterEvts,over:i.overEvts,drop:i.dropEvts,point:h,draggedRegion:j,sourceRegion:this.locationCache[a.id],validDrop:d};for(var r in l)e.push(r);if(d&&!i.dropEvts.length){this.interactionInfo.validDrop=false;if(a.events.invalidDrop){a.onInvalidDrop(b);a.fireEvent("invalidDropEvent",{e:b})}}for(m=0;m<c.length;m++){o=null;i[c[m]+"Evts"]&&(o=i[c[m]+"Evts"]);if(o&&o.length){k=c[m].charAt(0).toUpperCase()+c[m].substr(1);r="onDrag"+k;h="b4Drag"+k;j="drag"+k+
84
+ "Event";k="drag"+k;if(this.mode){if(a.events[h]){a[h](b,o,e);a.fireEvent(h+"Event",{event:b,info:o,group:e})}if(a.events[k]){a[r](b,o,e);a.fireEvent(j,{event:b,info:o,group:e})}}else{l=0;for(n=o.length;l<n;++l){if(a.events[h]){a[h](b,o[l].id,e[0]);a.fireEvent(h+"Event",{event:b,info:o[l].id,group:e[0]})}if(a.events[k]){a[r](b,o[l].id,e[0]);a.fireEvent(j,{event:b,info:o[l].id,group:e[0]})}}}}}}},getBestMatch:function(b){var d=null,a=b.length;if(a==1)d=b[0];else for(var c=0;c<a;++c){var e=b[c];if(this.mode==
85
+ this.INTERSECT&&e.cursorIsOver){d=e;break}else if(!d||!d.overlap||e.overlap&&d.overlap.getArea()<e.overlap.getArea())d=e}return d},refreshCache:function(b){var b=b||this.ids,d;for(d in b)if("string"==typeof d)for(var a in this.ids[d]){var c=this.ids[d][a];if(this.isTypeOfDD(c)){var e=this.getLocation(c);e?this.locationCache[c.id]=e:delete this.locationCache[c.id]}}},verifyEl:function(b){try{if(b&&b.offsetParent)return true}catch(d){}return false},getLocation:function(b){if(!this.isTypeOfDD(b))return null;
86
+ var d=b.getEl(),a,c,e;try{a=YAHOO.util.Dom.getXY(d)}catch(h){}if(!a)return null;c=a[0];e=c+d.offsetWidth;a=a[1];return new YAHOO.util.Region(a-b.padding[0],e+b.padding[1],a+d.offsetHeight+b.padding[2],c-b.padding[3])},isOverTarget:function(b,d,a,c){var e=this.locationCache[d.id];if(!e||!this.useCache){e=this.getLocation(d);this.locationCache[d.id]=e}if(!e)return false;d.cursorIsOver=e.contains(b);var h=this.dragCurrent;if(!h||!a&&!h.constrainX&&!h.constrainY)return d.cursorIsOver;d.overlap=null;if(!c){b=
87
+ h.getTargetCoord(b.x,b.y);h=h.getDragEl();c=new YAHOO.util.Region(b.y,b.x+h.offsetWidth,b.y+h.offsetHeight,b.x)}if(e=c.intersect(e)){d.overlap=e;return a?true:d.cursorIsOver}return false},_onUnload:function(){this.unregAll()},unregAll:function(){if(this.dragCurrent){this.stopDrag();this.dragCurrent=null}this._execOnAll("unreg",[]);this.ids={}},elementCache:{},getElWrapper:function(b){var d=this.elementCache[b];if(!d||!d.el)d=this.elementCache[b]=new this.ElementWrapper(YAHOO.util.Dom.get(b));return d},
88
+ getElement:function(b){return YAHOO.util.Dom.get(b)},getCss:function(b){return(b=YAHOO.util.Dom.get(b))?b.style:null},ElementWrapper:function(b){this.id=(this.el=b||null)&&b.id;this.css=this.el&&b.style},getPosX:function(b){return YAHOO.util.Dom.getX(b)},getPosY:function(b){return YAHOO.util.Dom.getY(b)},swapNode:function(b,d){if(b.swapNode)b.swapNode(d);else{var a=d.parentNode,c=d.nextSibling;if(c==b)a.insertBefore(b,d);else if(d==b.nextSibling)a.insertBefore(d,b);else{b.parentNode.replaceChild(d,
89
+ b);a.insertBefore(b,c)}}},getScroll:function(){var b,d,a=document.documentElement,c=document.body;if(a&&(a.scrollTop||a.scrollLeft)){b=a.scrollTop;d=a.scrollLeft}else if(c){b=c.scrollTop;d=c.scrollLeft}return{top:b,left:d}},getStyle:function(b,d){return YAHOO.util.Dom.getStyle(b,d)},getScrollTop:function(){return this.getScroll().top},getScrollLeft:function(){return this.getScroll().left},moveToEl:function(b,d){var a=YAHOO.util.Dom.getXY(d);YAHOO.util.Dom.setXY(b,a)},getClientHeight:function(){return YAHOO.util.Dom.getViewportHeight()},
90
+ getClientWidth:function(){return YAHOO.util.Dom.getViewportWidth()},numericSort:function(b,d){return b-d},_timeoutCount:0,_addListeners:function(){var b=YAHOO.util.DDM;if(YAHOO.util.Event&&document)b._onLoad();else if(!(b._timeoutCount>2E3)){setTimeout(b._addListeners,10);if(document&&document.body)b._timeoutCount=b._timeoutCount+1}},handleWasClicked:function(b,d){if(this.isHandle(d,b.id))return true;for(var a=b.parentNode;a;){if(this.isHandle(d,a.id))return true;a=a.parentNode}return false}}}(),
91
+ YAHOO.util.DDM=YAHOO.util.DragDropMgr,YAHOO.util.DDM._addListeners());
92
+ (function(){var c=YAHOO.util.Event,e=YAHOO.util.Dom;YAHOO.util.DragDrop=function(b,d,a){b&&this.init(b,d,a)};YAHOO.util.DragDrop.prototype={events:null,on:function(){this.subscribe.apply(this,arguments)},id:null,config:null,dragElId:null,handleElId:null,invalidHandleTypes:null,invalidHandleIds:null,invalidHandleClasses:null,startPageX:0,startPageY:0,groups:null,locked:false,lock:function(){this.locked=true},unlock:function(){this.locked=false},isTarget:true,padding:null,dragOnly:false,useShim:false,
93
+ _domRef:null,__ygDragDrop:true,constrainX:false,constrainY:false,minX:0,maxX:0,minY:0,maxY:0,deltaX:0,deltaY:0,maintainOffset:false,xTicks:null,yTicks:null,primaryButtonOnly:true,available:false,hasOuterHandles:false,cursorIsOver:false,overlap:null,b4StartDrag:function(){},startDrag:function(){},b4Drag:function(){},onDrag:function(){},onDragEnter:function(){},b4DragOver:function(){},onDragOver:function(){},b4DragOut:function(){},onDragOut:function(){},b4DragDrop:function(){},onDragDrop:function(){},
94
+ onInvalidDrop:function(){},b4EndDrag:function(){},endDrag:function(){},b4MouseDown:function(){},onMouseDown:function(){},onMouseUp:function(){},onAvailable:function(){},getEl:function(){if(!this._domRef)this._domRef=e.get(this.id);return this._domRef},getDragEl:function(){return e.get(this.dragElId)},init:function(b,d,a){this.initTarget(b,d,a);c.on(this._domRef||this.id,"mousedown",this.handleMouseDown,this,true);for(var e in this.events)this.createEvent(e+"Event")},initTarget:function(b,d,a){this.config=
95
+ a||{};this.events={};this.DDM=YAHOO.util.DDM;this.groups={};if(typeof b!=="string"){this._domRef=b;b=e.generateId(b)}this.id=b;this.addToGroup(d?d:"default");this.handleElId=b;c.onAvailable(b,this.handleOnAvailable,this,true);this.setDragElId(b);this.invalidHandleTypes={A:"A"};this.invalidHandleIds={};this.invalidHandleClasses=[];this.applyConfig()},applyConfig:function(){this.events={mouseDown:true,b4MouseDown:true,mouseUp:true,b4StartDrag:true,startDrag:true,b4EndDrag:true,endDrag:true,drag:true,
96
+ b4Drag:true,invalidDrop:true,b4DragOut:true,dragOut:true,dragEnter:true,b4DragOver:true,dragOver:true,b4DragDrop:true,dragDrop:true};if(this.config.events)for(var b in this.config.events)this.config.events[b]===false&&(this.events[b]=false);this.padding=this.config.padding||[0,0,0,0];this.isTarget=this.config.isTarget!==false;this.maintainOffset=this.config.maintainOffset;this.primaryButtonOnly=this.config.primaryButtonOnly!==false;this.dragOnly=this.config.dragOnly===true?true:false;this.useShim=
97
+ this.config.useShim===true?true:false},handleOnAvailable:function(){this.available=true;this.resetConstraints();this.onAvailable()},setPadding:function(b,d,a,c){this.padding=!d&&0!==d?[b,b,b,b]:!a&&0!==a?[b,d,b,d]:[b,d,a,c]},setInitPosition:function(b,d){var a=this.getEl();if(this.DDM.verifyEl(a)){var c=b||0,g=d||0,a=e.getXY(a);this.initPageX=a[0]-c;this.initPageY=a[1]-g;this.lastPageX=a[0];this.lastPageY=a[1];this.setStartPosition(a)}},setStartPosition:function(b){b=b||e.getXY(this.getEl());this.deltaSetXY=
98
+ null;this.startPageX=b[0];this.startPageY=b[1]},addToGroup:function(b){this.groups[b]=true;this.DDM.regDragDrop(this,b)},removeFromGroup:function(b){this.groups[b]&&delete this.groups[b];this.DDM.removeDDFromGroup(this,b)},setDragElId:function(b){this.dragElId=b},setHandleElId:function(b){typeof b!=="string"&&(b=e.generateId(b));this.handleElId=b;this.DDM.regHandle(this.id,b)},setOuterHandleElId:function(b){typeof b!=="string"&&(b=e.generateId(b));c.on(b,"mousedown",this.handleMouseDown,this,true);
99
+ this.setHandleElId(b);this.hasOuterHandles=true},unreg:function(){c.removeListener(this.id,"mousedown",this.handleMouseDown);this._domRef=null;this.DDM._remove(this)},isLocked:function(){return this.DDM.isLocked()||this.locked},handleMouseDown:function(b){var d=b.which||b.button;if(!(this.primaryButtonOnly&&d>1)&&!this.isLocked()){var d=this.b4MouseDown(b),a=true;this.events.b4MouseDown&&(a=this.fireEvent("b4MouseDownEvent",b));var e=this.onMouseDown(b),g=true;this.events.mouseDown&&(g=this.fireEvent("mouseDownEvent",
100
+ b));if(!(d===false||e===false||a===false||g===false)){this.DDM.refreshCache(this.groups);d=new YAHOO.util.Point(c.getPageX(b),c.getPageY(b));if((this.hasOuterHandles||this.DDM.isOverTarget(d,this))&&this.clickValidator(b)){this.setStartPosition();this.DDM.handleMouseDown(b,this);this.DDM.stopEvent(b)}}}},clickValidator:function(b){b=YAHOO.util.Event.getTarget(b);return this.isValidHandleChild(b)&&(this.id==this.handleElId||this.DDM.handleWasClicked(b,this.id))},getTargetCoord:function(b,d){var a=
101
+ b-this.deltaX,c=d-this.deltaY;if(this.constrainX){if(a<this.minX)a=this.minX;if(a>this.maxX)a=this.maxX}if(this.constrainY){if(c<this.minY)c=this.minY;if(c>this.maxY)c=this.maxY}a=this.getTick(a,this.xTicks);c=this.getTick(c,this.yTicks);return{x:a,y:c}},addInvalidHandleType:function(b){b=b.toUpperCase();this.invalidHandleTypes[b]=b},addInvalidHandleId:function(b){typeof b!=="string"&&(b=e.generateId(b));this.invalidHandleIds[b]=b},addInvalidHandleClass:function(b){this.invalidHandleClasses.push(b)},
102
+ removeInvalidHandleType:function(b){delete this.invalidHandleTypes[b.toUpperCase()]},removeInvalidHandleId:function(b){typeof b!=="string"&&(b=e.generateId(b));delete this.invalidHandleIds[b]},removeInvalidHandleClass:function(b){for(var d=0,a=this.invalidHandleClasses.length;d<a;++d)this.invalidHandleClasses[d]==b&&delete this.invalidHandleClasses[d]},isValidHandleChild:function(b){var d=true,a;try{a=b.nodeName.toUpperCase()}catch(c){a=b.nodeName}d=(d=d&&!this.invalidHandleTypes[a])&&!this.invalidHandleIds[b.id];
103
+ a=0;for(var g=this.invalidHandleClasses.length;d&&a<g;++a)d=!e.hasClass(b,this.invalidHandleClasses[a]);return d},setXTicks:function(b,d){this.xTicks=[];this.xTickSize=d;for(var a={},c=this.initPageX;c>=this.minX;c=c-d)if(!a[c]){this.xTicks[this.xTicks.length]=c;a[c]=true}for(c=this.initPageX;c<=this.maxX;c=c+d)if(!a[c]){this.xTicks[this.xTicks.length]=c;a[c]=true}this.xTicks.sort(this.DDM.numericSort)},setYTicks:function(b,d){this.yTicks=[];this.yTickSize=d;for(var a={},c=this.initPageY;c>=this.minY;c=
104
+ c-d)if(!a[c]){this.yTicks[this.yTicks.length]=c;a[c]=true}for(c=this.initPageY;c<=this.maxY;c=c+d)if(!a[c]){this.yTicks[this.yTicks.length]=c;a[c]=true}this.yTicks.sort(this.DDM.numericSort)},setXConstraint:function(b,d,a){this.leftConstraint=parseInt(b,10);this.rightConstraint=parseInt(d,10);this.minX=this.initPageX-this.leftConstraint;this.maxX=this.initPageX+this.rightConstraint;a&&this.setXTicks(this.initPageX,a);this.constrainX=true},clearConstraints:function(){this.constrainY=this.constrainX=
105
+ false;this.clearTicks()},clearTicks:function(){this.yTicks=this.xTicks=null;this.yTickSize=this.xTickSize=0},setYConstraint:function(b,d,a){this.topConstraint=parseInt(b,10);this.bottomConstraint=parseInt(d,10);this.minY=this.initPageY-this.topConstraint;this.maxY=this.initPageY+this.bottomConstraint;a&&this.setYTicks(this.initPageY,a);this.constrainY=true},resetConstraints:function(){this.initPageX||this.initPageX===0?this.setInitPosition(this.maintainOffset?this.lastPageX-this.initPageX:0,this.maintainOffset?
106
+ this.lastPageY-this.initPageY:0):this.setInitPosition();this.constrainX&&this.setXConstraint(this.leftConstraint,this.rightConstraint,this.xTickSize);this.constrainY&&this.setYConstraint(this.topConstraint,this.bottomConstraint,this.yTickSize)},getTick:function(b,d){if(d){if(d[0]>=b)return d[0];for(var a=0,c=d.length;a<c;++a){var e=a+1;if(d[e]&&d[e]>=b)return d[e]-b>b-d[a]?d[a]:d[e]}return d[d.length-1]}return b},toString:function(){return"DragDrop "+this.id}};YAHOO.augment(YAHOO.util.DragDrop,YAHOO.util.EventProvider)})();
107
+ YAHOO.util.DD=function(c,e,b){c&&this.init(c,e,b)};
108
+ YAHOO.extend(YAHOO.util.DD,YAHOO.util.DragDrop,{scroll:!0,autoOffset:function(c,e){this.setDelta(c-this.startPageX,e-this.startPageY)},setDelta:function(c,e){this.deltaX=c;this.deltaY=e},setDragElPos:function(c,e){this.alignElWithMouse(this.getDragEl(),c,e)},alignElWithMouse:function(c,e,b){var d=this.getTargetCoord(e,b);if(this.deltaSetXY){YAHOO.util.Dom.setStyle(c,"left",d.x+this.deltaSetXY[0]+"px");YAHOO.util.Dom.setStyle(c,"top",d.y+this.deltaSetXY[1]+"px")}else{YAHOO.util.Dom.setXY(c,[d.x,d.y]);
109
+ e=parseInt(YAHOO.util.Dom.getStyle(c,"left"),10);b=parseInt(YAHOO.util.Dom.getStyle(c,"top"),10);this.deltaSetXY=[e-d.x,b-d.y]}this.cachePosition(d.x,d.y);var a=this;setTimeout(function(){a.autoScroll.call(a,d.x,d.y,c.offsetHeight,c.offsetWidth)},0)},cachePosition:function(c,e){if(c){this.lastPageX=c;this.lastPageY=e}else{var b=YAHOO.util.Dom.getXY(this.getEl());this.lastPageX=b[0];this.lastPageY=b[1]}},autoScroll:function(c,e,b,d){if(this.scroll){var a=this.DDM.getClientHeight(),f=this.DDM.getClientWidth(),
110
+ g=this.DDM.getScrollTop(),h=this.DDM.getScrollLeft(),d=d+c,i=a+g-e-this.deltaY,j=f+h-c-this.deltaX,k=document.all?80:30;b+e>a&&i<40&&window.scrollTo(h,g+k);e<g&&(g>0&&e-g<40)&&window.scrollTo(h,g-k);d>f&&j<40&&window.scrollTo(h+k,g);c<h&&(h>0&&c-h<40)&&window.scrollTo(h-k,g)}},applyConfig:function(){YAHOO.util.DD.superclass.applyConfig.call(this);this.scroll=this.config.scroll!==false},b4MouseDown:function(c){this.setStartPosition();this.autoOffset(YAHOO.util.Event.getPageX(c),YAHOO.util.Event.getPageY(c))},
111
+ b4Drag:function(c){this.setDragElPos(YAHOO.util.Event.getPageX(c),YAHOO.util.Event.getPageY(c))},toString:function(){return"DD "+this.id}});YAHOO.util.DDProxy=function(c,e,b){if(c){this.init(c,e,b);this.initFrame()}};YAHOO.util.DDProxy.dragElId="ygddfdiv";
112
+ YAHOO.extend(YAHOO.util.DDProxy,YAHOO.util.DD,{resizeFrame:!0,centerFrame:!1,createFrame:function(){var c=this,e=document.body;if(!e||!e.firstChild)setTimeout(function(){c.createFrame()},50);else{var b=this.getDragEl(),d=YAHOO.util.Dom;if(!b){b=document.createElement("div");b.id=this.dragElId;var a=b.style;a.position="absolute";a.visibility="hidden";a.cursor="move";a.border="2px solid #aaa";a.zIndex=999;a.height="25px";a.width="25px";a=document.createElement("div");d.setStyle(a,"height","100%");d.setStyle(a,
113
+ "width","100%");d.setStyle(a,"background-color","#ccc");d.setStyle(a,"opacity","0");b.appendChild(a);e.insertBefore(b,e.firstChild)}}},initFrame:function(){this.createFrame()},applyConfig:function(){YAHOO.util.DDProxy.superclass.applyConfig.call(this);this.resizeFrame=this.config.resizeFrame!==false;this.centerFrame=this.config.centerFrame;this.setDragElId(this.config.dragElId||YAHOO.util.DDProxy.dragElId)},showFrame:function(c,e){this.getEl();var b=this.getDragEl(),d=b.style;this._resizeProxy();
114
+ this.centerFrame&&this.setDelta(Math.round(parseInt(d.width,10)/2),Math.round(parseInt(d.height,10)/2));this.setDragElPos(c,e);YAHOO.util.Dom.setStyle(b,"visibility","visible")},_resizeProxy:function(){if(this.resizeFrame){var c=YAHOO.util.Dom,e=this.getEl(),b=this.getDragEl(),d=parseInt(c.getStyle(b,"borderTopWidth"),10),a=parseInt(c.getStyle(b,"borderRightWidth"),10),f=parseInt(c.getStyle(b,"borderBottomWidth"),10),g=parseInt(c.getStyle(b,"borderLeftWidth"),10);isNaN(d)&&(d=0);isNaN(a)&&(a=0);isNaN(f)&&
115
+ (f=0);isNaN(g)&&(g=0);a=Math.max(0,e.offsetWidth-a-g);e=Math.max(0,e.offsetHeight-d-f);c.setStyle(b,"width",a+"px");c.setStyle(b,"height",e+"px")}},b4MouseDown:function(c){this.setStartPosition();var e=YAHOO.util.Event.getPageX(c),c=YAHOO.util.Event.getPageY(c);this.autoOffset(e,c)},b4StartDrag:function(c,e){this.showFrame(c,e)},b4EndDrag:function(){YAHOO.util.Dom.setStyle(this.getDragEl(),"visibility","hidden")},endDrag:function(){var c=YAHOO.util.Dom,e=this.getEl(),b=this.getDragEl();c.setStyle(b,
116
+ "visibility","");c.setStyle(e,"visibility","hidden");YAHOO.util.DDM.moveToEl(e,b);c.setStyle(b,"visibility","hidden");c.setStyle(e,"visibility","")},toString:function(){return"DDProxy "+this.id}});YAHOO.util.DDTarget=function(c,e,b){c&&this.initTarget(c,e,b)};YAHOO.extend(YAHOO.util.DDTarget,YAHOO.util.DragDrop,{toString:function(){return"DDTarget "+this.id}});YAHOO.register("dragdrop",YAHOO.util.DragDropMgr,{version:"2.7.0",build:"1796"});
117
+ (function(){function c(a,b,d,e){c.ANIM_AVAIL=!YAHOO.lang.isUndefined(YAHOO.util.Anim);if(a){this.init(a,b,true);this.initSlider(e);this.initThumb(d)}}var e=YAHOO.util.Dom.getXY,b=YAHOO.util.Event,d=Array.prototype.slice;YAHOO.lang.augmentObject(c,{getHorizSlider:function(a,b,d,e,i){return new c(a,a,new YAHOO.widget.SliderThumb(b,a,d,e,0,0,i),"horiz")},getVertSlider:function(a,b,d,e,i){return new c(a,a,new YAHOO.widget.SliderThumb(b,a,0,0,d,e,i),"vert")},getSliderRegion:function(a,b,d,e,i,j,k){return new c(a,
118
+ a,new YAHOO.widget.SliderThumb(b,a,d,e,i,j,k),"region")},SOURCE_UI_EVENT:1,SOURCE_SET_VALUE:2,SOURCE_KEY_EVENT:3,ANIM_AVAIL:false},true);YAHOO.extend(c,YAHOO.util.DragDrop,{_mouseDown:false,dragOnly:true,initSlider:function(a){this.type=a;this.createEvent("change",this);this.createEvent("slideStart",this);this.createEvent("slideEnd",this);this.isTarget=false;this.animate=c.ANIM_AVAIL;this.backgroundEnabled=true;this.tickPause=40;this.enableKeys=true;this.keyIncrement=20;this.moveComplete=true;this.animationDuration=
119
+ 0.2;this.SOURCE_UI_EVENT=1;this.SOURCE_SET_VALUE=2;this.valueChangeSource=0;this._silent=false;this.lastOffset=[0,0]},initThumb:function(a){var b=this;this.thumb=a;a.cacheBetweenDrags=true;if(a._isHoriz&&a.xTicks&&a.xTicks.length)this.tickPause=Math.round(360/a.xTicks.length);else if(a.yTicks&&a.yTicks.length)this.tickPause=Math.round(360/a.yTicks.length);a.onAvailable=function(){return b.setStartSliderState()};a.onMouseDown=function(){b._mouseDown=true;return b.focus()};a.startDrag=function(){b._slideStart()};
120
+ a.onDrag=function(){b.fireEvents(true)};a.onMouseUp=function(){b.thumbMouseUp()}},onAvailable:function(){this._bindKeyEvents()},_bindKeyEvents:function(){b.on(this.id,"keydown",this.handleKeyDown,this,true);b.on(this.id,"keypress",this.handleKeyPress,this,true)},handleKeyPress:function(a){if(this.enableKeys)switch(b.getCharCode(a)){case 37:case 38:case 39:case 40:case 36:case 35:b.preventDefault(a)}},handleKeyDown:function(a){if(this.enableKeys){var d=b.getCharCode(a),e=this.thumb,h=this.getXValue(),
121
+ i=this.getYValue(),j=true;switch(d){case 37:h=h-this.keyIncrement;break;case 38:i=i-this.keyIncrement;break;case 39:h=h+this.keyIncrement;break;case 40:i=i+this.keyIncrement;break;case 36:h=e.leftConstraint;i=e.topConstraint;break;case 35:h=e.rightConstraint;i=e.bottomConstraint;break;default:j=false}if(j){e._isRegion?this._setRegionValue(c.SOURCE_KEY_EVENT,h,i,true):this._setValue(c.SOURCE_KEY_EVENT,e._isHoriz?h:i,true);b.stopEvent(a)}}},setStartSliderState:function(){this.setThumbCenterPoint();
122
+ this.baselinePos=e(this.getEl());this.thumb.startOffset=this.thumb.getOffsetFromParent(this.baselinePos);if(this.thumb._isRegion)if(this.deferredSetRegionValue){this._setRegionValue.apply(this,this.deferredSetRegionValue);this.deferredSetRegionValue=null}else this.setRegionValue(0,0,true,true,true);else if(this.deferredSetValue){this._setValue.apply(this,this.deferredSetValue);this.deferredSetValue=null}else this.setValue(0,true,true,true)},setThumbCenterPoint:function(){var a=this.thumb.getEl();
123
+ if(a)this.thumbCenterPoint={x:parseInt(a.offsetWidth/2,10),y:parseInt(a.offsetHeight/2,10)}},lock:function(){this.thumb.lock();this.locked=true},unlock:function(){this.thumb.unlock();this.locked=false},thumbMouseUp:function(){this._mouseDown=false;!this.isLocked()&&!this.moveComplete&&this.endMove()},onMouseUp:function(){this._mouseDown=false;this.backgroundEnabled&&(!this.isLocked()&&!this.moveComplete)&&this.endMove()},getThumb:function(){return this.thumb},focus:function(){this.valueChangeSource=
124
+ c.SOURCE_UI_EVENT;var a=this.getEl();if(a.focus)try{a.focus()}catch(b){}this.verifyOffset();return!this.isLocked()},onChange:function(){},onSlideStart:function(){},onSlideEnd:function(){},getValue:function(){return this.thumb.getValue()},getXValue:function(){return this.thumb.getXValue()},getYValue:function(){return this.thumb.getYValue()},setValue:function(){var a=d.call(arguments);a.unshift(c.SOURCE_SET_VALUE);return this._setValue.apply(this,a)},_setValue:function(a,b,d,e,i){var j=this.thumb,k;
125
+ if(!j.available){this.deferredSetValue=arguments;return false}if(this.isLocked()&&!e||isNaN(b)||j._isRegion)return false;this._silent=i;this.valueChangeSource=a||c.SOURCE_SET_VALUE;j.lastOffset=[b,b];this.verifyOffset(true);this._slideStart();if(j._isHoriz){k=j.initPageX+b+this.thumbCenterPoint.x;this.moveThumb(k,j.initPageY,d)}else{k=j.initPageY+b+this.thumbCenterPoint.y;this.moveThumb(j.initPageX,k,d)}return true},setRegionValue:function(){var a=d.call(arguments);a.unshift(c.SOURCE_SET_VALUE);return this._setRegionValue.apply(this,
126
+ a)},_setRegionValue:function(a,b,d,e,i,j){var k=this.thumb;if(!k.available){this.deferredSetRegionValue=arguments;return false}if(this.isLocked()&&!i||isNaN(b)||!k._isRegion)return false;this._silent=j;this.valueChangeSource=a||c.SOURCE_SET_VALUE;k.lastOffset=[b,d];this.verifyOffset(true);this._slideStart();this.moveThumb(k.initPageX+b+this.thumbCenterPoint.x,k.initPageY+d+this.thumbCenterPoint.y,e);return true},verifyOffset:function(){var a=e(this.getEl()),b=this.thumb;(!this.thumbCenterPoint||!this.thumbCenterPoint.x)&&
127
+ this.setThumbCenterPoint();if(a&&(a[0]!=this.baselinePos[0]||a[1]!=this.baselinePos[1])){this.setInitPosition();this.baselinePos=a;b.initPageX=this.initPageX+b.startOffset[0];b.initPageY=this.initPageY+b.startOffset[1];b.deltaSetXY=null;this.resetThumbConstraints();return false}return true},moveThumb:function(a,b,d,h){var i=this.thumb,j=this,k,l;if(i.available){i.setDelta(this.thumbCenterPoint.x,this.thumbCenterPoint.y);l=i.getTargetCoord(a,b);k=[Math.round(l.x),Math.round(l.y)];if(this.animate&&
128
+ i._graduated&&!d){this.lock();this.curCoord=e(this.thumb.getEl());this.curCoord=[Math.round(this.curCoord[0]),Math.round(this.curCoord[1])];setTimeout(function(){j.moveOneTick(k)},this.tickPause)}else if(this.animate&&c.ANIM_AVAIL&&!d){this.lock();a=new YAHOO.util.Motion(i.id,{points:{to:k}},this.animationDuration,YAHOO.util.Easing.easeOut);a.onComplete.subscribe(function(){j.unlock();j._mouseDown||j.endMove()});a.animate()}else{i.setDragElPos(a,b);!h&&!this._mouseDown&&this.endMove()}}},_slideStart:function(){if(!this._sliding){if(!this._silent){this.onSlideStart();
129
+ this.fireEvent("slideStart")}this._sliding=true}},_slideEnd:function(){if(this._sliding&&this.moveComplete){var a=this._silent;this.moveComplete=this._silent=this._sliding=false;if(!a){this.onSlideEnd();this.fireEvent("slideEnd")}}},moveOneTick:function(a){var b=this.thumb,d=this,c=null,e;if(b._isRegion){c=this._getNextX(this.curCoord,a);e=c!==null?c[0]:this.curCoord[0];c=this._getNextY(this.curCoord,a);c=c!==null?c[1]:this.curCoord[1];c=e!==this.curCoord[0]||c!==this.curCoord[1]?[e,c]:null}else c=
130
+ b._isHoriz?this._getNextX(this.curCoord,a):this._getNextY(this.curCoord,a);if(c){this.curCoord=c;this.thumb.alignElWithMouse(b.getEl(),c[0]+this.thumbCenterPoint.x,c[1]+this.thumbCenterPoint.y);if(c[0]==a[0]&&c[1]==a[1]){this.unlock();this._mouseDown||this.endMove()}else setTimeout(function(){d.moveOneTick(a)},this.tickPause)}else{this.unlock();this._mouseDown||this.endMove()}},_getNextX:function(a,b){var d=this.thumb,c;c=[];c=null;if(a[0]>b[0]){c=d.tickSize-this.thumbCenterPoint.x;c=d.getTargetCoord(a[0]-
131
+ c,a[1]);c=[c.x,c.y]}else if(a[0]<b[0]){c=d.tickSize+this.thumbCenterPoint.x;c=d.getTargetCoord(a[0]+c,a[1]);c=[c.x,c.y]}return c},_getNextY:function(a,b){var d=this.thumb,c;c=[];c=null;if(a[1]>b[1]){c=d.tickSize-this.thumbCenterPoint.y;c=d.getTargetCoord(a[0],a[1]-c);c=[c.x,c.y]}else if(a[1]<b[1]){c=d.tickSize+this.thumbCenterPoint.y;c=d.getTargetCoord(a[0],a[1]+c);c=[c.x,c.y]}return c},b4MouseDown:function(){if(!this.backgroundEnabled)return false;this.thumb.autoOffset();this.resetThumbConstraints()},
132
+ onMouseDown:function(a){if(!this.backgroundEnabled||this.isLocked())return false;this._mouseDown=true;var d=b.getPageX(a),a=b.getPageY(a);this.focus();this._slideStart();this.moveThumb(d,a)},onDrag:function(a){if(this.backgroundEnabled&&!this.isLocked()){var d=b.getPageX(a),a=b.getPageY(a);this.moveThumb(d,a,true,true);this.fireEvents()}},endMove:function(){this.unlock();this.fireEvents();this.moveComplete=true;this._slideEnd()},resetThumbConstraints:function(){var a=this.thumb;a.setXConstraint(a.leftConstraint,
133
+ a.rightConstraint,a.xTickSize);a.setYConstraint(a.topConstraint,a.bottomConstraint,a.xTickSize)},fireEvents:function(a){var b=this.thumb;a||b.cachePosition();if(!this.isLocked())if(b._isRegion){a=b.getXValue();b=b.getYValue();if((a!=this.previousX||b!=this.previousY)&&!this._silent){this.onChange(a,b);this.fireEvent("change",{x:a,y:b})}this.previousX=a;this.previousY=b}else{b=b.getValue();if(b!=this.previousVal&&!this._silent){this.onChange(b);this.fireEvent("change",b)}this.previousVal=b}},toString:function(){return"Slider ("+
134
+ this.type+") "+this.id}});YAHOO.lang.augmentProto(c,YAHOO.util.EventProvider);YAHOO.widget.Slider=c})();YAHOO.widget.SliderThumb=function(c,e,b,d,a,f,g){if(c){YAHOO.widget.SliderThumb.superclass.constructor.call(this,c,e);this.parentElId=e}this.isTarget=false;this.tickSize=g;this.maintainOffset=true;this.initSlider(b,d,a,f,g);this.scroll=false};
135
+ YAHOO.extend(YAHOO.widget.SliderThumb,YAHOO.util.DD,{startOffset:null,dragOnly:!0,_isHoriz:!1,_prevVal:0,_graduated:!1,getOffsetFromParent0:function(c){var e=YAHOO.util.Dom.getXY(this.getEl()),c=c||YAHOO.util.Dom.getXY(this.parentElId);return[e[0]-c[0],e[1]-c[1]]},getOffsetFromParent:function(c){var e=this.getEl(),b;if(this.deltaOffset){b=parseInt(YAHOO.util.Dom.getStyle(e,"left"),10);e=parseInt(YAHOO.util.Dom.getStyle(e,"top"),10);b=[b+this.deltaOffset[0],e+this.deltaOffset[1]]}else{b=YAHOO.util.Dom.getXY(e);
136
+ c=c||YAHOO.util.Dom.getXY(this.parentElId);b=[b[0]-c[0],b[1]-c[1]];c=parseInt(YAHOO.util.Dom.getStyle(e,"left"),10);e=parseInt(YAHOO.util.Dom.getStyle(e,"top"),10);c=c-b[0];e=e-b[1];if(!isNaN(c)&&!isNaN(e))this.deltaOffset=[c,e]}return b},initSlider:function(c,e,b,d,a){this.initLeft=c;this.initRight=e;this.initUp=b;this.initDown=d;this.setXConstraint(c,e,a);this.setYConstraint(b,d,a);if(a&&a>1)this._graduated=true;this._isHoriz=c||e;this._isVert=b||d;this._isRegion=this._isHoriz&&this._isVert},clearTicks:function(){YAHOO.widget.SliderThumb.superclass.clearTicks.call(this);
137
+ this.tickSize=0;this._graduated=false},getValue:function(){return this._isHoriz?this.getXValue():this.getYValue()},getXValue:function(){if(!this.available)return 0;var c=this.getOffsetFromParent();if(YAHOO.lang.isNumber(c[0])){this.lastOffset=c;return c[0]-this.startOffset[0]}return this.lastOffset[0]-this.startOffset[0]},getYValue:function(){if(!this.available)return 0;var c=this.getOffsetFromParent();if(YAHOO.lang.isNumber(c[1])){this.lastOffset=c;return c[1]-this.startOffset[1]}return this.lastOffset[1]-
138
+ this.startOffset[1]},toString:function(){return"SliderThumb "+this.id},onChange:function(){}});
139
+ (function(){function c(b,a,c,e){var h=this,i=false,j=false,k,l;this.minSlider=b;this.maxSlider=a;this.activeSlider=b;this.isHoriz=b.thumb._isHoriz;k=this.minSlider.thumb.onMouseDown;l=this.maxSlider.thumb.onMouseDown;this.minSlider.thumb.onMouseDown=function(){h.activeSlider=h.minSlider;k.apply(this,arguments)};this.maxSlider.thumb.onMouseDown=function(){h.activeSlider=h.maxSlider;l.apply(this,arguments)};this.minSlider.thumb.onAvailable=function(){b.setStartSliderState();i=true;j&&h.fireEvent("ready",
140
+ h)};this.maxSlider.thumb.onAvailable=function(){a.setStartSliderState();j=true;i&&h.fireEvent("ready",h)};b.onMouseDown=a.onMouseDown=function(a){return this.backgroundEnabled&&h._handleMouseDown(a)};b.onDrag=a.onDrag=function(a){h._handleDrag(a)};b.onMouseUp=a.onMouseUp=function(a){h._handleMouseUp(a)};b._bindKeyEvents=function(){h._bindKeyEvents(this)};a._bindKeyEvents=function(){};b.subscribe("change",this._handleMinChange,b,this);b.subscribe("slideStart",this._handleSlideStart,b,this);b.subscribe("slideEnd",
141
+ this._handleSlideEnd,b,this);a.subscribe("change",this._handleMaxChange,a,this);a.subscribe("slideStart",this._handleSlideStart,a,this);a.subscribe("slideEnd",this._handleSlideEnd,a,this);this.createEvent("ready",this);this.createEvent("change",this);this.createEvent("slideStart",this);this.createEvent("slideEnd",this);e=YAHOO.lang.isArray(e)?e:[0,c];e[0]=Math.min(Math.max(parseInt(e[0],10)|0,0),c);e[1]=Math.max(Math.min(parseInt(e[1],10)|0,c),0);e[0]>e[1]&&e.splice(0,2,e[1],e[0]);this.minVal=e[0];
142
+ this.maxVal=e[1];this.minSlider.setValue(this.minVal,true,true,true);this.maxSlider.setValue(this.maxVal,true,true,true)}var e=YAHOO.util.Event,b=YAHOO.widget;c.prototype={minVal:-1,maxVal:-1,minRange:0,_handleSlideStart:function(b,a){this.fireEvent("slideStart",a)},_handleSlideEnd:function(b,a){this.fireEvent("slideEnd",a)},_handleDrag:function(d){b.Slider.prototype.onDrag.call(this.activeSlider,d)},_handleMinChange:function(){this.activeSlider=this.minSlider;this.updateValue()},_handleMaxChange:function(){this.activeSlider=
143
+ this.maxSlider;this.updateValue()},_bindKeyEvents:function(b){e.on(b.id,"keydown",this._handleKeyDown,this,true);e.on(b.id,"keypress",this._handleKeyPress,this,true)},_handleKeyDown:function(b){this.activeSlider.handleKeyDown.apply(this.activeSlider,arguments)},_handleKeyPress:function(b){this.activeSlider.handleKeyPress.apply(this.activeSlider,arguments)},setValues:function(b,a,c,e,h){var i=this.minSlider,j=this.maxSlider,k=i.thumb,l=j.thumb,m=this,n=false,o=false;if(k._isHoriz){k.setXConstraint(k.leftConstraint,
144
+ l.rightConstraint,k.tickSize);l.setXConstraint(k.leftConstraint,l.rightConstraint,l.tickSize)}else{k.setYConstraint(k.topConstraint,l.bottomConstraint,k.tickSize);l.setYConstraint(k.topConstraint,l.bottomConstraint,l.tickSize)}this._oneTimeCallback(i,"slideEnd",function(){n=true;if(o){m.updateValue(h);setTimeout(function(){m._cleanEvent(i,"slideEnd");m._cleanEvent(j,"slideEnd")},0)}});this._oneTimeCallback(j,"slideEnd",function(){o=true;if(n){m.updateValue(h);setTimeout(function(){m._cleanEvent(i,
145
+ "slideEnd");m._cleanEvent(j,"slideEnd")},0)}});i.setValue(b,c,e,false);j.setValue(a,c,e,false)},setMinValue:function(b,a,c,e){var h=this.minSlider,i=this;this.activeSlider=h;i=this;this._oneTimeCallback(h,"slideEnd",function(){i.updateValue(e);setTimeout(function(){i._cleanEvent(h,"slideEnd")},0)});h.setValue(b,a,c)},setMaxValue:function(b,a,c,e){var h=this.maxSlider,i=this;this.activeSlider=h;this._oneTimeCallback(h,"slideEnd",function(){i.updateValue(e);setTimeout(function(){i._cleanEvent(h,"slideEnd")},
146
+ 0)});h.setValue(b,a,c)},updateValue:function(b){var a=this.minSlider.getValue(),c=this.maxSlider.getValue(),e=false,h,i,j,k;if(a!=this.minVal||c!=this.maxVal){e=true;h=this.minSlider.thumb;i=this.maxSlider.thumb;j=this.isHoriz?"x":"y";k=this.minSlider.thumbCenterPoint[j]+this.maxSlider.thumbCenterPoint[j];j=Math.max(c-k-this.minRange,0);k=Math.min(-a-k-this.minRange,0);if(this.isHoriz){j=Math.min(j,i.rightConstraint);h.setXConstraint(h.leftConstraint,j,h.tickSize);i.setXConstraint(k,i.rightConstraint,
147
+ i.tickSize)}else{j=Math.min(j,i.bottomConstraint);h.setYConstraint(h.leftConstraint,j,h.tickSize);i.setYConstraint(k,i.bottomConstraint,i.tickSize)}}this.minVal=a;this.maxVal=c;e&&!b&&this.fireEvent("change",this)},selectActiveSlider:function(b){var a=this.minSlider,c=this.maxSlider,e=a.isLocked()||!a.backgroundEnabled,h=c.isLocked()||!a.backgroundEnabled,i=YAHOO.util.Event;if(e||h)this.activeSlider=e?c:a;else{b=this.isHoriz?i.getPageX(b)-a.thumb.initPageX-a.thumbCenterPoint.x:i.getPageY(b)-a.thumb.initPageY-
148
+ a.thumbCenterPoint.y;this.activeSlider=b*2>c.getValue()+a.getValue()?c:a}},_handleMouseDown:function(d){if(d._handled)return false;d._handled=true;this.selectActiveSlider(d);return b.Slider.prototype.onMouseDown.call(this.activeSlider,d)},_handleMouseUp:function(d){b.Slider.prototype.onMouseUp.apply(this.activeSlider,arguments)},_oneTimeCallback:function(b,a,c){b.subscribe(a,function(){b.unsubscribe(a,arguments.callee);c.apply({},[].slice.apply(arguments))})},_cleanEvent:function(b,a){var c,e,h,i,
149
+ j,k;if(b.__yui_events&&b.events[a]){for(e=b.__yui_events.length;e>=0;--e)if(b.__yui_events[e].type===a){c=b.__yui_events[e];break}if(c){j=c.subscribers;k=[];e=i=0;for(h=j.length;e<h;++e)j[e]&&(k[i++]=j[e]);c.subscribers=k}}}};YAHOO.lang.augmentProto(c,YAHOO.util.EventProvider);b.Slider.getHorizDualSlider=function(d,a,e,g,h,i){a=new b.SliderThumb(a,d,0,g,0,0,h);e=new b.SliderThumb(e,d,0,g,0,0,h);return new c(new b.Slider(d,d,a,"horiz"),new b.Slider(d,d,e,"horiz"),g,i)};b.Slider.getVertDualSlider=function(c,
150
+ a,e,g,h,i){a=new b.SliderThumb(a,c,0,0,0,g,h);e=new b.SliderThumb(e,c,0,0,0,g,h);return new b.DualSlider(new b.Slider(c,c,a,"vert"),new b.Slider(c,c,e,"vert"),g,i)};YAHOO.widget.DualSlider=c})();YAHOO.register("slider",YAHOO.widget.Slider,{version:"2.7.0",build:"1796"});YAHOO.util.Attribute=function(c,e){if(e){this.owner=e;this.configure(c,true)}};
151
+ YAHOO.util.Attribute.prototype={name:void 0,value:null,owner:null,readOnly:!1,writeOnce:!1,_initialConfig:null,_written:!1,method:null,setter:null,getter:null,validator:null,getValue:function(){var c=this.value;this.getter&&(c=this.getter.call(this.owner,this.name));return c},setValue:function(c,e){var b,d=this.owner,a=this.name,f={type:a,prevValue:this.getValue(),newValue:c};if(this.readOnly||this.writeOnce&&this._written||this.validator&&!this.validator.call(d,c))return false;if(!e){b=d.fireBeforeChangeEvent(f);
152
+ if(b===false)return false}this.setter&&(c=this.setter.call(d,c,this.name));this.method&&this.method.call(d,c,this.name);this.value=c;this._written=true;f.type=a;e||this.owner.fireChangeEvent(f);return true},configure:function(c,e){c=c||{};if(e)this._written=false;this._initialConfig=this._initialConfig||{};for(var b in c)if(c.hasOwnProperty(b)){this[b]=c[b];e&&(this._initialConfig[b]=c[b])}},resetValue:function(){return this.setValue(this._initialConfig.value)},resetConfig:function(){this.configure(this._initialConfig,
153
+ true)},refresh:function(c){this.setValue(this.value,c)}};
154
+ (function(){var c=YAHOO.util.Lang;YAHOO.util.AttributeProvider=function(){};YAHOO.util.AttributeProvider.prototype={_configs:null,get:function(c){this._configs=this._configs||{};var b=this._configs[c];return!b||!this._configs.hasOwnProperty(c)?null:b.getValue()},set:function(c,b,d){this._configs=this._configs||{};c=this._configs[c];return!c?false:c.setValue(b,d)},getAttributeKeys:function(){this._configs=this._configs;var e=[],b;for(b in this._configs)c.hasOwnProperty(this._configs,b)&&!c.isUndefined(this._configs[b])&&
155
+ (e[e.length]=b);return e},setAttributes:function(e,b){for(var d in e)c.hasOwnProperty(e,d)&&this.set(d,e[d],b)},resetValue:function(c,b){this._configs=this._configs||{};if(this._configs[c]){this.set(c,this._configs[c]._initialConfig.value,b);return true}return false},refresh:function(e,b){for(var d=this._configs=this._configs||{},e=(c.isString(e)?[e]:e)||this.getAttributeKeys(),a=0,f=e.length;a<f;++a)d.hasOwnProperty(e[a])&&this._configs[e[a]].refresh(b)},register:function(c,b){this.setAttributeConfig(c,
156
+ b)},getAttributeConfig:function(e){this._configs=this._configs||{};var b=this._configs[e]||{},d={};for(e in b)c.hasOwnProperty(b,e)&&(d[e]=b[e]);return d},setAttributeConfig:function(c,b,d){this._configs=this._configs||{};b=b||{};if(this._configs[c])this._configs[c].configure(b,d);else{b.name=c;this._configs[c]=this.createAttribute(b)}},configureAttribute:function(c,b,d){this.setAttributeConfig(c,b,d)},resetAttributeConfig:function(c){this._configs=this._configs||{};this._configs[c].resetConfig()},
157
+ subscribe:function(c,b){this._events=this._events||{};c in this._events||(this._events[c]=this.createEvent(c));YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments)},on:function(){this.subscribe.apply(this,arguments)},addListener:function(){this.subscribe.apply(this,arguments)},fireBeforeChangeEvent:function(c){var b;b="before"+(c.type.charAt(0).toUpperCase()+c.type.substr(1)+"Change");c.type=b;return this.fireEvent(c.type,c)},fireChangeEvent:function(c){c.type=c.type+"Change";return this.fireEvent(c.type,
158
+ c)},createAttribute:function(c){return new YAHOO.util.Attribute(c,this)}};YAHOO.augment(YAHOO.util.AttributeProvider,YAHOO.util.EventProvider)})();
159
+ (function(){var c=YAHOO.util.Dom,e=YAHOO.util.AttributeProvider,b=function(b,a){this.init.apply(this,arguments)};b.DOM_EVENTS={click:true,dblclick:true,keydown:true,keypress:true,keyup:true,mousedown:true,mousemove:true,mouseout:true,mouseover:true,mouseup:true,focus:true,blur:true,submit:true,change:true};b.prototype={DOM_EVENTS:null,DEFAULT_HTML_SETTER:function(b,a){var c=this.get("element");c&&(c[a]=b)},DEFAULT_HTML_GETTER:function(b){var a=this.get("element"),c;a&&(c=a[b]);return c},appendChild:function(b){b=
160
+ b.get?b.get("element"):b;return this.get("element").appendChild(b)},getElementsByTagName:function(b){return this.get("element").getElementsByTagName(b)},hasChildNodes:function(){return this.get("element").hasChildNodes()},insertBefore:function(b,a){b=b.get?b.get("element"):b;a=a&&a.get?a.get("element"):a;return this.get("element").insertBefore(b,a)},removeChild:function(b){b=b.get?b.get("element"):b;return this.get("element").removeChild(b)},replaceChild:function(b,a){b=b.get?b.get("element"):b;a=
161
+ a.get?a.get("element"):a;return this.get("element").replaceChild(b,a)},initAttributes:function(){},addListener:function(b,a,c,e){var h=this.get("element")||this.get("id"),e=e||this,i=this;if(!this._events[b]){h&&this.DOM_EVENTS[b]&&YAHOO.util.Event.addListener(h,b,function(a){if(a.srcElement&&!a.target)a.target=a.srcElement;i.fireEvent(b,a)},c,e);this.createEvent(b,this)}return YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments)},on:function(){return this.addListener.apply(this,arguments)},
162
+ subscribe:function(){return this.addListener.apply(this,arguments)},removeListener:function(b,a){return this.unsubscribe.apply(this,arguments)},addClass:function(b){c.addClass(this.get("element"),b)},getElementsByClassName:function(b,a){return c.getElementsByClassName(b,a,this.get("element"))},hasClass:function(b){return c.hasClass(this.get("element"),b)},removeClass:function(b){return c.removeClass(this.get("element"),b)},replaceClass:function(b,a){return c.replaceClass(this.get("element"),b,a)},
163
+ setStyle:function(b,a){return c.setStyle(this.get("element"),b,a)},getStyle:function(b){return c.getStyle(this.get("element"),b)},fireQueue:function(){for(var b=this._queue,a=0,c=b.length;a<c;++a)this[b[a][0]].apply(this,b[a][1])},appendTo:function(b,a){b=b.get?b.get("element"):c.get(b);this.fireEvent("beforeAppendTo",{type:"beforeAppendTo",target:b});var a=a&&a.get?a.get("element"):c.get(a),e=this.get("element");if(!e||!b)return false;e.parent!=b&&(a?b.insertBefore(e,a):b.appendChild(e));this.fireEvent("appendTo",
164
+ {type:"appendTo",target:b});return e},get:function(b){var a=this._configs||{},c=a.element;c&&(!a[b]&&!YAHOO.lang.isUndefined(c.value[b]))&&this._setHTMLAttrConfig(b);return e.prototype.get.call(this,b)},setAttributes:function(b,a){for(var c={},e=this._configOrder,h=0,i=e.length;h<i;++h)if(b[e[h]]!==void 0){c[e[h]]=true;this.set(e[h],b[e[h]],a)}for(var j in b)b.hasOwnProperty(j)&&!c[j]&&this.set(j,b[j],a)},set:function(b,a,c){var g=this.get("element");if(g){!this._configs[b]&&!YAHOO.lang.isUndefined(g[b])&&
165
+ this._setHTMLAttrConfig(b);return e.prototype.set.apply(this,arguments)}this._queue[this._queue.length]=["set",arguments];if(this._configs[b])this._configs[b].value=a},setAttributeConfig:function(b,a,c){this._configOrder.push(b);e.prototype.setAttributeConfig.apply(this,arguments)},createEvent:function(b,a){this._events[b]=true;return e.prototype.createEvent.apply(this,arguments)},init:function(b,a){this._initElement(b,a)},destroy:function(){var b=this.get("element");YAHOO.util.Event.purgeElement(b,
166
+ true);this.unsubscribeAll();b&&b.parentNode&&b.parentNode.removeChild(b);this._queue=[];this._events={};this._configs={};this._configOrder=[]},_initElement:function(d,a){this._queue=this._queue||[];this._events=this._events||{};this._configs=this._configs||{};this._configOrder=[];a=a||{};a.element=a.element||d||null;var e=false,g=b.DOM_EVENTS;this.DOM_EVENTS=this.DOM_EVENTS||{};for(var h in g)g.hasOwnProperty(h)&&(this.DOM_EVENTS[h]=g[h]);typeof a.element==="string"&&this._setHTMLAttrConfig("id",
167
+ {value:a.element});if(c.get(a.element)){e=true;this._initHTMLElement(a);this._initContent(a)}YAHOO.util.Event.onAvailable(a.element,function(){e||this._initHTMLElement(a);this.fireEvent("available",{type:"available",target:c.get(a.element)})},this,true);YAHOO.util.Event.onContentReady(a.element,function(){e||this._initContent(a);this.fireEvent("contentReady",{type:"contentReady",target:c.get(a.element)})},this,true)},_initHTMLElement:function(b){this.setAttributeConfig("element",{value:c.get(b.element),
168
+ readOnly:true})},_initContent:function(b){this.initAttributes(b);this.setAttributes(b,true);this.fireQueue()},_setHTMLAttrConfig:function(b,a){var c=this.get("element"),a=a||{};a.name=b;a.setter=a.setter||this.DEFAULT_HTML_SETTER;a.getter=a.getter||this.DEFAULT_HTML_GETTER;a.value=a.value||c[b];this._configs[b]=new YAHOO.util.Attribute(a,this)}};YAHOO.augment(b,e);YAHOO.util.Element=b})();YAHOO.register("element",YAHOO.util.Element,{version:"2.7.0",build:"1796"});
169
+ YAHOO.util.Color=function(){var c=YAHOO.lang.isArray,e=YAHOO.lang.isNumber;return{real2dec:function(b){return Math.min(255,Math.round(b*256))},hsv2rgb:function(b,d,a){if(c(b))return this.hsv2rgb.call(this,b[0],b[1],b[2]);var e,g,h,i=Math.floor(b/60%6),j=b/60-i,b=a*(1-d),k=a*(1-j*d),d=a*(1-(1-j)*d);switch(i){case 0:e=a;g=d;h=b;break;case 1:e=k;g=a;h=b;break;case 2:e=b;g=a;h=d;break;case 3:e=b;g=k;h=a;break;case 4:e=d;g=b;h=a;break;case 5:e=a;g=b;h=k}a=this.real2dec;return[a(e),a(g),a(h)]},rgb2hsv:function(b,
170
+ d,a){if(c(b))return this.rgb2hsv.apply(this,b);var b=b/255,d=d/255,a=a/255,e,g=Math.min(Math.min(b,d),a),h=Math.max(Math.max(b,d),a),i=h-g;switch(h){case g:e=0;break;case b:e=60*(d-a)/i;d<a&&(e=e+360);break;case d:e=60*(a-b)/i+120;break;case a:e=60*(b-d)/i+240}return[Math.round(e),h===0?0:1-g/h,h]},rgb2hex:function(b,d,a){if(c(b))return this.rgb2hex.apply(this,b);var e=this.dec2hex;return e(b)+e(d)+e(a)},dec2hex:function(b){b=parseInt(b,10)|0;return("0"+(b>255||b<0?0:b).toString(16)).slice(-2).toUpperCase()},
171
+ hex2dec:function(b){return parseInt(b,16)},hex2rgb:function(b){var c=this.hex2dec;return[c(b.slice(0,2)),c(b.slice(2,4)),c(b.slice(4,6))]},websafe:function(b,d,a){if(c(b))return this.websafe.apply(this,b);var f=function(a){if(e(a)){var a=Math.min(Math.max(0,a),255),b,c;for(b=0;b<256;b=b+51){c=b+51;if(a>=b&&a<=c)return a-b>25?c:b}}return a};return[f(b),f(d),f(a)]}}}();
172
+ (function(){function c(a,b){e=e+1;b=b||{};if(arguments.length===1&&!YAHOO.lang.isString(a)&&!a.nodeName){b=a;a=b.element||null}!a&&!b.element&&(a=this._createHostElement(b));c.superclass.constructor.call(this,a,b);this.initPicker()}var e=0,b=YAHOO.util,d=YAHOO.lang,a=YAHOO.widget.Slider,f=b.Color,g=b.Dom,h=b.Event,i=d.substitute;YAHOO.extend(c,YAHOO.util.Element,{ID:{R:"yui-picker-r",R_HEX:"yui-picker-rhex",G:"yui-picker-g",G_HEX:"yui-picker-ghex",B:"yui-picker-b",B_HEX:"yui-picker-bhex",H:"yui-picker-h",
173
+ S:"yui-picker-s",V:"yui-picker-v",PICKER_BG:"yui-picker-bg",PICKER_THUMB:"yui-picker-thumb",HUE_BG:"yui-picker-hue-bg",HUE_THUMB:"yui-picker-hue-thumb",HEX:"yui-picker-hex",SWATCH:"yui-picker-swatch",WEBSAFE_SWATCH:"yui-picker-websafe-swatch",CONTROLS:"yui-picker-controls",RGB_CONTROLS:"yui-picker-rgb-controls",HSV_CONTROLS:"yui-picker-hsv-controls",HEX_CONTROLS:"yui-picker-hex-controls",HEX_SUMMARY:"yui-picker-hex-summary",CONTROLS_LABEL:"yui-picker-controls-label"},TXT:{ILLEGAL_HEX:"Illegal hex value entered",
174
+ SHOW_CONTROLS:"Show color details",HIDE_CONTROLS:"Hide color details",CURRENT_COLOR:"Currently selected color: {rgb}",CLOSEST_WEBSAFE:"Closest websafe color: {rgb}. Click to select.",R:"R",G:"G",B:"B",H:"H",S:"S",V:"V",HEX:"#",DEG:"°",PERCENT:"%"},IMAGE:{PICKER_THUMB:"../../build/colorpicker/assets/picker_thumb.png",HUE_THUMB:"../../build/colorpicker/assets/hue_thumb.png"},DEFAULT:{PICKER_SIZE:180},OPT:{HUE:"hue",SATURATION:"saturation",VALUE:"value",RED:"red",GREEN:"green",BLUE:"blue",HSV:"hsv",
175
+ RGB:"rgb",WEBSAFE:"websafe",HEX:"hex",PICKER_SIZE:"pickersize",SHOW_CONTROLS:"showcontrols",SHOW_RGB_CONTROLS:"showrgbcontrols",SHOW_HSV_CONTROLS:"showhsvcontrols",SHOW_HEX_CONTROLS:"showhexcontrols",SHOW_HEX_SUMMARY:"showhexsummary",SHOW_WEBSAFE:"showwebsafe",CONTAINER:"container",IDS:"ids",ELEMENTS:"elements",TXT:"txt",IMAGES:"images",ANIMATE:"animate"},skipAnim:true,_createHostElement:function(){var a=document.createElement("div");if(this.CSS.BASE)a.className=this.CSS.BASE;return a},_updateHueSlider:function(){var a=
176
+ this.get(this.OPT.PICKER_SIZE),b=this.get(this.OPT.HUE),b=a-Math.round(b/360*a);b===a&&(b=0);this.hueSlider.setValue(b,this.skipAnim)},_updatePickerSlider:function(){var a=this.get(this.OPT.PICKER_SIZE),b=this.get(this.OPT.SATURATION),c=this.get(this.OPT.VALUE),b=Math.round(b*a/100),c=Math.round(a-c*a/100);this.pickerSlider.setRegionValue(b,c,this.skipAnim)},_updateSliders:function(){this._updateHueSlider();this._updatePickerSlider()},setValue:function(a,b){this.set(this.OPT.RGB,a,b||false);this._updateSliders()},
177
+ hueSlider:null,pickerSlider:null,_getH:function(){var a=this.get(this.OPT.PICKER_SIZE),a=(a-this.hueSlider.getValue())/a,a=Math.round(a*360);return a===360?0:a},_getS:function(){return this.pickerSlider.getXValue()/this.get(this.OPT.PICKER_SIZE)},_getV:function(){var a=this.get(this.OPT.PICKER_SIZE);return(a-this.pickerSlider.getYValue())/a},_updateSwatch:function(){var a=this.get(this.OPT.RGB),b=this.get(this.OPT.WEBSAFE),c=this.getElement(this.ID.SWATCH),a=a.join(","),d=this.get(this.OPT.TXT);g.setStyle(c,
178
+ "background-color","rgb("+a+")");c.title=i(d.CURRENT_COLOR,{rgb:"#"+this.get(this.OPT.HEX)});c=this.getElement(this.ID.WEBSAFE_SWATCH);a=b.join(",");g.setStyle(c,"background-color","rgb("+a+")");c.title=i(d.CLOSEST_WEBSAFE,{rgb:"#"+f.rgb2hex(b)})},_getValuesFromSliders:function(){this.set(this.OPT.RGB,f.hsv2rgb(this._getH(),this._getS(),this._getV()))},_updateFormFields:function(){this.getElement(this.ID.H).value=this.get(this.OPT.HUE);this.getElement(this.ID.S).value=this.get(this.OPT.SATURATION);
179
+ this.getElement(this.ID.V).value=this.get(this.OPT.VALUE);this.getElement(this.ID.R).value=this.get(this.OPT.RED);this.getElement(this.ID.R_HEX).innerHTML=f.dec2hex(this.get(this.OPT.RED));this.getElement(this.ID.G).value=this.get(this.OPT.GREEN);this.getElement(this.ID.G_HEX).innerHTML=f.dec2hex(this.get(this.OPT.GREEN));this.getElement(this.ID.B).value=this.get(this.OPT.BLUE);this.getElement(this.ID.B_HEX).innerHTML=f.dec2hex(this.get(this.OPT.BLUE));this.getElement(this.ID.HEX).value=this.get(this.OPT.HEX)},
180
+ _onHueSliderChange:function(){var b=this._getH(),c="rgb("+f.hsv2rgb(b,1,1).join(",")+")";this.set(this.OPT.HUE,b,true);g.setStyle(this.getElement(this.ID.PICKER_BG),"background-color",c);this.hueSlider.valueChangeSource!==a.SOURCE_SET_VALUE&&this._getValuesFromSliders();this._updateFormFields();this._updateSwatch()},_onPickerSliderChange:function(){var b=this._getS(),c=this._getV();this.set(this.OPT.SATURATION,Math.round(b*100),true);this.set(this.OPT.VALUE,Math.round(c*100),true);this.pickerSlider.valueChangeSource!==
181
+ a.SOURCE_SET_VALUE&&this._getValuesFromSliders();this._updateFormFields();this._updateSwatch()},_getCommand:function(a){var b=h.getCharCode(a);return b===38?3:b===13?6:b===40?4:b>=48&&b<=57?1:b>=97&&b<=102?2:b>=65&&b<=70?2:"8, 9, 13, 27, 37, 39".indexOf(b)>-1||a.ctrlKey||a.metaKey?5:0},_useFieldValue:function(a,b,c){a=b.value;c!==this.OPT.HEX&&(a=parseInt(a,10));a!==this.get(c)&&this.set(c,a)},_rgbFieldKeypress:function(a,b,c){var d=this._getCommand(a),e=a.shiftKey?10:1;switch(d){case 6:this._useFieldValue.apply(this,
182
+ arguments);break;case 3:this.set(c,Math.min(this.get(c)+e,255));this._updateFormFields();break;case 4:this.set(c,Math.max(this.get(c)-e,0));this._updateFormFields()}},_hexFieldKeypress:function(a,b,c){this._getCommand(a)===6&&this._useFieldValue.apply(this,arguments)},_hexOnly:function(a,b){switch(this._getCommand(a)){case 6:case 5:case 1:break;case 2:if(b!==true)break;default:h.stopEvent(a);return false}},_numbersOnly:function(a){return this._hexOnly(a,true)},getElement:function(a){return this.get(this.OPT.ELEMENTS)[this.get(this.OPT.IDS)[a]]},
183
+ _createElements:function(){var a,b,c,e,f=this.get(this.OPT.IDS),g=this.get(this.OPT.TXT),h=this.get(this.OPT.IMAGES),i=function(a,b){var c=document.createElement(a);b&&d.augmentObject(c,b,true);return c},q=function(a,b){var c=d.merge({autocomplete:"off",value:"0",size:3,maxlength:3},b);c.name=c.id;return new i(a,c)};e=this.get("element");a=new i("div",{id:f[this.ID.PICKER_BG],className:"yui-picker-bg",tabIndex:-1,hideFocus:true});b=new i("div",{id:f[this.ID.PICKER_THUMB],className:"yui-picker-thumb"});
184
+ c=new i("img",{src:h.PICKER_THUMB});b.appendChild(c);a.appendChild(b);e.appendChild(a);a=new i("div",{id:f[this.ID.HUE_BG],className:"yui-picker-hue-bg",tabIndex:-1,hideFocus:true});b=new i("div",{id:f[this.ID.HUE_THUMB],className:"yui-picker-hue-thumb"});c=new i("img",{src:h.HUE_THUMB});b.appendChild(c);a.appendChild(b);e.appendChild(a);a=new i("div",{id:f[this.ID.CONTROLS],className:"yui-picker-controls"});e.appendChild(a);e=a;a=new i("div",{className:"hd"});b=new i("a",{id:f[this.ID.CONTROLS_LABEL],
185
+ href:"#"});a.appendChild(b);e.appendChild(a);a=new i("div",{className:"bd"});e.appendChild(a);e=a;a=new i("ul",{id:f[this.ID.RGB_CONTROLS],className:"yui-picker-rgb-controls"});b=new i("li");b.appendChild(document.createTextNode(g.R+" "));c=new q("input",{id:f[this.ID.R],className:"yui-picker-r"});b.appendChild(c);a.appendChild(b);b=new i("li");b.appendChild(document.createTextNode(g.G+" "));c=new q("input",{id:f[this.ID.G],className:"yui-picker-g"});b.appendChild(c);a.appendChild(b);b=new i("li");
186
+ b.appendChild(document.createTextNode(g.B+" "));c=new q("input",{id:f[this.ID.B],className:"yui-picker-b"});b.appendChild(c);a.appendChild(b);e.appendChild(a);a=new i("ul",{id:f[this.ID.HSV_CONTROLS],className:"yui-picker-hsv-controls"});b=new i("li");b.appendChild(document.createTextNode(g.H+" "));c=new q("input",{id:f[this.ID.H],className:"yui-picker-h"});b.appendChild(c);b.appendChild(document.createTextNode(" "+g.DEG));a.appendChild(b);b=new i("li");b.appendChild(document.createTextNode(g.S+" "));
187
+ c=new q("input",{id:f[this.ID.S],className:"yui-picker-s"});b.appendChild(c);b.appendChild(document.createTextNode(" "+g.PERCENT));a.appendChild(b);b=new i("li");b.appendChild(document.createTextNode(g.V+" "));c=new q("input",{id:f[this.ID.V],className:"yui-picker-v"});b.appendChild(c);b.appendChild(document.createTextNode(" "+g.PERCENT));a.appendChild(b);e.appendChild(a);a=new i("ul",{id:f[this.ID.HEX_SUMMARY],className:"yui-picker-hex_summary"});b=new i("li",{id:f[this.ID.R_HEX]});a.appendChild(b);
188
+ b=new i("li",{id:f[this.ID.G_HEX]});a.appendChild(b);b=new i("li",{id:f[this.ID.B_HEX]});a.appendChild(b);e.appendChild(a);a=new i("div",{id:f[this.ID.HEX_CONTROLS],className:"yui-picker-hex-controls"});a.appendChild(document.createTextNode(g.HEX+" "));b=new q("input",{id:f[this.ID.HEX],className:"yui-picker-hex",size:6,maxlength:6});a.appendChild(b);e.appendChild(a);e=this.get("element");a=new i("div",{id:f[this.ID.SWATCH],className:"yui-picker-swatch"});e.appendChild(a);a=new i("div",{id:f[this.ID.WEBSAFE_SWATCH],
189
+ className:"yui-picker-websafe-swatch"});e.appendChild(a)},_attachRGBHSV:function(a,b){h.on(this.getElement(a),"keydown",function(a,c){c._rgbFieldKeypress(a,this,b)},this);h.on(this.getElement(a),"keypress",this._numbersOnly,this,true);h.on(this.getElement(a),"blur",function(a,c){c._useFieldValue(a,this,b)},this)},_updateRGB:function(){this.set(this.OPT.RGB,[this.get(this.OPT.RED),this.get(this.OPT.GREEN),this.get(this.OPT.BLUE)]);this._updateSliders()},_initElements:function(){var a=this.OPT,b=this.get(a.IDS),
190
+ a=this.get(a.ELEMENTS),c,e,f;for(c in this.ID)d.hasOwnProperty(this.ID,c)&&(b[this.ID[c]]=b[c]);(e=g.get(b[this.ID.PICKER_BG]))||this._createElements();for(c in b)if(d.hasOwnProperty(b,c)){e=g.get(b[c]);f=g.generateId(e);b[c]=f;b[b[c]]=f;a[f]=e}},initPicker:function(){this._initSliders();this._bindUI();this.syncUI(true)},_initSliders:function(){var b=this.ID,c=this.get(this.OPT.PICKER_SIZE);this.hueSlider=a.getVertSlider(this.getElement(b.HUE_BG),this.getElement(b.HUE_THUMB),0,c);this.pickerSlider=
191
+ a.getSliderRegion(this.getElement(b.PICKER_BG),this.getElement(b.PICKER_THUMB),0,c,0,c);this.set(this.OPT.ANIMATE,this.get(this.OPT.ANIMATE))},_bindUI:function(){var a=this.ID,b=this.OPT;this.hueSlider.subscribe("change",this._onHueSliderChange,this,true);this.pickerSlider.subscribe("change",this._onPickerSliderChange,this,true);h.on(this.getElement(a.WEBSAFE_SWATCH),"click",function(){this.setValue(this.get(b.WEBSAFE))},this,true);h.on(this.getElement(a.CONTROLS_LABEL),"click",function(a){this.set(b.SHOW_CONTROLS,
192
+ !this.get(b.SHOW_CONTROLS));h.preventDefault(a)},this,true);this._attachRGBHSV(a.R,b.RED);this._attachRGBHSV(a.G,b.GREEN);this._attachRGBHSV(a.B,b.BLUE);this._attachRGBHSV(a.H,b.HUE);this._attachRGBHSV(a.S,b.SATURATION);this._attachRGBHSV(a.V,b.VALUE);h.on(this.getElement(a.HEX),"keydown",function(a,c){c._hexFieldKeypress(a,this,b.HEX)},this);h.on(this.getElement(this.ID.HEX),"keypress",this._hexOnly,this,true);h.on(this.getElement(this.ID.HEX),"blur",function(a,c){c._useFieldValue(a,this,b.HEX)},
193
+ this)},syncUI:function(a){this.skipAnim=a;this._updateRGB();this.skipAnim=false},_updateRGBFromHSV:function(){var a=[this.get(this.OPT.HUE),this.get(this.OPT.SATURATION)/100,this.get(this.OPT.VALUE)/100];this.set(this.OPT.RGB,f.hsv2rgb(a));this._updateSliders()},_updateHex:function(){var a=this.get(this.OPT.HEX),b=a.length,c;if(b===3){a=a.split("");for(c=0;c<b;c=c+1)a[c]=a[c]+a[c];a=a.join("")}if(a.length!==6)return false;this.setValue(f.hex2rgb(a))},_hideShowEl:function(a,b){var c=d.isString(a)?
194
+ this.getElement(a):a;g.setStyle(c,"display",b?"":"none")},initAttributes:function(a){a=a||{};c.superclass.initAttributes.call(this,a);this.setAttributeConfig(this.OPT.PICKER_SIZE,{value:a.size||this.DEFAULT.PICKER_SIZE});this.setAttributeConfig(this.OPT.HUE,{value:a.hue||0,validator:d.isNumber});this.setAttributeConfig(this.OPT.SATURATION,{value:a.saturation||0,validator:d.isNumber});this.setAttributeConfig(this.OPT.VALUE,{value:d.isNumber(a.value)?a.value:100,validator:d.isNumber});this.setAttributeConfig(this.OPT.RED,
195
+ {value:d.isNumber(a.red)?a.red:255,validator:d.isNumber});this.setAttributeConfig(this.OPT.GREEN,{value:d.isNumber(a.green)?a.green:255,validator:d.isNumber});this.setAttributeConfig(this.OPT.BLUE,{value:d.isNumber(a.blue)?a.blue:255,validator:d.isNumber});this.setAttributeConfig(this.OPT.HEX,{value:a.hex||"FFFFFF",validator:d.isString});this.setAttributeConfig(this.OPT.RGB,{value:a.rgb||[255,255,255],method:function(a){this.set(this.OPT.RED,a[0],true);this.set(this.OPT.GREEN,a[1],true);this.set(this.OPT.BLUE,
196
+ a[2],true);var b=f.websafe(a),c=f.rgb2hex(a),a=f.rgb2hsv(a);this.set(this.OPT.WEBSAFE,b,true);this.set(this.OPT.HEX,c,true);a[1]&&this.set(this.OPT.HUE,a[0],true);this.set(this.OPT.SATURATION,Math.round(a[1]*100),true);this.set(this.OPT.VALUE,Math.round(a[2]*100),true)},readonly:true});this.setAttributeConfig(this.OPT.CONTAINER,{value:null,method:function(a){a&&a.showEvent.subscribe(function(){this.pickerSlider.focus()},this,true)}});this.setAttributeConfig(this.OPT.WEBSAFE,{value:a.websafe||[255,
197
+ 255,255]});var b=a.ids||d.merge({},this.ID),h;if(!a.ids&&e>1)for(h in b)d.hasOwnProperty(b,h)&&(b[h]=b[h]+e);this.setAttributeConfig(this.OPT.IDS,{value:b,writeonce:true});this.setAttributeConfig(this.OPT.TXT,{value:a.txt||this.TXT,writeonce:true});this.setAttributeConfig(this.OPT.IMAGES,{value:a.images||this.IMAGE,writeonce:true});this.setAttributeConfig(this.OPT.ELEMENTS,{value:{},readonly:true});this.setAttributeConfig(this.OPT.SHOW_CONTROLS,{value:d.isBoolean(a.showcontrols)?a.showcontrols:true,
198
+ method:function(a){this._hideShowEl(g.getElementsByClassName("bd","div",this.getElement(this.ID.CONTROLS))[0],a);this.getElement(this.ID.CONTROLS_LABEL).innerHTML=a?this.get(this.OPT.TXT).HIDE_CONTROLS:this.get(this.OPT.TXT).SHOW_CONTROLS}});this.setAttributeConfig(this.OPT.SHOW_RGB_CONTROLS,{value:d.isBoolean(a.showrgbcontrols)?a.showrgbcontrols:true,method:function(a){this._hideShowEl(this.ID.RGB_CONTROLS,a)}});this.setAttributeConfig(this.OPT.SHOW_HSV_CONTROLS,{value:d.isBoolean(a.showhsvcontrols)?
199
+ a.showhsvcontrols:false,method:function(a){this._hideShowEl(this.ID.HSV_CONTROLS,a);a&&this.get(this.OPT.SHOW_HEX_SUMMARY)&&this.set(this.OPT.SHOW_HEX_SUMMARY,false)}});this.setAttributeConfig(this.OPT.SHOW_HEX_CONTROLS,{value:d.isBoolean(a.showhexcontrols)?a.showhexcontrols:false,method:function(a){this._hideShowEl(this.ID.HEX_CONTROLS,a)}});this.setAttributeConfig(this.OPT.SHOW_WEBSAFE,{value:d.isBoolean(a.showwebsafe)?a.showwebsafe:true,method:function(a){this._hideShowEl(this.ID.WEBSAFE_SWATCH,
200
+ a)}});this.setAttributeConfig(this.OPT.SHOW_HEX_SUMMARY,{value:d.isBoolean(a.showhexsummary)?a.showhexsummary:true,method:function(a){this._hideShowEl(this.ID.HEX_SUMMARY,a);a&&this.get(this.OPT.SHOW_HSV_CONTROLS)&&this.set(this.OPT.SHOW_HSV_CONTROLS,false)}});this.setAttributeConfig(this.OPT.ANIMATE,{value:d.isBoolean(a.animate)?a.animate:true,method:function(a){if(this.pickerSlider){this.pickerSlider.animate=a;this.hueSlider.animate=a}}});this.on(this.OPT.HUE+"Change",this._updateRGBFromHSV,this,
201
+ true);this.on(this.OPT.SATURATION+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.VALUE+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.RED+"Change",this._updateRGB,this,true);this.on(this.OPT.GREEN+"Change",this._updateRGB,this,true);this.on(this.OPT.BLUE+"Change",this._updateRGB,this,true);this.on(this.OPT.HEX+"Change",this._updateHex,this,true);this._initElements()}});YAHOO.widget.ColorPicker=c})();YAHOO.register("colorpicker",YAHOO.widget.ColorPicker,{version:"2.7.0",build:"1796"});
202
+ (function(){var c=YAHOO.util,e=function(b,c,a,e){this.init(b,c,a,e)};e.NAME="Anim";e.prototype={toString:function(){var b=this.getEl()||{};return this.constructor.NAME+": "+(b.id||b.tagName)},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(b,c,a){return this.method(this.currentFrame,c,a-c,this.totalFrames)},setAttribute:function(b,
203
+ d,a){var e=this.getEl();this.patterns.noNegatives.test(b)&&(d=d>0?d:0);"style"in e?c.Dom.setStyle(e,b,d+a):b in e&&(e[b]=d)},getAttribute:function(b){var d=this.getEl(),a=c.Dom.getStyle(d,b);if(a!=="auto"&&!this.patterns.offsetUnit.test(a))return parseFloat(a);var e=this.patterns.offsetAttribute.exec(b)||[],g=!!e[3],h=!!e[2];"style"in d?a=h||c.Dom.getStyle(d,"position")=="absolute"&&g?d["offset"+e[0].charAt(0).toUpperCase()+e[0].substr(1)]:0:b in d&&(a=d[b]);return a},getDefaultUnit:function(b){return this.patterns.defaultUnit.test(b)?
204
+ "px":""},setRuntimeAttribute:function(b){var c,a,e=this.attributes;this.runtimeAttributes[b]={};var g=function(a){return typeof a!=="undefined"};if(!g(e[b].to)&&!g(e[b].by))return false;c=g(e[b].from)?e[b].from:this.getAttribute(b);if(g(e[b].to))a=e[b].to;else if(g(e[b].by))if(c.constructor==Array){a=[];for(var h=0,i=c.length;h<i;++h)a[h]=c[h]+e[b].by[h]*1}else a=c+e[b].by*1;this.runtimeAttributes[b].start=c;this.runtimeAttributes[b].end=a;this.runtimeAttributes[b].unit=g(e[b].unit)?e[b].unit:this.getDefaultUnit(b);
205
+ return true},init:function(b,d,a,e){var g=false,h=null,i=0,b=c.Dom.get(b);this.attributes=d||{};this.duration=!YAHOO.lang.isUndefined(a)?a:1;this.method=e||c.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=c.AnimMgr.fps;this.setEl=function(a){b=c.Dom.get(a)};this.getEl=function(){return b};this.isAnimated=function(){return g};this.getStartTime=function(){return h};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated())return false;this.currentFrame=0;this.totalFrames=
206
+ this.useSeconds?Math.ceil(c.AnimMgr.fps*this.duration):this.duration;if(this.duration===0&&this.useSeconds)this.totalFrames=1;c.AnimMgr.registerElement(this);return true};this.stop=function(a){if(!this.isAnimated())return false;if(a){this.currentFrame=this.totalFrames;this._onTween.fire()}c.AnimMgr.stop(this)};this._onStart=new c.CustomEvent("_start",this,true);this.onStart=new c.CustomEvent("start",this);this.onTween=new c.CustomEvent("tween",this);this._onTween=new c.CustomEvent("_tween",this,true);
207
+ this.onComplete=new c.CustomEvent("complete",this);this._onComplete=new c.CustomEvent("_complete",this,true);this._onStart.subscribe(function(){this.onStart.fire();this.runtimeAttributes={};for(var a in this.attributes)this.setRuntimeAttribute(a);g=true;i=0;h=new Date});this._onTween.subscribe(function(){var a={duration:new Date-this.getStartTime(),currentFrame:this.currentFrame,toString:function(){return"duration: "+a.duration+", currentFrame: "+a.currentFrame}};this.onTween.fire(a);var b=this.runtimeAttributes,
208
+ c;for(c in b)this.setAttribute(c,this.doMethod(c,b[c].start,b[c].end),b[c].unit);i=i+1});this._onComplete.subscribe(function(){var a=(new Date-h)/1E3,b={duration:a,frames:i,fps:i/a,toString:function(){return"duration: "+b.duration+", frames: "+b.frames+", fps: "+b.fps}};g=false;i=0;this.onComplete.fire(b)})}};c.Anim=e})();
209
+ YAHOO.util.AnimMgr=new function(){var c=null,e=[],b=0;this.fps=1E3;this.delay=1;this.registerElement=function(c){e[e.length]=c;b=b+1;c._onStart.fire();this.start()};this.unRegister=function(c,a){var f;if(!(f=a))a:{f=0;for(var g=e.length;f<g;++f)if(e[f]==c)break a;f=-1}a=f;if(!c.isAnimated()||a==-1)return false;c._onComplete.fire();e.splice(a,1);b=b-1;b<=0&&this.stop();return true};this.start=function(){c===null&&(c=setInterval(this.run,this.delay))};this.stop=function(d){if(d)this.unRegister(d);else{clearInterval(c);
210
+ for(var d=0,a=e.length;d<a;++d)this.unRegister(e[0],0);e=[];c=null;b=0}};this.run=function(){for(var b=0,a=e.length;b<a;++b){var c=e[b];if(c&&c.isAnimated())if(c.currentFrame<c.totalFrames||c.totalFrames===null){c.currentFrame=c.currentFrame+1;if(c.useSeconds){var g=c,h=g.totalFrames,i=g.currentFrame,j=g.currentFrame*g.duration*1E3/g.totalFrames,k=new Date-g.getStartTime(),l=0,l=k<g.duration*1E3?Math.round((k/j-1)*g.currentFrame):h-(i+1);if(l>0&&isFinite(l)){g.currentFrame+l>=h&&(l=h-(i+1));g.currentFrame=
211
+ g.currentFrame+l}}c._onTween.fire()}else YAHOO.util.AnimMgr.stop(c,b)}}};YAHOO.util.Bezier=new function(){this.getPosition=function(c,e){for(var b=c.length,d=[],a=0;a<b;++a)d[a]=[c[a][0],c[a][1]];for(var f=1;f<b;++f)for(a=0;a<b-f;++a){d[a][0]=(1-e)*d[a][0]+e*d[parseInt(a+1,10)][0];d[a][1]=(1-e)*d[a][1]+e*d[parseInt(a+1,10)][1]}return[d[0][0],d[0][1]]}};
212
+ (function(){var c=function(a,b,d,e){c.superclass.constructor.call(this,a,b,d,e)};c.NAME="ColorAnim";c.DEFAULT_BGCOLOR="#fff";var e=YAHOO.util;YAHOO.extend(c,e.Anim);var b=c.superclass,d=c.prototype;d.patterns.color=/color$/i;d.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;d.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;d.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;d.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;d.parseColor=function(a){if(a.length==
213
+ 3)return a;var b=this.patterns.hex.exec(a);if(b&&b.length==4)return[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)];if((b=this.patterns.rgb.exec(a))&&b.length==4)return[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10)];return(b=this.patterns.hex3.exec(a))&&b.length==4?[parseInt(b[1]+b[1],16),parseInt(b[2]+b[2],16),parseInt(b[3]+b[3],16)]:null};d.getAttribute=function(a){var d=this.getEl();if(this.patterns.color.test(a)){var g=YAHOO.util.Dom.getStyle(d,a),h=this;if(this.patterns.transparent.test(g))g=
214
+ (d=YAHOO.util.Dom.getAncestorBy(d,function(){return!h.patterns.transparent.test(g)}))?e.Dom.getStyle(d,a):c.DEFAULT_BGCOLOR}else g=b.getAttribute.call(this,a);return g};d.doMethod=function(a,c,d){var e;if(this.patterns.color.test(a)){e=[];for(var i=0,j=c.length;i<j;++i)e[i]=b.doMethod.call(this,a,c[i],d[i]);e="rgb("+Math.floor(e[0])+","+Math.floor(e[1])+","+Math.floor(e[2])+")"}else e=b.doMethod.call(this,a,c,d);return e};d.setRuntimeAttribute=function(a){b.setRuntimeAttribute.call(this,a);if(this.patterns.color.test(a)){var c=
215
+ this.attributes,d=this.parseColor(this.runtimeAttributes[a].start),e=this.parseColor(this.runtimeAttributes[a].end);if(typeof c[a].to==="undefined"&&typeof c[a].by!=="undefined")for(var e=this.parseColor(c[a].by),c=0,i=d.length;c<i;++c)e[c]=d[c]+e[c];this.runtimeAttributes[a].start=d;this.runtimeAttributes[a].end=e}};e.ColorAnim=c})();
216
+ YAHOO.util.Easing={easeNone:function(c,e,b,d){return b*c/d+e},easeIn:function(c,e,b,d){return b*(c=c/d)*c+e},easeOut:function(c,e,b,d){return-b*(c=c/d)*(c-2)+e},easeBoth:function(c,e,b,d){return(c=c/(d/2))<1?b/2*c*c+e:-b/2*(--c*(c-2)-1)+e},easeInStrong:function(c,e,b,d){return b*(c=c/d)*c*c*c+e},easeOutStrong:function(c,e,b,d){return-b*((c=c/d-1)*c*c*c-1)+e},easeBothStrong:function(c,e,b,d){return(c=c/(d/2))<1?b/2*c*c*c*c+e:-b/2*((c=c-2)*c*c*c-2)+e},elasticIn:function(c,e,b,d,a,f){if(c==0)return e;
217
+ if((c=c/d)==1)return e+b;f||(f=d*0.3);if(!a||a<Math.abs(b)){a=b;b=f/4}else b=f/(2*Math.PI)*Math.asin(b/a);return-(a*Math.pow(2,10*(c=c-1))*Math.sin((c*d-b)*2*Math.PI/f))+e},elasticOut:function(c,e,b,d,a,f){if(c==0)return e;if((c=c/d)==1)return e+b;f||(f=d*0.3);if(!a||a<Math.abs(b))var a=b,g=f/4;else g=f/(2*Math.PI)*Math.asin(b/a);return a*Math.pow(2,-10*c)*Math.sin((c*d-g)*2*Math.PI/f)+b+e},elasticBoth:function(c,e,b,d,a,f){if(c==0)return e;if((c=c/(d/2))==2)return e+b;f||(f=d*0.3*1.5);if(!a||a<Math.abs(b))var a=
218
+ b,g=f/4;else g=f/(2*Math.PI)*Math.asin(b/a);return c<1?-0.5*a*Math.pow(2,10*(c=c-1))*Math.sin((c*d-g)*2*Math.PI/f)+e:a*Math.pow(2,-10*(c=c-1))*Math.sin((c*d-g)*2*Math.PI/f)*0.5+b+e},backIn:function(c,e,b,d,a){typeof a=="undefined"&&(a=1.70158);return b*(c=c/d)*c*((a+1)*c-a)+e},backOut:function(c,e,b,d,a){typeof a=="undefined"&&(a=1.70158);return b*((c=c/d-1)*c*((a+1)*c+a)+1)+e},backBoth:function(c,e,b,d,a){typeof a=="undefined"&&(a=1.70158);return(c=c/(d/2))<1?b/2*c*c*(((a=a*1.525)+1)*c-a)+e:b/2*
219
+ ((c=c-2)*c*(((a=a*1.525)+1)*c+a)+2)+e},bounceIn:function(c,e,b,d){return b-YAHOO.util.Easing.bounceOut(d-c,0,b,d)+e},bounceOut:function(c,e,b,d){return(c=c/d)<1/2.75?b*7.5625*c*c+e:c<2/2.75?b*(7.5625*(c=c-1.5/2.75)*c+0.75)+e:c<2.5/2.75?b*(7.5625*(c=c-2.25/2.75)*c+0.9375)+e:b*(7.5625*(c=c-2.625/2.75)*c+0.984375)+e},bounceBoth:function(c,e,b,d){return c<d/2?YAHOO.util.Easing.bounceIn(c*2,0,b,d)*0.5+e:YAHOO.util.Easing.bounceOut(c*2-d,0,b,d)*0.5+b*0.5+e}};
220
+ (function(){var c=function(a,b,d,e){a&&c.superclass.constructor.call(this,a,b,d,e)};c.NAME="Motion";var e=YAHOO.util;YAHOO.extend(c,e.ColorAnim);var b=c.superclass,d=c.prototype;d.patterns.points=/^points$/i;d.setAttribute=function(a,c,d){if(this.patterns.points.test(a)){d=d||"px";b.setAttribute.call(this,"left",c[0],d);b.setAttribute.call(this,"top",c[1],d)}else b.setAttribute.call(this,a,c,d)};d.getAttribute=function(a){return this.patterns.points.test(a)?[b.getAttribute.call(this,"left"),b.getAttribute.call(this,
221
+ "top")]:b.getAttribute.call(this,a)};d.doMethod=function(a,c,d){var f=null;if(this.patterns.points.test(a)){c=this.method(this.currentFrame,0,100,this.totalFrames)/100;f=e.Bezier.getPosition(this.runtimeAttributes[a],c)}else f=b.doMethod.call(this,a,c,d);return f};d.setRuntimeAttribute=function(c){if(this.patterns.points.test(c)){var d=this.getEl(),i=this.attributes,j=i.points.control||[],k,l,m;if(j.length>0&&!(j[0]instanceof Array))j=[j];else{var n=[];l=0;for(m=j.length;l<m;++l)n[l]=j[l];j=n}e.Dom.getStyle(d,
222
+ "position")=="static"&&e.Dom.setStyle(d,"position","relative");f(i.points.from)?e.Dom.setXY(d,i.points.from):e.Dom.setXY(d,e.Dom.getXY(d));d=this.getAttribute("points");if(f(i.points.to)){k=a.call(this,i.points.to,d);e.Dom.getXY(this.getEl());l=0;for(m=j.length;l<m;++l)j[l]=a.call(this,j[l],d)}else if(f(i.points.by)){k=[d[0]+i.points.by[0],d[1]+i.points.by[1]];l=0;for(m=j.length;l<m;++l)j[l]=[d[0]+j[l][0],d[1]+j[l][1]]}this.runtimeAttributes[c]=[d];j.length>0&&(this.runtimeAttributes[c]=this.runtimeAttributes[c].concat(j));
223
+ this.runtimeAttributes[c][this.runtimeAttributes[c].length]=k}else b.setRuntimeAttribute.call(this,c)};var a=function(a,b){var c=e.Dom.getXY(this.getEl());return a=[a[0]-c[0]+b[0],a[1]-c[1]+b[1]]},f=function(a){return typeof a!=="undefined"};e.Motion=c})();
224
+ (function(){var c=function(a,b,d,e){a&&c.superclass.constructor.call(this,a,b,d,e)};c.NAME="Scroll";var e=YAHOO.util;YAHOO.extend(c,e.ColorAnim);var b=c.superclass,d=c.prototype;d.doMethod=function(a,c,d){var e=null;return e=a=="scroll"?[this.method(this.currentFrame,c[0],d[0]-c[0],this.totalFrames),this.method(this.currentFrame,c[1],d[1]-c[1],this.totalFrames)]:b.doMethod.call(this,a,c,d)};d.getAttribute=function(a){var c=null,c=this.getEl();return c=a=="scroll"?[c.scrollLeft,c.scrollTop]:b.getAttribute.call(this,
225
+ a)};d.setAttribute=function(a,c,d){var e=this.getEl();if(a=="scroll"){e.scrollLeft=c[0];e.scrollTop=c[1]}else b.setAttribute.call(this,a,c,d)};e.Scroll=c})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.7.0",build:"1799"});