PageSourceSearch

https://kindredly.ai/js/fetch.bgrouteCQA4MVox.js

js kindredly.ai collected 2026-10-02 01:14:27 UTC 4,846 bytes, 1 lines download raw bytes

1import{M as u}from"./ItemServiceDYS7Z6Pr.js";import{r as h}from"./remoteActionApprovalC_byoH4M.js";import{R as f}from"./item-name.utilsBH3paGZr.js";import{D as d,M as y,N as w}from"./OperationQueueKzEpmh-u.js";import{f as _,aY as g,aZ as R,R as c}from"./chunkReloadRecoveryrjuMb-b8.js";import"./noteAttachmentDId5R_kp.js";import"./file_utilsBvAXo0vA.js";import"./extraction.pure.utilsDQPW8yIh.js";import"./constantsDW26WJ6H.js";import"./api-typesD1zIcSfT.js";import"./url.utils3SlYVg-c.js";import"./freshSignInv8N2vL5e.js";import"./textEmbeddingUtilsBRNkRshv.js";import"./item.typesx7Q7rrX9.js";import"./searchContentKindsBGoDYC-k.js";import"./content.typesyje91KzF.js";import"./feedback.utilscwcZGi10.js";import"./feedDiscoveryCsjZq3pR.js";import"./itemImageSourcesCubmTdva.js";import"./search-provider.utilsBiOzVtNa.js";import"./statusFacetsB0tsuUpJ.js";import"./browseFacets8dSOpUAG.js";import"./rolloutCapsBJsLLLO7.js";import"./dexie2jmnBxhj.js";import"./vue-runtimeBHGad_ZB.js";import"./cjs-helpersC4iS2aBk.js";import"./bootstrap-vue-nextDXY4qsO1.js";import"./classificationEvalProgramStatusBazwXda2.js";import"./ActivityUtilsDiYdCK40.js";import"./reason-code.utilswudkndKE.js";import"./reason-metadataDPJV5z5v.js";import"./socialMediaSitesDTleWHW6.js";import"./regexCcuTG5WM.js";import"./appUsageDisplayBY7OQki1.js";import"./urlGuardsBFjEFH91.js";import"./deviceAppIdsBqiQQIm5.js";import"./sentryUtilsC8JjCXHs.js";import"./classificationRulesDUyL5GMw.js";import"./browserTabsCpW6SD42.js";import"./settingsMenuCatalogBT0bsy85.js";import"./tourGateGu4icdk6.js";import"./searchTargets.pureDLBWinh3.js";import"./SearchHistoryStoreBNg-02Jq.js";import"./urlDuplicateMatchingB9T_GhRn.js";import"./siteBlockModeCGmJVg0R.js";import"./alwaysAllowedBZhbIqQn.js";import"./familyClockv2WXhBE2.js";import"./deviceAppPolicyG0TWkbSX.js";import"./familyDowntimeDMv_mvJ9.js";import"./google-ai-modeaEFJUNOw.js";import"./usageBDNfLijZ.js";import"./v4CtRu48qb.js";import"./restrictionPresetsAJUpiAxw.js";import"./deviceAppInventoryMergevnYbxNmN.js";import"./usageIdentityCn48n3s8.js";import"./usageInterventionModeBjzyP5YP.js";import"./TextEmbeddingServiceD7QjSnH7.js";import"./analysis-utilsDkY9KbJt.js";import"./queryEmbeddingl6fVc4SQ.js";import"./usageRuleStateD0i2H3LO.js";const l=new Map,b="1";function x(){return globalThis.browser||globalThis.chrome}function T(){const e=x();return(e==null?void 0:e.action)||(e==null?void 0:e.browserAction)}function F(e,t){var s;const o=T();if(o)try{(s=o.setBadgeText)==null||s.call(o,{text:t?b:"",tabId:e})}catch(r){_("[FEED_WATCH] badge update failed",r)}}function U(e){l.has(e)&&(l.delete(e),F(e,!1))}function E(e){const t=l.get(e)||null;return t&&U(e),t}const i=[];function B(e){if(!e||!e.trim().startsWith("{"))return null;try{const t=JSON.parse(e);return t&&typeof t=="object"?t:null}catch{return null}}i.push({path:"/data/raw",handler:async(e,t,o)=>await u.instance.getDataByURL(t.url)});i.push({path:"/data/meta",handler:async(e,t,o)=>await u.instance.getMetaByURL(t.url)});i.push({path:"/data/metaWithBanner",handler:async(e,t,o)=>await u.instance.getMetaAndBannerByURL(t.url)});i.push({path:"/data/text",handler:async(e,t,o)=>{var r;if(g()){const{"User-Agent":p,"user-agent":n,...m}=((r=t.options)==null?void 0:r.headers)||{},a=await R(t.url,"text",m);return String(a.data??"")}return(await fetch(t.url,t.options)).text()}});i.push({path:"/feed/pendingOffer",handler:async(e,t,o)=>typeof(t==null?void 0:t.tabId)!="number"?null:E(t.tabId)});i.push({path:"/data/file",handler:async(e,t,o)=>{if(t.type=="image"){let r=await(await fetch(t.url)).blob();return await new Promise((n,m)=>{let a=new FileReader;a.onload=()=>n(a.result),a.onerror=m,a.readAsDataURL(r)})}else throw new c("Not Implemented",501)}});i.push({path:"/data/resourceInfo",handler:async(e,t,o)=>await u.instance.getResourceInfo(t)});i.push({path:"/data/contentInfo",handler:async(e,t,o)=>await u.instance.getContentInfo(t)});i.push({path:"/feed/proxy",handler:async(e,t,o)=>{let s=`/userdata/proxy?type=${t.type||"rss"}&url=`+encodeURIComponent(t.url);const r=await f.instance.remoteRequestRaw(s,{},{method:"GET"});if(!r.ok){const p=typeof r.text=="function"?await r.text():"",n=B(p);throw n!=null&&n.errorType?new c(n.message||`Feed proxy request failed with status ${r.status}`,r.status,n.details,n.errorType):new Error(`Feed proxy request failed with status ${r.status}${p?`: ${p}`:""}`)}return r.text()}});i.push({path:"/data/podcastFeedLookup",handler:async(e,t,o)=>await d("/data/podcastFeedLookup",t)});i.push({path:"/feed/resolveYouTubeFeedUrl",handler:async(e,t,o)=>{const s=String((t==null?void 0:t.url)||"").trim();if(!s||!s.includes("youtube.com"))return null;const r=await h({url:s,meta:t==null?void 0:t.meta,metaDataService:u.instance}),p=y(r),n=w(p);return!n||n===(t==null?void 0:t.currentFeedURL)?null:n}});export{i as default};

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.