PageSourceSearch

https://csts-enterprises.com/_nuxt/B72QIbdW.js

js csts-enterprises.com collected 2026-10-07 03:12:42 UTC 5,740 bytes, 1 lines download raw bytes

1import{_ as G}from"./CATt7mgs.js";import{_ as J,u as K}from"./CqqAyZPe.js";import X from"./rIyIKWAk.js";import{l as Q,J as W,u as Y,K as Z,G as ee,k as _,r as d,f as te,h as se,g as oe,c as n,a as t,B,m as r,b as u,x as e,t as x,F as g,y as L,w as ne,o,d as le,aw as ae}from"./BMr0FxuO.js";import{_ as ie,S as re,A as ce}from"./Bg4SH64J.js";import{u as de,N as ue,P as pe}from"./DZLm6Fjc.js";import{u as me}from"./Cd-B812m.js";import{a as _e}from"./Wk6TEI8H.js";import"./DlAUqK2U.js";const xe={class:"bg-pink1 newsroom-detail pt-[90px]","data-header":"dark"},fe={key:0,class:"flex items-center justify-center",style:{height:"50dvh"}},ve={key:1,class:"content min-h-dvh pt-[30px] pb-[100px]"},be={class:"mb-4 text-base"},he={class:"mb-[30px] text-[40px] max-lg:text-[32px]"},ge={class:"border-border1/20 flex h-[100px] items-center gap-3 border-t"},we={class:"border-border1/20 flex h-[100px] items-center gap-3 border-t"},ye=["onClick"],ke={class:"business_swiper relative mb-[30px] overflow-hidden pb-10"},Ce={key:0,class:"img_cover mb-4 aspect-[1100/588]"},Se=["src"],Be={class:"swiper-wrapper"},Le=["onClick"],Te=["src"],Ie=["src"],je={class:"gallery-overlay z-20"},Ee={key:0,class:"image-desc z-20"},Ne={key:2,class:"flex h-[60px] w-full items-center justify-between bg-white px-5"},ze={class:"flex w-[200px] flex-1 justify-end gap-2 [&>button]:hover:cursor-pointer"},Pe={key:1,class:"flex items-start justify-between gap-[70px] max-lg:flex-col"},$e={class:"min-w-0 flex-1 max-w-full"},De={class:"detail_content mb-[60px] flex flex-col"},He={key:0,class:"mb-4 text-3xl max-lg:text-lg max-lg:font-semibold"},Ae=["innerHTML"],Xe=Q({__name:"detail",setup(Fe){const{t:w}=W();Y({title:w("menu.newsroom")});const y=Z(),f=ee(),{getCmsDetail:T}=me(),I=_e(),j=_(()=>[{label:"CSTS",to:y("/")},{label:w("menu.newsroom"),to:y("/newsroom"+(f.query.category_id?`?category_id=${f.query.category_id}`:""))},{label:l.value?.title||"Detail"}]),l=d({}),c=d([]),p=d([]),v=d(!1),E=["share","mail","face","x","in"];let m=null;const b=d(null);te(()=>b.value,a=>{a&&(m=new re(b.value,{modules:[pe,ce],rewind:!0,pagination:{el:".swiper-pagination",type:"fraction"},autoplay:{delay:1e4,disableOnInteraction:!1,pauseOnMouseEnter:!0}}))});const h=d(!1),k=d(-1),N=a=>{k.value=a,h.value=!0},z=_(()=>c.value.map(a=>a.url));se(()=>{m?.destroy()});const{shareToX:P,copyLink:$,shareToFacebook:D,shareToLinkedin:H,shareToEmail:A}=de({title:_(()=>l.value?.title??""),description:"CSTS Enterprises",imageUrl:_(()=>l.value?.cover_image??"")}),F=a=>{switch(a){case"share":$();break;case"face":D();break;case"x":P();break;case"in":H();break;case"mail":A();break}},{formatDate:M}=K();oe(()=>{U()});const U=async()=>{v.value=!0;try{const a=await T(f.query?.id);l.value=a,c.value=a?.images||[],p.value=(a?.videos||[]).map(s=>s.url)}finally{v.value=!1}};return(a,s)=>{const V=G,q=J,C=X,S=ae,O=ie;return o(),n(g,null,[t("div",xe,[u(V,{items:e(j)},null,8,["items"]),e(v)?(o(),n("div",fe,[u(q)])):(o(),n("div",ve,[t("p",be,x(e(M)(e(l)?.public_date)),1),t("h3",he,x(e(l)?.title),1),s[8]||(s[8]=t("p",{class:"mb-4 text-xs"},"SHARE",-1)),t("div",ge,[t("div",we,[(o(),n(g,null,L(E,i=>t("a",{class:"flex size-9 cursor-pointer items-center justify-center rounded-full border border-black/20 p-1.5 transition-all duration-200 hover:border-gold hover:bg-gold active:scale-95 hover:[&>*]:text-white",onClick:()=>F(i)},[u(C,{name:e(I)[i],class:"size-5 text-black transition-colors duration-200"},null,8,["name"])],8,ye)),64))])]),e(c).length>0||e(p).length>0?(o(),B(O,{key:0},{default:ne(()=>[t("div",ke,[e(p).length>0?(o(),n("div",Ce,[t("video",{src:e(p)[0],controls:"",class:"h-full w-full object-cover",preload:"metadata"},null,8,Se)])):r("",!0),e(c).length>0?(o(),n("div",{key:1,ref_key:"swiperEl",ref:b,class:"swiper-container"},[t("div",Be,[(o(!0),n(g,null,L(e(c),(i,R)=>(o(),n("div",{class:"swiper-slide gallery_item relative aspect-[1100/588] overflow-hidden",onClick:()=>N(R)},[t("img",{src:i.url,class:"pointer-events-none absolute inset-0 h-full w-full scale-110 object-cover",style:{filter:"blur(20px)"},"aria-hidden":"true"},null,8,Te),s[4]||(s[4]=t("div",{class:"bg-pink1/50 absolute inset-0"},null,-1)),t("img",{src:i.url,class:"absolute inset-0 z-10 h-full w-full object-contain"},null,8,Ie),t("div",je,[u(C,{name:"lucide:zoom-in",class:"gallery-icon"})]),i.captions?(o(),n("div",Ee,[s[3]||(s[3]=t("p",{class:"mb-2 text-xl font-bold"},"Photo Captions:",-1)),le(" "+x(i.captions),1)])):r("",!0)],8,Le))),256))])],512)):r("",!0),e(c).length>1?(o(),n("div",Ne,[s[5]||(s[5]=t("p",{class:"w-[200px] flex-1"},null,-1)),s[6]||(s[6]=t("div",{class:"swiper-pagination relative! top-0! w-[100px]! shrink-0"},null,-1)),t("div",ze,[u(S,{variant:"outline",icon:"lucide:chevron-left",onClick:s[0]||(s[0]=i=>e(m)?.slidePrev())}),u(S,{variant:"outline",icon:"lucide:chevron-right",onClick:s[1]||(s[1]=i=>e(m)?.slideNext())})])])):r("",!0)])]),_:1})):r("",!0),e(l)?.content&&e(l).content!=""?(o(),n("div",Pe,[s[7]||(s[7]=t("div",{class:"flex w-[230px] shrink-0 flex-col gap-2"},[t("p",{class:"text-xs font-bold"},"New powered by"),t("p",{class:"text-base text-[#6B6B6B]"}
1,"CSTS Enterprises")],-1)),t("div",$e,[t("div",De,[e(l)?.sub_title?(o(),n("h5",He,x(e(l)?.sub_title),1)):r("",!0),e(l)?.content?(o(),n("div",{key:1,class:"desc prose prose-neutral w-full max-w-none overflow-hidden text-base break-words max-lg:text-xs",style:{"--tw-prose-body":"inherit","--tw-prose-headings":"inherit","--tw-prose-bold":"inherit","--tw-prose-links":"inherit"},innerHTML:e(l).content},null,8,Ae)):r("",!0)])])])):r("",!0)]))]),e(c).length>0?(o(),B(e(ue),{key:0,visible:e(h),imgs:e(z),index:e(k),onHide:s[2]||(s[2]=i=>h.value=!1)},null,8,["visible","imgs","index"])):r("",!0)],64)}}});export{Xe 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.