@apps-in-toss/web-framework 2.4.0 → 2.4.1
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/prebuilt/dev.android.rn84.js +90 -103
- package/dist/prebuilt/dev.ios.rn84.js +90 -103
- package/dist/prebuilt/prod.android.rn72.js +480 -116
- package/dist/prebuilt/prod.android.rn84.js +14 -20
- package/dist/prebuilt/prod.ios.rn72.js +480 -116
- package/dist/prebuilt/prod.ios.rn84.js +14 -20
- package/package.json +8 -8
|
@@ -388,6 +388,471 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
+
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js
|
|
392
|
+
function _iterable_to_array_limit(arr, i61) {
|
|
393
|
+
var _i2 = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
394
|
+
if (_i2 == null) return;
|
|
395
|
+
var _arr = [];
|
|
396
|
+
var _n3 = true;
|
|
397
|
+
var _d = false;
|
|
398
|
+
var _s3, _e2;
|
|
399
|
+
try {
|
|
400
|
+
for (_i2 = _i2.call(arr); !(_n3 = (_s3 = _i2.next()).done); _n3 = true) {
|
|
401
|
+
_arr.push(_s3.value);
|
|
402
|
+
if (i61 && _arr.length === i61) break;
|
|
403
|
+
}
|
|
404
|
+
} catch (err) {
|
|
405
|
+
_d = true;
|
|
406
|
+
_e2 = err;
|
|
407
|
+
} finally {
|
|
408
|
+
try {
|
|
409
|
+
if (!_n3 && _i2["return"] != null) _i2["return"]();
|
|
410
|
+
} finally {
|
|
411
|
+
if (_d) throw _e2;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
return _arr;
|
|
415
|
+
}
|
|
416
|
+
var init_iterable_to_array_limit = __esm({
|
|
417
|
+
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js"() {
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_sliced_to_array.js
|
|
422
|
+
function _sliced_to_array(arr, i61) {
|
|
423
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i61) || _unsupported_iterable_to_array(arr, i61) || _non_iterable_rest();
|
|
424
|
+
}
|
|
425
|
+
var init_sliced_to_array = __esm({
|
|
426
|
+
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_sliced_to_array.js"() {
|
|
427
|
+
init_array_with_holes();
|
|
428
|
+
init_iterable_to_array_limit();
|
|
429
|
+
init_non_iterable_rest();
|
|
430
|
+
init_unsupported_iterable_to_array();
|
|
431
|
+
}
|
|
432
|
+
});
|
|
433
|
+
|
|
434
|
+
// protocol-virtual-shared:react
|
|
435
|
+
var require_react = __commonJS({
|
|
436
|
+
"protocol-virtual-shared:react"(exports, module) {
|
|
437
|
+
var sharedModule = global.__MICRO_FRONTEND__.__SHARED__["react"];
|
|
438
|
+
if (sharedModule == null) {
|
|
439
|
+
throw new Error("'react' is not registered in the shared registry");
|
|
440
|
+
}
|
|
441
|
+
module.exports = sharedModule.get();
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
// ../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/context.js
|
|
446
|
+
var require_context = __commonJS({
|
|
447
|
+
"../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/context.js"(exports) {
|
|
448
|
+
"use strict";
|
|
449
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
450
|
+
return mod && mod.__esModule ? mod : {
|
|
451
|
+
"default": mod
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
Object.defineProperty(exports, "__esModule", {
|
|
455
|
+
value: true
|
|
456
|
+
});
|
|
457
|
+
exports.useContext = exports.createContext = exports.getStoreContext = void 0;
|
|
458
|
+
var react_1 = __importDefault(require_react());
|
|
459
|
+
var createStore = function(defaultValue) {
|
|
460
|
+
var value = defaultValue;
|
|
461
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
462
|
+
var subscribe = function(l43) {
|
|
463
|
+
listeners.add(l43);
|
|
464
|
+
return function() {
|
|
465
|
+
return listeners.delete(l43);
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
var setValue = function(nextValue) {
|
|
469
|
+
value = nextValue;
|
|
470
|
+
listeners.forEach(function(l43) {
|
|
471
|
+
return l43();
|
|
472
|
+
});
|
|
473
|
+
};
|
|
474
|
+
var getValue = function() {
|
|
475
|
+
return value;
|
|
476
|
+
};
|
|
477
|
+
return {
|
|
478
|
+
subscribe,
|
|
479
|
+
setValue,
|
|
480
|
+
getValue
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
var STORE_CONTEXT = Symbol();
|
|
484
|
+
var getStoreContext = function(context2) {
|
|
485
|
+
var storeContext = context2[STORE_CONTEXT];
|
|
486
|
+
return storeContext;
|
|
487
|
+
};
|
|
488
|
+
exports.getStoreContext = getStoreContext;
|
|
489
|
+
exports.createContext = function(defaultValue) {
|
|
490
|
+
var context2 = react_1.default.createContext(createStore(defaultValue));
|
|
491
|
+
var Provider = function(param) {
|
|
492
|
+
var value = param.value, children = param.children;
|
|
493
|
+
var storeRef = react_1.default.useRef(void 0);
|
|
494
|
+
if (!storeRef.current) {
|
|
495
|
+
storeRef.current = createStore(value);
|
|
496
|
+
}
|
|
497
|
+
var store = storeRef.current;
|
|
498
|
+
react_1.default.useEffect(function() {
|
|
499
|
+
store.setValue(value);
|
|
500
|
+
});
|
|
501
|
+
return react_1.default.createElement(context2.Provider, {
|
|
502
|
+
value: store
|
|
503
|
+
}, children);
|
|
504
|
+
};
|
|
505
|
+
Provider.Provider = Provider;
|
|
506
|
+
Provider[STORE_CONTEXT] = context2;
|
|
507
|
+
return Provider;
|
|
508
|
+
};
|
|
509
|
+
exports.useContext = function(context2) {
|
|
510
|
+
var storeContext = (0, exports.getStoreContext)(context2);
|
|
511
|
+
if (!storeContext) {
|
|
512
|
+
throw new Error("useContext must be used with createContext from react18-use");
|
|
513
|
+
}
|
|
514
|
+
var store = react_1.default.useContext(storeContext);
|
|
515
|
+
return react_1.default.useSyncExternalStore(store.subscribe, store.getValue);
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
|
|
520
|
+
// ../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/use.js
|
|
521
|
+
var require_use = __commonJS({
|
|
522
|
+
"../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/use.js"(exports) {
|
|
523
|
+
"use strict";
|
|
524
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
525
|
+
return mod && mod.__esModule ? mod : {
|
|
526
|
+
"default": mod
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
Object.defineProperty(exports, "__esModule", {
|
|
530
|
+
value: true
|
|
531
|
+
});
|
|
532
|
+
exports.use = exports.setOverride = void 0;
|
|
533
|
+
var react_1 = __importDefault(require_react());
|
|
534
|
+
var context_js_1 = require_context();
|
|
535
|
+
function isContext(usable) {
|
|
536
|
+
return "_currentValue" in usable && "$$typeof" in usable;
|
|
537
|
+
}
|
|
538
|
+
var override;
|
|
539
|
+
var setOverride = function(fn7) {
|
|
540
|
+
override = fn7;
|
|
541
|
+
};
|
|
542
|
+
exports.setOverride = setOverride;
|
|
543
|
+
exports.use = react_1.default.use ? function(usable) {
|
|
544
|
+
if (override) {
|
|
545
|
+
return override(usable);
|
|
546
|
+
}
|
|
547
|
+
var storeContext = (0, context_js_1.getStoreContext)(usable);
|
|
548
|
+
if (storeContext) {
|
|
549
|
+
var store = react_1.default.use(storeContext);
|
|
550
|
+
return react_1.default.useSyncExternalStore(store.subscribe, store.getValue);
|
|
551
|
+
}
|
|
552
|
+
return react_1.default.use(usable);
|
|
553
|
+
} : function(usable) {
|
|
554
|
+
if (override) {
|
|
555
|
+
return override(usable);
|
|
556
|
+
}
|
|
557
|
+
var storeContext = (0, context_js_1.getStoreContext)(usable);
|
|
558
|
+
if (storeContext) {
|
|
559
|
+
var store = react_1.default.useContext(storeContext);
|
|
560
|
+
return react_1.default.useSyncExternalStore(store.subscribe, store.getValue);
|
|
561
|
+
}
|
|
562
|
+
if (isContext(usable)) {
|
|
563
|
+
return react_1.default.useContext(usable);
|
|
564
|
+
}
|
|
565
|
+
if (usable.status === "pending") {
|
|
566
|
+
throw usable;
|
|
567
|
+
} else if (usable.status === "fulfilled") {
|
|
568
|
+
return usable.value;
|
|
569
|
+
} else if (usable.status === "rejected") {
|
|
570
|
+
throw usable.reason;
|
|
571
|
+
} else {
|
|
572
|
+
usable.status = "pending";
|
|
573
|
+
usable.then(function(v21) {
|
|
574
|
+
usable.status = "fulfilled";
|
|
575
|
+
usable.value = v21;
|
|
576
|
+
}, function(e63) {
|
|
577
|
+
usable.status = "rejected";
|
|
578
|
+
usable.reason = e63;
|
|
579
|
+
});
|
|
580
|
+
throw usable;
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
|
|
586
|
+
// ../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/memo.js
|
|
587
|
+
var require_memo = __commonJS({
|
|
588
|
+
"../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/memo.js"(exports) {
|
|
589
|
+
"use strict";
|
|
590
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
591
|
+
return mod && mod.__esModule ? mod : {
|
|
592
|
+
"default": mod
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
Object.defineProperty(exports, "__esModule", {
|
|
596
|
+
value: true
|
|
597
|
+
});
|
|
598
|
+
exports.useMemo = void 0;
|
|
599
|
+
var react_1 = __importDefault(require_react());
|
|
600
|
+
var use_js_1 = require_use();
|
|
601
|
+
var context_js_1 = require_context();
|
|
602
|
+
var useMemo11 = function(fn7, deps) {
|
|
603
|
+
var cache = react_1.default.useMemo(function() {
|
|
604
|
+
var subscriptions = /* @__PURE__ */ new Map();
|
|
605
|
+
var storeMap = /* @__PURE__ */ new Map();
|
|
606
|
+
var callback;
|
|
607
|
+
var subscribe = function(cb) {
|
|
608
|
+
callback = cb;
|
|
609
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
610
|
+
try {
|
|
611
|
+
for (var _iterator = storeMap.values()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
612
|
+
var store = _step.value;
|
|
613
|
+
if (!subscriptions.has(store)) {
|
|
614
|
+
subscriptions.set(store, store.subscribe(function() {
|
|
615
|
+
return callback === null || callback === void 0 ? void 0 : callback();
|
|
616
|
+
}));
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
} catch (err) {
|
|
620
|
+
_didIteratorError = true;
|
|
621
|
+
_iteratorError = err;
|
|
622
|
+
} finally {
|
|
623
|
+
try {
|
|
624
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
625
|
+
_iterator.return();
|
|
626
|
+
}
|
|
627
|
+
} finally {
|
|
628
|
+
if (_didIteratorError) {
|
|
629
|
+
throw _iteratorError;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
return function() {
|
|
634
|
+
callback = void 0;
|
|
635
|
+
var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;
|
|
636
|
+
try {
|
|
637
|
+
for (var _iterator2 = subscriptions.values()[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
638
|
+
var unsub = _step2.value;
|
|
639
|
+
unsub();
|
|
640
|
+
}
|
|
641
|
+
} catch (err) {
|
|
642
|
+
_didIteratorError2 = true;
|
|
643
|
+
_iteratorError2 = err;
|
|
644
|
+
} finally {
|
|
645
|
+
try {
|
|
646
|
+
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
|
647
|
+
_iterator2.return();
|
|
648
|
+
}
|
|
649
|
+
} finally {
|
|
650
|
+
if (_didIteratorError2) {
|
|
651
|
+
throw _iteratorError2;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
subscriptions.clear();
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
var getStore = function(storeContext) {
|
|
659
|
+
if (storeMap.has(storeContext)) {
|
|
660
|
+
return storeMap.get(storeContext);
|
|
661
|
+
}
|
|
662
|
+
var store = (react_1.default.use || react_1.default.useContext)(storeContext);
|
|
663
|
+
storeMap.set(storeContext, store);
|
|
664
|
+
if (callback && !subscriptions.has(store)) {
|
|
665
|
+
subscriptions.set(store, store.subscribe(function() {
|
|
666
|
+
return callback === null || callback === void 0 ? void 0 : callback();
|
|
667
|
+
}));
|
|
668
|
+
}
|
|
669
|
+
return store;
|
|
670
|
+
};
|
|
671
|
+
return {
|
|
672
|
+
subscribe,
|
|
673
|
+
getStore
|
|
674
|
+
};
|
|
675
|
+
}, deps);
|
|
676
|
+
return react_1.default.useSyncExternalStore(cache.subscribe, function() {
|
|
677
|
+
try {
|
|
678
|
+
(0, use_js_1.setOverride)(function(usable) {
|
|
679
|
+
var storeContext = (0, context_js_1.getStoreContext)(usable);
|
|
680
|
+
if (!storeContext) {
|
|
681
|
+
throw new Error("use must be used with createContext from react18-use");
|
|
682
|
+
}
|
|
683
|
+
var store = cache.getStore(storeContext);
|
|
684
|
+
return store.getValue();
|
|
685
|
+
});
|
|
686
|
+
return fn7();
|
|
687
|
+
} finally {
|
|
688
|
+
(0, use_js_1.setOverride)(void 0);
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
};
|
|
692
|
+
exports.useMemo = useMemo11;
|
|
693
|
+
}
|
|
694
|
+
});
|
|
695
|
+
|
|
696
|
+
// ../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/index.js
|
|
697
|
+
var require_cjs = __commonJS({
|
|
698
|
+
"../../../.yarn/__virtual__/react18-use-virtual-3bdab1d9a3/0/cache/react18-use-npm-0.4.1-e77564e043-f72677009c.zip/node_modules/react18-use/dist/cjs/index.js"(exports) {
|
|
699
|
+
"use strict";
|
|
700
|
+
Object.defineProperty(exports, "__esModule", {
|
|
701
|
+
value: true
|
|
702
|
+
});
|
|
703
|
+
exports.useMemo = exports.useContext = exports.createContext = exports.use = void 0;
|
|
704
|
+
var use_js_1 = require_use();
|
|
705
|
+
Object.defineProperty(exports, "use", {
|
|
706
|
+
enumerable: true,
|
|
707
|
+
get: function get() {
|
|
708
|
+
return use_js_1.use;
|
|
709
|
+
}
|
|
710
|
+
});
|
|
711
|
+
var context_js_1 = require_context();
|
|
712
|
+
Object.defineProperty(exports, "createContext", {
|
|
713
|
+
enumerable: true,
|
|
714
|
+
get: function get() {
|
|
715
|
+
return context_js_1.createContext;
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
Object.defineProperty(exports, "useContext", {
|
|
719
|
+
enumerable: true,
|
|
720
|
+
get: function get() {
|
|
721
|
+
return context_js_1.useContext;
|
|
722
|
+
}
|
|
723
|
+
});
|
|
724
|
+
var memo_js_1 = require_memo();
|
|
725
|
+
Object.defineProperty(exports, "useMemo", {
|
|
726
|
+
enumerable: true,
|
|
727
|
+
get: function get() {
|
|
728
|
+
return memo_js_1.useMemo;
|
|
729
|
+
}
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
});
|
|
733
|
+
|
|
734
|
+
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_array_without_holes.js
|
|
735
|
+
function _array_without_holes(arr) {
|
|
736
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
737
|
+
}
|
|
738
|
+
var init_array_without_holes = __esm({
|
|
739
|
+
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_array_without_holes.js"() {
|
|
740
|
+
init_array_like_to_array();
|
|
741
|
+
}
|
|
742
|
+
});
|
|
743
|
+
|
|
744
|
+
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_non_iterable_spread.js
|
|
745
|
+
function _non_iterable_spread() {
|
|
746
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
747
|
+
}
|
|
748
|
+
var init_non_iterable_spread = __esm({
|
|
749
|
+
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_non_iterable_spread.js"() {
|
|
750
|
+
}
|
|
751
|
+
});
|
|
752
|
+
|
|
753
|
+
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_to_consumable_array.js
|
|
754
|
+
function _to_consumable_array(arr) {
|
|
755
|
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
756
|
+
}
|
|
757
|
+
var init_to_consumable_array = __esm({
|
|
758
|
+
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_to_consumable_array.js"() {
|
|
759
|
+
init_array_without_holes();
|
|
760
|
+
init_iterable_to_array();
|
|
761
|
+
init_non_iterable_spread();
|
|
762
|
+
init_unsupported_iterable_to_array();
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
|
|
766
|
+
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_type_of.js
|
|
767
|
+
function _type_of(obj) {
|
|
768
|
+
"@swc/helpers - typeof";
|
|
769
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
770
|
+
}
|
|
771
|
+
var init_type_of = __esm({
|
|
772
|
+
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_type_of.js"() {
|
|
773
|
+
}
|
|
774
|
+
});
|
|
775
|
+
|
|
776
|
+
// ../../../.yarn/__virtual__/use-effect-event-virtual-c44d78afdf/0/cache/use-effect-event-npm-2.0.3-4d432c1f61-8b7eb6f17e.zip/node_modules/use-effect-event/dist/index.cjs
|
|
777
|
+
var require_dist = __commonJS({
|
|
778
|
+
"../../../.yarn/__virtual__/use-effect-event-virtual-c44d78afdf/0/cache/use-effect-event-npm-2.0.3-4d432c1f61-8b7eb6f17e.zip/node_modules/use-effect-event/dist/index.cjs"(exports) {
|
|
779
|
+
"use strict";
|
|
780
|
+
init_to_consumable_array();
|
|
781
|
+
init_type_of();
|
|
782
|
+
Object.defineProperty(exports, "__esModule", {
|
|
783
|
+
value: true
|
|
784
|
+
});
|
|
785
|
+
var React4 = require_react();
|
|
786
|
+
function _interopDefaultCompat(e63) {
|
|
787
|
+
return e63 && (typeof e63 === "undefined" ? "undefined" : _type_of(e63)) == "object" && "default" in e63 ? e63 : {
|
|
788
|
+
default: e63
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
var React__default = /* @__PURE__ */ _interopDefaultCompat(React4);
|
|
792
|
+
var context2 = React__default.default.createContext(true);
|
|
793
|
+
function forbiddenInRender() {
|
|
794
|
+
throw new Error("A function wrapped in useEffectEvent can't be called during rendering.");
|
|
795
|
+
}
|
|
796
|
+
var isInvalidExecutionContextForEventFunction = "use" in React__default.default ? function() {
|
|
797
|
+
try {
|
|
798
|
+
return React__default.default.use(context2);
|
|
799
|
+
} catch (unused) {
|
|
800
|
+
return false;
|
|
801
|
+
}
|
|
802
|
+
} : function() {
|
|
803
|
+
return false;
|
|
804
|
+
};
|
|
805
|
+
function useEffectEvent(fn7) {
|
|
806
|
+
var ref = React__default.default.useRef(forbiddenInRender);
|
|
807
|
+
return React__default.default.useInsertionEffect(function() {
|
|
808
|
+
ref.current = fn7;
|
|
809
|
+
}, [
|
|
810
|
+
fn7
|
|
811
|
+
]), function() {
|
|
812
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
813
|
+
args[_key] = arguments[_key];
|
|
814
|
+
}
|
|
815
|
+
isInvalidExecutionContextForEventFunction() && forbiddenInRender();
|
|
816
|
+
var latestFn = ref.current;
|
|
817
|
+
return latestFn.apply(void 0, _to_consumable_array(args));
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
exports.useEffectEvent = useEffectEvent;
|
|
821
|
+
}
|
|
822
|
+
});
|
|
823
|
+
|
|
824
|
+
// .granite/react-19-compat.js
|
|
825
|
+
var require_react_19_compat = __commonJS({
|
|
826
|
+
".granite/react-19-compat.js"(exports, module) {
|
|
827
|
+
init_sliced_to_array();
|
|
828
|
+
var React4 = require_react();
|
|
829
|
+
var reactUsePolyfill = require_cjs();
|
|
830
|
+
var reactEffectEventPolyfill = require_dist();
|
|
831
|
+
function useOptimisticPolyfill(passthroughState, reducer2) {
|
|
832
|
+
var _React_useState = _sliced_to_array(React4.useState(passthroughState), 2), optimisticState = _React_useState[0], setOptimisticState = _React_useState[1];
|
|
833
|
+
var lastPassthroughState = React4.useRef(passthroughState);
|
|
834
|
+
if (passthroughState !== lastPassthroughState.current) {
|
|
835
|
+
setOptimisticState(passthroughState);
|
|
836
|
+
lastPassthroughState.current = passthroughState;
|
|
837
|
+
}
|
|
838
|
+
function addOptimistic(action) {
|
|
839
|
+
setOptimisticState(function(current) {
|
|
840
|
+
return reducer2(current, action);
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
return [
|
|
844
|
+
optimisticState,
|
|
845
|
+
addOptimistic
|
|
846
|
+
];
|
|
847
|
+
}
|
|
848
|
+
module.exports = Object.assign(React4, {
|
|
849
|
+
use: reactUsePolyfill.use,
|
|
850
|
+
useEffectEvent: reactEffectEventPolyfill.useEffectEvent,
|
|
851
|
+
useOptimistic: useOptimisticPolyfill
|
|
852
|
+
});
|
|
853
|
+
}
|
|
854
|
+
});
|
|
855
|
+
|
|
391
856
|
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_async_to_generator.js
|
|
392
857
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
393
858
|
try {
|
|
@@ -557,91 +1022,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
557
1022
|
}
|
|
558
1023
|
});
|
|
559
1024
|
|
|
560
|
-
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js
|
|
561
|
-
function _iterable_to_array_limit(arr, i61) {
|
|
562
|
-
var _i2 = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
563
|
-
if (_i2 == null) return;
|
|
564
|
-
var _arr = [];
|
|
565
|
-
var _n3 = true;
|
|
566
|
-
var _d = false;
|
|
567
|
-
var _s3, _e2;
|
|
568
|
-
try {
|
|
569
|
-
for (_i2 = _i2.call(arr); !(_n3 = (_s3 = _i2.next()).done); _n3 = true) {
|
|
570
|
-
_arr.push(_s3.value);
|
|
571
|
-
if (i61 && _arr.length === i61) break;
|
|
572
|
-
}
|
|
573
|
-
} catch (err) {
|
|
574
|
-
_d = true;
|
|
575
|
-
_e2 = err;
|
|
576
|
-
} finally {
|
|
577
|
-
try {
|
|
578
|
-
if (!_n3 && _i2["return"] != null) _i2["return"]();
|
|
579
|
-
} finally {
|
|
580
|
-
if (_d) throw _e2;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
return _arr;
|
|
584
|
-
}
|
|
585
|
-
var init_iterable_to_array_limit = __esm({
|
|
586
|
-
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js"() {
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
|
|
590
|
-
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_sliced_to_array.js
|
|
591
|
-
function _sliced_to_array(arr, i61) {
|
|
592
|
-
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i61) || _unsupported_iterable_to_array(arr, i61) || _non_iterable_rest();
|
|
593
|
-
}
|
|
594
|
-
var init_sliced_to_array = __esm({
|
|
595
|
-
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_sliced_to_array.js"() {
|
|
596
|
-
init_array_with_holes();
|
|
597
|
-
init_iterable_to_array_limit();
|
|
598
|
-
init_non_iterable_rest();
|
|
599
|
-
init_unsupported_iterable_to_array();
|
|
600
|
-
}
|
|
601
|
-
});
|
|
602
|
-
|
|
603
|
-
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_array_without_holes.js
|
|
604
|
-
function _array_without_holes(arr) {
|
|
605
|
-
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
606
|
-
}
|
|
607
|
-
var init_array_without_holes = __esm({
|
|
608
|
-
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_array_without_holes.js"() {
|
|
609
|
-
init_array_like_to_array();
|
|
610
|
-
}
|
|
611
|
-
});
|
|
612
|
-
|
|
613
|
-
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_non_iterable_spread.js
|
|
614
|
-
function _non_iterable_spread() {
|
|
615
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
616
|
-
}
|
|
617
|
-
var init_non_iterable_spread = __esm({
|
|
618
|
-
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_non_iterable_spread.js"() {
|
|
619
|
-
}
|
|
620
|
-
});
|
|
621
|
-
|
|
622
|
-
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_to_consumable_array.js
|
|
623
|
-
function _to_consumable_array(arr) {
|
|
624
|
-
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
625
|
-
}
|
|
626
|
-
var init_to_consumable_array = __esm({
|
|
627
|
-
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_to_consumable_array.js"() {
|
|
628
|
-
init_array_without_holes();
|
|
629
|
-
init_iterable_to_array();
|
|
630
|
-
init_non_iterable_spread();
|
|
631
|
-
init_unsupported_iterable_to_array();
|
|
632
|
-
}
|
|
633
|
-
});
|
|
634
|
-
|
|
635
|
-
// ../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_type_of.js
|
|
636
|
-
function _type_of(obj) {
|
|
637
|
-
"@swc/helpers - typeof";
|
|
638
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
639
|
-
}
|
|
640
|
-
var init_type_of = __esm({
|
|
641
|
-
"../../../.yarn/cache/@swc-helpers-npm-0.5.17-303e8d89cf-fe1f33ebb9.zip/node_modules/@swc/helpers/esm/_type_of.js"() {
|
|
642
|
-
}
|
|
643
|
-
});
|
|
644
|
-
|
|
645
1025
|
// ../../../.yarn/cache/tslib-npm-2.8.1-fd69b02284-9c4759110a.zip/node_modules/tslib/tslib.es6.mjs
|
|
646
1026
|
function __generator(thisArg, body) {
|
|
647
1027
|
var _16 = {
|
|
@@ -748,17 +1128,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
748
1128
|
}
|
|
749
1129
|
});
|
|
750
1130
|
|
|
751
|
-
// protocol-virtual-shared:react
|
|
752
|
-
var require_react = __commonJS({
|
|
753
|
-
"protocol-virtual-shared:react"(exports, module) {
|
|
754
|
-
var sharedModule = global.__MICRO_FRONTEND__.__SHARED__["react"];
|
|
755
|
-
if (sharedModule == null) {
|
|
756
|
-
throw new Error("'react' is not registered in the shared registry");
|
|
757
|
-
}
|
|
758
|
-
module.exports = sharedModule.get();
|
|
759
|
-
}
|
|
760
|
-
});
|
|
761
|
-
|
|
762
1131
|
// protocol-virtual-shared:react-native
|
|
763
1132
|
var require_react_native = __commonJS({
|
|
764
1133
|
"protocol-virtual-shared:react-native"(exports, module) {
|
|
@@ -11703,7 +12072,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11703
12072
|
params: params.params
|
|
11704
12073
|
});
|
|
11705
12074
|
}
|
|
11706
|
-
var import_brick_module2, import_brick_module3, import_brick_module4, import_react_native34, import_react_native35, import_react_native36, import_react_native37, MiniAppModule,
|
|
12075
|
+
var import_brick_module2, import_brick_module3, import_brick_module4, import_react_native34, import_react_native35, import_react_native36, import_react_native37, MiniAppModule, TossCoreModule, CommonModule, UpdateLocationEvent, INTERNAL__callbacks, INTERNAL__appBridgeHandler, AppBridgeCallbackEvent, VisibilityChangedByTransparentServiceWebEvent, appsInTossEvent, SEMVER_REGEX, isWildcard, tryParse, coerceTypes, compareValues, parseVersion, compareSegments, compareVersions, ANDROID_GOOGLE_AD_MOB_SUPPORTED_VERSION, IOS_GOOGLE_AD_MOB_SUPPORTED_VERSION, UNSUPPORTED_ERROR_MESSAGE, ENVIRONMENT, DEFAULT_MAX_COUNT, DEFAULT_MAX_WIDTH, fetchAlbumPhotos, fetchContacts, getClipboardText, getCurrentLocation, setClipboardText, openCamera, IAP, Storage, GAME_CENTER_MIN_VERSION, GET_SERVER_TIME_MIN_VERSION, MIN_VERSION, GoogleAdMob, CommonModule2, INTERNAL__module;
|
|
11707
12076
|
var init_dist5 = __esm({
|
|
11708
12077
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/dist/index.js"() {
|
|
11709
12078
|
"use strict";
|
|
@@ -11742,8 +12111,8 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
11742
12111
|
import_react_native36 = __toESM(require_react_native(), 1);
|
|
11743
12112
|
import_react_native37 = __toESM(require_react_native(), 1);
|
|
11744
12113
|
MiniAppModule = import_brick_module2.BrickModule.get("MiniAppModule");
|
|
11745
|
-
|
|
11746
|
-
|
|
12114
|
+
TossCoreModule = import_brick_module3.BrickModule.get("TossCoreModule");
|
|
12115
|
+
CommonModule = import_brick_module4.BrickModule.get("CommonModule");
|
|
11747
12116
|
UpdateLocationEvent = /* @__PURE__ */ function(GraniteEventDefinition3) {
|
|
11748
12117
|
"use strict";
|
|
11749
12118
|
_inherits(UpdateLocationEvent3, GraniteEventDefinition3);
|
|
@@ -42887,23 +43256,32 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42887
43256
|
});
|
|
42888
43257
|
|
|
42889
43258
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/MiniAppModule.brick.ts
|
|
43259
|
+
var import_brick_module5, MiniAppModule2;
|
|
42890
43260
|
var init_MiniAppModule_brick = __esm({
|
|
42891
43261
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/MiniAppModule.brick.ts"() {
|
|
42892
43262
|
"use strict";
|
|
43263
|
+
import_brick_module5 = __toESM(require_ait_rn72_brick_module_compat(), 1);
|
|
43264
|
+
MiniAppModule2 = import_brick_module5.BrickModule.get("MiniAppModule");
|
|
42893
43265
|
}
|
|
42894
43266
|
});
|
|
42895
43267
|
|
|
42896
43268
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/TossCoreModule.brick.ts
|
|
43269
|
+
var import_brick_module6, TossCoreModule2;
|
|
42897
43270
|
var init_TossCoreModule_brick = __esm({
|
|
42898
43271
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/TossCoreModule.brick.ts"() {
|
|
42899
43272
|
"use strict";
|
|
43273
|
+
import_brick_module6 = __toESM(require_ait_rn72_brick_module_compat(), 1);
|
|
43274
|
+
TossCoreModule2 = import_brick_module6.BrickModule.get("TossCoreModule");
|
|
42900
43275
|
}
|
|
42901
43276
|
});
|
|
42902
43277
|
|
|
42903
43278
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/CommonModule.brick.ts
|
|
43279
|
+
var import_brick_module7, CommonModule3;
|
|
42904
43280
|
var init_CommonModule_brick = __esm({
|
|
42905
43281
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/spec/CommonModule.brick.ts"() {
|
|
42906
43282
|
"use strict";
|
|
43283
|
+
import_brick_module7 = __toESM(require_ait_rn72_brick_module_compat(), 1);
|
|
43284
|
+
CommonModule3 = import_brick_module7.BrickModule.get("CommonModule");
|
|
42907
43285
|
}
|
|
42908
43286
|
});
|
|
42909
43287
|
|
|
@@ -42914,32 +43292,18 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42914
43292
|
function safeSyncPostMessage2(method, params) {
|
|
42915
43293
|
return MiniAppModule2.postMessageSync(method, params, {});
|
|
42916
43294
|
}
|
|
42917
|
-
var import_brick_module5, MiniAppModule2;
|
|
42918
43295
|
var init_postMessage = __esm({
|
|
42919
43296
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/postMessage.ts"() {
|
|
42920
43297
|
"use strict";
|
|
42921
|
-
|
|
42922
|
-
MiniAppModule2 = import_brick_module5.BrickModule.get("MiniAppModule");
|
|
43298
|
+
init_MiniAppModule_brick();
|
|
42923
43299
|
}
|
|
42924
43300
|
});
|
|
42925
43301
|
|
|
42926
43302
|
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/commonModule.ts
|
|
42927
|
-
var import_brick_module6, CommonModule3;
|
|
42928
43303
|
var init_commonModule = __esm({
|
|
42929
43304
|
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/commonModule.ts"() {
|
|
42930
43305
|
"use strict";
|
|
42931
|
-
|
|
42932
|
-
CommonModule3 = import_brick_module6.BrickModule.get("CommonModule");
|
|
42933
|
-
}
|
|
42934
|
-
});
|
|
42935
|
-
|
|
42936
|
-
// ../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/TossCoreModule/instance.ts
|
|
42937
|
-
var import_brick_module7, TossCoreModule2;
|
|
42938
|
-
var init_instance = __esm({
|
|
42939
|
-
"../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/TossCoreModule/instance.ts"() {
|
|
42940
|
-
"use strict";
|
|
42941
|
-
import_brick_module7 = __toESM(require_ait_rn72_brick_module_compat(), 1);
|
|
42942
|
-
TossCoreModule2 = import_brick_module7.BrickModule.get("TossCoreModule");
|
|
43306
|
+
init_CommonModule_brick();
|
|
42943
43307
|
}
|
|
42944
43308
|
});
|
|
42945
43309
|
|
|
@@ -42952,7 +43316,6 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
42952
43316
|
init_CommonModule_brick();
|
|
42953
43317
|
init_postMessage();
|
|
42954
43318
|
init_commonModule();
|
|
42955
|
-
init_instance();
|
|
42956
43319
|
}
|
|
42957
43320
|
});
|
|
42958
43321
|
|
|
@@ -48856,6 +49219,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
48856
49219
|
(0, import_runtime.exposeModule)(__container, "./ServiceEntry", app_exports);
|
|
48857
49220
|
|
|
48858
49221
|
// react-native/src/_app.tsx
|
|
49222
|
+
var import_react_19_compat = __toESM(require_react_19_compat());
|
|
48859
49223
|
init_dist8();
|
|
48860
49224
|
|
|
48861
49225
|
// react-native/context.ts
|