kuppayam 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1055) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/config/kuppayam_manifest.js +0 -0
  6. data/app/assets/images/kuppayam/defaults/default-large.png +0 -0
  7. data/app/assets/images/kuppayam/defaults/default-small.png +0 -0
  8. data/app/assets/images/kuppayam/defaults/user-large.png +0 -0
  9. data/app/assets/images/kuppayam/defaults/user-small.png +0 -0
  10. data/app/assets/images/kuppayam/favicon.png +0 -0
  11. data/app/assets/images/kuppayam/logo.png +0 -0
  12. data/app/assets/javascripts/jquery_with_ujs.js +15 -0
  13. data/app/assets/javascripts/kuppayam.js +21 -0
  14. data/app/assets/javascripts/kuppayam/utilities.js +68 -0
  15. data/app/assets/stylesheets/kuppayam.css +23 -0
  16. data/app/assets/stylesheets/kuppayam/custom.css +8 -0
  17. data/app/assets/stylesheets/kuppayam/handycss.css +996 -0
  18. data/app/controllers/kuppayam/base_controller.rb +43 -0
  19. data/app/helpers/breadcrumbs_helper.rb +27 -0
  20. data/app/helpers/filter_helper.rb +370 -0
  21. data/app/helpers/flash_helper.rb +54 -0
  22. data/app/helpers/image_helper.rb +209 -0
  23. data/app/helpers/kuppayam_helper.rb +72 -0
  24. data/app/helpers/meta_tags_helper.rb +50 -0
  25. data/app/helpers/navigation_helper.rb +17 -0
  26. data/app/helpers/params_parser_helper.rb +48 -0
  27. data/app/helpers/render_helper.rb +28 -0
  28. data/app/helpers/resource_helper.rb +133 -0
  29. data/app/views/kaminari/_first_page.html.erb +11 -0
  30. data/app/views/kaminari/_gap.html.erb +8 -0
  31. data/app/views/kaminari/_last_page.html.erb +11 -0
  32. data/app/views/kaminari/_next_page.html.erb +11 -0
  33. data/app/views/kaminari/_page.html.erb +12 -0
  34. data/app/views/kaminari/_paginator.html.erb +25 -0
  35. data/app/views/kaminari/_prev_page.html.erb +11 -0
  36. data/app/views/layouts/kuppayam/_footer.html.erb +25 -0
  37. data/app/views/layouts/kuppayam/_head.html.erb +29 -0
  38. data/app/views/layouts/kuppayam/_header.html.erb +43 -0
  39. data/app/views/layouts/kuppayam/_heading.html.erb +9 -0
  40. data/app/views/layouts/kuppayam/_navbar.html.erb +321 -0
  41. data/app/views/layouts/kuppayam/_overlays.html.erb +40 -0
  42. data/app/views/layouts/kuppayam/_settings_pane.html.erb +107 -0
  43. data/app/views/layouts/kuppayam/_sidebar.html.erb +612 -0
  44. data/app/views/layouts/kuppayam/_sidebar_old.html.erb +54 -0
  45. data/app/views/layouts/kuppayam/admin.html.erb +59 -0
  46. data/app/views/layouts/kuppayam/blank.html.erb +37 -0
  47. data/config/initializers/config_center.rb +60 -0
  48. data/config/initializers/kuppayam_validators.rb +76 -0
  49. data/config/routes.rb +2 -0
  50. data/lib/kuppayam.rb +8 -0
  51. data/lib/kuppayam/action_view/form_helper.rb +254 -0
  52. data/lib/kuppayam/action_view/modal_helper.rb +7 -0
  53. data/lib/kuppayam/action_view/theme_helper.rb +226 -0
  54. data/lib/kuppayam/engine.rb +34 -0
  55. data/lib/kuppayam/version.rb +3 -0
  56. data/lib/tasks/kuppayam_tasks.rake +4 -0
  57. data/vendor/assets/fonts/elusive/css/animation.css +85 -0
  58. data/vendor/assets/fonts/elusive/css/elusive-codes.css +272 -0
  59. data/vendor/assets/fonts/elusive/css/elusive-embedded.css +325 -0
  60. data/vendor/assets/fonts/elusive/css/elusive-ie7-codes.css +272 -0
  61. data/vendor/assets/fonts/elusive/css/elusive-ie7.css +283 -0
  62. data/vendor/assets/fonts/elusive/css/elusive.css +323 -0
  63. data/vendor/assets/fonts/elusive/font/elusive.eot +0 -0
  64. data/vendor/assets/fonts/elusive/font/elusive.svg +282 -0
  65. data/vendor/assets/fonts/elusive/font/elusive.ttf +0 -0
  66. data/vendor/assets/fonts/elusive/font/elusive.woff +0 -0
  67. data/vendor/assets/fonts/elusive/index.html +0 -0
  68. data/vendor/assets/fonts/fontawesome/css/font-awesome.css +1681 -0
  69. data/vendor/assets/fonts/fontawesome/css/font-awesome.min.css +4 -0
  70. data/vendor/assets/fonts/fontawesome/fonts/FontAwesome.otf +0 -0
  71. data/vendor/assets/fonts/fontawesome/fonts/fontawesome-webfont.eot +0 -0
  72. data/vendor/assets/fonts/fontawesome/fonts/fontawesome-webfont.svg +520 -0
  73. data/vendor/assets/fonts/fontawesome/fonts/fontawesome-webfont.ttf +0 -0
  74. data/vendor/assets/fonts/fontawesome/fonts/fontawesome-webfont.woff +0 -0
  75. data/vendor/assets/fonts/fontawesome/index.html +0 -0
  76. data/vendor/assets/fonts/glyphicons/glyphicons-halflings-regular.eot +0 -0
  77. data/vendor/assets/fonts/glyphicons/glyphicons-halflings-regular.svg +229 -0
  78. data/vendor/assets/fonts/glyphicons/glyphicons-halflings-regular.ttf +0 -0
  79. data/vendor/assets/fonts/glyphicons/glyphicons-halflings-regular.woff +0 -0
  80. data/vendor/assets/fonts/glyphicons/index.html +0 -0
  81. data/vendor/assets/fonts/linecons/css/animation.css +85 -0
  82. data/vendor/assets/fonts/linecons/css/linecons-codes.css +49 -0
  83. data/vendor/assets/fonts/linecons/css/linecons-embedded.css +102 -0
  84. data/vendor/assets/fonts/linecons/css/linecons-ie7-codes.css +49 -0
  85. data/vendor/assets/fonts/linecons/css/linecons-ie7.css +60 -0
  86. data/vendor/assets/fonts/linecons/css/linecons.css +100 -0
  87. data/vendor/assets/fonts/linecons/font/linecons.eot +0 -0
  88. data/vendor/assets/fonts/linecons/font/linecons.svg +59 -0
  89. data/vendor/assets/fonts/linecons/font/linecons.ttf +0 -0
  90. data/vendor/assets/fonts/linecons/font/linecons.woff +0 -0
  91. data/vendor/assets/fonts/linecons/index.html +0 -0
  92. data/vendor/assets/fonts/meteocons/css/animation.css +85 -0
  93. data/vendor/assets/fonts/meteocons/css/meteocons-codes.css +48 -0
  94. data/vendor/assets/fonts/meteocons/css/meteocons-embedded.css +101 -0
  95. data/vendor/assets/fonts/meteocons/css/meteocons-ie7-codes.css +48 -0
  96. data/vendor/assets/fonts/meteocons/css/meteocons-ie7.css +59 -0
  97. data/vendor/assets/fonts/meteocons/css/meteocons.css +99 -0
  98. data/vendor/assets/fonts/meteocons/font/meteocons.eot +0 -0
  99. data/vendor/assets/fonts/meteocons/font/meteocons.svg +58 -0
  100. data/vendor/assets/fonts/meteocons/font/meteocons.ttf +0 -0
  101. data/vendor/assets/fonts/meteocons/font/meteocons.woff +0 -0
  102. data/vendor/assets/fonts/meteocons/index.html +0 -0
  103. data/vendor/assets/images/flags/flag-al.png +0 -0
  104. data/vendor/assets/images/flags/flag-br.png +0 -0
  105. data/vendor/assets/images/flags/flag-de.png +0 -0
  106. data/vendor/assets/images/flags/flag-es.png +0 -0
  107. data/vendor/assets/images/flags/flag-fr.png +0 -0
  108. data/vendor/assets/images/flags/flag-uk.png +0 -0
  109. data/vendor/assets/images/flags/index.html +0 -0
  110. data/vendor/assets/javascripts/TweenLite.min.js +12 -0
  111. data/vendor/assets/javascripts/TweenMax.min.js +17 -0
  112. data/vendor/assets/javascripts/bootstrap.min.js +7 -0
  113. data/vendor/assets/javascripts/ckeditor/CHANGES.md +643 -0
  114. data/vendor/assets/javascripts/ckeditor/LICENSE.md +1264 -0
  115. data/vendor/assets/javascripts/ckeditor/README.md +39 -0
  116. data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +10 -0
  117. data/vendor/assets/javascripts/ckeditor/build-config.js +152 -0
  118. data/vendor/assets/javascripts/ckeditor/ckeditor.js +936 -0
  119. data/vendor/assets/javascripts/ckeditor/config.js +42 -0
  120. data/vendor/assets/javascripts/ckeditor/contents.css +134 -0
  121. data/vendor/assets/javascripts/ckeditor/index.html +0 -0
  122. data/vendor/assets/javascripts/ckeditor/lang/af.js +5 -0
  123. data/vendor/assets/javascripts/ckeditor/lang/ar.js +5 -0
  124. data/vendor/assets/javascripts/ckeditor/lang/bg.js +5 -0
  125. data/vendor/assets/javascripts/ckeditor/lang/bn.js +5 -0
  126. data/vendor/assets/javascripts/ckeditor/lang/bs.js +5 -0
  127. data/vendor/assets/javascripts/ckeditor/lang/ca.js +5 -0
  128. data/vendor/assets/javascripts/ckeditor/lang/cs.js +5 -0
  129. data/vendor/assets/javascripts/ckeditor/lang/cy.js +5 -0
  130. data/vendor/assets/javascripts/ckeditor/lang/da.js +5 -0
  131. data/vendor/assets/javascripts/ckeditor/lang/de.js +5 -0
  132. data/vendor/assets/javascripts/ckeditor/lang/el.js +5 -0
  133. data/vendor/assets/javascripts/ckeditor/lang/en-au.js +5 -0
  134. data/vendor/assets/javascripts/ckeditor/lang/en-ca.js +5 -0
  135. data/vendor/assets/javascripts/ckeditor/lang/en-gb.js +5 -0
  136. data/vendor/assets/javascripts/ckeditor/lang/en.js +5 -0
  137. data/vendor/assets/javascripts/ckeditor/lang/eo.js +5 -0
  138. data/vendor/assets/javascripts/ckeditor/lang/es.js +5 -0
  139. data/vendor/assets/javascripts/ckeditor/lang/et.js +5 -0
  140. data/vendor/assets/javascripts/ckeditor/lang/eu.js +5 -0
  141. data/vendor/assets/javascripts/ckeditor/lang/fa.js +5 -0
  142. data/vendor/assets/javascripts/ckeditor/lang/fi.js +5 -0
  143. data/vendor/assets/javascripts/ckeditor/lang/fo.js +5 -0
  144. data/vendor/assets/javascripts/ckeditor/lang/fr-ca.js +5 -0
  145. data/vendor/assets/javascripts/ckeditor/lang/fr.js +5 -0
  146. data/vendor/assets/javascripts/ckeditor/lang/gl.js +5 -0
  147. data/vendor/assets/javascripts/ckeditor/lang/gu.js +5 -0
  148. data/vendor/assets/javascripts/ckeditor/lang/he.js +5 -0
  149. data/vendor/assets/javascripts/ckeditor/lang/hi.js +5 -0
  150. data/vendor/assets/javascripts/ckeditor/lang/hr.js +5 -0
  151. data/vendor/assets/javascripts/ckeditor/lang/hu.js +5 -0
  152. data/vendor/assets/javascripts/ckeditor/lang/id.js +5 -0
  153. data/vendor/assets/javascripts/ckeditor/lang/is.js +5 -0
  154. data/vendor/assets/javascripts/ckeditor/lang/it.js +5 -0
  155. data/vendor/assets/javascripts/ckeditor/lang/ja.js +5 -0
  156. data/vendor/assets/javascripts/ckeditor/lang/ka.js +5 -0
  157. data/vendor/assets/javascripts/ckeditor/lang/km.js +5 -0
  158. data/vendor/assets/javascripts/ckeditor/lang/ko.js +5 -0
  159. data/vendor/assets/javascripts/ckeditor/lang/ku.js +5 -0
  160. data/vendor/assets/javascripts/ckeditor/lang/lt.js +5 -0
  161. data/vendor/assets/javascripts/ckeditor/lang/lv.js +5 -0
  162. data/vendor/assets/javascripts/ckeditor/lang/mk.js +5 -0
  163. data/vendor/assets/javascripts/ckeditor/lang/mn.js +5 -0
  164. data/vendor/assets/javascripts/ckeditor/lang/ms.js +5 -0
  165. data/vendor/assets/javascripts/ckeditor/lang/nb.js +5 -0
  166. data/vendor/assets/javascripts/ckeditor/lang/nl.js +5 -0
  167. data/vendor/assets/javascripts/ckeditor/lang/no.js +5 -0
  168. data/vendor/assets/javascripts/ckeditor/lang/pl.js +5 -0
  169. data/vendor/assets/javascripts/ckeditor/lang/pt-br.js +5 -0
  170. data/vendor/assets/javascripts/ckeditor/lang/pt.js +5 -0
  171. data/vendor/assets/javascripts/ckeditor/lang/ro.js +5 -0
  172. data/vendor/assets/javascripts/ckeditor/lang/ru.js +5 -0
  173. data/vendor/assets/javascripts/ckeditor/lang/si.js +5 -0
  174. data/vendor/assets/javascripts/ckeditor/lang/sk.js +5 -0
  175. data/vendor/assets/javascripts/ckeditor/lang/sl.js +5 -0
  176. data/vendor/assets/javascripts/ckeditor/lang/sq.js +5 -0
  177. data/vendor/assets/javascripts/ckeditor/lang/sr-latn.js +5 -0
  178. data/vendor/assets/javascripts/ckeditor/lang/sr.js +5 -0
  179. data/vendor/assets/javascripts/ckeditor/lang/sv.js +5 -0
  180. data/vendor/assets/javascripts/ckeditor/lang/th.js +5 -0
  181. data/vendor/assets/javascripts/ckeditor/lang/tr.js +5 -0
  182. data/vendor/assets/javascripts/ckeditor/lang/tt.js +5 -0
  183. data/vendor/assets/javascripts/ckeditor/lang/ug.js +5 -0
  184. data/vendor/assets/javascripts/ckeditor/lang/uk.js +5 -0
  185. data/vendor/assets/javascripts/ckeditor/lang/vi.js +5 -0
  186. data/vendor/assets/javascripts/ckeditor/lang/zh-cn.js +5 -0
  187. data/vendor/assets/javascripts/ckeditor/lang/zh.js +5 -0
  188. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
  189. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  190. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +11 -0
  191. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +11 -0
  192. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +13 -0
  193. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +13 -0
  194. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +11 -0
  195. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +11 -0
  196. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +12 -0
  197. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +13 -0
  198. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +11 -0
  199. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +11 -0
  200. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +13 -0
  201. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +12 -0
  202. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +11 -0
  203. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +11 -0
  204. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +12 -0
  205. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +12 -0
  206. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +13 -0
  207. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +12 -0
  208. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +11 -0
  209. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +11 -0
  210. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +11 -0
  211. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +11 -0
  212. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +13 -0
  213. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +11 -0
  214. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +13 -0
  215. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
  216. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +11 -0
  217. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +10 -0
  218. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +12 -0
  219. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +11 -0
  220. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +13 -0
  221. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +11 -0
  222. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +11 -0
  223. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +12 -0
  224. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +12 -0
  225. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +11 -0
  226. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +13 -0
  227. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +12 -0
  228. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +12 -0
  229. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +12 -0
  230. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +11 -0
  231. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +10 -0
  232. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +12 -0
  233. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +12 -0
  234. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +11 -0
  235. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +11 -0
  236. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +11 -0
  237. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +12 -0
  238. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +11 -0
  239. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +12 -0
  240. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +11 -0
  241. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +11 -0
  242. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +12 -0
  243. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +11 -0
  244. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +9 -0
  245. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +9 -0
  246. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +7 -0
  247. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  248. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  249. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  250. data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  251. data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  252. data/vendor/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  253. data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +43 -0
  254. data/vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  255. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +7 -0
  256. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +26 -0
  257. data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  258. data/vendor/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  259. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  260. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  261. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  262. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  263. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +31 -0
  264. data/vendor/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +28 -0
  265. data/vendor/assets/javascripts/ckeditor/plugins/scayt/README.md +25 -0
  266. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +17 -0
  267. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  268. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  269. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  270. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  271. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  272. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  273. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  274. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  275. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  276. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
  277. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  278. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  279. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  280. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  281. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  282. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  283. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  284. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  285. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  286. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
  287. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  288. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  289. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  290. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  291. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  292. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
  293. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  294. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  295. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  296. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  297. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  298. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  299. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  300. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  301. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  302. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  303. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  304. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  305. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  306. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  307. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  308. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  309. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
  310. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  311. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  312. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
  313. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  314. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +12 -0
  315. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  316. data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +21 -0
  317. data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +17 -0
  318. data/vendor/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +28 -0
  319. data/vendor/assets/javascripts/ckeditor/plugins/wsc/README.md +25 -0
  320. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +66 -0
  321. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  322. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  323. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +74 -0
  324. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  325. data/vendor/assets/javascripts/ckeditor/samples/ajax.html +82 -0
  326. data/vendor/assets/javascripts/ckeditor/samples/api.html +207 -0
  327. data/vendor/assets/javascripts/ckeditor/samples/appendto.html +56 -0
  328. data/vendor/assets/javascripts/ckeditor/samples/assets/inlineall/logo.png +0 -0
  329. data/vendor/assets/javascripts/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
  330. data/vendor/assets/javascripts/ckeditor/samples/assets/posteddata.php +59 -0
  331. data/vendor/assets/javascripts/ckeditor/samples/assets/sample.jpg +0 -0
  332. data/vendor/assets/javascripts/ckeditor/samples/assets/uilanguages/languages.js +7 -0
  333. data/vendor/assets/javascripts/ckeditor/samples/datafiltering.html +401 -0
  334. data/vendor/assets/javascripts/ckeditor/samples/divreplace.html +141 -0
  335. data/vendor/assets/javascripts/ckeditor/samples/index.html +128 -0
  336. data/vendor/assets/javascripts/ckeditor/samples/inlineall.html +311 -0
  337. data/vendor/assets/javascripts/ckeditor/samples/inlinebycode.html +121 -0
  338. data/vendor/assets/javascripts/ckeditor/samples/inlinetextarea.html +110 -0
  339. data/vendor/assets/javascripts/ckeditor/samples/jquery.html +100 -0
  340. data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/assets/my_dialog.js +48 -0
  341. data/vendor/assets/javascripts/ckeditor/samples/plugins/dialog/dialog.html +187 -0
  342. data/vendor/assets/javascripts/ckeditor/samples/plugins/enterkey/enterkey.html +103 -0
  343. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  344. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  345. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +18 -0
  346. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputforflash.html +280 -0
  347. data/vendor/assets/javascripts/ckeditor/samples/plugins/htmlwriter/outputhtml.html +221 -0
  348. data/vendor/assets/javascripts/ckeditor/samples/plugins/magicline/magicline.html +206 -0
  349. data/vendor/assets/javascripts/ckeditor/samples/plugins/toolbar/toolbar.html +232 -0
  350. data/vendor/assets/javascripts/ckeditor/samples/plugins/wysiwygarea/fullpage.html +77 -0
  351. data/vendor/assets/javascripts/ckeditor/samples/readonly.html +73 -0
  352. data/vendor/assets/javascripts/ckeditor/samples/replacebyclass.html +57 -0
  353. data/vendor/assets/javascripts/ckeditor/samples/replacebycode.html +56 -0
  354. data/vendor/assets/javascripts/ckeditor/samples/sample.css +365 -0
  355. data/vendor/assets/javascripts/ckeditor/samples/sample.js +50 -0
  356. data/vendor/assets/javascripts/ckeditor/samples/sample_posteddata.php +16 -0
  357. data/vendor/assets/javascripts/ckeditor/samples/tabindex.html +75 -0
  358. data/vendor/assets/javascripts/ckeditor/samples/uicolor.html +69 -0
  359. data/vendor/assets/javascripts/ckeditor/samples/uilanguages.html +119 -0
  360. data/vendor/assets/javascripts/ckeditor/samples/xhtmlstyle.html +231 -0
  361. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dev/icons16.svg +683 -0
  362. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dev/icons32.svg +694 -0
  363. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dev/locations.json +140 -0
  364. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dialog.css +1 -0
  365. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dialog_ie.css +1 -0
  366. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dialog_ie7.css +1 -0
  367. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dialog_ie8.css +1 -0
  368. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dialog_iequirks.css +1 -0
  369. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/dialog_opera.css +1 -0
  370. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/editor.css +1 -0
  371. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/editor_gecko.css +1 -0
  372. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/editor_ie.css +1 -0
  373. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/editor_ie7.css +1 -0
  374. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/editor_ie8.css +1 -0
  375. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/editor_iequirks.css +1 -0
  376. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/icons.png +0 -0
  377. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/icons_hidpi.png +0 -0
  378. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/arrow.png +0 -0
  379. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/close.png +0 -0
  380. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/hidpi/close.png +0 -0
  381. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
  382. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/hidpi/lock.png +0 -0
  383. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/hidpi/refresh.png +0 -0
  384. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/lock-open.png +0 -0
  385. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/lock.png +0 -0
  386. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/images/refresh.png +0 -0
  387. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/readme.md +35 -0
  388. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/sample/bootstrapck-sample.html +127 -0
  389. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/sample/css/bootstrapck-sample.css +1 -0
  390. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/sample/js/analytics.js +4 -0
  391. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/sample/js/jquery-1.11.0.min.js +189 -0
  392. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss +25 -0
  393. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/ie/dialog_ie.scss +62 -0
  394. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/ie/editor_ie.scss +71 -0
  395. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/ie7/dialog_ie7.scss +68 -0
  396. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/ie7/editor_ie7.scss +213 -0
  397. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/ie8/dialog_ie8.scss +24 -0
  398. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/ie8/editor_ie8.scss +27 -0
  399. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/iequirks/dialog_iequirks.scss +21 -0
  400. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/iequirks/editor_iequirks.scss +79 -0
  401. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/browser-specific/opera/dialog_opera.scss +31 -0
  402. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_colorpanel.scss +119 -0
  403. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_elementspath.scss +66 -0
  404. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_mainui.scss +189 -0
  405. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_menu.scss +182 -0
  406. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_panel.scss +199 -0
  407. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_presets.scss +32 -0
  408. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_reset.scss +107 -0
  409. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_richcombo.scss +174 -0
  410. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/_toolbar.scss +317 -0
  411. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/components/editor.scss +66 -0
  412. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/config/_colors.scss +61 -0
  413. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/config/_config.scss +9 -0
  414. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/config/_defaults.scss +37 -0
  415. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/scss/dialog/dialog.scss +822 -0
  416. data/vendor/assets/javascripts/ckeditor/skins/bootstrapck/skin.js +10 -0
  417. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +5 -0
  418. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +5 -0
  419. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +5 -0
  420. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +5 -0
  421. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  422. data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +5 -0
  423. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +5 -0
  424. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +5 -0
  425. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +5 -0
  426. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +5 -0
  427. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +5 -0
  428. data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  429. data/vendor/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  430. data/vendor/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  431. data/vendor/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  432. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  433. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  434. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  435. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  436. data/vendor/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  437. data/vendor/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  438. data/vendor/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  439. data/vendor/assets/javascripts/ckeditor/skins/moono/readme.md +51 -0
  440. data/vendor/assets/javascripts/ckeditor/styles.js +111 -0
  441. data/vendor/assets/javascripts/colorpicker/bootstrap-colorpicker.min.js +1 -0
  442. data/vendor/assets/javascripts/colorpicker/images/alpha-horizontal.png +0 -0
  443. data/vendor/assets/javascripts/colorpicker/images/alpha.png +0 -0
  444. data/vendor/assets/javascripts/colorpicker/images/hue-horizontal.png +0 -0
  445. data/vendor/assets/javascripts/colorpicker/images/hue.png +0 -0
  446. data/vendor/assets/javascripts/colorpicker/images/saturation.png +0 -0
  447. data/vendor/assets/javascripts/colorpicker/index.html +0 -0
  448. data/vendor/assets/javascripts/cropper/cropper.css +266 -0
  449. data/vendor/assets/javascripts/cropper/cropper.js +1063 -0
  450. data/vendor/assets/javascripts/cropper/cropper.min.css +9 -0
  451. data/vendor/assets/javascripts/cropper/cropper.min.js +9 -0
  452. data/vendor/assets/javascripts/cropper/index.html +0 -0
  453. data/vendor/assets/javascripts/datatables/css/jquery.dataTables.css +476 -0
  454. data/vendor/assets/javascripts/datatables/css/jquery.dataTables.min.css +1 -0
  455. data/vendor/assets/javascripts/datatables/css/jquery.dataTables_themeroller.css +330 -0
  456. data/vendor/assets/javascripts/datatables/dataTables.bootstrap.css +281 -0
  457. data/vendor/assets/javascripts/datatables/dataTables.bootstrap.js +186 -0
  458. data/vendor/assets/javascripts/datatables/datatables-angular.js +2651 -0
  459. data/vendor/assets/javascripts/datatables/images/Sorting icons.psd +0 -0
  460. data/vendor/assets/javascripts/datatables/images/back_disabled.png +0 -0
  461. data/vendor/assets/javascripts/datatables/images/back_enabled.png +0 -0
  462. data/vendor/assets/javascripts/datatables/images/back_enabled_hover.png +0 -0
  463. data/vendor/assets/javascripts/datatables/images/favicon.ico +0 -0
  464. data/vendor/assets/javascripts/datatables/images/forward_disabled.png +0 -0
  465. data/vendor/assets/javascripts/datatables/images/forward_enabled.png +0 -0
  466. data/vendor/assets/javascripts/datatables/images/forward_enabled_hover.png +0 -0
  467. data/vendor/assets/javascripts/datatables/images/sort_asc.png +0 -0
  468. data/vendor/assets/javascripts/datatables/images/sort_asc_disabled.png +0 -0
  469. data/vendor/assets/javascripts/datatables/images/sort_both.png +0 -0
  470. data/vendor/assets/javascripts/datatables/images/sort_desc.png +0 -0
  471. data/vendor/assets/javascripts/datatables/images/sort_desc_disabled.png +0 -0
  472. data/vendor/assets/javascripts/datatables/index.html +0 -0
  473. data/vendor/assets/javascripts/datatables/js/jquery.dataTables.js +14624 -0
  474. data/vendor/assets/javascripts/datatables/js/jquery.dataTables.min.js +155 -0
  475. data/vendor/assets/javascripts/datatables/js/jquery.js +4 -0
  476. data/vendor/assets/javascripts/datatables/tabletools/copy_csv_xls.swf +0 -0
  477. data/vendor/assets/javascripts/datatables/tabletools/copy_csv_xls_pdf.swf +0 -0
  478. data/vendor/assets/javascripts/datatables/tabletools/dataTables.tableTools.css +361 -0
  479. data/vendor/assets/javascripts/datatables/tabletools/dataTables.tableTools.min.js +69 -0
  480. data/vendor/assets/javascripts/datatables/yadcf/jquery.dataTables.yadcf.css +116 -0
  481. data/vendor/assets/javascripts/datatables/yadcf/jquery.dataTables.yadcf.js +2235 -0
  482. data/vendor/assets/javascripts/datepicker/bootstrap-datepicker.js +1395 -0
  483. data/vendor/assets/javascripts/datepicker/index.html +0 -0
  484. data/vendor/assets/javascripts/daterangepicker/daterangepicker-bs2.css +256 -0
  485. data/vendor/assets/javascripts/daterangepicker/daterangepicker-bs3.css +288 -0
  486. data/vendor/assets/javascripts/daterangepicker/daterangepicker.js +1118 -0
  487. data/vendor/assets/javascripts/daterangepicker/index.html +0 -0
  488. data/vendor/assets/javascripts/devexpress-web-14.1/js/dx.chartjs.js +12 -0
  489. data/vendor/assets/javascripts/devexpress-web-14.1/js/globalize.min.js +12 -0
  490. data/vendor/assets/javascripts/devexpress-web-14.1/js/knockout-3.1.0.js +12 -0
  491. data/vendor/assets/javascripts/dropzone/css/basic.css +155 -0
  492. data/vendor/assets/javascripts/dropzone/css/dropzone.css +397 -0
  493. data/vendor/assets/javascripts/dropzone/css/stylus/basic.styl +165 -0
  494. data/vendor/assets/javascripts/dropzone/css/stylus/dropzone.styl +180 -0
  495. data/vendor/assets/javascripts/dropzone/dropzone-amd-module.min.js +1 -0
  496. data/vendor/assets/javascripts/dropzone/dropzone.min.js +1 -0
  497. data/vendor/assets/javascripts/dropzone/images/spritemap.png +0 -0
  498. data/vendor/assets/javascripts/dropzone/images/spritemap@2x.png +0 -0
  499. data/vendor/assets/javascripts/dropzone/index.html +0 -0
  500. data/vendor/assets/javascripts/formwizard/index.html +0 -0
  501. data/vendor/assets/javascripts/formwizard/jquery.bootstrap.wizard.js +331 -0
  502. data/vendor/assets/javascripts/formwizard/jquery.bootstrap.wizard.min.js +22 -0
  503. data/vendor/assets/javascripts/fullcalendar/fullcalendar.css +933 -0
  504. data/vendor/assets/javascripts/fullcalendar/fullcalendar.js +8391 -0
  505. data/vendor/assets/javascripts/fullcalendar/fullcalendar.min.css +5 -0
  506. data/vendor/assets/javascripts/fullcalendar/fullcalendar.min.js +8 -0
  507. data/vendor/assets/javascripts/fullcalendar/fullcalendar.print.css +201 -0
  508. data/vendor/assets/javascripts/fullcalendar/index.html +0 -0
  509. data/vendor/assets/javascripts/fullcalendar/moment.min.js +6 -0
  510. data/vendor/assets/javascripts/handlebars.min.js +28 -0
  511. data/vendor/assets/javascripts/icheck/icheck.min.js +11 -0
  512. data/vendor/assets/javascripts/icheck/index.html +0 -0
  513. data/vendor/assets/javascripts/icheck/skins/all.css +61 -0
  514. data/vendor/assets/javascripts/icheck/skins/flat/_all.css +530 -0
  515. data/vendor/assets/javascripts/icheck/skins/flat/aero.css +53 -0
  516. data/vendor/assets/javascripts/icheck/skins/flat/aero.png +0 -0
  517. data/vendor/assets/javascripts/icheck/skins/flat/aero@2x.png +0 -0
  518. data/vendor/assets/javascripts/icheck/skins/flat/blue.css +53 -0
  519. data/vendor/assets/javascripts/icheck/skins/flat/blue.png +0 -0
  520. data/vendor/assets/javascripts/icheck/skins/flat/blue@2x.png +0 -0
  521. data/vendor/assets/javascripts/icheck/skins/flat/flat.css +53 -0
  522. data/vendor/assets/javascripts/icheck/skins/flat/flat.png +0 -0
  523. data/vendor/assets/javascripts/icheck/skins/flat/flat@2x.png +0 -0
  524. data/vendor/assets/javascripts/icheck/skins/flat/green.css +53 -0
  525. data/vendor/assets/javascripts/icheck/skins/flat/green.png +0 -0
  526. data/vendor/assets/javascripts/icheck/skins/flat/green@2x.png +0 -0
  527. data/vendor/assets/javascripts/icheck/skins/flat/grey.css +53 -0
  528. data/vendor/assets/javascripts/icheck/skins/flat/grey.png +0 -0
  529. data/vendor/assets/javascripts/icheck/skins/flat/grey@2x.png +0 -0
  530. data/vendor/assets/javascripts/icheck/skins/flat/orange.css +53 -0
  531. data/vendor/assets/javascripts/icheck/skins/flat/orange.png +0 -0
  532. data/vendor/assets/javascripts/icheck/skins/flat/orange@2x.png +0 -0
  533. data/vendor/assets/javascripts/icheck/skins/flat/pink.css +53 -0
  534. data/vendor/assets/javascripts/icheck/skins/flat/pink.png +0 -0
  535. data/vendor/assets/javascripts/icheck/skins/flat/pink@2x.png +0 -0
  536. data/vendor/assets/javascripts/icheck/skins/flat/purple.css +53 -0
  537. data/vendor/assets/javascripts/icheck/skins/flat/purple.png +0 -0
  538. data/vendor/assets/javascripts/icheck/skins/flat/purple@2x.png +0 -0
  539. data/vendor/assets/javascripts/icheck/skins/flat/red.css +53 -0
  540. data/vendor/assets/javascripts/icheck/skins/flat/red.png +0 -0
  541. data/vendor/assets/javascripts/icheck/skins/flat/red@2x.png +0 -0
  542. data/vendor/assets/javascripts/icheck/skins/flat/yellow.css +53 -0
  543. data/vendor/assets/javascripts/icheck/skins/flat/yellow.png +0 -0
  544. data/vendor/assets/javascripts/icheck/skins/flat/yellow@2x.png +0 -0
  545. data/vendor/assets/javascripts/icheck/skins/futurico/futurico.css +53 -0
  546. data/vendor/assets/javascripts/icheck/skins/futurico/futurico.png +0 -0
  547. data/vendor/assets/javascripts/icheck/skins/futurico/futurico@2x.png +0 -0
  548. data/vendor/assets/javascripts/icheck/skins/line/_all.css +710 -0
  549. data/vendor/assets/javascripts/icheck/skins/line/aero.css +71 -0
  550. data/vendor/assets/javascripts/icheck/skins/line/blue.css +71 -0
  551. data/vendor/assets/javascripts/icheck/skins/line/green.css +71 -0
  552. data/vendor/assets/javascripts/icheck/skins/line/grey.css +71 -0
  553. data/vendor/assets/javascripts/icheck/skins/line/line.css +71 -0
  554. data/vendor/assets/javascripts/icheck/skins/line/line.png +0 -0
  555. data/vendor/assets/javascripts/icheck/skins/line/line@2x.png +0 -0
  556. data/vendor/assets/javascripts/icheck/skins/line/orange.css +71 -0
  557. data/vendor/assets/javascripts/icheck/skins/line/pink.css +71 -0
  558. data/vendor/assets/javascripts/icheck/skins/line/purple.css +71 -0
  559. data/vendor/assets/javascripts/icheck/skins/line/red.css +71 -0
  560. data/vendor/assets/javascripts/icheck/skins/line/yellow.css +71 -0
  561. data/vendor/assets/javascripts/icheck/skins/minimal/_all.css +590 -0
  562. data/vendor/assets/javascripts/icheck/skins/minimal/aero.css +59 -0
  563. data/vendor/assets/javascripts/icheck/skins/minimal/aero.png +0 -0
  564. data/vendor/assets/javascripts/icheck/skins/minimal/aero@2x.png +0 -0
  565. data/vendor/assets/javascripts/icheck/skins/minimal/blue.css +59 -0
  566. data/vendor/assets/javascripts/icheck/skins/minimal/blue.png +0 -0
  567. data/vendor/assets/javascripts/icheck/skins/minimal/blue@2x.png +0 -0
  568. data/vendor/assets/javascripts/icheck/skins/minimal/green.css +59 -0
  569. data/vendor/assets/javascripts/icheck/skins/minimal/green.png +0 -0
  570. data/vendor/assets/javascripts/icheck/skins/minimal/green@2x.png +0 -0
  571. data/vendor/assets/javascripts/icheck/skins/minimal/grey.css +59 -0
  572. data/vendor/assets/javascripts/icheck/skins/minimal/grey.png +0 -0
  573. data/vendor/assets/javascripts/icheck/skins/minimal/grey@2x.png +0 -0
  574. data/vendor/assets/javascripts/icheck/skins/minimal/minimal.css +59 -0
  575. data/vendor/assets/javascripts/icheck/skins/minimal/minimal.png +0 -0
  576. data/vendor/assets/javascripts/icheck/skins/minimal/minimal@2x.png +0 -0
  577. data/vendor/assets/javascripts/icheck/skins/minimal/orange.css +59 -0
  578. data/vendor/assets/javascripts/icheck/skins/minimal/orange.png +0 -0
  579. data/vendor/assets/javascripts/icheck/skins/minimal/orange@2x.png +0 -0
  580. data/vendor/assets/javascripts/icheck/skins/minimal/pink.css +59 -0
  581. data/vendor/assets/javascripts/icheck/skins/minimal/pink.png +0 -0
  582. data/vendor/assets/javascripts/icheck/skins/minimal/pink@2x.png +0 -0
  583. data/vendor/assets/javascripts/icheck/skins/minimal/purple.css +59 -0
  584. data/vendor/assets/javascripts/icheck/skins/minimal/purple.png +0 -0
  585. data/vendor/assets/javascripts/icheck/skins/minimal/purple@2x.png +0 -0
  586. data/vendor/assets/javascripts/icheck/skins/minimal/red.css +59 -0
  587. data/vendor/assets/javascripts/icheck/skins/minimal/red.png +0 -0
  588. data/vendor/assets/javascripts/icheck/skins/minimal/red@2x.png +0 -0
  589. data/vendor/assets/javascripts/icheck/skins/minimal/yellow.css +59 -0
  590. data/vendor/assets/javascripts/icheck/skins/minimal/yellow.png +0 -0
  591. data/vendor/assets/javascripts/icheck/skins/minimal/yellow@2x.png +0 -0
  592. data/vendor/assets/javascripts/icheck/skins/polaris/polaris.css +59 -0
  593. data/vendor/assets/javascripts/icheck/skins/polaris/polaris.png +0 -0
  594. data/vendor/assets/javascripts/icheck/skins/polaris/polaris@2x.png +0 -0
  595. data/vendor/assets/javascripts/icheck/skins/square/_all.css +590 -0
  596. data/vendor/assets/javascripts/icheck/skins/square/aero.css +59 -0
  597. data/vendor/assets/javascripts/icheck/skins/square/aero.png +0 -0
  598. data/vendor/assets/javascripts/icheck/skins/square/aero@2x.png +0 -0
  599. data/vendor/assets/javascripts/icheck/skins/square/blue.css +59 -0
  600. data/vendor/assets/javascripts/icheck/skins/square/blue.png +0 -0
  601. data/vendor/assets/javascripts/icheck/skins/square/blue@2x.png +0 -0
  602. data/vendor/assets/javascripts/icheck/skins/square/green.css +59 -0
  603. data/vendor/assets/javascripts/icheck/skins/square/green.png +0 -0
  604. data/vendor/assets/javascripts/icheck/skins/square/green@2x.png +0 -0
  605. data/vendor/assets/javascripts/icheck/skins/square/grey.css +59 -0
  606. data/vendor/assets/javascripts/icheck/skins/square/grey.png +0 -0
  607. data/vendor/assets/javascripts/icheck/skins/square/grey@2x.png +0 -0
  608. data/vendor/assets/javascripts/icheck/skins/square/orange.css +59 -0
  609. data/vendor/assets/javascripts/icheck/skins/square/orange.png +0 -0
  610. data/vendor/assets/javascripts/icheck/skins/square/orange@2x.png +0 -0
  611. data/vendor/assets/javascripts/icheck/skins/square/pink.css +59 -0
  612. data/vendor/assets/javascripts/icheck/skins/square/pink.png +0 -0
  613. data/vendor/assets/javascripts/icheck/skins/square/pink@2x.png +0 -0
  614. data/vendor/assets/javascripts/icheck/skins/square/purple.css +59 -0
  615. data/vendor/assets/javascripts/icheck/skins/square/purple.png +0 -0
  616. data/vendor/assets/javascripts/icheck/skins/square/purple@2x.png +0 -0
  617. data/vendor/assets/javascripts/icheck/skins/square/red.css +59 -0
  618. data/vendor/assets/javascripts/icheck/skins/square/red.png +0 -0
  619. data/vendor/assets/javascripts/icheck/skins/square/red@2x.png +0 -0
  620. data/vendor/assets/javascripts/icheck/skins/square/square.css +59 -0
  621. data/vendor/assets/javascripts/icheck/skins/square/square.png +0 -0
  622. data/vendor/assets/javascripts/icheck/skins/square/square@2x.png +0 -0
  623. data/vendor/assets/javascripts/icheck/skins/square/yellow.css +59 -0
  624. data/vendor/assets/javascripts/icheck/skins/square/yellow.png +0 -0
  625. data/vendor/assets/javascripts/icheck/skins/square/yellow@2x.png +0 -0
  626. data/vendor/assets/javascripts/inputmask/index.html +0 -0
  627. data/vendor/assets/javascripts/inputmask/inputmask/jquery.inputmask.date.extensions.js +8 -0
  628. data/vendor/assets/javascripts/inputmask/inputmask/jquery.inputmask.extensions.js +8 -0
  629. data/vendor/assets/javascripts/inputmask/inputmask/jquery.inputmask.js +9 -0
  630. data/vendor/assets/javascripts/inputmask/inputmask/jquery.inputmask.numeric.extensions.js +8 -0
  631. data/vendor/assets/javascripts/inputmask/inputmask/jquery.inputmask.phone.extensions.js +8 -0
  632. data/vendor/assets/javascripts/inputmask/inputmask/jquery.inputmask.regex.extensions.js +8 -0
  633. data/vendor/assets/javascripts/inputmask/jquery.inputmask.bundle.js +9 -0
  634. data/vendor/assets/javascripts/joinable.js +45 -0
  635. data/vendor/assets/javascripts/jquery-1.11.1.min.js +4 -0
  636. data/vendor/assets/javascripts/jquery-ui/external/jquery/jquery.js +9789 -0
  637. data/vendor/assets/javascripts/jquery-ui/index.html +317 -0
  638. data/vendor/assets/javascripts/jquery-ui/jquery-ui.css +239 -0
  639. data/vendor/assets/javascripts/jquery-ui/jquery-ui.js +6343 -0
  640. data/vendor/assets/javascripts/jquery-ui/jquery-ui.min.css +6 -0
  641. data/vendor/assets/javascripts/jquery-ui/jquery-ui.min.js +9 -0
  642. data/vendor/assets/javascripts/jquery-ui/jquery-ui.structure.css +245 -0
  643. data/vendor/assets/javascripts/jquery-ui/jquery-ui.structure.min.css +5 -0
  644. data/vendor/assets/javascripts/jquery-validate/additional-methods.js +928 -0
  645. data/vendor/assets/javascripts/jquery-validate/additional-methods.min.js +4 -0
  646. data/vendor/assets/javascripts/jquery-validate/index.html +0 -0
  647. data/vendor/assets/javascripts/jquery-validate/jquery.validate.js +1357 -0
  648. data/vendor/assets/javascripts/jquery-validate/jquery.validate.min.js +4 -0
  649. data/vendor/assets/javascripts/jquery-validate/localization/messages_ar.js +33 -0
  650. data/vendor/assets/javascripts/jquery-validate/localization/messages_ar.min.js +4 -0
  651. data/vendor/assets/javascripts/jquery-validate/localization/messages_bg.js +33 -0
  652. data/vendor/assets/javascripts/jquery-validate/localization/messages_bg.min.js +4 -0
  653. data/vendor/assets/javascripts/jquery-validate/localization/messages_ca.js +33 -0
  654. data/vendor/assets/javascripts/jquery-validate/localization/messages_ca.min.js +4 -0
  655. data/vendor/assets/javascripts/jquery-validate/localization/messages_cs.js +33 -0
  656. data/vendor/assets/javascripts/jquery-validate/localization/messages_cs.min.js +4 -0
  657. data/vendor/assets/javascripts/jquery-validate/localization/messages_da.js +30 -0
  658. data/vendor/assets/javascripts/jquery-validate/localization/messages_da.min.js +4 -0
  659. data/vendor/assets/javascripts/jquery-validate/localization/messages_de.js +30 -0
  660. data/vendor/assets/javascripts/jquery-validate/localization/messages_de.min.js +4 -0
  661. data/vendor/assets/javascripts/jquery-validate/localization/messages_el.js +33 -0
  662. data/vendor/assets/javascripts/jquery-validate/localization/messages_el.min.js +4 -0
  663. data/vendor/assets/javascripts/jquery-validate/localization/messages_es.js +36 -0
  664. data/vendor/assets/javascripts/jquery-validate/localization/messages_es.min.js +4 -0
  665. data/vendor/assets/javascripts/jquery-validate/localization/messages_es_AR.js +37 -0
  666. data/vendor/assets/javascripts/jquery-validate/localization/messages_es_AR.min.js +4 -0
  667. data/vendor/assets/javascripts/jquery-validate/localization/messages_et.js +31 -0
  668. data/vendor/assets/javascripts/jquery-validate/localization/messages_et.min.js +4 -0
  669. data/vendor/assets/javascripts/jquery-validate/localization/messages_eu.js +33 -0
  670. data/vendor/assets/javascripts/jquery-validate/localization/messages_eu.min.js +4 -0
  671. data/vendor/assets/javascripts/jquery-validate/localization/messages_fa.js +36 -0
  672. data/vendor/assets/javascripts/jquery-validate/localization/messages_fa.min.js +4 -0
  673. data/vendor/assets/javascripts/jquery-validate/localization/messages_fi.js +31 -0
  674. data/vendor/assets/javascripts/jquery-validate/localization/messages_fi.min.js +4 -0
  675. data/vendor/assets/javascripts/jquery-validate/localization/messages_fr.js +59 -0
  676. data/vendor/assets/javascripts/jquery-validate/localization/messages_fr.min.js +4 -0
  677. data/vendor/assets/javascripts/jquery-validate/localization/messages_gl.js +38 -0
  678. data/vendor/assets/javascripts/jquery-validate/localization/messages_gl.min.js +4 -0
  679. data/vendor/assets/javascripts/jquery-validate/localization/messages_he.js +33 -0
  680. data/vendor/assets/javascripts/jquery-validate/localization/messages_he.min.js +4 -0
  681. data/vendor/assets/javascripts/jquery-validate/localization/messages_hr.js +33 -0
  682. data/vendor/assets/javascripts/jquery-validate/localization/messages_hr.min.js +4 -0
  683. data/vendor/assets/javascripts/jquery-validate/localization/messages_hu.js +32 -0
  684. data/vendor/assets/javascripts/jquery-validate/localization/messages_hu.min.js +4 -0
  685. data/vendor/assets/javascripts/jquery-validate/localization/messages_id.js +32 -0
  686. data/vendor/assets/javascripts/jquery-validate/localization/messages_id.min.js +4 -0
  687. data/vendor/assets/javascripts/jquery-validate/localization/messages_is.js +31 -0
  688. data/vendor/assets/javascripts/jquery-validate/localization/messages_is.min.js +4 -0
  689. data/vendor/assets/javascripts/jquery-validate/localization/messages_it.js +36 -0
  690. data/vendor/assets/javascripts/jquery-validate/localization/messages_it.min.js +4 -0
  691. data/vendor/assets/javascripts/jquery-validate/localization/messages_ja.js +33 -0
  692. data/vendor/assets/javascripts/jquery-validate/localization/messages_ja.min.js +4 -0
  693. data/vendor/assets/javascripts/jquery-validate/localization/messages_ka.js +33 -0
  694. data/vendor/assets/javascripts/jquery-validate/localization/messages_ka.min.js +4 -0
  695. data/vendor/assets/javascripts/jquery-validate/localization/messages_kk.js +33 -0
  696. data/vendor/assets/javascripts/jquery-validate/localization/messages_kk.min.js +4 -0
  697. data/vendor/assets/javascripts/jquery-validate/localization/messages_ko.js +33 -0
  698. data/vendor/assets/javascripts/jquery-validate/localization/messages_ko.min.js +4 -0
  699. data/vendor/assets/javascripts/jquery-validate/localization/messages_lt.js +33 -0
  700. data/vendor/assets/javascripts/jquery-validate/localization/messages_lt.min.js +4 -0
  701. data/vendor/assets/javascripts/jquery-validate/localization/messages_lv.js +33 -0
  702. data/vendor/assets/javascripts/jquery-validate/localization/messages_lv.min.js +4 -0
  703. data/vendor/assets/javascripts/jquery-validate/localization/messages_my.js +33 -0
  704. data/vendor/assets/javascripts/jquery-validate/localization/messages_my.min.js +4 -0
  705. data/vendor/assets/javascripts/jquery-validate/localization/messages_nl.js +43 -0
  706. data/vendor/assets/javascripts/jquery-validate/localization/messages_nl.min.js +4 -0
  707. data/vendor/assets/javascripts/jquery-validate/localization/messages_no.js +33 -0
  708. data/vendor/assets/javascripts/jquery-validate/localization/messages_no.min.js +4 -0
  709. data/vendor/assets/javascripts/jquery-validate/localization/messages_pl.js +33 -0
  710. data/vendor/assets/javascripts/jquery-validate/localization/messages_pl.min.js +4 -0
  711. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_BR.js +37 -0
  712. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_BR.min.js +4 -0
  713. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_PT.js +37 -0
  714. data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_PT.min.js +4 -0
  715. data/vendor/assets/javascripts/jquery-validate/localization/messages_ro.js +33 -0
  716. data/vendor/assets/javascripts/jquery-validate/localization/messages_ro.min.js +4 -0
  717. data/vendor/assets/javascripts/jquery-validate/localization/messages_ru.js +33 -0
  718. data/vendor/assets/javascripts/jquery-validate/localization/messages_ru.min.js +4 -0
  719. data/vendor/assets/javascripts/jquery-validate/localization/messages_si.js +33 -0
  720. data/vendor/assets/javascripts/jquery-validate/localization/messages_si.min.js +4 -0
  721. data/vendor/assets/javascripts/jquery-validate/localization/messages_sk.js +30 -0
  722. data/vendor/assets/javascripts/jquery-validate/localization/messages_sk.min.js +4 -0
  723. data/vendor/assets/javascripts/jquery-validate/localization/messages_sl.js +33 -0
  724. data/vendor/assets/javascripts/jquery-validate/localization/messages_sl.min.js +4 -0
  725. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr.js +33 -0
  726. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr.min.js +4 -0
  727. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr_lat.js +33 -0
  728. data/vendor/assets/javascripts/jquery-validate/localization/messages_sr_lat.min.js +4 -0
  729. data/vendor/assets/javascripts/jquery-validate/localization/messages_sv.js +31 -0
  730. data/vendor/assets/javascripts/jquery-validate/localization/messages_sv.min.js +4 -0
  731. data/vendor/assets/javascripts/jquery-validate/localization/messages_th.js +33 -0
  732. data/vendor/assets/javascripts/jquery-validate/localization/messages_th.min.js +4 -0
  733. data/vendor/assets/javascripts/jquery-validate/localization/messages_tj.js +33 -0
  734. data/vendor/assets/javascripts/jquery-validate/localization/messages_tj.min.js +4 -0
  735. data/vendor/assets/javascripts/jquery-validate/localization/messages_tr.js +33 -0
  736. data/vendor/assets/javascripts/jquery-validate/localization/messages_tr.min.js +4 -0
  737. data/vendor/assets/javascripts/jquery-validate/localization/messages_uk.js +33 -0
  738. data/vendor/assets/javascripts/jquery-validate/localization/messages_uk.min.js +4 -0
  739. data/vendor/assets/javascripts/jquery-validate/localization/messages_vi.js +33 -0
  740. data/vendor/assets/javascripts/jquery-validate/localization/messages_vi.min.js +4 -0
  741. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh.js +33 -0
  742. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh.min.js +4 -0
  743. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh_TW.js +34 -0
  744. data/vendor/assets/javascripts/jquery-validate/localization/messages_zh_TW.min.js +4 -0
  745. data/vendor/assets/javascripts/jquery-validate/localization/methods_de.js +22 -0
  746. data/vendor/assets/javascripts/jquery-validate/localization/methods_de.min.js +4 -0
  747. data/vendor/assets/javascripts/jquery-validate/localization/methods_es_CL.js +22 -0
  748. data/vendor/assets/javascripts/jquery-validate/localization/methods_es_CL.min.js +4 -0
  749. data/vendor/assets/javascripts/jquery-validate/localization/methods_fi.js +22 -0
  750. data/vendor/assets/javascripts/jquery-validate/localization/methods_fi.min.js +4 -0
  751. data/vendor/assets/javascripts/jquery-validate/localization/methods_nl.js +19 -0
  752. data/vendor/assets/javascripts/jquery-validate/localization/methods_nl.min.js +4 -0
  753. data/vendor/assets/javascripts/jquery-validate/localization/methods_pt.js +19 -0
  754. data/vendor/assets/javascripts/jquery-validate/localization/methods_pt.min.js +4 -0
  755. data/vendor/assets/javascripts/jquery.mousewheel.js +201 -0
  756. data/vendor/assets/javascripts/jvectormap/index.html +0 -0
  757. data/vendor/assets/javascripts/jvectormap/jquery-jvectormap-1.1.1.css +37 -0
  758. data/vendor/assets/javascripts/jvectormap/jquery-jvectormap-1.1.1.min.js +7 -0
  759. data/vendor/assets/javascripts/jvectormap/jquery-jvectormap-1.2.2.css +37 -0
  760. data/vendor/assets/javascripts/jvectormap/jquery-jvectormap-1.2.2.min.js +8 -0
  761. data/vendor/assets/javascripts/jvectormap/regions/index.html +0 -0
  762. data/vendor/assets/javascripts/jvectormap/regions/jquery-jvectormap-it-mill-en.js +1 -0
  763. data/vendor/assets/javascripts/jvectormap/regions/jquery-jvectormap-world-mill-en.js +1 -0
  764. data/vendor/assets/javascripts/knob/index.html +0 -0
  765. data/vendor/assets/javascripts/knob/jquery.knob.min.js +1 -0
  766. data/vendor/assets/javascripts/min/bootstrap.min-min.js +2 -0
  767. data/vendor/assets/javascripts/min/resizeable-min.js +1 -0
  768. data/vendor/assets/javascripts/min/xenon-notes-min.js +1 -0
  769. data/vendor/assets/javascripts/min/xenon-toggles-min.js +1 -0
  770. data/vendor/assets/javascripts/moment.min.js +6 -0
  771. data/vendor/assets/javascripts/multiselect/css/index.html +0 -0
  772. data/vendor/assets/javascripts/multiselect/css/multi-select.css +93 -0
  773. data/vendor/assets/javascripts/multiselect/img/index.html +0 -0
  774. data/vendor/assets/javascripts/multiselect/img/switch.png +0 -0
  775. data/vendor/assets/javascripts/multiselect/index.html +0 -0
  776. data/vendor/assets/javascripts/multiselect/js/index.html +0 -0
  777. data/vendor/assets/javascripts/multiselect/js/jquery.multi-select.js +532 -0
  778. data/vendor/assets/javascripts/resizeable.js +122 -0
  779. data/vendor/assets/javascripts/rwd-table/css/rwd-table.css +306 -0
  780. data/vendor/assets/javascripts/rwd-table/css/rwd-table.min.css +7 -0
  781. data/vendor/assets/javascripts/rwd-table/index.html +0 -0
  782. data/vendor/assets/javascripts/rwd-table/js/rwd-table.js +674 -0
  783. data/vendor/assets/javascripts/rwd-table/js/rwd-table.min.js +7 -0
  784. data/vendor/assets/javascripts/select2/LICENSE +18 -0
  785. data/vendor/assets/javascripts/select2/index.html +0 -0
  786. data/vendor/assets/javascripts/select2/select2-bootstrap.css +87 -0
  787. data/vendor/assets/javascripts/select2/select2-spinner.gif +0 -0
  788. data/vendor/assets/javascripts/select2/select2.css +704 -0
  789. data/vendor/assets/javascripts/select2/select2.jquery.json +36 -0
  790. data/vendor/assets/javascripts/select2/select2.js +3508 -0
  791. data/vendor/assets/javascripts/select2/select2.min.js +23 -0
  792. data/vendor/assets/javascripts/select2/select2.png +0 -0
  793. data/vendor/assets/javascripts/select2/select2_locale_ar.js +19 -0
  794. data/vendor/assets/javascripts/select2/select2_locale_az.js +20 -0
  795. data/vendor/assets/javascripts/select2/select2_locale_bg.js +20 -0
  796. data/vendor/assets/javascripts/select2/select2_locale_ca.js +19 -0
  797. data/vendor/assets/javascripts/select2/select2_locale_cs.js +51 -0
  798. data/vendor/assets/javascripts/select2/select2_locale_da.js +19 -0
  799. data/vendor/assets/javascripts/select2/select2_locale_de.js +18 -0
  800. data/vendor/assets/javascripts/select2/select2_locale_el.js +19 -0
  801. data/vendor/assets/javascripts/select2/select2_locale_en.js.template +20 -0
  802. data/vendor/assets/javascripts/select2/select2_locale_es.js +17 -0
  803. data/vendor/assets/javascripts/select2/select2_locale_et.js +19 -0
  804. data/vendor/assets/javascripts/select2/select2_locale_eu.js +45 -0
  805. data/vendor/assets/javascripts/select2/select2_locale_fa.js +21 -0
  806. data/vendor/assets/javascripts/select2/select2_locale_fi.js +30 -0
  807. data/vendor/assets/javascripts/select2/select2_locale_fr.js +18 -0
  808. data/vendor/assets/javascripts/select2/select2_locale_gl.js +45 -0
  809. data/vendor/assets/javascripts/select2/select2_locale_he.js +19 -0
  810. data/vendor/assets/javascripts/select2/select2_locale_hr.js +24 -0
  811. data/vendor/assets/javascripts/select2/select2_locale_hu.js +17 -0
  812. data/vendor/assets/javascripts/select2/select2_locale_id.js +19 -0
  813. data/vendor/assets/javascripts/select2/select2_locale_is.js +17 -0
  814. data/vendor/assets/javascripts/select2/select2_locale_it.js +17 -0
  815. data/vendor/assets/javascripts/select2/select2_locale_ja.js +17 -0
  816. data/vendor/assets/javascripts/select2/select2_locale_ka.js +19 -0
  817. data/vendor/assets/javascripts/select2/select2_locale_ko.js +19 -0
  818. data/vendor/assets/javascripts/select2/select2_locale_lt.js +26 -0
  819. data/vendor/assets/javascripts/select2/select2_locale_lv.js +19 -0
  820. data/vendor/assets/javascripts/select2/select2_locale_mk.js +19 -0
  821. data/vendor/assets/javascripts/select2/select2_locale_ms.js +19 -0
  822. data/vendor/assets/javascripts/select2/select2_locale_nl.js +17 -0
  823. data/vendor/assets/javascripts/select2/select2_locale_no.js +20 -0
  824. data/vendor/assets/javascripts/select2/select2_locale_pl.js +25 -0
  825. data/vendor/assets/javascripts/select2/select2_locale_pt-BR.js +17 -0
  826. data/vendor/assets/javascripts/select2/select2_locale_pt-PT.js +17 -0
  827. data/vendor/assets/javascripts/select2/select2_locale_ro.js +17 -0
  828. data/vendor/assets/javascripts/select2/select2_locale_rs.js +19 -0
  829. data/vendor/assets/javascripts/select2/select2_locale_ru.js +23 -0
  830. data/vendor/assets/javascripts/select2/select2_locale_sk.js +50 -0
  831. data/vendor/assets/javascripts/select2/select2_locale_sv.js +19 -0
  832. data/vendor/assets/javascripts/select2/select2_locale_th.js +19 -0
  833. data/vendor/assets/javascripts/select2/select2_locale_tr.js +19 -0
  834. data/vendor/assets/javascripts/select2/select2_locale_ug-CN.js +16 -0
  835. data/vendor/assets/javascripts/select2/select2_locale_uk.js +25 -0
  836. data/vendor/assets/javascripts/select2/select2_locale_vi.js +20 -0
  837. data/vendor/assets/javascripts/select2/select2_locale_zh-CN.js +16 -0
  838. data/vendor/assets/javascripts/select2/select2_locale_zh-TW.js +16 -0
  839. data/vendor/assets/javascripts/select2/select2x2.png +0 -0
  840. data/vendor/assets/javascripts/selectboxit/index.html +0 -0
  841. data/vendor/assets/javascripts/selectboxit/jquery.selectBoxIt.css +278 -0
  842. data/vendor/assets/javascripts/selectboxit/jquery.selectBoxIt.js +3259 -0
  843. data/vendor/assets/javascripts/selectboxit/jquery.selectBoxIt.min.js +4 -0
  844. data/vendor/assets/javascripts/tagsinput/bootstrap-tagsinput.css +46 -0
  845. data/vendor/assets/javascripts/tagsinput/bootstrap-tagsinput.js +617 -0
  846. data/vendor/assets/javascripts/tagsinput/bootstrap-tagsinput.less +50 -0
  847. data/vendor/assets/javascripts/tagsinput/bootstrap-tagsinput.min.js +7 -0
  848. data/vendor/assets/javascripts/tagsinput/bootstrap-tagsinput.min.js.map +1 -0
  849. data/vendor/assets/javascripts/tagsinput/index.html +0 -0
  850. data/vendor/assets/javascripts/tagsinput/min/bootstrap-tagsinput.min-min.js +8 -0
  851. data/vendor/assets/javascripts/timepicker/bootstrap-timepicker.min.js +5 -0
  852. data/vendor/assets/javascripts/timepicker/index.html +0 -0
  853. data/vendor/assets/javascripts/toastr/index.html +0 -0
  854. data/vendor/assets/javascripts/toastr/toastr-icon.png +0 -0
  855. data/vendor/assets/javascripts/toastr/toastr.css +180 -0
  856. data/vendor/assets/javascripts/toastr/toastr.js +350 -0
  857. data/vendor/assets/javascripts/toastr/toastr.less +232 -0
  858. data/vendor/assets/javascripts/toastr/toastr.min.css +1 -0
  859. data/vendor/assets/javascripts/toastr/toastr.min.js +1 -0
  860. data/vendor/assets/javascripts/toastr/toastr.min.js.map +8 -0
  861. data/vendor/assets/javascripts/toastr/toastr.scss +183 -0
  862. data/vendor/assets/javascripts/tocify/index.html +0 -0
  863. data/vendor/assets/javascripts/tocify/jquery.tocify.css +62 -0
  864. data/vendor/assets/javascripts/tocify/jquery.tocify.min.js +4 -0
  865. data/vendor/assets/javascripts/typeahead.bundle.js +1782 -0
  866. data/vendor/assets/javascripts/uikit/css/addons/uikit.addons.css +1253 -0
  867. data/vendor/assets/javascripts/uikit/css/addons/uikit.addons.min.css +3 -0
  868. data/vendor/assets/javascripts/uikit/css/addons/uikit.almost-flat.addons.css +1334 -0
  869. data/vendor/assets/javascripts/uikit/css/addons/uikit.almost-flat.addons.min.css +3 -0
  870. data/vendor/assets/javascripts/uikit/css/addons/uikit.gradient.addons.css +1355 -0
  871. data/vendor/assets/javascripts/uikit/css/addons/uikit.gradient.addons.min.css +3 -0
  872. data/vendor/assets/javascripts/uikit/css/index.html +0 -0
  873. data/vendor/assets/javascripts/uikit/css/uikit.almost-flat.css +7273 -0
  874. data/vendor/assets/javascripts/uikit/css/uikit.almost-flat.min.css +3 -0
  875. data/vendor/assets/javascripts/uikit/css/uikit.css +1 -0
  876. data/vendor/assets/javascripts/uikit/css/uikit.gradient.css +7341 -0
  877. data/vendor/assets/javascripts/uikit/css/uikit.gradient.min.css +3 -0
  878. data/vendor/assets/javascripts/uikit/css/uikit.min.css +3 -0
  879. data/vendor/assets/javascripts/uikit/fonts/FontAwesome.otf +0 -0
  880. data/vendor/assets/javascripts/uikit/fonts/fontawesome-webfont.eot +0 -0
  881. data/vendor/assets/javascripts/uikit/fonts/fontawesome-webfont.ttf +0 -0
  882. data/vendor/assets/javascripts/uikit/fonts/fontawesome-webfont.woff +0 -0
  883. data/vendor/assets/javascripts/uikit/fonts/index.html +0 -0
  884. data/vendor/assets/javascripts/uikit/index.html +0 -0
  885. data/vendor/assets/javascripts/uikit/js/addons/autocomplete.js +305 -0
  886. data/vendor/assets/javascripts/uikit/js/addons/autocomplete.min.js +3 -0
  887. data/vendor/assets/javascripts/uikit/js/addons/cover.js +90 -0
  888. data/vendor/assets/javascripts/uikit/js/addons/cover.min.js +3 -0
  889. data/vendor/assets/javascripts/uikit/js/addons/datepicker.js +379 -0
  890. data/vendor/assets/javascripts/uikit/js/addons/datepicker.min.js +3 -0
  891. data/vendor/assets/javascripts/uikit/js/addons/form-password.js +62 -0
  892. data/vendor/assets/javascripts/uikit/js/addons/form-password.min.js +3 -0
  893. data/vendor/assets/javascripts/uikit/js/addons/form-select.js +62 -0
  894. data/vendor/assets/javascripts/uikit/js/addons/form-select.min.js +3 -0
  895. data/vendor/assets/javascripts/uikit/js/addons/htmleditor.js +615 -0
  896. data/vendor/assets/javascripts/uikit/js/addons/htmleditor.min.js +3 -0
  897. data/vendor/assets/javascripts/uikit/js/addons/nestable.js +575 -0
  898. data/vendor/assets/javascripts/uikit/js/addons/nestable.min.js +3 -0
  899. data/vendor/assets/javascripts/uikit/js/addons/notify.js +180 -0
  900. data/vendor/assets/javascripts/uikit/js/addons/notify.min.js +3 -0
  901. data/vendor/assets/javascripts/uikit/js/addons/pagination.js +146 -0
  902. data/vendor/assets/javascripts/uikit/js/addons/pagination.min.js +3 -0
  903. data/vendor/assets/javascripts/uikit/js/addons/search.js +90 -0
  904. data/vendor/assets/javascripts/uikit/js/addons/search.min.js +3 -0
  905. data/vendor/assets/javascripts/uikit/js/addons/sortable.js +520 -0
  906. data/vendor/assets/javascripts/uikit/js/addons/sortable.min.js +3 -0
  907. data/vendor/assets/javascripts/uikit/js/addons/sticky.js +240 -0
  908. data/vendor/assets/javascripts/uikit/js/addons/sticky.min.js +3 -0
  909. data/vendor/assets/javascripts/uikit/js/addons/timepicker.js +165 -0
  910. data/vendor/assets/javascripts/uikit/js/addons/timepicker.min.js +3 -0
  911. data/vendor/assets/javascripts/uikit/js/addons/upload.js +256 -0
  912. data/vendor/assets/javascripts/uikit/js/addons/upload.min.js +3 -0
  913. data/vendor/assets/javascripts/uikit/js/index.html +0 -0
  914. data/vendor/assets/javascripts/uikit/js/uikit.js +2592 -0
  915. data/vendor/assets/javascripts/uikit/js/uikit.min.js +4 -0
  916. data/vendor/assets/javascripts/uikit/less/addons/autocomplete.less +102 -0
  917. data/vendor/assets/javascripts/uikit/less/addons/cover.less +70 -0
  918. data/vendor/assets/javascripts/uikit/less/addons/datepicker.less +193 -0
  919. data/vendor/assets/javascripts/uikit/less/addons/dotnav.less +141 -0
  920. data/vendor/assets/javascripts/uikit/less/addons/flex.less +62 -0
  921. data/vendor/assets/javascripts/uikit/less/addons/form-advanced.less +123 -0
  922. data/vendor/assets/javascripts/uikit/less/addons/form-file.less +63 -0
  923. data/vendor/assets/javascripts/uikit/less/addons/form-password.less +74 -0
  924. data/vendor/assets/javascripts/uikit/less/addons/form-select.less +66 -0
  925. data/vendor/assets/javascripts/uikit/less/addons/htmleditor.less +274 -0
  926. data/vendor/assets/javascripts/uikit/less/addons/nestable.less +204 -0
  927. data/vendor/assets/javascripts/uikit/less/addons/notify.less +191 -0
  928. data/vendor/assets/javascripts/uikit/less/addons/placeholder.less +66 -0
  929. data/vendor/assets/javascripts/uikit/less/addons/search.less +310 -0
  930. data/vendor/assets/javascripts/uikit/less/addons/slidenav.less +164 -0
  931. data/vendor/assets/javascripts/uikit/less/addons/sortable.less +110 -0
  932. data/vendor/assets/javascripts/uikit/less/addons/sticky.less +52 -0
  933. data/vendor/assets/javascripts/uikit/less/addons/upload.less +34 -0
  934. data/vendor/assets/javascripts/uikit/less/alert.less +141 -0
  935. data/vendor/assets/javascripts/uikit/less/animation.less +580 -0
  936. data/vendor/assets/javascripts/uikit/less/article.less +139 -0
  937. data/vendor/assets/javascripts/uikit/less/badge.less +111 -0
  938. data/vendor/assets/javascripts/uikit/less/base.less +521 -0
  939. data/vendor/assets/javascripts/uikit/less/breadcrumb.less +86 -0
  940. data/vendor/assets/javascripts/uikit/less/button.less +407 -0
  941. data/vendor/assets/javascripts/uikit/less/close.less +133 -0
  942. data/vendor/assets/javascripts/uikit/less/comment.less +172 -0
  943. data/vendor/assets/javascripts/uikit/less/description-list.less +70 -0
  944. data/vendor/assets/javascripts/uikit/less/dropdown.less +272 -0
  945. data/vendor/assets/javascripts/uikit/less/form.less +623 -0
  946. data/vendor/assets/javascripts/uikit/less/grid.less +593 -0
  947. data/vendor/assets/javascripts/uikit/less/icon.less +695 -0
  948. data/vendor/assets/javascripts/uikit/less/index.html +0 -0
  949. data/vendor/assets/javascripts/uikit/less/list.less +102 -0
  950. data/vendor/assets/javascripts/uikit/less/modal.less +226 -0
  951. data/vendor/assets/javascripts/uikit/less/nav.less +468 -0
  952. data/vendor/assets/javascripts/uikit/less/navbar.less +327 -0
  953. data/vendor/assets/javascripts/uikit/less/offcanvas.less +162 -0
  954. data/vendor/assets/javascripts/uikit/less/overlay.less +241 -0
  955. data/vendor/assets/javascripts/uikit/less/pagination.less +198 -0
  956. data/vendor/assets/javascripts/uikit/less/panel.less +244 -0
  957. data/vendor/assets/javascripts/uikit/less/print.less +52 -0
  958. data/vendor/assets/javascripts/uikit/less/progress.less +174 -0
  959. data/vendor/assets/javascripts/uikit/less/subnav.less +183 -0
  960. data/vendor/assets/javascripts/uikit/less/switcher.less +33 -0
  961. data/vendor/assets/javascripts/uikit/less/tab.less +368 -0
  962. data/vendor/assets/javascripts/uikit/less/table.less +120 -0
  963. data/vendor/assets/javascripts/uikit/less/text.less +124 -0
  964. data/vendor/assets/javascripts/uikit/less/thumbnail.less +123 -0
  965. data/vendor/assets/javascripts/uikit/less/tooltip.less +179 -0
  966. data/vendor/assets/javascripts/uikit/less/uikit-addons.less +26 -0
  967. data/vendor/assets/javascripts/uikit/less/uikit.css +4426 -0
  968. data/vendor/assets/javascripts/uikit/less/uikit.less +53 -0
  969. data/vendor/assets/javascripts/uikit/less/utility.less +526 -0
  970. data/vendor/assets/javascripts/uikit/less/variables.less +27 -0
  971. data/vendor/assets/javascripts/uikit/uikit.css +1 -0
  972. data/vendor/assets/javascripts/uikit/vendor/codemirror/codemirror.css +340 -0
  973. data/vendor/assets/javascripts/uikit/vendor/codemirror/codemirror.js +65 -0
  974. data/vendor/assets/javascripts/uikit/vendor/codemirror/show-hint.css +38 -0
  975. data/vendor/assets/javascripts/uikit/vendor/customizer.js +290 -0
  976. data/vendor/assets/javascripts/uikit/vendor/highlight/highlight.css +127 -0
  977. data/vendor/assets/javascripts/uikit/vendor/highlight/highlight.js +1 -0
  978. data/vendor/assets/javascripts/uikit/vendor/highlight/test.html +45 -0
  979. data/vendor/assets/javascripts/uikit/vendor/holder.js +648 -0
  980. data/vendor/assets/javascripts/uikit/vendor/index.html +0 -0
  981. data/vendor/assets/javascripts/uikit/vendor/jquery.js +4 -0
  982. data/vendor/assets/javascripts/uikit/vendor/jquery.less.js +274 -0
  983. data/vendor/assets/javascripts/uikit/vendor/jquery.mustache.js +16 -0
  984. data/vendor/assets/javascripts/uikit/vendor/jquery.rtl.js +271 -0
  985. data/vendor/assets/javascripts/uikit/vendor/less.js +16 -0
  986. data/vendor/assets/javascripts/uikit/vendor/marked.js +1272 -0
  987. data/vendor/assets/javascripts/uikit/vendor/spectrum/spectrum.css +480 -0
  988. data/vendor/assets/javascripts/uikit/vendor/spectrum/spectrum.js +1889 -0
  989. data/vendor/assets/javascripts/uikit/vendor/spectrum/test.html +343 -0
  990. data/vendor/assets/javascripts/wysihtml5/index.html +0 -0
  991. data/vendor/assets/javascripts/wysihtml5/lib/css/bootstrap-responsive.css +686 -0
  992. data/vendor/assets/javascripts/wysihtml5/lib/css/bootstrap-responsive.min.css +12 -0
  993. data/vendor/assets/javascripts/wysihtml5/lib/css/bootstrap.css +3990 -0
  994. data/vendor/assets/javascripts/wysihtml5/lib/css/bootstrap.min.css +689 -0
  995. data/vendor/assets/javascripts/wysihtml5/lib/css/index.html +0 -0
  996. data/vendor/assets/javascripts/wysihtml5/lib/css/prettify.css +30 -0
  997. data/vendor/assets/javascripts/wysihtml5/lib/css/wysiwyg-color.css +67 -0
  998. data/vendor/assets/javascripts/wysihtml5/lib/img/glyphicons-halflings-white.png +0 -0
  999. data/vendor/assets/javascripts/wysihtml5/lib/img/glyphicons-halflings.png +0 -0
  1000. data/vendor/assets/javascripts/wysihtml5/lib/img/index.html +0 -0
  1001. data/vendor/assets/javascripts/wysihtml5/lib/index.html +0 -0
  1002. data/vendor/assets/javascripts/wysihtml5/lib/js/bootstrap-button.js +100 -0
  1003. data/vendor/assets/javascripts/wysihtml5/lib/js/bootstrap.js +2025 -0
  1004. data/vendor/assets/javascripts/wysihtml5/lib/js/bootstrap.min.js +6 -0
  1005. data/vendor/assets/javascripts/wysihtml5/lib/js/index.html +0 -0
  1006. data/vendor/assets/javascripts/wysihtml5/lib/js/jquery-1.7.2.min.js +4 -0
  1007. data/vendor/assets/javascripts/wysihtml5/lib/js/prettify.js +28 -0
  1008. data/vendor/assets/javascripts/wysihtml5/lib/js/wysihtml5-0.3.0.js +9523 -0
  1009. data/vendor/assets/javascripts/wysihtml5/lib/js/wysihtml5-0.3.0.min.js +261 -0
  1010. data/vendor/assets/javascripts/wysihtml5/src/bootstrap-wysihtml5.css +102 -0
  1011. data/vendor/assets/javascripts/wysihtml5/src/bootstrap-wysihtml5.js +519 -0
  1012. data/vendor/assets/javascripts/wysihtml5/src/index.html +0 -0
  1013. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.ar-AR.js +49 -0
  1014. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.bg-BG.js +49 -0
  1015. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.ca-CT.js +47 -0
  1016. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.cs-CZ.js +48 -0
  1017. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.da-DK.js +48 -0
  1018. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.de-DE.js +49 -0
  1019. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.el-GR.js +48 -0
  1020. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.es-AR.js +49 -0
  1021. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.es-ES.js +48 -0
  1022. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.fr-FR.js +49 -0
  1023. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.hr-HR.js +48 -0
  1024. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.it-IT.js +47 -0
  1025. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.ja-JP.js +49 -0
  1026. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.ko-KR.js +49 -0
  1027. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.lt-LT.js +48 -0
  1028. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.mo-MD.js +48 -0
  1029. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.nb-NB.js +49 -0
  1030. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.nl-NL.js +48 -0
  1031. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.pl-PL.js +48 -0
  1032. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.pt-BR.js +52 -0
  1033. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.ru-RU.js +49 -0
  1034. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.sk-SK.js +48 -0
  1035. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.sv-SE.js +48 -0
  1036. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.tr-TR.js +48 -0
  1037. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.ua-UA.js +49 -0
  1038. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.zh-CN.js +48 -0
  1039. data/vendor/assets/javascripts/wysihtml5/src/locales/bootstrap-wysihtml5.zh-TW.js +48 -0
  1040. data/vendor/assets/javascripts/wysihtml5/src/locales/index.html +0 -0
  1041. data/vendor/assets/javascripts/wysihtml5/wysihtml5-angular.js +10042 -0
  1042. data/vendor/assets/javascripts/xenon-api.js +91 -0
  1043. data/vendor/assets/javascripts/xenon-custom.js +1950 -0
  1044. data/vendor/assets/javascripts/xenon-notes.js +189 -0
  1045. data/vendor/assets/javascripts/xenon-toggles.js +321 -0
  1046. data/vendor/assets/javascripts/xenon-widgets.js +171 -0
  1047. data/vendor/assets/stylesheets/bootstrap.css +1 -0
  1048. data/vendor/assets/stylesheets/handycss.css +996 -0
  1049. data/vendor/assets/stylesheets/other/wysihtml5-color.css +67 -0
  1050. data/vendor/assets/stylesheets/xenon-components.css +1 -0
  1051. data/vendor/assets/stylesheets/xenon-core.css +1 -0
  1052. data/vendor/assets/stylesheets/xenon-forms.css +18 -0
  1053. data/vendor/assets/stylesheets/xenon-skins.css +1 -0
  1054. data/vendor/assets/stylesheets/xenon.css +18 -0
  1055. metadata +1341 -0
