File: //var/www/quadcode.com/build/server/chunks/10-fd425db4.js
import { t } from './shared-server-c92518c6.js';
import { a } from './index-d9e8b680.js';
const w=async({fetch:a$1,setHeaders:i,locals:d})=>{const s=d.lang;if(!t?.PRIVATE_WP_URL)throw a(404,{message:".env PRIVATE_WP_URL: undefined"});i({"Cache-Control":"public, max-age=3600"});const o=await a$1(`${t.PRIVATE_WP_URL}/wp-json/api/v1/webinars?lang=${s}`,{method:"POST",headers:{"content-type":"Application/json"},body:JSON.stringify({isFeatured:!0,limit:1})});if(!o.ok)throw a(404,{message:"Futured Webinar not found"});const e=(await o.json()).webinars[0],r={limit:3,offset:0};e&&(r.excludeIds=[e.id]);const p=(await(await a$1(`${t.PRIVATE_WP_URL}/wp-json/api/v1/webinars?lang=${s}`,{method:"POST",headers:{"content-type":"Application/json"},body:JSON.stringify(r)})).json()).webinars;return {featured:e,webinars:p}};
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: w
});
const index = 10;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-86179728.js')).default;
const server_id = "src/routes/[...lang=locale]/brokerage-profit-calculator/+page.server.ts";
const imports = ["_app/immutable/nodes/10.20eeb670.js","_app/immutable/chunks/index.614a0f19.js","_app/immutable/chunks/index.f20d589e.js","_app/immutable/chunks/SeoHead.27938517.js","_app/immutable/chunks/Lang.c84e954b.js","_app/immutable/chunks/singletons.f1c5a7dd.js","_app/immutable/chunks/seo-image.c1f13bb2.js","_app/immutable/chunks/schemaUnified.46e5fa2f.js","_app/immutable/chunks/Button.2c063e78.js","_app/immutable/chunks/moment.55cb88ed.js","_app/immutable/chunks/index.0fccc2a6.js","_app/immutable/chunks/Header.ab45ac15.js","_app/immutable/chunks/HeaderBanner.63651ce0.js"];
const stylesheets = ["_app/immutable/assets/10.1a0a65a0.css","_app/immutable/assets/Lang.a5c9985e.css","_app/immutable/assets/Button.87311a9f.css","_app/immutable/assets/Header.739a7047.css","_app/immutable/assets/HeaderBanner.38a85029.css"];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=10-fd425db4.js.map