j1-template 2020.0.18 → 2020.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (523) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +2 -2
  3. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +2 -2
  4. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +4 -4
  5. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
  6. data/_includes/themes/j1/blocks/footer/generator.html +2 -2
  7. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +21 -18
  8. data/_includes/themes/j1/layouts/content_generator_collection.html +4 -4
  9. data/_includes/themes/j1/layouts/content_generator_page.html +12 -60
  10. data/_includes/themes/j1/layouts/content_generator_post.html +64 -162
  11. data/_includes/themes/j1/layouts/layout_metadata_generator.html +2 -2
  12. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +15 -1
  13. data/_includes/themes/j1/modules/connectors/ads +2 -2
  14. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +2 -4
  15. data/_includes/themes/j1/modules/connectors/analytics +2 -2
  16. data/_includes/themes/j1/modules/connectors/comment/disqus.html +38 -25
  17. data/_includes/themes/j1/modules/connectors/comments +2 -2
  18. data/_includes/themes/j1/modules/connectors/translator +2 -2
  19. data/_includes/themes/j1/modules/navigator/generator.html +17 -8
  20. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +36 -26
  21. data/_includes/themes/j1/procedures/global/attributes_loader.proc +117 -0
  22. data/_includes/themes/j1/procedures/global/create_bs_button.proc +11 -10
  23. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +14 -12
  24. data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
  25. data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +3 -3
  26. data/_includes/themes/j1/procedures/global/setup.proc +9 -9
  27. data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -2
  28. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  29. data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
  30. data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
  31. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +38 -39
  32. data/_includes/themes/j1/procedures/posts/create_series_header.proc +9 -5
  33. data/_layouts/blog_archive.html +2 -1
  34. data/_layouts/collection.html +1 -1
  35. data/_layouts/default.html +3 -3
  36. data/_layouts/home.html +2 -2
  37. data/_layouts/page.html +1 -1
  38. data/_layouts/post.html +1 -1
  39. data/apps/public/cc/cc.yml +3 -3
  40. data/assets/data/authclient.html +7 -7
  41. data/assets/data/banner.html +31 -26
  42. data/assets/data/carousel.json +1 -1
  43. data/assets/data/cookiebar.html +21 -17
  44. data/assets/data/fam.html +124 -0
  45. data/assets/data/footer.html +1 -1
  46. data/assets/data/galleries.json +1 -1
  47. data/assets/data/gallery_customizer.html +2 -2
  48. data/assets/data/mdi_icons.json +1 -1
  49. data/assets/data/menu.html +6 -6
  50. data/assets/data/mmenu.html +6 -6
  51. data/assets/data/mmenu_sidebar.html +4 -4
  52. data/assets/data/mmenu_toc.html +1 -1
  53. data/assets/data/panel.html +189 -123
  54. data/assets/data/quicklinks.html +16 -16
  55. data/assets/data/themes.json +9 -7
  56. data/assets/data/twa_v1.json +1 -1
  57. data/assets/error_pages/HTTP204.html +1 -0
  58. data/assets/error_pages/HTTP400.html +3 -2
  59. data/assets/error_pages/HTTP401.html +3 -2
  60. data/assets/error_pages/HTTP403.html +3 -2
  61. data/assets/error_pages/HTTP404.html +3 -2
  62. data/assets/error_pages/HTTP500.html +3 -2
  63. data/assets/error_pages/HTTP501.html +3 -2
  64. data/assets/error_pages/HTTP502.html +3 -2
  65. data/assets/error_pages/HTTP503.html +3 -2
  66. data/assets/error_pages/HTTP520.html +3 -2
  67. data/assets/error_pages/HTTP521.html +3 -2
  68. data/assets/error_pages/HTTP533.html +3 -2
  69. data/assets/themes/j1/adapter/js/algolia.js +2 -2
  70. data/assets/themes/j1/adapter/js/attic.js +2 -2
  71. data/assets/themes/j1/adapter/js/{mdb.js → bmd.js} +11 -11
  72. data/assets/themes/j1/adapter/js/carousel.js +136 -135
  73. data/assets/themes/j1/adapter/js/clipboard.js +3 -3
  74. data/assets/themes/j1/adapter/js/cookiebar.js +1 -1
  75. data/assets/themes/j1/adapter/js/{ssm.js → fam.js} +275 -148
  76. data/assets/themes/j1/adapter/js/framer.js +74 -62
  77. data/assets/themes/j1/adapter/js/gallery_customizer.js +4 -3
  78. data/assets/themes/j1/adapter/js/j1.js +53 -23
  79. data/assets/themes/j1/adapter/js/jf_gallery.js +2 -2
  80. data/assets/themes/j1/adapter/js/lightbox.js +2 -2
  81. data/assets/themes/j1/adapter/js/logger.js +2 -2
  82. data/assets/themes/j1/adapter/js/{searcher.js → lunr_search.js} +68 -65
  83. data/assets/themes/j1/adapter/js/mmenu.js +17 -11
  84. data/assets/themes/j1/adapter/js/navigator.js +139 -67
  85. data/assets/themes/j1/adapter/js/rouge.js +246 -0
  86. data/assets/themes/j1/adapter/js/rtable.js +181 -0
  87. data/assets/themes/j1/adapter/js/themer.js +68 -122
  88. data/assets/themes/j1/adapter/js/toccer.js +72 -32
  89. data/assets/themes/j1/core/css/animate.css +17 -0
  90. data/assets/themes/j1/core/css/bootstrap.css +40 -48
  91. data/assets/themes/j1/core/css/bootstrap.min.css +3 -3
  92. data/assets/themes/j1/core/css/custom.scss +28 -0
  93. data/assets/themes/j1/core/css/globals.css +14523 -0
  94. data/assets/themes/j1/core/css/globals.min.css +1 -0
  95. data/assets/themes/j1/core/css/globals.scss +28 -0
  96. data/assets/themes/j1/core/css/{fontawesome.css → icon-fonts/fontawesome.css} +31 -12
  97. data/assets/themes/j1/core/css/{fontawesome.min.css → icon-fonts/fontawesome.min.css} +0 -0
  98. data/assets/themes/j1/core/css/{iconify-icons.css → icon-fonts/iconify.css} +51 -38
  99. data/assets/themes/j1/core/css/{iconify-icons.min.css → icon-fonts/iconify.min.css} +1 -1
  100. data/assets/themes/j1/core/css/{material-design-icons.css → icon-fonts/materialdesign.css} +326 -244
  101. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -0
  102. data/assets/themes/j1/core/css/{twemoji.css → icon-fonts/twemoji.css} +61 -51
  103. data/assets/themes/j1/core/css/{twemoji.min.css → icon-fonts/twemoji.min.css} +0 -0
  104. data/assets/themes/j1/core/css/theme_extensions.css +2478 -767
  105. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  106. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +7171 -0
  107. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +6 -0
  108. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +8118 -0
  109. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +6 -0
  110. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +22512 -0
  111. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +8 -0
  112. data/assets/themes/j1/core/css/uno.css +2490 -949
  113. data/assets/themes/j1/core/css/uno.min.css +1 -1
  114. data/assets/themes/j1/core/css/uno.scss +28 -0
  115. data/assets/themes/j1/core/css/vendor.css +121 -13452
  116. data/assets/themes/j1/core/css/vendor.min.css +1 -7
  117. data/assets/themes/j1/core/css/vendor.scss +28 -0
  118. data/assets/themes/j1/core/js/template.js +6 -11
  119. data/assets/themes/j1/core/js/template.js.map +1 -1
  120. data/assets/themes/j1/core/js/template.min.js +1 -1
  121. data/assets/themes/j1/modules/backstretch/js/backstretch.js +12 -13
  122. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +12 -13
  123. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.full.js +6930 -0
  124. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6 -0
  125. data/assets/themes/j1/modules/carousel/css/carousel.css +8 -9
  126. data/assets/themes/j1/modules/carousel/css/carousel.min.css +7 -9
  127. data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +7 -8
  128. data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +7 -9
  129. data/assets/themes/j1/modules/carousel/css/theme/uno.css +15 -10
  130. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +8 -9
  131. data/assets/themes/j1/modules/cash/js/cash.js +1374 -0
  132. data/assets/themes/j1/modules/cash/js/cash.min.js +42 -0
  133. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +7 -7
  134. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +8 -45
  135. data/assets/themes/j1/modules/fam/css/uno/fam.css +369 -0
  136. data/assets/themes/j1/modules/fam/js/fam.js +477 -0
  137. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +1 -1
  138. data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.js → resizer.js} +0 -0
  139. data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.map → resizer.map} +0 -0
  140. data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.min.js → resizer.min.js} +0 -0
  141. data/assets/themes/j1/modules/jquery/js/jquery.js +7 -4
  142. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
  143. data/assets/themes/j1/modules/jquery/js/require.js +2145 -0
  144. data/assets/themes/j1/modules/jquery/js/require.min.js +5 -0
  145. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +8 -9
  146. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +8 -31
  147. data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +7 -8
  148. data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +8 -10
  149. data/assets/themes/j1/modules/lightbox/css/lightbox.css +11 -12
  150. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +11 -12
  151. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +7 -7
  152. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +7 -8
  153. data/assets/themes/j1/modules/lightbox/js/lightbox.js +11 -12
  154. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +11 -27
  155. data/assets/themes/j1/modules/lunrSearch/css/lunr_search.css +32 -0
  156. data/assets/themes/j1/modules/lunrSearch/css/lunr_search.min.css +25 -0
  157. data/assets/themes/j1/modules/lunrSearch/js/dateformat.js +125 -0
  158. data/assets/themes/j1/modules/lunrSearch/js/dateformat.min.js +14 -0
  159. data/assets/themes/j1/modules/lunrSearch/js/lunr.js +3475 -0
  160. data/assets/themes/j1/modules/lunrSearch/js/lunr.min.js +51 -0
  161. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.js +184 -0
  162. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +17 -0
  163. data/assets/themes/j1/modules/lunrSearch/js/mustache.js +772 -0
  164. data/assets/themes/j1/modules/lunrSearch/js/mustache.min.js +772 -0
  165. data/assets/themes/j1/modules/lunrSearch/js/uri.js +2340 -0
  166. data/assets/themes/j1/modules/lunrSearch/js/uri.min.js +93 -0
  167. data/assets/themes/j1/modules/materialize/js/anime.js +1283 -0
  168. data/assets/themes/j1/modules/materialize/js/anime.min.js +34 -0
  169. data/assets/themes/j1/modules/materialize/js/autocomplete.js +450 -0
  170. data/assets/themes/j1/modules/materialize/js/buttons.js +409 -0
  171. data/assets/themes/j1/modules/materialize/js/cards.js +40 -0
  172. data/assets/themes/j1/modules/materialize/js/carousel.js +717 -0
  173. data/assets/themes/j1/modules/materialize/js/cash-dom.js +1044 -0
  174. data/assets/themes/j1/modules/materialize/js/cash.js +960 -0
  175. data/assets/themes/j1/modules/materialize/js/characterCounter.js +136 -0
  176. data/assets/themes/j1/modules/materialize/js/chips.js +481 -0
  177. data/assets/themes/j1/modules/materialize/js/collapsible.js +275 -0
  178. data/assets/themes/j1/modules/materialize/js/component.js +44 -0
  179. data/assets/themes/j1/modules/materialize/js/datepicker.js +975 -0
  180. data/assets/themes/j1/modules/materialize/js/dropdown.js +617 -0
  181. data/assets/themes/j1/modules/materialize/js/forms.js +275 -0
  182. data/assets/themes/j1/modules/materialize/js/global.js +427 -0
  183. data/assets/themes/j1/modules/materialize/js/materialbox.js +453 -0
  184. data/assets/themes/j1/modules/materialize/js/modal.js +382 -0
  185. data/assets/themes/j1/modules/materialize/js/parallax.js +138 -0
  186. data/assets/themes/j1/modules/materialize/js/pushpin.js +145 -0
  187. data/assets/themes/j1/modules/materialize/js/range.js +263 -0
  188. data/assets/themes/j1/modules/materialize/js/ripple.js +335 -0
  189. data/assets/themes/j1/modules/materialize/js/scrollspy.js +295 -0
  190. data/assets/themes/j1/modules/materialize/js/select.js +432 -0
  191. data/assets/themes/j1/modules/materialize/js/sidenav.js +580 -0
  192. data/assets/themes/j1/modules/materialize/js/slider.js +359 -0
  193. data/assets/themes/j1/modules/materialize/js/tabs.js +402 -0
  194. data/assets/themes/j1/modules/materialize/js/tapTarget.js +314 -0
  195. data/assets/themes/j1/modules/materialize/js/timepicker.js +647 -0
  196. data/assets/themes/j1/modules/materialize/js/toasts.js +310 -0
  197. data/assets/themes/j1/modules/materialize/js/tooltip.js +303 -0
  198. data/assets/themes/j1/modules/materialize/js/waves.js +335 -0
  199. data/assets/themes/j1/modules/materialize/scss/components/_badges.scss +55 -0
  200. data/assets/themes/j1/modules/materialize/scss/components/_buttons.scss +322 -0
  201. data/assets/themes/j1/modules/materialize/scss/components/_cards.scss +195 -0
  202. data/assets/themes/j1/modules/materialize/scss/components/_carousel.scss +90 -0
  203. data/assets/themes/j1/modules/materialize/scss/components/_chips.scss +90 -0
  204. data/assets/themes/j1/modules/materialize/scss/components/_collapsible.scss +91 -0
  205. data/assets/themes/j1/modules/materialize/scss/components/_color-classes.scss +32 -0
  206. data/assets/themes/j1/modules/materialize/scss/components/_color-variables.scss +370 -0
  207. data/assets/themes/j1/modules/materialize/scss/components/_datepicker.scss +191 -0
  208. data/assets/themes/j1/modules/materialize/scss/components/_dropdown.scss +85 -0
  209. data/assets/themes/j1/modules/materialize/scss/components/_global.scss +769 -0
  210. data/assets/themes/j1/modules/materialize/scss/components/_grid.scss +156 -0
  211. data/assets/themes/j1/modules/materialize/scss/components/_icons-material-design.scss +5 -0
  212. data/assets/themes/j1/modules/materialize/scss/components/_materialbox.scss +43 -0
  213. data/assets/themes/j1/modules/materialize/scss/components/_modal.scss +94 -0
  214. data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +208 -0
  215. data/assets/themes/j1/modules/materialize/scss/components/_normalize.scss +447 -0
  216. data/assets/themes/j1/modules/materialize/scss/components/_preloader.scss +334 -0
  217. data/assets/themes/j1/modules/materialize/scss/components/_pulse.scss +34 -0
  218. data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +216 -0
  219. data/assets/themes/j1/modules/materialize/scss/components/_slider.scss +92 -0
  220. data/assets/themes/j1/modules/materialize/scss/components/_table_of_contents.scss +33 -0
  221. data/assets/themes/j1/modules/materialize/scss/components/_tabs.scss +99 -0
  222. data/assets/themes/j1/modules/materialize/scss/components/_tapTarget.scss +103 -0
  223. data/assets/themes/j1/modules/materialize/scss/components/_timepicker.scss +183 -0
  224. data/assets/themes/j1/modules/materialize/scss/components/_toast.scss +58 -0
  225. data/assets/themes/j1/modules/materialize/scss/components/_tooltip.scss +32 -0
  226. data/assets/themes/j1/modules/materialize/scss/components/_transitions.scss +13 -0
  227. data/assets/themes/j1/modules/materialize/scss/components/_typography.scss +60 -0
  228. data/assets/themes/j1/modules/materialize/scss/components/_variables.scss +349 -0
  229. data/assets/themes/j1/modules/materialize/scss/components/_waves.scss +114 -0
  230. data/assets/themes/j1/modules/materialize/scss/components/forms/_checkboxes.scss +200 -0
  231. data/assets/themes/j1/modules/materialize/scss/components/forms/_file-input.scss +44 -0
  232. data/assets/themes/j1/modules/materialize/scss/components/forms/_forms.scss +22 -0
  233. data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +354 -0
  234. data/assets/themes/j1/modules/materialize/scss/components/forms/_radio-buttons.scss +115 -0
  235. data/assets/themes/j1/modules/materialize/scss/components/forms/_range.scss +161 -0
  236. data/assets/themes/j1/modules/materialize/scss/components/forms/_select.scss +180 -0
  237. data/assets/themes/j1/modules/materialize/scss/components/forms/_switches.scss +89 -0
  238. data/assets/themes/j1/modules/materialize/scss/materialize.scss +41 -0
  239. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +82 -0
  240. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +15 -0
  241. data/{lib/starter_web/collections/posts/private → assets/themes/j1/modules/mdiPreviewer/js}/readme +0 -0
  242. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +3 -3
  243. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +37 -11
  244. data/assets/themes/j1/modules/popper/js/popper.js +1 -1
  245. data/assets/themes/j1/modules/popper/js/popper.js.map +1 -1
  246. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -1
  247. data/assets/themes/j1/modules/rouge/js/select.js +25 -0
  248. data/assets/themes/j1/modules/rtable/LICENSE +22 -0
  249. data/assets/themes/j1/modules/rtable/README.md +418 -0
  250. data/assets/themes/j1/modules/rtable/css/tablesaw.stackonly.css +148 -0
  251. data/assets/themes/j1/modules/rtable/css/theme/uno.css +191 -0
  252. data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +191 -0
  253. data/assets/themes/j1/modules/rtable/js/rtable.js +692 -0
  254. data/assets/themes/j1/modules/rtable/js/rtable.min.js +690 -0
  255. data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +18 -0
  256. data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +2371 -0
  257. data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.js +46 -38
  258. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +26 -0
  259. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +153 -0
  260. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +19 -0
  261. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +12 -13
  262. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +12 -268
  263. data/assets/themes/j1/modules/twemoji/js/twemoji.js +11 -20
  264. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +11 -17
  265. data/lib/j1/version.rb +1 -1
  266. data/lib/j1_app/j1_auth_manager/config.rb +10 -5
  267. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +5 -5
  268. data/lib/starter_web/Gemfile +12 -16
  269. data/lib/starter_web/_config.yml +163 -23
  270. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  271. data/lib/starter_web/_data/blocks/banner.yml +46 -36
  272. data/lib/starter_web/_data/blocks/defaults/banner.yml +14 -13
  273. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  274. data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -2
  275. data/lib/starter_web/_data/blocks/footer.yml +1 -1
  276. data/lib/starter_web/_data/blocks/panel.yml +43 -37
  277. data/lib/starter_web/_data/{template_settings.yml → j1_config.yml} +62 -11
  278. data/lib/starter_web/_data/layouts/home.yml +21 -31
  279. data/lib/starter_web/_data/layouts/page.yml +10 -0
  280. data/lib/starter_web/_data/layouts/post.yml +10 -0
  281. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +3 -1
  282. data/lib/starter_web/_data/modules/defaults/{ssm.yml → fam.yml} +12 -15
  283. data/lib/starter_web/_data/modules/defaults/lunr_search.yml +171 -0
  284. data/lib/starter_web/_data/modules/defaults/navigator.yml +9 -9
  285. data/lib/starter_web/_data/modules/defaults/themer.yml +9 -13
  286. data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -2
  287. data/lib/starter_web/_data/modules/fam.yml +158 -0
  288. data/lib/starter_web/_data/modules/{back2top.yml → lunr_search.yml} +15 -9
  289. data/lib/starter_web/_data/modules/navigator.yml +2 -2
  290. data/lib/starter_web/_data/modules/navigator_menu.yml +60 -9
  291. data/lib/starter_web/_data/modules/themer.yml +0 -17
  292. data/lib/starter_web/_data/modules/toccer.yml +0 -73
  293. data/lib/starter_web/_data/private.yml +56 -108
  294. data/lib/starter_web/_data/resources.yml +238 -90
  295. data/lib/starter_web/_includes/attributes.asciidoc +194 -0
  296. data/lib/starter_web/_includes/breadcrumbs.html +11 -0
  297. data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -0
  298. data/lib/starter_web/{collections/posts/protected → _includes/documents}/readme +0 -0
  299. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +45 -0
  300. data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -0
  301. data/lib/starter_web/_plugins/debug.rb +0 -1
  302. data/lib/starter_web/_plugins/filters.rb +0 -1
  303. data/lib/starter_web/_plugins/{lorem-inline.rb → lorem_inline.rb} +1 -2
  304. data/lib/starter_web/_plugins/lunr_index.rb +313 -0
  305. data/lib/starter_web/_plugins/prettify.rb +0 -3
  306. data/lib/starter_web/_plugins/simple_search_filter.rb +0 -1
  307. data/lib/starter_web/_plugins/symlink_watcher.rb +2 -3
  308. data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
  309. data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
  310. data/lib/starter_web/assets/images/modules/attics/tldr-1920x800.jpg +0 -0
  311. data/lib/starter_web/assets/images/modules/icons/j1/favicon.ico +0 -0
  312. data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.png +0 -0
  313. data/lib/starter_web/assets/images/modules/icons/j1/j1-32x32.ico +0 -0
  314. data/lib/starter_web/assets/images/modules/icons/j1/j1-512x512.png +0 -0
  315. data/lib/starter_web/assets/images/modules/icons/j1/j1-64x64.png +0 -0
  316. data/lib/starter_web/assets/images/modules/icons/j1/j1.ico +0 -0
  317. data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +31 -35
  318. data/lib/starter_web/assets/images/pages/winlogbeat/coordinate-map.png +0 -0
  319. data/lib/starter_web/assets/images/pages/winlogbeat/kibana-powershell.jpg +0 -0
  320. data/lib/starter_web/assets/images/pages/winlogbeat/option_ignore_outgoing.png +0 -0
  321. data/lib/starter_web/assets/images/pages/winlogbeat/winlogbeat-dashboard.png +0 -0
  322. data/{assets/README.md → lib/starter_web/collections/posts/private/_posts/readme} +0 -0
  323. data/lib/starter_web/collections/posts/protected/_posts/readme +0 -0
  324. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +70 -72
  325. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +16 -6
  326. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +37 -28
  327. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +28 -24
  328. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +38 -0
  329. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +0 -0
  330. data/lib/starter_web/collections/posts/public/featured/_posts/{000_includes → _includes/documents}/unsplash-badge.asciidoc +0 -0
  331. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/tables/readme +0 -0
  332. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +494 -502
  333. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +144 -0
  334. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +146 -0
  335. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +146 -0
  336. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +146 -0
  337. data/lib/starter_web/collections/posts/public/{featured/_posts/000_includes → series/_posts/_includes}/attributes.asciidoc +8 -18
  338. data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/100-docker-using-shared-folders.asciidoc +0 -0
  339. data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/loop.sh +0 -0
  340. data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/tables/debug_variables.asciidoc +0 -0
  341. data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +218 -0
  342. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/000_includes → test_posts/_posts/_includes}/attributes.asciidoc +9 -21
  343. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
  344. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/000_includes → test_posts/_posts/_includes}/tables/debug_variables.asciidoc +0 -0
  345. data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
  346. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +16 -8
  347. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -7
  348. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -6
  349. data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/attributes.asciidoc +37 -0
  350. data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/documents/readme +0 -0
  351. data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/tables/readme +0 -0
  352. data/lib/starter_web/index.html +16 -10
  353. data/lib/starter_web/package.json +5 -2
  354. data/lib/starter_web/pages/protected/site_search.adoc +8 -19
  355. data/lib/starter_web/pages/public/about/about_site.adoc +0 -2
  356. data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -3
  357. data/lib/starter_web/pages/public/blog/navigator/archive.html +21 -20
  358. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +21 -23
  359. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +22 -21
  360. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +19 -15
  361. data/lib/starter_web/pages/public/blog/navigator/index.html +6 -2
  362. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +15 -21
  363. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +17 -24
  364. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +16 -23
  365. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/attributes.asciidoc +15 -13
  366. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +31 -0
  367. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/documents/200_preparations.asciidoc +0 -0
  368. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/documents/300_first_awesome_web.asciidoc +0 -0
  369. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/parts.asciidoc +1 -1
  370. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +48 -0
  371. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -0
  372. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +94 -108
  373. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +52 -60
  374. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +60 -72
  375. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +84 -90
  376. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +118 -138
  377. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +34 -42
  378. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +286 -96
  379. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +145 -59
  380. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +237 -0
  381. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +302 -0
  382. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/attributes.asciidoc +10 -29
  383. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +28 -0
  384. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_info.asciidoc +2 -2
  385. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_left_warning.asciidoc +2 -2
  386. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_right_danger.asciidoc +2 -2
  387. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_central_success.asciidoc +2 -2
  388. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_full_height_left_info.asciidoc +2 -2
  389. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_full_height_right_success.asciidoc +2 -2
  390. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_table_3_column.asciidoc +1 -1
  391. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_info.asciidoc +2 -2
  392. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_left_info.asciidoc +2 -2
  393. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_right_success.asciidoc +2 -2
  394. data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/419_advanced_modals_demo.asciidoc +16 -16
  395. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
  396. data/lib/starter_web/pages/public/learn/{whats_up.adoc → where_to_go.adoc} +26 -44
  397. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
  398. data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +2 -1
  399. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +7 -12
  400. data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +2 -1
  401. data/lib/starter_web/pages/public/legal/de/500_support.adoc +2 -1
  402. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +30 -27
  403. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +8 -5
  404. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +12 -8
  405. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +32 -31
  406. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +11 -3
  407. data/lib/starter_web/pages/public/legal/en/500_support.adoc +8 -1
  408. data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +1 -1
  409. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +66 -65
  410. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/attributes.asciidoc +22 -8
  411. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -0
  412. data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
  413. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  414. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  415. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
  416. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/200_rotate.asciidoc +1 -1
  417. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/300_flip.asciidoc +1 -1
  418. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  419. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  420. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  421. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  422. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  423. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  424. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  425. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  426. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  427. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/300_flip.asciidoc +1 -1
  428. data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  429. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1374 -596
  430. data/lib/starter_web/pages/public/previewer/iframer.adoc +37 -35
  431. data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -1
  432. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +12 -20
  433. data/lib/starter_web/pages/public/previewer/rouge.adoc +202 -0
  434. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +24 -30
  435. data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +49 -0
  436. data/lib/starter_web/pages/public/{learn/roundtrip/000_includes → test_pages/_includes}/documents/100_gistblock.asciidoc +0 -0
  437. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +22 -0
  438. data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +56 -0
  439. data/lib/starter_web/pages/public/test_pages/breadcrumbs_tester.adoc +62 -0
  440. data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +165 -0
  441. data/lib/starter_web/pages/public/test_pages/floating_actions_button.adoc +523 -0
  442. data/lib/starter_web/pages/public/{learn/examples → test_pages}/floating_ad.adoc +8 -21
  443. data/lib/starter_web/pages/public/{learn/examples → test_pages}/floating_div.adoc +25 -38
  444. data/lib/starter_web/pages/public/test_pages/lunr_tester.adoc +89 -0
  445. data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +284 -0
  446. data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +196 -0
  447. data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +213 -0
  448. data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +210 -0
  449. data/lib/starter_web/pages/public/test_pages/toccer_tester.adoc +2245 -0
  450. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/attributes.asciidoc +0 -0
  451. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -0
  452. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -0
  453. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -0
  454. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -0
  455. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -0
  456. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -0
  457. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -0
  458. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  459. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -0
  460. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -0
  461. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -0
  462. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -0
  463. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/000_test_youtube_video.adoc +0 -0
  464. data/lib/starter_web/pages/public/{learn → test_pages}/vtutorials/100_basic_video.adoc +0 -0
  465. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  466. data/lib/starter_web/utilsrv/package.json +1 -1
  467. metadata +263 -145
  468. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc.org +0 -40
  469. data/assets/data/jupyter/notebooks/_html/template.full.head.html +0 -75
  470. data/assets/data/jupyter/notebooks/_html/visualisation.html +0 -968
  471. data/assets/data/jupyter/notebooks/html/template.html +0 -50
  472. data/assets/data/jupyter/notebooks/html/visualisation.ok.html +0 -949
  473. data/assets/data/jupyter/notebooks/tutorial.ipynb +0 -169
  474. data/assets/data/jupyter/notebooks/visualisation.ipynb +0 -9413
  475. data/assets/data/search.json +0 -165
  476. data/assets/data/ssm.html +0 -242
  477. data/assets/themes/j1/adapter/js/back2top.js +0 -233
  478. data/assets/themes/j1/core/css/material-design-icons.min.css +0 -1
  479. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +0 -1
  480. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +0 -10278
  481. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +0 -1
  482. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +0 -7
  483. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +0 -1
  484. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +0 -4420
  485. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +0 -1
  486. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +0 -7
  487. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +0 -1
  488. data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +0 -203
  489. data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +0 -235
  490. data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +0 -509
  491. data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +0 -122
  492. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +0 -20
  493. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +0 -468
  494. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +0 -6
  495. data/assets/themes/j1/modules/jqMouseWheel/README.md +0 -76
  496. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +0 -221
  497. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +0 -9
  498. data/assets/themes/j1/modules/noUISlider/LICENSE +0 -13
  499. data/assets/themes/j1/modules/noUISlider/css/nouislider.css +0 -260
  500. data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +0 -1
  501. data/assets/themes/j1/modules/noUISlider/js/nouislider.js +0 -2312
  502. data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +0 -3
  503. data/assets/themes/j1/modules/polyfills/js/msie.js +0 -140
  504. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +0 -89
  505. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +0 -89
  506. data/assets/themes/j1/modules/tocbot/css/tocbot.css +0 -75
  507. data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +0 -19
  508. data/assets/themes/j1/modules/tocbot/js/tocbot.js +0 -19
  509. data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +0 -19
  510. data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -146
  511. data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +0 -132
  512. data/lib/starter_web/_data/modules/defaults/stickybits.yml +0 -36
  513. data/lib/starter_web/_data/modules/ssm.yml +0 -142
  514. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
  515. data/lib/starter_web/collections/posts/public/series/_posts/000_includes/attributes.asciidoc +0 -66
  516. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  517. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +0 -120
  518. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +0 -144
  519. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +0 -642
  520. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/attributes.asciidoc +0 -69
  521. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/documents/100_buttons.asciidoc +0 -170
  522. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +0 -52
  523. data/lib/starter_web/pages/public/learn/roundtrip/bs_tour.js +0 -98
