@quintype/arrow 2.9.9 → 2.9.10-code-splitting.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AlsoRead/index.js +2 -0
- package/AlsoRead/index.js.map +1 -0
- package/AsideCollection/index.js +2 -0
- package/AsideCollection/index.js.map +1 -0
- package/AsideCollection/styles.arrow.css +1 -1
- package/Attachment/index.js +2 -0
- package/Attachment/index.js.map +1 -0
- package/Author/index.js +2 -0
- package/Author/index.js.map +1 -0
- package/AuthorIntroductionCard/index.js +2 -0
- package/AuthorIntroductionCard/index.js.map +1 -0
- package/AuthorWithTime/index.js +2 -0
- package/AuthorWithTime/index.js.map +1 -0
- package/AuthorWithTime/styles.arrow.css +1 -1
- package/AuthorsList/index.js +2 -0
- package/AuthorsList/index.js.map +1 -0
- package/BigFact/index.js +2 -0
- package/BigFact/index.js.map +1 -0
- package/BlockQuote/index.js +2 -0
- package/BlockQuote/index.js.map +1 -0
- package/Blurb/index.js +2 -0
- package/Blurb/index.js.map +1 -0
- package/CollectionFilter/index.js +2 -0
- package/CollectionFilter/index.js.map +1 -0
- package/CollectionFilter/styles.arrow.css +1 -1
- package/CollectionName/index.js +2 -0
- package/CollectionName/index.js.map +1 -0
- package/ElevenStories/index.js +2 -0
- package/ElevenStories/index.js.map +1 -0
- package/ElevenStories/styles.arrow.css +1 -1
- package/FourColFiveStories/index.js +2 -0
- package/FourColFiveStories/index.js.map +1 -0
- package/FourColFiveStories/styles.arrow.css +1 -1
- package/FourColGrid/index.js +2 -0
- package/FourColGrid/index.js.map +1 -0
- package/FourColGrid/styles.arrow.css +1 -1
- package/FourColSixteenStories/index.js +2 -0
- package/FourColSixteenStories/index.js.map +1 -0
- package/FourColSixteenStories/styles.arrow.css +1 -1
- package/FourColTwelveStories/index.js +2 -0
- package/FourColTwelveStories/index.js.map +1 -0
- package/FourColTwelveStories/styles.arrow.css +1 -1
- package/FourStorySlider/index.js +2 -0
- package/FourStorySlider/index.js.map +1 -0
- package/FourStorySlider/styles.arrow.css +1 -1
- package/FullScreenSlider/index.js +2 -0
- package/FullScreenSlider/index.js.map +1 -0
- package/FullScreenSlider/styles.arrow.css +1 -1
- package/HalfScreenSlider/index.js +2 -0
- package/HalfScreenSlider/index.js.map +1 -0
- package/HalfScreenSlider/styles.arrow.css +1 -1
- package/Headline/index.js +2 -0
- package/Headline/index.js.map +1 -0
- package/HeroImage/index.js +2 -0
- package/HeroImage/index.js.map +1 -0
- package/Image/index.js +2 -0
- package/Image/index.js.map +1 -0
- package/ImageGallery/index.js +2 -0
- package/ImageGallery/index.js.map +1 -0
- package/ImageSlideshow/index.js +2 -0
- package/ImageSlideshow/index.js.map +1 -0
- package/KeyEvents/index.js +2 -0
- package/KeyEvents/index.js.map +1 -0
- package/ListComponent/index.js +2 -0
- package/ListComponent/index.js.map +1 -0
- package/ListComponent/styles.arrow.css +1 -1
- package/ListicleStoryTemplate/index.js +2 -0
- package/ListicleStoryTemplate/index.js.map +1 -0
- package/ListicleStoryTemplate/styles.arrow.css +1 -1
- package/LiveBlogStoryTemplate/index.js +2 -0
- package/LiveBlogStoryTemplate/index.js.map +1 -0
- package/LiveBlogStoryTemplate/styles.arrow.css +1 -1
- package/LoadmoreButton/index.js +2 -0
- package/LoadmoreButton/index.js.map +1 -0
- package/MagazineEditions/index.js +2 -0
- package/MagazineEditions/index.js.map +1 -0
- package/MagazineHeaderCard/index.js +2 -0
- package/MagazineHeaderCard/index.js.map +1 -0
- package/MagazineHeaderCard/styles.arrow.css +1 -1
- package/MagazineWidget/index.js +2 -0
- package/MagazineWidget/index.js.map +1 -0
- package/MagazineWidget/styles.arrow.css +1 -1
- package/OneColStoryList/index.js +2 -0
- package/OneColStoryList/index.js.map +1 -0
- package/OneColStoryList/styles.arrow.css +1 -1
- package/OpinionCollection/index.js +2 -0
- package/OpinionCollection/index.js.map +1 -0
- package/OpinionCollection/styles.arrow.css +1 -1
- package/PageIntroductionCard/index.js +2 -0
- package/PageIntroductionCard/index.js.map +1 -0
- package/PhotoStoryTemplate/index.js +2 -0
- package/PhotoStoryTemplate/index.js.map +1 -0
- package/PhotoStoryTemplate/styles.arrow.css +1 -1
- package/QuestionAnswer/index.js +2 -0
- package/QuestionAnswer/index.js.map +1 -0
- package/Quote/index.js +2 -0
- package/Quote/index.js.map +1 -0
- package/Reference/index.js +2 -0
- package/Reference/index.js.map +1 -0
- package/ScrollSnap/index.js +2 -0
- package/ScrollSnap/index.js.map +1 -0
- package/ScrollSnap/styles.arrow.css +1 -1
- package/SectionTag/index.js +2 -0
- package/SectionTag/index.js.map +1 -0
- package/SixColSixStories/index.js +2 -0
- package/SixColSixStories/index.js.map +1 -0
- package/SixColSixStories/styles.arrow.css +1 -1
- package/SocialShareTemplate/index.js +2 -0
- package/SocialShareTemplate/index.js.map +1 -0
- package/StoryCard/index.js +2 -0
- package/StoryCard/index.js.map +1 -0
- package/StoryCard/styles.arrow.css +1 -1
- package/StoryCollection/index.js +2 -0
- package/StoryCollection/index.js.map +1 -0
- package/StoryCollection/styles.arrow.css +1 -1
- package/StoryElement/index.js +2 -0
- package/StoryElement/index.js.map +1 -0
- package/StoryElementCard/index.js +2 -0
- package/StoryElementCard/index.js.map +1 -0
- package/StoryElementCard/styles.arrow.css +1 -1
- package/StorycardContent/index.js +2 -0
- package/StorycardContent/index.js.map +1 -0
- package/StorycardContent/styles.arrow.css +1 -1
- package/Subheadline/index.js +2 -0
- package/Subheadline/index.js.map +1 -0
- package/Summary/index.js +2 -0
- package/Summary/index.js.map +1 -0
- package/TagIntroductionCard/index.js +2 -0
- package/TagIntroductionCard/index.js.map +1 -0
- package/Text/index.js +2 -0
- package/Text/index.js.map +1 -0
- package/TextStoryTemplate/index.js +2 -0
- package/TextStoryTemplate/index.js.map +1 -0
- package/TextStoryTemplate/styles.arrow.css +1 -1
- package/ThreeColFlexStories/index.js +2 -0
- package/ThreeColFlexStories/index.js.map +1 -0
- package/ThreeColFlexStories/styles.arrow.css +1 -1
- package/ThreeColFourteenStories/index.js +2 -0
- package/ThreeColFourteenStories/index.js.map +1 -0
- package/ThreeColFourteenStories/styles.arrow.css +1 -1
- package/ThreeColGrid/index.js +2 -0
- package/ThreeColGrid/index.js.map +1 -0
- package/ThreeColGrid/styles.arrow.css +1 -1
- package/ThreeColSevenStory/index.js +2 -0
- package/ThreeColSevenStory/index.js.map +1 -0
- package/ThreeColSevenStory/styles.arrow.css +1 -1
- package/ThreeColSixStories/index.js +2 -0
- package/ThreeColSixStories/index.js.map +1 -0
- package/ThreeColSixStories/styles.arrow.css +1 -1
- package/TimeStamp/index.js +2 -0
- package/TimeStamp/index.js.map +1 -0
- package/TwoColFourStories/index.js +2 -0
- package/TwoColFourStories/index.js.map +1 -0
- package/TwoColFourStories/styles.arrow.css +1 -1
- package/TwoColFourStoryHighlight/index.js +2 -0
- package/TwoColFourStoryHighlight/index.js.map +1 -0
- package/TwoColFourStoryHighlight/styles.arrow.css +1 -1
- package/TwoColSixStories/index.js +2 -0
- package/TwoColSixStories/index.js.map +1 -0
- package/TwoColSixStories/styles.arrow.css +1 -1
- package/TwoColThreeStories/index.js +2 -0
- package/TwoColThreeStories/index.js.map +1 -0
- package/TwoColThreeStories/styles.arrow.css +1 -1
- package/Video/index.js +2 -0
- package/Video/index.js.map +1 -0
- package/VideoStoryTemplate/index.js +2 -0
- package/VideoStoryTemplate/index.js.map +1 -0
- package/VideoStoryTemplate/styles.arrow.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("react-redux"),r=require("@quintype/components"),o=require("babel-plugin-react-css-modules/dist/browser/getClassName"),a=require("prop-types"),n=require("lodash.get"),i=require("react-timeago");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(e),u=l(o),d=l(a),s=l(n),f=l(i);var m=function(e){if(Array.isArray(e))return e};var h=function(e,t){var r=[],o=!0,a=!1,n=void 0;try{for(var i,l=e[Symbol.iterator]();!(o=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw n}}return r};var p=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var g=function(e,t){return m(e)||h(e,t)||p()},v=Array.isArray,_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function b(e){var t={exports:{}};return e(t,t.exports),t.exports}var y="object"==typeof _&&_&&_.Object===Object&&_,w="object"==typeof self&&self&&self.Object===Object&&self,E=y||w||Function("return this")(),x=E.Symbol,k=Object.prototype,T=k.hasOwnProperty,z=k.toString,C=x?x.toStringTag:void 0;var L=function(e){var t=T.call(e,C),r=e[C];try{e[C]=void 0;var o=!0}catch(e){}var a=z.call(e);return o&&(t?e[C]=r:delete e[C]),a},I=Object.prototype.toString;var N=function(e){return I.call(e)},S=x?x.toStringTag:void 0;var j=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":S&&S in Object(e)?L(e):N(e)};var O=function(e){return null!=e&&"object"==typeof e};var A=function(e){return"symbol"==typeof e||O(e)&&"[object Symbol]"==j(e)},R=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/;var H=function(e,t){if(v(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!A(e))||(P.test(e)||!R.test(e)||null!=t&&e in Object(t))};var M=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var B,F=function(e){if(!M(e))return!1;var t=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},D=E["__core-js_shared__"],q=(B=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"";var W=function(e){return!!q&&q in e},U=Function.prototype.toString;var V=function(e){if(null!=e){try{return U.call(e)}catch(e){}try{return e+""}catch(e){}}return""},G=/^\[object .+?Constructor\]$/,Z=Function.prototype,J=Object.prototype,Y=Z.toString,$=J.hasOwnProperty,K=RegExp("^"+Y.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Q=function(e){return!(!M(e)||W(e))&&(F(e)?K:G).test(V(e))};var X=function(e,t){return null==e?void 0:e[t]};var ee=function(e,t){var r=X(e,t);return Q(r)?r:void 0},te=ee(Object,"create");var re=function(){this.__data__=te?te(null):{},this.size=0};var oe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ae=Object.prototype.hasOwnProperty;var ne=function(e){var t=this.__data__;if(te){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ae.call(t,e)?t[e]:void 0},ie=Object.prototype.hasOwnProperty;var le=function(e){var t=this.__data__;return te?void 0!==t[e]:ie.call(t,e)};var ce=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=te&&void 0===t?"__lodash_hash_undefined__":t,this};function ue(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])}}ue.prototype.clear=re,ue.prototype.delete=oe,ue.prototype.get=ne,ue.prototype.has=le,ue.prototype.set=ce;var de=ue;var se=function(){this.__data__=[],this.size=0};var fe=function(e,t){return e===t||e!=e&&t!=t};var me=function(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1},he=Array.prototype.splice;var pe=function(e){var t=this.__data__,r=me(t,e);return!(r<0)&&(r==t.length-1?t.pop():he.call(t,r,1),--this.size,!0)};var ge=function(e){var t=this.__data__,r=me(t,e);return r<0?void 0:t[r][1]};var ve=function(e){return me(this.__data__,e)>-1};var _e=function(e,t){var r=this.__data__,o=me(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function be(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])}}be.prototype.clear=se,be.prototype.delete=pe,be.prototype.get=ge,be.prototype.has=ve,be.prototype.set=_e;var ye=be,we=ee(E,"Map");var Ee=function(){this.size=0,this.__data__={hash:new de,map:new(we||ye),string:new de}};var xe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ke=function(e,t){var r=e.__data__;return xe(t)?r["string"==typeof t?"string":"hash"]:r.map};var Te=function(e){var t=ke(this,e).delete(e);return this.size-=t?1:0,t};var ze=function(e){return ke(this,e).get(e)};var Ce=function(e){return ke(this,e).has(e)};var Le=function(e,t){var r=ke(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ie(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])}}Ie.prototype.clear=Ee,Ie.prototype.delete=Te,Ie.prototype.get=ze,Ie.prototype.has=Ce,Ie.prototype.set=Le;var Ne=Ie;function Se(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,a=t?t.apply(this,o):o[0],n=r.cache;if(n.has(a))return n.get(a);var i=e.apply(this,o);return r.cache=n.set(a,i)||n,i};return r.cache=new(Se.Cache||Ne),r}Se.Cache=Ne;var je=Se;var Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/\\(\\)?/g,Re=function(e){var t=je(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(Oe,(function(e,r,o,a){t.push(o?a.replace(Ae,"$1"):r||e)})),t}));var Pe=function(e,t){for(var r=-1,o=null==e?0:e.length,a=Array(o);++r<o;)a[r]=t(e[r],r,e);return a},He=x?x.prototype:void 0,Me=He?He.toString:void 0;var Be=function e(t){if("string"==typeof t)return t;if(v(t))return Pe(t,e)+"";if(A(t))return Me?Me.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Fe=function(e){return null==e?"":Be(e)};var De=function(e,t){return v(e)?e:H(e,t)?[e]:Re(Fe(e))};var qe=function(e){if("string"==typeof e||A(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var We=function(e,t){for(var r=0,o=(t=De(t,e)).length;null!=e&&r<o;)e=e[qe(t[r++])];return r&&r==o?e:void 0};var Ue=function(e,t,r){var o=null==e?void 0:We(e,t);return void 0===o?r:o},Ve=e.createContext(),Ge=function(){return e.useContext(Ve)};b((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},n=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,r,o){var a=t&&t.prototype instanceof p?t:p,n=Object.create(a.prototype),i=new C(o||[]);return n._invoke=function(e,t,r){var o=d;return function(a,n){if(o===f)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw n;return I()}for(r.method=a,r.arg=n;;){var i=r.delegate;if(i){var l=k(i,r);if(l){if(l===h)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=f;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?m:s,c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}(e,r,i),n}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",s="suspendedYield",f="executing",m="completed",h={};function p(){}function g(){}function v(){}var _={};_[n]=function(){return this};var b=Object.getPrototypeOf,y=b&&b(b(L([])));y&&y!==r&&o.call(y,n)&&(_=y);var w=v.prototype=p.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function t(r,a,n,i){var l=u(e[r],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&o.call(d,"__await")?Promise.resolve(d.__await).then((function(e){t("next",e,n,i)}),(function(e){t("throw",e,n,i)})):Promise.resolve(d).then((function(e){c.value=e,n(c)}),(function(e){return t("throw",e,n,i)}))}i(l.arg)}var r;this._invoke=function(e,o){function a(){return new Promise((function(r,a){t(e,o,r,a)}))}return r=r?r.then(a,a):a()}}function k(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,k(e,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=u(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,h;var n=a.arg;return n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,h):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}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 z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function L(e){if(e){var r=e[n];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function r(){for(;++a<e.length;)if(o.call(e,a))return r.value=e[a],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 g.prototype=w.constructor=v,v.constructor=g,v[l]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[i]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,o,a){var n=new x(c(t,r,o,a));return e.isGeneratorFunction(r)?n:n.next().then((function(e){return e.done?e.value:n.next()}))},E(w),w[l]="Generator",w[n]=function(){return this},w.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=L,C.prototype={constructor:C,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 a(o,a){return l.type="throw",l.arg=e,r.next=o,a&&(r.method="next",r.arg=t),!!a}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&o.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var n=a;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,h):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),h},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),h}},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 a=o.arg;z(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:L(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}));var Ze=b((function(e){function t(e){return(t="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})(e)}function r(o){return"function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?e.exports=r=function(e){return t(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)},r(o)}e.exports=r}));var Je=function(e,t,r,o){var a=-1,n=null==e?0:e.length;for(o&&n&&(r=e[++a]);++a<n;)r=t(r,e[a],a,e);return r};var Ye=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"}),$e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ke=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Qe=function(e){return(e=Fe(e))&&e.replace($e,Ye).replace(Ke,"")},Xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var et=function(e){return e.match(Xe)||[]},tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var rt=function(e){return tt.test(e)},ot="\\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",at="["+ot+"]",nt="\\d+",it="[\\u2700-\\u27bf]",lt="[a-z\\xdf-\\xf6\\xf8-\\xff]",ct="[^\\ud800-\\udfff"+ot+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",dt="[\\ud800-\\udbff][\\udc00-\\udfff]",st="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:"+lt+"|"+ct+")",mt="(?:"+st+"|"+ct+")",ht="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",pt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ut,dt].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),gt="(?:"+[it,ut,dt].join("|")+")"+pt,vt=RegExp([st+"?"+lt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[at,st,"$"].join("|")+")",mt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[at,st+ft,"$"].join("|")+")",st+"?"+ft+"+(?:['’](?:d|ll|m|re|s|t|ve))?",st+"+(?:['’](?: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_])",nt,gt].join("|"),"g");var _t=function(e){return e.match(vt)||[]};var bt=function(e,t,r){return e=Fe(e),void 0===(t=r?void 0:t)?rt(e)?_t(e):et(e):e.match(t)||[]},yt=RegExp("['’]","g");var wt=function(e){return function(t){return Je(bt(Qe(t).replace(yt,"")),e,"")}},Et=wt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),xt=wt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function kt(e,t,r,o,a){var n,i=Ue(a,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},n=a.showTime,i=void 0!==n&&n,l=a.isTimeFirst,c=void 0!==l&&l,u=a.isUpperCase,d=void 0!==u&&u,s=a.disableMeridiem,f=void 0!==s&&s,m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=new Date(o),p=h.getDate().toString().padStart(2,0),g=m[h.getMonth()],v=g;d&&(v=Et(g));var _,b=h.getFullYear(),y=a.localizedMeridiem,w=a.localizedMonths,E=a.direction,x=void 0===E?"ltr":E,k=Tt(o),T=k;if(w&&(v=Ue(w,[xt(g)])||g),y){var z=k.includes("am"),C=y.am,L=void 0===C?"am":C,I=y.pm,N=void 0===I?"pm":I;T=(z?k.replace("am",L):k.replace("pm",N))||k}return"rtl"===x?(_=i?"".concat(T):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):f?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(T,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(T):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,a):e>1?(n=Ue(a,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(n," ").concat(i)):(n=Ue(a,["localizedPublishTime",t])||t,"".concat(e," ").concat(n," ").concat(i," "))}function Tt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),a=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+a}var zt=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},Ct=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},Lt={mobile:767,tablet:1024},It=function(e){var t=Ue(Lt,e);return!!t&&Ue(global,"document.documentElement.clientWidth")<=t},Nt=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:Ct(e),o=zt(r)<155?"light":"dark";return o};var St=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,a=t.isArchivePage,n=void 0!==a&&a;if(n)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Ue(e,["metadata","section","0","id"],""),c=t.sections,u=c&&c.find((function(e){return e.id===l}));return u?u["section-url"]:"/"}return"/collection/".concat(e.slug)};function jt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ue(e,["metadata","reference-url"],"")}d.default.shape({"sketches-host":d.default.string,"cdn-name":d.default.string,"cdn-image":d.default.string}),d.default.shape({headline:d.default.string,"last-published-at":d.default.number,subheadline:d.default.string});var Ot=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ue(e,["story-template"])?Ue(e,["metadata","reference-url"],""):e.url||t},At=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;if(r)return r;var o=t.magazineSlug,a=void 0===o?"":o,n=t.isArchivePage,i=void 0!==n&&n;return i?"/magazine/archive/".concat(a):a?"/magazine/".concat(a,"/").concat(e.slug):e?St(e,t):"/"},Rt={"./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","border-bottom":"collection-name-m_border-bottom__1MnlV",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN"}},Pt=function(e){var t=e.collectionNameBorderColor,o=void 0===t?"":t,a=e.collection,n=e.config,i=e.collectionNameTemplate,l=e.headerLevel,d=e.customCollectionName,f=void 0===d?"":d,m=e.navigate,h=void 0===m||m,p=Ge()||{},g=s.default(p,["showRowTitle"],!0),v=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",_=h&&a&&St(a,n)||"",b=f||a.name||"",y=Nt(p.theme),w="h"+l,E=Ct(o),x=v.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",k=It("mobile");return c.default.createElement(c.default.Fragment,null,g&&b&&c.default.createElement("div",{style:{borderBottom:x},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+u.default("collection ".concat(y," ").concat(v),Rt)},v.includes("collection-borderLeft")&&c.default.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:E,fontSize:function(){if(k)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),_&&!_.includes(void 0)?c.default.createElement(r.Link,{href:_,"aria-label":"collection-name"},c.default.createElement(w,null,b)):c.default.createElement(w,null,b),v.includes("collection-borderBottom")&&!v.includes("collection-borderBottomFull")?c.default.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(E)}}):""))};Pt.propTypes={collectionNameBorderColor:a.PropTypes.string,collection:a.PropTypes.object,config:a.PropTypes.object,collectionNameTemplate:a.PropTypes.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:a.PropTypes.string,customCollectionName:a.PropTypes.string,navigate:a.PropTypes.bool},Pt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Ht=t.connect((function(e){return{config:s.default(e,["qt","config"],{})}}))(Pt),Mt=function(e){var t=e.height,r=e.width,o=e.color,a=void 0===o?"#D8D8D8":o,n=e.positionTop;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},c.default.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},c.default.createElement("g",null,c.default.createElement("g",{transform:"translate(8 8)"},c.default.createElement("path",{d:"M0 0H24V24H0z"}),c.default.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},c.default.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"}))))))};Mt.propTypes={height:d.default.string,width:d.default.string,color:d.default.string,positionTop:d.default.string};var Bt=function(e){var t=e.height,r=e.width,o=e.color,a=void 0===o?"#D5D5D5":o,n=e.positionTop;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},c.default.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},c.default.createElement("g",null,c.default.createElement("g",{transform:"translate(8 8)"},c.default.createElement("path",{d:"M0 0H24V24H0z"}),c.default.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)"})))))};Bt.propTypes={height:d.default.string,width:d.default.string,color:d.default.string,positionTop:d.default.string};var Ft=function(e){var t=e.height,r=e.width,o=e.color,a=void 0===o?"#D5D5D5":o,n=e.positionTop;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},c.default.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},c.default.createElement("g",null,c.default.createElement("g",{transform:"translate(8 8)"},c.default.createElement("path",{d:"M0 0H24V24H0z"}),c.default.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},c.default.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"}))))))};Ft.propTypes={height:d.default.string,width:d.default.string,color:d.default.string,positionTop:d.default.string};var Dt=function(e){var t=e.width,r=e.height,o=e.color,a=void 0===o?"#D5D5D5":o,n=e.positionTop,i=void 0===n?"":n;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},c.default.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},c.default.createElement("g",null,c.default.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Dt.propTypes={height:d.default.string,width:d.default.string,color:d.default.string,positionTop:d.default.string};var qt=function(e){var t=e.width,r=e.height,o=e.color,a=e.iconType,n=e.positionTop;switch(a){case"crown":return c.default.createElement(Mt,{width:t,height:r,color:o,positionTop:n});case"lock":return c.default.createElement(Ft,{width:t,height:r,color:o,positionTop:n});case"key":return c.default.createElement(Bt,{width:t,height:r,color:o,positionTop:n});default:return c.default.createElement(Dt,{width:t,height:r,color:o,positionTop:n})}};qt.propTypes={width:d.default.string,height:d.default.string,color:d.default.string,iconType:d.default.string,positionTop:d.default.string};var Wt={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Ut=function(e){var t=e.story,o=e.headerLevel,a=e.premiumStoryIconConfig,n=void 0===a?{}:a,i=Ge()||{},l=n.iconColor,d=void 0===l?"#F7B500":l,f=n.iconStyle,m=void 0===f?"star":f,h=n.enablePremiumStoryIcon,p=void 0!==h&&h,g=s.default(t,["alternative","home","default","headline"]),v=p&&"subscription"===s.default(t,["access"]),_=g||t.headline,b="h"+o,y=Nt(i.theme),w=v?"wrapper":"",E="24px";return c.default.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+u.default(w,Wt)},v&&c.default.createElement(qt,{width:E,height:E,color:d,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),c.default.createElement(r.Link,{href:Ot(t,"/".concat(t.slug)),externalLink:jt(t),"aria-label":"headline"},c.default.createElement(b,{className:u.default("headline ".concat(y),Wt)},_)))};Ut.propTypes={story:d.default.object.isRequired,headerLevel:d.default.string,premiumStoryIconConfig:d.default.shape({iconColor:d.default.string,iconType:d.default.string,enablePremiumStoryIcon:d.default.bool})},Ut.defaultProps={headerLevel:"6"};var Vt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Gt=function(e){var t=e.story,r=e.truncateChars,o=void 0===r?200:r,a=e.lineClamp,n=e.clazzName,i=void 0===n?"":n,l=e.forceShowAtom,d=e.showFullContent,f=Ge()||{};if(!(l||s.default(f,["showSubheadline"],!0)))return null;var m=Nt(f.theme);return c.default.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(i)?"p-alt arr--sub-headline arrow-component ".concat(i)+" ":"")+u.default("subheadline ".concat(m),Vt)},d||"number"==typeof a?t.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}(t.subheadline,o,!0))};Gt.propTypes={story:d.default.object.isRequired,lineClamp:d.default.number,truncateChars:d.default.number,clazzName:d.default.string,forceShowAtom:d.default.bool,showFullContent:d.default.bool},Gt.defaultProps={forceShowAtom:!1,showFullContent:!1};var Zt={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},Jt=function(e){var t=e.story,r=e.isBottom,o=e.config,a=void 0===o?{}:o,n=Ge()||{},i=s.default(n,["showTime"],!0),l=t["last-published-at"]||t["first-published-at"],d=r?"bottom-fix":"",m=Nt(n.theme);return c.default.createElement(c.default.Fragment,null,i&&c.default.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+u.default("time ".concat(m," ").concat(d),Zt)},c.default.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c.default.createElement(f.default,{date:e,formatter:function(e,o,a,n){return t(e,o,a,n,r)}})}(l,kt,a))))};Jt.propTypes={story:d.default.object,isBottom:d.default.bool,config:d.default.object};var Yt={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",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"}},$t=function(e){var t=e.story,o=e.hideAuthorImage,a=e.isBottom,n=e.prefix,i=void 0===n?"":n,l=e.config,d=void 0===l?{}:l,f=Ge()||{},m=s.default(f,["showAuthor"],!0),h=s.default(t,["authors","0"],""),p=h["avatar-url"],g=h["avatar-s3-key"],v=h.name,_=h.slug,b=a?"bottom-fix":"",y=Nt(f.theme),w=s.default(d,["mountAt"],""),E=function(e){return i?c.default.createElement("div",{className:"arr-author-prefix "+u.default("prefix ".concat(y),Yt)},i):!o&&function(e){return p||g?c.default.createElement("div",{"data-test-id":"author-image",className:u.default("author-image ".concat(e,"-image"),Yt)},c.default.createElement("figure",null,g?c.default.createElement(r.ResponsiveImage,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):c.default.createElement("img",{src:p}))):null}(e)};return c.default.createElement(c.default.Fragment,null,m&&c.default.createElement(r.Link,{href:"".concat(w,"/author/")+_,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+u.default("author ".concat(b),Yt)},E("ltr"),c.default.createElement("div",{"data-test-id":"author-name",className:"author-name "+u.default("author-name ".concat(y),Yt)},v||t["author-name"]),!i&&E("rtl")))};var Kt=t.connect((function(e){return{config:s.default(e,["qt","config"],{})}}))($t);$t.propTypes={story:d.default.object.isRequired,hideAuthorImage:d.default.bool,isBottom:d.default.bool,prefix:d.default.string,config:d.default.object},$t.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var Qt={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},Xt=function(e){var t=e.width,r=void 0===t?"3px":t,o=e.height,a=void 0===o?"3px":o,n=e.color,i=void 0===n?"light":n;return c.default.createElement("div",{className:u.default(i,Qt)},c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a,viewBox:"0 0 3 3"},c.default.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};Xt.propTypes={color:d.default.string,width:d.default.string,height:d.default.string};var er={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},tr=function(e){var t=e.width,r=void 0===t?"1":t,o=e.height,a=void 0===o?"10":o,n=e.color,i=void 0===n?"light":n;return c.default.createElement("div",{className:u.default(i,er)},c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a},c.default.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};tr.propTypes={color:d.default.string,width:d.default.string,height:d.default.string};var rr={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_","dot-indicator":"read-time-m_dot-indicator__3Sqh2",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},or=function(e){var t=e.story,r=e.opts,o=void 0===r?{}:r,a=Ge()||{},n=s.default(a,["showReadTime"])||s.default(o,["showReadTime"],!0),i=s.default(t,["read-time"],0),l=Nt(a.theme);if(!n||!i)return null;var d=s.default(o,["localizedTimeToRead"])||"min read";return c.default.createElement(c.default.Fragment,null,c.default.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+u.default("read-time-wrapper ".concat(l),rr)},c.default.createElement("span",{className:"read-time-m_dot-indicator__3Sqh2"},c.default.createElement(Xt,{color:l})),c.default.createElement("span",null,i," ",d)))};or.propTypes={story:d.default.shape({"read-time":d.default.number}),opts:d.default.shape({showReadTime:d.default.bool})};var ar={"./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","bottom-fix":"author-with-timestamp-m_bottom-fix__1rWGv",dash:"author-with-timestamp-m_dash__2L5XC"}},nr=function(e){var t=e.story,r=e.separator,o=e.isBottom,a=e.hideAuthorImage,n=e.prefix,i=e.config,l=void 0===i?{}:i,d=Ge()||{},f=s.default(l,["showAuthor"],s.default(d,["showAuthor"],!0)),m=s.default(d,["showTime"],!0),h=s.default(d,["showReadTime"],!0),p=o?"bottom-fix":"",g="dot"===r?"dot":"dash",v=Nt(d.theme),_=function(){return m?c.default.createElement(c.default.Fragment,null,f&&c.default.createElement("span",{className:"arr-separator "+u.default("".concat(g),ar)},"divider"===r?c.default.createElement(tr,{color:v}):c.default.createElement(Xt,{color:v})),c.default.createElement(Jt,{story:t,config:l}),h&&c.default.createElement(or,{story:t,opts:l})):null};return c.default.createElement("div",{className:"arr--author-time "+u.default("author-time-wrapper ".concat(p),ar)},f?c.default.createElement(c.default.Fragment,null,c.default.createElement(Kt,{story:t,isBottom:!0,hideAuthorImage:a,prefix:n}),_()):_())};nr.propTypes={story:d.default.object,separator:d.default.oneOf(["dot","divider"]),hideAuthorImage:d.default.bool,isBottom:d.default.bool,prefix:d.default.string,config:d.default.object},nr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:""};var ir=function(e){var t=e.width,r=void 0===t?40:t,o=e.height,a=void 0===o?30:o,n=e.iconColor,i=void 0===n?"#99B0CB":n;return c.default.createElement("svg",{width:r,height:a,viewBox:"0 0 102 76",version:"1.1"},c.default.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},c.default.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},c.default.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:i,fillRule:"nonzero"}),c.default.createElement("rect",{id:"Rectangle-19",stroke:i,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};ir.propTypes={width:d.default.object,height:d.default.object,iconColor:d.default.object};var lr=function(){return c.default.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},c.default.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},c.default.createElement(ir,null)))},cr=function(e){var t=e.slug;return t?c.default.createElement(r.Link,{href:t,"aria-label":"image-fallback"},lr()):lr()};cr.propTypes={slug:d.default.string};var ur={"./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"}},dr=function(e){var o=e.story,a=e.FullBleed,n=e.aspectRatio,i=e.defaultWidth,l=e.widths,d=e.isHorizontal,f=e.isHorizontalMobile,m=e.isHorizontalWithImageLast,h=e.defaultFallback,p=e.isStoryPageImage,v=(Ge()||{}).fallbackImageUrl,_=void 0===v?"":v,b=t.useSelector((function(e){return s.default(e,["qt","config","showPlaceholder"])}))?"placeholder":"",y=a?"":"with-padding",w="hero-image";d?w="right-padding":m&&(w="left-padding");var E=f?"right-padding-mob":"",x=function(e){var t=g(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},k=g(n,2),T=k[0],z=k[1],C=void 0===z?T:z,L=It("mobile"),I=L?T:C,N=x(L?T:C),S=s.default(o,["hero-image-s3-key"])||s.default(o,["alternative","home","default","hero-image","hero-image-s3-key"]),j=function(){return S?c.default.createElement("figure",{style:{paddingTop:N+"%"},className:"arr--responsive-hero-image "+u.default("image ".concat(b),ur)},c.default.createElement(r.ResponsiveHeroImage,{story:o,aspectRatio:I,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"}})):_?c.default.createElement("figure",{style:{paddingTop:N+"%"},className:"arr--responsive-hero-image "+u.default("image ".concat(b),ur)},c.default.createElement(r.ResponsiveImage,{slug:!p&&_,metadata:{},"aspect-ratio":I,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):c.default.createElement(c.default.Fragment,null,h?c.default.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:N+"%"},className:"arr--fallback-hero-image "+u.default("image ".concat(b),ur)},c.default.createElement(cr,null)):null)};return o&&(p?c.default.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+u.default("".concat(w," ").concat(y," ").concat(E),ur)},j()):c.default.createElement(r.Link,{"data-test-id":"arr--hero-image",href:Ot(o,"/".concat(o.slug)),externalLink:jt(o),"aria-label":"fallback-hero-image",className:"arr--hero-image "+u.default("".concat(w," ").concat(y," ").concat(E),ur)},j()))};dr.propTypes={story:d.default.object.isRequired,FullBleed:d.default.bool,defaultWidth:d.default.number,widths:d.default.array,aspectRatio:d.default.array,isHorizontal:d.default.bool,isHorizontalMobile:d.default.bool,defaultFallback:d.default.bool,isHorizontalWithImageLast:d.default.bool},dr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var sr={"./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"}},fr=function(e){var t=e.story,o=e.template,a=void 0===o?"":o,n=e.borderColor,i=void 0===n?"":n,l=Ge()||{},d=s.default(l,["showSection"],!0),f=s.default(l,["sectionTagTemplate"]),m=s.default(t,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],p=m?m["section-url"]:"/",g="solid"===a||"solid"===f?i:l.theme,v=Nt(g),_=Ct(i),b=h.includes(a)?"section section-".concat(a):"section";return f&&(b=h.includes(f)?"section section-".concat(f):"section"),d?c.default.createElement(r.Link,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},c.default.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:b.includes("section-solid")?_:""},className:"section-tag arrow-component "+u.default("".concat(v," ").concat(b),sr)},b.includes("section-borderLeft")&&c.default.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:_}}),m["display-name"]||m.name,c.default.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===a?"":_)}}))):null};fr.propTypes={story:d.default.object.isRequired,template:d.default.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:d.default.string,solidBorderColor:d.default.string},fr.defaultProps={template:""};var mr={"./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","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-bottom":"storycard-m_content-bottom__1QHeC","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"}},hr=function(e){var t,r=e.story,o=e.children,a=e.isHorizontal,n=e.aspectRatio,i=e.border,l=e.useImageAsBackground,d=e.bgImgContentOverlap,s=e.theme,f=e.borderColor,m=e.isHorizontalMobile,h=e.centerAlign,p=e.headerLevel,g=e.hideAuthorImage,v=e.prefix,_=e.config,b=e.isHorizontalWithImageLast;if(!r||(null==(t=r)||"object"===Ze(t)&&0===Object.entries(t).length&&t.constructor===Object||"string"==typeof t&&0===t.trim().length))return c.default.createElement("div",null);var y=["default","full","bottom","boxShadow"].includes(i)?"border-".concat(i):"",w="default-card";a?w="horizontal-card":b&&(w="horizontal-image-last");var E=l?"backgroung-img":"",x=d?"content-overlap":"",k=Nt(s),T=m?"horizontal-mob":"",z=c.default.createElement(pr,{story:r,aspectRatio:n,border:i,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:p,borderColor:f,hideAuthorImage:g,prefix:v,config:_,isHorizontalWithImageLast:b});return c.default.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:s,color:k},className:"arr--story-card "+u.default("card ".concat(w," ").concat(y," ").concat(k," ").concat(E," ").concat(x," ").concat(T),mr)},o||z)},pr=function(e){var t=e.story;e.border;var r=e.isHorizontal,o=e.aspectRatio,a=e.headerLevel,n=e.isHorizontalMobile,i=void 0!==n&&n,l=e.centerAlign,d=void 0!==l&&l,s=e.borderColor,f=e.hideAuthorImage,m=e.prefix,h=e.isHorizontalWithImageLast,p=e.config,g=d?"center-align":"",v=Ct(s),_=p.localizationConfig,b=void 0===_?{}:_;return c.default.createElement(c.default.Fragment,null,r?c.default.createElement(dr,{story:t,isHorizontal:!0,isHorizontalMobile:i,aspectRatio:o}):h?c.default.createElement(dr,{story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:i,aspectRatio:o}):c.default.createElement(dr,{story:t,isHorizontalMobile:i,aspectRatio:o}),c.default.createElement("div",{className:"arr--story-content "+u.default("content ".concat(g),mr)},c.default.createElement(fr,{story:t,borderColor:v}),c.default.createElement(Ut,{story:t,headerLevel:a,premiumStoryIconConfig:p}),c.default.createElement(nr,{config:b,story:t,isBottom:!0,prefix:m,hideAuthorImage:f}),c.default.createElement(Gt,{story:t})))};pr.propTypes={story:d.default.object.isRequired,border:d.default.oneOfType([d.default.string]),isBottom:d.default.bool,isHorizontal:d.default.bool,aspectRatio:d.default.oneOfType([d.default.array]),isHorizontalMobile:d.default.bool,centerAlign:d.default.bool,headerLevel:d.default.string,borderColor:d.default.string,hideAuthorImage:d.default.bool,prefix:d.default.string,config:d.default.object,isHorizontalWithImageLast:d.default.bool},hr.propTypes={story:d.default.object.isRequired,children:d.default.node,isHorizontal:d.default.bool,border:d.default.oneOfType([d.default.string]),useImageAsBackground:d.default.bool,bgImgContentOverlap:d.default.bool,aspectRatio:d.default.oneOfType([d.default.array]),theme:d.default.string,isHorizontalMobile:d.default.bool,centerAlign:d.default.bool,headerLevel:d.default.string,borderColor:d.default.string,hideAuthorImage:d.default.bool,prefix:d.default.string,config:d.default.object,isHorizontalWithImageLast:d.default.bool},hr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var gr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},vr=function(e){var t=e.story,r=e.children,o=e.theme,a=e.border,n=e.isHorizontalMobile,i=e.headerLevel,l=e.borderColor,d=e.config,s=Nt(o),f=Ct(l),m=["full"].includes(a)?"border-".concat(a):"",h=n?"horizontal-content-wrapper":"";return c.default.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:o,color:s},className:"arr--content-wrapper "+u.default("wrapper ".concat(m," ").concat(h),gr)},r||c.default.createElement(_r,{story:t,headerLevel:i,isHorizontalMobile:n,borderColor:f,config:d}))},_r=function(e){var t=e.story,r=e.headerLevel,o=e.borderColor,a=e.config,n=void 0===a?{}:a,i=Ct(o),l=n.localizationConfig,u=void 0===l?{}:l;return c.default.createElement("div",null,c.default.createElement(fr,{story:t,borderColor:i}),c.default.createElement(Ut,{story:t,headerLevel:r,premiumStoryIconConfig:n}),c.default.createElement(nr,{config:u,story:t}))};_r.propTypes={story:d.default.object.isRequired,border:d.default.string,theme:d.default.string,isHorizontalMobile:d.default.bool,headerLevel:d.default.string,borderColor:d.default.string,config:d.default.object},vr.propTypes={story:d.default.object.isRequired,children:d.default.node,theme:d.default.string,border:d.default.string,isHorizontalMobile:d.default.bool,headerLevel:d.default.string,borderColor:d.default.string,config:d.default.object};var br=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},yr={"./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 wr(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 Er=function(e){var t=e.config,o=void 0===t?{}:t,a=e.collection,n=e.template,i=void 0===n?"SubsequentLoadCount":n,l=e.onClick,d=e.navigate,s=e.qtConfig,f=o.showButton,m=void 0===f||f,h=o.buttonText,p=void 0===h?"Read More":h,g=o.theme,v=void 0===g?"":g,_=o.customUrlPath,b=void 0===_?"":_;if(!m)return null;var y=Nt(v),w=b?"/".concat(b):At(a,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wr(Object(r),!0).forEach((function(t){br(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s,{},o));return"SubsequentLoadCount"===i?c.default.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+u.default("button ".concat(y," default"),yr)},p):c.default.createElement(r.LinkBase,{href:w,navigateTo:d,"data-test-id":"load-more","aria-label":"load-more"},c.default.createElement("div",{className:"arr--button "+u.default("button ".concat(y," default"),yr)},p))};Er.propTypes={collection:d.default.object,template:d.default.string,config:d.default.object,onClick:d.default.func,navigate:d.default.func,qtConfig:d.default.object};var xr=function(e){var t=e.color,r=void 0===t?"#333":t;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},c.default.createElement("g",{fill:"none",fillRule:"nonzero"},c.default.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),c.default.createElement("path",{stroke:r,d:"M9 16L1 8l8-8"})))};xr.propTypes={color:d.default.string};var kr=function(e){var t=e.color,r=void 0===t?"#333":t;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},c.default.createElement("g",{fill:"none",fillRule:"nonzero"},c.default.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),c.default.createElement("path",{stroke:r,d:"M1 0l8 8-8 8"})))};kr.propTypes={color:d.default.string};var Tr={"./slider-arrow.m.css":{arrow:"slider-arrow-m_arrow__1eBUU","left-arrow-dark":"slider-arrow-m_left-arrow-dark__3mTJS","right-arrow-dark":"slider-arrow-m_right-arrow-dark__3hWZe","left-arrow-light":"slider-arrow-m_left-arrow-light__2ipUK","right-arrow-light":"slider-arrow-m_right-arrow-light__3omMU","left-arrow-ltr":"slider-arrow-m_left-arrow-ltr__1ngNF","right-arrow-ltr":"slider-arrow-m_right-arrow-ltr__2svWX","left-arrow-rtl":"slider-arrow-m_left-arrow-rtl__2ynyn","right-arrow-rtl":"slider-arrow-m_right-arrow-rtl__1GjPz"}},zr=function(e){var t=e.selectedIndex,r=e.previousClick,o=e.nextClick,a=e.noOfItems,n=e.perView,i=e.languageDirection;if(a<1)return null;var l=Ge()||{},d=Nt(l.theme),s="rtl"===i?"left-arrow-rtl":"left-arrow-ltr",f="rtl"===i?"right-arrow-rtl":"right-arrow-ltr";return c.default.createElement(c.default.Fragment,null,0!==t?c.default.createElement("button",{onClick:r,className:("left-arrow ".concat(s)?"left-arrow ".concat(s)+" ":"")+u.default("arrow left-arrow-".concat(d," ").concat(s),Tr)},c.default.createElement(xr,{color:"dark"===d?"#fff":"#333"})):null,t<a-1&&!(t>=a-n)?c.default.createElement("button",{onClick:o,className:("right-arrow ".concat(f)?"right-arrow ".concat(f)+" ":"")+u.default("arrow right-arrow-".concat(d," ").concat(f),Tr)},c.default.createElement(kr,{color:"dark"===d?"#fff":"#333"})):null)};zr.propTypes={noOfItems:a.number,perView:a.number,slideIndicator:a.string,previousClick:a.func,nextClick:a.func,selectedIndex:a.number,languageDirection:a.string};var Cr={"./slider-indicator.m.css":{indicators:"slider-indicator-m_indicators__3MNXc",indicator:"slider-indicator-m_indicator__gTv3x","indicator-button":"slider-indicator-m_indicator-button__1e82r","indicator-dots":"slider-indicator-m_indicator-dots__2TR3H","indicator-dots-dark":"slider-indicator-m_indicator-dots-dark__sGrev","indicator-dots-light":"slider-indicator-m_indicator-dots-light__2nPn-","indicator-dashes":"slider-indicator-m_indicator-dashes__DyNCE","indicator-dashes-dark":"slider-indicator-m_indicator-dashes-dark__VrqJI","indicator-dashes-light":"slider-indicator-m_indicator-dashes-light__34ESx"}},Lr=function(e){var t=e.indicatorItems,r=e.indicatorClick,o=e.selectedIndex,a=e.indicatorType;if(t.length<1)return null;var n=Ge()||{},i=Nt(n.theme);return c.default.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},t.map((function(e,t){return c.default.createElement("li",{key:"slider-".concat(t),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(e){return r(e,t)}},c.default.createElement("button",{"aria-pressed":o===t?"true":"false",className:("indicator-button indicator-".concat(a)?"indicator-button indicator-".concat(a)+" ":"")+u.default("indicator-button indicator-".concat(a," indicator-").concat(a,"-").concat(i),Cr)}))})))};Lr.propTypes={indicatorItems:a.array,perView:a.number,indicatorType:a.string,indicatorClick:a.func,selectedIndex:a.number};var Ir=function(e,t,r,o){var a,n,i,l,c=Math.floor(r.current.scrollWidth*(e/o)),u="rtl"===t?-1*c:c;a=r.current,n=u,i=!0,a.scrollTo((br(l={},i?"left":"top",n),br(l,"behavior","smooth"),l))},Nr=function(r){var o=r.children,a=r.isArrow,n=r.interval,i=r.isInfinite,l=r.pauseOnHover,u=r.perView,d=r.slideIndicator,s=e.useState(0),f=g(s,2),m=f[0],h=f[1],p=e.useState(!1),v=g(p,2),_=v[0],b=v[1],y=t.useSelector((function(e){return Ue(e,["qt","config","language","direction"],"ltr")})),w=o?o.length:0,E=e.useRef(null),x=o.length-(u-1),k=o.slice(0,x);e.useEffect((function(){if(i&&!_){var e=setInterval((function(){T()}),n);return function(){clearInterval(e)}}}),[i,_]);var T=function(){h((function(e){var t=e===w-u?0:e+1;return Ir(t,y,E,w),t}))},z=function(){l&&b(!_)};return c.default.createElement("div",{className:"scroll-snap-container"},c.default.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:z,onMouseLeave:z},c.default.createElement("div",{ref:E,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},o),a&&c.default.createElement(zr,{noOfItems:w,perView:u,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=m-1;h(t),Ir(t,y,E,w)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),m<w){var t=m+1;h(t),Ir(t,y,E,w)}},selectedIndex:m,languageDirection:y})),o.length>u&&"none"!==d&&c.default.createElement(Lr,{indicatorItems:k,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),h(t),Ir(t,y,E,w)},selectedIndex:m,indicatorType:d}))};Nr.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},Nr.propTypes={children:a.array.isRequired,isArrow:a.bool,isInfinite:a.bool,interval:a.number,pauseOnHover:a.bool,perView:a.number,slideIndicator:a.string};var Sr=function(o){var a=o.collection,n=o.config,i=void 0===n?{}:n,l=i.collectionNameBorderColor,u=void 0===l?"":l,d=i.borderColor,s=void 0===d?"":d,f=i.theme,m=void 0===f?"":f,h=i.border,p=void 0===h?"":h,v=i.collectionNameTemplate,_=void 0===v?"":v,b=i.numberOfStoriesToShow,y=void 0===b?0:b,w=i.footerButton,E=void 0===w?"":w,x=i.footerSlotConfig,k=void 0===x?{}:x,T=i.navigationArrows,z=void 0===T||T,C=i.slideIndicator,L=void 0===C?"none":C,I=i.isInfinite,N=void 0!==I&&I,S=k.footerSlot,j=r.collectionToStories(a);if(j.length<1)return null;var O=t.useDispatch(),A=t.useSelector((function(e){return Ue(e,["qt","config"],{})})),R=At(a,A),P=e.useState(1),H=g(P,2),M=H[0],B=H[1],F=function(e){return e?parseInt(e):1}(y),D=Nt(m),q=S?S():null;e.useEffect((function(){var e=Ue(global,["innerWidth"],480);B(e>992?4:e>764?3:1)}),[]);var W=function(){return j.slice(0,F).map((function(e,t){return c.default.createElement(hr,{story:e,theme:m,border:p,key:t,config:i},c.default.createElement(dr,{story:e,aspectRatio:[[16,9]]}),c.default.createElement(vr,{story:e,border:p,borderColor:s,config:i}))}))};return c.default.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"four-story-slider",style:{backgroundColor:m,color:D}},c.default.createElement("div",{className:"four-story-slider-m_four-story-slider-wrapper__1WZcd"},c.default.createElement(Ht,{collection:a,collectionNameTemplate:_,collectionNameBorderColor:u}),j.length>4?c.default.createElement(Nr,{isArrow:z,perView:M,slideIndicator:L,isInfinite:N},W()):c.default.createElement("div",{className:"four-story-slider-m_story-grid__NcDMl"},W()),c.default.createElement(Er,{collection:a,template:E,config:i,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(O,R)},qtConfig:A}),q))};Sr.propTypes={collection:d.default.object.isRequired,config:d.default.shape({borderColor:d.default.string,theme:d.default.string,border:d.default.string,footerButton:d.default.string,collectionNameTemplate:d.default.string,autoplaySpeed:d.default.number,numberOfStoriesToShow:d.default.number,collectionNameBorderColor:d.default.string})},Sr.defaultProps={theme:"#ffffff",slotConfig:"story",border:""};var jr,Or=(jr=Sr,function(e){return c.default.createElement(Ve.Provider,{value:e.config},c.default.createElement(jr,e))});module.exports=Or;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|