phcthemes_admin_panel_pack 4.0.7 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (313) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +2 -0
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcthemes_admin_panel_pack_manifest.js +9 -9
  6. data/app/assets/javascripts/common/backstretch/jquery.backstretch.js +1602 -1602
  7. data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +7023 -7023
  8. data/app/assets/javascripts/common/bootstrap/bootstrap.three.js +2377 -2377
  9. data/app/assets/javascripts/common/bootstrap-datepicker/bootstrap-datepicker.js +2039 -2039
  10. data/app/assets/javascripts/common/bootstrap-markdown/bootstrap-markdown.js +1390 -1390
  11. data/app/assets/javascripts/common/bootstrap-select/bootstrap-select.js +0 -0
  12. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js +0 -0
  13. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js.map +0 -0
  14. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.min.js +7 -7
  15. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js +0 -0
  16. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js.map +0 -0
  17. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.min.js +7 -7
  18. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js +0 -0
  19. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js.map +0 -0
  20. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.min.js +7 -7
  21. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js +0 -0
  22. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js.map +0 -0
  23. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.min.js +7 -7
  24. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js +0 -0
  25. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js.map +0 -0
  26. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.min.js +7 -7
  27. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js +0 -0
  28. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js.map +0 -0
  29. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.min.js +7 -7
  30. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js +0 -0
  31. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js.map +0 -0
  32. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.min.js +7 -7
  33. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js +0 -0
  34. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js.map +0 -0
  35. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.min.js +7 -7
  36. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js +0 -0
  37. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js.map +0 -0
  38. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.min.js +7 -7
  39. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js +0 -0
  40. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js.map +0 -0
  41. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.min.js +7 -7
  42. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js +0 -0
  43. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js.map +0 -0
  44. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.min.js +7 -7
  45. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js +0 -0
  46. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js.map +0 -0
  47. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.min.js +7 -7
  48. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js +0 -0
  49. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js.map +0 -0
  50. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.min.js +7 -7
  51. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js +0 -0
  52. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js.map +0 -0
  53. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.min.js +7 -7
  54. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js +0 -0
  55. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js.map +0 -0
  56. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.min.js +7 -7
  57. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js +0 -0
  58. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js.map +0 -0
  59. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.min.js +7 -7
  60. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js +0 -0
  61. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js.map +0 -0
  62. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.min.js +7 -7
  63. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js +0 -0
  64. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js.map +0 -0
  65. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.min.js +7 -7
  66. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js +0 -0
  67. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js.map +0 -0
  68. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.min.js +7 -7
  69. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js +0 -0
  70. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js.map +0 -0
  71. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.min.js +7 -7
  72. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js +0 -0
  73. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js.map +0 -0
  74. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.min.js +7 -7
  75. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js +0 -0
  76. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js.map +0 -0
  77. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.min.js +7 -7
  78. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js +0 -0
  79. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js.map +0 -0
  80. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.min.js +7 -7
  81. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js +0 -0
  82. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js.map +0 -0
  83. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.min.js +7 -7
  84. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js +0 -0
  85. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js.map +0 -0
  86. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.min.js +7 -7
  87. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js +0 -0
  88. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js.map +0 -0
  89. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.min.js +7 -7
  90. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js +0 -0
  91. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js.map +0 -0
  92. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.min.js +7 -7
  93. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js +0 -0
  94. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js.map +0 -0
  95. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.min.js +7 -7
  96. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js +0 -0
  97. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js.map +0 -0
  98. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.min.js +7 -7
  99. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js +0 -0
  100. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js.map +0 -0
  101. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.min.js +7 -7
  102. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js +0 -0
  103. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js.map +0 -0
  104. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.min.js +7 -7
  105. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js +0 -0
  106. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js.map +0 -0
  107. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.min.js +7 -7
  108. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js +0 -0
  109. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js.map +0 -0
  110. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.min.js +7 -7
  111. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js +0 -0
  112. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js.map +0 -0
  113. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.min.js +7 -7
  114. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js +0 -0
  115. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js.map +0 -0
  116. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.min.js +7 -7
  117. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js +0 -0
  118. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js.map +0 -0
  119. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.min.js +7 -7
  120. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js +0 -0
  121. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js.map +0 -0
  122. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.min.js +7 -7
  123. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js +0 -0
  124. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js.map +0 -0
  125. data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.min.js +7 -7
  126. data/app/assets/javascripts/common/chartjs/chart.js +0 -0
  127. data/app/assets/javascripts/common/ckeditor/ckeditor.js +6 -6
  128. data/app/assets/javascripts/common/ckeditor/ckeditor.js.map +0 -0
  129. data/app/assets/javascripts/common/ckeditor/translations/af.js +0 -0
  130. data/app/assets/javascripts/common/ckeditor/translations/ar.js +0 -0
  131. data/app/assets/javascripts/common/ckeditor/translations/ast.js +0 -0
  132. data/app/assets/javascripts/common/ckeditor/translations/az.js +0 -0
  133. data/app/assets/javascripts/common/ckeditor/translations/bg.js +0 -0
  134. data/app/assets/javascripts/common/ckeditor/translations/ca.js +0 -0
  135. data/app/assets/javascripts/common/ckeditor/translations/cs.js +0 -0
  136. data/app/assets/javascripts/common/ckeditor/translations/da.js +0 -0
  137. data/app/assets/javascripts/common/ckeditor/translations/de-ch.js +0 -0
  138. data/app/assets/javascripts/common/ckeditor/translations/de.js +0 -0
  139. data/app/assets/javascripts/common/ckeditor/translations/el.js +0 -0
  140. data/app/assets/javascripts/common/ckeditor/translations/en-au.js +0 -0
  141. data/app/assets/javascripts/common/ckeditor/translations/en-gb.js +0 -0
  142. data/app/assets/javascripts/common/ckeditor/translations/eo.js +0 -0
  143. data/app/assets/javascripts/common/ckeditor/translations/es.js +0 -0
  144. data/app/assets/javascripts/common/ckeditor/translations/et.js +0 -0
  145. data/app/assets/javascripts/common/ckeditor/translations/eu.js +0 -0
  146. data/app/assets/javascripts/common/ckeditor/translations/fa.js +0 -0
  147. data/app/assets/javascripts/common/ckeditor/translations/fi.js +0 -0
  148. data/app/assets/javascripts/common/ckeditor/translations/fr.js +0 -0
  149. data/app/assets/javascripts/common/ckeditor/translations/gl.js +0 -0
  150. data/app/assets/javascripts/common/ckeditor/translations/gu.js +0 -0
  151. data/app/assets/javascripts/common/ckeditor/translations/he.js +0 -0
  152. data/app/assets/javascripts/common/ckeditor/translations/hr.js +0 -0
  153. data/app/assets/javascripts/common/ckeditor/translations/hu.js +0 -0
  154. data/app/assets/javascripts/common/ckeditor/translations/id.js +0 -0
  155. data/app/assets/javascripts/common/ckeditor/translations/it.js +0 -0
  156. data/app/assets/javascripts/common/ckeditor/translations/ja.js +0 -0
  157. data/app/assets/javascripts/common/ckeditor/translations/km.js +0 -0
  158. data/app/assets/javascripts/common/ckeditor/translations/kn.js +0 -0
  159. data/app/assets/javascripts/common/ckeditor/translations/ko.js +0 -0
  160. data/app/assets/javascripts/common/ckeditor/translations/ku.js +0 -0
  161. data/app/assets/javascripts/common/ckeditor/translations/lt.js +0 -0
  162. data/app/assets/javascripts/common/ckeditor/translations/lv.js +0 -0
  163. data/app/assets/javascripts/common/ckeditor/translations/nb.js +0 -0
  164. data/app/assets/javascripts/common/ckeditor/translations/ne.js +0 -0
  165. data/app/assets/javascripts/common/ckeditor/translations/nl.js +0 -0
  166. data/app/assets/javascripts/common/ckeditor/translations/no.js +0 -0
  167. data/app/assets/javascripts/common/ckeditor/translations/oc.js +0 -0
  168. data/app/assets/javascripts/common/ckeditor/translations/pl.js +0 -0
  169. data/app/assets/javascripts/common/ckeditor/translations/pt-br.js +0 -0
  170. data/app/assets/javascripts/common/ckeditor/translations/pt.js +0 -0
  171. data/app/assets/javascripts/common/ckeditor/translations/ro.js +0 -0
  172. data/app/assets/javascripts/common/ckeditor/translations/ru.js +0 -0
  173. data/app/assets/javascripts/common/ckeditor/translations/si.js +0 -0
  174. data/app/assets/javascripts/common/ckeditor/translations/sk.js +0 -0
  175. data/app/assets/javascripts/common/ckeditor/translations/sl.js +0 -0
  176. data/app/assets/javascripts/common/ckeditor/translations/sq.js +0 -0
  177. data/app/assets/javascripts/common/ckeditor/translations/sr-latn.js +0 -0
  178. data/app/assets/javascripts/common/ckeditor/translations/sr.js +0 -0
  179. data/app/assets/javascripts/common/ckeditor/translations/sv.js +0 -0
  180. data/app/assets/javascripts/common/ckeditor/translations/th.js +0 -0
  181. data/app/assets/javascripts/common/ckeditor/translations/tr.js +0 -0
  182. data/app/assets/javascripts/common/ckeditor/translations/tt.js +0 -0
  183. data/app/assets/javascripts/common/ckeditor/translations/ug.js +0 -0
  184. data/app/assets/javascripts/common/ckeditor/translations/uk.js +0 -0
  185. data/app/assets/javascripts/common/ckeditor/translations/vi.js +0 -0
  186. data/app/assets/javascripts/common/ckeditor/translations/zh-cn.js +0 -0
  187. data/app/assets/javascripts/common/ckeditor/translations/zh.js +0 -0
  188. data/app/assets/javascripts/common/clipboardjs/clipboard.js +977 -977
  189. data/app/assets/javascripts/common/covervid/covervid.js +94 -94
  190. data/app/assets/javascripts/common/custom/custom.js +0 -0
  191. data/app/assets/javascripts/common/datatables/datatables.js +15310 -15310
  192. data/app/assets/javascripts/common/daterangepicker/daterangepicker.js +1565 -1565
  193. data/app/assets/javascripts/common/fastclick/fastclick.js +841 -841
  194. data/app/assets/javascripts/common/flexslider/jquery.flexslider.js +1252 -1252
  195. data/app/assets/javascripts/common/greenstock/greensock.js +35 -35
  196. data/app/assets/javascripts/common/html5sortable/jquery.sortable.js +98 -98
  197. data/app/assets/javascripts/common/icheck/icheck.js +509 -509
  198. data/app/assets/javascripts/common/imagesloaded/imagesloaded.pkgd.js +497 -497
  199. data/app/assets/javascripts/common/isotope/isotope.pkgd.js +3563 -3563
  200. data/app/assets/javascripts/common/jquery/jquery-3.4.1.js +10598 -10598
  201. data/app/assets/javascripts/common/jquery-countdown/jquery.countdown.js +245 -245
  202. data/app/assets/javascripts/common/jquery-filterizer/jquery.filterizr.min.js +0 -0
  203. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.autogrow.js +37 -37
  204. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.charcounter.js +53 -53
  205. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.checkbox.js +54 -54
  206. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.datepicker.js +59 -59
  207. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.js +823 -823
  208. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.masked.js +46 -46
  209. data/app/assets/javascripts/common/jquery-jeditable/jquery.jeditable.time.js +71 -71
  210. data/app/assets/javascripts/common/jquery-jvectormap/jquery-jvectormap.js +44 -44
  211. data/app/assets/javascripts/common/jquery-placeholder/jquery.placeholder.js +281 -281
  212. data/app/assets/javascripts/common/jquery-slimscroll/jquery.slimscroll.js +474 -474
  213. data/app/assets/javascripts/common/jquery-sparkline/jquery.sparkline.js +3054 -3054
  214. data/app/assets/javascripts/common/jquery-ui/jquery-ui.js +18705 -18705
  215. data/app/assets/javascripts/common/jquery-validation/jquery.validate.js +0 -0
  216. data/app/assets/javascripts/common/jqvmap/jquery.vmap.js +1281 -1281
  217. data/app/assets/javascripts/common/jqvmap/jquery.vmap.min.js +9 -9
  218. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.africa.js +2 -2
  219. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.asia.js +2 -2
  220. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.australia.js +2 -2
  221. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.europe.js +2 -2
  222. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.north-america.js +2 -2
  223. data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.south-america.js +2 -2
  224. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.algeria.js +2 -2
  225. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.argentina.js +1 -1
  226. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.brazil.js +2 -2
  227. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.canada.js +1 -1
  228. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.europe.js +2 -2
  229. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.france.js +1 -1
  230. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.germany.js +2 -2
  231. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.greece.js +1 -1
  232. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iran.js +6 -6
  233. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iraq.js +1 -1
  234. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.russia.js +2 -2
  235. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.tunisia.js +2 -2
  236. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.turkey.js +11 -11
  237. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.usa.js +2 -2
  238. data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.world.js +2 -2
  239. data/app/assets/javascripts/common/js-cookie/js.cookie.js +165 -165
  240. data/app/assets/javascripts/common/layerslider/layerslider.kreaturamedia.jquery.js +12 -12
  241. data/app/assets/javascripts/common/layerslider/layerslider.origami.js +12 -12
  242. data/app/assets/javascripts/common/layerslider/layerslider.timeline.js +12 -12
  243. data/app/assets/javascripts/common/layerslider/layerslider.transitions.js +12 -12
  244. data/app/assets/javascripts/common/lazysizes/lazysizes.js +754 -754
  245. data/app/assets/javascripts/common/leaflet/leaflet.js +4 -4
  246. data/app/assets/javascripts/common/magnific-popup/jquery.magnific-popup.js +1859 -1859
  247. data/app/assets/javascripts/common/mapbox/mapbox.js +51 -51
  248. data/app/assets/javascripts/common/metismenu/metisMenu.js +340 -340
  249. data/app/assets/javascripts/common/moderizer/modernizr.js +11 -11
  250. data/app/assets/javascripts/common/nouislider/nouislider.js +2637 -2637
  251. data/app/assets/javascripts/common/owl-carousel/owl.carousel.js +3448 -3448
  252. data/app/assets/javascripts/common/pace/pace.js +935 -935
  253. data/app/assets/javascripts/common/paroller/jquery.paroller.js +228 -228
  254. data/app/assets/javascripts/common/particlejs/particles.js +1540 -1540
  255. data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.common.js +1318 -1318
  256. data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.esm.js +1316 -1316
  257. data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.js +1324 -1324
  258. data/app/assets/javascripts/common/plyr/plyr.js +9137 -9137
  259. data/app/assets/javascripts/common/rangeslider/rangeslider.js +498 -498
  260. data/app/assets/javascripts/common/retina/retina.js +100 -100
  261. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.actions.js +0 -0
  262. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.carousel.js +0 -0
  263. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.kenburn.js +0 -0
  264. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.layeranimation.js +0 -0
  265. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.migration.js +0 -0
  266. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.navigation.js +0 -0
  267. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.parallax.js +0 -0
  268. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.slideanims.js +0 -0
  269. data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.video.js +0 -0
  270. data/app/assets/javascripts/common/rev-slider/jquery.themepunch.revolution.js +0 -0
  271. data/app/assets/javascripts/common/rev-slider/jquery.themepunch.tools.min.js +0 -0
  272. data/app/assets/javascripts/common/scrollme/jquery.scrollme.js +455 -455
  273. data/app/assets/javascripts/common/scrollup/jquery.scrollUp.js +168 -168
  274. data/app/assets/javascripts/common/select2/select2.full.js +6597 -6597
  275. data/app/assets/javascripts/common/selectbox/jquery.selectBox.js +1091 -1091
  276. data/app/assets/javascripts/common/slick/slick.js +3004 -3004
  277. data/app/assets/javascripts/common/smooth-scroll/SmoothScroll.js +788 -788
  278. data/app/assets/javascripts/common/spectrum/spectrum.js +2323 -2323
  279. data/app/assets/javascripts/common/stepper/jquery.fs.stepper.js +339 -339
  280. data/app/assets/javascripts/common/swiper/swiper.js +8124 -8124
  281. data/app/assets/javascripts/common/toaster/toastr.js +476 -476
  282. data/app/assets/javascripts/common/typed/typed.js +1044 -1044
  283. data/app/assets/javascripts/common/visable/jquery.visible.js +68 -68
  284. data/app/assets/javascripts/common/waypoints/jquery.waypoints.js +661 -661
  285. data/app/assets/javascripts/common/wow/wow.js +508 -508
  286. data/app/assets/javascripts/phcthemes_admin_panel_pack_adminlte.js +12 -12
  287. data/app/assets/javascripts/phcthemes_admin_panel_pack_boomerang.js +0 -0
  288. data/app/assets/javascripts/phcthemes_admin_panel_pack_coloradmin.js +5 -5
  289. data/app/assets/javascripts/phcthemes_admin_panel_pack_inspinia.js +10 -10
  290. data/app/assets/javascripts/phcthemes_admin_panel_pack_metronic.js +6 -6
  291. data/app/assets/javascripts/phcthemes_admin_panel_pack_quilpro.js +5 -5
  292. data/app/assets/javascripts/phcthemes_admin_panel_pack_starlight.js +5 -5
  293. data/app/assets/javascripts/themes/adminlte/theme/adminlte.js +1141 -1141
  294. data/app/assets/javascripts/themes/coloradmin/theme/color_admin_app.min.js +0 -0
  295. data/app/assets/javascripts/themes/coloradmin/theme/color_admin_default.js +0 -0
  296. data/app/assets/javascripts/themes/inspinia/theme/inspinia.js +279 -279
  297. data/app/assets/javascripts/themes/metronic/theme/plugins.bundle.js +0 -0
  298. data/app/assets/javascripts/themes/metronic/theme/prismjs.bundle.js +1922 -1922
  299. data/app/assets/javascripts/themes/metronic/theme/scripts.bundle.js +0 -0
  300. data/app/assets/javascripts/themes/metronic/theme/widgets.js +0 -0
  301. data/app/assets/stylesheets/common/hanna_hearts/hanna_hearts.scss +0 -0
  302. data/app/assets/stylesheets/phcthemes_admin_panel_pack_adminlte.scss +16 -16
  303. data/app/assets/stylesheets/phcthemes_admin_panel_pack_boomerang.scss +27 -27
  304. data/app/assets/stylesheets/phcthemes_admin_panel_pack_coloradmin.scss +11 -11
  305. data/app/assets/stylesheets/phcthemes_admin_panel_pack_inspinia.scss +18 -18
  306. data/app/assets/stylesheets/phcthemes_admin_panel_pack_metronic.scss +15 -15
  307. data/app/assets/stylesheets/phcthemes_admin_panel_pack_quilpro.scss +19 -19
  308. data/app/assets/stylesheets/phcthemes_admin_panel_pack_starlight.scss +15 -15
  309. data/lib/phcthemes_admin_panel_pack/engine.rb +20 -20
  310. data/lib/phcthemes_admin_panel_pack/version.rb +3 -3
  311. data/lib/phcthemes_admin_panel_pack.rb +6 -6
  312. data/lib/tasks/phcthemes_admin_panel_pack_tasks.rake +4 -4
  313. metadata +3 -3
