import{a2 as w,a3 as v,M as T,am as f,aD as E,T as N,G as M,at as i,as as n,R as y,ar as h,K as x,b9 as b,aK as C,d as O}from"./DLYq8eCY.js";var m;const c=((m=globalThis==null?void 0:globalThis.window)==null?void 0:m.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function A(e){return(c==null?void 0:c.createHTML(e))??e}function g(e){var r=w("template");return r.innerHTML=A(e.replaceAll("<!>","<!---->")),r.content}function a(e,r){var t=T;t.nodes===null&&(t.nodes={start:e,end:r,a:null,t:null})}function P(e,r){var t=(r&N)!==0,l=(r&M)!==0,s,d=!e.startsWith("<!>");return()=>{if(i)return a(n,null),n;s===void 0&&(s=g(d?e:"<!>"+e),t||(s=f(s)));var o=l||E?document.importNode(s,!0):s.cloneNode(!0);if(t){var _=f(o),u=o.lastChild;a(_,u)}else a(o,o);return o}}function L(e,r,t="svg"){var l=!e.startsWith("<!>"),s=`<${t}>${l?e:"<!>"+e}</${t}>`,d;return()=>{if(i)return a(n,null),n;if(!d){var o=g(s),_=f(o);d=f(_)}var u=d.cloneNode(!0);return a(u,u),u}}function $(e,r){return L(e,r,"svg")}function I(e=""){if(!i){var r=v(e+"");return a(r,r),r}var t=n;return t.nodeType!==x?(t.before(t=v()),b(t)):C(t),a(t,t),t}function H(){if(i)return a(n,null),n;var e=document.createDocumentFragment(),r=document.createComment(""),t=v();return e.append(r,t),a(r,t),e}function S(e,r){if(i){var t=T;((t.f&y)===0||t.nodes.end===null)&&(t.nodes.end=n),h();return}e!==null&&e.before(r)}function W(){var e,r;if(i&&n&&n.nodeType===O&&((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++}`}const R="5";var p;typeof window<"u"&&((p=window.__svelte??(window.__svelte={})).v??(p.v=new Set)).add(R);export{S as a,a as b,H as c,$ as d,P as f,W as p,I as t};
