halo-mobile 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,258 @@
1
+ import { i as w } from "./state-local-CEworIRt.js";
2
+ function O(n, e, r) {
3
+ return e in n ? Object.defineProperty(n, e, {
4
+ value: r,
5
+ enumerable: !0,
6
+ configurable: !0,
7
+ writable: !0
8
+ }) : n[e] = r, n;
9
+ }
10
+ function d(n, e) {
11
+ var r = Object.keys(n);
12
+ if (Object.getOwnPropertySymbols) {
13
+ var t = Object.getOwnPropertySymbols(n);
14
+ e && (t = t.filter(function(o) {
15
+ return Object.getOwnPropertyDescriptor(n, o).enumerable;
16
+ })), r.push.apply(r, t);
17
+ }
18
+ return r;
19
+ }
20
+ function m(n) {
21
+ for (var e = 1; e < arguments.length; e++) {
22
+ var r = arguments[e] != null ? arguments[e] : {};
23
+ e % 2 ? d(Object(r), !0).forEach(function(t) {
24
+ O(n, t, r[t]);
25
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach(function(t) {
26
+ Object.defineProperty(n, t, Object.getOwnPropertyDescriptor(r, t));
27
+ });
28
+ }
29
+ return n;
30
+ }
31
+ function I(n, e) {
32
+ if (n == null) return {};
33
+ var r = {}, t = Object.keys(n), o, i;
34
+ for (i = 0; i < t.length; i++)
35
+ o = t[i], !(e.indexOf(o) >= 0) && (r[o] = n[o]);
36
+ return r;
37
+ }
38
+ function S(n, e) {
39
+ if (n == null) return {};
40
+ var r = I(n, e), t, o;
41
+ if (Object.getOwnPropertySymbols) {
42
+ var i = Object.getOwnPropertySymbols(n);
43
+ for (o = 0; o < i.length; o++)
44
+ t = i[o], !(e.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(n, t) && (r[t] = n[t]);
45
+ }
46
+ return r;
47
+ }
48
+ function P(n, e) {
49
+ return A(n) || E(n, e) || T(n, e) || C();
50
+ }
51
+ function A(n) {
52
+ if (Array.isArray(n)) return n;
53
+ }
54
+ function E(n, e) {
55
+ if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(n)))) {
56
+ var r = [], t = !0, o = !1, i = void 0;
57
+ try {
58
+ for (var a = n[Symbol.iterator](), u; !(t = (u = a.next()).done) && (r.push(u.value), !(e && r.length === e)); t = !0)
59
+ ;
60
+ } catch (c) {
61
+ o = !0, i = c;
62
+ } finally {
63
+ try {
64
+ !t && a.return != null && a.return();
65
+ } finally {
66
+ if (o) throw i;
67
+ }
68
+ }
69
+ return r;
70
+ }
71
+ }
72
+ function T(n, e) {
73
+ if (n) {
74
+ if (typeof n == "string") return v(n, e);
75
+ var r = Object.prototype.toString.call(n).slice(8, -1);
76
+ if (r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set") return Array.from(n);
77
+ if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return v(n, e);
78
+ }
79
+ }
80
+ function v(n, e) {
81
+ (e == null || e > n.length) && (e = n.length);
82
+ for (var r = 0, t = new Array(e); r < e; r++) t[r] = n[r];
83
+ return t;
84
+ }
85
+ function C() {
86
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
87
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
88
+ }
89
+ var z = {
90
+ paths: {
91
+ vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
92
+ }
93
+ };
94
+ function D(n) {
95
+ return function e() {
96
+ for (var r = this, t = arguments.length, o = new Array(t), i = 0; i < t; i++)
97
+ o[i] = arguments[i];
98
+ return o.length >= n.length ? n.apply(this, o) : function() {
99
+ for (var a = arguments.length, u = new Array(a), c = 0; c < a; c++)
100
+ u[c] = arguments[c];
101
+ return e.apply(r, [].concat(o, u));
102
+ };
103
+ };
104
+ }
105
+ function M(n) {
106
+ return {}.toString.call(n).includes("Object");
107
+ }
108
+ function q(n) {
109
+ return n || g("configIsRequired"), M(n) || g("configType"), n.urls ? (L(), {
110
+ paths: {
111
+ vs: n.urls.monacoBase
112
+ }
113
+ }) : n;
114
+ }
115
+ function L() {
116
+ console.warn(b.deprecation);
117
+ }
118
+ function $(n, e) {
119
+ throw new Error(n[e] || n.default);
120
+ }
121
+ var b = {
122
+ configIsRequired: "the configuration object is required",
123
+ configType: "the configuration object should be an object",
124
+ default: "an unknown error accured in `@monaco-editor/loader` package",
125
+ deprecation: `Deprecation warning!
126
+ You are using deprecated way of configuration.
127
+
128
+ Instead of using
129
+ monaco.config({ urls: { monacoBase: '...' } })
130
+ use
131
+ monaco.config({ paths: { vs: '...' } })
132
+
133
+ For more please check the link https://github.com/suren-atoyan/monaco-loader#config
134
+ `
135
+ }, g = D($)(b), R = {
136
+ config: q
137
+ }, _ = function() {
138
+ for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
139
+ r[t] = arguments[t];
140
+ return function(o) {
141
+ return r.reduceRight(function(i, a) {
142
+ return a(i);
143
+ }, o);
144
+ };
145
+ };
146
+ function h(n, e) {
147
+ return Object.keys(e).forEach(function(r) {
148
+ e[r] instanceof Object && n[r] && Object.assign(e[r], h(n[r], e[r]));
149
+ }), m(m({}, n), e);
150
+ }
151
+ var x = {
152
+ type: "cancelation",
153
+ msg: "operation is manually canceled"
154
+ };
155
+ function s(n) {
156
+ var e = !1, r = new Promise(function(t, o) {
157
+ n.then(function(i) {
158
+ return e ? o(x) : t(i);
159
+ }), n.catch(o);
160
+ });
161
+ return r.cancel = function() {
162
+ return e = !0;
163
+ }, r;
164
+ }
165
+ var W = w.create({
166
+ config: z,
167
+ isInitialized: !1,
168
+ resolve: null,
169
+ reject: null,
170
+ monaco: null
171
+ }), y = P(W, 2), f = y[0], l = y[1];
172
+ function B(n) {
173
+ var e = R.config(n), r = e.monaco, t = S(e, ["monaco"]);
174
+ l(function(o) {
175
+ return {
176
+ config: h(o.config, t),
177
+ monaco: r
178
+ };
179
+ });
180
+ }
181
+ function H() {
182
+ var n = f(function(e) {
183
+ var r = e.monaco, t = e.isInitialized, o = e.resolve;
184
+ return {
185
+ monaco: r,
186
+ isInitialized: t,
187
+ resolve: o
188
+ };
189
+ });
190
+ if (!n.isInitialized) {
191
+ if (l({
192
+ isInitialized: !0
193
+ }), n.monaco)
194
+ return n.resolve(n.monaco), s(p);
195
+ if (window.monaco && window.monaco.editor)
196
+ return j(window.monaco), n.resolve(window.monaco), s(p);
197
+ _(N, G)(K);
198
+ }
199
+ return s(p);
200
+ }
201
+ function N(n) {
202
+ return document.body.appendChild(n);
203
+ }
204
+ function F(n) {
205
+ var e = document.createElement("script");
206
+ return n && (e.src = n), e;
207
+ }
208
+ function G(n) {
209
+ var e = f(function(t) {
210
+ var o = t.config, i = t.reject;
211
+ return {
212
+ config: o,
213
+ reject: i
214
+ };
215
+ }), r = F("".concat(e.config.paths.vs, "/loader.js"));
216
+ return r.onload = function() {
217
+ return n();
218
+ }, r.onerror = e.reject, r;
219
+ }
220
+ function K() {
221
+ var n = f(function(r) {
222
+ var t = r.config, o = r.resolve, i = r.reject;
223
+ return {
224
+ config: t,
225
+ resolve: o,
226
+ reject: i
227
+ };
228
+ }), e = window.require;
229
+ e.config(n.config), e(["vs/editor/editor.main"], function(r) {
230
+ j(r), n.resolve(r);
231
+ }, function(r) {
232
+ n.reject(r);
233
+ });
234
+ }
235
+ function j(n) {
236
+ f().monaco || l({
237
+ monaco: n
238
+ });
239
+ }
240
+ function U() {
241
+ return f(function(n) {
242
+ var e = n.monaco;
243
+ return e;
244
+ });
245
+ }
246
+ var p = new Promise(function(n, e) {
247
+ return l({
248
+ resolve: n,
249
+ reject: e
250
+ });
251
+ }), J = {
252
+ config: B,
253
+ init: H,
254
+ __getMonacoInstance: U
255
+ };
256
+ export {
257
+ J as l
258
+ };
@@ -0,0 +1,93 @@
1
+ function h() {
2
+ return g().__VUE_DEVTOOLS_GLOBAL_HOOK__;
3
+ }
4
+ function g() {
5
+ return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
6
+ }
7
+ const d = typeof Proxy == "function", _ = "devtools-plugin:setup", O = "plugin:settings:set";
8
+ let u, f;
9
+ function S() {
10
+ var o;
11
+ return u !== void 0 || (typeof window < "u" && window.performance ? (u = !0, f = window.performance) : typeof globalThis < "u" && (!((o = globalThis.perf_hooks) === null || o === void 0) && o.performance) ? (u = !0, f = globalThis.perf_hooks.performance) : u = !1), u;
12
+ }
13
+ function w() {
14
+ return S() ? f.now() : Date.now();
15
+ }
16
+ class y {
17
+ constructor(n, s) {
18
+ this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = n, this.hook = s;
19
+ const i = {};
20
+ if (n.settings)
21
+ for (const e in n.settings) {
22
+ const t = n.settings[e];
23
+ i[e] = t.defaultValue;
24
+ }
25
+ const r = `__vue-devtools-plugin-settings__${n.id}`;
26
+ let a = Object.assign({}, i);
27
+ try {
28
+ const e = localStorage.getItem(r), t = JSON.parse(e);
29
+ Object.assign(a, t);
30
+ } catch {
31
+ }
32
+ this.fallbacks = {
33
+ getSettings() {
34
+ return a;
35
+ },
36
+ setSettings(e) {
37
+ try {
38
+ localStorage.setItem(r, JSON.stringify(e));
39
+ } catch {
40
+ }
41
+ a = e;
42
+ },
43
+ now() {
44
+ return w();
45
+ }
46
+ }, s && s.on(O, (e, t) => {
47
+ e === this.plugin.id && this.fallbacks.setSettings(t);
48
+ }), this.proxiedOn = new Proxy({}, {
49
+ get: (e, t) => this.target ? this.target.on[t] : (...l) => {
50
+ this.onQueue.push({
51
+ method: t,
52
+ args: l
53
+ });
54
+ }
55
+ }), this.proxiedTarget = new Proxy({}, {
56
+ get: (e, t) => this.target ? this.target[t] : t === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(t) ? (...l) => (this.targetQueue.push({
57
+ method: t,
58
+ args: l,
59
+ resolve: () => {
60
+ }
61
+ }), this.fallbacks[t](...l)) : (...l) => new Promise((c) => {
62
+ this.targetQueue.push({
63
+ method: t,
64
+ args: l,
65
+ resolve: c
66
+ });
67
+ })
68
+ });
69
+ }
70
+ async setRealTarget(n) {
71
+ this.target = n;
72
+ for (const s of this.onQueue)
73
+ this.target.on[s.method](...s.args);
74
+ for (const s of this.targetQueue)
75
+ s.resolve(await this.target[s.method](...s.args));
76
+ }
77
+ }
78
+ function p(o, n) {
79
+ const s = o, i = g(), r = h(), a = d && s.enableEarlyProxy;
80
+ if (r && (i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
81
+ r.emit(_, o, n);
82
+ else {
83
+ const e = a ? new y(s, r) : null;
84
+ (i.__VUE_DEVTOOLS_PLUGINS__ = i.__VUE_DEVTOOLS_PLUGINS__ || []).push({
85
+ pluginDescriptor: s,
86
+ setupFn: n,
87
+ proxy: e
88
+ }), e && n(e.proxiedTarget);
89
+ }
90
+ }
91
+ export {
92
+ p as s
93
+ };
@@ -0,0 +1,139 @@
1
+ var q = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function G(u) {
3
+ return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
4
+ }
5
+ var T = { exports: {} };
6
+ (function(u) {
7
+ var A = function() {
8
+ function s(n, o) {
9
+ return o != null && n instanceof o;
10
+ }
11
+ var g;
12
+ try {
13
+ g = Map;
14
+ } catch {
15
+ g = function() {
16
+ };
17
+ }
18
+ var _;
19
+ try {
20
+ _ = Set;
21
+ } catch {
22
+ _ = function() {
23
+ };
24
+ }
25
+ var O;
26
+ try {
27
+ O = Promise;
28
+ } catch {
29
+ O = function() {
30
+ };
31
+ }
32
+ function i(n, o, c, w, E) {
33
+ typeof o == "object" && (c = o.depth, w = o.prototype, E = o.includeNonEnumerable, o = o.circular);
34
+ var B = [], R = [], U = typeof Buffer < "u";
35
+ typeof o > "u" && (o = !0), typeof c > "u" && (c = 1 / 0);
36
+ function r(e, l) {
37
+ if (e === null)
38
+ return null;
39
+ if (l === 0)
40
+ return e;
41
+ var f, b;
42
+ if (typeof e != "object")
43
+ return e;
44
+ if (s(e, g))
45
+ f = new g();
46
+ else if (s(e, _))
47
+ f = new _();
48
+ else if (s(e, O))
49
+ f = new O(function(v, y) {
50
+ e.then(function(j) {
51
+ v(r(j, l - 1));
52
+ }, function(j) {
53
+ y(r(j, l - 1));
54
+ });
55
+ });
56
+ else if (i.__isArray(e))
57
+ f = [];
58
+ else if (i.__isRegExp(e))
59
+ f = new RegExp(e.source, D(e)), e.lastIndex && (f.lastIndex = e.lastIndex);
60
+ else if (i.__isDate(e))
61
+ f = new Date(e.getTime());
62
+ else {
63
+ if (U && Buffer.isBuffer(e))
64
+ return Buffer.allocUnsafe ? f = Buffer.allocUnsafe(e.length) : f = new Buffer(e.length), e.copy(f), f;
65
+ s(e, Error) ? f = Object.create(e) : typeof w > "u" ? (b = Object.getPrototypeOf(e), f = Object.create(b)) : (f = Object.create(w), b = w);
66
+ }
67
+ if (o) {
68
+ var S = B.indexOf(e);
69
+ if (S != -1)
70
+ return R[S];
71
+ B.push(e), R.push(f);
72
+ }
73
+ s(e, g) && e.forEach(function(v, y) {
74
+ var j = r(y, l - 1), k = r(v, l - 1);
75
+ f.set(j, k);
76
+ }), s(e, _) && e.forEach(function(v) {
77
+ var y = r(v, l - 1);
78
+ f.add(y);
79
+ });
80
+ for (var t in e) {
81
+ var h;
82
+ b && (h = Object.getOwnPropertyDescriptor(b, t)), !(h && h.set == null) && (f[t] = r(e[t], l - 1));
83
+ }
84
+ if (Object.getOwnPropertySymbols)
85
+ for (var m = Object.getOwnPropertySymbols(e), t = 0; t < m.length; t++) {
86
+ var P = m[t], a = Object.getOwnPropertyDescriptor(e, P);
87
+ a && !a.enumerable && !E || (f[P] = r(e[P], l - 1), a.enumerable || Object.defineProperty(f, P, {
88
+ enumerable: !1
89
+ }));
90
+ }
91
+ if (E)
92
+ for (var C = Object.getOwnPropertyNames(e), t = 0; t < C.length; t++) {
93
+ var x = C[t], a = Object.getOwnPropertyDescriptor(e, x);
94
+ a && a.enumerable || (f[x] = r(e[x], l - 1), Object.defineProperty(f, x, {
95
+ enumerable: !1
96
+ }));
97
+ }
98
+ return f;
99
+ }
100
+ return r(n, c);
101
+ }
102
+ i.clonePrototype = function(o) {
103
+ if (o === null)
104
+ return null;
105
+ var c = function() {
106
+ };
107
+ return c.prototype = o, new c();
108
+ };
109
+ function d(n) {
110
+ return Object.prototype.toString.call(n);
111
+ }
112
+ i.__objToStr = d;
113
+ function I(n) {
114
+ return typeof n == "object" && d(n) === "[object Date]";
115
+ }
116
+ i.__isDate = I;
117
+ function F(n) {
118
+ return typeof n == "object" && d(n) === "[object Array]";
119
+ }
120
+ i.__isArray = F;
121
+ function M(n) {
122
+ return typeof n == "object" && d(n) === "[object RegExp]";
123
+ }
124
+ i.__isRegExp = M;
125
+ function D(n) {
126
+ var o = "";
127
+ return n.global && (o += "g"), n.ignoreCase && (o += "i"), n.multiline && (o += "m"), o;
128
+ }
129
+ return i.__getRegExpFlags = D, i;
130
+ }();
131
+ u.exports && (u.exports = A);
132
+ })(T);
133
+ var $ = T.exports;
134
+ const z = /* @__PURE__ */ G($);
135
+ export {
136
+ z as a,
137
+ q as c,
138
+ G as g
139
+ };