1(this.webpackJsonpapttrainingsite=this.webpackJsonpapttrainingsite||[]).push([[0],{338:function(e,t){},444:function(e,t,a){},445:function(e,t,a){"use strict";a.r(t),a.d(t,"msalInstance",(function(){return Pt}));var c=a(2),n=a(17),s=a(18),r=a(15),i=a(31),o=a(32),l=a(23),d=a.n(l),u=a(30),j=a(11),b={verifyCertificate:{us:"Verify Certificate",gb:"Verify Certificate",fr:"V\xe9rifier le certificat"},verifyCertificateSub1:{us:"Verification Tool",gb:"Verification Tool",fr:"Outil de v\xe9rification"},verifyCertificateSub2:{gb:"What is APT's Blockchain Enabled Certification Tool?",us:"What is APT's Blockchain Enabled Certification Tool?",fr:"Qu'est-ce que l'outil de certification Blockchain Enabled d'APT?"},learningPaths:{us:"Learning Paths",gb:"Learning Paths",fr:"Parcours d'apprentissage"},learningPaths1:{us:"Accounting & Finance",gb:"Accounting & Finance",fr:"Comptabilit\xe9 et Finance"},learningPaths2:{us:"Analytics",gb:"Analytics",fr:"Analytique"},learningPaths3:{us:"Artificial Intelligence",gb:"Artificial Intelligence",fr:"Intelligence artificielle"},learningPaths4:{us:"Cloud Developer",gb:"Cloud Developer",fr:"D\xe9veloppeur infonuagique"},learningPaths5:{us:"Cloud DevOps",gb:"Cloud DevOps",fr:"DevOps Cloud"},learningPaths6:{us:"Data Engineering",gb:"Data Engineering",fr:"Ing\xe9nierie des donn\xe9es"},learningPaths7:{us:"Data Science",gb:"Data Science",fr:"Science des donn\xe9es"},learningPaths8:{us:"Manufacturing & Supply Chain",gb:"Manufacturing & Supply Chain",fr:"Fabrication et cha\xeene d'approvisionnement"},learningPaths9:{us:"Marketing",gb:"Marketing",fr:"Commercialisation"},learningPaths10:{us:"Operations",gb:"Operations",fr:"Op\xe9rations"},learningPaths11:{us:"Web Developer",gb:"Web Developer",fr:"D\xe9veloppeur web"},learningPaths12:{us:"Security",gb:"Security",fr:"S\xe9curit\xe9"},byProducts:{us:"By Products",gb:"By Products",fr:"Par Produits"},aboutAPT:{us:"About APT",gb:"About APT",fr:"Sur APT"},aboutAPT1:{us:"Request a Callback",gb:"Request a Callback",fr:"Demander un rappel"},aboutAPT2:{us:"Contact Us",gb:"Contact Us",fr:"Nous contacter"},aboutAPT3:{us:"About Us",gb:"About Us",fr:"\xc0 propos de nous"},creatAccount:{us:"Create Account",gb:"Create Account",fr:"Cr\xe9er un compte"},signInAccount:{us:"Account",gb:"Account",fr:"Compte"},signIn:{us:"Sign In",gb:"Sign In",fr:"S'identifier"},signIn1:{us:"Create Account",gb:"Create Account",fr:"Cr\xe9er un compte"},signIn2:{us:"Dashboard",gb:"Dashboard",fr:"Tableau De Bord"},signIn3:{us:"Sign Out",gb:"Sign Out",fr:"Se d\xe9connecter"},getCertifiedMoto:{us:"Get Certified, Stand Out In The Crowd",gb:"Get Certified, Stand Out In The Crowd",fr:"Obtenez une certification, d\xe9marquez-vous de la foule"},searchTraining:{us:"Search Training",gb:"Search Training",fr:"Rechercher une formation"},lookingPartner:{us:"looking for a certified Learning Partner?",gb:"looking for a certified Learning Partner?",fr:"\xe0 la recherche d'un partenaire d'apprentissage certifi\xe9 ?"},lookingPartner1:{us:"We are always here for your organizations and teams",gb:"We are always here for your organizations and teams",fr:"Nous sommes toujours l\xe0 pour vos organisations et vos \xe9quipes"},getQuote:{us:"get a quote",gb:"get a quote",fr:"obtenir un devis"},practiceArea:{us:"Practice Areas",gb:"Practice Areas",fr:"Domaines de pratique"},practiceAreaDetail1:{us:"Being able to consume, operate, secure and monitor intelligent services",gb:"Being able to consume, operate, secure and monitor intelligent services",fr:"Pouvoir consommer, exploiter, s\xe9curiser et surveiller des services intelligents"},practiceAreaDetail2:{us:"Deep dive into practical Statistical and Deep Learning with deployment and MLOps",gb:"Deep dive into practical Statistical and Deep Learning with deployment and MLOps",fr:"Plongez dans l'apprentissage statistique et profond pratique avec d\xe9ploiement et MLOps"},practiceAreaDetail3:{us:"Specialized SQL Server, Synapse Analytics, BigQuery, BigTable and MongoDB trainings",gb:"Specialized SQL Server, Synapse Analytics, BigQuery, BigTable and MongoDB trainings",fr:"Formations sp\xe9cialis\xe9es SQL Server, Synapse Analytics, BigQuery, BigTable et MongoDB"},practiceAreaDetail4:{us:"From managing data lakes to warehousing, OLAP deals with building ETL/ELT pipelines",gb:"From managing data lakes to warehousing, OLAP deals with building ETL/ELT pipelines",fr:"De la gestion des lacs de donn\xe9es \xe0 l'entreposage, OLAP s'occupe de la construction de pipelines ETL/ELT"},practiceAreaDetail5:{us:"Being able to collect, accumulate, manage device and data centrally from range of sensors and 'things'",gb:"Being able to collect, accumulate, manage device and data centrally from range of sensors and 'things'",fr:"\xcatre capable de collecter, d'accumuler, de g\xe9rer les appareils et les donn\xe9es de mani\xe8re centralis\xe9e \xe0 partir d'une gamme de capteurs et de \"choses\""}
1,practiceAreaDetail6:{us:"Developer, Infrastructure, Administrator, Security and other advanced trainings",gb:"Developer, Infrastructure, Administrator, Security and other advanced trainings",fr:"D\xe9veloppeur, Infrastructure, Administrateur, S\xe9curit\xe9 et autres formations avanc\xe9es"},clients:{us:"TESTIMONIALS",gb:"TESTIMONIALS",fr:"T\xc9MOIGNAGES"},statistics1:{us:"Successful Trainings",gb:"Successful Trainings",fr:"Formations r\xe9ussies"},statistics2:{us:"Learning Partners",gb:"Learning Partners",fr:"Partenaires d'apprentissage"},statistics3:{us:"People Trained",gb:"People Trained",fr:"Personnes form\xe9es"},statistics4:{us:"Certified Trainers",gb:"Certified Trainers",fr:"Formateurs certifi\xe9s"},bookSeat:{us:"Book My Seat Now",gb:"Book My Seat Now",fr:"R\xe9server ma place maintenant"},requestTitle:{us:"Request a call back",gb:"Request a call back",fr:"Demander \xe0 \xeatre rappel\xe9"},requestDetail:{us:'Would you like to speak to one of our account managers over\n the phone for group bookings or clarifications? Just submit\n your details and we\u2019ll be in touch shortly. You can also \n <a href="mailto:[email protected]">email</a> us if you\n would prefer.',gb:'Would you like to speak to one of our account managers over\n the phone for group bookings or clarifications? Just submit\n your details and we\u2019ll be in touch shortly. You can also \n <a href="mailto:[email protected]">email</a> us if you\n would prefer.',fr:'Souhaitez-vous parler \xe0 l\'un de nos gestionnaires de compte au cours de\n le t\xe9l\xe9phone pour les r\xe9servations de groupe ou les clarifications ? Soumettez simplement\n vos coordonn\xe9es et nous vous contacterons sous peu.Vous pouvez \xe9galement nous envoyer un <a href="mailto:[email protected]">email</a> si vous pr\xe9f\xe9rez.'},requestPlaceholderName:{us:"Name",gb:"Name",fr:"Nom"},requestPlaceholderPhone:{us:"Phone Number",gb:"Phone Number",fr:"Num\xe9ro de t\xe9l\xe9phone"},requestButton:{us:"Give me a Call",gb:"Give me a Call",fr:"Appelle Moi"},requestSendingButton:{us:"Sending Request...",gb:"Sending Request...",fr:"Enviando pedido..."},feedbackTitle:{us:"Get in touch",gb:"Get in touch",fr:"Entrer en contact"},feedbackButtonFloat:{us:"FEED BACK",gb:"FEED BACK",fr:"Retour D'information"},feedbackInput1:{us:"Name",gb:"Name",fr:"Nom"},feedbackInputPlaceholder1:{us:"Your Name",gb:"Your Name",fr:"Votre Nom"},feedbackInput2:{us:"Email",gb:"Email",fr:"E-mail"},feedbackInputPlaceholder2:{us:"Your Email",gb:"Your Email",fr:"Votre E-mail"},feedbackInputPlaceholder3:{us:"Your Message",gb:"Your Message",fr:"Votre Message"},feedbackButton:{us:"Submit",gb:"Submit",fr:"Nous faire parvenir"},feedbackButtonSend:{us:"Sending...",gb:"Sending...",fr:"Envoi en cours..."},footerTitle1:{us:"About APT",gb:"About APT",fr:"Sur APT"},footerTitle11:{us:"Who are we?",gb:"Who are we?",fr:"Qui sommes nous?"},footerTitle12:{us:"Our Team",gb:"Our Team",fr:"Notre \xe9quipe"},footerTitle13:{us:"Email",gb:"Email",fr:"E-mail"},footerTitle14:{us:"Phone",gb:"Phone",fr:"T\xe9l\xe9phoner"},footerTitle2:{us:"Top Certifications",gb:"Top Certifications",fr:"Meilleures Certifications"},footerTitle3:{us:"Learning Paths",gb:"Learning Paths",fr:"Parcours D'apprentissage"},footerTitle4:{us:"Top Courses",gb:"Top Courses",fr:"Meilleurs Cours"},footerRight:{us:"All Rights Reserved",gb:"All Rights Reserved",fr:"Tous Les Droits Sont R\xe9serv\xe9s"},searchFilterBy:{us:"Filter By",gb:"Filter By",fr:"Filtrer Par"},searchFilterSort:{us:"Filter & Sort",gb:"Filter & Sort",fr:"Filtre & Sorte"},searchBookNow:{us:"Book Now",gb:"Book Now",fr:"Reserve Maintenant"},searchBulkBook:{us:"Bulk Booking",gb:"Bulk Booking",fr:"R\xe9servation Group\xe9e"},searchNextTraining:{us:"Next Training On",gb:"Next Training On",fr:"Prochaine Formation activ\xe9e"},searchNextTrainingBookNow:{us:"Book Now",gb:"Book Now",fr:"Reserve Maintenant"},searchCallender:{us:"Show Calender",gb:"Show Calender",fr:"Afficher Le Calendrier"},searchViewContent:{us:"View Content",gb:"View Content",fr:"Afficher Le Contenu"},searchOfficalSite:{us:"Go to Offical Site",gb:"Go to Offical Site",fr:"Aller au Site Officiel"},searchAddCart:{us:"Add to Cart",gb:"Add to Cart",fr:"Ajouter tout au Chariot"},searchAddedToCart:{us:"On Cart",gb:"On Cart",fr:"Chariot"},searchClear:{us:"Clear",gb:"Clear",fr:"D\xe9gager"},searchBack:{us:"Back",gb:"Back",fr:"Arri\xe8re"},searchSkillsGained:{us:"Skills Gained",gb:"Skills Gained",fr:"Comp\xe9tences Acquises"},searchCertificate:{us:"Certificate Earned",gb:"Certificate Earned",fr:"Certificat Gagn\xe9"},searchDescription:{us:"Description",gb:"Description",fr:"La Description"},searchAudience:{us:"Audience",gb:"Audience",fr:"Public"},searchObjectives:{us:"Learning Objectives",gb:"Learning Objectives",fr:"Objectifs D'apprentissage"},searchRequisite:{us:"Prerequisities",gb:"Prerequisities",fr:"Conditions Pr\xe9alables"},searchCourseCode:{us:"Course Code",gb:"Course Code",fr:"Code De Cours"},searchEvent:{us:"Events",gb:"Events",fr:"\xc9v\xe9nements"},searchNoEvents:{us:"No events found!",gb:"No events found!",fr:"Aucun \xe9v\xe9nement trouv\xe9 !"},dashboard:{us:"Dashboard",gb:"Dashboard",fr:"Tableau De Bord"},dashboardTitle:{us:"Jumpstart your cloud career",gb:"Jumpstart your cloud career",fr:"Lancez votre carri\xe8re dans le cloud"},dashboardDescription:{us:"Not sure where to start? Find featured learning below. We give you temporary credentials to actual cloud resources, so you can learn the cloud using the real thing.",gb:"Not sure where to start? Find featured learning below. We give you temporary credentials to actual cloud resources, so you can learn the cloud using the real thing.",fr:"Vous ne savez pas par o\xf9 commencer ? Trouvez l'apprentissage en vedette ci-dessous. Nous vous donnons des informations d'identification temporaires pour les ressources cloud r\xe9elles, afin que vous puissiez apprendre le cloud en utilisant la vraie chose."},dashboardInprogress:{us:"In Progress",gb:"In Progress",fr:"En Cours"},dashboardTotal:{us:"Total Trainings",gb:"Total Trainings",fr:"Formation Rotale"},dashboardCompleted:{us:"Completed Trainings",gb:"Completed Trainings",fr:"Formations Termin\xe9es"},dashboardUpcoming:{us:"Upcoming Trainings",gb:"Upcoming Trainings",fr:"Formations \xe0 Venir"},dashboardTranscript:{us:"Transcript",gb:"Transcript",fr:"Transcription"},dashboardSchedule:{us:"Scheduled Course",gb:"Scheduled Course",fr:"Cours Programm\xe9"},dashboardViewCourse:{us:"View All Courses",gb:"View All Courses",fr:"Afficher Tous Les Cours"},myLearning:{us:"My Learning",gb:"My Learning",fr:"Mon Apprentissage"},myLearningFindClass:{us:"Find A Classroom",gb:"Find A Classroom",fr:"Trouver une salle de classe"},myLearningSession:{us:"In Session",gb:"In Session",fr:"En s\xe9ance"},myLearningUpcoming:{us:"Upcoming",gb:"Upcoming",fr:"A venir"},myLearningPast:{us:"Past",gb:"Past",fr:"Pass\xe9"},myLearningCourseName:{us:"Course Name",gb:"Course Name",fr:"Nom du cours"},myLearningStartDate:{us:"Start Date",gb:"Start Date",fr:"Date de d\xe9but"},myLearningEndDate:{us:"End Date",gb:"End Date",fr:"Date de fin"},myLearningError:{us:"Error, Try it again!",gb:"Error, Try it again!",fr:"Erreur, R\xe9essayez!"},myLearningNotRegister:{us:"You haven't registered any course!",gb:"You haven't registered any course!",fr:"Vous n'\xeates inscrit \xe0 aucun cours !"},myLearningGoToCourses:{us:"Go To Courses",gb:"Go To Courses",fr:"Aller aux cours"},trainingDetailCalender:{us:"Calender",gb:"Calender",fr:"Calendrier"},trainingDetailTimezone:{us:"Time Zone (GMT)",gb:"Time Zone (GMT)",fr:"Fuseau Horaire (GMT)"},trainingDetailPrice:{us:"Price GBP(\xa3)",gb:"Price GBP(\xa3)",fr:"Prix GBP(\xa3)"},trainingDetailGotoTraining:{us:"Go To My Training",gb:"Go To My Training",fr:"Acc\xe9der \xe0 ma formation"}},h=a.p+"static/media/mobile.08743bd4.png",m=a.p+"static/media/bg_video.26b9c1e3.mp4",O=a(108),f=a(129),g=a(103),p=a(1),x=function(){var e=Object(i.g)(),t=Object(c.useState)(""),a=Object(j.a)(t,2),n=a[0],r=a[1],o=Object(s.c)((function(e){return e.currentLanguage})),l=g.a.create({fadeInUp:{animationName:f.tada,animationDuration:"1s"}}),d=function(){e.push({pathname:"/search",search:"?word=".concat(n)})};return Object(p.jsxs)("section",{style:{position:"relative",width:"100vw",height:"".concat(O.isMobile?"80vh":"100vh")},children:[Object(p.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,poster:h,style:{position:"absolute",width:"100vw",height:"100vh",top:"50%",left:"50%",objectFit:"cover",transform:"translate(-50%,-50%)",zIndex:-1},children:Object(p.jsx)("source",{src:m+"#t=30",type:"video/mp4"})}),Object(p.jsx)("div",{className:"titan-caption",children:Object(p.jsxs)("div",{className:"caption-content",children:[Object(p.jsx)("div",{className:"title font-alt mb-40 titan-title-size-4 ".concat(Object(g.b)(l.fadeInUp)),style:{color:"#ffffff"},children:b.getCertifiedMoto[o]}),Object(p.jsxs)("div",{className:"home-search-container",children:[Object(p.jsxs)("div",{className:"input-container",children:[Object(p.jsx)("input",{value:n,type:"text",placeholder:"Data Science, AI, Finance, Marketing, Microsoft courses, SQL, Excel ...",onChange:function(e){r(e.target.value)},onKeyPress:function(e){"Enter"===e.key&&d()}}),n?Object(p.jsx)("i",{onClick:function(){return r("")},id:"delete",className:"fa fa-times fa-lg","aria-hidden":"true"}):Object(p.jsx)("i",{className:"fa fa-search fa-lg","aria-hidden":"true"})]}),Object(p.jsx)("button",{className:"section-scroll btn btn-border-w btn-round",onClick:d,children:b.searchTraining[o]})]})]})})]})},v=a(202),N=a.n(v),A={AAD_B2C_Name:"aptlearn",AAD_B2C_CLIENT_ID:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_AAD_B2C_CLIENT_ID,AAD_B2C_USER_FLOW_SIGNUPSIGNIN:"B2C_1_SIGN_IN_SIGN_UP_LOCAL",AAD_B2C_USER_FLOW_RESET_PASSWORD:"B2C_1_RESET_PASS"},S={lat:49.03403771305022,lng:-122.27386946684317},C=[{name:"Subject",value:"subject"},{name:"Discount for Group Booking",value:"Groupbooking"},{name:"Strategic Learning Partner for Government Body",value:"Government"},{name:"Strategic Learning Partner for Enterprises",value:"Enterprise"},{name:"Strategic Learning Partner for Start-ups",value:"Startup"},{name:"Strategic Learning Partner for Educational Institutes",value:"Academia"},{name:"I am a Trainer and want to train with you",value:"Trainer"},{name:"I am a Learner and want discount for multiple trainings and courses",value:"Discount"},{name:"Other Queries",value:"Other"}],y=[{name:"Sujette",value:"subject"},{name:"R\xe9duction pour r\xe9servation de groupe",value:"Groupbooking"},{name:"Partenaire d'apprentissage strat\xe9gique pour l'organisme gouvernemental",value:"Government"},{name:"Partenaire d'apprentissage strat\xe9gique pour les entreprises",value:"Enterprise"},{name:"Partenaire d'apprentissage strat\xe9gique pour les start-ups",value:"Startup"},{name:"Partenaire d'apprentissage strat\xe9gique pour les \xe9tablissements d'enseignement",value:"Academia"},{name:"Je suis un entra\xeeneur et je veux m'entra\xeener avec vous",value:"Trainer"},{name:"Je suis un apprenant et je souhaite une r\xe9duction pour plusieurs formations et cour",value:"Discount"},{name:"Autres requ\xeates",value:"Other"}],T={fullname:"",email:"",message:""},E={fullname:"",email:"",address:"",city:"",state:"",zip_code:""},w={name:"",phone:"",subject:"subject",consent:!1},P="CHANGE_LANGUAGE",D="ADD_TO_CART",_="DELETE_FROM_CART",k="DELETE_ALL",I="ADD_USER",R="REMOVE_USER",L="ADD_TO_PAY",M="DELETE_ALL",B="[email protected]",U={code:"\ud83c\uddec\ud83c\udde7",text:"En-GB"},Y={code:"\ud83c\uddfa\ud83c\uddf8",text:"En-US"},F={code:"\ud83c\uddeb\ud83c\uddf7",text:"Fr-Ca"},K=a.p+"static/media/request.17af5023.png",W=a(97),H=a(24),z=a(48),V=a.n(z);V.a.defaults.baseURL=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_BASE_URL,V.a.defaults.timeout=1e4;var G=function(e,t){return new Promise((function(a,c){return V()({method:"post",url:"Training/SaveUser",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY,name:e,userid:t}}).then((function(e){return a(e)})).catch((function(e){return c(e)}))}))},q=function(e,t,a){return new Promise((function(c,n){return V()({method:"post",url:"Training/GetContent",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY,search:e,oem:t,roles:a}}).then((function(e){return c(e)})).catch((function(e){return n(e)}))}))},Q=function(e,t){return new Promise((function(a,c){return V()({method:"post",url:"Training/GetTrainingCalendar",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY,skill:e,userid:t}}).then((function(e){return a(e)})).catch((function(e){return c(e)}))}))},Z=function(e,t){return new Promise((function(a,c){return V()({method:"post",url:"Training/PaymentIntent",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY,secret_key:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SECRET_KEY,amount:e,currency:t}}).then((function(e){return a(e)})).catch((function(e){return c(e)}))}))},J=function(e){return new Promise((function(t,a){return V()({method:"post",url:"Training/TrainingOrder",data:Object(H.a)({apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY},e)}).then((function(e){return t(e)})).catch((function(e){return a(e)}))}))},X=function(e){return new Promise((function(t,a){return V()({method:"post",url:"Training/SendGridEmail",data:Object(H.a)({apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY,sendgrid_api_key:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_SENDGRID_API_KEY},e)}).then((function(e){return t(e)})).catch((function(e){return a(e)}))}))},$=function(e){return new Promise((function(t,a){return V()({method:"post",url:"Training/MyLearning",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY,userid:e}}).then((function(e){return t(e)})).catch((function(e){return a(e)}))}))},ee=a(21),te=a(217),ae=function(){var e=Object(s.c)((function(e){return e.currentLanguage})),t=Object(c.useState)(""),a=Object(j.a)(t,2),n=a[0],r=a[1],i=Object(c.useState)(""),o=Object(j.a)(i,2),l=o[0],h=o[1],m=Object(c.useState)(!1),O
1=Object(j.a)(m,2),f=O[0],g=O[1],x=(Object(c.useRef)(),Object(c.useState)("")),v=Object(j.a)(x,2),A=v[0];v[1];Object(c.useEffect)((function(){V.a.get("https://ipapi.co/json/").then((function(e){var t=e.data;200===e.status&&Object.keys(t).length>0?(h(t.country_code),r(t.country_calling_code)):(h("IN"),r("+91"))})).catch((function(e){h("IN"),r("+91")}))}),[]);var S=Object(W.a)({initialValues:w,onSubmit:function(e){var t={subject:"".concat(e.name," request a call back"),to:[{email:"[email protected]",name:"Shantanu Pandey"}],replyto:{email:"",name:""},from:{email:B,name:"APT Consulting Ltd"},htmlcontent:"Request subject: <b>".concat(e.subject,"</b> <br/> Phone: <b>+").concat(n,"-").concat(e.phone,"</b>")};""!==A?T(t):ee.b.warning("Please complete google re-captcha",{position:"bottom-center"})},validate:function(e){return function(e){var t={};return e.name?/^[A-Za-z ]+$/.test(e.name)||(t.name="Invalid"):t.name="Required",e.phone||(t.phone="Required"),"subject"===e.subject&&(t.subject="Required"),!1===e.consent&&(t.consent="we need your consent to call you"),t}(e)}}),T=function(){var e=Object(u.a)(d.a.mark((function e(t){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g(!0),e.next=3,X(t).then((function(e){var t=e.data.errorMsg;g(!1),"success"===t?(ee.b.success("Thank you! We will get in touch soon!",{position:"bottom-center",draggable:!1,pauseOnFocusLoss:!1}),S.values.name="",S.values.phone="",S.values.subject="subject"):ee.b.warning("It seems, we are unable to process your request. Try it again",{position:"bottom-center",draggable:!1,pauseOnFocusLoss:!1})})).catch((function(){g(!1),ee.b.error("Error!, Unable to send your request. Contact the admin",{position:"bottom-center",draggable:!1,pauseOnFocusLoss:!1})}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(p.jsx)("section",{id:"callback",className:"module bg-dark-60 request",style:{backgroundImage:"url(".concat(K,")"),backgroundSize:"cover"},children:Object(p.jsx)("div",{className:"container",children:Object(p.jsxs)("div",{className:"row",children:[Object(p.jsxs)("div",{className:"col-sm-4",children:[Object(p.jsx)("h3",{className:"font-alt",children:b.requestTitle[e]}),Object(p.jsx)("p",{children:N()(b.requestDetail[e])})]}),Object(p.jsxs)("form",{onSubmit:S.handleSubmit,className:"col-sm-8",children:[Object(p.jsxs)("div",{className:"form-group col-sm-6 col-xs-12",children:[S.errors.name&&Object(p.jsx)("small",{className:"error",children:S.errors.name}),Object(p.jsx)("input",{className:"form-control input-lg",type:"text",name:"name",placeholder:b.requestPlaceholderName[e],value:S.values.name,onChange:S.handleChange})]}),Object(p.jsxs)("div",{className:"form-group col-sm-6 col-xs-12",children:[S.errors.subject&&Object(p.jsx)("small",{className:"error",children:S.errors.subject}),Object(p.jsx)("select",{className:"form-control input-lg",name:"subject",value:S.values.subject,onChange:S.handleChange,children:("us"===e||"gb"===e?C:y).map((function(e,t){return Object(p.jsx)(c.Fragment,{children:0===t?Object(p.jsx)("option",{value:e.value,hidden:!0,children:e.name}):Object(p.jsxs)("option",{value:e.value,children:[" ",e.name]})},t)}))})]}),Object(p.jsxs)("div",{className:"form-group col-sm-6 col-xs-12",children:[S.errors.phone&&Object(p.jsx)("small",{className:"error",children:S.errors.phone}),Object(p.jsx)(te.a,{placeholder:b.requestPlaceholderPhone[e],defaultCountry:l,value:n,onChange:function(e){r(e),S.setFieldValue("phone",e)}})]}),Object(p.jsxs)("div",{className:"form-group col-sm-6 col-xs-12",children:[S.errors.consent&&Object(p.jsx)("small",{className:"error",children:S.errors.consent}),Object(p.jsxs)("label",{children:[Object(p.jsx)("input",{type:"checkbox",name:"consent",checked:S.values.consent,onChange:S.handleChange}),"I consent to being called back by APT Consulting's representative."]}),f?Object(p.jsx)("button",{disabled:!0,className:"btn btn-border-w btn-circle btn-block",children:b.requestSendingButton[e]}):Object(p.jsxs)("button",{type:"submit",className:"btn btn-border-w btn-circle btn-block btn-submit",children:[Object(p.jsx)("i",{className:"fa fa-paper-plane-o"})," ",b.requestButton[e]]})]})]})]})})})},ce=a(218),ne=function(e){var t=e.text;return Object(p.jsxs)("div",{className:"marker",children:[Object(p.jsx)("i",{className:"fa fa-map-marker fa-2x","aria-hidden":"true"}),t]})},se=function(){return Object(p.jsx)("div",{id:"map-section",children:Object(p.jsx)(ce.a,{bootstrapURLKeys:{key:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_GOOGLE_MAP_BOOTSTRAPURLKEYS||""},defaultCenter:S,defaultZoom:14,children:Object(p.jsx)(ne,{lat:S.lat,lng:S.lng,text:"APT Consulting Ltd"})})})},re=a.p+"static/media/statistics.7229d5c6.png",ie=a(113),oe=a.n(ie),le=function(){var e=Object(s.c)((function(e){return e.currentLanguage}));return Object(p.jsx)("section",{className:"module bg-dark-60 parallax-bg","data-background":re,style:{backgroundImage:"url(".concat(re,")")},children:Object(p.jsx)("div",{style:{margin:"auto"},className:"container",children:Object(p.jsxs)("div",{className:"row multi-columns-row",children:[Object(p.jsx)("div",{className:"col-sm-6 col-md-3 col-lg-3",children:Object(p.jsxs)("div",{className:"count-item mb-sm-40",children:[Object(p.jsx)("div",{className:"count-icon",children:Object(p.jsx)("span",{className:"icon-target"})}),Object(p.jsx)("h3",{className:"count-to font-alt",children:Object(p.jsx)(oe.a,{end:500,duration:5})}),Object(p.jsx)("h5",{className:"count-title font-serif",children:b.statistics1[e]})]})}),Object(p.jsx)("div",{className:"col-sm-6 col-md-3 col-lg-3",children:Object(p.jsxs)("div",{className:"count-item mb-sm-40",children:[Object(p.jsx)("div",{className:"count-icon",children:Object(p.jsx)("span",{className:"icon-bargraph"})}),Object(p.jsx)("h3",{className:"count-to font-alt",children:Object(p.jsx)(oe.a,{end:30,duration:5})}),Object(p.jsx)("h5",{className:"count-title font-serif",children:b.statistics2[e]})]})}),Object(p.jsx)("div",{className:"col-sm-6 col-md-3 col-lg-3",children:Object(p.jsxs)("div",{className:"count-item mb-sm-40",children:[Object(p.jsx)("div",{className:"count-icon",children:Object(p.jsx)("span",{className:"icon-happy"})}),Object(p.jsx)("h3",{className:"count-to font-alt",children:Object(p.jsx)(oe.a,{end:1e4,duration:5})}),Object(p.jsx)("h5",{className:"count-title font-serif",children:b.statistics3[e]})]})}),Object(p.jsx)("div",{className:"col-sm-6 col-md-3 col-lg-3",children:Object(p.jsxs)("div",{className:"count-item mb-sm-40",children:[Object(p.jsx)("div",{className:"count-icon",children:Object(p.jsx)("span",{className:"icon-trophy"})}),Object(p.jsx)("h3",{className:"count-to font-alt",children:Object(p.jsx)(oe.a,{end:20,duration:5})}),Object(p.jsx)("h5",{className:"count-title font-serif",children:b.statistics4[e]})]})})]})})})},de=a.p+"static/media/bg.07c1e13d.svg",ue=function(){return Object(p.jsx)("div",{className:"testmoninal-wrapper",style:{background:"url(".concat(de,")")},children:Object(p.jsxs)("div",{className:"testmoninal-content",children:[Object(p.jsx)("i",{className:"fa fa-quote-left"}
1),Object(p.jsx)("p",{children:"I\u2019ve known Shantanu Pandey for a large part of my career in technology \u2013 over ten years. Shantanu is a born leader with exceptional technical skills and the natural art of communicating complex material in a consumable manner, helping others learn what they need quickly and, more importantly, retain the information. I\u2019m thrilled to know that he uses his unique skill set to help others train and certify on today\u2019s essential technologies. I\u2019m excited to see APT Consulting expand and grow into a premier resource for training and certification."}),Object(p.jsxs)("div",{className:"person",children:[Object(p.jsx)("h6",{children:" Michelle Fleming"}),Object(p.jsx)("h6",{children:" Managing Member, Facing Bias, LLC"})]})]})})},je=a.p+"static/media/practice.d7c8c136.png",be=function(){var e=Object(s.c)((function(e){return e.currentLanguage}));return Object(p.jsxs)("div",{className:"service-wrapper",children:[Object(p.jsx)("img",{src:je}),Object(p.jsxs)("div",{className:"service-content",style:{background:"url(".concat(de,")")},children:[Object(p.jsx)("h2",{className:"module-title font-alt align-center",children:b.practiceArea[e]}),Object(p.jsx)("div",{className:"vertical-line"}),Object(p.jsxs)("div",{className:"service-list",children:[Object(p.jsxs)("div",{className:"item-left",children:[Object(p.jsx)("span",{className:"icon-briefcase"}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsx)("h3",{className:"alt-features-title font-alt",children:"Artificial Intelligence"}),b.practiceAreaDetail1[e]]})]}),Object(p.jsxs)("div",{className:"item-right",children:[Object(p.jsx)("span",{className:"icon-wallet"}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsx)("h3",{className:"alt-features-title font-alt",children:"Data Engineering"}),b.practiceAreaDetail4[e]]})]}),Object(p.jsxs)("div",{className:"item-left",children:[Object(p.jsx)("span",{className:"icon-puzzle"}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsx)("h3",{className:"alt-features-title font-alt",children:"Machine Learning"}),b.practiceAreaDetail2[e]]})]}),Object(p.jsxs)("div",{className:"item-right",children:[Object(p.jsx)("span",{className:"icon-laptop"}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsx)("h3",{className:"alt-features-title font-alt",children:"Internet of Things"}),b.practiceAreaDetail5[e]]})]}),Object(p.jsxs)("div",{className:"item-left",children:[Object(p.jsx)("span",{className:"icon-pricetags"}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsx)("h3",{className:"alt-features-title font-alt",children:"Data Platforms"}),b.practiceAreaDetail3[e]]})]}),Object(p.jsxs)("div",{className:"item-right",children:[Object(p.jsx)("span",{className:"icon-linegraph"}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsx)("h3",{className:"alt-features-title font-alt",children:"Cloud Computing"}),b.practiceAreaDetail6[e]]})]})]})]})]})},he=a.p+"static/media/partner_logo.09dca842.png",me=function(){var e=Object(s.c)((function(e){return e.currentLanguage}));return Object(p.jsx)("section",{className:"module-extra-small bg-dark",children:Object(p.jsx)("div",{className:"container",children:Object(p.jsxs)("div",{className:"row",children:[Object(p.jsx)("div",{className:"col-sm-6 col-md-8 col-lg-7 col-lg-offset-2",children:Object(p.jsxs)("div",{className:"callout-text font-alt",children:[Object(p.jsx)("h4",{children:b.lookingPartner[e]}),Object(p.jsx)("p",{style:{marginBottom:"0"},children:b.lookingPartner1[e]})]})}),Object(p.jsx)("div",{className:"col-sm-6 col-md-4 col-lg-2",children:Object(p.jsx)("div",{className:"callout-btn-box",children:Object(p.jsx)("img",{src:he,alt:"APT Microsoft Partner"})})})]})})})},Oe=a(65),fe=function(){var e=Object(s.c)((function(e){return e.currentLanguage})),t=Object(c.useState)(!1),a=Object(j.a)(t,2),n=a[0],r=a[1],i=Object(W.a)({initialValues:T,onSubmit:function(e){var t={subject:"".concat(e.fullname," left a feedback on consultingapt.com"),to:[{email:"[email protected]",name:"Shantanu Pandey"},{email:"[email protected]",name:"Guneet Singh"}],from:{email:B,name:"APT Consulting Ltd"},replyTo:{email:e.email,name:e.fullname},htmlcontent:e.message+e.email};o(t)},validate:function(e){return function(e){var t={};return e.fullname||(t.fullname="Required"),e.email?/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z]+$/.test(e.email)||(t.email="Invalid"):t.email="Required",e.message||(t.message="Required"),t}(e)}}),o=function(){var e=Object(u.a)(d.a.mark((function e(t){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(!0),e.next=3,X(t).then((function(e){"success"===e.data.errorMsg?(i.values.email="",i.values.fullname="",i.values.message="",ee.b.success("We will get in touch with you shortly!",{position:"bottom-left"})):ee.b.warning("Error, Please try it again!",{position:"bottom-left"}),r(!1)})).catch((function(e){ee.b.error("Error, Please try it again!",{position:"bottom-left"}),r(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(p.jsxs)("div",{className:"home-wrapper",children:[Object(p.jsx)(x,{}),Object(p.jsxs)("div",{className:"main",children:[Object(p.jsx)(me,{}),Object(p.jsx)(be,{}),Object(p.jsx)(le,{}),Object(p.jsx)(ue,{}),Object(p.jsx)(ae,{}),Object(p.jsx)(se,{})]}),Object(p.jsx)("div",{className:"scroll-up",children:Object(p.jsx)("a",{href:"#totop",children:Object(p.jsx)("i",{className:"fa fa-angle-double-up"})})}),Object(p.jsxs)("div",{className:"social-links",children:[Object(p.jsx)(Oe.SocialIcon,{network:"facebook",target:"_blank",style:{width:30,height:30},url:"https://facebook.com/APT-Consulting-106333858701428"}),Object(p.jsx)(Oe.SocialIcon,{network:"twitter",target:"_blank",style:{width:30,height:30},url:"https://twitter.com/apt_consulting"}),Object(p.jsx)(Oe.SocialIcon,{network:"linkedin",target:"_blank",style:{width:30,height:30},url:"https://linkedin.com/company/aptconsulting"}),Object(p.jsx)(Oe.SocialIcon,{network:"instagram",target:"_blank",style:{width:30,height:30},url:"https://instagram.com"})]}),Object(p.jsxs)("a",{className:"feedback-btn","data-toggle":"modal","data-target":"#feedbackModal",children:[Object(p.jsx)("i",{className:"fa fa-pencil","aria-hidden":"true"})," ",b.feedbackButtonFloat[e]]}),Object(p.jsx)("div",{id:"feedbackModal",className:"modal fade",role:"dialog",children:Object(p.jsx)("div",{className:"modal-dialog modal-dialog-centered",children:Object(p.jsxs)("div",{className:"modal-content",children:[Object(p.jsxs)("div",{className:"modal-header",children:[Object(p.jsx)("button",{type:"button",className:"close","data-dismiss":"modal",children:"\xd7"}),Object(p.jsxs)("h6",{children:[" ",b.feedbackTitle[e]]})]}),Object(p.jsx)("div",{className:"modal-body",children:Object(p.jsxs)("form",{onSubmit:i.handleSubmit,children:[Object(p.jsxs)("div",{className:"form-group",children:[Object(p.jsx)("label",{className:"sr-only",children:b.feedbackInput1[e]}),Object(p.jsx)("input",{className:"form-control",type:"text",name:"fullname",value:i.values.fullname,placeholder:b.feedbackInputPlaceholder1[e],onChange:i.handleChange,disabled:n}),i.errors.fullname&&Object(p.jsx)("p",{className:"error",children:i.errors.fullname})]}),Object(p.jsxs)("div",{className:"form-group",children:[Object(p.jsx)("label",{className:"sr-only",children:b.feedbackInput2[e]}),Object(p.jsx)("input",{className:"form-control",type:"text",name:"email",value:i.values.email,placeholder:b.feedbackInputPlaceholder2[e],onChange:i.handleChange,disabled:n}),i.errors.email&&Object(p.jsx)("p",{className:"error",children:i.errors.email})]}),Object(p.jsxs)("div",{className:"form-group",children:[Object(p.jsx)("textarea",{className:"form-control",rows:7,name:"message",value:i.values.message,placeholder:b.feedbackInputPlaceholder3[e],onChange:i.handleChange,style:{resize:"none"},disabled:n}),i.errors.message&&Object(p.jsx)("p",{className:"error",children:i.errors.message})]}),Object(p.jsx)("div",{className:"text-center",children:Object(p.jsx)("button",{type:"submit",className:"btn btn-block btn-round btn-d",disabled:n,children:n?b.feedbackButtonSend[e]:b.feedbackButton[e]})})]})})]})})})]})},ge=a(27),pe=function(e){var t=e.handleToggleSwitch,a=e.item,n=void 0===a?"":a,s=e.value,r=void 0!==s&&s,i=e.type,o=void 0===i?"":i;e.subCat;return Object(p.jsx)(c.Fragment,{children:Object(p.jsxs)("label",{className:"item",children:[Object(p.jsx)("input",{type:"checkbox",checked:r,onChange:function(){return t(""===n?o:n)}}),Object(p.jsx)("span",{children:n.replace("!"," ")})]})})},xe=a(58),ve=a(163),Ne=(a(380),a(207)),Ae=function(e){var t=e.currentOEM,a=e.currentRole,n=e.setCurrentOEM,r=e.setCurrentRole,i=Object(s.c)((function(e){return e.currentLanguage})),o=Object(c.useState)(),l=Object(j.a)(o,2),h=l[0],m=l[1],f=Object(c.useState)(),g=Object(j.a)(f,2),x=g[0],v=g[1],N=Object(c.useState)([]),A=Object(j.a)(N,2),S=A[0],C=A[1],y=Object(c.useState)([]),T=Object(j.a)(y,2),E=T[0],w=T[1],P=Object(c.useState)(""),D=Object(j.a)(P,2),_=D[0],k=D[1],I=Object(c.useState)(""),R=Object(j.a)(I,2),L=R[0],M=R[1],B=Object(c.useState)(!1),U=Object(j.a)(B,2),Y=U[0],F=U[1],K=Object(c.useState)(!1),W=Object(j.a)(K,2),H=W[0],z=W[1],G=Object(c.useState)(!O.isMobile),q=Object(j.a)(G,2),Q=q[0],Z=q[1];Object(c.useEffect)((function(){J(),X()}),[]);var J=function(){var e=Object(u.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return F(!0),e.next=3,new Promise((function(e,t){return V()({method:"post",url:"Training/GetRoles",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY}}).then((function(t){return e(t)}
1)).catch((function(e){return t(e)}))})).then((function(e){var t=e.data;if(200===e.status&&"success"===t.errorMsg){var a=[];t.data.forEach((function(e){e.subCategories.forEach((function(e){a.push({name:e.name,value:!1})}))})),w(a),m(a)}F(!1)})).catch((function(e){console.log(e),F(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(){var e=Object(u.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return z(!0),e.next=3,new Promise((function(e,t){return V()({method:"post",url:"Training/GetOEM",data:{apikey:Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_ENDPOINT_API_KEY}}).then((function(t){return e(t)})).catch((function(e){return t(e)}))})).then((function(e){var t=e.data;if(200===e.status&&"success"===t.errorMsg){var a=[];t.data.forEach((function(e){a.push({name:e.name,value:!1,b_value:e.value})})),C(a),v(a)}z(!1)})).catch((function(e){console.log(e),z(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(e){var t=E;t.forEach((function(t){if(t.name===e)if(t.value=!t.value,t.value)r([].concat(Object(ge.a)(a),[t.name]));else{var c=a.filter((function(e){return e!==t.name}));r(Object(ge.a)(c))}})),w(Object(ge.a)(t))},ee=function(e){var a=S;a.forEach((function(a){if(a.name===e)if(a.value=!a.value,a.value)n([].concat(Object(ge.a)(t),[a.b_value]));else{var c=t.filter((function(e){return e!==a.b_value}));n(Object(ge.a)(c))}})),C(Object(ge.a)(a))},te=function(e,t){if("role"===t){var a=E.filter((function(t){return t.name.toLowerCase().includes(e.toLowerCase())}));m(Object(ge.a)(a))}else if("oem"===t){var c=S.filter((function(t){return t.name.toLowerCase().includes(e.toLowerCase())}));v(Object(ge.a)(c))}};return Object(p.jsxs)("div",{className:"left-content",children:[Object(p.jsxs)("div",{className:"filter-title",children:[Object(p.jsx)(xe.d,{size:15,className:"clear",onClick:function(){var e=E,t=S;e.forEach((function(e){e.value=!1})),w(Object(ge.a)(e)),t.forEach((function(e){e.value=!1})),C(Object(ge.a)(t)),r([]),n([])},title:b.searchClear[i]}),Object(p.jsx)("h4",{children:b.searchFilterBy[i]}),Object(p.jsx)(O.MobileView,{children:Q?Object(p.jsx)(xe.b,{size:25,className:"caretIcon",onClick:function(){Z(!1)}}):Object(p.jsx)(xe.a,{size:25,className:"caretIcon",onClick:function(){Z(!0)}})})]}),Object(p.jsx)(Ne.Collapse,{isOpened:Q,children:Object(p.jsxs)("div",{className:"filter-groups",children:[Object(p.jsxs)("div",{className:"filter-group",children:[Object(p.jsxs)("div",{className:"filter-top",children:[Object(p.jsx)("h6",{children:"Roles"}),Object(p.jsx)("input",{disabled:Y,type:"text",value:_,onChange:function(e){var t=e.target.value;k(t),te(t,"role")}})]}),Object(p.jsx)("div",{className:"filter-items",children:Y?Object(p.jsx)(ve.a,{count:8}):Object(p.jsx)("div",{className:"filter-sub-group",children:Object(p.jsx)("div",{className:"filter-items",children:h&&h.map((function(e,t){return Object(p.jsx)(pe,{item:e.name,value:e.value,subCat:e.name,handleToggleSwitch:$},t)}))})})})]}),Object(p.jsxs)("div",{className:"filter-group",children:[Object(p.jsxs)("div",{className:"filter-top",children:[Object(p.jsx)("h6",{children:"OEM"}),Object(p.jsx)("input",{disabled:H,type:"text",value:L,onChange:function(e){var t=e.target.value;M(t),te(t,"oem")}})]}),Object(p.jsx)("div",{className:"filter-items",children:H?Object(p.jsx)(ve.a,{count:8}):x&&x.map((function(e,t){return Object(p.jsx)(pe,{item:e.name,value:e.value,handleToggleSwitch:ee},t)}))})]})]})})]})},Se=function(e){var t=e.idx,a=e.data,c=e.handleDetails,n=g.a.create({fadeInUp:{animationName:f.fadeInUp,animationDuration:"".concat(0===t?.5:1===t?.6:2===t?.7:3===t?.8:4===t?.9:5===t?1:6===t?1.1:7===t?1.2:8===t?1.3:1.4,"s")}});return Object(p.jsxs)("div",{onClick:function(){return c(a)},className:"item-card-container ".concat(Object(g.b)(n.fadeInUp)),children:[Object(p.jsx)("h3",{children:a.name||"Title Not Found!"}
1),Object(p.jsx)("p",{children:a.description||"Description Not Found!"})]})},Ce=a(78),ye=a.n(Ce),Te=a(161),Ee=a(468),we={names:{signUpSignIn:A.AAD_B2C_USER_FLOW_SIGNUPSIGNIN,forgotPassword:A.AAD_B2C_USER_FLOW_RESET_PASSWORD},authorities:{signUpSignIn:{authority:"https://".concat(A.AAD_B2C_Name,".b2clogin.com/").concat(A.AAD_B2C_Name,".onmicrosoft.com/").concat(A.AAD_B2C_USER_FLOW_SIGNUPSIGNIN)},forgotPassword:{authority:"https://".concat(A.AAD_B2C_Name,".b2clogin.com/").concat(A.AAD_B2C_Name,".onmicrosoft.com/").concat(A.AAD_B2C_USER_FLOW_RESET_PASSWORD)}},authorityDomain:"".concat(A.AAD_B2C_Name,".b2clogin.com")},Pe={auth:{clientId:A.AAD_B2C_CLIENT_ID,authority:we.authorities.signUpSignIn.authority,knownAuthorities:[we.authorityDomain],redirectUri:"/",postLogoutRedirectUri:"/",navigateToLoginRequestUrl:!0},cache:{cacheLocation:"sessionStorage",storeAuthStateInCookie:!1}},De={scopes:[]},_e={authority:"https://".concat(A.AAD_B2C_Name,".b2clogin.com/").concat(A.AAD_B2C_Name,".onmicrosoft.com/").concat(A.AAD_B2C_USER_FLOW_RESET_PASSWORD)},ke=a(22),Ie=a.n(ke),Re=a(148),Le=function(e){return{type:P,payload:e}},Me=function(){return{type:k}},Be=function(e){return{type:L,payload:e}},Ue=function(){return{type:M}},Ye=function(e){return{type:I,payload:e}},Fe=function(){return{type:R}},Ke=a(112),We=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Account",t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";Ke.a.event({category:e,action:t,label:a})};return t},He=a(209),ze=a.n(He),Ve=(a(382),function(e){return e.replace(/\d{1,3}(?=(\d{3})+(?!\d))/g,"$&,")}),Ge=a(70),qe=function(e){var t=e.sum,a=e.handlePaymentResult,n=(e.bulkInfo,Object(s.b)()),r=Object(s.c)((function(e){return e})),i=r.currentUser,o=r.cartItems,l=r.payItems,b=Object(Ge.useStripe)(),h=Object(Ge.useElements)(),m=Object(c.useState)(!1),O=Object(j.a)(m,2),f=O[0],g=O[1],x=Object(c.useState)(!1),v=Object(j.a)(x,2),N=v[0],A=v[1],S={style:{base:{fontSize:"16px",color:"#000","::placeholder":{color:"#87bbfd"}},invalid:{color:"#FFC7EE"}},hidePostalCode:!0,disabled:f},C=Object(W.a)({initialValues:E,onSubmit:function(e){var t={name:e.fullname,email:e.email,address:{city:e.city,line1:e.address,state:e.state,postal_code:e.zip_code}};N?y(t):ee.b.warning("Empty Information!, Please provide your card details.")},validate:function(e){return function(e){var t={};return e.fullname?/^[a-z A-Z]+$/.test(e.fullname)||(t.fullname="Invalid"):t.fullname="*",e.email?/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z]+$/.test(e.email)||(t.email="Invalid"):t.email="*",e.address||(t.address="*"),e.city?/^[a-z A-Z]+$/.test(e.city)||(t.city="Invalid"):t.city="*",e.state?/^[a-z A-Z]+$/.test(e.state)||(t.state="Invalid"):t.state="*",e.zip_code?/^[0-9]/.test(e.zip_code)||(t.zip_code="Invalid"):t.zip_code="*",t}(e)}}),y=function(){var e=Object(u.a)(d.a.mark((function e(c){var s,r,j,m,O,f,x,v,N,A;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g(!0),e.next=3,Z((100*t).toString(),"usd").catch((function(e){return a("card_error")}));case 3:if(s=e.sent,r=s.data,j=r.data.client_secret,"success"!==r.errorMsg){e.next=28;break}return m=h.getElement(Ge.CardElement),e.next=11,b.createPaymentMethod({type:"card",card:m,billing_details:c});case 11:return O=e.sent,f=O.paymentMethod,e.next=15,b.confirmCardPayment(j,{payment_method:f.id});case 15:if(x=e.sent,v=x.paymentIntent,"succeeded"!==(N=v.status)){e.next=24;break}return A={subject:"Confirmation message for course registration with APT Consulting Ltd!",to:[{email:i.email,name:i.fullname}],from:{email:"[email protected]",name:"APT Consulting Ltd"},replyto:{email:"",name:""},htmlcontent:"You have been register for the following courses <br/><br/> \n ".concat(o.length>0?Object(p.jsxs)("b",{children:[o.map((function(e){return e.course.name+"/"+e.event.skill.toString()+" <br />"})),Object(p.jsx)("br",{}),"Total Seat: 1"]}):"<b> ".concat(l.course.name+"/"+l.event.skill," </b><br/>\n Total Seat: ").concat(l.details.seat),"\n <br/><br/>\n <small>APT Consulting Ltd, 300, 34334 Forrest Terrace Unit 254, Abbotsford, BC V2S 1G7, Canada</small>")},e.next=22,X(A).then((function(e){e.data.errorMsg,a("success")})).catch((function(e){a("success"),a("booking_error")})).finally(Object(u.a)(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==l){e.next=4;break}
1return t={userid:i.userId,trainingid:l.event.id,name:c.name,email:i.email,address:c.address.line1,city:c.address.city,state:c.address.state,zip:c.address.postal_code,message:N,stripeid:v.id,amount:v.amount,members:"".concat(l.details.email,"|").concat(l.details.seat),isbulk:!0},e.next=4,J(t).then((function(e){"success"!==e.data.errorMsg?ee.b.warning("Error while Booking the course!, Please contact the admin."):ee.b.success("The ".concat(l.course.name," has been booked successfully!"))})).catch((function(e){ee.b.warning("Error while Booking the course!, Please contact the admin.")}));case 4:case"end":return e.stop()}}),e)}))));case 22:e.next=25;break;case 24:a("card_error");case 25:n(Ue()),e.next=29;break;case 28:a("backend_error");case 29:g(!1);case 30:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(p.jsx)("div",{id:"confirmModal",className:"modal fade payment-modal",role:"dialog",children:Object(p.jsx)("div",{className:"modal-dialog modal-dialog-centered",children:Object(p.jsxs)("div",{className:"modal-content",children:[Object(p.jsxs)("div",{className:"modal-header",children:[Object(p.jsx)("button",{type:"button",className:"close","data-dismiss":"modal",onClick:function(){return n(Ue())},children:"\xd7"}),Object(p.jsx)("h4",{className:"modal-title",children:"Course Payment"})]}),Object(p.jsx)("div",{className:"modal-body",children:Object(p.jsxs)("form",{onSubmit:C.handleSubmit,children:[Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsxs)("div",{className:"label-wrapper",children:[Object(p.jsx)("label",{children:"Name"}),C.errors.fullname&&Object(p.jsx)("div",{className:"error",children:C.errors.fullname})]}),Object(p.jsx)("input",{type:"text",placeholder:"Jane Doe",name:"fullname",value:C.values.fullname,onChange:C.handleChange,disabled:f})]}),Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsxs)("div",{className:"label-wrapper",children:[Object(p.jsx)("label",{children:"Email"}),C.errors.email&&Object(p.jsx)("div",{className:"error",children:C.errors.email})]}),Object(p.jsx)("input",{type:"text",placeholder:"[email protected]",name:"email",value:C.values.email,onChange:C.handleChange,disabled:f})]}),Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsxs)("div",{className:"label-wrapper",children:[Object(p.jsx)("label",{children:"Address"}),C.errors.address&&Object(p.jsx)("div",{className:"error",children:C.errors.address})]}),Object(p.jsx)("input",{type:"text",placeholder:"185 Berry St. Suite 550",name:"address",value:C.values.address,onChange:C.handleChange,disabled:f})]}),Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsxs)("div",{className:"label-wrapper",children:[Object(p.jsx)("label",{children:"City"}),C.errors.city&&Object(p.jsx)("div",{className:"error",children:C.errors.city})]}),Object(p.jsx)("input",{type:"text",placeholder:"San Francisco",name:"city",value:C.values.city,onChange:C.handleChange,disabled:f})]}),Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsxs)("div",{className:"label-wrapper",children:[Object(p.jsx)("label",{children:"State"}),C.errors.state&&Object(p.jsx)("div",{className:"error",children:C.errors.state})]}),Object(p.jsx)("input",{type:"text",placeholder:"California",name:"state",value:C.values.state,onChange:C.handleChange,disabled:f})]}),Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsxs)("div",{className:"label-wrapper",children:[Object(p.jsx)("label",{children:"ZIP"}),C.errors.zip_code&&Object(p.jsx)("div",{className:"error",children:C.errors.zip_code})]}),Object(p.jsx)("input",{type:"text",placeholder:"94103",name:"zip_code",value:C.values.zip_code,onChange:C.handleChange,disabled:f})]}),Object(p.jsxs)("div",{className:"pay-btn",children:[Object(p.jsx)("div",{className:"card-element-container",children:Object(p.jsx)(Ge.CardElement,{className:"card",options:S,onChange:function(e){e.complete?A(!0):A(!1)}})}),Object(p.jsx)("button",{className:"submitBtn ".concat(f&&"processingBtn"),disabled:f,type:"submit",children:f?"Processing...":" Pay $".concat(Ve(String(t)))})]})]})})]})})})},Qe=a(144),Ze=function(e){var t=e.currentData,a=e.setShowDetail,n=Object(c.useState)(t),r=Object(j.a)(n,1)[0],l=Object(c.useState)({email:"",seat:1,price:14245662}),h=Object(j.a)(l,2),m=h[0],O=h[1],f=Object(c.useState)(!1),g=Object(j.a)(f,2),x=g[0],v=g[1],N=Object(c.useState)(),A=Object(j.a)(N,2),S=A[0],C=A[1],y=Object(c.useState)(!1),T=Object(j.a)(y,2),E=T[0],w=T[1],P=Object(c.useState)([]),_=Object(j.a)(P,2),k=_[0],I=_[1],R=Object(o.e)(),L=R.instance,M=R.accounts,B=Object(i.g)(),U=Object(Re.c)(Ie.a),Y=Object(s.b)(),F=Object(c.useRef)(),K=Object(c.useRef)(),W=Object(s.c)((function(e){return e})),z=W.currentUser,V=W.cartItems,q=W.currentLanguage,Z=We("Course"),J=We("Account"),X=Object(Qe.a)(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_PUBLISHABLE_KEY||""),$=Object(c.useState)(),te=Object(j.a)($,2),ae=te[0],ce=te[1];Object(c.useEffect)((function(){return window.scroll(0,0),re(),function(){I([]),w(!1)}}),[]);var ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;k[e].isbooked||(Y(Ue()),Y(Me()),Y(Be(t?{course:r,event:k[e],details:m,type:"bulk"}:{course:r,event:k[e],details:{seat:1},type:"single"})),Z("Course Added",r&&r.name))}
1,se=function(){k.forEach((function(e){!e.isbooked&&Y(function(e){return{type:D,payload:e}}({course:r,event:e,type:"single"}))}))},re=function(){var e=Object(u.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(!0),e.next=3,Q(t?t.rowKey:"",z.userId?z.userId:"").then((function(e){var t=e.data;"success"===t.errorMsg&&I(ze.a.orderBy(t.data,["startdate"])),w(!1)})).catch((function(e){w(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ie=function(e){return V.filter((function(t){return"bulk"===t.type&&t.course.rowKey===r.rowKey&&t.event.id===k[e].id})).length>0},oe=function(e,t){switch(t){case"seat":O(Object(H.a)(Object(H.a)({},m),{},{seat:parseInt(e),price:parseFloat(k[S].price)*parseInt(e)}));break;case"email":O(Object(H.a)(Object(H.a)({},m),{},{email:e})),""===m.email?v(!1):/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z]+$/.test(e)?(v(!0),O(Object(H.a)(Object(H.a)({},m),{},{email:e}))):v(!1)}};return Object(p.jsxs)(c.Fragment,{children:[Object(p.jsxs)("div",{className:"training-detail-container",children:[Object(p.jsxs)("div",{className:"search-page-input",children:[Object(p.jsxs)("button",{onClick:function(){return a(!1)},children:[Object(p.jsx)("i",{className:"fa fa-arrow-left","aria-hidden":"true"})," ",b.searchBack[q]]}),Object(p.jsx)("input",{type:"text",value:r&&r.name,disabled:!0,placeholder:"Data Science, AI, Finance, Marketing, Microsoft courses, SQL, Excel ..."}),Object(p.jsx)("i",{className:"fa fa-search fa-lg icon","aria-hidden":"true"})]}),Object(p.jsx)("div",{className:"training-detail",children:Object(p.jsxs)("div",{className:"traing-detail-content",children:[Object(p.jsxs)("div",{className:"training-left",children:[Object(p.jsxs)("div",{className:"item-important",children:[Object(p.jsxs)("div",{className:"item-important-left",children:[Object(p.jsx)("h4",{children:b.searchCourseCode[q]}),Object(p.jsx)("h5",{children:r.rowKey.replace(/!/g," ")||""})]}),Object(p.jsxs)("div",{className:"item-important-middle",children:[Object(p.jsx)("h4",{children:b.searchCertificate[q]}),Object(p.jsx)("h5",{children:r.certification||""})]}),Object(p.jsxs)("div",{className:"item-important-right",children:[Object(p.jsx)("h4",{children:b.searchRequisite[q]}),Object(p.jsx)("h5",{children:r.prerequisites||""})]})]}),Object(p.jsxs)("div",{className:"item-container",children:[Object(p.jsxs)("h4",{children:[b.searchAudience[q]," : "]}),Object(p.jsx)("h5",{children:r.audiencebackground||""})]}),Object(p.jsxs)("div",{className:"item-container",children:[Object(p.jsxs)("h4",{children:[b.searchDescription[q]," : "]}),Object(p.jsx)("h5",{children:r.description||""})]}),Object(p.jsxs)("div",{className:"training-left-bottom",children:[Object(p.jsxs)("a",{"data-toggle":"modal","data-target":"#calenderModal",children:[Object(p.jsx)("i",{className:"fa fa-calendar","aria-hidden":"true"}),b.searchCallender[q]]}),Object(p.jsxs)("a",{"data-toggle":"modal","data-target":"#contentModal",children:[Object(p.jsx)("i",{className:"fa fa-file","aria-hidden":"true"}),b.searchViewContent[q]]}),Object(p.jsxs)("a",{target:"_blank",href:r.link,children:[Object(p.jsx)("i",{className:"fa fa-globe","aria-hidden":"true"}),b.searchOfficalSite[q]]}),Object(p.jsxs)(o.a,{children:[0!==k.length&&!k[0].isbooked&&-1==V.findIndex((function(e){return e.event.skill==k[0].skill}))&&Ie()().diff(Ie()(k[0].startdate))<0&&Object(p.jsxs)("button",{onClick:function(){return se()},className:"".concat(V.filter((function(e){return e.course.rowKey===r.rowKey})).length>0&&"addedToCart"),children:[Object(p.jsx)("i",{className:"fa fa-cart-plus fa-lg","aria-hidden":"true"}),b.searchAddCart[q]]}),k.filter((function(e){return 0===e.isbooked})).length>0&&Object(p.jsxs)("div",{className:"nextTraining",children:[Object(p.jsxs)("h4",{children:[b.searchNextTraining[q],":"]}),Object(p.jsx)("h5",{children:Ie()().diff(Ie()(k.filter((function(e){return 0===e.isbooked}))[0].startdate))<0?Ie()(k.filter((function(e){return 0===e.isbooked}))[0].startdate).format("MMM DD, YYYY"):"TBA"})]})]}
1),Object(p.jsx)(o.c,{children:k.length>0&&Object(p.jsxs)("div",{className:"nextTraining",children:[Object(p.jsxs)("h4",{children:[b.searchNextTraining[q],":"]}),Object(p.jsx)("h5",{children:Ie()().diff(Ie()(k[0].startdate))<0?Ie()(k[0].startdate).format("MMM DD, YYYY"):"TBA"})]})})]})]}),Object(p.jsx)("div",{className:"training-right",children:E?Object(p.jsx)(ye.a,{width:58,height:58,type:"bars",color:"#333",className:"loading-bars"}):0===k.length?Object(p.jsxs)("div",{className:"not-found",children:[Object(p.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAJDUlEQVR4nO2aa4xVVxXHf+vcx9xheMNURhxKqVRkEk1MfdSojbbwzcSE+MEPolSsEhM+1RSqwfrAR9CaQDVCadqCJiZ+0C/6ofVVaUvTNkZaoEAHh8d0oJA7ZWBm7uOce5YfzrnnnnvPOffuuffOyAf+yc55rH3W3mvttdfae50tNEBVU+cdHhHlawq3A2hAC9Wj9T0G78MQ7zIGHC5n2TUkUjb4rCOkG19cLPOoCN8NhK5etf65jtbAI1EJCQSRuu/eCzycLqPAzqSOdwvS+OJcSccQBmYqeEQJJkPeHKMfyMlgx1xaIGIBWGggdIPwrQRvFLoTHQhYHXxujEgj6nIYWguv1E+PcH2NqTeTAuAqT3QkmSEiFjCdZde8MqrwZWBl09FvMj1MnyNzEM4hPLGuh58163i3ENO+GU6oZq0yD4myGzzBytNT/PeVl5jMX2X+sn5Wf+yTZHv7qNJbdOQRcvyi0fMfOnRoleu6B0XkHlU9alnW1s2bN19ot9+NaHueDYmUJcu+sOmeeelf5EcvUCoUyI9eYPjoERRwMTD7HPviwl6pVHrScZwNtm3PdxxnQ7lcPthun+PQtgJOqGYpsz0QQiH/9kVs2w5KfvRCRHg3pijgFNl+QjXb2I7jOJ8J87Rt+952+xyHOh8wPK2DmuKXAhsVFiSFQgUohUbWJ5SKxUgDcX4iUse77HYK7D5W0Lp5+Y8DexurR5TUCYK2fOH/I7C00cNXrwteOc3CIyfJXhpH7EqNi+3A9Sn23hM1qO1HXVjYB5loxG2KmfMsAm8Av8ocePCQIEZROODgj/zSWC+v0P/bv7Pg1TMRBuK6cCMPKLYdHRyhDDeKsHgZapnNuDZ55oCPAk/bD/7ms3pAt5goIVCAb/ZAvVkrsODlkyx49c14DtMToJ7pl2NX7iWPSeEa9C1q1Z9u8fyK/Y3Hn2c/T7VqKmKXjcIDLHzxGODEc3AmEPFojpOKkEU8QdR2gL5W/ekeT2UbzEABCn9T+ELoObj2jL2DaLwChCmqlqZ2lorUXFhaAb+zgoDarfrTNZ6aTt99pqjjiOfoBC4JHF6TZY+IBA4sUEBF2WEJ96qypHEZa9mFJp21qVrH4GSW4d5MQFtdsBH8yCBpwFQBnfMUxxaFJUIwmEuAn5wtkwF+WK0XeJB1OTltVfiwwB+A6/Vr83JyyaZBSiAlNuXz3DE5Tcq2WTM1zaZ8PqCRzTTnMws8w9OZmiK21ivbAM7XdyZ7U9fGmjoP6iYzEAu3bzVYhqGwSzyH9/04EFAkEHZ8bY8sq9Yx6pFodIFTIwK9S6EwltBhC3oHPKeW4Edmk6fSMMrCM+FHwyEpNW8klYK+FUh5HKlMguuAlUZT89HMMn+UmvOYDZ5h4VW5jsVTdoYd4TqGCmhiAVUIaM8ilMa47JAYQueG5/OO8K31Wd4UkYg5mU0BEwXchFBAlC1DORlJqmPoA5LD4M2OtMNUU7oRl22fb78H6oIzDRWzNUA3oYCd4fETqt8cEhmPq2PoAzpIb4pAuhcqs57ij0JBhS9aJTadKuqEv+ipAKdSKXbemZEXZl8Bwfed58nbadWPAhbUVrgifMp1+edwQTfMvgK0AnahMx4doC4UUrcmSGGxpzMFVArglJLpYbSdfu0cwchHSUNmCkjKK1SKzOnIKlCuKl0gk4HMvETl+mGwGf31ziwgla23gJVDsPwOz/GpwtURGDvRXdrYKRh5zWuz7K8Es71mYtTDVeUHhlnhhGR2Oge5RZBbDD0LYdkqwPXmPS4s959xu0cbeH991xyb+Fxz4kZqCuWI67Lxrpz82XR71rqK+PUixhL87OoiLVyteYRRKFuw0+3h6bi1QHejgOvU/nU3dq5rtIbByGSa9k+V73ywVx5Lonc2BcJFHRg/529PK941P1Kj50e6Q7ty1t/ci5cQCRQQVyDtNM8LGgUnffH7/58g3iGOf2QXpRyL7xaZSKoTWMDJgt5+vKB/faOgk8cK+txrBV1Vq5bkZG72ArliLdEbh1pWWHgS5T7/8f60y0Fgo09txqOGgbWw5H21kDU+Cpffmj2aAQQeO1nSYibLn9aKRDIoYR/w8TpRhU/USIYaX7yCupC1ZMXs0loU8eRYivJ7p8Tk6aIeP1XSh1U1+NkQVsDLdarR8LOBEwycYaVW5oLWtFTHEsT7pTAkyk/fKtcOXwUKEGWrwHPApMCzjhVOHxtagOt4YapaXGd2aQY+IOzlQ5uiQLbAB6zvlfMEc74Rhj7g3VFYMgBieZ19d6z2bTs014Wr56B/sEZ75xzcSHTqdYgLcSKg0FN97t5KEODKsFe6RSsW4fxxr7SDhCCfonYAa44SIm2iUmldpwkkVHyMCBy4M8ue6ou0qqbOFNmlwhaFQfDGWzXkSv79kFmLt62GRStqIevaZc+E26WlLRhYA/2hMHh1FC6ahcH1OWm50LPOlPkRwi6BweA3Eo1/U9SsLOynLmQt6u+M1puG5QP1tOUDRsKbIi3CA0D0aKuE8yCGPgCNYeS2T5MkWveQDv0+brIxuJl2g91VhgX8DurbCJxH8M4w7l6/5MftinedGOs+7erbXVVAmgw7KVNB2IxyW9giaoox1Hr+gldmg+YCRbft34xJSPsbhG/7BVWV0yXuEthLsDAy9QFdgFI74zAH0TeSEBERXZeT0+LyQHUquKksM1uDd1BKeKVT4S0zDokZobQQ7JiKvYO0vyefYbG7NuzXTCrFKmB4WgcdYX/VAsbfcz9zZgHdQsqNnLGNQ+Dnx1TnTZX4OcKXFBYDdecFl4/9kWWX/9K9DiahmPbyuJ0gW3lBPrf/0yZVAwWcLeqvVdgG9WMRVkLfxOssvfIsuekRrMrMjrwYQ4FSGmwLdAb/00QV4Rqpyl6578Cjxp9Vb86WNE/orHCSEuJose+p3ZgatoRuBMY+1CsrDT9tG+GzwmjDleq9vw9ppNX1WuP5VE9qtlJCY+JiDiIgEM4ICc+EN0PVa/icXRxNfCbVVH3kfejeMnznXw91VdIEBBYwnWFHr42K8lWFpSaj3UgXvGkbjKDGj2bSzPbfj4lwWHv43szFuYVbuIVbuIUZ4X/7NVwWPAOmcAAAAABJRU5ErkJggg==",alt:"NO CALENDAR"}),Object(p.jsx)("h6",{children:b.searchNoEvents[q]})]}):k.map((function(e,t){return Object(p.jsxs)("div",{className:"option",children:[Object(p.jsxs)("div",{className:"option-content",children:[Object(p.jsxs)("div",{className:"calendar-wrapper",children:[Object(p.jsx)("h5",{children:b.trainingDetailCalender[q]}),Object(p.jsxs)("div",{className:"time-wrapper",children:[Object(p.jsx)("h4",{children:"".concat(Ie()(e.startdate).format("D MMMM YYYY")," ").
1concat(Ie()(e.starttime,"HH:mm:ss").format("h:mm a"))}),Object(p.jsx)("h4",{children:"".concat(Ie()(e.enddate).format("D MMMM YYYY")," ").concat(Ie()(e.endtime,"HH:mm:ss").format("h:mm a"))})]})]},t),Object(p.jsxs)("div",{className:"price-wrapper",children:[Object(p.jsx)("h5",{children:b.trainingDetailPrice[q]}),Object(p.jsx)("h4",{children:"\xa3 ".concat(e.price,"/seat")})]}),Object(p.jsxs)("div",{className:"timezone-wrapper",children:[Object(p.jsx)("h5",{children:b.trainingDetailTimezone[q]}),Object(p.jsx)("h4",{children:"".concat(e.timezone)})]})]}),Ie()().diff(Ie()(e.startdate))<0&&(0===M.length?Object(p.jsxs)("div",{className:"btn-container",children:[Object(p.jsxs)("button",{onClick:function(){return L.loginPopup(De).then((function(e){var t=e.account,a=t.name,c=t.username,n=t.localAccountId;Y(Ye({fullname:a,email:c,userId:n})),ee.b.success("Signed in successfully!"),G(a,n),J("Log In",a)}))},children:[Object(p.jsx)("i",{className:"fa fa-user","aria-hidden":"true"}),b.searchBookNow[q]]}),Object(p.jsxs)("button",{onClick:function(){return L.loginPopup(De).then((function(e){var t=e.account,a=t.name,c=t.username,n=t.localAccountId;Y(Ye({fullname:a,email:c,userId:n})),ee.b.success("Signed in successfully!"),G(a,n),J("Log In",a)}))},children:[Object(p.jsx)("i",{className:"fa fa-users","aria-hidden":"true"}),b.searchBulkBook[q]]})]}):e.isbooked&&M.length>0?Object(p.jsx)("div",{className:"btn-container",children:Object(p.jsx)("button",{onClick:function(){return B.push({pathname:"/mylearning"})},children:b.trainingDetailGotoTraining[q]})}):(a=t,V.filter((function(e){return"single"===e.type&&e.course.rowKey===r.rowKey&&e.event.id===k[a].id})).length>0?Object(p.jsxs)("div",{className:"btn-container",children:[Object(p.jsxs)("button",{disabled:!0,className:"not-allowed",children:[Object(p.jsx)("i",{className:"fa fa-shopping-cart fa-lg","aria-hidden":"true"}),b.searchAddedToCart[q]]}),ie(t)&&Object(p.jsxs)("button",{disabled:!0,className:"not-allowed",children:[Object(p.jsx)("i",{className:"fa fa-shopping-cart fa-lg","aria-hidden":"true"}),b.searchAddedToCart[q]]})]}):Object(p.jsxs)("div",{className:"btn-container",children:[Object(p.jsxs)("button",{"data-toggle":"modal","data-target":"#confirmModal",ref:F,onClick:function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;ne(e,!1),ce(k[e].price)}(t)},children:[Object(p.jsx)("i",{className:"fa fa-user","aria-hidden":"true"}),b.searchBookNow[q]]}),Object(p.jsxs)("button",{"data-toggle":"modal","data-target":"#bulkModal",onClick:function(){C(t),O({email:"",seat:1,price:k[t].price})},children:[Object(p.jsx)("i",{className:"fa fa-users","aria-hidden":"true"}),b.searchBulkBook[q]]})]})))]},t);var a}))})]})})]}),Object(p.jsx)("div",{id:"contentModal",className:"modal fade",role:"dialog",children:Object(p.jsx)("div",{className:"modal-dialog modal-dialog-centered",children:Object(p.jsxs)("div",{className:"modal-content",children:[Object(p.jsxs)("div",{className:"modal-header",children:[Object(p.jsx)("button",{type:"button",className:"close","data-dismiss":"modal",children:"\xd7"}),Object(p.jsx)("h4",{className:"modal-title",children:"Course Outline"})]}),Object(p.jsx)("div",{className:"modal-body iframe",children:Object(p.jsx)("iframe",{src:r.content||null})})]})})}),Object(p.jsx)("div",{id:"calenderModal",className:"modal fade",role:"dialog",children:Object(p.jsx)("div",{className:"modal-dialog modal-dialog-centered",children:Object(p.jsxs)("div",{className:"modal-content",children:[Object(p.jsxs)("div",{className:"modal-header",children:[Object(p.jsx)("button",{type:"button",className:"close","data-dismiss":"modal",children:"\xd7"}),Object(p.jsx)("h4",{className:"modal-title",children:"Events Schedule"})]}),Object(p.jsx)("div",{className:"modal-body calender-content",children:Object(p.jsx)(Re.a,{localizer:U,defaultDate:new Date,defaultView:"month",events:Object(ge.a)(k.map((function(e,t){return Ie()().diff(Ie()(e.startdate))<0&&{start:Ie()(e.startdate).toDate(),end:Ie()(e.enddate).toDate(),title:"Course Schedule - Event ".concat(t+1)}}))),style:{width:"100%",height:"100%"},views:[Re.b.MONTH]})})]})})}),Object(p.jsx)("div",{id:"bulkModal",className:"modal fade",role:"dialog",children:Object(p.jsx)("div",{className:"modal-dialog modal-dialog-centered",children:Object(p.jsxs)("div",{className:"modal-content",children:[Object(p.jsxs)("div",{className:"modal-header",children:[Object(p.jsx)("button",{ref:K,type:"button",className:"close","data-dismiss":"modal",children:"\xd7"}),Object(p.jsx)("h4",{className:"modal-title",children:"Bulk Booking"})]}),Object(p.jsx)("div",{className:"modal-body bulk-booking ".concat(0===M.length&&"disable-bulk-booking"),children:Object(p.jsxs)("div",{className:"email-container",children:[Object(p.jsxs)("div",{className:"form-group-email",children:[Object(p.jsxs)("div",{className:"label-container",children:[Object(p.jsx)("label",{children:"Email"}),!x&&Object(p.jsx)("span",{className:"error",children:""===m.email?"Required":"Invalid"})]}),Object(p.jsx)("input",{type:"text",className:"form-control",placeholder:"[email protected]",value:m.email,onChange:function(e){var t=e.target;return oe(t.value,"email")}})]}),Object(p.jsxs)("div",{className:"form-group-seat",children:[Object(p.jsx)("div",{className:"label-container",children:Object(p.jsx)("label",{children:"Number of seats"})}),Object(p.jsx)("input",{type:"number",className:"form-control",min:1,value:m.seat,onChange:function(e){var t=e.target;return oe(t.value,"seat")}})]}),Object(p.jsxs)("div",{className:"price-group",children:[Object(p.jsx)("label",{children:"Total Price"}),Object(p.jsx)("div",{className:"price-control",children:"$ ".concat(Ve(String(m.price)))})]})]})}),Object(p.jsx)("div",{className:"modal-footer",children:0===M.length?Object(p.jsx)("button",{type:"button",className:"btn btn-secondary",onClick:function(){return L.loginPopup().then((function(e){var t=e.account,a=t.name,c=t.username,n=t.localAccountId;Y(Ye({fullname:a,email:c,userId:n})),Object(ee.b)("Signed in successfully!"),G(a,n)}))},children:"Sign In"}):Object(p.jsxs)("button",{type:"button",className:"btn btn-secondary",onClick:function(){K.current.click(),F.current.click(),ne(S,!0)},disabled:!x,children:[Object(p.jsx)("i",{className:"fa fa-check-circle fa-lg","aria-hidden":"true"}),"Confirm"]})})]})})}),Object(p.jsx)(Ge.Elements,{stripe:X,children:Object(p.jsx)(qe,{sum:ae,handlePaymentResult:function(e){F.current.click(),"success"===e?(ee.b.success("The payment has been successfull"),ee.b.info(" We have sent you a confirmation email. Please check out your mail inbox!"),re()):"card_error"===e?ee.b.error("Card Error
1!, Please contact your card provider"):"backend_error"===e?ee.b.error("Error!, Unable to communicate with the server"):"booking_error"===e?ee.b.warning("Error!, Unable to send confirmation email"):ee.b.error("Error!, Please contact the administration")}})})]})},Je=function(e){var t=e.location,a=Object(c.useState)(new URLSearchParams(t.search).get("word")||""),n=Object(j.a)(a,2),s=n[0],r=n[1],i=Object(c.useState)(!1),o=Object(j.a)(i,2),l=o[0],b=o[1],h=Object(c.useState)([]),m=Object(j.a)(h,2),O=m[0],f=m[1],g=Object(c.useState)(!1),x=Object(j.a)(g,2),v=x[0],N=x[1],A=Object(c.useState)(1),S=Object(j.a)(A,2),C=S[0],y=S[1],T=Object(c.useState)(!1),E=Object(j.a)(T,2),w=E[0],P=E[1],D=Object(c.useState)(),_=Object(j.a)(D,2),k=_[0],I=_[1],R=Object(c.useState)([]),L=Object(j.a)(R,2),M=L[0],B=L[1],U=Object(c.useState)([]),Y=Object(j.a)(U,2),F=Y[0],K=Y[1],W=We("Search");Object(c.useEffect)((function(){H(),W(s,M.toString()||F.toString())}),[s,M,F]);var H=function(){var e=Object(u.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b(!0),e.next=3,q(s,M.toString(),F.toString()).then((function(e){var t=e.status,a=e.data;200===t&&"success"===a.errorMsg&&f(a.data),b(!1)})).catch((function(){N(!0),b(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(e){P(!0),I(e)};return Object(p.jsx)("div",{className:"search-wrapper",children:w?Object(p.jsx)(Ze,{currentData:k,setShowDetail:P}):Object(p.jsxs)("div",{className:"search-main",children:[Object(p.jsx)(Ae,{currentOEM:M,currentRole:F,setCurrentOEM:B,setCurrentRole:K}),Object(p.jsxs)("div",{className:"right-content",children:[Object(p.jsxs)("div",{className:"company-info",children:[Object(p.jsxs)("div",{className:"info-left",children:[Object(p.jsxs)("a",{href:"mailto:[email protected]",children:[Object(p.jsx)("i",{className:"fa fa-envelope-o","aria-hidden":"true"})," [email protected]"]}),Object(p.jsxs)("div",{className:"phone",children:[Object(p.jsx)("i",{className:"fa fa-phone","aria-hidden":"true"})," 8883836659"]})]}),Object(p.jsxs)("div",{className:"info-right",children:[Object(p.jsx)(Oe.SocialIcon,{network:"facebook",target:"_blank",style:{width:25,height:25},url:"https://facebook.com/APT-Consulting-106333858701428"}),Object(p.jsx)(Oe.SocialIcon,{network:"twitter",target:"_blank",style:{width:25,height:25},url:"https://twitter.com/apt_consulting"}),Object(p.jsx)(Oe.SocialIcon,{network:"linkedin",target:"_blank",style:{width:25,height:25},url:"https://linkedin.com/company/aptconsulting"}),Object(p.jsx)(Oe.SocialIcon,{network:"instagram",target:"_blank",style:{width:25,height:25},url:"https://instagram.com"})]})]}),Object(p.jsx)("div",{className:"right-top",children:Object(p.jsxs)("div",{className:"search-page-input",children:[Object(p.jsx)("input",{type:"text",value:s,onChange:function(e){return r(e.target.value)},placeholder:"Data Science, AI, Finance, Marketing, Microsoft courses, SQL, Excel ..."}),s?Object(p.jsx)("i",{onClick:function(){return r("")},id:"delete",className:"fa fa-times fa-lg","aria-hidden":"true"}):Object(p.jsx)("i",{className:"fa fa-search fa-lg","aria-hidden":"true"})]})}),Object(p.jsx)("div",{className:"right-bottom",children:v?Object(p.jsxs)("div",{className:"nothing-found",children:[Object(p.jsx)(Te.a,{className:"error",size:75}),Object(p.jsx)("h5",{children:"Error, Unable to fetch!"})]}):l?Object(p.jsx)(ye.a,{type:"spinningBubbles",color:"#3842DC",className:"loading"}):0===O.length?Object(p.jsxs)("div",{className:"nothing-found",children:[Object(p.jsx)(Te.a,{className:"empty",size:75}),Object(p.jsx)("h4",{children:"Nothing Found!"})]}):Object(p.jsxs)("div",{className:"pagination-wrapper",children:[Object(p.jsx)("div",{className:"data-page-container",children:O.slice(9*(C-1),9*(C-1)+9).map((function(e,t){return Object(p.jsx)(Se,{idx:t,data:e,handleDetails:z},t)}))}),Object(p.jsx)(Ee.a,{className:"pagination",count:Math.ceil(O.length/5),onChange:function(e,t){y(t),window.scroll(0,0)}})]})})]})]})})},Xe=function(){return Object(p.jsxs)("div",{className:"path-notFound-container",children:[Object(p.jsx)("h2",{children:"Page Not Found"}
1),Object(p.jsx)("i",{className:"fa fa-frown-o fa-5x","aria-hidden":"true"}),Object(p.jsx)("a",{href:"/",children:"Back to Home"})]})},$e=a(210),et=function(){var e=Object(s.b)(),t=Object(s.c)((function(e){return e.cartItems})),a=Object(c.useState)(0),n=Object(j.a)(a,2),i=n[0],o=n[1],l=Object(Qe.a)(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}).REACT_APP_PUBLISHABLE_KEY||""),d=Object(c.useState)(!1),u=Object(j.a)(d,2),b=u[0],h=u[1],m=Object(c.useRef)(),O=We("Course");Object(c.useEffect)((function(){var e=0;t.length>0&&t.forEach((function(t){e+=t.event.price})),o(e)}),[t]),Object(c.useEffect)((function(){window.scroll(0,0)}),[]);return Object(p.jsx)("div",{className:"cart-container",children:Object(p.jsxs)("div",{className:"contents",children:[Object(p.jsxs)(r.b,{to:"/search",children:[Object(p.jsx)(xe.f,{size:25}),Object(p.jsx)("h5",{children:" Back To Search"})]}),b?Object(p.jsxs)("div",{className:"payment-completed-container",children:[Object(p.jsx)($e.a,{}
1),Object(p.jsx)("h4",{children:"The payment has been successfull"}),Object(p.jsx)("p",{children:"We have sent you a confirmation email. Please check out your mail inbox!"})]}):0===t.length?Object(p.jsxs)("div",{className:"no-cart-items",children:[Object(p.jsx)(xe.e,{size:150}),Object(p.jsx)("h4",{children:"There are no items on cart"})]}):Object(p.jsxs)(c.Fragment,{children:[Object(p.jsxs)("div",{className:"contents-header",children:[Object(p.jsx)("div",{className:"header-item-id",children:"#"}),Object(p.jsx)("div",{className:"header-item-title",children:"Course Name"}),Object(p.jsx)("div",{className:"header-item",children:"Event"}),Object(p.jsx)("div",{className:"header-item",children:"Duration"}),Object(p.jsx)("div",{className:"header-item",children:"Price"}),Object(p.jsx)("div",{className:"header-item-delete"})]}),Object(p.jsxs)("div",{className:"contents-body",children:[t.map((function(t,a){return Object(p.jsxs)("div",{className:"contents-row",children:[Object(p.jsx)("div",{className:"content-item-id",children:a+1}),Object(p.jsx)("div",{className:"content-item-title",children:t.course.name}),Object(p.jsx)("div",{className:"content-item",children:"".concat(Ie()(t.event.startdate).format("MMM DD, YYYY")," - ").concat(Ie()(t.event.enddate).format("MMM DD, YYYY"))}),Object(p.jsx)("div",{className:"content-item",children:"\n ".concat(Ie.a.duration(Ie()(t.event.enddate,"YYYY-MM-DDThh:mm:ss").diff(Ie()(t.event.startdate,"YYYY-MM-DDThh:mm:ss"))).months()>0?Ie.a.duration(Ie()(t.event.enddate,"YYYY-MM-DDThh:mm:ss").diff(Ie()(t.event.startdate,"YYYY-MM-DDThh:mm:ss"))).months()+" months ":""," \n ").concat(Ie.a.duration(Ie()(t.event.enddate,"YYYY-MM-DDThh:mm:ss").diff(Ie()(t.event.startdate,"YYYY-MM-DDThh:mm:ss"))).days()," days")}),Object(p.jsx)("div",{className:"content-item",children:"$ ".concat(t.event.price)}),Object(p.jsx)("div",{className:"content-item-delete",onClick:function(){var a;e((a=t.event.id,{type:_,payload:a})),O("Course Removed",t.course.name)}
1,children:Object(p.jsx)("i",{className:"fa fa-trash","aria-hidden":"true"})})]},a)})),Object(p.jsxs)("div",{className:"confirm-container",children:[Object(p.jsxs)("div",{className:"total",children:["Total \xa0 $ ",Ve(i.toString())]}),Object(p.jsxs)("div",{className:"confirm-btn","data-toggle":"modal","data-target":"#confirmModal",ref:m,children:[Object(p.jsx)(xe.c,{size:20}),Object(p.jsx)("h5",{children:" Confirm Courses"})]})]})]})]}),Object(p.jsx)(Ge.Elements,{stripe:l,children:Object(p.jsx)(qe,{sum:i,handlePaymentResult:function(t){m.current.click(),"success"===t?(h(!0),o(0),e(Me())):"card_error"===t?ee.b.error("Card Error!, Please contact your card provider"):"backend_error"===t?ee.b.error("Error!, Unable to communicate with the server"):"booking_error"===t?ee.b.warning("Error!, Unable to send confirmation email"):ee.b.error("Error!, Please contact the administration")}})})]})})},tt=a.p+"static/media/tile.bf0be554.jpg",at=a.p+"static/media/dashboard.d67d67c5.jpeg",ct=function(){var e=Object(c.useState)(!1),t=Object(j.a)(e,2),a=t[0],n=t[1],r=Object(s.c)((function(e){return e})).currentUser,i=Object(c.useState)([]),o=Object(j.a)(i,2),l=o[0],h=o[1],m=Object(c.useState)([]),O=Object(j.a)(m,2),f=O[0],g=O[1],x=Object(c.useState)([]),v=Object(j.a)(x,2),N=v[0],A=v[1],S=Object(c.useState)([]),C=Object(j.a)(S,2),y=C[0],T=C[1];Object(c.useEffect)((function(){window.scroll(0,0),E()}),[]);var E=function(){var e=Object(u.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n(!0),e.next=3,$(r.userId).then((function(e){var t=e.data;if(console.log(t),n(!1),"success"===t.errorMsg){var a=t.data.filter((function(e){return"Upcoming"===e.type})),c=t.data.filter((function(e){return"Insession"===e.type})),s=t.data.filter((function(e){return"Past"===e.type}));h(Object(ge.a)(a)),A(Object(ge.a)(c)),g(Object(ge.a)(s)),T([].concat(Object(ge.a)(a),Object(ge.a)(c),Object(ge.a)(s)))}})).catch((function(e){ee.b.error(e),n(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=Object(s.c)((function(e){return e})).currentLanguage;return Object(p.jsxs)("div",{className:"dashboard-wrapper",children:[Object(p.jsxs)("div",{className:"dashboard-top",children:[Object(p.jsxs)("div",{className:"top-left",children:[Object(p.jsx)("h4",{children:b.dashboardTitle[w]}),Object(p.jsx)("p",{children:b.dashboardDescription[w]})]}),Object(p.jsx)("img",{src:at})]}),a?Object(p.jsx)(ye.a,{type:"bubbles",color:"#3842DC"}):Object(p.jsxs)("div",{className:"dashboard-bottom",children:[N.length>0&&Object(p.jsxs)("div",{className:"tile-wrapper",children:[Object(p.jsxs)("div",{className:"title",children:[Object(p.jsx)("h2",{children:N.length}),Object(p.jsx)("h5",{children:b.dashboardInprogress[w]})]}),Object(p.jsxs)("div",{className:"tile-content",children:[Object(p.jsx)("img",{src:tt}),Object(p.jsxs)("div",{className:"tile-detail",children:[Object(p.jsx)("div",{className:"tile-main",children:b.dashboardSchedule[w]}),Object(p.jsx)("div",{className:"tile-name",children:N[0].skill}),Object(p.jsx)("div",{className:"tile-date",children:Ie()(N[0].startDate).format("MMM DD, YYYY hh:mm A")}),Object(p.jsxs)("div",{className:"tile-country",children:[" ",N[0].timeZone]})]})]})]}),y.length>0&&Object(p.jsxs)("div",{className:"tile-wrapper",children:[Object(p.jsxs)("div",{className:"title",children:[Object(p.jsx)("h2",{children:y.length}),Object(p.jsx)("h5",{children:b.dashboardTotal[w]})]}),Object(p.jsxs)("div",{className:"tile-content",children:[Object(p.jsx)("img",{src:tt}),Object(p.jsxs)("div",{className:"tile-detail",children:[Object(p.jsx)("div",{className:"tile-main",children:b.dashboardSchedule[w]}),Object(p.jsx)("div",{className:"tile-name",children:y[0].skill}),Object(p.jsx)("div",{className:"tile-date",children:Ie()(y[0].startDate).format("MMM DD, YYYY hh:mm A")}),Object(p.jsxs)("div",{className:"tile-country",children:[" ",y[0].timeZone]})]})]})]}),f.length>0&&Object(p.jsxs)("div",{className:"tile-wrapper",children:[Object(p.jsxs)("div",{className:"title",children:[Object(p.jsx)("h2",{children:f.length}),Object(p.jsx)("h5",{children:b.dashboardCompleted[w]})]}),Object(p.jsxs)("div",{className:"tile-content",children:[Object(p.jsx)("img",{src:tt}),Object(p.jsxs)("div",{className:"tile-detail",children:[Object(p.jsx)("div",{className:"tile-main",children:b.dashboardSchedule[w]}),Object(p.jsxs)("div",{className:"tile-name",children:["Google Cloud Fundamentals for AWS Professionals"," "]}),Object(p.jsx)("div",{className:"tile-date",children:"Jun 13, 2022 9:30 AM IST"}),Object(p.jsx)("div",{className:"tile-country",children:"India"})]})]})]}),l.length>0&&Object(p.jsxs)("div",{className:"tile-wrapper",children:[Object(p.jsxs)("div",{className:"title",children:[Object(p.jsx)("h2",{children:l.length}),Object(p.jsx)("h5",{children:b.dashboardUpcoming[w]})]}),Object(p.jsxs)("div",{className:"tile-content",children:[Object(p.jsx)("img",{src:tt}),Object(p.jsxs)("div",{className:"tile-detail",children:[Object(p.jsx)("div",{className:"tile-main",children:b.dashboardSchedule[w]}),Object(p.jsx)("div",{className:"tile-name",children:l[0].skill}
1),Object(p.jsx)("div",{className:"tile-date",children:Ie()(l[0].startDate).format("MMM DD, YYYY hh:mm A")}),Object(p.jsx)("div",{className:"tile-country",children:l[0].timeZone})]})]})]})]})]})},nt=function(e){var t=e.children;return Object(o.d)()?t:Object(p.jsx)(i.a,{to:"/"})},st=function(){var e=Object(s.c)((function(e){return e})).currentLanguage;return Object(p.jsxs)("div",{id:"aboutus",className:"footer-container bg-dark",children:[Object(p.jsx)("footer",{className:"footer",children:Object(p.jsx)("div",{className:"container",children:Object(p.jsxs)("div",{className:"row",children:[Object(p.jsx)("div",{className:"col-sm-6",children:Object(p.jsxs)("p",{className:"copyright font-alt",children:["\xa9 2024\xa0APT Consulting,"," ",b.footerRight[e]]})}),Object(p.jsx)("div",{className:"col-sm-6",children:Object(p.jsxs)("div",{className:"footer-social-links",children:[Object(p.jsx)("a",{target:"_blank",href:"https://facebook.com/APT-Consulting-106333858701428",children:Object(p.jsx)("i",{className:"fa fa-facebook fa-lg"})}),Object(p.jsx)("a",{target:"_blank",href:"https://twitter.com/apt_consulting",children:Object(p.jsx)("i",{className:"fa fa-twitter fa-lg"})}),Object(p.jsx)("a",{target:"_blank",href:"https://instagram.com/",children:Object(p.jsx)("i",{className:"fa fa-instagram fa-lg"})}),Object(p.jsx)("a",{target:"_blank",href:"https://linkedin.com/company/aptconsulting/",children:Object(p.jsx)("i",{className:"fa fa-linkedin fa-lg"})})]})})]})})}),Object(p.jsx)("hr",{className:"divider-d"}),Object(p.jsx)("div",{className:"container",children:Object(p.jsxs)("div",{className:"row",children:[Object(p.jsx)("div",{className:"col-sm-3",children:Object(p.jsxs)("div",{className:"widget",children:[Object(p.jsx)("h5",{className:"widget-title font-alt",children:b.footerTitle1[e]}),Object(p.jsx)("p",{children:Object(p.jsx)("a",{href:"#",children:b.footerTitle11[e]})}),Object(p.jsx)("p",{children:Object(p.jsx)("a",{href:"#",children:b.footerTitle12[e]})}),Object(p.jsx)("p",{children:Object(p.jsx)("a",{href:"mailto:[email protected]",children:"".concat(b.footerTitle13[e],": [email protected]")})}),Object(p.jsx)("p",{children:Object(p.jsx)("a",{href:"tel:8883836659",children:"".concat(b.footerTitle14[e],": 8883836659")})}),Object(p.jsx)("p",{children:Object(p.jsx)("span",{dangerouslySetInnerHTML:{__html:"Address: Unit 254, 300-34334 Forrest Terrace, Abbotsford,<br> BC, Canada V2S 1G7"}})})]})}),Object(p.jsx)("div",{className:"col-sm-3",children:Object(p.jsxs)("div",{className:"widget",children:[Object(p.jsx)("h5",{className:"widget-title font-alt",children:b.footerTitle2[e]}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Microsoft Azure Certified AI Engineer- Associate"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Microsoft Azure Certified Data Engineer- Associate"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Microsoft Azure Certified Data Scientist- Associate"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:" Red Hat Certified Administrator"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:" Red Hat Certified Developer"})})]})}),Object(p.jsx)("div",{className:"col-sm-3",children:Object(p.jsxs)("div",{className:"widget",children:[Object(p.jsx)("h5",{className:"widget-title font-alt",children:b.footerTitle3[e]}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"AI and ML"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Career Advice"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Cloud Computing"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Cloud Security"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Data Engineering"})})]})}),Object(p.jsx)("div",{className:"col-sm-3",children:Object(p.jsxs)("div",{className:"widget",children:[Object(p.jsx)("h5",{className:"widget-title font-alt",children:b.footerTitle4[e]}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"AI and ML"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Career Advice"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Cloud Computing"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Cloud Security"})}),Object(p.jsx)("p",{children:Object(p.jsx)(r.b,{to:"/search",children:"Data Engineering"})})]})})]})})]})},rt=a(74),it=a.p+"static/media/logo.f8f5acbe.png",ot=function(){var e=Object(i.g)(),t=Object(s.b)(),a=Object(i.h)().pathname,n=Object(o.e)().instance,l=Object(s.c)((function(e){return e})),d=l.cartItems,u=l.currentLanguage,j=Object(s.c)((function(e){return e.currentUser})),h=We("Account"),m=Object(c.useRef)();return Object(p.jsxs)("nav",{className:"navbar navbar-custom navbar-fixed-top navbar-transparent",role:"navigation",children:[Object(p.jsxs)("div",{className:"navbar-header",children:[Object(p.jsxs)("div",{className:"navbar-brand",children:[Object(p.jsx)("img",{onClick:function(){return m.current.click()},src:it,alt:"APT"}),Object(p.jsx)(r.b,{ref:m,style:{display:"none"},to:"/"})]}),Object(p.jsxs)("div",{className:"toggle-container",children:[Object(p.jsxs)("div",{className:"account-mobile-wrapper",children:[Object(p.jsx)(o.a,{children:Object(p.jsx)("li",{className:"dropdown cart-icon",children:Object(p.jsx)(r.b,{to:"/cart",children:Object(p.jsx)("i",{className:"fa fa-shopping-cart fa-lg cart-icon","aria-hidden":"true",children:0!==d.length&&Object(p.jsx)("span",{children:d.length})})})})}),Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsx)("a",{className:"account-mobile-anchor dropdown-toggle","data-toggle":"dropdown",children:Object(p.jsx)("i",{className:"fa fa-user-circle fa-lg","data-toggle":"dropdown"})}),Object(p.jsxs)("ul",{className:"dropdown-menu",children:[Object(p.jsx)(o.c,{
1children:Object(p.jsx)("li",{onClick:function(){n.loginPopup(De).then((function(e){var a=e.account,c=a.name,n=a.username,s=a.localAccountId;t(Ye({fullname:c,email:n,userId:s})),ee.b.success("Signed in successfully!"),G(c,s),h("Log In",c)}))},children:Object(p.jsx)("a",{children:b.signIn[u]})})}),Object(p.jsxs)(o.a,{children:[Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/dashboard",children:b.signIn2[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)("a",{onClick:function(){n.logoutPopup().then((function(){t(Me()),t(Fe()),h("Log out",j&&j.fullname)}))},children:b.signIn3[u]})})]})]})]}),Object(p.jsxs)("li",{className:"dropdown langs",children:[Object(p.jsxs)("a",{className:"dropdown-toggle langs-anchor","data-toggle":"dropdown",children:[Object(p.jsx)(rt.Emojione,{text:"".concat("gb"===u?U.code:"us"===u?Y.code:F.code)})," ","gb"===u?U.text:"us"===u?Y.text:F.text]}),Object(p.jsxs)("ul",{className:"dropdown-menu",children:[Object(p.jsxs)("li",{className:"".concat("gb"===u&&"selected"),onClick:function(){return t(Le("gb"))},children:[Object(p.jsx)(rt.Emojione,{text:"\ud83c\uddec\ud83c\udde7"})," En-GB"]}),Object(p.jsxs)("li",{className:"".concat("us"===u&&"selected"),onClick:function(){return t(Le("us"))},children:[Object(p.jsx)(rt.Emojione,{text:"\ud83c\uddfa\ud83c\uddf8"})," En-US"]}),Object(p.jsxs)("li",{className:"".concat("fr"===u&&"selected"),onClick:function(){return t(Le("fr"))},children:[Object(p.jsx)(rt.Emojione,{text:"\ud83c\uddeb\ud83c\uddf7"})," Fr-Ca"]})]})]})]}),Object(p.jsxs)("button",{className:"navbar-toggle",type:"button","data-toggle":"collapse","data-target":"#custom-collapse",children:[Object(p.jsx)("span",{className:"sr-only",children:"Toggle navigation"}),Object(p.jsx)("span",{className:"icon-bar"}),Object(p.jsx)("span",{className:"icon-bar"}),Object(p.jsx)("span",{className:"icon-bar"})]})]})]}),Object(p.jsx)("div",{className:"collapse navbar-collapse",id:"custom-collapse",children:Object(p.jsxs)("ul",{className:"nav navbar-nav navbar-right",children:["/dashboard"===a||"/mylearning"===a?Object(p.jsxs)(c.Fragment,{children:[Object(p.jsx)("li",{className:"dropdown ".concat("/mylearning"===a&&"activeTab"),children:Object(p.jsx)(r.b,{to:"/mylearning",children:b.myLearning[u]})}),Object(p.jsx)("li",{className:"dropdown input-wrapper",children:Object(p.jsx)("a",{children:Object(p.jsx)("input",{type:"text",placeholder:"search"})})})]}):Object(p.jsxs)(c.Fragment,{children:[Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsx)("a",{className:"dropdown-toggle",href:"#","data-toggle":"dropdown",children:b.verifyCertificate[u]}),Object(p.jsxs)("ul",{className:"dropdown-menu",children:[Object(p.jsx)("li",{children:Object(p.jsx)("a",{href:"#",children:b.verifyCertificateSub1[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)("a",{href:"#",children:b.verifyCertificateSub2[u]})})]})]}),Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsx)("a",{className:"dropdown-toggle","data-toggle":"dropdown",children:b.learningPaths[u]}),Object(p.jsxs)("ul",{className:"dropdown-menu",children:[Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Accounting & Finance",children:b.learningPaths1[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Analytics",children:b.learningPaths2[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Artificial Intelligence",children:b.learningPaths3[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Cloud Developer",children:b.learningPaths4[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=cloud devops",children:b.learningPaths5[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=data engineering",children:b.learningPaths6[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=data science",children:b.learningPaths7[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Manufacturing & Supply Chain",children:b.learningPaths8[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=marketing",children:b.learningPaths9[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=operations",children:b.learningPaths10[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=web developer",children:b.learningPaths11[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=security",children:b.learningPaths12[u]})})]})]}),Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsx)("a",{className:"dropdown-toggle","data-toggle":"dropdown",children:b.byProducts[u]}),Object(p.jsxs)("ul",{className:"dropdown-menu",children:[Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=APT",children:"APT"})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=GoDaddy",children:"GoDad
1dy"})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Mircosoft Azure",children:"Mircosoft Azure"})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Microsoft Dynamics",children:"Microsoft Dynamics"})}),Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/search?word=Microsoft Office",children:"Microsoft Office"})})]})]}),Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsx)("a",{className:"dropdown-toggle","data-toggle":"dropdown",children:b.aboutAPT[u]}),Object(p.jsxs)("ul",{className:"dropdown-menu",children:[Object(p.jsx)("li",{children:Object(p.jsx)("a",{href:"#callback",children:b.aboutAPT1[u]})}),Object(p.jsx)("li",{children:Object(p.jsx)("a",{href:"#aboutus",children:b.aboutAPT3[u]})})]})]}),Object(p.jsx)(o.c,{children:Object(p.jsx)("li",{className:"dropdown",children:Object(p.jsx)("a",{onClick:function(){n.loginPopup(De).then((function(e){var a=e.account,c=a.name,n=a.username,s=a.localAccountId;t(Ye({fullname:c,email:n,userId:s})),ee.b.success("Signed in successfully!"),G(c,s),h("Log In",c)}))},children:b.creatAccount[u]})})})]}),Object(p.jsxs)("div",{className:"account-wrapper",children:[Object(p.jsx)(o.a,{children:Object(p.jsx)("li",{children:Object(p.jsx)(r.b,{to:"/cart",children:Object(p.jsx)("i",{className:"fa fa-shopping-cart fa-lg cart-icon","aria-hidden":"true",children:0!==d.length&&Object(p.jsx)("span",{children:d.length})})})})}),Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsx)("a",{className:"dropdown-toggle account-anchor","data-toggle":"dropdown",children:Object(p.jsx)("i",{className:"fa fa-user-circle fa-lg"})}),Object(p.jsxs)("ul",{className:"dropdown-menu account-menu",children:[Object(p.jsx)(o.c,{children:Object(p.jsxs)("li",{className:"unauth",onClick:function(){n.loginPopup(De).then((function(e){var a=e.account,c=a.name,n=a.username,s=a.localAccountId;t(Ye({fullname:c,email:n,userId:s})),ee.b.success("Signed in successfully!",{position:"bottom-right",pauseOnHover:!1}),G(c,s)})).catch((function(e){null!=e.errorMessage&&e.errorMessage.includes("AADB2C90118")&&n.loginRedirect(_e).then((function(){ee.b.success("You password has been reset successfully!",{position:"bottom-center"})}))}))},children:[Object(p.jsx)(xe.g,{size:20}),Object(p.jsx)("a",{children:b.signIn[u]})]})}),Object(p.jsx)(o.a,{children:Object(p.jsxs)("li",{className:"account-dropdown",children:[Object(p.jsx)(xe.h,{size:60}),Object(p.jsxs)("div",{className:"user-info",children:[Object(p.jsx)("p",{children:j&&j.fullname}),Object(p.jsx)("span",{children:j&&j.email}),Object(p.jsx)("button",{onClick:function(){return e.push("/dashboard")},children:b.dashboard[u]})]}),Object(p.jsx)("hr",{}),Object(p.jsx)("button",{onClick:function(){n.logoutPopup().then((function(){t(Me()),t(Fe()),"/mylearning"!==a&&"/dashboard"!==a||window.location.reload()}))},className:"signout",children:"Sign Out"})]})})]})]}),Object(p.jsxs)("li",{className:"dropdown",children:[Object(p.jsxs)("a",{className:"dropdown-toggle langs-anchor","data-toggle":"dropdown",children:[Object(p.jsx)(rt.Emojione,{text:"".concat("gb"===u?U.code:"us"===u?Y.code:F.code)})," ","gb"===u?U.text:"us"===u?Y.text:F.text]}),Object(p.jsxs)("ul",{className:"dropdown-menu langs-menu",children:[Object(p.jsx)("li",{className:"".concat("gb"===u&&"selected"),onClick:function(){return t(Le("gb"))},children:Object(p.jsxs)("a",{children:[Object(p.jsx)(rt.Emojione,{text:"\ud83c\uddec\ud83c\udde7"})," En-GB"]})}),Object(p.jsx)("li",{className:"".concat("us"===u&&"selected"),onClick:function(){return t(Le("us"))},children:Object(p.jsxs)("a",{children:[Object(p.jsx)(rt.Emojione,{text:"\ud83c\uddfa\ud83c\uddf8"})," En-US"]})}),Object(p.jsx)("li",{className:"".concat("fr"===u&&"selected"),onClick:function(){return t(Le("fr"))},children:Object(p.jsxs)("a",{children:[Object(p.jsx)(rt.Emojione,{text:"\ud83c\uddeb\ud83c\uddf7"})," Fr-Ca"]})})]})]})]})]})})]})},lt=a(211);Ke.a.initialize("UA-219717306-2");var dt=function(e){var t=e.children,a=Object(i.g)(),n=Object(s.c)((function(e){return e})).currentLanguage,r=Object(i.h)().pathname,o=Object(c.useState)(!1),l=Object(j.a)(o,2),d=l[0],u=l[1];Ke.a.pageview("https://www.consultingapt.com"+r);var h=function(){return u((function(e){return!e}))};return Object(p.jsxs)("div",{className:"layout-wrapper",children:[Object(p.jsx)(ot,{}),t,!r.includes("/search")&&Object(p.jsx)(st,{}),("/dashboard"===r||"/mylearning"===r)&&Object(p.jsxs)(p.Fragment,{children:[Object(p.jsx)("div",{className:"left-float-actions",children:Object(p.jsx)("i",{className:"fa fa-bars fa-lg","aria-hidden":"true",onClick:h})}),Object(p.jsxs)(lt.a,{open:d,onClose:h,direction:"left",className:"drawer-wrapper",children:[Object(p.jsx)("div",{className:"drawer-body",children:Object(p.jsxs)("div",{className:"menu-wrapper",children:[Object(p.jsxs)("div",{className:"menu-item ".concat("/dashboard"===r&&"active-menu"),onClick:function(){a.push("/dashboard"),h()},children:[Object(p.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAdgAAAHYBTnsmCAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB5SURBVDiN7ZIxCoAwDEVfxcnmTO56a72D4kF01qFRS2mbWTDwKZ/XhjSJI4QAPeDVH8Ck
1p8kF2IAz0aoPLM6YgbcGi7dRWbmQCgOQxrhgRgvsFV5jD/eEhqT/W4DO4k4zecKYJMo8846xyO8eOBWRJ/FF/u/B5/fgAiIpYEYlMIMwAAAAAElFTkSuQmCC",alt:""}),b.dashboard[n]]}),Object(p.jsxs)("div",{className:"menu-item ".concat("/mylearning"===r&&"active-menu"),onClick:function(){a.push("/mylearning"),h()},children:[Object(p.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAdgAAAHYBTnsmCAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAEXSURBVDiNjdM9SkNREAXgLxIwoCGIjYWdFmJnbzoFs4B0QVyB2BnJAmystEsRxEWkUiuzAJsUoq0ICqJiF41FJj8meY8cmOKeOXPuzLz7SMYJniOqKbqpKKM7FuVpwrkEg50ZuUSDpxm5RCygZdh+K7gJZBIMVpDHUpzf8YWXWW4v4hsd3Ed0giuOi0d3sIc6frGJGhaxjDNsRa4e2glU8Kk380MYrEbUguviI7T/kEcJG/gxXN5pRP/cCU0pagYjXKAZoteE3cBbaJo4HzW4RTvay6UY5GLMNm4gG4krXOMIhRSDAg6xq/eP/PsKFRynFPdRNbLE7EiigXnsYz2h+DG6bfSJaS8xg20cGL7/NVziTm+JA/wBMaRDAjiza2YAAAAASUVORK5CYII=",alt:""}),b.myLearning[n]]})]})}),Object(p.jsx)("i",{className:"fa fa-times-circle fa-lg btn-close","aria-hidden":"true",onClick:h})]})]}),"/"===r&&Object(p.jsx)(c.Fragment,{children:Object(p.jsx)("div",{className:"partner-wrapper",children:Object(p.jsx)("img",{className:"partner-logo",src:he,alt:"APT Microsoft Partner"})})})]})},ut=function(){var e=Object(s.b)(),t=Object(o.e)().instance,a=Object(c.useState)(0),n=Object(j.a)(a,2),r=n[0],i=n[1],l=Object(c.useState)(""),d=Object(j.a)(l,2),u=d[0],b=d[1],h=Object(c.useState)(!1),m=Object(j.a)(h,2),O=m[0],f=m[1],g=Object(c.useState)(""),x=Object(j.a)(g,2),v=x[0],N=(x[1],Object(c.useState)("")),A=Object(j.a)(N,2),S=A[0],C=(A[1],Object(s.c)((function(e){return e.currentUser})));Object(c.useEffect)((function(){return window.scroll(0,0)}),[]);return Object(p.jsxs)("div",{className:"review-wrapper",children:[Object(p.jsx)(o.c,{children:Object(p.jsxs)("div",{className:"unauth",children:[Object(p.jsx)("p",{children:"Dear Reviewer, please sign in to submit a new review for us. Your time is most valued, so we will keep it short and simple."}),Object(p.jsx)("button",{onClick:function(){t.loginPopup(De).then((function(t){var a=t.account,c=a.name,n=a.username,s=a.localAccountId;e(Ye({fullname:c,email:n,userId:s})),Object(ee.b)("Signed in successfully!",{position:"bottom-center",pauseOnHover:!1,pauseOnFocusLoss:!1})}))},children:"please use Azure B2C to Sign in and submit feedback"})]})}),Object(p.jsx)(o.a,{children:Object(p.jsxs)("div",{className:"auth",children:[Object(p.jsx)("div",{className:"auth-left",children:Object(p.jsxs)("div",{className:"user-info",children:[Object(p.jsx)("h6",{children:C.fullname}),Object(p.jsxs)("h6",{children:["Designation at ",S]}),Object(p.jsxs)("h6",{children:["Company ",v]})]})}),Object(p.jsxs)("div",{className:"auth-right",children:[Object(p.jsx)("textarea",{value:u,onChange:function(e){var t=e.target;b(t.value),i(t.value.length),t.value.length<=1e3?f(!1):f(!0)}}),Object(p.jsxs)("button",{children:[Object(p.jsx)("i",{className:"fa fa-paper-plane","aria-hidden":"true"})," Submit"]}),Object(p.jsxs)("p",{children:[r," / 1000",O&&Object(p.jsx)("span",{children:"maximum charachter count reached"})]})]})]})})]})},jt=a(114),bt=function(){var e=Object(c.useState)(""),t=Object(j.a)(e,2),a=t[0],n=t[1],r=Object(c.useState)([]),o=Object(j.a)(r,2),l=o[0],h=o[1],m=Object(c.useState)(!1),O=Object(j.a)(m,2),f=O[0],g=O[1],x=Object(c.useState)(!1),v=Object(j.a)(x,2),N=v[0],A=v[1],S=Object(c.useState)(0),C=Object(j.a)(S,2),y=C[0],T=C[1],E=Object(s.c)((function(e){return e})),w=E.currentUser,P=E.currentLanguage,D=Object(i.g)();Object(c.useEffect)((function(){window.scroll(0,0),_()}),[y,a]);var _=function(){var e=Object(u.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),e.next=3,$(w.userId).then((function(e){var t=e.data;if("success"===t.errorMsg){var c=t.data.filter((function(e){return 0===y?"Insession"===e.type&&e.skill.toLowerCase().includes(a.toLowerCase()):1===y?"Upcoming"===e.type&&e.skill.toLowerCase().includes(a.toLowerCase()):2===y?"Past"===e.type&&e.skill.toLowerCase().includes(a.toLowerCase()):void 0}));h(c)}else g(!0);A(!1)})).catch((function(e){g(!0),A(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(p.jsxs)("div",{className:"mylearning-wrapper",children:[Object(p.jsxs)("div",{className:"tabs-wrapper",children:[Object(p.jsxs)("div",{className:"input-wrapper",children:[Object(p.jsx)("input",{value:a,onChange:function(e){return n(e.target.value)},type:"text",placeholder:b.myLearningFindClass[P]}),Object(p.jsx)("i",{className:"fa fa-search","aria-hidden":"true"})]}),Object(p.jsxs)(jt.Tabs,{activeTab:y,onChange:function(e){return T(e)},ripple:!0,className:"tabs",children:[Object(p.jsx)(jt.Tab,{className:"".concat(0===y&&"active"),children:b.myLearningSession[P]}),Object(p.jsx)(jt.Tab,{className:"".concat(1===y&&"active"),children:b.myLearningUpcoming[P]}),Object(p.jsx)(jt.Tab,{className:"".concat(2===y&&"active"),children:b.myLearningPast[P]})]})]}),Object(p.jsxs)("section",{children:[Object(p.jsx)("h6",{children:l.length>0&&l.length+" classroom".concat(l.length>
11?"s":"")}),Object(p.jsxs)("div",{className:"content",children:[Object(p.jsxs)("div",{className:"content-header",children:[Object(p.jsx)("div",{className:"header-item-title",children:b.myLearningCourseName[P]}),Object(p.jsx)("div",{className:"header-item",children:b.myLearningStartDate[P]}),Object(p.jsx)("div",{className:"header-item",children:b.myLearningEndDate[P]}),Object(p.jsx)("div",{className:"header-item-delete"})]}),Object(p.jsx)("div",{className:"content-body",children:N?Object(p.jsx)(ye.a,{type:"spinningBubbles",color:"#3842DC",className:"loading",width:"38px",height:"38px"}):f?Object(p.jsxs)("div",{className:"error-wrapper",children:[Object(p.jsx)("h5",{children:b.myLearningError[P]}),Object(p.jsx)("i",{className:"fa fa-refresh fa-2x","aria-hidden":"true"})]}):0===l.length?Object(p.jsxs)("div",{className:"course-not-found",children:[Object(p.jsx)("i",{className:"fa fa-frown-o fa-4x","aria-hidden":"true"}),Object(p.jsx)("h5",{children:b.myLearningNotRegister[P]}),Object(p.jsx)("button",{onClick:function(){return D.push("/search")},children:b.myLearningGoToCourses[P]})]}):l.map((function(e,t){return Object(p.jsxs)("div",{className:"body-row",children:[Object(p.jsx)("div",{className:"body-item-title",children:e.skill}),Object(p.jsx)("div",{className:"body-item",children:Ie()(e.startDate).format("MMM DD, YYYY h:mm A")}),Object(p.jsx)("div",{className:"body-item",children:Ie()(e.endDate).format("MMM DD, YYYY h:mm A")})]},t)}))})]})]})]})},ht=function(e){var t=e.msalInstance;return Object(p.jsx)(o.b,{instance:t,children:Object(p.jsxs)(r.a,{children:[Object(p.jsxs)(dt,{children:[Object(p.jsx)("div",{className:"page-loader",children:Object(p.jsx)("div",{className:"loader",children:"Loading..."})}),Object(p.jsxs)(i.d,{children:[Object(p.jsx)(i.b,{exact:!0,path:"/",component:fe}),Object(p.jsx)(i.b,{exact:!0,path:"/search",component:Je}),Object(p.jsx)(i.b,{exact:!0,path:"/cart",component:et}),Object(p.jsx)(i.b,{exact:!0,path:"/dashboard",render:function(){return Object(p.jsx)(nt,{children:Object(p.jsx)(ct,{})})}}),Object(p.jsx)(i.b,{exact:!0,path:"/mylearning",render:function(){return Object(p.jsx)(nt,{children:Object(p.jsx)(bt,{})})}}),Object(p.jsx)(i.b,{exact:!0,path:"/review",component:ut}),Object(p.jsx)(i.b,{path:"*",component:Xe})]})]}),Object(p.jsx)(ee.a,{})]})})},mt=a(56),Ot=a(212),ft=a(213),gt=a(162),pt=a(214),xt=a.n(pt),vt=a(215),Nt=a.n(vt),At={key:"root",storage:xt.a,stateReconciler:Nt.a},St=Object(mt.combineReducers)({currentLanguage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gb",t=arguments.length>1?arguments[1]:void 0,a=t.type,c=t.payload;return a===P?c:e},cartItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=t.type,c=t.payload;switch(a){case D:return[].concat(Object(ge.a)(e),[c]);case _:var n=e.filter((function(e){return e.event.id!==c}));return Object(ge.a)(n);case k:return[];default:return e}},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,a=t.type,c=t.payload;switch(a){case I:return Object(H.a)({},c);case R:return{};default:return e}},payItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,a=t.type,c=t.payload;switch(a){case L:return Object(H.a)({},c);case M:return null;default:return e}}}),Ct=Object(gt.a)(At,St),yt=Object(mt.createStore)(Ct,{},Object(ft.composeWithDevTools)(Object(mt.applyMiddleware)(Ot.a))),Tt=Object(gt.b)(yt),Et=a(216),wt=a(467),Pt=(a(439),a(440),a(441),a(442),a(443),a(444),new wt.a(Pe));n.render(Object(p.jsx)(s.a,{store:yt,children:Object(p.jsx)(Et.a,{loading:null,persistor:Tt,children:Object(p.jsx)(ht,{msalInstance:Pt})})}),document.getElementById("root"))}},[[445,1,2]]]); 2//# sourceMappingURL=main.b72f97fb.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.