1import{l as E,z as c,A as L,B as O,C as S,k as q,i as U,f as z,D as K,o as b,c as w,a as e,d as v,F as P,s as V,m as p,b as f,t as A,P as j}from"./B94wh3XU.js";import{_ as J}from"./Dv1Zv6nH.js";import{F as N}from"./CXrBqmVX.js";import G from"./e7axRTtY.js";import Q from"./mDftOBvi.js";import"./Cy93Av7R.js";function Z(l,o,u){const[t={},i]=[{},o],s=E(()=>c(l)),a=t.key||L([i,typeof s.value=="string"?s.value:"",...H(t)]);if(!a||typeof a!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+a);const n=a===i?"$f"+a:a;if(!t.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:h,lazy:_,default:d,transform:m,pick:g,watch:k,immediate:x,getCachedData:B,deep:R,dedupe:T,...I}=t,C=O({...S,...I,cache:typeof t.cache=="boolean"?void 0:t.cache}),$={server:h,lazy:_,default:d,transform:m,pick:g,immediate:x,getCachedData:B,deep:R,dedupe:T,watch:k===!1?[]:[C,s,...k||[]]};let r;return q(n,()=>{var F;(F=r==null?void 0:r.abort)==null||F.call(r,"Request aborted as another request to the same endpoint was initiated."),r=typeof AbortController<"u"?new AbortController:{};const D=c(t.timeout);let y;return D&&(y=setTimeout(()=>r.abort("Request aborted due to timeout."),D),r.signal.onabort=()=>clearTimeout(y)),(t.$fetch||globalThis.$fetch)(s.value,{signal:r.signal,...C}).finally(()=>{clearTimeout(y)})},$)}function H(l){var u;const o=[((u=c(l.method))==null?void 0:u.toUpperCase())||"GET",c(l.baseURL)];for(const t of[l.params||l.query]){const i=c(t);if(!i)continue;const s={};for(const[a,n]of Object.entries(i))s[c(a)]=c(n);o.push(s)}return o}const M={id:"interviews",class:"page"},X={class:"interviews"},W={class:"latest-interviews-latest-interviews"},Y=["href"],ee={class:"italic"},te={class:"link--elara"},ue=U({__name:"index",async setup(l){let o,u;const t=z(),{data:i}=q("index",()=>t.client.getByUID("home","home")),{data:s}=([o,u]=K(()=>Z("https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId=UClp1pm3Mb5zlOEXtIKZ9B2Q&maxResults=25&key=AIzaSyBDS6-JKGhSKQqZ1808x8tk5c9PBqy5nT8","$nARolazKHS")),o=await o,u(),o);return console.log(s,999),(a,n)=>{var d;const h=j,_=J;return b(),w("main",M,[e("section",X,[n[1]||(n[1]=e("h1",{class:"interviews-h1"},[v("Events"),e("br")],-1)),n[2]||(n[2]=e("p",{class:"interviews-p"},[e("br",{"data-desktop":""}),v(" Join events that inspire growth, celebrate innovation, and shape Africa's entrepreneurial future. "),e("br"),e("br")],-1)),e("ul",W,[(b(!0),w(P,null,V((d=p(i))==null?void 0:d.data.upcoming_events,(m,g)=>(b(),w("li",{key:g,class:"latest-interviews-interview"},[e("a",{href:m.link.url,target:"_blank"},[e("figure",null,[f(h,{field:m.cover},null,8,["field"])]),e("h3",null,A(m.title),1),e("time",null,[e("i",ee,[f(p(Q)),v(A(("Format"in a?a.Format:p(N))("Jan 1, 2000",m.date_and_time)),1)])]),e("button",te,[e("span",null,[n[0]||(n[0]=e("i",null,"Register",-1)),e("em",null,[f(p(G))])])])],8,Y)]))),128))])]),f(_,{page:p(i)},null,8,["page"])])}}});export{ue 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.