@yappkit/front-module-map 0.1.0 → 0.1.2

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.
@@ -1,15 +0,0 @@
1
- function e(t, o) {
2
- return Object.keys(t).reduce(function(n, r) {
3
- return n[r] = o(r, t[r]), n;
4
- }, {});
5
- }
6
- var i = e, c = i;
7
- function a(t) {
8
- return c(t, function(o, n) {
9
- return typeof n == "boolean" ? JSON.stringify(n) : n;
10
- });
11
- }
12
- var f = a;
13
- export {
14
- f as s
15
- };
@@ -1,181 +0,0 @@
1
- import { g as y } from "../_commonjsHelpers.js";
2
- import { i as p } from "./browser-client.js";
3
- import { c as m, v as h, p as I } from "./create-service-factory.js";
4
- function f(t, r) {
5
- for (var a = 0; a < r.length; a++) {
6
- const d = r[a];
7
- if (typeof d != "string" && !Array.isArray(d)) {
8
- for (const o in d)
9
- if (o !== "default" && !(o in t)) {
10
- const i = Object.getOwnPropertyDescriptor(d, o);
11
- i && Object.defineProperty(t, o, i.get ? i : {
12
- enumerable: !0,
13
- get: () => d[o]
14
- });
15
- }
16
- }
17
- }
18
- return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
19
- }
20
- var l = p, e = h, n = I, b = m, s = {};
21
- s.getStyle = function(t) {
22
- e.assertShape({
23
- styleId: e.required(e.string),
24
- ownerId: e.string,
25
- metadata: e.boolean,
26
- draft: e.boolean,
27
- fresh: e.boolean
28
- })(t);
29
- var r = {};
30
- return t.metadata && (r.metadata = t.metadata), t.fresh && (r.fresh = "true"), this.client.createRequest({
31
- method: "GET",
32
- path: "/styles/v1/:ownerId/:styleId" + (t.draft ? "/draft" : ""),
33
- params: n(t, ["ownerId", "styleId"]),
34
- query: r
35
- });
36
- };
37
- s.createStyle = function(t) {
38
- return e.assertShape({
39
- style: e.plainObject,
40
- ownerId: e.string
41
- })(t), this.client.createRequest({
42
- method: "POST",
43
- path: "/styles/v1/:ownerId",
44
- params: n(t, ["ownerId"]),
45
- body: t.style
46
- });
47
- };
48
- s.updateStyle = function(t) {
49
- e.assertShape({
50
- styleId: e.required(e.string),
51
- style: e.required(e.plainObject),
52
- lastKnownModification: e.date,
53
- ownerId: e.string
54
- })(t);
55
- var r = {};
56
- return t.lastKnownModification && (r["If-Unmodified-Since"] = new Date(
57
- t.lastKnownModification
58
- ).toUTCString()), this.client.createRequest({
59
- method: "PATCH",
60
- path: "/styles/v1/:ownerId/:styleId",
61
- params: n(t, ["styleId", "ownerId"]),
62
- headers: r,
63
- body: t.style
64
- });
65
- };
66
- s.deleteStyle = function(t) {
67
- return e.assertShape({
68
- styleId: e.required(e.string),
69
- ownerId: e.string
70
- })(t), this.client.createRequest({
71
- method: "DELETE",
72
- path: "/styles/v1/:ownerId/:styleId",
73
- params: t
74
- });
75
- };
76
- s.listStyles = function(t) {
77
- t = t || {}, e.assertShape({
78
- start: e.string,
79
- ownerId: e.string,
80
- fresh: e.boolean
81
- })(t);
82
- var r = {};
83
- return t.start && (r.start = t.start), t.fresh && (r.fresh = "true"), this.client.createRequest({
84
- method: "GET",
85
- path: "/styles/v1/:ownerId",
86
- params: n(t, ["ownerId"]),
87
- query: r
88
- });
89
- };
90
- s.putStyleIcon = function(t) {
91
- return e.assertShape({
92
- styleId: e.required(e.string),
93
- iconId: e.required(e.string),
94
- file: e.file,
95
- ownerId: e.string
96
- })(t), this.client.createRequest({
97
- method: "PUT",
98
- path: "/styles/v1/:ownerId/:styleId/sprite/:iconId",
99
- params: n(t, ["ownerId", "styleId", "iconId"]),
100
- file: t.file
101
- });
102
- };
103
- s.deleteStyleIcon = function(t) {
104
- return e.assertShape({
105
- styleId: e.required(e.string),
106
- iconId: e.required(e.string),
107
- ownerId: e.string,
108
- draft: e.boolean
109
- })(t), this.client.createRequest({
110
- method: "DELETE",
111
- path: "/styles/v1/:ownerId/:styleId" + (t.draft ? "/draft" : "") + "/sprite/:iconId",
112
- params: n(t, ["ownerId", "styleId", "iconId"])
113
- });
114
- };
115
- s.getStyleSprite = function(t) {
116
- e.assertShape({
117
- styleId: e.required(e.string),
118
- format: e.oneOf("json", "png"),
119
- highRes: e.boolean,
120
- ownerId: e.string,
121
- draft: e.boolean,
122
- fresh: e.boolean
123
- })(t);
124
- var r = t.format || "json", a = "/sprite" + (t.highRes ? "@2x" : "") + "." + r, d = {};
125
- return t.fresh && (d.fresh = "true"), this.client.createRequest(
126
- l(
127
- {
128
- method: "GET",
129
- path: "/styles/v1/:ownerId/:styleId" + (t.draft ? "/draft" : "") + a,
130
- params: n(t, ["ownerId", "styleId"]),
131
- query: d
132
- },
133
- r === "png" ? { encoding: "binary" } : {}
134
- )
135
- );
136
- };
137
- s.getFontGlyphRange = function(t) {
138
- e.assertShape({
139
- fonts: e.required(e.oneOfType(e.string, e.arrayOf(e.string))),
140
- start: e.required(e.number),
141
- end: e.required(e.number),
142
- ownerId: e.string
143
- })(t);
144
- var r = t.start + "-" + t.end + ".pbf";
145
- return this.client.createRequest({
146
- method: "GET",
147
- path: "/fonts/v1/:ownerId/:fontList/:fileName",
148
- params: l(n(t, ["ownerId"]), {
149
- fontList: [].concat(t.fonts),
150
- fileName: r
151
- }),
152
- encoding: "binary"
153
- });
154
- };
155
- s.getEmbeddableHtml = function(t) {
156
- e.assertShape({
157
- styleId: e.required(e.string),
158
- scrollZoom: e.boolean,
159
- title: e.boolean,
160
- fallback: e.boolean,
161
- mapboxGLVersion: e.string,
162
- mapboxGLGeocoderVersion: e.string,
163
- ownerId: e.string,
164
- draft: e.boolean
165
- })(t);
166
- var r = t.styleId + (t.draft ? "/draft" : "") + ".html", a = {};
167
- return t.scrollZoom !== void 0 && (a.zoomwheel = String(t.scrollZoom)), t.title !== void 0 && (a.title = String(t.title)), t.fallback !== void 0 && (a.fallback = String(t.fallback)), t.mapboxGLVersion !== void 0 && (a.mapboxGLVersion = String(t.mapboxGLVersion)), t.mapboxGLGeocoderVersion !== void 0 && (a.mapboxGLGeocoderVersion = String(t.mapboxGLGeocoderVersion)), this.client.createRequest({
168
- method: "GET",
169
- path: "/styles/v1/:ownerId/" + r,
170
- params: n(t, ["ownerId"]),
171
- query: a
172
- });
173
- };
174
- var u = b(s);
175
- const c = /* @__PURE__ */ y(u), q = /* @__PURE__ */ f({
176
- __proto__: null,
177
- default: c
178
- }, [u]);
179
- export {
180
- q as s
181
- };
@@ -1,46 +0,0 @@
1
- import { g as c } from "../_commonjsHelpers.js";
2
- import { c as d, v as l, p } from "./create-service-factory.js";
3
- function y(r, s) {
4
- for (var o = 0; o < s.length; o++) {
5
- const t = s[o];
6
- if (typeof t != "string" && !Array.isArray(t)) {
7
- for (const a in t)
8
- if (a !== "default" && !(a in r)) {
9
- const i = Object.getOwnPropertyDescriptor(t, a);
10
- i && Object.defineProperty(r, a, i.get ? i : {
11
- enumerable: !0,
12
- get: () => t[a]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var e = l, m = p, f = d, n = {};
20
- n.listFeatures = function(r) {
21
- return e.assertShape({
22
- mapIds: e.required(e.arrayOf(e.string)),
23
- coordinates: e.required(e.coordinates),
24
- radius: e.number,
25
- limit: e.range([1, 50]),
26
- dedupe: e.boolean,
27
- geometry: e.oneOf("polygon", "linestring", "point"),
28
- layers: e.arrayOf(e.string)
29
- })(r), this.client.createRequest({
30
- method: "GET",
31
- path: "/v4/:mapIds/tilequery/:coordinates.json",
32
- params: {
33
- mapIds: r.mapIds,
34
- coordinates: r.coordinates
35
- },
36
- query: m(r, ["radius", "limit", "dedupe", "layers", "geometry"])
37
- });
38
- };
39
- var u = f(n);
40
- const g = /* @__PURE__ */ c(u), b = /* @__PURE__ */ y({
41
- __proto__: null,
42
- default: g
43
- }, [u]);
44
- export {
45
- b as t
46
- };
@@ -1,214 +0,0 @@
1
- import { g as p } from "../_commonjsHelpers.js";
2
- import { c as o, v as c, p as h } from "./create-service-factory.js";
3
- function m(t, l) {
4
- for (var n = 0; n < l.length; n++) {
5
- const i = l[n];
6
- if (typeof i != "string" && !Array.isArray(i)) {
7
- for (const a in i)
8
- if (a !== "default" && !(a in t)) {
9
- const d = Object.getOwnPropertyDescriptor(i, a);
10
- d && Object.defineProperty(t, a, d.get ? d : {
11
- enumerable: !0,
12
- get: () => i[a]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var e = c, r = h, I = o, s = {};
20
- s.listTilesets = function(t) {
21
- return e.assertShape({
22
- ownerId: e.string,
23
- limit: e.range([1, 500]),
24
- sortBy: e.oneOf("created", "modified"),
25
- start: e.string,
26
- type: e.oneOf("raster", "vector"),
27
- visibility: e.oneOf("public", "private")
28
- })(t), this.client.createRequest({
29
- method: "GET",
30
- path: "/tilesets/v1/:ownerId",
31
- params: t ? r(t, ["ownerId"]) : {},
32
- query: t ? r(t, ["limit", "sortBy", "start", "type", "visibility"]) : {}
33
- });
34
- };
35
- s.deleteTileset = function(t) {
36
- return e.assertShape({
37
- tilesetId: e.required(e.string)
38
- })(t), this.client.createRequest({
39
- method: "DELETE",
40
- path: "/tilesets/v1/:tilesetId",
41
- params: r(t, ["tilesetId"])
42
- });
43
- };
44
- s.tileJSONMetadata = function(t) {
45
- return e.assertShape({
46
- tilesetId: e.required(e.string)
47
- })(t), this.client.createRequest({
48
- method: "GET",
49
- path: "/v4/:tilesetId.json",
50
- params: r(t, ["tilesetId"])
51
- });
52
- };
53
- s.createTilesetSource = function(t) {
54
- return e.assertShape({
55
- id: e.required(e.string),
56
- file: e.required(e.file),
57
- ownerId: e.string
58
- })(t), this.client.createRequest({
59
- method: "POST",
60
- path: "/tilesets/v1/sources/:ownerId/:id",
61
- params: r(t, ["ownerId", "id"]),
62
- file: t.file,
63
- sendFileAs: "form"
64
- });
65
- };
66
- s.getTilesetSource = function(t) {
67
- return e.assertShape({
68
- id: e.required(e.string),
69
- ownerId: e.string
70
- })(t), this.client.createRequest({
71
- method: "GET",
72
- path: "/tilesets/v1/sources/:ownerId/:id",
73
- params: r(t, ["ownerId", "id"])
74
- });
75
- };
76
- s.listTilesetSources = function(t) {
77
- return e.assertShape({
78
- ownerId: e.string,
79
- limit: e.range([1, 500]),
80
- start: e.string
81
- })(t), this.client.createRequest({
82
- method: "GET",
83
- path: "/tilesets/v1/sources/:ownerId",
84
- params: t ? r(t, ["ownerId"]) : {},
85
- query: t ? r(t, ["limit", "start"]) : {}
86
- });
87
- };
88
- s.deleteTilesetSource = function(t) {
89
- return e.assertShape({
90
- id: e.required(e.string),
91
- ownerId: e.string
92
- })(t), this.client.createRequest({
93
- method: "DELETE",
94
- path: "/tilesets/v1/sources/:ownerId/:id",
95
- params: r(t, ["ownerId", "id"])
96
- });
97
- };
98
- s.createTileset = function(t) {
99
- return e.assertShape({
100
- tilesetId: e.required(e.string),
101
- recipe: e.required(e.plainObject),
102
- name: e.required(e.string),
103
- private: e.boolean,
104
- description: e.string
105
- })(t), this.client.createRequest({
106
- method: "POST",
107
- path: "/tilesets/v1/:tilesetId",
108
- params: r(t, ["tilesetId"]),
109
- body: r(t, ["recipe", "name", "private", "description"])
110
- });
111
- };
112
- s.publishTileset = function(t) {
113
- return e.assertShape({
114
- tilesetId: e.required(e.string)
115
- })(t), this.client.createRequest({
116
- method: "POST",
117
- path: "/tilesets/v1/:tilesetId/publish",
118
- params: r(t, ["tilesetId"])
119
- });
120
- };
121
- s.updateTileset = function(t) {
122
- return e.assertShape({
123
- tilesetId: e.required(e.string),
124
- name: e.string,
125
- description: e.string,
126
- private: e.boolean,
127
- attribution: e.arrayOf(
128
- e.strictShape({
129
- text: e.required(e.string),
130
- link: e.required(e.string)
131
- })
132
- )
133
- })(t), this.client.createRequest({
134
- method: "PATCH",
135
- path: "/tilesets/v1/:tilesetId",
136
- params: r(t, ["tilesetId"]),
137
- body: t ? r(t, ["name", "description", "private", "attribution"]) : {}
138
- });
139
- };
140
- s.tilesetStatus = function(t) {
141
- return e.assertShape({
142
- tilesetId: e.required(e.string)
143
- })(t), this.client.createRequest({
144
- method: "GET",
145
- path: "/tilesets/v1/:tilesetId/status",
146
- params: r(t, ["tilesetId"])
147
- });
148
- };
149
- s.tilesetJob = function(t) {
150
- return e.assertShape({
151
- tilesetId: e.required(e.string),
152
- jobId: e.required(e.string)
153
- })(t), this.client.createRequest({
154
- method: "GET",
155
- path: "/tilesets/v1/:tilesetId/jobs/:jobId",
156
- params: r(t, ["tilesetId", "jobId"])
157
- });
158
- };
159
- s.listTilesetJobs = function(t) {
160
- return e.assertShape({
161
- tilesetId: e.required(e.string),
162
- stage: e.oneOf("processing", "queued", "success", "failed"),
163
- limit: e.range([1, 500]),
164
- start: e.string
165
- })(t), this.client.createRequest({
166
- method: "GET",
167
- path: "/tilesets/v1/:tilesetId/jobs",
168
- params: r(t, ["tilesetId"]),
169
- query: r(t, ["stage", "limit", "start"])
170
- });
171
- };
172
- s.getTilesetsQueue = function() {
173
- return this.client.createRequest({
174
- method: "PUT",
175
- path: "/tilesets/v1/queue"
176
- });
177
- };
178
- s.validateRecipe = function(t) {
179
- return e.assertShape({
180
- recipe: e.required(e.plainObject)
181
- })(t), this.client.createRequest({
182
- method: "PUT",
183
- path: "/tilesets/v1/validateRecipe",
184
- body: t.recipe
185
- });
186
- };
187
- s.getRecipe = function(t) {
188
- return e.assertShape({
189
- tilesetId: e.required(e.string)
190
- })(t), this.client.createRequest({
191
- method: "GET",
192
- path: "/tilesets/v1/:tilesetId/recipe",
193
- params: r(t, ["tilesetId"])
194
- });
195
- };
196
- s.updateRecipe = function(t) {
197
- return e.assertShape({
198
- tilesetId: e.required(e.string),
199
- recipe: e.required(e.plainObject)
200
- })(t), this.client.createRequest({
201
- method: "PATCH",
202
- path: "/tilesets/v1/:tilesetId/recipe",
203
- params: r(t, ["tilesetId"]),
204
- body: t.recipe
205
- });
206
- };
207
- var u = I(s);
208
- const q = /* @__PURE__ */ p(u), T = /* @__PURE__ */ m({
209
- __proto__: null,
210
- default: q
211
- }, [u]);
212
- export {
213
- T as t
214
- };
@@ -1,111 +0,0 @@
1
- import { g as i } from "../_commonjsHelpers.js";
2
- import { c as u, v as c, p as w } from "./create-service-factory.js";
3
- function h(e, t) {
4
- for (var l = 0; l < t.length; l++) {
5
- const a = t[l];
6
- if (typeof a != "string" && !Array.isArray(a)) {
7
- for (const o in a)
8
- if (o !== "default" && !(o in e)) {
9
- const d = Object.getOwnPropertyDescriptor(a, o);
10
- d && Object.defineProperty(e, o, d.get ? d : {
11
- enumerable: !0,
12
- get: () => a[o]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var r = c, n = w, k = u, s = {};
20
- s.listTokens = function() {
21
- return this.client.createRequest({
22
- method: "GET",
23
- path: "/tokens/v2/:ownerId"
24
- });
25
- };
26
- s.createToken = function(e) {
27
- e = e || {}, r.assertShape({
28
- note: r.string,
29
- scopes: r.arrayOf(r.string),
30
- resources: r.arrayOf(r.string),
31
- allowedUrls: r.arrayOf(r.string),
32
- allowedApplications: r.arrayOf(
33
- r.shape({
34
- bundleId: r.string,
35
- platform: r.string
36
- })
37
- )
38
- })(e);
39
- var t = {};
40
- return t.scopes = e.scopes || [], e.note !== void 0 && (t.note = e.note), e.resources && (t.resources = e.resources), e.allowedUrls && (t.allowedUrls = e.allowedUrls), e.allowedApplications && (t.allowedApplications = e.allowedApplications), this.client.createRequest({
41
- method: "POST",
42
- path: "/tokens/v2/:ownerId",
43
- params: n(e, ["ownerId"]),
44
- body: t
45
- });
46
- };
47
- s.createTemporaryToken = function(e) {
48
- return r.assertShape({
49
- expires: r.required(r.date),
50
- scopes: r.required(r.arrayOf(r.string))
51
- })(e), this.client.createRequest({
52
- method: "POST",
53
- path: "/tokens/v2/:ownerId",
54
- params: n(e, ["ownerId"]),
55
- body: {
56
- expires: new Date(e.expires).toISOString(),
57
- scopes: e.scopes
58
- }
59
- });
60
- };
61
- s.updateToken = function(e) {
62
- r.assertShape({
63
- tokenId: r.required(r.string),
64
- note: r.string,
65
- scopes: r.arrayOf(r.string),
66
- resources: r.arrayOf(r.string),
67
- allowedUrls: r.arrayOf(r.string),
68
- allowedApplications: r.arrayOf(
69
- r.shape({
70
- bundleId: r.string,
71
- platform: r.string
72
- })
73
- )
74
- })(e);
75
- var t = {};
76
- return e.scopes && (t.scopes = e.scopes), e.note !== void 0 && (t.note = e.note), (e.resources || e.resources === null) && (t.resources = e.resources), (e.allowedUrls || e.allowedUrls === null) && (t.allowedUrls = e.allowedUrls), (e.allowedApplications || e.allowedApplications === null) && (t.allowedApplications = e.allowedApplications), this.client.createRequest({
77
- method: "PATCH",
78
- path: "/tokens/v2/:ownerId/:tokenId",
79
- params: n(e, ["ownerId", "tokenId"]),
80
- body: t
81
- });
82
- };
83
- s.getToken = function() {
84
- return this.client.createRequest({
85
- method: "GET",
86
- path: "/tokens/v2"
87
- });
88
- };
89
- s.deleteToken = function(e) {
90
- return r.assertShape({
91
- tokenId: r.required(r.string)
92
- })(e), this.client.createRequest({
93
- method: "DELETE",
94
- path: "/tokens/v2/:ownerId/:tokenId",
95
- params: n(e, ["ownerId", "tokenId"])
96
- });
97
- };
98
- s.listScopes = function() {
99
- return this.client.createRequest({
100
- method: "GET",
101
- path: "/scopes/v1/:ownerId"
102
- });
103
- };
104
- var p = k(s);
105
- const y = /* @__PURE__ */ i(p), I = /* @__PURE__ */ h({
106
- __proto__: null,
107
- default: y
108
- }, [p]);
109
- export {
110
- I as t
111
- };
@@ -1,77 +0,0 @@
1
- import { g as i } from "../_commonjsHelpers.js";
2
- import { c as n, v as u, p as m } from "./create-service-factory.js";
3
- function c(e, l) {
4
- for (var o = 0; o < l.length; o++) {
5
- const a = l[o];
6
- if (typeof a != "string" && !Array.isArray(a)) {
7
- for (const s in a)
8
- if (s !== "default" && !(s in e)) {
9
- const d = Object.getOwnPropertyDescriptor(a, s);
10
- d && Object.defineProperty(e, s, d.get ? d : {
11
- enumerable: !0,
12
- get: () => a[s]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var t = u, h = n, v = m, r = {};
20
- r.listUploads = function(e) {
21
- return t.assertShape({
22
- reverse: t.boolean
23
- })(e), this.client.createRequest({
24
- method: "GET",
25
- path: "/uploads/v1/:ownerId",
26
- query: e
27
- });
28
- };
29
- r.createUploadCredentials = function() {
30
- return this.client.createRequest({
31
- method: "POST",
32
- path: "/uploads/v1/:ownerId/credentials"
33
- });
34
- };
35
- r.createUpload = function(e) {
36
- if (t.assertShape({
37
- url: t.required(t.string),
38
- tileset: t.string,
39
- name: t.string,
40
- mapId: t.string,
41
- tilesetName: t.string
42
- })(e), !e.tileset && !e.mapId)
43
- throw new Error("tileset or mapId must be defined");
44
- if (!e.name && !e.tilesetName)
45
- throw new Error("name or tilesetName must be defined");
46
- return e.mapId && (e.tileset = e.mapId), e.tilesetName && (e.name = e.tilesetName), this.client.createRequest({
47
- method: "POST",
48
- path: "/uploads/v1/:ownerId",
49
- body: v(e, ["tileset", "url", "name"])
50
- });
51
- };
52
- r.getUpload = function(e) {
53
- return t.assertShape({
54
- uploadId: t.required(t.string)
55
- })(e), this.client.createRequest({
56
- method: "GET",
57
- path: "/uploads/v1/:ownerId/:uploadId",
58
- params: e
59
- });
60
- };
61
- r.deleteUpload = function(e) {
62
- return t.assertShape({
63
- uploadId: t.required(t.string)
64
- })(e), this.client.createRequest({
65
- method: "DELETE",
66
- path: "/uploads/v1/:ownerId/:uploadId",
67
- params: e
68
- });
69
- };
70
- var p = h(r);
71
- const I = /* @__PURE__ */ i(p), b = /* @__PURE__ */ c({
72
- __proto__: null,
73
- default: I
74
- }, [p]);
75
- export {
76
- b as u
77
- };
package/lib/mapbox-sdk.js DELETED
@@ -1,26 +0,0 @@
1
- import { g as f } from "./_commonjsHelpers.js";
2
- import { b as s } from "./mapbox-sdk/browser-client.js";
3
- function c(t, a) {
4
- for (var o = 0; o < a.length; o++) {
5
- const e = a[o];
6
- if (typeof e != "string" && !Array.isArray(e)) {
7
- for (const r in e)
8
- if (r !== "default" && !(r in t)) {
9
- const n = Object.getOwnPropertyDescriptor(e, r);
10
- n && Object.defineProperty(t, r, n.get ? n : {
11
- enumerable: !0,
12
- get: () => e[r]
13
- });
14
- }
15
- }
16
- }
17
- return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
18
- }
19
- var l = s, i = l;
20
- const p = /* @__PURE__ */ f(i), b = /* @__PURE__ */ c({
21
- __proto__: null,
22
- default: p
23
- }, [i]);
24
- export {
25
- b as i
26
- };