cli: update deps

This commit is contained in:
Aman Varshney
2025-07-12 21:47:34 +05:30
parent fcc1da8742
commit bd136792df
235 changed files with 22411 additions and 63 deletions

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[131],{1131:(e,t,r)=>{r.d(t,{searchDocs:()=>o});var i=r(13038);async function o(e,t){let r=[],{index:o="default",client:n,params:l={},tag:u}=t;if("crawler"===o){let t=await n.search({...l,term:e,where:{category:u?{eq:u.slice(0,1).toUpperCase()+u.slice(1)}:void 0,...l.where},limit:10});if(!t)return r;if("crawler"===o){for(let e of t.hits){let t=e.document;r.push({id:e.id,type:"page",content:t.title,url:t.path},{id:"page"+e.id,type:"text",content:t.content,url:t.path})}return r}}let a={...l,term:e,where:(0,i.B)({tag:u,...l.where}),groupBy:{properties:["page_id"],maxResult:7,...l.groupBy}},c=await n.search(a);if(!c||!c.groups)return r;for(let e of c.groups){let t=!1;for(let i of e.result){let e=i.document;t||(r.push({id:e.page_id,type:"page",content:e.title,url:e.url}),t=!0),r.push({id:e.id,content:e.content,type:e.content===e.section?"heading":"text",url:e.section_id?`${e.url}#${e.section_id}`:e.url})}}return r}r(41758)},13038:(e,t,r)=>{r.d(t,{B:()=>function e(t,r=!1){for(let i of Object.keys(t))void 0===t[i]&&delete t[i],r&&"object"==typeof t[i]&&null!==t[i]?e(t[i],r):r&&Array.isArray(t[i])&&t[i].forEach(t=>e(t,r));return t}})}}]);