var __spreadArrays=this&&this.__spreadArrays||function(){for(var t=0,a=0,i=arguments.length;a<i;a++)t+=arguments[a].length;for(var e=Array(t),l=0,a=0;a<i;a++)for(var n=arguments[a],o=0,r=n.length;o<r;o++,l++)e[l]=n[o];return e};System.register(["./p-a19ac0ae.system.js","./p-6185228b.system.js"],(function(t){"use strict";var a,i,e;return{setters:[function(t){a=t.r;i=t.h},function(t){e=t.R}],execute:function(){var l='a.sc-stencila-vertical-nav-default{font-family:sans-serif;font-family:var(--font-family-body,sans-serif);font-size:1rem;text-decoration:none;color:#000;color:var(--color-key,#000)}.toc.sc-stencila-vertical-nav-default{overflow-y:auto}.toc.sc-stencila-vertical-nav-default>.toc-list.sc-stencila-vertical-nav-default{overflow:hidden;position:relative}.toc.sc-stencila-vertical-nav-default>.toc-list.sc-stencila-vertical-nav-default li.sc-stencila-vertical-nav-default{list-style-type:none;line-height:1.625}.toc-list.sc-stencila-vertical-nav-default{margin:0;padding-left:.5rem}a.toc-link.sc-stencila-vertical-nav-default{height:100%;color:currentColor;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.toc-link.sc-stencila-vertical-nav-default:not(.is-active-link):hover{padding-left:.5rem}.is-collapsible.sc-stencila-vertical-nav-default{overflow:hidden;max-height:1000px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.is-collapsed.sc-stencila-vertical-nav-default{max-height:0}.is-position-fixed.sc-stencila-vertical-nav-default{top:0;padding-top:1rem;position:fixed;position:fixed!important}.is-active-link.sc-stencila-vertical-nav-default{font-weight:700}.toc-link.sc-stencila-vertical-nav-default:before{position:absolute;background-color:#f7fafc;background-color:var(--color-neutral-100,#f7fafc);display:inline-block;left:0;width:.25rem;margin-top:-1px;content:" ";height:inherit}.is-active-link.sc-stencila-vertical-nav-default:before{background-color:#4299e1;background-color:var(--color-primary-500,#4299e1)}summary.sc-stencila-vertical-nav-default{font-family:sans-serif;font-family:var(--font-family-body,sans-serif);font-size:1rem}';var n='a.sc-stencila-vertical-nav-material{font-family:sans-serif;font-family:var(--font-family-body,sans-serif);font-size:1rem;text-decoration:none;color:#000;color:var(--color-key,#000)}.toc.sc-stencila-vertical-nav-material{overflow-y:auto}.toc.sc-stencila-vertical-nav-material>.toc-list.sc-stencila-vertical-nav-material{overflow:hidden;position:relative}.toc.sc-stencila-vertical-nav-material>.toc-list.sc-stencila-vertical-nav-material li.sc-stencila-vertical-nav-material{list-style-type:none;line-height:1.625}.toc-list.sc-stencila-vertical-nav-material{margin:0;padding-left:.5rem}a.toc-link.sc-stencila-vertical-nav-material{height:100%;color:currentColor;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.toc-link.sc-stencila-vertical-nav-material:not(.is-active-link):hover{padding-left:.5rem}.is-collapsible.sc-stencila-vertical-nav-material{overflow:hidden;max-height:1000px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.is-collapsed.sc-stencila-vertical-nav-material{max-height:0}.is-position-fixed.sc-stencila-vertical-nav-material{top:0;padding-top:1rem;position:fixed;position:fixed!important}.is-active-link.sc-stencila-vertical-nav-material{font-weight:700}.toc-link.sc-stencila-vertical-nav-material:before{position:absolute;background-color:#f7fafc;background-color:var(--color-neutral-100,#f7fafc);display:inline-block;left:0;width:.25rem;margin-top:-1px;content:" ";height:inherit}.is-active-link.sc-stencila-vertical-nav-material:before{background-color:#4299e1;background-color:var(--color-primary-500,#4299e1)}summary.sc-stencila-vertical-nav-material{font-family:sans-serif;font-family:var(--font-family-body,sans-serif);font-size:1rem}';var o=function(t,a){if(a===void 0){a="/"}return i("ul",{class:"toc-list"},t.map((function(t){var e,l,n;return t.parts!==undefined?i("li",null,i("details",{open:true},i("summary",null,t.name),o(t.parts,((e=t.name)!==null&&e!==void 0?e:"")+"/"))):i("li",null,i("a",{class:"toc-link",href:a+((l=t.name)!==null&&l!==void 0?l:"")},t.name," (",i("code",null,a+((n=t.name)!==null&&n!==void 0?n:"")),")"))})))};var r=t("stencila_vertical_nav",function(){function t(t){a(this,t);this.collection=undefined;this._collection=this.collection}t.prototype.componentWillLoad=function(){if(this.collection!==undefined){return}var t=Array.from(document.querySelectorAll('script[type="application/ld+json"]')).reduce((function(t,a){var i={};try{i=JSON.parse(a.innerHTML)}catch(l){return t}return e("Collection",i)?__spreadArrays(t,[i]):t}),[]);this._collection=t[0]};t.prototype.render=function(){var t,a;return i("nav",{class:"toc"},o((a=(t=this._collection)===null||t===void 0?void 0:t.parts)!==null&&a!==void 0?a:[]))};return t}());r.style={default:l,material:n}}}}));