PageSourceSearch

https://www.reading.edu.my/_nuxt/D1AQ-Myi.js

js reading.edu.my collected 2026-09-25 04:52:42 UTC 3,368 bytes, 1 lines download raw bytes

1import{_ as v}from"./DnHSH8Uy.js";import{_ as w}from"./BXmcznH0.js";import{aH as A,w as L,o as e,d as t,e as n,t as r,p as a,l as x,F as c,s as i,A as C,m as H,c as N,f as h,a as T}from"./CZfaGkfj.js";import{u as B,q as M}from"./CLPKUZik.js";const S=A("/images/icons/i-phone-primary.svg"),V={key:0,class:"py-20"},j={class:"container"},q={key:0,class:"text-heading-2 text-primary-800 font-medium mb-4"},D=["innerHTML"],F={key:2,class:"flex flex-col gap-20"},G={class:"w-full lg:w-[40%] shrink-0"},z={key:0,"slides-per-view":1,"space-between":0,pagination:!0,class:"w-full aspect-video"},E={class:"flex-1 flex flex-col gap-6"},I={class:"text-heading-4 text-primary-800 font-medium"},O={key:0,class:"flex items-center gap-2 text-sm text-neutral-400"},R=["innerHTML"],U={key:2,class:"flex flex-col gap-4"},W={key:0,class:"text-sm font-semibold text-black mb-2"},J={class:"flex flex-wrap gap-2"},K={key:3,class:"flex flex-wrap gap-4"},P=["href"],Q=["href"],X={key:4,class:"flex flex-wrap gap-3"},Y=["href","target"],le={__name:"SectionsSectionWidgetAccommodation",props:{section:Object},async setup(d){let m,_;const{data:y}=([m,_]=L(()=>B("accommodation-list",()=>M("accommodation").order("order","ASC").all())),m=await m,_(),m),p=T(()=>y.value||[]);return(Z,u)=>{const f=v;return d.section?(e(),t("section",V,[n("div",j,[d.section?.title?(e(),t("h2",q,r(d.section.title),1)):a("",!0),d.section?.description?(e(),t("div",{key:1,innerHTML:d.section.description,class:"text-base text-black leading-[1.5] mb-10"},null,8,D)):a("",!0),x(p)?.length?(e(),t("div",F,[(e(!0),t(c,null,i(x(p),(s,g)=>(e(),t("div",{key:g,class:C(["flex flex-col lg:flex-row gap-8 items-start",g%2===0?"":"lg:flex-row-reverse"])},[n("div",G,[s.images?.length>1?(e(),t("swiper-container",z,[(e(!0),t(c,null,i(s.images,(l,o)=>(e(),t("swiper-slide",{key:o},[H(f,{src:l.url,alt:s.title,class:"w-full h-full object-cover"},null,8,["src","alt"])]))),128))])):s.images?.length===1?(e(),N(f,{key:1,src:s.images[0].url,alt:s.title,class:"w-full aspect-video object-cover"},null,8,["src","alt"])):a("",!0)]),n("div",E,[n("h3",I,r(s.title),1),s.distance?(e(),t("div",O,[u[0]||(u[0]=n("i",{class:"pi pi-map-marker text-primary-800"},null,-1)),n("span",null,r(s.distance),1)])):a("",!0),s.description?(e(),t("div",{key:1,innerHTML:s.description,class:"text-base text-black leading-[1.5]"},null,8,R)):a("",!0),s.amenityGroups?.length?(e(),t("div",U,[(e(!0),t(c,null,i(s.amenityGroups,(l,o)=>(e(),t("div",{key:o},[l.label?(e(),t("p",W,r(l.label),1)):a("",!0),n("div",J,[(e(!0),t(c,null,i(l.items,(k,b)=>(e(),t("div",{key:b,class:"bg-neutral-100 px-3 py-2 text-sm"},r(k.label),1))),128))])]))),128))])):a("",!0),s.emails?.length||s.contacts?.length?(e(),t("div",K,[(e(!0),t(c,null,i(s.emails,(l,o)=>(e(),t("a",{key:"email-"+o,href:"mailto:"+l.label,class:"uorm-icon-link"},[u[1]||(u[1]=n("img",{src:w,alt:""},null,-1)),h(" "+r(l.label),1)],8,P))),128)),(e(!0),t(c,null,i(s.contacts,(l,o)=>(e(),t("a",{key:"contact-"+o,href:"tel:"+l.label.replace(/[^+\d]/g,""),class:"uorm-icon-link"},[u[2]||(u[2]=n("img",{src:S,alt:""},null,-1)),h(" "+r(l.label),1)],8,Q))),128))])):a("",!0),s.buttons?.length?(e(),t("div",X,[(e(!0),t(c,null,i(s.buttons,(l,o)=>(e(),t("a",{key:o,href:l.url,target:l.target||"_self",class:"uorm-cta"},r(l.label),9,Y))),128))])):a("",!0)])],2))),128))])):a("",!0)])])):a("",!0)}}};export{le 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.