@runeya/runeya 1.33.34 → 1.33.35
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/node-red-contrib-runeya.tar +0 -0
- package/package.json +1 -1
- package/public/assets/{App-0vRbxmNQ.js → App-C-sBlc99.js} +1 -1
- package/public/assets/{Bugs-n-hL7tUR.js → Bugs-SLUzCwvS.js} +1 -1
- package/public/assets/{Configs-DQRZRhbp.css → Configs-BY4CcR9H.css} +1 -1
- package/public/assets/{Configs-bQOmYUwB.js → Configs-CI4rTNMZ.js} +10 -10
- package/public/assets/{CurrentEditor-DZy4816h.js → CurrentEditor-DNhSWY_9.js} +1 -1
- package/public/assets/{DynamicComponent-DCIgHp0w.js → DynamicComponent-Wyi-ea9E.js} +1 -1
- package/public/assets/{Editor-85UXMxbX.js → Editor-B--wgkn6.js} +6 -6
- package/public/assets/{Git-BTmTOBkZ.js → Git-BbebF7nu.js} +1 -1
- package/public/assets/{ImportCreate-DA8nt12l.js → ImportCreate-BhZ9H4dz.js} +1 -1
- package/public/assets/{Index-DbwN_Se_.js → Index-CKF0MsPO.js} +1 -1
- package/public/assets/{Index-BGpzaK8G.js → Index-CShAY9sk.js} +1 -1
- package/public/assets/{Index-BHEG6rJY.js → Index-DsBVNXJ8.js} +1 -1
- package/public/assets/{Index-B4Jvfo8e.js → Index-DyYLUzbC.js} +1 -1
- package/public/assets/{Index-q3C0za8f.js → Index-Oc79QNQL.js} +1 -1
- package/public/assets/{Index-CXn-ZwGz.js → Index-ivbhk-aX.js} +1 -1
- package/public/assets/{Index-CRZ-g8e2.js → Index-qEWsVaDe.js} +1 -1
- package/public/assets/{Init-DR8vFROF.js → Init-B6-OnXzN.js} +1 -1
- package/public/assets/{LeftLogo-CwOza4RI.js → LeftLogo-DZyE6XwZ.js} +1 -1
- package/public/assets/{Logs-jwvcWIZr.js → Logs-CyV9jI9C.js} +1 -1
- package/public/assets/{Markdown-BFUj3ed1.js → Markdown-plhGD_CA.js} +1 -1
- package/public/assets/{Modal-2tP8c2tI.js → Modal-DfzlogP3.js} +1 -1
- package/public/assets/{Modals-BzQS_5UQ.js → Modals-CcPPWWo_.js} +1 -1
- package/public/assets/{NotUpToDate-t3p2zniq.js → NotUpToDate-B0J4qPnh.js} +1 -1
- package/public/assets/{Npm-Dqy7RKe-.js → Npm-CQ5CrcHe.js} +1 -1
- package/public/assets/{Overview-DoYNIFEp.js → Overview-CN6pSTFP.js} +1 -1
- package/public/assets/{Section-BX-e-3c4.js → Section-D0z9MjV4.js} +1 -1
- package/public/assets/{Settings-B3LTHHPc.js → Settings-DS3bER2h.js} +1 -1
- package/public/assets/{Spinner-CXzAhlRM.js → Spinner-CkmZ5Bkp.js} +1 -1
- package/public/assets/{StackChooser-DuZcAiy1.js → StackChooser-BFZVWsf1.js} +1 -1
- package/public/assets/{StackChooser-BeFnlQEV.js → StackChooser-Cyfm3biQ.js} +1 -1
- package/public/assets/{StackMultiple-Co1TxdN7.js → StackMultiple-CGOytGPV.js} +1 -1
- package/public/assets/{StackSingle-B134QzRJ.js → StackSingle-D3NiZMLJ.js} +1 -1
- package/public/assets/{Tabs-Wt5WJosi.js → Tabs-Cgyr_8he.js} +1 -1
- package/public/assets/{Theme-D4GhxSvQ.js → Theme-B97b3UpJ.js} +1 -1
- package/public/assets/{Toolbox-Di3ea2VB.js → Toolbox-CyQN5knH.js} +1 -1
- package/public/assets/{cssMode-ABJDT4xL.js → cssMode-DbeIxtfB.js} +1 -1
- package/public/assets/{currentEditor-gGWhMRDi.js → currentEditor-D3XVS39E.js} +1 -1
- package/public/assets/{freemarker2-C6_zUoz_.js → freemarker2-Dge1jJSo.js} +1 -1
- package/public/assets/{fs-Rt3HnuaZ.js → fs-BJo4gV3E.js} +1 -1
- package/public/assets/{handlebars-CsmUKnmI.js → handlebars-BQUNzyLB.js} +1 -1
- package/public/assets/{html-DwooehwI.js → html-LMshxxAF.js} +1 -1
- package/public/assets/{htmlMode-lnbtYiz1.js → htmlMode-DHM_bD6t.js} +1 -1
- package/public/assets/{index-BRvRdm2d.js → index-B-UE6JmD.js} +1 -1
- package/public/assets/{index-CY-FD0AK.js → index-BE770P-h.js} +1 -1
- package/public/assets/{index-rSgGIdjv.js → index-BF7FF_-U.js} +1 -1
- package/public/assets/{index-3ZvrYKa3.js → index-Bv49zKKl.js} +1 -1
- package/public/assets/{index-CV0pET8D.js → index-CMj4Y1Yg.js} +1 -1
- package/public/assets/{index-B53oJTt9.js → index-CVX2mTq9.js} +1 -1
- package/public/assets/{index-DazOL6mm.js → index-CXxIspfv.js} +2 -2
- package/public/assets/{index-B6uAxUbc.js → index-D5sk91UH.js} +1 -1
- package/public/assets/{index-Dh1WAh9C.js → index-DFxHrn4y.js} +1 -1
- package/public/assets/{index-D_XM890H.js → index-OI8gr_S5.js} +1 -1
- package/public/assets/{index-CxR262qY.js → index-uAL7sKn7.js} +1 -1
- package/public/assets/{javascript-oMNl3vwx.js → javascript-BnEJpJTu.js} +1 -1
- package/public/assets/{json-tree-view-vue3.es-DGg-wd6p.js → json-tree-view-vue3.es-BsglhTJu.js} +1 -1
- package/public/assets/{jsonMode-CKO6Dx_W.js → jsonMode-BpYxT9uo.js} +1 -1
- package/public/assets/{liquid-CFYVQBf0.js → liquid-Drod9cLf.js} +1 -1
- package/public/assets/{mdx-_21wU5oo.js → mdx-BraoJZ-1.js} +1 -1
- package/public/assets/{python-CgDvytUF.js → python-DifTGF0I.js} +1 -1
- package/public/assets/{razor-CpvrGZ7N.js → razor-Bht1fZ5r.js} +1 -1
- package/public/assets/{router-DK7DUOjn.js → router-CdfdQZKk.js} +3 -3
- package/public/assets/{system-CoqDRPac.js → system-BKM6fTSw.js} +1 -1
- package/public/assets/{tsMode-CIYZ5icc.js → tsMode-Dz1iQ8X4.js} +1 -1
- package/public/assets/{typescript-k_Xuqjo2.js → typescript-D3loDqtH.js} +1 -1
- package/public/assets/{xml-aHSiJT5P.js → xml-BJ4p8END.js} +1 -1
- package/public/assets/{yaml-oLQlyCkB.js → yaml-BbNtQaAJ.js} +1 -1
- package/public/index.html +1 -1
- package/www.js +14 -8
- package/www.js.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as i}from"./Editor-
|
|
1
|
+
import{m as i}from"./Editor-B--wgkn6.js";import"./index-CXxIspfv.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m}from"./Editor-
|
|
1
|
+
import{m}from"./Editor-B--wgkn6.js";import"./index-CXxIspfv.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-
|
|
2
|
-
import{a2 as tn,a3 as Ie,Z as Lt,a4 as en,a5 as xt,a6 as nn,c as bt,a7 as Le,a8 as qt,r as St,w as De,i as rn,a9 as dt,aa as ot,k as B,ab as on,S as Bt}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-ivbhk-aX.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/Section-D0z9MjV4.js","assets/index-CXxIspfv.js","assets/index-CHlc7El7.css","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/Section-DPgWRrmJ.css","assets/Theme-B97b3UpJ.js","assets/_baseFor-DiPelG4M.js","assets/Editor-B--wgkn6.js","assets/Editor-CPPFMOjb.css","assets/Index-Cd-qd5VG.css","assets/Index-CKF0MsPO.js","assets/index-DzbsgEyi.js","assets/NotUpToDate-B0J4qPnh.js","assets/Spinner-CkmZ5Bkp.js","assets/Spinner-BZXOybIg.css","assets/NotUpToDate-Dh9RbAwK.css","assets/Index-CShAY9sk.js","assets/Index-qEWsVaDe.js","assets/Index-DyYLUzbC.js","assets/json-tree-view-vue3.es-BsglhTJu.js","assets/Index-C66tLKvy.css","assets/Toolbox-CyQN5knH.js","assets/Toolbox-B5KXz4eX.css","assets/DynamicComponent-Wyi-ea9E.js","assets/DynamicComponent-DgxRO4Pl.css","assets/Modals-CcPPWWo_.js","assets/Modal-DfzlogP3.js","assets/Modal-CGUZawhK.css","assets/index-B-UE6JmD.js","assets/index-Bv49zKKl.js","assets/index-OI8gr_S5.js","assets/Logs-CyV9jI9C.js","assets/dayjs.min-CfWDS3UC.js","assets/fs-BJo4gV3E.js","assets/index-DFxHrn4y.js","assets/index-uAL7sKn7.js","assets/Logs-DX9U7WTO.css","assets/Git-BbebF7nu.js","assets/currentEditor-D3XVS39E.js","assets/Git-UQIt5ANe.css","assets/Index-DsBVNXJ8.js","assets/sort-BibmqbFD.js","assets/Index-BcFahN3S.css","assets/Npm-CQ5CrcHe.js","assets/Npm-KBzO1DYv.css","assets/Bugs-SLUzCwvS.js","assets/Bugs-DZVuTDKA.css","assets/Configs-CI4rTNMZ.js","assets/index-BF7FF_-U.js","assets/index-D5sk91UH.js","assets/index-BE770P-h.js","assets/index-CMj4Y1Yg.js","assets/lodash-D2RHCRSL.js","assets/Configs-BY4CcR9H.css","assets/Index-Oc79QNQL.js","assets/Markdown-plhGD_CA.js","assets/Markdown-CqAPHaPe.css","assets/index-CVX2mTq9.js","assets/Index-CvhWs0kp.css","assets/StackChooser-Cyfm3biQ.js","assets/system-BKM6fTSw.js","assets/LeftLogo-DZyE6XwZ.js","assets/LeftLogo-DsGaOcJY.css","assets/StackChooser-BFZVWsf1.js","assets/StackChooser-mg-uox7H.css","assets/StackChooser-DRNfmbOi.css","assets/StackSingle-D3NiZMLJ.js","assets/Tabs-Cgyr_8he.js","assets/Tabs-BGPqRkjE.css","assets/CurrentEditor-DNhSWY_9.js","assets/CurrentEditor-CICqnVzc.css","assets/StackSingle-BVHxvisP.css","assets/Overview-CN6pSTFP.js","assets/Overview-D94ypoub.css","assets/StackMultiple-CGOytGPV.js","assets/StackMultiple-CiXqkibR.css","assets/ImportCreate-BhZ9H4dz.js","assets/ImportCreate-D2Vb-Kah.css","assets/Settings-DS3bER2h.js","assets/Settings-DvieCtW4.css","assets/Init-B6-OnXzN.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a2 as tn,a3 as Ie,Z as Lt,a4 as en,a5 as xt,a6 as nn,c as bt,a7 as Le,a8 as qt,r as St,w as De,i as rn,a9 as dt,aa as ot,k as B,ab as on,S as Bt}from"./index-CXxIspfv.js";import{c as $t,g as an}from"./_commonjsHelpers-D6-XlEtG.js";import{E as sn}from"./Editor-B--wgkn6.js";import{_ as cn}from"./Section-D0z9MjV4.js";/*!
|
|
3
3
|
* vue-router v4.5.1
|
|
4
4
|
* (c) 2025 Eduardo San Martin Morote
|
|
5
5
|
* @license MIT
|
|
@@ -100,4 +100,4 @@ import{a2 as tn,a3 as Ie,Z as Lt,a4 as en,a5 as xt,a6 as nn,c as bt,a7 as Le,a8
|
|
|
100
100
|
`);return this._settledValue()},a=w.prototype.error=w.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
|
|
101
101
|
|
|
102
102
|
See http://goo.gl/MqrFmX
|
|
103
|
-
`);return this._settledValue()},y=w.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},f=w.prototype.isRejected=function(){return(this._bitField&16777216)!==0},u=w.prototype.isPending=function(){return(this._bitField&50397184)===0},h=w.prototype.isResolved=function(){return(this._bitField&50331648)!==0};w.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return u.call(this._target())},t.prototype.isRejected=function(){return f.call(this._target())},t.prototype.isFulfilled=function(){return y.call(this._target())},t.prototype.isResolved=function(){return h.call(this._target())},t.prototype.value=function(){return c.call(this._target())},t.prototype.reason=function(){var d=this._target();return d._unsetRejectionIsUnhandled(),a.call(d)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=w}},{}],33:[function(r,s,R){s.exports=function(t,w){var c=r("./util"),a=c.errorObj,y=c.isObject;function f(_,b){if(y(_)){if(_ instanceof t)return _;var p=h(_);if(p===a){b&&b._pushContext();var v=t.reject(p.e);return b&&b._popContext(),v}else if(typeof p=="function"){if(m(_)){var v=new t(w);return _._then(v._fulfill,v._reject,void 0,v,null),v}return g(_,p,b)}}return _}function u(_){return _.then}function h(_){try{return u(_)}catch(b){return a.e=b,a}}var d={}.hasOwnProperty;function m(_){try{return d.call(_,"_promise0")}catch{return!1}}function g(_,b,p){var v=new t(w),T=v;p&&p._pushContext(),v._captureStackTrace(),p&&p._popContext();var A=!0,x=c.tryCatch(b).call(_,U,V);A=!1,v&&x===a&&(v._rejectCallback(x.e,!0,!0),v=null);function U(H){v&&(v._resolveCallback(H),v=null)}function V(H){v&&(v._rejectCallback(H,A,!0),v=null)}return T}return f}},{"./util":36}],34:[function(r,s,R){s.exports=function(t,w,c){var a=r("./util"),y=t.TimeoutError;function f(_){this.handle=_}f.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(_){return h(+this).thenReturn(_)},h=t.delay=function(_,b){var p,v;return b!==void 0?(p=t.resolve(b)._then(u,null,null,_,void 0),c.cancellation()&&b instanceof t&&p._setOnCancel(b)):(p=new t(w),v=setTimeout(function(){p._fulfill()},+_),c.cancellation()&&p._setOnCancel(new f(v)),p._captureStackTrace()),p._setAsyncGuaranteed(),p};t.prototype.delay=function(_){return h(_,this)};var d=function(_,b,p){var v;typeof b!="string"?b instanceof Error?v=b:v=new y("operation timed out"):v=new y(b),a.markAsOriginatingFromRejection(v),_._attachExtraTrace(v),_._reject(v),p!=null&&p.cancel()};function m(_){return clearTimeout(this.handle),_}function g(_){throw clearTimeout(this.handle),_}t.prototype.timeout=function(_,b){_=+_;var p,v,T=new f(setTimeout(function(){p.isPending()&&d(p,b,v)},_));return c.cancellation()?(v=this.then(),p=v._then(m,g,void 0,T,void 0),p._setOnCancel(T)):p=this._then(m,g,void 0,T,void 0),p}}},{"./util":36}],35:[function(r,s,R){s.exports=function(t,w,c,a,y,f){var u=r("./util"),h=r("./errors").TypeError,d=r("./util").inherits,m=u.errorObj,g=u.tryCatch,_={};function b(V){setTimeout(function(){throw V},0)}function p(V){var H=c(V);return H!==V&&typeof V._isDisposable=="function"&&typeof V._getDisposer=="function"&&V._isDisposable()&&H._setDisposable(V._getDisposer()),H}function v(V,H){var W=0,Z=V.length,G=new t(y);function X(){if(W>=Z)return G._fulfill();var $=p(V[W++]);if($ instanceof t&&$._isDisposable()){try{$=c($._getDisposer().tryDispose(H),V.promise)}catch(z){return b(z)}if($ instanceof t)return $._then(X,b,null,null,null)}X()}return X(),G}function T(V,H,W){this._data=V,this._promise=H,this._context=W}T.prototype.data=function(){return this._data},T.prototype.promise=function(){return this._promise},T.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():_},T.prototype.tryDispose=function(V){var H=this.resource(),W=this._context;W!==void 0&&W._pushContext();var Z=H!==_?this.doDispose(H,V):null;return W!==void 0&&W._popContext(),this._promise._unsetDisposable(),this._data=null,Z},T.isDisposer=function(V){return V!=null&&typeof V.resource=="function"&&typeof V.tryDispose=="function"};function A(V,H,W){this.constructor$(V,H,W)}d(A,T),A.prototype.doDispose=function(V,H){var W=this.data();return W.call(V,V,H)};function x(V){return T.isDisposer(V)?(this.resources[this.index]._setDisposable(V),V.promise()):V}function U(V){this.length=V,this.promise=null,this[V-1]=null}U.prototype._resultCancelled=function(){for(var V=this.length,H=0;H<V;++H){var W=this[H];W instanceof t&&W.cancel()}},t.using=function(){var V=arguments.length;if(V<2)return w("you must pass at least 2 arguments to Promise.using");var H=arguments[V-1];if(typeof H!="function")return w("expecting a function but got "+u.classString(H));var W,Z=!0;V===2&&Array.isArray(arguments[0])?(W=arguments[0],V=W.length,Z=!1):(W=arguments,V--);for(var G=new U(V),X=0;X<V;++X){var $=W[X];if(T.isDisposer($)){var z=$;$=$.promise(),$._setDisposable(z)}else{var M=c($);M instanceof t&&($=M._then(x,null,null,{resources:G,index:X},void 0))}G[X]=$}for(var q=new Array(G.length),X=0;X<q.length;++X)q[X]=t.resolve(G[X]).reflect();var nt=t.all(q).then(function(J){for(var Y=0;Y<J.length;++Y){var it=J[Y];if(it.isRejected())return m.e=it.error(),m;if(!it.isFulfilled()){nt.cancel();return}J[Y]=it.value()}tt._pushContext(),H=g(H);var k=Z?H.apply(void 0,J):H(J),ut=tt._popContext();return f.checkForgottenReturns(k,ut,"Promise.using",tt),k}),tt=nt.lastly(function(){var J=new t.PromiseInspection(nt);return v(G,J)});return G.promise=tt,tt._setOnCancel(G),tt},t.prototype._setDisposable=function(V){this._bitField=this._bitField|131072,this._disposer=V},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(V){if(typeof V=="function")return new A(V,this,a());throw new h}}},{"./errors":12,"./util":36}],36:[function(r,s,R){var t=r("./es5"),w=typeof navigator>"u",c={e:{}},a,y=typeof self<"u"?self:typeof window<"u"?window:typeof $t<"u"?$t:this!==void 0?this:null;function f(){try{var i=a;return a=null,i.apply(this,arguments)}catch(E){return c.e=E,c}}function u(i){return a=i,f}var h=function(i,E){var O={}.hasOwnProperty;function I(){this.constructor=i,this.constructor$=E;for(var j in E.prototype)O.call(E.prototype,j)&&j.charAt(j.length-1)!=="$"&&(this[j+"$"]=E.prototype[j])}return I.prototype=E.prototype,i.prototype=new I,i.prototype};function d(i){return i==null||i===!0||i===!1||typeof i=="string"||typeof i=="number"}function m(i){return typeof i=="function"||typeof i=="object"&&i!==null}function g(i){return d(i)?new Error(Z(i)):i}function _(i,E){var O=i.length,I=new Array(O+1),j;for(j=0;j<O;++j)I[j]=i[j];return I[j]=E,I}function b(i,E,O){if(t.isES5){var I=Object.getOwnPropertyDescriptor(i,E);if(I!=null)return I.get==null&&I.set==null?I.value:O}else return{}.hasOwnProperty.call(i,E)?i[E]:void 0}function p(i,E,O){if(d(i))return i;var I={value:O,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(i,E,I),i}function v(i){throw i}var T=function(){var i=[Array.prototype,Object.prototype,Function.prototype],E=function(j){for(var P=0;P<i.length;++P)if(i[P]===j)return!0;return!1};if(t.isES5){var O=Object.getOwnPropertyNames;return function(j){for(var P=[],Q=Object.create(null);j!=null&&!E(j);){var ft;try{ft=O(j)}catch{return P}for(var ct=0;ct<ft.length;++ct){var yt=ft[ct];if(!Q[yt]){Q[yt]=!0;var gt=Object.getOwnPropertyDescriptor(j,yt);gt!=null&>.get==null&>.set==null&&P.push(yt)}}j=t.getPrototypeOf(j)}return P}}else{var I={}.hasOwnProperty;return function(j){if(E(j))return[];var P=[];t:for(var Q in j)if(I.call(j,Q))P.push(Q);else{for(var ft=0;ft<i.length;++ft)if(I.call(i[ft],Q))continue t;P.push(Q)}return P}}}(),A=/this\s*\.\s*\S+\s*=/;function x(i){try{if(typeof i=="function"){var E=t.names(i.prototype),O=t.isES5&&E.length>1,I=E.length>0&&!(E.length===1&&E[0]==="constructor"),j=A.test(i+"")&&t.names(i).length>0;if(O||I||j)return!0}return!1}catch{return!1}}function U(i){function E(){}E.prototype=i;var O=new E;function I(){return typeof O.foo}return I(),I(),i}var V=/^[a-z$_][a-z$_0-9]*$/i;function H(i){return V.test(i)}function W(i,E,O){for(var I=new Array(i),j=0;j<i;++j)I[j]=E+j+O;return I}function Z(i){try{return i+""}catch{return"[no string representation]"}}function G(i){return i instanceof Error||i!==null&&typeof i=="object"&&typeof i.message=="string"&&typeof i.name=="string"}function X(i){try{p(i,"isOperational",!0)}catch{}}function $(i){return i==null?!1:i instanceof Error.__BluebirdErrorTypes__.OperationalError||i.isOperational===!0}function z(i){return G(i)&&t.propertyIsWritable(i,"stack")}var M=function(){return"stack"in new Error?function(i){return z(i)?i:new Error(Z(i))}:function(i){if(z(i))return i;try{throw new Error(Z(i))}catch(E){return E}}}();function q(i){return{}.toString.call(i)}function nt(i,E,O){for(var I=t.names(i),j=0;j<I.length;++j){var P=I[j];if(O(P))try{t.defineProperty(E,P,t.getDescriptor(i,P))}catch{}}}var tt=function(i){return t.isArray(i)?i:null};if(typeof Symbol<"u"&&Symbol.iterator){var J=typeof Array.from=="function"?function(i){return Array.from(i)}:function(i){for(var E=[],O=i[Symbol.iterator](),I;!(I=O.next()).done;)E.push(I.value);return E};tt=function(i){return t.isArray(i)?i:i!=null&&typeof i[Symbol.iterator]=="function"?J(i):null}}var Y=typeof process<"u"&&q(process).toLowerCase()==="[object process]",it=typeof process<"u"&&typeof o<"u";function k(i){return it?o[i]:void 0}function ut(){if(typeof Promise=="function")try{var i=new Promise(function(){});if(q(i)==="[object Promise]")return Promise}catch{}}var pt;function F(i,E){if(i===null||typeof E!="function"||E===pt)return E;i.domain!==null&&(E=i.domain.bind(E));var O=i.async;if(O!==null){var I=E;E=function(){var j=new Array(2).concat([].slice.call(arguments));return j[0]=I,j[1]=this,O.runInAsyncScope.apply(O,j)}}return E}var l={setReflectHandler:function(i){pt=i},isClass:x,isIdentifier:H,inheritedDataKeys:T,getDataPropertyOrDefault:b,thrower:v,isArray:t.isArray,asArray:tt,notEnumerableProp:p,isPrimitive:d,isObject:m,isError:G,canEvaluate:w,errorObj:c,tryCatch:u,inherits:h,withAppended:_,maybeWrapAsError:g,toFastProperties:U,filledRange:W,toString:Z,canAttachTrace:z,ensureErrorObject:M,originatesFromRejection:$,markAsOriginatingFromRejection:X,classString:q,copyDescriptors:nt,isNode:Y,hasEnvVariables:it,env:k,global:y,getNativePromise:ut,contextBind:F};l.isRecentNode=l.isNode&&function(){var i;return process.versions&&process.versions.node?i=process.versions.node.split(".").map(Number):process.version&&(i=process.version.split(".").map(Number)),i[0]===0&&i[1]>10||i[0]>0}(),l.nodeSupportsAsyncResource=l.isNode&&function(){var i=!1;try{var E=r("async_hooks").AsyncResource;i=typeof E.prototype.runInAsyncScope=="function"}catch{i=!1}return i}(),l.isNode&&l.toFastProperties(process);try{throw new Error}catch(i){l.lastLineError=i}s.exports=l},{"./es5":13,async_hooks:void 0}]},{},[4])(4)}),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}(te)),te.exports}var vr=dr();const _r=an(vr);let Ut;const gr=new Uint8Array(16);function yr(){if(!Ut&&(Ut=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ut))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ut(gr)}const _t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function mr(e,n=0){return _t[e[n+0]]+_t[e[n+1]]+_t[e[n+2]]+_t[e[n+3]]+"-"+_t[e[n+4]]+_t[e[n+5]]+"-"+_t[e[n+6]]+_t[e[n+7]]+"-"+_t[e[n+8]]+_t[e[n+9]]+"-"+_t[e[n+10]]+_t[e[n+11]]+_t[e[n+12]]+_t[e[n+13]]+_t[e[n+14]]+_t[e[n+15]]}const br=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Fe={randomUUID:br};function wr(e,n,o){if(Fe.randomUUID&&!e)return Fe.randomUUID();e=e||{};const r=e.random||(e.rng||yr)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,mr(r)}function Gt(){this.funcs=[]}Gt.prototype.subscribe=function(e){return this.funcs.push(e),{unsubscribe:()=>this.unsubscribe(e)}};Gt.prototype.next=function(...e){this.funcs.forEach(n=>n(...e))};Gt.prototype.unsubscribe=function(e){this.funcs=[...this.funcs.filter(n=>n!==e)]};const Ae=pr();class Er{constructor(){this.notifs=St([]),this.notifsHistory=St([]),this.openHistory=new Gt,this.mutedNotifications=St(JSON.parse(localStorage.getItem("muted-notifications")||JSON.stringify({error:{}}))),De(()=>this.mutedNotifications.value,()=>{localStorage.setItem("muted-notifications",JSON.stringify(this.mutedNotifications.value))},{deep:!0})}next(n,o,r=void 0,s=null,R=null){var w,c;if((w=this.mutedNotifications.value[n])!=null&&w.MUTED_ALL||R&&((c=this.mutedNotifications.value[n])!=null&&c[R]))return;s||(this.next(n,o,r,this.notifsHistory.value,R),s=this.notifs.value);let t=s.find(a=>a.type===n&&a.serviceLabel===r&&r);if(t){const a=t.msgs.find(f=>f.label===o),y=a||{label:o,nb:0};y.nb+=1,a||t.msgs.unshift(y)}else{const a=s.find(u=>u.type===n&&!u.serviceLabel&&u.msgs.find(h=>h.label===o));t=a||{id:wr(),type:n,msgs:[],serviceLabel:r,nb:0};const y=t.msgs.find(u=>u.label===o),f=y||{label:o,nb:0};f.nb+=1,y||t.msgs.unshift(f),a||s.unshift(t)}clearTimeout(t.timeout),t.timeout=setTimeout(()=>{t&&this.remove(t)},5e3)}remove(n,o=!1){const r=this.notifs.value.indexOf(n);r>-1&&this.notifs.value.splice(r,1),o&&n.serviceLabel&&Ae.push({name:"stack-single",params:{label:n.serviceLabel}})}removeHistory(n,o){const r=this.notifsHistory.value.indexOf(n);r>-1&&this.notifsHistory.value.splice(r,1),o&&n.serviceLabel&&Ae.push({name:"stack-single",params:{label:n.serviceLabel}})}}const Cr=new Er,Rr=[{name:"OpenApi",component:dt(()=>ot(()=>import("./Index-CXn-ZwGz.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])))},{name:"Finder",component:dt(()=>ot(()=>import("./Index-DbwN_Se_.js"),__vite__mapDeps([12,3,4,13,1,2,5,6,9,10])))},{name:"Git-NotUpToDate",component:dt(()=>ot(()=>import("./NotUpToDate-t3p2zniq.js"),__vite__mapDeps([14,2,3,4,5,6,15,16,1,9,10,17])))},{name:"Help",component:dt(()=>ot(()=>import("./Index-BGpzaK8G.js"),__vite__mapDeps([18,5,3,4])))},{name:"Workflows",component:dt(()=>ot(()=>import("./Index-CRZ-g8e2.js"),__vite__mapDeps([19,3,4])))},{name:"Docker",component:dt(()=>ot(()=>import("./Index-B4Jvfo8e.js"),__vite__mapDeps([20,21,3,4,2,5,6,1,9,10,22])))},{name:"Toolbox",component:dt(()=>ot(()=>import("./Toolbox-Di3ea2VB.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24]))),children:[{path:":plugin",component:dt(()=>ot(()=>import("./DynamicComponent-DCIgHp0w.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26]))),props:{context:"toolbox"}}]}],Ke=[{name:"WorkflowsModals",cmp:dt(()=>ot(()=>import("./Modals-BzQS_5UQ.js"),__vite__mapDeps([27,28,3,4,5,29,30,31,32,1,9,10,2,6]))),load:!0},{name:"DynamicComponent",cmp:dt(()=>ot(()=>import("./DynamicComponent-DCIgHp0w.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26])))},...Rr.map(({name:e,component:n,children:o})=>({name:e,cmp:n,routes:[{path:`/${e}`,name:e,component:n,children:o}]})),{name:"Dynamic",component:dt(()=>ot(()=>import("./DynamicComponent-DCIgHp0w.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26]))),routes:[{path:"/dynamic/:plugin",name:"dynamic",component:dt(()=>ot(()=>import("./DynamicComponent-DCIgHp0w.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26]))),props:{context:"sidebar"}}]},{name:"Logs",cmp:dt(()=>ot(()=>import("./Logs-jwvcWIZr.js"),__vite__mapDeps([33,3,4,1,34,13,5,2,6,35,15,16,31,30,32,36,37,21,9,10,38,29])))},{name:"Git",cmp:dt(()=>ot(()=>import("./Git-BTmTOBkZ.js"),__vite__mapDeps([39,3,4,28,5,29,2,6,7,8,40,1,9,10,41])))},{name:"Github",cmp:dt(()=>ot(()=>import("./Index-BHEG6rJY.js"),__vite__mapDeps([42,3,4,2,5,6,43,1,34,15,16,13,8,9,10,44])))},{name:"Npm",cmp:dt(()=>ot(()=>import("./Npm-Dqy7RKe-.js"),__vite__mapDeps([45,2,3,4,5,6,15,16,30,31,32,1,9,10,46])))},{name:"Bugs",cmp:dt(()=>ot(()=>import("./Bugs-n-hL7tUR.js"),__vite__mapDeps([47,2,3,4,5,6,15,16,30,31,32,1,9,10,48])))},{name:"Configuration",cmp:dt(()=>ot(()=>import("./Configs-bQOmYUwB.js"),__vite__mapDeps([49,50,31,3,4,32,36,51,30,52,37,53,2,5,6,28,29,54,1,9,10,55])))},{name:"Documentation",cmp:dt(()=>ot(()=>import("./Index-q3C0za8f.js"),__vite__mapDeps([56,3,4,2,5,6,50,31,32,57,1,53,58,59,36,9,10,60])))}],Nt=St([]);globalThis.toolboxPlugins=St([]);globalThis.sidebarPlugins=St([]);function kr(e,n){const o=e.toLowerCase();document.querySelectorAll(o).forEach(s=>n(s));const r=new MutationObserver(s=>{var R,t;for(const w of s)for(const c of w.addedNodes)c.nodeType===Node.ELEMENT_NODE&&(c.tagName.toLowerCase()===o&&n(c),(t=(R=c.querySelectorAll)==null?void 0:R.call(c,o))==null||t.forEach(a=>n(a)))});return r.observe(document.body,{childList:!0,subtree:!0}),r}function je(e){Sr(e),document.querySelectorAll('head > style, head > link[rel="stylesheet"]').forEach(r=>{const s=r.cloneNode(!0);e.prepend(s)}),document.querySelectorAll('head > style[data-primevue-style-id="variables"]').forEach(r=>{const s=r.cloneNode(!0);e.appendChild(s)})}function Sr(e){new MutationObserver(o=>{o.forEach(r=>{r.addedNodes.forEach(s=>{if(s instanceof HTMLStyleElement){const R=s.cloneNode(!0);e.appendChild(R)}})})}).observe(document.head,{childList:!0,subtree:!1})}const Oe=(e,n)=>{kr(e,async o=>{try{je(o.shadowRoot)}catch{await new Promise(s=>setTimeout(s,1e3)),je(o.shadowRoot)}}),customElements.define(e,n)},Tr=e=>n=>{n.placements.forEach(o=>{const r=o.component;if(o.location==="toolbox"){const s=e+"-toolbox";Oe(s,r),globalThis.toolboxPlugins.value.push({...o,id:e})}else if(o.location==="sidebar"){const s=e+"-sidebar";Oe(s,r),globalThis.sidebarPlugins.value.push({...o,id:e})}})},xr=(e,n)=>{Tr(e.replaceAll("@","").replaceAll("/","-"))(n)};B.get("/plugins").then(async e=>{Nt.value=e.data.sort((n,o)=>o.name.localeCompare(n.name)),console.log("load plugins...",Nt.value.map(n=>n.name)),await _r.map(Nt.value,async n=>{var o,r;if((r=(o=n.config.runeya.entries)==null?void 0:o.front)!=null&&r.js){const s=n.name;globalThis[s]=R=>{const t=R({assetsBasePath:`/plugins/${encodeURIComponent(s)}/assets`,components:{Editor:sn,Section:cn},callServer:(w,...c)=>B.post(`/plugins/${encodeURIComponent(s)}/call/${encodeURIComponent(w)}`,{args:c}),customCallServer:w=>(c,...a)=>B.post(`/plugins/${encodeURIComponent(s)}/call/${encodeURIComponent(c)}`,{args:a},w),socket:{emit:(w,...c)=>{Bt.emit(encodeURIComponent(s)+"-"+w,...c)},on:(w,c)=>{Bt.on(encodeURIComponent(s)+"-"+w,c)},off:(w,c)=>{Bt.off(encodeURIComponent(s)+"-"+w,c)}},primevueConfig:{theme:{preset:on,options:{}}},router:ae,notification:Cr});xr(s,t)};try{await import(`/plugins/${encodeURIComponent(n.name)}/js`)}catch(R){console.error(`❌ Erreur lors du chargement du plugin ${n.name}:`,R)}}})});const Pr=Object.freeze(Object.defineProperty({__proto__:null,default:Ke,remotePlugins:Nt},Symbol.toStringTag,{value:"Module"}));class Fr{constructor(n){var o,r,s;this.label=n.label||"",this.commands=n.commands||[],this.rootPath=n.rootPath||((s=(r=(o=this.commands)==null?void 0:o[0])==null?void 0:r.spawnOptions)==null?void 0:s.cwd)||"",this.envs={},this.shortcuts=[],this.updateFields(n)}updateFields(n){var o,r,s;if(!n.label)throw new Error("A service should have a label");this.label=n.label,this.description=n.description||"",this.url=n.url||"",this.openapiURL=n.openapiURL||"",this.spawnCmd=n.spawnCmd||"",this.enabled=n.enabled||!1,this.crashed=n.crashed||!1,this.exited=n.exited||!1,this.groups=n.groups||[],this.parsers=n.parsers||[],this.urls=n.urls||[],this.spawnArgs=n.spawnArgs||[],this.health||(this.health={}),this._updateObjectWithReferences(this.health,n.health||{enabled:!1,url:"",interval:"",method:"GET",returnCode:200,responseText:"",timeout:0,startAfter:0}),this.git||(this.git={}),this._updateObjectWithReferences(this.git,n.git||{home:"",remote:"",branches:[],stash:[],delta:0,currentBranch:"",status:[]}),this.spawnOptions||(this.spawnOptions={}),this._updateObjectWithReferences(this.spawnOptions,n.spawnOptions||{cwd:"",env:""}),this.commands||(this.commands=[]),n.commands?this._updateArrayWithReferences(this.commands,n.commands,"spawnCmd"):this.commands.length=0,this.shortcuts||(this.shortcuts=[]),n.shortcuts?this._updateArrayWithReferences(this.shortcuts,n.shortcuts,"label"):this.shortcuts.length=0,this.envs||(this.envs={}),this._updateObjectWithReferences(this.envs,n.envs||{}),this.rootPath=n.rootPath||((s=(r=(o=this.commands)==null?void 0:o[0])==null?void 0:r.spawnOptions)==null?void 0:s.cwd)||"",n.container?(this.container||(this.container={}),this._updateObjectWithReferences(this.container,n.container),this.container.volumes||(this.container.volumes=[]),this.container.ignoreVolumes||(this.container.ignoreVolumes=[])):this.container=n.container,this.meta||(this.meta={}),this._updateObjectWithReferences(this.meta,n.meta||{})}_updateArrayWithReferences(n,o,r){if(!n||!o)return;const s={};n.forEach(R=>{R&&R[r]&&(s[R[r]]=R)}),n.length=0,o.forEach(R=>{if(R&&R[r]&&s[R[r]]){const t=s[R[r]];this._updateObjectWithReferences(t,R),n.push(t)}else n.push(R)})}_updateObjectWithReferences(n,o){!n||!o||(Object.keys(n).forEach(r=>{r in o||delete n[r]}),Object.keys(o).forEach(r=>{const s=o[r];if(s===void 0)return;if(!(r in n)){n[r]=s;return}const R=n[r];if(s===null)n[r]=null;else if(Array.isArray(s))if(!Array.isArray(R))n[r]=s;else if(s.length>0&&typeof s[0]=="object"&&s[0]!==null){const t=s[0],c=["id","name","label","spawnCmd","key"].find(a=>a in t)||Object.keys(t)[0];this._updateArrayWithReferences(R,s,c)}else R.length=0,s.forEach(t=>R.push(t));else typeof s=="object"?typeof R!="object"||R===null?n[r]=s:this._updateObjectWithReferences(R,s):n[r]=s}))}async updateGit(){var n;if((n=this.git)!=null&&n.remote){this.git.branches=await this.getBranches(),this.git.currentBranch=await this.getCurrentBranch(),this.git.status=await this.getStatus();const o=await this.stashList();this.git.stash=o}}async fetch(){const{data:n}=await B.get(`/stack/${this.label}/`);return this.updateFields(n),this}async getLogs(){const{data:n}=await B.get(`/logs/${this.label}/logs`);return n}async sendTerminalPrompt(n){const{data:o}=await B.post(`/logs/${this.label}/prompt`,{...n,service:this.label});return o}async sendTerminalTerminate(n){const{data:o}=await B.post(`/logs/${this.label}/terminate`,{...n,service:this.label});return o}async clear(){const{data:n}=await B.delete(`/logs/${this.label}/logs`);return n}async autocomplete(n,{force:o}={}){const{data:r}=await B.get(`/logs/${this.label}/autocomplete`,{params:{message:n,force:!!o}});return r}async openInVsCode(n,o){return B.get(`/editors/${this.label}/open-in-vs-code`,{params:{path:n,editor:o}})}async openLinkInVsCode(n,o){return B.get(`/editors/${this.label}/open-link-in-vs-code`,{params:{link:n,editor:o}})}async openFolder(n){return B.get(`/stack/${this.label}/open-folder`,{params:{path:n}})}async restart(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/restart`)}async start(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/start`)}async stop(){return this.enabled=!1,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/stop`)}async getBranches(){const{data:n}=await B.get(`/git/${this.label}/branches`);return n}async getCurrentBranch(){const{data:n}=await B.get(`/git/${this.label}/current-branch`);return n}async addBranch(n,o){const{data:r}=await B.post(`/git/${this.label}/add-branch`,{shouldPush:o,name:n});return r}async getStatus(){const{data:n}=await B.get(`/git/${this.label}/status`);return n}async getDiff(){const{data:n}=await B.get(`/git/${this.label}/diff`);return n}async changeBranch(n){await B.post(`/git/${this.label}/branch/${encodeURIComponent(n)}/change`)}async deleteBranch(n){await B.delete(`/git/${this.label}/branch/${encodeURIComponent(n)}`)}async gitRemoteDelta(n){this.git&&(this.git.delta=null);const{data:o}=await B.get(`/git/${this.label}/branch/${encodeURIComponent(n)}/remote-delta`);return this.git&&(this.git.delta=o),o}async gitFetch(){await B.post(`/git/${this.label}/fetch`)}async getGraph(n){const{data:o}=await B.get(`/git/${this.label}/graph`,{params:{graphOnAll:n}});return o}async reset(){await B.delete(`/git/${this.label}/reset`)}async stash(){return await B.post(`/git/${this.label}/stash`),this.updateGit()}async stashPop(){await B.post(`/git/${this.label}/stash-pop`)}async pull(){await B.post(`/git/${this.label}/pull`)}async stashList(){const{data:n}=await B.post(`/git/${this.label}/stash-list`);return n}async checkoutFile(n){n=encodeURIComponent(n),await B.delete(`/git/${this.label}/checkout/${n}`)}async isNpm(n){const{data:o}=await B.get(`/npm/${this.label}`,{params:{cwd:n}});return o}async getNpmPaths(){const{data:n}=await B.get(`/npm/${this.label}/paths`);return n}async getPackageJSON(n){const{data:o}=await B.get(`/npm/${this.label}/packagejson`,{params:{cwd:n}});return o}async outdatedNpm(n){const{data:o}=await B.get(`/npm/${this.label}/outdated`,{params:{cwd:n}});return o}async getBugs(n){const{data:o}=await B.get(`/bugs/${this.label}`,{params:{cwd:n}});return o||[]}async save(){return await B.post("/stack/services",this),this}static async getTokens(n){const{data:o}=await B.post("/openai/tokenize",{data:n});return o||[]}static async reviewFromAi(n){const{data:o}=await B.post("/openai/review",{data:n});return o||[]}static async findSolutionFromAi(n){const{data:o}=await B.post("/openai/error",{data:n});return o||[]}static async homedir(){const{data:n}=await B.post("/fs/homedir");return n||""}}function vt(){this.services=St([]),Bt.on("conf:update",e=>{e.length&&e.forEach(n=>{const o=this.services.value.find(r=>r.label===n);o&&o.fetch()})})}vt.prototype.loadServices=async function(){const{data:e}=await B.get("/stack/services"),n={};this.services.value.forEach(r=>{n[r.label]=r});const o=e.filter(r=>r).map(r=>n[r.label]?(n[r.label].updateFields(r),n[r.label]):new Fr(r));return this.services.value=o,this.services.value};vt.prototype.scenarios=async function(e,n){const{data:o}=await B.get("/red/flows");return o.filter(r=>e==="services"&&r.launchType===e?r.services.split(",").includes(n):!1)};vt.prototype.getEnvironment=async function(){const{data:e}=await B.get("/stack/environment");return e};vt.prototype.getAdditionalThemes=async function(){const{data:e}=await B.get("/stack/additional-themes");return e};vt.prototype.getEnvironments=async function(){const{data:e}=await B.get("/stack/environments");return e};vt.prototype.changeEnvironment=async function(e){const{data:n}=await B.post("/stack/environment",{environment:e});return n};vt.prototype.shouldSetup=async function(){const{data:e}=await B.get("/crypto/should-setup");return e};vt.prototype.createEnvironment=async function(e){const{data:n}=await B.post("/stack/environment/create",{environment:e});return n};vt.prototype.getAllConfsPath=async function(){const{data:e}=await B.get("/stack/all-confs-path");return e};vt.prototype.selectConf=async function(e){await B.post("/stack/select-conf/",{path:e})};vt.prototype.deleteConf=async function(e){await B.post("/stack/delete-conf/",{path:e})};vt.prototype.launchServices=async function(e){return await B.post("/stack/choose",e),this.loadServices()};vt.prototype.getService=async function(e){return this.services.value.length||await this.loadServices(),this.services.value.filter(n=>n.label===e).pop()};vt.prototype.restartAllServices=async function(){return await B.get("/stack/restart-all"),this.loadServices()};vt.prototype.restartApplication=async function(){try{await B.get("/system/restart"),console.log("Application restarting...")}catch(e){throw console.error("Error while restarting the application:",e),e}};vt.prototype.getAvailableEditors=async function(){const{data:e}=await B.get("/editors/available-editors");return e};vt.prototype.getEnabledServices=async function(){return this.services.value.length||await this.loadServices(),this.services.value.filter(e=>e.enabled)};const Ar=new vt,jr=Ke.map(e=>e.routes).filter(e=>e).flat(),Or=[{path:"/stack-chooser",name:"stack-chooser",component:()=>ot(()=>import("./StackChooser-BeFnlQEV.js"),__vite__mapDeps([61,62,3,4,63,5,64,65,2,6,66,1,9,10,67]))},{path:"/stack-single/:label",name:"stack-single",component:()=>ot(()=>import("./StackSingle-B134QzRJ.js"),__vite__mapDeps([68,62,3,4,5,2,6,69,70,71,40,15,16,72,1,9,10,73]))},{path:"/stack-single",name:"stack-single-no-view",component:()=>ot(()=>import("./StackSingle-B134QzRJ.js"),__vite__mapDeps([68,62,3,4,5,2,6,69,70,71,40,15,16,72,1,9,10,73]))},{path:"/overview",name:"overview",component:()=>ot(()=>import("./Overview-DoYNIFEp.js"),__vite__mapDeps([74,2,3,4,5,6,65,62,63,64,66,15,16,1,9,10,75]))},{path:"/stack-multiple",name:"stack-multiple",component:()=>ot(()=>import("./StackMultiple-Co1TxdN7.js"),__vite__mapDeps([76,2,3,4,5,6,69,70,1,9,10,77]))},{path:"/import-create",name:"import-create",component:()=>ot(()=>import("./ImportCreate-DA8nt12l.js"),__vite__mapDeps([78,63,3,4,5,64,2,6,28,29,35,62,1,9,10,79]))},{path:"/settings",name:"settings-no-view",component:()=>ot(()=>import("./Settings-B3LTHHPc.js"),__vite__mapDeps([80,3,4,2,5,6,32,31,51,30,50,36,52,37,28,29,53,71,40,15,16,72,59,1,9,10,81])),children:[{path:":setting",name:"settings",component:()=>ot(()=>import("./Settings-B3LTHHPc.js"),__vite__mapDeps([80,3,4,2,5,6,32,31,51,30,50,36,52,37,28,29,53,71,40,15,16,72,59,1,9,10,81]))}]},{path:"/init",name:"init",component:()=>ot(()=>import("./Init-DR8vFROF.js"),__vite__mapDeps([82,5,3,4]))},...jr,{name:"not-found",path:"/:pathMatch(.*)*",redirect:{name:"stack-chooser"}}],ae=fr({history:Un(),routes:Or});ae.beforeEach(async(e,n)=>{if((e.name!=="settings"||e.params.setting!=="crypto")&&await Ar.shouldSetup())return{name:"settings",params:{setting:"crypto"},query:{wrongKey:"true"}}});const $r=Object.freeze(Object.defineProperty({__proto__:null,default:ae},Symbol.toStringTag,{value:"Module"}));export{Gt as C,_r as P,Ar as S,Fr as a,Hr as b,Pr as c,Cr as n,Ke as p,$r as r,pr as u,wr as v};
|
|
103
|
+
`);return this._settledValue()},y=w.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},f=w.prototype.isRejected=function(){return(this._bitField&16777216)!==0},u=w.prototype.isPending=function(){return(this._bitField&50397184)===0},h=w.prototype.isResolved=function(){return(this._bitField&50331648)!==0};w.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return u.call(this._target())},t.prototype.isRejected=function(){return f.call(this._target())},t.prototype.isFulfilled=function(){return y.call(this._target())},t.prototype.isResolved=function(){return h.call(this._target())},t.prototype.value=function(){return c.call(this._target())},t.prototype.reason=function(){var d=this._target();return d._unsetRejectionIsUnhandled(),a.call(d)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=w}},{}],33:[function(r,s,R){s.exports=function(t,w){var c=r("./util"),a=c.errorObj,y=c.isObject;function f(_,b){if(y(_)){if(_ instanceof t)return _;var p=h(_);if(p===a){b&&b._pushContext();var v=t.reject(p.e);return b&&b._popContext(),v}else if(typeof p=="function"){if(m(_)){var v=new t(w);return _._then(v._fulfill,v._reject,void 0,v,null),v}return g(_,p,b)}}return _}function u(_){return _.then}function h(_){try{return u(_)}catch(b){return a.e=b,a}}var d={}.hasOwnProperty;function m(_){try{return d.call(_,"_promise0")}catch{return!1}}function g(_,b,p){var v=new t(w),T=v;p&&p._pushContext(),v._captureStackTrace(),p&&p._popContext();var A=!0,x=c.tryCatch(b).call(_,U,V);A=!1,v&&x===a&&(v._rejectCallback(x.e,!0,!0),v=null);function U(H){v&&(v._resolveCallback(H),v=null)}function V(H){v&&(v._rejectCallback(H,A,!0),v=null)}return T}return f}},{"./util":36}],34:[function(r,s,R){s.exports=function(t,w,c){var a=r("./util"),y=t.TimeoutError;function f(_){this.handle=_}f.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(_){return h(+this).thenReturn(_)},h=t.delay=function(_,b){var p,v;return b!==void 0?(p=t.resolve(b)._then(u,null,null,_,void 0),c.cancellation()&&b instanceof t&&p._setOnCancel(b)):(p=new t(w),v=setTimeout(function(){p._fulfill()},+_),c.cancellation()&&p._setOnCancel(new f(v)),p._captureStackTrace()),p._setAsyncGuaranteed(),p};t.prototype.delay=function(_){return h(_,this)};var d=function(_,b,p){var v;typeof b!="string"?b instanceof Error?v=b:v=new y("operation timed out"):v=new y(b),a.markAsOriginatingFromRejection(v),_._attachExtraTrace(v),_._reject(v),p!=null&&p.cancel()};function m(_){return clearTimeout(this.handle),_}function g(_){throw clearTimeout(this.handle),_}t.prototype.timeout=function(_,b){_=+_;var p,v,T=new f(setTimeout(function(){p.isPending()&&d(p,b,v)},_));return c.cancellation()?(v=this.then(),p=v._then(m,g,void 0,T,void 0),p._setOnCancel(T)):p=this._then(m,g,void 0,T,void 0),p}}},{"./util":36}],35:[function(r,s,R){s.exports=function(t,w,c,a,y,f){var u=r("./util"),h=r("./errors").TypeError,d=r("./util").inherits,m=u.errorObj,g=u.tryCatch,_={};function b(V){setTimeout(function(){throw V},0)}function p(V){var H=c(V);return H!==V&&typeof V._isDisposable=="function"&&typeof V._getDisposer=="function"&&V._isDisposable()&&H._setDisposable(V._getDisposer()),H}function v(V,H){var W=0,Z=V.length,G=new t(y);function X(){if(W>=Z)return G._fulfill();var $=p(V[W++]);if($ instanceof t&&$._isDisposable()){try{$=c($._getDisposer().tryDispose(H),V.promise)}catch(z){return b(z)}if($ instanceof t)return $._then(X,b,null,null,null)}X()}return X(),G}function T(V,H,W){this._data=V,this._promise=H,this._context=W}T.prototype.data=function(){return this._data},T.prototype.promise=function(){return this._promise},T.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():_},T.prototype.tryDispose=function(V){var H=this.resource(),W=this._context;W!==void 0&&W._pushContext();var Z=H!==_?this.doDispose(H,V):null;return W!==void 0&&W._popContext(),this._promise._unsetDisposable(),this._data=null,Z},T.isDisposer=function(V){return V!=null&&typeof V.resource=="function"&&typeof V.tryDispose=="function"};function A(V,H,W){this.constructor$(V,H,W)}d(A,T),A.prototype.doDispose=function(V,H){var W=this.data();return W.call(V,V,H)};function x(V){return T.isDisposer(V)?(this.resources[this.index]._setDisposable(V),V.promise()):V}function U(V){this.length=V,this.promise=null,this[V-1]=null}U.prototype._resultCancelled=function(){for(var V=this.length,H=0;H<V;++H){var W=this[H];W instanceof t&&W.cancel()}},t.using=function(){var V=arguments.length;if(V<2)return w("you must pass at least 2 arguments to Promise.using");var H=arguments[V-1];if(typeof H!="function")return w("expecting a function but got "+u.classString(H));var W,Z=!0;V===2&&Array.isArray(arguments[0])?(W=arguments[0],V=W.length,Z=!1):(W=arguments,V--);for(var G=new U(V),X=0;X<V;++X){var $=W[X];if(T.isDisposer($)){var z=$;$=$.promise(),$._setDisposable(z)}else{var M=c($);M instanceof t&&($=M._then(x,null,null,{resources:G,index:X},void 0))}G[X]=$}for(var q=new Array(G.length),X=0;X<q.length;++X)q[X]=t.resolve(G[X]).reflect();var nt=t.all(q).then(function(J){for(var Y=0;Y<J.length;++Y){var it=J[Y];if(it.isRejected())return m.e=it.error(),m;if(!it.isFulfilled()){nt.cancel();return}J[Y]=it.value()}tt._pushContext(),H=g(H);var k=Z?H.apply(void 0,J):H(J),ut=tt._popContext();return f.checkForgottenReturns(k,ut,"Promise.using",tt),k}),tt=nt.lastly(function(){var J=new t.PromiseInspection(nt);return v(G,J)});return G.promise=tt,tt._setOnCancel(G),tt},t.prototype._setDisposable=function(V){this._bitField=this._bitField|131072,this._disposer=V},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(V){if(typeof V=="function")return new A(V,this,a());throw new h}}},{"./errors":12,"./util":36}],36:[function(r,s,R){var t=r("./es5"),w=typeof navigator>"u",c={e:{}},a,y=typeof self<"u"?self:typeof window<"u"?window:typeof $t<"u"?$t:this!==void 0?this:null;function f(){try{var i=a;return a=null,i.apply(this,arguments)}catch(E){return c.e=E,c}}function u(i){return a=i,f}var h=function(i,E){var O={}.hasOwnProperty;function I(){this.constructor=i,this.constructor$=E;for(var j in E.prototype)O.call(E.prototype,j)&&j.charAt(j.length-1)!=="$"&&(this[j+"$"]=E.prototype[j])}return I.prototype=E.prototype,i.prototype=new I,i.prototype};function d(i){return i==null||i===!0||i===!1||typeof i=="string"||typeof i=="number"}function m(i){return typeof i=="function"||typeof i=="object"&&i!==null}function g(i){return d(i)?new Error(Z(i)):i}function _(i,E){var O=i.length,I=new Array(O+1),j;for(j=0;j<O;++j)I[j]=i[j];return I[j]=E,I}function b(i,E,O){if(t.isES5){var I=Object.getOwnPropertyDescriptor(i,E);if(I!=null)return I.get==null&&I.set==null?I.value:O}else return{}.hasOwnProperty.call(i,E)?i[E]:void 0}function p(i,E,O){if(d(i))return i;var I={value:O,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(i,E,I),i}function v(i){throw i}var T=function(){var i=[Array.prototype,Object.prototype,Function.prototype],E=function(j){for(var P=0;P<i.length;++P)if(i[P]===j)return!0;return!1};if(t.isES5){var O=Object.getOwnPropertyNames;return function(j){for(var P=[],Q=Object.create(null);j!=null&&!E(j);){var ft;try{ft=O(j)}catch{return P}for(var ct=0;ct<ft.length;++ct){var yt=ft[ct];if(!Q[yt]){Q[yt]=!0;var gt=Object.getOwnPropertyDescriptor(j,yt);gt!=null&>.get==null&>.set==null&&P.push(yt)}}j=t.getPrototypeOf(j)}return P}}else{var I={}.hasOwnProperty;return function(j){if(E(j))return[];var P=[];t:for(var Q in j)if(I.call(j,Q))P.push(Q);else{for(var ft=0;ft<i.length;++ft)if(I.call(i[ft],Q))continue t;P.push(Q)}return P}}}(),A=/this\s*\.\s*\S+\s*=/;function x(i){try{if(typeof i=="function"){var E=t.names(i.prototype),O=t.isES5&&E.length>1,I=E.length>0&&!(E.length===1&&E[0]==="constructor"),j=A.test(i+"")&&t.names(i).length>0;if(O||I||j)return!0}return!1}catch{return!1}}function U(i){function E(){}E.prototype=i;var O=new E;function I(){return typeof O.foo}return I(),I(),i}var V=/^[a-z$_][a-z$_0-9]*$/i;function H(i){return V.test(i)}function W(i,E,O){for(var I=new Array(i),j=0;j<i;++j)I[j]=E+j+O;return I}function Z(i){try{return i+""}catch{return"[no string representation]"}}function G(i){return i instanceof Error||i!==null&&typeof i=="object"&&typeof i.message=="string"&&typeof i.name=="string"}function X(i){try{p(i,"isOperational",!0)}catch{}}function $(i){return i==null?!1:i instanceof Error.__BluebirdErrorTypes__.OperationalError||i.isOperational===!0}function z(i){return G(i)&&t.propertyIsWritable(i,"stack")}var M=function(){return"stack"in new Error?function(i){return z(i)?i:new Error(Z(i))}:function(i){if(z(i))return i;try{throw new Error(Z(i))}catch(E){return E}}}();function q(i){return{}.toString.call(i)}function nt(i,E,O){for(var I=t.names(i),j=0;j<I.length;++j){var P=I[j];if(O(P))try{t.defineProperty(E,P,t.getDescriptor(i,P))}catch{}}}var tt=function(i){return t.isArray(i)?i:null};if(typeof Symbol<"u"&&Symbol.iterator){var J=typeof Array.from=="function"?function(i){return Array.from(i)}:function(i){for(var E=[],O=i[Symbol.iterator](),I;!(I=O.next()).done;)E.push(I.value);return E};tt=function(i){return t.isArray(i)?i:i!=null&&typeof i[Symbol.iterator]=="function"?J(i):null}}var Y=typeof process<"u"&&q(process).toLowerCase()==="[object process]",it=typeof process<"u"&&typeof o<"u";function k(i){return it?o[i]:void 0}function ut(){if(typeof Promise=="function")try{var i=new Promise(function(){});if(q(i)==="[object Promise]")return Promise}catch{}}var pt;function F(i,E){if(i===null||typeof E!="function"||E===pt)return E;i.domain!==null&&(E=i.domain.bind(E));var O=i.async;if(O!==null){var I=E;E=function(){var j=new Array(2).concat([].slice.call(arguments));return j[0]=I,j[1]=this,O.runInAsyncScope.apply(O,j)}}return E}var l={setReflectHandler:function(i){pt=i},isClass:x,isIdentifier:H,inheritedDataKeys:T,getDataPropertyOrDefault:b,thrower:v,isArray:t.isArray,asArray:tt,notEnumerableProp:p,isPrimitive:d,isObject:m,isError:G,canEvaluate:w,errorObj:c,tryCatch:u,inherits:h,withAppended:_,maybeWrapAsError:g,toFastProperties:U,filledRange:W,toString:Z,canAttachTrace:z,ensureErrorObject:M,originatesFromRejection:$,markAsOriginatingFromRejection:X,classString:q,copyDescriptors:nt,isNode:Y,hasEnvVariables:it,env:k,global:y,getNativePromise:ut,contextBind:F};l.isRecentNode=l.isNode&&function(){var i;return process.versions&&process.versions.node?i=process.versions.node.split(".").map(Number):process.version&&(i=process.version.split(".").map(Number)),i[0]===0&&i[1]>10||i[0]>0}(),l.nodeSupportsAsyncResource=l.isNode&&function(){var i=!1;try{var E=r("async_hooks").AsyncResource;i=typeof E.prototype.runInAsyncScope=="function"}catch{i=!1}return i}(),l.isNode&&l.toFastProperties(process);try{throw new Error}catch(i){l.lastLineError=i}s.exports=l},{"./es5":13,async_hooks:void 0}]},{},[4])(4)}),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}(te)),te.exports}var vr=dr();const _r=an(vr);let Ut;const gr=new Uint8Array(16);function yr(){if(!Ut&&(Ut=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ut))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ut(gr)}const _t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function mr(e,n=0){return _t[e[n+0]]+_t[e[n+1]]+_t[e[n+2]]+_t[e[n+3]]+"-"+_t[e[n+4]]+_t[e[n+5]]+"-"+_t[e[n+6]]+_t[e[n+7]]+"-"+_t[e[n+8]]+_t[e[n+9]]+"-"+_t[e[n+10]]+_t[e[n+11]]+_t[e[n+12]]+_t[e[n+13]]+_t[e[n+14]]+_t[e[n+15]]}const br=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Fe={randomUUID:br};function wr(e,n,o){if(Fe.randomUUID&&!e)return Fe.randomUUID();e=e||{};const r=e.random||(e.rng||yr)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,mr(r)}function Gt(){this.funcs=[]}Gt.prototype.subscribe=function(e){return this.funcs.push(e),{unsubscribe:()=>this.unsubscribe(e)}};Gt.prototype.next=function(...e){this.funcs.forEach(n=>n(...e))};Gt.prototype.unsubscribe=function(e){this.funcs=[...this.funcs.filter(n=>n!==e)]};const Ae=pr();class Er{constructor(){this.notifs=St([]),this.notifsHistory=St([]),this.openHistory=new Gt,this.mutedNotifications=St(JSON.parse(localStorage.getItem("muted-notifications")||JSON.stringify({error:{}}))),De(()=>this.mutedNotifications.value,()=>{localStorage.setItem("muted-notifications",JSON.stringify(this.mutedNotifications.value))},{deep:!0})}next(n,o,r=void 0,s=null,R=null){var w,c;if((w=this.mutedNotifications.value[n])!=null&&w.MUTED_ALL||R&&((c=this.mutedNotifications.value[n])!=null&&c[R]))return;s||(this.next(n,o,r,this.notifsHistory.value,R),s=this.notifs.value);let t=s.find(a=>a.type===n&&a.serviceLabel===r&&r);if(t){const a=t.msgs.find(f=>f.label===o),y=a||{label:o,nb:0};y.nb+=1,a||t.msgs.unshift(y)}else{const a=s.find(u=>u.type===n&&!u.serviceLabel&&u.msgs.find(h=>h.label===o));t=a||{id:wr(),type:n,msgs:[],serviceLabel:r,nb:0};const y=t.msgs.find(u=>u.label===o),f=y||{label:o,nb:0};f.nb+=1,y||t.msgs.unshift(f),a||s.unshift(t)}clearTimeout(t.timeout),t.timeout=setTimeout(()=>{t&&this.remove(t)},5e3)}remove(n,o=!1){const r=this.notifs.value.indexOf(n);r>-1&&this.notifs.value.splice(r,1),o&&n.serviceLabel&&Ae.push({name:"stack-single",params:{label:n.serviceLabel}})}removeHistory(n,o){const r=this.notifsHistory.value.indexOf(n);r>-1&&this.notifsHistory.value.splice(r,1),o&&n.serviceLabel&&Ae.push({name:"stack-single",params:{label:n.serviceLabel}})}}const Cr=new Er,Rr=[{name:"OpenApi",component:dt(()=>ot(()=>import("./Index-ivbhk-aX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])))},{name:"Finder",component:dt(()=>ot(()=>import("./Index-CKF0MsPO.js"),__vite__mapDeps([12,3,4,13,1,2,5,6,9,10])))},{name:"Git-NotUpToDate",component:dt(()=>ot(()=>import("./NotUpToDate-B0J4qPnh.js"),__vite__mapDeps([14,2,3,4,5,6,15,16,1,9,10,17])))},{name:"Help",component:dt(()=>ot(()=>import("./Index-CShAY9sk.js"),__vite__mapDeps([18,5,3,4])))},{name:"Workflows",component:dt(()=>ot(()=>import("./Index-qEWsVaDe.js"),__vite__mapDeps([19,3,4])))},{name:"Docker",component:dt(()=>ot(()=>import("./Index-DyYLUzbC.js"),__vite__mapDeps([20,21,3,4,2,5,6,1,9,10,22])))},{name:"Toolbox",component:dt(()=>ot(()=>import("./Toolbox-CyQN5knH.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24]))),children:[{path:":plugin",component:dt(()=>ot(()=>import("./DynamicComponent-Wyi-ea9E.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26]))),props:{context:"toolbox"}}]}],Ke=[{name:"WorkflowsModals",cmp:dt(()=>ot(()=>import("./Modals-CcPPWWo_.js"),__vite__mapDeps([27,28,3,4,5,29,30,31,32,1,9,10,2,6]))),load:!0},{name:"DynamicComponent",cmp:dt(()=>ot(()=>import("./DynamicComponent-Wyi-ea9E.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26])))},...Rr.map(({name:e,component:n,children:o})=>({name:e,cmp:n,routes:[{path:`/${e}`,name:e,component:n,children:o}]})),{name:"Dynamic",component:dt(()=>ot(()=>import("./DynamicComponent-Wyi-ea9E.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26]))),routes:[{path:"/dynamic/:plugin",name:"dynamic",component:dt(()=>ot(()=>import("./DynamicComponent-Wyi-ea9E.js"),__vite__mapDeps([25,5,3,4,1,9,10,2,6,26]))),props:{context:"sidebar"}}]},{name:"Logs",cmp:dt(()=>ot(()=>import("./Logs-CyV9jI9C.js"),__vite__mapDeps([33,3,4,1,34,13,5,2,6,35,15,16,31,30,32,36,37,21,9,10,38,29])))},{name:"Git",cmp:dt(()=>ot(()=>import("./Git-BbebF7nu.js"),__vite__mapDeps([39,3,4,28,5,29,2,6,7,8,40,1,9,10,41])))},{name:"Github",cmp:dt(()=>ot(()=>import("./Index-DsBVNXJ8.js"),__vite__mapDeps([42,3,4,2,5,6,43,1,34,15,16,13,8,9,10,44])))},{name:"Npm",cmp:dt(()=>ot(()=>import("./Npm-CQ5CrcHe.js"),__vite__mapDeps([45,2,3,4,5,6,15,16,30,31,32,1,9,10,46])))},{name:"Bugs",cmp:dt(()=>ot(()=>import("./Bugs-SLUzCwvS.js"),__vite__mapDeps([47,2,3,4,5,6,15,16,30,31,32,1,9,10,48])))},{name:"Configuration",cmp:dt(()=>ot(()=>import("./Configs-CI4rTNMZ.js"),__vite__mapDeps([49,50,31,3,4,32,36,51,30,52,37,53,2,5,6,28,29,54,1,9,10,55])))},{name:"Documentation",cmp:dt(()=>ot(()=>import("./Index-Oc79QNQL.js"),__vite__mapDeps([56,3,4,2,5,6,50,31,32,57,1,53,58,59,36,9,10,60])))}],Nt=St([]);globalThis.toolboxPlugins=St([]);globalThis.sidebarPlugins=St([]);function kr(e,n){const o=e.toLowerCase();document.querySelectorAll(o).forEach(s=>n(s));const r=new MutationObserver(s=>{var R,t;for(const w of s)for(const c of w.addedNodes)c.nodeType===Node.ELEMENT_NODE&&(c.tagName.toLowerCase()===o&&n(c),(t=(R=c.querySelectorAll)==null?void 0:R.call(c,o))==null||t.forEach(a=>n(a)))});return r.observe(document.body,{childList:!0,subtree:!0}),r}function je(e){Sr(e),document.querySelectorAll('head > style, head > link[rel="stylesheet"]').forEach(r=>{const s=r.cloneNode(!0);e.prepend(s)}),document.querySelectorAll('head > style[data-primevue-style-id="variables"]').forEach(r=>{const s=r.cloneNode(!0);e.appendChild(s)})}function Sr(e){new MutationObserver(o=>{o.forEach(r=>{r.addedNodes.forEach(s=>{if(s instanceof HTMLStyleElement){const R=s.cloneNode(!0);e.appendChild(R)}})})}).observe(document.head,{childList:!0,subtree:!1})}const Oe=(e,n)=>{kr(e,async o=>{try{je(o.shadowRoot)}catch{await new Promise(s=>setTimeout(s,1e3)),je(o.shadowRoot)}}),customElements.define(e,n)},Tr=e=>n=>{n.placements.forEach(o=>{const r=o.component;if(o.location==="toolbox"){const s=e+"-toolbox";Oe(s,r),globalThis.toolboxPlugins.value.push({...o,id:e})}else if(o.location==="sidebar"){const s=e+"-sidebar";Oe(s,r),globalThis.sidebarPlugins.value.push({...o,id:e})}})},xr=(e,n)=>{Tr(e.replaceAll("@","").replaceAll("/","-"))(n)};B.get("/plugins").then(async e=>{Nt.value=e.data.sort((n,o)=>o.name.localeCompare(n.name)),console.log("load plugins...",Nt.value.map(n=>n.name)),await _r.map(Nt.value,async n=>{var o,r;if((r=(o=n.config.runeya.entries)==null?void 0:o.front)!=null&&r.js){const s=n.name;globalThis[s]=R=>{const t=R({assetsBasePath:`/plugins/${encodeURIComponent(s)}/assets`,components:{Editor:sn,Section:cn},callServer:(w,...c)=>B.post(`/plugins/${encodeURIComponent(s)}/call/${encodeURIComponent(w)}`,{args:c}),customCallServer:w=>(c,...a)=>B.post(`/plugins/${encodeURIComponent(s)}/call/${encodeURIComponent(c)}`,{args:a},w),socket:{emit:(w,...c)=>{Bt.emit(encodeURIComponent(s)+"-"+w,...c)},on:(w,c)=>{Bt.on(encodeURIComponent(s)+"-"+w,c)},off:(w,c)=>{Bt.off(encodeURIComponent(s)+"-"+w,c)}},primevueConfig:{theme:{preset:on,options:{}}},router:ae,notification:Cr});xr(s,t)};try{await import(`/plugins/${encodeURIComponent(n.name)}/js`)}catch(R){console.error(`❌ Erreur lors du chargement du plugin ${n.name}:`,R)}}})});const Pr=Object.freeze(Object.defineProperty({__proto__:null,default:Ke,remotePlugins:Nt},Symbol.toStringTag,{value:"Module"}));class Fr{constructor(n){var o,r,s;this.label=n.label||"",this.commands=n.commands||[],this.rootPath=n.rootPath||((s=(r=(o=this.commands)==null?void 0:o[0])==null?void 0:r.spawnOptions)==null?void 0:s.cwd)||"",this.envs={},this.shortcuts=[],this.updateFields(n)}updateFields(n){var o,r,s;if(!n.label)throw new Error("A service should have a label");this.label=n.label,this.description=n.description||"",this.url=n.url||"",this.openapiURL=n.openapiURL||"",this.spawnCmd=n.spawnCmd||"",this.enabled=n.enabled||!1,this.crashed=n.crashed||!1,this.exited=n.exited||!1,this.groups=n.groups||[],this.parsers=n.parsers||[],this.urls=n.urls||[],this.spawnArgs=n.spawnArgs||[],this.health||(this.health={}),this._updateObjectWithReferences(this.health,n.health||{enabled:!1,url:"",interval:"",method:"GET",returnCode:200,responseText:"",timeout:0,startAfter:0}),this.git||(this.git={}),this._updateObjectWithReferences(this.git,n.git||{home:"",remote:"",branches:[],stash:[],delta:0,currentBranch:"",status:[]}),this.spawnOptions||(this.spawnOptions={}),this._updateObjectWithReferences(this.spawnOptions,n.spawnOptions||{cwd:"",env:""}),this.commands||(this.commands=[]),n.commands?this._updateArrayWithReferences(this.commands,n.commands,"spawnCmd"):this.commands.length=0,this.shortcuts||(this.shortcuts=[]),n.shortcuts?this._updateArrayWithReferences(this.shortcuts,n.shortcuts,"label"):this.shortcuts.length=0,this.envs||(this.envs={}),this._updateObjectWithReferences(this.envs,n.envs||{}),this.rootPath=n.rootPath||((s=(r=(o=this.commands)==null?void 0:o[0])==null?void 0:r.spawnOptions)==null?void 0:s.cwd)||"",n.container?(this.container||(this.container={}),this._updateObjectWithReferences(this.container,n.container),this.container.volumes||(this.container.volumes=[]),this.container.ignoreVolumes||(this.container.ignoreVolumes=[]),this.container.command||(this.container.command="")):this.container=n.container,this.meta||(this.meta={}),this._updateObjectWithReferences(this.meta,n.meta||{})}_updateArrayWithReferences(n,o,r){if(!n||!o)return;const s={};n.forEach(R=>{R&&R[r]&&(s[R[r]]=R)}),n.length=0,o.forEach(R=>{if(R&&R[r]&&s[R[r]]){const t=s[R[r]];this._updateObjectWithReferences(t,R),n.push(t)}else n.push(R)})}_updateObjectWithReferences(n,o){!n||!o||(Object.keys(n).forEach(r=>{r in o||delete n[r]}),Object.keys(o).forEach(r=>{const s=o[r];if(s===void 0)return;if(!(r in n)){n[r]=s;return}const R=n[r];if(s===null)n[r]=null;else if(Array.isArray(s))if(!Array.isArray(R))n[r]=s;else if(s.length>0&&typeof s[0]=="object"&&s[0]!==null){const t=s[0],c=["id","name","label","spawnCmd","key"].find(a=>a in t)||Object.keys(t)[0];this._updateArrayWithReferences(R,s,c)}else R.length=0,s.forEach(t=>R.push(t));else typeof s=="object"?typeof R!="object"||R===null?n[r]=s:this._updateObjectWithReferences(R,s):n[r]=s}))}async updateGit(){var n;if((n=this.git)!=null&&n.remote){this.git.branches=await this.getBranches(),this.git.currentBranch=await this.getCurrentBranch(),this.git.status=await this.getStatus();const o=await this.stashList();this.git.stash=o}}async fetch(){const{data:n}=await B.get(`/stack/${this.label}/`);return this.updateFields(n),this}async getLogs(){const{data:n}=await B.get(`/logs/${this.label}/logs`);return n}async sendTerminalPrompt(n){const{data:o}=await B.post(`/logs/${this.label}/prompt`,{...n,service:this.label});return o}async sendTerminalTerminate(n){const{data:o}=await B.post(`/logs/${this.label}/terminate`,{...n,service:this.label});return o}async clear(){const{data:n}=await B.delete(`/logs/${this.label}/logs`);return n}async autocomplete(n,{force:o}={}){const{data:r}=await B.get(`/logs/${this.label}/autocomplete`,{params:{message:n,force:!!o}});return r}async openInVsCode(n,o){return B.get(`/editors/${this.label}/open-in-vs-code`,{params:{path:n,editor:o}})}async openLinkInVsCode(n,o){return B.get(`/editors/${this.label}/open-link-in-vs-code`,{params:{link:n,editor:o}})}async openFolder(n){return B.get(`/stack/${this.label}/open-folder`,{params:{path:n}})}async restart(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/restart`)}async start(){return this.enabled=!0,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/start`)}async stop(){return this.enabled=!1,localStorage.setItem(`automatic-toggle-${this.label}`,this.enabled.toString()),B.get(`/stack/${this.label}/stop`)}async getBranches(){const{data:n}=await B.get(`/git/${this.label}/branches`);return n}async getCurrentBranch(){const{data:n}=await B.get(`/git/${this.label}/current-branch`);return n}async addBranch(n,o){const{data:r}=await B.post(`/git/${this.label}/add-branch`,{shouldPush:o,name:n});return r}async getStatus(){const{data:n}=await B.get(`/git/${this.label}/status`);return n}async getDiff(){const{data:n}=await B.get(`/git/${this.label}/diff`);return n}async changeBranch(n){await B.post(`/git/${this.label}/branch/${encodeURIComponent(n)}/change`)}async deleteBranch(n){await B.delete(`/git/${this.label}/branch/${encodeURIComponent(n)}`)}async gitRemoteDelta(n){this.git&&(this.git.delta=null);const{data:o}=await B.get(`/git/${this.label}/branch/${encodeURIComponent(n)}/remote-delta`);return this.git&&(this.git.delta=o),o}async gitFetch(){await B.post(`/git/${this.label}/fetch`)}async getGraph(n){const{data:o}=await B.get(`/git/${this.label}/graph`,{params:{graphOnAll:n}});return o}async reset(){await B.delete(`/git/${this.label}/reset`)}async stash(){return await B.post(`/git/${this.label}/stash`),this.updateGit()}async stashPop(){await B.post(`/git/${this.label}/stash-pop`)}async pull(){await B.post(`/git/${this.label}/pull`)}async stashList(){const{data:n}=await B.post(`/git/${this.label}/stash-list`);return n}async checkoutFile(n){n=encodeURIComponent(n),await B.delete(`/git/${this.label}/checkout/${n}`)}async isNpm(n){const{data:o}=await B.get(`/npm/${this.label}`,{params:{cwd:n}});return o}async getNpmPaths(){const{data:n}=await B.get(`/npm/${this.label}/paths`);return n}async getPackageJSON(n){const{data:o}=await B.get(`/npm/${this.label}/packagejson`,{params:{cwd:n}});return o}async outdatedNpm(n){const{data:o}=await B.get(`/npm/${this.label}/outdated`,{params:{cwd:n}});return o}async getBugs(n){const{data:o}=await B.get(`/bugs/${this.label}`,{params:{cwd:n}});return o||[]}async save(){return await B.post("/stack/services",this),this}static async getTokens(n){const{data:o}=await B.post("/openai/tokenize",{data:n});return o||[]}static async reviewFromAi(n){const{data:o}=await B.post("/openai/review",{data:n});return o||[]}static async findSolutionFromAi(n){const{data:o}=await B.post("/openai/error",{data:n});return o||[]}static async homedir(){const{data:n}=await B.post("/fs/homedir");return n||""}}function vt(){this.services=St([]),Bt.on("conf:update",e=>{e.length&&e.forEach(n=>{const o=this.services.value.find(r=>r.label===n);o&&o.fetch()})})}vt.prototype.loadServices=async function(){const{data:e}=await B.get("/stack/services"),n={};this.services.value.forEach(r=>{n[r.label]=r});const o=e.filter(r=>r).map(r=>n[r.label]?(n[r.label].updateFields(r),n[r.label]):new Fr(r));return this.services.value=o,this.services.value};vt.prototype.scenarios=async function(e,n){const{data:o}=await B.get("/red/flows");return o.filter(r=>e==="services"&&r.launchType===e?r.services.split(",").includes(n):!1)};vt.prototype.getEnvironment=async function(){const{data:e}=await B.get("/stack/environment");return e};vt.prototype.getAdditionalThemes=async function(){const{data:e}=await B.get("/stack/additional-themes");return e};vt.prototype.getEnvironments=async function(){const{data:e}=await B.get("/stack/environments");return e};vt.prototype.changeEnvironment=async function(e){const{data:n}=await B.post("/stack/environment",{environment:e});return n};vt.prototype.shouldSetup=async function(){const{data:e}=await B.get("/crypto/should-setup");return e};vt.prototype.createEnvironment=async function(e){const{data:n}=await B.post("/stack/environment/create",{environment:e});return n};vt.prototype.getAllConfsPath=async function(){const{data:e}=await B.get("/stack/all-confs-path");return e};vt.prototype.selectConf=async function(e){await B.post("/stack/select-conf/",{path:e})};vt.prototype.deleteConf=async function(e){await B.post("/stack/delete-conf/",{path:e})};vt.prototype.launchServices=async function(e){return await B.post("/stack/choose",e),this.loadServices()};vt.prototype.getService=async function(e){return this.services.value.length||await this.loadServices(),this.services.value.filter(n=>n.label===e).pop()};vt.prototype.restartAllServices=async function(){return await B.get("/stack/restart-all"),this.loadServices()};vt.prototype.restartApplication=async function(){try{await B.get("/system/restart"),console.log("Application restarting...")}catch(e){throw console.error("Error while restarting the application:",e),e}};vt.prototype.getAvailableEditors=async function(){const{data:e}=await B.get("/editors/available-editors");return e};vt.prototype.getEnabledServices=async function(){return this.services.value.length||await this.loadServices(),this.services.value.filter(e=>e.enabled)};const Ar=new vt,jr=Ke.map(e=>e.routes).filter(e=>e).flat(),Or=[{path:"/stack-chooser",name:"stack-chooser",component:()=>ot(()=>import("./StackChooser-Cyfm3biQ.js"),__vite__mapDeps([61,62,3,4,63,5,64,65,2,6,66,1,9,10,67]))},{path:"/stack-single/:label",name:"stack-single",component:()=>ot(()=>import("./StackSingle-D3NiZMLJ.js"),__vite__mapDeps([68,62,3,4,5,2,6,69,70,71,40,15,16,72,1,9,10,73]))},{path:"/stack-single",name:"stack-single-no-view",component:()=>ot(()=>import("./StackSingle-D3NiZMLJ.js"),__vite__mapDeps([68,62,3,4,5,2,6,69,70,71,40,15,16,72,1,9,10,73]))},{path:"/overview",name:"overview",component:()=>ot(()=>import("./Overview-CN6pSTFP.js"),__vite__mapDeps([74,2,3,4,5,6,65,62,63,64,66,15,16,1,9,10,75]))},{path:"/stack-multiple",name:"stack-multiple",component:()=>ot(()=>import("./StackMultiple-CGOytGPV.js"),__vite__mapDeps([76,2,3,4,5,6,69,70,1,9,10,77]))},{path:"/import-create",name:"import-create",component:()=>ot(()=>import("./ImportCreate-BhZ9H4dz.js"),__vite__mapDeps([78,63,3,4,5,64,2,6,28,29,35,62,1,9,10,79]))},{path:"/settings",name:"settings-no-view",component:()=>ot(()=>import("./Settings-DS3bER2h.js"),__vite__mapDeps([80,3,4,2,5,6,32,31,51,30,50,36,52,37,28,29,53,71,40,15,16,72,59,1,9,10,81])),children:[{path:":setting",name:"settings",component:()=>ot(()=>import("./Settings-DS3bER2h.js"),__vite__mapDeps([80,3,4,2,5,6,32,31,51,30,50,36,52,37,28,29,53,71,40,15,16,72,59,1,9,10,81]))}]},{path:"/init",name:"init",component:()=>ot(()=>import("./Init-B6-OnXzN.js"),__vite__mapDeps([82,5,3,4]))},...jr,{name:"not-found",path:"/:pathMatch(.*)*",redirect:{name:"stack-chooser"}}],ae=fr({history:Un(),routes:Or});ae.beforeEach(async(e,n)=>{if((e.name!=="settings"||e.params.setting!=="crypto")&&await Ar.shouldSetup())return{name:"settings",params:{setting:"crypto"},query:{wrongKey:"true"}}});const $r=Object.freeze(Object.defineProperty({__proto__:null,default:ae},Symbol.toStringTag,{value:"Module"}));export{Gt as C,_r as P,Ar as S,Fr as a,Hr as b,Pr as c,Cr as n,Ke as p,$r as r,pr as u,wr as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a6 as o,r as a,k as e}from"./index-
|
|
1
|
+
import{a6 as o,r as a,k as e}from"./index-CXxIspfv.js";function s(){this.infos=o({cpu:0,mem:0}),this.globalInfos=o({nbCpus:0,totalmem:0,freemem:0,memPercentage:0,cpu:0}),this.version=a("0.0.0")}s.prototype.getInfos=async function(t){const{data:n}=await e.get(`/system/${t}/infos`);return this.infos=n,this.infos};s.prototype.proxyImg=function(t){return`${e.defaults.baseURL==="/"?"":e.defaults.baseURL}/system/proxy-img?url=${encodeURIComponent(t)}`};s.prototype.getVersion=async function(){const{data:t}=await e.get("/version");return this.version.value=t,this.version.value};s.prototype.disconnect=async function(){return e.get("/system/disconnect")};s.prototype.hasUpdate=async function(){const{data:t}=await e.get("/stack/has-update");return t};const i=new s;export{i as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as O,m as I}from"./Editor-
|
|
1
|
+
import{t as O,m as I}from"./Editor-B--wgkn6.js";import"./index-CXxIspfv.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as s}from"./Editor-
|
|
1
|
+
import{m as s}from"./Editor-B--wgkn6.js";import"./index-CXxIspfv.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as r}from"./Editor-
|
|
1
|
+
import{m as r}from"./Editor-B--wgkn6.js";import"./index-CXxIspfv.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as l}from"./Editor-
|
|
1
|
+
import{m as l}from"./Editor-B--wgkn6.js";import"./index-CXxIspfv.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
package/public/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/assets/favicon-ClgyP8FQ.ico"><title>runeya</title><style>:host(*),html{margin:0;font-family:Jost,sans-serif;font-size:.9em}.pre-loading{width:100vw;height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;backdrop-filter:blur(10px);color:#0076bc;background-color:rgba(255,255,255,.5)}.spinner{border:3px solid #0076bc;width:70px;height:70px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;border-bottom-color:transparent;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);-ms-flex-negative:0;flex-shrink:0}.spinner::before{content:" ";-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:#0076bc;position:absolute;border-radius:100%}.spinner::after{content:" ";width:30%;height:30%;background-color:#0076bc;position:absolute;border-radius:100%}@-webkit-keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@-webkit-keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}@keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}</style><script type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/assets/favicon-ClgyP8FQ.ico"><title>runeya</title><style>:host(*),html{margin:0;font-family:Jost,sans-serif;font-size:.9em}.pre-loading{width:100vw;height:100vh;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;backdrop-filter:blur(10px);color:#0076bc;background-color:rgba(255,255,255,.5)}.spinner{border:3px solid #0076bc;width:70px;height:70px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;border-bottom-color:transparent;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);-ms-flex-negative:0;flex-shrink:0}.spinner::before{content:" ";-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;background-color:#0076bc;position:absolute;border-radius:100%}.spinner::after{content:" ";width:30%;height:30%;background-color:#0076bc;position:absolute;border-radius:100%}@-webkit-keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@keyframes spin{0%{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}100%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}}@-webkit-keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}@keyframes pulse{0%{width:0%;height:0%;opacity:1}100%{width:100%;height:100%;opacity:0}}</style><script type="module" crossorigin src="/assets/index-CXxIspfv.js"></script><link rel="stylesheet" crossorigin href="/assets/index-CHlc7El7.css"></head><body><noscript><strong>We're sorry but runeya doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div class="pre-loading"><div class="spinner" v-if="display" :style="{
|
|
2
2
|
width: size + 'px',
|
|
3
3
|
height: size + 'px',
|
|
4
4
|
}"></div>Loading...</div></div></body></html>
|
package/www.js
CHANGED
|
@@ -2482,6 +2482,7 @@ var require_Service = __commonJS({
|
|
|
2482
2482
|
this.container.name = humanStringToKey(this.label);
|
|
2483
2483
|
if (!this.container.volumes?.length) this.container.volumes = [];
|
|
2484
2484
|
if (!this.container.build) this.container.build = "";
|
|
2485
|
+
if (!this.container.command) this.container.command = "";
|
|
2485
2486
|
this.container.ports = this.container.ports || [];
|
|
2486
2487
|
this.container.sharedVolume = this.container.sharedVolume || "~/.runeya";
|
|
2487
2488
|
this.container.ignoreVolumes = this.container.ignoreVolumes?.length ? this.container.ignoreVolumes.filter((f) => !f.startsWith(this.container?.sharedVolume || "")) : [];
|
|
@@ -2657,6 +2658,8 @@ var require_Service = __commonJS({
|
|
|
2657
2658
|
await this.launchProcess(command);
|
|
2658
2659
|
}
|
|
2659
2660
|
});
|
|
2661
|
+
} else if (this.container?.enabled) {
|
|
2662
|
+
await this.launchProcess();
|
|
2660
2663
|
}
|
|
2661
2664
|
this.enabled = true;
|
|
2662
2665
|
this.sendHasBeenModified();
|
|
@@ -2681,7 +2684,7 @@ var require_Service = __commonJS({
|
|
|
2681
2684
|
...logMessageOverride,
|
|
2682
2685
|
id: v4()
|
|
2683
2686
|
};
|
|
2684
|
-
line = await PromiseB2.reduce(command
|
|
2687
|
+
line = await PromiseB2.reduce(command?.effectiveParsers || [], async (line2, parser2) => {
|
|
2685
2688
|
try {
|
|
2686
2689
|
const result = await parser2.transformFunction(line2, this);
|
|
2687
2690
|
if (!result?.id) {
|
|
@@ -2723,7 +2726,7 @@ var require_Service = __commonJS({
|
|
|
2723
2726
|
this.sendHasBeenModified();
|
|
2724
2727
|
this.crashed = false;
|
|
2725
2728
|
this.exited = false;
|
|
2726
|
-
const shouldUseHost = command
|
|
2729
|
+
const shouldUseHost = command?.spawnOptions?.useHost === true || !this.container?.enabled;
|
|
2727
2730
|
let { cmd, args: args2, options } = shouldUseHost ? await this.parseIncomingCommand(command) : await this.parseIncomingCommandDocker(command);
|
|
2728
2731
|
if (!existsSync(options.cwd)) {
|
|
2729
2732
|
this.crashed = true;
|
|
@@ -2844,9 +2847,9 @@ var require_Service = __commonJS({
|
|
|
2844
2847
|
msg: `ERROR: ${error?.message || error}`,
|
|
2845
2848
|
raw: `ERROR: ${error?.message || error}`,
|
|
2846
2849
|
cmd: {
|
|
2847
|
-
cmd: command
|
|
2848
|
-
args: command
|
|
2849
|
-
options: command
|
|
2850
|
+
cmd: command?.spawnCmd,
|
|
2851
|
+
args: command?.spawnArgs,
|
|
2852
|
+
options: command?.spawnOptions,
|
|
2850
2853
|
status: "exited"
|
|
2851
2854
|
}
|
|
2852
2855
|
};
|
|
@@ -2972,7 +2975,11 @@ var require_Service = __commonJS({
|
|
|
2972
2975
|
return extractedTag;
|
|
2973
2976
|
};
|
|
2974
2977
|
Service.prototype.parseIncomingCommandDocker = async function(command) {
|
|
2975
|
-
let { spawnCmd, spawnArgs = [], spawnOptions = { envs: [] } } = command
|
|
2978
|
+
let { spawnCmd, spawnArgs = [], spawnOptions = { envs: [] } } = command = {
|
|
2979
|
+
spawnCmd: "",
|
|
2980
|
+
spawnArgs: [],
|
|
2981
|
+
spawnOptions: { envs: [] }
|
|
2982
|
+
};
|
|
2976
2983
|
const isAlive = await execAsync(`docker inspect --format {{.State.Pid}} ${this.container.name}`, {}).then((pid) => pid.trim() !== "0").catch(() => false);
|
|
2977
2984
|
const cmd = "docker";
|
|
2978
2985
|
const args2 = isAlive ? ["exec", this.container.name, spawnCmd, ...spawnArgs] : [
|
|
@@ -2986,8 +2993,7 @@ var require_Service = __commonJS({
|
|
|
2986
2993
|
"--name",
|
|
2987
2994
|
this.container.name,
|
|
2988
2995
|
this.container.name,
|
|
2989
|
-
"sh",
|
|
2990
|
-
`-c '${spawnCmd} ${spawnArgs.join(" ")}'`
|
|
2996
|
+
...spawnCmd ? ["sh", `-c '${spawnCmd} ${spawnArgs.join(" ")}'`] : this.container?.command ? [this.container.command] : []
|
|
2991
2997
|
];
|
|
2992
2998
|
const cwd = pathfs.resolve(replaceEnvs(spawnOptions.cwd || this.getRootPath() || "."));
|
|
2993
2999
|
const options = {
|