PageSourceSearch

https://uzcard.uz/_nuxt/Bb57LV4F.js

js uzcard.uz collected 2026-09-24 20:25:04 UTC 6,233 bytes, 1 lines download raw bytes

1import K from"./CcRrgSYM.js";import{C as O,S as Q,N as U}from"./Do81kOpF.js";import{u as L,f as P}from"./DsE6SUBS.js";import{u as X}from"./CU98WfIC.js";import{d as Y,u as Z,a as ee,w as V,r as H,c as p,o as te,b as l,e as a,f as _,g as o,h as e,t as i,i as u,F as g,j as v,k as m,l as b}from"./D1xWsT1R.js";import"./BQkc-AXV.js";const se={key:0,class:"flex justify-center"},le={key:1,class:"inside"},oe={class:"xl:px-[80px] px-0"},ne={class:"flex h-full"},ae={class:"lg:flex flex-col hidden lg:w-[350px] w-full"},ie={class:"bg-blue-3 p-6 text-white md:rounded-[48px] rounded-2xl max-h-[720px] h-full flex flex-col justify-between"},re={class:"justify-between flex flex-col"},de={class:"rounded-full w-[35px] h-[35px] text-white flex items-center justify-center bg-orange mr-2"},ce={class:"flex flex-col"},ue={key:0,class:"lg:text-2xl md:text-xl text-base font-[Mulish-SemiBold] mb-5"},_e={class:"flex gap-4 text-white"},xe={class:"text-primary-500"},he={class:"flex items-center gap-1 xl:px-0"},fe={class:"text-sm font-medium"},me={key:0,class:"flex flex-col"},pe={class:"mb-3 font-[TT-Interphases-Pro-Medium] text-lg"},ge={class:"flex"},ve=["href","title"],be={class:"lg:w-[calc(100%-350px)] w-full 2xl:pl-[50px] lg:pl-5 pl-0"},we={class:""},ke=["src"],ye={key:1,class:"md:rounded-[48px] rounded-2xl overflow-hidden pb-[calc(8%/8*100)] relative"},Te=["src","alt"],je={class:"flex flex-col lg:hidden mt-5"},Ce={class:"bg-blue-3 p-6 text-white md:rounded-[48px] rounded-2xl max-h-[720px] h-full flex flex-col justify-between"},Me={class:"justify-between flex flex-col"},Be={class:"rounded-full w-[35px] h-[35px] text-white flex items-center justify-center bg-orange mr-2"},Ne={class:"flex flex-col"},$e={key:0,class:"lg:text-2xl md:text-xl text-base font-[Mulish-SemiBold] mb-5 md:leading-7 md:leading-5 leading-normal"},Se={class:"flex gap-4 text-white"},ze={class:"text-primary-500"},Le={class:"flex items-center gap-1 xl:px-0"},Pe={class:"text-sm font-medium"},Ve={key:0,class:"flex flex-col mt-4"},He={class:"mb-3 font-[TT-Interphases-Pro-Medium] text-lg"},Ie={class:"flex"},De=["href","title"],Ee=["innerHTML"],Fe={key:2,class:"text-center"},Oe=Y({__name:"[slug]",async setup(Ae){var T;let c,x;const I=Z().params,D=ee(),{data:h}=([c,x]=V(()=>L().getContactPage()),c=await c,x(),c),{data:E}=([c,x]=V(()=>L().getNewsPost(I.slug)),c=await c,x(),c),t=((T=E.value)==null?void 0:T[0])||null,{recordView:F}=X(),f=H(0),w=p(()=>{var n,d;return((d=(n=t.acf)==null?void 0:n.news_gallery)==null?void 0:d.length)>0}),A=p(()=>{var n,d,r;return(r=(d=(n=t._embedded)==null?void 0:n["wp:featuredmedia"])==null?void 0:d[0])==null?void 0:r.source_url});p(()=>w.value?t.acf.news_gallery.map(n=>n.url):[]);const k=()=>{D.back()},R=()=>{window.scrollTo({top:0,behavior:"smooth"})},y=H(!0);te(()=>{R(),t!=null&&t.id&&F(t.id,"news").then(n=>{f.value=n}).catch(()=>{f.value=0}),setTimeout(()=>{y.value=!1},300)});const G=n=>{const d=document.createElement("textarea");return d.innerHTML=n,d.value};return(n,d)=>{var j,C,M,B,N,$,S,z;const r=K,W=Q,q=U,J=O;return y.value?(l(),a("div",se,[_(r,{name:"svg-spinners:90-ring-with-bg",size:"48"})])):o(t)?(l(),a("article",le,[e("div",oe,[e("div",ne,[e("div",ae,[e("div",ie,[e("div",re,[e("button",{onClick:k,class:"flex items-center mb-5"},[e("span",de,[_(r,{name:"heroicons-outline:chevron-left"})]),e("span",null,i(n.$t("back")),1)]),e("div",ce,[e("div",null,[(j=o(t).title)!=null&&j.rendered?(l(),a("h4",ue,i(G(o(t).title.rendered)),1)):u("",!0)]),e("div",_e,[e("div",xe,i(o(P)(o(t).date)),1),e("div",he,[_(r,{name:"heroicons-outline:eye",size:"20"}),e("span",fe,i(f.value),1)])])])]),(M=(C=o(h))==null?void 0:C.acf)!=null&&M.social_links.length?(l(),a("div",me,[e("span",pe,i(n.$t("share")),1),e("div",ge,[(l(!0),a(g,null,v(o(h).acf.social_links,s=>(l(),a("a",{key:s.id,href:s.social_link,title:s.social_name,target:"_blank",class:"group border-[3px] w-[50px] h-[50px] border-blue-3 hover:bg-white flex justify-center items-center p-2 border-white rounded-full cursor-pointer z-[2] relative mr-[10px] last:mr-0"},[s!=null&&s.social_icon?(l(),m(r,{key:0,class:"w-[25px] h-[25px] dark:text-white text-white group-hover:text-blue-3",name:`fa-brands:${s.social_icon}`},null,8,["name"])):u("",!0)],8,ve))),128))])])):u("",!0)])]),e("div",be,[e("div",we,[w.value?(l(),m(J,{key:0,itemsToShow:1,"wrap-around":!0,touchDrag:!0,transition:500},{addons:b(()=>[_(q)]),default:b(()=>[(l(!0),a(g,null,v(o(t).acf.news_gallery,s=>(l(),m(W,{key:s,class:"md:rounded-[48px] rounded-2xl overflow-hidden pb-[calc(8%/8*100)] relative"},{default:b(()=>[e("img",{src:s,alt:"#",class:"w-full h-full absolute left-0 top-0 object-contain"},null,8,ke)]),_:2},1024))),128))]),_:1})):A.value?(l(),a("div",ye,[e("img",{src:o(t)._embedded["wp:featuredmedia"][0].source_url,alt:o(t).title.rendered,class:"w-full h-full absolute left-0 top-0 object-contain"},null,8,Te)])):u("",!0)]),e("div",je,[e("div",Ce,[e("div",Me,[e("button",{onClick:k,class:"flex items-center mb-5"},[e("span",Be,[_(r,{name:"heroicons-outline:chevron-left"})]),e("span",null,i(n.$t("back")),1)]),e("div",Ne,[(B=o(t).title)!=null&&B.rendered?(l(),a("h4",$e,i(o(t).title.rendered),1)):u("",!0),e("div",Se,[e("div",ze,i(o(P)(o(t).date)),1),e("div",Le,[_(r,{name:"heroicons-outline:eye",size:"20"}),e("span",Pe,i(f.value),1)])])])]),($=(N=o(h))==null?void 0:N.acf)!=null&&$.social_links.length?(l(),a("div",Ve,[e("span",He,i(n.$t("share")),1),e("div",Ie,[(l(!0),a(g,null,v(o(h).acf.social_links,s=>(l(),a("a",{key:s.id,href:s.social_link,title:s.social_name,target:"_blank",class:"group border-[3px] w-[50px] h-[50px] border-blue-3 hover:bg-white flex justify-center items-center p-2 border-white rounded-full cursor-pointer z-[2] relative mr-[10px] last:mr-0"},[s!=null&&s.social_icon?(l(),m(r,{key:0,class:"w-[25px] h-[25px] dark:text-white text-white group-hover:text-blue-3",name:`fa-brands:${s.social_icon}`},null,8,["name"])):u("",!0)],8,De))),128))])])):u("",!0)])])])]),(z=(S=o(t))==null?void 0:S.content)!=null&&z.rendered?(l(),a("div",{key:0,class:"md:rounded-[48px] rounded-2xl bg-gray-10 dar
1k:bg-darkness xl:p-20 p-5 lg:mt-[50px] mt-5",innerHTML:o(t).content.rendered},null,8,Ee)):u("",!0)])])):(l(),a("p",Fe,i(n.$t("not_found")),1))}}});export{Oe 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.