@xiee/utils 1.14.118 → 1.14.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/book.css +0 -1
- package/css/book.min.css +1 -1
- package/css/book.min.css.map +1 -1
- package/css/default.css +1 -1
- package/css/default.min.css +1 -1
- package/css/default.min.css.map +1 -1
- package/js/fullwidth.js +1 -0
- package/js/fullwidth.min.js +1 -1
- package/js/fullwidth.min.js.map +1 -1
- package/js/sidenotes.js +3 -2
- package/js/sidenotes.min.js +1 -1
- package/js/sidenotes.min.js.map +1 -1
- package/package.json +1 -1
package/css/book.css
CHANGED
package/css/book.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
body{font-family:Palatino,Georgia,serif
|
|
1
|
+
body{font-family:Palatino,Georgia,serif}.footnotes,code,.side,.body .side,.chapter-toc{font-size:.85em}.frontmatter,.chapter{min-height:calc(100vh - 1em)}.frontmatter{background:#fff;padding-bottom:0;&>div{background:#ebf6f9;margin:0 -1em;padding:1em}& .title{margin-top:-1em;padding:20vh 1em 1em}}@media (width>=1264.02px){body:not(.pagesjs) .chapter-toc{display:none}}.chapter-toc{border:1px solid #eee;border-radius:5px;margin-bottom:2em;padding:1em}.chapter{&:not(.appendix) .main-number{&:before{content:"Chapter "}&:after{content:none}}& h1{border-bottom:1px solid;margin:1em auto 3em;&:has(+.epigraph){margin-bottom:2em}}}h1 .section-number{border-bottom:4px solid;margin-bottom:-4px;display:inline-block}.body h2{border-bottom-style:dashed}.pagesjs .pagesjs-page:first-child:has(.frontmatter){padding:0;& .pagesjs-header,& .pagesjs-footer{display:none}& .frontmatter{padding:var(--paper-margin-top) var(--paper-margin-right) var(--paper-margin-bottom) var(--paper-margin-left);height:100%;margin:0;& .title{margin-top:calc(0px - var(--paper-margin-top))}&>div{margin:0 calc(0px - var(--paper-margin-right)) 0 calc(0px - var(--paper-margin-left))}}}
|
|
2
2
|
/*# sourceMappingURL=book.min.css.map */
|
package/css/book.min.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,
|
|
1
|
+
{"version":3,"mappings":"AAAA,wCAGA,+DAGA,mDAGA,8CAKE,mDAKA,+CAKF,0BACE,8CAIF,mFAMA,SACE,8BACE,4BACA,sBAEF,iDAGE,sCAGJ,mFAKA,oCAGA,+DAEE,iDAGA,kJAIE,wDAGA","sources":["book.css"],"sourcesContent":["body {\n font-family: Palatino, Georgia, serif;\n}\n.footnotes, code, .side, .body .side, .chapter-toc {\n font-size: .85em;\n}\n.frontmatter, .chapter {\n min-height: calc(100vh - 1em);\n}\n.frontmatter {\n background-image: radial-gradient(#b6cee2 1px, #fff 1px);\n background-size: 2em 2em;\n background: #fff;\n padding-bottom: 0;\n & > div {\n margin: 0 -1em;\n background: #ebf6f9;\n padding: 1em;\n }\n & .title {\n padding: 20vh 1em 1em;\n margin-top: -1em;\n }\n}\n@media (min-width: 1264.02px) {\n body:not(.pagesjs) .chapter-toc {\n display: none;\n }\n}\n.chapter-toc {\n border: 1px solid #eee;\n border-radius: 5px;\n padding: 1em;\n margin-bottom: 2em;\n}\n.chapter {\n &:not(.appendix) .main-number {\n &::before { content: \"Chapter \"; }\n &::after { content: none; }\n }\n h1 {\n margin: 1em auto 3em;\n border-bottom: 1px solid;\n &:has(+ .epigraph) { margin-bottom: 2em; }\n }\n}\nh1 .section-number {\n display: inline-block;\n border-bottom: 4px solid;\n margin-bottom: -4px;\n}\n.body h2 { border-bottom-style: dashed; }\n/* TODO: style for h1.part and printing */\n\n.pagesjs .pagesjs-page:first-child:has(.frontmatter) {\n padding: 0;\n .pagesjs-header, .pagesjs-footer {\n display: none;\n }\n .frontmatter {\n margin: 0;\n padding: var(--paper-margin-top) var(--paper-margin-right) var(--paper-margin-bottom) var(--paper-margin-left);\n height: 100%;\n .title {\n margin-top: calc(0px - var(--paper-margin-top));\n }\n & > div {\n margin: 0 calc(0px - var(--paper-margin-right)) 0 calc(0px - var(--paper-margin-left));\n }\n }\n}\n"],"names":[]}
|
package/css/default.css
CHANGED
|
@@ -7,7 +7,7 @@ body {
|
|
|
7
7
|
print-color-adjust: exact;
|
|
8
8
|
-webkit-print-color-adjust: exact;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
.abstract, code, .footnotes, footer, #refs, .caption { font-size: .9em; }
|
|
11
11
|
li li { font-size: .95em; }
|
|
12
12
|
ul:has(li > input[type="checkbox"]) { list-style: none; padding-left: 1em; }
|
|
13
13
|
*, :before, :after { box-sizing: border-box; }
|
package/css/default.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
body{-webkit-print-color-adjust:exact;print-color-adjust:exact;max-width:800px;margin:auto;padding:1em;font-family:sans-serif;line-height:1.5}
|
|
1
|
+
body{-webkit-print-color-adjust:exact;print-color-adjust:exact;max-width:800px;margin:auto;padding:1em;font-family:sans-serif;line-height:1.5}.abstract,code,.footnotes,footer,#refs,.caption{font-size:.9em}li li{font-size:.95em}ul:has(li>input[type=checkbox]){padding-left:1em;list-style:none}*,:before,:after{box-sizing:border-box}a{color:#4682b4}pre,img{max-width:100%}pre{white-space:pre-wrap;word-break:break-word;& code{padding:1em;display:block;overflow-x:auto}}code{font-family:DejaVu Sans Mono,Droid Sans Mono,Lucida Console,Consolas,Monaco,monospace}:not(pre,th)>code,code[class],div>.caption{background:#f8f8f8}pre>code:is(:not([class]),.language-plain,.language-none,.plain),.box,.figure,.table{background:inherit;border:1px solid #eee}pre>code{&.message{border-color:#9eeaf9}&.warning{background:#fff3cd;border-color:#fff3cd}&.error{background:#f8d7da;border-color:#f8d7da}}.fenced-chunk{border-left:1px solid #666}.code-fence{opacity:.4;border:1px dashed #666;border-left:2px solid;&:hover{opacity:inherit}}.box,.figure,.table,table{margin:1em auto}div>.caption{padding:1px 1em}.figure{& p:has(img,svg),& pre:has(svg){text-align:center}}.flex-col{justify-content:space-between;display:flex}table{&:only-child:not(.table>*){margin:auto}& th,& td{font-variant-numeric:tabular-nums;padding:5px}&:not([class]){& thead,& tfoot,& tr:nth-child(2n){background:#f5f5f5}& thead th{border-bottom:1px solid #ddd}border-top:1px solid #666;border-bottom:1px solid #666}}blockquote{color:#666;border-left:.5em solid #eee;margin:0;padding:1px 1em}hr,.footnotes:before{border:1px dashed #ddd}.frontmatter{text-align:center}#TOC{& a{text-decoration:none}& ul{columns:24em;padding-left:1em;list-style:none}&>ul{padding:0}& ul ul{border-left:1px solid #b0c4de}}.body h2{border-bottom:1px solid #666}.body .appendix,.appendix~h2{border-bottom-style:dashed}.main-number:after{content:"."}span[class^=ref-number-]{font-weight:700}.ref-number-fig:after,.ref-number-tab:after{content:":"}.cross-ref-chp:before{content:"Chapter "}.cross-ref-sec:before{content:"Section "}.cross-ref-apd:before{content:"Appendix "}.cross-ref-fig:before,.ref-number-fig:before{content:"Figure "}.cross-ref-tab:before,.ref-number-tab:before{content:"Table "}.cross-ref-eqn:before,.MathJax_ref:has(mjx-mtext>mjx-c+mjx-c):before{content:"Equation "}.abstract,#refs{&:before{margin:1em auto;font-weight:700;display:block}}.abstract:before{content:"Abstract";text-align:center}#refs:before{content:"Bibliography";font-size:1.5em}.ref-paren-open:before{content:"("}.ref-paren-close:after{content:")"}.ref-semicolon:after{content:"; "}.ref-and:after{content:" and "}.ref-et-al:after{content:" et al.";font-style:italic}.footnote-ref a{&:before{content:"["}&:after{content:"]"}}section.footnotes{margin-top:2em;&:before{content:"";max-width:20em;display:block}}.fade{opacity:.6;background:repeating-linear-gradient(135deg,#fff,#fff 30px,#ddd 32px 32px)}@media (prefers-color-scheme:dark){html,img,video,iframe{filter:invert()}.no-invert{filter:none}body{background:#ededed}}@media print{body{max-width:100%}tr,img{break-inside:avoid}}@media only screen and (width>=992px){body:not(.pagesjs) pre:has(.line-numbers):not(:hover){white-space:pre}}
|
|
2
2
|
/*# sourceMappingURL=default.min.css.map */
|
package/css/default.min.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,8IASA,
|
|
1
|
+
{"version":3,"mappings":"AAAA,8IASA,+DACA,sBACA,iEACA,uCACA,gBACA,uBACA,+CAEE,kDAEF,2FACA,8DACA,8HACA,SACE,+BACA,kDACA,iDAEF,yCACA,oEAIE,yBAEF,0CACA,6BACA,QAAU,mDACV,qDACA,MACE,uCACA,wDACA,eACE,sDACA,wCACW,wDAIf,2EAMA,4CACA,+BACA,KACE,yBACA,mDACA,eACA,uCAEF,sCACA,wDACA,+BACA,yCACA,wDACA,yCACA,yCACA,0CACA,+DACA,8DACA,yFACA,gBACE,wDAEF,sDACA,oDACA,mCACA,mCACA,kCACA,+BACA,qDACA,gBACE,qBACA,qBAEF,iCAEE,kDAEF,4FAIA,mCACE,sCACA,uBACA,yBAEF,aACE,oBACA,2BAEF,sCACE","sources":["default.css"],"sourcesContent":["body {\n font-family: sans-serif;\n max-width: 800px;\n margin: auto;\n padding: 1em;\n line-height: 1.5;\n print-color-adjust: exact;\n -webkit-print-color-adjust: exact;\n}\n.abstract, code, .footnotes, footer, #refs, .caption { font-size: .9em; }\nli li { font-size: .95em; }\nul:has(li > input[type=\"checkbox\"]) { list-style: none; padding-left: 1em; }\n*, :before, :after { box-sizing: border-box; }\na { color: steelblue; }\npre, img { max-width: 100%; }\npre {\n white-space: pre-wrap; word-break: break-word;\n code { display: block; padding: 1em; overflow-x: auto; }\n}\ncode { font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace; }\n:not(pre, th) > code, code[class], div > .caption { background: #f8f8f8; }\npre > code:is(:not([class]), .language-plain, .language-none, .plain), .box, .figure, .table { background: inherit; border: 1px solid #eee; }\npre > code {\n &.message { border-color: #9eeaf9; }\n &.warning { background: #fff3cd; border-color: #fff3cd; }\n &.error { background: #f8d7da; border-color: #f8d7da; }\n}\n.fenced-chunk { border-left: 1px solid #666; }\n.code-fence {\n opacity: .4;\n border: 1px dashed #666;\n border-left: 2px solid;\n &:hover { opacity: inherit; }\n}\n.box, .figure, .table, table { margin: 1em auto; }\ndiv > .caption { padding: 1px 1em; }\n.figure { p:has(img, svg), pre:has(svg) { text-align: center; } }\n.flex-col { display: flex; justify-content: space-between; }\ntable {\n &:only-child:not(.table > *) { margin: auto; }\n th, td { padding: 5px; font-variant-numeric: tabular-nums; }\n &:not([class]) {\n thead, tfoot, tr:nth-child(even) { background: whitesmoke; }\n thead th { border-bottom: 1px solid #ddd; }\n border-top: 1px solid #666;\n border-bottom: 1px solid #666;\n }\n}\nblockquote {\n color: #666;\n margin: 0;\n padding: 1px 1em;\n border-left: .5em solid #eee;\n}\nhr, .footnotes::before { border: 1px dashed #ddd; }\n.frontmatter { text-align: center; }\n#TOC {\n a { text-decoration: none; }\n ul { list-style: none; padding-left: 1em; columns: 24em; }\n & > ul { padding: 0; }\n ul ul { border-left: 1px solid lightsteelblue; }\n}\n.body h2 { border-bottom: 1px solid #666; }\n.body .appendix, .appendix ~ h2 { border-bottom-style: dashed; }\n.main-number::after { content: \".\"; }\nspan[class^=\"ref-number-\"] { font-weight: bold; }\n.ref-number-fig::after, .ref-number-tab::after { content: \":\"; }\n.cross-ref-chp::before { content: \"Chapter \"; }\n.cross-ref-sec::before { content: \"Section \"; }\n.cross-ref-apd::before { content: \"Appendix \"; }\n.cross-ref-fig::before, .ref-number-fig::before { content: \"Figure \"; }\n.cross-ref-tab::before, .ref-number-tab::before { content: \"Table \"; }\n.cross-ref-eqn::before, .MathJax_ref:has(mjx-mtext > mjx-c + mjx-c)::before { content: \"Equation \"; }\n.abstract, #refs {\n &::before { display: block; margin: 1em auto; font-weight: bold; }\n}\n.abstract::before { content: \"Abstract\"; text-align: center; }\n#refs::before { content: \"Bibliography\"; font-size: 1.5em; }\n.ref-paren-open::before { content: \"(\"; }\n.ref-paren-close::after { content: \")\"; }\n.ref-semicolon::after { content: \"; \"; }\n.ref-and::after { content: \" and \"; }\n.ref-et-al::after { content: \" et al.\"; font-style: italic; }\n.footnote-ref a {\n &::before { content: \"[\"; }\n &::after { content: \"]\"; }\n}\nsection.footnotes {\n margin-top: 2em;\n &::before { content: \"\"; display: block; max-width: 20em; }\n}\n.fade {\n background: repeating-linear-gradient(135deg, white, white 30px, #ddd 32px, #ddd 32px);\n opacity: 0.6;\n}\n@media (prefers-color-scheme: dark) {\n html, img, video, iframe { filter: invert(1); }\n .no-invert { filter: none; }\n body { background: #ededed; }\n}\n@media print {\n body { max-width: 100%; }\n tr, img { break-inside: avoid; }\n}\n@media only screen and (min-width: 992px) {\n body:not(.pagesjs) pre:has(.line-numbers):not(:hover) { white-space: pre; }\n}\n"],"names":[]}
|
package/js/fullwidth.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
document.querySelectorAll('pre,table,#TableOfContents').forEach(node => {
|
|
3
3
|
function fullwidth(el) {
|
|
4
4
|
el.classList.add('fullwidth');
|
|
5
|
+
el.dataset.autoFullwidth = ''; // so sidenotes.js only undoes what we added
|
|
5
6
|
}
|
|
6
7
|
// skip if already in .fullwidth container (or .tabset)
|
|
7
8
|
if (node.closest('.fullwidth,.tabset')) return;
|
package/js/fullwidth.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
document.querySelectorAll("pre,table,#TableOfContents").forEach(t=>{function e(t){t.classList.add("fullwidth")}if(!t.closest(".fullwidth,.tabset"))switch(t.tagName){case"PRE":const l=t.firstElementChild;"CODE"===l?.tagName&&l.scrollWidth>l.offsetWidth&&e(l.parentNode);break;case"TABLE":const
|
|
1
|
+
document.querySelectorAll("pre,table,#TableOfContents").forEach(t=>{function e(t){t.classList.add("fullwidth"),t.dataset.autoFullwidth=""}if(!t.closest(".fullwidth,.tabset"))switch(t.tagName){case"PRE":const l=t.firstElementChild;"CODE"===l?.tagName&&l.scrollWidth>l.offsetWidth&&e(l.parentNode);break;case"TABLE":const a=t.parentElement;a&&a.offsetWidth<t.offsetWidth&&e(t);break;default:t.querySelectorAll("a").forEach(l=>{!t.classList.contains("fullwidth")&&l.getClientRects().length>1&&e(t)})}});
|
|
2
2
|
//# sourceMappingURL=fullwidth.min.js.map
|
package/js/fullwidth.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["document","querySelectorAll","forEach","node","fullwidth","el","classList","add","closest","tagName","firstElementChild","scrollWidth","offsetWidth","parentNode","p","parentElement","a","contains","getClientRects","length"],"sources":["fullwidth.js"],"mappings":"AACAA,SAASC,iBAAiB,8BAA8BC,QAAQC,IAC9D,SAASC,EAAUC,GACjBA,EAAGC,UAAUC,IAAI,
|
|
1
|
+
{"version":3,"names":["document","querySelectorAll","forEach","node","fullwidth","el","classList","add","dataset","autoFullwidth","closest","tagName","firstElementChild","scrollWidth","offsetWidth","parentNode","p","parentElement","a","contains","getClientRects","length"],"sources":["fullwidth.js"],"mappings":"AACAA,SAASC,iBAAiB,8BAA8BC,QAAQC,IAC9D,SAASC,EAAUC,GACjBA,EAAGC,UAAUC,IAAI,aACjBF,EAAGG,QAAQC,cAAgB,EAC7B,CAEA,IAAIN,EAAKO,QAAQ,sBACjB,OAAQP,EAAKQ,SACX,IAAK,MACH,MAAMN,EAAKF,EAAKS,kBACA,SAAhBP,GAAIM,SAAsBN,EAAGQ,YAAcR,EAAGS,aAAeV,EAAUC,EAAGU,YAC1E,MACF,IAAK,QACH,MAAMC,EAAIb,EAAKc,cACfD,GAAKA,EAAEF,YAAcX,EAAKW,aAAeV,EAAUD,GACnD,MACF,QAEEA,EAAKF,iBAAiB,KAAKC,QAAQgB,KAEhCf,EAAKG,UAAUa,SAAS,cAAgBD,EAAEE,iBAAiBC,OAAS,GAAKjB,EAAUD","ignoreList":[]}
|
package/js/sidenotes.js
CHANGED
|
@@ -34,9 +34,10 @@
|
|
|
34
34
|
});
|
|
35
35
|
// also add side classes to TOC
|
|
36
36
|
d.getElementById('TOC')?.classList.add('side', 'side-left');
|
|
37
|
-
// if a sidenote collapses with
|
|
37
|
+
// if a sidenote collapses with an auto-added fullwidth element, remove its fullwidth class
|
|
38
|
+
// (a user-specified .fullwidth is kept)
|
|
38
39
|
const sides = d.querySelectorAll('.side.side-right, .side.side-left'), fulls = [];
|
|
39
|
-
d.querySelectorAll('
|
|
40
|
+
d.querySelectorAll('[data-auto-fullwidth]').forEach(el => {
|
|
40
41
|
fulls.push([el, el.getBoundingClientRect()]);
|
|
41
42
|
});
|
|
42
43
|
// add a class to document body if it has sidenotes
|
package/js/sidenotes.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(e=>{e.querySelectorAll('.footnotes > ol > li[id^="fn"], #refs > [id^="ref-"]').forEach(t=>{const o=`a[href="#${t.id}"]`;e.querySelectorAll(`${o} > sup, sup > ${o}, .citation > ${o}, ${o}.citation`).forEach(o=>{const r=o.parentNode;("A"===o.tagName?o:r).removeAttribute("href");const s=e.createElement("div");for(s.className="side side-right footnotes",/^fn/.test(t.id)?(s.innerHTML=t.innerHTML,s.firstElementChild.insertAdjacentHTML("afterbegin",`<span class="bg-number">${o.innerText}</span> `),s.querySelector('a[href^="#fnref"]')?.remove()):s.innerHTML=t.outerHTML;"#text"===s.lastChild?.nodeName&&!s.lastChild.textContent.trim();)s.lastChild.remove();s.querySelectorAll(".fullwidth").forEach(e=>e.classList.remove("fullwidth"));const i=o.classList.contains("citation")?o:r;i.after(s),i.classList.add("note-ref"),t.remove()})}),e.querySelectorAll(".footnotes, #refs").forEach(e=>{e.innerText.trim()||e.remove()}),e.getElementById("TOC")?.classList.add("side","side-left");const t=e.querySelectorAll(".side.side-right, .side.side-left"),o=[];e.querySelectorAll("
|
|
1
|
+
(e=>{e.querySelectorAll('.footnotes > ol > li[id^="fn"], #refs > [id^="ref-"]').forEach(t=>{const o=`a[href="#${t.id}"]`;e.querySelectorAll(`${o} > sup, sup > ${o}, .citation > ${o}, ${o}.citation`).forEach(o=>{const r=o.parentNode;("A"===o.tagName?o:r).removeAttribute("href");const s=e.createElement("div");for(s.className="side side-right footnotes",/^fn/.test(t.id)?(s.innerHTML=t.innerHTML,s.firstElementChild.insertAdjacentHTML("afterbegin",`<span class="bg-number">${o.innerText}</span> `),s.querySelector('a[href^="#fnref"]')?.remove()):s.innerHTML=t.outerHTML;"#text"===s.lastChild?.nodeName&&!s.lastChild.textContent.trim();)s.lastChild.remove();s.querySelectorAll(".fullwidth").forEach(e=>e.classList.remove("fullwidth"));const i=o.classList.contains("citation")?o:r;i.after(s),i.classList.add("note-ref"),t.remove()})}),e.querySelectorAll(".footnotes, #refs").forEach(e=>{e.innerText.trim()||e.remove()}),e.getElementById("TOC")?.classList.add("side","side-left");const t=e.querySelectorAll(".side.side-right, .side.side-left"),o=[];e.querySelectorAll("[data-auto-fullwidth]").forEach(e=>{o.push([e,e.getBoundingClientRect()])}),t.length&&e.body.classList.add("has-sidenotes"),t.forEach(e=>{const t=e.getBoundingClientRect();for(let e of o){const o=e[1];t.right<o.left||t.left>o.right||t.bottom<o.top||t.top>o.bottom||e[0].classList.remove("fullwidth")}})})(document);
|
|
2
2
|
//# sourceMappingURL=sidenotes.min.js.map
|
package/js/sidenotes.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["d","querySelectorAll","forEach","el","h","id","a","a2","parentNode","tagName","removeAttribute","s","createElement","className","test","innerHTML","firstElementChild","insertAdjacentHTML","innerText","querySelector","remove","outerHTML","lastChild","nodeName","textContent","trim","classList","a3","contains","after","add","getElementById","sides","fulls","push","getBoundingClientRect","length","body","r1","f","r2","right","left","bottom","top","document"],"sources":["sidenotes.js"],"mappings":"AACA,CAACA,IACCA,EAAEC,iBAAiB,wDAAwDC,QAAQC,IAEjF,MAAMC,EAAI,YAAYD,EAAGE,OACzBL,EAAEC,iBAAiB,GAAGG,kBAAkBA,kBAAkBA,MAAMA,cAAcF,QAAQI,IACpF,MAAMC,EAAKD,EAAEE,YACE,MAAdF,EAAEG,QAAkBH,EAAIC,GAAIG,gBAAgB,QAC7C,MAAMC,EAAIX,EAAEY,cAAc,OAU1B,IATAD,EAAEE,UAAY,4BACV,MAAMC,KAAKX,EAAGE,KAChBM,EAAEI,UAAYZ,EAAGY,UAEjBJ,EAAEK,kBAAkBC,mBAAmB,aAAc,2BAA2BX,EAAEY,qBAClFP,EAAEQ,cAAc,sBAAsBC,UAEtCT,EAAEI,UAAYZ,EAAGkB,UAEc,UAA1BV,EAAEW,WAAWC,WAAyBZ,EAAEW,UAAUE,YAAYC,QACnEd,EAAEW,UAAUF,SAGdT,EAAEV,iBAAiB,cAAcC,QAAQC,GAAMA,EAAGuB,UAAUN,OAAO,cAEnE,MAAMO,EAAKrB,EAAEoB,UAAUE,SAAS,YAActB,EAAIC,EAClDoB,EAAGE,MAAMlB,GACTgB,EAAGD,UAAUI,IAAI,YACjB3B,EAAGiB,aAIPpB,EAAEC,iBAAiB,qBAAqBC,QAAQC,IAC9CA,EAAGe,UAAUO,QAAUtB,EAAGiB,WAG5BpB,EAAE+B,eAAe,QAAQL,UAAUI,IAAI,OAAQ,
|
|
1
|
+
{"version":3,"names":["d","querySelectorAll","forEach","el","h","id","a","a2","parentNode","tagName","removeAttribute","s","createElement","className","test","innerHTML","firstElementChild","insertAdjacentHTML","innerText","querySelector","remove","outerHTML","lastChild","nodeName","textContent","trim","classList","a3","contains","after","add","getElementById","sides","fulls","push","getBoundingClientRect","length","body","r1","f","r2","right","left","bottom","top","document"],"sources":["sidenotes.js"],"mappings":"AACA,CAACA,IACCA,EAAEC,iBAAiB,wDAAwDC,QAAQC,IAEjF,MAAMC,EAAI,YAAYD,EAAGE,OACzBL,EAAEC,iBAAiB,GAAGG,kBAAkBA,kBAAkBA,MAAMA,cAAcF,QAAQI,IACpF,MAAMC,EAAKD,EAAEE,YACE,MAAdF,EAAEG,QAAkBH,EAAIC,GAAIG,gBAAgB,QAC7C,MAAMC,EAAIX,EAAEY,cAAc,OAU1B,IATAD,EAAEE,UAAY,4BACV,MAAMC,KAAKX,EAAGE,KAChBM,EAAEI,UAAYZ,EAAGY,UAEjBJ,EAAEK,kBAAkBC,mBAAmB,aAAc,2BAA2BX,EAAEY,qBAClFP,EAAEQ,cAAc,sBAAsBC,UAEtCT,EAAEI,UAAYZ,EAAGkB,UAEc,UAA1BV,EAAEW,WAAWC,WAAyBZ,EAAEW,UAAUE,YAAYC,QACnEd,EAAEW,UAAUF,SAGdT,EAAEV,iBAAiB,cAAcC,QAAQC,GAAMA,EAAGuB,UAAUN,OAAO,cAEnE,MAAMO,EAAKrB,EAAEoB,UAAUE,SAAS,YAActB,EAAIC,EAClDoB,EAAGE,MAAMlB,GACTgB,EAAGD,UAAUI,IAAI,YACjB3B,EAAGiB,aAIPpB,EAAEC,iBAAiB,qBAAqBC,QAAQC,IAC9CA,EAAGe,UAAUO,QAAUtB,EAAGiB,WAG5BpB,EAAE+B,eAAe,QAAQL,UAAUI,IAAI,OAAQ,aAG/C,MAAME,EAAQhC,EAAEC,iBAAiB,qCAAsCgC,EAAQ,GAC/EjC,EAAEC,iBAAiB,yBAAyBC,QAAQC,IAClD8B,EAAMC,KAAK,CAAC/B,EAAIA,EAAGgC,4BAGrBH,EAAMI,QAAUpC,EAAEqC,KAAKX,UAAUI,IAAI,iBACrCE,EAAM9B,QAAQS,IACZ,MAAM2B,EAAK3B,EAAEwB,wBACb,IAAK,IAAII,KAAKN,EAAO,CACnB,MAAMO,EAAKD,EAAE,GACPD,EAAGG,MAAQD,EAAGE,MAAQJ,EAAGI,KAAOF,EAAGC,OAASH,EAAGK,OAASH,EAAGI,KAAON,EAAGM,IAAMJ,EAAGG,QAClFJ,EAAE,GAAGb,UAAUN,OAAO,YAE1B,GAEH,EApDD,CAoDGyB","ignoreList":[]}
|