@runeya/runeya 1.33.24 → 1.33.26

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.
Files changed (75) hide show
  1. package/node-red-contrib-runeya.tar +0 -0
  2. package/package.json +1 -1
  3. package/public/assets/App-Cuu3qapD.js +101 -0
  4. package/public/assets/{App-BGPtogo-.css → App-DZ8M5vya.css} +1 -1
  5. package/public/assets/{Bugs-BYVaGclE.js → Bugs-H-Otgxln.js} +1 -1
  6. package/public/assets/{Configs-CGdacJ7j.js → Configs-CS7LQ3j2.js} +1 -1
  7. package/public/assets/{CurrentEditor-CaZTvScp.js → CurrentEditor-DSg_c1cT.js} +1 -1
  8. package/public/assets/{DynamicComponent-u2mgF7SR.js → DynamicComponent-Cd8cbFTY.js} +1 -1
  9. package/public/assets/{Editor-BkDstUPD.js → Editor-BUC6Zjcy.js} +6 -6
  10. package/public/assets/{Git-Da_IiEci.js → Git-CWhmBLgo.js} +1 -1
  11. package/public/assets/{ImportCreate-MvJTSajS.js → ImportCreate-BMYQ7CRt.js} +1 -1
  12. package/public/assets/{Index-B63IO9GV.js → Index-CCt5RYhV.js} +1 -1
  13. package/public/assets/{Index-Dx1OujL3.js → Index-CKyiBy6h.js} +1 -1
  14. package/public/assets/{Index-BTX-OBp_.js → Index-CNTmcq3o.js} +1 -1
  15. package/public/assets/{Index-Cig3CHAr.js → Index-CvSNWhOl.js} +1 -1
  16. package/public/assets/{Index-tb_q4KJZ.js → Index-DXLLCB8w.js} +1 -1
  17. package/public/assets/{Index-CnwSqgC1.js → Index-_Myie1IE.js} +1 -1
  18. package/public/assets/{Init-CVpaullv.js → Init-ec91xg4K.js} +1 -1
  19. package/public/assets/{LeftLogo-mu8SETbq.js → LeftLogo-DdpN8uKw.js} +1 -1
  20. package/public/assets/{Logs-BhdfGaw5.css → Logs-C7U-WsYO.css} +1 -1
  21. package/public/assets/Logs-Dr0aVld6.js +74 -0
  22. package/public/assets/{Markdown-DA8Jvtc4.js → Markdown-CINu7VUT.js} +1 -1
  23. package/public/assets/{Modal-CFSt4VI3.js → Modal-CMVKUmmz.js} +1 -1
  24. package/public/assets/{Modals-DL7ezEul.js → Modals-UgnVGGTd.js} +1 -1
  25. package/public/assets/{NotUpToDate-Du0KDqto.js → NotUpToDate-Dv1x5laT.js} +1 -1
  26. package/public/assets/{Npm-D2i5dOQC.js → Npm-BQOhWPXB.js} +1 -1
  27. package/public/assets/{Overview-DRm-6OxF.js → Overview-CyhbZrp6.js} +1 -1
  28. package/public/assets/Overview-D94ypoub.css +1 -0
  29. package/public/assets/{Section-BIExc-vD.js → Section-DWZalQSy.js} +1 -1
  30. package/public/assets/{Settings-DUCkJDco.css → Settings-DvieCtW4.css} +1 -1
  31. package/public/assets/{Settings-sGatgaZA.js → Settings-gQ2r_ArG.js} +8 -8
  32. package/public/assets/{Spinner-BxlVMO5C.js → Spinner-BDdyfVPn.js} +1 -1
  33. package/public/assets/{StackChooser-C6QUL1ts.js → StackChooser-D4JG1V6p.js} +1 -1
  34. package/public/assets/{StackChooser-BbxiXmbz.js → StackChooser-Dy0nw-1k.js} +1 -1
  35. package/public/assets/{StackMultiple-VFMgpudb.js → StackMultiple-CXbZO3gp.js} +1 -1
  36. package/public/assets/{StackSingle-CNFNiJ6j.js → StackSingle-BrA92wNq.js} +1 -1
  37. package/public/assets/{Tabs-DOzRR3WD.js → Tabs-zx6MP1w5.js} +1 -1
  38. package/public/assets/{Theme-D5wc2JN5.js → Theme-CVJqEc74.js} +1 -1
  39. package/public/assets/{Toolbox-BctYsp_m.js → Toolbox-CeYvSlof.js} +1 -1
  40. package/public/assets/{cssMode-D6DX_pzi.js → cssMode-DRJB02N-.js} +1 -1
  41. package/public/assets/{currentEditor-CPSYuOXJ.js → currentEditor-Mutd140I.js} +1 -1
  42. package/public/assets/{freemarker2-QTuv0L1w.js → freemarker2-CUNqJsQJ.js} +1 -1
  43. package/public/assets/{fs-BKy6SF5M.js → fs-zCN6KWbV.js} +1 -1
  44. package/public/assets/{handlebars-DjsjeDRt.js → handlebars-DFPe5IUH.js} +1 -1
  45. package/public/assets/{html-CS11tPhf.js → html-iAZ8fYxX.js} +1 -1
  46. package/public/assets/{htmlMode-cW1qbNS1.js → htmlMode-CiLcIJ9M.js} +1 -1
  47. package/public/assets/{index-9SUUWz0Q.js → index-BYlmWHqo.js} +2 -2
  48. package/public/assets/{index-BVMisFgJ.js → index-BvK3ngOF.js} +4 -4
  49. package/public/assets/{index-L-hKesb9.js → index-BykKOUV5.js} +3 -3
  50. package/public/assets/{index-D2kTRQ0g.js → index-CED4m1pl.js} +2 -2
  51. package/public/assets/{index-B2Zn1t0F.js → index-CnHkskP1.js} +24 -24
  52. package/public/assets/{index-D6T2JqTJ.js → index-D6ITaiDq.js} +1 -1
  53. package/public/assets/{index-BAdR3mLX.js → index-D7eodgey.js} +10 -10
  54. package/public/assets/{index-DGs7mxSp.js → index-DlBh1BN-.js} +3 -3
  55. package/public/assets/{index-DljcUO2A.js → index-LXuPKlr_.js} +1 -1
  56. package/public/assets/{index-BIZVTENX.js → index-r5zB7DkH.js} +5 -5
  57. package/public/assets/{javascript-D8fzI4Kf.js → javascript-DRLQS2xP.js} +1 -1
  58. package/public/assets/{json-tree-view-vue3.es-YUK7eu-v.js → json-tree-view-vue3.es-BAcuRLYG.js} +1 -1
  59. package/public/assets/{jsonMode-Bk3_CK5T.js → jsonMode-BKVfjW9m.js} +1 -1
  60. package/public/assets/{liquid-3VzXePtH.js → liquid-CBIGo8D7.js} +1 -1
  61. package/public/assets/{mdx-DokQ4srC.js → mdx-D_MaKLKm.js} +1 -1
  62. package/public/assets/{python-DqM5cWUD.js → python-ROmifk5f.js} +1 -1
  63. package/public/assets/{razor-C6qvoKqe.js → razor-B2BrIgAg.js} +1 -1
  64. package/public/assets/{router-BvhIqmd_.js → router-BmEvmcw4.js} +3 -3
  65. package/public/assets/{system-D0myLYD8.js → system-CmOEECxV.js} +1 -1
  66. package/public/assets/{tsMode-_FuGn5T1.js → tsMode-ur-_baj-.js} +1 -1
  67. package/public/assets/{typescript-DUGr9yKr.js → typescript-BI5fccq7.js} +1 -1
  68. package/public/assets/{xml-EjEx9Mzb.js → xml-C8ZhN0MF.js} +1 -1
  69. package/public/assets/{yaml-DPx0oNUg.js → yaml-DEXuQlV0.js} +1 -1
  70. package/public/index.html +1 -1
  71. package/www.js +165 -96
  72. package/www.js.map +1 -1
  73. package/public/assets/App-Bd0xshf7.js +0 -101
  74. package/public/assets/Logs-DRBJWBGG.js +0 -74
  75. package/public/assets/Overview-DZIOmzKx.css +0 -1
