PageSourceSearch

https://drukarnia.com.ua/_nuxt/UuTUN8mH.js

js drukarnia.com.ua collected 2026-09-24 09:34:53 UTC 3,823 bytes, 1 lines download raw bytes

1import{_ as S}from"./WHxg4qAA.js";import{K as C,d as B,B as H,A as I,V as A,o as e,x as g,y,h as a,l as o,D as r,g as n,F as u,s as k,a4 as D,al as F,a2 as N,p as _,a9 as P,aa as R,_ as z}from"./BT-cyWfI.js";import{u as V}from"./C7g6iKMo.js";import{u as $}from"./Dr7QJCaG.js";async function j(i){const s=await C().get("/printing-houses",{query:{lang:i}});return s instanceof Error?[]:s}const E=i=>(P("data-v-40a4d1c4"),i=i(),R(),i),q={class:"mx-auto w-full max-w-[1200px] px-3 py-5 md:px-0"},K={class:"mb-5 text-center text-2xl font-black lg:text-4xl"},T={key:0,class:"py-20 text-center text-gray-500"},G={key:1,class:"py-20 text-center text-gray-500"},J={key:2,class:"grid gap-3"},O={class:"printing-house-logo"},Q=["href"],U=["src","alt"],W=["src","alt"],X={class:"min-w-0"},Y={class:"flex flex-wrap items-start justify-between gap-x-5 gap-y-1"},Z={class:"text-xl font-black"},tt=["href"],et={key:1},at={class:"printing-house-stars","aria-hidden":"true"},nt={class:"text-sm font-semibold text-gray-600 dark:text-gray-300"},ot={class:"mt-2 text-gray-700 dark:text-gray-300"},st={class:"mt-3 flex flex-wrap items-center gap-2 text-sm font-semibold"},it=["href"],rt=["href"],lt=E(()=>a("span",{class:"printing-house-go-break","aria-hidden":"true"},null,-1)),ct=["href"],gt={class:"printing-houses-contact",href:"mailto:[email protected]?subject=Додайте%20мою%20друкарню%20в%20список",target:"_blank",rel:"nofollow noopener"},_t=B({__name:"index",async setup(i){let s,p;const{t:l}=H(),d=I(),{data:m,pending:b}=([s,p]=A(()=>V("printing-houses",()=>j(d.language),{watch:[()=>d.language]})),s=await s,p(),s);$({title:l("navigation.printingHouses")});function w(c){return Math.max(0,Math.min(5,Number(c)||0))}function v(c,f){return Math.max(0,Math.min(100,(w(c)-f+1)*100))}return(c,f)=>{const M=S,L=D;return e(),g(L,{name:"public"},{default:y(()=>{var x;return[a("main",q,[a("h1",K,o(r(l)("navigation.printingHouses")),1),r(b)?(e(),n("div",T,"…")):(x=r(m))!=null&&x.length?(e(),n("div",J,[(e(!0),n(u,null,k(r(m),t=>(e(),n("article",{key:t._id,class:"printing-house-card"},[a("div",O,[t.logo&&t.website?(e(),n("a",{key:0,href:t.website,target:"_blank",rel:"nofollow noopener"},[a("img",{src:t.logo,alt:t.name,loading:"lazy"},null,8,U)],8,Q)):t.logo?(e(),n("img",{key:1,src:t.logo,alt:t.name,loading:"lazy"},null,8,W)):(e(),g(M,{key:2,height:"48",width:"34"}))]),a("div",X,[a("div",Y,[a("h2",Z,[t.website?(e(),n("a",{key:0,href:t.website,target:"_blank",rel:"noopener"},o(t.name),9,tt)):(e(),n("span",et,o(t.name),1))]),(e(),g(F(t.googleMapsLink?"a":"div"),{class:"printing-house-rating",href:t.googleMapsLink||void 0,target:t.googleMapsLink?"_blank":void 0,rel:t.googleMapsLink?"nofollow noopener":void 0,role:"img","aria-label":`${t.googleMapsRating} / 5`},{default:y(()=>[a("span",at,[(e(),n(u,null,k(5,h=>a("span",{key:h,class:"printing-house-star",style:N({"--star-fill":`${v(t.googleMapsRating,h)}%`})},"★",4)),64))]),a("span",nt,o(t.googleMapsRating)+" / "+o(t.googleMapsReviews),1)]),_:2},1032,["href","target","rel","aria-label"]))]),a("p",ot,o(t.description),1),a("div",st,[t.googleMapsLink&&t.address?(e(),n("a",{key:0,class:"text-primary-600 hover:underline dark:text-primary-400",href:t.googleMapsLink,target:"_blank",rel:"nofollow noopener"},o(t.address),9,it)):_("",!0),t.email?(e(),n("a",{key:1,class:"printing-house-email",href:`mailto:${t.email}`,target:"_blank",rel:"nofollow noopener"},o(t.email),9,rt)):_("",!0),lt,t.website?(e(),n("a",{key:2,class:"printing-house-go-button",href:t.website,target:"_blank",rel:"nofollow noopener"},"Перейти",8,ct)):_("",!0)])])]))),128))])):(e(),n("div",G,o(r(l)("searchPage.nothingFound")),1)),a("a",gt,o(r(l)("feedPage.printingHousesPage.contact")),1)])]}),_:1})}}}),xt=z(_t,[["__scopeId","data-v-40a4d1c4"]]);export{xt 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.