PageSourceSearch

https://www.careersinthemilitary.com/chunk-4Q7NECDN.js

js careersinthemilitary.com collected 2026-10-01 12:16:09 UTC 2,237 bytes, 1 lines download raw bytes

1import{CommonModule as f}from"@angular/common";import"@angular/core";import{FontAwesomeModule as l}from"@fortawesome/angular-fontawesome";import{faStar as p,faStarHalfStroke as m}from"@fortawesome/free-solid-svg-icons";import{faStar as u}from"@fortawesome/free-regular-svg-icons";import*as t from"@angular/core";import*as s from"@angular/common";import*as c from"@fortawesome/angular-fontawesome";var r=()=>[];function S(n,e){if(n&1&&t.\u0275\u0275element(0,"fa-icon",2),n&2){let o=t.\u0275\u0275nextContext();t.\u0275\u0275property("icon",o.faStar)}}function g(n,e){if(n&1&&t.\u0275\u0275element(0,"fa-icon",2),n&2){let o=t.\u0275\u0275nextContext();t.\u0275\u0275property("icon",o.faStarHalfStroke)}}function h(n,e){if(n&1&&t.\u0275\u0275element(0,"fa-icon",2),n&2){let o=t.\u0275\u0275nextContext();t.\u0275\u0275property("icon",o.faStarHollow)}}var w=(()=>{class n{constructor(){this.faStar=p,this.faStarHalfStroke=m,this.faStarHollow=u,this.numWholeStars=0,this.numHalfStars=0,this.numHollowStars=0}ngOnInit(){this.calculateStars()}ngOnChanges(){this.calculateStars()}calculateStars(){this.numWholeStars=Math.floor(this.rating),this.numHalfStars=this.rating-Math.floor(this.rating)>0?1:0,this.numHollowStars=5-Math.ceil(this.rating)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=t.\u0275\u0275defineComponent({type:n,selectors:[["app-star-rating"]],inputs:{rating:"rating"},features:[t.\u0275\u0275NgOnChangesFeature],decls:4,vars:6,consts:[[1,"star-rating"],[3,"icon",4,"ngFor","ngForOf"],[3,"icon"]],template:function(a,i){a&1&&(t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275template(1,S,1,1,"fa-icon",1)(2,g,1,1,"fa-icon",1)(3,h,1,1,"fa-icon",1),t.\u0275\u0275elementEnd()),a&2&&(t.\u0275\u0275advance(),t.\u0275\u0275property("ngForOf",t.\u0275\u0275pureFunction0(3,r).constructor(i.numWholeStars)),t.\u0275\u0275advance(),t.\u0275\u0275property("ngForOf",t.\u0275\u0275pureFunction0(4,r).constructor(i.numHalfStars)),t.\u0275\u0275advance(),t.\u0275\u0275property("ngForOf",t.\u0275\u0275pureFunction0(5,r).constructor(i.numHollowStars)))},dependencies:[f,s.NgForOf,l,c.FaIconComponent],styles:[".star-rating[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap}"]})}}return n})();export{w as a};

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.