j1-template 2023.3.1 → 2023.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +11 -9
  3. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  4. data/_includes/themes/j1/modules/navigator/generator.html +3 -3
  5. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +5 -5
  6. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +3 -3
  7. data/_includes/themes/j1/procedures/global/select_icon_size.proc +9 -2
  8. data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -1
  9. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -8
  10. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  11. data/_layouts/category.html +2 -2
  12. data/assets/data/authclient.html +10 -12
  13. data/assets/data/banner.html +3 -3
  14. data/assets/data/fab.html +11 -8
  15. data/assets/data/footer.html +2 -3
  16. data/assets/data/gallery_customizer.html +2 -2
  17. data/assets/data/masonry.html +4 -4
  18. data/assets/data/masterslider.html +1 -1
  19. data/assets/data/menu.html +9 -6
  20. data/assets/data/panel.html +11 -11
  21. data/assets/data/quicklinks.html +3 -1
  22. data/assets/data/rtext_resizer.html +1 -1
  23. data/assets/data/slick.html +2 -2
  24. data/assets/data/translator.html +1 -1
  25. data/assets/themes/j1/adapter/js/carousel.js +2 -2
  26. data/assets/themes/j1/adapter/js/j1.js +99 -25
  27. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -1
  28. data/assets/themes/j1/adapter/js/lazyLoader.js +221 -0
  29. data/assets/themes/j1/adapter/js/lunr.js +3 -3
  30. data/assets/themes/j1/adapter/js/navigator.js +3 -5
  31. data/assets/themes/j1/adapter/js/themeToggler.js +3 -3
  32. data/assets/themes/j1/adapter/js/themer.js +8 -5
  33. data/assets/themes/j1/core/css/icon-fonts/mdi.css +3 -7
  34. data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -1
  35. data/assets/themes/j1/core/css/icon-fonts/mdib.css +8391 -0
  36. data/assets/themes/j1/core/css/icon-fonts/mdib.min.css +1 -0
  37. data/assets/themes/j1/core/js/template.js +98 -31
  38. data/assets/themes/j1/core/js/template.min.js +2 -2
  39. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  40. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.json +2690 -0
  41. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-base.min.json +1 -0
  42. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +2 -2
  43. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -1
  44. data/assets/themes/j1/modules/materialize/scss/components/_global.scss +1 -1
  45. data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +2 -2
  46. data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +1 -1
  47. data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +2 -2
  48. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +1 -1
  49. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  50. data/lib/j1/version.rb +1 -1
  51. data/lib/starter_web/Gemfile +2 -2
  52. data/lib/starter_web/README.md +5 -5
  53. data/lib/starter_web/_config.yml +1 -1
  54. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  55. data/lib/starter_web/_data/blocks/footer.yml +1 -1
  56. data/lib/starter_web/_data/blocks/panel.yml +47 -47
  57. data/lib/starter_web/_data/j1_config.yml +1 -1
  58. data/lib/starter_web/_data/layouts/default.yml +1 -1
  59. data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
  60. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -1
  61. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +20 -20
  62. data/lib/starter_web/_data/modules/defaults/fab.yml +3 -3
  63. data/lib/starter_web/_data/modules/defaults/iconPicker.yml +1 -1
  64. data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +33 -0
  65. data/lib/starter_web/_data/modules/defaults/lunr.yml +2 -2
  66. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  67. data/lib/starter_web/_data/modules/defaults/navigator.yml +18 -18
  68. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -2
  69. data/lib/starter_web/_data/modules/fab.yml +7 -7
  70. data/lib/starter_web/_data/modules/iconPicker.yml +3 -3
  71. data/lib/starter_web/_data/modules/lazyLoader.yml +93 -0
  72. data/lib/starter_web/_data/modules/navigator_menu.yml +24 -73
  73. data/lib/starter_web/_data/modules/nbinteract.yml +445 -490
  74. data/lib/starter_web/_data/resources.yml +67 -69
  75. data/lib/starter_web/_data/templates/feed.xml +1 -1
  76. data/lib/starter_web/_includes/custom/templates/collection_panel.html +2 -2
  77. data/lib/starter_web/_plugins/asciidoctor/fab-icon-inline.rb +1 -1
  78. data/lib/starter_web/_plugins/asciidoctor/fas-icon-inline.rb +1 -1
  79. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +1 -1
  80. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  81. data/lib/starter_web/package.json +1 -1
  82. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +152 -12
  83. data/lib/starter_web/pages/public/tools/cheatsheet/gem.adoc +4 -4
  84. data/lib/starter_web/pages/public/tools/cheatsheet/git.adoc +13 -13
  85. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  86. data/lib/starter_web/utilsrv/package.json +1 -1
  87. metadata +9 -39
  88. data/assets/data/nbinteract.html +0 -129
  89. data/assets/themes/j1/adapter/js/nbinteract.js +0 -1485
  90. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +0 -7312
  91. data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +0 -1
  92. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +0 -1315
  93. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +0 -7
  94. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +0 -886
  95. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +0 -5
  96. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +0 -446
  97. data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +0 -5
  98. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +0 -37
  99. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +0 -17
  100. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +0 -42
  101. data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +0 -17
  102. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +0 -19057
  103. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +0 -6
  104. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +0 -10872
  105. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +0 -2
  106. data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +0 -1
  107. data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +0 -2145
  108. data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +0 -5
  109. data/assets/themes/j1/modules/nbinteract-core/LICENSE.txt +0 -60
  110. data/assets/themes/j1/modules/nbinteract-core/README.md +0 -226
  111. data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.css +0 -191
  112. data/assets/themes/j1/modules/nbinteract-core/css/nbinteract.min.css +0 -19
  113. data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.css +0 -250
  114. data/assets/themes/j1/modules/nbinteract-core/css/theme/uno/nbinteract.min.css +0 -15
  115. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/latest.js +0 -19
  116. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml-full.js +0 -34
  117. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-chtml.js +0 -1
  118. data/assets/themes/j1/modules/nbinteract-core/js/mathjax/tex-mml-chtml.js +0 -1
  119. data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/README +0 -1
  120. data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js +0 -94
  121. data/assets/themes/j1/modules/nbinteract-core/js/nbinteract/j1-nbinteract-core.js.map +0 -1
  122. data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.js +0 -2068
  123. data/assets/themes/j1/modules/nbinteract-core/js/requireJS/require.min.js +0 -36
  124. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +0 -281
