@lanaco/lnc-react-ui 4.0.151 → 4.0.153

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 (108) hide show
  1. package/dist/AdBannerSection.cjs +3 -3
  2. package/dist/AdBannerSection.js +16 -16
  3. package/dist/BannerSectionBasic.cjs +4 -4
  4. package/dist/BannerSectionBasic.js +33 -32
  5. package/dist/BannerSectionGrid.cjs +3 -3
  6. package/dist/BannerSectionGrid.js +33 -33
  7. package/dist/BlogCardsSponsoredSection.cjs +3 -3
  8. package/dist/BlogCardsSponsoredSection.js +15 -15
  9. package/dist/BlogCategoryCardsSection.cjs +1 -1
  10. package/dist/BlogCategoryCardsSection.js +12 -12
  11. package/dist/BlogExploreSection.cjs +4 -4
  12. package/dist/BlogExploreSection.js +30 -30
  13. package/dist/BlogListSection.cjs +2 -2
  14. package/dist/BlogListSection.js +28 -28
  15. package/dist/BlogProductCardsSection.cjs +1 -1
  16. package/dist/BlogProductCardsSection.js +20 -19
  17. package/dist/BlogShopCardsSection.cjs +1 -1
  18. package/dist/BlogShopCardsSection.js +22 -22
  19. package/dist/BrandHitsSection.cjs +7 -7
  20. package/dist/BrandHitsSection.js +24 -24
  21. package/dist/CustomLoanMapSection.cjs +1 -1
  22. package/dist/CustomLoanMapSection.js +1 -1
  23. package/dist/{DailyMotion-CPQ6kDJJ.cjs → DailyMotion-BaFUcQKQ.cjs} +1 -1
  24. package/dist/{DailyMotion-BrbMSyj1.js → DailyMotion-ByXblnua.js} +1 -1
  25. package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
  26. package/dist/DetailedProductsInfinitiveSection.js +41 -41
  27. package/dist/DetailedProductsSection.cjs +1 -1
  28. package/dist/DetailedProductsSection.js +1 -1
  29. package/dist/{Facebook-Dw3my9_4.js → Facebook-BCqiOWZO.js} +1 -1
  30. package/dist/{Facebook-DKhRiODC.cjs → Facebook-D9wwecSW.cjs} +1 -1
  31. package/dist/FaqSection.cjs +2 -2
  32. package/dist/FaqSection.js +2 -2
  33. package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
  34. package/dist/FieldOfInterestsMasonrySection.js +65 -48
  35. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +3 -3
  36. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +27 -25
  37. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +10 -9
  38. package/dist/FieldOfInterestsWithTagsCardsSection.js +77 -65
  39. package/dist/{FilePlayer-DlCyGLHB.cjs → FilePlayer-DB6jnpeC.cjs} +1 -1
  40. package/dist/{FilePlayer-Ckx8dmB0.js → FilePlayer-ktaNhf3p.js} +1 -1
  41. package/dist/GeneralWithTagsCardsSection.cjs +9 -9
  42. package/dist/GeneralWithTagsCardsSection.js +15 -15
  43. package/dist/{Kaltura-31Xm8S1J.cjs → Kaltura-CCdXLzOa.cjs} +1 -1
  44. package/dist/{Kaltura-qHdDvnjZ.js → Kaltura-CvlN0HDg.js} +1 -1
  45. package/dist/LoanCalculatorSection.cjs +2 -2
  46. package/dist/LoanCalculatorSection.js +89 -88
  47. package/dist/LocationFinderSection.cjs +1 -1
  48. package/dist/LocationFinderSection.js +1 -1
  49. package/dist/{Mixcloud-DvH0vfg5.js → Mixcloud-Bb8MTclI.js} +1 -1
  50. package/dist/{Mixcloud-CP9Zq_TX.cjs → Mixcloud-nG_VyBNt.cjs} +1 -1
  51. package/dist/{Mux-BlblTeid.cjs → Mux-BgB2a8kM.cjs} +1 -1
  52. package/dist/{Mux--JeF6dPG.js → Mux-DfYpGTiP.js} +1 -1
  53. package/dist/OverlayGeneralCardsSection.cjs +5 -5
  54. package/dist/OverlayGeneralCardsSection.js +11 -11
  55. package/dist/ProductsWithBannerSection.cjs +1 -1
  56. package/dist/ProductsWithBannerSection.js +1 -1
  57. package/dist/QuattroCardsSection.cjs +5 -5
  58. package/dist/QuattroCardsSection.js +7 -7
  59. package/dist/QuizSection.cjs +7 -7
  60. package/dist/QuizSection.js +51 -51
  61. package/dist/SalesCampaignsSection.cjs +1 -1
  62. package/dist/SalesCampaignsSection.js +2 -1
  63. package/dist/SearchSection-BcbHP6QF.cjs +161 -0
  64. package/dist/{SearchSection-CsfURtvf.js → SearchSection-DDQ_K98T.js} +52 -52
  65. package/dist/SearchSection.cjs +1 -1
  66. package/dist/SearchSection.js +1 -1
  67. package/dist/SimpleCategoriesSection.cjs +1 -1
  68. package/dist/SimpleCategoriesSection.js +1 -1
  69. package/dist/SimpleProductsSection.cjs +1 -1
  70. package/dist/SimpleProductsSection.js +2 -2
  71. package/dist/{SoundCloud-1hd9TBSO.cjs → SoundCloud-C86xwUG6.cjs} +1 -1
  72. package/dist/{SoundCloud-CKaavZky.js → SoundCloud-DG91z39R.js} +1 -1
  73. package/dist/StatsSection.cjs +5 -5
  74. package/dist/StatsSection.js +22 -22
  75. package/dist/{Streamable-DLxq1ZNX.cjs → Streamable-4uAnb3WN.cjs} +1 -1
  76. package/dist/{Streamable-CZEPghiG.js → Streamable-BAIWLgyD.js} +1 -1
  77. package/dist/ToggleSection.cjs +3 -3
  78. package/dist/ToggleSection.js +10 -10
  79. package/dist/{Twitch-Bb8e342z.cjs → Twitch-CVAj24ti.cjs} +1 -1
  80. package/dist/{Twitch-BJeGquex.js → Twitch-DfXeW5Xs.js} +1 -1
  81. package/dist/UrgentSaleProductsSection.cjs +1 -1
  82. package/dist/UrgentSaleProductsSection.js +1 -1
  83. package/dist/{Vidyard-WNQdOeK1.cjs → Vidyard-DaCcaaH4.cjs} +1 -1
  84. package/dist/{Vidyard-CuGoX_VE.js → Vidyard-De3pges0.js} +1 -1
  85. package/dist/{Vimeo-Da2vBv-V.cjs → Vimeo-8wXdCXGs.cjs} +1 -1
  86. package/dist/{Vimeo-B9eKoxWn.js → Vimeo-N6I2qi_h.js} +1 -1
  87. package/dist/{Wistia-ZPcGhh1L.cjs → Wistia-BrUzHQoq.cjs} +1 -1
  88. package/dist/{Wistia-BB50IUif.js → Wistia-dlV6n6tO.js} +1 -1
  89. package/dist/{YouTube-4RMnpdLL.cjs → YouTube-Cfsj4ZaP.cjs} +1 -1
  90. package/dist/{YouTube-CG6JL2_w.js → YouTube-DNJxWqRm.js} +1 -1
  91. package/dist/{index-DzYKmmn2.js → index-BGY3PSA-.js} +18 -18
  92. package/dist/{index-Djw_s9eq.js → index-C0SKNFzP.js} +15 -15
  93. package/dist/{index-cd9auaNr.cjs → index-CLoINIGC.cjs} +3 -3
  94. package/dist/{index-GxCvHDwv.cjs → index-ELUMKl0N.cjs} +2 -2
  95. package/dist/index.cjs +1 -1
  96. package/dist/index.js +1 -1
  97. package/dist/{suspense-categories-card-simple-DuKEj9IU.js → suspense-categories-card-simple-BGj475Ca.js} +11 -10
  98. package/dist/{suspense-categories-card-simple-DaA0JGJJ.cjs → suspense-categories-card-simple-CjGtzfzp.cjs} +1 -1
  99. package/dist/suspense-product-card-detailed-BJ-HBkBc.js +577 -0
  100. package/dist/suspense-product-card-detailed-wPRUytSf.cjs +263 -0
  101. package/dist/{suspense-product-card-simple-D2m3NcrV.js → suspense-product-card-simple-CLJjab5B.js} +1 -1
  102. package/dist/{suspense-product-card-simple-BWxWMag0.cjs → suspense-product-card-simple-CrqjSxHI.cjs} +1 -1
  103. package/dist/{tag-CtleOqEC.js → tag-cRMfP-SZ.js} +9 -9
  104. package/dist/{tag-Bov1gw34.cjs → tag-yputMSpE.cjs} +4 -4
  105. package/package.json +1 -1
  106. package/dist/SearchSection-BGK1Fxaj.cjs +0 -161
  107. package/dist/suspense-product-card-detailed-C-ZCjG5p.js +0 -538
  108. package/dist/suspense-product-card-detailed-FuxsUusc.cjs +0 -260
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),h=require("react"),c=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),d=a.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),a=require("react"),c=require("./useDetectMobile-zkbzoOGV.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),d=o.styled.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  max-width: 60.625rem;
@@ -30,8 +30,8 @@
30
30
  aspect-ratio: 1 / 1;
31
31
  }
