diy-template-components 0.1.41 → 0.2.1

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/build/index.js CHANGED
@@ -20,6 +20,7 @@ var Slider = require('react-slick');
20
20
  var axios = require('axios');
21
21
  var moment = require('moment');
22
22
  var Countdown = require('react-countdown');
23
+ var ReactDOMServer = require('react-dom/server');
23
24
  var reactJss = require('react-jss');
24
25
 
25
26
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -29,6 +30,7 @@ var Slider__default = /*#__PURE__*/_interopDefaultLegacy(Slider);
29
30
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
30
31
  var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
31
32
  var Countdown__default = /*#__PURE__*/_interopDefaultLegacy(Countdown);
33
+ var ReactDOMServer__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOMServer);
32
34
 
33
35
  function _extends() {
34
36
  _extends = Object.assign || function (target) {
@@ -516,7 +518,11 @@ const Button = /*#__PURE__*/React.forwardRef(function Button({
516
518
  style: styling
517
519
  }, elementProps, {
518
520
  disabled: disabled
519
- }), data?.value);
521
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
522
+ dangerouslySetInnerHTML: {
523
+ __html: data?.value
524
+ }
525
+ }));
520
526
  });
521
527
 
522
528
  var liveTv = "data:image/svg+xml,%3Csvg%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M40.2727%2012.4H26.1277L32.2591%206.3135L30.9545%205L23.5%2012.4L16.0455%205L14.7223%206.3135L20.8723%2012.4H6.72727C4.67727%2012.4%203%2014.0465%203%2016.1V38.3C3%2040.335%204.67727%2042%206.72727%2042H40.2727C42.3227%2042%2044%2040.335%2044%2038.3V16.1C44%2014.0465%2042.3227%2012.4%2040.2727%2012.4ZM40.2727%2038.3H6.72727V16.1H40.2727V38.3ZM17.9091%2019.8V34.6L30.9545%2027.2L17.9091%2019.8Z%22%20fill%3D%22%23549BF6%22%2F%3E%3C%2Fsvg%3E";
@@ -643,7 +649,7 @@ var bookSaved = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%2
643
649
 
644
650
  var certificate = "data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2214%22%20viewBox%3D%220%200%2012%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%200H1.5C0.675%200%200%200.63%200%201.4V12.6C0%2013.37%200.675%2014%201.5%2014H10.5C11.325%2014%2012%2013.37%2012%2012.6V1.4C12%200.63%2011.325%200%2010.5%200ZM1.5%201.4H5.25V7L3.375%205.95L1.5%207V1.4Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
645
651
 
