@quintype/arrow 3.13.1-subsequentload.0 → 3.13.1-subsequentloadcount.0
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/AlternateCollectionFilter/styles.arrow.css +1 -0
- package/AstrologyCollection/styles.arrow.css +1 -0
- package/AuthorsList/styles.arrow.css +1 -0
- package/FourColFiveStories/styles.arrow.css +1 -0
- package/FourColPortraitStories/styles.arrow.css +1 -0
- package/FourColSixteenStories/styles.arrow.css +1 -0
- package/FourTabbedBigStorySlider/styles.arrow.css +1 -0
- package/ListComponent/styles.arrow.css +1 -0
- package/ListicleStoryTemplate/styles.arrow.css +1 -0
- package/Listicles/styles.arrow.css +1 -0
- package/LiveBlogStoryTemplate/styles.arrow.css +1 -0
- package/MagazineEditions/styles.arrow.css +1 -0
- package/MagazineHeaderCard/styles.arrow.css +1 -0
- package/MagazineWidget/styles.arrow.css +1 -0
- package/OpinionCollection/styles.arrow.css +1 -0
- package/PhotoStoryTemplate/styles.arrow.css +1 -0
- package/README.md +194 -0
- package/SixColSixStories/styles.arrow.css +1 -0
- package/TextStoryTemplate/styles.arrow.css +1 -0
- package/ThreeColFlexStories/styles.arrow.css +1 -0
- package/ThreeColTwelveStories/styles.arrow.css +1 -0
- package/TwoColFourStoryHighlight/styles.arrow.css +1 -0
- package/TwoColSixStories/styles.arrow.css +1 -0
- package/TwoColTenStoriesSidebar/styles.arrow.css +1 -0
- package/app.scss +276 -0
- package/cjs/index.js +9 -0
- package/esm/index.js +9 -0
- package/package.json +1 -1
- package/AlsoRead/index.js +0 -1
- package/AsideCollection/index.js +0 -1
- package/Attachment/index.js +0 -1
- package/Author/index.js +0 -1
- package/AuthorIntroductionCard/index.js +0 -1
- package/AuthorWithTime/index.js +0 -1
- package/BigFact/index.js +0 -1
- package/BlockQuote/index.js +0 -1
- package/Blurb/index.js +0 -1
- package/CollectionFilter/index.js +0 -1
- package/CollectionName/index.js +0 -1
- package/ElevenStories/index.js +0 -1
- package/FourColGrid/index.js +0 -1
- package/FourColTwelveStories/index.js +0 -1
- package/FourStorySlider/index.js +0 -1
- package/FourStorySliderPortrait/index.js +0 -1
- package/FullScreenSlider/index.js +0 -1
- package/HalfScreenSlider/index.js +0 -1
- package/Headline/index.js +0 -1
- package/HeroImage/index.js +0 -1
- package/Image/index.js +0 -1
- package/ImageGallery/index.js +0 -1
- package/ImageSlideshow/index.js +0 -1
- package/KeyEvents/index.js +0 -1
- package/LoadmoreButton/index.js +0 -1
- package/OneColStoryList/index.js +0 -1
- package/PageIntroductionCard/index.js +0 -1
- package/QuestionAnswer/index.js +0 -1
- package/Quote/index.js +0 -1
- package/Reference/index.js +0 -1
- package/ScrollSnap/index.js +0 -1
- package/SectionTag/index.js +0 -1
- package/SocialShareTemplate/index.js +0 -1
- package/StoryCard/index.js +0 -1
- package/StoryCollection/index.js +0 -1
- package/StoryElement/index.js +0 -1
- package/StoryElementCard/index.js +0 -1
- package/StorycardContent/index.js +0 -1
- package/Subheadline/index.js +0 -1
- package/Summary/index.js +0 -1
- package/TagIntroductionCard/index.js +0 -1
- package/Text/index.js +0 -1
- package/ThreeColFourteenStories/index.js +0 -1
- package/ThreeColGrid/index.js +0 -1
- package/ThreeColSevenStory/index.js +0 -1
- package/ThreeColSixStories/index.js +0 -1
- package/TimeStamp/index.js +0 -1
- package/TwoColFourStories/index.js +0 -1
- package/TwoColSevenStories/index.js +0 -1
- package/TwoColThreeStories/index.js +0 -1
- package/Video/index.js +0 -1
- package/VideoStoryTemplate/index.js +0 -1
package/ThreeColGrid/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r,useState as o,useEffect as n,useRef as a,Fragment as i}from"react";import l from"lodash.get";import c,{PropTypes as s}from"prop-types";import{Link as u,ResponsiveImage as d,ResponsiveHeroImage as m,LinkBase as h,collectionToStories as f}from"@quintype/components";import p from"react-timeago";import{utcToZonedTime as g,format as v}from"date-fns-tz";import{connect as b,useSelector as y,useDispatch as _}from"react-redux";import w from"react-dom";var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function L(e){var t={exports:{}};return e(t,t.exports),t.exports}var T=L((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})),z=x(L((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,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(" "):""}}))),k=t(),C=function(){return r(k)};function j(e){return j="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},j(e)}L((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 C(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===f){if("throw"===n)throw a;return N()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=T(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,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?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,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",f="completed",p={};function g(){}function v(){}function b(){}var y={};c(y,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(j([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=b.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function L(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 T(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,T(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;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,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function j(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:N}}function N(){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}},x(L.prototype),c(L.prototype,i,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new L(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(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=j,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(k),!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,p):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),p},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),k(r),p}},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;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:j(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var N=Array.isArray,S="object"==typeof E&&E&&E.Object===Object&&E,O="object"==typeof self&&self&&self.Object===Object&&self,I=S||O||Function("return this")(),M=I.Symbol,A=Object.prototype,R=A.hasOwnProperty,H=A.toString,P=M?M.toStringTag:void 0;var B=function(e){var t=R.call(e,P),r=e[P];try{e[P]=void 0;var o=!0}catch(e){}var n=H.call(e);return o&&(t?e[P]=r:delete e[P]),n},F=Object.prototype.toString;var D=function(e){return F.call(e)},W=M?M.toStringTag:void 0;var q=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?B(e):D(e)};var G=function(e){return null!=e&&"object"==typeof e};var U=function(e){return"symbol"==typeof e||G(e)&&"[object Symbol]"==q(e)},Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;var J=function(e,t){if(N(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!U(e))||(V.test(e)||!Z.test(e)||null!=t&&e in Object(t))};var Y=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var $,K=function(e){if(!Y(e))return!1;var t=q(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Q=I["__core-js_shared__"],X=($=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"";var ee=function(e){return!!X&&X in e},te=Function.prototype.toString;var re=function(e){if(null!=e){try{return te.call(e)}catch(e){}try{return e+""}catch(e){}}return""},oe=/^\[object .+?Constructor\]$/,ne=Function.prototype,ae=Object.prototype,ie=ne.toString,le=ae.hasOwnProperty,ce=RegExp("^"+ie.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var se=function(e){return!(!Y(e)||ee(e))&&(K(e)?ce:oe).test(re(e))};var ue=function(e,t){return null==e?void 0:e[t]};var de=function(e,t){var r=ue(e,t);return se(r)?r:void 0},me=de(Object,"create");var he=function(){this.__data__=me?me(null):{},this.size=0};var fe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},pe=Object.prototype.hasOwnProperty;var ge=function(e){var t=this.__data__;if(me){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return pe.call(t,e)?t[e]:void 0},ve=Object.prototype.hasOwnProperty;var be=function(e){var t=this.__data__;return me?void 0!==t[e]:ve.call(t,e)};var ye=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=me&&void 0===t?"__lodash_hash_undefined__":t,this};function _e(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])}}_e.prototype.clear=he,_e.prototype.delete=fe,_e.prototype.get=ge,_e.prototype.has=be,_e.prototype.set=ye;var we=_e;var Ee=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var Le=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},Te=Array.prototype.splice;var ze=function(e){var t=this.__data__,r=Le(t,e);return!(r<0)&&(r==t.length-1?t.pop():Te.call(t,r,1),--this.size,!0)};var ke=function(e){var t=this.__data__,r=Le(t,e);return r<0?void 0:t[r][1]};var Ce=function(e){return Le(this.__data__,e)>-1};var je=function(e,t){var r=this.__data__,o=Le(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ne(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])}}Ne.prototype.clear=Ee,Ne.prototype.delete=ze,Ne.prototype.get=ke,Ne.prototype.has=Ce,Ne.prototype.set=je;var Se=Ne,Oe=de(I,"Map");var Ie=function(){this.size=0,this.__data__={hash:new we,map:new(Oe||Se),string:new we}};var Me=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ae=function(e,t){var r=e.__data__;return Me(t)?r["string"==typeof t?"string":"hash"]:r.map};var Re=function(e){var t=Ae(this,e).delete(e);return this.size-=t?1:0,t};var He=function(e){return Ae(this,e).get(e)};var Pe=function(e){return Ae(this,e).has(e)};var Be=function(e,t){var r=Ae(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Fe(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])}}Fe.prototype.clear=Ie,Fe.prototype.delete=Re,Fe.prototype.get=He,Fe.prototype.has=Pe,Fe.prototype.set=Be;var De=Fe;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||De),r}We.Cache=De;var qe=We;var Ge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ue=/\\(\\)?/g,Ze=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(Ge,(function(e,r,o,n){t.push(o?n.replace(Ue,"$1"):r||e)})),t}));var Ve=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},Je=M?M.prototype:void 0,Ye=Je?Je.toString:void 0;var $e=function e(t){if("string"==typeof t)return t;if(N(t))return Ve(t,e)+"";if(U(t))return Ye?Ye.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ke=function(e){return null==e?"":$e(e)};var Qe=function(e,t){return N(e)?e:J(e,t)?[e]:Ze(Ke(e))};var Xe=function(e){if("string"==typeof e||U(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var et=function(e,t){for(var r=0,o=(t=Qe(t,e)).length;null!=e&&r<o;)e=e[Xe(t[r++])];return r&&r==o?e:void 0};var tt=function(e,t,r){var o=null==e?void 0:et(e,t);return void 0===o?r:o};var rt=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 ot=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"}),nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,at=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var it=function(e){return(e=Ke(e))&&e.replace(nt,ot).replace(at,"")},lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ct=function(e){return e.match(lt)||[]},st=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ut=function(e){return st.test(e)},dt="\\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",mt="["+dt+"]",ht="\\d+",ft="[\\u2700-\\u27bf]",pt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+dt+ht+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",vt="(?:\\ud83c[\\udde6-\\uddff]){2}",bt="[\\ud800-\\udbff][\\udc00-\\udfff]",yt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",_t="(?:"+pt+"|"+gt+")",wt="(?:"+yt+"|"+gt+")",Et="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",xt="[\\ufe0e\\ufe0f]?"+Et+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",vt,bt].join("|")+")[\\ufe0e\\ufe0f]?"+Et+")*"),Lt="(?:"+[ft,vt,bt].join("|")+")"+xt,Tt=RegExp([yt+"?"+pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,yt,"$"].join("|")+")",wt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,yt+_t,"$"].join("|")+")",yt+"?"+_t+"+(?:['’](?:d|ll|m|re|s|t|ve))?",yt+"+(?:['’](?: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_])",ht,Lt].join("|"),"g");var zt=function(e){return e.match(Tt)||[]};var kt=function(e,t,r){return e=Ke(e),void 0===(t=r?void 0:t)?ut(e)?zt(e):ct(e):e.match(t)||[]},Ct=RegExp("['’]","g");var jt=function(e){return function(t){return rt(kt(it(t).replace(Ct,"")),e,"")}},Nt=jt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),St=Nt,Ot=jt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),It=Ot;var Mt=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),b=p[g.getMonth()],y=b;u&&(y=St(b));var _,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,L=n.direction,T=void 0===L?"ltr":L,z=Rt(o,f),k=z;if(x&&(y=tt(x,[It(b)])||b),E){var C=z.includes("am"),j=E.am,N=void 0===j?"am":j,S=E.pm,O=void 0===S?"pm":S;k=(C?z.replace("am",N):z.replace("pm",O))||z}return"rtl"===T?(_=i?"".concat(k):"","".concat(v," ").concat(y,", ").concat(w," ").concat(_," ")):m?"".concat(y," ").concat(v,", ").concat(w):c?"".concat(k,", ").concat(v," ").concat(y," ").concat(w):(_=i?", ".concat(k):"","".concat(v," ").concat(y,", ").concat(w).concat(_))};function At(e,t,r,o,n){var a,i=tt(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Mt(e,t,r,o,n):e>1?(a=tt(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=tt(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var Ht=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},Pt=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},Bt={mobile:767,tablet:1024},Ft=function(e){var t=tt(Bt,e);return!!t&&tt(global,"document.documentElement.clientWidth")<=t},Dt=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:Pt(e),o=Ht(r)<155?"light":"dark";return o},Wt=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;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=tt(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/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?tt(n,["reference-url"],""):""}c.shape({"sketches-host":c.string,"cdn-name":c.string,"cdn-image":c.string}),c.shape({headline:c.string,"last-published-at":c.number,subheadline:c.string});var Gt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===tt(e,["story-template"])?tt(e,["metadata","reference-url"],""):e.url||t},Ut=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,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Wt(e,t):"/"},Zt=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"}))))))};Zt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Vt=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)"})))))};Vt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Jt=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"}))))))};Jt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Yt=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 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.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"}))))};Yt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var $t=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(Zt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Jt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Vt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Yt,{width:r,height:o,color:n,positionTop:i})}};function Kt(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}$t.propTypes={width:c.string,height:c.string,color:c.string,iconType:c.string,positionTop:c.string};var Qt={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Xt=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,c=C()||{},s=a.iconColor,d=void 0===s?"#F7B500":s,m=a.iconStyle,h=void 0===m?"star":m,f=a.enablePremiumStoryIcon,p=void 0!==f&&f,g=a.showLiveIcon,v=void 0!==g&&g,b=l(r,["alternative","home","default","headline"]),y=p&&"subscription"===l(r,["access"]),_=b||r.headline,w="h"+o,E=Dt(c.theme),x=y?"wrapper":"",L="24px",T=v&&"live-blog"===r["story-template"]&&!l(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+z(x,Qt)},y&&e.createElement($t,{width:L,height:L,color:d,iconType:h,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(u,{href:Gt(r,"/".concat(r.slug)),externalLink:qt(r),"aria-label":"headline"},e.createElement(w,{className:z("headline ".concat(E),Qt)},T&&e.createElement(Kt,null),_)):e.createElement(w,{className:z("headline ".concat(E),Qt)},T&&e.createElement(Kt,null),_))};Xt.propTypes={story:c.object.isRequired,headerLevel:c.string,premiumStoryIconConfig:c.shape({iconColor:c.string,iconType:c.string,enablePremiumStoryIcon:c.bool}),isLink:c.bool},Xt.defaultProps={headerLevel:"6",isLink:!0};var er={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},tr=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,c=void 0===i?"":i,s=t.forceShowAtom,u=t.showFullContent,d=C()||{};if(!(s||l(d,["showSubheadline"],!0)))return null;var m=Dt(d.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+z("subheadline ".concat(m),er)},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))};tr.propTypes={story:c.object.isRequired,lineClamp:c.number,truncateChars:c.number,clazzName:c.string,forceShowAtom:c.bool,showFullContent:c.bool},tr.defaultProps={forceShowAtom:!1,showFullContent:!1};var rr={"./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"}},or=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=C()||{},c=l(a,["showTime"],l(i,["showTime"],!0)),s=r["last-published-at"]||r["first-published-at"],u=o?"bottom-fix":"",d=Dt(i.theme);return e.createElement(e.Fragment,null,c&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+z("time ".concat(d," ").concat(u),rr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&g(t,a),l=i&&v(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),c=Mt("","","",t,o);return e.createElement("time",{dateTime:l},c)}return e.createElement(p,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(s,At,a))))};or.propTypes={story:c.object,isBottom:c.bool,config:c.object};var nr={"./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"}},ar=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,c=t.config,s=void 0===c?{}:c,m=C()||{},h=l(m,["showAuthor"],!0),f=l(r,["authors","0"],""),p=f["avatar-url"],g=f["avatar-s3-key"],v=f.name,b=f.slug,y=n?"bottom-fix":"",_=Dt(m.theme),w=l(s,["mountAt"],""),E=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+z("prefix ".concat(_),nr)},i):!o&&function(t){return p||g?e.createElement("div",{"data-test-id":"author-image",className:z("author-image ".concat(t,"-image"),nr)},e.createElement("figure",null,g?e.createElement(d,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):e.createElement("img",{src:p}))):null}(t)};return e.createElement(e.Fragment,null,h&&e.createElement(u,{href:"".concat(w,"/author/")+b,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+z("author ".concat(y),nr)},E("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+z("author-name ".concat(_),nr)},v||r["author-name"]),!i&&E("rtl")))};var ir=b((function(e){return{config:l(e,["qt","config"],{})}}))(ar);ar.propTypes={story:c.object.isRequired,hideAuthorImage:c.bool,isBottom:c.bool,prefix:c.string,config:c.object},ar.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var lr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},cr=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:z(l,lr)},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)"})))};cr.propTypes={color:c.string,width:c.string,height:c.string};var sr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},ur=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:z(l,sr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};ur.propTypes={color:c.string,width:c.string,height:c.string};var dr={"./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"}},mr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,c=C()||{},s=l(c,["showReadTime"])||l(n,["showReadTime"],!0),u=l(r,["read-time"],0),d=i?"light":Dt(c.theme);if(!s||!u)return null;var m=l(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+z("read-time-wrapper ".concat(d),dr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(cr,{color:d})),e.createElement("span",null,u," ",m)))};mr.propTypes={story:c.shape({"read-time":c.number}),opts:c.shape({showReadTime:c.bool}),isLightTheme:c.bool};var hr={"./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"}},fr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,c=t.config,s=void 0===c?{}:c,u=t.isLightTheme,d=C()||{},m=l(s,["showAuthor"],l(d,["showAuthor"],!0)),h=l(s,["showTime"],l(d,["showTime"],!0)),f=l(d,["showReadTime"],!0),p=n?"bottom-fix":"",g="dot"===o?"dot":"dash",v=u?"light":Dt(d.theme),b=function(){return h?e.createElement(e.Fragment,null,m&&e.createElement("span",{className:"arr-separator "+z("".concat(g),hr)},"divider"===o?e.createElement(ur,{color:v}):e.createElement(cr,{color:v})),e.createElement(or,{story:r,config:s}),f&&e.createElement(mr,{story:r,opts:s,isLightTheme:u})):null};return e.createElement("div",{className:"arr--author-time "+z("author-time-wrapper ".concat(p),hr)},m?e.createElement(e.Fragment,null,e.createElement(ir,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),b()):b())};function pr(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 gr(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 pr(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)?pr(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.")}()}fr.propTypes={story:c.object,separator:c.oneOf(["dot","divider"]),hideAuthorImage:c.bool,isBottom:c.bool,prefix:c.string,config:c.object,isLightTheme:c.bool},fr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var vr=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"}))))};vr.propTypes={width:c.object,height:c.object,iconColor:c.object};var br=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(vr,null)))},yr=function(t){var r=t.slug;return r?e.createElement(u,{href:r,"aria-label":"image-fallback"},br()):br()};yr.propTypes={slug:c.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"})))},wr=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(u,{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};wr.propTypes={hyperLink:c.string};var Er={"./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"}},xr=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,c=t.isHorizontal,s=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,h=t.defaultFallback,f=t.isStoryPageImage,p=t.config,g=(C()||{}).fallbackImageUrl,v=void 0===g?"":g,b=p.StoryTemplateIcon,_=void 0===b?function(){return null}:b,w=y((function(e){return l(e,["qt","config","showPlaceholder"])}))?"placeholder":"",E=o?"":"with-padding",x="hero-image";c?x="right-padding":d&&(x="left-padding");var L=s?"right-padding-mob":"",T=function(e){var t=gr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},k=gr(n,2),j=k[0],N=k[1],S=void 0===N?j:N,O=Ft("mobile"),I=O?j:S,M=T(O?j:S),A=l(r,["hero-image-s3-key"])||l(r,["alternative","home","default","hero-image","hero-image-s3-key"]),R=l(r,["hero-image-hyperlink"],""),H=function(){return A?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:M+"%"},className:"arr--responsive-hero-image "+z("image ".concat(w),Er)},e.createElement(_,{storyTemplate:r["story-template"]}),e.createElement(m,{story:r,aspectRatio:I,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})),f&&R&&e.createElement(wr,{hyperLink:R})):v&&!f?e.createElement("figure",{style:{paddingTop:M+"%"},className:"arr--responsive-hero-image "+z("image ".concat(w),Er)},e.createElement("img",{className:"qt-image","data-src":"".concat(v),alt:"image-fallback"})):e.createElement(e.Fragment,null,h?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:M+"%"},className:"arr--fallback-hero-image "+z("image ".concat(w),Er)},e.createElement(_,{storyTemplate:r["story-template"]}),e.createElement(yr,null)):null)};return r&&(f?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+z("".concat(x," ").concat(E," ").concat(L),Er)},H()):e.createElement(u,{"data-test-id":"arr--hero-image",href:Gt(r,"/".concat(r.slug)),externalLink:qt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+z("".concat(x," ").concat(E," ").concat(L),Er)},H()))};xr.propTypes={story:c.object.isRequired,FullBleed:c.bool,defaultWidth:c.number,widths:c.array,aspectRatio:c.array,isHorizontal:c.bool,isHorizontalMobile:c.bool,defaultFallback:c.bool,isHorizontalWithImageLast:c.bool,isStoryPageImage:c.bool,config:c.object},xr.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:{}};var Lr={"./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"}},Tr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,c=t.isLightTheme,s=C()||{},d=l(s,["showSection"],!0),m=l(s,["sectionTagTemplate"]),h=l(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],p=h?h["section-url"]:"/",g="solid"===n||"solid"===m?i:s.theme,v=c?"light":Dt(g),b=Pt(i),y=f.includes(n)?"section section-".concat(n):"section";return m&&(y=f.includes(m)?"section section-".concat(m):"section"),d?e.createElement(u,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:y.includes("section-solid")?b:""},className:"section-tag arrow-component "+z("".concat(v," ").concat(y),Lr)},y.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:b}}),h["display-name"]||h.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":b)}}))):null};Tr.propTypes={story:c.object.isRequired,template:c.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:c.string,solidBorderColor:c.string,isLightTheme:c.bool},Tr.defaultProps={template:"",isLightTheme:!1};var zr={"./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"}},kr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,b=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===j(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var y=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",_="default-card";a?_="horizontal-card":b&&(_="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",x=Dt(u),L=m?"horizontal-mob":"",T=e.createElement(Cr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:b});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:x},className:"arr--story-card "+z("card ".concat(_," ").concat(y," ").concat(x," ").concat(w," ").concat(E," ").concat(L),zr)},n||T)},Cr=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,f=t.config,p=s?"center-align":"",g=Pt(u),v=f.localizationConfig,b=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(xr,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(xr,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(xr,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+z("content ".concat(p),zr)},e.createElement(Tr,{story:r,borderColor:g}),e.createElement(Xt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(fr,{config:b,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(tr,{story:r})))};Cr.propTypes={story:c.object.isRequired,border:c.oneOfType([c.string]),isBottom:c.bool,isHorizontal:c.bool,aspectRatio:c.oneOfType([c.array]),isHorizontalMobile:c.bool,centerAlign:c.bool,headerLevel:c.string,borderColor:c.string,hideAuthorImage:c.bool,prefix:c.string,config:c.object,isHorizontalWithImageLast:c.bool},kr.propTypes={story:c.object.isRequired,children:c.node,isHorizontal:c.bool,border:c.oneOfType([c.string]),useImageAsBackground:c.bool,bgImgContentOverlap:c.bool,aspectRatio:c.oneOfType([c.array]),theme:c.string,isHorizontalMobile:c.bool,centerAlign:c.bool,headerLevel:c.string,borderColor:c.string,hideAuthorImage:c.bool,prefix:c.string,config:c.object,isHorizontalWithImageLast:c.bool},kr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var jr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},Nr=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=Dt(n),d=Pt(c),m=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+z("wrapper ".concat(m," ").concat(h),jr)},o||e.createElement(Sr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},Sr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Pt(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(Tr,{story:r,borderColor:l}),e.createElement(Xt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(fr,{config:s,story:r}))};Sr.propTypes={story:c.object.isRequired,border:c.string,theme:c.string,isHorizontalMobile:c.bool,headerLevel:c.string,borderColor:c.string,config:c.object},Nr.propTypes={story:c.object.isRequired,children:c.node,theme:c.string,border:c.string,isHorizontalMobile:c.bool,headerLevel:c.string,borderColor:c.string,config:c.object};var Or={"./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"}},Ir=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,d=void 0===s?"":s,m=t.navigate,h=void 0===m||m,f=C()||{},p=l(f,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",v=h&&n&&Wt(n,a)||"",b=d||n.name||"",y=Dt(f.theme),_="h"+c,w=Pt(o),E=g.includes("collection-borderBottomFull")?"4px solid ".concat(w):"",x=Ft("mobile");return e.createElement(e.Fragment,null,p&&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)+" ":"")+z("collection ".concat(y," ").concat(g),Or)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:w,fontSize:function(){if(x)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"}}()}}),v&&!v.includes(void 0)?e.createElement(u,{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:"4px solid ".concat(w)}}):""))};Ir.propTypes={collectionNameBorderColor:s.string,collection:s.object,config:s.object,collectionNameTemplate:s.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:s.string,customCollectionName:s.string,navigate:s.bool},Ir.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Mr=b((function(e){return{config:l(e,["qt","config"],{})}}))(Ir);function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rr={"./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 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){Ar(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 Br=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.showButton,d=void 0===u||u,m=o.buttonText,f=void 0===m?"Read More":m,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,b=void 0===v?"":v;if(!d)return null;var y=Dt(g),_=b?"/".concat(b):Ut(n,Pr(Pr({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+z("button ".concat(y," default"),Rr)},f):e.createElement(h,{href:_,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+z("button ".concat(y," default"),Rr)},f))};Br.propTypes={collection:c.object,template:c.string,config:c.object,onClick:c.func,navigate:c.func,qtConfig:c.object};var Fr="undefined"!=typeof window,Dr=function(){return Promise.resolve(Fr&&!(void 0!==window.IntersectionObserver)&&import("intersection-observer"))},Wr={root:null,rootMargin:"200px 0px 0px 0px"},qr=function(e,t){e.filter((function(e){return e.isIntersecting})).forEach((function(e){e.target._onIntersect(t)}))},Gr=function(e){var t=e.ref,r=gr(o(!1),2),a=r[0],i=r[1];return n((function(){var e=t.current;if(e)return Dr().then((function(e){if(Fr)return new window.IntersectionObserver(qr,Wr)})).then((function(t){return t.observe(e)})),e._onIntersect=function(t){i(!0),t.unobserve(e)},function(){return e._isSubscribed=!1}}),[t]),a},Ur={__html:""},Zr="undefined"==typeof window,Vr=function(t){var r=t.children,o=a(null),i=Gr({ref:o});return n((function(){var e=o.current;if(i){var t=e.hasChildNodes()?"hydrate":"render";w[t](r,e)}}),[r,i]),Zr?e.createElement("div",{ref:o},r):e.createElement("div",{ref:o,suppressHydrationWarning:!0,dangerouslySetInnerHTML:Ur})};Vr.propTypes={children:c.element};var Jr=function(t){var r=t.collection,o=t.componentName,n=t.offset,a=t.limit;return console.log("###limit",a),e.createElement("div",{id:"ELM-".concat(r.id),"data-collection-slug":r.slug,"data-component-name":o,"data-collection-offset":n,"data-collection-limit":a})};Jr.propTypes={collection:c.shape({id:c.string,slug:c.string}),componentName:c.string,offset:c.number,limit:c.number};var Yr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=t.getMoreStories,c=t.isLoadMoreVisible,s=t.isLoading,u=t.isolatedLoadMore,d=n.collectionNameBorderColor,m=void 0===d?"":d,h=n.borderColor,p=void 0===h?"":h,g=n.theme,v=void 0===g?"":g,b=n.slotConfig,w=void 0===b?[]:b,E=n.border,x=void 0===E?"":E,L=n.collectionNameTemplate,T=void 0===L?"":L,z=n.footerSlotConfig,k=void 0===z?{}:z,C=n.footerButton,j=void 0===C?"":C,N=f(r);if(!N.length)return null;var S=Dt(v),O=k.footerSlot,I=O?O():null,M=l(w,[0],{}),A=M.type,R=void 0===A?"":A,H=M.component,P="ad"===R||"widget"===R?function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(R,H):null,B=_(),F=y((function(e){return l(e,["qt","config"],{})})),D=function(t){return e.createElement("div",{className:"three-col-m_cards__2HyyK"},e.createElement(kr,{story:t,border:x,theme:v,isHorizontalMobile:!0,config:n},e.createElement(xr,{aspectRatio:[[16,9]],story:t,isHorizontalMobile:!0}),e.createElement(Nr,{theme:v,border:x,story:t,isHorizontalMobile:!0,borderColor:p,config:n})))};return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"three-col-grid",style:{backgroundColor:v,color:S}},e.createElement("div",{className:"three-col-m_three-col-grid__y7rZK"},e.createElement(Mr,{collection:r,collectionNameTemplate:T,collectionNameBorderColor:m}),e.createElement("div",{className:"three-col-m_wrapper__20m5m"},N.slice(0,2).map((function(t,r){return e.createElement(i,{key:"story-3col1-".concat(r,"-").concat(l(t,["id"],"0"))},D(t))})),N.length<2&&e.createElement("div",null),P,N.slice(2).map((function(t,r){return e.createElement(i,{key:"story-3col1-".concat(r,"-").concat(l(t,["id"],"0"))},D(t))}))),function(t){if(!c)return null;if(u)return e.createElement(Jr,{collection:r,componentName:"ThreeColGrid",offset:N.length,limit:3});var o=Ut(r,F);return e.createElement(Vr,null,e.createElement(Br,{config:n,collection:r,template:j,onClick:function(){return function(e){var t=e.isLoading,r=e.storyItems,o=e.getMoreStories;t||o(r.length,3)}(t)},navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(B,o)},qtConfig:F}))}({isLoading:s,storyItems:N,getMoreStories:a}),I))};Yr.propTypes={collection:c.object.isRequired,config:c.shape({theme:c.string,border:c.bool,slotConfig:c.array,footerButton:c.string,collectionNameTemplate:c.string,collectionNameBorderColor:c.string}),getMoreStories:c.func,isLoadMoreVisible:c.bool,isLoading:c.bool,isolatedLoadMore:c.bool},Yr.defaultProps={getMoreStories:function(){},isLoadMoreVisible:!0,isLoading:!1};var $r,Kr=($r=Yr,function(t){return e.createElement(k.Provider,{value:t.config},e.createElement($r,t))});export{Kr as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r}from"react";import o from"lodash.get";import{Link as n,ResponsiveImage as a,ResponsiveHeroImage as i,LinkBase as l,collectionToStories as c}from"@quintype/components";import s,{PropTypes as u}from"prop-types";import m from"react-timeago";import{utcToZonedTime as d,format as h}from"date-fns-tz";import{connect as f,useSelector as p,useDispatch as g}from"react-redux";var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y(e){var t={exports:{}};return e(t,t.exports),t.exports}var b=y((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})),w=_(y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=b)&&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(" "):""}})));function E(e){return E="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(e)}y((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 C(o||[]);return a._invoke=function(e,t,r){var o=m;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return j()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=z(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=f,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?f:d,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,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 m="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=_.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,m=s.value;return m&&"object"==typeof m&&o.call(m,"__await")?t.resolve(m.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(m).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 z(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,z(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;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,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function N(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:j}}function j(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,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,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(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=N,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(k),!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,p):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),p},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),k(r),p}},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;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:N(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var x=Array.isArray,T="object"==typeof v&&v&&v.Object===Object&&v,z="object"==typeof self&&self&&self.Object===Object&&self,L=T||z||Function("return this")(),k=L.Symbol,C=Object.prototype,N=C.hasOwnProperty,j=C.toString,S=k?k.toStringTag:void 0;var O=function(e){var t=N.call(e,S),r=e[S];try{e[S]=void 0;var o=!0}catch(e){}var n=j.call(e);return o&&(t?e[S]=r:delete e[S]),n},A=Object.prototype.toString;var I=function(e){return A.call(e)},R=k?k.toStringTag:void 0;var M=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":R&&R in Object(e)?O(e):I(e)};var H=function(e){return null!=e&&"object"==typeof e};var B=function(e){return"symbol"==typeof e||H(e)&&"[object Symbol]"==M(e)},P=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;var D=function(e,t){if(x(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!B(e))||(F.test(e)||!P.test(e)||null!=t&&e in Object(t))};var W=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var q,U=function(e){if(!W(e))return!1;var t=M(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=L["__core-js_shared__"],Z=(q=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"";var V=function(e){return!!Z&&Z in e},J=Function.prototype.toString;var Y=function(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""},$=/^\[object .+?Constructor\]$/,K=Function.prototype,Q=Object.prototype,X=K.toString,ee=Q.hasOwnProperty,te=RegExp("^"+X.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var re=function(e){return!(!W(e)||V(e))&&(U(e)?te:$).test(Y(e))};var oe=function(e,t){return null==e?void 0:e[t]};var ne=function(e,t){var r=oe(e,t);return re(r)?r:void 0},ae=ne(Object,"create");var ie=function(){this.__data__=ae?ae(null):{},this.size=0};var le=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ce=Object.prototype.hasOwnProperty;var se=function(e){var t=this.__data__;if(ae){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ce.call(t,e)?t[e]:void 0},ue=Object.prototype.hasOwnProperty;var me=function(e){var t=this.__data__;return ae?void 0!==t[e]:ue.call(t,e)};var de=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ae&&void 0===t?"__lodash_hash_undefined__":t,this};function he(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])}}he.prototype.clear=ie,he.prototype.delete=le,he.prototype.get=se,he.prototype.has=me,he.prototype.set=de;var fe=he;var pe=function(){this.__data__=[],this.size=0};var ge=function(e,t){return e===t||e!=e&&t!=t};var ve=function(e,t){for(var r=e.length;r--;)if(ge(e[r][0],t))return r;return-1},_e=Array.prototype.splice;var ye=function(e){var t=this.__data__,r=ve(t,e);return!(r<0)&&(r==t.length-1?t.pop():_e.call(t,r,1),--this.size,!0)};var be=function(e){var t=this.__data__,r=ve(t,e);return r<0?void 0:t[r][1]};var we=function(e){return ve(this.__data__,e)>-1};var Ee=function(e,t){var r=this.__data__,o=ve(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function xe(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])}}xe.prototype.clear=pe,xe.prototype.delete=ye,xe.prototype.get=be,xe.prototype.has=we,xe.prototype.set=Ee;var Te=xe,ze=ne(L,"Map");var Le=function(){this.size=0,this.__data__={hash:new fe,map:new(ze||Te),string:new fe}};var ke=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ce=function(e,t){var r=e.__data__;return ke(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ne=function(e){var t=Ce(this,e).delete(e);return this.size-=t?1:0,t};var je=function(e){return Ce(this,e).get(e)};var Se=function(e){return Ce(this,e).has(e)};var Oe=function(e,t){var r=Ce(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,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=Le,Ae.prototype.delete=Ne,Ae.prototype.get=je,Ae.prototype.has=Se,Ae.prototype.set=Oe;var Ie=Ae;function Re(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(Re.Cache||Ie),r}Re.Cache=Ie;var Me=Re;var He=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/\\(\\)?/g,Pe=function(e){var t=Me(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(He,(function(e,r,o,n){t.push(o?n.replace(Be,"$1"):r||e)})),t}));var Fe=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},De=k?k.prototype:void 0,We=De?De.toString:void 0;var qe=function e(t){if("string"==typeof t)return t;if(x(t))return Fe(t,e)+"";if(B(t))return We?We.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ue=function(e){return null==e?"":qe(e)};var Ge=function(e,t){return x(e)?e:D(e,t)?[e]:Pe(Ue(e))};var Ze=function(e){if("string"==typeof e||B(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ve=function(e,t){for(var r=0,o=(t=Ge(t,e)).length;null!=e&&r<o;)e=e[Ze(t[r++])];return r&&r==o?e:void 0};var Je=function(e,t,r){var o=null==e?void 0:Ve(e,t);return void 0===o?r:o};var Ye=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 $e=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"}),Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qe=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Xe=function(e){return(e=Ue(e))&&e.replace(Ke,$e).replace(Qe,"")},et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var tt=function(e){return e.match(et)||[]},rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ot=function(e){return rt.test(e)},nt="\\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="["+nt+"]",it="\\d+",lt="[\\u2700-\\u27bf]",ct="[a-z\\xdf-\\xf6\\xf8-\\xff]",st="[^\\ud800-\\udfff"+nt+it+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",mt="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+ct+"|"+st+")",ft="(?:"+dt+"|"+st+")",pt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",gt="[\\ufe0e\\ufe0f]?"+pt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ut,mt].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*"),vt="(?:"+[lt,ut,mt].join("|")+")"+gt,_t=RegExp([dt+"?"+ct+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[at,dt,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[at,dt+ht,"$"].join("|")+")",dt+"?"+ht+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?: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_])",it,vt].join("|"),"g");var yt=function(e){return e.match(_t)||[]};var bt=function(e,t,r){return e=Ue(e),void 0===(t=r?void 0:t)?ot(e)?yt(e):tt(e):e.match(t)||[]},wt=RegExp("['’]","g");var Et=function(e){return function(t){return Ye(bt(Xe(t).replace(wt,"")),e,"")}},xt=Et((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Tt=xt,zt=Et((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Lt=zt;var kt=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,m=n.disableMeridiem,d=void 0!==m&&m,h=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),_=p[g.getMonth()],y=_;u&&(y=Tt(_));var b,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,T=n.direction,z=void 0===T?"ltr":T,L=Nt(o,f),k=L;if(x&&(y=Je(x,[Lt(_)])||_),E){var C=L.includes("am"),N=E.am,j=void 0===N?"am":N,S=E.pm,O=void 0===S?"pm":S;k=(C?L.replace("am",j):L.replace("pm",O))||L}return"rtl"===z?(b=i?"".concat(k):"","".concat(v," ").concat(y,", ").concat(w," ").concat(b," ")):d?"".concat(y," ").concat(v,", ").concat(w):c?"".concat(k,", ").concat(v," ").concat(y," ").concat(w):(b=i?", ".concat(k):"","".concat(v," ").concat(y,", ").concat(w).concat(b))};function Ct(e,t,r,o,n){var a,i=Je(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?kt(e,t,r,o,n):e>1?(a=Je(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Je(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var jt=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},St=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},Ot={mobile:767,tablet:1024},At=function(e){var t=Je(Ot,e);return!!t&&Je(global,"document.documentElement.clientWidth")<=t},It=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:St(e),o=jt(r)<155?"light":"dark";return o},Rt=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;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Je(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Mt(){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?Je(n,["reference-url"],""):""}s.shape({"sketches-host":s.string,"cdn-name":s.string,"cdn-image":s.string}),s.shape({headline:s.string,"last-published-at":s.number,subheadline:s.string});var Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Je(e,["story-template"])?Je(e,["metadata","reference-url"],""):e.url||t},Bt=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,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Rt(e,t):"/"},Pt=t(),Ft=function(){return r(Pt)},Dt={"./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"}},Wt=function(t){var r=t.collectionNameBorderColor,a=void 0===r?"":r,i=t.collection,l=t.config,c=t.collectionNameTemplate,s=t.headerLevel,u=t.customCollectionName,m=void 0===u?"":u,d=t.navigate,h=void 0===d||d,f=Ft()||{},p=o(f,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(c)?" collection-".concat(c):"",v=h&&i&&Rt(i,l)||"",_=m||i.name||"",y=It(f.theme),b="h"+s,E=St(a),x=g.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",T=At("mobile");return e.createElement(e.Fragment,null,p&&_&&e.createElement("div",{style:{borderBottom:x},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+w("collection ".concat(y," ").concat(g),Dt)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:E,fontSize:function(){if(T)switch(s){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(s){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(n,{href:v,"aria-label":"collection-name"},e.createElement(b,null,_)):e.createElement(b,null,_),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(E)}}):""))};Wt.propTypes={collectionNameBorderColor:u.string,collection:u.object,config:u.object,collectionNameTemplate:u.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:u.string,customCollectionName:u.string,navigate:u.bool},Wt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var qt=f((function(e){return{config:o(e,["qt","config"],{})}}))(Wt),Ut=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"}))))))};Ut.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var Gt=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)"})))))};Gt.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var Zt=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"}))))))};Zt.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var Vt=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 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.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"}))))};Vt.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var Jt=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(Ut,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Zt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Gt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Vt,{width:r,height:o,color:n,positionTop:i})}};function Yt(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}Jt.propTypes={width:s.string,height:s.string,color:s.string,iconType:s.string,positionTop:s.string};var $t={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Kt=function(t){var r=t.story,a=t.headerLevel,i=t.premiumStoryIconConfig,l=void 0===i?{}:i,c=t.isLink,s=Ft()||{},u=l.iconColor,m=void 0===u?"#F7B500":u,d=l.iconStyle,h=void 0===d?"star":d,f=l.enablePremiumStoryIcon,p=void 0!==f&&f,g=l.showLiveIcon,v=void 0!==g&&g,_=o(r,["alternative","home","default","headline"]),y=p&&"subscription"===o(r,["access"]),b=_||r.headline,E="h"+a,x=It(s.theme),T=y?"wrapper":"",z="24px",L=v&&"live-blog"===r["story-template"]&&!o(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+w(T,$t)},y&&e.createElement(Jt,{width:z,height:z,color:m,iconType:h,positionTop:function(){switch(parseInt(a)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),c?e.createElement(n,{href:Ht(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"headline"},e.createElement(E,{className:w("headline ".concat(x),$t)},L&&e.createElement(Yt,null),b)):e.createElement(E,{className:w("headline ".concat(x),$t)},L&&e.createElement(Yt,null),b))};Kt.propTypes={story:s.object.isRequired,headerLevel:s.string,premiumStoryIconConfig:s.shape({iconColor:s.string,iconType:s.string,enablePremiumStoryIcon:s.bool}),isLink:s.bool},Kt.defaultProps={headerLevel:"6",isLink:!0};var Qt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Xt=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,u=t.showFullContent,m=Ft()||{};if(!(s||o(m,["showSubheadline"],!0)))return null;var d=It(m.theme);return e.createElement("div",{style:{WebkitLineClamp:i},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+w("subheadline ".concat(d),Qt)},u||"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))};Xt.propTypes={story:s.object.isRequired,lineClamp:s.number,truncateChars:s.number,clazzName:s.string,forceShowAtom:s.bool,showFullContent:s.bool},Xt.defaultProps={forceShowAtom:!1,showFullContent:!1};var er={"./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"}},tr=function(t){var r=t.story,n=t.isBottom,a=t.config,i=void 0===a?{}:a,l=Ft()||{},c=o(i,["showTime"],o(l,["showTime"],!0)),s=r["last-published-at"]||r["first-published-at"],u=n?"bottom-fix":"",f=It(l.theme);return e.createElement(e.Fragment,null,c&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+w("time ".concat(f," ").concat(u),er)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&d(t,a),l=i&&h(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),c=kt("","","",t,o);return e.createElement("time",{dateTime:l},c)}return e.createElement(m,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(s,Ct,i))))};tr.propTypes={story:s.object,isBottom:s.bool,config:s.object};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","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"}},or=function(t){var r=t.story,i=t.hideAuthorImage,l=t.isBottom,c=t.prefix,s=void 0===c?"":c,u=t.config,m=void 0===u?{}:u,d=Ft()||{},h=o(d,["showAuthor"],!0),f=o(r,["authors","0"],""),p=f["avatar-url"],g=f["avatar-s3-key"],v=f.name,_=f.slug,y=l?"bottom-fix":"",b=It(d.theme),E=o(m,["mountAt"],""),x=function(t){return s?e.createElement("div",{className:"arr-author-prefix "+w("prefix ".concat(b),rr)},s):!i&&function(t){return p||g?e.createElement("div",{"data-test-id":"author-image",className:w("author-image ".concat(t,"-image"),rr)},e.createElement("figure",null,g?e.createElement(a,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):e.createElement("img",{src:p}))):null}(t)};return e.createElement(e.Fragment,null,h&&e.createElement(n,{href:"".concat(E,"/author/")+_,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+w("author ".concat(y),rr)},x("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+w("author-name ".concat(b),rr)},v||r["author-name"]),!s&&x("rtl")))};var nr=f((function(e){return{config:o(e,["qt","config"],{})}}))(or);or.propTypes={story:s.object.isRequired,hideAuthorImage:s.bool,isBottom:s.bool,prefix:s.string,config:s.object},or.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ar={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ir=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:w(l,ar)},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)"})))};ir.propTypes={color:s.string,width:s.string,height:s.string};var lr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},cr=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:w(l,lr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};cr.propTypes={color:s.string,width:s.string,height:s.string};var sr={"./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"}},ur=function(t){var r=t.story,n=t.opts,a=void 0===n?{}:n,i=t.isLightTheme,l=void 0!==i&&i,c=Ft()||{},s=o(c,["showReadTime"])||o(a,["showReadTime"],!0),u=o(r,["read-time"],0),m=l?"light":It(c.theme);if(!s||!u)return null;var d=o(a,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+w("read-time-wrapper ".concat(m),sr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ir,{color:m})),e.createElement("span",null,u," ",d)))};ur.propTypes={story:s.shape({"read-time":s.number}),opts:s.shape({showReadTime:s.bool}),isLightTheme:s.bool};var mr={"./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"}},dr=function(t){var r=t.story,n=t.separator,a=t.isBottom,i=t.hideAuthorImage,l=t.prefix,c=t.config,s=void 0===c?{}:c,u=t.isLightTheme,m=Ft()||{},d=o(s,["showAuthor"],o(m,["showAuthor"],!0)),h=o(s,["showTime"],o(m,["showTime"],!0)),f=o(m,["showReadTime"],!0),p=a?"bottom-fix":"",g="dot"===n?"dot":"dash",v=u?"light":It(m.theme),_=function(){return h?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+w("".concat(g),mr)},"divider"===n?e.createElement(cr,{color:v}):e.createElement(ir,{color:v})),e.createElement(tr,{story:r,config:s}),f&&e.createElement(ur,{story:r,opts:s,isLightTheme:u})):null};return e.createElement("div",{className:"arr--author-time "+w("author-time-wrapper ".concat(p),mr)},d?e.createElement(e.Fragment,null,e.createElement(nr,{story:r,isBottom:!0,hideAuthorImage:i,prefix:l}),_()):_())};function hr(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 fr(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 hr(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)?hr(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.")}()}dr.propTypes={story:s.object,separator:s.oneOf(["dot","divider"]),hideAuthorImage:s.bool,isBottom:s.bool,prefix:s.string,config:s.object,isLightTheme:s.bool},dr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var pr=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"}))))};pr.propTypes={width:s.object,height:s.object,iconColor:s.object};var gr=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(pr,null)))},vr=function(t){var r=t.slug;return r?e.createElement(n,{href:r,"aria-label":"image-fallback"},gr()):gr()};vr.propTypes={slug:s.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"})))},yr=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(n,{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};yr.propTypes={hyperLink:s.string};var br={"./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"}},wr=function(t){var r=t.story,a=t.FullBleed,l=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,m=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,h=t.defaultFallback,f=t.isStoryPageImage,g=t.config,v=(Ft()||{}).fallbackImageUrl,_=void 0===v?"":v,y=g.StoryTemplateIcon,b=void 0===y?function(){return null}:y,E=p((function(e){return o(e,["qt","config","showPlaceholder"])}))?"placeholder":"",x=a?"":"with-padding",T="hero-image";u?T="right-padding":d&&(T="left-padding");var z=m?"right-padding-mob":"",L=function(e){var t=fr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},k=fr(l,2),C=k[0],N=k[1],j=void 0===N?C:N,S=At("mobile"),O=S?C:j,A=L(S?C:j),I=o(r,["hero-image-s3-key"])||o(r,["alternative","home","default","hero-image","hero-image-s3-key"]),R=o(r,["hero-image-hyperlink"],""),M=function(){return I?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:A+"%"},className:"arr--responsive-hero-image "+w("image ".concat(E),br)},e.createElement(b,{storyTemplate:r["story-template"]}),e.createElement(i,{story:r,aspectRatio:O,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})),f&&R&&e.createElement(yr,{hyperLink:R})):_&&!f?e.createElement("figure",{style:{paddingTop:A+"%"},className:"arr--responsive-hero-image "+w("image ".concat(E),br)},e.createElement("img",{className:"qt-image","data-src":"".concat(_),alt:"image-fallback"})):e.createElement(e.Fragment,null,h?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:A+"%"},className:"arr--fallback-hero-image "+w("image ".concat(E),br)},e.createElement(b,{storyTemplate:r["story-template"]}),e.createElement(vr,null)):null)};return r&&(f?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+w("".concat(T," ").concat(x," ").concat(z),br)},M()):e.createElement(n,{"data-test-id":"arr--hero-image",href:Ht(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+w("".concat(T," ").concat(x," ").concat(z),br)},M()))};wr.propTypes={story:s.object.isRequired,FullBleed:s.bool,defaultWidth:s.number,widths:s.array,aspectRatio:s.array,isHorizontal:s.bool,isHorizontalMobile:s.bool,defaultFallback:s.bool,isHorizontalWithImageLast:s.bool,isStoryPageImage:s.bool,config:s.object},wr.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:{}};var Er={"./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"}},xr=function(t){var r=t.story,a=t.template,i=void 0===a?"":a,l=t.borderColor,c=void 0===l?"":l,s=t.isLightTheme,u=Ft()||{},m=o(u,["showSection"],!0),d=o(u,["sectionTagTemplate"]),h=o(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],p=h?h["section-url"]:"/",g="solid"===i||"solid"===d?c:u.theme,v=s?"light":It(g),_=St(c),y=f.includes(i)?"section section-".concat(i):"section";return d&&(y=f.includes(d)?"section section-".concat(d):"section"),m?e.createElement(n,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:y.includes("section-solid")?_:""},className:"section-tag arrow-component "+w("".concat(v," ").concat(y),Er)},y.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:_}}),h["display-name"]||h.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===i?"":_)}}))):null};xr.propTypes={story:s.object.isRequired,template:s.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:s.string,solidBorderColor:s.string,isLightTheme:s.bool},xr.defaultProps={template:"",isLightTheme:!1};var Tr={"./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"}},zr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,m=t.borderColor,d=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===E(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var y=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",b="default-card";a?b="horizontal-card":_&&(b="horizontal-image-last");var x=c?"backgroung-img":"",T=s?"content-overlap":"",z=It(u),L=d?"horizontal-mob":"",k=e.createElement(Lr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:d,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:m,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:z},className:"arr--story-card "+w("card ".concat(b," ").concat(y," ").concat(z," ").concat(x," ").concat(T," ").concat(L),Tr)},n||k)},Lr=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,m=t.hideAuthorImage,d=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=St(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(wr,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(wr,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(wr,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+w("content ".concat(p),Tr)},e.createElement(xr,{story:r,borderColor:g}),e.createElement(Kt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(dr,{config:_,story:r,isBottom:!0,prefix:d,hideAuthorImage:m}),e.createElement(Xt,{story:r})))};Lr.propTypes={story:s.object.isRequired,border:s.oneOfType([s.string]),isBottom:s.bool,isHorizontal:s.bool,aspectRatio:s.oneOfType([s.array]),isHorizontalMobile:s.bool,centerAlign:s.bool,headerLevel:s.string,borderColor:s.string,hideAuthorImage:s.bool,prefix:s.string,config:s.object,isHorizontalWithImageLast:s.bool},zr.propTypes={story:s.object.isRequired,children:s.node,isHorizontal:s.bool,border:s.oneOfType([s.string]),useImageAsBackground:s.bool,bgImgContentOverlap:s.bool,aspectRatio:s.oneOfType([s.array]),theme:s.string,isHorizontalMobile:s.bool,centerAlign:s.bool,headerLevel:s.string,borderColor:s.string,hideAuthorImage:s.bool,prefix:s.string,config:s.object,isHorizontalWithImageLast:s.bool},zr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var kr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},Cr=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=It(n),m=St(c),d=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+w("wrapper ".concat(d," ").concat(h),kr)},o||e.createElement(Nr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:m,config:s}))},Nr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=St(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(xr,{story:r,borderColor:l}),e.createElement(Kt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(dr,{config:s,story:r}))};function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Nr.propTypes={story:s.object.isRequired,border:s.string,theme:s.string,isHorizontalMobile:s.bool,headerLevel:s.string,borderColor:s.string,config:s.object},Cr.propTypes={story:s.object.isRequired,children:s.node,theme:s.string,border:s.string,isHorizontalMobile:s.bool,headerLevel:s.string,borderColor:s.string,config:s.object};var Sr={"./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 Or(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 Ar(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){jr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ir=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,c=t.onClick,s=t.navigate,u=t.qtConfig,m=o.showButton,d=void 0===m||m,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,_=void 0===v?"":v;if(!d)return null;var y=It(g),b=_?"/".concat(_):Bt(n,Ar(Ar({},u),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:c,"data-test-id":"load-more",className:"arr--button "+w("button ".concat(y," default"),Sr)},f):e.createElement(l,{href:b,navigateTo:s,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+w("button ".concat(y," default"),Sr)},f))};Ir.propTypes={collection:s.object,template:s.string,config:s.object,onClick:s.func,navigate:s.func,qtConfig:s.object};var Rr={"./three-col-seven-story.m.css":{wrapper:"three-col-seven-story-m_wrapper__2mAv0","three-col-five-stories":"three-col-seven-story-m_three-col-five-stories__7aVjy",card:"three-col-seven-story-m_card__79HKh","card-bottom":"three-col-seven-story-m_card-bottom__1CO-r",cards:"three-col-seven-story-m_cards__2zT6I","border-unset":"three-col-seven-story-m_border-unset__2nSgR",ads:"three-col-seven-story-m_ads__2YttJ"}},Mr=function(t){var r=t.collection,n=t.config,a=void 0===n?{}:n,i=c(r);if(i.length<1)return null;var l=a.collectionNameBorderColor,s=void 0===l?"":l,u=a.borderColor,m=void 0===u?"":u,d=a.border,h=void 0===d?"":d,f=a.theme,v=void 0===f?"":f,_=a.slotConfig,y=void 0===_?[]:_,b=a.collectionNameTemplate,E=void 0===b?"":b,x=a.footerSlotConfig,T=void 0===x?{}:x,z=a.footerButton,L=void 0===z?"":z,k=a.customCollectionName,C=a.navigate,N=void 0===C||C,j=T.footerSlot,S=o(y,[0],{}),O=S.type,A=void 0===O?"story":O,I=S.component,R="bottom"===h?"card-bottom":"card",M="ad"===y?"border-unset":"",H=g(),B=p((function(e){return o(e,["qt","config"],{})})),P=Bt(r,B),F=function(t){return e.createElement(zr,{story:t,theme:v,border:h,isHorizontal:!0,config:a},e.createElement(wr,{story:t,isHorizontal:!0,aspectRatio:[[16,9],[16,9]]}),e.createElement(Cr,{theme:v,border:h,story:t,borderColor:m,config:a}))},D=function(t){return e.createElement(zr,{story:t,theme:v,isHorizontal:!0,config:a},e.createElement(wr,{story:t,isHorizontal:!0,aspectRatio:[[16,9],[16,9]]}),e.createElement(Cr,{theme:v,story:t,borderColor:m,config:a}))},W=function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(A,I,(function(){return e.createElement("div",null,i.slice(5,6).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:w("".concat(R),Rr)},F(t))})),i.slice(6,7).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:w("".concat(R),Rr)},D(t))})))})),q=j?j():null,U=It(v),G="bottom"===h?"cards":"";return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"three-col-seven-stories",style:{backgroundColor:v,color:U}},e.createElement("div",{className:"three-col-seven-story-m_wrapper__2mAv0"},e.createElement(qt,{collection:r,collectionNameTemplate:E,collectionNameBorderColor:s,customCollectionName:k,navigate:N}),e.createElement("div",{className:"three-col-seven-story-m_three-col-five-stories__7aVjy"},e.createElement("div",{className:w("".concat(G),Rr)},i.slice(0,1).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:w("".concat(R),Rr)},e.createElement(zr,{story:t,theme:v,aspectRatio:[[16,9],[16,9]],headerLevel:"5",borderColor:m,config:a}))}))),e.createElement("div",{className:w("".concat(G),Rr)},i.slice(1,3).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:w("".concat(R),Rr)},F(t))})),i.slice(3,4).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:w("".concat(R),Rr)},D(t))}))),e.createElement("div",null,i.slice(4,5).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:w("".concat(R," ").concat(M),Rr)},F(t))})),e.createElement("div",{className:"three-col-seven-story-m_ads__2YttJ"},W))),e.createElement(Ir,{template:L,collection:r,config:a,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(H,P)},qtConfig:B}),q))};Mr.propTypes={collection:s.object.isRequired,config:s.shape({borderColor:s.string,theme:s.string,border:s.string,slotConfig:s.array,footerButton:s.string,collectionNameTemplate:s.string,collectionNameBorderColor:s.string})};var Hr,Br=(Hr=Mr,function(t){return e.createElement(Pt.Provider,{value:t.config},e.createElement(Hr,t))});export{Br as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import a from"lodash.get";import{Link as i,ResponsiveHeroImage as l,ResponsiveImage as c,LinkBase as s,collectionToStories as u}from"@quintype/components";import{connect as m,useSelector as d,useDispatch as h}from"react-redux";import f from"react-timeago";import{utcToZonedTime as p,format as g}from"date-fns-tz";var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _(e){var t={exports:{}};return e(t,t.exports),t.exports}var y=_((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})),w=b(_((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=y)&&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(" "):""}}))),E=t(),x=function(){return r(E)};function L(e){return L="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},L(e)}_((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 C(o||[]);return a._invoke=function(e,t,r){var o=m;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return N()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=T(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=f,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?f:d,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,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 m="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function b(){}var _={};c(_,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(j([])));w&&w!==r&&o.call(w,a)&&(_=w);var E=b.prototype=g.prototype=Object.create(_);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,m=s.value;return m&&"object"==typeof m&&o.call(m,"__await")?t.resolve(m.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(m).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 T(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,T(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;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,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function j(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:N}}function N(){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}},x(L.prototype),c(L.prototype,i,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new L(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(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=j,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(k),!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,p):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),p},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),k(r),p}},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;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:j(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var T=Array.isArray,z="object"==typeof v&&v&&v.Object===Object&&v,k="object"==typeof self&&self&&self.Object===Object&&self,C=z||k||Function("return this")(),j=C.Symbol,N=Object.prototype,O=N.hasOwnProperty,S=N.toString,I=j?j.toStringTag:void 0;var A=function(e){var t=O.call(e,I),r=e[I];try{e[I]=void 0;var o=!0}catch(e){}var n=S.call(e);return o&&(t?e[I]=r:delete e[I]),n},M=Object.prototype.toString;var R=function(e){return M.call(e)},H=j?j.toStringTag:void 0;var B=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?A(e):R(e)};var P=function(e){return null!=e&&"object"==typeof e};var F=function(e){return"symbol"==typeof e||P(e)&&"[object Symbol]"==B(e)},D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/;var q=function(e,t){if(T(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!F(e))||(W.test(e)||!D.test(e)||null!=t&&e in Object(t))};var U=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var G,Z=function(e){if(!U(e))return!1;var t=B(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},V=C["__core-js_shared__"],J=(G=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"";var Y=function(e){return!!J&&J in e},$=Function.prototype.toString;var K=function(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Q=/^\[object .+?Constructor\]$/,X=Function.prototype,ee=Object.prototype,te=X.toString,re=ee.hasOwnProperty,oe=RegExp("^"+te.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ne=function(e){return!(!U(e)||Y(e))&&(Z(e)?oe:Q).test(K(e))};var ae=function(e,t){return null==e?void 0:e[t]};var ie=function(e,t){var r=ae(e,t);return ne(r)?r:void 0},le=ie(Object,"create");var ce=function(){this.__data__=le?le(null):{},this.size=0};var se=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ue=Object.prototype.hasOwnProperty;var me=function(e){var t=this.__data__;if(le){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ue.call(t,e)?t[e]:void 0},de=Object.prototype.hasOwnProperty;var he=function(e){var t=this.__data__;return le?void 0!==t[e]:de.call(t,e)};var fe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=le&&void 0===t?"__lodash_hash_undefined__":t,this};function pe(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])}}pe.prototype.clear=ce,pe.prototype.delete=se,pe.prototype.get=me,pe.prototype.has=he,pe.prototype.set=fe;var ge=pe;var ve=function(){this.__data__=[],this.size=0};var be=function(e,t){return e===t||e!=e&&t!=t};var _e=function(e,t){for(var r=e.length;r--;)if(be(e[r][0],t))return r;return-1},ye=Array.prototype.splice;var we=function(e){var t=this.__data__,r=_e(t,e);return!(r<0)&&(r==t.length-1?t.pop():ye.call(t,r,1),--this.size,!0)};var Ee=function(e){var t=this.__data__,r=_e(t,e);return r<0?void 0:t[r][1]};var xe=function(e){return _e(this.__data__,e)>-1};var Le=function(e,t){var r=this.__data__,o=_e(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Te(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])}}Te.prototype.clear=ve,Te.prototype.delete=we,Te.prototype.get=Ee,Te.prototype.has=xe,Te.prototype.set=Le;var ze=Te,ke=ie(C,"Map");var Ce=function(){this.size=0,this.__data__={hash:new ge,map:new(ke||ze),string:new ge}};var je=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ne=function(e,t){var r=e.__data__;return je(t)?r["string"==typeof t?"string":"hash"]:r.map};var Oe=function(e){var t=Ne(this,e).delete(e);return this.size-=t?1:0,t};var Se=function(e){return Ne(this,e).get(e)};var Ie=function(e){return Ne(this,e).has(e)};var Ae=function(e,t){var r=Ne(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,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=Ce,Me.prototype.delete=Oe,Me.prototype.get=Se,Me.prototype.has=Ie,Me.prototype.set=Ae;var Re=Me;function He(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(He.Cache||Re),r}He.Cache=Re;var Be=He;var Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/\\(\\)?/g,De=function(e){var t=Be(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(Pe,(function(e,r,o,n){t.push(o?n.replace(Fe,"$1"):r||e)})),t}));var We=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},qe=j?j.prototype:void 0,Ue=qe?qe.toString:void 0;var Ge=function e(t){if("string"==typeof t)return t;if(T(t))return We(t,e)+"";if(F(t))return Ue?Ue.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ze=function(e){return null==e?"":Ge(e)};var Ve=function(e,t){return T(e)?e:q(e,t)?[e]:De(Ze(e))};var Je=function(e){if("string"==typeof e||F(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ye=function(e,t){for(var r=0,o=(t=Ve(t,e)).length;null!=e&&r<o;)e=e[Je(t[r++])];return r&&r==o?e:void 0};var $e=function(e,t,r){var o=null==e?void 0:Ye(e,t);return void 0===o?r:o};var Ke=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 Qe=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"}),Xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var tt=function(e){return(e=Ze(e))&&e.replace(Xe,Qe).replace(et,"")},rt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ot=function(e){return e.match(rt)||[]},nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var at=function(e){return nt.test(e)},it="\\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",lt="["+it+"]",ct="\\d+",st="[\\u2700-\\u27bf]",ut="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+it+ct+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",dt="(?:\\ud83c[\\udde6-\\uddff]){2}",ht="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="[A-Z\\xc0-\\xd6\\xd8-\\xde]",pt="(?:"+ut+"|"+mt+")",gt="(?:"+ft+"|"+mt+")",vt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bt="[\\ufe0e\\ufe0f]?"+vt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",dt,ht].join("|")+")[\\ufe0e\\ufe0f]?"+vt+")*"),_t="(?:"+[st,dt,ht].join("|")+")"+bt,yt=RegExp([ft+"?"+ut+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[lt,ft,"$"].join("|")+")",gt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[lt,ft+pt,"$"].join("|")+")",ft+"?"+pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ft+"+(?:['’](?: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_])",ct,_t].join("|"),"g");var wt=function(e){return e.match(yt)||[]};var Et=function(e,t,r){return e=Ze(e),void 0===(t=r?void 0:t)?at(e)?wt(e):ot(e):e.match(t)||[]},xt=RegExp("['’]","g");var Lt=function(e){return function(t){return Ke(Et(tt(t).replace(xt,"")),e,"")}},Tt=Lt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),zt=Tt,kt=Lt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ct=kt;var jt=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,m=n.disableMeridiem,d=void 0!==m&&m,h=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),b=p[g.getMonth()],_=b;u&&(_=zt(b));var y,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,L=n.direction,T=void 0===L?"ltr":L,z=Ot(o,f),k=z;if(x&&(_=$e(x,[Ct(b)])||b),E){var C=z.includes("am"),j=E.am,N=void 0===j?"am":j,O=E.pm,S=void 0===O?"pm":O;k=(C?z.replace("am",N):z.replace("pm",S))||z}return"rtl"===T?(y=i?"".concat(k):"","".concat(v," ").concat(_,", ").concat(w," ").concat(y," ")):d?"".concat(_," ").concat(v,", ").concat(w):c?"".concat(k,", ").concat(v," ").concat(_," ").concat(w):(y=i?", ".concat(k):"","".concat(v," ").concat(_,", ").concat(w).concat(y))};function Nt(e,t,r,o,n){var a,i=$e(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?jt(e,t,r,o,n):e>1?(a=$e(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=$e(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var St=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},It=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},At={mobile:767,tablet:1024},Mt=function(e){var t=$e(At,e);return!!t&&$e(global,"document.documentElement.clientWidth")<=t},Rt=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:It(e),o=St(r)<155?"light":"dark";return o},Ht=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;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=$e(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Bt(){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?$e(n,["reference-url"],""):""}o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var Pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===$e(e,["story-template"])?$e(e,["metadata","reference-url"],""):e.url||t},Ft=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,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Ht(e,t):"/"},Dt={"./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"}},Wt=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,l=t.config,c=t.collectionNameTemplate,s=t.headerLevel,u=t.customCollectionName,m=void 0===u?"":u,d=t.navigate,h=void 0===d||d,f=x()||{},p=a(f,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(c)?" collection-".concat(c):"",v=h&&n&&Ht(n,l)||"",b=m||n.name||"",_=Rt(f.theme),y="h"+s,E=It(o),L=g.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",T=Mt("mobile");return e.createElement(e.Fragment,null,p&&b&&e.createElement("div",{style:{borderBottom:L},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+w("collection ".concat(_," ").concat(g),Dt)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:E,fontSize:function(){if(T)switch(s){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(s){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(i,{href:v,"aria-label":"collection-name"},e.createElement(y,null,b)):e.createElement(y,null,b),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(E)}}):""))};Wt.propTypes={collectionNameBorderColor:n.string,collection:n.object,config:n.object,collectionNameTemplate:n.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:n.string,customCollectionName:n.string,navigate:n.bool},Wt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var qt=m((function(e){return{config:a(e,["qt","config"],{})}}))(Wt);function Ut(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 Gt(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 Ut(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)?Ut(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 Zt=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"}))))};Zt.propTypes={width:o.object,height:o.object,iconColor:o.object};var Vt=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(Zt,null)))},Jt=function(t){var r=t.slug;return r?e.createElement(i,{href:r,"aria-label":"image-fallback"},Vt()):Vt()};Jt.propTypes={slug:o.string};var Yt=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"})))},$t=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(i,{href:o,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement(Yt,null)):null};$t.propTypes={hyperLink:o.string};var Kt={"./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"}},Qt=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,m=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=t.config,v=(x()||{}).fallbackImageUrl,b=void 0===v?"":v,_=g.StoryTemplateIcon,y=void 0===_?function(){return null}:_,E=d((function(e){return a(e,["qt","config","showPlaceholder"])}))?"placeholder":"",L=o?"":"with-padding",T="hero-image";u?T="right-padding":h&&(T="left-padding");var z=m?"right-padding-mob":"",k=function(e){var t=Gt(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},C=Gt(n,2),j=C[0],N=C[1],O=void 0===N?j:N,S=Mt("mobile"),I=S?j:O,A=k(S?j:O),M=a(r,["hero-image-s3-key"])||a(r,["alternative","home","default","hero-image","hero-image-s3-key"]),R=a(r,["hero-image-hyperlink"],""),H=function(){return M?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:A+"%"},className:"arr--responsive-hero-image "+w("image ".concat(E),Kt)},e.createElement(y,{storyTemplate:r["story-template"]}),e.createElement(l,{story:r,aspectRatio:I,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})),p&&R&&e.createElement($t,{hyperLink:R})):b&&!p?e.createElement("figure",{style:{paddingTop:A+"%"},className:"arr--responsive-hero-image "+w("image ".concat(E),Kt)},e.createElement("img",{className:"qt-image","data-src":"".concat(b),alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:A+"%"},className:"arr--fallback-hero-image "+w("image ".concat(E),Kt)},e.createElement(y,{storyTemplate:r["story-template"]}),e.createElement(Jt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+w("".concat(T," ").concat(L," ").concat(z),Kt)},H()):e.createElement(i,{"data-test-id":"arr--hero-image",href:Pt(r,"/".concat(r.slug)),externalLink:Bt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+w("".concat(T," ").concat(L," ").concat(z),Kt)},H()))};Qt.propTypes={story:o.object.isRequired,FullBleed:o.bool,defaultWidth:o.number,widths:o.array,aspectRatio:o.array,isHorizontal:o.bool,isHorizontalMobile:o.bool,defaultFallback:o.bool,isHorizontalWithImageLast:o.bool,isStoryPageImage:o.bool,config:o.object},Qt.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:{}};var Xt=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"}))))))};Xt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.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:o.string,width:o.string,color:o.string,positionTop:o.string};var tr=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"}))))))};tr.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var rr=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 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.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"}))))};rr.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var or=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(Xt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(tr,{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(rr,{width:r,height:o,color:n,positionTop:i})}};function nr(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}or.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var ar={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},ir=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,l=void 0===n?{}:n,c=t.isLink,s=x()||{},u=l.iconColor,m=void 0===u?"#F7B500":u,d=l.iconStyle,h=void 0===d?"star":d,f=l.enablePremiumStoryIcon,p=void 0!==f&&f,g=l.showLiveIcon,v=void 0!==g&&g,b=a(r,["alternative","home","default","headline"]),_=p&&"subscription"===a(r,["access"]),y=b||r.headline,E="h"+o,L=Rt(s.theme),T=_?"wrapper":"",z="24px",k=v&&"live-blog"===r["story-template"]&&!a(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+w(T,ar)},_&&e.createElement(or,{width:z,height:z,color:m,iconType:h,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?e.createElement(i,{href:Pt(r,"/".concat(r.slug)),externalLink:Bt(r),"aria-label":"headline"},e.createElement(E,{className:w("headline ".concat(L),ar)},k&&e.createElement(nr,null),y)):e.createElement(E,{className:w("headline ".concat(L),ar)},k&&e.createElement(nr,null),y))};ir.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},ir.defaultProps={headerLevel:"6",isLink:!0};var lr={"./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"}},cr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,l=t.borderColor,c=void 0===l?"":l,s=t.isLightTheme,u=x()||{},m=a(u,["showSection"],!0),d=a(u,["sectionTagTemplate"]),h=a(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],p=h?h["section-url"]:"/",g="solid"===n||"solid"===d?c:u.theme,v=s?"light":Rt(g),b=It(c),_=f.includes(n)?"section section-".concat(n):"section";return d&&(_=f.includes(d)?"section section-".concat(d):"section"),m?e.createElement(i,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?b:""},className:"section-tag arrow-component "+w("".concat(v," ").concat(_),lr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:b}}),h["display-name"]||h.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":b)}}))):null};cr.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},cr.defaultProps={template:"",isLightTheme:!1};var sr={"./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"}},ur=function(t){var r=t.story,o=t.isBottom,n=t.config,i=void 0===n?{}:n,l=x()||{},c=a(i,["showTime"],a(l,["showTime"],!0)),s=r["last-published-at"]||r["first-published-at"],u=o?"bottom-fix":"",m=Rt(l.theme);return e.createElement(e.Fragment,null,c&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+w("time ".concat(m," ").concat(u),sr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&p(t,a),l=i&&g(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),c=jt("","","",t,o);return e.createElement("time",{dateTime:l},c)}return e.createElement(f,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(s,Nt,i))))};ur.propTypes={story:o.object,isBottom:o.bool,config:o.object};var mr={"./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"}},dr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,l=t.prefix,s=void 0===l?"":l,u=t.config,m=void 0===u?{}:u,d=x()||{},h=a(d,["showAuthor"],!0),f=a(r,["authors","0"],""),p=f["avatar-url"],g=f["avatar-s3-key"],v=f.name,b=f.slug,_=n?"bottom-fix":"",y=Rt(d.theme),E=a(m,["mountAt"],""),L=function(t){return s?e.createElement("div",{className:"arr-author-prefix "+w("prefix ".concat(y),mr)},s):!o&&function(t){return p||g?e.createElement("div",{"data-test-id":"author-image",className:w("author-image ".concat(t,"-image"),mr)},e.createElement("figure",null,g?e.createElement(c,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):e.createElement("img",{src:p}))):null}(t)};return e.createElement(e.Fragment,null,h&&e.createElement(i,{href:"".concat(E,"/author/")+b,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+w("author ".concat(_),mr)},L("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+w("author-name ".concat(y),mr)},v||r["author-name"]),!s&&L("rtl")))};var hr=m((function(e){return{config:a(e,["qt","config"],{})}}))(dr);dr.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},dr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var fr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},pr=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:w(l,fr)},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)"})))};pr.propTypes={color:o.string,width:o.string,height:o.string};var gr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},vr=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:w(l,gr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};vr.propTypes={color:o.string,width:o.string,height:o.string};var br={"./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"}},_r=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,i=t.isLightTheme,l=void 0!==i&&i,c=x()||{},s=a(c,["showReadTime"])||a(n,["showReadTime"],!0),u=a(r,["read-time"],0),m=l?"light":Rt(c.theme);if(!s||!u)return null;var d=a(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+w("read-time-wrapper ".concat(m),br)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(pr,{color:m})),e.createElement("span",null,u," ",d)))};_r.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var yr={"./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"}},wr=function(t){var r=t.story,o=t.separator,n=t.isBottom,i=t.hideAuthorImage,l=t.prefix,c=t.config,s=void 0===c?{}:c,u=t.isLightTheme,m=x()||{},d=a(s,["showAuthor"],a(m,["showAuthor"],!0)),h=a(s,["showTime"],a(m,["showTime"],!0)),f=a(m,["showReadTime"],!0),p=n?"bottom-fix":"",g="dot"===o?"dot":"dash",v=u?"light":Rt(m.theme),b=function(){return h?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+w("".concat(g),yr)},"divider"===o?e.createElement(vr,{color:v}):e.createElement(pr,{color:v})),e.createElement(ur,{story:r,config:s}),f&&e.createElement(_r,{story:r,opts:s,isLightTheme:u})):null};return e.createElement("div",{className:"arr--author-time "+w("author-time-wrapper ".concat(p),yr)},d?e.createElement(e.Fragment,null,e.createElement(hr,{story:r,isBottom:!0,hideAuthorImage:i,prefix:l}),b()):b())};wr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},wr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var Er={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},xr=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=Rt(n),m=It(c),d=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+w("wrapper ".concat(d," ").concat(h),Er)},o||e.createElement(Lr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:m,config:s}))},Lr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=It(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(cr,{story:r,borderColor:l}),e.createElement(ir,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(wr,{config:s,story:r}))};Lr.propTypes={story:o.object.isRequired,border:o.string,theme:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object},xr.propTypes={story:o.object.isRequired,children:o.node,theme:o.string,border:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object};var Tr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},zr=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,i=t.lineClamp,l=t.clazzName,c=void 0===l?"":l,s=t.forceShowAtom,u=t.showFullContent,m=x()||{};if(!(s||a(m,["showSubheadline"],!0)))return null;var d=Rt(m.theme);return e.createElement("div",{style:{WebkitLineClamp:i},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+w("subheadline ".concat(d),Tr)},u||"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,n,!0))};zr.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},zr.defaultProps={forceShowAtom:!1,showFullContent:!1};var kr={"./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"}},Cr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,m=t.borderColor,d=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,b=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===L(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var _=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":b&&(y="horizontal-image-last");var E=c?"backgroung-img":"",x=s?"content-overlap":"",T=Rt(u),z=d?"horizontal-mob":"",k=e.createElement(jr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:d,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:m,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:b});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:T},className:"arr--story-card "+w("card ".concat(y," ").concat(_," ").concat(T," ").concat(E," ").concat(x," ").concat(z),kr)},n||k)},jr=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,m=t.hideAuthorImage,d=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=It(u),v=f.localizationConfig,b=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Qt,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Qt,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Qt,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+w("content ".concat(p),kr)},e.createElement(cr,{story:r,borderColor:g}),e.createElement(ir,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(wr,{config:b,story:r,isBottom:!0,prefix:d,hideAuthorImage:m}),e.createElement(zr,{story:r})))};function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}jr.propTypes={story:o.object.isRequired,border:o.oneOfType([o.string]),isBottom:o.bool,isHorizontal:o.bool,aspectRatio:o.oneOfType([o.array]),isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},Cr.propTypes={story:o.object.isRequired,children:o.node,isHorizontal:o.bool,border:o.oneOfType([o.string]),useImageAsBackground:o.bool,bgImgContentOverlap:o.bool,aspectRatio:o.oneOfType([o.array]),theme:o.string,isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},Cr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Or={"./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 Sr(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 Ir(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(r),!0).forEach((function(t){Nr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ar=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,u=t.qtConfig,m=o.showButton,d=void 0===m||m,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,b=void 0===v?"":v;if(!d)return null;var _=Rt(g),y=b?"/".concat(b):Ft(n,Ir(Ir({},u),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+w("button ".concat(_," default"),Or)},f):e.createElement(s,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+w("button ".concat(_," default"),Or)},f))};Ar.propTypes={collection:o.object,template:o.string,config:o.object,onClick:o.func,navigate:o.func,qtConfig:o.object};var Mr,Rr=function(t){var r=t.collection,o=void 0===r?{}:r,n=t.config,i=void 0===n?{}:n,l=u(o),c=i.collectionNameBorderColor,s=void 0===c?"":c,m=i.borderColor,f=void 0===m?"":m,p=i.border,g=void 0===p?"":p,v=i.theme,b=void 0===v?"":v,_=i.slotConfig,y=void 0===_?[]:_,w=i.collectionNameTemplate,E=void 0===w?"":w,x=i.footerSlotConfig,L=void 0===x?{}:x,T=i.footerButton,z=void 0===T?"":T,k=a(y,[0],{}),C=k.type,j=void 0===C?"story":C,N=k.component,O=L.footerSlot;if(u(o).length<1)return null;var S=Rt(b),I=O?O():null;l.splice(1,0,null);var A="story"!==j?l:u(o),M=h(),R=d((function(e){return a(e,["qt","config"],{})})),H=Ft(o,R);return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"three-col-six-stories",style:{backgroundColor:b,color:S}},e.createElement("div",{className:"three-col-six-stories-m_wrapper__3mmiq"},e.createElement(qt,{collection:o,collectionNameTemplate:E,collectionNameBorderColor:s}),e.createElement("div",{className:"three-col-six-stories-m_storycards-row-one__lWHtD"},e.createElement("div",{className:"three-col-six-stories-m_card__Or020"},e.createElement(Cr,{story:A[0],headerLevel:"2",theme:b,border:g,aspectRatio:[[16,9],[16,9]],config:i},e.createElement(Qt,{story:A[0],aspectRatio:[[16,9],[16,9]]}),e.createElement(xr,{story:A[0],headerLevel:"2",theme:b,border:g,borderColor:f,config:i}))),e.createElement("div",null,e.createElement("div",{className:"three-col-six-stories-m_card__Or020"},function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(j,N,(function(){return e.createElement(Cr,{story:A[1],headerLevel:"5",theme:b,border:g,isHorizontalMobile:!0,config:i},e.createElement(Qt,{story:A[1],isHorizontalMobile:!0}),e.createElement(xr,{theme:b,headerLevel:"5",story:A[1],border:g,borderColor:f,config:i}))}))),e.createElement("div",{className:"three-col-six-stories-m_card__Or020"},e.createElement(Cr,{story:A[2],headerLevel:"5",theme:b,border:g,isHorizontalMobile:!0,config:i},e.createElement(Qt,{story:A[2],isHorizontalMobile:!0}),e.createElement(xr,{theme:b,headerLevel:"5",story:A[2],border:g,borderColor:f,config:i}))))),e.createElement("div",{className:"three-col-six-stories-m_storycards-row-two__tEepW"},A.slice(3,6).map((function(t,r){return e.createElement("div",{className:"three-col-six-stories-m_card__Or020",key:r},e.createElement(Cr,{story:t,headerLevel:"5",theme:b,border:g,isHorizontalMobile:!0,config:i},e.createElement(Qt,{story:t,isHorizontalMobile:!0}),e.createElement(xr,{theme:b,headerLevel:"5",story:t,border:g,borderColor:f,config:i})))}))),e.createElement(Ar,{template:z,collection:o,config:i,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(M,H)},qtConfig:R}),I))},Hr=(Mr=Rr,function(t){return e.createElement(E.Provider,{value:t.config},e.createElement(Mr,t))});Rr.propTypes={collection:o.object.isRequired,config:o.shape({borderColor:o.string,theme:o.string,border:o.string,slotConfig:o.array,footerButton:o.string,collectionNameTemplate:o.string,collectionNameBorderColor:o.string})};export{Hr as default};
|
package/TimeStamp/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t,{useContext as e,createContext as r}from"react";import n from"lodash.get";import o from"prop-types";import i from"react-timeago";import{utcToZonedTime as a,format as u}from"date-fns-tz";var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function l(t){var e={exports:{}};return t(e,e.exports),e.exports}var f=l((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),h=s(l((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=f)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},u=a.handleMissingStyleName,c=void 0===u?n.default.handleMissingStyleName:u,s=a.autoResolveMultipleImports,l=void 0===s?n.default.autoResolveMultipleImports:s;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],u=i[1],c=r||n.default.handleMissingStyleName;return u?e[a]?e[a][u]?e[a][u]:o("CSS module does not exist: "+u,c):o("CSS module import does not exist: "+a,c):o("Invalid style name: "+t,c)}(t,e,c);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,c)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",c)})).filter((function(t){return t})).join(" "):""}}))),p=r();l((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=O(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?d:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function m(){}function y(){}function g(){}var _={};c(_,i,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(T([])));x&&x!==r&&n.call(x,i)&&(_=x);var w=g.prototype=m.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,u){var c=l(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function T(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:e,done:!0}}return y.prototype=g,c(w,"constructor",g),c(g,"constructor",y),y.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},j(E.prototype),c(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(w),c(w,u,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var d=Array.isArray,v="object"==typeof c&&c&&c.Object===Object&&c,m="object"==typeof self&&self&&self.Object===Object&&self,y=v||m||Function("return this")(),g=y.Symbol,_=Object.prototype,b=_.hasOwnProperty,x=_.toString,w=g?g.toStringTag:void 0;var j=function(t){var e=b.call(t,w),r=t[w];try{t[w]=void 0;var n=!0}catch(t){}var o=x.call(t);return n&&(e?t[w]=r:delete t[w]),o},E=Object.prototype.toString;var O=function(t){return E.call(t)},S=g?g.toStringTag:void 0;var L=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?j(t):O(t)};var N=function(t){return null!=t&&"object"==typeof t};var T=function(t){return"symbol"==typeof t||N(t)&&"[object Symbol]"==L(t)},A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/;var I=function(t,e){if(d(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!T(t))||(z.test(t)||!A.test(t)||null!=e&&t in Object(e))};var M=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var k,C=function(t){if(!M(t))return!1;var e=L(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},F=y["__core-js_shared__"],P=(k=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"";var R=function(t){return!!P&&P in t},G=Function.prototype.toString;var U=function(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Z=/^\[object .+?Constructor\]$/,$=Function.prototype,D=Object.prototype,Y=$.toString,H=D.hasOwnProperty,J=RegExp("^"+Y.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var X=function(t){return!(!M(t)||R(t))&&(C(t)?J:Z).test(U(t))};var B=function(t,e){return null==t?void 0:t[e]};var V=function(t,e){var r=B(t,e);return X(r)?r:void 0},K=V(Object,"create");var Q=function(){this.__data__=K?K(null):{},this.size=0};var W=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},q=Object.prototype.hasOwnProperty;var tt=function(t){var e=this.__data__;if(K){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return q.call(e,t)?e[t]:void 0},et=Object.prototype.hasOwnProperty;var rt=function(t){var e=this.__data__;return K?void 0!==e[t]:et.call(e,t)};var nt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=K&&void 0===e?"__lodash_hash_undefined__":e,this};function ot(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ot.prototype.clear=Q,ot.prototype.delete=W,ot.prototype.get=tt,ot.prototype.has=rt,ot.prototype.set=nt;var it=ot;var at=function(){this.__data__=[],this.size=0};var ut=function(t,e){return t===e||t!=t&&e!=e};var ct=function(t,e){for(var r=t.length;r--;)if(ut(t[r][0],e))return r;return-1},st=Array.prototype.splice;var lt=function(t){var e=this.__data__,r=ct(e,t);return!(r<0)&&(r==e.length-1?e.pop():st.call(e,r,1),--this.size,!0)};var ft=function(t){var e=this.__data__,r=ct(e,t);return r<0?void 0:e[r][1]};var ht=function(t){return ct(this.__data__,t)>-1};var pt=function(t,e){var r=this.__data__,n=ct(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function dt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}dt.prototype.clear=at,dt.prototype.delete=lt,dt.prototype.get=ft,dt.prototype.has=ht,dt.prototype.set=pt;var vt=dt,mt=V(y,"Map");var yt=function(){this.size=0,this.__data__={hash:new it,map:new(mt||vt),string:new it}};var gt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var _t=function(t,e){var r=t.__data__;return gt(e)?r["string"==typeof e?"string":"hash"]:r.map};var bt=function(t){var e=_t(this,t).delete(t);return this.size-=e?1:0,e};var xt=function(t){return _t(this,t).get(t)};var wt=function(t){return _t(this,t).has(t)};var jt=function(t,e){var r=_t(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Et(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Et.prototype.clear=yt,Et.prototype.delete=bt,Et.prototype.get=xt,Et.prototype.has=wt,Et.prototype.set=jt;var Ot=Et;function St(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(St.Cache||Ot),r}St.Cache=Ot;var Lt=St;var Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tt=/\\(\\)?/g,At=function(t){var e=Lt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Nt,(function(t,r,n,o){e.push(n?o.replace(Tt,"$1"):r||t)})),e}));var zt=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},It=g?g.prototype:void 0,Mt=It?It.toString:void 0;var kt=function t(e){if("string"==typeof e)return e;if(d(e))return zt(e,t)+"";if(T(e))return Mt?Mt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var Ct=function(t){return null==t?"":kt(t)};var Ft=function(t,e){return d(t)?t:I(t,e)?[t]:At(Ct(t))};var Pt=function(t){if("string"==typeof t||T(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Rt=function(t,e){for(var r=0,n=(e=Ft(e,t)).length;null!=t&&r<n;)t=t[Pt(e[r++])];return r&&r==n?t:void 0};var Gt=function(t,e,r){var n=null==t?void 0:Rt(t,e);return void 0===n?r:n};var Ut=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r};var Zt=function(t){return function(e){return null==t?void 0:t[e]}}({"À":"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"}),$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Dt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Yt=function(t){return(t=Ct(t))&&t.replace($t,Zt).replace(Dt,"")},Ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Jt=function(t){return t.match(Ht)||[]},Xt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Bt=function(t){return Xt.test(t)},Vt="\\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",Kt="["+Vt+"]",Qt="\\d+",Wt="[\\u2700-\\u27bf]",qt="[a-z\\xdf-\\xf6\\xf8-\\xff]",te="[^\\ud800-\\udfff"+Vt+Qt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ee="(?:\\ud83c[\\udde6-\\uddff]){2}",re="[\\ud800-\\udbff][\\udc00-\\udfff]",ne="[A-Z\\xc0-\\xd6\\xd8-\\xde]",oe="(?:"+qt+"|"+te+")",ie="(?:"+ne+"|"+te+")",ae="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ue="[\\ufe0e\\ufe0f]?"+ae+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ee,re].join("|")+")[\\ufe0e\\ufe0f]?"+ae+")*"),ce="(?:"+[Wt,ee,re].join("|")+")"+ue,se=RegExp([ne+"?"+qt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Kt,ne,"$"].join("|")+")",ie+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Kt,ne+oe,"$"].join("|")+")",ne+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ne+"+(?:['’](?: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_])",Qt,ce].join("|"),"g");var le=function(t){return t.match(se)||[]};var fe=function(t,e,r){return t=Ct(t),void 0===(e=r?void 0:e)?Bt(t)?le(t):Jt(t):t.match(e)||[]},he=RegExp("['’]","g");var pe=function(t){return function(e){return Ut(fe(Yt(e).replace(he,"")),t,"")}},de=pe((function(t,e,r){return t+(r?" ":"")+e.toUpperCase()})),ve=pe((function(t,e,r){return t+(r?" ":"")+e.toLowerCase()})),me=function(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=o.showTime,a=void 0!==i&&i,u=o.isTimeFirst,c=void 0!==u&&u,s=o.isUpperCase,l=void 0!==s&&s,f=o.disableMeridiem,h=void 0!==f&&f,p=o.timeFormat,d=void 0===p?"12hours":p,v=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],m=new Date(n),y=m.getDate().toString().padStart(2,0),g=v[m.getMonth()],_=g;l&&(_=de(g));var b,x=m.getFullYear(),w=o.localizedMeridiem,j=o.localizedMonths,E=o.direction,O=void 0===E?"ltr":E,S=ge(n,d),L=S;if(j&&(_=Gt(j,[ve(g)])||g),w){var N=S.includes("am"),T=w.am,A=void 0===T?"am":T,z=w.pm,I=void 0===z?"pm":z;L=(N?S.replace("am",A):S.replace("pm",I))||S}return"rtl"===O?(b=a?"".concat(L):"","".concat(y," ").concat(_,", ").concat(x," ").concat(b," ")):h?"".concat(_," ").concat(y,", ").concat(x):c?"".concat(L,", ").concat(y," ").concat(_," ").concat(x):(b=a?", ".concat(L):"","".concat(y," ").concat(_,", ").concat(x).concat(b))};function ye(t,e,r,n,o){var i,a=Gt(o,["localizedPublishTime",r])||r;return"hour"===e&&t>23||-1!==["day","week","month","year"].indexOf(e)?me(t,e,r,n,o):t>1?(i=Gt(o,["localizedPublishTime","".concat(e,"s")])||"".concat(e,"s"),"".concat(t," ").concat(i," ").concat(a)):(i=Gt(o,["localizedPublishTime",e])||e,"".concat(t," ").concat(i," ").concat(a," "))}function ge(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(t),n=r.getHours(),o=r.getMinutes(),i=n>=12?"pm":"am",a=(n=(n%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+i;return"24hours"===e?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):a}var _e=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},be=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t};o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var xe={"./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"}},we=function(r){var o=r.story,c=r.isBottom,s=r.config,l=void 0===s?{}:s,f=e(p)||{},d=n(l,["showTime"],n(f,["showTime"],!0)),v=o["last-published-at"]||o["first-published-at"],m=c?"bottom-fix":"",y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:be(t);return _e(e)<155?"light":"dark"}(f.theme);return t.createElement(t.Fragment,null,d&&t.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+h("time ".concat(y," ").concat(m),xe)},t.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(c&&"story"===o){var s=c&&a(e,c),l=s&&u(s,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:c}),f=me("","","",e,n);return t.createElement("time",{dateTime:l},f)}return t.createElement(i,{date:e,formatter:function(t,e,o,i){return r(t,e,o,i,n)}})}(v,ye,l))))};we.propTypes={story:o.object,isBottom:o.bool,config:o.object};export{we as TimeStamp};
|