1(this["webpackJsonpwild-fiverr-hackaton"]=this["webpackJsonpwild-fiverr-hackaton"]||[]).push([[7],{131:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),n=i(9),a=function(e){var t,i=e.bgColor,n=e.completed,a=e.baseBgColor,s=e.height,o=e.width,l=e.margin,c=e.padding,d=e.borderRadius,u=e.labelAlignment,b=e.labelColor,p=e.labelSize,m=e.isLabelVisible,g=e.transitionDuration,h=e.transitionTimingFunction,j=e.className,f="left"===(t=u)?"flex-start":"center"===t?"center":"right"===t?"flex-end":null,x={height:s,backgroundColor:a,borderRadius:d,padding:c,width:o,margin:l},y={height:s,width:Number(n)>100?"100%":Number(n)+"%",backgroundColor:i,transition:"width "+(g||"1s")+" "+(h||"ease-in-out"),borderRadius:"inherit",display:"flex",alignItems:"center",justifyContent:"outside"!==u&&f?f:"normal"},v={padding:"outside"===u?"0 0 0 5px":"5px",color:b,fontWeight:"bold",fontSize:p,display:m?"initial":"none"},O={display:"outside"===u?"flex":"initial",alignItems:"outside"===u?"center":"initial"};return r.createElement("div",{style:O,className:j},r.createElement("div",{style:x},r.createElement("div",{style:y},"outside"!==u&&r.createElement("span",{style:v},"number"===typeof n?n+"%":""+n))),"outside"===u&&r.createElement("span",{style:v},"number"===typeof n?n+"%":""+n))};a.propTypes={completed:n.oneOfType([n.string,n.number]).isRequired,bgColor:n.string,baseBgColor:n.string,height:n.string,width:n.string,borderRadius:n.string,margin:n.string,padding:n.string,labelAlignment:n.oneOf(["left","center","right","outside"]),labelColor:n.string,labelSize:n.string,isLabelVisible:n.bool,className:n.string},a.defaultProps={bgColor:"#6a1b9a",height:"20px",width:"100%",borderRadius:"50px",labelAlignment:"right",baseBgColor:"#e0e0de",labelColor:"#fff",labelSize:"15px",isLabelVisible:!0},t.default=a},132:function(e,t,i){},133:function(e,t,i){"use strict";i(2);var r=i(14),n=i(17),a=i(131),s=i.n(a),o=(i(132),i(18)),l=(i(35),i(47)),c=i(6),d=i(25),u=i(3);var b=function(e){var t=e.product,i=Object(d.d)();return Object(u.jsx)(u.Fragment,{children:Object(u.jsx)(l.a,{onClick:function(){var e=c.a.database().ref("mentor").child(c.a.auth().currentUser.uid).child(t.name);e.on("value",(function(e){var t=e.val(),i=[];for(var r in t)i.push(Object(o.a)({id:r},t[r]))})),e.remove(),i.show("you remove ".concat(t.name," from your program. That's too bad !"))},style:{position:"absolute",top:"15px",right:"15px",fill:"var(--pinkLightColor)",cursor:"pointer"}})})};t.a=function(e){var t=e.mentorList,i=Object(r.f)().location.pathname;return Object(u.jsx)(u.Fragment,{children:Object(u.jsx)("div",{className:"cocktails-center",children:t&&t.map((function(e){var t=e.id,r=e.image,a=e.name,o=e.activity,l=e.language,c=e.skill;return Object(u.jsxs)("div",{children:[Object(u.jsxs)("article",{className:"cocktail",style:{position:"relative"},children:[Object(u.jsxs)("div",{className:"img-container",children:[Object(u.jsx)("img",{src:r,alt:a}),"/progress"===i?Object(u.jsx)(b,{product:e}):null]}),Object(u.jsxs)("div",{className:"cocktail-footer",children:[Object(u.jsxs)("div",{className:"product",children:[Object(u.jsx)("h4",{children:a}),Object(u.jsx)("h4",{className:"price",children:o})]}),Object(u.jsx)("div",{style:{position:"absolute",top:"15px",left:"10px",display:"flex",justifyContent:"space-around"},children:l.map((function(e,t){return Object(u.jsx)("div",{className:"tag",style:{backgroundColor:"#1dbf7361",color:"white",padding:"10px",marginRight:"10px",borderRadius:"20px",cursor:"pointer"},children:e},t)}))}),Object(u.jsx)("div",{style:{margin:"15px auto",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"center"},children:c.map((function(e,t){return Object(u.jsx)("div",{className:"tag2",style:{border:"1px solid hsla(0, 0%, 46.7%, 0.65)",color:"var(--primaryDarkColor)",borderRadius:"3px",fontSize:"11px",padding:"5px 12px",margin:"4px",cursor:"pointer",display:"inline-block"},children:e},t)}))}),Object(u.jsx)(n.b,{to:"/products"===i||"/productmusic"===i?"/products/".concat(t,"/").concat(a):{pathname:"/progress/".concat(t,"/").concat(a),mentorProps:{id:e.id,name:e.name}},className:"add-cart",children:"/progress"===i?"Chat now":"View"})]})]}),"/progress"===i?Object(u.jsxs)(u.Fragment,{children:[Object(u.jsx)("h4",{style:{fontFamily:"Macan"},children:"Fedor"===e.name?"7 days remaining":"10 days remaining"}),Object(u.jsx)(s.a,{className:"Fedor"===e.name?"progressFedor":"progress",completed:"Fedor"===e.name?30:0})]}):null]},t)}))})})}},144:function(e,t,i){"use strict";i.r(t);var r=i(18),n=i(7),a=i(2),s=i(133),o=i(20),l=i(6),c=i(3);t.default=function(){var e=Object(a.useState)([]),t=Object(n.a)(e,2),i=t[0],d=t[1],u=Object(a.useContext)(o.a).isSignedIn;return Object(a.useEffect)((function(){u&&l.a.database().ref("mentor").child(l.a.auth().currentUser.uid).on("value",(function(e){var t=e.val(),i=[];for(var n in t)i.push(Object(r.a)({id:n},t[n]));d(i)}))}),[u]),Object(c.jsxs)("div",{children:[Object(c.jsx)("div",{style:{marginTop:"130px"},children:Object(c.jsxs)("div",{className:"heading-center",style:{backgroundColor:"#584AFF",display:"flex",alignItems:"center",justifyContent:"space-around",overflow:"hidden"},children:[Object(c.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-around"},children:[Object(c.jsxs)("h3",{style:{marginBottom:"25px",fontFamily:"Macan",color:"white"},children:[i.length," mentor available"]}),Object(c.jsxs)("h1",{style:{margin:"0",fontFamily:"Macan",fontSize:"4rem",color:"white"},children:["Your"," ",Object(c.jsx)("span",{style:{fontFamily:"Domaine",fontSize:"4rem",color:"white"},children:"mentors"})]})]}),Object(c.jsx)("img",{src:"/images/banmentor.jpg",alt:"",style:{width:"50%",height:"auto",objectFit:"cover"}})]})}),Object(c.jsx)(s.a,{mentorList:i})]})}}}]); 2//# sourceMappingURL=7.113856e0.chunk.js.map
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.