s-platform-landing-section 0.1.14 → 0.1.16

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.
@@ -12,6 +12,9 @@ import { BsCurrencyDollar } from 'react-icons/bs';
12
12
  import { LuSearch } from 'react-icons/lu';
13
13
  import DatePicker from 'react-datepicker';
14
14
  import 'react-datepicker/dist/react-datepicker.css';
15
+ import Slider from 'react-slick';
16
+ import 'slick-carousel/slick/slick.css';
17
+ import 'slick-carousel/slick/slick-theme.css';
15
18
  import { AiOutlineShoppingCart } from 'react-icons/ai';
16
19
  import { GoCreditCard } from 'react-icons/go';
17
20
  import { RiDeleteBin7Line } from 'react-icons/ri';
@@ -208,7 +211,7 @@ var Options = function Options(props) {
208
211
  };
209
212
 
210
213
  var NavBar7 = function NavBar7(props) {
211
- var _routes$find, _routes$filter, _routes$filter2;
214
+ var _routes$find, _shopConfigStyle$navB, _shopConfigStyle$navB2, _shopConfigStyle$navB3, _shopConfigStyle$navB4;
212
215
  var _useState = useState(false),
213
216
  isOpen = _useState[0],
214
217
  setIsOpen = _useState[1];
@@ -254,17 +257,6 @@ var NavBar7 = function NavBar7(props) {
254
257
  className: "text-gray3"
255
258
  })
256
259
  }];
