-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.aac10ee5a61a0288.js
1 lines (1 loc) · 47.1 KB
/
main.aac10ee5a61a0288.js
1
"use strict";(self.webpackChunkhacktm_website=self.webpackChunkhacktm_website||[]).push([["main"],{3271:(w,v,i)=>{i.d(v,{j:()=>y});var s=i(4650),t=i(6710),a=i(6895),l=i(2469);function p(u,f){if(1&u&&(s.TgZ(0,"div",3),s._uU(1),s.qZA()),2&u){const g=s.oxw();s.xp6(1),s.hij(" ",g.model.name,"\n")}}const O=function(u){return{"hide-border":u}},P=function(u){return{padding:u}};function k(u,f){if(1&u){const g=s.EpF();s.ynx(0),s.TgZ(1,"div",4)(2,"a",5)(3,"img",6),s.NdJ("click",function(){const d=s.CHM(g).$implicit;return s.KtG("#"!==d.link)}),s.qZA()()(),s.BQk()}if(2&u){const g=f.$implicit,r=s.oxw();s.xp6(1),s.Q6J("ngClass",s.VKq(6,O,r.model.hideBorder||r.model.categoryBorder))("ngStyle",s.VKq(8,P,g.forcedPadding)),s.xp6(1),s.Q6J("href",g.link,s.LSH),s.xp6(1),s.Akn(g.forcedStyle),s.Q6J("src",g.image,s.LSH)}}class _{}_.\u0275fac=function(f){return new(f||_)},_.\u0275cmp=s.Xpm({type:_,selectors:[["app-sponsors-category"]],inputs:{model:"model"},decls:3,vars:3,consts:[["class","heading-3 category-title blue-ish-color",4,"ngIf"],[1,"sponsors-wrapper",3,"ngClass"],[4,"ngFor","ngForOf"],[1,"heading-3","category-title","blue-ish-color"],[1,"sponsor",3,"ngClass","ngStyle"],["target","_blank",3,"href"],["alt"," ",3,"src","click"]],template:function(f,g){1&f&&(s.YNc(0,p,2,1,"div",0),s.TgZ(1,"div",1),s.YNc(2,k,4,10,"ng-container",2),s.qZA()),2&f&&(s.Q6J("ngIf",g.model.displayName),s.xp6(1),s.Q6J("ngClass","cols-"+(g.model.mobileCols||g.model.desktopCols)+" cols-md-"+g.model.desktopCols+" "+(g.model.centered?"justify-content-center":"")),s.xp6(1),s.Q6J("ngForOf",g.model.sponsors))},dependencies:[a.mk,a.sg,a.O5,a.PC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]:not(:first-child){margin-top:200px}[_nghost-%COMP%]:last-child{margin-bottom:260px}.bg-white[_ngcontent-%COMP%]{background-color:#fff}.sponsors-wrapper.bordered[_ngcontent-%COMP%]{border:2px solid #c8c7d4}.sponsors-wrapper.bordered[_ngcontent-%COMP%]:hover{border-color:#7c78fe}.sponsor[_ngcontent-%COMP%]{display:flex;border:2px solid #c8c7d4;box-sizing:border-box;margin-right:-2px;margin-bottom:-2px;background-color:#fff}.sponsor[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;width:100%}.sponsor[_ngcontent-%COMP%]:hover{border-color:#7c78fe;z-index:1}@media (max-width: 992px){[_nghost-%COMP%]:not(:first-child){margin-top:180px}[_nghost-%COMP%]:last-child{margin-bottom:180px}}.sponsor.hide-border[_ngcontent-%COMP%]{border-color:transparent!important;background-color:transparent}.category-title[_ngcontent-%COMP%]{margin-bottom:60px;margin-top:60px}"]});const h=["sponsorsCategoryComponent"];function x(u,f){if(1&u&&(s.ynx(0),s._UZ(1,"app-sponsors-category",7,8),s.BQk()),2&u){const g=f.$implicit;s.xp6(1),s.Q6J("model",g)}}class y{get currentCategoryName(){return this.sponsorsCategories&&this.sponsorsCategories.length?this.sponsorsCategories[this.currentCategoryIndex].name:""}constructor(f){this.sponsorsService=f,this.currentCategoryIndex=0}ngOnInit(){this.sponsorsCategories=this.sponsorsService.get(this.isHomePage)}onScroll(){if(!this.sponsorsCategoryComponent)return;const f=window.scrollY,g=this.sponsorsCategoryComponent.toArray();for(let r=0;r<g.length;r++)if(f<g[r].nativeElement.offsetTop+g[r].nativeElement.offsetHeight){this.currentCategoryIndex=r;break}}}y.\u0275fac=function(f){return new(f||y)(s.Y36(t.D))},y.\u0275cmp=s.Xpm({type:y,selectors:[["app-sponsors-section"]],viewQuery:function(f,g){if(1&f&&s.Gf(h,5,s.SBq),2&f){let r;s.iGM(r=s.CRH())&&(g.sponsorsCategoryComponent=r)}},hostBindings:function(f,g){1&f&&s.NdJ("scroll",function(c){return g.onScroll(c)},!1,s.Jf7)},inputs:{isHomePage:"isHomePage"},decls:8,vars:2,consts:[[1,"position-relative","text-md-start","d-flex","justify-content-center","d-md-block"],[1,"blurred","blue-ish-2-bg","circle-1000","hero-blur-position"],[1,"blurred","opacity-03","circle-750","right-0","top-50","hack-cherry-bg"],[3,"height"],[1,"container","px-lg-100p"],[1,"heading-2","mb-50p"],[4,"ngFor","ngForOf"],[3,"model"],["sponsorsCategoryComponent",""]],template:function(f,g){1&f&&(s.TgZ(0,"div",0),s._UZ(1,"div",1)(2,"div",2)(3,"app-spacer",3),s.TgZ(4,"section",4)(5,"h2",5),s._uU(6,"This year's HackTM is powered by:"),s.qZA(),s.YNc(7,x,3,1,"ng-container",6),s.qZA()()),2&f&&(s.xp6(3),s.Q6J("height",100),s.xp6(4),s.Q6J("ngForOf",g.sponsorsCategories))},dependencies:[a.sg,l.Y,_],styles:[".sponsors-container[_ngcontent-%COMP%]{display:flex;padding:150px 0 0;margin-left:15px;margin-right:15px}.sponsors-container[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%]{flex:0 0 25%;max-width:25%;flex-direction:column}.sponsors-container[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .sponsor-type-text[_ngcontent-%COMP%]{position:sticky;top:100px;padding-top:100px;padding-right:20px}.sponsors-container[_ngcontent-%COMP%] .right-column[_ngcontent-%COMP%]{flex:0 0 75%;max-width:75%}@media (max-width: 768px){.container[_ngcontent-%COMP%]{margin:0;padding:50px 20px 0}.container[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%] .right-column[_ngcontent-%COMP%]{flex:0 0 100%;max-width:100%}}"]})},6710:(w,v,i)=>{i.d(v,{D:()=>t});var s=i(4650);class t{constructor(){this.organizer={name:"Organizer",desktopCols:3,mobileCols:1,categoryBorder:!0,centered:!0,sponsors:[{image:"/assets/2023/bit.svg",link:"https://banatit.ro/"}]},this.prize={name:"Prize Sponsors",desktopCols:4,mobileCols:2,displayName:!0,sponsors:[{image:"/assets/logo/sponsors/prize/continental.svg",link:"https://continental.com/ro-ro/"},{image:"/assets/logo/sponsors/prize/devplant.svg",link:"https://devplant.ro/"},{image:"/assets/logo/sponsors/prize/multiversx.svg",link:"https://multiversx.com/"}].sort((l,p)=>l.image.localeCompare(p.image))},this.silver={name:"Silver Sponsors",desktopCols:5,mobileCols:2,displayName:!0,sponsors:[{image:"/assets/logo/sponsors/silver/doctari.svg",link:"https://doctari.ro/"},{image:"/assets/logo/sponsors/silver/safefleet.svg",link:"https://safefleet.eu/"},{image:"/assets/logo/sponsors/silver/msg.svg",link:"https://msg-systems.ro/ro/"},{image:"/assets/logo/sponsors/silver/bitdefender.svg",link:"https://www.bitdefender.ro/"},{image:"/assets/logo/sponsors/silver/elektrobit.svg",link:"https://www.elektrobit.com/"},{image:"/assets/logo/sponsors/silver/ibm.svg",link:"https://www.ibm.com/us-en/"},{image:"/assets/logo/sponsors/silver/nokia.svg",link:"https://www.nokia.com/"}].sort((l,p)=>l.image.localeCompare(p.image))}}get(l){return[this.organizer,this.prize,this.silver]}}t.\u0275fac=function(l){return new(l||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac})},3718:(w,v,i)=>{i.d(v,{Y:()=>p});var s=i(6895),t=i(6710),a=i(2469),l=i(4650);class p{}p.\u0275fac=function(P){return new(P||p)},p.\u0275mod=l.oAB({type:p}),p.\u0275inj=l.cJS({providers:[t.D],imports:[s.ez,a.Y]})},6880:(w,v,i)=>{i.d(v,{H:()=>p});var s=i(5861),t=i(2340),a=i(4650),l=i(1481);class p{constructor(P,k){this.meta=P,this.title=k,this.metas={home:{title:"HackTM 2023",type:"website",description:"HackTM welcomes talented and creative individuals from the IT industry, in a challenging two day hackathon, to push the boundaries of their coding and designing skills.",image:"/assets/meta/homepage.png"},"code-of-conduct":{title:"Code Of Conduct",image:"/assets/meta/code-of-conduct.png"},faq:{title:"FAQ",image:"/assets/meta/faq.png"},prizes:{title:"Prizes",image:"/assets/meta/prizes.png"},sponsors:{title:"Sponsors",image:"/assets/meta/sponsors.png"},tickets:{title:"Tickets",image:"/assets/meta/tickets.png"}}}resolve(P){return this.loadMetaData(P.data.metaId||P.routeConfig.path,P.routeConfig.path)}loadMetaData(P,k){var _=this;return(0,s.Z)(function*(){const h=Object.assign({},_.metas.home);_.metas.hasOwnProperty(P)&&(Object.assign(h,_.metas[P]),_.metas[P].title&&(h.title=`${_.metas[P].title} | ${_.metas.home.title}`));for(const x in h)h.hasOwnProperty(x)&&("image"===x&&(h[x]=t.N.url+h[x]),_.meta.updateTag({property:"og:"+x,content:h[x]}),"description"===x&&_.meta.updateTag({property:x,content:h[x]}));if(h.title&&_.title.setTitle(h.title),"**"!==k){let x=t.N.url+"/"+k;x.endsWith("/")||(x+="/"),_.meta.updateTag({property:"og:url",content:x})}})()}}p.\u0275fac=function(P){return new(P||p)(a.LFG(l.h_),a.LFG(l.Dx))},p.\u0275prov=a.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})},8629:(w,v,i)=>{function s(a){const l=document.getElementById(a);l&&l.scrollIntoView({behavior:"smooth"})}function t(){return new Date(Date.UTC(2023,2,26,22,0,0)).getTime()-(new Date).getTime()}i.d(v,{X:()=>s,i:()=>t})},7695:(w,v,i)=>{i.d(v,{Q:()=>a});var s=i(4650);class a{}a.\u0275fac=function(p){return new(p||a)},a.\u0275cmp=s.Xpm({type:a,selectors:[["app-hack-anchor","text","","link",""]],inputs:{text:"text",link:"link",buttonId:"buttonId"},standalone:!0,features:[s.jDz],attrs:["text","","link",""],decls:4,vars:3,consts:[["target","_blank",3,"href","id"]],template:function(p,O){1&p&&(s.TgZ(0,"a",0)(1,"div")(2,"div"),s._uU(3),s.qZA()()()),2&p&&(s.Q6J("href",O.link,s.LSH)("id",O.buttonId),s.xp6(3),s.hij(" ",O.text," "))},styles:["a[_ngcontent-%COMP%]{height:42px;display:inline-block;background:#6863ed;font-size:24px;line-height:24px;clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);transition:.15s ease-in-out;text-decoration:none}a[_ngcontent-%COMP%]:hover{filter:brightness(1.2)}a[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background:#feb600;height:100%;clip-path:polygon(0 0,100% 0,100% 100%,28px 100%,0 calc(100% - 28px),0 14px)}a[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:9px 30px;background:#f65800;height:100%;clip-path:polygon(0 0,calc(100% - 28px) 0,100% calc(100% - 14px),100% 100%,0 100%,0 28px)}"]})},9237:(w,v,i)=>{i.d(v,{o:()=>g});var s=i(6895),t=i(4650);function a(r,c){1&r&&t.GkF(0)}function l(r,c){1&r&&t.GkF(0)}function p(r,c){1&r&&t.GkF(0)}function O(r,c){1&r&&t.GkF(0)}function P(r,c){if(1&r&&(t.O4$(),t.TgZ(0,"svg"),t._UZ(1,"path",8)(2,"path"),t.qZA()),2&r){const d=t.oxw();t.uIk("viewBox","0 0 "+d.cornerSize+" "+d.cornerSize)("heigth",d.cornerSize+"px")("width",d.cornerSize+"px"),t.xp6(1),t.uIk("d",d.svgShadowPath),t.xp6(1),t.uIk("d",d.svgPath)}}class k{constructor(){this.squareSize=5,this.squaresCount=2}get squareSizePx(){return this.squareSize+"px"}get cornerSize(){return this.squareSize*this.squaresCount}get svgPath(){return this.buildPath(this.squaresCount)}get svgShadowPath(){return this.buildPath(this.squaresCount+1)}buildPath(c){let d=["M 0 0"];d.push("h "+this.squareSize*(c-1));for(let Q=1;Q<c;Q++)d.push("v "+this.squareSize),d.push("h -"+this.squareSize);return d.push("Z"),d.join(" ")}}function h(r,c){1&r&&t._UZ(0,"squared-corners")}function x(r,c){1&r&&t.Hsn(0)}function y(r,c){1&r&&t.GkF(0)}k.\u0275fac=function(c){return new(c||k)},k.\u0275cmp=t.Xpm({type:k,selectors:[["squared-corners"]],hostVars:4,hostBindings:function(c,d){2&c&&t.Udp("--squares-count",d.squaresCount)("--square-size",d.squareSizePx)},inputs:{squareSize:"squareSize",squaresCount:"squaresCount"},standalone:!0,features:[t.jDz],decls:12,vars:4,consts:[[1,"corner","corner-right-top"],[4,"ngTemplateOutlet"],[1,"corner","corner-right-bottom"],[1,"corner","corner-left-bottom"],[1,"corner","corner-left-top"],[1,"vertical"],[1,"horizontal"],["svgElem",""],[1,"svg-shadow"]],template:function(c,d){if(1&c&&(t.TgZ(0,"div",0),t.YNc(1,a,1,0,"ng-container",1),t.qZA(),t.TgZ(2,"div",2),t.YNc(3,l,1,0,"ng-container",1),t.qZA(),t.TgZ(4,"div",3),t.YNc(5,p,1,0,"ng-container",1),t.qZA(),t.TgZ(6,"div",4),t.YNc(7,O,1,0,"ng-container",1),t.qZA(),t._UZ(8,"div",5)(9,"div",6),t.YNc(10,P,3,5,"ng-template",null,7,t.W1O)),2&c){const M=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet",M),t.xp6(2),t.Q6J("ngTemplateOutlet",M),t.xp6(2),t.Q6J("ngTemplateOutlet",M),t.xp6(2),t.Q6J("ngTemplateOutlet",M)}},dependencies:[s.tP],styles:["[_nghost-%COMP%]{position:absolute!important;inset:0}svg[_ngcontent-%COMP%]{display:block}svg[_ngcontent-%COMP%] .svg-shadow[_ngcontent-%COMP%]{fill:var(--box-shadow-color, none)}.corner[_ngcontent-%COMP%]{position:absolute;fill:var(--background-color);width:calc(var(--squares-count, 2) * var(--square-size, 5px));height:calc(var(--squares-count, 2) * var(--square-size, 5px));transform:rotate(var(--angle))}.corner-right-top[_ngcontent-%COMP%]{top:1px;right:1px;--angle: 270deg}.corner-right-bottom[_ngcontent-%COMP%]{right:1px;bottom:1px}.corner-left-bottom[_ngcontent-%COMP%]{bottom:1px;left:1px;--angle: 90deg}.corner-left-top[_ngcontent-%COMP%]{left:1px;top:1px;--angle: 180deg}.horizontal[_ngcontent-%COMP%], .vertical[_ngcontent-%COMP%]{background-color:var(--background-color);position:absolute;box-shadow:var(--box-shadow)}.horizontal[_ngcontent-%COMP%]{top:calc(var(--squares-count, 2) * var(--square-size, 5px));left:0;bottom:calc(var(--squares-count, 2) * var(--square-size, 5px));right:0}.vertical[_ngcontent-%COMP%]{top:0;left:calc(var(--squares-count, 2) * var(--square-size, 5px));bottom:0;right:calc(var(--squares-count, 2) * var(--square-size, 5px))}"],changeDetection:0});const f=["hack-button","hack-outline-button"];class g{constructor(c){this._elementRef=c,this.color="orange",this.squareSize=5,this.squaresCount=2,this.size="default";for(const d of f)this._hasHostAttributes(d)&&this._getHostClassList.add(d)}get _getHostClassList(){return this._getHostElement().classList}ngOnChanges(c){c.squaredCorners&&(c.squaredCorners.currentValue?this.enableSquaredCorners():this.disableSquaredCorners());const d=["color","size"];for(const M of d)c[M]&&(c[M].previousValue&&this._getHostClassList.remove("hack-button-"+c[M].previousValue),c[M].currentValue&&this._getHostClassList.add("hack-button-"+c[M].currentValue))}enableSquaredCorners(){this._getHostClassList.add("squared-corners")}disableSquaredCorners(){this._getHostClassList.remove("squared-corners")}_hasHostAttributes(...c){return c.some(d=>this._getHostElement().hasAttribute(d))}_getHostElement(){return this._elementRef.nativeElement}}g.\u0275fac=function(c){return new(c||g)(t.Y36(t.SBq))},g.\u0275cmp=t.Xpm({type:g,selectors:[["button","hack-button",""],["button","hack-outline-button",""],["a","hack-button",""],["a","hack-outline-button",""]],inputs:{color:"color",squaredCorners:"squaredCorners",squareSize:"squareSize",squaresCount:"squaresCount",size:"size"},standalone:!0,features:[t.TTD,t.jDz],attrs:["hack-button",""],ngContentSelectors:["*"],decls:5,vars:2,consts:[[4,"ngIf"],["content",""],[4,"ngTemplateOutlet"]],template:function(c,d){if(1&c&&(t.F$t(),t.YNc(0,h,1,0,"squared-corners",0),t.YNc(1,x,1,0,"ng-template",null,1,t.W1O),t.TgZ(3,"div"),t.YNc(4,y,1,0,"ng-container",2),t.qZA()),2&c){const M=t.MAs(2);t.Q6J("ngIf",d.squaredCorners),t.xp6(4),t.Q6J("ngTemplateOutlet",M)}},dependencies:[s.tP,k,s.O5],styles:["[_nghost-%COMP%]{position:relative}"],changeDetection:0})},2469:(w,v,i)=>{i.d(v,{Y:()=>a});var s=i(4650);class a{get heightStyle(){return this.height+"px"}}a.\u0275fac=function(p){return new(p||a)},a.\u0275cmp=s.Xpm({type:a,selectors:[["app-spacer","height",""]],hostVars:2,hostBindings:function(p,O){2&p&&s.Udp("--height",O.heightStyle)},inputs:{height:"height"},standalone:!0,features:[s.jDz],attrs:["height",""],decls:1,vars:0,template:function(p,O){1&p&&s._UZ(0,"div")},styles:["[_nghost-%COMP%]{--height: 20px}[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:var(--height)}@media screen and (max-width: 992px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:calc(var(--height) * .9)}}@media screen and (max-width: 768px){[_nghost-%COMP%] div[_ngcontent-%COMP%]{height:calc(var(--height) * .85)}}"]})},2340:(w,v,i)=>{i.d(v,{N:()=>s});const s={production:!0,url:"https://hacktm.ro"}},1086:(w,v,i)=>{var s=i(1481),t=i(4650),a=i(6811),l=i(6880),p=i(3271);class O{}O.\u0275fac=function(e){return new(e||O)},O.\u0275cmp=t.Xpm({type:O,selectors:[["app-sponsors-page"]],decls:1,vars:1,consts:[[1,"bottom-padding",3,"isHomePage"]],template:function(e,o){1&e&&t._UZ(0,"app-sponsors-section",0),2&e&&t.Q6J("isHomePage",!1)},dependencies:[p.j]});const P=[{path:"",loadChildren:()=>Promise.all([i.e("common"),i.e("src_app_pages_home_home_module_ts")]).then(i.bind(i,6237)).then(n=>n.HomeModule)},{path:"about-us",loadChildren:()=>Promise.all([i.e("common"),i.e("src_app_pages_about-us_about-us_module_ts")]).then(i.bind(i,8380)).then(n=>n.AboutUsModule)},{path:"event-details",loadChildren:()=>Promise.all([i.e("common"),i.e("src_app_pages_event-details_event-details_module_ts")]).then(i.bind(i,2807)).then(n=>n.EventDetailsModule)},{path:"sponsors",component:O,resolve:{meta:l.H}},{path:"code-of-conduct",loadComponent:()=>i.e("src_app_pages_code-of-conduct_code-of-conduct_component_ts").then(i.bind(i,8915)).then(n=>n.CodeOfConductComponent),resolve:{meta:l.H}},{path:"cookie-policy",loadComponent:()=>i.e("src_app_pages_cookie-policy_cookie-policy_component_ts").then(i.bind(i,3942)).then(n=>n.CookiePolicyComponent),resolve:{meta:l.H}},{path:"privacy-policy",loadComponent:()=>i.e("src_app_pages_privacy-policy_privacy-policy_component_ts").then(i.bind(i,3654)).then(n=>n.PrivacyPolicyComponent),resolve:{meta:l.H}},{path:"faq",loadComponent:()=>i.e("src_app_pages_faqs_faqs_component_ts").then(i.bind(i,2627)).then(n=>n.FaqsComponent),resolve:{meta:l.H}},{path:"**",loadComponent:()=>i.e("src_app_pages_not-found_not-found_component_ts").then(i.bind(i,9473)).then(n=>n.NotFoundComponent),resolve:{meta:l.H}}];class k{}k.\u0275fac=function(e){return new(e||k)},k.\u0275mod=t.oAB({type:k}),k.\u0275inj=t.cJS({imports:[a.Bz.forRoot(P,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),a.Bz]});class _{constructor(e){this._router=e,this.items=[{label:"Event details",link:"/event-details"},{label:"About us",link:"/about-us"},{label:"Sponsors",link:"/sponsors"},{label:"FAQs",link:"/faq"},{label:"Contact",link:"contact-us",isFragment:!0}],this.mobileMenuOpen=!1,e.events.subscribe(o=>{o instanceof a.m2&&(this.mobileMenuOpen=!1)})}}_.\u0275fac=function(e){return new(e||_)(t.LFG(a.F0))},_.\u0275prov=t.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"});var h=i(6895),x=i(7695);function y(n,e){if(1&n&&(t.TgZ(0,"span",9),t._uU(1),t.qZA()),2&n){const o=e.$implicit;t.xp6(1),t.Oqu(o)}}class u{constructor(){this.size="regular",this.autoMicro=!0,this.editionDigits=["2","0","2","0"]}ngOnChanges(e){e.editionName&&this.editionName&&(this.editionDigits=Array.from(this.editionName))}}function f(n,e){if(1&n&&(t.TgZ(0,"a",15),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass)("routerLink",o.link),t.xp6(1),t.hij(" ",o.label," ")}}function g(n,e){if(1&n&&(t.TgZ(0,"a",16),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("href",o.link,t.LSH)("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function r(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"a",17),t.NdJ("click",function(){t.CHM(o);const C=t.oxw().$implicit,T=t.oxw();return t.KtG(T.scrollTo(C.link))}),t._uU(1),t.qZA()}if(2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function c(n,e){if(1&n&&(t.ynx(0),t.YNc(1,f,2,3,"a",12),t.YNc(2,g,2,3,"a",13),t.YNc(3,r,2,2,"a",14),t.BQk()),2&n){const o=e.$implicit;t.xp6(1),t.Q6J("ngIf",!o.isExternal&&!o.isFragment),t.xp6(1),t.Q6J("ngIf",o.isExternal),t.xp6(1),t.Q6J("ngIf",o.isFragment)}}u.\u0275fac=function(e){return new(e||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["app-logo"]],inputs:{size:"size",autoMicro:"autoMicro",editionName:"editionName"},features:[t.TTD],decls:12,vars:4,consts:[[1,"logo",3,"ngClass"],[1,"logo-container"],[1,"logo-left"],[1,"logo-hack"],[1,"logo-year"],["class","span-digits",4,"ngFor","ngForOf"],[1,"logo-circle","logo-tm"],[1,"logo-circle","logo-reverse","alternate","logo-outer"],[1,"logo-circle","logo-rotate","alternate","logo-inner"],[1,"span-digits"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),t._uU(4,"Hack"),t.qZA(),t.TgZ(5,"div",4),t.YNc(6,y,2,1,"span",5),t.qZA()(),t.TgZ(7,"div",6)(8,"span"),t._uU(9,"TM"),t.qZA()(),t._UZ(10,"div",7)(11,"div",8),t.qZA()()),2&e&&(t.ekj("auto-micro-small",o.autoMicro),t.Q6J("ngClass","logo-"+o.size),t.xp6(6),t.Q6J("ngForOf",o.editionDigits))},dependencies:[h.mk,h.sg],styles:['@font-face{font-family:HackTM-500;src:url(/assets/font/Museo/HackTM-500.woff2) format("woff2")}.logo[_ngcontent-%COMP%]{font-family:HackTM-500,serif;color:#fff;justify-content:center;align-items:center;display:flex;height:100%}.alternate[_ngcontent-%COMP%]{animation-direction:alternate}.logo-inner[_ngcontent-%COMP%]{background-image:url(/assets/logo/logo-inner-2020.png);background-repeat:no-repeat;background-size:cover}.logo-outer[_ngcontent-%COMP%]{background-image:url(/assets/logo/logo-outer-2020.png);background-repeat:no-repeat;background-size:cover}.logo-container[_ngcontent-%COMP%]{background-image:url(/assets/logo/logo-text-2020.png);background-repeat:no-repeat;background-size:cover;height:213px;width:500px;position:relative;margin:0 auto}.logo-circle[_ngcontent-%COMP%]{width:219px;height:219px;position:absolute;right:0}.logo-left[_ngcontent-%COMP%]{padding-top:62px;position:absolute;left:0;text-align:right;text-transform:uppercase;line-height:90px;width:52%}.logo-hack[_ngcontent-%COMP%], .logo-tm[_ngcontent-%COMP%]{font-size:86px}.logo-hack[_ngcontent-%COMP%]{text-align:left}.logo-year[_ngcontent-%COMP%]{margin-right:-9%;margin-top:-15px;font-size:60px}.logo-tm[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.counter[_ngcontent-%COMP%] span.digit[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:44px;position:relative;top:0}.logo-year[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;line-height:1}.logo-rotate[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_rotateAnim;animation-timing-function:ease-in-out;animation-duration:3s;animation-delay:9s;animation-iteration-count:infinite}.logo-reverse[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_rotateReverse;animation-timing-function:ease-in-out;animation-duration:3s;animation-delay:9s;animation-iteration-count:infinite}@keyframes _ngcontent-%COMP%_rotateAnim{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes _ngcontent-%COMP%_rotateReverse{0%{transform:rotate(360deg)}to{transform:rotate(180deg)}}@media (max-width: 800px){.logo-container[_ngcontent-%COMP%]{width:303px;height:129px}.logo-circle[_ngcontent-%COMP%]{width:132px;height:132px}.logo-tm[_ngcontent-%COMP%], .logo-hack[_ngcontent-%COMP%]{font-size:50px;line-height:130px}.logo-year[_ngcontent-%COMP%]{font-size:36px;line-height:80px;margin-top:-60px}.logo-left[_ngcontent-%COMP%]{padding-top:0}}.logo-medium[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:303px;height:129px}.logo-medium[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:132px;height:132px}.logo-medium[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-medium[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:50px;line-height:130px}.logo-medium[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:36px;line-height:80px;margin-top:-60px}.logo-medium[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}.logo-small[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:189px;height:80px}.logo-small[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:82px;height:82px}.logo-small[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-small[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:31px;line-height:81px}.logo-small[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:22px;line-height:50px;margin-top:-37px}.logo-small[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}@media (max-width: 576px){.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:94px;height:40px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:41px;height:41px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:15px;line-height:40px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:11px;line-height:25px;margin-top:-18px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}}.logo-micro[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:94px;height:40px}.logo-micro[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:41px;height:41px}.logo-micro[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-micro[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:15px;line-height:40px}.logo-micro[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:11px;line-height:25px;margin-top:-18px}.logo-micro[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}.logo-container[_ngcontent-%COMP%], .logo-circle[_ngcontent-%COMP%]{transition:width .5s,height .5s}.logo-tm[_ngcontent-%COMP%], .logo-hack[_ngcontent-%COMP%]{transition:font-size .5s,line-height .5s,width .5s,height .5s}.logo-year[_ngcontent-%COMP%]{transition:font-size .5s,line-height .5s,margin-right .5s,margin-top .5s}.logo-left[_ngcontent-%COMP%]{transition:padding-top .5s}']});const d=function(n){return{"menu-border-bottom":n}};class M{constructor(e){this.menuService=e,this.isScrolled=!1,this.sizeChanged=new t.vpe}get isSmall(){return this.isScrolled}onScroll(){const e=this.isScrolled;this.isScrolled=window.pageYOffset>5,e!==this.isScrolled&&this.sizeChanged.emit(!this.isScrolled)}openMore(){this.menuService.mobileMenuOpen=!0}scrollTo(e){const o=document.getElementById(e);o&&o.scrollIntoView({behavior:"smooth"})}}M.\u0275fac=function(e){return new(e||M)(t.Y36(_))},M.\u0275cmp=t.Xpm({type:M,selectors:[["app-menu"]],hostBindings:function(e,o){1&e&&t.NdJ("scroll",function(C){return o.onScroll(C)},!1,t.Jf7)},outputs:{sizeChanged:"sizeChanged"},decls:14,vars:8,consts:[[3,"ngClass"],[1,"menu-space-filler"],[1,"sticky-menu","menu"],[1,"d-flex","justify-content-between"],[1,"d-flex"],["routerLink","/",1,"no-outline"],["editionName","2023",3,"size"],[1,"d-none","d-lg-flex","align-items-center"],[4,"ngFor","ngForOf"],[1,"ps-30p",3,"buttonId","link","text"],[1,"d-lg-none","hack-menu-item","menu-toggle-link","pointer-link",3,"click"],["alt"," ","src","assets/images/menu_hamburger.svg",1,"menu-toggle-link-icon"],["class","hack-menu-item text-6","routerLinkActive","active",3,"ngClass","routerLink",4,"ngIf"],["class","hack-menu-item text-6",3,"href","ngClass",4,"ngIf"],["class","hack-menu-item text-6",3,"ngClass","click",4,"ngIf"],["routerLinkActive","active",1,"hack-menu-item","text-6",3,"ngClass","routerLink"],[1,"hack-menu-item","text-6",3,"href","ngClass"],[1,"hack-menu-item","text-6",3,"ngClass","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"section")(4,"div",3)(5,"div",4)(6,"a",5),t._UZ(7,"app-logo",6),t.qZA()(),t.TgZ(8,"div",4)(9,"div",7),t.YNc(10,c,4,3,"ng-container",8),t._UZ(11,"app-hack-anchor",9),t.qZA(),t.TgZ(12,"div",10),t.NdJ("click",function(){return o.openMore()}),t._UZ(13,"img",11),t.qZA()()()()()()),2&e&&(t.Q6J("ngClass",t.VKq(6,d,o.isSmall)),t.xp6(7),t.Q6J("size",o.isSmall?"micro":"small"),t.xp6(3),t.Q6J("ngForOf",o.menuService.items),t.xp6(1),t.Q6J("buttonId","get-your-ticket-menu")("link","https://now.hacktm.ro/tickets")("text","Tickets"))},dependencies:[h.mk,h.sg,h.O5,a.rH,a.Od,x.Q,u],styles:["[_nghost-%COMP%]{z-index:2}.menu[_ngcontent-%COMP%]{z-index:3}.sticky-menu[_ngcontent-%COMP%]{position:fixed;width:100%;top:0;left:0}section[_ngcontent-%COMP%]{padding:10px 20px;transition:padding .5s}.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:0 25px;transition:font-size .5s,line-height .5s,margin .5s;outline:none}.hack-menu-item.active[_ngcontent-%COMP%], a.hack-menu-item.active[_ngcontent-%COMP%]{color:#6863ed}.menu-space-filler[_ngcontent-%COMP%]{height:132px;transition:height .5s,padding-top .5s ease-out}@media (min-width: 576px){ .large-menu app-menu .hack-menu-item, .large-menu app-menu a.hack-menu-item{line-height:32px;margin:0 25px} .large-menu app-menu section{padding:25px 50px}}@media (max-width: 1400px){ .large-menu app-menu .hack-menu-item, .large-menu app-menu a.hack-menu-item{margin:0 15px}}@media (max-width: 1200px){ .large-menu app-menu .hack-menu-item, .large-menu app-menu a.hack-menu-item{margin:0 15px}}@media (max-width: 992px){.sticky-menu[_ngcontent-%COMP%]{background:rgba(20,18,39,.87);border-bottom:1px solid #2f2d5a}}.menu-border-bottom[_ngcontent-%COMP%] .sticky-menu[_ngcontent-%COMP%]{background:rgba(20,18,39,.87);border-bottom:1px solid #2f2d5a}@media (max-width: 370px){.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:8px 5px 8px 25px}}.open-menu[_ngcontent-%COMP%]{background:rgba(20,18,39,.95);position:fixed;top:0;padding:100px;left:0;right:0;z-index:100000}"]});var Q=i(8629),q=i(9237);function K(n,e){1&n&&t._UZ(0,"app-hack-anchor",3),2&n&&t.Q6J("buttonId","get-your-ticket-menu-mobile")("link","https://now.hacktm.ro/tickets")("text","Tickets")}function V(n,e){if(1&n&&(t.TgZ(0,"a",7),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass)("routerLink",o.link),t.xp6(1),t.hij(" ",o.label," ")}}function $(n,e){if(1&n&&(t.TgZ(0,"a",8),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("href",o.link,t.LSH)("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function W(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"a",9),t.NdJ("click",function(){t.CHM(o);const C=t.oxw().$implicit,T=t.oxw();return t.KtG(T.scrollTo(C.link))}),t._uU(1),t.qZA()}if(2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function X(n,e){if(1&n&&(t.ynx(0),t.YNc(1,V,2,3,"a",4),t.YNc(2,$,2,3,"a",5),t.YNc(3,W,2,2,"a",6),t.BQk()),2&n){const o=e.$implicit;t.xp6(1),t.Q6J("ngIf",!o.isExternal&&!o.isFragment),t.xp6(1),t.Q6J("ngIf",o.isExternal),t.xp6(1),t.Q6J("ngIf",o.isFragment)}}function tt(n,e){1&n&&(t.TgZ(0,"a",10),t._uU(1," Tickets\n"),t.qZA())}class A{constructor(e){this.menuService=e}scrollTo(e){(0,Q.X)(e)}}A.\u0275fac=function(e){return new(e||A)(t.Y36(_))},A.\u0275cmp=t.Xpm({type:A,selectors:[["app-menu-items"]],decls:3,vars:3,consts:[["class","mb-40p mt-lg-0",3,"buttonId","link","text",4,"ngIf"],[4,"ngFor","ngForOf"],["class","hack-menu-item mt-40p mt-lg-0","hack-button","","href","https://now.hacktm.ro/tickets","id","get-your-ticket-menu","target","_blank",4,"ngIf"],[1,"mb-40p","mt-lg-0",3,"buttonId","link","text"],["class","hack-menu-item text-6","routerLinkActive","active",3,"ngClass","routerLink",4,"ngIf"],["class","hack-menu-item text-6",3,"href","ngClass",4,"ngIf"],["class","hack-menu-item text-6",3,"ngClass","click",4,"ngIf"],["routerLinkActive","active",1,"hack-menu-item","text-6",3,"ngClass","routerLink"],[1,"hack-menu-item","text-6",3,"href","ngClass"],[1,"hack-menu-item","text-6",3,"ngClass","click"],["hack-button","","href","https://now.hacktm.ro/tickets","id","get-your-ticket-menu","target","_blank",1,"hack-menu-item","mt-40p","mt-lg-0"]],template:function(e,o){1&e&&(t.YNc(0,K,1,3,"app-hack-anchor",0),t.YNc(1,X,4,3,"ng-container",1),t.YNc(2,tt,2,0,"a",2)),2&e&&(t.Q6J("ngIf",o.menuService.mobileMenuOpen),t.xp6(1),t.Q6J("ngForOf",o.menuService.items),t.xp6(1),t.Q6J("ngIf",!o.menuService.mobileMenuOpen))},dependencies:[h.mk,h.sg,h.O5,a.rH,a.Od,q.o,x.Q],styles:["[_nghost-%COMP%]{display:contents;width:-moz-fit-content;width:fit-content}app-hack-anchor[_ngcontent-%COMP%]{margin-left:25px}.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:0 25px;transition:font-size .5s,line-height .5s,margin .5s;outline:none;width:-moz-fit-content;width:fit-content}.hack-menu-item.active[_ngcontent-%COMP%], a.hack-menu-item.active[_ngcontent-%COMP%]{color:#6863ed}@media (max-width: 370px){.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:8px 5px 8px 25px}}.hack-menu-item[_ngcontent-%COMP%]{margin-bottom:40px}"]});class z{constructor(e){this.menuService=e}get menuOpen(){return this.menuService.mobileMenuOpen}onResize(e){e.target.outerWidth>=992&&(this.menuService.mobileMenuOpen=!1)}}z.\u0275fac=function(e){return new(e||z)(t.Y36(_))},z.\u0275cmp=t.Xpm({type:z,selectors:[["app-mobile-menu"]],hostVars:2,hostBindings:function(e,o){1&e&&t.NdJ("resize",function(C){return o.onResize(C)},!1,t.Jf7),2&e&&t.ekj("open",o.menuOpen)},decls:4,vars:0,consts:[[1,"d-flex","flex-column","mb-40p"],[1,"menu-toggle-link",3,"click"],["alt"," ","src","assets/images/close.svg",1,"menu-toggle-link-icon"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t.NdJ("click",function(){return o.menuService.mobileMenuOpen=!1}),t._UZ(2,"img",2),t.qZA(),t._UZ(3,"app-menu-items"),t.qZA())},dependencies:[A],styles:["[_nghost-%COMP%]{display:none;background:rgba(20,18,39,.98);border-bottom:1px solid #2f2d5a;position:fixed;top:0;padding:20px;left:0;right:0;z-index:2}.open[_nghost-%COMP%]{display:block}.open[_nghost-%COMP%] .hack-menu-item{margin-bottom:20px;font-size:24px}.menu-toggle-link[_ngcontent-%COMP%]{justify-content:flex-end;margin:20px 20px 40px 0}.menu-toggle-link[_ngcontent-%COMP%] .menu-toggle-link-icon[_ngcontent-%COMP%]{width:30px;height:30px}"]});var R=i(5861),b=i(433),Z=i(529);function et(n,e){1&n&&t.GkF(0)}function nt(n,e){1&n&&t.GkF(0)}function ot(n,e){1&n&&t.GkF(0)}function st(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(o);const C=t.oxw();return t.KtG(C.submit())}),t._uU(1," Send "),t.qZA()}}function it(n,e){1&n&&(t.TgZ(0,"span"),t._uU(1,"Your message has been sent."),t.qZA())}function at(n,e){1&n&&(t.TgZ(0,"span"),t._uU(1,"Sending message..."),t.qZA())}function rt(n,e){if(1&n&&(t.TgZ(0,"span",12),t.YNc(1,it,2,0,"span",13),t.YNc(2,at,2,0,"span",13),t.qZA()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("ngIf",o.sent),t.xp6(1),t.Q6J("ngIf",o.sending)}}function ct(n,e){1&n&&(t.TgZ(0,"span",14),t._uU(1," Oops, there's been an error. Please try again later. "),t.qZA())}function lt(n,e){1&n&&(t.TgZ(0,"span",16),t._uU(1,"Error: This field is required."),t.qZA())}function pt(n,e){1&n&&(t.TgZ(0,"span",16),t._uU(1,"Error: Please enter a valid email address."),t.qZA())}function gt(n,e){if(1&n&&(t.TgZ(0,"span",16),t._uU(1),t.qZA()),2&n){const o=e.ngIf;t.xp6(1),t.hij(" Error: Your message should have at least ",o.requiredLength," characters. ")}}function mt(n,e){if(1&n&&(t.ynx(0),t.YNc(1,lt,2,0,"span",15),t.YNc(2,pt,2,0,"span",15),t.YNc(3,gt,2,1,"span",15),t.BQk()),2&n){const o=e.ngIf;t.xp6(1),t.Q6J("ngIf",o.required),t.xp6(1),t.Q6J("ngIf",o.email),t.xp6(1),t.Q6J("ngIf",o.minlength)}}function ut(n,e){if(1&n&&t.YNc(0,mt,4,3,"ng-container",13),2&n){const o=e.control,m=t.oxw();t.Q6J("ngIf",m.showErrors&&m.formGroup.controls[o].errors)}}const dt=function(){return{control:"name"}},ht=function(){return{control:"email"}},_t=function(){return{control:"message"}};class J{constructor(e,o){this._fb=e,this._http=o,this.showErrors=!1,this.sending=!1,this.sent=!1,this.apiError=!1,this.formGroup=this._fb.group({email:["",[b.kI.email,b.kI.required]],name:["",[b.kI.required]],message:["",[b.kI.required,b.kI.minLength(10)]]})}submit(){var e=this;return(0,R.Z)(function*(){if(e.apiError=!1,!e.formGroup.valid)return void(e.showErrors=!0);e.sending=!0,e.formGroup.disable();const o=new FormData;Object.entries(e.formGroup.controls).forEach(([m,C])=>{o.append(m,C.value)});try{yield e._http.post("https://script.google.com/macros/s/AKfycbyqUecu6u2RmzbULptwg40FrGHbxTsUGLf-XVfwIkRpY6Q_R6VngbsvKkVivxQtjcXaNA/exec",o).toPromise(),e.sent=!0}catch{e.apiError=!0,e.formGroup.enable()}e.sending=!1})()}}function Ct(n,e){if(1&n&&(t.TgZ(0,"a",17),t._uU(1),t.qZA()),2&n){const o=e.$implicit;t.Q6J("href","https://"+o+".hacktm.ro/",t.LSH),t.xp6(1),t.Oqu(o)}}J.\u0275fac=function(e){return new(e||J)(t.Y36(b.QS),t.Y36(Z.eN))},J.\u0275cmp=t.Xpm({type:J,selectors:[["app-contact-form"]],decls:16,vars:13,consts:[["id","contact-us",1,"d-flex","flex-column",3,"formGroup"],[1,"heading-3","blue-ish-color","mb-40p"],["formControlName","name","name","name","placeholder","Name"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["formControlName","email","name","email","placeholder","Email","type","email",1,"mt-16p"],["formControlName","message","placeholder","Your message","rows","5",1,"mt-16p"],["class","hack-button-blueish-2 mt-40p","hack-button","","type","submit",3,"click",4,"ngIf"],["class","text-center blue-ish-color mt-40p",4,"ngIf"],["class","text-center orange-color mt-40p",4,"ngIf"],[1,"text-5","blue-ish-color","mt-40p"],["error",""],["hack-button","","type","submit",1,"hack-button-blueish-2","mt-40p",3,"click"],[1,"text-center","blue-ish-color","mt-40p"],[4,"ngIf"],[1,"text-center","orange-color","mt-40p"],["class","mt-10p error",4,"ngIf"],[1,"mt-10p","error"]],template:function(e,o){if(1&e&&(t.TgZ(0,"form",0)(1,"h3",1),t._uU(2,"Hello you! Let\u2019s talk!"),t.qZA(),t._UZ(3,"input",2),t.YNc(4,et,1,0,"ng-container",3),t._UZ(5,"input",4),t.YNc(6,nt,1,0,"ng-container",3),t._UZ(7,"textarea",5),t.YNc(8,ot,1,0,"ng-container",3),t.YNc(9,st,2,0,"button",6),t.YNc(10,rt,3,2,"span",7),t.YNc(11,ct,2,0,"span",8),t.TgZ(12,"p",9),t._uU(13," PS: We accept DMs and PMs on our social accounts as well. Whatever keeps you going and the conversation flowing. "),t.qZA()(),t.YNc(14,ut,1,1,"ng-template",null,10,t.W1O)),2&e){const m=t.MAs(15);t.Q6J("formGroup",o.formGroup),t.xp6(4),t.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",t.DdM(10,dt)),t.xp6(2),t.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",t.DdM(11,ht)),t.xp6(2),t.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",t.DdM(12,_t)),t.xp6(1),t.Q6J("ngIf",!o.sent&&!o.sending),t.xp6(1),t.Q6J("ngIf",o.sent||o.sending),t.xp6(1),t.Q6J("ngIf",o.apiError)}},dependencies:[h.O5,h.tP,b._Y,b.Fj,b.JJ,b.JL,b.sg,b.u,q.o],styles:["form[_ngcontent-%COMP%]{max-width:350px;width:100%;box-sizing:border-box}.error[_ngcontent-%COMP%]{color:#f65800;font-size:14px;padding-left:20px}"]});class E{constructor(){this.prevEditions=["2014","2015","2016","2017","2018","Sibiu","Oradea","Meta","404","2022"]}}E.\u0275fac=function(e){return new(e||E)},E.\u0275cmp=t.Xpm({type:E,selectors:[["app-footer"]],decls:25,vars:1,consts:[[1,"d-flex","flex-column","align-items-center","contact-wrapper"],[1,"d-flex","flex-column","flex-lg-row","adjustable-width"],[1,"mb-80p","mb-lg-0","ps-lg-100p","flex-1"],[1,"pe-lg-100p","flex-1","justify-content-center"],[1,"text-center","text-5","mb-40p"],["href","mailto:[email protected]",1,"contact"],[1,"social-media-row","mb-40p"],["href","https://facebook.com/hacktm.ro/","target","_blank"],["viewBox","0 0 48 48"],["href","/assets/images/social-media-icons/facebook.svg#Artboard"],["href","https://instagram.com/hacktm.ro/","target","_blank"],["href","/assets/images/social-media-icons/insta.svg#Artboard"],["href","https://medium.com/@HackTM","target","_blank"],["href","/assets/images/social-media-icons/medium.svg#Artboard"],[1,"text-center","text-6","grey-ish-color"],[1,"mt-80p","p-10p","d-flex","flex-wrap","justify-content-center"],["class","text-5 m-10p","target","_blank",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"text-5","m-10p",3,"href"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"app-contact-form"),t.qZA(),t.TgZ(4,"div",3)(5,"div",4)(6,"a",5),t._uU(7,"[email protected]"),t.qZA()(),t.TgZ(8,"div",6)(9,"a",7),t.O4$(),t.TgZ(10,"svg",8),t._UZ(11,"use",9),t.qZA()(),t.kcU(),t.TgZ(12,"a",10),t.O4$(),t.TgZ(13,"svg",8),t._UZ(14,"use",11),t.qZA()(),t.kcU(),t.TgZ(15,"a",12),t.O4$(),t.TgZ(16,"svg",8),t._UZ(17,"use",13),t.qZA()()(),t.kcU(),t.TgZ(18,"div",14)(19,"span"),t._uU(20,"\xa9\xa0"),t.qZA(),t.TgZ(21,"span"),t._uU(22,"HackTM 2023. All rights reserved."),t.qZA()()()(),t.TgZ(23,"div",15),t.YNc(24,Ct,2,2,"a",16),t.qZA()()),2&e&&(t.xp6(24),t.Q6J("ngForOf",o.prevEditions))},dependencies:[h.sg,J],styles:["[_nghost-%COMP%]{background-color:#2f2d5ab3;display:flex;justify-content:center}a[_ngcontent-%COMP%]{color:#6863ed}a[_ngcontent-%COMP%]:hover{color:#f65800;text-decoration:none}.social-media-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;min-height:48px}.social-media-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 10px;height:48px}.social-media-row[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;height:48px;width:48px}.contact-wrapper[_ngcontent-%COMP%]{padding:50px;width:100%;max-width:1200px;box-sizing:border-box}.flex-1[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}@media (max-width: 576px){[_nghost-%COMP%] > div[_ngcontent-%COMP%]{padding:50px 0}}.adjustable-width[_ngcontent-%COMP%]{width:100%}@media (max-width: 992px){.adjustable-width[_ngcontent-%COMP%]{width:auto}}"]});class U{constructor(){this.largeMenu=!0}menuSizeChanged(e){this.largeMenu=e}}U.\u0275fac=function(e){return new(e||U)},U.\u0275cmp=t.Xpm({type:U,selectors:[["app-root"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("large-menu",o.largeMenu)},decls:4,vars:0,consts:[[3,"sizeChanged"]],template:function(e,o){1&e&&(t.TgZ(0,"app-menu",0),t.NdJ("sizeChanged",function(C){return o.menuSizeChanged(C)}),t.qZA(),t._UZ(1,"app-mobile-menu")(2,"router-outlet")(3,"app-footer"))},dependencies:[a.lC,M,z,E]});var xt=i(8731),Y=i(5926),B=i(7746),L=i(3359),F=i(577),Mt=i(3905),D=new WeakMap;class S{constructor(){(0,Y.Z)(this,D,{writable:!0,value:void 0}),(0,L.Z)(this,D,(0,t.f3M)(F.M6))}init(){const o=["bit","boost-career","brag-about","connect","crazed-ideas","creative","cup-coffee","designer","exceptional-prizes","fun-game","gain-hand","grand-prize","hack-the-capital","hack-tm-chip","heart","jury","location-imagery","main-visual","networking","people","prize-cube","right-arrow","senior","junior","sleep-less","swag","the-vibe","who-can","trophy"].map(m=>(0,Mt.z)((0,B.Z)(this,D).loadSvg(`/assets/2023/${m}.svg`,m)));Promise.all(o).then()}}S.\u0275fac=function(e){return new(e||S)},S.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac});var vt=i(9646),j=new WeakMap,G=new WeakMap;function Pt(n,e){1&n&&(t.TgZ(0,"div",9),t._uU(1,"Your email was saved!"),t.qZA())}function kt(n,e){1&n&&(t.TgZ(0,"div",15),t._uU(1," An error occurred! Please try again or contact us. "),t.qZA())}function bt(n,e){if(1&n){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",10)(2,"input",11),t.NdJ("change",function(){t.CHM(o);const C=t.oxw();return t.KtG(C.validateAddress())})("keypress",function(C){t.CHM(o);const T=t.oxw();return t.KtG(T.handelEnter(C))})("ngModelChange",function(C){t.CHM(o);const T=t.oxw();return t.KtG(T.emailAddress=C)}),t.qZA(),t.TgZ(3,"div",12),t.NdJ("click",function(){t.CHM(o);const C=t.oxw();return t.KtG(C.submit())}),t._UZ(4,"img",13),t.qZA()(),t.YNc(5,kt,2,0,"div",14),t.BQk()}if(2&n){const o=t.oxw();t.xp6(2),t.ekj("error",!o.isEmailValid),t.Q6J("ngModel",o.emailAddress),t.xp6(3),t.Q6J("ngIf","error"===o.state)}}const wt=function(){return{"width.px":46,"height.px":36}},yt=function(){return{"width.px":20,"height.px":20}};class H{constructor(e){this.http=e,this.isNewsletterOpened=!1,this.isEmailValid=!0}toggleNewsletter(){this.isNewsletterOpened=!this.isNewsletterOpened}validateAddress(){const e=new RegExp("^[^@]+@[^@]+\\.[^@]+$");return this.isEmailValid=e.test(this.emailAddress),this.isEmailValid}submit(){var e=this;return(0,R.Z)(function*(){if(!e.validateAddress()||"submitting"===e.state)return;e.state="submitting";const C="https://banatit.us11.list-manage.com/subscribe/post-json?u=b0ca77226362a7371c265896d&id=70c408cb27&"+(new Z.LE).set("EMAIL",e.emailAddress).set("b_b0ca77226362a7371c265896d_70c408cb27","").toString();try{yield e.http.jsonp(C,"c").toPromise(),e.state="success",e.emailAddress=null,e.isEmailValid=!0,setTimeout(()=>{e.toggleNewsletter(),e.state="ready"},3e3)}catch(T){console.error(T),e.state="error"}})()}handelEnter(e){"Enter"===e.key&&this.submit()}}H.\u0275fac=function(e){return new(e||H)(t.Y36(Z.eN))},H.\u0275cmp=t.Xpm({type:H,selectors:[["app-newsletter"]],decls:11,vars:8,consts:[[1,"newsletter-trigger",3,"click"],["name","envelope",3,"svgStyle"],[1,"newsletter-modal"],[1,"close-trigger",3,"click"],["name","cross",3,"svgStyle"],[1,"newsletter-title"],[1,"text-5"],["class","heading-4",4,"ngIf"],[4,"ngIf"],[1,"heading-4"],[1,"d-flex","newsletter-input-wrapper"],["placeholder","Put your email address here ...","type","text",1,"newsletter-input",3,"ngModel","change","keypress","ngModelChange"],[1,"newsletter-submit",3,"click"],["alt","submit","src","assets/images/right_arrow.svg"],["class","heading-5 orange-color",4,"ngIf"],[1,"heading-5","orange-color"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.NdJ("click",function(){return o.toggleNewsletter()}),t._UZ(1,"svg-icon",1),t.qZA(),t.TgZ(2,"div",2)(3,"div",3),t.NdJ("click",function(){return o.toggleNewsletter()}),t._UZ(4,"svg-icon",4),t.qZA(),t.TgZ(5,"div",5),t._uU(6,"Stay in the loop!"),t.qZA(),t.TgZ(7,"div",6),t._uU(8,"Subscribe to the HackTM newsletter"),t.qZA(),t.YNc(9,Pt,2,0,"div",7),t.YNc(10,bt,6,4,"ng-container",8),t.qZA()),2&e&&(t.xp6(1),t.Q6J("svgStyle",t.DdM(6,wt)),t.xp6(1),t.ekj("d-none",!o.isNewsletterOpened),t.xp6(2),t.Q6J("svgStyle",t.DdM(7,yt)),t.xp6(5),t.Q6J("ngIf","success"===o.state),t.xp6(1),t.Q6J("ngIf","success"!==o.state))},dependencies:[h.O5,b.Fj,b.JJ,b.On,F.bk],styles:[".newsletter-trigger[_ngcontent-%COMP%]{border:4px solid #7c78fe;padding:18px 18px 13px}.newsletter-trigger[_ngcontent-%COMP%]:hover{cursor:pointer}.newsletter-modal[_ngcontent-%COMP%]{position:fixed;z-index:2;right:0;bottom:0;background-color:#141227;padding:22px 32px 32px;border:4px solid #7c78fe}.newsletter-modal[_ngcontent-%COMP%] .close-trigger[_ngcontent-%COMP%]{position:absolute;right:27px;top:27px}.newsletter-modal[_ngcontent-%COMP%] .close-trigger[_ngcontent-%COMP%]:hover{cursor:pointer}.newsletter-modal[_ngcontent-%COMP%] .newsletter-title[_ngcontent-%COMP%]{color:#f65800;font-size:25px;line-height:37px;font-weight:700}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%]{padding-top:25px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-submit[_ngcontent-%COMP%]{border:2px solid #7c78fe;padding:8px;line-height:1px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-submit[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-submit[_ngcontent-%COMP%]:hover{cursor:pointer}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input[_ngcontent-%COMP%]{width:316px;background-color:#2f2d5a;border:1px solid transparent;padding-left:21px;color:#c8c7d4;font-size:14px;font-weight:700;line-height:21px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input[_ngcontent-%COMP%]:focus{outline:none}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input.error[_ngcontent-%COMP%]{border:1px solid #f65800;border-right:1px solid transparent;color:#f65800}@media (max-width: 576px){.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input[_ngcontent-%COMP%]{width:auto;max-width:316px}}"]});var Tt=i(9837);class N{}N.\u0275fac=function(e){return new(e||N)},N.\u0275mod=t.oAB({type:N}),N.\u0275inj=t.cJS({imports:[h.ez,a.Bz,b.u5,Z.JF,Z.Ed,F._J,Tt.bz,b.UX,q.o,x.Q]});var Zt=i(3718);class I{constructor(e){e.init()}}I.\u0275fac=function(e){return new(e||I)(t.LFG(S))},I.\u0275mod=t.oAB({type:I,bootstrap:[U]}),I.\u0275inj=t.cJS({providers:[S],imports:[s.b2.withServerTransition({appId:"serverApp"}),k,xt.PW,Z.JF,F._J.forRoot({loader:{provide:F.Sn,useClass:class Ot{constructor(){(0,Y.Z)(this,j,{writable:!0,value:void 0}),(0,Y.Z)(this,G,{writable:!0,value:void 0}),(0,L.Z)(this,j,(0,t.f3M)(s.ki)),(0,L.Z)(this,G,(0,t.f3M)(Z.eN))}getSvg(e){const o=(0,s.Cb)("transfer-svg:"+e),m=(0,B.Z)(this,j).get(o,null);return m?(0,vt.of)(m):new F.oZ((0,B.Z)(this,G)).getSvg(e)}}}}),b.UX,q.o,N,Zt.Y]}),i(2340).N.production&&(0,t.G48)(),document.addEventListener("DOMContentLoaded",()=>{s.q6().bootstrapModule(I).catch(n=>console.error(n))})}},w=>{w.O(0,["vendor"],()=>w(w.s=1086)),w.O()}]);