module.exports=[193695,(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"))},70864,a=>{a.n(a.i(233290))},102894,a=>{a.n(a.i(666188))},13718,a=>{a.n(a.i(685523))},118198,a=>{a.n(a.i(545518))},262212,a=>{a.n(a.i(866114))},365893,a=>{a.n(a.i(868852))},750321,a=>{"use strict";let b=(process.env.NEXT_PUBLIC_AAU_API_BASE_URL||process.env.AAU_API_BASE_URL||"https://edu.yemenfrappe.com").replace(/\/$/,"");function c(a){let c=String(a||"").trim();if(!c)return"";if(/^https?:\/\/assets\//i.test(c)&&(c=c.replace(/^https?:\/\/assets\//i,"/assets/")),/^\/\/assets\//i.test(c)&&(c=c.replace(/^\/\/assets\//i,"/assets/")),/^(https?:)?\/\//i.test(c))return c.startsWith("//")?`https:${c}`:c;if(/^(data|blob):/i.test(c))return c;let d=c.startsWith("/")?c:`/${c}`;return d.startsWith("/assets/")||d.startsWith("/files/")||d.startsWith("/private/files/")?`${b}${d}`:d}a.s(["resolveMediaUrl",()=>c])},896195,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/PartnersPageContent.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/PartnersPageContent.tsx <module evaluation>","default")},339956,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/PartnersPageContent.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/PartnersPageContent.tsx","default")},992448,a=>{"use strict";a.i(896195);var b=a.i(339956);a.n(b)},135118,a=>{"use strict";var b=a.i(907997),c=a.i(750321);let d=(process.env.NEXT_PUBLIC_AAU_API_BASE_URL||process.env.AAU_API_BASE_URL||"https://edu.yemenfrappe.com").replace(/\/$/,"");function e(a){let b=String(a?.title||a?.titleAr||a?.name||"");return{id:String(a?.id||a?.name||b),nameAr:b,nameEn:String(a?.titleEn||a?.title_en||a?.nameEn||a?.name_en||b),logo:(0,c.resolveMediaUrl)(a?.image||a?.logo),type:String(a?.type||a?.partner_type||"").toLowerCase().includes("inter")?"international":"local",website:String(a?.website||a?.link||"")}}async function f(){try{var a;let b=await fetch(`${d}/api/partners`,{headers:{Accept:"application/json"},cache:"no-store"});if(!b.ok)return[];let c=(a=await b.json(),a?.ok&&a?.data!==void 0?a.data:a?.data?.ok&&a?.data?.data!==void 0?a.data.data:a?.data??a);return(Array.isArray(c)?c:Array.isArray(c?.data)?c.data:[]).map(e)}catch{return[]}}var g=a.i(992448);async function h(){let a=await f();return(0,b.jsx)(g.default,{initialPartners:a})}a.s(["default",()=>h,"dynamic",0,"force-dynamic","metadata",0,{title:"شركاؤنا | Our Partners",description:"شركاء جامعة الجيل الجديد من المؤسسات المحلية والدولية - Al-Jeel Al-Jadeed University Partners"},"revalidate",0,0],135118)}];

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