@@ -1,508 +1,508 @@
1
- (function() {
2
- var MutationObserver, Util, WeakMap, getComputedStyle, getComputedStyleRX,
3
- bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
4
- indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
5
-
6
- Util = (function() {
7
- function Util() {}
8
-
9
- Util.prototype.extend = function(custom, defaults) {
10
- var key, value;
11
- for (key in defaults) {
12
- value = defaults[key];
13
- if (custom[key] == null) {
14
- custom[key] = value;
15
- }
16
- }
17
- return custom;
18
- };
19
-
20
- Util.prototype.isMobile = function(agent) {
21
- return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent);
22
- };
23
-
24
- Util.prototype.createEvent = function(event, bubble, cancel, detail) {
25
- var customEvent;
26
- if (bubble == null) {
27
- bubble = false;
28
- }
29
- if (cancel == null) {
30
- cancel = false;
31
- }
32
- if (detail == null) {
33
- detail = null;
34
- }
35
- if (document.createEvent != null) {
36
- customEvent = document.createEvent('CustomEvent');
37
- customEvent.initCustomEvent(event, bubble, cancel, detail);
38
- } else if (document.createEventObject != null) {
39
- customEvent = document.createEventObject();
40
- customEvent.eventType = event;
41
- } else {
42
- customEvent.eventName = event;
43
- }
44
- return customEvent;
45
- };
46
-
47
- Util.prototype.emitEvent = function(elem, event) {
48
- if (elem.dispatchEvent != null) {
49
- return elem.dispatchEvent(event);
50
- } else if (event in (elem != null)) {
51
- return elem[event]();
52
- } else if (("on" + event) in (elem != null)) {
53
- return elem["on" + event]();
54
- }
55
- };
56
-
57
- Util.prototype.addEvent = function(elem, event, fn) {
58
- if (elem.addEventListener != null) {
59
- return elem.addEventListener(event, fn, false);
60
- } else if (elem.attachEvent != null) {
61
- return elem.attachEvent("on" + event, fn);
62
- } else {
63
- return elem[event] = fn;
64
- }
65
- };
66
-
67
- Util.prototype.removeEvent = function(elem, event, fn) {
68
- if (elem.removeEventListener != null) {
69
- return elem.removeEventListener(event, fn, false);
70
- } else if (elem.detachEvent != null) {
71
- return elem.detachEvent("on" + event, fn);
72
- } else {
73
- return delete elem[event];
74
- }
75
- };
76
-
77
- Util.prototype.innerHeight = function() {
78
- if ('innerHeight' in window) {
79
- return window.innerHeight;
80
- } else {
81
- return document.documentElement.clientHeight;
82
- }
83
- };
84
-
85
- return Util;
86
-
87
- })();
88
-
89
- WeakMap = this.WeakMap || this.MozWeakMap || (WeakMap = (function() {
90
- function WeakMap() {
91
- this.keys = [];
92
- this.values = [];
93
- }
94
-
95
- WeakMap.prototype.get = function(key) {
96
- var i, item, j, len, ref;
97
- ref = this.keys;
98
- for (i = j = 0, len = ref.length; j < len; i = ++j) {
99
- item = ref[i];
100
- if (item === key) {
101
- return this.values[i];
102
- }
103
- }
104
- };
105
-
106
- WeakMap.prototype.set = function(key, value) {
107
- var i, item, j, len, ref;
108
- ref = this.keys;
109
- for (i = j = 0, len = ref.length; j < len; i = ++j) {
110
- item = ref[i];
111
- if (item === key) {
112
- this.values[i] = value;
113
- return;
114
- }
115
- }
116
- this.keys.push(key);
117
- return this.values.push(value);
118
- };
119
-
120
- return WeakMap;
121
-
122
- })());
123
-
124
- MutationObserver = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (MutationObserver = (function() {
125
- function MutationObserver() {
126
- if (typeof console !== "undefined" && console !== null) {
127
- console.warn('MutationObserver is not supported by your browser.');
128
- }
129
- if (typeof console !== "undefined" && console !== null) {
130
- console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.');
131
- }
132
- }
133
-
134
- MutationObserver.notSupported = true;
135
-
136
- MutationObserver.prototype.observe = function() {};
137
-
138
- return MutationObserver;
139
-
140
- })());
141
-
142
- getComputedStyle = this.getComputedStyle || function(el, pseudo) {
143
- this.getPropertyValue = function(prop) {
144
- var ref;
145
- if (prop === 'float') {
146
- prop = 'styleFloat';
147
- }
148
- if (getComputedStyleRX.test(prop)) {
149
- prop.replace(getComputedStyleRX, function(_, _char) {
150
- return _char.toUpperCase();
151
- });
152
- }
153
- return ((ref = el.currentStyle) != null ? ref[prop] : void 0) || null;
154
- };
155
- return this;
156
- };
157
-
158
- getComputedStyleRX = /(\-([a-z]){1})/g;
159
-
160
- this.WOW = (function() {
161
- WOW.prototype.defaults = {
162
- boxClass: 'wow',
163
- animateClass: 'animated',
164
- offset: 0,
165
- mobile: true,
166
- live: true,
167
- callback: null
168
- };
169
-
170
- function WOW(options) {
171
- if (options == null) {
172
- options = {};
173
- }
174
- this.scrollCallback = bind(this.scrollCallback, this);
175
- this.scrollHandler = bind(this.scrollHandler, this);
176
- this.start = bind(this.start, this);
177
- this.scrolled = true;
178
- this.config = this.util().extend(options, this.defaults);
179
- this.animationNameCache = new WeakMap();
180
- this.wowEvent = this.util().createEvent(this.config.boxClass);
181
- }
182
-
183
- WOW.prototype.init = function() {
184
- var ref;
185
- this.element = window.document.documentElement;
186
- if ((ref = document.readyState) === "interactive" || ref === "complete") {
187
- this.start();
188
- } else {
189
- this.util().addEvent(document, 'DOMContentLoaded', this.start);
190
- }
191
- return this.finished = [];
192
- };
193
-
194
- WOW.prototype.start = function() {
195
- var box, j, len, ref;
196
- this.stopped = false;
197
- this.boxes = (function() {
198
- var j, len, ref, results;
199
- ref = this.element.querySelectorAll("." + this.config.boxClass);
200
- results = [];
201
- for (j = 0, len = ref.length; j < len; j++) {
202
- box = ref[j];
203
- results.push(box);
204
- }
205
- return results;
206
- }).call(this);
207
- this.all = (function() {
208
- var j, len, ref, results;
209
- ref = this.boxes;
210
- results = [];
211
- for (j = 0, len = ref.length; j < len; j++) {
212
- box = ref[j];
213
- results.push(box);
214
- }
215
- return results;
216
- }).call(this);
217
- if (this.boxes.length) {
218
- if (this.disabled()) {
219
- this.resetStyle();
220
- } else {
221
- ref = this.boxes;
222
- for (j = 0, len = ref.length; j < len; j++) {
223
- box = ref[j];
224
- this.applyStyle(box, true);
225
- }
226
- }
227
- }
228
- if (!this.disabled()) {
229
- this.util().addEvent(window, 'scroll', this.scrollHandler);
230
- this.util().addEvent(window, 'resize', this.scrollHandler);
231
- this.interval = setInterval(this.scrollCallback, 50);
232
- }
233
- if (this.config.live) {
234
- return new MutationObserver((function(_this) {
235
- return function(records) {
236
- var k, len1, node, record, results;
237
- results = [];
238
- for (k = 0, len1 = records.length; k < len1; k++) {
239
- record = records[k];
240
- results.push((function() {
241
- var l, len2, ref1, results1;
242
- ref1 = record.addedNodes || [];
243
- results1 = [];
244
- for (l = 0, len2 = ref1.length; l < len2; l++) {
245
- node = ref1[l];
246
- results1.push(this.doSync(node));
247
- }
248
- return results1;
249
- }).call(_this));
250
- }
251
- return results;
252
- };
253
- })(this)).observe(document.body, {
254
- childList: true,
255
- subtree: true
256
- });
257
- }
258
- };
259
-
260
- WOW.prototype.stop = function() {
261
- this.stopped = true;
262
- this.util().removeEvent(window, 'scroll', this.scrollHandler);
263
- this.util().removeEvent(window, 'resize', this.scrollHandler);
264
- if (this.interval != null) {
265
- return clearInterval(this.interval);
266
- }
267
- };
268
-
269
- WOW.prototype.sync = function(element) {
270
- if (MutationObserver.notSupported) {
271
- return this.doSync(this.element);
272
- }
273
- };
274
-
275
- WOW.prototype.doSync = function(element) {
276
- var box, j, len, ref, results;
277
- if (element == null) {
278
- element = this.element;
279
- }
280
- if (element.nodeType !== 1) {
281
- return;
282
- }
283
- element = element.parentNode || element;
284
- ref = element.querySelectorAll("." + this.config.boxClass);
285
- results = [];
286
- for (j = 0, len = ref.length; j < len; j++) {
287
- box = ref[j];
288
- if (indexOf.call(this.all, box) < 0) {
289
- this.boxes.push(box);
290
- this.all.push(box);
291
- if (this.stopped || this.disabled()) {
292
- this.resetStyle();
293
- } else {
294
- this.applyStyle(box, true);
295
- }
296
- results.push(this.scrolled = true);
297
- } else {
298
- results.push(void 0);
299
- }
300
- }
301
- return results;
302
- };
303
-
304
- WOW.prototype.show = function(box) {
305
- this.applyStyle(box);
306
- box.className = box.className + " " + this.config.animateClass;
307
- if (this.config.callback != null) {
308
- this.config.callback(box);
309
- }
310
- this.util().emitEvent(box, this.wowEvent);
311
- this.util().addEvent(box, 'animationend', this.resetAnimation);
312
- this.util().addEvent(box, 'oanimationend', this.resetAnimation);
313
- this.util().addEvent(box, 'webkitAnimationEnd', this.resetAnimation);
314
- this.util().addEvent(box, 'MSAnimationEnd', this.resetAnimation);
315
- return box;
316
- };
317
-
318
- WOW.prototype.applyStyle = function(box, hidden) {
319
- var delay, duration, iteration;
320
- duration = box.getAttribute('data-wow-duration');
321
- delay = box.getAttribute('data-wow-delay');
322
- iteration = box.getAttribute('data-wow-iteration');
323
- return this.animate((function(_this) {
324
- return function() {
325
- return _this.customStyle(box, hidden, duration, delay, iteration);
326
- };
327
- })(this));
328
- };
329
-
330
- WOW.prototype.animate = (function() {
331
- if ('requestAnimationFrame' in window) {
332
- return function(callback) {
333
- return window.requestAnimationFrame(callback);
334
- };
335
- } else {
336
- return function(callback) {
337
- return callback();
338
- };
339
- }
340
- })();
341
-
342
- WOW.prototype.resetStyle = function() {
343
- var box, j, len, ref, results;
344
- ref = this.boxes;
345
- results = [];
346
- for (j = 0, len = ref.length; j < len; j++) {
347
- box = ref[j];
348
- results.push(box.style.visibility = 'visible');
349
- }
350
- return results;
351
- };
352
-
353
- WOW.prototype.resetAnimation = function(event) {
354
- var target;
355
- if (event.type.toLowerCase().indexOf('animationend') >= 0) {
356
- target = event.target || event.srcElement;
357
- return target.className = target.className.replace(config.animateClass, '').trim();
358
- }
359
- };
360
-
361
- WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) {
362
- if (hidden) {
363
- this.cacheAnimationName(box);
364
- }
365
- box.style.visibility = hidden ? 'hidden' : 'visible';
366
- if (duration) {
367
- this.vendorSet(box.style, {
368
- animationDuration: duration
369
- });
370
- }
371
- if (delay) {
372
- this.vendorSet(box.style, {
373
- animationDelay: delay
374
- });
375
- }
376
- if (iteration) {
377
- this.vendorSet(box.style, {
378
- animationIterationCount: iteration
379
- });
380
- }
381
- this.vendorSet(box.style, {
382
- animationName: hidden ? 'none' : this.cachedAnimationName(box)
383
- });
384
- return box;
385
- };
386
-
387
- WOW.prototype.vendors = ["moz", "webkit"];
388
-
389
- WOW.prototype.vendorSet = function(elem, properties) {
390
- var name, results, value, vendor;
391
- results = [];
392
- for (name in properties) {
393
- value = properties[name];
394
- elem["" + name] = value;
395
- results.push((function() {
396
- var j, len, ref, results1;
397
- ref = this.vendors;
398
- results1 = [];
399
- for (j = 0, len = ref.length; j < len; j++) {
400
- vendor = ref[j];
401
- results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value);
402
- }
403
- return results1;
404
- }).call(this));
405
- }
406
- return results;
407
- };
408
-
409
- WOW.prototype.vendorCSS = function(elem, property) {
410
- var j, len, ref, result, style, vendor;
411
- style = getComputedStyle(elem);
412
- result = style.getPropertyCSSValue(property);
413
- ref = this.vendors;
414
- for (j = 0, len = ref.length; j < len; j++) {
415
- vendor = ref[j];
416
- result = result || style.getPropertyCSSValue("-" + vendor + "-" + property);
417
- }
418
- return result;
419
- };
420
-
421
- WOW.prototype.animationName = function(box) {
422
- var animationName;
423
- try {
424
- animationName = this.vendorCSS(box, 'animation-name').cssText;
425
- } catch (_error) {
426
- animationName = getComputedStyle(box).getPropertyValue('animation-name');
427
- }
428
- if (animationName === 'none') {
429
- return '';
430
- } else {
431
- return animationName;
432
- }
433
- };
434
-
435
- WOW.prototype.cacheAnimationName = function(box) {
436
- return this.animationNameCache.set(box, this.animationName(box));
437
- };
438
-
439
- WOW.prototype.cachedAnimationName = function(box) {
440
- return this.animationNameCache.get(box);
441
- };
442
-
443
- WOW.prototype.scrollHandler = function() {
444
- return this.scrolled = true;
445
- };
446
-
447
- WOW.prototype.scrollCallback = function() {
448
- var box;
449
- if (this.scrolled) {
450
- this.scrolled = false;
451
- this.boxes = (function() {
452
- var j, len, ref, results;
453
- ref = this.boxes;
454
- results = [];
455
- for (j = 0, len = ref.length; j < len; j++) {
456
- box = ref[j];
457
- if (!(box)) {
458
- continue;
459
- }
460
- if (this.isVisible(box)) {
461
- this.show(box);
462
- continue;
463
- }
464
- results.push(box);
465
- }
466
- return results;
467
- }).call(this);
468
- if (!(this.boxes.length || this.config.live)) {
469
- return this.stop();
470
- }
471
- }
472
- };
473
-
474
- WOW.prototype.offsetTop = function(element) {
475
- var top;
476
- while (element.offsetTop === void 0) {
477
- element = element.parentNode;
478
- }
479
- top = element.offsetTop;
480
- while (element = element.offsetParent) {
481
- top += element.offsetTop;
482
- }
483
- return top;
484
- };
485
-
486
- WOW.prototype.isVisible = function(box) {
487
- var bottom, offset, top, viewBottom, viewTop;
488
- offset = box.getAttribute('data-wow-offset') || this.config.offset;
489
- viewTop = window.pageYOffset;
490
- viewBottom = viewTop + Math.min(this.element.clientHeight, this.util().innerHeight()) - offset;
491
- top = this.offsetTop(box);
492
- bottom = top + box.clientHeight;
493
- return top <= viewBottom && bottom >= viewTop;
494
- };
495
-
496
- WOW.prototype.util = function() {
497
- return this._util != null ? this._util : this._util = new Util();
498
- };
499
-
500
- WOW.prototype.disabled = function() {
501
- return !this.config.mobile && this.util().isMobile(navigator.userAgent);
502
- };
503
-
504
- return WOW;
505
-
506
- })();
507
-
508
- }).call(this);
1
+ (function() {
2
+ var MutationObserver, Util, WeakMap, getComputedStyle, getComputedStyleRX,
3
+ bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
4
+ indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
5
+
6
+ Util = (function() {
7
+ function Util() {}
8
+
9
+ Util.prototype.extend = function(custom, defaults) {
10
+ var key, value;
11
+ for (key in defaults) {
12
+ value = defaults[key];
13
+ if (custom[key] == null) {
14
+ custom[key] = value;
15
+ }
16
+ }
17
+ return custom;
18
+ };
19
+
20
+ Util.prototype.isMobile = function(agent) {
21
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(agent);
22
+ };
23
+
24
+ Util.prototype.createEvent = function(event, bubble, cancel, detail) {
25
+ var customEvent;
26
+ if (bubble == null) {
27
+ bubble = false;
28
+ }
29
+ if (cancel == null) {
30
+ cancel = false;
31
+ }
32
+ if (detail == null) {
33
+ detail = null;
34
+ }
35
+ if (document.createEvent != null) {
36
+ customEvent = document.createEvent('CustomEvent');
37
+ customEvent.initCustomEvent(event, bubble, cancel, detail);
38
+ } else if (document.createEventObject != null) {
39
+ customEvent = document.createEventObject();
40
+ customEvent.eventType = event;
41
+ } else {
42
+ customEvent.eventName = event;
43
+ }
44
+ return customEvent;
45
+ };
46
+
47
+ Util.prototype.emitEvent = function(elem, event) {
48
+ if (elem.dispatchEvent != null) {
49
+ return elem.dispatchEvent(event);
50
+ } else if (event in (elem != null)) {
51
+ return elem[event]();
52
+ } else if (("on" + event) in (elem != null)) {
53
+ return elem["on" + event]();
54
+ }
55
+ };
56
+
57
+ Util.prototype.addEvent = function(elem, event, fn) {
58
+ if (elem.addEventListener != null) {
59
+ return elem.addEventListener(event, fn, false);
60
+ } else if (elem.attachEvent != null) {
61
+ return elem.attachEvent("on" + event, fn);
62
+ } else {
63
+ return elem[event] = fn;
64
+ }
65
+ };
66
+
67
+ Util.prototype.removeEvent = function(elem, event, fn) {
68
+ if (elem.removeEventListener != null) {
69
+ return elem.removeEventListener(event, fn, false);
70
+ } else if (elem.detachEvent != null) {
71
+ return elem.detachEvent("on" + event, fn);
72
+ } else {
73
+ return delete elem[event];
74
+ }
75
+ };
76
+
77
+ Util.prototype.innerHeight = function() {
78
+ if ('innerHeight' in window) {
79
+ return window.innerHeight;
80
+ } else {
81
+ return document.documentElement.clientHeight;
82
+ }
83
+ };
84
+
85
+ return Util;
86
+
87
+ })();
88
+
89
+ WeakMap = this.WeakMap || this.MozWeakMap || (WeakMap = (function() {
90
+ function WeakMap() {
91
+ this.keys = [];
92
+ this.values = [];
93
+ }
94
+
95
+ WeakMap.prototype.get = function(key) {
96
+ var i, item, j, len, ref;
97
+ ref = this.keys;
98
+ for (i = j = 0, len = ref.length; j < len; i = ++j) {
99
+ item = ref[i];
100
+ if (item === key) {
101
+ return this.values[i];
102
+ }
103
+ }
104
+ };
105
+
106
+ WeakMap.prototype.set = function(key, value) {
107
+ var i, item, j, len, ref;
108
+ ref = this.keys;
109
+ for (i = j = 0, len = ref.length; j < len; i = ++j) {
110
+ item = ref[i];
111
+ if (item === key) {
112
+ this.values[i] = value;
113
+ return;
114
+ }
115
+ }
116
+ this.keys.push(key);
117
+ return this.values.push(value);
118
+ };
119
+
120
+ return WeakMap;
121
+
122
+ })());
123
+
124
+ MutationObserver = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (MutationObserver = (function() {
125
+ function MutationObserver() {
126
+ if (typeof console !== "undefined" && console !== null) {
127
+ console.warn('MutationObserver is not supported by your browser.');
128
+ }
129
+ if (typeof console !== "undefined" && console !== null) {
130
+ console.warn('WOW.js cannot detect dom mutations, please call .sync() after loading new content.');
131
+ }
132
+ }
133
+
134
+ MutationObserver.notSupported = true;
135
+
136
+ MutationObserver.prototype.observe = function() {};
137
+
138
+ return MutationObserver;
139
+
140
+ })());
141
+
142
+ getComputedStyle = this.getComputedStyle || function(el, pseudo) {
143
+ this.getPropertyValue = function(prop) {
144
+ var ref;
145
+ if (prop === 'float') {
146
+ prop = 'styleFloat';
147
+ }
148
+ if (getComputedStyleRX.test(prop)) {
149
+ prop.replace(getComputedStyleRX, function(_, _char) {
150
+ return _char.toUpperCase();
151
+ });
152
+ }
153
+ return ((ref = el.currentStyle) != null ? ref[prop] : void 0) || null;
154
+ };
155
+ return this;
156
+ };
157
+
158
+ getComputedStyleRX = /(\-([a-z]){1})/g;
159
+
160
+ this.WOW = (function() {
161
+ WOW.prototype.defaults = {
162
+ boxClass: 'wow',
163
+ animateClass: 'animated',
164
+ offset: 0,
165
+ mobile: true,
166
+ live: true,
167
+ callback: null
168
+ };
169
+
170
+ function WOW(options) {
171
+ if (options == null) {
172
+ options = {};
173
+ }
174
+ this.scrollCallback = bind(this.scrollCallback, this);
175
+ this.scrollHandler = bind(this.scrollHandler, this);
176
+ this.start = bind(this.start, this);
177
+ this.scrolled = true;
178
+ this.config = this.util().extend(options, this.defaults);
179
+ this.animationNameCache = new WeakMap();
180
+ this.wowEvent = this.util().createEvent(this.config.boxClass);
181
+ }
182
+
183
+ WOW.prototype.init = function() {
184
+ var ref;
185
+ this.element = window.document.documentElement;
186
+ if ((ref = document.readyState) === "interactive" || ref === "complete") {
187
+ this.start();
188
+ } else {
189
+ this.util().addEvent(document, 'DOMContentLoaded', this.start);
190
+ }
191
+ return this.finished = [];
192
+ };
193
+
194
+ WOW.prototype.start = function() {
195
+ var box, j, len, ref;
196
+ this.stopped = false;
197
+ this.boxes = (function() {
198
+ var j, len, ref, results;
199
+ ref = this.element.querySelectorAll("." + this.config.boxClass);
200
+ results = [];
201
+ for (j = 0, len = ref.length; j < len; j++) {
202
+ box = ref[j];
203
+ results.push(box);
204
+ }
205
+ return results;
206
+ }).call(this);
207
+ this.all = (function() {
208
+ var j, len, ref, results;
209
+ ref = this.boxes;
210
+ results = [];
211
+ for (j = 0, len = ref.length; j < len; j++) {
212
+ box = ref[j];
213
+ results.push(box);
214
+ }
215
+ return results;
216
+ }).call(this);
217
+ if (this.boxes.length) {
218
+ if (this.disabled()) {
219
+ this.resetStyle();
220
+ } else {
221
+ ref = this.boxes;
222
+ for (j = 0, len = ref.length; j < len; j++) {
223
+ box = ref[j];
224
+ this.applyStyle(box, true);
225
+ }
226
+ }
227
+ }
228
+ if (!this.disabled()) {
229
+ this.util().addEvent(window, 'scroll', this.scrollHandler);
230
+ this.util().addEvent(window, 'resize', this.scrollHandler);
231
+ this.interval = setInterval(this.scrollCallback, 50);
232
+ }
233
+ if (this.config.live) {
234
+ return new MutationObserver((function(_this) {
235
+ return function(records) {
236
+ var k, len1, node, record, results;
237
+ results = [];
238
+ for (k = 0, len1 = records.length; k < len1; k++) {
239
+ record = records[k];
240
+ results.push((function() {
241
+ var l, len2, ref1, results1;
242
+ ref1 = record.addedNodes || [];
243
+ results1 = [];
244
+ for (l = 0, len2 = ref1.length; l < len2; l++) {
245
+ node = ref1[l];
246
+ results1.push(this.doSync(node));
247
+ }
248
+ return results1;
249
+ }).call(_this));
250
+ }
251
+ return results;
252
+ };
253
+ })(this)).observe(document.body, {
254
+ childList: true,
255
+ subtree: true
256
+ });
257
+ }
258
+ };
259
+
260
+ WOW.prototype.stop = function() {
261
+ this.stopped = true;
262
+ this.util().removeEvent(window, 'scroll', this.scrollHandler);
263
+ this.util().removeEvent(window, 'resize', this.scrollHandler);
264
+ if (this.interval != null) {
265
+ return clearInterval(this.interval);
266
+ }
267
+ };
268
+
269
+ WOW.prototype.sync = function(element) {
270
+ if (MutationObserver.notSupported) {
271
+ return this.doSync(this.element);
272
+ }
273
+ };
274
+
275
+ WOW.prototype.doSync = function(element) {
276
+ var box, j, len, ref, results;
277
+ if (element == null) {
278
+ element = this.element;
279
+ }
280
+ if (element.nodeType !== 1) {
281
+ return;
282
+ }
283
+ element = element.parentNode || element;
284
+ ref = element.querySelectorAll("." + this.config.boxClass);
285
+ results = [];
286
+ for (j = 0, len = ref.length; j < len; j++) {
287
+ box = ref[j];
288
+ if (indexOf.call(this.all, box) < 0) {
289
+ this.boxes.push(box);
290
+ this.all.push(box);
291
+ if (this.stopped || this.disabled()) {
292
+ this.resetStyle();
293
+ } else {
294
+ this.applyStyle(box, true);
295
+ }
296
+ results.push(this.scrolled = true);
297
+ } else {
298
+ results.push(void 0);
299
+ }
300
+ }
301
+ return results;
302
+ };
303
+
304
+ WOW.prototype.show = function(box) {
305
+ this.applyStyle(box);
306
+ box.className = box.className + " " + this.config.animateClass;
307
+ if (this.config.callback != null) {
308
+ this.config.callback(box);
309
+ }
310
+ this.util().emitEvent(box, this.wowEvent);
311
+ this.util().addEvent(box, 'animationend', this.resetAnimation);
312
+ this.util().addEvent(box, 'oanimationend', this.resetAnimation);
313
+ this.util().addEvent(box, 'webkitAnimationEnd', this.resetAnimation);
314
+ this.util().addEvent(box, 'MSAnimationEnd', this.resetAnimation);
315
+ return box;
316
+ };
317
+
318
+ WOW.prototype.applyStyle = function(box, hidden) {
319
+ var delay, duration, iteration;
320
+ duration = box.getAttribute('data-wow-duration');
321
+ delay = box.getAttribute('data-wow-delay');
322
+ iteration = box.getAttribute('data-wow-iteration');
323
+ return this.animate((function(_this) {
324
+ return function() {
325
+ return _this.customStyle(box, hidden, duration, delay, iteration);
326
+ };
327
+ })(this));
328
+ };
329
+
330
+ WOW.prototype.animate = (function() {
331
+ if ('requestAnimationFrame' in window) {
332
+ return function(callback) {
333
+ return window.requestAnimationFrame(callback);
334
+ };
335
+ } else {
336
+ return function(callback) {
337
+ return callback();
338
+ };
339
+ }
340
+ })();
341
+
342
+ WOW.prototype.resetStyle = function() {
343
+ var box, j, len, ref, results;
344
+ ref = this.boxes;
345
+ results = [];
346
+ for (j = 0, len = ref.length; j < len; j++) {
347
+ box = ref[j];
348
+ results.push(box.style.visibility = 'visible');
349
+ }
350
+ return results;
351
+ };
352
+
353
+ WOW.prototype.resetAnimation = function(event) {
354
+ var target;
355
+ if (event.type.toLowerCase().indexOf('animationend') >= 0) {
356
+ target = event.target || event.srcElement;
357
+ return target.className = target.className.replace(config.animateClass, '').trim();
358
+ }
359
+ };
360
+
361
+ WOW.prototype.customStyle = function(box, hidden, duration, delay, iteration) {
362
+ if (hidden) {
363
+ this.cacheAnimationName(box);
364
+ }
365
+ box.style.visibility = hidden ? 'hidden' : 'visible';
366
+ if (duration) {
367
+ this.vendorSet(box.style, {
368
+ animationDuration: duration
369
+ });
370
+ }
371
+ if (delay) {
372
+ this.vendorSet(box.style, {
373
+ animationDelay: delay
374
+ });
375
+ }
376
+ if (iteration) {
377
+ this.vendorSet(box.style, {
378
+ animationIterationCount: iteration
379
+ });
380
+ }
381
+ this.vendorSet(box.style, {
382
+ animationName: hidden ? 'none' : this.cachedAnimationName(box)
383
+ });
384
+ return box;
385
+ };
386
+
387
+ WOW.prototype.vendors = ["moz", "webkit"];
388
+
389
+ WOW.prototype.vendorSet = function(elem, properties) {
390
+ var name, results, value, vendor;
391
+ results = [];
392
+ for (name in properties) {
393
+ value = properties[name];
394
+ elem["" + name] = value;
395
+ results.push((function() {
396
+ var j, len, ref, results1;
397
+ ref = this.vendors;
398
+ results1 = [];
399
+ for (j = 0, len = ref.length; j < len; j++) {
400
+ vendor = ref[j];
401
+ results1.push(elem["" + vendor + (name.charAt(0).toUpperCase()) + (name.substr(1))] = value);
402
+ }
403
+ return results1;
404
+ }).call(this));
405
+ }
406
+ return results;
407
+ };
408
+
409
+ WOW.prototype.vendorCSS = function(elem, property) {
410
+ var j, len, ref, result, style, vendor;
411
+ style = getComputedStyle(elem);
412
+ result = style.getPropertyCSSValue(property);
413
+ ref = this.vendors;
414
+ for (j = 0, len = ref.length; j < len; j++) {
415
+ vendor = ref[j];
416
+ result = result || style.getPropertyCSSValue("-" + vendor + "-" + property);
417
+ }
418
+ return result;
419
+ };
420
+
421
+ WOW.prototype.animationName = function(box) {
422
+ var animationName;
423
+ try {
424
+ animationName = this.vendorCSS(box, 'animation-name').cssText;
425
+ } catch (_error) {
426
+ animationName = getComputedStyle(box).getPropertyValue('animation-name');
427
+ }
428
+ if (animationName === 'none') {
429
+ return '';
430
+ } else {
431
+ return animationName;
432
+ }
433
+ };
434
+
435
+ WOW.prototype.cacheAnimationName = function(box) {
436
+ return this.animationNameCache.set(box, this.animationName(box));
437
+ };
438
+
439
+ WOW.prototype.cachedAnimationName = function(box) {
440
+ return this.animationNameCache.get(box);
441
+ };
442
+
443
+ WOW.prototype.scrollHandler = function() {
444
+ return this.scrolled = true;
445
+ };
446
+
447
+ WOW.prototype.scrollCallback = function() {
448
+ var box;
449
+ if (this.scrolled) {
450
+ this.scrolled = false;
451
+ this.boxes = (function() {
452
+ var j, len, ref, results;
453
+ ref = this.boxes;
454
+ results = [];
455
+ for (j = 0, len = ref.length; j < len; j++) {
456
+ box = ref[j];
457
+ if (!(box)) {
458
+ continue;
459
+ }
460
+ if (this.isVisible(box)) {
461
+ this.show(box);
462
+ continue;
463
+ }
464
+ results.push(box);
465
+ }
466
+ return results;
467
+ }).call(this);
468
+ if (!(this.boxes.length || this.config.live)) {
469
+ return this.stop();
470
+ }
471
+ }
472
+ };
473
+
474
+ WOW.prototype.offsetTop = function(element) {
475
+ var top;
476
+ while (element.offsetTop === void 0) {
477
+ element = element.parentNode;
478
+ }
479
+ top = element.offsetTop;
480
+ while (element = element.offsetParent) {
481
+ top += element.offsetTop;
482
+ }
483
+ return top;
484
+ };
485
+
486
+ WOW.prototype.isVisible = function(box) {
487
+ var bottom, offset, top, viewBottom, viewTop;
488
+ offset = box.getAttribute('data-wow-offset') || this.config.offset;
489
+ viewTop = window.pageYOffset;
490
+ viewBottom = viewTop + Math.min(this.element.clientHeight, this.util().innerHeight()) - offset;
491
+ top = this.offsetTop(box);
492
+ bottom = top + box.clientHeight;
493
+ return top <= viewBottom && bottom >= viewTop;
494
+ };
495
+
496
+ WOW.prototype.util = function() {
497
+ return this._util != null ? this._util : this._util = new Util();
498
+ };
499
+
500
+ WOW.prototype.disabled = function() {
501
+ return !this.config.mobile && this.util().isMobile(navigator.userAgent);
502
+ };
503
+
504
+ return WOW;
505
+
506
+ })();
507
+
508
+ }).call(this);