@@ -1,36 +0,0 @@
1
- /*
2
- RequireJS 2.1.10 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
3
- Available via the MIT or new BSD license.
4
- see: http://github.com/jrburke/requirejs for details
5
- */
6
- var requirejs,require,define;
7
- (function(ca){function G(b){return"[object Function]"===N.call(b)}function H(b){return"[object Array]"===N.call(b)}function v(b,c){if(b){var d;for(d=0;d<b.length&&(!b[d]||!c(b[d],d,b));d+=1);}}function U(b,c){if(b){var d;for(d=b.length-1;-1<d&&(!b[d]||!c(b[d],d,b));d-=1);}}function s(b,c){return ga.call(b,c)}function j(b,c){return s(b,c)&&b[c]}function B(b,c){for(var d in b)if(s(b,d)&&c(b[d],d))break}function V(b,c,d,g){c&&B(c,function(c,h){if(d||!s(b,h))g&&"object"===typeof c&&c&&!H(c)&&!G(c)&&!(c instanceof
8
- RegExp)?(b[h]||(b[h]={}),V(b[h],c,d,g)):b[h]=c});return b}function t(b,c){return function(){return c.apply(b,arguments)}}function da(b){throw b;}function ea(b){if(!b)return b;var c=ca;v(b.split("."),function(b){c=c[b]});return c}function C(b,c,d,g){c=Error(c+"\nhttp://requirejs.org/docs/errors.html#"+b);c.requireType=b;c.requireModules=g;d&&(c.originalError=d);return c}function ha(b){function c(a,e,b){var f,n,c,d,g,h,i,I=e&&e.split("/");n=I;var m=l.map,k=m&&m["*"];if(a&&"."===a.charAt(0))if(e){n=
9
- I.slice(0,I.length-1);a=a.split("/");e=a.length-1;l.nodeIdCompat&&R.test(a[e])&&(a[e]=a[e].replace(R,""));n=a=n.concat(a);d=n.length;for(e=0;e<d;e++)if(c=n[e],"."===c)n.splice(e,1),e-=1;else if(".."===c)if(1===e&&(".."===n[2]||".."===n[0]))break;else 0<e&&(n.splice(e-1,2),e-=2);a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if(b&&m&&(I||k)){n=a.split("/");e=n.length;a:for(;0<e;e-=1){d=n.slice(0,e).join("/");if(I)for(c=I.length;0<c;c-=1)if(b=j(m,I.slice(0,c).join("/")))if(b=j(b,d)){f=b;
10
- g=e;break a}!h&&(k&&j(k,d))&&(h=j(k,d),i=e)}!f&&h&&(f=h,g=i);f&&(n.splice(0,g,f),a=n.join("/"))}return(f=j(l.pkgs,a))?f:a}function d(a){z&&v(document.getElementsByTagName("script"),function(e){if(e.getAttribute("data-requiremodule")===a&&e.getAttribute("data-requirecontext")===i.contextName)return e.parentNode.removeChild(e),!0})}function g(a){var e=j(l.paths,a);if(e&&H(e)&&1<e.length)return e.shift(),i.require.undef(a),i.require([a]),!0}function u(a){var e,b=a?a.indexOf("!"):-1;-1<b&&(e=a.substring(0,
11
- b),a=a.substring(b+1,a.length));return[e,a]}function m(a,e,b,f){var n,d,g=null,h=e?e.name:null,l=a,m=!0,k="";a||(m=!1,a="_@r"+(N+=1));a=u(a);g=a[0];a=a[1];g&&(g=c(g,h,f),d=j(p,g));a&&(g?k=d&&d.normalize?d.normalize(a,function(a){return c(a,h,f)}):c(a,h,f):(k=c(a,h,f),a=u(k),g=a[0],k=a[1],b=!0,n=i.nameToUrl(k)));b=g&&!d&&!b?"_unnormalized"+(Q+=1):"";return{prefix:g,name:k,parentMap:e,unnormalized:!!b,url:n,originalName:l,isDefine:m,id:(g?g+"!"+k:k)+b}}function q(a){var e=a.id,b=j(k,e);b||(b=k[e]=new i.Module(a));
12
- return b}function r(a,e,b){var f=a.id,n=j(k,f);if(s(p,f)&&(!n||n.defineEmitComplete))"defined"===e&&b(p[f]);else if(n=q(a),n.error&&"error"===e)b(n.error);else n.on(e,b)}function w(a,e){var b=a.requireModules,f=!1;if(e)e(a);else if(v(b,function(e){if(e=j(k,e))e.error=a,e.events.error&&(f=!0,e.emit("error",a))}),!f)h.onError(a)}function x(){S.length&&(ia.apply(A,[A.length,0].concat(S)),S=[])}function y(a){delete k[a];delete W[a]}function F(a,e,b){var f=a.map.id;a.error?a.emit("error",a.error):(e[f]=
13
- !0,v(a.depMaps,function(f,c){var d=f.id,g=j(k,d);g&&(!a.depMatched[c]&&!b[d])&&(j(e,d)?(a.defineDep(c,p[d]),a.check()):F(g,e,b))}),b[f]=!0)}function D(){var a,e,b=(a=1E3*l.waitSeconds)&&i.startTime+a<(new Date).getTime(),f=[],c=[],h=!1,k=!0;if(!X){X=!0;B(W,function(a){var i=a.map,m=i.id;if(a.enabled&&(i.isDefine||c.push(a),!a.error))if(!a.inited&&b)g(m)?h=e=!0:(f.push(m),d(m));else if(!a.inited&&(a.fetched&&i.isDefine)&&(h=!0,!i.prefix))return k=!1});if(b&&f.length)return a=C("timeout","Load timeout for modules: "+
14
- f,null,f),a.contextName=i.contextName,w(a);k&&v(c,function(a){F(a,{},{})});if((!b||e)&&h)if((z||fa)&&!Y)Y=setTimeout(function(){Y=0;D()},50);X=!1}}function E(a){s(p,a[0])||q(m(a[0],null,!0)).init(a[1],a[2])}function L(a){var a=a.currentTarget||a.srcElement,e=i.onScriptLoad;a.detachEvent&&!Z?a.detachEvent("onreadystatechange",e):a.removeEventListener("load",e,!1);e=i.onScriptError;(!a.detachEvent||Z)&&a.removeEventListener("error",e,!1);return{node:a,id:a&&a.getAttribute("data-requiremodule")}}function M(){var a;
15
- for(x();A.length;){a=A.shift();if(null===a[0])return w(C("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));E(a)}}var X,$,i,K,Y,l={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},k={},W={},aa={},A=[],p={},T={},ba={},N=1,Q=1;K={require:function(a){return a.require?a.require:a.require=i.makeRequire(a.map)},exports:function(a){a.usingExports=!0;if(a.map.isDefine)return a.exports?a.exports:a.exports=p[a.map.id]={}},module:function(a){return a.module?a.module:
16
- a.module={id:a.map.id,uri:a.map.url,config:function(){return j(l.config,a.map.id)||{}},exports:K.exports(a)}}};$=function(a){this.events=j(aa,a.id)||{};this.map=a;this.shim=j(l.shim,a.id);this.depExports=[];this.depMaps=[];this.depMatched=[];this.pluginMaps={};this.depCount=0};$.prototype={init:function(a,e,b,f){f=f||{};if(!this.inited){this.factory=e;if(b)this.on("error",b);else this.events.error&&(b=t(this,function(a){this.emit("error",a)}));this.depMaps=a&&a.slice(0);this.errback=b;this.inited=
17
- !0;this.ignore=f.ignore;f.enabled||this.enabled?this.enable():this.check()}},defineDep:function(a,e){this.depMatched[a]||(this.depMatched[a]=!0,this.depCount-=1,this.depExports[a]=e)},fetch:function(){if(!this.fetched){this.fetched=!0;i.startTime=(new Date).getTime();var a=this.map;if(this.shim)i.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],t(this,function(){return a.prefix?this.callPlugin():this.load()}));else return a.prefix?this.callPlugin():this.load()}},load:function(){var a=
18
- this.map.url;T[a]||(T[a]=!0,i.load(this.map.id,a))},check:function(){if(this.enabled&&!this.enabling){var a,e,b=this.map.id;e=this.depExports;var f=this.exports,c=this.factory;if(this.inited)if(this.error)this.emit("error",this.error);else{if(!this.defining){this.defining=!0;if(1>this.depCount&&!this.defined){if(G(c)){if(this.events.error&&this.map.isDefine||h.onError!==da)try{f=i.execCb(b,c,e,f)}catch(d){a=d}else f=i.execCb(b,c,e,f);this.map.isDefine&&void 0===f&&((e=this.module)?f=e.exports:this.usingExports&&
19
- (f=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",w(this.error=a)}else f=c;this.exports=f;if(this.map.isDefine&&!this.ignore&&(p[b]=f,h.onResourceLoad))h.onResourceLoad(i,this.map,this.depMaps);y(b);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var a=
20
- this.map,b=a.id,d=m(a.prefix);this.depMaps.push(d);r(d,"defined",t(this,function(f){var d,g;g=j(ba,this.map.id);var J=this.map.name,u=this.map.parentMap?this.map.parentMap.name:null,p=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(f.normalize&&(J=f.normalize(J,function(a){return c(a,u,!0)})||""),f=m(a.prefix+"!"+J,this.map.parentMap),r(f,"defined",t(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),g=j(k,f.id)){this.depMaps.push(f);
21
- if(this.events.error)g.on("error",t(this,function(a){this.emit("error",a)}));g.enable()}}else g?(this.map.url=i.nameToUrl(g),this.load()):(d=t(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),d.error=t(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];B(k,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&y(a.map.id)});w(a)}),d.fromText=t(this,function(f,c){var g=a.name,J=m(g),k=O;c&&(f=c);k&&(O=!1);q(J);s(l.config,b)&&(l.config[g]=l.config[b]);try{h.exec(f)}catch(j){return w(C("fromtexteval",
22
- "fromText eval for "+b+" failed: "+j,j,[b]))}k&&(O=!0);this.depMaps.push(J);i.completeLoad(g);p([g],d)}),f.load(a.name,p,d,l))}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){W[this.map.id]=this;this.enabling=this.enabled=!0;v(this.depMaps,t(this,function(a,b){var c,f;if("string"===typeof a){a=m(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=j(K,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;r(a,"defined",t(this,function(a){this.defineDep(b,
23
- a);this.check()}));this.errback&&r(a,"error",t(this,this.errback))}c=a.id;f=k[c];!s(K,c)&&(f&&!f.enabled)&&i.enable(a,this)}));B(this.pluginMaps,t(this,function(a){var b=j(k,a.id);b&&!b.enabled&&i.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){v(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};i={config:l,contextName:b,registry:k,defined:p,urlFetched:T,defQueue:A,Module:$,makeModuleMap:m,
24
- nextTick:h.nextTick,onError:w,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=l.shim,c={paths:!0,bundles:!0,config:!0,map:!0};B(a,function(a,b){c[b]?(l[b]||(l[b]={}),V(l[b],a,!0,!0)):l[b]=a});a.bundles&&B(a.bundles,function(a,b){v(a,function(a){a!==b&&(ba[a]=b)})});a.shim&&(B(a.shim,function(a,c){H(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=i.makeShimExports(a);b[c]=a}),l.shim=b);a.packages&&v(a.packages,function(a){var b,
25
- a="string"===typeof a?{name:a}:a;b=a.name;a.location&&(l.paths[b]=a.location);l.pkgs[b]=a.name+"/"+(a.main||"main").replace(ja,"").replace(R,"")});B(k,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=m(b))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ca,arguments));return b||a.exports&&ea(a.exports)}},makeRequire:function(a,e){function g(f,c,d){var j,l;e.enableBuildCallback&&(c&&G(c))&&(c.__requireJsBuild=
26
- !0);if("string"===typeof f){if(G(c))return w(C("requireargs","Invalid require call"),d);if(a&&s(K,f))return K[f](k[a.id]);if(h.get)return h.get(i,f,a,g);j=m(f,a,!1,!0);j=j.id;return!s(p,j)?w(C("notloaded",'Module name "'+j+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):p[j]}M();i.nextTick(function(){M();l=q(m(null,a));l.skipMap=e.skipMap;l.init(f,c,d,{enabled:!0});D()});return g}e=e||{};V(g,{isBrowser:z,toUrl:function(b){var e,d=b.lastIndexOf("."),g=b.split("/")[0];if(-1!==
27
- d&&(!("."===g||".."===g)||1<d))e=b.substring(d,b.length),b=b.substring(0,d);return i.nameToUrl(c(b,a&&a.id,!0),e,!0)},defined:function(b){return s(p,m(b,a,!1,!0).id)},specified:function(b){b=m(b,a,!1,!0).id;return s(p,b)||s(k,b)}});a||(g.undef=function(b){x();var c=m(b,a,!0),e=j(k,b);d(b);delete p[b];delete T[c.url];delete aa[b];U(A,function(a,c){a[0]===b&&A.splice(c,1)});e&&(e.events.defined&&(aa[b]=e.events),y(b))});return g},enable:function(a){j(k,a.id)&&q(a).enable()},completeLoad:function(a){var b,
28
- c,f=j(l.shim,a)||{},d=f.exports;for(x();A.length;){c=A.shift();if(null===c[0]){c[0]=a;if(b)break;b=!0}else c[0]===a&&(b=!0);E(c)}c=j(k,a);if(!b&&!s(p,a)&&c&&!c.inited){if(l.enforceDefine&&(!d||!ea(d)))return g(a)?void 0:w(C("nodefine","No define call for "+a,null,[a]));E([a,f.deps||[],f.exportsFn])}D()},nameToUrl:function(a,b,c){var f,d,g;(f=j(l.pkgs,a))&&(a=f);if(f=j(ba,a))return i.nameToUrl(f,b,c);if(h.jsExtRegExp.test(a))f=a+(b||"");else{f=l.paths;a=a.split("/");for(d=a.length;0<d;d-=1)if(g=a.slice(0,
29
- d).join("/"),g=j(f,g)){H(g)&&(g=g[0]);a.splice(0,d,g);break}f=a.join("/");f+=b||(/^data\:|\?/.test(f)||c?"":".js");f=("/"===f.charAt(0)||f.match(/^[\w\+\.\-]+:/)?"":l.baseUrl)+f}return l.urlArgs?f+((-1===f.indexOf("?")?"?":"&")+l.urlArgs):f},load:function(a,b){h.load(i,a,b)},execCb:function(a,b,c,d){return b.apply(d,c)},onScriptLoad:function(a){if("load"===a.type||ka.test((a.currentTarget||a.srcElement).readyState))P=null,a=L(a),i.completeLoad(a.id)},onScriptError:function(a){var b=L(a);if(!g(b.id))return w(C("scripterror",
30
- "Script error for: "+b.id,a,[b.id]))}};i.require=i.makeRequire();return i}var h,x,y,D,L,E,P,M,q,Q,la=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,ma=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,R=/\.js$/,ja=/^\.\//;x=Object.prototype;var N=x.toString,ga=x.hasOwnProperty,ia=Array.prototype.splice,z=!!("undefined"!==typeof window&&"undefined"!==typeof navigator&&window.document),fa=!z&&"undefined"!==typeof importScripts,ka=z&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,
31
- Z="undefined"!==typeof opera&&"[object Opera]"===opera.toString(),F={},r={},S=[],O=!1;if("undefined"===typeof define){if("undefined"!==typeof requirejs){if(G(requirejs))return;r=requirejs;requirejs=void 0}"undefined"!==typeof require&&!G(require)&&(r=require,require=void 0);h=requirejs=function(b,c,d,g){var u,m="_";!H(b)&&"string"!==typeof b&&(u=b,H(c)?(b=c,c=d,d=g):b=[]);u&&u.context&&(m=u.context);(g=j(F,m))||(g=F[m]=h.s.newContext(m));u&&g.configure(u);return g.require(b,c,d)};h.config=function(b){return h(b)};
32
- h.nextTick="undefined"!==typeof setTimeout?function(b){setTimeout(b,4)}:function(b){b()};require||(require=h);h.version="2.1.10";h.jsExtRegExp=/^\/|:|\?|\.js$/;h.isBrowser=z;x=h.s={contexts:F,newContext:ha};h({});v(["toUrl","undef","defined","specified"],function(b){h[b]=function(){var c=F._;return c.require[b].apply(c,arguments)}});if(z&&(y=x.head=document.getElementsByTagName("head")[0],D=document.getElementsByTagName("base")[0]))y=x.head=D.parentNode;h.onError=da;h.createNode=function(b){var c=
33
- b.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");c.type=b.scriptType||"text/javascript";c.charset="utf-8";c.async=!0;return c};h.load=function(b,c,d){var g=b&&b.config||{};if(z)return g=h.createNode(g,c,d),g.setAttribute("data-requirecontext",b.contextName),g.setAttribute("data-requiremodule",c),g.attachEvent&&!(g.attachEvent.toString&&0>g.attachEvent.toString().indexOf("[native code"))&&!Z?(O=!0,g.attachEvent("onreadystatechange",b.onScriptLoad)):
34
- (g.addEventListener("load",b.onScriptLoad,!1),g.addEventListener("error",b.onScriptError,!1)),g.src=d,M=g,D?y.insertBefore(g,D):y.appendChild(g),M=null,g;if(fa)try{importScripts(d),b.completeLoad(c)}catch(j){b.onError(C("importscripts","importScripts failed for "+c+" at "+d,j,[c]))}};z&&!r.skipDataMain&&U(document.getElementsByTagName("script"),function(b){y||(y=b.parentNode);if(L=b.getAttribute("data-main"))return q=L,r.baseUrl||(E=q.split("/"),q=E.pop(),Q=E.length?E.join("/")+"/":"./",r.baseUrl=
35
- Q),q=q.replace(R,""),h.jsExtRegExp.test(q)&&(q=L),r.deps=r.deps?r.deps.concat(q):[q],!0});define=function(b,c,d){var g,h;"string"!==typeof b&&(d=c,c=b,b=null);H(c)||(d=c,c=null);!c&&G(d)&&(c=[],d.length&&(d.toString().replace(la,"").replace(ma,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(O){if(!(g=M))P&&"interactive"===P.readyState||U(document.getElementsByTagName("script"),function(b){if("interactive"===b.readyState)return P=b}),g=P;g&&(b||
36
- (b=g.getAttribute("data-requiremodule")),h=F[g.getAttribute("data-requirecontext")])}(h?h.defQueue:S).push([b,c,d])};define.amd={jQuery:!0};h.exec=function(b){return eval(b)};h(r)}})(this);
@@ -1,281 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/nbinteract.yml
3
- # Default configuration for J1 NBI
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2023 Juergen Adams
9
- #
10
- # J1 Theme is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
- # ------------------------------------------------------------------------------
13
- # NOTE:
14
- #
15
- # ------------------------------------------------------------------------------
16
-
17
- # ------------------------------------------------------------------------------
18
- # Description
19
- #
20
- description:
21
- title: J1 NBI
22
- scope: Default settings
23
- location: _data/modules/defaults/nbinteract.yml
24
-
25
- # ------------------------------------------------------------------------------
26
- # Default settings
27
- #
28
- defaults:
29
-
30
- # GENERAL settings
31
- # ----------------------------------------------------------------------------
32
-
33
- # contentURL (source)
34
- # ----------------------------------------------------------------------------
35
- # Dialog modal source.
36
- #
37
- # values: data path
38
- # default: /assets/data/nbinteract
39
- #
40
- # ----------------------------------------------------------------------------
41
- #
42
- # xhrDataElement (HTML portion)
43
- # ----------------------------------------------------------------------------
44
- # Top level container for ALL NBI modals configured
45
- #
46
- # values: ID
47
- # default: nbi-modal-data
48
- #
49
- # ----------------------------------------------------------------------------
50
- #
51
- # dialogContainerID (HTML portion)
52
- # ----------------------------------------------------------------------------
53
- # Container ID, the dialog modal is (dynamically) loaded
54
- #
55
- # values: ID
56
- # default: nbi-dialog
57
- #
58
- # ----------------------------------------------------------------------------
59
- #
60
- # spec
61
- # ----------------------------------------------------------------------------
62
- # Defines the (public) repo the configuration data available
63
- #
64
- # values: string (<user>/<repo>/<commit-sha-or-tag-or-branch>)
65
- # default: your-public-data-repo
66
- #
67
- # ----------------------------------------------------------------------------
68
- #
69
- # baseUrl
70
- # ----------------------------------------------------------------------------
71
- # Base URL of the Binder service
72
- #
73
- # values: URL
74
- # default: https://mybinder.org
75
- #
76
- # NOTE: DIRECT access to (GESIS) 'https://notebooks.gesis.org/binder/'
77
- # is restricted to private access (isTrusted == true). Registration at
78
- # GESIS is required.
79
- #
80
- # ----------------------------------------------------------------------------
81
- #
82
- # provider
83
- # ----------------------------------------------------------------------------
84
- # Provider the (public) repo
85
- #
86
- # Provider:
87
- # gh - GitHub
88
- # gist - GitHub Gist
89
- # gl - GitLab
90
- #
91
- # values: gh|gist|gl
92
- # default: gh
93
- #
94
- # ----------------------------------------------------------------------------
95
- #
96
- # button_styles
97
- # ----------------------------------------------------------------------------
98
- # Additional button styles. Additional styles are added to all
99
- # widget buttons in the HTML output of your Jupyter Notebooks.
100
- #
101
- # values: CSS styles (Bootstrap)
102
- # default: btn btn-primary btn-raised hidden
103
- #
104
- # NOTE: Style 'hidden' hide all widget buttons by default (display: none)
105
- #
106
- # ----------------------------------------------------------------------------
107
- #
108
- # show_nbi_messages
109
- # ----------------------------------------------------------------------------
110
- # Show info|progress|error messages while nbinteract is being initialized.
111
- #
112
- # values: boolean (true|false)
113
- # default: false
114
- #
115
- # ----------------------------------------------------------------------------
116
- #
117
- # indicate_nbi_activity
118
- # ----------------------------------------------------------------------------
119
- # Show a spinner while nbinteract in being initialized.
120
- #
121
- # values: boolean (true|false)
122
- # default: true
123
- #
124
- # ----------------------------------------------------------------------------
125
- #
126
- # nbi_messages_auto_close
127
- # ----------------------------------------------------------------------------
128
- # Close the nbi messages modals automatically.
129
- #
130
- # values: boolean (true|false)
131
- # default: true
132
- #
133
- # ----------------------------------------------------------------------------
134
- #
135
- # nbi_init_timeout
136
- # ----------------------------------------------------------------------------
137
- # Time (ms) notebooks on a page are to be finally initialized. If the
138
- # init phase tooks longer, an error is issued.
139
- #
140
- # values: integer
141
- # default: 180000
142
- #
143
- # ----------------------------------------------------------------------------
144
- #
145
- # nbi_messages_auto_close_delay
146
- # ----------------------------------------------------------------------------
147
- # Delay (ms) to auto-close nbi messages modals.
148
- #
149
- # values: integer
150
- # default: 3500
151
- #
152
- # ----------------------------------------------------------------------------
153
- #
154
- # nbi_init_mathjax
155
- # ----------------------------------------------------------------------------
156
- # Load and initialize the MathJax JS library
157
- #
158
- # values: boolean (true|false)
159
- # default: false
160
- #
161
- # ----------------------------------------------------------------------------
162
- #
163
- # notebook_ready
164
- # ----------------------------------------------------------------------------
165
- # Flag that indicates if a notebook is ready (fully rendered).
166
- # For default, the signal 'notebook_ready' is set if the 'first'
167
- # widget in a notebook is rendered. For larger notebooks having
168
- # many headlines, the TOC provided by the FAB in a page may
169
- # incomplete. To indicate all resources of a page fully available,
170
- # the option 'last_widget' may a better choice.
171
- #
172
- # values: first_widget | last_widget
173
- # default: first_widget
174
- #
175
- # ----------------------------------------------------------------------------
176
- #
177
- enabled: false
178
-
179
- # ----------------------------------------------------------------------------
180
- # NBI options
181
- # ----------------------------------------------------------------------------
182
-
183
- # Binder baseUrls (all members of the Binder Org Federation)
184
- # ----------------------------------------------------------------------------
185
- #
186
- baseUrls:
187
- preferred: mybinder
188
- mybinder: 'https://mybinder.org' # Binder Org
189
- gke: 'https://gke.mybinder.org' # Google Cloud
190
- ovh: 'https://ovh.mybinder.org' # OVH Cloud
191
- gesis: 'https://gesis.mybinder.org' # GESIS Notebooks
192
- turing: 'https://turing.mybinder.org' # Alan Turing Institute
193
-
194
- # ----------------------------------------------------------------------------
195
- # Module options
196
- # ----------------------------------------------------------------------------
197
- show_nbi_messages: true
198
- indicate_nbi_activity: true
199
- nbi_messages_auto_close: true
200
-
201
- nbi_init_timeout: 180000
202
- nbi_messages_auto_close_delay: 3500
203
-
204
- nbi_init_mathjax: true
205
- notebook_ready: first_widget
206
-
207
- # ----------------------------------------------------------------------------
208
- # Provider settings
209
- # ----------------------------------------------------------------------------
210
- providers:
211
- preferred: github # github
212
- github:
213
- provider_id: gh
214
- provider_spec: jekyll-one/j1-binder-repo/main # config: requirements.txt
215
- # provider_spec: jekyll-one/j1-binder-nbinteract/main # config: environment.yml
216
- zenodo:
217
- provider_id: zenodo
218
- provider_spec: 10.5281/zenodo.6721479 # 2nd version, config: requirements.txt
219
- # provider_spec: 10.5281/zenodo.6705036 # 1st version, config: requirements.txt
220
-
221
- # ----------------------------------------------------------------------------
222
- # Dialog settings (modal)
223
- # ----------------------------------------------------------------------------
224
- contentURL: /assets/data/nbinteract
225
- xhrDataElement: nbi-modal-data
226
- dialogContainerID: nbi-dialog
227
-
228
- dialogTitle: NBI Settings
229
- dialogBodyText: >
230
-
231
- This website uses the <b>free</b> service <em>Binder</em> to process
232
- <b>interactive</b> widgets from content containing textbooks
233
- (HTML exported Jupyter Notebooks).
234
-
235
- The Binder Service allows you to create custom computing environments
236
- that can be shared and used by many remote users. A Binder service is
237
- powered by
238
- <a href="https://github.com/jupyterhub/binderhub" target="_blank" rel="noopener">BinderHub Repo on Github</a>,
239
- an open-source tool that runs on Kubernetes, a portable, extensible,
240
- open-source platform for managing containerized services. One such deployment
241
- lives at
242
- <a href="https://mybinder.org/" target="_blank" rel="noopener">Binder Home</a>,
243
- and is free to use.
244
-
245
- <div class="admonitionblock caution">
246
- <table style="background: rgb(255, 255, 255);font-size: 100%">
247
- <tbody><tr>
248
- <td class="icon">
249
- <i class="fa icon-caution" title="Caution"></i>
250
- </td>
251
- <td class="content">
252
- Each interactive element presented on this page uses <strong>time-consuming</strong>
253
- operations that take a while to finish. The images and the interactive
254
- elements are built through a backend in the cloud. Please be patient
255
- to see the results.
256
- </td>
257
- </tr></tbody>
258
- </table>
259
- </div>
260
- dialogPrivacyNotice: >
261
- The service provided by<em>Binder</em> uses <b>cookies</b> to provide
262
- its service. Your consent on using cookies is required. Find more
263
- information about at the Binder at the
264
- <a href="https://mybinder.readthedocs.io/en/latest/about/user-guidelines.html#security-and-privacy" target="_blank" rel="noopener">Privacy Policy.</a>
265
- of Binder.
266
- <br><br>
267
- Required Cookie Settings:
268
- <ul>
269
- <li>
270
- <code>Analysis</code> For translations, your consent on
271
- <b>Analysis</b> with your <b>Privacy Settings</b> is required.
272
- </li>
273
- <li>
274
- <code>Personalization</code> For processing textbooks, your consent on
275
- <b>Personalization</b> with your <b>Privacy Settings</b> (Cookie Settings) is required.
276
- </li>
277
- </ul>
278
- button_styles: btn btn-primary btn-raised hidden
279
-
280
- # ------------------------------------------------------------------------------
281
- # END config