diff --git a/docs/404.html b/docs/404.html index c018bcd..077dac7 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -@magic-modules
@magic-modules
404 - not found
\ No newline at end of file +@magic-modules
@magic-modules
404 - not found
\ No newline at end of file diff --git a/docs/404.html.gz b/docs/404.html.gz index 908add8..3eb7808 100644 Binary files a/docs/404.html.gz and b/docs/404.html.gz differ diff --git a/docs/index.html b/docs/index.html index 588aeac..f116de8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -@magic-modules
@magic-modules

@magic

magic is a module/component based generator for static pages and serverless deployments.

goal of the project is to keep the client boilerplate footprint minimal yet easily extendable

@magic-modules

modules are the building blocks of @magic.

@magic-modules

@magic-modules. building blocks for your @magic app.
\ No newline at end of file +@magic-modules
@magic-modules

@magic

magic is a module/component based generator for static pages and serverless deployments.

goal of the project is to keep the client boilerplate footprint minimal yet easily extendable

@magic-modules

modules are the building blocks of @magic.

\ No newline at end of file diff --git a/docs/index.html.gz b/docs/index.html.gz index 98d021a..7061e16 100644 Binary files a/docs/index.html.gz and b/docs/index.html.gz differ diff --git a/docs/magic.css b/docs/magic.css index 95998e9..d61f750 100644 --- a/docs/magic.css +++ b/docs/magic.css @@ -1,2 +1,2 @@ -h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}a{outline:none;cursor:pointer}blockquote,q{quotes:none}#magic{margin:0 auto;width:90%}header.main{display:inline-block;width:90%}header.main .logo{float:left}header.main .logo-text{float:left;font-size:1.5em;margin:.7em .2em}header.main .logo-wrapper{display:inline-block}.page header{margin:0 0 .5em}.page h1{margin:1em 0 .2em}footer{width:100%}h1,h2,h3,h4,h5{margin:1em 0 .2em}ol,ul{list-style:none}h1{font-size:1.3em}body{line-height:1.5;margin:0;padding:0;overflow-y:scroll;min-height:100vh}h2{font-size:1.2em}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}h3{font-size:1.1em}button,input[type="reset"],input[type="button"],input[type="submit"],input[type="file"] > input[type="button"]{cursor:pointer}button,input[type="reset"],input[type="button"],input[type="submit"],input[type="file"] > input[type="button"]::-moz-focus-inner{padding:0;border:0 none} -.GitBadges{display:inline-block}.GitBadges li{margin:0 .5em 0 0;display:inline-block;float:left}.GitBadges img{height:20px}a{text-decoration:none;color:blue}a:hover{color:orange}.page{margin-bottom:3em}h1{font-size:1.4em}:target{text-decoration:underline}h3{font-size:1.2em}h4{font-size:1.1em}h2,h3,h4,h5{font-weight:600}p{line-height:1.8}header.main .logo-text{font-size:1.1em}#magic{max-width:1300px}.Menu{display:block;float:none;clear:both}.Menu li{display:block;float:none}.Menu ul ul{position:relative;margin:0 0 0 0.5em}.Menu li.active > a{text-decoration:underline}.Menu li.active li a{text-decoration:none}.GitList h3{margin:0}.GitList li{padding:1.5em 0 0}.GitList li li{padding:0.2em 0 0}.GitList li a{display:block}h2{margin:3em 0 0}@media screen and (min-width:1000px){header.main{width:210px;position:fixed;float:left;max-height:100vh;height:100vh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;box-sizing:border-box}.Menu{max-width:210px;padding:0 0 2em}.page{float:right;width:calc(100% - 220px);min-height:90vh}footer.main{clear:both}} \ No newline at end of file +h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}a{outline:none;cursor:pointer;white-space:nowrap}blockquote,q{quotes:none}#magic{margin:0 auto;width:90%}header.main{display:inline-block;width:90%}header.main .logo{float:left}header.main .logo-text{float:left;font-size:1.5em;margin:.7em .2em}header.main .logo-wrapper{display:inline-block}.page header{margin:0 0 .5em}.page h1{padding:1em 0 .2em}footer{width:100%}h1,h2,h3,h4,h5{padding:1em 0 .2em}ol,ul{list-style:none;display:inline-block}h1{font-size:1.3em}body{line-height:1.5;margin:0;padding:0;overflow-y:scroll;min-height:100vh}h2{font-size:1.2em}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}h3{font-size:1.1em}button,input[type="reset"],input[type="button"],input[type="submit"],input[type="file"] > input[type="button"]{cursor:pointer}button::-moz-focus-inner,input[type="reset"]::-moz-focus-inner,input[type="button"]::-moz-focus-inner,input[type="submit"]::-moz-focus-inner,input[type="file"] > input[type="button"]::-moz-focus-inner{padding:0;border:0 none} +.Menu{float:none;margin:1.5em 0 0;position:relative;display:block;clear:both}.Menu ul ul{position:relative;left:0;margin:0 0 0 0.5em}.Menu .MenuItem{display:block;float:none}.Menu .MenuItem.active > a{text-decoration:underline}.Menu .MenuItem.active .MenuItem a{text-decoration:none}#magic{max-width:1300px}h1:target,h2:target,h3:target,h4:target,h5:target{text-decoration:underline}a{text-decoration:none;color:blue}a:hover{color:orange}.GitList h3{margin:0}.GitList li{padding:1.5em 0 0}.GitList li li{padding:0.2em 0 0}.GitList li a{display:block}h1{font-size:1.4em}h2{font-size:1.3em}h3{font-size:1.2em}h4{font-size:1.1em}h2,h3,h4,h5{font-weight:600}.GitBadges{display:inline-block}.GitBadges li{margin:0 .5em 0 0;display:inline-block;float:left}.GitBadges img{height:20px}p{line-height:1.8}.Footer footer.main{position:relative;text-align:center;padding:5em 0 .5em}header.main .logo-text{font-size:1.1em}.MenuItem{float:left;margin:0 .5em 0 0}.MenuItem.active > a{text-decoration:underline}.MenuItem a{display:block}.page{margin-bottom:3em}@media screen and (min-width:1000px){header.main{width:210px;position:fixed;float:left;max-height:100vh;height:100vh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;box-sizing:border-box}.Menu{max-width:210px;padding:0 0 2em}.page{float:right;width:calc(100% - 220px);min-height:90vh}footer.main{clear:both}} \ No newline at end of file diff --git a/docs/magic.css.gz b/docs/magic.css.gz index 0fcda44..8559196 100644 Binary files a/docs/magic.css.gz and b/docs/magic.css.gz differ diff --git a/docs/magic.js b/docs/magic.js index 2959fa9..2fcc1a5 100644 --- a/docs/magic.js +++ b/docs/magic.js @@ -1,5 +1,5 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(a,d)&&(c[d]=a[d])}return c}function m(a,b){if(a==null)return{};var c={};var d=Object.keys(a);var e,f;for(f=0;f=0)&&(c[e]=a[e]);return c}function n(a){return n=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function n(a){return typeof a}:function n(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(a)}var o=require("hyperapp"),q=o.app,r=o.h;var e=function(a){return function(){var b=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var d=!!(arguments.length>1&&arguments[1]!==undefined)&&arguments[1];var e=function is(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d0&&arguments[0]!==undefined?arguments[0]:d;return a&&{to:"https://www.npmjs.com/package/@".concat(a),src:"https://img.shields.io/npm/v/@".concat(a,".svg")}}],["travis",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:d;return a&&{to:"https://travis-ci.com/".concat(a),src:"https://travis-ci.com/".concat(a,".svg?branch=").concat(g)}}],["appveyor",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:d;if(a){var b=a.split("/"),c=f(b,2),e=c[0],h=c[1];return e=e.replace(/-/g,""),{to:"https://ci.appveyor.com/project/".concat(e,"/").concat(h,"/branch/").concat(g),src:"https://img.shields.io/appveyor/ci/".concat(e,"/").concat(h,"/").concat(g,".svg")}}}],["coveralls",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:d;return a&&{to:"https://coveralls.io/github/".concat(a),src:"https://coveralls.io/repos/github/".concat(a,"/badge.svg")}}],["greenkeeper",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:d;return a&&{to:"https://greenkeeper.io",src:"https://badges.greenkeeper.io/".concat(a,".svg")}}],["snyk",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:d;return a&&{to:"https://snyk.io/test/github/".concat(a),src:"https://snyk.io/test/github/".concat(a,"/badge.svg")}}]].map(function(b){var c=f(b,2),d=c[0],e=c[1];return e(a[d])}).filter(function(b){return b.to&&b.src});return h.length?x({"class":"GitBadges"},h.map(function(a){var b=a.to,c=a.src;return w([s({to:b},v({src:c}))])})):void 0};var z=function ModuleList(a){return A(b({id:"magic-module","class":"ModuleList",org:"magic-modules",header:[s({to:"https://magic-modules/github.io"},"@magic-modules")],description:["modules are the grimoires of ",s({to:"https://magic.github.io/core"},"@magic")],items:[{name:"language-switch",description:"LanguageSwitch provides file hierarchy based multilanguage support for magic."},{name:"video-embed",description:["VideoEmbed embeds videos from any video hoster using iframes. "," comes with default support for vimeo and youtube."]},{name:"sound-cloud",description:"embed soundcloud track, playlist and user widgets"},{name:"module-list",description:"ModuleList shows the list of @magic-modules you are looking at."},{name:"theme-list",description:"ThemeList shows a list of all @magic-themes."},{name:"client-list",description:"ClientList shows a list of all @magic-client libraries."},{name:"pre",description:"Pre allows you to display javascript code with syntax highlighting."},{name:"git-badges",description:"GitBadges shows a list of github repository status badges."},{name:"git-list",description:"show a list of git repositories like the one you are looking at."}]},a))};var A=function GitList(a){var c=a.items,d=c===void 0?[]:c,e=a.org,f=a.host,g=f===void 0?"github":f,i=a.header,j=a.desc,k=j===void 0?a.description:j;var l={};return a["class"]?!a["class"].includes("GitList")&&(l["class"]="GitList ".concat(a["class"])):l["class"]="GitList",a.id&&(l.id=a.id),h(l,[i&&t(i),k&&h({"class":"description"},k),x({id:"".concat(e,"-list")},[d.map(function(a){return A.Item(b({org:e,host:g},a))})])])};A.Item=function(a){var b=a.name,c=a.org,d=a.host;var e=a.desc||a.description;return w({id:"".concat(c,"-").concat(b),"class":"GitListItem"},[h3([s({to:"https://".concat(d,".com/").concat(c,"/").concat(b)},"@".concat(c,"/").concat(b))]),e&&u(e),y("".concat(c,"/").concat(b)),s({to:"https://".concat(c,".").concat(d,".io/").concat(b)},"docs / demo")])};var B={View:function View(){return C({"class":"main"},[h({"class":"wrapper"},["made with a few bits of ",s({to:"https://github.com/magic/core",target:"_blank",rel:"noopener"},"magic")])])}};var C=e("footer");var D={View:function View(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"menu";return function(c){typeof a==="string"&&(a={name:a});var d=a,e=d.name,f=e===void 0?"menu":e,g=d["class"],h=g===void 0?"Menu":g,i=d.items,j=i===void 0?[]:i,k=d.collapse;var m=c.url,n=c[f],o=n===void 0?[]:n;if(j=j.length?j:o,!!j.length)return c.hash&&(m+="#".concat(c.hash)),G({"class":h.includes("Menu")?h:"Menu ".concat(h)},x(j.map(function(a){return F(b({},a,{url:m,collapse:k===void 0||k}))})))}}};var E=e("span");var F=function MenuItem(a){var c=a.url,d=a.text,e=a.items,f=e===void 0?[]:e,g=a.collapse,h=l(a,["url","text","items","collapse"]);if(h.to||d){var i={};h.to===c&&(i["class"]="active");var j=[];return f&&(c.startsWith(h.to)||!g)&&(j=x(f.map(function(a){return F(b({url:c,collapse:g},a))}))),w(i,[h.to?s(h,d):E(h,d),j])}};var G=e("nav");var H=e("header");var I=function PageHead(a){return(a.logo||a.menu||a.tagline)&&H({"class":"main"},[(a.logo||a.logotext)&&s({to:"/","class":"logo-wrapper"},[a.logo&&v({"class":"logo",src:a.logo}),a.logotext&&E({"class":"logo-text"},a.logotext)]),D.View])};var J={"/":function _(){return[t(s({to:"https://magic.github.io"},"@magic")),u("magic is a module/component based generator for static pages and serverless deployments."),u("goal of the project is to keep the client boilerplate footprint minimal yet easily extendable"),y({project:"magic/core",appveyor:"jaeh/core"}),t({id:"magic-modules"},s({to:"https://github.com/magic-modules/"},"@magic-modules")),u("modules are the building blocks of @magic."),z]},"/404/":function _(){return h("404 - not found")}};var K={"url":"/","root":"/","title":"@magic-modules","description":"@magic-modules. building blocks for your @magic app.","logotext":"@magic-modules","logo":"/logo.png","menu":[{"to":"/#magic-modules","text":"magic-modules"}]};K.url=window.location.pathname,K.root="/";var L={"go":function go(a){return function(b){if(typeof window==="undefined"||!window.history)return!0;var c=a.to;var d=a.e?a.e:a;d.preventDefault();var e=b.url;var g=e.split("#"),h=f(g,2),i=h[0],j=h[1],k=j===void 0?"":j;if(c){e=c.replace(window.location.origin,"");var l=e.split("#"),m=f(l,2),n=m[0],o=m[1],p=o===void 0?"":o;i=n,k=p&&p!=="/"?p:"";var q=b.hash?"#".concat(b.hash):window.location.hash;var r=b.url+q;(e!==r||k!==q)&&(window.history&&window.history.pushState({uri:i},"",e),!k&&window.scrollTo(0,0))}else i=d.state?d.state.uri:"/";if(window.location&&k){var s=document.getElementById(k);if(s){var t=s.offsetTop;window.scrollTo(0,t),window.location.hash=k}}return{url:i,hash:k,prev:b.url}}}};var M=function view(a,b){var c=J[a.url]?a.url:"/404/";var d=J[c];if(a.pages){var e=a.pages[c];for(var f in e)a[f]=e[f]}if(b.pages){var g=b.pages[c];for(var i in g)b[i]=g[i]}return h({"class":"wrapper",oncreate:function oncreate(){typeof window!=="undefined"&&b.go&&window.addEventListener("popstate",b.go)}},[I,d?h({"class":"page"},d(a,b)):h({"class":"page"},"404 - not found"),B.View])};var N=document;var d=N.getElementById("magic");!d&&(d=N.createElement("div"),d.id="magic",N.body.appendChild(d)),q(K,L,M,d); +function c(a,b){return j(a)||f(a,b)||e()}function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function f(a,b){var c=[];var d=!0;var e=!1;var f=undefined;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!(b&&c.length===b));d=!0);}catch(a){e=!0,f=a}finally{try{!d&&h["return"]!=null&&h["return"]()}finally{if(e)throw f}}return c}function j(a){if(Array.isArray(a))return a}function k(a,b){if(a==null)return{};var c=l(a,b);var d,e;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(e=0;e=0)&&Object.prototype.propertyIsEnumerable.call(a,d)&&(c[d]=a[d])}return c}function l(a,b){if(a==null)return{};var c={};var d=Object.keys(a);var e,f;for(f=0;f=0)&&(c[e]=a[e]);return c}function m(a){for(var b=1;b0&&arguments[0]!==undefined?arguments[0]:{};var d=!!(arguments.length>1&&arguments[1]!==undefined)&&arguments[1];var e=function is(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d0&&arguments[0]!==undefined?arguments[0]:"menu";return function(b){typeof a==="string"&&(a={name:a});var c=a,d=c.name,e=d===void 0?"menu":d,f=c["class"],g=f===void 0?"Menu":f,h=c.items,i=h===void 0?[]:h,j=c.collapse;var l=b.url,n=b[e],o=n===void 0?[]:n;if(i=i.length?i:o,!!i.length)return b.hash&&(l+="#".concat(b.hash)),Fa({"class":g.includes("Menu")?g:"Menu ".concat(g)},u(i.map(function(a){return w.Item(m({},a,{url:l,collapse:j===void 0||j}))})))}},Item:function Item(a){var b=a.url,c=a.text,d=a.items,e=d===void 0?[]:d,f=a.parentTo,g=f===void 0?undefined:f,h=a.collapse,j=k(a,["url","text","items","parentTo","collapse"]);if(j.to||c){var l={"class":"MenuItem"};if(j.to===b&&(l["class"]+=" active"),g){var n=j.to.includes("://");var o=j.to.startsWith("/");var p=!g||j.to.startsWith(g);!p&&!o&&!n&&(!g.endsWith("/")&&!j.to.startsWith("-")&&(g="".concat(g,"/")),j.to=g+j.to)}var i=[];return e.length&&(b.startsWith(j.to)||!h)&&(i=u(e.map(function(a){return w.Item(m({parentTo:j.to,url:b,collapse:h},a))}))),ya(l,[j.to?x(j,c):Ya(j,c),i])}}};var x=function Link(a,b){var c=a.to,d=k(a,["to"]);return function(a,f){var g=d.href,h=d.text,i=d.nofollow,j=d.noreferrer,l=d.onclick,m=k(d,["href","text","nofollow","noreferrer","onclick"]);return c=c||g||"",m.href=c,c&&c.startsWith("/")&&!c.startsWith("//")?m.onclick=function(a){l&&l({e:a,to:c}),f.go({e:a,to:c})}:(m.target="_blank",m.rel="noopener",i&&(m.rel+=" nofollow"),j&&(m.rel+=" noreferrer")),D(m,[h,b])}};var y={View:function View(){return ha({"class":"main"},[_({"class":"wrapper"},["made with a few bits of ",x({to:"https://github.com/magic/core",target:"_blank",rel:"noopener"},"magic")])])}};var z={View:function View(a){return function(b,c){return _({id:"magic"},_({"class":"wrapper",oncreate:function oncreate(){typeof window!=="undefined"&&c.go&&window.addEventListener("popstate",c.go)}},[A,a?_({"class":"page"},a(b,c)):_({"class":"page"},"404 - not found"),y.View]))}}};var A=function PageHead(a){return(a.logo||a.menu||a.tagline)&&pa({"class":"main"},[(a.logo||a.logotext)&&x({to:"/","class":"logo-wrapper"},[a.logo&&B({"class":"logo",src:a.logo}),a.logotext&&Ya({"class":"logo-text"},a.logotext)]),w.View])};var B=function Img(a){return function(){if(typeof a==="string"&&(a={src:a}),!!a.src)return!a.alt&&(a.title?a.alt=a.title:(a.role="presentation",a.alt="")),sa(a)}};var C=h("component");var D=h("a");var a=h("abbr");var E=h("address");var F=h("area");var G=h("article");var H=h("aside");var I=h("audio");var J=h("b");var b=h("bdi");var K=h("bdo");var L=h("blockquote");var M=h("br");var N=h("button");var O=h("canvas");var P=h("caption");var Q=h("cite");var R=h("code");var S=h("col");var T=h("colgroup");var U=h("data");var V=h("datalist");var W=h("dd");var X=h("del");var Y=h("details");var Z=h("dfn");var $=h("dialog");var _=h("div");var aa=h("dl");var ba=h("dt");var ca=h("em");var da=h("embed");var ea=h("fieldset");var fa=h("figcaption");var ga=h("figure");var ha=h("footer");var ia=h("form");var ja=h("h1");var ka=h("h2");var la=h("h3");var ma=h("h4");var na=h("h5");var oa=h("h6");var pa=h("header");var qa=h("hr");var ra=h("i");var i=h("iframe");var sa=h("img");var ta=h("input");var ua=h("ins");var va=h("kbd");var wa=h("label");var xa=h("legend");var ya=h("li");var za=h("main");var Aa=h("map");var Ba=h("mark");var Ca=h("menu");var Da=h("menuitem");var Ea=h("meter");var Fa=h("nav");var Ga=h("object");var Ha=h("ol");var Ia=h("optgroup");var Ja=h("option");var Ka=h("output");var La=h("p");var p=h("param");var Ma=h("picture");var Na=h("pre");var Oa=h("progress");var Pa=h("q");var q=h("rp");var Qa=h("rt");var Ra=h("rtc");var Sa=h("ruby");var Ta=h("s");var s=h("samp");var Ua=h("section");var Va=h("select");var Wa=h("small");var Xa=h("source");var Ya=h("span");var Za=h("strong");var $a=h("sub");var _a=h("summary");var ab=h("sup");var bb=h("table");var cb=h("tbody");var db=h("td");var eb=h("textarea");var fb=h("tfoot");var gb=h("th");var hb=h("thead");var ib=h("time");var jb=h("tr");var kb=h("track");var lb=h("u");var u=h("ul");var mb=h("video");var nb=h("wbr");var ob=h("svg");var pb=h("g");var g=h("circle");var qb=h("ellipse");var rb=h("rect");var sb=h("polygon");var tb=h("path");var ub=h("defs");var vb=h("linearGradient");var wb=h("stop");var xb=h("text");var yb=h("html");var zb=h("head");var Ab=h("title");var Bb=h("meta");var Cb=h("link");var Db=h("body");var Eb=h("script");var Fb=h("description");var Gb=function GitBadges(a){if(typeof a==="string")a={project:a};else if(!a.project)return;var b=a,d=b.project,e=d!==void 0&&d,f=b.branch,g=f===void 0?"master":f;var h=[["npm",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e;return a&&{to:"https://www.npmjs.com/package/@".concat(a),src:"https://img.shields.io/npm/v/@".concat(a,".svg")}}],["travis",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e;return a&&{to:"https://travis-ci.com/".concat(a),src:"https://travis-ci.com/".concat(a,".svg?branch=").concat(g)}}],["appveyor",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e;if(a){var b=a.split("/"),d=c(b,2),f=d[0],h=d[1];return f=f.replace(/-/g,""),{to:"https://ci.appveyor.com/project/".concat(f,"/").concat(h,"/branch/").concat(g),src:"https://img.shields.io/appveyor/ci/".concat(f,"/").concat(h,"/").concat(g,".svg")}}}],["coveralls",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e;return a&&{to:"https://coveralls.io/github/".concat(a),src:"https://coveralls.io/repos/github/".concat(a,"/badge.svg")}}],["greenkeeper",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e;return a&&{to:"https://greenkeeper.io",src:"https://badges.greenkeeper.io/".concat(a,".svg")}}],["snyk",function(){var a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:e;return a&&{to:"https://snyk.io/test/github/".concat(a),src:"https://snyk.io/test/github/".concat(a,"/badge.svg")}}]].map(function(b){var d=c(b,2),e=d[0],f=d[1];return f(a[e])}).filter(function(b){return b.to&&b.src});return h.length?u({"class":"GitBadges"},h.map(function(a){var b=a.to,c=a.src;return ya([x({to:b},B({src:c}))])})):void 0};var Hb=function GitList(a){var b=a.items,c=b===void 0?[]:b,d=a.org,e=a.host,f=e===void 0?"github":e,g=a.header,h=a.desc,i=h===void 0?a.description:h;var j={};return a["class"]?!a["class"].includes("GitList")&&(j["class"]="GitList ".concat(a["class"])):j["class"]="GitList",j.id=a.id?a.id:"".concat(d,"-list"),_(j,[g&&ka(g),i&&_({"class":"description"},i),u({id:"".concat(d,"-list")},[c.map(function(a){return Hb.Item(m({org:d,host:f},a))})])])};Hb.Item=function(a){var b=a.name,c=a.org,d=a.host;var e=a.desc||a.description;return ya({id:"".concat(c,"-").concat(b),"class":"GitListItem"},[la([x({to:"https://".concat(d,".com/").concat(c,"/").concat(b)},"@".concat(c,"/").concat(b))]),e&&La(e),Gb("".concat(c,"/").concat(b)),x({to:"https://".concat(c,".").concat(d,".io/").concat(b)},"docs / demo")])};var Ib=function ModuleList(a){return Hb(m({"class":"ModuleList",org:"magic-modules",header:[x({to:"https://magic-modules/github.io"},"@magic-modules")],description:["modules are the grimoires of ",x({to:"https://magic.github.io/core"},"@magic")],items:[{name:"language-switch",description:"LanguageSwitch provides file hierarchy based multilanguage support for magic."},{name:"video-embed",description:["VideoEmbed embeds videos from any video hoster using iframes. "," comes with default support for vimeo and youtube."]},{name:"sound-cloud",description:"embed soundcloud track, playlist and user widgets"},{name:"module-list",description:"ModuleList shows the list of @magic-modules you are looking at."},{name:"theme-list",description:"ThemeList shows a list of all @magic-themes."},{name:"library-list",description:"LibraryList shows a list of all @magic-libraries libraries."},{name:"pre",description:"Pre allows you to display javascript code with syntax highlighting."},{name:"git-badges",description:"GitBadges shows a list of github repository status badges."},{name:"git-list",description:"show a list of git repositories like the one you are looking at."}]},a))};var Jb={"/":function(){return[ka(x({to:"https://magic.github.io"},"@magic")),La("magic is a module/component based generator for static pages and serverless deployments."),La("goal of the project is to keep the client boilerplate footprint minimal yet easily extendable"),Gb("magic/core"),ka({id:"magic-modules"},x({to:"https://github.com/magic-modules/"},"@magic-modules")),La("modules are the building blocks of @magic."),Ib]},"/404/":function(){return _("404 - not found")}};var Kb={"url":"/","root":"/","title":"@magic-modules","description":"@magic-modules. building blocks for your @magic app.","logotext":"@magic-modules","logo":"/logo.png","menu":[{"to":"/#magic-modules","text":"magic-modules"}]};Kb.url=window.location.pathname,Kb.root="/";var Lb={"go":function go(a){return function(b){if(typeof window==="undefined"||!window.history)return!0;var d=a.to;var f=a.e?a.e:a;f.preventDefault();var e=b.url;var g=e.split("#"),h=c(g,2),i=h[0],j=h[1],k=j===void 0?"":j;if(d){e=d.replace(window.location.origin,"");var l=e.split("#"),m=c(l,2),n=m[0],o=m[1],p=o===void 0?"":o;i=n,k=p&&p!=="/"?p:"";var q=b.hash?"#".concat(b.hash):window.location.hash;var r=b.url+q;(e!==r||k!==q)&&(window.history&&window.history.pushState({uri:i},"",e),!k&&window.scrollTo(0,0))}else i=f.state?f.state.uri:"/";if(window.location&&k){var s=document.getElementById(k);if(s){var t=s.offsetTop;window.scrollTo(0,t),window.location.hash=k}}return{url:i,hash:k,prev:b.url}}}};var Mb=function view(a,b){var c=Jb[a.url]?a.url:"/404/";var d=Jb[c];if(a.pages){var e=a.pages[c];for(var f in e)a[f]=e[f]}if(b.pages){var g=b.pages[c];for(var h in g)b[h]=g[h]}return _({"class":"wrapper",oncreate:function oncreate(){typeof window!=="undefined"&&b.go&&window.addEventListener("popstate",b.go)}},[A,d?_({"class":"page"},d(a,b)):_({"class":"page"},"404 - not found"),y.View])};var Nb=document;var d=Nb.getElementById("magic");!d&&(d=Nb.createElement("div"),d.id="magic",Nb.body.appendChild(d)),t(Kb,Lb,Mb,d); },{"hyperapp":2}],2:[function(require,module,exports){ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e.hyperapp={})}(this,function(e){"use strict";e.h=function(e,n){for(var t=[],r=[],o=arguments.length;2