PageSourceSearch

https://assets.zasilkovna.cz/_nuxt/DSy6qYhL.js

js zasilkovna.cz collected 2026-10-01 09:13:12 UTC 9,749 bytes, 2 lines download raw bytes

1import{o as $,u as C,Y as B,z as V,W as O,B as L,q as g,r as _,t as c,v as s,x as d,D as y,F as S,C as J,$ as P,w as k,p as b,E as A,G as w,_ as N,X as W,M as F,N as Z,I as H,J as M,cP as q,ax as j,a0 as i}from"./BV5H2GYm.js";import{p as K}from"./BA_-ftun.js";import{_ as G}from"./Da0yWqoT.js";import{M as X}from"./D9F6ltkl.js";import{C as Y}from"./DIKvGSRI.js";import{_ as Q}from"./CkvoQ9oE.js";import{N as x}from"./BRzSLxzq.js";import{S as oo}from"./Vfl2KqVS.js";import{r as T}from"./BCQF35hb.js";import{a as v}from"./DOLSaadP.js";const no={class:"container-fluid bg-grey-50 py-120 py-lg-160"},to={class:"container"},io={class:"text-title-red"},eo={class:"d-flex flex-column flex-lg-row align-align-items-baseline"},ao={class:"title"},so={key:0,class:"content"},ro={key:1,class:"text-body-big-grey content"},co={key:1},lo={key:2,class:"text-body-big-grey content"},po={key:0},uo={class:"mb-0 mt-8"},mo=$({__name:"LocationDefinition",props:{region:{type:Boolean},country:{type:Boolean},definition:{}},setup(l){const{t:n}=C(),e=B(),p=e.public.i18n.defaultLocale,r=V(()=>e.public.webId===O.PACKETA_HU),a=V(()=>e.public.webId===O.ZASILKOVNA_CZ);return(o,h)=>{var f,E,D,t;return g(),L("div",no,[_("div",to,[_("p",io,c(s(n)("locations.definitionTopTitle")),1),_("div",eo,[_("h2",ao,c(s(n)("locations.definitionTitle")),1),o.country?(g(),L("div",so,[d(c(s(n)("locations.countryDescription.part1",{name:s(n)(o.definition.name)}))+" ",1),_("span",null,[(g(!0),L(S,null,J(o.definition.regions,(u,m)=>(g(),b(P,{key:u.url,to:{name:o.$pages.locationRegion,params:{region:u.url}},"force-language":s(p),class:w(["d-inline-block",{"me-8":o.definition.regions&&m!==o.definition.regions.length-1}])},{default:k(()=>[d(c(s(n)(u.name))+c(o.definition.regions&&m!==o.definition.regions.length-1?",":""),1)]),_:2},1032,["to","force-language","class"]))),128)),d(" "+c(s(n)("locations.countryDescription.part2"))+" ",1),y(P,{to:{name:o.$pages.locationRegion,params:{region:((f=o.definition.lastRegion)==null?void 0:f.url)||""}},"force-language":s(p),class:"d-inline-block"},{default:k(()=>{var u;return[d(c(((u=o.definition.lastRegion)==null?void 0:u.name)&&s(n)(o.definition.lastRegion.name)),1)]}),_:1},8,["to","force-language"]),_("span",null,c(s(n)("locations.countryDescription.part3")),1)])])):o.region?(g(),L("div",ro,[d(c(s(n)("locations.regionDescription.part1",{name:s(n)(o.definition.name)}))+" ",1),o.definition.region&&((E=o.definition.city1)!=null&&E.url)&&o.definition.city1.name?(g(),b(P,{key:0,to:{name:o.$pages.locationCity,params:{region:o.definition.region,city:(D=o.definition.city1)==null?void 0:D.url}}},{default:k(()=>[d(c(o.definition.city1.name),1)]),_:1},8,["to"])):A("",!0),o.definition.region&&((t=o.definition.city2)!=null&&t.url)&&o.definition.city2.name?(g(),L("span",co,[d(c(s(n)("locations.regionDescription.part2"))+" ",1),y(P,{to:{name:o.$pages.locationCity,params:{region:o.definition.region,city:o.definition.city2.url}}},{default:k(()=>[d(c(o.definition.city2.name),1)]),_:1},8,["to"])])):A("",!0),_("span",null,c(s(n)("locations.regionDescription.part3")),1)])):(g(),L("div",lo,[d(c(s(n)("locations.cityDescription.part1",{name:o.definition.name}))+" ",1),a.value?(g(),L("span",po,c(s(n)("locations.cityDescription.part2",{pickUpPoints:o.definition.pickUpPoints})),1)):A("",!0),_("p",uo,[d(c(s(n)("locations.cityDescription.part3"))+" ",1),o.definition.region?(g(),b(P,{key:0,to:{name:o.$pages.locationRegion,params:{region:o.definition.region}}},{default:k(()=>[d(c(o.definition.regionName&&s(n)(o.definition.regionName)),1)]),_:1},8,["to"])):A("",!0),_("span",null,c(r.value?s(n)("locations.cityDescription.part4"):"."),1)])]))])])])}}}),_o=N(mo,[["__scopeId","data-v-b7e5fbc0"]]),go={class:"pb-120"},fo=["src"],Eo={class:"stack-160"},vo=$({__name:"location",props:{story:{},news:{},definition:{},locationName:{},formattedLocationName:{},locationBounds:{},country:{type:Boolean},region:{type:Boolean},regionCode:{},defaultActiveTab:{},disabledCountry:{type:Boolean},allCities:{type:Boolean}},setup(l){const{locale:n,t:e}=C(),p=B(),r=W[p.public.webId].countryCode,a=p.public.webId,h=F().$pages,f=Z(),E=H(!1),D=t=>{const{start:u,end:m}=t,R=q(a,!1,{isEnvironmentTest:p.public.isEnvironmentTest,isEnvironmentStage:p.public.isEnvironmentStage,isEnvironmentProd:p.public.isEnvironmentProd}),U={box:!1,boxtype:"",centerBounds:[u.lat,u.lon,m.lat,m.lon],centerCountry:r},z=`${R}${f(h.pickUpPoints)}`;return K(U,z,n.value)};return(t,u)=>(g(),L("div",go,[_("div",{class:w(["map",{"add-space":E.value}])},[y(Q,null,{default:k(()=>[_("iframe",{class:"pickup-points",src:D(t.locationBounds),allow:"geolocation"},null,8,fo)]),_:1})],2),_("div",Eo,[y(_o,{region:t.region,country:t.country,definition:t.definition},null,8,["region","country","definition"]),y(oo,{details:t.story.content.pickUpPointsDetails},null,8,["details"]),y(Y,{"common-traps":t.story.content.howItWorks},null,8,["common-traps"]),t.news?(g(),b(x,{key:0,news:t.news,"title-second":""},null,8,["news"])):A("",!0),y(G,{content:t.story.content.faq},{default:k(({data:m})=>
1[y(X,{title:m.title,description:m.description,picture:m.beginImage},{buttons:k(()=>[_("div",null,[y(M,{link:t.$pages.customerService},{default:k(()=>[d(c(s(e)("locations.goToFaq")),1)]),_:1},8,["link"])])]),_:2},1032,["title","description","picture"])]),_:1},8,["content"])])]))}}),jo=N(vo,[["__scopeId","data-v-06b2fb07"]]);function I(l,n,e=!0){let p=null;return l.parts.forEach(r=>{(e&&`${v(l.name)}-${v(r.name)}`===n||!e&&v(r.name)===n)&&(p={...r,name:`${l.name} - ${r.name}`,origin:r.name})}),p}async function Oo(l,n){var r,a,o;const e=[];return l===O.ZASILKOVNA_CZ&&e.push({name:"locations.regions.praha",url:((a=(r=T[l])==null?void 0:r[n])==null?void 0:a.praha)||""}),(o=(await j(Object.assign({
1"../../../../content/packeta-de/locations/regions.json":()=>i(()=>import("./BikssQnT.js"),[],import.meta.url),
1"../../../../content/packeta-hu/locations/regions.json":()=>i(()=>import("./BCE0h4H5.js"),[],import.meta.url),
1"../../../../content/packeta-pl/locations/regions.json":()=>i(()=>import("./CF_gKkQJ.js"),[],import.meta.url),
1"../../../../content/packeta-ro/locations/regions.json":()=>i(()=>import("./CEAesgn4.js"),[],import.meta.url),
1"../../../../content/packeta-sk/locations/regions.json":()=>i(()=>import("./BWptZ6P4.js"),[],import.meta.url),
1"../../../../content/zasilkovna-cz/locations/regions.json":()=>i(()=>import("./miH9lLYN.js"),[],import.meta.url)}),`../../../../content/${l}/locations/regions.json`,8)).regions)==null||o.forEach(h=>{var f,E;e.push({name:`locations.regions.${h.name}`,url:((E=(f=T[l])==null?void 0:f[n])==null?void 0:E[h.name])||""})}),e}async function Vo(l,n,e,p){var o,h,f,E,D;const r=await j(Object.assign({
1"../../../../content/packeta-de/locations/cities.json":()=>i(()=>import("./BZ6WBnij.js"),[],import.meta.url),
1"../../../../content/packeta-hu/locations/cities.json":()=>i(()=>import("./FE9VnvIh.js"),[],import.meta.url),
1"../../../../content/packeta-pl/locations/cities.json":()=>i(()=>import("./CIh7PsPq.js"),[],import.meta.url),
1"../../../../content/packeta-ro/locations/cities.json":()=>i(()=>import("./DfIg-7y2.js"),[],import.meta.url),
1"../../../../content/packeta-sk/locations/cities.json":()=>i(()=>import("./qMlUUI6m.js"),[],import.meta.url),
1"../../../../content/zasilkovna-cz/locations/cities.json":()=>i(()=>import("./DYWXMcEZ.js"),[],import.meta.url)}),`../../../../content/${l}/locations/cities.json`,8);let a=null;return p?(o=r.cities)==null||o.forEach(t=>{var u,m;a||(((m=(u=T[l])==null?void 0:u[n])==null?void 0:m[v(t.region)])===e?v(t.name)===p?a=t:t.parts&&v(t.name)!=="praha"&&(a=I(t,p)):e==="praha"&&v(t.name)==="praha"&&(a=I(t,p,!1)))}):e===((f=(h=T[l])==null?void 0:h[n])==null?void 0:f.praha)?a=((E=r.cities)==null?void 0:E.find(t=>v(t.name)==="praha"))||null:(D=(await j(Object.assign({
1"../../../../content/packeta-de/locations/regions.json":()=>i(()=>import("./BikssQnT.js"),[],import.meta.url),
1"../../../../content/packeta-hu/locations/regions.json":()=>i(()=>import("./BCE0h4H5.js"),[],import.meta.url),
1"../../../../content/packeta-pl/locations/regions.json":()=>i(()=>import("./CF_gKkQJ.js"),[],import.meta.url),
1"../../../../content/packeta-ro/locations/regions.json":()=>i(()=>import("./CEAesgn4.js"),[],import.meta.url),
1"../../../../content/packeta-sk/locations/regions.json":()=>i(()=>import("./BWptZ6P4.js"),[],import.meta.url),
1"../../../../content/zasilkovna-cz/locations/regions.json":()=>i(()=>import("./miH9lLYN.js"),[],import.meta.url)}),`../../../../content/${l}/locations/regions.json`,8)).regions)==null||D.forEach(u=>{var m,R;((R=(m=T[l])==null?void 0:m[n])==null?void 0:R[u.name])===e&&(a=u)}),a}async function Io(l,n){let e=[];if(n!=="praha"){let r=(await j(Object.assign({
1"../../../../content/packeta-de/locations/cities.json":()=>i(()=>import("./BZ6WBnij.js"),[],import.meta.url),
1"../../../../content/packeta-hu/locations/cities.json":()=>i(()=>import("./FE9VnvIh.js"),[],import.meta.url),
1"../../../../content/packeta-pl/locations/cities.json":()=>i(()=>import("./CIh7PsPq.js"),[],import.meta.url),
1"../../../../content/packeta-ro/locations/cities.json":()=>i(()=>import("./DfIg-7y2.js"),[],import.meta.url),
1"../../../../content/packeta-sk/locations/cities.json":()=>i(()=>import("./qMlUUI6m.js"),[],import.meta.url),
1"../../../../content/zasilkovna-cz/locations/cities.json":()=>i(()=>import("./DYWXMcEZ.js"),[],import.meta.url)
1}),`../../../../content/${l}/locations/cities.json`,8)).cities||[];return r=r.filter(a=>v(a.region)===n),e=r.sort((a,o)=>(a.population||0)<(o.population||0)?1:-1).filter((a,o)=>o<2).map(a=>({url:v(a.name),name:a.name})),e}else e=[{url:"stare-mesto",name:"Staré město"},{url:"holesovice",name:"Holešovice"}];return e}export{jo as L,Io as a,Oo as b,Vo as g};
2//# sourceMappingURL=DSy6qYhL.js.map

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.