@gardenfi/garden-book 0.2.3-beta.13 → 0.2.3-beta.14

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 (259) hide show
  1. package/dist/BlogCard/BlogCard.js +60 -0
  2. package/dist/BottomSheet/BottomSheet.js +17 -0
  3. package/dist/Button/Button.js +108 -0
  4. package/dist/Button/ClientOnlyLottie.js +27 -0
  5. package/dist/{Button.js → Button/spinner.json.js} +30 -170
  6. package/dist/Checkbox/Checkbox.js +7 -0
  7. package/dist/Chip/Chip.js +20 -0
  8. package/dist/ClientOnly/ClientOnly.js +6 -0
  9. package/dist/Container/Container.js +6 -0
  10. package/dist/Footer/Footer.js +371 -0
  11. package/dist/Footer/FooterBackgroundAnimation.js +100 -0
  12. package/dist/Footer/FooterLink.js +86 -0
  13. package/dist/GradientScroll/GradientScroll.js +73 -0
  14. package/dist/Icons/APIIcon/APIIcon.js +37 -0
  15. package/dist/Icons/AddIcon/AddIcon.js +16 -0
  16. package/dist/Icons/ArrowDownwardIcon/ArrowDownwardIcon.js +16 -0
  17. package/dist/Icons/ArrowEastIcon/ArrowEastIcon.js +22 -0
  18. package/dist/Icons/ArrowInwardIcon/ArrowInwardIcon.js +37 -0
  19. package/dist/Icons/ArrowLeftIcon/ArrowLeftIcon.js +16 -0
  20. package/dist/Icons/ArrowNorthEastIcon/ArrowNorthEastIcon.js +16 -0
  21. package/dist/Icons/ArrowNorthWestIcon/ArrowNorthWestIcon.js +16 -0
  22. package/dist/Icons/ArrowRightIcon/ArrowRightIcon.js +16 -0
  23. package/dist/Icons/ArrowSouthEastIcon/ArrowSouthEastIcon.js +16 -0
  24. package/dist/Icons/ArrowSouthWestIcon/ArrowSouthWestIcon.js +16 -0
  25. package/dist/Icons/ArrowSyncIcon/ArrowSyncIcon.js +16 -0
  26. package/dist/Icons/ArrowUpwardIcon/ArrowUpwardIcon.js +16 -0
  27. package/dist/Icons/BlogIcon/BlogIcon.js +37 -0
  28. package/dist/Icons/BrandKitIcon/BrandKitIcon.js +37 -0
  29. package/dist/Icons/CancelIcon/CancelIcon.js +22 -0
  30. package/dist/Icons/ChainflipIcon/ChainflipIcon.js +103 -0
  31. package/dist/Icons/CheckCircleIcon/CheckCircleIcon.js +22 -0
  32. package/dist/Icons/CheckIcon/CheckIcon.js +16 -0
  33. package/dist/Icons/Checked/Checked.js +37 -0
  34. package/dist/Icons/ClockIcon/ClockIcon.js +16 -0
  35. package/dist/Icons/CloseIcon/CloseIcon.js +16 -0
  36. package/dist/Icons/CodeBlockIcon/CodeBlockIcon.js +22 -0
  37. package/dist/Icons/CompareArrowsIcon/CompareArrowsIcon.js +22 -0
  38. package/dist/Icons/ConsoleIcon/ConsoleIcon.js +22 -0
  39. package/dist/Icons/CopyIcon/CopyIcon.js +16 -0
  40. package/dist/Icons/CopyrightsIcon/CopyrightsIcon.js +22 -0
  41. package/dist/Icons/DeleteIcon/DeleteIcon.js +16 -0
  42. package/dist/Icons/DiscordIcon/DiscordIcon.js +22 -0
  43. package/dist/Icons/DollarChipIcon/DollarChipIcon.js +37 -0
  44. package/dist/Icons/DraftIcon/DraftIcon.js +37 -0
  45. package/dist/Icons/EditIcon/EditIcon.js +16 -0
  46. package/dist/Icons/EncryptedIcon/EncryptedIcon.js +37 -0
  47. package/dist/Icons/ExchangeIcon/ExchangeIcon.js +19 -0
  48. package/dist/Icons/FaqIcon/FaqIcon.js +37 -0
  49. package/dist/Icons/FeesIcon/FeesIcon.js +22 -0
  50. package/dist/Icons/FingerprintIcon/FingerprintIcon.js +22 -0
  51. package/dist/Icons/FolderIcon/FolderIcon.js +37 -0
  52. package/dist/Icons/GasStationIcon/GasStationIcon.js +22 -0
  53. package/dist/Icons/GiftBoxIcon/GiftBoxIcon.js +37 -0
  54. package/dist/Icons/{LanguageIcon → GlobeIcon}/GlobeIcon.d.ts +1 -1
  55. package/dist/Icons/GlobeIcon/GlobeIcon.js +16 -0
  56. package/dist/Icons/GlobeIcon/index.d.ts +1 -0
  57. package/dist/Icons/HorizontalSwap/HorizontalSwap.js +37 -0
  58. package/dist/Icons/HubIcon/HubIcon.js +16 -0
  59. package/dist/Icons/InfinityIcon/InfinityIcon.js +22 -0
  60. package/dist/Icons/InfoIcon/InfoIcon.js +16 -0
  61. package/dist/Icons/KeyboardDownIcon/KeyboardDownIcon.js +16 -0
  62. package/dist/Icons/KeyboardLeftIcon/KeyboardLeftIcon.js +16 -0
  63. package/dist/Icons/KeyboardRightIcon/KeyboardRightIcon.js +16 -0
  64. package/dist/Icons/KeyboardUpIcon/KeyboardUpIcon.js +16 -0
  65. package/dist/Icons/LinkIcon/LinkIcon.js +16 -0
  66. package/dist/Icons/LockIcon/LockIcon.js +16 -0
  67. package/dist/Icons/LogoutIcon/LogoutIcon.js +16 -0
  68. package/dist/Icons/MenuIcon/MenuIcon.js +16 -0
  69. package/dist/Icons/MinusIcon/MinusIcon.js +19 -0
  70. package/dist/Icons/OpenInFullIcon/OpenInFullIcon.js +16 -0
  71. package/dist/Icons/OpenInNewIcon/OpenInNewIcon.js +22 -0
  72. package/dist/Icons/OtterSecIcon/OtterSecIcon.js +31 -0
  73. package/dist/Icons/PageInfoIcon/PageInfoIcon.js +16 -0
  74. package/dist/Icons/PasskeyIcon/PasskeyIcon.js +22 -0
  75. package/dist/Icons/PasskeyIcon/index.d.ts +1 -1
  76. package/dist/Icons/PlusIcon/PlusIcon.js +19 -0
  77. package/dist/Icons/RadioCheckedIcon/RadioCheckedIcon.js +16 -0
  78. package/dist/Icons/RadioUncheckedIcon/RadioUncheckedIcon.js +16 -0
  79. package/dist/Icons/RaiseHandIcon/RaiseHandIcon.js +37 -0
  80. package/dist/Icons/ReferralIcon/ReferralIcon.js +16 -0
  81. package/dist/Icons/RelayLinkIcon/RelayLinkIcon.js +88 -0
  82. package/dist/Icons/RemoveIcon/RemoveIcon.js +16 -0
  83. package/dist/Icons/Rotate360Icon/Rotate360Icon.js +37 -0
  84. package/dist/Icons/RoutingIcon/RoutingIcon.js +37 -0
  85. package/dist/Icons/RowInfoIcon/RowInfoIcon.js +37 -0
  86. package/dist/Icons/SDKIcon/SDKIcon.js +37 -0
  87. package/dist/Icons/SearchIcon/SearchIcon.js +16 -0
  88. package/dist/Icons/SearchIconThin/SearchIconThin.js +37 -0
  89. package/dist/Icons/Share/Share.js +22 -0
  90. package/dist/Icons/StakeIcon/StakeIcon.js +37 -0
  91. package/dist/Icons/StarIcon/StarIcon.js +16 -0
  92. package/dist/Icons/SwapHorizontalIcon/SwapHorizontalIcon.js +21 -0
  93. package/dist/Icons/ThorswapIcon/ThorswapIcon.js +55 -0
  94. package/dist/Icons/TimerIcon/TimerIcon.js +16 -0
  95. package/dist/Icons/Unchecked/Unchecked.js +37 -0
  96. package/dist/Icons/WalletIcon/WalletIcon.js +16 -0
  97. package/dist/Icons/WalletIconRose/WalletIconRose.js +22 -0
  98. package/dist/Icons/WarningIcon/WarningIcon.js +37 -0
  99. package/dist/Icons/XIcon/XIcon.js +22 -0
  100. package/dist/Icons/XSolidIcon/XSolidIcon.js +22 -0
  101. package/dist/Icons/ZellicIcon/ZellicIcon.js +101 -0
  102. package/dist/Icons/index.d.ts +1 -1
  103. package/dist/InfoBadge/InfoBadge.js +16 -0
  104. package/dist/Logo/ArbitrumLogo/ArbitrumLogo.js +66 -0
  105. package/dist/Logo/BTCLogo/BTCLogo.js +32 -0
  106. package/dist/Logo/Camelot/Camelot.js +73 -0
  107. package/dist/Logo/CatalogLogo/CatalogLogo.js +44 -0
  108. package/dist/Logo/Coinbase/Coinbase.js +24 -0
  109. package/dist/Logo/DLCBTC/DLCBTC.js +68 -0
  110. package/dist/Logo/Debridge/Debridge.js +103 -0
  111. package/dist/Logo/Dodo/DODO.js +77 -0
  112. package/dist/Logo/EthereumLogo/EthereumLogo.js +60 -0
  113. package/dist/Logo/GMX/GMX.js +49 -0
  114. package/dist/Logo/GMXLogo/GMXLogo.js +40 -0
  115. package/dist/Logo/GardenDocs/GardenDocs.js +31 -0
  116. package/dist/Logo/GardenExplorer/GardenExplorer.js +34 -0
  117. package/dist/Logo/GardenExplorerAlt/GardenExplorerAlt.js +31 -0
  118. package/dist/Logo/GardenFullLogo/GardenFullLogo.js +66 -0
  119. package/dist/{GardenIcon-E0OJI-b-.js → Logo/GardenIcon/GardenIcon.js} +11 -13
  120. package/dist/Logo/GardenIconOutline/GardenIconOutline.js +43 -0
  121. package/dist/Logo/GardenLogo/GardenLogo.js +33 -0
  122. package/dist/Logo/GardenLogoDark/GardenLogoDark.js +83 -0
  123. package/dist/Logo/GardenLogoLight/GardenLogoLight.js +83 -0
  124. package/dist/Logo/GardenLogoMarkDark/GardenLogoMarkDark.js +41 -0
  125. package/dist/Logo/GardenLogoMarkLight/GardenLogoMarkLight.js +41 -0
  126. package/dist/Logo/GardenLogoText/GardenLogoText.js +59 -0
  127. package/dist/Logo/GardenStrokeIcon/GardenStrokeIcon.js +43 -0
  128. package/dist/Logo/NFTIcon/NFTIcon.js +37 -0
  129. package/dist/Logo/PancakeSwap/PancakeSwap.js +134 -0
  130. package/dist/Logo/PhantomIcon/PhantomIcon.js +23 -0
  131. package/dist/Logo/PolygonLogo/PolygonLogo.js +31 -0
  132. package/dist/Logo/Radiant/Radiant.js +31 -0
  133. package/dist/Logo/RadiantLogo/RadiantLogo.js +40 -0
  134. package/dist/Logo/Solv/Solv.js +73 -0
  135. package/dist/Logo/SwellBTC/SwellBTC.js +31 -0
  136. package/dist/Logo/TraderJoe/TraderJoe.js +98 -0
  137. package/dist/Logo/TrailOfBits/TrailOfBits.js +190 -0
  138. package/dist/Logo/TrustWallet/TrustWallet.js +50 -0
  139. package/dist/Logo/Vertex/Vertex.js +90 -0
  140. package/dist/Logo/WalletConnect/WalletConnect.js +22 -0
  141. package/dist/Modal/Modal.js +66 -0
  142. package/dist/Opacity/Opacity.d.ts +1 -1
  143. package/dist/Opacity/Opacity.js +25 -0
  144. package/dist/QuestCard/QuestCard.js +57 -0
  145. package/dist/Sidebar/Sidebar.js +41 -0
  146. package/dist/TokenInfo/TokenInfo.js +44 -0
  147. package/dist/TokenNetworkLogos/TokenNetworkLogos.js +39 -0
  148. package/dist/{Typography-DX9XpQWB.js → Typography/Typography.js} +23 -25
  149. package/dist/animations/RollingText/RollingText.d.ts +12 -0
  150. package/dist/animations/RollingText/RollingText.js +70 -0
  151. package/dist/animations/ScaleY/ScaleY.d.ts +12 -0
  152. package/dist/animations/ScaleY/ScaleY.js +32 -0
  153. package/dist/animations/Shine/Shine.d.ts +11 -0
  154. package/dist/animations/Shine/Shine.js +6 -0
  155. package/dist/animations/index.d.ts +5 -0
  156. package/dist/assets/blogPlaceholder.svg.js +4 -0
  157. package/dist/assets/maskRect.svg.js +4 -0
  158. package/dist/hooks/useClientOnly.d.ts +5 -0
  159. package/dist/hooks/useClientOnly.js +10 -0
  160. package/dist/index.d.ts +21 -0
  161. package/dist/index.js +287 -0
  162. package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
  163. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
  164. package/dist/node_modules/@radix-ui/react-context/dist/index.js +70 -0
  165. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +257 -0
  166. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  167. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
  168. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +137 -0
  169. package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
  170. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
  171. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +71 -0
  172. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  173. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +50 -0
  174. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  175. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +54 -0
  176. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
  177. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
  178. package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
  179. package/dist/node_modules/vaul/dist/index.js +1038 -0
  180. package/dist/style.css +1 -17
  181. package/dist/utils/utils.d.ts +3 -0
  182. package/dist/utils/utils.js +6 -0
  183. package/package.json +8 -4
  184. package/dist/BlogCard.js +0 -820
  185. package/dist/BlogCard.js.map +0 -1
  186. package/dist/BottomSheet.js +0 -2801
  187. package/dist/BottomSheet.js.map +0 -1
  188. package/dist/Button/spinner.json.d.ts +0 -3
  189. package/dist/Button.js.map +0 -1
  190. package/dist/Checkbox.js +0 -9
  191. package/dist/Checkbox.js.map +0 -1
  192. package/dist/Chip-DOSAEkS5.js +0 -24
  193. package/dist/Chip-DOSAEkS5.js.map +0 -1
  194. package/dist/Chip.js +0 -5
  195. package/dist/Chip.js.map +0 -1
  196. package/dist/ClientOnly-CMQEf-Yl.js +0 -13
  197. package/dist/ClientOnly-CMQEf-Yl.js.map +0 -1
  198. package/dist/ClientOnly.js +0 -5
  199. package/dist/ClientOnly.js.map +0 -1
  200. package/dist/Combination-BN2ESQ8D.js +0 -666
  201. package/dist/Combination-BN2ESQ8D.js.map +0 -1
  202. package/dist/Container.js +0 -9
  203. package/dist/Container.js.map +0 -1
  204. package/dist/Footer.js +0 -661
  205. package/dist/Footer.js.map +0 -1
  206. package/dist/GardenIcon-E0OJI-b-.js.map +0 -1
  207. package/dist/GradientScroll.js +0 -86
  208. package/dist/GradientScroll.js.map +0 -1
  209. package/dist/Icons/LanguageIcon/index.d.ts +0 -1
  210. package/dist/Icons.js +0 -1936
  211. package/dist/Icons.js.map +0 -1
  212. package/dist/InfoBadge.js +0 -19
  213. package/dist/InfoBadge.js.map +0 -1
  214. package/dist/KeyboardDownIcon-hh63DdT7.js +0 -19
  215. package/dist/KeyboardDownIcon-hh63DdT7.js.map +0 -1
  216. package/dist/Logo.js +0 -2044
  217. package/dist/Logo.js.map +0 -1
  218. package/dist/Modal.js +0 -77
  219. package/dist/Modal.js.map +0 -1
  220. package/dist/Opacity-DRe3jTZ4.js +0 -29
  221. package/dist/Opacity-DRe3jTZ4.js.map +0 -1
  222. package/dist/Opacity.js +0 -5
  223. package/dist/Opacity.js.map +0 -1
  224. package/dist/OpenInFullIcon-D2mt0Gjr.js +0 -34
  225. package/dist/OpenInFullIcon-D2mt0Gjr.js.map +0 -1
  226. package/dist/QuestCard.js +0 -60
  227. package/dist/QuestCard.js.map +0 -1
  228. package/dist/RadioUncheckedIcon-KnzZG6cp.js +0 -34
  229. package/dist/RadioUncheckedIcon-KnzZG6cp.js.map +0 -1
  230. package/dist/Sidebar.js +0 -45
  231. package/dist/Sidebar.js.map +0 -1
  232. package/dist/TokenInfo.js +0 -47
  233. package/dist/TokenInfo.js.map +0 -1
  234. package/dist/TokenNetworkLogos-DZZrRsmI.js +0 -41
  235. package/dist/TokenNetworkLogos-DZZrRsmI.js.map +0 -1
  236. package/dist/TokenNetworkLogos.js +0 -5
  237. package/dist/TokenNetworkLogos.js.map +0 -1
  238. package/dist/Typography-DX9XpQWB.js.map +0 -1
  239. package/dist/Typography.js +0 -5
  240. package/dist/Typography.js.map +0 -1
  241. package/dist/Unchecked-B7UGXlAZ.js +0 -76
  242. package/dist/Unchecked-B7UGXlAZ.js.map +0 -1
  243. package/dist/XIcon-DC822TMq.js +0 -67
  244. package/dist/XIcon-DC822TMq.js.map +0 -1
  245. package/dist/fonts/HafferBlack.woff2 +0 -0
  246. package/dist/fonts/HafferBold.woff2 +0 -0
  247. package/dist/fonts/HafferHeavy.woff2 +0 -0
  248. package/dist/fonts/HafferLight.woff2 +0 -0
  249. package/dist/fonts/HafferMedium.woff2 +0 -0
  250. package/dist/fonts/HafferRegular.woff2 +0 -0
  251. package/dist/fonts/HafferSemiBold.woff2 +0 -0
  252. package/dist/fonts/HafferThin.woff2 +0 -0
  253. package/dist/index-Ir5YwUO1.js +0 -45
  254. package/dist/index-Ir5YwUO1.js.map +0 -1
  255. package/dist/useClientOnly-Bzx92NOa.js +0 -12
  256. package/dist/useClientOnly-Bzx92NOa.js.map +0 -1
  257. package/dist/utils-BnsJHiW8.js +0 -2478
  258. package/dist/utils-BnsJHiW8.js.map +0 -1
  259. /package/dist/Icons/PasskeyIcon/{Passkey.d.ts → PasskeyIcon.d.ts} +0 -0
