tabexseriescomponents 0.2.774 → 0.2.776

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.
package/dist/index.esm.js CHANGED
@@ -18,7 +18,6 @@ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
18
18
  import { Modal, Offcanvas } from 'react-bootstrap';
19
19
  import { IKImage } from 'imagekitio-react';
20
20
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
21
- import _extends from '@babel/runtime/helpers/extends';
22
21
  import ImageGallery from 'react-image-gallery';
23
22
  import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
24
23
  import { IoBagHandleOutline } from '@react-icons/all-files/io5/IoBagHandleOutline';
@@ -31,11 +30,11 @@ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
31
30
  import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar';
32
31
  import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
33
32
  import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
34
- import { IoCall } from '@react-icons/all-files/io5/IoCall';
33
+ import '@react-icons/all-files/io5/IoCall';
35
34
  import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
36
35
  import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
37
36
  import { FiBox as FiBox$1 } from '@react-icons/all-files/fi/FiBox';
38
- import { Slide, Fade, Zoom } from 'react-slideshow-image';
37
+ import { Fade, Slide, Zoom } from 'react-slideshow-image';
39
38
  import { RiArrowGoBackLine } from '@react-icons/all-files/ri/RiArrowGoBackLine';
40
39
  import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
41
40
  import { FacebookShareButton, FacebookIcon, EmailShareButton, EmailIcon, TwitterShareButton, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon, TwitterIcon } from 'react-share';
@@ -162,6 +161,7 @@ import { GoStar } from '@react-icons/all-files/go/GoStar';
162
161
  import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
163
162
  import { CountdownCircleTimer } from 'react-countdown-circle-timer';
164
163
  import BackgroundSlideshow from 'react-background-slideshow';
164
+ import _extends from '@babel/runtime/helpers/extends';
165
165
  import { HiOutlineLocationMarker } from '@react-icons/all-files/hi/HiOutlineLocationMarker';
166
166
  import { FiPhoneCall } from '@react-icons/all-files/fi/FiPhoneCall';
167
167
  import { FaRegEye } from '@react-icons/all-files/fa/FaRegEye';