646
- var calendar = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.5627%202.67V1.5C12.5627%201.1925%2012.3077%200.9375%2012.0002%200.9375C11.6927%200.9375%2011.4377%201.1925%2011.4377%201.5V2.625H6.56267V1.5C6.56267%201.1925%206.30767%200.9375%206.00017%200.9375C5.69267%200.9375%205.43767%201.1925%205.43767%201.5V2.67C3.41267%202.8575%202.43017%204.065%202.28017%205.8575C2.26517%206.075%202.44517%206.255%202.65517%206.255H15.3452C15.5627%206.255%2015.7427%206.0675%2015.7202%205.8575C15.5702%204.065%2014.5877%202.8575%2012.5627%202.67Z%22%20fill%3D%22%234E93FF%22%2F%3E%3Cpath%20d%3D%22M15%207.38086H3C2.5875%207.38086%202.25%207.71836%202.25%208.13086V12.7509C2.25%2015.0009%203.375%2016.5009%206%2016.5009H12C14.625%2016.5009%2015.75%2015.0009%2015.75%2012.7509V8.13086C15.75%207.71836%2015.4125%207.38086%2015%207.38086ZM6.9075%2013.6584C6.87%2013.6884%206.8325%2013.7259%206.795%2013.7484C6.75%2013.7784%206.705%2013.8009%206.66%2013.8159C6.615%2013.8384%206.57%2013.8534%206.525%2013.8609C6.4725%2013.8684%206.4275%2013.8759%206.375%2013.8759C6.2775%2013.8759%206.18%2013.8534%206.09%2013.8159C5.9925%2013.7784%205.9175%2013.7259%205.8425%2013.6584C5.7075%2013.5159%205.625%2013.3209%205.625%2013.1259C5.625%2012.9309%205.7075%2012.7359%205.8425%2012.5934C5.9175%2012.5259%205.9925%2012.4734%206.09%2012.4359C6.225%2012.3759%206.375%2012.3609%206.525%2012.3909C6.57%2012.3984%206.615%2012.4134%206.66%2012.4359C6.705%2012.4509%206.75%2012.4734%206.795%2012.5034C6.8325%2012.5334%206.87%2012.5634%206.9075%2012.5934C7.0425%2012.7359%207.125%2012.9309%207.125%2013.1259C7.125%2013.3209%207.0425%2013.5159%206.9075%2013.6584ZM6.9075%2011.0334C6.765%2011.1684%206.57%2011.2509%206.375%2011.2509C6.18%2011.2509%205.985%2011.1684%205.8425%2011.0334C5.7075%2010.8909%205.625%2010.6959%205.625%2010.5009C5.625%2010.3059%205.7075%2010.1109%205.8425%209.96836C6.0525%209.75836%206.3825%209.69086%206.66%209.81086C6.7575%209.84836%206.84%209.90086%206.9075%209.96836C7.0425%2010.1109%207.125%2010.3059%207.125%2010.5009C7.125%2010.6959%207.0425%2010.8909%206.9075%2011.0334ZM9.5325%2013.6584C9.39%2013.7934%209.195%2013.8759%209%2013.8759C8.805%2013.8759%208.61%2013.7934%208.4675%2013.6584C8.3325%2013.5159%208.25%2013.3209%208.25%2013.1259C8.25%2012.9309%208.3325%2012.7359%208.4675%2012.5934C8.745%2012.3159%209.255%2012.3159%209.5325%2012.5934C9.6675%2012.7359%209.75%2012.9309%209.75%2013.1259C9.75%2013.3209%209.6675%2013.5159%209.5325%2013.6584ZM9.5325%2011.0334C9.495%2011.0634%209.4575%2011.0934%209.42%2011.1234C9.375%2011.1534%209.33%2011.1759%209.285%2011.1909C9.24%2011.2134%209.195%2011.2284%209.15%2011.2359C9.0975%2011.2434%209.0525%2011.2509%209%2011.2509C8.805%2011.2509%208.61%2011.1684%208.4675%2011.0334C8.3325%2010.8909%208.25%2010.6959%208.25%2010.5009C8.25%2010.3059%208.3325%2010.1109%208.4675%209.96836C8.535%209.90086%208.6175%209.84836%208.715%209.81086C8.9925%209.69086%209.3225%209.75836%209.5325%209.96836C9.6675%2010.1109%209.75%2010.3059%209.75%2010.5009C9.75%2010.6959%209.6675%2010.8909%209.5325%2011.0334ZM12.1575%2013.6584C12.015%2013.7934%2011.82%2013.8759%2011.625%2013.8759C11.43%2013.8759%2011.235%2013.7934%2011.0925%2013.6584C10.9575%2013.5159%2010.875%2013.3209%2010.875%2013.1259C10.875%2012.9309%2010.9575%2012.7359%2011.0925%2012.5934C11.37%2012.3159%2011.88%2012.3159%2012.1575%2012.5934C12.2925%2012.7359%2012.375%2012.9309%2012.375%2013.1259C12.375%2013.3209%2012.2925%2013.5159%2012.1575%2013.6584ZM12.1575%2011.0334C12.12%2011.0634%2012.0825%2011.0934%2012.045%2011.1234C12%2011.1534%2011.955%2011.1759%2011.91%2011.1909C11.865%2011.2134%2011.82%2011.2284%2011.775%2011.2359C11.7225%2011.2434%2011.67%2011.2509%2011.625%2011.2509C11.43%2011.2509%2011.235%2011.1684%2011.0925%2011.0334C10.9575%2010.8909%2010.875%2010.6959%2010.875%2010.5009C10.875%2010.3059%2010.9575%2010.1109%2011.0925%209.96836C11.1675%209.90086%2011.2425%209.84836%2011.34%209.81086C11.475%209.75086%2011.625%209.73586%2011.775%209.76586C11.82%209.77336%2011.865%209.78836%2011.91%209.81086C11.955%209.82586%2012%209.84836%2012.045%209.87836C12.0825%209.90836%2012.12%209.93836%2012.1575%209.96836C12.2925%2010.1109%2012.375%2010.3059%2012.375%2010.5009C12.375%2010.6959%2012.2925%2010.8909%2012.1575%2011.0334Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
652
+ var calendar$1 = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.5627%202.67V1.5C12.5627%201.1925%2012.3077%200.9375%2012.0002%200.9375C11.6927%200.9375%2011.4377%201.1925%2011.4377%201.5V2.625H6.56267V1.5C6.56267%201.1925%206.30767%200.9375%206.00017%200.9375C5.69267%200.9375%205.43767%201.1925%205.43767%201.5V2.67C3.41267%202.8575%202.43017%204.065%202.28017%205.8575C2.26517%206.075%202.44517%206.255%202.65517%206.255H15.3452C15.5627%206.255%2015.7427%206.0675%2015.7202%205.8575C15.5702%204.065%2014.5877%202.8575%2012.5627%202.67Z%22%20fill%3D%22%234E93FF%22%2F%3E%3Cpath%20d%3D%22M15%207.38086H3C2.5875%207.38086%202.25%207.71836%202.25%208.13086V12.7509C2.25%2015.0009%203.375%2016.5009%206%2016.5009H12C14.625%2016.5009%2015.75%2015.0009%2015.75%2012.7509V8.13086C15.75%207.71836%2015.4125%207.38086%2015%207.38086ZM6.9075%2013.6584C6.87%2013.6884%206.8325%2013.7259%206.795%2013.7484C6.75%2013.7784%206.705%2013.8009%206.66%2013.8159C6.615%2013.8384%206.57%2013.8534%206.525%2013.8609C6.4725%2013.8684%206.4275%2013.8759%206.375%2013.8759C6.2775%2013.8759%206.18%2013.8534%206.09%2013.8159C5.9925%2013.7784%205.9175%2013.7259%205.8425%2013.6584C5.7075%2013.5159%205.625%2013.3209%205.625%2013.1259C5.625%2012.9309%205.7075%2012.7359%205.8425%2012.5934C5.9175%2012.5259%205.9925%2012.4734%206.09%2012.4359C6.225%2012.3759%206.375%2012.3609%206.525%2012.3909C6.57%2012.3984%206.615%2012.4134%206.66%2012.4359C6.705%2012.4509%206.75%2012.4734%206.795%2012.5034C6.8325%2012.5334%206.87%2012.5634%206.9075%2012.5934C7.0425%2012.7359%207.125%2012.9309%207.125%2013.1259C7.125%2013.3209%207.0425%2013.5159%206.9075%2013.6584ZM6.9075%2011.0334C6.765%2011.1684%206.57%2011.2509%206.375%2011.2509C6.18%2011.2509%205.985%2011.1684%205.8425%2011.0334C5.7075%2010.8909%205.625%2010.6959%205.625%2010.5009C5.625%2010.3059%205.7075%2010.1109%205.8425%209.96836C6.0525%209.75836%206.3825%209.69086%206.66%209.81086C6.7575%209.84836%206.84%209.90086%206.9075%209.96836C7.0425%2010.1109%207.125%2010.3059%207.125%2010.5009C7.125%2010.6959%207.0425%2010.8909%206.9075%2011.0334ZM9.5325%2013.6584C9.39%2013.7934%209.195%2013.8759%209%2013.8759C8.805%2013.8759%208.61%2013.7934%208.4675%2013.6584C8.3325%2013.5159%208.25%2013.3209%208.25%2013.1259C8.25%2012.9309%208.3325%2012.7359%208.4675%2012.5934C8.745%2012.3159%209.255%2012.3159%209.5325%2012.5934C9.6675%2012.7359%209.75%2012.9309%209.75%2013.1259C9.75%2013.3209%209.6675%2013.5159%209.5325%2013.6584ZM9.5325%2011.0334C9.495%2011.0634%209.4575%2011.0934%209.42%2011.1234C9.375%2011.1534%209.33%2011.1759%209.285%2011.1909C9.24%2011.2134%209.195%2011.2284%209.15%2011.2359C9.0975%2011.2434%209.0525%2011.2509%209%2011.2509C8.805%2011.2509%208.61%2011.1684%208.4675%2011.0334C8.3325%2010.8909%208.25%2010.6959%208.25%2010.5009C8.25%2010.3059%208.3325%2010.1109%208.4675%209.96836C8.535%209.90086%208.6175%209.84836%208.715%209.81086C8.9925%209.69086%209.3225%209.75836%209.5325%209.96836C9.6675%2010.1109%209.75%2010.3059%209.75%2010.5009C9.75%2010.6959%209.6675%2010.8909%209.5325%2011.0334ZM12.1575%2013.6584C12.015%2013.7934%2011.82%2013.8759%2011.625%2013.8759C11.43%2013.8759%2011.235%2013.7934%2011.0925%2013.6584C10.9575%2013.5159%2010.875%2013.3209%2010.875%2013.1259C10.875%2012.9309%2010.9575%2012.7359%2011.0925%2012.5934C11.37%2012.3159%2011.88%2012.3159%2012.1575%2012.5934C12.2925%2012.7359%2012.375%2012.9309%2012.375%2013.1259C12.375%2013.3209%2012.2925%2013.5159%2012.1575%2013.6584ZM12.1575%2011.0334C12.12%2011.0634%2012.0825%2011.0934%2012.045%2011.1234C12%2011.1534%2011.955%2011.1759%2011.91%2011.1909C11.865%2011.2134%2011.82%2011.2284%2011.775%2011.2359C11.7225%2011.2434%2011.67%2011.2509%2011.625%2011.2509C11.43%2011.2509%2011.235%2011.1684%2011.0925%2011.0334C10.9575%2010.8909%2010.875%2010.6959%2010.875%2010.5009C10.875%2010.3059%2010.9575%2010.1109%2011.0925%209.96836C11.1675%209.90086%2011.2425%209.84836%2011.34%209.81086C11.475%209.75086%2011.625%209.73586%2011.775%209.76586C11.82%209.77336%2011.865%209.78836%2011.91%209.81086C11.955%209.82586%2012%209.84836%2012.045%209.87836C12.0825%209.90836%2012.12%209.93836%2012.1575%209.96836C12.2925%2010.1109%2012.375%2010.3059%2012.375%2010.5009C12.375%2010.6959%2012.2925%2010.8909%2012.1575%2011.0334Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
647
653
 
