@moneylion/react-native-offer-carousel 1.0.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 (598) hide show
  1. package/README.md +1 -0
  2. package/lib/commonjs/apiEnvironment.js +24 -0
  3. package/lib/commonjs/apiEnvironment.js.map +1 -0
  4. package/lib/commonjs/components/Button/index.js +119 -0
  5. package/lib/commonjs/components/Button/index.js.map +1 -0
  6. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js +40 -0
  7. package/lib/commonjs/components/Cards/VideosCard/VideoContent.js.map +1 -0
  8. package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +56 -0
  9. package/lib/commonjs/components/Cards/VideosCard/VideosCard.js.map +1 -0
  10. package/lib/commonjs/components/Cards/index.js +3 -0
  11. package/lib/commonjs/components/Cards/index.js.map +1 -0
  12. package/lib/commonjs/components/Common/BaseOfferCard/Content/Content.js +20 -0
  13. package/lib/commonjs/components/Common/BaseOfferCard/Content/Content.js.map +1 -0
  14. package/lib/commonjs/components/Common/BaseOfferCard/Content/index.js +17 -0
  15. package/lib/commonjs/components/Common/BaseOfferCard/Content/index.js.map +1 -0
  16. package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js +83 -0
  17. package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -0
  18. package/lib/commonjs/components/Common/BaseOfferCard/Stat/index.js +17 -0
  19. package/lib/commonjs/components/Common/BaseOfferCard/Stat/index.js.map +1 -0
  20. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js +18 -0
  21. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js.map +1 -0
  22. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/index.js +17 -0
  23. package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/index.js.map +1 -0
  24. package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js +29 -0
  25. package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +1 -0
  26. package/lib/commonjs/components/Common/BaseOfferCard/index.js +254 -0
  27. package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -0
  28. package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js +45 -0
  29. package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js.map +1 -0
  30. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js +72 -0
  31. package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -0
  32. package/lib/commonjs/components/Common/DynamicOfferCard/index.js +37 -0
  33. package/lib/commonjs/components/Common/DynamicOfferCard/index.js.map +1 -0
  34. package/lib/commonjs/components/Common/index.js +27 -0
  35. package/lib/commonjs/components/Common/index.js.map +1 -0
  36. package/lib/commonjs/components/Divider/index.js +39 -0
  37. package/lib/commonjs/components/Divider/index.js.map +1 -0
  38. package/lib/commonjs/components/DynamicOffers/DynamicOffers.js +32 -0
  39. package/lib/commonjs/components/DynamicOffers/DynamicOffers.js.map +1 -0
  40. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js +49 -0
  41. package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js.map +1 -0
  42. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +205 -0
  43. package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -0
  44. package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js +28 -0
  45. package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -0
  46. package/lib/commonjs/components/DynamicOffers/Render/Offer.js +70 -0
  47. package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -0
  48. package/lib/commonjs/components/DynamicOffers/Render/index.js +20 -0
  49. package/lib/commonjs/components/DynamicOffers/Render/index.js.map +1 -0
  50. package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js +65 -0
  51. package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js.map +1 -0
  52. package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js +15 -0
  53. package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -0
  54. package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js +53 -0
  55. package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js.map +1 -0
  56. package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js +17 -0
  57. package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -0
  58. package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js +47 -0
  59. package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -0
  60. package/lib/commonjs/components/Layouts/index.js +27 -0
  61. package/lib/commonjs/components/Layouts/index.js.map +1 -0
  62. package/lib/commonjs/components/Modal/DescriptionPoints.js +28 -0
  63. package/lib/commonjs/components/Modal/DescriptionPoints.js.map +1 -0
  64. package/lib/commonjs/components/Modal/Disclaimer.js +27 -0
  65. package/lib/commonjs/components/Modal/Disclaimer.js.map +1 -0
  66. package/lib/commonjs/components/Modal/OfferDetailsModal.js +95 -0
  67. package/lib/commonjs/components/Modal/OfferDetailsModal.js.map +1 -0
  68. package/lib/commonjs/components/MoneyLionOfferCarousel.js +174 -0
  69. package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -0
  70. package/lib/commonjs/components/Skeleton/Skeleton.js +65 -0
  71. package/lib/commonjs/components/Skeleton/Skeleton.js.map +1 -0
  72. package/lib/commonjs/components/Skeleton/index.js +10 -0
  73. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  74. package/lib/commonjs/components/Text/index.js +184 -0
  75. package/lib/commonjs/components/Text/index.js.map +1 -0
  76. package/lib/commonjs/components/View/index.js +162 -0
  77. package/lib/commonjs/components/View/index.js.map +1 -0
  78. package/lib/commonjs/context/CNFProvider.js +2 -0
  79. package/lib/commonjs/context/CNFProvider.js.map +1 -0
  80. package/lib/commonjs/context/EventHandlerProvider.js +25 -0
  81. package/lib/commonjs/context/EventHandlerProvider.js.map +1 -0
  82. package/lib/commonjs/context/ThemeProvider.js +59 -0
  83. package/lib/commonjs/context/ThemeProvider.js.map +1 -0
  84. package/lib/commonjs/deps/configuration.js +2 -0
  85. package/lib/commonjs/deps/configuration.js.map +1 -0
  86. package/lib/commonjs/index.js +17 -0
  87. package/lib/commonjs/index.js.map +1 -0
  88. package/lib/commonjs/pageData.js +93 -0
  89. package/lib/commonjs/pageData.js.map +1 -0
  90. package/lib/commonjs/services/getDynamicOffers.js +55 -0
  91. package/lib/commonjs/services/getDynamicOffers.js.map +1 -0
  92. package/lib/commonjs/services/getProductTypes.js +50 -0
  93. package/lib/commonjs/services/getProductTypes.js.map +1 -0
  94. package/lib/commonjs/services/getProductTypesByQuery.js +55 -0
  95. package/lib/commonjs/services/getProductTypesByQuery.js.map +1 -0
  96. package/lib/commonjs/utils/addClientTagsToOfferLinks.js +25 -0
  97. package/lib/commonjs/utils/addClientTagsToOfferLinks.js.map +1 -0
  98. package/lib/commonjs/utils/formatOfferUrl.js +31 -0
  99. package/lib/commonjs/utils/formatOfferUrl.js.map +1 -0
  100. package/lib/commonjs/utils/getDefaultPaletteColor.js +20 -0
  101. package/lib/commonjs/utils/getDefaultPaletteColor.js.map +1 -0
  102. package/lib/commonjs/utils/getDefaultProductType.js +9 -0
  103. package/lib/commonjs/utils/getDefaultProductType.js.map +1 -0
  104. package/lib/commonjs/utils/getEnableUseCachedOffers.js +21 -0
  105. package/lib/commonjs/utils/getEnableUseCachedOffers.js.map +1 -0
  106. package/lib/commonjs/utils/getOffersBasedOnLayout.js +48 -0
  107. package/lib/commonjs/utils/getOffersBasedOnLayout.js.map +1 -0
  108. package/lib/commonjs/utils/getOffersByProductTypes.js +31 -0
  109. package/lib/commonjs/utils/getOffersByProductTypes.js.map +1 -0
  110. package/lib/commonjs/utils/getProductTypesDefinition.js +17 -0
  111. package/lib/commonjs/utils/getProductTypesDefinition.js.map +1 -0
  112. package/lib/commonjs/utils/index.js +116 -0
  113. package/lib/commonjs/utils/index.js.map +1 -0
  114. package/lib/commonjs/utils/layouts.js +27 -0
  115. package/lib/commonjs/utils/layouts.js.map +1 -0
  116. package/lib/commonjs/utils/parseStringProductTypes.js +14 -0
  117. package/lib/commonjs/utils/parseStringProductTypes.js.map +1 -0
  118. package/lib/commonjs/utils/resolveProductTypes.js +12 -0
  119. package/lib/commonjs/utils/resolveProductTypes.js.map +1 -0
  120. package/lib/commonjs/utils/selectDynamicOffers.js +13 -0
  121. package/lib/commonjs/utils/selectDynamicOffers.js.map +1 -0
  122. package/lib/commonjs/utils/sortOffersByRecommendationScore.js +12 -0
  123. package/lib/commonjs/utils/sortOffersByRecommendationScore.js.map +1 -0
  124. package/lib/commonjs/version.js +10 -0
  125. package/lib/commonjs/version.js.map +1 -0
  126. package/lib/module/apiEnvironment.js +15 -0
  127. package/lib/module/apiEnvironment.js.map +1 -0
  128. package/lib/module/components/Button/index.js +111 -0
  129. package/lib/module/components/Button/index.js.map +1 -0
  130. package/lib/module/components/Cards/VideosCard/VideoContent.js +32 -0
  131. package/lib/module/components/Cards/VideosCard/VideoContent.js.map +1 -0
  132. package/lib/module/components/Cards/VideosCard/VideosCard.js +55 -0
  133. package/lib/module/components/Cards/VideosCard/VideosCard.js.map +1 -0
  134. package/lib/module/components/Cards/index.js +2 -0
  135. package/lib/module/components/Cards/index.js.map +1 -0
  136. package/lib/module/components/Common/BaseOfferCard/Content/Content.js +13 -0
  137. package/lib/module/components/Common/BaseOfferCard/Content/Content.js.map +1 -0
  138. package/lib/module/components/Common/BaseOfferCard/Content/index.js +2 -0
  139. package/lib/module/components/Common/BaseOfferCard/Content/index.js.map +1 -0
  140. package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js +76 -0
  141. package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -0
  142. package/lib/module/components/Common/BaseOfferCard/Stat/index.js +2 -0
  143. package/lib/module/components/Common/BaseOfferCard/Stat/index.js.map +1 -0
  144. package/lib/module/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js +10 -0
  145. package/lib/module/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js.map +1 -0
  146. package/lib/module/components/Common/BaseOfferCard/StatsContainer/index.js +2 -0
  147. package/lib/module/components/Common/BaseOfferCard/StatsContainer/index.js.map +1 -0
  148. package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js +21 -0
  149. package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +1 -0
  150. package/lib/module/components/Common/BaseOfferCard/index.js +248 -0
  151. package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -0
  152. package/lib/module/components/Common/DynamicOfferCard/CallToAction.js +37 -0
  153. package/lib/module/components/Common/DynamicOfferCard/CallToAction.js.map +1 -0
  154. package/lib/module/components/Common/DynamicOfferCard/SeeMore.js +62 -0
  155. package/lib/module/components/Common/DynamicOfferCard/SeeMore.js.map +1 -0
  156. package/lib/module/components/Common/DynamicOfferCard/index.js +31 -0
  157. package/lib/module/components/Common/DynamicOfferCard/index.js.map +1 -0
  158. package/lib/module/components/Common/index.js +4 -0
  159. package/lib/module/components/Common/index.js.map +1 -0
  160. package/lib/module/components/Divider/index.js +33 -0
  161. package/lib/module/components/Divider/index.js.map +1 -0
  162. package/lib/module/components/DynamicOffers/DynamicOffers.js +24 -0
  163. package/lib/module/components/DynamicOffers/DynamicOffers.js.map +1 -0
  164. package/lib/module/components/DynamicOffers/DynamicOffersContainer.js +40 -0
  165. package/lib/module/components/DynamicOffers/DynamicOffersContainer.js.map +1 -0
  166. package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js +196 -0
  167. package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -0
  168. package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js +21 -0
  169. package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -0
  170. package/lib/module/components/DynamicOffers/Render/Offer.js +61 -0
  171. package/lib/module/components/DynamicOffers/Render/Offer.js.map +1 -0
  172. package/lib/module/components/DynamicOffers/Render/index.js +3 -0
  173. package/lib/module/components/DynamicOffers/Render/index.js.map +1 -0
  174. package/lib/module/components/Layouts/CreditCardOfferCard/index.js +57 -0
  175. package/lib/module/components/Layouts/CreditCardOfferCard/index.js.map +1 -0
  176. package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js +8 -0
  177. package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -0
  178. package/lib/module/components/Layouts/DefaultOfferCard/index.js +45 -0
  179. package/lib/module/components/Layouts/DefaultOfferCard/index.js.map +1 -0
  180. package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js +10 -0
  181. package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -0
  182. package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js +39 -0
  183. package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -0
  184. package/lib/module/components/Layouts/index.js +4 -0
  185. package/lib/module/components/Layouts/index.js.map +1 -0
  186. package/lib/module/components/Modal/DescriptionPoints.js +21 -0
  187. package/lib/module/components/Modal/DescriptionPoints.js.map +1 -0
  188. package/lib/module/components/Modal/Disclaimer.js +20 -0
  189. package/lib/module/components/Modal/Disclaimer.js.map +1 -0
  190. package/lib/module/components/Modal/OfferDetailsModal.js +87 -0
  191. package/lib/module/components/Modal/OfferDetailsModal.js.map +1 -0
  192. package/lib/module/components/MoneyLionOfferCarousel.js +165 -0
  193. package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -0
  194. package/lib/module/components/Skeleton/Skeleton.js +57 -0
  195. package/lib/module/components/Skeleton/Skeleton.js.map +1 -0
  196. package/lib/module/components/Skeleton/index.js +3 -0
  197. package/lib/module/components/Skeleton/index.js.map +1 -0
  198. package/lib/module/components/Text/index.js +179 -0
  199. package/lib/module/components/Text/index.js.map +1 -0
  200. package/lib/module/components/View/index.js +155 -0
  201. package/lib/module/components/View/index.js.map +1 -0
  202. package/lib/module/context/CNFProvider.js +2 -0
  203. package/lib/module/context/CNFProvider.js.map +1 -0
  204. package/lib/module/context/EventHandlerProvider.js +15 -0
  205. package/lib/module/context/EventHandlerProvider.js.map +1 -0
  206. package/lib/module/context/ThemeProvider.js +49 -0
  207. package/lib/module/context/ThemeProvider.js.map +1 -0
  208. package/lib/module/deps/configuration.js +2 -0
  209. package/lib/module/deps/configuration.js.map +1 -0
  210. package/lib/module/index.js +2 -0
  211. package/lib/module/index.js.map +1 -0
  212. package/lib/module/pageData.js +86 -0
  213. package/lib/module/pageData.js.map +1 -0
  214. package/lib/module/services/getDynamicOffers.js +48 -0
  215. package/lib/module/services/getDynamicOffers.js.map +1 -0
  216. package/lib/module/services/getProductTypes.js +43 -0
  217. package/lib/module/services/getProductTypes.js.map +1 -0
  218. package/lib/module/services/getProductTypesByQuery.js +48 -0
  219. package/lib/module/services/getProductTypesByQuery.js.map +1 -0
  220. package/lib/module/utils/addClientTagsToOfferLinks.js +18 -0
  221. package/lib/module/utils/addClientTagsToOfferLinks.js.map +1 -0
  222. package/lib/module/utils/formatOfferUrl.js +25 -0
  223. package/lib/module/utils/formatOfferUrl.js.map +1 -0
  224. package/lib/module/utils/getDefaultPaletteColor.js +13 -0
  225. package/lib/module/utils/getDefaultPaletteColor.js.map +1 -0
  226. package/lib/module/utils/getDefaultProductType.js +2 -0
  227. package/lib/module/utils/getDefaultProductType.js.map +1 -0
  228. package/lib/module/utils/getEnableUseCachedOffers.js +14 -0
  229. package/lib/module/utils/getEnableUseCachedOffers.js.map +1 -0
  230. package/lib/module/utils/getOffersBasedOnLayout.js +39 -0
  231. package/lib/module/utils/getOffersBasedOnLayout.js.map +1 -0
  232. package/lib/module/utils/getOffersByProductTypes.js +24 -0
  233. package/lib/module/utils/getOffersByProductTypes.js.map +1 -0
  234. package/lib/module/utils/getProductTypesDefinition.js +10 -0
  235. package/lib/module/utils/getProductTypesDefinition.js.map +1 -0
  236. package/lib/module/utils/index.js +11 -0
  237. package/lib/module/utils/index.js.map +1 -0
  238. package/lib/module/utils/layouts.js +20 -0
  239. package/lib/module/utils/layouts.js.map +1 -0
  240. package/lib/module/utils/parseStringProductTypes.js +7 -0
  241. package/lib/module/utils/parseStringProductTypes.js.map +1 -0
  242. package/lib/module/utils/resolveProductTypes.js +5 -0
  243. package/lib/module/utils/resolveProductTypes.js.map +1 -0
  244. package/lib/module/utils/selectDynamicOffers.js +6 -0
  245. package/lib/module/utils/selectDynamicOffers.js.map +1 -0
  246. package/lib/module/utils/sortOffersByRecommendationScore.js +5 -0
  247. package/lib/module/utils/sortOffersByRecommendationScore.js.map +1 -0
  248. package/lib/module/version.js +3 -0
  249. package/lib/module/version.js.map +1 -0
  250. package/lib/typescript/builder/builder.d.ts +24 -0
  251. package/lib/typescript/builder/builder.d.ts.map +1 -0
  252. package/lib/typescript/builder/config/types.d.ts +89 -0
  253. package/lib/typescript/builder/config/types.d.ts.map +1 -0
  254. package/lib/typescript/builder/index.d.ts +3 -0
  255. package/lib/typescript/builder/index.d.ts.map +1 -0
  256. package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts +12 -0
  257. package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
  258. package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts +9 -0
  259. package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
  260. package/lib/typescript/capabilities/configuration/src/brands/index.d.ts +3 -0
  261. package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +1 -0
  262. package/lib/typescript/capabilities/configuration/src/brands/types.d.ts +4 -0
  263. package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +1 -0
  264. package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts +2 -0
  265. package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts.map +1 -0
  266. package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts +19 -0
  267. package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +1 -0
  268. package/lib/typescript/capabilities/core/src/index.d.ts +2 -0
  269. package/lib/typescript/capabilities/core/src/index.d.ts.map +1 -0
  270. package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts +103 -0
  271. package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +1 -0
  272. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts +13 -0
  273. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +1 -0
  274. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +180 -0
  275. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +1 -0
  276. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +59 -0
  277. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +1 -0
  278. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +16 -0
  279. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +1 -0
  280. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +8 -0
  281. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +1 -0
  282. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +64 -0
  283. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +1 -0
  284. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +18 -0
  285. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +1 -0
  286. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts +8 -0
  287. package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
  288. package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts +5 -0
  289. package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -0
  290. package/lib/typescript/capabilities/offer-catalog/src/index.d.ts +6 -0
  291. package/lib/typescript/capabilities/offer-catalog/src/index.d.ts.map +1 -0
  292. package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts +91 -0
  293. package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +1 -0
  294. package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts +2 -0
  295. package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -0
  296. package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts +8 -0
  297. package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -0
  298. package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts +6 -0
  299. package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +1 -0
  300. package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts +68 -0
  301. package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
  302. package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts +24 -0
  303. package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -0
  304. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +13 -0
  305. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -0
  306. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts +11 -0
  307. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -0
  308. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts +1 -0
  309. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +1 -0
  310. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts +14 -0
  311. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -0
  312. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts +1 -0
  313. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +1 -0
  314. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +9 -0
  315. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -0
  316. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts +1 -0
  317. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +1 -0
  318. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts +10 -0
  319. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -0
  320. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +12 -0
  321. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -0
  322. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts +1 -0
  323. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +1 -0
  324. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +9 -0
  325. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -0
  326. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts +1 -0
  327. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +1 -0
  328. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +9 -0
  329. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -0
  330. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts +1 -0
  331. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +1 -0
  332. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts +20 -0
  333. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -0
  334. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +11 -0
  335. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -0
  336. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts +1 -0
  337. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +1 -0
  338. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts +9 -0
  339. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -0
  340. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts +1 -0
  341. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +1 -0
  342. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +12 -0
  343. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -0
  344. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts +1 -0
  345. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +1 -0
  346. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +10 -0
  347. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -0
  348. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +12 -0
  349. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -0
  350. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts +1 -0
  351. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +1 -0
  352. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +10 -0
  353. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -0
  354. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts +1 -0
  355. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +1 -0
  356. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +10 -0
  357. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -0
  358. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts +1 -0
  359. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +1 -0
  360. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +11 -0
  361. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -0
  362. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts +1 -0
  363. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +1 -0
  364. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +9 -0
  365. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -0
  366. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts +1 -0
  367. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +1 -0
  368. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +9 -0
  369. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -0
  370. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts +1 -0
  371. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +1 -0
  372. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts +5 -0
  373. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -0
  374. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts +9 -0
  375. package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +1 -0
  376. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +4 -0
  377. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +1 -0
  378. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +1837 -0
  379. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -0
  380. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts +5 -0
  381. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +1 -0
  382. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +208 -0
  383. package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -0
  384. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts +7 -0
  385. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts.map +1 -0
  386. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts +12 -0
  387. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts.map +1 -0
  388. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts +2 -0
  389. package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts.map +1 -0
  390. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +5 -0
  391. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -0
  392. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts +9 -0
  393. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -0
  394. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts +7 -0
  395. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -0
  396. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +2 -0
  397. package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -0
  398. package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts +2 -0
  399. package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts.map +1 -0
  400. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts +10 -0
  401. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -0
  402. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +14 -0
  403. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
  404. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts +1 -0
  405. package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +1 -0
  406. package/lib/typescript/capabilities/ui/elements/src/index.d.ts +3 -0
  407. package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +1 -0
  408. package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts +10 -0
  409. package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
  410. package/lib/typescript/config/mocks/cnfContext.d.ts +3 -0
  411. package/lib/typescript/config/mocks/cnfContext.d.ts.map +1 -0
  412. package/lib/typescript/src/apiEnvironment.d.ts +13 -0
  413. package/lib/typescript/src/apiEnvironment.d.ts.map +1 -0
  414. package/lib/typescript/src/components/Button/index.d.ts +15 -0
  415. package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
  416. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts +9 -0
  417. package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts.map +1 -0
  418. package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts +1 -0
  419. package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts.map +1 -0
  420. package/lib/typescript/src/components/Cards/index.d.ts +1 -0
  421. package/lib/typescript/src/components/Cards/index.d.ts.map +1 -0
  422. package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts +4 -0
  423. package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts.map +1 -0
  424. package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts +2 -0
  425. package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts.map +1 -0
  426. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts +8 -0
  427. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -0
  428. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts +2 -0
  429. package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -0
  430. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts +4 -0
  431. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -0
  432. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts +2 -0
  433. package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +1 -0
  434. package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts +3 -0
  435. package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts.map +1 -0
  436. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +42 -0
  437. package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -0
  438. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts +13 -0
  439. package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -0
  440. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts +8 -0
  441. package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -0
  442. package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts +12 -0
  443. package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +1 -0
  444. package/lib/typescript/src/components/Common/index.d.ts +4 -0
  445. package/lib/typescript/src/components/Common/index.d.ts.map +1 -0
  446. package/lib/typescript/src/components/Divider/index.d.ts +16 -0
  447. package/lib/typescript/src/components/Divider/index.d.ts.map +1 -0
  448. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts +12 -0
  449. package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +1 -0
  450. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts +10 -0
  451. package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -0
  452. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts +19 -0
  453. package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -0
  454. package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts +9 -0
  455. package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -0
  456. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts +17 -0
  457. package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -0
  458. package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts +3 -0
  459. package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts.map +1 -0
  460. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +13 -0
  461. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -0
  462. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +6 -0
  463. package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -0
  464. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +13 -0
  465. package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -0
  466. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +7 -0
  467. package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -0
  468. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +13 -0
  469. package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -0
  470. package/lib/typescript/src/components/Layouts/index.d.ts +4 -0
  471. package/lib/typescript/src/components/Layouts/index.d.ts.map +1 -0
  472. package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts +5 -0
  473. package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts.map +1 -0
  474. package/lib/typescript/src/components/Modal/Disclaimer.d.ts +5 -0
  475. package/lib/typescript/src/components/Modal/Disclaimer.d.ts.map +1 -0
  476. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts +11 -0
  477. package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -0
  478. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts +20 -0
  479. package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -0
  480. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts +12 -0
  481. package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +1 -0
  482. package/lib/typescript/src/components/Skeleton/index.d.ts +3 -0
  483. package/lib/typescript/src/components/Skeleton/index.d.ts.map +1 -0
  484. package/lib/typescript/src/components/Text/index.d.ts +17 -0
  485. package/lib/typescript/src/components/Text/index.d.ts.map +1 -0
  486. package/lib/typescript/src/components/View/index.d.ts +23 -0
  487. package/lib/typescript/src/components/View/index.d.ts.map +1 -0
  488. package/lib/typescript/src/context/CNFProvider.d.ts +1 -0
  489. package/lib/typescript/src/context/CNFProvider.d.ts.map +1 -0
  490. package/lib/typescript/src/context/EventHandlerProvider.d.ts +71 -0
  491. package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +1 -0
  492. package/lib/typescript/src/context/ThemeProvider.d.ts +31 -0
  493. package/lib/typescript/src/context/ThemeProvider.d.ts.map +1 -0
  494. package/lib/typescript/src/deps/configuration.d.ts +1 -0
  495. package/lib/typescript/src/deps/configuration.d.ts.map +1 -0
  496. package/lib/typescript/src/index.d.ts +2 -0
  497. package/lib/typescript/src/index.d.ts.map +1 -0
  498. package/lib/typescript/src/pageData.d.ts +19 -0
  499. package/lib/typescript/src/pageData.d.ts.map +1 -0
  500. package/lib/typescript/src/services/getDynamicOffers.d.ts +27 -0
  501. package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -0
  502. package/lib/typescript/src/services/getProductTypes.d.ts +19 -0
  503. package/lib/typescript/src/services/getProductTypes.d.ts.map +1 -0
  504. package/lib/typescript/src/services/getProductTypesByQuery.d.ts +28 -0
  505. package/lib/typescript/src/services/getProductTypesByQuery.d.ts.map +1 -0
  506. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts +9 -0
  507. package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -0
  508. package/lib/typescript/src/utils/formatOfferUrl.d.ts +64 -0
  509. package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -0
  510. package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts +3 -0
  511. package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts.map +1 -0
  512. package/lib/typescript/src/utils/getDefaultProductType.d.ts +3 -0
  513. package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -0
  514. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts +12 -0
  515. package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -0
  516. package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts +26 -0
  517. package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts.map +1 -0
  518. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +17 -0
  519. package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -0
  520. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +14 -0
  521. package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -0
  522. package/lib/typescript/src/utils/index.d.ts +11 -0
  523. package/lib/typescript/src/utils/index.d.ts.map +1 -0
  524. package/lib/typescript/src/utils/layouts.d.ts +19 -0
  525. package/lib/typescript/src/utils/layouts.d.ts.map +1 -0
  526. package/lib/typescript/src/utils/parseStringProductTypes.d.ts +2 -0
  527. package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +1 -0
  528. package/lib/typescript/src/utils/resolveProductTypes.d.ts +14 -0
  529. package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +1 -0
  530. package/lib/typescript/src/utils/selectDynamicOffers.d.ts +3 -0
  531. package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -0
  532. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts +3 -0
  533. package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -0
  534. package/lib/typescript/src/version.d.ts +2 -0
  535. package/lib/typescript/src/version.d.ts.map +1 -0
  536. package/package.json +139 -0
  537. package/src/apiEnvironment.ts +17 -0
  538. package/src/components/Button/index.tsx +140 -0
  539. package/src/components/Cards/VideosCard/VideoContent.tsx +38 -0
  540. package/src/components/Cards/VideosCard/VideosCard.tsx +54 -0
  541. package/src/components/Cards/index.ts +1 -0
  542. package/src/components/Common/BaseOfferCard/Content/Content.tsx +10 -0
  543. package/src/components/Common/BaseOfferCard/Content/index.tsx +1 -0
  544. package/src/components/Common/BaseOfferCard/Stat/Stat.tsx +91 -0
  545. package/src/components/Common/BaseOfferCard/Stat/index.tsx +1 -0
  546. package/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.tsx +8 -0
  547. package/src/components/Common/BaseOfferCard/StatsContainer/index.tsx +1 -0
  548. package/src/components/Common/BaseOfferCard/ThumbsUpIcon.tsx +27 -0
  549. package/src/components/Common/BaseOfferCard/index.tsx +282 -0
  550. package/src/components/Common/DynamicOfferCard/CallToAction.tsx +47 -0
  551. package/src/components/Common/DynamicOfferCard/SeeMore.tsx +76 -0
  552. package/src/components/Common/DynamicOfferCard/index.tsx +64 -0
  553. package/src/components/Common/index.ts +3 -0
  554. package/src/components/Divider/index.tsx +35 -0
  555. package/src/components/DynamicOffers/DynamicOffers.tsx +46 -0
  556. package/src/components/DynamicOffers/DynamicOffersContainer.tsx +41 -0
  557. package/src/components/DynamicOffers/Render/DynamicOffersRender.tsx +261 -0
  558. package/src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx +29 -0
  559. package/src/components/DynamicOffers/Render/Offer.tsx +100 -0
  560. package/src/components/DynamicOffers/Render/index.ts +2 -0
  561. package/src/components/Layouts/CreditCardOfferCard/index.tsx +96 -0
  562. package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +10 -0
  563. package/src/components/Layouts/DefaultOfferCard/index.tsx +72 -0
  564. package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +14 -0
  565. package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +59 -0
  566. package/src/components/Layouts/index.ts +3 -0
  567. package/src/components/Modal/DescriptionPoints.tsx +24 -0
  568. package/src/components/Modal/Disclaimer.tsx +15 -0
  569. package/src/components/Modal/OfferDetailsModal.tsx +111 -0
  570. package/src/components/MoneyLionOfferCarousel.tsx +202 -0
  571. package/src/components/Skeleton/Skeleton.tsx +86 -0
  572. package/src/components/Skeleton/index.ts +2 -0
  573. package/src/components/Text/index.tsx +209 -0
  574. package/src/components/View/index.tsx +144 -0
  575. package/src/context/CNFProvider.tsx +0 -0
  576. package/src/context/EventHandlerProvider.tsx +89 -0
  577. package/src/context/ThemeProvider.tsx +91 -0
  578. package/src/deps/configuration.ts +0 -0
  579. package/src/index.tsx +1 -0
  580. package/src/pageData.ts +98 -0
  581. package/src/services/getDynamicOffers.ts +93 -0
  582. package/src/services/getProductTypes.ts +53 -0
  583. package/src/services/getProductTypesByQuery.ts +53 -0
  584. package/src/utils/addClientTagsToOfferLinks.ts +22 -0
  585. package/src/utils/formatOfferUrl.ts +32 -0
  586. package/src/utils/getDefaultPaletteColor.ts +15 -0
  587. package/src/utils/getDefaultProductType.ts +4 -0
  588. package/src/utils/getEnableUseCachedOffers.ts +13 -0
  589. package/src/utils/getOffersBasedOnLayout.ts +51 -0
  590. package/src/utils/getOffersByProductTypes.ts +36 -0
  591. package/src/utils/getProductTypesDefinition.ts +13 -0
  592. package/src/utils/index.ts +10 -0
  593. package/src/utils/layouts.ts +22 -0
  594. package/src/utils/parseStringProductTypes.ts +7 -0
  595. package/src/utils/resolveProductTypes.ts +18 -0
  596. package/src/utils/selectDynamicOffers.ts +18 -0
  597. package/src/utils/sortOffersByRecommendationScore.ts +6 -0
  598. package/src/version.ts +2 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # react-native-offer-carousel
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getOfferCatalogApiBaseUrl = exports.getEwsSearchApiBaseUrl = exports.getConfigApiBaseUrl = void 0;
7
+ /**
8
+ * Gets the base URL for the Config API.
9
+ */
10
+ const getConfigApiBaseUrl = isDev => isDev ? "https://www.moneylion.dev" : "https://www.moneylion.com";
11
+
12
+ /**
13
+ * Gets the base URL for the Offer Catalog API.
14
+ */
15
+ exports.getConfigApiBaseUrl = getConfigApiBaseUrl;
16
+ const getOfferCatalogApiBaseUrl = isDev => isDev ? "https://dev-api.engine.tech" : "https://api.engine.tech";
17
+
18
+ /**
19
+ * Gets the base URL for the EWS Search API.
20
+ */
21
+ exports.getOfferCatalogApiBaseUrl = getOfferCatalogApiBaseUrl;
22
+ const getEwsSearchApiBaseUrl = isDev => isDev ? "https://api.dev-ews.engine.tech" : "https://api.ews.engine.tech";
23
+ exports.getEwsSearchApiBaseUrl = getEwsSearchApiBaseUrl;
24
+ //# sourceMappingURL=apiEnvironment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getConfigApiBaseUrl","isDev","exports","getOfferCatalogApiBaseUrl","getEwsSearchApiBaseUrl"],"sourceRoot":"../../src","sources":["apiEnvironment.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACO,MAAMA,mBAAmB,GAAIC,KAAc,IACjDA,KAAK,GAAG,2BAA2B,GAAG,2BAA2B;;AAElE;AACA;AACA;AAFAC,OAAA,CAAAF,mBAAA,GAAAA,mBAAA;AAGO,MAAMG,yBAAyB,GAAIF,KAAc,IACvDA,KAAK,GAAG,6BAA6B,GAAG,yBAAyB;;AAElE;AACA;AACA;AAFAC,OAAA,CAAAC,yBAAA,GAAAA,yBAAA;AAGO,MAAMC,sBAAsB,GAAIH,KAAc,IACpDA,KAAK,GAAG,iCAAiC,GAAG,6BAA6B;AAACC,OAAA,CAAAE,sBAAA,GAAAA,sBAAA","ignoreList":[]}
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _ThemeProvider = require("../../context/ThemeProvider");
10
+ var _Text = _interopRequireDefault(require("../Text"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
15
+ // Helper function to determine text color based on background color
16
+ const getContrastColor = hexColor => {
17
+ // Remove the hash if it exists
18
+ const color = hexColor.replace("#", "");
19
+
20
+ // Convert to RGB
21
+ const r = parseInt(color.substring(0, 2), 16) || 0;
22
+ const g = parseInt(color.substring(2, 4), 16) || 0;
23
+ const b = parseInt(color.substring(4, 6), 16) || 0;
24
+
25
+ // Calculate luminance using the perceived brightness formula
26
+ // (0.299*R + 0.587*G + 0.114*B)
27
+ const luminance = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
28
+
29
+ // Return white for dark backgrounds, black for light backgrounds
30
+ return luminance > 0.5 ? "#000000" : "#FFFFFF";
31
+ };
32
+ const Button = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
33
+ const {
34
+ color = "neutral",
35
+ highlighted = false,
36
+ loading = false,
37
+ disabled = false,
38
+ children,
39
+ onPress,
40
+ style,
41
+ ...rest
42
+ } = props;
43
+ const themeContext = (0, _ThemeProvider.useTheme)();
44
+ const theme = (themeContext === null || themeContext === void 0 ? void 0 : themeContext.theme) || {};
45
+
46
+ // Convert palette colors to actual styles
47
+ const getPaletteColor = colorKey => {
48
+ switch (colorKey) {
49
+ case "promotional":
50
+ return theme.promotional || "#007AFF";
51
+ // TODO: remove fallback color
52
+ case "positive":
53
+ return theme.positive;
54
+ case "critical":
55
+ return theme.critical || "#FF3B30";
56
+ // TODO: remove fallback color
57
+ case "highlight":
58
+ return theme.highlight || "#FF9500";
59
+ // TODO: remove fallback color
60
+ case "neutral":
61
+ return theme.neutral || "#8E8E93";
62
+ // TODO: remove fallback color
63
+ default:
64
+ return "#8E8E93";
65
+ }
66
+ };
67
+ const backgroundColor = getPaletteColor(color);
68
+ const textColor = getContrastColor(backgroundColor);
69
+ return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, _extends({
70
+ ref: ref,
71
+ style: [styles.container, {
72
+ backgroundColor
73
+ }, highlighted && {
74
+ opacity: 0.8
75
+ }, style],
76
+ onPress: onPress,
77
+ disabled: disabled || loading,
78
+ activeOpacity: 0.7
79
+ }, rest), loading && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
80
+ style: styles.loaderContainer
81
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.ActivityIndicator, {
82
+ size: "small",
83
+ color: textColor
84
+ })), children && /*#__PURE__*/_react.default.createElement(_Text.default, {
85
+ variant: "body-2",
86
+ weight: "medium",
87
+ style: [loading && styles.hiddenChildren, {
88
+ color: textColor
89
+ }],
90
+ numberOfLines: 1
91
+ }, children));
92
+ });
93
+ const styles = _reactNative.StyleSheet.create({
94
+ container: {
95
+ height: 48,
96
+ paddingHorizontal: 20,
97
+ alignItems: "center",
98
+ justifyContent: "center",
99
+ borderRadius: 24
100
+ },
101
+ buttonGroup: {
102
+ flexDirection: "row",
103
+ alignItems: "center"
104
+ },
105
+ loaderContainer: {
106
+ position: "absolute",
107
+ top: 0,
108
+ left: 0,
109
+ right: 0,
110
+ bottom: 0,
111
+ justifyContent: "center",
112
+ alignItems: "center"
113
+ },
114
+ hiddenChildren: {
115
+ opacity: 0
116
+ }
117
+ });
118
+ var _default = exports.default = Button;
119
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ThemeProvider","_Text","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","arguments","length","apply","getContrastColor","hexColor","color","replace","parseInt","substring","g","b","luminance","Button","forwardRef","props","ref","highlighted","loading","disabled","children","onPress","style","rest","themeContext","useTheme","theme","getPaletteColor","colorKey","promotional","positive","critical","highlight","neutral","backgroundColor","textColor","createElement","TouchableOpacity","styles","container","opacity","activeOpacity","View","loaderContainer","ActivityIndicator","size","variant","weight","hiddenChildren","numberOfLines","StyleSheet","create","height","paddingHorizontal","alignItems","justifyContent","borderRadius","buttonGroup","flexDirection","position","top","left","right","bottom","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Button/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAA2B,SAAAI,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA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AACvC,KAAK,EAAE6B;EAAU,CAAE,CAC9C,CACN,EAEAf,QAAQ,iBACRjD,MAAA,CAAAS,OAAA,CAAAwD,aAAA,CAAC5D,KAAA,CAAAI,OAAI;IACJkE,OAAO,EAAE,QAAS;IAClBC,MAAM,EAAE,QAAS;IACjBzB,KAAK,EAAE,CAACJ,OAAO,IAAIoB,MAAM,CAACU,cAAc,EAAE;MAAE1C,KAAK,EAAE6B;IAAU,CAAC,CAAE;IAChEc,aAAa,EAAE;EAAE,GAEhB7B,QACI,CAEU,CAAC;AAErB,CAAC,CAAC;AAEF,MAAMkB,MAAM,GAAGY,uBAAU,CAACC,MAAM,CAAC;EAChCZ,SAAS,EAAE;IACVa,MAAM,EAAE,EAAE;IACVC,iBAAiB,EAAE,EAAE;IACrBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,YAAY,EAAE;EACf,CAAC;EACDC,WAAW,EAAE;IACZC,aAAa,EAAE,KAAK;IACpBJ,UAAU,EAAE;EACb,CAAC;EACDX,eAAe,EAAE;IAChBgB,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTR,cAAc,EAAE,QAAQ;IACxBD,UAAU,EAAE;EACb,CAAC;EACDN,cAAc,EAAE;IACfR,OAAO,EAAE;EACV;AACD,CAAC,CAAC;AAAC,IAAAwB,QAAA,GAAAC,OAAA,CAAArF,OAAA,GAEYiC,MAAM","ignoreList":[]}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.VideoContent = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _reshaped = require("reshaped");
10
+ var _Text = _interopRequireDefault(require("../../Text"));
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
+ // TODO: import VideoPlayer from "../../VideoPlayer/VideoPlayer";
15
+
16
+ const VideoContent = exports.VideoContent = /*#__PURE__*/(0, _react.memo)(({
17
+ muxId,
18
+ subtitle
19
+ }) => /*#__PURE__*/_react.default.createElement(_reshaped.View, {
20
+ gap: 2,
21
+ direction: "column",
22
+ width: 27
23
+ }, /*#__PURE__*/_react.default.createElement(_reshaped.View, {
24
+ width: 27,
25
+ height: 48,
26
+ borderRadius: "large"
27
+ }, /*#__PURE__*/_react.default.createElement(_reshaped.View, {
28
+ key: `${muxId}`
29
+ })), /*#__PURE__*/_react.default.createElement(_reshaped.Tooltip, {
30
+ text: subtitle
31
+ }, attributes => /*#__PURE__*/_react.default.createElement(_reshaped.Actionable, {
32
+ attributes: attributes,
33
+ as: "div"
34
+ }, /*#__PURE__*/_react.default.createElement(_Text.default, {
35
+ variant: "caption-2",
36
+ weight: "medium",
37
+ color: "neutral-faded",
38
+ numberOfLines: 2
39
+ }, subtitle)))));
40
+ //# sourceMappingURL=VideoContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Object","defineProperty","exports","value","VideoContent","_react","_interopRequireWildcard","require","_reshaped","_Text","_interopRequireDefault","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","memo","muxId","subtitle","createElement","View","gap","direction","width","height","borderRadius","key","Tooltip","text","attributes","Actionable","as","variant","weight","color","numberOfLines"],"sourceRoot":"../../../../../src","sources":["components/Cards/VideosCard/VideoContent.tsx"],"mappings":";AAAA,YAAY;;AAACA,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,KAAA;AAAA;AAAAD,OAAA,CAAAE,YAAA;AAEb,IAAAC,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAGA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AAA8B,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAP,CAAA,UAAAM,CAAA,CAAAE,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAtB,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAuB,wBAAA,WAAAC,CAAA,IAAAb,CAAA,oBAAAa,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAa,CAAA,SAAAG,CAAA,GAAAL,CAAA,GAAAtB,MAAA,CAAAuB,wBAAA,CA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EACfC,KAAK,EAAC,eAAe;EACrBC,aAAa,EAAE;AAAE,GAEhBjB,QACI,CACK,CAEL,CACJ,CACN,CAAC","ignoreList":[]}
@@ -0,0 +1,56 @@
1
+ // import { memo } from "react";
2
+ // import { VideoContent, type VideoContentProps } from "./VideoContent";
3
+ // import { GenericOfferVertical } from "../../../../capabilities/ui/elements/src";
4
+ // import React from "react";
5
+ // import Text from "../../Text";
6
+ // import { View, StyleSheet } from "react-native";
7
+
8
+ // type VideosContent = {
9
+ // title: string;
10
+ // subtitle: string;
11
+ // videos: VideoContentProps[];
12
+ // };
13
+
14
+ // export type VideosCardProps = {
15
+ // videosContent: VideosContent;
16
+ // showBorder: boolean;
17
+ // };
18
+
19
+ // export const VideosCard = memo(
20
+ // ({
21
+ // videosContent: { title, subtitle, videos },
22
+ // showBorder,
23
+ // }: VideosCardProps) => {
24
+ // const renderVideos = () =>
25
+ // videos.map((video) => <VideoContent key={video.muxId} {...video} />);
26
+
27
+ // return (
28
+ // <GenericOfferVertical showBorder={showBorder}>
29
+ // <GenericOfferVertical.Container>
30
+ // <View style={styles.textContainer}>
31
+ // <Text variant="featured-2" weight="bold">
32
+ // {title}
33
+ // </Text>
34
+ // <Text variant="body-3" weight="regular">
35
+ // {subtitle}
36
+ // </Text>
37
+ // </View>
38
+ // <View style={styles.videoContainer}>{renderVideos()}</View>
39
+ // </GenericOfferVertical.Container>
40
+ // </GenericOfferVertical>
41
+ // );
42
+ // }
43
+ // );
44
+
45
+ // const styles = StyleSheet.create({
46
+ // textContainer: {
47
+ // gap: 1,
48
+ // },
49
+ // videoContainer: {
50
+ // flexDirection: "row",
51
+ // gap: 3,
52
+ // justifyContent: "space-between",
53
+ // },
54
+ // });
55
+ "use strict";
56
+ //# sourceMappingURL=VideosCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Cards/VideosCard/VideosCard.tsx"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ // export * from "./VideosCard/VideosCard";
2
+ "use strict";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Cards/index.ts"],"mappings":"AAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Content = Content;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _View = _interopRequireDefault(require("../../../View"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
+ function Content({
12
+ children,
13
+ ...rest
14
+ }) {
15
+ return /*#__PURE__*/_react.default.createElement(_View.default, _extends({
16
+ gap: 4,
17
+ width: "100%"
18
+ }, rest), children);
19
+ }
20
+ //# sourceMappingURL=Content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_View","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Content","children","rest","createElement","gap","width"],"sourceRoot":"../../../../../../src","sources":["components/Common/BaseOfferCard/Content/Content.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAqD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAE9C,SAASO,OAAOA,CAAC;EAAEC,QAAQ;EAAE,GAAGC;AAAgB,CAAC,EAAE;EACzD,oBACCrB,MAAA,CAAAM,OAAA,CAAAgB,aAAA,CAACnB,KAAA,CAAAG,OAAI,EAAAC,QAAA;IAACgB,GAAG,EAAE,CAAE;IAACC,KAAK,EAAE;EAAO,GAAKH,IAAI,GACnCD,QACI,CAAC;AAET","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _Content = require("./Content");
7
+ Object.keys(_Content).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _Content[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _Content[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Content","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../../src","sources":["components/Common/BaseOfferCard/Content/index.tsx"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,QAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,QAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,QAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Stat = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _MarkdownText = require("../../../../../capabilities/ui/elements/src/components/MarkdownText");
9
+ var _Text = _interopRequireDefault(require("../../../Text"));
10
+ var _reactNative = require("react-native");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
12
+ // Custom function to capitalize first letter but preserve other capitalization
13
+ function smartCapitalize(text) {
14
+ // For other words, capitalize first letter of each word
15
+ return text.split(" ").map(word => {
16
+ if (word.length === 0) return word;
17
+ return word.charAt(0).toUpperCase() + word.slice(1);
18
+ }).join(" ");
19
+ }
20
+ const VerticalStat = props => {
21
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
22
+ style: styles.verticalStatContainer
23
+ }, /*#__PURE__*/_react.default.createElement(_Text.default, {
24
+ variant: "featured-2",
25
+ color: "neutral",
26
+ weight: "bold"
27
+ }, String(props.content).trim()), /*#__PURE__*/_react.default.createElement(_MarkdownText.MarkdownText, {
28
+ variant: "body-3",
29
+ weight: "regular",
30
+ color: "neutral-faded",
31
+ content: props.label.trim()
32
+ }));
33
+ };
34
+ const Stat = ({
35
+ content,
36
+ label,
37
+ isVertical,
38
+ isHighlighted,
39
+ isNull
40
+ }) => {
41
+ // Handle container layout change
42
+
43
+ if (isNull) {
44
+ return null;
45
+ }
46
+ if (isVertical) {
47
+ return /*#__PURE__*/_react.default.createElement(VerticalStat, {
48
+ content: content,
49
+ label: label
50
+ });
51
+ }
52
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
53
+ style: [styles.horizontalStatContainer, isHighlighted ? styles.highlightedContainer : null]
54
+ }, /*#__PURE__*/_react.default.createElement(_MarkdownText.MarkdownText, {
55
+ variant: "body-3",
56
+ color: "neutral-faded",
57
+ content: label.trim()
58
+ }), /*#__PURE__*/_react.default.createElement(_Text.default, {
59
+ variant: "body-3",
60
+ color: "neutral",
61
+ weight: "bold"
62
+ }, smartCapitalize(String(content).trim())));
63
+ };
64
+ exports.Stat = Stat;
65
+ const styles = _reactNative.StyleSheet.create({
66
+ verticalStatContainer: {
67
+ gap: 4,
68
+ flexDirection: "column"
69
+ },
70
+ horizontalStatContainer: {
71
+ gap: 1,
72
+ flexDirection: "row",
73
+ justifyContent: "space-between",
74
+ flexWrap: "wrap"
75
+ },
76
+ highlightedContainer: {
77
+ padding: 8,
78
+ backgroundColor: "#f4f4f4",
79
+ // Light gray equivalent to neutral-faded
80
+ borderRadius: 8 // medium border radius
81
+ }
82
+ });
83
+ //# sourceMappingURL=Stat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_MarkdownText","_Text","_reactNative","e","__esModule","default","smartCapitalize","text","split","map","word","length","charAt","toUpperCase","slice","join","VerticalStat","props","createElement","View","style","styles","verticalStatContainer","variant","color","weight","String","content","trim","MarkdownText","label","Stat","isVertical","isHighlighted","isNull","horizontalStatContainer","highlightedContainer","exports","StyleSheet","create","gap","flexDirection","justifyContent","flexWrap","padding","backgroundColor","borderRadius"],"sourceRoot":"../../../../../../src","sources":["components/Common/BaseOfferCard/Stat/Stat.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEA,IAAAE,KAAA,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E;EAClB;AACD,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _Stat = require("./Stat");
7
+ Object.keys(_Stat).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _Stat[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _Stat[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Stat","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../../src","sources":["components/Common/BaseOfferCard/Stat/index.tsx"],"mappings":";;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,KAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,KAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,KAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StatsContainer = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _View = _interopRequireDefault(require("../../../View"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
11
+ const StatsContainer = ({
12
+ children,
13
+ ...viewProps
14
+ }) => /*#__PURE__*/_react.default.createElement(_View.default, _extends({}, viewProps, {
15
+ gap: 4
16
+ }), children);
17
+ exports.StatsContainer = StatsContainer;
18
+ //# sourceMappingURL=StatsContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_View","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","StatsContainer","children","viewProps","createElement","gap","exports"],"sourceRoot":"../../../../../../src","sources":["components/Common/BaseOfferCard/StatsContainer/StatsContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAqD,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAE9C,MAAMO,cAAc,GAAGA,CAAC;EAAEC,QAAQ;EAAE,GAAGC;AAAqB,CAAC,kBACnErB,MAAA,CAAAM,OAAA,CAAAgB,aAAA,CAACnB,KAAA,CAAAG,OAAI,EAAAC,QAAA,KAAKc,SAAS;EAAEE,GAAG,EAAE;AAAE,IAC1BH,QACI,CACN;AAACI,OAAA,CAAAL,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _StatsContainer = require("./StatsContainer");
7
+ Object.keys(_StatsContainer).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _StatsContainer[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _StatsContainer[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_StatsContainer","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../../src","sources":["components/Common/BaseOfferCard/StatsContainer/index.tsx"],"mappings":";;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,eAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,eAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,eAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ThumbsUpIcon = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
+ const ThumbsUpIcon = () => /*#__PURE__*/_react.default.createElement("svg", {
10
+ width: "13",
11
+ height: "12",
12
+ viewBox: "0 0 13 12",
13
+ fill: "none",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, /*#__PURE__*/_react.default.createElement("path", {
16
+ d: "M12.8349 4.99359L12.0782 7.71044C11.9052 8.33122 11.4165 8.8054 10.8156 8.97501C10.5694 9.04451 10.3256 8.85546 10.3256 8.5996C10.3256 8.42574 10.4407 8.27334 10.6081 8.22597C10.9522 8.12787 11.2329 7.85591 11.3314 7.50307L12.0885 4.78622C12.1765 4.47516 12.109 4.13304 11.9122 3.87382C11.7151 3.61438 11.404 3.46421 11.0825 3.46421H7.93031C7.82148 3.46421 7.71779 3.41751 7.64517 3.33461C7.57254 3.2517 7.53634 3.14265 7.54662 3.03383L7.68137 1.63406C7.71266 1.32814 7.52093 1.043 7.22528 0.949597C7.14238 0.923675 7.07489 0.954737 7.04897 1.01708L6.5987 2.14802C6.51937 2.34713 6.31937 2.47718 6.10641 2.45484C5.94596 2.43808 5.84541 2.34042 5.813 2.15071C5.79021 2.01707 5.81122 1.87965 5.86641 1.75607L6.33345 0.711163C6.52004 0.291278 6.99177 0.0734024 7.42752 0.208373C8.09612 0.410383 8.51622 1.043 8.44874 1.71697L8.37388 2.49551C8.36405 2.59808 8.44449 2.68657 8.54729 2.68657H11.0773C11.6425 2.68657 12.1868 2.95606 12.5292 3.40723C12.8713 3.85818 12.9855 4.44924 12.8349 4.99359Z",
17
+ fill: "black",
18
+ fillOpacity: "0.6"
19
+ }), /*#__PURE__*/_react.default.createElement("path", {
20
+ d: "M9.76404 5.48096C9.42192 5.03001 8.87756 4.76029 8.31243 4.76029H5.59066L5.68384 3.79092C5.71982 3.4307 5.61681 3.08254 5.41077 2.80523C5.23133 2.56389 4.97391 2.37618 4.6624 2.2821C4.22687 2.14735 3.75514 2.36501 3.56833 2.78511L2.43292 5.36185H1.00723C0.509358 5.36185 0.0999756 5.77146 0.0999756 6.26911V9.28115C0.0999756 9.77903 0.509358 10.1889 1.00723 10.1889H2.56275L3.0966 10.5725C3.59447 10.9303 4.18039 11.1167 4.79201 11.1167H7.5607C8.37477 11.1167 9.09544 10.5674 9.31309 9.78439L10.07 7.06776C10.2203 6.52341 10.1064 5.93191 9.76404 5.48096ZM9.32337 6.86017L8.5665 9.57679C8.44204 10.0228 8.02751 10.339 7.5607 10.339H4.79201C4.34084 10.339 3.91045 10.1991 3.54777 9.93992L2.91515 9.48361C2.84766 9.43691 2.7699 9.41098 2.687 9.41098H1.00723C0.934606 9.41098 0.877623 9.354 0.877623 9.28138V6.26933C0.877623 6.19671 0.934606 6.13973 1.00723 6.13973V6.13459H2.687C2.75046 6.13459 2.81124 6.11917 2.86509 6.09101C2.94353 6.05056 3.00789 5.98397 3.04476 5.90107L4.28385 3.09103C4.30978 3.02891 4.37704 2.99785 4.46017 3.02377C4.60877 3.0707 4.731 3.16612 4.8119 3.28813C4.89257 3.40902 4.93212 3.55583 4.91648 3.70801L4.78173 5.10778C4.77122 5.21683 4.80743 5.32565 4.88027 5.40878C4.9196 5.4537 4.9681 5.48811 5.02195 5.51001C5.06687 5.52878 5.11558 5.53839 5.16564 5.53839H8.31757C8.63913 5.53839 8.95019 5.68856 9.14728 5.94777C9.34415 6.20699 9.41141 6.54888 9.32337 6.86017Z",
21
+ fill: "black",
22
+ fillOpacity: "0.6"
23
+ }), /*#__PURE__*/_react.default.createElement("path", {
24
+ d: "M3.03448 6.92743V8.52965C3.03448 8.74216 2.85817 8.91848 2.64565 8.91848C2.43314 8.91848 2.25661 8.74216 2.25661 8.52965V6.92743C2.25661 6.71492 2.43314 6.53861 2.64565 6.53861C2.72677 6.53861 2.80253 6.5643 2.86509 6.60788C2.96699 6.67849 3.03448 6.79603 3.03448 6.92743Z",
25
+ fill: "black",
26
+ fillOpacity: "0.6"
27
+ }));
28
+ exports.ThumbsUpIcon = ThumbsUpIcon;
29
+ //# sourceMappingURL=ThumbsUpIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","e","__esModule","default","ThumbsUpIcon","createElement","width","height","viewBox","fill","xmlns","d","fillOpacity","exports"],"sourceRoot":"../../../../../src","sources":["components/Common/BaseOfferCard/ThumbsUpIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnB,MAAMG,YAAY,GAAGA,CAAA,kBAC3BN,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCC,KAAK,EAAC,IAAI;EACVC,MAAM,EAAC,IAAI;EACXC,OAAO,EAAC,WAAW;EACnBC,IAAI,EAAC,MAAM;EACXC,KAAK,EAAC;AAA4B,gBAElCZ,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCM,CAAC,EAAC,g+BAAg+B;EACl+BF,IAAI,EAAC,OAAO;EACZG,WAAW,EAAC;AAAK,CACjB,CAAC,eACFd,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCM,CAAC,EAAC,+2CAA+2C;EACj3CF,IAAI,EAAC,OAAO;EACZG,WAAW,EAAC;AAAK,CACjB,CAAC,eACFd,MAAA,CAAAK,OAAA,CAAAE,aAAA;EACCM,CAAC,EAAC,kRAAkR;EACpRF,IAAI,EAAC,OAAO;EACZG,WAAW,EAAC;AAAK,CACjB,CACG,CACL;AAACC,OAAA,CAAAT,YAAA,GAAAA,YAAA","ignoreList":[]}