tabexseriescomponents 0.0.617 → 0.0.620
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.cjs.js +151 -10
- package/dist/index.esm.js +151 -10
- package/dist/index.umd.js +154 -14
- package/package.json +2 -1
package/dist/index.cjs.js
CHANGED
|
@@ -71,6 +71,7 @@ var HiUser = require('@react-icons/all-files/hi/HiUser');
|
|
|
71
71
|
var GrMail = require('@react-icons/all-files/gr/GrMail');
|
|
72
72
|
var FiCheckCircle = require('@react-icons/all-files/fi/FiCheckCircle');
|
|
73
73
|
var BiPhone = require('@react-icons/all-files/bi/BiPhone');
|
|
74
|
+
var reactPaypalJs = require('@paypal/react-paypal-js');
|
|
74
75
|
var PhoneInput = require('react-phone-input-2');
|
|
75
76
|
var BsChevronLeft = require('@react-icons/all-files/bs/BsChevronLeft');
|
|
76
77
|
var BsChevronRight = require('@react-icons/all-files/bs/BsChevronRight');
|
|
@@ -10124,6 +10125,75 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
10124
10125
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
10125
10126
|
styleInject(css_248z$G);
|
|
10126
10127
|
|
|
10128
|
+
var PayPalComponent = function PayPalComponent(props) {
|
|
10129
|
+
var _ref, _ref2;
|
|
10130
|
+
var createOrder = function createOrder() {
|
|
10131
|
+
return (_ref = _ref || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
10132
|
+
var response, data;
|
|
10133
|
+
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
10134
|
+
while (1) switch (_context.prev = _context.next) {
|
|
10135
|
+
case 0:
|
|
10136
|
+
_context.next = 2;
|
|
10137
|
+
return fetch('https://api.tabexseries.com/paypal/create', {
|
|
10138
|
+
method: 'POST',
|
|
10139
|
+
headers: {
|
|
10140
|
+
'Content-Type': 'application/json'
|
|
10141
|
+
},
|
|
10142
|
+
body: JSON.stringify({
|
|
10143
|
+
/* Add any necessary data */
|
|
10144
|
+
})
|
|
10145
|
+
});
|
|
10146
|
+
case 2:
|
|
10147
|
+
response = _context.sent;
|
|
10148
|
+
_context.next = 5;
|
|
10149
|
+
return response.json();
|
|
10150
|
+
case 5:
|
|
10151
|
+
data = _context.sent;
|
|
10152
|
+
return _context.abrupt("return", data.id);
|
|
10153
|
+
case 7:
|
|
10154
|
+
case "end":
|
|
10155
|
+
return _context.stop();
|
|
10156
|
+
}
|
|
10157
|
+
}, _callee);
|
|
10158
|
+
}))).apply(this, arguments);
|
|
10159
|
+
};
|
|
10160
|
+
var onApprove = function onApprove(_x) {
|
|
10161
|
+
return (_ref2 = _ref2 || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(data) {
|
|
10162
|
+
var response, result;
|
|
10163
|
+
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
|
|
10164
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
10165
|
+
case 0:
|
|
10166
|
+
_context2.next = 2;
|
|
10167
|
+
return fetch("https://api.tabexseries.com/paypal/execute?paymentId=".concat(data.orderID, "&PayerID=").concat(data.payerID), {
|
|
10168
|
+
method: 'GET',
|
|
10169
|
+
headers: {
|
|
10170
|
+
'Content-Type': 'application/json'
|
|
10171
|
+
}
|
|
10172
|
+
});
|
|
10173
|
+
case 2:
|
|
10174
|
+
response = _context2.sent;
|
|
10175
|
+
_context2.next = 5;
|
|
10176
|
+
return response.json();
|
|
10177
|
+
case 5:
|
|
10178
|
+
result = _context2.sent;
|
|
10179
|
+
console.log(result);
|
|
10180
|
+
case 7:
|
|
10181
|
+
case "end":
|
|
10182
|
+
return _context2.stop();
|
|
10183
|
+
}
|
|
10184
|
+
}, _callee2);
|
|
10185
|
+
}))).apply(this, arguments);
|
|
10186
|
+
};
|
|
10187
|
+
return /*#__PURE__*/React__default["default"].createElement(reactPaypalJs.PayPalScriptProvider, {
|
|
10188
|
+
options: {
|
|
10189
|
+
'client-id': props.puppd
|
|
10190
|
+
}
|
|
10191
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactPaypalJs.PayPalButtons, {
|
|
10192
|
+
createOrder: createOrder,
|
|
10193
|
+
onApprove: onApprove
|
|
10194
|
+
}));
|
|
10195
|
+
};
|
|
10196
|
+
|
|
10127
10197
|
function ownKeys$2l(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; }
|
|
10128
10198
|
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10129
10199
|
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
@@ -11409,7 +11479,11 @@ var Checkout = function Checkout(props) {
|
|
|
11409
11479
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
11410
11480
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11411
11481
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11412
|
-
}, " ", lang.onlinepayment))), authdetailsContext.instinfo.
|
|
11482
|
+
}, " ", lang.onlinepayment))), authdetailsContext.instinfo.acceptonlinePaypal == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11483
|
+
className: "col-xl-12 col-lg-12 col-md-12 mb-3"
|
|
11484
|
+
}, /*#__PURE__*/React__default["default"].createElement(PayPalComponent, {
|
|
11485
|
+
puppd: authdetailsContext.instinfo.puppd
|
|
11486
|
+
})), authdetailsContext.instinfo.acceptValuCard == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11413
11487
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
11414
11488
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11415
11489
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -29556,6 +29630,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
29556
29630
|
height: '40px',
|
|
29557
29631
|
cursor: 'pointer'
|
|
29558
29632
|
}
|
|
29633
|
+
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
29634
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29635
|
+
target: '_self',
|
|
29636
|
+
style: {
|
|
29637
|
+
position: 'fixed',
|
|
29638
|
+
bottom: 60,
|
|
29639
|
+
right: 10,
|
|
29640
|
+
zIndex: 999999,
|
|
29641
|
+
transition: 'all 0.3s ease-out'
|
|
29642
|
+
}
|
|
29643
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29644
|
+
"class": 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'
|
|
29645
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
29646
|
+
size: 30,
|
|
29647
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
29648
|
+
style: {
|
|
29649
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29650
|
+
}
|
|
29559
29651
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29560
29652
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29561
29653
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41619,6 +41711,23 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41619
41711
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41620
41712
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41621
41713
|
}
|
|
41714
|
+
}),
|
|
41715
|
+
floatingbtn: glamor.css({
|
|
41716
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41717
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41718
|
+
background: sectionproperties.floatingbtnbg,
|
|
41719
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41720
|
+
color: sectionproperties.floatingbtncolor,
|
|
41721
|
+
borderRadius: 10,
|
|
41722
|
+
':hover': {
|
|
41723
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
41724
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41725
|
+
transitions: '.3s',
|
|
41726
|
+
cursor: 'pointer'
|
|
41727
|
+
},
|
|
41728
|
+
'@media (max-width: 800px)': {
|
|
41729
|
+
width: '50%'
|
|
41730
|
+
}
|
|
41622
41731
|
})
|
|
41623
41732
|
};
|
|
41624
41733
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41643,7 +41752,25 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41643
41752
|
height: '40px',
|
|
41644
41753
|
cursor: 'pointer'
|
|
41645
41754
|
}
|
|
41646
|
-
})), sectionproperties.
|
|
41755
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41756
|
+
style: {
|
|
41757
|
+
position: 'fixed',
|
|
41758
|
+
bottom: 15,
|
|
41759
|
+
right: 15,
|
|
41760
|
+
zIndex: 999999,
|
|
41761
|
+
transition: 'all 0.3s ease-out',
|
|
41762
|
+
width: '100%'
|
|
41763
|
+
},
|
|
41764
|
+
"class": "text-end"
|
|
41765
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41766
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
41767
|
+
style: {},
|
|
41768
|
+
onClick: function onClick() {
|
|
41769
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
41770
|
+
}
|
|
41771
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41772
|
+
"class": "m-0 p-0"
|
|
41773
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
41647
41774
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41648
41775
|
target: '_self',
|
|
41649
41776
|
style: {
|
|
@@ -47220,7 +47347,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
47220
47347
|
function ownKeys$1r(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; }
|
|
47221
47348
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47222
47349
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47223
|
-
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
47350
|
+
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
47224
47351
|
var _useState = React.useState(''),
|
|
47225
47352
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
47226
47353
|
sectionproperties = _useState2[0],
|
|
@@ -47784,6 +47911,17 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47784
47911
|
}
|
|
47785
47912
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47786
47913
|
size: sectionproperties.youtubebtniconfontsize
|
|
47914
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47915
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
47916
|
+
onClick: function onClick() {
|
|
47917
|
+
var _authdetailsContext$i25;
|
|
47918
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null) {
|
|
47919
|
+
var _authdetailsContext$i26;
|
|
47920
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink, '_blank');
|
|
47921
|
+
}
|
|
47922
|
+
}
|
|
47923
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
47924
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
47787
47925
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47788
47926
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47789
47927
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47799,15 +47937,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47799
47937
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
47800
47938
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47801
47939
|
onClick: function onClick() {
|
|
47802
|
-
var _authdetailsContext$
|
|
47803
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47940
|
+
var _authdetailsContext$i27;
|
|
47941
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_appstore, '_blank');
|
|
47804
47942
|
}
|
|
47805
47943
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47806
47944
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47807
47945
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47808
47946
|
onClick: function onClick() {
|
|
47809
|
-
var _authdetailsContext$
|
|
47810
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47947
|
+
var _authdetailsContext$i28;
|
|
47948
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_playstore, '_blank');
|
|
47811
47949
|
}
|
|
47812
47950
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47813
47951
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -49090,7 +49228,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49090
49228
|
if (cardsarray.length == 0) {
|
|
49091
49229
|
if (fetchingtype == 'collections') {
|
|
49092
49230
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49093
|
-
|
|
49231
|
+
var _fetchcollectionsQuer;
|
|
49232
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections);
|
|
49094
49233
|
}
|
|
49095
49234
|
} else if (fetchingtype == 'products') {
|
|
49096
49235
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -49140,7 +49279,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49140
49279
|
React.useEffect(function () {
|
|
49141
49280
|
if (fetchingtype == 'collections') {
|
|
49142
49281
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49143
|
-
|
|
49282
|
+
var _fetchcollectionsQuer2;
|
|
49283
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer2 = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer2 === void 0 || (_fetchcollectionsQuer2 = _fetchcollectionsQuer2.data) === null || _fetchcollectionsQuer2 === void 0 ? void 0 : _fetchcollectionsQuer2.collections);
|
|
49144
49284
|
}
|
|
49145
49285
|
}
|
|
49146
49286
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49193,7 +49333,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49193
49333
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49194
49334
|
}
|
|
49195
49335
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49196
|
-
|
|
49336
|
+
var _fetchcustomercartQue;
|
|
49337
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || _fetchcustomercartQue.cartitems.forEach(function (cartitem, cartindex) {
|
|
49197
49338
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49198
49339
|
itemquantity = cartitem.quantity;
|
|
49199
49340
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -69,6 +69,7 @@ import { HiUser } from '@react-icons/all-files/hi/HiUser';
|
|
|
69
69
|
import { GrMail } from '@react-icons/all-files/gr/GrMail';
|
|
70
70
|
import { FiCheckCircle } from '@react-icons/all-files/fi/FiCheckCircle';
|
|
71
71
|
import { BiPhone } from '@react-icons/all-files/bi/BiPhone';
|
|
72
|
+
import { PayPalScriptProvider, PayPalButtons } from '@paypal/react-paypal-js';
|
|
72
73
|
import PhoneInput from 'react-phone-input-2';
|
|
73
74
|
import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
|
|
74
75
|
import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
|
|
@@ -10075,6 +10076,75 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
10075
10076
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
10076
10077
|
styleInject(css_248z$G);
|
|
10077
10078
|
|
|
10079
|
+
var PayPalComponent = function PayPalComponent(props) {
|
|
10080
|
+
var _ref, _ref2;
|
|
10081
|
+
var createOrder = function createOrder() {
|
|
10082
|
+
return (_ref = _ref || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
10083
|
+
var response, data;
|
|
10084
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
10085
|
+
while (1) switch (_context.prev = _context.next) {
|
|
10086
|
+
case 0:
|
|
10087
|
+
_context.next = 2;
|
|
10088
|
+
return fetch('https://api.tabexseries.com/paypal/create', {
|
|
10089
|
+
method: 'POST',
|
|
10090
|
+
headers: {
|
|
10091
|
+
'Content-Type': 'application/json'
|
|
10092
|
+
},
|
|
10093
|
+
body: JSON.stringify({
|
|
10094
|
+
/* Add any necessary data */
|
|
10095
|
+
})
|
|
10096
|
+
});
|
|
10097
|
+
case 2:
|
|
10098
|
+
response = _context.sent;
|
|
10099
|
+
_context.next = 5;
|
|
10100
|
+
return response.json();
|
|
10101
|
+
case 5:
|
|
10102
|
+
data = _context.sent;
|
|
10103
|
+
return _context.abrupt("return", data.id);
|
|
10104
|
+
case 7:
|
|
10105
|
+
case "end":
|
|
10106
|
+
return _context.stop();
|
|
10107
|
+
}
|
|
10108
|
+
}, _callee);
|
|
10109
|
+
}))).apply(this, arguments);
|
|
10110
|
+
};
|
|
10111
|
+
var onApprove = function onApprove(_x) {
|
|
10112
|
+
return (_ref2 = _ref2 || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
|
|
10113
|
+
var response, result;
|
|
10114
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
10115
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
10116
|
+
case 0:
|
|
10117
|
+
_context2.next = 2;
|
|
10118
|
+
return fetch("https://api.tabexseries.com/paypal/execute?paymentId=".concat(data.orderID, "&PayerID=").concat(data.payerID), {
|
|
10119
|
+
method: 'GET',
|
|
10120
|
+
headers: {
|
|
10121
|
+
'Content-Type': 'application/json'
|
|
10122
|
+
}
|
|
10123
|
+
});
|
|
10124
|
+
case 2:
|
|
10125
|
+
response = _context2.sent;
|
|
10126
|
+
_context2.next = 5;
|
|
10127
|
+
return response.json();
|
|
10128
|
+
case 5:
|
|
10129
|
+
result = _context2.sent;
|
|
10130
|
+
console.log(result);
|
|
10131
|
+
case 7:
|
|
10132
|
+
case "end":
|
|
10133
|
+
return _context2.stop();
|
|
10134
|
+
}
|
|
10135
|
+
}, _callee2);
|
|
10136
|
+
}))).apply(this, arguments);
|
|
10137
|
+
};
|
|
10138
|
+
return /*#__PURE__*/React.createElement(PayPalScriptProvider, {
|
|
10139
|
+
options: {
|
|
10140
|
+
'client-id': props.puppd
|
|
10141
|
+
}
|
|
10142
|
+
}, /*#__PURE__*/React.createElement(PayPalButtons, {
|
|
10143
|
+
createOrder: createOrder,
|
|
10144
|
+
onApprove: onApprove
|
|
10145
|
+
}));
|
|
10146
|
+
};
|
|
10147
|
+
|
|
10078
10148
|
function ownKeys$2l(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; }
|
|
10079
10149
|
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10080
10150
|
var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
@@ -11360,7 +11430,11 @@ var Checkout = function Checkout(props) {
|
|
|
11360
11430
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
11361
11431
|
})), /*#__PURE__*/React.createElement("p", {
|
|
11362
11432
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11363
|
-
}, " ", lang.onlinepayment))), authdetailsContext.instinfo.
|
|
11433
|
+
}, " ", lang.onlinepayment))), authdetailsContext.instinfo.acceptonlinePaypal == 1 && /*#__PURE__*/React.createElement("div", {
|
|
11434
|
+
className: "col-xl-12 col-lg-12 col-md-12 mb-3"
|
|
11435
|
+
}, /*#__PURE__*/React.createElement(PayPalComponent, {
|
|
11436
|
+
puppd: authdetailsContext.instinfo.puppd
|
|
11437
|
+
})), authdetailsContext.instinfo.acceptValuCard == 1 && /*#__PURE__*/React.createElement("div", {
|
|
11364
11438
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
11365
11439
|
}, /*#__PURE__*/React.createElement("label", {
|
|
11366
11440
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -29507,6 +29581,24 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
29507
29581
|
height: '40px',
|
|
29508
29582
|
cursor: 'pointer'
|
|
29509
29583
|
}
|
|
29584
|
+
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
29585
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29586
|
+
target: '_self',
|
|
29587
|
+
style: {
|
|
29588
|
+
position: 'fixed',
|
|
29589
|
+
bottom: 60,
|
|
29590
|
+
right: 10,
|
|
29591
|
+
zIndex: 999999,
|
|
29592
|
+
transition: 'all 0.3s ease-out'
|
|
29593
|
+
}
|
|
29594
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
29595
|
+
"class": 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'
|
|
29596
|
+
}, /*#__PURE__*/React.createElement(FiPhone, {
|
|
29597
|
+
size: 30,
|
|
29598
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
29599
|
+
style: {
|
|
29600
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29601
|
+
}
|
|
29510
29602
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
29511
29603
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29512
29604
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -41570,6 +41662,23 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41570
41662
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41571
41663
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41572
41664
|
}
|
|
41665
|
+
}),
|
|
41666
|
+
floatingbtn: css({
|
|
41667
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41668
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41669
|
+
background: sectionproperties.floatingbtnbg,
|
|
41670
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41671
|
+
color: sectionproperties.floatingbtncolor,
|
|
41672
|
+
borderRadius: 10,
|
|
41673
|
+
':hover': {
|
|
41674
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
41675
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41676
|
+
transitions: '.3s',
|
|
41677
|
+
cursor: 'pointer'
|
|
41678
|
+
},
|
|
41679
|
+
'@media (max-width: 800px)': {
|
|
41680
|
+
width: '50%'
|
|
41681
|
+
}
|
|
41573
41682
|
})
|
|
41574
41683
|
};
|
|
41575
41684
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -41594,7 +41703,25 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
41594
41703
|
height: '40px',
|
|
41595
41704
|
cursor: 'pointer'
|
|
41596
41705
|
}
|
|
41597
|
-
})), sectionproperties.
|
|
41706
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41707
|
+
style: {
|
|
41708
|
+
position: 'fixed',
|
|
41709
|
+
bottom: 15,
|
|
41710
|
+
right: 15,
|
|
41711
|
+
zIndex: 999999,
|
|
41712
|
+
transition: 'all 0.3s ease-out',
|
|
41713
|
+
width: '100%'
|
|
41714
|
+
},
|
|
41715
|
+
"class": "text-end"
|
|
41716
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41717
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
41718
|
+
style: {},
|
|
41719
|
+
onClick: function onClick() {
|
|
41720
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
41721
|
+
}
|
|
41722
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41723
|
+
"class": "m-0 p-0"
|
|
41724
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
41598
41725
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41599
41726
|
target: '_self',
|
|
41600
41727
|
style: {
|
|
@@ -47171,7 +47298,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
47171
47298
|
function ownKeys$1r(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; }
|
|
47172
47299
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47173
47300
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47174
|
-
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
47301
|
+
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
47175
47302
|
var _useState = useState(''),
|
|
47176
47303
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47177
47304
|
sectionproperties = _useState2[0],
|
|
@@ -47735,6 +47862,17 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47735
47862
|
}
|
|
47736
47863
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
47737
47864
|
size: sectionproperties.youtubebtniconfontsize
|
|
47865
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.googlemapslink) != null && /*#__PURE__*/React.createElement("p", {
|
|
47866
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
47867
|
+
onClick: function onClick() {
|
|
47868
|
+
var _authdetailsContext$i25;
|
|
47869
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null) {
|
|
47870
|
+
var _authdetailsContext$i26;
|
|
47871
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink, '_blank');
|
|
47872
|
+
}
|
|
47873
|
+
}
|
|
47874
|
+
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
47875
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
47738
47876
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47739
47877
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47740
47878
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -47750,15 +47888,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
47750
47888
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
47751
47889
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47752
47890
|
onClick: function onClick() {
|
|
47753
|
-
var _authdetailsContext$
|
|
47754
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47891
|
+
var _authdetailsContext$i27;
|
|
47892
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_appstore, '_blank');
|
|
47755
47893
|
}
|
|
47756
47894
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React.createElement("img", {
|
|
47757
47895
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47758
47896
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47759
47897
|
onClick: function onClick() {
|
|
47760
|
-
var _authdetailsContext$
|
|
47761
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47898
|
+
var _authdetailsContext$i28;
|
|
47899
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_playstore, '_blank');
|
|
47762
47900
|
}
|
|
47763
47901
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
47764
47902
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -49041,7 +49179,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49041
49179
|
if (cardsarray.length == 0) {
|
|
49042
49180
|
if (fetchingtype == 'collections') {
|
|
49043
49181
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49044
|
-
|
|
49182
|
+
var _fetchcollectionsQuer;
|
|
49183
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections);
|
|
49045
49184
|
}
|
|
49046
49185
|
} else if (fetchingtype == 'products') {
|
|
49047
49186
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -49091,7 +49230,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49091
49230
|
useEffect(function () {
|
|
49092
49231
|
if (fetchingtype == 'collections') {
|
|
49093
49232
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
49094
|
-
|
|
49233
|
+
var _fetchcollectionsQuer2;
|
|
49234
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer2 = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer2 === void 0 || (_fetchcollectionsQuer2 = _fetchcollectionsQuer2.data) === null || _fetchcollectionsQuer2 === void 0 ? void 0 : _fetchcollectionsQuer2.collections);
|
|
49095
49235
|
}
|
|
49096
49236
|
}
|
|
49097
49237
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49144,7 +49284,8 @@ var Sixverticalcardssection = function Sixverticalcardssection(props) {
|
|
|
49144
49284
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49145
49285
|
}
|
|
49146
49286
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49147
|
-
|
|
49287
|
+
var _fetchcustomercartQue;
|
|
49288
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || _fetchcustomercartQue.cartitems.forEach(function (cartitem, cartindex) {
|
|
49148
49289
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49149
49290
|
itemquantity = cartitem.quantity;
|
|
49150
49291
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('@mui/system'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', '@mui/system', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox$1, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.HiOutlinePlusCircle, null, global.TextareaAutosize, null, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.BsChevronDown, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.RiUserSettingsLine, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.BiUserCircle, global.GoLocation, global.FaLinkedinIn, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.GoStar, global.IoIosStar, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox$1, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, system, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, BsChevronDown, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, RiUserSettingsLine, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, BiUserCircle, GoLocation, FaLinkedinIn, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, GoStar, IoIosStar, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('@mui/system'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('@paypal/react-paypal-js'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', '@mui/system', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', '@paypal/react-paypal-js', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox$1, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.HiOutlinePlusCircle, null, global.TextareaAutosize, null, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.reactPaypalJs, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.BsChevronDown, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.RiUserSettingsLine, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.BiUserCircle, global.GoLocation, global.FaLinkedinIn, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.GoStar, global.IoIosStar, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox$1, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, system, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, reactPaypalJs, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, BsChevronDown, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, RiUserSettingsLine, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, BiUserCircle, GoLocation, FaLinkedinIn, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, GoStar, IoIosStar, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -9948,6 +9948,75 @@
|
|
|
9948
9948
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
9949
9949
|
styleInject(css_248z$G);
|
|
9950
9950
|
|
|
9951
|
+
var PayPalComponent = function PayPalComponent(props) {
|
|
9952
|
+
var _ref, _ref2;
|
|
9953
|
+
var createOrder = function createOrder() {
|
|
9954
|
+
return (_ref = _ref || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
9955
|
+
var response, data;
|
|
9956
|
+
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
9957
|
+
while (1) switch (_context.prev = _context.next) {
|
|
9958
|
+
case 0:
|
|
9959
|
+
_context.next = 2;
|
|
9960
|
+
return fetch('https://api.tabexseries.com/paypal/create', {
|
|
9961
|
+
method: 'POST',
|
|
9962
|
+
headers: {
|
|
9963
|
+
'Content-Type': 'application/json'
|
|
9964
|
+
},
|
|
9965
|
+
body: JSON.stringify({
|
|
9966
|
+
/* Add any necessary data */
|
|
9967
|
+
})
|
|
9968
|
+
});
|
|
9969
|
+
case 2:
|
|
9970
|
+
response = _context.sent;
|
|
9971
|
+
_context.next = 5;
|
|
9972
|
+
return response.json();
|
|
9973
|
+
case 5:
|
|
9974
|
+
data = _context.sent;
|
|
9975
|
+
return _context.abrupt("return", data.id);
|
|
9976
|
+
case 7:
|
|
9977
|
+
case "end":
|
|
9978
|
+
return _context.stop();
|
|
9979
|
+
}
|
|
9980
|
+
}, _callee);
|
|
9981
|
+
}))).apply(this, arguments);
|
|
9982
|
+
};
|
|
9983
|
+
var onApprove = function onApprove(_x) {
|
|
9984
|
+
return (_ref2 = _ref2 || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(data) {
|
|
9985
|
+
var response, result;
|
|
9986
|
+
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
|
|
9987
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
9988
|
+
case 0:
|
|
9989
|
+
_context2.next = 2;
|
|
9990
|
+
return fetch("https://api.tabexseries.com/paypal/execute?paymentId=".concat(data.orderID, "&PayerID=").concat(data.payerID), {
|
|
9991
|
+
method: 'GET',
|
|
9992
|
+
headers: {
|
|
9993
|
+
'Content-Type': 'application/json'
|
|
9994
|
+
}
|
|
9995
|
+
});
|
|
9996
|
+
case 2:
|
|
9997
|
+
response = _context2.sent;
|
|
9998
|
+
_context2.next = 5;
|
|
9999
|
+
return response.json();
|
|
10000
|
+
case 5:
|
|
10001
|
+
result = _context2.sent;
|
|
10002
|
+
console.log(result);
|
|
10003
|
+
case 7:
|
|
10004
|
+
case "end":
|
|
10005
|
+
return _context2.stop();
|
|
10006
|
+
}
|
|
10007
|
+
}, _callee2);
|
|
10008
|
+
}))).apply(this, arguments);
|
|
10009
|
+
};
|
|
10010
|
+
return /*#__PURE__*/React__default["default"].createElement(reactPaypalJs.PayPalScriptProvider, {
|
|
10011
|
+
options: {
|
|
10012
|
+
'client-id': props.puppd
|
|
10013
|
+
}
|
|
10014
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactPaypalJs.PayPalButtons, {
|
|
10015
|
+
createOrder: createOrder,
|
|
10016
|
+
onApprove: onApprove
|
|
10017
|
+
}));
|
|
10018
|
+
};
|
|
10019
|
+
|
|
9951
10020
|
function ownKeys$2l(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; }
|
|
9952
10021
|
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9953
10022
|
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
@@ -11233,7 +11302,11 @@
|
|
|
11233
11302
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
11234
11303
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11235
11304
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
11236
|
-
}, " ", lang.onlinepayment))), authdetailsContext.instinfo.
|
|
11305
|
+
}, " ", lang.onlinepayment))), authdetailsContext.instinfo.acceptonlinePaypal == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11306
|
+
className: "col-xl-12 col-lg-12 col-md-12 mb-3"
|
|
11307
|
+
}, /*#__PURE__*/React__default["default"].createElement(PayPalComponent, {
|
|
11308
|
+
puppd: authdetailsContext.instinfo.puppd
|
|
11309
|
+
})), authdetailsContext.instinfo.acceptValuCard == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11237
11310
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
11238
11311
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
11239
11312
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -29380,6 +29453,24 @@
|
|
|
29380
29453
|
height: '40px',
|
|
29381
29454
|
cursor: 'pointer'
|
|
29382
29455
|
}
|
|
29456
|
+
}))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
29457
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29458
|
+
target: '_self',
|
|
29459
|
+
style: {
|
|
29460
|
+
position: 'fixed',
|
|
29461
|
+
bottom: 60,
|
|
29462
|
+
right: 10,
|
|
29463
|
+
zIndex: 999999,
|
|
29464
|
+
transition: 'all 0.3s ease-out'
|
|
29465
|
+
}
|
|
29466
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29467
|
+
"class": 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'
|
|
29468
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
29469
|
+
size: 30,
|
|
29470
|
+
color: sectionproperties.uppersection_iconcolor,
|
|
29471
|
+
style: {
|
|
29472
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
29473
|
+
}
|
|
29383
29474
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29384
29475
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
29385
29476
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41443,6 +41534,23 @@
|
|
|
41443
41534
|
backgroundColor: sectionproperties.closeSliderBgColorHover,
|
|
41444
41535
|
color: sectionproperties.closeSlider_colorOnHover
|
|
41445
41536
|
}
|
|
41537
|
+
}),
|
|
41538
|
+
floatingbtn: glamor.css({
|
|
41539
|
+
width: sectionproperties.floatingbtnwidth + '%',
|
|
41540
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
41541
|
+
background: sectionproperties.floatingbtnbg,
|
|
41542
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
41543
|
+
color: sectionproperties.floatingbtncolor,
|
|
41544
|
+
borderRadius: 10,
|
|
41545
|
+
':hover': {
|
|
41546
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
41547
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
41548
|
+
transitions: '.3s',
|
|
41549
|
+
cursor: 'pointer'
|
|
41550
|
+
},
|
|
41551
|
+
'@media (max-width: 800px)': {
|
|
41552
|
+
width: '50%'
|
|
41553
|
+
}
|
|
41446
41554
|
})
|
|
41447
41555
|
};
|
|
41448
41556
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41467,7 +41575,25 @@
|
|
|
41467
41575
|
height: '40px',
|
|
41468
41576
|
cursor: 'pointer'
|
|
41469
41577
|
}
|
|
41470
|
-
})), sectionproperties.
|
|
41578
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41579
|
+
style: {
|
|
41580
|
+
position: 'fixed',
|
|
41581
|
+
bottom: 15,
|
|
41582
|
+
right: 15,
|
|
41583
|
+
zIndex: 999999,
|
|
41584
|
+
transition: 'all 0.3s ease-out',
|
|
41585
|
+
width: '100%'
|
|
41586
|
+
},
|
|
41587
|
+
"class": "text-end"
|
|
41588
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41589
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
41590
|
+
style: {},
|
|
41591
|
+
onClick: function onClick() {
|
|
41592
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
41593
|
+
}
|
|
41594
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41595
|
+
"class": "m-0 p-0"
|
|
41596
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
41471
41597
|
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
41472
41598
|
target: '_self',
|
|
41473
41599
|
style: {
|
|
@@ -47044,7 +47170,7 @@
|
|
|
47044
47170
|
function ownKeys$1r(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; }
|
|
47045
47171
|
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47046
47172
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
47047
|
-
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
47173
|
+
var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i24;
|
|
47048
47174
|
var _useState = React.useState(''),
|
|
47049
47175
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
47050
47176
|
sectionproperties = _useState2[0],
|
|
@@ -47608,6 +47734,17 @@
|
|
|
47608
47734
|
}
|
|
47609
47735
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
47610
47736
|
size: sectionproperties.youtubebtniconfontsize
|
|
47737
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
47738
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
47739
|
+
onClick: function onClick() {
|
|
47740
|
+
var _authdetailsContext$i25;
|
|
47741
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.googlemapslink) != null) {
|
|
47742
|
+
var _authdetailsContext$i26;
|
|
47743
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.googlemapslink, '_blank');
|
|
47744
|
+
}
|
|
47745
|
+
}
|
|
47746
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
47747
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
47611
47748
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47612
47749
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
47613
47750
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -47623,15 +47760,15 @@
|
|
|
47623
47760
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
47624
47761
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
47625
47762
|
onClick: function onClick() {
|
|
47626
|
-
var _authdetailsContext$
|
|
47627
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47763
|
+
var _authdetailsContext$i27;
|
|
47764
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_appstore, '_blank');
|
|
47628
47765
|
}
|
|
47629
47766
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
47630
47767
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
47631
47768
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
47632
47769
|
onClick: function onClick() {
|
|
47633
|
-
var _authdetailsContext$
|
|
47634
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
47770
|
+
var _authdetailsContext$i28;
|
|
47771
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.mobileapplink_playstore, '_blank');
|
|
47635
47772
|
}
|
|
47636
47773
|
})))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47637
47774
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
@@ -48914,7 +49051,8 @@
|
|
|
48914
49051
|
if (cardsarray.length == 0) {
|
|
48915
49052
|
if (fetchingtype == 'collections') {
|
|
48916
49053
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
48917
|
-
|
|
49054
|
+
var _fetchcollectionsQuer;
|
|
49055
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections);
|
|
48918
49056
|
}
|
|
48919
49057
|
} else if (fetchingtype == 'products') {
|
|
48920
49058
|
if (fetchProductsQuery.isSuccess) {
|
|
@@ -48964,7 +49102,8 @@
|
|
|
48964
49102
|
React.useEffect(function () {
|
|
48965
49103
|
if (fetchingtype == 'collections') {
|
|
48966
49104
|
if (fetchcollectionsQueryContext.isSuccess) {
|
|
48967
|
-
|
|
49105
|
+
var _fetchcollectionsQuer2;
|
|
49106
|
+
cardobjassigner(fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer2 = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer2 === void 0 || (_fetchcollectionsQuer2 = _fetchcollectionsQuer2.data) === null || _fetchcollectionsQuer2 === void 0 ? void 0 : _fetchcollectionsQuer2.collections);
|
|
48968
49107
|
}
|
|
48969
49108
|
}
|
|
48970
49109
|
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
@@ -49017,7 +49156,8 @@
|
|
|
49017
49156
|
cardobj.shortdescription = arrayItem.short_description_ar;
|
|
49018
49157
|
}
|
|
49019
49158
|
if (arrayItem.productinfo.hasvariants == 0) {
|
|
49020
|
-
|
|
49159
|
+
var _fetchcustomercartQue;
|
|
49160
|
+
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || _fetchcustomercartQue.cartitems.forEach(function (cartitem, cartindex) {
|
|
49021
49161
|
if (cartitem.productid == arrayItem.productinfo.productid) {
|
|
49022
49162
|
itemquantity = cartitem.quantity;
|
|
49023
49163
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tabexseriescomponents",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.620",
|
|
4
4
|
"description": "your description",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"@emotion/styled": "^11.10.5",
|
|
14
14
|
"@mui/material": "^5.11.1",
|
|
15
15
|
"@mui/system": "^5.11.1",
|
|
16
|
+
"@paypal/react-paypal-js": "^8.7.0",
|
|
16
17
|
"@react-icons/all-files": "^4.1.0",
|
|
17
18
|
"@react-oauth/google": "^0.2.6",
|
|
18
19
|
"@rollup/plugin-node-resolve": "^13.3.0",
|