648
654
  var video = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2219%22%20viewBox%3D%220%200%2018%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M15.8625%205.1275C15.555%204.9625%2014.91%204.79%2014.0325%205.405L12.93%206.185C12.8475%203.8525%2011.835%202.9375%209.375%202.9375H4.875C2.31%202.9375%201.3125%203.935%201.3125%206.5V12.5C1.3125%2014.225%202.25%2016.0625%204.875%2016.0625H9.375C11.835%2016.0625%2012.8475%2015.1475%2012.93%2012.815L14.0325%2013.595C14.4975%2013.925%2014.9025%2014.03%2015.225%2014.03C15.5025%2014.03%2015.72%2013.9475%2015.8625%2013.8725C16.17%2013.715%2016.6875%2013.2875%2016.6875%2012.215V6.785C16.6875%205.7125%2016.17%205.285%2015.8625%205.1275ZM8.25%209.035C7.4775%209.035%206.84%208.405%206.84%207.625C6.84%206.845%207.4775%206.215%208.25%206.215C9.0225%206.215%209.66%206.845%209.66%207.625C9.66%208.405%209.0225%209.035%208.25%209.035Z%22%20fill%3D%22%23589DF5%22%2F%3E%3C%2Fsvg%3E";
649
655
 
@@ -739,7 +745,7 @@ const icons = {
739
745
  Clock: getConfiguredIcon2(clock, false, true),
740
746
  'Book Saved': getConfiguredIcon2(bookSaved, false, true),
741
747
  Certificate: getConfiguredIcon2(certificate, false, true),
742
- Calendar: getConfiguredIcon2(calendar, false, true),
748
+ Calendar: getConfiguredIcon2(calendar$1, false, true),
743
749
  Video: getConfiguredIcon2(video, false, true)
744
750
  };
745
751
 
@@ -1847,27 +1853,28 @@ function ArimaMadurai() {
1847
1853
  }
1848
1854
 
1849
1855
  const TYPE_TO_COMPONENT_MAP$1 = {
1850
- BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
1851
- GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
1852
- BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
1853
- BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
1854
- FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
1855
- TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
1856
- VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
1857
- VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
1858
- INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
1859
- TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
1860
- IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
1861
- FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
1862
- COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
1863
- TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
1864
- TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
1865
- CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
1866
- FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
1867
- WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
1868
- COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
1869
- FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
1870
- TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
1856
+ BANNER_CAROUSEL_RIGHT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$l; })),
1857
+ GRID_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$k; })),
1858
+ BANNER_CAROUSEL_CENTER: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$j; })),
1859
+ BANNER_CAROUSEL_LEFT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$i; })),
1860
+ FORM_SUBSCRIBE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$h; })),
1861
+ TEXT_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$g; })),
1862
+ VIDEO_TESTIMONIAL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$f; })),
1863
+ VIDEO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$e; })),
1864
+ INFO: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$d; })),
1865
+ TEXT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$c; })),
1866
+ IMAGE_GALLERY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$b; })),
1867
+ FAQ_LISTING: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$a; })),
1868
+ COURSE_CAROUSEL: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$8; })),
1869
+ TEAM_CARD: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$7; })),
1870
+ TEXT_GRID: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$9; })),
1871
+ CONTACT: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$6; })),
1872
+ FORM_ENQUIRY: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$5; })),
1873
+ WEBINAR_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$4; })),
1874
+ COURSE_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$3; })),
1875
+ FORM_LANDING_PAGE: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$2; })),
1876
+ TILES_SECTION: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index$1; })),
1877
+ EMAIL_DRIP_MARKET: /*#__PURE__*/React.lazy(() => Promise.resolve().then(function () { return index; }))
1871
1878
  };
1872
1879
 
1873
1880
  const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
@@ -1876,6 +1883,7 @@ const MemoisedSection$1 = /*#__PURE__*/React.memo(({
1876
1883
  sectionData,
1877
1884
  extraProps
1878
1885
  }) => {
1886
+ console.log('templatesectiondata', sectionData);
1879
1887
  const SectionComp = getCompToRender$1(sectionData.type);
1880
1888
  return /*#__PURE__*/React__default["default"].createElement(SectionComp, {
1881
1889
  sectionData: sectionData,
@@ -2324,7 +2332,7 @@ function Carousel({
2324
2332
  })));
2325
2333
  }
2326
2334
 
2327
- function Section$3({
2335
+ function Section$4({
2328
2336
  nodeData
2329
2337
  }) {
2330
2338
  const classes = useSectionStyles$8();
@@ -2397,7 +2405,7 @@ function BannerCarouselRight({
2397
2405
  className: classes.bannerCarouselRightSection
2398
2406
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2399
2407
  className: classes.sectionContainer
2400
- }, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$3, {
2408
+ }, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$4, {
2401
2409
  nodeData: node,
2402
2410
  key: idx
2403
2411
  /* or some other unique property */
@@ -2405,7 +2413,7 @@ function BannerCarouselRight({
2405
2413
  })))));
2406
2414
  }
2407
2415
 
2408
- var index$k = /*#__PURE__*/Object.freeze({
2416
+ var index$l = /*#__PURE__*/Object.freeze({
2409
2417
  __proto__: null,
2410
2418
  'default': BannerCarouselRight
2411
2419
  });
@@ -2657,7 +2665,7 @@ function List({
2657
2665
  }))));
2658
2666
  }
2659
2667
 
2660
- var index$j = /*#__PURE__*/Object.freeze({
2668
+ var index$k = /*#__PURE__*/Object.freeze({
2661
2669
  __proto__: null,
2662
2670
  'default': List
2663
2671
  });
@@ -2756,7 +2764,7 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2756
2764
  }
2757
2765
  }));
2758
2766
 
2759
- const Section$2 = ({
2767
+ const Section$3 = ({
2760
2768
  nodeData
2761
2769
  }) => {
2762
2770
  const {
@@ -2819,7 +2827,7 @@ function BannerCarouselCenter({
2819
2827
  } : {};
2820
2828
  return /*#__PURE__*/React__default["default"].createElement("section", {
2821
2829
  className: classes.bannerCarouselCenterSection
2822
- }, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$2, {
2830
+ }, /*#__PURE__*/React__default["default"].createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$3, {
2823
2831
  nodeData: node,
2824
2832
  key: idx
2825
2833
  /* or some other unique property */
@@ -2827,7 +2835,7 @@ function BannerCarouselCenter({
2827
2835
  }))));
2828
2836
  }
2829
2837
 
2830
- var index$i = /*#__PURE__*/Object.freeze({
2838
+ var index$j = /*#__PURE__*/Object.freeze({
2831
2839
  __proto__: null,
2832
2840
  'default': BannerCarouselCenter
2833
2841
  });
@@ -2939,7 +2947,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
2939
2947
  };
2940
2948
  });
2941
2949
 
2942
- function Section$1({
2950
+ function Section$2({
2943
2951
  nodeData
2944
2952
  }) {
2945
2953
  const classes = useSectionStyles$5();
@@ -3010,7 +3018,7 @@ function BannerCarouselLeft({
3010
3018
  className: classes.section
3011
3019
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3012
3020
  className: classes.sectionContainer
3013
- }, /*#__PURE__*/React__default["default"].createElement(Wrapper, null, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$1, {
3021
+ }, /*#__PURE__*/React__default["default"].createElement(Wrapper, null, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React__default["default"].createElement(Section$2, {
3014
3022
  nodeData: node,
3015
3023
  key: idx
3016
3024
  /* or some other unique property */
@@ -3018,7 +3026,7 @@ function BannerCarouselLeft({
3018
3026
  })))));
3019
3027
  }
3020
3028
 
3021
- var index$h = /*#__PURE__*/Object.freeze({
3029
+ var index$i = /*#__PURE__*/Object.freeze({
3022
3030
  __proto__: null,
3023
3031
  'default': BannerCarouselLeft
3024
3032
  });
@@ -3411,7 +3419,7 @@ function SubscribeToNewsletter({
3411
3419
  })))))));
3412
3420
  }
