PageSourceSearch

https://europasc.sk/_nuxt/DptHY2n3.js

js europasc.sk collected 2026-10-08 10:53:27 UTC 1,464 bytes, 1 lines download raw bytes

1import{al as y,am as C,an as T,r as o,ao as i,aF as M,ap as A,W as f}from"./aJtTF-_E.js";import{l as _}from"./B1WODrm1.js";const x=y("offers",()=>{const v=A(),{fetchHeaders:c}=C(v),{getCachingProxyRoute:h}=T(),m=v.public.baseUrl,d=o([]),n=o([]),p=o(8),N=o(null),E=o(""),$=o({per_page:p.value,current_page:1}),u=o(!1),s="product";let g=i.ANNOUNCEMENTS+s,r=h(i.ANNOUNCEMENTS+s,i.ANNOUNCEMENTS_PROXY+s);return M("token").value&&(g=i.ANNOUNCEMENTS_ME+s,r=m+i.ANNOUNCEMENTS_ME+s),{list:d,listRelated:n,detail:N,pagination:$,loading:u,defaultPerPage:p,getList:async t=>{u.value=!0;const{data:e,error:l}=await f(`${r}?${_.stringify(t)}`,{method:"GET",key:`get-list-${s}-${g}-${_.stringify(t)}`,...c()},"$nfFUMAnQrT");if(u.value=!1,e.value!==null){const a=e.value.data;d.value=e.value.data.data,$.value={current_page:a.current_page,last_page:a.last_page,links:a.links.slice(1,-1),per_page:a.per_page,total:a.total}}l.value&&console.log(l.value)},getDetail:async t=>{var a;const{data:e,error:l}=await f(`${r}/${t}`,{method:"GET",key:`get-detail-${s}-${g}-${t}`,...c()},"$oCfxeAMmP1");if((a=e.value)!=null&&a.data)return N.value=e.value.data,e.value.data;l.value&&console.log(l.value)},setFilter:t=>{E.value=t},getRelatedList:async t=>{u.value=!0;const{data:e,error:l}=await f(`${r}${E.value}`,c(),"$jdBu8RBh5G");e.value!==null&&(n.value=e.value.data.data,n.value.length>0&&(n.value=n.value.filter(a=>a.id!==t)),u.value=!1),l.value&&console.log(l.value)}}});export{x as u};

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.