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]="01dc091c-0ee5-474f-94d2-58355f4759de",e._sentryDebugIdIdentifier="sentry-dbid-01dc091c-0ee5-474f-94d2-58355f4759de")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7410],{97410:function(e,t,l){l.d(t,{Z:function(){return A}});var n=l(85893),s=l(67294),i=l(90038),r=l(88329),o=l(3712),a=l(4296),d=l(89342),u=l(82206),c=l(68029),x=l(12519),h=l(12553),p=l(93977),m=l(90092),f=l(38488),g=l(86561),b=l(21502),j=l(75133),y=l(28645),v=l(52867),k=l(18118),w=l(15715),S=l(48633),C=l(8573),I=l(51107),z=l(2255);let _=e=>{let{type:t="slider",title:l,prefix:s="",sufix:i="",max:r=1e3,value:o,setValue:a,step:d=100}=e;return(0,n.jsx)(n.Fragment,{children:null!==o&&null!==a&&("checkbox"==t?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I.X,{pt:3,isChecked:o,onChange:e=>{a(e.target.checked)},children:l})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c.x,{pt:4,width:"100%",display:"flex",justifyContent:"space-between",children:[(0,n.jsx)(m.x,{textStyle:"body.medium",fontWeight:600,color:"neutral.content-strong",children:l}),(0,n.jsx)(m.x,{textStyle:"body.medium",color:"brand.content-subdued",children:s+" "+o+(i?" "+i:"")})]}),(0,n.jsxs)(z.iR,{width:"100%",max:r,step:d,variant:"primary","aria-label":l,value:o,onChange:e=>{a(e)},children:[(0,n.jsx)(z.Uj,{children:(0,n.jsx)(z.Ms,{})}),(0,n.jsx)(z.gs,{})]})]}))})};var T=l(85551),D=l(6630),R=l(61530),V=l(19302),M=l(64873),E=l(63750),W=l(65440),N=l(96227),A=e=>{let{sendRequest:t,placeholder:l,isLoading:I,isSending:z,setIsSending:A=null,setData:H=null,nbMinRt:K=null,setNbMinRt:P=null,nbMinLikes:U=null,setNbMinLikes:F=null,nbMaxDaysOld:Z=null,setNbMaxDaysOld:B=null,nbMinDaysOld:J=null,setNbMinDaysOld:L=null,nbMinFollowers:Q=null,setNbMinFollowers:$=null,nbMaxFollowers:O=null,setNbMaxFollowers:X=null,noHashtag:q=null,setNoHashtag:G=null,noDollar:Y=null,setNoDollar:ee=null,noCrypto:et=null,setNoCrypto:el=null,noThread:en=null,setNoThread:es=null,onlyThread:ei=null,setOnlyThread:er=null,disableFilters:eo=!1,hasCustomFilters:ea=!1,searchMode:ed="search",suggestions:eu=null,mt:ec="4xl-40",size:ex="lg",showButtonIcon:eh=!1,showButton:ep=!1,buttonText:em="Search",buttonRightIcon:ef=null,buttonLeftIcon:eg=null,showLoader:eb=!1,align:ej="left",withHandleSuggestions:ey=!1,disableShadow:ev=!0,defaultValue:ek="",disableLocalSave:ew=!1,container2Props:eS={},showSearchTips:eC=!1,isSuggestionAHandle:eI=!1,ai:ez=!1}=e,[e_,eT]=(0,S.kP)(),[eD,eR]=s.useState(ek),[eV,eM]=s.useState(!1),[eE]=(0,i.a)("(max-width: 600px)"),[eW,eN]=s.useState(!1),[eA,eH]=(0,s.use
1State)(!1),eK=s.useRef(),eP=(0,V.Z)(function(e){ey&&(eA||eB(e))},400),eU=(0,s.useRef)(null),{isSuggestionsOpen:eF,setIsSuggestionOpen:eZ,checkForSuggestions:eB,suggestions:eJ,disableArrowKeys:eL,updateText:eQ,setSuggestions:e$}=(0,M.f)(eU),eO=(0,s.useRef)(null);(0,T.t$)(eO,async()=>{var e;await new Promise(e=>setTimeout(e,200)),eZ(!1),(null==eU?void 0:null===(e=eU.current)||void 0===e?void 0:e.focus)&&eU.current.focus()}),(0,T.t$)(eK,async()=>{await new Promise(e=>setTimeout(e,200)),eN(!1)}),(0,s.useEffect)(()=>{if(ek)eR(ek);else if(!ew){let e=localStorage.getItem("searchTopic_"+ed);"onboarding"===e&&(localStorage.removeItem("searchTopic_"+ed),e=null),e&&"undefined"!=e&&eR(e)}},[]),(0,s.useEffect)(()=>{var e,t,l,n;(null==e_?void 0:null===(e=e_.user)||void 0===e?void 0:e.uid)&&!eV&&(eM(!0),["engage","ideas"].includes(ed)&&(null==e_?void 0:null===(n=e_.user)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:null===(t=l.keywords)||void 0===t?void 0:t.join)&&eR(e_.user.data.keywords.join(",")))},[e_]);let eX=(0,W.Lm)();return(0,n.jsxs)(r.k,{flexDirection:"column",alignItems:"left"==ej?"flex-start":"center",w:"100%",children:[(0,n.jsxs)(r.k,{flexDirection:"column",alignItems:"center",width:["100%","500px"],...eS,children:[(0,n.jsxs)(o.K,{spacing:"lg-16",width:"100%",as:"form",onSubmit:e=>{e.preventDefault(),eH(!0),t(e_,eD)},isInline:!0,mb:"lg"==ex?"sm-8":0,mt:ec,children:[(0,n.jsxs)(r.k,{flexDir:"column",w:"full",gap:"xs-4",children:[(0,n.jsxs)(a.B,{height:"50px",size:ex,children:["engage"!==ed&&(0,n.jsx)(d.Z,{pointerEvents:"none",children:(0,n.jsx)(C.W,{color:"neutral.content-subdued"})}),(0,n.jsx)(u.I,{type:"text",autoCorrect:"off",autoCapitalize:"off",ref:eU,disabled:I,placeholder:l,value:eD,fontSize:"16px",onChange:e=>{eP(e),eH(!1),eR(e.target.value)},onKeyUp:e=>{27===e.keyCode&&(eZ(!1),e$([]))},onKeyDown:eL}),!eo&&(0,n.jsxs)(d.x,{children:[(0,n.jsxs)(c.x,{children:[(0,n.jsx)(x.h,{"aria-label":"Settings",variant:"text",colorScheme:"neutral",icon:(0,n.jsx)(N.h,{}),onClick:()=>{eN(!eW)}}),ea&&(0,n.jsx)(h.J,{w:3,h:3,position:"absolute",right:"2",top:"2",viewBox:"0 0 200 200",children:(0,n.jsx)("path",{fill:"currentColor",d:"M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0"})})]}),eW&&(0,n.jsx)(c.x,{children:(0,n.jsx)(p.h,{children:(0,n.jsx)(c.x,{position:"absolute",top:eX<800?"290px":"230px",right:"".concat(Math.max(eX/2-260,0),"px"),shadow:"lg",zIndex:"100",px:"3xl-32",pt:"3xl-32",pb:"2xl-24",ref:eK,bg:"neutral.background-subdued",border:"1px solid",borderColor:"neutral.border",borderRadius:"md-12",_before:{content:"''",position:"absolute",bottom:"-4px",left:"0",width:"calc(100% + 0px)",height:"16px",borderBottomRadius:"10px",background:"brand.background"},_after:{content:"''",position:"absolute",bottom:"0px",left:"0",width:"calc(100% + 0px)",height:"16px",borderBottomRadius:"10px",background:"neutral.background-subdued"},children:(0,n.jsxs)(r.k,{maxWidth:"280px",minWidth:"280px",alignItems:"left",flexDir:"column",gap:"sm-8",children:[(0,n.jsxs)(r.k,{alignItems:"center",children:[(0,n.jsx)(m.x,{mr:"lg-16",textStyle:"h4",fontWeight:600,color:"neutral.content-strong",children:"Advanced Filters"}),(0,n.jsx)(N.h,{})]}
1),(0,n.jsx)(_,{title:"Minimum likes",prefix:"at least",max:1e3,step:10,value:U,setValue:F}),(0,n.jsx)(_,{title:"Minimum retweets",prefix:"at least",max:1e3,step:10,value:K,setValue:P}),(0,n.jsx)(_,{title:"Published",prefix:"at least",sufix:"days ago",max:1e3,step:1,value:J,setValue:L}),(0,n.jsx)(_,{title:"Published",prefix:"at most",sufix:"days ago",max:1e3,step:1,value:Z,setValue:B}),(0,n.jsx)(_,{title:"Min. followers",prefix:"at least",max:1e4,step:100,value:Q,setValue:$}),(0,n.jsx)(_,{title:"Max. followers",prefix:"at most",max:1e6,step:100,value:O,setValue:X}),(0,n.jsx)(_,{type:"checkbox",title:"No Hashtag",value:q,setValue:G}),(0,n.jsx)(_,{type:"checkbox",title:"No Ticker",value:Y,setValue:ee}),(0,n.jsx)(_,{type:"checkbox",title:"No Crypto",value:et,setValue:el}),(0,n.jsx)(_,{type:"checkbox",title:"No Thread",value:en,setValue:es}),(0,n.jsx)(_,{type:"checkbox",title:"Only Thread",value:ei,setValue:er}),(0,n.jsxs)(r.k,{gap:"lg-16",justifyContent:"space-between",mt:"lg-16",children:[(0,n.jsx)(f.z,{variant:"outline",colorScheme:"neutral",onClick:()=>{F&&F(40),P&&P(0),L&&L(0),B&&B(60),$&&$(2e3),X&&X(1e5),G&&G(!1),ee&&ee(!1),el&&el(!0),es&&es(!0),er&&er(!1)},children:"Reset"}),(0,n.jsx)(f.z,{variant:"primary",onClick:()=>{eN(!1),t(e_,eD,!0)},children:"Apply"})]})]})})})})]}),eh&&(0,n.jsx)(c.x,{position:"absolute",right:"10px",top:"6px",zIndex:100,children:(0,n.jsx)(x.h,{"aria-label":"Search database",size:"md",variant:"text",colorScheme:"neutral",borderRadius:"18px",icon:(0,n.jsx)(E.PxJ,{fontSize:"24px"}),onClick:()=>t(e_,eD)})})]}),ey&&eF&&(null==eJ?void 0:eJ.length)>0&&(0,n.jsx)(c.x,{maxH:"44",overflow:"auto",background:"neutral.background-subdued",borderRadius:"md",border:"1px",boxShadow:"md",width:"100%",borderColor:"inherit",padding:"1",top:"105%",tabIndex:1,ref:eO,children:(0,n.jsx)(R.D,{suggestions:eJ,onSelect:function(e){eQ({currentText:eD,handle:e},e=>{eR(e)})}})})]}),ep&&(0,n.jsx)(f.z,{variant:"primary",size:"md",minW:"180px",isLoading:I,onClick:()=>{t(e_,eD)},leftIcon:eg,rightIcon:ef,children:em})]}),eC&&(0,n.jsx)(c.x,{w:"100%",children:(0,n.jsx)(g.U,{allowToggle:!0,fontSize:"xs",textStyle:"body.medium",color:"neutral.content",children:(0,n.jsx)(b.Q,{border:"none",children:e=>{let{isExpanded:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(j.K,{w:"fit-content",_hover:{bg:"inherit"},_focus:{boxShadow:"none"},ml:"-3.5",children:[(0,n.jsx)(c.x,{as:"span",flex:"1",textAlign:"left",textStyle:"body.medium",color:"neutral.content",children:"Search tips"}),(0,n.jsx)(h.J,{as:t?E.IAR:E.fmn,mt:".5",ml:"2",h:"2",w:"2",strokeWidth:"1"})]}),(0,n.jsx)(y.H,{pb:"lg-16",children:(0,n.jsxs)(v.QI,{listStyleType:"none",spacing:"sm-8",children:[(0,n.jsxs)(v.HC,{children:['Use "keyword" for ',(0,n.jsx)("b",{children:"exact-match"})," search."]}),(0,n.jsxs)(v.HC,{children:["Use -keyword to ",(0,n.jsx)("b",{children:"exclude keyword"})," from results."]}),(0,n.jsxs)(v.HC,{children:["Use @ to search for an ",(0,n.jsx)("b",{children:"account"})," (ex: @patxol)"]})]})})]})}})})}),eE?(0,n.jsx)(o.K,{width:"100%",mb:"lg-16",mt:"sm-8",children:(0,n.jsx)(k.E,{mb:0,mt:0,width:"100%",justify:"center",children:eu&&eu.map(e=>(0,n.jsx)(f.z,{variant:"outline",colorScheme:"neutral",size:"sm",bg:"neutral.background-subdued",onClick:()=>{console.log("trendingTopic: "+e),eI&&(e="@"+e),eR(e),t(e_,e)},children:e},e))})}):(0,n.jsx)(o.K,{width:"100%",justifyContent:"center",mb:"lg-16",mt:"sm-8",children:(0,n.jsx)(k.E,{mb:0,mt:0,width:"100%",justify:"center",spacing:"lg-16",children:eu&&eu.map(e=>(0,n.jsx)(f.z,{variant:"outline",colorScheme:"neutral",size:"sm",bg:"neutral.background-subdued",_hover:{bg:"neutral.background-hover"},onClick:()=>{eI&&(e="@"+e),eR(e),t(e_,e)},children:e},e))})})]}),eb&&I&&(0,n.jsx)(w.M,{mt:"4xl-40",pt:"3xl-32",w:"100%",children:(0,n.jsx)(D.r,{loading:z,css:"display: block; margin: 0 auto; border-color: red;",size:50})})]})}},8573:function(e,t,l){l.d(t,{W:function(){return s}});var n=l(24278);let s=(0,n.I)({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"})}}]);
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.