"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6951],{96951:function(e,t,r){r.d(t,{Z:function(){return ce}});var n=r(59499),i=r(4730),o=r(11163),c=r(87379),a=r(69135),s=r(5152),l=r.n(s),u=r(22401),d=r(53575),p=r(22629),f=r(1216),h=r(67294),g=r(85893),m=c.ZP.div.withConfig({displayName:"LightBoxImage__Container",componentId:"sc-1pg06kg-0"})(["position:relative;width:100%;overflow:hidden;margin:auto;text-align:center;img{","}"],(function(e){return!e.isOpen&&"cursor: zoom-in;"})),b=c.ZP.div.withConfig({displayName:"LightBoxImage__LightBoxContainer",componentId:"sc-1pg06kg-1"})(["cursor:pointer;position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,0.8);top:0;left:0;z-index:10;display:flex;justify-content:center;align-items:center;img{max-width:90vw;max-height:90vh;object-fit:contain;}"]),x=function(e){var t=e.src,r=e.alt,n=e.width,i=e.height,o=(0,h.useState)(!1),c=o[0],a=o[1],s=n&&i;return(0,g.jsxs)(m,{dynamic:!s,isOpen:c,role:"presentation",onClick:function(e){e.target instanceof HTMLElement&&e.target.closest("a")||a((function(e){return!e}))},children:[c&&(0,g.jsx)(b,{children:(0,g.jsx)("img",{src:t,alt:r})}),(0,g.jsx)("img",{src:t,alt:r})]})},j=["children"];function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t ul{margin-left:16px;}"],(function(e){return e.theme.mediaQueries.medium})),Q=(0,c.ZP)(d.xu).withConfig({displayName:"Renderer__BlockquoteBox",componentId:"mfgg8t-2"})(["border-left:4px solid ",";background:#f8fafd;line-height:1.4;word-break:break-word;> *{padding-bottom:16px;}"],(function(e){return e.theme.colors.primary})),X=c.ZP.figcaption.withConfig({displayName:"Renderer__Figcaption",componentId:"mfgg8t-3"})(["margin-top:12px;font-size:14px;line-height:22px;text-align:center;a{font-size:14px;}"]),Y=function(e){var t,r,n=e.children,o=(0,i.Z)(e,L);"twitter-tweet"===o.class&&null!==n&&void 0!==n&&n[2]&&(t=null===(r=n[2].props)||void 0===r?void 0:r.href.match(/\d+/)[0]);return t?(0,g.jsx)(d.xu,{mb:5,children:(0,g.jsx)(C.iD,{tweetId:t})}):(0,g.jsx)(Q,B(B({as:"blockquote",py:6,px:5,my:5,fontSize:3},o),{},{children:n}))},G=function(e){var t=e.children;return(0,g.jsx)(d.xu,{as:"hr",mx:0,my:8,sx:{border:0,height:"1px",backgroundImage:"linear-gradient(to right, rgba(0, 0, 0, 0), rgba(41, 41, 41, 0.75), rgba(0, 0, 0, 0))"},children:t})},U=function(e){var t=(0,a.useAmp)(),r=e.src,n=e.alt;e.width,e.height;return r.includes("blob:")?null:t?(0,g.jsx)(M,{children:(0,g.jsx)("amp-img",{src:r,alt:n,layout:"fill"})}):(0,g.jsx)(f.ZP,{height:200,once:!0,offset:300,children:(0,g.jsx)(x,{src:r,alt:n})})},V=function(e){var t=e.href,r=e.children,n=e.rel,i=e.style,o=null===t||void 0===t?void 0:t.startsWith("https://s3.coinmarketcap.com/uploads/"),a=i?(0,c.ZP)(d.rU).withConfig({displayName:"Renderer__Comp",componentId:"mfgg8t-4"})(["",""],i):d.rU;return(0,g.jsx)(a,{href:t,onClick:function(){o&&(0,T.L9)({category:"AlexandriaArticleReport",name:"Download",data:t})},color:"link",fontSize:[2,3],rel:n,children:r})},J=function(e){var t=e.children,r=(0,i.Z)(e,W);return(0,g.jsx)("script",B(B({},r),{},{dangerouslySetInnerHTML:t&&{__html:t}}))},K=function(e){var t,r=e.children,n=e.class,o=(e.style,(0,i.Z)(e,A));return"exco"===n||"html-block"===n||null!==n&&void 0!==n&&n.includes("jotform")?r&&(r.length&&r.find&&r.find((function(e){var t;return"twitter-tweet"===(null===(t=e.props)||void 0===t?void 0:t.class)}))||"twitter-tweet"===(null===(t=r.props)||void 0===t?void 0:t.class))?(0,g.jsx)("div",B(B({className:n},o),{},{children:r})):(console.log("+++xxxx",r),(0,g.jsx)(d.xu,{mb:5,children:(0,g.jsx)(p.Y,B(B({className:n},o),{},{children:r}))})):(0,g.jsx)("div",B(B({className:n},o),{},{children:r}))},$=function(e){var t=e.src,r=e.width,n=void 0===r?"200":r,i=e.height,o=void 0===i?"300":i,c=e.frameborder;return(0,a.useAmp)()?(0,g.jsx)("amp-iframe",{src:t,width:n,height:o,frameborder:c,sandbox:"allow-scripts allow-same-origin",layout:"responsive"}):(0,g.jsx)("iframe",{loading:"lazy",title:"article-iframe",src:t,width:n,height:o,frameBorder:c})};$.defaultProps={frameborder:0};var ee=function(e){var t=e.as,r=e.scale,n=e.id,i=e.children;return(0,g.jsx)(d.X6,{as:t,scale:r,id:n,mb:5,children:i})};ee.defaultProps={id:null};var te=c.ZP.div.withConfig({displayName:"Renderer__PlayerWrapper",componentId:"mfgg8t-5"})(["position:relative;padding-top:56.25%;background:black;> *{position:absolute;top:0;left:0;}"]);function re(e){var t=(0,o.useRouter)();return(0,g.jsx)(te,{children:(0,g.jsx)(R.Z,{width:"100%",height:"100%",controls:!0,url:e.url,onPlay:function(){var e=window.location.origin?window.location.origin:"";(0,T.L9)({category:"Content",name:"Video",data:"Start | ".concat(e).concat(t.basePath).concat(t.asPath)})}})})}var ne=c.ZP.div.withConfig({displayName:"Renderer__TwitterEmbedWrapper",componentId:"mfgg8t-6"})(['display:flex;justify-content:center;align-items:"center";margin:1rem 0;']);function ie(e){return(0,g.jsx)(ne,{children:(0,g.jsx)(q,{style:{maxWidth:550},width:"100%",url:e.url})})}var oe=(0,c.ZP)(d.xv).withConfig({displayName:"Renderer___StyledText",componentId:"mfgg8t-7"})(["",""],(function(e){return e._css})),ce=function(e){var t=e.html;return(0,g.jsx)(u.Z,{html:t,components:{h1:function(e){return(0,g.jsx)(ee,B({as:"h2",scale:"lg"},e))},h2:function(e){return(0,g.jsx)(ee,B({as:"h2",scale:"lg"},e))},h3:function(e){return(0,g.jsx)(ee,B({as:"h3",scale:"md"},e))},h4:function(e){return(0,g.jsx)(ee,B({as:"h4",scale:"sm"},e))},h5:function(e){return(0,g.jsx)(ee,B({as:"h5",scale:"sm"},e))},"react-video":re,"tweet-embed":ie,p:function(e){var t=e.children,r=e.style;return"object"===typeof t&&"type"in t&&t.type===U?t:(0,g.jsx)(oe,{as:Array.isArray(t)?"div":"p",mb:[4,5],fontSize:[2,3],lineHeight:1.6,sx:{overflowWrap:"break-word"},_css:r,children:t})},a:V,figcaption:X,ul:function(e){var t=e.name,r=e.children;return(0,g.jsx)(F,{as:t,children:r})},ol:function(e){var t=e.name,r=e.children;return(0,g.jsx)(F,{as:t,children:r})},li:function(e){var t=e.children;return(0,g.jsx)(d.xv,{as:"li",children:t})},blockquote:Y,hr:function(){return(0,g.jsx)(G,{})},code:function(e){var t=e.children;return(0,g.jsx)(D,{children:t})},pre:function(e){var t=e.children;return(0,g.jsx)(D,{children:t})},table:function(e){var t=e.children;return(0,g.jsx)(P,{children:t})},th:function(e){var t=e.children;return(0,g.jsx)(k,{children:t})},td:function(e){var t=e.children;return(0,g.jsx)(_,{children:t})},img:U,iframe:$,script:J,div:K,newsletterforminline:z}})}},22629:function(e,t,r){r.d(t,{Y:function(){return u}});var n=r(59499),i=r(16835),o=r(4730),c=r(67294),a=["children","element"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t