j1-template 2024.3.15 → 2024.3.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/amplitude.html +139 -68
  3. data/assets/data/banner.html +1 -1
  4. data/assets/data/cookieconsent.html +1 -1
  5. data/assets/data/docsearch.html +1 -1
  6. data/assets/data/fab.html +1 -1
  7. data/assets/data/footer.html +1 -1
  8. data/assets/data/galeries.html +1 -1
  9. data/assets/data/gallery_customizer.html +1 -1
  10. data/assets/data/gemini-ui.html +1 -1
  11. data/assets/data/iframes.html +1 -1
  12. data/assets/data/masonry.html +1 -1
  13. data/assets/data/masterslider.html +1 -1
  14. data/assets/data/menu.html +1 -1
  15. data/assets/data/mmenu.html +1 -1
  16. data/assets/data/mmenu_sidebar.html +1 -1
  17. data/assets/data/mmenu_toc.html +1 -1
  18. data/assets/data/panel.html +5 -4
  19. data/assets/data/quicklinks.html +1 -1
  20. data/assets/data/rtext_resizer.html +1 -1
  21. data/assets/data/slick.html +1 -1
  22. data/assets/data/speak2me.html +1 -1
  23. data/assets/data/swiper.html +313 -0
  24. data/assets/theme/j1/adapter/js/amplitude.30.js +1177 -0
  25. data/assets/theme/j1/adapter/js/amplitude.js +241 -191
  26. data/assets/theme/j1/adapter/js/j1.js +3 -3
  27. data/assets/theme/j1/adapter/js/masonry.js +2 -2
  28. data/assets/theme/j1/adapter/js/masterslider.js +2 -1
  29. data/assets/theme/j1/adapter/js/swiper.js +231 -0
  30. data/assets/theme/j1/adapter/js/videojs.js +212 -0
  31. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +7 -4
  32. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -1
  33. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  34. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -1
  35. data/assets/theme/j1/core/js/template.js +4 -0
  36. data/assets/theme/j1/core/js/template.min.js +2 -2
  37. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  38. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +94 -4
  39. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
  40. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +3 -2
  41. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  42. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +72 -10
  43. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +2 -1
  44. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/artist.svg +78 -0
  45. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/mute.svg +52 -20
  46. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/next.svg +20 -39
  47. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg +24 -38
  48. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg +85 -0
  49. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-music.svg +85 -0
  50. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg +85 -0
  51. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist.svg +85 -0
  52. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/previous.svg +18 -37
  53. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +33 -30
  54. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +33 -29
  55. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/next.svg +55 -14
  56. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/previous.svg +56 -14
  57. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg +38 -21
  58. data/assets/theme/j1/modules/amplitudejs/js/amplitude.map +20 -20
  59. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.15.js +1594 -0
  60. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +1617 -89
  61. data/assets/theme/j1/modules/amplitudejs/js/visualizations/bar.js +1 -1
  62. data/assets/theme/j1/modules/amplitudejs/js/visualizations/circular-equalizer.js +31 -1
  63. data/assets/theme/j1/modules/amplitudejs/js/visualizations/frequency-analyzer.js +1 -1
  64. data/assets/theme/j1/modules/amplitudejs/js/visualizations/michael-bromley.js +1 -1
  65. data/assets/theme/j1/modules/amplitudejs/js/visualizations/template.js +1 -1
  66. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +206 -122
  67. data/assets/theme/j1/modules/photoswipe/.version_5.4.4 +6 -0
  68. data/assets/theme/j1/modules/photoswipe/LICENSE +21 -0
  69. data/assets/theme/j1/modules/photoswipe/README.md +32 -0
  70. data/assets/theme/j1/modules/photoswipe/css/org/photoswipe-dynamic-caption-plugin.umd.min.js +5 -0
  71. data/assets/theme/j1/modules/photoswipe/css/org/photoswipe.css +420 -0
  72. data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.css +67 -0
  73. data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.min.css +16 -0
  74. data/assets/theme/j1/modules/photoswipe/css/photoswipe.css +376 -0
  75. data/assets/theme/j1/modules/photoswipe/css/photoswipe.min.css +17 -0
  76. data/assets/theme/j1/modules/photoswipe/css/scss/photoswipe.scss +427 -0
  77. data/assets/theme/j1/modules/photoswipe/example/photoswipe-caption-plugin.html +237 -0
  78. data/assets/theme/j1/modules/photoswipe/example/test-gallery.html +36 -0
  79. data/assets/theme/j1/modules/photoswipe/js/README.md +43 -0
  80. data/assets/theme/j1/modules/photoswipe/js/photoswipe-caption-plugin.min.js +5 -0
  81. data/assets/theme/j1/modules/photoswipe/js/photoswipe-core.min.js +18 -0
  82. data/assets/theme/j1/modules/photoswipe/js/photoswipe-lightbox.min.js +18 -0
  83. data/assets/theme/j1/modules/swiper/.version_1.2.0 +15 -0
  84. data/assets/theme/j1/modules/swiper/LICENSE +20 -0
  85. data/assets/theme/j1/modules/swiper/README.md +95 -0
  86. data/assets/theme/j1/modules/swiper/css/swiper-bundle.css +740 -0
  87. data/assets/theme/j1/modules/swiper/css/swiper-bundle.min..css +17 -0
  88. data/assets/theme/j1/modules/swiper/css/theme/uno.css +249 -0
  89. data/assets/theme/j1/modules/swiper/css/theme/uno.min.css +154 -0
  90. data/assets/theme/j1/modules/swiper/js/swiper-bundle.js +9785 -0
  91. data/assets/theme/j1/modules/swiper/js/swiper-bundle.min.js +17 -0
  92. data/assets/theme/j1/modules/swiper/swiperjs.com-demos.url +2 -0
  93. data/assets/theme/j1/modules/videojs/assets/icons/custom-icons/next.svg +82 -0
  94. data/assets/theme/j1/modules/videojs/css/font/README.md +151 -0
  95. data/assets/theme/j1/modules/videojs/css/font/VideoJS.svg +150 -0
  96. data/assets/theme/j1/modules/videojs/css/font/video-js-cdn.css +2012 -0
  97. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +32 -0
  98. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +31 -0
  99. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.css +31 -0
  100. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.min.css +21 -0
  101. data/assets/theme/j1/modules/videojs/css/themes/uno.css +14 -3
  102. data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
  103. data/assets/theme/j1/modules/videojs/css/videojs.css +1 -0
  104. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/LICENSE +13 -0
  105. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/README.md +75 -0
  106. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.js +149 -0
  107. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.min.js +21 -0
  108. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/README.md +76 -30
  109. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.js +64 -53
  110. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.min.js +1 -1
  111. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/README.md +133 -0
  112. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.js +137 -0
  113. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.min.js +21 -0
  114. data/assets/theme/j1/modules/videojs/js/plugins/controls/zoom/zoom.js +15 -12
  115. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.js +43 -16
  116. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/fastfilereaderext.so +0 -0
  117. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/rubyeventmachine.so +0 -0
  118. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/fastfilereaderext.so +0 -0
  119. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/rubyeventmachine.so +0 -0
  120. data/lib/j1/version.rb +1 -1
  121. data/lib/j1_app/j1_auth_manager/config.rb +0 -4
  122. data/lib/starter_web/Gemfile +45 -22
  123. data/lib/starter_web/README.md +5 -5
  124. data/lib/starter_web/_config.yml +4 -6
  125. data/lib/starter_web/_data/modules/amplitude.yml +308 -363
  126. data/lib/starter_web/_data/modules/defaults/amplitude.yml +60 -35
  127. data/lib/starter_web/_data/modules/defaults/gallery.yml +42 -0
  128. data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
  129. data/lib/starter_web/_data/modules/defaults/swiper.yml +515 -0
  130. data/lib/starter_web/_data/modules/defaults/videojs.yml +107 -0
  131. data/lib/starter_web/_data/modules/gallery.yml +30 -14
  132. data/lib/starter_web/_data/modules/masonry.yml +15 -0
  133. data/lib/starter_web/_data/modules/swiper.yml +227 -0
  134. data/lib/starter_web/_data/modules/videojs.yml +57 -0
  135. data/lib/starter_web/_data/resources.yml +50 -16
  136. data/lib/starter_web/_data/templates/feed.xml +1 -1
  137. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -0
  138. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -0
  139. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +4 -1
  140. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +141 -24
  141. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +4 -1
  142. data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +313 -0
  143. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +192 -17
  144. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  145. data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/der_unverzichtbare_feind.jpg +0 -0
  146. data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/ein_diener_vieler_herren.jpg +0 -0
  147. data/lib/starter_web/assets/video/poster/youtube/the_piano/the-piano.jpg +0 -0
  148. data/lib/starter_web/package.json +1 -1
  149. data/lib/starter_web/pages/public/_includes/attributes.asciidoc +45 -0
  150. data/lib/starter_web/pages/public/_includes/documents/photoswipe/200_photoswipe_parameters.asciidoc +510 -0
  151. data/lib/starter_web/pages/public/_includes/documents/photoswipe/210_photoswipe_lightbox_parameters.asciidoc +98 -0
  152. data/lib/starter_web/pages/public/_includes/documents/photoswipe/300_caption_plugin_for_photoSwipe.asciidoc +327 -0
  153. data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_features.asciidoc +50 -0
  154. data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_html_layout.asciidoc +122 -0
  155. data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_initialization.asciidoc +53 -0
  156. data/lib/starter_web/pages/public/_includes/documents/swiper/110_swiper_common_options.asciidoc +43 -0
  157. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_a_k.asciidoc +994 -0
  158. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_l_o.asciidoc +473 -0
  159. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_p_s.asciidoc +700 -0
  160. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_t_z.asciidoc +413 -0
  161. data/lib/starter_web/pages/public/_includes/documents/swiper/300_swiper_instance_properties.asciidoc +873 -0
  162. data/lib/starter_web/pages/public/_includes/documents/swiper/400_swiper_modules.asciidoc +2514 -0
  163. data/lib/starter_web/pages/public/_includes/documents/swiper/500_swiper_methods.asciidoc +989 -0
  164. data/lib/starter_web/pages/public/_includes/documents/swiper/600_swiper_events.asciidoc +1534 -0
  165. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +89 -62
  166. data/lib/starter_web/pages/public/manuals/integrations/amplitudejs/amplitudejs-api.adoc +1 -1
  167. data/lib/starter_web/pages/public/manuals/integrations/videojs/youtube-api.adoc +1638 -0
  168. data/lib/starter_web/pages/public/photoswipe_api.adoc +150 -0
  169. data/lib/starter_web/pages/public/swiper_api.adoc +128 -0
  170. data/lib/starter_web/pages/public/swiper_tester.adoc +973 -0
  171. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -6
  172. data/lib/starter_web/pages/public/tools/previewer/preview_videojs.adoc +203 -0
  173. data/lib/starter_web/pages/{tour → public/tour}/modal_extentions.adoc +12 -5
  174. data/lib/starter_web/pages/{tour → public/tour}/play_audio.adoc +63 -15
  175. data/lib/starter_web/pages/{tour → public/tour}/play_video.adoc +79 -40
  176. data/lib/starter_web/pages/{tour → public/tour}/present_images.adoc +5 -5
  177. metadata +114 -41
  178. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_pause.svg +0 -19
  179. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_play.svg +0 -18
  180. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/show-playlist.svg +0 -15
  181. data/assets/theme/j1/modules/jqueryScrollbar/LICENSE +0 -20
  182. data/assets/theme/j1/modules/jqueryScrollbar/README.md +0 -28
  183. data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.css +0 -939
  184. data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.min.css +0 -20
  185. data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.js +0 -851
  186. data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.min.js +0 -36
  187. data/assets/theme/j1/modules/jqueryScrollbar/sass/scrollbar.scss +0 -806
  188. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +0 -794
  189. /data/lib/starter_web/pages/{tour → public/tour}/_includes/attributes.asciidoc +0 -0
  190. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/100_gistblock.asciidoc +0 -0
  191. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_info.asciidoc +0 -0
  192. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_left_warning.asciidoc +0 -0
  193. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_right_danger.asciidoc +0 -0
  194. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_central_success.asciidoc +0 -0
  195. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_full_height_left_info.asciidoc +0 -0
  196. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_full_height_right_success.asciidoc +0 -0
  197. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -0
  198. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_info.asciidoc +0 -0
  199. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_left_info.asciidoc +0 -0
  200. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_right_success.asciidoc +0 -0
  201. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/419_advanced_modals_demo.asciidoc +0 -0
  202. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/tables/bs_modal_examples.asciidoc +0 -0
  203. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/themes_bootstrap.asciidoc +0 -0
  204. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/themes_rouge.asciidoc +0 -0
  205. /data/lib/starter_web/pages/{tour → public/tour}/asciidoc_extensions.adoc +0 -0
  206. /data/lib/starter_web/pages/{tour → public/tour}/bootstrap_themes.adoc +0 -0
  207. /data/lib/starter_web/pages/{tour → public/tour}/highlghter_rouge.adoc +0 -0
  208. /data/lib/starter_web/pages/{tour → public/tour}/icon_fonts.adoc +0 -0
  209. /data/lib/starter_web/pages/{tour → public/tour}/quicksearch.adoc +0 -0
  210. /data/lib/starter_web/pages/{tour → public/tour}/responsive_tables.adoc +0 -0
  211. /data/lib/starter_web/pages/{tour → public/tour}/typography.adoc +0 -0
