PageSourceSearch

https://linea.build/_next/static/immutable/chunks/1b_s4f8z9agj1.js

js linea.build collected 2026-10-02 14:41:50 UTC 35,740 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70654,e=>{e.v({article:"tweet-container-module__3zWtXq__article",root:"tweet-container-module__3zWtXq__root"})},76460,e=>{e.v({verified:"icons-module__-NnS3a__verified"})},57858,e=>{e.v({verifiedBlue:"verified-badge-module__mpSL8a__verifiedBlue",verifiedGovernment:"verified-badge-module__mpSL8a__verifiedGovernment",verifiedOld:"verified-badge-module__mpSL8a__verifiedOld"})},35761,e=>{e.v({label:"highlighted-label-module__5JZMOG__label"})},5874,e=>{e.v({author:"tweet-header-module__JrthoG__author",authorFollow:"tweet-header-module__JrthoG__authorFollow",authorLink:"tweet-header-module__JrthoG__authorLink",authorLinkText:"tweet-header-module__JrthoG__authorLinkText",authorMeta:"tweet-header-module__JrthoG__authorMeta",authorVerified:"tweet-header-module__JrthoG__authorVerified",avatar:"tweet-header-module__JrthoG__avatar",avatarOverflow:"tweet-header-module__JrthoG__avatarOverflow",avatarShadow:"tweet-header-module__JrthoG__avatarShadow",avatarSquare:"tweet-header-module__JrthoG__avatarSquare",brand:"tweet-header-module__JrthoG__brand",follow:"tweet-header-module__JrthoG__follow",header:"tweet-header-module__JrthoG__header",separator:"tweet-header-module__JrthoG__separator",twitterIcon:"tweet-header-module__JrthoG__twitterIcon",username:"tweet-header-module__JrthoG__username"})},36123,e=>{e.v({root:"tweet-in-reply-to-module__hW7JRG__root"})},77276,e=>{e.v({root:"tweet-link-module__gaJ_Ma__root"})},30014,e=>{e.v({root:"tweet-body-module__FX4NLG__root"})},12960,e=>{e.v({grid2Columns:"tweet-media-module__5O7zSa__grid2Columns",grid2x2:"tweet-media-module__5O7zSa__grid2x2",grid3:"tweet-media-module__5O7zSa__grid3",image:"tweet-media-module__5O7zSa__image",mediaContainer:"tweet-media-module__5O7zSa__mediaContainer",mediaLink:"tweet-media-module__5O7zSa__mediaLink",mediaWrapper:"tweet-media-module__5O7zSa__mediaWrapper",root:"tweet-media-module__5O7zSa__root",rounded:"tweet-media-module__5O7zSa__rounded",skeleton:"tweet-media-module__5O7zSa__skeleton"})},23522,e=>{e.v({anchor:"tweet-media-video-module__bhcx1W__anchor",videoButton:"tweet-media-video-module__bhcx1W__videoButton",videoButtonIcon:"tweet-media-video-module__bhcx1W__videoButtonIcon",viewReplies:"tweet-media-video-module__bhcx1W__viewReplies",watchOnTwitter:"tweet-media-video-module__bhcx1W__watchOnTwitter"})},49006,e=>{e.v({root:"tweet-info-created-at-module__yTwC4a__root"})},28638,e=>{e.v({info:"tweet-info-module__GdosOW__info",infoIcon:"tweet-info-module__GdosOW__infoIcon",infoLink:"tweet-info-module__GdosOW__infoLink"})},72279,e=>{e.v({actions:"tweet-actions-module__q9G1CG__actions",copy:"tweet-actions-module__q9G1CG__copy",copyIcon:"tweet-actions-module__q9G1CG__copyIcon",copyIconWrapper:"tweet-actions-module__q9G1CG__copyIconWrapper",copyText:"tweet-actions-module__q9G1CG__copyText",like:"tweet-actions-module__q9G1CG__like",likeCount:"tweet-actions-module__q9G1CG__likeCount",likeIcon:"tweet-actions-module__q9G1CG__likeIcon",likeIconWrapper:"tweet-actions-module__q9G1CG__likeIconWrapper",reply:"tweet-actions-module__q9G1CG__reply",replyIcon:"tweet-actions-module__q9G1CG__replyIcon",replyIconWrapper:"tweet-actions-module__q9G1CG__replyIconWrapper",replyText:"tweet-actions-module__q9G1CG__replyText"})},66941,e=>{e.v({link:"tweet-replies-module__4ldmkW__link",replies:"tweet-replies-module__4ldmkW__replies",text:"tweet-replies-module__4ldmkW__text"})},35636,e=>{e.v({article:"quoted-tweet-container-module__X9Rl2q__article",root:"quoted-tweet-container-module__X9Rl2q__root"})},24352,e=>{e.v({author:"quoted-tweet-header-module__0Ut7bq__author",authorText:"quoted-tweet-header-module__0Ut7bq__authorText",avatar:"quoted-tweet-header-module__0Ut7bq__avatar",avatarOverflow:"quoted-tweet-header-module__0Ut7bq__avatarOverflow",avatarSquare:"quoted-tweet-header-module__0Ut7bq__avatarSquare",header:"quoted-tweet-header-module__0Ut7bq__header",username:"quoted-tweet-header-module__0Ut7bq__username"})},53817,e=>{e.v({root:"quoted-tweet-body-module__P1qOAq__root"})},44144,e=>{e.v({root:"tweet-not-found-module__nv9rQq__root"})},64938,e=>{e.v({loading:"skeleton-module__tB4k2a__loading",skeleton:"skeleton-module__tB4k2a__skeleton"})},45339,e=>{e.v({root:"tweet-skeleton-module__tgKJlG__root"})},21450,(e,t,r)=>{"use strict";var a=e.r(51325),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=a.useState,i=a.useEffect,o=a.useLayoutEffect,s=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!l(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=n({inst:{value:r,getSnapshot:t}}),l=a[0].inst,u=a[1];return o(function(){l.value=r,l.getSnapshot=t,d(l)&&u({inst:l})},[e,r,t]),i(function(){return d(l)&&u({inst:l}),e(function(){d(l)&&u({inst:l})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},49734,(e,t,r)=>{"use strict";e.i(99157),t.exports=e.r(21450)},16142,e=>{"use strict";let t;var r=e.i(81821),a=e.i(97649),l=e.i(70654);let n=({className:e,children:t})=>(0,r.jsx)("div",{className:(0,a.default)("react-tweet-theme",l.default.root,e),children:(0,r.jsx)("article",{className:l.default.article,children:t})}),i=e=>(0,r.jsx)("img",{...e});var o=e.i(76460);let s=()=>(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:o.default.verified,children:(0,r.jsx)("g",{children:(0,r.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"})})}),d=()=>(0,r.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:o.default.verified,children:(0,r.jsxs)("g",{children:[(0,r.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,r.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,r.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,r.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,r.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,r.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,r.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,r.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,r.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,r.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"})]})]})}),u=()=>(0,r.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:o.default.verified,children:(0,r.jsx)("g",{children:(0,r.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-.45
15l2.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"})})});var c=e.i(57858);let _=({user:e,className:t})=>{let l=e.verified||e.is_blue_verified||e.verified_type,n=(0,r.jsx)(s,{}),i=c.default.verifiedBlue;if(l)switch(!e.is_blue_verified&&(i=c.default.verifiedOld),e.verified_type){case"Government":n=(0,r.jsx)(u,{}),i=c.default.verifiedGovernment;break;case"Business":n=(0,r.jsx)(d,{}),i=null}return l?(0,r.jsx)("div",{className:(0,a.default)(t,i),children:n}):null};var f=e.i(35761);let h=({user:e,className:t})=>{var l;let n=e.highlighted_label;if(!n)return null;let i=null==(l=n.badge)?void 0:l.url;return i?(0,r.jsx)("div",{className:(0,a.default)(f.default.label,t),children:(0,r.jsx)("img",{src:i,alt:n.description})}):null};var m=e.i(5874);let p=({tweet:e,components:t})=>{var l;let n=null!=(l=null==t?void 0:t.AvatarImg)?l:i,{user:o}=e;return(0,r.jsxs)("div",{className:m.default.header,children:[(0,r.jsxs)("a",{href:e.url,className:m.default.avatar,target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)("div",{className:(0,a.default)(m.default.avatarOverflow,"Square"===o.profile_image_shape&&m.default.avatarSquare),children:(0,r.jsx)(n,{src:o.profile_image_url_https,alt:o.name,width:48,height:48})}),(0,r.jsx)("div",{className:m.default.avatarOverflow,children:(0,r.jsx)("div",{className:m.default.avatarShadow})})]}),(0,r.jsxs)("div",{className:m.default.author,children:[(0,r.jsxs)("a",{href:e.url,className:m.default.authorLink,target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)("div",{className:m.default.authorLinkText,children:(0,r.jsx)("span",{title:o.name,children:o.name})}),(0,r.jsx)(_,{user:o,className:m.default.authorVerified}),(0,r.jsx)(h,{user:o})]}),(0,r.jsxs)("div",{className:m.default.authorMeta,children:[(0,r.jsx)("a",{href:e.url,className:m.default.username,target:"_blank",rel:"noopener noreferrer",children:(0,r.jsxs)("span",{title:`@${o.screen_name}`,children:["@",o.screen_name]})}),(0,r.jsxs)("div",{className:m.default.authorFollow,children:[(0,r.jsx)("span",{className:m.default.separator,children:"·"}),(0,r.jsx)("a",{href:o.follow_url,className:m.default.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,r.jsx)("a",{href:e.url,className:m.default.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:m.default.twitterIcon,children:(0,r.jsx)("g",{children:(0,r.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 v=e.i(36123);let x=({tweet:e})=>(0,r.jsxs)("a",{href:e.in_reply_to_url,className:v.default.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",e.in_reply_to_screen_name]});var w=e.i(77276);let g=({href:e,children:t})=>(0,r.jsx)("a",{href:e,className:w.default.root,target:"_blank",rel:"noopener noreferrer nofollow",children:t});var j=e.i(30014);let y=({tweet:e})=>(0,r.jsxs)("p",{className:j.default.root,lang:e.lang,dir:"auto",children:[e.entities.map((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,r.jsx)(g,{href:e.href,children:e.text},t);case"media":return;default:return(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}}),e.note_tweet?(0,r.jsx)(b,{tweet:e}):null]});function b({tweet:e}){return(0,r.jsxs)(g,{href:e.url,children:[(0,r.jsx)("span",{children:" "}),"Show more"]})}var k=e.i(51325);let N=e=>`https://x.com/${e.user.screen_name}/status/${e.id_str}`,S=e=>`https://x.com/${"string"==typeof e?e:e.user.screen_name}`,T=(e,t)=>{let r=new URL(e.media_url_https),a=r.pathname.split(".").pop();return a?(r.pathname=r.pathname.replace(`.${a}`,""),r.searchParams.set("format",a),r.searchParams.set("name",t),r.toString()):e.media_url_https},O=e=>e>999999?`${(e/1e6).toFixed(1)}M`:e>999?`${(e/1e3).toFixed(1)}K`:e.toString();function E(e){var t,r,a;
1let l,n,i=Array.from(e.text),o=[{indices:e.display_text_range,type:"text"}],{entities:s}=e;return s&&(R(o,"hashtag",s.hashtags),R(o,"mention",s.user_mentions),R(o,"url",s.urls),R(o,"symbol",s.symbols),R(o,"media",s.media)),t=e,r=o,(null==(l=null==(a=t.entities)?void 0:a.media)?void 0:l.length)&&l[0].indices[0]<t.display_text_range[1]&&(t.display_text_range[1]=l[0].indices[0]),(n=r.at(-1))&&n.indices[1]>t.display_text_range[1]&&(n.indices[1]=t.display_text_range[1]),o.map(e=>{let t=i.slice(e.indices[0],e.indices[1]).join("");switch(e.type){case"hashtag":return Object.assign(e,{href:`https://x.com/hashtag/${e.text}`,text:t});case"mention":return Object.assign(e,{href:S(e.screen_name),text:t});case"url":case"media":return Object.assign(e,{href:e.expanded_url,text:e.display_url});case"symbol":return Object.assign(e,{href:`https://x.com/search?q=%24${e.text}`,text:t});default:return Object.assign(e,{text:t})}})}function R(e,t,r){if(null==r?void 0:r.length)for(let a of r)for(let[r,l]of e.entries()){if(l.indices[0]>a.indices[0]||l.indices[1]<a.indices[1])continue;let n=[{...a,type:t}];l.indices[0]<a.indices[0]&&n.unshift({indices:[l.indices[0],a.indices[0]],type:"text"}),l.indices[1]>a.indices[1]&&n.push({indices:[a.indices[1],l.indices[1]],type:"text"}),e.splice(r,1,...n);break}}var L=e.i(12960),C=e.i(23522);let q=({tweet:e,media:t})=>{let l,[n,i]=(0,k.useState)(!0),[o,s]=(0,k.useState)(!1),[d,u]=(0,k.useState)(!1),c=(l=(e=>{let{variants:t}=e.video_info;return t.filter(e=>"video/mp4"===e.content_type).sort((e,t)=>{var r,a;return(null!=(r=t.bitrate)?r:0)-(null!=(a=e.bitrate)?a:0)})})(t)).length>1?l[1]:l[0],_=0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("video",{className:L.default.image,poster:T(t,"small"),controls:!n,playsInline:!0,preload:"none",tabIndex:n?-1:0,onPlay:()=>{_&&window.clearTimeout(_),o||s(!0),d&&u(!1)},onPause:()=>{_&&window.clearTimeout(_),_=window.setTimeout(()=>{o&&s(!1),_=0},100)},onEnded:()=>{u(!0)},children:(0,r.jsx)("source",{src:c.url,type:c.content_type})}),n&&(0,r.jsx)("button",{type:"button",className:C.default.videoButton,"aria-label":"View video on X",onClick:e=>{let t=e.currentTarget.previousSibling;e.preventDefault(),i(!1),t.load(),t.play().then(()=>{s(!0),t.focus()}).catch(e=>{console.error("Error playing video:",e),i(!0),s(!1)})},children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",className:C.default.videoButtonIcon,"aria-hidden":"true",children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!o&&!d&&(0,r.jsx)("div",{className:C.default.watchOnTwitter,children:(0,r.jsx)("a",{href:e.url,className:C.default.anchor,target:"_blank",rel:"noopener noreferrer",children:n?"Watch on X":"Continue watching on X"})}),d&&(0,r.jsx)("a",{href:e.url,className:(0,a.default)(C.default.anchor,C.default.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},G=e=>(0,r.jsx)("img",{...e}),I=(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:`${r}%`}},V=({tweet:e,components:t,quoted:l})=>{var n,i,o,s;let d=null!=(n=null==(o=e.mediaDetails)?void 0:o.length)?n:0,u=null!=(i=null==t?void 0:t.MediaImg)?i:G;return(0,r.jsx)("div",{className:(0,a.default)(L.default.root,!l&&L.default.rounded),children:(0,r.jsx)("div",{className:(0,a.default)(L.default.mediaWrapper,d>1&&L.default.grid2Columns,3===d&&L.default.grid3,d>4&&L.default.grid2x2),children:null==(s=e.mediaDetails)?void 0:s.map(t=>(0,r.jsx)(k.Fragment,{children:"photo"===t.type?(0,r.jsxs)("a",{href:e.url,className:(0,a.default)(L.default.mediaContainer,L.default.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)("div",{className:L.default.skeleton,style:I(t,d)}),(0,r.jsx)(u,{src:T(t,"small"),alt:t.ext_alt_text||"Image",className:L.default.image,draggable:!0})]},t.media_url_https):(0,r.jsxs)("div",{className:L.default.mediaContainer,children:[(0,r.jsx)("div",{className:L.default.skeleton,style:I(t,d)}),(0,r.jsx)(q,{tweet:e,media:t})]},t.media_url_https)},t.media_url_https))})})},W=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"});
1var M=e.i(49006);let $=({tweet:e})=>{let t,a,l,n=new Date(e.created_at),i=(t=(e=>{let t={};for(let r of e)t[r.type]=r.value;return t})(W.formatToParts(n)),a=`${t.hour}:${t.minute} ${t.dayPeriod}`,l=`${t.month} ${t.day}, ${t.year}`,`${a} \xb7 ${l}`);return(0,r.jsx)("a",{className:M.default.root,href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":i,children:(0,r.jsx)("time",{dateTime:n.toISOString(),children:i})})};var z=e.i(28638);let D=({tweet:e})=>(0,r.jsxs)("div",{className:z.default.info,children:[(0,r.jsx)($,{tweet:e}),(0,r.jsx)("a",{className:z.default.infoLink,href:"https://help.x.com/en/x-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:(0,r.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:z.default.infoIcon,children:(0,r.jsx)("g",{children:(0,r.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 B=e.i(72279);let A=({tweet:e})=>{let[t,a]=(0,k.useState)(!1);return(0,k.useEffect)(()=>{if(t){let e=setTimeout(()=>{a(!1)},6e3);return()=>clearTimeout(e)}},[t]),(0,r.jsxs)("button",{type:"button",className:B.default.copy,"aria-label":"Copy link",onClick:()=>{navigator.clipboard.writeText(e.url),a(!0)},children:[(0,r.jsx)("div",{className:B.default.copyIconWrapper,children:t?(0,r.jsx)("svg",{viewBox:"0 0 24 24",className:B.default.copyIcon,"aria-hidden":"true",children:(0,r.jsx)("g",{children:(0,r.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,r.jsx)("svg",{viewBox:"0 0 24 24",className:B.default.copyIcon,"aria-hidden":"true",children:(0,r.jsx)("g",{children:(0,r.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,r.jsx)("span",{className:B.default.copyText,children:t?"Copied!":"Copy link"})]})},F=({tweet:e})=>{let t=O(e.favorite_count);return(0,r.jsxs)("div",{className:B.default.actions,children:[(0,r.jsxs)("a",{className:B.default.like,href:e.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${t} likes`,children:[(0,r.jsx)("div",{className:B.default.likeIconWrapper,children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",className:B.default.likeIcon,"aria-hidden":"true",children:(0,r.jsx)("g",{children:(0,r.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,r.jsx)("span",{className:B.default.likeCount,children:t})]}),(0,r.jsxs)("a",{className:B.default.reply,href:e.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,r.jsx)("div",{className:B.default.replyIconWrapper,children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",className:B.default.replyIcon,"aria-hidden":"true",children:(0,r.jsx)("g",{children:(0,r.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,r.jsx)("span",{className:B.default.replyText,children:"Reply"})]}),(0,r.jsx)(A,{tweet:e})]})};var J=e.i(66941);let P=({tweet:e})=>(0,r.jsx)("div",{className:J.default.replies,children:(0,r.jsx)("a",{className:J.default.link,href:e.url,target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)("span",{className:J.default.text,children:0===e.conversation_count?"Read more on X":1===e.conversation_count?`Read ${O(e.conversation_count)} reply`:`Read ${O(e.conversation_count)} replies`})})});var U=e.i(35636);let X=({tweet:e,children:t})=>(0,r.jsx)("div",{className:U.default.root,onClick:t=>{t.preventDefault(),window.open(e.url,"_blank")},children:(0,r.jsx)("article",{className:U.default.article,children:t})});var H=e.i(24352);let K=({tweet:e,components:t})=>{var l;let{user:n}=e,o=null!=(l=null==t?void 0:t.AvatarImg)?l:i;return(0,r.jsxs)("div",{className:H.default.header,children:[(0,r.jsx)("a",{href:e.url,className:H.default.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)("div",{className:(0,a.default)(H.default.avatarOverflow,"Square"===n.profile_image_shape&&H.default.avatarSquare),children:(0,r.jsx)(o,{src:n.profile_image_url_https,alt:n.name,width:20,height:20})})}),(0,r.jsxs)("div",{className:H.default.author,children:[(0,r.jsx)("div",{className:H.default.authorText,children:(0,r.jsx)("span",{title:n.name,children:n.name})}),(0,r.jsx)(_,{user:n}),(0,r.jsx)(h,{user:n}),(0,r.jsx)("div",{className:H.default.username,children:(0,r.jsxs)("span",{title:`@${n.screen_name}`,children:["@",n.screen_name]})})]})]})};var Q=e.i(53817);let Y=({tweet:e})=>(0,r.jsx)("p",{className:Q.default.root,lang:e.lang,dir:"auto",children:e.entities.map((e,t)=>(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t))}),Z=({tweet:e,components:t})=>{var a;return(0,r.jsxs)(X,{tweet:e,children:[(0,r.jsx)(K,{tweet:e,components:t}),(0,r.jsx)(Y,{tweet:e}),(null==(a=e.mediaDetails)?void 0:a.length)?(0,r.jsx)(V,{quoted:!0,tweet:e}):null]})},ee=({tweet:e,components:t})=>{var a;let l=(0,k.useMemo)(()=>({...e,url:N(e),user:{...e.user,url:S(e),follow_url:`https://x.com/intent/follow?screen_name=${e.user.screen_name}`},like_url:`https://x.com/intent/like?tweet_id=${e.id_str}`,reply_url:`https://x.com/intent/tweet?in_reply_to=${e.id_str}`,in_reply_to_url:e.in_reply_to_screen_name?`https://x.com/${e.in_reply_to_screen_name}/status/${e.in_reply_to_status_id_str}`:void 0,entities:E(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:N(e.quoted_tweet),entities:E(e.quoted_tweet)}:void 0}),[e]);return(0,r.jsxs)(n,{children:[(0,r.jsx)(p,{tweet:l,components:t}),l.in_reply_to_status_id_str&&(0,r.jsx)(x,{tweet:l}),(0,r.jsx)(y,{tweet:l}),(null==(a=l.mediaDetails)?void 0:a.length)?(0,r.jsx)(V,{tweet:l,components:t}):null,l.quoted_tweet&&(0,r.jsx)(Z,{tweet:l.quoted_tweet,components:t}),(0,r.jsx)(D,{tweet:l}),(0,r.jsx)(F,{tweet:l}),(0,r.jsx)(P,{tweet:l})]})};var et=e.i(44144);let er=e=>(0,r.jsx)(n,{children:(0,r.jsxs)("div",{className:et.default.root,children:[(0,r.jsx)("h3",{children:"Tweet not found"}),(0,r.jsx)("p",{children:"The embedded tweet could not be found…"})]})});var ea=e.i(64938);let el=({style:e})=>(0,r.jsx)("span",{className:ea.default.skeleton,style:e});var en=e.i(45339);let ei=()=>(0,r.jsxs)(n,{className:en.default.root,children:[(0,r.jsx)(el,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,r.jsx)(el,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,r.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,r.jsx)(el,{style:{height:"2rem"}}),(0,r.jsx)(el,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var eo=e.i(49734);e.s(["ERROR_REVALIDATE_EVENT",0,3,"FOCUS_EVENT",0,0,"MUTATE_EVENT",0,2,"RECONNECT_EVENT",0,1],14816);var es=Object.prototype.hasOwnProperty;let ed=new WeakMap,eu=()=>{},ec=eu(),e_=Object,ef=e=>e===ec,eh=(e,t)=>({...e,...t}),em={},ep={},ev="undefined",ex=typeof window!=ev,ew=typeof document!=ev,eg=ex&&"Deno"in window,ej=(e,t)=>{let r=ed.get(e);return[()=>!ef(t)&&e.get(t)||em,a=>{if(!ef(t)){let l=e.get(t);t in ep||(ep[t]=l),r[5](t,eh(l,a),l||em)}},r[6],()=>!ef(t)&&t in ep?ep[t]:!ef(t)&&e.get(t)||em]},ey=!0,[eb,ek]=ex&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[eu,eu],eN={initFocus:e=>(ew&&document.addEventListener("visibilitychange",e),eb("focus",e),()=>{ew&&document.removeEventListener("visibilitychange",e),ek("focus",e)}),initReconnect:e=>{let t=()=>{ey=!0,e()},r=()=>{ey=!1};
1return eb("online",t),eb("offline",r),()=>{ek("online",t),ek("offline",r)}}},eS=!k.default.useId,eT=!ex||eg,eO=eT?k.useEffect:k.useLayoutEffect,eE="u">typeof navigator&&navigator.connection,eR=!eT&&eE&&(["slow-2g","2g"].includes(eE.effectiveType)||eE.saveData),eL=new WeakMap,eC=(e,t)=>e===`[object ${t}]`,eq=0,eG=e=>{let t,r,a=typeof e,l=e_.prototype.toString.call(e),n=eC(l,"Date"),i=eC(l,"RegExp"),o=eC(l,"Object");if(e_(e)!==e||n||i)t=n?e.toJSON():"symbol"==a?e.toString():"string"==a?JSON.stringify(e):""+e;else{if(t=eL.get(e))return t;if(t=++eq+"~",eL.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=eG(e[r])+",";eL.set(e,t)}if(o){t="#";let a=e_.keys(e).sort();for(;!ef(r=a.pop());)ef(e[r])||(t+=r+":"+eG(e[r])+",");eL.set(e,t)}}return t},eI=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)?eG(e):"",t]},eV=0,eW=()=>++eV;async function eM(...e){let[t,r,a,l]=e,n=eh({populateCache:!0,throwOnError:!0},"boolean"==typeof l?{revalidate:l}:l||{}),i=n.populateCache,o=n.rollbackOnError,s=n.optimisticData,d=n.throwOnError;if("function"==typeof r){let e=[];for(let a of t.keys())!/^\$(inf|sub)\$/.test(a)&&r(t.get(a)._k)&&e.push(a);return Promise.all(e.map(u))}return u(r);async function u(r){let l,[u]=eI(r);if(!u)return;let[c,_]=ej(t,u),[f,h,m,p]=ed.get(t),v=()=>{let e=f[u];return("function"==typeof n.revalidate?n.revalidate(c().data,r):!1!==n.revalidate)&&(delete m[u],delete p[u],e&&e[0])?e[0](2).then(()=>c().data):c().data};if(e.length<3)return v();let x=a,w=!1,g=eW();h[u]=[g,0];let j=!ef(s),y=c(),b=y.data,k=y._c,N=ef(k)?b:k;if(j&&_({data:s="function"==typeof s?s(N,b):s,_c:N}),"function"==typeof x)try{x=x(N)}catch(e){l=e,w=!0}if(x&&"function"==typeof x.then){let e;if(x=await x.catch(e=>{l=e,w=!0}),g!==h[u][0]){if(w)throw l;return x}w&&j&&(e=l,"function"==typeof o?o(e):!1!==o)&&(i=!0,_({data:N,_c:ec}))}if(i&&!w&&("function"==typeof i?_({data:i(x,N),error:ec,_c:ec}):_({data:x,error:ec,_c:ec})),h[u][1]=eW(),Promise.resolve(v()).then(()=>{_({_c:ec})}),w){if(d)throw l;return}return x}}let e$=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},ez=(e,t)=>{if(!ed.has(e)){let r=eh(eN,t),a=Object.create(null),l=eM.bind(ec,e),n=eu,i=Object.create(null),o=(e,t)=>{let r=i[e]||[];return i[e]=r,r.push(t),()=>{let e=r.indexOf(t);e>=0&&(r[e]=r[r.length-1],r.pop())}},s=(t,r,a)=>{e.set(t,r);let l=i[t];if(l)for(let e of l)e(r,a)},d=()=>{if(!ed.has(e)&&(ed.set(e,[a,Object.create(null),Object.create(null),Object.create(null),l,s,o]),!eT)){let t=r.initFocus(setTimeout.bind(ec,e$.bind(ec,a,0))),l=r.initReconnect(setTimeout.bind(ec,e$.bind(ec,a,1)));n=()=>{t&&t(),l&&l(),ed.delete(e)}}};return d(),[e,l,d,n]}return[e,ed.get(e)[4]]},[eD,eB]=ez(new Map),eA=eh({onLoadingSlow:eu,onSuccess:eu,onError:eu,onErrorRetry:(e,t,r,a,l)=>{let n=r.errorRetryCount,i=l.retryCount,o=~~((Math.random()+.5)*(1<<(i<8?i:8)))*r.errorRetryInterval;(ef(n)||!(i>n))&&setTimeout(a,o,l)},onDiscarded:eu,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eR?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eR?5e3:3e3,compare:function e(t,r){var a,l;if(t===r)return!0;if(t&&r&&(a=t.constructor)===r.constructor){if(a===Date)return t.getTime()===r.getTime();if(a===RegExp)return t.toString()===r.toString();if(a===Array){if((l=t.length)===r.length)for(;l--&&e(t[l],r[l]););return -1===l}if(!a||"object"==typeof t){for(a in l=0,t)if(es.call(t,a)&&++l&&!es.call(r,a)||!(a in r)||!e(t[a],r[a]))return!1;return Object.keys(r).length===l}}return t!=t&&r!=r},isPaused:()=>!1,cache:eD,mutate:eB,fallback:{}},{isOnline:()=>ey,isVisible:()=>{let e=ew&&document.visibilityState;return ef(e)||"hidden"!==e}}),eF=(e,t)=>{let r=eh(e,t);if(t){let{use:a,fallback:l}=e,{use:n,fallback:i}=t;a&&n&&(r.use=a.concat(n)),l&&i&&(r.fallback=eh(l,i))}return r},eJ=(0,k.createContext)({});var eP=e.i(14816);let eU=ex&&window.__SWR_DEVTOOLS_USE__,eX=(eU?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,a)=>{let l=r&&((...e)=>{let[a]=eI(t),[,,,l]=ed.get(eD);if(a.startsWith("$inf$"))return r(...e);let n=l[a];return ef(n)?r(...e):(delete l[a],n)});return e(t,l,a)});eU&&(window.__SWR_DEVTOOLS_REACT__=k.default);let eH=()=>{},eK=eH(),eQ=(new WeakMap,k.default.use||(e=>
1{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}})),eY={dedupe:!0},eZ=Promise.resolve(ec);eZ.status="fulfilled",eZ.value=ec;let e1=()=>eu;e_.defineProperty(e=>{let{value:t}=e,r=(0,k.useContext)(eJ),a="function"==typeof t,l=(0,k.useMemo)(()=>a?t(r):t,[a,r,t]),n=(0,k.useMemo)(()=>a?l:eF(r,l),[a,r,l]),i=l&&l.provider,o=(0,k.useRef)(ec);i&&!o.current&&(o.current=ez(i(n.cache||eD),l));let s=o.current;return s&&(n.cache=s[0],n.mutate=s[1]),eO(()=>{if(s)return s[2]&&s[2](),s[3]},[]),(0,k.createElement)(eJ.Provider,eh(e,{value:n}))},"defaultValue",{value:eA});let e0=(t=(e,t,r)=>{let{cache:a,compare:l,suspense:n,fallbackData:i,revalidateOnMount:o,revalidateIfStale:s,refreshInterval:d,refreshWhenHidden:u,refreshWhenOffline:c,keepPreviousData:_,strictServerPrefetchWarning:f}=r,[h,m,p,v]=ed.get(a),[x,w]=eI(e),g=(0,k.useRef)(!1),j=(0,k.useRef)(!1),y=(0,k.useRef)(x),b=(0,k.useRef)(t),N=(0,k.useRef)(r),S=()=>N.current.isVisible()&&N.current.isOnline(),[T,O,E,R]=ej(a,x),L=(0,k.useRef)({}).current,C=ef(i)?ef(r.fallback)?ec:r.fallback[x]:i,q=(e,t)=>{for(let r in L)if("data"===r){if(!l(e[r],t[r])&&(!ef(e[r])||!l(B,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},G=!g.current,I=(0,k.useMemo)(()=>{let e=T(),r=R(),a=e=>{let r=eh(e);return(delete r._k,(()=>{if(!x||!t||N.current.isPaused())return!1;if(G&&!ef(o))return o;let e=ef(C)?r.data:C;return ef(e)||s})())?{isValidating:!0,isLoading:!0,...r}:r},l=a(e),n=e===r?l:a(r),i=l;return[()=>{let e=a(T());return q(e,i)?(i.data=e.data,i.isLoading=e.isLoading,i.isValidating=e.isValidating,i.error=e.error,i):(i=e,e)},()=>n]},[a,x]),V=(0,eo.useSyncExternalStore)((0,k.useCallback)(e=>E(x,(t,r)=>{q(r,t)||e()}),[a,x]),I[0],I[1]),W=h[x]&&h[x].length>0,M=V.data,$=ef(M)?C&&"function"==typeof C.then?eQ(C):C:M,z=V.error,D=(0,k.useRef)($),B=_?ef(M)?ef(D.current)?$:D.current:M:$,A=x&&ef($),F=(0,k.useRef)(null);eT||(0,eo.useSyncExternalStore)(e1,()=>(F.current=!1,F),()=>(F.current=!0,F));let J=F.current;f&&J&&!n&&A&&console.warn(`Missing pre-initiated data for serialized key "${x}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let P=!(!x||!t||N.current.isPaused())&&(!W||!!ef(z))&&(G&&!ef(o)?o:n?!ef($)&&s:ef($)||s),U=G&&P,X=ef(V.isValidating)?U:V.isValidating,H=ef(V.isLoading)?U:V.isLoading,K=(0,k.useCallback)(async e=>{let t,a,n=b.current;if(!x||!n||j.current||N.current.isPaused())return!1;let i=!0,o=e||{},s=!p[x]||!o.dedupe,d=()=>eS?!j.current&&x===y.current&&g.current:x===y.current,u={isValidating:!1,isLoading:!1},c=()=>{O(u)},_=()=>{let e=p[x];e&&e[1]===a&&delete p[x]},f={isValidating:!0};ef(T().data)&&(f.isLoading=!0);try{if(s&&(O(f),r.loadingTimeout&&ef(T().data)&&setTimeout(()=>{i&&d()&&N.current.onLoadingSlow(x,r)},r.loadingTimeout),p[x]=[n(w),eW()]),[t,a]=p[x],t=await t,s&&setTimeout(_,r.dedupingInterval),!p[x]||p[x][1]!==a)return s&&d()&&N.current.onDiscarded(x),!1;u.error=ec;let e=m[x];if(!ef(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return c(),s&&d()&&N.current.onDiscarded(x),!1;let o=T().data;u.data=l(o,t)?o:t,s&&d()&&N.current.onSuccess(t,x,r)}catch(r){_();let e=N.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(u.error=r,s&&d())&&(e.onError(r,x,e),(!0===t||"function"==typeof t&&t(r))&&(!N.current.revalidateOnFocus||!N.current.revalidateOnReconnect||S())&&e.onErrorRetry(r,x,e,e=>{let t=h[x];t&&t[0]&&t[0](eP.ERROR_REVALIDATE_EVENT,e)},{retryCount:(o.retryCount||0)+1,dedupe:!0}))}return i=!1,c(),!0},[x,a]),Q=(0,k.useCallback)((...e)=>eM(a,y.current,...e),[]);if(eO(()=>{b.current=t,N.current=r,ef(M)||(D.current=M)}),eO(()=>{var e;let t;if(!x)return;let r=K.bind(ec,eY),a=0;N.current.revalidateOnFocus&&(a=Date.now()+N.current.focusThrottleInterval);let l=(e=(e,t={})=>{if(e==eP.FOCUS_EVENT){let e=Date.now();N.current.revalidateOnFocus&&e>a&&S()&&(a=e+N.current.focusThrottleInterval,r())}else if(e==eP.RECONNECT_EVENT)N.current.revalidateOnReconnect&&S()&&r();else if(e==eP.MUTATE_EVENT)return K();else if(e==eP.ERROR_REVALIDATE_EVENT)return K(t)},(t=h[x]||(h[x]=[])).push(e),()=>{let r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.pop())});if(j.current=!1,y.current=x,g.current=!0,O({_k:w}),P&&!p[x])if(ef($)||eT)r();else ex&&typeof window.requestAnimationFrame!=ev?window.requestAnimationFrame(r):setTimeout(r,1);return()=>{j.current=!0,l()}},[x]),eO(()=>{let e;function t(){let t="function"==typeof d?d(T().data):d;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!T().error&&(u||N.current.isVisible())&&(c||N.current.isOnline())?K(eY).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[d,u,c,x]),(0,k.useDebugValue)(B),n){if(!eS&&eT&&A)throw Error("Fallback data is required when using Suspense in SSR.");A&&(b.current=t,N.current=r,j.current=!1);let e=v[x];if(eQ(!ef(e)&&A?Q(e):eZ),!ef(z)&&A)throw z;let a=A?K(eY):eZ;!ef(B)&&A&&(a.status="fulfilled",a.value=!0),eQ(a)}return{mutate:Q,get data(){return L.data=!0,B},get error(){return L.error=!0,z},get isValidating(){return L.isValidating=!0,X},get isLoading(){return L.isLoading=!0,H}}},function(...e){let r,a=(r=(0,k.useContext)(eJ),(0,k.useMemo)(()=>eh(eA,r),[r])),[l,n,i]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],o=eF(a,i),s=t,{use:d}=o,u=(d||[]).concat(eX);for(let e=u.length;e--;)s=u[e](s);return s(l,n||o.fetcher||null,o)});
1class e2 extends Error{constructor({message:e,status:t,data:r}){super(e),this.name="TwitterApiError",this.status=t,this.data=r}}let e4=e0.default||e0;async function e5([e,t]){let r=await fetch(e,t),a=await r.json();if(r.ok)return a.data||null;throw new e2({message:`Failed to fetch tweet at "${e}" with "${r.status}".`,data:a,status:r.status})}e.s(["Tweet",0,({id:e,apiUrl:t,fallback:a=(0,r.jsx)(ei,{}),components:l,fetchOptions:n,onError:i})=>{let{data:o,error:s,isLoading:d}=((e,t,r)=>{let{isLoading:a,data:l,error:n}=e4(()=>t||e?[t||e&&`https://react-tweet.vercel.app/api/tweet/${e}`,r]:null,e5,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(a||void 0===l&&!n),data:l,error:n}})(e,t,n);if(d)return a;if(s||!o){let e=(null==l?void 0:l.TweetNotFound)||er;return(0,r.jsx)(e,{error:i?i(s):s})}return(0,r.jsx)(ee,{tweet:o,components:l})}],16142)}]);

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.