3413
3421
 
3414
- var index$g = /*#__PURE__*/Object.freeze({
3422
+ var index$h = /*#__PURE__*/Object.freeze({
3415
3423
  __proto__: null,
3416
3424
  'default': SubscribeToNewsletter
3417
3425
  });
@@ -3578,7 +3586,7 @@ function QuotesComponent() {
3578
3586
  }));
3579
3587
  }
3580
3588
 
3581
- function Section({
3589
+ function Section$1({
3582
3590
  nodeData
3583
3591
  }) {
3584
3592
  const {
@@ -3668,12 +3676,12 @@ function Testimonials({
3668
3676
  const classes = useTestimonialStyles();
3669
3677
  return /*#__PURE__*/React__default["default"].createElement("div", {
3670
3678
  className: classes.testimonialContainer
3671
- }, /*#__PURE__*/React__default["default"].createElement(Section, {
3679
+ }, /*#__PURE__*/React__default["default"].createElement(Section$1, {
3672
3680
  nodeData: sectionData.components[0]
3673
3681
  }));
3674
3682
  }
3675
3683
 
3676
- var index$f = /*#__PURE__*/Object.freeze({
3684
+ var index$g = /*#__PURE__*/Object.freeze({
3677
3685
  __proto__: null,
3678
3686
  'default': Testimonials
3679
3687
  });
@@ -4052,7 +4060,7 @@ function VideoTestimonial({
4052
4060
  }))))));
4053
4061
  }
4054
4062
 
4055
- var index$e = /*#__PURE__*/Object.freeze({
4063
+ var index$f = /*#__PURE__*/Object.freeze({
4056
4064
  __proto__: null,
4057
4065
  'default': VideoTestimonial
4058
4066
  });
@@ -4280,7 +4288,7 @@ function Video({
4280
4288
  }, carouselContent))));
4281
4289
  }
4282
4290
 
4283
- var index$d = /*#__PURE__*/Object.freeze({
4291
+ var index$e = /*#__PURE__*/Object.freeze({
4284
4292
  __proto__: null,
4285
4293
  'default': Video
4286
4294
  });
@@ -4506,7 +4514,7 @@ function Info({
4506
4514
  }, carouselContent))));
4507
4515
  }
4508
4516
 
4509
- var index$c = /*#__PURE__*/Object.freeze({
4517
+ var index$d = /*#__PURE__*/Object.freeze({
4510
4518
  __proto__: null,
4511
4519
  'default': Info
4512
4520
  });
@@ -4625,7 +4633,7 @@ const TextSection = ({
4625
4633
  })))));
4626
4634
  };
4627
4635
 
4628
- var index$b = /*#__PURE__*/Object.freeze({
4636
+ var index$c = /*#__PURE__*/Object.freeze({
4629
4637
  __proto__: null,
4630
4638
  'default': TextSection
4631
4639
  });
@@ -4782,7 +4790,7 @@ function PhotoGallery({
4782
4790
  }, carouselContent))));
4783
4791
  }
4784
4792
 
4785
- var index$a = /*#__PURE__*/Object.freeze({
4793
+ var index$b = /*#__PURE__*/Object.freeze({
4786
4794
  __proto__: null,
4787
4795
  'default': PhotoGallery
4788
4796
  });
@@ -4960,7 +4968,7 @@ const Accordion = ({
4960
4968
  })));
4961
4969
  };
4962
4970
 
4963
- var index$9 = /*#__PURE__*/Object.freeze({
4971
+ var index$a = /*#__PURE__*/Object.freeze({
4964
4972
  __proto__: null,
4965
4973
  'default': FAQListing
4966
4974
  });
@@ -5125,7 +5133,7 @@ const TextGrid = ({
5125
5133
  }, carouselContent))));
5126
5134
  };
5127
5135
 
5128
- var index$8 = /*#__PURE__*/Object.freeze({
5136
+ var index$9 = /*#__PURE__*/Object.freeze({
5129
5137
  __proto__: null,
5130
5138
  'default': TextGrid
5131
5139
  });
@@ -5579,7 +5587,7 @@ function SimpleCardsContainer({
5579
5587
  }, children);
5580
5588
  }
5581
5589
 
5582
- var index$7 = /*#__PURE__*/Object.freeze({
5590
+ var index$8 = /*#__PURE__*/Object.freeze({
5583
5591
  __proto__: null,
5584
5592
  'default': courses
5585
5593
  });
@@ -5802,7 +5810,7 @@ function TeamCard({
5802
5810
  }, " ", carouselContent)));
5803
5811
  }
5804
5812
 
5805
- var index$6 = /*#__PURE__*/Object.freeze({
5813
+ var index$7 = /*#__PURE__*/Object.freeze({
5806
5814
  __proto__: null,
5807
5815
  'default': TeamCard
5808
5816
  });
@@ -6176,7 +6184,7 @@ function FormEnquiry({
6176
6184
  }))))));
6177
6185
  }
6178
6186
 
6179
- var index$5 = /*#__PURE__*/Object.freeze({
6187
+ var index$6 = /*#__PURE__*/Object.freeze({
6180
6188
  __proto__: null,
6181
6189
  'default': FormEnquiry
6182
6190
  });
@@ -6550,7 +6558,7 @@ function Contact({
6550
6558
  }))))));
6551
6559
  }
6552
6560
 
6553
- var index$4 = /*#__PURE__*/Object.freeze({
6561
+ var index$5 = /*#__PURE__*/Object.freeze({
6554
6562
  __proto__: null,
6555
6563
  'default': Contact
6556
6564
  });
@@ -6987,7 +6995,7 @@ function CoursePromotionPage$1({
6987
6995
  }))));
6988
6996
  }
6989
6997
 
