PageSourceSearch

https://www.refine.bio/_next/static/chunks/pages/search-4e0ed7e76e180d0f.js

js refine.bio collected 2026-09-24 19:38:08 UTC 22,961 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[603],{5763:function(e,n,t){"use strict";t.d(n,{R:function(){return m}});var r=t(7294),a=t(975),i=t(9019),s=t(253),o=t(6432),l=t(1464),c=t(7208),d=t(3914),u=t(5893),m=function(e){var n=e.btnType,t=void 0===n?"primary":n,m=e.btnWidth,x=e.padding,h=e.placeholder,p=void 0===h?"":h,g=e.responsive,f=void 0!==g&&g,j=e.reverse,b=e.size,v=void 0===b?"medium":b,w=e.value,y=void 0===w?"":w,S=e.onChange,k=void 0===S?function(){}:S,_=e.onSubmit,z=void 0===_?function(){}:_,C=(0,s.F)(),F=C.viewport,A=C.setResponsive,O=(0,r.useState)(y),P=O[0],R=O[1],E=function(e){k(e),R(e)};return(0,r.useEffect)(function(){R(y)},[y]),(0,u.jsx)(a.x,{direction:f&&"small"===F?"column":"row",justify:"between",responsive:f,size:v,viewport:F,width:"100%",children:(0,u.jsx)(i.l,{htmlFor:"search",role:"search",style:{width:"100%"},onSubmit:function(){return z(P)},children:(0,u.jsxs)(a.x,{direction:f&&"small"===F?"column":"row",width:"100%",children:[(0,u.jsxs)(a.x,{style:{position:"relative"},width:"small"!==v&&"small"!==F?"calc(100% - 96px)":"100%",children:["small"===v?(0,u.jsx)(d.o,{id:"search",icon:(0,u.jsx)(l.J,{name:"Search",size:"small"}),placeholder:p,style:{padding:x},type:"search",reverse:void 0===j||j,value:P,onChange:function(e){return E(e.target.value)}}):(0,u.jsx)(d.o,{id:"search",placeholder:p,type:"search",style:{fontSize:"large"===v?"22px":"16px",padding:"large"===v?"22px":"16px"},value:P,onChange:function(e){return E(e.target.value)}}),P&&"large"===v&&(0,u.jsxs)(a.x,{role:"button",style:{boxShadow:"none",position:"absolute",right:A("16px","16px"),top:"16px"},onClick:function(){R("")},children:[(0,u.jsx)(l.J,{name:"Close",size:"16px"}),(0,u.jsx)(c.o,{children:"Clear text"})]})]}),"small"!==v&&(0,u.jsx)(o.z,{label:"Search",margin:{left:A("none","small"),top:"small"===F&&f?"small":"none"},primary:"primary"===t,secondary:"secondary"===t,style:{padding:"large"===v?"10px 20px":"4px 16px"},type:"submit",width:f&&"small"===F?"100%":void 0===m?"":m})]})})})}},4842:function(e,n,t){"use strict";t.d(n,{w:function(){return a}});var r=t(7294),a=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(0,r.useState)(null),a=t[0],i=t[1],s=function(){i(clearTimeout(a))};return(0,r.useEffect)(function(){return function(){return s()}},[]),{startTimer:function(){i(setTimeout(function(){return e()},n))},clearTimer:s}}},6699:function(e,n,t){"use strict";t.r(n),t.d(n,{Search:function(){return eT},__N_SSP:function(){return eE},default:function(){return eZ}});var r=t(7812),a=t(7294),i=t(975),s=t(5631),o=t(7670),l=t(1163),c=t(7324),d=function(e){var n=(0,l.useRouter)(),t=(0,c.A)().searchParams,r=(0,a.useRef)(!1);(0,a.useEffect)(function(){if(!r.current){r.current=!0;return}new URLSearchParams(t).toString()!==new URLSearchParams(e).toString()&&n.push({pathname:n.pathname,query:t})},[t])},u=t(7084),m=t(253),x=t(209),h=t(6835),p={downloadable_organism_names:"downloadable_organism",platform_accession_codes:"platform"},g=function(e){var n=Object.entries(p).find(function(n){var t=(0,h.Z)(n,2),r=t[0],a=t[1];return r===e||a===e});return n?n[e===n[0]?1:0]:e},f=function(e){return e.map(function(e){return g(e)||e})},j=function(e,n){var t=f(e);return Object.entries(n).reduce(function(e,n){var r=(0,h.Z)(n,2),a=r[0],i=r[1];return t.includes(a)?e[a]=Array.isArray(i)?i:[i]:e[a]=i,e},{})},b=t(9419),v=function(e){if(!e)return[];var n=b.Sz.accessionCode;return e.split(/,| /i).filter(function(e){return n.test(e)})},w=t(4281),y=t(6432),S=t(4288),k=t(5643),_=t(6683),z=t(3121),C=t(8087),F=t(9858),A=t(655),O=t(4784),P=t(1464),R=t(5305),E=t(1640),T=t(5893),Z=function(e){var n=e.experiment,t=e.charLimit,r=void 0===t?300:t,s=n.alternate_accession_code,l=n.description,c=n.publication_title,d=n.sample_metadata_fields,u=(0,F.x)().formatSampleMetadata,m=(0,a.useState)(l.length>r),x=m[0],h=m[1],p=s&&s.startsWith("E-GEOD");return(0,T.jsxs)(i.x,{pad:{top:"medium",bottom:"small"},children:[(0,T.jsxs)(i.x,{children:[(0,T.jsx)(o.X,{level:5,responsive:!1,weight:"500",children:"Description"}),l?(0,T.jsx)(i.x,{animation:x?{}:{type:"fadeIn",duration:1e3},children:(0,T.jsxs)(z.n,{children:[x?"".concat(l.slice(0,r)," ..."):l,l.length>r&&(0,T.jsxs)(C.x,{color:"brand",margin:{left:"xsmall"},role:"button",style:{boxShadow:"none",cursor:"pointer",textDecoration:"underline"},onClick:function(){return h(!x)},children:["See",x?(0,T.jsxs)(T.Fragment,{children:[" ","More",(0,T.jsx)(P.J,{margin:{left:"xxsmall"},name:"ChevronDown",size:"13px"})]}):(0,T.jsxs)(T.Fragment,{children:[" ","Less",(0,T.jsx)(P.J,{margin:{left:"xxsmall"},name:"ChevronUp",size:"13px"})]})]})]})}):(0,T.jsx)(E.M,{text:"No description"})]}),(0,T.jsxs)(i.x,{margin:{top:"small"},children:[(0,T.jsx)(o.X,{level:5,responsive:!1,weight:"500",children:"Publication Title"}),(0,T.jsx)(z.n,{children:c?(0,T.jsx)(R.B,{children:c}):(0,T.jsx)(E.M,{text:"No associated publication"})})]}),(0,T.jsxs)(i.x,{margin:{top:"small"},children:[(0,T.jsx)(o.X,{level:5,responsive:!1,weight:"500",children:"Alternate Accession IDs"}),s?p?(0,T.jsx)(R.B,{children:s}):(0,T.jsx)(O.e,{href:(0,A.Z)(s),target:"_blank",label:(0,T.jsx)(R.B,{children:s})}):(0,T.jsx)(E.M,{text:"None"})]}),(0,T.jsxs)(i.x,{margin:{top:"small"},children:[(0,T.jsx)(o.X,{level:5,responsive:!1,weight:"500",children:"Sample Metadata Fields"}),(0,T.jsx)(i.x,{direction:"row",children:(0,T.jsx)(z.n,{children:d.length>0?(0,T.jsx)(R.B,{children:u(d).join(", ")}):(0,T.jsx)(E.M,{text:"No sample metadata fields"})})})]})]})},M=t(9838),D=t.n(M),q=function(e){var n=e.experiment,t=n.accession_code,r=n.title,a=(0,l.useRouter)().push;return(0,T.jsx)(i.x,{children:(0,T.jsx)(y.z,{label:"View Samples",secondary:!0,onClick:function(){u.Z.trackExperimentPageClick("ExperimentCardFooter"),a({pathname:"/experiments/".concat(t,"/").concat(D()(r)),query:{ref:"view-samples"}})}})})},N=t(6170),X=function(e){var n=e.experiment,t=(0,m.F)(),r=t.viewport,a=t.setResponsive;return(0,T.jsxs)(i.x,{background:"white",elevation:"medium",margin:{bottom:a("large","medium")},pad:"medium",children:[(0,T.jsxs)(s.r,{areas:a([{name:"header",start:[0,0],end:[1,0]},{name:"meta",start:[0,1],end:[1,1]},{name:"ctas",start:[0,2],end:[1,2]}],[{name:"header",start:[0,0],end:[0,1]},{name:"ctas",start:[1,0],end:[1,1]},{name:"meta",start:[0,2],end:[1,2]}]),columns:["1fr","auto"],rows:["auto","auto","auto"],gap:{row:a("small","medium"),column:"medium"},children:[(0,T.jsx)(i.x,{gridArea:"header",children:(0,T.jsx)(_.K,{experiment:n,isLinked:!0})}),(0,T.jsx)(i.x,{gridArea:"ctas",margin:{top:a("none","large")},children:(0,T.jsx)(i.x,{align:a("start","end"),width:"100%",children:(0,T.jsx)(k.b,{experiment:n})})}),(0,T.jsx)(i.x,{gridArea:"meta",children:(0,T.jsx)(N.S,{experiment:n})})]}),"small"!==r&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(Z,{experiment:n}),(0,T.jsx)(q,{experiment:n})]})]})},L=t(4854),J=t(8606),B=t(4721),I=t(9851),V=t(5763),G=t(4161),H=t(1988),K=t(4697),U=t(6217),W=t(82),Y=function(e){var n=e.dataToAdd,t=(0,m.F)().setResponsive,r=(0,U.k)(n.filter(function(e){return e.num_downloadable_samples>0}));return(0,T.jsx)(W.Y,{data:r,disableAddRemaining:!0,label:"Add Page to Dataset",responsive:t(!0,!1),secondary:!0})},$=t(7548),Q=function(){var e=(0,c.A)(),n=e.updateSearchParam,t=b.YM.search.numDownloadableSamples,r={checked:t.exclude,unchecked:t.include},a=e.searchParams[t.key]===r.checked;return(0,T.jsx)($.J,{label:"Hide non-downloadable experiments",checked:a,onChange:function(e){return n(t.key,e.target.checked?r.checked:r.unchecked)}})},ee=function(e){var n=e.response,t=e.query,r=(0,c.A)(),a=r.updatePageSize,o=r.updateSortBy,l=(0,m.F)(),d=l.getForBreakpoint,u=l.setResponsive,x=n.results,h=n.totalResults,p=(null==x?void 0:x.length)>0;return(0,T.jsx)(i.x,{pad:{bottom:"medium"},children:(0,T.jsxs)(s.r,{areas:u([{name:"page-display",start:[0,0],end:[0,0]},{name:"sort-by",start:[0,1],end:[0,1]},{name:"add-page",start:[0,3],end:[0,3]},{name:"hide-non-downloadble",start:[0,2],end:[0,2]}],[{name:"page-display",start:[0,0],end:[1,0]},{name:"sort-by",start:[1,0],end:d(850,[2,0],[1,0])},{name:"add-page",start:d(850,[1,1],[2,0]),end:d(850,[2,1],[2,0])},{name:"hide-non-downloadble",start:d(850,[0,1],[0,1]),end:d(850,[0,1],[2,1])}],[{name:"page-display",start:[0,0],end:[1,0]},{name:"sort-by",start:[1,0],end:d(1100,[2,0],[1,0])},{name:"add-page",start:d(1100,[1,1],[2,0]),end:d(1100,[2,1],[2,0])},{name:"hide-non-downloadble",start:d(1100,[0,1],[0,1]),end:d(1100,[0,1],[2,1])}]),rows:u(["auto","auto","auto","auto"],["auto","auto"]),columns:u(["auto"],d(1100,["auto","auto"],["auto","auto","auto"])),gap:{row:"medium",column:"xsmall"},children:[p&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(i.x,{gridArea:"page-display",justify:"center",children:(0,T.jsx)(i.x,{align:"center",direction:"row",children:(0,T.jsx)(K.b,{ofLabel:"results",pageSizeLabel:"Total Samples",pageSize:t.limit,totalPages:h,onPageSizeChange:a})})}),(0,T.jsx)(i.x,{gridArea:"sort-by",children:(0,T.jsxs)(i.x,{align:"center",direction:"row",children:["Sort by",(0,T.jsx)(i.x,{width:"208px",children:(0,T.jsx)(G.P,{options:(0,H.Z)(["_score","-num_downloadable_samples","num_downloadable_samples","-source_first_published","source_first_published"]),labelKey:"label",value:t.ordering,valueKey:{key:"value",reduce:!0},margin:{horizontal:"xxsmall"},onChange:function(e){return o(e.value)}})})]})}),(0,T.jsx)(i.x,{gridArea:"add-page",children:(0,T.jsx)(i.x,{align:u("start","end"),children:(0,T.jsx)(Y,{label:"Add Page to Dataset",secondary:!0,responsive:u(!0,!1),dataToAdd:x})})})]}),(0,T.jsx)(i.x,{gridArea:"hide-non-downloadble",children:(0,T.jsx)(Q,{})})]})})},en=t(3639),et=t(3471),er=t(6541),ea=function(e){var n=e.label,t=e.filter,r=e.facet,a=e.values,s=void 0===a?{checked:!0,unchecked:!1}
1:a,o=(0,c.A)(),l=o.isFilterChecked,d=o.updateFilterValue;return(0,T.jsx)(i.x,{children:(0,T.jsx)($.J,{checked:l(t),disabled:!(void 0===r?{}:r).true,label:n,onChange:function(e){return d(t,e.target.checked?s.checked:s.unchecked)}})})},ei=t(9521),es=t(1660),eo=(0,ei.default)(y.z).withConfig({displayName:"SearchFilter__ToggleButton",componentId:"sc-13240c-0"})(["border-bottom:1px solid transparent;",""],function(e){var n=e.theme;return(0,ei.css)(["&:hover{border-bottom:1px solid ",";}"],n.global.colors.brand)}),el=function(e){var n=e.facet,t=void 0===n?{}:n,r=e.filter,s=(0,c.A)(),l=s.isFilterChecked,d=s.toggleFilter,m=(0,et.Z)(r),h=Object.entries(t).sort(function(e,n){return n[1]-e[1]}),p=h.length,g=p>5,f=(0,a.useState)(h.slice(0,5)),j=f[0],b=f[1],v=(0,a.useState)(!1),w=v[0],y=v[1],S=(0,a.useState)(""),k=S[0],_=S[1],z=function(e,n){d(r,n),u.Z.trackFilterType(m),u.Z.trackToggleFilterItem(e,(0,es.Z)(r,n))};return(0,a.useEffect)(function(){w&&!k?b(h):b(h.slice(0,5))},[t,w]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(o.X,{level:4,margin:{bottom:"xsmall"},responsive:!1,children:m}),g&&(0,T.jsx)(i.x,{margin:{bottom:"small"},children:(0,T.jsx)(V.R,{pad:{bottom:"xsmall"},placeholder:"Filter ".concat(m),value:k,size:"small",onChange:function(e){_(e),b(function(){return""!==e.trim()?h.filter(function(n){return(0,es.Z)(r,n[0]).toLowerCase().includes(e.toLowerCase())}):w?h:h.slice(0,5)})}})}),(0,T.jsx)(x.$,{match:k,children:(0,T.jsx)(i.x,{animation:w?{type:"fadeIn",duration:1e3}:{},children:j.map(function(e,n,t){return(0,T.jsx)(i.x,{margin:{bottom:(0,er.Z)(n,t)?"0":"xsmall"},children:(0,T.jsx)($.J,{label:(0,T.jsxs)(C.x,{children:[(0,T.jsx)(R.B,{children:(0,es.Z)(r,e[0])})," ","(",(0,en.Z)(e[1]),")"]}),checked:l(r,e[0]),onChange:function(n){return z(n.target.checked,e[0])}})},e[0])})})}),0===j.length&&(0,T.jsx)(E.M,{text:"No match found"}),g&&(0,T.jsx)(eo,{label:w&&!k.trim()?"- See Less":w||k.trim()?"":"+ ".concat(p-5," More"),margin:{top:"xxsmall",left:"medium"},style:{borderRadius:"0",boxShadow:"none",padding:"0",transition:"border-bottom 0.15s ease-in"},onClick:function(){y(!w)}})]})},ec=function(e){var n=e.facets,t=e.isResults,r=e.onToggle,s=(0,m.F)().viewport,l=(0,c.A)(),d=l.canClearFilter,u=l.clearAllFilters,x=Object.fromEntries(Object.entries(t?n:{has_publication:{false:0},downloadable_organism_names:{},platform_accession_codes:{},technology:{}}).map(function(e){var n=(0,h.Z)(e,2),t=n[0],r=n[1];return[g(t),r]}));return(0,T.jsxs)(i.x,{children:[(0,T.jsxs)(i.x,{align:"center",direction:"row",justify:"between",height:{max:"100%"},margin:{bottom:"medium"},children:[(0,T.jsx)(o.X,{level:2,responsive:!1,children:"Filters"}),(0,T.jsx)(y.z,{disabled:!d,label:"Clear All",link:!0,linkFontSize:"medium",onClick:u})]}),["downloadable_organism","technology","platform","has_publication"].map(function(e,n,t){return(0,T.jsx)(a.Fragment,{children:(0,T.jsx)(i.x,{border:(0,er.Z)(n,t)?null:{color:"gray-shade-40",side:"bottom"},margin:{bottom:"medium"},pad:{bottom:(0,er.Z)(n,t)?"none":"medium"},children:"has_publication"===e?(0,T.jsx)(ea,{facet:x[e],filter:e,label:"".concat((0,et.Z)(e)," (").concat((0,en.Z)(x[e].true)||0,")"),values:{checked:!0,unchecked:void 0}}):(0,T.jsx)(el,{facet:x[e],filter:e})})},e)}),"large"!==s&&(0,T.jsx)(i.x,{margin:{top:"small",bottom:"large"},width:"100%",children:(0,T.jsx)(y.z,{label:"Apply Filters",primary:!0,responsive:!0,onClick:void 0===r?function(){}:r})})]})},ed=t(7730),eu=t(4842),em=t(4794),ex=function(){var e=(0,ed._)("visited-before",null),n=(0,h.Z)(e,2),t=n[0],r=n[1],s=(0,m.F)().viewport,l=(0,eu.w)(function(){j(!1)},450),c=l.startTimer,d=l.clearTimer,u=(0,a.useState)(!1),x=u[0],p=u[1],g=(0,a.useState)(!1),f=g[0],j=g[1],b=function(){p(!1),c()};return((0,a.useEffect)(function(){return t||(r(!0),p(!0),j(!0)),function(){return d()}},[]),f)?(0,T.jsx)(em.P,{duration:".48s",expand:x,children:"small"!==s?(0,T.jsxs)(i.x,{background:"gradientLightReverse",pad:"small",children:[(0,T.jsx)(i.x,{alignSelf:"end",children:(0,T.jsx)(y.z,{icon:(0,T.jsx)(P.J,{name:"Close",size:"16px"}),onClick:b,link:!0})}),(0,T.jsxs)(i.x,{align:"center",children:[(0,T.jsx)(o.X,{color:"brand-sha
1de-40",level:1,size:"small",weight:500,children:"Build and Download Custom Datasets"}),(0,T.jsx)(i.x,{width:{max:"600px"},children:(0,T.jsx)(z.n,{color:"brand-shade-40",textAlign:"center",size:"xlarge",margin:{top:"xsmall"},children:"refine.bio helps you build ready-to-use datasets with normalized transcriptome data from all of the world’s genetic databases."})})]})]}):(0,T.jsxs)(i.x,{background:"brand-shade-40",direction:"row",justify:"between",pad:"small",children:[(0,T.jsx)(z.n,{color:"white",children:"Search and download from a collection of normalized transcriptome data."}),(0,T.jsx)(i.x,{children:(0,T.jsx)(y.z,{icon:(0,T.jsx)(P.J,{name:"Close",size:"16px",color:"white"}),onClick:b,link:!0})})]})}):null},eh=t(2454),ep=t(2432),eg=t(9499),ef=t(29),ej=t(7794),eb=t.n(ej),ev=t(2580),ew=t(9019),ey=t(9952),eS=t(3851),ek=t(5622),e_=t(3914),ez=t(3128);function eC(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var eF=function(e){var n,t=e.onSubmit,r=void 0===t?function(){}:t,a=(0,l.useRouter)(),s=a.query.search,c=a.push,d=(0,m.F)(),u=d.viewport,x=d.setResponsive,h=b.Kk.RequestDataFormSchema,p={success:{message:"Request for Experiment Received!",status:"success"},error:{message:"There was a problem with requesting the experiment. Please try again later.",status:"error"}};return(0,T.jsxs)(i.x,{animation:{type:"fadeIn",duration:500},direction:"row",justify:"between",children:[(0,T.jsx)(ev.J9,{initialValues:{accession_codes:"",comments:"",pediatric_cancer:"",approach:"",email:"",email_updates:!1,query:s,request_type:"search"},validationSchema:h,validateOnChange:!1,onSubmit:(n=(0,ef.Z)(eb().mark(function e(n,t){var a,i;return eb().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.setSubmitting,e.next=3,(0,ey.Z)({requestValues:function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?eC(Object(t),!0).forEach(function(n){(0,eg.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({},n)});case 3:c({pathname:"/",query:{message:(i=p[200===e.sent.status?"success":"error"]).message,status:i.status}},"/"),r(),a(!1);case 8:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}),children:function(e){var n=e.errors,t=e.handleChange,a=e.handleSubmit,l=e.isSubmitting,c=e.touched,d=e.values;return(0,T.jsx)(ew.l,{onSubmit:a,children:(0,T.jsxs)(i.x,{border:{color:"brand-tint-80",side:"bottom",size:"16px"},pad:{horizontal:"large",vertical:"xlarge"},width:x("100%","100%","800px"),style:{boxShadow:" 0px 3px 20px rgba(0, 0, 0, 0.1)"},children:[(0,T.jsx)(o.X,{level:1,margin:{bottom:"medium"},responsive:!0,children:"Tell us what’s missing"}),(0,T.jsxs)(eS.W,{children:[(0,T.jsxs)(z.n,{children:["List experiment accessions (separated by commas) you expect for search term ‘",(0,T.jsx)("strong",{children:s}),"’"," ",(0,T.jsx)(ez.R,{})]}),(0,T.jsx)(C.x,{margin:{top:"small"},children:(0,T.jsx)("i",{children:"Only accessions from GEO, SRA, and ArrayExpress are accepted."})}),(0,T.jsx)(e_.o,{error:n.accession_codes,errorText:n.accession_codes,labelOnly:!0,name:"accession_codes",positionTop:"-40px",touched:c.accession_codes,values:d.accession_codes,width:{max:"520px"},onChange:t}),(0,T.jsx)(E.M,{text:"Example: GSE3303, E-MEXP-3405, SRP2422"})]}),(0,T.jsx)(o.X,{level:2,margin:{bottom:"xsmall"},size:"small",responsive:!0,children:"Help us priortize your request by answering these questions"}),(0,T.jsx)(ek.B,{errors:n,handleChange:t,isSubmitting:l,touched:c,values:d,onSubmit:r})]})})}}),"large"===u&&(0,T.jsx)(i.x,{"aria-hidden":!0,background:{image:"url(/illustration-lamp.svg)",position:"center",repeat:"no-repeat",size:"contain"},margin:{right:"large"},width:"250px"})]})},eA=function(e){var n=e.size,t=(0,eh.d)(),r=t.closeModal,a=t.openModal,i="missing-results-form";return(0,T.jsx)(ep.P,{id:i,button:(0,T.jsx)(y.z,{label:"Let us know",link:!0,linkFontSize:n,onClick:function(){return a(i)}}),fullHeight:!1,children:(0,T.jsx)(eF,{onSubmit:function(){return r(i)}})})},eO=function(){var e=(0,c.A)().updateSearchTerm,n=(0,m.F)().setResponsive,t=function(n){e(n)};return(0,T.jsxs)(i.x,{align:"center",animation:{type:"fadeIn",duration:500},margin:{top:n("large","basex8")},children:[(0,T.jsxs)(o.X,{level:1,margin:{bottom:"small"},children:["No Matching Results",(0,T.jsx)(i.x,{margin:{top:"small"},align:"center",children:"Try another term"})]}),(0,T.jsx)(i.x,{align:n("center","start"),direction:n("column","row"),gap:n("none","medium"),children:["Notch","medulloblastoma","GSE24528"].map(function(e){return(0,T.jsx)(y.z,{label:(0,T.jsx)(C.x,{size:"xlarge",children:e}),link:!0,linkFontSize:n("16px","20px"),underlineOnHover:!0,margin:{top:n("small")},onClick:function(){return t(e)}},e)})}),(0,T.jsxs)(i.x,{direction:"row",gap:"xsmall",margin:{top:"small"},children:[(0,T.jsxs)(z.n,{size:n("16x","22px"),children:["Expecting a specific experiment?"," "]}),(0,T.jsx)(eA,{size:n("16px","22px")})]}),(0,T.jsx)(i.x,{margin:{top:n("basex6","basex8"),bottom:"xlarge"},"aria-hidden":!0,background:{image:"url('/ghost-sample.svg')",position:"center",repeat:"no-repeat",size:"contain"},height:n("250px","350px"),width:"100%"})]})},eP=function(){return(0,T.jsxs)(i.x,{animation:{type:"fadeIn",duration:300},alignSelf:"center",direction:"row",elevation:"medium",gap:"xxsmall",margin:{vertical:"medium"},pad:{horizontal:"large",vertical:"medium"},width:"fit-content",children:[(0,T.jsx)(C.x,{children:" Didn't see a related experiment?"}),(0,T.jsx)(eA,{size:"16px"})]})},eR=t(2607),eE=!0,eT=function(e){var n=e.query,t=e.response,l=(0,
1c.A)(),h=l.setFacetNames,p=l.setSearchParams,g=l.updatePage,b=l.updateSearchTerm,k=(0,m.F)(),_=k.viewport,z=k.setResponsive,C="300px";d(n);var F=n.limit,A=(0,w.Z)(n.offset,F),O=n.search||"",R=t.facets,E=t.results,Z=t.totalResults,M=(null==E?void 0:E.length)>0,D=(0,a.useState)(!1),q=D[0],N=D[1],G=(0,a.useState)(!1),H=G[0],K=G[1];return((0,a.useEffect)(function(){K(!0)},[]),(0,a.useEffect)(function(){R&&h(f(Object.keys(R))),n&&(p(j(Object.keys(R),n)),u.Z.trackSearchQuery(n))},[R,n]),H)?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(B.V,{title:"".concat(O," Results -")}),(0,T.jsx)(x.$,{match:[O].concat((0,r.Z)(v(O))),children:(0,T.jsxs)(L.e,{pad:{horizontal:"large",bottom:"large"},children:[(0,T.jsx)(ex,{}),(0,T.jsx)(i.x,{alignSelf:"center",margin:{top:"medium",bottom:z("medium","medium","xlarge")},width:z("100%","550px"),style:{position:"relative"},children:(0,T.jsx)(V.R,{placeholder:"Search accessions, pathways, diseases, etc.,",btnType:"primary",size:"large",value:O,responsive:!0,onSubmit:function(e){b(e)}})}),(0,T.jsxs)(s.r,{areas:[{name:"side",start:[0,1],end:[0,1]},{name:"main",start:[1,1],end:[1,1]}],columns:z(["auto"],["auto"],[C,"auto"]),rows:["auto","auto"],gap:{row:"none",column:z("none","none","2%")},children:[(0,T.jsx)(J.A,{position:"left",show:q,tabletMode:!0,children:(0,T.jsxs)(S.l,{gridArea:"side",height:z("100vh","100vh","auto"),margin:{top:"large"},pad:{left:z("basex7","basex7","none"),right:z("basex7","basex7","large"),top:z("large","large","none")},width:z("100vw","100vw",C),style:{overflowY:"auto"},children:["large"!==_&&(0,T.jsx)(i.x,{align:"end",margin:{bottom:"small"},children:(0,T.jsx)(i.x,{"aria-label":"Close Filters",role:"button",style:{boxShadow:"none"},width:"max-content",onClick:function(){return N(!1)},children:(0,T.jsx)(P.J,{name:"Close",size:"large"})})}),(0,T.jsx)(ec,{facets:R,isResults:M,onToggle:function(){return N(!1)}})]})}),(0,T.jsxs)(i.x,{gridArea:"main",height:{min:"85vh"},children:["large"!==_&&(0,T.jsx)(y.z,{"aria-label":"Open Filters",label:"Filter",icon:(0,T.jsx)(P.J,{name:"Filter",size:"small"}),margin:{bottom:"medium"},secondary:!0,onClick:function(){return N(!0)}}),(0,T.jsx)(ee,{response:t,query:n}),M?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(i.x,{animation:{type:"fadeIn",duration:300},children:[E.map(function(e,n){return e.isMatchedAccessionCode?(0,T.jsxs)(a.Fragment,{children:[(0,T.jsx)(X,{experiment:e},e.accession_code),E[n+1]&&!E[n+1].isMatchedAccessionCode&&(0,T.jsx)(i.x,{border:{color:"gray-shade-5",side:"top"},margin:{vertical:"large"},style:{position:"relative"},children:(0,T.jsxs)(o.X,{level:3,style:{position:"absolute",top:"-12px"},children:["Related Results for '",O,"'"]})})]},e.accession_code):(0,T.jsx)(X,{experiment:e},e.accession_code)}),(E.length<10||A===Math.ceil(Z/F))&&(0,T.jsx)(eP,{})]}),(0,T.jsx)(i.x,{align:"center",direction:"row",justify:"center",margin:{top:"medium"},children:(0,T.jsx)(I.t,{page:A,pageSize:F,totalPages:Z,onPageChange:g})})]}):(0,T.jsx)(eO,{})]})]})]})})]}):(0,T.jsx)(eR.$,{})},eZ=eT},2774:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return t(6699)}])}},function(e){e.O(0,[44,352,678,826,774,888,179],function(){return e(e.s=2774)}),_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.