import{q as L,aq as M,ar as S,l as T,k as y,o as x,b as E,L as d,as as O,j as g,at as D,au as P,a as f,h as u,av as F,d as N,C as I,aw as V,y as W}from"./Bi85gfa5.js";function X(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const R=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function J(e){return R.includes(e)}const $={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 K(e){return e=e.toLowerCase(),$[e]??e}const j=["touchstart","touchmove"];function Q(e){return j.includes(e)}const q=new Set,B=new Set;function G(e,t,r,o={}){function n(a){if(o.capture||U.call(t,a),!a.cancelBubble)return M(()=>r?.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?L(()=>{t.addEventListener(e,n,o)}):t.addEventListener(e,n,o),n}function Y(e,t,r,o={}){var n=G(t,e,r,o);return()=>{e.removeEventListener(t,n,o)}}function Z(e){for(var t=0;t{throw p});throw v}}finally{e.__root=t,delete e.currentTarget,T(h),y(A)}}}function C(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("",""),t.content}function l(e,t){var r=E;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ee(e,t){var r=(t&D)!==0,o=(t&P)!==0,n,a=!e.startsWith("");return()=>{if(f)return l(u,null),u;n===void 0&&(n=C(a?e:""+e),r||(n=d(n)));var i=o||O?document.importNode(n,!0):n.cloneNode(!0);if(r){var c=d(i),s=i.lastChild;l(c,s)}else l(i,i);return i}}function z(e,t,r="svg"){var o=!e.startsWith(""),n=`<${r}>${o?e:""+e}`,a;return()=>{if(f)return l(u,null),u;if(!a){var i=C(n),c=d(i);for(a=document.createDocumentFragment();d(c);)a.appendChild(d(c))}var s=a.cloneNode(!0);{var _=d(s),h=s.lastChild;l(_,h)}return s}}function te(e,t){return z(e,t,"svg")}function re(e=""){if(!f){var t=g(e+"");return l(t,t),t}var r=u;return r.nodeType!==V&&(r.before(r=g()),W(r)),l(r,r),r}function ae(){if(f)return l(u,null),u;var e=document.createDocumentFragment(),t=document.createComment(""),r=g();return e.append(t,r),l(t,r),e}function ne(e,t){if(f){var r=E;((r.f&F)===0||r.nodes_end===null)&&(r.nodes_end=u),N();return}e!==null&&e.before(t)}function oe(){if(f&&u&&u.nodeType===I&&u.textContent?.startsWith("$")){const e=u.textContent.substring(1);return N(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}export{q as a,l as b,ne as c,ae as d,X as e,ee as f,G as g,U as h,Q as i,Z as j,J as k,te as l,C as m,K as n,Y as o,oe as p,B as r,re as t};