257
- useEffect(function () {
258
- if ((shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode) === "cafe_1" || (shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode) === "grocery_1" || (shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode) === "fashion_1") {
259
- routes === null || routes === void 0 ? void 0 : routes.forEach(function (route) {
260
- if ((route === null || route === void 0 ? void 0 : route.name) === "home" || (route === null || route === void 0 ? void 0 : route.name) === "products" || (route === null || route === void 0 ? void 0 : route.name) === "about") {
261
- route.isShow = true;
262
- } else {
263
- route.isShow = false;
264
- }
265
- });
266
- }
267
- }, [shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode]);
268
260
  useEffect(function () {
269
261
  var totalItem = cartItems === null || cartItems === void 0 ? void 0 : cartItems.reduce(function (total, item) {
270
262
  return total + (item === null || item === void 0 ? void 0 : item.quantity);
@@ -303,9 +295,9 @@ var NavBar7 = function NavBar7(props) {
303
295
  className: "text-xl md:text-2xl whitespace-nowrap font-semibold text-primary"
304
296
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
305
297
  className: "hidden lg:flex flex-1 items-center gap-4"
306
- }, routes === null || routes === void 0 ? void 0 : (_routes$filter = routes.filter(function (e) {
298
+ }, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB === void 0 ? void 0 : (_shopConfigStyle$navB2 = _shopConfigStyle$navB.filter(function (e) {
307
299
  return e === null || e === void 0 ? void 0 : e.isShow;
308
- })) === null || _routes$filter === void 0 ? void 0 : _routes$filter.map(function (item, index) {
300
+ })) === null || _shopConfigStyle$navB2 === void 0 ? void 0 : _shopConfigStyle$navB2.map(function (item, index) {
309
301
  return /*#__PURE__*/React__default.createElement(LinkToPage, {
310
302
  Link: Link,
311
303
  href: item === null || item === void 0 ? void 0 : item.route,
@@ -388,9 +380,9 @@ var NavBar7 = function NavBar7(props) {
388
380
  }
389
381
  }, /*#__PURE__*/React__default.createElement(RxCross2, {
390
382
  size: 24
391
- })), /*#__PURE__*/React__default.createElement("div", null, routes === null || routes === void 0 ? void 0 : (_routes$filter2 = routes.filter(function (e) {
383
+ })), /*#__PURE__*/React__default.createElement("div", null, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB3 = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB3 === void 0 ? void 0 : (_shopConfigStyle$navB4 = _shopConfigStyle$navB3.filter(function (e) {
392
384
  return e === null || e === void 0 ? void 0 : e.isShow;
393
- })) === null || _routes$filter2 === void 0 ? void 0 : _routes$filter2.map(function (item, index) {
385
+ })) === null || _shopConfigStyle$navB4 === void 0 ? void 0 : _shopConfigStyle$navB4.map(function (item, index) {
394
386
  return /*#__PURE__*/React__default.createElement(LinkToPage, {
395
387
  Link: Link,
396
388
  href: item === null || item === void 0 ? void 0 : item.route,
@@ -402,7 +394,7 @@ var NavBar7 = function NavBar7(props) {
402
394
  };
403
395
 
404
396
  var NavBar1 = function NavBar1(props) {
405
- var _routes$find, _routes$filter, _routes$filter2;
397
+ var _routes$find, _shopConfigStyle$navB, _shopConfigStyle$navB2, _shopConfigStyle$navB3, _shopConfigStyle$navB4;
406
398
  var _useState = useState(false),
407
399
  isOpen = _useState[0],
408
400
  setIsOpen = _useState[1];
@@ -448,17 +440,6 @@ var NavBar1 = function NavBar1(props) {
448
440
  className: "text-gray3"
449
441
  })
450
442
  }];
451
- useEffect(function () {
452
- if ((shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode) === "cafe_1" || (shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode) === "grocery_1" || (shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode) === "fashion_1") {
453
- routes === null || routes === void 0 ? void 0 : routes.forEach(function (route) {
454
- if ((route === null || route === void 0 ? void 0 : route.name) === "home" || (route === null || route === void 0 ? void 0 : route.name) === "products" || (route === null || route === void 0 ? void 0 : route.name) === "about") {
455
- route.isShow = true;
456
- } else {
457
- route.isShow = false;
458
- }
459
- });
460
- }
461
- }, [shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.landingTemplateCode]);
462
443
  useEffect(function () {
463
444
  var totalItem = cartItems === null || cartItems === void 0 ? void 0 : cartItems.reduce(function (total, item) {
464
445
  return total + (item === null || item === void 0 ? void 0 : item.quantity);
@@ -516,9 +497,9 @@ var NavBar1 = function NavBar1(props) {
516
497
  className: "text-xl md:text-2xl whitespace-nowrap font-semibold text-primary"
517
498
  }, shopConfig === null || shopConfig === void 0 ? void 0 : shopConfig.shopName)), /*#__PURE__*/React__default.createElement("div", {
518
499
  className: "hidden lg:flex flex-1 items-center gap-4"
519
- }, routes === null || routes === void 0 ? void 0 : (_routes$filter = routes.filter(function (e) {
500
+ }, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB === void 0 ? void 0 : (_shopConfigStyle$navB2 = _shopConfigStyle$navB.filter(function (e) {
520
501
  return e === null || e === void 0 ? void 0 : e.isShow;
521
- })) === null || _routes$filter === void 0 ? void 0 : _routes$filter.map(function (item, index) {
502
+ })) === null || _shopConfigStyle$navB2 === void 0 ? void 0 : _shopConfigStyle$navB2.map(function (item, index) {
522
503
  return /*#__PURE__*/React__default.createElement(LinkToPage, {
523
504
  Link: Link,
524
505
  href: item === null || item === void 0 ? void 0 : item.route,
@@ -608,9 +589,9 @@ var NavBar1 = function NavBar1(props) {
608
589
  }
609
590
  }, /*#__PURE__*/React__default.createElement(RxCross2, {
610
591
  size: 24
611
- }))), /*#__PURE__*/React__default.createElement("div", null, routes === null || routes === void 0 ? void 0 : (_routes$filter2 = routes.filter(function (e) {
592
+ }))), /*#__PURE__*/React__default.createElement("div", null, shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$navB3 = shopConfigStyle.navBarMenus) === null || _shopConfigStyle$navB3 === void 0 ? void 0 : (_shopConfigStyle$navB4 = _shopConfigStyle$navB3.filter(function (e) {
612
593
  return e === null || e === void 0 ? void 0 : e.isShow;
613
- })) === null || _routes$filter2 === void 0 ? void 0 : _routes$filter2.map(function (item, index) {
594
+ })) === null || _shopConfigStyle$navB4 === void 0 ? void 0 : _shopConfigStyle$navB4.map(function (item, index) {
614
595
  return /*#__PURE__*/React__default.createElement(LinkToPage, {
615
596
  Link: Link,
616
597
  href: item === null || item === void 0 ? void 0 : item.route,
@@ -646,9 +627,9 @@ var SvgIcon = function SvgIcon(_ref) {
646
627
  var SectionTitle1 = function SectionTitle1(props) {
647
628
  var _props$data = props.data,
648
629
  data = _props$data === void 0 ? {} : _props$data;
649
- return /*#__PURE__*/React__default.createElement("div", null, data !== null && data !== void 0 && data.sectionTitle ? /*#__PURE__*/React__default.createElement("div", {
630
+ return /*#__PURE__*/React__default.createElement("div", null, data !== null && data !== void 0 && data.sectionTitle ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
650
631
  className: "text-center text-2xl md:text-4xl font-headingFont font-semibold leading-relaxed text-textHeading"
651
- }, data === null || data === void 0 ? void 0 : data.sectionTitle) : null, /*#__PURE__*/React__default.createElement("div", {
632
+ }, data === null || data === void 0 ? void 0 : data.sectionTitle), /*#__PURE__*/React__default.createElement("div", {
652
633
  className: "flex items-center justify-center"
653
634
  }, /*#__PURE__*/React__default.createElement("div", {
654
635
  className: "w-32 h-0.5 rounded-full bg-secondary"
@@ -656,7 +637,7 @@ var SectionTitle1 = function SectionTitle1(props) {
656
637
  className: "w-9 h-9 text-secondary"
657
638
  }), /*#__PURE__*/React__default.createElement("div", {
658
639
  className: " w-32 h-0.5 rounded-full bg-secondary"
659
- })), data !== null && data !== void 0 && data.sectionDescription ? /*#__PURE__*/React__default.createElement("div", {
640
+ }))) : null, data !== null && data !== void 0 && data.sectionDescription ? /*#__PURE__*/React__default.createElement("div", {
660
641
  className: "text-xl font-medium text-center leading-relaxed text-textSecondary"
661
642
  }, data === null || data === void 0 ? void 0 : data.sectionDescription) : null);
662
643
  };
@@ -7643,6 +7624,11 @@ var pattern = {
7643
7624
  phoneNumberPattern: /^(?:\+84|0)\d{9}$/
7644
7625
  };
7645
7626
  var numberPattern = /^\d+$/;
7627
+ var getYoutubeVideoIdByUrl = function getYoutubeVideoIdByUrl(url) {
7628
+ var regex = /(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/|youtube\.com\/shorts\/)([a-zA-Z0-9_-]{11})/;
7629
+ var match = url === null || url === void 0 ? void 0 : url.match(regex);
7630
+ return match ? match[1] : null;
7631
+ };
7646
7632
 
7647
7633
  function getMinMax(array, field) {
7648
7634
  if (!(array !== null && array !== void 0 && array.length) || !array[0].hasOwnProperty(field)) {
@@ -9026,6 +9012,9 @@ var TreatmentsList7 = function TreatmentsList7(props) {
9026
9012
  var _useState3 = useState([]),
9027
9013
  dataBooking = _useState3[0],
9028
9014
  setDataBooking = _useState3[1];
9015
+ var _useState4 = useState(0),
9016
+ currentSlide = _useState4[0],
9017
+ setCurrentSlide = _useState4[1];
9029
9018
  var _ProductController = ProductController(_extends({}, props, {
9030
9019
  params: params
9031
9020
  })),
@@ -9052,23 +9041,18 @@ var TreatmentsList7 = function TreatmentsList7(props) {
9052
9041
  setIsOpenModal(false);
9053
9042
  setDataBooking([]);
9054
9043
  };
9055
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
9056
- className: "" + SECTION_DEFAULT_CLASS
9057
- }, /*#__PURE__*/React__default.createElement(SectionTitle, {
9058
- data: data,
9059
- shopConfigStyle: shopConfigStyle
9060
- }), products === null || products === void 0 ? void 0 : products.map(function (product, index) {
9044
+ var renderItemSlide = function renderItemSlide(product, index) {
9061
9045
  var _product$productInfo, _product$productInfo2;
9062
9046
  return /*#__PURE__*/React__default.createElement("div", {
9063
- className: "grid grid-cols-1 md:grid-cols-2 gap-6 mt-12",
9064
- key: "rthirr-" + index
9047
+ className: "w-full"
9065
9048
  }, /*#__PURE__*/React__default.createElement("div", {
9066
- className: "block " + (index % 2 ? "md:hidden" : "")
9049
+ className: "grid grid-cols-1 md:grid-cols-2 gap-6 mt-12",
9050
+ key: index
9067
9051
  }, /*#__PURE__*/React__default.createElement(ProductImage, {
9068
9052
  product: product === null || product === void 0 ? void 0 : product.productInfo,
9069
9053
  className: "aspect-video rounded-2xl"
9070
- })), /*#__PURE__*/React__default.createElement("div", {
9071
- className: "text-left " + (index % 2 ? "md:text-right" : "")
9054
+ }), /*#__PURE__*/React__default.createElement("div", {
9055
+ className: ''
9072
9056
  }, /*#__PURE__*/React__default.createElement("div", {
9073
9057
  className: "font-medium text-2xl"
9074
9058
  }, product === null || product === void 0 ? void 0 : (_product$productInfo = product.productInfo) === null || _product$productInfo === void 0 ? void 0 : _product$productInfo.productName), /*#__PURE__*/React__default.createElement("div", {
@@ -9083,13 +9067,49 @@ var TreatmentsList7 = function TreatmentsList7(props) {
9083
9067
  onClick: function onClick(event) {
9084
9068
  handleOpenModalBooking(event, product);
9085
9069
  }
9086
- })), /*#__PURE__*/React__default.createElement("div", {
9087
- className: "hidden " + (index % 2 ? "md:block" : "")
9088
- }, /*#__PURE__*/React__default.createElement(ProductImage, {
9089
- product: product === null || product === void 0 ? void 0 : product.productInfo,
9090
- className: "aspect-video rounded-2xl"
9091
- })));
9092
- })), /*#__PURE__*/React__default.createElement(Dash, {
9070
+ }))));
9071
+ };
9072
+ function RenderArrow(props) {
9073
+ var className = props.className,
9074
+ style = props.style,
9075
+ onClick = props.onClick;
9076
+ return /*#__PURE__*/React__default.createElement("div", {
9077
+ className: className,
9078
+ style: _extends({}, style, {
9079
+ display: "none"
9080
+ }),
9081
+ onClick: onClick
9082
+ });
9083
+ }
9084
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
9085
+ className: "" + SECTION_DEFAULT_CLASS
9086
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
9087
+ data: data,
9088
+ shopConfigStyle: shopConfigStyle
9089
+ }), /*#__PURE__*/React__default.createElement(Slider, {
9090
+ className: "center",
9091
+ infinite: true,
9092
+ slidesToShow: 1,
9093
+ speed: 500,
9094
+ autoplay: true,
9095
+ autoplaySpeed: 4000,
9096
+ pauseOnHover: true,
9097
+ nextArrow: /*#__PURE__*/React__default.createElement(RenderArrow, null),
9098
+ prevArrow: /*#__PURE__*/React__default.createElement(RenderArrow, null),
9099
+ beforeChange: function beforeChange(oldIndex, newIndex) {
9100
+ return setCurrentSlide(newIndex);
9101
+ },
9102
+ dots: true,
9103
+ customPaging: function customPaging(i) {
9104
+ return i === currentSlide ? /*#__PURE__*/React__default.createElement("div", {
9105
+ className: "w-4 h-1 rounded-full bg-primary mt-4"
9106
+ }) : /*#__PURE__*/React__default.createElement("div", {
9107
+ className: "w-4 h-1 rounded-full bg-gray-300 mt-4"
9108
+ });
9109
+ }
9110
+ }, products === null || products === void 0 ? void 0 : products.map(function (product, index) {
9111
+ return renderItemSlide(product, index);
9112
+ }))), /*#__PURE__*/React__default.createElement(Dash, {
9093
9113
  color: secondary
9094
9114
  }), isOpenModal ? /*#__PURE__*/React__default.createElement(ModalNotification, {
9095
9115
  onClose: handleCloseModal
@@ -9530,7 +9550,7 @@ var TreatmentItem1 = function TreatmentItem1(props) {
9530
9550
  }))));
9531
9551
  };
9532
9552
 
9533
- var ProductsList7 = function ProductsList7(props) {
9553
+ var ProductList7 = function ProductList7(props) {
9534
9554
  var _props$shopConfigStyl = props.shopConfigStyle,
9535
9555
  shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
9536
9556
  _props$data = props.data,
@@ -10653,6 +10673,72 @@ var Banner1 = function Banner1(props) {
10653
10673
  })));
10654
10674
  };
10655
10675
 
10676
+ var Banner2 = function Banner2(props) {
10677
+ var data = props.data,
10678
+ shopConfigStyle = props.shopConfigStyle,
10679
+ _props$SectionTitle = props.SectionTitle,
10680
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
10681
+ var sectionData = data === null || data === void 0 ? void 0 : data.data;
10682
+ var _useState = useState(0),
10683
+ currentSlide = _useState[0],
10684
+ setCurrentSlide = _useState[1];
10685
+ function RenderArrow(props) {
10686
+ var className = props.className,
10687
+ style = props.style,
10688
+ onClick = props.onClick;
10689
+ return /*#__PURE__*/React__default.createElement("div", {
10690
+ className: className,
10691
+ style: _extends({}, style, {
10692
+ display: "none"
10693
+ }),
10694
+ onClick: onClick
10695
+ });
10696
+ }
10697
+ return /*#__PURE__*/React__default.createElement("div", {
10698
+ className: "" + SECTION_DEFAULT_CLASS
10699
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
10700
+ data: data,
10701
+ shopConfigStyle: shopConfigStyle
10702
+ }), /*#__PURE__*/React__default.createElement(Slider, {
10703
+ className: "center",
10704
+ infinite: false,
10705
+ slidesToShow: 2,
10706
+ speed: 500,
10707
+ autoplay: true,
10708
+ autoplaySpeed: 4000,
10709
+ pauseOnHover: true,
10710
+ nextArrow: /*#__PURE__*/React__default.createElement(RenderArrow, null),
10711
+ prevArrow: /*#__PURE__*/React__default.createElement(RenderArrow, null),
10712
+ beforeChange: function beforeChange(oldIndex, newIndex) {
10713
+ return setCurrentSlide(newIndex);
10714
+ },
10715
+ dots: true,
10716
+ customPaging: function customPaging(i) {
10717
+ return i === currentSlide ? /*#__PURE__*/React__default.createElement("div", {
10718
+ className: "w-4 h-1 rounded-full bg-primary mt-4"
10719
+ }) : /*#__PURE__*/React__default.createElement("div", {
10720
+ className: "w-4 h-1 rounded-full bg-gray-300 mt-4"
10721
+ });
10722
+ },
10723
+ centerPadding: "20px",
10724
+ responsive: [{
10725
+ breakpoint: 600,
10726
+ settings: {
10727
+ slidesToShow: 1
10728
+ }
10729
+ }]
10730
+ }, (sectionData === null || sectionData === void 0 ? void 0 : sectionData.length) > 0 && (sectionData === null || sectionData === void 0 ? void 0 : sectionData.map(function (item, index) {
10731
+ return /*#__PURE__*/React__default.createElement("div", {
10732
+ className: 'px-2'
10733
+ }, /*#__PURE__*/React__default.createElement("img", {
10734
+ src: item === null || item === void 0 ? void 0 : item.srcImage,
10735
+ alt: "",
10736
+ className: "rounded-2xl",
10737
+ key: index
10738
+ }));
10739
+ }))));
10740
+ };
10741
+
10656
10742
  var Banner3 = function Banner3(props) {
10657
10743
  var data = props.data;
10658
10744
  var sectionData = data === null || data === void 0 ? void 0 : data.data;
@@ -12747,5 +12833,31 @@ var ShopHighlights7 = function ShopHighlights7(props) {
12747
12833
  }));
12748
12834
  };
12749
12835
 
12750
- export { About1, About5, Address1, Banner1, Banner3, Banner7, BannerFull1, BannerFull2, Booking1, BookingForm6, Breadcrumb1, Button, Carts1, Contact1, CustomerRating1, CustomerRating10, CustomerRating5, CustomerRating6, DateTimePicker, Employees1, Features2, Features3, Footer1, Footer7, Gallery1, Hero1, Hero10, Hero11 as Hero12, Hero13, Hero2, Hero5, Hero6, Input, InputPhoneNumber, Links1, ModalNotification, NavBar1, NavBar7, PageTitle1, Partner1, ProductCategory2, ProductDetail10, ProductHighlight1, ProductHot1, ProductHot3, ProductItem2, ProductItem3, ProductItem4, ProductItem5, ProductItem6, ProductItem7, ProductList5, ProductSale2, ProductSearch1, Products10, Products2, Products3, ProductsList7, ProductsTop1, SearchBar2, SearchBar5, SearchBar6, SearchProduct1, SectionTitle1, SectionTitle2, SectionTitle3, Select$1 as Select, ServiceDetail1, ShopHighlights2, ShopHighlights5, ShopHighlights6, ShopHighlights7, TextArea, TreatmentDetail1, TreatmentItem1, TreatmentsCategory7, TreatmentsList6, TreatmentsList7 };
12836
+ var VideoFull1 = function VideoFull1(props) {
12837
+ var _data$data, _data$data$;
12838
+ var shopConfigStyle = props.shopConfigStyle,
12839
+ data = props.data,
12840
+ _props$SectionTitle = props.SectionTitle,
12841
+ SectionTitle = _props$SectionTitle === void 0 ? null : _props$SectionTitle;
12842
+ console.log("VideoFull1 data", data);
12843
+ var youtubeVideoId = getYoutubeVideoIdByUrl(data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : (_data$data$ = _data$data[0]) === null || _data$data$ === void 0 ? void 0 : _data$data$.link);
12844
+ console.log("VideoFull1 youtubeVideoId", youtubeVideoId);
12845
+ return /*#__PURE__*/React__default.createElement("div", {
12846
+ className: "" + SECTION_DEFAULT_CLASS
12847
+ }, /*#__PURE__*/React__default.createElement(SectionTitle, {
12848
+ data: data,
12849
+ shopConfigStyle: shopConfigStyle
12850
+ }), youtubeVideoId ? /*#__PURE__*/React__default.createElement("div", {
12851
+ className: "w-full aspect-video"
12852
+ }, /*#__PURE__*/React__default.createElement("iframe", {
12853
+ className: "w-full h-full",
12854
+ src: "https://www.youtube.com/embed/" + youtubeVideoId,
12855
+ title: "YouTube video player",
12856
+ frameBorder: "0",
12857
+ allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
12858
+ allowFullScreen: true
12859
+ })) : null);
12860
+ };
12861
+
12862
+ export { About1, About5, Address1, Banner1, Banner2, Banner3, Banner7, BannerFull1, BannerFull2, Booking1, BookingForm6, Breadcrumb1, Button, Carts1, Contact1, CustomerRating1, CustomerRating10, CustomerRating5, CustomerRating6, DateTimePicker, Employees1, Features2, Features3, Footer1, Footer7, Gallery1, Hero1, Hero10, Hero11 as Hero12, Hero13, Hero2, Hero5, Hero6, Input, InputPhoneNumber, Links1, ModalNotification, NavBar1, NavBar7, PageTitle1, Partner1, ProductCategory2, ProductDetail10, ProductHighlight1, ProductHot1, ProductHot3, ProductItem2, ProductItem3, ProductItem4, ProductItem5, ProductItem6, ProductItem7, ProductList5, ProductList7, ProductSale2, ProductSearch1, Products10, Products2, Products3, ProductsTop1, SearchBar2, SearchBar5, SearchBar6, SearchProduct1, SectionTitle1, SectionTitle2, SectionTitle3, Select$1 as Select, ServiceDetail1, ShopHighlights2, ShopHighlights5, ShopHighlights6, ShopHighlights7, TextArea, TreatmentDetail1, TreatmentItem1, TreatmentsCategory7, TreatmentsList6, TreatmentsList7, VideoFull1 };
12751
12863
  //# sourceMappingURL=index.modern.js.map