1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6614],{4144:function(e,t){var n,r;n=[t,e],void 0!==(r=(function(e,t){"use strict";var n={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function r(e){try{delete window[e]}catch(t){window[e]=void 0}}function o(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}t.exports=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=e,c=t.timeout||n.timeout,a=t.jsonpCallback||n.jsonpCallback,s=void 0;return new Promise(function(n,l){var u=t.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),d=a+"_"+u;window[u]=function(e){n({ok:!0,json:function(){return Promise.resolve(e)}}),s&&clearTimeout(s),o(d),r(u)},i+=-1===i.indexOf("?")?"?":"&";var m=document.createElement("script");m.setAttribute("src",""+i+a+"="+u),t.charset&&m.setAttribute("charset",t.charset),t.nonce&&m.setAttribute("nonce",t.nonce),t.referrerPolicy&&m.setAttribute("referrerPolicy",t.referrerPolicy),m.id=d,document.getElementsByTagName("head")[0].appendChild(m),s=setTimeout(function(){l(Error("JSONP request to "+e+" timed out")),r(u),o(d),window[u]=function(){r(u)}},c),m.onerror=function(){l(Error("JSONP request to "+e+" failed")),r(u),o(d),s&&clearTimeout(s)}})}}).apply(t,n))&&(e.exports=r)},6614:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(5893),o=n(7294),i=n(4298),c=n.n(i),a=n(4144),s=n.n(a);let l=e=>{let{data:t,embedID:n}=e,{attributes:i}=t||{},{url:a}=i||"",[l,u]=(0,o.useState)(""),d=async e=>{let t=await s()("https://publish.twitter.com/oembed?url=".concat(e)).then(e=>e.json()).then(e=>e).catch(e=>{}),n=(null==t?void 0:t.html.replace(/<script(.+)\/?>(<\/script>)?/i,""))||"";u(n)};return((0,o.useEffect)(()=>{a&&d(a)},[a]),l)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c(),{src:"https://platform.twitter.com/widgets.js"}),(0,r.jsx)("div",{id:"twitter-embed-"+n,className:"article-section--twitter article-section--embed",dangerouslySetInnerHTML:{__html:l}})]}):null};var u=l}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.