@quintype/arrow 3.15.1-perf.2 → 3.15.1-perf.3

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.
Files changed (92) hide show
  1. package/atoms/Author/index.js +38 -29
  2. package/atoms/AuthorWithTime/index.js +83 -73
  3. package/atoms/CollectionName/index.js +40 -30
  4. package/atoms/ExtendedLoadMore/{index-d0f6c865.js → index-3976fac4.js} +59 -51
  5. package/atoms/ExtendedLoadMore/{index-1e444d20.js → index-3c4ac692.js} +243 -208
  6. package/atoms/ExtendedLoadMore/index-4ddfe28d.js +93 -0
  7. package/atoms/ExtendedLoadMore/{index-c61a16dc.js → index-5c8eda4a.js} +88 -80
  8. package/atoms/ExtendedLoadMore/{index-1256e453.js → index-6e083738.js} +60 -52
  9. package/atoms/ExtendedLoadMore/{index-fd651f70.js → index-6ecceae4.js} +58 -50
  10. package/atoms/ExtendedLoadMore/{index-4356ce04.js → index-9e0d32b7.js} +76 -68
  11. package/atoms/ExtendedLoadMore/{index-beed3a68.js → index-a5c95f84.js} +70 -62
  12. package/atoms/ExtendedLoadMore/{index-0519e570.js → index-b22f1843.js} +70 -62
  13. package/atoms/ExtendedLoadMore/{index-e4cf9cb7.js → index-b5936059.js} +72 -64
  14. package/atoms/ExtendedLoadMore/{index-aba6b278.js → index-bc129cb8.js} +57 -49
  15. package/atoms/ExtendedLoadMore/{index-ad3c83c3.js → index-e7cde739.js} +74 -46
  16. package/atoms/ExtendedLoadMore/{index-c2f73d18.js → index-fee73a14.js} +62 -54
  17. package/atoms/ExtendedLoadMore/index.js +13 -5
  18. package/atoms/ExtendedLoadMore/styles.arrow.css +1 -1
  19. package/atoms/Headline/index.js +85 -76
  20. package/atoms/HeroImage/index.js +69 -60
  21. package/atoms/LoadmoreButton/index.js +32 -23
  22. package/atoms/ScrollSnap/index.js +72 -63
  23. package/atoms/SectionTag/index.js +34 -25
  24. package/atoms/Subheadline/index.js +31 -22
  25. package/atoms/TimeStamp/index.js +34 -24
  26. package/molecules/KeyEvents/index.js +72 -61
  27. package/molecules/PageIntroductionCard/index.js +43 -34
  28. package/molecules/SocialShareTemplate/index.js +97 -88
  29. package/molecules/StoryCard/index.js +242 -232
  30. package/molecules/StoryElementCard/index.js +512 -483
  31. package/molecules/StorycardContent/index.js +172 -162
  32. package/package.json +1 -1
  33. package/rows/AlternateCollectionFilter/index.js +345 -333
  34. package/rows/AsideCollection/index.js +340 -328
  35. package/rows/AstrologyCollection/index.js +321 -309
  36. package/rows/AuthorIntroductionCard/index.js +157 -148
  37. package/rows/AuthorsList/index.js +184 -174
  38. package/rows/CollectionFilter/index.js +361 -349
  39. package/rows/ElevenStories/index.js +357 -346
  40. package/rows/FourColFiveStories/index.js +304 -274
  41. package/rows/FourColGrid/index.js +351 -321
  42. package/rows/FourColPortraitStories/index.js +357 -327
  43. package/rows/FourColSixteenStories/index.js +288 -277
  44. package/rows/FourColTwelveStories/index.js +315 -304
  45. package/rows/FourStorySlider/index.js +358 -347
  46. package/rows/FourStorySliderPortrait/index.js +359 -348
  47. package/rows/FourTabbedBigStorySlider/index.js +322 -311
  48. package/rows/FullScreenSlider/index.js +336 -325
  49. package/rows/HalfScreenSlider/index.js +308 -297
  50. package/rows/ListComponent/index.js +322 -311
  51. package/rows/Listicles/index.js +150 -139
  52. package/rows/MagazineEditions/index.js +104 -93
  53. package/rows/MagazineHeaderCard/index.js +104 -93
  54. package/rows/MagazineWidget/index.js +326 -315
  55. package/rows/OneColStoryList/index.js +365 -335
  56. package/rows/OpinionCollection/index.js +250 -220
  57. package/rows/SixColSixStories/index.js +333 -303
  58. package/rows/StoryCollection/index.js +340 -328
  59. package/rows/TagIntroductionCard/index.js +30 -21
  60. package/rows/ThreeColFlexStories/index.js +348 -318
  61. package/rows/ThreeColFourteenStories/index.js +285 -274
  62. package/rows/ThreeColGrid/index.js +352 -322
  63. package/rows/ThreeColSevenStory/index.js +322 -311
  64. package/rows/ThreeColSixStories/index.js +323 -312
  65. package/rows/ThreeColTwelveStories/index.js +302 -291
  66. package/rows/TwoColFourStories/index.js +316 -305
  67. package/rows/TwoColFourStoryHighlight/index.js +317 -306
  68. package/rows/TwoColSevenStories/index.js +322 -311
  69. package/rows/TwoColSixStories/index.js +316 -305
  70. package/rows/TwoColTenStoriesSidebar/index.js +338 -327
  71. package/rows/TwoColThreeStories/index.js +316 -305
  72. package/story-elements/AlsoRead/index.js +70 -61
  73. package/story-elements/Attachment/index.js +40 -31
  74. package/story-elements/BigFact/index.js +35 -26
  75. package/story-elements/BlockQuote/index.js +61 -51
  76. package/story-elements/Blurb/index.js +36 -27
  77. package/story-elements/Image/index.js +113 -86
  78. package/story-elements/ImageGallery/index.js +98 -71
  79. package/story-elements/ImageSlideshow/index.js +147 -120
  80. package/story-elements/QuestionAnswer/index.js +55 -46
  81. package/story-elements/Quote/index.js +37 -28
  82. package/story-elements/Reference/index.js +40 -31
  83. package/story-elements/StoryElement/index.js +28 -19
  84. package/story-elements/Summary/index.js +40 -31
  85. package/story-elements/Text/index.js +34 -25
  86. package/story-elements/Video/index.js +29 -20
  87. package/story-templates/ListicleStoryTemplate/index.js +937 -908
  88. package/story-templates/LiveBlogStoryTemplate/index.js +942 -913
  89. package/story-templates/PhotoStoryTemplate/index.js +912 -883
  90. package/story-templates/TextStoryTemplate/index.js +931 -902
  91. package/story-templates/VideoStoryTemplate/index.js +897 -868
  92. package/atoms/ExtendedLoadMore/index-81eb3978.js +0 -86
@@ -1,9 +1,19 @@
1
- import React, { useContext, createContext, useState, useRef, useEffect } from 'react';
2
- import { connect, useSelector, useDispatch } from 'react-redux';
3
- import PropTypes, { PropTypes as PropTypes$1, number, string, func, array, bool } from 'prop-types';
4
- import { Link, LinkBase, ResponsiveImage, ResponsiveHeroImage, collectionToStories } from '@quintype/components';
5
- import Timeago from 'react-timeago';
6
- import { utcToZonedTime, format } from 'date-fns-tz';
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var reactRedux = require('react-redux');
7
+ var PropTypes = require('prop-types');
8
+ var components = require('@quintype/components');
9
+ var Timeago = require('react-timeago');
10
+ var dateFnsTz = require('date-fns-tz');
11
+
12
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
+
14
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
15
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
16
+ var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
7
17
 
8
18
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
19
 
