import{as as A,T as w,q as y,W as L,k as m,K as P,at as x,a6 as p,au as I,av as M,aw as O,h as d,e as l,ax as V,N as C,a as h,ay as D,Y as R}from"./DOzgGktT.js";function H(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const W=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function K(e){return W.includes(e)}const F={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function X(e){return e=e.toLowerCase(),F[e]??e}const B=["touchstart","touchmove"];function Y(e){return B.includes(e)}const j=new Set,q=new Set;function J(e,t,r,u={}){function n(a){if(u.capture||U.call(t,a),!a.cancelBubble)return x(()=>r?.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?P(()=>{t.addEventListener(e,n,u)}):t.addEventListener(e,n,u),n}function Q(e){for(var t=0;t{throw _});throw f}}finally{e.__root=t,delete e.currentTarget,w(N),y(S)}}}function k(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("",""),t.content}function s(e,t){var r=m;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function Z(e,t){var r=(t&M)!==0,u=(t&O)!==0,n,a=!e.startsWith("");return()=>{if(d)return s(l,null),l;n===void 0&&(n=k(a?e:""+e),r||(n=p(n)));var o=u||I?document.importNode(n,!0):n.cloneNode(!0);if(r){var c=p(o),i=o.lastChild;s(c,i)}else s(o,o);return o}}function $(e,t,r="svg"){var u=!e.startsWith(""),n=`<${r}>${u?e:""+e}`,a;return()=>{if(d)return s(l,null),l;if(!a){var o=k(n),c=p(o);a=p(c)}var i=a.cloneNode(!0);return s(i,i),i}}function ee(e,t){return $(e,t,"svg")}function te(e=""){if(!d){var t=h(e+"");return s(t,t),t}var r=l;return r.nodeType!==D&&(r.before(r=h()),R(r)),s(r,r),r}function re(){if(d)return s(l,null),l;var e=document.createDocumentFragment(),t=document.createComment(""),r=h();return e.append(t,r),s(t,r),e}function ae(e,t){if(d){var r=m;((r.f&V)===0||r.nodes.end===null)&&(r.nodes.end=l),C();return}e!==null&&e.before(t)}const G="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(G);export{j as a,s as b,ae as c,H as d,J as e,Z as f,Q as g,U as h,Y as i,K as j,re as k,k as l,ee as m,X as n,q as r,te as t};