@@ -6168,6 +6168,9 @@
6168
6168
  return;
6169
6169
  }
6170
6170
 
6171
+ // jadams, 2020-10-10
6172
+ // $('body').addClass('mm-ocd-opened');
6173
+
6171
6174
  $(".bmd-layout-drawer").hide();
6172
6175
  this.$element.show();
6173
6176
  this.$toggles.attr("aria-expanded", true);
@@ -6190,6 +6193,9 @@
6190
6193
  return;
6191
6194
  }
6192
6195
 
6196
+ // jadams, 2020-10-10
6197
+ // $('body').removeClass('mm-ocd-opened');
6198
+
6193
6199
  this.$toggles.attr("aria-expanded", false);
6194
6200
  this.$element.attr("aria-expanded", false);
6195
6201
  this.$element.attr("aria-hidden", true);
@@ -1,19 +1,18 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/carousel/css/carousel.css
4
- # J1 Carousel Styles (Owl Carousel)
3
+ # ~/assets/themes/j1/modules/carousel/css/carousel.css
4
+ # J1 Carousel Styles (Owl Carousel)
5
5
  #
6
- # Product/Info:
7
- # https://jekyll.one
6
+ # Product/Info:
7
+ # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
9
+ # Copyright (C) 2020 Juergen Adams
13
10
  #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