@@ -0,0 +1,30 @@
1
+ .com { color: #93a1a1; }
2
+ .lit { color: #195f91; }
3
+ .pun, .opn, .clo { color: #93a1a1; }
4
+ .fun { color: #dc322f; }
5
+ .str, .atv { color: #D14; }
6
+ .kwd, .linenums .tag { color: #1e347b; }
7
+ .typ, .atn, .dec, .var { color: teal; }
8
+ .pln { color: #48484c; }
9
+
10
+ .prettyprint {
11
+ padding: 8px;
12
+ background-color: #f7f7f9;
13
+ border: 1px solid #e1e1e8;
14
+ }
15
+ .prettyprint.linenums {
16
+ -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
17
+ -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
18
+ box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
19
+ }
20
+
21
+ /* Specify class=linenums on a pre to get line numbering */
22
+ ol.linenums {
23
+ margin: 0 0 0 33px; /* IE indents via margin-left */
24
+ }
25
+ ol.linenums li {
26
+ padding-left: 12px;
27
+ color: #bebec5;
28
+ line-height: 18px;
29
+ text-shadow: 0 1px 0 #fff;
30
+ }
@@ -0,0 +1,67 @@
1
+ .wysiwyg-color-black {
2
+ color: black;
3
+ }
4
+
5
+ .wysiwyg-color-silver {
6
+ color: silver;
7
+ }
8
+
9
+ .wysiwyg-color-gray {
10
+ color: gray;
11
+ }
12
+
13
+ .wysiwyg-color-white {
14
+ color: white;
15
+ }
16
+
17
+ .wysiwyg-color-maroon {
18
+ color: maroon;
19
+ }
20
+
21
+ .wysiwyg-color-red {
22
+ color: red;
23
+ }
24
+
25
+ .wysiwyg-color-purple {
26
+ color: purple;
27
+ }
28
+
29
+ .wysiwyg-color-fuchsia {
30
+ color: fuchsia;
31
+ }
32
+
33
+ .wysiwyg-color-green {
34
+ color: green;
35
+ }
36
+
37
+ .wysiwyg-color-lime {
38
+ color: lime;
39
+ }
40
+
41
+ .wysiwyg-color-olive {
42
+ color: olive;
43
+ }
44
+
45
+ .wysiwyg-color-yellow {
46
+ color: yellow;
47
+ }
48
+
49
+ .wysiwyg-color-navy {
50
+ color: navy;
51
+ }
52
+
53
+ .wysiwyg-color-blue {
54
+ color: blue;
55
+ }
56
+
57
+ .wysiwyg-color-teal {
58
+ color: teal;
59
+ }
60
+
61
+ .wysiwyg-color-aqua {
62
+ color: aqua;
63
+ }
64
+
65
+ .wysiwyg-color-orange {
66
+ color: orange;
67
+ }
@@ -0,0 +1,100 @@
1
+ /* ============================================================
2
+ * bootstrap-button.js v2.0.2
3
+ * http://twitter.github.com/bootstrap/javascript.html#buttons
4
+ * ============================================================
5
+ * Copyright 2012 Twitter, Inc.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ * ============================================================ */
19
+
20
+ !function( $ ){
21
+
22
+ "use strict"
23
+
24
+ /* BUTTON PUBLIC CLASS DEFINITION
25
+ * ============================== */
26
+
27
+ var Button = function ( element, options ) {
28
+ this.$element = $(element)
29
+ this.options = $.extend({}, $.fn.button.defaults, options)
30
+ }
31
+
32
+ Button.prototype = {
33
+
34
+ constructor: Button
35
+
36
+ , setState: function ( state ) {
37
+ var d = 'disabled'
38
+ , $el = this.$element
39
+ , data = $el.data()
40
+ , val = $el.is('input') ? 'val' : 'html'
41
+
42
+ state = state + 'Text'
43
+ data.resetText || $el.data('resetText', $el[val]())
44
+
45
+ $el[val](data[state] || this.options[state])
46
+
47
+ // push to event loop to allow forms to submit
48
+ setTimeout(function () {
49
+ state == 'loadingText' ?
50
+ $el.addClass(d).attr(d, d) :
51
+ $el.removeClass(d).removeAttr(d)
52
+ }, 0)
53
+ }
54
+
55
+ , toggle: function () {
56
+ var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
57
+
58
+ $parent && $parent
59
+ .find('.active')
60
+ .removeClass('active')
61
+
62
+ this.$element.toggleClass('active')
63
+ }
64
+
65
+ }
66
+
67
+
68
+ /* BUTTON PLUGIN DEFINITION
69
+ * ======================== */
70
+
71
+ $.fn.button = function ( option ) {
72
+ return this.each(function () {
73
+ var $this = $(this)
74
+ , data = $this.data('button')
75
+ , options = typeof option == 'object' && option
76
+ if (!data) $this.data('button', (data = new Button(this, options)))
77
+ if (option == 'toggle') data.toggle()
78
+ else if (option) data.setState(option)
79
+ })
80
+ }
81
+
82
+ $.fn.button.defaults = {
83
+ loadingText: 'loading...'
84
+ }
85
+
86
+ $.fn.button.Constructor = Button
87
+
88
+
89
+ /* BUTTON DATA-API
90
+ * =============== */
91
+
92
+ $(function () {
93
+ $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
94
+ var $btn = $(e.target)
95
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
96
+ $btn.button('toggle')
97
+ })
98
+ })
99
+
100
+ }( window.jQuery );
@@ -0,0 +1,2025 @@
1
+ /* ==========================================================
2
+ * bootstrap-affix.js v2.2.1
3
+ * http://twitter.github.com/bootstrap/javascript.html#affix
4
+ * ==========================================================
5
+ * Copyright 2012 Twitter, Inc.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ * ========================================================== */
19
+
20
+
21
+ !function ($) {
22
+
23
+ "use strict"; // jshint ;_;
24
+
25
+
26
+ /* AFFIX CLASS DEFINITION
27
+ * ====================== */
28
+
29
+ var Affix = function (element, options) {
30
+ this.options = $.extend({}, $.fn.affix.defaults, options)
31
+ this.$window = $(window)
32
+ .on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
33
+ .on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
34
+ this.$element = $(element)
35
+ this.checkPosition()
36
+ }
37
+
38
+ Affix.prototype.checkPosition = function () {
39
+ if (!this.$element.is(':visible')) return
40
+
41
+ var scrollHeight = $(document).height()
42
+ , scrollTop = this.$window.scrollTop()
43
+ , position = this.$element.offset()
44
+ , offset = this.options.offset
45
+ , offsetBottom = offset.bottom
46
+ , offsetTop = offset.top
47
+ , reset = 'affix affix-top affix-bottom'
48
+ , affix
49
+
50
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
51
+ if (typeof offsetTop == 'function') offsetTop = offset.top()
52
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
53
+
54
+ affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?
55
+ false : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?
56
+ 'bottom' : offsetTop != null && scrollTop <= offsetTop ?
57
+ 'top' : false
58
+
59
+ if (this.affixed === affix) return
60
+
61
+ this.affixed = affix
62
+ this.unpin = affix == 'bottom' ? position.top - scrollTop : null
63
+
64
+ this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))
65
+ }
66
+
67
+
68
+ /* AFFIX PLUGIN DEFINITION
69
+ * ======================= */
70
+
71
+ $.fn.affix = function (option) {
72
+ return this.each(function () {
73
+ var $this = $(this)
74
+ , data = $this.data('affix')
75
+ , options = typeof option == 'object' && option
76
+ if (!data) $this.data('affix', (data = new Affix(this, options)))
77
+ if (typeof option == 'string') data[option]()
78
+ })
79
+ }
80
+
81
+ $.fn.affix.Constructor = Affix
82
+
83
+ $.fn.affix.defaults = {
84
+ offset: 0
85
+ }
86
+
87
+
88
+ /* AFFIX DATA-API
89
+ * ============== */
90
+
91
+ $(window).on('load', function () {
92
+ $('[data-spy="affix"]').each(function () {
93
+ var $spy = $(this)
94
+ , data = $spy.data()
95
+
96
+ data.offset = data.offset || {}
97
+
98
+ data.offsetBottom && (data.offset.bottom = data.offsetBottom)
99
+ data.offsetTop && (data.offset.top = data.offsetTop)
100
+
101
+ $spy.affix(data)
102
+ })
103
+ })
104
+
105
+
106
+ }(window.jQuery);/* ==========================================================
107
+ * bootstrap-alert.js v2.2.1
108
+ * http://twitter.github.com/bootstrap/javascript.html#alerts
109
+ * ==========================================================
110
+ * Copyright 2012 Twitter, Inc.
111
+ *
112
+ * Licensed under the Apache License, Version 2.0 (the "License");
113
+ * you may not use this file except in compliance with the License.
114
+ * You may obtain a copy of the License at
115
+ *
116
+ * http://www.apache.org/licenses/LICENSE-2.0
117
+ *
118
+ * Unless required by applicable law or agreed to in writing, software
119
+ * distributed under the License is distributed on an "AS IS" BASIS,
120
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121
+ * See the License for the specific language governing permissions and
122
+ * limitations under the License.
123
+ * ========================================================== */
124
+
125
+
126
+ !function ($) {
127
+
128
+ "use strict"; // jshint ;_;
129
+
130
+
131
+ /* ALERT CLASS DEFINITION
132
+ * ====================== */
133
+
134
+ var dismiss = '[data-dismiss="alert"]'
135
+ , Alert = function (el) {
136
+ $(el).on('click', dismiss, this.close)
137
+ }
138
+
139
+ Alert.prototype.close = function (e) {
140
+ var $this = $(this)
141
+ , selector = $this.attr('data-target')
142
+ , $parent
143
+
144
+ if (!selector) {
145
+ selector = $this.attr('href')
146
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
147
+ }
148
+
149
+ $parent = $(selector)
150
+
151
+ e && e.preventDefault()
152
+
153
+ $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent())
154
+
155
+ $parent.trigger(e = $.Event('close'))
156
+
157
+ if (e.isDefaultPrevented()) return
158
+
159
+ $parent.removeClass('in')
160
+
161
+ function removeElement() {
162
+ $parent
163
+ .trigger('closed')
164
+ .remove()
165
+ }
166
+
167
+ $.support.transition && $parent.hasClass('fade') ?
168
+ $parent.on($.support.transition.end, removeElement) :
169
+ removeElement()
170
+ }
171
+
172
+
173
+ /* ALERT PLUGIN DEFINITION
174
+ * ======================= */
175
+
176
+ $.fn.alert = function (option) {
177
+ return this.each(function () {
178
+ var $this = $(this)
179
+ , data = $this.data('alert')
180
+ if (!data) $this.data('alert', (data = new Alert(this)))
181
+ if (typeof option == 'string') data[option].call($this)
182
+ })
183
+ }
184
+
185
+ $.fn.alert.Constructor = Alert
186
+
187
+
188
+ /* ALERT DATA-API
189
+ * ============== */
190
+
191
+ $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
192
+
193
+ }(window.jQuery);/* ============================================================
194
+ * bootstrap-button.js v2.2.1
195
+ * http://twitter.github.com/bootstrap/javascript.html#buttons
196
+ * ============================================================
197
+ * Copyright 2012 Twitter, Inc.
198
+ *
199
+ * Licensed under the Apache License, Version 2.0 (the "License");
200
+ * you may not use this file except in compliance with the License.
201
+ * You may obtain a copy of the License at
202
+ *
203
+ * http://www.apache.org/licenses/LICENSE-2.0
204
+ *
205
+ * Unless required by applicable law or agreed to in writing, software
206
+ * distributed under the License is distributed on an "AS IS" BASIS,
207
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
208
+ * See the License for the specific language governing permissions and
209
+ * limitations under the License.
210
+ * ============================================================ */
211
+
212
+
213
+ !function ($) {
214
+
215
+ "use strict"; // jshint ;_;
216
+
217
+
218
+ /* BUTTON PUBLIC CLASS DEFINITION
219
+ * ============================== */
220
+
221
+ var Button = function (element, options) {
222
+ this.$element = $(element)
223
+ this.options = $.extend({}, $.fn.button.defaults, options)
224
+ }
225
+
226
+ Button.prototype.setState = function (state) {
227
+ var d = 'disabled'
228
+ , $el = this.$element
229
+ , data = $el.data()
230
+ , val = $el.is('input') ? 'val' : 'html'
231
+
232
+ state = state + 'Text'
233
+ data.resetText || $el.data('resetText', $el[val]())
234
+
235
+ $el[val](data[state] || this.options[state])
236
+
237
+ // push to event loop to allow forms to submit
238
+ setTimeout(function () {
239
+ state == 'loadingText' ?
240
+ $el.addClass(d).attr(d, d) :
241
+ $el.removeClass(d).removeAttr(d)
242
+ }, 0)
243
+ }
244
+
245
+ Button.prototype.toggle = function () {
246
+ var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
247
+
248
+ $parent && $parent
249
+ .find('.active')
250
+ .removeClass('active')
251
+
252
+ this.$element.toggleClass('active')
253
+ }
254
+
255
+
256
+ /* BUTTON PLUGIN DEFINITION
257
+ * ======================== */
258
+
259
+ $.fn.button = function (option) {
260
+ return this.each(function () {
261
+ var $this = $(this)
262
+ , data = $this.data('button')
263
+ , options = typeof option == 'object' && option
264
+ if (!data) $this.data('button', (data = new Button(this, options)))
265
+ if (option == 'toggle') data.toggle()
266
+ else if (option) data.setState(option)
267
+ })
268
+ }
269
+
270
+ $.fn.button.defaults = {
271
+ loadingText: 'loading...'
272
+ }
273
+
274
+ $.fn.button.Constructor = Button
275
+
276
+
277
+ /* BUTTON DATA-API
278
+ * =============== */
279
+
280
+ $(document).on('click.button.data-api', '[data-toggle^=button]', function (e) {
281
+ var $btn = $(e.target)
282
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
283
+ $btn.button('toggle')
284
+ })
285
+
286
+ }(window.jQuery);/* ==========================================================
287
+ * bootstrap-carousel.js v2.2.1
288
+ * http://twitter.github.com/bootstrap/javascript.html#carousel
289
+ * ==========================================================
290
+ * Copyright 2012 Twitter, Inc.
291
+ *
292
+ * Licensed under the Apache License, Version 2.0 (the "License");
293
+ * you may not use this file except in compliance with the License.
294
+ * You may obtain a copy of the License at
295
+ *
296
+ * http://www.apache.org/licenses/LICENSE-2.0
297
+ *
298
+ * Unless required by applicable law or agreed to in writing, software
299
+ * distributed under the License is distributed on an "AS IS" BASIS,
300
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
301
+ * See the License for the specific language governing permissions and
302
+ * limitations under the License.
303
+ * ========================================================== */
304
+
305
+
306
+ !function ($) {
307
+
308
+ "use strict"; // jshint ;_;
309
+
310
+
311
+ /* CAROUSEL CLASS DEFINITION
312
+ * ========================= */
313
+
314
+ var Carousel = function (element, options) {
315
+ this.$element = $(element)
316
+ this.options = options
317
+ this.options.slide && this.slide(this.options.slide)
318
+ this.options.pause == 'hover' && this.$element
319
+ .on('mouseenter', $.proxy(this.pause, this))
320
+ .on('mouseleave', $.proxy(this.cycle, this))
321
+ }
322
+
323
+ Carousel.prototype = {
324
+
325
+ cycle: function (e) {
326
+ if (!e) this.paused = false
327
+ this.options.interval
328
+ && !this.paused
329
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
330
+ return this
331
+ }
332
+
333
+ , to: function (pos) {
334
+ var $active = this.$element.find('.item.active')
335
+ , children = $active.parent().children()
336
+ , activePos = children.index($active)
337
+ , that = this
338
+
339
+ if (pos > (children.length - 1) || pos < 0) return
340
+
341
+ if (this.sliding) {
342
+ return this.$element.one('slid', function () {
343
+ that.to(pos)
344
+ })
345
+ }
346
+
347
+ if (activePos == pos) {
348
+ return this.pause().cycle()
349
+ }
350
+
351
+ return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos]))
352
+ }
353
+
354
+ , pause: function (e) {
355
+ if (!e) this.paused = true
356
+ if (this.$element.find('.next, .prev').length && $.support.transition.end) {
357
+ this.$element.trigger($.support.transition.end)
358
+ this.cycle()
359
+ }
360
+ clearInterval(this.interval)
361
+ this.interval = null
362
+ return this
363
+ }
364
+
365
+ , next: function () {
366
+ if (this.sliding) return
367
+ return this.slide('next')
368
+ }
369
+
370
+ , prev: function () {
371
+ if (this.sliding) return
372
+ return this.slide('prev')
373
+ }
374
+
375
+ , slide: function (type, next) {
376
+ var $active = this.$element.find('.item.active')
377
+ , $next = next || $active[type]()
378
+ , isCycling = this.interval
379
+ , direction = type == 'next' ? 'left' : 'right'
380
+ , fallback = type == 'next' ? 'first' : 'last'
381
+ , that = this
382
+ , e
383
+
384
+ this.sliding = true
385
+
386
+ isCycling && this.pause()
387
+
388
+ $next = $next.length ? $next : this.$element.find('.item')[fallback]()
389
+
390
+ e = $.Event('slide', {
391
+ relatedTarget: $next[0]
392
+ })
393
+
394
+ if ($next.hasClass('active')) return
395
+
396
+ if ($.support.transition && this.$element.hasClass('slide')) {
397
+ this.$element.trigger(e)
398
+ if (e.isDefaultPrevented()) return
399
+ $next.addClass(type)
400
+ $next[0].offsetWidth // force reflow
401
+ $active.addClass(direction)
402
+ $next.addClass(direction)
403
+ this.$element.one($.support.transition.end, function () {
404
+ $next.removeClass([type, direction].join(' ')).addClass('active')
405
+ $active.removeClass(['active', direction].join(' '))
406
+ that.sliding = false
407
+ setTimeout(function () { that.$element.trigger('slid') }, 0)
408
+ })
409
+ } else {
410
+ this.$element.trigger(e)
411
+ if (e.isDefaultPrevented()) return
412
+ $active.removeClass('active')
413
+ $next.addClass('active')
414
+ this.sliding = false
415
+ this.$element.trigger('slid')
416
+ }
417
+
418
+ isCycling && this.cycle()
419
+
420
+ return this
421
+ }
422
+
423
+ }
424
+
425
+
426
+ /* CAROUSEL PLUGIN DEFINITION
427
+ * ========================== */
428
+
429
+ $.fn.carousel = function (option) {
430
+ return this.each(function () {
431
+ var $this = $(this)
432
+ , data = $this.data('carousel')
433
+ , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option)
434
+ , action = typeof option == 'string' ? option : options.slide
435
+ if (!data) $this.data('carousel', (data = new Carousel(this, options)))
436
+ if (typeof option == 'number') data.to(option)
437
+ else if (action) data[action]()
438
+ else if (options.interval) data.cycle()
439
+ })
440
+ }
441
+
442
+ $.fn.carousel.defaults = {
443
+ interval: 5000
444
+ , pause: 'hover'
445
+ }
446
+
447
+ $.fn.carousel.Constructor = Carousel
448
+
449
+
450
+ /* CAROUSEL DATA-API
451
+ * ================= */
452
+
453
+ $(document).on('click.carousel.data-api', '[data-slide]', function (e) {
454
+ var $this = $(this), href
455
+ , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
456
+ , options = $.extend({}, $target.data(), $this.data())
457
+ $target.carousel(options)
458
+ e.preventDefault()
459
+ })
460
+
461
+ }(window.jQuery);/* =============================================================
462
+ * bootstrap-collapse.js v2.2.1
463
+ * http://twitter.github.com/bootstrap/javascript.html#collapse
464
+ * =============================================================
465
+ * Copyright 2012 Twitter, Inc.
466
+ *
467
+ * Licensed under the Apache License, Version 2.0 (the "License");
468
+ * you may not use this file except in compliance with the License.
469
+ * You may obtain a copy of the License at
470
+ *
471
+ * http://www.apache.org/licenses/LICENSE-2.0
472
+ *
473
+ * Unless required by applicable law or agreed to in writing, software
474
+ * distributed under the License is distributed on an "AS IS" BASIS,
475
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
476
+ * See the License for the specific language governing permissions and
477
+ * limitations under the License.
478
+ * ============================================================ */
479
+
480
+
481
+ !function ($) {
482
+
483
+ "use strict"; // jshint ;_;
484
+
485
+
486
+ /* COLLAPSE PUBLIC CLASS DEFINITION
487
+ * ================================ */
488
+
489
+ var Collapse = function (element, options) {
490
+ this.$element = $(element)
491
+ this.options = $.extend({}, $.fn.collapse.defaults, options)
492
+
493
+ if (this.options.parent) {
494
+ this.$parent = $(this.options.parent)
495
+ }
496
+
497
+ this.options.toggle && this.toggle()
498
+ }
499
+
500
+ Collapse.prototype = {
501
+
502
+ constructor: Collapse
503
+
504
+ , dimension: function () {
505
+ var hasWidth = this.$element.hasClass('width')
506
+ return hasWidth ? 'width' : 'height'
507
+ }
508
+
509
+ , show: function () {
510
+ var dimension
511
+ , scroll
512
+ , actives
513
+ , hasData
514
+
515
+ if (this.transitioning) return
516
+
517
+ dimension = this.dimension()
518
+ scroll = $.camelCase(['scroll', dimension].join('-'))
519
+ actives = this.$parent && this.$parent.find('> .accordion-group > .in')
520
+
521
+ if (actives && actives.length) {
522
+ hasData = actives.data('collapse')
523
+ if (hasData && hasData.transitioning) return
524
+ actives.collapse('hide')
525
+ hasData || actives.data('collapse', null)
526
+ }
527
+
528
+ this.$element[dimension](0)
529
+ this.transition('addClass', $.Event('show'), 'shown')
530
+ $.support.transition && this.$element[dimension](this.$element[0][scroll])
531
+ }
532
+
533
+ , hide: function () {
534
+ var dimension
535
+ if (this.transitioning) return
536
+ dimension = this.dimension()
537
+ this.reset(this.$element[dimension]())
538
+ this.transition('removeClass', $.Event('hide'), 'hidden')
539
+ this.$element[dimension](0)
540
+ }
541
+
542
+ , reset: function (size) {
543
+ var dimension = this.dimension()
544
+
545
+ this.$element
546
+ .removeClass('collapse')
547
+ [dimension](size || 'auto')
548
+ [0].offsetWidth
549
+
550
+ this.$element[size !== null ? 'addClass' : 'removeClass']('collapse')
551
+
552
+ return this
553
+ }
554
+
555
+ , transition: function (method, startEvent, completeEvent) {
556
+ var that = this
557
+ , complete = function () {
558
+ if (startEvent.type == 'show') that.reset()
559
+ that.transitioning = 0
560
+ that.$element.trigger(completeEvent)
561
+ }
562
+
563
+ this.$element.trigger(startEvent)
564
+
565
+ if (startEvent.isDefaultPrevented()) return
566
+
567
+ this.transitioning = 1
568
+
569
+ this.$element[method]('in')
570
+
571
+ $.support.transition && this.$element.hasClass('collapse') ?
572
+ this.$element.one($.support.transition.end, complete) :
573
+ complete()
574
+ }
575
+
576
+ , toggle: function () {
577
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
578
+ }
579
+
580
+ }
581
+
582
+
583
+ /* COLLAPSIBLE PLUGIN DEFINITION
584
+ * ============================== */
585
+
586
+ $.fn.collapse = function (option) {
587
+ return this.each(function () {
588
+ var $this = $(this)
589
+ , data = $this.data('collapse')
590
+ , options = typeof option == 'object' && option
591
+ if (!data) $this.data('collapse', (data = new Collapse(this, options)))
592
+ if (typeof option == 'string') data[option]()
593
+ })
594
+ }
595
+
596
+ $.fn.collapse.defaults = {
597
+ toggle: true
598
+ }
599
+
600
+ $.fn.collapse.Constructor = Collapse
601
+
602
+
603
+ /* COLLAPSIBLE DATA-API
604
+ * ==================== */
605
+
606
+ $(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) {
607
+ var $this = $(this), href
608
+ , target = $this.attr('data-target')
609
+ || e.preventDefault()
610
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
611
+ , option = $(target).data('collapse') ? 'toggle' : $this.data()
612
+ $this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
613
+ $(target).collapse(option)
614
+ })
615
+
616
+ }(window.jQuery);/* ============================================================
617
+ * bootstrap-dropdown.js v2.2.1
618
+ * http://twitter.github.com/bootstrap/javascript.html#dropdowns
619
+ * ============================================================
620
+ * Copyright 2012 Twitter, Inc.
621
+ *
622
+ * Licensed under the Apache License, Version 2.0 (the "License");
623
+ * you may not use this file except in compliance with the License.
624
+ * You may obtain a copy of the License at
625
+ *
626
+ * http://www.apache.org/licenses/LICENSE-2.0
627
+ *
628
+ * Unless required by applicable law or agreed to in writing, software
629
+ * distributed under the License is distributed on an "AS IS" BASIS,
630
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
631
+ * See the License for the specific language governing permissions and
632
+ * limitations under the License.
633
+ * ============================================================ */
634
+
635
+
636
+ !function ($) {
637
+
638
+ "use strict"; // jshint ;_;
639
+
640
+
641
+ /* DROPDOWN CLASS DEFINITION
642
+ * ========================= */
643
+
644
+ var toggle = '[data-toggle=dropdown]'
645
+ , Dropdown = function (element) {
646
+ var $el = $(element).on('click.dropdown.data-api', this.toggle)
647
+ $('html').on('click.dropdown.data-api', function () {
648
+ $el.parent().removeClass('open')
649
+ })
650
+ }
651
+
652
+ Dropdown.prototype = {
653
+
654
+ constructor: Dropdown
655
+
656
+ , toggle: function (e) {
657
+ var $this = $(this)
658
+ , $parent
659
+ , isActive
660
+
661
+ if ($this.is('.disabled, :disabled')) return
662
+
663
+ $parent = getParent($this)
664
+
665
+ isActive = $parent.hasClass('open')
666
+
667
+ clearMenus()
668
+
669
+ if (!isActive) {
670
+ $parent.toggleClass('open')
671
+ $this.focus()
672
+ }
673
+
674
+ return false
675
+ }
676
+
677
+ , keydown: function (e) {
678
+ var $this
679
+ , $items
680
+ , $active
681
+ , $parent
682
+ , isActive
683
+ , index
684
+
685
+ if (!/(38|40|27)/.test(e.keyCode)) return
686
+
687
+ $this = $(this)
688
+
689
+ e.preventDefault()
690
+ e.stopPropagation()
691
+
692
+ if ($this.is('.disabled, :disabled')) return
693
+
694
+ $parent = getParent($this)
695
+
696
+ isActive = $parent.hasClass('open')
697
+
698
+ if (!isActive || (isActive && e.keyCode == 27)) return $this.click()
699
+
700
+ $items = $('[role=menu] li:not(.divider) a', $parent)
701
+
702
+ if (!$items.length) return
703
+
704
+ index = $items.index($items.filter(':focus'))
705
+
706
+ if (e.keyCode == 38 && index > 0) index-- // up
707
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
708
+ if (!~index) index = 0
709
+
710
+ $items
711
+ .eq(index)
712
+ .focus()
713
+ }
714
+
715
+ }
716
+
717
+ function clearMenus() {
718
+ $(toggle).each(function () {
719
+ getParent($(this)).removeClass('open')
720
+ })
721
+ }
722
+
723
+ function getParent($this) {
724
+ var selector = $this.attr('data-target')
725
+ , $parent
726
+
727
+ if (!selector) {
728
+ selector = $this.attr('href')
729
+ selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
730
+ }
731
+
732
+ $parent = $(selector)
733
+ $parent.length || ($parent = $this.parent())
734
+
735
+ return $parent
736
+ }
737
+
738
+
739
+ /* DROPDOWN PLUGIN DEFINITION
740
+ * ========================== */
741
+
742
+ $.fn.dropdown = function (option) {
743
+ return this.each(function () {
744
+ var $this = $(this)
745
+ , data = $this.data('dropdown')
746
+ if (!data) $this.data('dropdown', (data = new Dropdown(this)))
747
+ if (typeof option == 'string') data[option].call($this)
748
+ })
749
+ }
750
+
751
+ $.fn.dropdown.Constructor = Dropdown
752
+
753
+
754
+ /* APPLY TO STANDARD DROPDOWN ELEMENTS
755
+ * =================================== */
756
+
757
+ $(document)
758
+ .on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
759
+ .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
760
+ .on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
761
+ .on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
762
+
763
+ }(window.jQuery);/* =========================================================
764
+ * bootstrap-modal.js v2.2.1
765
+ * http://twitter.github.com/bootstrap/javascript.html#modals
766
+ * =========================================================
767
+ * Copyright 2012 Twitter, Inc.
768
+ *
769
+ * Licensed under the Apache License, Version 2.0 (the "License");
770
+ * you may not use this file except in compliance with the License.
771
+ * You may obtain a copy of the License at
772
+ *
773
+ * http://www.apache.org/licenses/LICENSE-2.0
774
+ *
775
+ * Unless required by applicable law or agreed to in writing, software
776
+ * distributed under the License is distributed on an "AS IS" BASIS,
777
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
778
+ * See the License for the specific language governing permissions and
779
+ * limitations under the License.
780
+ * ========================================================= */
781
+
782
+
783
+ !function ($) {
784
+
785
+ "use strict"; // jshint ;_;
786
+
787
+
788
+ /* MODAL CLASS DEFINITION
789
+ * ====================== */
790
+
791
+ var Modal = function (element, options) {
792
+ this.options = options
793
+ this.$element = $(element)
794
+ .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
795
+ this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
796
+ }
797
+
798
+ Modal.prototype = {
799
+
800
+ constructor: Modal
801
+
802
+ , toggle: function () {
803
+ return this[!this.isShown ? 'show' : 'hide']()
804
+ }
805
+
806
+ , show: function () {
807
+ var that = this
808
+ , e = $.Event('show')
809
+
810
+ this.$element.trigger(e)
811
+
812
+ if (this.isShown || e.isDefaultPrevented()) return
813
+
814
+ this.isShown = true
815
+
816
+ this.escape()
817
+
818
+ this.backdrop(function () {
819
+ var transition = $.support.transition && that.$element.hasClass('fade')
820
+
821
+ if (!that.$element.parent().length) {
822
+ that.$element.appendTo(document.body) //don't move modals dom position
823
+ }
824
+
825
+ that.$element
826
+ .show()
827
+
828
+ if (transition) {
829
+ that.$element[0].offsetWidth // force reflow
830
+ }
831
+
832
+ that.$element
833
+ .addClass('in')
834
+ .attr('aria-hidden', false)
835
+
836
+ that.enforceFocus()
837
+
838
+ transition ?
839
+ that.$element.one($.support.transition.end, function () { that.$element.focus().trigger('shown') }) :
840
+ that.$element.focus().trigger('shown')
841
+
842
+ })
843
+ }
844
+
845
+ , hide: function (e) {
846
+ e && e.preventDefault()
847
+
848
+ var that = this
849
+
850
+ e = $.Event('hide')
851
+
852
+ this.$element.trigger(e)
853
+
854
+ if (!this.isShown || e.isDefaultPrevented()) return
855
+
856
+ this.isShown = false
857
+
858
+ this.escape()
859
+
860
+ $(document).off('focusin.modal')
861
+
862
+ this.$element
863
+ .removeClass('in')
864
+ .attr('aria-hidden', true)
865
+
866
+ $.support.transition && this.$element.hasClass('fade') ?
867
+ this.hideWithTransition() :
868
+ this.hideModal()
869
+ }
870
+
871
+ , enforceFocus: function () {
872
+ var that = this
873
+ $(document).on('focusin.modal', function (e) {
874
+ if (that.$element[0] !== e.target && !that.$element.has(e.target).length) {
875
+ that.$element.focus()
876
+ }
877
+ })
878
+ }
879
+
880
+ , escape: function () {
881
+ var that = this
882
+ if (this.isShown && this.options.keyboard) {
883
+ this.$element.on('keyup.dismiss.modal', function ( e ) {
884
+ e.which == 27 && that.hide()
885
+ })
886
+ } else if (!this.isShown) {
887
+ this.$element.off('keyup.dismiss.modal')
888
+ }
889
+ }
890
+
891
+ , hideWithTransition: function () {
892
+ var that = this
893
+ , timeout = setTimeout(function () {
894
+ that.$element.off($.support.transition.end)
895
+ that.hideModal()
896
+ }, 500)
897
+
898
+ this.$element.one($.support.transition.end, function () {
899
+ clearTimeout(timeout)
900
+ that.hideModal()
901
+ })
902
+ }
903
+
904
+ , hideModal: function (that) {
905
+ this.$element
906
+ .hide()
907
+ .trigger('hidden')
908
+
909
+ this.backdrop()
910
+ }
911
+
912
+ , removeBackdrop: function () {
913
+ this.$backdrop.remove()
914
+ this.$backdrop = null
915
+ }
916
+
917
+ , backdrop: function (callback) {
918
+ var that = this
919
+ , animate = this.$element.hasClass('fade') ? 'fade' : ''
920
+
921
+ if (this.isShown && this.options.backdrop) {
922
+ var doAnimate = $.support.transition && animate
923
+
924
+ this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
925
+ .appendTo(document.body)
926
+
927
+ this.$backdrop.click(
928
+ this.options.backdrop == 'static' ?
929
+ $.proxy(this.$element[0].focus, this.$element[0])
930
+ : $.proxy(this.hide, this)
931
+ )
932
+
933
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
934
+
935
+ this.$backdrop.addClass('in')
936
+
937
+ doAnimate ?
938
+ this.$backdrop.one($.support.transition.end, callback) :
939
+ callback()
940
+
941
+ } else if (!this.isShown && this.$backdrop) {
942
+ this.$backdrop.removeClass('in')
943
+
944
+ $.support.transition && this.$element.hasClass('fade')?
945
+ this.$backdrop.one($.support.transition.end, $.proxy(this.removeBackdrop, this)) :
946
+ this.removeBackdrop()
947
+
948
+ } else if (callback) {
949
+ callback()
950
+ }
951
+ }
952
+ }
953
+
954
+
955
+ /* MODAL PLUGIN DEFINITION
956
+ * ======================= */
957
+
958
+ $.fn.modal = function (option) {
959
+ return this.each(function () {
960
+ var $this = $(this)
961
+ , data = $this.data('modal')
962
+ , options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option)
963
+ if (!data) $this.data('modal', (data = new Modal(this, options)))
964
+ if (typeof option == 'string') data[option]()
965
+ else if (options.show) data.show()
966
+ })
967
+ }
968
+
969
+ $.fn.modal.defaults = {
970
+ backdrop: true
971
+ , keyboard: true
972
+ , show: true
973
+ }
974
+
975
+ $.fn.modal.Constructor = Modal
976
+
977
+
978
+ /* MODAL DATA-API
979
+ * ============== */
980
+
981
+ $(document).on('click.modal.data-api', '[data-toggle="modal"]', function (e) {
982
+ var $this = $(this)
983
+ , href = $this.attr('href')
984
+ , $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
985
+ , option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data())
986
+
987
+ e.preventDefault()
988
+
989
+ $target
990
+ .modal(option)
991
+ .one('hide', function () {
992
+ $this.focus()
993
+ })
994
+ })
995
+
996
+ }(window.jQuery);
997
+ /* ===========================================================
998
+ * bootstrap-popover.js v2.2.1
999
+ * http://twitter.github.com/bootstrap/javascript.html#popovers
1000
+ * ===========================================================
1001
+ * Copyright 2012 Twitter, Inc.
1002
+ *
1003
+ * Licensed under the Apache License, Version 2.0 (the "License");
1004
+ * you may not use this file except in compliance with the License.
1005
+ * You may obtain a copy of the License at
1006
+ *
1007
+ * http://www.apache.org/licenses/LICENSE-2.0
1008
+ *
1009
+ * Unless required by applicable law or agreed to in writing, software
1010
+ * distributed under the License is distributed on an "AS IS" BASIS,
1011
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1012
+ * See the License for the specific language governing permissions and
1013
+ * limitations under the License.
1014
+ * =========================================================== */
1015
+
1016
+
1017
+ !function ($) {
1018
+
1019
+ "use strict"; // jshint ;_;
1020
+
1021
+
1022
+ /* POPOVER PUBLIC CLASS DEFINITION
1023
+ * =============================== */
1024
+
1025
+ var Popover = function (element, options) {
1026
+ this.init('popover', element, options)
1027
+ }
1028
+
1029
+
1030
+ /* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
1031
+ ========================================== */
1032
+
1033
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {
1034
+
1035
+ constructor: Popover
1036
+
1037
+ , setContent: function () {
1038
+ var $tip = this.tip()
1039
+ , title = this.getTitle()
1040
+ , content = this.getContent()
1041
+
1042
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
1043
+ $tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content)
1044
+
1045
+ $tip.removeClass('fade top bottom left right in')
1046
+ }
1047
+
1048
+ , hasContent: function () {
1049
+ return this.getTitle() || this.getContent()
1050
+ }
1051
+
1052
+ , getContent: function () {
1053
+ var content
1054
+ , $e = this.$element
1055
+ , o = this.options
1056
+
1057
+ content = $e.attr('data-content')
1058
+ || (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
1059
+
1060
+ return content
1061
+ }
1062
+
1063
+ , tip: function () {
1064
+ if (!this.$tip) {
1065
+ this.$tip = $(this.options.template)
1066
+ }
1067
+ return this.$tip
1068
+ }
1069
+
1070
+ , destroy: function () {
1071
+ this.hide().$element.off('.' + this.type).removeData(this.type)
1072
+ }
1073
+
1074
+ })
1075
+
1076
+
1077
+ /* POPOVER PLUGIN DEFINITION
1078
+ * ======================= */
1079
+
1080
+ $.fn.popover = function (option) {
1081
+ return this.each(function () {
1082
+ var $this = $(this)
1083
+ , data = $this.data('popover')
1084
+ , options = typeof option == 'object' && option
1085
+ if (!data) $this.data('popover', (data = new Popover(this, options)))
1086
+ if (typeof option == 'string') data[option]()
1087
+ })
1088
+ }
1089
+
1090
+ $.fn.popover.Constructor = Popover
1091
+
1092
+ $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
1093
+ placement: 'right'
1094
+ , trigger: 'click'
1095
+ , content: ''
1096
+ , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'
1097
+ })
1098
+
1099
+ }(window.jQuery);/* =============================================================
1100
+ * bootstrap-scrollspy.js v2.2.1
1101
+ * http://twitter.github.com/bootstrap/javascript.html#scrollspy
1102
+ * =============================================================
1103
+ * Copyright 2012 Twitter, Inc.
1104
+ *
1105
+ * Licensed under the Apache License, Version 2.0 (the "License");
1106
+ * you may not use this file except in compliance with the License.
1107
+ * You may obtain a copy of the License at
1108
+ *
1109
+ * http://www.apache.org/licenses/LICENSE-2.0
1110
+ *
1111
+ * Unless required by applicable law or agreed to in writing, software
1112
+ * distributed under the License is distributed on an "AS IS" BASIS,
1113
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1114
+ * See the License for the specific language governing permissions and
1115
+ * limitations under the License.
1116
+ * ============================================================== */
1117
+
1118
+
1119
+ !function ($) {
1120
+
1121
+ "use strict"; // jshint ;_;
1122
+
1123
+
1124
+ /* SCROLLSPY CLASS DEFINITION
1125
+ * ========================== */
1126
+
1127
+ function ScrollSpy(element, options) {
1128
+ var process = $.proxy(this.process, this)
1129
+ , $element = $(element).is('body') ? $(window) : $(element)
1130
+ , href
1131
+ this.options = $.extend({}, $.fn.scrollspy.defaults, options)
1132
+ this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process)
1133
+ this.selector = (this.options.target
1134
+ || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
1135
+ || '') + ' .nav li > a'
1136
+ this.$body = $('body')
1137
+ this.refresh()
1138
+ this.process()
1139
+ }
1140
+
1141
+ ScrollSpy.prototype = {
1142
+
1143
+ constructor: ScrollSpy
1144
+
1145
+ , refresh: function () {
1146
+ var self = this
1147
+ , $targets
1148
+
1149
+ this.offsets = $([])
1150
+ this.targets = $([])
1151
+
1152
+ $targets = this.$body
1153
+ .find(this.selector)
1154
+ .map(function () {
1155
+ var $el = $(this)
1156
+ , href = $el.data('target') || $el.attr('href')
1157
+ , $href = /^#\w/.test(href) && $(href)
1158
+ return ( $href
1159
+ && $href.length
1160
+ && [[ $href.position().top, href ]] ) || null
1161
+ })
1162
+ .sort(function (a, b) { return a[0] - b[0] })
1163
+ .each(function () {
1164
+ self.offsets.push(this[0])
1165
+ self.targets.push(this[1])
1166
+ })
1167
+ }
1168
+
1169
+ , process: function () {
1170
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1171
+ , scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
1172
+ , maxScroll = scrollHeight - this.$scrollElement.height()
1173
+ , offsets = this.offsets
1174
+ , targets = this.targets
1175
+ , activeTarget = this.activeTarget
1176
+ , i
1177
+
1178
+ if (scrollTop >= maxScroll) {
1179
+ return activeTarget != (i = targets.last()[0])
1180
+ && this.activate ( i )
1181
+ }
1182
+
1183
+ for (i = offsets.length; i--;) {
1184
+ activeTarget != targets[i]
1185
+ && scrollTop >= offsets[i]
1186
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
1187
+ && this.activate( targets[i] )
1188
+ }
1189
+ }
1190
+
1191
+ , activate: function (target) {
1192
+ var active
1193
+ , selector
1194
+
1195
+ this.activeTarget = target
1196
+
1197
+ $(this.selector)
1198
+ .parent('.active')
1199
+ .removeClass('active')
1200
+
1201
+ selector = this.selector
1202
+ + '[data-target="' + target + '"],'
1203
+ + this.selector + '[href="' + target + '"]'
1204
+
1205
+ active = $(selector)
1206
+ .parent('li')
1207
+ .addClass('active')
1208
+
1209
+ if (active.parent('.dropdown-menu').length) {
1210
+ active = active.closest('li.dropdown').addClass('active')
1211
+ }
1212
+
1213
+ active.trigger('activate')
1214
+ }
1215
+
1216
+ }
1217
+
1218
+
1219
+ /* SCROLLSPY PLUGIN DEFINITION
1220
+ * =========================== */
1221
+
1222
+ $.fn.scrollspy = function (option) {
1223
+ return this.each(function () {
1224
+ var $this = $(this)
1225
+ , data = $this.data('scrollspy')
1226
+ , options = typeof option == 'object' && option
1227
+ if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options)))
1228
+ if (typeof option == 'string') data[option]()
1229
+ })
1230
+ }
1231
+
1232
+ $.fn.scrollspy.Constructor = ScrollSpy
1233
+
1234
+ $.fn.scrollspy.defaults = {
1235
+ offset: 10
1236
+ }
1237
+
1238
+
1239
+ /* SCROLLSPY DATA-API
1240
+ * ================== */
1241
+
1242
+ $(window).on('load', function () {
1243
+ $('[data-spy="scroll"]').each(function () {
1244
+ var $spy = $(this)
1245
+ $spy.scrollspy($spy.data())
1246
+ })
1247
+ })
1248
+
1249
+ }(window.jQuery);/* ========================================================
1250
+ * bootstrap-tab.js v2.2.1
1251
+ * http://twitter.github.com/bootstrap/javascript.html#tabs
1252
+ * ========================================================
1253
+ * Copyright 2012 Twitter, Inc.
1254
+ *
1255
+ * Licensed under the Apache License, Version 2.0 (the "License");
1256
+ * you may not use this file except in compliance with the License.
1257
+ * You may obtain a copy of the License at
1258
+ *
1259
+ * http://www.apache.org/licenses/LICENSE-2.0
1260
+ *
1261
+ * Unless required by applicable law or agreed to in writing, software
1262
+ * distributed under the License is distributed on an "AS IS" BASIS,
1263
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1264
+ * See the License for the specific language governing permissions and
1265
+ * limitations under the License.
1266
+ * ======================================================== */
1267
+
1268
+
1269
+ !function ($) {
1270
+
1271
+ "use strict"; // jshint ;_;
1272
+
1273
+
1274
+ /* TAB CLASS DEFINITION
1275
+ * ==================== */
1276
+
1277
+ var Tab = function (element) {
1278
+ this.element = $(element)
1279
+ }
1280
+
1281
+ Tab.prototype = {
1282
+
1283
+ constructor: Tab
1284
+
1285
+ , show: function () {
1286
+ var $this = this.element
1287
+ , $ul = $this.closest('ul:not(.dropdown-menu)')
1288
+ , selector = $this.attr('data-target')
1289
+ , previous
1290
+ , $target
1291
+ , e
1292
+
1293
+ if (!selector) {
1294
+ selector = $this.attr('href')
1295
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
1296
+ }
1297
+
1298
+ if ( $this.parent('li').hasClass('active') ) return
1299
+
1300
+ previous = $ul.find('.active:last a')[0]
1301
+
1302
+ e = $.Event('show', {
1303
+ relatedTarget: previous
1304
+ })
1305
+
1306
+ $this.trigger(e)
1307
+
1308
+ if (e.isDefaultPrevented()) return
1309
+
1310
+ $target = $(selector)
1311
+
1312
+ this.activate($this.parent('li'), $ul)
1313
+ this.activate($target, $target.parent(), function () {
1314
+ $this.trigger({
1315
+ type: 'shown'
1316
+ , relatedTarget: previous
1317
+ })
1318
+ })
1319
+ }
1320
+
1321
+ , activate: function ( element, container, callback) {
1322
+ var $active = container.find('> .active')
1323
+ , transition = callback
1324
+ && $.support.transition
1325
+ && $active.hasClass('fade')
1326
+
1327
+ function next() {
1328
+ $active
1329
+ .removeClass('active')
1330
+ .find('> .dropdown-menu > .active')
1331
+ .removeClass('active')
1332
+
1333
+ element.addClass('active')
1334
+
1335
+ if (transition) {
1336
+ element[0].offsetWidth // reflow for transition
1337
+ element.addClass('in')
1338
+ } else {
1339
+ element.removeClass('fade')
1340
+ }
1341
+
1342
+ if ( element.parent('.dropdown-menu') ) {
1343
+ element.closest('li.dropdown').addClass('active')
1344
+ }
1345
+
1346
+ callback && callback()
1347
+ }
1348
+
1349
+ transition ?
1350
+ $active.one($.support.transition.end, next) :
1351
+ next()
1352
+
1353
+ $active.removeClass('in')
1354
+ }
1355
+ }
1356
+
1357
+
1358
+ /* TAB PLUGIN DEFINITION
1359
+ * ===================== */
1360
+
1361
+ $.fn.tab = function ( option ) {
1362
+ return this.each(function () {
1363
+ var $this = $(this)
1364
+ , data = $this.data('tab')
1365
+ if (!data) $this.data('tab', (data = new Tab(this)))
1366
+ if (typeof option == 'string') data[option]()
1367
+ })
1368
+ }
1369
+
1370
+ $.fn.tab.Constructor = Tab
1371
+
1372
+
1373
+ /* TAB DATA-API
1374
+ * ============ */
1375
+
1376
+ $(document).on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
1377
+ e.preventDefault()
1378
+ $(this).tab('show')
1379
+ })
1380
+
1381
+ }(window.jQuery);/* =============================================================
1382
+ * bootstrap-typeahead.js v2.2.1
1383
+ * http://twitter.github.com/bootstrap/javascript.html#typeahead
1384
+ * =============================================================
1385
+ * Copyright 2012 Twitter, Inc.
1386
+ *
1387
+ * Licensed under the Apache License, Version 2.0 (the "License");
1388
+ * you may not use this file except in compliance with the License.
1389
+ * You may obtain a copy of the License at
1390
+ *
1391
+ * http://www.apache.org/licenses/LICENSE-2.0
1392
+ *
1393
+ * Unless required by applicable law or agreed to in writing, software
1394
+ * distributed under the License is distributed on an "AS IS" BASIS,
1395
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1396
+ * See the License for the specific language governing permissions and
1397
+ * limitations under the License.
1398
+ * ============================================================ */
1399
+
1400
+
1401
+ !function($){
1402
+
1403
+ "use strict"; // jshint ;_;
1404
+
1405
+
1406
+ /* TYPEAHEAD PUBLIC CLASS DEFINITION
1407
+ * ================================= */
1408
+
1409
+ var Typeahead = function (element, options) {
1410
+ this.$element = $(element)
1411
+ this.options = $.extend({}, $.fn.typeahead.defaults, options)
1412
+ this.matcher = this.options.matcher || this.matcher
1413
+ this.sorter = this.options.sorter || this.sorter
1414
+ this.highlighter = this.options.highlighter || this.highlighter
1415
+ this.updater = this.options.updater || this.updater
1416
+ this.$menu = $(this.options.menu).appendTo('body')
1417
+ this.source = this.options.source
1418
+ this.shown = false
1419
+ this.listen()
1420
+ }
1421
+
1422
+ Typeahead.prototype = {
1423
+
1424
+ constructor: Typeahead
1425
+
1426
+ , select: function () {
1427
+ var val = this.$menu.find('.active').attr('data-value')
1428
+ this.$element
1429
+ .val(this.updater(val))
1430
+ .change()
1431
+ return this.hide()
1432
+ }
1433
+
1434
+ , updater: function (item) {
1435
+ return item
1436
+ }
1437
+
1438
+ , show: function () {
1439
+ var pos = $.extend({}, this.$element.offset(), {
1440
+ height: this.$element[0].offsetHeight
1441
+ })
1442
+
1443
+ this.$menu.css({
1444
+ top: pos.top + pos.height
1445
+ , left: pos.left
1446
+ })
1447
+
1448
+ this.$menu.show()
1449
+ this.shown = true
1450
+ return this
1451
+ }
1452
+
1453
+ , hide: function () {
1454
+ this.$menu.hide()
1455
+ this.shown = false
1456
+ return this
1457
+ }
1458
+
1459
+ , lookup: function (event) {
1460
+ var items
1461
+
1462
+ this.query = this.$element.val()
1463
+
1464
+ if (!this.query || this.query.length < this.options.minLength) {
1465
+ return this.shown ? this.hide() : this
1466
+ }
1467
+
1468
+ items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source
1469
+
1470
+ return items ? this.process(items) : this
1471
+ }
1472
+
1473
+ , process: function (items) {
1474
+ var that = this
1475
+
1476
+ items = $.grep(items, function (item) {
1477
+ return that.matcher(item)
1478
+ })
1479
+
1480
+ items = this.sorter(items)
1481
+
1482
+ if (!items.length) {
1483
+ return this.shown ? this.hide() : this
1484
+ }
1485
+
1486
+ return this.render(items.slice(0, this.options.items)).show()
1487
+ }
1488
+
1489
+ , matcher: function (item) {
1490
+ return ~item.toLowerCase().indexOf(this.query.toLowerCase())
1491
+ }
1492
+
1493
+ , sorter: function (items) {
1494
+ var beginswith = []
1495
+ , caseSensitive = []
1496
+ , caseInsensitive = []
1497
+ , item
1498
+
1499
+ while (item = items.shift()) {
1500
+ if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)
1501
+ else if (~item.indexOf(this.query)) caseSensitive.push(item)
1502
+ else caseInsensitive.push(item)
1503
+ }
1504
+
1505
+ return beginswith.concat(caseSensitive, caseInsensitive)
1506
+ }
1507
+
1508
+ , highlighter: function (item) {
1509
+ var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&')
1510
+ return item.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {
1511
+ return '<strong>' + match + '</strong>'
1512
+ })
1513
+ }
1514
+
1515
+ , render: function (items) {
1516
+ var that = this
1517
+
1518
+ items = $(items).map(function (i, item) {
1519
+ i = $(that.options.item).attr('data-value', item)
1520
+ i.find('a').html(that.highlighter(item))
1521
+ return i[0]
1522
+ })
1523
+
1524
+ items.first().addClass('active')
1525
+ this.$menu.html(items)
1526
+ return this
1527
+ }
1528
+
1529
+ , next: function (event) {
1530
+ var active = this.$menu.find('.active').removeClass('active')
1531
+ , next = active.next()
1532
+
1533
+ if (!next.length) {
1534
+ next = $(this.$menu.find('li')[0])
1535
+ }
1536
+
1537
+ next.addClass('active')
1538
+ }
1539
+
1540
+ , prev: function (event) {
1541
+ var active = this.$menu.find('.active').removeClass('active')
1542
+ , prev = active.prev()
1543
+
1544
+ if (!prev.length) {
1545
+ prev = this.$menu.find('li').last()
1546
+ }
1547
+
1548
+ prev.addClass('active')
1549
+ }
1550
+
1551
+ , listen: function () {
1552
+ this.$element
1553
+ .on('blur', $.proxy(this.blur, this))
1554
+ .on('keypress', $.proxy(this.keypress, this))
1555
+ .on('keyup', $.proxy(this.keyup, this))
1556
+
1557
+ if (this.eventSupported('keydown')) {
1558
+ this.$element.on('keydown', $.proxy(this.keydown, this))
1559
+ }
1560
+
1561
+ this.$menu
1562
+ .on('click', $.proxy(this.click, this))
1563
+ .on('mouseenter', 'li', $.proxy(this.mouseenter, this))
1564
+ }
1565
+
1566
+ , eventSupported: function(eventName) {
1567
+ var isSupported = eventName in this.$element
1568
+ if (!isSupported) {
1569
+ this.$element.setAttribute(eventName, 'return;')
1570
+ isSupported = typeof this.$element[eventName] === 'function'
1571
+ }
1572
+ return isSupported
1573
+ }
1574
+
1575
+ , move: function (e) {
1576
+ if (!this.shown) return
1577
+
1578
+ switch(e.keyCode) {
1579
+ case 9: // tab
1580
+ case 13: // enter
1581
+ case 27: // escape
1582
+ e.preventDefault()
1583
+ break
1584
+
1585
+ case 38: // up arrow
1586
+ e.preventDefault()
1587
+ this.prev()
1588
+ break
1589
+
1590
+ case 40: // down arrow
1591
+ e.preventDefault()
1592
+ this.next()
1593
+ break
1594
+ }
1595
+
1596
+ e.stopPropagation()
1597
+ }
1598
+
1599
+ , keydown: function (e) {
1600
+ this.suppressKeyPressRepeat = !~$.inArray(e.keyCode, [40,38,9,13,27])
1601
+ this.move(e)
1602
+ }
1603
+
1604
+ , keypress: function (e) {
1605
+ if (this.suppressKeyPressRepeat) return
1606
+ this.move(e)
1607
+ }
1608
+
1609
+ , keyup: function (e) {
1610
+ switch(e.keyCode) {
1611
+ case 40: // down arrow
1612
+ case 38: // up arrow
1613
+ case 16: // shift
1614
+ case 17: // ctrl
1615
+ case 18: // alt
1616
+ break
1617
+
1618
+ case 9: // tab
1619
+ case 13: // enter
1620
+ if (!this.shown) return
1621
+ this.select()
1622
+ break
1623
+
1624
+ case 27: // escape
1625
+ if (!this.shown) return
1626
+ this.hide()
1627
+ break
1628
+
1629
+ default:
1630
+ this.lookup()
1631
+ }
1632
+
1633
+ e.stopPropagation()
1634
+ e.preventDefault()
1635
+ }
1636
+
1637
+ , blur: function (e) {
1638
+ var that = this
1639
+ setTimeout(function () { that.hide() }, 150)
1640
+ }
1641
+
1642
+ , click: function (e) {
1643
+ e.stopPropagation()
1644
+ e.preventDefault()
1645
+ this.select()
1646
+ }
1647
+
1648
+ , mouseenter: function (e) {
1649
+ this.$menu.find('.active').removeClass('active')
1650
+ $(e.currentTarget).addClass('active')
1651
+ }
1652
+
1653
+ }
1654
+
1655
+
1656
+ /* TYPEAHEAD PLUGIN DEFINITION
1657
+ * =========================== */
1658
+
1659
+ $.fn.typeahead = function (option) {
1660
+ return this.each(function () {
1661
+ var $this = $(this)
1662
+ , data = $this.data('typeahead')
1663
+ , options = typeof option == 'object' && option
1664
+ if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
1665
+ if (typeof option == 'string') data[option]()
1666
+ })
1667
+ }
1668
+
1669
+ $.fn.typeahead.defaults = {
1670
+ source: []
1671
+ , items: 8
1672
+ , menu: '<ul class="typeahead dropdown-menu"></ul>'
1673
+ , item: '<li><a href="#"></a></li>'
1674
+ , minLength: 1
1675
+ }
1676
+
1677
+ $.fn.typeahead.Constructor = Typeahead
1678
+
1679
+
1680
+ /* TYPEAHEAD DATA-API
1681
+ * ================== */
1682
+
1683
+ $(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
1684
+ var $this = $(this)
1685
+ if ($this.data('typeahead')) return
1686
+ e.preventDefault()
1687
+ $this.typeahead($this.data())
1688
+ })
1689
+
1690
+ }(window.jQuery);
1691
+ /* ===========================================================
1692
+ * bootstrap-tooltip.js v2.2.1
1693
+ * http://twitter.github.com/bootstrap/javascript.html#tooltips
1694
+ * Inspired by the original jQuery.tipsy by Jason Frame
1695
+ * ===========================================================
1696
+ * Copyright 2012 Twitter, Inc.
1697
+ *
1698
+ * Licensed under the Apache License, Version 2.0 (the "License");
1699
+ * you may not use this file except in compliance with the License.
1700
+ * You may obtain a copy of the License at
1701
+ *
1702
+ * http://www.apache.org/licenses/LICENSE-2.0
1703
+ *
1704
+ * Unless required by applicable law or agreed to in writing, software
1705
+ * distributed under the License is distributed on an "AS IS" BASIS,
1706
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1707
+ * See the License for the specific language governing permissions and
1708
+ * limitations under the License.
1709
+ * ========================================================== */
1710
+
1711
+
1712
+ !function ($) {
1713
+
1714
+ "use strict"; // jshint ;_;
1715
+
1716
+
1717
+ /* TOOLTIP PUBLIC CLASS DEFINITION
1718
+ * =============================== */
1719
+
1720
+ var Tooltip = function (element, options) {
1721
+ this.init('tooltip', element, options)
1722
+ }
1723
+
1724
+ Tooltip.prototype = {
1725
+
1726
+ constructor: Tooltip
1727
+
1728
+ , init: function (type, element, options) {
1729
+ var eventIn
1730
+ , eventOut
1731
+
1732
+ this.type = type
1733
+ this.$element = $(element)
1734
+ this.options = this.getOptions(options)
1735
+ this.enabled = true
1736
+
1737
+ if (this.options.trigger == 'click') {
1738
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1739
+ } else if (this.options.trigger != 'manual') {
1740
+ eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
1741
+ eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
1742
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1743
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1744
+ }
1745
+
1746
+ this.options.selector ?
1747
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1748
+ this.fixTitle()
1749
+ }
1750
+
1751
+ , getOptions: function (options) {
1752
+ options = $.extend({}, $.fn[this.type].defaults, options, this.$element.data())
1753
+
1754
+ if (options.delay && typeof options.delay == 'number') {
1755
+ options.delay = {
1756
+ show: options.delay
1757
+ , hide: options.delay
1758
+ }
1759
+ }
1760
+
1761
+ return options
1762
+ }
1763
+
1764
+ , enter: function (e) {
1765
+ var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1766
+
1767
+ if (!self.options.delay || !self.options.delay.show) return self.show()
1768
+
1769
+ clearTimeout(this.timeout)
1770
+ self.hoverState = 'in'
1771
+ this.timeout = setTimeout(function() {
1772
+ if (self.hoverState == 'in') self.show()
1773
+ }, self.options.delay.show)
1774
+ }
1775
+
1776
+ , leave: function (e) {
1777
+ var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1778
+
1779
+ if (this.timeout) clearTimeout(this.timeout)
1780
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
1781
+
1782
+ self.hoverState = 'out'
1783
+ this.timeout = setTimeout(function() {
1784
+ if (self.hoverState == 'out') self.hide()
1785
+ }, self.options.delay.hide)
1786
+ }
1787
+
1788
+ , show: function () {
1789
+ var $tip
1790
+ , inside
1791
+ , pos
1792
+ , actualWidth
1793
+ , actualHeight
1794
+ , placement
1795
+ , tp
1796
+
1797
+ if (this.hasContent() && this.enabled) {
1798
+ $tip = this.tip()
1799
+ this.setContent()
1800
+
1801
+ if (this.options.animation) {
1802
+ $tip.addClass('fade')
1803
+ }
1804
+
1805
+ placement = typeof this.options.placement == 'function' ?
1806
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
1807
+ this.options.placement
1808
+
1809
+ inside = /in/.test(placement)
1810
+
1811
+ $tip
1812
+ .detach()
1813
+ .css({ top: 0, left: 0, display: 'block' })
1814
+ .insertAfter(this.$element)
1815
+
1816
+ pos = this.getPosition(inside)
1817
+
1818
+ actualWidth = $tip[0].offsetWidth
1819
+ actualHeight = $tip[0].offsetHeight
1820
+
1821
+ switch (inside ? placement.split(' ')[1] : placement) {
1822
+ case 'bottom':
1823
+ tp = {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2}
1824
+ break
1825
+ case 'top':
1826
+ tp = {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2}
1827
+ break
1828
+ case 'left':
1829
+ tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth}
1830
+ break
1831
+ case 'right':
1832
+ tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width}
1833
+ break
1834
+ }
1835
+
1836
+ $tip
1837
+ .offset(tp)
1838
+ .addClass(placement)
1839
+ .addClass('in')
1840
+ }
1841
+ }
1842
+
1843
+ , setContent: function () {
1844
+ var $tip = this.tip()
1845
+ , title = this.getTitle()
1846
+
1847
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1848
+ $tip.removeClass('fade in top bottom left right')
1849
+ }
1850
+
1851
+ , hide: function () {
1852
+ var that = this
1853
+ , $tip = this.tip()
1854
+
1855
+ $tip.removeClass('in')
1856
+
1857
+ function removeWithAnimation() {
1858
+ var timeout = setTimeout(function () {
1859
+ $tip.off($.support.transition.end).detach()
1860
+ }, 500)
1861
+
1862
+ $tip.one($.support.transition.end, function () {
1863
+ clearTimeout(timeout)
1864
+ $tip.detach()
1865
+ })
1866
+ }
1867
+
1868
+ $.support.transition && this.$tip.hasClass('fade') ?
1869
+ removeWithAnimation() :
1870
+ $tip.detach()
1871
+
1872
+ return this
1873
+ }
1874
+
1875
+ , fixTitle: function () {
1876
+ var $e = this.$element
1877
+ if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
1878
+ $e.attr('data-original-title', $e.attr('title') || '').removeAttr('title')
1879
+ }
1880
+ }
1881
+
1882
+ , hasContent: function () {
1883
+ return this.getTitle()
1884
+ }
1885
+
1886
+ , getPosition: function (inside) {
1887
+ return $.extend({}, (inside ? {top: 0, left: 0} : this.$element.offset()), {
1888
+ width: this.$element[0].offsetWidth
1889
+ , height: this.$element[0].offsetHeight
1890
+ })
1891
+ }
1892
+
1893
+ , getTitle: function () {
1894
+ var title
1895
+ , $e = this.$element
1896
+ , o = this.options
1897
+
1898
+ title = $e.attr('data-original-title')
1899
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1900
+
1901
+ return title
1902
+ }
1903
+
1904
+ , tip: function () {
1905
+ return this.$tip = this.$tip || $(this.options.template)
1906
+ }
1907
+
1908
+ , validate: function () {
1909
+ if (!this.$element[0].parentNode) {
1910
+ this.hide()
1911
+ this.$element = null
1912
+ this.options = null
1913
+ }
1914
+ }
1915
+
1916
+ , enable: function () {
1917
+ this.enabled = true
1918
+ }
1919
+
1920
+ , disable: function () {
1921
+ this.enabled = false
1922
+ }
1923
+
1924
+ , toggleEnabled: function () {
1925
+ this.enabled = !this.enabled
1926
+ }
1927
+
1928
+ , toggle: function (e) {
1929
+ var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1930
+ self[self.tip().hasClass('in') ? 'hide' : 'show']()
1931
+ }
1932
+
1933
+ , destroy: function () {
1934
+ this.hide().$element.off('.' + this.type).removeData(this.type)
1935
+ }
1936
+
1937
+ }
1938
+
1939
+
1940
+ /* TOOLTIP PLUGIN DEFINITION
1941
+ * ========================= */
1942
+
1943
+ $.fn.tooltip = function ( option ) {
1944
+ return this.each(function () {
1945
+ var $this = $(this)
1946
+ , data = $this.data('tooltip')
1947
+ , options = typeof option == 'object' && option
1948
+ if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
1949
+ if (typeof option == 'string') data[option]()
1950
+ })
1951
+ }
1952
+
1953
+ $.fn.tooltip.Constructor = Tooltip
1954
+
1955
+ $.fn.tooltip.defaults = {
1956
+ animation: true
1957
+ , placement: 'top'
1958
+ , selector: false
1959
+ , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
1960
+ , trigger: 'hover'
1961
+ , title: ''
1962
+ , delay: 0
1963
+ , html: false
1964
+ }
1965
+
1966
+ }(window.jQuery);/* ===================================================
1967
+ * bootstrap-transition.js v2.2.1
1968
+ * http://twitter.github.com/bootstrap/javascript.html#transitions
1969
+ * ===================================================
1970
+ * Copyright 2012 Twitter, Inc.
1971
+ *
1972
+ * Licensed under the Apache License, Version 2.0 (the "License");
1973
+ * you may not use this file except in compliance with the License.
1974
+ * You may obtain a copy of the License at
1975
+ *
1976
+ * http://www.apache.org/licenses/LICENSE-2.0
1977
+ *
1978
+ * Unless required by applicable law or agreed to in writing, software
1979
+ * distributed under the License is distributed on an "AS IS" BASIS,
1980
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1981
+ * See the License for the specific language governing permissions and
1982
+ * limitations under the License.
1983
+ * ========================================================== */
1984
+
1985
+
1986
+ !function ($) {
1987
+
1988
+ "use strict"; // jshint ;_;
1989
+
1990
+
1991
+ /* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
1992
+ * ======================================================= */
1993
+
1994
+ $(function () {
1995
+
1996
+ $.support.transition = (function () {
1997
+
1998
+ var transitionEnd = (function () {
1999
+
2000
+ var el = document.createElement('bootstrap')
2001
+ , transEndEventNames = {
2002
+ 'WebkitTransition' : 'webkitTransitionEnd'
2003
+ , 'MozTransition' : 'transitionend'
2004
+ , 'OTransition' : 'oTransitionEnd otransitionend'
2005
+ , 'transition' : 'transitionend'
2006
+ }
2007
+ , name
2008
+
2009
+ for (name in transEndEventNames){
2010
+ if (el.style[name] !== undefined) {
2011
+ return transEndEventNames[name]
2012
+ }
2013
+ }
2014
+
2015
+ }())
2016
+
2017
+ return transitionEnd && {
2018
+ end: transitionEnd
2019
+ }
2020
+
2021
+ })()
2022
+
2023
+ })
2024
+
2025
+ }(window.jQuery);