import{s as C,n as b,o as E}from"../chunks/scheduler.d6170356.js";import{S as k,i as A,g as r,s as p,r as D,A as j,h as m,f as a,c as f,j as P,u as q,x as y,k as $,y as R,a as s,v as U,d as z,t as G,w as N}from"../chunks/index.fcd4cc08.js";import{H as Y}from"../chunks/Heading.8660bd0e.js";function B(L){let n,d,u,g,o,_,i,T="Spaces also accommodate custom HTML for your app instead of using Streamlit or Gradio. Set <code>sdk: static</code> inside the <code>YAML</code> block at the top of your Spaces <strong>README.md</strong> file. Then you can place your HTML code within an <strong>index.html</strong> file.",S,l,x="Here are some examples of Spaces using custom HTML:",H,c,w='<li><a href="https://huggingface.co/spaces/mishig/smarter_npc" rel="nofollow">Smarter NPC</a>: Display a PlayCanvas project with an iframe in Spaces.</li> <li><a href="https://huggingface.co/spaces/pierreant-p/huggingfab" rel="nofollow">Huggingfab</a>: Display a Sketchfab model in Spaces.</li>',M,h,v;return o=new Y({props:{title:"Static HTML Spaces",local:"static-html-spaces",headingTag:"h1"}}),{c(){n=r("meta"),d=p(),u=r("p"),g=p(),D(o.$$.fragment),_=p(),i=r("p"),i.innerHTML=T,S=p(),l=r("p"),l.textContent=x,H=p(),c=r("ul"),c.innerHTML=w,M=p(),h=r("p"),this.h()},l(t){const e=j("svelte-u9bgzb",document.head);n=m(e,"META",{name:!0,content:!0}),e.forEach(a),d=f(t),u=m(t,"P",{}),P(u).forEach(a),g=f(t),q(o.$$.fragment,t),_=f(t),i=m(t,"P",{"data-svelte-h":!0}),y(i)!=="svelte-1qcbiku"&&(i.innerHTML=T),S=f(t),l=m(t,"P",{"data-svelte-h":!0}),y(l)!=="svelte-eya07n"&&(l.textContent=x),H=f(t),c=m(t,"UL",{"data-svelte-h":!0}),y(c)!=="svelte-1mc4va3"&&(c.innerHTML=w),M=f(t),h=m(t,"P",{}),P(h).forEach(a),this.h()},h(){$(n,"name","hf:doc:metadata"),$(n,"content",F)},m(t,e){R(document.head,n),s(t,d,e),s(t,u,e),s(t,g,e),U(o,t,e),s(t,_,e),s(t,i,e),s(t,S,e),s(t,l,e),s(t,H,e),s(t,c,e),s(t,M,e),s(t,h,e),v=!0},p:b,i(t){v||(z(o.$$.fragment,t),v=!0)},o(t){G(o.$$.fragment,t),v=!1},d(t){t&&(a(d),a(u),a(g),a(_),a(i),a(S),a(l),a(H),a(c),a(M),a(h)),a(n),N(o,t)}}}const F='{"title":"Static HTML Spaces","local":"static-html-spaces","sections":[],"depth":1}';function I(L){return E(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Q extends k{constructor(n){super(),A(this,n,I,B,C,{})}}export{Q as component};
