File: /mnt/data/smarthr-co-in/demo/angular/template_bk/chunk-UBYPURBF.js
import{Hd as f,Wb as e,Xb as t,Yb as i,fb as a,tc as n,uc as s,yb as c}from"./chunk-AQ27DSQO.js";import"./chunk-EQDQRRRY.js";var E=class l{days=0;hours=0;minutes=0;seconds=0;countdownExpired=!1;email="";countdownInterval;ngOnInit(){this.setCountdown()}ngOnDestroy(){clearInterval(this.countdownInterval)}setCountdown(){let d=new Date;d.setDate(d.getDate()+30);let o=d.getTime();this.countdownInterval=setInterval(()=>{let m=new Date().getTime(),r=o-m;this.days=Math.floor(r/(1e3*60*60*24)),this.hours=Math.floor(r%(1e3*60*60*24)/(1e3*60*60)),this.minutes=Math.floor(r%(1e3*60*60)/(1e3*60)),this.seconds=Math.floor(r%(1e3*60)/1e3),r<0&&(clearInterval(this.countdownInterval),this.countdownExpired=!0)},1e3)}static \u0275fac=function(o){return new(o||l)};static \u0275cmp=c({type:l,selectors:[["app-coming-soon"]],decls:69,vars:4,consts:[[1,"bg-linear-gradiant","d-flex","align-items-center","justify-content-center"],[1,"main-wrapper"],[1,"container"],[1,"coming-soon"],[1,"Page-wrapper"],[1,"row","flex-wrap","justify-content-center","align-items-center"],[1,"col-md-8","d-flex","justify-content-end","align-items-center","mx-auto"],[1,"comming-soon-pg","d-flex","flex-column","align-items-center","justify-content-center"],[1,"mb-4","p-4"],["src","assets/img/logo.svg","alt","logo",1,"img-fluid"],["src","assets/img/bg/coming-soon.svg","alt","image",1,"img-fluid"],[1,"d-inline-flex","align-items-center","justify-content-center","mb-3"],[1,"me-sm-3","me-2"],[1,"d-flex","flex-column","align-items-center"],[1,"d-flex","counts-card","align-items-center","mb-2","justify-content-center","flex-column","border","rounded","bg-primary","px-sm-4","py-sm-3","p-2"],[1,"days","fs-sm-30","text-white","fs-24"],[1,"text-gray-9","fw-medium","fs-16"],[1,"text-gray","fw-bold","fs-30","me-sm-3","mb-4","me-2"],[1,"d-flex","align-items-center","counts-card","mb-2","justify-content-center","flex-column","border","rounded","bg-primary","px-sm-4","py-sm-3","p-2"],[1,"hours","fs-sm-30","text-white","fs-24"],[1,"minutes","fs-sm-30","text-white","fs-24"],[1,"seconds","fs-sm-30","text-white","fs-24"],[1,"fs-16","text-gray-9","text-center"],[1,"subscribe-form"],[1,"mb-3","position-relative"],[1,"d-flex","text-gray-9","text-center","fw-medium","fs-16","mb-3"],[1,"bg-transparent","border","p-2","d-flex","align-items-center","rounded","ps-0"],["type","email","placeholder","Enter Your Email",1,"form-control","bg-transparent","border-0"],["href","javascript:void(0);",1,"btn","btn-primary"],[1,"d-flex","flex-wrap","justify-content-center","align-items-center","pb-4"],["href","javascript:void(0);",1,"btn","btn-primary","rounded-circle","btn-icon","btn-sm","me-2","d-flex","align-items-center","justify-content-center"],[1,"ti","ti-brand-facebook","fs-16"],[1,"ti","ti-brand-twitter","fs-16"],[1,"ti","ti-brand-linkedin","fs-16"],["href","javascript:void(0);",1,"btn","btn-primary","rounded-circle","btn-icon","btn-sm","d-flex","align-items-center","justify-content-center"],[1,"ti","ti-brand-instagram","fs-16"]],template:function(o,m){o&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8),i(9,"img",9),t(),e(10,"div"),i(11,"img",10),t(),e(12,"ul",11)(13,"li",12)(14,"div",13)(15,"div",14)(16,"h3",15),n(17),t()(),e(18,"p",16),n(19,"Days"),t()()(),e(20,"li",17),n(21,":"),t(),e(22,"li",12)(23,"div",13)(24,"div",18)(25,"h3",19),n(26),t()(),e(27,"p",16),n(28,"Hours"),t()()(),e(29,"li",17),n(30,":"),t(),e(31,"li",12)(32,"div",13)(33,"div",18)(34,"h3",20),n(35),t()(),e(36,"p",16),n(37,"Minutes"),t()()(),e(38,"li",17),n(39,":"),t(),e(40,"li")(41,"div",13)(42,"div",18)(43,"h3",21),n(44),t()(),e(45,"p",16),n(46,"Seconds"),t()()()(),e(47,"div")(48,"p",22),n(49,"Please check back later, We are working hard to get "),i(50,"br"),n(51," everything just right."),t(),e(52,"div",23)(53,"div",24)(54,"p",25),n(55,"Subscribe to get notified"),t(),e(56,"div",26),i(57,"input",27),e(58,"a",28),n(59,"Subscribe"),t()()()(),e(60,"div",29)(61,"a",30),i(62,"i",31),t(),e(63,"a",30),i(64,"i",32),t(),e(65,"a",30),i(66,"i",33),t(),e(67,"a",34),i(68,"i",35),t()()()()()()()()()()()),o&2&&(a(17),s(m.days),a(9),s(m.hours),a(9),s(m.minutes),a(9),s(m.seconds))},dependencies:[f],encapsulation:2})};export{E as ComingSoonComponent};