var o="https://tcm-website-data.oss-cn-beijing.aliyuncs.com";async function e(n){try{{const t=`${o}/${n}`,s=await fetch(t);if(!s.ok)throw new Error(`Failed to fetch OSS data: ${n}`);return await s.json()}}catch(t){throw t}}async function a(){return e("content/site-config.json")}async function c(n=10){const t=await e("content/news.json");return n?t.slice(0,n):t}async function r(n=null){const t=await e("content/cases.json");return n?t.slice(0,n):t}async function i(){return e("content/team.json")}async function u(){return e("pages/home.json")}async function f(){return e("pages/about.json")}export{c as a,u as i,f as n,a as o,r,i as s,e as t};
