cloudcmd 19.3.6 → 19.3.8

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 (94) hide show
  1. package/ChangeLog +10 -0
  2. package/HELP.md +3 -1
  3. package/README.md +1 -1
  4. package/dist/cloudcmd.common.css +2 -1
  5. package/dist/cloudcmd.common.css.map +1 -0
  6. package/dist/cloudcmd.common.js +15013 -2
  7. package/dist/cloudcmd.common.js.map +1 -1
  8. package/dist/cloudcmd.js +184 -1
  9. package/dist/cloudcmd.js.map +1 -1
  10. package/dist/columns/name-size-date.css +2 -1
  11. package/dist/columns/name-size-date.css.map +1 -0
  12. package/dist/columns/name-size-date.js +7 -0
  13. package/dist/columns/name-size-date.js.map +1 -0
  14. package/dist/columns/name-size.css +2 -1
  15. package/dist/columns/name-size.css.map +1 -0
  16. package/dist/columns/name-size.js +7 -0
  17. package/dist/columns/name-size.js.map +1 -0
  18. package/dist/config.css +2 -1
  19. package/dist/config.css.map +1 -0
  20. package/dist/config.js +7 -0
  21. package/dist/config.js.map +1 -0
  22. package/dist/help.css +2 -1
  23. package/dist/help.css.map +1 -0
  24. package/dist/help.js +7 -0
  25. package/dist/help.js.map +1 -0
  26. package/dist/modules/cloud.js +168 -1
  27. package/dist/modules/cloud.js.map +1 -1
  28. package/dist/modules/command-line.js +168 -1
  29. package/dist/modules/command-line.js.map +1 -1
  30. package/dist/modules/config.js +168 -1
  31. package/dist/modules/config.js.map +1 -1
  32. package/dist/modules/contact.js +168 -1
  33. package/dist/modules/contact.js.map +1 -1
  34. package/dist/modules/edit-file-vim.js +168 -1
  35. package/dist/modules/edit-file-vim.js.map +1 -1
  36. package/dist/modules/edit-file.js +168 -1
  37. package/dist/modules/edit-file.js.map +1 -1
  38. package/dist/modules/edit-names-vim.js +168 -1
  39. package/dist/modules/edit-names-vim.js.map +1 -1
  40. package/dist/modules/edit-names.js +168 -1
  41. package/dist/modules/edit-names.js.map +1 -1
  42. package/dist/modules/edit.js +168 -1
  43. package/dist/modules/edit.js.map +1 -1
  44. package/dist/modules/help.js +168 -1
  45. package/dist/modules/help.js.map +1 -1
  46. package/dist/modules/konsole.js +168 -1
  47. package/dist/modules/konsole.js.map +1 -1
  48. package/dist/modules/markdown.js +168 -1
  49. package/dist/modules/markdown.js.map +1 -1
  50. package/dist/modules/menu.js +168 -1
  51. package/dist/modules/menu.js.map +1 -1
  52. package/dist/modules/operation.js +168 -1
  53. package/dist/modules/operation.js.map +1 -1
  54. package/dist/modules/polyfill.js +168 -1
  55. package/dist/modules/polyfill.js.map +1 -1
  56. package/dist/modules/terminal-run.js +168 -1
  57. package/dist/modules/terminal-run.js.map +1 -1
  58. package/dist/modules/terminal.js +168 -1
  59. package/dist/modules/terminal.js.map +1 -1
  60. package/dist/modules/upload.js +168 -1
  61. package/dist/modules/upload.js.map +1 -1
  62. package/dist/modules/user-menu.js +168 -1
  63. package/dist/modules/user-menu.js.map +1 -1
  64. package/dist/modules/view.js +168 -1
  65. package/dist/modules/view.js.map +1 -1
  66. package/dist/nojs.css +2 -1
  67. package/dist/nojs.css.map +1 -0
  68. package/dist/nojs.js +7 -0
  69. package/dist/nojs.js.map +1 -0
  70. package/dist/sw.js +363 -1
  71. package/dist/sw.js.map +1 -1
  72. package/dist/terminal.css +2 -1
  73. package/dist/terminal.css.map +1 -0
  74. package/dist/terminal.js +7 -0
  75. package/dist/terminal.js.map +1 -0
  76. package/dist/themes/dark.css +2 -1
  77. package/dist/themes/dark.css.map +1 -0
  78. package/dist/themes/dark.js +7 -0
  79. package/dist/themes/dark.js.map +1 -0
  80. package/dist/themes/light.css +2 -1
  81. package/dist/themes/light.css.map +1 -0
  82. package/dist/themes/light.js +7 -0
  83. package/dist/themes/light.js.map +1 -0
  84. package/dist/user-menu.css +2 -1
  85. package/dist/user-menu.css.map +1 -0
  86. package/dist/user-menu.js +7 -0
  87. package/dist/user-menu.js.map +1 -0
  88. package/dist/view.css +2 -1
  89. package/dist/view.css.map +1 -0
  90. package/dist/view.js +7 -0
  91. package/dist/view.js.map +1 -0
  92. package/dist-dev/sw.js +1 -1
  93. package/package.json +3 -2
  94. package/server/route.js +1 -1
