PageSourceSearch

https://www.telecom.mu/assets/SocialView-Dw4hxZ80.js

js telecom.mu collected 2026-10-02 05:25:50 UTC 2,622 bytes, 1 lines download raw bytes

1import{d as b,a3 as w,c as i,l as d,e as t,F as u,h as p,u as l,v as m,b as a,q as x,p as S,t as g,j as E,m as L,L as V,R as B,_ as N}from"./index-25iNi6zz.js";import{L as T}from"./LandingHero-BOMzqeyu.js";import{F as C}from"./FibreBackground-uBo2RFs6.js";const F={class:"social-page"},P={class:"container",style:{padding:"2.5rem 1.5rem 4rem"}},R={key:0,class:"card-grid"},q={key:1,class:"empty-state"},H={key:2,class:"empty-state"},I={key:3,class:"card-grid"},M={class:"card-media"},j=["src","alt"],z={key:1,class:"card-media-placeholder"},D={class:"card-body"},O={class:"clamp-2"},$={key:0,class:"clamp-3"},A=b({__name:"SocialView",setup(G){const{items:_,isPending:h,isError:y,enabled:f}=w(),v=m(()=>h.value&&f.value),n=m(()=>[..._.value].sort((o,e)=>o.sort-e.sort));function k(o){if(typeof document>"u")return o.replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'");const e=document.createElement("textarea");return e.innerHTML=o,e.value}function r(o){const e=(o||"").replace(/<[^>]*>/g," ");return k(e).replace(/\s+/g," ").trim()}function c(o){const e=r(o.description||"").replace(/https?:\/\/\S+/g,"").replace(/\s+/g," ").trim();return e.length>170?`${e.slice(0,170).trimEnd()}…`:e}return(o,e)=>(a(),i("article",F,[d(C),d(T,{bare:"",crumb:"Social",eyebrow:"Sustainability",title:"Social Impact",lead:"Our work with people, communities and partners across Mauritius - inclusion, education, health, and community resilience."}),t("section",P,[v.value?(a(),i("div",R,[(a(),i(u,null,p(6,s=>t("div",{key:s,class:"info-card"},[...e[0]||(e[0]=[t("div",{class:"skel-circle"},null,-1),t("div",{class:"skel-line",style:{width:"70%",height:"18px",margin:"0.85rem 0 0.4rem"}},null,-1),t("div",{class:"skel-line",style:{width:"100%",height:"12px"}},null,-1)])])),64))])):l(y)?(a(),i("div",q," Couldn't load social initiatives right now. Please try again later. ")):n.value.length===0?(a(),i("div",H," No social initiatives published yet. ")):(a(),i("div",I,[(a(!0),i(u,null,p(n.value,s=>(a(),x(l(B),{key:s.id,to:l(V)("/sustainability/social",s.id,s.title),class:"info-card"},{default:S(()=>[t("div",M,[s.image?(a(),i("img",{key:0,src:s.image,alt:s.title,loading:"lazy"},null,8,j)):(a(),i("div",z,[...e[1]||(e[1]=[t("i",{class:"fa-solid fa-people-group"},null,-1)])]))]),t("div",D,[t("h3",O,g(r(s.title)),1),c(s)?(a(),i("p",$,g(c(s)),1)):E("",!0),e[2]||(e[2]=t("span",{class:"more"},[L("Read more "),t("i",{class:"fa-solid fa-arrow-right"})],-1))])]),_:2},1032,["to"]))),128))]))])]))}}),U=N(A,[["__scopeId","data-v-5ef20a2a"]]);export{U 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.