32
32
  }
33
- `,x=h.forwardRef(({image:r,imageForMobile:i,isMobile:s,onSelectCard:e},o)=>t.jsx(d,{children:t.jsx("img",{src:s?i:r,className:"wrapper__image",onClick:e})})),p=a.styled.div`
33
+ `,x=a.forwardRef(({image:i,imageForMobile:r,isMobile:s,onSelectCard:e},h)=>t.jsx(d,{ref:h,children:t.jsx("img",{src:s?r:i,className:"wrapper__image",onClick:e})})),p=o.styled.div`
34
34
  display: flex;
35
35
  justify-content: center;
36
36
  width: 100%;
37
- `,w=h.forwardRef(({image:r,imageForMobile:i,link:s,onSelectCard:e=()=>{}},o)=>{const n=c.useDetectMobile();return t.jsx(p,{children:t.jsx(x,{image:r,imageForMobile:i,isMobile:n,onSelectCard:()=>e==null?void 0:e(s)})})});module.exports=w;
37
+ `,w=a.forwardRef(({image:i,imageForMobile:r,link:s,onSelectCard:e=()=>{}},h)=>{const n=c.useDetectMobile();return t.jsx(p,{ref:h,children:t.jsx(x,{image:i,imageForMobile:r,isMobile:n,onSelectCard:()=>e==null?void 0:e(s)})})});module.exports=w;
@@ -1,9 +1,9 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as h } from "react";
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as m } from "react";
3
3
  import { u as p } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import { M as d } from "./consts-BuFChS64.js";
6
- const n = m.div`
6
+ const n = o.div`
7
7
  width: 100%;
8
8
  height: 100%;
9
9
  max-width: 60.625rem;
@@ -35,30 +35,30 @@ const n = m.div`
35
35
  aspect-ratio: 1 / 1;
36
36
  }
37
37
  }
38
- `, c = h(
39
- ({ image: r, imageForMobile: t, isMobile: a, onSelectCard: e }, o) => /* @__PURE__ */ i(n, { children: /* @__PURE__ */ i(
38
+ `, c = m(
39
+ ({ image: e, imageForMobile: r, isMobile: a, onSelectCard: i }, h) => /* @__PURE__ */ t(n, { ref: h, children: /* @__PURE__ */ t(
40
40
  "img",
41
41
  {
42
- src: a ? t : r,
42
+ src: a ? r : e,
43
43
  className: "wrapper__image",
44
- onClick: e
44
+ onClick: i
45
45
  }
46
46
  ) })
47
- ), w = m.div`
47
+ ), w = o.div`
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  width: 100%;
51
- `, u = h(
52
- ({ image: r, imageForMobile: t, link: a, onSelectCard: e = () => {
53
- } }, o) => {
51
+ `, u = m(
52
+ ({ image: e, imageForMobile: r, link: a, onSelectCard: i = () => {
53
+ } }, h) => {
54
54
  const s = p();
55
- return /* @__PURE__ */ i(w, { children: /* @__PURE__ */ i(
55
+ return /* @__PURE__ */ t(w, { ref: h, children: /* @__PURE__ */ t(
56
56
  c,
57
57
  {
58
- image: r,
59
- imageForMobile: t,
58
+ image: e,
59
+ imageForMobile: r,
60
60
  isMobile: s,
61
- onSelectCard: () => e == null ? void 0 : e(a)
61
+ onSelectCard: () => i == null ? void 0 : i(a)
62
62
  }
63
63
  ) });
64
64
  }
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),f=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./consts-goSZX3xP.cjs"),x=require("./Button.cjs"),b=r.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),x=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./consts-goSZX3xP.cjs"),b=require("./Button.cjs"),p=r.styled.div`
2
2
  display: flex;
3
3
  border-radius: 0.75rem;
4
4
  background-color: ${e=>e.bgcolor||"transparent"};
@@ -22,7 +22,7 @@
22
22
  width: fit-content;
23
23
  }
24
24
  }
25
- `,p=r.styled.div`
25
+ `,y=r.styled.div`
26
26
  padding: ${e=>e.smallPadding===!0?"2rem":"4rem 5rem"};
27
27
  display: flex;
28
28
  gap: 2rem;
@@ -36,7 +36,7 @@
36
36
  padding: 0;
37
37
  flex-direction: column;
38
38
  }
39
- `,y=r.styled.div`
39
+ `,v=r.styled.div`
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  gap: 0.25rem;
@@ -53,4 +53,4 @@
53
53
  font-size: 1rem;
54
54
  font-weight: 500;
55
55
  }
56
- `,v=f.forwardRef((e,w)=>{const{title:n,subtitle:o,buttonText:a,onClick:s,height:l,imageWidth:d,imageHeightMob:c,smallPadding:m=!1,isHorizontalContent:h=!1,backgroundColor:u,hasBorder:g=!1}=e;return t.jsx(b,{bgcolor:u,height:l,imgW:d,imgHMob:c,hasBorder:g,children:t.jsxs(p,{isHorizontalContent:h,smallPadding:m,children:[t.jsxs(y,{children:[t.jsx("div",{className:"header-title",children:n}),t.jsx("div",{className:"header-subitle",children:o})]}),t.jsx(x,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:s,children:a})]})})});module.exports=v;
56
+ `,w=x.forwardRef((e,n)=>{const{title:o,subtitle:a,buttonText:s,onClick:l,height:d,imageWidth:c,imageHeightMob:m,smallPadding:h=!1,isHorizontalContent:u=!1,backgroundColor:g,hasBorder:f=!1}=e;return t.jsx(p,{ref:n,bgcolor:g,height:d,imgW:c,imgHMob:m,hasBorder:f,children:t.jsxs(y,{isHorizontalContent:u,smallPadding:h,children:[t.jsxs(v,{children:[t.jsx("div",{className:"header-title",children:o}),t.jsx("div",{className:"header-subitle",children:a})]}),t.jsx(b,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:l,children:s})]})})});module.exports=w;
@@ -1,9 +1,9 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import { forwardRef as p } from "react";
2
+ import { forwardRef as x } from "react";
3
3
  import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as o } from "./consts-BuFChS64.js";