@@ -3136,9 +3136,9 @@ var j1 = ((options) => {
3136
3136
 
3137
3137
  // initialize event handler for window/history/back on <ESC>
3138
3138
  //
3139
- window.onkeyup = function (event) {
3140
- if (event.keyCode == 27) window.history.back();
3141
- };
3139
+ // window.onkeyup = function (event) {
3140
+ // if (event.keyCode == 27) window.history.back();
3141
+ // };
3142
3142
 
3143
3143
  $("a[href*='#']:not([href='#'])").click(function() {
3144
3144
  if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
@@ -141,7 +141,7 @@ j1.adapter.masonry = ((j1, window) => {
141
141
  // Load module DEFAULTS|CONFIG
142
142
  masonryDefaults = $.extend({}, {{masonry_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
143
143
  masonrySettings = $.extend({}, {{masonry_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
144
- masonryOptions = $.extend(true, {}, masonryDefaults, masonrySettings);
144
+ masonryOptions = $.extend(true, {}, masonryDefaults, masonrySettings);
145
145
 
146
146
  // load HTML portion for all grids
147
147
  _this.loadGridHTML(masonryOptions, masonryOptions.grids);
@@ -153,7 +153,7 @@ j1.adapter.masonry = ((j1, window) => {
153
153
  var pageState = $('#content').css("display");
154
154
  var pageVisible = (pageState === 'block') ? true: false;
155
155
  var j1CoreFinished = (j1.getState() === 'finished') ? true : false;
156
- // var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true : false;
156
+ // var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true : false;
157
157
 
158
158
  if (j1CoreFinished && pageVisible) {
159
159
  startTimeModule = Date.now();
@@ -454,7 +454,8 @@ j1.adapter.masterslider = ((j1, window) => {
454
454
 
455
455
  logger.debug('\n' + 'slider events are being initialized on id: ' + index);
456
456
 
457
- slider[index].api.addEventListener(MSSliderEvent.WAITING, (e) => {
457
+ // slider[index].api.addEventListener(MSSliderEvent.WAITING, (e) => {
458
+ slider[index].api.addEventListener(MSSliderEvent.WAITING, function(e) {
458
459
  var controller = e.target.view.controller;
459
460
  var controllerValue = e.target.view.controller.value;
460
461
  var isLoading = e.target.currentSlide.$loading.length;
@@ -0,0 +1,231 @@
1
+ ---
2
+ regenerate: true
3
+ ---
4
+
5
+ {%- capture cache -%}
6
+
7
+ {% comment %}
8
+ # -----------------------------------------------------------------------------
9
+ # ~/assets/theme/j1/adapter/js/swiper.js
10
+ # Liquid template to adapt the Swiper module
11
+ #
12
+ # Product/Info:
13
+ # https://jekyll.one
14
+ # Copyright (C) 2023, 2024 Juergen Adams
15
+ #
16
+ # J1 Template is licensed under the MIT License.
17
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
18
+ # -----------------------------------------------------------------------------
19
+ # Test data:
20
+ # {{ liquid_var | debug }}
21
+ # swiper_options: {{ swiper_options | debug }}
22
+ # -----------------------------------------------------------------------------
23
+ {% endcomment %}
24
+
25
+ {% comment %} Liquid procedures
26
+ -------------------------------------------------------------------------------- {% endcomment %}
27
+
28
+ {% comment %} Set global settings
29
+ -------------------------------------------------------------------------------- {% endcomment %}
30
+ {% assign environment = site.environment %}
31
+ {% assign asset_path = "/assets/theme/j1" %}
32
+
33
+ {% comment %} Process YML config data
34
+ ================================================================================ {% endcomment %}
35
+
36
+ {% comment %} Set config files
37
+ -------------------------------------------------------------------------------- {% endcomment %}
38
+ {% assign template_config = site.data.j1_config %}
39
+ {% assign blocks = site.data.blocks %}
40
+ {% assign modules = site.data.modules %}
41
+
42
+ {% comment %} Set config data (settings only)
43
+ -------------------------------------------------------------------------------- {% endcomment %}
44
+ {% assign swiper_defaults = modules.defaults.swiper.defaults %}
45
+ {% assign swiper_settings = modules.swiper.settings %}
46
+
47
+ {% comment %} Set config options (settings only)
48
+ -------------------------------------------------------------------------------- {% endcomment %}
49
+ {% assign swiper_options = swiper_defaults | merge: swiper_settings %}
50
+
51
+ {% comment %} Detect prod mode
52
+ -------------------------------------------------------------------------------- {% endcomment %}
53
+ {% assign production = false %}
54
+ {% if environment == 'prod' or environment == 'production' %}
55
+ {% assign production = true %}
56
+ {% endif %}
57
+
58
+ /*
59
+ # -----------------------------------------------------------------------------
60
+ # ~/assets/theme/j1/adapter/js/swiper.js
61
+ # J1 Adapter for the swiper module
62
+ #
63
+ # Product/Info:
64
+ # https://jekyll.one
65
+ #
66
+ # Copyright (C) 2023, 2024 Juergen Adams
67
+ #
68
+ # J1 Template is licensed under the MIT License.
69
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
70
+ # -----------------------------------------------------------------------------
71
+ # Adapter generated: {{site.time}}
72
+ # -----------------------------------------------------------------------------
73
+ */
74
+
75
+ // -----------------------------------------------------------------------------
76
+ // ESLint shimming
77
+ // -----------------------------------------------------------------------------
78
+ /* eslint indent: "off" */
79
+ // -----------------------------------------------------------------------------
80
+ "use strict";
81
+ j1.adapter.swiper = ((j1, window) => {
82
+
83
+ {% comment %} Set global variables
84
+ ------------------------------------------------------------------------------ {% endcomment %}
85
+ var environment = '{{environment}}';
86
+ var cookie_names = j1.getCookieNames();
87
+ var user_state = j1.readCookie(cookie_names.user_state);
88
+ var viewport_width = $(window).width();
89
+ var state = 'not_started';
90
+
91
+ var swiperDefaults;
92
+ var swiperSettings;
93
+ var swiperOptions;
94
+ var frontmatterOptions;
95
+ var themes_allowed;
96
+ var theme_enabled;
97
+ var theme;
98
+
99
+ var _this;
100
+ var logger;
101
+ var logText;
102
+
103
+ // date|time
104
+ var startTime;
105
+ var endTime;
106
+ var startTimeModule;
107
+ var endTimeModule;
108
+ var timeSeconds;
109
+
110
+ // ---------------------------------------------------------------------------
111
+ // main
112
+ // ---------------------------------------------------------------------------
113
+ return {
114
+
115
+ // -------------------------------------------------------------------------
116
+ // adapter initializer
117
+ // -------------------------------------------------------------------------
118
+ init: (options) => {
119
+
120
+ // [INFO ] [j1.adapter.comments ] [ detected comments provider (j1_config): {{comments_provider}}} ]
121
+ // [INFO ] [j1.adapter.comments ] [ start processing load region head, layout: {{page.layout}} ]
122
+
123
+ // -----------------------------------------------------------------------
124
+ // default module settings
125
+ // -----------------------------------------------------------------------
126
+ var settings = $.extend({
127
+ module_name: 'j1.adapter.swiper',
128
+ generated: '{{site.time}}'
129
+ }, options);
130
+
131
+ // -----------------------------------------------------------------------
132
+ // global variable settings
133
+ // -----------------------------------------------------------------------
134
+
135
+ // create settings object from frontmatter
136
+ frontmatterOptions = options != null ? $.extend({}, options) : {};
137
+
138
+ // create settings object from module options
139
+ swiperDefaults = $.extend({}, {{swiper_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
140
+ swiperSettings = $.extend({}, {{swiper_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
141
+ swiperOptions = $.extend(true, {}, swiperDefaults, swiperSettings, frontmatterOptions);
142
+
143
+ _this = j1.adapter.swiper;
144
+ theme = user_state.theme_name;
145
+ logger = log4javascript.getLogger('j1.adapter.swiper');
146
+
147
+ // -----------------------------------------------------------------------
148
+ // module initializer
149
+ // -----------------------------------------------------------------------
150
+ var dependencies_met_page_ready = setInterval (() => {
151
+ var pageState = $('#content').css("display");
152
+ var pageVisible = (pageState === 'block') ? true : false;
153
+ var j1CoreFinished = (j1.getState() === 'finished') ? true : false;
154
+ // var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true : false;
155
+
156
+ if (j1CoreFinished && pageVisible) {
157
+ startTimeModule = Date.now();
158
+
159
+ _this.setState('started');
160
+ logger.debug('\n' + 'state: ' + _this.getState());
161
+ logger.info('\n' + 'module is being initialized');
162
+
163
+ _this.setState('finished');
164
+ logger.debug('\n' + 'state: ' + _this.getState());
165
+ logger.info('\n' + 'initializing module finished');
166
+
167
+ endTimeModule = Date.now();
168
+ logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
169
+
170
+ clearInterval(dependencies_met_page_ready);
171
+ } // END pageVisible
172
+ }, 10); // END dependencies_met_page_ready
173
+ }, // END init
174
+
175
+ // -------------------------------------------------------------------------
176
+ // messageHandler()
177
+ // manage messages send from other J1 modules
178
+ // -------------------------------------------------------------------------
179
+ messageHandler: (sender, message) => {
180
+ var json_message = JSON.stringify(message, undefined, 2);
181
+
182
+ logText = '\n' + 'received message from ' + sender + ': ' + json_message;
183
+ logger.debug(logText);
184
+
185
+ // -----------------------------------------------------------------------
186
+ // process commands|actions
187
+ // -----------------------------------------------------------------------
188
+ if (message.type === 'command' && message.action === 'module_initialized') {
189
+
190
+ //
191
+ // place handling of command|action here
192
+ //
193
+
194
+ logger.info('\n' + message.text);
195
+ }
196
+
197
+ //
198
+ // place handling of other command|action here
199
+ //
200
+
201
+ return true;
202
+ }, // END messageHandler
203
+
204
+ // -------------------------------------------------------------------------
205
+ // setState()
206
+ // sets the current (processing) state of the module
207
+ // -------------------------------------------------------------------------
208
+ setState: (stat) => {
209
+ _this.state = stat;
210
+ }, // END setState
211
+
212
+ // -------------------------------------------------------------------------
213
+ // getState()
214
+ // Returns the current (processing) state of the module
215
+ // -------------------------------------------------------------------------
216
+ getState: () => {
217
+ return _this.state;
218
+ } // END getState
219
+
220
+ }; // END main (return)
221
+ })(j1, window);
222
+
223
+ {%- endcapture -%}
224
+
225
+ {%- if production -%}
226
+ {{ cache|minifyJS }}
227
+ {%- else -%}
228
+ {{ cache|strip_empty_lines }}
229
+ {%- endif -%}
230
+
231
+ {%- assign cache = false -%}
@@ -0,0 +1,212 @@
1
+ ---
2
+ regenerate: true
3
+ ---
4
+
5
+ {%- capture cache -%}
6
+
7
+ {% comment %}
8
+ # -----------------------------------------------------------------------------
9
+ # ~/assets/theme/j1/adapter/js/videojs.js
10
+ # Liquid template to adapt the videojs module
11
+ #
12
+ # Product/Info:// # https://jekyll.one
13
+ # Copyright (C) 2023, 2024 Juergen Adams
14
+ #
15
+ # J1 Template is licensed under the MIT License.
16
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
17
+ # -----------------------------------------------------------------------------
18
+ # Test data:
19
+ # {{ liquid_var | debug }}
20
+ # videojs_options: {{ videojs_options | debug }}
21
+ # --------------------------------------------------------------------------
22
+ {% endcomment %}
23
+
24
+ {% comment %} Liquid procedures
25
+ -------------------------------------------------------------------------------- {% endcomment %}
26
+
27
+ {% comment %} Set global settings
28
+ -------------------------------------------------------------------------------- {% endcomment %}
29
+ {% assign environment = site.environment %}
30
+ {% assign asset_path = "/assets/theme/j1" %}
31
+
32
+ {% comment %} Process YML config data
33
+ ================================================================================ {% endcomment %}
34
+
35
+ {% comment %} Set config files
36
+ -------------------------------------------------------------------------------- {% endcomment %}
37
+ {% assign template_config = site.data.j1_config %}
38
+ {% assign blocks = site.data.blocks %}
39
+ {% assign modules = site.data.modules %}
40
+
41
+ {% comment %} Set config data (settings only)
42
+ ------------------------------------------------------------------------------- {% endcomment %}
43
+ {% assign videojs_defaults = modules.defaults.videojs.defaults %}
44
+ {% assign videojs_settings = modules.videojs.settings %}
45
+
46
+ {% comment %} Set config options (settings only)
47
+ ------------------------------------------------------------------------------- {% endcomment %}
48
+ {% assign videojs_options = videojs_defaults | merge: videojs_settings %}
49
+
50
+
51
+ /*
52
+ # -----------------------------------------------------------------------------
53
+ # ~/assets/theme/j1/adapter/js/videojs.js
54
+ # J1 Adapter for the video module
55
+ #
56
+ # Product/Info:
57
+ # https://jekyll.one
58
+ #
59
+ # Copyright (C) 2023, 2024 Juergen Adams
60
+ #
61
+ # J1 Template is licensed under the MIT License.
62
+ # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE
63
+ # -----------------------------------------------------------------------------
64
+ # Adapter generated: {{site.time}}
65
+ # -----------------------------------------------------------------------------
66
+ */
67
+
68
+ // -----------------------------------------------------------------------------
69
+ // ESLint shimming
70
+ // -----------------------------------------------------------------------------
71
+ /* eslint indent: "off" */
72
+ // -----------------------------------------------------------------------------
73
+ "use strict";
74
+ j1.adapter.videojs = ((j1, window) => {
75
+
76
+ {% comment %} Set global variables
77
+ ------------------------------------------------------------------------------ {% endcomment %}
78
+ var vjsDefaults;
79
+ var vjsSettings;
80
+ var vjsOptions;
81
+
82
+ var _this;
83
+ var logger;
84
+ var logText;
85
+
86
+ // date|time
87
+ var startTime;
88
+ var endTime;
89
+ var startTimeModule;
90
+ var endTimeModule;
91
+ var timeSeconds;
92
+
93
+ // ---------------------------------------------------------------------------
94
+ // main
95
+ // ---------------------------------------------------------------------------
96
+ return {
97
+
98
+ // -------------------------------------------------------------------------
99
+ // adapter initializer
100
+ // -------------------------------------------------------------------------
101
+ init: (options) => {
102
+
103
+ // -----------------------------------------------------------------------
104
+ // default module settings
105
+ // -----------------------------------------------------------------------
106
+ var settings = $.extend({
107
+ module_name: 'j1.adapter.videojs',
108
+ generated: '{{site.time}}'
109
+ }, options);
110
+
111
+ // -----------------------------------------------------------------------
112
+ // global variable settings
113
+ // -----------------------------------------------------------------------
114
+
115
+ // create settings object from module options
116
+ vjsDefaults = $.extend({}, {{videojs_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
117
+ vjsSettings = $.extend({}, {{videojs_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
118
+ vjsOptions = $.extend(true, {}, vjsDefaults, vjsSettings);
119
+
120
+ _this = j1.adapter.videojs;
121
+ logger = log4javascript.getLogger('j1.adapter.videojs');
122
+
123
+ // -----------------------------------------------------------------------
124
+ // module initializer
125
+ // -----------------------------------------------------------------------
126
+ var dependencies_met_page_ready = setInterval (() => {
127
+ var pageState = $('#content').css("display");
128
+ var pageVisible = (pageState === 'block') ? true : false;
129
+ var j1CoreFinished = (j1.getState() === 'finished') ? true : false;
130
+
131
+ if (j1CoreFinished && pageVisible) {
132
+ startTimeModule = Date.now();
133
+
134
+ _this.setState('started');
135
+ logger.debug('\n' + 'state: ' + _this.getState());
136
+ logger.info('\n' + 'module is being initialized');
137
+
138
+ // save vjsOptions for later access
139
+ j1.modules.videojs = {};
140
+ j1.modules.videojs.options = vjsOptions || {};
141
+
142
+ _this.setState('finished');
143
+ logger.debug('\n' + 'state: ' + _this.getState());
144
+ logger.info('\n' + 'initializing module finished');
145
+
146
+ endTimeModule = Date.now();
147
+ logger.info('\n' + 'module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
148
+
149
+ clearInterval(dependencies_met_page_ready);
150
+ } // END pageVisible
151
+ }, 10); // END dependencies_met_page_ready
152
+
153
+ }, // END init
154
+
155
+ // -------------------------------------------------------------------------
156
+ // messageHandler()
157
+ // manage messages send from other J1 modules
158
+ // -------------------------------------------------------------------------
159
+ messageHandler: (sender, message) => {
160
+ var json_message = JSON.stringify(message, undefined, 2);
161
+
162
+ logText = '\n' + 'received message from ' + sender + ': ' + json_message;
163
+ logger.debug(logText);
164
+
165
+ // -----------------------------------------------------------------------
166
+ // process commands|actions
167
+ // -----------------------------------------------------------------------
168
+ if (message.type === 'command' && message.action === 'module_initialized') {
169
+
170
+ //
171
+ // place handling of command|action here
172
+ //
173
+
174
+ logger.info('\n' + message.text);
175
+ }
176
+
177
+ //
178
+ // place handling of other command|action here
179
+ //
180
+
181
+ return true;
182
+ }, // END messageHandler
183
+
184
+ // -------------------------------------------------------------------------
185
+ // setState()
186
+ // sets the current (processing) state of the module
187
+ // -------------------------------------------------------------------------
188
+ setState: (stat) => {
189
+ _this.state = stat;
190
+ }, // END setState
191
+
192
+ // -------------------------------------------------------------------------
193
+ // getState()
194
+ // Returns the current (processing) state of the module
195
+ // -------------------------------------------------------------------------
196
+ getState: () => {
197
+ return _this.state;
198
+ } // END getState
199
+
200
+ }; // END main (return)
201
+
202
+ })(j1, window);
203
+
204
+ {%- endcapture -%}
205
+
206
+ {%- if production -%}
207
+ {{ cache|minifyJS }}
208
+ {%- else -%}
209
+ {{ cache|strip_empty_lines }}
210
+ {%- endif -%}
211
+
212
+ {%- assign cache = false -%}
@@ -27079,6 +27079,7 @@ span.badge > a {
27079
27079
  .caption {
27080
27080
  display: none; /* hidden for default */
27081
27081
  position: absolute; /* positions set by translate */
27082
+ margin-top: 1px; /* place caption top position */
27082
27083
  padding: 10px 5px 10px 5px; /* space around a caption */
27083
27084
  color: #E0E0E0; /* caption text color */
27084
27085
  background: rgb(0, 0, 0); /* caption background color */
@@ -27089,19 +27090,20 @@ span.badge > a {
27089
27090
  z-index: 1;
27090
27091
  }
27091
27092
 
27093
+ /* jadams, 2024-11-15: Unused
27092
27094
  .caption-video {
27093
27095
  display: none;
27094
27096
  position: absolute;
27095
27097
  padding: 10px 5px 10px 5px;
27096
27098
  color: #E0E0E0;
27097
- background: rgb(0, 0, 0);
27099
+ background: rgba(0, 0, 0, 1);
27098
27100
  width: 100%;
27099
27101
  font-size: 12px;
27100
27102
  font-weight: 300;
27101
27103
  font-family: sans-serif;
27102
27104
  z-index: 1;
27103
27105
  }
27104
-
27106
+ */
27105
27107
  .top .caption {
27106
27108
  top: 0;
27107
27109
  transform: translate(-100%, -50%); /* move hidden caption */
@@ -27122,8 +27124,9 @@ span.badge > a {
27122
27124
  -webkit-transition-delay: 0.25s;
27123
27125
  }
27124
27126
 
27127
+ /* jadams, 2024-11-11: ToDo (fix) */
27128
+ /* workaround: make cover images +1 pixel higher for caption text overlay */
27125
27129
  .bottom .caption {
27126
- top: 100%;
27127
27130
  transform: translate(0, 0);
27128
27131
  -moz-transform: translate(0, 0);
27129
27132
  -webkit-transform: translate(0, 0);
@@ -31790,7 +31793,7 @@ ul.scrollable-menu::-webkit-scrollbar-thumb {
31790
31793
  }
31791
31794
 
31792
31795
  .scroller-6::-webkit-scrollbar-thumb {
31793
- background-color: #ff9800;
31796
+ background-color: #3f51b5;
31794
31797
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
31795
31798
  }
31796
31799