1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[715],{2607:function(n,t,e){"use strict";e.d(t,{$:function(){return x}});var r=e(9499),a=e(7812),i=e(6835),o=e(4730),s=e(975),c=e(9521),l=e(4288),u=e(5893),p=["helixColor","basePairColor","scale","width","height","strokeWidth"];function d(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function f(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?d(Object(e),!0).forEach(function(t){(0,r.Z)(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}var h=(0,c.default)(s.x).withConfig({displayName:"Spinner__SVG",componentId:"sc-ej5svp-0"})(["@keyframes spin{0%,86%{transform:rotate(0deg);}100%{transform:rotate(180deg);}}display:block;margin:auto;animation:spin 3.2s ease-in-out infinite;}"]),m=(0,c.default)(s.x).withConfig({displayName:"Spinner__Line",componentId:"sc-ej5svp-1"})(["","}"],function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3.2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"forwards",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"infinite",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:6,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:5,i="",o=0;o<a;o+=1)i+="\n @keyframes spinner-pair-".concat(o," {\n 0% {\n opacity: 1;\n }\n ").concat(Math.ceil(o/6*100),"%,\n 100% {\n opacity: 0;\n }\n }\n @keyframes spinner-pair-reverse-").concat(o," {\n 0% {\n opacity: 0;\n }\n ").concat(Math.ceil(o/6*100),"%,\n 100% {\n opacity: 1;\n }\n }\n ");return i+" \n animation-duration: ".concat(n,"s;\n animation-fill-mode: ").concat(t,";\n animation-iteration-count: ").concat(e,";\n animation-timing-function: steps(").concat(r,");\n ")}()),x=function(n){var t,e=n.helixColor,r=n.basePairColor,s=void 0===r?"#dace00":r,c=n.scale,d=void 0===c?1:c,x=n.width,g=n.height,j=n.strokeWidth,v=void 0===j?2:j,y=(0,o.Z)(n,p),b=[void 0===x?24:x,void 0===g?50:g,v,2*v].map(function(n){return n*d}),w=(0,i.Z)(b,4),k=w[0],O=w[1],_=w[2],P=w[3],C=[[0,0],[0,O/2],[k,O/2],[k,O]],E=C[0],N=C.slice(1),S={d:"M ".concat(E.join(" ")," C ").concat((t=[]).concat.apply(t,(0,a.Z)(N)).join(", ")),stroke:void 0===e?"#002f6c":e,strokeWidth:_,strokeLinecap:"round",fill:"transparent"},D=(function(n,t,e,r){return[0,1].map(function(a){return function(i){return Math.pow(1-i,3)*n[a]+3*Math.pow(1-i,2)*i*t[a]+3*(1-i)*Math.pow(i,2)*e[a]+Math.pow(i,3)*r[a]}})}).apply(void 0,C),M=(0,i.Z)(D,1)[0],Z=(0,a.Z)([,,,,,]).map(function(n,t,e){var r=t*(O/(2*e.length+1)),a=M(1-(O-r)/O)+P;return{key:"pair-".concat(t),x1:a,y1:r,x2:k-a,y2:r,stroke:s,strokeWidth:_,strokeLinecap:"round"}}),X="scale(1, -1) translate(0, ".concat(-O,")");return(0,u.jsx)(l.l,f(f({},y),{},{pad:"medium",children:(0,u.jsxs)(h,{as:"svg",width:k,height:O,children:[(0,u.jsx)("path",f({},S)),(0,u.jsx)("path",f(f({},S),{},{transform:"scale(-1, 1) translate(".concat(-k,", 0)")})),Z.map(function(n,t){return(0,u.jsx)(m,f(f({},n),{},{as:"line",index:t,style:{animationName:"spinner-pair-".concat(t)}}))}),(0,a.Z)(Z).reverse().map(function(n,t){return(0,u.jsx)(m,f(f({},n),{},{transform:X,as:"line",index:t,style:{animationName:"spinner-pair-reverse-".concat(t)}}))})]})}))}},5524:function(n,t,e){"use strict";e.r(t),e.d(t,{Download:function(){return k},default:function(){return O}});var r=e(7294),a=e(975),i=e(7670),o=e(1163),s=e(9858),c=e(253),l=e(9063),u=e(427),p=e(420),d=e(6432),f=e(5893),h=function(){var n=(0,o.useRouter)(),t=(0,c.F)().setResponsive;return(0,f.jsxs)(a.x,{align:"center",children:[(0,f.jsx)(i.X,{level:1,margin:{bottom:"small"},children:"Your dataset is empty"}),(0,f.jsx)(d.z,{label:"Search and Add Samples",primary:!0,responsive:!0,onClick:function(){return n.push("/search")}}),(0,f.jsx)(a.x,{margin:{top:"basex8",bottom:"xlarge"},"aria-hidden":!0,background:{image:"url('/download-no-dataset.svg')",position:"center",repeat:"no-repeat",size:"contain"},height:t("250px","350px","450px"),width:"100%"})]})},m=e(3140),x=e(8853),g=e(4509),j=e(2209),v=e(4854),y=e(6034),b=e(9248),w=e(2607),k=function(){var n=(0,o.useRouter)().query.start,t=(0,s.x)(),e=t.myDataset,d=t.error,k=t.loading,O=t.getDataset,_=t.getTotalSamples,P=(0,c.F)().setResponsive,C=(0,r.useState)(),E=C[0],N=C[1];return((0,r.useEffect)(function(){O()},[]),(0,r.useEffect)(function(){E||(0,l.Z)()},[E]),(0,r.useEffect)(function(){e?N(_(e.data)>0):N(!1)},[e]),d)?(0,f.jsx)(j.j,{statusCode:d,align:"center",direction:"column",marginTop:"none"}):(0,f.jsx)(v.e,{children:k?(0,f.jsx)(a.x,{align:"center",fill:!0,justify:"center",margin:{top:"large"},children:(0,f.jsx)(w.$,{})}):(0,f.jsx)(a.x,{pad:{top:"basex7",bottom:"large"},children:e&&E&&!n?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(y.X,{children:[(0,f.jsx)(i.X,{level:1,margin:{bottom:P("small","large")},children:"My Dataset"}),(0,f.jsx)(b.m,{dataset:e})]}),(0,f.jsx)(p.I,{dataset:e}),(0,f.jsx)(m.E,{dataset:e}),(0,f.jsx)(g.B,{dataset:e}),(0,f.jsx)(u.w,{dataset:e})]}):n?(0,f.jsx)(x.o,{dataset:e}):(0,f.jsx)(a.x,{pad:{top:"basex14"},children:(0,f.jsx)(h,{})})})})},O=(0,r.memo)(k)},3250:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/download",function(){return e(5524)}])}},function(n){n.O(0,[44,352,65,456,152,678,247,632,774,888,179],function(){return n(n.s=3250)}),_N_E=n.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.