@@ -1,2 +1,169 @@
1
- (()=>{"use strict";var e,r={},o={};function t(e){var l=o[e];if(void 0!==l)return l.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,t),n.exports}t.m=r,e=[],t.O=(r,o,l,n)=>{if(!o){var a=1/0;for(s=0;s<e.length;s++){for(var[o,l,n]=e[s],i=!0,u=0;u<o.length;u++)(!1&n||a>=n)&&Object.keys(t.O).every(e=>t.O[e](o[u]))?o.splice(u--,1):(i=!1,n<a&&(a=n));if(i){e.splice(s--,1);var v=l();void 0!==v&&(r=v)}}return r}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[o,l,n]},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.e=()=>Promise.resolve(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.j=635,(()=>{var e={635:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var l,n,[a,i,u]=o,v=0;if(a.some(r=>0!==e[r])){for(l in i)t.o(i,l)&&(t.m[l]=i[l]);if(u)var s=u(t)}for(r&&r(o);v<a.length;v++)n=a[v],t.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return t.O(s)},o=globalThis.webpackChunkcloudcmd=globalThis.webpackChunkcloudcmd||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var l=t.O(void 0,[267],()=>t(4409));l=t.O(l)})();
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ var __webpack_modules__ = ({});
4
+ /************************************************************************/
5
+ /******/ // The module cache
6
+ /******/ var __webpack_module_cache__ = {};
7
+ /******/
8
+ /******/ // The require function
9
+ /******/ function __webpack_require__(moduleId) {
10
+ /******/ // Check if module is in cache
11
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
12
+ /******/ if (cachedModule !== undefined) {
13
+ /******/ return cachedModule.exports;
14
+ /******/ }
15
+ /******/ // Create a new module (and put it into the cache)
16
+ /******/ var module = __webpack_module_cache__[moduleId] = {
17
+ /******/ // no module.id needed
18
+ /******/ // no module.loaded needed
19
+ /******/ exports: {}
20
+ /******/ };
21
+ /******/
22
+ /******/ // Execute the module function
23
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/ // expose the modules object (__webpack_modules__)
30
+ /******/ __webpack_require__.m = __webpack_modules__;
31
+ /******/
32
+ /************************************************************************/
33
+ /******/ /* webpack/runtime/chunk loaded */
34
+ /******/ (() => {
35
+ /******/ var deferred = [];
36
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
37
+ /******/ if(chunkIds) {
38
+ /******/ priority = priority || 0;
39
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
40
+ /******/ deferred[i] = [chunkIds, fn, priority];
41
+ /******/ return;
42
+ /******/ }
43
+ /******/ var notFulfilled = Infinity;
44
+ /******/ for (var i = 0; i < deferred.length; i++) {
45
+ /******/ var [chunkIds, fn, priority] = deferred[i];
46
+ /******/ var fulfilled = true;
47
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
48
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
49
+ /******/ chunkIds.splice(j--, 1);
50
+ /******/ } else {
51
+ /******/ fulfilled = false;
52
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
53
+ /******/ }
54
+ /******/ }
55
+ /******/ if(fulfilled) {
56
+ /******/ deferred.splice(i--, 1)
57
+ /******/ var r = fn();
58
+ /******/ if (r !== undefined) result = r;
59
+ /******/ }
60
+ /******/ }
61
+ /******/ return result;
62
+ /******/ };
63
+ /******/ })();
64
+ /******/
65
+ /******/ /* webpack/runtime/define property getters */
66
+ /******/ (() => {
67
+ /******/ // define getter functions for harmony exports
68
+ /******/ __webpack_require__.d = (exports, definition) => {
69
+ /******/ for(var key in definition) {
70
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
71
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
72
+ /******/ }
73
+ /******/ }
74
+ /******/ };
75
+ /******/ })();
76
+ /******/
77
+ /******/ /* webpack/runtime/ensure chunk */
78
+ /******/ (() => {
79
+ /******/ // The chunk loading function for additional chunks
80
+ /******/ // Since all referenced chunks are already included
81
+ /******/ // in this file, this function is empty here.
82
+ /******/ __webpack_require__.e = () => (Promise.resolve());
83
+ /******/ })();
84
+ /******/
85
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
86
+ /******/ (() => {
87
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
88
+ /******/ })();
89
+ /******/
90
+ /******/ /* webpack/runtime/make namespace object */
91
+ /******/ (() => {
92
+ /******/ // define __esModule on exports
93
+ /******/ __webpack_require__.r = (exports) => {
94
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
95
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
96
+ /******/ }
97
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
98
+ /******/ };
99
+ /******/ })();
100
+ /******/
101
+ /******/ /* webpack/runtime/runtimeId */
102
+ /******/ (() => {
103
+ /******/ __webpack_require__.j = 635;
104
+ /******/ })();
105
+ /******/
106
+ /******/ /* webpack/runtime/jsonp chunk loading */
107
+ /******/ (() => {
108
+ /******/ // no baseURI
109
+ /******/
110
+ /******/ // object to store loaded and loading chunks
111
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
112
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
113
+ /******/ var installedChunks = {
114
+ /******/ 635: 0
115
+ /******/ };
116
+ /******/
117
+ /******/ // no chunk on demand loading
118
+ /******/
119
+ /******/ // no prefetching
120
+ /******/
121
+ /******/ // no preloaded
122
+ /******/
123
+ /******/ // no HMR
124
+ /******/
125
+ /******/ // no HMR manifest
126
+ /******/
127
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
128
+ /******/
129
+ /******/ // install a JSONP callback for chunk loading
130
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
131
+ /******/ var [chunkIds, moreModules, runtime] = data;
132
+ /******/ // add "moreModules" to the modules object,
133
+ /******/ // then flag all "chunkIds" as loaded and fire callback
134
+ /******/ var moduleId, chunkId, i = 0;
135
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
136
+ /******/ for(moduleId in moreModules) {
137
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
138
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
139
+ /******/ }
140
+ /******/ }
141
+ /******/ if(runtime) var result = runtime(__webpack_require__);
142
+ /******/ }
143
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
144
+ /******/ for(;i < chunkIds.length; i++) {
145
+ /******/ chunkId = chunkIds[i];
146
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
147
+ /******/ installedChunks[chunkId][0]();
148
+ /******/ }
149
+ /******/ installedChunks[chunkId] = 0;
150
+ /******/ }
151
+ /******/ return __webpack_require__.O(result);
152
+ /******/ }
153
+ /******/
154
+ /******/ var chunkLoadingGlobal = globalThis["webpackChunkcloudcmd"] = globalThis["webpackChunkcloudcmd"] || [];
155
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
156
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
157
+ /******/ })();
158
+ /******/
159
+ /************************************************************************/
160
+ /******/
161
+ /******/ // startup
162
+ /******/ // Load entry module and return exports
163
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
164
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [267], () => (__webpack_require__(4409)))
165
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
166
+ /******/
167
+ /******/ })()
168
+ ;
2
169
  //# sourceMappingURL=view.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"./modules/view.js","mappings":"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","sources":["file://cloudcmd/webpack/runtime/chunk loaded","file://cloudcmd/webpack/bootstrap","file://cloudcmd/webpack/runtime/define property getters","file://cloudcmd/webpack/runtime/ensure chunk","file://cloudcmd/webpack/runtime/hasOwnProperty shorthand","file://cloudcmd/webpack/runtime/make namespace object","file://cloudcmd/webpack/runtime/runtimeId","file://cloudcmd/webpack/runtime/jsonp chunk loading","file://cloudcmd/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve());","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.j = 635;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t635: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkcloudcmd\"] = globalThis[\"webpackChunkcloudcmd\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [267], () => (__webpack_require__(4409)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","get","e","Promise","resolve","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","value","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","globalThis","forEach","bind","push","__webpack_exports__"],"sourceRoot":""}
