text: import{S as e,i as t,s as a,a as s,e as n,t as r,q as o,d as c,c as d,b as i,f as l,g as h,h as u,j as p,k as f,l as g,n as m}from"./client.19517dc8.js";function v(e){let t,a,v,j,w,x,E=e[0].title.rendered+"",H=e[0].content.rendered+"";return document.title=t=e[0].title.rendered,{c(){a=s(),v=n("h1"),j=r(E),w=s(),x=n("div"),this.h()},l(e){o('[data-svelte="svelte-30ffao"]',document.head).forEach(c),a=d(e),v=i(e,"H1",{});var t=l(v);j=h(t,E),t.forEach(c),w=d(e),x=i(e,"DIV",{class:!0}),l(x).forEach(c),this.h()},h(){u(x,"class","content")},m(e,t){p(e,a,t),p(e,v,t),f(v,j),p(e,w,t),p(e,x,t),x.innerHTML=H},p(e,[a]){1&a&&t!==(t=e[0].title.rendered)&&(document.title=t),1&a&&E!==(E=e[0].title.rendered+"")&&g(j,E),1&a&&H!==(H=e[0].content.rendered+"")&&(x.innerHTML=H)},i:m,o:m,d(e){e&&c(a),e&&c(v),e&&c(w),e&&c(x)}}}async function j({params:e,query:t}){const a=await this.fetch("https://sudo.anoram.com/madhu/wp-json/wp/v2/pages?slug="+e.slug),s=await a.json();if(0!=s.length)return{page:s[0]};this.redirect(301,"error")}function w(e,t,a){let{page:s}=t;return e.$$set=e=>{"page"in e&&a(0,s=e.page)},[s]}export default class extends e{constructor(e){super(),t(this,e,w,v,a,{page:0})}}export{j as preload};
  