import"./C-p8iwFB.js";import{u as D}from"./CzhqWxCr.js";import{b as $}from"./CoDoNMKP.js";import{l as u,b as I}from"./BS7h1Lqf.js";import{a as L}from"./B9VnilU9.js";async function R(s,a,d,P){const{data:y}=await D(async o=>{var l;const e=o==null?void 0:o.vueApp.config.globalProperties.$i18n.locale,f=o==null?void 0:o.vueApp.config.globalProperties.$i18n.defaultLocale,t=o==null?void 0:o.$config.public.webId,i=[u(o)];if(s&&e===f){const k=(s!==!0&&"results"in s?s.results:void 0)||3,U=s!==!0&&"where"in s?s.where:{};i.push($(k,U,t,e,o))}a&&i.push(L(t,o,d)),P&&i.push(I(o));const[r,c,n,v]=await Promise.all(i),m=(c==null?void 0:c.news)||void 0,g=s&&a?n:!s&&a?c:void 0,b=(l=s&&a?v:!s&&!a?c:n)==null?void 0:l.data.story.content;return{story:"story"in r.story?r.story.story:r.story,partnerPickUpPoints:r.story.partnerPickUpPoints||void 0,ownPickUpPoints:r.story.ownPickUpPoints||void 0,news:m,careers:g,prices:b}},"$FPJgaIdTjW");return y.value||{story:{},partnerPickUpPoints:void 0,ownPickUpPoints:void 0,news:void 0,careers:void 0,prices:void 0}}export{R as u}; //# sourceMappingURL=LjGqRCMW.js.map