1
+ {"version":3,"file":"./modules/view.js","mappings":";;;;UAAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC3BA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA;WACA;WACA;WACA,kD;;;;;WCHA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,4B;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEhDA;UACA;UACA;UACA;UACA","sources":["file://cloudcmd/webpack/bootstrap","file://cloudcmd/webpack/runtime/chunk loaded","file://cloudcmd/webpack/runtime/define property getters","file://cloudcmd/webpack/runtime/ensure chunk","file://cloudcmd/webpack/runtime/hasOwnProperty shorthand","file://cloudcmd/webpack/runtime/make namespace object","file://cloudcmd/webpack/runtime/runtimeId","file://cloudcmd/webpack/runtime/jsonp chunk loading","file://cloudcmd/webpack/before-startup","file://cloudcmd/webpack/startup","file://cloudcmd/webpack/after-startup"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve());","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.j = 635;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t635: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkcloudcmd\"] = globalThis[\"webpackChunkcloudcmd\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [267], () => (__webpack_require__(4409)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
package/dist/nojs.css CHANGED
@@ -1 +1,2 @@
1
- .keyspanel,.path-icon{display:none}.links{margin-left:16px}.fm{height:100%}.panel-right{display:none}.panel-left{width:98%}.name a:hover{cursor:pointer}
1
+ .keyspanel,.path-icon{display:none}.links{margin-left:16px}.fm{height:100%}.panel-right{display:none}.panel-left{width:98%}.name a:hover{cursor:pointer}
2
+ /*# sourceMappingURL=nojs.css.map*/
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nojs.css","mappings":"AAAA,sBAEI,YACJ,CAEA,OACI,gBACJ,CAEA,IACI,WACJ,CAEA,aACI,YACJ,CAEA,YACI,SACJ,CAEA,cACI,cACJ","sources":["file://cloudcmd//Users/coderaiser/cloudcmd/css/nojs.css"],"sourcesContent":[".path-icon,\n.keyspanel {\n display: none;\n}\n\n.links {\n margin-left: 16px;\n}\n\n.fm {\n height: 100%;\n}\n\n.panel-right {\n display: none;\n}\n\n.panel-left {\n width: 98%;\n}\n\n.name a:hover {\n cursor: pointer;\n}\n"],"names":[],"sourceRoot":""}
package/dist/nojs.js CHANGED
@@ -0,0 +1,7 @@
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ // extracted by mini-css-extract-plugin
4
+
5
+ /******/ })()
6
+ ;
7
+ //# sourceMappingURL=nojs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nojs.js","mappings":";;AAAA","sources":["webpack://cloudcmd/./css/nojs.css?9371"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""}
package/dist/sw.js CHANGED
@@ -1,2 +1,364 @@
1
- (()=>{var t={4299(t){"use strict";const n=(t,...e)=>{if(function(t){if("function"!=typeof t)throw Error("fn should be function!")}(t),e.length>=t.length)return t(...e);const r=(...r)=>n(t,...e,...r),i=t.length-e.length-1,o=(t=>[function(n){return t(...arguments)},function(n,e){return t(...arguments)},function(n,e,r){return t(...arguments)},function(n,e,r,i){return t(...arguments)},function(n,e,r,i,o){return t(...arguments)}])(r)[i];return o||r};t.exports=n},5606(t){var n,e,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{e="function"==typeof clearTimeout?clearTimeout:o}catch(t){e=o}}();var s,a=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?a=s.concat(a):l=-1,a.length&&h())}function h(){if(!u){var t=c(f);u=!0;for(var n=a.length;n;){for(s=a,a=[];++l<n;)s&&s[l].run();l=-1,n=a.length}s=null,u=!1,function(t){if(e===clearTimeout)return clearTimeout(t);if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(t);try{return e(t)}catch(n){try{return e.call(null,t)}catch(n){return e.call(this,t)}}}(t)}}function d(t,n){this.fun=t,this.array=n}function p(){}r.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];a.push(new d(t,n)),1!==a.length||u||c(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r](o,o.exports,e),o.exports}(()=>{"use strict";e(5606);var t=e(4299);const n=t((t,n)=>n.waitUntil(t())),r=t((t,n)=>{const{request:e}=n,{url:r}=e,o=i(r);r.endsWith("/")||/\^\/fs/.test(o)||"GET"===e.method&&"basic"===e.type&&(o.startsWith("/api")||/^socket.io/.test(o)||n.respondWith(t(n)))}),i=t=>new URL(t).pathname,o="cloudcmd: Thu Feb 12 2026 14:07:22 GMT+0200 (Eastern European Standard Time)";globalThis.addEventListener("install",n(async function(){console.info(`cloudcmd: sw: install: ${o}`),await globalThis.skipWaiting()})),globalThis.addEventListener("fetch",r(async function(t){const{request:n}=t,{url:e}=n,r=((t,n)=>"/"!==t?n:new Request("/",{credentials:"same-origin"}))(i(e),t.request),c=await caches.open(o),s=await c.match(n);if(s)return s;const[a,u]=await(async(t,...n)=>{!function(t){if("function"!=typeof t)throw Error("fn should be a function!")}(t);try{return[null,await t(...n)]}catch(t){return[t]}})(fetch,r,{credentials:"same-origin"});return a?new Response(a.message):(await async function(t,n){return(await caches.open(o)).put(t,n)}(n,u.clone()),u)})),globalThis.addEventListener("activate",n(async function(){console.info(`cloudcmd: sw: activate: ${o}`),await globalThis.clients.claim();const t=await caches.keys(),n=caches.delete.bind(caches);await Promise.all(t.map(n))}))})()})();
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ var __webpack_modules__ = ({
3
+
4
+ /***/ 4299
5
+ (module) {
6
+
7
+ "use strict";
8
+
9
+
10
+ const f = (fn) => [
11
+ /*eslint no-unused-vars: 0*/
12
+ function (a) {return fn(...arguments);},
13
+ function (a, b) {return fn(...arguments);},
14
+ function (a, b, c) {return fn(...arguments);},
15
+ function (a, b, c, d) {return fn(...arguments);},
16
+ function (a, b, c, d, e) {return fn(...arguments);},
17
+ ];
18
+
19
+ const currify = (fn, ...args) => {
20
+ check(fn);
21
+
22
+ if (args.length >= fn.length)
23
+ return fn(...args);
24
+
25
+ const again = (...args2) => {
26
+ return currify(fn, ...[...args, ...args2]);
27
+ };
28
+
29
+ const count = fn.length - args.length - 1;
30
+ const func = f(again)[count];
31
+
32
+ return func || again;
33
+ };
34
+
35
+ module.exports = currify;
36
+
37
+ function check(fn) {
38
+ if (typeof fn !== 'function')
39
+ throw Error('fn should be function!');
40
+ }
41
+
42
+
43
+
44
+ /***/ },
45
+
46
+ /***/ 5606
47
+ (module) {
48
+
49
+ // shim for using process in browser
50
+ var process = module.exports = {};
51
+
52
+ // cached from whatever global is present so that test runners that stub it
53
+ // don't break things. But we need to wrap it in a try catch in case it is
54
+ // wrapped in strict mode code which doesn't define any globals. It's inside a
55
+ // function because try/catches deoptimize in certain engines.
56
+
57
+ var cachedSetTimeout;
58
+ var cachedClearTimeout;
59
+
60
+ function defaultSetTimout() {
61
+ throw new Error('setTimeout has not been defined');
62
+ }
63
+ function defaultClearTimeout () {
64
+ throw new Error('clearTimeout has not been defined');
65
+ }
66
+ (function () {
67
+ try {
68
+ if (typeof setTimeout === 'function') {
69
+ cachedSetTimeout = setTimeout;
70
+ } else {
71
+ cachedSetTimeout = defaultSetTimout;
72
+ }
73
+ } catch (e) {
74
+ cachedSetTimeout = defaultSetTimout;
75
+ }
76
+ try {
77
+ if (typeof clearTimeout === 'function') {
78
+ cachedClearTimeout = clearTimeout;
79
+ } else {
80
+ cachedClearTimeout = defaultClearTimeout;
81
+ }
82
+ } catch (e) {
83
+ cachedClearTimeout = defaultClearTimeout;
84
+ }
85
+ } ())
86
+ function runTimeout(fun) {
87
+ if (cachedSetTimeout === setTimeout) {
88
+ //normal enviroments in sane situations
89
+ return setTimeout(fun, 0);
90
+ }
91
+ // if setTimeout wasn't available but was latter defined
92
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
93
+ cachedSetTimeout = setTimeout;
94
+ return setTimeout(fun, 0);
95
+ }
96
+ try {
97
+ // when when somebody has screwed with setTimeout but no I.E. maddness
98
+ return cachedSetTimeout(fun, 0);
99
+ } catch(e){
100
+ try {
101
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
102
+ return cachedSetTimeout.call(null, fun, 0);
103
+ } catch(e){
104
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
105
+ return cachedSetTimeout.call(this, fun, 0);
106
+ }
107
+ }
108
+
109
+
110
+ }
111
+ function runClearTimeout(marker) {
112
+ if (cachedClearTimeout === clearTimeout) {
113
+ //normal enviroments in sane situations
114
+ return clearTimeout(marker);
115
+ }
116
+ // if clearTimeout wasn't available but was latter defined
117
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
118
+ cachedClearTimeout = clearTimeout;
119
+ return clearTimeout(marker);
120
+ }
121
+ try {
122
+ // when when somebody has screwed with setTimeout but no I.E. maddness
123
+ return cachedClearTimeout(marker);
124
+ } catch (e){
125
+ try {
126
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
127
+ return cachedClearTimeout.call(null, marker);
128
+ } catch (e){
129
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
130
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
131
+ return cachedClearTimeout.call(this, marker);
132
+ }
133
+ }
134
+
135
+
136
+
137
+ }
138
+ var queue = [];
139
+ var draining = false;
140
+ var currentQueue;
141
+ var queueIndex = -1;
142
+
143
+ function cleanUpNextTick() {
144
+ if (!draining || !currentQueue) {
145
+ return;
146
+ }
147
+ draining = false;
148
+ if (currentQueue.length) {
149
+ queue = currentQueue.concat(queue);
150
+ } else {
151
+ queueIndex = -1;
152
+ }
153
+ if (queue.length) {
154
+ drainQueue();
155
+ }
156
+ }
157
+
158
+ function drainQueue() {
159
+ if (draining) {
160
+ return;
161
+ }
162
+ var timeout = runTimeout(cleanUpNextTick);
163
+ draining = true;
164
+
165
+ var len = queue.length;
166
+ while(len) {
167
+ currentQueue = queue;
168
+ queue = [];
169
+ while (++queueIndex < len) {
170
+ if (currentQueue) {
171
+ currentQueue[queueIndex].run();
172
+ }
173
+ }
174
+ queueIndex = -1;
175
+ len = queue.length;
176
+ }
177
+ currentQueue = null;
178
+ draining = false;
179
+ runClearTimeout(timeout);
180
+ }
181
+
182
+ process.nextTick = function (fun) {
183
+ var args = new Array(arguments.length - 1);
184
+ if (arguments.length > 1) {
185
+ for (var i = 1; i < arguments.length; i++) {
186
+ args[i - 1] = arguments[i];
187
+ }
188
+ }
189
+ queue.push(new Item(fun, args));
190
+ if (queue.length === 1 && !draining) {
191
+ runTimeout(drainQueue);
192
+ }
193
+ };
194
+
195
+ // v8 likes predictible objects
196
+ function Item(fun, array) {
197
+ this.fun = fun;
198
+ this.array = array;
199
+ }
200
+ Item.prototype.run = function () {
201
+ this.fun.apply(null, this.array);
202
+ };
203
+ process.title = 'browser';
204
+ process.browser = true;
205
+ process.env = {};
206
+ process.argv = [];
207
+ process.version = ''; // empty string to avoid regexp issues
208
+ process.versions = {};
209
+
210
+ function noop() {}
211
+
212
+ process.on = noop;
213
+ process.addListener = noop;
214
+ process.once = noop;
215
+ process.off = noop;
216
+ process.removeListener = noop;
217
+ process.removeAllListeners = noop;
218
+ process.emit = noop;
219
+ process.prependListener = noop;
220
+ process.prependOnceListener = noop;
221
+
222
+ process.listeners = function (name) { return [] }
223
+
224
+ process.binding = function (name) {
225
+ throw new Error('process.binding is not supported');
226
+ };
227
+
228
+ process.cwd = function () { return '/' };
229
+ process.chdir = function (dir) {
230
+ throw new Error('process.chdir is not supported');
231
+ };
232
+ process.umask = function() { return 0; };
233
+
234
+
235
+ /***/ }
236
+
237
+ /******/ });
238
+ /************************************************************************/
239
+ /******/ // The module cache
240
+ /******/ var __webpack_module_cache__ = {};
241
+ /******/
242
+ /******/ // The require function
243
+ /******/ function __webpack_require__(moduleId) {
244
+ /******/ // Check if module is in cache
245
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
246
+ /******/ if (cachedModule !== undefined) {
247
+ /******/ return cachedModule.exports;
248
+ /******/ }
249
+ /******/ // Create a new module (and put it into the cache)
250
+ /******/ var module = __webpack_module_cache__[moduleId] = {
251
+ /******/ // no module.id needed
252
+ /******/ // no module.loaded needed
253
+ /******/ exports: {}
254
+ /******/ };
255
+ /******/
256
+ /******/ // Execute the module function
257
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
258
+ /******/
259
+ /******/ // Return the exports of the module
260
+ /******/ return module.exports;
261
+ /******/ }
262
+ /******/
263
+ /************************************************************************/
264
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
265
+ (() => {
266
+ "use strict";
267
+
268
+ // EXTERNAL MODULE: ./node_modules/process/browser.js
269
+ var browser = __webpack_require__(5606);
270
+ ;// ./node_modules/try-to-catch/lib/try-to-catch.js
271
+ const isFn = (a) => typeof a === 'function';
272
+
273
+ const tryToCatch = async (fn, ...args) => {
274
+ check(fn);
275
+
276
+ try {
277
+ return [null, await fn(...args)];
278
+ } catch(e) {
279
+ return [e];
280
+ }
281
+ };
282
+
283
+ function check(fn) {
284
+ if (!isFn(fn))
285
+ throw Error('fn should be a function!');
286
+ }
287
+
288
+ // EXTERNAL MODULE: ./node_modules/currify/lib/currify.js
289
+ var currify = __webpack_require__(4299);
290
+ ;// ./client/sw/sw.js
291
+
292
+
293
+
294
+ const isDev = "production" === 'development';
295
+ const isGet = a => a.method === 'GET';
296
+ const isBasic = a => a.type === 'basic';
297
+ const wait = currify((f, e) => e.waitUntil(f()));
298
+ const respondWith = currify((f, e) => {
299
+ const {
300
+ request
301
+ } = e;
302
+ const {
303
+ url
304
+ } = request;
305
+ const pathname = getPathName(url);
306
+ if (url.endsWith('/') || /\^\/fs/.test(pathname)) return;
307
+ if (!isGet(request)) return;
308
+ if (!isBasic(request)) return;
309
+ if (pathname.startsWith('/api')) return;
310
+ if (/^socket.io/.test(pathname)) return;
311
+ e.respondWith(f(e));
312
+ });
313
+ const getPathName = url => new URL(url).pathname;
314
+ const date = "Sun Feb 15 2026 22:35:08 GMT+0200 (Eastern European Standard Time)";
315
+ const NAME = `cloudcmd: ${date}`;
316
+ const createRequest = a => new Request(a, {
317
+ credentials: 'same-origin'
318
+ });
319
+ const getRequest = (a, request) => {
320
+ if (a !== '/') return request;
321
+ return createRequest('/');
322
+ };
323
+ globalThis.addEventListener('install', wait(onInstall));
324
+ globalThis.addEventListener('fetch', respondWith(onFetch));
325
+ globalThis.addEventListener('activate', wait(onActivate));
326
+ async function onActivate() {
327
+ console.info(`cloudcmd: sw: activate: ${NAME}`);
328
+ await globalThis.clients.claim();
329
+ const keys = await caches.keys();
330
+ const deleteCache = caches.delete.bind(caches);
331
+ await Promise.all(keys.map(deleteCache));
332
+ }
333
+ async function onInstall() {
334
+ console.info(`cloudcmd: sw: install: ${NAME}`);
335
+ await globalThis.skipWaiting();
336
+ }
337
+ async function onFetch(event) {
338
+ const {
339
+ request
340
+ } = event;
341
+ const {
342
+ url
343
+ } = request;
344
+ const pathname = getPathName(url);
345
+ const newRequest = getRequest(pathname, event.request);
346
+ const cache = await caches.open(NAME);
347
+ const response = await cache.match(request);
348
+ if (!isDev && response) return response;
349
+ const [e, resp] = await tryToCatch(fetch, newRequest, {
350
+ credentials: 'same-origin'
351
+ });
352
+ if (e) return new Response(e.message);
353
+ await addToCache(request, resp.clone());
354
+ return resp;
355
+ }
356
+ async function addToCache(request, response) {
357
+ const cache = await caches.open(NAME);
358
+ return cache.put(request, response);
359
+ }
360
+ })();
361
+
362
+ /******/ })()
363
+ ;
2
364
  //# sourceMappingURL=sw.js.map