j1-template 2024.3.21 → 2024.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/data/amplitude_app.html +60 -51
- data/assets/data/{galeries.html → gallery_app.html} +4 -4
- data/assets/theme/bla +0 -0
- data/assets/theme/j1/adapter/js/advertising.js +40 -38
- data/assets/theme/j1/adapter/js/algolia.js +13 -11
- data/assets/theme/j1/adapter/js/amplitude.js +628 -380
- data/assets/theme/j1/adapter/js/analytics.js +19 -17
- data/assets/theme/j1/adapter/js/asciidoctor.js +10 -8
- data/assets/theme/j1/adapter/js/attic.js +24 -22
- data/assets/theme/j1/adapter/js/bmd.js +10 -8
- data/assets/theme/j1/adapter/js/carousel.js +12 -9
- data/assets/theme/j1/adapter/js/chatbot.js +106 -104
- data/assets/theme/j1/adapter/js/clipboard.js +16 -14
- data/assets/theme/j1/adapter/js/comments.js +24 -22
- data/assets/theme/j1/adapter/js/cookieConsent.js +5 -1
- data/assets/theme/j1/adapter/js/customFunctions.js +12 -10
- data/assets/theme/j1/adapter/js/customModule.js +10 -8
- data/assets/theme/j1/adapter/js/docsearch.js +33 -31
- data/assets/theme/j1/adapter/js/dropdowns.js +16 -14
- data/assets/theme/j1/adapter/js/fab.js +34 -32
- data/assets/theme/j1/adapter/js/gallery.js +22 -20
- data/assets/theme/j1/adapter/js/gemini.js +66 -64
- data/assets/theme/j1/adapter/js/iconPicker.js +31 -29
- data/assets/theme/j1/adapter/js/iconPickerPage.js +11 -9
- data/assets/theme/j1/adapter/js/iframer.js +17 -15
- data/assets/theme/j1/adapter/js/j1.js +146 -143
- data/assets/theme/j1/adapter/js/lazyLoader.js +33 -31
- data/assets/theme/j1/adapter/js/lightbox.js +9 -7
- data/assets/theme/j1/adapter/js/logger.js +11 -9
- data/assets/theme/j1/adapter/js/lunr.js +37 -35
- data/assets/theme/j1/adapter/js/masonry.js +23 -21
- data/assets/theme/j1/adapter/js/masterslider.js +31 -29
- data/assets/theme/j1/adapter/js/mmenu.js +25 -23
- data/assets/theme/j1/adapter/js/navigator.js +43 -41
- data/assets/theme/j1/adapter/js/particles.js +12 -10
- data/assets/theme/j1/adapter/js/rangeSlider.js +21 -19
- data/assets/theme/j1/adapter/js/rouge.js +10 -8
- data/assets/theme/j1/adapter/js/rtable.js +14 -12
- data/assets/theme/j1/adapter/js/rtextResizer.js +10 -8
- data/assets/theme/j1/adapter/js/scroller.js +15 -13
- data/assets/theme/j1/adapter/js/slick.js +18 -16
- data/assets/theme/j1/adapter/js/slimSelect.js +30 -28
- data/assets/theme/j1/adapter/js/speak2me.js +25 -23
- data/assets/theme/j1/adapter/js/swiper.js +13 -11
- data/assets/theme/j1/adapter/js/themeToggler.js +11 -9
- data/assets/theme/j1/adapter/js/themes.js +60 -86
- data/assets/theme/j1/adapter/js/toccer.js +13 -11
- data/assets/theme/j1/adapter/js/translator.js +19 -16
- data/assets/theme/j1/adapter/js/videojs.js +9 -7
- data/assets/theme/j1/adapter/js/waves.js +18 -16
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +19 -52
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/js/template.js +11180 -10968
- data/assets/theme/j1/core/js/template.min.js +13 -18
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +10 -4
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +15 -8
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +2 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +35 -14
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +817 -695
- data/assets/theme/j1/modules/backstretch/js/backstretch.js +2 -2
- data/assets/theme/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/theme/j1/modules/cookieConsent/js/cookieConsent.js +11 -11
- data/assets/theme/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -1
- data/assets/theme/j1/modules/dropdowns/js/dropdowns.js +2 -2
- data/assets/theme/j1/modules/dropdowns/js/dropdowns.min.js +1 -1
- data/assets/theme/j1/modules/fab/js/fab.js +2 -2
- data/assets/theme/j1/modules/fab/js/fab.min.js +1 -1
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.css +984 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lg-transitions.min.css +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.css +1627 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/css/lightgallery-bundle.min.css +25 -0
- data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.css +1 -1
- data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/uno.min.css +1 -1
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.svg +54 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.ttf +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/fonts/lg.woff2 +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/images/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/loading.gif +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/video-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/vimeo-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/img/youtube-play.png +0 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.js +2782 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/lightgallery.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/LICENSE.md +44 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/README.md +37 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.js +890 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/parser/webvtt/parser.min.js +8 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/j1/lg-video.1.js +585 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.js +275 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-autoplay.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.js +230 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-comment.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.js +160 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-fullscreen.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.js +223 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-hash.min.js +27 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.js +157 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-medium-zoom.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.js +164 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-pager.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.js +299 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-rotate.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.js +244 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-share.min.js +27 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.js +509 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-thumbnail.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.js +909 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-video.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.js +207 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-vimeo-thumbnail.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.js +999 -0
- data/assets/theme/j1/modules/lightGallery/!v2.7.2/js/plugins/lg-zoom.min.js +26 -0
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.css +3 -126
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.min.css +3 -10
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.css +70 -237
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.min.css +4 -10
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/animation-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/customize-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/dynamic-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/facebook-icon.svg +10 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/googleplus-icon.svg +30 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/html5-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/linked-in.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/module-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button-hover.svg +94 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/play-button.svg +93 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/responsive-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/thumb-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/touch-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter-icon.svg +15 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/twitter.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/video1-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom-w.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/icons/zoom.png +0 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +276 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +17 -0
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +163 -120
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.0.js +495 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-thumbnail.1.js +513 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.0.js +553 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.2.js +914 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.min.js +5 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +179 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.min.js +32 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.min.js +6 -7
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +27 -20
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +77 -125
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +11 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +5 -5
- data/assets/theme/j1/modules/lunr/js/j1.js +1 -1
- data/assets/theme/j1/modules/lunr/js/j1.min.js +2 -1
- data/assets/theme/j1/modules/rtable/js/rtable.js +2 -2
- data/assets/theme/j1/modules/rtable/js/rtable.min.js +2 -1
- data/assets/theme/j1/modules/scroller/js/scroller.js +31 -29
- data/assets/theme/j1/modules/scroller/js/scroller.min.js +2 -1
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +38 -37
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.min.js +2 -1
- data/assets/theme/j1/modules/translator/js/translator.js +17 -17
- data/assets/theme/j1/modules/translator/js/translator.min.js +1 -1
- data/assets/theme/j1/modules/videoPlayer/tiktoc/README.md +1 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/README.md +151 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/font/VideoJS.svg +150 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.css +147 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/city.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.css +113 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/fantasy.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.css +166 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/forest.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.css +72 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/sea.min.css +5 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.css +311 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/themes/uno.min.css +19 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.css +1686 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/css/videojs.min.css +13 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.js +65226 -0
- data/assets/theme/j1/modules/videojs/!v8.12.0/js/video.min.js +55 -0
- data/assets/theme/j1/modules/videojs/assets/README.md +1 -0
- data/assets/theme/j1/modules/videojs/assets/icons/speedometer-medium.svg +35 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.ttf +0 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.woff +0 -0
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +157 -22
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +674 -316
- data/assets/theme/j1/modules/videojs/css/videojs.min.css +4 -3
- data/assets/theme/j1/modules/videojs/js/video.js +15893 -12288
- data/assets/theme/j1/modules/videojs/js/video.min.js +22 -23
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +31 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/README.md +69 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.min.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.js +339 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.min.js +2 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.js +0 -5
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +29 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/README.md +90 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.js +120 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.min.js +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +37 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/README.md +61 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.js +94 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.min.js +20 -0
- data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/skipbuttons/README.md +25 -11
- data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/zoom/css}/zoom.css +7 -6
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +22 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.js +11 -9
- data/assets/theme/j1/modules/videojs/plugins/players/dm/js/dailymotion.min.js +19 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.0.js +521 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.1.js +605 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.3.js +643 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.4.js +583 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.5.js +665 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.6.js +642 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.7.js +673 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.min.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm → plugins/players/vm/js}/vimeo.js +13 -12
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +28 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.0.js +395 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.1.js +401 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.js +13 -11
- data/assets/theme/j1/modules/videojs/plugins/players/wt/js/wistia.min.js +21 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.js +10 -8
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +21 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/amplitude_playlists.yml +140 -80
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +5 -3
- data/lib/starter_web/_data/modules/defaults/gallery.yml +3 -3
- data/lib/starter_web/_data/modules/gallery.yml +83 -87
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/resources.yml +16 -12
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +50 -22
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +37 -16
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/audio/album/emancipator/Alligator.mp3 +0 -0
- data/lib/starter_web/assets/audio/album/emancipator/DabCity.mp3 +0 -0
- data/lib/starter_web/assets/audio/album/emancipator/SeaToSky.mp3 +0 -0
- data/lib/starter_web/assets/audio/album/emancipator/TimeForSpace.mp3 +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/alligator.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/anthem.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/dab-city.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/safe-in-the-steep-cliffs.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/sea-to-sky.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/soon-it-will-be-cold-enough.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/tine-for-space.jpg +0 -0
- data/lib/starter_web/assets/video/poster/vimeo/fall_2011.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +282 -0
- data/lib/starter_web/pages/public/tour/audio_data.adoc +11 -6
- data/lib/starter_web/pages/public/tour/video_data.adoc +1 -0
- metadata +238 -115
- data/assets/data/swiper_app.2.html +0 -757
- data/assets/data/swiper_app.4.html +0 -769
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +0 -32
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +0 -31
- data/assets/theme/j1/modules/videojs/css/plugins/controls/zoom.min.css +0 -21
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +0 -19
- data/assets/theme/j1/modules/videojs/js/plugins/players/vm/vimeo.min.js +0 -16
- data/assets/theme/j1/modules/videojs/js/plugins/players/wt/api/src/WistiaPlayer.ts +0 -1617
- data/assets/theme/j1/modules/videojs/js/plugins/players/wt/wistia.min.js +0 -21
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +0 -21
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/anthem.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/from-dusk-to-dawn.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/safe-in-the-steep-cliffs.jpg +0 -0
- data/lib/starter_web/assets/audio/cover/emancipator/from-dusk-to-dawn/soon-it-will-be-cold-enough.jpg +0 -0
- data/lib/starter_web/assets/video/poster/vimeo/stay_colorful.jpg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/animation-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/customize-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/dynamic-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/facebook-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/googleplus-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/html5-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/linked-in.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/module-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button-hover.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/play-button.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/responsive-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/thumb-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/touch-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/twitter.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/video1-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{css → !v2.7.2/css}/themes/uno/icons/zoom.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.js +0 -0
- /data/assets/theme/j1/modules/lightGallery/{js → !v2.7.2/js}/plugins/j1/j1-video.min.js +0 -0
- /data/assets/theme/j1/modules/videoPlayer/dailymotion/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/tiktoc/{js/player.min.js → player.min.js} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/vimeo/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/wistia/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{css → !v8.12.0/css}/font/video-js-cdn.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys/examples → plugins/controls/hotkeys/!examples}/example.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.css +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.min.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/styles.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-controls.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-javascript.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-playlist.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/global-parameters.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/simple.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/switch.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/doc → plugins/players/dm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/api/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api/doc → plugins/players/dm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/icon/scalable/dailymotion.svg +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/player/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/doc → plugins/players/vm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api/doc → plugins/players/vm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.uno.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/doc → plugins/players/wt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api/doc/Readme.txt → plugins/players/wt/api/README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api → plugins/players/wt/api/js}/wistia.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/global-parameters.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/simple.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/switch.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-controls.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-javascript.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-list.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-playlist.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/yt/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/doc → plugins/players/yt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/api → plugins/players/yt/api/js}/youtube.min.js +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn → !info}/!sound.links.txt +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/Anthem.mp3 → Anthem.mp3} +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/DuskToDawn.mp3 → DuskToDawn.mp3} +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/FirstSnow.mp3 → FirstSnow.mp3} +0 -0
- /data/lib/starter_web/assets/audio/album/emancipator/{from-dusk-to-dawn/SafeInTheSteepCliffs.mp3 → SafeInTheSteepCliffs.mp3} +0 -0
@@ -86,26 +86,28 @@ regenerate: true
|
|
86
86
|
"use strict";
|
87
87
|
j1.adapter.slimSelect = ((j1, window) => {
|
88
88
|
|
89
|
-
|
90
|
-
|
91
|
-
// -----------------------------------------------------------------------------
|
92
|
-
|
93
|
-
|
94
|
-
var
|
89
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
90
|
+
|
91
|
+
// -----------------------------------------------------------------------------
|
92
|
+
// Set global variables
|
93
|
+
// -----------------------------------------------------------------------------
|
94
|
+
var slimSelectDefaults;
|
95
|
+
var slimSelectSettings;
|
96
|
+
var slimSelectOptions;
|
95
97
|
|
96
|
-
var _this;
|
97
|
-
var logger;
|
98
|
-
var logText;
|
98
|
+
var _this;
|
99
|
+
var logger;
|
100
|
+
var logText;
|
99
101
|
|
100
|
-
var selectDIV;
|
101
|
-
var selectHTML;
|
102
|
+
var selectDIV;
|
103
|
+
var selectHTML;
|
102
104
|
|
103
|
-
// date|time
|
104
|
-
var startTime;
|
105
|
-
var endTime;
|
106
|
-
var startTimeModule;
|
107
|
-
var endTimeModule;
|
108
|
-
var timeSeconds;
|
105
|
+
// date|time
|
106
|
+
var startTime;
|
107
|
+
var endTime;
|
108
|
+
var startTimeModule;
|
109
|
+
var endTimeModule;
|
110
|
+
var timeSeconds;
|
109
111
|
|
110
112
|
// ---------------------------------------------------------------------------
|
111
113
|
// main
|
@@ -150,15 +152,15 @@ var timeSeconds;
|
|
150
152
|
startTimeModule = Date.now();
|
151
153
|
|
152
154
|
_this.setState('started');
|
153
|
-
logger.debug('
|
154
|
-
logger.info('
|
155
|
+
logger.debug('set module state to: ' + _this.getState());
|
156
|
+
logger.info('initializing module: started');
|
155
157
|
|
156
158
|
var wrapper_dependencies = {};
|
157
159
|
var dependency;
|
158
160
|
|
159
161
|
// setup selects on all wrappers
|
160
162
|
{% for select in slim_select_settings.selects %} {% if select.enabled %}
|
161
|
-
logger.debug('
|
163
|
+
logger.debug('select {{select.id}} is being initialized on wrapper: {{select.wrapper_id}}');
|
162
164
|
|
163
165
|
// create dynamic loader variable to setup the
|
164
166
|
// select '{{select.id}}' on wrapper: '{{select.wrapper_id}}'
|
@@ -171,7 +173,7 @@ var timeSeconds;
|
|
171
173
|
|
172
174
|
// process the wrapper if extsts
|
173
175
|
if (wrapperReady) {
|
174
|
-
logger.debug('
|
176
|
+
logger.debug('select {{select.id}} is being placed on wrapper: {{select.wrapper_id}}');
|
175
177
|
|
176
178
|
// create|place select <div> element
|
177
179
|
selectDIV = document.createElement('div');
|
@@ -185,7 +187,7 @@ var timeSeconds;
|
|
185
187
|
|
186
188
|
// setup new SlimSelect
|
187
189
|
// jadams, 2024-03-06: setup events moved to page (test_icon_picker.adoc)
|
188
|
-
logger.debug('
|
190
|
+
logger.debug('SlimSelect object is being created for id: {{select.id}}');
|
189
191
|
var $select_{{select.id}} = new SlimSelect ({
|
190
192
|
select: 'select[name ="{{select.name}}"]',
|
191
193
|
settings: {
|
@@ -211,7 +213,7 @@ var timeSeconds;
|
|
211
213
|
// store the select in the adapter for later access
|
212
214
|
_this.select.{{select.id}} = $select_{{select.id}};
|
213
215
|
|
214
|
-
logger.debug('
|
216
|
+
logger.debug('initializing finished select: {{select.id}}');
|
215
217
|
|
216
218
|
clearInterval(wrapper_dependencies['dependency_met_wrapper_ready_{{select.id}}']);
|
217
219
|
} // END if wrapperReady
|
@@ -220,11 +222,11 @@ var timeSeconds;
|
|
220
222
|
// END (for) all selects
|
221
223
|
|
222
224
|
_this.setState('finished');
|
223
|
-
logger.debug('
|
224
|
-
logger.info('
|
225
|
+
logger.debug('state: ' + _this.getState());
|
226
|
+
logger.info('initializing module: finished');
|
225
227
|
|
226
228
|
endTimeModule = Date.now();
|
227
|
-
logger.info('
|
229
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
228
230
|
|
229
231
|
clearInterval(dependency_met_page_ready);
|
230
232
|
} // END pageVisible
|
@@ -238,7 +240,7 @@ var timeSeconds;
|
|
238
240
|
messageHandler: (sender, message) => {
|
239
241
|
var json_message = JSON.stringify(message, undefined, 2);
|
240
242
|
|
241
|
-
logText = '
|
243
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
242
244
|
logger.debug(logText);
|
243
245
|
|
244
246
|
// -----------------------------------------------------------------------
|
@@ -250,7 +252,7 @@ var timeSeconds;
|
|
250
252
|
// Place handling of command|action here
|
251
253
|
//
|
252
254
|
|
253
|
-
logger.info(
|
255
|
+
logger.info(message.text);
|
254
256
|
}
|
255
257
|
|
256
258
|
//
|
@@ -91,6 +91,8 @@ regenerate: true
|
|
91
91
|
"use strict";
|
92
92
|
j1.adapter.speak2me = ((j1, window) => {
|
93
93
|
|
94
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
95
|
+
|
94
96
|
{% comment %} Set global variables
|
95
97
|
------------------------------------------------------------------------------ {% endcomment %}
|
96
98
|
const scrollBehavior = 'smooth';
|
@@ -200,8 +202,8 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
200
202
|
logger = log4javascript.getLogger('j1.adapter.speak2me');
|
201
203
|
|
202
204
|
_this.setState('started');
|
203
|
-
logger.debug('
|
204
|
-
logger.info('
|
205
|
+
logger.debug('state: ' + _this.getState());
|
206
|
+
logger.info('module is being initialized');
|
205
207
|
|
206
208
|
// -----------------------------------------------------------------------
|
207
209
|
// module initializer
|
@@ -215,12 +217,12 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
215
217
|
startTimeModule = Date.now();
|
216
218
|
|
217
219
|
_this.setState('started');
|
218
|
-
logger.debug('
|
219
|
-
logger.info('
|
220
|
+
logger.debug('set module state to: ' + _this.getState());
|
221
|
+
logger.info('initializing module: started');
|
220
222
|
|
221
223
|
if (mobilesDisabled && isMobile) {
|
222
224
|
console.log('module speak2me is disabled for mobile browsers');
|
223
|
-
logger.warn('
|
225
|
+
logger.warn('module speak2me is disabled for mobile browsers');
|
224
226
|
$('#quickLinksSpeakButton').hide();
|
225
227
|
clearInterval(dependencies_met_page_ready);
|
226
228
|
return;
|
@@ -229,7 +231,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
229
231
|
var operaDisabled = (browsersDisabled.includes('Opera')) ? true : false;
|
230
232
|
if (operaDisabled && isOpera) {
|
231
233
|
console.log('module speak2me is disabled for the Opera browser');
|
232
|
-
logger.warn('
|
234
|
+
logger.warn('module speak2me is disabled for the Opera browser');
|
233
235
|
$('#quickLinksSpeakButton').hide();
|
234
236
|
clearInterval(dependencies_met_page_ready);
|
235
237
|
return;
|
@@ -238,7 +240,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
238
240
|
var firefoxDisabled = (browsersDisabled.includes('Firefox')) ? true : false;
|
239
241
|
if (firefoxDisabled && isFirefox) {
|
240
242
|
console.log('module speak2me is disabled for the Firefox browser');
|
241
|
-
logger.warn('
|
243
|
+
logger.warn('module speak2me is disabled for the Firefox browser');
|
242
244
|
$('#quickLinksSpeakButton').hide();
|
243
245
|
clearInterval(dependencies_met_page_ready);
|
244
246
|
return;
|
@@ -248,7 +250,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
248
250
|
var avastDisabled = (browsersDisabled.includes('Avast')) ? true : false;
|
249
251
|
if (avastDisabled && isAvast) {
|
250
252
|
console.log('module speak2me is not supported for the Avast Secure browser');
|
251
|
-
logger.warn('
|
253
|
+
logger.warn('module speak2me is disabled for the Avast Secure browser');
|
252
254
|
$('#quickLinksSpeakButton').hide();
|
253
255
|
clearInterval(dependencies_met_page_ready);
|
254
256
|
return;
|
@@ -257,14 +259,14 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
257
259
|
var safariDisabled = (browsersDisabled.includes('Safari')) ? true : false;
|
258
260
|
if (safariDisabled && !isChrome && !isEdge && !isSafari) {
|
259
261
|
console.log('module speak2me is disabled for the Safari browser');
|
260
|
-
logger.warn('
|
262
|
+
logger.warn('module speak2me is disabled for the Safari browser');
|
261
263
|
$('#quickLinksSpeakButton').hide();
|
262
264
|
clearInterval(dependencies_met_page_ready);
|
263
265
|
return;
|
264
266
|
}
|
265
267
|
|
266
268
|
if (ttsDisabled) {
|
267
|
-
logger.debug('
|
269
|
+
logger.debug('tts detected: disabled');
|
268
270
|
$('#quickLinksSpeakButton').hide();
|
269
271
|
clearInterval(dependencies_met_page_ready);
|
270
272
|
return;
|
@@ -282,7 +284,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
282
284
|
// -----------------------------------------------------------------
|
283
285
|
// data loader
|
284
286
|
// -----------------------------------------------------------------
|
285
|
-
logger.info('
|
287
|
+
logger.info('load modal');
|
286
288
|
j1.loadHTML ({
|
287
289
|
xhr_container_id: 'speak2me_container',
|
288
290
|
xhr_data_path: '/assets/data/speak2me/index.html',
|
@@ -292,7 +294,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
292
294
|
);
|
293
295
|
}
|
294
296
|
|
295
|
-
logger.info('
|
297
|
+
logger.info('initialize modal');
|
296
298
|
// -------------------------------------------------------------------
|
297
299
|
// on 'show'
|
298
300
|
// -------------------------------------------------------------------
|
@@ -312,17 +314,17 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
312
314
|
//
|
313
315
|
this.$buttonSpeak.click(function () {
|
314
316
|
if (isChrome) {
|
315
|
-
logger.info('
|
317
|
+
logger.info('speak: setup pause workaround for chromium based browsers');
|
316
318
|
chromeWorkaround = setInterval(() => {
|
317
319
|
var isSpeaking = $().speak2me('isSpeaking');
|
318
320
|
|
319
|
-
logger.debug('
|
321
|
+
logger.debug('speak: isSpeaking|isPaused: ' + isSpeaking + '|' + isPaused);
|
320
322
|
if (isSpeaking) {
|
321
323
|
$().speak2me('pause').speak2me('resume');
|
322
|
-
logger.debug('
|
324
|
+
logger.debug('speak: send pause-resumed');
|
323
325
|
} else {
|
324
326
|
$().speak2me('resume');
|
325
|
-
logger.debug('
|
327
|
+
logger.debug('speak: send resumed');
|
326
328
|
}
|
327
329
|
|
328
330
|
}, speak2meOptions.chrome_pause_resume_cycle);
|
@@ -331,7 +333,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
331
333
|
|
332
334
|
// stop workaround for chromium based browsers
|
333
335
|
this.$buttonStop.click(function () {
|
334
|
-
logger.info('
|
336
|
+
logger.info('speak: remove pause workaround for chromium based browsers');
|
335
337
|
// wait 3 sec to make sure speech output is stopped
|
336
338
|
setTimeout (() => {
|
337
339
|
var isSpeaking = $().speak2me('isSpeaking');
|
@@ -357,11 +359,11 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
357
359
|
}); // END modal on 'hidden'
|
358
360
|
|
359
361
|
_this.setState('finished');
|
360
|
-
logger.debug('
|
361
|
-
logger.info('
|
362
|
+
logger.debug('state: ' + _this.getState());
|
363
|
+
logger.info('module initialization finished');
|
362
364
|
|
363
365
|
endTimeModule = Date.now();
|
364
|
-
logger.info('
|
366
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
365
367
|
|
366
368
|
clearInterval(dependencies_met_page_ready);
|
367
369
|
} // END pageVisible
|
@@ -392,7 +394,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
392
394
|
// display the tts settings dialog
|
393
395
|
// -------------------------------------------------------------------------
|
394
396
|
showDialog: () => {
|
395
|
-
logger.debug(
|
397
|
+
logger.debug("showDialog");
|
396
398
|
|
397
399
|
$('#speak2me_container').modal({
|
398
400
|
backdrop: 'static',
|
@@ -536,7 +538,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
536
538
|
messageHandler: (sender, message) => {
|
537
539
|
var json_message = JSON.stringify(message, undefined, 2);
|
538
540
|
|
539
|
-
logText = '
|
541
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
540
542
|
logger.debug(logText);
|
541
543
|
|
542
544
|
// -----------------------------------------------------------------------
|
@@ -548,7 +550,7 @@ j1.adapter.speak2me = ((j1, window) => {
|
|
548
550
|
// place handling of command|action here
|
549
551
|
//
|
550
552
|
|
551
|
-
logger.info(
|
553
|
+
logger.info(message.text);
|
552
554
|
}
|
553
555
|
|
554
556
|
//
|
@@ -81,6 +81,8 @@ regenerate: true
|
|
81
81
|
"use strict";
|
82
82
|
j1.adapter.swiper = ((j1, window) => {
|
83
83
|
|
84
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
85
|
+
|
84
86
|
{% comment %} Set global variables
|
85
87
|
------------------------------------------------------------------------------ {% endcomment %}
|
86
88
|
var environment = '{{environment}}';
|
@@ -167,11 +169,11 @@ j1.adapter.swiper = ((j1, window) => {
|
|
167
169
|
_this.loadSwiperHTML(swiperOptions, swiperOptions.swipers);
|
168
170
|
|
169
171
|
_this.setState('started');
|
170
|
-
logger.debug('
|
171
|
-
logger.info('
|
172
|
+
logger.debug('state: ' + _this.getState());
|
173
|
+
logger.info('module is being initialized');
|
172
174
|
|
173
175
|
{% for swiper in swipers %}{% if swiper.enabled %}
|
174
|
-
logger.info ('
|
176
|
+
logger.info ('initialize swiper on id: ' + '{{swiper.id}}');
|
175
177
|
|
176
178
|
// create dynamic loader variable
|
177
179
|
dependency = 'dependencies_met_html_loaded_{{swiper.id}}';
|
@@ -183,7 +185,7 @@ j1.adapter.swiper = ((j1, window) => {
|
|
183
185
|
xhrLoadState = j1.xhrDOMState['#{{swiper.id}}_app'];
|
184
186
|
if (xhrLoadState === 'success') {
|
185
187
|
|
186
|
-
logger.info ('
|
188
|
+
logger.info ('HTML portion loaded for swiper on id: ' + '{{swiper.id}}');
|
187
189
|
|
188
190
|
{% comment %} Set Swiper Layout
|
189
191
|
------------------------------------------------------------------ {% endcomment %}
|
@@ -192,7 +194,7 @@ j1.adapter.swiper = ((j1, window) => {
|
|
192
194
|
|
193
195
|
// setup slider {{swiper.id}}
|
194
196
|
// ---------------------------------------------------------------
|
195
|
-
logger.info ('
|
197
|
+
logger.info ('swiper is being setup on id: ' + '{{swiper.id}}');
|
196
198
|
|
197
199
|
const slider = document.querySelector('#{{swiper.id}}');
|
198
200
|
const swiperEl = slider.querySelector('.swiper');
|
@@ -338,7 +340,7 @@ j1.adapter.swiper = ((j1, window) => {
|
|
338
340
|
const targetEl = document.getElementById('{{swiper.id}}');
|
339
341
|
targetEl.appendChild(sourceEl);
|
340
342
|
|
341
|
-
logger.debug('
|
343
|
+
logger.debug('pagination elements (outer) moved');
|
342
344
|
}, {{init_swiper_delay}});
|
343
345
|
{% endif %}
|
344
346
|
// ---------------------------------------------------------------
|
@@ -350,11 +352,11 @@ j1.adapter.swiper = ((j1, window) => {
|
|
350
352
|
{% endif %}{% endfor %} // ENDFOR (all) carousels
|
351
353
|
|
352
354
|
_this.setState('finished');
|
353
|
-
logger.debug('
|
354
|
-
logger.info('
|
355
|
+
logger.debug('state: ' + _this.getState());
|
356
|
+
logger.info('initializing module finished');
|
355
357
|
|
356
358
|
endTimeModule = Date.now();
|
357
|
-
logger.info('
|
359
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
358
360
|
|
359
361
|
clearInterval(dependencies_met_page_ready);
|
360
362
|
} // END pageVisible
|
@@ -500,7 +502,7 @@ j1.adapter.swiper = ((j1, window) => {
|
|
500
502
|
messageHandler: (sender, message) => {
|
501
503
|
var json_message = JSON.stringify(message, undefined, 2);
|
502
504
|
|
503
|
-
logText = '
|
505
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
504
506
|
logger.debug(logText);
|
505
507
|
|
506
508
|
// -----------------------------------------------------------------------
|
@@ -512,7 +514,7 @@ j1.adapter.swiper = ((j1, window) => {
|
|
512
514
|
// place handling of command|action here
|
513
515
|
//
|
514
516
|
|
515
|
-
logger.info(
|
517
|
+
logger.info(message.text);
|
516
518
|
}
|
517
519
|
|
518
520
|
//
|
@@ -86,6 +86,8 @@ regenerate: true
|
|
86
86
|
"use strict";
|
87
87
|
j1.adapter.themeToggler = ((j1, window) => {
|
88
88
|
|
89
|
+
const isDev = (j1.env === "development" || j1.env === "dev") ? true : false;
|
90
|
+
|
89
91
|
{% comment %} Set global variables
|
90
92
|
------------------------------------------------------------------------------ {% endcomment %}
|
91
93
|
var environment = '{{environment}}';
|
@@ -171,8 +173,8 @@ j1.adapter.themeToggler = ((j1, window) => {
|
|
171
173
|
user_state = j1.readCookie(cookie_names.user_state);
|
172
174
|
|
173
175
|
_this.setState('started');
|
174
|
-
logger.debug('
|
175
|
-
logger.info('
|
176
|
+
logger.debug('set module state to: ' + _this.getState());
|
177
|
+
logger.info('initializing module: started');
|
176
178
|
|
177
179
|
// -------------------------------------------------------------------
|
178
180
|
// Event Mgmt SHOULD moved ta navigator core
|
@@ -180,11 +182,11 @@ j1.adapter.themeToggler = ((j1, window) => {
|
|
180
182
|
_this.initThemeTogglerEvent();
|
181
183
|
|
182
184
|
_this.setState('finished');
|
183
|
-
logger.debug('
|
184
|
-
logger.info('
|
185
|
+
logger.debug('state: ' + _this.getState());
|
186
|
+
logger.info('initializing module: finished');
|
185
187
|
|
186
188
|
endTimeModule = Date.now();
|
187
|
-
logger.info('
|
189
|
+
logger.info('module initializing time: ' + (endTimeModule-startTimeModule) + 'ms');
|
188
190
|
|
189
191
|
clearInterval(dependencies_met_page_ready);
|
190
192
|
} // END pageVisible
|
@@ -214,7 +216,7 @@ j1.adapter.themeToggler = ((j1, window) => {
|
|
214
216
|
user_state.theme_css = light_theme_css;
|
215
217
|
user_state.theme_icon = 'mdib-lightbulb-outline';
|
216
218
|
}
|
217
|
-
logger.info('
|
219
|
+
logger.info('switch theme to: ' + user_state.theme_name);
|
218
220
|
|
219
221
|
user_state.writer = 'themeToggler';
|
220
222
|
var cookie_written = j1.writeCookie({
|
@@ -225,7 +227,7 @@ j1.adapter.themeToggler = ((j1, window) => {
|
|
225
227
|
});
|
226
228
|
|
227
229
|
if (!cookie_written) {
|
228
|
-
logger.error('
|
230
|
+
logger.error('failed write to cookie: ' + cookie_names.user_consent);
|
229
231
|
} else {
|
230
232
|
location.reload(true);
|
231
233
|
}
|
@@ -240,7 +242,7 @@ j1.adapter.themeToggler = ((j1, window) => {
|
|
240
242
|
messageHandler: (sender, message) => {
|
241
243
|
var json_message = JSON.stringify(message, undefined, 2);
|
242
244
|
|
243
|
-
logText = '
|
245
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
244
246
|
logger.debug(logText);
|
245
247
|
|
246
248
|
// -----------------------------------------------------------------------
|
@@ -252,7 +254,7 @@ j1.adapter.themeToggler = ((j1, window) => {
|
|
252
254
|
// place handling of command|action here
|
253
255
|
//
|
254
256
|
|
255
|
-
logger.info(
|
257
|
+
logger.info(message.text);
|
256
258
|
}
|
257
259
|
|
258
260
|
//
|