13
  # -----------------------------------------------------------------------------
15
14
  */
16
-
15
+
17
16
  /* clearfix */
18
17
  .owl-carousel .owl-wrapper:after {
19
18
  content: ".";
@@ -1,17 +1,15 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/carousel/css/carousel.min.css
4
- # J1 Carousel Styles (Owl Carousel)
3
+ # ~/assets/themes/j1/modules/carousel/css/carousel.min.css
4
+ # J1 Carousel Styles (Owl Carousel)
5
5
  #
6
- # Product/Info:
7
- # https://jekyll.one
6
+ # Product/Info:
7
+ # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
9
+ # Copyright (C) 2020 Juergen Adams
13
10
  #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
13
  # -----------------------------------------------------------------------------
15
14
  */
16
-
17
15
  .owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel{display:none;position:relative;width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper{display:none;position:relative;-webkit-transform:translate3d(0px,0px,0px)}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-page,.owl-controls .owl-buttons div{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.grabbing{cursor:url(../images/grabbing.png) 8 8,move}.owl-carousel .owl-wrapper,.owl-carousel .owl-item{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}
@@ -1,16 +1,15 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/carousel/css/carousel_transitions.css
4
- # J1 Carousel CSS3 Transitions (Owl Carousel)
3
+ # ~/assets/themes/j1/modules/carousel/css/carousel_transitions.css
4
+ # J1 Carousel CSS3 Transitions (Owl Carousel)
5
5
  #
6
- # Product/Info:
7
- # https://jekyll.one
6
+ # Product/Info:
7
+ # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
9
+ # Copyright (C) 2020 Juergen Adams
13
10
  #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
13
  # -----------------------------------------------------------------------------
15
14
  */
16
15
 
@@ -1,17 +1,15 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css
4
- # J1 Carousel CSS3 Transitions (Owl Carousel)
3
+ # ~/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css
4
+ # J1 Carousel CSS3 Transitions (Owl Carousel)
5
5
  #
6
- # Product/Info:
7
- # https://jekyll.one
6
+ # Product/Info:
7
+ # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
9
+ # Copyright (C) 2020 Juergen Adams
13
10
  #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
13
  # -----------------------------------------------------------------------------
15
14
  */
16
-
17
15
  .owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}@-webkit-keyframes empty{0%{opacity:1}}@-moz-keyframes empty{0%{opacity:1}}@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}75%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}100%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}75%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}100%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}100%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}@keyframes scaleUpTo{to{opacity:0;transform:scale(1.5)}}
