pages-landing-page/_app/immutable/chunks/2.C7u7nl_-.js
2024-11-15 15:04:27 +00:00

12 lines
28 KiB
JavaScript

import{b as de,k as qe,m as Ue,l as zt,s as qt,p as n,c as C,t as R,n as St,i as dt,f as Pt,e as xt,d as ft,o as Wt}from"./disclose-version.DDNQOHTx.js";import{i as Ut,a as ht,p as we,b as U,s as ke,d as Gt,c as _t,t as je,r as Qt}from"./ProgressBar.svelte_svelte_type_style_lang.BI1WEXu6.js";import{u as pt,e as Yt,g as Te,q as Ge,h as re,P as Ne,z as Ve,o as Ie,am as Xe,an as ue,d as Zt,f as At,j as Ye,aA as Jt,al as Ae,r as ie,R as Je,v as Kt,aB as We,aC as Ke,m as Qe,aD as Ze,aE as Pe,ah as Oe,Y as ta,aa as ve,aF as ea,aG as aa,aH as na,b as Ee,k as ra,c as oa,S as se,C as gt,T as Be,L as x,a as ia,Q as sa,aI as la,aJ as ca,aK as da,aL as ua,U as va,n as Ft,aM as fa,aN as ba,af as fe,ag as be,aO as ma,t as Mt,aP as k,D as q,E as Rt,F as J,w as Ht,G as N,I as w,K as S,M as c,N as M,aQ as T,O as it,J as A,ay as Dt,aR as me}from"./utils.bynYNLZa.js";import{w as le}from"./index.BO0iZTfs.js";import{a as _a,c as ce,s as Bt,b as pa}from"./index-client.CKpN7mzR.js";const ha=/[&"<]/g,ga=/[&<]/g;function bt(e,t){const a=String(e??""),i=t?ha:ga;i.lastIndex=0;let o="",r=0;for(;i.test(a);){const s=i.lastIndex-1,h=a[s];o+=a.substring(r,s)+(h==="&"?"&amp;":h==='"'?"&quot;":"&lt;"),r=s+1}return o+a.substring(r)}function ya(e,t){return t}function Ca(e,t,a,i){for(var o=[],r=t.length,s=0;s<r;s++)Ke(t[s].e,o,!0);var h=r>0&&o.length===0&&a!==null;if(h){var _=a.parentNode;Qe(_),_.append(a),i.clear(),Tt(e,t[0].prev,t[r-1].next)}Ze(o,()=>{for(var p=0;p<r;p++){var l=t[p];h||(i.delete(l.k),Tt(e,l.prev,l.next)),Pe(l.e,!h)}})}function xa(e,t,a,i,o,r=null){var s=e,h={flags:t,items:new Map,first:null};{var _=e;s=pt?Yt(Te(_)):_.appendChild(Ge())}pt&&re();var p=null,l=!1;Ne(()=>{var f=a(),d=Ve(f)?f:f==null?[]:Ie(f),m=d.length;if(l&&m===0)return;l=m===0;let v=!1;if(pt){var b=s.data===Xe;b!==(m===0)&&(s=ue(),Yt(s),Zt(!1),v=!0)}if(pt){for(var g=null,u,y=0;y<m;y++){if(At.nodeType===8&&At.data===Ye){s=At,v=!0,Zt(!1);break}var j=d[y],P=i(j,y);u=Se(At,h,g,null,j,P,y,o,t),h.items.set(P,u),g=u}m>0&&Yt(ue())}if(!pt){var L=Oe;wa(d,h,s,o,t,(L.f&Jt)!==0,i)}r!==null&&(m===0?p?Ae(p):p=ie(()=>r(s)):p!==null&&Je(p,()=>{p=null})),v&&Zt(!0),a()}),pt&&(s=At)}function wa(e,t,a,i,o,r,s){var h=e.length,_=t.items,p=t.first,l=p,f,d=null,m=[],v=[],b,g,u,y;for(y=0;y<h;y+=1){if(b=e[y],g=s(b,y),u=_.get(g),u===void 0){var j=l?l.e.nodes_start:a;d=Se(j,t,d,d===null?t.first:d.next,b,g,y,i,o),_.set(g,d),m=[],v=[],l=d.next;continue}if(ka(u,b,y),u.e.f&Jt&&Ae(u.e),u!==l){if(f!==void 0&&f.has(u)){if(m.length<v.length){var P=v[0],L;d=P.prev;var V=m[0],F=m[m.length-1];for(L=0;L<m.length;L+=1)_e(m[L],P,a);for(L=0;L<v.length;L+=1)f.delete(v[L]);Tt(t,V.prev,F.next),Tt(t,d,V),Tt(t,F,P),l=P,d=F,y-=1,m=[],v=[]}else f.delete(u),_e(u,l,a),Tt(t,u.prev,u.next),Tt(t,u,d===null?t.first:d.next),Tt(t,d,u),d=u;continue}for(m=[],v=[];l!==null&&l.k!==g;)(r||!(l.e.f&Jt))&&(f??(f=new Set)).add(l),v.push(l),l=l.next;if(l===null)continue;u=l}m.push(u),d=u,l=u.next}if(l!==null||f!==void 0){for(var H=f===void 0?[]:Ie(f);l!==null;)(r||!(l.e.f&Jt))&&H.push(l),l=l.next;var Z=H.length;if(Z>0){var st=h===0?a:null;Ca(t,H,st,_)}}Kt.first=t.first&&t.first.e,Kt.last=d&&d.e}function ka(e,t,a,i){We(e.v,t),e.i=a}function Se(e,t,a,i,o,r,s,h,_){var p=(_&aa)!==0,l=(_&na)===0,f=p?l?ta(o):ve(o):o,d=_&ea?ve(s):s,m={i:d,v:f,k:r,a:null,e:null,prev:a,next:i};try{return m.e=ie(()=>h(e,f,d),pt),m.e.prev=a&&a.e,m.e.next=i&&i.e,a===null?t.first=m:(a.next=m,a.e.next=m.e),i!==null&&(i.prev=m,i.e.prev=m.e),m}finally{}}function _e(e,t,a){for(var i=e.next?e.next.e.nodes_start:a,o=t?t.e.nodes_start:a,r=e.e.nodes_start;r!==i;){var s=Ee(r);o.before(r),r=s}}function Tt(e,t,a){t===null?e.first=a:(t.next=a,t.e.next=a&&a.e),a!==null&&(a.prev=t,a.e.prev=t&&t.e)}function Ot(e,t,a,i,o){var r=e,s="",h;Ne(()=>{if(s===(s=t()??"")){pt&&re();return}h!==void 0&&(Pe(h),h=void 0),s!==""&&(h=ie(()=>{if(pt){At.data;for(var _=re(),p=_;_!==null&&(_.nodeType!==8||_.data!=="");)p=_,_=Ee(_);if(_===null)throw ra(),oa;de(At,p),r=Yt(_);return}var l=s+"",f=qe(l);de(Te(f),f.lastChild),r.before(f)}))})}function Ta(e,t,a){se(()=>{var i=gt(()=>t(e,a==null?void 0:a())||{});if(a&&(i!=null&&i.update)){var o=!1,r={};Be(()=>{var s=a();x(s),o&&ia(r,s)&&(r=s,i.update(s))}),o=!0}if(i!=null&&i.destroy)return()=>i.destroy()})}const Na=()=>performance.now(),Nt={tick:e=>requestAnimationFrame(e),now:()=>Na(),tasks:new Set};function $e(e){Nt.tasks.forEach(t=>{t.c(e)||(Nt.tasks.delete(t),t.f())}),Nt.tasks.size!==0&&Nt.tick($e)}function Ia(e){let t;return Nt.tasks.size===0&&Nt.tick($e),{promise:new Promise(a=>{Nt.tasks.add(t={c:e,f:a})}),abort(){Nt.tasks.delete(t)}}}function Vt(e,t){e.dispatchEvent(new CustomEvent(t))}function Aa(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(a=>a[0].toUpperCase()+a.slice(1)).join("")}function pe(e){const t={},a=e.split(";");for(const i of a){const[o,r]=i.split(":");if(!o||r===void 0)break;const s=Aa(o.trim());t[s]=r.trim()}return t}const Pa=e=>e;function $t(e,t,a,i){var o=(e&da)!==0,r=(e&fa)!==0,s=o&&r,h=(e&ba)!==0,_=s?"both":o?"in":"out",p,l=t.inert,f,d;function m(){var y=Oe,j=Kt;fe(null),be(null);try{return p??(p=a()(t,(i==null?void 0:i())??{},{direction:_}))}finally{fe(y),be(j)}}var v={is_global:h,in(){var y;if(t.inert=l,!o){d==null||d.abort(),(y=d==null?void 0:d.reset)==null||y.call(d);return}r||f==null||f.abort(),Vt(t,"introstart"),f=oe(t,m(),d,1,()=>{Vt(t,"introend"),f==null||f.abort(),f=p=void 0})},out(y){if(!r){y==null||y(),p=void 0;return}t.inert=!0,Vt(t,"outrostart"),d=oe(t,m(),f,0,()=>{Vt(t,"outroend"),y==null||y()})},stop:()=>{f==null||f.abort(),d==null||d.abort()}},b=Kt;if((b.transitions??(b.transitions=[])).push(v),o&&_a){var g=h;if(!g){for(var u=b.parent;u&&u.f&sa;)for(;(u=u.parent)&&!(u.f&la););g=!u||(u.f&ca)!==0}g&&se(()=>{gt(()=>v.in())})}}function oe(e,t,a,i,o){var r=i===1;if(ua(t)){var s,h=!1;return va(()=>{if(!h){var g=t({direction:r?"in":"out"});s=oe(e,g,a,i,o)}}),{abort:()=>{h=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(a==null||a.deactivate(),!(t!=null&&t.duration))return o(),{abort:Ft,deactivate:Ft,reset:Ft,t:()=>i};const{delay:_=0,css:p,tick:l,easing:f=Pa}=t;var d=[];if(r&&a===void 0&&(l&&l(0,1),p)){var m=pe(p(0,1));d.push(m,m)}var v=()=>1-i,b=e.animate(d,{duration:_});return b.onfinish=()=>{var g=(a==null?void 0:a.t())??1-i;a==null||a.abort();var u=i-g,y=t.duration*Math.abs(u),j=[];if(y>0){if(p)for(var P=Math.ceil(y/16.666666666666668),L=0;L<=P;L+=1){var V=g+u*f(L/P),F=p(V,1-V);j.push(pe(F))}v=()=>{var H=b.currentTime;return g+u*f(H/y)},l&&Ia(()=>{if(b.playState!=="running")return!1;var H=v();return l(H,1-H),!0})}b=e.animate(j,{duration:y,fill:"forwards"}),b.onfinish=()=>{v=()=>i,l==null||l(i,1-i),o()}},{abort:()=>{b&&(b.cancel(),b.effect=null,b.onfinish=Ft)},deactivate:()=>{o=Ft},reset:()=>{i===0&&(l==null||l(1,0))},t:()=>v()}}function te(e,t,a=t){var i=ma();Ue(e,"input",()=>{var o=he(e)?ge(e.value):e.value;a(o),i&&o!==(o=t())&&(e.value=o??"")}),Be(()=>{var o=t();if(pt&&e.defaultValue!==e.value){a(e.value);return}he(e)&&o===ge(e.value)||e.type==="date"&&!o&&!e.value||o!==e.value&&(e.value=o??"")})}function he(e){var t=e.type;return t==="number"||t==="range"}function ge(e){return e===""?null:+e}const ye={translate:new Map([[!0,"yes"],[!1,"no"]])};function Le(e,t,a=!1){if(t==null||!t&&a||t===""&&e==="class")return"";const i=e in ye&&ye[e].get(t)||t,o=a?"":`="${bt(i,!0)}"`;return` ${e}${o}`}const Oa=le(void 0);function Ea(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 a=()=>{e.dispatchEvent(new CustomEvent("copyComplete"))},i=()=>{if(typeof t=="object"){if("element"in t){const o=document.querySelector(`[data-clipboard="${t.element}"]`);if(!o)throw new Error(`Missing HTMLElement with an attribute of [data-clipboard="${t.element}"]`);ee(o.innerHTML,"text/html").then(a);return}if("input"in t){const o=document.querySelector(`[data-clipboard="${t.input}"]`);if(!o)throw new Error(`Missing HTMLInputElement with an attribute of [data-clipboard="${t.input}"]`);ee(o.value).then(a);return}}ee(t).then(a)};return e.addEventListener("click",i),{update(o){t=o},destroy(){e.removeEventListener("click",i)}}}async function ee(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(a=>{a(navigator.clipboard.writeText(String(e)))})}const Ba=e=>e;function Sa(e){const t=e-1;return t*t*t+1}function Ce(e,{delay:t=0,duration:a=400,easing:i=Ba}={}){const o=+getComputedStyle(e).opacity;return{delay:t,duration:a,easing:i,css:r=>`opacity: ${r*o}`}}function xe(e,{delay:t=0,duration:a=400,easing:i=Sa,axis:o="y"}={}){const r=getComputedStyle(e),s=+r.opacity,h=o==="y"?"height":"width",_=parseFloat(r[h]),p=o==="y"?["top","bottom"]:["left","right"],l=p.map(u=>`${u[0].toUpperCase()}${u.slice(1)}`),f=parseFloat(r[`padding${l[0]}`]),d=parseFloat(r[`padding${l[1]}`]),m=parseFloat(r[`margin${l[0]}`]),v=parseFloat(r[`margin${l[1]}`]),b=parseFloat(r[`border${l[0]}Width`]),g=parseFloat(r[`border${l[1]}Width`]);return{delay:t,duration:a,easing:i,css:u=>`overflow: hidden;opacity: ${Math.min(u*20,1)*s};${h}: ${u*_}px;padding-${p[0]}: ${u*f}px;padding-${p[1]}: ${u*d}px;margin-${p[0]}: ${u*m}px;margin-${p[1]}: ${u*v}px;border-${p[0]}-width: ${u*b}px;border-${p[1]}-width: ${u*g}px;`}}var $a=R('<div data-testid="accordion"><!></div>');function La(e,t){const a=zt(t,["children","$$slots","$$events","$$legacy"]);Mt(t,!1);const i=qt(),o=()=>St(we,"$prefersReducedMotionStore",i),r=M();let s=n(t,"autocollapse",8,!1),h=n(t,"width",8,"w-full"),_=n(t,"spacing",8,"space-y-1"),p=n(t,"disabled",8,!1),l=n(t,"padding",8,"py-2 px-4"),f=n(t,"hover",8,"hover:bg-primary-hover-token"),d=n(t,"rounded",8,"rounded-container-token"),m=n(t,"caretOpen",8,"rotate-180"),v=n(t,"caretClosed",8,""),b=n(t,"regionControl",8,""),g=n(t,"regionPanel",8,"space-y-4"),u=n(t,"regionCaret",8,""),y=n(t,"transitions",24,()=>!o()),j=n(t,"transitionIn",8,xe),P=n(t,"transitionInParams",24,()=>({duration:200})),L=n(t,"transitionOut",8,xe),V=n(t,"transitionOutParams",24,()=>({duration:200}));const F=le(null);k("active",F),k("autocollapse",s()),k("disabled",p()),k("padding",l()),k("hover",f()),k("rounded",d()),k("caretOpen",m()),k("caretClosed",v()),k("regionControl",b()),k("regionPanel",g()),k("regionCaret",u()),k("transitions",y()),k("transitionIn",j()),k("transitionInParams",P()),k("transitionOut",L()),k("transitionOutParams",V()),q(()=>(x(h()),x(_()),x(a)),()=>{S(r,`${h()} ${_()} ${a.class??""}`)}),Rt(),Ut();var H=$a(),Z=N(H);ht(Z,t,"default",{},null),w(H),J(()=>U(H,`accordion ${c(r)??""}`)),C(e,H),Ht()}function Lt(e,t){const{transition:a,params:i,enabled:o}=t;return o?a(e,i):"duration"in i?a(e,{duration:0}):{duration:0}}var Ma=R('<div class="accordion-lead"><!></div>'),Ra=R("<div><!></div>"),Ha=R("<div><!></div>"),Fa=R('<div role="region"><!></div>'),Da=R('<div data-testid="accordion-item"><button type="button"><!> <div class="accordion-summary flex-1"><!></div> <!></button> <!></div>');function ae(e,t){const a=ke(t),i=zt(t,["children","$$slots","$$events","$$legacy"]);Mt(t,!1);const o=qt(),r=()=>St(L(),"$active",o),s=M(),h=M(),_=M(),p=M(),l=M(),f=M(),d=M(),m=ce();let v=n(t,"open",12,!1),b=n(t,"id",24,()=>String(Math.random()));const g="",u="text-start w-full flex items-center space-x-4",y="fill-current w-3 transition-transform duration-[200ms]",j="";let P=n(t,"autocollapse",24,()=>T("autocollapse")),L=n(t,"active",24,()=>T("active")),V=n(t,"disabled",24,()=>T("disabled")),F=n(t,"padding",24,()=>T("padding")),H=n(t,"hover",24,()=>T("hover")),Z=n(t,"rounded",24,()=>T("rounded")),st=n(t,"caretOpen",24,()=>T("caretOpen")),tt=n(t,"caretClosed",24,()=>T("caretClosed")),Ct=n(t,"regionControl",24,()=>T("regionControl")),et=n(t,"regionPanel",24,()=>T("regionPanel")),W=n(t,"regionCaret",24,()=>T("regionCaret")),nt=n(t,"transitions",24,()=>T("transitions")),lt=n(t,"transitionIn",24,()=>T("transitionIn")),Y=n(t,"transitionInParams",24,()=>T("transitionInParams")),K=n(t,"transitionOut",24,()=>T("transitionOut")),E=n(t,"transitionOutParams",24,()=>T("transitionOutParams"));const D=`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" />
</svg>`;function at(B){P()===!0?L().set(b()):v(!v()),ot(B)}function ot(B){const O=P()?r()===b():v();m("toggle",{event:B,id:b(),panelId:`accordion-panel-${b()}`,open:O,autocollapse:P()})}P()&&v()&&at(),q(()=>(x(v()),x(P())),()=>{v()&&P()&&at()}),q(()=>(x(P()),r(),x(b()),x(v())),()=>{S(s,P()?r()===b():v())}),q(()=>x(i),()=>{S(h,`${g} ${i.class??""}`)}),q(()=>(x(F()),x(H()),x(Z()),x(Ct())),()=>{S(_,`${u} ${F()} ${H()} ${Z()} ${Ct()}`)}),q(()=>(c(s),x(st()),x(tt())),()=>{S(p,c(s)?st():tt())}),q(()=>(x(W()),c(p)),()=>{S(l,`${y} ${W()} ${c(p)}`)}),q(()=>x(W()),()=>{S(f,`${y} ${W()}`)}),q(()=>(x(F()),x(Z()),x(et())),()=>{S(d,`${j} ${F()} ${Z()} ${et()}`)}),Rt(),Ut();var Q=Da(),$=N(Q),wt=N($);dt(wt,()=>a.lead,B=>{var O=Ma(),G=N(O);ht(G,t,"lead",{},null),w(O),C(B,O)});var It=A(wt,2),kt=N(It);ht(kt,t,"summary",{},B=>{var O=ft("(summary)");C(B,O)}),w(It);var ut=A(It,2);dt(ut,()=>a.iconClosed||a.iconOpen,B=>{var O=Ra(),G=N(O);dt(G,()=>c(s),X=>{var z=Pt(),ct=it(z);ht(ct,t,"iconClosed",{},vt=>{var rt=Pt(),I=it(rt);Ot(I,()=>D),C(vt,rt)}),C(X,z)},X=>{var z=Pt(),ct=it(z);ht(ct,t,"iconOpen",{},vt=>{var rt=Pt(),I=it(rt);Ot(I,()=>D),C(vt,rt)}),C(X,z)}),w(O),J(()=>U(O,`accordion-summary-icons ${c(f)??""}`)),C(B,O)},B=>{var O=Ha(),G=N(O);Ot(G,()=>D),w(O),J(()=>U(O,`accordion-summary-caret ${c(l)??""}`)),C(B,O)}),w($);var Et=A($,2);dt(Et,()=>c(s),B=>{var O=Fa(),G=N(O);ht(G,t,"content",{},X=>{var z=ft("(content)");C(X,z)}),w(O),J(()=>{U(O,`accordion-panel ${c(d)??""}`),_t(O,"id",`accordion-panel-${b()??""}`),_t(O,"aria-hidden",!c(s)),_t(O,"aria-labelledby",b())}),$t(1,O,()=>Lt,()=>({transition:lt(),params:Y(),enabled:nt()})),$t(2,O,()=>Lt,()=>({transition:K(),params:E(),enabled:nt()})),C(B,O)}),w(Q),J(()=>{U(Q,`accordion-item ${c(h)??""}`),U($,`accordion-control ${c(_)??""}`),_t($,"id",b()),_t($,"aria-expanded",c(s)),_t($,"aria-controls",`accordion-panel-${b()??""}`),$.disabled=V()}),xt("click",$,at),xt("click",$,function(B){Gt.call(this,t,B)}),xt("keydown",$,function(B){Gt.call(this,t,B)}),xt("keyup",$,function(B){Gt.call(this,t,B)}),xt("keypress",$,function(B){Gt.call(this,t,B)}),C(e,Q),Ht()}var za=R("<div><span> </span></div>"),qa=R("<header></header>"),Ua=R('<div data-testid="stepper"><!> <div><!></div></div>');function ja(e,t){const a=zt(t,["children","$$slots","$$events","$$legacy"]);Mt(t,!1);const i=qt(),o=()=>St(we,"$prefersReducedMotionStore",i),r=()=>St(D,"$state",i),s=M(),h=M(),_=M(),p=M(),l=M(),f=M(),d=ce();let m=n(t,"gap",8,"gap-4"),v=n(t,"stepTerm",8,"Step"),b=n(t,"badge",8,"variant-filled-surface"),g=n(t,"active",8,"variant-filled"),u=n(t,"border",8,"border-surface-400-500-token"),y=n(t,"start",8,0),j=n(t,"justify",8,"justify-between"),P=n(t,"buttonBack",8,"variant-ghost"),L=n(t,"buttonBackType",8,"button"),V=n(t,"buttonBackLabel",8,"&larr; Back"),F=n(t,"buttonNext",8,"variant-filled"),H=n(t,"buttonNextType",8,"button"),Z=n(t,"buttonNextLabel",8,"Next &rarr;"),st=n(t,"buttonComplete",8,"variant-filled-primary"),tt=n(t,"buttonCompleteType",8,"button"),Ct=n(t,"buttonCompleteLabel",8,"Complete"),et=n(t,"regionHeader",8,""),W=n(t,"regionContent",8,""),nt=n(t,"transitions",24,()=>!o()),lt=n(t,"transitionIn",8,Ce),Y=n(t,"transitionInParams",24,()=>({duration:100})),K=n(t,"transitionOut",8,Ce),E=n(t,"transitionOutParams",24,()=>({duration:100})),D=le({current:y(),total:0});async function at(G,X){await new Promise(z=>setTimeout(z)),!G&&(Wt(D,gt(r).current+=1,gt(r)),d("next",{step:X,state:r()}),d("step",{step:X,state:r()}))}function ot(G){Wt(D,gt(r).current-=1,gt(r)),d("back",{step:G,state:r()}),d("step",{step:G,state:r()})}function Q(G){d("complete",{step:G,state:r()})}k("state",D),k("stepTerm",v()),k("gap",m()),k("justify",j()),k("onNext",at),k("onBack",ot),k("onComplete",Q),k("buttonBack",P()),k("buttonBackType",L()),k("buttonBackLabel",V()),k("buttonNext",F()),k("buttonNextType",H()),k("buttonNextLabel",Z()),k("buttonComplete",st()),k("buttonCompleteType",tt()),k("buttonCompleteLabel",Ct()),k("transitions",nt()),k("transitionIn",lt()),k("transitionInParams",Y()),k("transitionOut",K()),k("transitionOutParams",E());const $="space-y-4",wt="flex items-center border-t mt-[15px]",It="-mt-[15px] transition-all duration-300",kt="";q(()=>r(),()=>{S(s,G=>G===r().current)}),q(()=>x(a),()=>{S(h,`${$} ${a.class??""}`)}),q(()=>(x(u()),x(m()),x(et())),()=>{S(_,`${wt} ${u()} ${m()} ${et()}`)}),q(()=>{},()=>{S(p,`${It}`)}),q(()=>(c(s),x(g()),x(b())),()=>{S(l,G=>c(s)(G)?g():b())}),q(()=>x(W()),()=>{S(f,`${kt} ${W()}`)}),Rt(),Ut();var ut=Ua(),Et=N(ut);dt(Et,()=>r().total,G=>{var X=qa();xa(X,5,()=>Array.from(Array(r().total).keys()),ya,(z,ct)=>{var vt=za();const rt=Dt(()=>c(s)(c(ct)));var I=N(vt);const mt=Dt(()=>`badge ${c(l)(c(ct))??""}`);var jt=N(I,!0);J(()=>Bt(jt,c(s)(c(ct))?`${v()} ${c(ct)+1}`:c(ct)+1)),w(I),w(vt),J(()=>{U(vt,`stepper-header-step ${c(p)??""}`),je(vt,"flex-1",c(rt)),U(I,c(mt))}),C(z,vt)}),w(X),J(()=>U(X,`stepper-header ${c(_)??""}`)),$t(1,X,()=>Lt,()=>({transition:lt(),params:Y(),enabled:nt()})),$t(2,X,()=>Lt,()=>({transition:K(),params:E(),enabled:nt()})),C(G,X)});var B=A(Et,2),O=N(B);ht(O,t,"default",{},null),w(B),w(ut),J(()=>{U(ut,`stepper ${c(h)??""}`),U(B,`stepper-content ${c(f)??""}`)}),C(e,ut),Ht()}var Ga=R('<div class="step-navigation-slot"><!></div>'),Va=R("<button><!></button>"),Xa=R('<svg class="w-3 aspect-square fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"></path></svg>'),Ya=R("<button><!> <span><!></span></button>"),Ja=R("<button><!></button>"),Wa=R("<div><!> <!></div>"),Ka=R('<div data-testid="step"><header><!></header> <div><!></div> <!></div>');function ne(e,t){const a=ke(t),i=zt(t,["children","$$slots","$$events","$$legacy"]);Mt(t,!1);const o=qt(),r=()=>St(v(),"$state",o),s=M(),h=M(),_=M(),p=M();let l=n(t,"locked",8,!1),f=n(t,"regionHeader",8,""),d=n(t,"regionContent",8,""),m=n(t,"regionNavigation",8,""),v=n(t,"state",24,()=>T("state")),b=n(t,"stepTerm",24,()=>T("stepTerm")),g=n(t,"gap",24,()=>T("gap")),u=n(t,"justify",24,()=>T("justify")),y=n(t,"onNext",24,()=>T("onNext")),j=n(t,"onBack",24,()=>T("onBack")),P=n(t,"onComplete",24,()=>T("onComplete")),L=n(t,"buttonBack",24,()=>T("buttonBack")),V=n(t,"buttonBackType",24,()=>T("buttonBackType")),F=n(t,"buttonBackLabel",24,()=>T("buttonBackLabel")),H=n(t,"buttonNext",24,()=>T("buttonNext")),Z=n(t,"buttonNextType",24,()=>T("buttonNextType")),st=n(t,"buttonNextLabel",24,()=>T("buttonNextLabel")),tt=n(t,"buttonComplete",24,()=>T("buttonComplete")),Ct=n(t,"buttonCompleteType",24,()=>T("buttonCompleteType")),et=n(t,"buttonCompleteLabel",24,()=>T("buttonCompleteLabel")),W=n(t,"transitions",24,()=>T("transitions")),nt=n(t,"transitionIn",24,()=>T("transitionIn")),lt=n(t,"transitionInParams",24,()=>T("transitionInParams")),Y=n(t,"transitionOut",24,()=>T("transitionOut")),K=n(t,"transitionOutParams",24,()=>T("transitionOutParams"));const E=r().total;Wt(v(),gt(r).total+=1,gt(r));const D="space-y-4",at="text-2xl font-bold",ot="space-y-4",Q="flex";pa(()=>{Wt(v(),gt(r).total-=1,gt(r))}),q(()=>x(i),()=>{S(s,`${D} ${i.class??""}`)}),q(()=>x(f()),()=>{S(h,`${at} ${f()}`)}),q(()=>x(d()),()=>{S(_,`${ot} ${d()}`)}),q(()=>(x(u()),x(g()),x(m())),()=>{S(p,`${Q} ${u()} ${g()} ${m()}`)}),Rt(),Ut();var $=Pt(),wt=it($);dt(wt,()=>E===r().current,It=>{var kt=Ka(),ut=N(kt),Et=N(ut);ht(Et,t,"header",{},X=>{var z=ft();J(()=>Bt(z,`${b()??""} ${E+1}`)),C(X,z)}),w(ut);var B=A(ut,2),O=N(B);ht(O,t,"default",{},X=>{var z=ft();J(()=>Bt(z,`(${b()??""} ${E+1} Content)`)),C(X,z)}),w(B);var G=A(B,2);dt(G,()=>r().total>1,X=>{var z=Wa(),ct=N(z);dt(ct,()=>E===0&&a.navigation,rt=>{var I=Ga(),mt=N(I);ht(mt,t,"navigation",{},null),w(I),C(rt,I)},rt=>{var I=Va(),mt=N(I);Ot(mt,F),w(I),J(()=>{_t(I,"type",V()),U(I,`btn ${L()??""}`),I.disabled=r().current===0}),xt("click",I,()=>j()(E)),C(rt,I)});var vt=A(ct,2);dt(vt,()=>E<r().total-1,rt=>{var I=Ya(),mt=N(I);dt(mt,l,De=>{var ze=Xa();C(De,ze)});var jt=A(mt,2),Fe=N(jt);Ot(Fe,st),w(jt),w(I),J(()=>{_t(I,"type",Z()),U(I,`btn ${H()??""}`),I.disabled=l()}),xt("click",I,()=>y()(l(),E)),C(rt,I)},rt=>{var I=Ja(),mt=N(I);Ot(mt,et),w(I),J(()=>{_t(I,"type",Ct()),U(I,`btn ${tt()??""}`),I.disabled=l()}),xt("click",I,()=>P()(E)),C(rt,I)}),w(z),J(()=>U(z,`step-navigation ${c(p)??""}`)),$t(1,z,()=>Lt,()=>({transition:nt(),params:lt(),enabled:W()})),$t(2,z,()=>Lt,()=>({transition:Y(),params:K(),enabled:W()})),C(X,z)}),w(kt),J(()=>{U(kt,`step ${c(s)??""}`),U(ut,`step-header ${c(h)??""}`),U(B,`step-content ${c(_)??""}`)}),C(It,kt)}),C(e,$),Ht()}var Qa=R('<div data-testid="codeblock"><header><span class="codeblock-language"> </span> <button type="button"> </button></header> <pre><code><!></code></pre></div>');function Xt(e,t){const a=zt(t,["children","$$slots","$$events","$$legacy"]);Mt(t,!1);const i=qt(),o=()=>St(Oa,"$storeHighlightJs",i),r=M(),s=ce();let h=n(t,"language",8,"plaintext"),_=n(t,"code",8,""),p=n(t,"lineNumbers",8,!1),l=n(t,"background",8,"bg-neutral-900/90"),f=n(t,"blur",8,""),d=n(t,"text",8,"text-sm"),m=n(t,"color",8,"text-white"),v=n(t,"rounded",8,"rounded-container-token"),b=n(t,"shadow",8,"shadow"),g=n(t,"button",8,"btn btn-sm variant-soft !text-white"),u=n(t,"buttonLabel",8,"Copy"),y=n(t,"buttonCopied",8,"👍");const j="overflow-hidden shadow",P="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 V=M(!1),F=M(_()),H=M(!1);function Z(et){return et==="js"?"javascript":et==="ts"?"typescript":et==="shell"?"terminal":et}function st(){S(H,!0),setTimeout(()=>{S(H,!1)},2e3),s("copy")}q(()=>(o(),x(_()),x(h())),()=>{o()!==void 0&&(S(F,o().highlight(_(),{language:h()}).value.trim()),S(V,!0))}),q(()=>(x(p()),c(F)),()=>{p()&&(S(F,c(F).replace(/^/gm,()=>'<span class="line"></span> ')),S(V,!0))}),q(()=>(x(l()),x(f()),x(d()),x(m()),x(v()),x(b()),x(a)),()=>{S(r,`${j} ${l()} ${f()} ${d()} ${m()} ${v()} ${b()} ${a.class??""}`)}),Rt(),Ut();var tt=Pt(),Ct=it(tt);dt(Ct,()=>h()&&_(),et=>{var W=Qa(),nt=N(W);U(nt,`codeblock-header ${P}`);var lt=N(nt),Y=N(lt,!0);J(()=>Bt(Y,Z(h()))),w(lt);var K=A(lt,2),E=N(K,!0);w(K),se(()=>xt("click",K,st)),Ta(K,(Q,$)=>Ea(Q,$),_),w(nt);var D=A(nt,2);U(D,`codeblock-pre ${L}`);var at=N(D),ot=N(at);dt(ot,()=>c(V),Q=>{var $=Pt(),wt=it($);Ot(wt,()=>c(F)),C(Q,$)},Q=>{var $=ft();J(()=>Bt($,_().trim())),C(Q,$)}),w(at),w(D),w(W),J(()=>{U(W,`codeblock ${c(r)??""}`),U(K,`codeblock-btn ${g()??""}`),Bt(E,c(H)?y():u()),U(at,`codeblock-code language-${h()??""} lineNumbers`)}),C(et,W)}),C(e,tt),Ht()}const Me="git.froth.zone",Za="Froth Git",yt="pages.git.froth.zone",tn="Froth Pages",Re="150.136.112.69",He="2603:c020:4004:62ee:d84c:2488:5bdb:99c1";var en=R(`<div class="space-y-2"><p>Create a public repository named <code class="code">pages</code> to make the site available on
the main subdomain.</p> <hr></div> <p>Or, create a branch named <code class="code">pages</code> in any public repository.</p> <p><code class="code">git switch --orphan pages</code><br><code class="code">git rm --cached -r .</code></p> <!>`,1),an=R(`<a${Le("href",`https://${Me}/repo/create`)} target="_blank" class="btn variant-filled-secondary">Create a repository!</a>`),nn=R("<p>Push your static content. HTML, CSS, fonts, images or anything else.</p>"),rn=R(`<code class="code">CNAME [[branch.]repo.]user.${bt(yt)}.</code> <!>`,1),on=R(`<p>For apex domains where CNAME does not work.</p> <p><code class="code">ALIAS ${bt(yt)}.</code><br><code class="code">TXT $[[branch.]repo.]user.${bt(yt)}</code></p> <!>`,1),sn=R(`<p>If CNAME will not work and ALIAS is not available</p> <p><code class="code">A ${bt(Re)}</code><br><code class="code">AAAA ${bt(He)}</code><br><code class="code">TXT $[[branch.]repo.]user.${bt(yt)}</code></p> <!>`,1),ln=R("<!> <!> <!>",1),cn=R(`<div class="space-y-4"><p>Access your new website with this link:</p> <code class="code">https://USERNAME.${bt(yt)}[/REPOSITORY][/@BRANCH]</code> <p>or, use this handy form that can navigate for you!</p> <div class="space-y-1"><div class="input-group input-group-divider grid-cols-4"><input title="Username" type="text" placeholder="Username (required)" required> <div class="input-group-shim">.${bt(yt)}/</div> <input class="input variant-form-material" title="Repository" type="text" placeholder="Repository"> <input class="input variant-form-material" title="Branch" type="text" placeholder="Branch"></div> <a class="btn variant-filled-secondary">Take me there!</a></div> <hr> <div><h3 class="h3">What about custom domains?</h3> <p>To use custom domains, create a <code class="code">.domains</code> in the root of your repository
with the domain name you would like to use.</p> <br> <p>Then, add a DNS record for that domain:</p> <em>(note): use the above form to auto-generate your DNS records!</em> <!></div></div>`),dn=R("<!> <!> <!>",1);function un(e,t){Mt(t,!1);const a=M(),i=M();let o=M(""),r=M(""),s=M("");function h(){window.open("https://docs.codeberg.org/codeberg-pages/","_blank")}q(()=>(c(o),c(r),c(s)),()=>{S(a,`https://${c(o)}.${yt}${c(r)?`/${c(r)}`:""}${c(s)?`/@${c(s)}`:""}`)}),q(()=>(c(s),c(r),c(o),yt),()=>{S(i,`${c(s)?`${c(s)}.`:""}${c(r)?`${c(r)}.`:""}${c(o)}.${yt}`)}),Rt(),ja(e,{buttonCompleteLabel:"Open Documentation",buttonComplete:"variant-filled-success",$$events:{complete:h},children:(_,p)=>{var l=dn(),f=it(l);ne(f,{children:(v,b)=>{var g=en(),u=A(it(g),6);Xt(u,{buttonCopied:"Copied!",lineNumbers:!0,language:"shell",code:`git switch --orphan pages
git rm --cached -r .`}),C(v,g)},$$slots:{default:!0,navigation:(v,b)=>{var g=an();C(v,g)},header:(v,b)=>{var g=ft("1 - Make a repository");C(v,g)}}});var d=A(f,2);ne(d,{children:(v,b)=>{var g=nn();C(v,g)},$$slots:{default:!0,header:(v,b)=>{var g=ft("2 - Add your files");C(v,g)}}});var m=A(d,2);ne(m,{children:(v,b)=>{var g=cn(),u=A(N(g),2),y=A(u,4),j=N(y),P=N(j);Qt(P);var L=A(P,2),V=A(L,2);Qt(V);var F=A(V,2);Qt(F),w(j);var H=A(j,2);w(y);var Z=A(y,4),st=A(N(Z),10);La(st,{autocollapse:!0,children:(tt,Ct)=>{var et=ln(),W=it(et);ae(W,{open:!0,$$slots:{summary:(Y,K)=>{var E=ft("CNAME (Prefered)");C(Y,E)},content:(Y,K)=>{var E=rn(),D=it(E),at=A(D,2),ot=Dt(()=>`CNAME ${c(i)}.`);Xt(at,{buttonCopied:"Copied!",language:"dns",get code(){return c(ot)}}),C(Y,E)}}});var nt=A(W,2);ae(nt,{$$slots:{summary:(Y,K)=>{var E=ft("ALIAS (If available)");C(Y,E)},content:(Y,K)=>{var E=on(),D=A(it(E),2),at=N(D);A(at,2),w(D);var ot=A(D,2),Q=Dt(()=>`ALIAS ${yt}.
TXT ${c(i)}`);Xt(ot,{buttonCopied:"Copied!",language:"dns",get code(){return c(Q)}}),C(Y,E)}}});var lt=A(nt,2);ae(lt,{$$slots:{summary:(Y,K)=>{var E=ft("A/AAAA (Old reliable)");C(Y,E)},content:(Y,K)=>{var E=sn(),D=A(it(E),2),at=N(D),ot=A(at,2);A(ot,2),w(D);var Q=A(D,2),$=Dt(()=>`A ${Re}
AAAA ${He}
TXT ${c(i)}`);Xt(Q,{buttonCopied:"Copied!",language:"dns",get code(){return c($)}}),C(Y,E)}}}),C(tt,et)},$$slots:{default:!0}}),w(Z),w(g),J(()=>{U(P,`input variant-form-material ${(c(o)?"":"input-error")??""}`),_t(H,"href",c(a))}),te(P,()=>c(o),tt=>S(o,tt)),te(V,()=>c(r),tt=>S(r,tt)),te(F,()=>c(s),tt=>S(s,tt)),C(v,g)},$$slots:{default:!0,header:(v,b)=>{var g=ft("3 - You're Done!");C(v,g)}}}),C(_,l)},$$slots:{default:!0}}),Ht()}var vn=R(`<div class="container mx-auto text-left p-4 md:text-center"><div class="relative z-[1] space-y-6 pt-32 pb-24"><div class="font-bold text-4xl tracking-tight">Host <span class="text-tertiary-500">static websites</span> with ${bt(tn)}!</div> <p class="max-w-lg opacity-90 md:mx-auto">It's quick, easy, free &amp; fast - just put your project's homepage, developer blog or web
experiment into a Git repository at <a class="anchor"${Le("href",`https://${Me}`)}>${bt(Za)}</a> and we'll do the rest.</p> <br> <div class="flex flex-col gap-3 md:space-x-3 md:block mx-auto md:w-6/12"><!></div></div></div>`);function hn(e){var t=vn(),a=N(t),i=N(a);me(2),w(i);var o=A(i,2);A(N(o)),me(),w(o);var r=A(o,4),s=N(r);un(s,{}),w(r),w(a),w(t),C(e,t)}export{hn as _};
//# sourceMappingURL=2.C7u7nl_-.js.map