import{t as e}from"./parse-date-BdYTmLpo.mjs";import{t}from"./got-BBDj7u1e.mjs";import{t as n}from"./timezone-keeL11Io.mjs";import{load as r}from"cheerio";const i={path:`/earthquake`,categories:[`forecast`],example:`/bmkg/earthquake`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`bmkg.go.id/`,`bmkg.go.id/gempabumi-terkini.html`]}],name:`Recent Earthquakes`,maintainers:[`Shinanory`],handler:a,url:`bmkg.go.id/`};async function a(){let i=`https://www.bmkg.go.id/gempabumi-terkini.html`,a=r((await t(i)).data),o=a(`div .table-responsive tbody tr`).toArray().map(t=>{t=a(t);let r=t.find(`td`);return{title:`${r[2].children[0].data}|${r[3].children[0].data}|${r[4].children[0].data}|${r[5].children[0].data}|${r[6].children[0].data}`,link:i,pubDate:n(e(`${r[1].children[0].data} ${r[1].children[2].data.slice(0,8)}`,`DD-MM-YY HH:mm:ss`),7)}});return{title:a(`title`).text(),link:i,description:`印尼气象气候和地球物理局 最近的地震(M ≥ 5.0) | BMKG earthquake`,item:o,language:`in`}}export{i as route};