@intent-hq/web 2.341.2 → 2.341.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{DAvxjdg4.js → 2T1-hN6X.js} +1 -1
- package/web/app/immutable/chunks/{DP2mFyqQ.js → 54JK2dhu.js} +1 -1
- package/web/app/immutable/chunks/{B8mTuhzO.js → 76adCxuK.js} +1 -1
- package/web/app/immutable/chunks/{0wIIYnxr.js → B-hHJECm.js} +1 -1
- package/web/app/immutable/chunks/{CriDtN0a.js → B-tsz9_7.js} +1 -1
- package/web/app/immutable/chunks/{D9XMFsak.js → B25ZGiq_.js} +1 -1
- package/web/app/immutable/chunks/{DRK9fuuL.js → B2xn6k89.js} +1 -1
- package/web/app/immutable/chunks/{D70Wuc8a.js → B47VX2Iz.js} +1 -1
- package/web/app/immutable/chunks/{BvZxg4g7.js → B9iMH0o9.js} +1 -1
- package/web/app/immutable/chunks/{CdEZnV89.js → BBY8ZkRW.js} +1 -1
- package/web/app/immutable/chunks/{BkZ_IlDM.js → BCcHqi29.js} +3 -3
- package/web/app/immutable/chunks/{BVo9Fayv.js → BCjE6qea.js} +1 -1
- package/web/app/immutable/chunks/{Cr9jYHoz.js → BCrxos2w.js} +1 -1
- package/web/app/immutable/chunks/{BrtFGrrQ.js → BHBZ-FuT.js} +1 -1
- package/web/app/immutable/chunks/{C6CAte5a.js → BMlXfa1V.js} +1 -1
- package/web/app/immutable/chunks/{B2Km94Qz.js → BQxXUVuI.js} +1 -1
- package/web/app/immutable/chunks/{qReongxq.js → BRxxsIiu.js} +1 -1
- package/web/app/immutable/chunks/{BRlTfYVq.js → BSkLIrxe.js} +1 -1
- package/web/app/immutable/chunks/{fqryZMo8.js → BXYZt_z7.js} +1 -1
- package/web/app/immutable/chunks/{Dw2h3dcZ.js → B_l8hqmB.js} +1 -1
- package/web/app/immutable/chunks/{B03kA1R2.js → B_qM2KXq.js} +1 -1
- package/web/app/immutable/chunks/{D-wkRpKs.js → Ba30yw2z.js} +1 -1
- package/web/app/immutable/chunks/{DrpsA4Ly.js → BbjrS_gZ.js} +2 -2
- package/web/app/immutable/chunks/{FODk8jOy.js → BcFi6_4b.js} +1 -1
- package/web/app/immutable/chunks/{A8KQJd5d.js → Be14EhuN.js} +2 -2
- package/web/app/immutable/chunks/{DLItSYgF.js → BeGaLSif.js} +1 -1
- package/web/app/immutable/chunks/{Bn7L4PAr.js → Bm8ue3vD.js} +1 -1
- package/web/app/immutable/chunks/{C96eSOju.js → BmrtciWO.js} +4 -4
- package/web/app/immutable/chunks/{0WuPrU1r.js → BnMslkdQ.js} +1 -1
- package/web/app/immutable/chunks/{BgrWRL30.js → BsKnk4mK.js} +1 -1
- package/web/app/immutable/chunks/{C2qzWhM3.js → BurWh7sU.js} +1 -1
- package/web/app/immutable/chunks/{urUnkHMR.js → BwH7MvyM.js} +1 -1
- package/web/app/immutable/chunks/{Cln842Nh.js → Byu0LAJ9.js} +1 -1
- package/web/app/immutable/chunks/{BWkUdpvz.js → C0RyaDkI.js} +4 -4
- package/web/app/immutable/chunks/{8FNKiReg.js → C2g2bI5I.js} +1 -1
- package/web/app/immutable/chunks/{B_wqGXO8.js → C4b5bStH.js} +1 -1
- package/web/app/immutable/chunks/{DWYjcnCC.js → C51fkH3h.js} +1 -1
- package/web/app/immutable/chunks/{C9kFd-ow.js → C5Adi8IR.js} +2 -2
- package/web/app/immutable/chunks/{DMfRTAkK.js → CAz7XTKT.js} +1 -1
- package/web/app/immutable/chunks/{D34VXx0H.js → CCaL_IJk.js} +1 -1
- package/web/app/immutable/chunks/{DGm9BQVB.js → CDiEfEmo.js} +4 -4
- package/web/app/immutable/chunks/{CaEO1WOw.js → CEHZunWB.js} +1 -1
- package/web/app/immutable/chunks/{BWqChnH3.js → CFWmH1IG.js} +2 -2
- package/web/app/immutable/chunks/{C4igGWED.js → CFbBmrwX.js} +1 -1
- package/web/app/immutable/chunks/{Iv7jZvFC.js → CFxIvfBO.js} +1 -1
- package/web/app/immutable/chunks/{DLAO6H8J.js → CIMn79Wy.js} +1 -1
- package/web/app/immutable/chunks/{BxygHVc0.js → CIftGvP3.js} +1 -1
- package/web/app/immutable/chunks/{H2_zVpjq.js → CJeE1pqF.js} +1 -1
- package/web/app/immutable/chunks/{DmfDK5sO.js → CNLEkESE.js} +1 -1
- package/web/app/immutable/chunks/{eq3yiGc9.js → CNt46_Sl.js} +4 -4
- package/web/app/immutable/chunks/{BVWcbZYZ.js → CQV_RN2j.js} +1 -1
- package/web/app/immutable/chunks/{Bjxr6-oA.js → CQZewidW.js} +1 -1
- package/web/app/immutable/chunks/{DiaGgCHr.js → CQqORW76.js} +1 -1
- package/web/app/immutable/chunks/{CifnfNKw.js → CXC1Kqgk.js} +1 -1
- package/web/app/immutable/chunks/{D7RDU4oX.js → CaGPXrgT.js} +1 -1
- package/web/app/immutable/chunks/{BZ3ZUgHl.js → CaMTqbZT.js} +1 -1
- package/web/app/immutable/chunks/{alm18JsE.js → CdP89xtd.js} +3 -3
- package/web/app/immutable/chunks/{B9R98FZz.js → CjKSn5xs.js} +1 -1
- package/web/app/immutable/chunks/{BIPVAS3s.js → CksGbYpD.js} +1 -1
- package/web/app/immutable/chunks/{MDtuP-Z1.js → CmNcEfpC.js} +1 -1
- package/web/app/immutable/chunks/{Bf0Zh6Mw.js → CpdAcB0D.js} +1 -1
- package/web/app/immutable/chunks/{Bi3gb3vy.js → CqIbZaud.js} +12 -12
- package/web/app/immutable/chunks/{CL51sD2J.js → CsB5fvC6.js} +1 -1
- package/web/app/immutable/chunks/{CrLZNk77.js → CsC_AG5b.js} +1 -1
- package/web/app/immutable/chunks/{BnlWUiku.js → CvF0K_Ij.js} +2 -2
- package/web/app/immutable/chunks/{DFYnEvjJ.js → D-uXrjxi.js} +1 -1
- package/web/app/immutable/chunks/{CTd6owPM.js → D19pVBSM.js} +1 -1
- package/web/app/immutable/chunks/{Ctqq_Hm-.js → D5smEMy9.js} +1 -1
- package/web/app/immutable/chunks/{BhaAu9oc.js → D6G81XFr.js} +1 -1
- package/web/app/immutable/chunks/{C56SKTiE.js → D6Mh_gko.js} +2 -2
- package/web/app/immutable/chunks/{B5NMwDr1.js → D6zRpkz7.js} +1 -1
- package/web/app/immutable/chunks/{BJwhTMNH.js → D89PDrKh.js} +1 -1
- package/web/app/immutable/chunks/{BGjYxu3b.js → D8rhNp1j.js} +1 -1
- package/web/app/immutable/chunks/{BgS9mR9A.js → DE54-T81.js} +1 -1
- package/web/app/immutable/chunks/{DLBq5-aC.js → DEDP3IGZ.js} +1 -1
- package/web/app/immutable/chunks/{9IpLdHiv.js → DF4C0Dva.js} +1 -1
- package/web/app/immutable/chunks/{BipW4sR9.js → DH8Uc9s3.js} +1 -1
- package/web/app/immutable/chunks/{BwUyq-_g.js → DJifjb7s.js} +1 -1
- package/web/app/immutable/chunks/{CDmGTSwM.js → DLBfhzR4.js} +1 -1
- package/web/app/immutable/chunks/{IZ0jBMf8.js → DLuy_DUP.js} +3 -3
- package/web/app/immutable/chunks/{B1Fu6T0M.js → DMXRduRh.js} +2 -2
- package/web/app/immutable/chunks/{DtZ0s0DW.js → DMjUT-kd.js} +1 -1
- package/web/app/immutable/chunks/{jRKGXRXm.js → DO9IuOvj.js} +1 -1
- package/web/app/immutable/chunks/{DhvbLTQy.js → DQtBgy-t.js} +1 -1
- package/web/app/immutable/chunks/{D8ulYjLF.js → DSHD3GC1.js} +1 -1
- package/web/app/immutable/chunks/{B6qmQARR.js → DUPPDYfv.js} +1 -1
- package/web/app/immutable/chunks/{DSDDKy6s.js → DXDxXMKV.js} +1 -1
- package/web/app/immutable/chunks/{1-j6WuPc.js → DZqwrxF-.js} +1 -1
- package/web/app/immutable/chunks/{CkgZ-o6m.js → D_DOc2Os.js} +3 -3
- package/web/app/immutable/chunks/{CL6Jm56o.js → DcZV24g_.js} +1 -1
- package/web/app/immutable/chunks/{kLefAR3d.js → De8Fjgdl.js} +1 -1
- package/web/app/immutable/chunks/{j3Ayt40n.js → DiKsWs5V.js} +1 -1
- package/web/app/immutable/chunks/{BY4GwAft.js → DkAKkRDD.js} +1 -1
- package/web/app/immutable/chunks/{Dul4sOUW.js → DmM51QPi.js} +1 -1
- package/web/app/immutable/chunks/{Ds-0wg5K.js → Dodo2pdu.js} +1 -1
- package/web/app/immutable/chunks/{BfpUcUyv.js → Doe50cOo.js} +1 -1
- package/web/app/immutable/chunks/{DzHDJT7q.js → DwoQ7vO-.js} +1 -1
- package/web/app/immutable/chunks/{CjMZRWVT.js → DyFh_EM3.js} +2 -2
- package/web/app/immutable/chunks/{BcbwK1ES.js → EyMXQJpg.js} +1 -1
- package/web/app/immutable/chunks/{C-rIyhbi.js → GCzoJnmz.js} +1 -1
- package/web/app/immutable/chunks/{kYL_f4ep.js → ICUZD0Gc.js} +1 -1
- package/web/app/immutable/chunks/{DUATm_LT.js → J5SvV2uT.js} +1 -1
- package/web/app/immutable/chunks/{BvAoeVAO.js → LGHhTW5P.js} +1 -1
- package/web/app/immutable/chunks/{jsqrFryE.js → NLEcMOSe.js} +1 -1
- package/web/app/immutable/chunks/{Buh_qAzZ.js → NVLznFEf.js} +1 -1
- package/web/app/immutable/chunks/{BB_HEKX3.js → O8dU7rmr.js} +1 -1
- package/web/app/immutable/chunks/{BjtbuSfg.js → OIWVe_6Z.js} +1 -1
- package/web/app/immutable/chunks/{5y55aTrU.js → OyVkiUcF.js} +1 -1
- package/web/app/immutable/chunks/{BeqvtwUo.js → RrLZdzQw.js} +1 -1
- package/web/app/immutable/chunks/{Cih9Zs2a.js → Wz8IKtd9.js} +1 -1
- package/web/app/immutable/chunks/{Q7iXJPU-.js → XLkjpXJr.js} +1 -1
- package/web/app/immutable/chunks/{DEJKGaFk.js → XyeZJ2nm.js} +1 -1
- package/web/app/immutable/chunks/{CIo5jCu0.js → Y2e8rmSY.js} +1 -1
- package/web/app/immutable/chunks/{D1jOGOLo.js → b_q_dt23.js} +1 -1
- package/web/app/immutable/chunks/{B5sVEway.js → f9JL4iHQ.js} +3 -3
- package/web/app/immutable/chunks/{DtgKDhuM.js → gsh3yl_n.js} +1 -1
- package/web/app/immutable/chunks/{DACVGRAe.js → huniSIS2.js} +2 -2
- package/web/app/immutable/chunks/{DqP8lgeh.js → kqlckYxf.js} +1 -1
- package/web/app/immutable/chunks/{CbIjL5rO.js → lpr2a93v.js} +1 -1
- package/web/app/immutable/chunks/{B-t0Hiim.js → ojLoa0iy.js} +1 -1
- package/web/app/immutable/chunks/{BOp-xgUY.js → r0TRQO14.js} +1 -1
- package/web/app/immutable/chunks/{niGffMj9.js → rq5Cam6x.js} +1 -1
- package/web/app/immutable/chunks/{CY_U0FqG.js → vL5AniQ9.js} +1 -1
- package/web/app/immutable/entry/{app.soTIQVal.js → app.B9Q-1x3Z.js} +2 -2
- package/web/app/immutable/entry/start.DVV9vWYa.js +1 -0
- package/web/app/immutable/nodes/{0.r0ulDrwu.js → 0.Bs4PkCil.js} +1 -1
- package/web/app/immutable/nodes/{1.A8v1n0qj.js → 1.Yv7aaFvS.js} +1 -1
- package/web/app/immutable/nodes/{10.yOzUfegC.js → 10.Ci3UaLkO.js} +1 -1
- package/web/app/immutable/nodes/{14.3B0XUkw_.js → 14.0pTaJEhl.js} +1 -1
- package/web/app/immutable/nodes/{17.DxRLAlw9.js → 17.C4yIKoV3.js} +2 -2
- package/web/app/immutable/nodes/{2.Be1Ga7Wd.js → 2.CKWF11kM.js} +4 -4
- package/web/app/immutable/nodes/{3.C16OjbRR.js → 3.DU2FnI7u.js} +1 -1
- package/web/app/immutable/nodes/{4.DBcE2UNc.js → 4.BQRlURPi.js} +1 -1
- package/web/app/immutable/nodes/{5.CJRPdyCh.js → 5.C0kRsqFa.js} +1 -1
- package/web/app/immutable/nodes/{6.BSMzZH-3.js → 6.meo8GLA8.js} +1 -1
- package/web/app/immutable/nodes/{7.AlZl2_PU.js → 7.BELSSAGn.js} +1 -1
- package/web/app/immutable/nodes/{8.WS_XHrBt.js → 8.BiXCtzxx.js} +4 -4
- package/web/app/immutable/nodes/{9.B3dVA_xP.js → 9.CUlXD5Il.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.BP3fu5vG.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./eq3yiGc9.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./BgrWRL30.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
|
|
1
|
+
import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./CNt46_Sl.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./BsKnk4mK.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
|
|
2
2
|
`+F.showPosition()+`
|
|
3
3
|
Expecting `+pt.join(", ")+", got '"+(this.terminals_[X]||X)+"'":$t="Parse error on line "+(G+1)+": Unexpected "+(X==A?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError($t,{text:F.match,token:this.terminals_[X]||X,line:F.yylineno,loc:nt,expected:pt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+X);switch(Z[0]){case 1:m.push(X),C.push(F.yytext),n.push(F.yylloc),m.push(Z[1]),X=null,c=F.yyleng,o=F.yytext,G=F.yylineno,nt=F.yylloc;break;case 2:if(tt=this.productions_[Z[1]][1],J.$=C[C.length-tt],J._$={first_line:n[n.length-(tt||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(tt||1)].first_column,last_column:n[n.length-1].last_column},at&&(J._$.range=[n[n.length-(tt||1)].range[0],n[n.length-1].range[1]]),ot=this.performAction.apply(J,[o,c,G,q.yy,Z[1],C,n].concat(R)),typeof ot<"u")return ot;tt&&(m=m.slice(0,-1*tt*2),C=C.slice(0,-1*tt),n=n.slice(0,-1*tt)),m.push(this.productions_[Z[1]][0]),C.push(J.$),n.push(J._$),Ut=$[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0},"parse")},T=(function(){var p={EOF:1,parseError:l(function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},"parseError"),setInput:l(function(a,d){return this.yy=d||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:l(function(a){var d=a.length,m=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(a){this.unput(this.match.slice(a))},"less"),pastInput:l(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _t,br as _,a_ as L,bz as mt,bt as gt,b as vt,bp as x,bv as be,bu as Te}from"./O1QHAURn.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as N,ay as m,W as r,bn as It,aA as g,aD as t,bS as z,a5 as _e,bH as Be,bA as me,b_ as M,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./DYhIMPy1.js";import{v as $t,n as Pt,u as De,i as At}from"./CAyg2ijY.js";import{s as Me}from"./BBDxUL80.js";import{c as S}from"./C2mPABxH.js";import{cF as Et,bj as Ot,aI as Ft,F as ne,aV as Tt,aJ as Bt,bk as Dt,a4 as Ve,as as Lt}from"./B0f-om7y.js";import{W as Nt,T as zt,G as St,C as Rt,X as Ht,J as Wt,V as Mt}from"./BtjFwMY1.js";import{f as ge}from"./CR_t_AVn.js";import{h as Vt}from"./BnlWUiku.js";import{k as jt,R as Gt,o as Jt,n as Kt,m as Ut,l as je}from"./DV9nY0bt.js";import{k as ve}from"./B6kyqBFl.js";import{c as Xt}from"./ChTqQfQN.js";import"./B1mZq3ve.js";import{Ix as Ge,mT as Yt,Fd as qt}from"./DNqM68dO.js";import{w as Qt}from"./CovkQMd0.js";import{i as X}from"./RoOfSbrC.js";import{bu as Zt,b8 as er,b5 as tr}from"./Buh_qAzZ.js";import{cn as rr}from"./VZEkDWIM.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Mt,jetbrains:Wt,xcode:Ht};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),Y=O.filter(({installed:q,id:ye})=>q&&!se.has(ye));return Y.some(({id:q})=>q===Le)||se.has(Le)?Y:[...Y,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),br=E("<span><!></span>"),_r=E('<img class="w-4 h-4"/>'),mr=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return _t({component:wr,...O});ht(s,!0);const se=()=>be(Xe,"$installedEditors$",ie),Y=()=>be(Ye,"$hiddenEditorIds$",ie),q=()=>be(qe,"$isWorkspaceHostLocal$",ie),ye=()=>be(Ue,"$openAction",ie),[ie,Ke]=gt(),le=(e,d=kt)=>{var u=N(),p=m(u);S(p,()=>Gt,(te,G)=>{G(te,{get value(){return t(v).id},children:(F,D)=>{var k=N(),T=m(k);Pt(T,17,d,C=>C.id,(C,c)=>{var J=N(),h=m(J);{const $=a=>{var i=N(),y=m(i);{var H=l=>{var A=dr();M(()=>De(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},b=l=>{const A=o(()=>t(c).icon);var W=N(),B=m(W);S(B,()=>t(A),(K,re)=>{re(K,{size:16})}),r(l,W)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};L(y,l=>{t(c).iconBase64?l(H):t(c).icon?l(b,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>jt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,H)=>{var b=pr(),P=m(b),l=oe(P,!0),A=z(P,2);{var W=B=>{var K=ur(),re=oe(K,!0);M(()=>ae(re,t(c).shortcut)),r(B,K)};L(A,B=>{t(c).shortcut&&B(W)})}M(()=>ae(l,t(c).label)),r(y,b)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Xt("OpenComboButton");let I=_(s,"filePath",7),ce=_(s,"workspaceId",7,""),de=_(s,"isDirectory",7,!0),we=_(s,"workspaceFolderPath",7),xe=_(s,"class",7,""),ue=_(s,"headerText",7),Ie=_(s,"usePortal",7,!0),ke=_(s,"side",7,"bottom"),V=_(s,"variant",7,"default"),Q=_(s,"branchName",7),Ce=_(s,"compact",7,!1),$e=_(s,"embedded",7,!1),Z=_(s,"inline",7,!1),j=_(s,"iconOnly",7,!1),R=_(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Ue=Zt(),Xe=er(Pe),Ye=tr(),qe=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(Yt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,Y()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Dt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Bt}]:[]];return!Ze||!q()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await X("external-editors:open-with-other",{path:d});p?.success?Be(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await X("shell:showItemInFolder",{path:d});break;case"vscode":await X("vscode:open",Ee());break;case"jetbrains":await X("jetbrains:open",Ee());break;case"xcode":await X("xcode:open",Ee());break;case"generic":default:{await X("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ge.dispatch(qt(e)),Oe(e),Be(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return j()},set iconOnly(e=!1){j(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:mt,$on:(e,d)=>vt(s,e,d)},He=N(),ot=m(He);{var at=e=>{var d=he(),u=m(d);{var p=G=>{var F=he(),D=m(F);S(D,()=>Ut,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=m(h);S($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,H)=>{var b=fr(),P=oe(b,!0);M(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,b)},$$slots:{default:!0}})});var n=z($,2);S(n,()=>Kt,(a,i)=>{i(a,{class:"w-60",children:(y,H)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=z(D,2);S(k,()=>je,(T,C)=>{C(T,{})}),r(G,F)};L(u,G=>{t(fe).length&&G(p)})}var te=z(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=_e(d);{const p=(F,D)=>{let k=()=>(D?.()).props;var T=N(),C=m(T);{var c=n=>{var a=br();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=_e(a);Me(i,R),me(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>j()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>j()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),H=o(()=>j()&&V()==="sidebar"&&t(ee)),b=o(()=>!j()),P=o(()=>j()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(H)},get wrapContent(){return t(b)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var W=N(),B=m(W);Me(B,R),r(l,W)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=_e(a);{let b=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(b)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,W)=>{var B=mr(),K=m(B);{var re=w=>{var U=_r();M(()=>{De(U,"src",`data:image/png;base64,${t(v).iconBase64??""}`),De(U,"alt",t(v).label)}),r(w,U)},it=w=>{const U=o(()=>t(v).icon);var We=N(),pt=m(We);S(pt,()=>t(U),(ft,bt)=>{bt(ft,{size:14})}),r(w,We)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let U=o(()=>Je(t(v).category));ne(w,{get icon(){return t(U)},class:"w-3.5 h-3.5 opacity-60"})}};L(K,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=z(K,2),ut=oe(dt,!0);M(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,B)},$$slots:{default:!0}})}var y=z(i,2);{var H=b=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(b,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};L(y,b=>{t(f).length>1&&b(H)})}me(a),r(n,a)};L(C,n=>{Z()&&R()?n(c):R()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var D=hr(),k=_e(D);{var T=h=>{var $=vr(),n=oe($,!0);M(()=>ae(n,ue())),r(h,$)};L(k,h=>{ue()&&h(T)})}var C=z(k,2);{var c=h=>{var $=he(),n=m($);le(n,()=>t(fe));var a=z(n,2);S(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};L(C,h=>{t(fe).length&&h(c)})}var J=z(C,2);le(J,()=>t(Se)),me(D),r(F,D)};let G=o(()=>Z()&&R()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(G)},get open(){return t(ee)},set open(F){Be(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}me(d),M(()=>$t(d,1,`${Z()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};L(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,He);var st=It(rt);return Ke(),st}export{wr as O,sr as a,Je as r,ir as s};
|
|
1
|
+
import{t as _t,br as _,a_ as L,bz as mt,bt as gt,b as vt,bp as x,bv as be,bu as Te}from"./O1QHAURn.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as N,ay as m,W as r,bn as It,aA as g,aD as t,bS as z,a5 as _e,bH as Be,bA as me,b_ as M,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./DYhIMPy1.js";import{v as $t,n as Pt,u as De,i as At}from"./CAyg2ijY.js";import{s as Me}from"./BBDxUL80.js";import{c as S}from"./C2mPABxH.js";import{cF as Et,bj as Ot,aI as Ft,F as ne,aV as Tt,aJ as Bt,bk as Dt,a4 as Ve,as as Lt}from"./B0f-om7y.js";import{W as Nt,T as zt,G as St,C as Rt,X as Ht,J as Wt,V as Mt}from"./BtjFwMY1.js";import{f as ge}from"./CR_t_AVn.js";import{h as Vt}from"./CvF0K_Ij.js";import{k as jt,R as Gt,o as Jt,n as Kt,m as Ut,l as je}from"./DV9nY0bt.js";import{k as ve}from"./B6kyqBFl.js";import{c as Xt}from"./ChTqQfQN.js";import"./B1mZq3ve.js";import{Ix as Ge,mT as Yt,Fd as qt}from"./DNqM68dO.js";import{w as Qt}from"./CovkQMd0.js";import{i as X}from"./RoOfSbrC.js";import{bu as Zt,b8 as er,b5 as tr}from"./NVLznFEf.js";import{cn as rr}from"./VZEkDWIM.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Mt,jetbrains:Wt,xcode:Ht};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),Y=O.filter(({installed:q,id:ye})=>q&&!se.has(ye));return Y.some(({id:q})=>q===Le)||se.has(Le)?Y:[...Y,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),br=E("<span><!></span>"),_r=E('<img class="w-4 h-4"/>'),mr=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return _t({component:wr,...O});ht(s,!0);const se=()=>be(Xe,"$installedEditors$",ie),Y=()=>be(Ye,"$hiddenEditorIds$",ie),q=()=>be(qe,"$isWorkspaceHostLocal$",ie),ye=()=>be(Ue,"$openAction",ie),[ie,Ke]=gt(),le=(e,d=kt)=>{var u=N(),p=m(u);S(p,()=>Gt,(te,G)=>{G(te,{get value(){return t(v).id},children:(F,D)=>{var k=N(),T=m(k);Pt(T,17,d,C=>C.id,(C,c)=>{var J=N(),h=m(J);{const $=a=>{var i=N(),y=m(i);{var H=l=>{var A=dr();M(()=>De(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},b=l=>{const A=o(()=>t(c).icon);var W=N(),B=m(W);S(B,()=>t(A),(K,re)=>{re(K,{size:16})}),r(l,W)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};L(y,l=>{t(c).iconBase64?l(H):t(c).icon?l(b,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>jt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,H)=>{var b=pr(),P=m(b),l=oe(P,!0),A=z(P,2);{var W=B=>{var K=ur(),re=oe(K,!0);M(()=>ae(re,t(c).shortcut)),r(B,K)};L(A,B=>{t(c).shortcut&&B(W)})}M(()=>ae(l,t(c).label)),r(y,b)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Xt("OpenComboButton");let I=_(s,"filePath",7),ce=_(s,"workspaceId",7,""),de=_(s,"isDirectory",7,!0),we=_(s,"workspaceFolderPath",7),xe=_(s,"class",7,""),ue=_(s,"headerText",7),Ie=_(s,"usePortal",7,!0),ke=_(s,"side",7,"bottom"),V=_(s,"variant",7,"default"),Q=_(s,"branchName",7),Ce=_(s,"compact",7,!1),$e=_(s,"embedded",7,!1),Z=_(s,"inline",7,!1),j=_(s,"iconOnly",7,!1),R=_(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Ue=Zt(),Xe=er(Pe),Ye=tr(),qe=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(Yt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,Y()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Dt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Bt}]:[]];return!Ze||!q()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await X("external-editors:open-with-other",{path:d});p?.success?Be(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await X("shell:showItemInFolder",{path:d});break;case"vscode":await X("vscode:open",Ee());break;case"jetbrains":await X("jetbrains:open",Ee());break;case"xcode":await X("xcode:open",Ee());break;case"generic":default:{await X("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ge.dispatch(qt(e)),Oe(e),Be(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return j()},set iconOnly(e=!1){j(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:mt,$on:(e,d)=>vt(s,e,d)},He=N(),ot=m(He);{var at=e=>{var d=he(),u=m(d);{var p=G=>{var F=he(),D=m(F);S(D,()=>Ut,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=m(h);S($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,H)=>{var b=fr(),P=oe(b,!0);M(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,b)},$$slots:{default:!0}})});var n=z($,2);S(n,()=>Kt,(a,i)=>{i(a,{class:"w-60",children:(y,H)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=z(D,2);S(k,()=>je,(T,C)=>{C(T,{})}),r(G,F)};L(u,G=>{t(fe).length&&G(p)})}var te=z(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=_e(d);{const p=(F,D)=>{let k=()=>(D?.()).props;var T=N(),C=m(T);{var c=n=>{var a=br();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=_e(a);Me(i,R),me(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>j()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>j()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),H=o(()=>j()&&V()==="sidebar"&&t(ee)),b=o(()=>!j()),P=o(()=>j()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(H)},get wrapContent(){return t(b)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var W=N(),B=m(W);Me(B,R),r(l,W)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=_e(a);{let b=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(b)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,W)=>{var B=mr(),K=m(B);{var re=w=>{var U=_r();M(()=>{De(U,"src",`data:image/png;base64,${t(v).iconBase64??""}`),De(U,"alt",t(v).label)}),r(w,U)},it=w=>{const U=o(()=>t(v).icon);var We=N(),pt=m(We);S(pt,()=>t(U),(ft,bt)=>{bt(ft,{size:14})}),r(w,We)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let U=o(()=>Je(t(v).category));ne(w,{get icon(){return t(U)},class:"w-3.5 h-3.5 opacity-60"})}};L(K,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=z(K,2),ut=oe(dt,!0);M(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,B)},$$slots:{default:!0}})}var y=z(i,2);{var H=b=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(b,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};L(y,b=>{t(f).length>1&&b(H)})}me(a),r(n,a)};L(C,n=>{Z()&&R()?n(c):R()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var D=hr(),k=_e(D);{var T=h=>{var $=vr(),n=oe($,!0);M(()=>ae(n,ue())),r(h,$)};L(k,h=>{ue()&&h(T)})}var C=z(k,2);{var c=h=>{var $=he(),n=m($);le(n,()=>t(fe));var a=z(n,2);S(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};L(C,h=>{t(fe).length&&h(c)})}var J=z(C,2);le(J,()=>t(Se)),me(D),r(F,D)};let G=o(()=>Z()&&R()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(G)},get open(){return t(ee)},set open(F){Be(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}me(d),M(()=>$t(d,1,`${Z()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};L(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,He);var st=It(rt);return Ke(),st}export{wr as O,sr as a,Je as r,ir as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CH3_aJbU.js","/app/immutable/chunks/4kJJ0Qm4.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/O1QHAURn.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CH3_aJbU.js","/app/immutable/chunks/4kJJ0Qm4.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/O1QHAURn.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.Bs4PkCil.js","/app/immutable/chunks/BBDxUL80.js","/app/immutable/chunks/CovkQMd0.js","/app/immutable/chunks/DZ4DzlHi.js","/app/immutable/chunks/DNqM68dO.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BUzdsYyD.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/C_sL6eEo.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CSlQDzrT.js","/app/immutable/chunks/xEfOpOba.js","/app/immutable/chunks/BbjrS_gZ.js","/app/immutable/assets/0.Bk_wpWWt.css","/app/immutable/nodes/1.Yv7aaFvS.js","/app/immutable/chunks/Be14EhuN.js","/app/immutable/chunks/OyVkiUcF.js","/app/immutable/chunks/B0f-om7y.js","/app/immutable/chunks/C2mPABxH.js","/app/immutable/chunks/CAyg2ijY.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CR_t_AVn.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.CKWF11kM.js","/app/immutable/chunks/DT4jqTLd.js","/app/immutable/chunks/BkT9o_nd.js","/app/immutable/chunks/VZEkDWIM.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DUPPDYfv.js","/app/immutable/chunks/CQqORW76.js","/app/immutable/chunks/DH8Uc9s3.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/BgLcfABG.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/CqIbZaud.js","/app/immutable/chunks/Csj7SEat.js","/app/immutable/chunks/DRjQ_WEk.js","/app/immutable/chunks/BV3MrUXO.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/CNLEkESE.js","/app/immutable/chunks/NVLznFEf.js","/app/immutable/chunks/B6kyqBFl.js","/app/immutable/chunks/B1mZq3ve.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/RoOfSbrC.js","/app/immutable/chunks/DrbtWgvN.js","/app/immutable/chunks/BVs4aETe.js","/app/immutable/chunks/DLuy_DUP.js","/app/immutable/chunks/C1dHaq0T.js","/app/immutable/chunks/BurWh7sU.js","/app/immutable/chunks/DIP3ex32.js","/app/immutable/chunks/BCcHqi29.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/-eBHQPOR.js","/app/immutable/chunks/LEG6ylBB.js","/app/immutable/chunks/D_DOc2Os.js","/app/immutable/chunks/B9iMH0o9.js","/app/immutable/chunks/AKQt5W0I.js","/app/immutable/chunks/CsC_AG5b.js","/app/immutable/chunks/D7PWKdEa.js","/app/immutable/chunks/D6Mh_gko.js","/app/immutable/chunks/BLnx4Xc9.js","/app/immutable/chunks/BH3LKWph.js","/app/immutable/chunks/CQkmEJ54.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/CqO6BKca.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/C35WHsYG.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/DqOSeb3n.js","/app/immutable/chunks/CH5tRPYb.js","/app/immutable/chunks/Cx-ifKmr.js","/app/immutable/chunks/CmsmzP0l.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/D6zRpkz7.js","/app/immutable/chunks/BUF4MAqQ.js","/app/immutable/chunks/BzfL7vAh.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/jSWfcAmB.js","/app/immutable/chunks/Dft5EuPN.js","/app/immutable/chunks/Cj9Y0QG4.js","/app/immutable/chunks/c_SIieWD.js","/app/immutable/chunks/DBU5w_eB.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/lkH5RFQO.js","/app/immutable/chunks/CvF0K_Ij.js","/app/immutable/chunks/haHmm526.js","/app/immutable/chunks/BV0i7JjW.js","/app/immutable/chunks/DV9nY0bt.js","/app/immutable/chunks/CWDPeeaf.js","/app/immutable/chunks/BgCTNfXj.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/BsieX9dN.js","/app/immutable/assets/observe-overflow.CbDLK6fN.css","/app/immutable/chunks/BViMgwIT.js","/app/immutable/chunks/DEEBY1o3.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/CerLhVOI.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DwupWOJr.js","/app/immutable/chunks/Drd3_KgI.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/BMSsMs1K.js","/app/immutable/chunks/emMOiRoc.js","/app/immutable/chunks/CtOgVMo7.js","/app/immutable/chunks/xGWkrpVj.js","/app/immutable/chunks/Doe50cOo.js","/app/immutable/chunks/BFuVpuHt.js","/app/immutable/chunks/CDiEfEmo.js","/app/immutable/chunks/DlwwHsb5.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/OIWVe_6Z.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/Vn5GukrK.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/LGHhTW5P.js","/app/immutable/chunks/-DqWFMjY.js","/app/immutable/chunks/C0RyaDkI.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/BtjFwMY1.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/DOEJHxJB.js","/app/immutable/chunks/BmrtciWO.js","/app/immutable/assets/accessibility.CP-rioAF.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/ZGE7t41e.js","/app/immutable/chunks/DJRfPGm5.js","/app/immutable/chunks/p7znhYIU.js","/app/immutable/chunks/Ddqq3yIK.js","/app/immutable/chunks/CKe-jgOm.js","/app/immutable/chunks/CQV_RN2j.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.D39KZk3-.css","/app/immutable/nodes/3.DU2FnI7u.js","/app/immutable/nodes/4.BQRlURPi.js","/app/immutable/nodes/5.C0kRsqFa.js","/app/immutable/chunks/huniSIS2.js","/app/immutable/chunks/C64Iv2ib.js","/app/immutable/chunks/DF4C0Dva.js","/app/immutable/chunks/DfN8_dcw.js","/app/immutable/chunks/CaMTqbZT.js","/app/immutable/chunks/DO9IuOvj.js","/app/immutable/chunks/DQtBgy-t.js","/app/immutable/chunks/DyFh_EM3.js","/app/immutable/chunks/EyMXQJpg.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/LKsttIIB.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/vL5AniQ9.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.DF8NAXK-.css","/app/immutable/chunks/CU4rQ8M5.js","/app/immutable/chunks/DkAKkRDD.js","/app/immutable/chunks/r0TRQO14.js","/app/immutable/chunks/CdP89xtd.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/XyeZJ2nm.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/XLkjpXJr.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/CNt46_Sl.js","/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css","/app/immutable/chunks/DMYhmR6C.js","/app/immutable/chunks/C5Adi8IR.js","/app/immutable/chunks/CFWmH1IG.js","/app/immutable/chunks/Cnfi20mX.js","/app/immutable/chunks/DiKsWs5V.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/B25ZGiq_.js","/app/immutable/chunks/BkoPrG1G.js","/app/immutable/chunks/DSHD3GC1.js","/app/immutable/chunks/DJifjb7s.js","/app/immutable/chunks/BhpRX777.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/FgIEX9-J.js","/app/immutable/chunks/NLEcMOSe.js","/app/immutable/chunks/4zDfklj9.js","/app/immutable/chunks/sNJbjXoM.js","/app/immutable/chunks/CgBGfbbn.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/chunks/DkjTOoF5.js","/app/immutable/assets/DockRecordingEditor.Cpd07eyT.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.meo8GLA8.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.BELSSAGn.js","/app/immutable/chunks/D5smEMy9.js","/app/immutable/nodes/8.BiXCtzxx.js","/app/immutable/chunks/DmM51QPi.js","/app/immutable/chunks/4xlJdO9z.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/Bvr7FizN.js","/app/immutable/chunks/D6gC8ZEr.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/nodes/9.CUlXD5Il.js","/app/immutable/chunks/BJrt2eqM.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/CksGbYpD.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/CUAxozeG.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/CAk-hbHN.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/DW9tlmqQ.js","/app/immutable/chunks/C4v_y1n6.js","/app/immutable/chunks/BXYZt_z7.js","/app/immutable/assets/9.QLJOd4KT.css","/app/immutable/nodes/10.Ci3UaLkO.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.OrQjgzNV.js","/app/immutable/nodes/12.CUpMRQUK.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.C8p3vVaf.js","/app/immutable/chunks/CM7xdRzD.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.0pTaJEhl.js","/app/immutable/assets/14.CU62PBbE.css","/app/immutable/nodes/15.X9Row0Rl.js","/app/immutable/assets/15.DBFWhlfB.css","/app/immutable/nodes/16.BdgMhNjj.js","/app/immutable/assets/16.DdJIHg9f.css","/app/immutable/nodes/17.C4yIKoV3.js","/app/immutable/assets/17.Cznk2DRv.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
import{_ as a,bp as X,t as lt,br as g,a_ as k,bz as dt,b as pt,c as gt}from"../chunks/O1QHAURn.js";import{l as w}from"../chunks/BdWqymET.js";import{s as ft}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as Tt,bk as bt,aD as c,bH as F,c0 as ht,ay as T,bS as It,W as m,bn as At,bV as U,aA as f,a7 as I,c9 as L,a5 as Ot,bA as Rt,aB as q,b$ as Pt,b_ as Dt,bO as yt}from"../chunks/DYhIMPy1.js";import{c as S}from"../chunks/C2mPABxH.js";import{b as V}from"../chunks/BaIAhI85.js";const Lt=async()=>{window.location.pathname.startsWith("/sandbox")||await a(()=>import("../chunks/CH3_aJbU.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},St=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function Vt(t){return t instanceof Error&&t.name==="TypeError"&&St.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const K=500,xt=8,kt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,wt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=wt.exec(t)?.[0]??"",o=t.slice(0,t.length-e.length),n=o.indexOf("://"),i=o.slice(0,n),s=o.slice(n+3).split("#")[0].split("?")[0],u=s.indexOf("/"),l=u===-1?s:s.slice(0,u),d=l.slice(l.lastIndexOf("@")+1),p=u===-1?"":s.slice(u);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function x(t){const e=t.replace(kt,Ct);return e.length>K?`${e.slice(0,K)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
|
|
3
3
|
`).slice(0,xt).map(x).join(`
|
|
4
|
-
`)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let Z=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return Z?(A++,A>=Ft&&(w.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{w.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),w.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(Z=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(w.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=q("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),Tt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=T(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=T(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var b=Pt();Dt(()=>yt(b,c(B))),m(v,b)};k(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};k(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.r0ulDrwu.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,14,2,15,16,17,18,19,20]),import.meta.url),()=>a(()=>import("../nodes/1.A8v1n0qj.js"),__vite__mapDeps([21,4,5,22,23,24,25,7,26,3,27,28,29,8,1,2,30]),import.meta.url),()=>a(()=>import("../nodes/2.Be1Ga7Wd.js"),__vite__mapDeps([31,4,5,7,32,10,11,12,13,3,14,2,8,24,25,26,27,33,29,34,35,28,1,30,18,22,36,19,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,9,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,16,121,122,123,124,125,126,127,128,129,130,131,132,133,23,134,135,136,137,138,139,140,141,142,143,144]),import.meta.url),()=>a(()=>import("../nodes/3.C16OjbRR.js"),__vite__mapDeps([145,4,5,33,26,7,3,27,22,23,24,25,28,29,8,1,2,30,38,39,37,40,34,10,11,12,13,14,35,18,41,19,36]),import.meta.url),()=>a(()=>import("../nodes/4.DBcE2UNc.js"),__vite__mapDeps([146,4,5,7,9,8,3,43,10,11,12,13,14,2,34,24,25,26,27,35,28,29,1,30,18,33,44,39,45,46,47,41,48,49,50,51,52,53,54,55,56,57,58,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,91,92,93,94,95]),import.meta.url),()=>a(()=>import("../nodes/5.CJRPdyCh.js"),__vite__mapDeps([147,4,5,53,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,150,81,151,152,153,154,84,155,156,157,82,158,133,159,160,131,161,162,71,134,67,68,135,128,80,163,164,165,139,166,167,168,169,90,170,171,172,173,174,175,176,177,178,23,179,180,181,182,63,64,65,66,183,184,185,117,186,142,143,187,188,189,190,191,192,193,194,195,196,197,127,123,79,198,199,137,200]),import.meta.url),()=>a(()=>import("../nodes/6.BSMzZH-3.js"),__vite__mapDeps([201,4,5,26,7,3,27,29,34,2,10,11,12,13,14,8,24,25,35,28,1,30,18,33,39,23,22,46,47,44,45,41,166,167,50,51,52,53,54,55,120,48,49,56,57,58,19,100,101,99,74,102,103,77,78,104,105,106,107,75,76,108,109,98,110,85,97,111,112,38,37,40,36,113,16,96,121,122,67,68,154,84,149,153,155,156,157,69,82,158,133,159,168,139,169,90,170,171,172,173,174,134,135,175,176,177,178,71,128,80,179,180,181,182,185,86,42,202]),import.meta.url),()=>a(()=>import("../nodes/7.AlZl2_PU.js"),__vite__mapDeps([203,4,5,53,108,204,19,12,36,11,10,13,3,7,14,2,8,50,26,27,28,29,25,1,30,33,51,52,24,54,55,109,163]),import.meta.url),()=>a(()=>import("../nodes/8.WS_XHrBt.js"),__vite__mapDeps([205,4,5,8,3,26,7,27,25,29,28,1,2,30,74,101,99,33,24,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,10,11,12,13,14,98,110,138,116,57,58,41,34,35,18,47,97,111,112,85,50,55,39,49,56,44,19,38,22,37,40,36,113,23,60,206,72,46,45,68,207,158,156,179,160,131,89,117,70,79,204,190,191,121,87,92,208,80,62,209,194,210,211,197]),import.meta.url),()=>a(()=>import("../nodes/9.B3dVA_xP.js"),__vite__mapDeps([212,4,5,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,150,81,151,152,153,154,84,155,156,157,82,158,133,159,160,131,161,162,23,129,130,59,60,125,91,92,93,94,95,126,132,189,42,139,136,71,70,213,141,214,215,207,83,216,119,206,117,87,217,218,88,219,220,221,186,222,223,123,191,137,224]),import.meta.url),()=>a(()=>import("../nodes/10.yOzUfegC.js"),__vite__mapDeps([225,4,5,37,22,26,7,3,27,25,10,11,12,13,14,2,8,24,29,136,104,28,1,30,111,33,99,74,50,51,52,53,54,55,96,85,187,137,106,217,218,88,34,35,18,213,141,94,95,93,56,44,39,40,98,214,90,221,89,226]),import.meta.url),()=>a(()=>import("../nodes/11.OrQjgzNV.js"),__vite__mapDeps([227,4,5,53,108,24,25,7,26,3,27]),import.meta.url),()=>a(()=>import("../nodes/12.CUpMRQUK.js"),__vite__mapDeps([228,4,5,8,3,28,7,26,27,29,25,1,2,30,24,109,163,229]),import.meta.url),()=>a(()=>import("../nodes/13.C8p3vVaf.js"),__vite__mapDeps([230,4,5,26,7,3,27,28,29,25,8,1,2,30,109,163,231,11,124,139,99,33,74,101,24,102,103,52,77,78,104,105,121,53,108,232]),import.meta.url),()=>a(()=>import("../nodes/14.3B0XUkw_.js"),__vite__mapDeps([233,4,5,57,10,11,12,13,3,7,14,2,8,58,41,34,24,25,26,27,35,28,29,1,30,18,33,47,109,163,43,44,39,45,46,48,49,50,51,52,53,54,55,56,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,9,91,92,93,94,95,174,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,120,16,96,121,122,134,135,175,114,210,183,184,166,167,154,149,153,155,156,157,158,133,159,168,139,169,170,171,172,173,176,177,178,23,128,179,180,181,182,185,117,186,142,143,187,188,231,234,197]),import.meta.url),()=>a(()=>import("../nodes/15.X9Row0Rl.js"),__vite__mapDeps([235,4,5,26,7,3,27,28,29,25,8,1,2,30,109,163,33,64,195,14,139,184,66,56,44,39,236,197]),import.meta.url),()=>a(()=>import("../nodes/16.BdgMhNjj.js"),__vite__mapDeps([237,4,5,8,3,26,7,27,28,29,25,1,2,30,109,163,193,85,184,74,75,54,76,112,106,99,33,107,52,102,103,77,78,24,13,14,194,139,195,64,65,196,197,56,44,39,45,158,238]),import.meta.url),()=>a(()=>import("../nodes/17.DxRLAlw9.js"),__vite__mapDeps([239,4,5,56,8,3,44,39,24,25,7,26,27,28,29,1,2,30,10,11,12,13,14,33,133,69,34,35,18,57,58,41,47,128,80,51,73,100,101,99,74,102,103,52,77,78,104,105,106,107,75,54,76,53,108,109,98,110,115,116,62,87,38,22,37,40,19,36,240]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock-capture-editor":[16],"/dock":[14],"/hud":[17,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
|
|
4
|
+
`)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let Z=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return Z?(A++,A>=Ft&&(w.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{w.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),w.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(Z=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(w.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=q("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),Tt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=T(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=T(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var b=Pt();Dt(()=>yt(b,c(B))),m(v,b)};k(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};k(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.Bs4PkCil.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,14,2,15,16,17,18,19,20]),import.meta.url),()=>a(()=>import("../nodes/1.Yv7aaFvS.js"),__vite__mapDeps([21,4,5,22,23,24,25,7,26,3,27,28,29,8,1,2,30]),import.meta.url),()=>a(()=>import("../nodes/2.CKWF11kM.js"),__vite__mapDeps([31,4,5,7,32,10,11,12,13,3,14,2,8,24,25,26,27,33,29,34,35,28,1,30,18,22,36,19,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,9,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,16,121,122,123,124,125,126,127,128,129,130,131,132,133,23,134,135,136,137,138,139,140,141,142,143,144]),import.meta.url),()=>a(()=>import("../nodes/3.DU2FnI7u.js"),__vite__mapDeps([145,4,5,33,26,7,3,27,22,23,24,25,28,29,8,1,2,30,38,39,37,40,34,10,11,12,13,14,35,18,41,19,36]),import.meta.url),()=>a(()=>import("../nodes/4.BQRlURPi.js"),__vite__mapDeps([146,4,5,7,9,8,3,43,10,11,12,13,14,2,34,24,25,26,27,35,28,29,1,30,18,33,44,39,45,46,47,41,48,49,50,51,52,53,54,55,56,57,58,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,91,92,93,94,95]),import.meta.url),()=>a(()=>import("../nodes/5.C0kRsqFa.js"),__vite__mapDeps([147,4,5,53,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,150,81,151,152,153,154,84,155,156,157,82,158,133,159,160,131,161,162,71,134,67,68,135,128,80,163,164,165,139,166,167,168,169,90,170,171,172,173,174,175,176,177,178,23,179,180,181,182,63,64,65,66,183,184,185,117,186,142,143,187,188,189,190,191,192,193,194,195,196,197,127,123,79,198,199,137,200]),import.meta.url),()=>a(()=>import("../nodes/6.meo8GLA8.js"),__vite__mapDeps([201,4,5,26,7,3,27,29,34,2,10,11,12,13,14,8,24,25,35,28,1,30,18,33,39,23,22,46,47,44,45,41,166,167,50,51,52,53,54,55,120,48,49,56,57,58,19,100,101,99,74,102,103,77,78,104,105,106,107,75,76,108,109,98,110,85,97,111,112,38,37,40,36,113,16,96,121,122,67,68,154,84,149,153,155,156,157,69,82,158,133,159,168,139,169,90,170,171,172,173,174,134,135,175,176,177,178,71,128,80,179,180,181,182,185,86,42,202]),import.meta.url),()=>a(()=>import("../nodes/7.BELSSAGn.js"),__vite__mapDeps([203,4,5,53,108,204,19,12,36,11,10,13,3,7,14,2,8,50,26,27,28,29,25,1,30,33,51,52,24,54,55,109,163]),import.meta.url),()=>a(()=>import("../nodes/8.BiXCtzxx.js"),__vite__mapDeps([205,4,5,8,3,26,7,27,25,29,28,1,2,30,74,101,99,33,24,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,10,11,12,13,14,98,110,138,116,57,58,41,34,35,18,47,97,111,112,85,50,55,39,49,56,44,19,38,22,37,40,36,113,23,60,206,72,46,45,68,207,158,156,179,160,131,89,117,70,79,204,190,191,121,87,92,208,80,62,209,194,210,211,197]),import.meta.url),()=>a(()=>import("../nodes/9.CUlXD5Il.js"),__vite__mapDeps([212,4,5,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,150,81,151,152,153,154,84,155,156,157,82,158,133,159,160,131,161,162,23,129,130,59,60,125,91,92,93,94,95,126,132,189,42,139,136,71,70,213,141,214,215,207,83,216,119,206,117,87,217,218,88,219,220,221,186,222,223,123,191,137,224]),import.meta.url),()=>a(()=>import("../nodes/10.Ci3UaLkO.js"),__vite__mapDeps([225,4,5,37,22,26,7,3,27,25,10,11,12,13,14,2,8,24,29,136,104,28,1,30,111,33,99,74,50,51,52,53,54,55,96,85,187,137,106,217,218,88,34,35,18,213,141,94,95,93,56,44,39,40,98,214,90,221,89,226]),import.meta.url),()=>a(()=>import("../nodes/11.OrQjgzNV.js"),__vite__mapDeps([227,4,5,53,108,24,25,7,26,3,27]),import.meta.url),()=>a(()=>import("../nodes/12.CUpMRQUK.js"),__vite__mapDeps([228,4,5,8,3,28,7,26,27,29,25,1,2,30,24,109,163,229]),import.meta.url),()=>a(()=>import("../nodes/13.C8p3vVaf.js"),__vite__mapDeps([230,4,5,26,7,3,27,28,29,25,8,1,2,30,109,163,231,11,124,139,99,33,74,101,24,102,103,52,77,78,104,105,121,53,108,232]),import.meta.url),()=>a(()=>import("../nodes/14.0pTaJEhl.js"),__vite__mapDeps([233,4,5,57,10,11,12,13,3,7,14,2,8,58,41,34,24,25,26,27,35,28,29,1,30,18,33,47,109,163,43,44,39,45,46,48,49,50,51,52,53,54,55,56,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,9,91,92,93,94,95,174,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,120,16,96,121,122,134,135,175,114,210,183,184,166,167,154,149,153,155,156,157,158,133,159,168,139,169,170,171,172,173,176,177,178,23,128,179,180,181,182,185,117,186,142,143,187,188,231,234,197]),import.meta.url),()=>a(()=>import("../nodes/15.X9Row0Rl.js"),__vite__mapDeps([235,4,5,26,7,3,27,28,29,25,8,1,2,30,109,163,33,64,195,14,139,184,66,56,44,39,236,197]),import.meta.url),()=>a(()=>import("../nodes/16.BdgMhNjj.js"),__vite__mapDeps([237,4,5,8,3,26,7,27,28,29,25,1,2,30,109,163,193,85,184,74,75,54,76,112,106,99,33,107,52,102,103,77,78,24,13,14,194,139,195,64,65,196,197,56,44,39,45,158,238]),import.meta.url),()=>a(()=>import("../nodes/17.C4yIKoV3.js"),__vite__mapDeps([239,4,5,56,8,3,44,39,24,25,7,26,27,28,29,1,2,30,10,11,12,13,14,33,133,69,34,35,18,57,58,41,47,128,80,51,73,100,101,99,74,102,103,52,77,78,104,105,106,107,75,54,76,53,108,109,98,110,115,116,62,87,38,22,37,40,19,36,240]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock-capture-editor":[16],"/dock":[14],"/hud":[17,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,s as r}from"../chunks/Be14EhuN.js";export{o as load_css,r as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as L,br as I,bz as O,bv as Z,bt as ee,b as N,a_ as te,bu as ne,bs as oe}from"../chunks/O1QHAURn.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as A,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/BBDxUL80.js";import{z as ie,I as H,G as ae}from"../chunks/CovkQMd0.js";import{w as ce}from"../chunks/DZ4DzlHi.js";import{Ix as ue}from"../chunks/DNqM68dO.js";import{initAppStore as de}from"../chunks/C_sL6eEo.js";import{K as le,I as fe}from"../chunks/xEfOpOba.js";import{i as me}from"../chunks/
|
|
1
|
+
import{t as L,br as I,bz as O,bv as Z,bt as ee,b as N,a_ as te,bu as ne,bs as oe}from"../chunks/O1QHAURn.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as A,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/BBDxUL80.js";import{z as ie,I as H,G as ae}from"../chunks/CovkQMd0.js";import{w as ce}from"../chunks/DZ4DzlHi.js";import{Ix as ue}from"../chunks/DNqM68dO.js";import{initAppStore as de}from"../chunks/C_sL6eEo.js";import{K as le,I as fe}from"../chunks/xEfOpOba.js";import{i as me}from"../chunks/BbjrS_gZ.js";const pe=!1,we=!1,ve=!0,ke=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let E=null;function S(e){const t=Date.now();E!==null&&E.direction===e&&t-E.at<be||(E={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function Ae(e){e!=="back"&&e!=="forward"||he()||S(e)}function z(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){z(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){z(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ee(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function ye(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function K(e,t){if(new.target)return L({component:K,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=I(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},D=()=>c(!1),M=()=>c(!0),q=v.subscribe(_=>{d=_,a()}),k=window.electronAPI,B=ie();let y;a(),n&&(B?y=k?.on?.("window:focus",c):(window.addEventListener("blur",D),window.addEventListener("focus",M)));const J=ye(document.documentElement),Q=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ee(window),C=window.electronAPI?.on?.(H.APP.HISTORY_NAVIGATE,Ae);return()=>{q(),J.destroy(),y?k.offById("window:focus",y):n&&!B&&(window.removeEventListener("blur",D),window.removeEventListener("focus",M)),document.documentElement.removeAttribute("data-window-blurred"),Q(),X(),C&&window.electronAPI.offById(H.APP.HISTORY_NAVIGATE,C)}});var u={get children(){return s()},set children(n){s(n),$()},$set:O,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);R(d,()=>s()??W),A(n,o)}),A(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function Y(e,t){if(new.target)return L({component:Y,...e});P(t,!0);let r=I(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:O,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);R(g,()=>r()??W),A(u,w)},v=u=>{K(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return A(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Ie(e,t){if(new.target)return L({component:Ie,...e});P(t,!0);let r=I(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:O,$on:(s,l)=>N(t,s,l)};return Y(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);R(v,()=>r()??W),A(s,m)},$$slots:{default:!0}})),T(p)}export{Ie as component,ke as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as W,a_ as P,bz as A,b as D,bp as p,bu as R,bs as U}from"../chunks/O1QHAURn.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as y,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as T}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/
|
|
1
|
+
import{t as W,a_ as P,bz as A,b as D,bp as p,bu as R,bs as U}from"../chunks/O1QHAURn.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as y,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as T}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/Be14EhuN.js";import{p as b}from"../chunks/OyVkiUcF.js";import{F as te,cO as ae}from"../chunks/B0f-om7y.js";import{f as se}from"../chunks/CR_t_AVn.js";var oe=T('<p class="text-sm text-subtle"> </p>'),le=T('<div class="min-h-screen flex items-center justify-center p-6 bg-background"><div class="w-full max-w-md" role="alert" aria-live="assertive"><div class="bg-card border border-border rounded-xl shadow-lg p-8 space-y-6 text-center"><div class="flex justify-center"><div class="w-14 h-14 rounded-full bg-warning/10 flex items-center justify-center opacity-50"><!></div></div> <div class="space-y-3"><h2 class="text-2xl font-semibold text-foreground"> </h2> <!> <p class="text-base text-subtle leading-relaxed break-words"> </p></div> <div class="flex items-center justify-center gap-3 flex-wrap"><!></div></div></div></div>');function q(l,o){if(new.target)return W({component:q,...l});E(o,!0);let c=y(()=>b.error),r=y(()=>b.status),v=y(()=>e(r)===404&&b.url.pathname!=="/");V(()=>{e(v)?(console.warn("[+error.svelte:root] 404, redirecting to /",{url:b.url.href,status:e(r)}),re("/",{replaceState:!0})):console.error("[+error.svelte:root]",{status:e(r),error:e(c)})});var g={$set:A,$on:(i,n)=>D(o,i,n)},j=X(),G=Y(j);{var H=i=>{var n=le(),z=a(n),F=a(z),x=a(F),S=a(x),I=a(S);te(I,{get icon(){return ae},size:"lg",class:"text-warning"}),s(S),s(x);var w=f(x,2),B=a(w),J=$(B,!0),C=f(B,2);{var K=t=>{var d=oe(),u=$(d,!0);k(h=>m(u,h),[()=>p.error_page_status_label({status:e(r)})]),_(t,d)};P(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var O=f(w,2),Q=a(O);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var u=ee();k(h=>m(u,h),[()=>p.error_page_reload_button()]),_(t,u)},$$slots:{default:!0}}),s(O),s(F),s(z),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>p.error_page_title(),()=>e(c)?.message||p.error_page_unexpected_fallback()]),_(i,n)};P(G,i=>{e(v)||i(H)})}return _(l,j),N(g)}var ie=new Set(["$$slots","$$events","$$legacy"]);function ne(l,o){if(new.target)return W({component:ne,...l});E(o,!0);let c=U(o,ie);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(l,R(()=>c)),N(r)}export{ne as component};
|