@funkit/connect-rn 3.10.1 → 3.11.0

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 (156) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/chunk-5IWD2I7N.js +94 -0
  3. package/dist/chunk-5IWD2I7N.js.map +7 -0
  4. package/dist/chunk-75TJE4HO.js +1656 -0
  5. package/dist/chunk-75TJE4HO.js.map +7 -0
  6. package/dist/chunk-EL2UG6WN.js +1690 -0
  7. package/dist/chunk-EL2UG6WN.js.map +7 -0
  8. package/dist/chunk-FTD4HETU.js +94 -0
  9. package/dist/chunk-FTD4HETU.js.map +7 -0
  10. package/dist/chunk-KQEQB6MZ.js +94 -0
  11. package/dist/chunk-KQEQB6MZ.js.map +7 -0
  12. package/dist/chunk-L26YKVZ7.js +94 -0
  13. package/dist/chunk-L26YKVZ7.js.map +7 -0
  14. package/dist/chunk-LIOQVZV4.js +1753 -0
  15. package/dist/chunk-LIOQVZV4.js.map +7 -0
  16. package/dist/chunk-LKILQNGD.js +1655 -0
  17. package/dist/chunk-LKILQNGD.js.map +7 -0
  18. package/dist/chunk-LPJDURB5.js +1675 -0
  19. package/dist/chunk-LPJDURB5.js.map +7 -0
  20. package/dist/chunk-MJ4QBNTD.js +94 -0
  21. package/dist/chunk-MJ4QBNTD.js.map +7 -0
  22. package/dist/chunk-NNEV7EFP.js +94 -0
  23. package/dist/chunk-NNEV7EFP.js.map +7 -0
  24. package/dist/chunk-NYW4N5SQ.js +1328 -0
  25. package/dist/chunk-NYW4N5SQ.js.map +7 -0
  26. package/dist/chunk-OI54J6E6.js +1951 -0
  27. package/dist/chunk-OI54J6E6.js.map +7 -0
  28. package/dist/chunk-OIXZMXFJ.js +1681 -0
  29. package/dist/chunk-OIXZMXFJ.js.map +7 -0
  30. package/dist/chunk-OQVPCP4W.js +94 -0
  31. package/dist/chunk-OQVPCP4W.js.map +7 -0
  32. package/dist/chunk-PHUM52HD.js +1542 -0
  33. package/dist/chunk-PHUM52HD.js.map +7 -0
  34. package/dist/chunk-Q5OFOALX.js +94 -0
  35. package/dist/chunk-Q5OFOALX.js.map +7 -0
  36. package/dist/chunk-QNAMNQZX.js +1660 -0
  37. package/dist/chunk-QNAMNQZX.js.map +7 -0
  38. package/dist/chunk-RTQ4MJHE.js +1209 -0
  39. package/dist/chunk-RTQ4MJHE.js.map +7 -0
  40. package/dist/chunk-V23HUIDS.js +1744 -0
  41. package/dist/chunk-V23HUIDS.js.map +7 -0
  42. package/dist/chunk-V4LN3XNI.js +94 -0
  43. package/dist/chunk-V4LN3XNI.js.map +7 -0
  44. package/dist/chunk-VE6N6BHJ.js +94 -0
  45. package/dist/chunk-VE6N6BHJ.js.map +7 -0
  46. package/dist/chunk-VL4WQDU7.js +1654 -0
  47. package/dist/chunk-VL4WQDU7.js.map +7 -0
  48. package/dist/chunk-X2X2GENE.js +94 -0
  49. package/dist/chunk-X2X2GENE.js.map +7 -0
  50. package/dist/clients/lighter.js +1 -1
  51. package/dist/clients/nado.js +2 -2
  52. package/dist/index.d.ts +2 -1
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +2461 -1185
  55. package/dist/index.js.map +4 -4
  56. package/dist/src/branding/BrandingContext.d.ts +15 -0
  57. package/dist/src/branding/BrandingContext.d.ts.map +1 -0
  58. package/dist/src/components/AccountBalanceChip.d.ts +19 -0
  59. package/dist/src/components/AccountBalanceChip.d.ts.map +1 -0
  60. package/dist/src/components/AmountChipsRow.d.ts +17 -0
  61. package/dist/src/components/AmountChipsRow.d.ts.map +1 -0
  62. package/dist/src/components/AmountInput.d.ts +40 -0
  63. package/dist/src/components/AmountInput.d.ts.map +1 -0
  64. package/dist/src/components/AttributionWatermark.d.ts +10 -0
  65. package/dist/src/components/AttributionWatermark.d.ts.map +1 -0
  66. package/dist/src/components/Grabber.d.ts +7 -1
  67. package/dist/src/components/Grabber.d.ts.map +1 -1
  68. package/dist/src/components/PillButton.d.ts +3 -1
  69. package/dist/src/components/PillButton.d.ts.map +1 -1
  70. package/dist/src/components/RollingAmount.d.ts +20 -0
  71. package/dist/src/components/RollingAmount.d.ts.map +1 -0
  72. package/dist/src/components/SegmentedControl.d.ts +12 -0
  73. package/dist/src/components/SegmentedControl.d.ts.map +1 -0
  74. package/dist/src/components/WithdrawFeeSummary.d.ts +23 -0
  75. package/dist/src/components/WithdrawFeeSummary.d.ts.map +1 -0
  76. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  77. package/dist/src/components/v2/NumPad.d.ts.map +1 -1
  78. package/dist/src/fiat/FiatStatusScreen.d.ts +19 -0
  79. package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -0
  80. package/dist/src/fiat/SurfaceSlot.d.ts +8 -0
  81. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -0
  82. package/dist/src/fiat/ctaLabel.d.ts +19 -0
  83. package/dist/src/fiat/ctaLabel.d.ts.map +1 -0
  84. package/dist/src/fiat/providers/TransakApplePaySurface.d.ts +7 -0
  85. package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +1 -0
  86. package/dist/src/fiat/renderCaptureSurface.d.ts +12 -0
  87. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -0
  88. package/dist/src/fiat/stepDetails.d.ts +18 -0
  89. package/dist/src/fiat/stepDetails.d.ts.map +1 -0
  90. package/dist/src/flow/BackdropBlurContext.d.ts +9 -0
  91. package/dist/src/flow/BackdropBlurContext.d.ts.map +1 -0
  92. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  93. package/dist/src/flow/DepositFlowContent.d.ts +1 -3
  94. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  95. package/dist/src/flow/FiatDepositAmountStep.d.ts +9 -0
  96. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -0
  97. package/dist/src/flow/FlowSheet.d.ts +34 -5
  98. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  99. package/dist/src/flow/FunkitFlowProvider.d.ts +1 -1
  100. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  101. package/dist/src/flow/WithdrawalFlowContent.d.ts +1 -4
  102. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  103. package/dist/src/flow/depositFlowConfig.d.ts +24 -3
  104. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  105. package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
  106. package/dist/src/hooks/usePressScale.d.ts +18 -0
  107. package/dist/src/hooks/usePressScale.d.ts.map +1 -0
  108. package/dist/src/identity/IdentityContext.d.ts +10 -0
  109. package/dist/src/identity/IdentityContext.d.ts.map +1 -1
  110. package/dist/src/logging/consoleLogTransport.d.ts +10 -0
  111. package/dist/src/logging/consoleLogTransport.d.ts.map +1 -0
  112. package/dist/src/providers/FunkitProvider.d.ts +6 -5
  113. package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
  114. package/dist/src/providers/NativeCapabilitiesContext.d.ts +43 -0
  115. package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -0
  116. package/dist/src/screens/AddMoneyScreen.d.ts +86 -0
  117. package/dist/src/screens/AddMoneyScreen.d.ts.map +1 -0
  118. package/dist/src/screens/AvailableChainsScreen.d.ts +32 -0
  119. package/dist/src/screens/AvailableChainsScreen.d.ts.map +1 -0
  120. package/dist/src/screens/DepositAmountScreen.d.ts +27 -11
  121. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  122. package/dist/src/screens/FeeDetailsScreen.d.ts +36 -0
  123. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -0
  124. package/dist/src/screens/NetworkSelector.d.ts +31 -0
  125. package/dist/src/screens/NetworkSelector.d.ts.map +1 -0
  126. package/dist/src/screens/SelectDestinationScreen.d.ts +19 -0
  127. package/dist/src/screens/SelectDestinationScreen.d.ts.map +1 -0
  128. package/dist/src/screens/WithdrawCryptoCta.d.ts +20 -0
  129. package/dist/src/screens/WithdrawCryptoCta.d.ts.map +1 -0
  130. package/dist/src/screens/WithdrawCryptoForm.d.ts +28 -0
  131. package/dist/src/screens/WithdrawCryptoForm.d.ts.map +1 -0
  132. package/dist/src/screens/WithdrawCryptoScreen.d.ts +17 -0
  133. package/dist/src/screens/WithdrawCryptoScreen.d.ts.map +1 -0
  134. package/dist/src/statsig/StatsigProviderRN.d.ts +7 -0
  135. package/dist/src/statsig/StatsigProviderRN.d.ts.map +1 -0
  136. package/dist/src/statsig/useClientBootstrapInitRN.d.ts +4 -0
  137. package/dist/src/statsig/useClientBootstrapInitRN.d.ts.map +1 -0
  138. package/dist/src/theme/buildFunkitTheme.d.ts +8 -0
  139. package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
  140. package/dist/src/theme/restyle.d.ts +264 -0
  141. package/dist/src/theme/restyle.d.ts.map +1 -1
  142. package/dist/src/theme/toRestyleTheme.d.ts +24 -0
  143. package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
  144. package/dist/src/theme/tokens.d.ts +4 -1
  145. package/dist/src/theme/tokens.d.ts.map +1 -1
  146. package/dist/src/utils/formatAmount.d.ts +5 -0
  147. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  148. package/dist/src/utils/numpadInput.d.ts +2 -1
  149. package/dist/src/utils/numpadInput.d.ts.map +1 -1
  150. package/dist/src/utils/v2/numberFormat.d.ts +36 -0
  151. package/dist/src/utils/v2/numberFormat.d.ts.map +1 -0
  152. package/dist/src/utils/withAlpha.d.ts +13 -0
  153. package/dist/src/utils/withAlpha.d.ts.map +1 -0
  154. package/dist/src/withdrawal/publicClient.d.ts +10 -0
  155. package/dist/src/withdrawal/publicClient.d.ts.map +1 -0
  156. package/package.json +6 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @funkit/connect-rn
