@plasmicpkgs/plasmic-query 0.0.106 → 0.0.107
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/dist/plasmic-query.cjs.development.js +107 -208
- package/dist/plasmic-query.cjs.development.js.map +1 -1
- package/dist/plasmic-query.cjs.production.min.js +1 -1
- package/dist/plasmic-query.cjs.production.min.js.map +1 -1
- package/dist/plasmic-query.esm.js +107 -208
- package/dist/plasmic-query.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -11,64 +11,52 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
14
|
if (info.done) {
|
|
16
15
|
resolve(value);
|
|
17
16
|
} else {
|
|
18
17
|
Promise.resolve(value).then(_next, _throw);
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
|
|
22
20
|
function _asyncToGenerator(fn) {
|
|
23
21
|
return function () {
|
|
24
22
|
var self = this,
|
|
25
|
-
|
|
23
|
+
args = arguments;
|
|
26
24
|
return new Promise(function (resolve, reject) {
|
|
27
25
|
var gen = fn.apply(self, args);
|
|
28
|
-
|
|
29
26
|
function _next(value) {
|
|
30
27
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
31
28
|
}
|
|
32
|
-
|
|
33
29
|
function _throw(err) {
|
|
34
30
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35
31
|
}
|
|
36
|
-
|
|
37
32
|
_next(undefined);
|
|
38
33
|
});
|
|
39
34
|
};
|
|
40
35
|
}
|
|
41
|
-
|
|
42
36
|
function _extends() {
|
|
43
|
-
_extends = Object.assign
|
|
37
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
44
38
|
for (var i = 1; i < arguments.length; i++) {
|
|
45
39
|
var source = arguments[i];
|
|
46
|
-
|
|
47
40
|
for (var key in source) {
|
|
48
41
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
49
42
|
target[key] = source[key];
|
|
50
43
|
}
|
|
51
44
|
}
|
|
52
45
|
}
|
|
53
|
-
|
|
54
46
|
return target;
|
|
55
47
|
};
|
|
56
|
-
|
|
57
48
|
return _extends.apply(this, arguments);
|
|
58
49
|
}
|
|
59
|
-
|
|
60
50
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
61
51
|
if (source == null) return {};
|
|
62
52
|
var target = {};
|
|
63
53
|
var sourceKeys = Object.keys(source);
|
|
64
54
|
var key, i;
|
|
65
|
-
|
|
66
55
|
for (i = 0; i < sourceKeys.length; i++) {
|
|
67
56
|
key = sourceKeys[i];
|
|
68
57
|
if (excluded.indexOf(key) >= 0) continue;
|
|
69
58
|
target[key] = source[key];
|
|
70
59
|
}
|
|
71
|
-
|
|
72
60
|
return target;
|
|
73
61
|
}
|
|
74
62
|
|
|
@@ -83,17 +71,16 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
83
71
|
* This source code is licensed under the MIT license found in the
|
|
84
72
|
* LICENSE file in the root directory of this source tree.
|
|
85
73
|
*/
|
|
74
|
+
|
|
86
75
|
var runtime = function (exports) {
|
|
87
76
|
|
|
88
77
|
var Op = Object.prototype;
|
|
89
78
|
var hasOwn = Op.hasOwnProperty;
|
|
90
79
|
var undefined$1; // More compressible than void 0.
|
|
91
|
-
|
|
92
80
|
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
93
81
|
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
94
82
|
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
95
83
|
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
96
|
-
|
|
97
84
|
function define(obj, key, value) {
|
|
98
85
|
Object.defineProperty(obj, key, {
|
|
99
86
|
value: value,
|
|
@@ -103,7 +90,6 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
103
90
|
});
|
|
104
91
|
return obj[key];
|
|
105
92
|
}
|
|
106
|
-
|
|
107
93
|
try {
|
|
108
94
|
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
109
95
|
define({}, "");
|
|
@@ -112,19 +98,20 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
112
98
|
return obj[key] = value;
|
|
113
99
|
};
|
|
114
100
|
}
|
|
115
|
-
|
|
116
101
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
117
102
|
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
118
103
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
|
119
104
|
var generator = Object.create(protoGenerator.prototype);
|
|
120
|
-
var context = new Context(tryLocsList || []);
|
|
121
|
-
// .throw, and .return methods.
|
|
105
|
+
var context = new Context(tryLocsList || []);
|
|
122
106
|
|
|
107
|
+
// The ._invoke method unifies the implementations of the .next,
|
|
108
|
+
// .throw, and .return methods.
|
|
123
109
|
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
124
110
|
return generator;
|
|
125
111
|
}
|
|
112
|
+
exports.wrap = wrap;
|
|
126
113
|
|
|
127
|
-
|
|
114
|
+
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
128
115
|
// record like context.tryEntries[i].completion. This interface could
|
|
129
116
|
// have been (and was previously) designed to take a closure to be
|
|
130
117
|
// invoked without arguments, but in all the cases we care about we
|
|
@@ -134,7 +121,6 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
134
121
|
// in every case, so we don't have to touch the arguments object. The
|
|
135
122
|
// only additional allocation required is the completion record, which
|
|
136
123
|
// has a stable shape and so hopefully should be cheap to allocate.
|
|
137
|
-
|
|
138
124
|
function tryCatch(fn, obj, arg) {
|
|
139
125
|
try {
|
|
140
126
|
return {
|
|
@@ -148,46 +134,44 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
148
134
|
};
|
|
149
135
|
}
|
|
150
136
|
}
|
|
151
|
-
|
|
152
137
|
var GenStateSuspendedStart = "suspendedStart";
|
|
153
138
|
var GenStateSuspendedYield = "suspendedYield";
|
|
154
139
|
var GenStateExecuting = "executing";
|
|
155
|
-
var GenStateCompleted = "completed";
|
|
140
|
+
var GenStateCompleted = "completed";
|
|
141
|
+
|
|
142
|
+
// Returning this object from the innerFn has the same effect as
|
|
156
143
|
// breaking out of the dispatch switch statement.
|
|
144
|
+
var ContinueSentinel = {};
|
|
157
145
|
|
|
158
|
-
|
|
146
|
+
// Dummy constructor functions that we use as the .constructor and
|
|
159
147
|
// .constructor.prototype properties for functions that return Generator
|
|
160
148
|
// objects. For full spec compliance, you may wish to configure your
|
|
161
149
|
// minifier not to mangle the names of these two functions.
|
|
162
|
-
|
|
163
150
|
function Generator() {}
|
|
164
|
-
|
|
165
151
|
function GeneratorFunction() {}
|
|
152
|
+
function GeneratorFunctionPrototype() {}
|
|
166
153
|
|
|
167
|
-
|
|
154
|
+
// This is a polyfill for %IteratorPrototype% for environments that
|
|
168
155
|
// don't natively support it.
|
|
169
|
-
|
|
170
|
-
|
|
171
156
|
var IteratorPrototype = {};
|
|
172
157
|
define(IteratorPrototype, iteratorSymbol, function () {
|
|
173
158
|
return this;
|
|
174
159
|
});
|
|
175
160
|
var getProto = Object.getPrototypeOf;
|
|
176
161
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
177
|
-
|
|
178
162
|
if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
|
179
163
|
// This environment has a native %IteratorPrototype%; use it instead
|
|
180
164
|
// of the polyfill.
|
|
181
165
|
IteratorPrototype = NativeIteratorPrototype;
|
|
182
166
|
}
|
|
183
|
-
|
|
184
167
|
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
185
168
|
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
186
169
|
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
187
170
|
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
188
|
-
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction");
|
|
189
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
171
|
+
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction");
|
|
190
172
|
|
|
173
|
+
// Helper for defining the .next, .throw, and .return methods of the
|
|
174
|
+
// Iterator interface in terms of a single ._invoke method.
|
|
191
175
|
function defineIteratorMethods(prototype) {
|
|
192
176
|
["next", "throw", "return"].forEach(function (method) {
|
|
193
177
|
define(prototype, method, function (arg) {
|
|
@@ -195,14 +179,13 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
195
179
|
});
|
|
196
180
|
});
|
|
197
181
|
}
|
|
198
|
-
|
|
199
182
|
exports.isGeneratorFunction = function (genFun) {
|
|
200
183
|
var ctor = typeof genFun === "function" && genFun.constructor;
|
|
201
|
-
return ctor ? ctor === GeneratorFunction ||
|
|
184
|
+
return ctor ? ctor === GeneratorFunction ||
|
|
185
|
+
// For the native GeneratorFunction constructor, the best we can
|
|
202
186
|
// do is to check its .name property.
|
|
203
187
|
(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
|
204
188
|
};
|
|
205
|
-
|
|
206
189
|
exports.mark = function (genFun) {
|
|
207
190
|
if (Object.setPrototypeOf) {
|
|
208
191
|
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
|
@@ -210,31 +193,27 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
210
193
|
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
211
194
|
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
212
195
|
}
|
|
213
|
-
|
|
214
196
|
genFun.prototype = Object.create(Gp);
|
|
215
197
|
return genFun;
|
|
216
|
-
};
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
// Within the body of any async function, `await x` is transformed to
|
|
217
201
|
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
218
202
|
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
219
203
|
// meant to be awaited.
|
|
220
|
-
|
|
221
|
-
|
|
222
204
|
exports.awrap = function (arg) {
|
|
223
205
|
return {
|
|
224
206
|
__await: arg
|
|
225
207
|
};
|
|
226
208
|
};
|
|
227
|
-
|
|
228
209
|
function AsyncIterator(generator, PromiseImpl) {
|
|
229
210
|
function invoke(method, arg, resolve, reject) {
|
|
230
211
|
var record = tryCatch(generator[method], generator, arg);
|
|
231
|
-
|
|
232
212
|
if (record.type === "throw") {
|
|
233
213
|
reject(record.arg);
|
|
234
214
|
} else {
|
|
235
215
|
var result = record.arg;
|
|
236
216
|
var value = result.value;
|
|
237
|
-
|
|
238
217
|
if (value && typeof value === "object" && hasOwn.call(value, "__await")) {
|
|
239
218
|
return PromiseImpl.resolve(value.__await).then(function (value) {
|
|
240
219
|
invoke("next", value, resolve, reject);
|
|
@@ -242,7 +221,6 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
242
221
|
invoke("throw", err, resolve, reject);
|
|
243
222
|
});
|
|
244
223
|
}
|
|
245
|
-
|
|
246
224
|
return PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
247
225
|
// When a yielded Promise is resolved, its final value becomes
|
|
248
226
|
// the .value of the Promise<{value,done}> result for the
|
|
@@ -256,17 +234,15 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
256
234
|
});
|
|
257
235
|
}
|
|
258
236
|
}
|
|
259
|
-
|
|
260
237
|
var previousPromise;
|
|
261
|
-
|
|
262
238
|
function enqueue(method, arg) {
|
|
263
239
|
function callInvokeWithMethodAndArg() {
|
|
264
240
|
return new PromiseImpl(function (resolve, reject) {
|
|
265
241
|
invoke(method, arg, resolve, reject);
|
|
266
242
|
});
|
|
267
243
|
}
|
|
268
|
-
|
|
269
|
-
|
|
244
|
+
return previousPromise =
|
|
245
|
+
// If enqueue has been called before, then we want to wait until
|
|
270
246
|
// all previous Promises have been resolved before calling invoke,
|
|
271
247
|
// so that results are always delivered in the correct order. If
|
|
272
248
|
// enqueue has not been called before, then it is important to
|
|
@@ -278,24 +254,25 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
278
254
|
// execute code before the first await. Since we implement simple
|
|
279
255
|
// async functions in terms of async generators, it is especially
|
|
280
256
|
// important to get this right, even though it requires care.
|
|
281
|
-
previousPromise ? previousPromise.then(callInvokeWithMethodAndArg,
|
|
257
|
+
previousPromise ? previousPromise.then(callInvokeWithMethodAndArg,
|
|
258
|
+
// Avoid propagating failures to Promises returned by later
|
|
282
259
|
// invocations of the iterator.
|
|
283
260
|
callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
284
|
-
}
|
|
285
|
-
// .throw, and .return (see defineIteratorMethods).
|
|
286
|
-
|
|
261
|
+
}
|
|
287
262
|
|
|
263
|
+
// Define the unified helper method that is used to implement .next,
|
|
264
|
+
// .throw, and .return (see defineIteratorMethods).
|
|
288
265
|
this._invoke = enqueue;
|
|
289
266
|
}
|
|
290
|
-
|
|
291
267
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
292
268
|
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
293
269
|
return this;
|
|
294
270
|
});
|
|
295
|
-
exports.AsyncIterator = AsyncIterator;
|
|
271
|
+
exports.AsyncIterator = AsyncIterator;
|
|
272
|
+
|
|
273
|
+
// Note that simple async functions are implemented on top of
|
|
296
274
|
// AsyncIterator objects; they just return a Promise for the value of
|
|
297
275
|
// the final result produced by the iterator.
|
|
298
|
-
|
|
299
276
|
exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
300
277
|
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
301
278
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
@@ -304,39 +281,32 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
304
281
|
return result.done ? result.value : iter.next();
|
|
305
282
|
});
|
|
306
283
|
};
|
|
307
|
-
|
|
308
284
|
function makeInvokeMethod(innerFn, self, context) {
|
|
309
285
|
var state = GenStateSuspendedStart;
|
|
310
286
|
return function invoke(method, arg) {
|
|
311
287
|
if (state === GenStateExecuting) {
|
|
312
288
|
throw new Error("Generator is already running");
|
|
313
289
|
}
|
|
314
|
-
|
|
315
290
|
if (state === GenStateCompleted) {
|
|
316
291
|
if (method === "throw") {
|
|
317
292
|
throw arg;
|
|
318
|
-
}
|
|
319
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
320
|
-
|
|
293
|
+
}
|
|
321
294
|
|
|
295
|
+
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
296
|
+
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
322
297
|
return doneResult();
|
|
323
298
|
}
|
|
324
|
-
|
|
325
299
|
context.method = method;
|
|
326
300
|
context.arg = arg;
|
|
327
|
-
|
|
328
301
|
while (true) {
|
|
329
302
|
var delegate = context.delegate;
|
|
330
|
-
|
|
331
303
|
if (delegate) {
|
|
332
304
|
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
333
|
-
|
|
334
305
|
if (delegateResult) {
|
|
335
306
|
if (delegateResult === ContinueSentinel) continue;
|
|
336
307
|
return delegateResult;
|
|
337
308
|
}
|
|
338
309
|
}
|
|
339
|
-
|
|
340
310
|
if (context.method === "next") {
|
|
341
311
|
// Setting context._sent for legacy support of Babel's
|
|
342
312
|
// function.sent implementation.
|
|
@@ -346,51 +316,44 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
346
316
|
state = GenStateCompleted;
|
|
347
317
|
throw context.arg;
|
|
348
318
|
}
|
|
349
|
-
|
|
350
319
|
context.dispatchException(context.arg);
|
|
351
320
|
} else if (context.method === "return") {
|
|
352
321
|
context.abrupt("return", context.arg);
|
|
353
322
|
}
|
|
354
|
-
|
|
355
323
|
state = GenStateExecuting;
|
|
356
324
|
var record = tryCatch(innerFn, self, context);
|
|
357
|
-
|
|
358
325
|
if (record.type === "normal") {
|
|
359
326
|
// If an exception is thrown from innerFn, we leave state ===
|
|
360
327
|
// GenStateExecuting and loop back for another invocation.
|
|
361
328
|
state = context.done ? GenStateCompleted : GenStateSuspendedYield;
|
|
362
|
-
|
|
363
329
|
if (record.arg === ContinueSentinel) {
|
|
364
330
|
continue;
|
|
365
331
|
}
|
|
366
|
-
|
|
367
332
|
return {
|
|
368
333
|
value: record.arg,
|
|
369
334
|
done: context.done
|
|
370
335
|
};
|
|
371
336
|
} else if (record.type === "throw") {
|
|
372
|
-
state = GenStateCompleted;
|
|
337
|
+
state = GenStateCompleted;
|
|
338
|
+
// Dispatch the exception by looping back around to the
|
|
373
339
|
// context.dispatchException(context.arg) call above.
|
|
374
|
-
|
|
375
340
|
context.method = "throw";
|
|
376
341
|
context.arg = record.arg;
|
|
377
342
|
}
|
|
378
343
|
}
|
|
379
344
|
};
|
|
380
|
-
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
// Call delegate.iterator[context.method](context.arg) and handle the
|
|
381
348
|
// result, either by returning a { value, done } result from the
|
|
382
349
|
// delegate iterator, or by modifying context.method and context.arg,
|
|
383
350
|
// setting context.delegate to null, and returning the ContinueSentinel.
|
|
384
|
-
|
|
385
|
-
|
|
386
351
|
function maybeInvokeDelegate(delegate, context) {
|
|
387
352
|
var method = delegate.iterator[context.method];
|
|
388
|
-
|
|
389
353
|
if (method === undefined$1) {
|
|
390
354
|
// A .throw or .return when the delegate iterator has no .throw
|
|
391
355
|
// method always terminates the yield* loop.
|
|
392
356
|
context.delegate = null;
|
|
393
|
-
|
|
394
357
|
if (context.method === "throw") {
|
|
395
358
|
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
396
359
|
if (delegate.iterator["return"]) {
|
|
@@ -399,51 +362,45 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
399
362
|
context.method = "return";
|
|
400
363
|
context.arg = undefined$1;
|
|
401
364
|
maybeInvokeDelegate(delegate, context);
|
|
402
|
-
|
|
403
365
|
if (context.method === "throw") {
|
|
404
366
|
// If maybeInvokeDelegate(context) changed context.method from
|
|
405
367
|
// "return" to "throw", let that override the TypeError below.
|
|
406
368
|
return ContinueSentinel;
|
|
407
369
|
}
|
|
408
370
|
}
|
|
409
|
-
|
|
410
371
|
context.method = "throw";
|
|
411
372
|
context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
412
373
|
}
|
|
413
|
-
|
|
414
374
|
return ContinueSentinel;
|
|
415
375
|
}
|
|
416
|
-
|
|
417
376
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
418
|
-
|
|
419
377
|
if (record.type === "throw") {
|
|
420
378
|
context.method = "throw";
|
|
421
379
|
context.arg = record.arg;
|
|
422
380
|
context.delegate = null;
|
|
423
381
|
return ContinueSentinel;
|
|
424
382
|
}
|
|
425
|
-
|
|
426
383
|
var info = record.arg;
|
|
427
|
-
|
|
428
384
|
if (!info) {
|
|
429
385
|
context.method = "throw";
|
|
430
386
|
context.arg = new TypeError("iterator result is not an object");
|
|
431
387
|
context.delegate = null;
|
|
432
388
|
return ContinueSentinel;
|
|
433
389
|
}
|
|
434
|
-
|
|
435
390
|
if (info.done) {
|
|
436
391
|
// Assign the result of the finished delegate to the temporary
|
|
437
392
|
// variable specified by delegate.resultName (see delegateYield).
|
|
438
|
-
context[delegate.resultName] = info.value;
|
|
393
|
+
context[delegate.resultName] = info.value;
|
|
394
|
+
|
|
395
|
+
// Resume execution at the desired location (see delegateYield).
|
|
396
|
+
context.next = delegate.nextLoc;
|
|
439
397
|
|
|
440
|
-
|
|
398
|
+
// If context.method was "throw" but the delegate handled the
|
|
441
399
|
// exception, let the outer generator proceed normally. If
|
|
442
400
|
// context.method was "next", forget context.arg since it has been
|
|
443
401
|
// "consumed" by the delegate iterator. If context.method was
|
|
444
402
|
// "return", allow the original .return call to continue in the
|
|
445
403
|
// outer generator.
|
|
446
|
-
|
|
447
404
|
if (context.method !== "return") {
|
|
448
405
|
context.method = "next";
|
|
449
406
|
context.arg = undefined$1;
|
|
@@ -451,54 +408,49 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
451
408
|
} else {
|
|
452
409
|
// Re-yield the result returned by the delegate method.
|
|
453
410
|
return info;
|
|
454
|
-
}
|
|
455
|
-
// the outer generator.
|
|
456
|
-
|
|
411
|
+
}
|
|
457
412
|
|
|
413
|
+
// The delegate iterator is finished, so forget it and continue with
|
|
414
|
+
// the outer generator.
|
|
458
415
|
context.delegate = null;
|
|
459
416
|
return ContinueSentinel;
|
|
460
|
-
}
|
|
461
|
-
// unified ._invoke helper method.
|
|
462
|
-
|
|
417
|
+
}
|
|
463
418
|
|
|
419
|
+
// Define Generator.prototype.{next,throw,return} in terms of the
|
|
420
|
+
// unified ._invoke helper method.
|
|
464
421
|
defineIteratorMethods(Gp);
|
|
465
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
422
|
+
define(Gp, toStringTagSymbol, "Generator");
|
|
423
|
+
|
|
424
|
+
// A Generator should always return itself as the iterator object when the
|
|
466
425
|
// @@iterator function is called on it. Some browsers' implementations of the
|
|
467
426
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
468
427
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
469
428
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
470
|
-
|
|
471
429
|
define(Gp, iteratorSymbol, function () {
|
|
472
430
|
return this;
|
|
473
431
|
});
|
|
474
432
|
define(Gp, "toString", function () {
|
|
475
433
|
return "[object Generator]";
|
|
476
434
|
});
|
|
477
|
-
|
|
478
435
|
function pushTryEntry(locs) {
|
|
479
436
|
var entry = {
|
|
480
437
|
tryLoc: locs[0]
|
|
481
438
|
};
|
|
482
|
-
|
|
483
439
|
if (1 in locs) {
|
|
484
440
|
entry.catchLoc = locs[1];
|
|
485
441
|
}
|
|
486
|
-
|
|
487
442
|
if (2 in locs) {
|
|
488
443
|
entry.finallyLoc = locs[2];
|
|
489
444
|
entry.afterLoc = locs[3];
|
|
490
445
|
}
|
|
491
|
-
|
|
492
446
|
this.tryEntries.push(entry);
|
|
493
447
|
}
|
|
494
|
-
|
|
495
448
|
function resetTryEntry(entry) {
|
|
496
449
|
var record = entry.completion || {};
|
|
497
450
|
record.type = "normal";
|
|
498
451
|
delete record.arg;
|
|
499
452
|
entry.completion = record;
|
|
500
453
|
}
|
|
501
|
-
|
|
502
454
|
function Context(tryLocsList) {
|
|
503
455
|
// The root entry object (effectively a try statement without a catch
|
|
504
456
|
// or a finally block) gives us a place to store values thrown from
|
|
@@ -509,97 +461,84 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
509
461
|
tryLocsList.forEach(pushTryEntry, this);
|
|
510
462
|
this.reset(true);
|
|
511
463
|
}
|
|
512
|
-
|
|
513
464
|
exports.keys = function (object) {
|
|
514
465
|
var keys = [];
|
|
515
|
-
|
|
516
466
|
for (var key in object) {
|
|
517
467
|
keys.push(key);
|
|
518
468
|
}
|
|
469
|
+
keys.reverse();
|
|
519
470
|
|
|
520
|
-
|
|
471
|
+
// Rather than returning an object with a next method, we keep
|
|
521
472
|
// things simple and return the next function itself.
|
|
522
|
-
|
|
523
473
|
return function next() {
|
|
524
474
|
while (keys.length) {
|
|
525
475
|
var key = keys.pop();
|
|
526
|
-
|
|
527
476
|
if (key in object) {
|
|
528
477
|
next.value = key;
|
|
529
478
|
next.done = false;
|
|
530
479
|
return next;
|
|
531
480
|
}
|
|
532
|
-
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
// To avoid creating an additional object, we just hang the .value
|
|
533
484
|
// and .done properties off the next function object itself. This
|
|
534
485
|
// also ensures that the minifier will not anonymize the function.
|
|
535
|
-
|
|
536
|
-
|
|
537
486
|
next.done = true;
|
|
538
487
|
return next;
|
|
539
488
|
};
|
|
540
489
|
};
|
|
541
|
-
|
|
542
490
|
function values(iterable) {
|
|
543
491
|
if (iterable) {
|
|
544
492
|
var iteratorMethod = iterable[iteratorSymbol];
|
|
545
|
-
|
|
546
493
|
if (iteratorMethod) {
|
|
547
494
|
return iteratorMethod.call(iterable);
|
|
548
495
|
}
|
|
549
|
-
|
|
550
496
|
if (typeof iterable.next === "function") {
|
|
551
497
|
return iterable;
|
|
552
498
|
}
|
|
553
|
-
|
|
554
499
|
if (!isNaN(iterable.length)) {
|
|
555
500
|
var i = -1,
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
501
|
+
next = function next() {
|
|
502
|
+
while (++i < iterable.length) {
|
|
503
|
+
if (hasOwn.call(iterable, i)) {
|
|
504
|
+
next.value = iterable[i];
|
|
505
|
+
next.done = false;
|
|
506
|
+
return next;
|
|
507
|
+
}
|
|
562
508
|
}
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
return next;
|
|
568
|
-
};
|
|
569
|
-
|
|
509
|
+
next.value = undefined$1;
|
|
510
|
+
next.done = true;
|
|
511
|
+
return next;
|
|
512
|
+
};
|
|
570
513
|
return next.next = next;
|
|
571
514
|
}
|
|
572
|
-
}
|
|
573
|
-
|
|
515
|
+
}
|
|
574
516
|
|
|
517
|
+
// Return an iterator with no values.
|
|
575
518
|
return {
|
|
576
519
|
next: doneResult
|
|
577
520
|
};
|
|
578
521
|
}
|
|
579
|
-
|
|
580
522
|
exports.values = values;
|
|
581
|
-
|
|
582
523
|
function doneResult() {
|
|
583
524
|
return {
|
|
584
525
|
value: undefined$1,
|
|
585
526
|
done: true
|
|
586
527
|
};
|
|
587
528
|
}
|
|
588
|
-
|
|
589
529
|
Context.prototype = {
|
|
590
530
|
constructor: Context,
|
|
591
531
|
reset: function reset(skipTempReset) {
|
|
592
532
|
this.prev = 0;
|
|
593
|
-
this.next = 0;
|
|
533
|
+
this.next = 0;
|
|
534
|
+
// Resetting context._sent for legacy support of Babel's
|
|
594
535
|
// function.sent implementation.
|
|
595
|
-
|
|
596
536
|
this.sent = this._sent = undefined$1;
|
|
597
537
|
this.done = false;
|
|
598
538
|
this.delegate = null;
|
|
599
539
|
this.method = "next";
|
|
600
540
|
this.arg = undefined$1;
|
|
601
541
|
this.tryEntries.forEach(resetTryEntry);
|
|
602
|
-
|
|
603
542
|
if (!skipTempReset) {
|
|
604
543
|
for (var name in this) {
|
|
605
544
|
// Not sure about the optimal order of these conditions:
|
|
@@ -613,50 +552,40 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
613
552
|
this.done = true;
|
|
614
553
|
var rootEntry = this.tryEntries[0];
|
|
615
554
|
var rootRecord = rootEntry.completion;
|
|
616
|
-
|
|
617
555
|
if (rootRecord.type === "throw") {
|
|
618
556
|
throw rootRecord.arg;
|
|
619
557
|
}
|
|
620
|
-
|
|
621
558
|
return this.rval;
|
|
622
559
|
},
|
|
623
560
|
dispatchException: function dispatchException(exception) {
|
|
624
561
|
if (this.done) {
|
|
625
562
|
throw exception;
|
|
626
563
|
}
|
|
627
|
-
|
|
628
564
|
var context = this;
|
|
629
|
-
|
|
630
565
|
function handle(loc, caught) {
|
|
631
566
|
record.type = "throw";
|
|
632
567
|
record.arg = exception;
|
|
633
568
|
context.next = loc;
|
|
634
|
-
|
|
635
569
|
if (caught) {
|
|
636
570
|
// If the dispatched exception was caught by a catch block,
|
|
637
571
|
// then let that catch block handle the exception normally.
|
|
638
572
|
context.method = "next";
|
|
639
573
|
context.arg = undefined$1;
|
|
640
574
|
}
|
|
641
|
-
|
|
642
575
|
return !!caught;
|
|
643
576
|
}
|
|
644
|
-
|
|
645
577
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
646
578
|
var entry = this.tryEntries[i];
|
|
647
579
|
var record = entry.completion;
|
|
648
|
-
|
|
649
580
|
if (entry.tryLoc === "root") {
|
|
650
581
|
// Exception thrown outside of any try block that could handle
|
|
651
582
|
// it, so set the completion value of the entire function to
|
|
652
583
|
// throw the exception.
|
|
653
584
|
return handle("end");
|
|
654
585
|
}
|
|
655
|
-
|
|
656
586
|
if (entry.tryLoc <= this.prev) {
|
|
657
587
|
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
658
588
|
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
659
|
-
|
|
660
589
|
if (hasCatch && hasFinally) {
|
|
661
590
|
if (this.prev < entry.catchLoc) {
|
|
662
591
|
return handle(entry.catchLoc, true);
|
|
@@ -680,36 +609,30 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
680
609
|
abrupt: function abrupt(type, arg) {
|
|
681
610
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
682
611
|
var entry = this.tryEntries[i];
|
|
683
|
-
|
|
684
612
|
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
685
613
|
var finallyEntry = entry;
|
|
686
614
|
break;
|
|
687
615
|
}
|
|
688
616
|
}
|
|
689
|
-
|
|
690
617
|
if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {
|
|
691
618
|
// Ignore the finally entry if control is not jumping to a
|
|
692
619
|
// location outside the try/catch block.
|
|
693
620
|
finallyEntry = null;
|
|
694
621
|
}
|
|
695
|
-
|
|
696
622
|
var record = finallyEntry ? finallyEntry.completion : {};
|
|
697
623
|
record.type = type;
|
|
698
624
|
record.arg = arg;
|
|
699
|
-
|
|
700
625
|
if (finallyEntry) {
|
|
701
626
|
this.method = "next";
|
|
702
627
|
this.next = finallyEntry.finallyLoc;
|
|
703
628
|
return ContinueSentinel;
|
|
704
629
|
}
|
|
705
|
-
|
|
706
630
|
return this.complete(record);
|
|
707
631
|
},
|
|
708
632
|
complete: function complete(record, afterLoc) {
|
|
709
633
|
if (record.type === "throw") {
|
|
710
634
|
throw record.arg;
|
|
711
635
|
}
|
|
712
|
-
|
|
713
636
|
if (record.type === "break" || record.type === "continue") {
|
|
714
637
|
this.next = record.arg;
|
|
715
638
|
} else if (record.type === "return") {
|
|
@@ -719,13 +642,11 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
719
642
|
} else if (record.type === "normal" && afterLoc) {
|
|
720
643
|
this.next = afterLoc;
|
|
721
644
|
}
|
|
722
|
-
|
|
723
645
|
return ContinueSentinel;
|
|
724
646
|
},
|
|
725
647
|
finish: function finish(finallyLoc) {
|
|
726
648
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
727
649
|
var entry = this.tryEntries[i];
|
|
728
|
-
|
|
729
650
|
if (entry.finallyLoc === finallyLoc) {
|
|
730
651
|
this.complete(entry.completion, entry.afterLoc);
|
|
731
652
|
resetTryEntry(entry);
|
|
@@ -736,21 +657,18 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
736
657
|
"catch": function _catch(tryLoc) {
|
|
737
658
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
738
659
|
var entry = this.tryEntries[i];
|
|
739
|
-
|
|
740
660
|
if (entry.tryLoc === tryLoc) {
|
|
741
661
|
var record = entry.completion;
|
|
742
|
-
|
|
743
662
|
if (record.type === "throw") {
|
|
744
663
|
var thrown = record.arg;
|
|
745
664
|
resetTryEntry(entry);
|
|
746
665
|
}
|
|
747
|
-
|
|
748
666
|
return thrown;
|
|
749
667
|
}
|
|
750
|
-
}
|
|
751
|
-
// argument that corresponds to a known catch block.
|
|
752
|
-
|
|
668
|
+
}
|
|
753
669
|
|
|
670
|
+
// The context.catch method must only be called with a location
|
|
671
|
+
// argument that corresponds to a known catch block.
|
|
754
672
|
throw new Error("illegal catch attempt");
|
|
755
673
|
},
|
|
756
674
|
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
@@ -759,27 +677,26 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
759
677
|
resultName: resultName,
|
|
760
678
|
nextLoc: nextLoc
|
|
761
679
|
};
|
|
762
|
-
|
|
763
680
|
if (this.method === "next") {
|
|
764
681
|
// Deliberately forget the last sent value so that we don't
|
|
765
682
|
// accidentally pass it on to the delegate.
|
|
766
683
|
this.arg = undefined$1;
|
|
767
684
|
}
|
|
768
|
-
|
|
769
685
|
return ContinueSentinel;
|
|
770
686
|
}
|
|
771
|
-
};
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
// Regardless of whether this script is executing as a CommonJS module
|
|
772
690
|
// or not, return the runtime object so that we can declare the variable
|
|
773
691
|
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
774
692
|
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
775
|
-
|
|
776
693
|
return exports;
|
|
777
|
-
}(
|
|
694
|
+
}(
|
|
695
|
+
// If this script is executing as a CommonJS module, use module.exports
|
|
778
696
|
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
779
697
|
// object. Either way, the resulting object will be used to initialize
|
|
780
698
|
// the regeneratorRuntime variable at the top of this file.
|
|
781
699
|
module.exports );
|
|
782
|
-
|
|
783
700
|
try {
|
|
784
701
|
regeneratorRuntime = runtime;
|
|
785
702
|
} catch (accidentalStrictMode) {
|
|
@@ -837,16 +754,15 @@ var genericFetcherPropsMeta = {
|
|
|
837
754
|
};
|
|
838
755
|
function GenericFetcherShell(_ref) {
|
|
839
756
|
var result = _ref.result,
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
757
|
+
children = _ref.children,
|
|
758
|
+
loadingDisplay = _ref.loadingDisplay,
|
|
759
|
+
previewSpinner = _ref.previewSpinner,
|
|
760
|
+
errorDisplay = _ref.errorDisplay,
|
|
761
|
+
previewErrorDisplay = _ref.previewErrorDisplay,
|
|
762
|
+
dataName = _ref.dataName,
|
|
763
|
+
noLayout = _ref.noLayout,
|
|
764
|
+
className = _ref.className;
|
|
848
765
|
var inEditor = !!usePlasmicCanvasContext();
|
|
849
|
-
|
|
850
766
|
if (inEditor && previewSpinner || !("error" in result) && !("data" in result)) {
|
|
851
767
|
return React.createElement(React.Fragment, null, loadingDisplay != null ? loadingDisplay : null);
|
|
852
768
|
} else if (inEditor && previewErrorDisplay || "error" in result) {
|
|
@@ -864,11 +780,9 @@ function GenericFetcherShell(_ref) {
|
|
|
864
780
|
/**
|
|
865
781
|
* Tries to return the JSON response, or else returns an object with a text key containing the response body text.
|
|
866
782
|
*/
|
|
867
|
-
|
|
868
783
|
function performFetch(_x) {
|
|
869
784
|
return _performFetch.apply(this, arguments);
|
|
870
785
|
}
|
|
871
|
-
|
|
872
786
|
function _performFetch() {
|
|
873
787
|
_performFetch = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(_ref2) {
|
|
874
788
|
var url, method, body, headers, response, text;
|
|
@@ -877,14 +791,11 @@ function _performFetch() {
|
|
|
877
791
|
switch (_context.prev = _context.next) {
|
|
878
792
|
case 0:
|
|
879
793
|
url = _ref2.url, method = _ref2.method, body = _ref2.body, headers = _ref2.headers;
|
|
880
|
-
|
|
881
794
|
if (url) {
|
|
882
795
|
_context.next = 3;
|
|
883
796
|
break;
|
|
884
797
|
}
|
|
885
|
-
|
|
886
798
|
throw new Error("Please specify a URL to fetch");
|
|
887
|
-
|
|
888
799
|
case 3:
|
|
889
800
|
_context.next = 5;
|
|
890
801
|
return fetch(url, {
|
|
@@ -892,33 +803,26 @@ function _performFetch() {
|
|
|
892
803
|
headers: headers,
|
|
893
804
|
body: body === undefined ? body : typeof body === "string" ? body : JSON.stringify(body)
|
|
894
805
|
});
|
|
895
|
-
|
|
896
806
|
case 5:
|
|
897
807
|
response = _context.sent;
|
|
898
|
-
|
|
899
808
|
if (response.ok) {
|
|
900
809
|
_context.next = 8;
|
|
901
810
|
break;
|
|
902
811
|
}
|
|
903
|
-
|
|
904
812
|
throw new Error(response.statusText);
|
|
905
|
-
|
|
906
813
|
case 8:
|
|
907
814
|
_context.next = 10;
|
|
908
815
|
return response.text();
|
|
909
|
-
|
|
910
816
|
case 10:
|
|
911
817
|
text = _context.sent;
|
|
912
818
|
_context.prev = 11;
|
|
913
819
|
return _context.abrupt("return", JSON.parse(text));
|
|
914
|
-
|
|
915
820
|
case 15:
|
|
916
821
|
_context.prev = 15;
|
|
917
822
|
_context.t0 = _context["catch"](11);
|
|
918
823
|
return _context.abrupt("return", {
|
|
919
824
|
text: text
|
|
920
825
|
});
|
|
921
|
-
|
|
922
826
|
case 18:
|
|
923
827
|
case "end":
|
|
924
828
|
return _context.stop();
|
|
@@ -928,13 +832,12 @@ function _performFetch() {
|
|
|
928
832
|
}));
|
|
929
833
|
return _performFetch.apply(this, arguments);
|
|
930
834
|
}
|
|
931
|
-
|
|
932
835
|
function DataFetcher(props) {
|
|
933
836
|
var url = props.url,
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
837
|
+
method = props.method,
|
|
838
|
+
body = props.body,
|
|
839
|
+
headers = props.headers,
|
|
840
|
+
queryKey = props.queryKey;
|
|
938
841
|
var fetchProps = {
|
|
939
842
|
url: url,
|
|
940
843
|
method: method,
|
|
@@ -950,7 +853,6 @@ function DataFetcher(props) {
|
|
|
950
853
|
result: result
|
|
951
854
|
}, props));
|
|
952
855
|
}
|
|
953
|
-
|
|
954
856
|
function mkFetchProps(defaultUrl, defaultMethod) {
|
|
955
857
|
return {
|
|
956
858
|
url: {
|
|
@@ -978,7 +880,6 @@ function mkFetchProps(defaultUrl, defaultMethod) {
|
|
|
978
880
|
}
|
|
979
881
|
};
|
|
980
882
|
}
|
|
981
|
-
|
|
982
883
|
var dataFetcherMeta = {
|
|
983
884
|
name: "hostless-plasmic-query-data-fetcher",
|
|
984
885
|
displayName: "HTTP API Fetcher",
|
|
@@ -1005,10 +906,10 @@ function registerDataFetcher(loader, customDataFetcherMeta) {
|
|
|
1005
906
|
}
|
|
1006
907
|
function GraphqlFetcher(props) {
|
|
1007
908
|
var query = props.query,
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
909
|
+
url = props.url,
|
|
910
|
+
method = props.method,
|
|
911
|
+
headers = props.headers,
|
|
912
|
+
queryKey = props.queryKey;
|
|
1012
913
|
var fetchProps = {
|
|
1013
914
|
body: query,
|
|
1014
915
|
url: url,
|
|
@@ -1040,23 +941,21 @@ var graphqlFetcherMeta = {
|
|
|
1040
941
|
},
|
|
1041
942
|
endpoint: function endpoint(props) {
|
|
1042
943
|
var _props$url;
|
|
1043
|
-
|
|
1044
944
|
return (_props$url = props.url) != null ? _props$url : "";
|
|
1045
945
|
},
|
|
1046
946
|
defaultValue: {
|
|
1047
947
|
query: "{\n characters {\n results {\n name\n species\n image\n }\n }\n}\n"
|
|
1048
948
|
}
|
|
1049
949
|
}
|
|
1050
|
-
};
|
|
1051
|
-
|
|
950
|
+
};
|
|
951
|
+
// Reorder the props
|
|
1052
952
|
var _mkFetchProps$gqlMeta = /*#__PURE__*/_extends({}, /*#__PURE__*/mkFetchProps("https://rickandmortyapi.com/graphql", "POST"), gqlMetas, genericFetcherPropsMeta),
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
953
|
+
url = _mkFetchProps$gqlMeta.url,
|
|
954
|
+
query = _mkFetchProps$gqlMeta.query,
|
|
955
|
+
method = _mkFetchProps$gqlMeta.method,
|
|
956
|
+
headers = _mkFetchProps$gqlMeta.headers,
|
|
957
|
+
queryKey = _mkFetchProps$gqlMeta.queryKey,
|
|
958
|
+
rest = /*#__PURE__*/_objectWithoutPropertiesLoose(_mkFetchProps$gqlMeta, _excluded);
|
|
1060
959
|
return _extends({
|
|
1061
960
|
url: url,
|
|
1062
961
|
query: query,
|