PageSourceSearch

https://aquavo.ai/assets/useEnrichedTests-DFnUFQny.js

js aquavo.ai collected 2026-10-05 15:14:59 UTC 1,864 bytes, 1 lines download raw bytes

1import{r as e}from"./router-C2cnzRJs.js";import"./bootstrap-CScd1I1O.js";import{J as r,T as n}from"./index-BwC2X5uj.js";const i="Da die Probenahme von Privatkunden außerhalb des akkreditierten Bereichs liegt, können die Ergebnisse nur als Eigenkontrollen bewertet werden und sind damit nicht rechtskräftig. Die Ergebnisse dienen zur Orientierung für den eigenen Bedarf. Für rechtskräftige Ergebnisse muss die Probenahme durch eine unparteiliche bzw. neutrale akkreditierte Untersuchungsstelle erfolgen.",t={"€":"EUR",$:"USD","£":"GBP"};function a(e,r){const n=r&&t[r]||r||"EUR";try{return new Intl.NumberFormat("de-DE",{style:"currency",currency:n}).format(e)}catch{return new Intl.NumberFormat("de-DE",{style:"currency",currency:"EUR"}).format(e)}}const s=e=>{if(null==e||""===e)return;const r="number"==typeof e?e:parseFloat(String(e));return Number.isNaN(r)?void 0:r},l=e=>null==e||("number"==typeof e?0!==e:!0===e||"1"===e);function u(){const{items:i,loading:t,error:a}=r({endpoint:"articles/public",initialQueryParams:{limit:50}}),u=e.useMemo(()=>function(e,r){const n=new Map(r.map(e=>[e.unique_url,e]));return[...e].sort((e,r)=>e.order-r.order).map(e=>{const r=n.get(e.slug);if(!r)return{...e,id:void 0,name:e.displayName,price:e.priceFallback,currency:"€",available:!0,imageUrl:void 0,images:[],liveResolved:!1};const i=r.cost??r.costs?.[0]??{},t=s(i.sale_price)??s(i.price)??e.priceFallback,a=l(r.active)&&(l(r.available)||l(r.in_stock)),u=(r.gallery??r.medias??[]).map(r=>({url:r.mediaUrl||r.url||"",alt:r.alt_text||r.alt||e.displayName})).filter(e=>!!e.url);return{...e,id:r.id,name:e.displayName,price:t,currency:i.currency||"€",available:a,imageUrl:u[0]?.url,images:u,liveResolved:!0}})}(n,i??[]),[i]),o=e.useMemo(()=>u.find(e=>e.isFeatured)??u[0],[u]);return{tests:u,featured:o,loading:t,error:a?String(a):null}}export{i as A,a as f,u};

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.