import{b as ge,k as Ge,m as Je,l as Gt,s as Jt,p as r,c as C,t as H,n as Mt,i as bt,e as Tt,d as mt,f as Bt,o as te}from"./disclose-version.C46H-NqF.js";import{i as Wt,a as Ct,p as Oe,b as q,s as Ee,d as Xt,c as ft,t as We,r as ne}from"./ProgressBar.svelte_svelte_type_style_lang.mUElOmC5.js";import{u as yt,e as Qt,g as Be,q as Xe,h as ve,P as Se,z as Ye,o as Le,am as Ke,an as ye,d as re,f as Et,j as Qe,aB as Zt,ao as Me,r as be,R as Ze,v as ee,aC as ta,aD as ea,m as aa,aE as na,aF as He,ai as Re,Z as ra,ab as Ce,aG as oa,aH as ia,aI as sa,b as $e,k as la,c as ca,S as me,C as _t,T as Fe,L as x,a as da,Q as ua,aJ as va,aK as fa,aL as ba,aM as ma,U as _a,n as Vt,aN as ha,aO as pa,ag as xe,ah as we,aP as ga,t as $t,aQ as I,D as z,E as Ft,F as W,w as Dt,G as N,I as T,K as S,M as c,N as M,aR as P,J as A,O as lt,az as jt,aS as ya}from"./utils.CG3qbIwb.js";import{w as _e}from"./index.BlZ3XOJ6.js";import{a as Ca,c as he,s as Lt,b as xa}from"./index-client.38Ysj1Zd.js";function wa(e,t){return t}function ka(e,t,n,o){for(var s=[],a=t.length,i=0;i0&&s.length===0&&n!==null;if(b){var m=n.parentNode;aa(m),m.append(n),o.clear(),Pt(e,t[0].prev,t[a-1].next)}na(s,()=>{for(var p=0;p{var f=n(),u=Ye(f)?f:f==null?[]:Le(f),h=u.length;if(l&&h===0)return;l=h===0;let v=!1;if(yt){var _=i.data===Ke;_!==(h===0)&&(i=ye(),Qt(i),re(!1),v=!0)}if(yt){for(var g=null,d,y=0;y0&&Qt(ye())}if(!yt){var L=Re;Na(u,b,i,s,t,(L.f&Zt)!==0,o)}a!==null&&(h===0?p?Me(p):p=be(()=>a(i)):p!==null&&Ze(p,()=>{p=null})),v&&re(!0),n()}),yt&&(i=Et)}function Na(e,t,n,o,s,a,i){var b=e.length,m=t.items,p=t.first,l=p,f,u=null,h=[],v=[],_,g,d,y;for(y=0;y0){var ct=b===0?n:null;ka(t,R,ct,m)}}ee.first=t.first&&t.first.e,ee.last=u&&u.e}function Ia(e,t,n,o){ta(e.v,t),e.i=n}function De(e,t,n,o,s,a,i,b,m){var p=(m&ia)!==0,l=(m&sa)===0,f=p?l?ra(s):Ce(s):s,u=m&oa?Ce(i):i,h={i:u,v:f,k:a,a:null,e:null,prev:n,next:o};try{return h.e=be(()=>b(e,f,u),yt),h.e.prev=n&&n.e,h.e.next=o&&o.e,n===null?t.first=h:(n.next=h,n.e.next=h.e),o!==null&&(o.prev=h,o.e.prev=h.e),h}finally{}}function ke(e,t,n){for(var o=e.next?e.next.e.nodes_start:n,s=t?t.e.nodes_start:n,a=e.e.nodes_start;a!==o;){var i=$e(a);s.before(a),a=i}}function Pt(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function St(e,t,n,o,s){var a=e,i="",b;Se(()=>{if(i===(i=t()??"")){yt&&ve();return}b!==void 0&&(He(b),b=void 0),i!==""&&(b=be(()=>{if(yt){Et.data;for(var m=ve(),p=m;m!==null&&(m.nodeType!==8||m.data!=="");)p=m,m=$e(m);if(m===null)throw la(),ca;ge(Et,p),a=Qt(m);return}var l=i+"",f=Ge(l);ge(Be(f),f.lastChild),a.before(f)}))})}function Pa(e,t,n){me(()=>{var o=_t(()=>t(e,n==null?void 0:n())||{});if(n&&(o!=null&&o.update)){var s=!1,a={};Fe(()=>{var i=n();x(i),s&&da(a,i)&&(a=i,o.update(i))}),s=!0}if(o!=null&&o.destroy)return()=>o.destroy()})}const Aa=()=>performance.now(),Nt={tick:e=>requestAnimationFrame(e),now:()=>Aa(),tasks:new Set};function ze(){const e=Nt.now();Nt.tasks.forEach(t=>{t.c(e)||(Nt.tasks.delete(t),t.f())}),Nt.tasks.size!==0&&Nt.tick(ze)}function Oa(e){let t;return Nt.tasks.size===0&&Nt.tick(ze),{promise:new Promise(n=>{Nt.tasks.add(t={c:e,f:n})}),abort(){Nt.tasks.delete(t)}}}function Yt(e,t){e.dispatchEvent(new CustomEvent(t))}function Ea(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("")}function Te(e){const t={},n=e.split(";");for(const o of n){const[s,a]=o.split(":");if(!s||a===void 0)break;const i=Ea(s.trim());t[i]=a.trim()}return t}const Ba=e=>e;function Ht(e,t,n,o){var s=(e&ba)!==0,a=(e&ha)!==0,i=s&&a,b=(e&pa)!==0,m=i?"both":s?"in":"out",p,l=t.inert,f,u;function h(){var y=Re,U=ee;xe(null),we(null);try{return p??(p=n()(t,(o==null?void 0:o())??{},{direction:m}))}finally{xe(y),we(U)}}var v={is_global:b,in(){var y;if(t.inert=l,!s){u==null||u.abort(),(y=u==null?void 0:u.reset)==null||y.call(u);return}a||f==null||f.abort(),Yt(t,"introstart"),f=fe(t,h(),u,1,()=>{Yt(t,"introend"),f==null||f.abort(),f=p=void 0})},out(y){if(!a){y==null||y(),p=void 0;return}t.inert=!0,Yt(t,"outrostart"),u=fe(t,h(),f,0,()=>{Yt(t,"outroend"),y==null||y()})},stop:()=>{f==null||f.abort(),u==null||u.abort()}},_=ee;if((_.transitions??(_.transitions=[])).push(v),s&&Ca){var g=b;if(!g){for(var d=_.parent;d&&d.f&ua;)for(;(d=d.parent)&&!(d.f&va););g=!d||(d.f&fa)!==0}g&&me(()=>{_t(()=>v.in())})}}function fe(e,t,n,o,s){var a=o===1;if(ma(t)){var i,b=!1;return _a(()=>{if(!b){var g=t({direction:a?"in":"out"});i=fe(e,g,n,o,s)}}),{abort:()=>{b=!0,i==null||i.abort()},deactivate:()=>i.deactivate(),reset:()=>i.reset(),t:()=>i.t()}}if(n==null||n.deactivate(),!(t!=null&&t.duration))return s(),{abort:Vt,deactivate:Vt,reset:Vt,t:()=>o};const{delay:m=0,css:p,tick:l,easing:f=Ba}=t;var u=[];if(a&&n===void 0&&(l&&l(0,1),p)){var h=Te(p(0,1));u.push(h,h)}var v=()=>1-o,_=e.animate(u,{duration:m});return _.onfinish=()=>{var g=(n==null?void 0:n.t())??1-o;n==null||n.abort();var d=o-g,y=t.duration*Math.abs(d),U=[];if(y>0){if(p)for(var E=Math.ceil(y/16.666666666666668),L=0;L<=E;L+=1){var J=g+d*f(L/E),F=p(J,1-J);U.push(Te(F))}v=()=>{var R=_.currentTime;return g+d*f(R/y)},l&&Oa(()=>{if(_.playState!=="running")return!1;var R=v();return l(R,1-R),!0})}_=e.animate(U,{duration:y,fill:"forwards"}),_.onfinish=()=>{v=()=>o,l==null||l(o,1-o),s()}},{abort:()=>{_&&(_.cancel(),_.effect=null,_.onfinish=Vt)},deactivate:()=>{s=Vt},reset:()=>{o===0&&(l==null||l(1,0))},t:()=>v()}}function oe(e,t,n=t){var o=ga();Je(e,"input",s=>{var a=s?e.defaultValue:e.value;if(a=ie(e)?se(a):a,n(a),o&&a!==(a=t())){var i=e.selectionStart,b=e.selectionEnd;e.value=a??"",b!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(b,e.value.length))}}),(yt&&e.defaultValue!==e.value||_t(t)==null&&e.value)&&n(ie(e)?se(e.value):e.value),Fe(()=>{var s=t();ie(e)&&s===se(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function ie(e){var t=e.type;return t==="number"||t==="range"}function se(e){return e===""?null:+e}const Sa=_e(void 0);function le(e,t){if(!window.isSecureContext)return console.error("Clipboard action failed: app not running in secure context, see: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard"),{};const n=()=>{e.dispatchEvent(new CustomEvent("copyComplete"))},o=()=>{if(typeof t=="object"){if("element"in t){const s=document.querySelector(`[data-clipboard="${t.element}"]`);if(!s)throw new Error(`Missing HTMLElement with an attribute of [data-clipboard="${t.element}"]`);ce(s.innerHTML,"text/html").then(n);return}if("input"in t){const s=document.querySelector(`[data-clipboard="${t.input}"]`);if(!s)throw new Error(`Missing HTMLInputElement with an attribute of [data-clipboard="${t.input}"]`);ce(s.value).then(n);return}}ce(t).then(n)};return e.addEventListener("click",o),{update(s){t=s},destroy(){e.removeEventListener("click",o)}}}async function ce(e,t="text/plain"){navigator.clipboard.write?await navigator.clipboard.write([new ClipboardItem({[t]:new Blob([e],{type:t}),"text/plain":new Blob([e],{type:"text/plain"})})]):await new Promise(n=>{n(navigator.clipboard.writeText(String(e)))})}const La=e=>e;function Ma(e){const t=e-1;return t*t*t+1}function Ne(e,{delay:t=0,duration:n=400,easing:o=La}={}){const s=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:o,css:a=>`opacity: ${a*s}`}}function Ie(e,{delay:t=0,duration:n=400,easing:o=Ma,axis:s="y"}={}){const a=getComputedStyle(e),i=+a.opacity,b=s==="y"?"height":"width",m=parseFloat(a[b]),p=s==="y"?["top","bottom"]:["left","right"],l=p.map(d=>`${d[0].toUpperCase()}${d.slice(1)}`),f=parseFloat(a[`padding${l[0]}`]),u=parseFloat(a[`padding${l[1]}`]),h=parseFloat(a[`margin${l[0]}`]),v=parseFloat(a[`margin${l[1]}`]),_=parseFloat(a[`border${l[0]}Width`]),g=parseFloat(a[`border${l[1]}Width`]);return{delay:t,duration:n,easing:o,css:d=>`overflow: hidden;opacity: ${Math.min(d*20,1)*i};${b}: ${d*m}px;padding-${p[0]}: ${d*f}px;padding-${p[1]}: ${d*u}px;margin-${p[0]}: ${d*h}px;margin-${p[1]}: ${d*v}px;border-${p[0]}-width: ${d*_}px;border-${p[1]}-width: ${d*g}px;`}}var Ha=H('
');function Ra(e,t){const n=Gt(t,["children","$$slots","$$events","$$legacy"]);$t(t,!1);const o=Jt(),s=()=>Mt(Oe,"$prefersReducedMotionStore",o),a=M();let i=r(t,"autocollapse",8,!1),b=r(t,"width",8,"w-full"),m=r(t,"spacing",8,"space-y-1"),p=r(t,"disabled",8,!1),l=r(t,"padding",8,"py-2 px-4"),f=r(t,"hover",8,"hover:bg-primary-hover-token"),u=r(t,"rounded",8,"rounded-container-token"),h=r(t,"caretOpen",8,"rotate-180"),v=r(t,"caretClosed",8,""),_=r(t,"regionControl",8,""),g=r(t,"regionPanel",8,"space-y-4"),d=r(t,"regionCaret",8,""),y=r(t,"transitions",24,()=>!s()),U=r(t,"transitionIn",8,Ie),E=r(t,"transitionInParams",24,()=>({duration:200})),L=r(t,"transitionOut",8,Ie),J=r(t,"transitionOutParams",24,()=>({duration:200}));const F=_e(null);I("active",F),I("autocollapse",i()),I("disabled",p()),I("padding",l()),I("hover",f()),I("rounded",u()),I("caretOpen",h()),I("caretClosed",v()),I("regionControl",_()),I("regionPanel",g()),I("regionCaret",d()),I("transitions",y()),I("transitionIn",U()),I("transitionInParams",E()),I("transitionOut",L()),I("transitionOutParams",J()),z(()=>(x(b()),x(m()),x(n)),()=>{S(a,`${b()} ${m()} ${n.class??""}`)}),Ft(),Wt();var R=Ha(),Q=N(R);Ct(Q,t,"default",{},null),T(R),W(()=>q(R,`accordion ${c(a)??""}`)),C(e,R),Dt()}function Rt(e,t){const{transition:n,params:o,enabled:s}=t;return s?n(e,o):"duration"in o?n(e,{duration:0}):{duration:0}}var $a=H('
'),Fa=H("
"),Da=H("
"),za=H('
'),qa=H('
');function de(e,t){const n=Ee(t),o=Gt(t,["children","$$slots","$$events","$$legacy"]);$t(t,!1);const s=Jt(),a=()=>Mt(L(),"$active",s),i=M(),b=M(),m=M(),p=M(),l=M(),f=M(),u=M(),h=he();let v=r(t,"open",12,!1),_=r(t,"id",24,()=>String(Math.random()));const g="",d="text-start w-full flex items-center space-x-4",y="fill-current w-3 transition-transform duration-[200ms]",U="";let E=r(t,"autocollapse",24,()=>P("autocollapse")),L=r(t,"active",24,()=>P("active")),J=r(t,"disabled",24,()=>P("disabled")),F=r(t,"padding",24,()=>P("padding")),R=r(t,"hover",24,()=>P("hover")),Q=r(t,"rounded",24,()=>P("rounded")),ct=r(t,"caretOpen",24,()=>P("caretOpen")),Z=r(t,"caretClosed",24,()=>P("caretClosed")),xt=r(t,"regionControl",24,()=>P("regionControl")),dt=r(t,"regionPanel",24,()=>P("regionPanel")),j=r(t,"regionCaret",24,()=>P("regionCaret")),et=r(t,"transitions",24,()=>P("transitions")),it=r(t,"transitionIn",24,()=>P("transitionIn")),G=r(t,"transitionInParams",24,()=>P("transitionInParams")),nt=r(t,"transitionOut",24,()=>P("transitionOut")),O=r(t,"transitionOutParams",24,()=>P("transitionOutParams"));const V=` `;function X(w){E()===!0?L().set(_()):v(!v()),at(w)}function at(w){const k=E()?a()===_():v();h("toggle",{event:w,id:_(),panelId:`accordion-panel-${_()}`,open:k,autocollapse:E()})}E()&&v()&&X(),z(()=>(x(v()),x(E())),()=>{v()&&E()&&X()}),z(()=>(x(E()),a(),x(_()),x(v())),()=>{S(i,E()?a()===_():v())}),z(()=>x(o),()=>{S(b,`${g} ${o.class??""}`)}),z(()=>(x(F()),x(R()),x(Q()),x(xt())),()=>{S(m,`${d} ${F()} ${R()} ${Q()} ${xt()}`)}),z(()=>(c(i),x(ct()),x(Z())),()=>{S(p,c(i)?ct():Z())}),z(()=>(x(j()),c(p)),()=>{S(l,`${y} ${j()} ${c(p)}`)}),z(()=>x(j()),()=>{S(f,`${y} ${j()}`)}),z(()=>(x(F()),x(Q()),x(dt())),()=>{S(u,`${U} ${F()} ${Q()} ${dt()}`)}),Ft(),Wt();var rt=qa(),D=N(rt),ht=N(D);{var ot=w=>{var k=$a(),$=N(k);Ct($,t,"lead",{},null),T(k),C(w,k)};bt(ht,w=>{n.lead&&w(ot)})}var tt=A(ht,2),st=N(tt);Ct(st,t,"summary",{},w=>{var k=mt("(summary)");C(w,k)}),T(tt);var wt=A(tt,2);{var zt=w=>{var k=Fa(),$=N(k);{var ut=vt=>{var kt=Bt(),Ot=lt(kt);Ct(Ot,t,"iconClosed",{},Ut=>{var Y=Bt(),B=lt(Y);St(B,()=>V),C(Ut,Y)}),C(vt,kt)},At=vt=>{var kt=Bt(),Ot=lt(kt);Ct(Ot,t,"iconOpen",{},Ut=>{var Y=Bt(),B=lt(Y);St(B,()=>V),C(Ut,Y)}),C(vt,kt)};bt($,vt=>{c(i)?vt(ut):vt(At,!1)})}T(k),W(()=>q(k,`accordion-summary-icons ${c(f)??""}`)),C(w,k)},pt=w=>{var k=Da(),$=N(k);St($,()=>V),T(k),W(()=>q(k,`accordion-summary-caret ${c(l)??""}`)),C(w,k)};bt(wt,w=>{n.iconClosed||n.iconOpen?w(zt):w(pt,!1)})}T(D);var qt=A(D,2);{var K=w=>{var k=za(),$=N(k);Ct($,t,"content",{},ut=>{var At=mt("(content)");C(ut,At)}),T(k),W(()=>{q(k,`accordion-panel ${c(u)??""}`),ft(k,"id",`accordion-panel-${_()??""}`),ft(k,"aria-hidden",!c(i)),ft(k,"aria-labelledby",_())}),Ht(1,k,()=>Rt,()=>({transition:it(),params:G(),enabled:et()})),Ht(2,k,()=>Rt,()=>({transition:nt(),params:O(),enabled:et()})),C(w,k)};bt(qt,w=>{c(i)&&w(K)})}T(rt),W(()=>{q(rt,`accordion-item ${c(b)??""}`),q(D,`accordion-control ${c(m)??""}`),ft(D,"id",_()),ft(D,"aria-expanded",c(i)),ft(D,"aria-controls",`accordion-panel-${_()??""}`),D.disabled=J()}),Tt("click",D,X),Tt("click",D,function(w){Xt.call(this,t,w)}),Tt("keydown",D,function(w){Xt.call(this,t,w)}),Tt("keyup",D,function(w){Xt.call(this,t,w)}),Tt("keypress",D,function(w){Xt.call(this,t,w)}),C(e,rt),Dt()}var Ua=H("
"),Va=H("
"),ja=H('
');function Ga(e,t){const n=Gt(t,["children","$$slots","$$events","$$legacy"]);$t(t,!1);const o=Jt(),s=()=>Mt(Oe,"$prefersReducedMotionStore",o),a=()=>Mt(V,"$state",o),i=M(),b=M(),m=M(),p=M(),l=M(),f=M(),u=he();let h=r(t,"gap",8,"gap-4"),v=r(t,"stepTerm",8,"Step"),_=r(t,"badge",8,"variant-filled-surface"),g=r(t,"active",8,"variant-filled"),d=r(t,"border",8,"border-surface-400-500-token"),y=r(t,"start",8,0),U=r(t,"justify",8,"justify-between"),E=r(t,"buttonBack",8,"variant-ghost"),L=r(t,"buttonBackType",8,"button"),J=r(t,"buttonBackLabel",8,"← Back"),F=r(t,"buttonNext",8,"variant-filled"),R=r(t,"buttonNextType",8,"button"),Q=r(t,"buttonNextLabel",8,"Next →"),ct=r(t,"buttonComplete",8,"variant-filled-primary"),Z=r(t,"buttonCompleteType",8,"button"),xt=r(t,"buttonCompleteLabel",8,"Complete"),dt=r(t,"regionHeader",8,""),j=r(t,"regionContent",8,""),et=r(t,"transitions",24,()=>!s()),it=r(t,"transitionIn",8,Ne),G=r(t,"transitionInParams",24,()=>({duration:100})),nt=r(t,"transitionOut",8,Ne),O=r(t,"transitionOutParams",24,()=>({duration:100})),V=_e({current:y(),total:0});async function X(K,w){await new Promise(k=>setTimeout(k)),!K&&(te(V,_t(a).current++,_t(a)),u("next",{step:w,state:a()}),u("step",{step:w,state:a()}))}function at(K){te(V,_t(a).current--,_t(a)),u("back",{step:K,state:a()}),u("step",{step:K,state:a()})}function rt(K){u("complete",{step:K,state:a()})}I("state",V),I("stepTerm",v()),I("gap",h()),I("justify",U()),I("onNext",X),I("onBack",at),I("onComplete",rt),I("buttonBack",E()),I("buttonBackType",L()),I("buttonBackLabel",J()),I("buttonNext",F()),I("buttonNextType",R()),I("buttonNextLabel",Q()),I("buttonComplete",ct()),I("buttonCompleteType",Z()),I("buttonCompleteLabel",xt()),I("transitions",et()),I("transitionIn",it()),I("transitionInParams",G()),I("transitionOut",nt()),I("transitionOutParams",O());const D="space-y-4",ht="flex items-center border-t mt-[15px]",ot="-mt-[15px] transition-all duration-300",tt="";z(()=>a(),()=>{S(i,K=>K===a().current)}),z(()=>x(n),()=>{S(b,`${D} ${n.class??""}`)}),z(()=>(x(d()),x(h()),x(dt())),()=>{S(m,`${ht} ${d()} ${h()} ${dt()}`)}),z(()=>{},()=>{S(p,`${ot}`)}),z(()=>(c(i),x(g()),x(_())),()=>{S(l,K=>c(i)(K)?g():_())}),z(()=>x(j()),()=>{S(f,`${tt} ${j()}`)}),Ft(),Wt();var st=ja(),wt=N(st);{var zt=K=>{var w=Va();Ta(w,5,()=>Array.from(Array(a().total).keys()),wa,(k,$)=>{var ut=Ua();const At=jt(()=>c(i)(c($)));var vt=N(ut);const kt=jt(()=>`badge ${c(l)(c($))??""}`);var Ot=N(vt,!0);W(()=>Lt(Ot,c(i)(c($))?`${v()} ${c($)+1}`:c($)+1)),T(vt),T(ut),W(()=>{q(ut,`stepper-header-step ${c(p)??""}`),We(ut,"flex-1",c(At)),q(vt,c(kt))}),C(k,ut)}),T(w),W(()=>q(w,`stepper-header ${c(m)??""}`)),Ht(1,w,()=>Rt,()=>({transition:it(),params:G(),enabled:et()})),Ht(2,w,()=>Rt,()=>({transition:nt(),params:O(),enabled:et()})),C(K,w)};bt(wt,K=>{a().total&&K(zt)})}var pt=A(wt,2),qt=N(pt);Ct(qt,t,"default",{},null),T(pt),T(st),W(()=>{q(st,`stepper ${c(b)??""}`),q(pt,`stepper-content ${c(f)??""}`)}),C(e,st),Dt()}var Ja=H('
'),Wa=H(""),Xa=H(''),Ya=H(""),Ka=H(""),Qa=H("
"),Za=H('
');function ue(e,t){const n=Ee(t),o=Gt(t,["children","$$slots","$$events","$$legacy"]);$t(t,!1);const s=Jt(),a=()=>Mt(v(),"$state",s),i=M(),b=M(),m=M(),p=M();let l=r(t,"locked",8,!1),f=r(t,"regionHeader",8,""),u=r(t,"regionContent",8,""),h=r(t,"regionNavigation",8,""),v=r(t,"state",24,()=>P("state")),_=r(t,"stepTerm",24,()=>P("stepTerm")),g=r(t,"gap",24,()=>P("gap")),d=r(t,"justify",24,()=>P("justify")),y=r(t,"onNext",24,()=>P("onNext")),U=r(t,"onBack",24,()=>P("onBack")),E=r(t,"onComplete",24,()=>P("onComplete")),L=r(t,"buttonBack",24,()=>P("buttonBack")),J=r(t,"buttonBackType",24,()=>P("buttonBackType")),F=r(t,"buttonBackLabel",24,()=>P("buttonBackLabel")),R=r(t,"buttonNext",24,()=>P("buttonNext")),Q=r(t,"buttonNextType",24,()=>P("buttonNextType")),ct=r(t,"buttonNextLabel",24,()=>P("buttonNextLabel")),Z=r(t,"buttonComplete",24,()=>P("buttonComplete")),xt=r(t,"buttonCompleteType",24,()=>P("buttonCompleteType")),dt=r(t,"buttonCompleteLabel",24,()=>P("buttonCompleteLabel")),j=r(t,"transitions",24,()=>P("transitions")),et=r(t,"transitionIn",24,()=>P("transitionIn")),it=r(t,"transitionInParams",24,()=>P("transitionInParams")),G=r(t,"transitionOut",24,()=>P("transitionOut")),nt=r(t,"transitionOutParams",24,()=>P("transitionOutParams"));const O=a().total;te(v(),_t(a).total++,_t(a));const V="space-y-4",X="text-2xl font-bold",at="space-y-4",rt="flex";xa(()=>{te(v(),_t(a).total--,_t(a))}),z(()=>x(o),()=>{S(i,`${V} ${o.class??""}`)}),z(()=>x(f()),()=>{S(b,`${X} ${f()}`)}),z(()=>x(u()),()=>{S(m,`${at} ${u()}`)}),z(()=>(x(d()),x(g()),x(h())),()=>{S(p,`${rt} ${d()} ${g()} ${h()}`)}),Ft(),Wt();var D=Bt(),ht=lt(D);{var ot=tt=>{var st=Za(),wt=N(st),zt=N(wt);Ct(zt,t,"header",{},k=>{var $=mt();W(()=>Lt($,`${_()??""} ${O+1}`)),C(k,$)}),T(wt);var pt=A(wt,2),qt=N(pt);Ct(qt,t,"default",{},k=>{var $=mt();W(()=>Lt($,`(${_()??""} ${O+1} Content)`)),C(k,$)}),T(pt);var K=A(pt,2);{var w=k=>{var $=Qa(),ut=N($);{var At=Y=>{var B=Ja(),It=N(B);Ct(It,t,"navigation",{},null),T(B),C(Y,B)},vt=Y=>{var B=Wa(),It=N(B);St(It,F),T(B),W(()=>{ft(B,"type",J()),q(B,`btn ${L()??""}`),B.disabled=a().current===0}),Tt("click",B,()=>U()(O)),C(Y,B)};bt(ut,Y=>{O===0&&n.navigation?Y(At):Y(vt,!1)})}var kt=A(ut,2);{var Ot=Y=>{var B=Ya(),It=N(B);{var Ue=ae=>{var je=Xa();C(ae,je)};bt(It,ae=>{l()&&ae(Ue)})}var pe=A(It,2),Ve=N(pe);St(Ve,ct),T(pe),T(B),W(()=>{ft(B,"type",Q()),q(B,`btn ${R()??""}`),B.disabled=l()}),Tt("click",B,()=>y()(l(),O)),C(Y,B)},Ut=Y=>{var B=Ka(),It=N(B);St(It,dt),T(B),W(()=>{ft(B,"type",xt()),q(B,`btn ${Z()??""}`),B.disabled=l()}),Tt("click",B,()=>E()(O)),C(Y,B)};bt(kt,Y=>{Oq($,`step-navigation ${c(p)??""}`)),Ht(1,$,()=>Rt,()=>({transition:et(),params:it(),enabled:j()})),Ht(2,$,()=>Rt,()=>({transition:G(),params:nt(),enabled:j()})),C(k,$)};bt(K,k=>{a().total>1&&k(w)})}T(st),W(()=>{q(st,`step ${c(i)??""}`),q(wt,`step-header ${c(b)??""}`),q(pt,`step-content ${c(m)??""}`)}),C(tt,st)};bt(ht,tt=>{O===a().current&&tt(ot)})}C(e,D),Dt()}var tn=H('
');function Kt(e,t){const n=Gt(t,["children","$$slots","$$events","$$legacy"]);$t(t,!1);const o=Jt(),s=()=>Mt(Sa,"$storeHighlightJs",o),a=M(),i=he();let b=r(t,"language",8,"plaintext"),m=r(t,"code",8,""),p=r(t,"lineNumbers",8,!1),l=r(t,"background",8,"bg-neutral-900/90"),f=r(t,"blur",8,""),u=r(t,"text",8,"text-sm"),h=r(t,"color",8,"text-white"),v=r(t,"rounded",8,"rounded-container-token"),_=r(t,"shadow",8,"shadow"),g=r(t,"button",8,"btn btn-sm variant-soft !text-white"),d=r(t,"buttonLabel",8,"Copy"),y=r(t,"buttonCopied",8,"👍");const U="overflow-hidden shadow",E="text-xs text-white/50 uppercase flex justify-between items-center p-2 pl-4",L="whitespace-pre-wrap break-all p-4 pt-1";let J=M(!1),F=M(m()),R=M(!1);function Q(j){return j==="js"?"javascript":j==="ts"?"typescript":j==="shell"?"terminal":j}function ct(){S(R,!0),setTimeout(()=>{S(R,!1)},2e3),i("copy")}z(()=>(s(),x(m()),x(b())),()=>{s()!==void 0&&(S(F,s().highlight(m(),{language:b()}).value.trim()),S(J,!0))}),z(()=>(x(p()),c(F)),()=>{p()&&(S(F,c(F).replace(/^/gm,()=>' ')),S(J,!0))}),z(()=>(x(l()),x(f()),x(u()),x(h()),x(v()),x(_()),x(n)),()=>{S(a,`${U} ${l()} ${f()} ${u()} ${h()} ${v()} ${_()} ${n.class??""}`)}),Ft(),Wt();var Z=Bt(),xt=lt(Z);{var dt=j=>{var et=tn(),it=N(et);q(it,`codeblock-header ${E}`);var G=N(it),nt=N(G,!0);W(()=>Lt(nt,Q(b()))),T(G);var O=A(G,2),V=N(O,!0);T(O),me(()=>Tt("click",O,ct)),Pa(O,(ot,tt)=>le==null?void 0:le(ot,tt),m),T(it);var X=A(it,2);q(X,`codeblock-pre ${L}`);var at=N(X),rt=N(at);{var D=ot=>{var tt=Bt(),st=lt(tt);St(st,()=>c(F)),C(ot,tt)},ht=ot=>{var tt=mt();W(()=>Lt(tt,m().trim())),C(ot,tt)};bt(rt,ot=>{c(J)?ot(D):ot(ht,!1)})}T(at),T(X),T(et),W(()=>{q(et,`codeblock ${c(a)??""}`),q(O,`codeblock-btn ${g()??""}`),Lt(V,c(R)?y():d()),q(at,`codeblock-code language-${b()??""} lineNumbers`)}),C(j,et)};bt(xt,j=>{b()&&m()&&j(dt)})}C(e,Z),Dt()}const qe="git.froth.zone",en="Froth Git",gt="pages.git.froth.zone",an="Froth Pages",Pe="150.136.112.69",Ae="2603:c020:4004:62ee:d84c:2488:5bdb:99c1";var nn=H(`

Create a public repository named pages to make the site available on the main subdomain.


Or, create a branch named pages in any public repository.

git switch --orphan pages
git rm --cached -r .

`,1),rn=H('Create a repository!'),on=H("

Push your static content. HTML, CSS, fonts, images or anything else.

"),sn=H(' ',1),ln=H('

For apex domains where CNAME does not work.


',1),cn=H('

If CNAME will not work and ALIAS is not available



',1),dn=H(" ",1),un=H(`

Access your new website with this link:

or, use this handy form that can navigate for you!


What about custom domains?

To use custom domains, create a .domains in the root of your repository with the domain name you would like to use.


Then, add a DNS record for that domain:

(note): use the above form to auto-generate your DNS records!
`),vn=H(" ",1);function fn(e,t){$t(t,!1);const n=M(),o=M();let s=M(""),a=M(""),i=M("");function b(){window.open("https://docs.codeberg.org/codeberg-pages/","_blank")}z(()=>(c(s),c(a),c(i)),()=>{S(n,`https://${c(s)}.${gt}${c(a)?`/${c(a)}`:""}${c(i)?`/@${c(i)}`:""}`)}),z(()=>(c(i),c(a),c(s),gt),()=>{S(o,`${c(i)?`${c(i)}.`:""}${c(a)?`${c(a)}.`:""}${c(s)}.${gt}`)}),Ft(),Ga(e,{buttonCompleteLabel:"Open Documentation",buttonComplete:"variant-filled-success",$$events:{complete:b},children:(m,p)=>{var l=vn(),f=lt(l);ue(f,{children:(v,_)=>{var g=nn(),d=A(lt(g),6);Kt(d,{buttonCopied:"Copied!",lineNumbers:!0,language:"shell",code:`git switch --orphan pages git rm --cached -r .`}),C(v,g)},$$slots:{default:!0,navigation:(v,_)=>{var g=rn();ft(g,"href",`https://${qe}/repo/create`),C(v,g)},header:(v,_)=>{var g=mt("1 - Make a repository");C(v,g)}}});var u=A(f,2);ue(u,{children:(v,_)=>{var g=on();C(v,g)},$$slots:{default:!0,header:(v,_)=>{var g=mt("2 - Add your files");C(v,g)}}});var h=A(u,2);ue(h,{children:(v,_)=>{var g=un(),d=A(N(g),2);d.textContent=`https://USERNAME.${gt}[/REPOSITORY][/@BRANCH]`;var y=A(d,4),U=N(y),E=N(U);ne(E);var L=A(E,2);L.textContent=`.${gt}/`;var J=A(L,2);ne(J);var F=A(J,2);ne(F),T(U);var R=A(U,2);T(y);var Q=A(y,4),ct=A(N(Q),10);Ra(ct,{autocollapse:!0,children:(Z,xt)=>{var dt=dn(),j=lt(dt);de(j,{open:!0,$$slots:{summary:(G,nt)=>{var O=mt("CNAME (Prefered)");C(G,O)},content:(G,nt)=>{var O=sn(),V=lt(O);V.textContent=`CNAME [[branch.]repo.]user.${gt}.`;var X=A(V,2),at=jt(()=>`CNAME ${c(o)}.`);Kt(X,{buttonCopied:"Copied!",language:"dns",get code(){return c(at)}}),C(G,O)}}});var et=A(j,2);de(et,{$$slots:{summary:(G,nt)=>{var O=mt("ALIAS (If available)");C(G,O)},content:(G,nt)=>{var O=ln(),V=A(lt(O),2),X=N(V);X.textContent=`ALIAS ${gt}.`;var at=A(X,2);at.textContent=`TXT $[[branch.]repo.]user.${gt}`,T(V);var rt=A(V,2),D=jt(()=>`ALIAS ${gt}. TXT ${c(o)}`);Kt(rt,{buttonCopied:"Copied!",language:"dns",get code(){return c(D)}}),C(G,O)}}});var it=A(et,2);de(it,{$$slots:{summary:(G,nt)=>{var O=mt("A/AAAA (Old reliable)");C(G,O)},content:(G,nt)=>{var O=cn(),V=A(lt(O),2),X=N(V);X.textContent=`A ${Pe}`;var at=A(X,2);at.textContent=`AAAA ${Ae}`;var rt=A(at,2);rt.textContent=`TXT $[[branch.]repo.]user.${gt}`,T(V);var D=A(V,2),ht=jt(()=>`A ${Pe} AAAA ${Ae} TXT ${c(o)}`);Kt(D,{buttonCopied:"Copied!",language:"dns",get code(){return c(ht)}}),C(G,O)}}}),C(Z,dt)},$$slots:{default:!0}}),T(Q),T(g),W(()=>{q(E,`input variant-form-material ${(c(s)?"":"input-error")??""}`),ft(R,"href",c(n))}),oe(E,()=>c(s),Z=>S(s,Z)),oe(J,()=>c(a),Z=>S(a,Z)),oe(F,()=>c(i),Z=>S(i,Z)),C(v,g)},$$slots:{default:!0,header:(v,_)=>{var g=mt("3 - You're Done!");C(v,g)}}}),C(m,l)},$$slots:{default:!0}}),Dt()}var bn=H(`
Host static websites

It's quick, easy, free & fast - just put your project's homepage, developer blog or web experiment into a Git repository at and we'll do the rest.


`);function yn(e){var t=bn(),n=N(t),o=N(n),s=A(N(o),2);s.nodeValue=` with ${an}!`,T(o);var a=A(o,2),i=A(N(a));ft(i,"href",`https://${qe}`),i.textContent=en,ya(),T(a);var b=A(a,4),m=N(b);fn(m,{}),T(b),T(n),T(t),C(e,t)}export{yn as _}; //# sourceMappingURL=2.B_C-dmA6.js.map