@@ -1344,21 +1354,21 @@ function get(object, path, defaultValue) {
1344
1354
 
1345
1355
  var get_1 = get;
1346
1356
 
1347
- var StateContext = /*#__PURE__*/createContext(); // eslint-disable-next-line react/display-name
1357
+ var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
1348
1358
 
1349
1359
  var StateProvider = function StateProvider(RowComponent) {
1350
1360
  return function (props) {
1351
1361
  return (
1352
1362
  /*#__PURE__*/
1353
1363
  // eslint-disable-next-line react/prop-types
1354
- React.createElement(StateContext.Provider, {
1364
+ React__default["default"].createElement(StateContext.Provider, {
1355
1365
  value: props.config
1356
- }, /*#__PURE__*/React.createElement(RowComponent, props))
1366
+ }, /*#__PURE__*/React__default["default"].createElement(RowComponent, props))
1357
1367
  );
1358
1368
  };
1359
1369
  };
1360
1370
  var useStateValue = function useStateValue() {
1361
- return useContext(StateContext);
1371
+ return React.useContext(StateContext);
1362
1372
  };
1363
1373
 
1364
1374
  function _typeof(obj) {
@@ -2678,15 +2688,15 @@ var isEmpty = function isEmpty(value) {
2678
2688
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
2679
2689
  _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
2680
2690
  };
2681
- PropTypes.shape({
2682
- "sketches-host": PropTypes.string,
2683
- "cdn-name": PropTypes.string,
2684
- "cdn-image": PropTypes.string
2691
+ PropTypes__default["default"].shape({
2692
+ "sketches-host": PropTypes__default["default"].string,
2693
+ "cdn-name": PropTypes__default["default"].string,
2694
+ "cdn-image": PropTypes__default["default"].string
2685
2695
  });
2686
- PropTypes.shape({
2687
- headline: PropTypes.string,
2688
- "last-published-at": PropTypes.number,
2689
- subheadline: PropTypes.string
2696
+ PropTypes__default["default"].shape({
2697
+ headline: PropTypes__default["default"].string,
2698
+ "last-published-at": PropTypes__default["default"].number,
2699
+ subheadline: PropTypes__default["default"].string
2690
2700
  });
2691
2701
  var getStoryUrl = function getStoryUrl(story) {
2692
2702
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -2730,17 +2740,17 @@ var getTimeStamp = function getTimeStamp(date, _formatter) {
2730
2740
  var timezone = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
2731
2741
 
2732
2742
  if (timezone && template === "story") {
2733
- var zonedTime = timezone && utcToZonedTime(date, timezone);
2734
- var formatZonedTime = zonedTime && format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
2743
+ var zonedTime = timezone && dateFnsTz.utcToZonedTime(date, timezone);
2744
+ var formatZonedTime = zonedTime && dateFnsTz.format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
2735
2745
  timeZone: timezone
2736
2746
  });
2737
2747
  var timeStamp = timestampToFormat("", "", "", date, config);
2738
- return /*#__PURE__*/React.createElement("time", {
2748
+ return /*#__PURE__*/React__default["default"].createElement("time", {
2739
2749
  dateTime: formatZonedTime
2740
2750
  }, timeStamp);
2741
2751
  }
2742
2752
 
2743
- return /*#__PURE__*/React.createElement(Timeago, {
2753
+ return /*#__PURE__*/React__default["default"].createElement(Timeago__default["default"], {
2744
2754
  date: date,
2745
2755
  formatter: function formatter(value, unit, suffix, date) {
2746
2756
  return _formatter(value, unit, suffix, date, config);
@@ -2784,7 +2794,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
2784
2794
  var borderBottomFullStyle = templateStyle.includes("collection-borderBottomFull") ? "4px solid ".concat(CollectionNameBorderColor) : "";
2785
2795
 
2786
2796
  var borderBottomStyle = function borderBottomStyle() {
2787
- return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React.createElement("div", {
2797
+ return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React__default["default"].createElement("div", {
2788
2798
  className: "collection-name-m_border-bottom__1MnlV",
2789
2799
  style: {
2790
2800
  borderBottom: "4px solid ".concat(CollectionNameBorderColor)
@@ -2844,40 +2854,40 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
2844
2854
  }
2845
2855
  };
2846
2856
 
2847
- return /*#__PURE__*/React.createElement(React.Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React.createElement("div", {
2857
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React__default["default"].createElement("div", {
2848
2858
  style: {
2849
2859
  borderBottom: borderBottomFullStyle
2850
2860
  },
2851
2861
  "data-test-id": "collection-name",
2852
2862
  className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$f)
2853
- }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React.createElement("span", {
2863
+ }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
2854
2864
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
2855
2865
  style: {
2856
2866
  color: CollectionNameBorderColor,
2857
2867
  fontSize: getBorderHeight()
2858
2868
  }
2859
- }), slug && !slug.includes(undefined) ? /*#__PURE__*/React.createElement(Link, {
2869
+ }), slug && !slug.includes(undefined) ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
2860
2870
  href: slug,
2861
2871
  "aria-label": "collection-name"
2862
- }, /*#__PURE__*/React.createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React.createElement(HeaderTag, null, collectionName), borderBottomStyle()));
2872
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName), borderBottomStyle()));
2863
2873
  };
2864
2874
  CollectionNameBase.propTypes = {
2865
2875
  /** Collection name border color */
2866
- collectionNameBorderColor: PropTypes$1.string,
2876
+ collectionNameBorderColor: PropTypes.PropTypes.string,
2867
2877
 
2868
2878
  /** The Collection Object from the API response */
2869
- collection: PropTypes$1.object,
2879
+ collection: PropTypes.PropTypes.object,
2870
2880
 
2871
2881
  /** The publisher config from the API response */
2872
- config: PropTypes$1.object,
2882
+ config: PropTypes.PropTypes.object,
2873
2883
 
2874
2884
  /** The style template for the component */
2875
- collectionNameTemplate: PropTypes$1.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
2885
+ collectionNameTemplate: PropTypes.PropTypes.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
2876
2886
 
2877
2887
  /** Header tags ranging h1-h6, where h[headerLevel] */
2878
- headerLevel: PropTypes$1.string,
2879
- customCollectionName: PropTypes$1.string,
2880
- navigate: PropTypes$1.bool
2888
+ headerLevel: PropTypes.PropTypes.string,
2889
+ customCollectionName: PropTypes.PropTypes.string,
2890
+ navigate: PropTypes.PropTypes.bool
2881
2891
  };
2882
2892
  CollectionNameBase.defaultProps = {
2883
2893
  collectionNameTemplate: "",
@@ -2890,7 +2900,7 @@ function mapStateToProps$1(state) {
2890
2900
  };
2891
2901
  }
2892
2902
 
2893
- var CollectionName = connect(mapStateToProps$1)(CollectionNameBase);
2903
+ var CollectionName = reactRedux.connect(mapStateToProps$1)(CollectionNameBase);
2894
2904
 
2895
2905
  function _defineProperty(obj, key, value) {
2896
2906
  if (key in obj) {
@@ -2939,26 +2949,26 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
2939
2949
  if (!showButton) return null;
2940
2950
  var textColor = getTextColor(theme);
2941
2951
  var slug = customUrlPath ? "/".concat(customUrlPath) : generateNavigateSlug(collection, _objectSpread(_objectSpread({}, qtConfig), config));
2942
- return template === "SubsequentLoadCount" ? /*#__PURE__*/React.createElement("div", {
2952
+ return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
2943
2953
  onClick: onClick,
2944
2954
  "data-test-id": "load-more",
2945
2955
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$e)
2946
- }, buttonText) : /*#__PURE__*/React.createElement(LinkBase, {
2956
+ }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
2947
2957
  href: slug,
2948
2958
  navigateTo: navigate,
2949
2959
  "data-test-id": "load-more",
2950
2960
  "aria-label": "load-more"
2951
- }, /*#__PURE__*/React.createElement("div", {
2961
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2952
2962
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$e)
2953
2963
  }, buttonText));
2954
2964
  };
2955
2965
  LoadmoreButton.propTypes = {
2956
- collection: PropTypes.object,
2957
- template: PropTypes.string,
2958
- config: PropTypes.object,
2959
- onClick: PropTypes.func,
2960
- navigate: PropTypes.func,
2961
- qtConfig: PropTypes.object
2966
+ collection: PropTypes__default["default"].object,
2967
+ template: PropTypes__default["default"].string,
2968
+ config: PropTypes__default["default"].object,
2969
+ onClick: PropTypes__default["default"].func,
2970
+ navigate: PropTypes__default["default"].func,
2971
+ qtConfig: PropTypes__default["default"].object
2962
2972
  };
2963
2973
 
2964
2974
  var CrownIcon = function CrownIcon(_ref) {
@@ -2967,7 +2977,7 @@ var CrownIcon = function CrownIcon(_ref) {
2967
2977
  _ref$color = _ref.color,
2968
2978
  color = _ref$color === void 0 ? "#D8D8D8" : _ref$color,
2969
2979
  positionTop = _ref.positionTop;
2970
- return /*#__PURE__*/React.createElement("svg", {
2980
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
2971
2981
  xmlns: "http://www.w3.org/2000/svg",
2972
2982
  width: width,
2973
2983
  height: height,
@@ -2976,28 +2986,28 @@ var CrownIcon = function CrownIcon(_ref) {
2976
2986
  position: "relative",
2977
2987
  top: positionTop
2978
2988
  }
2979
- }, /*#__PURE__*/React.createElement("g", {
2989
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
2980
2990
  fill: "none",
2981
2991
  fillRule: "evenodd",
2982
2992
  stroke: "none",
2983
2993
  strokeWidth: "1"
2984
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
2994
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
2985
2995
  transform: "translate(8 8)"
2986
- }, /*#__PURE__*/React.createElement("path", {
2996
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
2987
2997
  d: "M0 0H24V24H0z"
2988
- }), /*#__PURE__*/React.createElement("g", {
2998
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
2989
2999
  fill: color,
2990
3000
  fillRule: "nonzero",
2991
3001
  transform: "translate(0 2)"
2992
- }, /*#__PURE__*/React.createElement("path", {
3002
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
2993
3003
  d: "M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"
2994
3004
  }))))));
2995
3005
  };
2996
3006
  CrownIcon.propTypes = {
2997
- height: PropTypes.string,
2998
- width: PropTypes.string,
2999
- color: PropTypes.string,
3000
- positionTop: PropTypes.string
3007
+ height: PropTypes__default["default"].string,
3008
+ width: PropTypes__default["default"].string,
3009
+ color: PropTypes__default["default"].string,
3010
+ positionTop: PropTypes__default["default"].string
3001
3011
  };
3002
3012
 
3003
3013
  var KeyIcon = function KeyIcon(_ref) {
@@ -3006,7 +3016,7 @@ var KeyIcon = function KeyIcon(_ref) {
3006
3016
  _ref$color = _ref.color,
3007
3017
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3008
3018
  positionTop = _ref.positionTop;
3009
- return /*#__PURE__*/React.createElement("svg", {
3019
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3010
3020
  xmlns: "http://www.w3.org/2000/svg",
3011
3021
  width: width,
3012
3022
  height: height,
@@ -3015,16 +3025,16 @@ var KeyIcon = function KeyIcon(_ref) {
3015
3025
  position: "relative",
3016
3026
  top: positionTop
3017
3027
  }
3018
- }, /*#__PURE__*/React.createElement("g", {
3028
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3019
3029
  fill: "none",
3020
3030
  fillRule: "evenodd",
3021
3031
  stroke: "none",
3022
3032
  strokeWidth: "1"
3023
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3033
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3024
3034
  transform: "translate(8 8)"
3025
- }, /*#__PURE__*/React.createElement("path", {
3035
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3026
3036
  d: "M0 0H24V24H0z"
3027
- }), /*#__PURE__*/React.createElement("path", {
3037
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
3028
3038
  fill: color,
3029
3039
  fillRule: "nonzero",
3030
3040
  d: "M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",
@@ -3032,10 +3042,10 @@ var KeyIcon = function KeyIcon(_ref) {
3032
3042
  })))));
3033
3043
  };
3034
3044
  KeyIcon.propTypes = {
3035
- height: PropTypes.string,
3036
- width: PropTypes.string,
3037
- color: PropTypes.string,
3038
- positionTop: PropTypes.string
3045
+ height: PropTypes__default["default"].string,
3046
+ width: PropTypes__default["default"].string,
3047
+ color: PropTypes__default["default"].string,
3048
+ positionTop: PropTypes__default["default"].string
3039
3049
  };
3040
3050
 
3041
3051
  var LockIcon = function LockIcon(_ref) {
@@ -3044,7 +3054,7 @@ var LockIcon = function LockIcon(_ref) {
3044
3054
  _ref$color = _ref.color,
3045
3055
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3046
3056
  positionTop = _ref.positionTop;
3047
- return /*#__PURE__*/React.createElement("svg", {
3057
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3048
3058
  xmlns: "http://www.w3.org/2000/svg",
3049
3059
  width: width,
3050
3060
  height: height,
@@ -3053,28 +3063,28 @@ var LockIcon = function LockIcon(_ref) {
3053
3063
  position: "relative",
3054
3064
  top: positionTop
3055
3065
  }
3056
- }, /*#__PURE__*/React.createElement("g", {
3066
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3057
3067
  fill: "none",
3058
3068
  fillRule: "evenodd",
3059
3069
  stroke: "none",
3060
3070
  strokeWidth: "1"
3061
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3071
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3062
3072
  transform: "translate(8 8)"
3063
- }, /*#__PURE__*/React.createElement("path", {
3073
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3064
3074
  d: "M0 0H24V24H0z"
3065
- }), /*#__PURE__*/React.createElement("g", {
3075
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
3066
3076
  fill: color,
3067
3077
  fillRule: "nonzero",
3068
3078
  transform: "translate(3)"
3069
- }, /*#__PURE__*/React.createElement("path", {
3079
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3070
3080
  d: "M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"
3071
3081
  }))))));
3072
3082
  };
3073
3083
  LockIcon.propTypes = {
3074
- height: PropTypes.string,
3075
- width: PropTypes.string,
3076
- color: PropTypes.string,
3077
- positionTop: PropTypes.string
3084
+ height: PropTypes__default["default"].string,
3085
+ width: PropTypes__default["default"].string,
3086
+ color: PropTypes__default["default"].string,
3087
+ positionTop: PropTypes__default["default"].string
3078
3088
  };
3079
3089
 
3080
3090
  var StarIcon = function StarIcon(_ref) {
@@ -3084,7 +3094,7 @@ var StarIcon = function StarIcon(_ref) {
3084
3094
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3085
3095
  _ref$positionTop = _ref.positionTop,
3086
3096
  positionTop = _ref$positionTop === void 0 ? "" : _ref$positionTop;
3087
- return /*#__PURE__*/React.createElement("svg", {
3097
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3088
3098
  xmlns: "http://www.w3.org/2000/svg",
3089
3099
  width: width,
3090
3100
  height: height,
@@ -3093,21 +3103,21 @@ var StarIcon = function StarIcon(_ref) {
3093
3103
  position: "relative",
3094
3104
  top: positionTop
3095
3105
  }
3096
- }, /*#__PURE__*/React.createElement("g", {
3106
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3097
3107
  fill: "none",
3098
3108
  fillRule: "evenodd",
3099
3109
  stroke: "none",
3100
3110
  strokeWidth: "1"
3101
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
3111
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
3102
3112
  fill: color,
3103
3113
  d: "M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"
3104
3114
  }))));
3105
3115
  };
3106
3116
  StarIcon.propTypes = {
3107
- height: PropTypes.string,
3108
- width: PropTypes.string,
3109
- color: PropTypes.string,
3110
- positionTop: PropTypes.string
3117
+ height: PropTypes__default["default"].string,
3118
+ width: PropTypes__default["default"].string,
3119
+ color: PropTypes__default["default"].string,
3120
+ positionTop: PropTypes__default["default"].string
3111
3121
  };
3112
3122
 
3113
3123
  var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
@@ -3119,7 +3129,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3119
3129
 
3120
3130
  switch (iconType) {
3121
3131
  case "crown":
3122
- return /*#__PURE__*/React.createElement(CrownIcon, {
3132
+ return /*#__PURE__*/React__default["default"].createElement(CrownIcon, {
3123
3133
  width: width,
3124
3134
  height: height,
3125
3135
  color: color,
@@ -3127,7 +3137,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3127
3137
  });
3128
3138
 
3129
3139
  case "lock":
3130
- return /*#__PURE__*/React.createElement(LockIcon, {
3140
+ return /*#__PURE__*/React__default["default"].createElement(LockIcon, {
3131
3141
  width: width,
3132
3142
  height: height,
3133
3143
  color: color,
@@ -3135,7 +3145,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3135
3145
  });
3136
3146
 
3137
3147
  case "key":
3138
- return /*#__PURE__*/React.createElement(KeyIcon, {
3148
+ return /*#__PURE__*/React__default["default"].createElement(KeyIcon, {
3139
3149
  width: width,
3140
3150
  height: height,
3141
3151
  color: color,
@@ -3143,7 +3153,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3143
3153
  });
3144
3154
 
3145
3155
  default:
3146
- return /*#__PURE__*/React.createElement(StarIcon, {
3156
+ return /*#__PURE__*/React__default["default"].createElement(StarIcon, {
3147
3157
  width: width,
3148
3158
  height: height,
3149
3159
  color: color,
@@ -3152,21 +3162,21 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3152
3162
  }
3153
3163
  };
3154
3164
  PremiumStoryIcon.propTypes = {
3155
- width: PropTypes.string,
3156
- height: PropTypes.string,
3157
- color: PropTypes.string,
3158
- iconType: PropTypes.string,
3159
- positionTop: PropTypes.string
3165
+ width: PropTypes__default["default"].string,
3166
+ height: PropTypes__default["default"].string,
3167
+ color: PropTypes__default["default"].string,
3168
+ iconType: PropTypes__default["default"].string,
3169
+ positionTop: PropTypes__default["default"].string
3160
3170
  };
3161
3171
 
3162
3172
  function LiveIcon() {
3163
- return /*#__PURE__*/React.createElement("svg", {
3173
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3164
3174
  className: "live-icon",
3165
3175
  xmlns: "http://www.w3.org/2000/svg",
3166
3176
  width: "25",
3167
3177
  height: "24",
3168
3178
  viewBox: "0 0 25 24"
3169
- }, /*#__PURE__*/React.createElement("path", {
3179
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3170
3180
  fill: "#ff5858",
3171
3181
  d: "M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"
3172
3182
  }));
@@ -3223,37 +3233,37 @@ var Headline = function Headline(_ref) {
3223
3233
  var wrapperClass = premiumStory ? "wrapper" : "";
3224
3234
  var iconSize = "24px";
3225
3235
  var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
3226
- return /*#__PURE__*/React.createElement("div", {
3236
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3227
3237
  "data-test-id": "headline",
3228
3238
  className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$d)
3229
- }, premiumStory && /*#__PURE__*/React.createElement(PremiumStoryIcon, {
3239
+ }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
3230
3240
  width: iconSize,
3231
3241
  height: iconSize,
3232
3242
  color: iconColor,
3233
3243
  iconType: iconStyle,
3234
3244
  positionTop: positionHeadline()
3235
- }), isLink ? /*#__PURE__*/React.createElement(Link, {
3245
+ }), isLink ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
3236
3246
  href: getStoryUrl(story, "/".concat(story.slug)),
3237
3247
  externalLink: isExternalStory(story),
3238
3248
  "aria-label": "headline"
3239
- }, /*#__PURE__*/React.createElement(HeaderTag, {
3249
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3240
3250
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$d)
3241
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline)) : /*#__PURE__*/React.createElement(HeaderTag, {
3251
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3242
3252
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$d)
3243
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline));
3253
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
3244
3254
  };
3245
3255
  Headline.propTypes = {
3246
3256
  /** The Story Object from the API response */
3247
- story: PropTypes.object.isRequired,
3257
+ story: PropTypes__default["default"].object.isRequired,
3248
3258
 
3249
3259
  /** Header tags ranging h1-h6, where h[headerLevel] */
3250
- headerLevel: PropTypes.string,
3251
- premiumStoryIconConfig: PropTypes.shape({
3252
- iconColor: PropTypes.string,
3253
- iconType: PropTypes.string,
3254
- enablePremiumStoryIcon: PropTypes.bool
3260
+ headerLevel: PropTypes__default["default"].string,
3261
+ premiumStoryIconConfig: PropTypes__default["default"].shape({
3262
+ iconColor: PropTypes__default["default"].string,
3263
+ iconType: PropTypes__default["default"].string,
3264
+ enablePremiumStoryIcon: PropTypes__default["default"].bool
3255
3265
  }),
3256
- isLink: PropTypes.bool
3266
+ isLink: PropTypes__default["default"].bool
3257
3267
  };
3258
3268
  Headline.defaultProps = {
3259
3269
  headerLevel: "6",
@@ -3280,7 +3290,7 @@ var Subheadline = function Subheadline(_ref) {
3280
3290
  var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
3281
3291
  if (!subheadline) return null;
3282
3292
  var textColor = getTextColor(config.theme);
3283
- return /*#__PURE__*/React.createElement("div", {
3293
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3284
3294
  style: {
3285
3295
  WebkitLineClamp: lineClamp
3286
3296
  },
@@ -3290,15 +3300,15 @@ var Subheadline = function Subheadline(_ref) {
3290
3300
  };
3291
3301
  Subheadline.propTypes = {
3292
3302
  /** The Story Object from the API response */
3293
- story: PropTypes.object.isRequired,
3303
+ story: PropTypes__default["default"].object.isRequired,
3294
3304
  // Restricts the number of lines for subheadline.
3295
- lineClamp: PropTypes.number,
3305
+ lineClamp: PropTypes__default["default"].number,
3296
3306
 
3297
3307
  /** Number of characters to truncate the subheadline */
3298
- truncateChars: PropTypes.number,
3299
- clazzName: PropTypes.string,
3300
- forceShowAtom: PropTypes.bool,
3301
- showFullContent: PropTypes.bool
3308
+ truncateChars: PropTypes__default["default"].number,
3309
+ clazzName: PropTypes__default["default"].string,
3310
+ forceShowAtom: PropTypes__default["default"].bool,
3311
+ showFullContent: PropTypes__default["default"].bool
3302
3312
  };
3303
3313
  Subheadline.defaultProps = {
3304
3314
  forceShowAtom: false,
@@ -3324,18 +3334,18 @@ var TimeStamp = function TimeStamp(_ref) {
3324
3334
  var time = story["last-published-at"] || story["first-published-at"];
3325
3335
  var isBottomClasses = isBottom ? "bottom-fix" : "";
3326
3336
  var textColor = getTextColor(configState.theme);
3327
- return /*#__PURE__*/React.createElement(React.Fragment, null, isTime && /*#__PURE__*/React.createElement("div", {
3337
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
3328
3338
  "data-test-id": "publish-time",
3329
3339
  className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$b)
3330
- }, /*#__PURE__*/React.createElement("div", {
3340
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3331
3341
  className: "timestamp-m_time-wrapper__3O2lM"
3332
3342
  }, getTimeStamp(time, formatter, config))));
3333
3343
  };
3334
3344
  TimeStamp.propTypes = {
3335
3345
  /** The Story Object from the API response */
3336
- story: PropTypes.object,
3337
- isBottom: PropTypes.bool,
3338
- config: PropTypes.object
3346
+ story: PropTypes__default["default"].object,
3347
+ isBottom: PropTypes__default["default"].bool,
3348
+ config: PropTypes__default["default"].object
3339
3349
  };
3340
3350
 
3341
3351
  var _styleModuleImportMap$a = {
@@ -3378,10 +3388,10 @@ var AuthorBase = function AuthorBase(_ref) {
3378
3388
  return null;
3379
3389
  }
3380
3390
 
3381
- return /*#__PURE__*/React.createElement("div", {
3391
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3382
3392
  "data-test-id": "author-image",
3383
3393
  className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$a)
3384
- }, /*#__PURE__*/React.createElement("figure", null, avatarS3Key ? /*#__PURE__*/React.createElement(ResponsiveImage, {
3394
+ }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
3385
3395
  slug: avatarS3Key,
3386
3396
  "aspect-ratio": [1, 1],
3387
3397
  defaultWidth: 400,
@@ -3389,14 +3399,14 @@ var AuthorBase = function AuthorBase(_ref) {
3389
3399
  auto: ["format", "compress"]
3390
3400
  },
3391
3401
  alt: authorName
3392
- }) : /*#__PURE__*/React.createElement("img", {
3402
+ }) : /*#__PURE__*/React__default["default"].createElement("img", {
3393
3403
  src: avatarUrl
3394
3404
  })));
3395
3405
  };
3396
3406
 
3397
3407
  var isPrefix = function isPrefix(dir) {
3398
3408
  if (prefix) {
3399
- return /*#__PURE__*/React.createElement("div", {
3409
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3400
3410
  className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$a)
3401
3411
  }, prefix);
3402
3412
  }
@@ -3404,11 +3414,11 @@ var AuthorBase = function AuthorBase(_ref) {
3404
3414
  return !hideAuthorImage && authorImage(dir);
3405
3415
  };
3406
3416
 
3407
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement(Link, {
3417
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
3408
3418
  href: "".concat(mountAt, "/author/") + slug,
3409
3419
  "aria-label": "author-name",
3410
3420
  className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$a)
3411
- }, isPrefix("ltr"), /*#__PURE__*/React.createElement("div", {
3421
+ }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
3412
3422
  "data-test-id": "author-name",
3413
3423
  className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$a)
3414
3424
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
@@ -3420,18 +3430,18 @@ function mapStateToProps(state) {
3420
3430
  };
3421
3431
  }
3422
3432
 
3423
- var Author = connect(mapStateToProps)(AuthorBase);
3433
+ var Author = reactRedux.connect(mapStateToProps)(AuthorBase);
3424
3434
  AuthorBase.propTypes = {
3425
3435
  /** The Story Object from the API response */
3426
- story: PropTypes.object.isRequired,
3436
+ story: PropTypes__default["default"].object.isRequired,
3427
3437
 
3428
3438
  /** Hide Author Avatar Image */
3429
- hideAuthorImage: PropTypes.bool,
3439
+ hideAuthorImage: PropTypes__default["default"].bool,
3430
3440
  // fix Author bottom of the storyCard
3431
- isBottom: PropTypes.bool,
3441
+ isBottom: PropTypes__default["default"].bool,
3432
3442
  // fix prefix before the author name
3433
- prefix: PropTypes.string,
3434
- config: PropTypes.object
3443
+ prefix: PropTypes__default["default"].string,
3444
+ config: PropTypes__default["default"].object
3435
3445
  };
3436
3446
  AuthorBase.defaultProps = {
3437
3447
  hideAuthorImage: false,
@@ -3452,14 +3462,14 @@ var Dot = function Dot(_ref) {
3452
3462
  height = _ref$height === void 0 ? "3px" : _ref$height,
3453
3463
  _ref$color = _ref.color,
3454
3464
  color = _ref$color === void 0 ? "light" : _ref$color;
3455
- return /*#__PURE__*/React.createElement("div", {
3465
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3456
3466
  className: _getClassName(color, _styleModuleImportMap$9)
3457
- }, /*#__PURE__*/React.createElement("svg", {
3467
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3458
3468
  xmlns: "http://www.w3.org/2000/svg",
3459
3469
  width: width,
3460
3470
  height: height,
3461
3471
  viewBox: "0 0 3 3"
3462
- }, /*#__PURE__*/React.createElement("circle", {
3472
+ }, /*#__PURE__*/React__default["default"].createElement("circle", {
3463
3473
  cx: "87",
3464
3474
  cy: "9",
3465
3475
  r: "1",
@@ -3470,9 +3480,9 @@ var Dot = function Dot(_ref) {
3470
3480
  };
3471
3481
  Dot.propTypes = {
3472
3482
  /** height , width and color of the dot icon */
3473
- color: PropTypes.string,
3474
- width: PropTypes.string,
3475
- height: PropTypes.string
3483
+ color: PropTypes__default["default"].string,
3484
+ width: PropTypes__default["default"].string,
3485
+ height: PropTypes__default["default"].string
3476
3486
  };
3477
3487
 
3478
3488
  var _styleModuleImportMap$8 = {
@@ -3488,22 +3498,22 @@ var Divider = function Divider(_ref) {
3488
3498
  height = _ref$height === void 0 ? "10" : _ref$height,
3489
3499
  _ref$color = _ref.color,
3490
3500
  color = _ref$color === void 0 ? "light" : _ref$color;
3491
- return /*#__PURE__*/React.createElement("div", {
3501
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3492
3502
  className: _getClassName(color, _styleModuleImportMap$8)
3493
- }, /*#__PURE__*/React.createElement("svg", {
3503
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3494
3504
  xmlns: "http://www.w3.org/2000/svg",
3495
3505
  width: width,
3496
3506
  height: height
3497
- }, /*#__PURE__*/React.createElement("path", {
3507
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3498
3508
  fill: "inherit",
3499
3509
  d: "M0 0h1v10H0z"
3500
3510
  })));
3501
3511
  };
3502
3512
  Divider.propTypes = {
3503
3513
  /** height , width and color of the dot icon */
3504
- color: PropTypes.string,
3505
- width: PropTypes.string,
3506
- height: PropTypes.string
3514
+ color: PropTypes__default["default"].string,
3515
+ width: PropTypes__default["default"].string,
3516
+ height: PropTypes__default["default"].string
3507
3517
  };
3508
3518
 
3509
3519
  var _styleModuleImportMap$7 = {
@@ -3526,23 +3536,23 @@ var ReadTime = function ReadTime(_ref) {
3526
3536
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
3527
3537
  if (!showReadTime || !readTime) return null;
3528
3538
  var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
3529
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
3539
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3530
3540
  "data-test-id": "read-time",
3531
3541
  className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$7)
3532
- }, /*#__PURE__*/React.createElement("span", {
3542
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
3533
3543
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
3534
- }, /*#__PURE__*/React.createElement(Dot, {
3544
+ }, /*#__PURE__*/React__default["default"].createElement(Dot, {
3535
3545
  color: textColor
3536
- })), /*#__PURE__*/React.createElement("span", null, readTime, " ", timeToRead)));
3546
+ })), /*#__PURE__*/React__default["default"].createElement("span", null, readTime, " ", timeToRead)));
3537
3547
  };
3538
3548
  ReadTime.propTypes = {
3539
- story: PropTypes.shape({
3540
- "read-time": PropTypes.number
3549
+ story: PropTypes__default["default"].shape({
3550
+ "read-time": PropTypes__default["default"].number
3541
3551
  }),
3542
- opts: PropTypes.shape({
3543
- showReadTime: PropTypes.bool
3552
+ opts: PropTypes__default["default"].shape({
3553
+ showReadTime: PropTypes__default["default"].bool
3544
3554
  }),
3545
- isLightTheme: PropTypes.bool
3555
+ isLightTheme: PropTypes__default["default"].bool
3546
3556
  };
3547
3557
 
3548
3558
  var _styleModuleImportMap$6 = {
@@ -3573,33 +3583,33 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3573
3583
 
3574
3584
  var getSeparator = function getSeparator() {
3575
3585
  if (separator === "divider") {
3576
- return /*#__PURE__*/React.createElement(Divider, {
3586
+ return /*#__PURE__*/React__default["default"].createElement(Divider, {
3577
3587
  color: textColor
3578
3588
  });
3579
3589
  }
3580
3590
 
3581
- return /*#__PURE__*/React.createElement(Dot, {
3591
+ return /*#__PURE__*/React__default["default"].createElement(Dot, {
3582
3592
  color: textColor
3583
3593
  });
3584
3594
  };
3585
3595
 
3586
3596
  var getTimeStamp = function getTimeStamp() {
3587
3597
  if (!isTime) return null;
3588
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement("span", {
3598
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
3589
3599
  className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$6)
3590
- }, getSeparator()), /*#__PURE__*/React.createElement(TimeStamp, {
3600
+ }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
3591
3601
  story: story,
3592
3602
  config: config
3593
- }), isReadTime && /*#__PURE__*/React.createElement(ReadTime, {
3603
+ }), isReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
3594
3604
  story: story,
3595
3605
  opts: config,
3596
3606
  isLightTheme: isLightTheme
3597
3607
  }));
3598
3608
  };
3599
3609
 
3600
- return /*#__PURE__*/React.createElement("div", {
3610
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3601
3611
  className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$6)
3602
- }, isAuthor ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Author, {
3612
+ }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
3603
3613
  story: story,
3604
3614
  isBottom: true,
3605
3615
  hideAuthorImage: hideAuthorImage,
@@ -3607,19 +3617,19 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3607
3617
  }), getTimeStamp()) : getTimeStamp());
3608
3618
  };
3609
3619
  AuthorWithTime.propTypes = {
3610
- story: PropTypes.object,
3620
+ story: PropTypes__default["default"].object,
3611
3621
 
3612
3622
  /** Style of separator between the Author & Timestamp */
3613
- separator: PropTypes.oneOf(["dot", "divider"]),
3623
+ separator: PropTypes__default["default"].oneOf(["dot", "divider"]),
3614
3624
 
3615
3625
  /** hide the author image */
3616
- hideAuthorImage: PropTypes.bool,
3626
+ hideAuthorImage: PropTypes__default["default"].bool,
3617
3627
  // fix author and time at the end
3618
- isBottom: PropTypes.bool,
3628
+ isBottom: PropTypes__default["default"].bool,
3619
3629
  // fix prefix before the author name
3620
- prefix: PropTypes.string,
3621
- config: PropTypes.object,
3622
- isLightTheme: PropTypes.bool
3630
+ prefix: PropTypes__default["default"].string,
3631
+ config: PropTypes__default["default"].object,
3632
+ isLightTheme: PropTypes__default["default"].bool
3623
3633
  };
3624
3634
  AuthorWithTime.defaultProps = {
3625
3635
  separator: "dot",
@@ -3697,27 +3707,27 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
3697
3707
  height = _ref$height === void 0 ? 30 : _ref$height,
3698
3708
  _ref$iconColor = _ref.iconColor,
3699
3709
  iconColor = _ref$iconColor === void 0 ? "#99B0CB" : _ref$iconColor;
3700
- return /*#__PURE__*/React.createElement("svg", {
3710
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3701
3711
  width: width,
3702
3712
  height: height,
3703
3713
  viewBox: "0 0 102 76",
3704
3714
  version: "1.1"
3705
- }, /*#__PURE__*/React.createElement("g", {
3715
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3706
3716
  id: "demo-home-copy",
3707
3717
  stroke: "none",
3708
3718
  strokeWidth: "1",
3709
3719
  fill: "none",
3710
3720
  fillRule: "evenodd",
3711
3721
  transform: "translate(-377.000000, -314.000000)"
3712
- }, /*#__PURE__*/React.createElement("g", {
3722
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3713
3723
  id: "Group-13",
3714
3724
  transform: "translate(377.000000, 314.000000)"
3715
- }, /*#__PURE__*/React.createElement("path", {
3725
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3716
3726
  d: "M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",
3717
3727
  id: "Combined-Shape",
3718
3728
  fill: iconColor,
3719
3729
  fillRule: "nonzero"
3720
- }), /*#__PURE__*/React.createElement("rect", {
3730
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
3721
3731
  id: "Rectangle-19",
3722
3732
  stroke: iconColor,
3723
3733
  strokeWidth: "3",
@@ -3729,24 +3739,24 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
3729
3739
  }))));
3730
3740
  };
3731
3741
  ImageFallbackIcon.propTypes = {
3732
- width: PropTypes.object,
3733
- height: PropTypes.object,
3734
- iconColor: PropTypes.object
3742
+ width: PropTypes__default["default"].object,
3743
+ height: PropTypes__default["default"].object,
3744
+ iconColor: PropTypes__default["default"].object
3735
3745
  };
3736
3746
 
3737
3747
  var imageFallback = function imageFallback() {
3738
- return /*#__PURE__*/React.createElement("div", {
3748
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3739
3749
  className: "arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"
3740
- }, /*#__PURE__*/React.createElement("figure", {
3750
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
3741
3751
  className: "arr--fallback-svg fallback-m_fallback-svg__tK9fL"
3742
- }, /*#__PURE__*/React.createElement(ImageFallbackIcon, null)));
3752
+ }, /*#__PURE__*/React__default["default"].createElement(ImageFallbackIcon, null)));
3743
3753
  };
3744
3754
 
3745
3755
  var FallbackImage = function FallbackImage(_ref) {
3746
3756
  var slug = _ref.slug;
3747
3757
 
3748
3758
  if (slug) {
3749
- return /*#__PURE__*/React.createElement(Link, {
3759
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3750
3760
  href: slug,
3751
3761
  "aria-label": "image-fallback"
3752
3762
  }, imageFallback());
@@ -3755,23 +3765,23 @@ var FallbackImage = function FallbackImage(_ref) {
3755
3765
  }
3756
3766
  };
3757
3767
  FallbackImage.propTypes = {
3758
- slug: PropTypes.string
3768
+ slug: PropTypes__default["default"].string
3759
3769
  };
3760
3770
 
3761
3771
  var HyperLinkIcon = function HyperLinkIcon() {
3762
- return /*#__PURE__*/React.createElement("svg", {
3772
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3763
3773
  xmlns: "http://www.w3.org/2000/svg",
3764
3774
  width: "36",
3765
3775
  height: "28"
3766
- }, /*#__PURE__*/React.createElement("g", {
3776
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3767
3777
  fill: "none",
3768
3778
  fillRule: "evenodd"
3769
- }, /*#__PURE__*/React.createElement("rect", {
3779
+ }, /*#__PURE__*/React__default["default"].createElement("rect", {
3770
3780
  width: "36",
3771
3781
  height: "28",
3772
3782
  fill: "#3D6FCF",
3773
3783
  rx: "4"
3774
- }), /*#__PURE__*/React.createElement("path", {
3784
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
3775
3785
  stroke: "#FFF",
3776
3786
  strokeLinecap: "round",
3777
3787
  strokeLinejoin: "round",
@@ -3784,16 +3794,16 @@ var HyperLink = function HyperLink(_ref) {
3784
3794
  var _ref$hyperLink = _ref.hyperLink,
3785
3795
  hyperLink = _ref$hyperLink === void 0 ? "" : _ref$hyperLink;
3786
3796
  if (!hyperLink) return null;
3787
- return /*#__PURE__*/React.createElement(Link, {
3797
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3788
3798
  href: hyperLink,
3789
3799
  "aria-label": "hyperlink-button",
3790
3800
  className: "arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",
3791
3801
  target: "_blank",
3792
3802
  rel: "noopener noreferrer"
3793
- }, /*#__PURE__*/React.createElement(HyperLinkIcon, null));
3803
+ }, /*#__PURE__*/React__default["default"].createElement(HyperLinkIcon, null));
3794
3804
  };
3795
3805
  HyperLink.propTypes = {
3796
- hyperLink: PropTypes.string
3806
+ hyperLink: PropTypes__default["default"].string
3797
3807
  };
3798
3808
 
3799
3809
  var _styleModuleImportMap$5 = {
@@ -3829,7 +3839,7 @@ var HeroImage = function HeroImage(_ref) {
3829
3839
  StoryTemplateIcon = _config$StoryTemplate === void 0 ? function () {
3830
3840
  return null;
3831
3841
  } : _config$StoryTemplate;
3832
- var showImagePlaceholder = useSelector(function (state) {
3842
+ var showImagePlaceholder = reactRedux.useSelector(function (state) {
3833
3843
  return get_1(state, ["qt", "config", "showPlaceholder"]);
3834
3844
  });
3835
3845
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
@@ -3865,37 +3875,37 @@ var HeroImage = function HeroImage(_ref) {
3865
3875
  var fallbackImage = function fallbackImage() {
3866
3876
  if (!slug) {
3867
3877
  if (fallbackImageUrl && !isStoryPageImage) {
3868
- return /*#__PURE__*/React.createElement("figure", {
3878
+ return /*#__PURE__*/React__default["default"].createElement("figure", {
3869
3879
  style: {
3870
3880
  paddingTop: imagePadding + "%"
3871
3881
  },
3872
3882
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$5)
3873
- }, /*#__PURE__*/React.createElement("img", {
3883
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
3874
3884
  className: "qt-image",
3875
3885
  "data-src": "".concat(fallbackImageUrl),
3876
3886
  alt: "image-fallback"
3877
3887
  }));
3878
3888
  }
3879
3889
 
3880
- return /*#__PURE__*/React.createElement(React.Fragment, null, defaultFallback ? /*#__PURE__*/React.createElement("div", {
3890
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, defaultFallback ? /*#__PURE__*/React__default["default"].createElement("div", {
3881
3891
  "data-test-id": "arr--fallback-hero-image",
3882
3892
  style: {
3883
3893
  paddingTop: imagePadding + "%"
3884
3894
  },
3885
3895
  className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$5)
3886
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
3896
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3887
3897
  storyTemplate: story["story-template"]
3888
- }), /*#__PURE__*/React.createElement(FallbackImage, null)) : null);
3898
+ }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
3889
3899
  }
3890
3900
 
3891
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("figure", {
3901
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("figure", {
3892
3902
  style: {
3893
3903
  paddingTop: imagePadding + "%"
3894
3904
  },
3895
3905
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$5)
3896
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
3906
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3897
3907
  storyTemplate: story["story-template"]
3898
- }), /*#__PURE__*/React.createElement(ResponsiveHeroImage, {
3908
+ }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
3899
3909
  story: story,
3900
3910
  aspectRatio: imageAspectRatio,
3901
3911
  defaultWidth: defaultWidth,
@@ -3904,15 +3914,15 @@ var HeroImage = function HeroImage(_ref) {
3904
3914
  auto: ["format", "compress"],
3905
3915
  fit: "max"
3906
3916
  }
3907
- })), isStoryPageImage && hyperLink && /*#__PURE__*/React.createElement(HyperLink, {
3917
+ })), isStoryPageImage && hyperLink && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
3908
3918
  hyperLink: hyperLink
3909
3919
  }));
3910
3920
  };
3911
3921
 
3912
- return story && (isStoryPageImage ? /*#__PURE__*/React.createElement("div", {
3922
+ return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
3913
3923
  "data-test-id": "arr--hero-image",
3914
3924
  className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$5)
3915
- }, fallbackImage()) : /*#__PURE__*/React.createElement(Link, {
3925
+ }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
3916
3926
  "data-test-id": "arr--hero-image",
3917
3927
  href: getStoryUrl(story, "/".concat(story.slug)),
3918
3928
  externalLink: isExternalStory(story),
@@ -3922,30 +3932,30 @@ var HeroImage = function HeroImage(_ref) {
3922
3932
  };
3923
3933
  HeroImage.propTypes = {
3924
3934
  /** The Story Object from the API response */
3925
- story: PropTypes.object.isRequired,
3935
+ story: PropTypes__default["default"].object.isRequired,
3926
3936
 
3927
3937
  /** Removes the Hero Image padding for the image to bleed over the margin */
3928
- FullBleed: PropTypes.bool,
3938
+ FullBleed: PropTypes__default["default"].bool,
3929
3939
 
3930
3940
  /** The default width for the image, in case the browser does not support srcset */
3931
- defaultWidth: PropTypes.number,
3941
+ defaultWidth: PropTypes__default["default"].number,
3932
3942
 
3933
3943
  /** The list of available widths */
3934
- widths: PropTypes.array,
3944
+ widths: PropTypes__default["default"].array,
3935
3945
  // fatch the correct hero image
3936
- aspectRatio: PropTypes.array,
3946
+ aspectRatio: PropTypes__default["default"].array,
3937
3947
  // Hints for the browser to choose the best size
3938
3948
 
3939
3949
  /** This prop is responsible for adding padding-right of the image and remove padding bottom of the image */
3940
- isHorizontal: PropTypes.bool,
3950
+ isHorizontal: PropTypes__default["default"].bool,
3941
3951
 
3942
3952
  /** This prop is responsible for adding padding-bottom in desktop and padding-right in mobile */
3943
- isHorizontalMobile: PropTypes.bool,
3953
+ isHorizontalMobile: PropTypes__default["default"].bool,
3944
3954
  // this prop is responsive for rendering fallback image on story page
3945
- defaultFallback: PropTypes.bool,
3946
- isHorizontalWithImageLast: PropTypes.bool,
3947
- isStoryPageImage: PropTypes.bool,
3948
- config: PropTypes.object
3955
+ defaultFallback: PropTypes__default["default"].bool,
3956
+ isHorizontalWithImageLast: PropTypes__default["default"].bool,
3957
+ isStoryPageImage: PropTypes__default["default"].bool,
3958
+ config: PropTypes__default["default"].object
3949
3959
  };
3950
3960
  HeroImage.defaultProps = {
3951
3961
  FullBleed: true,
@@ -3995,22 +4005,22 @@ var SectionTag = function SectionTag(_ref) {
3995
4005
  }
3996
4006
 
3997
4007
  if (!isSection) return null;
3998
- return /*#__PURE__*/React.createElement(Link, {
4008
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3999
4009
  href: getUrl,
4000
4010
  className: "arrow-component arr--section-name",
4001
4011
  "aria-label": "section-name"
4002
- }, /*#__PURE__*/React.createElement("div", {
4012
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4003
4013
  "data-test-id": "sectionTag",
4004
4014
  style: {
4005
4015
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
4006
4016
  },
4007
4017
  className: "section-tag arrow-component " + _getClassName("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$4)
4008
- }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React.createElement("span", {
4018
+ }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
4009
4019
  className: "section-m_border-left__2oUyp",
4010
4020
  style: {
4011
4021
  color: sectionTagBorderColor
4012
4022
  }
4013
- }), section["display-name"] || section["name"], /*#__PURE__*/React.createElement("div", {
4023
+ }), section["display-name"] || section["name"], /*#__PURE__*/React__default["default"].createElement("div", {
4014
4024
  className: "section-m_border-bottom__3cRoD",
4015
4025
  style: {
4016
4026
  backgroundColor: "".concat(template === "solid" ? "" : sectionTagBorderColor)
@@ -4019,13 +4029,13 @@ var SectionTag = function SectionTag(_ref) {
4019
4029
  };
4020
4030
  SectionTag.propTypes = {
4021
4031
  /** The Story Object from the API response */
4022
- story: PropTypes.object.isRequired,
4032
+ story: PropTypes__default["default"].object.isRequired,
4023
4033
 
4024
4034
  /** The style template for section tag */
4025
- template: PropTypes.oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
4026
- borderColor: PropTypes.string,
4027
- solidBorderColor: PropTypes.string,
4028
- isLightTheme: PropTypes.bool
4035
+ template: PropTypes__default["default"].oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
4036
+ borderColor: PropTypes__default["default"].string,
4037
+ solidBorderColor: PropTypes__default["default"].string,
4038
+ isLightTheme: PropTypes__default["default"].bool
4029
4039
  };
4030
4040
  SectionTag.defaultProps = {
4031
4041
  template: "",
@@ -4074,7 +4084,7 @@ var StoryCard = function StoryCard(_ref) {
4074
4084
  prefix = _ref.prefix,
4075
4085
  config = _ref.config,
4076
4086
  isHorizontalWithImageLast = _ref.isHorizontalWithImageLast;
4077
- if (!story || isEmpty(story)) return /*#__PURE__*/React.createElement("div", null);
4087
+ if (!story || isEmpty(story)) return /*#__PURE__*/React__default["default"].createElement("div", null);
4078
4088
  var borderOptions = ["default", "full", "bottom", "boxShadow"];
4079
4089
  var borderTemplate = borderOptions.includes(border) ? "border-".concat(border) : ""; // TODO optimize conditions
4080
4090
 
@@ -4084,7 +4094,7 @@ var StoryCard = function StoryCard(_ref) {
4084
4094
  var bgImgContentOverlapClass = bgImgContentOverlap ? "content-overlap" : "";
4085
4095
  var textColor = getTextColor(theme);
4086
4096
  var horizontalMobileClasses = isHorizontalMobile ? "horizontal-mob" : "";
4087
- var defaultStorycard = /*#__PURE__*/React.createElement(DefaultStoryCard, {
4097
+ var defaultStorycard = /*#__PURE__*/React__default["default"].createElement(DefaultStoryCard, {
4088
4098
  story: story,
4089
4099
  aspectRatio: aspectRatio,
4090
4100
  border: border,
@@ -4098,7 +4108,7 @@ var StoryCard = function StoryCard(_ref) {
4098
4108
  config: config,
4099
4109
  isHorizontalWithImageLast: isHorizontalWithImageLast
4100
4110
  });
4101
- return /*#__PURE__*/React.createElement("div", {
4111
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4102
4112
  "data-test-id": "story-card",
4103
4113
  style: {
4104
4114
  backgroundColor: theme,
@@ -4127,91 +4137,91 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
4127
4137
  var SectionTagborderColor = rgbToHex(borderColor);
4128
4138
  var _config$localizationC = config.localizationConfig,
4129
4139
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
4130
- return /*#__PURE__*/React.createElement(React.Fragment, null, isHorizontal ? /*#__PURE__*/React.createElement(HeroImage, {
4140
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isHorizontal ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4131
4141
  config: config,
4132
4142
  story: story,
4133
4143
  isHorizontal: true,
4134
4144
  isHorizontalMobile: isHorizontalMobile,
4135
4145
  aspectRatio: aspectRatio
4136
- }) : isHorizontalWithImageLast ? /*#__PURE__*/React.createElement(HeroImage, {
4146
+ }) : isHorizontalWithImageLast ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4137
4147
  config: config,
4138
4148
  story: story,
4139
4149
  isHorizontalWithImageLast: true,
4140
4150
  isHorizontalMobile: isHorizontalMobile,
4141
4151
  aspectRatio: aspectRatio
4142
- }) : /*#__PURE__*/React.createElement(HeroImage, {
4152
+ }) : /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4143
4153
  story: story,
4144
4154
  config: config,
4145
4155
  isHorizontalMobile: isHorizontalMobile,
4146
4156
  aspectRatio: aspectRatio
4147
- }), /*#__PURE__*/React.createElement("div", {
4157
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4148
4158
  className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$3)
4149
- }, /*#__PURE__*/React.createElement(SectionTag, {
4159
+ }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4150
4160
  story: story,
4151
4161
  borderColor: SectionTagborderColor
4152
- }), /*#__PURE__*/React.createElement(Headline, {
4162
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
4153
4163
  story: story,
4154
4164
  headerLevel: headerLevel,
4155
4165
  premiumStoryIconConfig: config
4156
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4166
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4157
4167
  config: localizationConfig,
4158
4168
  story: story,
4159
4169
  isBottom: true,
4160
4170
  prefix: prefix,
4161
4171
  hideAuthorImage: hideAuthorImage
4162
- }), /*#__PURE__*/React.createElement(Subheadline, {
4172
+ }), /*#__PURE__*/React__default["default"].createElement(Subheadline, {
4163
4173
  story: story
4164
4174
  })));
4165
4175
  };
4166
4176
 
4167
4177
  DefaultStoryCard.propTypes = {
4168
- story: PropTypes.object.isRequired,
4169
- border: PropTypes.oneOfType([PropTypes.string]),
4170
- isBottom: PropTypes.bool,
4171
- isHorizontal: PropTypes.bool,
4172
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4173
- isHorizontalMobile: PropTypes.bool,
4174
- centerAlign: PropTypes.bool,
4175
- headerLevel: PropTypes.string,
4176
- borderColor: PropTypes.string,
4177
- hideAuthorImage: PropTypes.bool,
4178
- prefix: PropTypes.string,
4179
- config: PropTypes.object,
4180
- isHorizontalWithImageLast: PropTypes.bool
4178
+ story: PropTypes__default["default"].object.isRequired,
4179
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4180
+ isBottom: PropTypes__default["default"].bool,
4181
+ isHorizontal: PropTypes__default["default"].bool,
4182
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4183
+ isHorizontalMobile: PropTypes__default["default"].bool,
4184
+ centerAlign: PropTypes__default["default"].bool,
4185
+ headerLevel: PropTypes__default["default"].string,
4186
+ borderColor: PropTypes__default["default"].string,
4187
+ hideAuthorImage: PropTypes__default["default"].bool,
4188
+ prefix: PropTypes__default["default"].string,
4189
+ config: PropTypes__default["default"].object,
4190
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4181
4191
  };
4182
4192
  StoryCard.propTypes = {
4183
4193
  /** The Story Object from the API response */
4184
- story: PropTypes.object.isRequired,
4185
- children: PropTypes.node,
4194
+ story: PropTypes__default["default"].object.isRequired,
4195
+ children: PropTypes__default["default"].node,
4186
4196
 
4187
4197
  /** Flip the Story Card to Horizonal mode */
4188
- isHorizontal: PropTypes.bool,
4198
+ isHorizontal: PropTypes__default["default"].bool,
4189
4199
 
4190
4200
  /** Add border to the Story Card */
4191
- border: PropTypes.oneOfType([PropTypes.string]),
4201
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4192
4202
  // story card with background image
4193
- useImageAsBackground: PropTypes.bool,
4203
+ useImageAsBackground: PropTypes__default["default"].bool,
4194
4204
  // story card content overlap with image
4195
- bgImgContentOverlap: PropTypes.bool,
4205
+ bgImgContentOverlap: PropTypes__default["default"].bool,
4196
4206
 
4197
4207
  /** add aspect ratio for hero image */
4198
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4208
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4199
4209
 
4200
4210
  /** add theme(dark /light/custom color) for storycard */
4201
- theme: PropTypes.string,
4211
+ theme: PropTypes__default["default"].string,
4202
4212
 
4203
4213
  /** flip the story card mobile design horizontal */
4204
- isHorizontalMobile: PropTypes.bool,
4214
+ isHorizontalMobile: PropTypes__default["default"].bool,
4205
4215
  // make content center align in desktop and left align in mobile
4206
- centerAlign: PropTypes.bool,
4207
- headerLevel: PropTypes.string,
4208
- borderColor: PropTypes.string,
4216
+ centerAlign: PropTypes__default["default"].bool,
4217
+ headerLevel: PropTypes__default["default"].string,
4218
+ borderColor: PropTypes__default["default"].string,
4209
4219
  // handle author image through storycard
4210
- hideAuthorImage: PropTypes.bool,
4220
+ hideAuthorImage: PropTypes__default["default"].bool,
4211
4221
  // handle author prefix through storycard
4212
- prefix: PropTypes.string,
4213
- config: PropTypes.object,
4214
- isHorizontalWithImageLast: PropTypes.bool
4222
+ prefix: PropTypes__default["default"].string,
4223
+ config: PropTypes__default["default"].object,
4224
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4215
4225
  };
4216
4226
  StoryCard.defaultProps = {
4217
4227
  isHorizontal: false,
@@ -4226,47 +4236,47 @@ StoryCard.defaultProps = {
4226
4236
  var LeftArrow = function LeftArrow(_ref) {
4227
4237
  var _ref$color = _ref.color,
4228
4238
  color = _ref$color === void 0 ? "#333" : _ref$color;
4229
- return /*#__PURE__*/React.createElement("svg", {
4239
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4230
4240
  xmlns: "http://www.w3.org/2000/svg",
4231
4241
  width: "16",
4232
4242
  height: "16",
4233
4243
  viewBox: "0 0 10 16"
4234
- }, /*#__PURE__*/React.createElement("g", {
4244
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4235
4245
  fill: "none",
4236
4246
  fillRule: "nonzero"
4237
- }, /*#__PURE__*/React.createElement("path", {
4247
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4238
4248
  d: "M17 20H-7V-4h24z",
4239
4249
  opacity: ".384"
4240
- }), /*#__PURE__*/React.createElement("path", {
4250
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
4241
4251
  stroke: color,
4242
4252
  d: "M9 16L1 8l8-8"
4243
4253
  })));
4244
4254
  };
4245
4255
  LeftArrow.propTypes = {
4246
- color: PropTypes.string
4256
+ color: PropTypes__default["default"].string
4247
4257
  };
4248
4258
 
4249
4259
  var RightArrow = function RightArrow(_ref) {
4250
4260
  var _ref$color = _ref.color,
4251
4261
  color = _ref$color === void 0 ? "#333" : _ref$color;
4252
- return /*#__PURE__*/React.createElement("svg", {
4262
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4253
4263
  xmlns: "http://www.w3.org/2000/svg",
4254
4264
  width: "16",
4255
4265
  height: "16",
4256
4266
  viewBox: "0 0 10 16"
4257
- }, /*#__PURE__*/React.createElement("g", {
4267
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4258
4268
  fill: "none",
4259
4269
  fillRule: "nonzero"
4260
- }, /*#__PURE__*/React.createElement("path", {
4270
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4261
4271
  d: "M-7-4h24v24H-7z",
4262
4272
  opacity: ".384"
4263
- }), /*#__PURE__*/React.createElement("path", {
4273
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
4264
4274
  stroke: color,
4265
4275
  d: "M1 0l8 8-8 8"
4266
4276
  })));
4267
4277
  };
4268
4278
  RightArrow.propTypes = {
4269
- color: PropTypes.string
4279
+ color: PropTypes__default["default"].string
4270
4280
  };
4271
4281
 
4272
4282
  var _styleModuleImportMap$2 = {
@@ -4304,26 +4314,26 @@ var SliderArrow = function SliderArrow(_ref) {
4304
4314
 
4305
4315
  var getLeftArrowClassName = languageDirection === "rtl" ? "left-arrow-rtl" : "left-arrow-ltr";
4306
4316
  var getRightArrowClassName = languageDirection === "rtl" ? "right-arrow-rtl" : "right-arrow-ltr";
4307
- return /*#__PURE__*/React.createElement(React.Fragment, null, selectedIndex !== 0 ? /*#__PURE__*/React.createElement("button", {
4317
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, selectedIndex !== 0 ? /*#__PURE__*/React__default["default"].createElement("button", {
4308
4318
  onClick: previousClick,
4309
4319
  className: ("left-arrow ".concat(getLeftArrowClassName) ? "left-arrow ".concat(getLeftArrowClassName) + " " : "") + _getClassName("arrow left-arrow-".concat(textColor, " ").concat(getLeftArrowClassName), _styleModuleImportMap$2)
4310
- }, /*#__PURE__*/React.createElement(LeftArrow, {
4320
+ }, /*#__PURE__*/React__default["default"].createElement(LeftArrow, {
4311
4321
  color: textColor === "dark" ? "#fff" : "#333"
4312
- })) : null, selectedIndex < noOfItems - 1 && rightArrowView() ? /*#__PURE__*/React.createElement("button", {
4322
+ })) : null, selectedIndex < noOfItems - 1 && rightArrowView() ? /*#__PURE__*/React__default["default"].createElement("button", {
4313
4323
  onClick: nextClick,
4314
4324
  className: ("right-arrow ".concat(getRightArrowClassName) ? "right-arrow ".concat(getRightArrowClassName) + " " : "") + _getClassName("arrow right-arrow-".concat(textColor, " ").concat(getRightArrowClassName), _styleModuleImportMap$2)
4315
- }, /*#__PURE__*/React.createElement(RightArrow, {
4325
+ }, /*#__PURE__*/React__default["default"].createElement(RightArrow, {
4316
4326
  color: textColor === "dark" ? "#fff" : "#333"
4317
4327
  })) : null);
4318
4328
  };
4319
4329
  SliderArrow.propTypes = {
4320
- noOfItems: number,
4321
- perView: number,
4322
- slideIndicator: string,
4323
- previousClick: func,
4324
- nextClick: func,
4325
- selectedIndex: number,
4326
- languageDirection: string
4330
+ noOfItems: PropTypes.number,
4331
+ perView: PropTypes.number,
4332
+ slideIndicator: PropTypes.string,
4333
+ previousClick: PropTypes.func,
4334
+ nextClick: PropTypes.func,
4335
+ selectedIndex: PropTypes.number,
4336
+ languageDirection: PropTypes.string
4327
4337
  };
4328
4338
 
4329
4339
  var _styleModuleImportMap$1 = {
@@ -4351,27 +4361,27 @@ var SliderIndicator = function SliderIndicator(_ref) {
4351
4361
 
4352
4362
  var config = useStateValue() || {};
4353
4363
  var textColor = getTextColor(config.theme);
4354
- return /*#__PURE__*/React.createElement("ul", {
4364
+ return /*#__PURE__*/React__default["default"].createElement("ul", {
4355
4365
  className: "slider-indicators slider-indicator-m_indicators__3MNXc"
4356
4366
  }, indicatorItems.map(function (_, index) {
4357
- return /*#__PURE__*/React.createElement("li", {
4367
+ return /*#__PURE__*/React__default["default"].createElement("li", {
4358
4368
  key: "slider-".concat(index),
4359
4369
  className: "indicator slider-indicator-m_indicator__gTv3x",
4360
4370
  onClick: function onClick(e) {
4361
4371
  return indicatorClick(e, index);
4362
4372
  }
4363
- }, /*#__PURE__*/React.createElement("button", {
4373
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
4364
4374
  "aria-pressed": selectedIndex === index ? "true" : "false",
4365
4375
  className: ("indicator-button indicator-".concat(indicatorType) ? "indicator-button indicator-".concat(indicatorType) + " " : "") + _getClassName("indicator-button indicator-".concat(indicatorType, " indicator-").concat(indicatorType, "-").concat(textColor), _styleModuleImportMap$1)
4366
4376
  }));
4367
4377
  }));
4368
4378
  };
4369
4379
  SliderIndicator.propTypes = {
4370
- indicatorItems: array,
4371
- perView: number,
4372
- indicatorType: string,
4373
- indicatorClick: func,
4374
- selectedIndex: number
4380
+ indicatorItems: PropTypes.array,
4381
+ perView: PropTypes.number,
4382
+ indicatorType: PropTypes.string,
4383
+ indicatorClick: PropTypes.func,
4384
+ selectedIndex: PropTypes.number
4375
4385
  };
4376
4386
 
4377
4387
  var smoothScroll = function smoothScroll(node, topOrLeft, horizontal) {
@@ -4406,24 +4416,24 @@ var ScrollSnap = function ScrollSnap(_ref) {
4406
4416
  perView = _ref.perView,
4407
4417
  slideIndicator = _ref.slideIndicator;
4408
4418
 
4409
- var _useState = useState(0),
4419
+ var _useState = React.useState(0),
4410
4420
  _useState2 = _slicedToArray(_useState, 2),
4411
4421
  selectedIndex = _useState2[0],
4412
4422
  setSelectedIndex = _useState2[1];
4413
4423
 
4414
- var _useState3 = useState(false),
4424
+ var _useState3 = React.useState(false),
4415
4425
  _useState4 = _slicedToArray(_useState3, 2),
4416
4426
  autoScroll = _useState4[0],
4417
4427
  setAutoScroll = _useState4[1];
4418
4428
 
4419
- var languageDirection = useSelector(function (state) {
4429
+ var languageDirection = reactRedux.useSelector(function (state) {
4420
4430
  return get_1(state, ["qt", "config", "language", "direction"], "ltr");
4421
4431
  });
4422
4432
  var noOfItems = children ? children.length : 0;
4423
- var scroller = useRef(null);
4433
+ var scroller = React.useRef(null);
4424
4434
  var numberOfIndicatorsToShow = children.length - (perView - 1);
4425
4435
  var indicatorItems = children.slice(0, numberOfIndicatorsToShow);
4426
- useEffect(function () {
4436
+ React.useEffect(function () {
4427
4437
  if (scroller.current) {
4428
4438
  scroller.current.addEventListener("scroll", setIndicatorValue(function () {
4429
4439
  var value = Math.round(scroller.current.scrollLeft / scroller.current.scrollWidth * noOfItems);
@@ -4440,7 +4450,7 @@ var ScrollSnap = function ScrollSnap(_ref) {
4440
4450
  };
4441
4451
  }, []); // Infinite scroll
4442
4452
 
4443
- useEffect(function () {
4453
+ React.useEffect(function () {
4444
4454
  if (isInfinite && !autoScroll) {
4445
4455
  var timer = setInterval(function () {
4446
4456
  infiniteScroll();
@@ -4489,23 +4499,23 @@ var ScrollSnap = function ScrollSnap(_ref) {
4489
4499
  updateItemSelection(newIndex, languageDirection, scroller, noOfItems);
4490
4500
  };
4491
4501
 
4492
- return /*#__PURE__*/React.createElement("div", {
4502
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4493
4503
  className: "scroll-snap-container"
4494
- }, /*#__PURE__*/React.createElement("div", {
4504
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4495
4505
  className: "scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",
4496
4506
  onMouseEnter: pauseAutoPlay,
4497
4507
  onMouseLeave: pauseAutoPlay
4498
- }, /*#__PURE__*/React.createElement("div", {
4508
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4499
4509
  ref: scroller,
4500
4510
  className: "scroll-snap-carousel scroll-snap-m_carousel__2m3cg"
4501
- }, children), isArrow && /*#__PURE__*/React.createElement(SliderArrow, {
4511
+ }, children), isArrow && /*#__PURE__*/React__default["default"].createElement(SliderArrow, {
4502
4512
  noOfItems: noOfItems,
4503
4513
  perView: perView,
4504
4514
  previousClick: previousClick,
4505
4515
  nextClick: nextClick,
4506
4516
  selectedIndex: selectedIndex,
4507
4517
  languageDirection: languageDirection
4508
- })), children.length > perView && slideIndicator !== "none" && /*#__PURE__*/React.createElement(SliderIndicator, {
4518
+ })), children.length > perView && slideIndicator !== "none" && /*#__PURE__*/React__default["default"].createElement(SliderIndicator, {
4509
4519
  indicatorItems: indicatorItems,
4510
4520
  indicatorClick: indicatorClick,
4511
4521
  selectedIndex: selectedIndex,
@@ -4521,13 +4531,13 @@ ScrollSnap.defaultProps = {
4521
4531
  slideIndicator: "dots"
4522
4532
  };
4523
4533
  ScrollSnap.propTypes = {
4524
- children: array.isRequired,
4525
- isArrow: bool,
4526
- isInfinite: bool,
4527
- interval: number,
4528
- pauseOnHover: bool,
4529
- perView: number,
4530
- slideIndicator: string
4534
+ children: PropTypes.array.isRequired,
4535
+ isArrow: PropTypes.bool,
4536
+ isInfinite: PropTypes.bool,
4537
+ interval: PropTypes.number,
4538
+ pauseOnHover: PropTypes.bool,
4539
+ perView: PropTypes.number,
4540
+ slideIndicator: PropTypes.string
4531
4541
  };
4532
4542
 
4533
4543
  var _styleModuleImportMap = {
@@ -4573,7 +4583,7 @@ var FullScreenSliderBase = function FullScreenSliderBase(_ref) {
4573
4583
  _config$aspectRatio = config.aspectRatio,
4574
4584
  aspectRatio = _config$aspectRatio === void 0 ? [[16, 9], [4, 2]] : _config$aspectRatio;
4575
4585
  var footerSlot = footerSlotConfig.footerSlot;
4576
- var items = collectionToStories(collection);
4586
+ var items = components.collectionToStories(collection);
4577
4587
  var containerStyle = isFullWidth ? "full-width" : "container-width";
4578
4588
  var alignment = contentAlignment === "center" ? "content-align" : "";
4579
4589
 
@@ -4581,8 +4591,8 @@ var FullScreenSliderBase = function FullScreenSliderBase(_ref) {
4581
4591
  return null;
4582
4592
  }
4583
4593
 
4584
- var dispatch = useDispatch();
4585
- var qtConfig = useSelector(function (state) {
4594
+ var dispatch = reactRedux.useDispatch();
4595
+ var qtConfig = reactRedux.useSelector(function (state) {
4586
4596
  return get_1(state, ["qt", "config"], {});
4587
4597
  });
4588
4598
  var url = generateNavigateSlug(collection, qtConfig);
@@ -4590,30 +4600,30 @@ var FullScreenSliderBase = function FullScreenSliderBase(_ref) {
4590
4600
  var textColor = getTextColor(theme);
4591
4601
  var footerSlotComp = footerSlot ? footerSlot() : null;
4592
4602
  var imageAspectRatio = aspectRatio || [[16, 9], [4, 2]];
4593
- return /*#__PURE__*/React.createElement("div", {
4603
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4594
4604
  className: ("arrow-component full-width-with-padding ".concat(containerStyle) ? "arrow-component full-width-with-padding ".concat(containerStyle) + " " : "") + "full-screen-slider-m_full-screen-slider-wrapper__2bQ74",
4595
4605
  "data-test-id": "full-screen-slider",
4596
4606
  style: {
4597
4607
  backgroundColor: theme,
4598
4608
  color: textColor
4599
4609
  }
4600
- }, /*#__PURE__*/React.createElement("div", {
4610
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4601
4611
  className: _getClassName("full-screen-slider ".concat(containerStyle), _styleModuleImportMap)
4602
- }, /*#__PURE__*/React.createElement("span", {
4612
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
4603
4613
  className: _getClassName("".concat(containerStyle), _styleModuleImportMap)
4604
- }, /*#__PURE__*/React.createElement(CollectionName, {
4614
+ }, /*#__PURE__*/React__default["default"].createElement(CollectionName, {
4605
4615
  collection: collection,
4606
4616
  collectionNameTemplate: collectionNameTemplate,
4607
4617
  collectionNameBorderColor: collectionNameBorderColor,
4608
4618
  className: _getClassName("".concat(containerStyle), _styleModuleImportMap)
4609
- })), /*#__PURE__*/React.createElement("div", {
4619
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4610
4620
  className: _getClassName("wrapper ".concat(containerStyle, " ").concat(alignment), _styleModuleImportMap)
4611
- }, /*#__PURE__*/React.createElement(ScrollSnap, {
4621
+ }, /*#__PURE__*/React__default["default"].createElement(ScrollSnap, {
4612
4622
  isArrow: navigationArrows,
4613
4623
  slideIndicator: slideIndicator,
4614
4624
  isInfinite: isInfinite
4615
4625
  }, items.slice(0, showNumberOfStoriesToShow).map(function (story, index) {
4616
- return /*#__PURE__*/React.createElement(StoryCard, {
4626
+ return /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4617
4627
  key: index,
4618
4628
  story: story,
4619
4629
  useImageAsBackground: true,
@@ -4622,7 +4632,7 @@ var FullScreenSliderBase = function FullScreenSliderBase(_ref) {
4622
4632
  borderColor: borderColor,
4623
4633
  config: config
4624
4634
  });
4625
- }))), /*#__PURE__*/React.createElement(LoadmoreButton, {
4635
+ }))), /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
4626
4636
  collection: collection,
4627
4637
  template: footerButton,
4628
4638
  config: config,
@@ -4634,28 +4644,29 @@ var FullScreenSliderBase = function FullScreenSliderBase(_ref) {
4634
4644
  };
4635
4645
  FullScreenSliderBase.propTypes = {
4636
4646
  /** collection is the array of objects which is returning by API */
4637
- collection: PropTypes.object.isRequired,
4647
+ collection: PropTypes__default["default"].object.isRequired,
4638
4648
 
4639
4649
  /** The config for the Row */
4640
- config: PropTypes.shape({
4650
+ config: PropTypes__default["default"].shape({
4641
4651
  // section tag border color
4642
- borderColor: PropTypes.string,
4652
+ borderColor: PropTypes__default["default"].string,
4643
4653
  // backgroundColor and text color based on theme
4644
- theme: PropTypes.string,
4654
+ theme: PropTypes__default["default"].string,
4645
4655
  // row title style
4646
- collectionTemplate: PropTypes.string,
4656
+ collectionTemplate: PropTypes__default["default"].string,
4647
4657
  // width of the slider
4648
- isFullWidth: PropTypes.bool,
4658
+ isFullWidth: PropTypes__default["default"].bool,
4649
4659
  // no of slides in slider
4650
- numberOfStoriesToShow: PropTypes.number,
4660
+ numberOfStoriesToShow: PropTypes__default["default"].number,
4651
4661
  // content alignment
4652
- contentAlignment: PropTypes.string,
4653
- footerButton: PropTypes.string,
4654
- collectionNameBorderColor: PropTypes.string,
4662
+ contentAlignment: PropTypes__default["default"].string,
4663
+ footerButton: PropTypes__default["default"].string,
4664
+ collectionNameBorderColor: PropTypes__default["default"].string,
4655
4665
  // aspect ratio of the image
4656
- aspectRatio: PropTypes.array
4666
+ aspectRatio: PropTypes__default["default"].array
4657
4667
  })
4658
4668
  };
4659
4669
  var FullScreenSlider = StateProvider(FullScreenSliderBase);
4660
4670
 
4661
- export { FullScreenSlider, FullScreenSliderBase };
4671
+ exports.FullScreenSlider = FullScreenSlider;
4672
+ exports.FullScreenSliderBase = FullScreenSliderBase;