import{y as c,z as f,A as E,B as v,T as h,C as T,h as i,D as n,E as g,a as m,F as w,G as N,H as y}from"./BnUNjuXp.js";function p(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function a(e,t){var r=v;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function A(e,t){var r=(t&h)!==0,_=(t&T)!==0,s,u=!e.startsWith("<!>");return()=>{if(i)return a(n,null),n;s===void 0&&(s=p(u?e:"<!>"+e),r||(s=f(s)));var o=_||E?document.importNode(s,!0):s.cloneNode(!0);if(r){var l=f(o),d=o.lastChild;a(l,d)}else a(o,o);return o}}function C(e,t,r="svg"){var _=!e.startsWith("<!>"),s=`<${r}>${_?e:"<!>"+e}</${r}>`,u;return()=>{if(i)return a(n,null),n;if(!u){var o=p(s),l=f(o);u=f(l)}var d=u.cloneNode(!0);return a(d,d),d}}function O(e,t){return C(e,t,"svg")}function D(e=""){if(!i){var t=c(e+"");return a(t,t),t}var r=n;return r.nodeType!==w&&(r.before(r=c()),N(r)),a(r,r),r}function F(){if(i)return a(n,null),n;var e=document.createDocumentFragment(),t=document.createComment(""),r=c();return e.append(t,r),a(t,r),e}function $(e,t){if(i){var r=v;((r.f&g)===0||r.nodes.end===null)&&(r.nodes.end=n),m();return}e!==null&&e.before(t)}function b(){if(i&&n&&n.nodeType===y&&n.textContent?.startsWith("$")){const e=n.textContent.substring(1);return m(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}const x="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(x);export{$ as a,a as b,F as c,O as d,A as f,b as p,D as t};
