import{M as o,G as m}from"./index-b983ad9b.js";let s;async function r(){return s||(s=new Promise(async(t,n)=>{o().get("api/v1/kb/products").then(t).catch(n)})),s}async function d(t){return(await r())[t]}async function f(t,n){var i;return(i=(await r())[t])==null?void 0:i.models[n]}let e;async function u(){return e||(e=new Promise(async(t,n)=>{o().get("api/v1/kb/measurements").then(t).catch(n)})),e}async function y(t){return(await u())[t]}let a;async function g(){return a===void 0&&(a=await m().get("api/v1/kb/suggestions")),a||{}}async function b(t){return(await g())[t]}const w={getProductBrands:r,getProductBrand:d,getProductModel:f,getMeasurements:u,getMeasurement:y,getSuggestions:g,getSuggestion:b},p=w;export{p as K,f as a,r as b,d as c,b as d,y as e,u as g};
