@andersbakken/fisk-scheduler-ui 0.0.57 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/ui/browser/favicon.png +0 -0
- package/dist/ui/browser/htaccess +7 -0
- package/dist/ui/browser/index.html +1 -1
- package/dist/ui/browser/main-2ZT7BNYA.js +17 -0
- package/dist/ui/browser/package.json +50 -0
- package/dist/ui/package.json +50 -0
- package/package.json +1 -1
- package/scripts/mklinks.sh +18 -9
- package/scripts/rmlinks.sh +12 -7
- package/.angular/cache/18.2.21/ui/.tsbuildinfo +0 -1
- package/.angular/cache/18.2.21/ui/angular-compiler.db +0 -0
- package/.angular/cache/18.2.21/ui/angular-compiler.db-lock +0 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common.js +0 -201
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common_http.js +0 -85
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common_http.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_core.js +0 -932
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_core.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_forms.js +0 -134
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_forms.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_button.js +0 -33
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_button.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_card.js +0 -567
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_card.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_checkbox.js +0 -782
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_checkbox.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_core.js +0 -98
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_core.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_dialog.js +0 -1829
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_dialog.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_form-field.js +0 -45
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_form-field.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_input.js +0 -1014
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_input.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_list.js +0 -2169
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_list.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_select.js +0 -1529
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_select.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_snack-bar.js +0 -940
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_snack-bar.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_tabs.js +0 -2962
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_tabs.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser.js +0 -84
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser_animations.js +0 -4136
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser_animations.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_router.js +0 -5700
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_router.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/_metadata.json +0 -172
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-2ZKE2YDD.js +0 -1222
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-2ZKE2YDD.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-3OV72XIM.js +0 -64
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-3OV72XIM.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-57TVY4HY.js +0 -2218
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-57TVY4HY.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-A5IWFVHJ.js +0 -2374
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-A5IWFVHJ.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-DJ6HHZ3S.js +0 -1940
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-DJ6HHZ3S.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-FE6XYTIJ.js +0 -126
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-FE6XYTIJ.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-ITHJLHIY.js +0 -5795
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-ITHJLHIY.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-MFI342ZJ.js +0 -512
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-MFI342ZJ.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NPVZU53R.js +0 -6511
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NPVZU53R.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NSRJEU3V.js +0 -27918
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NSRJEU3V.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-R2N6IWJV.js +0 -5116
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-R2N6IWJV.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-TO3SXVFJ.js +0 -2840
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-TO3SXVFJ.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WFLMTRZP.js +0 -379
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WFLMTRZP.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WQ5YUVUS.js +0 -1534
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WQ5YUVUS.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/ngx-color-picker.js +0 -2925
- package/.angular/cache/18.2.21/ui/vite/deps/ngx-color-picker.js.map +0 -7
- package/.angular/cache/18.2.21/ui/vite/deps/seedrandom.js +0 -703
- package/.angular/cache/18.2.21/ui/vite/deps/seedrandom.js.map +0 -7
- package/dist/ui/browser/main-6SIZHY3G.js +0 -17
- package/scripts/mock-scheduler.js +0 -350
- package/scripts/test-live-model.js +0 -286
|
@@ -1,703 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__commonJS
|
|
3
|
-
} from "./chunk-3OV72XIM.js";
|
|
4
|
-
|
|
5
|
-
// node_modules/seedrandom/lib/alea.js
|
|
6
|
-
var require_alea = __commonJS({
|
|
7
|
-
"node_modules/seedrandom/lib/alea.js"(exports, module) {
|
|
8
|
-
(function(global, module2, define2) {
|
|
9
|
-
function Alea(seed) {
|
|
10
|
-
var me = this, mash = Mash();
|
|
11
|
-
me.next = function() {
|
|
12
|
-
var t = 2091639 * me.s0 + me.c * 23283064365386963e-26;
|
|
13
|
-
me.s0 = me.s1;
|
|
14
|
-
me.s1 = me.s2;
|
|
15
|
-
return me.s2 = t - (me.c = t | 0);
|
|
16
|
-
};
|
|
17
|
-
me.c = 1;
|
|
18
|
-
me.s0 = mash(" ");
|
|
19
|
-
me.s1 = mash(" ");
|
|
20
|
-
me.s2 = mash(" ");
|
|
21
|
-
me.s0 -= mash(seed);
|
|
22
|
-
if (me.s0 < 0) {
|
|
23
|
-
me.s0 += 1;
|
|
24
|
-
}
|
|
25
|
-
me.s1 -= mash(seed);
|
|
26
|
-
if (me.s1 < 0) {
|
|
27
|
-
me.s1 += 1;
|
|
28
|
-
}
|
|
29
|
-
me.s2 -= mash(seed);
|
|
30
|
-
if (me.s2 < 0) {
|
|
31
|
-
me.s2 += 1;
|
|
32
|
-
}
|
|
33
|
-
mash = null;
|
|
34
|
-
}
|
|
35
|
-
function copy(f, t) {
|
|
36
|
-
t.c = f.c;
|
|
37
|
-
t.s0 = f.s0;
|
|
38
|
-
t.s1 = f.s1;
|
|
39
|
-
t.s2 = f.s2;
|
|
40
|
-
return t;
|
|
41
|
-
}
|
|
42
|
-
function impl(seed, opts) {
|
|
43
|
-
var xg = new Alea(seed), state = opts && opts.state, prng = xg.next;
|
|
44
|
-
prng.int32 = function() {
|
|
45
|
-
return xg.next() * 4294967296 | 0;
|
|
46
|
-
};
|
|
47
|
-
prng.double = function() {
|
|
48
|
-
return prng() + (prng() * 2097152 | 0) * 11102230246251565e-32;
|
|
49
|
-
};
|
|
50
|
-
prng.quick = prng;
|
|
51
|
-
if (state) {
|
|
52
|
-
if (typeof state == "object") copy(state, xg);
|
|
53
|
-
prng.state = function() {
|
|
54
|
-
return copy(xg, {});
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
return prng;
|
|
58
|
-
}
|
|
59
|
-
function Mash() {
|
|
60
|
-
var n = 4022871197;
|
|
61
|
-
var mash = function(data) {
|
|
62
|
-
data = String(data);
|
|
63
|
-
for (var i = 0; i < data.length; i++) {
|
|
64
|
-
n += data.charCodeAt(i);
|
|
65
|
-
var h = 0.02519603282416938 * n;
|
|
66
|
-
n = h >>> 0;
|
|
67
|
-
h -= n;
|
|
68
|
-
h *= n;
|
|
69
|
-
n = h >>> 0;
|
|
70
|
-
h -= n;
|
|
71
|
-
n += h * 4294967296;
|
|
72
|
-
}
|
|
73
|
-
return (n >>> 0) * 23283064365386963e-26;
|
|
74
|
-
};
|
|
75
|
-
return mash;
|
|
76
|
-
}
|
|
77
|
-
if (module2 && module2.exports) {
|
|
78
|
-
module2.exports = impl;
|
|
79
|
-
} else if (define2 && define2.amd) {
|
|
80
|
-
define2(function() {
|
|
81
|
-
return impl;
|
|
82
|
-
});
|
|
83
|
-
} else {
|
|
84
|
-
this.alea = impl;
|
|
85
|
-
}
|
|
86
|
-
})(
|
|
87
|
-
exports,
|
|
88
|
-
typeof module == "object" && module,
|
|
89
|
-
// present in node.js
|
|
90
|
-
typeof define == "function" && define
|
|
91
|
-
// present with an AMD loader
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
// node_modules/seedrandom/lib/xor128.js
|
|
97
|
-
var require_xor128 = __commonJS({
|
|
98
|
-
"node_modules/seedrandom/lib/xor128.js"(exports, module) {
|
|
99
|
-
(function(global, module2, define2) {
|
|
100
|
-
function XorGen(seed) {
|
|
101
|
-
var me = this, strseed = "";
|
|
102
|
-
me.x = 0;
|
|
103
|
-
me.y = 0;
|
|
104
|
-
me.z = 0;
|
|
105
|
-
me.w = 0;
|
|
106
|
-
me.next = function() {
|
|
107
|
-
var t = me.x ^ me.x << 11;
|
|
108
|
-
me.x = me.y;
|
|
109
|
-
me.y = me.z;
|
|
110
|
-
me.z = me.w;
|
|
111
|
-
return me.w ^= me.w >>> 19 ^ t ^ t >>> 8;
|
|
112
|
-
};
|
|
113
|
-
if (seed === (seed | 0)) {
|
|
114
|
-
me.x = seed;
|
|
115
|
-
} else {
|
|
116
|
-
strseed += seed;
|
|
117
|
-
}
|
|
118
|
-
for (var k = 0; k < strseed.length + 64; k++) {
|
|
119
|
-
me.x ^= strseed.charCodeAt(k) | 0;
|
|
120
|
-
me.next();
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
function copy(f, t) {
|
|
124
|
-
t.x = f.x;
|
|
125
|
-
t.y = f.y;
|
|
126
|
-
t.z = f.z;
|
|
127
|
-
t.w = f.w;
|
|
128
|
-
return t;
|
|
129
|
-
}
|
|
130
|
-
function impl(seed, opts) {
|
|
131
|
-
var xg = new XorGen(seed), state = opts && opts.state, prng = function() {
|
|
132
|
-
return (xg.next() >>> 0) / 4294967296;
|
|
133
|
-
};
|
|
134
|
-
prng.double = function() {
|
|
135
|
-
do {
|
|
136
|
-
var top = xg.next() >>> 11, bot = (xg.next() >>> 0) / 4294967296, result = (top + bot) / (1 << 21);
|
|
137
|
-
} while (result === 0);
|
|
138
|
-
return result;
|
|
139
|
-
};
|
|
140
|
-
prng.int32 = xg.next;
|
|
141
|
-
prng.quick = prng;
|
|
142
|
-
if (state) {
|
|
143
|
-
if (typeof state == "object") copy(state, xg);
|
|
144
|
-
prng.state = function() {
|
|
145
|
-
return copy(xg, {});
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
return prng;
|
|
149
|
-
}
|
|
150
|
-
if (module2 && module2.exports) {
|
|
151
|
-
module2.exports = impl;
|
|
152
|
-
} else if (define2 && define2.amd) {
|
|
153
|
-
define2(function() {
|
|
154
|
-
return impl;
|
|
155
|
-
});
|
|
156
|
-
} else {
|
|
157
|
-
this.xor128 = impl;
|
|
158
|
-
}
|
|
159
|
-
})(
|
|
160
|
-
exports,
|
|
161
|
-
typeof module == "object" && module,
|
|
162
|
-
// present in node.js
|
|
163
|
-
typeof define == "function" && define
|
|
164
|
-
// present with an AMD loader
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
// node_modules/seedrandom/lib/xorwow.js
|
|
170
|
-
var require_xorwow = __commonJS({
|
|
171
|
-
"node_modules/seedrandom/lib/xorwow.js"(exports, module) {
|
|
172
|
-
(function(global, module2, define2) {
|
|
173
|
-
function XorGen(seed) {
|
|
174
|
-
var me = this, strseed = "";
|
|
175
|
-
me.next = function() {
|
|
176
|
-
var t = me.x ^ me.x >>> 2;
|
|
177
|
-
me.x = me.y;
|
|
178
|
-
me.y = me.z;
|
|
179
|
-
me.z = me.w;
|
|
180
|
-
me.w = me.v;
|
|
181
|
-
return (me.d = me.d + 362437 | 0) + (me.v = me.v ^ me.v << 4 ^ (t ^ t << 1)) | 0;
|
|
182
|
-
};
|
|
183
|
-
me.x = 0;
|
|
184
|
-
me.y = 0;
|
|
185
|
-
me.z = 0;
|
|
186
|
-
me.w = 0;
|
|
187
|
-
me.v = 0;
|
|
188
|
-
if (seed === (seed | 0)) {
|
|
189
|
-
me.x = seed;
|
|
190
|
-
} else {
|
|
191
|
-
strseed += seed;
|
|
192
|
-
}
|
|
193
|
-
for (var k = 0; k < strseed.length + 64; k++) {
|
|
194
|
-
me.x ^= strseed.charCodeAt(k) | 0;
|
|
195
|
-
if (k == strseed.length) {
|
|
196
|
-
me.d = me.x << 10 ^ me.x >>> 4;
|
|
197
|
-
}
|
|
198
|
-
me.next();
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
function copy(f, t) {
|
|
202
|
-
t.x = f.x;
|
|
203
|
-
t.y = f.y;
|
|
204
|
-
t.z = f.z;
|
|
205
|
-
t.w = f.w;
|
|
206
|
-
t.v = f.v;
|
|
207
|
-
t.d = f.d;
|
|
208
|
-
return t;
|
|
209
|
-
}
|
|
210
|
-
function impl(seed, opts) {
|
|
211
|
-
var xg = new XorGen(seed), state = opts && opts.state, prng = function() {
|
|
212
|
-
return (xg.next() >>> 0) / 4294967296;
|
|
213
|
-
};
|
|
214
|
-
prng.double = function() {
|
|
215
|
-
do {
|
|
216
|
-
var top = xg.next() >>> 11, bot = (xg.next() >>> 0) / 4294967296, result = (top + bot) / (1 << 21);
|
|
217
|
-
} while (result === 0);
|
|
218
|
-
return result;
|
|
219
|
-
};
|
|
220
|
-
prng.int32 = xg.next;
|
|
221
|
-
prng.quick = prng;
|
|
222
|
-
if (state) {
|
|
223
|
-
if (typeof state == "object") copy(state, xg);
|
|
224
|
-
prng.state = function() {
|
|
225
|
-
return copy(xg, {});
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
return prng;
|
|
229
|
-
}
|
|
230
|
-
if (module2 && module2.exports) {
|
|
231
|
-
module2.exports = impl;
|
|
232
|
-
} else if (define2 && define2.amd) {
|
|
233
|
-
define2(function() {
|
|
234
|
-
return impl;
|
|
235
|
-
});
|
|
236
|
-
} else {
|
|
237
|
-
this.xorwow = impl;
|
|
238
|
-
}
|
|
239
|
-
})(
|
|
240
|
-
exports,
|
|
241
|
-
typeof module == "object" && module,
|
|
242
|
-
// present in node.js
|
|
243
|
-
typeof define == "function" && define
|
|
244
|
-
// present with an AMD loader
|
|
245
|
-
);
|
|
246
|
-
}
|
|
247
|
-
});
|
|
248
|
-
|
|
249
|
-
// node_modules/seedrandom/lib/xorshift7.js
|
|
250
|
-
var require_xorshift7 = __commonJS({
|
|
251
|
-
"node_modules/seedrandom/lib/xorshift7.js"(exports, module) {
|
|
252
|
-
(function(global, module2, define2) {
|
|
253
|
-
function XorGen(seed) {
|
|
254
|
-
var me = this;
|
|
255
|
-
me.next = function() {
|
|
256
|
-
var X = me.x, i = me.i, t, v, w;
|
|
257
|
-
t = X[i];
|
|
258
|
-
t ^= t >>> 7;
|
|
259
|
-
v = t ^ t << 24;
|
|
260
|
-
t = X[i + 1 & 7];
|
|
261
|
-
v ^= t ^ t >>> 10;
|
|
262
|
-
t = X[i + 3 & 7];
|
|
263
|
-
v ^= t ^ t >>> 3;
|
|
264
|
-
t = X[i + 4 & 7];
|
|
265
|
-
v ^= t ^ t << 7;
|
|
266
|
-
t = X[i + 7 & 7];
|
|
267
|
-
t = t ^ t << 13;
|
|
268
|
-
v ^= t ^ t << 9;
|
|
269
|
-
X[i] = v;
|
|
270
|
-
me.i = i + 1 & 7;
|
|
271
|
-
return v;
|
|
272
|
-
};
|
|
273
|
-
function init(me2, seed2) {
|
|
274
|
-
var j, w, X = [];
|
|
275
|
-
if (seed2 === (seed2 | 0)) {
|
|
276
|
-
w = X[0] = seed2;
|
|
277
|
-
} else {
|
|
278
|
-
seed2 = "" + seed2;
|
|
279
|
-
for (j = 0; j < seed2.length; ++j) {
|
|
280
|
-
X[j & 7] = X[j & 7] << 15 ^ seed2.charCodeAt(j) + X[j + 1 & 7] << 13;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
while (X.length < 8) X.push(0);
|
|
284
|
-
for (j = 0; j < 8 && X[j] === 0; ++j) ;
|
|
285
|
-
if (j == 8) w = X[7] = -1;
|
|
286
|
-
else w = X[j];
|
|
287
|
-
me2.x = X;
|
|
288
|
-
me2.i = 0;
|
|
289
|
-
for (j = 256; j > 0; --j) {
|
|
290
|
-
me2.next();
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
init(me, seed);
|
|
294
|
-
}
|
|
295
|
-
function copy(f, t) {
|
|
296
|
-
t.x = f.x.slice();
|
|
297
|
-
t.i = f.i;
|
|
298
|
-
return t;
|
|
299
|
-
}
|
|
300
|
-
function impl(seed, opts) {
|
|
301
|
-
if (seed == null) seed = +/* @__PURE__ */ new Date();
|
|
302
|
-
var xg = new XorGen(seed), state = opts && opts.state, prng = function() {
|
|
303
|
-
return (xg.next() >>> 0) / 4294967296;
|
|
304
|
-
};
|
|
305
|
-
prng.double = function() {
|
|
306
|
-
do {
|
|
307
|
-
var top = xg.next() >>> 11, bot = (xg.next() >>> 0) / 4294967296, result = (top + bot) / (1 << 21);
|
|
308
|
-
} while (result === 0);
|
|
309
|
-
return result;
|
|
310
|
-
};
|
|
311
|
-
prng.int32 = xg.next;
|
|
312
|
-
prng.quick = prng;
|
|
313
|
-
if (state) {
|
|
314
|
-
if (state.x) copy(state, xg);
|
|
315
|
-
prng.state = function() {
|
|
316
|
-
return copy(xg, {});
|
|
317
|
-
};
|
|
318
|
-
}
|
|
319
|
-
return prng;
|
|
320
|
-
}
|
|
321
|
-
if (module2 && module2.exports) {
|
|
322
|
-
module2.exports = impl;
|
|
323
|
-
} else if (define2 && define2.amd) {
|
|
324
|
-
define2(function() {
|
|
325
|
-
return impl;
|
|
326
|
-
});
|
|
327
|
-
} else {
|
|
328
|
-
this.xorshift7 = impl;
|
|
329
|
-
}
|
|
330
|
-
})(
|
|
331
|
-
exports,
|
|
332
|
-
typeof module == "object" && module,
|
|
333
|
-
// present in node.js
|
|
334
|
-
typeof define == "function" && define
|
|
335
|
-
// present with an AMD loader
|
|
336
|
-
);
|
|
337
|
-
}
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
// node_modules/seedrandom/lib/xor4096.js
|
|
341
|
-
var require_xor4096 = __commonJS({
|
|
342
|
-
"node_modules/seedrandom/lib/xor4096.js"(exports, module) {
|
|
343
|
-
(function(global, module2, define2) {
|
|
344
|
-
function XorGen(seed) {
|
|
345
|
-
var me = this;
|
|
346
|
-
me.next = function() {
|
|
347
|
-
var w = me.w, X = me.X, i = me.i, t, v;
|
|
348
|
-
me.w = w = w + 1640531527 | 0;
|
|
349
|
-
v = X[i + 34 & 127];
|
|
350
|
-
t = X[i = i + 1 & 127];
|
|
351
|
-
v ^= v << 13;
|
|
352
|
-
t ^= t << 17;
|
|
353
|
-
v ^= v >>> 15;
|
|
354
|
-
t ^= t >>> 12;
|
|
355
|
-
v = X[i] = v ^ t;
|
|
356
|
-
me.i = i;
|
|
357
|
-
return v + (w ^ w >>> 16) | 0;
|
|
358
|
-
};
|
|
359
|
-
function init(me2, seed2) {
|
|
360
|
-
var t, v, i, j, w, X = [], limit = 128;
|
|
361
|
-
if (seed2 === (seed2 | 0)) {
|
|
362
|
-
v = seed2;
|
|
363
|
-
seed2 = null;
|
|
364
|
-
} else {
|
|
365
|
-
seed2 = seed2 + "\0";
|
|
366
|
-
v = 0;
|
|
367
|
-
limit = Math.max(limit, seed2.length);
|
|
368
|
-
}
|
|
369
|
-
for (i = 0, j = -32; j < limit; ++j) {
|
|
370
|
-
if (seed2) v ^= seed2.charCodeAt((j + 32) % seed2.length);
|
|
371
|
-
if (j === 0) w = v;
|
|
372
|
-
v ^= v << 10;
|
|
373
|
-
v ^= v >>> 15;
|
|
374
|
-
v ^= v << 4;
|
|
375
|
-
v ^= v >>> 13;
|
|
376
|
-
if (j >= 0) {
|
|
377
|
-
w = w + 1640531527 | 0;
|
|
378
|
-
t = X[j & 127] ^= v + w;
|
|
379
|
-
i = 0 == t ? i + 1 : 0;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
if (i >= 128) {
|
|
383
|
-
X[(seed2 && seed2.length || 0) & 127] = -1;
|
|
384
|
-
}
|
|
385
|
-
i = 127;
|
|
386
|
-
for (j = 4 * 128; j > 0; --j) {
|
|
387
|
-
v = X[i + 34 & 127];
|
|
388
|
-
t = X[i = i + 1 & 127];
|
|
389
|
-
v ^= v << 13;
|
|
390
|
-
t ^= t << 17;
|
|
391
|
-
v ^= v >>> 15;
|
|
392
|
-
t ^= t >>> 12;
|
|
393
|
-
X[i] = v ^ t;
|
|
394
|
-
}
|
|
395
|
-
me2.w = w;
|
|
396
|
-
me2.X = X;
|
|
397
|
-
me2.i = i;
|
|
398
|
-
}
|
|
399
|
-
init(me, seed);
|
|
400
|
-
}
|
|
401
|
-
function copy(f, t) {
|
|
402
|
-
t.i = f.i;
|
|
403
|
-
t.w = f.w;
|
|
404
|
-
t.X = f.X.slice();
|
|
405
|
-
return t;
|
|
406
|
-
}
|
|
407
|
-
;
|
|
408
|
-
function impl(seed, opts) {
|
|
409
|
-
if (seed == null) seed = +/* @__PURE__ */ new Date();
|
|
410
|
-
var xg = new XorGen(seed), state = opts && opts.state, prng = function() {
|
|
411
|
-
return (xg.next() >>> 0) / 4294967296;
|
|
412
|
-
};
|
|
413
|
-
prng.double = function() {
|
|
414
|
-
do {
|
|
415
|
-
var top = xg.next() >>> 11, bot = (xg.next() >>> 0) / 4294967296, result = (top + bot) / (1 << 21);
|
|
416
|
-
} while (result === 0);
|
|
417
|
-
return result;
|
|
418
|
-
};
|
|
419
|
-
prng.int32 = xg.next;
|
|
420
|
-
prng.quick = prng;
|
|
421
|
-
if (state) {
|
|
422
|
-
if (state.X) copy(state, xg);
|
|
423
|
-
prng.state = function() {
|
|
424
|
-
return copy(xg, {});
|
|
425
|
-
};
|
|
426
|
-
}
|
|
427
|
-
return prng;
|
|
428
|
-
}
|
|
429
|
-
if (module2 && module2.exports) {
|
|
430
|
-
module2.exports = impl;
|
|
431
|
-
} else if (define2 && define2.amd) {
|
|
432
|
-
define2(function() {
|
|
433
|
-
return impl;
|
|
434
|
-
});
|
|
435
|
-
} else {
|
|
436
|
-
this.xor4096 = impl;
|
|
437
|
-
}
|
|
438
|
-
})(
|
|
439
|
-
exports,
|
|
440
|
-
// window object or global
|
|
441
|
-
typeof module == "object" && module,
|
|
442
|
-
// present in node.js
|
|
443
|
-
typeof define == "function" && define
|
|
444
|
-
// present with an AMD loader
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
|
-
});
|
|
448
|
-
|
|
449
|
-
// node_modules/seedrandom/lib/tychei.js
|
|
450
|
-
var require_tychei = __commonJS({
|
|
451
|
-
"node_modules/seedrandom/lib/tychei.js"(exports, module) {
|
|
452
|
-
(function(global, module2, define2) {
|
|
453
|
-
function XorGen(seed) {
|
|
454
|
-
var me = this, strseed = "";
|
|
455
|
-
me.next = function() {
|
|
456
|
-
var b = me.b, c = me.c, d = me.d, a = me.a;
|
|
457
|
-
b = b << 25 ^ b >>> 7 ^ c;
|
|
458
|
-
c = c - d | 0;
|
|
459
|
-
d = d << 24 ^ d >>> 8 ^ a;
|
|
460
|
-
a = a - b | 0;
|
|
461
|
-
me.b = b = b << 20 ^ b >>> 12 ^ c;
|
|
462
|
-
me.c = c = c - d | 0;
|
|
463
|
-
me.d = d << 16 ^ c >>> 16 ^ a;
|
|
464
|
-
return me.a = a - b | 0;
|
|
465
|
-
};
|
|
466
|
-
me.a = 0;
|
|
467
|
-
me.b = 0;
|
|
468
|
-
me.c = 2654435769 | 0;
|
|
469
|
-
me.d = 1367130551;
|
|
470
|
-
if (seed === Math.floor(seed)) {
|
|
471
|
-
me.a = seed / 4294967296 | 0;
|
|
472
|
-
me.b = seed | 0;
|
|
473
|
-
} else {
|
|
474
|
-
strseed += seed;
|
|
475
|
-
}
|
|
476
|
-
for (var k = 0; k < strseed.length + 20; k++) {
|
|
477
|
-
me.b ^= strseed.charCodeAt(k) | 0;
|
|
478
|
-
me.next();
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
function copy(f, t) {
|
|
482
|
-
t.a = f.a;
|
|
483
|
-
t.b = f.b;
|
|
484
|
-
t.c = f.c;
|
|
485
|
-
t.d = f.d;
|
|
486
|
-
return t;
|
|
487
|
-
}
|
|
488
|
-
;
|
|
489
|
-
function impl(seed, opts) {
|
|
490
|
-
var xg = new XorGen(seed), state = opts && opts.state, prng = function() {
|
|
491
|
-
return (xg.next() >>> 0) / 4294967296;
|
|
492
|
-
};
|
|
493
|
-
prng.double = function() {
|
|
494
|
-
do {
|
|
495
|
-
var top = xg.next() >>> 11, bot = (xg.next() >>> 0) / 4294967296, result = (top + bot) / (1 << 21);
|
|
496
|
-
} while (result === 0);
|
|
497
|
-
return result;
|
|
498
|
-
};
|
|
499
|
-
prng.int32 = xg.next;
|
|
500
|
-
prng.quick = prng;
|
|
501
|
-
if (state) {
|
|
502
|
-
if (typeof state == "object") copy(state, xg);
|
|
503
|
-
prng.state = function() {
|
|
504
|
-
return copy(xg, {});
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
return prng;
|
|
508
|
-
}
|
|
509
|
-
if (module2 && module2.exports) {
|
|
510
|
-
module2.exports = impl;
|
|
511
|
-
} else if (define2 && define2.amd) {
|
|
512
|
-
define2(function() {
|
|
513
|
-
return impl;
|
|
514
|
-
});
|
|
515
|
-
} else {
|
|
516
|
-
this.tychei = impl;
|
|
517
|
-
}
|
|
518
|
-
})(
|
|
519
|
-
exports,
|
|
520
|
-
typeof module == "object" && module,
|
|
521
|
-
// present in node.js
|
|
522
|
-
typeof define == "function" && define
|
|
523
|
-
// present with an AMD loader
|
|
524
|
-
);
|
|
525
|
-
}
|
|
526
|
-
});
|
|
527
|
-
|
|
528
|
-
// browser-external:crypto
|
|
529
|
-
var require_crypto = __commonJS({
|
|
530
|
-
"browser-external:crypto"(exports, module) {
|
|
531
|
-
module.exports = Object.create(new Proxy({}, {
|
|
532
|
-
get(_, key) {
|
|
533
|
-
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
|
|
534
|
-
console.warn(`Module "crypto" has been externalized for browser compatibility. Cannot access "crypto.${key}" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
}));
|
|
538
|
-
}
|
|
539
|
-
});
|
|
540
|
-
|
|
541
|
-
// node_modules/seedrandom/seedrandom.js
|
|
542
|
-
var require_seedrandom = __commonJS({
|
|
543
|
-
"node_modules/seedrandom/seedrandom.js"(exports, module) {
|
|
544
|
-
(function(global, pool, math) {
|
|
545
|
-
var width = 256, chunks = 6, digits = 52, rngname = "random", startdenom = math.pow(width, chunks), significance = math.pow(2, digits), overflow = significance * 2, mask = width - 1, nodecrypto;
|
|
546
|
-
function seedrandom(seed, options, callback) {
|
|
547
|
-
var key = [];
|
|
548
|
-
options = options == true ? {
|
|
549
|
-
entropy: true
|
|
550
|
-
} : options || {};
|
|
551
|
-
var shortseed = mixkey(flatten(options.entropy ? [seed, tostring(pool)] : seed == null ? autoseed() : seed, 3), key);
|
|
552
|
-
var arc4 = new ARC4(key);
|
|
553
|
-
var prng = function() {
|
|
554
|
-
var n = arc4.g(chunks), d = startdenom, x = 0;
|
|
555
|
-
while (n < significance) {
|
|
556
|
-
n = (n + x) * width;
|
|
557
|
-
d *= width;
|
|
558
|
-
x = arc4.g(1);
|
|
559
|
-
}
|
|
560
|
-
while (n >= overflow) {
|
|
561
|
-
n /= 2;
|
|
562
|
-
d /= 2;
|
|
563
|
-
x >>>= 1;
|
|
564
|
-
}
|
|
565
|
-
return (n + x) / d;
|
|
566
|
-
};
|
|
567
|
-
prng.int32 = function() {
|
|
568
|
-
return arc4.g(4) | 0;
|
|
569
|
-
};
|
|
570
|
-
prng.quick = function() {
|
|
571
|
-
return arc4.g(4) / 4294967296;
|
|
572
|
-
};
|
|
573
|
-
prng.double = prng;
|
|
574
|
-
mixkey(tostring(arc4.S), pool);
|
|
575
|
-
return (options.pass || callback || function(prng2, seed2, is_math_call, state) {
|
|
576
|
-
if (state) {
|
|
577
|
-
if (state.S) {
|
|
578
|
-
copy(state, arc4);
|
|
579
|
-
}
|
|
580
|
-
prng2.state = function() {
|
|
581
|
-
return copy(arc4, {});
|
|
582
|
-
};
|
|
583
|
-
}
|
|
584
|
-
if (is_math_call) {
|
|
585
|
-
math[rngname] = prng2;
|
|
586
|
-
return seed2;
|
|
587
|
-
} else return prng2;
|
|
588
|
-
})(prng, shortseed, "global" in options ? options.global : this == math, options.state);
|
|
589
|
-
}
|
|
590
|
-
function ARC4(key) {
|
|
591
|
-
var t, keylen = key.length, me = this, i = 0, j = me.i = me.j = 0, s = me.S = [];
|
|
592
|
-
if (!keylen) {
|
|
593
|
-
key = [keylen++];
|
|
594
|
-
}
|
|
595
|
-
while (i < width) {
|
|
596
|
-
s[i] = i++;
|
|
597
|
-
}
|
|
598
|
-
for (i = 0; i < width; i++) {
|
|
599
|
-
s[i] = s[j = mask & j + key[i % keylen] + (t = s[i])];
|
|
600
|
-
s[j] = t;
|
|
601
|
-
}
|
|
602
|
-
(me.g = function(count) {
|
|
603
|
-
var t2, r = 0, i2 = me.i, j2 = me.j, s2 = me.S;
|
|
604
|
-
while (count--) {
|
|
605
|
-
t2 = s2[i2 = mask & i2 + 1];
|
|
606
|
-
r = r * width + s2[mask & (s2[i2] = s2[j2 = mask & j2 + t2]) + (s2[j2] = t2)];
|
|
607
|
-
}
|
|
608
|
-
me.i = i2;
|
|
609
|
-
me.j = j2;
|
|
610
|
-
return r;
|
|
611
|
-
})(width);
|
|
612
|
-
}
|
|
613
|
-
function copy(f, t) {
|
|
614
|
-
t.i = f.i;
|
|
615
|
-
t.j = f.j;
|
|
616
|
-
t.S = f.S.slice();
|
|
617
|
-
return t;
|
|
618
|
-
}
|
|
619
|
-
;
|
|
620
|
-
function flatten(obj, depth) {
|
|
621
|
-
var result = [], typ = typeof obj, prop;
|
|
622
|
-
if (depth && typ == "object") {
|
|
623
|
-
for (prop in obj) {
|
|
624
|
-
try {
|
|
625
|
-
result.push(flatten(obj[prop], depth - 1));
|
|
626
|
-
} catch (e) {
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
return result.length ? result : typ == "string" ? obj : obj + "\0";
|
|
631
|
-
}
|
|
632
|
-
function mixkey(seed, key) {
|
|
633
|
-
var stringseed = seed + "", smear, j = 0;
|
|
634
|
-
while (j < stringseed.length) {
|
|
635
|
-
key[mask & j] = mask & (smear ^= key[mask & j] * 19) + stringseed.charCodeAt(j++);
|
|
636
|
-
}
|
|
637
|
-
return tostring(key);
|
|
638
|
-
}
|
|
639
|
-
function autoseed() {
|
|
640
|
-
try {
|
|
641
|
-
var out;
|
|
642
|
-
if (nodecrypto && (out = nodecrypto.randomBytes)) {
|
|
643
|
-
out = out(width);
|
|
644
|
-
} else {
|
|
645
|
-
out = new Uint8Array(width);
|
|
646
|
-
(global.crypto || global.msCrypto).getRandomValues(out);
|
|
647
|
-
}
|
|
648
|
-
return tostring(out);
|
|
649
|
-
} catch (e) {
|
|
650
|
-
var browser = global.navigator, plugins = browser && browser.plugins;
|
|
651
|
-
return [+/* @__PURE__ */ new Date(), global, plugins, global.screen, tostring(pool)];
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
function tostring(a) {
|
|
655
|
-
return String.fromCharCode.apply(0, a);
|
|
656
|
-
}
|
|
657
|
-
mixkey(math.random(), pool);
|
|
658
|
-
if (typeof module == "object" && module.exports) {
|
|
659
|
-
module.exports = seedrandom;
|
|
660
|
-
try {
|
|
661
|
-
nodecrypto = require_crypto();
|
|
662
|
-
} catch (ex) {
|
|
663
|
-
}
|
|
664
|
-
} else if (typeof define == "function" && define.amd) {
|
|
665
|
-
define(function() {
|
|
666
|
-
return seedrandom;
|
|
667
|
-
});
|
|
668
|
-
} else {
|
|
669
|
-
math["seed" + rngname] = seedrandom;
|
|
670
|
-
}
|
|
671
|
-
})(
|
|
672
|
-
// global: `self` in browsers (including strict mode and web workers),
|
|
673
|
-
// otherwise `this` in Node and other environments
|
|
674
|
-
typeof self !== "undefined" ? self : exports,
|
|
675
|
-
[],
|
|
676
|
-
// pool: entropy pool starts empty
|
|
677
|
-
Math
|
|
678
|
-
// math: package containing random, pow, and seedrandom
|
|
679
|
-
);
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
|
|
683
|
-
// node_modules/seedrandom/index.js
|
|
684
|
-
var require_seedrandom2 = __commonJS({
|
|
685
|
-
"node_modules/seedrandom/index.js"(exports, module) {
|
|
686
|
-
var alea = require_alea();
|
|
687
|
-
var xor128 = require_xor128();
|
|
688
|
-
var xorwow = require_xorwow();
|
|
689
|
-
var xorshift7 = require_xorshift7();
|
|
690
|
-
var xor4096 = require_xor4096();
|
|
691
|
-
var tychei = require_tychei();
|
|
692
|
-
var sr = require_seedrandom();
|
|
693
|
-
sr.alea = alea;
|
|
694
|
-
sr.xor128 = xor128;
|
|
695
|
-
sr.xorwow = xorwow;
|
|
696
|
-
sr.xorshift7 = xorshift7;
|
|
697
|
-
sr.xor4096 = xor4096;
|
|
698
|
-
sr.tychei = tychei;
|
|
699
|
-
module.exports = sr;
|
|
700
|
-
}
|
|
701
|
-
});
|
|
702
|
-
export default require_seedrandom2();
|
|
703
|
-
//# sourceMappingURL=seedrandom.js.map
|