text: (this.webpackJsonpfrontend=this.webpackJsonpfrontend||[]).push([[0],{219:function(e,t,n){},220:function(e,t,n){},221:function(e,t,n){},380:function(e,t,n){},381:function(e,t,n){},383:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(35),c=n.n(r),i=(n(219),n(220),n(15)),s=(n(221),n(138)),o=n(21),l=n(385),j=n(386),d=n(186),u=n(1),h=function(){return Object(u.jsx)("footer",{style:{width:"100%",position:"relative",bottom:0,display:"flex",justifyContent:"center"},children:Object(u.jsx)(l.a,{children:Object(u.jsx)(j.a,{children:Object(u.jsx)(d.a,{className:"text-center py-3",children:"Copyright \xa9 Drive Automation"})})})})},b=n(399),p=n(397);var O=function(e){return e.setSearch,Object(u.jsx)(b.a,{collapseOnSelect:!0,expand:"lg",bg:"primary",variant:"dark",children:Object(u.jsxs)(l.a,{children:[Object(u.jsx)(b.a.Brand,{href:"/",children:"Driving Automation"}),Object(u.jsx)(b.a.Toggle,{"aria-controls":"responsive-navbar-nav"}),Object(u.jsxs)(b.a.Collapse,{id:"responsive-navbar-nav",children:[Object(u.jsx)(p.a,{className:"m-auto"}),Object(u.jsxs)(p.a,{children:[Object(u.jsx)(p.a.Link,{href:"/",children:"Home"}),Object(u.jsx)(p.a.Link,{href:"/TechStack",children:"Tech Stack"})]})]})]})})},f=(n(79),n(72)),g=n(387),x=n(388),v=n(392),m=n(204),y=n(205),C=n(95),F=n(91),S=n(210),E=n(22),D=n(51),B=n(29),w=n.n(B),L="MILEAGEDISENGAGE_LIST_REQUEST",A="MILEAGEDISENGAGE_LIST_SUCCESS",k="MILEAGEDISENGAGE_LIST_FAIL",I=n(52),T=n.n(I),_=function(){return function(){var e=Object(D.a)(w.a.mark((function e(t,n){var a,r,c,i,s,o,l,j,d,u,h;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:L}),a=[],r=[],e.next=6,T.a.get("/api/mileageDisengage");case 6:for(c=e.sent,console.log("here"),console.log(c),i=c.data,s={},o={},l=0;l<i.length;l++){for(o={},(s={}).year=i[l].year,o.year=i[l].year,j=0;j<i[l].mileage.length;j++)d=i[l].mileage[j],u=i[l].disengagements[j],Object.values(d)[0]>350&&(s[Object.keys(d)[0]]=Object.values(d)[0],o[Object.keys(u)[0]]=Object.values(u)[0]);a.push(s),r.push(o)}t({type:A,payload:a,payloadDisengage:r}),e.next=20;break;case 16:e.prev=16,e.t0=e.catch(0),h=e.t0.response&&e.t0.response.data.message?e.t0.response.data.message:e.t0.message,t({type:k,payload:h});case 20:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(t,n){return e.apply(this,arguments)}}()},G=function(){var e=Object(E.b)(),t=Object(E.c)((function(e){return e.mileageDisengageList})).mileageDisengage,n=[],r=[],c=["#FF6633","#FFB399","#FF33FF","#00B3E6","#E6B333","#3366E6","#999966","#B34D4D","#80B300","#809900","#E6B3B3","#6680B3","#66991A","#FF99E6","#CCFF1A","#FF1A66","#E6331A","#33FFCC","#66994D","#B366CC","#4D8000","#B33300","#CC80CC","#66664D","#991AFF","#E666FF","#4DB3FF","#1AB399","#E666B3","#33991A","#CC9999","#B3B31A","#00E680","#4D8066","#809980","#E6FF80","#1AFF33","#999933","#FF3380","#CCCC00","#66E64D","#4D80CC","#9900B3","#E64D66","#4DB380","#FF4D4D","#99E6E6","#6666FF"];if("underfined"!=typeof t)try{n=(n=t?Object.keys(t[0]).filter((function(e){return"year"!==e})).map((function(e){return e})):[]).concat(Object.keys(t[1]).filter((function(e){return"year"!==e})).map((function(e){return e}))),n=Object(f.a)(new Set(n));for(var i=0;i<n.length;i++)r.push({theKey:n[i],color:c[i]})}catch(s){n=[]}return Object(a.useEffect)((function(){e(_())}),[e]),Object(u.jsxs)("div",{children:[Object(u.jsxs)("h2",{children:["Autonomous Miles Driven"," ",Object(u.jsx)("a",{href:"https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/",children:"(DMV)"})]}),Object(u.jsx)(g.a,{width:"95%",height:700,children:Object(u.jsxs)(x.a,{height:700,data:t||[],margin:{top:5,right:30,left:20,bottom:5},children:[Object(u.jsx)(v.a,{strokeDasharray:"3 3"}),Object(u.jsx)(m.a,{dataKey:"year"}),Object(u.jsx)(y.a,{}),Object(u.jsx)(C.a,{}),Object(u.jsx)(F.a,{}),t&&r.map((function(e){return Object(u.jsx)(S.a,{type:"monotone",dataKey:e.theKey,stroke:e.color},e.theKey)}))]})})]})},N=function(){var e=Object(E.b)(),t=Object(E.c)((function(e){return e.mileageDisengageList})).disengagement,n=[],r=[],c=["#FF6633","#FFB399","#FF33FF","#00B3E6","#E6B333","#3366E6","#999966","#B34D4D","#80B300","#809900","#E6B3B3","#6680B3","#66991A","#FF99E6","#CCFF1A","#FF1A66","#E6331A","#33FFCC","#66994D","#B366CC","#4D8000","#B33300","#CC80CC","#66664D","#991AFF","#E666FF","#4DB3FF","#1AB399","#E666B3","#33991A","#CC9999","#B3B31A","#00E680","#4D8066","#809980","#E6FF80","#1AFF33","#999933","#FF3380","#CCCC00","#66E64D","#4D80CC","#9900B3","#E64D66","#4DB380","#FF4D4D","#99E6E6","#6666FF"];if("underfined"!=typeof t){console.log(t);try{n=(n=t?Object.keys(t[0]).filter((function(e){return"year"!==e})).map((function(e){return e})):[]).concat(Object.keys(t[1]).filter((function(e){return"year"!==e})).map((function(e){return e}))),n=Object(f.a)(new Set(n));for(var i=0;i<n.length;i++)r.push({theKey:n[i],color:c[i]})}catch(s){n=[]}}return Object(a.useEffect)((function(){e(_())}),[e]),Object(u.jsxs)("div",{children:[Object(u.jsxs)("h2",{children:["Disengagements"," ",Object(u.jsx)("a",{href:"https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/",children:"(DMV)"})]}),Object(u.jsx)(g.a,{width:"95%",height:900,children:Object(u.jsxs)(x.a,{height:700,data:t||[],margin:{top:5,right:30,left:20,bottom:5},children:[Object(u.jsx)(v.a,{strokeDasharray:"3 3"}),Object(u.jsx)(m.a,{dataKey:"year"}),Object(u.jsx)(y.a,{}),Object(u.jsx)(C.a,{}),Object(u.jsx)(F.a,{}),t&&r.map((function(e){return Object(u.jsx)(S.a,{type:"monotone",dataKey:e.theKey,stroke:e.color},e.theKey)}))]})})]})},K=(n(380),function(){var e=Object(E.b)(),t=Object(E.c)((function(e){return e.mileageDisengageList})),n=t.mileageDisengage,r=t.disengagement;console.log(n),console.log(r);var c=[],i=[],s=[],o=["#FF6633","#FFB399","#FF33FF","#00B3E6","#E6B333","#3366E6","#999966","#B34D4D","#80B300","#809900","#E6B3B3","#6680B3","#66991A","#FF99E6","#CCFF1A","#FF1A66","#E6331A","#33FFCC","#66994D","#B366CC","#4D8000","#B33300","#CC80CC","#66664D","#991AFF","#E666FF","#4DB3FF","#1AB399","#E666B3","#33991A","#CC9999","#B3B31A","#00E680","#4D8066","#809980","#E6FF80","#1AFF33","#999933","#FF3380","#CCCC00","#66E64D","#4D80CC","#9900B3","#E64D66","#4DB380","#FF4D4D","#99E6E6","#6666FF"];if("underfined"!=typeof r){console.log(r);try{c=(c=r?Object.keys(r[0]).filter((function(e){return"year"!==e})).map((function(e){return e})):[]).concat(Object.keys(r[1]).filter((function(e){return"year"!==e})).map((function(e){return e}))),c=Object(f.a)(new Set(c));for(var l=0;l<c.length;l++)i.push({theKey:c[l],color:o[l]});var j={},d=r.length;if("undefined"!=typeof r&&"undefined"!=typeof n)for(var h=0;h<d;h++){j={year:r[h].year};for(var b=0;b<i.length;b++){var p=n[h][c[b]]/r[h][c[b]];p=isNaN(p)?0:p.toFixed(2),j[c[b]]=p}s.push(j)}}catch(O){c=[]}}return Object(a.useEffect)((function(){e(_())}),[e]),Object(u.jsxs)("div",{children:[Object(u.jsxs)("h2",{children:[" ","Miles per Disengagement"," ",Object(u.jsx)("a",{href:"https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/",children:"(DMV)"})]}),Object(u.jsx)(g.a,{width:"95%",height:700,children:Object(u.jsxs)(x.a,{height:700,data:r?s:[],margin:{top:5,right:30,left:20,bottom:5},children:[Object(u.jsx)(v.a,{strokeDasharray:"3 3"}),Object(u.jsx)(m.a,{dataKey:"year"}),Object(u.jsx)(y.a,{}),Object(u.jsx)(C.a,{}),Object(u.jsx)(F.a,{}),r&&i.map((function(e){return Object(u.jsx)(S.a,{type:"monotone",dataKey:e.theKey,stroke:e.color},e.theKey)}))]})})]})}),M=n(394),U=n(395),P="COLLISIONS_LIST_REQUEST",R="COLLISIONS_LIST_SUCCESS",H="COLLISIONS_LIST_FAIL",Q=n(393);var V=function(e){var t=e.size,n=void 0===t?100:t;return Object(u.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:Object(u.jsx)(Q.a,{style:{width:n,height:n},animation:"border"})})},z=function(){var e=Object(E.b)(),t=Object(E.c)((function(e){return e.collisionList})),n=t.loading,r=t.collisions,c=Object(a.useState)(10),s=Object(i.a)(c,2),o=s[0],d=s[1];Object(a.useEffect)((function(){e(function(){var e=Object(D.a)(w.a.mark((function e(t,n){var a,r,c,i;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:P}),e.next=4,T.a.get("/api/collisions");case 4:a=e.sent,r=a.data,console.log(r),c=r.sort((function(e,t){var n=30*parseInt(e.accidentDate.split("/")[0])+parseInt(e.accidentDate.split("/")[1])+365*parseInt(e.accidentDate.split("/")[2].slice(-2));return 30*parseInt(t.accidentDate.split("/")[0])+parseInt(t.accidentDate.split("/")[1])+365*parseInt(t.accidentDate.split("/")[2].slice(-2))-n})),console.log(c),t({type:R,payload:c}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),i=e.t0.response&&e.t0.response.data.message?e.t0.response.data.message:e.t0.message,t({type:H,payload:i});case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,n){return e.apply(this,arguments)}}())}),[e]);return console.log(window.innerWidth),Object(u.jsxs)(l.a,{fluid:"md",children:[Object(u.jsxs)(j.a,{children:[Object(u.jsxs)("h2",{id:"collision-header",children:["Collisions Reported"," ",Object(u.jsx)("a",{href:"https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/",children:"(DMV)"})]}),Object(u.jsxs)("div",{className:"collisionTable",children:[n&&Object(u.jsx)(V,{}),Object(u.jsxs)(M.a,{responsive:!0,children:[Object(u.jsx)("thead",{children:Object(u.jsx)("tr",{children:["Company","Accident Date","Description","Mode","Damage"].map((function(e,t){return Object(u.jsx)("th",{children:e},t)}))})}),Object(u.jsxs)("tbody",{children:[r&&r.filter((function(e){return""!==e.company})).splice(0,o).map((function(e){return Object(u.jsxs)("tr",{children:[Object(u.jsx)("td",{children:e.company}),Object(u.jsx)("td",{children:e.accidentDate}),Object(u.jsx)("td",{children:e.description}),Object(u.jsx)("td",{children:e.mode}),Object(u.jsx)("td",{children:e.damage})]},e._id)})),Object(u.jsx)("tr",{})]})]})]})]}),Object(u.jsx)(j.a,{children:Object(u.jsxs)(U.a,{className:"showMore",onClick:function(){d(10==o?600:10)},children:["Show ",10===o?"More":"Less"]})})]})};var J=function(e){return e.history,Object(u.jsxs)(l.a,{children:[Object(u.jsx)(j.a,{children:Object(u.jsx)(G,{})}),Object(u.jsx)(j.a,{children:Object(u.jsx)(N,{})}),Object(u.jsx)(j.a,{children:Object(u.jsx)(K,{})}),Object(u.jsx)(j.a,{children:Object(u.jsx)(z,{})})]})},W="TECHSTACKS_LIST_REQUEST",q="TECHSTACKS_LIST_SUCCESS",X="TECHSTACKS_LIST_FAIL",Y=n(401),Z=n(396),$="SUGGESTION_UPDATE_REQUEST",ee="SUGGESTION_UPDATE_SUCCESS",te="SUGGESTION_UPDATE_FAIL",ne=n(400),ae=function(e){var t=e.variant,n=void 0===t?"info":t,a=e.children;return Object(u.jsx)(ne.a,{variant:n,style:{fontSize:20},children:Object(u.jsx)("strong",{children:a})})},re=function(){var e=Object(E.b)(),t=Object(E.c)((function(e){return e.techStackList})).techStacks,n=Object(a.useState)(""),r=Object(i.a)(n,2),c=r[0],s=r[1],o=t?t.find((function(e){return e.id==c})):{},d=Object(a.useState)(!1),h=Object(i.a)(d,2),b=h[0],p=h[1],O=Object(a.useState)(!1),f=Object(i.a)(O,2),g=f[0],x=f[1],v=Object(a.useState)(""),m=Object(i.a)(v,2),y=(m[0],m[1]),C=Object(a.useState)(""),F=Object(i.a)(C,2),S=(F[0],F[1]),B=Object(a.useState)(""),L=Object(i.a)(B,2),A=L[0],k=L[1],I=Object(a.useState)(""),_=Object(i.a)(I,2),G=_[0],N=_[1],K=Object(a.useState)(""),M=Object(i.a)(K,2),P=M[0],R=M[1],H=Object(a.useState)(""),Q=Object(i.a)(H,2),V=Q[0],z=Q[1],J=Object(a.useState)(""),W=Object(i.a)(J,2),q=W[0],X=W[1],ne=Object(a.useState)(""),re=Object(i.a)(ne,2),ce=re[0],ie=re[1],se=Object(a.useState)(""),oe=Object(i.a)(se,2),le=oe[0],je=oe[1],de=Object(E.c)((function(e){return e.suggestions})),ue=de.suggestion,he=(de.loading,t?t.map((function(e){return{option:e.participant+" - "+e.model,id:e.id}})):[]),be=function(){y(""),k(""),N(""),R(""),z(""),X(""),ie(""),s("")};return Object(a.useEffect)((function(){k(o?o.lidar.replace("|","\n-"):""),N(o?o.camera.replace("|","\n-"):""),R(o?o.radar.replace("|","\n-"):""),z(o?o.level.replace("|","\n-"):""),X(o?o.compute.replace("|","\n-"):""),ie(o?o.providingService.replace("|","\n-"):"")}),[e,c]),Object(u.jsxs)(l.a,{children:[Object(u.jsx)(j.a,{className:"justify-content-center",children:Object(u.jsx)(U.a,{onClick:function(){return p(!b)},children:"Make a Suggestion"})}),Object(u.jsx)(j.a,{className:"justify-content-center",children:!b&&ue?Object(u.jsx)(Y.a,{bg:"info",text:"dark",style:{width:"18rem"},className:"mb-2",children:Object(u.jsx)(Y.a.Body,{children:"Thank you! After a review we will add your contribution."})}):Object(u.jsx)("h1",{})}),Object(u.jsx)(j.a,{children:b&&Object(u.jsxs)(Y.a,{children:[Object(u.jsx)(Y.a.Header,{children:"Create a new suggestion"}),Object(u.jsx)(Y.a.Body,{children:Object(u.jsxs)(Z.a,{onSubmit:function(t){if(t.preventDefault(),x(!1),""==c)return console.log("Please select an entry"),void x(!0);e(function(e,t,n,a,r,c,i,s,o,l){return function(){var j=Object(D.a)(w.a.mark((function j(d,u){var h,b,p,O;return w.a.wrap((function(j){for(;;)switch(j.prev=j.next){case 0:return j.prev=0,d({type:$}),h={headers:{"Content-Type":"application/json",Authorization:"Bearer jsdjfk"}},j.next=5,T.a.post("/api/suggestions/update",{id:e,participant:t,model:n,lidar:a,camera:r,radar:c,level:i,compute:s,providingService:o,suggestions:l,display:!1},h);case 5:b=j.sent,p=b.data,d({type:ee,payload:p}),j.next=14;break;case 10:j.prev=10,j.t0=j.catch(0),O=j.t0.response&&j.t0.response.data.message?j.t0.response.data.message:j.t0.message,d({type:te,payload:O});case 14:case"end":return j.stop()}}),j,null,[[0,10]])})));return function(e,t){return j.apply(this,arguments)}}()}(o.id,o.participant,o.model,A,G,P,V,q,ce,le)),be(),p(!1)},children:[Object(u.jsx)(Z.a.Label,{children:"Select Entry"}),Object(u.jsxs)(Z.a.Control,{as:"select",value:c,onChange:function(e){s(e.target.value)},children:[Object(u.jsx)("option",{value:"",children:"Select Entry"}),he.map((function(e){return Object(u.jsx)("option",{value:e.id,children:e.option},e._id)}))]}),Object(u.jsxs)(Z.a.Group,{controlId:"participant",children:[Object(u.jsx)(Z.a.Label,{children:"Participant"}),Object(u.jsx)(Z.a.Control,{disabled:!0,type:"participant",value:o?o.participant:"",placeholder:"Enter the participant",onChange:function(e){return y(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"model",children:[Object(u.jsx)(Z.a.Label,{children:"Model"}),Object(u.jsx)(Z.a.Control,{disabled:!0,type:"model",value:o?o.model:"",placeholder:"Enter the model",onChange:function(e){return S(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"lidar",children:[Object(u.jsx)(Z.a.Label,{children:"Lidar"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:A,placeholder:"Enter the lidar",rows:3,onChange:function(e){return k(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"camera",children:[Object(u.jsx)(Z.a.Label,{children:"Camera"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:G,placeholder:"Enter the camera",rows:3,onChange:function(e){return N(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"radar",children:[Object(u.jsx)(Z.a.Label,{children:"Radar"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:P,placeholder:"Enter the radar",rows:3,onChange:function(e){return R(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"level",children:[Object(u.jsx)(Z.a.Label,{children:"Level"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:V,placeholder:"Enter the level",rows:3,onChange:function(e){return z(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"compute",children:[Object(u.jsx)(Z.a.Label,{children:"Compute"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:q,placeholder:"Enter the compute",rows:3,onChange:function(e){return X(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"providingService",children:[Object(u.jsx)(Z.a.Label,{children:"Providing Service"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:ce,placeholder:"Enter the providing service",rows:3,onChange:function(e){return ie(e.target.value)}})]}),Object(u.jsxs)(Z.a.Group,{controlId:"source",children:[Object(u.jsx)(Z.a.Label,{children:"Source"}),Object(u.jsx)(Z.a.Control,{as:"textarea",value:le,placeholder:"Enter link to the source/reference for this information",rows:3,onChange:function(e){return je(e.target.value)}})]}),g&&Object(u.jsx)(ae,{children:"Please select an entry"}),Object(u.jsx)(U.a,{type:"submit",variant:"primary",children:"Submit Suggestion"}),Object(u.jsx)(U.a,{className:"mx-2",onClick:be,variant:"danger",children:"Reset Feilds"})]})}),Object(u.jsxs)(Y.a.Footer,{className:"text-muted",children:["Creating on - ",(new Date).toLocaleDateString()]})]})})]})};n(381);var ce=function(){var e=Object(E.b)(),t=Object(E.c)((function(e){return e.techStackList})),n=t.loading,r=t.techStacks;return console.log(n),Object(a.useEffect)((function(){e(function(){var e=Object(D.a)(w.a.mark((function e(t,n){var a,r,c;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t({type:W}),e.next=4,T.a.get("/api/techStacks");case 4:a=e.sent,r=a.data,t({type:q,payload:r}),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),c=e.t0.response&&e.t0.response.data.message?e.t0.response.data.message:e.t0.message,t({type:X,payload:c});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,n){return e.apply(this,arguments)}}())}),[e]),Object(u.jsxs)(l.a,{fluid:"md",children:[Object(u.jsx)("h2",{children:"Technology"}),n&&Object(u.jsx)(V,{}),Object(u.jsxs)(M.a,{responsive:!0,children:[Object(u.jsx)("thead",{children:Object(u.jsx)("tr",{children:["Participant","Model","Lidar","Camera","Radar","Compute","Level","Providing Service"].map((function(e,t){return Object(u.jsx)("th",{sm:4,children:e},t)}))})}),r&&r.filter((function(e){return e.display})).map((function(e){return Object(u.jsx)("tbody",{children:Object(u.jsxs)("tr",{children:[Object(u.jsx)("td",{children:e.participant}),Object(u.jsx)("td",{children:e.model}),Object(u.jsx)("td",{children:""!==e.lidar.trim()?e.lidar.split("-").filter((function(e){return""!==e})).map((function(e){return Object(u.jsx)("li",{children:e.trim()})})):""}),Object(u.jsx)("td",{children:""!==e.camera.trim()?e.camera.split("-").filter((function(e){return""!==e})).map((function(e){return Object(u.jsx)("li",{children:e.trim()})})):""}),Object(u.jsx)("td",{children:""!==e.radar.trim()?e.radar.split("-").filter((function(e){return""!==e})).map((function(e){return Object(u.jsx)("li",{children:e.trim()})})):""}),Object(u.jsx)("td",{children:""!==e.compute.trim()?e.compute.split("-").filter((function(e){return""!==e})).map((function(e){return Object(u.jsx)("li",{children:e.trim()})})):""}),Object(u.jsx)("td",{children:e.level}),Object(u.jsx)("td",{children:""!==e.providingService.trim()?e.providingService.split("-").filter((function(e){return""!==e})).map((function(e){return Object(u.jsx)("li",{children:e.trim()})})):""})]},e._id)})}))]}),Object(u.jsx)(re,{})]})};var ie=function(){var e=Object(a.useState)(""),t=Object(i.a)(e,2),n=(t[0],t[1]);return Object(u.jsxs)(s.a,{children:[Object(u.jsx)(O,{setSearch:function(e){return n(e)}}),Object(u.jsxs)("main",{className:"App",children:[Object(u.jsx)(o.a,{path:"/",component:J,exact:!0}),Object(u.jsx)(o.a,{path:"/TechSTack",component:ce})]}),Object(u.jsx)(h,{})]})},se=function(e){e&&e instanceof Function&&n.e(3).then(n.bind(null,402)).then((function(t){var n=t.getCLS,a=t.getFID,r=t.getFCP,c=t.getLCP,i=t.getTTFB;n(e),a(e),r(e),c(e),i(e)}))},oe=n(92),le=n(208),je=n(207),de=Object(oe.combineReducers)({techStackList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{techStacks:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case W:return{loading:!0};case q:return{loading:!1,techStacks:t.payload};case X:return{loading:!1,error:t.payload};default:return e}},collisionList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{collisions:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P:return{loading:!0};case R:return{loading:!1,collisions:t.payload};case H:return{loading:!1,error:t.payload};default:return e}},mileageDisengageList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{mileageDisengage:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case L:return{loading:!0};case A:return{loading:!1,mileageDisengage:t.payload,disengagement:t.payloadDisengage};case k:return{loading:!1,error:t.payload};default:return e}},suggestions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $:return{loading:!0};case ee:return{loading:!1,suggestion:t.payload,success:!0};case te:return{loading:!1,error:t.payload,success:!1};default:return e}}}),ue=[le.a],he=Object(oe.createStore)(de,{},Object(je.composeWithDevTools)(oe.applyMiddleware.apply(void 0,ue)));c.a.render(Object(u.jsx)(E.a,{store:he,children:Object(u.jsx)(ie,{})}),document.getElementById("root")),se()},79:function(e,t,n){}},[[383,1,2]]]);
  //# sourceMappingURL=main.5df5de90.chunk.js.map