package/dist/BlogCard.js DELETED
@@ -1,820 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import React__default, { useState, useEffect } from "react";
3
- import { O as Opacity } from "./Opacity-DRe3jTZ4.js";
4
- import { T as Typography } from "./Typography-DX9XpQWB.js";
5
- import { c as cn } from "./utils-BnsJHiW8.js";
6
- var build = { exports: {} };
7
- (() => {
8
- var e = { 296: (e2, t2, r2) => {
9
- var o2 = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt, s = "object" == typeof r2.g && r2.g && r2.g.Object === Object && r2.g, l = "object" == typeof self && self && self.Object === Object && self, a = s || l || Function("return this")(), f = Object.prototype.toString, p = Math.max, y = Math.min, b = function() {
10
- return a.Date.now();
11
- };
12
- function d(e3) {
13
- var t3 = typeof e3;
14
- return !!e3 && ("object" == t3 || "function" == t3);
15
- }
16
- function h(e3) {
17
- if ("number" == typeof e3) return e3;
18
- if (function(e4) {
19
- return "symbol" == typeof e4 || /* @__PURE__ */ function(e5) {
20
- return !!e5 && "object" == typeof e5;
21
- }(e4) && "[object Symbol]" == f.call(e4);
22
- }(e3)) return NaN;
23
- if (d(e3)) {
24
- var t3 = "function" == typeof e3.valueOf ? e3.valueOf() : e3;
25
- e3 = d(t3) ? t3 + "" : t3;
26
- }
27
- if ("string" != typeof e3) return 0 === e3 ? e3 : +e3;
28
- e3 = e3.replace(o2, "");
29
- var r3 = i.test(e3);
30
- return r3 || c.test(e3) ? u(e3.slice(2), r3 ? 2 : 8) : n.test(e3) ? NaN : +e3;
31
- }
32
- e2.exports = function(e3, t3, r3) {
33
- var o3, n2, i2, c2, u2, s2, l2 = 0, a2 = false, f2 = false, v = true;
34
- if ("function" != typeof e3) throw new TypeError("Expected a function");
35
- function m(t4) {
36
- var r4 = o3, i3 = n2;
37
- return o3 = n2 = void 0, l2 = t4, c2 = e3.apply(i3, r4);
38
- }
39
- function O(e4) {
40
- var r4 = e4 - s2;
41
- return void 0 === s2 || r4 >= t3 || r4 < 0 || f2 && e4 - l2 >= i2;
42
- }
43
- function w() {
44
- var e4 = b();
45
- if (O(e4)) return g(e4);
46
- u2 = setTimeout(w, function(e5) {
47
- var r4 = t3 - (e5 - s2);
48
- return f2 ? y(r4, i2 - (e5 - l2)) : r4;
49
- }(e4));
50
- }
51
- function g(e4) {
52
- return u2 = void 0, v && o3 ? m(e4) : (o3 = n2 = void 0, c2);
53
- }
54
- function P() {
55
- var e4 = b(), r4 = O(e4);
56
- if (o3 = arguments, n2 = this, s2 = e4, r4) {
57
- if (void 0 === u2) return function(e5) {
58
- return l2 = e5, u2 = setTimeout(w, t3), a2 ? m(e5) : c2;
59
- }(s2);
60
- if (f2) return u2 = setTimeout(w, t3), m(s2);
61
- }
62
- return void 0 === u2 && (u2 = setTimeout(w, t3)), c2;
63
- }
64
- return t3 = h(t3) || 0, d(r3) && (a2 = !!r3.leading, i2 = (f2 = "maxWait" in r3) ? p(h(r3.maxWait) || 0, t3) : i2, v = "trailing" in r3 ? !!r3.trailing : v), P.cancel = function() {
65
- void 0 !== u2 && clearTimeout(u2), l2 = 0, o3 = s2 = n2 = u2 = void 0;
66
- }, P.flush = function() {
67
- return void 0 === u2 ? c2 : g(b());
68
- }, P;
69
- };
70
- }, 96: (e2, t2, r2) => {
71
- var o2 = "Expected a function", n = NaN, i = "[object Symbol]", c = /^\s+|\s+$/g, u = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, l = /^0o[0-7]+$/i, a = parseInt, f = "object" == typeof r2.g && r2.g && r2.g.Object === Object && r2.g, p = "object" == typeof self && self && self.Object === Object && self, y = f || p || Function("return this")(), b = Object.prototype.toString, d = Math.max, h = Math.min, v = function() {
72
- return y.Date.now();
73
- };
74
- function m(e3) {
75
- var t3 = typeof e3;
76
- return !!e3 && ("object" == t3 || "function" == t3);
77
- }
78
- function O(e3) {
79
- if ("number" == typeof e3) return e3;
80
- if (function(e4) {
81
- return "symbol" == typeof e4 || /* @__PURE__ */ function(e5) {
82
- return !!e5 && "object" == typeof e5;
83
- }(e4) && b.call(e4) == i;
84
- }(e3)) return n;
85
- if (m(e3)) {
86
- var t3 = "function" == typeof e3.valueOf ? e3.valueOf() : e3;
87
- e3 = m(t3) ? t3 + "" : t3;
88
- }
89
- if ("string" != typeof e3) return 0 === e3 ? e3 : +e3;
90
- e3 = e3.replace(c, "");
91
- var r3 = s.test(e3);
92
- return r3 || l.test(e3) ? a(e3.slice(2), r3 ? 2 : 8) : u.test(e3) ? n : +e3;
93
- }
94
- e2.exports = function(e3, t3, r3) {
95
- var n2 = true, i2 = true;
96
- if ("function" != typeof e3) throw new TypeError(o2);
97
- return m(r3) && (n2 = "leading" in r3 ? !!r3.leading : n2, i2 = "trailing" in r3 ? !!r3.trailing : i2), function(e4, t4, r4) {
98
- var n3, i3, c2, u2, s2, l2, a2 = 0, f2 = false, p2 = false, y2 = true;
99
- if ("function" != typeof e4) throw new TypeError(o2);
100
- function b2(t5) {
101
- var r5 = n3, o3 = i3;
102
- return n3 = i3 = void 0, a2 = t5, u2 = e4.apply(o3, r5);
103
- }
104
- function w(e5) {
105
- var r5 = e5 - l2;
106
- return void 0 === l2 || r5 >= t4 || r5 < 0 || p2 && e5 - a2 >= c2;
107
- }
108
- function g() {
109
- var e5 = v();
110
- if (w(e5)) return P(e5);
111
- s2 = setTimeout(g, function(e6) {
112
- var r5 = t4 - (e6 - l2);
113
- return p2 ? h(r5, c2 - (e6 - a2)) : r5;
114
- }(e5));
115
- }
116
- function P(e5) {
117
- return s2 = void 0, y2 && n3 ? b2(e5) : (n3 = i3 = void 0, u2);
118
- }
119
- function j() {
120
- var e5 = v(), r5 = w(e5);
121
- if (n3 = arguments, i3 = this, l2 = e5, r5) {
122
- if (void 0 === s2) return function(e6) {
123
- return a2 = e6, s2 = setTimeout(g, t4), f2 ? b2(e6) : u2;
124
- }(l2);
125
- if (p2) return s2 = setTimeout(g, t4), b2(l2);
126
- }
127
- return void 0 === s2 && (s2 = setTimeout(g, t4)), u2;
128
- }
129
- return t4 = O(t4) || 0, m(r4) && (f2 = !!r4.leading, c2 = (p2 = "maxWait" in r4) ? d(O(r4.maxWait) || 0, t4) : c2, y2 = "trailing" in r4 ? !!r4.trailing : y2), j.cancel = function() {
130
- void 0 !== s2 && clearTimeout(s2), a2 = 0, n3 = l2 = i3 = s2 = void 0;
131
- }, j.flush = function() {
132
- return void 0 === s2 ? u2 : P(v());
133
- }, j;
134
- }(e3, t3, { leading: n2, maxWait: t3, trailing: i2 });
135
- };
136
- }, 703: (e2, t2, r2) => {
137
- var o2 = r2(414);
138
- function n() {
139
- }
140
- function i() {
141
- }
142
- i.resetWarningCache = n, e2.exports = function() {
143
- function e3(e4, t4, r4, n2, i2, c) {
144
- if (c !== o2) {
145
- var u = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
146
- throw u.name = "Invariant Violation", u;
147
- }
148
- }
149
- function t3() {
150
- return e3;
151
- }
152
- e3.isRequired = e3;
153
- var r3 = { array: e3, bigint: e3, bool: e3, func: e3, number: e3, object: e3, string: e3, symbol: e3, any: e3, arrayOf: t3, element: e3, elementType: e3, instanceOf: t3, node: e3, objectOf: t3, oneOf: t3, oneOfType: t3, shape: t3, exact: t3, checkPropTypes: i, resetWarningCache: n };
154
- return r3.PropTypes = r3, r3;
155
- };
156
- }, 697: (e2, t2, r2) => {
157
- e2.exports = r2(703)();
158
- }, 414: (e2) => {
159
- e2.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
160
- } }, t = {};
161
- function r(o2) {
162
- var n = t[o2];
163
- if (void 0 !== n) return n.exports;
164
- var i = t[o2] = { exports: {} };
165
- return e[o2](i, i.exports, r), i.exports;
166
- }
167
- r.n = (e2) => {
168
- var t2 = e2 && e2.__esModule ? () => e2.default : () => e2;
169
- return r.d(t2, { a: t2 }), t2;
170
- }, r.d = (e2, t2) => {
171
- for (var o2 in t2) r.o(t2, o2) && !r.o(e2, o2) && Object.defineProperty(e2, o2, { enumerable: true, get: t2[o2] });
172
- }, r.g = function() {
173
- if ("object" == typeof globalThis) return globalThis;
174
- try {
175
- return this || new Function("return this")();
176
- } catch (e2) {
177
- if ("object" == typeof window) return window;
178
- }
179
- }(), r.o = (e2, t2) => Object.prototype.hasOwnProperty.call(e2, t2), r.r = (e2) => {
180
- "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
181
- };
182
- var o = {};
183
- (() => {
184
- r.r(o), r.d(o, { LazyLoadComponent: () => Y, LazyLoadImage: () => ne, trackWindowScroll: () => D });
185
- const e2 = React__default;
186
- var t2 = r.n(e2), n = r(697);
187
- function i() {
188
- return "undefined" != typeof window && "IntersectionObserver" in window && "isIntersecting" in window.IntersectionObserverEntry.prototype;
189
- }
190
- function c(e3) {
191
- return c = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
192
- return typeof e4;
193
- } : function(e4) {
194
- return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
195
- }, c(e3);
196
- }
197
- function u(e3, t3) {
198
- var r2 = Object.keys(e3);
199
- if (Object.getOwnPropertySymbols) {
200
- var o2 = Object.getOwnPropertySymbols(e3);
201
- t3 && (o2 = o2.filter(function(t4) {
202
- return Object.getOwnPropertyDescriptor(e3, t4).enumerable;
203
- })), r2.push.apply(r2, o2);
204
- }
205
- return r2;
206
- }
207
- function s(e3, t3, r2) {
208
- return (t3 = a(t3)) in e3 ? Object.defineProperty(e3, t3, { value: r2, enumerable: true, configurable: true, writable: true }) : e3[t3] = r2, e3;
209
- }
210
- function l(e3, t3) {
211
- for (var r2 = 0; r2 < t3.length; r2++) {
212
- var o2 = t3[r2];
213
- o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e3, a(o2.key), o2);
214
- }
215
- }
216
- function a(e3) {
217
- var t3 = function(e4, t4) {
218
- if ("object" !== c(e4) || null === e4) return e4;
219
- var r2 = e4[Symbol.toPrimitive];
220
- if (void 0 !== r2) {
221
- var o2 = r2.call(e4, "string");
222
- if ("object" !== c(o2)) return o2;
223
- throw new TypeError("@@toPrimitive must return a primitive value.");
224
- }
225
- return String(e4);
226
- }(e3);
227
- return "symbol" === c(t3) ? t3 : String(t3);
228
- }
229
- function f(e3, t3) {
230
- return f = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e4, t4) {
231
- return e4.__proto__ = t4, e4;
232
- }, f(e3, t3);
233
- }
234
- function p(e3) {
235
- return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e4) {
236
- return e4.__proto__ || Object.getPrototypeOf(e4);
237
- }, p(e3);
238
- }
239
- var y = function(e3) {
240
- e3.forEach(function(e4) {
241
- e4.isIntersecting && e4.target.onVisible();
242
- });
243
- }, b = {}, d = function(e3) {
244
- !function(e4, t3) {
245
- if ("function" != typeof t3 && null !== t3) throw new TypeError("Super expression must either be null or a function");
246
- e4.prototype = Object.create(t3 && t3.prototype, { constructor: { value: e4, writable: true, configurable: true } }), Object.defineProperty(e4, "prototype", { writable: false }), t3 && f(e4, t3);
247
- }(h2, e3);
248
- var r2, o2, n2, a2, d2 = (n2 = h2, a2 = function() {
249
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
250
- if (Reflect.construct.sham) return false;
251
- if ("function" == typeof Proxy) return true;
252
- try {
253
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
254
- })), true;
255
- } catch (e4) {
256
- return false;
257
- }
258
- }(), function() {
259
- var e4, t3 = p(n2);
260
- if (a2) {
261
- var r3 = p(this).constructor;
262
- e4 = Reflect.construct(t3, arguments, r3);
263
- } else e4 = t3.apply(this, arguments);
264
- return function(e5, t4) {
265
- if (t4 && ("object" === c(t4) || "function" == typeof t4)) return t4;
266
- if (void 0 !== t4) throw new TypeError("Derived constructors may only return object or undefined");
267
- return function(e6) {
268
- if (void 0 === e6) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
269
- return e6;
270
- }(e5);
271
- }(this, e4);
272
- });
273
- function h2(e4) {
274
- var t3;
275
- if (function(e5, t4) {
276
- if (!(e5 instanceof t4)) throw new TypeError("Cannot call a class as a function");
277
- }(this, h2), (t3 = d2.call(this, e4)).supportsObserver = !e4.scrollPosition && e4.useIntersectionObserver && i(), t3.supportsObserver) {
278
- var r3 = e4.threshold;
279
- t3.observer = function(e5) {
280
- return b[e5] = b[e5] || new IntersectionObserver(y, { rootMargin: e5 + "px" }), b[e5];
281
- }(r3);
282
- }
283
- return t3;
284
- }
285
- return r2 = h2, o2 = [{ key: "componentDidMount", value: function() {
286
- this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
287
- } }, { key: "componentWillUnmount", value: function() {
288
- this.observer && this.placeholder && this.observer.unobserve(this.placeholder);
289
- } }, { key: "componentDidUpdate", value: function() {
290
- this.supportsObserver || this.updateVisibility();
291
- } }, { key: "getPlaceholderBoundingBox", value: function() {
292
- var e4 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.props.scrollPosition, t3 = this.placeholder.getBoundingClientRect(), r3 = this.placeholder.style, o3 = parseInt(r3.getPropertyValue("margin-left"), 10) || 0, n3 = parseInt(r3.getPropertyValue("margin-top"), 10) || 0;
293
- return { bottom: e4.y + t3.bottom + n3, left: e4.x + t3.left + o3, right: e4.x + t3.right + o3, top: e4.y + t3.top + n3 };
294
- } }, { key: "isPlaceholderInViewport", value: function() {
295
- if ("undefined" == typeof window || !this.placeholder) return false;
296
- var e4 = this.props, t3 = e4.scrollPosition, r3 = e4.threshold, o3 = this.getPlaceholderBoundingBox(t3), n3 = t3.y + window.innerHeight, i2 = t3.x, c2 = t3.x + window.innerWidth, u2 = t3.y;
297
- return Boolean(u2 - r3 <= o3.bottom && n3 + r3 >= o3.top && i2 - r3 <= o3.right && c2 + r3 >= o3.left);
298
- } }, { key: "updateVisibility", value: function() {
299
- this.isPlaceholderInViewport() && this.props.onVisible();
300
- } }, { key: "render", value: function() {
301
- var e4 = this, r3 = this.props, o3 = r3.className, n3 = r3.height, i2 = r3.placeholder, c2 = r3.style, l2 = r3.width;
302
- if (i2 && "function" != typeof i2.type) return t2().cloneElement(i2, { ref: function(t3) {
303
- return e4.placeholder = t3;
304
- } });
305
- var a3 = function(e5) {
306
- for (var t3 = 1; t3 < arguments.length; t3++) {
307
- var r4 = null != arguments[t3] ? arguments[t3] : {};
308
- t3 % 2 ? u(Object(r4), true).forEach(function(t4) {
309
- s(e5, t4, r4[t4]);
310
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e5, Object.getOwnPropertyDescriptors(r4)) : u(Object(r4)).forEach(function(t4) {
311
- Object.defineProperty(e5, t4, Object.getOwnPropertyDescriptor(r4, t4));
312
- });
313
- }
314
- return e5;
315
- }({ display: "inline-block" }, c2);
316
- return void 0 !== l2 && (a3.width = l2), void 0 !== n3 && (a3.height = n3), t2().createElement("span", { className: o3, ref: function(t3) {
317
- return e4.placeholder = t3;
318
- }, style: a3 }, i2);
319
- } }], o2 && l(r2.prototype, o2), Object.defineProperty(r2, "prototype", { writable: false }), h2;
320
- }(t2().Component);
321
- d.propTypes = { onVisible: n.PropTypes.func.isRequired, className: n.PropTypes.string, height: n.PropTypes.oneOfType([n.PropTypes.number, n.PropTypes.string]), placeholder: n.PropTypes.element, threshold: n.PropTypes.number, useIntersectionObserver: n.PropTypes.bool, scrollPosition: n.PropTypes.shape({ x: n.PropTypes.number.isRequired, y: n.PropTypes.number.isRequired }), width: n.PropTypes.oneOfType([n.PropTypes.number, n.PropTypes.string]) }, d.defaultProps = { className: "", placeholder: null, threshold: 100, useIntersectionObserver: true };
322
- const h = d;
323
- var v = r(296), m = r.n(v), O = r(96), w = r.n(O), g = function(e3) {
324
- var t3 = getComputedStyle(e3, null);
325
- return t3.getPropertyValue("overflow") + t3.getPropertyValue("overflow-y") + t3.getPropertyValue("overflow-x");
326
- };
327
- const P = function(e3) {
328
- if (!(e3 instanceof HTMLElement)) return window;
329
- for (var t3 = e3; t3 && t3 instanceof HTMLElement; ) {
330
- if (/(scroll|auto)/.test(g(t3))) return t3;
331
- t3 = t3.parentNode;
332
- }
333
- return window;
334
- };
335
- function j(e3) {
336
- return j = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
337
- return typeof e4;
338
- } : function(e4) {
339
- return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
340
- }, j(e3);
341
- }
342
- var T = ["delayMethod", "delayTime"];
343
- function S() {
344
- return S = Object.assign ? Object.assign.bind() : function(e3) {
345
- for (var t3 = 1; t3 < arguments.length; t3++) {
346
- var r2 = arguments[t3];
347
- for (var o2 in r2) Object.prototype.hasOwnProperty.call(r2, o2) && (e3[o2] = r2[o2]);
348
- }
349
- return e3;
350
- }, S.apply(this, arguments);
351
- }
352
- function E(e3, t3) {
353
- for (var r2 = 0; r2 < t3.length; r2++) {
354
- var o2 = t3[r2];
355
- o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e3, (n2 = function(e4, t4) {
356
- if ("object" !== j(e4) || null === e4) return e4;
357
- var r3 = e4[Symbol.toPrimitive];
358
- if (void 0 !== r3) {
359
- var o3 = r3.call(e4, "string");
360
- if ("object" !== j(o3)) return o3;
361
- throw new TypeError("@@toPrimitive must return a primitive value.");
362
- }
363
- return String(e4);
364
- }(o2.key), "symbol" === j(n2) ? n2 : String(n2)), o2);
365
- }
366
- var n2;
367
- }
368
- function L(e3, t3) {
369
- return L = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e4, t4) {
370
- return e4.__proto__ = t4, e4;
371
- }, L(e3, t3);
372
- }
373
- function _(e3, t3) {
374
- if (t3 && ("object" === j(t3) || "function" == typeof t3)) return t3;
375
- if (void 0 !== t3) throw new TypeError("Derived constructors may only return object or undefined");
376
- return I(e3);
377
- }
378
- function I(e3) {
379
- if (void 0 === e3) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
380
- return e3;
381
- }
382
- function x(e3) {
383
- return x = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e4) {
384
- return e4.__proto__ || Object.getPrototypeOf(e4);
385
- }, x(e3);
386
- }
387
- var R = function() {
388
- return "undefined" == typeof window ? 0 : window.scrollX || window.pageXOffset;
389
- }, k = function() {
390
- return "undefined" == typeof window ? 0 : window.scrollY || window.pageYOffset;
391
- };
392
- const D = function(e3) {
393
- var r2 = function(r3) {
394
- !function(e4, t3) {
395
- if ("function" != typeof t3 && null !== t3) throw new TypeError("Super expression must either be null or a function");
396
- e4.prototype = Object.create(t3 && t3.prototype, { constructor: { value: e4, writable: true, configurable: true } }), Object.defineProperty(e4, "prototype", { writable: false }), t3 && L(e4, t3);
397
- }(l2, r3);
398
- var o2, n2, c2, u2, s2 = (c2 = l2, u2 = function() {
399
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
400
- if (Reflect.construct.sham) return false;
401
- if ("function" == typeof Proxy) return true;
402
- try {
403
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
404
- })), true;
405
- } catch (e4) {
406
- return false;
407
- }
408
- }(), function() {
409
- var e4, t3 = x(c2);
410
- if (u2) {
411
- var r4 = x(this).constructor;
412
- e4 = Reflect.construct(t3, arguments, r4);
413
- } else e4 = t3.apply(this, arguments);
414
- return _(this, e4);
415
- });
416
- function l2(e4) {
417
- var r4;
418
- if (function(e5, t3) {
419
- if (!(e5 instanceof t3)) throw new TypeError("Cannot call a class as a function");
420
- }(this, l2), (r4 = s2.call(this, e4)).useIntersectionObserver = e4.useIntersectionObserver && i(), r4.useIntersectionObserver) return _(r4);
421
- var o3 = r4.onChangeScroll.bind(I(r4));
422
- return "debounce" === e4.delayMethod ? r4.delayedScroll = m()(o3, e4.delayTime) : "throttle" === e4.delayMethod && (r4.delayedScroll = w()(o3, e4.delayTime)), r4.state = { scrollPosition: { x: R(), y: k() } }, r4.baseComponentRef = t2().createRef(), r4;
423
- }
424
- return o2 = l2, (n2 = [{ key: "componentDidMount", value: function() {
425
- this.addListeners();
426
- } }, { key: "componentWillUnmount", value: function() {
427
- this.removeListeners();
428
- } }, { key: "componentDidUpdate", value: function() {
429
- "undefined" == typeof window || this.useIntersectionObserver || P(this.baseComponentRef.current) !== this.scrollElement && (this.removeListeners(), this.addListeners());
430
- } }, { key: "addListeners", value: function() {
431
- "undefined" == typeof window || this.useIntersectionObserver || (this.scrollElement = P(this.baseComponentRef.current), this.scrollElement.addEventListener("scroll", this.delayedScroll, { passive: true }), window.addEventListener("resize", this.delayedScroll, { passive: true }), this.scrollElement !== window && window.addEventListener("scroll", this.delayedScroll, { passive: true }));
432
- } }, { key: "removeListeners", value: function() {
433
- "undefined" == typeof window || this.useIntersectionObserver || (this.scrollElement.removeEventListener("scroll", this.delayedScroll), window.removeEventListener("resize", this.delayedScroll), this.scrollElement !== window && window.removeEventListener("scroll", this.delayedScroll));
434
- } }, { key: "onChangeScroll", value: function() {
435
- this.useIntersectionObserver || this.setState({ scrollPosition: { x: R(), y: k() } });
436
- } }, { key: "render", value: function() {
437
- var r4 = this.props, o3 = (r4.delayMethod, r4.delayTime, function(e4, t3) {
438
- if (null == e4) return {};
439
- var r5, o4, n4 = function(e5, t4) {
440
- if (null == e5) return {};
441
- var r6, o5, n5 = {}, i3 = Object.keys(e5);
442
- for (o5 = 0; o5 < i3.length; o5++) r6 = i3[o5], t4.indexOf(r6) >= 0 || (n5[r6] = e5[r6]);
443
- return n5;
444
- }(e4, t3);
445
- if (Object.getOwnPropertySymbols) {
446
- var i2 = Object.getOwnPropertySymbols(e4);
447
- for (o4 = 0; o4 < i2.length; o4++) r5 = i2[o4], t3.indexOf(r5) >= 0 || Object.prototype.propertyIsEnumerable.call(e4, r5) && (n4[r5] = e4[r5]);
448
- }
449
- return n4;
450
- }(r4, T)), n3 = this.useIntersectionObserver ? null : this.state.scrollPosition;
451
- return t2().createElement(e3, S({ forwardRef: this.baseComponentRef, scrollPosition: n3 }, o3));
452
- } }]) && E(o2.prototype, n2), Object.defineProperty(o2, "prototype", { writable: false }), l2;
453
- }(t2().Component);
454
- return r2.propTypes = { delayMethod: n.PropTypes.oneOf(["debounce", "throttle"]), delayTime: n.PropTypes.number, useIntersectionObserver: n.PropTypes.bool }, r2.defaultProps = { delayMethod: "throttle", delayTime: 300, useIntersectionObserver: true }, r2;
455
- };
456
- function C(e3) {
457
- return C = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
458
- return typeof e4;
459
- } : function(e4) {
460
- return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
461
- }, C(e3);
462
- }
463
- function B(e3, t3) {
464
- for (var r2 = 0; r2 < t3.length; r2++) {
465
- var o2 = t3[r2];
466
- o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e3, (n2 = function(e4, t4) {
467
- if ("object" !== C(e4) || null === e4) return e4;
468
- var r3 = e4[Symbol.toPrimitive];
469
- if (void 0 !== r3) {
470
- var o3 = r3.call(e4, "string");
471
- if ("object" !== C(o3)) return o3;
472
- throw new TypeError("@@toPrimitive must return a primitive value.");
473
- }
474
- return String(e4);
475
- }(o2.key), "symbol" === C(n2) ? n2 : String(n2)), o2);
476
- }
477
- var n2;
478
- }
479
- function M(e3, t3) {
480
- return M = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e4, t4) {
481
- return e4.__proto__ = t4, e4;
482
- }, M(e3, t3);
483
- }
484
- function N(e3) {
485
- return N = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e4) {
486
- return e4.__proto__ || Object.getPrototypeOf(e4);
487
- }, N(e3);
488
- }
489
- var V = function(e3) {
490
- !function(e4, t3) {
491
- if ("function" != typeof t3 && null !== t3) throw new TypeError("Super expression must either be null or a function");
492
- e4.prototype = Object.create(t3 && t3.prototype, { constructor: { value: e4, writable: true, configurable: true } }), Object.defineProperty(e4, "prototype", { writable: false }), t3 && M(e4, t3);
493
- }(u2, e3);
494
- var r2, o2, n2, i2, c2 = (n2 = u2, i2 = function() {
495
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
496
- if (Reflect.construct.sham) return false;
497
- if ("function" == typeof Proxy) return true;
498
- try {
499
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
500
- })), true;
501
- } catch (e4) {
502
- return false;
503
- }
504
- }(), function() {
505
- var e4, t3 = N(n2);
506
- if (i2) {
507
- var r3 = N(this).constructor;
508
- e4 = Reflect.construct(t3, arguments, r3);
509
- } else e4 = t3.apply(this, arguments);
510
- return function(e5, t4) {
511
- if (t4 && ("object" === C(t4) || "function" == typeof t4)) return t4;
512
- if (void 0 !== t4) throw new TypeError("Derived constructors may only return object or undefined");
513
- return function(e6) {
514
- if (void 0 === e6) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
515
- return e6;
516
- }(e5);
517
- }(this, e4);
518
- });
519
- function u2(e4) {
520
- return function(e5, t3) {
521
- if (!(e5 instanceof t3)) throw new TypeError("Cannot call a class as a function");
522
- }(this, u2), c2.call(this, e4);
523
- }
524
- return r2 = u2, (o2 = [{ key: "render", value: function() {
525
- return t2().createElement(h, this.props);
526
- } }]) && B(r2.prototype, o2), Object.defineProperty(r2, "prototype", { writable: false }), u2;
527
- }(t2().Component);
528
- const W = D(V);
529
- function z(e3) {
530
- return z = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
531
- return typeof e4;
532
- } : function(e4) {
533
- return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
534
- }, z(e3);
535
- }
536
- function $(e3, t3) {
537
- for (var r2 = 0; r2 < t3.length; r2++) {
538
- var o2 = t3[r2];
539
- o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e3, (n2 = function(e4, t4) {
540
- if ("object" !== z(e4) || null === e4) return e4;
541
- var r3 = e4[Symbol.toPrimitive];
542
- if (void 0 !== r3) {
543
- var o3 = r3.call(e4, "string");
544
- if ("object" !== z(o3)) return o3;
545
- throw new TypeError("@@toPrimitive must return a primitive value.");
546
- }
547
- return String(e4);
548
- }(o2.key), "symbol" === z(n2) ? n2 : String(n2)), o2);
549
- }
550
- var n2;
551
- }
552
- function U(e3, t3) {
553
- return U = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e4, t4) {
554
- return e4.__proto__ = t4, e4;
555
- }, U(e3, t3);
556
- }
557
- function F(e3) {
558
- if (void 0 === e3) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
559
- return e3;
560
- }
561
- function q(e3) {
562
- return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e4) {
563
- return e4.__proto__ || Object.getPrototypeOf(e4);
564
- }, q(e3);
565
- }
566
- var H = function(e3) {
567
- !function(e4, t3) {
568
- if ("function" != typeof t3 && null !== t3) throw new TypeError("Super expression must either be null or a function");
569
- e4.prototype = Object.create(t3 && t3.prototype, { constructor: { value: e4, writable: true, configurable: true } }), Object.defineProperty(e4, "prototype", { writable: false }), t3 && U(e4, t3);
570
- }(s2, e3);
571
- var r2, o2, n2, c2, u2 = (n2 = s2, c2 = function() {
572
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
573
- if (Reflect.construct.sham) return false;
574
- if ("function" == typeof Proxy) return true;
575
- try {
576
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
577
- })), true;
578
- } catch (e4) {
579
- return false;
580
- }
581
- }(), function() {
582
- var e4, t3 = q(n2);
583
- if (c2) {
584
- var r3 = q(this).constructor;
585
- e4 = Reflect.construct(t3, arguments, r3);
586
- } else e4 = t3.apply(this, arguments);
587
- return function(e5, t4) {
588
- if (t4 && ("object" === z(t4) || "function" == typeof t4)) return t4;
589
- if (void 0 !== t4) throw new TypeError("Derived constructors may only return object or undefined");
590
- return F(e5);
591
- }(this, e4);
592
- });
593
- function s2(e4) {
594
- var t3;
595
- !function(e5, t4) {
596
- if (!(e5 instanceof t4)) throw new TypeError("Cannot call a class as a function");
597
- }(this, s2), t3 = u2.call(this, e4);
598
- var r3 = e4.afterLoad, o3 = e4.beforeLoad, n3 = e4.scrollPosition, i2 = e4.visibleByDefault;
599
- return t3.state = { visible: i2 }, i2 && (o3(), r3()), t3.onVisible = t3.onVisible.bind(F(t3)), t3.isScrollTracked = Boolean(n3 && Number.isFinite(n3.x) && n3.x >= 0 && Number.isFinite(n3.y) && n3.y >= 0), t3;
600
- }
601
- return r2 = s2, (o2 = [{ key: "componentDidUpdate", value: function(e4, t3) {
602
- t3.visible !== this.state.visible && this.props.afterLoad();
603
- } }, { key: "onVisible", value: function() {
604
- this.props.beforeLoad(), this.setState({ visible: true });
605
- } }, { key: "render", value: function() {
606
- if (this.state.visible) return this.props.children;
607
- var e4 = this.props, r3 = e4.className, o3 = e4.delayMethod, n3 = e4.delayTime, c3 = e4.height, u3 = e4.placeholder, s3 = e4.scrollPosition, l2 = e4.style, a2 = e4.threshold, f2 = e4.useIntersectionObserver, p2 = e4.width;
608
- return this.isScrollTracked || f2 && i() ? t2().createElement(h, { className: r3, height: c3, onVisible: this.onVisible, placeholder: u3, scrollPosition: s3, style: l2, threshold: a2, useIntersectionObserver: f2, width: p2 }) : t2().createElement(W, { className: r3, delayMethod: o3, delayTime: n3, height: c3, onVisible: this.onVisible, placeholder: u3, style: l2, threshold: a2, width: p2 });
609
- } }]) && $(r2.prototype, o2), Object.defineProperty(r2, "prototype", { writable: false }), s2;
610
- }(t2().Component);
611
- H.propTypes = { afterLoad: n.PropTypes.func, beforeLoad: n.PropTypes.func, useIntersectionObserver: n.PropTypes.bool, visibleByDefault: n.PropTypes.bool }, H.defaultProps = { afterLoad: function() {
612
- return {};
613
- }, beforeLoad: function() {
614
- return {};
615
- }, useIntersectionObserver: true, visibleByDefault: false };
616
- const Y = H;
617
- function X(e3) {
618
- return X = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
619
- return typeof e4;
620
- } : function(e4) {
621
- return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
622
- }, X(e3);
623
- }
624
- var A = ["afterLoad", "beforeLoad", "delayMethod", "delayTime", "effect", "placeholder", "placeholderSrc", "scrollPosition", "threshold", "useIntersectionObserver", "visibleByDefault", "wrapperClassName", "wrapperProps"];
625
- function G(e3, t3) {
626
- var r2 = Object.keys(e3);
627
- if (Object.getOwnPropertySymbols) {
628
- var o2 = Object.getOwnPropertySymbols(e3);
629
- t3 && (o2 = o2.filter(function(t4) {
630
- return Object.getOwnPropertyDescriptor(e3, t4).enumerable;
631
- })), r2.push.apply(r2, o2);
632
- }
633
- return r2;
634
- }
635
- function J(e3) {
636
- for (var t3 = 1; t3 < arguments.length; t3++) {
637
- var r2 = null != arguments[t3] ? arguments[t3] : {};
638
- t3 % 2 ? G(Object(r2), true).forEach(function(t4) {
639
- K(e3, t4, r2[t4]);
640
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(r2)) : G(Object(r2)).forEach(function(t4) {
641
- Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(r2, t4));
642
- });
643
- }
644
- return e3;
645
- }
646
- function K(e3, t3, r2) {
647
- return (t3 = ee(t3)) in e3 ? Object.defineProperty(e3, t3, { value: r2, enumerable: true, configurable: true, writable: true }) : e3[t3] = r2, e3;
648
- }
649
- function Q() {
650
- return Q = Object.assign ? Object.assign.bind() : function(e3) {
651
- for (var t3 = 1; t3 < arguments.length; t3++) {
652
- var r2 = arguments[t3];
653
- for (var o2 in r2) Object.prototype.hasOwnProperty.call(r2, o2) && (e3[o2] = r2[o2]);
654
- }
655
- return e3;
656
- }, Q.apply(this, arguments);
657
- }
658
- function Z(e3, t3) {
659
- for (var r2 = 0; r2 < t3.length; r2++) {
660
- var o2 = t3[r2];
661
- o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e3, ee(o2.key), o2);
662
- }
663
- }
664
- function ee(e3) {
665
- var t3 = function(e4, t4) {
666
- if ("object" !== X(e4) || null === e4) return e4;
667
- var r2 = e4[Symbol.toPrimitive];
668
- if (void 0 !== r2) {
669
- var o2 = r2.call(e4, "string");
670
- if ("object" !== X(o2)) return o2;
671
- throw new TypeError("@@toPrimitive must return a primitive value.");
672
- }
673
- return String(e4);
674
- }(e3);
675
- return "symbol" === X(t3) ? t3 : String(t3);
676
- }
677
- function te(e3, t3) {
678
- return te = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e4, t4) {
679
- return e4.__proto__ = t4, e4;
680
- }, te(e3, t3);
681
- }
682
- function re(e3) {
683
- return re = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e4) {
684
- return e4.__proto__ || Object.getPrototypeOf(e4);
685
- }, re(e3);
686
- }
687
- var oe = function(e3) {
688
- !function(e4, t3) {
689
- if ("function" != typeof t3 && null !== t3) throw new TypeError("Super expression must either be null or a function");
690
- e4.prototype = Object.create(t3 && t3.prototype, { constructor: { value: e4, writable: true, configurable: true } }), Object.defineProperty(e4, "prototype", { writable: false }), t3 && te(e4, t3);
691
- }(u2, e3);
692
- var r2, o2, n2, i2, c2 = (n2 = u2, i2 = function() {
693
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
694
- if (Reflect.construct.sham) return false;
695
- if ("function" == typeof Proxy) return true;
696
- try {
697
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
698
- })), true;
699
- } catch (e4) {
700
- return false;
701
- }
702
- }(), function() {
703
- var e4, t3 = re(n2);
704
- if (i2) {
705
- var r3 = re(this).constructor;
706
- e4 = Reflect.construct(t3, arguments, r3);
707
- } else e4 = t3.apply(this, arguments);
708
- return function(e5, t4) {
709
- if (t4 && ("object" === X(t4) || "function" == typeof t4)) return t4;
710
- if (void 0 !== t4) throw new TypeError("Derived constructors may only return object or undefined");
711
- return function(e6) {
712
- if (void 0 === e6) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
713
- return e6;
714
- }(e5);
715
- }(this, e4);
716
- });
717
- function u2(e4) {
718
- var t3;
719
- return function(e5, t4) {
720
- if (!(e5 instanceof t4)) throw new TypeError("Cannot call a class as a function");
721
- }(this, u2), (t3 = c2.call(this, e4)).state = { loaded: false }, t3;
722
- }
723
- return r2 = u2, (o2 = [{ key: "onImageLoad", value: function() {
724
- var e4 = this;
725
- return this.state.loaded ? null : function(t3) {
726
- e4.props.onLoad(t3), e4.props.afterLoad(), e4.setState({ loaded: true });
727
- };
728
- } }, { key: "getImg", value: function() {
729
- var e4 = this.props, r3 = (e4.afterLoad, e4.beforeLoad, e4.delayMethod, e4.delayTime, e4.effect, e4.placeholder, e4.placeholderSrc, e4.scrollPosition, e4.threshold, e4.useIntersectionObserver, e4.visibleByDefault, e4.wrapperClassName, e4.wrapperProps, function(e5, t3) {
730
- if (null == e5) return {};
731
- var r4, o3, n3 = function(e6, t4) {
732
- if (null == e6) return {};
733
- var r5, o4, n4 = {}, i4 = Object.keys(e6);
734
- for (o4 = 0; o4 < i4.length; o4++) r5 = i4[o4], t4.indexOf(r5) >= 0 || (n4[r5] = e6[r5]);
735
- return n4;
736
- }(e5, t3);
737
- if (Object.getOwnPropertySymbols) {
738
- var i3 = Object.getOwnPropertySymbols(e5);
739
- for (o3 = 0; o3 < i3.length; o3++) r4 = i3[o3], t3.indexOf(r4) >= 0 || Object.prototype.propertyIsEnumerable.call(e5, r4) && (n3[r4] = e5[r4]);
740
- }
741
- return n3;
742
- }(e4, A));
743
- return t2().createElement("img", Q({}, r3, { onLoad: this.onImageLoad() }));
744
- } }, { key: "getLazyLoadImage", value: function() {
745
- var e4 = this.props, r3 = e4.beforeLoad, o3 = e4.className, n3 = e4.delayMethod, i3 = e4.delayTime, c3 = e4.height, u3 = e4.placeholder, s2 = e4.scrollPosition, l2 = e4.style, a2 = e4.threshold, f2 = e4.useIntersectionObserver, p2 = e4.visibleByDefault, y2 = e4.width;
746
- return t2().createElement(Y, { beforeLoad: r3, className: o3, delayMethod: n3, delayTime: i3, height: c3, placeholder: u3, scrollPosition: s2, style: l2, threshold: a2, useIntersectionObserver: f2, visibleByDefault: p2, width: y2 }, this.getImg());
747
- } }, { key: "getWrappedLazyLoadImage", value: function(e4) {
748
- var r3 = this.props, o3 = r3.effect, n3 = r3.height, i3 = r3.placeholderSrc, c3 = r3.width, u3 = r3.wrapperClassName, s2 = r3.wrapperProps, l2 = this.state.loaded, a2 = l2 ? " lazy-load-image-loaded" : "", f2 = l2 || !i3 ? {} : { backgroundImage: "url(".concat(i3, ")"), backgroundSize: "100% 100%" };
749
- return t2().createElement("span", Q({ className: u3 + " lazy-load-image-background " + o3 + a2, style: J(J({}, f2), {}, { color: "transparent", display: "inline-block", height: n3, width: c3 }) }, s2), e4);
750
- } }, { key: "render", value: function() {
751
- var e4 = this.props, t3 = e4.effect, r3 = e4.placeholderSrc, o3 = e4.visibleByDefault, n3 = e4.wrapperClassName, i3 = e4.wrapperProps, c3 = this.getLazyLoadImage();
752
- return (t3 || r3) && !o3 || n3 || i3 ? this.getWrappedLazyLoadImage(c3) : c3;
753
- } }]) && Z(r2.prototype, o2), Object.defineProperty(r2, "prototype", { writable: false }), u2;
754
- }(t2().Component);
755
- oe.propTypes = { onLoad: n.PropTypes.func, afterLoad: n.PropTypes.func, beforeLoad: n.PropTypes.func, delayMethod: n.PropTypes.string, delayTime: n.PropTypes.number, effect: n.PropTypes.string, placeholderSrc: n.PropTypes.string, threshold: n.PropTypes.number, useIntersectionObserver: n.PropTypes.bool, visibleByDefault: n.PropTypes.bool, wrapperClassName: n.PropTypes.string, wrapperProps: n.PropTypes.object }, oe.defaultProps = { onLoad: function() {
756
- }, afterLoad: function() {
757
- return {};
758
- }, beforeLoad: function() {
759
- return {};
760
- }, delayMethod: "throttle", delayTime: 300, effect: "", placeholderSrc: null, threshold: 100, useIntersectionObserver: true, visibleByDefault: false, wrapperClassName: "" };
761
- const ne = oe;
762
- })(), build.exports = o;
763
- })();
764
- var buildExports = build.exports;
765
- const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
766
- const BlogCard = ({
767
- thumbnail,
768
- category,
769
- date,
770
- title,
771
- className,
772
- thumbnailClassName
773
- }) => {
774
- const [loaded, setLoaded] = useState(false);
775
- const [imageSrc, setImageSrc] = useState(thumbnail ?? placeholderUrl);
776
- useEffect(() => {
777
- setImageSrc(thumbnail ?? placeholderUrl);
778
- }, [thumbnail]);
779
- const handleError = () => {
780
- setImageSrc(placeholderUrl);
781
- };
782
- const LazyImage = buildExports.LazyLoadImage;
783
- return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ jsxs("div", { className: cn(className, `gf-overflow-hidden gf-rounded-2xl`), children: [
784
- /* @__PURE__ */ jsx(
785
- "div",
786
- {
787
- className: cn(thumbnailClassName, `${loaded ? "" : "gf-filter gf-blur-md"}`),
788
- children: /* @__PURE__ */ jsx(
789
- LazyImage,
790
- {
791
- alt: title,
792
- effect: "blur",
793
- src: imageSrc,
794
- onLoad: () => setLoaded(true),
795
- onError: handleError
796
- }
797
- )
798
- }
799
- ),
800
- /* @__PURE__ */ jsxs("div", { className: "gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11", children: [
801
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-between gf-mb-3", children: [
802
- /* @__PURE__ */ jsx(
803
- Typography,
804
- {
805
- size: "h5",
806
- weight: "medium",
807
- className: "gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",
808
- children: category
809
- }
810
- ),
811
- /* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", className: "gf-px-3 gf-py-1", children: date })
812
- ] }),
813
- /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", children: title })
814
- ] })
815
- ] }) });
816
- };
817
- export {
818
- BlogCard
819
- };
820
- //# sourceMappingURL=BlogCard.js.map