import{d as e,N as t,w as i,p as o,b as a}from"./p-ca64077e.js";import{g as n}from"./p-4293820d.js";import"./p-7d5dbd9a.js";(()=>{const a=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${t}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===t)),n={};return"onbeforeload"in a&&!history.scrollRestoration?{then(){}}:(n.resourcesUrl=new URL(".",new URL(a.getAttribute("data-resources-url")||a.src,i.location.href)).href,((o,a)=>{const n=`__sc_import_${t.replace(/\s|-/g,"_")}`;try{i[n]=new Function("w",`return import(w);//${Math.random()}`)}catch(s){const t=new Map;i[n]=s=>{const l=new URL(s,o).href;let c=t.get(l);if(!c){const o=e.createElement("script");o.type="module",o.crossOrigin=a.crossOrigin,o.src=URL.createObjectURL(new Blob([`import * as m from '${l}'; window.${n}.m = m;`],{type:"application/javascript"})),c=new Promise((e=>{o.onload=()=>{e(i[n].m),o.remove()}})),t.set(l,c),e.head.appendChild(o)}return c}}})(n.resourcesUrl,a),i.customElements?o(n):__sc_import_stencila_components("./p-db46d0d3.js").then((()=>n)))})().then((e=>(n(),a([["p-357255e9",[[38,"stencila-code-chunk",{autofocus:[4],programmingLanguageProp:[1,"data-programminglanguage"],isCodeVisible:[4,"is-code-visible"],executeHandler:[16],keymap:[16],executeCodeState:[32],isStacked:[32],outputs:[32],codeErrors:[32],isCodeVisibleState:[32],getContents:[64],execute:[64]},[[8,"collapseAllCode","onSetAllCodeVisibility"],[8,"setAllCodeVisibility","onSetAllCodeVisibility"],[8,"setEditorLayout","onSetEditorLayout"]]]]],["p-7b5bc14d",[[32,"stencila-executable-document-toolbar",{sourceUrl:[1,"source-url"],sessionProviderUrl:[1,"session-provider-url"],position:[1],session:[32],job:[32],executor:[32],codeCount:[32],statusMessage:[32]}]]],["p-456a75a4",[[38,"stencila-code-expression",{executeHandler:[16],programmingLanguage:[1,"programming-language"],output:[32],codeErrors:[32],hover:[32],isCodeVisible:[32],isOutputEmpty:[32],executeCodeState:[32],getContents:[64],execute:[64]},[[8,"collapseAllCode","onSetAllCodeVisibility"],[8,"setAllCodeVisibility","onSetAllCodeVisibility"]]]]],["p-c4a25220",[[38,"stencila-code-error",{error:[16],kind:[1],stackIsOpen:[32]}]]],["p-28836e6f",[[34,"stencila-input",{autoFocus:[4,"auto-focus"],inputmode:[1],type:[1],name:[1],label:[1],hideLabel:[4,"hide-label"],inline:[4],placeholder:[1],iconStart:[1,"icon-start"],required:[4],value:[8]}]]],["p-ccfc2f5e",[[38,"stencila-menu-item",{icon:[1]}]]],["p-b3e59526",[[34,"stencila-tab-list",{tabs:[16],activeTabIndex:[32]}]]],["p-bfbfb552",[[4,"animated-route-switch",{group:[513],routeViewsUpdated:[16],scrollTopOffset:[2,"scroll-top-offset"],location:[16]}]]],["p-356453fc",[[38,"stencila-menu",{isOpen:[1540,"is-open"]}]]],["p-b0a66c96",[[38,"stencila-details",{open:[4],isOpen:[32]}]]],["p-67eedf22",[[34,"stencila-tab",{href:[1],label:[1],isSelected:[4,"selected"]}]]],["p-ccbdfc00",[[38,"stencila-toolbar",{position:[1],color:[1]}]]],["p-453d8fa2",[[38,"stencila-action-menu",{actions:[16],hasSecondaryActions:[32],isCollapsed:[32],width:[32],isAnimating:[32]}],[38,"stencila-node-list",{nodes:[16],isEmpty:[32]}],[38,"stencila-editor",{contents:[1],languageCapabilities:[16],readOnly:[4,"read-only"],activeLanguage:[1537,"active-language"],executeHandler:[16],contentChangeHandler:[16],autofocus:[4],lineNumbers:[4,"line-numbers"],lineWrapping:[4,"line-wrapping"],foldGutter:[4,"fold-gutter"],keymap:[16],errors:[16],getContents:[64],setContents:[64],getState:[64],setState:[64],setStateFromString:[64],getRef:[64]}]]],["p-667f2ff2",[[36,"stencila-toast",{dismissable:[4],duration:[2],type:[1],position:[1]}],[4,"stencila-toast-container",{position:[1]}],[1,"animate-presence",{__presenceKey:[1,"__presence-key"],descendants:[16],observe:[1028],registerChild:[64],unregisterChild:[64],exit:[64],enter:[64]},[[0,"animatePresenceExitComplete","animatePresenceExitCompleteHandler"]]]]],["p-ec03eee7",[[34,"stencila-image-plotly",{data:[16],layout:[16],config:[16],plotIsRendered:[32]},[[8,"plotlyLoaded","onPlotlyLoaded"]]],[34,"stencila-image-vega",{spec:[1],options:[16],plotIsRendered:[32]},[[8,"vegaLoaded","onVegaLoaded"]]],[34,"stencila-data-table",{table:[16]}],[34,"stencila-image-object",{image:[16]}]]],["p-86f16ac1",[[34,"stencila-icon",{icon:[1],iconStyle:[1,"icon-style"]}]]],["p-41696471",[[38,"stencila-button",{href:[1],rel:[1],target:[1],ariaLabel:[1,"aria-label"],color:[1],size:[1],minimal:[4],isSecondary:[4,"is-secondary"],buttonType:[1,"button-type"],disabled:[4],icon:[1],iconOnly:[4,"icon-only"],isLoading:[4,"is-loading"],fill:[4],tooltip:[1],dataEl:[1,"data-el"]}],[38,"stencila-tooltip",{text:[1]}],[38,"stencila-tooltip-element"]]]],e))));