vendor: 1,075 bytes, line 1
1import{A as b,k as w,B as m,i as q}from"./BZLW8lyd.js";function A(e,t,r){if(e==null)return t(void 0),r&&r(void 0),b;const n=w(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const f=[];function k(e,t){return{subscribe:x(e,t).subscribe}}function x(e,t=b){let r=null;const n=new Set;function i(u){if(m(e,u)&&(e=u,r)){const o=!f.length;for(const s of n)s[1](),f.push(s,e);if(o){for(let s=0;s<f.length;s+=2)f[s][0](f[s+1]);f.length=0}}}function l(u){i(u(e))}function a(u,o=b){const s=[u,o];return n.add(s),n.size===1&&(r=t(i,l)||b),u(e),()=>{n.delete(s),n.size===0&&r&&(r(),r=null)}}return{set:i,update:l,subscribe:a}}function B(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=t.length<2;return k(r,(a,u)=>{let o=!1;const s=[];let d=0,p=b;const y=()=>{if(d)return;p();const c=t(n?s[0]:s,a,u);l?a(c):p=typeof c=="function"?c:b},_=i.map((c,g)=>A(c,h=>{s[g]=h,d&=~(1<<g),o&&y()},()=>{d|=1<<g}));return o=!0,y(),function(){q(_),p(),o=!1}})}export{B as d,k as r,x as w};
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.