@whop/embedded-components-react-js 0.0.5-beta.5 → 0.0.5-beta.7

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.
Files changed (109) hide show
  1. package/dist/chunk-NSSMTXJJ.mjs +9 -0
  2. package/dist/chunk-NSSMTXJJ.mjs.map +1 -0
  3. package/dist/index.d.ts +19 -0
  4. package/dist/index.js +21 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.mjs +3 -0
  7. package/dist/index.mjs.map +1 -0
  8. package/dist/lib/use-element-snapshot.d.ts +5 -0
  9. package/dist/lib/use-element-snapshot.js +64 -0
  10. package/dist/lib/use-element-snapshot.js.map +1 -0
  11. package/dist/lib/use-element-snapshot.mjs +41 -0
  12. package/dist/lib/use-element-snapshot.mjs.map +1 -0
  13. package/dist/lib/with-fallback.d.ts +55 -0
  14. package/dist/lib/with-fallback.js +85 -0
  15. package/dist/lib/with-fallback.js.map +1 -0
  16. package/dist/lib/with-fallback.mjs +58 -0
  17. package/dist/lib/with-fallback.mjs.map +1 -0
  18. package/dist/payouts/elements/balance.d.ts +11 -0
  19. package/dist/payouts/elements/balance.js +30 -0
  20. package/dist/payouts/elements/balance.js.map +1 -0
  21. package/dist/payouts/elements/balance.mjs +8 -0
  22. package/dist/payouts/elements/balance.mjs.map +1 -0
  23. package/dist/payouts/elements/bnpl-reserve-balance-breakdown.d.ts +11 -0
  24. package/dist/payouts/elements/bnpl-reserve-balance-breakdown.js +30 -0
  25. package/dist/payouts/elements/bnpl-reserve-balance-breakdown.js.map +1 -0
  26. package/dist/payouts/elements/bnpl-reserve-balance-breakdown.mjs +8 -0
  27. package/dist/payouts/elements/bnpl-reserve-balance-breakdown.mjs.map +1 -0
  28. package/dist/payouts/elements/change-account-country.d.ts +11 -0
  29. package/dist/payouts/elements/change-account-country.js +30 -0
  30. package/dist/payouts/elements/change-account-country.js.map +1 -0
  31. package/dist/payouts/elements/change-account-country.mjs +8 -0
  32. package/dist/payouts/elements/change-account-country.mjs.map +1 -0
  33. package/dist/payouts/elements/generate-withdrawal-receipt.d.ts +11 -0
  34. package/dist/payouts/elements/generate-withdrawal-receipt.js +30 -0
  35. package/dist/payouts/elements/generate-withdrawal-receipt.js.map +1 -0
  36. package/dist/payouts/elements/generate-withdrawal-receipt.mjs +8 -0
  37. package/dist/payouts/elements/generate-withdrawal-receipt.mjs.map +1 -0
  38. package/dist/payouts/elements/index.d.ts +16 -0
  39. package/dist/payouts/elements/index.js +31 -0
  40. package/dist/payouts/elements/index.js.map +1 -0
  41. package/dist/payouts/elements/index.mjs +13 -0
  42. package/dist/payouts/elements/index.mjs.map +1 -0
  43. package/dist/payouts/elements/pending-balance-breakdown.d.ts +11 -0
  44. package/dist/payouts/elements/pending-balance-breakdown.js +30 -0
  45. package/dist/payouts/elements/pending-balance-breakdown.js.map +1 -0
  46. package/dist/payouts/elements/pending-balance-breakdown.mjs +8 -0
  47. package/dist/payouts/elements/pending-balance-breakdown.mjs.map +1 -0
  48. package/dist/payouts/elements/regular-reserve-balance-breakdown.d.ts +11 -0
  49. package/dist/payouts/elements/regular-reserve-balance-breakdown.js +30 -0
  50. package/dist/payouts/elements/regular-reserve-balance-breakdown.js.map +1 -0
  51. package/dist/payouts/elements/regular-reserve-balance-breakdown.mjs +8 -0
  52. package/dist/payouts/elements/regular-reserve-balance-breakdown.mjs.map +1 -0
  53. package/dist/payouts/elements/reset-account.d.ts +11 -0
  54. package/dist/payouts/elements/reset-account.js +30 -0
  55. package/dist/payouts/elements/reset-account.js.map +1 -0
  56. package/dist/payouts/elements/reset-account.mjs +8 -0
  57. package/dist/payouts/elements/reset-account.mjs.map +1 -0
  58. package/dist/payouts/elements/status-banner.d.ts +18 -0
  59. package/dist/payouts/elements/status-banner.js +102 -0
  60. package/dist/payouts/elements/status-banner.js.map +1 -0
  61. package/dist/payouts/elements/status-banner.mjs +76 -0
  62. package/dist/payouts/elements/status-banner.mjs.map +1 -0
  63. package/dist/payouts/elements/total-balance-breakdown.d.ts +11 -0
  64. package/dist/payouts/elements/total-balance-breakdown.js +30 -0
  65. package/dist/payouts/elements/total-balance-breakdown.js.map +1 -0
  66. package/dist/payouts/elements/total-balance-breakdown.mjs +8 -0
  67. package/dist/payouts/elements/total-balance-breakdown.mjs.map +1 -0
  68. package/dist/payouts/elements/verify.d.ts +11 -0
  69. package/dist/payouts/elements/verify.js +30 -0
  70. package/dist/payouts/elements/verify.js.map +1 -0
  71. package/dist/payouts/elements/verify.mjs +8 -0
  72. package/dist/payouts/elements/verify.mjs.map +1 -0
  73. package/dist/payouts/elements/withdraw-button.d.ts +11 -0
  74. package/dist/payouts/elements/withdraw-button.js +30 -0
  75. package/dist/payouts/elements/withdraw-button.js.map +1 -0
  76. package/dist/payouts/elements/withdraw-button.mjs +8 -0
  77. package/dist/payouts/elements/withdraw-button.mjs.map +1 -0
  78. package/dist/payouts/elements/withdrawal-breakdown.d.ts +11 -0
  79. package/dist/payouts/elements/withdrawal-breakdown.js +30 -0
  80. package/dist/payouts/elements/withdrawal-breakdown.js.map +1 -0
  81. package/dist/payouts/elements/withdrawal-breakdown.mjs +8 -0
  82. package/dist/payouts/elements/withdrawal-breakdown.mjs.map +1 -0
  83. package/dist/payouts/elements/withdrawals.d.ts +11 -0
  84. package/dist/payouts/elements/withdrawals.js +30 -0
  85. package/dist/payouts/elements/withdrawals.js.map +1 -0
  86. package/dist/payouts/elements/withdrawals.mjs +8 -0
  87. package/dist/payouts/elements/withdrawals.mjs.map +1 -0
  88. package/dist/payouts/index.d.ts +17 -0
  89. package/dist/payouts/index.js +20 -0
  90. package/dist/payouts/index.js.map +1 -0
  91. package/dist/payouts/index.mjs +2 -0
  92. package/dist/payouts/index.mjs.map +1 -0
  93. package/dist/payouts/session.d.ts +11 -0
  94. package/dist/payouts/session.js +84 -0
  95. package/dist/payouts/session.js.map +1 -0
  96. package/dist/payouts/session.mjs +55 -0
  97. package/dist/payouts/session.mjs.map +1 -0
  98. package/dist/payouts/use-session-ref.d.ts +8 -0
  99. package/dist/payouts/use-session-ref.js +29 -0
  100. package/dist/payouts/use-session-ref.js.map +1 -0
  101. package/dist/payouts/use-session-ref.mjs +7 -0
  102. package/dist/payouts/use-session-ref.mjs.map +1 -0
  103. package/dist/provider.d.ts +11 -0
  104. package/dist/provider.js +116 -0
  105. package/dist/provider.js.map +1 -0
  106. package/dist/provider.mjs +87 -0
  107. package/dist/provider.mjs.map +1 -0
  108. package/package.json +2 -2
  109. package/package.json.temp +0 -44
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var generate_withdrawal_receipt_exports = {};
21
+ __export(generate_withdrawal_receipt_exports, {
22
+ GenerateWithdrawalReceiptElement: () => GenerateWithdrawalReceiptElement
23
+ });
24
+ module.exports = __toCommonJS(generate_withdrawal_receipt_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const GenerateWithdrawalReceiptElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "GenerateWithdrawalReceiptElement",
28
+ type: "generate-withdrawal-receipt-element"
29
+ });
30
+ //# sourceMappingURL=generate-withdrawal-receipt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/generate-withdrawal-receipt.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const GenerateWithdrawalReceiptElement = withFallback<\n\t\"generate-withdrawal-receipt-element\",\n\ttrue\n>({\n\tdisplayName: \"GenerateWithdrawalReceiptElement\",\n\ttype: \"generate-withdrawal-receipt-element\",\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,uCAAmC,mCAG9C;AAAA,EACD,aAAa;AAAA,EACb,MAAM;AACP,CAAC;","names":[]}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import { withFallback } from "../../lib/with-fallback.mjs";
4
+ const GenerateWithdrawalReceiptElement = withFallback({
5
+ displayName: "GenerateWithdrawalReceiptElement",
6
+ type: "generate-withdrawal-receipt-element"
7
+ });
8
+ export { GenerateWithdrawalReceiptElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/generate-withdrawal-receipt.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const GenerateWithdrawalReceiptElement = withFallback<\n\t\"generate-withdrawal-receipt-element\",\n\ttrue\n>({\n\tdisplayName: \"GenerateWithdrawalReceiptElement\",\n\ttype: \"generate-withdrawal-receipt-element\",\n});\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,mCAAmC,aAG9C;AAAA,EACD,aAAa;AAAA,EACb,MAAM;AACP,CAAC;","names":[]}
@@ -0,0 +1,16 @@
1
+ export { BalanceElement } from './balance.js';
2
+ export { ChangeAccountCountryElement } from './change-account-country.js';
3
+ export { ResetAccountElement } from './reset-account.js';
4
+ export { VerifyElement } from './verify.js';
5
+ export { WithdrawButtonElement } from './withdraw-button.js';
6
+ export { WithdrawalBreakdownElement } from './withdrawal-breakdown.js';
7
+ export { WithdrawalsElement } from './withdrawals.js';
8
+ export { TotalBalanceBreakdownElement } from './total-balance-breakdown.js';
9
+ export { PendingBalanceBreakdownElement } from './pending-balance-breakdown.js';
10
+ export { RegularReserveBalanceBreakdownElement } from './regular-reserve-balance-breakdown.js';
11
+ export { BnplReserveBalanceBreakdownElement } from './bnpl-reserve-balance-breakdown.js';
12
+ export { GenerateWithdrawalReceiptElement } from './generate-withdrawal-receipt.js';
13
+ export { StatusBannerElement } from './status-banner.js';
14
+ import '../../lib/with-fallback.js';
15
+ import '@whop/embedded-components-vanilla-js/types';
16
+ import 'react';
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var elements_exports = {};
17
+ module.exports = __toCommonJS(elements_exports);
18
+ __reExport(elements_exports, require("./balance"), module.exports);
19
+ __reExport(elements_exports, require("./change-account-country"), module.exports);
20
+ __reExport(elements_exports, require("./reset-account"), module.exports);
21
+ __reExport(elements_exports, require("./verify"), module.exports);
22
+ __reExport(elements_exports, require("./withdraw-button"), module.exports);
23
+ __reExport(elements_exports, require("./withdrawal-breakdown"), module.exports);
24
+ __reExport(elements_exports, require("./withdrawals"), module.exports);
25
+ __reExport(elements_exports, require("./total-balance-breakdown"), module.exports);
26
+ __reExport(elements_exports, require("./pending-balance-breakdown"), module.exports);
27
+ __reExport(elements_exports, require("./regular-reserve-balance-breakdown"), module.exports);
28
+ __reExport(elements_exports, require("./bnpl-reserve-balance-breakdown"), module.exports);
29
+ __reExport(elements_exports, require("./generate-withdrawal-receipt"), module.exports);
30
+ __reExport(elements_exports, require("./status-banner"), module.exports);
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./balance\";\nexport * from \"./change-account-country\";\nexport * from \"./reset-account\";\nexport * from \"./verify\";\nexport * from \"./withdraw-button\";\nexport * from \"./withdrawal-breakdown\";\nexport * from \"./withdrawals\";\nexport * from \"./total-balance-breakdown\";\nexport * from \"./pending-balance-breakdown\";\nexport * from \"./regular-reserve-balance-breakdown\";\nexport * from \"./bnpl-reserve-balance-breakdown\";\nexport * from \"./generate-withdrawal-receipt\";\nexport * from \"./status-banner\";\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAc,sBAAd;AACA,6BAAc,qCADd;AAEA,6BAAc,4BAFd;AAGA,6BAAc,qBAHd;AAIA,6BAAc,8BAJd;AAKA,6BAAc,mCALd;AAMA,6BAAc,0BANd;AAOA,6BAAc,sCAPd;AAQA,6BAAc,wCARd;AASA,6BAAc,gDATd;AAUA,6BAAc,6CAVd;AAWA,6BAAc,0CAXd;AAYA,6BAAc,4BAZd;","names":[]}
@@ -0,0 +1,13 @@
1
+ export * from "./balance.mjs";
2
+ export * from "./change-account-country.mjs";
3
+ export * from "./reset-account.mjs";
4
+ export * from "./verify.mjs";
5
+ export * from "./withdraw-button.mjs";
6
+ export * from "./withdrawal-breakdown.mjs";
7
+ export * from "./withdrawals.mjs";
8
+ export * from "./total-balance-breakdown.mjs";
9
+ export * from "./pending-balance-breakdown.mjs";
10
+ export * from "./regular-reserve-balance-breakdown.mjs";
11
+ export * from "./bnpl-reserve-balance-breakdown.mjs";
12
+ export * from "./generate-withdrawal-receipt.mjs";
13
+ export * from "./status-banner.mjs";
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/index.tsx"],"sourcesContent":["export * from \"./balance\";\nexport * from \"./change-account-country\";\nexport * from \"./reset-account\";\nexport * from \"./verify\";\nexport * from \"./withdraw-button\";\nexport * from \"./withdrawal-breakdown\";\nexport * from \"./withdrawals\";\nexport * from \"./total-balance-breakdown\";\nexport * from \"./pending-balance-breakdown\";\nexport * from \"./regular-reserve-balance-breakdown\";\nexport * from \"./bnpl-reserve-balance-breakdown\";\nexport * from \"./generate-withdrawal-receipt\";\nexport * from \"./status-banner\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1,11 @@
1
+ import { WithFallbackPropsOptional } from '../../lib/with-fallback.js';
2
+ import * as _whop_embedded_components_vanilla_js_types from '@whop/embedded-components-vanilla-js/types';
3
+ import 'react';
4
+
5
+ declare const PendingBalanceBreakdownElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.PendingBalanceBreakdownElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { PendingBalanceBreakdownElement };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var pending_balance_breakdown_exports = {};
21
+ __export(pending_balance_breakdown_exports, {
22
+ PendingBalanceBreakdownElement: () => PendingBalanceBreakdownElement
23
+ });
24
+ module.exports = __toCommonJS(pending_balance_breakdown_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const PendingBalanceBreakdownElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "PendingBalanceBreakdownElement",
28
+ type: "pending-balance-breakdown-element"
29
+ });
30
+ //# sourceMappingURL=pending-balance-breakdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/pending-balance-breakdown.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const PendingBalanceBreakdownElement = withFallback({\n\tdisplayName: \"PendingBalanceBreakdownElement\",\n\ttype: \"pending-balance-breakdown-element\",\n} as const);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,qCAAiC,mCAAa;AAAA,EAC1D,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import { withFallback } from "../../lib/with-fallback.mjs";
4
+ const PendingBalanceBreakdownElement = withFallback({
5
+ displayName: "PendingBalanceBreakdownElement",
6
+ type: "pending-balance-breakdown-element"
7
+ });
8
+ export { PendingBalanceBreakdownElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/pending-balance-breakdown.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const PendingBalanceBreakdownElement = withFallback({\n\tdisplayName: \"PendingBalanceBreakdownElement\",\n\ttype: \"pending-balance-breakdown-element\",\n} as const);\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,iCAAiC,aAAa;AAAA,EAC1D,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,11 @@
1
+ import { WithFallbackPropsOptional } from '../../lib/with-fallback.js';
2
+ import * as _whop_embedded_components_vanilla_js_types from '@whop/embedded-components-vanilla-js/types';
3
+ import 'react';
4
+
5
+ declare const RegularReserveBalanceBreakdownElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.RegularReserveBalanceBreakdownElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { RegularReserveBalanceBreakdownElement };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var regular_reserve_balance_breakdown_exports = {};
21
+ __export(regular_reserve_balance_breakdown_exports, {
22
+ RegularReserveBalanceBreakdownElement: () => RegularReserveBalanceBreakdownElement
23
+ });
24
+ module.exports = __toCommonJS(regular_reserve_balance_breakdown_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const RegularReserveBalanceBreakdownElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "RegularReserveBalanceBreakdownElement",
28
+ type: "regular-reserve-balance-breakdown-element"
29
+ });
30
+ //# sourceMappingURL=regular-reserve-balance-breakdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/regular-reserve-balance-breakdown.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const RegularReserveBalanceBreakdownElement = withFallback({\n\tdisplayName: \"RegularReserveBalanceBreakdownElement\",\n\ttype: \"regular-reserve-balance-breakdown-element\",\n} as const);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,4CAAwC,mCAAa;AAAA,EACjE,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import { withFallback } from "../../lib/with-fallback.mjs";
4
+ const RegularReserveBalanceBreakdownElement = withFallback({
5
+ displayName: "RegularReserveBalanceBreakdownElement",
6
+ type: "regular-reserve-balance-breakdown-element"
7
+ });
8
+ export { RegularReserveBalanceBreakdownElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/regular-reserve-balance-breakdown.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const RegularReserveBalanceBreakdownElement = withFallback({\n\tdisplayName: \"RegularReserveBalanceBreakdownElement\",\n\ttype: \"regular-reserve-balance-breakdown-element\",\n} as const);\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,wCAAwC,aAAa;AAAA,EACjE,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,11 @@
1
+ import { WithFallbackPropsOptional } from '../../lib/with-fallback.js';
2
+ import * as _whop_embedded_components_vanilla_js_types from '@whop/embedded-components-vanilla-js/types';
3
+ import 'react';
4
+
5
+ declare const ResetAccountElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.ResetAccountElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { ResetAccountElement };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var reset_account_exports = {};
21
+ __export(reset_account_exports, {
22
+ ResetAccountElement: () => ResetAccountElement
23
+ });
24
+ module.exports = __toCommonJS(reset_account_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const ResetAccountElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "ResetAccountElement",
28
+ type: "reset-account-element"
29
+ });
30
+ //# sourceMappingURL=reset-account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/reset-account.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const ResetAccountElement = withFallback({\n\tdisplayName: \"ResetAccountElement\",\n\ttype: \"reset-account-element\",\n} as const);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,0BAAsB,mCAAa;AAAA,EAC/C,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import { withFallback } from "../../lib/with-fallback.mjs";
4
+ const ResetAccountElement = withFallback({
5
+ displayName: "ResetAccountElement",
6
+ type: "reset-account-element"
7
+ });
8
+ export { ResetAccountElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/reset-account.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const ResetAccountElement = withFallback({\n\tdisplayName: \"ResetAccountElement\",\n\ttype: \"reset-account-element\",\n} as const);\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,sBAAsB,aAAa;AAAA,EAC/C,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,18 @@
1
+ import { StatusBannerElementOptions, StatusBannerType } from '@whop/embedded-components-vanilla-js/types';
2
+ import React__default from 'react';
3
+
4
+ declare function StatusBannerElement({ options, className, style, onReady, onVerifyClick, onBannerChange, fallback, }: {
5
+ options?: StatusBannerElementOptions;
6
+ className?: string;
7
+ style?: React__default.CSSProperties;
8
+ onReady?: () => void;
9
+ onVerifyClick?: (ev: CustomEvent) => void;
10
+ onBannerChange?: (ev: CustomEvent, bannerType: StatusBannerType) => void;
11
+ fallback?: React__default.ReactNode;
12
+ }): React__default.JSX.Element;
13
+ declare namespace StatusBannerElement {
14
+ var displayName: string;
15
+ var type: "status-banner-element";
16
+ }
17
+
18
+ export { StatusBannerElement };
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var status_banner_exports = {};
31
+ __export(status_banner_exports, {
32
+ StatusBannerElement: () => StatusBannerElement
33
+ });
34
+ module.exports = __toCommonJS(status_banner_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_use_element_snapshot = require("../../lib/use-element-snapshot");
37
+ var import_session = require("../session");
38
+ function StatusBannerElement({
39
+ options = {},
40
+ className,
41
+ style,
42
+ onReady,
43
+ onVerifyClick,
44
+ onBannerChange,
45
+ fallback
46
+ }) {
47
+ const payoutsSession = (0, import_session.usePayoutsSession)();
48
+ const ref = (0, import_react.useRef)(null);
49
+ const element = (0, import_react.useMemo)(() => {
50
+ if (!payoutsSession) return null;
51
+ const createdElement = payoutsSession.createElement(
52
+ StatusBannerElement,
53
+ options
54
+ );
55
+ return createdElement;
56
+ }, [payoutsSession]);
57
+ const elementSnapshot = (0, import_use_element_snapshot.useElementSnapshot)(element);
58
+ const isReady = elementSnapshot?.state === "ready";
59
+ (0, import_react.useEffect)(() => {
60
+ if (!element) return;
61
+ element.updateOptions(options);
62
+ }, [options, element]);
63
+ (0, import_react.useEffect)(() => {
64
+ if (!element || !onReady) return;
65
+ element.on("ready", onReady);
66
+ return () => {
67
+ element.off("ready", onReady);
68
+ };
69
+ }, [element, onReady]);
70
+ (0, import_react.useEffect)(() => {
71
+ if (!element || !onVerifyClick) return;
72
+ element.on("verifyClick", onVerifyClick);
73
+ return () => {
74
+ element.off("verifyClick", onVerifyClick);
75
+ };
76
+ }, [element, onVerifyClick]);
77
+ (0, import_react.useEffect)(() => {
78
+ if (!element || !onBannerChange) return;
79
+ element.on("bannerChange", onBannerChange);
80
+ return () => {
81
+ element.off("bannerChange", onBannerChange);
82
+ };
83
+ }, [element, onBannerChange]);
84
+ (0, import_react.useLayoutEffect)(() => {
85
+ if (!element || !ref.current) return;
86
+ element.mount(ref.current);
87
+ return () => {
88
+ element.unmount();
89
+ };
90
+ }, [element, ref.current]);
91
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
92
+ "div",
93
+ {
94
+ style: { ...style, visibility: isReady ? void 0 : "hidden" },
95
+ className,
96
+ ref
97
+ }
98
+ ), !isReady && (fallback ?? null));
99
+ }
100
+ StatusBannerElement.displayName = "StatusBannerElement";
101
+ StatusBannerElement.type = "status-banner-element";
102
+ //# sourceMappingURL=status-banner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/status-banner.tsx"],"sourcesContent":["\"use client\";\n\nimport type {\n\tStatusBannerElementOptions,\n\tStatusBannerType,\n} from \"@whop/embedded-components-vanilla-js/types\";\n\nimport React, { useEffect, useLayoutEffect, useMemo, useRef } from \"react\";\nimport { useElementSnapshot } from \"../../lib/use-element-snapshot\";\nimport { usePayoutsSession } from \"../session\";\n\nexport function StatusBannerElement({\n\toptions = {},\n\tclassName,\n\tstyle,\n\tonReady,\n\tonVerifyClick,\n\tonBannerChange,\n\tfallback,\n}: {\n\toptions?: StatusBannerElementOptions;\n\tclassName?: string;\n\tstyle?: React.CSSProperties;\n\tonReady?: () => void;\n\tonVerifyClick?: (ev: CustomEvent) => void;\n\tonBannerChange?: (ev: CustomEvent, bannerType: StatusBannerType) => void;\n\tfallback?: React.ReactNode;\n}) {\n\tconst payoutsSession = usePayoutsSession();\n\tconst ref = useRef<HTMLDivElement>(null);\n\tconst element = useMemo(() => {\n\t\tif (!payoutsSession) return null;\n\t\tconst createdElement = payoutsSession.createElement(\n\t\t\tStatusBannerElement,\n\t\t\toptions,\n\t\t);\n\t\treturn createdElement;\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [payoutsSession]);\n\n\tconst elementSnapshot = useElementSnapshot(element);\n\n\tconst isReady = elementSnapshot?.state === \"ready\";\n\n\tuseEffect(() => {\n\t\tif (!element) return;\n\t\telement.updateOptions(options);\n\t}, [options, element]);\n\n\tuseEffect(() => {\n\t\tif (!element || !onReady) return;\n\t\telement.on(\"ready\", onReady);\n\t\treturn () => {\n\t\t\telement.off(\"ready\", onReady);\n\t\t};\n\t}, [element, onReady]);\n\n\tuseEffect(() => {\n\t\tif (!element || !onVerifyClick) return;\n\t\telement.on(\"verifyClick\", onVerifyClick);\n\t\treturn () => {\n\t\t\telement.off(\"verifyClick\", onVerifyClick);\n\t\t};\n\t}, [element, onVerifyClick]);\n\n\tuseEffect(() => {\n\t\tif (!element || !onBannerChange) return;\n\t\telement.on(\"bannerChange\", onBannerChange);\n\t\treturn () => {\n\t\t\telement.off(\"bannerChange\", onBannerChange);\n\t\t};\n\t}, [element, onBannerChange]);\n\n\tuseLayoutEffect(() => {\n\t\tif (!element || !ref.current) return;\n\t\telement.mount(ref.current);\n\t\treturn () => {\n\t\t\telement.unmount();\n\t\t};\n\t}, [element, ref.current]);\n\n\treturn (\n\t\t<>\n\t\t\t<div\n\t\t\t\tstyle={{ ...style, visibility: isReady ? undefined : \"hidden\" }}\n\t\t\t\tclassName={className}\n\t\t\t\tref={ref}\n\t\t\t/>\n\t\t\t{!isReady && (fallback ?? null)}\n\t\t</>\n\t);\n}\n\nStatusBannerElement.displayName = \"StatusBannerElement\";\nStatusBannerElement.type = \"status-banner-element\" as const;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,mBAAmE;AACnE,kCAAmC;AACnC,qBAAkC;AAE3B,SAAS,oBAAoB;AAAA,EACnC,UAAU,CAAC;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,GAQG;AACF,QAAM,qBAAiB,kCAAkB;AACzC,QAAM,UAAM,qBAAuB,IAAI;AACvC,QAAM,cAAU,sBAAQ,MAAM;AAC7B,QAAI,CAAC,eAAgB,QAAO;AAC5B,UAAM,iBAAiB,eAAe;AAAA,MACrC;AAAA,MACA;AAAA,IACD;AACA,WAAO;AAAA,EAER,GAAG,CAAC,cAAc,CAAC;AAEnB,QAAM,sBAAkB,gDAAmB,OAAO;AAElD,QAAM,UAAU,iBAAiB,UAAU;AAE3C,8BAAU,MAAM;AACf,QAAI,CAAC,QAAS;AACd,YAAQ,cAAc,OAAO;AAAA,EAC9B,GAAG,CAAC,SAAS,OAAO,CAAC;AAErB,8BAAU,MAAM;AACf,QAAI,CAAC,WAAW,CAAC,QAAS;AAC1B,YAAQ,GAAG,SAAS,OAAO;AAC3B,WAAO,MAAM;AACZ,cAAQ,IAAI,SAAS,OAAO;AAAA,IAC7B;AAAA,EACD,GAAG,CAAC,SAAS,OAAO,CAAC;AAErB,8BAAU,MAAM;AACf,QAAI,CAAC,WAAW,CAAC,cAAe;AAChC,YAAQ,GAAG,eAAe,aAAa;AACvC,WAAO,MAAM;AACZ,cAAQ,IAAI,eAAe,aAAa;AAAA,IACzC;AAAA,EACD,GAAG,CAAC,SAAS,aAAa,CAAC;AAE3B,8BAAU,MAAM;AACf,QAAI,CAAC,WAAW,CAAC,eAAgB;AACjC,YAAQ,GAAG,gBAAgB,cAAc;AACzC,WAAO,MAAM;AACZ,cAAQ,IAAI,gBAAgB,cAAc;AAAA,IAC3C;AAAA,EACD,GAAG,CAAC,SAAS,cAAc,CAAC;AAE5B,oCAAgB,MAAM;AACrB,QAAI,CAAC,WAAW,CAAC,IAAI,QAAS;AAC9B,YAAQ,MAAM,IAAI,OAAO;AACzB,WAAO,MAAM;AACZ,cAAQ,QAAQ;AAAA,IACjB;AAAA,EACD,GAAG,CAAC,SAAS,IAAI,OAAO,CAAC;AAEzB,SACC,6BAAAA,QAAA,2BAAAA,QAAA,gBACC,6BAAAA,QAAA;AAAA,IAAC;AAAA;AAAA,MACA,OAAO,EAAE,GAAG,OAAO,YAAY,UAAU,SAAY,SAAS;AAAA,MAC9D;AAAA,MACA;AAAA;AAAA,EACD,GACC,CAAC,YAAY,YAAY,KAC3B;AAEF;AAEA,oBAAoB,cAAc;AAClC,oBAAoB,OAAO;","names":["React"]}
@@ -0,0 +1,76 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import React, { useEffect, useLayoutEffect, useMemo, useRef } from "react";
4
+ import { useElementSnapshot } from "../../lib/use-element-snapshot.mjs";
5
+ import { usePayoutsSession } from "../session.mjs";
6
+ function StatusBannerElement({ options = {}, className, style, onReady, onVerifyClick, onBannerChange, fallback }) {
7
+ const payoutsSession = usePayoutsSession();
8
+ const ref = useRef(null);
9
+ const element = useMemo(()=>{
10
+ if (!payoutsSession) return null;
11
+ const createdElement = payoutsSession.createElement(StatusBannerElement, options);
12
+ return createdElement;
13
+ }, [
14
+ payoutsSession
15
+ ]);
16
+ const elementSnapshot = useElementSnapshot(element);
17
+ const isReady = elementSnapshot?.state === "ready";
18
+ useEffect(()=>{
19
+ if (!element) return;
20
+ element.updateOptions(options);
21
+ }, [
22
+ options,
23
+ element
24
+ ]);
25
+ useEffect(()=>{
26
+ if (!element || !onReady) return;
27
+ element.on("ready", onReady);
28
+ return ()=>{
29
+ element.off("ready", onReady);
30
+ };
31
+ }, [
32
+ element,
33
+ onReady
34
+ ]);
35
+ useEffect(()=>{
36
+ if (!element || !onVerifyClick) return;
37
+ element.on("verifyClick", onVerifyClick);
38
+ return ()=>{
39
+ element.off("verifyClick", onVerifyClick);
40
+ };
41
+ }, [
42
+ element,
43
+ onVerifyClick
44
+ ]);
45
+ useEffect(()=>{
46
+ if (!element || !onBannerChange) return;
47
+ element.on("bannerChange", onBannerChange);
48
+ return ()=>{
49
+ element.off("bannerChange", onBannerChange);
50
+ };
51
+ }, [
52
+ element,
53
+ onBannerChange
54
+ ]);
55
+ useLayoutEffect(()=>{
56
+ if (!element || !ref.current) return;
57
+ element.mount(ref.current);
58
+ return ()=>{
59
+ element.unmount();
60
+ };
61
+ }, [
62
+ element,
63
+ ref.current
64
+ ]);
65
+ return React.createElement(React.Fragment, null, React.createElement("div", {
66
+ style: {
67
+ ...style,
68
+ visibility: isReady ? void 0 : "hidden"
69
+ },
70
+ className,
71
+ ref
72
+ }), !isReady && (fallback ?? null));
73
+ }
74
+ StatusBannerElement.displayName = "StatusBannerElement";
75
+ StatusBannerElement.type = "status-banner-element";
76
+ export { StatusBannerElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/status-banner.tsx"],"sourcesContent":["\"use client\";\n\nimport type {\n\tStatusBannerElementOptions,\n\tStatusBannerType,\n} from \"@whop/embedded-components-vanilla-js/types\";\n\nimport React, { useEffect, useLayoutEffect, useMemo, useRef } from \"react\";\nimport { useElementSnapshot } from \"../../lib/use-element-snapshot\";\nimport { usePayoutsSession } from \"../session\";\n\nexport function StatusBannerElement({\n\toptions = {},\n\tclassName,\n\tstyle,\n\tonReady,\n\tonVerifyClick,\n\tonBannerChange,\n\tfallback,\n}: {\n\toptions?: StatusBannerElementOptions;\n\tclassName?: string;\n\tstyle?: React.CSSProperties;\n\tonReady?: () => void;\n\tonVerifyClick?: (ev: CustomEvent) => void;\n\tonBannerChange?: (ev: CustomEvent, bannerType: StatusBannerType) => void;\n\tfallback?: React.ReactNode;\n}) {\n\tconst payoutsSession = usePayoutsSession();\n\tconst ref = useRef<HTMLDivElement>(null);\n\tconst element = useMemo(() => {\n\t\tif (!payoutsSession) return null;\n\t\tconst createdElement = payoutsSession.createElement(\n\t\t\tStatusBannerElement,\n\t\t\toptions,\n\t\t);\n\t\treturn createdElement;\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, [payoutsSession]);\n\n\tconst elementSnapshot = useElementSnapshot(element);\n\n\tconst isReady = elementSnapshot?.state === \"ready\";\n\n\tuseEffect(() => {\n\t\tif (!element) return;\n\t\telement.updateOptions(options);\n\t}, [options, element]);\n\n\tuseEffect(() => {\n\t\tif (!element || !onReady) return;\n\t\telement.on(\"ready\", onReady);\n\t\treturn () => {\n\t\t\telement.off(\"ready\", onReady);\n\t\t};\n\t}, [element, onReady]);\n\n\tuseEffect(() => {\n\t\tif (!element || !onVerifyClick) return;\n\t\telement.on(\"verifyClick\", onVerifyClick);\n\t\treturn () => {\n\t\t\telement.off(\"verifyClick\", onVerifyClick);\n\t\t};\n\t}, [element, onVerifyClick]);\n\n\tuseEffect(() => {\n\t\tif (!element || !onBannerChange) return;\n\t\telement.on(\"bannerChange\", onBannerChange);\n\t\treturn () => {\n\t\t\telement.off(\"bannerChange\", onBannerChange);\n\t\t};\n\t}, [element, onBannerChange]);\n\n\tuseLayoutEffect(() => {\n\t\tif (!element || !ref.current) return;\n\t\telement.mount(ref.current);\n\t\treturn () => {\n\t\t\telement.unmount();\n\t\t};\n\t}, [element, ref.current]);\n\n\treturn (\n\t\t<>\n\t\t\t<div\n\t\t\t\tstyle={{ ...style, visibility: isReady ? undefined : \"hidden\" }}\n\t\t\t\tclassName={className}\n\t\t\t\tref={ref}\n\t\t\t/>\n\t\t\t{!isReady && (fallback ?? null)}\n\t\t</>\n\t);\n}\n\nStatusBannerElement.displayName = \"StatusBannerElement\";\nStatusBannerElement.type = \"status-banner-element\" as const;\n"],"mappings":";;AAOA,OAAO,SAAS,WAAW,iBAAiB,SAAS,cAAc;AACnE,SAAS,0BAA0B;AACnC,SAAS,yBAAyB;AAE3B,SAAS,oBAAoB;AAAA,EACnC,UAAU,CAAC;AAAA,EACX;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD,GAQG;AACF,QAAM,iBAAiB,kBAAkB;AACzC,QAAM,MAAM,OAAuB,IAAI;AACvC,QAAM,UAAU,QAAQ,MAAM;AAC7B,QAAI,CAAC,eAAgB,QAAO;AAC5B,UAAM,iBAAiB,eAAe;AAAA,MACrC;AAAA,MACA;AAAA,IACD;AACA,WAAO;AAAA,EAER,GAAG,CAAC,cAAc,CAAC;AAEnB,QAAM,kBAAkB,mBAAmB,OAAO;AAElD,QAAM,UAAU,iBAAiB,UAAU;AAE3C,YAAU,MAAM;AACf,QAAI,CAAC,QAAS;AACd,YAAQ,cAAc,OAAO;AAAA,EAC9B,GAAG,CAAC,SAAS,OAAO,CAAC;AAErB,YAAU,MAAM;AACf,QAAI,CAAC,WAAW,CAAC,QAAS;AAC1B,YAAQ,GAAG,SAAS,OAAO;AAC3B,WAAO,MAAM;AACZ,cAAQ,IAAI,SAAS,OAAO;AAAA,IAC7B;AAAA,EACD,GAAG,CAAC,SAAS,OAAO,CAAC;AAErB,YAAU,MAAM;AACf,QAAI,CAAC,WAAW,CAAC,cAAe;AAChC,YAAQ,GAAG,eAAe,aAAa;AACvC,WAAO,MAAM;AACZ,cAAQ,IAAI,eAAe,aAAa;AAAA,IACzC;AAAA,EACD,GAAG,CAAC,SAAS,aAAa,CAAC;AAE3B,YAAU,MAAM;AACf,QAAI,CAAC,WAAW,CAAC,eAAgB;AACjC,YAAQ,GAAG,gBAAgB,cAAc;AACzC,WAAO,MAAM;AACZ,cAAQ,IAAI,gBAAgB,cAAc;AAAA,IAC3C;AAAA,EACD,GAAG,CAAC,SAAS,cAAc,CAAC;AAE5B,kBAAgB,MAAM;AACrB,QAAI,CAAC,WAAW,CAAC,IAAI,QAAS;AAC9B,YAAQ,MAAM,IAAI,OAAO;AACzB,WAAO,MAAM;AACZ,cAAQ,QAAQ;AAAA,IACjB;AAAA,EACD,GAAG,CAAC,SAAS,IAAI,OAAO,CAAC;AAEzB,SACC,0DACC;AAAA,IAAC;AAAA;AAAA,MACA,OAAO,EAAE,GAAG,OAAO,YAAY,UAAU,SAAY,SAAS;AAAA,MAC9D;AAAA,MACA;AAAA;AAAA,EACD,GACC,CAAC,YAAY,YAAY,KAC3B;AAEF;AAEA,oBAAoB,cAAc;AAClC,oBAAoB,OAAO;","names":[]}
@@ -0,0 +1,11 @@
1
+ import { WithFallbackPropsOptional } from '../../lib/with-fallback.js';
2
+ import * as _whop_embedded_components_vanilla_js_types from '@whop/embedded-components-vanilla-js/types';
3
+ import 'react';
4
+
5
+ declare const TotalBalanceBreakdownElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.TotalBalanceBreakdownElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { TotalBalanceBreakdownElement };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var total_balance_breakdown_exports = {};
21
+ __export(total_balance_breakdown_exports, {
22
+ TotalBalanceBreakdownElement: () => TotalBalanceBreakdownElement
23
+ });
24
+ module.exports = __toCommonJS(total_balance_breakdown_exports);
25
+ var import_with_fallback = require("../../lib/with-fallback");
26
+ const TotalBalanceBreakdownElement = (0, import_with_fallback.withFallback)({
27
+ displayName: "TotalBalanceBreakdownElement",
28
+ type: "total-balance-breakdown-element"
29
+ });
30
+ //# sourceMappingURL=total-balance-breakdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/total-balance-breakdown.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const TotalBalanceBreakdownElement = withFallback({\n\tdisplayName: \"TotalBalanceBreakdownElement\",\n\ttype: \"total-balance-breakdown-element\",\n} as const);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,2BAA6B;AAEtB,MAAM,mCAA+B,mCAAa;AAAA,EACxD,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-NSSMTXJJ.mjs";
3
+ import { withFallback } from "../../lib/with-fallback.mjs";
4
+ const TotalBalanceBreakdownElement = withFallback({
5
+ displayName: "TotalBalanceBreakdownElement",
6
+ type: "total-balance-breakdown-element"
7
+ });
8
+ export { TotalBalanceBreakdownElement };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/payouts/elements/total-balance-breakdown.tsx"],"sourcesContent":["\"use client\";\n\nimport { withFallback } from \"../../lib/with-fallback\";\n\nexport const TotalBalanceBreakdownElement = withFallback({\n\tdisplayName: \"TotalBalanceBreakdownElement\",\n\ttype: \"total-balance-breakdown-element\",\n} as const);\n"],"mappings":";;AAEA,SAAS,oBAAoB;AAEtB,MAAM,+BAA+B,aAAa;AAAA,EACxD,aAAa;AAAA,EACb,MAAM;AACP,CAAU;","names":[]}
@@ -0,0 +1,11 @@
1
+ import { WithFallbackPropsOptional } from '../../lib/with-fallback.js';
2
+ import * as _whop_embedded_components_vanilla_js_types from '@whop/embedded-components-vanilla-js/types';
3
+ import 'react';
4
+
5
+ declare const VerifyElement: {
6
+ (props: WithFallbackPropsOptional<_whop_embedded_components_vanilla_js_types.VerifyElementOptions>): React.ReactNode;
7
+ displayName: string;
8
+ type: string;
9
+ };
10
+
11
+ export { VerifyElement };