build-valuecurve/_app/immutable/chunks/3CBxeiL8.js

2 lines
8 KiB
JavaScript
Raw Normal View History

import{Z as H,a3 as ie,aP as te,a9 as y,F as m,af as ne,a4 as pe,g as z,K as ge,a6 as he,a7 as me,a8 as Q,aa as R,a0 as L,ao as le,aL as _e,av as j,A as Ee,aQ as b,_ as B,a2 as xe,am as ee,aO as we,aJ as X,x as Ae,aR as be,aS as Ne,aT as Te,W as oe,Y as ue,aU as V,q as ve,aF as U,aV as Se,aI as Ce,X as Ie,aW as ke,aX as Me,aY as Le,aZ as Oe,a_ as ye,a$ as Re,p as De,u as Fe,i as He,t as Ve,e as Ye,j as ze}from"./mO2F3zLa.js";import{f as ce,a as de}from"./Bh-96fzJ.js";import"./EiYUD4Mm.js";function rr(e,r){return r}function Be(e,r,a){for(var i=[],t=r.length,f,l=r.length,c=0;c<t;c++){let d=r[c];ue(d,()=>{if(f){if(f.pending.delete(d),f.done.add(d),f.pending.size===0){var u=e.outrogroups;q(X(f.done)),u.delete(f),u.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var o=i.length===0&&a!==null;if(o){var p=a,n=p.parentNode;Ce(n),n.append(p),e.items.clear()}q(r,!o)}else f={pending:new Set(r),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(f)}function q(e,r=!0){for(var a=0;a<e.length;a++)Ie(e[a],r)}var re;function ar(e,r,a,i,t,f=null){var l=e,c=new Map,o=(r&te)!==0;if(o){var p=e;l=m?y(ne(p)):p.appendChild(H())}m&&pe();var n=null,d=ge(()=>{var v=a();return Ae(v)?v:v==null?[]:X(v)}),u,g=!0;function x(){s.fallback=n,Ue(s,u,l,r,i),n!==null&&(u.length===0?(n.f&b)===0?oe(n):(n.f^=b,O(n,null,l)):ue(n,()=>{n=null}))}var w=ie(()=>{u=z(d);var v=u.length;let C=!1;if(m){var I=he(l)===me;I!==(v===0)&&(l=Q(),y(l),R(!1),C=!0)}for(var E=new Set,T=Ee,k=xe(),h=0;h<v;h+=1){m&&L.nodeType===le&&L.data===_e&&(l=L,C=!0,R(!1));var S=u[h],M=i(S,h),_=g?null:c.get(M);_?(_.v&&j(_.v,S),_.i&&j(_.i,h),k&&T.skipped_effects.delete(_.e)):(_=qe(c,g?l:re??(re=H()),S,M,h,t,r,a),g||(_.e.f|=b),c.set(M,_)),E.add(M)}if(v===0&&f&&!n&&(g?n=B(()=>f(l)):(n=B(()=>f(re??(re=H()))),n.f|=b)),m&&v>0&&y(Q()),!g)if(k){for(const[D,F]of c)E.has(D)||T.skipped_effects.add(F.e);T.oncommit(x),T.ondiscard(()=>{})}else x();C&&R(!0),z(d)}),s={effect:w,items:c,outrogroups:null,fallback:n};g=!1,m&&(l=L)}function Ue(e,r,a,i,t){var _,D,F,$,G,K,P,W,Z;var f=(i&Se)!==0,l=r.length,c=e.items,o=e.effect.first,p,n=null,d,u=[],g=[],x,w,s,v;if(f)for(v=0;v<l;v+=1)x=r[v],w=t(x,v),s=c.get(w).e,(s.f&b)===0&&((D=(_=s.nodes)==null?void 0:_.a)==null||D.measure(),(d??(d=new Set)).add(s));for(v=0;v<l;v+=1){if(x=r[v],w=t(x,v),s=c.get(w).e,e.outrogroups!==null)for(const A of e.outrogroups)A.pending.delete(s),A.done.delete(s);if((s.f&b)!==0)if(s.f^=b,s===o)O(s,null,a);else{var C=n?n.next:o;s===e.effect.last&&(e.effect.last=s.prev),s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),N(e,n,s),N(e,s,C),O(s,C,a),n=s,u=[],g=[],o=n.next;continue}if((s.f&V)!==0&&(oe(s),f&&(($=(F=s.nodes)==null?void 0:F.a)==null||$.unfix(),(d??(d=new Set)).delete(s))),s!==o){if(p!==void 0&&p.has(s)){if(u.length<g.length){var I=g[0],E;n=I.prev;var T=u[0],k=u[u.length-1];for(E=0;E<u.length;E+=1)O(u[E],I,a);for(E=0;E<g.length;E+=1)p.delete(g[E]);N(e,T.prev,k.next),N(e,n,T),N(e,k,I),o=I,n=k,v-=1,u=[],g=[]}else p.delete(s),O(s,o,a),N(e,s.prev,s.next),N(e,s,n===null?e.effect.first:n.next),N(e,n,s),n=s;continue}for(u=[],g=[];o!==null&&o!==s;)(p??(p=new Set)).add(o),g.push(o),o=o.next;if(o===null)continue}(s.f&b)===0&&u.push(s),n=s,o=s.next}if(e.outrogroups!==null){for(const A of e.outrogroups)A.pending.size===0&&(q(X(A.done)),(G=e.outrogroups)==null||G.delete(A));e.outrogroups.size===0&&(e.outrogroups=null)}if(o!==null||p!==void 0){var h=[];if(p!==void 0)for(s of p)(s.f&V)===0&&h.push(s);for(;o!==null;)(o.f&V)===0&&o!==e.fallback&&h.push(o),o=o.next;var S=h.length;if(S>0){var M=(i&te)!==0&&l===0?a:null;if(f){for(v=0;v<S;v+=1)(P=(K=h[v].nodes)==null?void 0:K.a)==null||P.measure();for(v=0;v<S;v+=1)(Z=(W=h[v].nodes)==null?void 0:W.a)==null||Z.fix()}Be(e,h,M)}}f&&ve(()=>{var A,J;if(d!==void 0)for(s of d)(J=(A=s.nodes)==null?void 0:A.a)==null||J.apply()})}function qe(e,r,a,i,t,f,l,c){var o=(l&be)!==0?(l&Ne)===0?we(a,!1,!1):ee(a):null,p=(l&Te)!==0?ee(t):null;return{v:o,i:p,e:B(()=>(f(r,o??a,p??t,c),()=>{e.delete(i)}))}}function O(e,r,a){if(e.nodes)for(var i=e.nodes.start,t=e.nodes.end,f=r&&(r.f&b)===0?r.nodes.start:a;i!==null;