import{l as re,p as t,i as S,c as d,t as b,e as ve,d as le,f as fe}from"../chunks/disclose-version.CyWgP0ZN.js";import{t as se,C as f,D as ne,E as P,w as de,F as i,G as c,I as R,J as _,K as l,L as g,M as u,N as _e}from"../chunks/utils.CCeXIeLi.js";import{s as ie,i as ce,a as x,b as v,c as oe,d as ge}from"../chunks/ProgressBar.svelte_svelte_type_style_lang.CzTHQWo8.js";function ue(w,e,o,H){var s=w.__styles??(w.__styles={});s[e]!==o&&(s[e]=o,o==null?w.style.removeProperty(e):w.style.setProperty(e,o,""))}const be=!0,Ae=Object.freeze(Object.defineProperty({__proto__:null,prerender:be},Symbol.toStringTag,{value:"Module"}));var he=b("
"),xe=b("
"),we=b("
"),me=b('
');function Pe(w,e){const o=ie(e),H=re(e,["children","$$slots","$$events","$$legacy"]);se(e,!1);const s=u(),y=u(),m=u(),z=u(),D=u(),M=u();let T=t(e,"background",8,"bg-surface-100-800-token"),B=t(e,"border",8,""),J=t(e,"padding",8,"p-4"),K=t(e,"shadow",8,""),A=t(e,"spacing",8,"space-y-4"),j=t(e,"gridColumns",8,"grid-cols-[auto_1fr_auto]"),G=t(e,"gap",8,"gap-4"),O=t(e,"regionRowMain",8,""),k=t(e,"regionRowHeadline",8,""),E=t(e,"slotLead",8,""),I=t(e,"slotDefault",8,""),N=t(e,"slotTrail",8,""),U=t(e,"label",8,""),V=t(e,"labelledby",8,"");const W="flex flex-col",X="grid items-center",C="",q="flex-none flex justify-between items-center",p="flex-auto",Q="flex-none flex items-center space-x-4";f(()=>(l(T()),l(B()),l(A()),l(J()),l(K()),l(H)),()=>{_(s,`${W} ${T()} ${B()} ${A()} ${J()} ${K()} ${H.class??""}`)}),f(()=>(l(j()),l(G()),l(O())),()=>{_(y,`${X} ${j()} ${G()} ${O()}`)}),f(()=>l(k()),()=>{_(m,`${C} ${k()}`)}),f(()=>l(E()),()=>{_(z,`${q} ${E()}`)}),f(()=>l(I()),()=>{_(D,`${p} ${I()}`)}),f(()=>l(N()),()=>{_(M,`${Q} ${N()}`)}),ne(),ce();var h=me(),L=i(h),F=i(L);S(F,()=>o.lead,r=>{var a=he(),n=i(a);x(n,e,"lead",{},null),c(a),P(()=>v(a,`app-bar-slot-lead ${g(z)??""}`)),d(r,a)});var $=R(F,2),Y=i($);x(Y,e,"default",{},null),c($);var Z=R($,2);S(Z,()=>o.trail,r=>{var a=xe(),n=i(a);x(n,e,"trail",{},null),c(a),P(()=>v(a,`app-bar-slot-trail ${g(M)??""}`)),d(r,a)}),c(L);var ee=R(L,2);S(ee,()=>o.headline,r=>{var a=we(),n=i(a);x(n,e,"headline",{},null),c(a),P(()=>v(a,`app-bar-row-headline ${g(m)??""}`)),d(r,a)}),c(h),P(()=>{v(h,`app-bar ${g(s)??""}`),oe(h,"aria-label",U()),oe(h,"aria-labelledby",V()),v(L,`app-bar-row-main ${g(y)??""}`),v($,`app-bar-slot-default ${g(D)??""}`)}),d(w,h),de()}var ye=b('
'),Se=b(''),Re=b(''),He=b(''),Le=b(''),Fe=b(''),Ce=b('
');function pe(w,e){const o=ie(e),H=re(e,["children","$$slots","$$events","$$legacy"]);se(e,!1);const s=u(),y=u(),m=u(),z=u(),D=u(),M=u(),T=u(),B=u();let J=t(e,"scrollbarGutter",8,"auto"),K=t(e,"regionPage",8,""),A=t(e,"slotHeader",8,"z-10"),j=t(e,"slotSidebarLeft",8,"w-auto"),G=t(e,"slotSidebarRight",8,"w-auto"),O=t(e,"slotPageHeader",8,""),k=t(e,"slotPageContent",8,""),E=t(e,"slotPageFooter",8,""),I=t(e,"slotFooter",8,"");const N="w-full h-full flex flex-col overflow-hidden",U="w-full h-full flex overflow-hidden",V="flex-1 overflow-x-hidden flex flex-col",W="flex-none overflow-x-hidden overflow-y-auto",X="flex-none overflow-x-hidden overflow-y-auto";f(()=>l(H),()=>{_(s,`${N} ${H.class??""}`)}),f(()=>l(A()),()=>{_(y,`${A()}`)}),f(()=>l(j()),()=>{_(m,`${W} ${j()}`)}),f(()=>l(G()),()=>{_(z,`${X} ${G()}`)}),f(()=>l(O()),()=>{_(D,`${O()}`)}),f(()=>l(k()),()=>{_(M,`${k()}`)}),f(()=>l(E()),()=>{_(T,`${E()}`)}),f(()=>l(I()),()=>{_(B,`${I()}`)}),ne(),ce();var C=Ce(),q=i(C);S(q,()=>o.header,r=>{var a=ye(),n=i(a);x(n,e,"header",{},null),c(a),P(()=>v(a,`flex-none ${g(y)??""}`)),d(r,a)});var p=R(q,2);v(p,`flex-auto ${U}`);var Q=i(p);S(Q,()=>o.sidebarLeft,r=>{var a=Se(),n=i(a);x(n,e,"sidebarLeft",{},null),c(a),P(()=>v(a,g(m))),d(r,a)});var h=R(Q,2),L=i(h);S(L,()=>o.pageHeader,r=>{var a=Re(),n=i(a);x(n,e,"pageHeader",{},ae=>{var te=le("(slot:header)");d(ae,te)}),c(a),P(()=>v(a,`flex-none ${g(D)??""}`)),d(r,a)});var F=R(L,2),$=i(F);x($,e,"default",{},null),c(F);var Y=R(F,2);S(Y,()=>o.pageFooter,r=>{var a=He(),n=i(a);x(n,e,"pageFooter",{},ae=>{var te=le("(slot:footer)");d(ae,te)}),c(a),P(()=>v(a,`flex-none ${g(T)??""}`)),d(r,a)}),c(h);var Z=R(h,2);S(Z,()=>o.sidebarRight,r=>{var a=Le(),n=i(a);x(n,e,"sidebarRight",{},null),c(a),P(()=>v(a,g(z))),d(r,a)}),c(p);var ee=R(p,2);S(ee,()=>o.footer,r=>{var a=Fe(),n=i(a);x(n,e,"footer",{},null),c(a),P(()=>v(a,`flex-none ${g(B)??""}`)),d(r,a)}),c(C),P(()=>{v(C,g(s)),v(h,`${K()??""} ${V}`),ue(h,"scrollbar-gutter",J()),v(F,`flex-auto ${g(M)??""}`)}),ve("scroll",h,function(r){ge.call(this,e,r)}),d(w,C),de()}var $e=b(""),ze=b('Froth Pages'),De=b('Source Code');function je(w,e){pe(w,{children:(o,H)=>{var s=fe(),y=_e(s);x(y,e,"default",{},null),d(o,s)},$$slots:{default:!0,header:(o,H)=>{Pe(o,{gridColumns:"grid-cols-3",slotDefault:"place-self-center",slotTrail:"place-content-end",children:(s,y)=>{var m=$e();d(s,m)},$$slots:{default:!0,lead:(s,y)=>{var m=ze();d(s,m)},trail:(s,y)=>{var m=De();d(s,m)}}})}}})}export{je as component,Ae as universal}; //# sourceMappingURL=0.tofSa3xA.js.map