6990
- var index$3 = /*#__PURE__*/Object.freeze({
6998
+ var index$4 = /*#__PURE__*/Object.freeze({
6991
6999
  __proto__: null,
6992
7000
  'default': CoursePromotionPage$1
6993
7001
  });
@@ -7115,7 +7123,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7115
7123
  color: theme.palette.font.default
7116
7124
  },
7117
7125
  courseViewContainer: {
7118
- width: '645px',
7126
+ width: '445px',
7119
7127
  backgroundColor: '#f4f9ff',
7120
7128
  display: 'flex',
7121
7129
  flexDirection: 'column',
@@ -7208,6 +7216,34 @@ const useCoursePromotionPage = createUseStyles(theme => {
7208
7216
  alignItems: 'center',
7209
7217
  borderRadius: '6px'
7210
7218
  },
7219
+ payInstallmentContainer: {
7220
+ display: 'flex',
7221
+ gap: '20px',
7222
+ padding: '12px 16px',
7223
+ background: '#f4f9ff',
7224
+ borderRadius: '16px',
7225
+ marginTop: '32px',
7226
+ cursor: 'pointer'
7227
+ },
7228
+ payInstallmentHeader: {
7229
+ '& h4': {
7230
+ color: '#0A1629',
7231
+ fontSize: '20px',
7232
+ fontWeight: '600',
7233
+ margin: '0px'
7234
+ },
7235
+ '& p': {
7236
+ color: '#7D8592',
7237
+ fontSize: '16px',
7238
+ margin: '0px',
7239
+ fontWeight: '600',
7240
+ marginTop: '4px',
7241
+ lineHeight: '24px'
7242
+ }
7243
+ },
7244
+ arrowRightIcon: {
7245
+ marginLeft: 'auto'
7246
+ },
7211
7247
  '@media (max-width: 767px)': {
7212
7248
  courseViewContainer: {
7213
7249
  width: '100%',
@@ -7244,6 +7280,10 @@ const useCoursePromotionPage = createUseStyles(theme => {
7244
7280
  };
7245
7281
  });
7246
7282
 
7283
+ var calendar = "data:image/svg+xml,%3Csvg%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2036%2036%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M25.1253%205.34V3C25.1253%202.385%2024.6153%201.875%2024.0003%201.875C23.3853%201.875%2022.8753%202.385%2022.8753%203V5.25H13.1253V3C13.1253%202.385%2012.6153%201.875%2012.0003%201.875C11.3853%201.875%2010.8753%202.385%2010.8753%203V5.34C6.82534%205.715%204.86034%208.13%204.56034%2011.715C4.53034%2012.15%204.89034%2012.51%205.31034%2012.51H30.6903C31.1253%2012.51%2031.4853%2012.135%2031.4403%2011.715C31.1403%208.13%2029.1753%205.715%2025.1253%205.34Z%22%20fill%3D%22%2300ADE7%22%2F%3E%3Cpath%20d%3D%22M30%2014.7598H6C5.175%2014.7598%204.5%2015.4348%204.5%2016.2598V25.4998C4.5%2029.9998%206.75%2032.9998%2012%2032.9998H24C29.25%2032.9998%2031.5%2029.9998%2031.5%2025.4998V16.2598C31.5%2015.4348%2030.825%2014.7598%2030%2014.7598ZM13.815%2027.3148C13.74%2027.3748%2013.665%2027.4498%2013.59%2027.4948C13.5%2027.5548%2013.41%2027.5998%2013.32%2027.6298C13.23%2027.6748%2013.14%2027.7048%2013.05%2027.7198C12.945%2027.7348%2012.855%2027.7498%2012.75%2027.7498C12.555%2027.7498%2012.36%2027.7048%2012.18%2027.6298C11.985%2027.5548%2011.835%2027.4498%2011.685%2027.3148C11.415%2027.0298%2011.25%2026.6398%2011.25%2026.2498C11.25%2025.8598%2011.415%2025.4698%2011.685%2025.1848C11.835%2025.0498%2011.985%2024.9448%2012.18%2024.8698C12.45%2024.7498%2012.75%2024.7198%2013.05%2024.7798C13.14%2024.7948%2013.23%2024.8248%2013.32%2024.8698C13.41%2024.8998%2013.5%2024.9448%2013.59%2025.0048C13.665%2025.0648%2013.74%2025.1248%2013.815%2025.1848C14.085%2025.4698%2014.25%2025.8598%2014.25%2026.2498C14.25%2026.6398%2014.085%2027.0298%2013.815%2027.3148ZM13.815%2022.0648C13.53%2022.3348%2013.14%2022.4998%2012.75%2022.4998C12.36%2022.4998%2011.97%2022.3348%2011.685%2022.0648C11.415%2021.7798%2011.25%2021.3898%2011.25%2020.9998C11.25%2020.6098%2011.415%2020.2198%2011.685%2019.9348C12.105%2019.5148%2012.765%2019.3798%2013.32%2019.6198C13.515%2019.6948%2013.68%2019.7998%2013.815%2019.9348C14.085%2020.2198%2014.25%2020.6098%2014.25%2020.9998C14.25%2021.3898%2014.085%2021.7798%2013.815%2022.0648ZM19.065%2027.3148C18.78%2027.5848%2018.39%2027.7498%2018%2027.7498C17.61%2027.7498%2017.22%2027.5848%2016.935%2027.3148C16.665%2027.0298%2016.5%2026.6398%2016.5%2026.2498C16.5%2025.8598%2016.665%2025.4698%2016.935%2025.1848C17.49%2024.6298%2018.51%2024.6298%2019.065%2025.1848C19.335%2025.4698%2019.5%2025.8598%2019.5%2026.2498C19.5%2026.6398%2019.335%2027.0298%2019.065%2027.3148ZM19.065%2022.0648C18.99%2022.1248%2018.915%2022.1848%2018.84%2022.2448C18.75%2022.3048%2018.66%2022.3498%2018.57%2022.3798C18.48%2022.4248%2018.39%2022.4548%2018.3%2022.4698C18.195%2022.4848%2018.105%2022.4998%2018%2022.4998C17.61%2022.4998%2017.22%2022.3348%2016.935%2022.0648C16.665%2021.7798%2016.5%2021.3898%2016.5%2020.9998C16.5%2020.6098%2016.665%2020.2198%2016.935%2019.9348C17.07%2019.7998%2017.235%2019.6948%2017.43%2019.6198C17.985%2019.3798%2018.645%2019.5148%2019.065%2019.9348C19.335%2020.2198%2019.5%2020.6098%2019.5%2020.9998C19.5%2021.3898%2019.335%2021.7798%2019.065%2022.0648ZM24.315%2027.3148C24.03%2027.5848%2023.64%2027.7498%2023.25%2027.7498C22.86%2027.7498%2022.47%2027.5848%2022.185%2027.3148C21.915%2027.0298%2021.75%2026.6398%2021.75%2026.2498C21.75%2025.8598%2021.915%2025.4698%2022.185%2025.1848C22.74%2024.6298%2023.76%2024.6298%2024.315%2025.1848C24.585%2025.4698%2024.75%2025.8598%2024.75%2026.2498C24.75%2026.6398%2024.585%2027.0298%2024.315%2027.3148ZM24.315%2022.0648C24.24%2022.1248%2024.165%2022.1848%2024.09%2022.2448C24%2022.3048%2023.91%2022.3498%2023.82%2022.3798C23.73%2022.4248%2023.64%2022.4548%2023.55%2022.4698C23.445%2022.4848%2023.34%2022.4998%2023.25%2022.4998C22.86%2022.4998%2022.47%2022.3348%2022.185%2022.0648C21.915%2021.7798%2021.75%2021.3898%2021.75%2020.9998C21.75%2020.6098%2021.915%2020.2198%2022.185%2019.9348C22.335%2019.7998%2022.485%2019.6948%2022.68%2019.6198C22.95%2019.4998%2023.25%2019.4698%2023.55%2019.5298C23.64%2019.5448%2023.73%2019.5748%2023.82%2019.6198C23.91%2019.6498%2024%2019.6948%2024.09%2019.7548C24.165%2019.8148%2024.24%2019.8748%2024.315%2019.9348C24.585%2020.2198%2024.75%2020.6098%2024.75%2020.9998C24.75%2021.3898%2024.585%2021.7798%2024.315%2022.0648Z%22%20fill%3D%22%2300ADE7%22%2F%3E%3C%2Fsvg%3E";
7284
+
7285
+ var arrowRight = "data:image/svg+xml,%3Csvg%20width%3D%228%22%20height%3D%2214%22%20viewBox%3D%220%200%208%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%2013L7%207L1%201%22%20stroke%3D%22%237D8592%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E";
7286
+
7247
7287
  const SingleVideoSlide = props => {
7248
7288
  const [isReadMore, setIsReadMore] = React.useState(false);
7249
7289
  const theme = useTheme();
@@ -7274,8 +7314,11 @@ const SingleVideoSlide = props => {
7274
7314
  const {
7275
7315
  data,
7276
7316
  courseBuyNow,
7277
- conversions = 20
7317
+ conversions = 20,
7318
+ showCourseInstallment
7278
7319
  } = props;
7320
+ const showCourseInstallmentData = data?.courseOverviewData?.installments?.isInstallmentActive;
7321
+ const InstalmentData = data?.courseOverviewData?.installments?.formData?.installments[0].installmentAmount;
7279
7322
 
7280
7323
  const checkIfOfferIsValid = () => moment__default["default"]().diff(moment__default["default"](props?.data?.endDate || 0)) < 0;
7281
7324
 
@@ -7331,12 +7374,13 @@ const SingleVideoSlide = props => {
7331
7374
  className: classes.courseEmblem
7332
7375
  }, data?.text);
7333
7376
  })), /*#__PURE__*/React__default["default"].createElement("h3", {
7377
+ className: classes.videoDetailsHeading
7378
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
7334
7379
  ref: data?.videoTextHeading?.refSetter,
7335
- className: classes.videoDetailsHeading,
7336
7380
  dangerouslySetInnerHTML: {
7337
7381
  __html: data.courseName
7338
7382
  }
7339
- }), /*#__PURE__*/React__default["default"].createElement("div", {
7383
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
7340
7384
  className: classes.courseDetailsTags
7341
7385
  }, data?.courseOverviewData?.courseDuration?.text ? /*#__PURE__*/React__default["default"].createElement("div", {
7342
7386
  className: classes.courseDetailTag
@@ -7382,6 +7426,11 @@ const SingleVideoSlide = props => {
7382
7426
  __html: data.description.length > 250 && !isReadMore ? 'Read More' : null
7383
7427
  }
7384
7428
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
7429
+ style: {
7430
+ display: 'flex',
7431
+ flexDirection: 'column'
7432
+ }
7433
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7385
7434
  className: classes.courseViewContainer
7386
7435
  }, checkIfOfferIsValid() && (data.offerPriceValidFor !== 0 ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React__default["default"].createElement("p", {
7387
7436
  className: classes.offerText
@@ -7428,7 +7477,23 @@ const SingleVideoSlide = props => {
7428
7477
  target: null,
7429
7478
  rel: null // styling={isMobile ? { margin: '0 40px' } : {}}
7430
7479
 
7431
- }))))));
7480
+ })))), showCourseInstallmentData && InstalmentData && /*#__PURE__*/React__default["default"].createElement("div", {
7481
+ className: classes.payInstallmentContainer,
7482
+ onClick: showCourseInstallment
7483
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
7484
+ src: calendar,
7485
+ alt: "calender"
7486
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
7487
+ className: classes.payInstallmentHeader
7488
+ }, /*#__PURE__*/React__default["default"].createElement("h4", null, /*#__PURE__*/React__default["default"].createElement("span", {
7489
+ dangerouslySetInnerHTML: {
7490
+ __html: ` Start learning at Rs ${InstalmentData}`
7491
+ }
7492
+ })), /*#__PURE__*/React__default["default"].createElement("p", null, "Pay in Instalments")), /*#__PURE__*/React__default["default"].createElement("img", {
7493
+ className: classes.arrowRightIcon,
7494
+ src: arrowRight,
7495
+ alt: "open pay-installment popup"
7496
+ })))));
7432
7497
  };
