vendor: 6,156 bytes, lines 1-2
1import{a6 as se,aa as J,aL as re,b7 as ie,am as Y,aJ as S,b0 as X,ai as g,aj as v,z as b,B as $,M as ne,ah as ae,o as fe,p as P,O as u,Y as F,aE as N,Z as p,az as Z,$ as he,aT as M,aU as O,aV as j,b as oe,ag as ce,G,V as K,ao as le,a3 as E,aW as x,aC as de,a$ as ue,ap as A,k as _e,j as pe,b3 as ge,b2 as ve,b4 as me,bc as ye,a0 as be,x as z,an as L,ad as Ee,c as Q,n as we,ae as Te,m as B,aX as R,ak as ke,U as Se,W as Ae,K as Re,aI as De,l as Ne,al as Fe,aF as Me,aN as q,aZ as Oe}from"./FCc_dNMQ.js";import{b as xe}from"./VwYwsrZD.js";function Ce(r){let e=0,t=X(0),i;return()=>{se()&&(J(t),re(()=>(e===0&&(i=ie(()=>r(()=>Y(t)))),e+=1,()=>{S(()=>{e-=1,e===0&&(i?.(),i=void 0,Y(t))})})))}}var Le=_e|pe;function Be(r,e,t,i){new Ie(r,e,t,i)}class Ie{parent;is_pending=!1;transform_error;#t;#n=v?g:null;#e;#f;#s;#i=null;#r=null;#a=null;#h=null;#l=0;#c=0;#d=!1;#p=new Set;#g=new Set;#o=null;#b=Ce(()=>(this.#o=X(this.#l),()=>{this.#o=null}));constructor(e,t,i,n){this.#t=e,this.#e=t,this.#f=s=>{var a=b;a.b=this,a.f|=$,i(s)},this.parent=b.b,this.transform_error=n??this.parent?.transform_error??(s=>s),this.#s=ne(()=>{if(v){const s=this.#n;ae();const a=s.data===fe;if(s.data.startsWith(P)){const f=JSON.parse(s.data.slice(P.length));this.#w(f)}else a?this.#T():this.#E()}else this.#v()},Le),v&&(this.#t=g)}#E(){try{this.#i=u(()=>this.#f(this.#t))}catch(e){this.error(e)}}#w(e){const t=this.#e.failed;t&&(this.#a=u(()=>{t(this.#t,()=>e,()=>()=>{})}))}#T(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#r=u(()=>e(this.#t)),S(()=>{var t=this.#h=document.createDocumentFragment(),i=F();t.append(i),this.#i=this.#_(()=>u(()=>this.#f(i))),this.#c===0&&(this.#t.before(t),this.#h=null,N(this.#r,()=>{this.#r=null}),this.#u(p))}))}#v(){try{if(this.is_pending=this.has_pending_snippet(),this.#c=0,this.#l=0,this.#i=u(()=>{this.#f(this.#t)}),this.#c>0){var e=this.#h=document.createDocumentFragment();Z(this.#i,e);const t=this.#e.pending;this.#r=u(()=>t(this.#t))}else this.#u(p)}catch(t){this.error(t)}}#u(e){this.is_pending=!1,e.transfer_effects(this.#p,this.#g)}defer_effect(e){he(e,this.#p,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#_(e){var t=b,i=G,n=K;M(this.#s),O(this.#s),j(this.#s.ctx);try{return oe.ensure(),e()}catch(s){return ce(s),null}finally{M(t),O(i),j(n)}}#m(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(e,t);return}this.#c+=e,this.#c===0&&(this.#u(t),this.#r&&N(this.#r,()=>{this.#r=null}),this.#h&&(this.#t.before(this.#h),this.#h=null))}update_pending_count(e,t){this.#m(e,t),this.#l+=e,!(!this.#o||this.#d)&&(this.#d=!0,S(()=>{this.#d=!1,this.#o&&le(this.#o,this.#l)}))}get_effect_pending(){return this.#b(),J(this.#o)}error(e){if(!this.#e.onerror&&!this.#e.failed)throw e;p?.is_fork?(this.#i&&p.skip_effect(this.#i),this.#r&&p.skip_effect(this.#r),this.#a&&p.skip_effect(this.#a),p.oncommit(()=>{this.#y(e)})):this.#y(e)}#y(e){this.#i&&(E(this.#i),this.#i=null),this.#r&&(E(this.#r),this.#r=null),this.#a&&(E(this.#a),this.#a=null),v&&(x(this.#n),de(),x(ue()));var t=this.#e.onerror;let i=this.#e.failed;var n=!1,s=!1;const a=()=>{if(n){ve();return}n=!0,s&&ge(),this.#a!==null&&N(this.#a,()=>{this.#a=null}),this.#_(()=>{this.#v()})},h=f=>{try{s=!0,t?.(f,a),s=!1}catch(o){A(o,this.#s&&this.#s.parent)}i&&(this.#a=this.#_(()=>{try{return u(()=>{var o=b;o.b=this,o.f|=$,i(this.#t,()=>f,()=>a)})}catch(o){return A(o,this.#s.parent),null}}))};S(()=>{var f;try{f=this.transform_error(e)}catch(o){A(o,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(h,o=>A(o,this.#s&&this.#s.parent)):h(f)})}}const He=["touchstart","touchmove"];function Ve(r){return He.includes(r)}const k=Symbol("events"),ee=new Set,I=new Set;function We(r,e,t,i={}){function n(s){if(i.capture||H.call(e,s),!s.cancelBubble)return ye(()=>t?.call(this,s))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?S(()=>{e.addEventListener(r,n,i)}):e.addEventListener(r,n,i),n}function je(r,e,t,i,n){var s={capture:i,passive:n},a=We(r,e,t,s);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&me(()=>{e.removeEventListener(r,a,s)})}function ze(r,e,t){(e[k]??={})[r]=t}function qe(r){for(var e=0;e<r.length;e++)ee.add(r[e]);for(var t of I)t(r)}let U=null;function H(r){var e=this,t=e.ownerDocument,i=r.type,n=r.composedPath?.()||[],s=n[0]||r.target;U=r;var a=0,h=U===r&&r[k];if(h){var f=n.indexOf(h);if(f!==-1&&(e===document||e===window)){r[k]=e;return}var o=n.indexOf(e);if(o===-1)return;f<=o&&(a=f)}if(s=n[a]||r.target,s!==e){be(r,"currentTarget",{configurable:!0,get(){return s||t}});var m=G,w=b;O(null),M(null);try{for(var _,l=[];s!==null&&s!==e;){try{var d=s[k]?.[i];d!=null&&(!s.disabled||r.target===s)&&d.call(s,r)}catch(c){_?l.push(c):_=c}if(r.cancelBubble)break;a++,s=a<n.length?n[a]:null}if(_){for(let c of l)queueMicrotask(()=>{throw c});throw _}}finally{r[k]=e,delete r.currentTarget,O(m),M(w)}}}function Ue(r,e){var t=e==null?"":typeof e=="object"?`${e}`:e;t!==(r[z]??=r.nodeValue)&&(r[z]=t,r.nodeValue=`${t}`)}function Ye(r,e){return te(r,e)}function Je(r,e){L(),e.intro=e.intro??!1;const t=e.target,i=v,n=g;try{for(var s=Ee(t);s&&(s.nodeType!==Q||s.data!==we);)s=Te(s);if(!s)throw B;R(!0),x(s);const a=te(r,{...e,anchor:s});return R(!1),a}catch(a){if(a instanceof Error&&a.message.split(` 2`).some(h=>h.startsWith("https://svelte.dev/e/")))throw a;return a!==B&&console.warn("Failed to hydrate: ",a),e.recover===!1&&ke(),L(),Se(t),R(!1),Ye(r,e)}finally{R(i),x(n)}}const D=new Map;function te(r,{target:e,anchor:t,props:i={},events:n,context:s,intro:a=!0,transformError:h}){L();var f=void 0,o=Ae(()=>{var m=t??e.appendChild(F());Be(m,{pending:()=>{}},l=>{De({});var d=K;if(s&&(d.c=s),n&&(i.$$events=n),v&&xe(l,null),f=r(l,i)||{},v&&(b.nodes.end=g,g===null||g.nodeType!==Q||g.data!==Ne))throw Fe(),B;Me()},h);var w=new Set,_=l=>{for(var d=0;d<l.length;d++){var c=l[d];if(!w.has(c)){w.add(c);var T=Ve(c);for(const C of[e,document]){var y=D.get(C);y===void 0&&(y=new Map,D.set(C,y));var W=y.get(c);W===void 0?(C.addEventListener(c,H,{passive:T}),y.set(c,1)):y.set(c,W+1)}}}};
2return _(Re(ee)),I.add(_),()=>{for(var l of w)for(const T of[e,document]){var d=D.get(T),c=d.get(l);--c==0?(T.removeEventListener(l,H),d.delete(l),d.size===0&&D.delete(T)):d.set(l,c)}I.delete(_),m!==t&&m.parentNode?.removeChild(m)}});return V.set(f,o),f}let V=new WeakMap;function Xe(r,e){const t=V.get(r);return t?(V.delete(r),t(e)):Promise.resolve()}class Ze{anchor;#t=new Map;#n=new Map;#e=new Map;#f=new Set;#s=!0;constructor(e,t=!0){this.anchor=e,this.#s=t}#i=e=>{if(this.#t.has(e)){var t=this.#t.get(e),i=this.#n.get(t);if(i)q(i),this.#f.delete(t);else{var n=this.#e.get(t);n&&(q(n.effect),this.#n.set(t,n.effect),this.#e.delete(t),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===e)break;const h=this.#e.get(a);h&&(E(h.effect),this.#e.delete(a))}for(const[s,a]of this.#n){if(s===t||this.#f.has(s))continue;const h=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();Z(a,o),o.append(F()),this.#e.set(s,{effect:a,fragment:o})}else E(a);this.#f.delete(s),this.#n.delete(s)};this.#s||!i?(this.#f.add(s),N(a,h,!1)):h()}}};#r=e=>{this.#t.delete(e);const t=Array.from(this.#t.values());for(const[i,n]of this.#e)t.includes(i)||(E(n.effect),this.#e.delete(i))};ensure(e,t){var i=p,n=Oe();if(t&&!this.#n.has(e)&&!this.#e.has(e))if(n){var s=document.createDocumentFragment(),a=F();s.append(a),this.#e.set(e,{effect:u(()=>t(a)),fragment:s})}else this.#n.set(e,u(()=>t(this.anchor)));if(this.#t.set(i,e),n){for(const[h,f]of this.#n)h===e?i.unskip_effect(f):i.skip_effect(f);for(const[h,f]of this.#e)h===e?i.unskip_effect(f.effect):i.skip_effect(f.effect);i.oncommit(this.#i),i.ondiscard(this.#r)}else v&&(this.anchor=g),this.#i(i)}}export{Ze as B,ze as a,qe as d,je as e,Je as h,Ye as m,Ue as s,Xe 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.