5
- import x from "./Button.js";
6
- const b = r.div`
5
+ import b from "./Button.js";
6
+ const v = r.div`
7
7
  display: flex;
8
8
  border-radius: 0.75rem;
9
9
  background-color: ${(e) => e.bgcolor || "transparent"};
@@ -27,7 +27,7 @@ const b = r.div`
27
27
  width: fit-content;
28
28
  }
29
29
  }
30
- `, v = r.div`
30
+ `, w = r.div`
31
31
  padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
32
32
  display: flex;
33
33
  gap: 2rem;
@@ -41,7 +41,7 @@ const b = r.div`
41
41
  padding: 0;
42
42
  flex-direction: column;
43
43
  }
44
- `, w = r.div`
44
+ `, y = r.div`
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  gap: 0.25rem;
@@ -58,47 +58,48 @@ const b = r.div`
58
58
  font-size: 1rem;
59
59
  font-weight: 500;
60
60
  }
61
- `, k = p((e, y) => {
61
+ `, k = x((e, n) => {
62
62
  const {
63
- title: n,
64
- subtitle: a,
65
- buttonText: l,
66
- onClick: d,
67
- height: m,
68
- imageWidth: s,
69
- imageHeightMob: c,
70
- smallPadding: h = !1,
71
- isHorizontalContent: g = !1,
72
- backgroundColor: f,
73
- hasBorder: u = !1
63
+ title: a,
64
+ subtitle: l,
65
+ buttonText: d,
66
+ onClick: m,
67
+ height: s,
68
+ imageWidth: c,
69
+ imageHeightMob: h,
70
+ smallPadding: g = !1,
71
+ isHorizontalContent: f = !1,
72
+ backgroundColor: u,
73
+ hasBorder: p = !1
74
74
  } = e;
75
75
  return /* @__PURE__ */ t(
76
- b,
76
+ v,
77
77
  {
78
- bgcolor: f,
79
- height: m,
80
- imgW: s,
81
- imgHMob: c,
82
- hasBorder: u,
78
+ ref: n,
79
+ bgcolor: u,
80
+ height: s,
81
+ imgW: c,
82
+ imgHMob: h,
83
+ hasBorder: p,
83
84
  children: /* @__PURE__ */ i(
84
- v,
85
+ w,
85
86
  {
86
- isHorizontalContent: g,
87
- smallPadding: h,
87
+ isHorizontalContent: f,
88
+ smallPadding: g,
88
89
  children: [
89
- /* @__PURE__ */ i(w, { children: [
90
- /* @__PURE__ */ t("div", { className: "header-title", children: n }),
91
- /* @__PURE__ */ t("div", { className: "header-subitle", children: a })
90
+ /* @__PURE__ */ i(y, { children: [
91
+ /* @__PURE__ */ t("div", { className: "header-title", children: a }),
92
+ /* @__PURE__ */ t("div", { className: "header-subitle", children: l })
92
93
  ] }),
93
94
  /* @__PURE__ */ t(
94
- x,
95
+ b,
95
96
  {
96
97
  size: "medium",
97
98
  color: "neutral",
98
99
  type: "button",
99
100
  borderRadius: "curved",
100
- onClick: d,
101
- children: l
101
+ onClick: m,
102
+ children: d
102
103
  }
103
104
  )
104
105
  ]
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),j=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),s=require("./index-CSgGox95.cjs"),q=w.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),w=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./consts-goSZX3xP.cjs"),T=require("./useDetectMobile-zkbzoOGV.cjs"),s=require("./index-CSgGox95.cjs"),f=k.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(2, 1fr);
4
4
  gap: 0;
@@ -25,7 +25,7 @@
25
25
  border-radius: 0.75rem 0rem 0.75rem 0.75rem;
26
26
  }
27
27
 
28
- @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
28
+ @media (max-width: ${q.MOBILE_SIZE_PX+"px"}) {
29
29
  grid-template-columns: repeat(1, 1fr);
30
30
  gap: 1.5rem;
31
31
 
@@ -45,4 +45,4 @@
45
45
  max-height: unset;
46
46
  }
47
47
  }
48
- `,T=j.forwardRef((e,B)=>{const{image1Url:n,image2Url:i,title1:o,title2:g,text1:a,text2:c,subtitle1:u,subtitle2:h,buttonText1:l,buttonText2:x,buttonLink1:d,buttonLink2:b,rowHeight:p="12.65625rem",onButtonAction:r=()=>{}}=e,m=k.useDetectMobile();return t.jsxs(q,{height:p,children:[t.jsx(s.TextBlockV1,{className:"text-item",title:o,subtitle:u,description:a,buttonText:l,buttonLink:d,onButtonAction:r}),t.jsx("img",{className:"img-item img-1",src:n}),m!==!0&&t.jsx("img",{className:"img-item img-2",src:i}),t.jsx(s.TextBlockV1,{className:"text-item",title:g,subtitle:h,description:c,buttonText:x,buttonLink:b,onButtonAction:r}),m===!0&&t.jsx("img",{className:"img-item img-2",src:i})]})});module.exports=T;
48
+ `,B=w.forwardRef((e,n)=>{const{image1Url:o,image2Url:i,title1:g,title2:a,text1:c,text2:u,subtitle1:h,subtitle2:l,buttonText1:x,buttonText2:d,buttonLink1:b,buttonLink2:p,rowHeight:j="12.65625rem",onButtonAction:r=()=>{}}=e,m=T.useDetectMobile();return t.jsxs(f,{ref:n,height:j,children:[t.jsx(s.TextBlockV1,{className:"text-item",title:g,subtitle:h,description:c,buttonText:x,buttonLink:b,onButtonAction:r}),t.jsx("img",{className:"img-item img-1",src:o}),m!==!0&&t.jsx("img",{className:"img-item img-2",src:i}),t.jsx(s.TextBlockV1,{className:"text-item",title:a,subtitle:l,description:u,buttonText:d,buttonLink:p,onButtonAction:r}),m===!0&&t.jsx("img",{className:"img-item img-2",src:i})]})});module.exports=B;
@@ -1,10 +1,10 @@
1
- import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as w } from "react";
3
- import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as k } from "./consts-BuFChS64.js";
5
- import { u as L } from "./useDetectMobile-Bkvj0VMa.js";
1
+ import { jsxs as w, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as T } from "react";
3
+ import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as L } from "./consts-BuFChS64.js";
5
+ import { u as N } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { T as o } from "./index-DK8dqEUQ.js";
7
- const N = T.div`
7
+ const $ = k.div`
8
8
  display: grid;
9
9
  grid-template-columns: repeat(2, 1fr);
10
10
  gap: 0;
@@ -31,7 +31,7 @@ const N = T.div`
31
31
  border-radius: 0.75rem 0rem 0.75rem 0.75rem;
32
32
  }
33
33
 
34
- @media (max-width: ${k + "px"}) {
34
+ @media (max-width: ${L + "px"}) {
35
35
  grid-template-columns: repeat(1, 1fr);
36
36
  gap: 1.5rem;
37
37
 
@@ -51,48 +51,48 @@ const N = T.div`
51
51
  max-height: unset;
52
52
  }
53
53
  }
54
- `, G = w((t, $) => {
54
+ `, G = T((t, s) => {
55
55
  const {
56
- image1Url: s,
56
+ image1Url: a,
57
57
  image2Url: i,
58
- title1: a,
59
- title2: g,
60
- text1: n,
61
- text2: h,
62
- subtitle1: u,
63
- subtitle2: l,
64
- buttonText1: d,
65
- buttonText2: c,
66
- buttonLink1: x,
67
- buttonLink2: p,
68
- rowHeight: b = "12.65625rem",
58
+ title1: g,
59
+ title2: n,
60
+ text1: h,
61
+ text2: u,
62
+ subtitle1: l,
63
+ subtitle2: d,
64
+ buttonText1: c,
65
+ buttonText2: x,
66
+ buttonLink1: p,
67
+ buttonLink2: b,
68
+ rowHeight: f = "12.65625rem",
69
69
  onButtonAction: m = () => {
70
70
  }
71
- } = t, r = L();
72
- return /* @__PURE__ */ f(N, { height: b, children: [
71
+ } = t, r = N();
72
+ return /* @__PURE__ */ w($, { ref: s, height: f, children: [
73
73
  /* @__PURE__ */ e(
74
74
  o,
75
75
  {
76
76
  className: "text-item",
77
- title: a,
78
- subtitle: u,
79
- description: n,
80
- buttonText: d,
81
- buttonLink: x,
77
+ title: g,
78
+ subtitle: l,
79
+ description: h,
80
+ buttonText: c,
81
+ buttonLink: p,
82
82
  onButtonAction: m
83
83
  }
84
84
  ),
85
- /* @__PURE__ */ e("img", { className: "img-item img-1", src: s }),
85
+ /* @__PURE__ */ e("img", { className: "img-item img-1", src: a }),
86
86
  r !== !0 && /* @__PURE__ */ e("img", { className: "img-item img-2", src: i }),
87
87
  /* @__PURE__ */ e(
88
88
  o,
89
89
  {
90
90
  className: "text-item",
91
- title: g,
92
- subtitle: l,
93
- description: h,
94
- buttonText: c,
95
- buttonLink: p,
91
+ title: n,
92
+ subtitle: d,
93
+ description: u,
94
+ buttonText: x,
95
+ buttonLink: b,
96
96
  onButtonAction: m
97
97
  }
98
98
  ),
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),m=require("react"),s=require("./utils-Dl9xPH4c.cjs"),h=require("./Icon.cjs"),j=require("./style-CyHewQxg.cjs"),N=require("./index-BueKsXT8.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),x=require("./suspense-large-BX4jlU4U.cjs"),S=require("./Button.cjs"),z=b.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),m=require("react"),s=require("./utils-Dl9xPH4c.cjs"),w=require("./Icon.cjs"),j=require("./style-CyHewQxg.cjs"),N=require("./index-BueKsXT8.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),x=require("./suspense-large-BX4jlU4U.cjs"),S=require("./Button.cjs"),z=b.styled.div`
2
2
  display: flex;
3
3
  padding: 1rem;
4
4
  align-items: center;
@@ -121,7 +121,7 @@
121
121
  }
122
122
  }
123
123
  }
124
- `,I=m.forwardRef(({title:i,imageUrl:p,options:t,publishedAt:c,timeToReadText:g="{0} min read",timeToRead:_=0,numberOfLikes:n=0,numberOfComments:l=0,isSponsored:o=!1,onSelectCard:f=()=>{}},w)=>r.jsxs(z,{isSponsored:o,onClick:f,children:[o&&r.jsx("div",{className:"wrapper__sponsored",children:r.jsx(h,{icon:" mng-lnc-paw",sizeInUnits:"1.5rem"})}),r.jsx(N.ProductImageWrapper,{src:p,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:i}),r.jsx("div",{className:"wrapper__tags",children:t&&(t==null?void 0:t.map((a,u)=>r.jsx(j.BlogTag,{color:a==null?void 0:a.color,children:a==null?void 0:a.name},u)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"info__text",children:`${s.formatLocaleDateString(c)} • ${s.formatString(g,_)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(h,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),s.getRoundedNumber(n)]}),r.jsxs("div",{children:[r.jsx(h,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),s.getRoundedNumber(l)]})]})]})]})]})),R=b.styled.div`
124
+ `,I=m.forwardRef(({title:i,imageUrl:p,options:a,publishedAt:c,timeToReadText:g="{0} min read",timeToRead:_=0,numberOfLikes:n=0,numberOfComments:l=0,isSponsored:o=!1,onSelectCard:f=()=>{}},u)=>r.jsxs(z,{ref:u,isSponsored:o,onClick:f,children:[o&&r.jsx("div",{className:"wrapper__sponsored",children:r.jsx(w,{icon:" mng-lnc-paw",sizeInUnits:"1.5rem"})}),r.jsx(N.ProductImageWrapper,{src:p,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:i}),r.jsx("div",{className:"wrapper__tags",children:a&&(a==null?void 0:a.map((t,h)=>r.jsx(j.BlogTag,{color:t==null?void 0:t.color,children:t==null?void 0:t.name},h)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"info__text",children:`${s.formatLocaleDateString(c)} • ${s.formatString(g,_)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),s.getRoundedNumber(n)]}),r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),s.getRoundedNumber(l)]})]})]})]})]})),R=b.styled.div`
125
125
  display: flex;
126
126
  flex-direction: column;
127
127
  align-items: flex-start;
@@ -203,4 +203,4 @@
203
203
  gap: 1rem;
204
204
  }
205
205
  }
206
- `,q=m.memo(I),k=m.forwardRef(({title:i,subtitle:p,icon:t,buttonText:c,buttonLink:g,timeToReadText:_="{0} min read",items:n,onButtonAction:l=()=>{},onSelectCard:o=()=>{},isLoading:f=!1,getImage:w=()=>{}},a)=>{const u=m.useMemo(()=>{var d;return(d=n==null?void 0:n.slice(0,4))==null?void 0:d.map((e,y)=>r.jsx(q,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:_,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,onSelectCard:()=>o==null?void 0:o(e),imageUrl:w(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-sponsored__${y+1}`))},[n]);return r.jsxs(R,{children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[i&&r.jsxs("div",{className:"title__text",children:[s.isDefinedNotEmptyString(t)&&r.jsx("i",{className:t}),r.jsx("span",{children:i})]}),l&&r.jsx(S,{text:c,borderRadius:"curved",btnType:"tinted",className:"title__action",color:"neutral",onClick:d=>{var e;(e=d==null?void 0:d.target)==null||e.blur(),l==null||l(g)}})]}),p&&r.jsx("div",{className:"wrapper__subtitle",children:p})]}),r.jsx("div",{className:"wrapper__cards",children:r.jsx(x.SuspenseBlogLarge,{isLoading:f,limit:4,keyPrefix:"blog-section",children:u})})]})});module.exports=k;
206
+ `,q=m.memo(I),k=m.forwardRef(({title:i,subtitle:p,icon:a,buttonText:c,buttonLink:g,timeToReadText:_="{0} min read",items:n,onButtonAction:l=()=>{},onSelectCard:o=()=>{},isLoading:f=!1,getImage:u=()=>{}},t)=>{const h=m.useMemo(()=>{var d;return(d=n==null?void 0:n.slice(0,4))==null?void 0:d.map((e,y)=>r.jsx(q,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:_,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,onSelectCard:()=>o==null?void 0:o(e),imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-sponsored__${y+1}`))},[n]);return r.jsxs(R,{ref:t,children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[i&&r.jsxs("div",{className:"title__text",children:[s.isDefinedNotEmptyString(a)&&r.jsx("i",{className:a}),r.jsx("span",{children:i})]}),l&&r.jsx(S,{text:c,borderRadius:"curved",btnType:"tinted",className:"title__action",color:"neutral",onClick:d=>{var e;(e=d==null?void 0:d.target)==null||e.blur(),l==null||l(g)}})]}),p&&r.jsx("div",{className:"wrapper__subtitle",children:p})]}),r.jsx("div",{className:"wrapper__cards",children:r.jsx(x.SuspenseBlogLarge,{isLoading:f,limit:4,keyPrefix:"blog-section",children:h})})]})});module.exports=k;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as b, memo as S, useMemo as k } from "react";
3
3
  import { p as v, s as $, v as j, w as u, k as I } from "./utils-BdsZgOUE.js";
