PageSourceSearch

https://www.asbis.com/_nuxt/DMC9Qqyw.js

js asbis.com collected 2026-09-25 04:07:44 UTC 2,379 bytes, 1 lines download raw bytes

1import w from"./DS2n2zTl.js";import{m as B,u as C,g as D,w as N,o as n,d as m,e as f,h as i,i as O,j as h,n as R,t as Y,_ as F,f as u,F as U,p as $,q as L,k as _}from"./Bj3nZAc6.js";import{_ as M}from"./DzVUyVwH.js";import{p as V}from"./8qAshKBu.js";import"./CJVGfykD.js";import{u as H,a as K}from"./D0Zg6CYG.js";import{u as q}from"./YO8XEcNH.js";import"./B9uX1a6Z.js";import"./vl6bfgnj.js";/* empty css        *//* empty css        */import"./DU8G5Pg4.js";import"./CVhWzMLK.js";import"./BLb2ADNI.js";const G={key:0},j={class:"container"},z="shops",W="page-info",J="premium",Q="authorised",X="official_centers",Z="premium_reseller",ye={__name:"[slug]",async setup(ee){let r,d;const v=({shops:s,name:e})=>({layout:"CardSectionShops",title:e,items:s.map(t=>({...t,link:{src:t?.addresses?.[0]?.url},image:{src:t.image,alt:t.name}}))}),k=({shops:s,name:e})=>({layout:"PremiumShopSection",title:e,items:s?.map(t=>({image:{src:t.image,alt:t.name},addresses:t?.addresses?.map(a=>({title:t.name,address:a?.address,phones:a?.phone,emails:a?.email,link:a?.url,shopID:t?.id}))}))}),x=s=>s.map(e=>e.layout.name===Z?k(e):v(e)),E=(s,e)=>[...s].sort((t,a)=>e.indexOf(t.key)-e.indexOf(a.key)),{$api:{shopService:S}}=B(),{locale:p}=C(),b=D(),y=String(b.params.slug),{fetchPage:P}=H(),{data:g}=([r,d]=N(async()=>q(`where-to-buy-${y}-${p.value}`,async()=>{const s=await P(y,{type:z,lang:p.value}),e=s?.blocks?.find(c=>c?.content?.type===W),t=e?.content?.data?.sort,{data:a}=await S.getAllShopTypes({key:[J,Q,X],country_id:e?.content?.data?.countryId,lang:p.value});return{page:s,shopTypes:x(t?E(a,t):a)}})),r=await r,d(),r),o=_(()=>g.value?.page),T=_(()=>g.value?.shopTypes);K(o);const A=_(()=>[...(o.value?.breadcrumbs||[]).map(V),{text:o.value?.title}]);return(s,e)=>{const t=w,a=F,c=M;return o.value?(n(),m("div",G,[f(t,{items:A.value},null,8,["items"]),e[0]||(e[0]=i()),O("div",j,[o.value.title?(n(),h(a,{key:0,tag:"h1",size:"lg",class:"mx-auto mb-6 max-w-3xl"},{default:R(()=>[i(Y(o.value.title),1)]),_:1})):u("",!0)]),e[1]||(e[1]=i()),(n(!0),m(U,null,$(T.value,(l,I)=>(n(),m("div",{key:I},[l.items.length?(n(),h(L(l.layout),{key:0,items:l.items,title:l.title},null,8,["items","title"])):u("",!0)]))),128)),e[2]||(e[2]=i()),f(c,{blocks:o.value.blocks,"meta-info":{entityType:o.value.entity_type,entityId:o.value.entity_id}},null,8,["blocks","meta-info"])])):u("",!0)}}};export{ye as default};

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.