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UAAW,QACXlB,OAAQJ,EAAYK,GAAK,IAAM,IAC/BoC,UAAW,IAEbsB,SAAS,OAIb,gBAAKvE,UAAU,YAAf,UACE,SAAC,IAAD,CACEkH,WAAW,sBACXjF,MAAM,yBACNyE,IAAKiB,EACLtI,QAAS0I","sources":["package/client/api/banner.js","package/client/components/common/carouselLanding/CarouselLanding.jsx","package/client/components/common/productCard/ProductCard.jsx","package/client/components/common/productsFrame/ProductsFrame.jsx","package/client/features/homePage/page/HomePageLayout.jsx"],"sourcesContent":["import axiosClient from \"./axiosClient\";\r\n\r\nexport const banner = {\r\n readAll: async () => {\r\n return await axiosClient.get(\"/Slide/GetAllSlideClient\");\r\n }\r\n};\r\n","import React, { useEffect, useState } from \"react\";\r\n\r\nimport { banner } from \"../../../api/banner\";\r\nimport { openNotificationWithIcon } from \"../../../utils\";\r\nimport { Grid, Space, Spin, Typography } from \"antd\";\r\nimport BannerAnim, { Element } from \"rc-banner-anim\";\r\nimport TweenOne from \"rc-tween-one\";\r\n\r\nimport \"rc-banner-anim/assets/index.css\";\r\nimport \"./CarouselLanding.css\";\r\nexport function _CarouselLanding() {\r\n const [listImage, setListImage] = useState([]);\r\n const [loading, setLoading] = useState(true);\r\n useEffect(() => {\r\n banner\r\n .readAll()\r\n .then((res) => {\r\n setListImage(res);\r\n setLoading(false);\r\n })\r\n .catch((err) => {\r\n openNotificationWithIcon(\r\n \"error\",\r\n \"Lấy danh mục hình ảnh thất bại\",\r\n err?.response?.data?.message || err?.message\r\n );\r\n });\r\n }, []);\r\n return (\r\n