PageSourceSearch

https://recoil.org/_app/immutable/chunks/DfYBxeTR.js

js recoil.org collected 2026-10-02 03:20:13 UTC 2,816 bytes, 1 lines download raw bytes

1var R=Object.defineProperty;var m=e=>{throw TypeError(e)};var B=(e,s,t)=>s in e?R(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var A=(e,s,t)=>B(e,typeof s!="symbol"?s+"":s,t),T=(e,s,t)=>s.has(e)||m("Cannot "+t);var a=(e,s,t)=>(T(e,s,"read from private field"),t?t.call(e):s.get(e)),l=(e,s,t)=>s.has(e)?m("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(e):s.set(e,t),E=(e,s,t,r)=>(T(e,s,"write to private field"),r?r.call(e,t):s.set(e,t),t);import{f as S,g as D,h as g,p as N,i as w,j as M,k as y,m as q,o as C,q as H,b as L,t as O,E as Y,v as j,H as z,w as I,x as P,y as x,e as G,z as J,d as K,A as Q,S as U}from"./_DUrTqy0.js";var d,u,n,_,b,k,v;class V{constructor(s,t=!0){A(this,"anchor");l(this,d,new Map);l(this,u,new Map);l(this,n,new Map);l(this,_,new Set);l(this,b,!0);l(this,k,()=>{var s=S;if(a(this,d).has(s)){var t=a(this,d).get(s),r=a(this,u).get(t);if(r)D(r),a(this,_).delete(t);else{var f=a(this,n).get(t);f&&(a(this,u).set(t,f.effect),a(this,n).delete(t),f.fragment.lastChild.remove(),this.anchor.before(f.fragment),r=f.effect)}for(const[i,h]of a(this,d)){if(a(this,d).delete(i),i===s)break;const c=a(this,n).get(h);c&&(g(c.effect),a(this,n).delete(h))}for(const[i,h]of a(this,u)){if(i===t||a(this,_).has(i))continue;const c=()=>{if(Array.from(a(this,d).values()).includes(i)){var p=document.createDocumentFragment();C(h,p),p.append(w()),a(this,n).set(i,{effect:h,fragment:p})}else g(h);a(this,_).delete(i),a(this,u).delete(i)};a(this,b)||!r?(a(this,_).add(i),N(h,c,!1)):c()}}});l(this,v,s=>{a(this,d).delete(s);const t=Array.from(a(this,d).values());for(const[r,f]of a(this,n))t.includes(r)||(g(f.effect),a(this,n).delete(r))});this.anchor=s,E(this,b,t)}ensure(s,t){var r=S,f=H();if(t&&!a(this,u).has(s)&&!a(this,n).has(s))if(f){var i=document.createDocumentFragment(),h=w();i.append(h),a(this,n).set(s,{effect:M(()=>t(h)),fragment:i})}else a(this,u).set(s,M(()=>t(this.anchor)));if(a(this,d).set(r,s),f){for(const[c,o]of a(this,u))c===s?r.unskip_effect(o):r.skip_effect(o);for(const[c,o]of a(this,n))c===s?r.unskip_effect(o.effect):r.skip_effect(o.effect);r.oncommit(a(this,k)),r.ondiscard(a(this,v))}else y&&(this.anchor=q),a(this,k).call(this)}}d=new WeakMap,u=new WeakMap,n=new WeakMap,_=new WeakMap,b=new WeakMap,k=new WeakMap,v=new WeakMap;function Z(e,s,t=!1){y&&O();var r=new V(e),f=t?Y:0;function i(h,c){if(y){const p=j(e)===z;if(h===p){var o=I();P(o),r.anchor=o,x(!1),r.ensure(h,c),x(!0);return}}r.ensure(h,c)}L(()=>{var h=!1;s((c,o=!0)=>{h=!0,i(o,c)}),h||i(!1,null)},f)}function F(e,s){return e===s||(e==null?void 0:e[U])===s}function $(e={},s,t,r){return G(()=>{var f,i;return J(()=>{f=i,i=[],K(()=>{e!==t(...i)&&(s(e,...i),f&&F(t(...f),e)&&s(null,...f))})}),()=>{Q(()=>{i&&F(t(...i),e)&&s(null,...i)})}}),e}export{V as B,$ as b,Z as i};

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.