PageSourceSearch

https://static.growkudos.com/magazine-view/4aacb102573c97fa6ae39b4…/_app/immutable/chunks/CQN3pcvY.js

js growkudos.com collected 2026-10-01 08:44:21 UTC 1,817 bytes, 1 lines download raw bytes

1import{aO as u,aV as c,aP as b,c as _,a as p,N as g,h as o,e as v,aU as k,aH as y,b as w,l as A,E,r as F,m as M,d as x,s as m}from"./Ndri3sLk.js";class N{anchor;#t=new Map;#s=new Map;#e=new Map;#a=new Set;#i=!0;constructor(t,s=!0){this.anchor=t,this.#i=s}#r=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)u(e),this.#a.delete(s);else{var i=this.#e.get(s);i&&(u(i.effect),this.#s.set(s,i.effect),this.#e.delete(s),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),e=i.effect)}for(const[r,f]of this.#t){if(this.#t.delete(r),r===t)break;const a=this.#e.get(f);a&&(c(a.effect),this.#e.delete(f))}for(const[r,f]of this.#s){if(r===s||this.#a.has(r))continue;const a=()=>{if(Array.from(this.#t.values()).includes(r)){var h=document.createDocumentFragment();k(f,h),h.append(_()),this.#e.set(r,{effect:f,fragment:h})}else c(f);this.#a.delete(r),this.#s.delete(r)};this.#i||!e?(this.#a.add(r),b(f,a,!1)):a()}}};#f=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,i]of this.#e)s.includes(e)||(c(i.effect),this.#e.delete(e))};ensure(t,s){var e=g,i=y();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(i){var r=document.createDocumentFragment(),f=_();r.append(f),this.#e.set(t,{effect:p(()=>s(f)),fragment:r})}else this.#s.set(t,p(()=>s(this.anchor)));if(this.#t.set(e,t),i){for(const[a,n]of this.#s)a===t?e.unskip_effect(n):e.skip_effect(n);for(const[a,n]of this.#e)a===t?e.unskip_effect(n.effect):e.skip_effect(n.effect);e.oncommit(this.#r),e.ondiscard(this.#f)}else o&&(this.anchor=v),this.#r(e)}}function B(d,t,s=!1){var e;o&&(e=v,A());var i=new N(d),r=s?E:0;function f(a,n){if(o){var h=F(e);if(a!==parseInt(h.substring(1))){var l=M();x(l),i.anchor=l,m(!1),i.ensure(a,n),m(!0);return}}i.ensure(a,n)}w(()=>{var a=!1;t((n,h=0)=>{a=!0,f(h,n)}),a||f(-1,null)},r)}export{N as B,B 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.