import{K as o,M as x,O as m,T as v,P as w,Q as p,k as u,z as n,R as h,S as y}from"./C8SLBV5c.js";function g(e){var r=document.createElement("template");return r.innerHTML=e.replaceAll("<!>","<!---->"),r.content}function s(e,r){var t=p;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function N(e,r){var t=(r&v)!==0,_=(r&w)!==0,i,c=!e.startsWith("<!>");return()=>{if(u)return s(n,null),n;i===void 0&&(i=g(c?e:"<!>"+e),t||(i=o(i)));var a=_||x?document.importNode(i,!0):i.cloneNode(!0);if(t){var l=o(a),d=a.lastChild;s(l,d)}else s(a,a);return a}}function C(e,r,t="svg"){var _=!e.startsWith("<!>"),i=(r&v)!==0,c=`<${t}>${_?e:"<!>"+e}</${t}>`,a;return()=>{if(u)return s(n,null),n;if(!a){var l=g(c),d=o(l);if(i)for(a=document.createDocumentFragment();o(d);)a.appendChild(o(d));else a=o(d)}var f=a.cloneNode(!0);if(i){var T=o(f),E=f.lastChild;s(T,E)}else s(f,f);return f}}function b(e,r){return C(e,r,"svg")}function A(e=""){if(!u){var r=m(e+"");return s(r,r),r}var t=n;return t.nodeType!==3&&(t.before(t=m()),y(t)),s(t,t),t}function P(){if(u)return s(n,null),n;var e=document.createDocumentFragment(),r=document.createComment(""),t=m();return e.append(r,t),s(r,t),e}function $(e,r){if(u){p.nodes_end=n,h();return}e!==null&&e.before(r)}function D(){var e,r;if(u&&n&&n.nodeType===8&&((e=n.textContent)!=null&&e.startsWith("#"))){const t=n.textContent.substring(1);return h(),t}return(r=window.__svelte??(window.__svelte={})).uid??(r.uid=1),`c${window.__svelte.uid++}`}export{$ as a,s as b,P as c,b as d,N as f,D as p,A as t};
