Files
Stackq/build/client/_app/immutable/chunks/Qgf5A_kA.js
T
eewing f6d0c065a4
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m31s
PWA
2026-02-18 11:45:07 -06:00

3 lines
6.0 KiB
JavaScript

var we=Object.defineProperty;var re=i=>{throw TypeError(i)};var De=(i,e,s)=>e in i?we(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var z=(i,e,s)=>De(i,typeof e!="symbol"?e+"":e,s),J=(i,e,s)=>e.has(i)||re("Cannot "+s);var t=(i,e,s)=>(J(i,e,"read from private field"),s?s.call(i):e.get(i)),h=(i,e,s)=>e.has(i)?re("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,s),n=(i,e,s,r)=>(J(i,e,"write to private field"),r?r.call(i,s):e.set(i,s),s),b=(i,e,s)=>(J(i,e,"access private method"),s);import{aW as Ae,g as pe,aI as Fe,W as ge,b as Ne,aX as ne,Q as L,J as A,D as F,a4 as C,aY as ae,C as Se,L as Oe,O as Ye,a9 as O,B as ve,S as K,al as Q,aA as Ie,aZ as ke,aF as he,aE as fe,a_ as oe,a$ as Ce,aG as Be,c as be,b0 as de,b1 as Me,b2 as _e,b3 as qe,R as xe,aq as U,I as W,q as He,P as Le,b4 as le,b5 as Pe,a0 as We,b6 as Ve,b7 as $e,b8 as X,K as Ge,E as ye,aB as je,F as ze,b9 as Z,G as x,ba as Je,ap as Ke,bb as Qe,ae as Ue,p as Xe,a3 as Ze,a7 as et,bc as tt,m as st}from"./BH97ETpZ.js";import{a as it,r as ce,h as ue,b as rt}from"./BD8q7RHQ.js";function nt(i){let e=0,s=ge(0),r;return()=>{Ae()&&(pe(s),Fe(()=>(e===0&&(r=Ne(()=>i(()=>ne(s)))),e+=1,()=>{L(()=>{e-=1,e===0&&(r==null||r(),r=void 0,ne(s))})})))}}var at=We|Ve;function ht(i,e,s){new ft(i,e,s)}var l,B,T,N,y,m,d,E,R,S,D,Y,I,k,w,V,f,me,Ee,ee,P,te;class ft{constructor(e,s,r){h(this,f);z(this,"parent");z(this,"is_pending",!1);h(this,l);h(this,B,F?A:null);h(this,T);h(this,N);h(this,y);h(this,m,null);h(this,d,null);h(this,E,null);h(this,R,null);h(this,S,0);h(this,D,0);h(this,Y,!1);h(this,I,new Set);h(this,k,new Set);h(this,w,null);h(this,V,nt(()=>(n(this,w,ge(t(this,S))),()=>{n(this,w,null)})));n(this,l,e),n(this,T,s),n(this,N,o=>{var a=C;a.b=this,a.f|=ae,r(o)}),this.parent=C.b,n(this,y,Se(()=>{if(F){const o=t(this,B);Oe(),o.data===Ye?b(this,f,Ee).call(this):b(this,f,me).call(this)}else b(this,f,ee).call(this)},at)),F&&n(this,l,A)}defer_effect(e){ke(e,t(this,I),t(this,k))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!t(this,T).pending}update_pending_count(e){b(this,f,te).call(this,e),n(this,S,t(this,S)+e),!(!t(this,w)||t(this,Y))&&(n(this,Y,!0),L(()=>{n(this,Y,!1),t(this,w)&&xe(t(this,w),t(this,S))}))}get_effect_pending(){return t(this,V).call(this),pe(t(this,w))}error(e){var s=t(this,T).onerror;let r=t(this,T).failed;if(!s&&!r)throw e;t(this,m)&&(U(t(this,m)),n(this,m,null)),t(this,d)&&(U(t(this,d)),n(this,d,null)),t(this,E)&&(U(t(this,E)),n(this,E,null)),F&&(W(t(this,B)),He(),W(Le()));var o=!1,a=!1;const c=()=>{if(o){$e();return}o=!0,a&&Pe(),t(this,E)!==null&&Q(t(this,E),()=>{n(this,E,null)}),b(this,f,P).call(this,()=>{K.ensure(),b(this,f,ee).call(this)})};L(()=>{try{a=!0,s==null||s(e,c),a=!1}catch(_){le(_,t(this,y)&&t(this,y).parent)}r&&n(this,E,b(this,f,P).call(this,()=>{K.ensure();try{return O(()=>{var _=C;_.b=this,_.f|=ae,r(t(this,l),()=>e,()=>c)})}catch(_){return le(_,t(this,y).parent),null}}))})}}l=new WeakMap,B=new WeakMap,T=new WeakMap,N=new WeakMap,y=new WeakMap,m=new WeakMap,d=new WeakMap,E=new WeakMap,R=new WeakMap,S=new WeakMap,D=new WeakMap,Y=new WeakMap,I=new WeakMap,k=new WeakMap,w=new WeakMap,V=new WeakMap,f=new WeakSet,me=function(){try{n(this,m,O(()=>t(this,N).call(this,t(this,l))))}catch(e){this.error(e)}},Ee=function(){const e=t(this,T).pending;e&&(this.is_pending=!0,n(this,d,O(()=>e(t(this,l)))),L(()=>{var s=n(this,R,document.createDocumentFragment()),r=ve();s.append(r),n(this,m,b(this,f,P).call(this,()=>(K.ensure(),O(()=>t(this,N).call(this,r))))),t(this,D)===0&&(t(this,l).before(s),n(this,R,null),Q(t(this,d),()=>{n(this,d,null)}),this.is_pending=!1)}))},ee=function(){try{if(this.is_pending=this.has_pending_snippet(),n(this,D,0),n(this,S,0),n(this,m,O(()=>{t(this,N).call(this,t(this,l))})),t(this,D)>0){var e=n(this,R,document.createDocumentFragment());Ie(t(this,m),e);const s=t(this,T).pending;n(this,d,O(()=>s(t(this,l))))}else this.is_pending=!1}catch(s){this.error(s)}},P=function(e){var s=C,r=Be,o=be;he(t(this,y)),fe(t(this,y)),oe(t(this,y).ctx);try{return e()}catch(a){return Ce(a),null}finally{he(s),fe(r),oe(o)}},te=function(e){var s;if(!this.has_pending_snippet()){this.parent&&b(s=this.parent,f,te).call(s,e);return}if(n(this,D,t(this,D)+e),t(this,D)===0){this.is_pending=!1;for(const r of t(this,I))de(r,Me),_e(r);for(const r of t(this,k))de(r,qe),_e(r);t(this,I).clear(),t(this,k).clear(),t(this,d)&&Q(t(this,d),()=>{n(this,d,null)}),t(this,R)&&(t(this,l).before(t(this,R)),n(this,R,null))}};function ct(i,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(i.__t??(i.__t=i.nodeValue))&&(i.__t=s,i.nodeValue=s+"")}function ot(i,e){return Te(i,e)}function ut(i,e){X(),e.intro=e.intro??!1;const s=e.target,r=F,o=A;try{for(var a=Ge(s);a&&(a.nodeType!==ye||a.data!==je);)a=ze(a);if(!a)throw Z;x(!0),W(a);const c=Te(i,{...e,anchor:a});return x(!1),c}catch(c){if(c instanceof Error&&c.message.split(`
`).some(_=>_.startsWith("https://svelte.dev/e/")))throw c;return c!==Z&&console.warn("Failed to hydrate: ",c),e.recover===!1&&Je(),X(),Ke(s),x(!1),ot(i,e)}finally{x(r),W(o)}}const H=new Map;function Te(i,{target:e,anchor:s,props:r={},events:o,context:a,intro:c=!0}){X();var _=void 0,Re=Qe(()=>{var M=s??e.appendChild(ve());ht(M,{pending:()=>{}},u=>{Xe({});var p=be;if(a&&(p.c=a),o&&(r.$$events=o),F&&Ze(u,null),_=i(u,r)||{},F&&(C.nodes.end=A,A===null||A.nodeType!==ye||A.data!==et))throw tt(),Z;st()});var $=new Set,G=u=>{for(var p=0;p<u.length;p++){var g=u[p];if(!$.has(g)){$.add(g);var q=rt(g);for(const j of[e,document]){var v=H.get(j);v===void 0&&(v=new Map,H.set(j,v));var ie=v.get(g);ie===void 0?(j.addEventListener(g,ue,{passive:q}),v.set(g,1)):v.set(g,ie+1)}}}};return G(Ue(it)),ce.add(G),()=>{var q;for(var u of $)for(const v of[e,document]){var p=H.get(v),g=p.get(u);--g==0?(v.removeEventListener(u,ue),p.delete(u),p.size===0&&H.delete(v)):p.set(u,g)}ce.delete(G),M!==s&&((q=M.parentNode)==null||q.removeChild(M))}});return se.set(_,Re),_}let se=new WeakMap;function pt(i,e){const s=se.get(i);return s?(se.delete(i),s(e)):Promise.resolve()}export{nt as c,ut as h,ot as m,ct as s,pt as u};