j1-template 2023.9.2 → 2023.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +1 -1
  4. data/_includes/themes/j1/layouts/content_generator_page.html +1 -1
  5. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  6. data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
  7. data/_includes/themes/j1/layouts/layout_metadata_generator.html +1 -1
  8. data/_includes/themes/j1/layouts/layout_module_generator.html +1 -1
  9. data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -1
  10. data/_includes/themes/j1/modules/attics/generator.html +1 -1
  11. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  12. data/_includes/themes/j1/modules/searcher/generator.html +1 -1
  13. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +1 -1
  14. data/_includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc +1 -1
  15. data/_includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc +1 -1
  16. data/_includes/themes/j1/procedures/blocks/footer/boxes/issue.proc +1 -1
  17. data/_includes/themes/j1/procedures/blocks/footer/boxes/legal_statements.proc +1 -1
  18. data/_includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc +1 -1
  19. data/_includes/themes/j1/procedures/blocks/footer/boxes/news_box.proc +1 -1
  20. data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +1 -1
  21. data/_includes/themes/j1/procedures/blocks/get_wave.proc +1 -1
  22. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
  23. data/_includes/themes/j1/procedures/collections/pager.proc +1 -1
  24. data/_includes/themes/j1/procedures/global/attributes_loader.proc +1 -1
  25. data/_includes/themes/j1/procedures/global/collect_frontmatter_options.proc +1 -1
  26. data/_includes/themes/j1/procedures/global/collect_page_options.proc +1 -1
  27. data/_includes/themes/j1/procedures/global/create_bs_button.proc +1 -1
  28. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -1
  29. data/_includes/themes/j1/procedures/global/date-german.proc +1 -1
  30. data/_includes/themes/j1/procedures/global/get_category.proc +1 -1
  31. data/_includes/themes/j1/procedures/global/get_category_item.proc +1 -1
  32. data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
  33. data/_includes/themes/j1/procedures/global/get_page_path.proc +1 -1
  34. data/_includes/themes/j1/procedures/global/get_page_url.proc +1 -1
  35. data/_includes/themes/j1/procedures/global/select_color.proc +1 -1
  36. data/_includes/themes/j1/procedures/global/select_font_size.proc +1 -1
  37. data/_includes/themes/j1/procedures/global/select_icon_size.proc +1 -1
  38. data/_includes/themes/j1/procedures/global/select_location.proc +1 -1
  39. data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +1 -1
  40. data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +1 -1
  41. data/_includes/themes/j1/procedures/global/set_image_block.proc +1 -1
  42. data/_includes/themes/j1/procedures/global/setup.proc +1 -1
  43. data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -1
  44. data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
  45. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  46. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +1 -1
  47. data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
  48. data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
  49. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +1 -1
  50. data/_includes/themes/j1/procedures/posts/create_ad_block.proc +1 -1
  51. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  52. data/_includes/themes/j1/procedures/posts/pager.proc +1 -1
  53. data/_layouts/_home.html +1 -1
  54. data/_layouts/autopage_category.html +1 -1
  55. data/_layouts/autopage_collection.html +1 -1
  56. data/_layouts/autopage_collections_tags.html +1 -1
  57. data/_layouts/autopage_tags.html +1 -1
  58. data/_layouts/collection.html +1 -1
  59. data/_layouts/compress.html +1 -1
  60. data/_layouts/default.html +1 -1
  61. data/_layouts/home.html +1 -1
  62. data/_layouts/news_panel_posts.html +1 -1
  63. data/_layouts/page.html +1 -1
  64. data/_layouts/post.html +1 -1
  65. data/_layouts/raw.html +1 -1
  66. data/apps/public/cc/cc.yml +1 -1
  67. data/assets/data/authclient.html +2 -2
  68. data/assets/data/banner.html +5 -5
  69. data/assets/data/carousel.json +1 -1
  70. data/assets/data/cookieconsent.html +2 -2
  71. data/assets/data/fab.html +2 -2
  72. data/assets/data/footer.html +2 -2
  73. data/assets/data/galeries.html +240 -0
  74. data/assets/data/gallery_customizer.html +2 -2
  75. data/assets/data/iso-639-language-codes-flags.json +1 -1
  76. data/assets/data/iso-639-language-codes.json +1 -1
  77. data/assets/data/j1_config.json +1 -1
  78. data/assets/data/masonry.html +99 -86
  79. data/assets/data/masterslider.html +2 -2
  80. data/assets/data/mdi_icons.json +1 -1
  81. data/assets/data/mdil_icons.json +1 -1
  82. data/assets/data/menu.html +2 -2
  83. data/assets/data/mmenu.html +2 -2
  84. data/assets/data/mmenu_sidebar.html +2 -2
  85. data/assets/data/mmenu_toc.html +2 -2
  86. data/assets/data/panel.html +2 -2
  87. data/assets/data/particles.yml +1 -1
  88. data/assets/data/private.json +1 -1
  89. data/assets/data/quicklinks.html +2 -2
  90. data/assets/data/rtext_resizer.html +2 -2
  91. data/assets/data/slick.html +2 -2
  92. data/assets/data/speak2me.html +2 -2
  93. data/assets/data/themes.bootswatch.json +1 -1
  94. data/assets/data/themes.json +1 -1
  95. data/assets/data/translator.html +2 -2
  96. data/assets/error_pages/HTTP204.html +1 -1
  97. data/assets/error_pages/HTTP400.html +1 -1
  98. data/assets/error_pages/HTTP401.html +1 -1
  99. data/assets/error_pages/HTTP403.html +1 -1
  100. data/assets/error_pages/HTTP404.html +1 -1
  101. data/assets/error_pages/HTTP444.html +1 -1
  102. data/assets/error_pages/HTTP445.html +1 -1
  103. data/assets/error_pages/HTTP446.html +1 -1
  104. data/assets/error_pages/HTTP447.html +1 -1
  105. data/assets/error_pages/HTTP448.html +1 -1
  106. data/assets/error_pages/HTTP500.html +1 -1
  107. data/assets/error_pages/HTTP501.html +1 -1
  108. data/assets/error_pages/HTTP502.html +1 -1
  109. data/assets/error_pages/HTTP503.html +1 -1
  110. data/assets/themes/j1/adapter/js/advertising.js +2 -2
  111. data/assets/themes/j1/adapter/js/algolia.js +2 -2
  112. data/assets/themes/j1/adapter/js/analytics.js +2 -2
  113. data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
  114. data/assets/themes/j1/adapter/js/attic.js +2 -2
  115. data/assets/themes/j1/adapter/js/bmd.js +2 -2
  116. data/assets/themes/j1/adapter/js/carousel.js +2 -2
  117. data/assets/themes/j1/adapter/js/clipboard.js +2 -2
  118. data/assets/themes/j1/adapter/js/comments.js +2 -2
  119. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  120. data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
  121. data/assets/themes/j1/adapter/js/customModule.js +2 -2
  122. data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
  123. data/assets/themes/j1/adapter/js/fab.js +2 -2
  124. data/assets/themes/j1/adapter/js/framer.js +2 -2
  125. data/assets/themes/j1/adapter/js/gallery.js +325 -0
  126. data/assets/themes/j1/adapter/js/iconPicker.js +2 -2
  127. data/assets/themes/j1/adapter/js/j1.js +2 -2
  128. data/assets/themes/j1/adapter/js/lazyLoader.js +2 -2
  129. data/assets/themes/j1/adapter/js/{justifiedGallery.js → lightGallery.js} +54 -48
  130. data/assets/themes/j1/adapter/js/lightbox.js +2 -2
  131. data/assets/themes/j1/adapter/js/logger.js +2 -2
  132. data/assets/themes/j1/adapter/js/lunr.js +2 -2
  133. data/assets/themes/j1/adapter/js/masonry.js +80 -13
  134. data/assets/themes/j1/adapter/js/masterslider.js +2 -2
  135. data/assets/themes/j1/adapter/js/mmenu.js +2 -2
  136. data/assets/themes/j1/adapter/js/navigator.js +2 -2
  137. data/assets/themes/j1/adapter/js/particles.js +2 -2
  138. data/assets/themes/j1/adapter/js/rangeSlider.js +2 -2
  139. data/assets/themes/j1/adapter/js/rouge.js +2 -2
  140. data/assets/themes/j1/adapter/js/rtable.js +2 -2
  141. data/assets/themes/j1/adapter/js/rtextResizer.js +2 -2
  142. data/assets/themes/j1/adapter/js/scroller.js +2 -2
  143. data/assets/themes/j1/adapter/js/slick.js +1 -1
  144. data/assets/themes/j1/adapter/js/speak2me.js +2 -2
  145. data/assets/themes/j1/adapter/js/themeToggler.js +2 -2
  146. data/assets/themes/j1/adapter/js/themer.js +2 -2
  147. data/assets/themes/j1/adapter/js/toccer.js +2 -2
  148. data/assets/themes/j1/adapter/js/translator.js +1 -1
  149. data/assets/themes/j1/adapter/js/waves.js +2 -2
  150. data/assets/themes/j1/core/country-flags/css/theme/uno.css +1 -1
  151. data/assets/themes/j1/core/country-flags/css/theme/uno.min.css +1 -1
  152. data/assets/themes/j1/core/css/animate.css +2 -2
  153. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +2 -2
  154. data/assets/themes/j1/core/css/icon-fonts/iconify.css +5 -5
  155. data/assets/themes/j1/core/css/icon-fonts/mdi.css +9 -9
  156. data/assets/themes/j1/core/css/icon-fonts/mdib.css +7 -7
  157. data/assets/themes/j1/core/css/icon-fonts/mdil.css +10 -10
  158. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1 -1
  159. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -30
  160. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +107 -100
  161. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  162. data/assets/themes/j1/core/css/vendor.css +10 -10
  163. data/assets/themes/j1/core/js/template.js +159 -19
  164. data/assets/themes/j1/core/js/template.min.js +6 -6
  165. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  166. data/assets/themes/j1/modules/backstretch/js/backstretch.js +1 -1
  167. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  168. data/assets/themes/j1/modules/bmd/js/bmd.js +1 -1
  169. data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
  170. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +2118 -2696
  171. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
  172. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +3 -3
  173. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -1
  174. data/assets/themes/j1/modules/carousel/css/carousel.css +1 -1
  175. data/assets/themes/j1/modules/carousel/css/carousel.min.css +1 -1
  176. data/assets/themes/j1/modules/carousel/css/carousel_transitions.css +1 -1
  177. data/assets/themes/j1/modules/carousel/css/carousel_transitions.min.css +1 -1
  178. data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
  179. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  180. data/assets/themes/j1/modules/clipboard/css/theme/uno.css +1 -1
  181. data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +1 -1
  182. data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css +1 -1
  183. data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.min.css +1 -1
  184. data/assets/themes/j1/modules/dropdowns/js/cash.js +1 -1
  185. data/assets/themes/j1/modules/dropdowns/js/cash.min.js +1 -1
  186. data/assets/themes/j1/modules/dropdowns/js/dropdowns.js +1 -1
  187. data/assets/themes/j1/modules/dropdowns/js/dropdowns.min.js +1 -1
  188. data/assets/themes/j1/modules/fab/js/cash.js +1 -1
  189. data/assets/themes/j1/modules/fab/js/cash.min.js +1 -1
  190. data/assets/themes/j1/modules/fab/js/fab.js +1 -1
  191. data/assets/themes/j1/modules/fab/js/fab.min.js +1 -1
  192. data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.css +1 -1
  193. data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.min.css +1 -1
  194. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +1 -1
  195. data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.min.js +1 -1
  196. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +0 -1
  197. data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +0 -1
  198. data/assets/themes/j1/modules/jquery/js/extensions/hasClass.js +1 -1
  199. data/assets/themes/j1/modules/jquery/js/extensions/hasClass.min.js +1 -1
  200. data/assets/themes/j1/modules/jquery/js/extensions/removeClass.js +1 -1
  201. data/assets/themes/j1/modules/jquery/js/extensions/removeClass.min.js +1 -1
  202. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
  203. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
  204. data/assets/themes/j1/modules/lightGallery/css/lg-transitions.css +984 -0
  205. data/assets/themes/j1/modules/lightGallery/css/lg-transitions.min.css +26 -0
  206. data/assets/themes/j1/modules/lightGallery/css/lightgallery-bundle.css +1627 -0
  207. data/assets/themes/j1/modules/lightGallery/css/lightgallery-bundle.min.css +25 -0
  208. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-autoplay.css +67 -0
  209. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-comments.css +157 -0
  210. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-fullscreen.css +32 -0
  211. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-medium-zoom.css +40 -0
  212. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-pager.css +115 -0
  213. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-rotate.css +74 -0
  214. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-share.css +168 -0
  215. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-thumbnail.css +133 -0
  216. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-video.css +169 -0
  217. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-zoom.css +141 -0
  218. data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.css +109 -0
  219. data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.min.css +19 -0
  220. data/assets/themes/j1/modules/lightGallery/{css/fonts → fonts}/lg.svg +35 -28
  221. data/assets/themes/j1/modules/lightGallery/fonts/lg.ttf +0 -0
  222. data/assets/themes/j1/modules/lightGallery/fonts/lg.woff +0 -0
  223. data/assets/themes/j1/modules/lightGallery/fonts/lg.woff2 +0 -0
  224. data/assets/themes/j1/modules/lightGallery/img/loading.gif +0 -0
  225. data/assets/themes/j1/modules/lightGallery/js/lightgallery.js +2759 -0
  226. data/assets/themes/j1/modules/lightGallery/js/lightgallery.min.js +25 -0
  227. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-autoplay.js +275 -0
  228. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +26 -0
  229. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-comment.js +230 -0
  230. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-comment.min.js +26 -0
  231. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +160 -0
  232. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +26 -0
  233. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-hash.js +223 -0
  234. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-hash.min.js +27 -0
  235. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +157 -0
  236. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +26 -0
  237. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-pager.js +164 -0
  238. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-pager.min.js +26 -0
  239. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-rotate.js +299 -0
  240. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +26 -0
  241. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-share.js +244 -0
  242. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-share.min.js +27 -0
  243. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +509 -0
  244. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +26 -0
  245. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.js +585 -0
  246. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.min.js +27 -0
  247. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +207 -0
  248. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
  249. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-zoom.js +999 -0
  250. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +26 -0
  251. data/assets/themes/j1/modules/lightbox/css/lightbox.css +1 -1
  252. data/assets/themes/j1/modules/lightbox/css/lightbox.min.css +1 -1
  253. data/assets/themes/j1/modules/lightbox/css/theme/uno.css +1 -1
  254. data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -1
  255. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  256. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
  257. data/assets/themes/j1/modules/lunr/js/j1.js +1 -1
  258. data/assets/themes/j1/modules/lunr/js/j1.min.js +1 -1
  259. data/assets/themes/j1/modules/masonry/js/utils/images_loaded.js +439 -0
  260. data/assets/themes/j1/modules/masonry/js/utils/images_loaded.min.js +12 -0
  261. data/assets/themes/j1/modules/masterslider/css/theme/uno.css +1 -1
  262. data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
  263. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +1 -1
  264. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
  265. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +1 -1
  266. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +1 -1
  267. data/assets/themes/j1/modules/mmenuLight/js/mmenu.polyfills.js +118 -0
  268. data/assets/themes/j1/modules/particles/skies/cavern1.png +0 -0
  269. data/assets/themes/j1/modules/particles/skies/cavern2.png +0 -0
  270. data/assets/themes/j1/modules/particles/skies/chrome.png +0 -0
  271. data/assets/themes/j1/modules/particles/skies/deep-space.jpg +0 -0
  272. data/assets/themes/j1/modules/particles/skies/deepblue.png +0 -0
  273. data/assets/themes/j1/modules/particles/skies/fire.png +0 -0
  274. data/assets/themes/j1/modules/particles/skies/fog.png +0 -0
  275. data/assets/themes/j1/modules/particles/skies/sky1.png +0 -0
  276. data/assets/themes/j1/modules/particles/skies/sky2.png +0 -0
  277. data/assets/themes/j1/modules/particles/skies/sky3.png +0 -0
  278. data/assets/themes/j1/modules/particles/skies/sky4.png +0 -0
  279. data/assets/themes/j1/modules/particles/skies/sky5.png +0 -0
  280. data/assets/themes/j1/modules/particles/skies/space1.png +0 -0
  281. data/assets/themes/j1/modules/particles/skies/space2.png +0 -0
  282. data/assets/themes/j1/modules/particles/skies/space3.png +0 -0
  283. data/assets/themes/j1/modules/particles/skies/starfield.png +0 -0
  284. data/assets/themes/j1/modules/particles/skies/sunorbit.png +0 -0
  285. data/assets/themes/j1/modules/particles/skies/sunset.png +0 -0
  286. data/assets/themes/j1/modules/particles/skies/toxic.png +0 -0
  287. data/assets/themes/j1/modules/particles/skies/underwater1.png +0 -0
  288. data/assets/themes/j1/modules/particles/skies/underwater2.png +0 -0
  289. data/assets/themes/j1/modules/particles/skies/underwater3.png +0 -0
  290. data/assets/themes/j1/modules/particles/skies/wtf.png +0 -0
  291. data/assets/themes/j1/modules/particles/sprites/slime.png +0 -0
  292. data/assets/themes/j1/modules/particles/sprites/slimeeyes.png +0 -0
  293. data/assets/themes/j1/modules/particles/sprites/snake.png +0 -0
  294. data/assets/themes/j1/modules/particles/sprites/snowflakes.png +0 -0
  295. data/assets/themes/j1/modules/particles/sprites/snowflakes_large.png +0 -0
  296. data/assets/themes/j1/modules/popper/js/popper.min.js +0 -1
  297. data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.css +1 -1
  298. data/assets/themes/j1/modules/rangeSlider/css/theme/uno/nouislider.min.css +1 -1
  299. data/assets/themes/j1/modules/rouge/css/base16/theme.css +1 -1
  300. data/assets/themes/j1/modules/rouge/css/base16/theme.min.css +1 -1
  301. data/assets/themes/j1/modules/rouge/css/base16.dark/theme.css +1 -1
  302. data/assets/themes/j1/modules/rouge/css/base16.dark/theme.min.css +1 -1
  303. data/assets/themes/j1/modules/rouge/css/base16.light/theme.css +1 -1
  304. data/assets/themes/j1/modules/rouge/css/base16.light/theme.min.css +1 -1
  305. data/assets/themes/j1/modules/rouge/css/base16.monokai/theme.css +1 -1
  306. data/assets/themes/j1/modules/rouge/css/base16.monokai/theme.min.css +1 -1
  307. data/assets/themes/j1/modules/rouge/css/base16.monokai.dark/theme.css +1 -1
  308. data/assets/themes/j1/modules/rouge/css/base16.monokai.dark/theme.min.css +1 -1
  309. data/assets/themes/j1/modules/rouge/css/base16.monokai.light/theme.css +1 -1
  310. data/assets/themes/j1/modules/rouge/css/base16.monokai.light/theme.min.css +1 -1
  311. data/assets/themes/j1/modules/rouge/css/base16.solarized/theme.css +1 -1
  312. data/assets/themes/j1/modules/rouge/css/base16.solarized/theme.min.css +1 -1
  313. data/assets/themes/j1/modules/rouge/css/base16.solarized.dark/theme.css +1 -1
  314. data/assets/themes/j1/modules/rouge/css/base16.solarized.dark/theme.min.css +1 -1
  315. data/assets/themes/j1/modules/rouge/css/base16.solarized.light/theme.css +1 -1
  316. data/assets/themes/j1/modules/rouge/css/base16.solarized.light/theme.min.css +1 -1
  317. data/assets/themes/j1/modules/rouge/css/colorful/theme.css +1 -1
  318. data/assets/themes/j1/modules/rouge/css/colorful/theme.min.css +1 -1
  319. data/assets/themes/j1/modules/rouge/css/github/theme.css +1 -1
  320. data/assets/themes/j1/modules/rouge/css/github/theme.min.css +1 -1
  321. data/assets/themes/j1/modules/rouge/css/gruvbox/theme.css +1 -1
  322. data/assets/themes/j1/modules/rouge/css/gruvbox/theme.min.css +1 -1
  323. data/assets/themes/j1/modules/rouge/css/gruvbox.dark/theme.css +1 -1
  324. data/assets/themes/j1/modules/rouge/css/gruvbox.dark/theme.min.css +1 -1
  325. data/assets/themes/j1/modules/rouge/css/gruvbox.light/theme.css +1 -1
  326. data/assets/themes/j1/modules/rouge/css/gruvbox.light/theme.min.css +1 -1
  327. data/assets/themes/j1/modules/rouge/css/igorpro/theme.css +1 -1
  328. data/assets/themes/j1/modules/rouge/css/igorpro/theme.min.css +1 -1
  329. data/assets/themes/j1/modules/rouge/css/molokai/theme.css +1 -1
  330. data/assets/themes/j1/modules/rouge/css/molokai/theme.min.css +1 -1
  331. data/assets/themes/j1/modules/rouge/css/monokai/theme.css +1 -1
  332. data/assets/themes/j1/modules/rouge/css/monokai/theme.min.css +1 -1
  333. data/assets/themes/j1/modules/rouge/css/monokai.sublime/theme.css +1 -1
  334. data/assets/themes/j1/modules/rouge/css/monokai.sublime/theme.min.css +1 -1
  335. data/assets/themes/j1/modules/rouge/css/pastie/theme.css +1 -1
  336. data/assets/themes/j1/modules/rouge/css/pastie/theme.min.css +1 -1
  337. data/assets/themes/j1/modules/rouge/css/thankful_eyes/theme.css +1 -1
  338. data/assets/themes/j1/modules/rouge/css/thankful_eyes/theme.min.css +1 -1
  339. data/assets/themes/j1/modules/rouge/css/themes.txt +1 -1
  340. data/assets/themes/j1/modules/rouge/css/tulip/theme.css +1 -1
  341. data/assets/themes/j1/modules/rouge/css/tulip/theme.min.css +1 -1
  342. data/assets/themes/j1/modules/rouge/css/uno.dark/theme.css +1 -1
  343. data/assets/themes/j1/modules/rouge/css/uno.dark/theme.min.css +1 -1
  344. data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +1 -1
  345. data/assets/themes/j1/modules/rouge/css/uno.light/theme.min.css +1 -1
  346. data/assets/themes/j1/modules/rouge/js/select.js +1 -1
  347. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +1 -1
  348. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +1 -1
  349. data/assets/themes/j1/modules/rtable/js/rtable.js +1 -1
  350. data/assets/themes/j1/modules/rtable/js/rtable.min.js +1 -1
  351. data/assets/themes/j1/modules/scroller/css/theme/uno.css +1 -1
  352. data/assets/themes/j1/modules/scroller/css/theme/uno.min.css +1 -1
  353. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  354. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +1 -1
  355. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +1 -1
  356. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +0 -1
  357. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +1 -1
  358. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
  359. data/assets/themes/j1/modules/spinner/css/spin.css +1 -1
  360. data/assets/themes/j1/modules/spinner/css/spin.min.css +1 -1
  361. data/assets/themes/j1/modules/spinner/js/spin.js +1 -1
  362. data/assets/themes/j1/modules/spinner/js/spin.min.js +1 -1
  363. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
  364. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  365. data/assets/themes/j1/modules/translator/css/translator.css +1 -1
  366. data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
  367. data/assets/themes/j1/modules/videojs/css/themes/city.css +74 -74
  368. data/assets/themes/j1/modules/videojs/css/themes/city.min.css +3 -4
  369. data/assets/themes/j1/modules/videojs/css/themes/fantasy.css +3 -3
  370. data/assets/themes/j1/modules/videojs/css/themes/fantasy.min.css +3 -4
  371. data/assets/themes/j1/modules/videojs/css/themes/forest.css +4 -3
  372. data/assets/themes/j1/modules/videojs/css/themes/forest.min.css +3 -4
  373. data/assets/themes/j1/modules/videojs/css/themes/sea.css +2 -2
  374. data/assets/themes/j1/modules/videojs/css/themes/sea.min.css +3 -4
  375. data/assets/themes/j1/modules/videojs/css/themes/uno.css +151 -0
  376. data/assets/themes/j1/modules/videojs/css/themes/uno.min.css +17 -0
  377. data/assets/themes/j1/modules/videojs/css/video-js.css +12 -0
  378. data/assets/themes/j1/modules/videojs/css/video-js.min.css +12 -0
  379. data/assets/themes/j1/modules/videojs/js/plugins/dm/LICENSE +19 -0
  380. data/assets/themes/j1/modules/videojs/js/plugins/dm/README.md +94 -0
  381. data/assets/themes/j1/modules/videojs/js/plugins/dm/api/README.md +7 -0
  382. data/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.min.js +29 -0
  383. data/assets/themes/j1/modules/videojs/js/plugins/dm/api/dailymotion.player.min.js +80 -0
  384. data/assets/themes/j1/modules/videojs/js/plugins/dm/dailymotion.js +603 -0
  385. data/assets/themes/j1/modules/videojs/js/plugins/dm/dailymotion.min.js +16 -0
  386. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-controls.html +18 -0
  387. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-javascript.html +27 -0
  388. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/dailymotion-playlist.html +19 -0
  389. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/global-parameters.html +28 -0
  390. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/simple.html +20 -0
  391. data/assets/themes/j1/modules/videojs/js/plugins/dm/examples/switch.html +37 -0
  392. data/assets/themes/j1/modules/videojs/js/plugins/vm/LICENSE +21 -0
  393. data/assets/themes/j1/modules/videojs/js/plugins/vm/README.md +15 -0
  394. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/README.md +1818 -0
  395. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/player.min.js +23 -0
  396. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.js +3562 -0
  397. data/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.min.js +35 -0
  398. data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/index.html +33 -0
  399. data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/player/index.html +37 -0
  400. data/assets/themes/j1/modules/videojs/js/plugins/vm/vimeo.js +521 -0
  401. data/assets/themes/j1/modules/videojs/js/plugins/vm/vimeo.min.js +15 -0
  402. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/Readme.txt +20 -0
  403. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/WistiaPlayer.ts +1617 -0
  404. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/wistia.min.js +2 -0
  405. data/assets/themes/j1/modules/videojs/js/plugins/wt/wistia.js +383 -0
  406. data/assets/themes/j1/modules/videojs/js/plugins/wt/wistia.min.js +18 -0
  407. data/assets/themes/j1/modules/videojs/js/plugins/yt/README.md +115 -0
  408. data/assets/themes/j1/modules/videojs/js/plugins/yt/api/youtube.min.js +20 -0
  409. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/global-parameters.html +32 -0
  410. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/simple.html +20 -0
  411. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/switch.html +37 -0
  412. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-controls.html +18 -0
  413. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-javascript.html +27 -0
  414. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-list.html +19 -0
  415. data/assets/themes/j1/modules/videojs/js/plugins/yt/examples/youtube-playlist.html +19 -0
  416. data/assets/themes/j1/modules/videojs/js/plugins/yt/youtube.js +832 -0
  417. data/assets/themes/j1/modules/videojs/js/plugins/yt/youtube.min.js +16 -0
  418. data/assets/themes/j1/modules/videojs/js/video.js +40610 -32915
  419. data/assets/themes/j1/modules/videojs/js/video.min.js +33 -20
  420. data/lib/j1/version.rb +1 -1
  421. data/lib/j1_app/j1_auth_manager/auth_manager.rb +1 -1
  422. data/lib/j1_app/j1_auth_manager/warden_omniauth.rb +1 -1
  423. data/lib/j1_app/omniauth/strategies/github.rb +1 -1
  424. data/lib/starter_web/Gemfile +3 -3
  425. data/lib/starter_web/README.md +5 -5
  426. data/lib/starter_web/_config.yml +2 -2
  427. data/lib/starter_web/_data/_defaults/categories.yml +1 -1
  428. data/lib/starter_web/_data/_defaults/colors.yml +1 -1
  429. data/lib/starter_web/_data/_defaults/font_sizes.yml +1 -1
  430. data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
  431. data/lib/starter_web/_data/_defaults/private.yml +1 -1
  432. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  433. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -1
  434. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +1 -1
  435. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +1 -1
  436. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  437. data/lib/starter_web/_data/blocks/defaults/banner.yml +1 -1
  438. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  439. data/lib/starter_web/_data/blocks/defaults/panel.yml +1 -1
  440. data/lib/starter_web/_data/blocks/footer.yml +2 -2
  441. data/lib/starter_web/_data/blocks/panel.yml +1 -1
  442. data/lib/starter_web/_data/categories.yml +1 -1
  443. data/lib/starter_web/_data/colors.yml +1 -1
  444. data/lib/starter_web/_data/font_sizes.yml +1 -1
  445. data/lib/starter_web/_data/j1_config.yml +1 -1
  446. data/lib/starter_web/_data/layouts/collection.yml +1 -1
  447. data/lib/starter_web/_data/layouts/default.yml +1 -1
  448. data/lib/starter_web/_data/layouts/home.yml +1 -1
  449. data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -1
  450. data/lib/starter_web/_data/layouts/page.yml +1 -1
  451. data/lib/starter_web/_data/layouts/post.yml +1 -1
  452. data/lib/starter_web/_data/layouts/raw.yml +1 -1
  453. data/lib/starter_web/_data/modules/advertising.yml +2 -2
  454. data/lib/starter_web/_data/modules/analytics.yml +1 -1
  455. data/lib/starter_web/_data/modules/attics.yml +1 -1
  456. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  457. data/lib/starter_web/_data/modules/blog_navigator.yml +1 -1
  458. data/lib/starter_web/_data/modules/carousel.yml +1 -1
  459. data/lib/starter_web/_data/modules/comments.yml +1 -1
  460. data/lib/starter_web/_data/modules/cookieconsent.yml +1 -1
  461. data/lib/starter_web/_data/modules/cookies.yml +1 -1
  462. data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -1
  463. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  464. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  465. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
  466. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
  467. data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -1
  468. data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
  469. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -1
  470. data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -1
  471. data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -1
  472. data/lib/starter_web/_data/modules/defaults/fab.yml +1 -1
  473. data/lib/starter_web/_data/modules/defaults/framer.yml +1 -1
  474. data/lib/starter_web/_data/modules/defaults/{justifiedGallery.yml → gallery.yml} +18 -28
  475. data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
  476. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +1 -1
  477. data/lib/starter_web/_data/modules/defaults/lightGallery.yml +8 -6
  478. data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -1
  479. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -1
  480. data/lib/starter_web/_data/modules/defaults/log4r.yml +1 -1
  481. data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -1
  482. data/lib/starter_web/_data/modules/defaults/masonry.yml +53 -13
  483. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  484. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  485. data/lib/starter_web/_data/modules/defaults/particles.yml +1 -1
  486. data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -1
  487. data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -1
  488. data/lib/starter_web/_data/modules/defaults/scroller.yml +1 -1
  489. data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
  490. data/lib/starter_web/_data/modules/defaults/speak2me.yml +1 -1
  491. data/lib/starter_web/_data/modules/defaults/theme_toggler.yml +1 -1
  492. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  493. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  494. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  495. data/lib/starter_web/_data/modules/defaults/waves.yml +1 -1
  496. data/lib/starter_web/_data/modules/dropdowns.yml +1 -1
  497. data/lib/starter_web/_data/modules/fab.yml +1 -1
  498. data/lib/starter_web/_data/modules/framer.yml +1 -1
  499. data/lib/starter_web/_data/modules/gallery.yml +874 -0
  500. data/lib/starter_web/_data/modules/iconPicker.yml +1 -1
  501. data/lib/starter_web/_data/modules/lazyLoader.yml +1 -1
  502. data/lib/starter_web/_data/modules/lightGallery.yml +8 -5
  503. data/lib/starter_web/_data/modules/lightbox.yml +1 -1
  504. data/lib/starter_web/_data/modules/log4javascript.yml +1 -1
  505. data/lib/starter_web/_data/modules/log4r.yml +1 -1
  506. data/lib/starter_web/_data/modules/lunr.yml +1 -1
  507. data/lib/starter_web/_data/modules/masonry.yml +401 -87
  508. data/lib/starter_web/_data/modules/masterslider.yml +1 -1
  509. data/lib/starter_web/_data/modules/navigator.yml +1 -1
  510. data/lib/starter_web/_data/modules/navigator_menu.yml +18 -4
  511. data/lib/starter_web/_data/modules/nbinteract.yml +1 -1
  512. data/lib/starter_web/_data/modules/particles.yml +1 -1
  513. data/lib/starter_web/_data/modules/rangeSlider.yml +1 -1
  514. data/lib/starter_web/_data/modules/rtable.yml +1 -1
  515. data/lib/starter_web/_data/modules/scroller.yml +1 -1
  516. data/lib/starter_web/_data/modules/slick.yml +1 -1
  517. data/lib/starter_web/_data/modules/speak2me.yml +1 -1
  518. data/lib/starter_web/_data/modules/theme_toggler.yml +1 -1
  519. data/lib/starter_web/_data/modules/themer.yml +1 -1
  520. data/lib/starter_web/_data/modules/toccer.yml +1 -1
  521. data/lib/starter_web/_data/modules/translator.yml +1 -1
  522. data/lib/starter_web/_data/modules/waves.yml +1 -1
  523. data/lib/starter_web/_data/plugins/defaults/feed.yml +1 -1
  524. data/lib/starter_web/_data/plugins/defaults/paginator.yml +1 -1
  525. data/lib/starter_web/_data/plugins/defaults/seo-tags.yml +1 -1
  526. data/lib/starter_web/_data/plugins/defaults/sitemap.yml +1 -1
  527. data/lib/starter_web/_data/plugins/feed.yml +1 -1
  528. data/lib/starter_web/_data/plugins/paginator.yml +1 -1
  529. data/lib/starter_web/_data/plugins/seo-tags.yml +1 -1
  530. data/lib/starter_web/_data/plugins/sitemap.yml +1 -1
  531. data/lib/starter_web/_data/private.yml +1 -1
  532. data/lib/starter_web/_data/resources.yml +190 -118
  533. data/lib/starter_web/_data/templates/feed.xml +2 -2
  534. data/lib/starter_web/_data/templates/robots.txt +1 -1
  535. data/lib/starter_web/_data/templates/seo-tags.html +1 -1
  536. data/lib/starter_web/_data/templates/sitemap.xml +1 -1
  537. data/lib/starter_web/_data/utilities/defaults/util_srv.yml +1 -1
  538. data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
  539. data/lib/starter_web/_includes/custom/static/bs5_accordion.html +1 -1
  540. data/lib/starter_web/_includes/custom/templates/bs5_accordion.html +1 -1
  541. data/lib/starter_web/_includes/custom/templates/collection_panel.html +1 -1
  542. data/lib/starter_web/_includes/custom/templates/custom_header.html +1 -1
  543. data/lib/starter_web/_includes/custom/templates/people_panel.html +1 -1
  544. data/lib/starter_web/_includes/google/static/google_ad__your-slot-id.html +1 -1
  545. data/lib/starter_web/_includes/google/templates/google_ads.html +1 -1
  546. data/lib/starter_web/_plugins/asciidoctor/admonition-block-answer.rb +3 -2
  547. data/lib/starter_web/_plugins/asciidoctor/admonition-block-question.rb +7 -6
  548. data/lib/starter_web/_plugins/asciidoctor/banner.rb +8 -5
  549. data/lib/starter_web/_plugins/asciidoctor/callout.rb +10 -8
  550. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +14 -8
  551. data/lib/starter_web/_plugins/asciidoctor/conum.rb +3 -1
  552. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +83 -0
  553. data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +8 -5
  554. data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +8 -5
  555. data/lib/starter_web/_plugins/asciidoctor/flag-icon-inline.rb +8 -5
  556. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +50 -44
  557. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +56 -52
  558. data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +52 -47
  559. data/lib/starter_web/_plugins/asciidoctor/iconify-icon-inline.rb +8 -5
  560. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +88 -82
  561. data/lib/starter_web/_plugins/asciidoctor/lorem_inline.rb +5 -4
  562. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +13 -7
  563. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +54 -48
  564. data/lib/starter_web/_plugins/asciidoctor/mdi-icon-inline.rb +2 -1
  565. data/lib/starter_web/_plugins/asciidoctor/mdib-icon-inline.rb +2 -1
  566. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +2 -1
  567. data/lib/starter_web/_plugins/asciidoctor/panel.rb +9 -5
  568. data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +4 -3
  569. data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +49 -44
  570. data/lib/starter_web/_plugins/asciidoctor/shout-block.rb +6 -7
  571. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +12 -6
  572. data/lib/starter_web/_plugins/asciidoctor/textbook-block.rb +9 -5
  573. data/lib/starter_web/_plugins/asciidoctor/twitter-emoji-inline.rb +4 -1
  574. data/lib/starter_web/_plugins/asciidoctor/video-block.rb +65 -0
  575. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +82 -0
  576. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +82 -0
  577. data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +87 -0
  578. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +95 -0
  579. data/lib/starter_web/_plugins/filter/debug.rb +1 -1
  580. data/lib/starter_web/_plugins/filter/encodeBase64.rb +1 -1
  581. data/lib/starter_web/_plugins/filter/encryptAES.rb +1 -1
  582. data/lib/starter_web/_plugins/filter/filters.rb +1 -1
  583. data/lib/starter_web/_plugins/filter/liquify.rb +1 -1
  584. data/lib/starter_web/_plugins/filter/minifyJS.rb +1 -1
  585. data/lib/starter_web/_plugins/filter/minifyJSON.rb +1 -1
  586. data/lib/starter_web/_plugins/filter/prettify.rb +1 -1
  587. data/lib/starter_web/_plugins/filter/xml_prettify.rb +1 -1
  588. data/lib/starter_web/_plugins/helper/symlink_watcher.rb +1 -1
  589. data/lib/starter_web/_plugins/i18n/date.rb +1 -1
  590. data/lib/starter_web/_plugins/index/lunr.rb +2 -2
  591. data/lib/starter_web/_plugins/seo/j1-feed.rb +1 -1
  592. data/lib/starter_web/_plugins/seo/j1-seo-tags.rb +1 -1
  593. data/lib/starter_web/_plugins/seo/j1-sitemap.rb +1 -1
  594. data/lib/starter_web/assets/images/icons/videojs/videojs-logo.png +0 -0
  595. data/lib/starter_web/assets/images/icons/videojs/videojs-poster.png +0 -0
  596. data/lib/starter_web/assets/videos/gallery/_video_james_carpool_caraoke_poster.jpg +0 -0
  597. data/lib/starter_web/assets/videos/gallery/html5/video1-poster.jpg +0 -0
  598. data/lib/starter_web/assets/videos/gallery/html5/video1.subtitles.vtt +39 -0
  599. data/lib/starter_web/assets/videos/gallery/html5/video2-poster.jpg +0 -0
  600. data/lib/starter_web/assets/videos/gallery/html5/303/237video2-poster.jpg +0 -0
  601. data/lib/starter_web/assets/videos/gallery/video1-poster.1920..jpg +0 -0
  602. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.1920.jpg +0 -0
  603. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.jpg +0 -0
  604. data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
  605. data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke_poster.jpg +0 -0
  606. data/lib/starter_web/config.ru +1 -1
  607. data/lib/starter_web/dot.gitattributes +1 -1
  608. data/lib/starter_web/dot.nojekyll +1 -1
  609. data/lib/starter_web/package.json +1 -1
  610. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +5 -0
  611. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +3 -0
  612. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +1 -0
  613. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +11 -7
  614. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +27 -11
  615. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +3 -0
  616. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +12 -7
  617. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +14 -7
  618. data/lib/starter_web/pages/public/features/general.adoc +12 -1
  619. data/lib/starter_web/pages/public/features/template.adoc +37 -38
  620. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +4 -3
  621. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +2 -3
  622. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +2 -2
  623. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +2 -2
  624. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +6 -5
  625. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -0
  626. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_rouge.asciidoc +4 -0
  627. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +6 -5
  628. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +2 -0
  629. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +7 -2
  630. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +7 -2
  631. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +12 -3
  632. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +4 -2
  633. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +49 -40
  634. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +264 -64
  635. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +5 -2
  636. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -0
  637. data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -1
  638. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -1
  639. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
  640. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -39
  641. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -2
  642. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +3 -2
  643. data/lib/starter_web/pages/public/plans/plans.adoc +14 -5
  644. data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +69 -0
  645. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/readme +0 -0
  646. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +1 -1
  647. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  648. data/lib/starter_web/utilsrv/package.json +1 -1
  649. data/lib/starter_web/utilsrv/server.js +1 -1
  650. metadata +170 -94
  651. data/assets/data/galleries.json +0 -156
  652. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +0 -360
  653. data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.js +0 -1694
  654. data/assets/themes/j1/modules/backstretch/js/v2.1.16/backstretch.min.js +0 -19
  655. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.map +0 -1
  656. data/assets/themes/j1/modules/iframeResizer/js/resizer.map +0 -1
  657. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.css +0 -110
  658. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -110
  659. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/css/theme/uno.css +0 -23
  660. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -1229
  661. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.js +0 -1229
  662. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -8
  663. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/less/.csslintrc +0 -20
  664. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.7.0/less/justifiedGallery.less +0 -113
  665. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +0 -110
  666. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +0 -110
  667. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/justifiedGallery.js +0 -1245
  668. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/justifiedGallery.min.js +0 -7
  669. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +0 -110
  670. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +0 -110
  671. data/assets/themes/j1/modules/lightGallery/css/core/lg-fb-comment-box.css +0 -58
  672. data/assets/themes/j1/modules/lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
  673. data/assets/themes/j1/modules/lightGallery/css/core/lg-transitions.css +0 -778
  674. data/assets/themes/j1/modules/lightGallery/css/core/lg-transitions.min.css +0 -5
  675. data/assets/themes/j1/modules/lightGallery/css/core/lightgallery.css +0 -981
  676. data/assets/themes/j1/modules/lightGallery/css/core/lightgallery.min.css +0 -5
  677. data/assets/themes/j1/modules/lightGallery/css/fonts/lg.eot +0 -0
  678. data/assets/themes/j1/modules/lightGallery/css/fonts/lg.ttf +0 -0
  679. data/assets/themes/j1/modules/lightGallery/css/fonts/lg.woff +0 -0
  680. data/assets/themes/j1/modules/lightGallery/css/themes/uno.css +0 -262
  681. data/assets/themes/j1/modules/lightGallery/css/themes/uno.min.css +0 -15
  682. data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery.js +0 -1375
  683. data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery.min.js +0 -5
  684. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +0 -1362
  685. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +0 -4
  686. data/assets/themes/j1/modules/lightGallery/js/modules/lg-autoplay.js +0 -206
  687. data/assets/themes/j1/modules/lightGallery/js/modules/lg-autoplay.min.js +0 -5
  688. data/assets/themes/j1/modules/lightGallery/js/modules/lg-fullscreen.js +0 -126
  689. data/assets/themes/j1/modules/lightGallery/js/modules/lg-fullscreen.min.js +0 -5
  690. data/assets/themes/j1/modules/lightGallery/js/modules/lg-hash.js +0 -101
  691. data/assets/themes/j1/modules/lightGallery/js/modules/lg-hash.min.js +0 -5
  692. data/assets/themes/j1/modules/lightGallery/js/modules/lg-pager.js +0 -105
  693. data/assets/themes/j1/modules/lightGallery/js/modules/lg-pager.min.js +0 -5
  694. data/assets/themes/j1/modules/lightGallery/js/modules/lg-share.js +0 -107
  695. data/assets/themes/j1/modules/lightGallery/js/modules/lg-share.min.js +0 -5
  696. data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +0 -486
  697. data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +0 -7
  698. data/assets/themes/j1/modules/lightGallery/js/modules/lg-zoom.js +0 -527
  699. data/assets/themes/j1/modules/lightGallery/js/modules/lg-zoom.min.js +0 -5
  700. data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js.map +0 -1
  701. data/assets/themes/j1/modules/popper/js/popper.min.js.map +0 -1
  702. data/assets/themes/j1/modules/rangeSlider/js/15.5.1/nouislider.js +0 -2337
  703. data/assets/themes/j1/modules/rangeSlider/js/15.5.1/nouislider.min.js +0 -1
  704. data/assets/themes/j1/modules/rangeSlider/js/9.1.0/nouislider.js +0 -2534
  705. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +0 -1
  706. data/assets/themes/j1/modules/themeSwitcher/js/_unsued/switcher.1.js +0 -454
  707. data/assets/themes/j1/modules/vimeo/froogaloop/js/froogaloop2.js +0 -4
  708. data/assets/themes/j1/modules/vimeo/froogaloop/js/froogaloop2.min.js +0 -4
  709. data/assets/themes/j1/modules/vimeo/player/js/player.js +0 -2138
  710. data/assets/themes/j1/modules/vimeo/player/js/player.js.map +0 -1
  711. data/assets/themes/j1/modules/vimeo/player/js/player.min.js +0 -2
  712. data/assets/themes/j1/modules/vimeo/player/js/player.min.js.map +0 -1
  713. data/lib/starter_web/_data/modules/justifiedGallery.yml +0 -556
  714. data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
  715. data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
  716. /data/assets/themes/j1/modules/backstretch/{LICENSE-MIT → LICENSE} +0 -0
  717. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/animation-w.png +0 -0
  718. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/customize-w.png +0 -0
  719. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/dynamic-w.png +0 -0
  720. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/facebook-icon.svg +0 -0
  721. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/googleplus-icon.svg +0 -0
  722. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/html5-w.png +0 -0
  723. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/linked-in.png +0 -0
  724. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/module-w.png +0 -0
  725. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/play-button.png +0 -0
  726. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/responsive-w.png +0 -0
  727. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/thumb-w.png +0 -0
  728. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/touch-w.png +0 -0
  729. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/twitter-icon.svg +0 -0
  730. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/twitter.png +0 -0
  731. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/video1-w.png +0 -0
  732. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/zoom-w.png +0 -0
  733. /data/assets/themes/j1/modules/lightGallery/css/themes/{icons → uno/icons}/zoom.png +0 -0
  734. /data/assets/themes/j1/modules/lightGallery/{css/img → images}/loading.gif +0 -0
  735. /data/assets/themes/j1/modules/lightGallery/{css/img → img}/video-play.png +0 -0
  736. /data/assets/themes/j1/modules/lightGallery/{css/img → img}/vimeo-play.png +0 -0
  737. /data/assets/themes/j1/modules/lightGallery/{css/img → img}/youtube-play.png +0 -0
  738. /data/assets/themes/j1/modules/lightGallery/js/{modules → plugins}/j1/j1-video.js +0 -0
  739. /data/assets/themes/j1/modules/lightGallery/js/{modules → plugins}/j1/j1-video.min.js +0 -0
