j1-template 2020.0.6 → 2020.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
  3. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  4. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +8 -3
  5. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  6. data/_layouts/default.html +18 -8
  7. data/{lib/starter_web/apps → apps}/public/cc/cc.yml +0 -0
  8. data/{lib/starter_web/apps → apps}/public/cc/index.adoc +0 -0
  9. data/assets/data/search.yml +32 -10
  10. data/assets/data/ssm.html +16 -12
  11. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/algolia.js +21 -13
  12. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/attic.js +31 -30
  13. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/carousel.js +31 -20
  14. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/cookie_consent.js +8 -0
  15. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/framer.js +8 -1
  16. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/gallery_customizer.js +16 -8
  17. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/j1.js +74 -103
  18. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/justified_gallery.js +50 -33
  19. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/lightbox.js +9 -1
  20. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/logger.js +12 -4
  21. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/mmenu.js +16 -8
  22. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/navigator.js +64 -76
  23. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/searcher.js +10 -2
  24. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/ssm.js +86 -68
  25. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/themer.js +10 -2
  26. data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/toccer.js +51 -146
  27. data/assets/themes/j1/core/css/theme_extensions.css +562 -53
  28. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  29. data/assets/themes/j1/core/css/uno.css +640 -53
  30. data/assets/themes/j1/core/css/uno.min.css +1 -1
  31. data/assets/themes/j1/core/css/vendor.css +10 -3
  32. data/assets/themes/j1/core/css/vendor.min.css +2 -2
  33. data/assets/themes/j1/core/js/template.js +29 -19
  34. data/assets/themes/j1/core/js/template.js.map +1 -1
  35. data/assets/themes/j1/core/js/template.min.js +1 -1
  36. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.css +0 -0
  37. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.min.css +0 -0
  38. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.css +0 -0
  39. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.min.css +0 -0
  40. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.css +0 -0
  41. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.min.css +0 -0
  42. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
  43. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/grabbing.png +0 -0
  44. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
  45. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
  46. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.js +0 -0
  47. data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.min.js +0 -0
  48. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iconify/js/iconify.min.js +0 -0
  49. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -0
  50. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -0
  51. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -0
  52. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -0
  53. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -0
  54. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -0
  55. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/index.html +0 -0
  56. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/two.html +0 -0
  57. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -0
  58. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -0
  59. data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -0
  60. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/LICENSE +0 -0
  61. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/README.md +0 -0
  62. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  63. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  64. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +0 -0
  65. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  66. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  67. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  68. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +0 -0
  69. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  70. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  71. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  72. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +0 -0
  73. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  74. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  75. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +0 -0
  76. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +0 -0
  77. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.css +0 -0
  78. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +0 -0
  79. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +0 -0
  80. data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +0 -0
  81. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +0 -0
  82. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +0 -0
  83. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +0 -0
  84. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +0 -0
  85. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.css +0 -0
  86. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +0 -0
  87. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
  88. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.svg +0 -0
  89. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
  90. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
  91. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
  92. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
  93. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
  94. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
  95. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
  96. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
  97. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
  98. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +0 -0
  99. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +0 -0
  100. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
  101. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
  102. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
  103. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
  104. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
  105. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
  106. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
  107. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +0 -0
  108. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
  109. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
  110. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
  111. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
  112. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.css +0 -0
  113. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.min.css +0 -0
  114. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.js +0 -0
  115. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +0 -0
  116. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +0 -0
  117. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +0 -0
  118. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +0 -0
  119. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +0 -0
  120. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +0 -0
  121. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +0 -0
  122. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +0 -0
  123. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +0 -0
  124. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +0 -0
  125. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +0 -0
  126. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.js +0 -0
  127. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +0 -0
  128. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +0 -0
  129. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +0 -0
  130. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.js +0 -0
  131. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +0 -0
  132. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +0 -0
  133. data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +0 -0
  134. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.js +0 -0
  135. data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -0
  136. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.dark/theme.css +0 -0
  137. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.light/theme.css +0 -0
  138. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +0 -0
  139. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +0 -0
  140. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai/theme.css +0 -0
  141. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +0 -0
  142. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +0 -0
  143. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized/theme.css +0 -0
  144. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16/theme.css +0 -0
  145. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/colorful/theme.css +0 -0
  146. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/github/theme.css +0 -0
  147. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +0 -0
  148. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +0 -0
  149. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox/theme.css +0 -0
  150. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/igorpro/theme.css +0 -0
  151. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/molokai/theme.css +0 -0
  152. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +0 -0
  153. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai/theme.css +0 -0
  154. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/pastie/theme.css +0 -0
  155. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +0 -0
  156. data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/tulip/theme.css +0 -0
  157. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.css +0 -0
  158. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.min.css +0 -0
  159. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.css +0 -0
  160. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.min.css +0 -0
  161. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.css +0 -0
  162. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.min.css +0 -0
  163. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.css +0 -0
  164. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.min.css +0 -0
  165. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.css +0 -0
  166. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.min.css +0 -0
  167. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.js +0 -0
  168. data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.min.js +0 -0
  169. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  170. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js +0 -0
  171. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js.map +0 -0
  172. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js +0 -0
  173. data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js.map +0 -0
  174. data/lib/j1/version.rb +1 -1
  175. data/lib/starter_web/Gemfile +2 -2
  176. data/lib/starter_web/_config.yml +1 -1
  177. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -3
  178. data/lib/starter_web/_data/modules/defaults/ssm.yml +3 -3
  179. data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -8
  180. data/lib/starter_web/_data/modules/jekyll_search.yml +3 -2
  181. data/lib/starter_web/_data/modules/navigator_menu.yml +4 -0
  182. data/lib/starter_web/_data/modules/ssm.yml +10 -1
  183. data/lib/starter_web/_data/modules/toccer.yml +7 -12
  184. data/lib/starter_web/_data/resources.yml +3 -9
  185. data/lib/starter_web/_data/template_settings.yml +22 -2
  186. data/lib/starter_web/package.json +1 -1
  187. data/lib/starter_web/pages/public/about/about_site.adoc +3 -3
  188. data/lib/starter_web/pages/public/about/become_a_patron.adoc +9 -11
  189. data/lib/starter_web/pages/public/clear_button.adoc +121 -0
  190. data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +27 -49
  191. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
  192. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +9 -4
  193. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +2 -2
  194. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
  195. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  196. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +6 -7
  197. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +9 -5
  198. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +26 -28
  199. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +28 -31
  200. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +19 -19
  201. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  202. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +54 -48
  203. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  204. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  205. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
  206. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  207. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  208. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  209. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  210. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  211. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  212. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  213. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  214. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  215. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  216. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  217. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  218. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  219. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +671 -860
  220. data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/attributes.asciidoc +69 -0
  221. data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
  222. data/lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc +52 -0
  223. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  224. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  225. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  226. data/lib/starter_web/utilsrv/package.json +1 -1
  227. metadata +163 -168
  228. data/lib/starter_web/_plugins/uglify.rb +0 -41
  229. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +0 -384
  230. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +0 -384
  231. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +0 -153
  232. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +0 -153
  233. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +0 -11
  234. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +0 -11
  235. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +0 -118
  236. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.min.js +0 -118
