diff --git a/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Bold.abb8a847.woff2 b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Bold.abb8a847.woff2 new file mode 100644 index 0000000..01494f7 Binary files /dev/null and b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Bold.abb8a847.woff2 differ diff --git a/fonts/atkinson-hyperlegible/AtkinsonHyperPro-BoldItalic.28aaf14b.woff2 b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-BoldItalic.28aaf14b.woff2 new file mode 100644 index 0000000..90a0068 Binary files /dev/null and b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-BoldItalic.28aaf14b.woff2 differ diff --git a/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Italic.36ee392e.woff2 b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Italic.36ee392e.woff2 new file mode 100644 index 0000000..6cde729 Binary files /dev/null and b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Italic.36ee392e.woff2 differ diff --git a/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Regular.28c7d499.woff2 b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Regular.28c7d499.woff2 new file mode 100644 index 0000000..2ace3af Binary files /dev/null and b/fonts/atkinson-hyperlegible/AtkinsonHyperPro-Regular.28c7d499.woff2 differ diff --git a/fonts/fira-mono/FiraMono-Bold.b9921ca6.woff2 b/fonts/fira-mono/FiraMono-Bold.b9921ca6.woff2 new file mode 100644 index 0000000..832aaab Binary files /dev/null and b/fonts/fira-mono/FiraMono-Bold.b9921ca6.woff2 differ diff --git a/fonts/fira-mono/FiraMono-Medium.9079f18c.woff2 b/fonts/fira-mono/FiraMono-Medium.9079f18c.woff2 new file mode 100644 index 0000000..610e9b2 Binary files /dev/null and b/fonts/fira-mono/FiraMono-Medium.9079f18c.woff2 differ diff --git a/fonts/fira-mono/FiraMono-Regular.262ae31f.woff2 b/fonts/fira-mono/FiraMono-Regular.262ae31f.woff2 new file mode 100644 index 0000000..9fa44b7 Binary files /dev/null and b/fonts/fira-mono/FiraMono-Regular.262ae31f.woff2 differ diff --git a/fonts/icons/icons.6d84b609.woff2 b/fonts/icons/icons.6d84b609.woff2 new file mode 100644 index 0000000..0fd629e Binary files /dev/null and b/fonts/icons/icons.6d84b609.woff2 differ diff --git a/fonts/xcharter/XCharter-Bold.17ab6eaf.woff2 b/fonts/xcharter/XCharter-Bold.17ab6eaf.woff2 new file mode 100644 index 0000000..5e8751e Binary files /dev/null and b/fonts/xcharter/XCharter-Bold.17ab6eaf.woff2 differ diff --git a/fonts/xcharter/XCharter-BoldItalic.47025037.woff2 b/fonts/xcharter/XCharter-BoldItalic.47025037.woff2 new file mode 100644 index 0000000..5337895 Binary files /dev/null and b/fonts/xcharter/XCharter-BoldItalic.47025037.woff2 differ diff --git a/fonts/xcharter/XCharter-Italic.6b51daa4.woff2 b/fonts/xcharter/XCharter-Italic.6b51daa4.woff2 new file mode 100644 index 0000000..5d800ef Binary files /dev/null and b/fonts/xcharter/XCharter-Italic.6b51daa4.woff2 differ diff --git a/fonts/xcharter/XCharter-Roman.66580b88.woff2 b/fonts/xcharter/XCharter-Roman.66580b88.woff2 new file mode 100644 index 0000000..8d2a610 Binary files /dev/null and b/fonts/xcharter/XCharter-Roman.66580b88.woff2 differ diff --git a/index.0c63f772.css b/index.0c63f772.css new file mode 100644 index 0000000..1bf6704 --- /dev/null +++ b/index.0c63f772.css @@ -0,0 +1 @@ +:root{--0:"Atkinson Hyperlegible Pro",HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;--1:Xcharter,Charter,Georgia,Times,"Times New Roman",serif;--2:"Fira Mono","Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace;--3:"Atkinson Hyperlegible Pro",system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--4:#fff;--5:#e6e6e6;--6:#ccc;--7:#b3b3b3;--8:#999;--9:gray;--a:#666;--b:#4d4d4d;--c:#333;--d:#1a1a1a;--e:#000;--f:#0f8a42;--g:#0d7337;--h:#0a5c2c;--i:#fb3;--j:#ffb31a;--k:#e69900;--l:#e23636;--m:#df2020;--n:#c91d1d}*,:before,:after{box-sizing:border-box;color:inherit;font:inherit;text-align:inherit;vertical-align:baseline;background:0 0;border:0;outline:0;margin:0;padding:0}html{background:var(--4);text-align:left;overflow-wrap:break-word;scroll-behavior:smooth;font-size:100%}body{color:var(--e);font-size:1rem;font-family:var(--0);font-variant-numeric:slashed-zero;font-weight:400;line-height:1.5}img,svg,picture,video,canvas,audio,iframe,embed,object{max-width:100%;display:block}p,pre,table,blockquote,:is(h1,h2,h3,h4,h5,h6),:is([data-list~=ol],[data-list~=ul],[data-list~=dl]){margin:.75rem 0}:is(h1,h2,h3,h4,h5,h6){font-family:var(--0);font-weight:400}h1,[data-text~=h1]{font-size:clamp(2.488rem,3vw + 1rem,4.209rem);line-height:1}h2,[data-text~=h2]{font-size:clamp(2.074rem,3vw + 1rem,3.157rem);line-height:1.1}h3,[data-text~=h3]{font-size:clamp(1.728rem,3vw + 1rem,2.369rem);line-height:1.15}h4,[data-text~=h4]{font-size:clamp(1.44rem,3vw + 1rem,1.777rem);line-height:1.2}h5,[data-text~=h5]{font-size:clamp(1.2rem,3vw + 1rem,1.333rem);line-height:1.3}h6,[data-text~=h6]{font-size:1rem;line-height:1.5}b,strong{font-weight:bolder}i,em,dfn{font-style:italic}[title]:where(abbr,dfn){text-underline-offset:.3125rem;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;text-decoration-thickness:.125rem}mark{background-color:var(--j);color:var(--e)}small,sub,sup,[data-text~=small]{font-size:.875rem}sub,sup{line-height:0;position:relative}sup{top:-.5em}sub{bottom:-.25em}hr{border-top:.125rem solid var(--e);min-height:.0625rem;margin:.75rem 0;display:block}:where(a){text-underline-offset:.3125rem;cursor:pointer;background-color:#0000;text-decoration:underline;text-decoration-thickness:.125rem}:where(a:hover,a:active){text-decoration:none}:where(a:focus){outline-offset:-.125rem;outline:thin dotted}blockquote,q{quotes:none}blockquote{font-family:var(--1);font-style:italic}blockquote:before,blockquote:after{content:"";content:none}:where(blockquote) small{display:block}:where(blockquote) small:before{content:"— "}code,kbd,pre,samp{font-family:var(--2)}pre{white-space:pre-wrap;overflow:auto}ol,ul{list-style-type:none}:is([data-list~=ol],[data-list~=ul],[data-list~=dl]){padding-left:1.5rem;list-style-position:outside}[data-list~=ol]{list-style-type:decimal}[data-list~=ol]>li:first-child>[data-list~=ol]{list-style-type:lower-alpha}[data-list~=ul]{list-style-type:disc}[data-list~=ul]>li:first-child>[data-list~=ul]{list-style-type:circle}:is([data-list~=ol],[data-list~=ul],[data-list~=dl]) [data-list]{margin:0}table{border-collapse:collapse;border-spacing:0;width:100%;display:table}td,th{padding:.5rem .75rem;display:table-cell}:where(form) select,textarea,input{margin:.5rem 0}select,textarea,input[type=text],input[type=email],input[type=password],input[type=time],input[type=date],input[type=datetime-local],input[type=month],input[type=week],input[type=number],input[type=range],input[type=search],input[type=tel],input[type=url]{border:.0625em solid var(--9);color:var(--9);font-family:var(--3);background-color:#0000;border-radius:.25rem;width:100%;padding:.5rem .75rem;transition:color .2s,border-color .2s,background-color .2s;display:block}select:focus,textarea:focus,input:focus:not([type=button],[type=reset],[type=submit]){color:var(--e);border-color:var(--e)}textarea{resize:vertical;min-height:6.25rem;overflow:auto}button,select,[type=button],[type=reset],[type=submit]{font-family:var(--3);text-transform:none;overflow:visible}[type=file]{opacity:0;width:0;height:0;position:absolute}:not([type=button],[type=reset],[type=submit]):invalid{border-color:var(--m)}::selection{color:var(--e);text-shadow:none;background-color:#f5daa3}[data-container]{width:clamp(20rem,100%,62.5rem);margin:0 auto;padding-left:1.25rem;padding-right:1.25rem}:where(body)>[data-container]:first-child{margin-top:4.5rem}:where(body)>[data-container]:last-child{margin-bottom:3rem}[data-container~=full]{width:100%}[data-grid]{column-gap:1.25rem;display:grid}[data-column=all]{grid-column:1/-1}[data-dropbox]{z-index:-10;visibility:hidden;color:var(--e);opacity:0;min-width:10rem;transition:opacity .3s,visibility .3s;display:none}[data-dropbox~=menu]{background-color:var(--4);border:.0625em solid var(--e)}[data-toggle~=tooltip]{text-underline-offset:.3125rem;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;text-decoration-thickness:.125rem}[data-dropbox=tooltip]{background-color:var(--e);color:var(--4);min-width:25ch;padding:.5rem .75rem;bottom:100%}[data-toggle]{position:relative}[data-toggle~=tooltip]>[data-dropbox],[data-toggle~=pop]>[data-dropbox],[data-toggle~=pop]+[data-dropbox]{display:block;position:absolute}[data-state=active]>[data-dropbox],[data-state=active]+[data-dropbox],[data-toggle~=tooltip]:hover>[data-dropbox]{z-index:100;visibility:visible;opacity:1;display:block}[data-anchor]{color:var(--e);font-family:var(--3);cursor:pointer;padding:.5rem .75rem;text-decoration:none;transition:color .2s,border-color .2s,background-color .2s;display:block}[data-anchor]:where([data-state=active],:hover,:active){color:var(--9);text-decoration:none}[data-anchor]:focus{outline-offset:-.125rem;outline:thin dotted}[data-anchor~=menu]:where([data-state=active],:hover,:active){background-color:var(--e);color:var(--4)}[data-flex~=breadcrumb]{column-gap:.375em}:where([data-flex~=breadcrumb]) li:after{content:"/";margin-left:.375em}:where([data-flex~=breadcrumb]) li:last-child:after{content:"";margin-right:0}[data-flex~=line-top]{border-top:.125em solid var(--9)}:where([data-flex~=line-top]) [data-anchor~=line]{border-top:.125em solid #0000;bottom:.125em}[data-flex~=line-bottom]{border-bottom:.125em solid var(--9)}:where([data-flex~=line-bottom]) [data-anchor~=line]{border-bottom:.125em solid #0000;top:.125em}[data-anchor~=line]{z-index:1;color:var(--9);position:relative}[data-anchor~=line]:where([data-state=active],:hover,:active){z-index:5;border-color:var(--e);color:var(--e)}[data-navbar]{background-color:var(--e);color:var(--7);width:100%}[data-navbar=top],[data-navbar=bottom]{z-index:1000;position:fixed}[data-navbar=top]{top:0}:where([data-navbar=top]) [data-dropbox]{top:100%}[data-navbar=bottom]{bottom:0}:where([data-navbar=bottom]) [data-dropbox]{bottom:100%}[data-anchor~=navbar]{color:var(--4)}[data-anchor~=navbar]:where([data-state=active],:hover,:active){color:var(--7)}[data-dropbox~=navbar]{background-color:var(--d)}[data-button]{background-color:var(--5);color:var(--e);font-family:var(--3);cursor:pointer;border:.0625em solid #0000;border-radius:.25rem;padding:.5rem .75rem;text-decoration:none;transition:color .2s,border-color .2s,background-color .2s;display:inline-block}[data-button]:is([data-state=active],:hover,:active){background-color:var(--6);text-decoration:none}[data-button]:focus{outline-offset:-.125rem;outline:thin dotted}[data-button~=outline]{border-color:var(--9)}[data-button~=tertiary]{background-color:var(--a);color:var(--4)}[data-button~=tertiary]:is([data-state=active],:hover,:active){background-color:var(--9);color:var(--4)}[data-button=tertiary\ outline]{border-color:var(--a);color:var(--a)}[data-button~=secondary]{background-color:var(--c);color:var(--4)}[data-button~=secondary]:is([data-state=active],:hover,:active){background-color:var(--b);color:var(--4)}[data-button=secondary\ outline]{border-color:var(--c);color:var(--c)}[data-button~=primary]{background-color:var(--e);color:var(--4)}[data-button~=primary]:is([data-state=active],:hover,:active){background-color:var(--c);color:var(--4)}[data-button=primary\ outline]{border-color:var(--e);color:var(--e)}[data-button~=success]{background-color:var(--g);color:var(--4)}[data-button~=success]:is([data-state=active],:hover,:active){background-color:var(--h);color:var(--4)}[data-button=success\ outline]{border-color:var(--g);color:var(--g)}[data-button~=warning]{background-color:var(--j);color:var(--e)}[data-button~=warning]:is([data-state=active],:hover,:active){background-color:var(--i);color:var(--e)}[data-button=warning\ outline]{border-color:var(--j);color:var(--j)}[data-button~=danger]{background-color:var(--m);color:var(--4)}[data-button~=danger]:is([data-state=active],:hover,:active){background-color:var(--n);color:var(--4)}[data-button=danger\ outline]{border-color:var(--m);color:var(--m)}[data-button~=outline]{background-color:#0000}[data-button=link]{color:false;font-family:var(--0);text-underline-offset:.3125rem;background-color:#0000;text-decoration:underline;text-decoration-thickness:.125rem}[data-button=link]:is([data-state=active],:hover,:active){background-color:#0000;border-color:#0000;text-decoration:none}[data-state=disabled],[data-state=disabled]:is(:hover,:active,:focus){background-color:var(--5);color:var(--9);cursor:not-allowed;border-color:#0000;outline:0;text-decoration:none}[data-section~=header]{background-color:var(--e);color:var(--4);margin-bottom:1.5rem;padding-top:6rem;padding-bottom:3rem}[data-section~=header] :is(h1,h2,h3,h4,h5,h6){color:var(--4)}[data-section=footer]{margin-bottom:3rem}@font-face{font-family:Atkinson Hyperlegible Pro;src:local(Atkinson Hyperlegible Pro),url(fonts/atkinson-hyperlegible/AtkinsonHyperPro-Regular.28c7d499.woff2)format("woff2");font-weight:400;font-style:normal}@font-face{font-family:Atkinson Hyperlegible Pro;src:local(Atkinson Hyperlegible Pro),url(fonts/atkinson-hyperlegible/AtkinsonHyperPro-Italic.36ee392e.woff2)format("woff2");font-weight:400;font-style:italic}@font-face{font-family:Atkinson Hyperlegible Pro;src:local(Atkinson Hyperlegible Pro),url(fonts/atkinson-hyperlegible/AtkinsonHyperPro-Bold.abb8a847.woff2)format("woff2");font-weight:700;font-style:normal}@font-face{font-family:Atkinson Hyperlegible Pro;src:local(Atkinson Hyperlegible Pro),url(fonts/atkinson-hyperlegible/AtkinsonHyperPro-BoldItalic.28aaf14b.woff2)format("woff2");font-weight:700;font-style:italic}@font-face{font-family:Xcharter;src:local(Xcharter),url(fonts/xcharter/XCharter-Roman.66580b88.woff2)format("woff2");font-weight:400;font-style:normal}@font-face{font-family:Xcharter;src:local(Xcharter),url(fonts/xcharter/XCharter-Italic.6b51daa4.woff2)format("woff2");font-weight:400;font-style:italic}@font-face{font-family:Xcharter;src:local(Xcharter),url(fonts/xcharter/XCharter-Bold.17ab6eaf.woff2)format("woff2");font-weight:700;font-style:normal}@font-face{font-family:Xcharter;src:local(Xcharter),url(fonts/xcharter/XCharter-BoldItalic.47025037.woff2)format("woff2");font-weight:700;font-style:italic}@font-face{font-family:Fira Mono;src:local(Fira Code),local(Fira Mono),url(fonts/fira-mono/FiraMono-Regular.262ae31f.woff2)format("woff2");font-weight:400;font-style:normal}@font-face{font-family:Fira Mono;src:local(Fira Code),local(Fira Mono),url(fonts/fira-mono/FiraMono-Medium.9079f18c.woff2)format("woff2");font-weight:500;font-style:normal}@font-face{font-family:Fira Mono;src:local(Fira Code),local(Fira Mono),url(fonts/fira-mono/FiraMono-Bold.b9921ca6.woff2)format("woff2");font-weight:700;font-style:normal}@font-face{font-family:icons;src:url(fonts/icons/icons.6d84b609.woff2)format("woff2");font-weight:400;font-style:normal;font-variant:normal}[data-icon]:before{content:attr(data-icon);vertical-align:middle;text-transform:none;font-family:icons;line-height:1;display:inline-block}[data-position~=relative]{position:relative}[data-position~=absolute]{position:absolute}[data-position~=fixed]{position:fixed}[data-position~=top]{top:0}[data-position~=bottom]{bottom:0}[data-position~=left]{left:0}[data-position~=right]{right:0}[data-box~=leading]{margin:.75rem 0}[data-box~=padding]{padding:.5rem .75rem}[data-box~=padding-top]{padding-top:.5rem}[data-box~=padding-x],[data-box~=padding-right]{padding-right:.75rem}[data-box~=padding-bottom]{padding-bottom:.5rem}[data-box~=padding-x],[data-box~=padding-left]{padding-left:.75rem}[data-box~=border]{border:.0625em solid var(--9)}[data-box~=border-top]{border-top:.0625em solid var(--9)}[data-box~=border-left],[data-box~=border-x]{border-left:.0625em solid var(--9)}[data-box~=border-right],[data-box~=border-x]{border-right:.0625em solid var(--9)}[data-box~=border-bottom]{border-bottom:.0625em solid var(--9)}[data-box~=full-width]{width:100%}[data-text~=left]{text-align:left}[data-text~=right]{text-align:right}[data-text~=center]{text-align:center}[data-text~=justify]{text-align:justify;-webkit-hyphens:auto;hyphens:auto}[data-flex]{display:flex}[data-flex~=reverse]{flex-direction:row-reverse}[data-flex~=column]{flex-direction:column}[data-flex*=column\ reverse]{flex-direction:column-reverse}[data-flex~=wrap]{flex-wrap:wrap}[data-flex~=grow]>*,[data-item~=grow]{flex-grow:1}[data-flex~=gap]{gap:1.25rem}[data-flex~=end]{justify-content:flex-end}[data-flex~=center]{justify-content:center}[data-flex~=between]{justify-content:space-between}[data-flex~=around]{justify-content:space-around}[data-flex~=even]{justify-content:space-evenly}@media screen and (width<=42.5em){[data-grid=main]{grid-template-columns:repeat(4,1fr)}[data-grid=main] [data-column~=small-1]{grid-column:span 1}[data-grid=main] [data-column~=small-2]{grid-column:span 2}[data-grid=main] [data-column~=small-3]{grid-column:span 3}[data-grid=main] [data-column~=small-4]{grid-column:span 4}[data-display~=small-none],[data-display~=medium],[data-display~=large]{display:none}}@media screen and (width>=42.5625em) and (width<=61.1875em){[data-grid=main]{grid-template-columns:repeat(12,1fr)}[data-grid=main] [data-column~=medium-1]{grid-column:span 1}[data-grid=main] [data-column~=medium-2]{grid-column:span 2}[data-grid=main] [data-column~=medium-3]{grid-column:span 3}[data-grid=main] [data-column~=medium-4]{grid-column:span 4}[data-grid=main] [data-column~=medium-5]{grid-column:span 5}[data-grid=main] [data-column~=medium-6]{grid-column:span 6}[data-grid=main] [data-column~=medium-7]{grid-column:span 7}[data-grid=main] [data-column~=medium-8]{grid-column:span 8}[data-grid=main] [data-column~=medium-9]{grid-column:span 9}[data-grid=main] [data-column~=medium-10]{grid-column:span 10}[data-grid=main] [data-column~=medium-11]{grid-column:span 11}[data-grid=main] [data-column~=medium-12]{grid-column:span 12}[data-display~=medium-none],[data-display~=small],[data-display~=large]{display:none}}@media screen and (width>=61.25em){[data-grid=main]{grid-template-columns:repeat(12,1fr)}[data-grid=main] [data-column~=large-1]{grid-column:span 1}[data-grid=main] [data-column~=large-2]{grid-column:span 2}[data-grid=main] [data-column~=large-3]{grid-column:span 3}[data-grid=main] [data-column~=large-4]{grid-column:span 4}[data-grid=main] [data-column~=large-5]{grid-column:span 5}[data-grid=main] [data-column~=large-6]{grid-column:span 6}[data-grid=main] [data-column~=large-7]{grid-column:span 7}[data-grid=main] [data-column~=large-8]{grid-column:span 8}[data-grid=main] [data-column~=large-9]{grid-column:span 9}[data-grid=main] [data-column~=large-10]{grid-column:span 10}[data-grid=main] [data-column~=large-11]{grid-column:span 11}[data-grid=main] [data-column~=large-12]{grid-column:span 12}[data-display~=large-none],[data-display~=small],[data-display~=medium]{display:none}}@media print{html,body{height:auto}nav{display:none}[data-container]{max-width:100%;margin:0;padding:0}[data-grid]{display:block}} \ No newline at end of file diff --git a/index.3772ccbd.js b/index.3772ccbd.js new file mode 100644 index 0000000..8338408 --- /dev/null +++ b/index.3772ccbd.js @@ -0,0 +1,7 @@ +/* @license + * Jacob Perez + * Copyright (C) 2023 Jacob Perez + * Licensed under the Apache License, Version 2.0 + * http://www.apache.org/licenses/LICENSE-2.0 +-----------------------------------------------------------------------------*/ +function t(...t){const e=new Set,a=new Set(["pop","tooltip",...t]);function n(){e.forEach((t=>{a.has(t.dataset.toggle)&&t.removeDataAttr("state")}))}function o(t){const e=t.closestDataAttr("dropbox"),a=t.hasDataAttr("state");e||a||n(),t.toggleDataAttr("state","active")}return document.addEventListener("click",(t=>{const a=t.target.closestDataAttr("toggle");if(a){if(e.has(a))return;e.add(a),a.addEventListener("click",(t=>{o(a),t.stopPropagation()}),!0),o(a)}else n();t.stopPropagation()})),this}class e{constructor(){e.#t(),this.toggle=t}static#t(){Element.prototype.setDataAttr=function(t,e=""){return this.setAttribute(`data-${t}`,e)},Element.prototype.removeDataAttr=function(t){return this.removeAttribute(`data-${t}`)},Element.prototype.getDataAttr=function(t,e){return e?this.getAttribute(`data-${t}="${e}"`):this.getAttribute(`data-${t}`)},Element.prototype.hasDataAttr=function(t,e){return e?this.hasAttribute(`data-${t}="${e}"`):this.hasAttribute(`data-${t}`)},Element.prototype.closestDataAttr=function(t,e){return e?this.closest(`[data-${t}="${e}"]`):this.closest(`[data-${t}]`)},Element.prototype.matchDataAttr=function(t,e){return e?this.matches(`[data-${t}="${e}"]`):this.matches(`[data-${t}]`)},Element.prototype.toggleDataAttr=function(t,e){return this.hasDataAttr(t)?this.removeDataAttr(t):this.setDataAttr(t,e)}}toggle}const a=new e;""===meta.title?meta.title="

Rams

":meta.title=`

${meta.title}

`;let n=`\n \n `,o='\n
\n \n
\n
\n ';"fullPage"===meta.type&&(o='\n
\n ');let i;i="localhost"===location.hostname||"127.0.0.1"===location.hostname?window.location.origin+"/templates/a.4650d11e.html":window.location.origin+"/rams/templates/a.7b1ee141.html";let r=`\n \n \n \n
\n ${n}\n
\n
\n ${o}\n
\n \n
\n \n
\n \n `;template.fromString(r,"body").setTemplate("#headerTemplate","#header").setTemplate("#contentTemplate","#content",(()=>{const t=document.getElementById("aside"),e=document.getElementById("content");if("post"===meta.type){const a=e.querySelectorAll("h1, h2, h3, h4, h5, h6"),n='\n \n \n ';t.insertAdjacentHTML("beforeend",n),a.forEach(((t,e)=>{t.setAttribute("id",`${e}`);const a=t.innerText,n=`
  • ${a}
  • `;document.getElementById("contents").insertAdjacentHTML("beforeend",n);const o=`
  • ${a}
  • `;document.getElementById("contentsDropdown").insertAdjacentHTML("beforeend",o)}))}})).fetchTemplate(i,"#nav").fetchTemplate(i,"#footer"),a.toggle(); \ No newline at end of file diff --git a/index.c648594b.js b/index.c648594b.js new file mode 100644 index 0000000..12adc7d --- /dev/null +++ b/index.c648594b.js @@ -0,0 +1,7 @@ +/* @license + * Jacob Perez + * Copyright (C) 2023 Jacob Perez + * Licensed under the Apache License, Version 2.0 + * http://www.apache.org/licenses/LICENSE-2.0 +-----------------------------------------------------------------------------*/ +const meta={type:"",title:document.title,subtitle:"",author:{name:"",url:""},date:{published:"",revised:""},set authorName(e){this.author.name=e},get authorName(){return this.author.name},set authorUrl(e){this.author.url=e},get authorUrl(){return this.author.url},set datePublished(e){this.date.published=e},get datePublished(){return this.date.published},set dateRevised(e){this.date.revised=e},get dateRevised(){return this.date.revised}},template={appendString(e,t){document.querySelector(t).insertAdjacentHTML("beforeend",e)},appendTemplate(e,t,r){const n=e.querySelector(t),a=n.content.cloneNode(!0);document.querySelector(r).appendChild(a),n.remove()},parseTemplate(e,t,r){const n=(new DOMParser).parseFromString(e,"text/html");this.appendTemplate(n,t,r)},setTemplate(e,t,r=null){return new Promise(((t,r)=>{e?t():r()})).then((()=>this.appendTemplate(document,e,t))).then((()=>{"function"==typeof r&&r()})).catch((e=>console.error(e,"Error: Template not found"))),this},fromString(e,t,r=null){return new Promise(((t,r)=>{"string"==typeof e?t():r(err="Error: Source is not a String")})).then((()=>this.appendString(e,t))).then((()=>{"function"==typeof r&&r()})).catch((e=>console.error(e))),this},fetchTemplate(e,t,r=null){return(async()=>{try{let n=await fetch(e),a=await n.text();this.parseTemplate(a,t,t),"function"==typeof r&&r()}catch(e){console.error(e,"Error: Template not found")}})(),this}}; \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..b1cd71b --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Atkinson Hyperlegible Pro \ No newline at end of file diff --git a/templates/a.7b1ee141.html b/templates/a.7b1ee141.html new file mode 100644 index 0000000..d5be32d --- /dev/null +++ b/templates/a.7b1ee141.html @@ -0,0 +1 @@ + \ No newline at end of file