j1-template 2020.0.9 → 2020.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (541) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +64 -0
  3. data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +1 -1
  4. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +2 -2
  5. data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
  6. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +3 -2
  7. data/_includes/themes/j1/layouts/content_generator_collection.html +3 -2
  8. data/_includes/themes/j1/layouts/content_generator_page.html +26 -25
  9. data/_includes/themes/j1/layouts/content_generator_post.html +12 -12
  10. data/_includes/themes/j1/layouts/layout_metadata_generator.html +134 -4
  11. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +6 -9
  12. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +9 -6
  13. data/_includes/themes/j1/modules/connectors/ads +3 -6
  14. data/_includes/themes/j1/modules/navigator/generator.html +0 -1
  15. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +11 -6
  16. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -2
  17. data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -9
  18. data/_includes/themes/j1/procedures/layouts/module_writer.1.proc +270 -0
  19. data/_includes/themes/j1/procedures/layouts/module_writer.proc +3 -13
  20. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -14
  21. data/_layouts/default.html +76 -65
  22. data/apps/public/cc/index.adoc +2 -6
  23. data/assets/data/authclient.html +22 -12
  24. data/assets/data/banner.html +23 -23
  25. data/assets/data/carousel.json +30 -21
  26. data/assets/data/cookiebar.html +277 -0
  27. data/assets/data/footer.html +14 -7
  28. data/assets/data/galleries.json +90 -81
  29. data/assets/data/gallery_customizer.html +20 -11
  30. data/assets/data/jupyter/notebooks/_html/template.full.head.html +10 -10
  31. data/assets/data/jupyter/notebooks/_html/visualisation.html +11 -11
  32. data/assets/data/jupyter/notebooks/html/template.html +7 -7
  33. data/assets/data/jupyter/notebooks/html/visualisation.ok.html +12 -12
  34. data/assets/data/mdi_icons.json +55 -1
  35. data/assets/data/menu.html +16 -9
  36. data/assets/data/mmenu.html +48 -95
  37. data/assets/data/mmenu_sidebar.html +40 -44
  38. data/assets/data/mmenu_toc.html +20 -4
  39. data/assets/data/panel.html +41 -33
  40. data/assets/data/quicklinks.html +29 -19
  41. data/assets/data/search.json +162 -0
  42. data/assets/data/ssm.html +20 -9
  43. data/assets/data/themes.json +17 -6
  44. data/assets/data/twa_v1.json +54 -0
  45. data/assets/themes/j1/adapter/js/algolia.js +49 -30
  46. data/assets/themes/j1/adapter/js/attic.js +76 -64
  47. data/assets/themes/j1/adapter/js/carousel.js +58 -33
  48. data/assets/themes/j1/adapter/js/clipboard.js +232 -0
  49. data/assets/themes/j1/adapter/js/cookiebar.js +204 -0
  50. data/assets/themes/j1/adapter/js/framer.js +45 -22
  51. data/assets/themes/j1/adapter/js/gallery_customizer.js +238 -250
  52. data/assets/themes/j1/adapter/js/j1.js +573 -868
  53. data/assets/themes/j1/adapter/js/{justified_gallery.js → jf_gallery.js} +82 -55
  54. data/assets/themes/j1/adapter/js/lightbox.js +29 -11
  55. data/assets/themes/j1/adapter/js/logger.js +25 -10
  56. data/assets/themes/j1/adapter/js/mdb.js +164 -0
  57. data/assets/themes/j1/adapter/js/mmenu.js +74 -75
  58. data/assets/themes/j1/adapter/js/navigator.js +244 -228
  59. data/assets/themes/j1/adapter/js/searcher.js +40 -16
  60. data/assets/themes/j1/adapter/js/ssm.js +135 -134
  61. data/assets/themes/j1/adapter/js/themer.js +78 -102
  62. data/assets/themes/j1/adapter/js/toccer.js +38 -22
  63. data/assets/themes/j1/core/css/animate.css +2382 -0
  64. data/assets/themes/j1/core/css/animate.min.css +7 -0
  65. data/assets/themes/j1/core/css/fontawesome.css +4415 -0
  66. data/assets/themes/j1/core/css/fontawesome.min.css +1 -0
  67. data/assets/themes/j1/core/css/iconify-icons.css +4106 -0
  68. data/assets/themes/j1/core/css/iconify-icons.min.css +1 -0
  69. data/assets/themes/j1/core/css/material-design-icons.css +14532 -0
  70. data/assets/themes/j1/core/css/material-design-icons.min.css +1 -0
  71. data/assets/themes/j1/core/css/theme_extensions.css +209 -2917
  72. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  73. data/assets/themes/j1/core/css/twemoji.css +9485 -0
  74. data/assets/themes/j1/core/css/twemoji.min.css +1 -0
  75. data/assets/themes/j1/core/css/uno.css +345 -2929
  76. data/assets/themes/j1/core/css/uno.min.css +1 -1
  77. data/assets/themes/j1/core/css/vendor.css +767 -33214
  78. data/assets/themes/j1/core/css/vendor.min.css +2 -9
  79. data/assets/themes/j1/core/js/template.js +25 -416
  80. data/assets/themes/j1/core/js/template.js.map +1 -1
  81. data/assets/themes/j1/core/js/template.min.js +1 -1
  82. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1695 -0
  83. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +21 -0
  84. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +1 -0
  85. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +12177 -0
  86. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +8 -0
  87. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6930 -0
  88. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +1 -0
  89. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +1 -0
  90. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +10278 -0
  91. data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +1 -0
  92. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +7 -0
  93. data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +1 -0
  94. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +4420 -0
  95. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
  96. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
  97. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
  98. data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +203 -0
  99. data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +235 -0
  100. data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +509 -0
  101. data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +122 -0
  102. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +434 -0
  103. data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +20 -0
  104. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.css +1 -1
  105. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.min.css +1 -1
  106. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.css +1 -1
  107. data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.min.css +1 -1
  108. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.css +1 -1
  109. data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.min.css +1 -1
  110. data/assets/themes/j1/{extensions → modules}/carousel/images/ajax-loader.gif +0 -0
  111. data/assets/themes/j1/{extensions → modules}/carousel/images/grabbing.png +0 -0
  112. data/assets/themes/j1/{extensions → modules}/carousel/images/owl-logo.png +0 -0
  113. data/assets/themes/j1/{extensions → modules}/carousel/images/owl.video.play.png +0 -0
  114. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.js +0 -0
  115. data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.min.js +0 -0
  116. data/assets/themes/j1/modules/clipboard/LICENSE +20 -0
  117. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +52 -0
  118. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +52 -0
  119. data/assets/themes/j1/modules/clipboard/js/clipboard.js +975 -0
  120. data/assets/themes/j1/modules/clipboard/js/clipboard.min.js +7 -0
  121. data/assets/themes/j1/{extensions/iconify → modules/iconifyAPI}/js/iconify.min.js +0 -0
  122. data/assets/themes/j1/modules/iframeResizer/LICENSE +21 -0
  123. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +127 -0
  124. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +157 -0
  125. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +68 -0
  126. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +100 -0
  127. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +45 -0
  128. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +113 -0
  129. data/assets/themes/j1/modules/iframeResizer/examples/index.html +83 -0
  130. data/assets/themes/j1/modules/iframeResizer/examples/two.html +88 -0
  131. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +1288 -0
  132. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +1 -0
  133. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -0
  134. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.js +1390 -0
  135. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.map +1 -0
  136. data/assets/themes/j1/modules/iframeResizer/js/iframeResizer.min.js +9 -0
  137. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +624 -0
  138. data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
  139. data/assets/themes/j1/modules/jqMouseWheel/README.md +76 -0
  140. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +221 -0
  141. data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +9 -0
  142. data/assets/themes/j1/modules/jquery/js/jquery.js +10869 -0
  143. data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -0
  144. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/LICENSE +0 -0
  145. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/README.md +0 -0
  146. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.css +0 -0
  147. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
  148. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/css/theme/uno.css +1 -1
  149. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
  150. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.js +0 -0
  151. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
  152. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/.csslintrc +0 -0
  153. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v3.7.0/less/justifiedGallery.less +0 -0
  154. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.css +0 -0
  155. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
  156. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/css/theme/uno.css +1 -1
  157. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
  158. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
  159. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.css +0 -0
  160. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/justifiedGallery.min.css +0 -0
  161. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.css +1 -1
  162. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/css/theme/uno.min.css +1 -1
  163. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.js +0 -0
  164. data/assets/themes/j1/{extensions/justified_gallery → modules/justifiedGallery}/js/justifiedGallery.min.js +0 -0
  165. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.css +0 -0
  166. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-fb-comment-box.min.css +0 -0
  167. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.css +0 -0
  168. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lg-transitions.min.css +0 -0
  169. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.css +0 -0
  170. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/core/lightgallery.min.css +0 -0
  171. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.eot +0 -0
  172. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.svg +0 -0
  173. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.ttf +0 -0
  174. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/fonts/lg.woff +0 -0
  175. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/loading.gif +0 -0
  176. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/video-play.png +0 -0
  177. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/vimeo-play.png +0 -0
  178. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/img/youtube-play.png +0 -0
  179. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/animation-w.png +0 -0
  180. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/customize-w.png +0 -0
  181. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/dynamic-w.png +0 -0
  182. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/facebook-icon.svg +0 -0
  183. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/googleplus-icon.svg +0 -0
  184. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/html5-w.png +0 -0
  185. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/linked-in.png +0 -0
  186. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/module-w.png +0 -0
  187. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/play-button.png +0 -0
  188. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/responsive-w.png +0 -0
  189. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/thumb-w.png +0 -0
  190. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/touch-w.png +0 -0
  191. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter-icon.svg +0 -0
  192. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/twitter.png +0 -0
  193. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/video1-w.png +0 -0
  194. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom-w.png +0 -0
  195. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/icons/zoom.png +0 -0
  196. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.css +1 -1
  197. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/css/themes/uno.min.css +1 -1
  198. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.js +0 -0
  199. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/core/lightgallery.min.js +0 -0
  200. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.js +0 -0
  201. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/j1/j1-video.min.js +0 -0
  202. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.js +0 -0
  203. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-autoplay.min.js +0 -0
  204. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.js +0 -0
  205. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-fullscreen.min.js +0 -0
  206. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.js +0 -0
  207. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-hash.min.js +0 -0
  208. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.js +0 -0
  209. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-pager.min.js +0 -0
  210. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.js +0 -0
  211. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-share.min.js +0 -0
  212. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.js +0 -0
  213. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-thumbnail.min.js +0 -0
  214. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.js +0 -0
  215. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-video.min.js +0 -0
  216. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.js +0 -0
  217. data/assets/themes/j1/{extensions/light_gallery → modules/lightGallery}/js/modules/lg-zoom.min.js +0 -0
  218. data/assets/themes/j1/modules/lightbox/LICENSE +22 -0
  219. data/assets/themes/j1/modules/lightbox/css/lightbox.css +224 -0
  220. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +21 -0
  221. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +25 -0
  222. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +26 -0
  223. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/close.png +0 -0
  224. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/loading.gif +0 -0
  225. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/next.png +0 -0
  226. data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/modules/lightbox/images}/prev.png +0 -0
  227. data/assets/themes/j1/modules/lightbox/js/lightbox.js +583 -0
  228. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +35 -0
  229. data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +392 -0
  230. data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +393 -0
  231. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +178 -0
  232. data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +170 -0
  233. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
  234. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +30 -0
  235. data/assets/themes/j1/modules/noUISlider/LICENSE +13 -0
  236. data/assets/themes/j1/modules/noUISlider/css/nouislider.css +260 -0
  237. data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +1 -0
  238. data/assets/themes/j1/modules/noUISlider/js/nouislider.js +2312 -0
  239. data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +3 -0
  240. data/assets/themes/j1/modules/polyfills/js/msie.js +140 -0
  241. data/assets/themes/j1/modules/popper/js/popper.js +2623 -0
  242. data/assets/themes/j1/modules/popper/js/popper.js.map +1 -0
  243. data/assets/themes/j1/modules/popper/js/popper.min.js +4 -0
  244. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -0
  245. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.dark/theme.css +0 -0
  246. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.light/theme.css +0 -0
  247. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.dark/theme.css +0 -0
  248. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.light/theme.css +0 -0
  249. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai/theme.css +0 -0
  250. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.dark/theme.css +0 -0
  251. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.light/theme.css +0 -0
  252. data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized/theme.css +0 -0
  253. data/assets/themes/j1/{extensions → modules}/rouge/css/base16/theme.css +0 -0
  254. data/assets/themes/j1/{extensions → modules}/rouge/css/colorful/theme.css +0 -0
  255. data/assets/themes/j1/{extensions → modules}/rouge/css/github/theme.css +0 -0
  256. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.dark/theme.css +0 -0
  257. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.light/theme.css +0 -0
  258. data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox/theme.css +0 -0
  259. data/assets/themes/j1/{extensions → modules}/rouge/css/igorpro/theme.css +0 -0
  260. data/assets/themes/j1/{extensions → modules}/rouge/css/molokai/theme.css +0 -0
  261. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai.sublime/theme.css +0 -0
  262. data/assets/themes/j1/{extensions → modules}/rouge/css/monokai/theme.css +0 -0
  263. data/assets/themes/j1/{extensions → modules}/rouge/css/pastie/theme.css +0 -0
  264. data/assets/themes/j1/{extensions → modules}/rouge/css/thankful_eyes/theme.css +0 -0
  265. data/assets/themes/j1/{extensions → modules}/rouge/css/tulip/theme.css +0 -0
  266. data/assets/themes/j1/modules/tocbot/css/theme/uno.css +89 -0
  267. data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +89 -0
  268. data/assets/themes/j1/modules/tocbot/css/tocbot.css +75 -0
  269. data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +19 -0
  270. data/assets/themes/j1/modules/tocbot/js/tocbot.js +19 -0
  271. data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +19 -0
  272. data/assets/themes/j1/modules/twemoji/js/LICENSE +21 -0
  273. data/assets/themes/j1/modules/twemoji/js/picker/LICENSE +21 -0
  274. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +275 -0
  275. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +275 -0
  276. data/assets/themes/j1/modules/twemoji/js/twemoji.js +589 -0
  277. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +25 -0
  278. data/assets/themes/j1/modules/util/js/js.cookie.js +163 -0
  279. data/assets/themes/j1/modules/util/js/lite-url.js +203 -0
  280. data/assets/themes/j1/modules/util/js/lite-url.min.js +7 -0
  281. data/assets/themes/j1/{extensions/log4javascript/log4javascript.min.js → modules/util/js/log4javascript.js} +0 -2
  282. data/assets/themes/j1/modules/util/js/platform.js +1260 -0
  283. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.css +0 -0
  284. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.min.css +0 -0
  285. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.css +0 -0
  286. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.min.css +0 -0
  287. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.css +0 -0
  288. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.min.css +0 -0
  289. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.css +0 -0
  290. data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.min.css +0 -0
  291. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.css +0 -0
  292. data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.min.css +0 -0
  293. data/assets/themes/j1/{extensions → modules}/videojs/js/video.js +0 -0
  294. data/assets/themes/j1/{extensions → modules}/videojs/js/video.min.js +0 -0
  295. data/assets/themes/j1/{extensions → modules}/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
  296. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js +0 -0
  297. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js.map +0 -0
  298. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js +0 -0
  299. data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js.map +0 -0
  300. data/lib/j1/version.rb +1 -1
  301. data/lib/starter_web/Gemfile +16 -10
  302. data/lib/starter_web/_config.yml +11 -10
  303. data/lib/starter_web/_data/_defaults/resources.yml +13 -13
  304. data/lib/starter_web/_data/blocks/banner.yml +23 -31
  305. data/lib/starter_web/_data/blocks/footer.yml +10 -3
  306. data/lib/starter_web/_data/blocks/panel.yml +21 -21
  307. data/lib/starter_web/_data/layouts/default.yml +10 -0
  308. data/lib/starter_web/_data/layouts/home.yml +7 -7
  309. data/lib/starter_web/_data/layouts/page.yml +15 -16
  310. data/lib/starter_web/_data/modules/advertising.yml +48 -0
  311. data/lib/starter_web/_data/modules/attics.yml +3 -39
  312. data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
  313. data/lib/starter_web/_data/modules/defaults/attics.yml +17 -16
  314. data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +75 -12
  315. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
  316. data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +9 -9
  317. data/lib/starter_web/_data/modules/defaults/navigator.yml +56 -21
  318. data/lib/starter_web/_data/modules/jekyll_search.yml +3 -21
  319. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  320. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -0
  321. data/lib/starter_web/_data/modules/themer.yml +10 -11
  322. data/lib/starter_web/_data/resources.yml +379 -174
  323. data/lib/starter_web/_data/template_settings.yml +118 -6
  324. data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
  325. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  326. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +2 -2
  327. data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +2 -2
  328. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +2 -2
  329. data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
  330. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +2 -2
  331. data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
  332. data/lib/starter_web/_plugins/minifyJS.rb +54 -0
  333. data/lib/starter_web/_plugins/{uglify.rb → minifyJSON.rb} +15 -9
  334. data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.webp +0 -0
  335. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.webp +0 -0
  336. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.webp +0 -0
  337. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.webp +0 -0
  338. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.webp +0 -0
  339. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.webp +0 -0
  340. data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.webp +0 -0
  341. data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.webp +0 -0
  342. data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.webp +0 -0
  343. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.webp +0 -0
  344. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.webp +0 -0
  345. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.webp +0 -0
  346. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.webp +0 -0
  347. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.webp +0 -0
  348. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.webp +0 -0
  349. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.webp +0 -0
  350. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.webp +0 -0
  351. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.webp +0 -0
  352. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.webp +0 -0
  353. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.webp +0 -0
  354. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.webp +0 -0
  355. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.webp +0 -0
  356. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.webp +0 -0
  357. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.webp +0 -0
  358. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.webp +0 -0
  359. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.webp +0 -0
  360. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.webp +0 -0
  361. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.webp +0 -0
  362. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.webp +0 -0
  363. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.webp +0 -0
  364. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.webp +0 -0
  365. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.webp +0 -0
  366. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.webp +0 -0
  367. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.webp +0 -0
  368. data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
  369. data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
  370. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  371. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  372. data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
  373. data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
  374. data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
  375. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  376. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
  377. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  378. data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
  379. data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
  380. data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
  381. data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
  382. data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
  383. data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
  384. data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
  385. data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
  386. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
  387. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
  388. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.webp +0 -0
  389. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.webp +0 -0
  390. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.webp +0 -0
  391. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.webp +0 -0
  392. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.webp +0 -0
  393. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.webp +0 -0
  394. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.webp +0 -0
  395. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.webp +0 -0
  396. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.webp +0 -0
  397. data/lib/starter_web/assets/videos/headers/still/underground-broadway.webp +0 -0
  398. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.webp +0 -0
  399. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +5 -6
  400. data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +2 -2
  401. data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +19 -19
  402. data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +38 -42
  403. data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -7
  404. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -3
  405. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
  406. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -4
  407. data/lib/starter_web/index.html +11 -10
  408. data/lib/starter_web/package.json +1 -1
  409. data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
  410. data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -1
  411. data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -18
  412. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -34
  413. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +43 -30
  414. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +29 -29
  415. data/lib/starter_web/pages/public/blog/navigator/index.html +3 -3
  416. data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +221 -0
  417. data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +60 -50
  418. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
  419. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +9 -4
  420. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +1 -2
  421. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +1 -2
  422. data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +18 -20
  423. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +1 -1
  424. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
  425. data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  426. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +3 -3
  427. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
  428. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +8 -4
  429. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +37 -46
  430. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +3 -3
  431. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +10 -11
  432. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +40 -40
  433. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +20 -22
  434. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/attributes.asciidoc +69 -0
  435. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
  436. data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +52 -0
  437. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +3 -3
  438. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
  439. data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
  440. data/lib/starter_web/pages/public/learn/whats_up.adoc +3 -3
  441. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  442. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  443. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  444. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +55 -49
  445. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  446. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  447. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
  448. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  449. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  450. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
  451. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  452. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  453. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  454. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  455. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  456. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  457. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  458. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  459. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  460. data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  461. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +674 -865
  462. data/lib/starter_web/pages/public/previewer/iframer.adoc +18 -16
  463. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  464. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  465. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  466. data/lib/starter_web/pages/public/site_search.adoc +1 -1
  467. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  468. data/lib/starter_web/utilsrv/package.json +1 -1
  469. metadata +294 -208
  470. data/assets/data/colors.json +0 -42
  471. data/assets/data/cookie_consent.html +0 -223
  472. data/assets/data/font_sizes.json +0 -42
  473. data/assets/data/messages.yml +0 -131
  474. data/assets/data/search.yml +0 -131
  475. data/assets/themes/j1/adapter/js/cookie_consent.js +0 -269
  476. data/assets/themes/j1/core/css/custom.scss +0 -28
  477. data/assets/themes/j1/core/css/globals.css +0 -14523
  478. data/assets/themes/j1/core/css/globals.min.css +0 -1
  479. data/assets/themes/j1/core/css/uno.scss +0 -28
  480. data/assets/themes/j1/core/css/vendor.scss +0 -28
  481. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -86
  482. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -58
  483. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -51
  484. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -68
  485. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -46
  486. data/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -79
  487. data/assets/themes/j1/extensions/iframe_resizer/examples/index.html +0 -70
  488. data/assets/themes/j1/extensions/iframe_resizer/examples/two.html +0 -71
  489. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -1104
  490. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -1
  491. data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -10
  492. data/assets/themes/j1/extensions/log4javascript/log4javascript.js +0 -5826
  493. data/lib/starter_web/_data/modules/cookie_consent.yml +0 -128
  494. data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
  495. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.png +0 -0
  496. data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
  497. data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
  498. data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
  499. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  500. data/lib/starter_web/assets/images/modules/attics/banner/admin-dashboard-bootstrap-1280x800-bw.jpg +0 -0
  501. data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.jpg +0 -0
  502. data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
  503. data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
  504. data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
  505. data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
  506. data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
  507. data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
  508. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
  509. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
  510. data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
  511. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
  512. data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
  513. data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
  514. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
  515. data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
  516. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
  517. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  518. data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
  519. data/lib/starter_web/assets/images/modules/attics/mae-mu-Vf9gbsLZyf0-unsplash.jpg +0 -0
  520. data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
  521. data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
  522. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
  523. data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
  524. data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
  525. data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
  526. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  527. data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
  528. data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
  529. data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
  530. data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
  531. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
  532. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
  533. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
  534. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
  535. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
  536. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
  537. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
  538. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
  539. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
  540. data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
  541. data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["iframeResizer.js"],"names":["undefined","window","$","count","logEnabled","hiddenCheckEnabled","msgHeaderLen","length","msgId","msgIdLen","pagePosition","requestAnimationFrame","resetRequiredMethods","max","scroll","bodyScroll","documentElementScroll","settings","timer","defaults","autoResize","bodyBackground","bodyMargin","bodyMarginV1","bodyPadding","checkOrigin","inPageLinks","enablePublicMethods","heightCalculationMethod","id","interval","log","maxHeight","Infinity","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClose","onClosed","onInit","onMessage","warn","onResized","onScroll","frameTimer","jQuery","fn","iFrameResize","options","this","filter","each","index","element","setupIFrame","end","info","define","amd","factory","module","exports","getMutationObserver","MutationObserver","WebKitMutationObserver","MozMutationObserver","addEventListener","el","evt","func","removeEventListener","formatLogHeader","iframeId","retStr","top","self","parentIFrame","getId","getMyID","isLogEnabled","msg","output","type","enabled","console","iFrameListener","event","resizeIFrame","ensureInRange","syncResize","setSize","messageData","setPagePosition","on","Dimension","Number","min","dimension","toLowerCase","size","getMsgBody","offset","substr","indexOf","sendPageInfoToIframe","iframe","time","frameId","setTimeout","debounceFrameEvents","trigger","bodyPosition","document","body","getBoundingClientRect","iFramePosition","JSON","stringify","iframeHeight","height","iframeWidth","width","clientHeight","Math","documentElement","innerHeight","clientWidth","innerWidth","offsetTop","parseInt","offsetLeft","left","scrollTop","pageYOffset","scrollLeft","pageXOffset","documentHeight","documentWidth","windowHeight","windowWidth","getPageInfo","getElementPosition","target","getPagePosition","x","floor","y","scrollRequestFromChild","addOffset","newPosition","scrollTo","unsetPagePosition","funcName","val","chkEvent","retBool","retCode","data","compStyle","createOutgoingMsg","iFrameReadyMsgReceived","split","getComputedStyle","boxSizing","paddingTop","bot","paddingBottom","getPaddingEnds","borderTopWidth","borderBottomWidth","getBorderEnds","loaded","true","false","remoteHost","origin","constructor","Array","i","checkList","Error","isMessageFromIFrame","firstRun","closeIFrame","msgBody","message","parse","forwardMsgFromIFrame","setListener","sendPageInfo","stop","forEach","stopPageInfo","startPageInfoMonitor","location","jumpPosition","hash","hashData","decodeURIComponent","getElementById","getElementsByName","moveToAnchor","findTarget","resetIFrame","actionMsg","retVal","TypeError","removeIframeListeners","parentNode","removeChild","error","chkZero","checkIFrames","Object","keys","key","settingId","chkDimension","style","offsetParent","checkIFrame","mutationObserved","mutations","debouce","querySelector","observe","attributes","attributeOldValue","characterData","characterDataOldValue","childList","subtree","createMutationObserver","fixHiddenIFrames","processDimension","setDimension","doNotSync","jasmine","calleeMsg","noResponseWarning","errorShown","contentWindow","targetOrigin","postMessage","msgTimeout","depricate","splitName","name","charAt","toUpperCase","slice","src","addStyle","chkMinMax","join","checkOptions","option","prototype","hasOwnProperty","call","copyOptions","match","getTargetOrigin","overflow","setScrolling","mutation","removedNodes","removedNode","resetRequertMethod","checkReset","iFrameResizer","close","bind","removeListeners","resize","anchor","sendMessage","tabVisible","visibilityState","sendTriggerMsg","eventName","isIFrameResizeEnabled","setupEventListeners","resizeIFrames","init","tagName","chkType","iFrames","push","vendors","setupRequestAnimationFrame","warnDeprecatedOptions","querySelectorAll"],"mappings":";;;;;;;CAWC,SAAWA,GACV,GAAsB,oBAAXC,OAAX,CAEA,IAs0CkCC,EAt0C9BC,EAAQ,EACVC,GAAa,EACbC,GAAqB,EAErBC,EADY,UACaC,OACzBC,EAAQ,gBACRC,EAAWD,EAAMD,OACjBG,EAAe,KACfC,EAAwBV,OAAOU,sBAC/BC,EAAuB,CACrBC,IAAK,EACLC,OAAQ,EACRC,WAAY,EACZC,sBAAuB,GAEzBC,EAAW,GACXC,EAAQ,KACRC,EAAW,CACTC,YAAY,EACZC,eAAgB,KAChBC,WAAY,KACZC,aAAc,EACdC,YAAa,KACbC,aAAa,EACbC,aAAa,EACbC,qBAAqB,EACrBC,wBAAyB,aACzBC,GAAI,gBACJC,SAAU,GACVC,KAAK,EACLC,UAAWC,EAAAA,EACXC,SAAUD,EAAAA,EACVE,UAAW,EACXC,SAAU,EACVC,WAAY,SACZC,WAAW,EACXC,YAAY,EACZC,WAAW,EACXC,eAAgB,IAChBC,UAAW,EACXC,uBAAwB,SACxBC,QAAS,WACP,OAAO,GAETC,SAAU,aACVC,OAAQ,aACRC,UAAW,WACTC,EAAK,mCAEPC,UAAW,aACXC,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QoE,KACtBnJ,SAASoL,iBAAiBtJ,GAAU,UACpC8I,EAAKZ,KAAKvR,EAAWuD,IAEvB,MAEF,IAAK,SACH4O,EAAK5O,EAAS8F,GACd,MAEF,QACE,MAAM,IAAIgE,UAAU,gCAAkChE,EAAS,KAGnE,OAAOiJ,IAr0CZ","file":"iframeResizer.min.js"}
