From 9d2c03631f1c1f8356b14a5b515f377043034ebb Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 20 Feb 2025 13:25:21 +0400 Subject: [PATCH] release --- docs/cv-maker/assets/{index-BOlMv29Q.js => index-DS5_TYs5.js} | 2 +- .../assets/{index-Tb8VLyuC.css => index-g3TKzvp8.css} | 2 +- docs/cv-maker/index.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename docs/cv-maker/assets/{index-BOlMv29Q.js => index-DS5_TYs5.js} (95%) rename docs/cv-maker/assets/{index-Tb8VLyuC.css => index-g3TKzvp8.css} (66%) diff --git a/docs/cv-maker/assets/index-BOlMv29Q.js b/docs/cv-maker/assets/index-DS5_TYs5.js similarity index 95% rename from docs/cv-maker/assets/index-BOlMv29Q.js rename to docs/cv-maker/assets/index-DS5_TYs5.js index bdcd8d7..e46ee03 100644 --- a/docs/cv-maker/assets/index-BOlMv29Q.js +++ b/docs/cv-maker/assets/index-DS5_TYs5.js @@ -27,4 +27,4 @@ ${this.stack.split(` `)}`:`${i}: ${c}`}else i=o,c=nr(r,0),a=`${i}: ${c}`;s.length>0&&(a+=` ${s.join(` `)}`);super(c);u(this,"_tag");u(this,"traces");u(this,ch);this._tag=n,this.traces=s,this[pd]=NI,this.name=i,this.stack=a}pipe(){return C(this,arguments)}toString(){return this.stack}[(ch=pd,re)](){return this.stack}}class RI extends Hy{constructor(n,r=[]){super("Die",n,r);u(this,"defect");this.defect=n}}const CI=(e,t=[])=>new RI(e,t);class PI extends Hy{constructor(t=[]){super("Interrupt","interrupted",t)}}const FI=(e=[])=>new PI(e),jI=e=>e._tag==="Interrupt",md=Symbol.for("effect/Micro/MicroFiber"),LI={_A:ne,_E:ne};var ah;ah=md;class KI{constructor(t,n=!0){u(this,"context");u(this,"interruptible");u(this,ah);u(this,"_stack",[]);u(this,"_observers",[]);u(this,"_exit");u(this,"_children");u(this,"currentOpCount",0);u(this,"_interrupted",!1);u(this,"_yielded");this.context=t,this.interruptible=n,this[md]=LI}getRef(t){return pk(this.context,t)}addObserver(t){return this._exit?(t(this._exit),xw):(this._observers.push(t),()=>{const n=this._observers.indexOf(t);n>=0&&this._observers.splice(n,1)})}unsafeInterrupt(){this._exit||(this._interrupted=!0,this.interruptible&&this.evaluate(Sl))}unsafePoll(){return this._exit}evaluate(t){if(this._exit)return;if(this._yielded!==void 0){const s=this._yielded;this._yielded=void 0,s()}const n=this.runLoop(t);if(n===io)return;const r=gd.interruptChildren&&gd.interruptChildren(this);if(r!==void 0)return this.evaluate(ii(r,()=>n));this._exit=n;for(let s=0;ss)}if(r=r[Ra](this),r===io){const s=this._yielded;return si in s?(this._yielded=void 0,s):io}}}catch(s){return j(r,Ra)?Ca(s):Ca(`MicroFiber.runLoop: Not a valid effect: ${String(r)}`)}}getCont(t){for(;;){const n=this._stack.pop();if(!n)return;const r=n[oi]&&n[oi](this);if(r)return{[t]:r};if(n[t])return n}}yieldWith(t){return this._yielded=t,io}children(){return this._children??(this._children=new Set)}}const gd=J("effect/Micro/fiberMiddleware",()=>({interruptChildren:void 0})),Wy=Symbol.for("effect/Micro/identifier"),be=Symbol.for("effect/Micro/args"),Ra=Symbol.for("effect/Micro/evaluate"),yr=Symbol.for("effect/Micro/successCont"),Qn=Symbol.for("effect/Micro/failureCont"),oi=Symbol.for("effect/Micro/ensureCont"),io=Symbol.for("effect/Micro/Yield"),DI={_A:ne,_E:ne,_R:ne},UI={...sI,_op:"Micro",[AI]:DI,pipe(){return C(this,arguments)},[Symbol.iterator](){return new Zp(new $s(this))},toJSON(){return{_id:"Micro",op:this[Wy],...be in this?{args:this[be]}:void 0}},toString(){return Te(this)},[re](){return Te(this)}};function qI(e){return Ca("Micro.evaluate: Not implemented")}const Xi=e=>({...UI,[Wy]:e.op,[Ra]:e.eval??qI,[yr]:e.contA,[Qn]:e.contE,[oi]:e.ensure}),gl=e=>{const t=Xi(e);return function(){const n=Object.create(t);return n[be]=e.single===!1?arguments:arguments[0],n}},zy=e=>{const t={...Xi(e),[si]:si,_tag:e.op,get[e.prop](){return this[be]},toJSON(){return{_id:"MicroExit",_tag:e.op,[e.prop]:this[be]}},[L](n){return WI(n)&&n._tag===e.op&&D(this[be],n[be])},[K](){return ie(this,V(he(e.op))(M(this[be])))}};return function(n){const r=Object.create(t);return r[be]=n,r[yr]=void 0,r[Qn]=void 0,r[oi]=void 0,r}},yl=zy({op:"Success",prop:"value",eval(e){const t=e.getCont(yr);return t?t[yr](this[be],e):e.yieldWith(this)}}),Gy=zy({op:"Failure",prop:"cause",eval(e){let t=e.getCont(Qn);for(;jI(this[be])&&t&&e.interruptible;)t=e.getCont(Qn);return t?t[Qn](this[be],e):e.yieldWith(this)}}),BI=gl({op:"Yield",eval(e){let t=!1;return e.getRef(wl).scheduleTask(()=>{t||e.evaluate(zI)},this[be]??0),e.yieldWith(()=>{t=!0})}}),JI=BI(0),VI=yl(void 0),_l=gl({op:"WithMicroFiber",eval(e){return this[be](e)}}),ii=h(2,(e,t)=>{const n=Object.create(HI);return n[be]=e,n[yr]=t,n}),HI=Xi({op:"OnSuccess",eval(e){return e._stack.push(this),this[be]}}),WI=e=>j(e,si),Yy=yl,bl=Gy,Sl=bl(FI()),Ca=e=>bl(CI(e)),zI=Yy(void 0),GI="setImmediate"in globalThis?globalThis.setImmediate:e=>setTimeout(e,0);class Zy{constructor(){u(this,"tasks",[]);u(this,"running",!1);u(this,"afterScheduled",()=>{this.running=!1,this.runTasks()})}scheduleTask(t,n){this.tasks.push(t),this.running||(this.running=!0,GI(this.afterScheduled))}runTasks(){const t=this.tasks;this.tasks=[];for(let n=0,r=t.length;n=t.getRef(QI)}flush(){for(;this.tasks.length>0;)this.runTasks()}}const YI=h(2,(e,t)=>_l(n=>{const r=n.context;return n.context=t(r),tM(e,()=>(n.context=r,VI))})),ZI=h(2,(e,t)=>YI(e,tg(t)));class QI extends ng()("effect/Micro/currentMaxOpsBeforeYield",{defaultValue:()=>2048}){}class wl extends ng()("effect/Micro/currentScheduler",{defaultValue:()=>new Zy}){}const XI=h(2,(e,t)=>{const n=Object.create(eM);return n[be]=e,n[yr]=t.onSuccess,n[Qn]=t.onFailure,n}),eM=Xi({op:"OnSuccessAndFailure",eval(e){return e._stack.push(this),this[be]}}),tM=h(2,(e,t)=>rM(n=>XI(n(e),{onFailure:r=>ii(t(bl(r)),()=>Gy(r)),onSuccess:r=>ii(t(Yy(r)),()=>yl(r))}))),Qy=gl({op:"SetInterruptible",ensure(e){if(e.interruptible=this[be],e._interrupted&&e.interruptible)return()=>Sl}}),nM=e=>_l(t=>t.interruptible?e:(t.interruptible=!0,t._stack.push(Qy(!1)),t._interrupted?Sl:e)),rM=e=>_l(t=>t.interruptible?(t.interruptible=!1,t._stack.push(Qy(!0)),e(nM)):e(ne)),sM=(e,t)=>{const n=new KI(wl.context(new Zy));return n.evaluate(e),n};class Xy{constructor(){u(this,"buckets",[])}scheduleTask(t,n){const r=this.buckets.length;let s,o=0;for(;o=this.maxNextTickBeforeTimer?setTimeout(()=>this.starveInternal(0),0):Promise.resolve(void 0).then(()=>this.starveInternal(t+1))}shouldYield(t){return t.currentOpCount>t.getFiberRef(by)?t.getFiberRef(Yi):!1}scheduleTask(t,n){this.tasks.scheduleTask(t,n),this.running||(this.running=!0,this.starve())}}const e_=J(Symbol.for("effect/Scheduler/defaultScheduler"),()=>new oM(2048));class iM{constructor(){u(this,"tasks",new Xy);u(this,"deferred",!1)}scheduleTask(t,n){this.deferred?e_.scheduleTask(t,n):this.tasks.scheduleTask(t,n)}shouldYield(t){return t.currentOpCount>t.getFiberRef(by)?t.getFiberRef(Yi):!1}flush(){for(;this.tasks.buckets.length>0;){const t=this.tasks.buckets;this.tasks.buckets=[];for(const[n,r]of t)for(let s=0;sHe(e_)),n_=J(Symbol.for("effect/FiberRef/currentRequestMap"),()=>He(new Map)),yd=(e,t,n,r)=>{switch(e){case void 0:return t();case"unbounded":return n();case"inherit":return al(gT,s=>s==="unbounded"?n():s>1?r(s):t());default:return e>1?r(e):t()}},vl="InterruptSignal",kl="Stateful",El="Resume",Ol="YieldNow",Ec=e=>({_tag:vl,cause:e}),To=e=>({_tag:kl,onFiber:e}),Dn=e=>({_tag:El,effect:e}),cM=()=>({_tag:Ol}),aM="effect/FiberScope",ci=Symbol.for(aM);var uh;uh=ci;class uM{constructor(){u(this,uh,ci);u(this,"fiberId",Tn);u(this,"roots",new Set)}add(t,n){this.roots.add(n),n.addObserver(()=>{this.roots.delete(n)})}}var lh;lh=ci;class lM{constructor(t,n){u(this,"fiberId");u(this,"parent");u(this,lh,ci);this.fiberId=t,this.parent=n}add(t,n){this.parent.tell(To(r=>{r.addChild(n),n.addObserver(()=>{r.removeChild(n)})}))}}const fM=e=>new lM(e.id(),e),$l=J(Symbol.for("effect/FiberScope/Global"),()=>new uM),dM="effect/Fiber",r_=Symbol.for(dM),s_={_E:e=>e,_A:e=>e},hM={[r_]:s_,pipe(){return C(this,arguments)}},pM="effect/Fiber",mM=Symbol.for(pM),Tl=e=>py(ay(e.await),e.inheritAll);({...Ms,...hM});const sn="effect/FiberCurrent",gM="effect/Logger",yM=Symbol.for(gM),_M={_Message:e=>e,_Output:e=>e},xl=e=>({[yM]:_M,log:e,pipe(){return C(this,arguments)}}),bM=/^[^\s"=]*$/,SM=(e,t)=>({annotations:n,cause:r,date:s,fiberId:o,logLevel:i,message:c,spans:a})=>{const l=y=>y.match(bM)?y:e(y),f=(y,k)=>`${jy(y)}=${l(k)}`,d=(y,k)=>" "+f(y,k);let p=f("timestamp",s.toISOString());p+=d("level",i.label),p+=d("fiber",$g(o));const m=Iv(c);for(let y=0;y`"${e.replace(/\\([\s\S])|(")/g,"\\$1$2")}"`,vM=xl(SM(wM)),kM=typeof process=="object"&&process!==null&&typeof process.stdout=="object"&&process.stdout!==null;kM&&process.stdout.isTTY;const o_="effect/MetricBoundaries",Pa=Symbol.for(o_);var fh;class EM{constructor(t){u(this,"values");u(this,fh,Pa);u(this,"_hash");this.values=t,this._hash=_(he(o_),V(Ts(this.values)))}[(fh=Pa,K)](){return this._hash}[L](t){return OM(t)&&D(this.values,t.values)}pipe(){return C(this,arguments)}}const OM=e=>j(e,Pa),$M=e=>{const t=_(e,wm(Je(Number.POSITIVE_INFINITY)),Yv);return new EM(t)},TM=e=>_(xv(e.count-1,t=>e.start*Math.pow(e.factor,t)),Ku,$M),xM="effect/MetricKeyType",i_=Symbol.for(xM),c_="effect/MetricKeyType/Counter",Fa=Symbol.for(c_),IM="effect/MetricKeyType/Frequency",MM=Symbol.for(IM),AM="effect/MetricKeyType/Gauge",NM=Symbol.for(AM),a_="effect/MetricKeyType/Histogram",ja=Symbol.for(a_),RM="effect/MetricKeyType/Summary",CM=Symbol.for(RM),u_={_In:e=>e,_Out:e=>e};var dh,hh;class PM{constructor(t,n){u(this,"incremental");u(this,"bigint");u(this,hh,u_);u(this,dh,Fa);u(this,"_hash");this.incremental=t,this.bigint=n,this._hash=he(c_)}[(hh=i_,dh=Fa,K)](){return this._hash}[L](t){return l_(t)}pipe(){return C(this,arguments)}}var ph,mh;class FM{constructor(t){u(this,"boundaries");u(this,mh,u_);u(this,ph,ja);u(this,"_hash");this.boundaries=t,this._hash=_(he(a_),V(M(this.boundaries)))}[(mh=i_,ph=ja,K)](){return this._hash}[L](t){return f_(t)&&D(this.boundaries,t.boundaries)}pipe(){return C(this,arguments)}}const jM=e=>new PM((e==null?void 0:e.incremental)??!1,(e==null?void 0:e.bigint)??!1),LM=e=>new FM(e),l_=e=>j(e,Fa),KM=e=>j(e,MM),DM=e=>j(e,NM),f_=e=>j(e,ja),UM=e=>j(e,CM),qM="effect/MetricKey",d_=Symbol.for(qM),BM={_Type:e=>e},JM=xu(D);var gh;class Il{constructor(t,n,r,s=[]){u(this,"name");u(this,"keyType");u(this,"description");u(this,"tags");u(this,gh,BM);u(this,"_hash");this.name=t,this.keyType=n,this.description=r,this.tags=s,this._hash=_(he(this.name+this.description),V(M(this.keyType)),V(Ts(this.tags)))}[(gh=d_,K)](){return this._hash}[L](t){return VM(t)&&this.name===t.name&&D(this.keyType,t.keyType)&&D(this.description,t.description)&&JM(this.tags,t.tags)}pipe(){return C(this,arguments)}}const VM=e=>j(e,d_),HM=(e,t)=>new Il(e,jM(t),Oi(t==null?void 0:t.description)),WM=(e,t,n)=>new Il(e,LM(t),Oi(n)),zM=h(2,(e,t)=>t.length===0?e:new Il(e.name,e.keyType,e.description,So(e.tags,t))),GM="effect/MetricState",Hs=Symbol.for(GM),h_="effect/MetricState/Counter",La=Symbol.for(h_),p_="effect/MetricState/Frequency",Ka=Symbol.for(p_),m_="effect/MetricState/Gauge",Da=Symbol.for(m_),g_="effect/MetricState/Histogram",Ua=Symbol.for(g_),y_="effect/MetricState/Summary",qa=Symbol.for(y_),Ws={_A:e=>e};var yh,_h;class YM{constructor(t){u(this,"count");u(this,_h,Ws);u(this,yh,La);this.count=t}[(_h=Hs,yh=La,K)](){return _(M(h_),V(M(this.count)),ie(this))}[L](t){return cA(t)&&this.count===t.count}pipe(){return C(this,arguments)}}const ZM=xu(D);var bh,Sh;class QM{constructor(t){u(this,"occurrences");u(this,Sh,Ws);u(this,bh,Ka);u(this,"_hash");this.occurrences=t}[(Sh=Hs,bh=Ka,K)](){return _(he(p_),V(Ts(fe(this.occurrences.entries()))),ie(this))}[L](t){return aA(t)&&ZM(fe(this.occurrences.entries()),fe(t.occurrences.entries()))}pipe(){return C(this,arguments)}}var wh,vh;class XM{constructor(t){u(this,"value");u(this,vh,Ws);u(this,wh,Da);this.value=t}[(vh=Hs,wh=Da,K)](){return _(M(m_),V(M(this.value)),ie(this))}[L](t){return uA(t)&&this.value===t.value}pipe(){return C(this,arguments)}}var kh,Eh;class eA{constructor(t,n,r,s,o){u(this,"buckets");u(this,"count");u(this,"min");u(this,"max");u(this,"sum");u(this,Eh,Ws);u(this,kh,Ua);this.buckets=t,this.count=n,this.min=r,this.max=s,this.sum=o}[(Eh=Hs,kh=Ua,K)](){return _(M(g_),V(M(this.buckets)),V(M(this.count)),V(M(this.min)),V(M(this.max)),V(M(this.sum)),ie(this))}[L](t){return lA(t)&&D(this.buckets,t.buckets)&&this.count===t.count&&this.min===t.min&&this.max===t.max&&this.sum===t.sum}pipe(){return C(this,arguments)}}var Oh,$h;class tA{constructor(t,n,r,s,o,i){u(this,"error");u(this,"quantiles");u(this,"count");u(this,"min");u(this,"max");u(this,"sum");u(this,$h,Ws);u(this,Oh,qa);this.error=t,this.quantiles=n,this.count=r,this.min=s,this.max=o,this.sum=i}[($h=Hs,Oh=qa,K)](){return _(M(y_),V(M(this.error)),V(M(this.quantiles)),V(M(this.count)),V(M(this.min)),V(M(this.max)),V(M(this.sum)),ie(this))}[L](t){return fA(t)&&this.error===t.error&&D(this.quantiles,t.quantiles)&&this.count===t.count&&this.min===t.min&&this.max===t.max&&this.sum===t.sum}pipe(){return C(this,arguments)}}const nA=e=>new YM(e),rA=e=>new QM(e),sA=e=>new XM(e),oA=e=>new eA(e.buckets,e.count,e.min,e.max,e.sum),iA=e=>new tA(e.error,e.quantiles,e.count,e.min,e.max,e.sum),cA=e=>j(e,La),aA=e=>j(e,Ka),uA=e=>j(e,Da),lA=e=>j(e,Ua),fA=e=>j(e,qa),dA="effect/MetricHook",hA=Symbol.for(dA),pA={_In:e=>e,_Out:e=>e},zs=e=>({[hA]:pA,pipe(){return C(this,arguments)},...e}),_d=BigInt(0),mA=e=>{let t=e.keyType.bigint?_d:0;const n=e.keyType.incremental?e.keyType.bigint?s=>s>=_d:s=>s>=0:s=>!0,r=s=>{n(s)&&(t=t+s)};return zs({get:()=>nA(t),update:r,modify:r})},gA=e=>{const t=new Map;for(const r of e.keyType.preregisteredWords)t.set(r,0);const n=r=>{const s=t.get(r)??0;t.set(r,s+1)};return zs({get:()=>rA(t),update:n,modify:n})},yA=(e,t)=>{let n=t;return zs({get:()=>sA(n),update:r=>{n=r},modify:r=>{n=n+r}})},_A=e=>{const t=e.keyType.boundaries.values,n=t.length,r=new Uint32Array(n+1),s=new Float32Array(n);let o=0,i=0,c=Number.MAX_VALUE,a=Number.MIN_VALUE;_(t,is(or),Vn((d,p)=>{s[p]=d}));const l=d=>{let p=0,m=n;for(;p!==m;){const y=Math.floor(p+(m-p)/2),k=s[y];d<=k?m=y:p=y,m===p+1&&(d<=s[p]?m=p:p=m)}r[p]=r[p]+1,o=o+1,i=i+d,da&&(a=d)},f=()=>{const d=Ti(n);let p=0;for(let m=0;moA({buckets:f(),count:o,min:c,max:a,sum:i}),update:l,modify:l})},bA=e=>{const{error:t,maxAge:n,maxSize:r,quantiles:s}=e.keyType,o=_(s,is(or)),i=Ti(r);let c=0,a=0,l=0,f=Number.MAX_VALUE,d=Number.MIN_VALUE;const p=y=>{const k=[];let g=0;for(;g!==r-1;){const b=i[g];if(b!=null){const[S,w]=b,T=us(y-S);Bk(T,Ak)&&T<=n&&k.push(w)}g=g+1}return SA(t,o,is(k,or))},m=(y,k)=>{if(r>0){c=c+1;const g=c%r;i[g]=[k,y]}a=a+1,l=l+y,yd&&(d=y)};return zs({get:()=>iA({error:t,quantiles:p(Date.now()),count:a,min:f,max:d,sum:l}),update:([y,k])=>m(y,k),modify:([y,k])=>m(y,k)})},SA=(e,t,n)=>{const r=n.length;if(!oe(t))return sr();const s=t[0],o=t.slice(1),i=bd(e,r,I(),0,s,n),c=st(i);return o.forEach(a=>{c.push(bd(e,r,i.value,i.consumed,a,i.rest))}),Vn(c,a=>[a.quantile,a.value])},bd=(e,t,n,r,s,o)=>{let i=e,c=t,a=n,l=r,f=s,d=o,p=e,m=t,y=n,k=r,g=s,b=o;for(;;){if(!oe(d))return{quantile:f,value:I(),consumed:l,rest:[]};if(f===1)return{quantile:f,value:N(Em(d)),consumed:l+d.length,rest:[]};const S=Kv(d,E=>E<=d[0]),w=f*c,T=i/2*w,v=l+S[0].length,O=Math.abs(v-w);if(vw+T)return{quantile:f,value:a,consumed:l,rest:d};switch(a._tag){case"None":{p=i,m=c,y=es(d),k=v,g=f,b=S[1],i=p,c=m,a=y,l=k,f=g,d=b;continue}case"Some":{const E=Math.abs(w-a.value);if(Oe},EA=(e,t)=>({[vA]:kA,metricKey:e,metricState:t,pipe(){return C(this,arguments)}}),OA="effect/MetricRegistry",Sd=Symbol.for(OA);var Th;Th=Sd;class $A{constructor(){u(this,Th,Sd);u(this,"map",LT())}snapshot(){const t=[];for(const[n,r]of this.map)t.push(EA(n,r.get()));return t}get(t){const n=_(this.map,an(t),It);if(n==null){if(l_(t.keyType))return this.getCounter(t);if(DM(t.keyType))return this.getGauge(t);if(KM(t.keyType))return this.getFrequency(t);if(f_(t.keyType))return this.getHistogram(t);if(UM(t.keyType))return this.getSummary(t);throw new Error("BUG: MetricRegistry.get - unknown MetricKeyType - please report an issue at https://github.com/Effect-TS/effect/issues")}else return n}getCounter(t){let n=_(this.map,an(t),It);if(n==null){const r=mA(t);_(this.map,Lr(t))||_(this.map,Kr(t,r)),n=r}return n}getFrequency(t){let n=_(this.map,an(t),It);if(n==null){const r=gA(t);_(this.map,Lr(t))||_(this.map,Kr(t,r)),n=r}return n}getGauge(t){let n=_(this.map,an(t),It);if(n==null){const r=yA(t,t.keyType.bigint?BigInt(0):0);_(this.map,Lr(t))||_(this.map,Kr(t,r)),n=r}return n}getHistogram(t){let n=_(this.map,an(t),It);if(n==null){const r=_A(t);_(this.map,Lr(t))||_(this.map,Kr(t,r)),n=r}return n}getSummary(t){let n=_(this.map,an(t),It);if(n==null){const r=bA(t);_(this.map,Lr(t))||_(this.map,Kr(t,r)),n=r}return n}}const TA=()=>new $A,xA="effect/Metric",IA=Symbol.for(xA),MA={_Type:e=>e,_In:e=>e,_Out:e=>e},wd=J(Symbol.for("effect/Metric/globalMetricRegistry"),()=>TA()),__=function(e,t,n,r){const s=Object.assign(o=>z$(o,i=>CA(s,i)),{[IA]:MA,keyType:e,unsafeUpdate:t,unsafeValue:n,unsafeModify:r,register(){return this.unsafeValue([]),this},pipe(){return C(this,arguments)}});return s},ec=(e,t)=>b_(HM(e,t)),b_=e=>{let t;const n=new WeakMap,r=s=>{if(s.length===0)return t!==void 0||(t=wd.get(e)),t;let o=n.get(s);return o!==void 0||(o=wd.get(zM(e,s)),n.set(s,o)),o};return __(e.keyType,(s,o)=>r(o).update(s),s=>r(s).get(),(s,o)=>r(o).modify(s))},AA=(e,t,n)=>b_(WM(e,t,n)),NA=h(3,(e,t,n)=>RA(e,[fI(t,n)])),RA=h(2,(e,t)=>__(e.keyType,(n,r)=>e.unsafeUpdate(n,So(t,r)),n=>e.unsafeValue(So(t,n)),(n,r)=>e.unsafeModify(n,So(t,r)))),CA=h(2,(e,t)=>al(Oa,n=>P(()=>e.unsafeUpdate(t,n)))),PA="effect/Request",FA=Symbol.for(PA),jA={_E:e=>e,_A:e=>e};({...Tu,[FA]:0});const LA=h(2,(e,t)=>al(n_,n=>P(()=>{if(n.has(e)){const r=n.get(e);r.state.completed||(r.state.completed=!0,ky(r.result,t))}}))),KA="effect/Supervisor",tc=Symbol.for(KA),Ml={_T:e=>e};var xh;xh=tc;const Bl=class Bl{constructor(t,n){u(this,"underlying");u(this,"value0");u(this,xh,Ml);this.underlying=t,this.value0=n}get value(){return this.value0}onStart(t,n,r,s){this.underlying.onStart(t,n,r,s)}onEnd(t,n){this.underlying.onEnd(t,n)}onEffect(t,n){this.underlying.onEffect(t,n)}onSuspend(t){this.underlying.onSuspend(t)}onResume(t){this.underlying.onResume(t)}map(t){return new Bl(this,_(this.value,je(t)))}zip(t){return new ui(this,t)}};let ai=Bl;var Ih;Ih=tc;const Jl=class Jl{constructor(t,n){u(this,"left");u(this,"right");u(this,"_tag","Zip");u(this,Ih,Ml);this.left=t,this.right=n}get value(){return hy(this.left.value,this.right.value)}onStart(t,n,r,s){this.left.onStart(t,n,r,s),this.right.onStart(t,n,r,s)}onEnd(t,n){this.left.onEnd(t,n),this.right.onEnd(t,n)}onEffect(t,n){this.left.onEffect(t,n),this.right.onEffect(t,n)}onSuspend(t){this.left.onSuspend(t),this.right.onSuspend(t)}onResume(t){this.left.onResume(t),this.right.onResume(t)}map(t){return new ai(this,_(this.value,je(t)))}zip(t){return new Jl(this,t)}};let ui=Jl;const S_=e=>j(e,tc)&&Yp(e,"Zip");var Mh;Mh=tc;class DA{constructor(t){u(this,"effect");u(this,Mh,Ml);this.effect=t}get value(){return this.effect}onStart(t,n,r,s){}onEnd(t,n){}onEffect(t,n){}onSuspend(t){}onResume(t){}map(t){return new ai(this,_(this.value,je(t)))}zip(t){return new ui(this,t)}onRun(t,n){return t()}}const UA=e=>new DA(e),nc=J("effect/Supervisor/none",()=>UA(mt)),qA=Or,w_="Empty",v_="AddSupervisor",k_="RemoveSupervisor",E_="AndThen",rs={_tag:w_},xo=(e,t)=>({_tag:E_,first:e,second:t}),BA=(e,t)=>JA(t,Je(e)),JA=(e,t)=>{let n=e,r=t;for(;ar(r);){const s=ur(r);switch(s._tag){case w_:{r=dn(r);break}case v_:{n=n.zip(s.supervisor),r=dn(r);break}case k_:{n=Ba(n,s.supervisor),r=dn(r);break}case E_:{r=ht(s.first)(ht(s.second)(dn(r)));break}}}return n},Ba=(e,t)=>D(e,t)?nc:S_(e)?Ba(e.left,t).zip(Ba(e.right,t)):e,li=e=>D(e,nc)?$n():S_(e)?_(li(e.left),ds(li(e.right))):Gu(e),VA=(e,t)=>{if(D(e,t))return rs;const n=li(e),r=li(t),s=_(r,Nf(n),Wo(rs,(i,c)=>xo(i,{_tag:v_,supervisor:c}))),o=_(n,Nf(r),Wo(rs,(i,c)=>xo(i,{_tag:k_,supervisor:c})));return xo(s,o)},HA=qA({empty:rs,patch:BA,combine:xo,diff:VA}),WA=ec("effect_fiber_started",{incremental:!0}),vd=ec("effect_fiber_active"),zA=ec("effect_fiber_successes",{incremental:!0}),GA=ec("effect_fiber_failures",{incremental:!0}),YA=NA(AA("effect_fiber_lifetimes",TM({start:.5,factor:2,count:35})),"time_unit","milliseconds"),Dr="Continue",ZA="Done",kd="Yield",QA={_E:e=>e,_A:e=>e},co=e=>{throw new Error(`BUG: FiberRuntime - ${nr(e)} - please report an issue at https://github.com/Effect-TS/effect/issues`)},$t=Symbol.for("effect/internal/fiberRuntime/YieldedOp"),Tt=J("effect/internal/fiberRuntime/yieldedOpChannel",()=>({currentOp:null})),Ur={[Lo]:(e,t,n)=>Ne(()=>t.effect_instruction_i1(n)),OnStep:(e,t,n)=>_e(_e(n)),[Ko]:(e,t,n)=>Ne(()=>t.effect_instruction_i2(n)),[$u]:(e,t,n)=>(e.patchRuntimeFlags(e.currentRuntimeFlags,t.patch),Bt(e.currentRuntimeFlags)&&e.isInterrupted()?te(e.getInterruptedCause()):_e(n)),[Do]:(e,t,n)=>(Ne(()=>t.effect_instruction_i2(n)),Ne(()=>t.effect_instruction_i0())?(e.pushStack(t),Ne(()=>t.effect_instruction_i1())):mt),[yo]:(e,t,n)=>{const r=Ne(()=>t.effect_instruction_i0.next(n));return r.done?_e(r.value):(e.pushStack(t),Ww(r.value))}},XA={[vl]:(e,t,n,r)=>(e.processNewInterruptSignal(r.cause),Bt(t)?te(r.cause):n),[El]:(e,t,n,r)=>{throw new Error("It is illegal to have multiple concurrent run loops in a single fiber")},[kl]:(e,t,n,r)=>(r.onFiber(e,Vy(t)),n),[Ol]:(e,t,n,r)=>F(il(),()=>n)},e1=e=>Vi(e$(e),t=>vn(p$(t),([n,r])=>{const s=new Map,o=[];for(const c of r){o.push(Sn(c));for(const a of c)s.set(a.request,a)}const i=o.flat();return Gi(p1(n.runAll(o),i,()=>i.forEach(c=>{c.listeners.interrupted=!0})),n_,s)},!1,!1)),t1=bi();var Ah,Nh;class O_ extends iI{constructor(n,r,s){super();u(this,Nh,s_);u(this,Ah,QA);u(this,"_fiberRefs");u(this,"_fiberId");u(this,"_queue",new Array);u(this,"_children",null);u(this,"_observers",new Array);u(this,"_running",!1);u(this,"_stack",[]);u(this,"_asyncInterruptor",null);u(this,"_asyncBlockingOn",null);u(this,"_exitValue",null);u(this,"_steps",[]);u(this,"_isYielding",!1);u(this,"currentRuntimeFlags");u(this,"currentOpCount",0);u(this,"currentSupervisor");u(this,"currentScheduler");u(this,"currentTracer");u(this,"currentSpan");u(this,"currentContext");u(this,"currentDefaultServices");u(this,"run",()=>{this.drainQueueOnCurrentThread()});if(this.currentRuntimeFlags=s,this._fiberId=n,this._fiberRefs=r,jf(s)){const o=this.getFiberRef(Oa);WA.unsafeUpdate(1,o),vd.unsafeUpdate(1,o)}this.refreshRefCache()}commit(){return Tl(this)}id(){return this._fiberId}resume(n){this.tell(Dn(n))}get status(){return this.ask((n,r)=>r)}get runtimeFlags(){return this.ask((n,r)=>MI(r)?n.currentRuntimeFlags:r.runtimeFlags)}scope(){return fM(this)}get children(){return this.ask(n=>Array.from(n.getChildren()))}getChildren(){return this._children===null&&(this._children=new Set),this._children}getInterruptedCause(){return this.getFiberRef(oo)}fiberRefs(){return this.ask(n=>n.getFiberRefs())}ask(n){return ye(()=>{const r=MT(this._fiberId);return this.tell(To((s,o)=>{ky(r,P(()=>n(s,o)))})),vy(r)})}tell(n){this._queue.push(n),this._running||(this._running=!0,this.drainQueueLaterOnExecutor())}get await(){return ys(n=>{const r=s=>n(Y(s));return this.tell(To((s,o)=>{s._exitValue!==null?r(this._exitValue):s.addObserver(r)})),P(()=>this.tell(To((s,o)=>{s.removeObserver(r)})))},this.id())}get inheritAll(){return Ve((n,r)=>{const s=n.id(),o=n.getFiberRefs(),i=r.runtimeFlags,c=this.getFiberRefs(),a=Kx(o,s,c);n.setFiberRefs(a);const l=n.getFiberRef(xd),f=_(Oo(i,l),Kf($r),Kf(va));return Z$(f)})}get poll(){return P(()=>Oi(this._exitValue))}unsafePoll(){return this._exitValue}interruptAsFork(n){return P(()=>this.tell(Ec(Jt(n))))}unsafeInterruptAsFork(n){this.tell(Ec(Jt(n)))}addObserver(n){this._exitValue!==null?n(this._exitValue):this._observers.push(n)}removeObserver(n){this._observers=this._observers.filter(r=>r!==n)}getFiberRefs(){return this.setFiberRef(xd,this.currentRuntimeFlags),this._fiberRefs}unsafeDeleteFiberRef(n){this._fiberRefs=Fy(this._fiberRefs,n)}getFiberRef(n){return this._fiberRefs.locals.has(n)?this._fiberRefs.locals.get(n)[0][1]:n.initial}setFiberRef(n,r){this._fiberRefs=Ta(this._fiberRefs,{fiberId:this._fiberId,fiberRef:n,value:r}),this.refreshRefCache()}refreshRefCache(){this.currentDefaultServices=this.getFiberRef(ni),this.currentTracer=this.currentDefaultServices.unsafeMap.get(Ry.key),this.currentSupervisor=this.getFiberRef(h1),this.currentScheduler=this.getFiberRef(t_),this.currentContext=this.getFiberRef(Js),this.currentSpan=this.currentContext.unsafeMap.get(Cy.key)}setFiberRefs(n){this._fiberRefs=n,this.refreshRefCache()}addChild(n){this.getChildren().add(n)}removeChild(n){this.getChildren().delete(n)}transferChildren(n){const r=this._children;if(this._children=null,r!==null&&r.size>0)for(const s of r)s._exitValue===null&&n.add(this.currentRuntimeFlags,s)}drainQueueOnCurrentThread(){let n=!0;for(;n;){let r=Dr;const s=globalThis[sn];globalThis[sn]=this;try{for(;r===Dr;)r=this._queue.length===0?ZA:this.evaluateMessageWhileSuspended(this._queue.splice(0,1)[0])}finally{this._running=!1,globalThis[sn]=s}this._queue.length>0&&!this._running?(this._running=!0,r===kd?(this.drainQueueLaterOnExecutor(),n=!1):n=!0):n=!1}}drainQueueLaterOnExecutor(){this.currentScheduler.scheduleTask(this.run,this.getFiberRef(Yi))}drainQueueWhileRunning(n,r){let s=r;for(;this._queue.length>0;){const o=this._queue.splice(0,1)[0];s=XA[o._tag](this,n,s,o)}return s}isInterrupted(){return!_$(this.getFiberRef(oo))}addInterruptedCause(n){const r=this.getFiberRef(oo);this.setFiberRef(oo,qe(r,n))}processNewInterruptSignal(n){this.addInterruptedCause(n),this.sendInterruptSignalToAllChildren()}sendInterruptSignalToAllChildren(){if(this._children===null||this._children.size===0)return!1;let n=!1;for(const r of this._children)r.tell(Ec(Jt(this.id()))),n=!0;return n}interruptAllChildren(){if(this.sendInterruptSignalToAllChildren()){const n=this._children.values();this._children=null;let r=!1;return ol({while:()=>!r,body:()=>{const o=n.next();return o.done?P(()=>{r=!0}):Bs(o.value.await)},step:()=>{}})}return null}reportExitValue(n){if(jf(this.currentRuntimeFlags)){const r=this.getFiberRef(Oa),s=this.id().startTimeMillis,o=Date.now();switch(YA.unsafeUpdate(o-s,r),vd.unsafeUpdate(-1,r),n._tag){case ft:{zA.unsafeUpdate(1,r);break}case lt:{GA.unsafeUpdate(1,r);break}}}if(n._tag==="Failure"){const r=this.getFiberRef(_T);!el(n.cause)&&r._tag==="Some"&&this.log("Fiber terminated with an unhandled error",n.cause,r)}}setExitValue(n){this._exitValue=n,this.reportExitValue(n);for(let r=this._observers.length-1;r>=0;r--)this._observers[r](n);this._observers=[]}getLoggers(){return this.getFiberRef(i1)}log(n,r,s){const o=Q(s)?s.value:this.getFiberRef(hT),i=this.getFiberRef(n1);if(tI(i,o))return;const c=this.getFiberRef(pT),a=this.getFiberRef(dT),l=this.getLoggers(),f=this.getFiberRefs();if(wg(l)>0){const d=Xm(this.getFiberRef(ni),pl),p=new Date(d.unsafeCurrentTimeMillis());Zw(f,()=>{for(const m of l)m.log({fiberId:this.id(),logLevel:o,message:n,cause:r,context:f,spans:c,annotations:a,date:p})})}}evaluateMessageWhileSuspended(n){switch(n._tag){case Ol:return kd;case vl:return this.processNewInterruptSignal(n.cause),this._asyncInterruptor!==null&&(this._asyncInterruptor(te(n.cause)),this._asyncInterruptor=null),Dr;case El:return this._asyncInterruptor=null,this._asyncBlockingOn=null,this.evaluateEffect(n.effect),Dr;case kl:return n.onFiber(this,this._exitValue!==null?xI:II(this.currentRuntimeFlags,this._asyncBlockingOn)),Dr;default:return co(n)}}evaluateEffect(n){this.currentSupervisor.onResume(this);try{let r=Bt(this.currentRuntimeFlags)&&this.isInterrupted()?te(this.getInterruptedCause()):n;for(;r!==null;){const s=r,o=this.runLoop(s);if(o===$t){const i=Tt.currentOp;Tt.currentOp=null,i._op===_o?GO(this.currentRuntimeFlags)?(this.tell(cM()),this.tell(Dn(hn)),r=null):r=hn:i._op===Xr&&(r=null)}else{this.currentRuntimeFlags=_(this.currentRuntimeFlags,YO(va));const i=this.interruptAllChildren();i!==null?r=F(i,()=>o):(this._queue.length===0?this.setExitValue(o):this.tell(Dn(o)),r=null)}}}finally{this.currentSupervisor.onSuspend(this)}}start(n){if(this._running)this.tell(Dn(n));else{this._running=!0;const r=globalThis[sn];globalThis[sn]=this;try{this.evaluateEffect(n)}finally{this._running=!1,globalThis[sn]=r,this._queue.length>0&&this.drainQueueLaterOnExecutor()}}}startFork(n){this.tell(Dn(n))}patchRuntimeFlags(n,r){const s=$o(n,r);return globalThis[sn]=this,this.currentRuntimeFlags=s,s}initiateAsync(n,r){let s=!1;const o=i=>{s||(s=!0,this.tell(Dn(i)))};Bt(n)&&(this._asyncInterruptor=o);try{r(o)}catch(i){o(tt(Xe(i)))}}pushStack(n){this._stack.push(n),n._op==="OnStep"&&this._steps.push({refs:this.getFiberRefs(),flags:this.currentRuntimeFlags})}popStack(){const n=this._stack.pop();if(n)return n._op==="OnStep"&&this._steps.pop(),n}getNextSuccessCont(){let n=this.popStack();for(;n;){if(n._op!==lc)return n;n=this.popStack()}}getNextFailCont(){let n=this.popStack();for(;n;){if(n._op!==Lo&&n._op!==Do&&n._op!==yo)return n;n=this.popStack()}}[(Nh=r_,Ah=mM,Xw)](n){return P(()=>eg(this.currentContext,n))}Left(n){return Pe(n.left)}None(n){return Pe(new Sy)}Right(n){return _e(n.right)}Some(n){return _e(n.value)}Micro(n){return Qo(r=>{let s=r;const o=sM(ZI(n,this.currentContext));return o.addObserver(i=>{if(i._tag==="Success")return s(_e(i.value));switch(i.cause._tag){case"Interrupt":return s(te(Jt(Tn)));case"Fail":return s(Pe(i.cause.error));case"Die":return s(Vf(i.cause.defect))}}),Qo(i=>{s=c=>{i(mt)},o.unsafeInterrupt()})})}[nm](n){const r=Ne(()=>n.effect_instruction_i0()),s=this.getNextSuccessCont();return s!==void 0?(s._op in Ur||co(s),Ur[s._op](this,s,r)):(Tt.currentOp=_e(r),$t)}[ft](n){const r=n,s=this.getNextSuccessCont();return s!==void 0?(s._op in Ur||co(s),Ur[s._op](this,s,r.effect_instruction_i0)):(Tt.currentOp=r,$t)}[lt](n){const r=n.effect_instruction_i0,s=this.getNextFailCont();if(s!==void 0)switch(s._op){case lc:case Ko:return Bt(this.currentRuntimeFlags)&&this.isInterrupted()?te(Df(r)):Ne(()=>s.effect_instruction_i1(r));case"OnStep":return Bt(this.currentRuntimeFlags)&&this.isInterrupted()?te(Df(r)):_e(te(r));case $u:return this.patchRuntimeFlags(this.currentRuntimeFlags,s.patch),Bt(this.currentRuntimeFlags)&&this.isInterrupted()?te(qe(r,this.getInterruptedCause())):te(r);default:co(s)}else return Tt.currentOp=te(r),$t}[rm](n){return Ne(()=>n.effect_instruction_i0(this,Vy(this.currentRuntimeFlags)))}Blocked(n){const r=this.getFiberRefs(),s=this.currentRuntimeFlags;if(this._steps.length>0){const o=[],i=this._steps[this._steps.length-1];let c=this.popStack();for(;c&&c._op!=="OnStep";)o.push(c),c=this.popStack();this.setFiberRefs(i.refs),this.currentRuntimeFlags=i.flags;const a=_I(i.refs,r),l=Oo(i.flags,s);return _e(ey(n.effect_instruction_i0,Ve(f=>{for(;o.length>0;)f.pushStack(o.pop());return f.setFiberRefs(bI(f.id(),f.getFiberRefs())(a)),f.currentRuntimeFlags=$o(l)(f.currentRuntimeFlags),n.effect_instruction_i1})))}return Wi(o=>F($_(D$(n.effect_instruction_i0)),()=>o(n.effect_instruction_i1)))}RunBlocked(n){return e1(n.effect_instruction_i0)}[xs](n){const r=n.effect_instruction_i0,s=this.currentRuntimeFlags,o=$o(s,r);if(Bt(o)&&this.isInterrupted())return te(this.getInterruptedCause());if(this.patchRuntimeFlags(this.currentRuntimeFlags,r),n.effect_instruction_i1){const i=Oo(o,s);return this.pushStack(new U$(i,n)),Ne(()=>n.effect_instruction_i1(s))}else return hn}[Lo](n){return this.pushStack(n),n.effect_instruction_i0}OnStep(n){return this.pushStack(n),n.effect_instruction_i0}[lc](n){return this.pushStack(n),n.effect_instruction_i0}[Ko](n){return this.pushStack(n),n.effect_instruction_i0}[Xr](n){return this._asyncBlockingOn=n.effect_instruction_i1,this.initiateAsync(this.currentRuntimeFlags,n.effect_instruction_i0),Tt.currentOp=n,$t}[_o](n){return this._isYielding=!1,Tt.currentOp=n,$t}[Do](n){const r=n.effect_instruction_i0,s=n.effect_instruction_i1;return r()?(this.pushStack(n),s()):hn}[yo](n){return Ur[yo](this,n,void 0)}[Ei](n){return Ne(()=>n.commit())}runLoop(n){let r=n;for(this.currentOpCount=0;;){if(this.currentRuntimeFlags&zO&&this.currentSupervisor.onEffect(this,r),this._queue.length>0&&(r=this.drainQueueWhileRunning(this.currentRuntimeFlags,r)),!this._isYielding){this.currentOpCount+=1;const s=this.currentScheduler.shouldYield(this);if(s!==!1){this._isYielding=!0,this.currentOpCount=0;const o=r;r=F(il({priority:s}),()=>o)}}try{if(r=this.currentTracer.context(()=>t1!==r[gr]._V?Hf(`Cannot execute an Effect versioned ${r[gr]._V} with a Runtime of version ${bi()}`):this[r._op](r),this),r===$t){const s=Tt.currentOp;return s._op===_o||s._op===Xr?$t:(Tt.currentOp=null,s._op===ft||s._op===lt?s:te(Xe(s)))}}catch(s){r!==$t&&!j(r,"_op")||!(r._op in this)?r=Hf(`Not a valid effect: ${nr(r)}`):kT(s)?r=te(qe(Xe(s),Jt(Tn))):r=Vf(s)}}}}const n1=J("effect/FiberRef/currentMinimumLogLevel",()=>He(nI("Info"))),r1=e=>xl(t=>{const n=Bx(t.context,ni);Xm(n,Ny).unsafe.log(e.log(t))}),s1=J(Symbol.for("effect/Logger/defaultLogger"),()=>r1(vM)),o1=J(Symbol.for("effect/Logger/tracerLogger"),()=>xl(({annotations:e,cause:t,context:n,fiberId:r,logLevel:s,message:o})=>{const i=Cs(_s(n,Js),Cy);if(i._tag==="None"||i.value._tag==="ExternalSpan")return;const c=eg(_s(n,ni),pl),a={};for(const[l,f]of e)a[l]=f;a["effect.fiberId"]=PE(r),a["effect.logLevel"]=s.label,t!==null&&t._tag!=="Empty"&&(a["effect.cause"]=Ds(t,{renderErrorCause:!0})),i.value.event(nr(Array.isArray(o)?o[0]:o),c.unsafeCurrentTimeNanos(),a)})),i1=J(Symbol.for("effect/FiberRef/currentLoggers"),()=>uT(Gu(s1,o1))),c1=h(e=>Fw(e[0]),(e,t,n)=>Ve(r=>{const s=(n==null?void 0:n.batching)===!0||(n==null?void 0:n.batching)==="inherit"&&r.getFiberRef(yT);return n!=null&&n.discard?yd(n.concurrency,()=>Un(Ma,n==null?void 0:n.concurrentFinalizers)(o=>s?vn(e,(i,c)=>o(t(i,c)),!0,!1,1):Vi(e,(i,c)=>o(t(i,c)))),()=>Un(Aa,n==null?void 0:n.concurrentFinalizers)(o=>vn(e,(i,c)=>o(t(i,c)),s,!1)),o=>Un(Na(o),n==null?void 0:n.concurrentFinalizers)(i=>vn(e,(c,a)=>i(t(c,a)),s,!1,o))):yd(n==null?void 0:n.concurrency,()=>Un(Ma,n==null?void 0:n.concurrentFinalizers)(o=>s?Ed(e,1,(i,c)=>o(t(i,c)),!0):Vt(e,(i,c)=>o(t(i,c)))),()=>Un(Aa,n==null?void 0:n.concurrentFinalizers)(o=>a1(e,(i,c)=>o(t(i,c)),s)),o=>Un(Na(o),n==null?void 0:n.concurrentFinalizers)(i=>Ed(e,o,(c,a)=>i(t(c,a)),s)))})),a1=(e,t,n)=>ye(()=>{const r=fe(e),s=new Array(r.length);return zi(vn(r,(i,c)=>F(t(i,c),a=>P(()=>s[c]=a)),n,!1),Y(s))}),vn=(e,t,n,r,s)=>Wi(o=>G$(i=>Ve(c=>{let a=Array.from(e).reverse(),l=a.length;if(l===0)return mt;let f=0,d=!1;const p=s?Math.min(a.length,s):a.length,m=new Set,y=new Array,k=()=>m.forEach(x=>{x.currentScheduler.scheduleTask(()=>{x.unsafeInterruptAsFork(c.id())},0)}),g=new Array,b=new Array,S=new Array,w=()=>{const x=y.filter(({exit:A})=>A._tag==="Failure").sort((A,q)=>A.indexA);return x.length===0&&x.push(hn),x},T=(x,A=!1)=>{const q=dy(i(x)),U=l1(q,c,c.currentRuntimeFlags,$l);return c.currentScheduler.scheduleTask(()=>{A&&U.unsafeInterruptAsFork(c.id()),U.resume(q)},0),U},v=()=>{r||(l-=a.length,a=[]),d=!0,k()},O=n?V$:oy,E=T(ys(x=>{const A=(U,G)=>{U._op==="Blocked"?S.push(U):(y.push({index:G,exit:U}),U._op==="Failure"&&!d&&v())},q=()=>{if(a.length>0){const U=a.pop();let G=f++;const ce=()=>{const R=a.pop();return G=f++,F(il(),()=>F(O(o(t(R,G))),ee))},ee=R=>a.length>0&&(A(R,G),a.length>0)?ce():Y(R),ge=F(O(o(t(U,G))),ee),Z=T(ge);g.push(Z),m.add(Z),d&&Z.currentScheduler.scheduleTask(()=>{Z.unsafeInterruptAsFork(c.id())},0),Z.addObserver(R=>{let W;if(R._op==="Failure"?W=R:W=R.effect_instruction_i0,b.push(Z),m.delete(Z),A(W,G),y.length===l)x(Y(ve(Sc(w(),{parallel:!0}),()=>hn)));else if(S.length+y.length===l){const nt=S.map(We=>We.effect_instruction_i0).reduce(Jg);x(Y(ey(nt,vn([ve(Sc(w(),{parallel:!0}),()=>hn),...S.map(We=>We.effect_instruction_i1)],We=>We,n,!0,s))))}else q()})}};for(let U=0;U{v();const x=S.length+1,A=Math.min(typeof s=="number"?s:S.length,S.length),q=Array.from(S);return ys(U=>{const G=[];let ce=0,ee=0;const ge=(R,W)=>nt=>{G[R]=nt,ce++,ce===x&&U(bm(Sc(G,{parallel:!0}))),q.length>0&&W&&Z()},Z=()=>{T(q.pop(),!0).addObserver(ge(ee,!0)),ee++};E.addObserver(ge(ee,!1)),ee++;for(let R=0;RVt(b,x=>x.inheritAll)})))}))),Ed=(e,t,n,r)=>ye(()=>{const s=fe(e),o=new Array(s.length);return zi(vn(s,(c,a)=>je(n(c,a),l=>o[a]=l),r,!1,t),Y(o))}),$_=e=>f1(e,$l),u1=(e,t,n,r=null)=>{const s=T_(e,t,n,r);return s.resume(e),s},l1=(e,t,n,r=null)=>T_(e,t,n,r),T_=(e,t,n,r=null)=>{const s=Tg(),o=t.getFiberRefs(),i=Dx(o,s),c=new O_(s,i,n),a=_s(i,Js),l=c.currentSupervisor;return l.onStart(a,e,N(t),c),c.addObserver(d=>l.onEnd(d,c)),(r!==null?r:_(t.getFiberRef($a),ve(()=>t.scope()))).add(n,c),c},f1=(e,t)=>Ve((n,r)=>Y(u1(e,n,r.runtimeFlags,t))),Od=e=>Vs(t=>et(Cs(t,Gs),{onNone:()=>e,onSome:n=>{switch(n.strategy._tag){case"Parallel":return e;case"Sequential":case"ParallelN":return F(Zi(n,Aa),r=>Al(e,r))}}})),$d=e=>t=>Vs(n=>et(Cs(n,Gs),{onNone:()=>t,onSome:r=>r.strategy._tag==="ParallelN"&&r.strategy.parallelism===e?t:F(Zi(r,Na(e)),s=>Al(t,s))})),Un=(e,t)=>n=>Vs(r=>et(Cs(r,Gs),{onNone:()=>n(ne),onSome:s=>{if(t===!0){const o=e._tag==="Parallel"?Od:e._tag==="Sequential"?Td:$d(e.parallelism);switch(s.strategy._tag){case"Parallel":return o(n(Od));case"Sequential":return o(n(Td));case"ParallelN":return o(n($d(s.strategy.parallelism)))}}else return n(ne)}})),Td=e=>Vs(t=>et(Cs(t,Gs),{onNone:()=>e,onSome:n=>{switch(n.strategy._tag){case"Sequential":return e;case"Parallel":case"ParallelN":return F(Zi(n,Ma),r=>Al(e,r))}}})),Gs=Fn("effect/Scope"),Al=h(2,(e,t)=>PT(e,tg(_k(Gs,t)))),d1=e=>Mr(e,{differ:HA,fork:rs}),xd=fT(ZO),h1=d1(nc),p1=(e,t,n)=>cy(r=>F(F($_(uy(e)),s=>ys(o=>{const i=t.map(l=>l.listeners.count),c=()=>{i.every(l=>l===0)&&t.every(l=>l.result.state.current._tag==="Pending"?!0:!!(l.result.state.current._tag==="Done"&&fl(l.result.state.current.effect)&&l.result.state.current.effect._tag==="Failure"&&b$(l.result.state.current.effect.cause)))&&(a.forEach(l=>l()),n==null||n(),o(Q$(s)))};s.addObserver(l=>{a.forEach(f=>f()),o(l)});const a=t.map((l,f)=>{const d=p=>{i[f]=p,c()};return l.listeners.addObserver(d),()=>l.listeners.removeObserver(d)});return c(),P(()=>{a.forEach(l=>l())})})),()=>ye(()=>{const s=t.flatMap(o=>o.state.completed?[]:[o]);return Vi(s,o=>LA(o.request,TT(r)))}))),m1=ET,g1=ST,y1=Zi,_1=Ki,b1=function(){const e=Symbol.for("effect/Data/Error/plainArgs");return class extends ul{constructor(n){super(n==null?void 0:n.message,n!=null&&n.cause?{cause:n.cause}:void 0),n&&(Object.assign(this,n),Object.defineProperty(this,e,{value:n,enumerable:!1}))}toJSON(){return{...this[e],...this}}}}(),S1=e=>{class t extends b1{constructor(){super(...arguments);u(this,"_tag",e)}}return t.prototype.name=e,t},Ja=Symbol.for("effect/DateTime"),w1={[Ja]:Ja,pipe(){return C(this,arguments)},[re](){return this.toString()},toJSON(){return I_(this).toJSON()}},v1={...w1,_tag:"Utc",[K](){return ie(this,ki(this.epochMillis))},[L](e){return Nl(e)&&e._tag==="Utc"&&this.epochMillis===e.epochMillis},toString(){return`DateTime.Utc(${I_(this).toJSON()})`}},Nl=e=>j(e,Ja),k1=e=>Nl(e[0]),x_=e=>{const t=Object.create(v1);return t.epochMillis=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t},Oc=e=>{const t=e.getTime();if(Number.isNaN(t))throw new m1("Invalid date");return x_(t)},E1=e=>{if(Nl(e))return e;if(e instanceof Date)return Oc(e);if(typeof e=="object"){const t=new Date(0);return I1(t,e),Oc(t)}return Oc(new Date(e))},O1=()=>x_(Date.now()),$1=h(2,(e,t)=>Id(t)-Id(e)),I_=e=>new Date(e.epochMillis),T1=e=>{if(e._tag==="Utc")return new Date(e.epochMillis);if(e.zone._tag==="Offset")return new Date(e.epochMillis+e.zone.offset);if(e.adjustedEpochMillis!==void 0)return new Date(e.adjustedEpochMillis);const t=e.zone.format.formatToParts(e.epochMillis).filter(r=>r.type!=="literal"),n=new Date(0);return n.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),n.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMillis=n.getTime(),n},x1=e=>{const t=Math.abs(e);let n=Math.floor(t/(60*60*1e3)),r=Math.round(t%(60*60*1e3)/(60*1e3));return r===60&&(n+=1,r=0),`${e<0?"-":"+"}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`},Id=e=>e.epochMillis,I1=(e,t)=>{if(t.year!==void 0&&e.setUTCFullYear(t.year),t.month!==void 0&&e.setUTCMonth(t.month-1),t.day!==void 0&&e.setUTCDate(t.day),t.weekDay!==void 0){const n=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+n)}t.hours!==void 0&&e.setUTCHours(t.hours),t.minutes!==void 0&&e.setUTCMinutes(t.minutes),t.seconds!==void 0&&e.setUTCSeconds(t.seconds),t.millis!==void 0&&e.setUTCMilliseconds(t.millis)},M1=e=>e._tag==="Named"?e.id:x1(e.offset),A1=h(k1,(e,t)=>{try{return new Intl.DateTimeFormat(t==null?void 0:t.locale,{timeZone:e._tag==="Utc"?"UTC":M1(e.zone),...t}).format(e.epochMillis)}catch{return new Intl.DateTimeFormat(t==null?void 0:t.locale,{timeZone:"UTC",...t}).format(T1(e))}}),N1=e=>(t,n)=>{const r=Tg(),s=[[Js,[[r,e.context]]]];n!=null&&n.scheduler&&s.push([t_,[[r,n.scheduler]]]);let o=Jx(e.fiberRefs,{entries:s,forkAs:r});n!=null&&n.updateRefs&&(o=n.updateRefs(o,r));const i=new O_(r,o,e.runtimeFlags);let c=t;n!=null&&n.scope&&(c=F(y1(n.scope,Jy),l=>zi(bT(l,cy(f=>D(f,i.id())?mt:my(i,f))),sl(t,f=>g1(l,f)))));const a=i.currentSupervisor;return a!==nc&&(a.onStart(e.context,c,I(),i),i.addObserver(l=>a.onEnd(l,i))),$l.add(e.runtimeFlags,i),(n==null?void 0:n.immediate)===!1?i.resume(c):i.start(c),i},R1=e=>t=>{const n=K1(e)(t);if(n._tag==="Failure")throw j1(n.effect_instruction_i0);return n.effect_instruction_i0};class C1 extends Error{constructor(n){super(`Fiber #${n.id().id} cannot be resolved synchronously. This is caused by using runSync on an effect that performs async work`);u(this,"fiber");u(this,"_tag","AsyncFiberException");this.fiber=n,this.name=this._tag,this.stack=this.message}}const P1=e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new C1(e);return Error.stackTraceLimit=t,n},$c=Symbol.for("effect/Runtime/FiberFailure"),ao=Symbol.for("effect/Runtime/FiberFailure/Cause");var Rh,Ch;class F1 extends Error{constructor(n){const r=Qg(n)[0];super((r==null?void 0:r.message)||"An error has occurred");u(this,Ch);u(this,Rh);this[$c]=$c,this[ao]=n,this.name=r?`(FiberFailure) ${r.name}`:"FiberFailure",r!=null&&r.stack&&(this.stack=r.stack)}toJSON(){return{_id:"FiberFailure",cause:this[ao].toJSON()}}toString(){return"(FiberFailure) "+Ds(this[ao],{renderErrorCause:!0})}[(Ch=$c,Rh=ao,re)](){return this.toString()}}const j1=e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new F1(e);return Error.stackTraceLimit=t,n},L1=e=>{const t=e;switch(t._op){case"Failure":case"Success":return t;case"Left":return Qf(t.left);case"Right":return _e(t.right);case"Some":return _e(t.value);case"None":return Qf(Sy())}},K1=e=>t=>{const n=L1(t);if(n)return n;const r=new iM,s=N1(e)(t,{scheduler:r});r.flush();const o=s.unsafePoll();return o||$T(rl(P1(s),dl(s)))};class D1{constructor(t,n,r){u(this,"context");u(this,"runtimeFlags");u(this,"fiberRefs");this.context=t,this.runtimeFlags=n,this.fiberRefs=r}pipe(){return C(this,arguments)}}const U1=e=>new D1(e.context,e.runtimeFlags,e.fiberRefs),q1=qg($r,Dg,Kg),B1=U1({context:Lu(),runtimeFlags:q1,fiberRefs:Vx()}),J1=R1(B1),V1=Bi,Io=c1,jt=Y,uo=ye,ze=mt,Rl=Ea,ot=je,H1=Hi,un=ei,Ue=F,W1=Ji,z1=W$,M_=J1,Va=E1,A_=O1,G1=$1,Md=A1;class xe{constructor(t,n,r){u(this,"path");u(this,"actual");u(this,"issue");u(this,"_tag","Pointer");this.path=t,this.actual=n,this.issue=r}}class Ad{constructor(t,n){u(this,"actual");u(this,"message");u(this,"_tag","Unexpected");this.actual=t,this.message=n}}class qr{constructor(t,n){u(this,"ast");u(this,"message");u(this,"_tag","Missing");u(this,"actual");this.ast=t,this.message=n}}class ae{constructor(t,n,r,s){u(this,"ast");u(this,"actual");u(this,"issues");u(this,"output");u(this,"_tag","Composite");this.ast=t,this.actual=n,this.issues=r,this.output=s}}class Tc{constructor(t,n,r,s){u(this,"ast");u(this,"actual");u(this,"kind");u(this,"issue");u(this,"_tag","Refinement");this.ast=t,this.actual=n,this.kind=r,this.issue=s}}class xc{constructor(t,n,r,s){u(this,"ast");u(this,"actual");u(this,"kind");u(this,"issue");u(this,"_tag","Transformation");this.ast=t,this.actual=n,this.kind=r,this.issue=s}}class it{constructor(t,n,r){u(this,"ast");u(this,"actual");u(this,"message");u(this,"_tag","Type");this.ast=t,this.actual=n,this.message=r}}class Y1{constructor(t,n,r){u(this,"ast");u(this,"actual");u(this,"message");u(this,"_tag","Forbidden");this.ast=t,this.actual=n,this.message=r}}const Nd=Symbol.for("effect/Schema/ParseErrorTypeId");var Ph;class Z1 extends S1("ParseError"){constructor(){super(...arguments);u(this,Ph,Nd)}get message(){return this.toString()}toString(){return Mo.formatIssueSync(this.issue)}toJSON(){return{_id:"ParseError",message:this.toString()}}[(Ph=Nd,re)](){return this.toJSON()}}const Q1=e=>new Z1({issue:e}),bs=Se,N_=B,lo=h(2,(e,t)=>{const n=e;return n._tag==="Left"?n:n._tag==="Right"?t(n.right):Ue(e,t)}),R_=h(2,(e,t)=>{const n=e;return n._tag==="Left"?n:n._tag==="Right"?Se(t(n.right)):ot(e,t)}),Ic=h(2,(e,t)=>{const n=e;return n._tag==="Left"?B(t(n.left)):n._tag==="Right"?n:H1(e,t)}),xt=e=>{const t=e;if(t._tag==="Left"||t._tag==="Right")return t},C_=h(2,(e,t)=>{const n=e;return n._tag==="Left"?t(n.left):n._tag==="Right"?n:Rl(e,t)}),rc=(e,t)=>t===void 0||vt(t)?e:e===void 0?t:{...e,...t},X1=(e,t,n)=>{const r=Ee(e,t);return(s,o)=>r(s,rc(n,o))},P_=(e,t,n)=>{const r=X1(e,t,n);return(s,o)=>yv(r(s,o),Q1)},eN=(e,t,n)=>{const r=Ee(e,t);return(s,o)=>r(s,{...rc(n,o),isEffectAllowed:!0})},F_=(e,t)=>P_(e.ast,!0,t),tN=(e,t)=>eN(e.ast,!1,t),nN=F_,Cl=(e,t)=>P_(ue(e.ast),!0,t),rN=(e,t)=>{const n=Ee(ue(e.ast),!0);return(r,s)=>At(n(r,{exact:!0,...rc(t,s)}))},sN=J(Symbol.for("effect/ParseResult/decodeMemoMap"),()=>new WeakMap),oN=J(Symbol.for("effect/ParseResult/encodeMemoMap"),()=>new WeakMap),Ee=(e,t)=>{const n=t?sN:oN,r=n.get(e);if(r)return r;const s=iN(e,t),o=w0(e),i=Q(o)?(l,f)=>s(l,rc(f,o.value)):s,c=v0(e),a=t&&Q(c)?(l,f)=>Wr(C_(i(l,f),c.value),e,l,f):i;return n.set(e,a),a},Mc=e=>It(_0(e)),Ac=e=>It(b0(e)),iN=(e,t)=>{switch(e._tag){case"Refinement":if(t){const n=Ee(e.from,!0);return(r,s)=>{s=s??dc;const o=(s==null?void 0:s.errors)==="all",i=lo(C_(n(r,s),c=>{const a=new Tc(e,r,"From",c);return o&&E0(e)&&D_(c)?et(e.filter(r,s,e),{onNone:()=>B(a),onSome:l=>B(new ae(e,r,[a,new Tc(e,r,"Predicate",l)]))}):B(a)}),c=>et(e.filter(c,s,e),{onNone:()=>Se(c),onSome:a=>B(new Tc(e,r,"Predicate",a))}));return Wr(i,e,r,s)}}else{const n=Ee(ue(e),!0),r=Ee(j_(e.from),!1);return(s,o)=>Wr(lo(n(s,o),i=>r(i,o)),e,s,o)}case"Transformation":{const n=uN(e.transformation,t),r=t?Ee(e.from,!0):Ee(e.to,!1),s=t?Ee(e.to,!0):Ee(e.from,!1);return(o,i)=>Wr(lo(Ic(r(o,i),c=>new xc(e,o,t?"Encoded":"Type",c)),c=>lo(Ic(n(c,i??dc,e,o),a=>new xc(e,o,"Transformation",a)),a=>Ic(s(a,i),l=>new xc(e,o,t?"Type":"Encoded",l)))),e,o,i)}case"Declaration":{const n=t?e.decodeUnknown(...e.typeParameters):e.encodeUnknown(...e.typeParameters);return(r,s)=>Wr(n(r,s??dc,e),e,r,s)}case"Literal":return Ke(e,n=>n===e.literal);case"UniqueSymbol":return Ke(e,n=>n===e.symbol);case"UndefinedKeyword":return Ke(e,Nw);case"NeverKeyword":return Ke(e,Rw);case"UnknownKeyword":case"AnyKeyword":case"VoidKeyword":return Se;case"StringKeyword":return Ke(e,Be);case"NumberKeyword":return Ke(e,vt);case"BooleanKeyword":return Ke(e,tr);case"BigIntKeyword":return Ke(e,Si);case"SymbolKeyword":return Ke(e,Qc);case"ObjectKeyword":return Ke(e,en);case"Enums":return Ke(e,n=>e.enums.some(([r,s])=>s===n));case"TemplateLiteral":{const n=Z0(e);return Ke(e,r=>Be(r)&&n.test(r))}case"TupleType":{const n=e.elements.map(l=>Ee(l.type,t)),r=e.rest.map(l=>Ee(l.type,t));let s=e.elements.filter(l=>!l.isOptional);e.rest.length>0&&(s=s.concat(e.rest.slice(1)));const o=s.length,i=e.elements.length>0?e.elements.map((l,f)=>f).join(" | "):"never",c=Mc(e),a=Ac(e);return(l,f)=>{if(!ta(l))return B(new it(e,l));const d=(f==null?void 0:f.errors)==="all",p=[];let m=0;const y=[],k=l.length;for(let w=k;w<=o-1;w++){const T=new xe(w,l,new qr(s[w-k]));if(d){p.push([m++,T]);continue}else return B(new ae(e,l,T,y))}if(e.rest.length===0)for(let w=e.elements.length;w<=k-1;w++){const T=new xe(w,l,new Ad(l[w],`is unexpected, expected: ${i}`));if(d){p.push([m++,T]);continue}else return B(new ae(e,l,T,y))}let g=0,b;for(;gUe(un(T),q=>{if(Me(q)){const U=new xe(E,l,q.left);return d?(x.push([O,U]),ze):B(new ae(e,l,U,rt(A)))}return A.push([O,q.right]),ze}))}}if(oe(r)){const[w,...T]=r;for(;gUe(un(v),U=>{if(Me(U)){const G=new xe(x,l,U.left);return d?(A.push([E,G]),ze):B(new ae(e,l,G,rt(q)))}else return q.push([E,U.right]),ze}))}}for(let v=0;vUe(un(O),G=>{if(Me(G)){const ce=new xe(A,l,G.left);return d?(q.push([x,ce]),ze):B(new ae(e,l,ce,rt(U)))}return U.push([x,G.right]),ze}))}}}const S=({es:w,output:T})=>bo(w)?B(new ae(e,l,rt(w),rt(T))):Se(rt(T));if(b&&b.length>0){const w=b;return uo(()=>{const T={es:Jr(p),output:Jr(y)};return Ue(Io(w,v=>v(T),{concurrency:c,batching:a,discard:!0}),()=>S(T))})}return S({output:y,es:p})}}case"TypeLiteral":{if(e.propertySignatures.length===0&&e.indexSignatures.length===0)return Ke(e,Cw);const n=[],r={},s=[];for(const f of e.propertySignatures)n.push([Ee(f.type,t),f]),r[f.name]=null,s.push(f.name);const o=e.indexSignatures.map(f=>[Ee(f.parameter,t),Ee(f.type,t),f.parameter]),i=Fe.make(e.indexSignatures.map(f=>f.parameter).concat(s.map(f=>Qc(f)?new T0(f):new na(f)))),c=Ee(i,t),a=Mc(e),l=Ac(e);return(f,d)=>{if(!jw(f))return B(new it(e,f));const p=(d==null?void 0:d.errors)==="all",m=[];let y=0;const k=(d==null?void 0:d.onExcessProperty)==="error",g=(d==null?void 0:d.onExcessProperty)==="preserve",b={};let S;if(k||g){S=Nt(f);for(const O of S){const E=xt(c(O,d));if(Me(E))if(k){const x=new xe(O,f,new Ad(f[O],`is unexpected, expected: ${String(i)}`));if(p){m.push([y++,x]);continue}else return B(new ae(e,f,x,b))}else b[O]=f[O]}}let w;const T=(d==null?void 0:d.exact)===!0;for(let O=0;OUe(un(U),R=>{if(Me(R)){const W=new xe(ee,f,A?R.left:new qr(E));return p?(ge.push([ce,W]),ze):B(new ae(e,f,W,Z))}return Z[ee]=R.right,ze}))}}for(let O=0;OUe(un(ce),nt=>{if(Me(nt)){const We=new xe(Z,f,nt.left);return p?(R.push([ge,We]),ze):B(new ae(e,f,We,W))}else return Object.prototype.hasOwnProperty.call(r,U)||(W[U]=nt.right),ze}))}}}}const v=({es:O,output:E})=>{if(bo(O))return B(new ae(e,f,rt(O),E));if((d==null?void 0:d.propertyOrder)==="original"){const x=S||Nt(f);for(const q of s)x.indexOf(q)===-1&&x.push(q);const A={};for(const q of x)Object.prototype.hasOwnProperty.call(E,q)&&(A[q]=E[q]);return Se(A)}return Se(E)};if(w&&w.length>0){const O=w;return uo(()=>{const E={es:Jr(m),output:Object.assign({},b)};return Ue(Io(O,x=>x(E),{concurrency:a,batching:l,discard:!0}),()=>v(E))})}return v({es:m,output:b})}}case"Union":{const n=cN(e.types,t),r=Nt(n.keys),s=r.length,o=e.types.length,i=new Map;for(let l=0;l{const d=[];let p=0,m=[];if(s>0)if(vu(l))for(let g=0;g0&&(m=m.concat(n.otherwise));let y;for(let g=0;guo(()=>"finalResult"in v?ze:Ue(un(S),O=>(At(O)?v.finalResult=O:v.es.push([T,O.left]),ze))))}}const k=g=>bo(g)?g.length===1&&g[0][1]._tag==="Type"?B(g[0][1]):B(new ae(e,l,rt(g))):B(new it(e,l));if(y&&y.length>0){const g=y;return uo(()=>{const b={es:Jr(d)};return Ue(Io(g,S=>S(b),{concurrency:c,batching:a,discard:!0}),()=>"finalResult"in b?b.finalResult:k(b.es))})}return k(d)}}case"Suspend":{const n=Tm(()=>Ee(as(e.f(),e.annotations),t));return(r,s)=>n()(r,s)}}},Ke=(e,t)=>n=>t(n)?Se(n):B(new it(e,n)),Hr=(e,t)=>{switch(e._tag){case"Declaration":{const n=qm(e);if(Q(n))return Hr(n.value,t);break}case"TypeLiteral":{const n=[];for(let r=0;r{const n={},r=[],s=[];for(let o=0;o0){s.push(i);for(let a=0;azn(e)?j_(e.from):e,Wr=(e,t,n,r)=>{const s=xt(e);if(s)return s;if((r==null?void 0:r.isEffectAllowed)===!0)return e;try{return M_(un(e))}catch{return B(new Y1(t,n,"cannot be be resolved synchronously, this is caused by using runSync on an effect that performs async work"))}},aN=([e],[t])=>e>t?1:et[1])}const uN=(e,t)=>{switch(e._tag){case"FinalTransformation":return t?e.decode:e.encode;case"ComposeTransformation":return Se;case"TypeLiteralTransformation":return n=>{let r=Se(n);for(const s of e.propertySignatureTransformations){const[o,i]=t?[s.from,s.to]:[s.to,s.from],c=t?s.decode:s.encode;r=R_(r,l=>{const f=c(Object.prototype.hasOwnProperty.call(l,o)?N(l[o]):I());return delete l[o],Q(f)&&(l[i]=f.value),l})}return r}}},De=(e,t=[])=>({value:e,forest:t}),Mo={formatIssue:e=>ot(Bn(e),lN),formatIssueSync:e=>M_(Mo.formatIssue(e)),formatError:e=>Mo.formatIssue(e.issue),formatErrorSync:e=>Mo.formatIssueSync(e.issue)},lN=e=>e.value+L_(` -`,e.forest),L_=(e,t)=>{let n="";const r=t.length;let s;for(let o=0;o1&&!i?"│ ":" "),s.forest)}return n},fN=e=>{switch(e){case"Encoded":return"Encoded side transformation failure";case"Transformation":return"Transformation process failure";case"Type":return"Type side transformation failure"}},dN=e=>{switch(e){case"From":return"From side refinement failure";case"Predicate":return"Predicate refinement failure"}},K_=e=>"ast"in e?N(e.ast):I(),hN=e=>K_(e).pipe($i(g0),Ue(t=>{const n=t(e);return Be(n)?jt({message:n,override:!1}):V1(n)?ot(n,r=>({message:r,override:!1})):Be(n.message)?jt({message:n.message,override:n.override}):ot(n.message,r=>({message:r,override:n.override}))})),Pl=e=>t=>t._tag===e,D_=Pl("Composite"),Rd=Pl("Refinement"),Cd=Pl("Transformation"),Fl=e=>hN(e).pipe(Ue(t=>!t.override&&(D_(e)||Rd(e)&&e.kind==="From"||Cd(e)&&e.kind!=="Transformation")?Cd(e)||Rd(e)?Fl(e.issue):I():jt(t.message))),U_=e=>K_(e).pipe($i(S0),vv(t=>Oi(t(e))));function pN(e){return Um(e).pipe(Ht(()=>Km(e)),Ht(()=>Dm(e)),Ht(()=>Ii(e)),ve(()=>`{ ${e.from} | filter }`))}function mN(e){return e.message!==void 0?e.message:`Expected ${zn(e.ast)?pN(e.ast):String(e.ast)}, actual ${Et(e.actual)}`}const gN=e=>Fl(e).pipe(z1(()=>U_(e)),Rl(()=>jt(mN(e)))),fo=e=>ve(U_(e),()=>String(e.ast)),yN=e=>e.message??"is forbidden",_N=e=>e.message??"is unexpected",bN=e=>y0(e.ast).pipe(Ue(t=>{const n=t();return Be(n)?jt(n):n}),Rl(()=>jt(e.message??"is missing"))),Nc=(e,t)=>W1(Fl(e),{onFailure:t,onSuccess:n=>jt(De(n))}),Bn=e=>{switch(e._tag){case"Type":return ot(gN(e),De);case"Forbidden":return jt(De(fo(e),[De(yN(e))]));case"Unexpected":return jt(De(_N(e)));case"Missing":return ot(bN(e),De);case"Transformation":return Nc(e,()=>ot(Bn(e.issue),t=>De(fo(e),[De(fN(e.kind),[t])])));case"Refinement":return Nc(e,()=>ot(Bn(e.issue),t=>De(fo(e),[De(dN(e.kind),[t])])));case"Pointer":return ot(Bn(e.issue),t=>De(Mm(e.path),[t]));case"Composite":{const t=fo(e);return Nc(e,()=>Im(e.issues)?ot(Io(e.issues,Bn),n=>De(t,n)):ot(Bn(e.issues),n=>De(t,[n])))}}},SN=h(e=>en(e[0]),(e,...t)=>{const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}),wN=h(e=>en(e[0]),(e,...t)=>{const n={...e};for(const r of t)delete n[r];return n}),_r=Symbol.for("effect/Schema"),pe=e=>{var t,n,r;return n=_r,t=_r,r=class{constructor(){u(this,n,Ha)}static annotations(o){return pe(rn(this.ast,o))}static pipe(){return C(this,arguments)}static toString(){return String(e)}},u(r,"ast",e),u(r,"Type"),u(r,"Encoded"),u(r,"Context"),u(r,t,Ha),r},Ha={_A:e=>e,_I:e=>e,_R:e=>e},Pd={schemaId:i0,message:Rm,missingMessage:Iu,identifier:Mu,title:Kt,description:As,examples:c0,default:a0,documentation:h0,jsonSchema:u0,arbitrary:l0,pretty:f0,equivalence:d0,concurrency:Cm,batching:Pm,parseIssueTitle:Fm,parseOptions:jm,decodingFallback:Lm},Nr=e=>{if(!e)return{};const t={...e};for(const n in Pd)if(n in e){const r=Pd[n];t[r]=e[n],delete t[n]}return t},rn=(e,t)=>as(e,Nr(t)),vN=e=>pe(ia(e.ast)),Fd=e=>pe(ue(e.ast)),Qt=e=>j(e,_r)&&en(e[_r]),kN=e=>Cu(e)?Fe.make(B0(e,t=>new na(t))):new na(e[0]),q_=(e,t=kN(e))=>{var n;return n=class extends pe(t){static annotations(s){return q_(this.literals,rn(this.ast,s))}},u(n,"literals",[...e]),n};function Wa(...e){return oe(e)?q_(e):B_}const EN=(e,t,n)=>pe(new Mi(e.map(r=>r.ast),(...r)=>t.decode(...r.map(pe)),(...r)=>t.encode(...r.map(pe)),Nr(n))),ON=(e,t)=>{const n=()=>(s,o,i)=>e(s)?bs(s):N_(new it(i,s)),r=n;return pe(new Mi([],n,r,Nr(t)))},$N=function(){if(Array.isArray(arguments[0])){const n=arguments[0],r=arguments[1],s=arguments[2];return EN(n,r,s)}const e=arguments[0],t=arguments[1];return ON(e,t)};class TN extends pe(cs){}class B_ extends pe(Nu){}class xN extends pe(ra){}class IN extends pe(oa){}const MN=e=>Fe.make(e.map(t=>t.ast)),J_=(e,t=MN(e))=>{var n;return n=class extends pe(t){static annotations(s){return J_(this.members,rn(this.ast,s))}},u(n,"members",[...e]),n};function AN(...e){return Cu(e)?J_(e):oe(e)?e[0]:B_}const NN=e=>AN(e,TN),RN=(e,t)=>new Ai(e.map(n=>Qt(n)?new nn(n.ast,!1):n.ast),t.map(n=>Qt(n)?new Ns(n.ast):n.ast),!0),V_=(e,t,n=RN(e,t))=>{var r;return r=class extends pe(n){static annotations(o){return V_(this.elements,this.rest,rn(this.ast,o))}},u(r,"elements",[...e]),u(r,"rest",[...t]),r},H_=(e,t)=>{var n;return n=class extends V_([e],[e],t){static annotations(s){return H_(this.value,rn(this.ast,s))}},u(n,"value",e),n},ut=e=>H_(e),za=e=>e?'"?:"':'":"';class W_ extends nn{constructor(n,r,s,o,i){super(n,r,o);u(this,"isReadonly");u(this,"defaultValue");u(this,"_tag","PropertySignatureDeclaration");this.isReadonly=s,this.defaultValue=i}toString(){const n=za(this.isOptional),r=String(this.type);return`PropertySignature<${n}, ${r}, never, ${n}, ${r}>`}}class CN extends nn{constructor(n,r,s,o,i){super(n,r,o);u(this,"isReadonly");u(this,"fromKey");this.isReadonly=s,this.fromKey=i}}class PN extends nn{constructor(n,r,s,o,i){super(n,r,o);u(this,"isReadonly");u(this,"defaultValue");this.isReadonly=s,this.defaultValue=i}}const FN=e=>e===void 0?"never":Be(e)?JSON.stringify(e):String(e);class jN{constructor(t,n,r,s){u(this,"from");u(this,"to");u(this,"decode");u(this,"encode");u(this,"_tag","PropertySignatureTransformation");this.from=t,this.to=n,this.decode=r,this.encode=s}toString(){return`PropertySignature<${za(this.to.isOptional)}, ${this.to.type}, ${FN(this.from.fromKey)}, ${za(this.from.isOptional)}, ${this.from.type}>`}}const z_=(e,t)=>{switch(e._tag){case"PropertySignatureDeclaration":return new W_(e.type,e.isOptional,e.isReadonly,{...e.annotations,...t},e.defaultValue);case"PropertySignatureTransformation":return new jN(new CN(e.from.type,e.from.isOptional,e.from.isReadonly,e.from.annotations),new PN(e.to.type,e.to.isOptional,e.to.isReadonly,{...e.to.annotations,...t},e.to.defaultValue),e.decode,e.encode)}},G_=Symbol.for("effect/PropertySignature"),jl=e=>j(e,G_);var Fh,jh;jh=_r,Fh=G_;const Vl=class Vl{constructor(t){u(this,"ast");u(this,jh);u(this,Fh,null);u(this,"_TypeToken");u(this,"_Key");u(this,"_EncodedToken");u(this,"_HasDefault");this.ast=t}pipe(){return C(this,arguments)}annotations(t){return new Vl(z_(this.ast,Nr(t)))}toString(){return String(this.ast)}};let Ga=Vl;class Ll extends Ga{constructor(n,r){super(n);u(this,"from");this.from=r}annotations(n){return new Ll(z_(this.ast,Nr(n)),this.from)}}const kt=e=>{const t=e.ast===cs||e.ast===Nu?cs:NN(e).ast;return new Ll(new W_(t,!0,!0,{},void 0),e)},LN=Q0([Iu]),KN=(e,t)=>{const n=Nt(e),r=[];if(n.length>0){const o=[],i=[],c=[];for(let a=0;a{o.push(m),i.push(new Oe(m.name,ue(m.type),m.isOptional,m.isReadonly,m.annotations))}),d.forEach(m=>{a.push(m),l.push(new Rs(m.parameter,ue(m.type),m.isReadonly))})}return new Gn(new Rt(o,a,{[Hn]:"Struct (Encoded side)"}),new Rt(i,l,{[Hn]:"Struct (Type side)"}),new wo(c))}}const s=[];for(const o of t){const{indexSignatures:i,propertySignatures:c}=$f(o.key.ast,o.value.ast);c.forEach(a=>r.push(a)),i.forEach(a=>s.push(a))}return new Rt(r,s)},Y_=(e,t)=>{const n=Nt(e);for(const r of n){const s=e[r];if(t[r]===void 0&&jl(s)){const o=s.ast,i=o._tag==="PropertySignatureDeclaration"?o.defaultValue:o.to.defaultValue;i!==void 0&&(t[r]=i())}}return t},Z_=(e,t,n=KN(e,t))=>{var r;return r=class extends pe(n){static annotations(o){return Z_(this.fields,this.records,rn(this.ast,o))}static pick(...o){return gt(SN(e,...o))}static omit(...o){return gt(wN(e,...o))}},u(r,"fields",{...e}),u(r,"records",[...t]),u(r,"make",(o,i)=>{const c=Y_(e,{...o});return Dl(i)?c:Cl(r)(c)}),r};function gt(e,...t){return Z_(e,t)}const DN=e=>pe(Vr(e.ast)),on=(e,t,n)=>{if(Of(e)&&Of(t)){const r=[...e.propertySignatures];for(const s of t.propertySignatures){const o=s.name,i=r.findIndex(c=>c.name===o);if(i===-1)r.push(s);else{const{isOptional:c,type:a}=r[i];r[i]=new Oe(o,ss(a,s.type,n.concat(o)),c,!0)}}return new Rt(r,e.indexSignatures.concat(t.indexSignatures))}throw new Error(Am(e,t,n))},UN=X0([Mu]),qn=(e,t)=>t.map(n=>new Fu(n,e.filter,UN(e))),ss=(e,t,n)=>Fe.make(bt([e],[t],n)),Ut=e=>Pu(e)?e.types:[e],bt=(e,t,n)=>qo(e,r=>qo(t,s=>{switch(s._tag){case"Literal":{if(Be(s.literal)&&sa(r)||vt(s.literal)&&wf(r)||tr(s.literal)&&kf(r))return[s];break}case"StringKeyword":{if(s===ra){if(sa(r)||ts(r)&&Be(r.literal))return[r];if(zn(r))return qn(r,bt(Ut(r.from),[s],n))}else if(r===ra)return[s];break}case"NumberKeyword":{if(s===oa){if(wf(r)||ts(r)&&vt(r.literal))return[r];if(zn(r))return qn(r,bt(Ut(r.from),[s],n))}else if(r===oa)return[s];break}case"BooleanKeyword":{if(s===vf){if(kf(r)||ts(r)&&tr(r.literal))return[r];if(zn(r))return qn(r,bt(Ut(r.from),[s],n))}else if(r===vf)return[s];break}case"Union":return bt(Ut(r),s.types,n);case"Suspend":return[new Wn(()=>ss(r,s.f(),n))];case"Refinement":return qn(s,bt(Ut(r),Ut(s.from),n));case"TypeLiteral":{switch(r._tag){case"Union":return bt(r.types,[s],n);case"Suspend":return[new Wn(()=>ss(r.f(),s,n))];case"Refinement":return qn(r,bt(Ut(r.from),[s],n));case"TypeLiteral":return[on(r,s,n)];case"Transformation":{if(vo(r.transformation))return[new Gn(on(r.from,s,n),on(r.to,ue(s),n),new wo(r.transformation.propertySignatureTransformations))];break}}break}case"Transformation":{if(vo(s.transformation))switch(r._tag){case"Union":return bt(r.types,[s],n);case"Suspend":return[new Wn(()=>ss(r.f(),s,n))];case"Refinement":return qn(r,bt(Ut(r.from),[s],n));case"TypeLiteral":return[new Gn(on(r,s.from,n),on(ue(r),s.to,n),new wo(s.transformation.propertySignatureTransformations))];case"Transformation":if(vo(r.transformation))return[new Gn(on(r.from,s.from,n),on(r.to,s.to,n),new wo(s.transformation.propertySignatureTransformations.concat(r.transformation.propertySignatureTransformations)))];break}break}}throw new Error(Am(r,s,n))})),qN=h(2,(e,t)=>pe(ss(e.ast,t.ast,[]))),Q_=Symbol.for("effect/SchemaId/Refine"),X_=(e,t,n)=>{var r,s,o;return o=class extends(s=pe(n),r=Q_,s){static annotations(c){return X_(this.from,this.filter,rn(this.ast,c))}},u(o,r,e),u(o,"from",e),u(o,"filter",t),u(o,"make",(c,a)=>Dl(a)?c:Cl(o)(c)),o},jd=(e,t,n)=>{if(tr(e))return e?I():N(new it(t,n));if(Be(e))return N(new it(t,n,e));if(e!==void 0){if("_tag"in e)return N(e);const r=new it(t,n,e.message);return N(oe(e.path)?new xe(e.path,n,r):r)}return I()},BN=(e,t,n)=>{if(Qv(e))return jd(e,t,n);if(oe(e)){const r=Gv(e,s=>jd(s,t,n));if(oe(r))return N(r.length===1?r[0]:new ae(t,n,r))}return I()};function eb(e,t){return n=>{function r(o,i,c){return BN(e(o,i,c),c,o)}const s=new Fu(n.ast,r,Nr(t));return X_(n,r,s)}}const tb=(e,t,n)=>{var r;return r=class extends pe(n){static annotations(o){return tb(this.from,this.to,rn(this.ast,o))}},u(r,"from",e),u(r,"to",t),r},Ya=h(e=>Qt(e[0])&&Qt(e[1]),(e,t,n)=>tb(e,t,new Gn(e.ast,t.ast,new J0(n.decode,n.encode)))),JN=h(e=>Qt(e[0])&&Qt(e[1]),(e,t,n)=>Ya(e,t,{strict:!0,decode:(r,s,o,i)=>bs(n.decode(r,i)),encode:(r,s,o,i)=>bs(n.encode(r,i))})),VN=s0,HN=(e,t)=>n=>n.pipe(eb(r=>r.length>=e,{schemaId:VN,title:`minLength(${e})`,description:`a string at least ${e} character(s) long`,jsonSchema:{minLength:e},...t})),Ld=Symbol.for("effect/SchemaId/Pattern"),nb=(e,t)=>n=>{const r=e.source;return n.pipe(eb(s=>(e.lastIndex=0,e.test(s)),{schemaId:Ld,[Ld]:{regex:e},description:`a string matching the pattern ${r}`,jsonSchema:{pattern:r},...t}))},WN=e=>HN(1,{title:"nonEmptyString",description:"a non empty string",...e});class H extends xN.pipe(WN({identifier:"NonEmptyString"})){}const zN=e=>Qt(e)||jl(e),rb=e=>Nt(e).every(t=>zN(e[t])),Kl=e=>"fields"in e?e.fields:Kl(e[Q_]),sb=e=>rb(e)?gt(e):Qt(e)?e:gt(Kl(e)),ob=e=>rb(e)?e:Kl(e),Ys=e=>(t,n)=>Ao({kind:"Class",identifier:e,schema:sb(t),fields:ob(t),Base:_1,annotations:n}),Rc=(e,t)=>{const n={...e};for(const r of Nt(t)){if(r in e)throw new Error(Nm(r));n[r]=t[r]}return n},Dl=e=>tr(e)?e:(e==null?void 0:e.disableValidation)??!1,Kd=J("effect/Schema/astCache",()=>new WeakMap),GN=e=>e===void 0?[]:Array.isArray(e)?e:[e],Ao=({Base:e,annotations:t,disableToString:n,fields:r,identifier:s,kind:o,schema:i})=>{var w,T;const c=Symbol.for(`effect/Schema/${o}/${s}`),[a,l,f]=GN(t),d=Fd(i),p=d.annotations({identifier:s,...a}),m=d.annotations({[Hn]:`${s} (Type side)`,...a}),y=i.annotations({[Hn]:`${s} (Constructor)`,...a}),k=i.annotations({[Hn]:`${s} (Encoded side)`,...f}),g=i.annotations({[Au]:s,...f,...a,...l}),b=v=>j(v,c)&&rN(m)(v),S=(T=class extends e{constructor(v={},O=!1){v={...v},o!=="Class"&&delete v._tag,v=Y_(r,v),Dl(O)||(v=Cl(y)(v)),super(v,!0)}static get ast(){let v=Kd.get(this);if(v)return v;const O=$N([m],{decode:()=>(E,x,A)=>E instanceof this||b(E)?bs(E):N_(new it(A,E)),encode:()=>(E,x)=>E instanceof this?bs(E):R_(tN(m)(E,x),A=>new this(A,!0))},{identifier:s,pretty:E=>x=>`${s}(${E(x)})`,arbitrary:E=>x=>E(x).map(A=>new this(A)),equivalence:ne,[Jo]:p.ast,...a});return v=JN(k,O,{strict:!0,decode:E=>new this(E,!0),encode:ne}).annotations({[Jo]:g.ast,...l}).ast,Kd.set(this,v),v}static pipe(){return C(this,arguments)}static annotations(v){return pe(this.ast).annotations(v)}static toString(){return`(${String(k)} <-> ${s})`}static make(...v){return new this(...v)}static extend(v){return(O,E)=>{const x=ob(O),A=sb(O),q=Rc(r,x);return Ao({kind:o,identifier:v,schema:qN(i,A),fields:q,Base:this,annotations:E})}}static transformOrFail(v){return(O,E,x)=>{const A=Rc(r,O);return Ao({kind:o,identifier:v,schema:Ya(i,Fd(gt(A)),E),fields:A,Base:this,annotations:x})}}static transformOrFailFrom(v){return(O,E,x)=>{const A=Rc(r,O);return Ao({kind:o,identifier:v,schema:Ya(vN(i),gt(A),E),fields:A,Base:this,annotations:x})}}get[(w=_r,c)](){return c}},u(T,w,Ha),u(T,"fields",{...r}),u(T,"identifier",s),T);return n!==!0&&Object.defineProperty(S.prototype,"toString",{value(){return`${s}({ ${Nt(r).map(v=>`${xm(v)}: ${Et(this[v])}`).join(", ")} })`},configurable:!0}),S};var ib,$e,cb,YN=[];function ZN(e,t,n){var r,s,o,i={};for(o in t)o=="key"?r=t[o]:o=="ref"?s=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?ib.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return QN(e,i,r,s,null)}function QN(e,t,n,r,s){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:s??++cb,__i:-1,__u:0};return s==null&&$e.vnode!=null&&$e.vnode(o),o}function zr(e){return e.children}ib=YN.slice,$e={__e:function(e,t,n,r){for(var s,o,i;t=t.__;)if((s=t.__c)&&!s.__)try{if((o=s.constructor)&&o.getDerivedStateFromError!=null&&(s.setState(o.getDerivedStateFromError(e)),i=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(e,r||{}),i=s.__d),i)return s.__E=s}catch(c){e=c}throw e}},cb=0,typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());var Dd=/[\s\n\\/='"\0<>]/,Ud=/^(xlink|xmlns|xml)([A-Z])/,XN=/^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/,eR=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,tR=new Set(["draggable","spellcheck"]),nR=/["&<]/;function ho(e){if(e.length===0||nR.test(e)===!1)return e;for(var t=0,n=0,r="",s="";n";S=g.children}else{if((b=k.contextType)!=null){var x=t[b.__c];T=x?x.props.value:b.__}var A=k.prototype&&typeof k.prototype.render=="function";if(A)S=Vd(e,T),w=e.__c;else{e.__c=w=iR(e,T);for(var q=0;w.__d&&q++<25;)w.__d=!1,Ss&&Ss(e),S=k.call(w,g,T);w.__d=!0}if(w.getChildContext!=null&&(t=Qa({},t,w.getChildContext())),A&&$e.errorBoundaries&&(k.getDerivedStateFromError||w.componentDidCatch)){S=S!=null&&S.type===zr&&S.key==null&&S.props.tpl==null?S.props.children:S;try{return qt(S,t,n,r,e,o,i)}catch(jn){return k.getDerivedStateFromError&&(w.__s=k.getDerivedStateFromError(jn)),w.componentDidCatch&&w.componentDidCatch(jn,Ul),w.__d?(S=Vd(e,t),(w=e.__c).getChildContext!=null&&(t=Qa({},t,w.getChildContext())),qt(S=S!=null&&S.type===zr&&S.key==null&&S.props.tpl==null?S.props.children:S,t,n,r,e,o,i)):Ae}finally{ln&&ln(e),Gr&&Gr(e)}}}S=S!=null&&S.type===zr&&S.key==null&&S.props.tpl==null?S.props.children:S;try{var U=qt(S,t,n,r,e,o,i);return ln&&ln(e),$e.unmount&&$e.unmount(e),U}catch(jn){if(i&&i.onError){var G=i.onError(jn,e,function(pb,mb){return qt(pb,t,n,r,mb,o,i)});if(G!==void 0)return G;var ce=$e.__e;return ce&&ce(jn,e),Ae}throw jn}}var ee,ge="<"+k,Z=Ae;for(var R in g){var W=g[R];if(typeof W!="function"||R==="class"||R==="className"){switch(R){case"children":ee=W;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in g)continue;R="for";break;case"className":if("class"in g)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",k){case"textarea":ee=W;continue;case"select":r=W;continue;case"option":r!=W||"selected"in g||(ge+=" selected")}break;case"dangerouslySetInnerHTML":Z=W&&W.__html;continue;case"style":typeof W=="object"&&(W=oR(W));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(Ud.test(R))R=R.replace(Ud,"$1:$2").toLowerCase();else{if(Dd.test(R))continue;R[4]!=="-"&&!tR.has(R)||W==null?n?eR.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):XN.test(R)&&(R=R.toLowerCase()):W+=Ae}}W!=null&&W!==!1&&(ge=W===!0||W===Ae?ge+" "+R:ge+" "+R+'="'+(typeof W=="string"?ho(W):W+Ae)+'"')}}if(Dd.test(k))throw new Error(k+" is not a valid HTML tag name in "+ge+">");if(Z||(typeof ee=="string"?Z=ho(ee):ee!=null&&ee!==!1&&ee!==!0&&(Z=qt(ee,t,k==="svg"||k!=="foreignObject"&&n,r,e,o,i))),ln&&ln(e),Gr&&Gr(e),!Z&&aR.has(k))return ge+"/>";var nt="",We=ge+">";return Yr(Z)?[We].concat(Z,[nt]):typeof Z!="string"?[We,Z,nt]:We+Z+nt}var aR=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),uR=cR;const ab=/https:\/\//,ub=["programming language","cloud computing","testing","framework","frontend","database","devops tool","collaboration tool","other"];class lR extends Ys("ProjectTechnology")({id:H,name:H,category:Wa(...ub),display:Wa("force","hide").pipe(kt),version:H.pipe(kt),url:H.pipe(kt)}){}class fR extends Ys("ProjectDetails")({order:IN,client:gt({name:H,description:H}).pipe(kt),title:H,stack:H.pipe(ut),tools:H.pipe(ut),roles:H.pipe(ut),achivements:gt({technical:H,human:H.pipe(kt)}).pipe(ut)}){}class dR extends Ys("EmploymentRecord")({position:H,workType:Wa("hybrid","on-site","remote"),companyName:H,companyDescription:H,website:H.pipe(nb(ab)),start:H,end:H.pipe(kt),location:gt({city:H,country:H,timezone:H}).pipe(DN),projects:fR.pipe(ut)}){get sortedProjects(){return[...this.projects].sort((t,n)=>n.order-t.order)}isMonthPast(t){const n=us(A_().epochMillis),r=us(Va(this.start).epochMillis);return qk(r)(n).pipe(Lk)>t*30}}class hR extends Ys("Me")({name:H,coverLetter:gt({position:H,content:H.pipe(ut)}).pipe(kt),expertise:H.pipe(ut),location:H.pipe(kt),phone:H.pipe(kt),email:H,profiles:gt({url:H.pipe(nb(ab)),icon:H}).pipe(ut),expertSummary:H.pipe(ut)}){}class lb extends Ys("ResumeObject")({$schema:H.pipe(kt),me:hR,technologies:lR.pipe(ut),employmentHistory:dR.pipe(ut)}){}var pR=0;function $(e,t,n,r,s,o){t||(t={});var i,c,a=t;if("ref"in a)for(c in a={},t)c=="ref"?i=t[c]:a[c]=t[c];var l={type:e,props:a,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--pR,__i:-1,__u:0,__source:s,__self:o};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)a[c]===void 0&&(a[c]=i[c]);return $e.vnode&&$e.vnode(l),l}function mR(e){const t=e.me.coverLetter;return $("div",{children:[SR(e),t?$("div",{children:[$("div",{className:"section-header",children:$("span",{id:"label",children:[`Why I'm the Right Choice for "`,t.position,'"']})}),$("div",{className:"p-2 bg-so",children:t.content.map(n=>$("p",{dangerouslySetInnerHTML:{__html:n}}))})]}):null,$("div",{className:"section-header",children:$("span",{id:"label",children:"Summary"})}),$("div",{className:"bg-so p-2",children:e.me.expertSummary.map(n=>$("p",{dangerouslySetInnerHTML:{__html:n}}))}),$("div",{className:"section-header",children:$("span",{id:"label",children:"Skills"})}),$("div",{className:"flex flex-wrap gap-1",children:ER(e).map(([n,r])=>$("div",{className:"flex items-center gap-1",children:[$("span",{className:"uppercase font-medium",children:[n,":"]}),r.map((s,o)=>$("span",{className:"bg-so p-1 text-xs",children:s.technology.name},o))]},n))}),$("div",{className:"section-header pt-1",children:$("span",{id:"label",children:"Employment history"})}),$("div",{id:"employment",children:vR(e)})]})}function gR(e){var t;return $("div",{className:"flex gap-2 items-baseline",children:[$("span",{className:"text-2xl font-thin",children:"Software Engineer"}),$("span",{className:"text-base",children:["Expertise: ",(t=e.me)==null?void 0:t.expertise.join("/")]})]})}function yR(e){return $("div",{className:"flex text-sm",children:[$("span",{children:e.position}),$("span",{className:"font-extralight",children:["· ",e.location.city,", ",e.location.country," · ",e.workType]})]})}function _R(e){return $("span",{children:[$("a",{target:"_blank",className:"text-sky-600 font-medium",href:e.website,children:e.companyName})," · ",e.companyDescription]})}function bR(e){return $("span",{children:e.stack.map(t=>$("span",{className:"bg-so py-1 px-1 mr-1 text-sm",children:t}))})}function SR(e){return $("div",{id:"head",className:"pb-4",children:[$("div",{className:"text-4xl font-thin",children:e.me.name}),$("div",{className:"text-lg font-light",children:gR(e)}),$("div",{className:"flex gap-1.5 text-sm font-extralight",children:[$("span",{children:e.me.location}),$("div",{children:[$("span",{className:"fa-regular fa-envelope"}),$("a",{href:`mailto:${e.me.email}`,children:[" ",e.me.email]})]}),$("div",{children:[$("span",{className:"fa-solid fa-mobile-screen-button"}),$("a",{href:`tel:${e.me.phone}`,children:[" ",e.me.phone]})]})]}),$("div",{className:"pt-5 flex gap-2",children:e.me.profiles.map(t=>{const n=`fa-${t.icon.split(" ").at(0)}`;return $("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",children:$("span",{className:`fa-brands fa-lg ${n}`,style:{color:t.icon.split(" ").at(1)}})})})})]})}function wR(e,t){let n="project no-break pb-3";return t||(n+=" border-b-1 border-gray-300 border-dashed mb-2"),$("div",{className:n,children:[$("div",{className:"flex",children:[$("div",{className:"mb-0.5",children:[$("span",{className:"font-medium",children:"Project: "}),$("span",{children:e.title})]}),$("div",{className:"ml-auto",children:[$("span",{className:"font-medium",children:"Roles: "}),$("span",{children:e.roles.join("/")})]})]}),$("span",{className:"font-medium",children:"Stack:"}),$("span",{children:bR(e)}),$("ul",{className:"list-disc pt-2 pl-10 text-sm",children:e.achivements.map(r=>$("li",{children:r.human??r.technical}))})]})}function vR(e){return $("div",{id:"employment",children:e.employmentHistory.map(t=>{const n=t.isMonthPast(60);let r="border-b-1 border-gray-300 mb-2 p-2";n&&(r+=" bg-neutral-100");const s=xi(t.projects.flatMap(o=>o.roles),(o,i)=>o.toLowerCase()==i.toLocaleLowerCase()).join("/");return $("div",{className:r,children:[$("div",{className:"flex",children:[$("span",{className:"font-extralight text-sm",children:_R(t)}),$("span",{className:"ml-auto",children:kR(t)})]}),$("span",{className:"block",children:yR(t)}),n?$("div",{children:[$("span",{className:"font-medium",children:"Roles: "}),$("span",{children:s})]}):$("div",{className:"flex flex-col",children:t.sortedProjects.map((o,i)=>wR(o,i==t.projects.length-1))})]})})})}function kR(e){const t=Va(e.start),n=e.end?Va(e.end):A_(),r=G1(t,n),s=365.25*24*60*60*1e3,o=s/12;let i=Math.floor(r/s),c=Math.ceil(r%s/o);c===12&&(i=i+1,c=0);const a=Md(t,{month:"short",year:"numeric"}),l=Md(n,{month:"short",year:"numeric"});let f=`${c} mos`;i&&(f=`${i} yr ${f}`);const d=e.end?$("span",{children:[l," · ",f]}):$("span",{className:"font-medium",children:"now"});return $("span",{className:"font-light text-sm",children:[a," - ",d]})}function ER(e){var r;const t=(r=e.employmentHistory)==null?void 0:r.flatMap(s=>s.projects.flatMap(o=>[...o.stack,...o.tools].flatMap(i=>{var a;const c=(a=e.technologies)==null?void 0:a.find(l=>l.id==i);return!c||c.display=="hide"?[]:[{code:i,category:c.category,technology:c}]})));return t?_([...t,...e.technologies.filter(s=>s.display==="force").map(s=>({code:s.id,category:s.category,technology:s}))],xi((s,o)=>s.code==o.code),Hv(s=>s.technology.category),s=>Object.entries(s),Uv(s=>ub.findIndex(o=>o==s[0]),ym)):(console.warn("Skill categories not found"),[])}const Xa=e=>{try{return uR(mR(nN(lb)(e)))}catch(t){return console.log("render error",t),""}},OR=async()=>{const e=await fetch("./john-doe.jsonc").then(n=>n.text()).then(n=>ql(n,!0));return delete e.$schema,F_(lb)(e)},ql=(e,t=!1)=>{if(e)try{return JSON.parse(t?NR(MR(e)):e)}catch{}};function $R(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function TR(e){return new URLSearchParams(location.search).get(e)}function xR(e,t){const n=new URL(location.href);n.searchParams.set(e,t),window.history.replaceState(null,"",n)}const IR=/("(?:\\.|[^"\\])*")|(?:\/\*(?:[\s\S]*?)\*\/)|(\/\/.*)/g;function MR(e){return e.replace(IR,(t,n)=>n!==void 0?n:"")}const AR=/,\s*([\]}])/g;function NR(e){return e.replace(AR,"$1")}const RR=()=>{if(!("monaco_loader"in window)||typeof window.monaco_loader!="object"||window.monaco_loader==null){console.warn("monaco loader is not available");return}return window.monaco_loader},CR=()=>{const e=RR();if(e)return e.config({paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@latest/min/vs"}}),e.init()},PR=async(e,t)=>{const n=document.getElementById("code-editor");if(!n){console.warn("code-editor node not found");return}return e.editor.create(n,{model:t,contextmenu:!1,minimap:{enabled:!1}})},FR=async e=>({model:e.editor.createModel("","json")}),jR=(e,t,n)=>{const s=e.editor.getModelMarkers({resource:t.uri}).find(o=>n.has(o.severity.valueOf()));return s?(console.log("editor code error",s),!0):!1},LR=async()=>{const e=await CR();if(!e)return;const t=await FR(e),n=await PR(e,t.model);if(n)return{editor:n,monaco:e,textModel:t}},fb="http://json-schema.org/draft-07/schema#",db={ResumeObject:{type:"object",required:["me","technologies","employmentHistory"],properties:{$schema:{$ref:"#/$defs/NonEmptyString"},me:{$ref:"#/$defs/Me"},technologies:{type:"array",minItems:1,items:{$ref:"#/$defs/ProjectTechnology"}},employmentHistory:{type:"array",minItems:1,items:{$ref:"#/$defs/EmploymentRecord"}}},additionalProperties:!1},NonEmptyString:{type:"string",description:"a non empty string",title:"nonEmptyString",minLength:1},Me:{type:"object",required:["name","expertise","email","profiles","expertSummary"],properties:{name:{$ref:"#/$defs/NonEmptyString"},coverLetter:{type:"object",required:["position","content"],properties:{position:{$ref:"#/$defs/NonEmptyString"},content:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}}},additionalProperties:!1},expertise:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},location:{$ref:"#/$defs/NonEmptyString"},phone:{$ref:"#/$defs/NonEmptyString"},email:{$ref:"#/$defs/NonEmptyString"},profiles:{type:"array",minItems:1,items:{type:"object",required:["url","icon"],properties:{url:{$ref:"#/$defs/NonEmptyString",description:"a string matching the pattern https:\\/\\/",pattern:"https:\\/\\/"},icon:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1}},expertSummary:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}}},additionalProperties:!1},ProjectTechnology:{type:"object",required:["id","name","category"],properties:{id:{$ref:"#/$defs/NonEmptyString"},name:{$ref:"#/$defs/NonEmptyString"},category:{type:"string",enum:["programming language","framework","cloud computing","database","devops tool","testing","collaboration tool","frontend","other"]},display:{type:"string",enum:["force","hide"]},version:{$ref:"#/$defs/NonEmptyString"},url:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1},EmploymentRecord:{type:"object",required:["position","workType","companyName","companyDescription","website","start","location","projects"],properties:{position:{$ref:"#/$defs/NonEmptyString"},workType:{type:"string",enum:["hybrid","on-site","remote"]},companyName:{$ref:"#/$defs/NonEmptyString"},companyDescription:{$ref:"#/$defs/NonEmptyString"},website:{$ref:"#/$defs/NonEmptyString",description:"a string matching the pattern https:\\/\\/",pattern:"https:\\/\\/"},start:{$ref:"#/$defs/NonEmptyString"},end:{$ref:"#/$defs/NonEmptyString"},location:{type:"object",required:[],properties:{city:{$ref:"#/$defs/NonEmptyString"},country:{$ref:"#/$defs/NonEmptyString"},timezone:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1},projects:{type:"array",minItems:1,items:{$ref:"#/$defs/ProjectDetails"}}},additionalProperties:!1},ProjectDetails:{type:"object",required:["order","title","stack","tools","roles","achivements"],properties:{order:{type:"number"},client:{type:"object",required:["name","description"],properties:{name:{$ref:"#/$defs/NonEmptyString"},description:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1},title:{$ref:"#/$defs/NonEmptyString"},stack:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},tools:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},roles:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},achivements:{type:"array",minItems:1,items:{type:"object",required:["technical"],properties:{technical:{$ref:"#/$defs/NonEmptyString"},human:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1}}},additionalProperties:!1}},hb="#/$defs/ResumeObject",KR={$schema:fb,$defs:db,$ref:hb},DR=Object.freeze(Object.defineProperty({__proto__:null,$defs:db,$ref:hb,$schema:fb,default:KR},Symbol.toStringTag,{value:"Module"}));window.Alpine=Cn;UR();Cn.store("modes",()=>[{id:"editor",label:"Editor"},{id:"view",label:"View"}]);Cn.store("sections",()=>[{id:"all",label:"All together"},{id:"me",label:"Me"},{id:"employmentHistory",label:"My Employment"},{id:"technologies",label:"Tecnologies"}]);const z=Cn.reactive({resumeObject:{},resumeHtml:"