7433
7498
 
7434
7499
  function CoursePromotionPage({
@@ -7453,11 +7518,12 @@ function CoursePromotionPage({
7453
7518
  }, /*#__PURE__*/React__default["default"].createElement(SingleVideoSlide, {
7454
7519
  data: sectionData.components[0].metadata,
7455
7520
  courseBuyNow: extraProps.courseBuyNow,
7521
+ showCourseInstallment: extraProps.showCourseInstallment,
7456
7522
  conversions: extraProps.conversions
7457
7523
  }))));
7458
7524
  }
7459
7525
 
7460
- var index$2 = /*#__PURE__*/Object.freeze({
7526
+ var index$3 = /*#__PURE__*/Object.freeze({
7461
7527
  __proto__: null,
7462
7528
  'default': CoursePromotionPage
7463
7529
  });
@@ -7801,7 +7867,7 @@ const FormPage = ({
7801
7867
  })))));
7802
7868
  };
7803
7869
 
7804
- var index$1 = /*#__PURE__*/Object.freeze({
7870
+ var index$2 = /*#__PURE__*/Object.freeze({
7805
7871
  __proto__: null,
7806
7872
  'default': FormPage
7807
7873
  });
@@ -7934,11 +8000,418 @@ function Tiles({
7934
8000
  }, TileDiv)));
7935
8001
  }
7936
8002
 
