@quintype/arrow 3.51.7 → 3.51.8-refactor-date-fns.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.
Files changed (93) hide show
  1. package/AlternateCollectionFilter/chunks/index-62abe1c1.js +1 -0
  2. package/AlternateCollectionFilter/chunks/index-b4c2c246.js +1 -0
  3. package/AsideCollection/chunks/index-1cb9980e.js +1 -0
  4. package/AsideCollection/chunks/index-d150109d.js +1 -0
  5. package/AstrologyCollection/chunks/index-0ccd8484.js +1 -0
  6. package/AstrologyCollection/chunks/index-9c011270.js +1 -0
  7. package/AuthorWithTime/chunks/index-077d5174.js +1 -0
  8. package/AuthorWithTime/chunks/index-d905cb82.js +1 -0
  9. package/CollectionFilter/chunks/index-2ea9b57d.js +1 -0
  10. package/CollectionFilter/chunks/index-582f2162.js +1 -0
  11. package/ElevenStories/chunks/index-2a43db84.js +1 -0
  12. package/ElevenStories/chunks/index-c8ca657b.js +1 -0
  13. package/EventStoryTemplate/chunks/index-26f357db.js +1 -0
  14. package/EventStoryTemplate/chunks/index-9a46552d.js +1 -0
  15. package/FourColFiveStories/chunks/index-706cf479.js +1 -0
  16. package/FourColFiveStories/chunks/index-f1838d2d.js +1 -0
  17. package/FourColGrid/chunks/index-34781ab9.js +1 -0
  18. package/FourColGrid/chunks/index-576a4648.js +1 -0
  19. package/FourColPortraitStories/chunks/index-7bdc720d.js +1 -0
  20. package/FourColPortraitStories/chunks/index-dc4f580b.js +1 -0
  21. package/FourColSixteenStories/chunks/index-54e72b34.js +1 -0
  22. package/FourColSixteenStories/chunks/index-6c7f1c6e.js +1 -0
  23. package/FourColTwelveStories/chunks/index-28e96c6a.js +1 -0
  24. package/FourColTwelveStories/chunks/index-648d5fa0.js +1 -0
  25. package/FourStorySlider/chunks/index-91dc4ffd.js +1 -0
  26. package/FourStorySlider/chunks/index-e281e282.js +1 -0
  27. package/FourStorySliderPortrait/chunks/index-00178996.js +1 -0
  28. package/FourStorySliderPortrait/chunks/index-4d011e51.js +1 -0
  29. package/FourTabbedBigStorySlider/chunks/index-790ee772.js +1 -0
  30. package/FourTabbedBigStorySlider/chunks/index-9f9a08a1.js +1 -0
  31. package/FullScreenSlider/chunks/index-384c1eb2.js +1 -0
  32. package/FullScreenSlider/chunks/index-545ff449.js +1 -0
  33. package/HalfScreenSlider/chunks/index-4f42decd.js +1 -0
  34. package/HalfScreenSlider/chunks/index-b9dd9182.js +1 -0
  35. package/ListComponent/chunks/index-ced37633.js +1 -0
  36. package/ListComponent/chunks/index-ed8f1637.js +1 -0
  37. package/ListicleStoryTemplate/chunks/index-26c72c97.js +1 -0
  38. package/ListicleStoryTemplate/chunks/index-7921acd1.js +1 -0
  39. package/LiveBlogStoryTemplate/chunks/index-c5e35e63.js +1 -0
  40. package/LiveBlogStoryTemplate/chunks/index-f3f0f2ab.js +1 -0
  41. package/MagazineWidget/chunks/index-4b0711ff.js +1 -0
  42. package/MagazineWidget/chunks/index-5a49858f.js +1 -0
  43. package/OneColStoryList/chunks/index-23281570.js +1 -0
  44. package/OneColStoryList/chunks/index-6b03e11e.js +1 -0
  45. package/OpinionCollection/chunks/index-b41dbb00.js +1 -0
  46. package/OpinionCollection/chunks/index-f461a3f9.js +1 -0
  47. package/PhotoStoryTemplate/chunks/index-e6ea8f0b.js +1 -0
  48. package/PhotoStoryTemplate/chunks/index-f0561ee3.js +1 -0
  49. package/SixColSixStories/chunks/index-3f13a704.js +1 -0
  50. package/SixColSixStories/chunks/index-7ba2dc2f.js +1 -0
  51. package/StoryCard/chunks/index-33aad113.js +1 -0
  52. package/StoryCard/chunks/index-a96c2b45.js +1 -0
  53. package/StoryCollection/chunks/index-5ccf09dc.js +1 -0
  54. package/StoryCollection/chunks/index-fb3be363.js +1 -0
  55. package/StorycardContent/chunks/index-0cacf259.js +1 -0
  56. package/StorycardContent/chunks/index-10fc69e6.js +1 -0
  57. package/TextStoryTemplate/chunks/index-17363b3e.js +1 -0
  58. package/TextStoryTemplate/chunks/index-461cd089.js +1 -0
  59. package/ThreeColFlexStories/chunks/index-64567cff.js +1 -0
  60. package/ThreeColFlexStories/chunks/index-8994ddfa.js +1 -0
  61. package/ThreeColFourteenStories/chunks/index-1435cb0b.js +1 -0
  62. package/ThreeColFourteenStories/chunks/index-f46c9f32.js +1 -0
  63. package/ThreeColGrid/chunks/index-1a0fa056.js +1 -0
  64. package/ThreeColGrid/chunks/index-c0a80a68.js +1 -0
  65. package/ThreeColSevenStory/chunks/index-37353dee.js +1 -0
  66. package/ThreeColSevenStory/chunks/index-c166e932.js +1 -0
  67. package/ThreeColSixStories/chunks/index-b28fbec8.js +1 -0
  68. package/ThreeColSixStories/chunks/index-e3aada73.js +1 -0
  69. package/ThreeColTwelveStories/chunks/index-c0fb1fc6.js +1 -0
  70. package/ThreeColTwelveStories/chunks/index-f026441a.js +1 -0
  71. package/TimeStamp/chunks/index-2289d975.js +1 -0
  72. package/TimeStamp/chunks/index-bfb1bafc.js +1 -0
  73. package/TwoColFourStories/chunks/index-358d0273.js +1 -0
  74. package/TwoColFourStories/chunks/index-3ed41585.js +1 -0
  75. package/TwoColFourStoryHighlight/chunks/index-ab52ce9e.js +1 -0
  76. package/TwoColFourStoryHighlight/chunks/index-cfb5db18.js +1 -0
  77. package/TwoColSevenStories/chunks/index-5646bd2f.js +1 -0
  78. package/TwoColSevenStories/chunks/index-db6eae2a.js +1 -0
  79. package/TwoColSixStories/chunks/index-0223241a.js +1 -0
  80. package/TwoColSixStories/chunks/index-20eb7f0a.js +1 -0
  81. package/TwoColTenStoriesSidebar/chunks/index-0fb71b01.js +1 -0
  82. package/TwoColTenStoriesSidebar/chunks/index-663c5d1d.js +1 -0
  83. package/TwoColThreeStories/chunks/index-75e483b4.js +1 -0
  84. package/TwoColThreeStories/chunks/index-79bc678a.js +1 -0
  85. package/VideoStoryTemplate/chunks/index-a4bcd0de.js +1 -0
  86. package/VideoStoryTemplate/chunks/index-f8cbbc83.js +1 -0
  87. package/cjs/chunks/index-4975167a.js +1 -0
  88. package/cjs/chunks/index-75107762.js +1 -0
  89. package/cjs/index.js +1 -1
  90. package/esm/chunks/index-a98907f1.js +1 -0
  91. package/esm/chunks/index-b96492aa.js +1 -0
  92. package/esm/index.js +1 -1
  93. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import e,{createContext as t,useContext as r,useState as o,useEffect as n}from"react";import a from"axios";import i,{PropTypes as l}from"prop-types";import c from"lodash.get";import{useSelector as s,connect as u,useDispatch as d}from"react-redux";import{Link as m,LinkBase as h,ResponsiveHeroImage as p,ResponsiveImage as f,LazyLoadImages as g,collectionToStories as v}from"@quintype/components";import b from"lodash.camelcase";import y from"lodash.kebabcase";import _ from"react-timeago";import{utcToZonedTime as w,format as E}from"date-fns-tz";import{formatDistanceToNowStrict as C}from"date-fns";function k(e,t,r,o,n,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(o,n)}function x(e){return function(){var t=this,r=arguments;return new Promise((function(o,n){var a=e.apply(t,r);function i(e){k(a,o,n,i,l,"next",e)}function l(e){k(a,o,n,i,l,"throw",e)}i(void 0)}))}}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function z(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function M(e){var t={exports:{}};return e(t,t.exports),t.exports}var j=M((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new I(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===p){if("throw"===n)throw a;return z()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=x(i,r);if(l){if(l===f)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?p:m,c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=p,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",p="completed",f={};function g(){}function v(){}function b(){}var y={};c(y,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(S([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=b.prototype=g.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function x(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method))return f;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,f;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function S(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:z}}function z(){return{value:t,done:!0}}return v.prototype=b,c(E,"constructor",b),c(b,"constructor",v),v.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},C(k.prototype),c(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new k(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=S,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;L(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:S(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})),N=M((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),P=z(M((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=N)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),O=t(),H=function(t){return function(r){return e.createElement(O.Provider,{value:r.config},e.createElement(t,r))}},R=function(){return r(O)};function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}var A=Array.isArray,B="object"==typeof S&&S&&S.Object===Object&&S,V="object"==typeof self&&self&&self.Object===Object&&self,F=B||V||Function("return this")(),Z=F.Symbol,q=Object.prototype,W=q.hasOwnProperty,U=q.toString,G=Z?Z.toStringTag:void 0;var J=function(e){var t=W.call(e,G),r=e[G];try{e[G]=void 0;var o=!0}catch(e){}var n=U.call(e);return o&&(t?e[G]=r:delete e[G]),n},Y=Object.prototype.toString;var K=function(e){return Y.call(e)},$=Z?Z.toStringTag:void 0;var Q=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?J(e):K(e)};var X=function(e){return null!=e&&"object"==typeof e};var ee=function(e){return"symbol"==typeof e||X(e)&&"[object Symbol]"==Q(e)},te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/;var oe=function(e,t){if(A(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ee(e))||(re.test(e)||!te.test(e)||null!=t&&e in Object(t))};var ne=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var ae,ie=function(e){if(!ne(e))return!1;var t=Q(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},le=F["__core-js_shared__"],ce=(ae=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+ae:"";var se=function(e){return!!ce&&ce in e},ue=Function.prototype.toString;var de=function(e){if(null!=e){try{return ue.call(e)}catch(e){}try{return e+""}catch(e){}}return""},me=/^\[object .+?Constructor\]$/,he=Function.prototype,pe=Object.prototype,fe=he.toString,ge=pe.hasOwnProperty,ve=RegExp("^"+fe.call(ge).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var be=function(e){return!(!ne(e)||se(e))&&(ie(e)?ve:me).test(de(e))};var ye=function(e,t){return null==e?void 0:e[t]};var _e=function(e,t){var r=ye(e,t);return be(r)?r:void 0},we=_e(Object,"create");var Ee=function(){this.__data__=we?we(null):{},this.size=0};var Ce=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ke=Object.prototype.hasOwnProperty;var xe=function(e){var t=this.__data__;if(we){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ke.call(t,e)?t[e]:void 0},Te=Object.prototype.hasOwnProperty;var Le=function(e){var t=this.__data__;return we?void 0!==t[e]:Te.call(t,e)};var Ie=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=we&&void 0===t?"__lodash_hash_undefined__":t,this};function Se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Se.prototype.clear=Ee,Se.prototype.delete=Ce,Se.prototype.get=xe,Se.prototype.has=Le,Se.prototype.set=Ie;var ze=Se;var Me=function(){this.__data__=[],this.size=0};var je=function(e,t){return e===t||e!=e&&t!=t};var Ne=function(e,t){for(var r=e.length;r--;)if(je(e[r][0],t))return r;return-1},Pe=Array.prototype.splice;var Oe=function(e){var t=this.__data__,r=Ne(t,e);return!(r<0)&&(r==t.length-1?t.pop():Pe.call(t,r,1),--this.size,!0)};var He=function(e){var t=this.__data__,r=Ne(t,e);return r<0?void 0:t[r][1]};var Re=function(e){return Ne(this.__data__,e)>-1};var De=function(e,t){var r=this.__data__,o=Ne(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ae(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ae.prototype.clear=Me,Ae.prototype.delete=Oe,Ae.prototype.get=He,Ae.prototype.has=Re,Ae.prototype.set=De;var Be=Ae,Ve=_e(F,"Map");var Fe=function(){this.size=0,this.__data__={hash:new ze,map:new(Ve||Be),string:new ze}};var Ze=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var qe=function(e,t){var r=e.__data__;return Ze(t)?r["string"==typeof t?"string":"hash"]:r.map};var We=function(e){var t=qe(this,e).delete(e);return this.size-=t?1:0,t};var Ue=function(e){return qe(this,e).get(e)};var Ge=function(e){return qe(this,e).has(e)};var Je=function(e,t){var r=qe(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ye(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ye.prototype.clear=Fe,Ye.prototype.delete=We,Ye.prototype.get=Ue,Ye.prototype.has=Ge,Ye.prototype.set=Je;var Ke=Ye;function $e(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new($e.Cache||Ke),r}$e.Cache=Ke;var Qe=$e;var Xe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/\\(\\)?/g,tt=function(e){var t=Qe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Xe,(function(e,r,o,n){t.push(o?n.replace(et,"$1"):r||e)})),t}));var rt=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},ot=Z?Z.prototype:void 0,nt=ot?ot.toString:void 0;var at=function e(t){if("string"==typeof t)return t;if(A(t))return rt(t,e)+"";if(ee(t))return nt?nt.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var it=function(e){return null==e?"":at(e)};var lt=function(e,t){return A(e)?e:oe(e,t)?[e]:tt(it(e))};var ct=function(e){if("string"==typeof e||ee(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var st=function(e,t){for(var r=0,o=(t=lt(t,e)).length;null!=e&&r<o;)e=e[ct(t[r++])];return r&&r==o?e:void 0};var ut=function(e,t,r){var o=null==e?void 0:st(e,t);return void 0===o?r:o};var dt=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var mt=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ht=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ft=function(e){return(e=it(e))&&e.replace(ht,mt).replace(pt,"")},gt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var vt=function(e){return e.match(gt)||[]},bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var yt=function(e){return bt.test(e)},_t="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",wt="["+_t+"]",Et="\\d+",Ct="[\\u2700-\\u27bf]",kt="[a-z\\xdf-\\xf6\\xf8-\\xff]",xt="[^\\ud800-\\udfff"+_t+Et+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",Lt="[\\ud800-\\udbff][\\udc00-\\udfff]",It="[A-Z\\xc0-\\xd6\\xd8-\\xde]",St="(?:"+kt+"|"+xt+")",zt="(?:"+It+"|"+xt+")",Mt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",jt="[\\ufe0e\\ufe0f]?"+Mt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Tt,Lt].join("|")+")[\\ufe0e\\ufe0f]?"+Mt+")*"),Nt="(?:"+[Ct,Tt,Lt].join("|")+")"+jt,Pt=RegExp([It+"?"+kt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[wt,It,"$"].join("|")+")",zt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[wt,It+St,"$"].join("|")+")",It+"?"+St+"+(?:['’](?:d|ll|m|re|s|t|ve))?",It+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Et,Nt].join("|"),"g");var Ot=function(e){return e.match(Pt)||[]};var Ht=function(e,t,r){return e=it(e),void 0===(t=r?void 0:t)?yt(e)?Ot(e):vt(e):e.match(t)||[]},Rt=RegExp("['’]","g");var Dt=function(e){return function(t){return dt(Ht(ft(t).replace(Rt,"")),e,"")}},At=Dt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Bt=At,Vt=Dt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ft=Vt,Zt={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},qt=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:"arr--dot "+P(l,Zt)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};qt.propTypes={color:i.string,width:i.string,height:i.string};var Wt={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},Ut=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:"arr--divider "+P(l,Wt)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};Ut.propTypes={color:i.string,width:i.string,height:i.string};var Gt=["text","photo","video","live-blog","listicle"],Jt=[{name:"Asia/Kolkata",abbreviation:"IST"}];var Yt=function(e,t,r,o){var n,a,i,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"en-IN",s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7?arguments[7]:void 0,d=l.showTime,m=void 0!==d&&d,h=l.isTimeFirst,p=void 0!==h&&h,f=l.isUpperCase,g=void 0!==f&&f,v=l.disableMeridiem,b=void 0!==v&&v,y=l.dateFormat,_=l.localizedMeridiem,C=l.localizedMonths,k=l.direction,x=void 0===k?"ltr":k,T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],L=new Date(o);if(s){var S=u&&w(L,u),z=S&&E(S,"yyyy-MM-dd HH:mm:ss zzz",{timeZone:u}),M=z.split(" "),j=I(M,1),N=j[0],P=N.split("-"),O=I(P,3),H=O[0],R=O[1],D=O[2];n=D,a=T[parseInt(R,10)-1],i=H}else n=L.getDate().toString().padStart(2,0),a=T[L.getMonth()],i=L.getFullYear();var A=a;g&&(A=Bt(a));var B="rtl"===x&&!_&&!C,V=$t(o,c,l,p,u,s),F="",Z="";m&&(F=", ".concat(V),Z=p&&B?"".concat(V):"".concat(V," ,")),C&&(A=ut(C,[Ft(a)])||a);var q=n.toLocaleString(c),W=i.toLocaleString(c).replace(/,/g,"");return b?"".concat(A," ").concat(q,", ").concat(W):p?B?"".concat(W," ").concat(A," ").concat(q,", ").concat(Z):"".concat(V,", ").concat(q," ").concat(A," ").concat(W):"mon-dd-yyyy"===y?B?"".concat(Z).concat(W," ,").concat(q," ").concat(A):"".concat(A," ").concat(q,", ").concat(W).concat(F):B?"".concat(Z).concat(W," ").concat(A," ").concat(q):"".concat(q," ").concat(A," ").concat(W).concat(F)};function Kt(e,t,r,o){var n,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,c=["day","week","month","year"],s=ut(a,["localizedPublishTime",r])||r,u=l?i:"en",d={time:e.toLocaleString(u),unit:n,ago:s,since:ut(a,["localizedPublishTime","since"])||"since"},m="time unit ago",h=function(e){return m.replace(/time|unit|ago|since/gi,(function(t){return e[t]}))},p=function(){var e=x(j.mark((function e(){var t,r,n,a,l;return j.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Date(o),e.prev=1,e.next=4,import("date-fns/locale/".concat(i,"/index.js"));case 4:n=e.sent,r=n.default,e.next=14;break;case 8:return e.prev=8,e.t0=e.catch(1),e.next=12,import("./index-b4c2c246.js").then((function(e){return e.i}));case 12:a=e.sent,r=a.default;case 14:return l=C(t,{locale:r,addSuffix:!0,includeSeconds:!0}),e.abrupt("return",l);case 16:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}(),f=ut(a,["localizedPublishTime"],{}),g=["ago","seconds","minute","minutes","hour","hours"],v=!g.some((function(e){return f[e]})),b=!a.enableLocalization&&!v,y=!a.enableLocalization&&v,_=a.enableLocalization&&v,w=a.enableTimeTranslation&&(b||y||_);if("hour"===t&&e>23||-1!==c.indexOf(t))return Yt(e,t,r,o,a,u,l);var E=ut(a,["localizedPublishTime",t])||t,k=ut(a,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s");return n=e>1?k:E,d.unit=n,w?p():h(d)}function $t(e,t,r,o,n){var a,i,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=r.timeFormat,s=void 0===c?"12hours":c,u=r.localizedZeroToPad,d=r.direction,m=void 0===d?"ltr":d,h=r.localizedMonths,p=r.localizedMeridiem,f=new Date(e);if(l){var g=n&&w(f,n),v=g&&E(g,"yyyy-MM-dd HH:mm:ss zzz",{timeZone:n}),b=v.split(" ")[1],y=b.split(":"),_=I(y,2);a=_[0],i=_[1]}else{a=f.getHours(),i=f.getMinutes();var C="string"==typeof t&&t.startsWith("en")?"0":u;i=i<10?C+i.toLocaleString(t):i.toLocaleString(t)}if("24hours"===s)return l?"".concat(a,":").concat(i):f.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit"});var k=a>=12?"pm":"am";a=(a%=12)||12;var x=k.toLocaleString(t);if(p){var T=p.am,L=void 0===T?"am":T,S=p.pm,z=void 0===S?"pm":S;x="am"===k.toLocaleString(t)?L||"am":z||"pm"}if("rtl"===m&&!p&&!h){if(o){var M=a.toLocaleString(t)+":"+i+" "+x;return M}var j=x+" "+a.toLocaleString(t)+":"+i;return j}var N=a.toLocaleString(t)+":"+i+" "+x;return N}var Qt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Xt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},er={mobile:767,tablet:1024},tr=function(e){var t=ut(er,e);return!!t&&ut(global,"document.documentElement.clientWidth")<=t},rr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Xt(e),o=Qt(r)<155?"light":"dark";return o},or=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n,i=t["sketches-host"];if(a)return dr(i,"/magazine/archive/".concat(o));if(o)return dr(i,"/magazine/".concat(o,"/").concat(e.slug));var l="section"===e.template;if(l){var c=ut(e,["metadata","section","0","id"],""),s=t.sections,u=s&&s.find((function(e){return e.id===c}));return u?u["section-url"]:dr(i,"/")}return dr(i,"/collection/".concat(e.slug))};function nr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?ut(n,["reference-url"],""):""}i.shape({"sketches-host":i.string,"cdn-name":i.string,"cdn-image":i.string}),i.shape({headline:i.string,"last-published-at":i.number,subheadline:i.string});var ar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=new URLSearchParams(r),n=o.toString();if("news-elsewhere"===ut(e,["story-template"])){var a=ut(e,["metadata","reference-url"],"");return n?"".concat(a,"?").concat(n):a}var i=e.url||t;return n?"".concat(i,"?").concat(n):i},ir=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=t["sketches-host"];if(r)return r;var n=t.magazineSlug,a=void 0===n?"":n,i=t.isArchivePage,l=void 0!==i&&i;return l?dr(o,"/magazine/archive/".concat(a)):a?dr(o,"/magazine/".concat(a,"/").concat(e.slug)):e?or(e,t):dr(o,"/")};function lr(e){return null!==e&&""!==e&&(e=e.toString()).replace(/(<([^>]+)>)/gi,"")}var cr=function(t,r){return"divider"===t?e.createElement(Ut,{color:r}):e.createElement(qt,{color:r})};var sr=function(e,t,r){return["sixColSixStories"].includes(t)&&e.showCardBgColor&&"aroundBorder"===e.border?r?e.darkCardBgColor||e.theme:e.cardBgColor||e.theme:e.theme};function ur(e){return"light"===rr(e)?"#ffffff":"#333333"}var dr=function(e,t){try{var r=new URL(e).pathname;return r&&"/"!==r?"".concat(e).concat(t):t}catch(e){return console.log("Sketches host path error ---\x3e ",e),t}};function mr(e){return"read-more"===e}function hr(e){return!e||"disabled"===e}var pr={"./collection-name.m.css":{collection:"collection-name-m_collection__JD6sx","collection-borderLeft":"collection-name-m_collection-borderLeft__3Dznk","border-left":"collection-name-m_border-left__3_pYw","collection-borderBottomFull":"collection-name-m_collection-borderBottomFull__Dkq3K","collection-borderBottom":"collection-name-m_collection-borderBottom__2rdQM","collection-crossLine":"collection-name-m_collection-crossLine__1sIpN",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN","border-bottom":"collection-name-m_border-bottom__1MnlV"}},fr=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,h=void 0===d||d,p=R()||{},f=c(p,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",v=h&&n&&or(n,a)||"",b=u||n.name||"",y=rr(p.theme),_="h"+l,w=Xt(o),E=g.includes("collection-borderBottomFull")?"4px solid ".concat(w):"none",C=tr("mobile");return e.createElement(e.Fragment,null,f&&b&&e.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+P("collection ".concat(g," ").concat(y),pr)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:w||"initial",fontSize:function(){if(C)switch(l){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":default:return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px"}}()}}),v&&!v.includes(void 0)?e.createElement(m,{href:v,"aria-label":"collection-name"},e.createElement(_,null,b)):e.createElement(_,null,b),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:w?"4px solid ".concat(w):"none"}}):""))};fr.propTypes={collectionNameBorderColor:l.string,collection:l.object,config:l.object,collectionNameTemplate:l.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:l.string,customCollectionName:l.string,navigate:l.bool},fr.defaultProps={collectionNameTemplate:"",headerLevel:"2"};var gr=u((function(e){return{config:c(e,["qt","config"],{})}}))(fr),vr={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function br(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function yr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?br(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):br(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var _r=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,c=t.navigate,s=t.qtConfig,u=o["sketches-host"],d=o.showButton,m=void 0===d||d,p=o.buttonText,f=void 0===p?"Read More":p,g=o.theme,v=void 0===g?"":g,b=o.customUrlPath,y=void 0===b?"":b;if(!m)return null;var _=rr(v),w=y?dr(u,"/".concat(y)):ir(n,yr(yr({},s),o));return null!=o&&o.onSubscriptionClick?e.createElement("div",{onClick:null==o?void 0:o.onSubscriptionClick},e.createElement("div",{className:"arr--button "+P("button ".concat(_," default"),vr)},f)):"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+P("button ".concat(_," default"),vr)},f):e.createElement(h,{href:w,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+P("button ".concat(_," default"),vr)},f))};_r.propTypes={collection:i.object,template:i.string,config:i.object,onClick:i.func,navigate:i.func,qtConfig:i.object};var wr=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{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"}))))))};wr.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var Er=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",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",transform:"translate(0 5)"})))))};Er.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var Cr=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{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"}))))))};Cr.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var kr=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 24 24",style:{position:"relative",top:l},fill:"none"},e.createElement("g",{clipPath:"url(#clip0_2775_1313)"},e.createElement("path",{d:"M21.9301 12.0699C16.4895 12.0699 12.0699 16.4895 12.0699 21.9301C12.0699 21.972 12.042 22 12 22C11.958 22 11.9301 21.972 11.9301 21.9301C11.9301 16.4895 7.51049 12.0699 2.06993 12.0699C2.02797 12.0699 2 12.042 2 12C2 11.958 2.02797 11.9301 2.06993 11.9301C7.51049 11.9301 11.9301 7.51049 11.9301 2.06993C11.9301 2.02797 11.958 2 12 2C12.042 2 12.0699 2.02797 12.0699 2.06993C12.0699 7.51049 16.4895 11.9301 21.9301 11.9301C21.972 11.9301 22 11.958 22 12C22 12.042 21.972 12.0699 21.9301 12.0699Z",fill:a})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_2775_1313"},e.createElement("rect",{width:"20",height:"20",fill:"white",transform:"translate(2 2)"}))))};kr.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var xr=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(wr,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Cr,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Er,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(kr,{width:r,height:o,color:n,positionTop:i})}};xr.propTypes={width:i.string,height:i.string,color:i.string,iconType:i.string,positionTop:i.string};var Tr={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB","icon-wrapper":"headline-m_icon-wrapper__1ti1Z","live-icon":"headline-m_live-icon__32qbA",blink:"headline-m_blink__1MDe0"}},Lr=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=t.queryParam,u=void 0===l?{}:l,d=t.layout,h=t.enableDarkModePreview,p=void 0!==h&&h,f=R()||{},g=a.iconColor,v=void 0===g?"#F7B500":g,b=a.iconStyle,y=void 0===b?"star":b,_=a.enablePremiumStoryIcon,w=void 0!==_&&_,E=c(r,["alternative","home","default","headline"]),C=w&&"subscription"===c(r,["access"]),k=E||r.headline,x="h"+o,T=function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}},L=sr(f,d,p),I=rr(L),S="24px",z=s((function(e){return c(e,["qt","data","showLiveIcon"],!1)})),M=c(a,["showLiveIcon"],z)&&"live-blog"===r["story-template"]&&!c(r,["metadata","is-closed"],!1),j=C?{position:"relative",top:T()}:{},N=C||M?"wrapper":"";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+P(N,Tr)},(M||C)&&e.createElement("span",{className:"headline-m_icon-wrapper__1ti1Z"},C&&e.createElement(xr,{width:S,height:S,color:v,iconType:y,positionTop:T()}),M&&e.createElement("span",{style:j,className:"headline-m_live-icon__32qbA"})),i?e.createElement(m,{href:ar(r,"/".concat(r.slug),u),externalLink:nr(r),"aria-label":"headline"},e.createElement(x,{className:P("headline ".concat(I),Tr)},k)):e.createElement(x,{className:P("headline ".concat(I),Tr)},k))};Lr.propTypes={story:i.object.isRequired,headerLevel:i.string,premiumStoryIconConfig:i.shape({iconColor:i.string,iconType:i.string,enablePremiumStoryIcon:i.bool}),isLink:i.bool,queryParam:i.shape({utmContent:i.string}),layout:i.string,enableDarkModePreview:i.bool},Lr.defaultProps={headerLevel:"6",isLink:!0,layout:""};var Ir={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Sr=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,s=t.forceShowAtom,u=t.showFullContent,d=R()||{},m=s||c(d,["showSubheadline"],!0);if(!r.subheadline||!m)return null;var h=rr(d.theme);return e.createElement("div",{style:{WebkitLineClamp:a||"none"},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+P("subheadline ".concat(h),Ir)},u||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};Sr.propTypes={story:i.object.isRequired,lineClamp:i.number,truncateChars:i.number,clazzName:i.string,forceShowAtom:i.bool,showFullContent:i.bool},Sr.defaultProps={forceShowAtom:!1,showFullContent:!1};var zr={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI",wrapper:"timestamp-m_wrapper__2Czhs"}};function Mr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function jr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nr={published:"first-published-at",updated:"last-published-at"},Pr=function(t){var r=t.story,o=t.config,n=void 0===o?{}:o,a=t.layout,i=t.enableDarkModePreview,l=void 0!==i&&i,u=R()||{},d=c(n,["showTime"],c(u,["showTime"],!0)),m=r["first-published-at"]||r["last-published-at"],h=sr(u,a,l),p=rr(h),f=s((function(e){return c(e,["qt","config"],{})})),g=c(f,["isLocalizedNumber"],!1),v=c(f,["language","ietf-code"],"en"),C=c(f,["language","direction"],"ltr"),k=c(f,["pagebuilder-config","general","storyCardTime"],null),x=function(e,t){var r=e["story-template"],o=!Gt.includes(r),n=o&&ut(t,["customStory","".concat(b(r),"-story"),"storyType"],"text");return o?y(n):r}(r,c(f,["pagebuilder-config"],{})),T=c(f,["pagebuilder-config","general"],{}).localization,L=(void 0===T?{}:T).localizedElements,I=void 0===L?{}:L,S="rtl"===C&&!c(I,["months"])&&!c(I,["meridiem"],{})?"time ".concat(p," wrapper"):"time ".concat(p);if(k){var z="live-blog"===x?k.liveBlog:k.rest;if(z)m=r[Nr[z]]||m}var M=c(f,["pagebuilder-config","general","dateFormat"],"dd-mon-yyyy"),j=c(f,["pagebuilder-config","general","enableTimeTranslation"],!1),N=c(f,["pagebuilder-config","general","localization","enableLocalization"],!1),O=jr(jr({direction:C},n),{},{dateFormat:M,enableTimeTranslation:j,enableLocalization:N,localizedMonths:N&&c(I,["months"]),localizedMeridiem:N&&c(I,["meridiem"],{})});return e.createElement(e.Fragment,null,d&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+P(S,zr)},e.createElement("div",null,function(t){var r=t.date,o=t.formatter,n=t.config,a=void 0===n?{}:n,i=t.languageCode,l=t.isLocalizedNumber,c=t.template,u=t.timezone,d=void 0===u?null:u,m=ut(a,["isRelatedCollection"],!1);if(d&&"story"===c){var h=s((function(e){return ut(e,["qt","config","pagebuilder-config","general"],{})})).enableTimeZoneAbbr,p=void 0!==h&&h,f=d&&w(r,d),g=f&&E(f,"yyyy-MM-dd HH:mm:ss zzz",{timeZone:d}),v=Yt("","","",r,a,l?i:"en",p,d);if(p){var b=null==Jt?void 0:Jt.find((function(e){return e.name===d})),y=(null==b?void 0:b.abbreviation)||"";return e.createElement("time",{dateTime:g},v," ",y)}return e.createElement("time",{dateTime:g},v)}return e.createElement(_,{date:r,component:m?"div":"time",className:"arr__timeago",formatter:function(e,t,r,n){return o(e,t,r,n,a,i,l)}})}({date:m,formatter:Kt,config:O,languageCode:v,isLocalizedNumber:g}))))};Pr.propTypes={story:i.object,config:i.object,layout:i.string,enableDarkModePreview:i.bool};var Or={};function Hr(t){var r=t.slug,o=void 0===r?"":r,n=t.metadata,a=t.aspectRatio,i=void 0===a?[]:a,l=t.defaultWidth,u=void 0===l?"":l,d=t.widths,m=t.imgParams,h=void 0===m?{}:m,v=t.alt,b=void 0===v?"":v,y=t.className,_=t.styleName,w=t.story,E=t.isResponsiveHeroImg,C=void 0!==E&&E,k=t.isBotRequest,x=void 0!==k&&k,T=t.isStoryPageImage,L=void 0!==T&&T,I=t.sizes,S=s((function(e){return c(e,["qt","lazyLoadImageMargin"],!1)}));return x||!S?C?e.createElement(p,{story:w,aspectRatio:i,defaultWidth:u,widths:d,imgParams:h,alt:b,className:y,width:"100%",height:"100%",sizes:I}):e.createElement(f,{slug:o,aspectRatio:i,defaultWidth:u,imgParams:h,alt:b,metadata:n,widths:d,sizes:I,width:"100%",height:"100%",className:(y?y+" ":"")+P(_,Or)}):L?e.createElement(p,{story:w,aspectRatio:i,defaultWidth:u,widths:d,sizes:I,imgParams:h,alt:b,className:y,priority:!0}):C?e.createElement(g,{margin:S},e.createElement(p,{story:w,aspectRatio:i,defaultWidth:u,widths:d,imgParams:h,alt:b,className:y,width:"100%",height:"100%",sizes:I})):e.createElement(g,{margin:S},e.createElement(f,{slug:o,aspectRatio:i,defaultWidth:u,imgParams:h,alt:b,metadata:n,widths:d,width:"100%",height:"100%",sizes:I,className:(y?y+" ":"")+P(_,Or)}))}Hr.propTypes={slug:i.string,metadata:i.any,aspectRatio:i.array,defaultWidth:i.string,widths:i.any,sizes:i.string,imgParams:i.object,alt:i.string,className:i.string,styleName:i.string,story:i.object,isResponsiveHeroImg:i.bool,isBotRequest:i.bool,isStoryPageImage:i.bool};var Rr={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},Dr=function(t){var r=t.story,o=t.hideAuthorImage;t.isBottom;var n=t.prefix,a=void 0===n?"":n,i=t.config,l=void 0===i?{}:i,u=t.layout,d=t.enableDarkModePreview,h=void 0!==d&&d,p=R()||{},f=c(p,["showAuthor"],!0),g=c(r,["authors","0"],""),v=g["avatar-url"],b=g["avatar-s3-key"],y=g.name,_=g.slug,w=s((function(e){return c(e,["qt","isBotRequest"])})),E=sr(p,u,h),C=rr(E),k=c(l,["mountAt"],""),x=function(t){return a?e.createElement("div",{className:"arr-author-prefix "+P("prefix ".concat(C),Rr)},a):!o&&function(t){return v||b?e.createElement("div",{"data-test-id":"author-image",className:"arr--author-image "+P("author-image ".concat(t,"-image"),Rr)},e.createElement("figure",null,b?e.createElement(Hr,{slug:b,aspectRatio:[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:y,isBotRequest:w}):e.createElement("img",{src:v,alt:y}))):null}(t)};return e.createElement(e.Fragment,null,f&&e.createElement(m,{className:"author-name arr-author-name arrow-component author-m_author__WRuLm",href:"".concat(k,"/author/")+_,"aria-label":"author-name"},x("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+P("author-name ".concat(C),Rr)},y||r["author-name"]),!a&&x("rtl")))};var Ar=u((function(e){return{config:c(e,["qt","config"],{})}}))(Dr);Dr.propTypes={story:i.object.isRequired,hideAuthorImage:i.bool,isBottom:i.bool,prefix:i.string,config:i.object,layout:i.string,enableDarkModePreview:i.bool},Dr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:"",layout:""};var Br={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_",dot:"read-time-m_dot__2fOta",dash:"read-time-m_dash__HDWVJ",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},Vr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=t.layout,u=t.enableDarkModePreview,d=void 0!==u&&u,m=R()||{},h=c(m,["showReadTime"])||c(n,["showReadTime"],!0),p=c(r,["read-time"],0);if(!h||!p)return null;var f=n.showDotIndicator,g=void 0===f||f,v=sr(m,l,d),b=i?"light":rr(v),y=s((function(e){return c(e,["qt","config","isLocalizedNumber"],!1)}))?s((function(e){return c(e,["qt","config","language","ietf-code"],"en")})):"en",_=s((function(e){return c(e,["qt","config","pagebuilder-config","general"],{})})).localization,w=(void 0===_?{}:_).localizedElements,E=void 0===w?{}:w,C=c(n,["localizedTimeToRead"])||c(n,["localizationConfig","localizedTimeToRead"])||c(E,["buttonLabels","timeToRead"])||"min read",k=c(n,["separator"],""),x="divider"===k?"dash":"dot";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+P("read-time-wrapper ".concat(b),Br)},g&&e.createElement("div",{className:"read-time-indicator "+P(x,Br)},cr(k,b)),e.createElement("span",null,p.toLocaleString("".concat(y))," ",C)))};Vr.propTypes={story:i.shape({"read-time":i.number}),opts:i.shape({showReadTime:i.bool}),isLightTheme:i.bool,languageCode:i.string,layout:i.string,enableDarkModePreview:i.bool};var Fr={"./sponsored-lable.m.css":{"sponsored-label":"sponsored-lable-m_sponsored-label__SHjA8","story-label":"sponsored-lable-m_story-label__3SrZy","card-label":"sponsored-lable-m_card-label__18k0v"}};function Zr(t){var r=t.story,o=t.sponsoredStoryConfig,n=t.isStoryPage,a=c(r,["metadata"],{});if(!a.hasOwnProperty("sponsored-by"))return null;var i=c(a,["sponsored-by"],""),l=s((function(e){return c(e,["header","isDarkModeEnabled"],!1)})),u=o.sponsoredStoryPageLabel,d=o.sponsoredLabelColor,m=o.sponsoredLabelDarkColor,h=o.sponsoredStoryRowLabel,p=(u||"Sponsored by")+": ".concat(i),f=n?p:h||"Sponsored",g=n?"story-label":"card-label",v=l?m||"#404040":d||"#E6E6E6",b="light"===rr(v)?"#ffffff":"#000000";return e.createElement("div",{style:{background:v,color:b},"data-test-id":n?"sponsored-tag":"sponsored-tag-cards",className:P("sponsored-label ".concat(g),Fr)},f)}function qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Wr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Zr.propTypes={story:i.object,sponsoredStoryConfig:i.object,isStoryPage:i.bool},Zr.defaultProps={isStoryPage:!1};var Ur={"./author-with-timestamp.m.css":{"author-time-wrapper":"author-with-timestamp-m_author-time-wrapper__G7_eI","author-image":"author-with-timestamp-m_author-image__24xrD",dot:"author-with-timestamp-m_dot__1LHXD",dash:"author-with-timestamp-m_dash__2L5XC","space-8":"author-with-timestamp-m_space-8__3oTms"}},Gr=function(t){var r=t.story,o=t.separator;t.isBottom;var n=t.hideAuthorImage,a=t.prefix,i=t.config,l=void 0===i?{}:i,u=t.isLightTheme,d=t.collectionId,m=t.layout,h=t.enableDarkModePreview,p=void 0!==h&&h,f=R()||{},g=c(l,["showAuthor"],c(f,["showAuthor"],!0)),v=c(l,["showTime"],c(f,["showTime"],!0)),b=c(f,["showReadTime"],!0),y="dot"===o?"dot":"dash",_=sr(f,m,p),w=u?"light":rr(_),E=g&&(v||b),C=s((function(e){return c(e,["qt","config","pagebuilder-config","general"],{})})),k=C.localization,x=void 0===k?{}:k,T=C.sponsoredStoryConfig,L=void 0===T?{}:T,I=x.localizedElements,S=void 0===I?{}:I,z=x.enableLocalization,M=void 0!==z&&z&&c(S,["buttonLabels","timeToRead"])||"min read",j=function(){return e.createElement(e.Fragment,null,E&&e.createElement("div",{className:"arr-separator "+P(y,Ur)},cr(o,w)),v&&(d?e.createElement("div",{id:"publish-time-".concat(d,"-").concat(r.id)},e.createElement(Pr,{story:r,config:l,layout:m,enableDarkModePreview:p})):e.createElement(Pr,{story:r,config:l,layout:m,enableDarkModePreview:p})),b&&e.createElement(Vr,{story:r,opts:Wr(Wr({},l),{},{showDotIndicator:v,separator:o,localizedTimeToRead:M}),isLightTheme:u,layout:m,enableDarkModePreview:p}),e.createElement("div",{className:"author-with-timestamp-m_space-8__3oTms"}))};return e.createElement("div",{className:"arr--author-time author-with-timestamp-m_author-time-wrapper__G7_eI"},g?e.createElement(e.Fragment,null,e.createElement(Ar,{story:r,isBottom:!0,hideAuthorImage:n,prefix:a,layout:m,enableDarkModePreview:p}),j()):j(),e.createElement(Zr,{story:r,sponsoredStoryConfig:L}))};Gr.propTypes={story:i.object,separator:i.oneOf(["dot","divider"]),hideAuthorImage:i.bool,isBottom:i.bool,prefix:i.string,config:i.object,isLightTheme:i.bool,collectionId:i.oneOfType([i.string,i.number]),layout:i.string,enableDarkModePreview:i.bool},Gr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1,layout:""};var Jr=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{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",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Jr.propTypes={width:i.object,height:i.object,iconColor:i.object};var Yr=function(t,r){var o=t?"arr--fallback-image ".concat(t):"arr--fallback-image";return e.createElement("div",{className:(o?o+" ":"")+"fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},r?e.createElement("img",{src:r,"data-src":r,alt:"image-fallback"}):e.createElement(Jr,null)))},Kr=function(t){var r=t.slug,o=t.roundedCorners,n=void 0===o?"":o,a=t.fallBackImageUrl;return r?e.createElement(m,{href:r,"aria-label":"image-fallback"},Yr(n,a)):Yr(n,a)};Kr.propTypes={slug:i.string,roundedCorners:i.string};var $r=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),e.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},Qr=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(m,{href:o,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement($r,null)):null};function Xr(t){var r=t.background,o=ur(r);return e.createElement("svg",{width:"10%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_2817)"},e.createElement("path",{d:"M19.2083 5.79167V19.2083H5.79167V5.79167H19.2083ZM19.2083 3.875H5.79167C4.7375 3.875 3.875 4.7375 3.875 5.79167V19.2083C3.875 20.2625 4.7375 21.125 5.79167 21.125H19.2083C20.2625 21.125 21.125 20.2625 21.125 19.2083V5.79167C21.125 4.7375 20.2625 3.875 19.2083 3.875ZM14.5508 12.3658L11.6758 16.0746L9.625 13.5925L6.75 17.2917H18.25L14.5508 12.3658Z",fill:o})))}function eo(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3084)"},e.createElement("path",{d:"M19.125 17.4306V5.56944C19.125 4.6375 18.3625 3.875 17.4306 3.875H5.56944C4.6375 3.875 3.875 4.6375 3.875 5.56944V17.4306C3.875 18.3625 4.6375 19.125 5.56944 19.125H17.4306C18.3625 19.125 19.125 18.3625 19.125 17.4306ZM8.53472 12.7708L10.6528 15.321L13.6181 11.5L17.4306 16.5833H5.56944L8.53472 12.7708Z",fill:o})))}function to(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3065)"},e.createElement("path",{d:"M13.3285 5.55831L14.9069 7.28331H18.4V17.6333H4.6V7.28331H8.09313L9.6715 5.55831H13.3285ZM14.0875 3.83331H8.9125L7.33413 5.55831H4.6C3.65125 5.55831 2.875 6.33456 2.875 7.28331V17.6333C2.875 18.5821 3.65125 19.3583 4.6 19.3583H18.4C19.3488 19.3583 20.125 18.5821 20.125 17.6333V7.28331C20.125 6.33456 19.3488 5.55831 18.4 5.55831H15.6659L14.0875 3.83331ZM11.5 9.87081C12.9231 9.87081 14.0875 11.0352 14.0875 12.4583C14.0875 13.8814 12.9231 15.0458 11.5 15.0458C10.0769 15.0458 8.9125 13.8814 8.9125 12.4583C8.9125 11.0352 10.0769 9.87081 11.5 9.87081ZM11.5 8.14581C9.1195 8.14581 7.1875 10.0778 7.1875 12.4583C7.1875 14.8388 9.1195 16.7708 11.5 16.7708C13.8805 16.7708 15.8125 14.8388 15.8125 12.4583C15.8125 10.0778 13.8805 8.14581 11.5 8.14581Z",fill:o})))}function ro(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3070)"},e.createElement("path",{d:"M11.5 15.2183C13.0243 15.2183 14.26 13.9826 14.26 12.4583C14.26 10.934 13.0243 9.6983 11.5 9.6983C9.97568 9.6983 8.73999 10.934 8.73999 12.4583C8.73999 13.9826 9.97568 15.2183 11.5 15.2183Z",fill:o}),e.createElement("path",{d:"M8.9125 3.83331L7.33413 5.55831H4.6C3.65125 5.55831 2.875 6.33456 2.875 7.28331V17.6333C2.875 18.5821 3.65125 19.3583 4.6 19.3583H18.4C19.3488 19.3583 20.125 18.5821 20.125 17.6333V7.28331C20.125 6.33456 19.3488 5.55831 18.4 5.55831H15.6659L14.0875 3.83331H8.9125ZM11.5 16.7708C9.1195 16.7708 7.1875 14.8388 7.1875 12.4583C7.1875 10.0778 9.1195 8.14581 11.5 8.14581C13.8805 8.14581 15.8125 10.0778 15.8125 12.4583C15.8125 14.8388 13.8805 16.7708 11.5 16.7708Z",fill:o})))}function oo(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3096)"},e.createElement("path",{d:"M14.375 7.66667V15.3333H4.79167V7.66667H14.375ZM15.3333 5.75H3.83333C3.30625 5.75 2.875 6.18125 2.875 6.70833V16.2917C2.875 16.8187 3.30625 17.25 3.83333 17.25H15.3333C15.8604 17.25 16.2917 16.8187 16.2917 16.2917V12.9375L20.125 16.7708V6.22917L16.2917 10.0625V6.70833C16.2917 6.18125 15.8604 5.75 15.3333 5.75Z",fill:o})))}function no(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3090)"},e.createElement("path",{d:"M16.2917 10.0625V6.70833C16.2917 6.18125 15.8604 5.75 15.3333 5.75H3.83333C3.30625 5.75 2.875 6.18125 2.875 6.70833V16.2917C2.875 16.8187 3.30625 17.25 3.83333 17.25H15.3333C15.8604 17.25 16.2917 16.8187 16.2917 16.2917V12.9375L20.125 16.7708V6.22917L16.2917 10.0625Z",fill:o})))}function ao(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3111)"},e.createElement("path",{d:"M11.6 3C6.8528 3 3 6.8528 3 11.6C3 16.3472 6.8528 20.2 11.6 20.2C16.3472 20.2 20.2 16.3472 20.2 11.6C20.2 6.8528 16.3472 3 11.6 3ZM9.45 15.47V7.73L15.47 11.6L9.45 15.47Z",fill:o})))}function io(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3119)"},e.createElement("path",{d:"M9.88 15.47L15.04 11.6L9.88 7.73V15.47ZM11.6 3C6.8528 3 3 6.8528 3 11.6C3 16.3472 6.8528 20.2 11.6 20.2C16.3472 20.2 20.2 16.3472 20.2 11.6C20.2 6.8528 16.3472 3 11.6 3ZM11.6 18.48C7.8074 18.48 4.72 15.3926 4.72 11.6C4.72 7.8074 7.8074 4.72 11.6 4.72C15.3926 4.72 18.48 7.8074 18.48 11.6C18.48 15.3926 15.3926 18.48 11.6 18.48Z",fill:o})))}function lo(t){var r=t.background,o=ur(r);return e.createElement("svg",{width:"10%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1524_3956)"},e.createElement("g",{clipPath:"url(#clip1_1524_3956)"},e.createElement("path",{d:"M15.3655 12.6317C13.7839 11.7865 12.2695 11.0094 10.7214 10.1982V15.0515C12.3504 14.166 14.0674 13.355 15.3722 12.6317H15.3655Z",fill:r}),e.createElement("path",{d:"M11.0192 18.8507C7.73397 18.7902 6.61192 18.7358 5.92224 18.5937C5.45563 18.4993 5.05014 18.2897 4.75283 17.9856C4.52304 17.7555 4.3403 17.4044 4.19852 16.9174C4.07691 16.5115 4.02954 16.1739 3.96201 15.3492C3.85864 13.4878 3.834 11.9661 3.96201 10.2657C4.06763 9.32671 4.11883 8.21202 4.82035 7.56171C5.15159 7.25735 5.53692 7.06149 5.96961 6.98052C6.64553 6.85218 9.52522 6.75073 12.5064 6.75073C15.4808 6.75073 18.3669 6.85218 19.0434 6.98052C19.584 7.08197 20.0909 7.38601 20.3886 7.77805C21.0286 8.78489 21.0398 10.0369 21.1048 11.0162C21.1317 11.4828 21.1317 14.1324 21.1048 14.599C21.0037 16.1467 20.9224 16.6943 20.6926 17.262C20.5505 17.6205 20.4292 17.8096 20.2193 18.0192C19.89 18.3418 19.4702 18.5564 19.0159 18.6344C16.173 18.8481 13.759 18.8945 11.0192 18.8507ZM15.3726 12.6317C13.791 11.7865 12.2766 11.0027 10.7286 10.1915V15.0451C12.3575 14.1596 14.0749 13.3483 15.3793 12.625L15.3726 12.6317Z",fill:o}))))}function co(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3125)"},e.createElement("path",{d:"M1.91675 6.70835H5.75008V16.2917H1.91675V6.70835ZM6.70841 18.2084H16.2917V4.79169H6.70841V18.2084ZM17.2501 6.70835H21.0834V16.2917H17.2501V6.70835Z",fill:o})))}function so(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("g",{clipPath:"url(#clip0_1430_3131)"},e.createElement("path",{d:"M1.91675 6.70835H5.75008V16.2917H1.91675V6.70835ZM6.70841 18.2084H16.2917V4.79169H6.70841V18.2084ZM8.62508 6.70835H14.3751V16.2917H8.62508V6.70835ZM17.2501 6.70835H21.0834V16.2917H17.2501V6.70835Z",fill:o})))}function uo(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 25 25",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("path",{d:"M3.875 19.2084H13.4583V5.79169H3.875V19.2084ZM5.79167 7.70835H11.5417V17.2917H5.79167V7.70835ZM14.4167 6.75002H17.2917V18.25H14.4167V6.75002Z",fill:o}),e.createElement("path",{d:"M21.125 7.70835H18.25V17.2917H21.125V7.70835Z",fill:o}))}function mo(t){var r=t.background,o=ur(r);return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 25 25",fill:"none"},e.createElement("rect",{width:"100%",height:"100%",fill:r}),e.createElement("path",{d:"M3.875 19.2084H13.4583V5.79169H3.875V19.2084ZM14.4167 6.75002H17.2917V18.25H14.4167V6.75002Z",fill:o}),e.createElement("path",{d:"M21.125 7.70835H18.25V17.2917H21.125V7.70835Z",fill:o}))}function ho(t){var r=t.iconConfig,o=t.enableDarkMode,n=t.iconColor,a=t.darkIconColor,i=r||{},l=i.enablePhotoDemarcationIcon,c=void 0!==l&&l,s=i.iconStyle;if(!c)return e.createElement(e.Fragment,null);var u=(o?a:n)||"#000000";switch(s){case"photoIcon2":return e.createElement(eo,{background:u});case"photoIcon3":return e.createElement(to,{background:u});case"photoIcon4":return e.createElement(ro,{background:u});default:return e.createElement(Xr,{background:u})}}function po(t){var r=t.iconConfig,o=t.enableDarkMode,n=t.iconColor,a=t.darkIconColor,i=r||{},l=i.enableVideoDemarcationIcon,c=void 0!==l&&l,s=i.iconStyle;if(!c)return e.createElement(e.Fragment,null);var u=(o?a:n)||"#000000";switch(s){case"videoIcon2":return e.createElement(no,{background:u});case"videoIcon3":return e.createElement(ao,{background:u});case"videoIcon4":return e.createElement(io,{background:u});case"videoIcon5":return e.createElement(lo,{background:u});default:return e.createElement(oo,{background:u})}}function fo(t){var r=t.iconConfig,o=t.enableDarkMode,n=t.iconColor,a=t.darkIconColor,i=r||{},l=i.enableVisualStoryDemarcationIcon,c=void 0!==l&&l,s=i.iconStyle;if(!c)return e.createElement(e.Fragment,null);var u=(o?a:n)||"#000000";switch(s){case"visualStoryIcon2":return e.createElement(so,{background:u});case"visualStoryIcon3":return e.createElement(uo,{background:u});case"visualStoryIcon4":return e.createElement(mo,{background:u});default:return e.createElement(co,{background:u})}}function go(t){var r=t.storyTemplate,o=t.rowsConfig,n=void 0===o?{}:o,a=t.enableDarkMode,i=n||{},l=i.photoDemarcationIcon,c=void 0===l?{}:l,s=i.videoDemarcationIcon,u=void 0===s?{}:s,d=i.visualStoryDemarcationIcon,m=void 0===d?{}:d,h=i.iconColor,p=i.darkIconColor;switch(r){case"photo":return e.createElement(ho,{iconConfig:c,enableDarkMode:a,iconColor:h,darkIconColor:p});case"video":return e.createElement(po,{iconConfig:u,enableDarkMode:a,iconColor:h,darkIconColor:p});case"visual-story":return e.createElement(fo,{iconConfig:m,enableDarkMode:a,iconColor:h,darkIconColor:p});default:return e.createElement(e.Fragment,null)}}Qr.propTypes={hyperLink:i.string},Xr.propTypes={background:i.string},eo.propTypes={background:i.string},to.propTypes={background:i.string},ro.propTypes={background:i.string},oo.propTypes={background:i.string},no.propTypes={background:i.string},ao.propTypes={background:i.string},io.propTypes={background:i.string},lo.propTypes={background:i.string},co.propTypes={background:i.string},so.propTypes={background:i.string},uo.propTypes={background:i.string},mo.propTypes={background:i.string},go.propTypes={storyTemplate:i.string,rowsConfig:i.object,enableDarkMode:i.bool},po.propTypes={iconConfig:i.object,enableDarkMode:i.bool,iconColor:i.string,darkIconColor:i.string},fo.propTypes={iconConfig:i.object,enableDarkMode:i.bool,iconColor:i.string,darkIconColor:i.string},ho.propTypes={iconConfig:i.object,enableDarkMode:i.bool,iconColor:i.string,darkIconColor:i.string};var vo={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U","image-wrapper":"hero-image-m_image-wrapper__2EIzt","icon-wrapper":"hero-image-m_icon-wrapper__3ogj_"}},bo=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,l=t.isHorizontal,u=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,h=t.defaultFallback,p=t.isStoryPageImage,f=t.config,g=t.queryParam,v=void 0===g?{}:g,b=t.initialAltImage,y=t.isFullWidthImage,_=t.isCircularImage,w=void 0!==_&&_,E=t.sizes,C=(R()||{}).fallbackImageUrl,k=void 0===C?"":C,x=f.StoryTemplateIcon,T=void 0===x?function(){return null}:x,L=s((function(e){return c(e,["qt","config","showPlaceholder"])})),S=s((function(e){return c(e,["qt","isBotRequest"],!1)})),z=L?"placeholder":"",M=s((function(e){return c(e,["qt","config","pagebuilder-config","infiniteScroll"],"disabled")})),j=M.infiniteScrollType,N=M.infiniteScrollStyle,O=o?"":"with-padding",H="hero-image";l?H="right-padding":d&&(H="left-padding");var D=u?"right-padding-mob":"",A=function(e){var t=I(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},B=I(n,2),V=B[0],F=B[1],Z=void 0===F?V:F,q=tr("mobile"),W=q?V:Z,U=A(q?V:Z),G=c(r,["alternative","home","default","hero-image","hero-image-s3-key"]),J=c(r,["hero-image-s3-key"]),Y=G||J,K=c(r,["hero-image-hyperlink"],""),$=c(r,["hero-image-caption"],""),Q=c(r,["hero-image-alt-text"],""),X=c(r,["alternative","home","default","hero-image","hero-image-caption"],""),ee=lr(c(r,["alternative","home","default","hero-image","hero-image-alt-text"],""))||lr(X)||c(r,["alternative","home","default","headline"],"")||lr(Q)||lr($)||c(r,["headline"],""),te=lr(Q)||lr($)||c(r,["headline"],""),re=s((function(e){return c(e,["qt","config","pagebuilder-config","general","rows"],{})})),oe=s((function(e){return c(e,["qt","config","pagebuilder-config","general","enableRoundedCorners"],!1)})),ne=s((function(e){return c(e,["header","isDarkModeEnabled"],!1)})),ae=!oe||y||w?"":"with-rounded-corners",ie=null==r?void 0:r["story-template"];function le(){var t=function(e,t,r,o){return!(e&&(null!=t&&t.firstStory||hr(r)||!hr(r)&&!mr(o)))}(p,r,j,N);return t?k?e.createElement("div",{className:"hero-image-m_image-wrapper__2EIzt"},e.createElement("figure",{style:{paddingTop:U+"%"},className:"arr--responsive-hero-image "+P("image ".concat(z),vo)},e.createElement("img",{className:"qt-image",src:k,"data-src":k,alt:"image-fallback"})),e.createElement("div",{className:"hero-image-m_icon-wrapper__3ogj_"},!p&&!w&&e.createElement(go,{storyTemplate:ie,rowsConfig:re,enableDarkMode:ne}))):e.createElement(e.Fragment,null,h?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:U+"%"},className:"arr--fallback-hero-image "+P("image ".concat(z," image-wrapper"),vo)},e.createElement(T,{storyTemplate:r["story-template"]}),e.createElement(Kr,{roundedCorners:ae}),e.createElement("div",{className:"hero-image-m_icon-wrapper__3ogj_"},!p&&!w&&e.createElement(go,{storyTemplate:ie,rowsConfig:re,enableDarkMode:ne}))):null):null}function ce(t){if(!Y)return le();var o=function(e,t,r){return!hr(e)&&mr(t)&&!(null!=r&&r.firstStory)}(j,N,r);return o&&(b=!0),!J&&p?null:e.createElement(e.Fragment,null,e.createElement("div",{className:"hero-image-m_image-wrapper__2EIzt"},e.createElement("figure",{style:{paddingTop:U+"%"},className:("arr--responsive-hero-image ".concat(ae)?"arr--responsive-hero-image ".concat(ae)+" ":"")+P("image ".concat(z),vo)},e.createElement(T,{storyTemplate:r["story-template"]}),b?e.createElement(Hr,{slug:Y,metadata:r["hero-image-metadata"],alt:p?te:ee,aspectRatio:W,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"arr-image-placeholder",isBotRequest:t,isStoryPageImage:p,sizes:E}):e.createElement(Hr,{story:r,aspectRatio:W,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},alt:p?te:ee,className:"arr-image-placeholder",isResponsiveHeroImg:!0,isBotRequest:t,isStoryPageImage:p,sizes:E})),e.createElement("div",{className:"hero-image-m_icon-wrapper__3ogj_"},!p&&!w&&e.createElement(go,{storyTemplate:ie,rowsConfig:re,enableDarkMode:ne}))),p&&K&&e.createElement(Qr,{hyperLink:K}))}return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:("arr--hero-image ".concat(ae)?"arr--hero-image ".concat(ae)+" ":"")+P("".concat(H," ").concat(O," ").concat(D," "),vo)},ce(S)):e.createElement(m,{"data-test-id":"arr--hero-image",href:ar(r,"/".concat(r.slug),v),externalLink:nr(r),"aria-label":"fallback-hero-image",className:("arr--hero-image ".concat(ae)?"arr--hero-image ".concat(ae)+" ":"")+P("".concat(H," ").concat(O," ").concat(D),vo)},ce(S)))};bo.propTypes={story:i.object.isRequired,FullBleed:i.bool,defaultWidth:i.number,widths:i.array,sizes:i.string,aspectRatio:i.array,isHorizontal:i.bool,isHorizontalMobile:i.bool,defaultFallback:i.bool,isHorizontalWithImageLast:i.bool,isStoryPageImage:i.bool,config:i.object,queryParam:i.shape({utmContent:i.string}),initialAltImage:i.bool,isFullWidthImage:i.bool,isCircularImage:i.bool},bo.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1,config:{},initialAltImage:!1,isFullWidthImage:!1,isCircularImage:!1};var yo={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},_o=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,l=t.isLightTheme,s=t.layout,u=t.enableDarkModePreview,d=void 0!==u&&u,h=R()||{},p=c(h,["showSection"],!0),f=c(h,["sectionTagTemplate"]),g=c(r,["sections",0],""),v=["borderBottomSml","borderLeft","solid"],b=g?g["section-url"]:"/",y=sr(h,s,d),_=l?"light":rr("solid"===n||"solid"===f?i:y),w=Xt(i),E=v.includes(n)?"section section-".concat(n):"section";return f&&(E=v.includes(f)?"section section-".concat(f):"section"),p?e.createElement(m,{href:b,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("span",{"data-test-id":"sectionTag",style:{backgroundColor:E.includes("section-solid")?w:"initial"},className:"section-tag arrow-component "+P("".concat(_," ").concat(E),yo)},E.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:w||"initial"}}),g["display-name"]||g.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"solid"!==n&&w?w:"initial"}}))):null};_o.propTypes={story:i.object.isRequired,template:i.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:i.string,solidBorderColor:i.string,isLightTheme:i.bool,layout:i.string,enableDarkModePreview:i.bool},_o.defaultProps={template:"",isLightTheme:!1,layout:""};var wo={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","rounded-gradient":"storycard-m_rounded-gradient__2ByhH","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},Eo=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,u=t.useImageAsBackground,d=t.bgImgContentOverlap,m=t.theme,h=t.borderColor,p=t.isHorizontalMobile,f=t.centerAlign,g=t.headerLevel,v=t.hideAuthorImage,b=t.prefix,y=t.config,_=t.isHorizontalWithImageLast,w=t.collectionId,E=t.widths,C=t.isFullWidthImage,k=void 0!==C&&C,x=t.isCircularImage,T=void 0!==x&&x,L=t.disableRoundedCorners;if(!o||(null==(r=o)||"object"===D(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var I=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",S="default-card";a?S="horizontal-card":_&&(S="horizontal-image-last");var z=u?"backgroung-img":"",M=d?"content-overlap":"",j=rr(m),N=p?"horizontal-mob":"",O=s((function(e){return c(e,["qt","config","pagebuilder-config","general","enableRoundedCorners"],!1)})),H=O&&!L?"with-rounded-corners":"",R=O&&!k?"rounded-gradient":"",A=e.createElement(Co,{story:o,aspectRatio:i,border:l,isHorizontalMobile:p,isHorizontal:a,centerAlign:f,headerLevel:g,borderColor:h,hideAuthorImage:v,prefix:b,config:y,isHorizontalWithImageLast:_,collectionId:w,widths:E,isFullWidthImage:k,isCircularImage:T});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:m||"initial"},className:("arr--story-card ".concat(H)?"arr--story-card ".concat(H)+" ":"")+P("card ".concat(S," ").concat(I," ").concat(j," ").concat(z," ").concat(M," ").concat(N," ").concat(R),wo)},n||A)},Co=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,p=t.config,f=t.collectionId,g=t.widths,v=t.isFullWidthImage,b=void 0!==v&&v,y=t.isCircularImage,_=void 0!==y&&y,w=s?"center-align":"",E=Xt(u),C=p.localizationConfig,k=void 0===C?{}:C;return e.createElement(e.Fragment,null,o?e.createElement(bo,{config:p,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n,widths:g,isFullWidthImage:b,isCircularImage:_}):h?e.createElement(bo,{config:p,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n,widths:g,isFullWidthImage:b,isCircularImage:_}):e.createElement(bo,{story:r,config:p,isHorizontalMobile:l,aspectRatio:n,widths:g,isFullWidthImage:b,isCircularImage:_}),e.createElement("div",{className:"arr--story-content "+P("content ".concat(w),wo)},e.createElement(_o,{story:r,borderColor:E}),e.createElement(Lr,{story:r,headerLevel:a,premiumStoryIconConfig:p}),e.createElement(Gr,{config:k,story:r,isBottom:!0,prefix:m,hideAuthorImage:d,collectionId:f}),e.createElement(Sr,{story:r})))};Co.propTypes={story:i.object.isRequired,border:i.oneOfType([i.string]),isBottom:i.bool,isHorizontal:i.bool,aspectRatio:i.oneOfType([i.array]),isHorizontalMobile:i.bool,centerAlign:i.bool,headerLevel:i.string,borderColor:i.string,hideAuthorImage:i.bool,prefix:i.string,config:i.object,isHorizontalWithImageLast:i.bool,collectionId:i.number,widths:i.array,isFullWidthImage:i.bool,isCircularImage:i.bool},Eo.propTypes={story:i.object.isRequired,children:i.node,isHorizontal:i.bool,border:i.oneOfType([i.string]),useImageAsBackground:i.bool,bgImgContentOverlap:i.bool,aspectRatio:i.oneOfType([i.array]),theme:i.string,isHorizontalMobile:i.bool,centerAlign:i.bool,headerLevel:i.string,borderColor:i.string,hideAuthorImage:i.bool,prefix:i.string,config:i.object,isHorizontalWithImageLast:i.bool,collectionId:i.number,widths:i.array,isFullWidthImage:i.bool,isCircularImage:i.bool,disableRoundedCorners:i.bool},Eo.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1,isFullWidthImage:!1,isCircularImage:!1,disableRoundedCorners:!1};var ko=H(Eo),xo={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37","content-wrapper":"storycardContent-m_content-wrapper__3ocr8"}},To=function(t){var r=t.story,o=t.children,n=t.theme,a=t.border,i=t.isHorizontalMobile,l=t.headerLevel,c=t.borderColor,s=t.config,u=t.showSubheadline,d=t.collectionId,m=t.roundedCorners,h=void 0===m?"":m,p=Xt(c),f=["full"].includes(a)?"border-".concat(a):"",g=i?"horizontal-content-wrapper":"content-wrapper";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n||"initial"},className:("arr--content-wrapper ".concat(h)?"arr--content-wrapper ".concat(h)+" ":"")+P("wrapper ".concat(f," ").concat(g),xo)},o||e.createElement(Lo,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:p,config:s,showSubheadline:u,collectionId:d}))},Lo=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=t.showSubheadline,c=t.collectionId,s=Xt(n),u=i.localizationConfig,d=void 0===u?{}:u;return e.createElement("div",null,e.createElement(_o,{story:r,borderColor:s}),e.createElement(Lr,{story:r,headerLevel:o,premiumStoryIconConfig:i}),l&&e.createElement(Sr,{story:r,truncateChars:200}),e.createElement(Gr,{config:d,story:r,collectionId:c}))};Lo.propTypes={story:i.object.isRequired,border:i.string,theme:i.string,isHorizontalMobile:i.bool,headerLevel:i.string,borderColor:i.string,config:i.object,showSubheadline:i.bool,collectionId:i.number},To.propTypes={story:i.object.isRequired,children:i.node,theme:i.string,border:i.string,isHorizontalMobile:i.bool,headerLevel:i.string,borderColor:i.string,config:i.object,showSubheadline:i.bool,collectionId:i.number,roundedCorners:i.string};var Io=function(t){return t.width,t.height,t.iconColor,e.createElement("div",{className:"loading-m_loading-indicator__2Dlst"},e.createElement("svg",{width:"40",height:"40",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},e.createElement("circle",{cx:"84",cy:"50",r:"0",fill:"currentColor"},e.createElement("animate",{attributeName:"r",values:"10;0;0;0;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}),e.createElement("animate",{attributeName:"cx",values:"84;84;84;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"})),e.createElement("circle",{cx:"84",cy:"50",r:".709",fill:"currentColor"},e.createElement("animate",{attributeName:"r",values:"0;10;10;10;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-1s"}),e.createElement("animate",{attributeName:"cx",values:"16;16;50;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-1s"})),e.createElement("circle",{cx:"81.59",cy:"50",r:"10",fill:"currentColor"},e.createElement("animate",{attributeName:"r",values:"0;10;10;10;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-0.5s"}),e.createElement("animate",{attributeName:"cx",values:"16;16;50;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-0.5s"})),e.createElement("circle",{cx:"47.59",cy:"50",r:"10",fill:"currentColor"},e.createElement("animate",{attributeName:"r",values:"0;10;10;10;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}),e.createElement("animate",{attributeName:"cx",values:"16;16;50;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"})),e.createElement("circle",{cx:"16",cy:"50",r:"9.291",fill:"currentColor"},e.createElement("animate",{attributeName:"r",values:"0;0;10;10;10",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}),e.createElement("animate",{attributeName:"cx",values:"16;16;16;50;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}))))};Io.propTypes={width:i.object,height:i.object,iconColor:i.object};var So={"./alternate-collection-filter.m.css":{navigator:"alternate-collection-filter-m_navigator__20CE0",wrapper:"alternate-collection-filter-m_wrapper__y_0ov","arr--headline":"alternate-collection-filter-m_arr--headline__24KSK","arr--read-time":"alternate-collection-filter-m_arr--read-time__mjm5v","read-time-indicator":"alternate-collection-filter-m_read-time-indicator__kaM3d","arr--publish-time":"alternate-collection-filter-m_arr--publish-time__1nsEF","arr-separator":"alternate-collection-filter-m_arr-separator__st4TN","arr--button":"alternate-collection-filter-m_arr--button__y0_Yh","light-wrapper":"alternate-collection-filter-m_light-wrapper__1CJKq","arr--collection-name":"alternate-collection-filter-m_arr--collection-name__1EyHs","section-tag":"alternate-collection-filter-m_section-tag__4AVsa","author-name":"alternate-collection-filter-m_author-name__WPATU","collection-filter":"alternate-collection-filter-m_collection-filter__34wis",divider:"alternate-collection-filter-m_divider__Mwn0n",dark:"alternate-collection-filter-m_dark__IaLvx",light:"alternate-collection-filter-m_light__2FdRq","subCollection-wrapper":"alternate-collection-filter-m_subCollection-wrapper__3Tj-s",cards:"alternate-collection-filter-m_cards__30xpt",card:"alternate-collection-filter-m_card__1Mb8D","card-wrapper":"alternate-collection-filter-m_card-wrapper__3puyR","child-collections":"alternate-collection-filter-m_child-collections__9s0wl","child-collection":"alternate-collection-filter-m_child-collection__1SXcM","child-collection-wrapper":"alternate-collection-filter-m_child-collection-wrapper__JdK4a","open-subchild":"alternate-collection-filter-m_open-subchild__urMg0",fadein:"alternate-collection-filter-m_fadein__3-kJ6","subCollection-stories":"alternate-collection-filter-m_subCollection-stories__2o4ws",fadeIn:"alternate-collection-filter-m_fadeIn__3g-o6","no-button-wrapper":"alternate-collection-filter-m_no-button-wrapper__1auuJ"}};function zo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Mo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zo(Object(r),!0).forEach((function(t){T(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jo=function(t){var r=t.collection,i=t.config,l=void 0===i?{}:i,u=l.collectionNameBorderColor,m=void 0===u?"":u,h=l.borderColor,p=void 0===h?"":h,f=l.theme,g=void 0===f?"":f,b=l.border,y=void 0===b?"":b,_=l.collectionNameTemplate,w=void 0===_?"":_,E=l.footerSlotConfig,C=void 0===E?{}:E,k=l.footerButton,L=void 0===k?"":k,S=l.showButton,z=void 0===S||S,M=C.footerSlot,N=I(o([]),2),O=N[0],H=N[1],R=I(o({}),2),D=R[0],A=R[1],B=I(o(0),2),V=B[0],F=B[1],Z=I(o(!0),2),q=Z[0],W=Z[1],U=c(r,["items"],[]).filter((function(e){return"collection"===e.type}));if(U.length<1)return null;var G=U.map((function(e){return e.id})),J=function(e,t){A((function(r){return Mo(Mo({},r),{},T({},e,t))}))};function Y(){return K.apply(this,arguments)}function K(){return K=x(j.mark((function e(){var t,r,o,n,i=arguments;return j.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:G[0],W(!0),e.prev=2,r={},t in D){e.next=11;break}return e.next=7,a.get("/api/v1/collections/".concat(t,"?limit=7"));case 7:o=e.sent,r=o.data,e.next=12;break;case 11:r=D[t];case 12:J(t,r),n=v(r),W(!1),H(n),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(2),console.error("API call failed",e.t0);case 21:case"end":return e.stop()}}),e,null,[[2,18]])}))),K.apply(this,arguments)}n((function(e){Y(e)}),[]);var $=d(),Q=s((function(e){return c(e,["qt","config"],{})})),X=ir(U[V],Q),ee=O.slice(0,9),te=rr(g),re=M?M():null,oe="light"===te?"light-wrapper":"";return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"collection-filter",style:{backgroundColor:g||"initial"}},e.createElement("div",{className:P("wrapper ".concat(oe),So)},e.createElement(gr,{collection:r,collectionNameTemplate:w,collectionNameBorderColor:m}),e.createElement("div",{className:"alternate-collection-filter-m_collection-filter__34wis"},e.createElement("div",{className:"alternate-collection-filter-m_child-collections__9s0wl"},U.map((function(t,r){return e.createElement("div",{key:r,className:("child-collection-wrapper ".concat(r===V?"open-subchild":"")?"child-collection-wrapper ".concat(r===V?"open-subchild":"")+" ":"")+P("child-collection-wrapper ".concat(r===V?"open-subchild":""),So)},e.createElement("div",{onClick:function(e){return function(e,t,r){e.stopPropagation(),Y(r),F(V===t?0:t)}(e,r,t.id)},className:P("child-collection ".concat(te),So)},t.name),e.createElement("span",{className:("navigator ".concat(te)?"navigator ".concat(te)+" ":"")+P("navigator ".concat(te),So)}))}))),e.createElement("span",{className:("divider ".concat(te)?"divider ".concat(te)+" ":"")+P("divider ".concat(te),So)}),e.createElement("div",{className:"alternate-collection-filter-m_subCollection-wrapper__3Tj-s"},q?e.createElement(Io,null):e.createElement("div",{className:"alternate-collection-filter-m_subCollection-stories__2o4ws"},e.createElement("div",{className:"alternate-collection-filter-m_cards__30xpt"},ee.slice(0,6).map((function(t,r){return e.createElement("div",{className:"alternate-collection-filter-m_card__1Mb8D",key:r},e.createElement(ko,{story:t,border:y,theme:g,config:l},e.createElement(bo,{story:t,aspectRatio:[[16,9]]}),e.createElement(To,{story:t,border:y,borderColor:p,config:l})))})))))),ee.length>6&&e.createElement(_r,{collection:U[V],template:L,config:l,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}($,X)},qtConfig:Q}),e.createElement("div",{className:P("".concat(z?"":"no-button-wrapper"),So)},re)))},No=H(jo);jo.propTypes={collection:i.object.isRequired,config:i.shape({borderColor:i.string,theme:i.string,border:i.string,collectionNameTemplate:i.string,footerSlotConfig:i.object,footerButton:i.string,collectionNameBorderColor:i.string})},jo.defaultProps={theme:"#ffffff",slotConfig:"story",border:""};export{M as c,z as g,No as i};
@@ -0,0 +1 @@
1
+ import{c as e,g as t}from"./index-62abe1c1.js";function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(a){if("default"!==a&&!(a in e)){var n=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(e,a,n.get?n:{enumerable:!0,get:function(){return t[a]}})}}))})),Object.freeze(e)}var n=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},n=function(e,t,n){var r,i=a[e];return r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};t.default=n,e.exports=t.default})),r=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth,n=e.formats[a]||e.formats[e.defaultWidth];return n}},e.exports=t.default})),i=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r)&&a.__esModule?a:{default:a};var i={date:(0,n.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,n.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,n.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=i,e.exports=t.default})),o=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},n=function(e,t,n,r){return a[e]};t.default=n,e.exports=t.default})),u=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,a){var n,r=a||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=r.width?String(r.width):i;n=e.formattingValues[o]||e.formattingValues[i]}else{var u=e.defaultWidth,d=r.width?String(r.width):e.defaultWidth;n=e.values[d]||e.values[u]}return n[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default})),d=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=u)&&a.__esModule?a:{default:a};var r={ordinalNumber:function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},era:(0,n.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,n.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,n.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,n.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,n.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=r,e.exports=t.default})),l=e((function(e,t){function a(e,t){for(var a in e)if(e.hasOwnProperty(a)&&t(e[a]))return a}function n(e,t){for(var a=0;a<e.length;a++)if(t(e[a]))return a}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],u=t.match(o);if(!u)return null;var d,l=u[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(s)?n(s,(function(e){return e.test(l)})):a(s,(function(e){return e.test(l)}));d=e.valueCallback?e.valueCallback(f):f,d=r.valueCallback?r.valueCallback(d):d;var h=t.slice(l.length);return{value:d,rest:h}}},e.exports=t.default})),s=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;var u=t.slice(r.length);return{value:o,rest:u}}},e.exports=t.default})),f=l,h=s,m=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(f);function n(e){return e&&e.__esModule?e:{default:e}}var r={ordinalNumber:(0,n(h).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,a.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,a.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,a.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,a.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,a.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},i=r;t.default=i,e.exports=t.default})),c=n,v=i,g=o,y=d,b=m,p=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=u(c),n=u(v),r=u(g),i=u(y),o=u(b);function u(e){return e&&e.__esModule?e:{default:e}}var d={code:"en-US",formatDistance:a.default,formatLong:n.default,formatRelative:r.default,localize:i.default,match:o.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=d,e.exports=t.default})),w=a({__proto__:null,default:t(p)},[p]);export{w as i};
@@ -0,0 +1 @@
1
+ import{c as e,g as t}from"./index-d150109d.js";function a(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(a){if("default"!==a&&!(a in e)){var n=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(e,a,n.get?n:{enumerable:!0,get:function(){return t[a]}})}}))})),Object.freeze(e)}var n=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},n=function(e,t,n){var r,i=a[e];return r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};t.default=n,e.exports=t.default})),r=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth,n=e.formats[a]||e.formats[e.defaultWidth];return n}},e.exports=t.default})),i=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r)&&a.__esModule?a:{default:a};var i={date:(0,n.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,n.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,n.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=i,e.exports=t.default})),o=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},n=function(e,t,n,r){return a[e]};t.default=n,e.exports=t.default})),u=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,a){var n,r=a||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=r.width?String(r.width):i;n=e.formattingValues[o]||e.formattingValues[i]}else{var u=e.defaultWidth,d=r.width?String(r.width):e.defaultWidth;n=e.values[d]||e.values[u]}return n[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default})),d=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=u)&&a.__esModule?a:{default:a};var r={ordinalNumber:function(e,t){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},era:(0,n.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,n.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,n.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,n.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,n.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=r,e.exports=t.default})),l=e((function(e,t){function a(e,t){for(var a in e)if(e.hasOwnProperty(a)&&t(e[a]))return a}function n(e,t){for(var a=0;a<e.length;a++)if(t(e[a]))return a}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],u=t.match(o);if(!u)return null;var d,l=u[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(s)?n(s,(function(e){return e.test(l)})):a(s,(function(e){return e.test(l)}));d=e.valueCallback?e.valueCallback(f):f,d=r.valueCallback?r.valueCallback(d):d;var h=t.slice(l.length);return{value:d,rest:h}}},e.exports=t.default})),s=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;var u=t.slice(r.length);return{value:o,rest:u}}},e.exports=t.default})),f=l,h=s,m=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(f);function n(e){return e&&e.__esModule?e:{default:e}}var r={ordinalNumber:(0,n(h).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,a.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,a.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,a.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,a.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,a.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},i=r;t.default=i,e.exports=t.default})),c=n,v=i,g=o,y=d,b=m,p=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=u(c),n=u(v),r=u(g),i=u(y),o=u(b);function u(e){return e&&e.__esModule?e:{default:e}}var d={code:"en-US",formatDistance:a.default,formatLong:n.default,formatRelative:r.default,localize:i.default,match:o.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=d,e.exports=t.default})),w=a({__proto__:null,default:t(p)},[p]);export{w as i};
@@ -0,0 +1 @@
1
+ import e from"lodash.get";import t,{PropTypes as r}from"prop-types";import o,{createContext as n,useContext as a,useState as i,useEffect as l}from"react";import c from"lodash.camelcase";import s from"lodash.kebabcase";import d from"react-timeago";import{utcToZonedTime as u,format as m}from"date-fns-tz";import{formatDistanceToNowStrict as h}from"date-fns";import{useSelector as p,connect as g}from"react-redux";import{ResponsiveHeroImage as f,ResponsiveImage as v,LazyLoadImages as b,Link as y,LinkBase as _}from"@quintype/components";function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t,r,o,n,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(o,n)}function C(e){return function(){var t=this,r=arguments;return new Promise((function(o,n){var a=e.apply(t,r);function i(e){E(a,o,n,i,l,"next",e)}function l(e){E(a,o,n,i,l,"throw",e)}i(void 0)}))}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function z(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function j(e){var t={exports:{}};return e(t,t.exports),t.exports}var T=j((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),I=z(j((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=T)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,d=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!d)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),S=j((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof f?t:f,a=Object.create(n.prototype),i=new j(o||[]);return a._invoke=function(e,t,r){var o=u;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===p){if("throw"===n)throw a;return I()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=x(i,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===u)throw o=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(e,t,r);if("normal"===c.type){if(o=r.done?p:m,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=p,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var u="suspendedStart",m="suspendedYield",h="executing",p="completed",g={};function f(){}function v(){}function b(){}var y={};c(y,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=b.prototype=f.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(n,a,i,l){var c=d(e[n],e,a);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function x(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var n=d(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:I}}function I(){return{value:t,done:!0}}return v.prototype=b,c(E,"constructor",b),c(b,"constructor",v),v.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},C(k.prototype),c(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new k(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=T,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(z),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),z(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;z(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:T(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}var M=Array.isArray,P="object"==typeof L&&L&&L.Object===Object&&L,N="object"==typeof self&&self&&self.Object===Object&&self,H=P||N||Function("return this")(),D=H.Symbol,R=Object.prototype,A=R.hasOwnProperty,B=R.toString,F=D?D.toStringTag:void 0;var V=function(e){var t=A.call(e,F),r=e[F];try{e[F]=void 0;var o=!0}catch(e){}var n=B.call(e);return o&&(t?e[F]=r:delete e[F]),n},Z=Object.prototype.toString;var q=function(e){return Z.call(e)},W=D?D.toStringTag:void 0;var U=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?V(e):q(e)};var G=function(e){return null!=e&&"object"==typeof e};var J=function(e){return"symbol"==typeof e||G(e)&&"[object Symbol]"==U(e)},K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/;var $=function(e,t){if(M(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!J(e))||(Y.test(e)||!K.test(e)||null!=t&&e in Object(t))};var Q=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var X,ee=function(e){if(!Q(e))return!1;var t=U(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},te=H["__core-js_shared__"],re=(X=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"";var oe=function(e){return!!re&&re in e},ne=Function.prototype.toString;var ae=function(e){if(null!=e){try{return ne.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ie=/^\[object .+?Constructor\]$/,le=Function.prototype,ce=Object.prototype,se=le.toString,de=ce.hasOwnProperty,ue=RegExp("^"+se.call(de).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var me=function(e){return!(!Q(e)||oe(e))&&(ee(e)?ue:ie).test(ae(e))};var he=function(e,t){return null==e?void 0:e[t]};var pe=function(e,t){var r=he(e,t);return me(r)?r:void 0},ge=pe(Object,"create");var fe=function(){this.__data__=ge?ge(null):{},this.size=0};var ve=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},be=Object.prototype.hasOwnProperty;var ye=function(e){var t=this.__data__;if(ge){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return be.call(t,e)?t[e]:void 0},_e=Object.prototype.hasOwnProperty;var we=function(e){var t=this.__data__;return ge?void 0!==t[e]:_e.call(t,e)};var Ee=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ge&&void 0===t?"__lodash_hash_undefined__":t,this};function Ce(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ce.prototype.clear=fe,Ce.prototype.delete=ve,Ce.prototype.get=ye,Ce.prototype.has=we,Ce.prototype.set=Ee;var ke=Ce;var xe=function(){this.__data__=[],this.size=0};var Le=function(e,t){return e===t||e!=e&&t!=t};var ze=function(e,t){for(var r=e.length;r--;)if(Le(e[r][0],t))return r;return-1},je=Array.prototype.splice;var Te=function(e){var t=this.__data__,r=ze(t,e);return!(r<0)&&(r==t.length-1?t.pop():je.call(t,r,1),--this.size,!0)};var Ie=function(e){var t=this.__data__,r=ze(t,e);return r<0?void 0:t[r][1]};var Se=function(e){return ze(this.__data__,e)>-1};var Oe=function(e,t){var r=this.__data__,o=ze(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Me(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Me.prototype.clear=xe,Me.prototype.delete=Te,Me.prototype.get=Ie,Me.prototype.has=Se,Me.prototype.set=Oe;var Pe=Me,Ne=pe(H,"Map");var He=function(){this.size=0,this.__data__={hash:new ke,map:new(Ne||Pe),string:new ke}};var De=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Re=function(e,t){var r=e.__data__;return De(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ae=function(e){var t=Re(this,e).delete(e);return this.size-=t?1:0,t};var Be=function(e){return Re(this,e).get(e)};var Fe=function(e){return Re(this,e).has(e)};var Ve=function(e,t){var r=Re(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ze.prototype.clear=He,Ze.prototype.delete=Ae,Ze.prototype.get=Be,Ze.prototype.has=Fe,Ze.prototype.set=Ve;var qe=Ze;function We(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(We.Cache||qe),r}We.Cache=qe;var Ue=We;var Ge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Je=/\\(\\)?/g,Ke=function(e){var t=Ue(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ge,(function(e,r,o,n){t.push(o?n.replace(Je,"$1"):r||e)})),t}));var Ye=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},$e=D?D.prototype:void 0,Qe=$e?$e.toString:void 0;var Xe=function e(t){if("string"==typeof t)return t;if(M(t))return Ye(t,e)+"";if(J(t))return Qe?Qe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var et=function(e){return null==e?"":Xe(e)};var tt=function(e,t){return M(e)?e:$(e,t)?[e]:Ke(et(e))};var rt=function(e){if("string"==typeof e||J(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var ot=function(e,t){for(var r=0,o=(t=tt(t,e)).length;null!=e&&r<o;)e=e[rt(t[r++])];return r&&r==o?e:void 0};var nt=function(e,t,r){var o=null==e?void 0:ot(e,t);return void 0===o?r:o};var at=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var it=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),lt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var st=function(e){return(e=et(e))&&e.replace(lt,it).replace(ct,"")},dt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ut=function(e){return e.match(dt)||[]},mt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ht=function(e){return mt.test(e)},pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",gt="["+pt+"]",ft="\\d+",vt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",yt="[^\\ud800-\\udfff"+pt+ft+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="(?:\\ud83c[\\udde6-\\uddff]){2}",wt="[\\ud800-\\udbff][\\udc00-\\udfff]",Et="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ct="(?:"+bt+"|"+yt+")",kt="(?:"+Et+"|"+yt+")",xt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Lt="[\\ufe0e\\ufe0f]?"+xt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",_t,wt].join("|")+")[\\ufe0e\\ufe0f]?"+xt+")*"),zt="(?:"+[vt,_t,wt].join("|")+")"+Lt,jt=RegExp([Et+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[gt,Et,"$"].join("|")+")",kt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[gt,Et+Ct,"$"].join("|")+")",Et+"?"+Ct+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Et+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ft,zt].join("|"),"g");var Tt=function(e){return e.match(jt)||[]};var It=function(e,t,r){return e=et(e),void 0===(t=r?void 0:t)?ht(e)?Tt(e):ut(e):e.match(t)||[]},St=RegExp("['’]","g");var Ot=function(e){return function(t){return at(It(st(t).replace(St,"")),e,"")}},Mt=Ot((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Pt=Mt,Nt=Ot((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ht=Nt,Dt={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},Rt=function(e){var t=e.width,r=void 0===t?"3px":t,n=e.height,a=void 0===n?"3px":n,i=e.color,l=void 0===i?"light":i;return o.createElement("div",{className:"arr--dot "+I(l,Dt)},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a,viewBox:"0 0 3 3"},o.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};Rt.propTypes={color:t.string,width:t.string,height:t.string};var At={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},Bt=function(e){var t=e.width,r=void 0===t?"1":t,n=e.height,a=void 0===n?"10":n,i=e.color,l=void 0===i?"light":i;return o.createElement("div",{className:"arr--divider "+I(l,At)},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a},o.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};Bt.propTypes={color:t.string,width:t.string,height:t.string};var Ft=["text","photo","video","live-blog","listicle"],Vt=[{name:"Asia/Kolkata",abbreviation:"IST"}];var Zt=function(e,t,r,o){var n,a,i,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"en-IN",s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],d=arguments.length>7?arguments[7]:void 0,h=l.showTime,p=void 0!==h&&h,g=l.isTimeFirst,f=void 0!==g&&g,v=l.isUpperCase,b=void 0!==v&&v,y=l.disableMeridiem,_=void 0!==y&&y,w=l.dateFormat,E=l.localizedMeridiem,C=l.localizedMonths,k=l.direction,L=void 0===k?"ltr":k,z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],j=new Date(o);if(s){var T=d&&u(j,d),I=T&&m(T,"yyyy-MM-dd HH:mm:ss zzz",{timeZone:d}),S=I.split(" "),O=x(S,1),M=O[0],P=M.split("-"),N=x(P,3),H=N[0],D=N[1],R=N[2];n=R,a=z[parseInt(D,10)-1],i=H}else n=j.getDate().toString().padStart(2,0),a=z[j.getMonth()],i=j.getFullYear();var A=a;b&&(A=Pt(a));var B="rtl"===L&&!E&&!C,F=Wt(o,c,l,f,d,s),V="",Z="";p&&(V=", ".concat(F),Z=f&&B?"".concat(F):"".concat(F," ,")),C&&(A=nt(C,[Ht(a)])||a);var q=n.toLocaleString(c),W=i.toLocaleString(c).replace(/,/g,"");return _?"".concat(A," ").concat(q,", ").concat(W):f?B?"".concat(W," ").concat(A," ").concat(q,", ").concat(Z):"".concat(F,", ").concat(q," ").concat(A," ").concat(W):"mon-dd-yyyy"===w?B?"".concat(Z).concat(W," ,").concat(q," ").concat(A):"".concat(A," ").concat(q,", ").concat(W).concat(V):B?"".concat(Z).concat(W," ").concat(A," ").concat(q):"".concat(q," ").concat(A," ").concat(W).concat(V)};function qt(e,t,r,o){var n,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,c=["day","week","month","year"],s=nt(a,["localizedPublishTime",r])||r,d=l?i:"en",u={time:e.toLocaleString(d),unit:n,ago:s,since:nt(a,["localizedPublishTime","since"])||"since"},m="time unit ago",p=function(e){return m.replace(/time|unit|ago|since/gi,(function(t){return e[t]}))},g=function(){var e=C(S.mark((function e(){var t,r,n,a,l;return S.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Date(o),e.prev=1,e.next=4,import("date-fns/locale/".concat(i,"/index.js"));case 4:n=e.sent,r=n.default,e.next=14;break;case 8:return e.prev=8,e.t0=e.catch(1),e.next=12,import("./index-1cb9980e.js").then((function(e){return e.i}));case 12:a=e.sent,r=a.default;case 14:return l=h(t,{locale:r,addSuffix:!0,includeSeconds:!0}),e.abrupt("return",l);case 16:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}(),f=nt(a,["localizedPublishTime"],{}),v=["ago","seconds","minute","minutes","hour","hours"],b=!v.some((function(e){return f[e]})),y=!a.enableLocalization&&!b,_=!a.enableLocalization&&b,w=a.enableLocalization&&b,E=a.enableTimeTranslation&&(y||_||w);if("hour"===t&&e>23||-1!==c.indexOf(t))return Zt(e,t,r,o,a,d,l);var k=nt(a,["localizedPublishTime",t])||t,x=nt(a,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s");return n=e>1?x:k,u.unit=n,E?g():p(u)}function Wt(e,t,r,o,n){var a,i,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=r.timeFormat,s=void 0===c?"12hours":c,d=r.localizedZeroToPad,h=r.direction,p=void 0===h?"ltr":h,g=r.localizedMonths,f=r.localizedMeridiem,v=new Date(e);if(l){var b=n&&u(v,n),y=b&&m(b,"yyyy-MM-dd HH:mm:ss zzz",{timeZone:n}),_=y.split(" ")[1],w=_.split(":"),E=x(w,2);a=E[0],i=E[1]}else{a=v.getHours(),i=v.getMinutes();var C="string"==typeof t&&t.startsWith("en")?"0":d;i=i<10?C+i.toLocaleString(t):i.toLocaleString(t)}if("24hours"===s)return l?"".concat(a,":").concat(i):v.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit"});var k=a>=12?"pm":"am";a=(a%=12)||12;var L=k.toLocaleString(t);if(f){var z=f.am,j=void 0===z?"am":z,T=f.pm,I=void 0===T?"pm":T;L="am"===k.toLocaleString(t)?j||"am":I||"pm"}if("rtl"===p&&!f&&!g){if(o){var S=a.toLocaleString(t)+":"+i+" "+L;return S}var O=L+" "+a.toLocaleString(t)+":"+i;return O}var M=a.toLocaleString(t)+":"+i+" "+L;return M}var Ut=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Gt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Jt={mobile:767,tablet:1024},Kt=function(e){var t=nt(Jt,e);return!!t&&nt(global,"document.documentElement.clientWidth")<=t},Yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Gt(e),o=Ut(r)<155?"light":"dark";return o},$t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n,i=t["sketches-host"];if(a)return ir(i,"/magazine/archive/".concat(o));if(o)return ir(i,"/magazine/".concat(o,"/").concat(e.slug));var l="section"===e.template;if(l){var c=nt(e,["metadata","section","0","id"],""),s=t.sections,d=s&&s.find((function(e){return e.id===c}));return d?d["section-url"]:ir(i,"/")}return ir(i,"/collection/".concat(e.slug))};function Qt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?nt(n,["reference-url"],""):""}t.shape({"sketches-host":t.string,"cdn-name":t.string,"cdn-image":t.string}),t.shape({headline:t.string,"last-published-at":t.number,subheadline:t.string});var Xt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=new URLSearchParams(r),n=o.toString();if("news-elsewhere"===nt(e,["story-template"])){var a=nt(e,["metadata","reference-url"],"");return n?"".concat(a,"?").concat(n):a}var i=e.url||t;return n?"".concat(i,"?").concat(n):i},er=function(){var e=C(S.mark((function e(t){var r,o,n=arguments;return S.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:"",e.prev=1,e.next=4,fetch("".concat(r,"/api/v1/collections/").concat(t,"?item-type=story&limit=6"));case 4:return e.next=6,e.sent.json();case 6:return o=e.sent,e.abrupt("return",o);case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),tr=function(e){var t=e.date,r=e.formatter,n=e.config,a=void 0===n?{}:n,i=e.languageCode,l=e.isLocalizedNumber,c=e.template,s=e.timezone,h=void 0===s?null:s,g=nt(a,["isRelatedCollection"],!1);if(h&&"story"===c){var f=p((function(e){return nt(e,["qt","config","pagebuilder-config","general"],{})})).enableTimeZoneAbbr,v=void 0!==f&&f,b=h&&u(t,h),y=b&&m(b,"yyyy-MM-dd HH:mm:ss zzz",{timeZone:h}),_=Zt("","","",t,a,l?i:"en",v,h);if(v){var w=null==Vt?void 0:Vt.find((function(e){return e.name===h})),E=(null==w?void 0:w.abbreviation)||"";return o.createElement("time",{dateTime:y},_," ",E)}return o.createElement("time",{dateTime:y},_)}return o.createElement(d,{date:t,component:g?"div":"time",className:"arr__timeago",formatter:function(e,t,o,n){return r(e,t,o,n,a,i,l)}})};function rr(e){return null!==e&&""!==e&&(e=e.toString()).replace(/(<([^>]+)>)/gi,"")}var or=function(e,t){return"divider"===e?o.createElement(Bt,{color:t}):o.createElement(Rt,{color:t})};var nr=function(e,t,r){return["sixColSixStories"].includes(t)&&e.showCardBgColor&&"aroundBorder"===e.border?r?e.darkCardBgColor||e.theme:e.cardBgColor||e.theme:e.theme};function ar(e){return"light"===Yt(e)?"#ffffff":"#333333"}var ir=function(e,t){try{var r=new URL(e).pathname;return r&&"/"!==r?"".concat(e).concat(t):t}catch(e){return console.log("Sketches host path error ---\x3e ",e),t}};function lr(e){return"read-more"===e}function cr(e){return!e||"disabled"===e}var sr=n(),dr=function(e){return function(t){return o.createElement(sr.Provider,{value:t.config},o.createElement(e,t))}},ur=function(){return a(sr)},mr={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI",wrapper:"timestamp-m_wrapper__2Czhs"}};function hr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var gr={published:"first-published-at",updated:"last-published-at"},fr=function(t){var r=t.story,n=t.config,a=void 0===n?{}:n,i=t.layout,l=t.enableDarkModePreview,d=void 0!==l&&l,u=ur()||{},m=e(a,["showTime"],e(u,["showTime"],!0)),h=r["first-published-at"]||r["last-published-at"],g=nr(u,i,d),f=Yt(g),v=p((function(t){return e(t,["qt","config"],{})})),b=e(v,["isLocalizedNumber"],!1),y=e(v,["language","ietf-code"],"en"),_=e(v,["language","direction"],"ltr"),w=e(v,["pagebuilder-config","general","storyCardTime"],null),E=function(e,t){var r=e["story-template"],o=!Ft.includes(r),n=o&&nt(t,["customStory","".concat(c(r),"-story"),"storyType"],"text");return o?s(n):r}(r,e(v,["pagebuilder-config"],{})),C=e(v,["pagebuilder-config","general"],{}).localization,k=(void 0===C?{}:C).localizedElements,x=void 0===k?{}:k,L="rtl"===_&&!e(x,["months"])&&!e(x,["meridiem"],{})?"time ".concat(f," wrapper"):"time ".concat(f);if(w){var z="live-blog"===E?w.liveBlog:w.rest;if(z)h=r[gr[z]]||h}var j=e(v,["pagebuilder-config","general","dateFormat"],"dd-mon-yyyy"),T=e(v,["pagebuilder-config","general","enableTimeTranslation"],!1),S=e(v,["pagebuilder-config","general","localization","enableLocalization"],!1),O=pr(pr({direction:_},a),{},{dateFormat:j,enableTimeTranslation:T,enableLocalization:S,localizedMonths:S&&e(x,["months"]),localizedMeridiem:S&&e(x,["meridiem"],{})});return o.createElement(o.Fragment,null,m&&o.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+I(L,mr)},o.createElement("div",null,tr({date:h,formatter:qt,config:O,languageCode:y,isLocalizedNumber:b}))))};fr.propTypes={story:t.object,config:t.object,layout:t.string,enableDarkModePreview:t.bool};var vr={};function br(t){var r=t.slug,n=void 0===r?"":r,a=t.metadata,i=t.aspectRatio,l=void 0===i?[]:i,c=t.defaultWidth,s=void 0===c?"":c,d=t.widths,u=t.imgParams,m=void 0===u?{}:u,h=t.alt,g=void 0===h?"":h,y=t.className,_=t.styleName,w=t.story,E=t.isResponsiveHeroImg,C=void 0!==E&&E,k=t.isBotRequest,x=void 0!==k&&k,L=t.isStoryPageImage,z=void 0!==L&&L,j=t.sizes,T=p((function(t){return e(t,["qt","lazyLoadImageMargin"],!1)}));return x||!T?C?o.createElement(f,{story:w,aspectRatio:l,defaultWidth:s,widths:d,imgParams:m,alt:g,className:y,width:"100%",height:"100%",sizes:j}):o.createElement(v,{slug:n,aspectRatio:l,defaultWidth:s,imgParams:m,alt:g,metadata:a,widths:d,sizes:j,width:"100%",height:"100%",className:(y?y+" ":"")+I(_,vr)}):z?o.createElement(f,{story:w,aspectRatio:l,defaultWidth:s,widths:d,sizes:j,imgParams:m,alt:g,className:y,priority:!0}):C?o.createElement(b,{margin:T},o.createElement(f,{story:w,aspectRatio:l,defaultWidth:s,widths:d,imgParams:m,alt:g,className:y,width:"100%",height:"100%",sizes:j})):o.createElement(b,{margin:T},o.createElement(v,{slug:n,aspectRatio:l,defaultWidth:s,imgParams:m,alt:g,metadata:a,widths:d,width:"100%",height:"100%",sizes:j,className:(y?y+" ":"")+I(_,vr)}))}br.propTypes={slug:t.string,metadata:t.any,aspectRatio:t.array,defaultWidth:t.string,widths:t.any,sizes:t.string,imgParams:t.object,alt:t.string,className:t.string,styleName:t.string,story:t.object,isResponsiveHeroImg:t.bool,isBotRequest:t.bool,isStoryPageImage:t.bool};var yr={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},_r=function(t){var r=t.story,n=t.hideAuthorImage;t.isBottom;var a=t.prefix,i=void 0===a?"":a,l=t.config,c=void 0===l?{}:l,s=t.layout,d=t.enableDarkModePreview,u=void 0!==d&&d,m=ur()||{},h=e(m,["showAuthor"],!0),g=e(r,["authors","0"],""),f=g["avatar-url"],v=g["avatar-s3-key"],b=g.name,_=g.slug,w=p((function(t){return e(t,["qt","isBotRequest"])})),E=nr(m,s,u),C=Yt(E),k=e(c,["mountAt"],""),x=function(e){return i?o.createElement("div",{className:"arr-author-prefix "+I("prefix ".concat(C),yr)},i):!n&&function(e){return f||v?o.createElement("div",{"data-test-id":"author-image",className:"arr--author-image "+I("author-image ".concat(e,"-image"),yr)},o.createElement("figure",null,v?o.createElement(br,{slug:v,aspectRatio:[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:b,isBotRequest:w}):o.createElement("img",{src:f,alt:b}))):null}(e)};return o.createElement(o.Fragment,null,h&&o.createElement(y,{className:"author-name arr-author-name arrow-component author-m_author__WRuLm",href:"".concat(k,"/author/")+_,"aria-label":"author-name"},x("ltr"),o.createElement("div",{"data-test-id":"author-name",className:"author-name "+I("author-name ".concat(C),yr)},b||r["author-name"]),!i&&x("rtl")))};var wr=g((function(t){return{config:e(t,["qt","config"],{})}}))(_r);_r.propTypes={story:t.object.isRequired,hideAuthorImage:t.bool,isBottom:t.bool,prefix:t.string,config:t.object,layout:t.string,enableDarkModePreview:t.bool},_r.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:"",layout:""};var Er={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_",dot:"read-time-m_dot__2fOta",dash:"read-time-m_dash__HDWVJ",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},Cr=function(t){var r=t.story,n=t.opts,a=void 0===n?{}:n,i=t.isLightTheme,l=void 0!==i&&i,c=t.layout,s=t.enableDarkModePreview,d=void 0!==s&&s,u=ur()||{},m=e(u,["showReadTime"])||e(a,["showReadTime"],!0),h=e(r,["read-time"],0);if(!m||!h)return null;var g=a.showDotIndicator,f=void 0===g||g,v=nr(u,c,d),b=l?"light":Yt(v),y=p((function(t){return e(t,["qt","config","isLocalizedNumber"],!1)}))?p((function(t){return e(t,["qt","config","language","ietf-code"],"en")})):"en",_=p((function(t){return e(t,["qt","config","pagebuilder-config","general"],{})})).localization,w=(void 0===_?{}:_).localizedElements,E=void 0===w?{}:w,C=e(a,["localizedTimeToRead"])||e(a,["localizationConfig","localizedTimeToRead"])||e(E,["buttonLabels","timeToRead"])||"min read",k=e(a,["separator"],""),x="divider"===k?"dash":"dot";return o.createElement(o.Fragment,null,o.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+I("read-time-wrapper ".concat(b),Er)},f&&o.createElement("div",{className:"read-time-indicator "+I(x,Er)},or(k,b)),o.createElement("span",null,h.toLocaleString("".concat(y))," ",C)))};Cr.propTypes={story:t.shape({"read-time":t.number}),opts:t.shape({showReadTime:t.bool}),isLightTheme:t.bool,languageCode:t.string,layout:t.string,enableDarkModePreview:t.bool};var kr={"./sponsored-lable.m.css":{"sponsored-label":"sponsored-lable-m_sponsored-label__SHjA8","story-label":"sponsored-lable-m_story-label__3SrZy","card-label":"sponsored-lable-m_card-label__18k0v"}};function xr(t){var r=t.story,n=t.sponsoredStoryConfig,a=t.isStoryPage,i=e(r,["metadata"],{});if(!i.hasOwnProperty("sponsored-by"))return null;var l=e(i,["sponsored-by"],""),c=p((function(t){return e(t,["header","isDarkModeEnabled"],!1)})),s=n.sponsoredStoryPageLabel,d=n.sponsoredLabelColor,u=n.sponsoredLabelDarkColor,m=n.sponsoredStoryRowLabel,h=(s||"Sponsored by")+": ".concat(l),g=a?h:m||"Sponsored",f=a?"story-label":"card-label",v=c?u||"#404040":d||"#E6E6E6",b="light"===Yt(v)?"#ffffff":"#000000";return o.createElement("div",{style:{background:v,color:b},"data-test-id":a?"sponsored-tag":"sponsored-tag-cards",className:I("sponsored-label ".concat(f),kr)},g)}function Lr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}xr.propTypes={story:t.object,sponsoredStoryConfig:t.object,isStoryPage:t.bool},xr.defaultProps={isStoryPage:!1};var jr={"./author-with-timestamp.m.css":{"author-time-wrapper":"author-with-timestamp-m_author-time-wrapper__G7_eI","author-image":"author-with-timestamp-m_author-image__24xrD",dot:"author-with-timestamp-m_dot__1LHXD",dash:"author-with-timestamp-m_dash__2L5XC","space-8":"author-with-timestamp-m_space-8__3oTms"}},Tr=function(t){var r=t.story,n=t.separator;t.isBottom;var a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,d=t.collectionId,u=t.layout,m=t.enableDarkModePreview,h=void 0!==m&&m,g=ur()||{},f=e(c,["showAuthor"],e(g,["showAuthor"],!0)),v=e(c,["showTime"],e(g,["showTime"],!0)),b=e(g,["showReadTime"],!0),y="dot"===n?"dot":"dash",_=nr(g,u,h),w=s?"light":Yt(_),E=f&&(v||b),C=p((function(t){return e(t,["qt","config","pagebuilder-config","general"],{})})),k=C.localization,x=void 0===k?{}:k,L=C.sponsoredStoryConfig,z=void 0===L?{}:L,j=x.localizedElements,T=void 0===j?{}:j,S=x.enableLocalization,O=void 0!==S&&S&&e(T,["buttonLabels","timeToRead"])||"min read",M=function(){return o.createElement(o.Fragment,null,E&&o.createElement("div",{className:"arr-separator "+I(y,jr)},or(n,w)),v&&(d?o.createElement("div",{id:"publish-time-".concat(d,"-").concat(r.id)},o.createElement(fr,{story:r,config:c,layout:u,enableDarkModePreview:h})):o.createElement(fr,{story:r,config:c,layout:u,enableDarkModePreview:h})),b&&o.createElement(Cr,{story:r,opts:zr(zr({},c),{},{showDotIndicator:v,separator:n,localizedTimeToRead:O}),isLightTheme:s,layout:u,enableDarkModePreview:h}),o.createElement("div",{className:"author-with-timestamp-m_space-8__3oTms"}))};return o.createElement("div",{className:"arr--author-time author-with-timestamp-m_author-time-wrapper__G7_eI"},f?o.createElement(o.Fragment,null,o.createElement(wr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i,layout:u,enableDarkModePreview:h}),M()):M(),o.createElement(xr,{story:r,sponsoredStoryConfig:z}))};Tr.propTypes={story:t.object,separator:t.oneOf(["dot","divider"]),hideAuthorImage:t.bool,isBottom:t.bool,prefix:t.string,config:t.object,isLightTheme:t.bool,collectionId:t.oneOfType([t.string,t.number]),layout:t.string,enableDarkModePreview:t.bool},Tr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1,layout:""};var Ir={"./collection-name.m.css":{collection:"collection-name-m_collection__JD6sx","collection-borderLeft":"collection-name-m_collection-borderLeft__3Dznk","border-left":"collection-name-m_border-left__3_pYw","collection-borderBottomFull":"collection-name-m_collection-borderBottomFull__Dkq3K","collection-borderBottom":"collection-name-m_collection-borderBottom__2rdQM","collection-crossLine":"collection-name-m_collection-crossLine__1sIpN",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN","border-bottom":"collection-name-m_border-bottom__1MnlV"}},Sr=function(t){var r=t.collectionNameBorderColor,n=void 0===r?"":r,a=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,d=void 0===s?"":s,u=t.navigate,m=void 0===u||u,h=ur()||{},p=e(h,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",f=m&&a&&$t(a,i)||"",v=d||a.name||"",b=Yt(h.theme),_="h"+c,w=Gt(n),E=g.includes("collection-borderBottomFull")?"4px solid ".concat(w):"none",C=Kt("mobile");return o.createElement(o.Fragment,null,p&&v&&o.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+I("collection ".concat(g," ").concat(b),Ir)},g.includes("collection-borderLeft")&&o.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:w||"initial",fontSize:function(){if(C)switch(c){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":default:return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px"}}()}}),f&&!f.includes(void 0)?o.createElement(y,{href:f,"aria-label":"collection-name"},o.createElement(_,null,v)):o.createElement(_,null,v),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?o.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:w?"4px solid ".concat(w):"none"}}):""))};Sr.propTypes={collectionNameBorderColor:r.string,collection:r.object,config:r.object,collectionNameTemplate:r.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:r.string,customCollectionName:r.string,navigate:r.bool},Sr.defaultProps={collectionNameTemplate:"",headerLevel:"2"};var Or=g((function(t){return{config:e(t,["qt","config"],{})}}))(Sr),Mr=function(e){var t=e.height,r=e.width,n=e.color,a=void 0===n?"#D8D8D8":n,i=e.positionTop;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("g",{transform:"translate(8 8)"},o.createElement("path",{d:"M0 0H24V24H0z"}),o.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},o.createElement("path",{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"}))))))};Mr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var Pr=function(e){var t=e.height,r=e.width,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("g",{transform:"translate(8 8)"},o.createElement("path",{d:"M0 0H24V24H0z"}),o.createElement("path",{fill:a,fillRule:"nonzero",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",transform:"translate(0 5)"})))))};Pr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var Nr=function(e){var t=e.height,r=e.width,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("g",{transform:"translate(8 8)"},o.createElement("path",{d:"M0 0H24V24H0z"}),o.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},o.createElement("path",{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"}))))))};Nr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var Hr=function(e){var t=e.width,r=e.height,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop,l=void 0===i?"":i;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 24 24",style:{position:"relative",top:l},fill:"none"},o.createElement("g",{clipPath:"url(#clip0_2775_1313)"},o.createElement("path",{d:"M21.9301 12.0699C16.4895 12.0699 12.0699 16.4895 12.0699 21.9301C12.0699 21.972 12.042 22 12 22C11.958 22 11.9301 21.972 11.9301 21.9301C11.9301 16.4895 7.51049 12.0699 2.06993 12.0699C2.02797 12.0699 2 12.042 2 12C2 11.958 2.02797 11.9301 2.06993 11.9301C7.51049 11.9301 11.9301 7.51049 11.9301 2.06993C11.9301 2.02797 11.958 2 12 2C12.042 2 12.0699 2.02797 12.0699 2.06993C12.0699 7.51049 16.4895 11.9301 21.9301 11.9301C21.972 11.9301 22 11.958 22 12C22 12.042 21.972 12.0699 21.9301 12.0699Z",fill:a})),o.createElement("defs",null,o.createElement("clipPath",{id:"clip0_2775_1313"},o.createElement("rect",{width:"20",height:"20",fill:"white",transform:"translate(2 2)"}))))};Hr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var Dr=function(e){var t=e.width,r=e.height,n=e.color,a=e.iconType,i=e.positionTop;switch(a){case"crown":return o.createElement(Mr,{width:t,height:r,color:n,positionTop:i});case"lock":return o.createElement(Nr,{width:t,height:r,color:n,positionTop:i});case"key":return o.createElement(Pr,{width:t,height:r,color:n,positionTop:i});default:return o.createElement(Hr,{width:t,height:r,color:n,positionTop:i})}};Dr.propTypes={width:t.string,height:t.string,color:t.string,iconType:t.string,positionTop:t.string};var Rr={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB","icon-wrapper":"headline-m_icon-wrapper__1ti1Z","live-icon":"headline-m_live-icon__32qbA",blink:"headline-m_blink__1MDe0"}},Ar=function(t){var r=t.story,n=t.headerLevel,a=t.premiumStoryIconConfig,i=void 0===a?{}:a,l=t.isLink,c=t.queryParam,s=void 0===c?{}:c,d=t.layout,u=t.enableDarkModePreview,m=void 0!==u&&u,h=ur()||{},g=i.iconColor,f=void 0===g?"#F7B500":g,v=i.iconStyle,b=void 0===v?"star":v,_=i.enablePremiumStoryIcon,w=void 0!==_&&_,E=e(r,["alternative","home","default","headline"]),C=w&&"subscription"===e(r,["access"]),k=E||r.headline,x="h"+n,L=function(){switch(parseInt(n)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}},z=nr(h,d,m),j=Yt(z),T="24px",S=p((function(t){return e(t,["qt","data","showLiveIcon"],!1)})),O=e(i,["showLiveIcon"],S)&&"live-blog"===r["story-template"]&&!e(r,["metadata","is-closed"],!1),M=C?{position:"relative",top:L()}:{},P=C||O?"wrapper":"";return o.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+I(P,Rr)},(O||C)&&o.createElement("span",{className:"headline-m_icon-wrapper__1ti1Z"},C&&o.createElement(Dr,{width:T,height:T,color:f,iconType:b,positionTop:L()}),O&&o.createElement("span",{style:M,className:"headline-m_live-icon__32qbA"})),l?o.createElement(y,{href:Xt(r,"/".concat(r.slug),s),externalLink:Qt(r),"aria-label":"headline"},o.createElement(x,{className:I("headline ".concat(j),Rr)},k)):o.createElement(x,{className:I("headline ".concat(j),Rr)},k))};Ar.propTypes={story:t.object.isRequired,headerLevel:t.string,premiumStoryIconConfig:t.shape({iconColor:t.string,iconType:t.string,enablePremiumStoryIcon:t.bool}),isLink:t.bool,queryParam:t.shape({utmContent:t.string}),layout:t.string,enableDarkModePreview:t.bool},Ar.defaultProps={headerLevel:"6",isLink:!0,layout:""};var Br=function(e){var t=e.width,r=void 0===t?40:t,n=e.height,a=void 0===n?30:n,i=e.iconColor,l=void 0===i?"#99B0CB":i;return o.createElement("svg",{width:r,height:a,viewBox:"0 0 102 76",version:"1.1"},o.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},o.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},o.createElement("path",{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",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),o.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Br.propTypes={width:t.object,height:t.object,iconColor:t.object};var Fr=function(e,t){var r=e?"arr--fallback-image ".concat(e):"arr--fallback-image";return o.createElement("div",{className:(r?r+" ":"")+"fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},o.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},t?o.createElement("img",{src:t,"data-src":t,alt:"image-fallback"}):o.createElement(Br,null)))},Vr=function(e){var t=e.slug,r=e.roundedCorners,n=void 0===r?"":r,a=e.fallBackImageUrl;return t?o.createElement(y,{href:t,"aria-label":"image-fallback"},Fr(n,a)):Fr(n,a)};Vr.propTypes={slug:t.string,roundedCorners:t.string};var Zr=function(){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),o.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},qr=function(e){var t=e.hyperLink,r=void 0===t?"":t;return r?o.createElement(y,{href:r,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},o.createElement(Zr,null)):null};function Wr(e){var t=e.background,r=ar(t);return o.createElement("svg",{width:"10%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_2817)"},o.createElement("path",{d:"M19.2083 5.79167V19.2083H5.79167V5.79167H19.2083ZM19.2083 3.875H5.79167C4.7375 3.875 3.875 4.7375 3.875 5.79167V19.2083C3.875 20.2625 4.7375 21.125 5.79167 21.125H19.2083C20.2625 21.125 21.125 20.2625 21.125 19.2083V5.79167C21.125 4.7375 20.2625 3.875 19.2083 3.875ZM14.5508 12.3658L11.6758 16.0746L9.625 13.5925L6.75 17.2917H18.25L14.5508 12.3658Z",fill:r})))}function Ur(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3084)"},o.createElement("path",{d:"M19.125 17.4306V5.56944C19.125 4.6375 18.3625 3.875 17.4306 3.875H5.56944C4.6375 3.875 3.875 4.6375 3.875 5.56944V17.4306C3.875 18.3625 4.6375 19.125 5.56944 19.125H17.4306C18.3625 19.125 19.125 18.3625 19.125 17.4306ZM8.53472 12.7708L10.6528 15.321L13.6181 11.5L17.4306 16.5833H5.56944L8.53472 12.7708Z",fill:r})))}function Gr(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3065)"},o.createElement("path",{d:"M13.3285 5.55831L14.9069 7.28331H18.4V17.6333H4.6V7.28331H8.09313L9.6715 5.55831H13.3285ZM14.0875 3.83331H8.9125L7.33413 5.55831H4.6C3.65125 5.55831 2.875 6.33456 2.875 7.28331V17.6333C2.875 18.5821 3.65125 19.3583 4.6 19.3583H18.4C19.3488 19.3583 20.125 18.5821 20.125 17.6333V7.28331C20.125 6.33456 19.3488 5.55831 18.4 5.55831H15.6659L14.0875 3.83331ZM11.5 9.87081C12.9231 9.87081 14.0875 11.0352 14.0875 12.4583C14.0875 13.8814 12.9231 15.0458 11.5 15.0458C10.0769 15.0458 8.9125 13.8814 8.9125 12.4583C8.9125 11.0352 10.0769 9.87081 11.5 9.87081ZM11.5 8.14581C9.1195 8.14581 7.1875 10.0778 7.1875 12.4583C7.1875 14.8388 9.1195 16.7708 11.5 16.7708C13.8805 16.7708 15.8125 14.8388 15.8125 12.4583C15.8125 10.0778 13.8805 8.14581 11.5 8.14581Z",fill:r})))}function Jr(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3070)"},o.createElement("path",{d:"M11.5 15.2183C13.0243 15.2183 14.26 13.9826 14.26 12.4583C14.26 10.934 13.0243 9.6983 11.5 9.6983C9.97568 9.6983 8.73999 10.934 8.73999 12.4583C8.73999 13.9826 9.97568 15.2183 11.5 15.2183Z",fill:r}),o.createElement("path",{d:"M8.9125 3.83331L7.33413 5.55831H4.6C3.65125 5.55831 2.875 6.33456 2.875 7.28331V17.6333C2.875 18.5821 3.65125 19.3583 4.6 19.3583H18.4C19.3488 19.3583 20.125 18.5821 20.125 17.6333V7.28331C20.125 6.33456 19.3488 5.55831 18.4 5.55831H15.6659L14.0875 3.83331H8.9125ZM11.5 16.7708C9.1195 16.7708 7.1875 14.8388 7.1875 12.4583C7.1875 10.0778 9.1195 8.14581 11.5 8.14581C13.8805 8.14581 15.8125 10.0778 15.8125 12.4583C15.8125 14.8388 13.8805 16.7708 11.5 16.7708Z",fill:r})))}function Kr(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3096)"},o.createElement("path",{d:"M14.375 7.66667V15.3333H4.79167V7.66667H14.375ZM15.3333 5.75H3.83333C3.30625 5.75 2.875 6.18125 2.875 6.70833V16.2917C2.875 16.8187 3.30625 17.25 3.83333 17.25H15.3333C15.8604 17.25 16.2917 16.8187 16.2917 16.2917V12.9375L20.125 16.7708V6.22917L16.2917 10.0625V6.70833C16.2917 6.18125 15.8604 5.75 15.3333 5.75Z",fill:r})))}function Yr(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3090)"},o.createElement("path",{d:"M16.2917 10.0625V6.70833C16.2917 6.18125 15.8604 5.75 15.3333 5.75H3.83333C3.30625 5.75 2.875 6.18125 2.875 6.70833V16.2917C2.875 16.8187 3.30625 17.25 3.83333 17.25H15.3333C15.8604 17.25 16.2917 16.8187 16.2917 16.2917V12.9375L20.125 16.7708V6.22917L16.2917 10.0625Z",fill:r})))}function $r(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3111)"},o.createElement("path",{d:"M11.6 3C6.8528 3 3 6.8528 3 11.6C3 16.3472 6.8528 20.2 11.6 20.2C16.3472 20.2 20.2 16.3472 20.2 11.6C20.2 6.8528 16.3472 3 11.6 3ZM9.45 15.47V7.73L15.47 11.6L9.45 15.47Z",fill:r})))}function Qr(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3119)"},o.createElement("path",{d:"M9.88 15.47L15.04 11.6L9.88 7.73V15.47ZM11.6 3C6.8528 3 3 6.8528 3 11.6C3 16.3472 6.8528 20.2 11.6 20.2C16.3472 20.2 20.2 16.3472 20.2 11.6C20.2 6.8528 16.3472 3 11.6 3ZM11.6 18.48C7.8074 18.48 4.72 15.3926 4.72 11.6C4.72 7.8074 7.8074 4.72 11.6 4.72C15.3926 4.72 18.48 7.8074 18.48 11.6C18.48 15.3926 15.3926 18.48 11.6 18.48Z",fill:r})))}function Xr(e){var t=e.background,r=ar(t);return o.createElement("svg",{width:"10%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1524_3956)"},o.createElement("g",{clipPath:"url(#clip1_1524_3956)"},o.createElement("path",{d:"M15.3655 12.6317C13.7839 11.7865 12.2695 11.0094 10.7214 10.1982V15.0515C12.3504 14.166 14.0674 13.355 15.3722 12.6317H15.3655Z",fill:t}),o.createElement("path",{d:"M11.0192 18.8507C7.73397 18.7902 6.61192 18.7358 5.92224 18.5937C5.45563 18.4993 5.05014 18.2897 4.75283 17.9856C4.52304 17.7555 4.3403 17.4044 4.19852 16.9174C4.07691 16.5115 4.02954 16.1739 3.96201 15.3492C3.85864 13.4878 3.834 11.9661 3.96201 10.2657C4.06763 9.32671 4.11883 8.21202 4.82035 7.56171C5.15159 7.25735 5.53692 7.06149 5.96961 6.98052C6.64553 6.85218 9.52522 6.75073 12.5064 6.75073C15.4808 6.75073 18.3669 6.85218 19.0434 6.98052C19.584 7.08197 20.0909 7.38601 20.3886 7.77805C21.0286 8.78489 21.0398 10.0369 21.1048 11.0162C21.1317 11.4828 21.1317 14.1324 21.1048 14.599C21.0037 16.1467 20.9224 16.6943 20.6926 17.262C20.5505 17.6205 20.4292 17.8096 20.2193 18.0192C19.89 18.3418 19.4702 18.5564 19.0159 18.6344C16.173 18.8481 13.759 18.8945 11.0192 18.8507ZM15.3726 12.6317C13.791 11.7865 12.2766 11.0027 10.7286 10.1915V15.0451C12.3575 14.1596 14.0749 13.3483 15.3793 12.625L15.3726 12.6317Z",fill:r}))))}function eo(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3125)"},o.createElement("path",{d:"M1.91675 6.70835H5.75008V16.2917H1.91675V6.70835ZM6.70841 18.2084H16.2917V4.79169H6.70841V18.2084ZM17.2501 6.70835H21.0834V16.2917H17.2501V6.70835Z",fill:r})))}function to(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 23 23",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("g",{clipPath:"url(#clip0_1430_3131)"},o.createElement("path",{d:"M1.91675 6.70835H5.75008V16.2917H1.91675V6.70835ZM6.70841 18.2084H16.2917V4.79169H6.70841V18.2084ZM8.62508 6.70835H14.3751V16.2917H8.62508V6.70835ZM17.2501 6.70835H21.0834V16.2917H17.2501V6.70835Z",fill:r})))}function ro(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 25 25",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("path",{d:"M3.875 19.2084H13.4583V5.79169H3.875V19.2084ZM5.79167 7.70835H11.5417V17.2917H5.79167V7.70835ZM14.4167 6.75002H17.2917V18.25H14.4167V6.75002Z",fill:r}),o.createElement("path",{d:"M21.125 7.70835H18.25V17.2917H21.125V7.70835Z",fill:r}))}function oo(e){var t=e.background,r=ar(t);return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10%",viewBox:"0 0 25 25",fill:"none"},o.createElement("rect",{width:"100%",height:"100%",fill:t}),o.createElement("path",{d:"M3.875 19.2084H13.4583V5.79169H3.875V19.2084ZM14.4167 6.75002H17.2917V18.25H14.4167V6.75002Z",fill:r}),o.createElement("path",{d:"M21.125 7.70835H18.25V17.2917H21.125V7.70835Z",fill:r}))}function no(e){var t=e.iconConfig,r=e.enableDarkMode,n=e.iconColor,a=e.darkIconColor,i=t||{},l=i.enablePhotoDemarcationIcon,c=void 0!==l&&l,s=i.iconStyle;if(!c)return o.createElement(o.Fragment,null);var d=(r?a:n)||"#000000";switch(s){case"photoIcon2":return o.createElement(Ur,{background:d});case"photoIcon3":return o.createElement(Gr,{background:d});case"photoIcon4":return o.createElement(Jr,{background:d});default:return o.createElement(Wr,{background:d})}}function ao(e){var t=e.iconConfig,r=e.enableDarkMode,n=e.iconColor,a=e.darkIconColor,i=t||{},l=i.enableVideoDemarcationIcon,c=void 0!==l&&l,s=i.iconStyle;if(!c)return o.createElement(o.Fragment,null);var d=(r?a:n)||"#000000";switch(s){case"videoIcon2":return o.createElement(Yr,{background:d});case"videoIcon3":return o.createElement($r,{background:d});case"videoIcon4":return o.createElement(Qr,{background:d});case"videoIcon5":return o.createElement(Xr,{background:d});default:return o.createElement(Kr,{background:d})}}function io(e){var t=e.iconConfig,r=e.enableDarkMode,n=e.iconColor,a=e.darkIconColor,i=t||{},l=i.enableVisualStoryDemarcationIcon,c=void 0!==l&&l,s=i.iconStyle;if(!c)return o.createElement(o.Fragment,null);var d=(r?a:n)||"#000000";switch(s){case"visualStoryIcon2":return o.createElement(to,{background:d});case"visualStoryIcon3":return o.createElement(ro,{background:d});case"visualStoryIcon4":return o.createElement(oo,{background:d});default:return o.createElement(eo,{background:d})}}function lo(e){var t=e.storyTemplate,r=e.rowsConfig,n=void 0===r?{}:r,a=e.enableDarkMode,i=n||{},l=i.photoDemarcationIcon,c=void 0===l?{}:l,s=i.videoDemarcationIcon,d=void 0===s?{}:s,u=i.visualStoryDemarcationIcon,m=void 0===u?{}:u,h=i.iconColor,p=i.darkIconColor;switch(t){case"photo":return o.createElement(no,{iconConfig:c,enableDarkMode:a,iconColor:h,darkIconColor:p});case"video":return o.createElement(ao,{iconConfig:d,enableDarkMode:a,iconColor:h,darkIconColor:p});case"visual-story":return o.createElement(io,{iconConfig:m,enableDarkMode:a,iconColor:h,darkIconColor:p});default:return o.createElement(o.Fragment,null)}}qr.propTypes={hyperLink:t.string},Wr.propTypes={background:t.string},Ur.propTypes={background:t.string},Gr.propTypes={background:t.string},Jr.propTypes={background:t.string},Kr.propTypes={background:t.string},Yr.propTypes={background:t.string},$r.propTypes={background:t.string},Qr.propTypes={background:t.string},Xr.propTypes={background:t.string},eo.propTypes={background:t.string},to.propTypes={background:t.string},ro.propTypes={background:t.string},oo.propTypes={background:t.string},lo.propTypes={storyTemplate:t.string,rowsConfig:t.object,enableDarkMode:t.bool},ao.propTypes={iconConfig:t.object,enableDarkMode:t.bool,iconColor:t.string,darkIconColor:t.string},io.propTypes={iconConfig:t.object,enableDarkMode:t.bool,iconColor:t.string,darkIconColor:t.string},no.propTypes={iconConfig:t.object,enableDarkMode:t.bool,iconColor:t.string,darkIconColor:t.string};var co={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U","image-wrapper":"hero-image-m_image-wrapper__2EIzt","icon-wrapper":"hero-image-m_icon-wrapper__3ogj_"}},so=function(t){var r=t.story,n=t.FullBleed,a=t.aspectRatio,i=t.defaultWidth,l=t.widths,c=t.isHorizontal,s=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,u=t.defaultFallback,m=t.isStoryPageImage,h=t.config,g=t.queryParam,f=void 0===g?{}:g,v=t.initialAltImage,b=t.isFullWidthImage,_=t.isCircularImage,w=void 0!==_&&_,E=t.sizes,C=(ur()||{}).fallbackImageUrl,k=void 0===C?"":C,L=h.StoryTemplateIcon,z=void 0===L?function(){return null}:L,j=p((function(t){return e(t,["qt","config","showPlaceholder"])})),T=p((function(t){return e(t,["qt","isBotRequest"],!1)})),S=j?"placeholder":"",O=p((function(t){return e(t,["qt","config","pagebuilder-config","infiniteScroll"],"disabled")})),M=O.infiniteScrollType,P=O.infiniteScrollStyle,N=n?"":"with-padding",H="hero-image";c?H="right-padding":d&&(H="left-padding");var D=s?"right-padding-mob":"",R=function(e){var t=x(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},A=x(a,2),B=A[0],F=A[1],V=void 0===F?B:F,Z=Kt("mobile"),q=Z?B:V,W=R(Z?B:V),U=e(r,["alternative","home","default","hero-image","hero-image-s3-key"]),G=e(r,["hero-image-s3-key"]),J=U||G,K=e(r,["hero-image-hyperlink"],""),Y=e(r,["hero-image-caption"],""),$=e(r,["hero-image-alt-text"],""),Q=e(r,["alternative","home","default","hero-image","hero-image-caption"],""),X=rr(e(r,["alternative","home","default","hero-image","hero-image-alt-text"],""))||rr(Q)||e(r,["alternative","home","default","headline"],"")||rr($)||rr(Y)||e(r,["headline"],""),ee=rr($)||rr(Y)||e(r,["headline"],""),te=p((function(t){return e(t,["qt","config","pagebuilder-config","general","rows"],{})})),re=p((function(t){return e(t,["qt","config","pagebuilder-config","general","enableRoundedCorners"],!1)})),oe=p((function(t){return e(t,["header","isDarkModeEnabled"],!1)})),ne=!re||b||w?"":"with-rounded-corners",ae=null==r?void 0:r["story-template"];function ie(){var e=function(e,t,r,o){return!(e&&(null!=t&&t.firstStory||cr(r)||!cr(r)&&!lr(o)))}(m,r,M,P);return e?k?o.createElement("div",{className:"hero-image-m_image-wrapper__2EIzt"},o.createElement("figure",{style:{paddingTop:W+"%"},className:"arr--responsive-hero-image "+I("image ".concat(S),co)},o.createElement("img",{className:"qt-image",src:k,"data-src":k,alt:"image-fallback"})),o.createElement("div",{className:"hero-image-m_icon-wrapper__3ogj_"},!m&&!w&&o.createElement(lo,{storyTemplate:ae,rowsConfig:te,enableDarkMode:oe}))):o.createElement(o.Fragment,null,u?o.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:W+"%"},className:"arr--fallback-hero-image "+I("image ".concat(S," image-wrapper"),co)},o.createElement(z,{storyTemplate:r["story-template"]}),o.createElement(Vr,{roundedCorners:ne}),o.createElement("div",{className:"hero-image-m_icon-wrapper__3ogj_"},!m&&!w&&o.createElement(lo,{storyTemplate:ae,rowsConfig:te,enableDarkMode:oe}))):null):null}function le(e){if(!J)return ie();var t=function(e,t,r){return!cr(e)&&lr(t)&&!(null!=r&&r.firstStory)}(M,P,r);return t&&(v=!0),!G&&m?null:o.createElement(o.Fragment,null,o.createElement("div",{className:"hero-image-m_image-wrapper__2EIzt"},o.createElement("figure",{style:{paddingTop:W+"%"},className:("arr--responsive-hero-image ".concat(ne)?"arr--responsive-hero-image ".concat(ne)+" ":"")+I("image ".concat(S),co)},o.createElement(z,{storyTemplate:r["story-template"]}),v?o.createElement(br,{slug:J,metadata:r["hero-image-metadata"],alt:m?ee:X,aspectRatio:q,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"},className:"arr-image-placeholder",isBotRequest:e,isStoryPageImage:m,sizes:E}):o.createElement(br,{story:r,aspectRatio:q,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"},alt:m?ee:X,className:"arr-image-placeholder",isResponsiveHeroImg:!0,isBotRequest:e,isStoryPageImage:m,sizes:E})),o.createElement("div",{className:"hero-image-m_icon-wrapper__3ogj_"},!m&&!w&&o.createElement(lo,{storyTemplate:ae,rowsConfig:te,enableDarkMode:oe}))),m&&K&&o.createElement(qr,{hyperLink:K}))}return r&&(m?o.createElement("div",{"data-test-id":"arr--hero-image",className:("arr--hero-image ".concat(ne)?"arr--hero-image ".concat(ne)+" ":"")+I("".concat(H," ").concat(N," ").concat(D," "),co)},le(T)):o.createElement(y,{"data-test-id":"arr--hero-image",href:Xt(r,"/".concat(r.slug),f),externalLink:Qt(r),"aria-label":"fallback-hero-image",className:("arr--hero-image ".concat(ne)?"arr--hero-image ".concat(ne)+" ":"")+I("".concat(H," ").concat(N," ").concat(D),co)},le(T)))};so.propTypes={story:t.object.isRequired,FullBleed:t.bool,defaultWidth:t.number,widths:t.array,sizes:t.string,aspectRatio:t.array,isHorizontal:t.bool,isHorizontalMobile:t.bool,defaultFallback:t.bool,isHorizontalWithImageLast:t.bool,isStoryPageImage:t.bool,config:t.object,queryParam:t.shape({utmContent:t.string}),initialAltImage:t.bool,isFullWidthImage:t.bool,isCircularImage:t.bool},so.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1,config:{},initialAltImage:!1,isFullWidthImage:!1,isCircularImage:!1};var uo={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},mo=function(t){var r=t.story,n=t.template,a=void 0===n?"":n,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=t.layout,d=t.enableDarkModePreview,u=void 0!==d&&d,m=ur()||{},h=e(m,["showSection"],!0),p=e(m,["sectionTagTemplate"]),g=e(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],v=g?g["section-url"]:"/",b=nr(m,s,u),_=c?"light":Yt("solid"===a||"solid"===p?l:b),w=Gt(l),E=f.includes(a)?"section section-".concat(a):"section";return p&&(E=f.includes(p)?"section section-".concat(p):"section"),h?o.createElement(y,{href:v,className:"arrow-component arr--section-name","aria-label":"section-name"},o.createElement("span",{"data-test-id":"sectionTag",style:{backgroundColor:E.includes("section-solid")?w:"initial"},className:"section-tag arrow-component "+I("".concat(_," ").concat(E),uo)},E.includes("section-borderLeft")&&o.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:w||"initial"}}),g["display-name"]||g.name,o.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"solid"!==a&&w?w:"initial"}}))):null};mo.propTypes={story:t.object.isRequired,template:t.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:t.string,solidBorderColor:t.string,isLightTheme:t.bool,layout:t.string,enableDarkModePreview:t.bool},mo.defaultProps={template:"",isLightTheme:!1,layout:""};var ho={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},po=function(t){var r=t.story,n=t.truncateChars,a=void 0===n?200:n,i=t.lineClamp,l=t.clazzName,c=void 0===l?"":l,s=t.forceShowAtom,d=t.showFullContent,u=ur()||{},m=s||e(u,["showSubheadline"],!0);if(!r.subheadline||!m)return null;var h=Yt(u.theme);return o.createElement("div",{style:{WebkitLineClamp:i||"none"},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+I("subheadline ".concat(h),ho)},d||"number"==typeof i?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,a,!0))};po.propTypes={story:t.object.isRequired,lineClamp:t.number,truncateChars:t.number,clazzName:t.string,forceShowAtom:t.bool,showFullContent:t.bool},po.defaultProps={forceShowAtom:!1,showFullContent:!1};var go={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","rounded-gradient":"storycard-m_rounded-gradient__2ByhH","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},fo=function(t){var r,n=t.story,a=t.children,i=t.isHorizontal,l=t.aspectRatio,c=t.border,s=t.useImageAsBackground,d=t.bgImgContentOverlap,u=t.theme,m=t.borderColor,h=t.isHorizontalMobile,g=t.centerAlign,f=t.headerLevel,v=t.hideAuthorImage,b=t.prefix,y=t.config,_=t.isHorizontalWithImageLast,w=t.collectionId,E=t.widths,C=t.isFullWidthImage,k=void 0!==C&&C,x=t.isCircularImage,L=void 0!==x&&x,z=t.disableRoundedCorners;if(!n||(null==(r=n)||"object"===O(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return o.createElement("div",null);var j=["default","full","bottom","boxShadow"].includes(c)?"border-".concat(c):"",T="default-card";i?T="horizontal-card":_&&(T="horizontal-image-last");var S=s?"backgroung-img":"",M=d?"content-overlap":"",P=Yt(u),N=h?"horizontal-mob":"",H=p((function(t){return e(t,["qt","config","pagebuilder-config","general","enableRoundedCorners"],!1)})),D=H&&!z?"with-rounded-corners":"",R=H&&!k?"rounded-gradient":"",A=o.createElement(vo,{story:n,aspectRatio:l,border:c,isHorizontalMobile:h,isHorizontal:i,centerAlign:g,headerLevel:f,borderColor:m,hideAuthorImage:v,prefix:b,config:y,isHorizontalWithImageLast:_,collectionId:w,widths:E,isFullWidthImage:k,isCircularImage:L});return o.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u||"initial"},className:("arr--story-card ".concat(D)?"arr--story-card ".concat(D)+" ":"")+I("card ".concat(T," ").concat(j," ").concat(P," ").concat(S," ").concat(M," ").concat(N," ").concat(R),go)},a||A)},vo=function(e){var t=e.story;e.border;var r=e.isHorizontal,n=e.aspectRatio,a=e.headerLevel,i=e.isHorizontalMobile,l=void 0!==i&&i,c=e.centerAlign,s=void 0!==c&&c,d=e.borderColor,u=e.hideAuthorImage,m=e.prefix,h=e.isHorizontalWithImageLast,p=e.config,g=e.collectionId,f=e.widths,v=e.isFullWidthImage,b=void 0!==v&&v,y=e.isCircularImage,_=void 0!==y&&y,w=s?"center-align":"",E=Gt(d),C=p.localizationConfig,k=void 0===C?{}:C;return o.createElement(o.Fragment,null,r?o.createElement(so,{config:p,story:t,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n,widths:f,isFullWidthImage:b,isCircularImage:_}):h?o.createElement(so,{config:p,story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n,widths:f,isFullWidthImage:b,isCircularImage:_}):o.createElement(so,{story:t,config:p,isHorizontalMobile:l,aspectRatio:n,widths:f,isFullWidthImage:b,isCircularImage:_}),o.createElement("div",{className:"arr--story-content "+I("content ".concat(w),go)},o.createElement(mo,{story:t,borderColor:E}),o.createElement(Ar,{story:t,headerLevel:a,premiumStoryIconConfig:p}),o.createElement(Tr,{config:k,story:t,isBottom:!0,prefix:m,hideAuthorImage:u,collectionId:g}),o.createElement(po,{story:t})))};vo.propTypes={story:t.object.isRequired,border:t.oneOfType([t.string]),isBottom:t.bool,isHorizontal:t.bool,aspectRatio:t.oneOfType([t.array]),isHorizontalMobile:t.bool,centerAlign:t.bool,headerLevel:t.string,borderColor:t.string,hideAuthorImage:t.bool,prefix:t.string,config:t.object,isHorizontalWithImageLast:t.bool,collectionId:t.number,widths:t.array,isFullWidthImage:t.bool,isCircularImage:t.bool},fo.propTypes={story:t.object.isRequired,children:t.node,isHorizontal:t.bool,border:t.oneOfType([t.string]),useImageAsBackground:t.bool,bgImgContentOverlap:t.bool,aspectRatio:t.oneOfType([t.array]),theme:t.string,isHorizontalMobile:t.bool,centerAlign:t.bool,headerLevel:t.string,borderColor:t.string,hideAuthorImage:t.bool,prefix:t.string,config:t.object,isHorizontalWithImageLast:t.bool,collectionId:t.number,widths:t.array,isFullWidthImage:t.bool,isCircularImage:t.bool,disableRoundedCorners:t.bool},fo.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1,isFullWidthImage:!1,isCircularImage:!1,disableRoundedCorners:!1};var bo=dr(fo),yo=function(e){var t=e.color,r=void 0===t?"#333":t;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},o.createElement("path",{fill:r,fillRule:"evenodd",d:"M12 19.75a7.513 7.513 0 003.875-1.047 7.832 7.832 0 002.828-2.828A7.513 7.513 0 0019.75 12a7.513 7.513 0 00-1.047-3.875c-.698-1.187-1.64-2.13-2.828-2.828S13.395 4.25 12 4.25a7.51 7.51 0 00-3.875 1.047c-1.188.698-2.13 1.64-2.828 2.828S4.25 10.605 4.25 12a7.51 7.51 0 001.047 3.875 7.824 7.824 0 002.828 2.828A7.513 7.513 0 0012 19.75zm.016-1a6.64 6.64 0 01-3.391-.906 6.716 6.716 0 01-2.469-2.453 6.563 6.563 0 01-.906-3.375c0-1.22.302-2.35.906-3.391A6.711 6.711 0 018.61 6.156a6.563 6.563 0 013.375-.906c1.22 0 2.35.302 3.391.906a6.716 6.716 0 012.469 2.453A6.592 6.592 0 0118.751 12a6.616 6.616 0 01-.906 3.375 6.716 6.716 0 01-2.453 2.469 6.563 6.563 0 01-3.375.906zm2.283-3.92l.076-.002a.343.343 0 00.25-.14l.25-.375a.365.365 0 00.078-.266.328.328 0 00-.14-.234l-2.22-1.625V7.625a.362.362 0 00-.109-.266.36.36 0 00-.265-.109h-.438a.357.357 0 00-.265.11.358.358 0 00-.11.265v5c0 .125.052.219.156.281l2.532 1.844a.383.383 0 00.281.078l-.076.001z"}))};yo.propTypes={color:t.string};var _o={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function wo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Eo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Co=function(e){var t=e.config,r=void 0===t?{}:t,n=e.collection,a=e.template,i=void 0===a?"SubsequentLoadCount":a,l=e.onClick,c=e.navigate,s=e.qtConfig,d=r["sketches-host"],u=r.showButton,m=void 0===u||u,h=r.buttonText,p=void 0===h?"Read More":h,g=r.theme,f=void 0===g?"":g,v=r.customUrlPath,b=void 0===v?"":v;if(!m)return null;var y=Yt(f),w=b?ir(d,"/".concat(b)):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=t["sketches-host"];if(r)return r;var n=t.magazineSlug,a=void 0===n?"":n,i=t.isArchivePage;return void 0!==i&&i?ir(o,"/magazine/archive/".concat(a)):a?ir(o,"/magazine/".concat(a,"/").concat(e.slug)):e?$t(e,t):ir(o,"/")}(n,Eo(Eo({},s),r));return null!=r&&r.onSubscriptionClick?o.createElement("div",{onClick:null==r?void 0:r.onSubscriptionClick},o.createElement("div",{className:"arr--button "+I("button ".concat(y," default"),_o)},p)):"SubsequentLoadCount"===i?o.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+I("button ".concat(y," default"),_o)},p):o.createElement(_,{href:w,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},o.createElement("div",{className:"arr--button "+I("button ".concat(y," default"),_o)},p))};Co.propTypes={collection:t.object,template:t.string,config:t.object,onClick:t.func,navigate:t.func,qtConfig:t.object};var ko={"./key-events.m.css":{container:"key-events-m_container__1slhR","event-title":"key-events-m_event-title__u9bt3","cards-wrapper":"key-events-m_cards-wrapper__3f8aB","time-wrapper":"key-events-m_time-wrapper__2poXn",dark:"key-events-m_dark__hrnAr",light:"key-events-m_light__2gE0a",borderNone:"key-events-m_borderNone__2tNUK","fade-out":"key-events-m_fade-out__11jv_","rtl-date-time":"key-events-m_rtl-date-time__2UaGQ"}};function xo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}var Lo=function(t){var r=t.config,n=t.index,a=t.cardLength,i=t.card,l=void 0===i?{}:i,c=t.slug,s=t.loadCards,d=t.showLoadMore,u=t.qtConfig,m=l["card-added-at"],h=l["story-elements"],p=void 0===h?[]:h,g=l.id,f=r.theme,v=Yt(f),b="dark"===v?"#333":"#fff",y=n===a-1,_=y?"borderNone":"",E=function(e){var t=nt(e,["pagebuilder-config","general"],{}),r=t.dateFormat,o=void 0===r?"dd-mon-yyyy":r,n=t.localization,a=void 0===n?{}:n,i=t.timeFormat,l=a.enableLocalization,c=void 0!==l&&l,s=a.localizedElements,d=void 0===s?{}:s;return{isUpperCase:!1,disableMeridiem:!1,dateFormat:o,timeFormat:i,localizedMonths:c&&nt(d,["months"]),localizedMeridiem:c&&nt(d,["meridiem"],{}),enableLocalization:c}}(u),C=e(u,["language","direction"],"ltr");var k="rtl"!==C||E.enableLocalization?"":"rtl-date-time",x=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xo(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({showTime:!0,isTimeFirst:!0,direction:C},E);return o.createElement(o.Fragment,null,o.createElement("div",{className:I("time-wrapper ".concat(k," ").concat(v),ko)},o.createElement(yo,{color:b}),tr({date:m,formatter:Zt,config:x})),o.createElement("a",{href:"#",onClick:function(e){e.preventDefault(),document.getElementById("".concat(c,"-").concat(g)).scrollIntoView()},"aria-label":"event-title"},o.createElement("div",{className:I("event-title ".concat(v," ").concat(_),ko)},p.map((function(e,t){return"title"===e.type&&o.createElement("h3",{key:t},e.text)})),d&&y&&s&&o.createElement("div",{className:"key-events-m_fade-out__11jv_",style:{backgroundImage:"linear-gradient(to bottom, transparent, ".concat(f,")")||"none"}}))))};Lo.propTypes={card:t.shape({"card-added-at":t.number,"story-elements":t.array,id:t.string}),config:t.object,slug:t.string,story:t.object,elements:t.array,index:t.number,cardLength:t.number,loadCards:t.bool,showLoadMore:t.bool,qtConfig:t.object};var zo=function(t){var r=t.story,n=void 0===r?{}:r,a=t.config,l=void 0===a?{}:a,c=t.showLoadMore,s=void 0===c||c,d=t.publishedDetails,u=e(void 0===d?{}:d,["localizedKeyEvents"],"Key Events")||"Key Events",m=e(n,["cards"],[]),h=l.theme,g=l.initialLoadCount,f=void 0===g?4:g,v=Yt(h),b=x(i(f),2),y=b[0],_=b[1],w=m.filter((function(t){return e(t.metadata,["attributes","key-event"])})),E=w.length>y,C=p((function(t){return e(t,["qt","config"],{})}));if(w.length<1)return null;var k=(s?w.slice(0,y):w.slice(0,4)).map((function(e,t,r){return o.createElement(Lo,{cardLength:r.length,card:e,key:e.id,slug:n.slug,config:l,index:t,loadCards:E,showLoadMore:s,qtConfig:C})}));return o.createElement("div",{style:{background:h||"initial"},className:"arrow-component "+I("container ".concat(v),ko)},o.createElement("h3",null,u),o.createElement("div",{className:"key-events-m_cards-wrapper__3f8aB"},k),s&&E&&o.createElement(Co,{onClick:function(){_(y+f)},template:"SubsequentLoadCount",config:l,qtConfig:C}))};zo.propTypes={story:t.object,config:t.object,showLoadMore:t.bool,publishedDetails:t.object};var jo=dr(zo),To=[250,360,480,576],Io={"./aside-collection.m.css":{stories:"aside-collection-m_stories__9wfUs",wrapper:"aside-collection-m_wrapper__2TJi5",story:"aside-collection-m_story__17Jdm","story-hero-image":"aside-collection-m_story-hero-image__13nFY","story-byline":"aside-collection-m_story-byline__37KRG",info:"aside-collection-m_info__3p4zt","ad-slot":"aside-collection-m_ad-slot__28nE2","horizontal-wrapper":"aside-collection-m_horizontal-wrapper__3-KW0",sticky:"aside-collection-m_sticky__AZXBP","top-header-six":"aside-collection-m_top-header-six__3Ytr9","top-header-five":"aside-collection-m_top-header-five__1h45J",dark:"aside-collection-m_dark__2ElwM",light:"aside-collection-m_light__2lEO2"}};function So(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Oo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?So(Object(r),!0).forEach((function(t){w(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):So(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Mo=function(t){var r=t.data,n=t.slotData,a=t.horizontal,c=t.config,s=t.opts,d=t.loadRelatedStories,u=void 0===d?null:d,m=t.story,h=n||c,p=h.title,g=void 0===p?"":p,f=h.collectionSlug,v=void 0===f?"":f,b=c.theme,y=void 0===b?"":b,_=g||"Related Stories",w=a?"horizontal-wrapper":"",E=s||{},k=E.enableSectionTag,L=void 0===k||k,z=E.enableAuthorWithTime,j=void 0===z||z,T=e(c,["mountAtPrefix"],e(c,["sketches-host"])),O=x(i([]),2),M=O[0],P=O[1],N=x(i([]),2),H=N[0],D=N[1],R=function(){var e=C(S.mark((function e(t){var r,o;return S.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,er(t,T);case 2:r=e.sent,D(r),o=r.items,P(o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();l((function(){v&&R(v)}),[v]),l((function(){if(!v)if(!r&&u)u(m,T).then((function(e){P(null==e?void 0:e.relatedStories)}));else if(r){var e=r.items||r;P(e)}else P([])}),[r,v]);var A=Yt(y);return!a||null!=M&&M.length?o.createElement(o.Fragment,null,o.createElement(Or,{customCollectionName:_,textColor:!0,collection:H}),o.createElement("div",{className:"aside-collection-m_stories__9wfUs"},null!=M&&M.length?M.slice(0,4).map((function(e){var t=(null==e?void 0:e.story)||e;return o.createElement("div",{className:"aside-story aside-collection-m_story__17Jdm",key:t.id},o.createElement(bo,{story:t,isHorizontal:!0,theme:y,config:c},o.createElement("div",{className:"aside-hero-image aside-collection-m_story-hero-image__13nFY"},o.createElement(so,{widths:To,sizes:"(max-width: 768px) 38vw, 20vw",story:t,aspectRatio:[[16,9]],queryParam:{utm_source:"website",utm_medium:"related-stories"},initialAltImage:!0})),o.createElement("div",null,w&&L&&o.createElement(mo,{story:t}),o.createElement(Ar,{story:t,queryParam:{utm_source:"website",utm_medium:"related-stories"}}),j&&o.createElement("div",{className:"aside-collection-m_story-byline__37KRG"},o.createElement(Tr,{config:Oo(Oo({},s),{},{isRelatedCollection:!0}),story:t})))))})):o.createElement("div",{"data-test-id":"no-stories",className:I("info ".concat(A),Io)},"No stories found."))):null};Mo.propTypes={data:t.oneOfType([t.object,t.array]),config:t.object,horizontal:t.bool,slotData:t.object,opts:t.object,loadRelatedStories:t.func,story:t.object};var Po=o.memo((function(t){var r=t.data,n=void 0===r?{}:r,a=t.config,i=void 0===a?{}:a,l=t.horizontal,c=void 0!==l&&l,s=t.slots,d=void 0===s?[]:s,u=t.sticky,m=void 0!==u&&u,h=t.keyEventsData,p=void 0===h?{}:h,g=t.enableKeyEvents,f=void 0!==g&&g,v=t.adComponent,b=t.widgetComp,y=t.opts,_=void 0===y?{}:y,w=t.loadRelatedStories,E=t.story,C=i.theme,k=i.stickyTopStyle,x=c?"horizontal-wrapper":"";if(c)return o.createElement("div",{style:{backgroundColor:C||"initial"},"data-test-id":"aside-collection","data-nosnippet":!0,id:"aside-collection-".concat(null==E?void 0:E.id),className:"arrow-component arr--aside-collection "+I("wrapper ".concat(x),Io)},o.createElement(Mo,{data:n,horizontal:c,config:i,opts:_,theme1:C,loadRelatedStories:w,story:E}));var L=m?"sticky":"";return o.createElement("div",{style:{backgroundColor:C||"initial"},"data-nosnippet":!0,"data-test-id":"aside-collection",className:"arrow-component arr--aside-collection "+I(["wrapper",x,L,k].join(" "),Io)},f&&o.createElement(jo,{story:p.story,showLoadMore:p.showLoadMore,config:p.config,publishedDetails:_}),d.map((function(t,r){return function(t,r,a){var l=null!=r&&r.targetId?"widget-".concat(r.targetId,"-").concat(null==E?void 0:E.id):"widget-".concat(a,"_").concat(null==E?void 0:E.id);switch(t){case"ad":return o.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},v(Oo(Oo({},r),{},{id:"ad-".concat(a,"_").concat(null==E?void 0:E.id)})));case"widget":var s=e(r,["aheadNext"],{}),d=s.placeholderHeight,u=void 0===d?"":d,m=s.widgetHeightDesktop,h=void 0===m?"":m;return o.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},b(Oo(Oo({},r),{},{id:l,widgetHeightMobile:u,widgetHeightDesktop:h})));case"collection":return o.createElement("div",{id:"aside-collection-".concat(a,"_").concat(null==E?void 0:E.id)},o.createElement(Mo,{slotData:r,data:n,horizontal:c,config:i,opts:_,loadRelatedStories:w,story:E}))}}(t.type,t,r)})))}));Po.propTypes={data:t.oneOfType([t.object,t.array]),config:t.object,opts:t.object,horizontal:t.bool,slots:t.array,adComponent:t.func,widgetComp:t.func,sticky:t.bool,story:t.object,keyEventsData:t.shape({story:t.object,config:t.object,showLoadMore:t.boolean}),enableKeyEvents:t.boolean,loadRelatedStories:t.func};var No=dr(Po);export{Mo as S,j as c,z as g,No as i};