@@ -1,4 +1,4 @@
1
- import{s as P,c as x}from"./index-D2kTRQ0g.js";import{y as E,B as b,b9 as v,aF as L,b0 as T,bf as M,bg as w,at as d,aW as f,aJ as I,a as p,o as h,F as z,q as A,s as $,g as R,H as G,I as m,b as k,h as _}from"./index-B2Zn1t0F.js";var K=E`
1
+ import{s as P,c as x}from"./index-CED4m1pl.js";import{y as E,B as b,b8 as v,aE as L,a$ as T,be as M,bf as w,at as d,aV as f,aI as I,a as p,o as h,F as z,q as A,s as $,g as R,H as G,I as m,b as k,h as _}from"./index-CnHkskP1.js";var K=E`
2
2
  .p-splitter {
3
3
  display: flex;
4
4
  flex-wrap: nowrap;
@@ -78,5 +78,5 @@ import{s as P,c as x}from"./index-D2kTRQ0g.js";import{y as E,B as b,b9 as v,aF a
78
78
  flex-grow: 1;
79
79
  border: 0 none;
80
80
  }
81
- `,U={root:function(e){var n=e.props;return["p-splitter p-component","p-splitter-"+n.layout]},gutter:"p-splitter-gutter",gutterHandle:"p-splitter-gutter-handle"},D=b.extend({name:"splitter",style:K,classes:U}),N={name:"BaseSplitter",extends:P,props:{layout:{type:String,default:"horizontal"},gutterSize:{type:Number,default:4},stateKey:{type:String,default:null},stateStorage:{type:String,default:"session"},step:{type:Number,default:5}},style:D,provide:function(){return{$pcSplitter:this,$parentInstance:this}}};function c(t){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(t)}function S(t,e,n){return(e=B(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t){var e=O(t,"string");return c(e)=="symbol"?e:e+""}function O(t,e){if(c(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(c(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function y(t){return W(t)||j(t)||H(t)||F()}function F(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
82
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function H(t,e){if(t){if(typeof t=="string")return g(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function j(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W(t){if(Array.isArray(t))return g(t)}function g(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var X={name:"Splitter",extends:N,inheritAttrs:!1,emits:["resizestart","resizeend","resize"],dragging:!1,mouseMoveListener:null,mouseUpListener:null,touchMoveListener:null,touchEndListener:null,size:null,gutterElement:null,startPos:null,prevPanelElement:null,nextPanelElement:null,nextPanelSize:null,prevPanelSize:null,panelSizes:null,prevPanelIndex:null,timer:null,data:function(){return{prevSize:null}},mounted:function(){this.initializePanels()},beforeUnmount:function(){this.clear(),this.unbindMouseListeners()},methods:{isSplitterPanel:function(e){return e.type.name==="SplitterPanel"},initializePanels:function(){var e=this;if(this.panels&&this.panels.length){var n=!1;if(this.isStateful()&&(n=this.restoreState()),!n){var r=y(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"}),s=[];this.panels.map(function(i,a){var o=i.props&&I(i.props.size)?i.props.size:null,u=o||100/e.panels.length;s[a]=u,r[a].style.flexBasis="calc("+u+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),this.panelSizes=s,this.prevSize=parseFloat(s[0]).toFixed(4)}}},onResizeStart:function(e,n,r){this.gutterElement=e.currentTarget||e.target.parentElement,this.size=this.horizontal?M(this.$el):w(this.$el),r||(this.dragging=!0,this.startPos=this.layout==="horizontal"?e.pageX||e.changedTouches[0].pageX:e.pageY||e.changedTouches[0].pageY),this.prevPanelElement=this.gutterElement.previousElementSibling,this.nextPanelElement=this.gutterElement.nextElementSibling,r?(this.prevPanelSize=this.horizontal?d(this.prevPanelElement,!0):f(this.prevPanelElement,!0),this.nextPanelSize=this.horizontal?d(this.nextPanelElement,!0):f(this.nextPanelElement,!0)):(this.prevPanelSize=100*(this.horizontal?d(this.prevPanelElement,!0):f(this.prevPanelElement,!0))/this.size,this.nextPanelSize=100*(this.horizontal?d(this.nextPanelElement,!0):f(this.nextPanelElement,!0))/this.size),this.prevPanelIndex=n,this.$emit("resizestart",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter[n].setAttribute("data-p-gutter-resizing",!0),this.$el.setAttribute("data-p-resizing",!0)},onResize:function(e,n,r){var s,i,a;r?this.horizontal?(i=100*(this.prevPanelSize+n)/this.size,a=100*(this.nextPanelSize-n)/this.size):(i=100*(this.prevPanelSize-n)/this.size,a=100*(this.nextPanelSize+n)/this.size):(this.horizontal?T(this.$el)?s=(this.startPos-e.pageX)*100/this.size:s=(e.pageX-this.startPos)*100/this.size:s=(e.pageY-this.startPos)*100/this.size,i=this.prevPanelSize+s,a=this.nextPanelSize-s),this.validateResize(i,a)||(i=Math.min(Math.max(this.prevPanelMinSize,i),100-this.nextPanelMinSize),a=Math.min(Math.max(this.nextPanelMinSize,a),100-this.prevPanelMinSize)),this.prevPanelElement.style.flexBasis="calc("+i+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.nextPanelElement.style.flexBasis="calc("+a+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.panelSizes[this.prevPanelIndex]=i,this.panelSizes[this.prevPanelIndex+1]=a,this.prevSize=parseFloat(i).toFixed(4),this.$emit("resize",{originalEvent:e,sizes:this.panelSizes})},onResizeEnd:function(e){this.isStateful()&&this.saveState(),this.$emit("resizeend",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter.forEach(function(n){return n.setAttribute("data-p-gutter-resizing",!1)}),this.$el.setAttribute("data-p-resizing",!1),this.clear()},repeat:function(e,n,r){this.onResizeStart(e,n,!0),this.onResize(e,r,!0)},setTimer:function(e,n,r){var s=this;this.timer||(this.timer=setInterval(function(){s.repeat(e,n,r)},40))},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},onGutterKeyUp:function(){this.clearTimer(),this.onResizeEnd()},onGutterKeyDown:function(e,n){switch(e.code){case"ArrowLeft":{this.layout==="horizontal"&&this.setTimer(e,n,this.step*-1),e.preventDefault();break}case"ArrowRight":{this.layout==="horizontal"&&this.setTimer(e,n,this.step),e.preventDefault();break}case"ArrowDown":{this.layout==="vertical"&&this.setTimer(e,n,this.step*-1),e.preventDefault();break}case"ArrowUp":{this.layout==="vertical"&&this.setTimer(e,n,this.step),e.preventDefault();break}}},onGutterMouseDown:function(e,n){this.onResizeStart(e,n),this.bindMouseListeners()},onGutterTouchStart:function(e,n){this.onResizeStart(e,n),this.bindTouchListeners(),e.preventDefault()},onGutterTouchMove:function(e){this.onResize(e),e.preventDefault()},onGutterTouchEnd:function(e){this.onResizeEnd(e),this.unbindTouchListeners(),e.preventDefault()},bindMouseListeners:function(){var e=this;this.mouseMoveListener||(this.mouseMoveListener=function(n){return e.onResize(n)},document.addEventListener("mousemove",this.mouseMoveListener)),this.mouseUpListener||(this.mouseUpListener=function(n){e.onResizeEnd(n),e.unbindMouseListeners()},document.addEventListener("mouseup",this.mouseUpListener))},bindTouchListeners:function(){var e=this;this.touchMoveListener||(this.touchMoveListener=function(n){return e.onResize(n.changedTouches[0])},document.addEventListener("touchmove",this.touchMoveListener)),this.touchEndListener||(this.touchEndListener=function(n){e.resizeEnd(n),e.unbindTouchListeners()},document.addEventListener("touchend",this.touchEndListener))},validateResize:function(e,n){return!(e>100||e<0||n>100||n<0||this.prevPanelMinSize>e||this.nextPanelMinSize>n)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){L(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var e=this,n=this.getStorage(),r=n.getItem(this.stateKey);if(r){this.panelSizes=JSON.parse(r);var s=y(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"});return s.forEach(function(i,a){i.style.flexBasis="calc("+e.panelSizes[a]+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var e=this,n=[];return this.$slots.default().forEach(function(r){e.isSplitterPanel(r)?n.push(r):r.children instanceof Array&&r.children.forEach(function(s){e.isSplitterPanel(s)&&n.push(s)})}),n},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var e;return{context:{nested:(e=this.$parentInstance)===null||e===void 0?void 0:e.nestedState}}},prevPanelMinSize:function(){var e=v(this.panels[this.prevPanelIndex],"minSize");return this.panels[this.prevPanelIndex].props&&e?e:0},nextPanelMinSize:function(){var e=v(this.panels[this.prevPanelIndex+1],"minSize");return this.panels[this.prevPanelIndex+1].props&&e?e:0},dataP:function(){var e;return x(S(S({},this.layout,this.layout),"nested",((e=this.$parentInstance)===null||e===void 0?void 0:e.nestedState)!=null))}}},C=["data-p"],J=["onMousedown","onTouchstart","onTouchmove","onTouchend","data-p"],V=["aria-orientation","aria-valuenow","onKeydown","data-p"];function Y(t,e,n,r,s,i){return h(),p("div",m({class:t.cx("root"),"data-p-resizing":!1,"data-p":i.dataP},t.ptmi("root",i.getPTOptions)),[(h(!0),p(z,null,A(i.panels,function(a,o){return h(),p(z,{key:o},[(h(),$(G(a),{tabindex:"-1"})),o!==i.panels.length-1?(h(),p("div",m({key:0,ref_for:!0,ref:"gutter",class:t.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(l){return i.onGutterMouseDown(l,o)},onTouchstart:function(l){return i.onGutterTouchStart(l,o)},onTouchmove:function(l){return i.onGutterTouchMove(l,o)},onTouchend:function(l){return i.onGutterTouchEnd(l,o)},"data-p-gutter-resizing":!1,"data-p":i.dataP},t.ptm("gutter")),[k("div",m({class:t.cx("gutterHandle"),tabindex:"0",style:[i.gutterStyle],"aria-orientation":t.layout,"aria-valuenow":s.prevSize,onKeyup:e[0]||(e[0]=function(){return i.onGutterKeyUp&&i.onGutterKeyUp.apply(i,arguments)}),onKeydown:function(l){return i.onGutterKeyDown(l,o)},"data-p":i.dataP,ref_for:!0},t.ptm("gutterHandle")),null,16,V)],16,J)):R("",!0)],64)}),128))],16,C)}X.render=Y;var q={root:function(e){var n=e.instance;return["p-splitterpanel",{"p-splitterpanel-nested":n.isNested}]}},Q=b.extend({name:"splitterpanel",classes:q}),Z={name:"BaseSplitterPanel",extends:P,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:Q,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},ee={name:"SplitterPanel",extends:Z,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var e=this;return this.$slots.default().some(function(n){return e.nestedState=n.type.name==="Splitter"?!0:null,e.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function te(t,e,n,r,s,i){return h(),p("div",m({ref:"container",class:t.cx("root")},t.ptmi("root",i.getPTOptions)),[_(t.$slots,"default")],16)}ee.render=te;export{X as a,ee as s};
81
+ `,U={root:function(e){var n=e.props;return["p-splitter p-component","p-splitter-"+n.layout]},gutter:"p-splitter-gutter",gutterHandle:"p-splitter-gutter-handle"},D=b.extend({name:"splitter",style:K,classes:U}),N={name:"BaseSplitter",extends:P,props:{layout:{type:String,default:"horizontal"},gutterSize:{type:Number,default:4},stateKey:{type:String,default:null},stateStorage:{type:String,default:"session"},step:{type:Number,default:5}},style:D,provide:function(){return{$pcSplitter:this,$parentInstance:this}}};function c(t){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(t)}function S(t,e,n){return(e=B(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t){var e=O(t,"string");return c(e)=="symbol"?e:e+""}function O(t,e){if(c(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(c(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function y(t){return V(t)||F(t)||j(t)||H()}function H(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
82
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(t,e){if(t){if(typeof t=="string")return g(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function F(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function V(t){if(Array.isArray(t))return g(t)}function g(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var X={name:"Splitter",extends:N,inheritAttrs:!1,emits:["resizestart","resizeend","resize"],dragging:!1,mouseMoveListener:null,mouseUpListener:null,touchMoveListener:null,touchEndListener:null,size:null,gutterElement:null,startPos:null,prevPanelElement:null,nextPanelElement:null,nextPanelSize:null,prevPanelSize:null,panelSizes:null,prevPanelIndex:null,timer:null,data:function(){return{prevSize:null}},mounted:function(){this.initializePanels()},beforeUnmount:function(){this.clear(),this.unbindMouseListeners()},methods:{isSplitterPanel:function(e){return e.type.name==="SplitterPanel"},initializePanels:function(){var e=this;if(this.panels&&this.panels.length){var n=!1;if(this.isStateful()&&(n=this.restoreState()),!n){var r=y(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"}),s=[];this.panels.map(function(i,a){var o=i.props&&I(i.props.size)?i.props.size:null,u=o||100/e.panels.length;s[a]=u,r[a].style.flexBasis="calc("+u+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),this.panelSizes=s,this.prevSize=parseFloat(s[0]).toFixed(4)}}},onResizeStart:function(e,n,r){this.gutterElement=e.currentTarget||e.target.parentElement,this.size=this.horizontal?M(this.$el):w(this.$el),r||(this.dragging=!0,this.startPos=this.layout==="horizontal"?e.pageX||e.changedTouches[0].pageX:e.pageY||e.changedTouches[0].pageY),this.prevPanelElement=this.gutterElement.previousElementSibling,this.nextPanelElement=this.gutterElement.nextElementSibling,r?(this.prevPanelSize=this.horizontal?d(this.prevPanelElement,!0):f(this.prevPanelElement,!0),this.nextPanelSize=this.horizontal?d(this.nextPanelElement,!0):f(this.nextPanelElement,!0)):(this.prevPanelSize=100*(this.horizontal?d(this.prevPanelElement,!0):f(this.prevPanelElement,!0))/this.size,this.nextPanelSize=100*(this.horizontal?d(this.nextPanelElement,!0):f(this.nextPanelElement,!0))/this.size),this.prevPanelIndex=n,this.$emit("resizestart",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter[n].setAttribute("data-p-gutter-resizing",!0),this.$el.setAttribute("data-p-resizing",!0)},onResize:function(e,n,r){var s,i,a;r?this.horizontal?(i=100*(this.prevPanelSize+n)/this.size,a=100*(this.nextPanelSize-n)/this.size):(i=100*(this.prevPanelSize-n)/this.size,a=100*(this.nextPanelSize+n)/this.size):(this.horizontal?T(this.$el)?s=(this.startPos-e.pageX)*100/this.size:s=(e.pageX-this.startPos)*100/this.size:s=(e.pageY-this.startPos)*100/this.size,i=this.prevPanelSize+s,a=this.nextPanelSize-s),this.validateResize(i,a)||(i=Math.min(Math.max(this.prevPanelMinSize,i),100-this.nextPanelMinSize),a=Math.min(Math.max(this.nextPanelMinSize,a),100-this.prevPanelMinSize)),this.prevPanelElement.style.flexBasis="calc("+i+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.nextPanelElement.style.flexBasis="calc("+a+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.panelSizes[this.prevPanelIndex]=i,this.panelSizes[this.prevPanelIndex+1]=a,this.prevSize=parseFloat(i).toFixed(4),this.$emit("resize",{originalEvent:e,sizes:this.panelSizes})},onResizeEnd:function(e){this.isStateful()&&this.saveState(),this.$emit("resizeend",{originalEvent:e,sizes:this.panelSizes}),this.$refs.gutter.forEach(function(n){return n.setAttribute("data-p-gutter-resizing",!1)}),this.$el.setAttribute("data-p-resizing",!1),this.clear()},repeat:function(e,n,r){this.onResizeStart(e,n,!0),this.onResize(e,r,!0)},setTimer:function(e,n,r){var s=this;this.timer||(this.timer=setInterval(function(){s.repeat(e,n,r)},40))},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},onGutterKeyUp:function(){this.clearTimer(),this.onResizeEnd()},onGutterKeyDown:function(e,n){switch(e.code){case"ArrowLeft":{this.layout==="horizontal"&&this.setTimer(e,n,this.step*-1),e.preventDefault();break}case"ArrowRight":{this.layout==="horizontal"&&this.setTimer(e,n,this.step),e.preventDefault();break}case"ArrowDown":{this.layout==="vertical"&&this.setTimer(e,n,this.step*-1),e.preventDefault();break}case"ArrowUp":{this.layout==="vertical"&&this.setTimer(e,n,this.step),e.preventDefault();break}}},onGutterMouseDown:function(e,n){this.onResizeStart(e,n),this.bindMouseListeners()},onGutterTouchStart:function(e,n){this.onResizeStart(e,n),this.bindTouchListeners(),e.preventDefault()},onGutterTouchMove:function(e){this.onResize(e),e.preventDefault()},onGutterTouchEnd:function(e){this.onResizeEnd(e),this.unbindTouchListeners(),e.preventDefault()},bindMouseListeners:function(){var e=this;this.mouseMoveListener||(this.mouseMoveListener=function(n){return e.onResize(n)},document.addEventListener("mousemove",this.mouseMoveListener)),this.mouseUpListener||(this.mouseUpListener=function(n){e.onResizeEnd(n),e.unbindMouseListeners()},document.addEventListener("mouseup",this.mouseUpListener))},bindTouchListeners:function(){var e=this;this.touchMoveListener||(this.touchMoveListener=function(n){return e.onResize(n.changedTouches[0])},document.addEventListener("touchmove",this.touchMoveListener)),this.touchEndListener||(this.touchEndListener=function(n){e.resizeEnd(n),e.unbindTouchListeners()},document.addEventListener("touchend",this.touchEndListener))},validateResize:function(e,n){return!(e>100||e<0||n>100||n<0||this.prevPanelMinSize>e||this.nextPanelMinSize>n)},unbindMouseListeners:function(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)},unbindTouchListeners:function(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)},clear:function(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){L(this.panelSizes)&&this.getStorage().setItem(this.stateKey,JSON.stringify(this.panelSizes))},restoreState:function(){var e=this,n=this.getStorage(),r=n.getItem(this.stateKey);if(r){this.panelSizes=JSON.parse(r);var s=y(this.$el.children).filter(function(i){return i.getAttribute("data-pc-name")==="splitterpanel"});return s.forEach(function(i,a){i.style.flexBasis="calc("+e.panelSizes[a]+"% - "+(e.panels.length-1)*e.gutterSize+"px)"}),!0}return!1},resetState:function(){this.initializePanels()}},computed:{panels:function(){var e=this,n=[];return this.$slots.default().forEach(function(r){e.isSplitterPanel(r)?n.push(r):r.children instanceof Array&&r.children.forEach(function(s){e.isSplitterPanel(s)&&n.push(s)})}),n},gutterStyle:function(){return this.horizontal?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}},horizontal:function(){return this.layout==="horizontal"},getPTOptions:function(){var e;return{context:{nested:(e=this.$parentInstance)===null||e===void 0?void 0:e.nestedState}}},prevPanelMinSize:function(){var e=v(this.panels[this.prevPanelIndex],"minSize");return this.panels[this.prevPanelIndex].props&&e?e:0},nextPanelMinSize:function(){var e=v(this.panels[this.prevPanelIndex+1],"minSize");return this.panels[this.prevPanelIndex+1].props&&e?e:0},dataP:function(){var e;return x(S(S({},this.layout,this.layout),"nested",((e=this.$parentInstance)===null||e===void 0?void 0:e.nestedState)!=null))}}},C=["data-p"],W=["onMousedown","onTouchstart","onTouchmove","onTouchend","data-p"],Y=["aria-orientation","aria-valuenow","onKeydown","data-p"];function J(t,e,n,r,s,i){return h(),p("div",m({class:t.cx("root"),"data-p-resizing":!1,"data-p":i.dataP},t.ptmi("root",i.getPTOptions)),[(h(!0),p(z,null,A(i.panels,function(a,o){return h(),p(z,{key:o},[(h(),$(G(a),{tabindex:"-1"})),o!==i.panels.length-1?(h(),p("div",m({key:0,ref_for:!0,ref:"gutter",class:t.cx("gutter"),role:"separator",tabindex:"-1",onMousedown:function(l){return i.onGutterMouseDown(l,o)},onTouchstart:function(l){return i.onGutterTouchStart(l,o)},onTouchmove:function(l){return i.onGutterTouchMove(l,o)},onTouchend:function(l){return i.onGutterTouchEnd(l,o)},"data-p-gutter-resizing":!1,"data-p":i.dataP},t.ptm("gutter")),[k("div",m({class:t.cx("gutterHandle"),tabindex:"0",style:[i.gutterStyle],"aria-orientation":t.layout,"aria-valuenow":s.prevSize,onKeyup:e[0]||(e[0]=function(){return i.onGutterKeyUp&&i.onGutterKeyUp.apply(i,arguments)}),onKeydown:function(l){return i.onGutterKeyDown(l,o)},"data-p":i.dataP,ref_for:!0},t.ptm("gutterHandle")),null,16,Y)],16,W)):R("",!0)],64)}),128))],16,C)}X.render=J;var q={root:function(e){var n=e.instance;return["p-splitterpanel",{"p-splitterpanel-nested":n.isNested}]}},Q=b.extend({name:"splitterpanel",classes:q}),Z={name:"BaseSplitterPanel",extends:P,props:{size:{type:Number,default:null},minSize:{type:Number,default:null}},style:Q,provide:function(){return{$pcSplitterPanel:this,$parentInstance:this}}},ee={name:"SplitterPanel",extends:Z,inheritAttrs:!1,data:function(){return{nestedState:null}},computed:{isNested:function(){var e=this;return this.$slots.default().some(function(n){return e.nestedState=n.type.name==="Splitter"?!0:null,e.nestedState})},getPTOptions:function(){return{context:{nested:this.isNested}}}}};function te(t,e,n,r,s,i){return h(),p("div",m({ref:"container",class:t.cx("root")},t.ptmi("root",i.getPTOptions)),[_(t.$slots,"default")],16)}ee.render=te;export{X as a,ee as s};
@@ -1,4 +1,4 @@
1
- import{s as ze,a as Fe,c as te}from"./index-D2kTRQ0g.js";import{a as b,o as p,b as V,I as c,bo as Ve,h as O,s as R,g as E,M as Me,bp as Te,y as ge,B as ve,D as be,bq as ne,bf as $,bg as Z,l as B,F as U,q as re,e as j,aJ as J,b5 as Pe,aL as ue,aM as Be,br as Ee,E as D,aq as Ke,ar as xe,as as De,at as Ae,au as He,av as le,aw as Re,bi as je,bd as Ge,bs as Ne,bt as We,aN as N,G as Ue,d as oe,t as A,H as ce,n as ie,f as W,T as qe,aS as $e,J as Ze,m as Je,O as Qe}from"./index-B2Zn1t0F.js";import{a as ye,b as Oe,d as Xe,e as Ye,c as _e,f as et,g as tt,s as it,R as nt}from"./index-BIZVTENX.js";var Ie={name:"TimesIcon",extends:ye};function st(t,e,i,s,l,n){return p(),b("svg",c({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[V("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}Ie.render=st;var we={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=Ve()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function lt(t,e,i,s,l,n){return n.inline?O(t.$slots,"default",{key:0}):l.mounted?(p(),R(Me,{key:1,to:i.appendTo},[O(t.$slots,"default")],8,["to"])):E("",!0)}we.render=lt;var Se={name:"BlankIcon",extends:ye};function ot(t,e,i,s,l,n){return p(),b("svg",c({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[V("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}Se.render=ot;var rt=Te(),at=ge`
1
+ import{s as ze,a as Fe,c as te}from"./index-CED4m1pl.js";import{a as b,o as p,b as V,I as c,bn as Ve,h as O,s as R,g as E,M as Me,bo as Te,y as ge,B as ve,D as be,bp as ne,be as $,bf as Z,l as B,F as U,q as re,e as j,aI as J,b4 as Pe,aK as ue,aL as Be,bq as Ee,E as D,aq as Ke,ar as xe,as as De,at as Ae,au as He,av as le,aw as Re,bh as je,bc as Ge,br as Ne,bs as We,aM as N,G as Ue,d as oe,t as A,H as ce,n as ie,f as W,T as qe,aR as $e,J as Ze,m as Je,O as Qe}from"./index-CnHkskP1.js";import{a as ye,b as Oe,d as Xe,e as Ye,c as _e,f as et,g as tt,s as it,R as nt}from"./index-r5zB7DkH.js";var Ie={name:"TimesIcon",extends:ye};function st(t,e,i,s,l,n){return p(),b("svg",c({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[V("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}Ie.render=st;var we={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=Ve()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function lt(t,e,i,s,l,n){return n.inline?O(t.$slots,"default",{key:0}):l.mounted?(p(),R(Me,{key:1,to:i.appendTo},[O(t.$slots,"default")],8,["to"])):E("",!0)}we.render=lt;var Se={name:"BlankIcon",extends:ye};function ot(t,e,i,s,l,n){return p(),b("svg",c({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[V("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}Se.render=ot;var rt=Te(),at=ge`
2
2
  .p-virtualscroller-loader {
3
3
  background: dt('virtualscroller.loader.mask.background');
4
4
  color: dt('virtualscroller.loader.mask.color');
@@ -1,4 +1,4 @@
1
- import{B as c,aH as A,a as s,o as l,b as f,I as a,y as v,bh as j,aY as E,aU as b,bg as x,bf as C,at as O,aW as z,aV as B,aX as T,bj as L,h as I}from"./index-B2Zn1t0F.js";import{s as y,a as _,c as M}from"./index-D2kTRQ0g.js";var D=`
1
+ import{B as c,aG as A,a as s,o as l,b as f,I as a,y as v,bg as E,aX as O,aT as b,bf as x,be as C,at as j,aV as z,aU as T,aW as B,bi as L,h as I}from"./index-CnHkskP1.js";import{s as y,a as _,c as M}from"./index-CED4m1pl.js";var D=`
2
2
  .p-icon {
3
3
  display: inline-block;
4
4
  vertical-align: baseline;
@@ -30,7 +30,7 @@ import{B as c,aH as A,a as s,o as l,b as f,I as a,y as v,bh as j,aY as E,aU as b
30
30
  transform: rotate(359deg);
31
31
  }
32
32
  }
33
- `,R=c.extend({name:"baseicon",css:D});function p(e){"@babel/helpers - typeof";return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(e)}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$(Object(n),!0).forEach(function(i){U(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function U(e,t,n){return(t=F(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){var t=Z(e,"string");return p(t)=="symbol"?t:t+""}function Z(e,t){if(p(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(p(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var m={name:"BaseIcon",extends:y,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:R,provide:function(){return{$pcIcon:this,$parentInstance:this}},methods:{pti:function(){var t=A(this.label);return w(w({},!this.isUnstyled&&{class:["p-icon",{"p-icon-spin":this.spin}]}),{},{role:t?void 0:"img","aria-label":t?void 0:this.label,"aria-hidden":t})}}},H={name:"SpinnerIcon",extends:m};function K(e,t,n,i,r,o){return l(),s("svg",a({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[f("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1)]),16)}H.render=K;var N=v`
33
+ `,R=c.extend({name:"baseicon",css:D});function p(e){"@babel/helpers - typeof";return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(e)}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$(Object(n),!0).forEach(function(i){U(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function U(e,t,n){return(t=F(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){var t=Z(e,"string");return p(t)=="symbol"?t:t+""}function Z(e,t){if(p(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(p(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var m={name:"BaseIcon",extends:y,props:{label:{type:String,default:void 0},spin:{type:Boolean,default:!1}},style:R,provide:function(){return{$pcIcon:this,$parentInstance:this}},methods:{pti:function(){var t=A(this.label);return w(w({},!this.isUnstyled&&{class:["p-icon",{"p-icon-spin":this.spin}]}),{},{role:t?void 0:"img","aria-label":t?void 0:this.label,"aria-hidden":t})}}},K={name:"SpinnerIcon",extends:m};function N(e,t,n,i,r,o){return l(),s("svg",a({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[f("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1)]),16)}K.render=N;var W=v`
34
34
  .p-ink {
35
35
  display: block;
36
36
  position: absolute;
@@ -50,8 +50,8 @@ import{B as c,aH as A,a as s,o as l,b as f,I as a,y as v,bh as j,aY as E,aU as b
50
50
  transform: scale(2.5);
51
51
  }
52
52
  }
53
- `,W={root:"p-ink"},V=c.extend({name:"ripple-directive",style:N,classes:W}),X=j.extend({style:V});function d(e){"@babel/helpers - typeof";return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(e)}function Y(e){return Q(e)||J(e)||G(e)||q()}function q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
54
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G(e,t){if(e){if(typeof e=="string")return h(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function J(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Q(e){if(Array.isArray(e))return h(e)}function h(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function k(e,t,n){return(t=tt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e){var t=et(e,"string");return d(t)=="symbol"?t:t+""}function et(e,t){if(d(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(d(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ot=X.extend("ripple",{watch:{"config.ripple":function(t){t?(this.createRipple(this.$host),this.bindEvents(this.$host),this.$host.setAttribute("data-pd-ripple",!0),this.$host.style.overflow="hidden",this.$host.style.position="relative"):(this.remove(this.$host),this.$host.removeAttribute("data-pd-ripple"))}},unmounted:function(t){this.remove(t)},timeout:void 0,methods:{bindEvents:function(t){t.addEventListener("mousedown",this.onMouseDown.bind(this))},unbindEvents:function(t){t.removeEventListener("mousedown",this.onMouseDown.bind(this))},createRipple:function(t){var n=this.getInk(t);n||(n=L("span",k(k({role:"presentation","aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx("root"),onAnimationEnd:this.onAnimationEnd.bind(this)},this.$attrSelector,""),"p-bind",this.ptm("root"))),t.appendChild(n),this.$el=n)},remove:function(t){var n=this.getInk(t);n&&(this.$host.style.overflow="",this.$host.style.position="",this.unbindEvents(t),n.removeEventListener("animationend",this.onAnimationEnd),n.remove())},onMouseDown:function(t){var n=this,i=t.currentTarget,r=this.getInk(i);if(!(!r||getComputedStyle(r,null).display==="none")){if(!this.isUnstyled()&&b(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!x(r)&&!C(r)){var o=Math.max(O(i),z(i));r.style.height=o+"px",r.style.width=o+"px"}var g=B(i),S=t.pageX-g.left+document.body.scrollTop-C(r)/2,P=t.pageY-g.top+document.body.scrollLeft-x(r)/2;r.style.top=P+"px",r.style.left=S+"px",!this.isUnstyled()&&T(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(function(){r&&(!n.isUnstyled()&&b(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"))},401)}},onAnimationEnd:function(t){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&b(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")},getInk:function(t){return t&&t.children?Y(t.children).find(function(n){return E(n,"data-pc-name")==="ripple"}):void 0}}}),nt=v`
53
+ `,H={root:"p-ink"},V=c.extend({name:"ripple-directive",style:W,classes:H}),X=E.extend({style:V});function d(e){"@babel/helpers - typeof";return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(e)}function G(e){return Q(e)||J(e)||q(e)||Y()}function Y(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
54
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q(e,t){if(e){if(typeof e=="string")return h(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function J(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Q(e){if(Array.isArray(e))return h(e)}function h(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function k(e,t,n){return(t=tt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e){var t=et(e,"string");return d(t)=="symbol"?t:t+""}function et(e,t){if(d(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(d(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var jt=X.extend("ripple",{watch:{"config.ripple":function(t){t?(this.createRipple(this.$host),this.bindEvents(this.$host),this.$host.setAttribute("data-pd-ripple",!0),this.$host.style.overflow="hidden",this.$host.style.position="relative"):(this.remove(this.$host),this.$host.removeAttribute("data-pd-ripple"))}},unmounted:function(t){this.remove(t)},timeout:void 0,methods:{bindEvents:function(t){t.addEventListener("mousedown",this.onMouseDown.bind(this))},unbindEvents:function(t){t.removeEventListener("mousedown",this.onMouseDown.bind(this))},createRipple:function(t){var n=this.getInk(t);n||(n=L("span",k(k({role:"presentation","aria-hidden":!0,"data-p-ink":!0,"data-p-ink-active":!1,class:!this.isUnstyled()&&this.cx("root"),onAnimationEnd:this.onAnimationEnd.bind(this)},this.$attrSelector,""),"p-bind",this.ptm("root"))),t.appendChild(n),this.$el=n)},remove:function(t){var n=this.getInk(t);n&&(this.$host.style.overflow="",this.$host.style.position="",this.unbindEvents(t),n.removeEventListener("animationend",this.onAnimationEnd),n.remove())},onMouseDown:function(t){var n=this,i=t.currentTarget,r=this.getInk(i);if(!(!r||getComputedStyle(r,null).display==="none")){if(!this.isUnstyled()&&b(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"),!x(r)&&!C(r)){var o=Math.max(j(i),z(i));r.style.height=o+"px",r.style.width=o+"px"}var g=T(i),S=t.pageX-g.left+document.body.scrollTop-C(r)/2,P=t.pageY-g.top+document.body.scrollLeft-x(r)/2;r.style.top=P+"px",r.style.left=S+"px",!this.isUnstyled()&&B(r,"p-ink-active"),r.setAttribute("data-p-ink-active","true"),this.timeout=setTimeout(function(){r&&(!n.isUnstyled()&&b(r,"p-ink-active"),r.setAttribute("data-p-ink-active","false"))},401)}},onAnimationEnd:function(t){this.timeout&&clearTimeout(this.timeout),!this.isUnstyled()&&b(t.currentTarget,"p-ink-active"),t.currentTarget.setAttribute("data-p-ink-active","false")},getInk:function(t){return t&&t.children?G(t.children).find(function(n){return O(n,"data-pc-name")==="ripple"}):void 0}}}),nt=v`
55
55
  .p-inputtext {
56
56
  font-family: inherit;
57
57
  font-feature-settings: inherit;
@@ -173,4 +173,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
173
173
  height: dt('form.field.lg.font.size');
174
174
  margin-top: calc(-1 * (dt('form.field.lg.font.size') / 2));
175
175
  }
176
- `,gt={root:"p-iconfield"},xt=c.extend({name:"iconfield",style:yt,classes:gt}),Ct={name:"BaseIconField",extends:y,style:xt,provide:function(){return{$pcIconField:this,$parentInstance:this}}},$t={name:"IconField",extends:Ct,inheritAttrs:!1};function wt(e,t,n,i,r,o){return l(),s("div",a({class:e.cx("root")},e.ptmi("root")),[I(e.$slots,"default")],16)}$t.render=wt;var kt={root:"p-inputicon"},It=c.extend({name:"inputicon",classes:kt}),St={name:"BaseInputIcon",extends:y,style:It,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},Pt={name:"InputIcon",extends:St,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function At(e,t,n,i,r,o){return l(),s("span",a({class:o.containerClass},e.ptmi("root")),[I(e.$slots,"default")],16)}Pt.render=At;export{Ot as R,m as a,H as b,mt as c,ct as d,ht as e,$t as f,Pt as g,pt as s};
176
+ `,gt={root:"p-iconfield"},xt=c.extend({name:"iconfield",style:yt,classes:gt}),Ct={name:"BaseIconField",extends:y,style:xt,provide:function(){return{$pcIconField:this,$parentInstance:this}}},$t={name:"IconField",extends:Ct,inheritAttrs:!1};function wt(e,t,n,i,r,o){return l(),s("div",a({class:e.cx("root")},e.ptmi("root")),[I(e.$slots,"default")],16)}$t.render=wt;var kt={root:"p-inputicon"},It=c.extend({name:"inputicon",classes:kt}),St={name:"BaseInputIcon",extends:y,style:It,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},Pt={name:"InputIcon",extends:St,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function At(e,t,n,i,r,o){return l(),s("span",a({class:o.containerClass},e.ptmi("root")),[I(e.$slots,"default")],16)}Pt.render=At;export{jt as R,m as a,K as b,mt as c,ct as d,ht as e,$t as f,Pt as g,pt as s};
@@ -1,4 +1,4 @@
1
- import{conf as t,language as e}from"./typescript-DUGr9yKr.js";import"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{conf as t,language as e}from"./typescript-BI5fccq7.js";import"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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 +1 @@
1
- import{Q as O,c as x,s as D,o as d,n as j,V as E,l as T,a as k,g,b as f,d as B,t as V,O as N,F as _,q as K,p as J,u as R}from"./index-B2Zn1t0F.js";const A=t=>({is:()=>A(t),default:()=>t}),w=t=>({is:(s,o)=>s(t)?A(o()):w(t),default:s=>s()}),I=t=>({is:(s,o)=>s(t)?A(o()):w(t)}),S=t=>()=>t,L={class:"json-view-item"},U={key:0},Y=["aria-expanded"],z={class:"properties"},F={key:0},q=["role","tabindex"],M={class:"value-key"};var b=(t=>(t[t.OBJECT=0]="OBJECT",t[t.ARRAY=1]="ARRAY",t[t.VALUE=2]="VALUE",t))(b||{});const G=O({name:"JsonTreeViewItem",__name:"JsonTreeViewItem",props:{data:{},maxDepth:{default:1},canSelect:{type:Boolean,default:!1}},emits:["selected"],setup(t,{emit:s}){const o=t,u=s,r=E({open:o.data.depth<o.maxDepth}),m=()=>{r.open=!r.open},y=e=>u("selected",{key:e.key,value:e.value,path:e.path}),n=e=>u("selected",e),c=e=>{const a=Number(e.key);return isNaN(a)?`"${e.key}":`:`${e.key}":`},p=e=>I(typeof e).is(a=>a==="string",S("var(--jtv-string-color)")).is(a=>a==="number",S("var(--jtv-number-color)")).is(a=>a==="boolean",S("var(--jtv-boolean-color)")).is(a=>a==="object",S("var(--jtv-null-color)")).default(S("var(--jtv-valueKey-color)")),l=x(()=>({"chevron-arrow":!0,opened:r.open})),v=x(()=>({"value-key":!0,"can-select":o.canSelect})),$=x(()=>{const e=o.data.length;return o.data.type===1?e===1?`${e} element`:`${e} elements`:e===1?`${e} property`:`${e} properties`}),i=x(()=>JSON.stringify(o.data.value));return(e,a)=>{const C=T("JsonTreeViewItem",!0);return d(),k("div",L,[e.data.type===0||e.data.type===1?(d(),k("div",U,[f("button",{class:"data-key","aria-expanded":r.open?"true":"false",onClick:N(m,["stop"])},[f("div",{class:j(l.value)},null,2),B(" "+V(e.data.key)+": ",1),f("span",z,V($.value),1)],8,Y),r.open?(d(),k("div",F,[(d(!0),k(_,null,K(e.data.children,h=>(d(),D(C,{key:c(h),data:h,maxDepth:e.maxDepth,canSelect:e.canSelect,onSelected:n},null,8,["data","maxDepth","canSelect"]))),128))])):g("",!0)])):g("",!0),e.data.type===2?(d(),k("div",{key:1,class:j(v.value),role:e.canSelect?"button":void 0,tabindex:e.canSelect?"0":void 0,onClick:a[0]||(a[0]=h=>y(e.data)),onKeyup:[a[1]||(a[1]=J(h=>y(e.data),["enter"])),a[2]||(a[2]=J(h=>y(e.data),["space"]))]},[f("span",M,V(e.data.key)+":",1),f("span",{style:R({color:p(e.data.value)})},V(i.value),5)],42,q)):g("",!0)])}}}),H=O({name:"JsonTreeView",__name:"JsonTreeView",props:{json:{},rootKey:{default:"/"},maxDepth:{default:1},colorScheme:{default:"light"}},emits:["selected"],setup(t,{emit:s}){const o=t,u=s,r=n=>u("selected",n),m=(n,c,p,l,v)=>{if(c instanceof Object){if(c instanceof Array){const i=c.map((e,a)=>m(a.toString(),e,p+1,v?`${l}${n}[${a}].`:`${l}`,!1));return{key:n,type:b.ARRAY,depth:p,path:l,length:i.length,children:i}}const $=Object.entries(c).map(([i,e])=>m(i,e,p+1,v?`${l}${n}.`:`${l}`,!0));return{key:n,type:b.OBJECT,depth:p,path:l,length:$.length,children:$}}else return{key:n,type:b.VALUE,path:v?`${l}${n}`:l.slice(0,-1),depth:p,value:c}},y=x(()=>{const n=JSON.parse(o.json);return n instanceof Object?m(o.rootKey,{...n},0,"",!0):{key:o.rootKey,type:b.VALUE,path:"",depth:0,value:o.json}});return(n,c)=>(d(),D(G,{class:j([{"root-item":!0,dark:n.colorScheme==="dark"}]),data:y.value,maxDepth:n.maxDepth,onSelected:r},null,8,["class","data","maxDepth"]))}}),P=(t,s)=>{const o=t.__vccOpts||t;for(const[u,r]of s)o[u]=r;return o},W=P(H,[["__scopeId","data-v-f85384eb"]]);export{W};
1
+ import{Q as O,c as x,s as D,o as d,n as j,V as E,l as T,a as k,g,b as f,d as B,t as V,O as N,F as _,q as K,p as J,u as R}from"./index-CnHkskP1.js";const A=t=>({is:()=>A(t),default:()=>t}),w=t=>({is:(s,o)=>s(t)?A(o()):w(t),default:s=>s()}),I=t=>({is:(s,o)=>s(t)?A(o()):w(t)}),S=t=>()=>t,L={class:"json-view-item"},U={key:0},Y=["aria-expanded"],z={class:"properties"},F={key:0},q=["role","tabindex"],M={class:"value-key"};var b=(t=>(t[t.OBJECT=0]="OBJECT",t[t.ARRAY=1]="ARRAY",t[t.VALUE=2]="VALUE",t))(b||{});const G=O({name:"JsonTreeViewItem",__name:"JsonTreeViewItem",props:{data:{},maxDepth:{default:1},canSelect:{type:Boolean,default:!1}},emits:["selected"],setup(t,{emit:s}){const o=t,u=s,r=E({open:o.data.depth<o.maxDepth}),m=()=>{r.open=!r.open},y=e=>u("selected",{key:e.key,value:e.value,path:e.path}),n=e=>u("selected",e),c=e=>{const a=Number(e.key);return isNaN(a)?`"${e.key}":`:`${e.key}":`},p=e=>I(typeof e).is(a=>a==="string",S("var(--jtv-string-color)")).is(a=>a==="number",S("var(--jtv-number-color)")).is(a=>a==="boolean",S("var(--jtv-boolean-color)")).is(a=>a==="object",S("var(--jtv-null-color)")).default(S("var(--jtv-valueKey-color)")),l=x(()=>({"chevron-arrow":!0,opened:r.open})),v=x(()=>({"value-key":!0,"can-select":o.canSelect})),$=x(()=>{const e=o.data.length;return o.data.type===1?e===1?`${e} element`:`${e} elements`:e===1?`${e} property`:`${e} properties`}),i=x(()=>JSON.stringify(o.data.value));return(e,a)=>{const C=T("JsonTreeViewItem",!0);return d(),k("div",L,[e.data.type===0||e.data.type===1?(d(),k("div",U,[f("button",{class:"data-key","aria-expanded":r.open?"true":"false",onClick:N(m,["stop"])},[f("div",{class:j(l.value)},null,2),B(" "+V(e.data.key)+": ",1),f("span",z,V($.value),1)],8,Y),r.open?(d(),k("div",F,[(d(!0),k(_,null,K(e.data.children,h=>(d(),D(C,{key:c(h),data:h,maxDepth:e.maxDepth,canSelect:e.canSelect,onSelected:n},null,8,["data","maxDepth","canSelect"]))),128))])):g("",!0)])):g("",!0),e.data.type===2?(d(),k("div",{key:1,class:j(v.value),role:e.canSelect?"button":void 0,tabindex:e.canSelect?"0":void 0,onClick:a[0]||(a[0]=h=>y(e.data)),onKeyup:[a[1]||(a[1]=J(h=>y(e.data),["enter"])),a[2]||(a[2]=J(h=>y(e.data),["space"]))]},[f("span",M,V(e.data.key)+":",1),f("span",{style:R({color:p(e.data.value)})},V(i.value),5)],42,q)):g("",!0)])}}}),H=O({name:"JsonTreeView",__name:"JsonTreeView",props:{json:{},rootKey:{default:"/"},maxDepth:{default:1},colorScheme:{default:"light"}},emits:["selected"],setup(t,{emit:s}){const o=t,u=s,r=n=>u("selected",n),m=(n,c,p,l,v)=>{if(c instanceof Object){if(c instanceof Array){const i=c.map((e,a)=>m(a.toString(),e,p+1,v?`${l}${n}[${a}].`:`${l}`,!1));return{key:n,type:b.ARRAY,depth:p,path:l,length:i.length,children:i}}const $=Object.entries(c).map(([i,e])=>m(i,e,p+1,v?`${l}${n}.`:`${l}`,!0));return{key:n,type:b.OBJECT,depth:p,path:l,length:$.length,children:$}}else return{key:n,type:b.VALUE,path:v?`${l}${n}`:l.slice(0,-1),depth:p,value:c}},y=x(()=>{const n=JSON.parse(o.json);return n instanceof Object?m(o.rootKey,{...n},0,"",!0):{key:o.rootKey,type:b.VALUE,path:"",depth:0,value:o.json}});return(n,c)=>(d(),D(G,{class:j([{"root-item":!0,dark:n.colorScheme==="dark"}]),data:y.value,maxDepth:n.maxDepth,onSelected:r},null,8,["class","data","maxDepth"]))}}),P=(t,s)=>{const o=t.__vccOpts||t;for(const[u,r]of s)o[u]=r;return o},W=P(H,[["__scopeId","data-v-f85384eb"]]);export{W};
@@ -1,4 +1,4 @@
1
- import{m as Ke}from"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as Ke}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as l}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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 i}from"./Editor-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as i}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-B63IO9GV.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/Section-BIExc-vD.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-B2Zn1t0F.js","assets/index-D9v3u7Fv.css","assets/Section-Dz0BsVYl.css","assets/Theme-D5wc2JN5.js","assets/_baseFor-DiPelG4M.js","assets/Editor-BkDstUPD.js","assets/Editor-CPPFMOjb.css","assets/Index-Cd-qd5VG.css","assets/NotUpToDate-Du0KDqto.js","assets/Spinner-BxlVMO5C.js","assets/Spinner-BZXOybIg.css","assets/NotUpToDate-Dh9RbAwK.css","assets/Index-Dx1OujL3.js","assets/Index-Cig3CHAr.js","assets/Index-BTX-OBp_.js","assets/json-tree-view-vue3.es-YUK7eu-v.js","assets/Index-C66tLKvy.css","assets/Toolbox-BctYsp_m.js","assets/Toolbox-B5KXz4eX.css","assets/DynamicComponent-u2mgF7SR.js","assets/DynamicComponent-DgxRO4Pl.css","assets/Modals-DL7ezEul.js","assets/Modal-CFSt4VI3.js","assets/Modal-CGUZawhK.css","assets/index-DljcUO2A.js","assets/index-D2kTRQ0g.js","assets/index-BIZVTENX.js","assets/Logs-DRBJWBGG.js","assets/dayjs.min-CfWDS3UC.js","assets/fs-BKy6SF5M.js","assets/Logs-BhdfGaw5.css","assets/Git-Da_IiEci.js","assets/currentEditor-CPSYuOXJ.js","assets/Git-UQIt5ANe.css","assets/Index-CnwSqgC1.js","assets/sort-BibmqbFD.js","assets/Index-BcFahN3S.css","assets/Npm-D2i5dOQC.js","assets/Npm-KBzO1DYv.css","assets/Bugs-BYVaGclE.js","assets/Bugs-DZVuTDKA.css","assets/Configs-CGdacJ7j.js","assets/index-L-hKesb9.js","assets/index-9SUUWz0Q.js","assets/index-BAdR3mLX.js","assets/index-BVMisFgJ.js","assets/index-D6T2JqTJ.js","assets/lodash-D2RHCRSL.js","assets/Configs-DQRZRhbp.css","assets/Index-tb_q4KJZ.js","assets/Markdown-DA8Jvtc4.js","assets/Markdown-CqAPHaPe.css","assets/index-DGs7mxSp.js","assets/Index-CvhWs0kp.css","assets/StackChooser-C6QUL1ts.js","assets/system-D0myLYD8.js","assets/LeftLogo-mu8SETbq.js","assets/LeftLogo-DsGaOcJY.css","assets/StackChooser-BbxiXmbz.js","assets/StackChooser-mg-uox7H.css","assets/StackChooser-DRNfmbOi.css","assets/StackSingle-CNFNiJ6j.js","assets/Tabs-DOzRR3WD.js","assets/Tabs-BGPqRkjE.css","assets/CurrentEditor-CaZTvScp.js","assets/CurrentEditor-CICqnVzc.css","assets/StackSingle-BVHxvisP.css","assets/Overview-DRm-6OxF.js","assets/Overview-DZIOmzKx.css","assets/StackMultiple-VFMgpudb.js","assets/StackMultiple-CiXqkibR.css","assets/ImportCreate-MvJTSajS.js","assets/ImportCreate-D2Vb-Kah.css","assets/Settings-sGatgaZA.js","assets/Settings-DUCkJDco.css","assets/Init-CVpaullv.js"])))=>i.map(i=>d[i]);
2
- import{P as _n,Q as Ge,L as Pt,R as gn,U as At,V as yn,c as yt,W as ze,X as ee,r as mt,w as Qt,i as Qe,K as mn,j as bn,m as ye,Y as wn,a as jt,o as Tt,g as me,b as dt,v as En,F as be,q as we,s as Cn,f as Rn,t as Ft,O as ne,n as re,k as B,_ as ot,Z as kn,S as Gt}from"./index-B2Zn1t0F.js";import{c as Nt,g as Ke}from"./_commonjsHelpers-D6-XlEtG.js";import{E as Sn}from"./Editor-BkDstUPD.js";import{_ as Xe}from"./Section-BIExc-vD.js";import{_ as xn}from"./_plugin-vue_export-helper-DlAUqK2U.js";/*!
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-CCt5RYhV.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/Section-DWZalQSy.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-CnHkskP1.js","assets/index-D9v3u7Fv.css","assets/Section-Dz0BsVYl.css","assets/Theme-CVJqEc74.js","assets/_baseFor-DiPelG4M.js","assets/Editor-BUC6Zjcy.js","assets/Editor-CPPFMOjb.css","assets/Index-Cd-qd5VG.css","assets/NotUpToDate-Dv1x5laT.js","assets/Spinner-BDdyfVPn.js","assets/Spinner-BZXOybIg.css","assets/NotUpToDate-Dh9RbAwK.css","assets/Index-CKyiBy6h.js","assets/Index-CvSNWhOl.js","assets/Index-CNTmcq3o.js","assets/json-tree-view-vue3.es-BAcuRLYG.js","assets/Index-C66tLKvy.css","assets/Toolbox-CeYvSlof.js","assets/Toolbox-B5KXz4eX.css","assets/DynamicComponent-Cd8cbFTY.js","assets/DynamicComponent-DgxRO4Pl.css","assets/Modals-UgnVGGTd.js","assets/Modal-CMVKUmmz.js","assets/Modal-CGUZawhK.css","assets/index-LXuPKlr_.js","assets/index-CED4m1pl.js","assets/index-r5zB7DkH.js","assets/Logs-Dr0aVld6.js","assets/dayjs.min-CfWDS3UC.js","assets/fs-zCN6KWbV.js","assets/Logs-C7U-WsYO.css","assets/Git-CWhmBLgo.js","assets/currentEditor-Mutd140I.js","assets/Git-UQIt5ANe.css","assets/Index-_Myie1IE.js","assets/sort-BibmqbFD.js","assets/Index-BcFahN3S.css","assets/Npm-BQOhWPXB.js","assets/Npm-KBzO1DYv.css","assets/Bugs-H-Otgxln.js","assets/Bugs-DZVuTDKA.css","assets/Configs-CS7LQ3j2.js","assets/index-BykKOUV5.js","assets/index-BYlmWHqo.js","assets/index-D7eodgey.js","assets/index-BvK3ngOF.js","assets/index-D6ITaiDq.js","assets/lodash-D2RHCRSL.js","assets/Configs-DQRZRhbp.css","assets/Index-DXLLCB8w.js","assets/Markdown-CINu7VUT.js","assets/Markdown-CqAPHaPe.css","assets/index-DlBh1BN-.js","assets/Index-CvhWs0kp.css","assets/StackChooser-D4JG1V6p.js","assets/system-CmOEECxV.js","assets/LeftLogo-DdpN8uKw.js","assets/LeftLogo-DsGaOcJY.css","assets/StackChooser-Dy0nw-1k.js","assets/StackChooser-mg-uox7H.css","assets/StackChooser-DRNfmbOi.css","assets/StackSingle-BrA92wNq.js","assets/Tabs-zx6MP1w5.js","assets/Tabs-BGPqRkjE.css","assets/CurrentEditor-DSg_c1cT.js","assets/CurrentEditor-CICqnVzc.css","assets/StackSingle-BVHxvisP.css","assets/Overview-CyhbZrp6.js","assets/Overview-D94ypoub.css","assets/StackMultiple-CXbZO3gp.js","assets/StackMultiple-CiXqkibR.css","assets/ImportCreate-BMYQ7CRt.js","assets/ImportCreate-D2Vb-Kah.css","assets/Settings-gQ2r_ArG.js","assets/Settings-DvieCtW4.css","assets/Init-ec91xg4K.js"])))=>i.map(i=>d[i]);
2
+ import{P as _n,Q as Ge,L as Pt,R as gn,U as At,V as yn,c as yt,W as ze,X as ee,r as mt,w as Qt,i as Qe,K as mn,j as bn,m as ye,Y as wn,a as jt,o as Tt,g as me,b as dt,v as En,F as be,q as we,s as Cn,f as Rn,t as Ft,O as ne,n as re,k as B,_ as ot,Z as kn,S as Gt}from"./index-CnHkskP1.js";import{c as Nt,g as Ke}from"./_commonjsHelpers-D6-XlEtG.js";import{E as Sn}from"./Editor-BUC6Zjcy.js";import{_ as Xe}from"./Section-DWZalQSy.js";import{_ as xn}from"./_plugin-vue_export-helper-DlAUqK2U.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{P as _n,Q as Ge,L as Pt,R as gn,U as At,V as yn,c as yt,W as ze,X as ee,r
100
100
  `);return this._settledValue()},l=b.prototype.error=b.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()},m=b.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},p=b.prototype.isRejected=function(){return(this._bitField&16777216)!==0},o=b.prototype.isPending=function(){return(this._bitField&50397184)===0},a=b.prototype.isResolved=function(){return(this._bitField&50331648)!==0};b.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 o.call(this._target())},t.prototype.isRejected=function(){return p.call(this._target())},t.prototype.isFulfilled=function(){return m.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return f.call(this._target())},t.prototype.reason=function(){var u=this._target();return u._unsetRejectionIsUnhandled(),l.call(u)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=b}},{}],33:[function(r,c,R){c.exports=function(t,b){var f=r("./util"),l=f.errorObj,m=f.isObject;function p(g,w){if(m(g)){if(g instanceof t)return g;var d=a(g);if(d===l){w&&w._pushContext();var _=t.reject(d.e);return w&&w._popContext(),_}else if(typeof d=="function"){if(y(g)){var _=new t(b);return g._then(_._fulfill,_._reject,void 0,_,null),_}return v(g,d,w)}}return g}function o(g){return g.then}function a(g){try{return o(g)}catch(w){return l.e=w,l}}var u={}.hasOwnProperty;function y(g){try{return u.call(g,"_promise0")}catch{return!1}}function v(g,w,d){var _=new t(b),x=_;d&&d._pushContext(),_._captureStackTrace(),d&&d._popContext();var A=!0,T=f.tryCatch(w).call(g,$,V);A=!1,_&&T===l&&(_._rejectCallback(T.e,!0,!0),_=null);function $(P){_&&(_._resolveCallback(P),_=null)}function V(P){_&&(_._rejectCallback(P,A,!0),_=null)}return x}return p}},{"./util":36}],34:[function(r,c,R){c.exports=function(t,b,f){var l=r("./util"),m=t.TimeoutError;function p(g){this.handle=g}p.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(g){return a(+this).thenReturn(g)},a=t.delay=function(g,w){var d,_;return w!==void 0?(d=t.resolve(w)._then(o,null,null,g,void 0),f.cancellation()&&w instanceof t&&d._setOnCancel(w)):(d=new t(b),_=setTimeout(function(){d._fulfill()},+g),f.cancellation()&&d._setOnCancel(new p(_)),d._captureStackTrace()),d._setAsyncGuaranteed(),d};t.prototype.delay=function(g){return a(g,this)};var u=function(g,w,d){var _;typeof w!="string"?w instanceof Error?_=w:_=new m("operation timed out"):_=new m(w),l.markAsOriginatingFromRejection(_),g._attachExtraTrace(_),g._reject(_),d!=null&&d.cancel()};function y(g){return clearTimeout(this.handle),g}function v(g){throw clearTimeout(this.handle),g}t.prototype.timeout=function(g,w){g=+g;var d,_,x=new p(setTimeout(function(){d.isPending()&&u(d,w,_)},g));return f.cancellation()?(_=this.then(),d=_._then(y,v,void 0,x,void 0),d._setOnCancel(x)):d=this._then(y,v,void 0,x,void 0),d}}},{"./util":36}],35:[function(r,c,R){c.exports=function(t,b,f,l,m,p){var o=r("./util"),a=r("./errors").TypeError,u=r("./util").inherits,y=o.errorObj,v=o.tryCatch,g={};function w(V){setTimeout(function(){throw V},0)}function d(V){var P=f(V);return P!==V&&typeof V._isDisposable=="function"&&typeof V._getDisposer=="function"&&V._isDisposable()&&P._setDisposable(V._getDisposer()),P}function _(V,P){var W=0,Z=V.length,G=new t(m);function X(){if(W>=Z)return G._fulfill();var U=d(V[W++]);if(U instanceof t&&U._isDisposable()){try{U=f(U._getDisposer().tryDispose(P),V.promise)}catch(z){return w(z)}if(U instanceof t)return U._then(X,w,null,null,null)}X()}return X(),G}function x(V,P,W){this._data=V,this._promise=P,this._context=W}x.prototype.data=function(){return this._data},x.prototype.promise=function(){return this._promise},x.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():g},x.prototype.tryDispose=function(V){var P=this.resource(),W=this._context;W!==void 0&&W._pushContext();var Z=P!==g?this.doDispose(P,V):null;return W!==void 0&&W._popContext(),this._promise._unsetDisposable(),this._data=null,Z},x.isDisposer=function(V){return V!=null&&typeof V.resource=="function"&&typeof V.tryDispose=="function"};function A(V,P,W){this.constructor$(V,P,W)}u(A,x),A.prototype.doDispose=function(V,P){var W=this.data();return W.call(V,V,P)};function T(V){return x.isDisposer(V)?(this.resources[this.index]._setDisposable(V),V.promise()):V}function $(V){this.length=V,this.promise=null,this[V-1]=null}$.prototype._resultCancelled=function(){for(var V=this.length,P=0;P<V;++P){var W=this[P];W instanceof t&&W.cancel()}},t.using=function(){var V=arguments.length;if(V<2)return b("you must pass at least 2 arguments to Promise.using");var P=arguments[V-1];if(typeof P!="function")return b("expecting a function but got "+o.classString(P));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 $(V),X=0;X<V;++X){var U=W[X];if(x.isDisposer(U)){var z=U;U=U.promise(),U._setDisposable(z)}else{var M=f(U);M instanceof t&&(U=M._then(T,null,null,{resources:G,index:X},void 0))}G[X]=U}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(Y){for(var J=0;J<Y.length;++J){var it=Y[J];if(it.isRejected())return y.e=it.error(),y;if(!it.isFulfilled()){nt.cancel();return}Y[J]=it.value()}tt._pushContext(),P=v(P);var k=Z?P.apply(void 0,Y):P(Y),ut=tt._popContext();return p.checkForgottenReturns(k,ut,"Promise.using",tt),k}),tt=nt.lastly(function(){var Y=new t.PromiseInspection(nt);return _(G,Y)});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,l());throw new a}}},{"./errors":12,"./util":36}],36:[function(r,c,R){var t=r("./es5"),b=typeof navigator>"u",f={e:{}},l,m=typeof self<"u"?self:typeof window<"u"?window:typeof Nt<"u"?Nt:this!==void 0?this:null;function p(){try{var i=l;return l=null,i.apply(this,arguments)}catch(E){return f.e=E,f}}function o(i){return l=i,p}var a=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 u(i){return i==null||i===!0||i===!1||typeof i=="string"||typeof i=="number"}function y(i){return typeof i=="function"||typeof i=="object"&&i!==null}function v(i){return u(i)?new Error(Z(i)):i}function g(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 w(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 d(i,E,O){if(u(i))return i;var I={value:O,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(i,E,I),i}function _(i){throw i}var x=function(){var i=[Array.prototype,Object.prototype,Function.prototype],E=function(j){for(var H=0;H<i.length;++H)if(i[H]===j)return!0;return!1};if(t.isES5){var O=Object.getOwnPropertyNames;return function(j){for(var H=[],Q=Object.create(null);j!=null&&!E(j);){var ft;try{ft=O(j)}catch{return H}for(var lt=0;lt<ft.length;++lt){var bt=ft[lt];if(!Q[bt]){Q[bt]=!0;var gt=Object.getOwnPropertyDescriptor(j,bt);gt!=null&&gt.get==null&&gt.set==null&&H.push(bt)}}j=t.getPrototypeOf(j)}return H}}else{var I={}.hasOwnProperty;return function(j){if(E(j))return[];var H=[];t:for(var Q in j)if(I.call(j,Q))H.push(Q);else{for(var ft=0;ft<i.length;++ft)if(I.call(i[ft],Q))continue t;H.push(Q)}return H}}}(),A=/this\s*\.\s*\S+\s*=/;function T(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 $(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 P(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{d(i,"isOperational",!0)}catch{}}function U(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 H=I[j];if(O(H))try{t.defineProperty(E,H,t.getDescriptor(i,H))}catch{}}}var tt=function(i){return t.isArray(i)?i:null};if(typeof Symbol<"u"&&Symbol.iterator){var Y=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"?Y(i):null}}var J=typeof process<"u"&&q(process).toLowerCase()==="[object process]",it=typeof process<"u"&&typeof s<"u";function k(i){return it?s[i]:void 0}function ut(){if(typeof Promise=="function")try{var i=new Promise(function(){});if(q(i)==="[object Promise]")return Promise}catch{}}var ht;function F(i,E){if(i===null||typeof E!="function"||E===ht)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 h={setReflectHandler:function(i){ht=i},isClass:T,isIdentifier:P,inheritedDataKeys:x,getDataPropertyOrDefault:w,thrower:_,isArray:t.isArray,asArray:tt,notEnumerableProp:d,isPrimitive:u,isObject:y,isError:G,canEvaluate:b,errorObj:f,tryCatch:o,inherits:a,withAppended:g,maybeWrapAsError:v,toFastProperties:$,filledRange:W,toString:Z,canAttachTrace:z,ensureErrorObject:M,originatesFromRejection:U,markAsOriginatingFromRejection:X,classString:q,copyDescriptors:nt,isNode:J,hasEnvVariables:it,env:k,global:m,getNativePromise:ut,contextBind:F};h.isRecentNode=h.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}(),h.nodeSupportsAsyncResource=h.isNode&&function(){var i=!1;try{var E=r("async_hooks").AsyncResource;i=typeof E.prototype.runInAsyncScope=="function"}catch{i=!1}return i}(),h.isNode&&h.toFastProperties(process);try{throw new Error}catch(i){h.lastLineError=i}c.exports=h},{"./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)}(se)),se.exports}var Ir=Or();const Dr=Ke(Ir);let Mt;const Lr=new Uint8Array(16);function Vr(){if(!Mt&&(Mt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mt(Lr)}const _t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function Pr(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 Hr=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),$e={randomUUID:Hr};function Ur(e,n,s){if($e.randomUUID&&!e)return $e.randomUUID();e=e||{};const r=e.random||(e.rng||Vr)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Pr(r)}function qt(){this.funcs=[]}qt.prototype.subscribe=function(e){return this.funcs.push(e),{unsubscribe:()=>this.unsubscribe(e)}};qt.prototype.next=function(...e){this.funcs.forEach(n=>n(...e))};qt.prototype.unsubscribe=function(e){this.funcs=[...this.funcs.filter(n=>n!==e)]};const Be=cn();class $r{constructor(){this.notifs=mt([]),this.notifsHistory=mt([]),this.openHistory=new qt,this.mutedNotifications=mt(JSON.parse(localStorage.getItem("muted-notifications")||JSON.stringify({error:{}}))),Qt(()=>this.mutedNotifications.value,()=>{localStorage.setItem("muted-notifications",JSON.stringify(this.mutedNotifications.value))},{deep:!0})}next(n,s,r=void 0,c=null,R=null){var b,f;if((b=this.mutedNotifications.value[n])!=null&&b.MUTED_ALL||R&&((f=this.mutedNotifications.value[n])!=null&&f[R]))return;c||(this.next(n,s,r,this.notifsHistory.value,R),c=this.notifs.value);let t=c.find(l=>l.type===n&&l.serviceLabel===r&&r);if(t){const l=t.msgs.find(p=>p.label===s),m=l||{label:s,nb:0};m.nb+=1,l||t.msgs.unshift(m)}else{const l=c.find(o=>o.type===n&&!o.serviceLabel&&o.msgs.find(a=>a.label===s));t=l||{id:Ur(),type:n,msgs:[],serviceLabel:r,nb:0};const m=t.msgs.find(o=>o.label===s),p=m||{label:s,nb:0};p.nb+=1,m||t.msgs.unshift(p),l||c.unshift(t)}clearTimeout(t.timeout),t.timeout=setTimeout(()=>{t&&this.remove(t)},5e3)}remove(n,s=!1){const r=this.notifs.value.indexOf(n);r>-1&&this.notifs.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}removeHistory(n,s){const r=this.notifsHistory.value.indexOf(n);r>-1&&this.notifsHistory.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}}const Br=new $r;var Wt={exports:{}},Ne;function Nr(){if(Ne)return Wt.exports;Ne=1;function e(n,s=100,r={}){if(typeof n!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof n}\`.`);if(s<0)throw new RangeError("`wait` must not be negative.");const{immediate:c}=typeof r=="boolean"?{immediate:r}:r;let R,t,b,f,l;function m(){const a=R,u=t;return R=void 0,t=void 0,l=n.apply(a,u),l}function p(){const a=Date.now()-f;a<s&&a>=0?b=setTimeout(p,s-a):(b=void 0,c||(l=m()))}const o=function(...a){if(R&&this!==R&&Object.getPrototypeOf(this)===Object.getPrototypeOf(R))throw new Error("Debounced method called with different contexts of the same prototype.");R=this,t=a,f=Date.now();const u=c&&!b;return b||(b=setTimeout(p,s)),u&&(l=m()),l};return Object.defineProperty(o,"isPending",{get(){return b!==void 0}}),o.clear=()=>{b&&(clearTimeout(b),b=void 0)},o.flush=()=>{b&&o.trigger()},o.trigger=()=>{l=m(),o.clear()},o}return Wt.exports.debounce=e,Wt.exports=e,Wt.exports}var Mr=Nr();const Wr=Ke(Mr),Gr={key:0,class:"hint"},zr={class:"groups"},Qr={class:"choices"},Kr=["onClick"],Xr={class:"left"},qr={class:"icon"},Yr={class:"title"},Jr={class:"description"},Zr={class:"right"},ti={class:"title"},ei={class:"description"},ni={class:"left"},ri={key:0},ii={class:"title"},oi={class:"description"},ai={__name:"Index",setup(e){const n=cn(),s=async o=>{o.ctrlKey&&o.altKey&&o.code==="KeyP"&&(o.preventDefault(),t.value=!t.value,c.value="",await Qe(),R.value.focus()),o.code==="Escape"&&(o.preventDefault(),t.value=!1)};window.addEventListener("keyup",s),mn(()=>window.removeEventListener("keyup",s));const r=mt({}),c=mt(""),R=mt(),t=mt(!1),b=yt(()=>n.currentRoute.value.path.includes("/Finder"));Qt(()=>t.value,()=>{b.value&&(t.value=!0)},{immediate:!0});const f=yt(()=>Object.keys(r.value).map(o=>{var u,y,v;const a=r.value[o];return{label:a.label,choices:(u=a.choices)==null?void 0:u.slice(0,4),otherChoices:(v=a.choices)==null?void 0:v.slice(4,(y=a.choices)==null?void 0:y.length)}}));async function l(){const{data:o}=await B.get("/finder/search",{params:{q:c.value}}),a={};o[0]&&(o[0].active=!0),o.map(u=>(u.group||(u.group="Others"),a[u.group]||(a[u.group]={label:u.group,choices:[],otherChoices:[]}),a[u.group].choices.push(u),null)),r.value=a}bn(l),Qt(()=>c.value,Wr(l,200));function m(o){o!=null&&o.url&&(n.push(o.url),t.value=!1)}async function p(o){const a=f.value.flatMap(u=>u.choices);if(["ArrowUp","ArrowDown"].includes(o.code))for(let u=0;u<a.length;u+=1){const y=a[u];if(y.active){y.active=!1;const v=o.code==="ArrowUp"?a[a.length-1]:a[0],g=(o.code==="ArrowUp"?a[u-1]:a[u+1])||v;g.active=!0;break}}o.code==="Enter"&&m(a.find(u=>u.active))}return(o,a)=>ye((Tt(),jt("div",{class:re(["finder-root",{isComponent:b.value}]),onClick:a[3]||(a[3]=u=>t.value=!1)},[b.value?(Tt(),jt("div",Gr," Press Ctrl+Alt+P To open it anywhere ")):me("",!0),dt("div",{class:"finder-container",onClick:a[2]||(a[2]=ne(()=>{},["stop"]))},[ye(dt("input",{type:"text",autofocus:"","onUpdate:modelValue":a[0]||(a[0]=u=>c.value=u),placeholder:"Type to find something...",ref_key:"inputRef",ref:R,onKeyup:p},null,544),[[En,c.value]]),dt("div",zr,[(Tt(!0),jt(be,null,we(f.value,u=>(Tt(),Cn(Xe,{class:"group",key:`${u}`},{default:Rn(()=>{var y;return[dt("h2",null,Ft(u.label),1),dt("div",Qr,[(Tt(!0),jt(be,null,we(u.choices,v=>(Tt(),jt("div",{class:re(["choice",{active:v.active}]),key:`${v}`,onClick:ne(g=>m(v),["stop"])},[dt("div",Xr,[dt("div",qr,[dt("i",{class:re(v.icon||"fas fa-cog")},null,2)]),dt("div",null,[dt("div",Yr,Ft(v.title),1),dt("div",Jr,Ft(v.description),1)])]),dt("div",Zr,[dt("div",ti,Ft(v.secondaryTitle),1),dt("div",ei,Ft(v.secondaryDescription),1)])],10,Kr))),128)),dt("div",{class:"choice",onClick:a[1]||(a[1]=ne(()=>{},["stop"]))},[dt("div",ni,[(y=u.otherChoices)!=null&&y.length?(Tt(),jt("div",ri,[dt("div",ii,"And "+Ft(u.otherChoices.length)+" others...",1),dt("div",oi,Ft(u.otherChoices.map(v=>v.title).slice(0,20).map(v=>v.slice(0,40)+"...").join(", "))+" ... ",1)])):me("",!0)])])])]}),_:2},1024))),128))])])],2)),[[wn,t.value]])}},si=xn(ai,[["__scopeId","data-v-de00cded"]]),li=[{name:"OpenApi",component:()=>ot(()=>import("./Index-B63IO9GV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))},{name:"Finder",component:si},{name:"Git-NotUpToDate",component:()=>ot(()=>import("./NotUpToDate-Du0KDqto.js"),__vite__mapDeps([12,2,3,4,5,6,13,14,1,9,10,15]))},{name:"Help",component:()=>ot(()=>import("./Index-Dx1OujL3.js"),__vite__mapDeps([16,3,4,5]))},{name:"Workflows",component:()=>ot(()=>import("./Index-Cig3CHAr.js"),__vite__mapDeps([17,4,5]))},{name:"Docker",component:()=>ot(()=>import("./Index-BTX-OBp_.js"),__vite__mapDeps([18,19,4,5,2,3,6,1,9,10,20]))},{name:"Toolbox",component:()=>ot(()=>import("./Toolbox-BctYsp_m.js"),__vite__mapDeps([21,4,5,3,1,9,10,2,6,22])),children:[{path:":plugin",component:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"toolbox"}}]}],un=[{name:"WorkflowsModals",cmp:()=>ot(()=>import("./Modals-DL7ezEul.js"),__vite__mapDeps([25,26,4,5,3,27,28,29,30,1,9,10,2,6])),load:!0},{name:"DynamicComponent",cmp:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24]))},...li.map(({name:e,component:n,children:s})=>({name:e,cmp:n,routes:[{path:`/${e}`,name:e,component:n,children:s}]})),{name:"Dynamic",component:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),routes:[{path:"/dynamic/:plugin",name:"dynamic",component:()=>ot(()=>import("./DynamicComponent-u2mgF7SR.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"sidebar"}}]},{name:"Logs",cmp:()=>ot(()=>import("./Logs-DRBJWBGG.js"),__vite__mapDeps([31,4,5,19,1,32,2,3,6,26,27,33,13,14,29,28,30,9,10,34]))},{name:"Git",cmp:()=>ot(()=>import("./Git-Da_IiEci.js"),__vite__mapDeps([35,4,5,26,3,27,2,6,7,8,36,1,9,10,37]))},{name:"Github",cmp:()=>ot(()=>import("./Index-CnwSqgC1.js"),__vite__mapDeps([38,4,5,2,3,6,39,1,32,13,14,8,9,10,40]))},{name:"Npm",cmp:()=>ot(()=>import("./Npm-D2i5dOQC.js"),__vite__mapDeps([41,2,3,4,5,6,13,14,28,29,30,1,9,10,42]))},{name:"Bugs",cmp:()=>ot(()=>import("./Bugs-BYVaGclE.js"),__vite__mapDeps([43,2,3,4,5,6,13,14,28,29,30,1,9,10,44]))},{name:"Configuration",cmp:()=>ot(()=>import("./Configs-CGdacJ7j.js"),__vite__mapDeps([45,46,29,4,5,30,47,48,28,49,50,2,3,6,26,27,51,1,9,10,52]))},{name:"Documentation",cmp:()=>ot(()=>import("./Index-tb_q4KJZ.js"),__vite__mapDeps([53,4,5,2,3,6,46,29,30,54,1,50,55,56,47,9,10,57]))}],zt=mt([]);globalThis.toolboxPlugins=mt([]);globalThis.sidebarPlugins=mt([]);function ci(e,n){const s=e.toLowerCase();document.querySelectorAll(s).forEach(c=>n(c));const r=new MutationObserver(c=>{var R,t;for(const b of c)for(const f of b.addedNodes)f.nodeType===Node.ELEMENT_NODE&&(f.tagName.toLowerCase()===s&&n(f),(t=(R=f.querySelectorAll)==null?void 0:R.call(f,s))==null||t.forEach(l=>n(l)))});return r.observe(document.body,{childList:!0,subtree:!0}),r}function Me(e){ui(e),document.querySelectorAll('head > style, head > link[rel="stylesheet"]').forEach(r=>{const c=r.cloneNode(!0);e.prepend(c)}),document.querySelectorAll('head > style[data-primevue-style-id="variables"]').forEach(r=>{const c=r.cloneNode(!0);e.appendChild(c)})}function ui(e){new MutationObserver(s=>{s.forEach(r=>{r.addedNodes.forEach(c=>{if(c instanceof HTMLStyleElement){const R=c.cloneNode(!0);e.appendChild(R)}})})}).observe(document.head,{childList:!0,subtree:!1})}const We=(e,n)=>{ci(e,async s=>{try{Me(s.shadowRoot)}catch{await new Promise(c=>setTimeout(c,1e3)),Me(s.shadowRoot)}}),customElements.define(e,n)},fi=e=>n=>{n.placements.forEach(s=>{const r=s.component;if(s.location==="toolbox"){const c=e+"-toolbox";We(c,r),globalThis.toolboxPlugins.value.push({...s,id:e})}else if(s.location==="sidebar"){const c=e+"-sidebar";We(c,r),globalThis.sidebarPlugins.value.push({...s,id:e})}})},pi=(e,n)=>{fi(e.replaceAll("@","").replaceAll("/","-"))(n)};B.get("/plugins").then(async e=>{zt.value=e.data.sort((n,s)=>s.name.localeCompare(n.name)),console.log("load plugins...",zt.value.map(n=>n.name)),await Dr.map(zt.value,async n=>{var s,r;if((r=(s=n.config.runeya.entries)==null?void 0:s.front)!=null&&r.js){const c=n.name;globalThis[c]=R=>{const t=R({assetsBasePath:`/plugins/${encodeURIComponent(c)}/assets`,components:{Editor:Sn,Section:Xe},callServer:(b,...f)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(b)}`,{args:f}),customCallServer:b=>(f,...l)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(f)}`,{args:l},b),socket:{emit:(b,...f)=>{Gt.emit(encodeURIComponent(c)+"-"+b,...f)},on:(b,f)=>{Gt.on(encodeURIComponent(c)+"-"+b,f)},off:(b,f)=>{Gt.off(encodeURIComponent(c)+"-"+b,f)}},primevueConfig:{theme:{preset:kn,options:{}}},router:he,notification:Br});pi(c,t)};try{await import(`/plugins/${encodeURIComponent(n.name)}/js`)}catch(R){console.error(`❌ Erreur lors du chargement du plugin ${n.name}:`,R)}}})});const Ci=Object.freeze(Object.defineProperty({__proto__:null,default:un,remotePlugins:zt},Symbol.toStringTag,{value:"Module"}));class hi{constructor(n){var s,r,c;this.label=n.label||"",this.commands=n.commands||[],this.rootPath=n.rootPath||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.cwd)||"",this.envs={},this.shortcuts=[],this.updateFields(n)}updateFields(n){var s,r,c;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||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.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,s,r){if(!n||!s)return;const c={};n.forEach(R=>{R&&R[r]&&(c[R[r]]=R)}),n.length=0,s.forEach(R=>{if(R&&R[r]&&c[R[r]]){const t=c[R[r]];this._updateObjectWithReferences(t,R),n.push(t)}else n.push(R)})}_updateObjectWithReferences(n,s){!n||!s||(Object.keys(n).forEach(r=>{r in s||delete n[r]}),Object.keys(s).forEach(r=>{const c=s[r];if(c===void 0)return;if(!(r in n)){n[r]=c;return}const R=n[r];if(c===null)n[r]=null;else if(Array.isArray(c))if(!Array.isArray(R))n[r]=c;else if(c.length>0&&typeof c[0]=="object"&&c[0]!==null){const t=c[0],f=["id","name","label","spawnCmd","key"].find(l=>l in t)||Object.keys(t)[0];this._updateArrayWithReferences(R,c,f)}else R.length=0,c.forEach(t=>R.push(t));else typeof c=="object"?typeof R!="object"||R===null?n[r]=c:this._updateObjectWithReferences(R,c):n[r]=c}))}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 s=await this.stashList();this.git.stash=s}}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:s}=await B.post(`/logs/${this.label}/prompt`,{...n,service:this.label});return s}async sendTerminalTerminate(n){const{data:s}=await B.post(`/logs/${this.label}/terminate`,{...n,service:this.label});return s}async clear(){const{data:n}=await B.delete(`/logs/${this.label}/logs`);return n}async autocomplete(n,{force:s}={}){const{data:r}=await B.get(`/logs/${this.label}/autocomplete`,{params:{message:n,force:!!s}});return r}async openInVsCode(n,s){return B.get(`/editors/${this.label}/open-in-vs-code`,{params:{path:n,editor:s}})}async openLinkInVsCode(n,s){return B.get(`/editors/${this.label}/open-link-in-vs-code`,{params:{link:n,editor:s}})}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,s){const{data:r}=await B.post(`/git/${this.label}/add-branch`,{shouldPush:s,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:s}=await B.get(`/git/${this.label}/branch/${encodeURIComponent(n)}/remote-delta`);return this.git&&(this.git.delta=s),s}async gitFetch(){await B.post(`/git/${this.label}/fetch`)}async getGraph(n){const{data:s}=await B.get(`/git/${this.label}/graph`,{params:{graphOnAll:n}});return s}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:s}=await B.get(`/npm/${this.label}`,{params:{cwd:n}});return s}async getNpmPaths(){const{data:n}=await B.get(`/npm/${this.label}/paths`);return n}async getPackageJSON(n){const{data:s}=await B.get(`/npm/${this.label}/packagejson`,{params:{cwd:n}});return s}async outdatedNpm(n){const{data:s}=await B.get(`/npm/${this.label}/outdated`,{params:{cwd:n}});return s}async getBugs(n){const{data:s}=await B.get(`/bugs/${this.label}`,{params:{cwd:n}});return s||[]}async save(){return await B.post("/stack/services",this),this}static async getTokens(n){const{data:s}=await B.post("/openai/tokenize",{data:n});return s||[]}static async reviewFromAi(n){const{data:s}=await B.post("/openai/review",{data:n});return s||[]}static async findSolutionFromAi(n){const{data:s}=await B.post("/openai/error",{data:n});return s||[]}static async homedir(){const{data:n}=await B.post("/fs/homedir");return n||""}}function vt(){this.services=mt([]),Gt.on("conf:update",e=>{e.length&&e.forEach(n=>{const s=this.services.value.find(r=>r.label===n);s&&s.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 s=e.filter(r=>r).map(r=>n[r.label]?(n[r.label].updateFields(r),n[r.label]):new hi(r));return this.services.value=s,this.services.value};vt.prototype.scenarios=async function(e,n){const{data:s}=await B.get("/red/flows");return s.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 di=new vt,vi=un.map(e=>e.routes).filter(e=>e).flat(),_i=[{path:"/stack-chooser",name:"stack-chooser",component:()=>ot(()=>import("./StackChooser-C6QUL1ts.js"),__vite__mapDeps([58,59,4,5,60,3,61,62,2,6,63,1,9,10,64]))},{path:"/stack-single/:label",name:"stack-single",component:()=>ot(()=>import("./StackSingle-CNFNiJ6j.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/stack-single",name:"stack-single-no-view",component:()=>ot(()=>import("./StackSingle-CNFNiJ6j.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/overview",name:"overview",component:()=>ot(()=>import("./Overview-DRm-6OxF.js"),__vite__mapDeps([71,2,3,4,5,6,62,59,60,61,63,13,14,1,9,10,72]))},{path:"/stack-multiple",name:"stack-multiple",component:()=>ot(()=>import("./StackMultiple-VFMgpudb.js"),__vite__mapDeps([73,2,3,4,5,6,66,67,1,9,10,74]))},{path:"/import-create",name:"import-create",component:()=>ot(()=>import("./ImportCreate-MvJTSajS.js"),__vite__mapDeps([75,60,4,5,3,61,2,6,26,27,33,59,1,9,10,76]))},{path:"/settings",name:"settings-no-view",component:()=>ot(()=>import("./Settings-sGatgaZA.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78])),children:[{path:":setting",name:"settings",component:()=>ot(()=>import("./Settings-sGatgaZA.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78]))}]},{path:"/init",name:"init",component:()=>ot(()=>import("./Init-CVpaullv.js"),__vite__mapDeps([79,3,4,5]))},...vi,{name:"not-found",path:"/:pathMatch(.*)*",redirect:{name:"stack-chooser"}}],he=Ar({history:or(),routes:_i});he.beforeEach(async(e,n)=>{if((e.name!=="settings"||e.params.setting!=="crypto")&&await di.shouldSetup())return{name:"settings",params:{setting:"crypto"},query:{wrongKey:"true"}}});const Ri=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"}));export{qt as C,Dr as P,di as S,hi as a,Ei as b,Ci as c,Wr as d,Br as n,un as p,Ri as r,cn as u,Ur as v};
103
+ `);return this._settledValue()},m=b.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},p=b.prototype.isRejected=function(){return(this._bitField&16777216)!==0},o=b.prototype.isPending=function(){return(this._bitField&50397184)===0},a=b.prototype.isResolved=function(){return(this._bitField&50331648)!==0};b.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 o.call(this._target())},t.prototype.isRejected=function(){return p.call(this._target())},t.prototype.isFulfilled=function(){return m.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return f.call(this._target())},t.prototype.reason=function(){var u=this._target();return u._unsetRejectionIsUnhandled(),l.call(u)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=b}},{}],33:[function(r,c,R){c.exports=function(t,b){var f=r("./util"),l=f.errorObj,m=f.isObject;function p(g,w){if(m(g)){if(g instanceof t)return g;var d=a(g);if(d===l){w&&w._pushContext();var _=t.reject(d.e);return w&&w._popContext(),_}else if(typeof d=="function"){if(y(g)){var _=new t(b);return g._then(_._fulfill,_._reject,void 0,_,null),_}return v(g,d,w)}}return g}function o(g){return g.then}function a(g){try{return o(g)}catch(w){return l.e=w,l}}var u={}.hasOwnProperty;function y(g){try{return u.call(g,"_promise0")}catch{return!1}}function v(g,w,d){var _=new t(b),x=_;d&&d._pushContext(),_._captureStackTrace(),d&&d._popContext();var A=!0,T=f.tryCatch(w).call(g,$,V);A=!1,_&&T===l&&(_._rejectCallback(T.e,!0,!0),_=null);function $(P){_&&(_._resolveCallback(P),_=null)}function V(P){_&&(_._rejectCallback(P,A,!0),_=null)}return x}return p}},{"./util":36}],34:[function(r,c,R){c.exports=function(t,b,f){var l=r("./util"),m=t.TimeoutError;function p(g){this.handle=g}p.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(g){return a(+this).thenReturn(g)},a=t.delay=function(g,w){var d,_;return w!==void 0?(d=t.resolve(w)._then(o,null,null,g,void 0),f.cancellation()&&w instanceof t&&d._setOnCancel(w)):(d=new t(b),_=setTimeout(function(){d._fulfill()},+g),f.cancellation()&&d._setOnCancel(new p(_)),d._captureStackTrace()),d._setAsyncGuaranteed(),d};t.prototype.delay=function(g){return a(g,this)};var u=function(g,w,d){var _;typeof w!="string"?w instanceof Error?_=w:_=new m("operation timed out"):_=new m(w),l.markAsOriginatingFromRejection(_),g._attachExtraTrace(_),g._reject(_),d!=null&&d.cancel()};function y(g){return clearTimeout(this.handle),g}function v(g){throw clearTimeout(this.handle),g}t.prototype.timeout=function(g,w){g=+g;var d,_,x=new p(setTimeout(function(){d.isPending()&&u(d,w,_)},g));return f.cancellation()?(_=this.then(),d=_._then(y,v,void 0,x,void 0),d._setOnCancel(x)):d=this._then(y,v,void 0,x,void 0),d}}},{"./util":36}],35:[function(r,c,R){c.exports=function(t,b,f,l,m,p){var o=r("./util"),a=r("./errors").TypeError,u=r("./util").inherits,y=o.errorObj,v=o.tryCatch,g={};function w(V){setTimeout(function(){throw V},0)}function d(V){var P=f(V);return P!==V&&typeof V._isDisposable=="function"&&typeof V._getDisposer=="function"&&V._isDisposable()&&P._setDisposable(V._getDisposer()),P}function _(V,P){var W=0,Z=V.length,G=new t(m);function X(){if(W>=Z)return G._fulfill();var U=d(V[W++]);if(U instanceof t&&U._isDisposable()){try{U=f(U._getDisposer().tryDispose(P),V.promise)}catch(z){return w(z)}if(U instanceof t)return U._then(X,w,null,null,null)}X()}return X(),G}function x(V,P,W){this._data=V,this._promise=P,this._context=W}x.prototype.data=function(){return this._data},x.prototype.promise=function(){return this._promise},x.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():g},x.prototype.tryDispose=function(V){var P=this.resource(),W=this._context;W!==void 0&&W._pushContext();var Z=P!==g?this.doDispose(P,V):null;return W!==void 0&&W._popContext(),this._promise._unsetDisposable(),this._data=null,Z},x.isDisposer=function(V){return V!=null&&typeof V.resource=="function"&&typeof V.tryDispose=="function"};function A(V,P,W){this.constructor$(V,P,W)}u(A,x),A.prototype.doDispose=function(V,P){var W=this.data();return W.call(V,V,P)};function T(V){return x.isDisposer(V)?(this.resources[this.index]._setDisposable(V),V.promise()):V}function $(V){this.length=V,this.promise=null,this[V-1]=null}$.prototype._resultCancelled=function(){for(var V=this.length,P=0;P<V;++P){var W=this[P];W instanceof t&&W.cancel()}},t.using=function(){var V=arguments.length;if(V<2)return b("you must pass at least 2 arguments to Promise.using");var P=arguments[V-1];if(typeof P!="function")return b("expecting a function but got "+o.classString(P));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 $(V),X=0;X<V;++X){var U=W[X];if(x.isDisposer(U)){var z=U;U=U.promise(),U._setDisposable(z)}else{var M=f(U);M instanceof t&&(U=M._then(T,null,null,{resources:G,index:X},void 0))}G[X]=U}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(Y){for(var J=0;J<Y.length;++J){var it=Y[J];if(it.isRejected())return y.e=it.error(),y;if(!it.isFulfilled()){nt.cancel();return}Y[J]=it.value()}tt._pushContext(),P=v(P);var k=Z?P.apply(void 0,Y):P(Y),ut=tt._popContext();return p.checkForgottenReturns(k,ut,"Promise.using",tt),k}),tt=nt.lastly(function(){var Y=new t.PromiseInspection(nt);return _(G,Y)});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,l());throw new a}}},{"./errors":12,"./util":36}],36:[function(r,c,R){var t=r("./es5"),b=typeof navigator>"u",f={e:{}},l,m=typeof self<"u"?self:typeof window<"u"?window:typeof Nt<"u"?Nt:this!==void 0?this:null;function p(){try{var i=l;return l=null,i.apply(this,arguments)}catch(E){return f.e=E,f}}function o(i){return l=i,p}var a=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 u(i){return i==null||i===!0||i===!1||typeof i=="string"||typeof i=="number"}function y(i){return typeof i=="function"||typeof i=="object"&&i!==null}function v(i){return u(i)?new Error(Z(i)):i}function g(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 w(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 d(i,E,O){if(u(i))return i;var I={value:O,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(i,E,I),i}function _(i){throw i}var x=function(){var i=[Array.prototype,Object.prototype,Function.prototype],E=function(j){for(var H=0;H<i.length;++H)if(i[H]===j)return!0;return!1};if(t.isES5){var O=Object.getOwnPropertyNames;return function(j){for(var H=[],Q=Object.create(null);j!=null&&!E(j);){var ft;try{ft=O(j)}catch{return H}for(var lt=0;lt<ft.length;++lt){var bt=ft[lt];if(!Q[bt]){Q[bt]=!0;var gt=Object.getOwnPropertyDescriptor(j,bt);gt!=null&&gt.get==null&&gt.set==null&&H.push(bt)}}j=t.getPrototypeOf(j)}return H}}else{var I={}.hasOwnProperty;return function(j){if(E(j))return[];var H=[];t:for(var Q in j)if(I.call(j,Q))H.push(Q);else{for(var ft=0;ft<i.length;++ft)if(I.call(i[ft],Q))continue t;H.push(Q)}return H}}}(),A=/this\s*\.\s*\S+\s*=/;function T(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 $(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 P(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{d(i,"isOperational",!0)}catch{}}function U(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 H=I[j];if(O(H))try{t.defineProperty(E,H,t.getDescriptor(i,H))}catch{}}}var tt=function(i){return t.isArray(i)?i:null};if(typeof Symbol<"u"&&Symbol.iterator){var Y=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"?Y(i):null}}var J=typeof process<"u"&&q(process).toLowerCase()==="[object process]",it=typeof process<"u"&&typeof s<"u";function k(i){return it?s[i]:void 0}function ut(){if(typeof Promise=="function")try{var i=new Promise(function(){});if(q(i)==="[object Promise]")return Promise}catch{}}var ht;function F(i,E){if(i===null||typeof E!="function"||E===ht)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 h={setReflectHandler:function(i){ht=i},isClass:T,isIdentifier:P,inheritedDataKeys:x,getDataPropertyOrDefault:w,thrower:_,isArray:t.isArray,asArray:tt,notEnumerableProp:d,isPrimitive:u,isObject:y,isError:G,canEvaluate:b,errorObj:f,tryCatch:o,inherits:a,withAppended:g,maybeWrapAsError:v,toFastProperties:$,filledRange:W,toString:Z,canAttachTrace:z,ensureErrorObject:M,originatesFromRejection:U,markAsOriginatingFromRejection:X,classString:q,copyDescriptors:nt,isNode:J,hasEnvVariables:it,env:k,global:m,getNativePromise:ut,contextBind:F};h.isRecentNode=h.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}(),h.nodeSupportsAsyncResource=h.isNode&&function(){var i=!1;try{var E=r("async_hooks").AsyncResource;i=typeof E.prototype.runInAsyncScope=="function"}catch{i=!1}return i}(),h.isNode&&h.toFastProperties(process);try{throw new Error}catch(i){h.lastLineError=i}c.exports=h},{"./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)}(se)),se.exports}var Ir=Or();const Dr=Ke(Ir);let Mt;const Lr=new Uint8Array(16);function Vr(){if(!Mt&&(Mt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mt(Lr)}const _t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function Pr(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 Hr=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),$e={randomUUID:Hr};function Ur(e,n,s){if($e.randomUUID&&!e)return $e.randomUUID();e=e||{};const r=e.random||(e.rng||Vr)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Pr(r)}function qt(){this.funcs=[]}qt.prototype.subscribe=function(e){return this.funcs.push(e),{unsubscribe:()=>this.unsubscribe(e)}};qt.prototype.next=function(...e){this.funcs.forEach(n=>n(...e))};qt.prototype.unsubscribe=function(e){this.funcs=[...this.funcs.filter(n=>n!==e)]};const Be=cn();class $r{constructor(){this.notifs=mt([]),this.notifsHistory=mt([]),this.openHistory=new qt,this.mutedNotifications=mt(JSON.parse(localStorage.getItem("muted-notifications")||JSON.stringify({error:{}}))),Qt(()=>this.mutedNotifications.value,()=>{localStorage.setItem("muted-notifications",JSON.stringify(this.mutedNotifications.value))},{deep:!0})}next(n,s,r=void 0,c=null,R=null){var b,f;if((b=this.mutedNotifications.value[n])!=null&&b.MUTED_ALL||R&&((f=this.mutedNotifications.value[n])!=null&&f[R]))return;c||(this.next(n,s,r,this.notifsHistory.value,R),c=this.notifs.value);let t=c.find(l=>l.type===n&&l.serviceLabel===r&&r);if(t){const l=t.msgs.find(p=>p.label===s),m=l||{label:s,nb:0};m.nb+=1,l||t.msgs.unshift(m)}else{const l=c.find(o=>o.type===n&&!o.serviceLabel&&o.msgs.find(a=>a.label===s));t=l||{id:Ur(),type:n,msgs:[],serviceLabel:r,nb:0};const m=t.msgs.find(o=>o.label===s),p=m||{label:s,nb:0};p.nb+=1,m||t.msgs.unshift(p),l||c.unshift(t)}clearTimeout(t.timeout),t.timeout=setTimeout(()=>{t&&this.remove(t)},5e3)}remove(n,s=!1){const r=this.notifs.value.indexOf(n);r>-1&&this.notifs.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}removeHistory(n,s){const r=this.notifsHistory.value.indexOf(n);r>-1&&this.notifsHistory.value.splice(r,1),s&&n.serviceLabel&&Be.push({name:"stack-single",params:{label:n.serviceLabel}})}}const Br=new $r;var Wt={exports:{}},Ne;function Nr(){if(Ne)return Wt.exports;Ne=1;function e(n,s=100,r={}){if(typeof n!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof n}\`.`);if(s<0)throw new RangeError("`wait` must not be negative.");const{immediate:c}=typeof r=="boolean"?{immediate:r}:r;let R,t,b,f,l;function m(){const a=R,u=t;return R=void 0,t=void 0,l=n.apply(a,u),l}function p(){const a=Date.now()-f;a<s&&a>=0?b=setTimeout(p,s-a):(b=void 0,c||(l=m()))}const o=function(...a){if(R&&this!==R&&Object.getPrototypeOf(this)===Object.getPrototypeOf(R))throw new Error("Debounced method called with different contexts of the same prototype.");R=this,t=a,f=Date.now();const u=c&&!b;return b||(b=setTimeout(p,s)),u&&(l=m()),l};return Object.defineProperty(o,"isPending",{get(){return b!==void 0}}),o.clear=()=>{b&&(clearTimeout(b),b=void 0)},o.flush=()=>{b&&o.trigger()},o.trigger=()=>{l=m(),o.clear()},o}return Wt.exports.debounce=e,Wt.exports=e,Wt.exports}var Mr=Nr();const Wr=Ke(Mr),Gr={key:0,class:"hint"},zr={class:"groups"},Qr={class:"choices"},Kr=["onClick"],Xr={class:"left"},qr={class:"icon"},Yr={class:"title"},Jr={class:"description"},Zr={class:"right"},ti={class:"title"},ei={class:"description"},ni={class:"left"},ri={key:0},ii={class:"title"},oi={class:"description"},ai={__name:"Index",setup(e){const n=cn(),s=async o=>{o.ctrlKey&&o.altKey&&o.code==="KeyP"&&(o.preventDefault(),t.value=!t.value,c.value="",await Qe(),R.value.focus()),o.code==="Escape"&&(o.preventDefault(),t.value=!1)};window.addEventListener("keyup",s),mn(()=>window.removeEventListener("keyup",s));const r=mt({}),c=mt(""),R=mt(),t=mt(!1),b=yt(()=>n.currentRoute.value.path.includes("/Finder"));Qt(()=>t.value,()=>{b.value&&(t.value=!0)},{immediate:!0});const f=yt(()=>Object.keys(r.value).map(o=>{var u,y,v;const a=r.value[o];return{label:a.label,choices:(u=a.choices)==null?void 0:u.slice(0,4),otherChoices:(v=a.choices)==null?void 0:v.slice(4,(y=a.choices)==null?void 0:y.length)}}));async function l(){const{data:o}=await B.get("/finder/search",{params:{q:c.value}}),a={};o[0]&&(o[0].active=!0),o.map(u=>(u.group||(u.group="Others"),a[u.group]||(a[u.group]={label:u.group,choices:[],otherChoices:[]}),a[u.group].choices.push(u),null)),r.value=a}bn(l),Qt(()=>c.value,Wr(l,200));function m(o){o!=null&&o.url&&(n.push(o.url),t.value=!1)}async function p(o){const a=f.value.flatMap(u=>u.choices);if(["ArrowUp","ArrowDown"].includes(o.code))for(let u=0;u<a.length;u+=1){const y=a[u];if(y.active){y.active=!1;const v=o.code==="ArrowUp"?a[a.length-1]:a[0],g=(o.code==="ArrowUp"?a[u-1]:a[u+1])||v;g.active=!0;break}}o.code==="Enter"&&m(a.find(u=>u.active))}return(o,a)=>ye((Tt(),jt("div",{class:re(["finder-root",{isComponent:b.value}]),onClick:a[3]||(a[3]=u=>t.value=!1)},[b.value?(Tt(),jt("div",Gr," Press Ctrl+Alt+P To open it anywhere ")):me("",!0),dt("div",{class:"finder-container",onClick:a[2]||(a[2]=ne(()=>{},["stop"]))},[ye(dt("input",{type:"text",autofocus:"","onUpdate:modelValue":a[0]||(a[0]=u=>c.value=u),placeholder:"Type to find something...",ref_key:"inputRef",ref:R,onKeyup:p},null,544),[[En,c.value]]),dt("div",zr,[(Tt(!0),jt(be,null,we(f.value,u=>(Tt(),Cn(Xe,{class:"group",key:`${u}`},{default:Rn(()=>{var y;return[dt("h2",null,Ft(u.label),1),dt("div",Qr,[(Tt(!0),jt(be,null,we(u.choices,v=>(Tt(),jt("div",{class:re(["choice",{active:v.active}]),key:`${v}`,onClick:ne(g=>m(v),["stop"])},[dt("div",Xr,[dt("div",qr,[dt("i",{class:re(v.icon||"fas fa-cog")},null,2)]),dt("div",null,[dt("div",Yr,Ft(v.title),1),dt("div",Jr,Ft(v.description),1)])]),dt("div",Zr,[dt("div",ti,Ft(v.secondaryTitle),1),dt("div",ei,Ft(v.secondaryDescription),1)])],10,Kr))),128)),dt("div",{class:"choice",onClick:a[1]||(a[1]=ne(()=>{},["stop"]))},[dt("div",ni,[(y=u.otherChoices)!=null&&y.length?(Tt(),jt("div",ri,[dt("div",ii,"And "+Ft(u.otherChoices.length)+" others...",1),dt("div",oi,Ft(u.otherChoices.map(v=>v.title).slice(0,20).map(v=>v.slice(0,40)+"...").join(", "))+" ... ",1)])):me("",!0)])])])]}),_:2},1024))),128))])])],2)),[[wn,t.value]])}},si=xn(ai,[["__scopeId","data-v-de00cded"]]),li=[{name:"OpenApi",component:()=>ot(()=>import("./Index-CCt5RYhV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))},{name:"Finder",component:si},{name:"Git-NotUpToDate",component:()=>ot(()=>import("./NotUpToDate-Dv1x5laT.js"),__vite__mapDeps([12,2,3,4,5,6,13,14,1,9,10,15]))},{name:"Help",component:()=>ot(()=>import("./Index-CKyiBy6h.js"),__vite__mapDeps([16,3,4,5]))},{name:"Workflows",component:()=>ot(()=>import("./Index-CvSNWhOl.js"),__vite__mapDeps([17,4,5]))},{name:"Docker",component:()=>ot(()=>import("./Index-CNTmcq3o.js"),__vite__mapDeps([18,19,4,5,2,3,6,1,9,10,20]))},{name:"Toolbox",component:()=>ot(()=>import("./Toolbox-CeYvSlof.js"),__vite__mapDeps([21,4,5,3,1,9,10,2,6,22])),children:[{path:":plugin",component:()=>ot(()=>import("./DynamicComponent-Cd8cbFTY.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"toolbox"}}]}],un=[{name:"WorkflowsModals",cmp:()=>ot(()=>import("./Modals-UgnVGGTd.js"),__vite__mapDeps([25,26,4,5,3,27,28,29,30,1,9,10,2,6])),load:!0},{name:"DynamicComponent",cmp:()=>ot(()=>import("./DynamicComponent-Cd8cbFTY.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24]))},...li.map(({name:e,component:n,children:s})=>({name:e,cmp:n,routes:[{path:`/${e}`,name:e,component:n,children:s}]})),{name:"Dynamic",component:()=>ot(()=>import("./DynamicComponent-Cd8cbFTY.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),routes:[{path:"/dynamic/:plugin",name:"dynamic",component:()=>ot(()=>import("./DynamicComponent-Cd8cbFTY.js"),__vite__mapDeps([23,3,4,5,1,9,10,2,6,24])),props:{context:"sidebar"}}]},{name:"Logs",cmp:()=>ot(()=>import("./Logs-Dr0aVld6.js"),__vite__mapDeps([31,4,5,19,1,32,2,3,6,26,27,33,13,14,29,28,30,9,10,34]))},{name:"Git",cmp:()=>ot(()=>import("./Git-CWhmBLgo.js"),__vite__mapDeps([35,4,5,26,3,27,2,6,7,8,36,1,9,10,37]))},{name:"Github",cmp:()=>ot(()=>import("./Index-_Myie1IE.js"),__vite__mapDeps([38,4,5,2,3,6,39,1,32,13,14,8,9,10,40]))},{name:"Npm",cmp:()=>ot(()=>import("./Npm-BQOhWPXB.js"),__vite__mapDeps([41,2,3,4,5,6,13,14,28,29,30,1,9,10,42]))},{name:"Bugs",cmp:()=>ot(()=>import("./Bugs-H-Otgxln.js"),__vite__mapDeps([43,2,3,4,5,6,13,14,28,29,30,1,9,10,44]))},{name:"Configuration",cmp:()=>ot(()=>import("./Configs-CS7LQ3j2.js"),__vite__mapDeps([45,46,29,4,5,30,47,48,28,49,50,2,3,6,26,27,51,1,9,10,52]))},{name:"Documentation",cmp:()=>ot(()=>import("./Index-DXLLCB8w.js"),__vite__mapDeps([53,4,5,2,3,6,46,29,30,54,1,50,55,56,47,9,10,57]))}],zt=mt([]);globalThis.toolboxPlugins=mt([]);globalThis.sidebarPlugins=mt([]);function ci(e,n){const s=e.toLowerCase();document.querySelectorAll(s).forEach(c=>n(c));const r=new MutationObserver(c=>{var R,t;for(const b of c)for(const f of b.addedNodes)f.nodeType===Node.ELEMENT_NODE&&(f.tagName.toLowerCase()===s&&n(f),(t=(R=f.querySelectorAll)==null?void 0:R.call(f,s))==null||t.forEach(l=>n(l)))});return r.observe(document.body,{childList:!0,subtree:!0}),r}function Me(e){ui(e),document.querySelectorAll('head > style, head > link[rel="stylesheet"]').forEach(r=>{const c=r.cloneNode(!0);e.prepend(c)}),document.querySelectorAll('head > style[data-primevue-style-id="variables"]').forEach(r=>{const c=r.cloneNode(!0);e.appendChild(c)})}function ui(e){new MutationObserver(s=>{s.forEach(r=>{r.addedNodes.forEach(c=>{if(c instanceof HTMLStyleElement){const R=c.cloneNode(!0);e.appendChild(R)}})})}).observe(document.head,{childList:!0,subtree:!1})}const We=(e,n)=>{ci(e,async s=>{try{Me(s.shadowRoot)}catch{await new Promise(c=>setTimeout(c,1e3)),Me(s.shadowRoot)}}),customElements.define(e,n)},fi=e=>n=>{n.placements.forEach(s=>{const r=s.component;if(s.location==="toolbox"){const c=e+"-toolbox";We(c,r),globalThis.toolboxPlugins.value.push({...s,id:e})}else if(s.location==="sidebar"){const c=e+"-sidebar";We(c,r),globalThis.sidebarPlugins.value.push({...s,id:e})}})},pi=(e,n)=>{fi(e.replaceAll("@","").replaceAll("/","-"))(n)};B.get("/plugins").then(async e=>{zt.value=e.data.sort((n,s)=>s.name.localeCompare(n.name)),console.log("load plugins...",zt.value.map(n=>n.name)),await Dr.map(zt.value,async n=>{var s,r;if((r=(s=n.config.runeya.entries)==null?void 0:s.front)!=null&&r.js){const c=n.name;globalThis[c]=R=>{const t=R({assetsBasePath:`/plugins/${encodeURIComponent(c)}/assets`,components:{Editor:Sn,Section:Xe},callServer:(b,...f)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(b)}`,{args:f}),customCallServer:b=>(f,...l)=>B.post(`/plugins/${encodeURIComponent(c)}/call/${encodeURIComponent(f)}`,{args:l},b),socket:{emit:(b,...f)=>{Gt.emit(encodeURIComponent(c)+"-"+b,...f)},on:(b,f)=>{Gt.on(encodeURIComponent(c)+"-"+b,f)},off:(b,f)=>{Gt.off(encodeURIComponent(c)+"-"+b,f)}},primevueConfig:{theme:{preset:kn,options:{}}},router:he,notification:Br});pi(c,t)};try{await import(`/plugins/${encodeURIComponent(n.name)}/js`)}catch(R){console.error(`❌ Erreur lors du chargement du plugin ${n.name}:`,R)}}})});const Ci=Object.freeze(Object.defineProperty({__proto__:null,default:un,remotePlugins:zt},Symbol.toStringTag,{value:"Module"}));class hi{constructor(n){var s,r,c;this.label=n.label||"",this.commands=n.commands||[],this.rootPath=n.rootPath||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.cwd)||"",this.envs={},this.shortcuts=[],this.updateFields(n)}updateFields(n){var s,r,c;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||((c=(r=(s=this.commands)==null?void 0:s[0])==null?void 0:r.spawnOptions)==null?void 0:c.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,s,r){if(!n||!s)return;const c={};n.forEach(R=>{R&&R[r]&&(c[R[r]]=R)}),n.length=0,s.forEach(R=>{if(R&&R[r]&&c[R[r]]){const t=c[R[r]];this._updateObjectWithReferences(t,R),n.push(t)}else n.push(R)})}_updateObjectWithReferences(n,s){!n||!s||(Object.keys(n).forEach(r=>{r in s||delete n[r]}),Object.keys(s).forEach(r=>{const c=s[r];if(c===void 0)return;if(!(r in n)){n[r]=c;return}const R=n[r];if(c===null)n[r]=null;else if(Array.isArray(c))if(!Array.isArray(R))n[r]=c;else if(c.length>0&&typeof c[0]=="object"&&c[0]!==null){const t=c[0],f=["id","name","label","spawnCmd","key"].find(l=>l in t)||Object.keys(t)[0];this._updateArrayWithReferences(R,c,f)}else R.length=0,c.forEach(t=>R.push(t));else typeof c=="object"?typeof R!="object"||R===null?n[r]=c:this._updateObjectWithReferences(R,c):n[r]=c}))}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 s=await this.stashList();this.git.stash=s}}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:s}=await B.post(`/logs/${this.label}/prompt`,{...n,service:this.label});return s}async sendTerminalTerminate(n){const{data:s}=await B.post(`/logs/${this.label}/terminate`,{...n,service:this.label});return s}async clear(){const{data:n}=await B.delete(`/logs/${this.label}/logs`);return n}async autocomplete(n,{force:s}={}){const{data:r}=await B.get(`/logs/${this.label}/autocomplete`,{params:{message:n,force:!!s}});return r}async openInVsCode(n,s){return B.get(`/editors/${this.label}/open-in-vs-code`,{params:{path:n,editor:s}})}async openLinkInVsCode(n,s){return B.get(`/editors/${this.label}/open-link-in-vs-code`,{params:{link:n,editor:s}})}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,s){const{data:r}=await B.post(`/git/${this.label}/add-branch`,{shouldPush:s,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:s}=await B.get(`/git/${this.label}/branch/${encodeURIComponent(n)}/remote-delta`);return this.git&&(this.git.delta=s),s}async gitFetch(){await B.post(`/git/${this.label}/fetch`)}async getGraph(n){const{data:s}=await B.get(`/git/${this.label}/graph`,{params:{graphOnAll:n}});return s}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:s}=await B.get(`/npm/${this.label}`,{params:{cwd:n}});return s}async getNpmPaths(){const{data:n}=await B.get(`/npm/${this.label}/paths`);return n}async getPackageJSON(n){const{data:s}=await B.get(`/npm/${this.label}/packagejson`,{params:{cwd:n}});return s}async outdatedNpm(n){const{data:s}=await B.get(`/npm/${this.label}/outdated`,{params:{cwd:n}});return s}async getBugs(n){const{data:s}=await B.get(`/bugs/${this.label}`,{params:{cwd:n}});return s||[]}async save(){return await B.post("/stack/services",this),this}static async getTokens(n){const{data:s}=await B.post("/openai/tokenize",{data:n});return s||[]}static async reviewFromAi(n){const{data:s}=await B.post("/openai/review",{data:n});return s||[]}static async findSolutionFromAi(n){const{data:s}=await B.post("/openai/error",{data:n});return s||[]}static async homedir(){const{data:n}=await B.post("/fs/homedir");return n||""}}function vt(){this.services=mt([]),Gt.on("conf:update",e=>{e.length&&e.forEach(n=>{const s=this.services.value.find(r=>r.label===n);s&&s.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 s=e.filter(r=>r).map(r=>n[r.label]?(n[r.label].updateFields(r),n[r.label]):new hi(r));return this.services.value=s,this.services.value};vt.prototype.scenarios=async function(e,n){const{data:s}=await B.get("/red/flows");return s.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 di=new vt,vi=un.map(e=>e.routes).filter(e=>e).flat(),_i=[{path:"/stack-chooser",name:"stack-chooser",component:()=>ot(()=>import("./StackChooser-D4JG1V6p.js"),__vite__mapDeps([58,59,4,5,60,3,61,62,2,6,63,1,9,10,64]))},{path:"/stack-single/:label",name:"stack-single",component:()=>ot(()=>import("./StackSingle-BrA92wNq.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/stack-single",name:"stack-single-no-view",component:()=>ot(()=>import("./StackSingle-BrA92wNq.js"),__vite__mapDeps([65,59,4,5,3,2,6,66,67,68,36,13,14,69,1,9,10,70]))},{path:"/overview",name:"overview",component:()=>ot(()=>import("./Overview-CyhbZrp6.js"),__vite__mapDeps([71,2,3,4,5,6,62,59,60,61,63,13,14,1,9,10,72]))},{path:"/stack-multiple",name:"stack-multiple",component:()=>ot(()=>import("./StackMultiple-CXbZO3gp.js"),__vite__mapDeps([73,2,3,4,5,6,66,67,1,9,10,74]))},{path:"/import-create",name:"import-create",component:()=>ot(()=>import("./ImportCreate-BMYQ7CRt.js"),__vite__mapDeps([75,60,4,5,3,61,2,6,26,27,33,59,1,9,10,76]))},{path:"/settings",name:"settings-no-view",component:()=>ot(()=>import("./Settings-gQ2r_ArG.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78])),children:[{path:":setting",name:"settings",component:()=>ot(()=>import("./Settings-gQ2r_ArG.js"),__vite__mapDeps([77,4,5,2,3,6,30,29,48,28,46,47,49,26,27,50,68,36,13,14,69,56,1,9,10,78]))}]},{path:"/init",name:"init",component:()=>ot(()=>import("./Init-ec91xg4K.js"),__vite__mapDeps([79,3,4,5]))},...vi,{name:"not-found",path:"/:pathMatch(.*)*",redirect:{name:"stack-chooser"}}],he=Ar({history:or(),routes:_i});he.beforeEach(async(e,n)=>{if((e.name!=="settings"||e.params.setting!=="crypto")&&await di.shouldSetup())return{name:"settings",params:{setting:"crypto"},query:{wrongKey:"true"}}});const Ri=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"}));export{qt as C,Dr as P,di as S,hi as a,Ei as b,Ci as c,Wr as d,Br as n,un as p,Ri as r,cn as u,Ur as v};
@@ -1 +1 @@
1
- import{V as o,r as a,k as e}from"./index-B2Zn1t0F.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
+ import{V as o,r as a,k as e}from"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{t as O,m as I}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as r}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-BkDstUPD.js";import"./index-B2Zn1t0F.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
1
+ import{m as l}from"./Editor-BUC6Zjcy.js";import"./index-CnHkskP1.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-B2Zn1t0F.js"></script><link rel="stylesheet" crossorigin href="/assets/index-D9v3u7Fv.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="{
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-CnHkskP1.js"></script><link rel="stylesheet" crossorigin href="/assets/index-D9v3u7Fv.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>