import{a as e,c as t,i as n,l as r}from"./preact.module-CNakwbc9.js";import{t as i}from"./jsxRuntime.module-Cao1NCKs.js";r();var a=t(null),o=t(null),s=t(!0);function c(e){return e?.current?$(e.current):$()}function l(e,t){return u(e,t,new DocumentFragment).children()}function u(e,t,r){return n(i(a.Provider,{value:e,children:t}),r),$(r)}function d(e){n(null,e)}function f(t,n=`, `){if(!t)return i(e,{});let r=[];for(let e=0;e<t.length;e++)r.push(t[e]),e+1<t.length&&r.push(n);return i(e,{children:r})}export{f as a,u as c,d as i,o as n,c as o,a as r,l as s,s as t};