1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="98658611-741f-4822-8d85-e7a577db81b8",e._sentryDebugIdIdentifier="sentry-dbid-98658611-741f-4822-8d85-e7a577db81b8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{8266:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return n(42314)}])},493:function(e,t,n){"use strict";var a=n(85893),r=n(3712),i=n(50232),o=n(38488),s=n(67294),l=n(48633),c=n(95857),d=n(29141);t.Z=()=>{let e=s.useContext(d.B1);return(0,s.useEffect)(()=>{e.setIsOpen(!1)},[]),(0,a.jsxs)(r.K,{maxW:400,spacing:4,margin:"auto",mt:"5vh",children:[(0,a.jsx)(i.X,{fontSize:"2xl",textAlign:"center",children:"You have been logged out."}),(0,a.jsx)(i.X,{p:10,fontSize:"lg",textAlign:"center",children:"Please login to continue using the app."}),(0,a.jsx)(o.z,{variant:"primary",onClick:()=>{var e,t;(0,c.kS)(!1);let n=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href;n||(n="https://app.tweethunter.io/subscribe"),(0,l.zB)("twitter",{callbackUrl:n})},children:"Sign in"})]})}},30690:function(e,t,n){"use strict";var a=n(85893);n(67294);var r=n(15715),i=n(3712),o=n(50232),s=n(68029),l=n(90092),c=n(38488),d=n(96885),u=n(19996);t.Z=e=>{let{}=e,t=(0,d.useRouter)();return(0,a.jsx)(r.M,{children:(0,a.jsxs)(i.K,{borderRadius:8,boxShadow:"0px 0px 10px #ddd",borderColor:"neutral.border",background:"neutral.background-subdued",p:6,css:{position:"absolute",top:"calc(2000px - 60vw)",zIndex:100},children:[(0,a.jsx)(o.X,{maxW:400,textAlign:"center",fontSize:"lg",mb:5,lineHeight:8,children:"Unlock all search results and thousands of other viral tweets"}),(0,a.jsx)(r.M,{mb:10,children:(0,a.jsx)(s.x,{maxW:400,mb:5,children:["â
\xa0\xa0 Unlimited results","â
\xa0\xa0 Save tweets to list","â
\xa0\xa0 Daily tweet inspiration to your inbox","â
\xa0\xa0 Weekly AI analysis of your X account"].map(e=>(0,a.jsx)(l.x,{m:1,children:e},e))})}),(0,a.jsx)(r.M,{children:(0,a.jsx)(c.z,{maxW:200,onClick:()=>{u.cM("hit_unlock",{source:"bottom"}),t.push("/pricing")},variant:"primary",children:"Start Free Trial"})})]})})}},52416:function(e,t,n){"use strict";n.d(t,{CC:function(){return l},Fw:function(){return o},MZ:function(){return r},Wf:function(){return i},Wh:function(){return c},Yl:function(){return s},f1:function(){return a}});let a=["marketing","crypto","saas","gaming","startup","audience","coding"],r={nbMinDaysOld:0,nbMaxDaysOld:60,nbMinLikes:40,nbMinRt:0,noHashtag:!1,noDollar:!1,noCrypto:!0,noThread:!0,onlyThread:!1},i={nbMinRt:e=>"min ".concat(e," RTs"),nbMinLikes:e=>"min ".concat(e," ").concat(e>0?"likes":"like"),nbMinDaysOld:e=>"min ".concat(e," ").concat(e>0?"days":"day"," old"),nbMaxDaysOld:e=>"max ".concat(e," ").concat(e>0?"days":"day"," old"),noHashtag:()=>"no hashtag",noDollar:()=>"no ticker",noCrypto:()=>"allow crypto",noThread:()=>"allow threads",onlyThread:()=>"only thread"},o="searchTopic_search_filters_v2",s={...r,nbMaxDaysOld:999,noCrypto:!1,noThread:!1},l=[["onlyThread","noThread"]],c=[["nbMinDaysOld","nbMaxDaysOld"]]},42314:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.r(t),n.d(t,{Application:function(){return O}});var r=n(85893),i=n(88329),o=n(57879),s=n(38488),l=n(15715),c=n(26972),d=n(68029),u=n(55436),h=n(90092),p=n(97410),f=n(56528),y=n(67294),m=n(48633),b=n(493),g=n(30690),x=n(1467),w=n(86511),v=n(93964),k=n(52416),M=n(6630),S=n(29992),j=n(30055),C=n(95857),D=n(85551),_=n(19093),E=e([x]);x=(E.then?(await E)():E)[0];let O=e=>{var t,n,a;let{query:E}=e,[O,T]=(0,m.kP)(),[I,N]=y.useState(!0),[R,W]=y.useState([]),[z,Z]=y.useState(!1),[F,P]=y.useState(null),[A,L]=y.useState(k.f1),[H,B]=(0,y.useState)(""),[U,X]=(0,y.useState)(k.MZ),[q,J]=(0,y.useState)(!1),Y=(e,t)=>X(n=>{let a={...n};if(a[e]=t,!0===t)for(let[t,n]of k.CC)e===t?a[n]=!1:e===n&&(a[t]=!1);if("number"==typeof t)for(let[n,r]of k.Wh)e===n&&a[r]<t?a[r]=t:e===r&&a[n]>t&&(a[n]=t);return a}),K=(0,y.useMemo)(()=>{let e=e=>k.CC.some(t=>{let[n,a]=t;return e===n&&!0===U[a]||e===a&&!0===U[n]});return Object.keys(k.MZ).filter(e=>U[e]!==k.MZ[e]).filter(t=>!e(t)).map(e=>({id:e,name:k.Wf[e](U[e])}))},[U]),[G,V]=y.useState({}),Q=(0,S.I)(),{updateOnboardSteps:$}=(0,j.o)(),{updateStatsCounter:ee}=(0,_.V)(),et=async()=>{var e;if(Q&&(null===(e=(0,C.D0)(O))||void 0===e?void 0:e.id)){let e=await (0,w.gp)((0,C.D0)(O).id);W(e)}};(0,y.useEffect)(()=>{let e=localStorage.getItem("isPersonalizedSorting");null!=e&&N("true"==e)},[]),(0,y.useEffect)(()=>{et()},[G,O,Q]),(0,y.useEffect)(()=>
1{if((null==E?void 0:E.filters)&&(null==E?void 0:E.filters)==="0"){X(k.Yl);return}let e=localStorage.getItem(k.Fw);if(e)try{let t=JSON.parse(e);X({...k.MZ,...t})}catch(e){}},[]),(0,y.useEffect)(()=>{q&&(en(O,H),J(!1))},[K]);let en=async(e,t)=>{if(z)return;Z(!0);let n={isPersonalizedSorting:I,...U},a=await (0,v.yC)(e,t,n);if(ee("search_via_search_page"),(0,D._m)(k.Fw,JSON.stringify(U)),a&&0!==a.success){var r;P(a),(null==a?void 0:null===(r=a.suggestions)||void 0===r?void 0:r.length)&&L(a.suggestions)}else P(null);B(t),$("searchInspiration","aiWriting"),Z(!1)};return T||O?(0,r.jsxs)(x.T,{title:"Search for any topic and find viral tweets to get inspired by",description:"We use AI to analyse tweets and match them with your search",mainWrapperProps:{py:[12,8],maxW:1500},titleRowWrapperProps:{justifyContent:"center"},descriptionWrapperProps:{textAlign:"center",pt:2},children:[(0,r.jsx)(i.k,{flex:1,justifyContent:"center",children:(0,r.jsx)(o.r,{mt:"3",target:"_blank",href:"https://fan-lentil-5ac.notion.site/Engagement-51f7cda5f8224175abef24a404dfcaa1",children:(0,r.jsx)(s.z,{variant:"text",children:"Learn how to recycle a tweet"})})}
1),(0,r.jsx)(l.M,{children:(0,r.jsx)(p.Z,{sendRequest:en,isLoading:z,placeholder:'keyword "exact match" -exclude @handle',isSending:z,setIsSending:Z,setData:P,nbMinRt:U.nbMinRt,setNbMinRt:e=>Y("nbMinRt",e),nbMinLikes:U.nbMinLikes,setNbMinLikes:e=>Y("nbMinLikes",e),nbMaxDaysOld:U.nbMaxDaysOld,setNbMaxDaysOld:e=>Y("nbMaxDaysOld",e),nbMinDaysOld:U.nbMinDaysOld,setNbMinDaysOld:e=>Y("nbMinDaysOld",e),noHashtag:U.noHashtag,setNoHashtag:e=>Y("noHashtag",e),noDollar:U.noDollar,setNoDollar:e=>Y("noDollar",e),noCrypto:U.noCrypto,setNoCrypto:e=>Y("noCrypto",e),noThread:U.noThread,setNoThread:e=>Y("noThread",e),onlyThread:U.onlyThread,setOnlyThread:e=>Y("onlyThread",e),hasCustomFilters:(null==K?void 0:K.length)>0,suggestions:A,align:"center",withHandleSuggestions:!0,showSearchTips:!0})}),(0,r.jsx)(l.M,{display:"flex",flexDirection:"column",children:(0,r.jsx)(c.u,{hasArrow:!0,label:"We automatically analyse your account to bring you more relevant tweet suggestions. Click here to modify these settings.",children:(0,r.jsxs)(d.x,{display:"flex",alignItems:"center",mb:3,bg:"neutral.background-subdued",border:"1px solid",borderColor:"neutral.border",borderRadius:"md-12",px:3,py:2,children:[(0,r.jsx)(u.r,{isChecked:I,mr:3,size:"sm",onChange:()=>{(0,D._m)("isPersonalizedSorting",""+!I),N(!I)}}),(0,r.jsx)(h.x,{textStyle:"body.medium",color:"neutral.content",as:"a",href:"/settings",fontSize:"sm",children:"Optimize results for my account"})]})})}),z&&(0,r.jsx)(l.M,{pt:10,children:(0,r.jsx)(M.r,{loading:z,css:"display: block; margin: 0 auto; border-color: red;",size:50})}),!z&&(null==F?void 0:F.tweets)&&(0,r.jsx)(d.x,{children:(0,r.jsx)(f.Z,{sendRequest:en,savedTweet:R,tweets:F.tweets,data:F,setData:P,filters:K,handleRemoveFilter:e=>{X(t=>({...t,[e]:k.MZ[e]})),J(!0)},disableBlur:!1,disableBookmarkButton:!1,refresher:V,refresh:G,disableSaveCsv:!0,disableEmbed:!0,disableTryAgain:!1,disableDescriptionWarning:!1,source:"ez4cast"})}),!T&&(null==F?void 0:F.tweets)&&!(null==O?void 0:null===(n=O.user.data)||void 0===n?void 0:null===(t=n.subscription)||void 0===t?void 0:t.isSubscribed)&&(!(null==O?void 0:null===(a=O.user.data)||void 0===a?void 0:a.remainingFreeSearch)||O.user.data.remainingFreeSearch<=0)&&(0,r.jsx)(g.Z,{})]}):(0,r.jsx)(b.Z,{})};O.getInitialProps=async e=>{let{query:t}=e;return{query:t}},t.default=O,a()}catch(e){a(e)}})},89238:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(67294),r=function(){return(r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=a.forwardRef(function(e,t){var n=a.useState(!1),i=n[0],o=n[1],s=a.useState(e.alwaysLoadIframe||!1),l=s[0],c=s[1],d=encodeURIComponent(e.id),u="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,h=e.title,p=e.poster||"hqdefault",f=e.announce||"Watch",y=new URLSearchParams(r(r(r(r({},e.muted?{mute:"1"}:{}),e.alwaysLoadIframe?{}:{autoplay:"1",state:"1"}),e.enableJsApi?{enablejsapi:"1"}:{}),e.playlist?{list:d}:{})),m=e.noCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com";m=e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com";var b=e.playlist?"".concat(m,"/embed/videoseries?").concat(y.toString()):"".concat(m,"/embed/").concat(d,"?").concat(y.toString()),g=e.webp?"webp":"jpg",x=e.webp?"vi_webp":"vi",w=e.thumbnail||(e.playlist?"https://i.ytimg.com/".concat(x,"/").concat(u,"/").concat(p,".").concat(g):"https://i.ytimg.com/".concat(x,"/").concat(d,"/").concat(p,".").concat(g)),v=e.activatedClass||"lyt-activated",k=e.adNetwork||!1,M=e.aspectHeight||9,S=e.aspectWidth||16,j=e.iframeClass||"",C=e.playerClass||"lty-playbtn",D=e.wrapperClass||"yt-lite",_=e.onIframeAdded||function(){},E=e.rel?"prefetch":"preload",O=e.containerElement||"article",T=e.style||{};return a.useEffect(function(){l&&_()},[l]),a.createElement(a.Fragment,null,a.createElement("link",{rel:E,href:w,as:"image"}),a.createElement(a.Fragment,null,i&&a.createElement(a.Fragment,null,a.createElement("link",{rel:"preconnect",href:m}
1),a.createElement("link",{rel:"preconnect",href:"https://www.google.com"}),k&&a.createElement(a.Fragment,null,a.createElement("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),a.createElement("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})))),a.createElement(O,{onPointerOver:function(){i||o(!0)},onClick:function(){l||c(!0)},className:"".concat(D," ").concat(l?v:""),"data-title":h,style:r(r({backgroundImage:"url(".concat(w,")")},{"--aspect-ratio":"".concat(M/S*100,"%")}),T)},a.createElement("button",{type:"button",className:C,"aria-label":"".concat(f," ").concat(h)}),l&&a.createElement("iframe",{ref:t,className:j,title:h,width:"560",height:"315",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:b})))})},9008:function(e,t,n){e.exports=n(42636)},70647:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var a=n(85893),r=n(376),i=n(49381),o=n(17997);let s=(0,i.G)((e,t)=>(0,a.jsx)(o.m.img,{ref:t,as:r.Z,className:"chakra-image",...e}))},85355:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var a=n(85893),r=n(34926),i=n(90608),o=n(17997);let s=e=>{let{className:t,...n}=e,s=(0,i.x)();return(0,a.jsx)(o.m.hr,{"aria-orientation":"horizontal",className:(0,r.cx)("chakra-menu__divider",t),...n,__css:s.divider})};s.displayName="MenuDivider"}},function(e){e.O(0,[4980,1778,3422,6765,1467,6528,7410,9774,2888,179],function(){return e(e.s=8266)}),_N_E=e.O()}]);
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.