@@ -0,0 +1,9 @@
1
+ /*! iFrame Resizer (iframeSizer.min.js ) - v4.2.11 - 2020-06-02
2
+ * Desc: Force cross domain iframes to size to content.
3
+ * Requires: iframeResizer.contentWindow.min.js to be loaded into the target frame.
4
+ * Copyright: (c) 2020 David J. Bradshaw - dave@bradshaw.net
5
+ * License: MIT
6
+ */
7
+
8
+ !function(l){if("undefined"!=typeof window){var e,m=0,g=!1,o=!1,v="message".length,I="[iFrameSizer]",x=I.length,F=null,r=window.requestAnimationFrame,h={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},M={},i=null,w={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){E("onMessage function not defined")},onResized:function(){},onScroll:function(){return!0}},k={};window.jQuery&&((e=window.jQuery).fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(i){return this.filter("iframe").each(function(e,n){d(n,i)}).end()}):T("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof define&&define.amd?define([],q):"object"==typeof module&&"object"==typeof module.exports&&(module.exports=q()),window.iFrameResize=window.iFrameResize||q()}function p(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function z(e,n,i){e.addEventListener(n,i,!1)}function O(e,n,i){e.removeEventListener(n,i,!1)}function a(e){return I+"["+function(e){var n="Host page: "+e;return window.top!==window.self&&(n=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),n}(e)+"]"}function t(e){return M[e]?M[e].log:g}function R(e,n){s("log",e,n,t(e))}function T(e,n){s("info",e,n,t(e))}function E(e,n){s("warn",e,n,!0)}function s(e,n,i,t){!0===t&&"object"==typeof window.console&&console[e](a(n),i)}function n(n){function e(){i("Height"),i("Width"),A(function(){P(b),S(y),d("onResized",b)},b,"init")}function i(e){var n=Number(M[y]["max"+e]),i=Number(M[y]["min"+e]),t=e.toLowerCase(),o=Number(b[t]);R(y,"Checking "+t+" is in range "+i+"-"+n),o<i&&(o=i,R(y,"Set "+t+" to min value")),n<o&&(o=n,R(y,"Set "+t+" to max value")),b[t]=""+o}function t(e){return p.substr(p.indexOf(":")+v+e)}function a(e,n){!function(e,n,i){k[i]||(k[i]=setTimeout(function(){k[i]=null,e()},n))}(function(){B("Send Page Info","pageInfo:"+function(){var e=document.body.getBoundingClientRect(),n=b.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-e.top,10),offsetLeft:parseInt(n.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}(),e,n)},32,n)}function r(e){var n=e.getBoundingClientRect();return N(y),{x:Math.floor(Number(n.left)+Number(F.x)),y:Math.floor(Number(n.top)+Number(F.y))}}function o(e){var n=e?r(b.iframe):{x:0,y:0},i={x:Number(b.width)+n.x,y:Number(b.height)+n.y};R(y,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](i.x,i.y):E(y,"Unable to scroll to requested position, window.parentIFrame not found"):(F=i,s(),R(y,"--"))}function s(){!1!==d("onScroll",F)?S(y):H()}function d(e,n){return W(y,e,n)}var c,u,f,l,m,g,h,w,p=n.data,b={},y=null;"[iFrameResizerChild]Ready"===p?function(){for(var e in M)B("iFrame requested init",L(e),M[e].iframe,e)}():I===(""+p).substr(0,x)&&p.substr(x).split(":")[0]in M?(m=p.substr(x).split(":"),g=m[1]?parseInt(m[1],10):0,h=M[m[0]]&&M[m[0]].iframe,w=getComputedStyle(h),b={iframe:h,id:m[0],height:g+function(e){if("border-box"!==e.boxSizing)return 0;var n=e.paddingTop?parseInt(e.paddingTop,10):0,i=e.paddingBottom?parseInt(e.paddingBottom,10):0;return n+i}(w)+function(e){if("border-box"!==e.boxSizing)return 0;var n=e.borderTopWidth?parseInt(e.borderTopWidth,10):0,i=e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0;return n+i}(w),width:m[2],type:m[3]},y=b.id,M[y]&&(M[y].loaded=!0),(l=b.type in{true:1,false:1,undefined:1})&&R(y,"Ignoring init message from meta parent page"),!l&&(f=!0,M[u=y]||(f=!1,E(b.type+" No settings for "+u+". Message was: "+p)),f)&&(R(y,"Received: "+p),c=!0,null===b.iframe&&(E(y,"IFrame ("+b.id+") not found"),c=!1),c&&function(){var e,i=n.origin,t=M[y]&&M[y].checkOrigin;if(t&&""+i!="null"&&!(t.constructor===Array?function(){var e=0,n=!1;for(R(y,"Checking connection is from allowed list of origins: "+t);e<t.length;e++)if(t[e]===i){n=!0;break}return n}():(e=M[y]&&M[y].remoteHost,R(y,"Checking connection is from: "+e),i===e)))throw new Error("Unexpected message received from: "+i+" for "+b.iframe.id+". Message was: "+n.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(M[y]&&M[y].firstRun&&M[y]&&(M[y].firstRun=!1),b.type){case"close":C(b.iframe);break;case"message":!function(e){R(y,"onMessage passed: {iframe: "+b.iframe.id+", message: "+e+"}"),d("onMessage",{iframe:b.iframe,message:JSON.parse(e)}),R(y,"--")}(t(6));break;case"autoResize":M[y].autoResize=JSON.parse(t(9));break;case"scrollTo":o(!1);break;case"scrollToOffset":o(!0);break;case"pageInfo":a(M[y]&&M[y].iframe,y),function(){function e(n,i){function t(){M[r]?a(M[r].iframe,r):o()}["scroll","resize"].forEach(function(e){R(r,n+e+" listener for sendPageInfo"),i(window,e,t)})}function o(){e("Remove ",O)}var r=y;e("Add ",z),M[r]&&(M[r].stopPageInfo=o)}();break;case"pageInfoStop":M[y]&&M[y].stopPageInfo&&(M[y].stopPageInfo(),delete M[y].stopPageInfo);break;case"inPageLink":!function(e){var n,i=e.split("#")[1]||"",t=decodeURIComponent(i),o=document.getElementById(t)||document.getElementsByName(t)[0];o?(n=r(o),R(y,"Moving to in page link (#"+i+") at x: "+n.x+" y: "+n.y),F={x:n.x,y:n.y},s(),R(y,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(i):R(y,"In page link #"+i+" not found and window.parentIFrame not found"):R(y,"In page link #"+i+" not found")}(t(9));break;case"reset":j(b);break;case"init":e(),d("onInit",b.iframe);break;default:e()}}())):T(y,"Ignored: "+p)}function W(e,n,i){var t=null,o=null;if(M[e]){if("function"!=typeof(t=M[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");o=t(i)}return o}function b(e){var n=e.id;delete M[n]}function C(e){var n=e.id;if(!1!==W(n,"onClose",n)){R(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){E(e)}W(n,"onClosed",n),R(n,"--"),b(e)}else R(n,"Close iframe cancelled by onClose event")}function N(e){null===F&&R(e,"Get page position: "+(F={x:window.pageXOffset!==l?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==l?window.pageYOffset:document.documentElement.scrollTop}).x+","+F.y)}function S(e){null!==F&&(window.scrollTo(F.x,F.y),R(e,"Set page position: "+F.x+","+F.y),H())}function H(){F=null}function j(e){R(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),N(e.id),A(function(){P(e),B("reset","reset",e.iframe,e.id)},e,"reset")}function P(n){function i(e){o||"0"!==n[e]||(o=!0,R(t,"Hidden iFrame detected, creating visibility listener"),function(){function n(){Object.keys(M).forEach(function(e){!function(n){function e(e){return"0px"===(M[n]&&M[n].iframe.style[e])}M[n]&&null!==M[n].iframe.offsetParent&&(e("height")||e("width"))&&B("Visibility change","resize",M[n].iframe,n)}(e)})}function i(e){R("window","Mutation observed: "+e[0].target+" "+e[0].type),c(n,16)}var t=p();t&&function(){var e=document.querySelector("body");new t(i).observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}()}())}function e(e){!function(e){n.id?(n.iframe.style[e]=n[e]+"px",R(n.id,"IFrame ("+t+") "+e+" set to "+n[e]+"px")):R("undefined","messageData id not set")}(e),i(e)}var t=n.iframe.id;M[t]&&(M[t].sizeHeight&&e("height"),M[t].sizeWidth&&e("width"))}function A(e,n,i){i!==n.type&&r&&!window.jasmine?(R(n.id,"Requesting animation frame"),r(e)):e()}function B(e,n,i,t,o){var r,a=!1;t=t||i.id,M[t]&&(i&&"contentWindow"in i&&null!==i.contentWindow?(r=M[t]&&M[t].targetOrigin,R(t,"["+e+"] Sending msg to iframe["+t+"] ("+n+") targetOrigin: "+r),i.contentWindow.postMessage(I+n,r)):E(t,"["+e+"] IFrame("+t+") not found"),o&&M[t]&&M[t].warningTimeout&&(M[t].msgTimeout=setTimeout(function(){!M[t]||M[t].loaded||a||(a=!0,E(t,"IFrame has not responded within "+M[t].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},M[t].warningTimeout)))}function L(e){return e+":"+M[e].bodyMarginV1+":"+M[e].sizeWidth+":"+M[e].log+":"+M[e].interval+":"+M[e].enablePublicMethods+":"+M[e].autoResize+":"+M[e].bodyMargin+":"+M[e].heightCalculationMethod+":"+M[e].bodyBackground+":"+M[e].bodyPadding+":"+M[e].tolerance+":"+M[e].inPageLinks+":"+M[e].resizeFrom+":"+M[e].widthCalculationMethod}function d(i,e){function n(e){var n=e.split("Callback");if(2===n.length){var i="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[i]=this[e],delete this[e],E(c,"Deprecated: '"+e+"' has been renamed '"+i+"'. The old method will be removed in the next major version.")}}var t,o,r,a,s,d,c=(""===(o=i.id)&&(i.id=(t=e&&e.id||w.id+m++,null!==document.getElementById(t)&&(t+=m++),o=t),g=(e||{}).log,R(o,"Added missing iframe ID: "+o+" ("+i.src+")")),o);function u(e){1/0!==M[c][e]&&0!==M[c][e]&&(i.style[e]=M[c][e]+"px",R(c,"Set "+e+" = "+M[c][e]+"px"))}function f(e){if(M[c]["min"+e]>M[c]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}c in M&&"iFrameResizer"in i?E(c,"Ignored iFrame, already setup."):(d=(d=e)||{},M[c]={firstRun:!0,iframe:i,remoteHost:i.src&&i.src.split("/").slice(0,3).join("/")},function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(d),Object.keys(d).forEach(n,d),function(e){for(var n in w)Object.prototype.hasOwnProperty.call(w,n)&&(M[c][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:w[n])}(d),M[c]&&(M[c].targetOrigin=!0===M[c].checkOrigin?function(e){return""===e||null!==e.match(/^(about:blank|javascript:|file:\/\/)/)?"*":e}(M[c].remoteHost):"*"),function(){switch(R(c,"IFrame scrolling "+(M[c]&&M[c].scrolling?"enabled":"disabled")+" for "+c),i.style.overflow=!1===(M[c]&&M[c].scrolling)?"hidden":"auto",M[c]&&M[c].scrolling){case"omit":break;case!0:i.scrolling="yes";break;case!1:i.scrolling="no";break;default:i.scrolling=M[c]?M[c].scrolling:"no"}}(),f("Height"),f("Width"),u("maxHeight"),u("minHeight"),u("maxWidth"),u("minWidth"),"number"!=typeof(M[c]&&M[c].bodyMargin)&&"0"!==(M[c]&&M[c].bodyMargin)||(M[c].bodyMarginV1=M[c].bodyMargin,M[c].bodyMargin=M[c].bodyMargin+"px"),r=L(c),(s=p())&&(a=s,i.parentNode&&new a(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes).forEach(function(e){e===i&&C(i)})})}).observe(i.parentNode,{childList:!0})),z(i,"load",function(){B("iFrame.onload",r,i,l,!0),function(){var e=M[c]&&M[c].firstRun,n=M[c]&&M[c].heightCalculationMethod in h;!e&&n&&j({iframe:i,height:0,width:0,type:"init"})}()}),B("init",r,i,l,!0),M[c]&&(M[c].iframe.iFrameResizer={close:C.bind(null,M[c].iframe),removeListeners:b.bind(null,M[c].iframe),resize:B.bind(null,"Window resize","resize",M[c].iframe),moveToAnchor:function(e){B("Move to anchor","moveToAnchor:"+e,M[c].iframe,c)},sendMessage:function(e){B("Send Message","message:"+(e=JSON.stringify(e)),M[c].iframe,c)}}))}function c(e,n){null===i&&(i=setTimeout(function(){i=null,e()},n))}function u(){"hidden"!==document.visibilityState&&(R("document","Trigger event: Visiblity change"),c(function(){f("Tab Visable","resize")},16))}function f(n,i){Object.keys(M).forEach(function(e){!function(e){return M[e]&&"parent"===M[e].resizeFrom&&M[e].autoResize&&!M[e].firstRun}(e)||B(n,i,M[e].iframe,e)})}function y(){z(window,"message",n),z(window,"resize",function(){!function(e){R("window","Trigger event: "+e),c(function(){f("Window "+e,"resize")},16)}("resize")}),z(document,"visibilitychange",u),z(document,"-webkit-visibilitychange",u)}function q(){function i(e,n){n&&(function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),d(n,e),t.push(n))}var t;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!r;e+=1)r=window[n[e]+"RequestAnimationFrame"];r?r=r.bind(window):R("setup","RequestAnimationFrame not supported")}(),y(),function(e,n){switch(t=[],function(e){e&&e.enablePublicMethods&&E("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(e),typeof n){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(n||"iframe"),i.bind(l,e));break;case"object":i(e,n);break;default:throw new TypeError("Unexpected data type ("+typeof n+")")}return t}}}();
9
+ //# sourceMappingURL=iframeResizer.map
@@ -0,0 +1,624 @@
1
+ /*!
2
+ * Simple-Jekyll-Search
3
+ * Copyright 2015-2020, Christian Fei
4
+ * Licensed under the MIT License.
5
+ */
6
+
7
+ (function(){
8
+ // -----------------------------------------------------------------------------
9
+ // ESLint shimming
10
+ // -----------------------------------------------------------------------------
11
+ /* eslint indent: "off" */
12
+ /* eslint no-undef: "off" */
13
+ // -----------------------------------------------------------------------------
14
+ 'use strict';
15
+ var _$Templater_7 = {
16
+ compile: compile,
17
+
18
+ setOptions: setOptions
19
+ };
20
+
21
+ var options = {};
22
+ options.pattern = /\{(.*?)\}/g;
23
+ options.template = '';
24
+ options.middleware = function () {};
25
+
26
+ // jadams, 2020-07-11: added resultsOutput option
27
+ function setOptions (_options) {
28
+ options.pattern = _options.pattern || options.pattern;
29
+ options.template = _options.template || options.template;
30
+ options.results_output = _options.results_output;
31
+ if (typeof _options.middleware === 'function') {
32
+ options.middleware = _options.middleware;
33
+ }
34
+ }
35
+
36
+ /* jadams, 2017-07-09: Added resultsOutput for J1 Searcher
37
+ ------------------------------------------------------------- */
38
+ function compile(data) {
39
+ var tags;
40
+
41
+ return options.template.replace(options.pattern, function(match, prop) {
42
+ var value = options.middleware(prop, data[prop], options.template);
43
+ var resultsOutput = document.getElementById(options.results_output);
44
+ resultsOutput.style.display = 'none'; // to hide
45
+ if (value !== undefined) {
46
+ return value;
47
+ }
48
+ // jadams: show the results container
49
+ resultsOutput.style.display = 'block';
50
+ // jadams: beautify tags string for results output
51
+ if ( prop == 'tags' ) {
52
+ tags = data[prop].replace(/\s+/g, '');
53
+ data[prop] = tags.replace(/,/g, ' · ');
54
+ }
55
+ return data[prop] || match;
56
+ });
57
+ }
58
+
59
+ /*
60
+ function compile (data) {
61
+ return options.template.replace(options.pattern, function (match, prop) {
62
+ var value = options.middleware(prop, data[prop], options.template)
63
+ if (value !== undefined) {
64
+ return value
65
+ }
66
+ return data[prop] || match
67
+ })
68
+ }
69
+ */
70
+
71
+ 'use strict';
72
+
73
+ function fuzzysearch (needle, haystack) {
74
+ var tlen = haystack.length;
75
+ var qlen = needle.length;
76
+ if (qlen > tlen) {
77
+ return false;
78
+ }
79
+ if (qlen === tlen) {
80
+ return needle === haystack;
81
+ }
82
+ outer: for (var i = 0, j = 0; i < qlen; i++) {
83
+ var nch = needle.charCodeAt(i);
84
+ while (j < tlen) {
85
+ if (haystack.charCodeAt(j++) === nch) {
86
+ continue outer;
87
+ }
88
+ }
89
+ return false;
90
+ }
91
+ return true;
92
+ }
93
+
94
+ var _$fuzzysearch_1 = fuzzysearch;
95
+
96
+ /*
97
+ # -----------------------------------------------------------------------------
98
+ # ~/src/jekyll_search/SearchStrategies/FuzzySearchStrategy.js
99
+ # Simple Jekyll Search v1.1.5 implementation for J1 template
100
+ #
101
+ # Product/Info:
102
+ # https://jekyll.one
103
+ # https://github.com/christian-fei/Simple-Jekyll-Search
104
+ #
105
+ # Copyright (C) 2020 Juergen Adams
106
+ # Copyright (C) 2015 Christian Fei
107
+ #
108
+ # J1 Template is licensed under MIT License.
109
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
110
+ # SimpleJekyllSearch is licensed under MIT License.
111
+ # See: https://github.com/christian-fei/Simple-Jekyll-Search
112
+ #
113
+ # -----------------------------------------------------------------------------
114
+ */
115
+
116
+ // -----------------------------------------------------------------------------
117
+ // ESLint shimming
118
+ // -----------------------------------------------------------------------------
119
+ /* eslint no-undef: "off" */
120
+ // -----------------------------------------------------------------------------
121
+
122
+ 'use strict';
123
+
124
+ /* removed: var _$fuzzysearch_1 = require('fuzzysearch'); */;
125
+
126
+ var _$FuzzySearchStrategy_5 = new FuzzySearchStrategy();
127
+
128
+ function FuzzySearchStrategy () {
129
+ this.matches = function (string, crit) {
130
+ return _$fuzzysearch_1(crit, string);
131
+ };
132
+ }
133
+
134
+ /*
135
+ # -----------------------------------------------------------------------------
136
+ # ~/src/jekyll_search/SearchStrategies/LiteralSearchStrategy.js
137
+ # Simple Jekyll Search v1.1.5 implementation for J1 template
138
+ #
139
+ # Product/Info:
140
+ # https://jekyll.one
141
+ # https://github.com/christian-fei/Simple-Jekyll-Search
142
+ #
143
+ # Copyright (C) 2020 Juergen Adams
144
+ # Copyright (C) 2015 Christian Fei
145
+ #
146
+ # J1 Template is licensed under MIT License.
147
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
148
+ # SimpleJekyllSearch is licensed under MIT License.
149
+ # See: https://github.com/christian-fei/Simple-Jekyll-Search
150
+ #
151
+ # -----------------------------------------------------------------------------
152
+ */
153
+
154
+ // -----------------------------------------------------------------------------
155
+ // ESLint shimming
156
+ // -----------------------------------------------------------------------------
157
+ /* eslint no-undef: "off" */
158
+ // -----------------------------------------------------------------------------
159
+
160
+ 'use strict';
161
+ var _$LiteralSearchStrategy_6 = new LiteralSearchStrategy();
162
+
163
+ function LiteralSearchStrategy () {
164
+ this.matches = function (string, crit) {
165
+ if (typeof string !== 'string') {
166
+ return false;
167
+ }
168
+ string = string.trim();
169
+ return string.toLowerCase().indexOf(crit.toLowerCase()) >= 0;
170
+ };
171
+ }
172
+
173
+ // -----------------------------------------------------------------------------
174
+ // ESLint shimming
175
+ // -----------------------------------------------------------------------------
176
+ /* eslint indent: "off" */
177
+ /* eslint no-undef: "off" */
178
+ // -----------------------------------------------------------------------------
179
+ 'use strict';
180
+ var _$Repository_4 = {
181
+ put: put,
182
+ clear: clear,
183
+ get: get,
184
+ search: search,
185
+ setOptions: __setOptions_4
186
+ };
187
+
188
+ /* removed: var _$FuzzySearchStrategy_5 = require('./SearchStrategies/FuzzySearchStrategy'); */;
189
+ /* removed: var _$LiteralSearchStrategy_6 = require('./SearchStrategies/LiteralSearchStrategy'); */;
190
+
191
+ var data = [];
192
+ var opt = {};
193
+ opt.fuzzy = false;
194
+ opt.limit = 10;
195
+
196
+ /* jadams, 2017-07-09: added additional options J1 Template
197
+ ------------------------------------------------------------- */
198
+ opt.searchStrategy = opt.fuzzy ? _$FuzzySearchStrategy_5 : _$LiteralSearchStrategy_6;
199
+ // jadams, 2017-07-09: Added minSearchItemLen as an option
200
+ opt.minSearchItemLen = 4;
201
+ // jadams, 2017-07-09: Added resultsOutput as an option
202
+ opt.resultsOutput = document.getElementById('jss-panel');
203
+
204
+ function put (data) {
205
+ if (isObject(data)) {
206
+ return addObject(data);
207
+ }
208
+ if (isArray(data)) {
209
+ return addArray(data);
210
+ }
211
+ return undefined;
212
+ }
213
+ function clear () {
214
+ data.length = 0;
215
+ return data;
216
+ }
217
+
218
+ function get () {
219
+ return data;
220
+ }
221
+
222
+ function isObject (obj) { return !!obj && Object.prototype.toString.call(obj) === '[object Object]'; }
223
+ function isArray (obj) { return !!obj && Object.prototype.toString.call(obj) === '[object Array]'; }
224
+
225
+ function addObject (_data) {
226
+ data.push(_data);
227
+ return data;
228
+ }
229
+
230
+ function addArray (_data) {
231
+ var added = [];
232
+ for (var i = 0; i < _data.length; i++) {
233
+ if (isObject(_data[i])) {
234
+ added.push(addObject(_data[i]));
235
+ }
236
+ }
237
+ return added;
238
+ }
239
+
240
+ /* jadams, 2017-07-09: search function modified
241
+ ------------------------------------------------------------- */
242
+ function search(crit) {
243
+ var n = crit.length;
244
+
245
+ // jadams: Added|Evaluate minSearchItemLen
246
+ if (n < opt.minSearchItemLen) {
247
+ return [];
248
+ }
249
+ if (!crit) {
250
+ return [];
251
+ //return
252
+ }
253
+ return findMatches(data, crit, opt.searchStrategy, opt);
254
+ }
255
+
256
+ /* jadams, 2017-07-09: added additional options J1 Template
257
+ ------------------------------------------------------------- */
258
+ function __setOptions_4(_opt) {
259
+ opt = _opt || {};
260
+
261
+ opt.fuzzy = _opt.fuzzy || false;
262
+ opt.limit = _opt.limit || 10;
263
+ // jadams: Added minSearchItemLen as an option
264
+ opt.minSearchItemLen = _opt.minSearchItemLen || 3;
265
+ opt.searchStrategy = _opt.fuzzy ? _$FuzzySearchStrategy_5 : _$LiteralSearchStrategy_6;
266
+ // jadams: Added show|hide for resultsOutput as an option
267
+ opt.resultsOutput = _opt.resultsOutput || 'jss-panel';
268
+ }
269
+
270
+ /*
271
+ function setOptions (_opt) {
272
+ opt = _opt || {}
273
+
274
+ opt.fuzzy = _opt.fuzzy || false
275
+ opt.limit = _opt.limit || 10
276
+ opt.searchStrategy = _opt.fuzzy ? FuzzySearchStrategy : LiteralSearchStrategy
277
+ }
278
+ */
279
+
280
+ function findMatches (data, crit, strategy, opt) {
281
+ var matches = [];
282
+ for (var i = 0; i < data.length && matches.length < opt.limit; i++) {
283
+ var match = findMatchesInObject(data[i], crit, strategy, opt);
284
+ if (match) {
285
+ matches.push(match);
286
+ }
287
+ }
288
+ return matches;
289
+ }
290
+
291
+ function findMatchesInObject (obj, crit, strategy, opt) {
292
+ for (var key in obj) {
293
+ if (!isExcluded(obj[key], opt.exclude) && strategy.matches(obj[key], crit)) {
294
+ return obj;
295
+ }
296
+ }
297
+ }
298
+
299
+ function isExcluded (term, excludedTerms) {
300
+ var excluded = false;
301
+ excludedTerms = excludedTerms || [];
302
+ for (var i = 0; i < excludedTerms.length; i++) {
303
+ var excludedTerm = excludedTerms[i];
304
+ if (!excluded && new RegExp(term).test(excludedTerm)) {
305
+ excluded = true;
306
+ }
307
+ }
308
+ return excluded;
309
+ }
310
+
311
+ // -----------------------------------------------------------------------------
312
+ // ESLint shimming
313
+ // -----------------------------------------------------------------------------
314
+ /* eslint indent: "off" */
315
+ /* eslint no-undef: "off" */
316
+ // -----------------------------------------------------------------------------
317
+ 'use strict';
318
+ var _$JSONLoader_2 = {
319
+ load: load
320
+ };
321
+
322
+ // var yaml = require('js-yaml'); // See: https://www.npmjs.com/package/js-yaml
323
+
324
+
325
+ function load (location, callback) {
326
+ var xhr = getXHR();
327
+ xhr.open('GET', location, true);
328
+ xhr.onreadystatechange = createStateChangeListener(xhr, callback);
329
+ xhr.send();
330
+ }
331
+
332
+ // J1 version using js-yaml to parse JSON data (search index)
333
+ // -----------------------------------------------------------------------------
334
+ // function createStateChangeListener (xhr, callback) {
335
+ // return function () {
336
+ // if (xhr.readyState === 4 && xhr.status === 200) {
337
+ // try {
338
+ // yaml.safeLoadAll(xhr.responseText, function (dataObj) { // See: https://stackoverflow.com/questions/36973736/convert-yaml-to-json
339
+ // //console.log(dataObj);
340
+ // callback(null, dataObj);
341
+ // });
342
+ // /* jadams, 2019-03-10, moved data callback to YAML parser */
343
+ // /* callback(null, JSON.parse(xhr.responseText)); */
344
+ // } catch (e) {
345
+ // callback(null, e);
346
+ // }
347
+ // }
348
+ // };
349
+ // }
350
+
351
+ function createStateChangeListener (xhr, callback) {
352
+ return function () {
353
+ if (xhr.readyState === 4 && xhr.status === 200) {
354
+ try {
355
+ callback(null, JSON.parse(xhr.responseText));
356
+ } catch (err) {
357
+ callback(err, null);
358
+ }
359
+ }
360
+ };
361
+ }
362
+
363
+ function getXHR () {
364
+ return (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
365
+ }
366
+
367
+ // -----------------------------------------------------------------------------
368
+ // ESLint shimming
369
+ // -----------------------------------------------------------------------------
370
+ /* eslint indent: "off" */
371
+ /* eslint no-undef: "off" */
372
+ // -----------------------------------------------------------------------------
373
+ 'use strict';
374
+ var _$OptionsValidator_3 = function OptionsValidator (params) {
375
+ if (!validateParams(params)) {
376
+ throw new Error('-- OptionsValidator: required options missing');
377
+ }
378
+ if (!(this instanceof OptionsValidator)) {
379
+ return new OptionsValidator(params);
380
+ }
381
+
382
+ var requiredOptions = params.required;
383
+
384
+ this.getRequiredOptions = function () {
385
+ return requiredOptions;
386
+ };
387
+
388
+ this.validate = function (parameters) {
389
+ var errors = [];
390
+ requiredOptions.forEach(function (requiredOptionName) {
391
+ if (parameters[requiredOptionName] === undefined) {
392
+ errors.push(requiredOptionName);
393
+ }
394
+ });
395
+ return errors;
396
+ };
397
+
398
+ function validateParams (params) {
399
+ if (!params) {
400
+ return false;
401
+ }
402
+ return params.required !== undefined && params.required instanceof Array;
403
+ }
404
+ };
405
+
406
+ // -----------------------------------------------------------------------------
407
+ // ESLint shimming
408
+ // -----------------------------------------------------------------------------
409
+ /* eslint indent: "off" */
410
+ /* eslint no-undef: "off" */
411
+ // -----------------------------------------------------------------------------
412
+ 'use strict';
413
+ var _$utils_9 = {
414
+ merge: merge,
415
+ isJSON: isJSON
416
+ };
417
+
418
+ function merge (defaultParams, mergeParams) {
419
+ var mergedOptions = {};
420
+ for (var option in defaultParams) {
421
+ mergedOptions[option] = defaultParams[option];
422
+ if (mergeParams[option] !== undefined) {
423
+ mergedOptions[option] = mergeParams[option];
424
+ }
425
+ }
426
+ return mergedOptions;
427
+ }
428
+
429
+ function isJSON (json) {
430
+ try {
431
+ if (json instanceof Object && JSON.parse(JSON.stringify(json))) {
432
+ return true;
433
+ }
434
+ return false;
435
+ } catch (e) {
436
+ return false;
437
+ }
438
+ }
439
+
440
+ var _$src_8 = {};
441
+ /*
442
+ # -----------------------------------------------------------------------------
443
+ # ~/jekyll_search/jekyll_search.js
444
+ # Simple Jekyll Search v1.1.5 implementation for J1 template
445
+ #
446
+ # Product/Info:
447
+ # https://jekyll.one
448
+ # https://github.com/christian-fei/Simple-Jekyll-Search
449
+ #
450
+ # Copyright (C) 2020 Juergen Adams
451
+ # Copyright (C) 2015 Christian Fei
452
+ #
453
+ # J1 Template is licensed under MIT License.
454
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
455
+ # SimpleJekyllSearch is licensed under MIT License.
456
+ # See: https://github.com/christian-fei/Simple-Jekyll-Search
457
+ # -----------------------------------------------------------------------------
458
+ */
459
+
460
+ // -----------------------------------------------------------------------------
461
+ // ESLint shimming
462
+ // -----------------------------------------------------------------------------
463
+ /* eslint no-unused-vars: "off" */
464
+ /* eslint indent: "off" */
465
+ /* eslint no-undef: "off" */
466
+ // -----------------------------------------------------------------------------
467
+ 'use strict'
468
+ /*!
469
+ * Simple Jekyll Search
470
+ * 2015 Christian Fei
471
+ * Licensed under MIT License.
472
+ */
473
+
474
+ ;(function (window, document) {
475
+ // Global variables
476
+ var message = {};
477
+
478
+ var options = {
479
+ searchInput: null,
480
+ resultsContainer: null,
481
+ results_output: null,
482
+ json: [],
483
+ searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}</a></li>',
484
+ templateMiddleware: function () {},
485
+ noResultsText: 'No results found',
486
+ limit: 10,
487
+ fuzzy: false,
488
+ exclude: []
489
+ };
490
+
491
+ var requiredOptions = ['searchInput', 'resultsContainer', 'results_output', 'json'];
492
+ /* removed: var _$Templater_7 = require('./Templater'); */;
493
+ /* removed: var _$Repository_4 = require('./Repository'); */;
494
+ /* removed: var _$JSONLoader_2 = require('./JSONLoader'); */;
495
+ var optionsValidator = _$OptionsValidator_3({ required: requiredOptions });
496
+ /* removed: var _$utils_9 = require('./utils'); */;
497
+ var logger;
498
+ var logText;
499
+
500
+ /*
501
+ Public API
502
+ */
503
+ window.SimpleJekyllSearch = function SimpleJekyllSearch (_options) {
504
+ logger = log4javascript.getLogger('j1.core.j1_searcher');
505
+ logger.info('start initialization');
506
+
507
+ var errors = optionsValidator.validate(_options);
508
+ if (errors.length > 0) {
509
+ logger.error('missing required options: ' + requiredOptions);
510
+ // throwError('You must specify the following required options: ' + requiredOptions);
511
+ }
512
+
513
+ options = _$utils_9.merge(options, _options);
514
+
515
+ _$Templater_7.setOptions({
516
+ template: options.searchResultTemplate,
517
+ results_output: options.results_output,
518
+ middleware: options.templateMiddleware
519
+ });
520
+
521
+ _$Repository_4.setOptions({
522
+ fuzzy: options.fuzzy,
523
+ limit: options.limit
524
+ });
525
+
526
+ if (_$utils_9.isJSON(options.json)) {
527
+ initWithJSON(options.json);
528
+ } else {
529
+ initWithURL(options.json);
530
+ }
531
+
532
+ // message.type = 'command';
533
+ // message.action = 'module_initialized';
534
+ // message.text = 'Module initialized successfully';
535
+ //j1.sendMessage( 'Searcher', 'SimpleJekyllSearch', message );
536
+
537
+ // logger.info('initialization finished successfully');
538
+
539
+ return true;
540
+ };
541
+
542
+ // for backwards compatibility
543
+ window.SimpleJekyllSearch.init = window.SimpleJekyllSearch;
544
+
545
+ if (typeof window.SimpleJekyllSearchInit === 'function') {
546
+ window.SimpleJekyllSearchInit.call(this, window.SimpleJekyllSearch);
547
+ }
548
+
549
+ function initWithJSON (json) {
550
+ _$Repository_4.put(json);
551
+ registerInput();
552
+ }
553
+
554
+ function initWithURL (url) {
555
+ _$JSONLoader_2.load(url, function (err, json) {
556
+ if (err) {
557
+ logger.error('failed to get data at: ' + url);
558
+ // throwError('failed to get JSON (' + url + ')');
559
+ }
560
+ initWithJSON(json);
561
+ });
562
+ }
563
+
564
+ function emptyResultsContainer () {
565
+ options.resultsContainer.innerHTML = '';
566
+ }
567
+
568
+ function appendToResultsContainer (text) {
569
+ options.resultsContainer.innerHTML += text;
570
+ }
571
+
572
+ function registerInput () {
573
+ options.searchInput.addEventListener('keyup', function (e) {
574
+ var key = e.which;
575
+ if (isWhitelistedKey(key)) {
576
+ emptyResultsContainer();
577
+ var query = e.target.value;
578
+ if (isValidQuery(query)) {
579
+ render(_$Repository_4.search(query));
580
+ // highlight the query (word) in description text
581
+ // see: https://stackoverflow.com/questions/17232820/change-the-color-of-a-text-in-div-using-jquery-contains
582
+ // see: https://stackoverflow.com/questions/187537/is-there-a-case-insensitive-jquery-contains-selector
583
+ $('.result-group-item-text:contains(' +query+ ')').each(function () {
584
+ var regex = new RegExp(query,'gi');
585
+ $(this).html($(this).text().replace(regex, '<code style="color: red !important; font-weight: 700;font-size: 125% !important">' +query+ '</code>'));
586
+ });
587
+ // highlight the query (word) in (documents) tagline
588
+ $('h6.result-item:contains(' +query+ ')').each(function () {
589
+ var regex = new RegExp(query,'gi');
590
+ $(this).html($(this).html().replace(regex, '&nbsp;<code style="color: red !important; font-weight: 700;font-size: 135% !important">' +query+ '</code>&nbsp;'));
591
+ });
592
+ }
593
+ }
594
+ });
595
+ }
596
+
597
+ /* jadams, 2017-07-09: added resultsOutput for J1 Searcher
598
+ -------------------------------------------------------------------------- */
599
+ function render (results) {
600
+ if (results.length === 0) {
601
+ var resultsOutput = document.getElementById(options.results_output);
602
+ resultsOutput.style.display = 'none'; // to hide
603
+ return appendToResultsContainer(options.noResultsText);
604
+ }
605
+ for (var i = 0; i < results.length; i++) {
606
+ appendToResultsContainer(_$Templater_7.compile(results[i]));
607
+ }
608
+ }
609
+
610
+ function isValidQuery (query) {
611
+ return query && query.length > 0;
612
+ }
613
+
614
+ function isWhitelistedKey (key) {
615
+ return [13, 16, 20, 37, 38, 39, 40, 91].indexOf(key) === -1;
616
+ }
617
+
618
+ function throwError (message) {
619
+ throw new Error('SimpleJekyllSearch --- ' + message);
620
+ }
621
+
622
+ })(window, document);
623
+
624
+ }());