@@ -1,153 +0,0 @@
1
- /*
2
- # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/extensions/mmenu-light/css/theme/uno.css
4
- # Provides MobileMenu styles for J1 Theme Uno
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
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
13
- #
14
- # -----------------------------------------------------------------------------
15
- */
16
-
17
- /*
18
- jadams, 2020-06-20: CSS/Offset to the NAV bar should be calculated
19
- at runtime as a dyn style
20
- */
21
-
22
- /* CSS overwrites
23
- ----------------------------------------------------------------------------- */
24
-
25
- /* Drawer */
26
- /* .mm-ocd {
27
- top: 80px; /* jadams, 2020-06-20: offset to the NAV bar */
28
- } */
29
-
30
- .mm-ocd--left .mm-ocd__content {
31
- background-color: #212121;
32
- }
33
-
34
- .mm-ocd--right .mm-ocd__content {
35
- background-color: #212121;
36
- }
37
-
38
- /* Responsive */
39
- /* jadams, 2020-07-02: media query for MMenu
40
- --------------------------------------------------------------------------------
41
- NOTE: For unknown reason, style "mm-ocd--left" is NOT applied correctly
42
- like "mm-ocd--right" what cause the wrong background-color
43
- As a workaround, the background-color is added to the media
44
- queries as well (but MUST be removed if fixed!!!)
45
- -------------------------------------------------------------------------------- */
46
-
47
- /* Large desktop */
48
- @media only screen and (min-width: 1200px) {
49
- .mm-ocd {
50
- top: 80px; /* drawer top offset to NAV bar */
51
- }
52
- .mm-ocd__content {
53
- background-color: #212121;
54
- }
55
- }
56
-
57
- /* Desktop */
58
- @media only screen and (min-width: 992px) {
59
- .mm-ocd {
60
- top: 80px; /* drawer top offset to NAV bar */
61
- }
62
- .mm-ocd__content {
63
- background-color: #212121;
64
- }
65
- }
66
-
67
- /* Desktop 2 (intermediate|responsive size) */
68
- @media only screen and (min-width: 768px) and (max-width: 992px) {
69
- .mm-ocd {
70
- top: 68px; /* drawer top offset to NAV bar */
71
- }
72
- .mm-ocd__content {
73
- background-color: #212121;
74
- }
75
- }
76
- /* Landscape iPad, 768px */
77
- @media only screen and (min-width: 576px) and (max-width: 768px){
78
- .mm-ocd {
79
- top: 68px; /* drawer top offset to NAV bar */
80
- }
81
- .mm-ocd__content {
82
- background-color: #212121;
83
- }
84
- }
85
-
86
- /* Small devices (landscape phones, up to 576px) */
87
- @media only screen and (max-width: 576px) {
88
- .mm-ocd {
89
- top: 68px; /* drawer top offset to NAV bar */
90
- }
91
- .mm-ocd__content {
92
- background-color: #212121;
93
- }
94
- }
95
-
96
- /* Navigator */
97
- .mm-spn.mm-spn--navbar:after {
98
- text-align: left; /* jadams, 2020-06-20: set menu title to the left */
99
- font-size: x-large; /* jadams, 2020-06-20: increase size of the menu title */
100
- }
101
-
102
- /* Themes */
103
- /* jadams, 2020-06-20: set j1 template colors (dark theme) */
104
- .mm-spn.mm-spn--dark {
105
- color: #e3e3e3;
106
- background: #191919
107
- }
108
-
109
- /* Sidebar
110
- ----------------------------------------------------------------------------- */
111
- .mm-side {
112
- margin: 1.5rem;
113
- }
114
-
115
- .mm-side .widget {
116
- position: relative;
117
- z-index: 1;
118
- margin-bottom: 25px
119
- }
120
-
121
- .mm-side .widget .title {
122
- color: #fff;
123
- margin-bottom: 15px;
124
- border-left: 3px solid #204a87;
125
- padding-left: 5px
126
- }
127
-
128
- .mm-side .widget .heading {
129
- text-align: left;
130
- color: #eee;
131
- font-size: 18px;
132
- text-transform: uppercase;
133
- position: relative;
134
- margin-bottom: 10px;
135
- padding-bottom: 10px
136
- }
137
-
138
- .mm-side .widget ul.link {
139
- font-family: Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
140
- font-size: 14px;
141
- padding: 0;
142
- margin: 0;
143
- list-style: none
144
- }
145
-
146
- .mm-side .widget ul.link li a {
147
- color: #aaa
148
- }
149
-
150
- .mm-side .widget ul.link li a:focus,.mm-side .widget ul.link li a:hover {
151
- color: #fafafa;
152
- text-decoration: none
153
- }
@@ -1,153 +0,0 @@
1
- /*
2
- # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/extensions/mmenu-light/css/theme/uno.css
4
- # Provides MobileMenu styles for J1 Theme Uno
5
- #
6
- # Product/Info:
7
- # https://jekyll.one
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
13
- #
14
- # -----------------------------------------------------------------------------
15
- */
16
-
17
- /*
18
- jadams, 2020-06-20: CSS/Offset to the NAV bar should be calculated
19
- at runtime as a dyn style
20
- */
21
-
22
- /* CSS overwrites
23
- ----------------------------------------------------------------------------- */
24
-
25
- /* Drawer */
26
- /* .mm-ocd {
27
- top: 80px; /* jadams, 2020-06-20: offset to the NAV bar */
28
- } */
29
-
30
- .mm-ocd--left .mm-ocd__content {
31
- background-color: #212121;
32
- }
33
-
34
- .mm-ocd--right .mm-ocd__content {
35
- background-color: #212121;
36
- }
37
-
38
- /* Responsive */
39
- /* jadams, 2020-07-02: media query for MMenu
40
- --------------------------------------------------------------------------------
41
- NOTE: For unknown reason, style "mm-ocd--left" is NOT applied correctly
42
- like "mm-ocd--right" what cause the wrong background-color
43
- As a workaround, the background-color is added to the media
44
- queries as well (but MUST be removed if fixed!!!)
45
- -------------------------------------------------------------------------------- */
46
-
47
- /* Large desktop */
48
- @media only screen and (min-width: 1200px) {
49
- .mm-ocd {
50
- top: 80px; /* drawer top offset to NAV bar */
51
- }
52
- .mm-ocd__content {
53
- background-color: #212121;
54
- }
55
- }
56
-
57
- /* Desktop */
58
- @media only screen and (min-width: 992px) {
59
- .mm-ocd {
60
- top: 80px; /* drawer top offset to NAV bar */
61
- }
62
- .mm-ocd__content {
63
- background-color: #212121;
64
- }
65
- }
66
-
67
- /* Desktop 2 (intermediate|responsive size) */
68
- @media only screen and (min-width: 768px) and (max-width: 992px) {
69
- .mm-ocd {
70
- top: 68px; /* drawer top offset to NAV bar */
71
- }
72
- .mm-ocd__content {
73
- background-color: #212121;
74
- }
75
- }
76
- /* Landscape iPad, 768px */
77
- @media only screen and (min-width: 576px) and (max-width: 768px){
78
- .mm-ocd {
79
- top: 68px; /* drawer top offset to NAV bar */
80
- }
81
- .mm-ocd__content {
82
- background-color: #212121;
83
- }
84
- }
85
-
86
- /* Small devices (landscape phones, up to 576px) */
87
- @media only screen and (max-width: 576px) {
88
- .mm-ocd {
89
- top: 68px; /* drawer top offset to NAV bar */
90
- }
91
- .mm-ocd__content {
92
- background-color: #212121;
93
- }
94
- }
95
-
96
- /* Navigator */
97
- .mm-spn.mm-spn--navbar:after {
98
- text-align: left; /* jadams, 2020-06-20: set menu title to the left */
99
- font-size: x-large; /* jadams, 2020-06-20: increase size of the menu title */
100
- }
101
-
102
- /* Themes */
103
- /* jadams, 2020-06-20: set j1 template colors (dark theme) */
104
- .mm-spn.mm-spn--dark {
105
- color: #e3e3e3;
106
- background: #191919
107
- }
108
-
109
- /* Sidebar
110
- ----------------------------------------------------------------------------- */
111
- .mm-side {
112
- margin: 1.5rem;
113
- }
114
-
115
- .mm-side .widget {
116
- position: relative;
117
- z-index: 1;
118
- margin-bottom: 25px
119
- }
120
-
121
- .mm-side .widget .title {
122
- color: #fff;
123
- margin-bottom: 15px;
124
- border-left: 3px solid #204a87;
125
- padding-left: 5px
126
- }
127
-
128
- .mm-side .widget .heading {
129
- text-align: left;
130
- color: #eee;
131
- font-size: 18px;
132
- text-transform: uppercase;
133
- position: relative;
134
- margin-bottom: 10px;
135
- padding-bottom: 10px
136
- }
137
-
138
- .mm-side .widget ul.link {
139
- font-family: Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
140
- font-size: 14px;
141
- padding: 0;
142
- margin: 0;
143
- list-style: none
144
- }
145
-
146
- .mm-side .widget ul.link li a {
147
- color: #aaa
148
- }
149
-
150
- .mm-side .widget ul.link li a:focus,.mm-side .widget ul.link li a:hover {
151
- color: #fafafa;
152
- text-decoration: none
153
- }
@@ -1,11 +0,0 @@
1
- /*!
2
- * Mmenu Light
3
- * mmenujs.com/mmenu-light v3.0.5
4
- *
5
- * Copyright (c) Fred Heusschen
6
- * www.frebsite.nl
7
- *
8
- * License: CC-BY-4.0
9
- * http://creativecommons.org/licenses/by/4.0/
10
- */
11
- !function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";n.r(e);var i=function(){function t(t){var e=this;this.listener=function(t){(t.matches?e.matchFns:e.unmatchFns).forEach((function(t){t()}))},this.toggler=window.matchMedia(t),this.toggler.addListener(this.listener),this.matchFns=[],this.unmatchFns=[]}return t.prototype.add=function(t,e){this.matchFns.push(t),this.unmatchFns.push(e),(this.toggler.matches?t:e)()},t}(),s=function(t){return Array.prototype.slice.call(t)},o=function(t,e){return s((e||document).querySelectorAll(t))},r=("ontouchstart"in window||navigator.msMaxTouchPoints,navigator.userAgent.indexOf("MSIE")>-1||navigator.appVersion.indexOf("Trident/")>-1),a="mm-spn",c=function(){function t(t,e,n,i,s){this.node=t,this.title=e,this.slidingSubmenus=i,this.selectedClass=n,this.node.classList.add(a),r&&(this.slidingSubmenus=!1),this.node.classList.add(a+"--"+s),this.node.classList.add(a+"--"+(this.slidingSubmenus?"navbar":"vertical")),this._setSelectedl(),this._initAnchors()}return Object.defineProperty(t.prototype,"prefix",{get:function(){return a},enumerable:!0,configurable:!0}),t.prototype.openPanel=function(t){var e=t.parentElement;if(this.slidingSubmenus){var n=t.dataset.mmSpnTitle;e===this.node?this.node.classList.add(a+"--main"):(this.node.classList.remove(a+"--main"),n||s(e.children).forEach((function(t){t.matches("a, span")&&(n=t.textContent)}))),n||(n=this.title),this.node.dataset.mmSpnTitle=n,o("."+a+"--open",this.node).forEach((function(t){t.classList.remove(a+"--open"),t.classList.remove(a+"--parent")})),t.classList.add(a+"--open"),t.classList.remove(a+"--parent");for(var i=t.parentElement.closest("ul");i;)i.classList.add(a+"--open"),i.classList.add(a+"--parent"),i=i.parentElement.closest("ul")}else{var r=t.matches("."+a+"--open");o("."+a+"--open",this.node).forEach((function(t){t.classList.remove(a+"--open")})),t.classList[r?"remove":"add"](a+"--open");for(var c=t.parentElement.closest("ul");c;)c.classList.add(a+"--open"),c=c.parentElement.closest("ul")}},t.prototype._setSelectedl=function(){var t=o("."+this.selectedClass,this.node),e=t[t.length-1],n=null;e&&(n=e.closest("ul")),n||(n=this.node.querySelector("ul")),this.openPanel(n)},t.prototype._initAnchors=function(){var t=this;this.node.addEventListener("click",(function(e){var n=e.target,i=!1;(i=(i=(i=i||function(t){return!!t.matches("a")}(n))||function(e){var n;return!!(n=e.closest("span")?e.parentElement:!!e.closest("li")&&e)&&(s(n.children).forEach((function(e){e.matches("ul")&&t.openPanel(e)})),!0)}(n))||function(e){var n=o("."+a+"--open",e),i=n[n.length-1];if(i){var s=i.parentElement.closest("ul");if(s)return t.openPanel(s),!0}return!1}(n))&&e.stopImmediatePropagation()}))},t}(),d="mm-ocd",u=function(){function t(t,e){var n=this;void 0===t&&(t=null),this.wrapper=document.createElement("div"),this.wrapper.classList.add(""+d),this.wrapper.classList.add(d+"--"+e),this.content=document.createElement("div"),this.content.classList.add(d+"__content"),this.wrapper.append(this.content),this.backdrop=document.createElement("div"),this.backdrop.classList.add(d+"__backdrop"),this.wrapper.append(this.backdrop),document.body.append(this.wrapper),t&&this.content.append(t);var i=function(t){n.close(),t.stopImmediatePropagation()};this.backdrop.addEventListener("touchstart",i,{passive:!0}),this.backdrop.addEventListener("mousedown",i,{passive:!0})}return Object.defineProperty(t.prototype,"prefix",{get:function(){return d},enumerable:!0,configurable:!0}),t.prototype.open=function(){this.wrapper.classList.add(d+"--open"),document.body.classList.add(d+"-opened")},t.prototype.close=function(){this.wrapper.classList.remove(d+"--open"),document.body.classList.remove(d+"-opened")},t}(),l=function(){function t(t,e){void 0===e&&(e="all"),this.menu=t,this.toggler=new i(e)}return t.prototype.navigation=function(t){var e=this;if(!this.navigator){var n=(t=t||{}).title,i=void 0===n?"Menu":n,s=t.selectedClass,o=void 0===s?"Selected":s,r=t.slidingSubmenus,a=void 0===r||r,d=t.theme,u=void 0===d?"light":d;this.navigator=new c(this.menu,i,o,a,u),this.toggler.add((function(){return e.menu.classList.add(e.navigator.prefix)}),(function(){return e.menu.classList.remove(e.navigator.prefix)}))}return this.navigator},t.prototype.offcanvas=function(t){var e=this;if(!this.drawer){var n=(t=t||{}).position,i=void 0===n?"left":n;this.drawer=new u(null,i);var s=document.createComment("original menu location");this.menu.after(s),this.toggler.add((function(){e.drawer.content.append(e.menu)}),(function(){e.drawer.close(),s.after(e.menu)}))}return this.drawer},t}();e.default=l;window.MmenuLight=l}]);
@@ -1,11 +0,0 @@
1
- /*!
2
- * Mmenu Light
3
- * mmenujs.com/mmenu-light v3.0.5
4
- *
5
- * Copyright (c) Fred Heusschen
6
- * www.frebsite.nl
7
- *
8
- * License: CC-BY-4.0
9
- * http://creativecommons.org/licenses/by/4.0/
10
- */
11
- !function(t){var e={};function n(i){if(e[i])return e[i].exports;var s=e[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(i,s,function(e){return t[e]}.bind(null,s));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";n.r(e);var i=function(){function t(t){var e=this;this.listener=function(t){(t.matches?e.matchFns:e.unmatchFns).forEach((function(t){t()}))},this.toggler=window.matchMedia(t),this.toggler.addListener(this.listener),this.matchFns=[],this.unmatchFns=[]}return t.prototype.add=function(t,e){this.matchFns.push(t),this.unmatchFns.push(e),(this.toggler.matches?t:e)()},t}(),s=function(t){return Array.prototype.slice.call(t)},o=function(t,e){return s((e||document).querySelectorAll(t))},r=("ontouchstart"in window||navigator.msMaxTouchPoints,navigator.userAgent.indexOf("MSIE")>-1||navigator.appVersion.indexOf("Trident/")>-1),a="mm-spn",c=function(){function t(t,e,n,i,s){this.node=t,this.title=e,this.slidingSubmenus=i,this.selectedClass=n,this.node.classList.add(a),r&&(this.slidingSubmenus=!1),this.node.classList.add(a+"--"+s),this.node.classList.add(a+"--"+(this.slidingSubmenus?"navbar":"vertical")),this._setSelectedl(),this._initAnchors()}return Object.defineProperty(t.prototype,"prefix",{get:function(){return a},enumerable:!0,configurable:!0}),t.prototype.openPanel=function(t){var e=t.parentElement;if(this.slidingSubmenus){var n=t.dataset.mmSpnTitle;e===this.node?this.node.classList.add(a+"--main"):(this.node.classList.remove(a+"--main"),n||s(e.children).forEach((function(t){t.matches("a, span")&&(n=t.textContent)}))),n||(n=this.title),this.node.dataset.mmSpnTitle=n,o("."+a+"--open",this.node).forEach((function(t){t.classList.remove(a+"--open"),t.classList.remove(a+"--parent")})),t.classList.add(a+"--open"),t.classList.remove(a+"--parent");for(var i=t.parentElement.closest("ul");i;)i.classList.add(a+"--open"),i.classList.add(a+"--parent"),i=i.parentElement.closest("ul")}else{var r=t.matches("."+a+"--open");o("."+a+"--open",this.node).forEach((function(t){t.classList.remove(a+"--open")})),t.classList[r?"remove":"add"](a+"--open");for(var c=t.parentElement.closest("ul");c;)c.classList.add(a+"--open"),c=c.parentElement.closest("ul")}},t.prototype._setSelectedl=function(){var t=o("."+this.selectedClass,this.node),e=t[t.length-1],n=null;e&&(n=e.closest("ul")),n||(n=this.node.querySelector("ul")),this.openPanel(n)},t.prototype._initAnchors=function(){var t=this;this.node.addEventListener("click",(function(e){var n=e.target,i=!1;(i=(i=(i=i||function(t){return!!t.matches("a")}(n))||function(e){var n;return!!(n=e.closest("span")?e.parentElement:!!e.closest("li")&&e)&&(s(n.children).forEach((function(e){e.matches("ul")&&t.openPanel(e)})),!0)}(n))||function(e){var n=o("."+a+"--open",e),i=n[n.length-1];if(i){var s=i.parentElement.closest("ul");if(s)return t.openPanel(s),!0}return!1}(n))&&e.stopImmediatePropagation()}))},t}(),d="mm-ocd",u=function(){function t(t,e){var n=this;void 0===t&&(t=null),this.wrapper=document.createElement("div"),this.wrapper.classList.add(""+d),this.wrapper.classList.add(d+"--"+e),this.content=document.createElement("div"),this.content.classList.add(d+"__content"),this.wrapper.append(this.content),this.backdrop=document.createElement("div"),this.backdrop.classList.add(d+"__backdrop"),this.wrapper.append(this.backdrop),document.body.append(this.wrapper),t&&this.content.append(t);var i=function(t){n.close(),t.stopImmediatePropagation()};this.backdrop.addEventListener("touchstart",i,{passive:!0}),this.backdrop.addEventListener("mousedown",i,{passive:!0})}return Object.defineProperty(t.prototype,"prefix",{get:function(){return d},enumerable:!0,configurable:!0}),t.prototype.open=function(){this.wrapper.classList.add(d+"--open"),document.body.classList.add(d+"-opened")},t.prototype.close=function(){this.wrapper.classList.remove(d+"--open"),document.body.classList.remove(d+"-opened")},t}(),l=function(){function t(t,e){void 0===e&&(e="all"),this.menu=t,this.toggler=new i(e)}return t.prototype.navigation=function(t){var e=this;if(!this.navigator){var n=(t=t||{}).title,i=void 0===n?"Menu":n,s=t.selectedClass,o=void 0===s?"Selected":s,r=t.slidingSubmenus,a=void 0===r||r,d=t.theme,u=void 0===d?"light":d;this.navigator=new c(this.menu,i,o,a,u),this.toggler.add((function(){return e.menu.classList.add(e.navigator.prefix)}),(function(){return e.menu.classList.remove(e.navigator.prefix)}))}return this.navigator},t.prototype.offcanvas=function(t){var e=this;if(!this.drawer){var n=(t=t||{}).position,i=void 0===n?"left":n;this.drawer=new u(null,i);var s=document.createComment("original menu location");this.menu.after(s),this.toggler.add((function(){e.drawer.content.append(e.menu)}),(function(){e.drawer.close(),s.after(e.menu)}))}return this.drawer},t}();e.default=l;window.MmenuLight=l}]);
@@ -1,118 +0,0 @@
1
- // Source: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach
2
- if (window.NodeList && !NodeList.prototype.forEach) {
3
- NodeList.prototype.forEach = function(callback, thisArg) {
4
- thisArg = thisArg || window;
5
- for (var i = 0; i < this.length; i++) {
6
- callback.call(thisArg, this[i], i, this);
7
- }
8
- };
9
- }
10
-
11
- // Source: https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
12
- if (!Element.prototype.matches) {
13
- Element.prototype.matches =
14
- Element.prototype.matchesSelector ||
15
- Element.prototype.mozMatchesSelector ||
16
- Element.prototype.msMatchesSelector ||
17
- Element.prototype.oMatchesSelector ||
18
- Element.prototype.webkitMatchesSelector ||
19
- function(s) {
20
- var matches = (
21
- this.document || this.ownerDocument
22
- ).querySelectorAll(s),
23
- i = matches.length;
24
- while (--i >= 0 && matches.item(i) !== this) {}
25
- return i > -1;
26
- };
27
- }
28
-
29
- // Source: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
30
- if (!Element.prototype.matches) {
31
- Element.prototype.matches =
32
- Element.prototype.msMatchesSelector ||
33
- Element.prototype.webkitMatchesSelector;
34
- }
35
-
36
- if (!Element.prototype.closest) {
37
- Element.prototype.closest = function(s) {
38
- var el = this;
39
-
40
- do {
41
- if (el.matches(s)) return el;
42
- el = el.parentElement || el.parentNode;
43
- } while (el !== null && el.nodeType === 1);
44
- return null;
45
- };
46
- }
47
-
48
- // from: https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/after()/after().md
49
- (function(arr) {
50
- arr.forEach(function(item) {
51
- if (item.hasOwnProperty('after')) {
52
- return;
53
- }
54
- Object.defineProperty(item, 'after', {
55
- configurable: true,
56
- enumerable: true,
57
- writable: true,
58
- value: function after() {
59
- var argArr = Array.prototype.slice.call(arguments),
60
- docFrag = document.createDocumentFragment();
61
-
62
- argArr.forEach(function(argItem) {
63
- var isNode = argItem instanceof Node;
64
- docFrag.appendChild(
65
- isNode
66
- ? argItem
67
- : document.createTextNode(String(argItem))
68
- );
69
- });
70
-
71
- this.parentNode.insertBefore(docFrag, this.nextSibling);
72
- }
73
- });
74
- });
75
- })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);
76
-
77
- // Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/append()/append().md
78
- (function(arr) {
79
- arr.forEach(function(item) {
80
- if (item.hasOwnProperty('append')) {
81
- return;
82
- }
83
- Object.defineProperty(item, 'append', {
84
- configurable: true,
85
- enumerable: true,
86
- writable: true,
87
- value: function append() {
88
- var argArr = Array.prototype.slice.call(arguments),
89
- docFrag = document.createDocumentFragment();
90
-
91
- argArr.forEach(function(argItem) {
92
- var isNode = argItem instanceof Node;
93
- docFrag.appendChild(
94
- isNode
95
- ? argItem
96
- : document.createTextNode(String(argItem))
97
- );
98
- });
99
-
100
- this.appendChild(docFrag);
101
- }
102
- });
103
- });
104
- })([Element.prototype, Document.prototype, DocumentFragment.prototype]);
105
-
106
- // from: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent
107
- (function() {
108
- if (typeof window.Event === 'function') return false;
109
-
110
- function Event(event, params) {
111
- params = params || { bubbles: false, cancelable: false };
112
- var evt = document.createEvent('Event');
113
- evt.initEvent(event, params.bubbles, params.cancelable);
114
- return evt;
115
- }
116
-
117
- window.Event = Event;
118
- })();