My Resume

",editorSection:"me",mode:"view",editorHasError:!1,availableResumes:[],currentResume:TR("resume")??"example"});Cn.data("state",()=>z);Cn.start();async function Hd(){if(z.availableResumes=[],Object.keys(localStorage).length==0){const e=await OR();localStorage.setItem("example",JSON.stringify(e,void 0,2))}for(const e of Object.keys(localStorage))localStorage.getItem(e)&&z.availableResumes.push({id:e,name:e})}function po(){const e=localStorage.getItem(z.currentResume);if(!e){console.warn("No resume to load");return}const t=ql(e,!0);if(!t){console.warn("Invalid json of resume");return}z.resumeObject=t,z.resumeHtml=Xa(t),xR("resume",z.currentResume)}async function UR(){const e=await LR();if(await Hd(),!e){console.warn("can not load editor");return}po();const t=s=>e.monaco.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,allowComments:!0,trailingCommas:"ignore",schemas:[{uri:"resume.json",fileMatch:["*"],schema:{...DR,$ref:s}}]}),n=()=>{if(z.editorSection=="all")delete z.resumeObject.$schema,e.textModel.model.setValue(JSON.stringify(z.resumeObject,void 0,2)),t("#/$defs/ResumeObject");else{const s=z.resumeObject[z.editorSection]??{};e.textModel.model.setValue(JSON.stringify(s,void 0,2)),t(`#/$defs/ResumeObject/properties/${z.editorSection}`)}},r=()=>{const s=ql(e.textModel.model.getValue(),!0);if(!s){console.log("invalid json");return}z.editorSection=="all"?z.resumeObject=s:z.resumeObject[z.editorSection]=s,localStorage.setItem(z.currentResume,JSON.stringify(z.resumeObject)),z.resumeHtml=Xa(z.resumeObject)};e.textModel.model.onDidChangeContent($R(r,300)),document.addEventListener("section-changed",()=>{n(),e.editor.setScrollTop(0),e.editor.setScrollLeft(0),z.editorSection=="all"?e.editor.updateOptions({minimap:{enabled:!0}}):e.editor.updateOptions({minimap:{enabled:!1}})}),window.addEventListener("init-resume",()=>{po(),n()}),window.addEventListener("save",()=>{const s=window.prompt("Enter name of your resume","simple");s&&(localStorage.setItem(s,JSON.stringify(z.resumeObject)),z.availableResumes.push({id:s,name:s}),z.currentResume=s,po(),n())}),window.addEventListener("delete",()=>{localStorage.removeItem(z.currentResume),Hd();const s=z.availableResumes.at(-1);s&&(z.currentResume=s.id),po()}),window.addEventListener("resize",()=>{e.editor.layout()}),document.addEventListener("mode-was-changed",()=>{Cn.nextTick(()=>{e.editor.layout()})}),e.monaco.editor.onDidChangeMarkers(()=>{const s=jR(e.monaco,e.textModel.model,new Set([4,8]));console.log("markers changed",{hasErrors:s}),z.editorHasError=s,s||(z.resumeHtml=Xa(z.resumeObject))}),n()} +`,e.forest),L_=(e,t)=>{let n="";const r=t.length;let s;for(let o=0;o1&&!i?"│ ":" "),s.forest)}return n},fN=e=>{switch(e){case"Encoded":return"Encoded side transformation failure";case"Transformation":return"Transformation process failure";case"Type":return"Type side transformation failure"}},dN=e=>{switch(e){case"From":return"From side refinement failure";case"Predicate":return"Predicate refinement failure"}},K_=e=>"ast"in e?N(e.ast):I(),hN=e=>K_(e).pipe($i(g0),Ue(t=>{const n=t(e);return Be(n)?jt({message:n,override:!1}):V1(n)?ot(n,r=>({message:r,override:!1})):Be(n.message)?jt({message:n.message,override:n.override}):ot(n.message,r=>({message:r,override:n.override}))})),Pl=e=>t=>t._tag===e,D_=Pl("Composite"),Rd=Pl("Refinement"),Cd=Pl("Transformation"),Fl=e=>hN(e).pipe(Ue(t=>!t.override&&(D_(e)||Rd(e)&&e.kind==="From"||Cd(e)&&e.kind!=="Transformation")?Cd(e)||Rd(e)?Fl(e.issue):I():jt(t.message))),U_=e=>K_(e).pipe($i(S0),vv(t=>Oi(t(e))));function pN(e){return Um(e).pipe(Ht(()=>Km(e)),Ht(()=>Dm(e)),Ht(()=>Ii(e)),ve(()=>`{ ${e.from} | filter }`))}function mN(e){return e.message!==void 0?e.message:`Expected ${zn(e.ast)?pN(e.ast):String(e.ast)}, actual ${Et(e.actual)}`}const gN=e=>Fl(e).pipe(z1(()=>U_(e)),Rl(()=>jt(mN(e)))),fo=e=>ve(U_(e),()=>String(e.ast)),yN=e=>e.message??"is forbidden",_N=e=>e.message??"is unexpected",bN=e=>y0(e.ast).pipe(Ue(t=>{const n=t();return Be(n)?jt(n):n}),Rl(()=>jt(e.message??"is missing"))),Nc=(e,t)=>W1(Fl(e),{onFailure:t,onSuccess:n=>jt(De(n))}),Bn=e=>{switch(e._tag){case"Type":return ot(gN(e),De);case"Forbidden":return jt(De(fo(e),[De(yN(e))]));case"Unexpected":return jt(De(_N(e)));case"Missing":return ot(bN(e),De);case"Transformation":return Nc(e,()=>ot(Bn(e.issue),t=>De(fo(e),[De(fN(e.kind),[t])])));case"Refinement":return Nc(e,()=>ot(Bn(e.issue),t=>De(fo(e),[De(dN(e.kind),[t])])));case"Pointer":return ot(Bn(e.issue),t=>De(Mm(e.path),[t]));case"Composite":{const t=fo(e);return Nc(e,()=>Im(e.issues)?ot(Io(e.issues,Bn),n=>De(t,n)):ot(Bn(e.issues),n=>De(t,[n])))}}},SN=h(e=>en(e[0]),(e,...t)=>{const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}),wN=h(e=>en(e[0]),(e,...t)=>{const n={...e};for(const r of t)delete n[r];return n}),_r=Symbol.for("effect/Schema"),pe=e=>{var t,n,r;return n=_r,t=_r,r=class{constructor(){u(this,n,Ha)}static annotations(o){return pe(rn(this.ast,o))}static pipe(){return C(this,arguments)}static toString(){return String(e)}},u(r,"ast",e),u(r,"Type"),u(r,"Encoded"),u(r,"Context"),u(r,t,Ha),r},Ha={_A:e=>e,_I:e=>e,_R:e=>e},Pd={schemaId:i0,message:Rm,missingMessage:Iu,identifier:Mu,title:Kt,description:As,examples:c0,default:a0,documentation:h0,jsonSchema:u0,arbitrary:l0,pretty:f0,equivalence:d0,concurrency:Cm,batching:Pm,parseIssueTitle:Fm,parseOptions:jm,decodingFallback:Lm},Nr=e=>{if(!e)return{};const t={...e};for(const n in Pd)if(n in e){const r=Pd[n];t[r]=e[n],delete t[n]}return t},rn=(e,t)=>as(e,Nr(t)),vN=e=>pe(ia(e.ast)),Fd=e=>pe(ue(e.ast)),Qt=e=>j(e,_r)&&en(e[_r]),kN=e=>Cu(e)?Fe.make(B0(e,t=>new na(t))):new na(e[0]),q_=(e,t=kN(e))=>{var n;return n=class extends pe(t){static annotations(s){return q_(this.literals,rn(this.ast,s))}},u(n,"literals",[...e]),n};function Wa(...e){return oe(e)?q_(e):B_}const EN=(e,t,n)=>pe(new Mi(e.map(r=>r.ast),(...r)=>t.decode(...r.map(pe)),(...r)=>t.encode(...r.map(pe)),Nr(n))),ON=(e,t)=>{const n=()=>(s,o,i)=>e(s)?bs(s):N_(new it(i,s)),r=n;return pe(new Mi([],n,r,Nr(t)))},$N=function(){if(Array.isArray(arguments[0])){const n=arguments[0],r=arguments[1],s=arguments[2];return EN(n,r,s)}const e=arguments[0],t=arguments[1];return ON(e,t)};class TN extends pe(cs){}class B_ extends pe(Nu){}class xN extends pe(ra){}class IN extends pe(oa){}const MN=e=>Fe.make(e.map(t=>t.ast)),J_=(e,t=MN(e))=>{var n;return n=class extends pe(t){static annotations(s){return J_(this.members,rn(this.ast,s))}},u(n,"members",[...e]),n};function AN(...e){return Cu(e)?J_(e):oe(e)?e[0]:B_}const NN=e=>AN(e,TN),RN=(e,t)=>new Ai(e.map(n=>Qt(n)?new nn(n.ast,!1):n.ast),t.map(n=>Qt(n)?new Ns(n.ast):n.ast),!0),V_=(e,t,n=RN(e,t))=>{var r;return r=class extends pe(n){static annotations(o){return V_(this.elements,this.rest,rn(this.ast,o))}},u(r,"elements",[...e]),u(r,"rest",[...t]),r},H_=(e,t)=>{var n;return n=class extends V_([e],[e],t){static annotations(s){return H_(this.value,rn(this.ast,s))}},u(n,"value",e),n},ut=e=>H_(e),za=e=>e?'"?:"':'":"';class W_ extends nn{constructor(n,r,s,o,i){super(n,r,o);u(this,"isReadonly");u(this,"defaultValue");u(this,"_tag","PropertySignatureDeclaration");this.isReadonly=s,this.defaultValue=i}toString(){const n=za(this.isOptional),r=String(this.type);return`PropertySignature<${n}, ${r}, never, ${n}, ${r}>`}}class CN extends nn{constructor(n,r,s,o,i){super(n,r,o);u(this,"isReadonly");u(this,"fromKey");this.isReadonly=s,this.fromKey=i}}class PN extends nn{constructor(n,r,s,o,i){super(n,r,o);u(this,"isReadonly");u(this,"defaultValue");this.isReadonly=s,this.defaultValue=i}}const FN=e=>e===void 0?"never":Be(e)?JSON.stringify(e):String(e);class jN{constructor(t,n,r,s){u(this,"from");u(this,"to");u(this,"decode");u(this,"encode");u(this,"_tag","PropertySignatureTransformation");this.from=t,this.to=n,this.decode=r,this.encode=s}toString(){return`PropertySignature<${za(this.to.isOptional)}, ${this.to.type}, ${FN(this.from.fromKey)}, ${za(this.from.isOptional)}, ${this.from.type}>`}}const z_=(e,t)=>{switch(e._tag){case"PropertySignatureDeclaration":return new W_(e.type,e.isOptional,e.isReadonly,{...e.annotations,...t},e.defaultValue);case"PropertySignatureTransformation":return new jN(new CN(e.from.type,e.from.isOptional,e.from.isReadonly,e.from.annotations),new PN(e.to.type,e.to.isOptional,e.to.isReadonly,{...e.to.annotations,...t},e.to.defaultValue),e.decode,e.encode)}},G_=Symbol.for("effect/PropertySignature"),jl=e=>j(e,G_);var Fh,jh;jh=_r,Fh=G_;const Vl=class Vl{constructor(t){u(this,"ast");u(this,jh);u(this,Fh,null);u(this,"_TypeToken");u(this,"_Key");u(this,"_EncodedToken");u(this,"_HasDefault");this.ast=t}pipe(){return C(this,arguments)}annotations(t){return new Vl(z_(this.ast,Nr(t)))}toString(){return String(this.ast)}};let Ga=Vl;class Ll extends Ga{constructor(n,r){super(n);u(this,"from");this.from=r}annotations(n){return new Ll(z_(this.ast,Nr(n)),this.from)}}const kt=e=>{const t=e.ast===cs||e.ast===Nu?cs:NN(e).ast;return new Ll(new W_(t,!0,!0,{},void 0),e)},LN=Q0([Iu]),KN=(e,t)=>{const n=Nt(e),r=[];if(n.length>0){const o=[],i=[],c=[];for(let a=0;a{o.push(m),i.push(new Oe(m.name,ue(m.type),m.isOptional,m.isReadonly,m.annotations))}),d.forEach(m=>{a.push(m),l.push(new Rs(m.parameter,ue(m.type),m.isReadonly))})}return new Gn(new Rt(o,a,{[Hn]:"Struct (Encoded side)"}),new Rt(i,l,{[Hn]:"Struct (Type side)"}),new wo(c))}}const s=[];for(const o of t){const{indexSignatures:i,propertySignatures:c}=$f(o.key.ast,o.value.ast);c.forEach(a=>r.push(a)),i.forEach(a=>s.push(a))}return new Rt(r,s)},Y_=(e,t)=>{const n=Nt(e);for(const r of n){const s=e[r];if(t[r]===void 0&&jl(s)){const o=s.ast,i=o._tag==="PropertySignatureDeclaration"?o.defaultValue:o.to.defaultValue;i!==void 0&&(t[r]=i())}}return t},Z_=(e,t,n=KN(e,t))=>{var r;return r=class extends pe(n){static annotations(o){return Z_(this.fields,this.records,rn(this.ast,o))}static pick(...o){return gt(SN(e,...o))}static omit(...o){return gt(wN(e,...o))}},u(r,"fields",{...e}),u(r,"records",[...t]),u(r,"make",(o,i)=>{const c=Y_(e,{...o});return Dl(i)?c:Cl(r)(c)}),r};function gt(e,...t){return Z_(e,t)}const DN=e=>pe(Vr(e.ast)),on=(e,t,n)=>{if(Of(e)&&Of(t)){const r=[...e.propertySignatures];for(const s of t.propertySignatures){const o=s.name,i=r.findIndex(c=>c.name===o);if(i===-1)r.push(s);else{const{isOptional:c,type:a}=r[i];r[i]=new Oe(o,ss(a,s.type,n.concat(o)),c,!0)}}return new Rt(r,e.indexSignatures.concat(t.indexSignatures))}throw new Error(Am(e,t,n))},UN=X0([Mu]),qn=(e,t)=>t.map(n=>new Fu(n,e.filter,UN(e))),ss=(e,t,n)=>Fe.make(bt([e],[t],n)),Ut=e=>Pu(e)?e.types:[e],bt=(e,t,n)=>qo(e,r=>qo(t,s=>{switch(s._tag){case"Literal":{if(Be(s.literal)&&sa(r)||vt(s.literal)&&wf(r)||tr(s.literal)&&kf(r))return[s];break}case"StringKeyword":{if(s===ra){if(sa(r)||ts(r)&&Be(r.literal))return[r];if(zn(r))return qn(r,bt(Ut(r.from),[s],n))}else if(r===ra)return[s];break}case"NumberKeyword":{if(s===oa){if(wf(r)||ts(r)&&vt(r.literal))return[r];if(zn(r))return qn(r,bt(Ut(r.from),[s],n))}else if(r===oa)return[s];break}case"BooleanKeyword":{if(s===vf){if(kf(r)||ts(r)&&tr(r.literal))return[r];if(zn(r))return qn(r,bt(Ut(r.from),[s],n))}else if(r===vf)return[s];break}case"Union":return bt(Ut(r),s.types,n);case"Suspend":return[new Wn(()=>ss(r,s.f(),n))];case"Refinement":return qn(s,bt(Ut(r),Ut(s.from),n));case"TypeLiteral":{switch(r._tag){case"Union":return bt(r.types,[s],n);case"Suspend":return[new Wn(()=>ss(r.f(),s,n))];case"Refinement":return qn(r,bt(Ut(r.from),[s],n));case"TypeLiteral":return[on(r,s,n)];case"Transformation":{if(vo(r.transformation))return[new Gn(on(r.from,s,n),on(r.to,ue(s),n),new wo(r.transformation.propertySignatureTransformations))];break}}break}case"Transformation":{if(vo(s.transformation))switch(r._tag){case"Union":return bt(r.types,[s],n);case"Suspend":return[new Wn(()=>ss(r.f(),s,n))];case"Refinement":return qn(r,bt(Ut(r.from),[s],n));case"TypeLiteral":return[new Gn(on(r,s.from,n),on(ue(r),s.to,n),new wo(s.transformation.propertySignatureTransformations))];case"Transformation":if(vo(r.transformation))return[new Gn(on(r.from,s.from,n),on(r.to,s.to,n),new wo(s.transformation.propertySignatureTransformations.concat(r.transformation.propertySignatureTransformations)))];break}break}}throw new Error(Am(r,s,n))})),qN=h(2,(e,t)=>pe(ss(e.ast,t.ast,[]))),Q_=Symbol.for("effect/SchemaId/Refine"),X_=(e,t,n)=>{var r,s,o;return o=class extends(s=pe(n),r=Q_,s){static annotations(c){return X_(this.from,this.filter,rn(this.ast,c))}},u(o,r,e),u(o,"from",e),u(o,"filter",t),u(o,"make",(c,a)=>Dl(a)?c:Cl(o)(c)),o},jd=(e,t,n)=>{if(tr(e))return e?I():N(new it(t,n));if(Be(e))return N(new it(t,n,e));if(e!==void 0){if("_tag"in e)return N(e);const r=new it(t,n,e.message);return N(oe(e.path)?new xe(e.path,n,r):r)}return I()},BN=(e,t,n)=>{if(Qv(e))return jd(e,t,n);if(oe(e)){const r=Gv(e,s=>jd(s,t,n));if(oe(r))return N(r.length===1?r[0]:new ae(t,n,r))}return I()};function eb(e,t){return n=>{function r(o,i,c){return BN(e(o,i,c),c,o)}const s=new Fu(n.ast,r,Nr(t));return X_(n,r,s)}}const tb=(e,t,n)=>{var r;return r=class extends pe(n){static annotations(o){return tb(this.from,this.to,rn(this.ast,o))}},u(r,"from",e),u(r,"to",t),r},Ya=h(e=>Qt(e[0])&&Qt(e[1]),(e,t,n)=>tb(e,t,new Gn(e.ast,t.ast,new J0(n.decode,n.encode)))),JN=h(e=>Qt(e[0])&&Qt(e[1]),(e,t,n)=>Ya(e,t,{strict:!0,decode:(r,s,o,i)=>bs(n.decode(r,i)),encode:(r,s,o,i)=>bs(n.encode(r,i))})),VN=s0,HN=(e,t)=>n=>n.pipe(eb(r=>r.length>=e,{schemaId:VN,title:`minLength(${e})`,description:`a string at least ${e} character(s) long`,jsonSchema:{minLength:e},...t})),Ld=Symbol.for("effect/SchemaId/Pattern"),nb=(e,t)=>n=>{const r=e.source;return n.pipe(eb(s=>(e.lastIndex=0,e.test(s)),{schemaId:Ld,[Ld]:{regex:e},description:`a string matching the pattern ${r}`,jsonSchema:{pattern:r},...t}))},WN=e=>HN(1,{title:"nonEmptyString",description:"a non empty string",...e});class H extends xN.pipe(WN({identifier:"NonEmptyString"})){}const zN=e=>Qt(e)||jl(e),rb=e=>Nt(e).every(t=>zN(e[t])),Kl=e=>"fields"in e?e.fields:Kl(e[Q_]),sb=e=>rb(e)?gt(e):Qt(e)?e:gt(Kl(e)),ob=e=>rb(e)?e:Kl(e),Ys=e=>(t,n)=>Ao({kind:"Class",identifier:e,schema:sb(t),fields:ob(t),Base:_1,annotations:n}),Rc=(e,t)=>{const n={...e};for(const r of Nt(t)){if(r in e)throw new Error(Nm(r));n[r]=t[r]}return n},Dl=e=>tr(e)?e:(e==null?void 0:e.disableValidation)??!1,Kd=J("effect/Schema/astCache",()=>new WeakMap),GN=e=>e===void 0?[]:Array.isArray(e)?e:[e],Ao=({Base:e,annotations:t,disableToString:n,fields:r,identifier:s,kind:o,schema:i})=>{var w,T;const c=Symbol.for(`effect/Schema/${o}/${s}`),[a,l,f]=GN(t),d=Fd(i),p=d.annotations({identifier:s,...a}),m=d.annotations({[Hn]:`${s} (Type side)`,...a}),y=i.annotations({[Hn]:`${s} (Constructor)`,...a}),k=i.annotations({[Hn]:`${s} (Encoded side)`,...f}),g=i.annotations({[Au]:s,...f,...a,...l}),b=v=>j(v,c)&&rN(m)(v),S=(T=class extends e{constructor(v={},O=!1){v={...v},o!=="Class"&&delete v._tag,v=Y_(r,v),Dl(O)||(v=Cl(y)(v)),super(v,!0)}static get ast(){let v=Kd.get(this);if(v)return v;const O=$N([m],{decode:()=>(E,x,A)=>E instanceof this||b(E)?bs(E):N_(new it(A,E)),encode:()=>(E,x)=>E instanceof this?bs(E):R_(tN(m)(E,x),A=>new this(A,!0))},{identifier:s,pretty:E=>x=>`${s}(${E(x)})`,arbitrary:E=>x=>E(x).map(A=>new this(A)),equivalence:ne,[Jo]:p.ast,...a});return v=JN(k,O,{strict:!0,decode:E=>new this(E,!0),encode:ne}).annotations({[Jo]:g.ast,...l}).ast,Kd.set(this,v),v}static pipe(){return C(this,arguments)}static annotations(v){return pe(this.ast).annotations(v)}static toString(){return`(${String(k)} <-> ${s})`}static make(...v){return new this(...v)}static extend(v){return(O,E)=>{const x=ob(O),A=sb(O),q=Rc(r,x);return Ao({kind:o,identifier:v,schema:qN(i,A),fields:q,Base:this,annotations:E})}}static transformOrFail(v){return(O,E,x)=>{const A=Rc(r,O);return Ao({kind:o,identifier:v,schema:Ya(i,Fd(gt(A)),E),fields:A,Base:this,annotations:x})}}static transformOrFailFrom(v){return(O,E,x)=>{const A=Rc(r,O);return Ao({kind:o,identifier:v,schema:Ya(vN(i),gt(A),E),fields:A,Base:this,annotations:x})}}get[(w=_r,c)](){return c}},u(T,w,Ha),u(T,"fields",{...r}),u(T,"identifier",s),T);return n!==!0&&Object.defineProperty(S.prototype,"toString",{value(){return`${s}({ ${Nt(r).map(v=>`${xm(v)}: ${Et(this[v])}`).join(", ")} })`},configurable:!0}),S};var ib,$e,cb,YN=[];function ZN(e,t,n){var r,s,o,i={};for(o in t)o=="key"?r=t[o]:o=="ref"?s=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?ib.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)i[o]===void 0&&(i[o]=e.defaultProps[o]);return QN(e,i,r,s,null)}function QN(e,t,n,r,s){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:s??++cb,__i:-1,__u:0};return s==null&&$e.vnode!=null&&$e.vnode(o),o}function zr(e){return e.children}ib=YN.slice,$e={__e:function(e,t,n,r){for(var s,o,i;t=t.__;)if((s=t.__c)&&!s.__)try{if((o=s.constructor)&&o.getDerivedStateFromError!=null&&(s.setState(o.getDerivedStateFromError(e)),i=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(e,r||{}),i=s.__d),i)return s.__E=s}catch(c){e=c}throw e}},cb=0,typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());var Dd=/[\s\n\\/='"\0<>]/,Ud=/^(xlink|xmlns|xml)([A-Z])/,XN=/^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/,eR=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,tR=new Set(["draggable","spellcheck"]),nR=/["&<]/;function ho(e){if(e.length===0||nR.test(e)===!1)return e;for(var t=0,n=0,r="",s="";n";S=g.children}else{if((b=k.contextType)!=null){var x=t[b.__c];T=x?x.props.value:b.__}var A=k.prototype&&typeof k.prototype.render=="function";if(A)S=Vd(e,T),w=e.__c;else{e.__c=w=iR(e,T);for(var q=0;w.__d&&q++<25;)w.__d=!1,Ss&&Ss(e),S=k.call(w,g,T);w.__d=!0}if(w.getChildContext!=null&&(t=Qa({},t,w.getChildContext())),A&&$e.errorBoundaries&&(k.getDerivedStateFromError||w.componentDidCatch)){S=S!=null&&S.type===zr&&S.key==null&&S.props.tpl==null?S.props.children:S;try{return qt(S,t,n,r,e,o,i)}catch(jn){return k.getDerivedStateFromError&&(w.__s=k.getDerivedStateFromError(jn)),w.componentDidCatch&&w.componentDidCatch(jn,Ul),w.__d?(S=Vd(e,t),(w=e.__c).getChildContext!=null&&(t=Qa({},t,w.getChildContext())),qt(S=S!=null&&S.type===zr&&S.key==null&&S.props.tpl==null?S.props.children:S,t,n,r,e,o,i)):Ae}finally{ln&&ln(e),Gr&&Gr(e)}}}S=S!=null&&S.type===zr&&S.key==null&&S.props.tpl==null?S.props.children:S;try{var U=qt(S,t,n,r,e,o,i);return ln&&ln(e),$e.unmount&&$e.unmount(e),U}catch(jn){if(i&&i.onError){var G=i.onError(jn,e,function(pb,mb){return qt(pb,t,n,r,mb,o,i)});if(G!==void 0)return G;var ce=$e.__e;return ce&&ce(jn,e),Ae}throw jn}}var ee,ge="<"+k,Z=Ae;for(var R in g){var W=g[R];if(typeof W!="function"||R==="class"||R==="className"){switch(R){case"children":ee=W;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in g)continue;R="for";break;case"className":if("class"in g)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",k){case"textarea":ee=W;continue;case"select":r=W;continue;case"option":r!=W||"selected"in g||(ge+=" selected")}break;case"dangerouslySetInnerHTML":Z=W&&W.__html;continue;case"style":typeof W=="object"&&(W=oR(W));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(Ud.test(R))R=R.replace(Ud,"$1:$2").toLowerCase();else{if(Dd.test(R))continue;R[4]!=="-"&&!tR.has(R)||W==null?n?eR.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):XN.test(R)&&(R=R.toLowerCase()):W+=Ae}}W!=null&&W!==!1&&(ge=W===!0||W===Ae?ge+" "+R:ge+" "+R+'="'+(typeof W=="string"?ho(W):W+Ae)+'"')}}if(Dd.test(k))throw new Error(k+" is not a valid HTML tag name in "+ge+">");if(Z||(typeof ee=="string"?Z=ho(ee):ee!=null&&ee!==!1&&ee!==!0&&(Z=qt(ee,t,k==="svg"||k!=="foreignObject"&&n,r,e,o,i))),ln&&ln(e),Gr&&Gr(e),!Z&&aR.has(k))return ge+"/>";var nt="",We=ge+">";return Yr(Z)?[We].concat(Z,[nt]):typeof Z!="string"?[We,Z,nt]:We+Z+nt}var aR=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),uR=cR;const ab=/https:\/\//,ub=["programming language","cloud computing","testing","framework","frontend","database","devops tool","collaboration tool","other"];class lR extends Ys("ProjectTechnology")({id:H,name:H,category:Wa(...ub),display:Wa("force","hide").pipe(kt),version:H.pipe(kt),url:H.pipe(kt)}){}class fR extends Ys("ProjectDetails")({order:IN,client:gt({name:H,description:H}).pipe(kt),title:H,stack:H.pipe(ut),tools:H.pipe(ut),roles:H.pipe(ut),achivements:gt({technical:H,human:H.pipe(kt)}).pipe(ut)}){}class dR extends Ys("EmploymentRecord")({position:H,workType:Wa("hybrid","on-site","remote"),companyName:H,companyDescription:H,website:H.pipe(nb(ab)),start:H,end:H.pipe(kt),location:gt({city:H,country:H,timezone:H}).pipe(DN),projects:fR.pipe(ut)}){get sortedProjects(){return[...this.projects].sort((t,n)=>n.order-t.order)}isMonthPast(t){const n=us(A_().epochMillis),r=us(Va(this.start).epochMillis);return qk(r)(n).pipe(Lk)>t*30}}class hR extends Ys("Me")({name:H,coverLetter:gt({position:H,content:H.pipe(ut)}).pipe(kt),expertise:H.pipe(ut),location:H.pipe(kt),phone:H.pipe(kt),email:H,profiles:gt({url:H.pipe(nb(ab)),icon:H}).pipe(ut),expertSummary:H.pipe(ut)}){}class lb extends Ys("ResumeObject")({$schema:H.pipe(kt),me:hR,technologies:lR.pipe(ut),employmentHistory:dR.pipe(ut)}){}var pR=0;function $(e,t,n,r,s,o){t||(t={});var i,c,a=t;if("ref"in a)for(c in a={},t)c=="ref"?i=t[c]:a[c]=t[c];var l={type:e,props:a,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--pR,__i:-1,__u:0,__source:s,__self:o};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)a[c]===void 0&&(a[c]=i[c]);return $e.vnode&&$e.vnode(l),l}function mR(e){const t=e.me.coverLetter;return $("div",{children:[SR(e),t?$("div",{children:[$("div",{className:"section-header",children:$("span",{id:"label",children:[`Why I'm the Right Choice for "`,t.position,'"']})}),$("div",{className:"p-2 bg-so",children:t.content.map(n=>$("p",{dangerouslySetInnerHTML:{__html:n}}))})]}):null,$("div",{className:"section-header",children:$("span",{id:"label",children:"Summary"})}),$("div",{className:"bg-so p-2",children:e.me.expertSummary.map(n=>$("p",{dangerouslySetInnerHTML:{__html:n}}))}),$("div",{className:"section-header",children:$("span",{id:"label",children:"Skills"})}),$("div",{className:"flex flex-wrap gap-1",children:ER(e).map(([n,r])=>$("div",{className:"flex items-center gap-1",children:[$("span",{className:"uppercase font-medium",children:[n,":"]}),r.map((s,o)=>$("span",{className:"bg-so p-1 text-xs",children:s.technology.name},o))]},n))}),$("div",{className:"section-header pt-1",children:$("span",{id:"label",children:"Employment history"})}),$("div",{id:"employment",children:vR(e)})]})}function gR(e){var t;return $("div",{className:"flex gap-2 items-baseline",children:[$("span",{className:"text-2xl font-thin",children:"Software Engineer"}),$("span",{className:"text-base",children:["Expertise: ",(t=e.me)==null?void 0:t.expertise.join("/")]})]})}function yR(e){return $("div",{className:"flex text-sm",children:[$("span",{children:e.position}),$("span",{className:"font-extralight",children:["· ",e.location.city,", ",e.location.country," · ",e.workType]})]})}function _R(e){return $("span",{children:[$("a",{target:"_blank",className:"text-sky-600 font-medium",href:e.website,children:e.companyName})," · ",e.companyDescription]})}function bR(e){return $("span",{children:e.stack.map(t=>$("span",{className:"bg-so py-1 px-1 mr-1 text-sm",children:t}))})}function SR(e){return $("div",{id:"head",className:"pb-4",children:[$("div",{className:"text-4xl font-thin",children:e.me.name}),$("div",{className:"text-lg font-light",children:gR(e)}),$("div",{className:"flex gap-1.5 text-sm font-extralight",children:[$("span",{children:e.me.location}),$("div",{children:[$("span",{className:"fa-regular fa-envelope"}),$("a",{href:`mailto:${e.me.email}`,children:[" ",e.me.email]})]}),$("div",{children:[$("span",{className:"fa-solid fa-mobile-screen-button"}),$("a",{href:`tel:${e.me.phone}`,children:[" ",e.me.phone]})]})]}),$("div",{className:"pt-1",children:e.me.profiles.map(t=>{const n=`fa-${t.icon.split(" ").at(0)}`;return $("a",{class:"inline-block py-2 px-1",href:t.url,target:"_blank",rel:"noopener noreferrer",children:$("span",{className:`fa-brands fa-lg ${n}`,style:{color:t.icon.split(" ").at(1)}})})})})]})}function wR(e,t){let n="project no-break pb-3";return t||(n+=" border-b-1 border-gray-300 border-dashed mb-2"),$("div",{className:n,children:[$("div",{className:"flex",children:[$("div",{className:"mb-0.5",children:[$("span",{className:"font-medium",children:"Project: "}),$("span",{children:e.title})]}),$("div",{className:"ml-auto",children:[$("span",{className:"font-medium",children:"Roles: "}),$("span",{children:e.roles.join("/")})]})]}),$("span",{className:"font-medium",children:"Stack:"}),$("span",{children:bR(e)}),$("ul",{className:"list-disc pt-2 pl-10 text-sm",children:e.achivements.map(r=>$("li",{children:r.human??r.technical}))})]})}function vR(e){return $("div",{id:"employment",children:e.employmentHistory.map(t=>{const n=t.isMonthPast(60);let r="border-b-1 border-gray-300 mb-2 p-2";n&&(r+=" bg-neutral-100");const s=xi(t.projects.flatMap(o=>o.roles),(o,i)=>o.toLowerCase()==i.toLocaleLowerCase()).join("/");return $("div",{className:r,children:[$("div",{className:"flex",children:[$("span",{className:"font-extralight text-sm",children:_R(t)}),$("span",{className:"ml-auto",children:kR(t)})]}),$("span",{className:"block",children:yR(t)}),n?$("div",{children:[$("span",{className:"font-medium",children:"Roles: "}),$("span",{children:s})]}):$("div",{className:"flex flex-col",children:t.sortedProjects.map((o,i)=>wR(o,i==t.projects.length-1))})]})})})}function kR(e){const t=Va(e.start),n=e.end?Va(e.end):A_(),r=G1(t,n),s=365.25*24*60*60*1e3,o=s/12;let i=Math.floor(r/s),c=Math.ceil(r%s/o);c===12&&(i=i+1,c=0);const a=Md(t,{month:"short",year:"numeric"}),l=Md(n,{month:"short",year:"numeric"});let f=`${c} mos`;i&&(f=`${i} yr ${f}`);const d=e.end?$("span",{children:[l," · ",f]}):$("span",{className:"font-medium",children:"now"});return $("span",{className:"font-light text-sm",children:[a," - ",d]})}function ER(e){var r;const t=(r=e.employmentHistory)==null?void 0:r.flatMap(s=>s.projects.flatMap(o=>[...o.stack,...o.tools].flatMap(i=>{var a;const c=(a=e.technologies)==null?void 0:a.find(l=>l.id==i);return!c||c.display=="hide"?[]:[{code:i,category:c.category,technology:c}]})));return t?_([...t,...e.technologies.filter(s=>s.display==="force").map(s=>({code:s.id,category:s.category,technology:s}))],xi((s,o)=>s.code==o.code),Hv(s=>s.technology.category),s=>Object.entries(s),Uv(s=>ub.findIndex(o=>o==s[0]),ym)):(console.warn("Skill categories not found"),[])}const Xa=e=>{try{return uR(mR(nN(lb)(e)))}catch(t){return console.log("render error",t),""}},OR=async()=>{const e=await fetch("./john-doe.jsonc").then(n=>n.text()).then(n=>ql(n,!0));return delete e.$schema,F_(lb)(e)},ql=(e,t=!1)=>{if(e)try{return JSON.parse(t?NR(MR(e)):e)}catch{}};function $R(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function TR(e){return new URLSearchParams(location.search).get(e)}function xR(e,t){const n=new URL(location.href);n.searchParams.set(e,t),window.history.replaceState(null,"",n)}const IR=/("(?:\\.|[^"\\])*")|(?:\/\*(?:[\s\S]*?)\*\/)|(\/\/.*)/g;function MR(e){return e.replace(IR,(t,n)=>n!==void 0?n:"")}const AR=/,\s*([\]}])/g;function NR(e){return e.replace(AR,"$1")}const RR=()=>{if(!("monaco_loader"in window)||typeof window.monaco_loader!="object"||window.monaco_loader==null){console.warn("monaco loader is not available");return}return window.monaco_loader},CR=()=>{const e=RR();if(e)return e.config({paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@latest/min/vs"}}),e.init()},PR=async(e,t)=>{const n=document.getElementById("code-editor");if(!n){console.warn("code-editor node not found");return}return e.editor.create(n,{model:t,contextmenu:!1,minimap:{enabled:!1}})},FR=async e=>({model:e.editor.createModel("","json")}),jR=(e,t,n)=>{const s=e.editor.getModelMarkers({resource:t.uri}).find(o=>n.has(o.severity.valueOf()));return s?(console.log("editor code error",s),!0):!1},LR=async()=>{const e=await CR();if(!e)return;const t=await FR(e),n=await PR(e,t.model);if(n)return{editor:n,monaco:e,textModel:t}},fb="http://json-schema.org/draft-07/schema#",db={ResumeObject:{type:"object",required:["me","technologies","employmentHistory"],properties:{$schema:{$ref:"#/$defs/NonEmptyString"},me:{$ref:"#/$defs/Me"},technologies:{type:"array",minItems:1,items:{$ref:"#/$defs/ProjectTechnology"}},employmentHistory:{type:"array",minItems:1,items:{$ref:"#/$defs/EmploymentRecord"}}},additionalProperties:!1},NonEmptyString:{type:"string",description:"a non empty string",title:"nonEmptyString",minLength:1},Me:{type:"object",required:["name","expertise","email","profiles","expertSummary"],properties:{name:{$ref:"#/$defs/NonEmptyString"},coverLetter:{type:"object",required:["position","content"],properties:{position:{$ref:"#/$defs/NonEmptyString"},content:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}}},additionalProperties:!1},expertise:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},location:{$ref:"#/$defs/NonEmptyString"},phone:{$ref:"#/$defs/NonEmptyString"},email:{$ref:"#/$defs/NonEmptyString"},profiles:{type:"array",minItems:1,items:{type:"object",required:["url","icon"],properties:{url:{$ref:"#/$defs/NonEmptyString",description:"a string matching the pattern https:\\/\\/",pattern:"https:\\/\\/"},icon:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1}},expertSummary:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}}},additionalProperties:!1},ProjectTechnology:{type:"object",required:["id","name","category"],properties:{id:{$ref:"#/$defs/NonEmptyString"},name:{$ref:"#/$defs/NonEmptyString"},category:{type:"string",enum:["programming language","framework","cloud computing","database","devops tool","testing","collaboration tool","frontend","other"]},display:{type:"string",enum:["force","hide"]},version:{$ref:"#/$defs/NonEmptyString"},url:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1},EmploymentRecord:{type:"object",required:["position","workType","companyName","companyDescription","website","start","location","projects"],properties:{position:{$ref:"#/$defs/NonEmptyString"},workType:{type:"string",enum:["hybrid","on-site","remote"]},companyName:{$ref:"#/$defs/NonEmptyString"},companyDescription:{$ref:"#/$defs/NonEmptyString"},website:{$ref:"#/$defs/NonEmptyString",description:"a string matching the pattern https:\\/\\/",pattern:"https:\\/\\/"},start:{$ref:"#/$defs/NonEmptyString"},end:{$ref:"#/$defs/NonEmptyString"},location:{type:"object",required:[],properties:{city:{$ref:"#/$defs/NonEmptyString"},country:{$ref:"#/$defs/NonEmptyString"},timezone:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1},projects:{type:"array",minItems:1,items:{$ref:"#/$defs/ProjectDetails"}}},additionalProperties:!1},ProjectDetails:{type:"object",required:["order","title","stack","tools","roles","achivements"],properties:{order:{type:"number"},client:{type:"object",required:["name","description"],properties:{name:{$ref:"#/$defs/NonEmptyString"},description:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1},title:{$ref:"#/$defs/NonEmptyString"},stack:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},tools:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},roles:{type:"array",minItems:1,items:{$ref:"#/$defs/NonEmptyString"}},achivements:{type:"array",minItems:1,items:{type:"object",required:["technical"],properties:{technical:{$ref:"#/$defs/NonEmptyString"},human:{$ref:"#/$defs/NonEmptyString"}},additionalProperties:!1}}},additionalProperties:!1}},hb="#/$defs/ResumeObject",KR={$schema:fb,$defs:db,$ref:hb},DR=Object.freeze(Object.defineProperty({__proto__:null,$defs:db,$ref:hb,$schema:fb,default:KR},Symbol.toStringTag,{value:"Module"}));window.Alpine=Cn;UR();Cn.store("modes",()=>[{id:"editor",label:"Editor"},{id:"view",label:"View"}]);Cn.store("sections",()=>[{id:"all",label:"All together"},{id:"me",label:"Me"},{id:"employmentHistory",label:"My Employment"},{id:"technologies",label:"Tecnologies"}]);const z=Cn.reactive({resumeObject:{},resumeHtml:"