4
- import h from "./Icon.js";
4
+ import w from "./Icon.js";
5
5
  import { B as R } from "./style-DFPWLJBr.js";
6
6
  import { P as L } from "./index-CF3HhgvN.js";
7
7
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
@@ -135,7 +135,7 @@ const U = y.div`
135
135
  ({
136
136
  title: i,
137
137
  imageUrl: p,
138
- options: t,
138
+ options: l,
139
139
  publishedAt: d,
140
140
  timeToReadText: c = "{0} min read",
141
141
  timeToRead: g = 0,
@@ -144,13 +144,13 @@ const U = y.div`
144
144
  isSponsored: o = !1,
145
145
  onSelectCard: f = () => {
146
146
  }
147
- }, w) => /* @__PURE__ */ a(U, { isSponsored: o, onClick: f, children: [
148
- o && /* @__PURE__ */ r("div", { className: "wrapper__sponsored", children: /* @__PURE__ */ r(h, { icon: " mng-lnc-paw", sizeInUnits: "1.5rem" }) }),
147
+ }, _) => /* @__PURE__ */ a(U, { ref: _, isSponsored: o, onClick: f, children: [
148
+ o && /* @__PURE__ */ r("div", { className: "wrapper__sponsored", children: /* @__PURE__ */ r(w, { icon: " mng-lnc-paw", sizeInUnits: "1.5rem" }) }),
149
149
  /* @__PURE__ */ r(L, { src: p, className: "wrapper__image" }),
150
150
  /* @__PURE__ */ a("div", { className: "wrapper__content", children: [
151
151
  /* @__PURE__ */ a("div", { className: "wrapper__subcontent", children: [
152
152
  /* @__PURE__ */ r("div", { className: "wrapper__title", children: i }),
153
- /* @__PURE__ */ r("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.map((l, _) => /* @__PURE__ */ r(R, { color: l == null ? void 0 : l.color, children: l == null ? void 0 : l.name }, _))) })
153
+ /* @__PURE__ */ r("div", { className: "wrapper__tags", children: l && (l == null ? void 0 : l.map((t, h) => /* @__PURE__ */ r(R, { color: t == null ? void 0 : t.color, children: t == null ? void 0 : t.name }, h))) })
154
154
  ] }),
155
155
  /* @__PURE__ */ a("div", { className: "wrapper__info", children: [
156
156
  /* @__PURE__ */ r("div", { className: "info__text", children: `${$(
@@ -158,11 +158,11 @@ const U = y.div`
158
158
  )} • ${j(c, g)}` }),
159
159
  /* @__PURE__ */ a("div", { className: "info__text", children: [
160
160
  /* @__PURE__ */ a("div", { children: [
161
- /* @__PURE__ */ r(h, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
161
+ /* @__PURE__ */ r(w, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
162
162
  u(n)
163
163
  ] }),
164
164
  /* @__PURE__ */ a("div", { children: [
165
- /* @__PURE__ */ r(h, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
165
+ /* @__PURE__ */ r(w, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
166
166
  u(s)
167
167
  ] })
168
168
  ] })
@@ -255,7 +255,7 @@ const U = y.div`
255
255
  ({
256
256
  title: i,
257
257
  subtitle: p,
258
- icon: t,
258
+ icon: l,
259
259
  buttonText: d,
260
260
  buttonLink: c,
261
261
  timeToReadText: g = "{0} min read",
@@ -265,10 +265,10 @@ const U = y.div`
265
265
  onSelectCard: o = () => {
266
266
  },
267
267
  isLoading: f = !1,
268
- getImage: w = () => {
268
+ getImage: _ = () => {
269
269
  }
270
- }, l) => {
271
- const _ = k(() => {
270
+ }, t) => {
271
+ const h = k(() => {
272
272
  var m;
273
273
  return (m = n == null ? void 0 : n.slice(0, 4)) == null ? void 0 : m.map((e, z) => /* @__PURE__ */ r(
274
274
  M,
@@ -283,16 +283,16 @@ const U = y.div`
283
283
  numberOfComments: e == null ? void 0 : e.numberOfComments,
284
284
  isSponsored: e == null ? void 0 : e.isSponsored,
285
285
  onSelectCard: () => o == null ? void 0 : o(e),
286
- imageUrl: w(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
286
+ imageUrl: _(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
287
287
  },
288
288
  `blog-card-sponsored__${z + 1}`
289
289
  ));
290
290
  }, [n]);
291
- return /* @__PURE__ */ a(C, { children: [
291
+ return /* @__PURE__ */ a(C, { ref: t, children: [
292
292
  /* @__PURE__ */ a("div", { className: "wrapper__heading", children: [
293
293
  /* @__PURE__ */ a("div", { className: "wrapper__title", children: [
294
294
  i && /* @__PURE__ */ a("div", { className: "title__text", children: [
295
- I(t) && /* @__PURE__ */ r("i", { className: t }),
295
+ I(l) && /* @__PURE__ */ r("i", { className: l }),
296
296
  /* @__PURE__ */ r("span", { children: i })
297
297
  ] }),
298
298
  s && /* @__PURE__ */ r(
@@ -318,7 +318,7 @@ const U = y.div`
318
318
  isLoading: f,
319
319
  limit: 4,
320
320
  keyPrefix: "blog-section",
321
- children: _
321
+ children: h
322
322
  }
323
323
  ) })
324
324
  ] });
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-DaA0JGJJ.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
1
+ "use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-CjGtzfzp.cjs"),m=require("./style-BTTXJFJN.cjs"),p=a.memo(u.CategorySimpleCard),C=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},d)=>{const g=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,l)=>s.jsx(p,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},l))},[r]);return s.jsx(m.Wrapper,{ref:d,className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:g})})})});module.exports=C;
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { memo as l, forwardRef as f, useMemo as t } from "react";
3
- import { C as u, S as n } from "./suspense-categories-card-simple-DuKEj9IU.js";
4
- import { W as c } from "./style-tw6KjI2J.js";
5
- const C = l(u), M = f(
2
+ import { memo as t, forwardRef as u, useMemo as f } from "react";
3
+ import { C as n, S as c } from "./suspense-categories-card-simple-BGj475Ca.js";
4
+ import { W as C } from "./style-tw6KjI2J.js";
5
+ const h = t(n), M = u(
6
6
  ({
7
7
  items: r,
8
8
  onSelectCard: o = () => {
@@ -10,27 +10,27 @@ const C = l(u), M = f(
10
10
  isLoading: m = !1,
11
11
  limit: s = 4,
12
12
  isHighlight: p = !1
13
- }, h) => {
14
- const d = t(() => {
13
+ }, d) => {
14
+ const g = f(() => {
15
15
  var i;
16
- return (i = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : i.map((e, g) => /* @__PURE__ */ a(
17
- C,
16
+ return (i = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : i.map((e, l) => /* @__PURE__ */ a(
17
+ h,
18
18
  {
19
19
  uuid: e == null ? void 0 : e.uuid,
20
20
  image: e == null ? void 0 : e.image,
21
21
  name: e == null ? void 0 : e.name,
22
22
  onSelectCard: () => o == null ? void 0 : o(e == null ? void 0 : e.uuid)
23
23
  },
24
- g
24
+ l
25
25
  ));
26
26
  }, [r]);
27
- return /* @__PURE__ */ a(c, { className: p ? "highlight" : "", children: /* @__PURE__ */ a("div", { className: "wrapper__grid", children: /* @__PURE__ */ a(
28
- n,
27
+ return /* @__PURE__ */ a(C, { ref: d, className: p ? "highlight" : "", children: /* @__PURE__ */ a("div", { className: "wrapper__grid", children: /* @__PURE__ */ a(
28
+ c,
29
29
  {
30
30
  isLoading: m,
31
31
  limit: s,
32
32
  keyPrefix: "blog-section",
33
- children: d
33
+ children: g
34
34
  }
35
35
  ) }) });
36
36
  }
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),w=require("react"),n=require("./index-BpbMKBf_.cjs"),$=require("./utils-Dl9xPH4c.cjs"),K=require("./TextInput.cjs"),b=require("./Icon.cjs"),Q=require("./Link.cjs"),z=require("./DropdownMenu.cjs"),L=require("./DropdownItem.cjs"),Y=require("./tag-Bov1gw34.cjs"),B=require("./BlogProductCardsSection.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),O=require("./index-BueKsXT8.cjs"),I=require("./BlogListSection.cjs"),ee=require("./consts-goSZX3xP.cjs"),ne=P.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),w=require("react"),n=require("./index-BpbMKBf_.cjs"),$=require("./utils-Dl9xPH4c.cjs"),Q=require("./TextInput.cjs"),b=require("./Icon.cjs"),Y=require("./Link.cjs"),z=require("./DropdownMenu.cjs"),L=require("./DropdownItem.cjs"),B=require("./tag-yputMSpE.cjs"),O=require("./BlogProductCardsSection.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),ee=require("./index-BueKsXT8.cjs"),I=require("./BlogListSection.cjs"),ne=require("./consts-goSZX3xP.cjs"),re=P.styled.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -79,7 +79,7 @@
79
79
  }
80
80
  }
81
81
  }
82
- `,re=w.forwardRef(({perPageOptions:o=[{code:10,name:"Show 10 items"},{code:25,name:"Show 25 items"},{code:50,name:"Show 50 items"}],perPage:m,handlePerPage:u=()=>{},page:s=1,handlePage:c=()=>{},totalPage:r},d)=>{var _,l;const p=()=>{s>1&&(c==null||c(s-1))},f=()=>{s<r&&(c==null||c(s+1))},g=()=>{const i=[];if(r<=7)for(let a=1;a<=r;a++)i.push(a);else s<=3?i.push(1,2,3,"...",r):s>=r-2?i.push(1,"...",r-2,r-1,r):i.push(1,2,3,"...",r);return i==null?void 0:i.map((a,x)=>a==="..."?e.jsx("div",{className:"pagination__page ellipsis",children:a},`pagination-ellipsis__${x}`):e.jsx("div",{onClick:()=>c(a),className:`pagination__page ${s===a?"active":""}`,children:a},`pagination-page__${x}`))};return e.jsxs(ne,{className:"pagination",children:[e.jsx(z,{color:"neutral",control:((_=o==null?void 0:o.find(i=>(i==null?void 0:i.code)===m))==null?void 0:_.name)||((l=o[0])==null?void 0:l.name),placement:"bottom",zIndex:1001,className:"pagination__per-page",children:o==null?void 0:o.map((i,a)=>e.jsx(L,{active:(i==null?void 0:i.code)===(m==null?void 0:m.code),className:"sort-by__item",onClick:()=>u(i),children:i==null?void 0:i.name},`blog-epxlore-section-per-page-option__${a+1}`))}),e.jsxs("div",{className:"pagination__pages",children:[e.jsx("div",{className:`pagination__page ${s===1?"disabled":""}`,onClick:p,children:e.jsx(b,{icon:" mng-lnc-chevron--left"})}),g(),e.jsx("div",{className:`pagination__page ${s===r?"disabled":""}`,onClick:f,children:e.jsx(b,{icon:" mng-lnc-chevron--right"})})]})]})}),te=P.styled.div`
82
+ `,te=w.forwardRef(({perPageOptions:o=[{code:10,name:"Show 10 items"},{code:25,name:"Show 25 items"},{code:50,name:"Show 50 items"}],perPage:m,handlePerPage:u=()=>{},page:s=1,handlePage:c=()=>{},totalPage:r},d)=>{var _,l;const p=()=>{s>1&&(c==null||c(s-1))},f=()=>{s<r&&(c==null||c(s+1))},g=()=>{const i=[];if(r<=7)for(let a=1;a<=r;a++)i.push(a);else s<=3?i.push(1,2,3,"...",r):s>=r-2?i.push(1,"...",r-2,r-1,r):i.push(1,2,3,"...",r);return i==null?void 0:i.map((a,x)=>a==="..."?e.jsx("div",{className:"pagination__page ellipsis",children:a},`pagination-ellipsis__${x}`):e.jsx("div",{onClick:()=>c(a),className:`pagination__page ${s===a?"active":""}`,children:a},`pagination-page__${x}`))};return e.jsxs(re,{className:"pagination",children:[e.jsx(z,{color:"neutral",control:((_=o==null?void 0:o.find(i=>(i==null?void 0:i.code)===m))==null?void 0:_.name)||((l=o[0])==null?void 0:l.name),placement:"bottom",zIndex:1001,className:"pagination__per-page",children:o==null?void 0:o.map((i,a)=>e.jsx(L,{active:(i==null?void 0:i.code)===(m==null?void 0:m.code),className:"sort-by__item",onClick:()=>u(i),children:i==null?void 0:i.name},`blog-epxlore-section-per-page-option__${a+1}`))}),e.jsxs("div",{className:"pagination__pages",children:[e.jsx("div",{className:`pagination__page ${s===1?"disabled":""}`,onClick:p,children:e.jsx(b,{icon:" mng-lnc-chevron--left"})}),g(),e.jsx("div",{className:`pagination__page ${s===r?"disabled":""}`,onClick:f,children:e.jsx(b,{icon:" mng-lnc-chevron--right"})})]})]})}),ie=P.styled.div`
83
83
  display: flex;
84
84
  align-items: flex-start;
85
85
  gap: 2rem;
@@ -270,7 +270,7 @@
270
270
  }
271
271
  }
272
272
 
273
- @media (max-width: ${ee.MOBILE_SIZE_PX+"px"}) {
273
+ @media (max-width: ${ne.MOBILE_SIZE_PX+"px"}) {
274
274
  flex-direction: column;
275
275
 
276
276
  & .landing__main-content {
@@ -317,4 +317,4 @@
317
317
  display: none;
318
318
  }
319
319
  }
320
- `,A=w.forwardRef(({mainTitle:o,sideTitle:m,tags:u,selectedTag:s,handleSelectTag:c=()=>{},blogs:r,miniBlogs:d,products:p,blogsLoading:f=!1,productsLoading:g=!1,sortingOptions:_,sortBy:l,handleSortBy:i=()=>{},allTagText:a="All",searchPlaceholderText:x="Search blogs",timeToReadText:N="{0} min read",getBlogImageUrl:y=()=>{},handleSelectBlog:v=()=>{},handleSelectBlogTag:S=()=>{},handleShareBlog:k=()=>{},showAllButtonLink:R,showAllButtonText:E="Show all products",viewAllButtonText:F="View all (11)",viewAllButtonLink:ie,handleViewAll:D=()=>{},handleShowAll:M=()=>{},handleSelectProduct:U=()=>{},getProductImageUrl:V=()=>{},page:H,handlePage:T=()=>{},perPage:W,handlePerPage:X=()=>{},totalPage:j,perPageOptions:Z,handleSearch:G=()=>{},onBookmark:q=()=>{},bookmarkComponent:C=e.jsx(e.Fragment,{children:" "})},ae)=>{const J=t=>{document.getElementById("landing__container").scrollIntoView({behavior:"smooth",block:"start"}),T==null||T(t)};return e.jsxs(te,{id:"landing__container",children:[e.jsxs("div",{className:"landing__main-content",children:[o&&e.jsx("div",{className:"main-content__title",children:o}),u&&e.jsx(Y.FaqSectionTags,{tags:u,allTagText:a,selectedTagCode:s,onSelectTag:c}),e.jsxs("div",{className:"main-content__actions",children:[e.jsx(K,{className:"main-content__search",placeholder:x,debounceTime:200,prefix:e.jsx(b,{icon:" mng-lnc-search",sizeInUnits:"1.25rem",className:"main-content__search-prefix"}),color:"neutral",onChange:G}),e.jsx(z,{color:"neutral",control:l==null?void 0:l.name,zIndex:1001,className:"main-content__sort-by",children:_==null?void 0:_.map((t,h)=>e.jsx(L,{active:(t==null?void 0:t.code)===(l==null?void 0:l.code),className:"sort-by__item",onClick:()=>i(t),children:t==null?void 0:t.name},`blog-epxlore-section-sorting-option__${h+1}`))})]}),e.jsxs("div",{className:"main-content__items",children:[r&&(r==null?void 0:r.length)>0&&e.jsx(I,{timeToReadText:N,items:r==null?void 0:r.slice(0,5),isLoading:f,getImage:y,onSelectCard:v,onSelectOption:S,onShare:k,onBookmark:q,bookmarkComponent:C}),e.jsx("div",{className:"main-content__divider"}),p&&(p==null?void 0:p.length)>0&&e.jsx(B,{buttonText:E,buttonLink:R,onButtonAction:M,onSelectCard:U,items:p,isLoading:g,getImage:V,isHighlight:!0}),e.jsx("div",{className:"main-content__divider"}),r&&(r==null?void 0:r.length)>0&&e.jsx(I,{timeToReadText:N,items:r==null?void 0:r.slice(5),isLoading:f,getImage:y,onSelectCard:v,onSelectOption:S,onShare:k,onBookmark:q,bookmarkComponent:C})]}),j&&j>1&&e.jsx(re,{perPageOptions:Z,perPage:W,handlePerPage:X,page:H,handlePage:J,totalPage:j})]}),e.jsxs("div",{className:"landing__side-content",children:[m&&e.jsx("div",{className:"side-content__title",children:m}),d&&(d==null?void 0:d.length)>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"side-content__items",children:d==null?void 0:d.map((t,h)=>e.jsx(w.Fragment,{children:e.jsxs("div",{className:"side-content__item",onClick:()=>v(t),children:[e.jsx(O.ProductImageWrapper,{src:y(t==null?void 0:t.imageUrl,t==null?void 0:t.uuid)||null,alt:`Mini blog ${h+1}`,className:"item__image"}),e.jsxs("div",{className:"item__content",children:[e.jsx("div",{className:"item__title",children:t==null?void 0:t.title}),e.jsx("div",{className:"item__description",children:$.formatLocaleDateString(t==null?void 0:t.publishedAt)})]})]})},`mini_blg_${h}`))}),e.jsx(Q,{onClick:D,className:"side-content__link",children:F})]})]})]})});A.propTypes={mainTitle:n.PropTypes.string,sideTitle:n.PropTypes.string,tags:n.PropTypes.array,selectedTag:n.PropTypes.any,handleSelectTag:n.PropTypes.func,blogs:n.PropTypes.array,miniBlogs:n.PropTypes.array,products:n.PropTypes.array,blogsLoading:n.PropTypes.bool,productsLoading:n.PropTypes.bool,sortingOptions:n.PropTypes.array,sortBy:n.PropTypes.any,handleSortBy:n.PropTypes.func,allTagText:n.PropTypes.string,searchPlaceholderText:n.PropTypes.string,timeToReadText:n.PropTypes.string,getBlogImageUrl:n.PropTypes.func,handleSelectBlog:n.PropTypes.func,handleSelectBlogTag:n.PropTypes.func,handleShareBlog:n.PropTypes.func,handleBookmarkBlog:n.PropTypes.func,showAllButtonLink:n.PropTypes.string,showAllButtonText:n.PropTypes.string,viewAllButtonText:n.PropTypes.string,handleShowAll:n.PropTypes.func,handleSelectProduct:n.PropTypes.func,getProductImageUrl:n.PropTypes.func,page:n.PropTypes.number,handlePage:n.PropTypes.func,perPage:n.PropTypes.any,handlePerPage:n.PropTypes.func,totalPage:n.PropTypes.number,perPageOptions:n.PropTypes.array,handleSearch:n.PropTypes.func};module.exports=A;
320
+ `,A=w.forwardRef(({mainTitle:o,sideTitle:m,tags:u,selectedTag:s,handleSelectTag:c=()=>{},blogs:r,miniBlogs:d,products:p,blogsLoading:f=!1,productsLoading:g=!1,sortingOptions:_,sortBy:l,handleSortBy:i=()=>{},allTagText:a="All",searchPlaceholderText:x="Search blogs",timeToReadText:N="{0} min read",getBlogImageUrl:y=()=>{},handleSelectBlog:v=()=>{},handleSelectBlogTag:S=()=>{},handleShareBlog:k=()=>{},showAllButtonLink:R,showAllButtonText:E="Show all products",viewAllButtonText:F="View all (11)",viewAllButtonLink:ae,handleViewAll:D=()=>{},handleShowAll:M=()=>{},handleSelectProduct:U=()=>{},getProductImageUrl:V=()=>{},page:H,handlePage:T=()=>{},perPage:W,handlePerPage:X=()=>{},totalPage:j,perPageOptions:Z,handleSearch:G=()=>{},onBookmark:q=()=>{},bookmarkComponent:C=e.jsx(e.Fragment,{children:" "})},J)=>{const K=t=>{document.getElementById("landing__container").scrollIntoView({behavior:"smooth",block:"start"}),T==null||T(t)};return e.jsxs(ie,{ref:J,id:"landing__container",children:[e.jsxs("div",{className:"landing__main-content",children:[o&&e.jsx("div",{className:"main-content__title",children:o}),u&&e.jsx(B.FaqSectionTags,{tags:u,allTagText:a,selectedTagCode:s,onSelectTag:c}),e.jsxs("div",{className:"main-content__actions",children:[e.jsx(Q,{className:"main-content__search",placeholder:x,debounceTime:200,prefix:e.jsx(b,{icon:" mng-lnc-search",sizeInUnits:"1.25rem",className:"main-content__search-prefix"}),color:"neutral",onChange:G}),e.jsx(z,{color:"neutral",control:l==null?void 0:l.name,zIndex:1001,className:"main-content__sort-by",children:_==null?void 0:_.map((t,h)=>e.jsx(L,{active:(t==null?void 0:t.code)===(l==null?void 0:l.code),className:"sort-by__item",onClick:()=>i(t),children:t==null?void 0:t.name},`blog-epxlore-section-sorting-option__${h+1}`))})]}),e.jsxs("div",{className:"main-content__items",children:[r&&(r==null?void 0:r.length)>0&&e.jsx(I,{timeToReadText:N,items:r==null?void 0:r.slice(0,5),isLoading:f,getImage:y,onSelectCard:v,onSelectOption:S,onShare:k,onBookmark:q,bookmarkComponent:C}),e.jsx("div",{className:"main-content__divider"}),p&&(p==null?void 0:p.length)>0&&e.jsx(O,{buttonText:E,buttonLink:R,onButtonAction:M,onSelectCard:U,items:p,isLoading:g,getImage:V,isHighlight:!0}),e.jsx("div",{className:"main-content__divider"}),r&&(r==null?void 0:r.length)>0&&e.jsx(I,{timeToReadText:N,items:r==null?void 0:r.slice(5),isLoading:f,getImage:y,onSelectCard:v,onSelectOption:S,onShare:k,onBookmark:q,bookmarkComponent:C})]}),j&&j>1&&e.jsx(te,{perPageOptions:Z,perPage:W,handlePerPage:X,page:H,handlePage:K,totalPage:j})]}),e.jsxs("div",{className:"landing__side-content",children:[m&&e.jsx("div",{className:"side-content__title",children:m}),d&&(d==null?void 0:d.length)>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"side-content__items",children:d==null?void 0:d.map((t,h)=>e.jsx(w.Fragment,{children:e.jsxs("div",{className:"side-content__item",onClick:()=>v(t),children:[e.jsx(ee.ProductImageWrapper,{src:y(t==null?void 0:t.imageUrl,t==null?void 0:t.uuid)||null,alt:`Mini blog ${h+1}`,className:"item__image"}),e.jsxs("div",{className:"item__content",children:[e.jsx("div",{className:"item__title",children:t==null?void 0:t.title}),e.jsx("div",{className:"item__description",children:$.formatLocaleDateString(t==null?void 0:t.publishedAt)})]})]})},`mini_blg_${h}`))}),e.jsx(Y,{onClick:D,className:"side-content__link",children:F})]})]})]})});A.propTypes={mainTitle:n.PropTypes.string,sideTitle:n.PropTypes.string,tags:n.PropTypes.array,selectedTag:n.PropTypes.any,handleSelectTag:n.PropTypes.func,blogs:n.PropTypes.array,miniBlogs:n.PropTypes.array,products:n.PropTypes.array,blogsLoading:n.PropTypes.bool,productsLoading:n.PropTypes.bool,sortingOptions:n.PropTypes.array,sortBy:n.PropTypes.any,handleSortBy:n.PropTypes.func,allTagText:n.PropTypes.string,searchPlaceholderText:n.PropTypes.string,timeToReadText:n.PropTypes.string,getBlogImageUrl:n.PropTypes.func,handleSelectBlog:n.PropTypes.func,handleSelectBlogTag:n.PropTypes.func,handleShareBlog:n.PropTypes.func,handleBookmarkBlog:n.PropTypes.func,showAllButtonLink:n.PropTypes.string,showAllButtonText:n.PropTypes.string,viewAllButtonText:n.PropTypes.string,handleShowAll:n.PropTypes.func,handleSelectProduct:n.PropTypes.func,getProductImageUrl:n.PropTypes.func,page:n.PropTypes.number,handlePage:n.PropTypes.func,perPage:n.PropTypes.any,handlePerPage:n.PropTypes.func,totalPage:n.PropTypes.number,perPageOptions:n.PropTypes.array,handleSearch:n.PropTypes.func};module.exports=A;