PageSourceSearch

https://parkroll.com/chunk-YZTRFTZS.js

js parkroll.com collected 2026-10-09 23:01:41 UTC 2,112 bytes, 1 lines download raw bytes

1import{d as l,e as p,h as K}from"./chunk-QMX4JUIB.js";import{_c as M}from"./chunk-FBADWYZW.js";import{a as d}from"./chunk-RVFOIZLJ.js";var r=function(t){return t[t.None=0]="None",t[t.Entities=1]="Entities",t[t.Both=2]="Both",t}(r||{});function E(t){return t?.idKey??"id"}function u(t){let n=t?.collection,i=n===void 0?"entityMap":`${n}EntityMap`,e=n===void 0?"ids":`${n}Ids`,o=n===void 0?"entities":`${n}Entities`;return{entityMapKey:i,idsKey:e,entitiesKey:o}}function a(t,n){return{entityMap:d({},t[n.entityMapKey]),ids:[...t[n.idsKey]]}}function f(t,n,i){switch(i){case r.Both:return{[n.entityMapKey]:t.entityMap,[n.idsKey]:t.ids};case r.Entities:return{[n.entityMapKey]:t.entityMap};default:return{}}}function h(t,n,i){let e=n[i];return t.entityMap[e]?r.None:(t.entityMap[e]=n,t.ids.push(e),r.Both)}function S(t,n,i){let e=n[i];return t.entityMap[e]?(t.entityMap[e]=n,r.Entities):(t.entityMap[e]=n,t.ids.push(e),r.Both)}function m(t,n,i){let e=r.None;for(let o of n){let s=S(t,o,i);e!==r.Both&&(e=s)}return e}function B(t,n){let i=Array.isArray(n)?n:t.ids.filter(o=>n(t.entityMap[o])),e=r.None;for(let o of i)t.entityMap[o]&&(delete t.entityMap[o],e=r.Both);return e===r.Both&&(t.ids=t.ids.filter(o=>o in t.entityMap)),e}function A(t,n,i){let e=Array.isArray(n)?n:t.ids.filter(s=>n(t.entityMap[s])),o=r.None;for(let s of e){let c=t.entityMap[s];if(c){let y=typeof i=="function"?i(c):i;t.entityMap[s]=d(d({},c),y),o=r.Entities}}return o}function v(t,n){let i=E(n),e=u(n);return o=>{let s=a(o,e),c=h(s,t,i);return f(s,e,c)}}function w(t,n){let i=u(n);return e=>{let o=a(e,i),s=B(o,[t]);return f(o,i,s)}}function $(t){let n=u(t);return()=>({[n.entityMapKey]:{},[n.idsKey]:[]})}function I(t,n){let i=E(n),e=u(n);return()=>{let o={entityMap:{},ids:[]};return m(o,t,i),{[e.entityMapKey]:o.entityMap,[e.idsKey]:o.ids}}}function R(t,n){let i=u(n);return e=>{let o=a(e,i),s=A(o,[t.id],t.changes);return f(o,i,s)}}function x(t){let{entityMapKey:n,idsKey:i,entitiesKey:e}=u(t);return l(K({[n]:{},[i]:[]}),p(o=>({[e]:M(()=>{let s=o[n]();return o[i]().map(y=>s[y])})})))}export{v as a,w as b,$ as c,I as d,R as e,x as f};

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.