7937
- var index = /*#__PURE__*/Object.freeze({
8003
+ var index$1 = /*#__PURE__*/Object.freeze({
7938
8004
  __proto__: null,
7939
8005
  'default': Tiles
7940
8006
  });
7941
8007
 
8008
+ const useEmailStyles = createUseStyles(theme => ({
8009
+ wrapper: {
8010
+ fontFamily: theme?.typography?.fontFamily,
8011
+ width: '100%',
8012
+ tableLayout: 'fixed',
8013
+ backgroundColor: '#cccccc'
8014
+ },
8015
+ email_description_para: {
8016
+ '& p': {
8017
+ margin: '0 0 0 !important'
8018
+ }
8019
+ },
8020
+ main: {
8021
+ backgroundColor: '#ffffff',
8022
+ width: '100%',
8023
+ maxWidth: '600px',
8024
+ borderSpacing: '0'
8025
+ },
8026
+ logoimg: {
8027
+ width: '28px',
8028
+ height: '28px'
8029
+ /* margin: 18px 0px; */
8030
+
8031
+ },
8032
+ 'p-young-guru-title': {
8033
+ fontFamily: theme?.typography?.fontFamily,
8034
+ fontStyle: 'normal',
8035
+ fontWeight: '500',
8036
+ fontSize: '24px',
8037
+ lineHeight: '31px',
8038
+ color: '#ffffff',
8039
+ marginTop: '18px'
8040
+ },
8041
+ 'p-young-guru-sub-title': {
8042
+ fontFamily: theme?.typography?.fontFamily,
8043
+ fontStyle: 'normal',
8044
+ fontWeight: '400',
8045
+ fontSize: '16px',
8046
+ lineHeight: '21px',
8047
+ color: '#dbd9d9',
8048
+ marginBottom: '18px'
8049
+ },
8050
+ p: {
8051
+ padding: '0',
8052
+ margin: '0 !important'
8053
+ },
8054
+ 'two-columns': {
8055
+ fontSize: '0',
8056
+ textAlign: 'center'
8057
+ /* padding:35px 0 40px */
8058
+
8059
+ },
8060
+ 'two-columns .column': {
8061
+ width: '100%',
8062
+ maxWidth: '275px',
8063
+ display: 'inline-block',
8064
+ verticalAlign: 'top'
8065
+ },
8066
+ 'title-lead': {
8067
+ fontFamily: theme?.typography?.fontFamily,
8068
+ fontStyle: 'normal',
8069
+ fontWeight: '500',
8070
+ fontSize: '20px',
8071
+ lineHeight: '26px',
8072
+ color: '#030a21',
8073
+ marginBottom: '5px',
8074
+ textAlign: 'left'
8075
+ } // @media screen and (max-width: 600px) {
8076
+ // }
8077
+
8078
+ }));
8079
+
8080
+ function Section({
8081
+ nodeData,
8082
+ emailRef
8083
+ }) {
8084
+ console.log('nodedataashu', nodeData);
8085
+ const header = nodeData?.components[0];
8086
+ const body = nodeData?.components[1];
8087
+ const landing = nodeData?.components[2];
8088
+ const footer = nodeData?.components[3];
8089
+ const classes = useEmailStyles();
8090
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("center", {
8091
+ className: classes.wrapper,
8092
+ ref: emailRef
8093
+ }, /*#__PURE__*/React__default["default"].createElement("table", {
8094
+ className: classes.main,
8095
+ style: {
8096
+ width: '100%'
8097
+ }
8098
+ }, /*#__PURE__*/React__default["default"].createElement("tbody", null, header?.isActive ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8099
+ style: {
8100
+ textAlign: 'center',
8101
+ background: '#ffffff',
8102
+ paddingTop: '16px',
8103
+ width: '100%'
8104
+ }
8105
+ }, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", {
8106
+ style: {
8107
+ display: 'inline-block'
8108
+ }
8109
+ }, header?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React__default["default"].createElement("img", {
8110
+ src: header?.components[0]?.metadata?.image,
8111
+ alt: "",
8112
+ className: classes.logoimg
8113
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
8114
+ style: {
8115
+ display: 'flex',
8116
+ alignItems: 'center',
8117
+ justifyContent: 'center',
8118
+ fontStyle: 'italic',
8119
+ minHeight: '30px'
8120
+ }
8121
+ }, "Your logo")))))), /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, header?.components[1]?.metadata?.image?.length ? /*#__PURE__*/React__default["default"].createElement("img", {
8122
+ src: header?.components[1]?.metadata?.image // width={600}
8123
+ ,
8124
+ alt: "",
8125
+ style: {
8126
+ maxWidth: '600px',
8127
+ width: '100%',
8128
+ marginBottom: '-4px'
8129
+ }
8130
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
8131
+ style: {
8132
+ maxWidth: '600px',
8133
+ width: '100%',
8134
+ marginBottom: '-4px',
8135
+ minHeight: '250px',
8136
+ background: '#F4F9FD',
8137
+ display: 'flex',
8138
+ alignItems: 'center',
8139
+ justifyContent: 'center',
8140
+ fontStyle: 'italic'
8141
+ }
8142
+ }, "Cover Image")))) : null, body && body?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8143
+ style: {
8144
+ textAlign: 'center',
8145
+ width: '100%',
8146
+ backgroundColor: '#ffffff'
8147
+ }
8148
+ }, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("p", {
8149
+ style: {
8150
+ // fontFamily: 'Roboto',
8151
+ fontStyle: 'normal',
8152
+ fontWeight: '700',
8153
+ fontSize: '24.2487px',
8154
+ lineHeight: '29px',
8155
+ textAlign: 'center',
8156
+ color: '#00ade7',
8157
+ marginTop: '24px'
8158
+ }
8159
+ }, body?.components[0]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("p", {
8160
+ style: {
8161
+ // fontFamily: 'Roboto',
8162
+ fontStyle: 'normal',
8163
+ fontWeight: '500',
8164
+ fontSize: '18.1865px',
8165
+ lineHeight: '22px',
8166
+ textAlign: 'center',
8167
+ color: '#0a1629',
8168
+ marginTop: '8px',
8169
+ marginBottom: '15px'
8170
+ }
8171
+ }, body?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("p", {
8172
+ style: {
8173
+ maxWidth: '435px',
8174
+ margin: 'auto',
8175
+ // fontFamily: 'Roboto',
8176
+ fontStyle: 'normal',
8177
+ fontWeight: '400',
8178
+ fontSize: '16.1658px',
8179
+ lineHeight: '22px',
8180
+ color: '#3c4852',
8181
+ textAlign: 'left'
8182
+ },
8183
+ dangerouslySetInnerHTML: {
8184
+ __html: body?.components[2]?.metadata?.text
8185
+ },
8186
+ className: classes.email_description_para
8187
+ })))))) : null, landing?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8188
+ style: {
8189
+ width: '100%',
8190
+ padding: '12px'
8191
+ }
8192
+ }, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8193
+ style: {
8194
+ width: '100%',
8195
+ background: '#f4f9fd',
8196
+ borderRadius: '16px',
8197
+ padding: '32px',
8198
+ textAlign: 'center'
8199
+ }
8200
+ }, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, landing?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React__default["default"].createElement("img", {
8201
+ src: landing?.components[0]?.metadata?.image,
8202
+ alt: "",
8203
+ style: {
8204
+ width: '100%'
8205
+ }
8206
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
8207
+ style: {
8208
+ background: '#D9D9D9F0',
8209
+ width: '100%',
8210
+ minHeight: '250px',
8211
+ display: 'flex',
8212
+ alignItems: 'center',
8213
+ justifyContent: 'center',
8214
+ fontStyle: 'italic'
8215
+ }
8216
+ }, "Thumbnail Image"), /*#__PURE__*/React__default["default"].createElement("p", {
8217
+ style: {
8218
+ // fontFamily: 'Roboto',
8219
+ fontStyle: 'normal',
8220
+ fontWeight: '500',
8221
+ fontSize: '18.1865px',
8222
+ lineHeight: '22px',
8223
+ color: '#0a1629',
8224
+ marginTop: '16px',
8225
+ marginBottom: '16px',
8226
+ textAlign: 'left'
8227
+ }
8228
+ }, landing?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("a", {
8229
+ href: landing?.components[3]?.metadata?.text,
8230
+ target: "_blank",
8231
+ style: {
8232
+ textDecoration: 'none'
8233
+ }
8234
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
8235
+ style: {
8236
+ background: '#009ae0',
8237
+ borderRadius: '7.18333px',
8238
+ color: 'white',
8239
+ textDecoration: 'none',
8240
+ padding: '12px 0px',
8241
+ // fontFamily: 'Roboto',
8242
+ fontStyle: 'normal',
8243
+ fontWeight: '600',
8244
+ fontSize: '20.55px',
8245
+ lineHeight: '32px',
8246
+ textTransform: 'uppercase',
8247
+ color: '#fafafa'
8248
+ }
8249
+ }, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
8250
+ style: {
8251
+ width: '100%',
8252
+ background: '#e3f0ff',
8253
+ textAlign: 'center'
8254
+ }
8255
+ }, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("p", {
8256
+ style: {
8257
+ // fontFamily: 'Roboto',
8258
+ fontStyle: 'normal',
8259
+ fontWeight: '700',
8260
+ fontSize: '18px',
8261
+ lineHeight: '29px',
8262
+ textAlign: 'center',
8263
+ color: '#0a1629',
8264
+ marginTop: '32px'
8265
+ }
8266
+ }, "Connect with us on:"), /*#__PURE__*/React__default["default"].createElement("table", {
8267
+ style: {
8268
+ width: '100%',
8269
+ marginTop: '8px',
8270
+ marginBottom: '16px'
8271
+ }
8272
+ }, /*#__PURE__*/React__default["default"].createElement("tbody", null, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("a", {
8273
+ href: footer?.components[0]?.metadata?.text,
8274
+ target: "_blank",
8275
+ style: {
8276
+ textDecoration: 'none'
8277
+ }
8278
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
8279
+ src: footer?.components[0]?.metadata?.iconUrl,
8280
+ alt: "",
8281
+ style: {
8282
+ width: '36px',
8283
+ height: '36px'
8284
+ }
8285
+ })), /*#__PURE__*/React__default["default"].createElement("a", {
8286
+ href: footer?.components[1]?.metadata?.text,
8287
+ target: "_blank",
8288
+ style: {
8289
+ textDecoration: 'none'
8290
+ }
8291
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
8292
+ src: footer?.components[1]?.metadata?.iconUrl,
8293
+ alt: "",
8294
+ style: {
8295
+ width: '36px',
8296
+ height: '36px',
8297
+ margin: '0px 12px'
8298
+ }
8299
+ })), /*#__PURE__*/React__default["default"].createElement("a", {
8300
+ href: footer?.components[2]?.metadata?.text,
8301
+ target: "_blank",
8302
+ style: {
8303
+ textDecoration: 'none'
8304
+ }
8305
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
8306
+ src: footer?.components[2]?.metadata?.iconUrl,
8307
+ alt: "",
8308
+ style: {
8309
+ width: '36px',
8310
+ height: '36px'
8311
+ }
8312
+ })), /*#__PURE__*/React__default["default"].createElement("a", {
8313
+ href: footer?.components[3]?.metadata?.text,
8314
+ target: "_blank",
8315
+ style: {
8316
+ textDecoration: 'none'
8317
+ }
8318
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
8319
+ src: footer?.components[3]?.metadata?.iconUrl,
8320
+ alt: "",
8321
+ style: {
8322
+ width: '36px',
8323
+ height: '36px',
8324
+ margin: '0px 12px'
8325
+ }
8326
+ })), /*#__PURE__*/React__default["default"].createElement("a", {
8327
+ href: footer?.components[4]?.metadata?.text,
8328
+ target: "_blank",
8329
+ style: {
8330
+ textDecoration: 'none'
8331
+ }
8332
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
8333
+ src: footer?.components[4]?.metadata?.iconUrl,
8334
+ alt: "",
8335
+ style: {
8336
+ width: '36px',
8337
+ height: '36px'
8338
+ }
8339
+ })), /*#__PURE__*/React__default["default"].createElement("table", {
8340
+ style: {
8341
+ width: '100%',
8342
+ marginTop: '13px'
8343
+ }
8344
+ }, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("p", {
8345
+ style: {
8346
+ // fontFamily: 'Roboto',
8347
+ fontStyle: 'normal',
8348
+ fontWeight: '400',
8349
+ fontSize: '14.1451px',
8350
+ lineHeight: '21px',
8351
+ textAlign: 'center',
8352
+ color: '#7d8592'
8353
+ }
8354
+ }, "For any concerns, mail us at", footer?.components[5]?.metaData?.emailId), /*#__PURE__*/React__default["default"].createElement("p", {
8355
+ style: {
8356
+ // fontFamily: 'Roboto',
8357
+ fontStyle: 'normal',
8358
+ fontWeight: '400',
8359
+ fontSize: '14.1451px',
8360
+ lineHeight: '24px',
8361
+ textAlign: 'center',
8362
+ color: '#7d8592'
8363
+ }
8364
+ }, "Copyright \xA9 2022 | vaibhavphotography.com"), /*#__PURE__*/React__default["default"].createElement("p", {
8365
+ style: {
8366
+ // fontFamily: 'Roboto',
8367
+ fontStyle: 'normal',
8368
+ fontWeight: '400',
8369
+ fontSize: '14.1451px',
8370
+ lineHeight: '24px',
8371
+ textAlign: 'center',
8372
+ color: '#7d8592',
8373
+ marginBottom: '22px'
8374
+ }
8375
+ }, "All rights reserved.")))))))))))))) : null))));
8376
+ }
8377
+
8378
+ function EmailDripMarket({
8379
+ sectionData,
8380
+ extraProps = {}
8381
+ }) {
8382
+ // const classes = useSectionStyles({ containerWidth });
8383
+ const isInitialMount = React.useRef(true); // useEffect(() => {
8384
+ // convertToHtml(sectionData)
8385
+ // }, [sectionData])
8386
+
8387
+ const convertToHtml = sectionData => {
8388
+ const html = ReactDOMServer__default["default"].renderToStaticMarkup( /*#__PURE__*/React__default["default"].createElement(Section, {
8389
+ nodeData: sectionData
8390
+ }));
8391
+ return html;
8392
+ };
8393
+
8394
+ React.useEffect(() => {
8395
+ if (isInitialMount.current) {
8396
+ isInitialMount.current = false;
8397
+ } else {
8398
+ extraProps?.callbackHtml(convertToHtml(sectionData));
8399
+ }
8400
+ }, [extraProps?.convertedHtml]); // const mockData = sectionData?.sections[0];
8401
+
8402
+ const emailRef = React.useRef(null);
8403
+ console.log('skdjnkdln', extraProps);
8404
+ return /*#__PURE__*/React__default["default"].createElement("section", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Section, {
8405
+ sectionRef: emailRef,
8406
+ nodeData: sectionData
8407
+ })));
8408
+ }
8409
+
8410
+ var index = /*#__PURE__*/Object.freeze({
8411
+ __proto__: null,
8412
+ 'default': EmailDripMarket
8413
+ });
8414
+
7942
8415
  const TYPE_TO_COMPONENT_MAP = {
7943
8416
  BANNER_CAROUSEL_RIGHT: BannerCarouselRight,
7944
8417
  GRID_CARD: List,
@@ -7960,7 +8433,8 @@ const TYPE_TO_COMPONENT_MAP = {
7960
8433
  WEBINAR_LANDING_PAGE: CoursePromotionPage$1,
7961
8434
  COURSE_LANDING_PAGE: CoursePromotionPage,
7962
8435
  FORM_LANDING_PAGE: FormPage,
7963
- TILES_SECTION: Tiles
8436
+ TILES_SECTION: Tiles,
8437
+ EMAIL_DRIP_MARKET: EmailDripMarket
7964
8438
  };
7965
8439
 
7966
8440
  const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
@@ -7969,6 +8443,7 @@ const MemoisedSection = /*#__PURE__*/React.memo(({
7969
8443
  sectionData,
7970
8444
  extraProps
7971
8445
  }) => {
8446
+ console.log('templatesectiondata', sectionData);
7972
8447
  const SectionComp = getCompToRender(sectionData.type);
7973
8448
  return /*#__PURE__*/React__default["default"].createElement(SectionComp, {
7974
8449
  sectionData: sectionData,