@@ -0,0 +1,521 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/videojs/js/vimeo/vimeo.js
4
+ # Provides Vimeo Playback Technology for Video.js V8 and newer
5
+ #
6
+ # Product/Info:
7
+ # http://jekyll.one
8
+ #
9
+ # Copyright (C) 2023 Juergen Adams
10
+ #
11
+ # J1 Theme is licensed under MIT License.
12
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+
16
+ /*global define, VM*/
17
+ (function (root, factory) {
18
+ if(typeof exports==='object' && typeof module!=='undefined') {
19
+ var videojs = require('video.js');
20
+ module.exports = factory(videojs.default || videojs);
21
+ } else if(typeof define === 'function' && define.amd) {
22
+ define(['videojs'], function(videojs){
23
+ return (root.Vimeo = factory(videojs));
24
+ });
25
+ } else {
26
+ root.Vimeo = factory(root.videojs);
27
+ }
28
+ }(this, function(videojs) {
29
+ 'use strict';
30
+
31
+ var _isOnMobile = videojs.browser.IS_IOS || videojs.browser.IS_ANDROID;
32
+ var Tech = videojs.getTech('Tech');
33
+ var cssInjected = false;
34
+
35
+ class Vimeo extends Tech {
36
+
37
+ /**
38
+ * Vimeo - Wrapper for Video Player API
39
+ *
40
+ * @param {Object=} options Object of option names and values
41
+ * @param {Function=} ready Ready callback function
42
+ * @extends Tech
43
+ * @class Vimeo
44
+ */
45
+ constructor(options, ready) {
46
+ super(options, ready);
47
+
48
+ this.setPoster(options.poster);
49
+
50
+ // Set the vjs-vimeo class to the player
51
+ // parent is not set yet so we have to wait a tick
52
+ var vm = this;
53
+ setTimeout(function() {
54
+ if (this.el_) {
55
+ this.el_.parentNode.className += ' vjs-vimeo';
56
+
57
+ if (_isOnMobile) {
58
+ this.el_.parentNode.className += ' vjs-vimeo-mobile';
59
+ }
60
+
61
+ if (Vimeo.isSdkReady) {
62
+ vm.initVMPlayer();
63
+ } else {
64
+ Vimeo.sdkReadyQueue.push(vm);
65
+ }
66
+ }
67
+ }.bind(this));
68
+
69
+ } // END Constructor
70
+
71
+ initVMPlayer() {
72
+ const vimeoOptions = {
73
+ url: this.options_.source.src,
74
+ byline: false,
75
+ portrait: false,
76
+ title: false
77
+ };
78
+
79
+ if (this.options_.autoplay) {
80
+ vimeoOptions.autoplay = true;
81
+ }
82
+ if (this.options_.height) {
83
+ vimeoOptions.height = this.options_.height;
84
+ }
85
+ if (this.options_.width) {
86
+ vimeoOptions.width = this.options_.width;
87
+ }
88
+ if (this.options_.maxheight) {
89
+ vimeoOptions.maxheight = this.options_.maxheight;
90
+ }
91
+ if (this.options_.maxwidth) {
92
+ vimeoOptions.maxwidth = this.options_.maxwidth;
93
+ }
94
+ if (this.options_.loop) {
95
+ vimeoOptions.loop = this.options_.loop;
96
+ }
97
+ if (this.options_.color) {
98
+ // vimeo is the only API on earth to reject hex color with leading #
99
+ vimeoOptions.color = this.options_.color.replace(/^#/, '');
100
+ }
101
+
102
+ this.vmPlayer = new VM.Player(this.el(), vimeoOptions);
103
+ this.initVimeoState();
104
+
105
+ // setup API events
106
+ //
107
+ // ['play', 'playing', 'pause', 'ended', 'timeupdate', 'progress', 'seeking', 'seeked'].forEach(e => {
108
+ ['play', 'playing', 'pause', 'ended', 'loaded', 'timeupdate', 'progress', 'seeking', 'seeked', 'ready'].forEach(e => {
109
+
110
+ this.vmPlayer.on(e, (progress) => {
111
+ if (this._vimeoState.progress.duration !== progress.duration) {
112
+ this.trigger('durationchange');
113
+ }
114
+ this._vimeoState.progress = progress;
115
+ this.trigger(e);
116
+ });
117
+
118
+ this.vmPlayer.on(e, (ready) => {
119
+ this.vmPlayer.getVideoEmbedCode()
120
+ .then (function(embedCode) {
121
+ var code = embedCode
122
+ })
123
+ .catch(function(error) {
124
+ console.err('Vimeo API: an error occurred');
125
+ });
126
+ });
127
+
128
+ this.vmPlayer.on(e, (timeupdate) => {
129
+ if (this._vimeoState.progress.duration !== progress.duration) {
130
+ this.trigger('durationchange');
131
+ }
132
+ this._vimeoState.progress = progress;
133
+ this.trigger(e);
134
+ });
135
+
136
+ this.vmPlayer.on('pause', () => this._vimeoState.playing = false);
137
+
138
+ this.vmPlayer.on('play', () => {
139
+ const bigPlayButton = document.getElementsByClassName("vjs-big-play-button");
140
+
141
+ // jadams: just a try
142
+ // ------------------------------------------------------------------
143
+ // for (var i = 0; i < bigPlayButton.length; ++i) {
144
+ // bigPlayButton[i].style.display = 'none';
145
+ // }
146
+
147
+ this._vimeoState.playing = true;
148
+ this._vimeoState.ended = false;
149
+ });
150
+
151
+ });
152
+
153
+ // jadams: just a try
154
+ // ---------------------------------------------------------------------
155
+ // this.vmPlayer.on('playing', () => {
156
+ // const vjsControlBar = document.getElementsByClassName("vjs-control-bar");
157
+ //
158
+ // for (var i = 0; i < vjsControlBar.length; ++i) {
159
+ // vjsControlBar[i].style.display = 'block';
160
+ // }
161
+ // });
162
+
163
+ this.vmPlayer.on('ended', () => {
164
+ this._vimeoState.playing = false;
165
+ this._vimeoState.ended = true;
166
+ });
167
+
168
+ this.vmPlayer.on('volumechange', (v) => this._vimeoState.volume = v);
169
+ this.vmPlayer.on('error', e => this.trigger('error', e));
170
+
171
+ this.triggerReady();
172
+ }
173
+
174
+ initVimeoState() {
175
+ const state = this._vimeoState = {
176
+ ended: false,
177
+ playing: false,
178
+ volume: 0,
179
+ progress: {
180
+ seconds: 0,
181
+ percent: 0,
182
+ duration: 0
183
+ }
184
+ };
185
+
186
+ this.vmPlayer.getCurrentTime().then(time => state.progress.seconds = time);
187
+ this.vmPlayer.getDuration().then(time => state.progress.duration = time);
188
+ this.vmPlayer.getPaused().then(paused => state.playing = !paused);
189
+ this.vmPlayer.getVolume().then(volume => state.volume = volume);
190
+ }
191
+
192
+ createEl() {
193
+ // jadams: videojs.createEl() is deprecated
194
+ // const div = videojs.createEl('div', {
195
+ const div = videojs.dom.createEl('div', {
196
+ id: this.options_.techId
197
+ });
198
+
199
+ div.style.cssText = 'width:100%;height:100%;top:0;left:0;position:absolute';
200
+ div.className = 'vjs-vimeo';
201
+
202
+ return div;
203
+ }
204
+
205
+ controls() {
206
+ return true;
207
+ }
208
+
209
+ supportsFullScreen() {
210
+ return true;
211
+ }
212
+
213
+ src() {
214
+ // @note: Not sure why this is needed but videojs requires it
215
+ return this.options_.source;
216
+ // return '//player.vimeo.com/api/player.js';
217
+ }
218
+
219
+ currentSrc() {
220
+ return this.options_.source.src;
221
+ }
222
+
223
+ // @note setSrc is used in other usecases (Vimeo, Html) it doesn't seem required here
224
+ // setSrc() {}
225
+
226
+ currentTime() {
227
+ return this._vimeoState.progress.seconds;
228
+ }
229
+
230
+ setCurrentTime(time) {
231
+ this.vmPlayer.setCurrentTime(time);
232
+ }
233
+
234
+ volume() {
235
+ return this._vimeoState.volume;
236
+ }
237
+
238
+ setVolume(volume) {
239
+ return this.vmPlayer.setVolume(volume);
240
+ }
241
+
242
+ duration() {
243
+ return this._vimeoState.progress.duration;
244
+ }
245
+
246
+ buffered() {
247
+ const progress = this._vimeoState.progress;
248
+
249
+ // jadams: videojs.createTimeRange is deprecated
250
+ // return videojs.createTimeRange(0, progress.percent * progress.duration);
251
+ return videojs.time.createTimeRanges(0, progress.percent * progress.duration);
252
+ }
253
+
254
+ paused() {
255
+ return !this._vimeoState.playing;
256
+ }
257
+
258
+ pause() {
259
+ this.vmPlayer.pause();
260
+ }
261
+
262
+ play() {
263
+ this.vmPlayer.play();
264
+ }
265
+
266
+ muted() {
267
+ return this._vimeoState.volume === 0;
268
+ }
269
+
270
+ ended() {
271
+ return this._vimeoState.ended;
272
+ }
273
+
274
+ currentTime() {
275
+ return this.vmPlayer ? this.vmPlayer.getCurrentTime() : 0;
276
+ }
277
+
278
+ setCurrentTime(seconds) {
279
+ if (this.lastState === vmPlayer.getPaused()) {
280
+ this.timeBeforeSeek = this.currentTime();
281
+ }
282
+
283
+ if (!this.isSeeking) {
284
+ this.wasPausedBeforeSeek = this.paused();
285
+ }
286
+
287
+ this.vmPlayer.seekTo(seconds, true);
288
+ this.trigger('timeupdate');
289
+ this.trigger('seeking');
290
+ this.isSeeking = true;
291
+
292
+ // A seek event during pause does not return an event to trigger a seeked event,
293
+ // so run an interval timer to look for the currentTime to change
294
+ if (this.lastState === vmPlayer.getPaused() && this.timeBeforeSeek !== seconds) {
295
+ clearInterval(this.checkSeekedInPauseInterval);
296
+ this.checkSeekedInPauseInterval = setInterval(function() {
297
+ if (this.lastState !== vmPlayer.getPaused() || !this.isSeeking) {
298
+ // If something changed while we were waiting for the currentTime to change,
299
+ // clear the interval timer
300
+ clearInterval(this.checkSeekedInPauseInterval);
301
+ } else if (this.currentTime() !== this.timeBeforeSeek) {
302
+ this.trigger('timeupdate');
303
+ this.onSeeked();
304
+ }
305
+ }.bind(this), 250);
306
+ }
307
+ }
308
+
309
+ seeking() {
310
+ return this.isSeeking;
311
+ }
312
+
313
+ // jadams, 2023-10-01: videojs.createTimeRange() deprecated in VideoJS 9
314
+ //
315
+ seekable() {
316
+ if(!this.vmPlayer) {
317
+ // return videojs.createTimeRange();
318
+ return videojs.time.createTimeRanges();
319
+ }
320
+ // return videojs.createTimeRange(0, this.vmPlayer.getDuration());
321
+ return videojs.time.createTimeRanges(0, this.vmPlayer.getDuration());
322
+ }
323
+
324
+ onSeeked() {
325
+ clearInterval(this.checkSeekedInPauseInterval);
326
+ this.isSeeking = false;
327
+
328
+ if (this.wasPausedBeforeSeek) {
329
+ this.pause();
330
+ }
331
+
332
+ this.trigger('seeked');
333
+ }
334
+
335
+ playbackRate() {
336
+ return this.vmPlayer ? this.vmPlayer.getPlaybackRate() : 1;
337
+ }
338
+
339
+ setPlaybackRate(suggestedRate) {
340
+ if (!this.vmPlayer) {
341
+ return;
342
+ }
343
+
344
+ this.vmPlayer.setPlaybackRate(suggestedRate);
345
+ }
346
+
347
+ duration() {
348
+ return this.vmPlayer ? this.vmPlayer.getDuration() : 0;
349
+ }
350
+
351
+ // Vimeo does has a mute API and native controls aren't being used,
352
+ // so setMuted doesn't really make sense and shouldn't be called.
353
+ // setMuted(mute) {}
354
+
355
+ }
356
+
357
+ Vimeo.prototype.featuresTimeupdateEvents = true;
358
+
359
+ Vimeo.isSupported = function() {
360
+ return true;
361
+ };
362
+
363
+ // Add Source Handler pattern functions to this tech
364
+ Tech.withSourceHandlers(Vimeo);
365
+
366
+ Vimeo.nativeSourceHandler = {};
367
+
368
+ /**
369
+ * Check if Vimeo can play the given videotype
370
+ * @param {String} type The mimetype to check
371
+ * @return {String} 'maybe', or '' (empty string)
372
+ */
373
+ Vimeo.nativeSourceHandler.canPlayType = function(source) {
374
+ if (source === 'video/vimeo') {
375
+ return 'maybe';
376
+ }
377
+
378
+ return '';
379
+ };
380
+
381
+ /*
382
+ * Check Vimeo can handle the source natively
383
+ *
384
+ * @param {Object} source The source object
385
+ * @return {String} 'maybe', or '' (empty string)
386
+ * @note: Copied over from YouTube — not sure this is relevant
387
+ */
388
+ Vimeo.nativeSourceHandler.canHandleSource = function(source) {
389
+ if (source.type) {
390
+ return Vimeo.nativeSourceHandler.canPlayType(source.type);
391
+ } else if (source.src) {
392
+ return Vimeo.nativeSourceHandler.canPlayType(source.src);
393
+ }
394
+
395
+ return '';
396
+ };
397
+
398
+ // @note: Copied over from YouTube — not sure this is relevant
399
+ Vimeo.nativeSourceHandler.handleSource = function(source, tech) {
400
+ tech.src(source.src);
401
+ };
402
+
403
+ // @note: Copied over from YouTube — not sure this is relevant
404
+ Vimeo.nativeSourceHandler.dispose = function() { };
405
+
406
+ Vimeo.registerSourceHandler(Vimeo.nativeSourceHandler);
407
+
408
+ // Include the version number
409
+ Vimeo.VERSION = '1.0.0';
410
+
411
+ Vimeo.sdkReadyQueue = [];
412
+
413
+ // Since the iframe can't be touched using Vimeo's way of embedding,
414
+ // let's add a new styling rule to have the same style as `vjs-tech`
415
+ //
416
+ function injectCss() {
417
+ if (cssInjected) {
418
+ return;
419
+ }
420
+ cssInjected = true;
421
+
422
+ // const css = `
423
+ // .vjs-vimeo iframe {
424
+ // position: absolute;
425
+ // top: 0;
426
+ // left: 0;
427
+ // width: 100%;
428
+ // height: 100%;
429
+ // }
430
+ // .vjs-vimeo .vjs-iframe-blocker { display: none; }
431
+ // .vjs-vimeo.vjs-user-inactive .vjs-iframe-blocker { display: block; }
432
+ // .vjs-vimeo .vjs-poster { background-size: cover; }'
433
+ // .vjs-vimeo-mobile .vjs-big-play-button { display: none; }
434
+ //
435
+ // .vjs-vimeo .vjs-duration { display: none; }
436
+ // .vjs-vimeo .vjs-remaining-time { display: none; }
437
+ //
438
+ // .vjs-vimeo .vjs-big-play-button { display: block; }
439
+ // .player .vp-player-ui-overlays { display: none !important; }
440
+ // `;
441
+
442
+ const css = `
443
+ .vjs-vimeo iframe {
444
+ position: absolute;
445
+ top: 0;
446
+ left: 0;
447
+ width: 100%;
448
+ height: 100%;
449
+ }
450
+ .vjs-vimeo .vjs-iframe-blocker { display: none; }
451
+ .vjs-vimeo.vjs-user-inactive .vjs-iframe-blocker { display: block; }
452
+ .vjs-vimeo .vjs-poster { background-size: cover; }'
453
+ .vjs-vimeo-mobile .vjs-big-play-button { display: none; }
454
+
455
+ .vjs-vimeo .vjs-duration { display: none; }
456
+ .vjs-vimeo .vjs-remaining-time { display: none; }
457
+ `;
458
+
459
+ const head = document.head || document.getElementsByTagName('head')[0];
460
+ const style = document.createElement('style');
461
+ style.type = 'text/css';
462
+
463
+ if (style.styleSheet) {
464
+ style.styleSheet.cssText = css;
465
+ } else {
466
+ style.appendChild(document.createTextNode(css));
467
+ }
468
+
469
+ head.appendChild(style);
470
+ }
471
+
472
+ function apiLoaded() {
473
+ Vimeo.isSdkReady = true;
474
+
475
+ for (var i = 0; i < Vimeo.sdkReadyQueue.length; ++i) {
476
+ Vimeo.sdkReadyQueue[i].initVMPlayer();
477
+ }
478
+ }
479
+
480
+ function loadScript(src, callback) {
481
+ var loaded = false;
482
+ var tag = document.createElement('script');
483
+ var firstScriptTag = document.getElementsByTagName('script')[0];
484
+ if (!firstScriptTag) {
485
+ // when loaded in jest without jsdom setup it doesn't get any element.
486
+ // In jest it doesn't really make sense to do anything, because no one is watching dailymotion in jest
487
+ return;
488
+ }
489
+ firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
490
+ tag.onload = function () {
491
+ if (!loaded) {
492
+ loaded = true;
493
+ callback();
494
+ }
495
+ };
496
+ tag.onreadystatechange = function () {
497
+ if (!loaded && (this.readyState === 'complete' || this.readyState === 'loaded')) {
498
+ loaded = true;
499
+ callback();
500
+ }
501
+ };
502
+ tag.src = src;
503
+ }
504
+
505
+ // document ready
506
+ //
507
+ if (typeof document !== 'undefined') {
508
+ // load script local bcause of NemeSpace conflicts (Vimeo)
509
+ loadScript('/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.min.js', apiLoaded);
510
+ // loadScript('https://player.vimeo.com/api/player.js', apiLoaded);
511
+ injectCss();
512
+ }
513
+
514
+ // Older versions of VJS5 doesn't have the registerTech function
515
+ if (typeof videojs.registerTech !== 'undefined') {
516
+ videojs.registerTech('Vimeo', Vimeo);
517
+ } else {
518
+ videojs.registerComponent('Vimeo', Vimeo);
519
+ }
520
+
521
+ }));
@@ -0,0 +1,15 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/videojs/js/vimeo/vimeo.min.js
4
+ # Provides Vimeo Playback Technology for Video.js V8 and newer
5
+ #
6
+ # Product/Info:
7
+ # http://jekyll.one
8
+ #
9
+ # Copyright (C) 2023 Juergen Adams
10
+ #
11
+ # J1 Theme is licensed under MIT License.
12
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+ !function(e,t){if("object"==typeof exports&&"undefined"!=typeof module){var i=require("video.js");module.exports=t(i.default||i)}else"function"==typeof define&&define.amd?define(["videojs"],function(i){return e.Vimeo=t(i)}):e.Vimeo=t(e.videojs)}(this,function(e){"use strict";var t,i,s,r,n,o=e.browser.IS_IOS||e.browser.IS_ANDROID,a=e.getTech("Tech"),h=!1;class u extends a{constructor(e,t){super(e,t),this.setPoster(e.poster);var i=this;setTimeout(function(){this.el_&&(this.el_.parentNode.className+=" vjs-vimeo",o&&(this.el_.parentNode.className+=" vjs-vimeo-mobile"),u.isSdkReady?i.initVMPlayer():u.sdkReadyQueue.push(i))}.bind(this))}initVMPlayer(){const e={url:this.options_.source.src,byline:!1,portrait:!1,title:!1};this.options_.autoplay&&(e.autoplay=!0),this.options_.height&&(e.height=this.options_.height),this.options_.width&&(e.width=this.options_.width),this.options_.maxheight&&(e.maxheight=this.options_.maxheight),this.options_.maxwidth&&(e.maxwidth=this.options_.maxwidth),this.options_.loop&&(e.loop=this.options_.loop),this.options_.color&&(e.color=this.options_.color.replace(/^#/,"")),this.vmPlayer=new VM.Player(this.el(),e),this.initVimeoState(),["play","playing","pause","ended","loaded","timeupdate","progress","seeking","seeked","ready"].forEach(e=>{this.vmPlayer.on(e,t=>{this._vimeoState.progress.duration!==t.duration&&this.trigger("durationchange"),this._vimeoState.progress=t,this.trigger(e)}),this.vmPlayer.on(e,e=>{this.vmPlayer.getVideoEmbedCode().then(function(e){}).catch(function(e){console.err("Vimeo API: an error occurred")})}),this.vmPlayer.on(e,t=>{this._vimeoState.progress.duration!==progress.duration&&this.trigger("durationchange"),this._vimeoState.progress=progress,this.trigger(e)}),this.vmPlayer.on("pause",()=>this._vimeoState.playing=!1),this.vmPlayer.on("play",()=>{document.getElementsByClassName("vjs-big-play-button");this._vimeoState.playing=!0,this._vimeoState.ended=!1})}),this.vmPlayer.on("ended",()=>{this._vimeoState.playing=!1,this._vimeoState.ended=!0}),this.vmPlayer.on("volumechange",e=>this._vimeoState.volume=e),this.vmPlayer.on("error",e=>this.trigger("error",e)),this.triggerReady()}initVimeoState(){const e=this._vimeoState={ended:!1,playing:!1,volume:0,progress:{seconds:0,percent:0,duration:0}};this.vmPlayer.getCurrentTime().then(t=>e.progress.seconds=t),this.vmPlayer.getDuration().then(t=>e.progress.duration=t),this.vmPlayer.getPaused().then(t=>e.playing=!t),this.vmPlayer.getVolume().then(t=>e.volume=t)}createEl(){const t=e.dom.createEl("div",{id:this.options_.techId});return t.style.cssText="width:100%;height:100%;top:0;left:0;position:absolute",t.className="vjs-vimeo",t}controls(){return!0}supportsFullScreen(){return!0}src(){return this.options_.source}currentSrc(){return this.options_.source.src}currentTime(){return this._vimeoState.progress.seconds}setCurrentTime(e){this.vmPlayer.setCurrentTime(e)}volume(){return this._vimeoState.volume}setVolume(e){return this.vmPlayer.setVolume(e)}duration(){return this._vimeoState.progress.duration}buffered(){const t=this._vimeoState.progress;return e.time.createTimeRanges(0,t.percent*t.duration)}paused(){return!this._vimeoState.playing}pause(){this.vmPlayer.pause()}play(){this.vmPlayer.play()}muted(){return 0===this._vimeoState.volume}ended(){return this._vimeoState.ended}currentTime(){return this.vmPlayer?this.vmPlayer.getCurrentTime():0}setCurrentTime(e){this.lastState===vmPlayer.getPaused()&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.vmPlayer.seekTo(e,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===vmPlayer.getPaused()&&this.timeBeforeSeek!==e&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval(function(){this.lastState===vmPlayer.getPaused()&&this.isSeeking?this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked()):clearInterval(this.checkSeekedInPauseInterval)}.bind(this),250))}seeking(){return this.isSeeking}seekable(){return this.vmPlayer?e.time.createTimeRanges(0,this.vmPlayer.getDuration()):e.time.createTimeRanges()}onSeeked(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")}playbackRate(){return this.vmPlayer?this.vmPlayer.getPlaybackRate():1}setPlaybackRate(e){this.vmPlayer&&this.vmPlayer.setPlaybackRate(e)}duration(){return this.vmPlayer?this.vmPlayer.getDuration():0}}u.prototype.featuresTimeupdateEvents=!0,u.isSupported=function(){return!0},a.withSourceHandlers(u),u.nativeSourceHandler={},u.nativeSourceHandler.canPlayType=function(e){return"video/vimeo"===e?"maybe":""},u.nativeSourceHandler.canHandleSource=function(e){return e.type?u.nativeSourceHandler.canPlayType(e.type):e.src?u.nativeSourceHandler.canPlayType(e.src):""},u.nativeSourceHandler.handleSource=function(e,t){t.src(e.src)},u.nativeSourceHandler.dispose=function(){},u.registerSourceHandler(u.nativeSourceHandler),u.VERSION="1.0.0",u.sdkReadyQueue=[],"undefined"!=typeof document&&(t="/assets/themes/j1/modules/videojs/js/plugins/vm/api/vimeo.min.js",i=function(){u.isSdkReady=!0;for(var e=0;e<u.sdkReadyQueue.length;++e)u.sdkReadyQueue[e].initVMPlayer()},s=!1,r=document.createElement("script"),(n=document.getElementsByTagName("script")[0])&&(n.parentNode.insertBefore(r,n),r.onload=function(){s||(s=!0,i())},r.onreadystatechange=function(){s||"complete"!==this.readyState&&"loaded"!==this.readyState||(s=!0,i())},r.src=t),function(){if(h)return;h=!0;const e="\n .vjs-vimeo iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n .vjs-vimeo .vjs-iframe-blocker { display: none; }\n .vjs-vimeo.vjs-user-inactive .vjs-iframe-blocker { display: block; }\n .vjs-vimeo .vjs-poster { background-size: cover; }'\n .vjs-vimeo-mobile .vjs-big-play-button { display: none; }\n\n .vjs-vimeo .vjs-duration { display: none; }\n .vjs-vimeo .vjs-remaining-time { display: none; }\n ",t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)),t.appendChild(i)}()),void 0!==e.registerTech?e.registerTech("Vimeo",u):e.registerComponent("Vimeo",u)});
@@ -0,0 +1,20 @@
1
+ See: https://wistia.com/support/developers/e-v1
2
+ See: https://wistia.com/support/developers/player-api
3
+
4
+ For most of our embeds, E-v1.js is essential for the Wistia player to
5
+ function. If you’re using an Inline, Standard or Popover embed code,
6
+ the player will not appear on the page at all if E-v1 is missing.
7
+
8
+ When a webpage loads, E-v1.js needs to be there to build the player,
9
+ deliver your video files and thumbnail, and include any customizations
10
+ or plugins you’ve chosen for the video. It also controls any integrations
11
+ you have set up for lead capture and tracking, and much more.
12
+
13
+ In the simplest terms possible, E-v1.js, or “E-v1” for short, is the
14
+ Wistia player. More specifically, it’s the Wistia JavaScript library
15
+ which loads all the player code, builds the player on a webpage, and
16
+ enables you to access all the player features that Wistia has to offer.
17
+
18
+ It looks like this:
19
+
20
+ <script src="https://fast.wistia.com/assets/external/E-v1.js" async> </script>