module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},50645,a=>{a.n(a.i(27572))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},14598,a=>{"use strict";var b=a.i(42036);async function c(a=1){let d=new URLSearchParams({page:String(a)});return(0,b.apiFetch)(`/api/topics?${d.toString()}`)}async function d(){let a=await c(1),b=[...a.data];for(let d=2;d<=a.last_page;d+=1){let a=await c(d);b.push(...a.data)}return b}async function e(a){try{return(await (0,b.apiFetch)(`/api/topics/${a}/toggle-publish`,{method:"PATCH"})).topic}catch(a){if(a instanceof Error&&a.message.includes("toggle-publish")&&a.message.includes("405"))return;throw a}}async function f(a){await (0,b.apiFetch)(`/api/topics/${a}`,{method:"DELETE"})}a.s(["deleteTopic",()=>f,"fetchAllTopics",()=>d,"fetchTopics",()=>c,"toggleTopicPublish",()=>e])},60897,a=>{a.n(a.i(460))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__d34b04b8._.js.map