1import{a as k}from"./chunk-M2AGIGAT.js";import{a as A}from"./chunk-JSACPACI.js";import{a as h}from"./chunk-BRGXPDDG.js";import{f as F}from"./chunk-ZKSRIWH6.js";import"./chunk-5LG6FWRW.js";import{i as T}from"./chunk-JCPUWVFC.js";import{b as V}from"./chunk-MCQML6YT.js";import"./chunk-XNXLFDZX.js";import"./chunk-KELMSLCR.js";import"./chunk-N6W3AF2G.js";import{a as E}from"./chunk-IENL4UJA.js";import{e as I}from"./chunk-JLWCQ6UT.js";import"./chunk-P4C42LQP.js";import"./chunk-RZZCZ2VH.js";import{m as P,w as x}from"./chunk-Z7IUSDSQ.js";import{Fa as C,Je as i,Kd as O,Ke as o,Le as l,Ra as _,Vf as d,Xf as c,gc as y,ic as p,ig as M,pe as r,re as u,vf as f,vg as S,wf as g,wg as w,xf as v,zc as t}from"./chunk-SRTQBDBP.js";import"./chunk-EJD3L6HM.js";import"./chunk-T7NDVU76.js";var z=["titleImageSection"],U=["aboutSection"],R=["visionSection"],H=["footerSection"];function j(m,Q){m&1&&l(0,"app-register-with-us")}var he=(()=>{class m{constructor(){this.dynamicStore=C(F),this.sharedService=C(T),this.userService=C(V),this.isLoggedIn=!1,this.isTitleVisible=!1,this.isAboutVisible=!1,this.isVisionVisible=!1,this.isFooterVisible=!1,this.observers=[]}ngOnInit(){this.sharedService.setActiveComponent("aboutUs"),this.getUmbracoContent(),this.checkLoginStatus()}checkLoginStatus(){this.userService.getUserData().subscribe(n=>{this.isLoggedIn=!!n})}ngAfterViewInit(){this.setupObserver(this.titleImageSection,n=>this.isTitleVisible=n),this.setupObserver(this.aboutSection,n=>this.isAboutVisible=n,.2),this.setupObserver(this.visionSection,n=>this.isVisionVisible=n,.2),this.setupObserver(this.footerSection,n=>this.isFooterVisible=n,.1)}setupObserver(n,s,e=.1){if(!n?.nativeElement)return;let a={root:null,rootMargin:"0px",threshold:e},b=new IntersectionObserver(D=>{D.forEach(L=>{L.isIntersecting&&(s(!0),b.disconnect())})},a);b.observe(n.nativeElement),this.observers.push(b)}getUmbracoContent(){this.dynamicStore.dynamicContent("AboutusPage",`${E.contentApiUrl}/AboutusPage?withchildren=true`).subscribe(n=>{n&&(this.pageContent=n[0])})}ngOnDestroy(){this.sharedService.setActiveComponent(""),this.observers.forEach(n=>n.disconnect())}static{this.\u0275fac=function(s){return new(s||m)}}static{this.\u0275cmp=_({type:m,selectors:[["app-about-us"]],viewQuery:function(s,e){if(s&1&&(f(z,5),f(U,5),f(R,5),f(H,5)),s&2){let a;g(a=v())&&(e.titleImageSection=a.first),g(a=v())&&(e.aboutSection=a.first),g(a=v())&&(e.visionSection=a.first),g(a=v())&&(e.footerSection=a.first)}},standalone:!0,features:[M],decls:44,vars:25,consts:[["titleImageSection",""],["aboutSection",""],["visionSection",""],["footerSection",""],[1,"d-flex","flex-column","wrapper-container"],[1,"container"],[1,"d-flex","justify-content-center","align-items-center","title-image-section"],["alt","Almutahidah Recruitment Team","fetchpriority","high",1,"img-fluid","titleImage",3,"src"],["aria-labelledby","about-heading",1,"d-flex","flex-column","about-section"],[1,"sideLine"],["id","about-heading",1,"text-B51A04","fs-48","f-w-bold","about-title"],[1,"underLine"],[1,"fs-16","f-w-regular","text-999999","mt-40","mb-2","about-desc",3,"innerHtml"],["aria-labelledby","vision-heading",1,"d-flex","flex-column","vision-section"],["id","vision-heading",1,"text-B51A04","fs-48","f-w-bold","vision-title"],[1,"d-flex","flex-column","mt-3","gap-4","mb-64","mt-3","cards-container"],[1,"d-flex","align-items-center","gap-5","card-item",2,"--card-index","0"],[1,"d-flex","flex-column","gap-1","content-wrapper"],["alt","Our Mission Icon","width","48","height","48","loading","lazy",3,"src"],[1,"fs-24","f-w-bold","text-B51A04"],[1,"fs-16","f-w-regular","text-999999"],[1,"d-flex","align-items-center","gap-5","card-item",2,"--card-index","1"],["alt","Our Vision Icon","width","48","height","48","loading","lazy",3,"src"],["id","branches-heading",1,"text-B51A04","fs-48","f-w-bold","vision-title"],[3,"showHeading","compact"],[1,"handSection"],["alt","Our Commitment","loading","lazy",1,"img-fluid","footer-img",3,"src"],[4,"ngIf"]],template:function(s,e){s&1&&(i(0,"main",4)(1,"div",5)(2,"div",6,0),l(4,"img",7),o(),i(5,"section",8,1),l(7,"div",9),i(8,"h1",10),d(9),o(),l(10,"div",11)(11,"article",12),S(12,"keepHtml"),o(),i(13,"section",13,2),l(15,"div",9),i(16,"h2",14),d(17
1),o(),l(18,"div",11),i(19,"div",15)(20,"article",16)(21,"div",17),l(22,"img",18),i(23,"h3",19),d(24),o()(),i(25,"p",20),d(26),o()(),i(27,"article",21)(28,"div",17),l(29,"img",22),i(30,"h3",19),d(31),o()(),i(32,"p",20),d(33),o()()()(),i(34,"div",5),l(35,"div",9),i(36,"h2",23),d(37),o(),l(38,"div",11)(39,"app-branches",24),o()(),i(40,"div",25,3),l(42,"img",26),o(),O(43,j,1,0,"app-register-with-us",27),o()),s&2&&(t(2),u("animate",e.isTitleVisible),t(2),r("src",e.pageContent==null||e.pageContent.fields==null||e.pageContent.fields.titleImage==null||e.pageContent.fields.titleImage.fields==null||e.pageContent.fields.titleImage.fields.umbracoFile==null?null:e.pageContent.fields.titleImage.fields.umbracoFile.src,p),t(),u("animate",e.isAboutVisible),t(4),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.aboutCompanyTitle," "),t(2),r("innerHtml",w(12,23,e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.aboutCompanyDescription),y),t(2),u("animate",e.isVisionVisible),t(4),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.companyVisionTitle," "),t(5),r("src",e.pageContent==null||e.pageContent.fields==null||e.pageContent.fields.messageImage==null||e.pageContent.fields.messageImage.fields==null||e.pageContent.fields.messageImage.fields.umbracoFile==null?null:e.pageContent.fields.messageImage.fields.umbracoFile.src,p),t(2),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.messageTitle," "),t(2),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.messageDescription," "),t(3),r("src",e.pageContent==null||e.pageContent.fields==null||e.pageContent.fields.visionImage==null||e.pageContent.fields.visionImage.fields==null||e.pageContent.fields.visionImage.fields.umbracoFile==null?null:e.pageContent.fields.visionImage.fields.umbracoFile.src,p),t(2),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.visionTitle," "),t(2),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.visionDescription," "),t(4),c(" ",e.pageContent==null||e.pageContent.fields==null?null:e.pageContent.fields.branchesTitle," "),t(2),r("showHeading",!1)("compact",!0),t(),u("animate",e.isFooterVisible),t(2),r("src",e.pageContent==null||e.pageContent.fields==null||e.pageContent.fields.aboutFooterImage==null||e.pageContent.fields.aboutFooterImage.fields==null||e.pageContent.fields.aboutFooterImage.fields.umbracoFile==null?null:e.pageContent.fields.aboutFooterImage.fields.umbracoFile.src,p),t(),r("ngIf",!e.isLoggedIn))},dependencies:[x,P,I,A,h,k],styles:[".wrapper-container[_ngcontent-%COMP%]{overflow-x:hidden}.titleImage[_ngcontent-%COMP%]{margin-top:80px;margin-bottom:14px}.sideLine[_ngcontent-%COMP%]{height:100px;width:2px;background-color:gray}.underLine[_ngcontent-%COMP%]{height:3px;width:28px;background-color:gray;border-radius:24px}.mb-64[_ngcontent-%COMP%]{margin-bottom:64px}.title-image-section[_ngcontent-%COMP%] .titleImage[_ngcontent-%COMP%]{opacity:0;transform:translateY(-30px);transition:none}.title-image-section.animate[_ngcontent-%COMP%] .titleImage[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeSlideDown .8s ease-out forwards}.about-section[_ngcontent-%COMP%] .sideLine[_ngcontent-%COMP%]{transform:scaleY(0);transform-origin:top}.about-section[_ngcontent-%COMP%] .about-title[_ngcontent-%COMP%], .about-section[_ngcontent-%COMP%] .underLine[_ngcontent-%COMP%], .about-section[_ngcontent-%COMP%] .about-desc[_ngcontent-%COMP%]{opacity:0;transform:translate(-20px)}.about-section.animate[_ngcontent-%COMP%] .sideLine[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_growLine .6s ease-out forwards}.about-section.animate[_ngcontent-%COMP%] .about-title[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeSlideInRight .6s ease-out forwards;animation-delay:.2s}.about-section.animate[_ngcontent-%COMP%] .underLine[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeSlideInRight .6s ease-out forwards;animation-delay:.3s}.about-section.animate[_ngcontent-%COMP%] .about-desc[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeSlideInRight .6s ease-out forwards;animation-delay:.4s}.vision-section[_ngcontent-%COMP%] .sideLine[_ngcontent-%COMP%]{transform:scaleY(0);transform-origin:top}.vision-section[_ngcontent-%COMP%] .vision-title[_ngcontent-%COMP%], .vision-section[_ngcontent-%COMP%] .underLine[_ngcontent-%COMP%]{opacity:0;transform:translate(-20px)}.vision-section[_ngcontent-%COMP%] .card-item[_ngcontent-%COMP%]{opacity:0;transform:translateY(40px);border-radius:32px;box-shadow:0 4px 12px #0000001a;padding:40px 57px}.vision-section.animate[_ngcontent-%COMP%] .sideLine[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_growLine .6s ease-out forwards}.vision-section.animate[_ngcontent-%COMP%] .vision-title[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeSlideInRight .6s ease-out forwards;animation-delay:.2s}.vision-section.animate[_ngcontent-%COMP%] .underLine[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeSlideInRight .6s ease-out forwards;animation-delay:.3s}.vision-section.animate[_ngcontent-%COMP%] .card-item[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_cardFadeUp .8s cubic-bezier(.25,.46,.45,.94) forwards;
1animation-delay:calc(.4s + var(--card-index) * .2s)}.handSection[_ngcontent-%COMP%]{max-height:550px!important;width:100%;overflow:hidden}.handSection[_ngcontent-%COMP%] .footer-img[_ngcontent-%COMP%]{opacity:0;transform:translateY(100px)}.handSection.animate[_ngcontent-%COMP%] .footer-img[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideUpLarge 1s cubic-bezier(.25,1,.5,1) forwards}@keyframes _ngcontent-%COMP%_fadeSlideDown{to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_growLine{to{transform:scaleY(1)}}@keyframes _ngcontent-%COMP%_fadeSlideInRight{to{opacity:1;transform:translate(0)}}@keyframes _ngcontent-%COMP%_cardFadeUp{to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_slideUpLarge{to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.titleImage[_ngcontent-%COMP%], .sideLine[_ngcontent-%COMP%], .about-title[_ngcontent-%COMP%], .underLine[_ngcontent-%COMP%], .about-desc[_ngcontent-%COMP%], .card-item[_ngcontent-%COMP%], .footer-img[_ngcontent-%COMP%]{opacity:1!important;transform:none!important;animation:none!important}}"]})}}return m})();export{he as AboutUsComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.