1import{s as V,f as v,g as y,h as m,d as p,j as u,k as W,i as b,z as J,L as $,v as D,a as S,l as P,c as E,m as z,W as j,A as _,n as M,a6 as L,a7 as q}from"./scheduler.37534e70.js";import{e as B}from"./localeLock.ef6350a0.js";import{S as F,i as G}from"./index.f2290ae7.js";import{$ as H}from"./i18n.c68b910d.js";const g=["account","profile","plan","payment"];function Y(l){if(!l)return"login";const e=l?.user;return e?.profile?.status!="submitted"?"profile":e?.phoneValid||l?.masquerade?"done":"sms"}function C(l,e,r){const n=l.slice();return n[3]=e[r],n[5]=r,n}function I(l){let e,r;return{c(){e=L("svg"),r=L("path"),this.h()},l(n){e=q(n,"svg",{viewBox:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var t=m(e);r=q(t,"path",{d:!0}),m(r).forEach(p),t.forEach(p),this.h()},h(){u(r,"d","M4 12.5 9.5 18 20 6.5"),u(e,"viewBox","0 0 24 24"),u(e,"fill","none"),u(e,"stroke","currentColor"),u(e,"stroke-width","4"),u(e,"stroke-linecap","round"),u(e,"stroke-linejoin","round"),u(e,"class","svelte-1fteygd")},m(n,t){b(n,e,t),_(e,r)},d(n){n&&p(e)}}}function N(l){let e,r=l[2]("journey.step-done")+"",n;return{c(){e=v("span"),n=P(r),this.h()},l(t){e=y(t,"SPAN",{class:!0});var s=m(e);n=z(s,r),s.forEach(p),this.h()},h(){u(e,"class","sr-only")},m(t,s){b(t,e,s),_(e,n)},p(t,s){s&4&&r!==(r=t[2]("journey.step-done")+"")&&M(n,r)},d(t){t&&p(e)}}}function O(l){let e,r,n,t,s=l[2](`journey.steps.${l[3]}`)+"",i,a,d,k,c=l[5]<l[1]&&I(),f=l[5]<l[1]&&N(l);return{c(){e=v("li"),r=v("i"),c&&c.c(),n=S(),t=v("span"),i=P(s),a=S(),f&&f.c(),d=S(),this.h()},l(o){e=y(o,"LI",{"aria-current":!0,class:!0});var h=m(e);r=y(h,"I",{"aria-hidden":!0,class:!0});var w=m(r);c&&c.l(w),w.forEach(p),n=E(h),t=y(h,"SPAN",{});var A=m(t);i=z(A,s),A.forEach(p),a=E(h),f&&f.l(h),d=E(h),h.forEach(p),this.h()},h(){u(r,"aria-hidden","true"),u(r,"class","svelte-1fteygd"),u(e,"aria-current",k=l[5]===l[1]?"step":void 0),u(e,"class","svelte-1fteygd"),j(e,"done",l[5]<l[1]),j(e,"current",l[5]===l[1])},m(o,h){b(o,e,h),_(e,r),c&&c.m(r,null),_(e,n),_(e,t),_(t,i),_(e,a),f&&f.m(e,null),_(e,d)},p(o,h){o[5]<o[1]?c||(c=I(),c.c(),c.m(r,null)):c&&(c.d(1),c=null),h&4&&s!==(s=o[2](`journey.steps.${o[3]}`)+"")&&M(i,s),o[5]<o[1]?f?f.p(o,h):(f=N(o),f.c(),f.m(e,d)):f&&(f.d(1),f=null),h&2&&k!==(k=o[5]===o[1]?"step":void 0)&&u(e,"aria-current",k),h&2&&j(e,"done",o[5]<o[1]),h&2&&j(e,"current",o[5]===o[1])},d(o){o&&p(e),c&&c.d(),f&&f.d()}}}function K(l){let e,r,n=B(g),t=[];for(let s=0;s<n.length;s+=1)t[s]=O(C(l,n,s));return{c(){e=v("ol");for(let s=0;s<t.length;s+=1)t[s].c();this.h()},l(s){e=y(s,"OL",{class:!0,style:!0,"aria-label":!0});var i=m(e);for(let a=0;a<t.length;a+=1)t[a].l(i);i.forEach(p),this.h()},h(){u(e,"class","journey-steps svelte-1fteygd"),W(e,"--journey-count",g.length),u(e,"aria-label",r=l[2]("journey.progress",{values:{position:l[1]+1,total:g.length,step:l[2](`journey.steps.${l[0]}`)}}))},m(s,i){b(s,e,i);for(let a=0;a<t.length;a+=1)t[a]&&t[a].m(e,null)},p(s,[i]){if(i&6){n=B(g);let a;for(a=0;a<n.length;a+=1){const d=C(s,n,a);t[a]?t[a].p(d,i):(t[a]=O(d),t[a].c(),t[a].m(e,null))}for(;a<t.length;a+=1)t[a].d(1);t.length=n.length}i&7&&r!==(r=s[2]("journey.progress",{values:{position:s[1]+1,total:g.length,step:s[2](`journey.steps.${s[0]}`)}}))&&u(e,"aria-label",r)},i:J,o:J,d(s){s&&p(e),$(t,s)}}}function Q(l,e,r){let n,t;D(l,H,i=>r(2,t=i));let{current:s}=e;return l.$$set=i=>{"current"in i&&r(0,s=i.current)},l.$$.update=()=>{l.$$.dirty&1&&r(1,n=g.indexOf(s))},[s,n,t]}class Z extends F{constructor(e){super(),G(this,e,Q,K,V,{current:0})}}export{Z as J,Y as p};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.