@@ -2467,7 +2467,7 @@ var DescriptionContent = function DescriptionContent(props) {
2467
2467
  function ownKeys$2A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2468
2468
  function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2469
2469
  var Product_itemtype = function Product_itemtype(props) {
2470
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i4, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _authdetailsContext$i5, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i6, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _sizeguideimage$;
2470
+ var _authdetailsContext$i, _authdetailsContext$i2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i3, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _sizeguideimage$;
2471
2471
  var lang = props.actions.lang;
2472
2472
  var langdetect = props.actions.langdetect;
2473
2473
  var srcfromprops = props.actions.srcfromprops;
@@ -2529,12 +2529,6 @@ var Product_itemtype = function Product_itemtype(props) {
2529
2529
  _useState14 = _slicedToArray(_useState13, 2),
2530
2530
  gallery = _useState14[0],
2531
2531
  setGallery = _useState14[1]; // Store reference to the gallery
2532
- var Slideshowsettings = {
2533
- indicators: true,
2534
- arrows: true,
2535
- pauseOnHover: false,
2536
- scale: 2
2537
- };
2538
2532
  var toggleFullScreen = function toggleFullScreen() {
2539
2533
  if (gallery) {
2540
2534
  gallery.toggleFullScreen();
@@ -2778,7 +2772,7 @@ var Product_itemtype = function Product_itemtype(props) {
2778
2772
  }
2779
2773
  }, /*#__PURE__*/React.createElement("div", {
2780
2774
  "class": ' col-lg-12 p-0 '
2781
- }, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React.createElement("div", {
2775
+ }, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
2782
2776
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
2783
2777
  style: {
2784
2778
  minHeight: sectionproperties.height + 'vh'
@@ -3302,7 +3296,7 @@ var Product_itemtype = function Product_itemtype(props) {
3302
3296
  size: sectionproperties.remove_quantitybtn_textfontsize
3303
3297
  }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
3304
3298
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
3305
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(2) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
3299
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(2) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
3306
3300
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
3307
3301
  onClick: function onClick() {
3308
3302
  var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
@@ -3974,7 +3968,7 @@ var Product_itemtype = function Product_itemtype(props) {
3974
3968
  "class": "my-3"
3975
3969
  })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
3976
3970
  "class": "col-lg-12 p-0 allcentered mt-2"
3977
- }, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React.createElement("div", {
3971
+ }, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && /*#__PURE__*/React.createElement("div", {
3978
3972
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
3979
3973
  style: {
3980
3974
  minHeight: sectionproperties.height + 'vh',
@@ -4101,345 +4095,7 @@ var Product_itemtype = function Product_itemtype(props) {
4101
4095
  dangerouslySetInnerHTML: {
4102
4096
  __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_ar
4103
4097
  }
4104
- }))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React.createElement("div", {
4105
- "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
4106
- style: {
4107
- minHeight: '100vh'
4108
- }
4109
- }, /*#__PURE__*/React.createElement("div", {
4110
- "class": "row m-0 w-100"
4111
- }, /*#__PURE__*/React.createElement("div", {
4112
- "class": "col-lg-12 p-0 mb-3"
4113
- }, /*#__PURE__*/React.createElement("div", {
4114
- "class": "row m-0 w-100"
4115
- }, /*#__PURE__*/React.createElement("div", {
4116
- "class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'
4117
- // style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4118
- ,
4119
- style: {
4120
- height: '60vh'
4121
- }
4122
- }, /*#__PURE__*/React.createElement("div", {
4123
- "class": 'h-sm-auto',
4124
- style: {
4125
- position: 'relative',
4126
- width: '100vw',
4127
- // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4128
- height: '60vh',
4129
- overflow: 'hidden'
4130
- }
4131
- }, /*#__PURE__*/React.createElement(Slide, _extends({}, Slideshowsettings, {
4132
- transitionDuration: 1500,
4133
- duration: 1500,
4134
- arrow: true,
4135
- easing: "ease"
4136
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productimages) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.productimages.map(function (item, index) {
4137
- if (item.is_size_guide != 1) {
4138
- return /*#__PURE__*/React.createElement("div", {
4139
- "class": "row m-0 w-100 h-sm-auto",
4140
- style: {
4141
- // height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4142
- height: '60vh'
4143
- }
4144
- }, /*#__PURE__*/React.createElement("div", {
4145
- "class": 'p-0 align-items-center d-flex',
4146
- key: index,
4147
- style: _defineProperty({
4148
- direction: langdetect == 'en' ? 'ltr' : 'rtl',
4149
- width: '100%',
4150
- height: '100%'
4151
- }, "height", '60vh')
4152
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
4153
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4154
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4155
- path: '/tr:w-2000,h-700/' + item.path,
4156
- style: {
4157
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
4158
- margin: 0,
4159
- padding: 0,
4160
- width: '100%',
4161
- height: '100%'
4162
- }
4163
- })));
4164
- }
4165
- }))))))), /*#__PURE__*/React.createElement("div", {
4166
- "class": "row m-0 w-100 px-5 mt-3 px-md-2"
4167
- }, /*#__PURE__*/React.createElement("div", {
4168
- "class": "col-lg-9"
4169
- }, /*#__PURE__*/React.createElement("div", {
4170
- "class": "row m-0 w-100 "
4171
- }, sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), /*#__PURE__*/React.createElement("div", {
4172
- "class": "col-lg-12 p-0 text-start mb-2"
4173
- }, /*#__PURE__*/React.createElement("p", {
4174
- className: "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex font-sm-15 ',
4175
- style: {
4176
- textAlign: langdetect == 'en' ? 'left' : 'right'
4177
- }
4178
- }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React.createElement("div", {
4179
- "class": "col-lg-12 p-0 text-start mb-4"
4180
- }, /*#__PURE__*/React.createElement(ProductHeaderPricing, {
4181
- actions: props.actions
4182
- })), /*#__PURE__*/React.createElement("div", {
4183
- "class": "col-lg-12 p-0 text-start mb-4"
4184
- }, /*#__PURE__*/React.createElement("p", {
4185
- className: 'm-0 p-0 wordbreak',
4186
- style: {
4187
- textAlign: langdetect == 'en' ? 'left' : 'right',
4188
- color: sectionproperties.prodCatColor
4189
- },
4190
- dangerouslySetInnerHTML: {
4191
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.description_ar
4192
- }
4193
- })), /*#__PURE__*/React.createElement("div", {
4194
- "class": "col-lg-12 col-md-12 p-0 mb-4"
4195
- }, /*#__PURE__*/React.createElement("div", {
4196
- "class": "row m-0 w-100"
4197
- }, /*#__PURE__*/React.createElement(Accordion, {
4198
- allowMultipleExpanded: true,
4199
- allowZeroExpanded: true,
4200
- preExpanded: [0]
4201
- }, /*#__PURE__*/React.createElement(AccordionItem, {
4202
- uuid: 0
4203
- }, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
4204
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
4205
- }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
4206
- if (state.expanded == true) {
4207
- return /*#__PURE__*/React.createElement("i", {
4208
- className: ' h-100 d-flex align-items-center justify-content-end '
4209
- }, /*#__PURE__*/React.createElement(FaMinus, {
4210
- color: sectionproperties.prodCatColor,
4211
- size: 20
4212
- }));
4213
- } else {
4214
- return /*#__PURE__*/React.createElement("i", {
4215
- className: ' h-100 d-flex align-items-center justify-content-end '
4216
- }, /*#__PURE__*/React.createElement(FaPlus, {
4217
- color: sectionproperties.prodCatColor,
4218
- size: 20
4219
- }));
4220
- }
4221
- }), /*#__PURE__*/React.createElement("p", {
4222
- className: "m-0 p-0 mx-4",
4223
- style: {
4224
- textAlign: langdetect == 'en' ? 'left' : 'right',
4225
- fontWeight: 500,
4226
- // fontWeight: sectionproperties.prodCatFontWeight,
4227
- color: sectionproperties.prodCatColor,
4228
- // fontSize: sectionproperties.prodCatFontSize + 'px',
4229
- fontSize: '24px'
4230
- }
4231
- }, langdetect == 'en' ? 'Facilities' : 'Facilities')))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
4232
- className: "p-0"
4233
- }, /*#__PURE__*/React.createElement("div", {
4234
- "class": "row m-0 w-100 pl-3 pr-3 mt-3"
4235
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productfeatures) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.map(function (fitem, findex) {
4236
- return /*#__PURE__*/React.createElement("div", {
4237
- "class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
4238
- }, /*#__PURE__*/React.createElement("div", {
4239
- "class": "row m-0 w-100 text-start"
4240
- }, /*#__PURE__*/React.createElement("div", {
4241
- "class": "col-lg-12 text-start text-uppercase p-0"
4242
- }, /*#__PURE__*/React.createElement("div", {
4243
- style: {
4244
- width: '30px'
4245
- },
4246
- "class": langdetect == 'en' ? 'mr-3' : 'ml-3'
4247
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
4248
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4249
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4250
- path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
4251
- loading: "lazy",
4252
- style: {
4253
- maxWidth: '100%',
4254
- maxHeight: '100%'
4255
- }
4256
- })), /*#__PURE__*/React.createElement("p", {
4257
- "class": "m-0 p-0",
4258
- style: {
4259
- color: sectionproperties.featurecolor,
4260
- fontWeight: sectionproperties.featurefontweight,
4261
- fontSize: 17
4262
- // fontSize: sectionproperties.featurefontsize,
4263
- }
4264
- }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), fitem.type != 'Checkbox' && /*#__PURE__*/React.createElement("div", {
4265
- "class": "col-lg-12 text-start text-capitalize"
4266
- }, /*#__PURE__*/React.createElement("p", {
4267
- "class": "m-0 p-0",
4268
- style: {
4269
- color: sectionproperties.featurevaluecolor,
4270
- fontWeight: sectionproperties.featurevaluefontweight,
4271
- fontSize: sectionproperties.featurevaluefontsize
4272
- }
4273
- }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
4274
- }))))))), /*#__PURE__*/React.createElement("div", {
4275
- "class": "col-lg-12 col-md-12 p-0 mb-4"
4276
- }, /*#__PURE__*/React.createElement("div", {
4277
- "class": "row m-0 w-100"
4278
- }, /*#__PURE__*/React.createElement(Accordion, {
4279
- allowMultipleExpanded: true,
4280
- allowZeroExpanded: true,
4281
- preExpanded: [0]
4282
- }, /*#__PURE__*/React.createElement(AccordionItem, {
4283
- uuid: 0
4284
- }, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
4285
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
4286
- }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
4287
- if (state.expanded == true) {
4288
- return /*#__PURE__*/React.createElement("i", {
4289
- className: ' h-100 d-flex align-items-center justify-content-end '
4290
- }, /*#__PURE__*/React.createElement(FaMinus, {
4291
- color: sectionproperties.prodCatColor,
4292
- size: 20
4293
- }));
4294
- } else {
4295
- return /*#__PURE__*/React.createElement("i", {
4296
- className: ' h-100 d-flex align-items-center justify-content-end '
4297
- }, /*#__PURE__*/React.createElement(FaPlus, {
4298
- color: sectionproperties.prodCatColor,
4299
- size: 20
4300
- }));
4301
- }
4302
- }), /*#__PURE__*/React.createElement("p", {
4303
- className: "m-0 p-0 mx-4",
4304
- style: {
4305
- textAlign: langdetect == 'en' ? 'left' : 'right',
4306
- fontWeight: 500,
4307
- // fontWeight: sectionproperties.prodCatFontWeight,
4308
- color: sectionproperties.prodCatColor,
4309
- // fontSize: sectionproperties.prodCatFontSize + 'px',
4310
- fontSize: '24px'
4311
- }
4312
- }, langdetect == 'en' ? 'Developer' : 'Developer')))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
4313
- className: "p-0"
4314
- }, /*#__PURE__*/React.createElement("div", {
4315
- "class": "row m-0 w-100 px-2 mt-3 d-flex flex-row"
4316
- }, /*#__PURE__*/React.createElement("div", {
4317
- "class": "col-lg-2 col-md-12 mb-md-3"
4318
- }, /*#__PURE__*/React.createElement("div", {
4319
- style: {
4320
- width: '100px',
4321
- borderRadius: 100,
4322
- border: '1px solid #ccc'
4323
- },
4324
- "class": langdetect == 'en' ? 'mr-3' : 'ml-3'
4325
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
4326
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4327
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4328
- path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.vendorinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.vendorlogourl,
4329
- loading: "lazy",
4330
- style: {
4331
- maxWidth: '100%',
4332
- maxHeight: '100%',
4333
- borderRadius: 100
4334
- }
4335
- }))), /*#__PURE__*/React.createElement("div", {
4336
- "class": "col-lg-10 col-md-12"
4337
- }, /*#__PURE__*/React.createElement("p", {
4338
- "class": "m-0 p-0",
4339
- style: {
4340
- fontSize: 17
4341
- }
4342
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.vendorinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.address)))))))))), /*#__PURE__*/React.createElement("div", {
4343
- "class": "col-lg-3"
4344
- }, /*#__PURE__*/React.createElement("div", {
4345
- "class": "row m-0 w-100"
4346
- }, /*#__PURE__*/React.createElement("div", {
4347
- "class": "col-12 p-0 text-end text-md-center mb-5 mb-md-4"
4348
- }, /*#__PURE__*/React.createElement("button", {
4349
- className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
4350
- onClick: function onClick() {
4351
- var _fetchProductInfoQuer80;
4352
- window.open('tel:' + ((_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.product_phonenumber), '_blank');
4353
- },
4354
- style: {
4355
- width: '40%',
4356
- borderRadius: 7,
4357
- color: 'white',
4358
- fontSize: 15,
4359
- height: 43,
4360
- background: '#005495'
4361
- }
4362
- }, /*#__PURE__*/React.createElement(IoCall, {
4363
- size: 16
4364
- }), /*#__PURE__*/React.createElement("span", {
4365
- "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
4366
- }, "Call Us")), /*#__PURE__*/React.createElement("a", {
4367
- href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
4368
- target: "_blank",
4369
- rel: "noopener noreferrer",
4370
- style: {
4371
- width: '40%'
4372
- },
4373
- "class": "mx-md-2"
4374
- }, /*#__PURE__*/React.createElement("button", {
4375
- className: ' d-flex align-items-center justify-content-center ',
4376
- style: {
4377
- width: '100%',
4378
- borderRadius: 7,
4379
- color: 'white',
4380
- fontSize: 15,
4381
- height: 43,
4382
- background: '#4cd964'
4383
- }
4384
- }, /*#__PURE__*/React.createElement(FaWhatsapp, {
4385
- size: 16
4386
- }), /*#__PURE__*/React.createElement("span", {
4387
- "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
4388
- }, "WhatsApp")))), /*#__PURE__*/React.createElement("div", {
4389
- "class": "col-12 allcentered mb-3 p-md-0"
4390
- }, /*#__PURE__*/React.createElement("button", {
4391
- className: "".concat(productinfo_cssstyles.sizeguidebtn2, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
4392
- onClick: function onClick() {
4393
- setopensizeguidemodal(true);
4394
- }
4395
- }, /*#__PURE__*/React.createElement("p", {
4396
- "class": ' m-0 p-0 cursor-pointer '
4397
- }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React.createElement("div", {
4398
- "class": "col-12 allcentered p-md-0 mb-md-5"
4399
- }, /*#__PURE__*/React.createElement("button", {
4400
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
4401
- onClick: function onClick() {
4402
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
4403
- var _fetchProductInfoQuer81;
4404
- window.open('tel:' + ((_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.product_phonenumber), '_blank');
4405
- } else {
4406
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
4407
- addtocartfunc();
4408
- } else {
4409
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
4410
- }
4411
- }
4412
- },
4413
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
4414
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
4415
- className: ' d-flex align-items-center justify-content-center '
4416
- }, /*#__PURE__*/React.createElement("i", {
4417
- className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
4418
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
4419
- className: "",
4420
- size: sectionproperties.cartBtn_iconFontSize
4421
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
4422
- className: "",
4423
- size: sectionproperties.cartBtn_iconFontSize
4424
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
4425
- className: "",
4426
- size: sectionproperties.cartBtn_iconFontSize
4427
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
4428
- className: "",
4429
- size: sectionproperties.cartBtn_iconFontSize
4430
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
4431
- className: "",
4432
- size: sectionproperties.cartBtn_iconFontSize
4433
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
4434
- size: sectionproperties.cartBtn_iconFontSize
4435
- })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
4436
- className: ' d-flex align-items-center justify-content-center '
4437
- }, /*#__PURE__*/React.createElement(CircularProgress, {
4438
- color: sectionproperties.cartBtnTextcolor,
4439
- width: "20px",
4440
- height: "20px",
4441
- duration: "1s"
4442
- })))))))))), sizeguideimage.length != 0 && /*#__PURE__*/React.createElement(Modal, {
4098
+ })))))), sizeguideimage.length != 0 && /*#__PURE__*/React.createElement(Modal, {
4443
4099
  show: opensizeguidemodal,
4444
4100
  onHide: function onHide() {
4445
4101
  setopensizeguidemodal(false);
@@ -15587,12 +15243,16 @@ var CartSlider = function CartSlider(props) {
15587
15243
  backgroundPosition: 'center',
15588
15244
  position: 'relative'
15589
15245
  }),
15590
- productNameStyles: css(_defineProperty({
15246
+ productNameStyles: css(_defineProperty(_defineProperty({
15591
15247
  color: sectionproperties.prodNameColor,
15592
15248
  fontSize: sectionproperties.prodNameFontSize + 'px',
15593
15249
  fontWeight: sectionproperties.texthover_productcard_fontWeight,
15594
15250
  textTransform: sectionproperties.prodNameTextTranform
15595
- }, "fontWeight", sectionproperties.prodNameFontWeight)),
15251
+ }, "fontWeight", sectionproperties.prodNameFontWeight), ':hover', {
15252
+ textDecoration: 'underline',
15253
+ transition: '.3s',
15254
+ cursor: 'pointer'
15255
+ })),
15596
15256
  productPricestyles: css({
15597
15257
  fontSize: sectionproperties.prodpriceFontSize + 'px',
15598
15258
  fontWeight: sectionproperties.prodPriceFontWeight,
@@ -15967,6 +15627,12 @@ var CartSlider = function CartSlider(props) {
15967
15627
  className: "".concat(cart_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex align-items-start ',
15968
15628
  style: {
15969
15629
  textAlign: langdetect == 'en' ? 'left' : 'right'
15630
+ },
15631
+ onClick: function onClick() {
15632
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
15633
+ setOpenCloseCartSlider(false);
15634
+ setsidecartnavshowWorkplaceDesigncontext(false);
15635
+ setsidecartnavshowcontext(false);
15970
15636
  }
15971
15637
  }, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("div", {
15972
15638
  className: "".concat(cart_cssstyles.productPricestyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex mt-1 '
@@ -23261,8 +22927,11 @@ var Subheader = function Subheader(props) {
23261
22927
  "class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
23262
22928
  }, /*#__PURE__*/React.createElement("ul", {
23263
22929
  "class": "mt-2",
23264
- sytle: {
23265
- width: '200px'
22930
+ style: {
22931
+ width: '200px',
22932
+ background: sectionproperties.subheader_dropdown_bgcolor,
22933
+ border: sectionproperties.subheader_dropdown_borderWidth + 'px solid ' + sectionproperties.subheader_dropdown_borderColor,
22934
+ borderRadius: sectionproperties.subheader_dropdown_borderRadius + 'px'
23266
22935
  }
23267
22936
  }, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
23268
22937
  if (item.isshowntocustomers == 1) {
@@ -25462,7 +25131,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25462
25131
  }
25463
25132
  }, sectionproperties.logocentered == 'Centered' && /*#__PURE__*/React.createElement("div", {
25464
25133
  className: "col-md-4 col-sm-3 text-start p-0"
25465
- }, /*#__PURE__*/React.createElement("div", {
25134
+ }, sectionproperties.respiconposition != 'Right' && /*#__PURE__*/React.createElement("div", {
25466
25135
  "class": header_cssstyles.respicon
25467
25136
  }, /*#__PURE__*/React.createElement("i", {
25468
25137
  "class": ' h-100 allcentered ',
@@ -25533,41 +25202,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25533
25202
  className: "col-md-4 col-sm-6 allcentered p-0"
25534
25203
  }, InstLogoContainer()), /*#__PURE__*/React.createElement("div", {
25535
25204
  className: sectionproperties.logocentered != 'Centered' ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0' : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
25536
- }, sectionproperties.respiconposition == 'Right' && /*#__PURE__*/React.createElement("div", {
25537
- "class": header_cssstyles.respicon
25538
- }, /*#__PURE__*/React.createElement("i", {
25539
- "class": ' h-100 allcentered ',
25540
- style: {},
25541
- onClick: function onClick() {
25542
- if (sectionproperties.responsiveheaderstyle == 'Style 2') {
25543
- if (menuactive == true) {
25544
- setmenuactive(false);
25545
- } else {
25546
- setmenuactive(true);
25547
- }
25548
- } else {
25549
- setopenmenuCanvas(true);
25550
- setactiveTab('menu');
25551
- }
25552
- }
25553
- }, menuactive == false && /*#__PURE__*/React.createElement(FiMenu, {
25554
- size: sectionproperties.resp_sidenav_size
25555
- }), menuactive == true && /*#__PURE__*/React.createElement(AiOutlineClose, {
25556
- size: sectionproperties.resp_sidenav_size
25557
- }))), sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && /*#__PURE__*/React.createElement("div", {
25558
- style: {
25559
- width: '30px',
25560
- height: sectionproperties.cart_BtnHeight_resp + 'px'
25561
- }
25562
- }, /*#__PURE__*/React.createElement("i", {
25563
- "class": "h-100 allcentered",
25564
- onClick: function onClick() {
25565
- setopenSearch(true);
25566
- }
25567
- }, /*#__PURE__*/React.createElement(IoSearchOutline, {
25568
- size: 22,
25569
- color: sectionproperties.cart_BtnTextcolor_resp
25570
- }))), sectionproperties.searchbar_show == 'Show' && sectionproperties.searchbtnresponsiveposition == 'Right' && /*#__PURE__*/React.createElement("div", {
25205
+ }, sectionproperties.searchbar_show == 'Show' && sectionproperties.searchbtnresponsiveposition == 'Right' && /*#__PURE__*/React.createElement("div", {
25571
25206
  style: {
25572
25207
  width: '30px',
25573
25208
  height: sectionproperties.cart_BtnHeight_resp + 'px'
@@ -25636,7 +25271,28 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25636
25271
  }, /*#__PURE__*/React.createElement("hr", {
25637
25272
  "class": "m-0"
25638
25273
  }))));
25639
- })))), sectionproperties.searchbar_show == 'Hide' && sectionproperties.logocentered == 'Centered' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.favBtnShow == 'Hide' && /*#__PURE__*/React.createElement("div", {
25274
+ })))), sectionproperties.respiconposition == 'Right' && /*#__PURE__*/React.createElement("div", {
25275
+ "class": header_cssstyles.respicon
25276
+ }, /*#__PURE__*/React.createElement("i", {
25277
+ "class": ' h-100 allcentered ',
25278
+ style: {},
25279
+ onClick: function onClick() {
25280
+ if (sectionproperties.responsiveheaderstyle == 'Style 2') {
25281
+ if (menuactive == true) {
25282
+ setmenuactive(false);
25283
+ } else {
25284
+ setmenuactive(true);
25285
+ }
25286
+ } else {
25287
+ setopenmenuCanvas(true);
25288
+ setactiveTab('menu');
25289
+ }
25290
+ }
25291
+ }, menuactive == false && /*#__PURE__*/React.createElement(FiMenu, {
25292
+ size: sectionproperties.resp_sidenav_size
25293
+ }), menuactive == true && /*#__PURE__*/React.createElement(AiOutlineClose, {
25294
+ size: sectionproperties.resp_sidenav_size
25295
+ }))), sectionproperties.searchbar_show == 'Hide' && sectionproperties.logocentered == 'Centered' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.favBtnShow == 'Hide' && /*#__PURE__*/React.createElement("div", {
25640
25296
  className: 'allcentered resposiveheader_languagedropdown',
25641
25297
  style: {
25642
25298
  marginLeft: langdetect == 'en' ? '0.25rem' : 0,
@@ -27113,14 +26769,14 @@ var ElegantHeader = function ElegantHeader(props) {
27113
26769
  }
27114
26770
  }, /*#__PURE__*/React.createElement("p", {
27115
26771
  "class": "m-0 p-0"
27116
- }, "\u0639")), langdetect == 'en' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
26772
+ }, sectionproperties.arabiclanguagetext)), langdetect == 'en' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
27117
26773
  "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
27118
26774
  onClick: function onClick() {
27119
26775
  setlang('ar');
27120
26776
  }
27121
26777
  }, /*#__PURE__*/React.createElement("p", {
27122
26778
  "class": "m-0 p-0"
27123
- }, "En")), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
26779
+ }, sectionproperties.englishlanguagetext)), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
27124
26780
  "class": "allcentered"
