1import{R as s}from"./chunkReloadRecoveryC4XyrbqR.js";import"./bgrouter.lazyDAuYuLMw.js";import{B as n}from"./remoteActionApprovalB4bWDiKm.js";import"./vue-runtimeBcw72k-n.js";import"./cjs-helpersC4iS2aBk.js";import"./bootstrap-vue-nextD6HU9H8G.js";import"./dexie2jmnBxhj.js";import"./OperationQueueDV3oPNrt.js";import"./item-name.utilsCH3lkmjj.js";import"./item.typesx7Q7rrX9.js";import"./content.typesCQ2lHcy0.js";import"./constantsDsHwd9pV.js";import"./extraction.pure.utilsDQPW8yIh.js";import"./url.utilsCetgXmY_.js";import"./freshSignInBREx9Dbx.js";import"./textEmbeddingUtilsMpr6oSwV.js";import"./searchContentKindsBCsa2n8P.js";import"./scriptInjectionPolicyBIzTN6wk.js";import"./ItemService6OxqWBM_.js";import"./noteAttachmentCnCPBIlX.js";import"./file_utilsBz4gEirg.js";import"./feedback.utilscwcZGi10.js";import"./feedDiscoveryCsjZq3pR.js";import"./itemImageSourcesB5F3pjKY.js";import"./search-provider.utilsCsDdSKl9.js";import"./statusFacetsB0tsuUpJ.js";import"./browseFacets8dSOpUAG.js";import"./rolloutCapsCGgnGdEe.js";import"./TextEmbeddingServicet0LyfJGO.js";import"./sentryUtilsC-UydOcU.js";import"./analysis-utilsDkY9KbJt.js";import"./usageyf5Clu7X.js";import"./publishedCategoryMappingVeOVgIZv.js";import"./categoryExplorerSetsCylUBCaq.js";import"./CategoryMatchServiceC4jIzywZ.js";import"./ActivityVisitServiceC1bxeRpY.js";import"./settingsMenuCatalogD50wLOs4.js";import"./regexCcuTG5WM.js";import"./browserTabsDwRj8B1n.js";import"./classificationRulesDUyL5GMw.js";import"./EmbeddingClassifier1wnjHuta.js";import"./queryEmbeddingl6fVc4SQ.js";import"./sessionFeaturesDe-s9T7p.js";import"./decisionSampleDz8RMNWL.js";import"./duplicateItemNamingQom-5n3h.js";import"./urlDuplicateMatchingCceDhnY-.js";import"./classificationEvalProgramStatusDGSa2yof.js";import"./ActivityUtilssjJ7hSGT.js";import"./reason-code.utils8jpsdCtb.js";import"./reason-metadataDYOyIH_h.js";import"./socialMediaSitesp27LlOte.js";import"./appUsageDisplayDKILUr1v.js";import"./urlGuardsBFjEFH91.js";import"./deviceAppIdsWfVIXiZq.js";import"./searchTargets.pureDLBWinh3.js";import"./SearchHistoryStore4zVIJpAq.js";import"./siteBlockModeCGmJVg0R.js";import"./familyClockDsYedtDu.js";import"./deviceAppPolicyFg3y0dZk.js";import"./familyDowntimeDiB4-21F.js";import"./v4CtRu48qb.js";import"./restrictionPresetsCG6ei3x_.js";import"./deviceAppInventoryMergeDpayFy5i.js";import"./usageIdentityj8Qe0FwN.js";import"./usageInterventionModeBjzyP5YP.js";import"./usageRuleStateD0i2H3LO.js";const l=async(i,o)=>{var m;try{if(i.type=="API_CALL")return{success:!0,result:await n.call(i==null?void 0:i.path,i==null?void 0:i.data,{...i==null?void 0:i.options,request:i,sender:o})}}catch(t){const a=(t==null?void 0:t.status)===401||(t==null?void 0:t.errorType)==="AUTH"||((m=t==null?void 0:t.message)==null?void 0:m.includes("Not Authenticated")),p=t instanceof s?t:new s(t==null?void 0:t.message,(t==null?void 0:t.status)||500,t==null?void 0:t.details,t==null?void 0:t.errorType),c=String((i==null?void 0:i.path)||"").startsWith("/auth/handoff");return(!a||c)&&console.error("API Router Error:",i==null?void 0:i.path,(t==null?void 0:t.message)||String(t),{status:t==null?void 0:t.status,errorType:t==null?void 0:t.errorType,details:t==null?void 0:t.details},t),{success:!1,message:p.message,details:p==null?void 0:p.details,status:p==null?void 0:p.status,errorType:p==null?void 0:p.errorType}}},Rt=(i,o,m)=>(l(i,o).then(m).catch(t=>{console.error("Error in routerFunction",t);try{m({success:!1,message:t.message,details:t==null?void 0:t.details,status:t==null?void 0:t.status,errorType:t==null?void 0:t.errorType})}catch(a){console.error("Error in routerFunction",a)}}),!0);export{l as callerFunction,Rt as routerFunction};
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.