From a92b4f4d573cd7344fd126d2974c7f412566be56 Mon Sep 17 00:00:00 2001 From: Blen Date: Thu, 13 Jun 2024 13:03:45 +0300 Subject: [PATCH] Blen.fix: build fix --- dist/hacks-website/3rdpartylicenses.txt | 30 +- dist/hacks-website/index.html | 12 +- dist/hacks-website/main.8e9cb693a512db8a.js | 1 - dist/hacks-website/main.eb392e601ba26709.js | 1 + ...b5646.js => polyfills.ca0382e1ab6cf5f7.js} | 2 +- ...cfbb0f6.js => runtime.fa4c12334e562a2f.js} | 2 +- ...b9ccab5.js => scripts.0e5b01af3f8fe401.js} | 2 +- .../hacks-website/styles.5d7e05065b18e555.css | 1 - .../hacks-website/styles.ea9763cd9c3ec646.css | 1 + dist/hacks-website/vendor.c0d331458962fa88.js | 1 - dist/hacks-website/vendor.e0892b0d6f99486b.js | 1 + package-lock.json | 5409 ++++++++++------- package.json | 32 +- .../registration/registration.component.html | 2 +- 14 files changed, 3308 insertions(+), 2189 deletions(-) delete mode 100644 dist/hacks-website/main.8e9cb693a512db8a.js create mode 100644 dist/hacks-website/main.eb392e601ba26709.js rename dist/hacks-website/{polyfills.06c1ca36fcab5646.js => polyfills.ca0382e1ab6cf5f7.js} (99%) rename dist/hacks-website/{runtime.948a239fecfbb0f6.js => runtime.fa4c12334e562a2f.js} (93%) rename dist/hacks-website/{scripts.52aa9237eb9ccab5.js => scripts.0e5b01af3f8fe401.js} (67%) delete mode 100644 dist/hacks-website/styles.5d7e05065b18e555.css create mode 100644 dist/hacks-website/styles.ea9763cd9c3ec646.css delete mode 100644 dist/hacks-website/vendor.c0d331458962fa88.js create mode 100644 dist/hacks-website/vendor.e0892b0d6f99486b.js diff --git a/dist/hacks-website/3rdpartylicenses.txt b/dist/hacks-website/3rdpartylicenses.txt index 7b49c2d..e51298c 100644 --- a/dist/hacks-website/3rdpartylicenses.txt +++ b/dist/hacks-website/3rdpartylicenses.txt @@ -5,7 +5,7 @@ MIT MIT The MIT License -Copyright (c) 2024 Google LLC. +Copyright (c) 2023 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -39,7 +39,7 @@ MIT MIT The MIT License -Copyright (c) 2024 Google LLC. +Copyright (c) 2023 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -66,32 +66,6 @@ MIT @angular/router MIT -@babel/runtime -MIT -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @cloudinary/ng MIT License diff --git a/dist/hacks-website/index.html b/dist/hacks-website/index.html index 1b0a200..f211bf7 100644 --- a/dist/hacks-website/index.html +++ b/dist/hacks-website/index.html @@ -38,14 +38,14 @@ - - + + - - - + + +
@@ -60,5 +60,5 @@
- + diff --git a/dist/hacks-website/main.8e9cb693a512db8a.js b/dist/hacks-website/main.8e9cb693a512db8a.js deleted file mode 100644 index 8c0acb3..0000000 --- a/dist/hacks-website/main.8e9cb693a512db8a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[792],{843:(h,j,c)=>{var m=c(345),C=c(1361),e=c(3953);let g=(()=>{class n{constructor(){this.isModalOpen=!1,this.modalStateChanged=new e.bkB}openModal(){this.isModalOpen=!0,this.modalStateChanged.emit(!0)}closeModal(){this.isModalOpen=!1,this.modalStateChanged.emit(!1)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var s=c(177);const A=n=>({heading:n}),p=n=>({description:n});let M=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,this.toggleChatEvent=new e.bkB,this.showMenu=!1,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.mentorsRegistrationLink="https://form.typeform.com/to/UvayCDEJ",this.advisorsRegistrationLink="https://form.typeform.com/to/mMzeQ63l",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!1,this.currentSection="home",this.registrationDeadline=new Date(2024,5,31,23,59,59),this.registrationButtonVisible=!1,this.countDownVisible=!1,this.countDownDate=new Date("2024-5-15T20:59:00"),this.animated=!1,this.day_desc=[{day:"Day 1",desc:"Experience innovation firsthand as finalists showcase their groundbreaking projects to the public at Abrehot Library in Addis Ababa."},{day:"Day 2",desc:"The stakes are high at the Jury Panel. Witness the excitement of the award ceremony where the most innovative solutions will be honored and celebrated."},{day:"Day 3",desc:"Beginning with an in-person investor panel in the morning followed by a remote panel in the afternoon, designed to propel the best African AI ventures onto the global stage."}]}ngOnInit(){this.checkElementsInView(),setInterval(()=>{this.updateCountDownVisibility()},1e3)}onScroll(){this.checkElementsInView()}checkElementsInView(){const i=this.elRef.nativeElement.querySelector("#home_component").getBoundingClientRect(),o=i.top=0;!this.animated&&o?this.animated=!0:o||(this.animated=!1)}openModal(t){t.stopPropagation(),this.modalService.openModal()}get isModalOpen(){return this.modalService.isModalOpen}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}updateCountDownVisibility(){this.countDownVisible=new Date{class n{constructor(){this.initializeCloudinary()}initializeCloudinary(){this.cloudinary=new F.T({cloud:{cloudName:"eskalate"}})}generateImageUrl(t){const i=this.cloudinary.image(t);return i.resize((0,B.GS)().width(1280).height(720)),i}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var f=c(4412);let E=(()=>{class n{constructor(){this.isModalOpenSubject=new f.t(!1),this.isModalOpen$=this.isModalOpenSubject.asObservable(),this.modalDataSubject=new f.t({}),this.modalData$=this.modalDataSubject.asObservable()}toggleModal(t,i){this.isModalOpenSubject.next(t),i&&this.modalDataSubject.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const R=(n,a,t)=>({"md:-translate-y-[15px]":n,"md:-translate-y-[40px]":a,"md:-translate-y-0":t});function O(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",7)(1,"div",8)(2,"div",9),e.nrm(3,"img",10),e.k0s(),e.j41(4,"div",11)(5,"div",12),e.nrm(6,"img",13),e.k0s(),e.j41(7,"h2",14),e.EFF(8),e.k0s(),e.j41(9,"div",15)(10,"h2",16),e.EFF(11),e.k0s(),e.j41(12,"p",17),e.EFF(13),e.k0s()()(),e.j41(14,"div",18)(15,"button",19),e.bIt("click",function(){const o=e.eBV(t).$implicit,r=e.XpG();return e.Njj(r.onMoreOptionsClick(o))}),e.EFF(16," More "),e.k0s()()()()}if(2&n){const t=a.$implicit,i=a.index;e.R7$(),e.HbH(e.sMw(8,R,0===i,1===i,2===i)),e.R7$(2),e.Y8G("src",t.awrd_img,e.B4B),e.R7$(3),e.Y8G("src",t.img,e.B4B),e.R7$(2),e.SpI(" ",t.prize_type," "),e.R7$(3),e.Lme(" ",t.projectname," by Team ",t.team," "),e.R7$(2),e.SpI(" ",t.description," ")}}let P=(()=>{class n{onMoreOptionsClick(t){this.cardTouched.emit(t)}constructor(t,i){this.cloudinaryService=t,this.renderer=i,this.title="",this.winners=[],this.descr="",this.cardTouched=new e.bkB}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(I),e.rXU(e.sFG))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-track-winners"]],inputs:{title:"title",winners:"winners",descr:"descr"},outputs:{cardTouched:"cardTouched"},decls:9,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","pt-6"],[1,"text-4xl","w-full","text-center","font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","mt-5"],[1,"flex","mt-10","mb-5","md:mx-20","flex-col","lg:flex-col"],[1,"flex-1"],[1,"lg:w-3/4","mx-auto","leading-relaxed","text-base","text-white","text-justify","justify-between","mb-6"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-4","p-2"],["class","my-6",4,"ngFor","ngForOf"],[1,"my-6"],[1,"relative","h-full","grid","grid-rows-auto-1fr","rounded-lg","my-10","md:my-0","text-gray-300","border-2","border-gray-800","group","hover:bg-gray-700","hover:shadow-md","hover:border","transition","duration-300","hover:border-solid","transform","hover:scale-105","hover:text-white"],[1,"absolute","z-10","top-[-30px]","-right-5","w-1/6","max-sm:w-1/6","rounded-full"],["alt","prize image","loading","lazy",1,"h-full","w-full","object-cover","rounded-full",3,"src"],[1,"w-full","rounded-t-lg","overflow-hidden","p-2"],[1,"h-[230px]","rounded-t-lg","mb-5"],["alt","group image","loading","lazy",1,"object-cover","w-full","h-full","rounded-t-lg",3,"src"],[1,"text-2xl","px-4","mb-8","font-bold","title-font","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","group-hover:text-white"],[1,"text-white","text-justify","justify-between","px-4"],[1,"title-font","font-bold","text-xl","text-left","mb-2"],[1,"leading-relaxed","text-left","mb-3","text-gray-300"],[1,"flex","justify-center","items-end","mb-5","mt-2"],[1,"px-4","py-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"click"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"h2",1),e.EFF(2),e.k0s(),e.j41(3,"div",2)(4,"div",3)(5,"p",4),e.EFF(6),e.k0s()()(),e.j41(7,"div",5),e.DNE(8,O,17,12,"div",6),e.k0s()()),2&i&&(e.R7$(2),e.SpI(" ",o.title," "),e.R7$(4),e.SpI(" ",o.descr," "),e.R7$(2),e.Y8G("ngForOf",o.winners))},dependencies:[s.Sq],styles:[".custome[_ngcontent-%COMP%]:hover .shadow_class[_ngcontent-%COMP%]{opacity:.6;transition:opacity .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .img_card[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:1rem}.custome[_ngcontent-%COMP%]:hover .full-width[_ngcontent-%COMP%]{height:full}.custome[_ngcontent-%COMP%]:hover .image[_ngcontent-%COMP%]{border-radius:1rem;transition:border-radius .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .card_prize[_ngcontent-%COMP%]{z-index:20}.custom-shape[_ngcontent-%COMP%]{clip-path:polygon(0% 0%,100% 0%,100% 80%,50% 100%,0% 80%)}button[_ngcontent-%COMP%]:hover{cursor:pointer}.overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.img_parent[_ngcontent-%COMP%]:hover .team-name[_ngcontent-%COMP%]{opacity:1}.overflow-auto[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:transparent transparent}"]})}return n})(),L=(()=>{class n{constructor(t,i){this.cloudinaryService=t,this.winnerModalService=i,this.winners=[],this.track_winners=[],this.title_winners="",this.desc_track_winners="",this.desc_winners="",this.title_track_winners="",this.isModalOpen=!1,this.modalContent={}}openModal(t){this.winnerModalService.toggleModal(!0,t)}ngOnInit(){this.kurio_img=this.cloudinaryService.generateImageUrl("Hackathon/kurioo"),this.cognipath=this.cloudinaryService.generateImageUrl("Hackathon/cognipath"),this.yyeni=this.cloudinaryService.generateImageUrl("Hackathon/yyeni"),this.title_track_winners="Meet 2023 track winners",this.title_winners="Meet 2023 winner projects",this.desc_winners="The Top 3 Teams, who stood out from across Africa. Their projects, acknowledged as the best, present scalable initiatives, addressing challenges and providing solutions for communities in Africa.",this.desc_track_winners="The Track Winners teams are recognized for outstanding projects that made impactful contributions to African communities.",this.winners=[{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],projectname:"YYeni AI",team:"YYeni AI",money:"6,000",rank:2,awrd_img:"assets/silver 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",prize_description:["Team YYeni AI enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the valuable opportunity to pitch their project idea to renowned individuals and venture capitalists. Additionally, they received a certificate of achievement, and a direct placement opportunity in the A2SV education Cohort 5."],linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Aya Omezzine","Christian Parfait ","MohamedAziz Omezine","Mohamed Regaya","Ghada Eladeb"],team:"The Siblings",projectname:"CogniPath",money:"10,000",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700745279/Hackathon/cognipath.jpg",awrd_img:"assets/gold 1 (no bg).png",countries:["Tunisia","Cameroon"],description:"AI-powered platform creates learning materials for students with learning disorders.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/aya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Christian.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Mohamed.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Rebaya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Ghada.png"],demo:"https://www.youtube.com/embed/SIjvIMWqgDs?si=ZVHTL7YUAN00sYgi",pitch:"https://www.youtube.com/embed/5fKccJiX_8I?si=7TA69lVH6Ni494p8",webUrl:"https://cognipath.azurewebsites.net/",prize_description:["Team CogniPath enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the opportunity to pitch their project to renowned individuals and venture capitalists. Along with a certificate of achievement and direct placement in the A2SV education cohort 5, the team will work with Modus Capital for personalized fundraising support and one-on-one expert guidance, elevating their project and early start-up."],linkedin:["https://www.linkedin.com/in/aya-omezzine-722679174","https://www.linkedin.com/in/christian-parfait-nebot-fonkou","https://www.linkedin.com/in/mohamed-aziz-omezine-63491a116","https://www.linkedin.com/in/regaya-mohamed-462992218","https://www.linkedin.com/in/ghada-eladeb-3b2854237"]},{teamMembers:["Kamel Brouthen","Aymene Berriche","Mehdi Zakaria ","Ahmed Yacine ","Moussaab Badla"],team:" FutureX",projectname:"Kurio",money:"4,000",rank:3,awrd_img:"assets/bronze 1.png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700741675/Hackathon/kurioo.jpg",countries:["Algeria"],description:"An AI-powered app for personalized and interactive children's learning and entertainment.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Kamel.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Aymen.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/mehdi.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Ahmed.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/Moussaab.png"],demo:"https://www.youtube.com/embed/BLcX8sRU-aE?si=wYdkUaKh9Xkhr4bI",pitch:"https://www.youtube.com/embed/fWRPbIW21J0?si=JdjMRhojDF052ltO",mobileUrl:"https://drive.google.com/file/d/1CG6WzV7HpjxxOY_Ti6j8EgS4NJT75vpN/view?usp=drive_link",prize_description:["Team Kurio enjoyed an all-inclusive trip to Addis Ababa, covering airfare, hotel, and additional expenses. They seized the opportunity to pitch their project to esteemed individuals and venture capitalists. The team received a certificate of achievement and secured a direct placement in the A2SV education cohort 5, fostering valuable educational opportunities."],linkedin:["https://www.linkedin.com/in/brouthen-kamel","https://www.linkedin.com/in/aymen-berriche-372ba81a5","https://www.linkedin.com/in/adjal-mehdi-zakaria-a40a39223","https://www.linkedin.com/in/ahmedyacinebouchouareb","https://www.linkedin.com/in/moussaab-badla-16b398291"]}],this.track_winners=[{teamMembers:["Aser Hailu","Biruk Mesfin","Bisrat Kebere","Duresa Feyisa","Estifanos Samson"],prize_type:"Best Technical Implementation Award",money:"2,500",team:"Innovate Fusion",projectname:"THE ARCHITECT AI",prize_description:"Congratulations to Team Innovate Fusion from Ethiopia! We proudly acknowledge the ARCHITECT AI project, which stood out for its remarkable and innovative technical implementation.",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700743904/Hackathon/Architect.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/aserr.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/birukk.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/bisratt.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/duresaa.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/estifanos.png"],description:"Virtual architectural design assistant that uses generative AI to generate customizable and sustainable skyscraper designs for architecture and construction projects in Africa.",countries:["Ethiopia"],demo:"https://www.youtube.com/embed/irHZkTfRL2c?si=1g-5WDz6Bx1L39zS",pitch:"https://www.youtube.com/embed/AvpUPbTf7HE?si=7USncKJOg2-K1_8Q",webUrl:"https://architect-ai-theta.vercel.app/home",mobileUrl:"https://drive.google.com/file/d/1E7CKANKvaY6yh-VKgUTdcSc6QxCS8K6r/view?usp=drive_link",linkedin:["https://www.linkedin.com/in/aser-hailu","https://www.linkedin.com/in/biruk-mesfin","https://www.linkedin.com/in/bisry","https://www.linkedin.com/in/duresa-feyisa-513271256","https://www.linkedin.com/in/estifanos-samson-7286bb298"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Most Potential for Positive Change Award",money:"2,500",prize_description:"Congratulations to Team YYeni AI from Namibia! We commend the YYeni AI project, which stood out for its exceptional potential to make a positive impact and drive meaningful change.",projectname:"YYeni AI",team:"YYeni AI",awrd_img:"assets/gold 1 (no bg).png",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Ann Mumbi","Franklin Karanja","Jude Ang'Edu","Nathan Mbugua","Wayne Asava"],prize_type:"Best User Experience Award",money:"2,500",awrd_img:"assets/gold 1 (no bg).png",team:"Sapphire",projectname:"StoryCraft",prize_description:"Congratulations to Team Sapphire from Kenya! We applaud the outstanding achievement of the StoryCraft project, which was recognized for delivering an exceptional and intuitive user experience.",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700835115/Hackathon/sapphire.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/ann.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/frank.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/jude.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/nathan.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/wayne.png"],description:"AI-powered platform that creates personalized and engaging storybooks for early readers, fostering a love for reading among children.",countries:["Kenya"],demo:"https://www.youtube.com/embed/YHBCz0VNjaA?si=AJHna8gKMUX8EAiR",pitch:"https://www.youtube.com/embed/d5vJMWklKpM?si=DgSCAMdTxeb99GsK",webUrl:"http://www.storycraftai.tech/",linkedin:["https://www.linkedin.com/in/ann-kamau-564b88216","https://www.linkedin.com/in/knurf-mutua","https://www.linkedin.com/in/jude-ang-edu-451532185","#","https://www.linkedin.com/in/wayneasava"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Cross-Domain Collaboration Award",projectname:"YYeni AI",team:"YYeni AI",prize_description:"Congratulations to Team YYeni AI from Namibia! The YYeni project effectively combined generative AI techniques with expertise from different fields, showcasing an innovative approach.",money:"2,500",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]}]}getRankClass(t){switch(t){case 1:return"md:mt-[-40px] bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-white ";case 2:return"md:mt-[-20px] bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-black ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-white ";default:return"bg-gray-200"}}getButtonsClass(t){switch(t){case 1:return"bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-yellow-500 ";case 2:return"bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-purple-500 ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-orange-500 ";default:return"bg-gray-200"}}getCardText(t){switch(t){case 1:return" text-amber-200 ";case 2:return" text-gray-200 ";case 3:return" text-bronze-200 ";default:return"bg-gray-200"}}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(I),e.rXU(E))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-winner"]],decls:2,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","m-auto"],[3,"cardTouched","title","descr","winners"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"app-track-winners",1),e.bIt("cardTouched",function(l){return o.openModal(l)}),e.k0s()()),2&i&&(e.R7$(),e.Y8G("title",o.title_winners)("descr",o.desc_winners)("winners",o.winners))},dependencies:[P]})}return n})();const V=["videoIframe"];let S=(()=>{class n{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#C0C0C0",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag.","Direct placement opportunity in the A2SV education cohort 5."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#FFC876",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5.","Custom-designed A2SV swag.","Partnership with Modus VC to assist with fundraising and tailored 1-on-1 expert support."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#CD7F32",image:"assets/bronze 1.png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5."]},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}ngAfterViewInit(){}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-prizes"]],viewQuery:function(i,o){if(1&i&&e.GBs(V,5),2&i){let r;e.mGM(r=e.lsd())&&(o.videoIframe=r.first)}},decls:3,vars:0,consts:[["id","prizes",1,"flex","fade","min-h-screen","py-10","max-sm:px-2","max-md:py-10","max-xl:px-10","px-20","flex-col","justify-center"],[1,"mb-10"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.nrm(1,"app-winner")(2,"div",1),e.k0s())},dependencies:[L],styles:[".fade[_ngcontent-%COMP%]{transition:opacity .5s}"]})}return n})();const G=[{path:"home",component:M},{path:"prizes",component:S}],H={scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,64]};let D=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.$C({type:n});static#n=this.\u0275inj=e.G2t({imports:[C.iI.forRoot(G,H),C.iI]})}return n})(),z=(()=>{class n{constructor(){this._myData$=new f.t(null),this.myData$=this._myData$.asObservable(),this._waitingResponse$=new f.t(!1)}seedData(){const t=localStorage.getItem("messages");null==t?this.addMessage({content:"Hi I\u2019m Ifoki, I am here to answer any of your questions about the hackathon",role:"bot"}):this._myData$.next(JSON.parse(t))}setWaitingStatus(t){const i=localStorage.getItem("waitingStatus")?JSON.parse(localStorage.getItem("waitingStatus")):0,o=t?i+1:i-1;localStorage.setItem("waitingStatus",JSON.stringify(o)),this._waitingResponse$.next(o>0)}resetWaitingStatus(){localStorage.setItem("waitingStatus",JSON.stringify(0)),this._waitingResponse$.next(!1)}addMessage(t){const i=localStorage.getItem("messages")?JSON.parse(localStorage.getItem("messages")):[];i.push(t),localStorage.setItem("messages",JSON.stringify(i)),this._myData$.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),b=(()=>{class n{constructor(){this.displayConsent=!1}showConsentUI(t){this.displayConsent=t}shouldShowConsentUI(){return this.displayConsent}getConsentStatus(){return null!==localStorage.getItem("consentGiven")}giveConsent(){localStorage.setItem("consentGiven","true"),this.displayConsent=!1}withdrawConsent(){localStorage.removeItem("consentGiven"),this.displayConsent=!0}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),T=(()=>{class n{constructor(t){this.consentService=t}loadPlugin(){const u=document.createElement("script");u.onerror=_=>{console.error("[termsfeed][pc-loader-1]","[ee][b1b476da]","plugin failed!",_)},u.async=!0,u.src="https://cdn.termsfeedtag.com/plugins/pc/v1/d55fc7bf462345899345196be3d8e53a/plugin-2.js",this.consentService.getConsentStatus()&&document.body.appendChild(u)}static#e=this.\u0275fac=function(i){return new(i||n)(e.KVO(b))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function $(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",31),e.nrm(1,"div",32),e.j41(2,"div",33)(3,"div",34)(4,"button",35),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleMenu())}),e.j41(5,"span",27),e.EFF(6,"Close menu"),e.k0s(),e.j41(7,"div",36),e.qSk(),e.j41(8,"svg",28),e.nrm(9,"path",37),e.k0s()()()(),e.joV(),e.j41(10,"div",38)(11,"div",39)(12,"div",40)(13,"a",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return o.scrollToSection("landing"),e.Njj(o.toggleMenu())}),e.EFF(14,"Home"),e.k0s(),e.j41(15,"a",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return o.scrollToSection("prize2024"),e.Njj(o.toggleMenu())}),e.EFF(16,"\u{1f3c6} $30K Prize"),e.k0s(),e.j41(17,"a",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return o.scrollToSection("info"),e.Njj(o.toggleMenu())}),e.EFF(18,"Information"),e.k0s(),e.j41(19,"a",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return o.scrollToSection("about-us"),e.Njj(o.toggleMenu())}),e.EFF(20,"About Us"),e.k0s(),e.j41(21,"a",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return o.scrollToSection("partners"),e.Njj(o.toggleMenu())}),e.EFF(22,"A2SV Interview Partners"),e.k0s()()()()()()}}let N=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,this.showMenu=!1,this.isModalOpenArray=!1,this.currentSection="home"}toggleMenu(){this.showMenu=!this.showMenu}openModal(t){t.stopPropagation(),this.modalService.openModal()}scrollToSection(t){this.currentSection=t;const i=!document.body.classList.contains("overflow-hidden"),o=document.getElementById(t);null!=o&&i&&o.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(g))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-header"]],inputs:{currentSection:"currentSection"},decls:42,vars:16,consts:[[1,"fixed","text-white","inset-x-0","top-0","z-50"],["aria-label","Global",1,"flex","gap-x-4","backdrop-blur-lg","bg-black","bg-opacity-30","items-center","justify-between","border-b","border-gray-600","border-spacing-0.5","p-4","lg:px-16"],["href","https://a2sv.org","target","_blank","rel",""],["src","assets/A2SV_LOGO%20(2).svg","alt","a2sv logo",1,"w-32","max-sm:w-16","max-lg:w-24","max-md:w-20"],[1,"hidden","justify-between","gap-x-4","lg:flex"],[3,"click"],[1,"text-sm","bg-purple-700","hover:bg-purple-500","text-white","py-2","px-4","rounded-full","cursor-pointer","transition","duration-300","ease-in-out","ml-2",3,"click"],[1,"px-3","flex","sm:flex-row","flex-col"],[1,"inline-flex","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"flex","lg:hidden"],["type","button",1,"-m-2.5","inline-flex","items-center","justify-center","rounded-md","p-2.5","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"],["class","lg:hidden relative text-white","role","dialog","aria-modal","true",4,"ngIf"],["role","dialog","aria-modal","true",1,"lg:hidden","relative","text-white"],[1,"fixed","inset-0","z-50"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","px-6","py-6","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","justify-between"],["type","button",1,"-m-2.5","rounded-md","p-2.5","text-white",3,"click"],[1,"text-white"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"mt-6","flow-root"],[1,"-my-6","divide-y","divide-gray-500/10"],[1,"space-y-2","py-6"],[1,"-mx-3","block","rounded-lg","px-3","py-2","text-base","font-semibold","leading-7","text-gray-200","hover:bg-gray-800",3,"click"]],template:function(i,o){1&i&&(e.j41(0,"header",0)(1,"nav",1)(2,"a",2),e.nrm(3,"img",3),e.k0s(),e.j41(4,"div",4)(5,"a",5),e.bIt("click",function(){return o.scrollToSection("landing")}),e.EFF(6,"Home"),e.k0s(),e.j41(7,"a",5),e.bIt("click",function(){return o.scrollToSection("prize2024")}),e.EFF(8,"\u{1f3c6} $30K Prize"),e.k0s(),e.j41(9,"a",5),e.bIt("click",function(){return o.scrollToSection("info")}),e.EFF(10,"Information"),e.k0s(),e.j41(11,"a",5),e.bIt("click",function(){return o.scrollToSection("about-us")}),e.EFF(12,"About Us"),e.k0s(),e.j41(13,"a",5),e.bIt("click",function(){return o.scrollToSection("partners")}),e.EFF(14,"Interview Partners"),e.k0s()(),e.j41(15,"button",6),e.bIt("click",function(l){return o.openModal(l)}),e.EFF(16," Join A2SV\n"),e.k0s(),e.j41(17,"div",7)(18,"span",8)(19,"a",9),e.bIt("click",function(){return o.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.qSk(),e.j41(20,"svg",10),e.nrm(21,"path",11),e.k0s()(),e.joV(),e.j41(22,"a",12),e.bIt("click",function(){return o.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.qSk(),e.j41(23,"svg",13),e.nrm(24,"path",14),e.k0s()(),e.joV(),e.j41(25,"a",15),e.bIt("click",function(){return o.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.qSk(),e.j41(26,"svg",16),e.nrm(27,"path",17),e.k0s()(),e.joV(),e.j41(28,"a",18),e.bIt("click",function(){return o.setActiveButton("signup","https://twitter.com/A2_SV")}),e.qSk(),e.j41(29,"svg",19),e.nrm(30,"path",20),e.k0s()(),e.joV(),e.j41(31,"a",21),e.bIt("click",function(){return o.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.qSk(),e.j41(32,"svg",22),e.nrm(33,"path",23)(34,"circle",24),e.k0s()()()(),e.joV(),e.j41(35,"div",25)(36,"button",26),e.bIt("click",function(){return o.toggleMenu()}),e.j41(37,"span",27),e.EFF(38,"Open main menu"),e.k0s(),e.qSk(),e.j41(39,"svg",28),e.nrm(40,"path",29),e.k0s()()()(),e.DNE(41,$,23,0,"div",30),e.k0s()),2&i&&(e.R7$(5),e.ZvI("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","landing"==o.currentSection.toString()?"text-indigo-600":"text-gray-200"," "),e.R7$(2),e.ZvI("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","prize2024"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.R7$(2),e.ZvI("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","info"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.R7$(2),e.ZvI("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","about-us"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.R7$(2),e.ZvI("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","partners"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.R7$(28),e.Y8G("ngIf",o.showMenu))},dependencies:[s.bT]})}return n})();var w=c(1198),d=c(4341);function Y(n,a){if(1&n&&(e.j41(0,"div",21),e.nrm(1,"img",22),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.FS9("src",t.img,e.B4B)}}function U(n,a){if(1&n&&(e.j41(0,"div",23),e.nrm(1,"img",24),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.FS9("src",t.img,e.B4B)}}let X=(()=>{class n{constructor(){this.slides=[{img:"assets/Google_logo.svg"},{img:"assets/Bloomberg_logo.svg"},{img:"assets/Palantir_Technologies_logo%201.svg"},{img:"assets/Databricks_logo.svg"},{img:"assets/Meta_logo.svg"}],this.slideConfig={slidesToShow:4,slidesToScroll:1,autoplay:!0,autoplaySpeed:0,speed:2500,pauseOnHover:!1,cssEase:"linear",responsive:[{breakpoint:1280,settings:{slidesToShow:3}},{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:640,settings:{slidesToShow:1}}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-potential-partners"]],decls:27,vars:3,consts:[["slickModal","slick-carousel"],["id","partners",1,"flex","bg-bubbles","px-8","max-sm:px-4","py-8","max-sm:py-4","pb-8","flex-col","justify-center"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"hidden","max-md:hidden","flex","justify-between","items-center","py-6","p-4","overflow-hidden","my-5"],["class","mx-4",4,"ngFor","ngForOf"],[1,""],[1,"carousel","h-full","p-6","my-10","flex","overflow-hidden","justify-center","gap-x-12",3,"config"],["ngxSlickItem","","class","slide mx-auto flex justify-center",4,"ngFor","ngForOf"],["onclick","sponsor_us_modal.showModal()",1,"mx-auto","rounded-full","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","cursor-pointer","ease-out","duration-300"],[1,"absolute","right-0","w-8","-mt-6","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative","mb-5"],["id","sponsor_us_modal",1,"modal"],["method","dialog",1,"modal-box","bg-gray-900","w-11/12","max-md:w-full"],[1,"btn","btn-sm","btn-circle","btn-ghost","absolute","right-2","top-2"],[1,"lg:flex-grow","lg:pr-24","md:pr-16","flex","flex-col","md:items-start","md:text-left","mb-16","md:mb-0","items-center","text-center"],[1,"font-IBM","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","sm:text-4xl","text-3xl","mb-4","font-medium","text-gray-300"],[1,"mt-2","text-gray-300","mb-8","w-full"],[1,"flex","w-full","flex-wrap","md:justify-between","space-y-4","justify-center","items-end"],["href","mailto:contact@a2sv.org",1,"rounded-full","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative"],[1,"mx-4"],["fill","currentColor",1,"w-48","h-16","text-white",3,"src"],["ngxSlickItem","",1,"slide","mx-auto","flex","justify-center"],[1,"w-full","h-24","px-16",3,"src"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"p",2),e.EFF(2,"Interview Partners"),e.k0s(),e.j41(3,"div",3),e.DNE(4,Y,2,1,"div",4),e.k0s(),e.j41(5,"div",5)(6,"ngx-slick-carousel",6,0),e.DNE(8,U,2,1,"div",7),e.k0s()(),e.j41(9,"a",8),e.nrm(10,"span",9),e.j41(11,"span",10),e.EFF(12,"Support Us"),e.k0s()(),e.j41(13,"dialog",11)(14,"form",12)(15,"button",13),e.EFF(16,"\u2715"),e.k0s(),e.j41(17,"div",14)(18,"h1",15),e.EFF(19,"Hello!"),e.k0s(),e.j41(20,"p",16),e.EFF(21,"Sponsor our AI Hackathon to support African students in harnessing the power of AI to tackle challenges. Your partnership will empower innovation across Africa and play a crucial role in shaping the future of AI-driven solutions on the continent."),e.k0s(),e.j41(22,"div",17)(23,"a",18),e.nrm(24,"span",19),e.j41(25,"span",20),e.EFF(26,"Contact Us"),e.k0s()()()()()()()),2&i&&(e.R7$(4),e.Y8G("ngForOf",o.slides),e.R7$(2),e.Y8G("config",o.slideConfig),e.R7$(2),e.Y8G("ngForOf",o.slides))},dependencies:[s.Sq,w.qW,w.Hv,d.qT,d.cb]})}return n})();const W=[{number:"1",color:"#41516C",title:"Registration",desc:"Students to register for the African-wide hackathon focused on AI.",year:"1 June - 6 July, 2024",final:!1},{number:"2",color:"#3081D0",title:"Project Idea Submission and Filtration",desc:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",year:"8-12 July, 2024",final:!1},{number:"3",color:"#FFB534",title:"Workshops",desc:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",year:"13-14 July, 2024",final:!1},{number:"4",color:"#163020",title:"Quarterfinals",desc:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",year:"16-20 July, 2024",final:!1},{number:"5",color:"#7BD3EA",title:"Semifinals",desc:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",year:"July 28 - September 6, 2024",final:!1},{number:"6",color:"#41516C",title:"Grand Finale",desc:" The top 8 teams are flown to Ethiopia for an all-expense-paid in-person event. They\u2019ll compete for a total prize pool of $30,000, presenting their projects to a distinguished jury.",year:"21-26 , September 2024"}];function q(n,a){if(1&n&&(e.j41(0,"li")(1,"div",3)(2,"div",4),e.qSk(),e.j41(3,"svg",5),e.nrm(4,"path",6)(5,"path",7),e.k0s(),e.joV(),e.j41(6,"p"),e.EFF(7),e.k0s()()(),e.j41(8,"div",8),e.EFF(9),e.k0s(),e.j41(10,"div",9),e.EFF(11),e.k0s()()),2&n){const t=a.$implicit;e.Aen("--accent-color: "+t.color),e.R7$(7),e.JRh(t.year),e.R7$(2),e.SpI(" ",t.title," "),e.R7$(2),e.SpI(" ",t.desc," ")}}let J=(()=>{class n{constructor(){this.years=[]}ngOnInit(){this.years=W}closeTimelineModal(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-timeline"]],decls:4,vars:1,consts:[[1,""],[1,"overflow-auto","py-16","modal-scrollbar"],[3,"style",4,"ngFor","ngForOf"],[1,"date"],[1,"flex","space-x-3","items-center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-6","h-6","flex-none","text-white"],["d","M12.75 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM7.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM8.25 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM9.75 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM10.5 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM12.75 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM14.25 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 13.5a.75.75 0 100-1.5.75.75 0 000 1.5z"],["fill-rule","evenodd","d","M6.75 2.25A.75.75 0 017.5 3v1.5h9V3A.75.75 0 0118 3v1.5h.75a3 3 0 013 3v11.25a3 3 0 01-3 3H5.25a3 3 0 01-3-3V7.5a3 3 0 013-3H6V3a.75.75 0 01.75-.75zm13.5 9a1.5 1.5 0 00-1.5-1.5H5.25a1.5 1.5 0 00-1.5 1.5v7.5a1.5 1.5 0 001.5 1.5h13.5a1.5 1.5 0 001.5-1.5v-7.5z","clip-rule","evenodd"],[1,"title","text-gray-200","font-semibold","text-lg"],[1,"descr","text-gray-400"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"ul"),e.DNE(3,q,12,5,"li",2),e.k0s()()()),2&i&&(e.R7$(3),e.Y8G("ngForOf",o.years))},dependencies:[s.Sq],styles:['h1[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{--col-gap: 2rem;--row-gap: 2rem;--line-w: .25rem;display:grid;grid-template-columns:var(--line-w) 1fr;grid-auto-columns:max-content;column-gap:var(--col-gap);list-style:none;width:min(60rem,90%);margin-inline:auto}ul[_ngcontent-%COMP%]:before{content:"";grid-column:1;grid-row:1 / span 20;background:#e1e1e1;border-radius:calc(var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--row-gap)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{grid-column:2;--inlineP: 1.5rem;margin-inline:var(--inlineP);grid-row:span 2;display:grid;grid-template-rows:min-content min-content min-content}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{--dateH: 3rem;height:var(--dateH);margin-inline:calc(var(--inlineP) * -1);text-align:center;background-color:var(--accent-color);color:#fff;font-size:1.25rem;font-weight:700;display:grid;place-content:center;position:relative;border-radius:calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:before{content:"";width:var(--inlineP);aspect-ratio:1;background:var(--accent-color);background-image:linear-gradient(rgba(0,0,0,.2) 100%,transparent);position:absolute;top:100%;clip-path:polygon(0 0,100% 0,0 100%);right:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:after{content:"";position:absolute;width:2rem;aspect-ratio:1;background:var(--bgColor);border:.3rem solid var(--accent-color);border-radius:50%;top:50%;transform:translate(50%,-50%);right:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{background:var(--bgColor);position:relative;padding-inline:1.5rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;padding-block-start:1.5rem;padding-block-end:1rem;font-weight:500}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{padding-block-end:1.5rem;font-weight:300}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before, ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{content:"";position:absolute;width:90%;height:.5rem;background:#00000080;left:50%;border-radius:50%;filter:blur(4px);transform:translate(-50%,50%)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before{bottom:calc(100% + .125rem)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{z-index:-1;bottom:.25rem}@media (min-width: 40rem){ul[_ngcontent-%COMP%]{grid-template-columns:1fr var(--line-w) 1fr}ul[_ngcontent-%COMP%]:before{grid-column:2}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd){grid-column:1}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2n){grid-column:3}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2){grid-row:2/4}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:before{clip-path:polygon(0 0,100% 0,100% 100%);left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:after{transform:translate(-50%,-50%);left:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]{border-radius:0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0}}.modal-scrollbar[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:green blue}']})}return n})(),Z=(()=>{class n{constructor(t){this.sanitizer=t,this.steps=[{number:"1",title:"Registration",description:"Students to register for the African-wide hackathon focused on AI.",date:"1 June - 6 July, 2024",final:!1},{number:"2",title:"Project Idea Submission and Filtration",description:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",date:"8-12 July, 2024",final:!1},{number:"3",title:"Workshops",description:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",date:"13-14 July, 2024",final:!1},{number:"4",title:"Quarterfinals",description:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",date:"16-20 July, 2024",final:!1},{number:"5",title:"Semifinals",description:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",date:"July 28 - September 6, 2024",final:!1}],this.calendarLink="https://calendar.google.com/calendar/u/0?cid=Y18wYjU0ZmZlYjIxZWFjYmNiNTZiM2RhNzkwNzMyYmY5MTg4OTdkNWJjODQzMTJlMWI3YmUzOTlmYjFhN2QzYTFlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20",this.workshops=[{title:"AI",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Hackathon Dynamics",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Idea Generation",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")}]}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(m.up))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-info"]],decls:37,vars:0,consts:[["id","info",1,"min-h-screen","max-sm:py-0","py-6","max-sm:px-0","px-20"],[1,"w-full","h-full","relative","overflow-hidden","flex","flex-col","justify-center","items-center"],["src","assets/ccchaos%20(1).svg","alt","",1,"absolute","z-[-10]","-left-10","-bottom-10","w-[1080px]","max-sm:w-[720px]","aspect-[1]","opacity-70"],["src","assets/IMAGE.svg","alt","",1,"absolute","aspect-[1]","max-sm:hidden","top-0","right-0","max-lg:w-[240px]","w-[360px]"],[1,"container","relative","max-lg:px-4","max-sm:mt-4","px-12","pt-4","mt-12","flex","flex-col"],[1,"flex","flex-col","lg:flex-row","justify-center","gap-x-12","items-center"],[1,"sm:py-8","flex-1","mt-4","pt-4","sm:mt-0","sm:text-left"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"mt-3","text-gray-300","leading-relaxed"],[1,"text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","animate-text"],["href","https://form.typeform.com/to/XoEqw6vQ","target","_blank"],[1,"my-5","bg-purple-700","hover:bg-purple-500","text-white","text-sm","px-4","py-2","rounded-full","transition-transform","duration-300","ease-in-out","lg:ml-5",3,"click"],["src","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","alt","",1,"lg:w-1/2","flex-1","h-64","aspect-square","w-full","lg:h-96","sm:h-72","object-cover","object-center","rounded-xl"],[1,"sm:text-4xl","mt-5","text-center","text-2xl","font-medium","text-white"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.nrm(2,"img",2)(3,"img",3),e.j41(4,"div",4)(5,"div",5)(6,"div",6)(7,"p",7),e.EFF(8," About The Hackathon "),e.k0s(),e.j41(9,"p",8),e.EFF(10," Our exciting multi-stage Hackathon, starts with "),e.j41(11,"span",9),e.EFF(12,"Workshops"),e.k0s(),e.EFF(13," from 13-14 July, 2024. You'll learn about AI, hackathon dynamics, and innovative idea generation. "),e.k0s(),e.j41(14,"p",8),e.EFF(15," Then, from July 16-20, compete in the "),e.j41(16,"span",9),e.EFF(17,"Quarter-finals"),e.k0s(),e.EFF(18,", a virtual hackathon where you'll aim for a spot among the top 30 projects. Throughout, expert mentors will guide you. "),e.k0s(),e.j41(19,"p",8),e.EFF(20," In the "),e.j41(21,"span",9),e.EFF(22,"Semi-finals"),e.k0s(),e.EFF(23," (July 28 - September 6, 2024), selected 40 teams will receive ongoing support to refine their projects with feedback. "),e.k0s(),e.j41(24,"p",8),e.EFF(25," The "),e.j41(26,"span",9),e.EFF(27,"Grand Finale"),e.k0s(),e.EFF(28," on September 21-26 ,2024, is the ultimate showdown. The top 8 teams will fly to Ethiopia for an all-expense-paid event, competing for a $30,000 USD prize pool and presenting their projects to a distinguished jury. "),e.k0s(),e.nrm(29,"br"),e.j41(30,"a",10)(31,"button",11),e.bIt("click",function(){return o.setActiveButton("register","https://form.typeform.com/to/XoEqw6vQ")}),e.EFF(32," Sign up for event updates "),e.k0s()()(),e.nrm(33,"img",12),e.k0s()(),e.j41(34,"p",13),e.EFF(35," Hackathon Timeline "),e.k0s(),e.nrm(36,"app-timeline"),e.k0s()())},dependencies:[J]})}return n})();function K(n,a){if(1&n&&(e.j41(0,"li")(1,"div",8),e.qSk(),e.j41(2,"svg",9),e.nrm(3,"path",10),e.k0s(),e.joV(),e.j41(4,"p",4),e.EFF(5),e.k0s()()()),2&n){const t=a.$implicit;e.R7$(5),e.SpI("",t.text," ")}}function Q(n,a){1&n&&(e.j41(0,"div",11)(1,"button",12),e.EFF(2,"Register Now"),e.k0s()())}let ee=(()=>{class n{constructor(){this.openChatEvent=new e.bkB,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.registrationButtonVisible=!0,this.criterieas=[{text:"Every team must have a minimum of 3 members and a maximum of 5 members."},{text:"Every team member must be located in Africa."},{text:"All team members must be students currently enrolled in a University, College (undergrad, Associate, Diploma program), or High School, with a graduation year after January 2024. Students currently pursuing or who have completed a Master's degree or higher are not eligible to participate."},{text:"If you don't have a team you can register individually and we'll match you with other talented developers, designers, and problem solvers."}]}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Date *[_ngcontent-%COMP%]{grid-column-start:1;grid-row-start:1;transform:translate(10%) scale(.9);z-index:1;width:100%;opacity:.6}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(2){transform:translate(5%) scale(.95);z-index:2;opacity:.8}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(1){transform:translate(0) scale(1);z-index:3;opacity:1}"]})}return n})();var k=c(1626);let te=(()=>{class n{constructor(t){this.http=t}getIpAddress(){return this.http.get("https://api.ipify.org?format=json")}static#e=this.\u0275fac=function(i){return new(i||n)(e.KVO(k.Qq))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ne=c(9437),oe=c(7673);let ie=(()=>{class n{constructor(t){this.httpClient=t,this.errorMsg=""}sendMessage(t,i){return this.httpClient.post("https://a2sv-generative-ai-hackathon-lylswf275a-zf.a.run.app/api/v1/chats",{ip_address:i,query:t}).pipe((0,ne.W)(o=>(this.errorMsg=o.error instanceof ErrorEvent?`Error: ${o.error.message}`:this.getServerErrorMessage(o),(0,oe.of)({message:this.errorMsg}))))}getServerErrorMessage(t){switch(t.status){case 429:return"You have reached your daily limit. please try again later";case 404:return"Not Found";case 403:return"Access denied";case 500:return"Unknown error has happened try again";case 0:return"Please Check Your Internet Connection";default:return"Unknown Server Error"}}static#e=this.\u0275fac=function(i){return new(i||n)(e.KVO(k.Qq))};static#t=this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const ae=["scrollableContainer"],re=["fullScreenScrollableContainer"];function se(n,a){if(1&n&&(e.j41(0,"div",25)(1,"div",26)(2,"div",27),e.nrm(3,"img",28),e.k0s()(),e.j41(4,"div",29)(5,"p",30),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG().$implicit;e.R7$(6),e.SpI(" ",t.content," ")}}function le(n,a){if(1&n&&(e.j41(0,"div",31)(1,"div",26)(2,"div",27),e.nrm(3,"img",32),e.k0s()(),e.j41(4,"div",29)(5,"p",30),e.EFF(6),e.k0s()()()),2&n){const t=e.XpG().$implicit;e.R7$(6),e.SpI(" ",t.content," ")}}function ce(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,se,7,1,"div",23)(2,le,7,1,"div",24),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","bot"===t.role),e.R7$(),e.Y8G("ngIf","user"===t.role)}}function de(n,a){1&n&&(e.j41(0,"div",33)(1,"div",34)(2,"div",35),e.nrm(3,"div",36)(4,"div",37),e.k0s()()())}function me(n,a){if(1&n&&(e.j41(0,"div",25)(1,"div",26)(2,"div",27),e.nrm(3,"img",28),e.k0s()(),e.j41(4,"div",38),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(5),e.JRh(t.content)}}function pe(n,a){if(1&n&&(e.j41(0,"div",31)(1,"div",26)(2,"div",27),e.nrm(3,"img",32),e.k0s()(),e.j41(4,"div",38),e.EFF(5),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(5),e.JRh(t.content)}}function ue(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,me,6,1,"div",23)(2,pe,6,1,"div",24),e.k0s()),2&n){const t=a.$implicit;e.R7$(),e.Y8G("ngIf","bot"===t.role),e.R7$(),e.Y8G("ngIf","user"===t.role)}}function he(n,a){1&n&&(e.j41(0,"div",33)(1,"div",34)(2,"div",35),e.nrm(3,"div",36)(4,"div",37),e.k0s()()())}let ge=(()=>{class n{constructor(t,i,o){this.ipService=t,this.chatService=i,this.localStorageService=o,this.isChatLoading=!1,this.messages=[],this.chatForm=new d.gE({message:new d.MJ("",[d.k0.required])}),this.ipAddress="",this.closeChatEvent=new e.bkB,this.localStorageService.seedData(),this.localStorageService._waitingResponse$.subscribe(r=>{this.isChatLoading=r}),this.localStorageService._myData$.subscribe(r=>{this.messages=r})}ngOnInit(){this.fetchIpAddress()}fetchIpAddress(){this.ipService.getIpAddress().subscribe(t=>{this.ipAddress=t.ip,console.log("IP Address:",this.ipAddress)},t=>{console.error("Failed to fetch IP address:",t)})}closeChat(){this.closeChatEvent.emit()}sendMessage(){this.isChatLoading=!0,this.localStorageService.addMessage({role:"user",content:this.chatForm.value.message}),this.localStorageService.setWaitingStatus(!0);const t=this.chatForm.value.message;try{this.chatService.sendMessage(t,this.ipAddress).subscribe(i=>{console.log("Response: ",i),this.isChatLoading=!1,this.localStorageService.setWaitingStatus(!1),this.localStorageService.addMessage({role:"bot",content:i.message})})}catch{this.isChatLoading=!1}this.chatForm.reset()}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(te),e.rXU(ie),e.rXU(z))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-bot"]],viewQuery:function(i,o){if(1&i&&(e.GBs(ae,5),e.GBs(re,5)),2&i){let r;e.mGM(r=e.lsd())&&(o.scrollableContainer=r.first),e.mGM(r=e.lsd())&&(o.fullScreenScrollableContainer=r.first)}},outputs:{closeChatEvent:"closeChatEvent"},decls:34,vars:10,consts:[["scrollableContainer",""],["fullScreenScrollableContainer",""],[1,"flex","flex-col","max-lg:w-64","max-sm:w-48","items-end","w-full","h-full","shadow-2xl","bg-gray-900","rounded-xl"],[1,"bg-indigo-900","w-full","text-center","text-lg","flex-none","text-white","font-semibold","rounded-t-xl","p-4"],[1,"flex-1","max-lg:hidden","relative","w-full","p-6","overflow-y-auto",3,"scrollTop"],[1,"space-y-2"],[4,"ngFor","ngForOf"],["class","w-1/2",4,"ngIf"],[1,"flex-none","flex","items-center","justify-between","w-full","p-3","border-t","border-opacity-10","border-white",3,"formGroup"],["formControlName","message","type","text","id","chat-input","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],["id","helpdesk-popup-submit-button",3,"click","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5","origin-center","text-indigo-800","transform","rotate-90"],["d","M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z"],["role","dialog","aria-modal","true",1,"lg:hidden","text-white"],[1,"fixed","flex","flex-col","justify-between","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-gray-900","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","bg-indigo-900","py-6","justify-between"],["type","button",1,"rounded-md","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6","text-white","ml-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"h-full","p-4","overflow-auto",3,"scrollTop"],["formControlName","message","type","text","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],[3,"click","disabled"],["class","chat chat-start",4,"ngIf"],["class","chat chat-end",4,"ngIf"],[1,"chat","chat-start"],[1,"chat-image","avatar"],[1,"w-10","rounded-full"],["src","assets/avatar.png","alt","..."],[1,"chat-bubble"],[1,"break-words"],[1,"chat","chat-end"],["src","assets/user_avatar.png","alt","..."],[1,"w-1/2"],[1,"flex","items-center","mt-4","space-x-3","animate-pulse","delay-300"],[1,""],[1,"h-2.5","bg-gray-200","rounded-full","dark:bg-gray-700","w-32","mb-2"],[1,"w-48","h-2","bg-gray-200","rounded-full","dark:bg-gray-700"],[1,"chat-bubble","break-words"]],template:function(i,o){if(1&i){const r=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"p"),e.EFF(3,"Hacks-Bot"),e.k0s()(),e.j41(4,"div",4,0)(6,"div",5),e.DNE(7,ce,3,2,"div",6)(8,de,5,0,"div",7),e.k0s()(),e.j41(9,"form",8),e.nrm(10,"input",9),e.j41(11,"button",10),e.bIt("click",function(){return e.eBV(r),e.Njj(o.sendMessage())}),e.qSk(),e.j41(12,"svg",11),e.nrm(13,"path",12),e.k0s()()(),e.joV(),e.j41(14,"div",13)(15,"div",14)(16,"div",15)(17,"button",16),e.bIt("click",function(){return e.eBV(r),e.Njj(o.closeChat())}),e.j41(18,"span",17),e.EFF(19,"Close menu"),e.k0s(),e.qSk(),e.j41(20,"svg",18),e.nrm(21,"path",19),e.k0s()(),e.joV(),e.j41(22,"p"),e.EFF(23,"Hacks-Bot"),e.k0s(),e.nrm(24,"div"),e.k0s(),e.j41(25,"div",20,1),e.DNE(27,ue,3,2,"div",6)(28,he,5,0,"div",7),e.k0s(),e.j41(29,"form",8),e.nrm(30,"input",21),e.j41(31,"button",22),e.bIt("click",function(){return e.eBV(r),e.Njj(o.sendMessage())}),e.qSk(),e.j41(32,"svg",11),e.nrm(33,"path",12),e.k0s()()()()()()}if(2&i){const r=e.sdS(5),l=e.sdS(26);e.R7$(4),e.Y8G("scrollTop",r.scrollHeight),e.R7$(3),e.Y8G("ngForOf",o.messages),e.R7$(),e.Y8G("ngIf",o.isChatLoading),e.R7$(),e.Y8G("formGroup",o.chatForm),e.R7$(2),e.Y8G("disabled",!o.chatForm.valid),e.R7$(14),e.Y8G("scrollTop",l.scrollHeight),e.R7$(2),e.Y8G("ngForOf",o.messages),e.R7$(),e.Y8G("ngIf",o.isChatLoading),e.R7$(),e.Y8G("formGroup",o.chatForm),e.R7$(2),e.Y8G("disabled",!o.chatForm.valid)}},dependencies:[s.Sq,s.bT,d.qT,d.me,d.BC,d.cb,d.j4,d.JD]})}return n})(),fe=(()=>{class n{setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-footer"]],decls:28,vars:0,consts:[[1,"text-gray-200","body-font","border-white","border-opacity-50","border-t","py-8"],[1,"container","px-5","mx-auto","flex","items-center","sm:flex-row","flex-col"],[1,"flex","max-sm:order-2","title-font","font-medium","items-center","md:justify-start","justify-center","text-gray-200"],[1,"ml-3","text-xl"],[1,"text-sm","max-sm:order-3","text-gray-200","sm:ml-4","sm:pl-4","sm:border-l-2","sm:border-gray-200","sm:py-2","sm:mt-0","mt-4"],["href","https://a2sv.org","rel","noopener noreferrer","target","_blank",1,"text-gray-200","ml-1"],[1,"text-blue-500"],[1,"inline-flex","max-sm:mb-4","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"]],template:function(i,o){1&i&&(e.j41(0,"footer",0)(1,"div",1)(2,"a",2)(3,"span",3),e.EFF(4,"A2SV Hacks"),e.k0s()(),e.j41(5,"p",4)(6,"a",5),e.EFF(7,"\xa9 Copyright 2024 "),e.j41(8,"strong",6),e.EFF(9,"A2SV Foundation"),e.k0s(),e.EFF(10,". All rights reserved."),e.k0s()(),e.j41(11,"span",7)(12,"a",8),e.bIt("click",function(){return o.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.qSk(),e.j41(13,"svg",9),e.nrm(14,"path",10),e.k0s()(),e.joV(),e.j41(15,"a",11),e.bIt("click",function(){return o.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.qSk(),e.j41(16,"svg",12),e.nrm(17,"path",13),e.k0s()(),e.joV(),e.j41(18,"a",14),e.bIt("click",function(){return o.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.qSk(),e.j41(19,"svg",15),e.nrm(20,"path",16),e.k0s()(),e.joV(),e.j41(21,"a",17),e.bIt("click",function(){return o.setActiveButton("signup","https://twitter.com/A2_SV")}),e.qSk(),e.j41(22,"svg",18),e.nrm(23,"path",19),e.k0s()(),e.joV(),e.j41(24,"a",20),e.bIt("click",function(){return o.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.qSk(),e.j41(25,"svg",21),e.nrm(26,"path",22)(27,"circle",23),e.k0s()()()()())}})}return n})();function ve(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",6)(1,"a",7),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.setActiveButton("a2sv","https://www.a2sv.org"))}),e.nrm(2,"span",8),e.EFF(3,"Read more "),e.j41(4,"span",9),e.EFF(5,"\u2192"),e.k0s()()()}if(2&n){const t=e.XpG().$implicit;e.R7$(),e.FS9("href",t.footer,e.B4B)}}function be(n,a){if(1&n&&(e.j41(0,"div")(1,"div"),e.nrm(2,"img",2),e.k0s(),e.j41(3,"div")(4,"h1",3),e.EFF(5),e.k0s(),e.j41(6,"p",4),e.EFF(7),e.k0s(),e.j41(8,"p",4),e.EFF(9),e.k0s(),e.DNE(10,ve,6,1,"div",5),e.k0s()()),2&n){const t=a.$implicit,i=a.index;e.ZvI("",i%2==0?"bg-gradient-to-r from-indigo-950 to-black ":"bg-gradient-to-l from-indigo-950 to-black"," container my-12 rounded-3xl mx-auto flex flex-col md:flex-row py-5 px -3"),e.R7$(),e.ZvI("",i%2==0?"order-1 max-md:order-2":"order-2 max-md:order-2"," w-full md:w-1/2 ml-3"),e.R7$(),e.FS9("src",t.image,e.B4B),e.R7$(),e.ZvI("",i%2==0?"order-2 lg:pl-24 md:pl-16 max-md:order-1":"order-1 lg:pr-24 md:pr-16 max-md:order-1"," lg:flex-grow md:w-1/2 flex flex-col md:items-start md:text-left items-center text-center"),e.R7$(2),e.JRh(t.title),e.R7$(2),e.JRh(t.description),e.R7$(2),e.JRh(t.description1),e.R7$(),e.Y8G("ngIf",null!=t.footer)}}let we=(()=>{class n{constructor(){this.contents=[{title:"About A2SV",description:"A2SV (Africa to Silicon Valley), a hub of innovation in the field of technology education, is a US-based nonprofit academy empowering Africa's tech revolution. With a unique blend of comprehensive software engineering training and tech-driven solutions, A2SV is more than an academy; it's a movement.",image:"assets/group_photo1.jpg",footer:"https://www.a2sv.org",description1:"Through collaborations with esteemed African universities like Addis Ababa University and the University of Ghana, and partnerships with tech titans such as Google, Meta, and Databricks, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is absolutely free, breaking down financial barriers, nurturing dreams, and democratizing the path to a tech-driven future."}]}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-about-us"]],decls:2,vars:1,consts:[["id","about-us",1,"text-gray-400","bg-black","body-font","pt-24","px-20","max-md:px-4"],[3,"class",4,"ngFor","ngForOf"],["alt","a2sv students photo",1,"object-cover","object-center","rounded-3xl","aspect-[720/600]",3,"src"],[1,"title-font","sm:text-4xl","text-3xl","mb-4","font-medium","text-white"],[1,"mb-8","text-gray-300","leading-relaxed"],["class","relative border border-white border-opacity-50 my-6 rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20",4,"ngIf"],[1,"relative","border","border-white","border-opacity-50","my-6","rounded-full","px-3","py-1","text-sm","leading-6","text-gray-600","ring-1","ring-gray-900/10","hover:ring-gray-900/20"],["target","_blank",1,"font-semibold","text-indigo-600",3,"click","href"],["aria-hidden","true",1,"absolute","inset-0"],["aria-hidden","true"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.DNE(1,be,11,14,"div",1),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",o.contents))},dependencies:[s.Sq,s.bT]})}return n})(),ke=(()=>{class n{constructor(t){this.modalService=t,this.closeModalEvent=new e.bkB}get isModalOpen(){return this.modalService.isModalOpen}closeModal(){this.modalService.closeModal()}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(g))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-what-we-provide"]],outputs:{closeModalEvent:"closeModalEvent"},decls:35,vars:0,consts:[[1,"text-gray-300","p-3","w-full","body-font","flex","flex-col","items-center","rounded-3xl","h-full","relative"],[1,"absolute","z-51","top-0","right-0","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"w-full","h-[80vh]","body-font","flex","flex-col","items-center","overflow-auto"],[1,"container","px-5","py-12","bg-random","max-md:bg-no-repeat"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","text-break","text-justify","justify-between"],[1,"flex","flex-wrap","justify-center"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"p-2","border-gray-600","rounded"],[1,"text-lg","sm:text-2xl","font-[700]","mb-2","group-hover:text-purple-800"],[1,"leading-relaxed","text-base","mb-4"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","group","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"text-lg","sm:text-2xl","font-bold","font","mb-2"],[1,"leading-relaxed","mb-4"],[1,"inline-flex","space-x-3","mb-6","justify-center","hover:border-indigo-600","border-white","border","border-opacity-50","rounded-full","px-6","py-2","text-white","hover:text-indigo-600","items-center","sm:justify-start","mt-2"],[1,"flex","flex-col","justify-center"],["href","https://t.me/+yqzQh04AAXRjZGQ0","target","_blank",1,"font-semibold"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"button",1),e.bIt("click",function(){return o.closeModal()}),e.qSk(),e.j41(2,"svg",2),e.nrm(3,"line",3)(4,"line",4),e.k0s()(),e.joV(),e.j41(5,"div",5)(6,"div",6)(7,"div",7)(8,"h1",8),e.EFF(9," What We Provide "),e.k0s(),e.j41(10,"p",9),e.EFF(11," A2SV is dedicated to advancing African students by providing accessible and free education\u2014both remote and in-person\u2014to cultivate their data structure and algorithms, communication skills and problem solving skills. Our comprehensive program begins with a community education initiative, empowering students to create impactful software projects. Beyond skill development, our ultimate goal is to upskill students, connect them with top-tier tech companies like Google, Meta, Palantir, and Databricks, and inspire them to build innovative solutions that contribute to the progress of their communities. It's not just education; it's a transformative journey toward empowerment, opportunities, and sustainable growth in Africa's tech landscape. "),e.k0s()(),e.j41(12,"div",10)(13,"div",11)(14,"div",12)(15,"h2",13),e.EFF(16," Community Education "),e.k0s(),e.j41(17,"p",14),e.EFF(18," The Community Education Program is the entry to A2SV, allowing students to start their learning journey until the next intake season. "),e.k0s()()(),e.j41(19,"div",15)(20,"div",12)(21,"h2",16),e.EFF(22," In-Person Education "),e.k0s(),e.j41(23,"p",14),e.EFF(24," In-person program for talented students from Addis Ababa University, AASTU, and University of Ghana, offering hands-on training on campus. "),e.k0s()()(),e.j41(25,"div",11)(26,"div",12)(27,"h2",16),e.EFF(28," Remote Education "),e.k0s(),e.j41(29,"p",17),e.EFF(30," Remote education allows students from all over the world access to its high-quality education through a virtual setting. "),e.k0s()()()()(),e.j41(31,"div",18)(32,"div",19)(33,"a",20),e.EFF(34,"Join Us"),e.k0s()()()()())},styles:[".border-gradient[_ngcontent-%COMP%]{border-width:4px;border-image:linear-gradient(to right,#6488e4,#ff6b81);border-image-slice:1}"]})}return n})();function _e(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"p"),e.EFF(3,"We use cookies to improve user experience. Do you consent?"),e.k0s(),e.j41(4,"div",3)(5,"button",4),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.giveConsent())}),e.EFF(6," Accept "),e.k0s(),e.j41(7,"button",5),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.rejectConsent())}),e.EFF(8," Reject "),e.k0s()()()()}}let xe=(()=>{class n{constructor(t){this.consentService=t}ngOnInit(){this.consentService.getConsentStatus()||this.consentService.showConsentUI(!0)}showConsent(){return this.consentService.shouldShowConsentUI()}giveConsent(){this.consentService.giveConsent()}rejectConsent(){this.consentService.withdrawConsent(),this.consentService.showConsentUI(!1)}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(b))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-consent"]],decls:1,vars:1,consts:[["class","consent-modal",4,"ngIf"],[1,"consent-modal"],[1,"modal-content"],[1,"btn-container"],[1,"consent-btn","accept",3,"click"],[1,"consent-btn","reject",3,"click"]],template:function(i,o){1&i&&e.DNE(0,_e,9,0,"div",0),2&i&&e.Y8G("ngIf",o.showConsent())},dependencies:[s.bT],styles:[".consent-modal[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}.modal-content[_ngcontent-%COMP%]{background-color:#000;padding:30px;text-align:center;border-radius:10px;max-width:90%;max-height:50%}.btn-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;justify-content:space-around;margin-top:20px}.consent-text[_ngcontent-%COMP%]{color:#fff;margin-bottom:20px}.button-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.consent-btn[_ngcontent-%COMP%]{padding:10px 20px;border:2px solid transparent;border-radius:5px;color:#fff;cursor:pointer;font-size:16px}.consent-btn[_ngcontent-%COMP%]:hover{background-color:purple}.accept[_ngcontent-%COMP%]{background-color:green;margin-left:10px}.reject[_ngcontent-%COMP%]{background-color:red}"]})}return n})();function ye(n,a){if(1&n&&(e.j41(0,"div",24)(1,"a",25)(2,"div",26),e.nrm(3,"img",27),e.k0s(),e.j41(4,"p",28),e.EFF(5),e.k0s(),e.j41(6,"div",29)(7,"div",30),e.nrm(8,"img",31),e.k0s()()()()),2&n){const t=a.$implicit,i=a.index,o=e.XpG();e.R7$(),e.Y8G("href",o.modalData.linkedin[i],e.B4B),e.R7$(2),e.FS9("src",t,e.B4B),e.R7$(2),e.SpI(" ",o.modalData.teamMembers[i].toUpperCase()," ")}}function je(n,a){if(1&n&&(e.j41(0,"div")(1,"div",32)(2,"div",33),e.nrm(3,"img",34),e.k0s(),e.j41(4,"span",35),e.EFF(5),e.k0s()()()),2&n){const t=a.$implicit;e.R7$(3),e.Y8G("src","assets/"+t+".png",e.B4B)("alt",t),e.R7$(2),e.JRh(t)}}function Ce(n,a){if(1&n&&(e.j41(0,"button",36)(1,"a",37),e.EFF(2,"Demo"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("href",t.modalData.demo,e.B4B)}}function Me(n,a){if(1&n&&(e.j41(0,"button",36)(1,"a",38),e.EFF(2,"Pitch"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("href",t.modalData.pitch,e.B4B)}}function Fe(n,a){if(1&n&&(e.j41(0,"button",36)(1,"a",39),e.EFF(2,"Website"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("href",t.modalData.webUrl,e.B4B)}}function Ie(n,a){if(1&n&&(e.j41(0,"button",36)(1,"a",39),e.EFF(2,"Mobile"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("href",t.modalData.mobileUrl,e.B4B)}}function Ee(n,a){if(1&n&&(e.j41(0,"button",36)(1,"a",39),e.EFF(2,"Slack"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("href",t.modalData.slackUrl,e.B4B)}}let Se=(()=>{class n{constructor(){this.showModal=!1,this.modalData={},this.closeModalEvent=new e.bkB}closeModal(){this.closeModalEvent.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-winner_modal"]],inputs:{showModal:"showModal",modalData:"modalData"},outputs:{closeModalEvent:"closeModalEvent"},decls:42,vars:11,consts:[[1,"w-full","h-full","flex","justify-center","overflow-hidden","bg-white","bg-opacity-30","py-2"],[1,"container","relative","overflow-auto","grid","grid-cols-1","md:grid-cols-2","md:flex-row","w-full","lg:w-[80%]","lg:max-h-[90vh]","bg-center","bg-black","rounded","shadow-lg","rounded-t-2xl","text-gray-300"],[1,"absolute","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","top-0","mt-1","mr-1","right-0","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"hidden","md:visible","md:flex","flex-col","justify-start","items-center","p-3","h-full","bg-gray-500","text-white"],[1,"my-4","text-center","p-2","md:px-5","text-xl","font-bold","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4","mx-2","overflow-auto","mt-3"],["class","relative group flex flex-col items-center",4,"ngFor","ngForOf"],[1,"p-3","flex","flex-col","justify-between","h-full"],[1,"p-2","md:px-5"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-2","mt-5","justify-between"],[1,"flex","flex-col","justify-between","h-full","flex-1","px-2","py-3","border","border-gray-500","mr-3"],[1,"mb-2","md:mb-4"],[1,"font-bold","lg:text-lg","text-transparent","bg-gradient-to-r","from-indigo-600","to","to-pink-500","bg-clip-text","break-words"],[1,"mb-2","md:mb-4","break-words"],[1,"text-sm","md:text-lg","mt-7","md:mt-10","mb-5"],[1,"flex","flex-col","justify-start"],[1,"my-3"],[1,"flex"],[4,"ngFor","ngForOf"],[1,"border-t","border-gray-800","mt-3","text-xs","px-4","flex","justify-between","overflow-auto","py-5"],["class","transition-transform duration-300 transform hover:scale-110 my-2",4,"ngIf"],[1,"relative","group","flex","flex-col","items-center"],["target","_blank",1,"w-full","h-full","px-2","bg-gray-700","pt-2","rounded-t-lg","group-hover:bg-gray-600","transition-transform","transform-gpu","hover:scale-105","flex","flex-col","justify-between","items-center",3,"href"],[1,"w-[100px]","h-[100px]","lg:w-[120px]","lg:h-[120px]","text-center","bg-gray-500","p-2","rounded-full","transition-transform","transform-gpu","hover:scale-105","hover:bg-gray-400"],["alt","team",1,"bg-white","w-full","h-full","object-cover","object-center","flex-shrink-0","rounded-full","mr-4",3,"src"],[1,"text-center"],[1,"w-full","flex","justify-center","items-center"],[1,"opacity-0","group-hover:opacity-100","text-white"],["src","assets/Linkedin.svg","alt","",1,"w-10","h-6","text-white"],[1,"flex","flex-col","justify-center","items-center","mr-3"],[1,"w-[50px]","h-[25px]","mr-2","mb-1"],[1,"object-cover","w-full","h-full",3,"src","alt"],[1,"text-xs","text-left"],[1,"transition-transform","duration-300","transform","hover:scale-110","my-2"],["target","_blank",1,"px-5","py-3","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-500","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"button",2),e.bIt("click",function(){return o.closeModal()}),e.qSk(),e.j41(3,"svg",3),e.nrm(4,"line",4)(5,"line",5),e.k0s()(),e.joV(),e.j41(6,"div",6)(7,"h5",7),e.EFF(8," Team Members "),e.k0s(),e.j41(9,"div",8),e.DNE(10,ye,9,3,"div",9),e.k0s()(),e.j41(11,"div",10)(12,"section",11)(13,"section",12)(14,"h5",13)(15,"span",14),e.EFF(16,"Team Name"),e.k0s(),e.j41(17,"strong",15),e.EFF(18),e.k0s()(),e.j41(19,"h5",13)(20,"span",16),e.EFF(21,"Project Name "),e.k0s(),e.j41(22,"strong",15),e.EFF(23),e.k0s()(),e.j41(24,"h5",13)(25,"span",16),e.EFF(26,"Prize "),e.k0s(),e.j41(27,"strong",15),e.EFF(28),e.k0s()()(),e.j41(29,"p",17),e.EFF(30),e.k0s(),e.j41(31,"div",18)(32,"p",19),e.EFF(33,"Team Nationalities"),e.k0s(),e.j41(34,"div",20),e.DNE(35,je,6,3,"div",21),e.k0s()()(),e.j41(36,"div",22),e.DNE(37,Ce,3,1,"button",23)(38,Me,3,1,"button",23)(39,Fe,3,1,"button",23)(40,Ie,3,1,"button",23)(41,Ee,3,1,"button",23),e.k0s()()()()),2&i&&(e.R7$(10),e.Y8G("ngForOf",o.modalData.teamImage),e.R7$(8),e.JRh(o.modalData.team),e.R7$(5),e.JRh(o.modalData.projectname),e.R7$(5),e.SpI("$",o.modalData.money,""),e.R7$(2),e.SpI(" ",o.modalData.prize_description," "),e.R7$(5),e.Y8G("ngForOf",o.modalData.countries),e.R7$(2),e.Y8G("ngIf",o.modalData.demo),e.R7$(),e.Y8G("ngIf",o.modalData.pitch),e.R7$(),e.Y8G("ngIf",o.modalData.webUrl),e.R7$(),e.Y8G("ngIf",o.modalData.mobileUrl),e.R7$(),e.Y8G("ngIf",o.modalData.slackUrl))},dependencies:[s.Sq,s.bT],styles:["[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:gray}.container[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}"]})}return n})();function ze(n,a){if(1&n&&(e.j41(0,"div",5),e.qSk(),e.j41(1,"svg",6),e.nrm(2,"path",7),e.k0s(),e.joV(),e.j41(3,"p",8),e.EFF(4),e.k0s()()),2&n){const t=a.$implicit;e.R7$(4),e.SpI("",t," ")}}let Te=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-prize-card"]],inputs:{prize:"prize"},decls:10,vars:10,consts:[[1,"container","lg:max-w-[420px]"],["alt","",1,"absolute","-top-3","-right-3","w-1/4","max-sm:w-1/4",3,"src"],[1,"text-xl","py-3","font-semibold","text-white"],[1,"text-xl"],["class","flex gap-x-3 py-[5px] items-center mt-4 border-t border-white border-opacity-30",4,"ngFor","ngForOf"],[1,"flex","gap-x-3","py-[5px]","items-center","mt-4","border-t","border-white","border-opacity-30"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-6","text-[#AC6AFF]","flex-none"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule","evenodd"],[1,"text-gray-300","leading-relaxed"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div"),e.nrm(2,"img",1),e.j41(3,"h2"),e.EFF(4),e.k0s(),e.j41(5,"p",2),e.EFF(6,"$ "),e.j41(7,"span",3),e.EFF(8),e.k0s()(),e.DNE(9,ze,5,1,"div",4),e.k0s()()),2&i&&(e.R7$(),e.ZvI("","First"==(null==o.prize?null:o.prize.place)?"py-[32px]":"py-[16px]"," relative w-full lg:w-[100] px-5 flex flex-col bg-[#0E0C15] rounded-3xl border-white border-[0.25px] border-opacity-30"),e.R7$(),e.FS9("src",null==o.prize?null:o.prize.image,e.B4B),e.R7$(),e.ZvI("","First"==(null==o.prize?null:o.prize.place)?"text-[#FFC876]":"Second"==(null==o.prize?null:o.prize.place)?"text-[#C0C0C0]":"text-[#CD7F32]"," text-xl opacity-100"),e.R7$(),e.SpI("",null==o.prize?null:o.prize.place," Place "),e.R7$(4),e.JRh(null==o.prize?null:o.prize.prize),e.R7$(),e.Y8G("ngForOf",null==o.prize?null:o.prize.awards))},dependencies:[s.Sq]})}return n})(),Ae=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-track-card"]],inputs:{track:"track"},decls:13,vars:3,consts:[[1,"max-w-4xl","flex","w-full","h-full","flex-col","items-stretch","justify-stretch","relative","overflow-hidden","p-4"],[1,"relative","break-words","h-full","group"],[1,"absolute","-inset-1","bg-gradient-to-r","from-purple-600","to-yellow-600","rounded-lg","blur","opacity-60","transition","duration-1000","group-hover:duration-200"],[1,"relative","h-full","p-3","bg-[#0E0C15]","rounded-lg","leading-none","flex","items-stretch","justify-start","space-x-6"],["fill","currentColor","viewBox","0 0 24 24",1,"w-6","h-6","text-purple-600","flex-shrink-0"],["fill-rule","evenodd","d","M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 00-.584.859 6.753 6.753 0 006.138 5.6 6.73 6.73 0 002.743 1.346A6.707 6.707 0 019.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 00-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 00.75-.75 2.25 2.25 0 00-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 01-1.112-3.173 6.73 6.73 0 002.743-1.347 6.753 6.753 0 006.139-5.6.75.75 0 00-.585-.858 47.077 47.077 0 00-3.07-.543V2.62a.75.75 0 00-.658-.744 49.22 49.22 0 00-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 00-.657.744zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 013.16 5.337a45.6 45.6 0 012.006-.343v.256zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 01-2.863 3.207 6.72 6.72 0 00.857-3.294z","clip-rule","evenodd"],[1,"space-y-2","flex","flex-col","justify-between"],[1,"text-white","break-all","text-xl"],[1,"text-gray-400","py-2","whitespace-normal"],["target","_blank",1,"block","text-indigo-400","text-xl"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"div",2),e.j41(3,"div",3),e.qSk(),e.j41(4,"svg",4),e.nrm(5,"path",5),e.k0s(),e.joV(),e.j41(6,"div",6)(7,"p",7),e.EFF(8),e.k0s(),e.j41(9,"p",8),e.EFF(10),e.k0s(),e.j41(11,"h2",9),e.EFF(12),e.k0s()()()()()),2&i&&(e.R7$(8),e.JRh(null==o.track?null:o.track.title),e.R7$(2),e.JRh(null==o.track?null:o.track.description),e.R7$(2),e.SpI("$",null==o.track?null:o.track.prize,""))},styles:['.plan-card[_ngcontent-%COMP%]{background:#151517;width:15rem;padding-left:2rem;padding-right:2rem;padding-top:10px;padding-bottom:20px;border-radius:10px;font-family:Poppins,sans-serif}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:15px;font-size:27px;font-weight:600}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-top:-4px;color:#4d4d4d;font-size:12px;font-weight:400}.etiquet-price[_ngcontent-%COMP%]{position:relative;background:indigo;width:14.46rem;margin-left:-.65rem;padding:.2rem 1.2rem;border-radius:5px 0 0 5px}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:.4rem;display:flex;font-size:1.9rem;font-weight:500}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"$";margin-right:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:after{margin-left:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;bottom:-23px;right:0;width:0;height:0;border-top:13px solid indigo;border-bottom:10px solid transparent;border-right:13px solid transparent;z-index:-6}.benefits-list[_ngcontent-%COMP%]{margin-top:16px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;font-size:14px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#4d4d4d;list-style:none;margin-bottom:.2rem;display:flex;align-items:center;gap:.5rem}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:.9rem;fill:currentColor}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:300}.button-get-plan[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:1.2rem}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background:#000446;color:#fff;padding:10px 15px;border-radius:5px;text-decoration:none;font-size:.8rem;letter-spacing:.05rem;font-weight:500;transition:all .3s ease}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{transform:translateY(-3%);box-shadow:0 3px 10px #cfd4dee6}.button-get-plan[_ngcontent-%COMP%] .svg-rocket[_ngcontent-%COMP%]{margin-right:10px;width:.9rem;fill:currentColor}']})}return n})();function Be(n,a){1&n&&e.nrm(0,"app-track-card",10),2&n&&e.Y8G("track",a.$implicit)}let Re=(()=>{class n{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, food and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#FFC876",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#AC6AFF",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 6.","Custom-designed A2SV swag."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#E298FF",image:"assets/bronze 1.png",awards:this.awards},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-prize2024"]],decls:14,vars:4,consts:[["id","prize2024",1,"flex","fade","min-h-screen","py-24","max-sm:px-4","max-md:py-16","max-xl:px-12","px-32","flex-col","justify-center"],[1,"sm:text-[4rem]","text-center","text-4xl","font-semibold","mb-4","text-white"],[1,"flex","pb-16","items-center","max-lg:flex-wrap","max-sm:flex-col","gap-x-12","gap-y-8","pt-12","justify-center"],[1,"max-lg:order-2"],[3,"prize"],[1,"max-lg:order-1"],[1,"max-lg:order-3"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"grid","grid-cols-2","pt-8","gap-4","max-lg:grid-cols-2","max-md:grid-cols-1","items-stretch"],[3,"track",4,"ngFor","ngForOf"],[3,"track"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"p",1),e.EFF(2,"$30K Prize"),e.k0s(),e.j41(3,"div",2)(4,"div",3),e.nrm(5,"app-prize-card",4),e.k0s(),e.j41(6,"div",5),e.nrm(7,"app-prize-card",4),e.k0s(),e.j41(8,"div",6),e.nrm(9,"app-prize-card",4),e.k0s()(),e.j41(10,"p",7),e.EFF(11,"Other Prize Tracks"),e.k0s(),e.j41(12,"div",8),e.DNE(13,Be,1,1,"app-track-card",9),e.k0s()()),2&i&&(e.R7$(5),e.Y8G("prize",o.secondPrize),e.R7$(2),e.Y8G("prize",o.firstPrize),e.R7$(2),e.Y8G("prize",o.thirdPrize),e.R7$(4),e.Y8G("ngForOf",o.tracks))},dependencies:[s.Sq,Te,Ae]})}return n})();function Oe(n,a){1&n&&e.nrm(0,"div",16)}function Pe(n,a){1&n&&e.nrm(0,"div",16)}function Le(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"button",4),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.qSk(),e.j41(3,"svg",5),e.nrm(4,"path",6),e.k0s()(),e.joV(),e.j41(5,"iframe",7),e.bIt("load",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())})("error",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())}),e.k0s(),e.j41(6,"div",8),e.DNE(7,Oe,1,0,"div",9),e.k0s()(),e.j41(8,"div",10)(9,"div",11)(10,"button",12),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.j41(11,"span",13),e.EFF(12,"Close menu"),e.k0s(),e.qSk(),e.j41(13,"svg",5),e.nrm(14,"path",6),e.k0s()(),e.joV(),e.j41(15,"iframe",14),e.bIt("load",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())})("error",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())}),e.k0s(),e.j41(16,"div",15),e.DNE(17,Pe,1,0,"div",9),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("src",t.sanitizedUrl,e.f$h),e.R7$(2),e.Y8G("ngIf",t.isIframeLoading),e.R7$(8),e.Y8G("src",t.sanitizedUrl,e.f$h),e.R7$(2),e.Y8G("ngIf",t.isIframeLoading)}}function Ve(n,a){if(1&n){const t=e.RV6();e.j41(0,"dialog",17)(1,"form",18)(2,"section",19)(3,"div",20)(4,"div",21)(5,"div",22),e.nrm(6,"img",23),e.k0s(),e.j41(7,"div",24)(8,"h3",25),e.EFF(9,"Congrats on registering!\u{1f389} Share this moment with your friends! Copy the text below and spread the word on your social media using the respective buttons provided."),e.k0s(),e.j41(10,"div",26)(11,"textarea",27),e.EFF(12,"I've just registered for the A2SV Hackathon! Join me and be part of this hackathon! https://hackathon.a2sv.org"),e.k0s(),e.j41(13,"button",28),e.EFF(14,"Copy Text"),e.k0s()(),e.j41(15,"span",29)(16,"a",30),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setActiveButton("telegram",o.telegramSharingLink))}),e.qSk(),e.j41(17,"svg",31),e.nrm(18,"path",32),e.k0s()(),e.joV(),e.j41(19,"a",33),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setActiveButton("facebook",o.facebookSharingLink))}),e.qSk(),e.j41(20,"svg",34),e.nrm(21,"path",35),e.k0s()(),e.joV(),e.j41(22,"a",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setActiveButton("twitter",o.twitterSharingLink))}),e.qSk(),e.j41(23,"svg",37),e.nrm(24,"path",38),e.k0s()(),e.joV(),e.j41(25,"a",39),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setActiveButton("linkedin",o.linkedinSharingLink))}),e.qSk(),e.j41(26,"svg",40),e.nrm(27,"path",41)(28,"circle",42),e.k0s()()()()()()(),e.joV(),e.j41(29,"div",43)(30,"button",44),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeForReal())}),e.EFF(31,"Close"),e.k0s()()()()}}let Ge=(()=>{class n{constructor(t){this.sanitizer=t,this.showModal=!1,this.registrationLink="",this.comingName="",this.closeModalEvent=new e.bkB,this.isIframeLoading=!0,this.showShareModal=!1,this.telegramSharingLink="https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.linkedinSharingLink="https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&summary=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.twitterSharingLink="https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.facebookSharingLink="https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&t=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.instagramSharingLink="https://www.instagram.com/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org"}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}setActiveButton(t,i){window.open(i,"_blank")}closeModal(){window.document.getElementById("share_modal")?.showModal(),this.showShareModal=!0}closeForReal(){window.document.getElementById("share_modal")?.close(),this.isIframeLoading=!0,this.closeModalEvent.emit()}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(m.up))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink",comingName:"comingName"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.OA$],decls:2,vars:2,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],["id","share_modal","class","modal mt-4",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"load","error","src"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"load","error","src"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"],["id","share_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4","flex","justify-center","items-center"],[1,"grid","grid-cols-1","md:grid-cols-2","justify-center","items-center","w-full"],[1,"h-full","w-full","bg-opacity-40","rounded-lg","overflow-hidden","relative"],["src","https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png","alt","Hackathon Attendance",1,"w-full","lg:w-3/4","mx-auto"],[1,"h-full","w-full","max-md:mt-4","flex","flex-col","items-center","justify-center"],[1,"text-lg","text-gray-100","font-semibold","mb-3","text-center"],[1,"flex","flex-col","items-center","justify-center","w-full","mb-4"],["id","shareText",1,"textarea","textarea-bordered","w-full","h-auto"],["onclick","navigator.clipboard.writeText(document.getElementById('shareText').value)",1,"btn","btn-primary","mt-4"],[1,"inline-flex","max-sm:mb-4","sm:mt-0","gap-x-3","items-center","justify-center"],["target","_blank","href","https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png"e=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"modal-action"],[1,"btn",3,"click"]],template:function(i,o){1&i&&e.DNE(0,Le,18,4,"div",0)(1,Ve,32,0,"dialog",1),2&i&&(e.Y8G("ngIf",o.showModal),e.R7$(),e.Y8G("ngIf",o.showShareModal))},dependencies:[s.bT,d.qT,d.cb]})}return n})(),He=(()=>{class n{constructor(){this.eventDate="July 6",this.eventText="Registration will be over on",this.eventTime="11:59 PM EAT",this.Number=Number,this.targetDate=new Date("2024-07-06T20:59:00Z"),this.semiFinalDate=new Date("2023-11-11T10:00:00")}chooseTargetDate(){return(new Date).getTime(){this.calculateTimeLeft()},1e3)}calculateTimeLeft(){const t=new Date,i=this.chooseTargetDate()-t.getTime();this.daysLeft=Math.floor(i/864e5),this.hoursLeft=Math.floor(i%864e5/36e5),this.minutesLeft=Math.floor(i%36e5/6e4),this.secondsLeft=Math.floor(i%6e4/1e3)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-count-down"]],decls:30,vars:7,consts:[[1,"text-white","rounded-xl"],[1,"text-lg","mb-2","font-extralight","lg:inline","lg:whitespace-nowrap"],[1,"font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text"],[1,"text-3xl","max-sm:text-2xl","gap-y-8","text-center","flex","inline-block","max-sm:flex-wrap","w-full","items-center","justify-center","sm:justify-start","mt-2"],[1,"w-30","mx-1","px-auto","py-2","max-sm:p-1","text-indigo-700","rounded"],["x-text","days",1,"font-mono","text-center","leading-none","text-white"],[1,"font-mono","text-center","uppercase","text-sm","text-white","leading-none"],["x-text","hours",1,"font-mono","text-center","leading-none","text-white"],["x-text","minutes",1,"font-mono","text-center","leading-none","text-white"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"h2",1),e.EFF(2),e.j41(3,"span",2),e.EFF(4),e.k0s(),e.EFF(5," at "),e.j41(6,"span",2),e.EFF(7),e.k0s(),e.EFF(8,":"),e.k0s(),e.j41(9,"div",3)(10,"div",4)(11,"div",5),e.EFF(12),e.k0s(),e.j41(13,"div",6),e.EFF(14,"Days"),e.k0s()(),e.j41(15,"div",4)(16,"div",7),e.EFF(17),e.k0s(),e.j41(18,"div",6),e.EFF(19,"Hours"),e.k0s()(),e.j41(20,"div",4)(21,"div",8),e.EFF(22),e.k0s(),e.j41(23,"div",6),e.EFF(24,"Minutes"),e.k0s()(),e.j41(25,"div",4)(26,"div",8),e.EFF(27),e.k0s(),e.j41(28,"div",6),e.EFF(29,"Seconds"),e.k0s()()()()),2&i&&(e.R7$(2),e.SpI("",o.eventText," "),e.R7$(2),e.JRh(o.eventDate),e.R7$(3),e.SpI(" ",o.eventTime,""),e.R7$(5),e.JRh(o.Number(o.daysLeft)>9?o.daysLeft:"0"+o.daysLeft),e.R7$(5),e.JRh(o.Number(o.hoursLeft)>9?o.hoursLeft:"0"+o.hoursLeft),e.R7$(5),e.JRh(o.Number(o.minutesLeft)>9?o.minutesLeft:"0"+o.minutesLeft),e.R7$(5),e.JRh(o.Number(o.secondsLeft)>9?o.secondsLeft:"0"+o.secondsLeft))}})}return n})();function De(n,a){1&n&&e.nrm(0,"div",15)}function $e(n,a){1&n&&e.nrm(0,"div",15)}function Ne(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"button",3),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.qSk(),e.j41(3,"svg",4),e.nrm(4,"path",5),e.k0s()(),e.joV(),e.j41(5,"iframe",6),e.bIt("load",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())})("error",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())}),e.k0s(),e.j41(6,"div",7),e.DNE(7,De,1,0,"div",8),e.k0s()(),e.j41(8,"div",9)(9,"div",10)(10,"button",11),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.j41(11,"span",12),e.EFF(12,"Close menu"),e.k0s(),e.qSk(),e.j41(13,"svg",4),e.nrm(14,"path",5),e.k0s()(),e.joV(),e.j41(15,"iframe",13),e.bIt("load",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())})("error",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())}),e.k0s(),e.j41(16,"div",14),e.DNE(17,$e,1,0,"div",8),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("src",t.sanitizedUrl,e.f$h),e.R7$(2),e.Y8G("ngIf",t.isIframeLoading),e.R7$(8),e.Y8G("src",t.sanitizedUrl,e.f$h),e.R7$(2),e.Y8G("ngIf",t.isIframeLoading)}}let Ye=(()=>{class n{constructor(t){this.sanitizer=t,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.bkB,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(m.up))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-mentors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.OA$],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"load","error","src"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"load","error","src"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(i,o){1&i&&e.DNE(0,Ne,18,4,"div",0),2&i&&e.Y8G("ngIf",o.showModal)},dependencies:[s.bT]})}return n})();function Ue(n,a){1&n&&e.nrm(0,"div",15)}function Xe(n,a){1&n&&e.nrm(0,"div",15)}function We(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"button",3),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.qSk(),e.j41(3,"svg",4),e.nrm(4,"path",5),e.k0s()(),e.joV(),e.j41(5,"iframe",6),e.bIt("load",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())})("error",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())}),e.k0s(),e.j41(6,"div",7),e.DNE(7,Ue,1,0,"div",8),e.k0s()(),e.j41(8,"div",9)(9,"div",10)(10,"button",11),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.j41(11,"span",12),e.EFF(12,"Close menu"),e.k0s(),e.qSk(),e.j41(13,"svg",4),e.nrm(14,"path",5),e.k0s()(),e.joV(),e.j41(15,"iframe",13),e.bIt("load",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())})("error",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onIframeLoad())}),e.k0s(),e.j41(16,"div",14),e.DNE(17,Xe,1,0,"div",8),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(5),e.Y8G("src",t.sanitizedUrl,e.f$h),e.R7$(2),e.Y8G("ngIf",t.isIframeLoading),e.R7$(8),e.Y8G("src",t.sanitizedUrl,e.f$h),e.R7$(2),e.Y8G("ngIf",t.isIframeLoading)}}let qe=(()=>{class n{constructor(t){this.sanitizer=t,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.bkB,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(m.up))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-advisors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.OA$],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"load","error","src"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"load","error","src"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(i,o){1&i&&e.DNE(0,We,18,4,"div",0),2&i&&e.Y8G("ngIf",o.showModal)},dependencies:[s.bT]})}return n})();function Je(n,a){if(1&n){const t=e.RV6();e.j41(0,"dialog",16)(1,"form",17)(2,"section",18)(3,"div",19)(4,"div",20)(5,"div",21)(6,"div",22)(7,"div")(8,"p",23),e.EFF(9,"Don't have a team yet? Register individually and we'll match you with other talented developers, designers, and problem solvers."),e.k0s()(),e.j41(10,"div",24)(11,"a",25),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onRegisterIndividual())}),e.nrm(12,"span",26),e.j41(13,"span",27),e.EFF(14,"Register Individually"),e.k0s()()()()(),e.j41(15,"div",21)(16,"div",22)(17,"div")(18,"p",23),e.EFF(19,"Already have a team? If you are the captain, register your team and start working on your project today. "),e.k0s()(),e.j41(20,"div",28)(21,"a",29),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onRegisterTeam())}),e.nrm(22,"span",26),e.j41(23,"span",27),e.EFF(24,"Register as a Team"),e.k0s()()()()()()()(),e.j41(25,"div",30)(26,"button",31),e.EFF(27,"Close"),e.k0s()()()()}}let Ze=(()=>{class n{constructor(){this.activeButton="",this.images=["https://res.cloudinary.com/eskalate/image/upload/v1714657507/Hackathon/Expo-min.png","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","https://res.cloudinary.com/eskalate/image/upload/v1700746297/Hackathon/yyeni.jpg","https://res.cloudinary.com/eskalate/image/upload/v1703573932/Hackathon/Architect.jpg","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/hackathon_coding-min.jpg"],this.isMuted=!0,this.slickConfig={slidesToShow:3,slidesToScroll:3,autoplaySpeed:3e3,autoplay:!0,pauseOnHover:!0,infinite:!0,arrows:!0,responsive:[{breakpoint:1024,settings:{arrows:!0,infinite:!0,slidesToShow:2,slideToScroll:2}},{breakpoint:768,settings:{slidesToShow:1,arrows:!0}}]},this.toggleChatEvent=new e.bkB,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.indivisualRegistrationLink="https://a2sv.typeform.com/to/yxMUctSN",this.teamRegistrationLink="https://a2sv.typeform.com/to/qtKuYH58",this.mentorsRegistrationLink="https://form.typeform.com/to/ShJTk212",this.advisorsRegistrationLink="https://form.typeform.com/to/opvWnrn7",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.individualName="individual",this.teamName="team",this.advisorName="advisor",this.mentorName="mentor",this.shareData={title:"MDN",text:"Learn web development on MDN!",url:"https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"},this.sharedImgUrl="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png",this.shareImgTitle="Hackathon Links!",this.shareText="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}onRegisterTeam(){this.toggleChatEvent.emit(!1),this.showTeamRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onRegisterIndividual(){this.toggleChatEvent.emit(!1),this.showIndividualRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onShowMentorsModal(){this.toggleChatEvent.emit(!1),this.showMentorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onShowAdvisorsModal(){this.toggleChatEvent.emit(!1),this.showAdvisorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onHideModal(){this.toggleChatEvent.emit(!0),this.showModal=!1,this.showGetInvolvedModal=!0,this.showRegistrationModal=!0,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,document.body.classList.remove("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.remove("z-0"),document.getElementById("prizes")?.classList.add("z-40"),document.getElementById("partners")?.classList.remove("hidden"),document.getElementById("info")?.classList.remove("hidden"),document.getElementById("judges")?.classList.remove("hidden"),document.getElementById("eligibility")?.classList.remove("hidden"),document.getElementById("about-us")?.classList.remove("hidden"),document.getElementById("footer")?.classList.remove("hidden")}closeModal(){this.showRegistrationModal=!1}scrollDown(){const t=!document.body.classList.contains("overflow-hidden"),i=document.getElementById("prizes");null!=i&&t&&i.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){this.activeButton=t,window.open(i,"_blank")}shareImage(){console.log("share clicked"),navigator.share?navigator.share({title:this.shareImgTitle,text:this.shareText,url:this.sharedImgUrl}).then(()=>{console.log("Thanks for sharing!")}).catch(t=>{console.error("Error sharing:",t)}):this.fallbackShare()}fallbackShare(){alert("Web Share API is not supported in this browser. Please use the share buttons below.")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-landing"]],outputs:{toggleChatEvent:"toggleChatEvent"},decls:26,vars:21,consts:[["id","landing",1,"min-h-screen","pt-[0px]","lg:pt-[0px]","bg-blue-950","bg-opacity-50","relative"],["autoplay","","loop","",1,"w-full","h-full","object-cover","absolute","z-0",3,"muted"],["src","https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4","type","video/mp4"],[3,"closeModalEvent","comingName","showModal","registrationLink"],[3,"closeModalEvent","registrationLink","showModal"],[1,"h-[100vh]","lg:pt-[18vh]","px:5","md:px-20","flex","flex-col","max-lg:justify-center","justify-start","items-start","z-1","relative","drop-shadow-2xl","bg-black","bg-opacity-50"],[1,"text-white","px-5"],[1,"left","col-span-2","p-5","md:h-full","flex","flex-col","items-center","md:items-start","justify-between"],[1,"w-full","flex","flex-col","max-md:items-center","items-start","leading-relaxed","mb-5"],[1,"text-left","w-full","max-md:text-center","text-[24px]","font-bold","md:text-[36px]","lg:text-[40px]"],[1,"text-left","w-full","max-md:text-center","text-xl","mt-6","mb-10","md:text-2xl","lg:text-3xl"],[1,"inline-block","pl-0","max-md:text-center"],[1,"max-md:mt-8","flex","flex-col","md:flex-row","justify-center","max-md:items-center","md:justify-start","mt-3"],["onClick","document.getElementById('register_modal').showModal()"],[3,"click"],["id","register_modal","class","modal mt-4",4,"ngIf"],["id","register_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4"],[1,"flex","flex-wrap","justify-center","-m-4"],[1,"p-4","lg:w-1/3"],[1,"h-full","flex","flex-col","justify-between","bg-gray-800","bg-opacity-40","px-8","py-8","rounded-lg","overflow-hidden","relative"],[1,"leading-relaxed","mb-3"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end"],[1,"rounded-full","cursor-pointer","modal-action","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end","modal-action"],[1,"rounded-full","cursor-pointer","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"],[1,"modal-action"],["onClick","document.getElementById('register_modal').close()",1,"btn"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"video",1),e.nrm(2,"source",2),e.EFF(3," Your browser does not support the video tag. "),e.k0s(),e.j41(4,"app-registration",3),e.bIt("closeModalEvent",function(){return o.onHideModal()}),e.k0s(),e.j41(5,"app-registration",3),e.bIt("closeModalEvent",function(){return o.onHideModal()}),e.k0s(),e.j41(6,"app-mentors-registration",4),e.bIt("closeModalEvent",function(){return o.onHideModal()}),e.k0s(),e.j41(7,"app-advisors-registration",4),e.bIt("closeModalEvent",function(){return o.onHideModal()}),e.k0s(),e.j41(8,"div",5)(9,"div",6)(10,"section",7)(11,"div",8)(12,"p",9),e.EFF(13," A2SV Hackathon, 2024 "),e.k0s(),e.j41(14,"h1",10),e.EFF(15," AI for Impact - Solving Africa's Challenges "),e.k0s()(),e.j41(16,"h2"),e.nrm(17,"app-count-down",11),e.k0s(),e.j41(18,"div",12)(19,"button",13),e.EFF(20," Register now "),e.k0s(),e.j41(21,"button",14),e.bIt("click",function(){return o.onShowMentorsModal()}),e.EFF(22," Be mentor/advisor "),e.k0s(),e.j41(23,"button",14),e.bIt("click",function(){return o.onShowAdvisorsModal()}),e.EFF(24," Partner with us "),e.k0s()()()(),e.DNE(25,Je,28,0,"dialog",15),e.k0s()()),2&i&&(e.R7$(),e.Y8G("muted",o.isMuted),e.R7$(3),e.Y8G("comingName",o.individualName)("showModal",o.showIndividualRegistrationModal)("registrationLink",o.indivisualRegistrationLink),e.R7$(),e.Y8G("comingName",o.teamName)("showModal",o.showTeamRegistrationModal)("registrationLink",o.teamRegistrationLink),e.R7$(),e.Y8G("registrationLink",o.mentorsRegistrationLink)("showModal",o.showMentorsModal),e.R7$(),e.Y8G("registrationLink",o.advisorsRegistrationLink)("showModal",o.showAdvisorsModal),e.R7$(12),e.ZvI("text-sm rounded-full px-5 py-2.5 md:mr-3 bg-gradient-to-r from-indigo-600 to-pink-500 relative hover:bg-gradient-to-r hover:from-indigo-600 hover:to-pink-500 text-white transition-all cursor-pointer ease-out duration-300 hover:bg-purple-500 ","signup"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.R7$(2),e.ZvI("max-md:mt-5 text-sm rounded-full px-5 py-2.5 md:mr-3 bg-gradient-to-r from-indigo-600 to-pink-500 relative hover:bg-gradient-to-r hover:from-indigo-600 hover:to-pink-500 text-white transition-all cursor-pointer ease-out duration-300 lg:ml-5 ","mentor"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.R7$(2),e.ZvI("max-md:mt-5 text-sm rounded-full px-5 py-2.5 bg-gradient-to-r from-indigo-600 to-pink-500 relative hover:bg-gradient-to-r hover:from-indigo-600 hover:to-pink-500 text-white transition-all cursor-pointer ease-out duration-300 lg:ml-5 ","partner"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.R7$(2),e.Y8G("ngIf",o.showRegistrationModal))},dependencies:[s.bT,d.qT,d.cb,Ge,He,Ye,qe],styles:["@keyframes _ngcontent-%COMP%_gradientAnimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.animate-gradient[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_gradientAnimation 10s ease infinite}.button[_ngcontent-%COMP%]{background:red;animation:myfirst 5s;-moz-animation:myfirst 5s infinite;-webkit-animation:myfirst 5s infinite}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#fff}.slick-prev[_ngcontent-%COMP%], .slick-next[_ngcontent-%COMP%]{background-color:purple!important;height:19px!important}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ff0}.bg_svg[_ngcontent-%COMP%]{background-image:url(https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4);background-size:cover;background-repeat:no-repeat;background-position:center}.vid[_ngcontent-%COMP%]{z-index:-6}"]})}return n})();function Ke(n,a){1&n&&(e.qex(0),e.j41(1,"div",16),e.nrm(2,"div",17),e.j41(3,"div",18),e.nrm(4,"app-what-we-provide"),e.k0s()(),e.bVm())}function Qe(n,a){if(1&n&&(e.j41(0,"div",19),e.nrm(1,"app-header",20),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("currentSection",t.currentSection)}}function et(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",21)(1,"app-winner_modal",22),e.bIt("closeModalEvent",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("showModal",t.isModalOpen)("modalData",t.modalData)}}function tt(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"a",24),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.openButton("partner","https://form.typeform.com/to/opvWnrn7"))}),e.j41(2,"button",25),e.EFF(3," Partner with us "),e.k0s()()()}}function nt(n,a){1&n&&(e.j41(0,"div",26)(1,"a",27),e.nrm(2,"span",28)(3,"span",29),e.j41(4,"span",30),e.EFF(5,"Register Now"),e.k0s()()())}function ot(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",34)(1,"app-bot",35),e.bIt("closeChatEvent",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.toggleChatBtn())}),e.k0s()()}}function it(n,a){1&n&&(e.qSk(),e.j41(0,"svg",39),e.nrm(1,"path",40)(2,"path",41),e.k0s())}function at(n,a){1&n&&(e.qSk(),e.j41(0,"svg",42),e.nrm(1,"path",43),e.k0s())}function rt(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.toggleChatBtn())}),e.DNE(1,it,3,0,"svg",37)(2,at,2,0,"svg",38),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.showChat),e.R7$(),e.Y8G("ngIf",t.showChat)}}function st(n,a){1&n&&(e.j41(0,"button",44),e.EFF(1," Register "),e.k0s())}function lt(n,a){if(1&n&&(e.j41(0,"div"),e.DNE(1,ot,2,0,"div",31)(2,rt,3,2,"button",32)(3,st,2,0,"button",33),e.k0s()),2&n){const t=e.XpG();e.ZvI("fixed ",t.showChat?"h-5/6 w-1/3":"h-auto w-auto"," bottom-4 z-50 h-5/6 w-1/3 gap-y-4 right-4 flex flex-col items-end justify-end"),e.R7$(),e.Y8G("ngIf",t.showChat),e.R7$(),e.Y8G("ngIf",!t.isButtonAtBottom||t.showChat),e.R7$(),e.Y8G("ngIf",t.isStickRegisterButtonVisible&&!t.showChat&&t.registrationButtonVisible)}}let ct=(()=>{class n{constructor(t,i,o,r,l){this._el=t,this.localStorage=i,this.termsPluginLoaderService=o,this.modalService=r,this.winnerModalService=l,this.showPartnerButton=!1,this.isWinnerModalOpen=!1,this.modalData={},this.title="A2SV-Hackathon",this.showChat=!1,this.modalOpen=!1,this.isButtonAtBottom=!1,this.isStickRegisterButtonVisible=!1,this.toggleChatEvent=new e.bkB,this.showModal=!1,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.registrationButtonVisible=!0,this.countDownVisible=!0,this.countDownDate=new Date(2023,8,3,17,0,0),this.spiedTags=["DIV"],this.sectionChange=new e.bkB,this.currentSection="home",this.localStorage.resetWaitingStatus()}openButton(t,i){window.open(i,"_blank")}isClickWithinModal(t){return!1}get isModalOpen(){return this.modalService.isModalOpen}ngOnInit(){this.modalSubscription=this.winnerModalService.isModalOpen$.subscribe(o=>{this.isWinnerModalOpen=o}),this.winnerModalService.modalData$.subscribe(o=>{this.modalData=o}),localStorage.getItem("consentGiven"),this.termsPluginLoaderService.loadPlugin(),new F.T({cloud:{cloudName:"eskalate"}}),setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}ngOnDestroy(){this.modalSubscription&&this.modalSubscription.unsubscribe()}closeModal(){this.winnerModalService.toggleModal(!1)}closeJoinModal(){this.modalService.closeModal()}updateCountDownVisibility(){this.countDownVisible=new Date600}checkIfAtBottom(){const t=window.scrollY,i=window.innerHeight,o=document.documentElement.scrollHeight;this.isButtonAtBottom=t+i+5>=o}onScroll(t){let i="";const o=this._el.nativeElement.children,r=t.target.scrollTop,l=t.target.getBoundingClientRect();for(let x=0;xbt===y.tagName)&&vt.top-l.top<=r&&(i=y.id)}i!==this.currentSection&&""!==i&&(this.currentSection=i);const v=this._el.nativeElement.querySelector("#landing"),_=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0;this.showPartnerButton=_>v.offsetTop+v.offsetHeight-100}static#e=this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(z),e.rXU(T),e.rXU(g),e.rXU(E))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["app-root"]],hostBindings:function(i,o){1&i&&e.bIt("click",function(l){return o.isClickWithinModal(l)},!1,e.EBC)("scroll",function(){return o.onWindowScroll()},!1,e.tSv)("mousewheel",function(l){return o.onScroll(l)},!1,e.EBC)},outputs:{toggleChatEvent:"toggleChatEvent",sectionChange:"sectionChange"},decls:25,vars:6,consts:[[4,"ngIf"],["class","relative z-41",4,"ngIf"],["class","fixed h-full w-full border-red-500 pt-2 z-50",4,"ngIf"],["style","position: fixed; top: 45vh; left: -40px; z-index: 1000",4,"ngIf"],["id","prize2024",1,"relative","z-40"],["id","info",1,"relative","z-40"],["id","eligibility",1,"relative","z-40"],[3,"openChatEvent"],["id","home",1,"relative","z-40"],[3,"toggleChatEvent"],["id","prizes",1,"relative","z-40"],["id","about-us",1,"relative","z-40"],["id","partners",1,"relative","z-40"],["class","flex justify-center mt-3 mb-12",4,"ngIf"],["id","footer",1,"relative","z-40"],[3,"class",4,"ngIf"],[1,"fixed","top-0","left-0","z-50","w-full","mt-5","pt-3","flex","flex-col","justify-end"],[1,"modal-overlay"],[1,"border","border-gray-600","modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900","text-center","flex","flex-col","mt-4","shadow-lg","m-auto"],[1,"relative","z-41"],[3,"currentSection"],[1,"fixed","h-full","w-full","border-red-500","pt-2","z-50"],[3,"closeModalEvent","showModal","modalData"],[2,"position","fixed","top","45vh","left","-40px","z-index","1000"],["href","https://form.typeform.com/to/opvWnrn7","target","_blank",3,"click"],[1,"px-4","py-3","rounded-md","transition-transform","duration-300","ease-in-out","bg-gradient-to-r","from-indigo-600","to-pink-500",2,"transform","rotate(270deg)"],[1,"flex","justify-center","mt-3","mb-12"],["onClick","register_modal.showModal()",1,"relative","cursor-pointer","inline-flex","items-center","justify-center","p-4","px-5","py-3","overflow-hidden","font-medium","text-indigo-600","transition","duration-300","ease-out","rounded-full","shadow-xl","group","hover:ring-1","hover:ring-purple-500"],[1,"absolute","inset-0","w-full","h-full","bg-gradient-to-br","from-blue-600","via-purple-600","to-pink-700"],[1,"absolute","bottom-0","right-0","block","w-64","h-64","mb-32","mr-4","transition","duration-500","origin-bottom-left","transform","rotate-45","translate-x-24","bg-pink-500","rounded-full","opacity-30","group-hover:rotate-90","ease"],[1,"relative","text-white"],["class","mx-4 h-full w-full",4,"ngIf"],["class","bg-indigo-600 text-white p-3 rounded-full shadow hover:bg-indigo-800",3,"click",4,"ngIf"],["onClick","register_modal.showModal()","class","fixed text-white bottom-1/2 rounded rotate-90 transform z-[48] -left-6 px-6 bg-indigo-600 py-3 shadow hover:bg-indigo-800",4,"ngIf"],[1,"mx-4","h-full","w-full"],[3,"closeChatEvent"],[1,"bg-indigo-600","text-white","p-3","rounded-full","shadow","hover:bg-indigo-800",3,"click"],["viewBox","0 0 512 512","fill","currentColor","class","w-8 h-8",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","class","w-8 h-8",4,"ngIf"],["viewBox","0 0 512 512","fill","currentColor",1,"w-8","h-8"],["d","M448 312.43c.77-1.11 1.51-2.26 2.27-3.34A174.55 174.55 0 00480 211.85C480.32 112.55 396.54 32 292.94 32c-90.36 0-165.74 61.49-183.4 143.12a172.81 172.81 0 00-4 36.83c0 99.4 80.56 182.11 184.16 182.11 16.47 0 38.66-4.95 50.83-8.29s24.23-7.75 27.35-8.94 8-2.41 11.89-1.29l77.42 22.38a4 4 0 005-4.86l-17.72-67.49c-1.23-5-1.39-5.94 3.53-13.14z"],["d","M312.54 415.38a165.32 165.32 0 01-23.26 2.05c-42.43 0-82.5-11.2-115-32.2a184.09 184.09 0 01-53.09-49.32c-26.08-34.57-40.3-78.51-40.3-124.49 0-3.13.11-6.14.22-9.16a4.34 4.34 0 00-7.54-3.12 158.76 158.76 0 00-14.86 195.24c2.47 3.77 3.87 6.68 3.44 8.62l-14.09 72.26a4 4 0 005.22 4.53l68-24.24a16.85 16.85 0 0112.92.22c20.35 8 42.86 12.92 65.37 12.92a169.45 169.45 0 00116.63-46 4.29 4.29 0 00-3.66-7.31z"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-8","h-8"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],["onClick","register_modal.showModal()",1,"fixed","text-white","bottom-1/2","rounded","rotate-90","transform","z-[48]","-left-6","px-6","bg-indigo-600","py-3","shadow","hover:bg-indigo-800"]],template:function(i,o){1&i&&(e.nrm(0,"app-consent"),e.DNE(1,Ke,5,0,"ng-container",0)(2,Qe,2,1,"div",1)(3,et,2,2,"div",2)(4,tt,4,0,"div",3),e.nrm(5,"app-landing"),e.j41(6,"div",4),e.nrm(7,"app-prize2024"),e.k0s(),e.j41(8,"div",5),e.nrm(9,"app-info"),e.k0s(),e.j41(10,"div",6)(11,"app-eligibility",7),e.bIt("openChatEvent",function(){return o.openChat()}),e.k0s()(),e.j41(12,"div",8)(13,"app-home",9),e.bIt("toggleChatEvent",function(l){return o.changeChatState(l)}),e.k0s()(),e.j41(14,"div",10),e.nrm(15,"app-prizes"),e.k0s(),e.j41(16,"div",11),e.nrm(17,"app-about-us"),e.k0s(),e.j41(18,"div",12),e.nrm(19,"app-potential-partners"),e.k0s(),e.DNE(20,nt,6,0,"div",13),e.j41(21,"div",14),e.nrm(22,"app-footer"),e.k0s(),e.DNE(23,lt,4,6,"div",15),e.EFF(24," --\x3e\n")),2&i&&(e.R7$(),e.Y8G("ngIf",o.isModalOpen),e.R7$(),e.Y8G("ngIf",!o.modalOpen),e.R7$(),e.Y8G("ngIf",o.isWinnerModalOpen),e.R7$(),e.Y8G("ngIf",o.showPartnerButton),e.R7$(16),e.Y8G("ngIf",o.registrationButtonVisible),e.R7$(3),e.Y8G("ngIf",!o.modalOpen))},dependencies:[s.bT,M,S,N,X,Z,ee,ge,fe,we,ke,xe,Se,Re,Ze]})}return n})();var dt=c(1294),mt=c(728),pt=c(8834),ut=c(9279);let ht=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.$C({type:n,bootstrap:[ct]});static#n=this.\u0275inj=e.G2t({providers:[b,T],imports:[m.Bb,D,w.TV,d.X1,k.q1,dt.R2,mt.wb,pt.Hl,ut.hM]})}return n})();m.sG().bootstrapModule(ht).catch(n=>console.error(n))}},h=>{h.O(0,[502],()=>h(h.s=843)),h.O()}]); \ No newline at end of file diff --git a/dist/hacks-website/main.eb392e601ba26709.js b/dist/hacks-website/main.eb392e601ba26709.js new file mode 100644 index 0000000..5ecd527 --- /dev/null +++ b/dist/hacks-website/main.eb392e601ba26709.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[179],{8068:(u,C,c)=>{var m=c(6593),Z=c(7227),e=c(5678);let h=(()=>{class n{constructor(){this.isModalOpen=!1,this.modalStateChanged=new e.vpe}openModal(){this.isModalOpen=!0,this.modalStateChanged.emit(!0)}closeModal(){this.isModalOpen=!1,this.modalStateChanged.emit(!1)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var s=c(6814);const O=n=>({heading:n}),p=n=>({description:n});let T=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,this.toggleChatEvent=new e.vpe,this.showMenu=!1,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.mentorsRegistrationLink="https://form.typeform.com/to/UvayCDEJ",this.advisorsRegistrationLink="https://form.typeform.com/to/mMzeQ63l",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!1,this.currentSection="home",this.registrationDeadline=new Date(2024,5,31,23,59,59),this.registrationButtonVisible=!1,this.countDownVisible=!1,this.countDownDate=new Date("2024-5-15T20:59:00"),this.animated=!1,this.day_desc=[{day:"Day 1",desc:"Experience innovation firsthand as finalists showcase their groundbreaking projects to the public at Abrehot Library in Addis Ababa."},{day:"Day 2",desc:"The stakes are high at the Jury Panel. Witness the excitement of the award ceremony where the most innovative solutions will be honored and celebrated."},{day:"Day 3",desc:"Beginning with an in-person investor panel in the morning followed by a remote panel in the afternoon, designed to propel the best African AI ventures onto the global stage."}]}ngOnInit(){this.checkElementsInView(),setInterval(()=>{this.updateCountDownVisibility()},1e3)}onScroll(){this.checkElementsInView()}checkElementsInView(){const i=this.elRef.nativeElement.querySelector("#home_component").getBoundingClientRect(),o=i.top=0;!this.animated&&o?this.animated=!0:o||(this.animated=!1)}openModal(t){t.stopPropagation(),this.modalService.openModal()}get isModalOpen(){return this.modalService.isModalOpen}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}updateCountDownVisibility(){this.countDownVisible=new Date{class n{constructor(){this.initializeCloudinary()}initializeCloudinary(){this.cloudinary=new A.r({cloud:{cloudName:"eskalate"}})}generateImageUrl(t){const i=this.cloudinary.image(t);return i.resize((0,j.hl)().width(1280).height(720)),i}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var f=c(5619);let U=(()=>{class n{constructor(){this.isModalOpenSubject=new f.X(!1),this.isModalOpen$=this.isModalOpenSubject.asObservable(),this.modalDataSubject=new f.X({}),this.modalData$=this.modalDataSubject.asObservable()}toggleModal(t,i){this.isModalOpenSubject.next(t),i&&this.modalDataSubject.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const q=(n,a,t)=>({"md:-translate-y-[15px]":n,"md:-translate-y-[40px]":a,"md:-translate-y-0":t});function P(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"div",8)(2,"div",9),e._UZ(3,"img",10),e.qZA(),e.TgZ(4,"div",11)(5,"div",12),e._UZ(6,"img",13),e.qZA(),e.TgZ(7,"h2",14),e._uU(8),e.qZA(),e.TgZ(9,"div",15)(10,"h2",16),e._uU(11),e.qZA(),e.TgZ(12,"p",17),e._uU(13),e.qZA()()(),e.TgZ(14,"div",18)(15,"button",19),e.NdJ("click",function(){const r=e.CHM(t).$implicit,l=e.oxw();return e.KtG(l.onMoreOptionsClick(r))}),e._uU(16," More "),e.qZA()()()()}if(2&n){const t=a.$implicit,i=a.index;e.xp6(1),e.Tol(e.kEZ(8,q,0===i,1===i,2===i)),e.xp6(2),e.Q6J("src",t.awrd_img,e.LSH),e.xp6(3),e.Q6J("src",t.img,e.LSH),e.xp6(2),e.hij(" ",t.prize_type," "),e.xp6(3),e.AsE(" ",t.projectname," by Team ",t.team," "),e.xp6(2),e.hij(" ",t.description," ")}}let H=(()=>{class n{onMoreOptionsClick(t){this.cardTouched.emit(t)}constructor(t,i){this.cloudinaryService=t,this.renderer=i,this.title="",this.winners=[],this.descr="",this.cardTouched=new e.vpe}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(M),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-track-winners"]],inputs:{title:"title",winners:"winners",descr:"descr"},outputs:{cardTouched:"cardTouched"},decls:9,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","pt-6"],[1,"text-4xl","w-full","text-center","font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","mt-5"],[1,"flex","mt-10","mb-5","md:mx-20","flex-col","lg:flex-col"],[1,"flex-1"],[1,"lg:w-3/4","mx-auto","leading-relaxed","text-base","text-white","text-justify","justify-between","mb-6"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-4","p-2"],["class","my-6",4,"ngFor","ngForOf"],[1,"my-6"],[1,"relative","h-full","grid","grid-rows-auto-1fr","rounded-lg","my-10","md:my-0","text-gray-300","border-2","border-gray-800","group","hover:bg-gray-700","hover:shadow-md","hover:border","transition","duration-300","hover:border-solid","transform","hover:scale-105","hover:text-white"],[1,"absolute","z-10","top-[-30px]","-right-5","w-1/6","max-sm:w-1/6","rounded-full"],["alt","prize image","loading","lazy",1,"h-full","w-full","object-cover","rounded-full",3,"src"],[1,"w-full","rounded-t-lg","overflow-hidden","p-2"],[1,"h-[230px]","rounded-t-lg","mb-5"],["alt","group image","loading","lazy",1,"object-cover","w-full","h-full","rounded-t-lg",3,"src"],[1,"text-2xl","px-4","mb-8","font-bold","title-font","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","group-hover:text-white"],[1,"text-white","text-justify","justify-between","px-4"],[1,"title-font","font-bold","text-xl","text-left","mb-2"],[1,"leading-relaxed","text-left","mb-3","text-gray-300"],[1,"flex","justify-center","items-end","mb-5","mt-2"],[1,"px-4","py-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"click"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"h2",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"p",4),e._uU(6),e.qZA()()(),e.TgZ(7,"div",5),e.YNc(8,P,17,12,"div",6),e.qZA()()),2&i&&(e.xp6(2),e.hij(" ",o.title," "),e.xp6(4),e.hij(" ",o.descr," "),e.xp6(2),e.Q6J("ngForOf",o.winners))},dependencies:[s.sg],styles:[".custome[_ngcontent-%COMP%]:hover .shadow_class[_ngcontent-%COMP%]{opacity:.6;transition:opacity .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .img_card[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:1rem}.custome[_ngcontent-%COMP%]:hover .full-width[_ngcontent-%COMP%]{height:full}.custome[_ngcontent-%COMP%]:hover .image[_ngcontent-%COMP%]{border-radius:1rem;transition:border-radius .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .card_prize[_ngcontent-%COMP%]{z-index:20}.custom-shape[_ngcontent-%COMP%]{clip-path:polygon(0% 0%,100% 0%,100% 80%,50% 100%,0% 80%)}button[_ngcontent-%COMP%]:hover{cursor:pointer}.overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.img_parent[_ngcontent-%COMP%]:hover .team-name[_ngcontent-%COMP%]{opacity:1}.overflow-auto[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:transparent transparent}"]})}return n})(),L=(()=>{class n{constructor(t,i){this.cloudinaryService=t,this.winnerModalService=i,this.winners=[],this.track_winners=[],this.title_winners="",this.desc_track_winners="",this.desc_winners="",this.title_track_winners="",this.isModalOpen=!1,this.modalContent={}}openModal(t){this.winnerModalService.toggleModal(!0,t)}ngOnInit(){this.kurio_img=this.cloudinaryService.generateImageUrl("Hackathon/kurioo"),this.cognipath=this.cloudinaryService.generateImageUrl("Hackathon/cognipath"),this.yyeni=this.cloudinaryService.generateImageUrl("Hackathon/yyeni"),this.title_track_winners="Meet 2023 track winners",this.title_winners="Meet 2023 winner projects",this.desc_winners="The Top 3 Teams, who stood out from across Africa. Their projects, acknowledged as the best, present scalable initiatives, addressing challenges and providing solutions for communities in Africa.",this.desc_track_winners="The Track Winners teams are recognized for outstanding projects that made impactful contributions to African communities.",this.winners=[{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],projectname:"YYeni AI",team:"YYeni AI",money:"6,000",rank:2,awrd_img:"assets/silver 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",prize_description:["Team YYeni AI enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the valuable opportunity to pitch their project idea to renowned individuals and venture capitalists. Additionally, they received a certificate of achievement, and a direct placement opportunity in the A2SV education Cohort 5."],linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Aya Omezzine","Christian Parfait ","MohamedAziz Omezine","Mohamed Regaya","Ghada Eladeb"],team:"The Siblings",projectname:"CogniPath",money:"10,000",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700745279/Hackathon/cognipath.jpg",awrd_img:"assets/gold 1 (no bg).png",countries:["Tunisia","Cameroon"],description:"AI-powered platform creates learning materials for students with learning disorders.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/aya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Christian.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Mohamed.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Rebaya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Ghada.png"],demo:"https://www.youtube.com/embed/SIjvIMWqgDs?si=ZVHTL7YUAN00sYgi",pitch:"https://www.youtube.com/embed/5fKccJiX_8I?si=7TA69lVH6Ni494p8",webUrl:"https://cognipath.azurewebsites.net/",prize_description:["Team CogniPath enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the opportunity to pitch their project to renowned individuals and venture capitalists. Along with a certificate of achievement and direct placement in the A2SV education cohort 5, the team will work with Modus Capital for personalized fundraising support and one-on-one expert guidance, elevating their project and early start-up."],linkedin:["https://www.linkedin.com/in/aya-omezzine-722679174","https://www.linkedin.com/in/christian-parfait-nebot-fonkou","https://www.linkedin.com/in/mohamed-aziz-omezine-63491a116","https://www.linkedin.com/in/regaya-mohamed-462992218","https://www.linkedin.com/in/ghada-eladeb-3b2854237"]},{teamMembers:["Kamel Brouthen","Aymene Berriche","Mehdi Zakaria ","Ahmed Yacine ","Moussaab Badla"],team:" FutureX",projectname:"Kurio",money:"4,000",rank:3,awrd_img:"assets/bronze 1.png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700741675/Hackathon/kurioo.jpg",countries:["Algeria"],description:"An AI-powered app for personalized and interactive children's learning and entertainment.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Kamel.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Aymen.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/mehdi.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Ahmed.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/Moussaab.png"],demo:"https://www.youtube.com/embed/BLcX8sRU-aE?si=wYdkUaKh9Xkhr4bI",pitch:"https://www.youtube.com/embed/fWRPbIW21J0?si=JdjMRhojDF052ltO",mobileUrl:"https://drive.google.com/file/d/1CG6WzV7HpjxxOY_Ti6j8EgS4NJT75vpN/view?usp=drive_link",prize_description:["Team Kurio enjoyed an all-inclusive trip to Addis Ababa, covering airfare, hotel, and additional expenses. They seized the opportunity to pitch their project to esteemed individuals and venture capitalists. The team received a certificate of achievement and secured a direct placement in the A2SV education cohort 5, fostering valuable educational opportunities."],linkedin:["https://www.linkedin.com/in/brouthen-kamel","https://www.linkedin.com/in/aymen-berriche-372ba81a5","https://www.linkedin.com/in/adjal-mehdi-zakaria-a40a39223","https://www.linkedin.com/in/ahmedyacinebouchouareb","https://www.linkedin.com/in/moussaab-badla-16b398291"]}],this.track_winners=[{teamMembers:["Aser Hailu","Biruk Mesfin","Bisrat Kebere","Duresa Feyisa","Estifanos Samson"],prize_type:"Best Technical Implementation Award",money:"2,500",team:"Innovate Fusion",projectname:"THE ARCHITECT AI",prize_description:"Congratulations to Team Innovate Fusion from Ethiopia! We proudly acknowledge the ARCHITECT AI project, which stood out for its remarkable and innovative technical implementation.",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700743904/Hackathon/Architect.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/aserr.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/birukk.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/bisratt.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/duresaa.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/estifanos.png"],description:"Virtual architectural design assistant that uses generative AI to generate customizable and sustainable skyscraper designs for architecture and construction projects in Africa.",countries:["Ethiopia"],demo:"https://www.youtube.com/embed/irHZkTfRL2c?si=1g-5WDz6Bx1L39zS",pitch:"https://www.youtube.com/embed/AvpUPbTf7HE?si=7USncKJOg2-K1_8Q",webUrl:"https://architect-ai-theta.vercel.app/home",mobileUrl:"https://drive.google.com/file/d/1E7CKANKvaY6yh-VKgUTdcSc6QxCS8K6r/view?usp=drive_link",linkedin:["https://www.linkedin.com/in/aser-hailu","https://www.linkedin.com/in/biruk-mesfin","https://www.linkedin.com/in/bisry","https://www.linkedin.com/in/duresa-feyisa-513271256","https://www.linkedin.com/in/estifanos-samson-7286bb298"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Most Potential for Positive Change Award",money:"2,500",prize_description:"Congratulations to Team YYeni AI from Namibia! We commend the YYeni AI project, which stood out for its exceptional potential to make a positive impact and drive meaningful change.",projectname:"YYeni AI",team:"YYeni AI",awrd_img:"assets/gold 1 (no bg).png",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Ann Mumbi","Franklin Karanja","Jude Ang'Edu","Nathan Mbugua","Wayne Asava"],prize_type:"Best User Experience Award",money:"2,500",awrd_img:"assets/gold 1 (no bg).png",team:"Sapphire",projectname:"StoryCraft",prize_description:"Congratulations to Team Sapphire from Kenya! We applaud the outstanding achievement of the StoryCraft project, which was recognized for delivering an exceptional and intuitive user experience.",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700835115/Hackathon/sapphire.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/ann.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/frank.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/jude.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/nathan.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/wayne.png"],description:"AI-powered platform that creates personalized and engaging storybooks for early readers, fostering a love for reading among children.",countries:["Kenya"],demo:"https://www.youtube.com/embed/YHBCz0VNjaA?si=AJHna8gKMUX8EAiR",pitch:"https://www.youtube.com/embed/d5vJMWklKpM?si=DgSCAMdTxeb99GsK",webUrl:"http://www.storycraftai.tech/",linkedin:["https://www.linkedin.com/in/ann-kamau-564b88216","https://www.linkedin.com/in/knurf-mutua","https://www.linkedin.com/in/jude-ang-edu-451532185","#","https://www.linkedin.com/in/wayneasava"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Cross-Domain Collaboration Award",projectname:"YYeni AI",team:"YYeni AI",prize_description:"Congratulations to Team YYeni AI from Namibia! The YYeni project effectively combined generative AI techniques with expertise from different fields, showcasing an innovative approach.",money:"2,500",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]}]}getRankClass(t){switch(t){case 1:return"md:mt-[-40px] bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-white ";case 2:return"md:mt-[-20px] bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-black ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-white ";default:return"bg-gray-200"}}getButtonsClass(t){switch(t){case 1:return"bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-yellow-500 ";case 2:return"bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-purple-500 ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-orange-500 ";default:return"bg-gray-200"}}getCardText(t){switch(t){case 1:return" text-amber-200 ";case 2:return" text-gray-200 ";case 3:return" text-bronze-200 ";default:return"bg-gray-200"}}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(M),e.Y36(U))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-winner"]],decls:2,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","m-auto"],[3,"title","descr","winners","cardTouched"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"app-track-winners",1),e.NdJ("cardTouched",function(l){return o.openModal(l)}),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("title",o.title_winners)("descr",o.desc_winners)("winners",o.winners))},dependencies:[H]})}return n})();const E=["videoIframe"];let z=(()=>{class n{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#C0C0C0",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag.","Direct placement opportunity in the A2SV education cohort 5."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#FFC876",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5.","Custom-designed A2SV swag.","Partnership with Modus VC to assist with fundraising and tailored 1-on-1 expert support."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#CD7F32",image:"assets/bronze 1.png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5."]},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}ngAfterViewInit(){}ngOnInit(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-prizes"]],viewQuery:function(i,o){if(1&i&&e.Gf(E,5),2&i){let r;e.iGM(r=e.CRH())&&(o.videoIframe=r.first)}},decls:3,vars:0,consts:[["id","prizes",1,"flex","fade","min-h-screen","py-10","max-sm:px-2","max-md:py-10","max-xl:px-10","px-20","flex-col","justify-center"],[1,"mb-10"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0),e._UZ(1,"app-winner")(2,"div",1),e.qZA())},dependencies:[L],styles:[".fade[_ngcontent-%COMP%]{transition:opacity .5s}"]})}return n})();const B=[{path:"home",component:T},{path:"prizes",component:z}],J={scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,64]};let N=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.oAB({type:n});static#n=this.\u0275inj=e.cJS({imports:[Z.Bz.forRoot(B,J),Z.Bz]})}return n})(),I=(()=>{class n{constructor(){this._myData$=new f.X(null),this.myData$=this._myData$.asObservable(),this._waitingResponse$=new f.X(!1)}seedData(){const t=localStorage.getItem("messages");null==t?this.addMessage({content:"Hi I\u2019m Ifoki, I am here to answer any of your questions about the hackathon",role:"bot"}):this._myData$.next(JSON.parse(t))}setWaitingStatus(t){const i=localStorage.getItem("waitingStatus")?JSON.parse(localStorage.getItem("waitingStatus")):0,o=t?i+1:i-1;localStorage.setItem("waitingStatus",JSON.stringify(o)),this._waitingResponse$.next(o>0)}resetWaitingStatus(){localStorage.setItem("waitingStatus",JSON.stringify(0)),this._waitingResponse$.next(!1)}addMessage(t){const i=localStorage.getItem("messages")?JSON.parse(localStorage.getItem("messages")):[];i.push(t),localStorage.setItem("messages",JSON.stringify(i)),this._myData$.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),_=(()=>{class n{constructor(){this.displayConsent=!1}showConsentUI(t){this.displayConsent=t}shouldShowConsentUI(){return this.displayConsent}getConsentStatus(){return null!==localStorage.getItem("consentGiven")}giveConsent(){localStorage.setItem("consentGiven","true"),this.displayConsent=!1}withdrawConsent(){localStorage.removeItem("consentGiven"),this.displayConsent=!0}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),S=(()=>{class n{constructor(t){this.consentService=t}loadPlugin(){const g=document.createElement("script");g.onerror=b=>{console.error("[termsfeed][pc-loader-1]","[ee][b1b476da]","plugin failed!",b)},g.async=!0,g.src="https://cdn.termsfeedtag.com/plugins/pc/v1/d55fc7bf462345899345196be3d8e53a/plugin-2.js",this.consentService.getConsentStatus()&&document.body.appendChild(g)}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(_))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function F(n,a){if(1&n){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",31),e._UZ(1,"div",32),e.TgZ(2,"div",33)(3,"div",34)(4,"button",35),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.toggleMenu())}),e.TgZ(5,"span",27),e._uU(6,"Close menu"),e.qZA(),e.TgZ(7,"div",36),e.O4$(),e.TgZ(8,"svg",28),e._UZ(9,"path",37),e.qZA()()()(),e.kcU(),e.TgZ(10,"div",38)(11,"div",39)(12,"div",40)(13,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("landing"),e.KtG(o.toggleMenu())}),e._uU(14,"Home"),e.qZA(),e.TgZ(15,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("prize2024"),e.KtG(o.toggleMenu())}),e._uU(16,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(17,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("info"),e.KtG(o.toggleMenu())}),e._uU(18,"Information"),e.qZA(),e.TgZ(19,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("about-us"),e.KtG(o.toggleMenu())}),e._uU(20,"About Us"),e.qZA(),e.TgZ(21,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("partners"),e.KtG(o.toggleMenu())}),e._uU(22,"A2SV Interview Partners"),e.qZA()()()()()()}}let D=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,this.showMenu=!1,this.isModalOpenArray=!1,this.currentSection="home"}toggleMenu(){this.showMenu=!this.showMenu}openModal(t){t.stopPropagation(),this.modalService.openModal()}scrollToSection(t){this.currentSection=t;const i=!document.body.classList.contains("overflow-hidden"),o=document.getElementById(t);null!=o&&i&&o.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.SBq),e.Y36(h))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-header"]],inputs:{currentSection:"currentSection"},decls:42,vars:16,consts:[[1,"fixed","text-white","inset-x-0","top-0","z-50"],["aria-label","Global",1,"flex","gap-x-4","backdrop-blur-lg","bg-black","bg-opacity-30","items-center","justify-between","border-b","border-gray-600","border-spacing-0.5","p-4","lg:px-16"],["href","https://a2sv.org","target","_blank","rel",""],["src","assets/A2SV_LOGO%20(2).svg","alt","a2sv logo",1,"w-32","max-sm:w-16","max-lg:w-24","max-md:w-20"],[1,"hidden","justify-between","gap-x-4","lg:flex"],[3,"click"],[1,"text-sm","bg-purple-700","hover:bg-purple-500","text-white","py-2","px-4","rounded-full","cursor-pointer","transition","duration-300","ease-in-out","ml-2",3,"click"],[1,"px-3","flex","sm:flex-row","flex-col"],[1,"inline-flex","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"flex","lg:hidden"],["type","button",1,"-m-2.5","inline-flex","items-center","justify-center","rounded-md","p-2.5","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"],["class","lg:hidden relative text-white","role","dialog","aria-modal","true",4,"ngIf"],["role","dialog","aria-modal","true",1,"lg:hidden","relative","text-white"],[1,"fixed","inset-0","z-50"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","px-6","py-6","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","justify-between"],["type","button",1,"-m-2.5","rounded-md","p-2.5","text-white",3,"click"],[1,"text-white"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"mt-6","flow-root"],[1,"-my-6","divide-y","divide-gray-500/10"],[1,"space-y-2","py-6"],[1,"-mx-3","block","rounded-lg","px-3","py-2","text-base","font-semibold","leading-7","text-gray-200","hover:bg-gray-800",3,"click"]],template:function(i,o){1&i&&(e.TgZ(0,"header",0)(1,"nav",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"a",5),e.NdJ("click",function(){return o.scrollToSection("landing")}),e._uU(6,"Home"),e.qZA(),e.TgZ(7,"a",5),e.NdJ("click",function(){return o.scrollToSection("prize2024")}),e._uU(8,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(9,"a",5),e.NdJ("click",function(){return o.scrollToSection("info")}),e._uU(10,"Information"),e.qZA(),e.TgZ(11,"a",5),e.NdJ("click",function(){return o.scrollToSection("about-us")}),e._uU(12,"About Us"),e.qZA(),e.TgZ(13,"a",5),e.NdJ("click",function(){return o.scrollToSection("partners")}),e._uU(14,"Interview Partners"),e.qZA()(),e.TgZ(15,"button",6),e.NdJ("click",function(l){return o.openModal(l)}),e._uU(16," Join A2SV\n"),e.qZA(),e.TgZ(17,"div",7)(18,"span",8)(19,"a",9),e.NdJ("click",function(){return o.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(20,"svg",10),e._UZ(21,"path",11),e.qZA()(),e.kcU(),e.TgZ(22,"a",12),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(23,"svg",13),e._UZ(24,"path",14),e.qZA()(),e.kcU(),e.TgZ(25,"a",15),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(26,"svg",16),e._UZ(27,"path",17),e.qZA()(),e.kcU(),e.TgZ(28,"a",18),e.NdJ("click",function(){return o.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(29,"svg",19),e._UZ(30,"path",20),e.qZA()(),e.kcU(),e.TgZ(31,"a",21),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(32,"svg",22),e._UZ(33,"path",23)(34,"circle",24),e.qZA()()()(),e.kcU(),e.TgZ(35,"div",25)(36,"button",26),e.NdJ("click",function(){return o.toggleMenu()}),e.TgZ(37,"span",27),e._uU(38,"Open main menu"),e.qZA(),e.O4$(),e.TgZ(39,"svg",28),e._UZ(40,"path",29),e.qZA()()()(),e.YNc(41,F,23,0,"div",30),e.qZA()),2&i&&(e.xp6(5),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","landing"==o.currentSection.toString()?"text-indigo-600":"text-gray-200"," "),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","prize2024"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","info"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","about-us"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","partners"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(28),e.Q6J("ngIf",o.showMenu))},dependencies:[s.O5]})}return n})();var w=c(4236),d=c(95);function R(n,a){if(1&n&&(e.TgZ(0,"div",21),e._UZ(1,"img",22),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.s9C("src",t.img,e.LSH)}}function G(n,a){if(1&n&&(e.TgZ(0,"div",23),e._UZ(1,"img",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.s9C("src",t.img,e.LSH)}}let V=(()=>{class n{constructor(){this.slides=[{img:"assets/Google_logo.svg"},{img:"assets/Bloomberg_logo.svg"},{img:"assets/Palantir_Technologies_logo%201.svg"},{img:"assets/Databricks_logo.svg"},{img:"assets/Meta_logo.svg"}],this.slideConfig={slidesToShow:4,slidesToScroll:1,autoplay:!0,autoplaySpeed:0,speed:2500,pauseOnHover:!1,cssEase:"linear",responsive:[{breakpoint:1280,settings:{slidesToShow:3}},{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:640,settings:{slidesToShow:1}}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-potential-partners"]],decls:27,vars:3,consts:[["id","partners",1,"flex","bg-bubbles","px-8","max-sm:px-4","py-8","max-sm:py-4","pb-8","flex-col","justify-center"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"hidden","max-md:hidden","flex","justify-between","items-center","py-6","p-4","overflow-hidden","my-5"],["class","mx-4",4,"ngFor","ngForOf"],[1,""],[1,"carousel","h-full","p-6","my-10","flex","overflow-hidden","justify-center","gap-x-12",3,"config"],["slickModal","slick-carousel"],["ngxSlickItem","","class","slide mx-auto flex justify-center",4,"ngFor","ngForOf"],["onclick","sponsor_us_modal.showModal()",1,"mx-auto","rounded-full","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","cursor-pointer","ease-out","duration-300"],[1,"absolute","right-0","w-8","-mt-6","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative","mb-5"],["id","sponsor_us_modal",1,"modal"],["method","dialog",1,"modal-box","bg-gray-900","w-11/12","max-md:w-full"],[1,"btn","btn-sm","btn-circle","btn-ghost","absolute","right-2","top-2"],[1,"lg:flex-grow","lg:pr-24","md:pr-16","flex","flex-col","md:items-start","md:text-left","mb-16","md:mb-0","items-center","text-center"],[1,"font-IBM","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","sm:text-4xl","text-3xl","mb-4","font-medium","text-gray-300"],[1,"mt-2","text-gray-300","mb-8","w-full"],[1,"flex","w-full","flex-wrap","md:justify-between","space-y-4","justify-center","items-end"],["href","mailto:contact@a2sv.org",1,"rounded-full","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative"],[1,"mx-4"],["fill","currentColor",1,"w-48","h-16","text-white",3,"src"],["ngxSlickItem","",1,"slide","mx-auto","flex","justify-center"],[1,"w-full","h-24","px-16",3,"src"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"Interview Partners"),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,R,2,1,"div",3),e.qZA(),e.TgZ(5,"div",4)(6,"ngx-slick-carousel",5,6),e.YNc(8,G,2,1,"div",7),e.qZA()(),e.TgZ(9,"a",8),e._UZ(10,"span",9),e.TgZ(11,"span",10),e._uU(12,"Support Us"),e.qZA()(),e.TgZ(13,"dialog",11)(14,"form",12)(15,"button",13),e._uU(16,"\u2715"),e.qZA(),e.TgZ(17,"div",14)(18,"h1",15),e._uU(19,"Hello!"),e.qZA(),e.TgZ(20,"p",16),e._uU(21,"Sponsor our AI Hackathon to support African students in harnessing the power of AI to tackle challenges. Your partnership will empower innovation across Africa and play a crucial role in shaping the future of AI-driven solutions on the continent."),e.qZA(),e.TgZ(22,"div",17)(23,"a",18),e._UZ(24,"span",19),e.TgZ(25,"span",20),e._uU(26,"Contact Us"),e.qZA()()()()()()()),2&i&&(e.xp6(4),e.Q6J("ngForOf",o.slides),e.xp6(2),e.Q6J("config",o.slideConfig),e.xp6(2),e.Q6J("ngForOf",o.slides))},dependencies:[s.sg,w.vE,w.Xg,d._Y,d.JL]})}return n})();const Y=[{number:"1",color:"#41516C",title:"Registration",desc:"Students to register for the African-wide hackathon focused on AI.",year:"1 June - 6 July, 2024",final:!1},{number:"2",color:"#3081D0",title:"Project Idea Submission and Filtration",desc:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",year:"8-12 July, 2024",final:!1},{number:"3",color:"#FFB534",title:"Workshops",desc:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",year:"13-14 July, 2024",final:!1},{number:"4",color:"#163020",title:"Quarterfinals",desc:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",year:"16-20 July, 2024",final:!1},{number:"5",color:"#7BD3EA",title:"Semifinals",desc:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",year:"July 28 - September 6, 2024",final:!1},{number:"6",color:"#41516C",title:"Grand Finale",desc:" The top 8 teams are flown to Ethiopia for an all-expense-paid in-person event. They\u2019ll compete for a total prize pool of $30,000, presenting their projects to a distinguished jury.",year:"21-26 , September 2024"}];function Q(n,a){if(1&n&&(e.TgZ(0,"li")(1,"div",3)(2,"div",4),e.O4$(),e.TgZ(3,"svg",5),e._UZ(4,"path",6)(5,"path",7),e.qZA(),e.kcU(),e.TgZ(6,"p"),e._uU(7),e.qZA()()(),e.TgZ(8,"div",8),e._uU(9),e.qZA(),e.TgZ(10,"div",9),e._uU(11),e.qZA()()),2&n){const t=a.$implicit;e.Akn("--accent-color: "+t.color),e.xp6(7),e.Oqu(t.year),e.xp6(2),e.hij(" ",t.title," "),e.xp6(2),e.hij(" ",t.desc," ")}}let W=(()=>{class n{constructor(){this.years=[]}ngOnInit(){this.years=Y}closeTimelineModal(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-timeline"]],decls:4,vars:1,consts:[[1,""],[1,"overflow-auto","py-16","modal-scrollbar"],[3,"style",4,"ngFor","ngForOf"],[1,"date"],[1,"flex","space-x-3","items-center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-6","h-6","flex-none","text-white"],["d","M12.75 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM7.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM8.25 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM9.75 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM10.5 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM12.75 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM14.25 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 13.5a.75.75 0 100-1.5.75.75 0 000 1.5z"],["fill-rule","evenodd","d","M6.75 2.25A.75.75 0 017.5 3v1.5h9V3A.75.75 0 0118 3v1.5h.75a3 3 0 013 3v11.25a3 3 0 01-3 3H5.25a3 3 0 01-3-3V7.5a3 3 0 013-3H6V3a.75.75 0 01.75-.75zm13.5 9a1.5 1.5 0 00-1.5-1.5H5.25a1.5 1.5 0 00-1.5 1.5v7.5a1.5 1.5 0 001.5 1.5h13.5a1.5 1.5 0 001.5-1.5v-7.5z","clip-rule","evenodd"],[1,"title","text-gray-200","font-semibold","text-lg"],[1,"descr","text-gray-400"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"ul"),e.YNc(3,Q,12,5,"li",2),e.qZA()()()),2&i&&(e.xp6(3),e.Q6J("ngForOf",o.years))},dependencies:[s.sg],styles:['h1[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{--col-gap: 2rem;--row-gap: 2rem;--line-w: .25rem;display:grid;grid-template-columns:var(--line-w) 1fr;grid-auto-columns:max-content;column-gap:var(--col-gap);list-style:none;width:min(60rem,90%);margin-inline:auto}ul[_ngcontent-%COMP%]:before{content:"";grid-column:1;grid-row:1 / span 20;background:rgb(225,225,225);border-radius:calc(var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--row-gap)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{grid-column:2;--inlineP: 1.5rem;margin-inline:var(--inlineP);grid-row:span 2;display:grid;grid-template-rows:min-content min-content min-content}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{--dateH: 3rem;height:var(--dateH);margin-inline:calc(var(--inlineP) * -1);text-align:center;background-color:var(--accent-color);color:#fff;font-size:1.25rem;font-weight:700;display:grid;place-content:center;position:relative;border-radius:calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:before{content:"";width:var(--inlineP);aspect-ratio:1;background:var(--accent-color);background-image:linear-gradient(rgba(0,0,0,.2) 100%,transparent);position:absolute;top:100%;clip-path:polygon(0 0,100% 0,0 100%);right:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:after{content:"";position:absolute;width:2rem;aspect-ratio:1;background:var(--bgColor);border:.3rem solid var(--accent-color);border-radius:50%;top:50%;transform:translate(50%,-50%);right:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{background:var(--bgColor);position:relative;padding-inline:1.5rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;padding-block-start:1.5rem;padding-block-end:1rem;font-weight:500}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{padding-block-end:1.5rem;font-weight:300}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before, ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{content:"";position:absolute;width:90%;height:.5rem;background:rgba(0,0,0,.5);left:50%;border-radius:50%;filter:blur(4px);transform:translate(-50%,50%)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before{bottom:calc(100% + .125rem)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{z-index:-1;bottom:.25rem}@media (min-width: 40rem){ul[_ngcontent-%COMP%]{grid-template-columns:1fr var(--line-w) 1fr}ul[_ngcontent-%COMP%]:before{grid-column:2}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd){grid-column:1}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2n){grid-column:3}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2){grid-row:2/4}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:before{clip-path:polygon(0 0,100% 0,100% 100%);left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:after{transform:translate(-50%,-50%);left:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]{border-radius:0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0}}.modal-scrollbar[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:green blue}']})}return n})(),$=(()=>{class n{constructor(t){this.sanitizer=t,this.steps=[{number:"1",title:"Registration",description:"Students to register for the African-wide hackathon focused on AI.",date:"1 June - 6 July, 2024",final:!1},{number:"2",title:"Project Idea Submission and Filtration",description:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",date:"8-12 July, 2024",final:!1},{number:"3",title:"Workshops",description:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",date:"13-14 July, 2024",final:!1},{number:"4",title:"Quarterfinals",description:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",date:"16-20 July, 2024",final:!1},{number:"5",title:"Semifinals",description:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",date:"July 28 - September 6, 2024",final:!1}],this.calendarLink="https://calendar.google.com/calendar/u/0?cid=Y18wYjU0ZmZlYjIxZWFjYmNiNTZiM2RhNzkwNzMyYmY5MTg4OTdkNWJjODQzMTJlMWI3YmUzOTlmYjFhN2QzYTFlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20",this.workshops=[{title:"AI",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Hackathon Dynamics",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Idea Generation",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")}]}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-info"]],decls:37,vars:0,consts:[["id","info",1,"min-h-screen","max-sm:py-0","py-6","max-sm:px-0","px-20"],[1,"w-full","h-full","relative","overflow-hidden","flex","flex-col","justify-center","items-center"],["src","assets/ccchaos%20(1).svg","alt","",1,"absolute","z-[-10]","-left-10","-bottom-10","w-[1080px]","max-sm:w-[720px]","aspect-[1]","opacity-70"],["src","assets/IMAGE.svg","alt","",1,"absolute","aspect-[1]","max-sm:hidden","top-0","right-0","max-lg:w-[240px]","w-[360px]"],[1,"container","relative","max-lg:px-4","max-sm:mt-4","px-12","pt-4","mt-12","flex","flex-col"],[1,"flex","flex-col","lg:flex-row","justify-center","gap-x-12","items-center"],[1,"sm:py-8","flex-1","mt-4","pt-4","sm:mt-0","sm:text-left"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"mt-3","text-gray-300","leading-relaxed"],[1,"text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","animate-text"],["href","https://form.typeform.com/to/XoEqw6vQ","target","_blank"],[1,"my-5","bg-purple-700","hover:bg-purple-500","text-white","text-sm","px-4","py-2","rounded-full","transition-transform","duration-300","ease-in-out","lg:ml-5",3,"click"],["src","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","alt","",1,"lg:w-1/2","flex-1","h-64","aspect-square","w-full","lg:h-96","sm:h-72","object-cover","object-center","rounded-xl"],[1,"sm:text-4xl","mt-5","text-center","text-2xl","font-medium","text-white"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"div",1),e._UZ(2,"img",2)(3,"img",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6)(7,"p",7),e._uU(8," About The Hackathon "),e.qZA(),e.TgZ(9,"p",8),e._uU(10," Our exciting multi-stage Hackathon, starts with "),e.TgZ(11,"span",9),e._uU(12,"Workshops"),e.qZA(),e._uU(13," from 13-14 July, 2024. You'll learn about AI, hackathon dynamics, and innovative idea generation. "),e.qZA(),e.TgZ(14,"p",8),e._uU(15," Then, from July 16-20, compete in the "),e.TgZ(16,"span",9),e._uU(17,"Quarter-finals"),e.qZA(),e._uU(18,", a virtual hackathon where you'll aim for a spot among the top 30 projects. Throughout, expert mentors will guide you. "),e.qZA(),e.TgZ(19,"p",8),e._uU(20," In the "),e.TgZ(21,"span",9),e._uU(22,"Semi-finals"),e.qZA(),e._uU(23," (July 28 - September 6, 2024), selected 40 teams will receive ongoing support to refine their projects with feedback. "),e.qZA(),e.TgZ(24,"p",8),e._uU(25," The "),e.TgZ(26,"span",9),e._uU(27,"Grand Finale"),e.qZA(),e._uU(28," on September 21-26 ,2024, is the ultimate showdown. The top 8 teams will fly to Ethiopia for an all-expense-paid event, competing for a $30,000 USD prize pool and presenting their projects to a distinguished jury. "),e.qZA(),e._UZ(29,"br"),e.TgZ(30,"a",10)(31,"button",11),e.NdJ("click",function(){return o.setActiveButton("register","https://form.typeform.com/to/XoEqw6vQ")}),e._uU(32," Sign up for event updates "),e.qZA()()(),e._UZ(33,"img",12),e.qZA()(),e.TgZ(34,"p",13),e._uU(35," Hackathon Timeline "),e.qZA(),e._UZ(36,"app-timeline"),e.qZA()())},dependencies:[W]})}return n})();function K(n,a){if(1&n&&(e.TgZ(0,"li")(1,"div",8),e.O4$(),e.TgZ(2,"svg",9),e._UZ(3,"path",10),e.qZA(),e.kcU(),e.TgZ(4,"p",4),e._uU(5),e.qZA()()()),2&n){const t=a.$implicit;e.xp6(5),e.hij("",t.text," ")}}function X(n,a){1&n&&(e.TgZ(0,"div",11)(1,"button",12),e._uU(2,"Register Now"),e.qZA()())}let ee=(()=>{class n{constructor(){this.openChatEvent=new e.vpe,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.registrationButtonVisible=!0,this.criterieas=[{text:"Every team must have a minimum of 3 members and a maximum of 5 members."},{text:"Every team member must be located in Africa."},{text:"All team members must be students currently enrolled in a University, College (undergrad, Associate, Diploma program), or High School, with a graduation year after January 2024. Students currently pursuing or who have completed a Master's degree or higher are not eligible to participate."},{text:"If you don't have a team you can register individually and we'll match you with other talented developers, designers, and problem solvers."}]}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Date *[_ngcontent-%COMP%]{grid-column-start:1;grid-row-start:1;transform:translate(10%) scale(.9);z-index:1;width:100%;opacity:.6}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(2){transform:translate(5%) scale(.95);z-index:2;opacity:.8}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(1){transform:translate(0) scale(1);z-index:3;opacity:1}"]})}return n})();var x=c(1474);let te=(()=>{class n{constructor(t){this.http=t}getIpAddress(){return this.http.get("https://api.ipify.org?format=json")}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(x.eN))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ne=c(6306),oe=c(2096);let ie=(()=>{class n{constructor(t){this.httpClient=t,this.errorMsg=""}sendMessage(t,i){return this.httpClient.post("https://a2sv-generative-ai-hackathon-lylswf275a-zf.a.run.app/api/v1/chats",{ip_address:i,query:t}).pipe((0,ne.K)(o=>(this.errorMsg=o.error instanceof ErrorEvent?`Error: ${o.error.message}`:this.getServerErrorMessage(o),(0,oe.of)({message:this.errorMsg}))))}getServerErrorMessage(t){switch(t.status){case 429:return"You have reached your daily limit. please try again later";case 404:return"Not Found";case 403:return"Access denied";case 500:return"Unknown error has happened try again";case 0:return"Please Check Your Internet Connection";default:return"Unknown Server Error"}}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(x.eN))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const ae=["scrollableContainer"],re=["fullScreenScrollableContainer"];function se(n,a){if(1&n&&(e.TgZ(0,"div",25)(1,"div",26)(2,"div",27),e._UZ(3,"img",28),e.qZA()(),e.TgZ(4,"div",29)(5,"p",30),e._uU(6),e.qZA()()()),2&n){const t=e.oxw().$implicit;e.xp6(6),e.hij(" ",t.content," ")}}function le(n,a){if(1&n&&(e.TgZ(0,"div",31)(1,"div",26)(2,"div",27),e._UZ(3,"img",32),e.qZA()(),e.TgZ(4,"div",29)(5,"p",30),e._uU(6),e.qZA()()()),2&n){const t=e.oxw().$implicit;e.xp6(6),e.hij(" ",t.content," ")}}function ce(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,se,7,1,"div",23)(2,le,7,1,"div",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===t.role),e.xp6(1),e.Q6J("ngIf","user"===t.role)}}function de(n,a){1&n&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}function me(n,a){if(1&n&&(e.TgZ(0,"div",25)(1,"div",26)(2,"div",27),e._UZ(3,"img",28),e.qZA()(),e.TgZ(4,"div",38),e._uU(5),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(5),e.Oqu(t.content)}}function pe(n,a){if(1&n&&(e.TgZ(0,"div",31)(1,"div",26)(2,"div",27),e._UZ(3,"img",32),e.qZA()(),e.TgZ(4,"div",38),e._uU(5),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(5),e.Oqu(t.content)}}function ge(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,me,6,1,"div",23)(2,pe,6,1,"div",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===t.role),e.xp6(1),e.Q6J("ngIf","user"===t.role)}}function ue(n,a){1&n&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}let he=(()=>{class n{constructor(t,i,o){this.ipService=t,this.chatService=i,this.localStorageService=o,this.isChatLoading=!1,this.messages=[],this.chatForm=new d.cw({message:new d.NI("",[d.kI.required])}),this.ipAddress="",this.closeChatEvent=new e.vpe,this.localStorageService.seedData(),this.localStorageService._waitingResponse$.subscribe(r=>{this.isChatLoading=r}),this.localStorageService._myData$.subscribe(r=>{this.messages=r})}ngOnInit(){this.fetchIpAddress()}fetchIpAddress(){this.ipService.getIpAddress().subscribe(t=>{this.ipAddress=t.ip,console.log("IP Address:",this.ipAddress)},t=>{console.error("Failed to fetch IP address:",t)})}closeChat(){this.closeChatEvent.emit()}sendMessage(){this.isChatLoading=!0,this.localStorageService.addMessage({role:"user",content:this.chatForm.value.message}),this.localStorageService.setWaitingStatus(!0);const t=this.chatForm.value.message;try{this.chatService.sendMessage(t,this.ipAddress).subscribe(i=>{console.log("Response: ",i),this.isChatLoading=!1,this.localStorageService.setWaitingStatus(!1),this.localStorageService.addMessage({role:"bot",content:i.message})})}catch{this.isChatLoading=!1}this.chatForm.reset()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(te),e.Y36(ie),e.Y36(I))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-bot"]],viewQuery:function(i,o){if(1&i&&(e.Gf(ae,5),e.Gf(re,5)),2&i){let r;e.iGM(r=e.CRH())&&(o.scrollableContainer=r.first),e.iGM(r=e.CRH())&&(o.fullScreenScrollableContainer=r.first)}},outputs:{closeChatEvent:"closeChatEvent"},decls:34,vars:10,consts:[[1,"flex","flex-col","max-lg:w-64","max-sm:w-48","items-end","w-full","h-full","shadow-2xl","bg-gray-900","rounded-xl"],[1,"bg-indigo-900","w-full","text-center","text-lg","flex-none","text-white","font-semibold","rounded-t-xl","p-4"],[1,"flex-1","max-lg:hidden","relative","w-full","p-6","overflow-y-auto",3,"scrollTop"],["scrollableContainer",""],[1,"space-y-2"],[4,"ngFor","ngForOf"],["class","w-1/2",4,"ngIf"],[1,"flex-none","flex","items-center","justify-between","w-full","p-3","border-t","border-opacity-10","border-white",3,"formGroup"],["formControlName","message","type","text","id","chat-input","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],["id","helpdesk-popup-submit-button",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5","origin-center","text-indigo-800","transform","rotate-90"],["d","M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z"],["role","dialog","aria-modal","true",1,"lg:hidden","text-white"],[1,"fixed","flex","flex-col","justify-between","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-gray-900","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","bg-indigo-900","py-6","justify-between"],["type","button",1,"rounded-md","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6","text-white","ml-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"h-full","p-4","overflow-auto",3,"scrollTop"],["fullScreenScrollableContainer",""],["formControlName","message","type","text","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],[3,"disabled","click"],["class","chat chat-start",4,"ngIf"],["class","chat chat-end",4,"ngIf"],[1,"chat","chat-start"],[1,"chat-image","avatar"],[1,"w-10","rounded-full"],["src","assets/avatar.png","alt","..."],[1,"chat-bubble"],[1,"break-words"],[1,"chat","chat-end"],["src","assets/user_avatar.png","alt","..."],[1,"w-1/2"],[1,"flex","items-center","mt-4","space-x-3","animate-pulse","delay-300"],[1,""],[1,"h-2.5","bg-gray-200","rounded-full","dark:bg-gray-700","w-32","mb-2"],[1,"w-48","h-2","bg-gray-200","rounded-full","dark:bg-gray-700"],[1,"chat-bubble","break-words"]],template:function(i,o){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"p"),e._uU(3,"Hacks-Bot"),e.qZA()(),e.TgZ(4,"div",2,3)(6,"div",4),e.YNc(7,ce,3,2,"div",5)(8,de,5,0,"div",6),e.qZA()(),e.TgZ(9,"form",7),e._UZ(10,"input",8),e.TgZ(11,"button",9),e.NdJ("click",function(){return o.sendMessage()}),e.O4$(),e.TgZ(12,"svg",10),e._UZ(13,"path",11),e.qZA()()(),e.kcU(),e.TgZ(14,"div",12)(15,"div",13)(16,"div",14)(17,"button",15),e.NdJ("click",function(){return o.closeChat()}),e.TgZ(18,"span",16),e._uU(19,"Close menu"),e.qZA(),e.O4$(),e.TgZ(20,"svg",17),e._UZ(21,"path",18),e.qZA()(),e.kcU(),e.TgZ(22,"p"),e._uU(23,"Hacks-Bot"),e.qZA(),e._UZ(24,"div"),e.qZA(),e.TgZ(25,"div",19,20),e.YNc(27,ge,3,2,"div",5)(28,ue,5,0,"div",6),e.qZA(),e.TgZ(29,"form",7),e._UZ(30,"input",21),e.TgZ(31,"button",22),e.NdJ("click",function(){return o.sendMessage()}),e.O4$(),e.TgZ(32,"svg",10),e._UZ(33,"path",11),e.qZA()()()()()()),2&i){const r=e.MAs(5),l=e.MAs(26);e.xp6(4),e.Q6J("scrollTop",r.scrollHeight),e.xp6(3),e.Q6J("ngForOf",o.messages),e.xp6(1),e.Q6J("ngIf",o.isChatLoading),e.xp6(1),e.Q6J("formGroup",o.chatForm),e.xp6(2),e.Q6J("disabled",!o.chatForm.valid),e.xp6(14),e.Q6J("scrollTop",l.scrollHeight),e.xp6(2),e.Q6J("ngForOf",o.messages),e.xp6(1),e.Q6J("ngIf",o.isChatLoading),e.xp6(1),e.Q6J("formGroup",o.chatForm),e.xp6(2),e.Q6J("disabled",!o.chatForm.valid)}},dependencies:[s.sg,s.O5,d._Y,d.Fj,d.JJ,d.JL,d.sg,d.u]})}return n})(),fe=(()=>{class n{setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-footer"]],decls:28,vars:0,consts:[[1,"text-gray-200","body-font","border-white","border-opacity-50","border-t","py-8"],[1,"container","px-5","mx-auto","flex","items-center","sm:flex-row","flex-col"],[1,"flex","max-sm:order-2","title-font","font-medium","items-center","md:justify-start","justify-center","text-gray-200"],[1,"ml-3","text-xl"],[1,"text-sm","max-sm:order-3","text-gray-200","sm:ml-4","sm:pl-4","sm:border-l-2","sm:border-gray-200","sm:py-2","sm:mt-0","mt-4"],["href","https://a2sv.org","rel","noopener noreferrer","target","_blank",1,"text-gray-200","ml-1"],[1,"text-blue-500"],[1,"inline-flex","max-sm:mb-4","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"]],template:function(i,o){1&i&&(e.TgZ(0,"footer",0)(1,"div",1)(2,"a",2)(3,"span",3),e._uU(4,"A2SV Hacks"),e.qZA()(),e.TgZ(5,"p",4)(6,"a",5),e._uU(7,"\xa9 Copyright 2024 "),e.TgZ(8,"strong",6),e._uU(9,"A2SV Foundation"),e.qZA(),e._uU(10,". All rights reserved."),e.qZA()(),e.TgZ(11,"span",7)(12,"a",8),e.NdJ("click",function(){return o.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(13,"svg",9),e._UZ(14,"path",10),e.qZA()(),e.kcU(),e.TgZ(15,"a",11),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(16,"svg",12),e._UZ(17,"path",13),e.qZA()(),e.kcU(),e.TgZ(18,"a",14),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(19,"svg",15),e._UZ(20,"path",16),e.qZA()(),e.kcU(),e.TgZ(21,"a",17),e.NdJ("click",function(){return o.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(22,"svg",18),e._UZ(23,"path",19),e.qZA()(),e.kcU(),e.TgZ(24,"a",20),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(25,"svg",21),e._UZ(26,"path",22)(27,"circle",23),e.qZA()()()()())}})}return n})();function ve(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",6)(1,"a",7),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.setActiveButton("a2sv","https://www.a2sv.org"))}),e._UZ(2,"span",8),e._uU(3,"Read more "),e.TgZ(4,"span",9),e._uU(5,"\u2192"),e.qZA()()()}if(2&n){const t=e.oxw().$implicit;e.xp6(1),e.s9C("href",t.footer,e.LSH)}}function _e(n,a){if(1&n&&(e.TgZ(0,"div")(1,"div"),e._UZ(2,"img",2),e.qZA(),e.TgZ(3,"div")(4,"h1",3),e._uU(5),e.qZA(),e.TgZ(6,"p",4),e._uU(7),e.qZA(),e.TgZ(8,"p",4),e._uU(9),e.qZA(),e.YNc(10,ve,6,1,"div",5),e.qZA()()),2&n){const t=a.$implicit,i=a.index;e.Gre("",i%2==0?"bg-gradient-to-r from-indigo-950 to-black ":"bg-gradient-to-l from-indigo-950 to-black"," container my-12 rounded-3xl mx-auto flex flex-col md:flex-row py-5 px -3"),e.xp6(1),e.Gre("",i%2==0?"order-1 max-md:order-2":"order-2 max-md:order-2"," w-full md:w-1/2 ml-3"),e.xp6(1),e.s9C("src",t.image,e.LSH),e.xp6(1),e.Gre("",i%2==0?"order-2 lg:pl-24 md:pl-16 max-md:order-1":"order-1 lg:pr-24 md:pr-16 max-md:order-1"," lg:flex-grow md:w-1/2 flex flex-col md:items-start md:text-left items-center text-center"),e.xp6(2),e.Oqu(t.title),e.xp6(2),e.Oqu(t.description),e.xp6(2),e.Oqu(t.description1),e.xp6(1),e.Q6J("ngIf",null!=t.footer)}}let we=(()=>{class n{constructor(){this.contents=[{title:"About A2SV",description:"A2SV (Africa to Silicon Valley), a hub of innovation in the field of technology education, is a US-based nonprofit academy empowering Africa's tech revolution. With a unique blend of comprehensive software engineering training and tech-driven solutions, A2SV is more than an academy; it's a movement.",image:"assets/group_photo1.jpg",footer:"https://www.a2sv.org",description1:"Through collaborations with esteemed African universities like Addis Ababa University and the University of Ghana, and partnerships with tech titans such as Google, Meta, and Databricks, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is absolutely free, breaking down financial barriers, nurturing dreams, and democratizing the path to a tech-driven future."}]}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-about-us"]],decls:2,vars:1,consts:[["id","about-us",1,"text-gray-400","bg-black","body-font","pt-24","px-20","max-md:px-4"],[3,"class",4,"ngFor","ngForOf"],["alt","a2sv students photo",1,"object-cover","object-center","rounded-3xl","aspect-[720/600]",3,"src"],[1,"title-font","sm:text-4xl","text-3xl","mb-4","font-medium","text-white"],[1,"mb-8","text-gray-300","leading-relaxed"],["class","relative border border-white border-opacity-50 my-6 rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20",4,"ngIf"],[1,"relative","border","border-white","border-opacity-50","my-6","rounded-full","px-3","py-1","text-sm","leading-6","text-gray-600","ring-1","ring-gray-900/10","hover:ring-gray-900/20"],["target","_blank",1,"font-semibold","text-indigo-600",3,"href","click"],["aria-hidden","true",1,"absolute","inset-0"],["aria-hidden","true"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0),e.YNc(1,_e,11,14,"div",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",o.contents))},dependencies:[s.sg,s.O5]})}return n})(),xe=(()=>{class n{constructor(t){this.modalService=t,this.closeModalEvent=new e.vpe}get isModalOpen(){return this.modalService.isModalOpen}closeModal(){this.modalService.closeModal()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(h))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-what-we-provide"]],outputs:{closeModalEvent:"closeModalEvent"},decls:35,vars:0,consts:[[1,"text-gray-300","p-3","w-full","body-font","flex","flex-col","items-center","rounded-3xl","h-full","relative"],[1,"absolute","z-51","top-0","right-0","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"w-full","h-[80vh]","body-font","flex","flex-col","items-center","overflow-auto"],[1,"container","px-5","py-12","bg-random","max-md:bg-no-repeat"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","text-break","text-justify","justify-between"],[1,"flex","flex-wrap","justify-center"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"p-2","border-gray-600","rounded"],[1,"text-lg","sm:text-2xl","font-[700]","mb-2","group-hover:text-purple-800"],[1,"leading-relaxed","text-base","mb-4"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","group","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"text-lg","sm:text-2xl","font-bold","font","mb-2"],[1,"leading-relaxed","mb-4"],[1,"inline-flex","space-x-3","mb-6","justify-center","hover:border-indigo-600","border-white","border","border-opacity-50","rounded-full","px-6","py-2","text-white","hover:text-indigo-600","items-center","sm:justify-start","mt-2"],[1,"flex","flex-col","justify-center"],["href","https://t.me/+yqzQh04AAXRjZGQ0","target","_blank",1,"font-semibold"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"button",1),e.NdJ("click",function(){return o.closeModal()}),e.O4$(),e.TgZ(2,"svg",2),e._UZ(3,"line",3)(4,"line",4),e.qZA()(),e.kcU(),e.TgZ(5,"div",5)(6,"div",6)(7,"div",7)(8,"h1",8),e._uU(9," What We Provide "),e.qZA(),e.TgZ(10,"p",9),e._uU(11," A2SV is dedicated to advancing African students by providing accessible and free education\u2014both remote and in-person\u2014to cultivate their data structure and algorithms, communication skills and problem solving skills. Our comprehensive program begins with a community education initiative, empowering students to create impactful software projects. Beyond skill development, our ultimate goal is to upskill students, connect them with top-tier tech companies like Google, Meta, Palantir, and Databricks, and inspire them to build innovative solutions that contribute to the progress of their communities. It's not just education; it's a transformative journey toward empowerment, opportunities, and sustainable growth in Africa's tech landscape. "),e.qZA()(),e.TgZ(12,"div",10)(13,"div",11)(14,"div",12)(15,"h2",13),e._uU(16," Community Education "),e.qZA(),e.TgZ(17,"p",14),e._uU(18," The Community Education Program is the entry to A2SV, allowing students to start their learning journey until the next intake season. "),e.qZA()()(),e.TgZ(19,"div",15)(20,"div",12)(21,"h2",16),e._uU(22," In-Person Education "),e.qZA(),e.TgZ(23,"p",14),e._uU(24," In-person program for talented students from Addis Ababa University, AASTU, and University of Ghana, offering hands-on training on campus. "),e.qZA()()(),e.TgZ(25,"div",11)(26,"div",12)(27,"h2",16),e._uU(28," Remote Education "),e.qZA(),e.TgZ(29,"p",17),e._uU(30," Remote education allows students from all over the world access to its high-quality education through a virtual setting. "),e.qZA()()()()(),e.TgZ(31,"div",18)(32,"div",19)(33,"a",20),e._uU(34,"Join Us"),e.qZA()()()()())},styles:[".border-gradient[_ngcontent-%COMP%]{border-width:4px;border-image:linear-gradient(to right,#6488e4,#ff6b81);border-image-slice:1}"]})}return n})();function be(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"p"),e._uU(3,"We use cookies to improve user experience. Do you consent?"),e.qZA(),e.TgZ(4,"div",3)(5,"button",4),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.giveConsent())}),e._uU(6," Accept "),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rejectConsent())}),e._uU(8," Reject "),e.qZA()()()()}}let ye=(()=>{class n{constructor(t){this.consentService=t}ngOnInit(){this.consentService.getConsentStatus()||this.consentService.showConsentUI(!0)}showConsent(){return this.consentService.shouldShowConsentUI()}giveConsent(){this.consentService.giveConsent()}rejectConsent(){this.consentService.withdrawConsent(),this.consentService.showConsentUI(!1)}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-consent"]],decls:1,vars:1,consts:[["class","consent-modal",4,"ngIf"],[1,"consent-modal"],[1,"modal-content"],[1,"btn-container"],[1,"consent-btn","accept",3,"click"],[1,"consent-btn","reject",3,"click"]],template:function(i,o){1&i&&e.YNc(0,be,9,0,"div",0),2&i&&e.Q6J("ngIf",o.showConsent())},dependencies:[s.O5],styles:[".consent-modal[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}.modal-content[_ngcontent-%COMP%]{background-color:#000;padding:30px;text-align:center;border-radius:10px;max-width:90%;max-height:50%}.btn-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;justify-content:space-around;margin-top:20px}.consent-text[_ngcontent-%COMP%]{color:#fff;margin-bottom:20px}.button-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.consent-btn[_ngcontent-%COMP%]{padding:10px 20px;border:2px solid transparent;border-radius:5px;color:#fff;cursor:pointer;font-size:16px}.consent-btn[_ngcontent-%COMP%]:hover{background-color:purple}.accept[_ngcontent-%COMP%]{background-color:green;margin-left:10px}.reject[_ngcontent-%COMP%]{background-color:red}"]})}return n})();function ke(n,a){if(1&n&&(e.TgZ(0,"div",24)(1,"a",25)(2,"div",26),e._UZ(3,"img",27),e.qZA(),e.TgZ(4,"p",28),e._uU(5),e.qZA(),e.TgZ(6,"div",29)(7,"div",30),e._UZ(8,"img",31),e.qZA()()()()),2&n){const t=a.$implicit,i=a.index,o=e.oxw();e.xp6(1),e.Q6J("href",o.modalData.linkedin[i],e.LSH),e.xp6(2),e.s9C("src",t,e.LSH),e.xp6(2),e.hij(" ",o.modalData.teamMembers[i].toUpperCase()," ")}}function Ce(n,a){if(1&n&&(e.TgZ(0,"div")(1,"div",32)(2,"div",33),e._UZ(3,"img",34),e.qZA(),e.TgZ(4,"span",35),e._uU(5),e.qZA()()()),2&n){const t=a.$implicit;e.xp6(3),e.Q6J("src","assets/"+t+".png",e.LSH)("alt",t),e.xp6(2),e.Oqu(t)}}function Ze(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",37),e._uU(2,"Demo"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.demo,e.LSH)}}function Te(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",38),e._uU(2,"Pitch"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.pitch,e.LSH)}}function Ae(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Website"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.webUrl,e.LSH)}}function Me(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Mobile"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.mobileUrl,e.LSH)}}function Ue(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Slack"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.slackUrl,e.LSH)}}let ze=(()=>{class n{constructor(){this.showModal=!1,this.modalData={},this.closeModalEvent=new e.vpe}closeModal(){this.closeModalEvent.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-winner_modal"]],inputs:{showModal:"showModal",modalData:"modalData"},outputs:{closeModalEvent:"closeModalEvent"},decls:42,vars:11,consts:[[1,"w-full","h-full","flex","justify-center","overflow-hidden","bg-white","bg-opacity-30","py-2"],[1,"container","relative","overflow-auto","grid","grid-cols-1","md:grid-cols-2","md:flex-row","w-full","lg:w-[80%]","lg:max-h-[90vh]","bg-center","bg-black","rounded","shadow-lg","rounded-t-2xl","text-gray-300"],[1,"absolute","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","top-0","mt-1","mr-1","right-0","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"hidden","md:visible","md:flex","flex-col","justify-start","items-center","p-3","h-full","bg-gray-500","text-white"],[1,"my-4","text-center","p-2","md:px-5","text-xl","font-bold","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4","mx-2","overflow-auto","mt-3"],["class","relative group flex flex-col items-center",4,"ngFor","ngForOf"],[1,"p-3","flex","flex-col","justify-between","h-full"],[1,"p-2","md:px-5"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-2","mt-5","justify-between"],[1,"flex","flex-col","justify-between","h-full","flex-1","px-2","py-3","border","border-gray-500","mr-3"],[1,"mb-2","md:mb-4"],[1,"font-bold","lg:text-lg","text-transparent","bg-gradient-to-r","from-indigo-600","to","to-pink-500","bg-clip-text","break-words"],[1,"mb-2","md:mb-4","break-words"],[1,"text-sm","md:text-lg","mt-7","md:mt-10","mb-5"],[1,"flex","flex-col","justify-start"],[1,"my-3"],[1,"flex"],[4,"ngFor","ngForOf"],[1,"border-t","border-gray-800","mt-3","text-xs","px-4","flex","justify-between","overflow-auto","py-5"],["class","transition-transform duration-300 transform hover:scale-110 my-2",4,"ngIf"],[1,"relative","group","flex","flex-col","items-center"],["target","_blank",1,"w-full","h-full","px-2","bg-gray-700","pt-2","rounded-t-lg","group-hover:bg-gray-600","transition-transform","transform-gpu","hover:scale-105","flex","flex-col","justify-between","items-center",3,"href"],[1,"w-[100px]","h-[100px]","lg:w-[120px]","lg:h-[120px]","text-center","bg-gray-500","p-2","rounded-full","transition-transform","transform-gpu","hover:scale-105","hover:bg-gray-400"],["alt","team",1,"bg-white","w-full","h-full","object-cover","object-center","flex-shrink-0","rounded-full","mr-4",3,"src"],[1,"text-center"],[1,"w-full","flex","justify-center","items-center"],[1,"opacity-0","group-hover:opacity-100","text-white"],["src","assets/Linkedin.svg","alt","",1,"w-10","h-6","text-white"],[1,"flex","flex-col","justify-center","items-center","mr-3"],[1,"w-[50px]","h-[25px]","mr-2","mb-1"],[1,"object-cover","w-full","h-full",3,"src","alt"],[1,"text-xs","text-left"],[1,"transition-transform","duration-300","transform","hover:scale-110","my-2"],["target","_blank",1,"px-5","py-3","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-500","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return o.closeModal()}),e.O4$(),e.TgZ(3,"svg",3),e._UZ(4,"line",4)(5,"line",5),e.qZA()(),e.kcU(),e.TgZ(6,"div",6)(7,"h5",7),e._uU(8," Team Members "),e.qZA(),e.TgZ(9,"div",8),e.YNc(10,ke,9,3,"div",9),e.qZA()(),e.TgZ(11,"div",10)(12,"section",11)(13,"section",12)(14,"h5",13)(15,"span",14),e._uU(16,"Team Name"),e.qZA(),e.TgZ(17,"strong",15),e._uU(18),e.qZA()(),e.TgZ(19,"h5",13)(20,"span",16),e._uU(21,"Project Name "),e.qZA(),e.TgZ(22,"strong",15),e._uU(23),e.qZA()(),e.TgZ(24,"h5",13)(25,"span",16),e._uU(26,"Prize "),e.qZA(),e.TgZ(27,"strong",15),e._uU(28),e.qZA()()(),e.TgZ(29,"p",17),e._uU(30),e.qZA(),e.TgZ(31,"div",18)(32,"p",19),e._uU(33,"Team Nationalities"),e.qZA(),e.TgZ(34,"div",20),e.YNc(35,Ce,6,3,"div",21),e.qZA()()(),e.TgZ(36,"div",22),e.YNc(37,Ze,3,1,"button",23)(38,Te,3,1,"button",23)(39,Ae,3,1,"button",23)(40,Me,3,1,"button",23)(41,Ue,3,1,"button",23),e.qZA()()()()),2&i&&(e.xp6(10),e.Q6J("ngForOf",o.modalData.teamImage),e.xp6(8),e.Oqu(o.modalData.team),e.xp6(5),e.Oqu(o.modalData.projectname),e.xp6(5),e.hij("$",o.modalData.money,""),e.xp6(2),e.hij(" ",o.modalData.prize_description," "),e.xp6(5),e.Q6J("ngForOf",o.modalData.countries),e.xp6(2),e.Q6J("ngIf",o.modalData.demo),e.xp6(1),e.Q6J("ngIf",o.modalData.pitch),e.xp6(1),e.Q6J("ngIf",o.modalData.webUrl),e.xp6(1),e.Q6J("ngIf",o.modalData.mobileUrl),e.xp6(1),e.Q6J("ngIf",o.modalData.slackUrl))},dependencies:[s.sg,s.O5],styles:["[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:gray}.container[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}"]})}return n})();function Ie(n,a){if(1&n&&(e.TgZ(0,"div",5),e.O4$(),e.TgZ(1,"svg",6),e._UZ(2,"path",7),e.qZA(),e.kcU(),e.TgZ(3,"p",8),e._uU(4),e.qZA()()),2&n){const t=a.$implicit;e.xp6(4),e.hij("",t," ")}}let Se=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-prize-card"]],inputs:{prize:"prize"},decls:10,vars:10,consts:[[1,"container","lg:max-w-[420px]"],["alt","",1,"absolute","-top-3","-right-3","w-1/4","max-sm:w-1/4",3,"src"],[1,"text-xl","py-3","font-semibold","text-white"],[1,"text-xl"],["class","flex gap-x-3 py-[5px] items-center mt-4 border-t border-white border-opacity-30",4,"ngFor","ngForOf"],[1,"flex","gap-x-3","py-[5px]","items-center","mt-4","border-t","border-white","border-opacity-30"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-6","text-[#AC6AFF]","flex-none"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule","evenodd"],[1,"text-gray-300","leading-relaxed"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div"),e._UZ(2,"img",1),e.TgZ(3,"h2"),e._uU(4),e.qZA(),e.TgZ(5,"p",2),e._uU(6,"$ "),e.TgZ(7,"span",3),e._uU(8),e.qZA()(),e.YNc(9,Ie,5,1,"div",4),e.qZA()()),2&i&&(e.xp6(1),e.Gre("","First"==(null==o.prize?null:o.prize.place)?"py-[32px]":"py-[16px]"," relative w-full lg:w-[100] px-5 flex flex-col bg-[#0E0C15] rounded-3xl border-white border-[0.25px] border-opacity-30"),e.xp6(1),e.s9C("src",null==o.prize?null:o.prize.image,e.LSH),e.xp6(1),e.Gre("","First"==(null==o.prize?null:o.prize.place)?"text-[#FFC876]":"Second"==(null==o.prize?null:o.prize.place)?"text-[#C0C0C0]":"text-[#CD7F32]"," text-xl opacity-100"),e.xp6(1),e.hij("",null==o.prize?null:o.prize.place," Place "),e.xp6(4),e.Oqu(null==o.prize?null:o.prize.prize),e.xp6(1),e.Q6J("ngForOf",null==o.prize?null:o.prize.awards))},dependencies:[s.sg]})}return n})(),Oe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-track-card"]],inputs:{track:"track"},decls:13,vars:3,consts:[[1,"max-w-4xl","flex","w-full","h-full","flex-col","items-stretch","justify-stretch","relative","overflow-hidden","p-4"],[1,"relative","break-words","h-full","group"],[1,"absolute","-inset-1","bg-gradient-to-r","from-purple-600","to-yellow-600","rounded-lg","blur","opacity-60","transition","duration-1000","group-hover:duration-200"],[1,"relative","h-full","p-3","bg-[#0E0C15]","rounded-lg","leading-none","flex","items-stretch","justify-start","space-x-6"],["fill","currentColor","viewBox","0 0 24 24",1,"w-6","h-6","text-purple-600","flex-shrink-0"],["fill-rule","evenodd","d","M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 00-.584.859 6.753 6.753 0 006.138 5.6 6.73 6.73 0 002.743 1.346A6.707 6.707 0 019.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 00-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 00.75-.75 2.25 2.25 0 00-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 01-1.112-3.173 6.73 6.73 0 002.743-1.347 6.753 6.753 0 006.139-5.6.75.75 0 00-.585-.858 47.077 47.077 0 00-3.07-.543V2.62a.75.75 0 00-.658-.744 49.22 49.22 0 00-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 00-.657.744zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 013.16 5.337a45.6 45.6 0 012.006-.343v.256zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 01-2.863 3.207 6.72 6.72 0 00.857-3.294z","clip-rule","evenodd"],[1,"space-y-2","flex","flex-col","justify-between"],[1,"text-white","break-all","text-xl"],[1,"text-gray-400","py-2","whitespace-normal"],["target","_blank",1,"block","text-indigo-400","text-xl"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"div",2),e.TgZ(3,"div",3),e.O4$(),e.TgZ(4,"svg",4),e._UZ(5,"path",5),e.qZA(),e.kcU(),e.TgZ(6,"div",6)(7,"p",7),e._uU(8),e.qZA(),e.TgZ(9,"p",8),e._uU(10),e.qZA(),e.TgZ(11,"h2",9),e._uU(12),e.qZA()()()()()),2&i&&(e.xp6(8),e.Oqu(null==o.track?null:o.track.title),e.xp6(2),e.Oqu(null==o.track?null:o.track.description),e.xp6(2),e.hij("$",null==o.track?null:o.track.prize,""))},styles:['.plan-card[_ngcontent-%COMP%]{background:#151517;width:15rem;padding-left:2rem;padding-right:2rem;padding-top:10px;padding-bottom:20px;border-radius:10px;font-family:Poppins,sans-serif}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:15px;font-size:27px;font-weight:600}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-top:-4px;color:#4d4d4d;font-size:12px;font-weight:400}.etiquet-price[_ngcontent-%COMP%]{position:relative;background:indigo;width:14.46rem;margin-left:-.65rem;padding:.2rem 1.2rem;border-radius:5px 0 0 5px}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:.4rem;display:flex;font-size:1.9rem;font-weight:500}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"$";margin-right:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:after{margin-left:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;bottom:-23px;right:0;width:0;height:0;border-top:13px solid indigo;border-bottom:10px solid transparent;border-right:13px solid transparent;z-index:-6}.benefits-list[_ngcontent-%COMP%]{margin-top:16px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;font-size:14px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#4d4d4d;list-style:none;margin-bottom:.2rem;display:flex;align-items:center;gap:.5rem}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:.9rem;fill:currentColor}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:300}.button-get-plan[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:1.2rem}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background:#000446;color:#fff;padding:10px 15px;border-radius:5px;text-decoration:none;font-size:.8rem;letter-spacing:.05rem;font-weight:500;transition:all .3s ease}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{transform:translateY(-3%);box-shadow:0 3px 10px #cfd4dee6}.button-get-plan[_ngcontent-%COMP%] .svg-rocket[_ngcontent-%COMP%]{margin-right:10px;width:.9rem;fill:currentColor}']})}return n})();function je(n,a){1&n&&e._UZ(0,"app-track-card",10),2&n&&e.Q6J("track",a.$implicit)}let qe=(()=>{class n{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, food and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#FFC876",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#AC6AFF",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 6.","Custom-designed A2SV swag."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#E298FF",image:"assets/bronze 1.png",awards:this.awards},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-prize2024"]],decls:14,vars:4,consts:[["id","prize2024",1,"flex","fade","min-h-screen","py-24","max-sm:px-4","max-md:py-16","max-xl:px-12","px-32","flex-col","justify-center"],[1,"sm:text-[4rem]","text-center","text-4xl","font-semibold","mb-4","text-white"],[1,"flex","pb-16","items-center","max-lg:flex-wrap","max-sm:flex-col","gap-x-12","gap-y-8","pt-12","justify-center"],[1,"max-lg:order-2"],[3,"prize"],[1,"max-lg:order-1"],[1,"max-lg:order-3"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"grid","grid-cols-2","pt-8","gap-4","max-lg:grid-cols-2","max-md:grid-cols-1","items-stretch"],[3,"track",4,"ngFor","ngForOf"],[3,"track"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"$30K Prize"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e._UZ(5,"app-prize-card",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"app-prize-card",4),e.qZA(),e.TgZ(8,"div",6),e._UZ(9,"app-prize-card",4),e.qZA()(),e.TgZ(10,"p",7),e._uU(11,"Other Prize Tracks"),e.qZA(),e.TgZ(12,"div",8),e.YNc(13,je,1,1,"app-track-card",9),e.qZA()()),2&i&&(e.xp6(5),e.Q6J("prize",o.secondPrize),e.xp6(2),e.Q6J("prize",o.firstPrize),e.xp6(2),e.Q6J("prize",o.thirdPrize),e.xp6(4),e.Q6J("ngForOf",o.tracks))},dependencies:[s.sg,Se,Oe]})}return n})();function Pe(n,a){1&n&&e._UZ(0,"div",16)}function He(n,a){1&n&&e._UZ(0,"div",16)}function Le(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"button",4),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.O4$(),e.TgZ(3,"svg",5),e._UZ(4,"path",6),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",7),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",8),e.YNc(7,Pe,1,0,"div",9),e.qZA()(),e.TgZ(8,"div",10)(9,"div",11)(10,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.TgZ(11,"span",13),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",5),e._UZ(14,"path",6),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",14),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",15),e.YNc(17,He,1,0,"div",9),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}function Ee(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"dialog",17)(1,"form",18)(2,"section",19)(3,"div",20)(4,"div",21)(5,"div",22),e._UZ(6,"img",23),e.qZA(),e.TgZ(7,"div",24)(8,"h3",25),e._uU(9,"Congrats on registering!\u{1f389} Share this moment with your friends! Copy the text below and spread the word on your social media using the respective buttons provided."),e.qZA(),e.TgZ(10,"div",26)(11,"textarea",27),e._uU(12,"I've just registered for the A2SV Hackathon! Join me and be part of this hackathon! https://hackathon.a2sv.org"),e.qZA(),e.TgZ(13,"button",28),e._uU(14,"Copy Text"),e.qZA()(),e.TgZ(15,"span",29)(16,"a",30),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("telegram",o.telegramSharingLink))}),e.O4$(),e.TgZ(17,"svg",31),e._UZ(18,"path",32),e.qZA()(),e.kcU(),e.TgZ(19,"a",33),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("facebook",o.facebookSharingLink))}),e.O4$(),e.TgZ(20,"svg",34),e._UZ(21,"path",35),e.qZA()(),e.kcU(),e.TgZ(22,"a",36),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("twitter",o.twitterSharingLink))}),e.O4$(),e.TgZ(23,"svg",37),e._UZ(24,"path",38),e.qZA()(),e.kcU(),e.TgZ(25,"a",39),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("linkedin",o.linkedinSharingLink))}),e.O4$(),e.TgZ(26,"svg",40),e._UZ(27,"path",41)(28,"circle",42),e.qZA()()()()()()(),e.kcU(),e.TgZ(29,"div",43)(30,"button",44),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeForReal())}),e._uU(31,"Close"),e.qZA()()()()}}let Be=(()=>{class n{constructor(t){this.sanitizer=t,this.showModal=!1,this.registrationLink="",this.comingName="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0,this.showShareModal=!1,this.telegramSharingLink="https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.linkedinSharingLink="https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&summary=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.twitterSharingLink="https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.facebookSharingLink="https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&t=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.instagramSharingLink="https://www.instagram.com/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org"}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}setActiveButton(t,i){window.open(i,"_blank")}closeModal(){window.document.getElementById("share_modal")?.showModal(),this.showShareModal=!0}closeForReal(){window.document.getElementById("share_modal")?.close(),this.isIframeLoading=!0,this.closeModalEvent.emit()}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink",comingName:"comingName"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:2,vars:2,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],["id","share_modal","class","modal mt-4",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"],["id","share_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4","flex","justify-center","items-center"],[1,"grid","grid-cols-1","md:grid-cols-2","justify-center","items-center","w-full","h-[400px]"],[1,"h-full","w-full","bg-opacity-40","rounded-lg","overflow-hidden","relative"],["src","https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png","alt","Hackathon Attendance",1,"w-full","lg:w-3/4","mx-auto"],[1,"h-full","w-full","max-md:mt-4","flex","flex-col","items-center","justify-center"],[1,"text-lg","text-gray-100","font-semibold","mb-3","text-center"],[1,"flex","flex-col","items-center","justify-center","w-full","mb-4"],["id","shareText",1,"textarea","textarea-bordered","w-full","h-auto"],["onclick","navigator.clipboard.writeText(document.getElementById('shareText').value)",1,"btn","btn-primary","mt-4"],[1,"inline-flex","max-sm:mb-4","sm:mt-0","gap-x-3","items-center","justify-center"],["target","_blank","href","https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png"e=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"modal-action"],[1,"btn",3,"click"]],template:function(i,o){1&i&&e.YNc(0,Le,18,4,"div",0)(1,Ee,32,0,"dialog",1),2&i&&(e.Q6J("ngIf",o.showModal),e.xp6(1),e.Q6J("ngIf",o.showShareModal))},dependencies:[s.O5,d._Y,d.JL]})}return n})(),Je=(()=>{class n{constructor(){this.eventDate="July 6",this.eventText="Registration will be over on",this.eventTime="11:59 PM EAT",this.Number=Number,this.targetDate=new Date("2024-07-06T20:59:00Z"),this.semiFinalDate=new Date("2023-11-11T10:00:00")}chooseTargetDate(){return(new Date).getTime(){this.calculateTimeLeft()},1e3)}calculateTimeLeft(){const t=new Date,i=this.chooseTargetDate()-t.getTime();this.daysLeft=Math.floor(i/864e5),this.hoursLeft=Math.floor(i%864e5/36e5),this.minutesLeft=Math.floor(i%36e5/6e4),this.secondsLeft=Math.floor(i%6e4/1e3)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-count-down"]],decls:30,vars:7,consts:[[1,"text-white","rounded-xl"],[1,"text-lg","mb-2","font-extralight","lg:inline","lg:whitespace-nowrap"],[1,"font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text"],[1,"text-3xl","max-sm:text-2xl","gap-y-8","text-center","flex","inline-block","max-sm:flex-wrap","w-full","items-center","justify-center","sm:justify-start","mt-2"],[1,"w-30","mx-1","px-auto","py-2","max-sm:p-1","text-indigo-700","rounded"],["x-text","days",1,"font-mono","text-center","leading-none","text-white"],[1,"font-mono","text-center","uppercase","text-sm","text-white","leading-none"],["x-text","hours",1,"font-mono","text-center","leading-none","text-white"],["x-text","minutes",1,"font-mono","text-center","leading-none","text-white"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0)(1,"h2",1),e._uU(2),e.TgZ(3,"span",2),e._uU(4),e.qZA(),e._uU(5," at "),e.TgZ(6,"span",2),e._uU(7),e.qZA(),e._uU(8,":"),e.qZA(),e.TgZ(9,"div",3)(10,"div",4)(11,"div",5),e._uU(12),e.qZA(),e.TgZ(13,"div",6),e._uU(14,"Days"),e.qZA()(),e.TgZ(15,"div",4)(16,"div",7),e._uU(17),e.qZA(),e.TgZ(18,"div",6),e._uU(19,"Hours"),e.qZA()(),e.TgZ(20,"div",4)(21,"div",8),e._uU(22),e.qZA(),e.TgZ(23,"div",6),e._uU(24,"Minutes"),e.qZA()(),e.TgZ(25,"div",4)(26,"div",8),e._uU(27),e.qZA(),e.TgZ(28,"div",6),e._uU(29,"Seconds"),e.qZA()()()()),2&i&&(e.xp6(2),e.hij("",o.eventText," "),e.xp6(2),e.Oqu(o.eventDate),e.xp6(3),e.hij(" ",o.eventTime,""),e.xp6(5),e.Oqu(o.Number(o.daysLeft)>9?o.daysLeft:"0"+o.daysLeft),e.xp6(5),e.Oqu(o.Number(o.hoursLeft)>9?o.hoursLeft:"0"+o.hoursLeft),e.xp6(5),e.Oqu(o.Number(o.minutesLeft)>9?o.minutesLeft:"0"+o.minutesLeft),e.xp6(5),e.Oqu(o.Number(o.secondsLeft)>9?o.secondsLeft:"0"+o.secondsLeft))}})}return n})();function Ne(n,a){1&n&&e._UZ(0,"div",15)}function Fe(n,a){1&n&&e._UZ(0,"div",15)}function De(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.O4$(),e.TgZ(3,"svg",4),e._UZ(4,"path",5),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",6),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Ne,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.TgZ(11,"span",12),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",4),e._UZ(14,"path",5),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",13),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,Fe,1,0,"div",8),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}let Re=(()=>{class n{constructor(t){this.sanitizer=t,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-mentors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(i,o){1&i&&e.YNc(0,De,18,4,"div",0),2&i&&e.Q6J("ngIf",o.showModal)},dependencies:[s.O5]})}return n})();function Ge(n,a){1&n&&e._UZ(0,"div",15)}function Ve(n,a){1&n&&e._UZ(0,"div",15)}function Ye(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.O4$(),e.TgZ(3,"svg",4),e._UZ(4,"path",5),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",6),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Ge,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.TgZ(11,"span",12),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",4),e._UZ(14,"path",5),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",13),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,Ve,1,0,"div",8),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}let Qe=(()=>{class n{constructor(t){this.sanitizer=t,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-advisors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(i,o){1&i&&e.YNc(0,Ye,18,4,"div",0),2&i&&e.Q6J("ngIf",o.showModal)},dependencies:[s.O5]})}return n})();function We(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"dialog",16)(1,"form",17)(2,"section",18)(3,"div",19)(4,"div",20)(5,"div",21)(6,"div",22)(7,"div")(8,"p",23),e._uU(9,"Don't have a team yet? Register individually and we'll match you with other talented developers, designers, and problem solvers."),e.qZA()(),e.TgZ(10,"div",24)(11,"a",25),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onRegisterIndividual())}),e._UZ(12,"span",26),e.TgZ(13,"span",27),e._uU(14,"Register Individually"),e.qZA()()()()(),e.TgZ(15,"div",21)(16,"div",22)(17,"div")(18,"p",23),e._uU(19,"Already have a team? If you are the captain, register your team and start working on your project today. "),e.qZA()(),e.TgZ(20,"div",28)(21,"a",29),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onRegisterTeam())}),e._UZ(22,"span",26),e.TgZ(23,"span",27),e._uU(24,"Register as a Team"),e.qZA()()()()()()()(),e.TgZ(25,"div",30)(26,"button",31),e._uU(27,"Close"),e.qZA()()()()}}let $e=(()=>{class n{constructor(){this.activeButton="",this.images=["https://res.cloudinary.com/eskalate/image/upload/v1714657507/Hackathon/Expo-min.png","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","https://res.cloudinary.com/eskalate/image/upload/v1700746297/Hackathon/yyeni.jpg","https://res.cloudinary.com/eskalate/image/upload/v1703573932/Hackathon/Architect.jpg","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/hackathon_coding-min.jpg"],this.isMuted=!0,this.slickConfig={slidesToShow:3,slidesToScroll:3,autoplaySpeed:3e3,autoplay:!0,pauseOnHover:!0,infinite:!0,arrows:!0,responsive:[{breakpoint:1024,settings:{arrows:!0,infinite:!0,slidesToShow:2,slideToScroll:2}},{breakpoint:768,settings:{slidesToShow:1,arrows:!0}}]},this.toggleChatEvent=new e.vpe,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.indivisualRegistrationLink="https://a2sv.typeform.com/to/yxMUctSN",this.teamRegistrationLink="https://a2sv.typeform.com/to/qtKuYH58",this.mentorsRegistrationLink="https://form.typeform.com/to/ShJTk212",this.advisorsRegistrationLink="https://form.typeform.com/to/opvWnrn7",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.individualName="individual",this.teamName="team",this.advisorName="advisor",this.mentorName="mentor",this.shareData={title:"MDN",text:"Learn web development on MDN!",url:"https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"},this.sharedImgUrl="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png",this.shareImgTitle="Hackathon Links!",this.shareText="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}onRegisterTeam(){this.toggleChatEvent.emit(!1),this.showTeamRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onRegisterIndividual(){this.toggleChatEvent.emit(!1),this.showIndividualRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onShowMentorsModal(){this.toggleChatEvent.emit(!1),this.showMentorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onShowAdvisorsModal(){this.toggleChatEvent.emit(!1),this.showAdvisorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onHideModal(){this.toggleChatEvent.emit(!0),this.showModal=!1,this.showGetInvolvedModal=!0,this.showRegistrationModal=!0,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,document.body.classList.remove("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.remove("z-0"),document.getElementById("prizes")?.classList.add("z-40"),document.getElementById("partners")?.classList.remove("hidden"),document.getElementById("info")?.classList.remove("hidden"),document.getElementById("judges")?.classList.remove("hidden"),document.getElementById("eligibility")?.classList.remove("hidden"),document.getElementById("about-us")?.classList.remove("hidden"),document.getElementById("footer")?.classList.remove("hidden")}closeModal(){this.showRegistrationModal=!1}scrollDown(){const t=!document.body.classList.contains("overflow-hidden"),i=document.getElementById("prizes");null!=i&&t&&i.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){this.activeButton=t,window.open(i,"_blank")}shareImage(){console.log("share clicked"),navigator.share?navigator.share({title:this.shareImgTitle,text:this.shareText,url:this.sharedImgUrl}).then(()=>{console.log("Thanks for sharing!")}).catch(t=>{console.error("Error sharing:",t)}):this.fallbackShare()}fallbackShare(){alert("Web Share API is not supported in this browser. Please use the share buttons below.")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-landing"]],outputs:{toggleChatEvent:"toggleChatEvent"},decls:26,vars:21,consts:[["id","landing",1,"min-h-screen","pt-[0px]","lg:pt-[0px]","bg-blue-950","bg-opacity-50","relative"],["autoplay","","loop","",1,"w-full","h-full","object-cover","absolute","z-0",3,"muted"],["src","https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4","type","video/mp4"],[3,"comingName","showModal","registrationLink","closeModalEvent"],[3,"registrationLink","showModal","closeModalEvent"],[1,"h-[100vh]","lg:pt-[18vh]","px:5","md:px-20","flex","flex-col","max-lg:justify-center","justify-start","items-start","z-1","relative","drop-shadow-2xl","bg-black","bg-opacity-50"],[1,"text-white","px-5"],[1,"left","col-span-2","p-5","md:h-full","flex","flex-col","items-center","md:items-start","justify-between"],[1,"w-full","flex","flex-col","max-md:items-center","items-start","leading-relaxed","mb-5"],[1,"text-left","w-full","max-md:text-center","text-[24px]","font-bold","md:text-[36px]","lg:text-[40px]"],[1,"text-left","w-full","max-md:text-center","text-xl","mt-6","mb-10","md:text-2xl","lg:text-3xl"],[1,"inline-block","pl-0","max-md:text-center"],[1,"max-md:mt-8","flex","flex-col","md:flex-row","justify-center","max-md:items-center","md:justify-start","mt-3"],["onClick","document.getElementById('register_modal').showModal()"],[3,"click"],["id","register_modal","class","modal mt-4",4,"ngIf"],["id","register_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4"],[1,"flex","flex-wrap","justify-center","-m-4"],[1,"p-4","lg:w-1/3"],[1,"h-full","flex","flex-col","justify-between","bg-gray-800","bg-opacity-40","px-8","py-8","rounded-lg","overflow-hidden","relative"],[1,"leading-relaxed","mb-3"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end"],[1,"rounded-full","cursor-pointer","modal-action","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end","modal-action"],[1,"rounded-full","cursor-pointer","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"],[1,"modal-action"],["onClick","document.getElementById('register_modal').close()",1,"btn"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0)(1,"video",1),e._UZ(2,"source",2),e._uU(3," Your browser does not support the video tag. "),e.qZA(),e.TgZ(4,"app-registration",3),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(5,"app-registration",3),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(6,"app-mentors-registration",4),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(7,"app-advisors-registration",4),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(8,"div",5)(9,"div",6)(10,"section",7)(11,"div",8)(12,"p",9),e._uU(13," A2SV Hackathon, 2024 "),e.qZA(),e.TgZ(14,"h1",10),e._uU(15," AI for Impact - Solving Africa's Challenges "),e.qZA()(),e.TgZ(16,"h2"),e._UZ(17,"app-count-down",11),e.qZA(),e.TgZ(18,"div",12)(19,"button",13),e._uU(20," Register now "),e.qZA(),e.TgZ(21,"button",14),e.NdJ("click",function(){return o.onShowMentorsModal()}),e._uU(22," Be mentor/advisor "),e.qZA(),e.TgZ(23,"button",14),e.NdJ("click",function(){return o.onShowAdvisorsModal()}),e._uU(24," Partner with us "),e.qZA()()()(),e.YNc(25,We,28,0,"dialog",15),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("muted",o.isMuted),e.xp6(3),e.Q6J("comingName",o.individualName)("showModal",o.showIndividualRegistrationModal)("registrationLink",o.indivisualRegistrationLink),e.xp6(1),e.Q6J("comingName",o.teamName)("showModal",o.showTeamRegistrationModal)("registrationLink",o.teamRegistrationLink),e.xp6(1),e.Q6J("registrationLink",o.mentorsRegistrationLink)("showModal",o.showMentorsModal),e.xp6(1),e.Q6J("registrationLink",o.advisorsRegistrationLink)("showModal",o.showAdvisorsModal),e.xp6(12),e.Gre("text-sm rounded-full px-5 py-2.5 md:mr-3 bg-gradient-to-r from-indigo-600 to-pink-500 relative hover:bg-gradient-to-r hover:from-indigo-600 hover:to-pink-500 text-white transition-all cursor-pointer ease-out duration-300 hover:bg-purple-500 ","signup"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Gre("max-md:mt-5 text-sm rounded-full px-5 py-2.5 md:mr-3 bg-gradient-to-r from-indigo-600 to-pink-500 relative hover:bg-gradient-to-r hover:from-indigo-600 hover:to-pink-500 text-white transition-all cursor-pointer ease-out duration-300 lg:ml-5 ","mentor"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Gre("max-md:mt-5 text-sm rounded-full px-5 py-2.5 bg-gradient-to-r from-indigo-600 to-pink-500 relative hover:bg-gradient-to-r hover:from-indigo-600 hover:to-pink-500 text-white transition-all cursor-pointer ease-out duration-300 lg:ml-5 ","partner"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Q6J("ngIf",o.showRegistrationModal))},dependencies:[s.O5,d._Y,d.JL,Be,Je,Re,Qe],styles:["@keyframes _ngcontent-%COMP%_gradientAnimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.animate-gradient[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_gradientAnimation 10s ease infinite}.button[_ngcontent-%COMP%]{background:red;animation:myfirst 5s;-moz-animation:myfirst 5s infinite;-webkit-animation:myfirst 5s infinite}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:white}.slick-prev[_ngcontent-%COMP%], .slick-next[_ngcontent-%COMP%]{background-color:purple!important;height:19px!important}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:yellow}.bg_svg[_ngcontent-%COMP%]{background-image:url(https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4);background-size:cover;background-repeat:no-repeat;background-position:center}.vid[_ngcontent-%COMP%]{z-index:-6}"]})}return n})();function Ke(n,a){1&n&&(e.ynx(0),e.TgZ(1,"div",16),e._UZ(2,"div",17),e.TgZ(3,"div",18),e._UZ(4,"app-what-we-provide"),e.qZA()(),e.BQk())}function Xe(n,a){if(1&n&&(e.TgZ(0,"div",19),e._UZ(1,"app-header",20),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("currentSection",t.currentSection)}}function et(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",21)(1,"app-winner_modal",22),e.NdJ("closeModalEvent",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("showModal",t.isModalOpen)("modalData",t.modalData)}}function tt(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",23)(1,"a",24),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openButton("partner","https://form.typeform.com/to/opvWnrn7"))}),e.TgZ(2,"button",25),e._uU(3," Partner with us "),e.qZA()()()}}function nt(n,a){1&n&&(e.TgZ(0,"div",26)(1,"a",27),e._UZ(2,"span",28)(3,"span",29),e.TgZ(4,"span",30),e._uU(5,"Register Now"),e.qZA()()())}function ot(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"app-bot",35),e.NdJ("closeChatEvent",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.toggleChatBtn())}),e.qZA()()}}function it(n,a){1&n&&(e.O4$(),e.TgZ(0,"svg",39),e._UZ(1,"path",40)(2,"path",41),e.qZA())}function at(n,a){1&n&&(e.O4$(),e.TgZ(0,"svg",42),e._UZ(1,"path",43),e.qZA())}function rt(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.toggleChatBtn())}),e.YNc(1,it,3,0,"svg",37)(2,at,2,0,"svg",38),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.showChat),e.xp6(1),e.Q6J("ngIf",t.showChat)}}function st(n,a){1&n&&(e.TgZ(0,"button",44),e._uU(1," Register "),e.qZA())}function lt(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,ot,2,0,"div",31)(2,rt,3,2,"button",32)(3,st,2,0,"button",33),e.qZA()),2&n){const t=e.oxw();e.Gre("fixed ",t.showChat?"h-5/6 w-1/3":"h-auto w-auto"," bottom-4 z-50 h-5/6 w-1/3 gap-y-4 right-4 flex flex-col items-end justify-end"),e.xp6(1),e.Q6J("ngIf",t.showChat),e.xp6(1),e.Q6J("ngIf",!t.isButtonAtBottom||t.showChat),e.xp6(1),e.Q6J("ngIf",t.isStickRegisterButtonVisible&&!t.showChat&&t.registrationButtonVisible)}}let ct=(()=>{class n{constructor(t,i,o,r,l){this._el=t,this.localStorage=i,this.termsPluginLoaderService=o,this.modalService=r,this.winnerModalService=l,this.showPartnerButton=!1,this.isWinnerModalOpen=!1,this.modalData={},this.title="A2SV-Hackathon",this.showChat=!1,this.modalOpen=!1,this.isButtonAtBottom=!1,this.isStickRegisterButtonVisible=!1,this.toggleChatEvent=new e.vpe,this.showModal=!1,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.registrationButtonVisible=!0,this.countDownVisible=!0,this.countDownDate=new Date(2023,8,3,17,0,0),this.spiedTags=["DIV"],this.sectionChange=new e.vpe,this.currentSection="home",this.localStorage.resetWaitingStatus()}openButton(t,i){window.open(i,"_blank")}isClickWithinModal(t){return!1}get isModalOpen(){return this.modalService.isModalOpen}ngOnInit(){this.modalSubscription=this.winnerModalService.isModalOpen$.subscribe(o=>{this.isWinnerModalOpen=o}),this.winnerModalService.modalData$.subscribe(o=>{this.modalData=o}),localStorage.getItem("consentGiven"),this.termsPluginLoaderService.loadPlugin(),new A.r({cloud:{cloudName:"eskalate"}}),setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}ngOnDestroy(){this.modalSubscription&&this.modalSubscription.unsubscribe()}closeModal(){this.winnerModalService.toggleModal(!1)}closeJoinModal(){this.modalService.closeModal()}updateCountDownVisibility(){this.countDownVisible=new Date600}checkIfAtBottom(){const t=window.scrollY,i=window.innerHeight,o=document.documentElement.scrollHeight;this.isButtonAtBottom=t+i+5>=o}onScroll(t){let i="";const o=this._el.nativeElement.children,r=t.target.scrollTop,l=t.target.getBoundingClientRect();for(let y=0;y_t===k.tagName)&&vt.top-l.top<=r&&(i=k.id)}i!==this.currentSection&&""!==i&&(this.currentSection=i);const v=this._el.nativeElement.querySelector("#landing"),b=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0;this.showPartnerButton=b>v.offsetTop+v.offsetHeight-100}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.SBq),e.Y36(I),e.Y36(S),e.Y36(h),e.Y36(U))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-root"]],hostBindings:function(i,o){1&i&&e.NdJ("click",function(l){return o.isClickWithinModal(l)},!1,e.evT)("scroll",function(){return o.onWindowScroll()},!1,e.Jf7)("mousewheel",function(l){return o.onScroll(l)},!1,e.evT)},outputs:{toggleChatEvent:"toggleChatEvent",sectionChange:"sectionChange"},decls:25,vars:6,consts:[[4,"ngIf"],["class","relative z-41",4,"ngIf"],["class","fixed h-full w-full border-red-500 pt-2 z-50",4,"ngIf"],["style","position: fixed; top: 45vh; left: -40px; z-index: 1000",4,"ngIf"],["id","prize2024",1,"relative","z-40"],["id","info",1,"relative","z-40"],["id","eligibility",1,"relative","z-40"],[3,"openChatEvent"],["id","home",1,"relative","z-40"],[3,"toggleChatEvent"],["id","prizes",1,"relative","z-40"],["id","about-us",1,"relative","z-40"],["id","partners",1,"relative","z-40"],["class","flex justify-center mt-3 mb-12",4,"ngIf"],["id","footer",1,"relative","z-40"],[3,"class",4,"ngIf"],[1,"fixed","top-0","left-0","z-50","w-full","mt-5","pt-3","flex","flex-col","justify-end"],[1,"modal-overlay"],[1,"border","border-gray-600","modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900","text-center","flex","flex-col","mt-4","shadow-lg","m-auto"],[1,"relative","z-41"],[3,"currentSection"],[1,"fixed","h-full","w-full","border-red-500","pt-2","z-50"],[3,"showModal","modalData","closeModalEvent"],[2,"position","fixed","top","45vh","left","-40px","z-index","1000"],["href","https://form.typeform.com/to/opvWnrn7","target","_blank",3,"click"],[1,"px-4","py-3","rounded-md","transition-transform","duration-300","ease-in-out","bg-gradient-to-r","from-indigo-600","to-pink-500",2,"transform","rotate(270deg)"],[1,"flex","justify-center","mt-3","mb-12"],["onClick","register_modal.showModal()",1,"relative","cursor-pointer","inline-flex","items-center","justify-center","p-4","px-5","py-3","overflow-hidden","font-medium","text-indigo-600","transition","duration-300","ease-out","rounded-full","shadow-xl","group","hover:ring-1","hover:ring-purple-500"],[1,"absolute","inset-0","w-full","h-full","bg-gradient-to-br","from-blue-600","via-purple-600","to-pink-700"],[1,"absolute","bottom-0","right-0","block","w-64","h-64","mb-32","mr-4","transition","duration-500","origin-bottom-left","transform","rotate-45","translate-x-24","bg-pink-500","rounded-full","opacity-30","group-hover:rotate-90","ease"],[1,"relative","text-white"],["class","mx-4 h-full w-full",4,"ngIf"],["class","bg-indigo-600 text-white p-3 rounded-full shadow hover:bg-indigo-800",3,"click",4,"ngIf"],["onClick","register_modal.showModal()","class","fixed text-white bottom-1/2 rounded rotate-90 transform z-[48] -left-6 px-6 bg-indigo-600 py-3 shadow hover:bg-indigo-800",4,"ngIf"],[1,"mx-4","h-full","w-full"],[3,"closeChatEvent"],[1,"bg-indigo-600","text-white","p-3","rounded-full","shadow","hover:bg-indigo-800",3,"click"],["viewBox","0 0 512 512","fill","currentColor","class","w-8 h-8",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","class","w-8 h-8",4,"ngIf"],["viewBox","0 0 512 512","fill","currentColor",1,"w-8","h-8"],["d","M448 312.43c.77-1.11 1.51-2.26 2.27-3.34A174.55 174.55 0 00480 211.85C480.32 112.55 396.54 32 292.94 32c-90.36 0-165.74 61.49-183.4 143.12a172.81 172.81 0 00-4 36.83c0 99.4 80.56 182.11 184.16 182.11 16.47 0 38.66-4.95 50.83-8.29s24.23-7.75 27.35-8.94 8-2.41 11.89-1.29l77.42 22.38a4 4 0 005-4.86l-17.72-67.49c-1.23-5-1.39-5.94 3.53-13.14z"],["d","M312.54 415.38a165.32 165.32 0 01-23.26 2.05c-42.43 0-82.5-11.2-115-32.2a184.09 184.09 0 01-53.09-49.32c-26.08-34.57-40.3-78.51-40.3-124.49 0-3.13.11-6.14.22-9.16a4.34 4.34 0 00-7.54-3.12 158.76 158.76 0 00-14.86 195.24c2.47 3.77 3.87 6.68 3.44 8.62l-14.09 72.26a4 4 0 005.22 4.53l68-24.24a16.85 16.85 0 0112.92.22c20.35 8 42.86 12.92 65.37 12.92a169.45 169.45 0 00116.63-46 4.29 4.29 0 00-3.66-7.31z"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-8","h-8"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],["onClick","register_modal.showModal()",1,"fixed","text-white","bottom-1/2","rounded","rotate-90","transform","z-[48]","-left-6","px-6","bg-indigo-600","py-3","shadow","hover:bg-indigo-800"]],template:function(i,o){1&i&&(e._UZ(0,"app-consent"),e.YNc(1,Ke,5,0,"ng-container",0)(2,Xe,2,1,"div",1)(3,et,2,2,"div",2)(4,tt,4,0,"div",3),e._UZ(5,"app-landing"),e.TgZ(6,"div",4),e._UZ(7,"app-prize2024"),e.qZA(),e.TgZ(8,"div",5),e._UZ(9,"app-info"),e.qZA(),e.TgZ(10,"div",6)(11,"app-eligibility",7),e.NdJ("openChatEvent",function(){return o.openChat()}),e.qZA()(),e.TgZ(12,"div",8)(13,"app-home",9),e.NdJ("toggleChatEvent",function(l){return o.changeChatState(l)}),e.qZA()(),e.TgZ(14,"div",10),e._UZ(15,"app-prizes"),e.qZA(),e.TgZ(16,"div",11),e._UZ(17,"app-about-us"),e.qZA(),e.TgZ(18,"div",12),e._UZ(19,"app-potential-partners"),e.qZA(),e.YNc(20,nt,6,0,"div",13),e.TgZ(21,"div",14),e._UZ(22,"app-footer"),e.qZA(),e.YNc(23,lt,4,6,"div",15),e._uU(24," --\x3e\n")),2&i&&(e.xp6(1),e.Q6J("ngIf",o.isModalOpen),e.xp6(1),e.Q6J("ngIf",!o.modalOpen),e.xp6(1),e.Q6J("ngIf",o.isWinnerModalOpen),e.xp6(1),e.Q6J("ngIf",o.showPartnerButton),e.xp6(16),e.Q6J("ngIf",o.registrationButtonVisible),e.xp6(3),e.Q6J("ngIf",!o.modalOpen))},dependencies:[s.O5,T,z,D,V,$,ee,he,fe,we,xe,ye,ze,qe,$e]})}return n})();var dt=c(4425),mt=c(349),pt=c(2296),gt=c(7573);let ut=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.oAB({type:n,bootstrap:[ct]});static#n=this.\u0275inj=e.cJS({providers:[_,S],imports:[m.b2,N,w.Sv,d.UX,x.JF,dt.Mf,mt.PW,pt.ot,gt.Is]})}return n})();m.q6().bootstrapModule(ut).catch(n=>console.error(n))}},u=>{u.O(0,[736],()=>u(u.s=8068)),u.O()}]); \ No newline at end of file diff --git a/dist/hacks-website/polyfills.06c1ca36fcab5646.js b/dist/hacks-website/polyfills.ca0382e1ab6cf5f7.js similarity index 99% rename from dist/hacks-website/polyfills.06c1ca36fcab5646.js rename to dist/hacks-website/polyfills.ca0382e1ab6cf5f7.js index b0fca62..c133fb8 100644 --- a/dist/hacks-website/polyfills.06c1ca36fcab5646.js +++ b/dist/hacks-website/polyfills.ca0382e1ab6cf5f7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[461],{6935:()=>{const ee=globalThis;function Q(t){return(ee.__Zone_symbol_prefix||"__zone_symbol__")+t}const ye=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,Le="addEventListener",Me="removeEventListener",Ze=Q(Le),Ae=Q(Me),ce="true",ae="false",pe=Q("");function je(t,r){return Zone.current.wrap(t,r)}function He(t,r,c,n,i){return Zone.current.scheduleMacroTask(t,r,c,n,i)}const H=Q,be=typeof window<"u",de=be?window:void 0,J=be&&de||globalThis,_t="removeAttribute";function xe(t,r){for(let c=t.length-1;c>=0;c--)"function"==typeof t[c]&&(t[c]=je(t[c],r+"_"+c));return t}function ze(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in J)&&typeof J.process<"u"&&"[object process]"===J.process.toString(),Ge=!Pe&&!qe&&!(!be||!de.HTMLElement),Xe=typeof J.process<"u"&&"[object process]"===J.process.toString()&&!qe&&!(!be||!de.HTMLElement),we={},Ye=function(t){if(!(t=t||J.event))return;let r=we[t.type];r||(r=we[t.type]=H("ON_PROPERTY"+t.type));const c=this||t.target||J,n=c[r];let i;return Ge&&c===de&&"error"===t.type?(i=n&&n.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===i&&t.preventDefault()):(i=n&&n.apply(this,arguments),null!=i&&!i&&t.preventDefault()),i};function $e(t,r,c){let n=ye(t,r);if(!n&&c&&ye(c,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;const i=H("on"+r+"patched");if(t.hasOwnProperty(i)&&t[i])return;delete n.writable,delete n.value;const u=n.get,_=n.set,E=r.slice(2);let p=we[E];p||(p=we[E]=H("ON_PROPERTY"+E)),n.set=function(C){let T=this;!T&&t===J&&(T=J),T&&("function"==typeof T[p]&&T.removeEventListener(E,Ye),_&&_.call(T,null),T[p]=C,"function"==typeof C&&T.addEventListener(E,Ye,!1))},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;const T=C[p];if(T)return T;if(u){let Z=u.call(this);if(Z)return n.set.call(this,Z),"function"==typeof C[_t]&&C.removeAttribute(r),Z}return null},Ne(t,r,n),t[i]=!0}function Je(t,r,c){if(r)for(let n=0;nfunction(_,E){const p=c(_,E);return p.cbIdx>=0&&"function"==typeof E[p.cbIdx]?He(p.name,E[p.cbIdx],p,i):u.apply(_,E)})}function ue(t,r){t[H("OriginalDelegate")]=r}let Ke=!1,Ve=!1;function yt(){if(Ke)return Ve;Ke=!0;try{const t=de.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}let _e=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{_e=!1}const pt={useG:!0},te={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=H("propagationStopped");function nt(t,r){const c=(r?r(t):t)+ae,n=(r?r(t):t)+ce,i=pe+c,u=pe+n;te[t]={},te[t][ae]=i,te[t][ce]=u}function mt(t,r,c,n){const i=n&&n.add||Le,u=n&&n.rm||Me,_=n&&n.listeners||"eventListeners",E=n&&n.rmAll||"removeAllListeners",p=H(i),C="."+i+":",T="prependListener",Z="."+T+":",P=function(b,h,F){if(b.isRemoved)return;const z=b.callback;let Y;"object"==typeof z&&z.handleEvent&&(b.callback=g=>z.handleEvent(g),b.originalDelegate=z);try{b.invoke(b,h,[F])}catch(g){Y=g}const B=b.options;return B&&"object"==typeof B&&B.once&&h[u].call(h,F.type,b.originalDelegate?b.originalDelegate:b.callback,B),Y};function j(b,h,F){if(!(h=h||t.event))return;const z=b||h.target||t,Y=z[te[h.type][F?ce:ae]];if(Y){const B=[];if(1===Y.length){const g=P(Y[0],z,h);g&&B.push(g)}else{const g=Y.slice();for(let U=0;U{throw U})}}}const W=function(b){return j(this,b,!1)},x=function(b){return j(this,b,!0)};function re(b,h){if(!b)return!1;let F=!0;h&&void 0!==h.useG&&(F=h.useG);const z=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let B=!1;h&&void 0!==h.rt&&(B=h.rt);let g=b;for(;g&&!g.hasOwnProperty(i);)g=Ie(g);if(!g&&b[i]&&(g=b),!g||g[p])return!1;const U=h&&h.eventNameToString,O={},w=g[p]=g[i],v=g[H(u)]=g[u],S=g[H(_)]=g[_],K=g[H(E)]=g[E];let q;h&&h.prepend&&(q=g[H(h.prepend)]=g[h.prepend]);const $=F?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?x:W,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=F?function(s){if(!s.isRemoved){const l=te[s.eventName];let k;l&&(k=l[s.capture?ce:ae]);const R=k&&s.target[k];if(R)for(let y=0;yoe.zone.cancelTask(oe);s.call(Te,"abort",ie,{once:!0}),oe.removeAbortListener=()=>Te.removeEventListener("abort",ie)}return O.target=null,ve&&(ve.taskData=null),ct&&(O.options.once=!0),!_e&&"boolean"==typeof oe.options||(oe.options=se),oe.target=L,oe.capture=Be,oe.eventName=M,V&&(oe.originalDelegate=G),I?ge.unshift(oe):ge.push(oe),y?L:void 0}};return g[i]=a(w,C,$,A,B),q&&(g[T]=a(q,Z,function(s){return q.call(O.target,O.eventName,s.invoke,O.options)},A,B,!0)),g[u]=function(){const s=this||t;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const k=arguments[2],R=!!k&&("boolean"==typeof k||k.capture),y=arguments[1];if(!y)return v.apply(this,arguments);if(z&&!z(v,y,s,arguments))return;const I=te[l];let L;I&&(L=I[R?ce:ae]);const M=L&&s[L];if(M)for(let G=0;Gfunction(i,u){i[tt]=!0,n&&n.apply(i,u)})}const Re=H("zoneTask");function Ee(t,r,c,n){let i=null,u=null;c+=n;const _={};function E(C){const T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=i.apply(t,T.args),C}function p(C){return u.call(t,C.data.handleId)}i=le(t,r+=n,C=>function(T,Z){if("function"==typeof Z[0]){const P={isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?Z[1]||0:void 0,args:Z},j=Z[0];Z[0]=function(){try{return j.apply(this,arguments)}finally{P.isPeriodic||("number"==typeof P.handleId?delete _[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};const W=He(r,Z[0],P,E,p);if(!W)return W;const x=W.data.handleId;return"number"==typeof x?_[x]=W:x&&(x[Re]=W),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(W.ref=x.ref.bind(x),W.unref=x.unref.bind(x)),"number"==typeof x||x?x:W}return C.apply(t,Z)}),u=le(t,c,C=>function(T,Z){const P=Z[0];let j;"number"==typeof P?j=_[P]:(j=P&&P[Re],j||(j=P)),j&&"string"==typeof j.type?"notScheduled"!==j.state&&(j.cancelFn&&j.data.isPeriodic||0===j.runCount)&&("number"==typeof P?delete _[P]:P&&(P[Re]=null),j.zone.cancelTask(j)):C.apply(t,Z)})}function ot(t,r,c){if(!c||0===c.length)return r;const n=c.filter(u=>u.target===t);if(!n||0===n.length)return r;const i=n[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function st(t,r,c,n){t&&Je(t,ot(t,r,c),n)}function Fe(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Ot(t,r,c,n,i){const u=Zone.__symbol__(n);if(r[u])return;const _=r[u]=r[n];r[n]=function(E,p,C){return p&&p.prototype&&i.forEach(function(T){const Z=`${c}.${n}::`+T,P=p.prototype;try{if(P.hasOwnProperty(T)){const j=t.ObjectGetOwnPropertyDescriptor(P,T);j&&j.value?(j.value=t.wrapWithCurrentZone(j.value,Z),t._redefineProperty(p.prototype,T,j)):P[T]&&(P[T]=t.wrapWithCurrentZone(P[T],Z))}else P[T]&&(P[T]=t.wrapWithCurrentZone(P[T],Z))}catch{}}),_.call(r,E,p,C)},t.attachOriginToPatched(r[n],_)}const it=function Oe(){const t=globalThis,r=!0===t[Q("forceDuplicateZoneCheck")];if(t.Zone&&(r||"function"!=typeof t.Zone.__symbol__))throw new Error("Zone already loaded.");return t.Zone??=function We(){const t=ee.performance;function r(N){t&&t.mark&&t.mark(N)}function c(N,d){t&&t.measure&&t.measure(N,d)}r("Zone");let n=(()=>{class N{static#e=this.__symbol__=Q;static assertZonePatched(){if(ee.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=N.current;for(;e.parent;)e=e.parent;return e}static get current(){return v.zone}static get currentTask(){return S}static __load_patch(e,o,m=!1){if(O.hasOwnProperty(e)){const D=!0===ee[Q("forceDuplicateZoneCheck")];if(!m&&D)throw Error("Already loaded patch: "+e)}else if(!ee["__Zone_disable_"+e]){const D="Zone:"+e;r(D),O[e]=o(ee,N,w),c(D,D)}}get parent(){return this._parent}get name(){return this._name}constructor(e,o){this._parent=e,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(e){const o=this.getZoneWith(e);if(o)return o._properties[e]}getZoneWith(e){let o=this;for(;o;){if(o._properties.hasOwnProperty(e))return o;o=o._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,o){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const m=this._zoneDelegate.intercept(this,e,o),D=this;return function(){return D.runGuarded(m,this,arguments,o)}}run(e,o,m,D){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,e,o,m,D)}finally{v=v.parent}}runGuarded(e,o=null,m,D){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,e,o,m,D)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{v=v.parent}}runTask(e,o,m){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||re).name+"; Execution: "+this.name+")");if(e.state===X&&(e.type===U||e.type===g))return;const D=e.state!=F;D&&e._transitionTo(F,h),e.runCount++;const $=S;S=e,v={parent:v,zone:this};try{e.type==g&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,o,m)}catch(A){if(this._zoneDelegate.handleError(this,A))throw A}}finally{e.state!==X&&e.state!==Y&&(e.type==U||e.data&&e.data.isPeriodic?D&&e._transitionTo(h,F):(e.runCount=0,this._updateTaskCount(e,-1),D&&e._transitionTo(X,F,X))),v=v.parent,S=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let m=this;for(;m;){if(m===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);m=m.parent}}e._transitionTo(b,X);const o=[];e._zoneDelegates=o,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(m){throw e._transitionTo(Y,b,X),this._zoneDelegate.handleError(this,m),m}return e._zoneDelegates===o&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(h,b),e}scheduleMicroTask(e,o,m,D){return this.scheduleTask(new _(B,e,o,m,D,void 0))}scheduleMacroTask(e,o,m,D,$){return this.scheduleTask(new _(g,e,o,m,D,$))}scheduleEventTask(e,o,m,D,$){return this.scheduleTask(new _(U,e,o,m,D,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||re).name+"; Execution: "+this.name+")");if(e.state===h||e.state===F){e._transitionTo(z,h,F);try{this._zoneDelegate.cancelTask(this,e)}catch(o){throw e._transitionTo(Y,z),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(e,-1),e._transitionTo(X,z),e.runCount=0,e}}_updateTaskCount(e,o){const m=e._zoneDelegates;-1==o&&(e._zoneDelegates=null);for(let D=0;DN.hasTask(e,o),onScheduleTask:(N,d,e,o)=>N.scheduleTask(e,o),onInvokeTask:(N,d,e,o,m,D)=>N.invokeTask(e,o,m,D),onCancelTask:(N,d,e,o)=>N.cancelTask(e,o)};class u{get zone(){return this._zone}constructor(d,e,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=d,this._parentDelegate=e,this._forkZS=o&&(o&&o.onFork?o:e._forkZS),this._forkDlgt=o&&(o.onFork?e:e._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:e._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:e._interceptZS),this._interceptDlgt=o&&(o.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:e._invokeZS),this._invokeDlgt=o&&(o.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:e._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:e._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:e._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:e._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const m=o&&o.onHasTask;(m||e&&e._hasTaskZS)&&(this._hasTaskZS=m?o:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}fork(d,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,d,e):new n(d,e)}intercept(d,e,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,d,e,o):e}invoke(d,e,o,m,D){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,d,e,o,m,D):e.apply(o,m)}handleError(d,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,d,e)}scheduleTask(d,e){let o=e;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,d,e),o||(o=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=B)throw new Error("Task is missing scheduleFn.");W(e)}return o}invokeTask(d,e,o,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,d,e,o,m):e.callback.apply(o,m)}cancelTask(d,e){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,d,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");o=e.cancelFn(e)}return o}hasTask(d,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,d,e)}catch(o){this.handleError(d,o)}}_updateTaskCount(d,e){const o=this._taskCounts,m=o[d],D=o[d]=m+e;if(D<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=D||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:d})}}class _{constructor(d,e,o,m,D,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=d,this.source=e,this.data=m,this.scheduleFn=D,this.cancelFn=$,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=d===U&&m&&m.useG?_.invokeTask:function(){return _.invokeTask.call(ee,A,this,arguments)}}static invokeTask(d,e,o){d||(d=this),K++;try{return d.runCount++,d.zone.runTask(d,e,o)}finally{1==K&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,b)}_transitionTo(d,e,o){if(this._state!==e&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${d}', expecting state '${e}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=d,d==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const E=Q("setTimeout"),p=Q("Promise"),C=Q("then");let P,T=[],Z=!1;function j(N){if(P||ee[p]&&(P=ee[p].resolve(0)),P){let d=P[C];d||(d=P.then),d.call(P,N)}else ee[E](N,0)}function W(N){0===K&&0===T.length&&j(x),N&&T.push(N)}function x(){if(!Z){for(Z=!0;T.length;){const N=T;T=[];for(let d=0;dv,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:W,showUncaughtError:()=>!n[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:j};let v={parent:null,zone:new n(null,null)},S=null,K=0;function q(){}return c("Zone","Zone"),n}(),t.Zone}();(function It(t){(function St(t){t.__load_patch("ZoneAwarePromise",(r,c,n)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,E=n.symbol,p=[],C=!1!==r[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=E("Promise"),Z=E("then"),P="__creationTrace__";n.onUnhandledError=f=>{if(n.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},n.microtaskDrainDone=()=>{for(;p.length;){const f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){W(a)}}};const j=E("unhandledPromiseRejectionHandler");function W(f){n.onUnhandledError(f);try{const a=c[j];"function"==typeof a&&a.call(this,f)}catch{}}function x(f){return f&&f.then}function re(f){return f}function X(f){return A.reject(f)}const b=E("state"),h=E("value"),F=E("finally"),z=E("parentPromiseValue"),Y=E("parentPromiseState"),B="Promise.then",g=null,U=!0,O=!1,w=0;function v(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},K="Promise resolved with itself",q=E("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(K);if(f[b]===g){let k=null;try{("object"==typeof s||"function"==typeof s)&&(k=s&&s.then)}catch(R){return l(()=>{N(f,!1,R)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(b)&&s.hasOwnProperty(h)&&s[b]!==g)e(s),N(f,s[b],s[h]);else if(a!==O&&"function"==typeof k)try{k.call(s,l(v(f,a)),l(v(f,!1)))}catch(R){l(()=>{N(f,!1,R)})()}else{f[b]=a;const R=f[h];if(f[h]=s,f[F]===F&&a===U&&(f[b]=f[Y],f[h]=f[z]),a===O&&s instanceof Error){const y=c.currentTask&&c.currentTask.data&&c.currentTask.data[P];y&&u(s,q,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{const I=f[h],L=!!s&&F===s[F];L&&(s[z]=I,s[Y]=R);const M=a.run(y,void 0,L&&y!==X&&y!==re?[]:[I]);N(s,!0,M)}catch(I){N(s,!1,I)}},s)}const D=function(){},$=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new $([],"All promises were rejected"));const s=[];let l=0;try{for(let y of a)l++,s.push(A.resolve(y))}catch{return Promise.reject(new $([],"All promises were rejected"))}if(0===l)return Promise.reject(new $([],"All promises were rejected"));let k=!1;const R=[];return new A((y,I)=>{for(let L=0;L{k||(k=!0,y(M))},M=>{R.push(M),l--,0===l&&(k=!0,I(new $(R,"All promises were rejected")))})})}static race(a){let s,l,k=new this((I,L)=>{s=I,l=L});function R(I){s(I)}function y(I){l(I)}for(let I of a)x(I)||(I=this.resolve(I)),I.then(R,y);return k}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,k,R=new this((M,G)=>{l=M,k=G}),y=2,I=0;const L=[];for(let M of a){x(M)||(M=this.resolve(M));const G=I;try{M.then(V=>{L[G]=s?s.thenCallback(V):V,y--,0===y&&l(L)},V=>{s?(L[G]=s.errorCallback(V),y--,0===y&&l(L)):k(V)})}catch(V){k(V)}y++,I++}return y-=2,0===y&&l(L),R}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[b]=g,s[h]=[];try{const l=S();a&&a(l(v(s,U)),l(v(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const k=new l(D),R=c.current;return this[b]==g?this[h].push(R,k,a,s):o(this,R,k,a,s),k}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(D);l[F]=F;const k=c.current;return this[b]==g?this[h].push(k,l,a,a):o(this,k,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const Ce=r[T]=r.Promise;r.Promise=A;const ke=E("thenPatched");function he(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[Z]=l,f.prototype.then=function(k,R){return new A((I,L)=>{l.call(this,I,L)}).then(k,R)},f[ke]=!0}return n.patchThen=he,Ce&&(he(Ce),le(r,"fetch",f=>function Se(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let k=l.constructor;return k[ke]||he(k),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=p,A})})(t),function Dt(t){t.__load_patch("toString",r=>{const c=Function.prototype.toString,n=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),_=function(){if("function"==typeof this){const T=this[n];if(T)return"function"==typeof T?c.call(T):Object.prototype.toString.call(T);if(this===Promise){const Z=r[i];if(Z)return c.call(Z)}if(this===Error){const Z=r[u];if(Z)return c.call(Z)}}return c.call(this)};_[n]=c,Function.prototype.toString=_;const E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}})}(t),function Nt(t){t.__load_patch("util",(r,c,n)=>{const i=Fe(r);n.patchOnProperties=Je,n.patchMethod=le,n.bindArguments=xe,n.patchMacroTask=Tt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),_=c.__symbol__("UNPATCHED_EVENTS");r[_]&&(r[u]=r[_]),r[u]&&(c[u]=c[_]=r[u]),n.patchEventPrototype=kt,n.patchEventTarget=mt,n.isIEOrEdge=yt,n.ObjectDefineProperty=Ne,n.ObjectGetOwnPropertyDescriptor=ye,n.ObjectCreate=ht,n.ArraySlice=dt,n.patchClass=me,n.wrapWithCurrentZone=je,n.filterProperties=ot,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Ot,n.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:te,eventNames:i,isBrowser:Ge,isMix:Xe,isNode:Pe,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:Me})})}(t)})(it),function Ct(t){t.__load_patch("legacy",r=>{const c=r[t.__symbol__("legacyPatch")];c&&c()}),t.__load_patch("timers",r=>{const c="set",n="clear";Ee(r,c,n,"Timeout"),Ee(r,c,n,"Interval"),Ee(r,c,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Ee(r,"request","cancel","AnimationFrame"),Ee(r,"mozRequest","mozCancel","AnimationFrame"),Ee(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,c)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(C,T){return c.current.run(_,r,T,p)})}),t.__load_patch("EventTarget",(r,c,n)=>{(function wt(t,r){r.patchEventPrototype(t,r)})(r,n),function Pt(t,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:_}=r.getGlobalObjects();for(let p=0;p{me("MutationObserver"),me("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,c,n)=>{me("IntersectionObserver")}),t.__load_patch("FileReader",(r,c,n)=>{me("FileReader")}),t.__load_patch("on_property",(r,c,n)=>{!function Rt(t,r){if(Pe&&!Xe||Zone[t.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let n=[];if(Ge){const i=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function gt(){try{const t=de.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];st(i,Fe(i),c&&c.concat(u),Ie(i))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function bt(t,r){const{isBrowser:c,isMix:n}=r.getGlobalObjects();(c||n)&&t.customElements&&"customElements"in t&&r.patchCallbacks(r,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,n)}),t.__load_patch("XHR",(r,c)=>{!function C(T){const Z=T.XMLHttpRequest;if(!Z)return;const P=Z.prototype;let W=P[Ze],x=P[Ae];if(!W){const w=T.XMLHttpRequestEventTarget;if(w){const v=w.prototype;W=v[Ze],x=v[Ae]}}const re="readystatechange",X="scheduled";function b(w){const v=w.data,S=v.target;S[_]=!1,S[p]=!1;const K=S[u];W||(W=S[Ze],x=S[Ae]),K&&x.call(S,re,K);const q=S[u]=()=>{if(S.readyState===S.DONE)if(!v.aborted&&S[_]&&w.state===X){const d=S[c.__symbol__("loadfalse")];if(0!==S.status&&d&&d.length>0){const e=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let m=0;mfunction(w,v){return w[i]=0==v[2],w[E]=v[1],z.apply(w,v)}),B=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=le(P,"send",()=>function(w,v){if(!0===c.current[g]||w[i])return U.apply(w,v);{const S={target:w,url:w[E],isPeriodic:!1,args:v,aborted:!1},K=He("XMLHttpRequest.send",h,S,b,F);w&&!0===w[p]&&!S.aborted&&K.state===X&&K.invoke()}}),O=le(P,"abort",()=>function(w,v){const S=function j(w){return w[n]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[B])return O.apply(w,v)})}(r);const n=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),p=H("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(t,r){const c=t.constructor.name;for(let n=0;n{const p=function(){return E.apply(this,xe(arguments,c+"."+i))};return ue(p,E),p})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,c)=>{function n(i){return function(u){rt(r,i).forEach(E=>{const p=r.PromiseRejectionEvent;if(p){const C=new p(i,{promise:u.promise,reason:u.rejection});E.invoke(C)}})}}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),c[H("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,c,n)=>{!function vt(t,r){r.patchMethod(t,"queueMicrotask",c=>function(n,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,n)})}(it)}},ee=>{ee(ee.s=6935)}]); \ No newline at end of file +"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[429],{8332:()=>{const ee=globalThis;function Q(t){return(ee.__Zone_symbol_prefix||"__zone_symbol__")+t}const ye=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ie=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,Le="addEventListener",Me="removeEventListener",Ze=Q(Le),Ae=Q(Me),ce="true",ae="false",pe=Q("");function je(t,r){return Zone.current.wrap(t,r)}function He(t,r,c,n,i){return Zone.current.scheduleMacroTask(t,r,c,n,i)}const H=Q,be=typeof window<"u",de=be?window:void 0,J=be&&de||globalThis,_t="removeAttribute";function xe(t,r){for(let c=t.length-1;c>=0;c--)"function"==typeof t[c]&&(t[c]=je(t[c],r+"_"+c));return t}function ze(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Pe=!("nw"in J)&&typeof J.process<"u"&&"[object process]"===J.process.toString(),Ge=!Pe&&!qe&&!(!be||!de.HTMLElement),Xe=typeof J.process<"u"&&"[object process]"===J.process.toString()&&!qe&&!(!be||!de.HTMLElement),we={},Ye=function(t){if(!(t=t||J.event))return;let r=we[t.type];r||(r=we[t.type]=H("ON_PROPERTY"+t.type));const c=this||t.target||J,n=c[r];let i;return Ge&&c===de&&"error"===t.type?(i=n&&n.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===i&&t.preventDefault()):(i=n&&n.apply(this,arguments),null!=i&&!i&&t.preventDefault()),i};function $e(t,r,c){let n=ye(t,r);if(!n&&c&&ye(c,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;const i=H("on"+r+"patched");if(t.hasOwnProperty(i)&&t[i])return;delete n.writable,delete n.value;const u=n.get,_=n.set,E=r.slice(2);let p=we[E];p||(p=we[E]=H("ON_PROPERTY"+E)),n.set=function(C){let T=this;!T&&t===J&&(T=J),T&&("function"==typeof T[p]&&T.removeEventListener(E,Ye),_&&_.call(T,null),T[p]=C,"function"==typeof C&&T.addEventListener(E,Ye,!1))},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;const T=C[p];if(T)return T;if(u){let Z=u.call(this);if(Z)return n.set.call(this,Z),"function"==typeof C[_t]&&C.removeAttribute(r),Z}return null},Ne(t,r,n),t[i]=!0}function Je(t,r,c){if(r)for(let n=0;nfunction(_,E){const p=c(_,E);return p.cbIdx>=0&&"function"==typeof E[p.cbIdx]?He(p.name,E[p.cbIdx],p,i):u.apply(_,E)})}function ue(t,r){t[H("OriginalDelegate")]=r}let Ke=!1,Ve=!1;function yt(){if(Ke)return Ve;Ke=!0;try{const t=de.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}let _e=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{_e=!1}const pt={useG:!0},te={},Qe={},et=new RegExp("^"+pe+"(\\w+)(true|false)$"),tt=H("propagationStopped");function nt(t,r){const c=(r?r(t):t)+ae,n=(r?r(t):t)+ce,i=pe+c,u=pe+n;te[t]={},te[t][ae]=i,te[t][ce]=u}function mt(t,r,c,n){const i=n&&n.add||Le,u=n&&n.rm||Me,_=n&&n.listeners||"eventListeners",E=n&&n.rmAll||"removeAllListeners",p=H(i),C="."+i+":",T="prependListener",Z="."+T+":",P=function(b,h,F){if(b.isRemoved)return;const z=b.callback;let Y;"object"==typeof z&&z.handleEvent&&(b.callback=g=>z.handleEvent(g),b.originalDelegate=z);try{b.invoke(b,h,[F])}catch(g){Y=g}const B=b.options;return B&&"object"==typeof B&&B.once&&h[u].call(h,F.type,b.originalDelegate?b.originalDelegate:b.callback,B),Y};function j(b,h,F){if(!(h=h||t.event))return;const z=b||h.target||t,Y=z[te[h.type][F?ce:ae]];if(Y){const B=[];if(1===Y.length){const g=P(Y[0],z,h);g&&B.push(g)}else{const g=Y.slice();for(let U=0;U{throw U})}}}const W=function(b){return j(this,b,!1)},x=function(b){return j(this,b,!0)};function re(b,h){if(!b)return!1;let F=!0;h&&void 0!==h.useG&&(F=h.useG);const z=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let B=!1;h&&void 0!==h.rt&&(B=h.rt);let g=b;for(;g&&!g.hasOwnProperty(i);)g=Ie(g);if(!g&&b[i]&&(g=b),!g||g[p])return!1;const U=h&&h.eventNameToString,O={},w=g[p]=g[i],v=g[H(u)]=g[u],S=g[H(_)]=g[_],K=g[H(E)]=g[E];let q;h&&h.prepend&&(q=g[H(h.prepend)]=g[h.prepend]);const $=F?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?x:W,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=F?function(s){if(!s.isRemoved){const l=te[s.eventName];let k;l&&(k=l[s.capture?ce:ae]);const R=k&&s.target[k];if(R)for(let y=0;yoe.zone.cancelTask(oe);s.call(Te,"abort",ie,{once:!0}),oe.removeAbortListener=()=>Te.removeEventListener("abort",ie)}return O.target=null,ve&&(ve.taskData=null),ct&&(O.options.once=!0),!_e&&"boolean"==typeof oe.options||(oe.options=se),oe.target=L,oe.capture=Be,oe.eventName=M,V&&(oe.originalDelegate=G),I?ge.unshift(oe):ge.push(oe),y?L:void 0}};return g[i]=a(w,C,$,A,B),q&&(g[T]=a(q,Z,function(s){return q.call(O.target,O.eventName,s.invoke,O.options)},A,B,!0)),g[u]=function(){const s=this||t;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const k=arguments[2],R=!!k&&("boolean"==typeof k||k.capture),y=arguments[1];if(!y)return v.apply(this,arguments);if(z&&!z(v,y,s,arguments))return;const I=te[l];let L;I&&(L=I[R?ce:ae]);const M=L&&s[L];if(M)for(let G=0;Gfunction(i,u){i[tt]=!0,n&&n.apply(i,u)})}const Re=H("zoneTask");function Ee(t,r,c,n){let i=null,u=null;c+=n;const _={};function E(C){const T=C.data;return T.args[0]=function(){return C.invoke.apply(this,arguments)},T.handleId=i.apply(t,T.args),C}function p(C){return u.call(t,C.data.handleId)}i=le(t,r+=n,C=>function(T,Z){if("function"==typeof Z[0]){const P={isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?Z[1]||0:void 0,args:Z},j=Z[0];Z[0]=function(){try{return j.apply(this,arguments)}finally{P.isPeriodic||("number"==typeof P.handleId?delete _[P.handleId]:P.handleId&&(P.handleId[Re]=null))}};const W=He(r,Z[0],P,E,p);if(!W)return W;const x=W.data.handleId;return"number"==typeof x?_[x]=W:x&&(x[Re]=W),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(W.ref=x.ref.bind(x),W.unref=x.unref.bind(x)),"number"==typeof x||x?x:W}return C.apply(t,Z)}),u=le(t,c,C=>function(T,Z){const P=Z[0];let j;"number"==typeof P?j=_[P]:(j=P&&P[Re],j||(j=P)),j&&"string"==typeof j.type?"notScheduled"!==j.state&&(j.cancelFn&&j.data.isPeriodic||0===j.runCount)&&("number"==typeof P?delete _[P]:P&&(P[Re]=null),j.zone.cancelTask(j)):C.apply(t,Z)})}function ot(t,r,c){if(!c||0===c.length)return r;const n=c.filter(u=>u.target===t);if(!n||0===n.length)return r;const i=n[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function st(t,r,c,n){t&&Je(t,ot(t,r,c),n)}function Fe(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Ot(t,r,c,n,i){const u=Zone.__symbol__(n);if(r[u])return;const _=r[u]=r[n];r[n]=function(E,p,C){return p&&p.prototype&&i.forEach(function(T){const Z=`${c}.${n}::`+T,P=p.prototype;try{if(P.hasOwnProperty(T)){const j=t.ObjectGetOwnPropertyDescriptor(P,T);j&&j.value?(j.value=t.wrapWithCurrentZone(j.value,Z),t._redefineProperty(p.prototype,T,j)):P[T]&&(P[T]=t.wrapWithCurrentZone(P[T],Z))}else P[T]&&(P[T]=t.wrapWithCurrentZone(P[T],Z))}catch{}}),_.call(r,E,p,C)},t.attachOriginToPatched(r[n],_)}const it=function Oe(){const t=globalThis,r=!0===t[Q("forceDuplicateZoneCheck")];if(t.Zone&&(r||"function"!=typeof t.Zone.__symbol__))throw new Error("Zone already loaded.");return t.Zone??=function We(){const t=ee.performance;function r(N){t&&t.mark&&t.mark(N)}function c(N,d){t&&t.measure&&t.measure(N,d)}r("Zone");let n=(()=>{class N{static#e=this.__symbol__=Q;static assertZonePatched(){if(ee.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=N.current;for(;e.parent;)e=e.parent;return e}static get current(){return v.zone}static get currentTask(){return S}static __load_patch(e,o,m=!1){if(O.hasOwnProperty(e)){const D=!0===ee[Q("forceDuplicateZoneCheck")];if(!m&&D)throw Error("Already loaded patch: "+e)}else if(!ee["__Zone_disable_"+e]){const D="Zone:"+e;r(D),O[e]=o(ee,N,w),c(D,D)}}get parent(){return this._parent}get name(){return this._name}constructor(e,o){this._parent=e,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(e){const o=this.getZoneWith(e);if(o)return o._properties[e]}getZoneWith(e){let o=this;for(;o;){if(o._properties.hasOwnProperty(e))return o;o=o._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,o){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const m=this._zoneDelegate.intercept(this,e,o),D=this;return function(){return D.runGuarded(m,this,arguments,o)}}run(e,o,m,D){v={parent:v,zone:this};try{return this._zoneDelegate.invoke(this,e,o,m,D)}finally{v=v.parent}}runGuarded(e,o=null,m,D){v={parent:v,zone:this};try{try{return this._zoneDelegate.invoke(this,e,o,m,D)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{v=v.parent}}runTask(e,o,m){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||re).name+"; Execution: "+this.name+")");if(e.state===X&&(e.type===U||e.type===g))return;const D=e.state!=F;D&&e._transitionTo(F,h),e.runCount++;const $=S;S=e,v={parent:v,zone:this};try{e.type==g&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,o,m)}catch(A){if(this._zoneDelegate.handleError(this,A))throw A}}finally{e.state!==X&&e.state!==Y&&(e.type==U||e.data&&e.data.isPeriodic?D&&e._transitionTo(h,F):(e.runCount=0,this._updateTaskCount(e,-1),D&&e._transitionTo(X,F,X))),v=v.parent,S=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let m=this;for(;m;){if(m===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);m=m.parent}}e._transitionTo(b,X);const o=[];e._zoneDelegates=o,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(m){throw e._transitionTo(Y,b,X),this._zoneDelegate.handleError(this,m),m}return e._zoneDelegates===o&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(h,b),e}scheduleMicroTask(e,o,m,D){return this.scheduleTask(new _(B,e,o,m,D,void 0))}scheduleMacroTask(e,o,m,D,$){return this.scheduleTask(new _(g,e,o,m,D,$))}scheduleEventTask(e,o,m,D,$){return this.scheduleTask(new _(U,e,o,m,D,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||re).name+"; Execution: "+this.name+")");if(e.state===h||e.state===F){e._transitionTo(z,h,F);try{this._zoneDelegate.cancelTask(this,e)}catch(o){throw e._transitionTo(Y,z),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(e,-1),e._transitionTo(X,z),e.runCount=0,e}}_updateTaskCount(e,o){const m=e._zoneDelegates;-1==o&&(e._zoneDelegates=null);for(let D=0;DN.hasTask(e,o),onScheduleTask:(N,d,e,o)=>N.scheduleTask(e,o),onInvokeTask:(N,d,e,o,m,D)=>N.invokeTask(e,o,m,D),onCancelTask:(N,d,e,o)=>N.cancelTask(e,o)};class u{get zone(){return this._zone}constructor(d,e,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=d,this._parentDelegate=e,this._forkZS=o&&(o&&o.onFork?o:e._forkZS),this._forkDlgt=o&&(o.onFork?e:e._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:e._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:e._interceptZS),this._interceptDlgt=o&&(o.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:e._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:e._invokeZS),this._invokeDlgt=o&&(o.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:e._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:e._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:e._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:e._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:e._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:e._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:e._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:e._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const m=o&&o.onHasTask;(m||e&&e._hasTaskZS)&&(this._hasTaskZS=m?o:i,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this._zone))}fork(d,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,d,e):new n(d,e)}intercept(d,e,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,d,e,o):e}invoke(d,e,o,m,D){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,d,e,o,m,D):e.apply(o,m)}handleError(d,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,d,e)}scheduleTask(d,e){let o=e;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,d,e),o||(o=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=B)throw new Error("Task is missing scheduleFn.");W(e)}return o}invokeTask(d,e,o,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,d,e,o,m):e.callback.apply(o,m)}cancelTask(d,e){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,d,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");o=e.cancelFn(e)}return o}hasTask(d,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,d,e)}catch(o){this.handleError(d,o)}}_updateTaskCount(d,e){const o=this._taskCounts,m=o[d],D=o[d]=m+e;if(D<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=D||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:d})}}class _{constructor(d,e,o,m,D,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=d,this.source=e,this.data=m,this.scheduleFn=D,this.cancelFn=$,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=d===U&&m&&m.useG?_.invokeTask:function(){return _.invokeTask.call(ee,A,this,arguments)}}static invokeTask(d,e,o){d||(d=this),K++;try{return d.runCount++,d.zone.runTask(d,e,o)}finally{1==K&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,b)}_transitionTo(d,e,o){if(this._state!==e&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${d}', expecting state '${e}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=d,d==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const E=Q("setTimeout"),p=Q("Promise"),C=Q("then");let P,T=[],Z=!1;function j(N){if(P||ee[p]&&(P=ee[p].resolve(0)),P){let d=P[C];d||(d=P.then),d.call(P,N)}else ee[E](N,0)}function W(N){0===K&&0===T.length&&j(x),N&&T.push(N)}function x(){if(!Z){for(Z=!0;T.length;){const N=T;T=[];for(let d=0;dv,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:W,showUncaughtError:()=>!n[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:j};let v={parent:null,zone:new n(null,null)},S=null,K=0;function q(){}return c("Zone","Zone"),n}(),t.Zone}();(function It(t){(function St(t){t.__load_patch("ZoneAwarePromise",(r,c,n)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,E=n.symbol,p=[],C=!1!==r[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=E("Promise"),Z=E("then"),P="__creationTrace__";n.onUnhandledError=f=>{if(n.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},n.microtaskDrainDone=()=>{for(;p.length;){const f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){W(a)}}};const j=E("unhandledPromiseRejectionHandler");function W(f){n.onUnhandledError(f);try{const a=c[j];"function"==typeof a&&a.call(this,f)}catch{}}function x(f){return f&&f.then}function re(f){return f}function X(f){return A.reject(f)}const b=E("state"),h=E("value"),F=E("finally"),z=E("parentPromiseValue"),Y=E("parentPromiseState"),B="Promise.then",g=null,U=!0,O=!1,w=0;function v(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},K="Promise resolved with itself",q=E("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(K);if(f[b]===g){let k=null;try{("object"==typeof s||"function"==typeof s)&&(k=s&&s.then)}catch(R){return l(()=>{N(f,!1,R)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(b)&&s.hasOwnProperty(h)&&s[b]!==g)e(s),N(f,s[b],s[h]);else if(a!==O&&"function"==typeof k)try{k.call(s,l(v(f,a)),l(v(f,!1)))}catch(R){l(()=>{N(f,!1,R)})()}else{f[b]=a;const R=f[h];if(f[h]=s,f[F]===F&&a===U&&(f[b]=f[Y],f[h]=f[z]),a===O&&s instanceof Error){const y=c.currentTask&&c.currentTask.data&&c.currentTask.data[P];y&&u(s,q,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y{try{const I=f[h],L=!!s&&F===s[F];L&&(s[z]=I,s[Y]=R);const M=a.run(y,void 0,L&&y!==X&&y!==re?[]:[I]);N(s,!0,M)}catch(I){N(s,!1,I)}},s)}const D=function(){},$=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new $([],"All promises were rejected"));const s=[];let l=0;try{for(let y of a)l++,s.push(A.resolve(y))}catch{return Promise.reject(new $([],"All promises were rejected"))}if(0===l)return Promise.reject(new $([],"All promises were rejected"));let k=!1;const R=[];return new A((y,I)=>{for(let L=0;L{k||(k=!0,y(M))},M=>{R.push(M),l--,0===l&&(k=!0,I(new $(R,"All promises were rejected")))})})}static race(a){let s,l,k=new this((I,L)=>{s=I,l=L});function R(I){s(I)}function y(I){l(I)}for(let I of a)x(I)||(I=this.resolve(I)),I.then(R,y);return k}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,k,R=new this((M,G)=>{l=M,k=G}),y=2,I=0;const L=[];for(let M of a){x(M)||(M=this.resolve(M));const G=I;try{M.then(V=>{L[G]=s?s.thenCallback(V):V,y--,0===y&&l(L)},V=>{s?(L[G]=s.errorCallback(V),y--,0===y&&l(L)):k(V)})}catch(V){k(V)}y++,I++}return y-=2,0===y&&l(L),R}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[b]=g,s[h]=[];try{const l=S();a&&a(l(v(s,U)),l(v(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const k=new l(D),R=c.current;return this[b]==g?this[h].push(R,k,a,s):o(this,R,k,a,s),k}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(D);l[F]=F;const k=c.current;return this[b]==g?this[h].push(k,l,a,a):o(this,k,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const Ce=r[T]=r.Promise;r.Promise=A;const ke=E("thenPatched");function he(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[Z]=l,f.prototype.then=function(k,R){return new A((I,L)=>{l.call(this,I,L)}).then(k,R)},f[ke]=!0}return n.patchThen=he,Ce&&(he(Ce),le(r,"fetch",f=>function Se(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let k=l.constructor;return k[ke]||he(k),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=p,A})})(t),function Dt(t){t.__load_patch("toString",r=>{const c=Function.prototype.toString,n=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),_=function(){if("function"==typeof this){const T=this[n];if(T)return"function"==typeof T?c.call(T):Object.prototype.toString.call(T);if(this===Promise){const Z=r[i];if(Z)return c.call(Z)}if(this===Error){const Z=r[u];if(Z)return c.call(Z)}}return c.call(this)};_[n]=c,Function.prototype.toString=_;const E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}})}(t),function Nt(t){t.__load_patch("util",(r,c,n)=>{const i=Fe(r);n.patchOnProperties=Je,n.patchMethod=le,n.bindArguments=xe,n.patchMacroTask=Tt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),_=c.__symbol__("UNPATCHED_EVENTS");r[_]&&(r[u]=r[_]),r[u]&&(c[u]=c[_]=r[u]),n.patchEventPrototype=kt,n.patchEventTarget=mt,n.isIEOrEdge=yt,n.ObjectDefineProperty=Ne,n.ObjectGetOwnPropertyDescriptor=ye,n.ObjectCreate=ht,n.ArraySlice=dt,n.patchClass=me,n.wrapWithCurrentZone=je,n.filterProperties=ot,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Ot,n.getGlobalObjects=()=>({globalSources:Qe,zoneSymbolEventNames:te,eventNames:i,isBrowser:Ge,isMix:Xe,isNode:Pe,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:Me})})}(t)})(it),function Ct(t){t.__load_patch("legacy",r=>{const c=r[t.__symbol__("legacyPatch")];c&&c()}),t.__load_patch("timers",r=>{const c="set",n="clear";Ee(r,c,n,"Timeout"),Ee(r,c,n,"Interval"),Ee(r,c,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Ee(r,"request","cancel","AnimationFrame"),Ee(r,"mozRequest","mozCancel","AnimationFrame"),Ee(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,c)=>{const n=["alert","prompt","confirm"];for(let i=0;ifunction(C,T){return c.current.run(_,r,T,p)})}),t.__load_patch("EventTarget",(r,c,n)=>{(function wt(t,r){r.patchEventPrototype(t,r)})(r,n),function Pt(t,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:_}=r.getGlobalObjects();for(let p=0;p{me("MutationObserver"),me("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,c,n)=>{me("IntersectionObserver")}),t.__load_patch("FileReader",(r,c,n)=>{me("FileReader")}),t.__load_patch("on_property",(r,c,n)=>{!function Rt(t,r){if(Pe&&!Xe||Zone[t.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let n=[];if(Ge){const i=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function gt(){try{const t=de.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];st(i,Fe(i),c&&c.concat(u),Ie(i))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{!function bt(t,r){const{isBrowser:c,isMix:n}=r.getGlobalObjects();(c||n)&&t.customElements&&"customElements"in t&&r.patchCallbacks(r,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,n)}),t.__load_patch("XHR",(r,c)=>{!function C(T){const Z=T.XMLHttpRequest;if(!Z)return;const P=Z.prototype;let W=P[Ze],x=P[Ae];if(!W){const w=T.XMLHttpRequestEventTarget;if(w){const v=w.prototype;W=v[Ze],x=v[Ae]}}const re="readystatechange",X="scheduled";function b(w){const v=w.data,S=v.target;S[_]=!1,S[p]=!1;const K=S[u];W||(W=S[Ze],x=S[Ae]),K&&x.call(S,re,K);const q=S[u]=()=>{if(S.readyState===S.DONE)if(!v.aborted&&S[_]&&w.state===X){const d=S[c.__symbol__("loadfalse")];if(0!==S.status&&d&&d.length>0){const e=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let m=0;mfunction(w,v){return w[i]=0==v[2],w[E]=v[1],z.apply(w,v)}),B=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=le(P,"send",()=>function(w,v){if(!0===c.current[g]||w[i])return U.apply(w,v);{const S={target:w,url:w[E],isPeriodic:!1,args:v,aborted:!1},K=He("XMLHttpRequest.send",h,S,b,F);w&&!0===w[p]&&!S.aborted&&K.state===X&&K.invoke()}}),O=le(P,"abort",()=>function(w,v){const S=function j(w){return w[n]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[B])return O.apply(w,v)})}(r);const n=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),_=H("xhrScheduled"),E=H("xhrURL"),p=H("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(t,r){const c=t.constructor.name;for(let n=0;n{const p=function(){return E.apply(this,xe(arguments,c+"."+i))};return ue(p,E),p})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,c)=>{function n(i){return function(u){rt(r,i).forEach(E=>{const p=r.PromiseRejectionEvent;if(p){const C=new p(i,{promise:u.promise,reason:u.rejection});E.invoke(C)}})}}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),c[H("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,c,n)=>{!function vt(t,r){r.patchMethod(t,"queueMicrotask",c=>function(n,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,n)})}(it)}},ee=>{ee(ee.s=8332)}]); \ No newline at end of file diff --git a/dist/hacks-website/runtime.948a239fecfbb0f6.js b/dist/hacks-website/runtime.fa4c12334e562a2f.js similarity index 93% rename from dist/hacks-website/runtime.948a239fecfbb0f6.js rename to dist/hacks-website/runtime.fa4c12334e562a2f.js index a735c0e..9d8fa67 100644 --- a/dist/hacks-website/runtime.948a239fecfbb0f6.js +++ b/dist/hacks-website/runtime.fa4c12334e562a2f.js @@ -1 +1 @@ -(()=>{"use strict";var e,_={},b={};function a(e){var f=b[e];if(void 0!==f)return f.exports;var r=b[e]={exports:{}};return _[e](r,r.exports,a),r.exports}a.m=_,e=[],a.O=(f,r,u,l)=>{if(!r){var o=1/0;for(n=0;n=l)&&Object.keys(a.O).every(h=>a.O[h](r[s]))?r.splice(s--,1):(t=!1,l0&&e[n-1][2]>l;n--)e[n]=e[n-1];e[n]=[r,u,l]},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={121:0};a.O.j=u=>0===e[u];var f=(u,l)=>{var s,c,[n,o,t]=l,v=0;if(n.some(d=>0!==e[d])){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(t)var i=t(a)}for(u&&u(l);v{"use strict";var e,_={},b={};function a(e){var f=b[e];if(void 0!==f)return f.exports;var r=b[e]={exports:{}};return _[e](r,r.exports,a),r.exports}a.m=_,e=[],a.O=(f,r,u,l)=>{if(!r){var o=1/0;for(n=0;n=l)&&Object.keys(a.O).every(h=>a.O[h](r[s]))?r.splice(s--,1):(t=!1,l0&&e[n-1][2]>l;n--)e[n]=e[n-1];e[n]=[r,u,l]},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={666:0};a.O.j=u=>0===e[u];var f=(u,l)=>{var s,c,[n,o,t]=l,v=0;if(n.some(d=>0!==e[d])){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(t)var i=t(a)}for(u&&u(l);v+~]|"+Q+")"+Q+"*"),_t=new RegExp(Q+"|>"),Ee=new RegExp(Fe),ft=new RegExp("^"+Ae+"$"),Pe={ID:new RegExp("^#("+Ae+")"),CLASS:new RegExp("^\\.("+Ae+")"),TAG:new RegExp("^("+Ae+"|[*])"),ATTR:new RegExp("^"+_),PSEUDO:new RegExp("^"+Fe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Q+"*(even|odd|(([+-]|)(\\d*)n|)"+Q+"*(?:([+-]|)"+Q+"*(\\d+)|))"+Q+"*\\)|)","i"),bool:new RegExp("^(?:"+$e+")$","i"),needsContext:new RegExp("^"+Q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Q+"*((?:-\\d)?\\d*)"+Q+"*\\)|)(?=[^-]|$)","i")},Ne=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,we=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,le=/[+~]/,oe=new RegExp("\\\\[\\da-fA-F]{1,6}"+Q+"?|\\\\([^\\r\\n\\f])","g"),ue=function(u,y){var x="0x"+u.slice(1)-65536;return y||(x<0?String.fromCharCode(x+65536):String.fromCharCode(x>>10|55296,1023&x|56320))},qe=function(){Me()},pe=Ct(function(u){return!0===u.disabled&&J(u,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(n=g.call(He.childNodes),He.childNodes)}catch{k={apply:function(y,x){jt.apply(y,g.call(x))},call:function(y){jt.apply(y,g.call(arguments,1))}}}function M(u,y,x,T){var C,O,L,P,H,G,B,X=y&&y.ownerDocument,Y=y?y.nodeType:9;if(x=x||[],"string"!=typeof u||!u||1!==Y&&9!==Y&&11!==Y)return x;if(!T&&(Me(y),y=y||a,h)){if(11!==Y&&(H=we.exec(u)))if(C=H[1]){if(9===Y){if(!(L=y.getElementById(C)))return x;if(L.id===C)return k.call(x,L),x}else if(X&&(L=X.getElementById(C))&&M.contains(y,L)&&L.id===C)return k.call(x,L),x}else{if(H[2])return k.apply(x,y.getElementsByTagName(u)),x;if((C=H[3])&&y.getElementsByClassName)return k.apply(x,y.getElementsByClassName(C)),x}if(!(te[u+" "]||f&&f.test(u))){if(B=u,X=y,1===Y&&(_t.test(u)||pt.test(u))){for((X=le.test(u)&&Yt(y.parentNode)||y)==y&&F.scope||((P=y.getAttribute("id"))?P=r.escapeSelector(P):y.setAttribute("id",P=S)),O=(G=ht(u)).length;O--;)G[O]=(P?"#"+P:":scope")+" "+St(G[O]);B=G.join(",")}try{return k.apply(x,X.querySelectorAll(B)),x}catch{te(u,!0)}finally{P===S&&y.removeAttribute("id")}}}return Rn(u.replace(it,"$1"),y,x,T)}function ne(){var u=[];return function y(x,T){return u.push(x+" ")>t.cacheLength&&delete y[u.shift()],y[x+" "]=T}}function ie(u){return u[S]=!0,u}function K(u){var y=a.createElement("fieldset");try{return!!u(y)}catch{return!1}finally{y.parentNode&&y.parentNode.removeChild(y),y=null}}function je(u){return function(y){return J(y,"input")&&y.type===u}}function nt(u){return function(y){return(J(y,"input")||J(y,"button"))&&y.type===u}}function Tt(u){return function(y){return"form"in y?y.parentNode&&!1===y.disabled?"label"in y?"label"in y.parentNode?y.parentNode.disabled===u:y.disabled===u:y.isDisabled===u||y.isDisabled!==!u&&pe(y)===u:y.disabled===u:"label"in y&&y.disabled===u}}function Be(u){return ie(function(y){return y=+y,ie(function(x,T){for(var C,O=u([],x.length,y),L=O.length;L--;)x[C=O[L]]&&(x[C]=!(T[C]=x[C]))})})}function Yt(u){return u&&typeof u.getElementsByTagName<"u"&&u}function Me(u){var y,x=u?u.ownerDocument||u:He;return x!=a&&9===x.nodeType&&x.documentElement&&(c=(a=x).documentElement,h=!r.isXMLDoc(a),m=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&He!=a&&(y=a.defaultView)&&y.top!==y&&y.addEventListener("unload",qe),F.getById=K(function(T){return c.appendChild(T).id=r.expando,!a.getElementsByName||!a.getElementsByName(r.expando).length}),F.disconnectedMatch=K(function(T){return m.call(T,"*")}),F.scope=K(function(){return a.querySelectorAll(":scope")}),F.cssHas=K(function(){try{return a.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),F.getById?(t.filter.ID=function(T){var C=T.replace(oe,ue);return function(O){return O.getAttribute("id")===C}},t.find.ID=function(T,C){if(typeof C.getElementById<"u"&&h){var O=C.getElementById(T);return O?[O]:[]}}):(t.filter.ID=function(T){var C=T.replace(oe,ue);return function(O){var L=typeof O.getAttributeNode<"u"&&O.getAttributeNode("id");return L&&L.value===C}},t.find.ID=function(T,C){if(typeof C.getElementById<"u"&&h){var O,L,P,H=C.getElementById(T);if(H){if((O=H.getAttributeNode("id"))&&O.value===T)return[H];for(P=C.getElementsByName(T),L=0;H=P[L++];)if((O=H.getAttributeNode("id"))&&O.value===T)return[H]}return[]}}),t.find.TAG=function(T,C){return typeof C.getElementsByTagName<"u"?C.getElementsByTagName(T):C.querySelectorAll(T)},t.find.CLASS=function(T,C){if(typeof C.getElementsByClassName<"u"&&h)return C.getElementsByClassName(T)},f=[],K(function(T){var C;c.appendChild(T).innerHTML="",T.querySelectorAll("[selected]").length||f.push("\\["+Q+"*(?:value|"+$e+")"),T.querySelectorAll("[id~="+S+"-]").length||f.push("~="),T.querySelectorAll("a#"+S+"+*").length||f.push(".#.+[+~]"),T.querySelectorAll(":checked").length||f.push(":checked"),(C=a.createElement("input")).setAttribute("type","hidden"),T.appendChild(C).setAttribute("name","D"),c.appendChild(T).disabled=!0,2!==T.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(C=a.createElement("input")).setAttribute("name",""),T.appendChild(C),T.querySelectorAll("[name='']").length||f.push("\\["+Q+"*name"+Q+"*="+Q+"*(?:''|\"\")")}),F.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),ae=function(T,C){if(T===C)return s=!0,0;var O=!T.compareDocumentPosition-!C.compareDocumentPosition;return O||(1&(O=(T.ownerDocument||T)==(C.ownerDocument||C)?T.compareDocumentPosition(C):1)||!F.sortDetached&&C.compareDocumentPosition(T)===O?T===a||T.ownerDocument==He&&M.contains(He,T)?-1:C===a||C.ownerDocument==He&&M.contains(He,C)?1:o?p.call(o,T)-p.call(o,C):0:4&O?-1:1)}),a}for(e in M.matches=function(u,y){return M(u,null,null,y)},M.matchesSelector=function(u,y){if(Me(u),h&&!te[y+" "]&&(!f||!f.test(y)))try{var x=m.call(u,y);if(x||F.disconnectedMatch||u.document&&11!==u.document.nodeType)return x}catch{te(y,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(u){return u[1]=u[1].replace(oe,ue),u[3]=(u[3]||u[4]||u[5]||"").replace(oe,ue),"~="===u[2]&&(u[3]=" "+u[3]+" "),u.slice(0,4)},CHILD:function(u){return u[1]=u[1].toLowerCase(),"nth"===u[1].slice(0,3)?(u[3]||M.error(u[0]),u[4]=+(u[4]?u[5]+(u[6]||1):2*("even"===u[3]||"odd"===u[3])),u[5]=+(u[7]+u[8]||"odd"===u[3])):u[3]&&M.error(u[0]),u},PSEUDO:function(u){var y,x=!u[6]&&u[2];return Pe.CHILD.test(u[0])?null:(u[3]?u[2]=u[4]||u[5]||"":x&&Ee.test(x)&&(y=ht(x,!0))&&(y=x.indexOf(")",x.length-y)-x.length)&&(u[0]=u[0].slice(0,y),u[2]=x.slice(0,y)),u.slice(0,3))}},filter:{TAG:function(u){var y=u.replace(oe,ue).toLowerCase();return"*"===u?function(){return!0}:function(x){return J(x,y)}},CLASS:function(u){var y=N[u+" "];return y||(y=new RegExp("(^|"+Q+")"+u+"("+Q+"|$)"))&&N(u,function(x){return y.test("string"==typeof x.className&&x.className||typeof x.getAttribute<"u"&&x.getAttribute("class")||"")})},ATTR:function(u,y,x){return function(T){var C=M.attr(T,u);return null==C?"!="===y:!y||(C+="","="===y?C===x:"!="===y?C!==x:"^="===y?x&&0===C.indexOf(x):"*="===y?x&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Dt(e,t,i){return U(t)?r.grep(e,function(o,s){return!!t.call(o,s,o)!==i}):t.nodeType?r.grep(e,function(o){return o===t!==i}):"string"!=typeof t?r.grep(e,function(o){return-1)[^>]*|#([\w-]+))$/;(r.fn.init=function(e,t,i){var o,s;if(!e)return this;if(i=i||on,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Jn.exec(e))||!o[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(o[1]){if(r.merge(this,r.parseHTML(o[1],(t=t instanceof r?t[0]:t)&&t.nodeType?t.ownerDocument||t:z,!0)),nn.test(o[1])&&r.isPlainObject(t))for(o in t)U(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(s=z.getElementById(o[2]))&&(this[0]=s,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):U(e)?void 0!==i.ready?i.ready(e):e(r):r.makeArray(e,this)}).prototype=r.fn,on=r(z);var Kn=/^(?:parents|prev(?:Until|All))/,Zn={children:!0,contents:!0,next:!0,prev:!0};function rn(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}r.fn.extend({has:function(e){var t=r(e,this),i=t.length;return this.filter(function(){for(var o=0;o\x20\t\r\n\f]*)/i,pn=/^$|^module$|\/(?:java|ecma)script/i;ze=z.createDocumentFragment().appendChild(z.createElement("div")),(mt=z.createElement("input")).setAttribute("type","radio"),mt.setAttribute("checked","checked"),mt.setAttribute("name","t"),ze.appendChild(mt),F.checkClone=ze.cloneNode(!0).cloneNode(!0).lastChild.checked,ze.innerHTML="",F.noCloneChecked=!!ze.cloneNode(!0).lastChild.defaultValue,ze.innerHTML="",F.option=!!ze.lastChild;var me={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function he(e,t){var i;return i=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(t||"*"):[],void 0===t||t&&J(e,t)?r.merge([e],i):i}function Ot(e,t){for(var i=0,o=e.length;i",""]);var ai=/<|&#?\w+;/;function fn(e,t,i,o,s){for(var a,c,h,f,m,k,S=t.createDocumentFragment(),w=[],$=0,N=e.length;$\s*$/g;function gn(e,t){return J(e,"table")&&J(11!==t.nodeType?t:t.firstChild,"tr")&&r(e).children("tbody")[0]||e}function ui(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function pi(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function vn(e,t){var i,o,s,a,c,h;if(1===t.nodeType){if(q.hasData(e)&&(h=q.get(e).events))for(s in q.remove(t,"handle events"),h)for(i=0,o=h[s].length;i"u"?r.prop(e,t,i):(1===a&&r.isXMLDoc(e)||(s=r.attrHooks[t.toLowerCase()]||(r.expr.match.bool.test(t)?jn:void 0)),void 0!==i?null===i?void r.removeAttr(e,t):s&&"set"in s&&void 0!==(o=s.set(e,i,t))?o:(e.setAttribute(t,i+""),i):s&&"get"in s&&null!==(o=s.get(e,t))?o:null==(o=r.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!F.radioValue&&"radio"===t&&J(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,o=0,s=t&&t.match(Se);if(s&&1===e.nodeType)for(;i=s[o++];)e.removeAttribute(i)}}),jn={set:function(e,t,i){return!1===t?r.removeAttr(e,i):e.setAttribute(i,i),i}},r.each(r.expr.match.bool.source.match(/\w+/g),function(e,t){var i=ct[t]||r.find.attr;ct[t]=function(o,s,a){var c,h,f=s.toLowerCase();return a||(h=ct[f],ct[f]=c,c=null!=i(o,s,a)?f:null,ct[f]=h),c}});var mi=/^(?:input|select|textarea|button)$/i,wi=/^(?:a|area)$/i;function We(e){return(e.match(Se)||[]).join(" ")}function Re(e){return e.getAttribute&&e.getAttribute("class")||""}function zt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Se)||[]}r.fn.extend({prop:function(e,t){return Oe(this,r.prop,e,t,1").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(a){t.remove(),i=null,a&&s("error"===a.type?404:200,a.type)}),z.head.appendChild(t[0])},abort:function(){i&&i()}}});var In,zn=[],Xt=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zn.pop()||r.expando+"_"+Dn.guid++;return this[e]=!0,e}}),r.ajaxPrefilter("json jsonp",function(e,t,i){var o,s,a,c=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(c||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=U(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,c?e[c]=e[c].replace(Xt,"$1"+o):!1!==e.jsonp&&(e.url+=(Wt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||r.error(o+" was not called"),a[0]},e.dataTypes[0]="json",s=b[o],b[o]=function(){a=arguments},i.always(function(){void 0===s?r(b).removeProp(o):b[o]=s,e[o]&&(e.jsonpCallback=t.jsonpCallback,zn.push(o)),a&&U(s)&&s(a[0]),a=s=void 0}),"script"}),F.createHTMLDocument=((In=z.implementation.createHTMLDocument("").body).innerHTML="
",2===In.childNodes.length),r.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(F.createHTMLDocument?((o=(t=z.implementation.createHTMLDocument("")).createElement("base")).href=z.location.href,t.head.appendChild(o)):t=z),a=!i&&[],(s=nn.exec(e))?[t.createElement(s[1])]:(s=fn([e],t,a),a&&a.length&&r(a).remove(),r.merge([],s.childNodes)));var o,s,a},r.fn.load=function(e,t,i){var o,s,a,c=this,h=e.indexOf(" ");return-1").append(r.parseHTML(f)).find(o):f)}).always(i&&function(f,m){c.each(function(){i.apply(this,a||[f.responseText,m,f])})}),this},r.expr.pseudos.animated=function(e){return r.grep(r.timers,function(t){return e===t.elem}).length},r.offset={setOffset:function(e,t,i){var o,s,a,c,h,f,m=r.css(e,"position"),k=r(e),S={};"static"===m&&(e.style.position="relative"),h=k.offset(),a=r.css(e,"top"),f=r.css(e,"left"),("absolute"===m||"fixed"===m)&&-1<(a+f).indexOf("auto")?(c=(o=k.position()).top,s=o.left):(c=parseFloat(a)||0,s=parseFloat(f)||0),U(t)&&(t=t.call(e,i,r.extend({},h))),null!=t.top&&(S.top=t.top-h.top+c),null!=t.left&&(S.left=t.left-h.left+s),"using"in t?t.using.call(e,S):k.css(S)}},r.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(s){r.offset.setOffset(this,e,s)});var t,i,o=this[0];return o?o.getClientRects().length?{top:(t=o.getBoundingClientRect()).top+(i=o.ownerDocument.defaultView).pageYOffset,left:t.left+i.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,o=this[0],s={top:0,left:0};if("fixed"===r.css(o,"position"))t=o.getBoundingClientRect();else{for(t=this.offset(),i=o.ownerDocument,e=o.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===r.css(e,"position");)e=e.parentNode;e&&e!==o&&1===e.nodeType&&((s=r(e).offset()).top+=r.css(e,"borderTopWidth",!0),s.left+=r.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-r.css(o,"marginTop",!0),left:t.left-s.left-r.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===r.css(e,"position");)e=e.offsetParent;return e||Ie})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i="pageYOffset"===t;r.fn[e]=function(o){return Oe(this,function(s,a,c){var h;if(De(s)?h=s:9===s.nodeType&&(h=s.defaultView),void 0===c)return h?h[t]:s[a];h?h.scrollTo(i?h.pageXOffset:c,i?c:h.pageYOffset):s[a]=c},e,o,arguments.length)}}),r.each(["top","left"],function(e,t){r.cssHooks[t]=wn(F.pixelPosition,function(i,o){if(o)return o=lt(i,t),Pt.test(o)?r(i).position()[t]+"px":o})}),r.each({Height:"height",Width:"width"},function(e,t){r.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,o){r.fn[o]=function(s,a){var c=arguments.length&&(i||"boolean"!=typeof s),h=i||(!0===s||!0===a?"margin":"border");return Oe(this,function(f,m,k){var S;return De(f)?0===o.indexOf("outer")?f["inner"+e]:f.document.documentElement["client"+e]:9===f.nodeType?(S=f.documentElement,Math.max(f.body["scroll"+e],S["scroll"+e],f.body["offset"+e],S["offset"+e],S["client"+e])):void 0===k?r.css(f,m,h):r.style(f,m,k,h)},t,c?s:void 0,c)}})}),r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){r.fn[t]=function(i){return this.on(t,i)}}),r.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,o){return this.on(t,e,i,o)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){r.fn[t]=function(i,o){return 0"u"&&(b.jQuery=b.$=r),r}),function(b){"use strict";"function"==typeof define&&define.amd?define(["jquery"],b):typeof exports<"u"?module.exports=b(require("jquery")):b(jQuery)}(function(b){"use strict";var A=window.Slick||{};(A=function(){var n=0;return function(l,g){var d,v=this;v.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:b(l),appendDots:b(l),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(p,j){return b('',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(p,j){return b('