@@ -1,16 +1,15 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/carousel/css/theme/uno.css
4
- # J1 Carousel styles for J1 Theme Uno
3
+ # ~/assets/themes/j1/modules/carousel/css/theme/uno.css
4
+ # J1 Carousel styles for Theme Uno
5
5
  #
6
- # Product/Info:
7
- # https://jekyll.one
6
+ # Product/Info:
7
+ # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
9
+ # Copyright (C) 2020 Juergen Adams
13
10
  #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
13
  # -----------------------------------------------------------------------------
15
14
  */
16
15
 
@@ -53,15 +52,21 @@ padding-left: 1px;
53
52
  }
54
53
 
55
54
  /* Carousel title */
56
- .slider-title {
55
+ /* .slider-title {
57
56
  color: rgba(0, 0, 0, 0.6);
58
57
  line-height: 1.25;
59
58
  font-size: 1.25rem;
60
59
  font-weight: 500;
61
60
  font-style: italic;
62
61
  margin: 0 0 .25rem .25rem;
63
- }
62
+ } */
64
63
 
64
+ .slider-title {
65
+ font-weight: 600;
66
+ font-style: italic;
67
+ margin-bottom: .25rem;
68
+ margin-left: .25rem;
69
+ }
65
70
  /* Carousel caption text
66
71
  ------------------------------------------------------------------ */
67
72
 
@@ -1,16 +1,15 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/carousel/css/theme/uno.css
4
- # J1 Carousel styles for J1 Theme Uno
3
+ # ~/assets/themes/j1/modules/carousel/css/theme/uno.mincss
4
+ # J1 Carousel styles for Theme Uno
5
5
  #
6
- # Product/Info:
7
- # https://jekyll.one
6
+ # Product/Info:
7
+ # https://jekyll.one
8
8
  #
9
- # Copyright (C) 2020 Juergen Adams
10
- #
11
- # J1 Template is licensed under the MIT License.
12
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
9
+ # Copyright (C) 2020 Juergen Adams
13
10
  #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
14
13
  # -----------------------------------------------------------------------------
15
14
  */
16
- .j1-owl-gutter.row{margin-right:0;margin-left:0}.j1-owl-gutter>[class^="col-"],.j1-owl-gutter>[class^=" col-"]{padding-right:0;padding-left:0}.j1-owl-gutter-2.row{margin-right:-1px;margin-left:-1px}.j1-owl-gutter-2>[class^="col-"],.j1-owl-gutter-2>[class^=" col-"]{padding-right:1px;padding-left:1px}.owl-carousel .item p{margin:3px}.owl-carousel .item img{opacity:1;width:100%;height:auto}.slider-title{color:rgba(0,0,0,0.6);line-height:1.25;font-size:1.25rem;font-weight:500;font-style:italic;margin:0 0 .25rem .25rem}.owl-item .carousel-caption{opacity:0;position:absolute;bottom:3px;left:3px;right:3px;color:white;font-size:1rem;font-weight:300;font-family:sans-serif;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}.owl-item .carousel-caption:hover{opacity:1;-webkit-transition:opacity 500ms;-moz-transition:opacity 500ms;-o-transition:opacity 500ms;transition:opacity 500ms;background:rgba(0,0,0,0.5)}span.carousel-caption a{color:#fff;text-decoration:none}.owl-btn{color:#777;cursor:pointer;font-size:18px;padding:2px 9px;text-align:center;background:#f5f5f5}.owl-btn:hover{color:#fff;background:#72c02c}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;*display:inline;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1;*display:inline}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-item.loading{min-height:150px;background:url(../../images/ajax-loader.gif) no-repeat center center}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-item.loading{min-height:150px;background:url(../../images/ajax-loader.gif) no-repeat center center}
15
+ .j1-owl-gutter.row{margin-right:0;margin-left:0}.j1-owl-gutter>[class^="col-"],.j1-owl-gutter>[class^=" col-"]{padding-right:0;padding-left:0}.j1-owl-gutter-2.row{margin-right:-1px;margin-left:-1px}.j1-owl-gutter-2>[class^="col-"],.j1-owl-gutter-2>[class^=" col-"]{padding-right:1px;padding-left:1px}.owl-carousel .item p{margin:3px}.owl-carousel .item img{opacity:1;width:100%;height:auto}.slider-title{color:rgba(0,0,0,0.6);line-height:1.25;font-size:1.25rem;font-weight:500;font-style:italic;margin:0 0 .25rem .25rem}.owl-item .carousel-caption{opacity:0;position:absolute;bottom:3px;left:3px;right:3px;color:white;font-size:1rem;font-weight:300;font-family:sans-serif;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}.owl-item .carousel-caption:hover{opacity:1;-webkit-transition:opacity 500ms;-moz-transition:opacity 500ms;-o-transition:opacity 500ms;transition:opacity 500ms;background:rgba(0,0,0,0.5)}span.carousel-caption a{color:#fff;text-decoration:none}.owl-btn{color:#777;cursor:pointer;font-size:18px;padding:2px 9px;text-align:center;background:#f5f5f5}.owl-btn:hover{color:#fff;background:#72c02c}.owl-theme .owl-controls{margin-top:10px;text-align:center}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;*display:inline;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1;*display:inline}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-item.loading{min-height:150px;background:url(../../images/ajax-loader.gif) no-repeat center center}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-item.loading{min-height:150px;background:url(../../images/ajax-loader.gif) no-repeat center center}
@@ -0,0 +1,1374 @@
1
+ /* MIT https://github.com/fabiospampinato/cash */
2
+ (function(){
3
+ "use strict";
4
+
5
+ var propMap = {
6
+ /* GENERAL */
7
+ "class": 'className',
8
+ contenteditable: 'contentEditable',
9
+
10
+ /* LABEL */
11
+ "for": 'htmlFor',
12
+
13
+ /* INPUT */
14
+ readonly: 'readOnly',
15
+ maxlength: 'maxLength',
16
+ tabindex: 'tabIndex',
17
+
18
+ /* TABLE */
19
+ colspan: 'colSpan',
20
+ rowspan: 'rowSpan',
21
+
22
+ /* IMAGE */
23
+ usemap: 'useMap'
24
+ };
25
+
26
+ function attempt(fn, arg) {
27
+ try {
28
+ return fn(arg);
29
+ } catch (_a) {
30
+ return arg;
31
+ }
32
+ }
33
+
34
+ var doc = document,
35
+ win = window,
36
+ docEle = doc.documentElement,
37
+ createElement = doc.createElement.bind(doc),
38
+ div = createElement('div'),
39
+ table = createElement('table'),
40
+ tbody = createElement('tbody'),
41
+ tr = createElement('tr'),
42
+ isArray = Array.isArray,
43
+ ArrayPrototype = Array.prototype,
44
+ concat = ArrayPrototype.concat,
45
+ filter = ArrayPrototype.filter,
46
+ indexOf = ArrayPrototype.indexOf,
47
+ map = ArrayPrototype.map,
48
+ push = ArrayPrototype.push,
49
+ slice = ArrayPrototype.slice,
50
+ some = ArrayPrototype.some,
51
+ splice = ArrayPrototype.splice;
52
+ var idRe = /^#(?:[\w-]|\\.|[^\x00-\xa0])*$/,
53
+ classRe = /^\.(?:[\w-]|\\.|[^\x00-\xa0])*$/,
54
+ htmlRe = /<.+>/,
55
+ tagRe = /^\w+$/; // @require ./variables.ts
56
+
57
+ function find(selector, context) {
58
+ return !selector || !isDocument(context) && !isElement(context) ? [] : classRe.test(selector) ? context.getElementsByClassName(selector.slice(1)) : tagRe.test(selector) ? context.getElementsByTagName(selector) : context.querySelectorAll(selector);
59
+ } // @require ./find.ts
60
+ // @require ./variables.ts
61
+
62
+
63
+ var Cash =
64
+ /** @class */
65
+ function () {
66
+ function Cash(selector, context) {
67
+ if (!selector) return;
68
+ if (isCash(selector)) return selector;
69
+ var eles = selector;
70
+
71
+ if (isString(selector)) {
72
+ var ctx = (isCash(context) ? context[0] : context) || doc;
73
+ eles = idRe.test(selector) ? ctx.getElementById(selector.slice(1)) : htmlRe.test(selector) ? parseHTML(selector) : find(selector, ctx);
74
+ if (!eles) return;
75
+ } else if (isFunction(selector)) {
76
+ return this.ready(selector); //FIXME: `fn.ready` is not included in `core`, but it's actually a core functionality
77
+ }
78
+
79
+ if (eles.nodeType || eles === win) eles = [eles];
80
+ this.length = eles.length;
81
+
82
+ for (var i = 0, l = this.length; i < l; i++) {
83
+ this[i] = eles[i];
84
+ }
85
+ }
86
+
87
+ Cash.prototype.init = function (selector, context) {
88
+ return new Cash(selector, context);
89
+ };
90
+
91
+ return Cash;
92
+ }();
93
+
94
+ var fn = Cash.prototype,
95
+ cash = fn.init;
96
+ cash.fn = cash.prototype = fn; // Ensuring that `cash () instanceof cash`
97
+
98
+ fn.length = 0;
99
+ fn.splice = splice; // Ensuring a cash collection gets printed as array-like in Chrome's devtools
100
+
101
+ if (typeof Symbol === 'function') {
102
+ // Ensuring a cash collection is iterable
103
+ fn[Symbol['iterator']] = ArrayPrototype[Symbol['iterator']];
104
+ }
105
+
106
+ fn.map = function (callback) {
107
+ return cash(concat.apply([], map.call(this, function (ele, i) {
108
+ return callback.call(ele, i, ele);
109
+ })));
110
+ };
111
+
112
+ fn.slice = function (start, end) {
113
+ return cash(slice.call(this, start, end));
114
+ }; // @require ./cash.ts
115
+
116
+
117
+ var dashAlphaRe = /-([a-z])/g;
118
+
119
+ function camelCase(str) {
120
+ return str.replace(dashAlphaRe, function (match, letter) {
121
+ return letter.toUpperCase();
122
+ });
123
+ }
124
+
125
+ cash.guid = 1; // @require ./cash.ts
126
+
127
+ function matches(ele, selector) {
128
+ var matches = ele && (ele['matches'] || ele['webkitMatchesSelector'] || ele['msMatchesSelector']);
129
+ return !!matches && !!selector && matches.call(ele, selector);
130
+ }
131
+
132
+ function isCash(x) {
133
+ return x instanceof Cash;
134
+ }
135
+
136
+ function isWindow(x) {
137
+ return !!x && x === x.window;
138
+ }
139
+
140
+ function isDocument(x) {
141
+ return !!x && x.nodeType === 9;
142
+ }
143
+
144
+ function isElement(x) {
145
+ return !!x && x.nodeType === 1;
146
+ }
147
+
148
+ function isBoolean(x) {
149
+ return typeof x === 'boolean';
150
+ }
151
+
152
+ function isFunction(x) {
153
+ return typeof x === 'function';
154
+ }
155
+
156
+ function isString(x) {
157
+ return typeof x === 'string';
158
+ }
159
+
160
+ function isUndefined(x) {
161
+ return x === undefined;
162
+ }
163
+
164
+ function isNull(x) {
165
+ return x === null;
166
+ }
167
+
168
+ function isNumeric(x) {
169
+ return !isNaN(parseFloat(x)) && isFinite(x);
170
+ }
171
+
172
+ function isPlainObject(x) {
173
+ if (typeof x !== 'object' || x === null) return false;
174
+ var proto = Object.getPrototypeOf(x);
175
+ return proto === null || proto === Object.prototype;
176
+ }
177
+
178
+ cash.isWindow = isWindow;
179
+ cash.isFunction = isFunction;
180
+ cash.isArray = isArray;
181
+ cash.isNumeric = isNumeric;
182
+ cash.isPlainObject = isPlainObject;
183
+
184
+ fn.get = function (index) {
185
+ if (isUndefined(index)) return slice.call(this);
186
+ index = Number(index);
187
+ return this[index < 0 ? index + this.length : index];
188
+ };
189
+
190
+ fn.eq = function (index) {
191
+ return cash(this.get(index));
192
+ };
193
+
194
+ fn.first = function () {
195
+ return this.eq(0);
196
+ };
197
+
198
+ fn.last = function () {
199
+ return this.eq(-1);
200
+ };
201
+
202
+ function each(arr, callback, _reverse) {
203
+ if (_reverse) {
204
+ var i = arr.length;
205
+
206
+ while (i--) {
207
+ if (callback.call(arr[i], i, arr[i]) === false) return arr;
208
+ }
209
+ } else if (isPlainObject(arr)) {
210
+ var keys = Object.keys(arr);
211
+
212
+ for (var i = 0, l = keys.length; i < l; i++) {
213
+ var key = keys[i];
214
+ if (callback.call(arr[key], key, arr[key]) === false) return arr;
215
+ }
216
+ } else {
217
+ for (var i = 0, l = arr.length; i < l; i++) {
218
+ if (callback.call(arr[i], i, arr[i]) === false) return arr;
219
+ }
220
+ }
221
+
222
+ return arr;
223
+ }
224
+
225
+ cash.each = each;
226
+
227
+ fn.each = function (callback) {
228
+ return each(this, callback);
229
+ };
230
+
231
+ fn.prop = function (prop, value) {
232
+ if (!prop) return;
233
+
234
+ if (isString(prop)) {
235
+ prop = propMap[prop] || prop;
236
+ if (arguments.length < 2) return this[0] && this[0][prop];
237
+ return this.each(function (i, ele) {
238
+ ele[prop] = value;
239
+ });
240
+ }
241
+
242
+ for (var key in prop) {
243
+ this.prop(key, prop[key]);
244
+ }
245
+
246
+ return this;
247
+ };
248
+
249
+ fn.removeProp = function (prop) {
250
+ return this.each(function (i, ele) {
251
+ delete ele[propMap[prop] || prop];
252
+ });
253
+ };
254
+
255
+ function extend() {
256
+ var sources = [];
257
+
258
+ for (var _i = 0; _i < arguments.length; _i++) {
259
+ sources[_i] = arguments[_i];
260
+ }
261
+
262
+ var deep = isBoolean(sources[0]) ? sources.shift() : false,
263
+ target = sources.shift(),
264
+ length = sources.length;
265
+ if (!target) return {};
266
+ if (!length) return extend(deep, cash, target);
267
+
268
+ for (var i = 0; i < length; i++) {
269
+ var source = sources[i];
270
+
271
+ for (var key in source) {
272
+ if (deep && (isArray(source[key]) || isPlainObject(source[key]))) {
273
+ if (!target[key] || target[key].constructor !== source[key].constructor) target[key] = new source[key].constructor();
274
+ extend(deep, target[key], source[key]);
275
+ } else {
276
+ target[key] = source[key];
277
+ }
278
+ }
279
+ }
280
+
281
+ return target;
282
+ }
283
+
284
+ cash.extend = extend;
285
+
286
+ fn.extend = function (plugins) {
287
+ return extend(fn, plugins);
288
+ }; // @require ./matches.ts
289
+ // @require ./type_checking.ts
290
+
291
+
292
+ function getCompareFunction(comparator) {
293
+ return isString(comparator) ? function (i, ele) {
294
+ return matches(ele, comparator);
295
+ } : isFunction(comparator) ? comparator : isCash(comparator) ? function (i, ele) {
296
+ return comparator.is(ele);
297
+ } : !comparator ? function () {
298
+ return false;
299
+ } : function (i, ele) {
300
+ return ele === comparator;
301
+ };
302
+ }
303
+
304
+ fn.filter = function (comparator) {
305
+ var compare = getCompareFunction(comparator);
306
+ return cash(filter.call(this, function (ele, i) {
307
+ return compare.call(ele, i, ele);
308
+ }));
309
+ }; // @require collection/filter.ts
310
+
311
+
312
+ function filtered(collection, comparator) {
313
+ return !comparator ? collection : collection.filter(comparator);
314
+ } // @require ./type_checking.ts
315
+
316
+
317
+ var splitValuesRe = /\S+/g;
318
+
319
+ function getSplitValues(str) {
320
+ return isString(str) ? str.match(splitValuesRe) || [] : [];
321
+ }
322
+
323
+ fn.hasClass = function (cls) {
324
+ return !!cls && some.call(this, function (ele) {
325
+ return isElement(ele) && ele.classList.contains(cls);
326
+ });
327
+ };
328
+
329
+ fn.removeAttr = function (attr) {
330
+ var attrs = getSplitValues(attr);
331
+ return this.each(function (i, ele) {
332
+ if (!isElement(ele)) return;
333
+ each(attrs, function (i, a) {
334
+ ele.removeAttribute(a);
335
+ });
336
+ });
337
+ };
338
+
339
+ function attr(attr, value) {
340
+ if (!attr) return;
341
+
342
+ if (isString(attr)) {
343
+ if (arguments.length < 2) {
344
+ if (!this[0] || !isElement(this[0])) return;
345
+ var value_1 = this[0].getAttribute(attr);
346
+ return isNull(value_1) ? undefined : value_1;
347
+ }
348
+
349
+ if (isUndefined(value)) return this;
350
+ if (isNull(value)) return this.removeAttr(attr);
351
+ return this.each(function (i, ele) {
352
+ if (!isElement(ele)) return;
353
+ ele.setAttribute(attr, value);
354
+ });
355
+ }
356
+
357
+ for (var key in attr) {
358
+ this.attr(key, attr[key]);
359
+ }
360
+
361
+ return this;
362
+ }
363
+
364
+ fn.attr = attr;
365
+
366
+ fn.toggleClass = function (cls, force) {
367
+ var classes = getSplitValues(cls),
368
+ isForce = !isUndefined(force);
369
+ return this.each(function (i, ele) {
370
+ if (!isElement(ele)) return;
371
+ each(classes, function (i, c) {
372
+ if (isForce) {
373
+ force ? ele.classList.add(c) : ele.classList.remove(c);
374
+ } else {
375
+ ele.classList.toggle(c);
376
+ }
377
+ });
378
+ });
379
+ };
380
+
381
+ fn.addClass = function (cls) {
382
+ return this.toggleClass(cls, true);
383
+ };
384
+
385
+ fn.removeClass = function (cls) {
386
+ if (arguments.length) return this.toggleClass(cls, false);
387
+ return this.attr('class', '');
388
+ };
389
+
390
+ function pluck(arr, prop, deep, until) {
391
+ var plucked = [],
392
+ isCallback = isFunction(prop),
393
+ compare = until && getCompareFunction(until);
394
+
395
+ for (var i = 0, l = arr.length; i < l; i++) {
396
+ if (isCallback) {
397
+ var val_1 = prop(arr[i]);
398
+ if (val_1.length) push.apply(plucked, val_1);
399
+ } else {
400
+ var val_2 = arr[i][prop];
401
+
402
+ while (val_2 != null) {
403
+ if (until && compare(-1, val_2)) break;
404
+ plucked.push(val_2);
405
+ val_2 = deep ? val_2[prop] : null;
406
+ }
407
+ }
408
+ }
409
+
410
+ return plucked;
411
+ }
412
+
413
+ function unique(arr) {
414
+ return arr.length > 1 ? filter.call(arr, function (item, index, self) {
415
+ return indexOf.call(self, item) === index;
416
+ }) : arr;
417
+ }
418
+
419
+ cash.unique = unique;
420
+
421
+ fn.add = function (selector, context) {
422
+ return cash(unique(this.get().concat(cash(selector, context).get())));
423
+ }; // @require core/type_checking.ts
424
+ // @require core/variables.ts
425
+
426
+
427
+ function computeStyle(ele, prop, isVariable) {
428
+ if (!isElement(ele)) return;
429
+ var style = win.getComputedStyle(ele, null);
430
+ return isVariable ? style.getPropertyValue(prop) || undefined : style[prop] || ele.style[prop];
431
+ } // @require ./compute_style.ts
432
+
433
+
434
+ function computeStyleInt(ele, prop) {
435
+ return parseInt(computeStyle(ele, prop), 10) || 0;
436
+ }
437
+
438
+ var cssVariableRe = /^--/; // @require ./variables.ts
439
+
440
+ function isCSSVariable(prop) {
441
+ return cssVariableRe.test(prop);
442
+ } // @require core/camel_case.ts
443
+ // @require core/cash.ts
444
+ // @require core/each.ts
445
+ // @require core/variables.ts
446
+ // @require ./is_css_variable.ts
447
+
448
+
449
+ var prefixedProps = {},
450
+ style = div.style,
451
+ vendorsPrefixes = ['webkit', 'moz', 'ms'];
452
+
453
+ function getPrefixedProp(prop, isVariable) {
454
+ if (isVariable === void 0) {
455
+ isVariable = isCSSVariable(prop);
456
+ }
457
+
458
+ if (isVariable) return prop;
459
+
460
+ if (!prefixedProps[prop]) {
461
+ var propCC = camelCase(prop),
462
+ propUC = "" + propCC[0].toUpperCase() + propCC.slice(1),
463
+ props = (propCC + " " + vendorsPrefixes.join(propUC + " ") + propUC).split(' ');
464
+ each(props, function (i, p) {
465
+ if (p in style) {
466
+ prefixedProps[prop] = p;
467
+ return false;
468
+ }
469
+ });
470
+ }
471
+
472
+ return prefixedProps[prop];
473
+ }
474
+
475
+ ; // @require core/type_checking.ts
476
+ // @require ./is_css_variable.ts
477
+
478
+ var numericProps = {
479
+ animationIterationCount: true,
480
+ columnCount: true,
481
+ flexGrow: true,
482
+ flexShrink: true,
483
+ fontWeight: true,
484
+ gridArea: true,
485
+ gridColumn: true,
486
+ gridColumnEnd: true,
487
+ gridColumnStart: true,
488
+ gridRow: true,
489
+ gridRowEnd: true,
490
+ gridRowStart: true,
491
+ lineHeight: true,
492
+ opacity: true,
493
+ order: true,
494
+ orphans: true,
495
+ widows: true,
496
+ zIndex: true
497
+ };
498
+
499
+ function getSuffixedValue(prop, value, isVariable) {
500
+ if (isVariable === void 0) {
501
+ isVariable = isCSSVariable(prop);
502
+ }
503
+
504
+ return !isVariable && !numericProps[prop] && isNumeric(value) ? value + "px" : value;
505
+ }
506
+
507
+ function css(prop, value) {
508
+ if (isString(prop)) {
509
+ var isVariable_1 = isCSSVariable(prop);
510
+ prop = getPrefixedProp(prop, isVariable_1);
511
+ if (arguments.length < 2) return this[0] && computeStyle(this[0], prop, isVariable_1);
512
+ if (!prop) return this;
513
+ value = getSuffixedValue(prop, value, isVariable_1);
514
+ return this.each(function (i, ele) {
515
+ if (!isElement(ele)) return;
516
+
517
+ if (isVariable_1) {
518
+ ele.style.setProperty(prop, value);
519
+ } else {
520
+ ele.style[prop] = value;
521
+ }
522
+ });
523
+ }
524
+
525
+ for (var key in prop) {
526
+ this.css(key, prop[key]);
527
+ }
528
+
529
+ return this;
530
+ }
531
+
532
+ ;
533
+ fn.css = css; // @optional ./css.ts
534
+ // @require core/attempt.ts
535
+ // @require core/camel_case.ts
536
+
537
+ var JSONStringRe = /^\s+|\s+$/;
538
+
539
+ function getData(ele, key) {
540
+ var value = ele.dataset[key] || ele.dataset[camelCase(key)];
541
+ if (JSONStringRe.test(value)) return value;
542
+ return attempt(JSON.parse, value);
543
+ } // @require core/attempt.ts
544
+ // @require core/camel_case.ts
545
+
546
+
547
+ function setData(ele, key, value) {
548
+ value = attempt(JSON.stringify, value);
549
+ ele.dataset[camelCase(key)] = value;
550
+ }
551
+
552
+ function data(name, value) {
553
+ if (!name) {
554
+ if (!this[0]) return;
555
+ var datas = {};
556
+
557
+ for (var key in this[0].dataset) {
558
+ datas[key] = getData(this[0], key);
559
+ }
560
+
561
+ return datas;
562
+ }
563
+
564
+ if (isString(name)) {
565
+ if (arguments.length < 2) return this[0] && getData(this[0], name);
566
+ if (isUndefined(value)) return this;
567
+ return this.each(function (i, ele) {
568
+ setData(ele, name, value);
569
+ });
570
+ }
571
+
572
+ for (var key in name) {
573
+ this.data(key, name[key]);
574
+ }
575
+
576
+ return this;
577
+ }
578
+
579
+ fn.data = data; // @optional ./data.ts
580
+
581
+ function getDocumentDimension(doc, dimension) {
582
+ var docEle = doc.documentElement;
583
+ return Math.max(doc.body["scroll" + dimension], docEle["scroll" + dimension], doc.body["offset" + dimension], docEle["offset" + dimension], docEle["client" + dimension]);
584
+ } // @require css/helpers/compute_style_int.ts
585
+
586
+
587
+ function getExtraSpace(ele, xAxis) {
588
+ return computeStyleInt(ele, "border" + (xAxis ? 'Left' : 'Top') + "Width") + computeStyleInt(ele, "padding" + (xAxis ? 'Left' : 'Top')) + computeStyleInt(ele, "padding" + (xAxis ? 'Right' : 'Bottom')) + computeStyleInt(ele, "border" + (xAxis ? 'Right' : 'Bottom') + "Width");
589
+ }
590
+
591
+ each([true, false], function (i, outer) {
592
+ each(['Width', 'Height'], function (i, prop) {
593
+ var name = "" + (outer ? 'outer' : 'inner') + prop;
594
+
595
+ fn[name] = function (includeMargins) {
596
+ if (!this[0]) return;
597
+ if (isWindow(this[0])) return outer ? this[0]["inner" + prop] : this[0].document.documentElement["client" + prop];
598
+ if (isDocument(this[0])) return getDocumentDimension(this[0], prop);
599
+ return this[0]["" + (outer ? 'offset' : 'client') + prop] + (includeMargins && outer ? computeStyleInt(this[0], "margin" + (i ? 'Top' : 'Left')) + computeStyleInt(this[0], "margin" + (i ? 'Bottom' : 'Right')) : 0);
600
+ };
601
+ });
602
+ });
603
+ each(['Width', 'Height'], function (index, prop) {
604
+ var propLC = prop.toLowerCase();
605
+
606
+ fn[propLC] = function (value) {
607
+ if (!this[0]) return isUndefined(value) ? undefined : this;
608
+
609
+ if (!arguments.length) {
610
+ if (isWindow(this[0])) return this[0].document.documentElement["client" + prop];
611
+ if (isDocument(this[0])) return getDocumentDimension(this[0], prop);
612
+ return this[0].getBoundingClientRect()[propLC] - getExtraSpace(this[0], !index);
613
+ }
614
+
615
+ var valueNumber = parseInt(value, 10);
616
+ return this.each(function (i, ele) {
617
+ if (!isElement(ele)) return;
618
+ var boxSizing = computeStyle(ele, 'boxSizing');
619
+ ele.style[propLC] = getSuffixedValue(propLC, valueNumber + (boxSizing === 'border-box' ? getExtraSpace(ele, !index) : 0));
620
+ });
621
+ };
622
+ }); // @optional ./inner_outer.ts
623
+ // @optional ./normal.ts
624
+ // @require css/helpers/compute_style.ts
625
+
626
+ var defaultDisplay = {};
627
+
628
+ function getDefaultDisplay(tagName) {
629
+ if (defaultDisplay[tagName]) return defaultDisplay[tagName];
630
+ var ele = createElement(tagName);
631
+ doc.body.insertBefore(ele, null);
632
+ var display = computeStyle(ele, 'display');
633
+ doc.body.removeChild(ele);
634
+ return defaultDisplay[tagName] = display !== 'none' ? display : 'block';
635
+ } // @require css/helpers/compute_style.ts
636
+
637
+
638
+ function isHidden(ele) {
639
+ return computeStyle(ele, 'display') === 'none';
640
+ }
641
+
642
+ var displayProperty = '___cd';
643
+
644
+ fn.toggle = function (force) {
645
+ return this.each(function (i, ele) {
646
+ if (!isElement(ele)) return;
647
+ var show = isUndefined(force) ? isHidden(ele) : force;
648
+
649
+ if (show) {
650
+ ele.style.display = ele[displayProperty] || '';
651
+
652
+ if (isHidden(ele)) {
653
+ ele.style.display = getDefaultDisplay(ele.tagName);
654
+ }
655
+ } else {
656
+ ele[displayProperty] = computeStyle(ele, 'display');
657
+ ele.style.display = 'none';
658
+ }
659
+ });
660
+ };
661
+
662
+ fn.hide = function () {
663
+ return this.toggle(false);
664
+ };
665
+
666
+ fn.show = function () {
667
+ return this.toggle(true);
668
+ }; // @optional ./hide.ts
669
+ // @optional ./show.ts
670
+ // @optional ./toggle.ts
671
+
672
+
673
+ function hasNamespaces(ns1, ns2) {
674
+ return !ns2 || !some.call(ns2, function (ns) {
675
+ return ns1.indexOf(ns) < 0;
676
+ });
677
+ }
678
+
679
+ var eventsNamespace = '___ce',
680
+ eventsNamespacesSeparator = '.',
681
+ eventsFocus = {
682
+ focus: 'focusin',
683
+ blur: 'focusout'
684
+ },
685
+ eventsHover = {
686
+ mouseenter: 'mouseover',
687
+ mouseleave: 'mouseout'
688
+ },
689
+ eventsMouseRe = /^(mouse|pointer|contextmenu|drag|drop|click|dblclick)/i; // @require ./variables.ts
690
+
691
+ function getEventNameBubbling(name) {
692
+ return eventsHover[name] || eventsFocus[name] || name;
693
+ } // @require ./variables.ts
694
+
695
+
696
+ function getEventsCache(ele) {
697
+ return ele[eventsNamespace] = ele[eventsNamespace] || {};
698
+ } // @require core/guid.ts
699
+ // @require events/helpers/get_events_cache.ts
700
+
701
+
702
+ function addEvent(ele, name, namespaces, selector, callback) {
703
+ var eventCache = getEventsCache(ele);
704
+ eventCache[name] = eventCache[name] || [];
705
+ eventCache[name].push([namespaces, selector, callback]);
706
+ ele.addEventListener(name, callback);
707
+ } // @require ./variables.ts
708
+
709
+
710
+ function parseEventName(eventName) {
711
+ var parts = eventName.split(eventsNamespacesSeparator);
712
+ return [parts[0], parts.slice(1).sort()]; // [name, namespace[]]
713
+ } // @require ./get_events_cache.ts
714
+ // @require ./has_namespaces.ts
715
+ // @require ./parse_event_name.ts
716
+
717
+
718
+ function removeEvent(ele, name, namespaces, selector, callback) {
719
+ var cache = getEventsCache(ele);
720
+
721
+ if (!name) {
722
+ for (name in cache) {
723
+ removeEvent(ele, name, namespaces, selector, callback);
724
+ }
725
+ } else if (cache[name]) {
726
+ cache[name] = cache[name].filter(function (_a) {
727
+ var ns = _a[0],
728
+ sel = _a[1],
729
+ cb = _a[2];
730
+ if (callback && cb.guid !== callback.guid || !hasNamespaces(ns, namespaces) || selector && selector !== sel) return true;
731
+ ele.removeEventListener(name, cb);
732
+ });
733
+ }
734
+ }
735
+
736
+ fn.off = function (eventFullName, selector, callback) {
737
+ var _this = this;
738
+
739
+ if (isUndefined(eventFullName)) {
740
+ this.each(function (i, ele) {
741
+ if (!isElement(ele) && !isDocument(ele) && !isWindow(ele)) return;
742
+ removeEvent(ele);
743
+ });
744
+ } else if (!isString(eventFullName)) {
745
+ for (var key in eventFullName) {
746
+ this.off(key, eventFullName[key]);
747
+ }
748
+ } else {
749
+ if (isFunction(selector)) {
750
+ callback = selector;
751
+ selector = '';
752
+ }
753
+
754
+ each(getSplitValues(eventFullName), function (i, eventFullName) {
755
+ var _a = parseEventName(eventFullName),
756
+ nameOriginal = _a[0],
757
+ namespaces = _a[1],
758
+ name = getEventNameBubbling(nameOriginal);
759
+
760
+ _this.each(function (i, ele) {
761
+ if (!isElement(ele) && !isDocument(ele) && !isWindow(ele)) return;
762
+ removeEvent(ele, name, namespaces, selector, callback);
763
+ });
764
+ });
765
+ }
766
+
767
+ return this;
768
+ };
769
+
770
+ function on(eventFullName, selector, data, callback, _one) {
771
+ var _this = this;
772
+
773
+ if (!isString(eventFullName)) {
774
+ for (var key in eventFullName) {
775
+ this.on(key, selector, data, eventFullName[key], _one);
776
+ }
777
+
778
+ return this;
779
+ }
780
+
781
+ if (!isString(selector)) {
782
+ if (isUndefined(selector) || isNull(selector)) {
783
+ selector = '';
784
+ } else if (isUndefined(data)) {
785
+ data = selector;
786
+ selector = '';
787
+ } else {
788
+ callback = data;
789
+ data = selector;
790
+ selector = '';
791
+ }
792
+ }
793
+
794
+ if (!isFunction(callback)) {
795
+ callback = data;
796
+ data = undefined;
797
+ }
798
+
799
+ if (!callback) return this;
800
+ each(getSplitValues(eventFullName), function (i, eventFullName) {
801
+ var _a = parseEventName(eventFullName),
802
+ nameOriginal = _a[0],
803
+ namespaces = _a[1],
804
+ name = getEventNameBubbling(nameOriginal),
805
+ isEventHover = nameOriginal in eventsHover,
806
+ isEventFocus = nameOriginal in eventsFocus;
807
+
808
+ if (!name) return;
809
+
810
+ _this.each(function (i, ele) {
811
+ if (!isElement(ele) && !isDocument(ele) && !isWindow(ele)) return;
812
+
813
+ var finalCallback = function finalCallback(event) {
814
+ if (event.target["___i" + event.type]) return event.stopImmediatePropagation(); // Ignoring native event in favor of the upcoming custom one
815
+
816
+ if (event.namespace && !hasNamespaces(namespaces, event.namespace.split(eventsNamespacesSeparator))) return;
817
+ if (!selector && (isEventFocus && (event.target !== ele || event.___ot === name) || isEventHover && event.relatedTarget && ele.contains(event.relatedTarget))) return;
818
+ var thisArg = ele;
819
+
820
+ if (selector) {
821
+ var target = event.target;
822
+
823
+ while (!matches(target, selector)) {
824
+ if (target === ele) return;
825
+ target = target.parentNode;
826
+ if (!target) return;
827
+ }
828
+
829
+ thisArg = target;
830
+ event.___cd = true; // Delegate
831
+ }
832
+
833
+ if (event.___cd) {
834
+ Object.defineProperty(event, 'currentTarget', {
835
+ configurable: true,
836
+ get: function get() {
837
+ return thisArg;
838
+ }
839
+ });
840
+ }
841
+
842
+ Object.defineProperty(event, 'data', {
843
+ configurable: true,
844
+ get: function get() {
845
+ return data;
846
+ }
847
+ });
848
+ var returnValue = callback.call(thisArg, event, event.___td);
849
+
850
+ if (_one) {
851
+ removeEvent(ele, name, namespaces, selector, finalCallback);
852
+ }
853
+
854
+ if (returnValue === false) {
855
+ event.preventDefault();
856
+ event.stopPropagation();
857
+ }
858
+ };
859
+
860
+ finalCallback.guid = callback.guid = callback.guid || cash.guid++;
861
+ addEvent(ele, name, namespaces, selector, finalCallback);
862
+ });
863
+ });
864
+ return this;
865
+ }
866
+
867
+ fn.on = on;
868
+
869
+ function one(eventFullName, selector, data, callback) {
870
+ return this.on(eventFullName, selector, data, callback, true);
871
+ }
872
+
873
+ ;
874
+ fn.one = one;
875
+
876
+ fn.ready = function (callback) {
877
+ var cb = function cb() {
878
+ return setTimeout(callback, 0, cash);
879
+ };
880
+
881
+ if (doc.readyState !== 'loading') {
882
+ cb();
883
+ } else {
884
+ doc.addEventListener('DOMContentLoaded', cb);
885
+ }
886
+
887
+ return this;
888
+ };
889
+
890
+ fn.trigger = function (event, data) {
891
+ if (isString(event)) {
892
+ var _a = parseEventName(event),
893
+ nameOriginal = _a[0],
894
+ namespaces = _a[1],
895
+ name_1 = getEventNameBubbling(nameOriginal);
896
+
897
+ if (!name_1) return this;
898
+ var type = eventsMouseRe.test(name_1) ? 'MouseEvents' : 'HTMLEvents';
899
+ event = doc.createEvent(type);
900
+ event.initEvent(name_1, true, true);
901
+ event.namespace = namespaces.join(eventsNamespacesSeparator);
902
+ event.___ot = nameOriginal;
903
+ }
904
+
905
+ event.___td = data;
906
+ var isEventFocus = event.___ot in eventsFocus;
907
+ return this.each(function (i, ele) {
908
+ if (isEventFocus && isFunction(ele[event.___ot])) {
909
+ ele["___i" + event.type] = true; // Ensuring the native event is ignored
910
+
911
+ ele[event.___ot]();
912
+
913
+ ele["___i" + event.type] = false; // Ensuring the custom event is not ignored
914
+ }
915
+
916
+ ele.dispatchEvent(event);
917
+ });
918
+ }; // @optional ./off.ts
919
+ // @optional ./on.ts
920
+ // @optional ./one.ts
921
+ // @optional ./ready.ts
922
+ // @optional ./trigger.ts
923
+ // @require core/pluck.ts
924
+ // @require core/variables.ts
925
+
926
+
927
+ function getValue(ele) {
928
+ if (ele.multiple && ele.options) return pluck(filter.call(ele.options, function (option) {
929
+ return option.selected && !option.disabled && !option.parentNode.disabled;
930
+ }), 'value');
931
+ return ele.value || '';
932
+ }
933
+
934
+ var queryEncodeSpaceRe = /%20/g,
935
+ queryEncodeCRLFRe = /\r?\n/g;
936
+
937
+ function queryEncode(prop, value) {
938
+ return "&" + encodeURIComponent(prop) + "=" + encodeURIComponent(value.replace(queryEncodeCRLFRe, '\r\n')).replace(queryEncodeSpaceRe, '+');
939
+ }
940
+
941
+ var skippableRe = /file|reset|submit|button|image/i,
942
+ checkableRe = /radio|checkbox/i;
943
+
944
+ fn.serialize = function () {
945
+ var query = '';
946
+ this.each(function (i, ele) {
947
+ each(ele.elements || [ele], function (i, ele) {
948
+ if (ele.disabled || !ele.name || ele.tagName === 'FIELDSET' || skippableRe.test(ele.type) || checkableRe.test(ele.type) && !ele.checked) return;
949
+ var value = getValue(ele);
950
+
951
+ if (!isUndefined(value)) {
952
+ var values = isArray(value) ? value : [value];
953
+ each(values, function (i, value) {
954
+ query += queryEncode(ele.name, value);
955
+ });
956
+ }
957
+ });
958
+ });
959
+ return query.slice(1);
960
+ };
961
+
962
+ function val(value) {
963
+ if (!arguments.length) return this[0] && getValue(this[0]);
964
+ return this.each(function (i, ele) {
965
+ var isSelect = ele.multiple && ele.options;
966
+
967
+ if (isSelect || checkableRe.test(ele.type)) {
968
+ var eleValue_1 = isArray(value) ? map.call(value, String) : isNull(value) ? [] : [String(value)];
969
+
970
+ if (isSelect) {
971
+ each(ele.options, function (i, option) {
972
+ option.selected = eleValue_1.indexOf(option.value) >= 0;
973
+ }, true);
974
+ } else {
975
+ ele.checked = eleValue_1.indexOf(ele.value) >= 0;
976
+ }
977
+ } else {
978
+ ele.value = isUndefined(value) || isNull(value) ? '' : value;
979
+ }
980
+ });
981
+ }
982
+
983
+ fn.val = val;
984
+
985
+ fn.clone = function () {
986
+ return this.map(function (i, ele) {
987
+ return ele.cloneNode(true);
988
+ });
989
+ };
990
+
991
+ fn.detach = function (comparator) {
992
+ filtered(this, comparator).each(function (i, ele) {
993
+ if (ele.parentNode) {
994
+ ele.parentNode.removeChild(ele);
995
+ }
996
+ });
997
+ return this;
998
+ };
999
+
1000
+ var fragmentRe = /^\s*<(\w+)[^>]*>/,
1001
+ singleTagRe = /^<(\w+)\s*\/?>(?:<\/\1>)?$/;
1002
+ var containers = {
1003
+ '*': div,
1004
+ tr: tbody,
1005
+ td: tr,
1006
+ th: tr,
1007
+ thead: table,
1008
+ tbody: table,
1009
+ tfoot: table
1010
+ }; //TODO: Create elements inside a document fragment, in order to prevent inline event handlers from firing
1011
+ //TODO: Ensure the created elements have the fragment as their parent instead of null, this also ensures we can deal with detatched nodes more reliably
1012
+
1013
+ function parseHTML(html) {
1014
+ if (!isString(html)) return [];
1015
+ if (singleTagRe.test(html)) return [createElement(RegExp.$1)];
1016
+ var fragment = fragmentRe.test(html) && RegExp.$1,
1017
+ container = containers[fragment] || containers['*'];
1018
+ container.innerHTML = html;
1019
+ return cash(container.childNodes).detach().get();
1020
+ }
1021
+
1022
+ cash.parseHTML = parseHTML;
1023
+
1024
+ fn.empty = function () {
1025
+ return this.each(function (i, ele) {
1026
+ while (ele.firstChild) {
1027
+ ele.removeChild(ele.firstChild);
1028
+ }
1029
+ });
1030
+ };
1031
+
1032
+ function html(html) {
1033
+ if (!arguments.length) return this[0] && this[0].innerHTML;
1034
+ if (isUndefined(html)) return this;
1035
+ return this.each(function (i, ele) {
1036
+ if (!isElement(ele)) return;
1037
+ ele.innerHTML = html;
1038
+ });
1039
+ }
1040
+
1041
+ fn.html = html;
1042
+
1043
+ fn.remove = function (comparator) {
1044
+ filtered(this, comparator).detach().off();
1045
+ return this;
1046
+ };
1047
+
1048
+ function text(text) {
1049
+ if (isUndefined(text)) return this[0] ? this[0].textContent : '';
1050
+ return this.each(function (i, ele) {
1051
+ if (!isElement(ele)) return;
1052
+ ele.textContent = text;
1053
+ });
1054
+ }
1055
+
1056
+ ;
1057
+ fn.text = text;
1058
+
1059
+ fn.unwrap = function () {
1060
+ this.parent().each(function (i, ele) {
1061
+ if (ele.tagName === 'BODY') return;
1062
+ var $ele = cash(ele);
1063
+ $ele.replaceWith($ele.children());
1064
+ });
1065
+ return this;
1066
+ };
1067
+
1068
+ fn.offset = function () {
1069
+ var ele = this[0];
1070
+ if (!ele) return;
1071
+ var rect = ele.getBoundingClientRect();
1072
+ return {
1073
+ top: rect.top + win.pageYOffset,
1074
+ left: rect.left + win.pageXOffset
1075
+ };
1076
+ };
1077
+
1078
+ fn.offsetParent = function () {
1079
+ return this.map(function (i, ele) {
1080
+ var offsetParent = ele.offsetParent;
1081
+
1082
+ while (offsetParent && computeStyle(offsetParent, 'position') === 'static') {
1083
+ offsetParent = offsetParent.offsetParent;
1084
+ }
1085
+
1086
+ return offsetParent || docEle;
1087
+ });
1088
+ };
1089
+
1090
+ fn.position = function () {
1091
+ var ele = this[0];
1092
+ if (!ele) return;
1093
+ var isFixed = computeStyle(ele, 'position') === 'fixed',
1094
+ offset = isFixed ? ele.getBoundingClientRect() : this.offset();
1095
+
1096
+ if (!isFixed) {
1097
+ var doc_1 = ele.ownerDocument;
1098
+ var offsetParent = ele.offsetParent || doc_1.documentElement;
1099
+
1100
+ while ((offsetParent === doc_1.body || offsetParent === doc_1.documentElement) && computeStyle(offsetParent, 'position') === 'static') {
1101
+ offsetParent = offsetParent.parentNode;
1102
+ }
1103
+
1104
+ if (offsetParent !== ele && isElement(offsetParent)) {
1105
+ var parentOffset = cash(offsetParent).offset();
1106
+ offset.top -= parentOffset.top + computeStyleInt(offsetParent, 'borderTopWidth');
1107
+ offset.left -= parentOffset.left + computeStyleInt(offsetParent, 'borderLeftWidth');
1108
+ }
1109
+ }
1110
+
1111
+ return {
1112
+ top: offset.top - computeStyleInt(ele, 'marginTop'),
1113
+ left: offset.left - computeStyleInt(ele, 'marginLeft')
1114
+ };
1115
+ };
1116
+
1117
+ fn.children = function (comparator) {
1118
+ return filtered(cash(unique(pluck(this, function (ele) {
1119
+ return ele.children;
1120
+ }))), comparator);
1121
+ };
1122
+
1123
+ fn.contents = function () {
1124
+ return cash(unique(pluck(this, function (ele) {
1125
+ return ele.tagName === 'IFRAME' ? [ele.contentDocument] : ele.tagName === 'TEMPLATE' ? ele.content.childNodes : ele.childNodes;
1126
+ })));
1127
+ };
1128
+
1129
+ fn.find = function (selector) {
1130
+ return cash(unique(pluck(this, function (ele) {
1131
+ return find(selector, ele);
1132
+ })));
1133
+ }; // @require core/variables.ts
1134
+ // @require collection/filter.ts
1135
+ // @require traversal/find.ts
1136
+
1137
+
1138
+ var HTMLCDATARe = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
1139
+ scriptTypeRe = /^$|^module$|\/(java|ecma)script/i,
1140
+ scriptAttributes = ['type', 'src', 'nonce', 'noModule'];
1141
+
1142
+ function evalScripts(node, doc) {
1143
+ var collection = cash(node);
1144
+ collection.filter('script').add(collection.find('script')).each(function (i, ele) {
1145
+ if (scriptTypeRe.test(ele.type) && docEle.contains(ele)) {
1146
+ // The script type is supported // The element is attached to the DOM // Using `documentElement` for broader browser support
1147
+ var script_1 = createElement('script');
1148
+ script_1.text = ele.textContent.replace(HTMLCDATARe, '');
1149
+ each(scriptAttributes, function (i, attr) {
1150
+ if (ele[attr]) script_1[attr] = ele[attr];
1151
+ });
1152
+ doc.head.insertBefore(script_1, null);
1153
+ doc.head.removeChild(script_1);
1154
+ }
1155
+ });
1156
+ } // @require ./eval_scripts.ts
1157
+
1158
+
1159
+ function insertElement(anchor, target, left, inside, evaluate) {
1160
+ if (inside) {
1161
+ // prepend/append
1162
+ anchor.insertBefore(target, left ? anchor.firstChild : null);
1163
+ } else {
1164
+ // before/after
1165
+ anchor.parentNode.insertBefore(target, left ? anchor : anchor.nextSibling);
1166
+ }
1167
+
1168
+ if (evaluate) {
1169
+ evalScripts(target, anchor.ownerDocument);
1170
+ }
1171
+ } // @require ./insert_element.ts
1172
+
1173
+
1174
+ function insertSelectors(selectors, anchors, inverse, left, inside, reverseLoop1, reverseLoop2, reverseLoop3) {
1175
+ each(selectors, function (si, selector) {
1176
+ each(cash(selector), function (ti, target) {
1177
+ each(cash(anchors), function (ai, anchor) {
1178
+ var anchorFinal = inverse ? target : anchor,
1179
+ targetFinal = inverse ? anchor : target,
1180
+ indexFinal = inverse ? ti : ai;
1181
+ insertElement(anchorFinal, !indexFinal ? targetFinal : targetFinal.cloneNode(true), left, inside, !indexFinal);
1182
+ }, reverseLoop3);
1183
+ }, reverseLoop2);
1184
+ }, reverseLoop1);
1185
+ return anchors;
1186
+ }
1187
+
1188
+ fn.after = function () {
1189
+ return insertSelectors(arguments, this, false, false, false, true, true);
1190
+ };
1191
+
1192
+ fn.append = function () {
1193
+ return insertSelectors(arguments, this, false, false, true);
1194
+ };
1195
+
1196
+ fn.appendTo = function (selector) {
1197
+ return insertSelectors(arguments, this, true, false, true);
1198
+ };
1199
+
1200
+ fn.before = function () {
1201
+ return insertSelectors(arguments, this, false, true);
1202
+ };
1203
+
1204
+ fn.insertAfter = function (selector) {
1205
+ return insertSelectors(arguments, this, true, false, false, false, false, true);
1206
+ };
1207
+
1208
+ fn.insertBefore = function (selector) {
1209
+ return insertSelectors(arguments, this, true, true);
1210
+ };
1211
+
1212
+ fn.prepend = function () {
1213
+ return insertSelectors(arguments, this, false, true, true, true, true);
1214
+ };
1215
+
1216
+ fn.prependTo = function (selector) {
1217
+ return insertSelectors(arguments, this, true, true, true, false, false, true);
1218
+ };
1219
+
1220
+ fn.replaceWith = function (selector) {
1221
+ return this.before(selector).remove();
1222
+ };
1223
+
1224
+ fn.replaceAll = function (selector) {
1225
+ cash(selector).replaceWith(this);
1226
+ return this;
1227
+ };
1228
+
1229
+ fn.wrapAll = function (selector) {
1230
+ var structure = cash(selector),
1231
+ wrapper = structure[0];
1232
+
1233
+ while (wrapper.children.length) {
1234
+ wrapper = wrapper.firstElementChild;
1235
+ }
1236
+
1237
+ this.first().before(structure);
1238
+ return this.appendTo(wrapper);
1239
+ };
1240
+
1241
+ fn.wrap = function (selector) {
1242
+ return this.each(function (i, ele) {
1243
+ var wrapper = cash(selector)[0];
1244
+ cash(ele).wrapAll(!i ? wrapper : wrapper.cloneNode(true));
1245
+ });
1246
+ };
1247
+
1248
+ fn.wrapInner = function (selector) {
1249
+ return this.each(function (i, ele) {
1250
+ var $ele = cash(ele),
1251
+ contents = $ele.contents();
1252
+ contents.length ? contents.wrapAll(selector) : $ele.append(selector);
1253
+ });
1254
+ };
1255
+
1256
+ fn.has = function (selector) {
1257
+ var comparator = isString(selector) ? function (i, ele) {
1258
+ return find(selector, ele).length;
1259
+ } : function (i, ele) {
1260
+ return ele.contains(selector);
1261
+ };
1262
+ return this.filter(comparator);
1263
+ };
1264
+
1265
+ fn.is = function (comparator) {
1266
+ var compare = getCompareFunction(comparator);
1267
+ return some.call(this, function (ele, i) {
1268
+ return compare.call(ele, i, ele);
1269
+ });
1270
+ };
1271
+
1272
+ fn.next = function (comparator, _all, _until) {
1273
+ return filtered(cash(unique(pluck(this, 'nextElementSibling', _all, _until))), comparator);
1274
+ };
1275
+
1276
+ fn.nextAll = function (comparator) {
1277
+ return this.next(comparator, true);
1278
+ };
1279
+
1280
+ fn.nextUntil = function (until, comparator) {
1281
+ return this.next(comparator, true, until);
1282
+ };
1283
+
1284
+ fn.not = function (comparator) {
1285
+ var compare = getCompareFunction(comparator);
1286
+ return this.filter(function (i, ele) {
1287
+ return (!isString(comparator) || isElement(ele)) && !compare.call(ele, i, ele);
1288
+ });
1289
+ };
1290
+
1291
+ fn.parent = function (comparator) {
1292
+ return filtered(cash(unique(pluck(this, 'parentNode'))), comparator);
1293
+ };
1294
+
1295
+ fn.index = function (selector) {
1296
+ var child = selector ? cash(selector)[0] : this[0],
1297
+ collection = selector ? this : cash(child).parent().children();
1298
+ return indexOf.call(collection, child);
1299
+ };
1300
+
1301
+ fn.closest = function (comparator) {
1302
+ var filtered = this.filter(comparator);
1303
+ if (filtered.length) return filtered;
1304
+ var $parent = this.parent();
1305
+ if (!$parent.length) return filtered;
1306
+ return $parent.closest(comparator);
1307
+ };
1308
+
1309
+ fn.parents = function (comparator, _until) {
1310
+ return filtered(cash(unique(pluck(this, 'parentElement', true, _until))), comparator);
1311
+ };
1312
+
1313
+ fn.parentsUntil = function (until, comparator) {
1314
+ return this.parents(comparator, until);
1315
+ };
1316
+
1317
+ fn.prev = function (comparator, _all, _until) {
1318
+ return filtered(cash(unique(pluck(this, 'previousElementSibling', _all, _until))), comparator);
1319
+ };
1320
+
1321
+ fn.prevAll = function (comparator) {
1322
+ return this.prev(comparator, true);
1323
+ };
1324
+
1325
+ fn.prevUntil = function (until, comparator) {
1326
+ return this.prev(comparator, true, until);
1327
+ };
1328
+
1329
+ fn.siblings = function (comparator) {
1330
+ return filtered(cash(unique(pluck(this, function (ele) {
1331
+ return cash(ele).parent().children().not(ele);
1332
+ }))), comparator);
1333
+ }; // @optional ./children.ts
1334
+ // @optional ./closest.ts
1335
+ // @optional ./contents.ts
1336
+ // @optional ./find.ts
1337
+ // @optional ./has.ts
1338
+ // @optional ./is.ts
1339
+ // @optional ./next.ts
1340
+ // @optional ./next_all.ts
1341
+ // @optional ./next_until.ts
1342
+ // @optional ./not.ts
1343
+ // @optional ./parent.ts
1344
+ // @optional ./parents.ts
1345
+ // @optional ./parents_until.ts
1346
+ // @optional ./prev.ts
1347
+ // @optional ./prev_all.ts
1348
+ // @optional ./prev_until.ts
1349
+ // @optional ./siblings.ts
1350
+ // @optional attributes/index.ts
1351
+ // @optional collection/index.ts
1352
+ // @optional css/index.ts
1353
+ // @optional data/index.ts
1354
+ // @optional dimensions/index.ts
1355
+ // @optional effects/index.ts
1356
+ // @optional events/index.ts
1357
+ // @optional forms/index.ts
1358
+ // @optional manipulation/index.ts
1359
+ // @optional offset/index.ts
1360
+ // @optional traversal/index.ts
1361
+ // @require core/index.ts
1362
+ // @priority -100
1363
+ // @require ./cash.ts
1364
+ // @require ./variables.ts
1365
+
1366
+
1367
+ if (typeof exports !== 'undefined') {
1368
+ // Node.js
1369
+ module.exports = cash;
1370
+ } else {
1371
+ // Browser
1372
+ win['cash'] = win['$'] = cash;
1373
+ }
1374
+ })();