PageSourceSearch

https://jojoelfe.github.io/ccpem2025/assets/index-PkG-o6ZB.js

js jojoelfe.github.io collected 2026-10-03 09:24:34 UTC 133,294 bytes, 117 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/md-Bxt-UnFu.js","assets/modules/vue-CL6EimNF.js","assets/intro-image.vue_vue_type_script_setup_true_lang--0Xa9Wsk.js","assets/slidev/context-Ju4Ae20x.js","assets/modules/shiki-CnCBH_1U.js","assets/modules/shiki-Bxv373Z5.css","assets/md-xMTnugIJ.js","assets/slidev/SlidevVideo.vue_vue_type_script_setup_true_lang-Bzuo9QZg.js","assets/md-DHiaVkUw.js","assets/slidev/default-Bpi8yHyS.js","assets/md-DmZohhPM.js","assets/cathy-B5yd1CS2.js","assets/md-CHymddCs.js","assets/md-Dd206sXS.js","assets/md-UzGd1qrO.js","assets/niko-CYYWbr59.js","assets/md-DHtFar9H.js","assets/md-KwlC_F0j.js","assets/md-Cz-6hVg8.js","assets/md-CmxiqWac.js","assets/md-MgtRTDJ7.js","assets/md-DREvuRdx.js","assets/md-DbF0Naxj.js","assets/fig2a-DKTpgGx4.js","assets/md-CPADXXpM.js","assets/md-CUhxKkcB.js","assets/md-C0KdZDZH.js","assets/md-DlBYWcXX.js","assets/md-DiaJBS2G.js","assets/md-bR9qKfQc.css","assets/md-BRUy-fby.js","assets/md-Cc4GCfhP.js","assets/modules/unplugin-icons-D7Qkxpd6.js","assets/md-C428vb3_.js","assets/md-GQzHk_YW.js","assets/md--KdFZ_kR.js","assets/md--ZOP1uUz.js","assets/md-DATx3jK0.js","assets/md-CDv8e9Ia.js","assets/md-Dz-48zlY.js","assets/md-B5wzp404.js","assets/md-C12O47sa.js","assets/angle2-CpN8OMXR.js","assets/md-DtzKGUX9.js","assets/md-BL_kU-GH.js","assets/md-BdkXwPzu.js","assets/md-ScKvRXJW.css","assets/md-D8Bo3wg6.js","assets/md-CIdVyyyT.css","assets/md-BJASUejV.js","assets/slidev/entry-lyPlFbKN.js","assets/entry-B9YBcpz5.css","assets/slidev/overview-C2VtkM7D.js","assets/slidev/NoteDisplay.vue_vue_type_style_index_0_lang-Bw_xaKzn.js","assets/NoteDisplay-CU_48-Vp.css","assets/slidev/SlideWrapper-Dqnq56LM.js","assets/SlideWrapper-D4hnUAj-.css","assets/slidev/IconButton.vue_vue_type_script_setup_true_lang-CWJlcEfO.js","assets/slidev/notes-D10GaGlq.js","assets/slidev/presenter-BCDb-IGr.js","assets/slidev/shortcuts-DaME2qVu.js","assets/shortcuts-DtXtpv8K.css","assets/slidev/DrawingControls.vue_vue_type_style_index_0_lang-C1S59ymp.js","assets/DrawingControls-Cxk9a9ub.css","assets/presenter-N0aN7BUA.css","assets/slidev/play-BOi2aenI.js","assets/play-D_7yfuao.css","assets/slidev/404-BNQERos1.js","assets/404-y42cWh0M.css"])))=>i.map(i=>d[i]);
2import{z as b,A as nr,B as Ur,C as Jr,D as sr,r as D,E as ie,G as Kr,H as Gr,I as Qr,J as rr,K as or,L,M as Yr,N as Zr,f as wn,o as Fe,t as Xr,d as ir,i as to,F as eo,g as Zn,O as $,P as jn,Q as no,R as Ye,p as so,S as ro,T as oo,U as io,V as ao,W as lo,X as co,Y as U,Z as ar,_ as Ze,$ as uo,a0 as lr,a1 as rt,a2 as fo,a3 as ho,a4 as po,a5 as cr,b as go,a as mo,a6 as yo,a7 as _o,a8 as vo,a9 as wo,aa as ko,ab as bo,ac as So,c as Mo}from"./modules/vue-CL6EimNF.js";import{T as Eo}from"./modules/shiki-CnCBH_1U.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const V={theme:"./theme",title:"Johannes Elferich - CCPEM 04/2025",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:!0,monacoTypesSource:"local",monacoTypesAdditionalPackages:[],monacoTypesIgnorePackages:[],monacoRunAdditionalDeps:[],download:!1,export:{},info:!1,highlighter:"shiki",twoslash:!0,lineNumbers:!1,colorSchema:"dark",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:1080,exportFilename:"",selectable:!1,themeConfig:{},fonts:{sans:['"Roboto"',"ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Roboto"],provider:"google",local:["Helvetica Neue"],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",codeCopy:!0,author:"",record:"dev",css:"unocss",presenter:!0,browserExporter:"dev",htmlAttrs:{},transition:"slide-left",editor:!0,contextMenu:null,wakeLock:!0,mdc:!0,seoMeta:{},layout:"intro-image",image:"/cover.png",slidesTitle:"Johannes Elferich - CCPEM 04/2025 - Slidev"};function kn(e,t,n){return Math.min(n,Math.max(t,e))}function Oo(...e){return To(e).reduce((t,n)=>t+n,0)}function $o(e){return e=e??[],Array.isArray(e)?e:[e]}function To(e){return $o(e).flat(1)}function Lo(e){return Array.from(new Set(e))}function Xn(...e){let t,n,s;e.length===1?(t=0,s=1,[n]=e):[t,n,s=1]=e;const r=[];let o=t;for(;o<n;)r.push(o),o+=s||1;return r}function Po(e){return e!=null}function Ao(e,t){return Object.fromEntries(Object.entries(e).map(([n,s])=>t(n,s)).filter(Po))}
2const Hc="build",ur=b(()=>V.aspectRatio),fr=b(()=>V.canvasWidth),Co=b(()=>Math.ceil(fr.value/ur.value)),Do=b(()=>Ao(V.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t])),an=V.slidesTitle,xc="/ccpem2025/",Ro=[],Io=new Set(["link","style","script","noscript"]),jo=new Set(["title","titleTemplate","script","style","noscript"]),ts=new Set(["base","meta","link","style","script","noscript"]),No=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Ho=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),xo=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Vo=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Fo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function bn(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?bn(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const Wo={run:e=>e()},zo=()=>Wo,dr=typeof console.createTask<"u"?console.createTask:zo;function Bo(e,t){const n=t.shift(),s=dr(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function qo(e,t){const n=t.shift(),s=dr(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function ln(e,t){for(const n of[...e])n(t)}class Uo{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...o)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...o));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=bn(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=bn(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Bo,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(qo,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&ln(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&ln(this._after,r)}):(this._after&&r&&ln(this._after,r),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Jo(){return new Uo}const Ko=["name","property","http-equiv"];function hr(e){const t=e.split(":")[1];return Fo.has(t)}function Sn(e){const{props:t,tag:n}=e;if(Ho.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of Ko)if(t[s]!==void 0)return`${n}:${t[s]}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(jo.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function es(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function We(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(o=>We(o,t));if((r==null?void 0:r.constructor)===Object){const o={};for(const i of Object.keys(r))o[i]=We(r[i],t,i);return o}return r}function Go(e,t){const n=e==="style"?new Map:new Set;function s(r){const o=r.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l.trim());i&&a.length&&n.set(i,a.join(":"))}
2else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,o])=>{o&&o!=="false"&&(e==="style"?n.set(r.trim(),o):s(r))}),n}function pr(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Go(n,s);return}if(xo.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let i=t.type;if(t.type||(i="application/json"),!(i!=null&&i.endsWith("json"))&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(s)}else e[n]=s;return}const r=String(s),o=n.startsWith("data-");r==="true"||r===""?e.props[n]=o?r:!0:!s&&o&&r==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e}function Qo(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=pr({tag:e,props:{}},n);return s.key&&Io.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function Yo(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,o)=>{for(let i=0;i<t.length;i++)o=t[i](r,o);return o};e=n(void 0,e);const s=[];return e=We(e,n),Object.entries(e||{}).forEach(([r,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])s.push(Qo(r,i))}),s.flat()}const ns=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ss={base:-10,title:10},Zo={critical:-8,high:-1,low:2},rs={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Xo=/@import/,de=e=>e===""||e===!0;function ti(e,t){var o;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=Zo[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:rs;if(t.tag in ss)n=ss[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=rs.meta[i])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?de(t.props.async)?n=r.script.async:t.props.src&&!de(t.props.defer)&&!de(t.props.async)&&t.props.type!=="module"&&!((o=t.props.type)!=null&&o.endsWith("json"))?n=r.script.sync:de(t.props.defer)&&t.props.src&&!de(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&Xo.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+s}function os(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function ei(e={}){var a;const t=Jo();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,r=new Map,o=[],i={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:l=>os(i,l),push(l,c){const u={...c||{}};delete u.head;const f=u._index??i._entryCount++,p={_i:f,input:l,options:u},h={_poll(g=!1){i.dirty=!0,!g&&o.push(f),t.callHook("entries:updated",i)},dispose(){s.delete(f)&&h._poll(!0)},patch(g){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(p.input=g,s.set(f,p),h._poll())}};return h.patch(l),h},async resolveTags(){var h;const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.length;){const g=o.shift(),d=s.get(g);if(d){const m={tags:Yo(d.input,e.propResolvers||[]).map(_=>Object.assign(_,d.options)),entry:d};await t.callHook("entries:normalize",m),d._tags=m.tags.map((_,y)=>(_._w=ti(i,_),_._p=(d._i<<10)+y,_._d=Sn(_),_))}}let c=!1;l.entries.flatMap(g=>(g._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(ns).reduce((g,d)=>{const m=String(d._d||d._p);if(!g.has(m))return g.set(m,d);const _=g.get(m);if(((d==null?void 0:d.tagDuplicateStrategy)||(Vo.has(d.tag)?"merge":null)||(d.key&&d.key===_.key?"merge":null))==="merge"){const w={..._.props};
2Object.entries(d.props).forEach(([k,S])=>w[k]=k==="style"?new Map([..._.props.style||new Map,...S]):k==="class"?new Set([..._.props.class||new Set,...S]):S),g.set(m,{...d,props:w})}else d._p>>10===_._p>>10&&hr(d._d)?(g.set(m,Object.assign([...Array.isArray(_)?_:[_],d],d)),c=!0):(d._w===_._w?d._p>_._p:(d==null?void 0:d._w)<(_==null?void 0:_._w))&&g.set(m,d);return g},l.tagMap);const u=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(i._title=u==null?void 0:u.textContent,f){const g=f==null?void 0:f.textContent;if(i._titleTemplate=g,g){let d=typeof g=="function"?g(u==null?void 0:u.textContent):g;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",(u==null?void 0:u.textContent)||"")),u?d===null?l.tagMap.delete("title"):l.tagMap.set("title",{...u,textContent:d}):(f.tag="title",f.textContent=d)}}l.tags=Array.from(l.tagMap.values()),c&&(l.tags=l.tags.flat().sort(ns)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const p=[];for(const g of l.tags){const{innerHTML:d,tag:m,props:_}=g;if(No.has(m)&&!(Object.keys(_).length===0&&!g.innerHTML&&!g.textContent)&&!(m==="meta"&&!_.content&&!_["http-equiv"]&&!_.charset)){if(m==="script"&&d){if((h=_.type)!=null&&h.endsWith("json")){const y=typeof d=="string"?d:JSON.stringify(d);g.innerHTML=y.replace(/</g,"\\u003C")}else typeof d=="string"&&(g.innerHTML=d.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));g._d=Sn(g)}p.push(g)}}return p}};return((e==null?void 0:e.plugins)||[]).forEach(l=>os(i,l)),i.hooks.callHook("init",i),(a=e.init)==null||a.forEach(l=>l&&i.push(l)),i}const ni=(e,t)=>Ur(t)?nr(t):t,gr="usehead";function si(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(gr,e)}}.install}function ri(){if(Jr()){const e=sr(gr);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function oi(e,t={}){const n=t.head||ri();return n.ssr?n.push(e||{},t):ii(n,e,t)}function ii(e,t,n={}){const s=D(!1);let r;return ie(()=>{const i=s.value?{}:We(t,ni);r?r.patch(i):r=e.push(i,n)}),rr()&&(Kr(()=>{r.dispose()}),Gr(()=>{s.value=!0}),Qr(()=>{s.value=!1})),r}function Mn(e){if(e===!1||e==="false")return null;if(e==null||e===!0||e==="true")return"+1";if(typeof e=="string"&&"+-".includes(e[0]))return e;const t=+e;return Number.isNaN(t)?(console.error(`Invalid "at" prop value: ${e}`),null):t}function ai(e){return Array.isArray(e)?[Mn(e[0]),Mn(e[1])]:null}function mr(e,t=0,n){const s=D(!1);let r=new Map,o=new Map;const i={get current(){return kn(+e.value,t,i.total)},set current(a){e.value=s.value?kn(a,t,i.total):a},clicksStart:t,get relativeSizeMap(){return r},get maxMap(){return o},get isMounted(){return s.value},setup(){or(()=>{s.value=!0,o=L(o),Yr(e)||(i.current=e.value)}),Zr(()=>{s.value=!1,r=new Map,o=new Map})},calculateSince(a,l=1){const c=Mn(a);if(c==null)return null;let u,f,p;if(typeof c=="string"){const h=i.currentOffset,g=+c;u=h+g,f=h+g+l-1,p=g+l-1}else u=c,f=c+l-1,p=0;return{start:u,end:+Number.POSITIVE_INFINITY,max:f,delta:p,currentOffset:b(()=>i.current-u),isCurrent:b(()=>i.current===u),isActive:b(()=>i.current>=u)}},calculateRange(a){const l=ai(a);if(l==null)return null;const[c,u]=l;let f,p,h;return typeof c=="string"?(f=i.currentOffset+ +c,h=+c):(f=c,h=0),typeof u=="string"?(p=f+ +u,h+=+u):p=u,{start:f,end:p,max:p,delta:h,currentOffset:b(()=>i.current-f),isCurrent:b(()=>i.current===f),isActive:b(()=>f<=i.current&&i.current<p)}},calculate(a){return Array.isArray(a)?i.calculateRange(a):i.calculateSince(a)},register(a,l){if(!l)return;const{delta:c,max:u}=l;r.set(a,c),o.set(a,u)},unregister(a){r.delete(a),o.delete(a)},get currentOffset(){return Oo(...r.values())},get total(){return n??(s.value?Math.max(0,...o.values()):0)}};return i}function li(e,t=0){var s,r;const n=((s=e==null?void 0:e.meta.slide)==null?void 0:s.frontmatter.clicksStart)??0;return mr(b(()=>Math.max(nr(t),n)),n,(r=e==null?void 0:e.meta)==null?void 0:r.clicks)}const ci="modulepreload",ui=function(e){return"/ccpem2025/"+e},is={},O=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(l=>{if(l=ui(l),l in is)return;is[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":ci,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return r.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},fi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},di={},hi={class:"px-4 py-10 text-center text-red-700 dark:text-red-500 font-bold font-mono"};function pi(e,t){return Fe(),wn("div",hi,Xr("Failed to fetch this slide. Please check your network connection."))}const P=fi(di,[["render",pi]]),gi={class:"h-full w-full flex items-center justify-center gap-2 slidev-slide-loading"}
2,mi=ir({__name:"SlideLoading",setup(e){const t=D(!1);return or(()=>{setTimeout(()=>{t.value=!0},200)}),(n,s)=>(Fe(),wn("div",gi,[t.value?(Fe(),wn(eo,{key:0},[s[0]||(s[0]=Zn("div",{class:"i-svg-spinners-90-ring-with-bg text-xl"},null,-1)),s[1]||(s[1]=Zn("div",null,"Loading slide...",-1))],64)):to("v-if",!0)]))}}),yi={theme:"./theme",title:"Johannes Elferich - CCPEM 04/2025",highlighter:"shiki",drawings:{persist:!1},transition:"slide-left",mdc:!0,canvasWidth:1080,layout:"intro-image",image:"/cover.png",colorSchema:"dark",fonts:{sans:"Roboto"}},ht=$(yi),_i=L({get layout(){return ht.layout},get transition(){return ht.transition},get class(){return ht.class},get clicks(){return ht.clicks},get name(){return ht.name},get preload(){return ht.preload},slide:{content:"",revision:"412uoo",frontmatterRaw:`# You can also start simply with 'default'
3theme: ./theme
4# some information about your slides (markdown enabled)
5title: Johannes Elferich - CCPEM 04/2025
6
7# https://sli.dev/custom/highlighters.html
8highlighter: shiki
9# https://sli.dev/guide/drawing
10drawings:
11  persist: false
12# slide transition: https://sli.dev/guide/animations#slide-transitions
13transition: slide-left
14# enable MDC Syntax: https://sli.dev/guide/syntax#mdc-syntax
15mdc: true
16canvasWidth: 1080
17layout: intro-image
18image: '/cover.png'
19colorSchema: dark
20fonts:
21  # basically the text
22  sans: Roboto
23
24`,note:"",title:"Johannes Elferich - CCPEM 04/2025",index:0,noteHTML:"",raw:"",frontmatter:ht,filepath:"",start:0,id:0,no:1},__clicksContext:null,__preloaded:!1}),vi={class:"bg-black",layout:"intro-image"},pt=$(vi),wi=L({get layout(){return pt.layout},get transition(){return pt.transition},get class(){return pt.class},get clicks(){return pt.clicks},get name(){return pt.name},get preload(){return pt.preload},slide:{content:"",revision:"jrw06k",frontmatterRaw:`class: bg-black
25layout: intro-image
26`,note:"",title:"Synapses",level:1,index:1,noteHTML:"",raw:"",frontmatter:pt,filepath:"",start:35,id:1,no:2},__clicksContext:null,__preloaded:!1}),ki={class:"bg-black"},gt=$(ki),bi=L({get layout(){return gt.layout},get transition(){return gt.transition},get class(){return gt.class},get clicks(){return gt.clicks},get name(){return gt.name},get preload(){return gt.preload},slide:{content:"",revision:"-xqe269",frontmatterRaw:`class: bg-black
27`,note:"",title:"Cryo-ET to study the architecture of the synapse",level:1,index:2,noteHTML:"",raw:"",frontmatter:gt,filepath:"",start:48,id:2,no:3},__clicksContext:null,__preloaded:!1}),Si={class:"bg-black pa-0",layout:"intro-image",transition:"none"},mt=$(Si),Mi=L({get layout(){return mt.layout},get transition(){return mt.transition},get class(){return mt.class},get clicks(){return mt.clicks},get name(){return mt.name},get preload(){return mt.preload},slide:{content:"",revision:"55b3p8",frontmatterRaw:`class: bg-black pa-0
28
29layout: intro-image
30transition: none
31`,note:"",index:3,noteHTML:`<p>Maybe update with newer segmentation + tomo and move around from perfect sideview</p>
32`,raw:"",frontmatter:mt,filepath:"",start:63,id:3,no:4},__clicksContext:null,__preloaded:!1}),Ei={class:"bg-black pa-0",layout:"intro-image"},yt=$(Ei),Oi=L({get layout(){return yt.layout},get transition(){return yt.transition},get class(){return yt.class},get clicks(){return yt.clicks},get name(){return yt.name},get preload(){return yt.preload},slide:{content:"",revision:"u2k1wp",frontmatterRaw:`class: bg-black pa-0
33
34layout: intro-image
35
36`,note:"",index:4,noteHTML:`<p>Maybe update with newer segmentation + tomo and move around from perfect sideview</p>
37`,raw:"",frontmatter:yt,filepath:"",start:87,id:4,no:5},__clicksContext:null,__preloaded:!1}),$i={},_t=$($i),Ti=L({get layout(){return _t.layout},get transition(){return _t.transition},get class(){return _t.class},get clicks(){return _t.clicks},get name(){return _t.name},get preload(){return _t.preload},slide:{content:"",revision:"dj3fb5",note:"",title:"Is there another way?",level:1,index:5,noteHTML:`<p>Replace with CEMOVIS animation</p>
38`,raw:"",frontmatter:_t,filepath:"",start:113,id:5,no:6},__clicksContext:null,__preloaded:!1}),Li={transition:"none"},vt=$(Li),Pi=L({get layout(){return vt.layout},get transition(){return vt.transition},get class(){return vt.class},get clicks(){return vt.clicks},get name(){return vt.name},get preload(){return vt.preload},slide:{content:"",revision:"-d043sg",frontmatterRaw:`transition: none
39`,note:"",title:"What does the grid look like",level:1,index:6,noteHTML:"",raw:"",frontmatter:vt,filepath:"",start:122,id:6,no:7},__clicksContext:null,__preloaded:!1}),Ai={transition:"none"},wt=$(Ai),Ci=L({get layout(){return wt.layout},get transition(){return wt.transition},get class(){return wt.class},get clicks(){return wt.clicks},get name(){return wt.name},get preload(){return wt.preload},slide:{content:"",revision:"xo4bwi",frontmatterRaw:`transition: none
40`,note:"",title:"What does the grid look like",level:1,index:7,noteHTML:"",raw:"",frontmatter:wt,filepath:"",start:143,i
40d:7,no:8},__clicksContext:null,__preloaded:!1}),Di={transition:"none"},kt=$(Di),Ri=L({get layout(){return kt.layout},get transition(){return kt.transition},get class(){return kt.class},get clicks(){return kt.clicks},get name(){return kt.name},get preload(){return kt.preload},slide:{content:"",revision:"l042xt",frontmatterRaw:`transition: none
41`,note:"",title:"What does the grid look like",level:1,index:8,noteHTML:"",raw:"",frontmatter:kt,filepath:"",start:166,id:8,no:9},__clicksContext:null,__preloaded:!1}),Ii={},bt=$(Ii),ji=L({get layout(){return bt.layout},get transition(){return bt.transition},get class(){return bt.class},get clicks(){return bt.clicks},get name(){return bt.name},get preload(){return bt.preload},slide:{content:"",revision:"559c8j",note:"",title:"What does the grid look like",level:1,index:9,noteHTML:"",raw:"",frontmatter:bt,filepath:"",start:190,id:9,no:10},__clicksContext:null,__preloaded:!1}),Ni={},St=$(Ni),Hi=L({get layout(){return St.layout},get transition(){return St.transition},get class(){return St.class},get clicks(){return St.clicks},get name(){return St.name},get preload(){return St.preload},slide:{content:"",revision:"5epgyq",note:"",title:"Powerspectra indicate high-quality data",level:1,index:10,noteHTML:`<p>Show micrographs</p>
42`,raw:"",frontmatter:St,filepath:"",start:212,id:10,no:11},__clicksContext:null,__preloaded:!1}),xi={},Mt=$(xi),Vi=L({get layout(){return Mt.layout},get transition(){return Mt.transition},get class(){return Mt.class},get clicks(){return Mt.clicks},get name(){return Mt.name},get preload(){return Mt.preload},slide:{content:"",revision:"a3y13t",note:"",index:11,noteHTML:"",raw:"",frontmatter:Mt,filepath:"",start:227,id:11,no:12},__clicksContext:null,__preloaded:!1}),Fi={},Et=$(Fi),Wi=L({get layout(){return Et.layout},get transition(){return Et.transition},get class(){return Et.class},get clicks(){return Et.clicks},get name(){return Et.name},get preload(){return Et.preload},slide:{content:"",revision:"9t528i",note:"",title:"2DTM - Damage quantification & Baited reconstruction",level:1,index:12,noteHTML:"",raw:"",frontmatter:Et,filepath:"",start:244,id:12,no:13},__clicksContext:null,__preloaded:!1}),zi={},Ot=$(zi),Bi=L({get layout(){return Ot.layout},get transition(){return Ot.transition},get class(){return Ot.class},get clicks(){return Ot.clicks},get name(){return Ot.name},get preload(){return Ot.preload},slide:{content:"",revision:"tfevbj",note:"",title:"Our yeast 60S template",level:1,index:13,noteHTML:`<p>FIrst 1-2 slidex explaining 2DTM</p>
43`,raw:"",frontmatter:Ot,filepath:"",start:261,id:13,no:14},__clicksContext:null,__preloaded:!1}),qi={transition:"fade"},$t=$(qi),Ui=L({get layout(){return $t.layout},get transition(){return $t.transition},get class(){return $t.class},get clicks(){return $t.clicks},get name(){return $t.name},get preload(){return $t.preload},slide:{content:"",revision:"km7fzx",frontmatterRaw:`transition: fade
44`,note:"",title:"2DTM detections of the 60S subunit in vitreous sections!",level:1,index:14,noteHTML:"",raw:"",frontmatter:$t,filepath:"",start:269,id:14,no:15},__clicksContext:null,__preloaded:!1}),Ji={transition:"fade"},Tt=$(Ji),Ki=L({get layout(){return Tt.layout},get transition(){return Tt.transition},get class(){return Tt.class},get clicks(){return Tt.clicks},get name(){return Tt.name},get preload(){return Tt.preload},slide:{content:"",revision:"d72bge",frontmatterRaw:`transition: fade
45`,note:"",title:"2DTM detections of the 60S subunit in vitreous sections!",level:1,index:15,noteHTML:"",raw:"",frontmatter:Tt,filepath:"",start:277,id:15,no:16},__clicksContext:null,__preloaded:!1}),Gi={},Lt=$(Gi),Qi=L({get layout(){return Lt.layout},get transition(){return Lt.transition},get class(){return Lt.class},get clicks(){return Lt.clicks},get name(){return Lt.name},get preload(){return Lt.preload},slide:{content:"",revision:"npjynq",note:"",title:"2DTM detections of the 60S subunit in vitreous sections!",level:1,index:16,noteHTML:"",raw:"",frontmatter:Lt,filepath:"",start:286,id:16,no:17},__clicksContext:null,__preloaded:!1}),Yi={},Pt=$(Yi),Zi=L({get layout(){return Pt.layout},get transition(){return Pt.transition},get class(){return Pt.class},get clicks(){return Pt.clicks},get name(){return Pt.name},get preload(){return Pt.preload},slide:{content:"",revision:"-6bxilh",note:"",title:"CEMOVIS vs FIB - Number of detections",level:1,index:17,noteHTML:"",raw:"",frontmatter:Pt,filepath:"",start:292,id:17,no:18},__clicksContext:null,__preloaded:!1}),Xi={},At=$(Xi),ta=L({get layout(){return At.layout},get transition(){return At.transition},get class(){return At.class},get clicks(){return At.clicks},get name(){return At.name},get preload(){return At.preload},slide:{content:"",revision:"84hucq",note:"",title:"CEMOVIS vs FIB - Signal to Noise",level:1,index:18,noteHTML:"",raw:"",frontmatter:At,filepath:"",start:298,id:18,no:19},__clicksContext:null,__preloaded:!1}),ea={},Ct=$(ea),na=L({get layout(){return Ct.layout},get transition(){return Ct.transition},get class(){return Ct.class},get clicks(){return Ct.clicks},get name(){return Ct.name},get preload(){return Ct.preload},slide:{content:"",revision:"8pekw6",note:"",title:"Can we make a good reconstruction?",level:1,index:19,noteHTML:"",raw:"",frontmatter:Ct,filepath:"",start:337,id:19,no:20},__clicksContext:null,__preloaded:!1}),sa={},Dt=$(sa),ra=L({get layout(){return Dt.layout},get transition(){return Dt.transition},get class(){return Dt.class},get clicks(){return Dt.clicks},get name(){return Dt.name},get preload(){return Dt.preload},slide:{content:"",revision:"qy6txx",note:"",title:"What is the resolution?",level:1,index:20,noteHTML:"",raw:"",frontmatter:Dt,filepath:"",start:344,id:20,no:21},__clicksContext:null,__preloaded:!1}),oa={}
45,Rt=$(oa),ia=L({get layout(){return Rt.layout},get transition(){return Rt.transition},get class(){return Rt.class},get clicks(){return Rt.clicks},get name(){return Rt.name},get preload(){return Rt.preload},slide:{content:"",revision:"-alxelu",note:"",title:"What does the map look like - L34A",level:1,index:21,noteHTML:"",raw:"",frontmatter:Rt,filepath:"",start:351,id:21,no:22},__clicksContext:null,__preloaded:!1}),aa={class:"bg-black pa-0",layout:"intro-image"},It=$(aa),la=L({get layout(){return It.layout},get transition(){return It.transition},get class(){return It.class},get clicks(){return It.clicks},get name(){return It.name},get preload(){return It.preload},slide:{content:"",revision:"-oxo6xv",frontmatterRaw:`class: bg-black pa-0
46
47layout: intro-image
48
49`,note:"",index:22,noteHTML:`<p>Dark background</p>
50`,raw:"",frontmatter:It,filepath:"",start:356,id:22,no:23},__clicksContext:null,__preloaded:!1}),ca={},jt=$(ca),ua=L({get layout(){return jt.layout},get transition(){return jt.transition},get class(){return jt.class},get clicks(){return jt.clicks},get name(){return jt.name},get preload(){return jt.preload},slide:{content:"",revision:"ndx9k3",note:"",title:"Where does the damage come from?",level:1,index:23,noteHTML:`<p>Animation explaining slice angle</p>
51`,raw:"",frontmatter:jt,filepath:"",start:371,id:23,no:24},__clicksContext:null,__preloaded:!1}),fa={transition:"fade"},Nt=$(fa),da=L({get layout(){return Nt.layout},get transition(){return Nt.transition},get class(){return Nt.class},get clicks(){return Nt.clicks},get name(){return Nt.name},get preload(){return Nt.preload},slide:{content:"",revision:"-iw48wj",frontmatterRaw:`transition: fade
52`,note:"",title:"Where does the damage come from?",level:1,index:24,noteHTML:"",raw:"",frontmatter:Nt,filepath:"",start:378,id:24,no:25},__clicksContext:null,__preloaded:!1}),ha={transition:"fade"},Ht=$(ha),pa=L({get layout(){return Ht.layout},get transition(){return Ht.transition},get class(){return Ht.class},get clicks(){return Ht.clicks},get name(){return Ht.name},get preload(){return Ht.preload},slide:{content:"",revision:"hs0t5j",frontmatterRaw:`transition: fade
53`,note:"",title:"Where does the damage come from?",level:1,index:25,noteHTML:"",raw:"",frontmatter:Ht,filepath:"",start:386,id:25,no:26},__clicksContext:null,__preloaded:!1}),ga={transition:"fade"},xt=$(ga),ma=L({get layout(){return xt.layout},get transition(){return xt.transition},get class(){return xt.class},get clicks(){return xt.clicks},get name(){return xt.name},get preload(){return xt.preload},slide:{content:"",revision:"7x6u1m",frontmatterRaw:`transition: fade
54`,note:"",title:"Where does the damage come from?",level:1,index:26,noteHTML:"",raw:"",frontmatter:xt,filepath:"",start:394,id:26,no:27},__clicksContext:null,__preloaded:!1}),ya={transition:"fade"},Vt=$(ya),_a=L({get layout(){return Vt.layout},get transition(){return Vt.transition},get class(){return Vt.class},get clicks(){return Vt.clicks},get name(){return Vt.name},get preload(){return Vt.preload},slide:{content:"",revision:"i1pi3",frontmatterRaw:`transition: fade
55`,note:"",title:"Where does the damage come from?",level:1,index:27,noteHTML:"",raw:"",frontmatter:Vt,filepath:"",start:402,id:27,no:28},__clicksContext:null,__preloaded:!1}),va={transition:"fade"},Ft=$(va),wa=L({get layout(){return Ft.layout},get transition(){return Ft.transition},get class(){return Ft.class},get clicks(){return Ft.clicks},get name(){return Ft.name},get preload(){return Ft.preload},slide:{content:"",revision:"lxa5uz",frontmatterRaw:`transition: fade
56`,note:"",title:"Where does the damage come from?",level:1,index:28,noteHTML:"",raw:"",frontmatter:Ft,filepath:"",start:410,id:28,no:29},__clicksContext:null,__preloaded:!1}),ka={transition:"fade"},Wt=$(ka),ba=L({get layout(){return Wt.layout},get transition(){return Wt.transition},get class(){return Wt.class},get clicks(){return Wt.clicks},get name(){return Wt.name},get preload(){return Wt.preload},slide:{content:"",revision:"-6vlejy",frontmatterRaw:`transition: fade
57`,note:"",title:"Where does the damage come from?",level:1,index:29,noteHTML:"",raw:"",frontmatter:Wt,filepath:"",start:418,id:29,no:30},__clicksContext:null,__preloaded:!1}),Sa={},zt=$(Sa),Ma=L({get layout(){return zt.layout},get transition(){return zt.transition},get class(){return zt.class},get clicks(){return zt.clicks},get name(){return zt.name},get preload(){return zt.preload},slide:{content:"",revision:"68hl8e",note:"",title:"Where does the damage come from?",level:1,index:30,noteHTML:"",raw:"",frontmatter:zt,filepath:"",start:427,id:30,no:31},__clicksContext:null,__preloaded:!1}),Ea={},Bt=$(Ea),Oa=L({get layout(){return Bt.layout},get transition(){return Bt.transition},get class(){return Bt.class},get clicks(){return Bt.clicks},get name(){return Bt.name},get preload(){return Bt.preload},slide:{content:"",revision:"-y8off9",note:"",title:"A simple model of damage in cryosectioning",level:1,index:31,noteHTML:"",raw:"",frontmatter:Bt,filepath:"",start:435,id:31,no:32},__clicksContext:null,__preloaded:!1}),$a={},qt=$($a),Ta=L({get layout(){return qt.layout},get transition(){return qt.transition},get class(){return qt.class},get clicks(){return qt.clicks},get name(){return qt.name},get preload(){return qt.preload},slide:{content:"",revision:"bb57el",note:"",title:"Summary",level:1,index:32,noteHTML:"",raw:"",frontmatter:qt,filepath:"",start:454,id:32,no:33},__clicksContext:null,__preloaded:!1}),La={},Ut=$(La),Pa=L({get layout(){return Ut.layout},get transition(){return Ut.transition},get class(){return Ut.class},get clicks(){return Ut.clicks},get name(){return Ut.name},get preload(){return Ut.preload}
57,slide:{content:"",revision:"xzvv1k",note:"",title:"Thank you!",level:1,index:33,noteHTML:"",raw:"",frontmatter:Ut,filepath:"",start:478,id:33,no:34},__clicksContext:null,__preloaded:!1}),Aa={},Jt=$(Aa),Ca=L({get layout(){return Jt.layout},get transition(){return Jt.transition},get class(){return Jt.class},get clicks(){return Jt.clicks},get name(){return Jt.name},get preload(){return Jt.preload},slide:{content:"",revision:"tl2rc0",note:"",title:"But not always",level:1,index:34,noteHTML:`<p>Quantify somehow</p>
58`,raw:"",frontmatter:Jt,filepath:"",start:531,id:34,no:35},__clicksContext:null,__preloaded:!1}),v=new Array(35),C=(e,t)=>no({loader:t,delay:300,loadingComponent:mi,errorComponent:P,onError:n=>console.error("Failed to load slide "+(e+1),n)}),as=async()=>{try{return v[0]??(v[0]=await O(()=>import("./md-Bxt-UnFu.js"),__vite__mapDeps([0,1,2,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ls=async()=>{try{return v[1]??(v[1]=await O(()=>import("./md-xMTnugIJ.js"),__vite__mapDeps([6,7,1,3,2,4,5])))}catch(e){return console.error("slide failed to load",e),P}},cs=async()=>{try{return v[2]??(v[2]=await O(()=>import("./md-DHiaVkUw.js"),__vite__mapDeps([8,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},us=async()=>{try{return v[3]??(v[3]=await O(()=>import("./md-DmZohhPM.js"),__vite__mapDeps([10,1,11,2,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},fs=async()=>{try{return v[4]??(v[4]=await O(()=>import("./md-CHymddCs.js"),__vite__mapDeps([12,7,1,3,11,2,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ds=async()=>{try{return v[5]??(v[5]=await O(()=>import("./md-Dd206sXS.js"),__vite__mapDeps([13,7,1,3,9,4,5])))}catch(e){return console.error("slide failed to load",e),P}},hs=async()=>{try{return v[6]??(v[6]=await O(()=>import("./md-UzGd1qrO.js"),__vite__mapDeps([14,1,15,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ps=async()=>{try{return v[7]??(v[7]=await O(()=>import("./md-DHtFar9H.js"),__vite__mapDeps([16,7,1,3,15,9,4,5])))}catch(e){return console.error("slide failed to load",e),P}},gs=async()=>{try{return v[8]??(v[8]=await O(()=>import("./md-KwlC_F0j.js"),__vite__mapDeps([17,7,1,3,15,9,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ms=async()=>{try{return v[9]??(v[9]=await O(()=>import("./md-Cz-6hVg8.js"),__vite__mapDeps([18,7,1,3,15,9,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ys=async()=>{try{return v[10]??(v[10]=await O(()=>import("./md-CmxiqWac.js"),__vite__mapDeps([19,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},_s=async()=>{try{return v[11]??(v[11]=await O(()=>import("./md-MgtRTDJ7.js"),__vite__mapDeps([20,7,1,3,9,4,5])))}catch(e){return console.error("slide failed to load",e),P}},vs=async()=>{try{return v[12]??(v[12]=await O(()=>import("./md-DREvuRdx.js"),__vite__mapDeps([21,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ws=async()=>{try{return v[13]??(v[13]=await O(()=>import("./md-DbF0Naxj.js"),__vite__mapDeps([22,1,23,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},ks=async()=>{try{return v[14]??(v[14]=await O(()=>import("./md-CPADXXpM.js"),__vite__mapDeps([24,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},bs=async()=>{try{return v[15]??(v[15]=await O(()=>import("./md-CUhxKkcB.js"),__vite__mapDeps([25,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ss=async()=>{try{return v[16]??(v[16]=await O(()=>import("./md-C0KdZDZH.js"),__vite__mapDeps([26,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ms=async()=>{try{return v[17]??(v[17]=await O(()=>import("./md-DlBYWcXX.js"),__vite__mapDeps([27,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Es=async()=>{try{return v[18]??(v[18]=await O(()=>import("./md-DiaJBS2G.js"),__vite__mapDeps([28,1,9,3,4,5,29])))}catch(e){return console.error("slide failed to load",e),P}},Os=async()=>{try{return v[19]??(v[19]=await O(()=>import("./md-BRUy-fby.js"),__vite__mapDeps([30,1,23,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},$s=async()=>{try{return v[20]??(v[20]=await O(()=>import("./md-Cc4GCfhP.js"),__vite__mapDeps([31,32,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ts=async()=>{try{return v[21]??(v[21]=await O(()=>import("./md-C428vb3_.js"),__vite__mapDeps([33,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ls=async()=>{try{return v[22]??(v[22]=await O(()=>
58import("./md-GQzHk_YW.js"),__vite__mapDeps([34,7,1,3,2,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ps=async()=>{try{return v[23]??(v[23]=await O(()=>import("./md--KdFZ_kR.js"),__vite__mapDeps([35,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},As=async()=>{try{return v[24]??(v[24]=await O(()=>import("./md--ZOP1uUz.js"),__vite__mapDeps([36,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Cs=async()=>{try{return v[25]??(v[25]=await O(()=>import("./md-DATx3jK0.js"),__vite__mapDeps([37,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ds=async()=>{try{return v[26]??(v[26]=await O(()=>import("./md-CDv8e9Ia.js"),__vite__mapDeps([38,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Rs=async()=>{try{return v[27]??(v[27]=await O(()=>import("./md-Dz-48zlY.js"),__vite__mapDeps([39,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Is=async()=>{try{return v[28]??(v[28]=await O(()=>import("./md-B5wzp404.js"),__vite__mapDeps([40,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},js=async()=>{try{return v[29]??(v[29]=await O(()=>import("./md-C12O47sa.js"),__vite__mapDeps([41,1,42,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Ns=async()=>{try{return v[30]??(v[30]=await O(()=>import("./md-DtzKGUX9.js"),__vite__mapDeps([43,1,42,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Hs=async()=>{try{return v[31]??(v[31]=await O(()=>import("./md-BL_kU-GH.js"),__vite__mapDeps([44,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},xs=async()=>{try{return v[32]??(v[32]=await O(()=>import("./md-BdkXwPzu.js"),__vite__mapDeps([45,1,3,9,4,5,46])))}catch(e){return console.error("slide failed to load",e),P}},Vs=async()=>{try{return v[33]??(v[33]=await O(()=>import("./md-D8Bo3wg6.js"),__vite__mapDeps([47,1,9,3,4,5,48])))}catch(e){return console.error("slide failed to load",e),P}},Fs=async()=>{try{return v[34]??(v[34]=await O(()=>import("./md-BJASUejV.js"),__vite__mapDeps([49,1,9,3,4,5])))}catch(e){return console.error("slide failed to load",e),P}},Da=[{no:1,meta:_i,load:as,component:C(0,as)},{no:2,meta:wi,load:ls,component:C(1,ls)},{no:3,meta:bi,load:cs,component:C(2,cs)},{no:4,meta:Mi,load:us,component:C(3,us)},{no:5,meta:Oi,load:fs,component:C(4,fs)},{no:6,meta:Ti,load:ds,component:C(5,ds)},{no:7,meta:Pi,load:hs,component:C(6,hs)},{no:8,meta:Ci,load:ps,component:C(7,ps)},{no:9,meta:Ri,load:gs,component:C(8,gs)},{no:10,meta:ji,load:ms,component:C(9,ms)},{no:11,meta:Hi,load:ys,component:C(10,ys)},{no:12,meta:Vi,load:_s,component:C(11,_s)},{no:13,meta:Wi,load:vs,component:C(12,vs)},{no:14,meta:Bi,load:ws,component:C(13,ws)},{no:15,meta:Ui,load:ks,component:C(14,ks)},{no:16,meta:Ki,load:bs,component:C(15,bs)},{no:17,meta:Qi,load:Ss,component:C(16,Ss)},{no:18,meta:Zi,load:Ms,component:C(17,Ms)},{no:19,meta:ta,load:Es,component:C(18,Es)},{no:20,meta:na,load:Os,component:C(19,Os)},{no:21,meta:ra,load:$s,component:C(20,$s)},{no:22,meta:ia,load:Ts,component:C(21,Ts)},{no:23,meta:la,load:Ls,component:C(22,Ls)},{no:24,meta:ua,load:Ps,component:C(23,Ps)},{no:25,meta:da,load:As,component:C(24,As)},{no:26,meta:pa,load:Cs,component:C(25,Cs)},{no:27,meta:ma,load:Ds,component:C(26,Ds)},{no:28,meta:_a,load:Rs,component:C(27,Rs)},{no:29,meta:wa,load:Is,component:C(28,Is)},{no:30,meta:ba,load:js,component:C(29,js)},{no:31,meta:Ma,load:Ns,component:C(30,Ns)},{no:32,meta:Oa,load:Hs,component:C(31,Hs)},{no:33,meta:Ta,load:xs,component:C(32,xs)},{no:34,meta:Pa,load:Vs,component:C(33,Vs)},{no:35,meta:Ca,load:Fs,component:C(34,Fs)}],st=jn(Da);function Ra(e,t){if(!t||t==="all"||t==="*")return Xn(1,e+1);if(t==="none")return[];const n=[];for(const s of t.split(/[,;]/g))if(!s.includes("-"))n.push(+s);else{const[r,o]=s.split("-",2);n.push(...Xn(+r,o?+o+1:e+1))}return Lo(n).filter(s=>s<=e).sort((s,r)=>s-r)}const Xe="$$slidev-clicks-context",Nn="$$slidev-page",yr="$$slidev-slide-element",Ia="$$slidev-slide-scale",ja="$$slidev-context",Vc="$$slidev-route",Hn="$$slidev-render-context",Na="$$slidev-fontmatter",Ha="$$slidev-slide-zoom",Re="slidev-vclick-target",he="slidev-vclick-hidden",pe="slidev-vclick-fade",cn="slidev-vclick-hidden-explicitly",un="slidev-vclick-current",fn="slidev-vclick-prior",Ie=999999,xa=["localhost","127.0.0.1"],Va=["clicks","clicksStart","disabled","hide","hideInToc","layout","level","preload","routeAlias","src","title","transition","zoom","dragPos","lang"],Fc=[...Va,"theme","titleTemplate","info","author","keywords","presenter","browserExporter","download","exportFilename","export","highlighter","lineNumbers","monaco","monacoTypesSource","monacoTypesAdditionalPackages","monacoRunAdditionalDeps","remoteAssets","selectable","record","colorSchema","routerMode","aspectRatio","canvasWidth","themeConfig","favicon","plantUmlServer","fonts","defaults","drawings","htmlAttrs","mdc","contextMenu","wakeLock","seoMeta"];function Fa(e,t,{mode:n="replace"}={}){const s=Ye();return b({get(){const r=s.currentRoute.value.query[e];return r==null?t:Array.isArray(r)?r.filter(Boolean):r},set(r){so(()=>{(s.currentRoute.value.query[e]??(t==null?void 0:t.toString()))!==r.toString()&&s[ro(n)]({query:{...s.currentRoute.value.query,[e]:`${r}`===t?void 0:r}})})}})}function tn(e){return st.value.find(t=>{var n;return t.no===+e||((n=t.meta.slide)==null?void 0:n.frontmatter.routeAlias)===e})}function ne(e,t,n=!1){var r;(typeof e=="number"||typeof e=="string")&&(e=tn(e));const s=((r=e.meta.slide)==null?void 0:r.frontmatter.routeAlias)??e.no;return n?`/export/${s}`:t?`/presenter/${s}`:`/${s}`}const Wa={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function za(e,t=!1){if(!e||(typeof e=="string"&&(e={name:e}),!e.name))return;let n=e.name.includes("|")?e.name:Wa[e.name]||e.name;if(n.includes("|")){const[s,r]=n.split("|").map(o=>o.trim());n=t?r:s}if(n)return{...e,name:n}}
58function Ba(e,t,n){var r,o;let s=e>0?(r=n==null?void 0:n.meta)==null?void 0:r.transition:(o=t==null?void 0:t.meta)==null?void 0:o.transition;return s||(s=V.transition||void 0),za(s,e<0)}const Wc=D(!1),zc=D(!1),Bc=D(!1),qa=D(!1),xn=D(!1),qc=D(!1),Uc=D(!0),Jc=oo({xs:460,...uo}),ze=io(),Kc=ao(),Gc=b(()=>ze.height.value-ze.width.value/ur.value>120),Qc=lo(Ze?document.body:null),_r=co(),Yc=b(()=>{var e;return["INPUT","TEXTAREA"].includes(((e=_r.value)==null?void 0:e.tagName)||"")}),Zc=b(()=>{var e;return["BUTTON","A"].includes(((e=_r.value)==null?void 0:e.tagName)||"")});U("slidev-camera","default",{listenToStorageChanges:!1});U("slidev-mic","default",{listenToStorageChanges:!1});const Ua=U("slidev-scale",0),Xc=U("slidev-wake-lock",!0),tu=U("slidev-hide-cursor-idle",!0);U("slidev-skip-export-pdf-tip",!1);U("slidev-export-capture-delay",400,{listenToStorageChanges:!1});const eu=U("slidev-presenter-cursor",!0,{listenToStorageChanges:!1}),Ja=U("slidev-show-editor",!1,{listenToStorageChanges:!1}),Ka=U("slidev-editor-vertical",!1,{listenToStorageChanges:!1}),Ga=U("slidev-editor-width",Ze?window.innerWidth*.4:318,{listenToStorageChanges:!1}),Qa=U("slidev-editor-height",Ze?window.innerHeight*.4:300,{listenToStorageChanges:!1}),Oe=jn(null),Be=U("slidev-presenter-font-size",1,{listenToStorageChanges:!1}),$e=U("slidev-presenter-layout",1,{listenToStorageChanges:!1}),En={invert:!1,contrast:1,brightness:1,hueRotate:0,saturate:1,sepia:0},Ya=U("slidev-viewer-css-filter",En,{listenToStorageChanges:!1,mergeDefaults:!0,deep:!0}),nu=b(()=>Object.keys(En).some(e=>Ya.value[e]!==En[e]));function su(){$e.value=$e.value+1,$e.value>3&&($e.value=1)}function ru(){Be.value=Math.min(2,Be.value+.1)}function ou(){Be.value=Math.max(.5,Be.value-.1)}const iu=ar(qa),Te=U("slidev-sync-directions",{viewerSend:!0,viewerReceive:!0,presenterSend:!0,presenterReceive:!0},{listenToStorageChanges:!1,mergeDefaults:!0});function vr(e,t,n=1){var r,o,i,a,l,c,u;const s=t.meta.slide.level??n;s&&s>n&&e.length>0?vr(e[e.length-1].children,t,n+1):e.push({no:t.no,children:[],level:n,titleLevel:s,path:ne(((o=(r=t.meta.slide)==null?void 0:r.frontmatter)==null?void 0:o.routeAlias)??t.no,!1),hideInToc:!!((l=(a=(i=t.meta)==null?void 0:i.slide)==null?void 0:a.frontmatter)!=null&&l.hideInToc),title:(u=(c=t.meta)==null?void 0:c.slide)==null?void 0:u.title})}function wr(e,t,n=!1,s,r){return e.map(o=>{const i={...o,active:o.no===(r==null?void 0:r.value),hasActiveParent:n};return i.children.length>0&&(i.children=wr(i.children,t,i.active||i.hasActiveParent,i,r)),s&&(i.active||i.activeParent)&&(s.activeParent=!0),i})}function kr(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>({...n,children:kr(n.children,t+1)}))}function Za(e,t,n){const s=b(()=>e.value.filter(o=>{var i,a;return(a=(i=o.meta)==null?void 0:i.slide)==null?void 0:a.title}).reduce((o,i)=>(vr(o,i),o),[])),r=b(()=>wr(s.value,n.value,void 0,void 0,t));return b(()=>kr(r.value))}function Xa(e,t,n=D(0),s,r,o){const i=b(()=>st.value.length),a=D(0),l=D(0),c=b(()=>ne(e.value,s.value)),u=b(()=>e.value.no),f=b(()=>{var j;return((j=e.value.meta)==null?void 0:j.layout)||(u.value===1?"cover":"default")}),p=b(()=>t.value.current),h=b(()=>t.value.clicksStart),g=b(()=>t.value.total),d=b(()=>st.value[Math.min(st.value.length,u.value+1)-1]),m=b(()=>st.value[Math.max(1,u.value-1)-1]),_=b(()=>u.value<st.value.length||p.value<g.value),y=b(()=>u.value>1||p.value>0),w=b(()=>r.value?void 0:Ba(a.value,e.value,m.value));rt(e,(j,N)=>{a.value=j.no-N.no});async function k(j){return!1}const S=Za(st,u,e);async function E(){l.value=1,g.value<=n.value?await R():n.value+=1}async function T(){l.value=-1,n.value<=h.value?await F(!0):n.value-=1}async function R(j=!1){l.value=1,u.value<st.value.length&&await A(u.value+1,j&&!r.value?Ie:void 0)}async function F(j=!1){l.value=-1,u.value>1&&await A(u.value-1,j&&!r.value?Ie:void 0)}function et(){return A(1)}function Z(){return A(i.value)}async function A(j,N=0,at=!1){var x,dt,fe;xn.value=!1;const ct=u.value!==j,ue=N!==n.value,B=(x=tn(j))==null?void 0:x.meta,Ee=((dt=B==null?void 0:B.slide)==null?void 0:dt.frontmatter.clicksStart)??0;N=kn(N,Ee,((fe=B==null?void 0:B.__clicksContext)==null?void 0:fe.total)??Ie),(at||ct||ue)&&await(o==null?void 0:o.push({path:ne(j,s.value,o.currentRoute.value.name==="export"),query:{...o.currentRoute.value.query,clicks:N===0?void 0:N.toString(),embedded:location.search.includes("embedded")?"true":void 0}}))}function I(){o==null||o.push({path:ne(u.value,!0),query:{...o.currentRoute.value.query}})}function z(){o==null||o.push({path:ne(u.value,!1),query:{...o.currentRoute.value.query}})}return{slides:st,total:i,currentPath:c,currentSlideNo:u,currentPage:u,currentSlideRoute:e,currentLayout:f,currentTransition:w,clicksDirection:l,nextRoute:d,prevRoute:m,clicksContext:t,clicks:p,clicksStart:h,clicksTotal:g,hasNext:_,hasPrev:y,tocTree:S,navDirection:a,openInEditor:k,next:E,prev:T,go:A,goLast:Z,goFirst:et,nextSlide:R,prevSlide:F,enterPresenter:I,exitPresenter:z}}const tl=lr(()=>{const e=Ye(),t=fo(),n=b(()=>(e.currentRoute.value.query,new URLSearchParams(location.search))),s=b(()=>n.value.has("print")||t.name==="export"),r=D(n.value.get("print")==="clicks"),o=b(()=>n.value.has("embedded")),i=b(()=>t.name==="play"),a=b(()=>t.name==="presenter"),l=b(()=>t.name==="notes"),c=b(()=>!a.value&&(!V.remote||n.value.get("password")===V.remote)),u=b(()=>!!t.params.no),f=b(()=>{var y;return u.value?((y=tn(t.params.no))==null?void 0:y.no)??1:1}),p=b(()=>st.value[f.value-1]),h=D(Ra(st.value.length,t.query.range)),g=Fa("clicks","0"),d=b(()=>_(p.value)),m=b({get(){let y=+(g.value||0);return Number.isNaN(y)&&(y=0),y},set(y){xn.value=!1,g.value=y.toString()}});function _(y){var S,E;if((S=y==null?void 0:y.meta)!=null&&S.__clicksContext)return y.meta.__clicksContext;const w=y.no,k=mr(b({get(){return f.value===w?Math.max(+(g.value??0),k.clicksStart):f.value>w?Ie:k.clicksStart},set(T){f.value===w&&(g.value=T.toString())}}),((E=y==null?void 0:y.meta.slide)==null?void 0:E.frontmatter.clicksStart)??0,y==null?void 0:y.meta.clicks);return y!=null&&y.meta&&(y.meta.__clicksContext=k),k}return{router:e,currentRoute:b(()=>t),isPrintMode:s,isPrintWithClicks:r,isEmbedded:o,isPlaying:i,isPresenter:a,isNotesViewer:l,isPresenterAvailable:c,hasPrimarySlide:u,currentSlideNo:f,currentSlideRoute:p,clicksContext:d,queryClicksRaw:g,queryClicks:m,printRange:h,getPrimaryClicks:_}}),le=lr(()=>{const e=tl(),t=Ye(),n=Xa(e.currentSlideRoute,e.clicksContext,e.queryClicks,e.isPresenter,e.isPrintMode,t);return rt([n.total,e.currentRoute],async()=>{const s=e.currentRoute.value.params.no;e.hasPrimarySlide.value&&!tn(s)&&(s&&s!=="index.html"?await n.go(n.total.value,0,!0):await n.go(1,0,!0))},{flush:"pre",immediate:!0}),{...n,...e}}),Ws=ho(),dn=U("slidev-color-schema","auto"),zs=b(()=>V.colorSchema!=="auto"),br=b({get(){return zs.value?V.colorSchema==="dark":dn.value==="auto"?Ws.value:dn.value==="dark"},set(e){zs.value||(dn.value=e===Ws.value?"auto":e?"dark":"light")}}),au=ar(br);if(Ze){const e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";rt(br,t=>{const n=window.document.createElement("style");n.appendChild(document.createTextNode(e)),window.document.head.appendChild(n);const s=document.querySelector("html");s.classList.toggle("dark",t),s.classList.toggle("light",!t),window.getComputedStyle(n).opacity,document.head.removeChild(n)},{immediate:!0})}function el(){const{isPrintMode:e}=le();po(b(()=>e.value?`
59@page {
60  size: ${fr.value}px ${Co.value}px;
61  margin: 0px;
62}
63
64* {
65  transition: none !important;
66  transition-duration: 0s !important;
67}`:""))}const Vn=Symbol.for("yaml.alias"),nl=Symbol.for("yaml.document"),Yt=Symbol.for("yaml.map"),Sr=Symbol.for("yaml.pair"),Fn=Symbol.for("yaml.scalar"),Se=Symbol.for("yaml.seq"),it=Symbol.for("yaml.node.type"),ce=e=>!!e&&typeof e=="object"&&e[it]===Vn,en=e=>!!e&&typeof e=="object"&&e[it]===nl,Mr=e=>!!e&&typeof e=="object"&&e[it]===Yt,q=e=>!!e&&typeof e=="object"&&e[it]===Sr,W=e=>!!e&&typeof e=="object"&&e[it]===Fn,Wn=e=>!!e&&typeof e=="object"&&e[it]===Se;function Y(e){if(e&&typeof e=="object")switch(e[it]){case Yt:case Se:return!0}return!1}function J(e){if(e&&typeof e=="object")switch(e[it]){case Vn:case Yt:case Fn:case Se:return!0}return!1}const sl=e=>(W(e)||Y(e))&&!!e.anchor,Kt=Symbol("break visit"),rl=Symbol("skip children"),_e=Symbol("remove node");function ke(e,t){const n=ol(t);en(e)?se(null,e.contents,n,Object.freeze([e]))===_e&&(e.contents=null):se(null,e,n,Object.freeze([]))}ke.BREAK=Kt;ke.SKIP=rl;ke.REMOVE=_e;function se(e,t,n,s){const r=il(e,t,n,s);if(J(r)||q(r))return al(e,s,r),se(e,r,n,s);if(typeof r!="symbol"){if(Y(t)){s=Object.freeze(s.concat(t));for(let o=0;o<t.items.length;++o){const i=se(o,t.items[o],n,s);if(typeof i=="number")o=i-1;else{if(i===Kt)return Kt;i===_e&&(t.items.splice(o,1),o-=1)}}}else if(q(t)){s=Object.freeze(s.concat(t));const o=se("key",t.key,n,s);if(o===Kt)return Kt;o===_e&&(t.key=null);const i=se("value",t.value,n,s);if(i===Kt)return Kt;i===_e&&(t.value=null)}}return r}function ol(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function il(e,t,n,s){var r,o,i,a,l;if(typeof n=="function")return n(e,t,s);if(Mr(t))return(r=n.Map)==null?void 0:r.call(n,e,t,s);if(Wn(t))return(o=n.Seq)==null?void 0:o.call(n,e,t,s);if(q(t))return(i=n.Pair)==null?void 0:i.call(n,e,t,s);if(W(t))return(a=n.Scalar)==null?void 0:a.call(n,e,t,s);if(ce(t))return(l=n.Alias)==null?void 0:l.call(n,e,t,s)}function al(e,t,n){const s=t[t.length-1];if(Y(s))s.items[e]=n;else if(q(s))e==="key"?s.key=n:s.value=n;else if(en(s))s.contents=n;else{const r=ce(s)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}function Er(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function ye(e,t,n,s){if(s&&typeof s=="object")if(Array.isArray(s))for(let r=0,o=s.length;r<o;++r){const i=s[r],a=ye(e,s,String(r),i);a===void 0?delete s[r]:a!==i&&(s[r]=a)}else if(s instanceof Map)for(const r of Array.from(s.keys())){const o=s.get(r),i=ye(e,s,r,o);i===void 0?s.delete(r):i!==o&&s.set(r,i)}else if(s instanceof Set)for(const r of Array.from(s)){const o=ye(e,s,r,r);o===void 0?s.delete(r):o!==r&&(s.delete(r),s.add(o))}else for(const[r,o]of Object.entries(s)){const i=ye(e,s,r,o);i===void 0?delete s[r]:i!==o&&(s[r]=i)}return e.call(t,n,s)}function ot(e,t,n){if(Array.isArray(e))return e.map((s,r)=>
67ot(s,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!sl(e))return e.toJSON(t,n);const s={aliasCount:0,count:1,res:void 0};n.anchors.set(e,s),n.onCreate=o=>{s.res=o,delete n.onCreate};const r=e.toJSON(t,n);return n.onCreate&&n.onCreate(r),r}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class zn{constructor(t){Object.defineProperty(this,it,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:s,onAnchor:r,reviver:o}={}){if(!en(t))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof s=="number"?s:100},a=ot(this,"",i);if(typeof r=="function")for(const{count:l,res:c}of i.anchors.values())r(c,l);return typeof o=="function"?ye(o,{"":a},"",a):a}}class ll extends zn{constructor(t){super(Vn),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return ke(t,{Node:(s,r)=>{if(r===this)return ke.BREAK;r.anchor===this.source&&(n=r)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:s,doc:r,maxAliasCount:o}=n,i=this.resolve(r);if(!i){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let a=s.get(i);if(a||(ot(i,null,n),a=s.get(i)),!a||a.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(o>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=je(r,i,s)),a.count*a.aliasCount>
67o)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return a.res}toString(t,n,s){const r=`*${this.source}`;if(t){if(Er(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(o)}if(t.implicitKey)return`${r} `}return r}}function je(e,t,n){if(ce(t)){const s=t.resolve(e),r=n&&s&&n.get(s);return r?r.count*r.aliasCount:0}else if(Y(t)){let s=0;for(const r of t.items){const o=je(e,r,n);o>s&&(s=o)}return s}else if(q(t)){const s=je(e,t.key,n),r=je(e,t.value,n);return Math.max(s,r)}return 1}const Or=e=>!e||typeof e!="function"&&typeof e!="object";class H extends zn{constructor(t){super(Fn),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:ot(this.value,t,n)}toString(){return String(this.value)}}H.BLOCK_FOLDED="BLOCK_FOLDED";H.BLOCK_LITERAL="BLOCK_LITERAL";H.PLAIN="PLAIN";H.QUOTE_DOUBLE="QUOTE_DOUBLE";H.QUOTE_SINGLE="QUOTE_SINGLE";function cl(e,t,n){return n.find(s=>{var r;return((r=s.identify)==null?void 0:r.call(s,e))&&!s.format})}function qe(e,t,n){var f,p,h;if(en(e)&&(e=e.contents),J(e))return e;if(q(e)){const g=(p=(f=n.schema[Yt]).createNode)==null?void 0:p.call(f,n.schema,null,
67n);return g.items.push(e),g}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:s,onAnchor:r,onTagObj:o,schema:i,sourceObjects:a}=n;let l;if(s&&e&&typeof e=="object"){if(l=a.get(e),l)return l.anchor||(l.anchor=r(e)),new ll(l.anchor);l={anchor:null,node:null},a.set(e,l)}let c=cl(e,t,i.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const g=new H(e);return l&&(l.node=g),g}c=e instanceof Map?i[Yt]:Symbol.iterator in Object(e)?i[Se]:i[Yt]}o&&(o(c),delete n.onTagObj);const u=c!=null&&c.createNode?c.createNode(n.schema,e,n):typeof((h=c==null?void 0:c.nodeClass)==null?void 0:h.from)=="function"?c.nodeClass.from(n.schema,e,n):new H(e);return c.default||(u.tag=c.tag),l&&(l.node=u),u}function Bs(e,t,n){let s=n;for(let r=t.length-1;r>=0;--r){const o=t[r];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){const i=[];i[o]=s,s=i}else s=new Map([[o,s]])}return qe(s,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const ul=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class $r extends zn{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(s=>J(s)||q(s)?s.clone(t):s),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(ul(t))this.add(n);else{const[s,...r]=t,o=this.get(s,!0);if(Y(o))o.addIn(r,n);else if(o===void 0&&this.schema)this.set(s,Bs(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}deleteIn(t){const[n,...s]=t;if(s.length===0)return this.delete(n);const r=this.get(n,!0);if(Y(r))return r.deleteIn(s);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${s}`)}getIn(t,n){const[s,...r]=t,o=this.get(s,!0);return r.length===0?!n&&W(o)?o.value:o:Y(o)?o.getIn(r,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!q(n))return!1;const s=n.value;return s==null||t&&W(s)&&s.value==null&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(t){const[n,...s]=t;if(s.length===0)return this.has(n);const r=this.get(n,!0);return Y(r)?r.hasIn(s):!1}setIn(t,n){const[s,...r]=t;if(r.length===0)this.set(s,n);else{const o=this.get(s,!0);if(Y(o))o.setIn(r,n);else if(o===void 0&&this.schema)this.set(s,Bs(this.schema,r,n));else throw new Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}}}const fl=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function be(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const re=(e,t,n)=>e.endsWith(`
68`)?be(n,t):n.includes(`
69`)?`
70`+be(n,t):(e.endsWith(" ")?"":" ")+n,Tr="flow",On="block",Ne="quoted";function nn(e,t,n="flow",{indentAtStart:s,lineWidth:r=80,minContentWidth:o=20,onFold:i,onOverflow:a}={}){if(!r||r<0)return e;r<o&&(o=0);const l=Math.max(1+o,1+r-t.length);if(e.length<=l)return e;const c=[],u={};let f=r-t.length;typeof s=="number"&&(s>r-Math.max(2,o)?c.push(0):f=r-s);let p,h,g=!1,d=-1,m=-1,_=-1;n===On&&(d=qs(e,d,t.length),d!==-1&&(f=d+l));for(let w;w=e[d+=1];){if(n===Ne&&w==="\\"){switch(m=d,e[d+1]){case"x":d+=3;break;case"u":d+=5;break;case"U":d+=9;break;default:d+=1}_=d}if(w===`
71`)n===On&&(d=qs(e,d,t.length)),f=d+t.length+l,p=void 0;else{if(w===" "&&h&&h!==" "&&h!==`
72`&&h!=="	"){const k=e[d+1];k&&k!==" "&&k!==`
73`&&k!=="	"&&(p=d)}if(d>=f)if(p)c.push(p),f=p+l,p=void 0;else if(n===Ne){for(;h===" "||h==="	";)h=w,w=e[d+=1],g=!0;const k=d>_+1?d-2:m-1;if(u[k])return e;c.push(k),u[k]=!0,f=k+l,p=void 0}else g=!0}h=w}if(g&&a&&a(),c.length===0)return e;i&&i();let y=e.slice(0,c[0]);for(let w=0;w<c.length;++w){const k=c[w],S=c[w+1]||e.length;k===0?y=`
74${t}${e.slice(0,S)}`:(n===Ne&&u[k]&&(y+=`${e[k]}\\`),y+=`
75${t}${e.slice(k+1,S)}`)}return y}function qs(e,t,n){let s=t,r=t+1,o=e[r];for(;o===" "||o==="	";)if(t<r+n)o=e[++t];else{do o=e[++t];while(o&&o!==`
76`);s=t,r=t+1,o=e[r]}return s}const sn=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}
76),rn=e=>/^(%|---|\.\.\.)/m.test(e);function dl(e,t,n){if(!t||t<0)return!1;const s=t-n,r=e.length;if(r<=s)return!1;for(let o=0,i=0;o<r;++o)if(e[o]===`
77`){if(o-i>s)return!0;if(i=o+1,r-i<=s)return!1}return!0}function ve(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:s}=t,r=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(rn(e)?"  ":"");let i="",a=0;for(let l=0,c=n[l];c;c=n[++l])if(c===" "&&n[l+1]==="\\"&&n[l+2]==="n"&&(i+=n.slice(a,l)+"\\ ",l+=1,a=l,c="\\"),c==="\\")switch(n[l+1]){case"u":{i+=n.slice(a,l);const u=n.substr(l+2,4);switch(u){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:u.substr(0,2)==="00"?i+="\\x"+u.substr(2):i+=n.substr(l,6)}l+=5,a=l+1}break;case"n":if(s||n[l+2]==='"'||n.length<r)l+=1;else{for(i+=n.slice(a,l)+`
78
79`;n[l+2]==="\\"&&n[l+3]==="n"&&n[l+4]!=='"';)i+=`
80`,l+=2;i+=o,n[l+2]===" "&&(i+="\\"),l+=1,a=l+1}break;default:l+=1}return i=a?i+n.slice(a):n,s?i:nn(i,o,Ne,sn(t,!1))}function $n(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
81`)||/[ \t]\n|\n[ \t]/.test(e))return ve(e,t);const n=t.indent||(rn(e)?"  ":""),s="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
82${n}`)+"'";return t.implicitKey?s:nn(s,n,Tr,sn(t,!1))}function oe(e,t){const{singleQuote:n}=t.options;let s;if(n===!1)s=ve;else{const r=e.includes('"'),o=e.includes("'");r&&!o?s=$n:o&&!r?s=ve:s=n?$n:ve}return s(e,t)}let Tn;try{Tn=new RegExp(`(^|(?<!
83))
84+(?!
85|$)`,"g")}catch{Tn=/\n+(?!\n|$)/g}function He({comment:e,type:t,value:n},s,r,o){const{blockQuote:i,commentString:a,lineWidth:l}=s.options;if(!i||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return oe(n,s);const c=s.indent||(s.forceBlockIndent||rn(n)?"  ":""),u=i==="literal"?!0:i==="folded"||t===H.BLOCK_FOLDED?!1:t===H.BLOCK_LITERAL?!0:!dl(n,l,c.length);if(!n)return u?`|
86`:`>
87`;let f,p;for(p=n.length;p>0;--p){const S=n[p-1];if(S!==`
88`&&S!=="	"&&S!==" ")break}let h=n.substring(p);const g=h.indexOf(`
89`);g===-1?f="-":n===h||g!==h.length-1?(f="+",o&&o()):f="",h&&(n=n.slice(0,-h.length),h[h.length-1]===`
90`&&(h=h.slice(0,-1)),h=h.replace(Tn,`$&${c}`));let d=!1,m,_=-1;for(m=0;m<n.length;++m){const S=n[m];if(S===" ")d=!0;else if(S===`
91`)_=m;else break}let y=n.substring(0,_<m?_+1:m);y&&(n=n.substring(y.length),y=y.replace(/\n+/g,`$&${c}`));let k=(d?c?"2":"1":"")+f;if(e&&(k+=" "+a(e.replace(/ ?[\r\n]+/g," ")),r&&r()),!u){const S=n.replace(/\n+/g,`
92$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let E=!1;const T=sn(s,!0);i!=="folded"&&t!==H.BLOCK_FOLDED&&(T.onOverflow=()=>{E=!0});const R=nn(`${y}${S}${h}`,c,On,T);if(!E)return`>${k}
93${c}${R}`}return n=n.replace(/\n+/g,`$&${c}`),`|${k}
94${c}${y}${n}${h}`}function hl(e,t,n,s){const{type:r,value:o}=e,{actualString:i,implicitKey:a,indent:l,indentStep:c,inFlow:u}=t;if(a&&o.includes(`
95`)||u&&/[[\]{},]/.test(o))return oe(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return a||u||!o.includes(`
96`)?oe(o,t):He(e,t,n,s);if(!a&&!u&&r!==H.PLAIN&&o.includes(`
97`))return He(e,t,n,s);if(rn(o)){if(l==="")return t.forceBlockIndent=!0,He(e,t,n,s);if(a&&l===c)return oe(o,t)}const f=o.replace(/\n+/g,`$&
98${l}`);if(i){const p=d=>{var m;return d.default&&d.tag!=="tag:yaml.org,2002:str"&&((m=d.test)==null?void 0:m.test(f))},{compat:h,tags:g}=t.doc.schema;if(g.some(p)||h!=null&&h.some(p))return oe(o,t)}return a?f:nn(f,l,Tr,sn(t,!1))}function pl(e,t,n,s){const{implicitKey:r,inFlow:o}=t,i=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==H.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(a=H.QUOTE_DOUBLE);const l=u=>{switch(u){case H.BLOCK_FOLDED:case H.BLOCK_LITERAL:return r||o?oe(i.value,t):He(i,t,n,s);case H.QUOTE_DOUBLE:return ve(i.value,t);
98case H.QUOTE_SINGLE:return $n(i.value,t);case H.PLAIN:return hl(i,t,n,s);default:return null}};let c=l(a);if(c===null){const{defaultKeyType:u,defaultStringType:f}=t.options,p=r&&u||f;if(c=l(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}function gl(e,t){const n=Object.assign({blockQuote:!0,commentString:fl,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let s;switch(n.collectionStyle){case"block":s=!1;break;case"flow":s=!0;break;default:s=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):"  ",inFlow:s,options:n}}function ml(e,t){var r;if(t.tag){const o=e.filter(i=>i.tag===t.tag);if(o.length>0)return o.find(i=>i.format===t.format)??o[0]}let n,s;if(W(t)){s=t.value;let o=e.filter(i=>{var a;return(a=i.identify)==null?void 0:a.call(i,s)});if(o.length>1){const i=o.filter(a=>a.test);i.length>0&&(o=i)}n=o.find(i=>i.format===t.format)??o.find(i=>!i.format)}else s=t,n=e.find(o=>o.nodeClass&&s instanceof o.nodeClass);if(!n){const o=((r=s==null?void 0:s.constructor)==null?void 0:r.name)??typeof s;throw new Error(`Tag not resolved for ${o} value`)}return n}function yl(e,t,{anchors:n,doc:s}){if(!s.directives)return"";const r=[],o=(W(e)||Y(e))&&e.anchor;o&&Er(o)&&(n.add(o),r.push(`&${o}`));const i=e.tag?e.tag:t.default?null:t.tag;return i&&r.push(s.directives.tagString(i)),r.join(" ")}function Ue(e,t,n,s){var l;if(q(e))return e.toString(t,n,s);if(ce(e)){if(t.doc.directives)return e.toString(t);if((l=t.resolvedAliases)!=null&&l.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let r;const o=J(e)?e:t.doc.createNode(e,{onTagObj:c=>r=c});r||(r=ml(t.doc.schema.tags,o));const i=yl(o,r,t);i.length>0&&(t.indentAtStart=(t.indentAtStart??0)+i.length+1);const a=typeof r.stringify=="function"?r.stringify(o,t,n,s):W(o)?pl(o,t,n,s):o.toString(t,n,s);return i?W(o)||a[0]==="{"||a[0]==="["?`${i} ${a}`:`${i}
99${t.indent}${a}`:a}function _l({key:e,value:t},n,s,r){const{allNullValues:o,doc:i,indent:a,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:f}}=n;let p=J(e)&&e.comment||null;if(f){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(Y(e)||!J(e)&&typeof e=="object"){const T="With simple keys, collection cannot be used as a key value";throw new Error(T)}}let h=!f&&(!e||p&&t==null&&!n.inFlow||Y(e)||(W(e)?e.type===H.BLOCK_FOLDED||e.type===H.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(f||!o),indent:a+l});let g=!1,d=!1,m=Ue(e,n,()=>g=!0,()=>d=!0);if(!h&&!n.inFlow&&m.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(o||t==null)return g&&s&&s(),m===""?"?":h?`? ${m}`:m}else if(o&&!f||t==null&&h)return m=`? ${m}`,p&&!g?m+=re(m,n.indent,c(p)):d&&r&&r(),m;g&&(p=null),h?(p&&(m+=re(m,n.indent,c(p))),m=`? ${m}
100${a}:`):(m=`${m}:`,p&&(m+=re(m,n.indent,c(p))));let _,y,w;J(t)?(_=!!t.spaceBefore,y=t.commentBefore,w=t.comment):(_=!1,y=null,w=null,t&&typeof t=="object"&&(t=i.createNode(t))),n.implicitKey=!1,!h&&!p&&W(t)&&(n.indentAtStart=m.length+1),d=!1,!u&&l.length>=2&&!n.inFlow&&!h&&Wn(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let k=!1;const S=Ue(t,n,()=>k=!0,()=>d=!0);let E=" ";if(p||_||y){if(E=_?`
101`:"",y){const T=c(y);E+=`
102${be(T,n.indent)}`}S===""&&!n.inFlow?E===`
103`&&(E=`
104
105`):E+=`
106${n.indent}`}else if(!h&&Y(t)){const T=S[0],R=S.indexOf(`
107`),F=R!==-1,et=n.inFlow??t.flow??t.items.length===0;if(F||!et){let Z=!1;if(F&&(T==="&"||T==="!")){let A=S.indexOf(" ");T==="&"&&A!==-1&&A<R&&S[A+1]==="!"&&(A=S.indexOf(" ",A+1)),(A===-1||R<A)&&(Z=!0)}Z||(E=`
108${n.indent}`)}}else(S===""||S[0]===`
109`)&&(E="");return m+=E+S,n.inFlow?k&&s&&s():w&&!k?m+=re(m,n.indent,c(w)):d&&r&&r(),m}function vl(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const Le="<<",hn={identify:e=>e===Le||typeof e=="symbol"&&e.description===Le,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new H(Symbol(Le)),{addToJSMap:Lr}),stringify:()=>Le},wl=(e,t)=>
109(hn.identify(t)||W(t)&&(!t.type||t.type===H.PLAIN)&&hn.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===hn.tag&&n.default));function Lr(e,t,n){if(n=e&&ce(n)?n.resolve(e.doc):n,Wn(n))for(const s of n.items)pn(e,t,s);else if(Array.isArray(n))for(const s of n)pn(e,t,s);else pn(e,t,n)}function pn(e,t,n){const s=e&&ce(n)?n.resolve(e.doc):n;if(!Mr(s))throw new Error("Merge sources must be maps or map aliases");const r=s.toJSON(null,e,Map);for(const[o,i]of r)t instanceof Map?t.has(o)||t.set(o,i):t instanceof Set?t.add(o):Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function Pr(e,t,{key:n,value:s}){if(J(n)&&n.addToJSMap)n.addToJSMap(e,t,s);else if(wl(e,n))Lr(e,t,s);else{const r=ot(n,"",e);if(t instanceof Map)t.set(r,ot(s,r,e));else if(t instanceof Set)t.add(r);else{const o=kl(n,r,e),i=ot(s,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}function kl(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(J(e)&&(n!=null&&n.doc)){const s=gl(n.doc,{});s.anchors=new Set;for(const o of n.anchors.keys())s.anchors.add(o.anchor);s.inFlow=!0,s.inStringifyKey=!0;const r=e.toString(s);if(!n.mapKeyWarned){let o=JSON.stringify(r);o.length>40&&(o=o.substring(0,36)+'..."'),vl(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${o}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function Bn(e,t,n){const s=qe(e,void 0,n),r=qe(t,void 0,n);return new lt(s,r)}class lt{constructor(t,n=null){Object.defineProperty(this,it,{value:Sr}),this.key=t,this.value=n}clone(t){let{key:n,value:s}=this;return J(n)&&(n=n.clone(t)),J(s)&&(s=s.clone(t)),new lt(n,s)}toJSON(t,n){const s=n!=null&&n.mapAsMap?new Map:{};return Pr(n,s,this)}toString(t,n,s){return t!=null&&t.doc?_l(this,t,n,s):JSON.stringify(this)}}function Ar(e,t,n){return(t.inFlow??e.flow?Sl:bl)(e,t,n)}function bl({comment:e,items:t},n,{blockItemPrefix:s,flowChars:r,itemIndent:o,onChompKeep:i,onComment:a}){const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:o,type:null});let f=!1;const p=[];for(let g=0;g<t.length;++g){const d=t[g];let m=null;if(J(d))!f&&d.spaceBefore&&p.push(""),Je(n,p,d.commentBefore,f),d.comment&&(m=d.comment);else if(q(d)){const y=J(d.key)?d.key:null;y&&(!f&&y.spaceBefore&&p.push(""),Je(n,p,y.commentBefore,f))}f=!1;let _=Ue(d,u,()=>m=null,()=>f=!0);m&&(_+=re(_,o,c(m))),f&&m&&(f=!1),p.push(s+_)}let h;if(p.length===0)h=r.start+r.end;else{h=p[0];for(let g=1;g<p.length;++g){const d=p[g];h+=d?`
110${l}${d}`:`
111`}}return e?(h+=`
112`+be(c(e),l),a&&a()):f&&i&&i(),h}function Sl({items:e},t,{flowChars:n,itemIndent:s}){const{indent:r,indentStep:o,flowCollectionPadding:i,options:{commentString:a}}=t;s+=o;const l=Object.assign({},t,{indent:s,inFlow:!0,type:null});let c=!1,u=0;const f=[];for(let g=0;g<e.length;++g){const d=e[g];let m=null;if(J(d))d.spaceBefore&&f.push(""),Je(t,f,d.commentBefore,!1),d.comment&&(m=d.comment);else if(q(d)){const y=J(d.key)?d.key:null;y&&(y.spaceBefore&&f.push(""),Je(t,f,y.commentBefore,!1),y.comment&&(c=!0));const w=J(d.value)?d.value:null;w?(w.comment&&(m=w.comment),w.commentBefore&&(c=!0)):d.value==null&&(y!=null&&y.comment)&&(m=y.comment)}m&&(c=!0);let _=Ue(d,l,()=>m=null);g<e.length-1&&(_+=","),m&&(_+=re(_,s,a(m))),!c&&(f.length>u||_.includes(`
113`))&&(c=!0),f.push(_),u=f.length}const{start:p,end:h}=n;if(f.length===0)return p+h;if(!c){const g=f.reduce((d,m)=>d+m.length+2,2);c=t.options.lineWidth>0&&g>t.options.lineWidth}if(c){let g=p;for(const d of f)g+=d?`
114${o}${r}${d}`:`
115`;return`${g}
116${r}${h}`}else return`${p}${i}${f.join(" ")}${i}${h}`}function Je({indent:e,options:{commentString:t}},n,s,r){if(s&&r&&(s=s.replace(/^\n+/,"")),s){const o=be(t(s),e);n.push(o.trimStart())}}function Qt(e,t){const n=W(t)?t.value:t;for(const s of e)if(q(s)&&(s.key===t||s.key===n||W(s.key)&&s.key.value===n))return s}class te extends $r{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Yt,t),this.items=[]}static from(t,n,s){const{keepUndefined:r,replacer:o}=s,i=new this(t),a=(l,c)=>{if(typeof o=="function")c=o.call(n,l,c);else if(Array.isArray(o)&&!o.includes(l))return;(c!==void 0||r)&&i.items.push(Bn(l,c,s))};if(n instanceof Map)for(const[l,c]of n)a(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))a(l,n[l]);return typeof t.sortMapEntries=="function"&&i.items.sort(t.sortMapEntries),i}add(t,n){var i;let s;q(t)?s=t:!t||typeof t!="object"||!("key"in t)?s=new lt(t,t==null?void 0:t.value):s=new lt(t.key,t.value);
116const r=Qt(this.items,s.key),o=(i=this.schema)==null?void 0:i.sortMapEntries;if(r){if(!n)throw new Error(`Key ${s.key} already set`);W(r.value)&&Or(s.value)?r.value.value=s.value:r.value=s.value}else if(o){const a=this.items.findIndex(l=>o(s,l)<0);a===-1?this.items.push(s):this.items.splice(a,0,s)}else this.items.push(s)}delete(t){const n=Qt(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const s=Qt(this.items,t),r=s==null?void 0:s.value;return(!n&&W(r)?r.value:r)??void 0}has(t){return!!Qt(this.items,t)}set(t,n){this.add(new lt(t,n),!0)}toJSON(t,n,s){const r=s?new s:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(r);for(const o of this.items)Pr(n,r,o);return r}toString(t,n,s){if(!t)return JSON.stringify(this);for(const r of this.items)if(!q(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Ar(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:s,onComment:n})}}class Cr extends $r{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Se,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Pe(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const s=Pe(t);if(typeof s!="number")return;const r=this.items[s];return!n&&W(r)?r.value:r}has(t){const n=Pe(t);return typeof n=="number"&&n<this.items.length}set(t,n){const s=Pe(t);if(typeof s!="number")throw new Error(`Expected a valid index, not ${t}.`);const r=this.items[s];W(r)&&Or(n)?r.value=n:this.items[s]=n}toJSON(t,n){const s=[];n!=null&&n.onCreate&&n.onCreate(s);let r=0;for(const o of this.items)s.push(ot(o,String(r++),n));return s}toString(t,n,s){return t?Ar(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+"  ",onChompKeep:s,onComment:n}):JSON.stringify(this)}static from(t,n,s){const{replacer:r}=s,o=new this(t);if(n&&Symbol.iterator in Object(n)){let i=0;for(let a of n){if(typeof r=="function"){const l=n instanceof Set?a:String(i++);a=r.call(n,l,a)}o.items.push(qe(a,void 0,s))}}return o}}function Pe(e){let t=W(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}function Ml(e,t,n){const{replacer:s}=n,r=new Cr(e);r.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let i of t){typeof s=="function"&&(i=s.call(t,String(o++),i));let a,l;if(Array.isArray(i))if(i.length===2)a=i[0],l=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){const c=Object.keys(i);if(c.length===1)a=c[0],l=i[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=i;r.items.push(Bn(a,l,n))}return r}class qn extends Cr{constructor(){super(),this.add=te.prototype.add.bind(this),this.delete=te.prototype.delete.bind(this),this.get=te.prototype.get.bind(this),this.has=te.prototype.has.bind(this),this.set=te.prototype.set.bind(this),this.tag=qn.tag}toJSON(t,n){if(!n)return super.toJSON(t);const s=new Map;n!=null&&n.onCreate&&n.onCreate(s);for(const r of this.items){let o,i;if(q(r)?(o=ot(r.key,"",n),i=ot(r.value,o,n)):o=ot(r,"",n),s.has(o))throw new Error("Ordered maps must not include duplicate keys");s.set(o,i)}return s}static from(t,n,s){const r=Ml(t,n,s),o=new this;return o.items=r.items,o}}qn.tag="tag:yaml.org,2002:omap";class Un extends te{constructor(t){super(t),this.tag=Un.tag}add(t){let n;q(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new lt(t.key,null):n=new lt(t,null),Qt(this.items,n.key)||this.items.push(n)}get(t,n){const s=Qt(this.items,t);return!n&&q(s)?W(s.key)?s.key.value:s.key:s}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const s=Qt(this.items,t);s&&!n?this.items.splice(this.items.indexOf(s),1):!s&&n&&this.items.push(new lt(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,s){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,s);throw new Error("Set items must all have null values")}static from(t,n,s){const{replacer:r}=s,o=new this(t);if(n&&Symbol.iterator in Object(n))for(let i of n)typeof r=="function"&&(i=r.call(n,i,i)),o.items.push(Bn(i,null,s));return o}}Un.tag="tag:yaml.org,2002:set";new Set("0123456789ABCDEFabcdef");new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");new Set(",[]{}");new Set(` ,[]{}
117\r	`);function Jn(e=5){const t=[],n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",s=n.length;for(let r=0;r<e;r++)t.push(n.charAt(Math.floor(Math.random()*s)));return t.join("")}function Dr(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function tt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const ut=$({});let El=[],Ol=[];tt(ut,"$syncUp",!0);tt(ut,"$syncDown",!0);tt(ut,"$paused",!1);tt(ut,"$onSet",e=>El.push(e));tt(ut,"$onPatch",e=>Ol.push(e));Dr();tt(ut,"$patch",async()=>!1);const $l={channels:[],enabled:!0,init(e,t,n,s=!1){let r;if(!s)r=new BroadcastChannel(e),r.addEventListener("message",o=>t(o.data)),this.channels.push(r);else if(s){this.listener=function(i){i&&i.key===e&&i.newValue&&t(JSON.parse(i.newValue))},window.addEventListener("storage",this.listener);const o=window.localStorage.getItem(e);o&&t(JSON.parse(o))}return(o,i=!1)=>{this.enabled&&(!s&&r&&!i&&r.postMessage(cr(o)),s&&!i&&window.localStorage.setItem(e,JSON.stringify(o)))}}
117,disable(){this.enabled=!1,this.channels.forEach(e=>e.close()),this.listener&&window.removeEventListener("storage",this.listener)}},Tl=$([$l]),Ll=new Map,Us=D({});function Rr(e,t,n=!1){const s=[];let r=!1,o=!1,i,a;const l=$(t);function c(h){s.push(h)}function u(h,g){l[h]!==g&&(clearTimeout(i),r=!0,l[h]=g,i=setTimeout(()=>r=!1,0))}function f(h){r||(clearTimeout(a),o=!0,Object.entries(h).forEach(([g,d])=>{l[g]=d}),a=setTimeout(()=>o=!1,0))}function p(h){Ll.set(h,{onUpdate:f,persist:n,state:l}),Us.value[h]=Tl.map(d=>d.init(h,f,l,n)).filter(d=>!!d);function g(){Us.value[h].forEach(d=>d==null?void 0:d(cr(l),o)),r||s.forEach(d=>d(l))}rt(l,g,{deep:!0})}return{init:p,onPatch:c,onUpdate:f,patch:u,state:l}}const{init:Pl,onPatch:lu,patch:cu,state:uu}=Rr(ut,ut,!1),Zt=$({page:0,clicks:0});let Al=[],Cl=[];tt(Zt,"$syncUp",!0);tt(Zt,"$syncDown",!0);tt(Zt,"$paused",!1);tt(Zt,"$onSet",e=>Al.push(e));tt(Zt,"$onPatch",e=>Cl.push(e));Dr();tt(Zt,"$patch",async()=>!1);const{init:Dl,onPatch:Rl,patch:Ae,state:fu}=Rr(Zt,{page:1,clicks:0,clicksTotal:0});function Il(){const e=rr().appContext.app,t=$({nav:le(),configs:V,themeConfigs:b(()=>V.themeConfig)});e.provide(Hn,D("none")),e.provide(ja,t),e.provide(Nn,b(()=>t.nav.currentSlideNo)),e.provide(Xe,jn(li()));for(const p of Ro)p();const{clicksContext:n,currentSlideNo:s,hasPrimarySlide:r,isNotesViewer:o,isPresenter:i,isPrintMode:a}=le();oi({title:an,htmlAttrs:V.htmlAttrs}),el(),Dl(`${an} - shared`),Pl(`${an} - drawings`);const l=`${location.origin}_${Jn()}`,c=b(()=>i.value?"presenter":"viewer");function u(){(i.value?Te.value.presenterSend:Te.value.viewerSend)&&(o.value||a.value||!i.value&&!xa.includes(location.host.split(":")[0])||(Ae("page",+s.value),Ae("clicks",n.value.current),Ae("clicksTotal",n.value.total),Ae("lastUpdate",{id:l,type:c.value,time:new Date().getTime()})))}const f=Ye();f.afterEach(u),rt(n,u),Rl(p=>{var g;(i.value?Te.value.presenterReceive:Te.value.viewerReceive)&&(!r.value||a.value||((g=p.lastUpdate)==null?void 0:g.type)!==c.value&&(+p.page==+s.value&&+n.value.current==+p.clicks||(xn.value=!1,f.replace({path:ne(p.page,i.value),query:{...f.currentRoute.value.query,clicks:p.clicks||0}}))))})}const jl=ir({__name:"App",setup(e){return Il(),ie(()=>{for(const[t,n]of Object.entries(Do.value))document.body.style.setProperty(t,n.toString())}),(t,n)=>{const s=mo("RouterView");return Fe(),go(s)}}}),Nl=[];async function Ir(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var h;const o=new Map,i=new Promise(g=>{e.resolveTags().then(d=>{g(d.map(m=>{const _=o.get(m._d)||0,y={tag:m,id:(_?`${m._d}:${_}`:m._d)||es(m),shouldRender:!0};return m._d&&hr(m._d)&&o.set(m._d,_+1),y}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const g of["body","head"]){const d=(h=n[g])==null?void 0:h.children;for(const m of d){const _=m.tagName.toLowerCase();if(!ts.has(_))continue;const y=pr({tag:_,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((w,k)=>(w[k]=m.getAttribute(k),w),{})||{}});if(y.key=m.getAttribute("data-hid")||void 0,y._d=Sn(y)||es(y),a.elMap.has(y._d)){let w=1,k=y._d;for(;a.elMap.has(k);)k=`${y._d}:${w++}`;a.elMap.set(k,m)}else a.elMap.set(y._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(g,d,m){const _=`${g}:${d}`;a.sideEffects[_]=m,delete a.pendingSideEffects[_]}function c({id:g,$el:d,tag:m}){const _=m.tag.endsWith("Attrs");a.elMap.set(g,d),_||(m.textContent&&m.textContent!==d.textContent&&(d.textContent=m.textContent),m.innerHTML&&m.innerHTML!==d.innerHTML&&(d.innerHTML=m.innerHTML),l(g,"el",()=>{d==null||d.remove(),a.elMap.delete(g)}));for(const y in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,y))continue;const w=m.props[y];if(y.startsWith("on")&&typeof w=="function"){const S=d==null?void 0:d.dataset;if(S&&S[`${y}fired`]){const E=y.slice(0,-5);w.call(d,new Event(E.substring(2)))}d.getAttribute(`data-${y}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:d).addEventListener(y.substring(2),w.bind(d)),d.setAttribute(`data-${y}`,""));continue}const k=`attr:${y}`;if(y==="class"){if(!w)continue;for(const S of w)_&&l(g,`${k}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S)}else if(y==="style"){if(!w)continue;for(const[S,E]of w)l(g,`${k}:${S}`,()=>{d.style.removeProperty(S)}),d.style.setProperty(S,E)}else w!==!1&&w!==null&&(d.getAttribute(y)!==w&&d.setAttribute(y,w===!0?"":String(w)),_&&l(g,k,()=>d.removeAttribute(y)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const g of p){const{tag:d,shouldRender:m,id:_}=g;if(m){if(d.tag==="title"){n.title=d.textContent,l("title","",()=>n.title=a.title);continue}g.$el=g.$el||a.elMap.get(_),g.$el?c(g):ts.has(d.tag)&&u.push(g)}}for(const g of u){const d=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),c(g),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(g.$el)}for(const g of p)await e.hooks.callHook("dom:renderTag",g,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const g in a.pendingSideEffects)a.pendingSideEffects[g]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Hl(e={}){var s,r,o;const t=((s=e.domOptions)==null?void 0:s.render)||Ir;e.document=e.document||(typeof window<"u"?document:void 0);const n=((o=(r=e.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return ei({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function xl(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}function Vl(e={}){const t=Hl({domOptions:{render:xl(()=>Ir(t),n=>setTimeout(n,0))},...e});return t.install=si(t),t}function du(e,t=""){var r,o;const n=["slidev-page",t],s=(o=(r=e==null?void 0:e.meta)==null?void 0:r.slide)==null?void 0:o.no;return s!=null&&n.push(`slidev-page-${s}
117`),n.filter(Boolean).join(" ")}async function hu(){const{saveAs:e}=await O(async()=>{const{saveAs:t}=await import("./modules/file-saver-BQwH87cS.js").then(n=>n.F);return{saveAs:t}},[]);e(typeof V.download=="string"?V.download:V.exportFilename?`${V.exportFilename}.pdf`:"/ccpem2025/slidev-exported.pdf",`${V.title}.pdf`)}function ae(e,t,n){var s;return((s=e.instance)==null?void 0:s.$).provides[t]??n}function Fl(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){const s=xe(t,n,n.value);s!=null&&(t.classList.toggle(Re,!0),t.dataset.slidevClicksStart=String(s.start),Number.isFinite(s.end)&&(t.dataset.slidevClicksEnd=String(s.end)),t.watchStopHandle=ie(()=>{const r=s.isActive.value,o=s.isCurrent.value,i=r&&!o;s.flagHide?(t.classList.toggle(s.flagFade?pe:he,r),t.classList.toggle(cn,r)):t.classList.toggle(s.flagFade?pe:he,!r),t.classList.toggle(un,o),t.classList.toggle(fn,i)}))},unmounted:gn}),e.directive("after",{name:"v-after",mounted(t,n){const s=xe(t,n,"+0");s!=null&&(t.classList.toggle(Re,!0),t.watchStopHandle=ie(()=>{const r=s.isActive.value,o=s.isCurrent.value,i=r&&!o;s.flagHide?(t.classList.toggle(s.flagFade?pe:he,r),t.classList.toggle(cn,r)):t.classList.toggle(s.flagFade?pe:he,!r),t.classList.toggle(un,o),t.classList.toggle(fn,i)}))},unmounted:gn}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){const s=xe(t,n,n.value,!0);s!=null&&(t.classList.toggle(Re,!0),t.watchStopHandle=ie(()=>{const r=s.isActive.value,o=s.isCurrent.value,i=r&&!o;t.classList.toggle(s.flagFade?pe:he,r),t.classList.toggle(cn,r),t.classList.toggle(un,o),t.classList.toggle(fn,i)}))},unmounted:gn})}}}const jr=new Map;function xe(e,t,n,s=!1){var f;const r=(f=ae(t,Xe))==null?void 0:f.value;if(!e||!r)return null;const o=s||t.modifiers.hide!==!1&&t.modifiers.hide!=null,i=t.modifiers.fade!==!1&&t.modifiers.fade!=null,a=r.calculate(n);if(!a)return null;r.register(e,a);const l=b(()=>o?!a.isActive.value:a.isActive.value),c=b(()=>l.value?"shown":Number.isFinite(a.end)?r.current<a.start?"before":"after":o?"after":"before"),u={...a,isShown:l,visibilityState:c,flagFade:i,flagHide:o};return jr.set(e,u),u}function gn(e,t){var s,r;e.classList.toggle(Re,!1);const n=(s=ae(t,Xe))==null?void 0:s.value;n==null||n.unregister(e),(r=e.watchStopHandle)==null||r.call(e)}function Wl(e=sr(yr,D())){const t=yo(e),n=rt([Ja,Ka,Ga,Qa,Ua,ze.width,ze.height],()=>{setTimeout(t.update,300)},{flush:"post",immediate:!0});return{...t,stop:n}}function zl(e){return()=>{}}function Bl(e,t,n,s=!1){var Ee;function r(x){return e?ae(e,x):wo(x)}const o=r(Hn),i=r(Na)??{},a=r(Nn),l=b(()=>zl(a.value)),c=r(Ia)??D(1),u=r(Ha)??D(1),{left:f,top:p,stop:h}=Wl(r(yr)??D()),{isPrintMode:g}=le(),d=["slide","presenter"].includes(o.value)&&!g.value;let m=e?"directive":"prop",_=Jn(),y;if(Array.isArray(t)?y=t:typeof t=="string"&&t.includes(",")?y=t.split(",").map(Number):t!=null&&(m="frontmatter",_=`${t}`,t=(Ee=i==null?void 0:i.dragPos)==null?void 0:Ee[_],y=t==null?void 0:t.split(",").map(Number)),m!=="frontmatter"&&!n)throw new Error("[Slidev] Can not identify the source position of the v-drag element, please provide an explicit `id` prop.");const w=[h],k=!s&&t!=null&&!Number.isFinite(y==null?void 0:y[3]);y??(y=[Number.NaN,Number.NaN,0]);const S=D(y[2]),E=D(y[0]+y[2]/2),T=D(s?0:y[4]??0),R=b(()=>T.value*Math.PI/180),F=b(()=>Math.sin(R.value)),et=b(()=>Math.cos(R.value)),Z=D(),A=D({left:0,top:0,width:0,height:0}),I=D(0);function z(){if(!Z.value)return;const x=Z.value.getBoundingClientRect();A.value={left:x.left/u.value,top:x.top/u.value,width:x.width/u.value,height:x.height/u.value},I.value=(A.value.width+A.value.height)/c.value/(Math.abs(F.value)+Math.abs(et.value))-S.value}w.push(rt(S,z,{flush:"post"}));const j=D(y[3]??0),N=k?b({get:()=>(k?I.value:j.value)||0,set:x=>!k&&(j.value=x)}):j,at=k?D(y[1]):D(y[1]+y[3]/2),ct=k?b({get:()=>at.value+N.value/2,set:x=>at.value=x-N.value/2}):at,ue=b(()=>Number.isFinite(E.value)?{position:"absolute",zIndex:100,left:`${E.value-S.value/2}px`,top:`${ct.value-N.value/2}px`,width:`${S.value}px`,height:k?void 0:`${N.value}px`,transformOrigin:"center center",transform:`rotate(${T.value}deg)`}:{position:"absolute",zIndex:100});w.push(rt([E,ct,S,N,T],([x,dt,fe,Qn,Yn])=>{let Xt=[x-fe/2,dt-Qn/2,fe].map(Math.round).join();k?Xt+=m==="directive"?",NaN":",_":Xt+=`,${Math.round(Qn)}`,Math.round(Yn)!==0&&(Xt+=`,${Math.round(Yn)}`),m==="directive"&&(Xt=`[${Xt}]`),l.value(_,Xt,m,n)}));const B={dragId:_,dataSource:m,markdownSource:n,isArrow:s,zoom:u,autoHeight:k,x0:E,y0:ct,width:S,height:N,rotate:T,container:Z,containerStyle:ue,watchStopHandles:w,dragging:b(()=>
117Oe.value===B),mounted(){d&&(z(),t||setTimeout(()=>{z(),E.value=(A.value.left+A.value.width/2-f.value)/c.value,ct.value=(A.value.top-p.value)/c.value,S.value=A.value.width/c.value,N.value=A.value.height/c.value},100))},unmounted(){d&&B.stopDragging()},startDragging(){d&&(z(),Oe.value=B)},stopDragging(){d&&Oe.value===B&&(Oe.value=null)}};return w.push(_o(Z,x=>{const dt=document.querySelector("#drag-control-container");dt&&x.target&&dt.contains(x.target)||B.stopDragging()}),rt(vo(),x=>{x||B.stopDragging()})),B}function ql(){return{install(e){e.directive("drag",{name:"v-drag",created(t,n,s){var o;const r=Bl(n,n.value,(o=s.props)==null?void 0:o.markdownSource);s.props&&(s.props={...s.props},delete s.props.markdownSource),r.container.value=t,t.draggingState=r,t.dataset.dragId=r.dragId,r.watchStopHandles.push(rt(r.containerStyle,i=>{for(const[a,l]of Object.entries(i))l&&(t.style[a]=l)},{immediate:!0})),t.addEventListener("dblclick",r.startDragging)},mounted(t){t.draggingState.mounted()},unmounted(t){const n=t.draggingState;n.unmounted(),t.removeEventListener("dblclick",n.startDragging),n.watchStopHandles.forEach(s=>s())}})}}}function Nr(){return Math.floor(Math.random()*2**31)}class Ul{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}function Ln(e,t,n){if(e&&e.length){const[s,r]=t,o=Math.PI/180*n,i=Math.cos(o),a=Math.sin(o);for(const l of e){const[c,u]=l;l[0]=(c-s)*i-(u-r)*a+s,l[1]=(c-s)*a+(u-r)*i+r}}}function Jl(e,t,n){const s=[];e.forEach(r=>s.push(...r)),Ln(s,t,n)}function Kl(e,t){return e[0]===t[0]&&e[1]===t[1]}function Gl(e,t,n,s=1){const r=n,o=Math.max(t,.1),i=e[0]&&e[0][0]&&typeof e[0][0]=="number"?[e]:e,a=[0,0];if(r)for(const c of i)Ln(c,a,r);const l=Ql(i,o,s);if(r){for(const c of i)Ln(c,a,-r);Jl(l,a,-r)}return l}function Ql(e,t,n){const s=[];for(const c of e){const u=[...c];Kl(u[0],u[u.length-1])||u.push([u[0][0],u[0][1]]),u.length>2&&s.push(u)}const r=[];t=Math.max(t,.1);const o=[];for(const c of s)for(let u=0;u<c.length-1;u++){const f=c[u],p=c[u+1];if(f[1]!==p[1]){const h=Math.min(f[1],p[1]);o.push({ymin:h,ymax:Math.max(f[1],p[1]),x:h===f[1]?f[0]:p[0],islope:(p[0]-f[0])/(p[1]-f[1])})}}if(o.sort((c,u)=>c.ymin<u.ymin?-1:c.ymin>u.ymin?1:c.x<u.x?-1:c.x>u.x?1:c.ymax===u.ymax?0:(c.ymax-u.ymax)/Math.abs(c.ymax-u.ymax)),!o.length)return r;let i=[],a=o[0].ymin,l=0;for(;i.length||o.length;){if(o.length){let c=-1;for(let f=0;f<o.length&&!(o[f].ymin>a);f++)c=f;o.splice(0,c+1).forEach(f=>{i.push({s:a,edge:f})})}if(i=i.filter(c=>!(c.edge.ymax<=a)),i.sort((c,u)=>c.edge.x===u.edge.x?0:(c.edge.x-u.edge.x)/Math.abs(c.edge.x-u.edge.x)),(n!==1||l%t===0)&&i.length>1)for(let c=0;c<i.length;c=c+2){const u=c+1;if(u>=i.length)break;const f=i[c].edge,p=i[u].edge;r.push([[Math.round(f.x),a],[Math.round(p.x),a]])}a+=n,i.forEach(c=>{c.edge.x=c.edge.x+n*c.edge.islope}),l++}return r}function Me(e,t){var n;const s=t.hachureAngle+90;let r=t.hachureGap;r<0&&(r=t.strokeWidth*4),r=Math.round(Math.max(r,.1));let o=1;return t.roughness>=1&&(((n=t.randomizer)===null||n===void 0?void 0:n.next())||Math.random())>.7&&(o=r),Gl(e,r,s,o||1)}class Kn{constructor(t){this.helper=t}fillPolygons(t,n){return this._fillPolygons(t,n)}_fillPolygons(t,n){const s=Me(t,n);return{type:"fillSketch",ops:this.renderLines(s,n)}}renderLines(t,n){const s=[];for(const r of t)s.push(...this.helper.doubleLineOps(r[0][0],r[0][1],r[1][0],r[1][1],n));return s}}function on(e){const t=e[0],n=e[1];return Math.sqrt(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2))}class Yl extends Kn{fillPolygons(t,n){let s=n.hachureGap;s<0&&(s=n.strokeWidth*4),s=Math.max(s,.1);const r=Object.assign({},n,{hachureGap:s}),o=Me(t,r),i=Math.PI/180*n.hachureAngle,a=[],l=s*.5*Math.cos(i),c=s*.5*Math.sin(i);for(const[f,p]of o)on([f,p])&&a.push([[f[0]-l,f[1]+c],[...p]],[[f[0]+l,f[1]-c],[...p]]);return{type:"fillSketch",ops:this.renderLines(a,n)}}}class Zl extends Kn{fillPolygons(t,n){const s=this._fillPolygons(t,n),r=Object.assign({},n,{hachureAngle:n.hachureAngle+90}),o=this._fillPolygons(t,r);return s.ops=s.ops.concat(o.ops),s}}class Xl{constructor(t){this.helper=t}fillPolygons(t,n){n=Object.assign({},n,{hachureAngle:0});const s=Me(t,n);return this.dotsOnLines(s,n)}dotsOnLines(t,n){const s=[];let r=n.hachureGap;r<0&&(r=n.strokeWidth*4),r=Math.max(r,.1);let o=n.fillWeight;o<0&&(o=n.strokeWidth/2);const i=r/4;for(const a of t){const l=on(a),c=l/r,u=Math.ceil(c)-1,f=l-u*r,p=(a[0][0]+a[1][0])/2-r/4,h=Math.min(a[0][1],a[1][1]);for(let g=0;g<u;g++){const d=h+f+g*r,m=p-i+Math.random()*2*i,_=d-i+Math.random()*2*i,y=this.helper.ellipse(m,_,o,o,n);s.push(...y.ops)}}return{type:"fillSketch",ops:s}}}class tc{constructor(t){this.helper=t}fillPolygons(t,n){const s=Me(t,n);return{type:"fillSketch",ops:this.dashedLine(s,n)}}dashedLine(t,n){const s=n.dashOffset<0?n.hachureGap<0?n.strokeWidth*4:n.hachureGap:n.dashOffset,r=n.dashGap<0?n.hachureGap<0?n.strokeWidth*4:n.hachureGap:n.dashGap,o=[];return t.forEach(i=>
117{const a=on(i),l=Math.floor(a/(s+r)),c=(a+r-l*(s+r))/2;let u=i[0],f=i[1];u[0]>f[0]&&(u=i[1],f=i[0]);const p=Math.atan((f[1]-u[1])/(f[0]-u[0]));for(let h=0;h<l;h++){const g=h*(s+r),d=g+s,m=[u[0]+g*Math.cos(p)+c*Math.cos(p),u[1]+g*Math.sin(p)+c*Math.sin(p)],_=[u[0]+d*Math.cos(p)+c*Math.cos(p),u[1]+d*Math.sin(p)+c*Math.sin(p)];o.push(...this.helper.doubleLineOps(m[0],m[1],_[0],_[1],n))}}),o}}class ec{constructor(t){this.helper=t}fillPolygons(t,n){const s=n.hachureGap<0?n.strokeWidth*4:n.hachureGap,r=n.zigzagOffset<0?s:n.zigzagOffset;n=Object.assign({},n,{hachureGap:s+r});const o=Me(t,n);return{type:"fillSketch",ops:this.zigzagLines(o,r,n)}}zigzagLines(t,n,s){const r=[];return t.forEach(o=>{const i=on(o),a=Math.round(i/(2*n));let l=o[0],c=o[1];l[0]>c[0]&&(l=o[1],c=o[0]);const u=Math.atan((c[1]-l[1])/(c[0]-l[0]));for(let f=0;f<a;f++){const p=f*2*n,h=(f+1)*2*n,g=Math.sqrt(2*Math.pow(n,2)),d=[l[0]+p*Math.cos(u),l[1]+p*Math.sin(u)],m=[l[0]+h*Math.cos(u),l[1]+h*Math.sin(u)],_=[d[0]+g*Math.cos(u+Math.PI/4),d[1]+g*Math.sin(u+Math.PI/4)];r.push(...this.helper.doubleLineOps(d[0],d[1],_[0],_[1],s),...this.helper.doubleLineOps(_[0],_[1],m[0],m[1],s))}}),r}}const K={};function nc(e,t){let n=e.fillStyle||"hachure";if(!K[n])switch(n){case"zigzag":K[n]||(K[n]=new Yl(t));break;case"cross-hatch":K[n]||(K[n]=new Zl(t));break;case"dots":K[n]||(K[n]=new Xl(t));break;case"dashed":K[n]||(K[n]=new tc(t));break;case"zigzag-line":K[n]||(K[n]=new ec(t));break;case"hachure":default:n="hachure",K[n]||(K[n]=new Kn(t));break}return K[n]}const sc=0,Pn=1,Hr=2,Ce={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function rc(e){const t=new Array;for(;e!=="";)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:sc,text:RegExp.$1},e=e.substr(RegExp.$1.length);else if(e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))t[t.length]={type:Pn,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length);else return[];return t[t.length]={type:Hr,text:""},t}function mn(e,t){return e.type===t}function Gn(e){const t=[],n=rc(e);let s="BOD",r=0,o=n[r];for(;!mn(o,Hr);){let i=0;const a=[];if(s==="BOD")if(o.text==="M"||o.text==="m")r++,i=Ce[o.text],s=o.text;else return Gn("M0,0"+e);else mn(o,Pn)?i=Ce[s]:(r++,i=Ce[o.text],s=o.text);if(r+i<n.length){for(let l=r;l<r+i;l++){const c=n[l];if(mn(c,Pn))a[a.length]=+c.text;else throw new Error("Param not a number: "+s+","+c.text)}if(typeof Ce[s]=="number"){const l={key:s,data:a};t.push(l),r+=i,o=n[r],s==="M"&&(s="L"),s==="m"&&(s="l")}else throw new Error("Bad segment: "+s)}else throw new Error("Path data ended short")}return t}function xr(e){let t=0,n=0,s=0,r=0;const o=[];for(const{key:i,data:a}of e)switch(i){case"M":o.push({key:"M",data:[...a]}),[t,n]=a,[s,r]=a;break;case"m":t+=a[0],n+=a[1],o.push({key:"M",data:[t,n]}),s=t,r=n;break;case"L":o.push({key:"L",data:[...a]}),[t,n]=a;break;case"l":t+=a[0],n+=a[1],o.push({key:"L",data:[t,n]});break;case"C":o.push({key:"C",data:[...a]}),t=a[4],n=a[5];break;case"c":{const l=a.map((c,u)=>u%2?c+n:c+t);o.push({key:"C",data:l}),t=l[4],n=l[5];break}case"Q":o.push({key:"Q",data:[...a]}),t=a[2],n=a[3];break;case"q":{const l=a.map((c,u)=>u%2?c+n:c+t);o.push({key:"Q",data:l}),t=l[2],n=l[3];break}case"A":o.push({key:"A",data:[...a]}),t=a[5],n=a[6];break;case"a":t+=a[5],n+=a[6],o.push({key:"A",data:[a[0],a[1],a[2],a[3],a[4],t,n]});break;case"H":o.push({key:"H",data:[...a]}),t=a[0];break;case"h":t+=a[0],o.push({key:"H",data:[t]});break;case"V":o.push({key:"V",data:[...a]}),n=a[0];break;case"v":n+=a[0],o.push({key:"V",data:[n]});break;case"S":o.push({key:"S",data:[...a]}),t=a[2],n=a[3];break;case"s":{const l=a.map((c,u)=>u%2?c+n:c+t);o.push({key:"S",data:l}),t=l[2],n=l[3];break}case"T":o.push({key:"T",data:[...a]}),t=a[0],n=a[1];break;case"t":t+=a[0],n+=a[1],o.push({key:"T",data:[t,n]});break;case"Z":case"z":o.push({key:"Z",data:[]}),t=s,n=r;break}return o}function Vr(e){const t=[];let n="",s=0,r=0,o=0,i=0,a=0,l=0;for(const{key:c,data:u}of e){switch(c){case"M":t.push({key:"M",data:[...u]}),[s,r]=u,[o,i]=u;break;case"C":t.push({key:"C",data:[...u]}),s=u[4],r=u[5],a=u[2],l=u[3];break;case"L":t.push({key:"L",data:[...u]}),[s,r]=u;break;case"H":s=u[0],t.push({key:"L",data:[s,r]});break;case"V":r=u[0],t.push({key:"L",data:[s,r]});break;case"S":{let f=0,p=0;n==="C"||n==="S"?(f=s+(s-a),p=r+(r-l)):(f=s,p=r),t.push({key:"C",data:[f,p,...u]}),a=u[0],l=u[1],s=u[2],r=u[3];break}case"T":{const[f,p]=u;let h=0,g=0;n==="Q"||n==="T"?(h=s+(s-a),g=r+(r-l)):(h=s,g=r);const d=s+2*(h-s)/3,m=r+2*(g-r)/3,_=f+2*(h-f)/3,y=p+2*(g-p)/3;t.push({key:"C",data:[d,m,_,y,f,p]}),a=h,l=g,s=f,r=p;break}case"Q":{const[f,p,h,g]=u,d=s+2*(f-s)/3,m=r+2*(p-r)/3,_=h+2*(f-h)/3,y=g+2*(p-g)/3;t.push({key:"C",data:[d,m,_,y,h,g]}),a=f,l=p,s=h,r=g;break}case"A":{const f=Math.abs(u[0]),p=Math.abs(u[1]),h=u[2],g=u[3],d=u[4],m=u[5],_=u[6];f===0||p===0?(t.push({key:"C",data:[s,r,m,_,m,_]}
117),s=m,r=_):(s!==m||r!==_)&&(Fr(s,r,m,_,f,p,h,g,d).forEach(function(w){t.push({key:"C",data:w})}),s=m,r=_);break}case"Z":t.push({key:"Z",data:[]}),s=o,r=i;break}n=c}return t}function oc(e){return Math.PI*e/180}function ge(e,t,n){const s=e*Math.cos(n)-t*Math.sin(n),r=e*Math.sin(n)+t*Math.cos(n);return[s,r]}function Fr(e,t,n,s,r,o,i,a,l,c){const u=oc(i);let f=[],p=0,h=0,g=0,d=0;if(c)[p,h,g,d]=c;else{[e,t]=ge(e,t,-u),[n,s]=ge(n,s,-u);const A=(e-n)/2,I=(t-s)/2;let z=A*A/(r*r)+I*I/(o*o);z>1&&(z=Math.sqrt(z),r=z*r,o=z*o);const j=a===l?-1:1,N=r*r,at=o*o,ct=N*at-N*I*I-at*A*A,ue=N*I*I+at*A*A,B=j*Math.sqrt(Math.abs(ct/ue));g=B*r*I/o+(e+n)/2,d=B*-o*A/r+(t+s)/2,p=Math.asin(parseFloat(((t-d)/o).toFixed(9))),h=Math.asin(parseFloat(((s-d)/o).toFixed(9))),e<g&&(p=Math.PI-p),n<g&&(h=Math.PI-h),p<0&&(p=Math.PI*2+p),h<0&&(h=Math.PI*2+h),l&&p>h&&(p=p-Math.PI*2),!l&&h>p&&(h=h-Math.PI*2)}let m=h-p;if(Math.abs(m)>Math.PI*120/180){const A=h,I=n,z=s;l&&h>p?h=p+Math.PI*120/180*1:h=p+Math.PI*120/180*-1,n=g+r*Math.cos(h),s=d+o*Math.sin(h),f=Fr(n,s,I,z,r,o,i,0,l,[h,A,g,d])}m=h-p;const _=Math.cos(p),y=Math.sin(p),w=Math.cos(h),k=Math.sin(h),S=Math.tan(m/4),E=4/3*r*S,T=4/3*o*S,R=[e,t],F=[e+E*y,t-T*_],et=[n+E*k,s-T*w],Z=[n,s];if(F[0]=2*R[0]-F[0],F[1]=2*R[1]-F[1],c)return[F,et,Z].concat(f);{f=[F,et,Z].concat(f);const A=[];for(let I=0;I<f.length;I+=3){const z=ge(f[I][0],f[I][1],u),j=ge(f[I+1][0],f[I+1][1],u),N=ge(f[I+2][0],f[I+2][1],u);A.push([z[0],z[1],j[0],j[1],N[0],N[1]])}return A}}const ic={randOffset:cc,randOffsetWithRange:uc,ellipse:An,doubleLineOps:fc};function X(e,t,n,s,r){return{type:"path",ops:ft(e,t,n,s,r)}}function we(e,t,n){const s=(e||[]).length;if(s>2){const r=[];for(let o=0;o<s-1;o++)r.push(...ft(e[o][0],e[o][1],e[o+1][0],e[o+1][1],n));return t&&r.push(...ft(e[s-1][0],e[s-1][1],e[0][0],e[0][1],n)),{type:"path",ops:r}}else if(s===2)return X(e[0][0],e[0][1],e[1][0],e[1][1],n);return{type:"path",ops:[]}}function ac(e,t){return we(e,!0,t)}function Wr(e,t,n,s,r){const o=[[e,t],[e+n,t],[e+n,t+s],[e,t+s]];return ac(o,r)}function Js(e,t){if(e.length){const s=typeof e[0][0]=="number"?[e]:e,r=De(s[0],1*(1+t.roughness*.2),t),o=t.disableMultiStroke?[]:De(s[0],1.5*(1+t.roughness*.22),Qs(t));for(let i=1;i<s.length;i++){const a=s[i];if(a.length){const l=De(a,1*(1+t.roughness*.2),t),c=t.disableMultiStroke?[]:De(a,1.5*(1+t.roughness*.22),Qs(t));for(const u of l)u.op!=="move"&&r.push(u);for(const u of c)u.op!=="move"&&o.push(u)}}return{type:"path",ops:r.concat(o)}}return{type:"path",ops:[]}}function An(e,t,n,s,r){const o=zr(n,s,r);return Cn(e,t,r,o).opset}function zr(e,t,n){const s=Math.sqrt(Math.PI*2*Math.sqrt((Math.pow(e/2,2)+Math.pow(t/2,2))/2)),r=Math.ceil(Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*s)),o=Math.PI*2/r;let i=Math.abs(e/2),a=Math.abs(t/2);const l=1-n.curveFitting;return i+=M(i*l,n),a+=M(a*l,n),{increment:o,rx:i,ry:a}}function Cn(e,t,n,s){const[r,o]=Ys(s.increment,e,t,s.rx,s.ry,1,s.increment*Ke(.1,Ke(.4,1,n),n),n);let i=Ge(r,null,n);if(!n.disableMultiStroke&&n.roughness!==0){const[a]=Ys(s.increment,e,t,s.rx,s.ry,1.5,0,n),l=Ge(a,null,n);i=i.concat(l)}return{estimatedPoints:o,opset:{type:"path",ops:i}}}function Ks(e,t,n,s,r,o,i,a,l){const c=e,u=t;let f=Math.abs(n/2),p=Math.abs(s/2);f+=M(f*.01,l),p+=M(p*.01,l);let h=r,g=o;for(;h<0;)h+=Math.PI*2,g+=Math.PI*2;g-h>Math.PI*2&&(h=0,g=Math.PI*2);const d=Math.PI*2/l.curveStepCount,m=Math.min(d/2,(g-h)/2),_=Zs(m,c,u,f,p,h,g,1,l);if(!l.disableMultiStroke){const y=Zs(m,c,u,f,p,h,g,1.5,l);_.push(...y)}return i&&(a?_.push(...ft(c,u,c+f*Math.cos(h),u+p*Math.sin(h),l),...ft(c,u,c+f*Math.cos(g),u+p*Math.sin(g),l)):_.push({op:"lineTo",data:[c,u]},{op:"lineTo",data:[c+f*Math.cos(h),u+p*Math.sin(h)]})),{type:"path",ops:_}}function Gs(e,t){const n=Vr(xr(Gn(e))),s=[];let r=[0,0],o=[0,0];for(const{key:i,data:a}of n)switch(i){case"M":{o=[a[0],a[1]],r=[a[0],a[1]];break}case"L":s.push(...ft(o[0],o[1],a[0],a[1],t)),o=[a[0],a[1]];break;case"C":{const[l,c,u,f,p,h]=a;s.push(...dc(l,c,u,f,p,h,o,t)),o=[p,h];break}case"Z":s.push(...ft(o[0],o[1],r[0],r[1],t)),o=[r[0],r[1]];break}return{type:"path",ops:s}}function yn(e,t){const n=[];for(const s of e)if(s.length){const r=t.maxRandomnessOffset||0,o=s.length;if(o>2){n.push({op:"move",data:[s[0][0]+M(r,t),s[0][1]+M(r,t)]});for(let i=1;i<o;i++)n.push({op:"lineTo",data:[s[i][0]+M(r,t),s[i][1]+M(r,t)]})}}return{type:"fillPath",ops:n}}function ee(e,t){return nc(t,ic).fillPolygons(e,t)}function lc(e,t,n,s,r,o,i){const a=e,l=t;let c=Math.abs(n/2),u=Math.abs(s/2);c+=M(c*.01,i),u+=M(u*.01,i);let f=r,p=o;for(;f<0;)f+=Math.PI*2,p+=Math.PI*2;p-f>Math.PI*2&&(f=0,p=Math.PI*2);const h=(p-f)/i.curveStepCount,g=[];for(let d=f;d<=p;d=d+h)g.push([a+c*Math.cos(d),l+u*Math.sin(d)]);
117return g.push([a+c*Math.cos(p),l+u*Math.sin(p)]),g.push([a,l]),ee([g],i)}function cc(e,t){return M(e,t)}function uc(e,t,n){return Ke(e,t,n)}function fc(e,t,n,s,r){return ft(e,t,n,s,r,!0)}function Qs(e){const t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function Br(e){return e.randomizer||(e.randomizer=new Ul(e.seed||0)),e.randomizer.next()}function Ke(e,t,n,s=1){return n.roughness*s*(Br(n)*(t-e)+e)}function M(e,t,n=1){return Ke(-e,e,t,n)}function ft(e,t,n,s,r,o=!1){const i=o?r.disableMultiStrokeFill:r.disableMultiStroke,a=Dn(e,t,n,s,r,!0,!1);if(i)return a;const l=Dn(e,t,n,s,r,!0,!0);return a.concat(l)}function Dn(e,t,n,s,r,o,i){const a=Math.pow(e-n,2)+Math.pow(t-s,2),l=Math.sqrt(a);let c=1;l<200?c=1:l>500?c=.4:c=-.0016668*l+1.233334;let u=r.maxRandomnessOffset||0;u*u*100>a&&(u=l/10);const f=u/2,p=.2+Br(r)*.2;let h=r.bowing*r.maxRandomnessOffset*(s-t)/200,g=r.bowing*r.maxRandomnessOffset*(e-n)/200;h=M(h,r,c),g=M(g,r,c);const d=[],m=()=>M(f,r,c),_=()=>M(u,r,c),y=r.preserveVertices;return i?d.push({op:"move",data:[e+(y?0:m()),t+(y?0:m())]}):d.push({op:"move",data:[e+(y?0:M(u,r,c)),t+(y?0:M(u,r,c))]}),i?d.push({op:"bcurveTo",data:[h+e+(n-e)*p+m(),g+t+(s-t)*p+m(),h+e+2*(n-e)*p+m(),g+t+2*(s-t)*p+m(),n+(y?0:m()),s+(y?0:m())]}):d.push({op:"bcurveTo",data:[h+e+(n-e)*p+_(),g+t+(s-t)*p+_(),h+e+2*(n-e)*p+_(),g+t+2*(s-t)*p+_(),n+(y?0:_()),s+(y?0:_())]}),d}function De(e,t,n){if(!e.length)return[];const s=[];
vendor: 6,081 bytes, line 117
117s.push([e[0][0]+M(t,n),e[0][1]+M(t,n)]),s.push([e[0][0]+M(t,n),e[0][1]+M(t,n)]);for(let r=1;r<e.length;r++)s.push([e[r][0]+M(t,n),e[r][1]+M(t,n)]),r===e.length-1&&s.push([e[r][0]+M(t,n),e[r][1]+M(t,n)]);return Ge(s,null,n)}function Ge(e,t,n){const s=e.length,r=[];if(s>3){const o=[],i=1-n.curveTightness;r.push({op:"move",data:[e[1][0],e[1][1]]});for(let a=1;a+2<s;a++){const l=e[a];o[0]=[l[0],l[1]],o[1]=[l[0]+(i*e[a+1][0]-i*e[a-1][0])/6,l[1]+(i*e[a+1][1]-i*e[a-1][1])/6],o[2]=[e[a+1][0]+(i*e[a][0]-i*e[a+2][0])/6,e[a+1][1]+(i*e[a][1]-i*e[a+2][1])/6],o[3]=[e[a+1][0],e[a+1][1]],r.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[3][0],o[3][1]]})}}else s===3?(r.push({op:"move",data:[e[1][0],e[1][1]]}),r.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):s===2&&r.push(...Dn(e[0][0],e[0][1],e[1][0],e[1][1],n,!0,!0));return r}function Ys(e,t,n,s,r,o,i,a){const l=a.roughness===0,c=[],u=[];if(l){e=e/4,u.push([t+s*Math.cos(-e),n+r*Math.sin(-e)]);for(let f=0;f<=Math.PI*2;f=f+e){const p=[t+s*Math.cos(f),n+r*Math.sin(f)];c.push(p),u.push(p)}u.push([t+s*Math.cos(0),n+r*Math.sin(0)]),u.push([t+s*Math.cos(e),n+r*Math.sin(e)])}else{const f=M(.5,a)-Math.PI/2;u.push([M(o,a)+t+.9*s*Math.cos(f-e),M(o,a)+n+.9*r*Math.sin(f-e)]);const p=Math.PI*2+f-.01;for(let h=f;h<p;h=h+e){const g=[M(o,a)+t+s*Math.cos(h),M(o,a)+n+r*Math.sin(h)];c.push(g),u.push(g)}u.push([M(o,a)+t+s*Math.cos(f+Math.PI*2+i*.5),M(o,a)+n+r*Math.sin(f+Math.PI*2+i*.5)]),u.push([M(o,a)+t+.98*s*Math.cos(f+i),M(o,a)+n+.98*r*Math.sin(f+i)]),u.push([M(o,a)+t+.9*s*Math.cos(f+i*.5),M(o,a)+n+.9*r*Math.sin(f+i*.5)])}return[u,c]}function Zs(e,t,n,s,r,o,i,a,l){const c=o+M(.1,l),u=[];u.push([M(a,l)+t+.9*s*Math.cos(c-e),M(a,l)+n+.9*r*Math.sin(c-e)]);for(let f=c;f<=i;f=f+e)u.push([M(a,l)+t+s*Math.cos(f),M(a,l)+n+r*Math.sin(f)]);return u.push([t+s*Math.cos(i),n+r*Math.sin(i)]),u.push([t+s*Math.cos(i),n+r*Math.sin(i)]),Ge(u,null,l)}function dc(e,t,n,s,r,o,i,a){const l=[],c=[a.maxRandomnessOffset||1,(a.maxRandomnessOffset||1)+.3];let u=[0,0];const f=a.disableMultiStroke?1:2,p=a.preserveVertices;for(let h=0;h<f;h++)h===0?l.push({op:"move",data:[i[0],i[1]]}):l.push({op:"move",data:[i[0]+(p?0:M(c[0],a)),i[1]+(p?0:M(c[0],a))]}),u=p?[r,o]:[r+M(c[h],a),o+M(c[h],a)],l.push({op:"bcurveTo",data:[e+M(c[h],a),t+M(c[h],a),n+M(c[h],a),s+M(c[h],a),u[0],u[1]]});return l}function me(e){return[...e]}function Xs(e,t=0){const n=e.length;if(n<3)throw new Error("A curve must have at least three points.");const s=[];if(n===3)s.push(me(e[0]),me(e[1]),me(e[2]),me(e[2]));else{const r=[];r.push(e[0],e[0]);for(let a=1;a<e.length;a++)r.push(e[a]),a===e.length-1&&r.push(e[a]);const o=[],i=1-t;s.push(me(r[0]));for(let a=1;a+2<r.length;a++){const l=r[a];o[0]=[l[0],l[1]],o[1]=[l[0]+(i*r[a+1][0]-i*r[a-1][0])/6,l[1]+(i*r[a+1][1]-i*r[a-1][1])/6],o[2]=[r[a+1][0]+(i*r[a][0]-i*r[a+2][0])/6,r[a+1][1]+(i*r[a][1]-i*r[a+2][1])/6],o[3]=[r[a+1][0],r[a+1][1]],s.push(o[1],o[2],o[3])}}return s}function hc(e,t){return Math.sqrt(Ve(e,t))}function Ve(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function pc(e,t,n){const s=Ve(t,n);if(s===0)return Ve(e,t);let r=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/s;return r=Math.max(0,Math.min(1,r)),Ve(e,Gt(t,n,r))}function Gt(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function gc(e,t){const n=e[t+0],s=e[t+1],r=e[t+2],o=e[t+3];let i=3*s[0]-2*n[0]-o[0];i*=i;let a=3*s[1]-2*n[1]-o[1];a*=a;let l=3*r[0]-2*o[0]-n[0];l*=l;let c=3*r[1]-2*o[1]-n[1];return c*=c,i<l&&(i=l),a<c&&(a=c),i+a}function Rn(e,t,n,s){const r=s||[];if(gc(e,t)<n){const o=e[t+0];r.length?hc(r[r.length-1],o)>1&&r.push(o):r.push(o),r.push(e[t+3])}else{const i=e[t+0],a=e[t+1],l=e[t+2],c=e[t+3],u=Gt(i,a,.5),f=Gt(a,l,.5),p=Gt(l,c,.5),h=Gt(u,f,.5),g=Gt(f,p,.5),d=Gt(h,g,.5);Rn([i,u,h,d],0,n,r),Rn([d,g,p,c],0,n,r)}return r}function mc(e,t){return Qe(e,0,e.length,t)}function Qe(e,t,n,s,r){const o=r||[],i=e[t],a=e[n-1];let l=0,c=1;for(let u=t+1;u<n-1;++u){const f=pc(e[u],i,a);f>l&&(l=f,c=u)}return Math.sqrt(l)>s?(Qe(e,t,c+1,s,o),Qe(e,c,n,s,o)):(o.length||o.push(i),o.push(a)),o}function In(e,t=.15,n){const s=[],r=(e.length-1)/3;for(let o=0;o<r;o++){const i=o*3;Rn(e,i,t,s)}return n&&n>0?Qe(s,0,s.length,n):s}function yc(e,t,n){const s=Gn(e),r=Vr(xr(s)),o=[];let i=[],a=[0,0],l=[];const c=()=>{l.length>=4&&i.push(...In(l,t)),l=[]},u=()=>{c(),i.length&&(o.push(i),i=[])};for(const{key:p,data:h}of r)switch(p){case"M":u(),a=[h[0],h[1]],i.push(a);break;case"L":c(),i.push([h[0],h[1]]);break;case"C":if(!l.length){const g=i.length?i[i.length-1]:a;l.push([g[0],g[1]])}l.push([h[0],h[1]]),l.push([h[2],h[3]]),l.push([h[4],h[5]]);break;case"Z":c(),i.push([a[0],a[1]]);break}if(u(),!n)return o;const f=[];for(const p of o){const h=mc(p,n);h.length&&f.push(h)}return f}const Q="none";class _c{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Nr()}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,n,s){return{shape:t,sets:n||[],options:s||this.defaultOptions}}line(t,n,s,r,o){const i=this._o(o);return this._d("line",[X(t,n,s,r,i)],i)}rectangle(t,n,s,r,o){const i=this._o(o),a=[],l=Wr(t,n,s,r,i);if(i.fill){const c=[[t,n],[t+s,n],[t+s,n+r],[t,n+r]];i.fillStyle==="solid"?a.push(yn([c],i)):a.push(ee([c],i))}return i.stroke!==Q&&a.push(l),this._d("rectangle",a,i)}ellipse(t,n,s,r,o){const i=this._o(o),a=[],l=zr(s,r,i),c=Cn(t,n,i,l);if(i.fill)if(i.fillStyle==="solid"){const u=Cn(t,n,i,l).opset;u.type="fillPath",a.push(u)}else a.push(ee([c.estimatedPoints],i));return i.stroke!==Q&&a.push(c.opset),this._d("ellipse",a,i)}circle(t,n,s,r){const o=this.ellipse(t,n,s,s,r);return o.shape="circle",o}linearPath(t,n){const s=this._o(n);
117return this._d("linearPath",[we(t,!1,s)],s)}arc(t,n,s,r,o,i,a=!1,l){const c=this._o(l),u=[],f=Ks(t,n,s,r,o,i,a,!0,c);if(a&&c.fill)if(c.fillStyle==="solid"){const p=Object.assign({},c);p.disableMultiStroke=!0;const h=Ks(t,n,s,r,o,i,!0,!1,p);h.type="fillPath",u.push(h)}else u.push(lc(t,n,s,r,o,i,c));return c.stroke!==Q&&u.push(f),this._d("arc",u,c)}curve(t,n){const s=this._o(n),r=[],o=Js(t,s);if(s.fill&&s.fill!==Q)if(s.fillStyle==="solid"){const i=Js(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(i.ops)})}else{const i=[],a=t;if(a.length){const c=typeof a[0][0]=="number"?[a]:a;for(const u of c)u.length<3?i.push(...u):u.length===3?i.push(...In(Xs([u[0],u[0],u[1],u[2]]),10,(1+s.roughness)/2)):i.push(...In(Xs(u),10,(1+s.roughness)/2))}i.length&&r.push(ee([i],s))}return s.stroke!==Q&&r.push(o),this._d("curve",r,s)}polygon(t,n){const s=this._o(n),r=[],o=we(t,!0,s);return s.fill&&(s.fillStyle==="solid"?r.push(yn([t],s)):r.push(ee([t],s))),s.stroke!==Q&&r.push(o),this._d("polygon",r,s)}path(t,n){const s=this._o(n),r=[];if(!t)return this._d("path",r,s);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const o=s.fill&&s.fill!=="transparent"&&s.fill!==Q,i=s.stroke!==Q,a=!!(s.simplification&&s.simplification<1),l=a?4-4*(s.simplification||1):(1+s.roughness)/2,c=yc(t,1,l),u=Gs(t,s);if(o)if(s.fillStyle==="solid")if(c.length===1){const f=Gs(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(f.ops)})}else r.push(yn(c,s));else r.push(ee(c,s));return i&&(a?c.forEach(f=>{r.push(we(f,!1,s))}):r.push(u)),this._d("path",r,s)}opsToPath(t,n){let s="";for(const r of t.ops){const o=typeof n=="number"&&n>=0?r.data.map(i=>+i.toFixed(n)):r.data;switch(r.op){case"move":s+=`M${o[0]} ${o[1]} `;break;case"bcurveTo":s+=`C${o[0]} ${o[1]}, ${o[2]} ${o[3]}, ${o[4]} ${o[5]} `;break;case"lineTo":s+=`L${o[0]} ${o[1]} `;break}}return s.trim()}toPaths(t){const n=t.sets||[],s=t.options||this.defaultOptions,r=[];for(const o of n){let i=null;switch(o.type){case"path":i={d:this.opsToPath(o),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:Q};break;case"fillPath":i={d:this.opsToPath(o),stroke:Q,strokeWidth:0,fill:s.fill||Q};break;case"fillSketch":i=this.fillSketch(o,s);break}i&&r.push(i)}return r}fillSketch(t,n){let s=n.fillWeight;return s<0&&(s=n.strokeWidth/2),{d:this.opsToPath(t),stroke:n.fill||Q,strokeWidth:s,fill:Q}}_mergedShape(t){return t.filter((n,s)=>s===0?!0:n.op!=="move")}}const qr="http://www.w3.org/2000/svg",vc=800;let _n=null;function wc(){return _n||(_n=new _c().defaultOptions),_n}
117function vn(e,t,n){return{...wc(),maxRandomnessOffset:2,roughness:e==="highlight"?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,disableMultiStroke:e!=="double",disableMultiStrokeFill:!1,seed:t,...n}}function kc(e){const t=e.padding;if(t||t===0){if(typeof t=="number")return[t,t,t,t];if(Array.isArray(t)){const n=t;if(n.length)switch(n.length){case 4:return[...n];case 1:return[n[0],n[0],n[0],n[0]];case 2:return[...n,...n];case 3:return[...n,n[1]];default:return[n[0],n[1],n[2],n[3]]}}}return[5,5,5,5]}function bc(e,t,n,s,r,o){const i=[];let a=n.strokeWidth||2;const l=kc(n),c=n.animate===void 0?!0:!!n.animate,u=n.iterations||2,f=n.rtl?1:0,p=vn("single",o,n);switch(n.type){case"underline":{const h=t.y+t.h+l[2];for(let g=f;g<u+f;g++)g%2?i.push(X(t.x+t.w,h,t.x,h,p)):i.push(X(t.x,h,t.x+t.w,h,p));break}case"strike-through":{const h=t.y+t.h/2;for(let g=f;g<u+f;g++)g%2?i.push(X(t.x+t.w,h,t.x,h,p)):i.push(X(t.x,h,t.x+t.w,h,p));break}case"box":{const h=t.x-l[3],g=t.y-l[0],d=t.w+(l[1]+l[3]),m=t.h+(l[0]+l[2]);for(let _=0;_<u;_++)i.push(Wr(h,g,d,m,p));break}case"bracket":{const h=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:["right"],g=t.x-l[3]*2,d=t.x+t.w+l[1]*2,m=t.y-l[0]*2,_=t.y+t.h+l[2]*2;for(const y of h){let w;switch(y){case"bottom":w=[[g,t.y+t.h],[g,_],[d,_],[d,t.y+t.h]];break;case"top":w=[[g,t.y],[g,m],[d,m],[d,t.y]];break;case"left":w=[[t.x,m],[g,m],[g,_],[t.x,_]];break;case"right":w=[[t.x+t.w,m],[d,m],[d,_],[t.x+t.w,_]];break}w&&i.push(we(w,!1,p))}break}case"crossed-off":{const h=t.x,g=t.y,d=h+t.w,m=g+t.h;for(let _=f;_<u+f;_++)_%2?i.push(X(d,m,h,g,p)):i.push(X(h,g,d,m,p));for(let _=f;_<u+f;_++)_%2?i.push(X(h,m,d,g,p)):i.push(X(d,g,h,m,p));break}case"circle":{const h=vn("double",o,n),g=t.w+(l[1]+l[3]),d=t.h+(l[0]+l[2]),m=t.x-l[3]+g/2,_=t.y-l[0]+d/2,y=Math.floor(u/2),w=u-y*2;for(let k=0;k<y;k++)i.push(An(m,_,g,d,h));for(let k=0;k<w;k++)i.push(An(m,_,g,d,p));break}case"highlight":{const h=vn("highlight",o,n);a=t.h*.95;const g=t.y+t.h/2;for(let d=f;d<u+f;d++)d%2?i.push(X(t.x+t.w,g,t.x,g,h)):i.push(X(t.x,g,t.x+t.w,g,h));break}}if(i.length){const h=Sc(i),g=[],d=[];let m=0;const _=(y,w,k)=>y.setAttribute(w,k);for(const y of h){const w=document.createElementNS(qr,"path");if(_(w,"d",y),_(w,"fill","none"),_(w,"stroke",n.color||"currentColor"),_(w,"stroke-width",`${a}`),n.opacity!==void 0&&_(w,"style",`opacity:${n.opacity}`),c){const k=w.getTotalLength();g.push(k),m+=k}e.appendChild(w),d.push(w)}if(c){let y=0;for(let w=0;w<d.length;w++){const k=d[w],S=g[w],E=m?r*(S/m):0,T=s+y,R=k.style;R.strokeDashoffset=`${S}`,R.strokeDasharray=`${S}`,R.animation=`rough-notation-dash ${E}ms ease-out ${T}ms forwards`,y+=E}return tr(r+s)}}return tr(0)}function tr(e){return new Promise(t=>setTimeout(t,e))}function Sc(e){const t=[];for(const n of e){let s="";for(const r of n.ops){const o=r.data;switch(r.op){case"move":s.trim()&&t.push(s.trim()),s=`M${o[0]} ${o[1]} `;break;case"bcurveTo":s+=`C${o[0]} ${o[1]}, ${o[2]} ${o[3]}, ${o[4]} ${o[5]} `;break;case"lineTo":s+=`L${o[0]} ${o[1]} `;break}}s.trim()&&t.push(s.trim())}return t}function Mc(){if(!window.__rno_kf_s){const e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}}var Ec=Object.defineProperty,Oc=(e,t,n)=>t in e?Ec(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}
117):e[t]=n,nt=(e,t,n)=>(Oc(e,typeof t!="symbol"?t+"":t,n),n);class $c{constructor(t,n){nt(this,"_state","unattached"),nt(this,"_config"),nt(this,"_resizing",!1),nt(this,"_ro"),nt(this,"_seed",Nr()),nt(this,"_e"),nt(this,"_svg"),nt(this,"_lastSizes",[]),nt(this,"_animationDelay",0),nt(this,"_resizeListener",()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,this._state==="showing"&&this.haveRectsChanged()&&this.show()},400))}),nt(this,"pendingRefresh"),this._e=t,this._config=JSON.parse(JSON.stringify(n)),this.attach()}getConfig(t){return this._config[t]}setConfig(t,n){this._config[t]!==n&&(this._config[t]=n,this.refresh())}get animate(){return this._config.animate}set animate(t){this._config.animate=t}get animationDuration(){return this._config.animationDuration}set animationDuration(t){this._config.animationDuration=t}get iterations(){return this._config.iterations}set iterations(t){this._config.iterations=t}get color(){return this._config.color}set color(t){this._config.color!==t&&(this._config.color=t,this.refresh())}get class(){return this._config.class}set class(t){this._config.class!==t&&(this._config.class=t,this._svg&&this._svg.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" ")))}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(t){this._config.strokeWidth!==t&&(this._config.strokeWidth=t,this.refresh())}get padding(){return this._config.padding}set padding(t){this._config.padding!==t&&(this._config.padding=t,this.refresh())}attach(){if(this._state==="unattached"&&this._e.parentElement){Mc();const t=this._svg=document.createElementNS(qr,"svg");t.setAttribute("class",["rough-annotation",this._config.class||""].filter(Boolean).join(" "));const n=t.style;n.position="absolute",n.top="0",n.left="0",n.overflow="visible",n.pointerEvents="none",n.width="100px",n.height="100px";const s=this._config.type==="highlight";if(this._e.insertAdjacentElement(s?"beforebegin":"afterend",t),this._state="not-showing",s){const r=window.getComputedStyle(this._e).position;(!r||r==="static")&&(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(t=>{for(const n of t)n.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){const t=this.rects();if(t.length===this._lastSizes.length){for(let n=0;n<t.length;n++)if(!this.isSameRect(t[n],this._lastSizes[n]))return!0}else return!0}return!1}isSameRect(t,n){const s=(r,o)=>Math.round(r)===Math.round(o);return s(t.x,n.x)&&s(t.y,n.y)&&s(t.w,n.w)&&s(t.h,n.h)}isShowing(){return this._state!=="not-showing"}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}async show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&await this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&await this.render(this._svg,!1);break}}hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}async render(t,n){let s=this._config;n&&(s=JSON.parse(JSON.stringify(this._config)),s.animate=!1);const r=this.rects();let o=0;r.forEach(c=>o+=c.w);const i=s.animationDuration||vc;let a=0;const l=[];for(let c=0;c<r.length;c++){const u=r[c],f=i*(u.w/o);l.push(bc(t,r[c],s,a+this._animationDelay+(this._config.delay||0),f,this._seed)),a+=f}return this._lastSizes=r,this._state="showing",await Promise.all(l)}rects(){const t=[];if(this._svg)if(this._config.multiline){const n=this._e.getClientRects();for(let s=0;s<n.length;s++)t.push(this.svgRect(this._svg,n[s]))}else t.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return t}svgRect(t,n){const s=t.getBoundingClientRect(),r=n;return{x:(r.x||r.left)-(s.x||s.left),y:(r.y||r.top)-(s.y||s.top),w:r.width,h:r.height}}}function Tc(e,t){return new $c(e,t)}
117function G(e,t){return e.class=[e.class,t].filter(Boolean).join(" "),e}const er={box:e=>Object.assign(e,{type:"box"}),circle:e=>Object.assign(e,{type:"circle"}),underline:e=>Object.assign(e,{type:"underline"}),highlight:e=>Object.assign(e,{type:"highlight"}),"strike-through":e=>Object.assign(e,{type:"strike-through"}),"crossed-off":e=>Object.assign(e,{type:"crossed-off"}),bracket:e=>Object.assign(e,{type:"bracket"}),strike:e=>Object.assign(e,{type:"strike-through"}),cross:e=>Object.assign(e,{type:"crossed-off"}),crossed:e=>Object.assign(e,{type:"crossed-off"}),linethrough:e=>Object.assign(e,{type:"strike-through"}),"line-through":e=>Object.assign(e,{type:"strike-through"}),black:e=>G(e,"text-black"),blue:e=>G(e,"text-blue"),cyan:e=>G(e,"text-cyan"),gray:e=>G(e,"text-gray"),green:e=>G(e,"text-green"),indigo:e=>G(e,"text-indigo"),lime:e=>G(e,"text-lime"),orange:e=>G(e,"text-orange"),pink:e=>G(e,"text-pink"),purple:e=>G(e,"text-purple"),red:e=>G(e,"text-red"),teal:e=>G(e,"text-teal"),white:e=>G(e,"text-white"),yellow:e=>G(e,"text-yellow")},Lc=[[/^delay-?(\d+)?$/,(e,t,n)=>{const s=(e[1]?Number.parseInt(e[1]):n)||300;return t.delay=s,t}],[/^(?:op|opacity)-?(\d+)?$/,(e,t,n)=>{const s=(e[1]?Number.parseInt(e[1]):n)||100;return t.opacity=s/100,t}]];function Pc(){return{install(e){e.directive("mark",{name:"v-mark",mounted:(t,n)=>{const{isPrintMode:s}=le(),r=b(()=>{const a=typeof n.value=="object"&&!Array.isArray(n.value)?{...n.value}:{at:n.value};let l={at:a.at};const c=Object.entries(n.modifiers).filter(([f,p])=>{if(er[f])return l=er[f](l,p),!1;for(const[h,g]of Lc){const d=f.match(h);if(d)return l=g(d,l,p),!1}return!0});c.length&&console.warn("[Slidev] Invalid modifiers for v-mark:",c);const u={...l,...a};return u.type||(u.type="underline"),s.value&&(u.animationDuration=1),u}),o=Tc(t,r.value),i=xe(t,n,r.value.at);if(!i){o.show();return}t.watchStopHandle=ie(()=>{let a;r.value.class&&(o.class=r.value.class),r.value.color&&(o.color=r.value.color);const l=r.value.at;l===!0?a=!0:l===!1?a=!1:a=i.isActive.value,a!=null&&(a?o.show():o.hide())})},unmounted:t=>{var n;(n=t.watchStopHandle)==null||n.call(t)}})}}}function Ac(){return{install(e){const t=ko();e.directive("motion",{name:"v-motion",mounted(n,s,r,o){var w,k,S;const i=ae(s,Xe),a=ae(s,Nn),l=ae(s,Hn),{currentPage:c,clicks:u,isPrintMode:f}=le(),p=r.props={...r.props},h={...p.initial,...(w=p.variants)==null?void 0:w["slidev-initial"]},g={...p.enter,...(k=p.variants)==null?void 0:k["slidev-enter"]},d={...p.leave,...(S=p.variants)==null?void 0:S["slidev-leave"]};delete p.initial,delete p.enter,delete p.leave;const m=`${Jn()}-`,_=[];for(const E of Object.keys(p))if(E.startsWith("click-")){const T=E.slice(6),R=T.includes("-")?T.split("-").map(Number):+T,F=m+T;_.push({id:F,at:R,variant:{...p[E]},info:i==null?void 0:i.value.calculate(R)}),delete p[E]}_.sort((E,T)=>(Array.isArray(E.at)?E.at[0]:E.at)-(Array.isArray(T.at)?T.at[0]:T.at)),t.created(n,s,r,o),t.mounted(n,s,r,o);const y=n.motionInstance;y.clickIds=_.map(E=>E.id),y.set(h),y.watchStopHandle=rt([a,c,u].filter(Boolean),()=>{var T;const E=((T=jr.get(n))==null?void 0:T.visibilityState.value)??"shown";if(!(i!=null&&i.value)||!["slide","presenter"].includes((l==null?void 0:l.value)??"")){const R={...h,...g};for(const{variant:F}of _)Object.assign(R,F);y.set(R)}else if(f.value||(a==null?void 0:a.value)===c.value)if(E==="shown"){const R={...h,...g};for(const{variant:F,info:et}of _)(!et||et.isActive.value)&&Object.assign(R,F);f.value?y.set(R):y.apply(R)}else y.apply(E==="before"?h:d);else y.apply(((a==null?void 0:a.value)??-1)>c.value?h:d)},{immediate:!0})},unmounted(n){n.motionInstance.watchStopHandle()}})}}}const Cc=[];function Dc(){const e=[];function t(n){if(!V.remote||V.remote===n.query.password)return!0;if(V.remote&&n.query.password===void 0){const s=prompt("Enter password");if(V.remote===s)return!0}return n.params.no?{path:`/${n.params.no}`}:{path:""}}return e.push({name:"entry",path:"/entry",component:()=>O(()=>import("./slidev/entry-lyPlFbKN.js"),__vite__mapDeps([50,1,4,5,51])),beforeEnter:t},{name:"overview",path:"/overview",component:()=>O(()=>import("./slidev/overview-C2VtkM7D.js"),__vite__mapDeps([52,32,1,53,54,55,56,57,4,5])),beforeEnter:t},{name:"notes",path:"/notes",component:()=>O(()=>import("./slidev/notes-D10GaGlq.js"),__vite__mapDeps([58,1,53,54,57,4,5])),beforeEnter:t},{name:"presenter",path:"/presenter/:no",component:()=>O(()=>import("./slidev/presenter-BCDb-IGr.js"),__vite__mapDeps([59,1,55,56,60,3,32,57,4,5,61,53,54,62,63,64])),beforeEnter:t},{path:"/presenter",redirect:{path:"/presenter/1"}}),e.push({name:"play",path:"/:no",component:()=>O(()=>import("./slidev/play-BOi2aenI.js"),__vite__mapDeps([65,1,55,56,60,3,32,57,4,5,61,66]))},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)*",name:"NotFound",component:()=>O(()=>import("./slidev/404-BNQERos1.js"),__vite__mapDeps([67,1,4,5,68]))}),Cc.reduce((n,s)=>s(n),e)}async function Rc(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t);const n=bo({history:So("/ccpem2025/"),routes:Dc()});e.use(n),e.use(Vl()),e.use(Fl()),e.use(Pc()),e.use(ql()),e.use(Ac()),e.use(Eo,{container:"#twoslash-container"});const s={app:e,router:n};for(const r of Nl)await r(s)}async function Ic(){const e=Mo(jl);await Rc(e),e.mount("#app")}Ic();export{Oe as $,Ya as A,En as B,Ie as C,Ka as D,Xc as E,iu as F,Hc as G,ze as H,Bc as I,_r as J,Ua as K,Te as L,Jc as M,hu as N,su as O,nu as P,st as Q,qa as R,tn as S,Ia as T,Wl as U,fr as V,Co as W,Kc as X,xn as Y,qc as Z,fi as _,le as a,Uc as a0,Zc as a1,Yc as a2,uu as a3,cu as a4,lu as a5,tt as a6,Dr as a7,Rr as a8,ur as a9,yr as aa,Vc as ab,Na as ac,Nn as ad,Hn as ae,Xe as af,Ha as ag,du as ah,jr as ai,ja as aj,Fc as ak,Va as al,Jn as am,Mn as an,$o as ao,br as b,li as c,fu as d,mr as e,Qc as f,ne as g,$e as h,zs as i,Ja as j,Be as k,ru as l,ou as m,eu as n,kn as o,xc as p,tu as q,Xn as r,an as s,au as t,oi as u,V as v,O as w,Wc as x,zc as y,Gc as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.