@quintype/arrow 3.2.1-arrow-chunking.1 → 3.3.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/FourStorySliderPortrait/styles.arrow.css +1 -0
- package/cjs/index.js +9 -1
- package/esm/index.js +9 -1
- package/package.json +1 -1
- package/AlsoRead/index.js +0 -1
- package/AlternateCollectionFilter/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/AuthorsList/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/FourColFiveStories/index.js +0 -1
- package/FourColGrid/index.js +0 -1
- package/FourColSixteenStories/index.js +0 -1
- package/FourColTwelveStories/index.js +0 -1
- package/FourStorySlider/index.js +0 -1
- package/FourTabbedBigStorySlider/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/ListComponent/index.js +0 -1
- package/ListicleStoryTemplate/index.js +0 -1
- package/Listicles/index.js +0 -1
- package/LiveBlogStoryTemplate/index.js +0 -1
- package/LoadmoreButton/index.js +0 -1
- package/MagazineEditions/index.js +0 -1
- package/MagazineHeaderCard/index.js +0 -1
- package/MagazineWidget/index.js +0 -1
- package/OneColStoryList/index.js +0 -1
- package/OpinionCollection/index.js +0 -1
- package/PageIntroductionCard/index.js +0 -1
- package/PhotoStoryTemplate/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/SixColSixStories/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/TextStoryTemplate/index.js +0 -1
- package/ThreeColFlexStories/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/ThreeColTwelveStories/index.js +0 -1
- package/TimeStamp/index.js +0 -1
- package/TwoColFourStories/index.js +0 -1
- package/TwoColFourStoryHighlight/index.js +0 -1
- package/TwoColSixStories/index.js +0 -1
- package/TwoColTenStoriesSidebar/index.js +0 -1
- package/TwoColThreeStories/index.js +0 -1
- package/Video/index.js +0 -1
- package/VideoStoryTemplate/index.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import{Link as a,ResponsiveImage as i,ResponsiveHeroImage as l,collectionToStories as c}from"@quintype/components";import{connect as s,useSelector as u}from"react-redux";import m from"react-timeago";function d(e){if(Array.isArray(e))return e}function h(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 f(e,t){if(e){if("string"==typeof e)return h(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)?h(e,t):void 0}}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e){return d(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||p()}var v=Array.isArray,_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function b(e){var t={exports:{}};return e(t,t.exports),t.exports}var w="object"==typeof _&&_&&_.Object===Object&&_,E="object"==typeof self&&self&&self.Object===Object&&self,x=w||E||Function("return this")(),T=x.Symbol,L=Object.prototype,z=L.hasOwnProperty,N=L.toString,k=T?T.toStringTag:void 0;var S=function(e){var t=z.call(e,k),r=e[k];try{e[k]=void 0;var o=!0}catch(e){}var n=N.call(e);return o&&(t?e[k]=r:delete e[k]),n},C=Object.prototype.toString;var j=function(e){return C.call(e)},A=T?T.toStringTag:void 0;var I=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":A&&A in Object(e)?S(e):j(e)};var O=function(e){return null!=e&&"object"==typeof e};var R=function(e){return"symbol"==typeof e||O(e)&&"[object Symbol]"==I(e)},M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/;var B=function(e,t){if(v(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!R(e))||(H.test(e)||!M.test(e)||null!=t&&e in Object(t))};var F=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var P,D=function(e){if(!F(e))return!1;var t=I(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},W=x["__core-js_shared__"],G=(P=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"";var U=function(e){return!!G&&G in e},Z=Function.prototype.toString;var q=function(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""},J=/^\[object .+?Constructor\]$/,V=Function.prototype,Y=Object.prototype,$=V.toString,K=Y.hasOwnProperty,Q=RegExp("^"+$.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var X=function(e){return!(!F(e)||U(e))&&(D(e)?Q:J).test(q(e))};var ee=function(e,t){return null==e?void 0:e[t]};var te=function(e,t){var r=ee(e,t);return X(r)?r:void 0},re=te(Object,"create");var oe=function(){this.__data__=re?re(null):{},this.size=0};var ne=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ae=Object.prototype.hasOwnProperty;var ie=function(e){var t=this.__data__;if(re){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ae.call(t,e)?t[e]:void 0},le=Object.prototype.hasOwnProperty;var ce=function(e){var t=this.__data__;return re?void 0!==t[e]:le.call(t,e)};var se=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=re&&void 0===t?"__lodash_hash_undefined__":t,this};function ue(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ue.prototype.clear=oe,ue.prototype.delete=ne,ue.prototype.get=ie,ue.prototype.has=ce,ue.prototype.set=se;var me=ue;var de=function(){this.__data__=[],this.size=0};var he=function(e,t){return e===t||e!=e&&t!=t};var fe=function(e,t){for(var r=e.length;r--;)if(he(e[r][0],t))return r;return-1},pe=Array.prototype.splice;var ge=function(e){var t=this.__data__,r=fe(t,e);return!(r<0)&&(r==t.length-1?t.pop():pe.call(t,r,1),--this.size,!0)};var ve=function(e){var t=this.__data__,r=fe(t,e);return r<0?void 0:t[r][1]};var _e=function(e){return fe(this.__data__,e)>-1};var ye=function(e,t){var r=this.__data__,o=fe(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}be.prototype.clear=de,be.prototype.delete=ge,be.prototype.get=ve,be.prototype.has=_e,be.prototype.set=ye;var we=be,Ee=te(x,"Map");var xe=function(){this.size=0,this.__data__={hash:new me,map:new(Ee||we),string:new me}};var Te=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Le=function(e,t){var r=e.__data__;return Te(t)?r["string"==typeof t?"string":"hash"]:r.map};var ze=function(e){var t=Le(this,e).delete(e);return this.size-=t?1:0,t};var Ne=function(e){return Le(this,e).get(e)};var ke=function(e){return Le(this,e).has(e)};var Se=function(e,t){var r=Le(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ce(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ce.prototype.clear=xe,Ce.prototype.delete=ze,Ce.prototype.get=Ne,Ce.prototype.has=ke,Ce.prototype.set=Se;var je=Ce;function Ae(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(Ae.Cache||je),r}Ae.Cache=je;var Ie=Ae;var Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/\\(\\)?/g,Me=function(e){var t=Ie(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Oe,(function(e,r,o,n){t.push(o?n.replace(Re,"$1"):r||e)})),t}));var He=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},Be=T?T.prototype:void 0,Fe=Be?Be.toString:void 0;var Pe=function e(t){if("string"==typeof t)return t;if(v(t))return He(t,e)+"";if(R(t))return Fe?Fe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var De=function(e){return null==e?"":Pe(e)};var We=function(e,t){return v(e)?e:B(e,t)?[e]:Me(De(e))};var Ge=function(e){if("string"==typeof e||R(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ue=function(e,t){for(var r=0,o=(t=We(t,e)).length;null!=e&&r<o;)e=e[Ge(t[r++])];return r&&r==o?e:void 0};var Ze=function(e,t,r){var o=null==e?void 0:Ue(e,t);return void 0===o?r:o},qe=b((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})),Je=y(b((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=qe)&&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(" "):""}}))),Ve=t(),Ye=function(){return r(Ve)};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)}b((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 k(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 C()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=L(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(S([])));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 L(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,L(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 N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function S(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:C}}function C(){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=S,k.prototype={constructor:k,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(N),!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),N(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;N(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:S(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));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=De(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])?",_t="[\\ufe0e\\ufe0f]?"+vt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",dt,ht].join("|")+")[\\ufe0e\\ufe0f]?"+vt+")*"),yt="(?:"+[st,dt,ht].join("|")+")"+_t,bt=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,yt].join("|"),"g");var wt=function(e){return e.match(bt)||[]};var Et=function(e,t,r){return e=De(e),void 0===(t=r?void 0:t)?at(e)?wt(e):ot(e):e.match(t)||[]},xt=RegExp("['’]","g");var Tt=function(e){return function(t){return Ke(Et(tt(t).replace(xt,"")),e,"")}},Lt=Tt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),zt=Tt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function Nt(e,t,r,o,n){var a,i=Ze(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?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=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Lt(g));var _,y=f.getFullYear(),b=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,T=kt(o),L=T;if(w&&(v=Ze(w,[zt(g)])||g),b){var z=T.includes("am"),N=b.am,k=void 0===N?"am":N,S=b.pm,C=void 0===S?"pm":S;L=(z?T.replace("am",k):T.replace("pm",C))||T}return"rtl"===x?(_=i?"".concat(L):"","".concat(p," ").concat(v,", ").concat(y," ").concat(_," ")):d?"".concat(v," ").concat(p,", ").concat(y):c?"".concat(L,", ").concat(p," ").concat(v," ").concat(y):(_=i?", ".concat(L):"","".concat(p," ").concat(v,", ").concat(y).concat(_))}(e,t,r,o,n):e>1?(a=Ze(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ze(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function kt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}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},Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},jt={mobile:767,tablet:1024},At=function(e){var t=Ze(jt,e);return!!t&&Ze(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:Ct(e),o=St(r)<155?"light":"dark";return o};function Ot(){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?Ze(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 Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ze(e,["story-template"])?Ze(e,["metadata","reference-url"],""):e.url||t},Mt={"./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"}},Ht=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,m=t.navigate,d=void 0===m||m,h=Ye()||{},f=Ze(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",g=d&&n&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage;if(void 0!==n&&n)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);if("section"===e.template){var a=Ze(e,["metadata","section","0","id"],""),i=t.sections,l=i&&i.find((function(e){return e.id===a}));return l?l["section-url"]:"/"}return"/collection/".concat(e.slug)}(n,i)||"",v=u||n.name||"",_=It(h.theme),y="h"+c,b=Ct(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(b):"",E=At("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+Je("collection ".concat(_," ").concat(p),Mt)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:b,fontSize:function(){if(E)switch(c){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(a,{href:g,"aria-label":"collection-name"},e.createElement(y,null,v)):e.createElement(y,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(b)}}):""))};Ht.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},Ht.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Bt=s((function(e){return{config:Ze(e,["qt","config"],{})}}))(Ht);function Ft(e,t){return d(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)||f(e,t)||p()}var Pt=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"}))))};Pt.propTypes={width:o.object,height:o.object,iconColor:o.object};var Dt=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(Pt,null)))},Wt=function(t){var r=t.slug;return r?e.createElement(a,{href:r,"aria-label":"image-fallback"},Dt()):Dt()};Wt.propTypes={slug:o.string};var Gt={"./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"}},Ut=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,c=t.defaultWidth,s=t.widths,m=t.isHorizontal,d=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(Ye()||{}).fallbackImageUrl,v=void 0===g?"":g,_=u((function(e){return Ze(e,["qt","config","showPlaceholder"])}))?"placeholder":"",y=o?"":"with-padding",b="hero-image";m?b="right-padding":h&&(b="left-padding");var w=d?"right-padding-mob":"",E=function(e){var t=Ft(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},x=Ft(n,2),T=x[0],L=x[1],z=void 0===L?T:L,N=At("mobile"),k=N?T:z,S=E(N?T:z),C=Ze(r,["hero-image-s3-key"])||Ze(r,["alternative","home","default","hero-image","hero-image-s3-key"]),j=function(){return C?e.createElement("figure",{style:{paddingTop:S+"%"},className:"arr--responsive-hero-image "+Je("image ".concat(_),Gt)},e.createElement(l,{story:r,aspectRatio:k,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:S+"%"},className:"arr--responsive-hero-image "+Je("image ".concat(_),Gt)},e.createElement(i,{slug:!p&&v,metadata:{},"aspect-ratio":k,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:S+"%"},className:"arr--fallback-hero-image "+Je("image ".concat(_),Gt)},e.createElement(Wt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+Je("".concat(b," ").concat(y," ").concat(w),Gt)},j()):e.createElement(a,{"data-test-id":"arr--hero-image",href:Rt(r,"/".concat(r.slug)),externalLink:Ot(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+Je("".concat(b," ").concat(y," ").concat(w),Gt)},j()))};Ut.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},Ut.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var 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:o.string,width:o.string,color:o.string,positionTop:o.string};var qt=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)"})))))};qt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.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:o.string,width:o.string,color:o.string,positionTop:o.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:o.string,width:o.string,color:o.string,positionTop:o.string};var Yt=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(qt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Vt,{width:r,height:o,color:n,positionTop:i})}};Yt.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.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,o=t.headerLevel,n=t.premiumStoryIconConfig,i=void 0===n?{}:n,l=t.isLink,c=Ye()||{},s=i.iconColor,u=void 0===s?"#F7B500":s,m=i.iconStyle,d=void 0===m?"star":m,h=i.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ze(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ze(r,["access"]),v=p||r.headline,_="h"+o,y=It(c.theme),b=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+Je(b,$t)},g&&e.createElement(Yt,{width:w,height:w,color:u,iconType:d,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),l?e.createElement(a,{href:Rt(r,"/".concat(r.slug)),externalLink:Ot(r),"aria-label":"headline"},e.createElement(_,{className:Je("headline ".concat(y),$t)},v)):e.createElement(_,{className:Je("headline ".concat(y),$t)},v))};Kt.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.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,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=Ye()||{};if(!(c||Ze(u,["showSubheadline"],!0)))return null;var m=It(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+Je("subheadline ".concat(m),Qt)},s||"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))};Xt.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.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,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=Ye()||{},l=Ze(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=It(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+Je("time ".concat(u," ").concat(s),er)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(m,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Nt,a))))};tr.propTypes={story:o.object,isBottom:o.bool,config:o.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,o=t.hideAuthorImage,n=t.isBottom,l=t.prefix,c=void 0===l?"":l,s=t.config,u=void 0===s?{}:s,m=Ye()||{},d=Ze(m,["showAuthor"],!0),h=Ze(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",y=It(m.theme),b=Ze(u,["mountAt"],""),w=function(t){return c?e.createElement("div",{className:"arr-author-prefix "+Je("prefix ".concat(y),rr)},c):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:Je("author-image ".concat(t,"-image"),rr)},e.createElement("figure",null,p?e.createElement(i,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,d&&e.createElement(a,{href:"".concat(b,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+Je("author ".concat(_),rr)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+Je("author-name ".concat(y),rr)},g||r["author-name"]),!c&&w("rtl")))};var nr=s((function(e){return{config:Ze(e,["qt","config"],{})}}))(or);or.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.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:Je(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:o.string,width:o.string,height:o.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:Je(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:o.string,width:o.string,height:o.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,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=Ye()||{},c=Ze(l,["showReadTime"])||Ze(n,["showReadTime"],!0),s=Ze(r,["read-time"],0),u=i?"light":It(l.theme);if(!c||!s)return null;var m=Ze(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+Je("read-time-wrapper ".concat(u),sr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ir,{color:u})),e.createElement("span",null,s," ",m)))};ur.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.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,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=Ye()||{},m=Ze(c,["showAuthor"],Ze(u,["showAuthor"],!0)),d=Ze(u,["showTime"],!0),h=Ze(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":It(u.theme),v=function(){return d?e.createElement(e.Fragment,null,m&&e.createElement("span",{className:"arr-separator "+Je("".concat(p),mr)},"divider"===o?e.createElement(cr,{color:g}):e.createElement(ir,{color:g})),e.createElement(tr,{story:r,config:c}),h&&e.createElement(ur,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+Je("author-time-wrapper ".concat(f),mr)},m?e.createElement(e.Fragment,null,e.createElement(nr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};dr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},dr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var hr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},fr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=Ye()||{},u=Ze(s,["showSection"],!0),m=Ze(s,["sectionTagTemplate"]),d=Ze(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=d?d["section-url"]:"/",p="solid"===n||"solid"===m?l:s.theme,g=c?"light":It(p),v=Ct(l),_=h.includes(n)?"section section-".concat(n):"section";return m&&(_=h.includes(m)?"section section-".concat(m):"section"),u?e.createElement(a,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+Je("".concat(g," ").concat(_),hr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),d["display-name"]||d.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};fr.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},fr.defaultProps={template:"",isLightTheme:!1};var pr={"./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"}},gr=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 w=c?"backgroung-img":"",E=s?"content-overlap":"",x=It(u),T=d?"horizontal-mob":"",L=e.createElement(vr,{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:x},className:"arr--story-card "+Je("card ".concat(b," ").concat(y," ").concat(x," ").concat(w," ").concat(E," ").concat(T),pr)},n||L)},vr=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=Ct(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Ut,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Ut,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Ut,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+Je("content ".concat(p),pr)},e.createElement(fr,{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})))};vr.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},gr.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},gr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var _r=function(t){var r=t.collection,o=void 0===r?{}:r,n=t.config,a=void 0===n?{}:n,i=c(o),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,p=void 0===f?"":f,v=a.collectionNameTemplate,_=void 0===v?"":v,y=a.slotConfig,b=Ze(void 0===y?[]:y,[0],{}),w=b.type,E=b.component;if(i.length<1)return null;var x=It(p),T=g(i||[]),L=T[0],z=T[1],N=T.slice(2);return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"three-col-fourteen-stories",style:{backgroundColor:p,color:x}},e.createElement("div",{className:"three-col-fourteen-story-m_wrapper__1aJe1"},e.createElement(Bt,{collection:o,collectionNameTemplate:_,collectionNameBorderColor:s}),e.createElement("div",{className:"three-col-fourteen-story-m_storycards-row__2ANrZ"},e.createElement("div",{className:"first-card three-col-fourteen-story-m_card-with-separator__3MQHS three-col-fourteen-story-m_first-card__1nakj"},e.createElement(gr,{story:L,headerLevel:"2",theme:p,aspectRatio:[[16,9],[16,9]],config:a},e.createElement(Ut,{story:L,aspectRatio:[[16,9],[16,9]]}),e.createElement("div",{className:"card-content"},e.createElement(fr,{story:L,borderColor:m}),e.createElement(Kt,{story:L,headerLevel:"2",premiumStoryIconConfig:a})),e.createElement(Xt,{story:L,forceShowAtom:!0})),z&&e.createElement(gr,{border:h,story:z,isHorizontal:!0,aspectRatio:[[1,1],[4,3]],borderColor:m,config:a})),e.createElement("div",{className:"second-card three-col-fourteen-story-m_card-with-separator__3MQHS three-col-fourteen-story-m_second-card__3u49K"},N.length>0&&N.slice(0,6).map((function(t){return e.createElement(gr,{key:t,story:t,isHorizontal:!0,theme:p,aspectRatio:[[1,1],[4,3]],border:h,borderColor:m,config:a})}))),e.createElement("div",{className:"third-card three-col-fourteen-story-m_card-with-separator__3MQHS three-col-fourteen-story-m_third-card__wA-vu"},N.length>0&&N.slice(6,10).map((function(t){return e.createElement(gr,{key:i,story:t,isHorizontal:!0,theme:p,aspectRatio:[[1,1],[4,3]],border:h,borderColor:m,config:a})})),e.createElement("div",{className:"three-col-fourteen-story-m_ad-slot__1XHTV"},function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(w,E,(function(){return function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).slice(10,13).map((function(t){return e.createElement(gr,{key:t,story:t,isHorizontal:!0,aspectRatio:[[1,1],[4,3]],border:h})}))}(N)})))))))};_r.propTypes={collection:o.object.isRequired,config:o.shape({theme:o.string,border:o.string,slotConfig:o.array,collectionNameTemplate:o.string,collectionNameBorderColor:o.string,borderColor:o.string})};var yr,br=(yr=_r,function(t){return e.createElement(Ve.Provider,{value:t.config},e.createElement(yr,t))});export{br as default};
|
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,{PropTypes as c}from"prop-types";import{Link as s,ResponsiveImage as u,ResponsiveHeroImage as d,LinkBase as m,collectionToStories as h}from"@quintype/components";import f from"react-timeago";import{connect as p,useSelector as g,useDispatch as v}from"react-redux";import b from"react-dom";var _=Array.isArray,y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function w(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function E(e){var t={exports:{}};return e(t,t.exports),t.exports}var x="object"==typeof y&&y&&y.Object===Object&&y,L="object"==typeof self&&self&&self.Object===Object&&self,T=x||L||Function("return this")(),z=T.Symbol,C=Object.prototype,k=C.hasOwnProperty,j=C.toString,N=z?z.toStringTag:void 0;var S=function(e){var t=k.call(e,N),r=e[N];try{e[N]=void 0;var o=!0}catch(e){}var n=j.call(e);return o&&(t?e[N]=r:delete e[N]),n},O=Object.prototype.toString;var I=function(e){return O.call(e)},M=z?z.toStringTag:void 0;var A=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":M&&M in Object(e)?S(e):I(e)};var R=function(e){return null!=e&&"object"==typeof e};var H=function(e){return"symbol"==typeof e||R(e)&&"[object Symbol]"==A(e)},P=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/;var F=function(e,t){if(_(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!H(e))||(B.test(e)||!P.test(e)||null!=t&&e in Object(t))};var D=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var W,q=function(e){if(!D(e))return!1;var t=A(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=T["__core-js_shared__"],U=(W=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";var Z=function(e){return!!U&&U in e},V=Function.prototype.toString;var J=function(e){if(null!=e){try{return V.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Y=/^\[object .+?Constructor\]$/,$=Function.prototype,K=Object.prototype,Q=$.toString,X=K.hasOwnProperty,ee=RegExp("^"+Q.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var te=function(e){return!(!D(e)||Z(e))&&(q(e)?ee:Y).test(J(e))};var re=function(e,t){return null==e?void 0:e[t]};var oe=function(e,t){var r=re(e,t);return te(r)?r:void 0},ne=oe(Object,"create");var ae=function(){this.__data__=ne?ne(null):{},this.size=0};var ie=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},le=Object.prototype.hasOwnProperty;var ce=function(e){var t=this.__data__;if(ne){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return le.call(t,e)?t[e]:void 0},se=Object.prototype.hasOwnProperty;var ue=function(e){var t=this.__data__;return ne?void 0!==t[e]:se.call(t,e)};var de=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ne&&void 0===t?"__lodash_hash_undefined__":t,this};function me(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}me.prototype.clear=ae,me.prototype.delete=ie,me.prototype.get=ce,me.prototype.has=ue,me.prototype.set=de;var he=me;var fe=function(){this.__data__=[],this.size=0};var pe=function(e,t){return e===t||e!=e&&t!=t};var ge=function(e,t){for(var r=e.length;r--;)if(pe(e[r][0],t))return r;return-1},ve=Array.prototype.splice;var be=function(e){var t=this.__data__,r=ge(t,e);return!(r<0)&&(r==t.length-1?t.pop():ve.call(t,r,1),--this.size,!0)};var _e=function(e){var t=this.__data__,r=ge(t,e);return r<0?void 0:t[r][1]};var ye=function(e){return ge(this.__data__,e)>-1};var we=function(e,t){var r=this.__data__,o=ge(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ee(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])}}Ee.prototype.clear=fe,Ee.prototype.delete=be,Ee.prototype.get=_e,Ee.prototype.has=ye,Ee.prototype.set=we;var xe=Ee,Le=oe(T,"Map");var Te=function(){this.size=0,this.__data__={hash:new he,map:new(Le||xe),string:new he}};var ze=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 ze(t)?r["string"==typeof t?"string":"hash"]:r.map};var ke=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 Ne=function(e){return Ce(this,e).has(e)};var Se=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 Oe(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])}}Oe.prototype.clear=Te,Oe.prototype.delete=ke,Oe.prototype.get=je,Oe.prototype.has=Ne,Oe.prototype.set=Se;var Ie=Oe;function Me(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(Me.Cache||Ie),r}Me.Cache=Ie;var Ae=Me;var Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,He=/\\(\\)?/g,Pe=function(e){var t=Ae(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(Re,(function(e,r,o,n){t.push(o?n.replace(He,"$1"):r||e)})),t}));var Be=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},Fe=z?z.prototype:void 0,De=Fe?Fe.toString:void 0;var We=function e(t){if("string"==typeof t)return t;if(_(t))return Be(t,e)+"";if(H(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var qe=function(e){return null==e?"":We(e)};var Ge=function(e,t){return _(e)?e:F(e,t)?[e]:Pe(qe(e))};var Ue=function(e){if("string"==typeof e||H(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ze=function(e,t){for(var r=0,o=(t=Ge(t,e)).length;null!=e&&r<o;)e=e[Ue(t[r++])];return r&&r==o?e:void 0};var Ve=function(e,t,r){var o=null==e?void 0:Ze(e,t);return void 0===o?r:o},Je=E((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})),Ye=w(E((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=Je)&&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(),Ke=function(){return r($e)};function Qe(e){return(Qe="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((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 k(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 _={};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,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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(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,k.prototype={constructor:k,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(C),!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),C(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;C(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 Xe=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 et=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"}),tt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ot=function(e){return(e=qe(e))&&e.replace(tt,et).replace(rt,"")},nt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var at=function(e){return e.match(nt)||[]},it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var lt=function(e){return it.test(e)},ct="\\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",st="["+ct+"]",ut="\\d+",dt="[\\u2700-\\u27bf]",mt="[a-z\\xdf-\\xf6\\xf8-\\xff]",ht="[^\\ud800-\\udfff"+ct+ut+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:\\ud83c[\\udde6-\\uddff]){2}",pt="[\\ud800-\\udbff][\\udc00-\\udfff]",gt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",vt="(?:"+mt+"|"+ht+")",bt="(?:"+gt+"|"+ht+")",_t="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",yt="[\\ufe0e\\ufe0f]?"+_t+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ft,pt].join("|")+")[\\ufe0e\\ufe0f]?"+_t+")*"),wt="(?:"+[dt,ft,pt].join("|")+")"+yt,Et=RegExp([gt+"?"+mt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[st,gt,"$"].join("|")+")",bt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[st,gt+vt,"$"].join("|")+")",gt+"?"+vt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",gt+"+(?:['’](?: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_])",ut,wt].join("|"),"g");var xt=function(e){return e.match(Et)||[]};var Lt=function(e,t,r){return e=qe(e),void 0===(t=r?void 0:t)?lt(e)?xt(e):at(e):e.match(t)||[]},Tt=RegExp("['’]","g");var zt=function(e){return function(t){return Xe(Lt(ot(t).replace(Tt,"")),e,"")}},Ct=zt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),kt=zt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function jt(e,t,r,o,n){var a,i=Ve(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?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=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Ct(g));var b,_=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,L=Nt(o),T=L;if(w&&(v=Ve(w,[kt(g)])||g),y){var z=L.includes("am"),C=y.am,k=void 0===C?"am":C,j=y.pm,N=void 0===j?"pm":j;T=(z?L.replace("am",k):L.replace("pm",N))||L}return"rtl"===x?(b=i?"".concat(T):"","".concat(p," ").concat(v,", ").concat(_," ").concat(b," ")):m?"".concat(v," ").concat(p,", ").concat(_):c?"".concat(T,", ").concat(p," ").concat(v," ").concat(_):(b=i?", ".concat(T):"","".concat(p," ").concat(v,", ").concat(_).concat(b))}(e,t,r,o,n):e>1?(a=Ve(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ve(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Nt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}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},Ot=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},It={mobile:767,tablet:1024},Mt=function(e){var t=Ve(It,e);return!!t&&Ve(global,"document.documentElement.clientWidth")<=t},At=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:Ot(e),o=St(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=Ve(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 Ht(){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?Ve(n,["reference-url"],""):""}l.shape({"sketches-host":l.string,"cdn-name":l.string,"cdn-image":l.string}),l.shape({headline:l.string,"last-published-at":l.number,subheadline:l.string});var Pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ve(e,["story-template"])?Ve(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):"/"},Ft=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"}))))))};Ft.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Dt=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)"})))))};Dt.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Wt=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"}))))))};Wt.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var qt=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"}))))};qt.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Gt=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(Ft,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Wt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Dt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(qt,{width:r,height:o,color:n,positionTop:i})}};Gt.propTypes={width:l.string,height:l.string,color:l.string,iconType:l.string,positionTop:l.string};var Ut={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Zt=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=Ke()||{},c=a.iconColor,u=void 0===c?"#F7B500":c,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ve(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ve(r,["access"]),v=p||r.headline,b="h"+o,_=At(l.theme),y=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+Ye(y,Ut)},g&&e.createElement(Gt,{width:w,height:w,color:u,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(s,{href:Pt(r,"/".concat(r.slug)),externalLink:Ht(r),"aria-label":"headline"},e.createElement(b,{className:Ye("headline ".concat(_),Ut)},v)):e.createElement(b,{className:Ye("headline ".concat(_),Ut)},v))};Zt.propTypes={story:l.object.isRequired,headerLevel:l.string,premiumStoryIconConfig:l.shape({iconColor:l.string,iconType:l.string,enablePremiumStoryIcon:l.bool}),isLink:l.bool},Zt.defaultProps={headerLevel:"6",isLink:!0};var Vt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Jt=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=Ke()||{};if(!(c||Ve(u,["showSubheadline"],!0)))return null;var d=At(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+Ye("subheadline ".concat(d),Vt)},s||"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))};Jt.propTypes={story:l.object.isRequired,lineClamp:l.number,truncateChars:l.number,clazzName:l.string,forceShowAtom:l.bool,showFullContent:l.bool},Jt.defaultProps={forceShowAtom:!1,showFullContent:!1};var Yt={"./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"}},$t=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=Ke()||{},l=Ve(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=At(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+Ye("time ".concat(u," ").concat(s),Yt)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(f,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,jt,a))))};$t.propTypes={story:l.object,isBottom:l.bool,config:l.object};var Kt={"./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"}},Qt=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,c=void 0===l?{}:l,d=Ke()||{},m=Ve(d,["showAuthor"],!0),h=Ve(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,b=n?"bottom-fix":"",_=At(d.theme),y=Ve(c,["mountAt"],""),w=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+Ye("prefix ".concat(_),Kt)},i):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:Ye("author-image ".concat(t,"-image"),Kt)},e.createElement("figure",null,p?e.createElement(u,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(s,{href:"".concat(y,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+Ye("author ".concat(b),Kt)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+Ye("author-name ".concat(_),Kt)},g||r["author-name"]),!i&&w("rtl")))};var Xt=p((function(e){return{config:Ve(e,["qt","config"],{})}}))(Qt);Qt.propTypes={story:l.object.isRequired,hideAuthorImage:l.bool,isBottom:l.bool,prefix:l.string,config:l.object},Qt.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var er={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},tr=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:Ye(l,er)},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)"})))};tr.propTypes={color:l.string,width:l.string,height:l.string};var rr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},or=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:Ye(l,rr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};or.propTypes={color:l.string,width:l.string,height:l.string};var nr={"./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"}},ar=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=Ke()||{},c=Ve(l,["showReadTime"])||Ve(n,["showReadTime"],!0),s=Ve(r,["read-time"],0),u=i?"light":At(l.theme);if(!c||!s)return null;var d=Ve(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+Ye("read-time-wrapper ".concat(u),nr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(tr,{color:u})),e.createElement("span",null,s," ",d)))};ar.propTypes={story:l.shape({"read-time":l.number}),opts:l.shape({showReadTime:l.bool}),isLightTheme:l.bool};var ir={"./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"}},lr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=Ke()||{},d=Ve(c,["showAuthor"],Ve(u,["showAuthor"],!0)),m=Ve(u,["showTime"],!0),h=Ve(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":At(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+Ye("".concat(p),ir)},"divider"===o?e.createElement(or,{color:g}):e.createElement(tr,{color:g})),e.createElement($t,{story:r,config:c}),h&&e.createElement(ar,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+Ye("author-time-wrapper ".concat(f),ir)},d?e.createElement(e.Fragment,null,e.createElement(Xt,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};function cr(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 sr(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 cr(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)?cr(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.")}()}lr.propTypes={story:l.object,separator:l.oneOf(["dot","divider"]),hideAuthorImage:l.bool,isBottom:l.bool,prefix:l.string,config:l.object,isLightTheme:l.bool},lr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var ur=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"}))))};ur.propTypes={width:l.object,height:l.object,iconColor:l.object};var dr=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(ur,null)))},mr=function(t){var r=t.slug;return r?e.createElement(s,{href:r,"aria-label":"image-fallback"},dr()):dr()};mr.propTypes={slug:l.string};var hr={"./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"}},fr=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,l=t.isHorizontal,c=t.isHorizontalMobile,m=t.isHorizontalWithImageLast,h=t.defaultFallback,f=t.isStoryPageImage,p=(Ke()||{}).fallbackImageUrl,v=void 0===p?"":p,b=g((function(e){return Ve(e,["qt","config","showPlaceholder"])}))?"placeholder":"",_=o?"":"with-padding",y="hero-image";l?y="right-padding":m&&(y="left-padding");var w=c?"right-padding-mob":"",E=function(e){var t=sr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},x=sr(n,2),L=x[0],T=x[1],z=void 0===T?L:T,C=Mt("mobile"),k=C?L:z,j=E(C?L:z),N=Ve(r,["hero-image-s3-key"])||Ve(r,["alternative","home","default","hero-image","hero-image-s3-key"]),S=function(){return N?e.createElement("figure",{style:{paddingTop:j+"%"},className:"arr--responsive-hero-image "+Ye("image ".concat(b),hr)},e.createElement(d,{story:r,aspectRatio:k,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:j+"%"},className:"arr--responsive-hero-image "+Ye("image ".concat(b),hr)},e.createElement(u,{slug:!f&&v,metadata:{},"aspect-ratio":k,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,h?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:j+"%"},className:"arr--fallback-hero-image "+Ye("image ".concat(b),hr)},e.createElement(mr,null)):null)};return r&&(f?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+Ye("".concat(y," ").concat(_," ").concat(w),hr)},S()):e.createElement(s,{"data-test-id":"arr--hero-image",href:Pt(r,"/".concat(r.slug)),externalLink:Ht(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+Ye("".concat(y," ").concat(_," ").concat(w),hr)},S()))};fr.propTypes={story:l.object.isRequired,FullBleed:l.bool,defaultWidth:l.number,widths:l.array,aspectRatio:l.array,isHorizontal:l.bool,isHorizontalMobile:l.bool,defaultFallback:l.bool,isHorizontalWithImageLast:l.bool},fr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var pr={"./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"}},gr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,l=t.isLightTheme,c=Ke()||{},u=Ve(c,["showSection"],!0),d=Ve(c,["sectionTagTemplate"]),m=Ve(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:c.theme,g=l?"light":At(p),v=Ot(i),b=h.includes(n)?"section section-".concat(n):"section";return d&&(b=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(s,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:b.includes("section-solid")?v:""},className:"section-tag arrow-component "+Ye("".concat(g," ").concat(b),pr)},b.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};gr.propTypes={story:l.object.isRequired,template:l.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:l.string,solidBorderColor:l.string,isLightTheme:l.bool},gr.defaultProps={template:"",isLightTheme:!1};var vr={"./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"}},br=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"===Qe(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 w=c?"backgroung-img":"",E=s?"content-overlap":"",x=At(u),L=m?"horizontal-mob":"",T=e.createElement(_r,{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 "+Ye("card ".concat(y," ").concat(_," ").concat(x," ").concat(w," ").concat(E," ").concat(L),vr)},n||T)},_r=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=Ot(u),v=f.localizationConfig,b=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(fr,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(fr,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(fr,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+Ye("content ".concat(p),vr)},e.createElement(gr,{story:r,borderColor:g}),e.createElement(Zt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(lr,{config:b,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(Jt,{story:r})))};_r.propTypes={story:l.object.isRequired,border:l.oneOfType([l.string]),isBottom:l.bool,isHorizontal:l.bool,aspectRatio:l.oneOfType([l.array]),isHorizontalMobile:l.bool,centerAlign:l.bool,headerLevel:l.string,borderColor:l.string,hideAuthorImage:l.bool,prefix:l.string,config:l.object,isHorizontalWithImageLast:l.bool},br.propTypes={story:l.object.isRequired,children:l.node,isHorizontal:l.bool,border:l.oneOfType([l.string]),useImageAsBackground:l.bool,bgImgContentOverlap:l.bool,aspectRatio:l.oneOfType([l.array]),theme:l.string,isHorizontalMobile:l.bool,centerAlign:l.bool,headerLevel:l.string,borderColor:l.string,hideAuthorImage:l.bool,prefix:l.string,config:l.object,isHorizontalWithImageLast:l.bool},br.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var yr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},wr=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=At(n),d=Ot(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 "+Ye("wrapper ".concat(m," ").concat(h),yr)},o||e.createElement(Er,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},Er=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Ot(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(gr,{story:r,borderColor:l}),e.createElement(Zt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(lr,{config:s,story:r}))};Er.propTypes={story:l.object.isRequired,border:l.string,theme:l.string,isHorizontalMobile:l.bool,headerLevel:l.string,borderColor:l.string,config:l.object},wr.propTypes={story:l.object.isRequired,children:l.node,theme:l.string,border:l.string,isHorizontalMobile:l.bool,headerLevel:l.string,borderColor:l.string,config:l.object};var xr={"./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"}},Lr=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,c=t.customCollectionName,u=void 0===c?"":c,d=t.navigate,m=void 0===d||d,h=Ke()||{},f=Ve(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Rt(n,a)||"",v=u||n.name||"",b=At(h.theme),_="h"+l,y=Ot(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=Mt("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+Ye("collection ".concat(b," ").concat(p),xr)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(E)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(s,{href:g,"aria-label":"collection-name"},e.createElement(_,null,v)):e.createElement(_,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};Lr.propTypes={collectionNameBorderColor:c.string,collection:c.object,config:c.object,collectionNameTemplate:c.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:c.string,customCollectionName:c.string,navigate:c.bool},Lr.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Tr=p((function(e){return{config:Ve(e,["qt","config"],{})}}))(Lr);function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cr={"./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 kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function jr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(r),!0).forEach((function(t){zr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nr=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,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 _=At(g),y=b?"/".concat(b):Bt(n,jr(jr({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+Ye("button ".concat(_," default"),Cr)},f):e.createElement(m,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+Ye("button ".concat(_," default"),Cr)},f))};Nr.propTypes={collection:l.object,template:l.string,config:l.object,onClick:l.func,navigate:l.func,qtConfig:l.object};var Sr="undefined"!=typeof window,Or=function(){return Promise.resolve(Sr&&!(void 0!==window.IntersectionObserver)&&import("intersection-observer"))},Ir={root:null,rootMargin:"200px 0px 0px 0px"},Mr=function(e,t){e.filter((function(e){return e.isIntersecting})).forEach((function(e){e.target._onIntersect(t)}))},Ar=function(e){var t=e.ref,r=sr(o(!1),2),a=r[0],i=r[1];return n((function(){var e=t.current;if(e)return Or().then((function(e){if(Sr)return new window.IntersectionObserver(Mr,Ir)})).then((function(t){return t.observe(e)})),e._onIntersect=function(t){i(!0),t.unobserve(e)},function(){return e._isSubscribed=!1}}),[t]),a},Rr={__html:""},Hr="undefined"==typeof window,Pr=function(t){var r=t.children,o=a(null),i=Ar({ref:o});return n((function(){var e=o.current;if(i){var t=e.hasChildNodes()?"hydrate":"render";b[t](r,e)}}),[r,i]),Hr?e.createElement("div",{ref:o},r):e.createElement("div",{ref:o,suppressHydrationWarning:!0,dangerouslySetInnerHTML:Rr})};Pr.propTypes={children:l.element};var Br=function(t){var r=t.collection,o=t.componentName,n=t.offset,a=t.limit;return 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})};Br.propTypes={collection:l.shape({id:l.string,slug:l.string}),componentName:l.string,offset:l.number,limit:l.number};var Fr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=t.getMoreStories,l=t.isLoadMoreVisible,c=t.isLoading,s=t.isolatedLoadMore,u=n.collectionNameBorderColor,d=void 0===u?"":u,m=n.borderColor,f=void 0===m?"":m,p=n.theme,b=void 0===p?"":p,_=n.slotConfig,y=void 0===_?[]:_,w=n.border,E=void 0===w?"":w,x=n.collectionNameTemplate,L=void 0===x?"":x,T=n.footerSlotConfig,z=void 0===T?{}:T,C=n.footerButton,k=void 0===C?"":C,j=h(r);if(!j.length)return null;var N=At(b),S=z.footerSlot,O=S?S():null,I=Ve(y,[0],{}),M=I.type,A=void 0===M?"":M,R=I.component,H="ad"===A||"widget"===A?function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(A,R):null,P=v(),B=g((function(e){return Ve(e,["qt","config"],{})})),F=function(t){return e.createElement("div",{className:"three-col-m_cards__2HyyK"},e.createElement(br,{story:t,border:E,theme:b,isHorizontalMobile:!0,config:n},e.createElement(fr,{aspectRatio:[[16,9]],story:t,isHorizontalMobile:!0}),e.createElement(wr,{theme:b,border:E,story:t,isHorizontalMobile:!0,borderColor:f,config:n})))};return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"three-col-grid",style:{backgroundColor:b,color:N}},e.createElement("div",{className:"three-col-m_three-col-grid__y7rZK"},e.createElement(Tr,{collection:r,collectionNameTemplate:L,collectionNameBorderColor:d}),e.createElement("div",{className:"three-col-m_wrapper__20m5m"},j.slice(0,2).map((function(t,r){return e.createElement(i,{key:"story-3col1-".concat(r,"-").concat(Ve(t,["id"],"0"))},F(t))})),j.length<2&&e.createElement("div",null),H,j.slice(2).map((function(t,r){return e.createElement(i,{key:"story-3col1-".concat(r,"-").concat(Ve(t,["id"],"0"))},F(t))}))),function(t){if(!l)return null;if(s)return e.createElement(Br,{collection:r,componentName:"ThreeColGrid",offset:j.length,limit:3});var o=Bt(r,B);return e.createElement(Pr,null,e.createElement(Nr,{config:n,collection:r,template:k,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)}(P,o)},qtConfig:B}))}({isLoading:c,storyItems:j,getMoreStories:a}),O))};Fr.propTypes={collection:l.object.isRequired,config:l.shape({theme:l.string,border:l.bool,slotConfig:l.array,footerButton:l.string,collectionNameTemplate:l.string,collectionNameBorderColor:l.string}),getMoreStories:l.func,isLoadMoreVisible:l.bool,isLoading:l.bool,isolatedLoadMore:l.bool},Fr.defaultProps={getMoreStories:function(){},isLoadMoreVisible:!0,isLoading:!1};var Dr,Wr=(Dr=Fr,function(t){return e.createElement($e.Provider,{value:t.config},e.createElement(Dr,t))});export{Wr as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r}from"react";import{Link as o,ResponsiveImage as n,ResponsiveHeroImage as a,LinkBase as i,collectionToStories as l}from"@quintype/components";import c,{PropTypes as s}from"prop-types";import u from"react-timeago";import{connect as d,useSelector as m,useDispatch as h}from"react-redux";var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g(e){var t={exports:{}};return e(t,t.exports),t.exports}var v=g((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),_=p(g((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=v)&&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(" "):""}}))),b=Array.isArray,y="object"==typeof f&&f&&f.Object===Object&&f,w="object"==typeof self&&self&&self.Object===Object&&self,E=y||w||Function("return this")(),x=E.Symbol,z=Object.prototype,T=z.hasOwnProperty,L=z.toString,C=x?x.toStringTag:void 0;var k=function(e){var t=T.call(e,C),r=e[C];try{e[C]=void 0;var o=!0}catch(e){}var n=L.call(e);return o&&(t?e[C]=r:delete e[C]),n},N=Object.prototype.toString;var j=function(e){return N.call(e)},O=x?x.toStringTag:void 0;var S=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":O&&O in Object(e)?k(e):j(e)};var A=function(e){return null!=e&&"object"==typeof e};var I=function(e){return"symbol"==typeof e||A(e)&&"[object Symbol]"==S(e)},R=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,M=/^\w*$/;var H=function(e,t){if(b(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!I(e))||(M.test(e)||!R.test(e)||null!=t&&e in Object(t))};var P=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var B,F=function(e){if(!P(e))return!1;var t=S(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},D=E["__core-js_shared__"],W=(B=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"";var q=function(e){return!!W&&W in e},U=Function.prototype.toString;var G=function(e){if(null!=e){try{return U.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Z=/^\[object .+?Constructor\]$/,V=Function.prototype,J=Object.prototype,Y=V.toString,$=J.hasOwnProperty,K=RegExp("^"+Y.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Q=function(e){return!(!P(e)||q(e))&&(F(e)?K:Z).test(G(e))};var X=function(e,t){return null==e?void 0:e[t]};var ee=function(e,t){var r=X(e,t);return Q(r)?r:void 0},te=ee(Object,"create");var re=function(){this.__data__=te?te(null):{},this.size=0};var oe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne=Object.prototype.hasOwnProperty;var ae=function(e){var t=this.__data__;if(te){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ne.call(t,e)?t[e]:void 0},ie=Object.prototype.hasOwnProperty;var le=function(e){var t=this.__data__;return te?void 0!==t[e]:ie.call(t,e)};var ce=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=te&&void 0===t?"__lodash_hash_undefined__":t,this};function se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}se.prototype.clear=re,se.prototype.delete=oe,se.prototype.get=ae,se.prototype.has=le,se.prototype.set=ce;var ue=se;var de=function(){this.__data__=[],this.size=0};var me=function(e,t){return e===t||e!=e&&t!=t};var he=function(e,t){for(var r=e.length;r--;)if(me(e[r][0],t))return r;return-1},fe=Array.prototype.splice;var pe=function(e){var t=this.__data__,r=he(t,e);return!(r<0)&&(r==t.length-1?t.pop():fe.call(t,r,1),--this.size,!0)};var ge=function(e){var t=this.__data__,r=he(t,e);return r<0?void 0:t[r][1]};var ve=function(e){return he(this.__data__,e)>-1};var _e=function(e,t){var r=this.__data__,o=he(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}be.prototype.clear=de,be.prototype.delete=pe,be.prototype.get=ge,be.prototype.has=ve,be.prototype.set=_e;var ye=be,we=ee(E,"Map");var Ee=function(){this.size=0,this.__data__={hash:new ue,map:new(we||ye),string:new ue}};var xe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ze=function(e,t){var r=e.__data__;return xe(t)?r["string"==typeof t?"string":"hash"]:r.map};var Te=function(e){var t=ze(this,e).delete(e);return this.size-=t?1:0,t};var Le=function(e){return ze(this,e).get(e)};var Ce=function(e){return ze(this,e).has(e)};var ke=function(e,t){var r=ze(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,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=Te,Ne.prototype.get=Le,Ne.prototype.has=Ce,Ne.prototype.set=ke;var je=Ne;function Oe(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(Oe.Cache||je),r}Oe.Cache=je;var Se=Oe;var Ae=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/\\(\\)?/g,Re=function(e){var t=Se(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(Ae,(function(e,r,o,n){t.push(o?n.replace(Ie,"$1"):r||e)})),t}));var Me=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},He=x?x.prototype:void 0,Pe=He?He.toString:void 0;var Be=function e(t){if("string"==typeof t)return t;if(b(t))return Me(t,e)+"";if(I(t))return Pe?Pe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Fe=function(e){return null==e?"":Be(e)};var De=function(e,t){return b(e)?e:H(e,t)?[e]:Re(Fe(e))};var We=function(e){if("string"==typeof e||I(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var qe=function(e,t){for(var r=0,o=(t=De(t,e)).length;null!=e&&r<o;)e=e[We(t[r++])];return r&&r==o?e:void 0};var Ue=function(e,t,r){var o=null==e?void 0:qe(e,t);return void 0===o?r:o};function Ge(e){return(Ge="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)}g((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 k(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 j()}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 _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(N([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function z(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 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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(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(z.prototype),c(z.prototype,i,(function(){return this})),e.AsyncIterator=z,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new z(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,k.prototype={constructor:k,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(C),!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),C(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;C(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 Ze=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 Ve=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"}),Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ye=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var $e=function(e){return(e=Fe(e))&&e.replace(Je,Ve).replace(Ye,"")},Ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Qe=function(e){return e.match(Ke)||[]},Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var et=function(e){return Xe.test(e)},tt="\\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",rt="["+tt+"]",ot="\\d+",nt="[\\u2700-\\u27bf]",at="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+tt+ot+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",st="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ut="(?:"+at+"|"+it+")",dt="(?:"+st+"|"+it+")",mt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ht="[\\ufe0e\\ufe0f]?"+mt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",lt,ct].join("|")+")[\\ufe0e\\ufe0f]?"+mt+")*"),ft="(?:"+[nt,lt,ct].join("|")+")"+ht,pt=RegExp([st+"?"+at+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rt,st,"$"].join("|")+")",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rt,st+ut,"$"].join("|")+")",st+"?"+ut+"+(?:['’](?:d|ll|m|re|s|t|ve))?",st+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ot,ft].join("|"),"g");var gt=function(e){return e.match(pt)||[]};var vt=function(e,t,r){return e=Fe(e),void 0===(t=r?void 0:t)?et(e)?gt(e):Qe(e):e.match(t)||[]},_t=RegExp("['’]","g");var bt=function(e){return function(t){return Ze(vt($e(t).replace(_t,"")),e,"")}},yt=bt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),wt=bt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function Et(e,t,r,o,n){var a,i=Ue(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?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=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=yt(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,z=xt(o),T=z;if(w&&(v=Ue(w,[wt(g)])||g),y){var L=z.includes("am"),C=y.am,k=void 0===C?"am":C,N=y.pm,j=void 0===N?"pm":N;T=(L?z.replace("am",k):z.replace("pm",j))||z}return"rtl"===x?(_=i?"".concat(T):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(T,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(T):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,n):e>1?(a=Ue(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ue(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function xt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var zt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Tt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Lt={mobile:767,tablet:1024},Ct=function(e){var t=Ue(Lt,e);return!!t&&Ue(global,"document.documentElement.clientWidth")<=t},kt=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:Tt(e),o=zt(r)<155?"light":"dark";return o},Nt=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=Ue(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 jt(){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?Ue(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 Ot=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ue(e,["story-template"])?Ue(e,["metadata","reference-url"],""):e.url||t},St=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?Nt(e,t):"/"},At=t(),It=function(){return r(At)},Rt={"./collection-name.m.css":{collection:"collection-name-m_collection__JD6sx","collection-borderLeft":"collection-name-m_collection-borderLeft__3Dznk","border-left":"collection-name-m_border-left__3_pYw","collection-borderBottomFull":"collection-name-m_collection-borderBottomFull__Dkq3K","collection-borderBottom":"collection-name-m_collection-borderBottom__2rdQM","collection-crossLine":"collection-name-m_collection-crossLine__1sIpN","border-bottom":"collection-name-m_border-bottom__1MnlV",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN"}},Mt=function(t){var r=t.collectionNameBorderColor,n=void 0===r?"":r,a=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,m=void 0===d||d,h=It()||{},f=Ue(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",g=m&&a&&Nt(a,i)||"",v=u||a.name||"",b=kt(h.theme),y="h"+c,w=Tt(n),E=p.includes("collection-borderBottomFull")?"4px solid ".concat(w):"",x=Ct("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+_("collection ".concat(b," ").concat(p),Rt)},p.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":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(o,{href:g,"aria-label":"collection-name"},e.createElement(y,null,v)):e.createElement(y,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(w)}}):""))};Mt.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},Mt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Ht=d((function(e){return{config:Ue(e,["qt","config"],{})}}))(Mt),Pt=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"}))))))};Pt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Bt=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)"})))))};Bt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Ft=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"}))))))};Ft.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Dt=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"}))))};Dt.propTypes={height:c.string,width:c.string,color:c.string,positionTop:c.string};var Wt=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(Pt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Ft,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Bt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Dt,{width:r,height:o,color:n,positionTop:i})}};Wt.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"}},Ut=function(t){var r=t.story,n=t.headerLevel,a=t.premiumStoryIconConfig,i=void 0===a?{}:a,l=t.isLink,c=It()||{},s=i.iconColor,u=void 0===s?"#F7B500":s,d=i.iconStyle,m=void 0===d?"star":d,h=i.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ue(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ue(r,["access"]),v=p||r.headline,b="h"+n,y=kt(c.theme),w=g?"wrapper":"",E="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+_(w,qt)},g&&e.createElement(Wt,{width:E,height:E,color:u,iconType:m,positionTop:function(){switch(parseInt(n)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),l?e.createElement(o,{href:Ot(r,"/".concat(r.slug)),externalLink:jt(r),"aria-label":"headline"},e.createElement(b,{className:_("headline ".concat(y),qt)},v)):e.createElement(b,{className:_("headline ".concat(y),qt)},v))};Ut.propTypes={story:c.object.isRequired,headerLevel:c.string,premiumStoryIconConfig:c.shape({iconColor:c.string,iconType:c.string,enablePremiumStoryIcon:c.bool}),isLink:c.bool},Ut.defaultProps={headerLevel:"6",isLink:!0};var Gt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Zt=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=It()||{};if(!(c||Ue(u,["showSubheadline"],!0)))return null;var d=kt(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+_("subheadline ".concat(d),Gt)},s||"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))};Zt.propTypes={story:c.object.isRequired,lineClamp:c.number,truncateChars:c.number,clazzName:c.string,forceShowAtom:c.bool,showFullContent:c.bool},Zt.defaultProps={forceShowAtom:!1,showFullContent:!1};var Vt={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},Jt=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=It()||{},l=Ue(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",d=kt(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+_("time ".concat(d," ").concat(s),Vt)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(u,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Et,a))))};Jt.propTypes={story:c.object,isBottom:c.bool,config:c.object};var Yt={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},$t=function(t){var r=t.story,a=t.hideAuthorImage,i=t.isBottom,l=t.prefix,c=void 0===l?"":l,s=t.config,u=void 0===s?{}:s,d=It()||{},m=Ue(d,["showAuthor"],!0),h=Ue(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,b=i?"bottom-fix":"",y=kt(d.theme),w=Ue(u,["mountAt"],""),E=function(t){return c?e.createElement("div",{className:"arr-author-prefix "+_("prefix ".concat(y),Yt)},c):!a&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:_("author-image ".concat(t,"-image"),Yt)},e.createElement("figure",null,p?e.createElement(n,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(o,{href:"".concat(w,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+_("author ".concat(b),Yt)},E("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+_("author-name ".concat(y),Yt)},g||r["author-name"]),!c&&E("rtl")))};var Kt=d((function(e){return{config:Ue(e,["qt","config"],{})}}))($t);$t.propTypes={story:c.object.isRequired,hideAuthorImage:c.bool,isBottom:c.bool,prefix:c.string,config:c.object},$t.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var Qt={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},Xt=function(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:_(l,Qt)},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)"})))};Xt.propTypes={color:c.string,width:c.string,height:c.string};var er={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},tr=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:_(l,er)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};tr.propTypes={color:c.string,width:c.string,height:c.string};var rr={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_","dot-indicator":"read-time-m_dot-indicator__3Sqh2",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},or=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=It()||{},c=Ue(l,["showReadTime"])||Ue(n,["showReadTime"],!0),s=Ue(r,["read-time"],0),u=i?"light":kt(l.theme);if(!c||!s)return null;var d=Ue(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+_("read-time-wrapper ".concat(u),rr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(Xt,{color:u})),e.createElement("span",null,s," ",d)))};or.propTypes={story:c.shape({"read-time":c.number}),opts:c.shape({showReadTime:c.bool}),isLightTheme:c.bool};var nr={"./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"}},ar=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=It()||{},d=Ue(c,["showAuthor"],Ue(u,["showAuthor"],!0)),m=Ue(u,["showTime"],!0),h=Ue(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":kt(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+_("".concat(p),nr)},"divider"===o?e.createElement(tr,{color:g}):e.createElement(Xt,{color:g})),e.createElement(Jt,{story:r,config:c}),h&&e.createElement(or,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+_("author-time-wrapper ".concat(f),nr)},d?e.createElement(e.Fragment,null,e.createElement(Kt,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};function ir(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 lr(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 ir(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)?ir(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.")}()}ar.propTypes={story:c.object,separator:c.oneOf(["dot","divider"]),hideAuthorImage:c.bool,isBottom:c.bool,prefix:c.string,config:c.object,isLightTheme:c.bool},ar.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var cr=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"}))))};cr.propTypes={width:c.object,height:c.object,iconColor:c.object};var sr=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(cr,null)))},ur=function(t){var r=t.slug;return r?e.createElement(o,{href:r,"aria-label":"image-fallback"},sr()):sr()};ur.propTypes={slug:c.string};var dr={"./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"}},mr=function(t){var r=t.story,i=t.FullBleed,l=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,d=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(It()||{}).fallbackImageUrl,v=void 0===g?"":g,b=m((function(e){return Ue(e,["qt","config","showPlaceholder"])}))?"placeholder":"",y=i?"":"with-padding",w="hero-image";u?w="right-padding":h&&(w="left-padding");var E=d?"right-padding-mob":"",x=function(e){var t=lr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},z=lr(l,2),T=z[0],L=z[1],C=void 0===L?T:L,k=Ct("mobile"),N=k?T:C,j=x(k?T:C),O=Ue(r,["hero-image-s3-key"])||Ue(r,["alternative","home","default","hero-image","hero-image-s3-key"]),S=function(){return O?e.createElement("figure",{style:{paddingTop:j+"%"},className:"arr--responsive-hero-image "+_("image ".concat(b),dr)},e.createElement(a,{story:r,aspectRatio:N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:j+"%"},className:"arr--responsive-hero-image "+_("image ".concat(b),dr)},e.createElement(n,{slug:!p&&v,metadata:{},"aspect-ratio":N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:j+"%"},className:"arr--fallback-hero-image "+_("image ".concat(b),dr)},e.createElement(ur,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+_("".concat(w," ").concat(y," ").concat(E),dr)},S()):e.createElement(o,{"data-test-id":"arr--hero-image",href:Ot(r,"/".concat(r.slug)),externalLink:jt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+_("".concat(w," ").concat(y," ").concat(E),dr)},S()))};mr.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},mr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var hr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},fr=function(t){var r=t.story,n=t.template,a=void 0===n?"":n,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=It()||{},u=Ue(s,["showSection"],!0),d=Ue(s,["sectionTagTemplate"]),m=Ue(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===a||"solid"===d?l:s.theme,g=c?"light":kt(p),v=Tt(l),b=h.includes(a)?"section section-".concat(a):"section";return d&&(b=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(o,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:b.includes("section-solid")?v:""},className:"section-tag arrow-component "+_("".concat(g," ").concat(b),hr)},b.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===a?"":v)}}))):null};fr.propTypes={story:c.object.isRequired,template:c.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:c.string,solidBorderColor:c.string,isLightTheme:c.bool},fr.defaultProps={template:"",isLightTheme:!1};var pr={"./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"}},gr=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"===Ge(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):"",w="default-card";a?w="horizontal-card":b&&(w="horizontal-image-last");var E=c?"backgroung-img":"",x=s?"content-overlap":"",z=kt(u),T=m?"horizontal-mob":"",L=e.createElement(vr,{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:z},className:"arr--story-card "+_("card ".concat(w," ").concat(y," ").concat(z," ").concat(E," ").concat(x," ").concat(T),pr)},n||L)},vr=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=Tt(u),v=f.localizationConfig,b=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(mr,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(mr,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(mr,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+_("content ".concat(p),pr)},e.createElement(fr,{story:r,borderColor:g}),e.createElement(Ut,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(ar,{config:b,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(Zt,{story:r})))};vr.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},gr.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},gr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var _r={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},br=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=kt(n),d=Tt(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 "+_("wrapper ".concat(m," ").concat(h),_r)},o||e.createElement(yr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},yr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Tt(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(fr,{story:r,borderColor:l}),e.createElement(Ut,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(ar,{config:s,story:r}))};function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}yr.propTypes={story:c.object.isRequired,border:c.string,theme:c.string,isHorizontalMobile:c.bool,headerLevel:c.string,borderColor:c.string,config:c.object},br.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 Er={"./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 xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xr(Object(r),!0).forEach((function(t){wr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Tr=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,l=void 0===a?"SubsequentLoadCount":a,c=t.onClick,s=t.navigate,u=t.qtConfig,d=o.showButton,m=void 0===d||d,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(!m)return null;var y=kt(g),w=b?"/".concat(b):St(n,zr(zr({},u),o));return"SubsequentLoadCount"===l?e.createElement("div",{onClick:c,"data-test-id":"load-more",className:"arr--button "+_("button ".concat(y," default"),Er)},f):e.createElement(i,{href:w,navigateTo:s,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+_("button ".concat(y," default"),Er)},f))};Tr.propTypes={collection:c.object,template:c.string,config:c.object,onClick:c.func,navigate:c.func,qtConfig:c.object};var Lr={"./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"}},Cr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=l(r);if(a.length<1)return null;var i=n.collectionNameBorderColor,c=void 0===i?"":i,s=n.borderColor,u=void 0===s?"":s,d=n.border,f=void 0===d?"":d,p=n.theme,g=void 0===p?"":p,v=n.slotConfig,b=void 0===v?[]:v,y=n.collectionNameTemplate,w=void 0===y?"":y,E=n.footerSlotConfig,x=void 0===E?{}:E,z=n.footerButton,T=void 0===z?"":z,L=n.customCollectionName,C=n.navigate,k=void 0===C||C,N=x.footerSlot,j=Ue(b,[0],{}),O=j.type,S=void 0===O?"story":O,A=j.component,I="bottom"===f?"card-bottom":"card",R="ad"===b?"border-unset":"",M=h(),H=m((function(e){return Ue(e,["qt","config"],{})})),P=St(r,H),B=function(t){return e.createElement(gr,{story:t,theme:g,border:f,isHorizontal:!0,config:n},e.createElement(mr,{story:t,isHorizontal:!0,aspectRatio:[[1,1]]}),e.createElement(br,{theme:g,border:f,story:t,borderColor:u,config:n}))},F=function(t){return e.createElement(gr,{story:t,theme:g,isHorizontal:!0,config:n},e.createElement(mr,{story:t,isHorizontal:!0,aspectRatio:[[1,1]]}),e.createElement(br,{theme:g,story:t,borderColor:u,config:n}))},D=function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(S,A,(function(){return e.createElement("div",null,a.slice(5,6).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:_("".concat(I),Lr)},B(t))})),a.slice(6,7).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:_("".concat(I),Lr)},F(t))})))})),W=N?N():null,q=kt(g),U="bottom"===f?"cards":"";return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"three-col-seven-stories",style:{backgroundColor:g,color:q}},e.createElement("div",{className:"three-col-seven-story-m_wrapper__2mAv0"},e.createElement(Ht,{collection:r,collectionNameTemplate:w,collectionNameBorderColor:c,customCollectionName:L,navigate:k}),e.createElement("div",{className:"three-col-seven-story-m_three-col-five-stories__7aVjy"},e.createElement("div",{className:_("".concat(U),Lr)},a.slice(0,1).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:_("".concat(I),Lr)},e.createElement(gr,{story:t,theme:g,aspectRatio:[[16,9],[16,9]],headerLevel:"5",borderColor:u,config:n}))}))),e.createElement("div",{className:_("".concat(U),Lr)},a.slice(1,3).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:_("".concat(I),Lr)},B(t))})),a.slice(3,4).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:_("".concat(I),Lr)},F(t))}))),e.createElement("div",null,a.slice(4,5).map((function(t,r){return e.createElement("div",{key:"default-".concat(r),className:_("".concat(I," ").concat(R),Lr)},B(t))})),e.createElement("div",{className:"three-col-seven-story-m_ads__2YttJ"},D))),e.createElement(Tr,{template:T,collection:r,config:n,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(M,P)},qtConfig:H}),W))};Cr.propTypes={collection:c.object.isRequired,config:c.shape({borderColor:c.string,theme:c.string,border:c.string,slotConfig:c.array,footerButton:c.string,collectionNameTemplate:c.string,collectionNameBorderColor:c.string})};var kr,Nr=(kr=Cr,function(t){return e.createElement(At.Provider,{value:t.config},e.createElement(kr,t))});export{Nr as default};
|