j1-template 2020.0.12 → 2020.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +2 -2
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +2 -2
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +3 -3
- data/_includes/themes/j1/layouts/content_generator_collection.html +0 -1
- data/_includes/themes/j1/layouts/content_generator_page.html +23 -24
- data/_includes/themes/j1/layouts/content_generator_post.html +4 -3
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +30 -37
- data/_includes/themes/j1/modules/navigator/generator.html +0 -1
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -2
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -9
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +3 -13
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +10 -10
- data/_layouts/default.html +60 -59
- data/apps/public/cc/index.adoc +1 -5
- data/assets/data/authclient.html +36 -26
- data/assets/data/banner.html +4 -5
- data/assets/data/carousel.json +1 -2
- data/assets/data/{cookie_consent.html → cookiebar.html} +76 -51
- data/assets/data/footer.html +2 -5
- data/assets/data/galleries.json +1 -2
- data/assets/data/gallery_customizer.html +6 -7
- data/assets/data/jupyter/notebooks/_html/template.full.head.html +10 -10
- data/assets/data/jupyter/notebooks/_html/visualisation.html +11 -11
- data/assets/data/jupyter/notebooks/html/template.html +7 -7
- data/assets/data/jupyter/notebooks/html/visualisation.ok.html +12 -12
- data/assets/data/jupyter/notebooks/visualisation.ipynb +1 -1
- data/assets/data/mdi_icons.json +1 -2
- data/assets/data/menu.html +2 -3
- data/assets/data/mmenu.html +4 -5
- data/assets/data/mmenu_sidebar.html +2 -3
- data/assets/data/mmenu_toc.html +2 -3
- data/assets/data/panel.html +23 -30
- data/assets/data/quicklinks.html +24 -20
- data/assets/data/search.json +88 -84
- data/assets/data/ssm.html +2 -3
- data/assets/data/twa_v1.json +6979 -6982
- data/assets/themes/j1/adapter/js/algolia.js +17 -17
- data/assets/themes/j1/adapter/js/attic.js +25 -34
- data/assets/themes/j1/adapter/js/back2top.js +233 -0
- data/assets/themes/j1/adapter/js/carousel.js +15 -11
- data/assets/themes/j1/adapter/js/clipboard.js +21 -20
- data/assets/themes/j1/adapter/js/cookiebar.js +205 -0
- data/assets/themes/j1/adapter/js/framer.js +27 -19
- data/assets/themes/j1/adapter/js/gallery_customizer.js +220 -248
- data/assets/themes/j1/adapter/js/j1.js +304 -161
- data/assets/themes/j1/adapter/js/jf_gallery.js +21 -20
- data/assets/themes/j1/adapter/js/lightbox.js +9 -8
- data/assets/themes/j1/adapter/js/logger.js +3 -4
- data/assets/themes/j1/adapter/js/mdb.js +27 -30
- data/assets/themes/j1/adapter/js/mmenu.js +49 -66
- data/assets/themes/j1/adapter/js/navigator.js +167 -131
- data/assets/themes/j1/adapter/js/searcher.js +18 -12
- data/assets/themes/j1/adapter/js/ssm.js +84 -101
- data/assets/themes/j1/adapter/js/themer.js +74 -80
- data/assets/themes/j1/adapter/js/toccer.js +49 -18
- data/assets/themes/j1/core/css/animate.css +2382 -0
- data/assets/themes/j1/core/css/animate.min.css +7 -0
- data/assets/themes/j1/core/css/fontawesome.css +4415 -0
- data/assets/themes/j1/core/css/fontawesome.min.css +1 -0
- data/assets/themes/j1/core/css/iconify-icons.css +4106 -0
- data/assets/themes/j1/core/css/iconify-icons.min.css +1 -0
- data/assets/themes/j1/core/css/material-design-icons.css +14532 -0
- data/assets/themes/j1/core/css/material-design-icons.min.css +1 -0
- data/assets/themes/j1/core/css/theme_extensions.css +388 -1584
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/twemoji.css +9485 -0
- data/assets/themes/j1/core/css/twemoji.min.css +1 -0
- data/assets/themes/j1/core/css/uno.css +544 -1658
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +884 -33281
- data/assets/themes/j1/core/css/vendor.min.css +2 -9
- data/assets/themes/j1/core/js/template.js +26 -347
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +1695 -0
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +21 -0
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js.org +1 -0
- data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +12177 -0
- data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +8 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6930 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +1 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +1 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +10278 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +1 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +7 -0
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +1 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +4420 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +1 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/css/datepicker.css +1 -1
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/js/datepicker.js +1 -1
- data/assets/themes/j1/{extensions → modules}/bsDatepicker/less/datepicker.less +0 -0
- data/assets/themes/j1/{extensions → modules}/bsThemeSwitcher/js/switcher.js +20 -10
- data/assets/themes/j1/{extensions → modules}/bsThemeSwitcher/js/switcher.min.js +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/carousel_transitions.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/carousel/images/ajax-loader.gif +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/images/grabbing.png +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/images/owl-logo.png +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/images/owl.video.play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.js +0 -0
- data/assets/themes/j1/{extensions → modules}/carousel/js/carousel.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/clipboard/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/clipboard/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/clipboard/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/clipboard/js/clipboard.js +0 -0
- data/assets/themes/j1/{extensions → modules}/clipboard/js/clipboard.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iconifyAPI/js/iconify.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.absolute.html +2 -5
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.content.html +17 -44
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.hover.html +2 -5
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.nested.html +5 -7
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.textarea.html +1 -1
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/frame.tolerance.html +3 -5
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/index.html +4 -3
- data/assets/themes/j1/{extensions → modules}/iframeResizer/examples/two.html +4 -3
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.map +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/client/iframeResizer.contentWindow.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.js +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.map +0 -0
- data/assets/themes/j1/{extensions → modules}/iframeResizer/js/iframeResizer.min.js +0 -0
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +468 -0
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +6 -0
- data/assets/themes/j1/{extensions → modules}/jqMouseWheel/README.md +0 -0
- data/assets/themes/j1/{extensions → modules}/jqMouseWheel/js/jquery.mousewheel.js +0 -0
- data/assets/themes/j1/{extensions → modules}/jqMouseWheel/js/jquery.mousewheel.min.js +0 -0
- data/assets/themes/j1/modules/jquery/js/jquery.js +10869 -0
- data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/README.md +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justifiedGallery/_versions/v4.0.0 → modules/justifiedGallery/_versions/v3.7.0}/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/less/.csslintrc +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions/justifiedGallery/_versions/v3.7.0 → modules/justifiedGallery/_versions/v4.0.0}/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/justifiedGallery/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-fb-comment-box.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-fb-comment-box.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-transitions.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lg-transitions.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lightgallery.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/core/lightgallery.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/facebook-icon.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/googleplus-icon.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/twitter-icon.svg +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightGallery/css/themes/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/core/lightgallery.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/core/lightgallery.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/j1/j1-video.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/j1/j1-video.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-autoplay.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-autoplay.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-fullscreen.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-fullscreen.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-hash.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-hash.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-pager.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-pager.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-share.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-share.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-thumbnail.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-thumbnail.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-video.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-video.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-zoom.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightGallery/js/modules/lg-zoom.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/css/lightbox.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/css/lightbox.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/css/theme/uno.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/{extensions → modules}/lightbox/images/close.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/images/loading.gif +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/images/next.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/images/prev.png +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/js/lightbox.js +0 -0
- data/assets/themes/j1/{extensions → modules}/lightbox/js/lightbox.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/mmenuLight/css/mmenu.css +1 -1
- data/assets/themes/j1/{extensions → modules}/mmenuLight/css/mmenu.min.css +0 -0
- data/assets/themes/j1/{extensions/mmenuLight/css/theme/uno.min.css → modules/mmenuLight/css/theme/uno.css} +21 -12
- data/assets/themes/j1/{extensions/mmenuLight/css/theme/uno.css → modules/mmenuLight/css/theme/uno.min.css} +2 -2
- data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +563 -0
- data/assets/themes/j1/{extensions/mmenuLight/js/mmenu.js → modules/mmenuLight/js/mmenu.min.js} +1 -1
- data/assets/themes/j1/{extensions → modules}/noUISlider/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/css/nouislider.css +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/css/nouislider.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/js/nouislider.js +0 -0
- data/assets/themes/j1/{extensions → modules}/noUISlider/js/nouislider.min.js +0 -0
- data/assets/themes/j1/modules/polyfills/js/msie.js +140 -0
- data/assets/themes/j1/modules/popper/js/popper.js +2623 -0
- data/assets/themes/j1/modules/popper/js/popper.js.map +1 -0
- data/assets/themes/j1/modules/popper/js/popper.min.js +4 -0
- data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.monokai/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16.solarized/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/base16/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/colorful/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/github/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.dark/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox.light/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/gruvbox/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/igorpro/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/molokai/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/monokai.sublime/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/monokai/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/pastie/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/thankful_eyes/theme.css +0 -0
- data/assets/themes/j1/{extensions → modules}/rouge/css/tulip/theme.css +0 -0
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +89 -0
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +89 -0
- data/assets/themes/j1/modules/tocbot/css/tocbot.css +75 -0
- data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +19 -0
- data/assets/themes/j1/modules/tocbot/js/tocbot.js +19 -0
- data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +19 -0
- data/assets/themes/j1/{extensions → modules}/twemoji/js/LICENSE +0 -0
- data/assets/themes/j1/{extensions → modules}/twemoji/js/picker/LICENSE +0 -0
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +275 -0
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +275 -0
- data/assets/themes/j1/{extensions → modules}/twemoji/js/twemoji.js +0 -1
- data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +25 -0
- data/assets/themes/j1/modules/util/js/js.cookie.js +163 -0
- data/assets/themes/j1/modules/util/js/lite-url.js +203 -0
- data/assets/themes/j1/modules/util/js/lite-url.min.js +7 -0
- data/assets/themes/j1/modules/util/js/log4javascript.js +264 -0
- data/assets/themes/j1/modules/util/js/platform.js +1260 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/city.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/fantasy.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/forest.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/themes/sea.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/css/video-js.min.css +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/js/video.js +0 -0
- data/assets/themes/j1/{extensions → modules}/videojs/js/video.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.js.map +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js +0 -0
- data/assets/themes/j1/{extensions → modules}/vimeo/player/js/player.min.js.map +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +391 -389
- data/lib/starter_web/Gemfile +20 -13
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +8 -8
- data/lib/starter_web/_data/modules/{cookie_consent.yml → back2top.yml} +8 -14
- data/lib/starter_web/_data/modules/cookiebar.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +5 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +8 -9
- data/lib/starter_web/_data/modules/defaults/back2top.yml +146 -0
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +101 -50
- data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +4 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +15 -13
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +6 -7
- data/lib/starter_web/_data/modules/themer.yml +9 -9
- data/lib/starter_web/_data/modules/toccer.yml +1 -1
- data/lib/starter_web/_data/resources.yml +267 -170
- data/lib/starter_web/_data/template_settings.yml +30 -21
- data/lib/starter_web/_data/utilities/util_srv.yml +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/banner.rb +43 -0
- data/lib/starter_web/_plugins/asciidoctor-extensions/panel.rb +43 -0
- data/lib/starter_web/_plugins/{asciidoctor-extensions/lorem-inline.rb → lorem-inline.rb} +0 -0
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-4.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-5.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-6.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-7.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-8.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/close.png +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/loading.gif +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/next.png +0 -0
- data/lib/starter_web/assets/images/modules/lightbox/prev.png +0 -0
- data/lib/starter_web/assets/images/pages/material/apple-touch-icon.png +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-2.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-3.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video1-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-thumb.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +3 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +17 -17
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +36 -40
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +4 -6
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -4
- data/lib/starter_web/index.html +3 -5
- data/lib/starter_web/package.json +10 -10
- data/lib/starter_web/pages/{public → protected}/site_search.adoc +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive.html +24 -18
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +39 -34
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +43 -30
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +29 -29
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -2
- data/lib/starter_web/pages/public/learn/examples/floating_div.adoc +1 -1
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +1 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +16 -18
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_info.asciidoc +5 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_left_warning.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_right_danger.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_central_success.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_full_height_left_info.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_full_height_right_success.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_info.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_left_info.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_right_success.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +15 -12
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +10 -37
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +20 -22
- data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/attributes.asciidoc +0 -0
- data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/000_includes/documents/100_buttons.asciidoc +0 -0
- data/lib/starter_web/pages/public/{previewer/mdb_preview → learn/roundtrip/510_mdb_preview}/mdb_previewer.adoc +0 -0
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_central_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
- data/lib/starter_web/pages/public/learn/whats_up.adoc +1 -2
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +215 -179
- data/lib/starter_web/pages/public/previewer/iframer.adoc +3 -2
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +256 -204
- data/assets/themes/j1/adapter/js/cookie_consent.js +0 -286
- data/assets/themes/j1/core/css/custom.scss +0 -28
- data/assets/themes/j1/core/css/globals.css +0 -14523
- data/assets/themes/j1/core/css/globals.min.css +0 -1
- data/assets/themes/j1/core/css/uno.scss +0 -28
- data/assets/themes/j1/core/css/vendor.scss +0 -28
- data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.js +0 -21
- data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.min.js +0 -21
- data/assets/themes/j1/extensions/twemoji/js/twemoji.min.js +0 -25
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.png +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.png +0 -0
- data/lib/starter_web/pages/public/clear_button.adoc +0 -121
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
@@ -0,0 +1,275 @@
|
|
1
|
+
/*
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/twemoji/twemoji-picker.js
|
4
|
+
# Twemoji-Picker v2017-06-03 implementation for J1 template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://github.com/xLs51/Twemoji-Picker
|
9
|
+
#
|
10
|
+
# Copyright (C) 2020 Juergen Adams
|
11
|
+
# Copyright (C) 2015 xLs51
|
12
|
+
#
|
13
|
+
# J1 Template is licensed under the MIT License.
|
14
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
+
# Twemoji-Picker is licensed under under the MIT License.
|
16
|
+
# For details, https://github.com/xLs51/Twemoji-Picker
|
17
|
+
#
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
*/
|
20
|
+
(function (e, c, g) {
|
21
|
+
var b = 150;
|
22
|
+
var d = {};
|
23
|
+
var a = "/assets/data/twa_v1.json";
|
24
|
+
e.TwemojiPicker = function (j, i) {
|
25
|
+
var h = this;
|
26
|
+
e.when(h._loadDatabase()).done(function (k) {
|
27
|
+
h.$el = e(j);
|
28
|
+
h._init(i)
|
29
|
+
})
|
30
|
+
};
|
31
|
+
e.TwemojiPicker.defaults = {
|
32
|
+
init: null,
|
33
|
+
size: 25,
|
34
|
+
icon: "grinning",
|
35
|
+
iconSize: 25,
|
36
|
+
height: 100,
|
37
|
+
width: null,
|
38
|
+
category: ["smile", "cherry-blossom", "video-game", "oncoming-automobile", "symbols"],
|
39
|
+
categorySize: 20,
|
40
|
+
pickerPosition: null,
|
41
|
+
pickerHeight: 150,
|
42
|
+
pickerWidth: null,
|
43
|
+
placeholder: "",
|
44
|
+
};
|
45
|
+
e.TwemojiPicker.prototype = {
|
46
|
+
_init: function (h) {
|
47
|
+
this.options = e.extend(true, {}, e.TwemojiPicker.defaults, h);
|
48
|
+
this._initPicker();
|
49
|
+
this._initCategory();
|
50
|
+
this._initTwemoji();
|
51
|
+
this._initText();
|
52
|
+
this._initStyle();
|
53
|
+
this._initEvents()
|
54
|
+
},
|
55
|
+
_loadDatabase: function f() {
|
56
|
+
return e.ajax({
|
57
|
+
url: a,
|
58
|
+
success: function (h) {
|
59
|
+
if (typeof h == "string") {
|
60
|
+
d = JSON.parse(h)
|
61
|
+
}
|
62
|
+
if (typeof h == "object") {
|
63
|
+
d = h
|
64
|
+
}
|
65
|
+
}
|
66
|
+
})
|
67
|
+
},
|
68
|
+
_initPicker: function () {
|
69
|
+
var h = this;
|
70
|
+
h.$id = "#" + h.$el["0"].id;
|
71
|
+
h.$pickerHeigth = h.options.height.replace("px", "");
|
72
|
+
h.$pickerHeigth = Number(h.$pickerHeigth);
|
73
|
+
h.$wrapper = h.$el.wrap('<div class="twemoji-wrap"></div>').parent();
|
74
|
+
h.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="' + h.options.placeholder + '"></div>');
|
75
|
+
h.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');
|
76
|
+
h.$wrapper.append('<div class="twemoji-icon-picker"> <span id="open-group" class="mr-2"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-info mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker </button></span><span id="clear-textarea"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-secondary"><i class="mdi mdi-sticker-emoji mdi-lg mr-1"></i> Clear </button></span></div>');
|
77
|
+
h.$wrapper.append('<div class="twemoji-picker"></div>');
|
78
|
+
h.$el.hide();
|
79
|
+
h.$textarea = h.$wrapper.find(".twemoji-textarea");
|
80
|
+
h.$textareaDuplicate = h.$wrapper.find(".twemoji-textarea-duplicate").hide();
|
81
|
+
h.$iconPicker = h.$wrapper.find("#open-group");
|
82
|
+
h.$clearTextarea = h.$wrapper.find("#clear-textarea");
|
83
|
+
h.$picker = h.$wrapper.find(".twemoji-picker").hide()
|
84
|
+
},
|
85
|
+
_initCategory: function () {
|
86
|
+
var h = this;
|
87
|
+
var i = this.options.category;
|
88
|
+
this.categoryName = ["people", "nature", "object", "place", "symbol"];
|
89
|
+
this.$picker.append('<div class="twemoji-picker-category"></div>');
|
90
|
+
this.$pickerCategory = this.$picker.find(".twemoji-picker-category");
|
91
|
+
e.each(this.categoryName, function (j, k) {
|
92
|
+
h.$pickerCategory.append('<span data-category="' + k + '">' + h.imageFromName(i[j]) + "</span>")
|
93
|
+
});
|
94
|
+
this.$pickerCategory.find("span:first").addClass("active")
|
95
|
+
},
|
96
|
+
_initTwemoji: function () {
|
97
|
+
var h = this;
|
98
|
+
e.each(this.categoryName, function (j, k) {
|
99
|
+
h.$picker.append('<div class="twemoji-list ' + k + '"></div>');
|
100
|
+
e.each(d, function (i, l) {
|
101
|
+
if (l.category === k) {
|
102
|
+
h.$wrapper.find(".twemoji-picker ." + k).append('<span><img class="emoji" draggable="false" src="' + l.base64 + '" alt="' + l.value + '" title="' + l.name + '"></span>')
|
103
|
+
}
|
104
|
+
})
|
105
|
+
});
|
106
|
+
this.$twemojiList = this.$picker.find(".twemoji-list");
|
107
|
+
this.$twemojiList.not(":first").hide()
|
108
|
+
},
|
109
|
+
_initText: function () {
|
110
|
+
if (this.options.init) {
|
111
|
+
var j = this.options.init;
|
112
|
+
var i = /:([\w-]+):/g;
|
113
|
+
var h;
|
114
|
+
while (h == i.exec(j)) {
|
115
|
+
j = j.replace(h[0], this.imageFromName(h[1], true))
|
116
|
+
}
|
117
|
+
this.$textarea.html(j);
|
118
|
+
this.copyTextArea(this.$textarea.html())
|
119
|
+
}
|
120
|
+
},
|
121
|
+
_initStyle: function () {
|
122
|
+
this.$wrapper.css({
|
123
|
+
width: this.options.width ? this.options.width : "100%",
|
124
|
+
height: this.options.height ? this.options.height : "",
|
125
|
+
});
|
126
|
+
this.$wrapper.find("img").css({
|
127
|
+
width: this.options.size,
|
128
|
+
height: this.options.size,
|
129
|
+
});
|
130
|
+
this.$iconPicker.css({
|
131
|
+
width: this.options.iconSize,
|
132
|
+
height: this.options.iconSize,
|
133
|
+
});
|
134
|
+
this.$pickerCategory.find("img").css({
|
135
|
+
width: this.options.categorySize,
|
136
|
+
height: this.options.categorySize,
|
137
|
+
});
|
138
|
+
this.$twemojiList.css({
|
139
|
+
width: this.options.pickerWidth ? this.options.pickerWidth : "100%",
|
140
|
+
height: this.options.pickerHeight,
|
141
|
+
});
|
142
|
+
this.$picker.css({
|
143
|
+
width: this.options.pickerWidth ? this.options.pickerWidth : "100%",
|
144
|
+
top: this.options.pickerPosition === "top" ? "-" + this.$picker.outerHeight() + "px" : "",
|
145
|
+
})
|
146
|
+
},
|
147
|
+
_initEvents: function () {
|
148
|
+
var h = this;
|
149
|
+
this.$textarea.on("keyup", function () {
|
150
|
+
h.copyTextArea(e(this).html())
|
151
|
+
});
|
152
|
+
this.$iconPicker.on("click", function () {
|
153
|
+
var i = e(".twemoji-picker").height() + b;
|
154
|
+
e("#picker").height(i);
|
155
|
+
e(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");
|
156
|
+
if (!h.openedPicker) {
|
157
|
+
h.openPicker()
|
158
|
+
} else {
|
159
|
+
h.closePicker();
|
160
|
+
e("#picker").height(h.$pickerHeigth)
|
161
|
+
}
|
162
|
+
});
|
163
|
+
this.$clearTextarea.on("click", function () {
|
164
|
+
h.copyTextArea("");
|
165
|
+
e(h.$id).val("");
|
166
|
+
e(".twemoji-textarea > .emoji-span").remove()
|
167
|
+
});
|
168
|
+
this.$pickerCategory.find("span").on("click", function () {
|
169
|
+
var i = e(this).data("category");
|
170
|
+
h.openCategory(e(this), i)
|
171
|
+
});
|
172
|
+
this.$pickerCategory.find(".close").on("click", function () {
|
173
|
+
if (h.openedPicker) {
|
174
|
+
h.closePicker()
|
175
|
+
}
|
176
|
+
});
|
177
|
+
this.$twemojiList.find("img").on("click", function () {
|
178
|
+
h.copyTwemoji(e(this))
|
179
|
+
})
|
180
|
+
},
|
181
|
+
copyText: function (j) {
|
182
|
+
var i = document.createElement("textarea");
|
183
|
+
i.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px");
|
184
|
+
i.value = j;
|
185
|
+
document.body.appendChild(i);
|
186
|
+
i.select();
|
187
|
+
document.execCommand("copy");
|
188
|
+
var h = document.createElement("div");
|
189
|
+
h.setAttribute("class", "copied");
|
190
|
+
h.appendChild(document.createTextNode("Copied to Clipboard"));
|
191
|
+
document.body.appendChild(h);
|
192
|
+
setTimeout(function () {
|
193
|
+
document.body.removeChild(i);
|
194
|
+
document.body.removeChild(h)
|
195
|
+
}, 1500)
|
196
|
+
},
|
197
|
+
openPicker: function () {
|
198
|
+
this.$picker.show();
|
199
|
+
this.openedPicker = true
|
200
|
+
},
|
201
|
+
closePicker: function () {
|
202
|
+
this.$picker.hide();
|
203
|
+
this.openedPicker = false
|
204
|
+
},
|
205
|
+
openCategory: function (h, i) {
|
206
|
+
this.$pickerCategory.find("span").removeClass("active");
|
207
|
+
h.addClass("active");
|
208
|
+
this.$twemojiList.not(".twemoji-picker ." + i).hide();
|
209
|
+
this.$twemojiList.filter(".twemoji-picker ." + i).show()
|
210
|
+
},
|
211
|
+
copyTwemoji: function (l) {
|
212
|
+
var i = l.attr("alt");
|
213
|
+
var k = l.attr("src");
|
214
|
+
var j = l.attr("title");
|
215
|
+
var h = "emoji:" + j + "[]";
|
216
|
+
this.copyText(h);
|
217
|
+
this.$textarea.focus();
|
218
|
+
this.pasteAtCursor('<span class="emoji-span"><img class="emoji" src="' + k + '" title="' + j + '" alt="' + i + '" width="' + this.options.size + '" height="' + this.options.size + '"> ' + h + "</span> ");
|
219
|
+
this.copyTextArea(this.$textarea.html())
|
220
|
+
},
|
221
|
+
copyTextArea: function (j) {
|
222
|
+
var h = this.$textareaDuplicate.html(j);
|
223
|
+
h.find("img").replaceWith(function () {
|
224
|
+
return this.alt
|
225
|
+
});
|
226
|
+
var i = h.html();
|
227
|
+
this.$el.text(i)
|
228
|
+
},
|
229
|
+
imageFromName: function (i, j) {
|
230
|
+
var h = e.grep(d, function (k) {
|
231
|
+
return k.name == i
|
232
|
+
});
|
233
|
+
if (j) {
|
234
|
+
return '<img class="emoji" src="' + h[0].base64 + '" alt="' + h[0].value + '" width="' + this.options.size + '" height="' + this.options.size + '">'
|
235
|
+
}
|
236
|
+
return '<img class="emoji" draggable="false" src="' + h[0].base64 + '" alt="' + i + '">'
|
237
|
+
},
|
238
|
+
pasteAtCursor: function (m) {
|
239
|
+
var l, h;
|
240
|
+
if (c.getSelection) {
|
241
|
+
l = c.getSelection();
|
242
|
+
if (l.getRangeAt && l.rangeCount) {
|
243
|
+
h = l.getRangeAt(0);
|
244
|
+
h.deleteContents();
|
245
|
+
var i = document.createElement("div");
|
246
|
+
i.innerHTML = m;
|
247
|
+
var n = document.createDocumentFragment(),
|
248
|
+
k, j;
|
249
|
+
while ((k = i.firstChild)) {
|
250
|
+
j = n.appendChild(k)
|
251
|
+
}
|
252
|
+
h.insertNode(n);
|
253
|
+
if (j) {
|
254
|
+
h = h.cloneRange();
|
255
|
+
h.setStartAfter(j);
|
256
|
+
h.collapse(true);
|
257
|
+
l.removeAllRanges();
|
258
|
+
l.addRange(h)
|
259
|
+
}
|
260
|
+
}
|
261
|
+
} else {
|
262
|
+
if (document.selection && document.selection.type != "Control") {
|
263
|
+
document.selection.createRange().pasteHTML(m)
|
264
|
+
}
|
265
|
+
}
|
266
|
+
}
|
267
|
+
};
|
268
|
+
e.fn.twemojiPicker = function (i) {
|
269
|
+
var h = e.data(this, "twemojiPicker");
|
270
|
+
this.each(function () {
|
271
|
+
h ? h._init() : h = e.data(this, "twemojiPicker", new e.TwemojiPicker(this, i))
|
272
|
+
});
|
273
|
+
return h
|
274
|
+
}
|
275
|
+
})(jQuery, window);
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
/*
|
3
|
+
# -----------------------------------------------------------------------------
|
4
|
+
# ~/twemoji/twemoji.js
|
5
|
+
# Twemoji v13.0.0 implementation for J1 template
|
6
|
+
#
|
7
|
+
# Product/Info:
|
8
|
+
# https://jekyll.one
|
9
|
+
# https://github.com/twitter/twemoji
|
10
|
+
#
|
11
|
+
# Copyright (C) 2020 Juergen Adams
|
12
|
+
# Copyright (C) 2018 Twitter, Inc and other contributors
|
13
|
+
#
|
14
|
+
# J1 Template is licensed under the MIT License.
|
15
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
16
|
+
# Twemoji is licensed under under the MIT License.
|
17
|
+
# See: https://github.com/twitter/twemoji/blob/gh-pages/LICENSE
|
18
|
+
#
|
19
|
+
# -----------------------------------------------------------------------------
|
20
|
+
*/
|
21
|
+
|
22
|
+
/*! Copyright Twitter Inc. and other contributors. Licensed under MIT *//*
|
23
|
+
https://github.com/twitter/twemoji/blob/gh-pages/LICENSE
|
24
|
+
*/
|
25
|
+
var twemoji=(function(){var u={base:"https://twemoji.maxcdn.com/v/13.0.0/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:i,toCodePoint:c},onerror:function a(){if(this.parentNode){this.parentNode.replaceChild(r(this.alt,false),this)}},parse:j,replace:s,test:q},b={"&":"&","<":"<",">":">","'":"'",'"':"""},l=/(?:\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d])|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udeeb\udeec\udef4-\udefc\udfe0-\udfeb]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78\udd7a-\uddb4\uddb7\uddba\uddbc-\uddcb\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7a\ude80-\ude86\ude90-\udea8\udeb0-\udeb6\udec0-\udec2\uded0-\uded6]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,v=/\uFE0F/g,g=String.fromCharCode(8205),x=/[&<>'"]/g,d=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,t=String.fromCharCode;return u;function r(z,y){return document.createTextNode(y?z.replace(v,""):z)}function m(y){return y.replace(x,w)}function k(z,y){return"".concat(y.base,y.size,"/",z,y.ext)}function e(B,C){var D=B.childNodes,A=D.length,z,y;while(A--){z=D[A];y=z.nodeType;if(y===3){C.push(z)}else{if(y===1&&!("ownerSVGElement" in z)&&!d.test(z.nodeName.toLowerCase())){e(z,C)}}}return C}function n(y){return c(y.indexOf(g)<0?y.replace(v,""):y)}function p(B,O){var J=e(B,[]),A=J.length,F,C,M,K,z,N,G,E,I,D,H,L,y;while(A--){M=false;K=document.createDocumentFragment();z=J[A];N=z.nodeValue;E=0;while((G=l.exec(N))){I=G.index;if(I!==E){K.appendChild(r(N.slice(E,I),true))}H=G[0];L=n(H);E=I+H.length;y=O.callback(L,O);if(L&&y){D=new Image();D.onerror=O.onerror;D.setAttribute("draggable","false");F=O.attributes(H,L);for(C in F){if(F.hasOwnProperty(C)&&C.indexOf("on")!==0&&!D.hasAttribute(C)){D.setAttribute(C,F[C])}}D.className=O.className;D.alt=H;D.src=y;M=true;K.appendChild(D)}if(!D){K.appendChild(r(H,false))}D=null}if(M){if(E<N.length){K.appendChild(r(N.slice(E),true))}z.parentNode.replaceChild(K,z)}}return B}function h(z,y){return s(z,function(A){var B=A,C=n(A),F=y.callback(C,y),E,D;if(C&&F){B="<img ".concat('class="',y.className,'" ','draggable="false" ','alt="',A,'"',' src="',F,'"');E=y.attributes(A,C);for(D in E){if(E.hasOwnProperty(D)&&D.indexOf("on")!==0&&B.indexOf(" "+D+"=")===-1){B=B.concat(" ",D,'="',m(E[D]),'"')}}B=B.concat("/>")}return B})}function w(y){return b[y]}function f(){return null}function o(y){return typeof y==="number"?y+"x"+y:y}function i(z){var y=typeof z==="string"?parseInt(z,16):z;if(y<65536){return t(y)}y-=65536;return t(55296+(y>>10),56320+(y&1023))}function j(z,y){if(!y||typeof y==="function"){y={callback:y}}return(typeof z==="string"?h:p)(z,{callback:y.callback||k,attributes:typeof y.attributes==="function"?y.attributes:f,base:typeof y.base==="string"?y.base:u.base,ext:y.ext||u.ext,size:y.folder||o(y.size||u.size),className:y.className||u.className,onerror:y.onerror||u.onerror})}function s(y,z){return String(y).replace(l,z)}function q(z){l.lastIndex=0;var y=l.test(z);l.lastIndex=0;return y}function c(C,y){var A=[],D=0,B=0,z=0;while(z<C.length){D=C.charCodeAt(z++);if(B){A.push((65536+((B-55296)<<10)+(D-56320)).toString(16));B=0}else{if(55296<=D&&D<=56319){B=D}else{A.push(D.toString(16))}}}return A.join(y||"-")}}());
|
@@ -0,0 +1,163 @@
|
|
1
|
+
/*!
|
2
|
+
* JavaScript Cookie v2.2.1
|
3
|
+
* https://github.com/js-cookie/js-cookie
|
4
|
+
*
|
5
|
+
* Copyright 2006 - 2019 Klaus Hartl & Fagner Brack
|
6
|
+
* Released under the MIT license
|
7
|
+
*/
|
8
|
+
;(function (factory) {
|
9
|
+
var registeredInModuleLoader;
|
10
|
+
if (typeof define === 'function' && define.amd) {
|
11
|
+
define(factory);
|
12
|
+
registeredInModuleLoader = true;
|
13
|
+
}
|
14
|
+
if (typeof exports === 'object') {
|
15
|
+
module.exports = factory();
|
16
|
+
registeredInModuleLoader = true;
|
17
|
+
}
|
18
|
+
if (!registeredInModuleLoader) {
|
19
|
+
var OldCookies = window.Cookies;
|
20
|
+
var api = window.Cookies = factory();
|
21
|
+
api.noConflict = function () {
|
22
|
+
window.Cookies = OldCookies;
|
23
|
+
return api;
|
24
|
+
};
|
25
|
+
}
|
26
|
+
}(function () {
|
27
|
+
function extend () {
|
28
|
+
var i = 0;
|
29
|
+
var result = {};
|
30
|
+
for (; i < arguments.length; i++) {
|
31
|
+
var attributes = arguments[ i ];
|
32
|
+
for (var key in attributes) {
|
33
|
+
result[key] = attributes[key];
|
34
|
+
}
|
35
|
+
}
|
36
|
+
return result;
|
37
|
+
}
|
38
|
+
|
39
|
+
function decode (s) {
|
40
|
+
return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
|
41
|
+
}
|
42
|
+
|
43
|
+
function init (converter) {
|
44
|
+
function api() {}
|
45
|
+
|
46
|
+
function set (key, value, attributes) {
|
47
|
+
if (typeof document === 'undefined') {
|
48
|
+
return;
|
49
|
+
}
|
50
|
+
|
51
|
+
attributes = extend({
|
52
|
+
path: '/'
|
53
|
+
}, api.defaults, attributes);
|
54
|
+
|
55
|
+
if (typeof attributes.expires === 'number') {
|
56
|
+
attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);
|
57
|
+
}
|
58
|
+
|
59
|
+
// We're using "expires" because "max-age" is not supported by IE
|
60
|
+
attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
|
61
|
+
|
62
|
+
try {
|
63
|
+
var result = JSON.stringify(value);
|
64
|
+
if (/^[\{\[]/.test(result)) {
|
65
|
+
value = result;
|
66
|
+
}
|
67
|
+
} catch (e) {}
|
68
|
+
|
69
|
+
value = converter.write ?
|
70
|
+
converter.write(value, key) :
|
71
|
+
encodeURIComponent(String(value))
|
72
|
+
.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
|
73
|
+
|
74
|
+
key = encodeURIComponent(String(key))
|
75
|
+
.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)
|
76
|
+
.replace(/[\(\)]/g, escape);
|
77
|
+
|
78
|
+
var stringifiedAttributes = '';
|
79
|
+
for (var attributeName in attributes) {
|
80
|
+
if (!attributes[attributeName]) {
|
81
|
+
continue;
|
82
|
+
}
|
83
|
+
stringifiedAttributes += '; ' + attributeName;
|
84
|
+
if (attributes[attributeName] === true) {
|
85
|
+
continue;
|
86
|
+
}
|
87
|
+
|
88
|
+
// Considers RFC 6265 section 5.2:
|
89
|
+
// ...
|
90
|
+
// 3. If the remaining unparsed-attributes contains a %x3B (";")
|
91
|
+
// character:
|
92
|
+
// Consume the characters of the unparsed-attributes up to,
|
93
|
+
// not including, the first %x3B (";") character.
|
94
|
+
// ...
|
95
|
+
stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
|
96
|
+
}
|
97
|
+
|
98
|
+
return (document.cookie = key + '=' + value + stringifiedAttributes);
|
99
|
+
}
|
100
|
+
|
101
|
+
function get (key, json) {
|
102
|
+
if (typeof document === 'undefined') {
|
103
|
+
return;
|
104
|
+
}
|
105
|
+
|
106
|
+
var jar = {};
|
107
|
+
// To prevent the for loop in the first place assign an empty array
|
108
|
+
// in case there are no cookies at all.
|
109
|
+
var cookies = document.cookie ? document.cookie.split('; ') : [];
|
110
|
+
var i = 0;
|
111
|
+
|
112
|
+
for (; i < cookies.length; i++) {
|
113
|
+
var parts = cookies[i].split('=');
|
114
|
+
var cookie = parts.slice(1).join('=');
|
115
|
+
|
116
|
+
if (!json && cookie.charAt(0) === '"') {
|
117
|
+
cookie = cookie.slice(1, -1);
|
118
|
+
}
|
119
|
+
|
120
|
+
try {
|
121
|
+
var name = decode(parts[0]);
|
122
|
+
cookie = (converter.read || converter)(cookie, name) ||
|
123
|
+
decode(cookie);
|
124
|
+
|
125
|
+
if (json) {
|
126
|
+
try {
|
127
|
+
cookie = JSON.parse(cookie);
|
128
|
+
} catch (e) {}
|
129
|
+
}
|
130
|
+
|
131
|
+
jar[name] = cookie;
|
132
|
+
|
133
|
+
if (key === name) {
|
134
|
+
break;
|
135
|
+
}
|
136
|
+
} catch (e) {}
|
137
|
+
}
|
138
|
+
|
139
|
+
return key ? jar[key] : jar;
|
140
|
+
}
|
141
|
+
|
142
|
+
api.set = set;
|
143
|
+
api.get = function (key) {
|
144
|
+
return get(key, false /* read as raw */);
|
145
|
+
};
|
146
|
+
api.getJSON = function (key) {
|
147
|
+
return get(key, true /* read as json */);
|
148
|
+
};
|
149
|
+
api.remove = function (key, attributes) {
|
150
|
+
set(key, '', extend(attributes, {
|
151
|
+
expires: -1
|
152
|
+
}));
|
153
|
+
};
|
154
|
+
|
155
|
+
api.defaults = {};
|
156
|
+
|
157
|
+
api.withConverter = init;
|
158
|
+
|
159
|
+
return api;
|
160
|
+
}
|
161
|
+
|
162
|
+
return init(function () {});
|
163
|
+
}));
|