PageSourceSearch

https://fiverrsenpai.netlify.app/static/js/4.006936ae.chunk.js

js fiverrsenpai.netlify.app collected 2026-10-03 10:44:20 UTC 6,475 bytes, 2 lines download raw bytes

1(this["webpackJsonpwild-fiverr-hackaton"]=this["webpackJsonpwild-fiverr-hackaton"]||[]).push([[4],{131:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=n(9),r=function(e){var t,n=e.bgColor,a=e.completed,r=e.baseBgColor,s=e.height,o=e.width,l=e.margin,c=e.padding,d=e.borderRadius,u=e.labelAlignment,p=e.labelColor,b=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:r,borderRadius:d,padding:c,width:o,margin:l},y={height:s,width:Number(a)>100?"100%":Number(a)+"%",backgroundColor:n,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:p,fontWeight:"bold",fontSize:b,display:m?"initial":"none"},O={display:"outside"===u?"flex":"initial",alignItems:"outside"===u?"center":"initial"};return i.createElement("div",{style:O,className:j},i.createElement("div",{style:x},i.createElement("div",{style:y},"outside"!==u&&i.createElement("span",{style:v},"number"===typeof a?a+"%":""+a))),"outside"===u&&i.createElement("span",{style:v},"number"===typeof a?a+"%":""+a))};r.propTypes={completed:a.oneOfType([a.string,a.number]).isRequired,bgColor:a.string,baseBgColor:a.string,height:a.string,width:a.string,borderRadius:a.string,margin:a.string,padding:a.string,labelAlignment:a.oneOf(["left","center","right","outside"]),labelColor:a.string,labelSize:a.string,isLabelVisible:a.bool,className:a.string},r.defaultProps={bgColor:"#6a1b9a",height:"20px",width:"100%",borderRadius:"50px",labelAlignment:"right",baseBgColor:"#e0e0de",labelColor:"#fff",labelSize:"15px",isLabelVisible:!0},t.default=r},132:function(e,t,n){},133:function(e,t,n){"use strict";n(2);var i=n(14),a=n(17),r=n(131),s=n.n(r),o=(n(132),n(18)),l=(n(35),n(47)),c=n(6),d=n(25),u=n(3);var p=function(e){var t=e.product,n=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(),n=[];for(var i in t)n.push(Object(o.a)({id:i},t[i]))})),e.remove(),n.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,n=Object(i.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,i=e.image,r=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:i,alt:r}),"/progress"===n?Object(u.jsx)(p,{product:e}):null]}),Object(u.jsxs)("div",{className:"cocktail-footer",children:[Object(u.jsxs)("div",{className:"product",children:[Object(u.jsx)("h4",{children:r}),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)(a.b,{to:"/products"===n||"/productmusic"===n?"/products/".concat(t,"/").concat(r):{pathname:"/progress/".concat(t,"/").concat(r),mentorProps:{id:e.id,name:e.name}},className:"add-cart",children:"/progress"===n?"Chat now":"View"})]})]}),"/progress"===n?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)}))})})}},135:function(e,t,n){},150:function(e,t,n){"use strict";n.r(t);var i=n(18),a=n(7),r=n(2),s=n(6),o=n(133),l=(n(135),n(48)),c=n(3);t.default=function(){var e=Object(r.useContext)(l.b),t=e.mentorList,n=e.setMentorList,d=Object(r.useState)(""),u=Object(a.a)(d,2),p=u[0],b=u[1],m=Object(r.useState)([]),g=Object(a.a)(m,2),h=g[0],j=g[1];return Object(r.useEffect)((function(){s.a.database().ref("user").on("value",(function(e){var t=e.val(),a=[];for(var r in t)a.push(Object(i.a)({id:r},t[r]));n(a),j(a)}))}),[]),Object(r.useEffect)((function(){var e=t.filter((function(e){return p&&e.activity.toLowerCase().includes(p)}));j(e),e.length||j(t)}),[p]),Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)("div",{style:{marginTop:"130px"},children:Object(c.jsxs)("div",{className:"heading-center",style:{display:"flex",alignItems:"center",justifyContent:"space-around"},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"},children:[" ","15 mentors available"]}),Object(c.jsxs)("h1",{style:{margin:"0",fontFamily:"Macan",fontSize:"4rem"},children:["Find"," ",Object(c.jsx)("span",{style:{fontFamily:"Domaine",fontSize:"4rem"},children:"yours"})]}),Object(c.jsx)("form",{style:{marginTop:"25px"},children:Object(c.jsx)("label",{htmlFor:"content",children:Object(c.jsx)("input",{type:"texte",id:"content",className:"searchMentor",placeholder:"search an activity, ex : data, engineer...",onChange:function(e){return function(e){b(e.target.value)}(e)},value:p,style:{outline:"none"},autoComplete:"off"})})})]}),Object(c.jsx)("img",{src:"https://fiverr-res.cloudinary.com/q_auto,f_auto,w_870,dpr_1.0/v1/attachments/generic_asset/asset/d9c17ceebda44764b591a8074a898e63-1599597624757/business-desktop-870-x1.png",alt:"",style:{width:"500px",height:"auto"}})]})}),Object(c.jsx)(o.a,{mentorList:h})]})}}}]);
2//# sourceMappingURL=4.006936ae.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.