1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4516],{145:e=>{e.exports={root:"tweet-container_root__0rJLq",article:"tweet-container_article__0ERPK"}},12777:e=>{e.exports={root:"quoted-tweet-container_root__92393",article:"quoted-tweet-container_article__FoJQN"}},13481:e=>{e.exports={verified:"icons_verified__1eJnA"}},20570:e=>{e.exports={root:"tweet-media_root__k6gQ2",rounded:"tweet-media_rounded__LgwFx",mediaWrapper:"tweet-media_mediaWrapper__6rfqr",grid2Columns:"tweet-media_grid2Columns__tO2Ea",grid3:"tweet-media_grid3__XbH4s",grid2x2:"tweet-media_grid2x2__Wiunq",mediaContainer:"tweet-media_mediaContainer__rjXGp",mediaLink:"tweet-media_mediaLink__vFkZL",skeleton:"tweet-media_skeleton__qZmSS",image:"tweet-media_image__yoPJg"}},20877:()=>{},24459:(e,t,r)=>{"use strict";var n=r(14232),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,s=n.useEffect,o=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),a=n[0].inst,d=n[1];return o(function(){a.value=r,a.getSnapshot=t,c(a)&&d({inst:a})},[e,r,t]),s(function(){return c(a)&&d({inst:a}),e(function(){c(a)&&d({inst:a})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:d},24516:(e,t,r)=>{"use strict";let n;r.d(t,{Y:()=>eZ});var a=r(37876);let i=function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n};var s=r(145);r(20877);let o=e=>{let{className:t,children:r}=e;return(0,a.jsx)("div",{className:i("react-tweet-theme",s.root,t),children:(0,a.jsx)("article",{className:s.article,children:r})})};var l=r(93381);let c=e=>{let{style:t}=e;return(0,a.jsx)("span",{className:l.skeleton,style:t})};var d=r(93585);let u=()=>(0,a.jsxs)(o,{className:d.root,children:[(0,a.jsx)(c,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,a.jsx)(c,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,a.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,a.jsx)(c,{style:{height:"2rem"}}),(0,a.jsx)(c,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var _=r(40410);let h=e=>(0,a.jsx)(o,{children:(0,a.jsxs)("div",{className:_.root,children:[(0,a.jsx)("h3",{children:"Tweet not found"}),(0,a.jsx)("p",{children:"The embedded tweet could not be foundâ¦"})]})}),f=e=>(0,a.jsx)("img",{...e});var p=r(26103),m=r(13481);let x=()=>(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),w=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),v=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsxs)("g",{children:[(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,a.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,a.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,a.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,a.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,a.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,a.jsx)("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),(0,a.jsx)("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),(0,a.jsx)("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})});var g=r(30816);let j=e=>{let{user:t,className:r}=e,n=t.verified||t.is_blue_verified||t.verified_type,s=(0,a.jsx)(x,{}),o=g.verifiedBlue;if(n)switch(!t.is_blue_verified&&(o=g.verifiedOld),t.verified_type){case"Government":s=(0,a.jsx)(w,{}),o=g.verifiedGovernment;break;case"Business":s=(0,a.jsx)(v,{}),o=null}return n?(0,a.jsx)("div",{className:i(r,o),children:s}):null},y=e=>{var t;let{tweet:r,components:n}=e,s=null!=(t=null==n?void 0:n.AvatarImg)?t:f,{user:o}=r;return(0,a.jsxs)("div",{className:p.header,children:[(0,a.jsxs)("a",{href:r.url,className:p.avatar,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:i(p.avatarOverflow,"Square"===o.profile_image_shape&&p.avatarSquare),children:(0,a.jsx)(s,{src:o.profile_image_url_https,alt:o.name,width:48,height:48})}),(0,a.jsx)("div",{className:p.avatarOverflow,children:(0,a.jsx)("div",{className:p.avatarShadow})})]}),(0,a.jsxs)("div",{className:p.author,children:[(0,a.jsxs)("a",{href:r.url,className:p.authorLink,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:p.authorLinkText,children:(0,a.jsx)("span",{title:o.name,children:o.name})}),(0,a.jsx)(j,{user:o,className:p.authorVerified})]}),(0,a.jsxs)("div",{className:p.authorMeta,children:[(0,a.jsx)("a",{href:r.url,className:p.username,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsxs)("span",{title:"@".concat(o.screen_name),children:["@",o.screen_name]})}),(0,a.jsxs)("div",{className:p.authorFollow,children:[(0,a.jsx)("span",{className:p.separator,children:"\xb7"}),(0,a.jsx)("a",{href:o.follow_url,className:p.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,a.jsx)("a",{href:r.url,className:p.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:p.twitterIcon,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})};var b=r(62534);let k=e=>{let{tweet:t}=e;return(0,a.jsxs)("a",{href:t.in_reply_to_url,className:b.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",t.in_reply_to_screen_name]})};var N=r(71890);let E=e=>{let{href:t,children:r}=e;return(0,a.jsx)("a",{href:t,className:N.root,target:"_blank",rel:"noopener noreferrer nofollow",children:r})};var T=r(47334);let S=e=>{let{tweet:t}=e;return(0,a.jsx)("p",{className:T.root,children:t.entities.map((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,a.jsx)(E,{href:e.href,children:e.text},t);case"media":return;default:return(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}})})};var L=r(14232);let R=e=>"https://twitter.com/".concat(e.user.screen_name,"/status/").concat(e.id_str),O=e=>"https://twitter.com/".concat("string"==typeof e?e:e.user.screen_name),I=(e,t)=>{let r=new URL(e.media_url_https),n=r.pathname.split(".").pop();return n?(r.pathname=r.pathname.replace(".".concat(n),""),r.searchParams.set("format",n),r.searchParams.set("name",t),r.toString()):e.media_url_https},C=e=>e>999999?"".concat((e/1e6).toFixed(1),"M"):e>999?"".concat((e/1e3).toFixed(1),"K"):e.toString();function q(e){let t=Array.from(e.text),r=[{indices:e.display_text_range,type:"text"}];return V(r,"hashtag",e.entities.hashtags),V(r,"mention",e.entities.user_mentions),V(r,"url",e.entities.urls),V(r,"symbol",e.entities.symbols),e.entities.media&&V(r,"media",e.entities.media),function(e,t){e.entities.media&&e.entities.media[0].indices[
10]<e.display_text_range[1]&&(e.display_text_range[1]=e.entities.media[0].indices[0]);let r=t.at(-1);r&&r.indices[1]>e.display_text_range[1]&&(r.indices[1]=e.display_text_range[1])}(e,r),r.map(e=>{let r=t.slice(e.indices[0],e.indices[1]).join("");switch(e.type){case"hashtag":return Object.assign(e,{href:"https://twitter.com/hashtag/".concat(e.text),text:r});case"mention":return Object.assign(e,{href:O(e.screen_name),text:r});case"url":case"media":return Object.assign(e,{href:e.expanded_url,text:e.display_url});case"symbol":return Object.assign(e,{href:"https://twitter.com/search?q=%24".concat(e.text),text:r});default:return Object.assign(e,{text:r})}})}function V(e,t,r){for(let n of r)for(let[r,a]of e.entries()){if(a.indices[0]>n.indices[0]||a.indices[1]<n.indices[1])continue;let i=[{...n,type:t}];a.indices[0]<n.indices[0]&&i.unshift({indices:[a.indices[0],n.indices[0]],type:"text"}),a.indices[1]>n.indices[1]&&i.push({indices:[n.indices[1],a.indices[1]],type:"text"}),e.splice(r,1,...i);break}}var M=r(20570),F=r(43432);let z=e=>{let{tweet:t,media:r}=e,[n,s]=(0,L.useState)(!0),[o,l]=(0,L.useState)(!1),[c,d]=(0,L.use
1State)(!1),u=(e=>{let t=(e=>{let{variants:t}=e.video_info;return t.filter(e=>"video/mp4"===e.content_type).sort((e,t)=>{var r,n;return(null!=(r=t.bitrate)?r:0)-(null!=(n=e.bitrate)?n:0)})})(e);return t.length>1?t[1]:t[0]})(r),_=0;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("video",{className:M.image,poster:I(r,"small"),controls:!n,muted:!0,preload:"none",tabIndex:n?-1:0,onPlay:()=>{_&&window.clearTimeout(_),o||l(!0),c&&d(!1)},onPause:()=>{_&&window.clearTimeout(_),_=window.setTimeout(()=>{o&&l(!1),_=0},100)},onEnded:()=>{d(!0)},children:(0,a.jsx)("source",{src:u.url,type:u.content_type})}),n&&(0,a.jsx)("button",{type:"button",className:F.videoButton,"aria-label":"View video on X",onClick:e=>{let t=e.currentTarget.previousSibling;e.preventDefault(),s(!1),l(!0),t.play(),t.focus()},children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:F.videoButtonIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!o&&!c&&(0,a.jsx)("div",{className:F.watchOnTwitter,children:(0,a.jsx)("a",{href:t.url,className:F.anchor,target:"_blank",rel:"noopener noreferrer",children:n?"Watch on X":"Continue watching on X"})}),c&&(0,a.jsx)("a",{href:t.url,className:i(F.anchor,F.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},B=e=>(0,a.jsx)("img",{...e}),D=(e,t)=>{let r=56.25;return 1===t&&(r=100/e.original_info.width*e.original_info.height),2===t&&(r*=2),{width:"photo"===e.type?void 0:"unset",paddingBottom:"".concat(r,"%")}},W=e=>{var t,r,n,s;let{tweet:o,components:l,quoted:c}=e,d=null!=(n=null==(t=o.mediaDetails)?void 0:t.length)?n:0,u=null!=(s=null==l?void 0:l.MediaImg)?s:B;return(0,a.jsx)("div",{className:i(M.root,!c&&M.rounded),children:(0,a.jsx)("div",{className:i(M.mediaWrapper,d>1&&M.grid2Columns,3===d&&M.grid3,d>4&&M.grid2x2),children:null==(r=o.mediaDetails)?void 0:r.map(e=>(0,a.jsx)(L.Fragment,{children:"photo"===e.type?(0,a.jsxs)("a",{href:o.url,className:i(M.mediaContainer,M.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:M.skeleton,style:D(e,d)}),(0,a.jsx)(u,{src:I(e,"small"),alt:e.ext_alt_text||"Image",className:M.image,draggable:!0})]},e.media_url_https):(0,a.jsxs)("div",{className:M.mediaContainer,children:[(0,a.jsx)("div",{className:M.skeleton,style:D(e,d)}),(0,a.jsx)(z,{tweet:o,media:e})]},e.media_url_https)},e.media_url_https))})})},A=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"});var U=r(91579);let P=e=>{let{tweet:t}=e,r=new Date(t.created_at),n=(e=>{let t=(e=>{let t={};for(let r of e)t[r.type]=r.value;return t})(A.formatToParts(e)),r="".concat(t.hour,":").concat(t.minute," ").concat(t.dayPeriod),n="".concat(t.month," ").concat(t.day,", ").concat(t.year);return"".concat(r," \xb7 ").concat(n)})(r);return(0,a.jsx)("a",{className:U.root,href:t.url,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:(0,a.jsx)("time",{dateTime:r.toISOString(),children:n})})};var G=r(99218);let H=e=>{let{tweet:t}=e;return(0,a.jsxs)("div",{className:G.info,children:[(0,a.jsx)(P,{tweet:t}),(0,a.jsx)("a",{className:G.infoLink,href:"https://help.twitter.com/en/twitter-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:G.infoIcon,children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]})};var X=r(65993);let J=e=>{let{tweet:t}=e,[r,n]=(0,L.useState)(!1),[i,s]=(0,L.useState)(!1);return(0,L.useEffect)(()=>{if(r){let e=setTimeout(()=>{n(!1),s(!0)},6e3);return()=>clearTimeout(e)}},[r]),(0,a.jsxs)("button",{type:"button",className:X.copy,"aria-label":"Copy link",onClick:()=>{navigator.clipboard.writeText(t.url),n(!0)},children:[(0,a.jsx)("div",{className:X.copyIconWrapper,children:r?(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:X.copyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:X.copyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),(0,a.jsx)("span",{className:X.copyText,children:r?"Copied!":i?"Copy link to Tweet":"Copy link"})]})},Q=e=>{let{tweet:t}=e,r=C(t.favorite_count);return(0,a.jsxs)("div",{className:X.actions,children:[(0,a.jsxs)("a",{className:X.like,href:t.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Like. This Tweet has ".concat(r," likes"),children:[(0,a.jsx)("div",{className:X.likeIconWrapper,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:X.likeIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),(0,a.jsx)("span",{className:X.likeCount,children:r})]}),(0,a.jsxs)("a",{className:X.reply,href:t.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,a.jsx)("div",{className:X.replyIconWrapper,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:X.replyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),(0,a.jsx)("span",{className:X.replyText,children:"Reply"})]}),(0,a.jsx)(J,{tweet:t})]})};var Y=r(52838);let Z=e=>{let{tweet:t}=e;return(0,a.jsx)("div",{className:Y.replies,children:(0,a.jsx)("a",{className:Y.link,href:t.url,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("span",{className:Y.text,children:0===t.conversation_count?"Read more on X":1===t.conversation_count?"Read ".concat(C(t.conversation_count)," reply"):"Read ".concat(C(t.conversation_count)," replies")})})})};var K=r(12777);let $=e=>{let{tweet:t,children:r}=e;return(0,a.jsx)("div",{className:K.root,onClick:e=>{e.preventDefault(),window.open(t.url,"_blank")},children:(0,a.jsx)("article",{className:K.article,children:r})})};var ee=r(68591);let et=e=>{let{tweet:t}=e,{user:r}=t;return(0,a.jsxs)("div",{className:ee.header,children:[(0,a.jsx)("a",{href:t.url,className:ee.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("div",{className:i(ee.avatarOverflow,"Square"===r.profile_image_shape&&ee.avatarSquare),children:(0,a.jsx)(f,{src:r.profile_image_url_https,alt:r.name,width:20,height:20})})}),(0,a.jsxs)("div",{className:ee.author,children:[(0,a.jsx)("div",{className:ee.authorText,children:(0,a.jsx)("span",{title:r.name,children:r.name})}),(0,a.jsx)(j,{user:r}),(0,a.jsx)("div",{className:ee.username,children:(0,a.jsxs)("span",{title:"@".concat(r.screen_name),children:["@",r.screen_name]})})]})]})};var er=r(98958);let en=e=>{let{tweet:t}=e;return(0,a.jsx)("p",{className:er.root,children:t.entities.map((e,t)=>(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t))})},ea=e=>{var t;let{tweet:r}=e;return(0,a.jsxs)($,{tweet:r,children:[(0,a.jsx)(et,{tweet:r}),(0,a.jsx)(en,{tweet:r}),(null==(t=r.mediaDetails)?void 0:t.length)?(0,a.jsx)(W,{quoted:!0,tweet:r}):null]})},ei=e=>{var t;let{tweet:r,components:n}=e,i=(0,L.useMemo)(()=>(e=>({...e,url:R(e),user:{...e.user,url:O(e),follow_url:"https://twitter.com/intent/follow?screen_name=".concat(e.user.screen_name)},like_url:"https://twitter.com/intent/like?tweet_id=".concat(e.id_str),reply_url:"https://twitter.com/intent/tweet?in_reply_to=".concat(e.id_str),in_reply_to_url:e.in_reply_to_screen_name?(e=>"https://twitter.com/".concat(e.in_reply_to_screen_name,"/status/").concat(e.in_reply_to_status_id_str))(e):void 0,entities:q(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:R(e.quoted_tweet),entities:q(e.quoted_tweet)}:void 0}))(r),[r]);return(0,a.jsxs)(o,{children:[(0,a.jsx)(y,{tweet:i,components:n}
1),i.in_reply_to_status_id_str&&(0,a.jsx)(k,{tweet:i}),(0,a.jsx)(S,{tweet:i}),(null==(t=i.mediaDetails)?void 0:t.length)?(0,a.jsx)(W,{tweet:i,components:n}):null,i.quoted_tweet&&(0,a.jsx)(ea,{tweet:i.quoted_tweet}),(0,a.jsx)(H,{tweet:i}),(0,a.jsx)(Q,{tweet:i}),(0,a.jsx)(Z,{tweet:i})]})};var es=r(38806);let eo=()=>{},el=eo(),ec=Object,ed=e=>e===el,eu=(e,t)=>({...e,...t}),e_=new WeakMap,eh=0,ef=e=>{let t,r,n=typeof e,a=e&&e.constructor,i=a==Date;if(ec(e)!==e||i||a==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=e_.get(e))return t;if(t=++eh+"~",e_.set(e,t),a==Array){for(r=0,t="@";r<e.length;r++)t+=ef(e[r])+",";e_.set(e,t)}if(a==ec){t="#";let n=ec.keys(e).sort();for(;!ed(r=n.pop());)ed(e[r])||(t+=r+":"+ef(e[r])+",");e_.set(e,t)}}return t},ep=new WeakMap,em={},ex={},ew="undefined",ev=typeof window!=ew,eg=typeof document!=ew,ej=(e,t)=>{let r=ep.get(e);return[()=>!ed(t)&&e.get(t)||em,n=>{if(!ed(t)){let a=e.get(t);t in ex||(ex[t]=a),r[5](t,eu(a,n),a||em)}},r[6],()=>!ed(t)&&t in ex?ex[t]:!ed(t)&&e.get(t)||em]},ey=!0,[eb,ek]=ev&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[eo,eo],eN={initFocus:e=>(eg&&document.addEventListener("visibilitychange",e),eb("focus",e),()=>{eg&&document.removeEventListener("visibilitychange",e),ek("focus",e)}),initReconnect:e=>{let t=()=>{ey=!0,e()},r=()=>{ey=!1};return eb("online",t),eb("offline",r),()=>{ek("online",t),ek("offline",r)}}},eE=!L.useId,eT=!ev||"Deno"in window,eS=eT?L.useEffect:L.useLayoutEffect,eL="undefined"!=typeof navigator&&navigator.connection,eR=!eT&&eL&&(["slow-2g","2g"].includes(eL.effectiveType)||eL.saveData),eO=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?ef(e):"",t]},eI=0,eC=()=>++eI;var eq={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function eV(...e){let[t,r,n,a]=e,i=eu({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{}),s=i.populateCache,o=i.rollbackOnError,l=i.optimisticData,c=i.throwOnError;if("function"==typeof r){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(d))}return d(r);async function d(r){let a,[d]=eO(r);if(!d)return;let[u,_]=ej(t,d),[h,f,p,m]=ep.get(t),x=()=>{let e=h[d];return("function"==typeof i.revalidate?i.revalidate(u().data,r):!1!==i.revalidate)&&(delete p[d],delete m[d],e&&e[0])?e[0](2).then(()=>u().data):u().data};if(e.length<3)return x();let w=n,v=eC();f[d]=[v,0];let g=!ed(l),j=u(),y=j.data,b=j._c,k=ed(b)?y:b;if(g&&_({data:l="function"==typeof l?l(k,y):l,_c:k}),"function"==typeof w)try{w=w(k)}catch(e){a=e}if(w&&"function"==typeof w.then){let e;if(w=await w.catch(e=>{a=e}),v!==f[d][0]){if(a)throw a;return w}a&&g&&(e=a,"function"==typeof o?o(e):!1!==o)&&(s=!0,_({data:k,_c:el}))}if(s&&!a&&("function"==typeof s?_({data:s(w,k),error:el,_c:el}):_({data:w,error:el,_c:el})),f[d][1]=eC(),Promise.resolve(x()).then(()=>{_({_c:el})}),a){if(c)throw a;return}return w}}let eM=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},eF=(e,t)=>{if(!ep.has(e)){let r=eu(eN,t),n={},a=eV.bind(el,e),i=eo,s={},o=(e,t)=>{let r=s[e]||[];return s[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},l=(t,r,n)=>{e.set(t,r);let a=s[t];if(a)for(let e of a)e(r,n)},c=()=>{if(!ep.has(e)&&(ep.set(e,[n,{},{},{},a,l,o]),!eT)){let t=r.initFocus(setTimeout.bind(el,eM.bind(el,n,0))),a=r.initReconnect(setTimeout.bind(el,eM.bind(el,n,1)));i=()=>{t&&t(),a&&a(),ep.delete(e)}}};return c(),[e,a,c,i]}return[e,ep.get(e)[4]]},[ez,eB]=eF(new Map),eD=eu({onLoadingSlow:eo,onSuccess:eo,onError:eo,onErrorRetry:(e,t,r,n,a)=>{let i=r.errorRetryCount,s=a.retryCount,o=~~((Math.random()+.5)*(1<<(s<8?s:8)))*r.errorRetryInterval;(ed(i)||!(s>i))&&setTimeout(n,o,a)},onDiscarded:eo,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eR?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eR?5e3:3e3,compare:(e,t)=>ef(e)==ef(t),isPaused:()=>!1,cache:ez,mutate:eB,fallback:{}},{isOnline:()=>ey,isVisible:()=>{let e=eg&&document.visibilityState;
1return ed(e)||"hidden"!==e}}),eW=(e,t)=>{let r=eu(e,t);if(t){let{use:n,fallback:a}=e,{use:i,fallback:s}=t;n&&i&&(r.use=n.concat(i)),a&&s&&(r.fallback=eu(a,s))}return r},eA=(0,L.createContext)({}),eU=ev&&window.__SWR_DEVTOOLS_USE__,eP=(eU?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,n)=>{let a=r&&((...e)=>{let[n]=eO(t),[,,,a]=ep.get(ez);if(n.startsWith("$inf$"))return r(...e);let i=a[n];return ed(i)?r(...e):(delete a[n],i)});return e(t,a,n)});eU&&(window.__SWR_DEVTOOLS_REACT__=L);let eG=L.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),eH={dedupe:!0};ec.defineProperty(e=>{let{value:t}=e,r=(0,L.useContext)(eA),n="function"==typeof t,a=(0,L.useMemo)(()=>n?t(r):t,[n,r,t]),i=(0,L.useMemo)(()=>n?a:eW(r,a),[n,r,a]),s=a&&a.provider,o=(0,L.useRef)(el);s&&!o.current&&(o.current=eF(s(i.cache||ez),a));let l=o.current;return l&&(i.cache=l[0],i.mutate=l[1]),eS(()=>{if(l)return l[2]&&l[2](),l[3]},[]),(0,L.createElement)(eA.Provider,eu(e,{value:i}))},"defaultValue",{value:eD});let eX=(n=(e,t,r)=>{let{cache:n,compare:a,suspense:i,fallbackData:s,revalidateOnMount:o,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:d,refreshWhenOffline:u,keepPreviousData:_}=r,[h,f,p,m]=ep.get(n),[x,w]=eO(e),v=(0,L.useRef)(!1),g=(0,L.useRef)(!1),j=(0,L.useRef)(x),y=(0,L.useRef)(t),b=(0,L.useRef)(r),k=()=>b.current.isVisible()&&b.current.isOnline(),[N,E,T,S]=ej(n,x),R=(0,L.useRef)({}).current,O=ed(s)?r.fallback[x]:s,I=(e,t)=>{for(let r in R)if("data"===r){if(!a(e[r],t[r])&&(!ed(e[r])||!a(W,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},C=(0,L.useMemo)(()=>{let e=!!x&&!!t&&(ed(o)?!b.current.isPaused()&&!i&&(!!ed(l)||l):o),r=t=>{let r=eu(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=N(),a=S(),s=r(n),c=n===a?s:r(a),d=s;return[()=>{let e=r(N());return I(e,d)?(d.data=e.data,d.isLoading=e.isLoading,d.isValidating=e.isValidating,d.error=e.error,d):(d=e,e)},()=>c]},[n,x]),q=(0,es.useSyncExternalStore)((0,L.useCallback)(e=>T(x,(t,r)=>{I(r,t)||e()}),[n,x]),C[0],C[1]),V=!v.current,M=h[x]&&h[x].length>0,F=q.data,z=ed(F)?O:F,B=q.error,D=(0,L.useRef)(z),W=_?ed(F)?D.current:F:z,A=(!M||!!ed(B))&&(V&&!ed(o)?o:!b.current.isPaused()&&(i?!ed(z)&&l:ed(z)||l)),U=!!(x&&t&&V&&A),P=ed(q.isValidating)?U:q.isValidating,G=ed(q.isLoading)?U:q.isLoading,H=(0,L.useCallback)(async e=>{let t,n,i=y.current;if(!x||!i||g.current||b.current.isPaused())return!1;let s=!0,o=e||{},l=!p[x]||!o.dedupe,c=()=>eE?!g.current&&x===j.current&&v.current:x===j.current,d={isValidating:!1,isLoading:!1},u=()=>{E(d)},_=()=>{let e=p[x];e&&e[1]===n&&delete p[x]},m={isValidating:!0};ed(N().data)&&(m.isLoading=!0);try{if(l&&(E(m),r.loadingTimeout&&ed(N().data)&&setTimeout(()=>{s&&c()&&b.current.onLoadingSlow(x,r)},r.loadingTimeout),p[x]=[i(w),eC()]),[t,n]=p[x],t=await t,l&&setTimeout(_,r.dedupingInterval),!p[x]||p[x][1]!==n)return l&&c()&&b.current.onDiscarded(x),!1;d.error=el;let e=f[x];if(!ed(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return u(),l&&c()&&b.current.onDiscarded(x),!1;let o=N().data;d.data=a(o,t)?o:t,l&&c()&&b.current.onSuccess(t,x,r)}catch(r){_();let e=b.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,l&&c())&&(e.onError(r,x,e),(!0===t||"function"==typeof t&&t(r))&&(!b.current.revalidateOnFocus||!b.current.revalidateOnReconnect||k())&&e.onErrorRetry(r,x,e,e=>{let t=h[x];t&&t[0]&&t[0](eq.ERROR_REVALIDATE_EVENT,e)},{retryCount:(o.retryCount||0)+1,dedupe:!0}))}return s=!1,u(),!0},[x,n]),X=(0,L.useCallback)((...e)=>eV(n,j.current,...e),[]);if(eS(()=>{y.current=t,b.current=r,ed(F)||(D.current=F)}),eS(()=>{if(!x)return;let e=H.bind(el,eH),t=0,r=((e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}})(x,h,(r,n={})=>{if(r==eq.FOCUS_EVENT){let r=Date.now();b.current.revalidateOnFocus&&r>t&&k()&&(t=r+b.current.focusThrottleInterval,e())}else if(r==eq.RECONNECT_EVENT)b.current.revalidateOnReconnect&&k()&&e();else if(r==eq.MUTATE_EVENT)return H();else if(r==eq.ERROR_REVALIDATE_EVENT)return H(n)});return g.current=!1,j.current=x,v.current=!0,E({_k:w}),A&&(ed(z)||eT?e():(e=>ev&&typeof window.requestAnimationFrame!=ew?window.requestAnimationFrame(e):setTimeout(e,1))(e)),()=>{g.current=!0,r()}},[x]),eS(()=>{let e;function t(){let t="function"==typeof c?c(N().data):c;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!N().error&&(d||b.current.isVisible())&&(u||b.current.isOnline())?H(eH).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[c,d,u,x]),(0,L.useDebugValue)(W),i&&ed(z)&&x){if(!eE&&eT)throw Error("Fallback data is required when using suspense in SSR.");y.current=t,b.current=r,g.current=!1;let e=m[x];if(ed(e)||eG(X(e)),ed(B)){let e=H(eH);ed(W)||(e.status="fulfilled",e.value=!0),eG(e)}else throw B}return{mutate:X,get data(){return R.data=!0,W},get error(){return R.error=!0,B},get isValidating(){return R.isValidating=!0,P},get isLoading(){return R.isLoading=!0,G}}},function(...e){let t=eu(eD,(0,L.useContext)(eA)),[r,a,i]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],s=eW(t,i),o=n,{use:l}=s,c=(l||[]).concat(eP);for(let e=c.length;e--;)o=c[e](o);return o(r,a||s.fetcher||null,s)});
1class eJ extends Error{constructor({message:e,status:t,data:r}){super(e),this.name="TwitterApiError",this.status=t,this.data=r}}let eQ=eX.default||eX;async function eY(e){let[t,r]=e,n=await fetch(t,r),a=await n.json();if(n.ok)return a.data||null;throw new eJ({message:'Failed to fetch tweet at "'.concat(t,'" with "').concat(n.status,'".'),data:a,status:n.status})}let eZ=e=>{let{id:t,apiUrl:r,fallback:n=(0,a.jsx)(u,{}),components:i,fetchOptions:s,onError:o}=e,{data:l,error:c,isLoading:d}=((e,t,r)=>{let{isLoading:n,data:a,error:i}=eQ(()=>t||e?[t||e&&"".concat("https://react-tweet.vercel.app","/api/tweet/").concat(e),r]:null,eY,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(n||void 0===a&&!i),data:a,error:i}})(t,r,s);if(d)return n;if(c||!l){let e=(null==i?void 0:i.TweetNotFound)||h;return(0,a.jsx)(e,{error:o?o(c):c})}return(0,a.jsx)(ei,{tweet:l,components:i})}},26103:e=>{e.exports={header:"tweet-header_header__CXzdi",avatar:"tweet-header_avatar__0Wi9G",avatarOverflow:"tweet-header_avatarOverflow__E2gxj",avatarSquare:"tweet-header_avatarSquare__uIUBO",avatarShadow:"tweet-header_avatarShadow__CB9Zo",author:"tweet-header_author___jWoR",authorLink:"tweet-header_authorLink__qj5Sm",authorVerified:"tweet-header_authorVerified__OFYo2",authorLinkText:"tweet-header_authorLinkText__y6HdU",authorMeta:"tweet-header_authorMeta__gIC3U",authorFollow:"tweet-header_authorFollow__w_j4h",username:"tweet-header_username__UebZb",follow:"tweet-header_follow__Fi7bf",separator:"tweet-header_separator__d4pqe",brand:"tweet-header_brand__0FLQl",twitterIcon:"tweet-header_twitterIcon__m0Rzu"}},30816:e=>{e.exports={verifiedOld:"verified-badge_verifiedOld__zcaba",verifiedBlue:"verified-badge_verifiedBlue__s3_Vu",verifiedGovernment:"verified-badge_verifiedGovernment__qRJxq"}},38806:(e,t,r)=>{"use strict";e.exports=r(24459)},40410:e=>{e.exports={root:"tweet-not-found_root__KQedq"}},43432:e=>{e.exports={anchor:"tweet-media-video_anchor__EMqq1",videoButton:"tweet-media-video_videoButton__P9iF2",videoButtonIcon:"tweet-media-video_videoButtonIcon__7gRo1",watchOnTwitter:"tweet-media-video_watchOnTwitter__2ucCU",viewReplies:"tweet-media-video_viewReplies__dp8G_"}},47334:e=>{e.exports={root:"tweet-body_root__ChzUj"}},52838:e=>{e.exports={replies:"tweet-replies_replies__PUxl8",link:"tweet-replies_link__roxYQ",text:"tweet-replies_text__o0Naf"}},62534:e=>{e.exports={root:"tweet-in-reply-to_root__o784R"}},65993:e=>{e.exports={actions:"tweet-actions_actions__UDw7H",like:"tweet-actions_like__H1xYv",reply:"tweet-actions_reply__S4rFc",copy:"tweet-actions_copy__Tbdg_",likeIconWrapper:"tweet-actions_likeIconWrapper__JQkhp",likeCount:"tweet-actions_likeCount__MyxBd",replyIconWrapper:"tweet-actions_replyIconWrapper__NVdGa",copyIconWrapper:"tweet-actions_copyIconWrapper__toM2y",likeIcon:"tweet-actions_likeIcon__fhDng",replyIcon:"tweet-actions_replyIcon__MI2tG",copyIcon:"tweet-actions_copyIcon__SEaWw",replyText:"tweet-actions_replyText__doQct",copyText:"tweet-actions_copyText__fEqBx"}},68591:e=>{e.exports={header:"quoted-tweet-header_header___qrcQ",avatar:"quoted-tweet-header_avatar__lGzrW",avatarSquare:"quoted-tweet-header_avatarSquare__l_eYT",author:"quoted-tweet-header_author__k48VI",authorText:"quoted-tweet-header_authorText__FULly",username:"quoted-tweet-header_username__YLPXR"}},71890:e=>{e.exports={root:"tweet-link_root__4EzRS"}},91579:e=>{e.exports={root:"tweet-info-created-at_root__KaxZi"}},93381:e=>{e.exports={skeleton:"skeleton_skeleton__gUMqh",loading:"skeleton_loading__XZoZ6"}},93585:e=>{e.exports={root:"tweet-skeleton_root__1sn43"}},98958:e=>{e.exports={root:"quoted-tweet-body_root__szSfI"}},99218:e=>{e.exports={info:"tweet-info_info__ll_kH",infoLink:"tweet-info_infoLink__xdgYO",infoIcon:"tweet-info_infoIcon__S8lzA"}}}]);
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.