27125
26781
  }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
27126
26782
  "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
@@ -50797,7 +50453,7 @@ var Footer8 = function Footer8(props) {
50797
50453
  }),
50798
50454
  gmail: css({
50799
50455
  ':hover': {
50800
- backgroundColor: '#4285f4'
50456
+ backgroundColor: '#005495'
50801
50457
  }
50802
50458
  }),
50803
50459
  instgram_btn: css({
@@ -51483,6 +51139,16 @@ var Footer8 = function Footer8(props) {
51483
51139
  direction: 'ltr'
51484
51140
  }
51485
51141
  }, "+201015055005"))), /*#__PURE__*/React.createElement("div", {
51142
+ "class": "col-lg-12 p-0 text-start mb-2"
51143
+ }, /*#__PURE__*/React.createElement("a", {
51144
+ href: 'tel:01015055005',
51145
+ target: '_self'
51146
+ }, /*#__PURE__*/React.createElement("p", {
51147
+ "class": "".concat(footerStyles.iconTextStyle) + ' m-0 ',
51148
+ style: {
51149
+ direction: 'ltr'
51150
+ }
51151
+ }, "+447878692563"))), /*#__PURE__*/React.createElement("div", {
51486
51152
  "class": "col-lg-12 p-0 text-start mt-4 mb-2"
51487
51153
  }, /*#__PURE__*/React.createElement("p", {
51488
51154
  "class": "".concat(footerStyles.iconTextStyle),
@@ -65436,7 +65102,7 @@ styleInject(css_248z$i);
65436
65102
  function ownKeys$Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
65437
65103
  function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
65438
65104
  var Freetextsection = function Freetextsection(props) {
65439
- var _maincontainerarrayof3, _maincontainerarrayof4, _maincontainerarrayof5, _maincontainerarrayof6, _maincontainerarrayof7, _maincontainerarrayof8;
65105
+ var _maincontainerarrayof;
65440
65106
  var _useState = useState(''),
65441
65107
  _useState2 = _slicedToArray(_useState, 2),
65442
65108
  sectionproperties = _useState2[0],
@@ -65539,15 +65205,34 @@ var Freetextsection = function Freetextsection(props) {
65539
65205
  position: 'relative',
65540
65206
  border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
65541
65207
  width: sectionproperties.width + 'vw',
65208
+ paddingTop: sectionproperties.paddingTop + 'px',
65209
+ paddingBottom: sectionproperties.paddingBottom + 'px',
65542
65210
  '@media (max-width: 800px)': {
65543
- paddingTop: sectionproperties.paddingverticalresponsive + 'px',
65544
- paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
65211
+ paddingTop: sectionproperties.paddingtopresponsive + 'px',
65212
+ paddingBottom: sectionproperties.paddingbottomresponsive + 'px'
65213
+ }
65214
+ }),
65215
+ paddings: css({
65216
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
65217
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
65218
+ '@media (max-width: 800px)': {
65219
+ paddingLeft: sectionproperties.paddinghorizontalresponsive + 'px',
65220
+ paddingRight: sectionproperties.paddinghorizontalresponsive + 'px'
65221
+ }
65222
+ }),
65223
+ sectioncont: css({
65224
+ marginTop: sectionproperties.marginTop + 'px',
65225
+ marginBottom: sectionproperties.marginBottom + 'px',
65226
+ background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage) + ')' : '' : '',
65227
+ '@media (max-width: 800px)': {
65228
+ marginTop: sectionproperties.marginTopResp + 'px',
65229
+ marginBottom: sectionproperties.marginBottom + 'px'
65545
65230
  }
65546
65231
  })
65547
65232
  };
65548
65233
  var SectionTitle = function SectionTitle() {
65549
65234
  return /*#__PURE__*/React.createElement("div", {
65550
- "class": "d-flex align-items-center flex-row",
65235
+ "class": "d-flex align-items-center flex-row d-flex",
65551
65236
  style: {
65552
65237
  position: 'relative',
65553
65238
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
@@ -65584,28 +65269,27 @@ var Freetextsection = function Freetextsection(props) {
65584
65269
  marginBottom: sectionproperties.sectionbgstyle == 'Besides each other' ? 'auto' : sectionproperties.descriptionMarginBottom + 'px',
65585
65270
  paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
65586
65271
  paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
65587
- justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start'
65272
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : sectionproperties.descriptionCentered == 'Start' ? 'start' : 'end'
65588
65273
  }
65589
65274
  }, /*#__PURE__*/React.createElement("p", {
65590
65275
  "class": sectionproperties.descFontFamily == 'Pacifico' ? ' PacificoFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Playfair' ? ' PlayfairFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Great Vibes' ? ' GreatvibesFont m-0 p-0 wordbreak ' : sectionproperties.descFontFamily == 'Quicksand' ? ' QuicksandFont m-0 p-0 wordbreak' : ' m-0 p-0 wordbreak',
65591
65276
  style: {
65592
- textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
65593
65277
  color: sectionproperties.prodCatColor,
65594
- fontWeight: sectionproperties.prodCatFontWeight
65278
+ fontWeight: sectionproperties.prodCatFontWeight,
65279
+ textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
65595
65280
  }
65596
65281
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr));
65597
65282
  };
65598
65283
  var SectionContent = function SectionContent(type) {
65599
- var _maincontainerarrayof, _maincontainerarrayof2;
65284
+ var _maincontainerarrayof2, _maincontainerarrayof3;
65600
65285
  return /*#__PURE__*/React.createElement("div", {
65601
- "class": sectionproperties.width == 100 ? section_styles.sectioncontent + ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : section_styles.sectioncontent + ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
65602
- style: {}
65286
+ "class": sectionproperties.width == 100 ? section_styles.sectioncontent + ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : section_styles.sectioncontent + ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center '
65603
65287
  }, sectionproperties.hideshowcardtransition != 'Show' && /*#__PURE__*/React.createElement(React.Fragment, null, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React.createElement("div", {
65604
65288
  "class": section_styles.imgcontainer + ' d-block d-md-none '
65605
65289
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
65606
65290
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
65607
65291
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
65608
- path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
65292
+ path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
65609
65293
  style: {
65610
65294
  height: '100%',
65611
65295
  width: '100%',
@@ -65623,7 +65307,7 @@ var Freetextsection = function Freetextsection(props) {
65623
65307
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
65624
65308
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
65625
65309
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
65626
- path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimageresp,
65310
+ path: (_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimageresp,
65627
65311
  style: {
65628
65312
  height: '100%',
65629
65313
  width: '100%',
@@ -65637,12 +65321,8 @@ var Freetextsection = function Freetextsection(props) {
65637
65321
  left: 0
65638
65322
  }
65639
65323
  }))), /*#__PURE__*/React.createElement("div", {
65640
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'pl-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'pr-md-3 w-100 d-flex justify-content-start' : 'w-100 d-flex justify-content-start pl-md-3' : 'w-100 d-flex justify-content-start',
65324
+ "class": section_styles.paddings + 'w-100 d-flex justify-content-start',
65641
65325
  style: {
65642
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
65643
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
65644
- paddingTop: type == 'responsive' ? '15px' : sectionproperties.paddingTop + 'px',
65645
- paddingBottom: type == 'responsive' ? '15px' : sectionproperties.paddingBottom + 'px',
65646
65326
  zIndex: 100,
65647
65327
  height: sectionproperties.hideshowcardtransition == 'Show' ? type == 'responsive' ? sectionproperties.height_responsive + 'px' : '' : ''
65648
65328
  }
@@ -65679,6 +65359,101 @@ var Freetextsection = function Freetextsection(props) {
65679
65359
  "class": "".concat(section_styles.btn)
65680
65360
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))));
65681
65361
  };
65362
+ var FreeTextSectionContainer = function FreeTextSectionContainer() {
65363
+ var _maincontainerarrayof4, _maincontainerarrayof5;
65364
+ return /*#__PURE__*/React.createElement("div", {
65365
+ "class": "row m-0 w-100"
65366
+ }, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React.createElement("div", {
65367
+ "class": "".concat(section_styles.sectioncont, " ").concat(sectionstyles$1.background) + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
65368
+ style: {
65369
+ position: 'relative'
65370
+ }
65371
+ }, maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React.createElement("div", {
65372
+ "class": section_styles.imgcontainer + ' d-block d-md-none '
65373
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
65374
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
65375
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
65376
+ path: (_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage,
65377
+ style: {
65378
+ height: '100%',
65379
+ width: '100%',
65380
+ objectFit: 'cover',
65381
+ margin: 0,
65382
+ padding: 0,
65383
+ position: 'absolute',
65384
+ top: 0,
65385
+ bottom: 0,
65386
+ right: 0,
65387
+ left: 0
65388
+ }
65389
+ })), maincontainerarrayofobjs != undefined && (maincontainerarrayofobjs === null || maincontainerarrayofobjs === void 0 ? void 0 : maincontainerarrayofobjs.length) != 0 && /*#__PURE__*/React.createElement("div", {
65390
+ "class": section_styles.imgcontainer + ' d-none d-md-block '
65391
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
65392
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
65393
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
65394
+ path: (_maincontainerarrayof5 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof5 === void 0 ? void 0 : _maincontainerarrayof5.back_bgimageresp,
65395
+ style: {
65396
+ height: '100%',
65397
+ width: '100%',
65398
+ objectFit: 'cover',
65399
+ margin: 0,
65400
+ padding: 0,
65401
+ position: 'absolute',
65402
+ top: 0,
65403
+ bottom: 0,
65404
+ right: 0,
65405
+ left: 0
65406
+ }
65407
+ })), /*#__PURE__*/React.createElement("div", {
65408
+ "class": sectionproperties.width == 100 ? "".concat(section_styles.sectioncontent, " ").concat(section_styles.paddings) + ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : "".concat(section_styles.sectioncontent, " ").concat(section_styles.paddings) + ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
65409
+ style: {
65410
+ zIndex: 10
65411
+ }
65412
+ }, /*#__PURE__*/React.createElement("div", {
65413
+ "class": "col-lg-12 p-0"
65414
+ }, /*#__PURE__*/React.createElement("div", {
65415
+ "class": "row m-0 w-100 allcentered"
65416
+ }, /*#__PURE__*/React.createElement("div", {
65417
+ "class": "",
65418
+ style: {
65419
+ background: sectionproperties.reservation_bgcolor,
65420
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
65421
+ boxShadow: '0 0 10px ' + sectionproperties.innersectionshadowcolor,
65422
+ paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
65423
+ paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
65424
+ paddingTop: sectionproperties.innersectionpaddingvertical + 'px',
65425
+ paddingBottom: sectionproperties.innersectionpaddingvertical + 'px',
65426
+ width: sectionproperties.innersectionWidth + '%'
65427
+ }
65428
+ }, /*#__PURE__*/React.createElement("div", {
65429
+ "class": "row m-0 w-100"
65430
+ }, /*#__PURE__*/React.createElement("div", {
65431
+ "class": sectionproperties.innercolsratio == '2:10' ? ' col-lg-2 col-md-12 p-md-0 ' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 col-lg-3 col-md-12 p-md-0 ' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 col-lg-4 col-md-12 p-md-0' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 col-lg-5 col-md-12 p-md-0' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 col-lg-6 col-md-12 p-md-0' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 col-lg-7 col-md-12 p-md-0' : 'col-md-12 col-lg-3 col-md-12 p-md-0',
65432
+ style: {
65433
+ display: 'flex',
65434
+ alignItems: sectionproperties.sectiontitlepositionvertically == 'Center' ? 'center' : ''
65435
+ }
65436
+ }, /*#__PURE__*/React.createElement("div", {
65437
+ "class": "w-100 d-flex mb-md-4",
65438
+ style: {}
65439
+ }, SectionTitle())), /*#__PURE__*/React.createElement("div", {
65440
+ "class": sectionproperties.innercolsratio == '2:10' ? 'col-md-12 d-flex justify-content-center col-lg-10 p-md-0 col-md-12' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 d-flex justify-content-center col-lg-9 p-md-0 col-md-12' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 d-flex justify-content-center col-lg-8 p-md-0 col-md-12' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 d-flex justify-content-center col-lg-7 p-md-0 col-md-12' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 d-flex justify-content-center col-lg-6 p-md-0 col-md-12' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 d-flex justify-content-center col-lg-5 p-md-0 col-md-12' : 'col-md-12 d-flex justify-content-center col-lg-3 p-md-0 col-md-12',
65441
+ style: {
65442
+ paddingLeft: langdetect == 'en' ? '50px' : 0,
65443
+ paddingRight: langdetect == 'ar' ? '50px' : 0,
65444
+ alignItems: sectionproperties.centerdescriptionvertical == 'Centered' ? 'center' : ''
65445
+ }
65446
+ }, /*#__PURE__*/React.createElement("div", {
65447
+ "class": "row m-0 w-100 text-start text-md-center",
65448
+ style: {
65449
+ fontSize: sectionproperties.prodCatFontSize + 'px'
65450
+ }
65451
+ }, Description())))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
65452
+ "class": "".concat(section_styles.sectioncont, " ").concat(sectionstyles$1.background) + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center '
65453
+ }, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
65454
+ "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center '
65455
+ }, SectionContent('responsive')));
65456
+ };
65682
65457
  return /*#__PURE__*/React.createElement("div", {
65683
65458
  "class": "w-100 allcentered",
65684
65459
  style: {
@@ -65687,143 +65462,9 @@ var Freetextsection = function Freetextsection(props) {
65687
65462
  }, sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React.createElement("div", {
65688
65463
  "class": "row m-0 w-100",
65689
65464
  "data-aos": 'fade-up'
65690
- }, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React.createElement("div", {
65691
- "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
65692
- style: {
65693
- marginTop: sectionproperties.marginTop + 'px',
65694
- marginBottom: sectionproperties.marginBottom + 'px',
65695
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof3 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof3 === void 0 ? void 0 : _maincontainerarrayof3.back_bgimage) + ')' : '' : ''
65696
- }
65697
- }, /*#__PURE__*/React.createElement("div", {
65698
- "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
65699
- style: {
65700
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
65701
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
65702
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
65703
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
65704
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
65705
- position: 'relative',
65706
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
65707
- width: sectionproperties.width + 'vw'
65708
- }
65709
- }, /*#__PURE__*/React.createElement("div", {
65710
- "class": "col-lg-12 p-0"
65711
- }, /*#__PURE__*/React.createElement("div", {
65712
- "class": "row m-0 w-100 allcentered"
65713
- }, /*#__PURE__*/React.createElement("div", {
65714
- "class": "",
65715
- style: {
65716
- background: sectionproperties.reservation_bgcolor,
65717
- borderRadius: sectionproperties.reservation_borderradius + 'px',
65718
- boxShadow: '0 0 10px ' + sectionproperties.innersectionshadowcolor,
65719
- paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
65720
- paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
65721
- paddingTop: sectionproperties.innersectionpaddingvertical + 'px',
65722
- paddingBottom: sectionproperties.innersectionpaddingvertical + 'px',
65723
- width: sectionproperties.innersectionWidth + '%'
65724
- }
65725
- }, /*#__PURE__*/React.createElement("div", {
65726
- "class": "row m-0 w-100"
65727
- }, /*#__PURE__*/React.createElement("div", {
65728
- "class": sectionproperties.innercolsratio == '2:10' ? ' allcentered col-lg-2 col-md-12 p-md-0' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 allcentered col-lg-4 col-md-12 p-md-0' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 allcentered col-lg-5 col-md-12 p-md-0' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 allcentered col-lg-6 col-md-12 p-md-0' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 allcentered col-lg-7 col-md-12 p-md-0' : 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0'
65729
- }, /*#__PURE__*/React.createElement("div", {
65730
- "class": "w-100 d-flex allcentered mb-md-4"
65731
- }, SectionTitle())), /*#__PURE__*/React.createElement("div", {
65732
- "class": sectionproperties.innercolsratio == '2:10' ? 'col-md-12 d-flex justify-content-center col-lg-10 p-md-0 col-md-12' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 d-flex justify-content-center col-lg-9 p-md-0 col-md-12' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 d-flex justify-content-center col-lg-8 p-md-0 col-md-12' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 d-flex justify-content-center col-lg-7 p-md-0 col-md-12' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 d-flex justify-content-center col-lg-6 p-md-0 col-md-12' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 d-flex justify-content-center col-lg-5 p-md-0 col-md-12' : 'col-md-12 d-flex justify-content-center col-lg-3 p-md-0 col-md-12',
65733
- style: {
65734
- paddingLeft: langdetect == 'en' ? '50px' : 0,
65735
- paddingRight: langdetect == 'ar' ? '50px' : 0,
65736
- alignItems: sectionproperties.centerdescriptionvertical == 'Centered' ? 'center' : ''
65737
- }
65738
- }, /*#__PURE__*/React.createElement("div", {
65739
- "class": "row m-0 w-100 text-start text-md-center",
65740
- style: {
65741
- fontSize: sectionproperties.prodCatFontSize + 'px'
65742
- }
65743
- }, Description())))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
65744
- "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
65745
- style: {
65746
- marginTop: sectionproperties.marginTop + 'px',
65747
- marginBottom: sectionproperties.marginBottom + 'px',
65748
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof4 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof4 === void 0 ? void 0 : _maincontainerarrayof4.back_bgimage) + ')' : '' : ''
65749
- }
65750
- }, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
65751
- "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
65752
- style: {
65753
- marginTop: sectionproperties.marginTopResp + 'px',
65754
- marginBottom: sectionproperties.marginBottom + 'px',
65755
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof5 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof5 === void 0 ? void 0 : _maincontainerarrayof5.back_bgimage) + ')' : '' : ''
65756
- }
65757
- }, SectionContent('responsive'))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
65465
+ }, FreeTextSectionContainer()), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
65758
65466
  "class": "row m-0 w-100"
65759
- }, sectionproperties.sectionbgstyle == 'Besides each other' && /*#__PURE__*/React.createElement("div", {
65760
- "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex justify-content-center align-items-center ',
65761
- style: {
65762
- marginTop: sectionproperties.marginTop + 'px',
65763
- marginBottom: sectionproperties.marginBottom + 'px',
65764
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof6 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof6 === void 0 ? void 0 : _maincontainerarrayof6.back_bgimage) + ')' : '' : ''
65765
- }
65766
- }, /*#__PURE__*/React.createElement("div", {
65767
- "class": sectionproperties.width == 100 ? ' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center ' : ' row ml-0 mr-0 d-flex justify-content-between w-md-95 align-items-center ',
65768
- style: {
65769
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
65770
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
65771
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
65772
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
65773
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
65774
- position: 'relative',
65775
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
65776
- width: sectionproperties.width + 'vw'
65777
- }
65778
- }, /*#__PURE__*/React.createElement("div", {
65779
- "class": "col-lg-12 p-0"
65780
- }, /*#__PURE__*/React.createElement("div", {
65781
- "class": "row m-0 w-100 allcentered"
65782
- }, /*#__PURE__*/React.createElement("div", {
65783
- "class": "",
65784
- style: {
65785
- background: sectionproperties.reservation_bgcolor,
65786
- borderRadius: sectionproperties.reservation_borderradius + 'px',
65787
- boxShadow: '0 0 10px ' + sectionproperties.innersectionshadowcolor,
65788
- paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
65789
- paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
65790
- paddingTop: sectionproperties.innersectionpaddingvertical + 'px',
65791
- paddingBottom: sectionproperties.innersectionpaddingvertical + 'px',
65792
- width: sectionproperties.innersectionWidth + '%'
65793
- }
65794
- }, /*#__PURE__*/React.createElement("div", {
65795
- "class": "row m-0 w-100"
65796
- }, /*#__PURE__*/React.createElement("div", {
65797
- "class": sectionproperties.innercolsratio == '2:10' ? ' allcentered col-lg-2 col-md-12 p-md-0' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 allcentered col-lg-4 col-md-12 p-md-0' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 allcentered col-lg-5 col-md-12 p-md-0' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 allcentered col-lg-6 col-md-12 p-md-0' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 allcentered col-lg-7 col-md-12 p-md-0' : 'col-md-12 allcentered col-lg-3 col-md-12 p-md-0'
65798
- }, /*#__PURE__*/React.createElement("div", {
65799
- "class": "w-100 d-flex allcentered mb-md-4"
65800
- }, SectionTitle())), /*#__PURE__*/React.createElement("div", {
65801
- "class": sectionproperties.innercolsratio == '2:10' ? 'col-md-12 d-flex justify-content-center col-lg-10 p-md-0 col-md-12' : sectionproperties.innercolsratio == '3:9' ? 'col-md-12 d-flex justify-content-center col-lg-9 p-md-0 col-md-12' : sectionproperties.innercolsratio == '4:8' ? 'col-md-12 d-flex justify-content-center col-lg-8 p-md-0 col-md-12' : sectionproperties.innercolsratio == '5:7' ? 'col-md-12 d-flex justify-content-center col-lg-7 p-md-0 col-md-12' : sectionproperties.innercolsratio == '6:6' ? 'col-md-12 d-flex justify-content-center col-lg-6 p-md-0 col-md-12' : sectionproperties.innercolsratio == '7:5' ? 'col-md-12 d-flex justify-content-center col-lg-5 p-md-0 col-md-12' : 'col-md-12 d-flex justify-content-center col-lg-3 p-md-0 col-md-12',
65802
- style: {
65803
- paddingLeft: langdetect == 'en' ? '50px' : 0,
65804
- paddingRight: langdetect == 'ar' ? '50px' : 0,
65805
- alignItems: sectionproperties.centerdescriptionvertical == 'Centered' ? 'center' : ''
65806
- }
65807
- }, /*#__PURE__*/React.createElement("div", {
65808
- "class": "row m-0 w-100 text-start text-md-center",
65809
- style: {
65810
- fontSize: sectionproperties.prodCatFontSize + 'px'
65811
- }
65812
- }, Description())))))))), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
65813
- "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-flex d-md-none justify-content-center align-items-center ',
65814
- style: {
65815
- marginTop: sectionproperties.marginTop + 'px',
65816
- marginBottom: sectionproperties.marginBottom + 'px',
65817
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof7 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof7 === void 0 ? void 0 : _maincontainerarrayof7.back_bgimage) + ')' : '' : ''
65818
- }
65819
- }, SectionContent('normal')), sectionproperties.sectionbgstyle == 'Text Below' && /*#__PURE__*/React.createElement("div", {
65820
- "class": sectionstyles$1.background + ' row w-100 ml-0 mr-0 d-none d-md-flex justify-content-center align-items-center ',
65821
- style: {
65822
- marginTop: sectionproperties.marginTopResp + 'px',
65823
- marginBottom: sectionproperties.marginBottom + 'px',
65824
- background: sectionproperties.hideshowcardtransition == 'Show' ? maincontainerarrayofobjs.length != 0 ? 'url(' + serverbaselink$1 + ((_maincontainerarrayof8 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof8 === void 0 ? void 0 : _maincontainerarrayof8.back_bgimage) + ')' : '' : ''
65825
- }
65826
- }, SectionContent('responsive'))));
65467
+ }, FreeTextSectionContainer()));
65827
65468
  };
