1import{_ as s}from"./B7eF4aZA.js";import{a as t,c as a,f as e,g as n,q as g,m as i,i as o,r as d,t as l,h as r}from"./8DpF8wzA.js";import{u as c}from"./P4baaePn.js";import"./puHORNpQ.js";import"./DcHP4MKI.js";import"./Bz_IglSm.js";const p={style:{display:"flex","flex-wrap":"wrap","justify-content":"start","align-items":"center"}},m=["href","title"],u=["href","title"],f=e({__name:"Index",props:{data:{}},setup(e){const f=e,{isSdgsTagExist:b,sdgLabel:v,sdgsToImg:y,isContainsSDG:h}=function(){const{$i18n:s}=t(),e=a(()=>({img:s.t("sdg-badge-img"),tooltip:s.t("sdg-tooltip-message"),link:s.t("sdg-tooltip-link")})),n={"sdgs-no-poverty":"1.svg","sdgs-zero-hunger":"2.svg","sdgs-good-health-and-well-being":"3.svg","sdgs-quality-education":"4.svg","sdgs-gender-equality":"5.svg","sdgs-clean-water-and-sanitation":"6.svg","sdgs-affordable-and-clean-energy":"7.svg","sdgs-decent-work-and-economic-growth":"8.svg","sdgs-industry-innovation-and-infrastructure":"9.svg","sdgs-reduced-inequality":"10.svg","sdgs-sustainable-cities-and-communities":"11.svg","sdgs-responsible-consumption-and-production":"12.svg","sdgs-climate-action":"13.svg","sdgs-life-below-water":"14.svg","sdgs-life-on-land":"15.svg","sdgs-peace-justice-and-strong-institutions":"16.svg","sdgs-partnerships-for-the-goals":"17.svg"},g=Object.keys(n);return{sdgLabel:e,sdgsToImg:n,isSdgsTagExist:function(s){return Object.prototype.hasOwnProperty.call(n,s)},isContainsSDG:function(s){return s?.some?.(s=>g.includes(s))}}}(),{assetUrl:w}=c(),j=a(()=>h(f?.data?.tags_en));return(t,a)=>{const e=s;return r(),n("div",p,[i(j)?(r(),n("a",{key:0,class:"mr-1",href:i(v).link,"data-toggle":"tooltip","data-placement":"bottom",title:i(v).tooltip,"aria-label":"sdg content link"},[o(e,{src:i(v).img,class:"sdgLabelImg",alt:"sdgs-label",style:{width:"110px",height:"40px"},format:"webp",loading:"lazy"},null,8,["src"])],8,m)):g("",!0),(r(!0),n(d,null,l(t.data?.tags_en,(s,a)=>(r(),n("div",{key:a,class:"sdgs-banner mr-1"},[i(b)(s)?(r(),n("a",{key:0,href:t.data?.tags_news[a],"data-toggle":"tooltip","data-placement":"bottom",title:t.data?.tags_name[a],"aria-label":"sdg content link"},[o(e,{src:i(w)+"uploads/static/sdgs/"+i(y)[s],style:{width:"40px",height:"40px"},format:"webp",loading:"lazy",alt:"sdgs-badge"},null,8,["src"])],8,u)):g("",!0)]))),128))])}}}),b=Object.assign(f,{__name:"AppTagSDGs"});export{b 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.