From 62ee92c868944bf17781576c3b97ca7054af8de2 Mon Sep 17 00:00:00 2001 From: Ron Snyder Date: Sat, 7 Sep 2024 08:33:54 -0400 Subject: [PATCH] testing --- ghp-lib.js | 9 ++++++++- wb/index.html | 2 +- wc/dist/js/ghp-lib.js | 24 ++++++++++++++---------- wc/dist/js/ghp.js | 4 +--- wc/dist/js/index.js | 2 +- 5 files changed, 25 insertions(+), 16 deletions(-) diff --git a/ghp-lib.js b/ghp-lib.js index d17e5db..9c7a859 100644 --- a/ghp-lib.js +++ b/ghp-lib.js @@ -986,6 +986,13 @@ function isJunctureV1(contentEl) { return contentEl.querySelector('param[ve-config]') ? true : false } +function getContent() { + console.log('getContent') + console.log('config.content', window.config.content) + console.log('document.body.children[0].innerHTML', document.body.children[0].innerHTML) + return window.config.content || document.body.children[0].innerHTML +} + // set the configuration function setConfig() { window.config = { @@ -1084,7 +1091,7 @@ function articleFromHtml(html) { // mount the content function mount(mountPoint, html) { - html = html || window.config.content || document.body.innerHTML + html = html || getContent() mountPoint = mountPoint || document.querySelector('body > article, body > main, body > section') if (!mountPoint) { mountPoint = document.createElement('article') diff --git a/wb/index.html b/wb/index.html index 718fa6b..7a45d3b 100644 --- a/wb/index.html +++ b/wb/index.html @@ -72,7 +72,7 @@ let easyMDE - console.log('referrer:', referrer.hostname ) + // console.log('referrer:', referrer.hostname ) if (!sourceArg && referrer?.hostname === 'github.com') { // redirect to editor with source query if referrer is a markdown file let [acct, repo, branch, ...path] = referrer.pathname.split('/').filter(pe => pe && pe !== 'blob' && pe !== 'tree') diff --git a/wc/dist/js/ghp-lib.js b/wc/dist/js/ghp-lib.js index 8249112..9c7a859 100644 --- a/wc/dist/js/ghp-lib.js +++ b/wc/dist/js/ghp-lib.js @@ -1,5 +1,3 @@ -// 1 - import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; import 'https://cdn.jsdelivr.net/npm/marked-footnote/dist/index.umd.min.js' import * as yaml from 'https://cdn.jsdelivr.net/npm/yaml@2.3.4/browser/index.min.js' @@ -15,14 +13,14 @@ const isMobile = ('ontouchstart' in document.documentElement && /mobi/i.test(nav window.customEntityData = {} function addLink(attrs) { - console.log('addLink', attrs) + // console.log('addLink', attrs) let stylesheet = document.createElement('link') Object.entries(attrs).map(([key, value]) => stylesheet.setAttribute(key, value)) document.head.appendChild(stylesheet) } function addScript(attrs) { - console.log('addScript', attrs) + // console.log('addScript', attrs) let script = document.createElement('script') Object.entries(attrs).map(([key, value]) => script.setAttribute(key, value)) document.head.appendChild(script) @@ -514,10 +512,10 @@ function restructure(rootEl) { } else { header = main.querySelector('ve-header') if (header) { - let toRemove = header - while (toRemove.parentElement.tagName !== 'MAIN') toRemove = toRemove.parentElement + // let toRemove = header + // while (toRemove.parentElement.tagName !== 'MAIN') toRemove = toRemove.parentElement article.appendChild(header) - toRemove.remove() + // toRemove.remove() } } @@ -988,9 +986,15 @@ function isJunctureV1(contentEl) { return contentEl.querySelector('param[ve-config]') ? true : false } +function getContent() { + console.log('getContent') + console.log('config.content', window.config.content) + console.log('document.body.children[0].innerHTML', document.body.children[0].innerHTML) + return window.config.content || document.body.children[0].innerHTML +} + // set the configuration function setConfig() { - console.log('setConfig', window.jekyll) window.config = { ...yaml.parse(window.options || ''), ...(window.jekyll || {}), @@ -1011,7 +1015,7 @@ function setConfig() { let contentEl = document.createElement('main') contentEl.innerHTML = window.config.content || document.body.innerHTML window.config.isJunctureV1 = isJunctureV1(contentEl) - console.log(window.config) + // console.log(window.config) } function readMoreSetup() { @@ -1087,7 +1091,7 @@ function articleFromHtml(html) { // mount the content function mount(mountPoint, html) { - html = html || window.config.content || document.body.innerHTML + html = html || getContent() mountPoint = mountPoint || document.querySelector('body > article, body > main, body > section') if (!mountPoint) { mountPoint = document.createElement('article') diff --git a/wc/dist/js/ghp.js b/wc/dist/js/ghp.js index 6441fc4..1b6d50e 100644 --- a/wc/dist/js/ghp.js +++ b/wc/dist/js/ghp.js @@ -1,12 +1,10 @@ -// 1 - import { addLink, addScript, articleFromHtml, getGhFile, getMarkdown, markdownToHtml, mode, mount, setConfig, structureContent } from './ghp-lib.js' const base = mode === 'prod' ? import.meta.url.replace(/\/js\/ghp\.js$/, '') : import.meta.url.replace(/\/ghp\.js$/, '/wc/dist') -console.log(`mode=${mode} base=${base}`) +// console.log(`mode=${mode} base=${base}`) if (!window.config) setConfig() diff --git a/wc/dist/js/index.js b/wc/dist/js/index.js index 144df6e..cfffcd0 100644 --- a/wc/dist/js/index.js +++ b/wc/dist/js/index.js @@ -3254,7 +3254,7 @@ var V3=Object.defineProperty;var G3=(F,W,q)=>W in F?V3(F,W,{enumerable:!0,config `).map(X=>X.trim()).filter(X=>X))||[],q=parseHeadline(W==null?void 0:W[0])||{};return q.tag==="ve-mermaid"?q.raw=F.textContent.split(` `).slice(1).join(` `):q.tag==="ve-media"?q.tag="ve-image":q.tag==="ve-vis-network"?q.tag="ve-visjs":W.length>1&&(q.args=q.args?[...q.args,...W.slice(1)]:W.slice(1)),q}function makeEl(F){let W=document.createElement(F.tag);if(F.id&&(W.id=F.id),F.class&&F.class.split(" ").forEach(q=>W.classList.add(q)),F.style&&W.setAttribute("style",Object.entries(F.style).map(([q,K])=>`${q}:${K}`).join(";")),F.entities&&W.setAttribute("entities",F.entities.join(" ")),F.kwargs)for(const[q,K]of Object.entries(F.kwargs))W.setAttribute(q,K===!0?"":K);if(F.booleans&&F.booleans.forEach(q=>W.setAttribute(q,"")),F.args){let q=document.createElement("ul");W.appendChild(q);for(const K of F.args){let X=new DOMParser().parseFromString(marked$1.parse(K.replace(/^\s*-\s*/,"")),"text/html").body.firstChild,tt=document.createElement("li");tt.innerHTML=X.innerHTML.indexOf("wc:")===0?X.innerHTML.replace(/([^<]+)<\/em>/g,"_$1_"):X.innerHTML,q.appendChild(tt)}}return F.raw&&(W.textContent=F.raw),W}function deleteAllComments(F){for(var W=document.createNodeIterator(F,NodeFilter.SHOW_COMMENT,()=>NodeFilter.FILTER_ACCEPT,!1),q;q=W.nextNode();)q.remove()}function isNumeric(F){return!isNaN(F)}function camelToKebab(F){return F.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function computeDataId(F){let W=[];for(;F.parentElement;){let q=Array.from(F.parentElement.children).filter(K=>K.tagName===F.tagName);W.push(q.indexOf(F)+1),F=F.parentElement}return W.reverse().join(".")}function convertTags(F){Array.from(F.querySelectorAll("a > img")).filter(W=>W.src.indexOf("ve-button.png")>-1||W.src.indexOf("wb.svg")>-1).forEach(W=>{var q,K;return(K=(q=W==null?void 0:W.parentElement)==null?void 0:q.parentElement)==null?void 0:K.remove()}),Array.from(F.querySelectorAll("p")).filter(W=>{var q,K;return/^\.ve-\w+\S/.test(((K=(q=W.childNodes.item(0))==null?void 0:q.nodeValue)==null?void 0:K.trim())||"")}).forEach(W=>{let q=document.createElement("div"),K=document.createElement("code");q.appendChild(K),K.setAttribute("class","language-juncture2");let X=W.innerHTML.trim().slice(1).replace(/\n\s*-\s+/g,` -`).replace(/[^<]*<\/a>/g,"").replace(/^ve-media/,"ve-image");K.textContent=X,W.replaceWith(q)}),Array.from(F.querySelectorAll("param")).filter(W=>Array.from(W.attributes).filter(q=>q.name.indexOf("ve-")===0).length).filter(W=>W.getAttribute("ve-config")===null).forEach(W=>{let q=Array.from(W.attributes).find(K=>K.name.indexOf("ve-")===0).name;if(q){let K=tagMap[q]||{},X={tag:q};Array.from(W.attributes).forEach(tt=>{var rt;tt.name!==q&&((rt=K.booleans)!=null&&rt.has(tt.name)?(X.booleans||(X.booleans=[]),X.booleans.push(tt.name)):(X.kwargs||(X.kwargs={}),X.kwargs[tt.name]?X.kwargs[tt.name]+=` ${tt.value}`:X.kwargs[tt.name]=tt.value))}),isJunctureV1(F)||W.replaceWith(makeEl(X))}}),F.querySelectorAll("code").forEach(W=>{var K,X,tt,rt;let q=parseCodeEl(W);if(q.tag)W.parentElement.tagName==="PRE"&&(W=W.parentElement,W.parentElement.removeAttribute("id"),W.parentElement.removeAttribute("data-id"),W.parentElement.removeAttribute("class"),W.parentElement.parentElement&&(W.parentElement.parentElement.className="segment"),W.parentElement.tagName==="DIV"&&W.parentElement.children.length===1&&W.parentElement.replaceWith(W)),W.replaceWith(makeEl(q));else if(q.class||q.style||q.id||q.kwargs){let ot=W.parentElement,ut,yn=ot.previousElementSibling;if((yn==null?void 0:yn.tagName)==="EM"||(yn==null?void 0:yn.tagName)==="STRONG"?(ut=document.createElement("span"),ut.innerHTML=yn.innerHTML,yn.replaceWith(ut)):(parent==null?void 0:parent.tagName)==="TD"?(ut=(X=(K=parent==null?void 0:parent.parentElement)==null?void 0:K.parentElement)==null?void 0:X.parentElement,(tt=parent==null?void 0:parent.parentElement)==null||tt.remove()):(parent==null?void 0:parent.tagName)!=="UL"&&((yn==null?void 0:yn.tagName)==="A"||(yn==null?void 0:yn.tagName)==="IMG")?ut=yn:ut=(yn==null?void 0:yn.children.length)===1&&((rt=yn.children[0])==null?void 0:rt.tagName)==="VE-HEADER"?ot.parentElement:yn,ut){if(q.id&&(ut.id=q.id),q.class&&q.class.split(" ").forEach(uo=>ut.classList.add(uo)),q.style&&ut.setAttribute("style",Object.entries(q.style).map(([uo,po])=>`${uo}:${po}`).join(";")),q.entities&&ut.setAttribute("data-entities",q.entities.join(" ")),q.kwargs)for(const[uo,po]of Object.entries(q.kwargs))ut.setAttribute(uo,po===!0?"":po)}else console.log("no target for",q);ot.remove()}})}function restructure(F){let W=F.querySelector("style");deleteAllComments(F),F.querySelectorAll("ul, ol").forEach(ut=>{let yn=ut;ut.querySelectorAll("param").forEach(uo=>{yn.parentNode.insertBefore(uo,yn.nextSibling),yn=uo})});let q=document.createElement("main");W&&q.appendChild(W.cloneNode(!0)),q.className="page-content markdown-body",q.setAttribute("aria-label","Content"),q.setAttribute("data-theme","light"),F.style&&q.setAttribute("style",F.style.cssText);let K=q,X;Array.from(F==null?void 0:F.querySelectorAll("p")).filter(ut=>{var yn,uo;return/^[#*]{1,6}$/.test(((uo=(yn=ut.childNodes.item(0))==null?void 0:yn.nodeValue)==null?void 0:uo.trim())||"")}).forEach(ut=>{var mo,wo;let yn=(mo=ut.childNodes.item(0).nodeValue)==null?void 0:mo.trim(),uo=ut.querySelector("code"),po=document.createElement(`h${yn==null?void 0:yn.length}`);if(ut.replaceWith(po),uo){let lf=document.createElement("p");lf.appendChild(uo),(wo=po.parentElement)==null||wo.insertBefore(lf,po.nextSibling)}}),Array.from(F==null?void 0:F.querySelectorAll("p, li")).filter(ut=>{var yn;return/==.+=={.+}/.test(((yn=ut.textContent)==null?void 0:yn.trim())||"")}).forEach(ut=>{let yn=[],uo=Array.from(ut.innerHTML.matchAll(/==(?[^=]+)=={(?[^}]+)}/g));uo.forEach((po,mo)=>{var wo;if(mo===0&&yn.push(ut.innerHTML.slice(0,po.index)),po.groups){let{text:lf,attrs:yf}=po.groups;if(/\s*Q\d+\s*/.test(yf))yn.push(`${lf}`);else if(yf.indexOf("=")>0){let[cf,vf]=yf.split("=");vf[0]!=='"'&&(yf=`${cf}="${vf}"`),yn.push(`${lf}`)}yn.push(ut.innerHTML.slice(po.index+po[0].length,((wo=uo[mo+1])==null?void 0:wo.index)||ut.innerHTML.length))}}),ut.innerHTML=yn.join("")}),Array.from(F==null?void 0:F.querySelectorAll("param")).filter(ut=>Array.from(ut.attributes).filter(yn=>yn.name.indexOf("ve-")===0).length===0).forEach(ut=>{let yn=ut.previousElementSibling;ut.classList.forEach(mo=>yn==null?void 0:yn.classList.add(mo));let uo=Array.from(ut.attributes).find(mo=>mo.name==="id"),po=Array.from(ut.attributes).find(mo=>mo.name==="style");(uo||po)&&(uo&&(yn==null||yn.setAttribute("id",uo.value)),po&&(yn==null||yn.setAttribute("style",po.value)),ut.remove())}),Array.from((F==null?void 0:F.children)||[]).forEach(ut=>{var yn;if(ut.tagName[0]==="H"&&isNumeric(ut.tagName.slice(1))){let uo=ut,po=parseInt(uo.tagName.slice(1));K&&Array.from(K.children).filter(lf=>!/^H\d/.test(lf.tagName)).filter(lf=>!/PARAM/.test(lf.tagName)).filter(lf=>!/STYLE/.test(lf.tagName)).filter(lf=>!/^VE--/.test(lf.tagName)).forEach((lf,yf)=>{let cf=`${K.getAttribute("data-id")||0}.${yf+1}`;lf.setAttribute("data-id",cf),lf.id=cf,lf.classList.add("segment")}),K=document.createElement("section"),K.classList.add(`section${po}`),Array.from(uo.classList).forEach(lf=>K.classList.add(lf)),uo.className="",uo.id&&(K.id=uo.id,uo.removeAttribute("id")),K.innerHTML+=uo.outerHTML;let mo=[];for(let lf=1;lfyf.parentElement.tagName==="SECTION")];let wo=po===1||mo.length===0?q:(yn=mo.pop())==null?void 0:yn.parentElement;wo==null||wo.appendChild(K),K.setAttribute("data-id",computeDataId(K))}else{if(ut.tagName!=="PARAM"){let uo=`${K.getAttribute("data-id")||0}.${K.children.length}`;ut.setAttribute("data-id",uo),ut.id=uo,ut.classList.add("segment")}ut!==X&&(K.innerHTML+=ut.outerHTML)}}),Array.from(q.querySelectorAll("a")).filter(ut=>ut.href.indexOf("mailto:")<0).forEach(ut=>{var wo,lf;let yn;try{yn=new URL(ut.href)}catch(yf){console.log(yf),console.log(ut.href);return}let uo=yn.pathname.split("/").filter(yf=>yf);if(uo.length===0)return;let po=/^Q\d+$/.test(uo[uo.length-1])?uo[uo.length-1]:null,mo=uo.find(yf=>yf[0]==="~");if(po||mo){let yf=document.createElement("ve-entity-infobox");if(yf.innerHTML=ut.innerHTML,po)yf.setAttribute("qid",po);else{let cf=(wo=window.config)!=null&&wo.baseurl&&yn.pathname.indexOf((lf=window.config)==null?void 0:lf.baseurl)===0?1:0;yf.setAttribute("file",uo.slice(cf).map(vf=>vf.replace(/~/,"")).filter(vf=>vf).join("/"))}ut.replaceWith(yf)}}),configCustomClasses(q);let tt,rt,ot=document.createElement("article");if(isJunctureV1(F)){ot.classList.add("j1");let ut=q.querySelector("param[ve-config]");tt=document.createElement("ve-header"),tt.className="sticky",Array.from((ut==null?void 0:ut.attributes)||[]).forEach(yn=>{yn.name==="banner"&&tt.setAttribute("background",yn.value),yn.name==="title"&&tt.setAttribute("title",yn.value),(yn.name==="subtitle"||yn.name==="author")&&tt.setAttribute("subtitle",yn.value)}),ot.appendChild(tt),ut==null||ut.remove()}else if(tt=q.querySelector("ve-header"),tt){let ut=tt;for(;ut.parentElement.tagName!=="MAIN";)ut=ut.parentElement;ot.appendChild(tt),ut.remove()}return ot.appendChild(q),rt=q.querySelector("ve-footer"),rt&&ot.appendChild(rt),ot}function configCustomClasses(F){let W=0;F.querySelectorAll("section").forEach(q=>{if(q.classList.contains("cards")&&!q.classList.contains("wrapper")){q.classList.remove("cards");let K=document.createElement("section");K.className="cards wrapper",Array.from(q.children).slice(1).forEach(X=>{var ut,yn;K.appendChild(X),X.classList.add("card");let tt=X.querySelector("h1, h2, h3, h4, h5, h6");tt&&tt.remove();let rt=X.querySelector("p > img");rt&&((ut=rt.parentElement)==null||ut.replaceWith(rt));let ot=X.querySelector("p > a");ot&&((yn=ot.parentElement)==null||yn.replaceWith(ot)),X.querySelectorAll("p").forEach(uo=>{++W;let po=document.createElement("div");po.className="read-more";let mo=document.createElement("input");mo.setAttribute("type","checkbox"),mo.id=`read-more-${W}`,po.appendChild(mo);let wo=document.createElement("p");wo.innerHTML=uo.innerHTML,po.appendChild(wo);let lf=document.createElement("label");lf.setAttribute("for",`read-more-${W}`),lf.setAttribute("role","button"),lf.innerHTML="More",po.appendChild(lf),uo.replaceWith(po)})}),q.appendChild(K)}if(q.classList.contains("tabs")){let K=document.createElement("sl-tab-group");Array.from(q.classList).forEach(X=>K.classList.add(X)),Array.from(q.attributes).forEach(X=>K.setAttribute(X.name,X.value)),Array.from(q.querySelectorAll(":scope > section")).forEach((X,tt)=>{var ot;let rt=document.createElement("sl-tab");rt.setAttribute("slot","nav"),rt.setAttribute("panel",`tab${tt+1}`),rt.innerHTML=((ot=X.querySelector("h1, h2, h3, h4, h5, h6"))==null?void 0:ot.innerHTML)||"",K.appendChild(rt)}),Array.from(q.querySelectorAll(":scope > section")).forEach((X,tt)=>{let rt=document.createElement("sl-tab-panel");rt.setAttribute("name",`tab${tt+1}`);let ot=Array.from(X.children).slice(1).map(ut=>ut.outerHTML).join(" ");rt.innerHTML=ot,K.appendChild(rt)}),q.replaceWith(K)}if((q.classList.contains("columns")||q.classList.contains("mcol"))&&!q.classList.contains("wrapper")){let K=document.createElement("section");K.className="columns wrapper",q.classList.remove("columns"),q.classList.remove("mcol"),Array.from(q.children).filter(X=>X.tagName==="SECTION").forEach((X,tt)=>{K.appendChild(X),X.classList.add(`col-${tt+1}`)}),q.appendChild(K)}})}function restructureForJ1(F){function W(rt){return Object.entries(rt).map(([ot,ut])=>`${ot}="${ut}"`).join(" ").replace(/“/g,""").replace(/”/g,""")}Array.from(F.querySelectorAll("[data-id]")).forEach(rt=>{if(rt.tagName==="SECTION")return;if(!rt.innerHTML.trim()){rt.remove();return}let ot=rt.getAttribute("data-id")||"",ut=document.createElement("div");ut.setAttribute("data-id",ot),ut.id=ot,ut.className=rt.className,rt.removeAttribute("id"),rt.removeAttribute("data-id"),rt.className="",ut.appendChild(rt.cloneNode(!0));let yn=document.createElement("div");yn.setAttribute("data-id",ot),yn.className="viewers";let uo=[],po=rt.nextSibling;for(;po&&po.tagName==="PARAM";)uo.push(po),po=po.nextSibling;uo.forEach(mo=>yn.appendChild(mo)),ut.appendChild(yn),rt.replaceWith(ut)}),Array.from(F.querySelectorAll("[data-id]")).forEach(rt=>{if(rt.tagName==="SECTION")return;let ot=rt.getAttribute("data-id")||"",ut=rt.querySelector("p, ol, ul"),yn=rt.querySelector(".viewers");if(!yn)return;const uo=Array.from(yn.querySelectorAll(":scope > param")).map(($f,xf)=>({...Object.fromEntries(Array.from($f.attributes).map(Pf=>[Pf.name,Pf.value])),idx:xf}));let po=uo.length,mo=yn.parentElement;for(;mo&&mo.tagName!=="ARTICLE";)Array.from(mo.querySelectorAll(":scope > param")).forEach($f=>{uo.push({...Object.fromEntries(Array.from($f.attributes).map(xf=>[xf.name,xf.value])),idx:po}),po++}),mo=mo.parentElement;const wo={};uo.forEach($f=>{let xf=Object.keys($f).find(Pf=>Pf.indexOf("ve-")===0&&!$f[Pf]);xf?xf==="ve-d3plus-ring-network"&&(xf="ve-visjs"):(xf="ve-entity",$f[xf]=""),wo[xf]||(wo[xf]=[]),wo[xf].push($f)});let lf=[];Object.values(wo["ve-entity"]||[]).forEach($f=>{var Af;let xf=$f.eid||$f.qid,Pf=((Af=$f.aliases)==null?void 0:Af.split("|").filter(Lf=>Lf))||[],Cf=$f.file||$f.article;(Pf.length||Cf)&&(window.customEntityData[xf]||(window.customEntityData[xf]={aliases:Pf,file:Cf})),lf.push(xf)}),delete wo["ve-entity"],ut==null||ut.setAttribute("data-entities",lf.join(" "));function yf($f){let xf=document.createElement("ul");return $f.forEach(Pf=>{let Cf=document.createElement("li");Cf.innerText=W(Pf),xf.appendChild(Cf)}),xf}function cf($f,xf,Pf){Object.entries(xf).filter(([Cf,Af])=>Pf[Cf]!==void 0).forEach(([Cf,Af])=>{$f.setAttribute(Pf[Cf]||Cf,Af==="false"?"":Af==="true"?null:Af)})}function vf($f,xf,Pf){let Cf=document.createElement($f);return Cf.setAttribute("slot",xf),xf==="ve-carousel"?(cf(Cf,Pf[0],{autoplay:"",caption:"",loop:"",navigation:"",pagination:""}),Cf.appendChild(yf(Pf))):xf==="ve-compare"?(cf(Cf,Pf[0],{caption:""}),Cf.appendChild(yf(Pf))):xf==="ve-iframe"?cf(Cf,Pf[0],{allow:"",allowfullscreen:"",allowtransparency:"",caption:"",frameborder:"",loading:"",name:"",src:""}):xf==="ve-image"||xf==="ve-gallery"?Pf.length===1?cf(Cf,Pf[0],{attribution:"",caption:"",data:"","data-id":"",description:"",fit:"",label:"",license:"",manifest:"",refresh:"",region:"",rotate:"",rotation:"",seq:"",src:"",title:"",url:"","zoom-on-scroll":""}):(cf(Cf,Pf[0],{"zoom-on-scroll":""}),Cf.appendChild(yf(Pf))):xf==="ve-knightlab-timeline"?cf(Cf,Pf[0],{caption:"","hash-bookmark":"","initial-zoom":"",source:"","timenav-position":""}):xf==="ve-map"?(cf(Cf,Pf[0],{basemap:"basemaps",caption:"",center:"",data:"","data-id":"",entities:"","gesture-handling":"","gh-dir":"",marker:"",overlay:"","prefer-geojson":"","scroll-wheel-zoom":"",title:"",zoom:"","zoom-on-click":""}),Cf.appendChild(yf(Pf.slice(1)))):xf==="ve-plant-specimen"?cf(Cf,Pf[0],{caption:"",eid:"",jpid:"",max:"",qid:"","taxon-name":"",wdid:""}):xf==="ve-video"?cf(Cf,Pf[0],{alt:"",autoplay:"",caption:"","data-id":"",end:"",fit:"",id:"",muted:"","no-caption":"",poster:"",src:"",start:"",sync:"",vid:""}):xf==="ve-visjs"?cf(Cf,Pf[0],{caption:"",edges:"",hierarchical:"",nodes:"",title:"caption",url:""}):xf==="data"?Cf.appendChild(yf(Pf)):console.log(`makeViewer: slotName ${xf} not recognized, props=${Object.keys(Pf[0]||{})}`),Cf}let _f=document.createElement("ve-j1-viewers-slots");_f.dataset.id=ot,yn.appendChild(_f),_f.setAttribute("viewers",[...Object.keys(wo).filter($f=>$f!=="ve-map-marker"&&$f!=="ve-map-layer"),...mode==="dev"?["data"]:[]].join(" ")),Object.entries(wo).forEach(([$f,xf])=>{$f==="ve-map-marker"||$f==="ve-map-layer"||(xf[0].entities=lf.join(" "),xf[0]["data-id"]=_f.dataset.id,$f==="ve-map"?_f.appendChild(vf("ve-map",$f,[...xf,...Object.values(wo["ve-map-marker"]||{}),...Object.values(wo["ve-map-layer"]||{})].sort((Pf,Cf)=>Pf.idx-Cf.idx))):_f.appendChild(vf($f,$f,xf)))}),_f.appendChild(vf("div","data",uo))}),Array.from(F.querySelectorAll(".segment")).forEach(rt=>{let ot=rt.children[1],ut=rt.parentElement;for(;ut&&ut.tagName!=="ARTICLE";)ut.querySelectorAll(":scope > param").forEach(yn=>ot.appendChild(yn.cloneNode(!0))),ut=ut.parentElement});let q=F.querySelector("main"),K=document.createElement("main");K.className="page-content markdown-body";let X=document.createElement("div");X.className="content",X.innerHTML=q.innerHTML;let tt=document.createElement("div");return tt.className="viewers",K.appendChild(X),K.appendChild(tt),q.replaceWith(K),F}function setStickyOffsets(F){function W(K){let X=K.getBoundingClientRect();return K.tagName==="VE-HEADER"||K.tagName==="VE-BREADCRUMBS"||X.top>=0&&X.top<=window.innerHeight}let q=Array.from(F.querySelectorAll(".sticky")).filter(K=>W(K)).sort((K,X)=>{let tt=K.getBoundingClientRect().top,rt=X.getBoundingClientRect().top;return tt1){q[0].style.zIndex=`${q.length}`;for(let K=1;K=0;--ot){let ut=q[ot],yn=ut.getBoundingClientRect(),uo=yn.x,po=yn.x+yn.width;if(uo<=rt&&po>=tt){let mo=parseInt(ut.style.top.replace(/px/,""))||0;q[K].style&&(q[K].style.top=`${Math.floor(mo+yn.height)}px`);break}}}}}let priorActiveParagraph,currentActiveParagraph;function observeVisible(F,W,q=0){var rt;W=W||!1;let K=q+((rt=Array.from(F.querySelectorAll("VE-HEADER")).map(ot=>(parseInt(ot.style.top.replace(/px/,""))||0)+ot.getBoundingClientRect().height))==null?void 0:rt[0])||0;isJunctureV1=!0;const X={},tt=new IntersectionObserver((ot,ut)=>{var uo,po;for(const mo of ot){let wo=mo.target,lf=wo.id||((uo=wo.parentElement)==null?void 0:uo.id)||"",yf=mo.intersectionRatio;yf>0?X[lf]={para:wo,intersectionRatio:yf}:delete X[lf]}let yn=Object.values(X).sort((mo,wo)=>wo.intersectionRatio-mo.intersectionRatio||mo.para.getBoundingClientRect().top-wo.para.getBoundingClientRect().top);if(W)currentActiveParagraph=(po=yn[0])==null?void 0:po.para;else{let mo=yn.find(wo=>wo.para.classList.contains("active"));mo&&(currentActiveParagraph=mo.para)}if(currentActiveParagraph!==priorActiveParagraph){let mo,wo;isJunctureV1&&(mo=priorActiveParagraph==null?void 0:priorActiveParagraph.nextElementSibling,wo=currentActiveParagraph==null?void 0:currentActiveParagraph.nextElementSibling,mo&&mo.classList.remove("active")),priorActiveParagraph=currentActiveParagraph,W&&(F.querySelectorAll("p.active, ol.active, ul.active").forEach(lf=>lf.classList.remove("active")),currentActiveParagraph==null||currentActiveParagraph.classList.add("active"),wo&&wo.classList.add("active")),setStickyOffsets(F)}},{root:null,threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:`${K?-K:0}px 0px 0px 0px`});F.querySelectorAll("p, .segment > ol, .segment > ul").forEach(ot=>tt.observe(ot))}function isJunctureV1(F){return!!F.querySelector("param[ve-config]")}function elFromHtml(F){return new DOMParser().parseFromString(F,"text/html").querySelector("body")}function markdownToHtml(F){return marked$1.use(window.markedFootnote()).parse(F)}function structureContent(F){let W=document.createElement("main");W.innerHTML=F,convertTags(W);let q=restructure(W);return isJunctureV1(W)&&(q=restructureForJ1(q)),q}const _hoisted_1$u=["innerHTML"],_sfc_main$w=defineComponent({__name:"Article.ce",props:{base:{type:String},branch:{type:String,default:"main"},owner:{type:String},path:{type:String,default:"README.md"},repo:{type:String},repoIsWritable:{type:Boolean,default:!1}},setup(F){const W=F,q=ref(null),K=computed(()=>{var ut,yn;return(yn=(ut=q.value)==null?void 0:ut.getRootNode())==null?void 0:yn.host});watch$1(K,ut=>{ut.parentElement.addEventListener("scroll",()=>ot())}),watch$1(q,()=>{setTimeout(()=>ot(),200)});const X=ref(),tt=computed(()=>"article markdown-body");watch$1(X,()=>{nextTick(()=>{observeVisible(q.value,!0,612)})});const rt=ref(W.repoIsWritable);watch$1(W,()=>{rt.value=W.repoIsWritable});function ot(){var uo,po;let ut=(uo=q.value)==null?void 0:uo.querySelector("ve-header"),yn=(po=q.value)==null?void 0:po.querySelector(".viewers.active");if(ut&&yn){let mo=ut.getBoundingClientRect().top,wo=ut.getBoundingClientRect().height,lf=mo+wo;yn.style.top=`${lf}px`,yn.style.height=`calc(100dvh - ${lf+32}px)`}}return onMounted(async()=>{let ut=new DOMParser().parseFromString(K.value.textContent,"text/html").body;ut.querySelectorAll("ve-image, ve-map, ve-gallery").forEach(yn=>{yn.setAttribute("base",W.base),rt&&yn.setAttribute("repo-is-writable","")}),X.value=ut.innerHTML}),(ut,yn)=>(openBlock(),createElementBlock("article",{ref_key:"article",ref:q,innerHTML:X.value,class:normalizeClass(tt.value),style:{width:"100%"}},null,10,_hoisted_1$u))}}),_style_0$u=`@import"https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900";.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:#1f2328;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:#0969da;text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:600}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body mark{background-color:#fff8c5;color:#1f2328}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid hsla(210,18%,87%,1);height:.25em;padding:0;margin:24px 0;background-color:#d0d7de;border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:#6e7781;opacity:1}.markdown-body ::placeholder{color:#6e7781;opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:#1f2328;vertical-align:middle;background-color:#f6f8fa;border:solid 1px rgba(175,184,193,.2);border-bottom-color:#afb8c133;border-radius:6px;box-shadow:inset 0 -1px #afb8c133}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:#656d76}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:#656d76;border-left:.25em solid #d0d7de}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:8px!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:#d1242f}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1f2328;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #d0d7de}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:#fff;border-top:1px solid hsla(210,18%,87%,1)}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #d0d7de}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#1f2328}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:#afb8c133;border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:#1f2328;background-color:#f6f8fa;border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:#ffffff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:#f6f8fa;border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:#656d76;border-top:1px solid #d0d7de}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid #0969da;border-radius:6px}.markdown-body .footnotes li:target{color:#1f2328}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:#57606a}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0550ae}.markdown-body .pl-e,.markdown-body .pl-en{color:#6639ba}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:#24292f}.markdown-body .pl-ent{color:#116329}.markdown-body .pl-k{color:#cf222e}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:#0a3069}.markdown-body .pl-v,.markdown-body .pl-smw{color:#953800}.markdown-body .pl-bu{color:#82071e}.markdown-body .pl-ii{color:#f6f8fa;background-color:#82071e}.markdown-body .pl-c2{color:#f6f8fa;background-color:#cf222e}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#116329}.markdown-body .pl-ml{color:#3b2300}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#0550ae}.markdown-body .pl-mi{font-style:italic;color:#24292f}.markdown-body .pl-mb{font-weight:700;color:#24292f}.markdown-body .pl-md{color:#82071e;background-color:#ffebe9}.markdown-body .pl-mi1{color:#116329;background-color:#dafbe1}.markdown-body .pl-mc{color:#953800;background-color:#ffd8b5}.markdown-body .pl-mi2{color:#eaeef2;background-color:#0550ae}.markdown-body .pl-mdr{font-weight:700;color:#8250df}.markdown-body .pl-ba{color:#57606a}.markdown-body .pl-sg{color:#8c959f}.markdown-body .pl-corl{text-decoration:underline;color:#0a3069}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:400}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:8px 16px;margin-bottom:16px;color:inherit;border-left:.25em solid #d0d7de}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:500;align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:#0969da}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:#0969da}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:#8250df}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:#8250df}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:#9a6700}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:#9a6700}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:#1f883d}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:#cf222e}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:#d1242f}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-auto-rows:1fr;row-gap:2em;-moz-column-gap:3em;column-gap:3em}.cards.wrapper{margin-top:0}.cards.wrapper>section{padding:0}.card{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto 1fr 0px;padding:0}.card p{border:none}.card>img{grid-area:1 / 1 / 2 / 2;width:100%;height:300px;-o-object-fit:cover;object-fit:cover}.card>a{grid-area:2 / 1 / 3 / 2;font-weight:700;font-size:1.5em;line-height:1.2;padding:1.3rem .5rem .2rem;text-decoration:none;color:#0164b9}.card>a:hover{text-decoration:underline}.card>ul{grid-area:3 / 1 / 4 / 2;list-style:none;padding:.4rem .5rem;margin:0;font-size:1rem;font-weight:400;max-height:260px;overflow-y:scroll}.clamp5{-webkit-line-clamp:5}.read-more input{opacity:0;position:absolute;pointer-events:none}.read-more input:focus~label{outline:-webkit-focus-ring-color auto 5px}.read-more input:checked+p{-webkit-line-clamp:unset}.read-more input:checked~label,.read-more p:not(.truncated)~label{display:none}.read-more>p{grid-area:4 / 1 / 5 / 2;align-self:flex-start;min-height:100px;line-height:1.4;font-size:.9em;padding:.5rem .5rem 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;margin:0 0 .2rem;-webkit-line-clamp:8}.read-more label{margin-left:.5rem;border-radius:4px;padding:.2em .6em;border:1px solid #555;background-color:#777;color:#fff;font-size:.7em}.read-more label:hover{background-color:#555}@media only screen and (max-width: 768px){.cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));-moz-column-gap:1em;column-gap:1em;row-gap:1/5em}.card{font-size:1em;line-height:1.2;border:1px solid #eee;border-radius:.5em}.card>img{height:150px}.card>a{font-size:1.2em;padding:.8rem .5rem .2rem}}:root,:host,.sl-theme-light{color-scheme:light;--sl-color-gray-50: hsl(0 0% 97.5%);--sl-color-gray-100: hsl(240 4.8% 95.9%);--sl-color-gray-200: hsl(240 5.9% 90%);--sl-color-gray-300: hsl(240 4.9% 83.9%);--sl-color-gray-400: hsl(240 5% 64.9%);--sl-color-gray-500: hsl(240 3.8% 46.1%);--sl-color-gray-600: hsl(240 5.2% 33.9%);--sl-color-gray-700: hsl(240 5.3% 26.1%);--sl-color-gray-800: hsl(240 3.7% 15.9%);--sl-color-gray-900: hsl(240 5.9% 10%);--sl-color-gray-950: hsl(240 7.3% 8%);--sl-color-red-50: hsl(0 85.7% 97.3%);--sl-color-red-100: hsl(0 93.3% 94.1%);--sl-color-red-200: hsl(0 96.3% 89.4%);--sl-color-red-300: hsl(0 93.5% 81.8%);--sl-color-red-400: hsl(0 90.6% 70.8%);--sl-color-red-500: hsl(0 84.2% 60.2%);--sl-color-red-600: hsl(0 72.2% 50.6%);--sl-color-red-700: hsl(0 73.7% 41.8%);--sl-color-red-800: hsl(0 70% 35.3%);--sl-color-red-900: hsl(0 62.8% 30.6%);--sl-color-red-950: hsl(0 60% 19.6%);--sl-color-orange-50: hsl(33.3 100% 96.5%);--sl-color-orange-100: hsl(34.3 100% 91.8%);--sl-color-orange-200: hsl(32.1 97.7% 83.1%);--sl-color-orange-300: hsl(30.7 97.2% 72.4%);--sl-color-orange-400: hsl(27 96% 61%);--sl-color-orange-500: hsl(24.6 95% 53.1%);--sl-color-orange-600: hsl(20.5 90.2% 48.2%);--sl-color-orange-700: hsl(17.5 88.3% 40.4%);--sl-color-orange-800: hsl(15 79.1% 33.7%);--sl-color-orange-900: hsl(15.3 74.6% 27.8%);--sl-color-orange-950: hsl(15.2 69.1% 19%);--sl-color-amber-50: hsl(48 100% 96.1%);--sl-color-amber-100: hsl(48 96.5% 88.8%);--sl-color-amber-200: hsl(48 96.6% 76.7%);--sl-color-amber-300: hsl(45.9 96.7% 64.5%);--sl-color-amber-400: hsl(43.3 96.4% 56.3%);--sl-color-amber-500: hsl(37.7 92.1% 50.2%);--sl-color-amber-600: hsl(32.1 94.6% 43.7%);--sl-color-amber-700: hsl(26 90.5% 37.1%);--sl-color-amber-800: hsl(22.7 82.5% 31.4%);--sl-color-amber-900: hsl(21.7 77.8% 26.5%);--sl-color-amber-950: hsl(22.9 74.1% 16.7%);--sl-color-yellow-50: hsl(54.5 91.7% 95.3%);--sl-color-yellow-100: hsl(54.9 96.7% 88%);--sl-color-yellow-200: hsl(52.8 98.3% 76.9%);--sl-color-yellow-300: hsl(50.4 97.8% 63.5%);--sl-color-yellow-400: hsl(47.9 95.8% 53.1%);--sl-color-yellow-500: hsl(45.4 93.4% 47.5%);--sl-color-yellow-600: hsl(40.6 96.1% 40.4%);--sl-color-yellow-700: hsl(35.5 91.7% 32.9%);--sl-color-yellow-800: hsl(31.8 81% 28.8%);--sl-color-yellow-900: hsl(28.4 72.5% 25.7%);--sl-color-yellow-950: hsl(33.1 69% 13.9%);--sl-color-lime-50: hsl(78.3 92% 95.1%);--sl-color-lime-100: hsl(79.6 89.1% 89.2%);--sl-color-lime-200: hsl(80.9 88.5% 79.6%);--sl-color-lime-300: hsl(82 84.5% 67.1%);--sl-color-lime-400: hsl(82.7 78% 55.5%);--sl-color-lime-500: hsl(83.7 80.5% 44.3%);--sl-color-lime-600: hsl(84.8 85.2% 34.5%);--sl-color-lime-700: hsl(85.9 78.4% 27.3%);--sl-color-lime-800: hsl(86.3 69% 22.7%);--sl-color-lime-900: hsl(87.6 61.2% 20.2%);--sl-color-lime-950: hsl(86.5 60.6% 13.9%);--sl-color-green-50: hsl(138.5 76.5% 96.7%);--sl-color-green-100: hsl(140.6 84.2% 92.5%);--sl-color-green-200: hsl(141 78.9% 85.1%);--sl-color-green-300: hsl(141.7 76.6% 73.1%);--sl-color-green-400: hsl(141.9 69.2% 58%);--sl-color-green-500: hsl(142.1 70.6% 45.3%);--sl-color-green-600: hsl(142.1 76.2% 36.3%);--sl-color-green-700: hsl(142.4 71.8% 29.2%);--sl-color-green-800: hsl(142.8 64.2% 24.1%);--sl-color-green-900: hsl(143.8 61.2% 20.2%);--sl-color-green-950: hsl(144.3 60.7% 12%);--sl-color-emerald-50: hsl(151.8 81% 95.9%);--sl-color-emerald-100: hsl(149.3 80.4% 90%);--sl-color-emerald-200: hsl(152.4 76% 80.4%);--sl-color-emerald-300: hsl(156.2 71.6% 66.9%);--sl-color-emerald-400: hsl(158.1 64.4% 51.6%);--sl-color-emerald-500: hsl(160.1 84.1% 39.4%);--sl-color-emerald-600: hsl(161.4 93.5% 30.4%);--sl-color-emerald-700: hsl(162.9 93.5% 24.3%);--sl-color-emerald-800: hsl(163.1 88.1% 19.8%);--sl-color-emerald-900: hsl(164.2 85.7% 16.5%);--sl-color-emerald-950: hsl(164.3 87.5% 9.4%);--sl-color-teal-50: hsl(166.2 76.5% 96.7%);--sl-color-teal-100: hsl(167.2 85.5% 89.2%);--sl-color-teal-200: hsl(168.4 83.8% 78.2%);--sl-color-teal-300: hsl(170.6 76.9% 64.3%);--sl-color-teal-400: hsl(172.5 66% 50.4%);--sl-color-teal-500: hsl(173.4 80.4% 40%);--sl-color-teal-600: hsl(174.7 83.9% 31.6%);--sl-color-teal-700: hsl(175.3 77.4% 26.1%);--sl-color-teal-800: hsl(176.1 69.4% 21.8%);--sl-color-teal-900: hsl(175.9 60.8% 19%);--sl-color-teal-950: hsl(176.5 58.6% 11.4%);--sl-color-cyan-50: hsl(183.2 100% 96.3%);--sl-color-cyan-100: hsl(185.1 95.9% 90.4%);--sl-color-cyan-200: hsl(186.2 93.5% 81.8%);--sl-color-cyan-300: hsl(187 92.4% 69%);--sl-color-cyan-400: hsl(187.9 85.7% 53.3%);--sl-color-cyan-500: hsl(188.7 94.5% 42.7%);--sl-color-cyan-600: hsl(191.6 91.4% 36.5%);--sl-color-cyan-700: hsl(192.9 82.3% 31%);--sl-color-cyan-800: hsl(194.4 69.6% 27.1%);--sl-color-cyan-900: hsl(196.4 63.6% 23.7%);--sl-color-cyan-950: hsl(196.8 61% 16.1%);--sl-color-sky-50: hsl(204 100% 97.1%);--sl-color-sky-100: hsl(204 93.8% 93.7%);--sl-color-sky-200: hsl(200.6 94.4% 86.1%);--sl-color-sky-300: hsl(199.4 95.5% 73.9%);--sl-color-sky-400: hsl(198.4 93.2% 59.6%);--sl-color-sky-500: hsl(198.6 88.7% 48.4%);--sl-color-sky-600: hsl(200.4 98% 39.4%);--sl-color-sky-700: hsl(201.3 96.3% 32.2%);--sl-color-sky-800: hsl(201 90% 27.5%);--sl-color-sky-900: hsl(202 80.3% 23.9%);--sl-color-sky-950: hsl(202.3 73.8% 16.5%);--sl-color-blue-50: hsl(213.8 100% 96.9%);--sl-color-blue-100: hsl(214.3 94.6% 92.7%);--sl-color-blue-200: hsl(213.3 96.9% 87.3%);--sl-color-blue-300: hsl(211.7 96.4% 78.4%);--sl-color-blue-400: hsl(213.1 93.9% 67.8%);--sl-color-blue-500: hsl(217.2 91.2% 59.8%);--sl-color-blue-600: hsl(221.2 83.2% 53.3%);--sl-color-blue-700: hsl(224.3 76.3% 48%);--sl-color-blue-800: hsl(225.9 70.7% 40.2%);--sl-color-blue-900: hsl(224.4 64.3% 32.9%);--sl-color-blue-950: hsl(226.2 55.3% 18.4%);--sl-color-indigo-50: hsl(225.9 100% 96.7%);--sl-color-indigo-100: hsl(226.5 100% 93.9%);--sl-color-indigo-200: hsl(228 96.5% 88.8%);--sl-color-indigo-300: hsl(229.7 93.5% 81.8%);--sl-color-indigo-400: hsl(234.5 89.5% 73.9%);--sl-color-indigo-500: hsl(238.7 83.5% 66.7%);--sl-color-indigo-600: hsl(243.4 75.4% 58.6%);--sl-color-indigo-700: hsl(244.5 57.9% 50.6%);--sl-color-indigo-800: hsl(243.7 54.5% 41.4%);--sl-color-indigo-900: hsl(242.2 47.4% 34.3%);--sl-color-indigo-950: hsl(243.5 43.6% 22.9%);--sl-color-violet-50: hsl(250 100% 97.6%);--sl-color-violet-100: hsl(251.4 91.3% 95.5%);--sl-color-violet-200: hsl(250.5 95.2% 91.8%);--sl-color-violet-300: hsl(252.5 94.7% 85.1%);--sl-color-violet-400: hsl(255.1 91.7% 76.3%);--sl-color-violet-500: hsl(258.3 89.5% 66.3%);--sl-color-violet-600: hsl(262.1 83.3% 57.8%);--sl-color-violet-700: hsl(263.4 70% 50.4%);--sl-color-violet-800: hsl(263.4 69.3% 42.2%);--sl-color-violet-900: hsl(263.5 67.4% 34.9%);--sl-color-violet-950: hsl(265.1 61.5% 21.4%);--sl-color-purple-50: hsl(270 100% 98%);--sl-color-purple-100: hsl(268.7 100% 95.5%);--sl-color-purple-200: hsl(268.6 100% 91.8%);--sl-color-purple-300: hsl(269.2 97.4% 85.1%);--sl-color-purple-400: hsl(270 95.2% 75.3%);--sl-color-purple-500: hsl(270.7 91% 65.1%);--sl-color-purple-600: hsl(271.5 81.3% 55.9%);--sl-color-purple-700: hsl(272.1 71.7% 47.1%);--sl-color-purple-800: hsl(272.9 67.2% 39.4%);--sl-color-purple-900: hsl(273.6 65.6% 32%);--sl-color-purple-950: hsl(276 59.5% 16.5%);--sl-color-fuchsia-50: hsl(289.1 100% 97.8%);--sl-color-fuchsia-100: hsl(287 100% 95.5%);--sl-color-fuchsia-200: hsl(288.3 95.8% 90.6%);--sl-color-fuchsia-300: hsl(291.1 93.1% 82.9%);--sl-color-fuchsia-400: hsl(292 91.4% 72.5%);--sl-color-fuchsia-500: hsl(292.2 84.1% 60.6%);--sl-color-fuchsia-600: hsl(293.4 69.5% 48.8%);--sl-color-fuchsia-700: hsl(294.7 72.4% 39.8%);--sl-color-fuchsia-800: hsl(295.4 70.2% 32.9%);--sl-color-fuchsia-900: hsl(296.7 63.6% 28%);--sl-color-fuchsia-950: hsl(297.1 56.8% 14.5%);--sl-color-pink-50: hsl(327.3 73.3% 97.1%);--sl-color-pink-100: hsl(325.7 77.8% 94.7%);--sl-color-pink-200: hsl(325.9 84.6% 89.8%);--sl-color-pink-300: hsl(327.4 87.1% 81.8%);--sl-color-pink-400: hsl(328.6 85.5% 70.2%);--sl-color-pink-500: hsl(330.4 81.2% 60.4%);--sl-color-pink-600: hsl(333.3 71.4% 50.6%);--sl-color-pink-700: hsl(335.1 77.6% 42%);--sl-color-pink-800: hsl(335.8 74.4% 35.3%);--sl-color-pink-900: hsl(335.9 69% 30.4%);--sl-color-pink-950: hsl(336.2 65.4% 15.9%);--sl-color-rose-50: hsl(355.7 100% 97.3%);--sl-color-rose-100: hsl(355.6 100% 94.7%);--sl-color-rose-200: hsl(352.7 96.1% 90%);--sl-color-rose-300: hsl(352.6 95.7% 81.8%);--sl-color-rose-400: hsl(351.3 94.5% 71.4%);--sl-color-rose-500: hsl(349.7 89.2% 60.2%);--sl-color-rose-600: hsl(346.8 77.2% 49.8%);--sl-color-rose-700: hsl(345.3 82.7% 40.8%);--sl-color-rose-800: hsl(343.4 79.7% 34.7%);--sl-color-rose-900: hsl(341.5 75.5% 30.4%);--sl-color-rose-950: hsl(341.3 70.1% 17.1%);--sl-color-primary-50: var(--sl-color-sky-50);--sl-color-primary-100: var(--sl-color-sky-100);--sl-color-primary-200: var(--sl-color-sky-200);--sl-color-primary-300: var(--sl-color-sky-300);--sl-color-primary-400: var(--sl-color-sky-400);--sl-color-primary-500: var(--sl-color-sky-500);--sl-color-primary-600: var(--sl-color-sky-600);--sl-color-primary-700: var(--sl-color-sky-700);--sl-color-primary-800: var(--sl-color-sky-800);--sl-color-primary-900: var(--sl-color-sky-900);--sl-color-primary-950: var(--sl-color-sky-950);--sl-color-success-50: var(--sl-color-green-50);--sl-color-success-100: var(--sl-color-green-100);--sl-color-success-200: var(--sl-color-green-200);--sl-color-success-300: var(--sl-color-green-300);--sl-color-success-400: var(--sl-color-green-400);--sl-color-success-500: var(--sl-color-green-500);--sl-color-success-600: var(--sl-color-green-600);--sl-color-success-700: var(--sl-color-green-700);--sl-color-success-800: var(--sl-color-green-800);--sl-color-success-900: var(--sl-color-green-900);--sl-color-success-950: var(--sl-color-green-950);--sl-color-warning-50: var(--sl-color-amber-50);--sl-color-warning-100: var(--sl-color-amber-100);--sl-color-warning-200: var(--sl-color-amber-200);--sl-color-warning-300: var(--sl-color-amber-300);--sl-color-warning-400: var(--sl-color-amber-400);--sl-color-warning-500: var(--sl-color-amber-500);--sl-color-warning-600: var(--sl-color-amber-600);--sl-color-warning-700: var(--sl-color-amber-700);--sl-color-warning-800: var(--sl-color-amber-800);--sl-color-warning-900: var(--sl-color-amber-900);--sl-color-warning-950: var(--sl-color-amber-950);--sl-color-danger-50: var(--sl-color-red-50);--sl-color-danger-100: var(--sl-color-red-100);--sl-color-danger-200: var(--sl-color-red-200);--sl-color-danger-300: var(--sl-color-red-300);--sl-color-danger-400: var(--sl-color-red-400);--sl-color-danger-500: var(--sl-color-red-500);--sl-color-danger-600: var(--sl-color-red-600);--sl-color-danger-700: var(--sl-color-red-700);--sl-color-danger-800: var(--sl-color-red-800);--sl-color-danger-900: var(--sl-color-red-900);--sl-color-danger-950: var(--sl-color-red-950);--sl-color-neutral-50: var(--sl-color-gray-50);--sl-color-neutral-100: var(--sl-color-gray-100);--sl-color-neutral-200: var(--sl-color-gray-200);--sl-color-neutral-300: var(--sl-color-gray-300);--sl-color-neutral-400: var(--sl-color-gray-400);--sl-color-neutral-500: var(--sl-color-gray-500);--sl-color-neutral-600: var(--sl-color-gray-600);--sl-color-neutral-700: var(--sl-color-gray-700);--sl-color-neutral-800: var(--sl-color-gray-800);--sl-color-neutral-900: var(--sl-color-gray-900);--sl-color-neutral-950: var(--sl-color-gray-950);--sl-color-neutral-0: hsl(0, 0%, 100%);--sl-color-neutral-1000: hsl(0, 0%, 0%);--sl-border-radius-small: .1875rem;--sl-border-radius-medium: .25rem;--sl-border-radius-large: .5rem;--sl-border-radius-x-large: 1rem;--sl-border-radius-circle: 50%;--sl-border-radius-pill: 9999px;--sl-shadow-x-small: 0 1px 2px hsl(240 3.8% 46.1% / 6%);--sl-shadow-small: 0 1px 2px hsl(240 3.8% 46.1% / 12%);--sl-shadow-medium: 0 2px 4px hsl(240 3.8% 46.1% / 12%);--sl-shadow-large: 0 2px 8px hsl(240 3.8% 46.1% / 12%);--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 12%);--sl-spacing-3x-small: .125rem;--sl-spacing-2x-small: .25rem;--sl-spacing-x-small: .5rem;--sl-spacing-small: .75rem;--sl-spacing-medium: 1rem;--sl-spacing-large: 1.25rem;--sl-spacing-x-large: 1.75rem;--sl-spacing-2x-large: 2.25rem;--sl-spacing-3x-large: 3rem;--sl-spacing-4x-large: 4.5rem;--sl-transition-x-slow: 1s;--sl-transition-slow: .5s;--sl-transition-medium: .25s;--sl-transition-fast: .15s;--sl-transition-x-fast: 50ms;--sl-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;--sl-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--sl-font-serif: Georgia, "Times New Roman", serif;--sl-font-size-2x-small: .625rem;--sl-font-size-x-small: .75rem;--sl-font-size-small: .875rem;--sl-font-size-medium: 1rem;--sl-font-size-large: 1.25rem;--sl-font-size-x-large: 1.5rem;--sl-font-size-2x-large: 2.25rem;--sl-font-size-3x-large: 3rem;--sl-font-size-4x-large: 4.5rem;--sl-font-weight-light: 300;--sl-font-weight-normal: 400;--sl-font-weight-semibold: 500;--sl-font-weight-bold: 700;--sl-letter-spacing-denser: -.03em;--sl-letter-spacing-dense: -.015em;--sl-letter-spacing-normal: normal;--sl-letter-spacing-loose: .075em;--sl-letter-spacing-looser: .15em;--sl-line-height-denser: 1;--sl-line-height-dense: 1.4;--sl-line-height-normal: 1.8;--sl-line-height-loose: 2.2;--sl-line-height-looser: 2.6;--sl-focus-ring-color: var(--sl-color-primary-600);--sl-focus-ring-style: solid;--sl-focus-ring-width: 3px;--sl-focus-ring: var(--sl-focus-ring-style) var(--sl-focus-ring-width) var(--sl-focus-ring-color);--sl-focus-ring-offset: 1px;--sl-button-font-size-small: var(--sl-font-size-x-small);--sl-button-font-size-medium: var(--sl-font-size-small);--sl-button-font-size-large: var(--sl-font-size-medium);--sl-input-height-small: 1.875rem;--sl-input-height-medium: 2.5rem;--sl-input-height-large: 3.125rem;--sl-input-background-color: var(--sl-color-neutral-0);--sl-input-background-color-hover: var(--sl-input-background-color);--sl-input-background-color-focus: var(--sl-input-background-color);--sl-input-background-color-disabled: var(--sl-color-neutral-100);--sl-input-border-color: var(--sl-color-neutral-300);--sl-input-border-color-hover: var(--sl-color-neutral-400);--sl-input-border-color-focus: var(--sl-color-primary-500);--sl-input-border-color-disabled: var(--sl-color-neutral-300);--sl-input-border-width: 1px;--sl-input-required-content: "*";--sl-input-required-content-offset: -2px;--sl-input-required-content-color: var(--sl-input-label-color);--sl-input-border-radius-small: var(--sl-border-radius-medium);--sl-input-border-radius-medium: var(--sl-border-radius-medium);--sl-input-border-radius-large: var(--sl-border-radius-medium);--sl-input-font-family: var(--sl-font-sans);--sl-input-font-weight: var(--sl-font-weight-normal);--sl-input-font-size-small: var(--sl-font-size-small);--sl-input-font-size-medium: var(--sl-font-size-medium);--sl-input-font-size-large: var(--sl-font-size-large);--sl-input-letter-spacing: var(--sl-letter-spacing-normal);--sl-input-color: var(--sl-color-neutral-700);--sl-input-color-hover: var(--sl-color-neutral-700);--sl-input-color-focus: var(--sl-color-neutral-700);--sl-input-color-disabled: var(--sl-color-neutral-900);--sl-input-icon-color: var(--sl-color-neutral-500);--sl-input-icon-color-hover: var(--sl-color-neutral-600);--sl-input-icon-color-focus: var(--sl-color-neutral-600);--sl-input-placeholder-color: var(--sl-color-neutral-500);--sl-input-placeholder-color-disabled: var(--sl-color-neutral-600);--sl-input-spacing-small: var(--sl-spacing-small);--sl-input-spacing-medium: var(--sl-spacing-medium);--sl-input-spacing-large: var(--sl-spacing-large);--sl-input-focus-ring-color: hsl(198.6 88.7% 48.4% / 40%);--sl-input-focus-ring-offset: 0;--sl-input-filled-background-color: var(--sl-color-neutral-100);--sl-input-filled-background-color-hover: var(--sl-color-neutral-100);--sl-input-filled-background-color-focus: var(--sl-color-neutral-100);--sl-input-filled-background-color-disabled: var(--sl-color-neutral-100);--sl-input-filled-color: var(--sl-color-neutral-800);--sl-input-filled-color-hover: var(--sl-color-neutral-800);--sl-input-filled-color-focus: var(--sl-color-neutral-700);--sl-input-filled-color-disabled: var(--sl-color-neutral-800);--sl-input-label-font-size-small: var(--sl-font-size-small);--sl-input-label-font-size-medium: var(--sl-font-size-medium);--sl-input-label-font-size-large: var(--sl-font-size-large);--sl-input-label-color: inherit;--sl-input-help-text-font-size-small: var(--sl-font-size-x-small);--sl-input-help-text-font-size-medium: var(--sl-font-size-small);--sl-input-help-text-font-size-large: var(--sl-font-size-medium);--sl-input-help-text-color: var(--sl-color-neutral-500);--sl-toggle-size-small: .875rem;--sl-toggle-size-medium: 1.125rem;--sl-toggle-size-large: 1.375rem;--sl-overlay-background-color: hsl(240 3.8% 46.1% / 33%);--sl-panel-background-color: var(--sl-color-neutral-0);--sl-panel-border-color: var(--sl-color-neutral-200);--sl-panel-border-width: 1px;--sl-tooltip-border-radius: var(--sl-border-radius-medium);--sl-tooltip-background-color: var(--sl-color-neutral-800);--sl-tooltip-color: var(--sl-color-neutral-0);--sl-tooltip-font-family: var(--sl-font-sans);--sl-tooltip-font-weight: var(--sl-font-weight-normal);--sl-tooltip-font-size: var(--sl-font-size-small);--sl-tooltip-line-height: var(--sl-line-height-dense);--sl-tooltip-padding: var(--sl-spacing-2x-small) var(--sl-spacing-x-small);--sl-tooltip-arrow-size: 6px;--sl-z-index-drawer: 700;--sl-z-index-dialog: 800;--sl-z-index-dropdown: 900;--sl-z-index-toast: 950;--sl-z-index-tooltip: 1000}.sl-scroll-lock{padding-right:var(--sl-scroll-lock-size)!important;overflow:hidden!important}.sl-toast-stack{position:fixed;top:0;inset-inline-end:0;z-index:var(--sl-z-index-toast);width:28rem;max-width:100%;max-height:100%;overflow:auto}.sl-toast-stack sl-alert{margin:var(--sl-spacing-medium)}.sl-toast-stack sl-alert::part(base){box-shadow:var(--sl-shadow-large)}*,*:before,*:after{box-sizing:border-box}*{margin:0}@keyframes fadeInAnimation{0%{opacity:0}to{opacity:1}}article{font-family:Roboto,sans-serif;animation:fadeInAnimation ease .3s;animation-iteration-count:1;animation-fill-mode:forwards;width:min(1200px,100% - 4rem);margin-inline:auto;background-color:#fff}article .markdown-body h1,article .markdown-body h2{border-bottom:none;padding-bottom:0}article .markdown-body li>p{margin:0}article .markdown-body{font-size:1.2em;line-height:1.5;margin-top:1em}article .markdown-body pre code{white-space:pre-wrap}@media only screen and (max-width: 768px){article{font-size:1em;width:calc(100% - 2em)}ve-header{width:100%}}section{position:relative;clear:both;margin-block-start:0;margin-block-end:0;background-color:inherit}.flow-root section{display:flow-root}.flow-root section h1,.flow-root section h2,.flow-root section h3,.flow-root section h4,.flow-root section h5,.flow-root section h6{margin-top:12px;margin-bottom:12px}ve-snippet,ve-footer ul,ve-header ul,ve-image ul,ve-map ul,ve-menu ul,ve-navbar ul,ve-snippet pre{display:none}ve-image,ve-map{margin-bottom:2em}ve-image img{max-width:100%;height:auto}ve-entity-infobox{position:relative;border-bottom:1px solid #ccc}ve-header{z-index:10;margin-bottom:1em}.columns{display:grid;gap:1em;grid-template-columns:repeat(auto-fit,minmax(275px,1fr))}.sticky{position:sticky;top:0;background-color:inherit;z-index:1}.hide{display:none}ve-footer.sticky{bottom:0}@media (min-width: 600px){.left{float:left;padding-right:1em}.right{float:right;padding-left:1em}.left,.right{width:50%;margin-bottom:1em}}p audio{width:250px;height:24px;vertical-align:middle}.showactive{padding-bottom:80dvh}.showactive .active{background-color:#fff;box-shadow:#00000026 1.95px 1.95px 2.6px}section#references{margin-top:2em}section#references h1{font-size:1.5em}section#references P{font-size:1em;margin-bottom:.7em}a.flyto,mark.flyto,a.play,mark.play,a.qid,mark.qid,a.zoom,mark.zoom,ve-entity-infobox{cursor:pointer;background:unset;border-bottom:1px solid #ccc;color:#444}a.flyto:hover,mark.flyto:hover,a.play:hover,mark.play:hover,a.qid:hover,mark.qid:hover,a.zoom:hover mark.zoom:hover,ve-entity-infobox:hover{border-bottom:2px solid #444;background:#eee}a.flyto:after,mark.flyto:after,a.play:after,mark.play:after,a.qid:after,mark.qid:after,a.zoom:after,mark.zoom:after,ve-entity-infobox:after{font-size:50%;line-height:0;position:relative;vertical-align:baseline;top:-.5em;padding-left:2px;padding-right:4px}a.flyto:after,mark.flyto:after{content:"✈";font-size:120%;top:0}a.play:after,mark.play:after{content:"▶"}a.zoom:after,mark.zoom:after{content:"🔎"}p span.headline{font-weight:500}.resume>section:first-of-type{display:grid;gap:1em;grid-template-columns:repeat(auto-fit,minmax(275px,1fr))}.resume>section:first-of-type>section:nth-of-type(2){display:flex;margin-left:auto;gap:1em}.resume>section:first-of-type>section:nth-of-type(2) li{list-style:none;display:flex;align-items:center;gap:.5em}.resume>section:first-of-type>section:nth-of-type(2) li img{height:24px;width:24px}.resume>section:first-of-type>section:nth-of-type(2)>p>img{max-width:120px;height:auto;border-radius:50%;box-shadow:#0000003d 0 3px 8px}article.j1{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;grid-template-areas:"header" "main" "footer"}article.j1>*{width:100%}.j1 ve-header{grid-area:header;position:sticky;top:-300px;z-index:10;margin-bottom:0}.j1 main{grid-area:main;display:grid;grid-template-columns:1fr 0;grid-template-areas:"content viewers";background-color:#f8f8f8!important;font-size:1.3em!important;line-height:1.6!important}.j1 .content{grid-area:content;margin:.5em}.j1 .viewers{grid-area:viewers}.j1 footer{grid-area:footer}.j1 .segment{display:flex;flex-direction:column;gap:.5em;margin:1em 0}.j1 .segment>ve-j1-viewers{width:100%;align-self:center}.j1 .segment>p{margin:0;padding:0;border-radius:8px;border:1px solid #f8f8f8}.j1 .sticky{position:sticky;top:0}.j1 .footnote div,.j1 .footnotes div{white-space:unset}.j1 .footnote li>p,.j1 .footnotes li>p{margin:0;background-color:inherit;border-color:inherit;box-shadow:none}.j1 .content>section:first-of-type>h1,.j1 .content>section:first-of-type>h2,.j1 .content>section:first-of-type>h3{margin-top:0}@media (min-width: 800px){.j1 main{grid-template-columns:1fr 1fr;padding-left:1em}.j1 .content{padding-right:1em}.j1 p.active,.j1 ol.active,.j1 ul.active{background-color:#fff;box-shadow:0 0 3px 1px #00000040;border-color:#9e9e9e}.j1 .segment{margin:0}.j1 .segment>p{padding:.5em}.j1 .segment>ve-j1-viewers{display:none}.j1 .viewers{grid-area:viewers;display:block;height:calc(100dvh - 100px);margin-top:0}.j1 .viewers{visibility:hidden;position:fixed;top:100px;right:1em;height:calc(-100px + 100dvh);width:calc(50% - 1em);z-index:unset}.j1 .viewers.active{display:block;visibility:visible;z-index:5}.j1 main{display:block;width:50%}.j1 .content{margin:0 0 80dvh}}@media print{ve-footer{display:none}.pagebreak{-moz-column-break-before:always;break-before:always}.keep-together,.section2,.section3{-moz-column-break-inside:avoid;break-inside:avoid}article{font-size:1rem;padding-bottom:4em!important}.j1 main{width:100%}.j1 .viewers{visibility:visible;position:unset}.j1 .segment{flex-direction:row;margin-bottom:2em}.j1 .segment>*{flex:1}.j1 p.active{background-color:inherit;box-shadow:unset;border:1px solid #f8f8f8}.segment,ve-compare,ve-iframe,ve-image,ve-knightlab-timeline ve-map,ve-plant-specimen ve-video,ve-visjs{page-break-before:auto;page-break-after:auto;page-break-inside:avoid}}.markdown-body .footnotes,.footnote,.footnotes{font-size:.8em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host{display:block;height:100%}table[id]{display:none} +`).replace(/[^<]*<\/a>/g,"").replace(/^ve-media/,"ve-image");K.textContent=X,W.replaceWith(q)}),Array.from(F.querySelectorAll("param")).filter(W=>Array.from(W.attributes).filter(q=>q.name.indexOf("ve-")===0).length).filter(W=>W.getAttribute("ve-config")===null).forEach(W=>{let q=Array.from(W.attributes).find(K=>K.name.indexOf("ve-")===0).name;if(q){let K=tagMap[q]||{},X={tag:q};Array.from(W.attributes).forEach(tt=>{var rt;tt.name!==q&&((rt=K.booleans)!=null&&rt.has(tt.name)?(X.booleans||(X.booleans=[]),X.booleans.push(tt.name)):(X.kwargs||(X.kwargs={}),X.kwargs[tt.name]?X.kwargs[tt.name]+=` ${tt.value}`:X.kwargs[tt.name]=tt.value))}),isJunctureV1(F)||W.replaceWith(makeEl(X))}}),F.querySelectorAll("code").forEach(W=>{var K,X,tt,rt;let q=parseCodeEl(W);if(q.tag)W.parentElement.tagName==="PRE"&&(W=W.parentElement,W.parentElement.removeAttribute("id"),W.parentElement.removeAttribute("data-id"),W.parentElement.removeAttribute("class"),W.parentElement.parentElement&&(W.parentElement.parentElement.className="segment"),W.parentElement.tagName==="DIV"&&W.parentElement.children.length===1&&W.parentElement.replaceWith(W)),W.replaceWith(makeEl(q));else if(q.class||q.style||q.id||q.kwargs){let ot=W.parentElement,ut,yn=ot.previousElementSibling;if((yn==null?void 0:yn.tagName)==="EM"||(yn==null?void 0:yn.tagName)==="STRONG"?(ut=document.createElement("span"),ut.innerHTML=yn.innerHTML,yn.replaceWith(ut)):(parent==null?void 0:parent.tagName)==="TD"?(ut=(X=(K=parent==null?void 0:parent.parentElement)==null?void 0:K.parentElement)==null?void 0:X.parentElement,(tt=parent==null?void 0:parent.parentElement)==null||tt.remove()):(parent==null?void 0:parent.tagName)!=="UL"&&((yn==null?void 0:yn.tagName)==="A"||(yn==null?void 0:yn.tagName)==="IMG")?ut=yn:ut=(yn==null?void 0:yn.children.length)===1&&((rt=yn.children[0])==null?void 0:rt.tagName)==="VE-HEADER"?ot.parentElement:yn,ut){if(q.id&&(ut.id=q.id),q.class&&q.class.split(" ").forEach(uo=>ut.classList.add(uo)),q.style&&ut.setAttribute("style",Object.entries(q.style).map(([uo,po])=>`${uo}:${po}`).join(";")),q.entities&&ut.setAttribute("data-entities",q.entities.join(" ")),q.kwargs)for(const[uo,po]of Object.entries(q.kwargs))ut.setAttribute(uo,po===!0?"":po)}else console.log("no target for",q);ot.remove()}})}function restructure(F){let W=F.querySelector("style");deleteAllComments(F),F.querySelectorAll("ul, ol").forEach(ut=>{let yn=ut;ut.querySelectorAll("param").forEach(uo=>{yn.parentNode.insertBefore(uo,yn.nextSibling),yn=uo})});let q=document.createElement("main");W&&q.appendChild(W.cloneNode(!0)),q.className="page-content markdown-body",q.setAttribute("aria-label","Content"),q.setAttribute("data-theme","light"),F.style&&q.setAttribute("style",F.style.cssText);let K=q,X;Array.from(F==null?void 0:F.querySelectorAll("p")).filter(ut=>{var yn,uo;return/^[#*]{1,6}$/.test(((uo=(yn=ut.childNodes.item(0))==null?void 0:yn.nodeValue)==null?void 0:uo.trim())||"")}).forEach(ut=>{var mo,wo;let yn=(mo=ut.childNodes.item(0).nodeValue)==null?void 0:mo.trim(),uo=ut.querySelector("code"),po=document.createElement(`h${yn==null?void 0:yn.length}`);if(ut.replaceWith(po),uo){let lf=document.createElement("p");lf.appendChild(uo),(wo=po.parentElement)==null||wo.insertBefore(lf,po.nextSibling)}}),Array.from(F==null?void 0:F.querySelectorAll("p, li")).filter(ut=>{var yn;return/==.+=={.+}/.test(((yn=ut.textContent)==null?void 0:yn.trim())||"")}).forEach(ut=>{let yn=[],uo=Array.from(ut.innerHTML.matchAll(/==(?[^=]+)=={(?[^}]+)}/g));uo.forEach((po,mo)=>{var wo;if(mo===0&&yn.push(ut.innerHTML.slice(0,po.index)),po.groups){let{text:lf,attrs:yf}=po.groups;if(/\s*Q\d+\s*/.test(yf))yn.push(`${lf}`);else if(yf.indexOf("=")>0){let[cf,vf]=yf.split("=");vf[0]!=='"'&&(yf=`${cf}="${vf}"`),yn.push(`${lf}`)}yn.push(ut.innerHTML.slice(po.index+po[0].length,((wo=uo[mo+1])==null?void 0:wo.index)||ut.innerHTML.length))}}),ut.innerHTML=yn.join("")}),Array.from(F==null?void 0:F.querySelectorAll("param")).filter(ut=>Array.from(ut.attributes).filter(yn=>yn.name.indexOf("ve-")===0).length===0).forEach(ut=>{let yn=ut.previousElementSibling;ut.classList.forEach(mo=>yn==null?void 0:yn.classList.add(mo));let uo=Array.from(ut.attributes).find(mo=>mo.name==="id"),po=Array.from(ut.attributes).find(mo=>mo.name==="style");(uo||po)&&(uo&&(yn==null||yn.setAttribute("id",uo.value)),po&&(yn==null||yn.setAttribute("style",po.value)),ut.remove())}),Array.from((F==null?void 0:F.children)||[]).forEach(ut=>{var yn;if(ut.tagName[0]==="H"&&isNumeric(ut.tagName.slice(1))){let uo=ut,po=parseInt(uo.tagName.slice(1));K&&Array.from(K.children).filter(lf=>!/^H\d/.test(lf.tagName)).filter(lf=>!/PARAM/.test(lf.tagName)).filter(lf=>!/STYLE/.test(lf.tagName)).filter(lf=>!/^VE--/.test(lf.tagName)).forEach((lf,yf)=>{let cf=`${K.getAttribute("data-id")||0}.${yf+1}`;lf.setAttribute("data-id",cf),lf.id=cf,lf.classList.add("segment")}),K=document.createElement("section"),K.classList.add(`section${po}`),Array.from(uo.classList).forEach(lf=>K.classList.add(lf)),uo.className="",uo.id&&(K.id=uo.id,uo.removeAttribute("id")),K.innerHTML+=uo.outerHTML;let mo=[];for(let lf=1;lfyf.parentElement.tagName==="SECTION")];let wo=po===1||mo.length===0?q:(yn=mo.pop())==null?void 0:yn.parentElement;wo==null||wo.appendChild(K),K.setAttribute("data-id",computeDataId(K))}else{if(ut.tagName!=="PARAM"){let uo=`${K.getAttribute("data-id")||0}.${K.children.length}`;ut.setAttribute("data-id",uo),ut.id=uo,ut.classList.add("segment")}ut!==X&&(K.innerHTML+=ut.outerHTML)}}),Array.from(q.querySelectorAll("a")).filter(ut=>ut.href.indexOf("mailto:")<0).forEach(ut=>{var wo,lf;let yn;try{yn=new URL(ut.href)}catch(yf){console.log(yf),console.log(ut.href);return}let uo=yn.pathname.split("/").filter(yf=>yf);if(uo.length===0)return;let po=/^Q\d+$/.test(uo[uo.length-1])?uo[uo.length-1]:null,mo=uo.find(yf=>yf[0]==="~");if(po||mo){let yf=document.createElement("ve-entity-infobox");if(yf.innerHTML=ut.innerHTML,po)yf.setAttribute("qid",po);else{let cf=(wo=window.config)!=null&&wo.baseurl&&yn.pathname.indexOf((lf=window.config)==null?void 0:lf.baseurl)===0?1:0;yf.setAttribute("file",uo.slice(cf).map(vf=>vf.replace(/~/,"")).filter(vf=>vf).join("/"))}ut.replaceWith(yf)}}),configCustomClasses(q);let tt,rt,ot=document.createElement("article");if(isJunctureV1(F)){ot.classList.add("j1");let ut=q.querySelector("param[ve-config]");tt=document.createElement("ve-header"),tt.className="sticky",Array.from((ut==null?void 0:ut.attributes)||[]).forEach(yn=>{yn.name==="banner"&&tt.setAttribute("background",yn.value),yn.name==="title"&&tt.setAttribute("title",yn.value),(yn.name==="subtitle"||yn.name==="author")&&tt.setAttribute("subtitle",yn.value)}),ot.appendChild(tt),ut==null||ut.remove()}else tt=q.querySelector("ve-header"),tt&&ot.appendChild(tt);return ot.appendChild(q),rt=q.querySelector("ve-footer"),rt&&ot.appendChild(rt),ot}function configCustomClasses(F){let W=0;F.querySelectorAll("section").forEach(q=>{if(q.classList.contains("cards")&&!q.classList.contains("wrapper")){q.classList.remove("cards");let K=document.createElement("section");K.className="cards wrapper",Array.from(q.children).slice(1).forEach(X=>{var ut,yn;K.appendChild(X),X.classList.add("card");let tt=X.querySelector("h1, h2, h3, h4, h5, h6");tt&&tt.remove();let rt=X.querySelector("p > img");rt&&((ut=rt.parentElement)==null||ut.replaceWith(rt));let ot=X.querySelector("p > a");ot&&((yn=ot.parentElement)==null||yn.replaceWith(ot)),X.querySelectorAll("p").forEach(uo=>{++W;let po=document.createElement("div");po.className="read-more";let mo=document.createElement("input");mo.setAttribute("type","checkbox"),mo.id=`read-more-${W}`,po.appendChild(mo);let wo=document.createElement("p");wo.innerHTML=uo.innerHTML,po.appendChild(wo);let lf=document.createElement("label");lf.setAttribute("for",`read-more-${W}`),lf.setAttribute("role","button"),lf.innerHTML="More",po.appendChild(lf),uo.replaceWith(po)})}),q.appendChild(K)}if(q.classList.contains("tabs")){let K=document.createElement("sl-tab-group");Array.from(q.classList).forEach(X=>K.classList.add(X)),Array.from(q.attributes).forEach(X=>K.setAttribute(X.name,X.value)),Array.from(q.querySelectorAll(":scope > section")).forEach((X,tt)=>{var ot;let rt=document.createElement("sl-tab");rt.setAttribute("slot","nav"),rt.setAttribute("panel",`tab${tt+1}`),rt.innerHTML=((ot=X.querySelector("h1, h2, h3, h4, h5, h6"))==null?void 0:ot.innerHTML)||"",K.appendChild(rt)}),Array.from(q.querySelectorAll(":scope > section")).forEach((X,tt)=>{let rt=document.createElement("sl-tab-panel");rt.setAttribute("name",`tab${tt+1}`);let ot=Array.from(X.children).slice(1).map(ut=>ut.outerHTML).join(" ");rt.innerHTML=ot,K.appendChild(rt)}),q.replaceWith(K)}if((q.classList.contains("columns")||q.classList.contains("mcol"))&&!q.classList.contains("wrapper")){let K=document.createElement("section");K.className="columns wrapper",q.classList.remove("columns"),q.classList.remove("mcol"),Array.from(q.children).filter(X=>X.tagName==="SECTION").forEach((X,tt)=>{K.appendChild(X),X.classList.add(`col-${tt+1}`)}),q.appendChild(K)}})}function restructureForJ1(F){function W(rt){return Object.entries(rt).map(([ot,ut])=>`${ot}="${ut}"`).join(" ").replace(/“/g,""").replace(/”/g,""")}Array.from(F.querySelectorAll("[data-id]")).forEach(rt=>{if(rt.tagName==="SECTION")return;if(!rt.innerHTML.trim()){rt.remove();return}let ot=rt.getAttribute("data-id")||"",ut=document.createElement("div");ut.setAttribute("data-id",ot),ut.id=ot,ut.className=rt.className,rt.removeAttribute("id"),rt.removeAttribute("data-id"),rt.className="",ut.appendChild(rt.cloneNode(!0));let yn=document.createElement("div");yn.setAttribute("data-id",ot),yn.className="viewers";let uo=[],po=rt.nextSibling;for(;po&&po.tagName==="PARAM";)uo.push(po),po=po.nextSibling;uo.forEach(mo=>yn.appendChild(mo)),ut.appendChild(yn),rt.replaceWith(ut)}),Array.from(F.querySelectorAll("[data-id]")).forEach(rt=>{if(rt.tagName==="SECTION")return;let ot=rt.getAttribute("data-id")||"",ut=rt.querySelector("p, ol, ul"),yn=rt.querySelector(".viewers");if(!yn)return;const uo=Array.from(yn.querySelectorAll(":scope > param")).map(($f,xf)=>({...Object.fromEntries(Array.from($f.attributes).map(Pf=>[Pf.name,Pf.value])),idx:xf}));let po=uo.length,mo=yn.parentElement;for(;mo&&mo.tagName!=="ARTICLE";)Array.from(mo.querySelectorAll(":scope > param")).forEach($f=>{uo.push({...Object.fromEntries(Array.from($f.attributes).map(xf=>[xf.name,xf.value])),idx:po}),po++}),mo=mo.parentElement;const wo={};uo.forEach($f=>{let xf=Object.keys($f).find(Pf=>Pf.indexOf("ve-")===0&&!$f[Pf]);xf?xf==="ve-d3plus-ring-network"&&(xf="ve-visjs"):(xf="ve-entity",$f[xf]=""),wo[xf]||(wo[xf]=[]),wo[xf].push($f)});let lf=[];Object.values(wo["ve-entity"]||[]).forEach($f=>{var Af;let xf=$f.eid||$f.qid,Pf=((Af=$f.aliases)==null?void 0:Af.split("|").filter(Lf=>Lf))||[],Cf=$f.file||$f.article;(Pf.length||Cf)&&(window.customEntityData[xf]||(window.customEntityData[xf]={aliases:Pf,file:Cf})),lf.push(xf)}),delete wo["ve-entity"],ut==null||ut.setAttribute("data-entities",lf.join(" "));function yf($f){let xf=document.createElement("ul");return $f.forEach(Pf=>{let Cf=document.createElement("li");Cf.innerText=W(Pf),xf.appendChild(Cf)}),xf}function cf($f,xf,Pf){Object.entries(xf).filter(([Cf,Af])=>Pf[Cf]!==void 0).forEach(([Cf,Af])=>{$f.setAttribute(Pf[Cf]||Cf,Af==="false"?"":Af==="true"?null:Af)})}function vf($f,xf,Pf){let Cf=document.createElement($f);return Cf.setAttribute("slot",xf),xf==="ve-carousel"?(cf(Cf,Pf[0],{autoplay:"",caption:"",loop:"",navigation:"",pagination:""}),Cf.appendChild(yf(Pf))):xf==="ve-compare"?(cf(Cf,Pf[0],{caption:""}),Cf.appendChild(yf(Pf))):xf==="ve-iframe"?cf(Cf,Pf[0],{allow:"",allowfullscreen:"",allowtransparency:"",caption:"",frameborder:"",loading:"",name:"",src:""}):xf==="ve-image"||xf==="ve-gallery"?Pf.length===1?cf(Cf,Pf[0],{attribution:"",caption:"",data:"","data-id":"",description:"",fit:"",label:"",license:"",manifest:"",refresh:"",region:"",rotate:"",rotation:"",seq:"",src:"",title:"",url:"","zoom-on-scroll":""}):(cf(Cf,Pf[0],{"zoom-on-scroll":""}),Cf.appendChild(yf(Pf))):xf==="ve-knightlab-timeline"?cf(Cf,Pf[0],{caption:"","hash-bookmark":"","initial-zoom":"",source:"","timenav-position":""}):xf==="ve-map"?(cf(Cf,Pf[0],{basemap:"basemaps",caption:"",center:"",data:"","data-id":"",entities:"","gesture-handling":"","gh-dir":"",marker:"",overlay:"","prefer-geojson":"","scroll-wheel-zoom":"",title:"",zoom:"","zoom-on-click":""}),Cf.appendChild(yf(Pf.slice(1)))):xf==="ve-plant-specimen"?cf(Cf,Pf[0],{caption:"",eid:"",jpid:"",max:"",qid:"","taxon-name":"",wdid:""}):xf==="ve-video"?cf(Cf,Pf[0],{alt:"",autoplay:"",caption:"","data-id":"",end:"",fit:"",id:"",muted:"","no-caption":"",poster:"",src:"",start:"",sync:"",vid:""}):xf==="ve-visjs"?cf(Cf,Pf[0],{caption:"",edges:"",hierarchical:"",nodes:"",title:"caption",url:""}):xf==="data"?Cf.appendChild(yf(Pf)):console.log(`makeViewer: slotName ${xf} not recognized, props=${Object.keys(Pf[0]||{})}`),Cf}let _f=document.createElement("ve-j1-viewers-slots");_f.dataset.id=ot,yn.appendChild(_f),_f.setAttribute("viewers",[...Object.keys(wo).filter($f=>$f!=="ve-map-marker"&&$f!=="ve-map-layer"),...mode==="dev"?["data"]:[]].join(" ")),Object.entries(wo).forEach(([$f,xf])=>{$f==="ve-map-marker"||$f==="ve-map-layer"||(xf[0].entities=lf.join(" "),xf[0]["data-id"]=_f.dataset.id,$f==="ve-map"?_f.appendChild(vf("ve-map",$f,[...xf,...Object.values(wo["ve-map-marker"]||{}),...Object.values(wo["ve-map-layer"]||{})].sort((Pf,Cf)=>Pf.idx-Cf.idx))):_f.appendChild(vf($f,$f,xf)))}),_f.appendChild(vf("div","data",uo))}),Array.from(F.querySelectorAll(".segment")).forEach(rt=>{let ot=rt.children[1],ut=rt.parentElement;for(;ut&&ut.tagName!=="ARTICLE";)ut.querySelectorAll(":scope > param").forEach(yn=>ot.appendChild(yn.cloneNode(!0))),ut=ut.parentElement});let q=F.querySelector("main"),K=document.createElement("main");K.className="page-content markdown-body";let X=document.createElement("div");X.className="content",X.innerHTML=q.innerHTML;let tt=document.createElement("div");return tt.className="viewers",K.appendChild(X),K.appendChild(tt),q.replaceWith(K),F}function setStickyOffsets(F){function W(K){let X=K.getBoundingClientRect();return K.tagName==="VE-HEADER"||K.tagName==="VE-BREADCRUMBS"||X.top>=0&&X.top<=window.innerHeight}let q=Array.from(F.querySelectorAll(".sticky")).filter(K=>W(K)).sort((K,X)=>{let tt=K.getBoundingClientRect().top,rt=X.getBoundingClientRect().top;return tt1){q[0].style.zIndex=`${q.length}`;for(let K=1;K=0;--ot){let ut=q[ot],yn=ut.getBoundingClientRect(),uo=yn.x,po=yn.x+yn.width;if(uo<=rt&&po>=tt){let mo=parseInt(ut.style.top.replace(/px/,""))||0;q[K].style&&(q[K].style.top=`${Math.floor(mo+yn.height)}px`);break}}}}}let priorActiveParagraph,currentActiveParagraph;function observeVisible(F,W,q=0){var rt;W=W||!1;let K=q+((rt=Array.from(F.querySelectorAll("VE-HEADER")).map(ot=>(parseInt(ot.style.top.replace(/px/,""))||0)+ot.getBoundingClientRect().height))==null?void 0:rt[0])||0;isJunctureV1=!0;const X={},tt=new IntersectionObserver((ot,ut)=>{var uo,po;for(const mo of ot){let wo=mo.target,lf=wo.id||((uo=wo.parentElement)==null?void 0:uo.id)||"",yf=mo.intersectionRatio;yf>0?X[lf]={para:wo,intersectionRatio:yf}:delete X[lf]}let yn=Object.values(X).sort((mo,wo)=>wo.intersectionRatio-mo.intersectionRatio||mo.para.getBoundingClientRect().top-wo.para.getBoundingClientRect().top);if(W)currentActiveParagraph=(po=yn[0])==null?void 0:po.para;else{let mo=yn.find(wo=>wo.para.classList.contains("active"));mo&&(currentActiveParagraph=mo.para)}if(currentActiveParagraph!==priorActiveParagraph){let mo,wo;isJunctureV1&&(mo=priorActiveParagraph==null?void 0:priorActiveParagraph.nextElementSibling,wo=currentActiveParagraph==null?void 0:currentActiveParagraph.nextElementSibling,mo&&mo.classList.remove("active")),priorActiveParagraph=currentActiveParagraph,W&&(F.querySelectorAll("p.active, ol.active, ul.active").forEach(lf=>lf.classList.remove("active")),currentActiveParagraph==null||currentActiveParagraph.classList.add("active"),wo&&wo.classList.add("active")),setStickyOffsets(F)}},{root:null,threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:`${K?-K:0}px 0px 0px 0px`});F.querySelectorAll("p, .segment > ol, .segment > ul").forEach(ot=>tt.observe(ot))}function isJunctureV1(F){return!!F.querySelector("param[ve-config]")}function elFromHtml(F){return new DOMParser().parseFromString(F,"text/html").querySelector("body")}function markdownToHtml(F){return marked$1.use(window.markedFootnote()).parse(F)}function structureContent(F){let W=document.createElement("main");W.innerHTML=F,convertTags(W);let q=restructure(W);return isJunctureV1(W)&&(q=restructureForJ1(q)),q}const _hoisted_1$u=["innerHTML"],_sfc_main$w=defineComponent({__name:"Article.ce",props:{base:{type:String},branch:{type:String,default:"main"},owner:{type:String},path:{type:String,default:"README.md"},repo:{type:String},repoIsWritable:{type:Boolean,default:!1}},setup(F){const W=F,q=ref(null),K=computed(()=>{var ut,yn;return(yn=(ut=q.value)==null?void 0:ut.getRootNode())==null?void 0:yn.host});watch$1(K,ut=>{ut.parentElement.addEventListener("scroll",()=>ot())}),watch$1(q,()=>{setTimeout(()=>ot(),200)});const X=ref(),tt=computed(()=>"article markdown-body");watch$1(X,()=>{nextTick(()=>{observeVisible(q.value,!0,612)})});const rt=ref(W.repoIsWritable);watch$1(W,()=>{rt.value=W.repoIsWritable});function ot(){var uo,po;let ut=(uo=q.value)==null?void 0:uo.querySelector("ve-header"),yn=(po=q.value)==null?void 0:po.querySelector(".viewers.active");if(ut&&yn){let mo=ut.getBoundingClientRect().top,wo=ut.getBoundingClientRect().height,lf=mo+wo;yn.style.top=`${lf}px`,yn.style.height=`calc(100dvh - ${lf+32}px)`}}return onMounted(async()=>{let ut=new DOMParser().parseFromString(K.value.textContent,"text/html").body;ut.querySelectorAll("ve-image, ve-map, ve-gallery").forEach(yn=>{yn.setAttribute("base",W.base),rt&&yn.setAttribute("repo-is-writable","")}),X.value=ut.innerHTML}),(ut,yn)=>(openBlock(),createElementBlock("article",{ref_key:"article",ref:q,innerHTML:X.value,class:normalizeClass(tt.value),style:{width:"100%"}},null,10,_hoisted_1$u))}}),_style_0$u=`@import"https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900";.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:#1f2328;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:#0969da;text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:600}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body mark{background-color:#fff8c5;color:#1f2328}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid hsla(210,18%,87%,1);height:.25em;padding:0;margin:24px 0;background-color:#d0d7de;border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:#6e7781;opacity:1}.markdown-body ::placeholder{color:#6e7781;opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:#1f2328;vertical-align:middle;background-color:#f6f8fa;border:solid 1px rgba(175,184,193,.2);border-bottom-color:#afb8c133;border-radius:6px;box-shadow:inset 0 -1px #afb8c133}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:#656d76}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:#656d76;border-left:.25em solid #d0d7de}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:8px!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:#d1242f}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1f2328;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #d0d7de}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:#fff;border-top:1px solid hsla(210,18%,87%,1)}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #d0d7de}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#1f2328}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:#afb8c133;border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:#1f2328;background-color:#f6f8fa;border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:#ffffff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:#f6f8fa;border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:#656d76;border-top:1px solid #d0d7de}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid #0969da;border-radius:6px}.markdown-body .footnotes li:target{color:#1f2328}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:#57606a}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0550ae}.markdown-body .pl-e,.markdown-body .pl-en{color:#6639ba}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:#24292f}.markdown-body .pl-ent{color:#116329}.markdown-body .pl-k{color:#cf222e}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:#0a3069}.markdown-body .pl-v,.markdown-body .pl-smw{color:#953800}.markdown-body .pl-bu{color:#82071e}.markdown-body .pl-ii{color:#f6f8fa;background-color:#82071e}.markdown-body .pl-c2{color:#f6f8fa;background-color:#cf222e}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#116329}.markdown-body .pl-ml{color:#3b2300}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#0550ae}.markdown-body .pl-mi{font-style:italic;color:#24292f}.markdown-body .pl-mb{font-weight:700;color:#24292f}.markdown-body .pl-md{color:#82071e;background-color:#ffebe9}.markdown-body .pl-mi1{color:#116329;background-color:#dafbe1}.markdown-body .pl-mc{color:#953800;background-color:#ffd8b5}.markdown-body .pl-mi2{color:#eaeef2;background-color:#0550ae}.markdown-body .pl-mdr{font-weight:700;color:#8250df}.markdown-body .pl-ba{color:#57606a}.markdown-body .pl-sg{color:#8c959f}.markdown-body .pl-corl{text-decoration:underline;color:#0a3069}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:400}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:8px 16px;margin-bottom:16px;color:inherit;border-left:.25em solid #d0d7de}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:500;align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:#0969da}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:#0969da}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:#8250df}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:#8250df}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:#9a6700}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:#9a6700}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:#1f883d}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:#cf222e}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:#d1242f}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-auto-rows:1fr;row-gap:2em;-moz-column-gap:3em;column-gap:3em}.cards.wrapper{margin-top:0}.cards.wrapper>section{padding:0}.card{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto 1fr 0px;padding:0}.card p{border:none}.card>img{grid-area:1 / 1 / 2 / 2;width:100%;height:300px;-o-object-fit:cover;object-fit:cover}.card>a{grid-area:2 / 1 / 3 / 2;font-weight:700;font-size:1.5em;line-height:1.2;padding:1.3rem .5rem .2rem;text-decoration:none;color:#0164b9}.card>a:hover{text-decoration:underline}.card>ul{grid-area:3 / 1 / 4 / 2;list-style:none;padding:.4rem .5rem;margin:0;font-size:1rem;font-weight:400;max-height:260px;overflow-y:scroll}.clamp5{-webkit-line-clamp:5}.read-more input{opacity:0;position:absolute;pointer-events:none}.read-more input:focus~label{outline:-webkit-focus-ring-color auto 5px}.read-more input:checked+p{-webkit-line-clamp:unset}.read-more input:checked~label,.read-more p:not(.truncated)~label{display:none}.read-more>p{grid-area:4 / 1 / 5 / 2;align-self:flex-start;min-height:100px;line-height:1.4;font-size:.9em;padding:.5rem .5rem 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;margin:0 0 .2rem;-webkit-line-clamp:8}.read-more label{margin-left:.5rem;border-radius:4px;padding:.2em .6em;border:1px solid #555;background-color:#777;color:#fff;font-size:.7em}.read-more label:hover{background-color:#555}@media only screen and (max-width: 768px){.cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));-moz-column-gap:1em;column-gap:1em;row-gap:1/5em}.card{font-size:1em;line-height:1.2;border:1px solid #eee;border-radius:.5em}.card>img{height:150px}.card>a{font-size:1.2em;padding:.8rem .5rem .2rem}}:root,:host,.sl-theme-light{color-scheme:light;--sl-color-gray-50: hsl(0 0% 97.5%);--sl-color-gray-100: hsl(240 4.8% 95.9%);--sl-color-gray-200: hsl(240 5.9% 90%);--sl-color-gray-300: hsl(240 4.9% 83.9%);--sl-color-gray-400: hsl(240 5% 64.9%);--sl-color-gray-500: hsl(240 3.8% 46.1%);--sl-color-gray-600: hsl(240 5.2% 33.9%);--sl-color-gray-700: hsl(240 5.3% 26.1%);--sl-color-gray-800: hsl(240 3.7% 15.9%);--sl-color-gray-900: hsl(240 5.9% 10%);--sl-color-gray-950: hsl(240 7.3% 8%);--sl-color-red-50: hsl(0 85.7% 97.3%);--sl-color-red-100: hsl(0 93.3% 94.1%);--sl-color-red-200: hsl(0 96.3% 89.4%);--sl-color-red-300: hsl(0 93.5% 81.8%);--sl-color-red-400: hsl(0 90.6% 70.8%);--sl-color-red-500: hsl(0 84.2% 60.2%);--sl-color-red-600: hsl(0 72.2% 50.6%);--sl-color-red-700: hsl(0 73.7% 41.8%);--sl-color-red-800: hsl(0 70% 35.3%);--sl-color-red-900: hsl(0 62.8% 30.6%);--sl-color-red-950: hsl(0 60% 19.6%);--sl-color-orange-50: hsl(33.3 100% 96.5%);--sl-color-orange-100: hsl(34.3 100% 91.8%);--sl-color-orange-200: hsl(32.1 97.7% 83.1%);--sl-color-orange-300: hsl(30.7 97.2% 72.4%);--sl-color-orange-400: hsl(27 96% 61%);--sl-color-orange-500: hsl(24.6 95% 53.1%);--sl-color-orange-600: hsl(20.5 90.2% 48.2%);--sl-color-orange-700: hsl(17.5 88.3% 40.4%);--sl-color-orange-800: hsl(15 79.1% 33.7%);--sl-color-orange-900: hsl(15.3 74.6% 27.8%);--sl-color-orange-950: hsl(15.2 69.1% 19%);--sl-color-amber-50: hsl(48 100% 96.1%);--sl-color-amber-100: hsl(48 96.5% 88.8%);--sl-color-amber-200: hsl(48 96.6% 76.7%);--sl-color-amber-300: hsl(45.9 96.7% 64.5%);--sl-color-amber-400: hsl(43.3 96.4% 56.3%);--sl-color-amber-500: hsl(37.7 92.1% 50.2%);--sl-color-amber-600: hsl(32.1 94.6% 43.7%);--sl-color-amber-700: hsl(26 90.5% 37.1%);--sl-color-amber-800: hsl(22.7 82.5% 31.4%);--sl-color-amber-900: hsl(21.7 77.8% 26.5%);--sl-color-amber-950: hsl(22.9 74.1% 16.7%);--sl-color-yellow-50: hsl(54.5 91.7% 95.3%);--sl-color-yellow-100: hsl(54.9 96.7% 88%);--sl-color-yellow-200: hsl(52.8 98.3% 76.9%);--sl-color-yellow-300: hsl(50.4 97.8% 63.5%);--sl-color-yellow-400: hsl(47.9 95.8% 53.1%);--sl-color-yellow-500: hsl(45.4 93.4% 47.5%);--sl-color-yellow-600: hsl(40.6 96.1% 40.4%);--sl-color-yellow-700: hsl(35.5 91.7% 32.9%);--sl-color-yellow-800: hsl(31.8 81% 28.8%);--sl-color-yellow-900: hsl(28.4 72.5% 25.7%);--sl-color-yellow-950: hsl(33.1 69% 13.9%);--sl-color-lime-50: hsl(78.3 92% 95.1%);--sl-color-lime-100: hsl(79.6 89.1% 89.2%);--sl-color-lime-200: hsl(80.9 88.5% 79.6%);--sl-color-lime-300: hsl(82 84.5% 67.1%);--sl-color-lime-400: hsl(82.7 78% 55.5%);--sl-color-lime-500: hsl(83.7 80.5% 44.3%);--sl-color-lime-600: hsl(84.8 85.2% 34.5%);--sl-color-lime-700: hsl(85.9 78.4% 27.3%);--sl-color-lime-800: hsl(86.3 69% 22.7%);--sl-color-lime-900: hsl(87.6 61.2% 20.2%);--sl-color-lime-950: hsl(86.5 60.6% 13.9%);--sl-color-green-50: hsl(138.5 76.5% 96.7%);--sl-color-green-100: hsl(140.6 84.2% 92.5%);--sl-color-green-200: hsl(141 78.9% 85.1%);--sl-color-green-300: hsl(141.7 76.6% 73.1%);--sl-color-green-400: hsl(141.9 69.2% 58%);--sl-color-green-500: hsl(142.1 70.6% 45.3%);--sl-color-green-600: hsl(142.1 76.2% 36.3%);--sl-color-green-700: hsl(142.4 71.8% 29.2%);--sl-color-green-800: hsl(142.8 64.2% 24.1%);--sl-color-green-900: hsl(143.8 61.2% 20.2%);--sl-color-green-950: hsl(144.3 60.7% 12%);--sl-color-emerald-50: hsl(151.8 81% 95.9%);--sl-color-emerald-100: hsl(149.3 80.4% 90%);--sl-color-emerald-200: hsl(152.4 76% 80.4%);--sl-color-emerald-300: hsl(156.2 71.6% 66.9%);--sl-color-emerald-400: hsl(158.1 64.4% 51.6%);--sl-color-emerald-500: hsl(160.1 84.1% 39.4%);--sl-color-emerald-600: hsl(161.4 93.5% 30.4%);--sl-color-emerald-700: hsl(162.9 93.5% 24.3%);--sl-color-emerald-800: hsl(163.1 88.1% 19.8%);--sl-color-emerald-900: hsl(164.2 85.7% 16.5%);--sl-color-emerald-950: hsl(164.3 87.5% 9.4%);--sl-color-teal-50: hsl(166.2 76.5% 96.7%);--sl-color-teal-100: hsl(167.2 85.5% 89.2%);--sl-color-teal-200: hsl(168.4 83.8% 78.2%);--sl-color-teal-300: hsl(170.6 76.9% 64.3%);--sl-color-teal-400: hsl(172.5 66% 50.4%);--sl-color-teal-500: hsl(173.4 80.4% 40%);--sl-color-teal-600: hsl(174.7 83.9% 31.6%);--sl-color-teal-700: hsl(175.3 77.4% 26.1%);--sl-color-teal-800: hsl(176.1 69.4% 21.8%);--sl-color-teal-900: hsl(175.9 60.8% 19%);--sl-color-teal-950: hsl(176.5 58.6% 11.4%);--sl-color-cyan-50: hsl(183.2 100% 96.3%);--sl-color-cyan-100: hsl(185.1 95.9% 90.4%);--sl-color-cyan-200: hsl(186.2 93.5% 81.8%);--sl-color-cyan-300: hsl(187 92.4% 69%);--sl-color-cyan-400: hsl(187.9 85.7% 53.3%);--sl-color-cyan-500: hsl(188.7 94.5% 42.7%);--sl-color-cyan-600: hsl(191.6 91.4% 36.5%);--sl-color-cyan-700: hsl(192.9 82.3% 31%);--sl-color-cyan-800: hsl(194.4 69.6% 27.1%);--sl-color-cyan-900: hsl(196.4 63.6% 23.7%);--sl-color-cyan-950: hsl(196.8 61% 16.1%);--sl-color-sky-50: hsl(204 100% 97.1%);--sl-color-sky-100: hsl(204 93.8% 93.7%);--sl-color-sky-200: hsl(200.6 94.4% 86.1%);--sl-color-sky-300: hsl(199.4 95.5% 73.9%);--sl-color-sky-400: hsl(198.4 93.2% 59.6%);--sl-color-sky-500: hsl(198.6 88.7% 48.4%);--sl-color-sky-600: hsl(200.4 98% 39.4%);--sl-color-sky-700: hsl(201.3 96.3% 32.2%);--sl-color-sky-800: hsl(201 90% 27.5%);--sl-color-sky-900: hsl(202 80.3% 23.9%);--sl-color-sky-950: hsl(202.3 73.8% 16.5%);--sl-color-blue-50: hsl(213.8 100% 96.9%);--sl-color-blue-100: hsl(214.3 94.6% 92.7%);--sl-color-blue-200: hsl(213.3 96.9% 87.3%);--sl-color-blue-300: hsl(211.7 96.4% 78.4%);--sl-color-blue-400: hsl(213.1 93.9% 67.8%);--sl-color-blue-500: hsl(217.2 91.2% 59.8%);--sl-color-blue-600: hsl(221.2 83.2% 53.3%);--sl-color-blue-700: hsl(224.3 76.3% 48%);--sl-color-blue-800: hsl(225.9 70.7% 40.2%);--sl-color-blue-900: hsl(224.4 64.3% 32.9%);--sl-color-blue-950: hsl(226.2 55.3% 18.4%);--sl-color-indigo-50: hsl(225.9 100% 96.7%);--sl-color-indigo-100: hsl(226.5 100% 93.9%);--sl-color-indigo-200: hsl(228 96.5% 88.8%);--sl-color-indigo-300: hsl(229.7 93.5% 81.8%);--sl-color-indigo-400: hsl(234.5 89.5% 73.9%);--sl-color-indigo-500: hsl(238.7 83.5% 66.7%);--sl-color-indigo-600: hsl(243.4 75.4% 58.6%);--sl-color-indigo-700: hsl(244.5 57.9% 50.6%);--sl-color-indigo-800: hsl(243.7 54.5% 41.4%);--sl-color-indigo-900: hsl(242.2 47.4% 34.3%);--sl-color-indigo-950: hsl(243.5 43.6% 22.9%);--sl-color-violet-50: hsl(250 100% 97.6%);--sl-color-violet-100: hsl(251.4 91.3% 95.5%);--sl-color-violet-200: hsl(250.5 95.2% 91.8%);--sl-color-violet-300: hsl(252.5 94.7% 85.1%);--sl-color-violet-400: hsl(255.1 91.7% 76.3%);--sl-color-violet-500: hsl(258.3 89.5% 66.3%);--sl-color-violet-600: hsl(262.1 83.3% 57.8%);--sl-color-violet-700: hsl(263.4 70% 50.4%);--sl-color-violet-800: hsl(263.4 69.3% 42.2%);--sl-color-violet-900: hsl(263.5 67.4% 34.9%);--sl-color-violet-950: hsl(265.1 61.5% 21.4%);--sl-color-purple-50: hsl(270 100% 98%);--sl-color-purple-100: hsl(268.7 100% 95.5%);--sl-color-purple-200: hsl(268.6 100% 91.8%);--sl-color-purple-300: hsl(269.2 97.4% 85.1%);--sl-color-purple-400: hsl(270 95.2% 75.3%);--sl-color-purple-500: hsl(270.7 91% 65.1%);--sl-color-purple-600: hsl(271.5 81.3% 55.9%);--sl-color-purple-700: hsl(272.1 71.7% 47.1%);--sl-color-purple-800: hsl(272.9 67.2% 39.4%);--sl-color-purple-900: hsl(273.6 65.6% 32%);--sl-color-purple-950: hsl(276 59.5% 16.5%);--sl-color-fuchsia-50: hsl(289.1 100% 97.8%);--sl-color-fuchsia-100: hsl(287 100% 95.5%);--sl-color-fuchsia-200: hsl(288.3 95.8% 90.6%);--sl-color-fuchsia-300: hsl(291.1 93.1% 82.9%);--sl-color-fuchsia-400: hsl(292 91.4% 72.5%);--sl-color-fuchsia-500: hsl(292.2 84.1% 60.6%);--sl-color-fuchsia-600: hsl(293.4 69.5% 48.8%);--sl-color-fuchsia-700: hsl(294.7 72.4% 39.8%);--sl-color-fuchsia-800: hsl(295.4 70.2% 32.9%);--sl-color-fuchsia-900: hsl(296.7 63.6% 28%);--sl-color-fuchsia-950: hsl(297.1 56.8% 14.5%);--sl-color-pink-50: hsl(327.3 73.3% 97.1%);--sl-color-pink-100: hsl(325.7 77.8% 94.7%);--sl-color-pink-200: hsl(325.9 84.6% 89.8%);--sl-color-pink-300: hsl(327.4 87.1% 81.8%);--sl-color-pink-400: hsl(328.6 85.5% 70.2%);--sl-color-pink-500: hsl(330.4 81.2% 60.4%);--sl-color-pink-600: hsl(333.3 71.4% 50.6%);--sl-color-pink-700: hsl(335.1 77.6% 42%);--sl-color-pink-800: hsl(335.8 74.4% 35.3%);--sl-color-pink-900: hsl(335.9 69% 30.4%);--sl-color-pink-950: hsl(336.2 65.4% 15.9%);--sl-color-rose-50: hsl(355.7 100% 97.3%);--sl-color-rose-100: hsl(355.6 100% 94.7%);--sl-color-rose-200: hsl(352.7 96.1% 90%);--sl-color-rose-300: hsl(352.6 95.7% 81.8%);--sl-color-rose-400: hsl(351.3 94.5% 71.4%);--sl-color-rose-500: hsl(349.7 89.2% 60.2%);--sl-color-rose-600: hsl(346.8 77.2% 49.8%);--sl-color-rose-700: hsl(345.3 82.7% 40.8%);--sl-color-rose-800: hsl(343.4 79.7% 34.7%);--sl-color-rose-900: hsl(341.5 75.5% 30.4%);--sl-color-rose-950: hsl(341.3 70.1% 17.1%);--sl-color-primary-50: var(--sl-color-sky-50);--sl-color-primary-100: var(--sl-color-sky-100);--sl-color-primary-200: var(--sl-color-sky-200);--sl-color-primary-300: var(--sl-color-sky-300);--sl-color-primary-400: var(--sl-color-sky-400);--sl-color-primary-500: var(--sl-color-sky-500);--sl-color-primary-600: var(--sl-color-sky-600);--sl-color-primary-700: var(--sl-color-sky-700);--sl-color-primary-800: var(--sl-color-sky-800);--sl-color-primary-900: var(--sl-color-sky-900);--sl-color-primary-950: var(--sl-color-sky-950);--sl-color-success-50: var(--sl-color-green-50);--sl-color-success-100: var(--sl-color-green-100);--sl-color-success-200: var(--sl-color-green-200);--sl-color-success-300: var(--sl-color-green-300);--sl-color-success-400: var(--sl-color-green-400);--sl-color-success-500: var(--sl-color-green-500);--sl-color-success-600: var(--sl-color-green-600);--sl-color-success-700: var(--sl-color-green-700);--sl-color-success-800: var(--sl-color-green-800);--sl-color-success-900: var(--sl-color-green-900);--sl-color-success-950: var(--sl-color-green-950);--sl-color-warning-50: var(--sl-color-amber-50);--sl-color-warning-100: var(--sl-color-amber-100);--sl-color-warning-200: var(--sl-color-amber-200);--sl-color-warning-300: var(--sl-color-amber-300);--sl-color-warning-400: var(--sl-color-amber-400);--sl-color-warning-500: var(--sl-color-amber-500);--sl-color-warning-600: var(--sl-color-amber-600);--sl-color-warning-700: var(--sl-color-amber-700);--sl-color-warning-800: var(--sl-color-amber-800);--sl-color-warning-900: var(--sl-color-amber-900);--sl-color-warning-950: var(--sl-color-amber-950);--sl-color-danger-50: var(--sl-color-red-50);--sl-color-danger-100: var(--sl-color-red-100);--sl-color-danger-200: var(--sl-color-red-200);--sl-color-danger-300: var(--sl-color-red-300);--sl-color-danger-400: var(--sl-color-red-400);--sl-color-danger-500: var(--sl-color-red-500);--sl-color-danger-600: var(--sl-color-red-600);--sl-color-danger-700: var(--sl-color-red-700);--sl-color-danger-800: var(--sl-color-red-800);--sl-color-danger-900: var(--sl-color-red-900);--sl-color-danger-950: var(--sl-color-red-950);--sl-color-neutral-50: var(--sl-color-gray-50);--sl-color-neutral-100: var(--sl-color-gray-100);--sl-color-neutral-200: var(--sl-color-gray-200);--sl-color-neutral-300: var(--sl-color-gray-300);--sl-color-neutral-400: var(--sl-color-gray-400);--sl-color-neutral-500: var(--sl-color-gray-500);--sl-color-neutral-600: var(--sl-color-gray-600);--sl-color-neutral-700: var(--sl-color-gray-700);--sl-color-neutral-800: var(--sl-color-gray-800);--sl-color-neutral-900: var(--sl-color-gray-900);--sl-color-neutral-950: var(--sl-color-gray-950);--sl-color-neutral-0: hsl(0, 0%, 100%);--sl-color-neutral-1000: hsl(0, 0%, 0%);--sl-border-radius-small: .1875rem;--sl-border-radius-medium: .25rem;--sl-border-radius-large: .5rem;--sl-border-radius-x-large: 1rem;--sl-border-radius-circle: 50%;--sl-border-radius-pill: 9999px;--sl-shadow-x-small: 0 1px 2px hsl(240 3.8% 46.1% / 6%);--sl-shadow-small: 0 1px 2px hsl(240 3.8% 46.1% / 12%);--sl-shadow-medium: 0 2px 4px hsl(240 3.8% 46.1% / 12%);--sl-shadow-large: 0 2px 8px hsl(240 3.8% 46.1% / 12%);--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 12%);--sl-spacing-3x-small: .125rem;--sl-spacing-2x-small: .25rem;--sl-spacing-x-small: .5rem;--sl-spacing-small: .75rem;--sl-spacing-medium: 1rem;--sl-spacing-large: 1.25rem;--sl-spacing-x-large: 1.75rem;--sl-spacing-2x-large: 2.25rem;--sl-spacing-3x-large: 3rem;--sl-spacing-4x-large: 4.5rem;--sl-transition-x-slow: 1s;--sl-transition-slow: .5s;--sl-transition-medium: .25s;--sl-transition-fast: .15s;--sl-transition-x-fast: 50ms;--sl-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;--sl-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--sl-font-serif: Georgia, "Times New Roman", serif;--sl-font-size-2x-small: .625rem;--sl-font-size-x-small: .75rem;--sl-font-size-small: .875rem;--sl-font-size-medium: 1rem;--sl-font-size-large: 1.25rem;--sl-font-size-x-large: 1.5rem;--sl-font-size-2x-large: 2.25rem;--sl-font-size-3x-large: 3rem;--sl-font-size-4x-large: 4.5rem;--sl-font-weight-light: 300;--sl-font-weight-normal: 400;--sl-font-weight-semibold: 500;--sl-font-weight-bold: 700;--sl-letter-spacing-denser: -.03em;--sl-letter-spacing-dense: -.015em;--sl-letter-spacing-normal: normal;--sl-letter-spacing-loose: .075em;--sl-letter-spacing-looser: .15em;--sl-line-height-denser: 1;--sl-line-height-dense: 1.4;--sl-line-height-normal: 1.8;--sl-line-height-loose: 2.2;--sl-line-height-looser: 2.6;--sl-focus-ring-color: var(--sl-color-primary-600);--sl-focus-ring-style: solid;--sl-focus-ring-width: 3px;--sl-focus-ring: var(--sl-focus-ring-style) var(--sl-focus-ring-width) var(--sl-focus-ring-color);--sl-focus-ring-offset: 1px;--sl-button-font-size-small: var(--sl-font-size-x-small);--sl-button-font-size-medium: var(--sl-font-size-small);--sl-button-font-size-large: var(--sl-font-size-medium);--sl-input-height-small: 1.875rem;--sl-input-height-medium: 2.5rem;--sl-input-height-large: 3.125rem;--sl-input-background-color: var(--sl-color-neutral-0);--sl-input-background-color-hover: var(--sl-input-background-color);--sl-input-background-color-focus: var(--sl-input-background-color);--sl-input-background-color-disabled: var(--sl-color-neutral-100);--sl-input-border-color: var(--sl-color-neutral-300);--sl-input-border-color-hover: var(--sl-color-neutral-400);--sl-input-border-color-focus: var(--sl-color-primary-500);--sl-input-border-color-disabled: var(--sl-color-neutral-300);--sl-input-border-width: 1px;--sl-input-required-content: "*";--sl-input-required-content-offset: -2px;--sl-input-required-content-color: var(--sl-input-label-color);--sl-input-border-radius-small: var(--sl-border-radius-medium);--sl-input-border-radius-medium: var(--sl-border-radius-medium);--sl-input-border-radius-large: var(--sl-border-radius-medium);--sl-input-font-family: var(--sl-font-sans);--sl-input-font-weight: var(--sl-font-weight-normal);--sl-input-font-size-small: var(--sl-font-size-small);--sl-input-font-size-medium: var(--sl-font-size-medium);--sl-input-font-size-large: var(--sl-font-size-large);--sl-input-letter-spacing: var(--sl-letter-spacing-normal);--sl-input-color: var(--sl-color-neutral-700);--sl-input-color-hover: var(--sl-color-neutral-700);--sl-input-color-focus: var(--sl-color-neutral-700);--sl-input-color-disabled: var(--sl-color-neutral-900);--sl-input-icon-color: var(--sl-color-neutral-500);--sl-input-icon-color-hover: var(--sl-color-neutral-600);--sl-input-icon-color-focus: var(--sl-color-neutral-600);--sl-input-placeholder-color: var(--sl-color-neutral-500);--sl-input-placeholder-color-disabled: var(--sl-color-neutral-600);--sl-input-spacing-small: var(--sl-spacing-small);--sl-input-spacing-medium: var(--sl-spacing-medium);--sl-input-spacing-large: var(--sl-spacing-large);--sl-input-focus-ring-color: hsl(198.6 88.7% 48.4% / 40%);--sl-input-focus-ring-offset: 0;--sl-input-filled-background-color: var(--sl-color-neutral-100);--sl-input-filled-background-color-hover: var(--sl-color-neutral-100);--sl-input-filled-background-color-focus: var(--sl-color-neutral-100);--sl-input-filled-background-color-disabled: var(--sl-color-neutral-100);--sl-input-filled-color: var(--sl-color-neutral-800);--sl-input-filled-color-hover: var(--sl-color-neutral-800);--sl-input-filled-color-focus: var(--sl-color-neutral-700);--sl-input-filled-color-disabled: var(--sl-color-neutral-800);--sl-input-label-font-size-small: var(--sl-font-size-small);--sl-input-label-font-size-medium: var(--sl-font-size-medium);--sl-input-label-font-size-large: var(--sl-font-size-large);--sl-input-label-color: inherit;--sl-input-help-text-font-size-small: var(--sl-font-size-x-small);--sl-input-help-text-font-size-medium: var(--sl-font-size-small);--sl-input-help-text-font-size-large: var(--sl-font-size-medium);--sl-input-help-text-color: var(--sl-color-neutral-500);--sl-toggle-size-small: .875rem;--sl-toggle-size-medium: 1.125rem;--sl-toggle-size-large: 1.375rem;--sl-overlay-background-color: hsl(240 3.8% 46.1% / 33%);--sl-panel-background-color: var(--sl-color-neutral-0);--sl-panel-border-color: var(--sl-color-neutral-200);--sl-panel-border-width: 1px;--sl-tooltip-border-radius: var(--sl-border-radius-medium);--sl-tooltip-background-color: var(--sl-color-neutral-800);--sl-tooltip-color: var(--sl-color-neutral-0);--sl-tooltip-font-family: var(--sl-font-sans);--sl-tooltip-font-weight: var(--sl-font-weight-normal);--sl-tooltip-font-size: var(--sl-font-size-small);--sl-tooltip-line-height: var(--sl-line-height-dense);--sl-tooltip-padding: var(--sl-spacing-2x-small) var(--sl-spacing-x-small);--sl-tooltip-arrow-size: 6px;--sl-z-index-drawer: 700;--sl-z-index-dialog: 800;--sl-z-index-dropdown: 900;--sl-z-index-toast: 950;--sl-z-index-tooltip: 1000}.sl-scroll-lock{padding-right:var(--sl-scroll-lock-size)!important;overflow:hidden!important}.sl-toast-stack{position:fixed;top:0;inset-inline-end:0;z-index:var(--sl-z-index-toast);width:28rem;max-width:100%;max-height:100%;overflow:auto}.sl-toast-stack sl-alert{margin:var(--sl-spacing-medium)}.sl-toast-stack sl-alert::part(base){box-shadow:var(--sl-shadow-large)}*,*:before,*:after{box-sizing:border-box}*{margin:0}@keyframes fadeInAnimation{0%{opacity:0}to{opacity:1}}article{font-family:Roboto,sans-serif;animation:fadeInAnimation ease .3s;animation-iteration-count:1;animation-fill-mode:forwards;width:min(1200px,100% - 4rem);margin-inline:auto;background-color:#fff}article .markdown-body h1,article .markdown-body h2{border-bottom:none;padding-bottom:0}article .markdown-body li>p{margin:0}article .markdown-body{font-size:1.2em;line-height:1.5;margin-top:1em}article .markdown-body pre code{white-space:pre-wrap}@media only screen and (max-width: 768px){article{font-size:1em;width:calc(100% - 2em)}ve-header{width:100%}}section{position:relative;clear:both;margin-block-start:0;margin-block-end:0;background-color:inherit}.flow-root section{display:flow-root}.flow-root section h1,.flow-root section h2,.flow-root section h3,.flow-root section h4,.flow-root section h5,.flow-root section h6{margin-top:12px;margin-bottom:12px}ve-snippet,ve-footer ul,ve-header ul,ve-image ul,ve-map ul,ve-menu ul,ve-navbar ul,ve-snippet pre{display:none}ve-image,ve-map{margin-bottom:2em}ve-image img{max-width:100%;height:auto}ve-entity-infobox{position:relative;border-bottom:1px solid #ccc}ve-header{z-index:10;margin-bottom:1em}.columns{display:grid;gap:1em;grid-template-columns:repeat(auto-fit,minmax(275px,1fr))}.sticky{position:sticky;top:0;background-color:inherit;z-index:1}.hide{display:none}ve-footer.sticky{bottom:0}@media (min-width: 600px){.left{float:left;padding-right:1em}.right{float:right;padding-left:1em}.left,.right{width:50%;margin-bottom:1em}}p audio{width:250px;height:24px;vertical-align:middle}.showactive{padding-bottom:80dvh}.showactive .active{background-color:#fff;box-shadow:#00000026 1.95px 1.95px 2.6px}section#references{margin-top:2em}section#references h1{font-size:1.5em}section#references P{font-size:1em;margin-bottom:.7em}a.flyto,mark.flyto,a.play,mark.play,a.qid,mark.qid,a.zoom,mark.zoom,ve-entity-infobox{cursor:pointer;background:unset;border-bottom:1px solid #ccc;color:#444}a.flyto:hover,mark.flyto:hover,a.play:hover,mark.play:hover,a.qid:hover,mark.qid:hover,a.zoom:hover mark.zoom:hover,ve-entity-infobox:hover{border-bottom:2px solid #444;background:#eee}a.flyto:after,mark.flyto:after,a.play:after,mark.play:after,a.qid:after,mark.qid:after,a.zoom:after,mark.zoom:after,ve-entity-infobox:after{font-size:50%;line-height:0;position:relative;vertical-align:baseline;top:-.5em;padding-left:2px;padding-right:4px}a.flyto:after,mark.flyto:after{content:"✈";font-size:120%;top:0}a.play:after,mark.play:after{content:"▶"}a.zoom:after,mark.zoom:after{content:"🔎"}p span.headline{font-weight:500}.resume>section:first-of-type{display:grid;gap:1em;grid-template-columns:repeat(auto-fit,minmax(275px,1fr))}.resume>section:first-of-type>section:nth-of-type(2){display:flex;margin-left:auto;gap:1em}.resume>section:first-of-type>section:nth-of-type(2) li{list-style:none;display:flex;align-items:center;gap:.5em}.resume>section:first-of-type>section:nth-of-type(2) li img{height:24px;width:24px}.resume>section:first-of-type>section:nth-of-type(2)>p>img{max-width:120px;height:auto;border-radius:50%;box-shadow:#0000003d 0 3px 8px}article.j1{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;grid-template-areas:"header" "main" "footer"}article.j1>*{width:100%}.j1 ve-header{grid-area:header;position:sticky;top:-300px;z-index:10;margin-bottom:0}.j1 main{grid-area:main;display:grid;grid-template-columns:1fr 0;grid-template-areas:"content viewers";background-color:#f8f8f8!important;font-size:1.3em!important;line-height:1.6!important}.j1 .content{grid-area:content;margin:.5em}.j1 .viewers{grid-area:viewers}.j1 footer{grid-area:footer}.j1 .segment{display:flex;flex-direction:column;gap:.5em;margin:1em 0}.j1 .segment>ve-j1-viewers{width:100%;align-self:center}.j1 .segment>p{margin:0;padding:0;border-radius:8px;border:1px solid #f8f8f8}.j1 .sticky{position:sticky;top:0}.j1 .footnote div,.j1 .footnotes div{white-space:unset}.j1 .footnote li>p,.j1 .footnotes li>p{margin:0;background-color:inherit;border-color:inherit;box-shadow:none}.j1 .content>section:first-of-type>h1,.j1 .content>section:first-of-type>h2,.j1 .content>section:first-of-type>h3{margin-top:0}@media (min-width: 800px){.j1 main{grid-template-columns:1fr 1fr;padding-left:1em}.j1 .content{padding-right:1em}.j1 p.active,.j1 ol.active,.j1 ul.active{background-color:#fff;box-shadow:0 0 3px 1px #00000040;border-color:#9e9e9e}.j1 .segment{margin:0}.j1 .segment>p{padding:.5em}.j1 .segment>ve-j1-viewers{display:none}.j1 .viewers{grid-area:viewers;display:block;height:calc(100dvh - 100px);margin-top:0}.j1 .viewers{visibility:hidden;position:fixed;top:100px;right:1em;height:calc(-100px + 100dvh);width:calc(50% - 1em);z-index:unset}.j1 .viewers.active{display:block;visibility:visible;z-index:5}.j1 main{display:block;width:50%}.j1 .content{margin:0 0 80dvh}}@media print{ve-footer{display:none}.pagebreak{-moz-column-break-before:always;break-before:always}.keep-together,.section2,.section3{-moz-column-break-inside:avoid;break-inside:avoid}article{font-size:1rem;padding-bottom:4em!important}.j1 main{width:100%}.j1 .viewers{visibility:visible;position:unset}.j1 .segment{flex-direction:row;margin-bottom:2em}.j1 .segment>*{flex:1}.j1 p.active{background-color:inherit;box-shadow:unset;border:1px solid #f8f8f8}.segment,ve-compare,ve-iframe,ve-image,ve-knightlab-timeline ve-map,ve-plant-specimen ve-video,ve-visjs{page-break-before:auto;page-break-after:auto;page-break-inside:avoid}}.markdown-body .footnotes,.footnote,.footnotes{font-size:.8em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host{display:block;height:100%}table[id]{display:none} `,Article=_export_sfc(_sfc_main$w,[["styles",[_style_0$u]]]);class EventBus{constructor(){this.events={}}on(W,q){this.events[W]=this.events[W]||[],this.events[W].push(q)}off(W,q){if(this.events[W]){for(let K=0;K{var Mf,Ff;return(Ff=(Mf=q.value)==null?void 0:Mf.getRootNode())==null?void 0:Ff.host}),X=ref(null);watch$1(X,async Mf=>{!tt.value&&W.src&&(tt.value=await getManifest(W.src)),uo=Mf,uo.addEventListener("play",()=>{wo.value||(wo.value=!0,W.start&&jf(W.start,W.end))}),vf()});const tt=ref(null),rt=computed(()=>tt.value?getItemInfo(tt.value):null),ot=computed(()=>{var Mf;return(Mf=rt.value)==null?void 0:Mf.id}),ut=computed(()=>{var Mf;return(Mf=rt.value)==null?void 0:Mf.format}),yn=computed(()=>{var Mf;return((Mf=K.value)==null?void 0:Mf.style.display)==="inline-block"});watch$1(yn,Mf=>{K.value.style.width=Mf?"250px":"100%"}),watch$1(X,Mf=>{Mf&&yn.value&&(Mf.style.height="24px",Mf.style.verticalAlign="middle")});let uo;const po=ref(!1),mo=ref(!1),wo=ref(!1);watch$1(K,async()=>{!tt.value&&W.src&&(tt.value=await getManifest(W.src)),yf(),EventBus$1.on("seekto",Mf=>jf(Mf.start,Mf.end)),W.sync?lf():W.autoplay&&W.start&&jf(W.start,W.end)});function lf(){let Mf=Array.from(document.querySelectorAll("p[data-head]")).map(Ff=>{let[kf,...Rf]=Ff.dataset.head.split(/\s+/),Wf=document.createElement("a");if(Wf.classList.add("play"),Wf.href="javascript:;",Wf.textContent=kf,Wf.addEventListener("click",()=>{jf(Ff.dataset.head)}),Ff.insertBefore(document.createElement("br"),Ff.firstChild),Rf.length>0){let Gf=document.createElement("span");Gf.classList.add("headline"),Gf.textContent=Rf.join(" "),Ff.insertBefore(Gf,Ff.firstChild)}return Ff.insertBefore(Wf,Ff.firstChild),{start:Cf(Ff.dataset.head.split(/\s+/)[0]),id:Ff.id}});EventBus$1.on("audio-at-time",Ff=>{let kf=Ff.time,Rf=Mf.find(Wf=>{var Gf;return Wf.start<=kf&&(((Gf=Mf[Mf.indexOf(Wf)+1])==null?void 0:Gf.start)||1/0)>kf});if(Rf&&uo&&mo.value){let Wf=document.getElementById(Rf.id);Wf&&Wf.scrollIntoView({behavior:"smooth",block:"center"})}})}function yf(){var Ff;let Mf=(Ff=K.value)==null?void 0:Ff.parentElement;for(;Mf;)Array.from(Mf.querySelectorAll("a")).forEach(async kf=>{var rp;let Wf=new URL(kf.href).pathname.split("/").filter(np=>np).map(np=>np.toLowerCase()).map(np=>np==="playat"?"play":np),Gf=Wf.indexOf("play");if(Gf>=0){let np=Wf[Gf+1],ap=Wf.slice(Gf+2).filter(Ip=>Ip==="click"||Ip==="mouseover")[0]||"click",yp=Wf.slice(Gf+2).filter(Ip=>Ip!=="click"&&Ip!=="mouseover")[0],mp,Ap,Bp=kf.parentElement;for(;Bp&&!Ap;)Ap=Bp.dataset.id,Bp=Bp.parentElement;if(Ap){let Ip=(rp=K.value)==null?void 0:rp.dataset.id;if(Ip&&Ip!==Ap)return}if(yp&&(mp=document.getElementById(yp),!mp)||(mp=cf(kf,"ve-audio"),mp!==K.value))return;kf.classList.add("play"),kf.href="javascript:;",kf.setAttribute("data-play",np),kf.addEventListener(ap,Ip=>{var og;let[Jp,ng]=((og=Ip.target.getAttribute("data-play"))==null?void 0:og.split(/\s+/))||[];Jp&&jf(Jp,ng)})}}),Mf=Mf.parentElement}function cf(Mf,Ff){let kf,Rf=Mf.parentElement;for(;Rf&&!kf;)kf=Rf.querySelector(Ff),Rf=Rf.parentElement;return kf}async function vf(){Pf().then(Mf=>EventBus$1.emit("audio-at-time",{time:Math.round(Mf)})),setInterval(async()=>{po.value=await $f(),mo.value=await _f(),mo.value&&Pf().then(Mf=>EventBus$1.emit("audio-at-time",{time:Math.round(Mf)}))},1e3)}async function _f(){return!(uo.ended||uo.paused)}async function $f(){return await W.muted}function xf(Mf){uo.muted=Mf}async function Pf(){return uo.currentTime}function Cf(Mf){var Ff=Mf.split(":").slice(0,3).map(Wf=>parseInt(Wf,10));let kf=0,Rf=1;for(;Ff.length>0;){let Wf=Ff.pop()||0;kf+=Rf*Wf,Rf*=60}return kf}let Af=null,Lf=!1;function jf(Mf,Ff=""){let kf=Cf(Mf),Rf=Ff?Cf(Ff)+1:-1;Af&&(clearTimeout(Af),Af=null);let Wf=po.value;setTimeout(()=>{uo.play(),uo.currentTime=kf,Rf>=kf&&(Af=setTimeout(()=>{Af=null,uo.pause(),!Wf&&Lf&&xf(!1)},Rf===kf?200:(Rf-kf)*1e3))},200)}return(Mf,Ff)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:q},[tt.value?(openBlock(),createElementBlock("audio",{key:0,ref_key:"html5Player",ref:X,id:"html5-player",controls:"",autoplay:W.autoplay},[createBaseVNode("source",{src:ot.value,type:ut.value},null,8,_hoisted_2$p)],8,_hoisted_1$t)):createCommentVNode("",!0),F.caption?(openBlock(),createElementBlock("div",_hoisted_3$m,toDisplayString(F.caption),1)):createCommentVNode("",!0)],512))}}),_style_0$t=`*{box-sizing:border-box}:host{display:block;width:100%}audio{width:100%}.caption{text-align:start;padding:6px 12px;font-size:1em;line-height:1.1;border:1px solid #ddd} `,Audio=_export_sfc(_sfc_main$v,[["styles",[_style_0$t]]]),_hoisted_1$s=["href"],_hoisted_2$o={key:1},_hoisted_3$l={key:2},_sfc_main$u=defineComponent({__name:"Breadcrumbs.ce",setup(F){const W=ref(null),q=computed(()=>{var X;return(X=W==null?void 0:W.value)==null?void 0:X.parentNode});watch$1(q,X=>{X.children[1].classList.remove("sticky")});const K=ref();return onMounted(()=>{var rt;let X=location.pathname,tt=((rt=window.config)==null?void 0:rt.baseurl)||"";K.value=[...X.split("/").filter(ot=>ot).slice(tt==null?void 0:tt.split("/").filter(ot=>ot).length).map((ot,ut,yn)=>({name:ot,path:tt+"/"+yn.slice(0,ut+1).join("/")}))]}),(X,tt)=>{var rt;return openBlock(),createElementBlock("div",{class:"main",ref_key:"root",ref:W},[(rt=K.value)!=null&&rt.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(K.value,(ot,ut)=>(openBlock(),createElementBlock(Fragment,{key:ot.path},[ut ")):createCommentVNode("",!0)],64))),128)):createCommentVNode("",!0)],512)}}}),_style_0$s=`.main{display:flex;align-items:center;gap:1rem;width:100%;flex-wrap:wrap;line-height:1.5;padding:.5rem 0;background-color:inherit}a{color:#0645ad}a:hover{text-decoration:underline}span{color:gray;font-weight:500} `,Breadcrumbs=_export_sfc(_sfc_main$u,[["styles",[_style_0$s]]]),_hoisted_1$r=["autoplay","loop","navigation","pagination"],_hoisted_2$n=["src"],_hoisted_3$k=createBaseVNode("div",{style:{height:"50px"}},"Caption",-1),_sfc_main$t=defineComponent({__name:"Carousel.ce",props:{aspectRatio:{type:String,default:"1/1"},caption:{type:String},autoplay:{type:Boolean,default:!1},height:{type:Number},loop:{type:Boolean,default:!1},navigation:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},width:{type:Number}},setup(F){var Pf,Cf,Af;const W=F,q=ref(null),K=computed(()=>{var Lf,jf;return(jf=(Lf=q.value)==null?void 0:Lf.getRootNode())==null?void 0:jf.host});watch$1(K,Lf=>{new ResizeObserver(()=>yn()).observe(Lf)});const X=ref(null);watch$1(W,()=>{yn()});const tt=ref(W.width||((Pf=K.value)==null?void 0:Pf.style.width)&&K.value.clientWidth),rt=ref(W.height||((Cf=K.value)==null?void 0:Cf.style.height)&&K.value.clientHeight),ot=ref(tt.value||((Af=K.value)==null?void 0:Af.clientWidth)),ut=ref(rt.value||ot.value);watch$1(ot,()=>{ot.value&&ut.value&&console.log(`${ot.value}x${ut.value}`)}),watch$1(ut,()=>{ot.value&&ut.value&&console.log(`${ot.value}x${ut.value}`)}),watch$1(ot,()=>{console.log(`width=${ot.value}`)}),watch$1(ut,()=>{console.log(`height=${ut.value}`)});function yn(){var Lf,jf,Mf,Ff,kf,Rf,Wf;console.log("setDimensions",W.width,(Lf=q.value)==null?void 0:Lf.style.width,(jf=q.value)==null?void 0:jf.clientWidth,W.height,(Mf=q.value)==null?void 0:Mf.style.height,(Ff=q.value)==null?void 0:Ff.clientHeight),console.log(q.value),tt.value=W.width||((kf=q.value)==null?void 0:kf.style.width)&&q.value.clientWidth,rt.value=W.height||((Rf=q.value)==null?void 0:Rf.style.height)&&q.value.clientHeight,ot.value=tt.value||((Wf=q.value)==null?void 0:Wf.clientWidth),ut.value=rt.value||ot.value,tt.value&&q.value&&(q.value.style.width=`${tt.value}px`),rt.value&&q.value&&(q.value.style.height=`${rt.value}px`)}watch$1(X,Lf=>{Lf&&new ResizeObserver(()=>{}).observe(Lf)});const uo=ref([]);watch$1(uo,async Lf=>{console.log(toRaw(Lf)),po.value=await Promise.all(Lf.map(jf=>jf.src||jf.manifest?getManifest(jf.src||jf.manifest):fetch(`https://${iiifServer}/manifest/`,{method:"POST",body:JSON.stringify(jf)}).then(Mf=>Mf.json()))).then(jf=>jf.flat())}),onMounted(()=>{yf()});const po=ref([]);watch$1(po,Lf=>{console.log(toRaw(Lf))}),computed(()=>{if(!po.value.length)return{width:0,height:0};let Lf=po.value[0]&&_f({type:"Annotation",motivation:"painting"},po.value[0],uo.value[0].seq||1).body;return{width:Lf.width,height:Lf.height}});const mo=computed(()=>po.value.length?xf():[]);watch$1(mo,Lf=>{console.log(toRaw(Lf))});const wo=computed(()=>W.caption||uo.value.filter(Lf=>Lf.caption).map(Lf=>Lf.caption).join(" "));function lf(Lf){var kf;let jf=[];Lf=Lf.replace(/”/g,'"').replace(/”/g,'"'),(kf=Lf==null?void 0:Lf.match(/[^\s"]+|"([^"]*)"/gmi))==null||kf.filter(Rf=>Rf).forEach(Rf=>{jf.length>0&&jf[jf.length-1].indexOf("=")===jf[jf.length-1].length-1?jf[jf.length-1]=`${jf[jf.length-1]}${Rf}`:jf.push(Rf)});let Mf={},Ff=["src","caption","options","fit","rotate","seq"];return jf.filter(Rf=>Rf!=="image").forEach((Rf,Wf)=>{if(Rf.indexOf("=")>0){let Gf=Rf.indexOf("="),rp=Rf.slice(0,Gf),np=Rf.slice(Gf+1);Mf[rp]=np[0]==='"'?np.slice(1,-1):np}else Mf[Ff[Wf]]=Rf[0]==='"'?Rf.slice(1,-1):Rf}),Mf}function yf(){K.value&&(uo.value=Array.from(K.value.querySelectorAll("li")).map(Lf=>lf(Lf.textContent||"")).filter(Lf=>Lf.src||Lf.manifest||Lf.url)),K.value&&new MutationObserver(Lf=>{for(let jf of Lf)jf.type==="childList"&&Array.from(jf.target.classList).indexOf("hydrated")>=0&&yf()}).observe(K.value,{childList:!0,subtree:!0,characterData:!0})}function cf(Lf,jf="en"){return typeof Lf=="object"?Lf[jf]||Lf.none||Lf[Object.keys(Lf).sort()[0]]:Lf}function vf(Lf,jf="en"){return Lf?cf(Lf.label,jf).join("; "):null}function _f(Lf,jf,Mf=1){const Ff=$f(Lf,jf);return Ff.length>=Mf?Ff[Mf-1]:null}function $f(Lf,jf,Mf=[]){if(Mf=Mf||[],jf.items)for(let Ff=0;Ffkf[Wf]&&kf[Wf]!==Gf)?Mf.push(kf):$f(Lf,kf,Mf)}return Mf}function xf(){let Lf=ot.value,jf=ut.value,Mf=ot.value/ut.value;return console.log(`scaleImages: targetWidth=${Lf} targetHeight=${jf} targetAspectRatio=${Mf}`),uo.value.map((Ff,kf)=>{let Rf=po.value[kf];console.log(toRaw(Rf)),console.log(vf(Rf));let Wf=_f({type:"Annotation",motivation:"painting"},po.value[kf],uo.value[kf].seq||1).body,Gf,rp,np,ap;Ff.region&&([Gf,rp,np,ap]=Ff.region.split(":").pop().split(",").map(mg=>parseFloat(mg)),Ff.region.split(":")[0]==="pct"&&(Gf=Math.round(Gf*Wf.width/100),rp=Math.round(rp*Wf.height/100),np=Math.round(np*Wf.width/100),ap=Math.round(ap*Wf.height/100)));const yp=np||Wf.width,mp=ap||Wf.height,Ap=Number((yp/mp).toFixed(4));let Bp=Wf.service[0].id||Wf.service[0]["@id"],Ip=Ap<1?`${Lf},`:`,${jf}`;Ip=`,${jf}`;let ng={src:`${Bp}/full/${Ip}/${Ff.mirror?"!":""}${Ff.rotation||0}/${Ff.quality||"default"}.${Ff.format||"jpg"}`,aspectRatio:Ap,caption:Ff.caption||vf(Rf),fit:Ff.fit||"contain"};return console.log(`image ${kf}: ${yp}x${mp} (${Ap})`,ng),ng})}return(Lf,jf)=>(openBlock(),createElementBlock("div",{ref_key:"main",ref:q,class:"main",style:{width:"100%"}},[createBaseVNode("sl-carousel",{autoplay:F.autoplay?"":null,loop:F.loop?"":null,navigation:F.navigation?"":null,pagination:F.pagination?"":null,style:normalizeStyle({"--aspect-ratio":F.aspectRatio})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(mo.value,(Mf,Ff)=>(openBlock(),createElementBlock("sl-carousel-item",{key:`img-${Ff}`,style:{display:"flex","flex-direction":"column"}},[createBaseVNode("img",{alt:"",src:Mf.src,style:normalizeStyle({objectFit:Mf.fit})},null,12,_hoisted_2$n),_hoisted_3$k]))),128))],12,_hoisted_1$r),createBaseVNode("div",{ref_key:"captionEl",ref:X,class:"caption"},toDisplayString(wo.value),513)],512))}}),_style_0$r=`*,*:before,*:after{box-sizing:border-box}.main{display:flex;flex-direction:column;background-color:#fff;width:100%;border:1px solid red}.wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}sl-carousel{width:100%;flex:1;border:1px solid blue}img{-o-object-fit:contain;object-fit:contain}.caption{background-color:#fff;margin-top:-.5em;padding:.3em;width:100%;font-size:1em;font-weight:400;text-align:center;margin-bottom:.3em;line-height:1.3;border:1px solid green}