2
2
 
3
+ ## 3.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3836140: Groundwork for the deposit fee-details drawer (screen not yet reachable).
8
+ - 74c61e5: Deposit fee disclosure fades off while typing and fades back in with the repriced fee.
9
+ - b9b8a75: The V2 amount screen can now quote fiat deposits and render backend-selected payment surfaces in place.
10
+ - 555ef9e: feat(connect-rn): hold delete on the deposit numpad to clear the amount
11
+ - a3bf723: Deposit fee line opens a fee-details drawer.
12
+ - f2db1ac: Deposit amount screen shows a "powered by Fun" mark, which hosts can turn off in their config.
13
+
14
+ ### Patch Changes
15
+
16
+ - b5d384e: Pass the host's user auth-token minter through to the fiat flow.
17
+ - e82489d: The V2 deposit amount surface is drawn as glass over the host app.
18
+ - 5a96429: V2 deposit amount stays centred while it fits and, once wider than the screen, pins its left edge and scales down from there.
19
+ - Updated dependencies [b5d384e]
20
+ - Updated dependencies [b5d384e]
21
+ - Updated dependencies [67bcc99]
22
+ - Updated dependencies [60ffb40]
23
+ - Updated dependencies [838b4a7]
24
+ - Updated dependencies [60ffb40]
25
+ - Updated dependencies [c60f3b1]
26
+ - Updated dependencies [d6629ee]
27
+ - Updated dependencies [3b5f688]
28
+ - @funkit/api-base@7.3.0
29
+ - @funkit/connect-core@4.3.0
30
+ - @funkit/chains@2.2.1
31
+
3
32
  ## 3.10.1
