PageSourceSearch

https://cannactiva.com/_next/static/chunks/4523-047f911b56cb5950.js

js cannactiva.com collected 2026-10-02 06:55:04 UTC 1,423 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4523],{64523:(t,a,e)=>{e.d(a,{CI:()=>i});var r=e(90815);function s(t){return{id:t.id,slug:t.slug,title:t.title,excerpt:t.excerpt||"",imageUrl:t.imageUrl||"/images/blog/placeholder.jpg",imageAlt:t.imageAlt||t.title,publishedAt:t.publishedAt,updatedAt:t.updatedAt,author:{name:t.author?.name||"Cannactiva",slug:t.author?.slug,avatarUrl:t.author?.avatarUrl,headline:t.author?.headline},categories:t.categories||[],tags:t.tags||[]}}async function i(t){let{query:a,locale:e="es",page:i=1,limit:n=9}=t;if(!a.trim())return{posts:[],pagination:{currentPage:1,totalPages:0,totalItems:0,itemsPerPage:n,hasNextPage:!1,hasPreviousPage:!1}};let g=new URLSearchParams({q:a.trim(),locale:e,page:String(i),limit:String(n)});try{let t=await fetch(`${r.J}/blog/posts/search?${g}`,{next:{revalidate:60}});if(!t.ok)return console.error(`Failed to search posts: ${t.status}`),o(n);let a=await t.json();return{posts:a.posts.map(s),pagination:{currentPage:a.pagination.currentPage,totalPages:a.pagination.totalPages,totalItems:a.pagination.totalItems,itemsPerPage:a.pagination.itemsPerPage,hasNextPage:a.pagination.hasNextPage,hasPreviousPage:a.pagination.hasPreviousPage}}}catch(t){return console.error("Error searching posts:",t),o(n)}}function o(t){return{posts:[],pagination:{currentPage:1,totalPages:0,totalItems:0,itemsPerPage:t,hasNextPage:!1,hasPreviousPage:!1}}}}}]);

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.