My Resume

",editorSection:"me",mode:"view",editorHasError:!1,availableResumes:[],currentResume:TR("resume")??"example"});Cn.data("state",()=>z);Cn.start();async function Hd(){if(z.availableResumes=[],Object.keys(localStorage).length==0){const e=await OR();localStorage.setItem("example",JSON.stringify(e,void 0,2))}for(const e of Object.keys(localStorage))localStorage.getItem(e)&&z.availableResumes.push({id:e,name:e})}function po(){const e=localStorage.getItem(z.currentResume);if(!e){console.warn("No resume to load");return}const t=ql(e,!0);if(!t){console.warn("Invalid json of resume");return}z.resumeObject=t,z.resumeHtml=Xa(t),xR("resume",z.currentResume)}async function UR(){const e=await LR();if(await Hd(),!e){console.warn("can not load editor");return}po();const t=s=>e.monaco.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,allowComments:!0,trailingCommas:"ignore",schemas:[{uri:"resume.json",fileMatch:["*"],schema:{...DR,$ref:s}}]}),n=()=>{if(z.editorSection=="all")delete z.resumeObject.$schema,e.textModel.model.setValue(JSON.stringify(z.resumeObject,void 0,2)),t("#/$defs/ResumeObject");else{const s=z.resumeObject[z.editorSection]??{};e.textModel.model.setValue(JSON.stringify(s,void 0,2)),t(`#/$defs/ResumeObject/properties/${z.editorSection}`)}},r=()=>{const s=ql(e.textModel.model.getValue(),!0);if(!s){console.log("invalid json");return}z.editorSection=="all"?z.resumeObject=s:z.resumeObject[z.editorSection]=s,localStorage.setItem(z.currentResume,JSON.stringify(z.resumeObject)),z.resumeHtml=Xa(z.resumeObject)};e.textModel.model.onDidChangeContent($R(r,300)),document.addEventListener("section-changed",()=>{n(),e.editor.setScrollTop(0),e.editor.setScrollLeft(0),z.editorSection=="all"?e.editor.updateOptions({minimap:{enabled:!0}}):e.editor.updateOptions({minimap:{enabled:!1}})}),window.addEventListener("init-resume",()=>{po(),n()}),window.addEventListener("save",()=>{const s=window.prompt("Enter name of your resume","simple");s&&(localStorage.setItem(s,JSON.stringify(z.resumeObject)),z.availableResumes.push({id:s,name:s}),z.currentResume=s,po(),n())}),window.addEventListener("delete",()=>{localStorage.removeItem(z.currentResume),Hd();const s=z.availableResumes.at(-1);s&&(z.currentResume=s.id),po()}),window.addEventListener("resize",()=>{e.editor.layout()}),document.addEventListener("mode-was-changed",()=>{Cn.nextTick(()=>{e.editor.layout()})}),e.monaco.editor.onDidChangeMarkers(()=>{const s=jR(e.monaco,e.textModel.model,new Set([4,8]));console.log("markers changed",{hasErrors:s}),z.editorHasError=s,s||(z.resumeHtml=Xa(z.resumeObject))}),n()} diff --git a/docs/cv-maker/assets/index-Tb8VLyuC.css b/docs/cv-maker/assets/index-g3TKzvp8.css similarity index 66% rename from docs/cv-maker/assets/index-Tb8VLyuC.css rename to docs/cv-maker/assets/index-g3TKzvp8.css index abfebc3..4b6a1de 100644 --- a/docs/cv-maker/assets/index-Tb8VLyuC.css +++ b/docs/cv-maker/assets/index-g3TKzvp8.css @@ -1 +1 @@ -/*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--inset-shadow-2xs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings);--color-so:#f1f8ff}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.top-8{top:calc(var(--spacing)*8)}.right-20{right:calc(var(--spacing)*20)}.\!container{width:100%!important}@media (width>=40rem){.\!container{max-width:40rem!important}}@media (width>=48rem){.\!container{max-width:48rem!important}}@media (width>=64rem){.\!container{max-width:64rem!important}}@media (width>=80rem){.\!container{max-width:80rem!important}}@media (width>=96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mt-20{margin-top:calc(var(--spacing)*20)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.h-screen{height:100vh}.w-full{width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-gray-300{border-color:var(--color-gray-300)}.bg-\[\#DC382D\]{background-color:#dc382d}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-so{background-color:var(--color-so)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-16{padding:calc(var(--spacing)*16)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-8{padding-top:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.text-blue-500{color:var(--color-blue-500)}.text-gray-700{color:var(--color-gray-700)}.text-orange-400{color:var(--color-orange-400)}.text-sky-600{color:var(--color-sky-600)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-\[\#B93224\]:hover{background-color:#b93224}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-sky-700:hover{background-color:var(--color-sky-700)}.hover\:text-orange-300:hover{color:var(--color-orange-300)}}@media (width>=40rem){.sm\:w-3\/4{width:75%}}@media (width>=48rem){.md\:w-3\/4{width:75%}}}.select{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-300);background-color:var(--color-white);padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1);border-radius:.25rem}.select:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style:none;outline-style:none}.btn{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-white);border-radius:.25rem}@media (hover:hover){.btn:hover{cursor:pointer}}.btn-orange{background-color:var(--color-amber-600)}@media (hover:hover){.btn-orange:hover{background-color:var(--color-amber-900)}}@media print{html body{margin:0;padding:0}.no-print{display:none}.no-break{page-break-inside:avoid}}separator-dot{text-align:center;color:#ccc;margin:20px 0;font-size:24px}div#profiles{gap:5px;padding-top:10px;padding-bottom:5px;text-decoration:none;display:flex}div#profiles a{color:inherit;text-decoration:none}div#summary{overflow-wrap:break-word;white-space:normal;background:#f1f8ff;margin-bottom:15px;padding:1em}.section-header{align-items:center;display:flex}.section-header:after{content:"";background-color:#ccc;flex:1;height:1px;margin-left:10px}.section-header #label{color:#ff6d1f;text-transform:uppercase;font-size:smaller;font-weight:600}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false} +/*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--inset-shadow-2xs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings);--color-so:#f1f8ff}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:color-mix(in oklab,currentColor 50%,transparent)}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.top-8{top:calc(var(--spacing)*8)}.right-20{right:calc(var(--spacing)*20)}.\!container{width:100%!important}@media (width>=40rem){.\!container{max-width:40rem!important}}@media (width>=48rem){.\!container{max-width:48rem!important}}@media (width>=64rem){.\!container{max-width:64rem!important}}@media (width>=80rem){.\!container{max-width:80rem!important}}@media (width>=96rem){.\!container{max-width:96rem!important}}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mt-20{margin-top:calc(var(--spacing)*20)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-screen{height:100vh}.w-full{width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-gray-300{border-color:var(--color-gray-300)}.bg-\[\#DC382D\]{background-color:#dc382d}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-so{background-color:var(--color-so)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-16{padding:calc(var(--spacing)*16)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-8{padding-top:calc(var(--spacing)*8)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-extralight{--tw-font-weight:var(--font-weight-extralight);font-weight:var(--font-weight-extralight)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.text-blue-500{color:var(--color-blue-500)}.text-gray-700{color:var(--color-gray-700)}.text-orange-400{color:var(--color-orange-400)}.text-sky-600{color:var(--color-sky-600)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-\[\#B93224\]:hover{background-color:#b93224}.hover\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\:bg-sky-700:hover{background-color:var(--color-sky-700)}.hover\:text-orange-300:hover{color:var(--color-orange-300)}}@media (width>=40rem){.sm\:w-3\/4{width:75%}}@media (width>=48rem){.md\:w-3\/4{width:75%}}}.select{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-300);background-color:var(--color-white);padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1);border-radius:.25rem}.select:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style:none;outline-style:none}.btn{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-white);border-radius:.25rem}@media (hover:hover){.btn:hover{cursor:pointer}}.btn-orange{background-color:var(--color-amber-600)}@media (hover:hover){.btn-orange:hover{background-color:var(--color-amber-900)}}@media print{html body{margin:0;padding:0}.no-print{display:none}.no-break{page-break-inside:avoid}}separator-dot{text-align:center;color:#ccc;margin:20px 0;font-size:24px}div#profiles{gap:5px;padding-top:10px;padding-bottom:5px;text-decoration:none;display:flex}div#profiles a{color:inherit;text-decoration:none}div#summary{overflow-wrap:break-word;white-space:normal;background:#f1f8ff;margin-bottom:15px;padding:1em}.section-header{align-items:center;display:flex}.section-header:after{content:"";background-color:#ccc;flex:1;height:1px;margin-left:10px}.section-header #label{color:#ff6d1f;text-transform:uppercase;font-size:smaller;font-weight:600}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false} diff --git a/docs/cv-maker/index.html b/docs/cv-maker/index.html index 4823625..d6e6230 100644 --- a/docs/cv-maker/index.html +++ b/docs/cv-maker/index.html @@ -19,8 +19,8 @@ gtag('config', 'G-FKWW5S34LH'); - - + +