import{S as M,i as D,s as N,k as p,a as T,r as w,Z as P,l as g,h as u,c as b,m as q,u as H,p as i,F as c,b as I,n as K,T as V,a3 as L,a4 as O,v as R}from"../chunks/index.d391d954.mjs";import{s as Z}from"../chunks/hovers.674bfacc.mjs";function Q(m,a,l){const n=m.slice();return n[1]=a[l],n}function C(m){let a,l,n=m[1].title+"",f,d,o,E,y,_,v,k,s,t=m[1].content+"",h;return{c(){a=p("article"),l=p("h2"),f=w(n),d=T(),o=p("a"),E=p("span"),y=w("permalink"),k=T(),s=new L(!1),h=T(),this.h()},l(e){a=g(e,"ARTICLE",{class:!0});var r=q(a);l=g(r,"H2",{id:!0});var A=q(l);f=H(A,n),d=b(A),o=g(A,"A",{href:!0,class:!0});var F=q(o);E=g(F,"SPAN",{class:!0});var S=q(E);y=H(S,"permalink"),S.forEach(u),F.forEach(u),A.forEach(u),k=b(r),s=O(r,!1),h=b(r),r.forEach(u),this.h()},h(){i(E,"class","visually-hidden"),i(o,"href",_="#"+m[1].slug),i(o,"class","permalink"),i(l,"id",v=m[1].slug),s.a=h,i(a,"class","faq")},m(e,r){I(e,a,r),c(a,l),c(l,f),c(l,d),c(l,o),c(o,E),c(E,y),c(a,k),s.m(t,a),c(a,h)},p(e,r){r&1&&n!==(n=e[1].title+"")&&R(f,n),r&1&&_!==(_="#"+e[1].slug)&&i(o,"href",_),r&1&&v!==(v=e[1].slug)&&i(l,"id",v),r&1&&t!==(t=e[1].content+"")&&s.p(t)},d(e){e&&u(a)}}}function j(m){let a,l,n,f,d,o,E,y,_,v,k=m[0].sections,s=[];for(let t=0;t<k.length;t+=1)s[t]=C(Q(m,k,t));return{c(){a=p("meta"),l=p("meta"),n=p("meta"),f=T(),d=p("div"),o=p("h1"),E=w("Frequently Asked Questions"),y=T(),_=p("div"),v=p("section");for(let t=0;t<s.length;t+=1)s[t].c();this.h()},l(t){const h=P("svelte-41e7m7",document.head);a=g(h,"META",{name:!0,content:!0}),l=g(h,"META",{name:!0,content:!0}),n=g(h,"META",{name:!0,content:!0}),h.forEach(u),f=b(t),d=g(t,"DIV",{class:!0});var e=q(d);o=g(e,"H1",{class:!0});var r=q(o);E=H(r,"Frequently Asked Questions"),r.forEach(u),y=b(e),_=g(e,"DIV",{class:!0});var A=q(_);v=g(A,"SECTION",{});var F=q(v);for(let S=0;S<s.length;S+=1)s[S].l(F);F.forEach(u),A.forEach(u),e.forEach(u),this.h()},h(){document.title="FAQ • SvelteKit",i(a,"name","twitter:title"),i(a,"content","SvelteKit FAQ"),i(l,"name","twitter:description"),i(l,"content","Frequently asked questions about SvelteKit"),i(n,"name","description"),i(n,"content","Frequently asked questions about SvelteKit"),i(o,"class","svelte-1ynmcr1"),i(_,"class","faqs-content svelte-1ynmcr1"),i(d,"class","faqs text svelte-1ynmcr1")},m(t,h){c(document.head,a),c(document.head,l),c(document.head,n),I(t,f,h),I(t,d,h),c(d,o),c(o,E),c(d,y),c(d,_),c(_,v);for(let e=0;e<s.length;e+=1)s[e].m(v,null)},p(t,[h]){if(h&1){k=t[0].sections;let e;for(e=0;e<k.length;e+=1){const r=Q(t,k,e);s[e]?s[e].p(r,h):(s[e]=C(r),s[e].c(),s[e].m(v,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=k.length}},i:K,o:K,d(t){u(a),u(l),u(n),t&&u(f),t&&u(d),V(s,t)}}}function x(m,a,l){let{data:n}=a;return Z(),m.$$set=f=>{"data"in f&&l(0,n=f.data)},[n]}class G extends M{constructor(a){super(),D(this,a,x,j,N,{data:0})}}export{G as default};