65828
65469
 
65829
65470
  function ownKeys$Y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -67914,7 +67555,7 @@ var Servicesection = function Servicesection(props) {
67914
67555
  borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
67915
67556
  position: 'relative'
67916
67557
  }
67917
- }, sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
67558
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
67918
67559
  "class": section_styles.imgcontainer
67919
67560
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
67920
67561
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -68096,7 +67737,7 @@ var Servicesection = function Servicesection(props) {
68096
67737
  function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
68097
67738
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
68098
67739
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68099
- var _maincontainerarrayof;
67740
+ var _maincontainerarrayof, _maincontainerarrayof2;
68100
67741
  var _useState = useState(''),
68101
67742
  _useState2 = _slicedToArray(_useState, 2),
68102
67743
  sectionproperties = _useState2[0],
@@ -68309,7 +67950,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68309
67950
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68310
67951
  style: {},
68311
67952
  "data-aos": 'fade-up'
68312
- }, sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
67953
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
68313
67954
  "class": sectionStyles.imgcontainer
68314
67955
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
68315
67956
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -68553,7 +68194,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68553
68194
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
68554
68195
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68555
68196
  style: {}
68556
- }, /*#__PURE__*/React.createElement("div", {
68197
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
68198
+ "class": sectionStyles.imgcontainer
68199
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
68200
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68201
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68202
+ path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68203
+ style: {
68204
+ height: '100%',
68205
+ width: '100%',
68206
+ objectFit: 'cover',
68207
+ margin: 0,
68208
+ padding: 0,
68209
+ position: 'absolute',
68210
+ top: 0,
68211
+ bottom: 0,
68212
+ right: 0,
68213
+ left: 0
68214
+ }
68215
+ })), /*#__PURE__*/React.createElement("div", {
68557
68216
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68558
68217
  style: {}
68559
68218
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
@@ -69748,8 +69407,8 @@ var Slideshowfade = function Slideshowfade(props) {
69748
69407
  top: sectionproperties.textsectionpositionfromtop + '%',
69749
69408
  zIndex: 1000,
69750
69409
  paddingTop: sectionproperties.paddingTop + 'px',
69751
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : '',
69752
- paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px',
69410
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
69411
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
69753
69412
  width: sectionproperties.textsectionwidth + '%',
69754
69413
  '@media (max-width: 800px)': {
69755
69414
  top: sectionproperties.textsectionpositionfromtopresp + '%'
@@ -84598,34 +84257,43 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
84598
84257
  _useState2 = _slicedToArray(_useState, 2);
84599
84258
  _useState2[0];
84600
84259
  var setitem = _useState2[1];
84601
- var _useState3 = useState({}),
84602
- _useState4 = _slicedToArray(_useState3, 2),
84603
- variants_iteminfo = _useState4[0],
84604
- setvariants_iteminfo = _useState4[1];
84605
- var _useState5 = useState([]),
84606
- _useState6 = _slicedToArray(_useState5, 2),
84607
- options_w_values = _useState6[0],
84608
- setoptions_w_values = _useState6[1];
84609
- var _useState7 = useState([]),
84260
+ var _useState3 = useState(props.actions.fetchingtypeprops),
84261
+ _useState4 = _slicedToArray(_useState3, 2);
84262
+ _useState4[0];
84263
+ _useState4[1];
84264
+ var _useState5 = useState(props.actions.collectionid),
84265
+ _useState6 = _slicedToArray(_useState5, 2);
84266
+ _useState6[0];
84267
+ _useState6[1];
84268
+ props.actions.cardonclickfunctionContext;
84269
+ var _useState7 = useState({}),
84610
84270
  _useState8 = _slicedToArray(_useState7, 2),
84611
- choosen_values = _useState8[0],
84612
- setchoosen_values = _useState8[1];
84613
- var _useState9 = useState({}),
84271
+ variants_iteminfo = _useState8[0],
84272
+ setvariants_iteminfo = _useState8[1];
84273
+ var _useState9 = useState([]),
84614
84274
  _useState10 = _slicedToArray(_useState9, 2),
84615
- VariantCompletedObj = _useState10[0],
84616
- setVariantCompletedObj = _useState10[1];
84275
+ options_w_values = _useState10[0],
84276
+ setoptions_w_values = _useState10[1];
84277
+ var _useState11 = useState([]),
84278
+ _useState12 = _slicedToArray(_useState11, 2),
84279
+ choosen_values = _useState12[0],
84280
+ setchoosen_values = _useState12[1];
84281
+ var _useState13 = useState({}),
84282
+ _useState14 = _slicedToArray(_useState13, 2),
84283
+ VariantCompletedObj = _useState14[0],
84284
+ setVariantCompletedObj = _useState14[1];
84617
84285
  var sectionproperties = props.actions.sectionproperties;
84618
84286
  props.actions.lang;
84619
84287
  props.actions.langdetect;
84620
84288
  var foundMatchedVariantFunc = props.foundMatchedVariantFunc;
84621
- var _useState11 = useState(props.cardinfoindexprops),
84622
- _useState12 = _slicedToArray(_useState11, 2);
84623
- _useState12[0];
84624
- _useState12[1];
84625
- var _useState13 = useState({}),
84626
- _useState14 = _slicedToArray(_useState13, 2),
84627
- VariantColorImageComObj = _useState14[0],
84628
- setVariantColorImageComObj = _useState14[1];
84289
+ var _useState15 = useState(props.cardinfoindexprops),
84290
+ _useState16 = _slicedToArray(_useState15, 2);
84291
+ _useState16[0];
84292
+ _useState16[1];
84293
+ var _useState17 = useState({}),
84294
+ _useState18 = _slicedToArray(_useState17, 2),
84295
+ VariantColorImageComObj = _useState18[0],
84296
+ setVariantColorImageComObj = _useState18[1];
84629
84297
  var foundImageColorMatchingFunc = props.foundImageColorMatchingFunc;
84630
84298
  useEffect(function () {
84631
84299
  foundMatchedVariantFunc(VariantCompletedObj);
@@ -84901,12 +84569,10 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
84901
84569
  }, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
84902
84570
  "class": ' row m-0 w-100 '
84903
84571
  }, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
84904
- var _item$values5;
84905
- // if (index <= 3) {
84572
+ var _item$values5, _item$values6, _item$values7;
84906
84573
  return /*#__PURE__*/React.createElement("div", {
84907
- className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer"
84908
- }, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem) {
84909
- var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
84574
+ className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer p-sm-0"
84575
+ }, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem, valindex) {
84910
84576
  var isChoosedValueExists = false;
84911
84577
  choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
84912
84578
  if (choseitem != null) {
@@ -84915,32 +84581,48 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
84915
84581
  }
84916
84582
  }
84917
84583
  });
84918
- return /*#__PURE__*/React.createElement("div", {
84919
- style: {
84920
- textAlign: 'center'
84921
- },
84922
- "class": "mx-1"
84923
- }, /*#__PURE__*/React.createElement("button", {
84924
- onClick: function onClick() {
84925
- choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
84926
- },
84927
- style: {
84928
- // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
84929
- color: isChoosedValueExists ? '#ffffff' : '#000000',
84930
- border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
84931
- padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
84932
- cursor: valitem.disabled ? 'not-allowed' : 'pointer',
84933
- fontSize: '13px',
84934
- width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
84935
- height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
84936
- borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
84937
- background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
84938
- fontWeight: 500
84939
- },
84940
- disabled: valitem.disabled
84941
- }, (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
84942
- }));
84943
- // }
84584
+ if (valindex <= 3) {
84585
+ var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info10, _valitem$valueinfo2;
84586
+ return /*#__PURE__*/React.createElement("div", {
84587
+ style: {
84588
+ textAlign: 'center'
84589
+ },
84590
+ "class": "mx-1"
84591
+ }, /*#__PURE__*/React.createElement("button", {
84592
+ onClick: function onClick() {
84593
+ choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
84594
+ },
84595
+ style: {
84596
+ // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
84597
+ color: isChoosedValueExists ? '#ffffff' : '#000000',
84598
+ border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
84599
+ padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
84600
+ cursor: valitem.disabled ? 'not-allowed' : 'pointer',
84601
+ fontSize: '13px',
84602
+ width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
84603
+ height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
84604
+ borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
84605
+ background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
84606
+ fontWeight: 500
84607
+ },
84608
+ disabled: valitem.disabled
84609
+ }, (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
84610
+ }
84611
+ }), (item === null || item === void 0 || (_item$values6 = item.values) === null || _item$values6 === void 0 ? void 0 : _item$values6.length) > 4 && /*#__PURE__*/React.createElement("div", {
84612
+ className: "mx-1 d-flex align-items-center justify-content-center",
84613
+ style: {
84614
+ width: 25,
84615
+ height: 25,
84616
+ borderRadius: 100,
84617
+ backgroundColor: sectionproperties.activeproductcolor,
84618
+ color: '#fff',
84619
+ fontSize: '13px',
84620
+ cursor: 'pointer'
84621
+ },
84622
+ onClick: function onClick() {
84623
+ // cardonclickfunctionContext('/productinfo/' + props.actions.productid, false, '');
84624
+ }
84625
+ }, "+", (item === null || item === void 0 || (_item$values7 = item.values) === null || _item$values7 === void 0 ? void 0 : _item$values7.length) - 4));
84944
84626
  })));
84945
84627
  };
84946
84628
 
@@ -85273,14 +84955,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
85273
84955
  addtocardpayloadobj.variantid = variantObj.variantid;
85274
84956
  runfunc = true;
85275
84957
  } else {
85276
- NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
84958
+ var _authdetailsContext$i;
84959
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
85277
84960
  }
85278
84961
  } else {
85279
84962
  runfunc = true;
85280
84963
  }
85281
84964
  } else {
85282
- var _authdetailsContext$i;
85283
- NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
84965
+ NotificationManager.warning('', langdetect == 'en' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
85284
84966
  }
85285
84967
  if (runfunc == true) {
85286
84968
  AddtoCartContext(addtocardpayloadobj);
@@ -85740,7 +85422,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
85740
85422
  }, /*#__PURE__*/React.createElement(Variants_J_Cards, {
85741
85423
  actions: {
85742
85424
  sectionproperties: sectionproperties,
85743
- item: item
85425
+ item: item,
85426
+ cardonclickfunctionContext: cardonclickfunctionContext,
85427
+ productid: item.productid
85744
85428
  },
85745
85429
  foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
85746
85430
  setvariantObj(variantCompletedObj);