catzlimit.com Open in urlscan Pro
2606:4700:3032::ac43:baf6  Public Scan

URL: https://catzlimit.com/_nuxt/CUz1Zma-.js
Submission: On December 12 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

import{c as m}from"./B94CjvH2.js";import{_ as d}from"./COiMdP-Q.js";import{u as p}from"./B06tiO2e.js";import{d as g,r as s,p as _,a as v,F as w,P as N,E as y,u as r,G as I}from"./cUFroScT.js";const R=g({__name:"infinite-news-observer",props:{itemsPerRequest:{}},setup(i){const t=i,l=m(),n=p(),a=s(!0),e=s(!1),u=_(()=>n.value?n.value.id:void 0);async function c(){e.value=!0,await l.loadInfiniteNews({amount:t.itemsPerRequest,categoryId:u.value})<t.itemsPerRequest&&(a.value=!1),e.value=!1}function f(){c()}return(o,b)=>(v(),w(I,null,[N(o.$slots,"default"),y(d,{enable:r(a),loading:r(e),"root-margin":"30px",onTriggerIntersected:f},null,8,["enable","loading"])],64))}});export{R as _};