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