1import{a8 as W,g as P,a9 as V,W as $,D as Q,aa as F,L as Y,x as _,h as c,R as E,d as U,e as z,ab as D,H as G,w as d,ac as g,u as R,v as q,P as x,O as v,ad as C,ae as J,Q as L,A as M,y as K,af as X,q as w,k as b,ag as Z,j as tt,ah as H,ai as et,E as st,aj as it,ak as nt,al as rt,am as N,an as at,ao as ht,ap as ot,aq as A,l as y,ar as ft,as as lt,at as ut,au as dt,p as _t,av as ct,aw as pt,a as gt}from"./MuJQeuH4.js";import{a as vt,r as I,h as m}from"./BvMXvR6g.js";import{b as yt}from"./BedGDMiZ.js";function mt(i){let t=0,e=V(0),n;return()=>{W()&&(P(e),$(()=>(t===0&&(n=Q(()=>i(()=>F(e)))),t+=1,()=>{Y(()=>{t-=1,t===0&&(n?.(),n=void 0,F(e))})})))}}var Et=st|it|nt;function bt(i,t,e){new Tt(i,t,e)}class Tt{parent;#s=!1;#e;#g=c?_:null;#n;#u;#r;#i=null;#t=null;#a=null;#h=null;#o=null;#d=0;#f=0;#_=!1;#l=null;#m=mt(()=>(this.#l=V(this.#d),()=>{this.#l=null}));constructor(t,e,n){this.#e=t,this.#n=e,this.#u=n,this.parent=E.b,this.#s=!!this.#n.pending,this.#r=U(()=>{if(E.b=this,c){const s=this.#g;z(),s.nodeType===D&&s.data===G?this.#b():this.#E()}else{var o=this.#v();try{this.#i=d(()=>n(o))}catch(s){this.error(s)}this.#f>0?this.#p():this.#s=!1}return()=>{this.#o?.remove()}},Et),c&&(this.#e=_)}#E(){try{this.#i=d(()=>this.#u(this.#e))}catch(t){this.error(t)}this.#s=!1}#b(){const t=this.#n.pending;t&&(this.#t=d(()=>t(this.#e)),g.enqueue(()=>{var e=this.#v();this.#i=this.#c(()=>(g.ensure(),d(()=>this.#u(e)))),this.#f>0?this.#p():(R(this.#t,()=>{this.#t=null}),this.#s=!1)}))}#v(){var t=this.#e;return this.#s&&(this.#o=q(),this.#e.before(this.#o),t=this.#o),t}is_pending(){return this.#s||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#c(t){var e=E,n=L,o=M;x(this.#r),v(this.#r),C(this.#r.ctx);try{return t()}catch(s){return J(s),null}finally{x(e),v(n),C(o)}}#p(){const t=this.#n.pending;this.#i!==null&&(this.#h=document.createDocumentFragment(),this.#h.append(this.#o),K(this.#i,this.#h)),this.#t===null&&(this.#t=d(()=>t(this.#e)))}#y(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t);return}this.#f+=t,this.#f===0&&(this.#s=!1,this.#t&&R(this.#t,()=>{this.#t=null}),this.#h&&(this.#e.before(this.#h),this.#h=null))}update_pending_count(t){this.#y(t),this.#d+=t,this.#l&&X(this.#l,this.#d)}get_effect_pending(){return this.#m(),P(this.#l)}error(t){var e=this.#n.onerror;let n=this.#n.failed;if(this.#_||!e&&!n)throw t;this.#i&&(w(this.#i),this.#i=null),this.#t&&(w(this.#t),this.#t=null),this.#a&&(w(this.#a),this.#a=null),c&&(b(this.#g),Z(),b(tt()));var o=!1,s=!1;const a=()=>{if(o){rt();return}o=!0,s&&et(),g.ensure(),this.#d=0,this.#a!==null&&R(this.#a,()=>{this.#a=null}),this.#s=this.has_pending_snippet(),this.#i=this.#c(()=>(this.#_=!1,d(()=>this.#u(this.#e)))),this.#f>0?this.#p():this.#s=!1};var f=L;try{v(null),s=!0,e?.(t,a),s=!1}catch(l){H(l,this.#r&&this.#r.parent)}finally{v(f)}n&&Y(()=>{this.#a=this.#c(()=>{g.ensure(),this.#_=!0;try{return d(()=>{n(this.#e,()=>t,()=>a)})}catch(l){return H(l,this.#r.parent),null}finally{this.#_=!1}})})}}const Rt=["touchstart","touchmove"];function wt(i){return Rt.includes(i)}function St(i,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(i.__t??=i.nodeValue)&&(i.__t=e,i.nodeValue=e+"")}function Nt(i,t){return j(i,t)}function Ot(i,t){N(),t.intro=t.intro??!1;const e=t.target,n=c,o=_;try{for(var s=at(e);s&&(s.nodeType!==D||s.data!==ht);)s=ot(s);if(!s)throw A;y(!0),b(s);const a=j(i,{...t,anchor:s});return y(!1),a}catch(a){if(a instanceof Error&&a.message.split(` 2`).some(f=>f.startsWith("https://svelte.dev/e/")))throw a;return a!==A&&console.warn("Failed to hydrate: ",a),t.recover===!1&&ft(),N(),lt(e),y(!1),Nt(i,t)}finally{y(n),b(o)}}const p=new Map;function j(i,{target:t,anchor:e,props:n={},events:o,context:s,intro:a=!0}){N();var f=new Set,l=u=>{for(var h=0;h<u.length;h++){var r=u[h];if(!f.has(r)){f.add(r);var S=wt(r);t.addEventListener(r,m,{passive:S});var O=p.get(r);O===void 0?(document.addEventListener(r,m,{passive:S}),p.set(r,1)):p.set(r,O+1)}}};l(ut(vt)),I.add(l);var T=void 0,B=dt(()=>{var u=e??t.appendChild(q());return bt(u,{pending:()=>{}},h=>{if(s){_t({});var r=M;r.c=s}if(o&&(n.$$events=o),c&&yt(h,null),T=i(h,n)||{},c&&(E.nodes.end=_,_===null||_.nodeType!==D||_.data!==ct))throw pt(),A;s&>()}),()=>{for(var h of f){t.removeEventListener(h,m);var r=p.get(h);--r===0?(document.removeEventListener(h,m),p.delete(h)):p.set(h,r)}I.delete(l),u!==e&&u.parentNode?.removeChild(u)}});return k.set(T,B),T}let k=new WeakMap;function Ft(i,t){const e=k.get(i);return e?(k.delete(i),e(t)):Promise.resolve()}export{Ot as h,Nt as m,St as s,Ft as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.