4
33
 
5
34
  ### Patch Changes
@@ -0,0 +1,94 @@
1
+ import {
2
+ logger,
3
+ useFunkitIdentity
4
+ } from "./chunk-QNAMNQZX.js";
5
+
6
+ // src/statsig/useDynamicConfig.ts
7
+ import {
8
+ useDynamicConfig as useCoreDynamicConfig
9
+ } from "@funkit/connect-core";
10
+
11
+ // src/geo/useUserIpInfo.ts
12
+ import { useUserIpInfo as useCoreUserIpInfo } from "@funkit/connect-core";
13
+ function useUserIpInfo() {
14
+ const { apiKey } = useFunkitIdentity();
15
+ return useCoreUserIpInfo({
16
+ logger,
17
+ apiKey,
18
+ enabled: true,
19
+ staleTime: Number.POSITIVE_INFINITY
20
+ });
21
+ }
22
+
23
+ // src/statsig/useDynamicConfig.ts
24
+ var useDynamicConfig = (name, options) => {
25
+ const { userIpInfo } = useUserIpInfo();
26
+ return useCoreDynamicConfig(name, {
27
+ bypassCountryCode: options?.bypassCountryCode,
28
+ countryCode: userIpInfo?.alpha2
29
+ });
30
+ };
31
+
32
+ // src/withdrawal/useSourceTokenUsdPrice.ts
33
+ import { getAssetPriceInfoWithFallback } from "@funkit/connect-core";
34
+ import { useQuery } from "@tanstack/react-query";
35
+
36
+ // src/hooks/useIsStablecoin.ts
37
+ import { useCallback } from "react";
38
+ function useIsStablecoin() {
39
+ const stablecoinSymbols = useDynamicConfig("stablecoinsymbols");
40
+ return useCallback(
41
+ (symbol) => stablecoinSymbols.some(
42
+ (stable) => symbol.toLowerCase().includes(stable.toLowerCase())
43
+ ),
44
+ [stablecoinSymbols]
45
+ );
46
+ }
47
+
48
+ // src/withdrawal/useSourceTokenUsdPrice.ts
49
+ var SOURCE_TOKEN_PRICE_QUERY_KEY = "sourceTokenUsdPrice";
50
+ var PRICE_STALE_TIME_MS = 6e4;
51
+ var STABLECOIN_USD_PRICE = 1;
52
+ function useSourceTokenUsdPrice(sourceToken) {
53
+ const { apiKey } = useFunkitIdentity();
54
+ const isStablecoin = useIsStablecoin();
55
+ const isStable = isStablecoin(sourceToken.symbol);
56
+ const { data } = useQuery({
57
+ queryKey: [
58
+ SOURCE_TOKEN_PRICE_QUERY_KEY,
59
+ apiKey,
60
+ sourceToken.chainId,
61
+ sourceToken.address
62
+ ],
63
+ queryFn: async () => {
64
+ const info = await getAssetPriceInfoWithFallback({
65
+ chainId: sourceToken.chainId,
66
+ assetTokenAddress: sourceToken.address,
67
+ apiKey,
68
+ logger
69
+ });
70
+ const unitPrice = info.unitPrice;
71
+ if (!Number.isFinite(unitPrice) || unitPrice <= 0) {
72
+ logger.warn("connect-rn:withdrawal:unusable_source_price", {
73
+ chainId: sourceToken.chainId,
74
+ address: sourceToken.address,
75
+ unitPrice
76
+ });
77
+ return 0;
78
+ }
79
+ return unitPrice;
80
+ },
81
+ enabled: !!apiKey && !isStable,
82
+ staleTime: PRICE_STALE_TIME_MS,
83
+ retry: false
84
+ });
85
+ return isStable ? STABLECOIN_USD_PRICE : data ?? 0;
86
+ }
87
+
88
+ export {
89
+ useUserIpInfo,
90
+ useDynamicConfig,
91
+ useIsStablecoin,
92
+ useSourceTokenUsdPrice
93
+ };
94
+ //# sourceMappingURL=chunk-5IWD2I7N.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/statsig/useDynamicConfig.ts", "../src/geo/useUserIpInfo.ts", "../src/withdrawal/useSourceTokenUsdPrice.ts", "../src/hooks/useIsStablecoin.ts"],
4
+ "sourcesContent": ["import {\n type DynamicConfigName,\n type DynamicConfigValue,\n useDynamicConfig as useCoreDynamicConfig,\n} from '@funkit/connect-core'\n\nimport { useUserIpInfo } from '../geo/useUserIpInfo'\n\n// RN counterpart of `@funkit/connect`'s `hooks/statsig/useDynamicConfig`. The\n// core hook takes `countryCode` as a parameter so it stays platform-agnostic;\n// this wrapper threads the user's IP-derived `alpha2` (Moonpay/ipapi) so\n// country-conditional variant configs (e.g. `enableswappeddeposit`) resolve\n// against the real region instead of falling to their default branch.\nexport type { DynamicConfigName, DynamicConfigValue }\n\nexport const useDynamicConfig = <Name extends DynamicConfigName>(\n name: Name,\n options?: {\n bypassCountryCode?: boolean\n },\n): DynamicConfigValue<Name> => {\n const { userIpInfo } = useUserIpInfo()\n return useCoreDynamicConfig(name, {\n bypassCountryCode: options?.bypassCountryCode,\n countryCode: userIpInfo?.alpha2,\n })\n}\n", "import { useUserIpInfo as useCoreUserIpInfo } from '@funkit/connect-core'\n\nimport { useFunkitIdentity } from '../identity/IdentityContext'\nimport { logger } from '../logging/logger'\n\n// Re-exported so existing RN importers (isCountryBlocked, the flow hooks, tests)\n// keep their type source unchanged after the fetch logic moved to core.\nexport type {\n FunkitUserIpInfo,\n UseUserIpInfoResult,\n} from '@funkit/connect-core'\n\n// Thin RN wrapper over the shared core `useUserIpInfo` (V1 PR13 moved the\n// Moonpay\u2192ipapi fetch logic there so web and RN don't duplicate it). RN is\n// login-agnostic, so the lookup always runs (`enabled: true`); web's wrapper\n// gates on `isUserLoggedIn` instead. `apiKey` lets the core hook reach the\n// first-party geo endpoint; the chain it picks is Statsig-driven.\nexport function useUserIpInfo() {\n const { apiKey } = useFunkitIdentity()\n\n // Login-agnostic + session-stable: always run, never go stale.\n return useCoreUserIpInfo({\n logger,\n apiKey,\n enabled: true,\n staleTime: Number.POSITIVE_INFINITY,\n })\n}\n", "import { getAssetPriceInfoWithFallback } from '@funkit/connect-core'\nimport { useQuery } from '@tanstack/react-query'\n\nimport type { WithdrawalToken } from '../flow/withdrawalFlowConfig'\nimport { useIsStablecoin } from '../hooks/useIsStablecoin'\nimport { useFunkitIdentity } from '../identity/IdentityContext'\nimport { logger } from '../logging/logger'\n\nconst SOURCE_TOKEN_PRICE_QUERY_KEY = 'sourceTokenUsdPrice'\n\n/** Long enough that typing doesn't refetch, short enough to stay honest. */\nconst PRICE_STALE_TIME_MS = 60_000\n\n/** What a dollar stablecoin is worth, without asking anyone. */\nconst STABLECOIN_USD_PRICE = 1\n\n/**\n * Spot USD price of the source token, for the USD floor and ceiling the host\n * configures (`getMinWithdrawalUSD` / `getMaxWithdrawalUSD`).\n *\n * A dollar stablecoin is priced from its symbol and never fetched, as web's\n * `useAssetAddressPrice` does \u2014 it is the common withdrawal source, and the\n * amount screen was waiting on a round trip to be told a dollar is a dollar.\n *\n * `0` means \"unknown\", which is what the core validator reads as \"no price\" \u2014\n * so a failed or in-flight lookup leaves the USD limits inert rather than\n * judging an amount against a made-up rate. Per-token limits and the balance\n * check are unaffected either way.\n *\n * Not every source has a price: Lighter's L2 assets are addressed by index, not\n * by an ERC-20 funkit's price API knows, so that lookup 404s and core's Relay\n * fallback is what prices them.\n */\nexport function useSourceTokenUsdPrice(sourceToken: WithdrawalToken): number {\n const { apiKey } = useFunkitIdentity()\n const isStablecoin = useIsStablecoin()\n const isStable = isStablecoin(sourceToken.symbol)\n\n const { data } = useQuery({\n queryKey: [\n SOURCE_TOKEN_PRICE_QUERY_KEY,\n apiKey,\n sourceToken.chainId,\n sourceToken.address,\n ],\n queryFn: async () => {\n const info = await getAssetPriceInfoWithFallback({\n chainId: sourceToken.chainId,\n assetTokenAddress: sourceToken.address,\n apiKey,\n logger,\n })\n const unitPrice = info.unitPrice\n if (!Number.isFinite(unitPrice) || unitPrice <= 0) {\n // Reported here, not on read: a cached bad price would otherwise warn\n // on every render. A non-positive price would silently scale every USD\n // limit to nothing.\n logger.warn('connect-rn:withdrawal:unusable_source_price', {\n chainId: sourceToken.chainId,\n address: sourceToken.address,\n unitPrice,\n })\n return 0\n }\n return unitPrice\n },\n enabled: !!apiKey && !isStable,\n staleTime: PRICE_STALE_TIME_MS,\n retry: false,\n })\n\n return isStable ? STABLECOIN_USD_PRICE : (data ?? 0)\n}\n", "import { useCallback } from 'react'\nimport { useDynamicConfig } from '../statsig/useDynamicConfig'\n\nexport type IsStablecoinFn = (symbol: string) => boolean\n\nexport function useIsStablecoin(): IsStablecoinFn {\n const stablecoinSymbols = useDynamicConfig('stablecoinsymbols')\n return useCallback(\n (symbol: string) =>\n stablecoinSymbols.some((stable) =>\n symbol.toLowerCase().includes(stable.toLowerCase()),\n ),\n [stablecoinSymbols],\n )\n}\n"],
5
+ "mappings": ";;;;;;AAAA;AAAA,EAGE,oBAAoB;AAAA,OACf;;;ACJP,SAAS,iBAAiB,yBAAyB;AAiB5C,SAAS,gBAAgB;AAC9B,QAAM,EAAE,OAAO,IAAI,kBAAkB;AAGrC,SAAO,kBAAkB;AAAA,IACvB;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT,WAAW,OAAO;AAAA,EACpB,CAAC;AACH;;;ADZO,IAAM,mBAAmB,CAC9B,MACA,YAG6B;AAC7B,QAAM,EAAE,WAAW,IAAI,cAAc;AACrC,SAAO,qBAAqB,MAAM;AAAA,IAChC,mBAAmB,SAAS;AAAA,IAC5B,aAAa,YAAY;AAAA,EAC3B,CAAC;AACH;;;AE1BA,SAAS,qCAAqC;AAC9C,SAAS,gBAAgB;;;ACDzB,SAAS,mBAAmB;AAKrB,SAAS,kBAAkC;AAChD,QAAM,oBAAoB,iBAAiB,mBAAmB;AAC9D,SAAO;AAAA,IACL,CAAC,WACC,kBAAkB;AAAA,MAAK,CAAC,WACtB,OAAO,YAAY,EAAE,SAAS,OAAO,YAAY,CAAC;AAAA,IACpD;AAAA,IACF,CAAC,iBAAiB;AAAA,EACpB;AACF;;;ADNA,IAAM,+BAA+B;AAGrC,IAAM,sBAAsB;AAG5B,IAAM,uBAAuB;AAmBtB,SAAS,uBAAuB,aAAsC;AAC3E,QAAM,EAAE,OAAO,IAAI,kBAAkB;AACrC,QAAM,eAAe,gBAAgB;AACrC,QAAM,WAAW,aAAa,YAAY,MAAM;AAEhD,QAAM,EAAE,KAAK,IAAI,SAAS;AAAA,IACxB,UAAU;AAAA,MACR;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ,YAAY;AAAA,IACd;AAAA,IACA,SAAS,YAAY;AACnB,YAAM,OAAO,MAAM,8BAA8B;AAAA,QAC/C,SAAS,YAAY;AAAA,QACrB,mBAAmB,YAAY;AAAA,QAC/B;AAAA,QACA;AAAA,MACF,CAAC;AACD,YAAM,YAAY,KAAK;AACvB,UAAI,CAAC,OAAO,SAAS,SAAS,KAAK,aAAa,GAAG;AAIjD,eAAO,KAAK,+CAA+C;AAAA,UACzD,SAAS,YAAY;AAAA,UACrB,SAAS,YAAY;AAAA,UACrB;AAAA,QACF,CAAC;AACD,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT;AAAA,IACA,SAAS,CAAC,CAAC,UAAU,CAAC;AAAA,IACtB,WAAW;AAAA,IACX,OAAO;AAAA,EACT,CAAC;AAED,SAAO,WAAW,uBAAwB,QAAQ;AACpD;",
6
+ "names": []
7
+ }