1import{_ as B}from"./OC0TVCiO.js";import{d as E,o,c as T,a5 as V,h as c,g as i,b as e,f as d,i as p,s as _,t as m,j as f,x as b,l as v,a7 as L}from"./ByJxGNNG.js";import{_ as M}from"./p3Pw3hXi.js";import{g as l}from"./CnWJqk6D.js";import{u as N}from"./B58LA1wW.js";import"./BBGk3-Jp.js";const C={key:0},D={key:0,class:"tide-event-search-result__location rpl-type-label-small rpl-u-margin-t-3"},j=E({__name:"TideEventSearchResultList",props:{result:{},displayMeta:{type:Boolean,default:!0}},setup(t){const a=t,{title:y,url:h,updated:R,summary:g}=N(a.result),r=v(()=>L({from:l(a.result,"field_event_date_start_value",!0),to:l(a.result,"field_event_date_end_value",!0)})),u=v(()=>{const s=l(a.result,"field_event_details_event_locality",!0);return Array.isArray(s)?s[0]:s});return(s,n)=>{const x=B,S=b,k=M;return o(),T(k,{class:"tide-search-result",title:e(y),url:e(h),content:e(g),updated:t.displayMeta?void 0:e(R),"data-component":"event-search-result"},V({default:c(()=>[t.displayMeta&&e(u)?(o(),d("div",D,[i(S,{name:"icon-pin",colour:"default"}),n[1]||(n[1]=p("span",{class:"rpl-u-visually-hidden"},"Location: ",-1)),_(" "+m(e(u)),1)])):f("",!0)]),_:2},[t.displayMeta?{name:"meta",fn:c(()=>[i(x,{variant:"neutral",label:"Event"}),e(r)?(o(),d("span",C,[n[0]||(n[0]=p("span",{class:"rpl-u-visually-hidden"},"Date: ",-1)),_(" "+m(e(r)),1)])):f("",!0)]),key:"0"}:void 0]),1032,["title","url","content","updated"])}}}),z=Object.assign(j,{__name:"TideEventSearchResultList"});export{z 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.