diff --git a/404.html b/404.html index 736148a..c648aaa 100644 --- a/404.html +++ b/404.html @@ -16,5 +16,5 @@ - + diff --git a/index.html b/index.html index 736148a..c648aaa 100644 --- a/index.html +++ b/index.html @@ -16,5 +16,5 @@ - + diff --git a/main-LK2GO6N5.js b/main-AGIGBBVG.js similarity index 97% rename from main-LK2GO6N5.js rename to main-AGIGBBVG.js index 94498c9..7c7d245 100644 --- a/main-LK2GO6N5.js +++ b/main-AGIGBBVG.js @@ -53,4 +53,4 @@ Please report this to https://github.com/markedjs/marked.`,e){let i="

An error `).map(o=>{let s=i;return o.length>0&&(s=isNaN(s)?o.search(/\S|$/):Math.min(o.search(/\S|$/),s)),isNaN(i)&&(i=s),s?o.substring(s):o}).join(` `)}};e.\u0275fac=function(i){return new(i||e)(I(JM,8),I(by,8),I(eS,8),I(ze),I(Cy),I(Yn,8),I(zi))},e.\u0275prov=x({token:e,factory:e.\u0275fac});let t=e;return t})(),Iy=(()=>{let e=class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(n){this._disableSanitizer=this.coerceBooleanProperty(n)}get inline(){return this._inline}set inline(n){this._inline=this.coerceBooleanProperty(n)}get clipboard(){return this._clipboard}set clipboard(n){this._clipboard=this.coerceBooleanProperty(n)}get emoji(){return this._emoji}set emoji(n){this._emoji=this.coerceBooleanProperty(n)}get katex(){return this._katex}set katex(n){this._katex=this.coerceBooleanProperty(n)}get mermaid(){return this._mermaid}set mermaid(n){this._mermaid=this.coerceBooleanProperty(n)}get lineHighlight(){return this._lineHighlight}set lineHighlight(n){this._lineHighlight=this.coerceBooleanProperty(n)}get lineNumbers(){return this._lineNumbers}set lineNumbers(n){this._lineNumbers=this.coerceBooleanProperty(n)}get commandLine(){return this._commandLine}set commandLine(n){this._commandLine=this.coerceBooleanProperty(n)}constructor(n,i,o){this.element=n,this.markdownService=i,this.viewContainerRef=o,this.error=new Y,this.load=new Y,this.ready=new Y,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new se}ngOnChanges(){this.loadContent()}loadContent(){if(this.data!=null){this.handleData();return}if(this.src!=null){this.handleSrc();return}}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(Tn(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(n,i=!1){return wo(this,null,function*(){let o={decodeHtml:i,inline:this.inline,emoji:this.emoji,mermaid:this.mermaid,disableSanitizer:this.disableSanitizer},s={clipboard:this.clipboard,clipboardOptions:{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate},katex:this.katex,katexOptions:this.katexOptions,mermaid:this.mermaid,mermaidOptions:this.mermaidOptions},a=yield this.markdownService.parse(n,o);this.element.nativeElement.innerHTML=a,this.handlePlugins(),this.markdownService.render(this.element.nativeElement,s,this.viewContainerRef),this.ready.emit()})}coerceBooleanProperty(n){return n!=null&&`${String(n)}`!="false"}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:n=>{this.render(n).then(()=>{this.load.emit(n)})},error:n=>this.error.emit(n)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,yf.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,yf.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(n,i){let o=n.querySelectorAll("pre");for(let s=0;s{let l=i[a];if(l){let c=this.toLispCase(a);o.item(s).setAttribute(c,l.toString())}})}toLispCase(n){let i=n.match(/([A-Z])/g);if(!i)return n;let o=n.toString();for(let s=0,a=i.length;s{let e=class e{static forRoot(n){return{ngModule:e,providers:[aS(n)]}}static forChild(){return{ngModule:e}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({imports:[qn]});let t=e;return t})(),wy;(function(t){let e;(function(i){i.Strict="strict",i.Loose="loose",i.Antiscript="antiscript",i.Sandbox="sandbox"})(e=t.SecurityLevel||(t.SecurityLevel={}));let r;(function(i){i.Base="base",i.Forest="forest",i.Dark="dark",i.Default="default",i.Neutral="neutral"})(r=t.Theme||(t.Theme={}));let n;(function(i){i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warn=3]="Warn",i[i.Error=4]="Error",i[i.Fatal=5]="Fatal"})(n=t.LogLevel||(t.LogLevel={}))})(wy||(wy={}));var ky=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(A(Hn),A(Fe))},e.\u0275dir=fe({type:e});let t=e;return t})(),cS=(()=>{let e=class e extends ky{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Ai(e)))(o||e)}})(),e.\u0275dir=fe({type:e,features:[hn]});let t=e;return t})(),Oy=new T("");var uS={provide:Oy,useExisting:Tr(()=>za),multi:!0};function dS(){let t=Kt()?Kt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var fS=new T(""),za=(()=>{let e=class e extends ky{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!dS())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(A(Hn),A(Fe),A(fS,8))},e.\u0275dir=fe({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&pe("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[jr([uS]),hn]});let t=e;return t})();function En(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function Py(t){return t!=null&&typeof t.length=="number"}var Fy=new T(""),Ly=new T(""),hS=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,La=class{static min(e){return pS(e)}static max(e){return gS(e)}static required(e){return mS(e)}static requiredTrue(e){return vS(e)}static email(e){return yS(e)}static minLength(e){return DS(e)}static maxLength(e){return wS(e)}static pattern(e){return bS(e)}static nullValidator(e){return Vy(e)}static compose(e){return zy(e)}static composeAsync(e){return Wy(e)}};function pS(t){return e=>{if(En(e.value)||En(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(En(e.value)||En(t))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}function mS(t){return En(t.value)?{required:!0}:null}function vS(t){return t.value===!0?null:{required:!0}}function yS(t){return En(t.value)||hS.test(t.value)?null:{email:!0}}function DS(t){return e=>En(e.value)||!Py(e.value)?null:e.value.lengthPy(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function bS(t){if(!t)return Vy;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(En(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Vy(t){return null}function jy(t){return t!=null}function $y(t){return pn(t)?te(t):t}function By(t){let e={};return t.forEach(r=>{e=r!=null?v(v({},e),r):e}),Object.keys(e).length===0?null:e}function Uy(t,e){return e.map(r=>r(t))}function CS(t){return!t.validate}function Hy(t){return t.map(e=>CS(e)?e:r=>e.validate(r))}function zy(t){if(!t)return null;let e=t.filter(jy);return e.length==0?null:function(r){return By(Uy(r,e))}}function Gy(t){return t!=null?zy(Hy(t)):null}function Wy(t){if(!t)return null;let e=t.filter(jy);return e.length==0?null:function(r){let n=Uy(r,e).map($y);return ul(n).pipe(R(By))}}function qy(t){return t!=null?Wy(Hy(t)):null}function _y(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Zy(t){return t._rawValidators}function Yy(t){return t._rawAsyncValidators}function Df(t){return t?Array.isArray(t)?t:[t]:[]}function Va(t,e){return Array.isArray(t)?t.includes(e):t===e}function xy(t,e){let r=Df(e);return Df(t).forEach(i=>{Va(r,i)||r.push(i)}),r}function My(t,e){return Df(e).filter(r=>!Va(t,r))}var ja=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Gy(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=qy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},si=class extends ja{get formDirective(){return null}get path(){return null}},yo=class extends ja{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},$a=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ES={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},KL=G(v({},ES),{"[class.ng-submitted]":"isSubmitted"}),Qy=(()=>{let e=class e extends $a{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(A(yo,2))},e.\u0275dir=fe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&pt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[hn]});let t=e;return t})(),Ky=(()=>{let e=class e extends $a{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(A(si,10))},e.\u0275dir=fe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&pt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[hn]});let t=e;return t})();var mo="VALID",Fa="INVALID",ii="PENDING",vo="DISABLED";function Cf(t){return(Ga(t)?t.validators:t)||null}function IS(t){return Array.isArray(t)?Gy(t):t||null}function Ef(t,e){return(Ga(e)?e.asyncValidators:t)||null}function _S(t){return Array.isArray(t)?qy(t):t||null}function Ga(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Xy(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function Jy(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var ai=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===mo}get invalid(){return this.status===Fa}get pending(){return this.status==ii}get disabled(){return this.status===vo}get enabled(){return this.status!==vo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(xy(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(xy(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(My(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(My(e,this._rawAsyncValidators))}hasValidator(e){return Va(this._rawValidators,e)}hasAsyncValidator(e){return Va(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ii,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=vo,this.errors=null,this._forEachChild(n=>{n.disable(G(v({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(G(v({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=mo,this._forEachChild(n=>{n.enable(G(v({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(G(v({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mo||this.status===ii)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vo:mo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ii,this._hasOwnPendingAsyncValidator=!0;let r=$y(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Y,this.statusChanges=new Y}_calculateStatus(){return this._allControlsDisabled()?vo:this.errors?Fa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ii)?ii:this._anyControlsHaveStatus(Fa)?Fa:mo}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ga(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=IS(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=_S(this._rawAsyncValidators)}},Ba=class extends ai{constructor(e,r,n){super(Cf(r),Ef(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Jy(this,!0,e),Object.keys(e).forEach(n=>{Xy(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var wf=class extends Ba{};var e0=new T("CallSetDisabledState",{providedIn:"root",factory:()=>If}),If="always";function xS(t,e){return[...e.path,t]}function Sy(t,e,r=If){_f(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),SS(t,e),AS(t,e),TS(t,e),MS(t,e)}function Ty(t,e,r=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Ha(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ua(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function MS(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function _f(t,e){let r=Zy(t);e.validator!==null?t.setValidators(_y(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=Yy(t);e.asyncValidator!==null?t.setAsyncValidators(_y(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Ua(e._rawValidators,i),Ua(e._rawAsyncValidators,i)}function Ha(t,e){let r=!1;if(t!==null){if(e.validator!==null){let i=Zy(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=Yy(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Ua(e._rawValidators,n),Ua(e._rawAsyncValidators,n),r}function SS(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&t0(t,e)})}function TS(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&t0(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function t0(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function AS(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function NS(t,e){t==null,_f(t,e)}function RS(t,e){return Ha(t,e)}function kS(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function OS(t){return Object.getPrototypeOf(t.constructor)===cS}function PS(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function FS(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===za?r=o:OS(o)?n=o:i=o}),i||n||r||null}function LS(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ay(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ny(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var oi=class extends ai{constructor(e=null,r,n){super(Cf(r),Ef(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ga(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ny(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Ay(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Ay(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ny(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var VS=t=>t instanceof oi;var n0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=fe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var r0=new T("");var jS={provide:si,useExisting:Tr(()=>xf)},xf=(()=>{let e=class e extends si{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Y,this._setValidators(n),this._setAsyncValidators(i)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ha(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let i=this.form.get(n.path);return Sy(i,n,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),i}getControl(n){return this.form.get(n.path)}removeControl(n){Ty(n.control||null,n,!1),LS(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,i){this.form.get(n.path).setValue(i)}onSubmit(n){return this.submitted=!0,PS(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let i=n.control,o=this.form.get(n.path);i!==o&&(Ty(i||null,n),VS(o)&&(Sy(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let i=this.form.get(n.path);NS(i,n),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let i=this.form.get(n.path);i&&RS(i,n)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_f(this.form,this),this._oldForm&&Ha(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(A(Fy,10),A(Ly,10),A(e0,8))},e.\u0275dir=fe({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&pe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[ye.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[jr([jS]),hn,Ge]});let t=e;return t})();var $S={provide:yo,useExisting:Tr(()=>Mf)},Mf=(()=>{let e=class e extends yo{set isDisabled(n){}constructor(n,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Y,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=FS(this,s)}ngOnChanges(n){this._added||this._setUpControl(),kS(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return xS(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(A(si,13),A(Fy,10),A(Ly,10),A(Oy,10),A(r0,8))},e.\u0275dir=fe({type:e,selectors:[["","formControlName",""]],inputs:{name:[ye.None,"formControlName","name"],isDisabled:[ye.None,"disabled","isDisabled"],model:[ye.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[jr([$S]),hn,Ge]});let t=e;return t})();var BS=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({});let t=e;return t})(),bf=class extends ai{constructor(e,r,n){super(Cf(r),Ef(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,n={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,r={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,n={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),r&&(this.controls.splice(i,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){Jy(this,!1,e),e.forEach((n,i)=>{Xy(this,!1,i),this.at(i).setValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((n,i)=>{this.at(i)&&this.at(i).patchValue(n,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,n)=>n._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,n)=>{e(r,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Ry(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var i0=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,i=null){let o=this._reduceControls(n),s={};return Ry(i)?s=i:i!==null&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Ba(o,s)}record(n,i=null){let o=this._reduceControls(n);return new wf(o,i)}control(n,i,o){let s={};return this.useNonNullable?(Ry(i)?s=i:(s.validators=i,s.asyncValidators=o),new oi(n,G(v({},s),{nonNullable:!0}))):new oi(n,i,o)}array(n,i,o){let s=n.map(a=>this._createControl(a));return new bf(s,i,o)}_reduceControls(n){let i={};return Object.keys(n).forEach(o=>{i[o]=this._createControl(n[o])}),i}_createControl(n){if(n instanceof oi)return n;if(n instanceof ai)return n;if(Array.isArray(n)){let i=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(i,o,s)}else return this.control(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var o0=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:r0,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:e0,useValue:n.callSetDisabledState??If}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Le({imports:[BS]});let t=e;return t})();var s0=(()=>{let e=class e{transform(n,i){return n?n.filter(o=>o.name.toLocaleLowerCase().indexOf(i.toLowerCase())!=-1):[]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=zt({name:"filter",type:e,pure:!0,standalone:!0});let t=e;return t})();function HS(t,e){if(t&1){let r=zn();p(0,"a",12),pe("keyup.enter",function(){_t(r),Q(3);let i=st(1);return xt(i.previous())})("click",function(){_t(r),Q(3);let i=st(1);return xt(i.previous())}),w(1),p(2,"span",13),w(3),m()()}if(t&2){let r=Q(3);_(),We(" ",r.previousLabel," "),_(2),oe(r.screenReaderPageLabel)}}function zS(t,e){if(t&1&&(p(0,"span",14),w(1),p(2,"span",13),w(3),m()()),t&2){let r=Q(3);_(),We(" ",r.previousLabel," "),_(2),oe(r.screenReaderPageLabel)}}function GS(t,e){if(t&1&&(p(0,"li",9),Te(1,HS,4,2,"a",10)(2,zS,4,2,"span",11),m()),t&2){Q(2);let r=st(1);pt("disabled",r.isFirstPage()),_(),ee("ngIf",1{class t{constructor(r){this.service=r,this.state={}}transform(r,n){if(!(r instanceof Array)){let d=n.id||this.service.defaultId();return this.state[d]?this.state[d].slice:r}let i=n.totalItems&&n.totalItems!==r.length,o=this.createInstance(r,n),s=o.id,a,l,c=o.itemsPerPage,u=this.service.register(o);if(!i&&r instanceof Array){if(c=+c||JS,a=(o.currentPage-1)*c,l=a+c,this.stateIsIdentical(s,r,a,l))return this.state[s].slice;{let f=r.slice(a,l);return this.saveState(s,r,f,a,l),this.service.change.emit(s),f}}else return u&&this.service.change.emit(s),this.saveState(s,r,r,a,l),r}createInstance(r,n){return this.checkConfig(n),{id:n.id!=null?n.id:this.service.defaultId(),itemsPerPage:+n.itemsPerPage||0,currentPage:+n.currentPage||1,totalItems:+n.totalItems||r.length}}checkConfig(r){let i=["itemsPerPage","currentPage"].filter(o=>!(o in r));if(0l===n[i+c])}}return t.\u0275fac=function(r){return new(r||t)(A(Do,16))},t.\u0275pipe=zt({name:"paginate",type:t,pure:!1}),t})();var eT=(()=>{class t{constructor(r,n){this.service=r,this.changeDetectorRef=n,this.maxSize=7,this.pageChange=new Y,this.pageBoundsCorrection=new Y,this.pages=[],this.changeSub=this.service.change.subscribe(i=>{this.id===i&&(this.updatePageLinks(),this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges())})}ngOnInit(){this.id===void 0&&(this.id=this.service.defaultId()),this.updatePageLinks()}ngOnChanges(r){this.updatePageLinks()}ngOnDestroy(){this.changeSub.unsubscribe()}previous(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)}next(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)}isFirstPage(){return this.getCurrent()===1}isLastPage(){return this.getLastPage()===this.getCurrent()}setCurrent(r){this.pageChange.emit(r)}getCurrent(){return this.service.getCurrentPage(this.id)}getLastPage(){let r=this.service.getInstance(this.id);return r.totalItems<1?1:Math.ceil(r.totalItems/r.itemsPerPage)}getTotalItems(){return this.service.getInstance(this.id).totalItems}checkValidId(){this.service.getInstance(this.id).id==null&&console.warn(`PaginationControlsDirective: the specified id "${this.id}" does not match any registered PaginationInstance`)}updatePageLinks(){let r=this.service.getInstance(this.id),n=this.outOfBoundCorrection(r);n!==r.currentPage?setTimeout(()=>{this.pageBoundsCorrection.emit(n),this.pages=this.createPageArray(r.currentPage,r.itemsPerPage,r.totalItems,this.maxSize)}):this.pages=this.createPageArray(r.currentPage,r.itemsPerPage,r.totalItems,this.maxSize)}outOfBoundCorrection(r){let n=Math.ceil(r.totalItems/r.itemsPerPage);return n{class t{constructor(){this.maxSize=7,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new Y,this.pageBoundsCorrection=new Y,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1}get directionLinks(){return this._directionLinks}set directionLinks(r){this._directionLinks=Sf(r)}get autoHide(){return this._autoHide}set autoHide(r){this._autoHide=Sf(r)}get responsive(){return this._responsive}set responsive(r){this._responsive=Sf(r)}trackByIndex(r){return r}}return t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=de({type:t,selectors:[["pagination-controls"]],inputs:{id:"id",maxSize:"maxSize",directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:4,vars:4,consts:[[3,"id","maxSize","pageChange","pageBoundsCorrection"],["p","paginationApi"],["role","navigation"],["class","ngx-pagination",3,"responsive",4,"ngIf"],[1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf","ngForTrackBy"],["class","pagination-next",3,"disabled",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],["aria-disabled","true",4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],["aria-disabled","true"],[4,"ngIf"],["aria-live","polite"],[1,"pagination-next"]],template:function(r,n){if(r&1&&(p(0,"pagination-template",0,1),pe("pageChange",function(o){return n.pageChange.emit(o)})("pageBoundsCorrection",function(o){return n.pageBoundsCorrection.emit(o)}),p(2,"nav",2),Te(3,XS,6,8,"ul",3),m()()),r&2){let i=st(1);ee("id",n.id)("maxSize",n.maxSize),_(2),Yt("aria-label",n.screenReaderPaginationLabel),_(),ee("ngIf",!(n.autoHide&&i.pages.length<=1))}},dependencies:[eT,zm,Hm,ia],styles:[`.ngx-pagination{margin-left:0;margin-bottom:1rem}.ngx-pagination:before,.ngx-pagination:after{content:" ";display:table}.ngx-pagination:after{clear:both}.ngx-pagination li{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0}.ngx-pagination li{display:inline-block}.ngx-pagination a,.ngx-pagination button{color:#0a0a0a;display:block;padding:.1875rem .625rem;border-radius:0}.ngx-pagination a:hover,.ngx-pagination button:hover{background:#e6e6e6}.ngx-pagination .current{padding:.1875rem .625rem;background:#2199e8;color:#fefefe;cursor:default}.ngx-pagination .disabled{padding:.1875rem .625rem;color:#cacaca;cursor:default}.ngx-pagination .disabled:hover{background:transparent}.ngx-pagination a,.ngx-pagination button{cursor:pointer}.ngx-pagination .pagination-previous a:before,.ngx-pagination .pagination-previous.disabled:before{content:"\\ab";display:inline-block;margin-right:.5rem}.ngx-pagination .pagination-next a:after,.ngx-pagination .pagination-next.disabled:after{content:"\\bb";display:inline-block;margin-left:.5rem}.ngx-pagination .show-for-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination .small-screen{display:none}@media screen and (max-width: 601px){.ngx-pagination.responsive .small-screen{display:inline-block}.ngx-pagination.responsive li:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}} `],encapsulation:2,changeDetection:0}),t})(),c0=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=Pe({type:t}),t.\u0275inj=Le({providers:[Do],imports:[[qn]]}),t})();var u0=(()=>{let e=class e{constructor(n){this._http=n}getProjects(){return this._http.get("assets/files/data.json")}};e.\u0275fac=function(i){return new(i||e)(I(Yn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Wa=(()=>{let e=class e{constructor(n){this._http=n}getGithubInfo(n){return this._http.get(`https://api.github.com/repos/${n}`)}getReadMeInfo(n){return this._http.get(`https://api.github.com/repos/${n}/readme`)}getGitHubContributors(n){return this._http.get(`https://api.github.com/repos/${n}/contributors`)}getGithubRepoLangs(n){return this._http.get(`https://api.github.com/repos/${n}/languages`)}};e.\u0275fac=function(i){return new(i||e)(I(Yn))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var rT=["dataBlock"],iT=(t,e)=>e.id;function oT(t,e){if(t&1){let r=zn();p(0,"app-project",16),pe("info",function(i){_t(r);let o=Q();return xt(o.receiveInfo(i))}),m()}if(t&2){let r=e.$implicit;ee("metadata",r)}}function sT(t,e){t&1&&(p(0,"div",17),O(1,"img",18),m())}function aT(t,e){if(t&1){let r=zn();p(0,"div",19)(1,"div",20)(2,"pagination-controls",21),pe("pageChange",function(i){_t(r);let o=Q();return xt(o.onPageChange(i))}),m()()()}t&2&&(_(2),ee("responsive",!0))}function lT(t,e){t&1&&(p(0,"div",22),O(1,"div",23)(2,"div",24)(3,"div",25)(4,"div",25),m())}function cT(t,e){t&1&&(p(0,"div",27),Qe(),p(1,"svg",28),O(2,"path",29),m(),rt(),p(3,"span"),w(4,"Error! Retrieving data from GitHub!"),m()())}var uT=(t,e)=>e.key;function dT(t,e){if(t&1&&(p(0,"div",56),w(1),m()),t&2){let r=e.$implicit;_(),oe(r)}}function fT(t,e){if(t&1&&Fr(0,dT,2,1,"div",57,mm),t&2){let r=Q(3);Lr(r.githubData==null?null:r.githubData.topics)}}function hT(t,e){}function pT(t,e){if(t&1&&(p(0,"div",58)(1,"div",59),w(2),m(),p(3,"div",60),w(4),gt(5,"percent"),m()()),t&2){let r=Q().$implicit,n=Q(3);_(2),oe(r.key),_(2),oe(ki(5,2,r.value/n.languageFilesCount))}}function gT(t,e){if(t&1&&Te(0,hT,0,0)(1,pT,6,4),t&2){let r=e.$index;Pr(0,r>=4?0:1)}}function mT(t,e){if(t&1&&(p(0,"div",30),O(1,"div",31),p(2,"div",32)(3,"div",33)(4,"h1",34),w(5),m(),p(6,"p",35),w(7),m(),Te(8,fT,2,0),p(9,"div",36)(10,"button",37),w(11),p(12,"div",38),O(13,"input",39),m()()()()()(),p(14,"div",40)(15,"pre",41),w(16," "),O(17,"markdown",42),w(18,` - `),m()(),p(19,"div",43)(20,"div",44),Fr(21,gT,2,1,null,null,uT),m()(),p(23,"div",45)(24,"div",46)(25,"ul",47)(26,"li")(27,"div",48),w(28,"Created at"),m(),p(29,"div",49),Qe(),p(30,"svg",50),O(31,"path",51),m()(),rt(),p(32,"div",52),w(33),m(),O(34,"hr"),m(),p(35,"li"),O(36,"hr"),p(37,"div",48),w(38,"Last Updated at"),m(),p(39,"div",49),Qe(),p(40,"svg",50),O(41,"path",51),m()(),rt(),p(42,"div",52),w(43),m(),O(44,"hr"),m(),p(45,"li"),O(46,"hr"),p(47,"div",48),w(48,"Size"),m(),p(49,"div",49),Qe(),p(50,"svg",50),O(51,"path",51),m()(),rt(),p(52,"div",52),w(53),gt(54,"number"),m(),O(55,"hr"),m(),p(56,"li"),O(57,"hr"),p(58,"div",48),w(59,"Forks"),m(),p(60,"div",49),Qe(),p(61,"svg",50),O(62,"path",51),m()(),rt(),p(63,"div",52),w(64),m(),O(65,"hr"),m(),p(66,"li"),O(67,"hr"),p(68,"div",48),w(69,"Forks Count"),m(),p(70,"div",49),Qe(),p(71,"svg",50),O(72,"path",51),m()(),rt(),p(73,"div",52),w(74),m(),O(75,"hr"),m(),p(76,"li"),O(77,"hr"),p(78,"div",48),w(79,"License"),m(),p(80,"div",49),Qe(),p(81,"svg",50),O(82,"path",51),m()(),rt(),p(83,"div",52),w(84),m(),O(85,"hr"),m(),p(86,"li"),O(87,"hr"),p(88,"div",48),w(89,"Home Page"),m(),p(90,"div",49),Qe(),p(91,"svg",50),O(92,"path",51),m()(),rt(),p(93,"div",52)(94,"a",53),w(95),m()()()()()(),p(96,"div",54),O(97,"img",55),m()),t&2){let r=Q(2);wm("background-image: url(",r.githubData==null?null:r.githubData.owner.avatar_url,"); "),_(5),oe(r.githubData==null?null:r.githubData.name),_(2),oe(r.githubData==null?null:r.githubData.description),_(),Pr(8,r.githubData!=null&&r.githubData.topics?8:-1),_(3),We(" ",r.githubData==null?null:r.githubData.stargazers_count," "),_(6),ee("src",r.readMeData),_(4),Lr(r.languageData),_(12),oe(r.removeTime(r.githubData==null?null:r.githubData.created_at)),_(10),oe(r.removeTime(r.githubData==null?null:r.githubData.updated_at)),_(10),We("",Gn(54,19,(r.githubData==null?null:r.githubData.size)/1024,"1.0-2")," KB"),_(11),oe(r.githubData!=null&&r.githubData.fork?"\u2705":"\u274C"),_(10),oe(r.githubData==null?null:r.githubData.forks_count),_(10),oe(r.githubData==null?null:r.githubData.license.name),_(10),ee("href",r.githubData==null?null:r.githubData.homepage,Ri),_(),oe(r.githubData==null?null:r.githubData.homepage),_(2),Bu("alt","lebanon-stars-",r.githubData==null?null:r.githubData.full_name,""),ee("defaultImage",r.defaultImage)("lazyLoad",r.buildStarHistory(r.githubData==null?null:r.githubData.full_name))}}function vT(t,e){if(t&1&&Te(0,cT,5,0,"div",26)(1,mT,98,22),t&2){let r=Q();Pr(0,r.githubData?1:0)}}var yT=t=>({itemsPerPage:8,currentPage:t}),f0=(()=>{let e=class e{constructor(n,i,o,s){this._projectService=n,this.cdr=i,this._fb=o,this._githubService=s,this.destroyRef=y(Rr),this.languageFilesCount=0,this.isLoading=!0,this.badges=["badge-neutral","badge-primary","badge-secondary","badge-accent","badge-ghost"],this.projects=[],this.searchText="",this.defaultImage="./assets/images/loader.gif",this.pageNumber=1,this.languageData=[],this._projectService.getProjects().pipe(Cn(),R(a=>{this.projects=this.shuffleArray(a)}),Ee(a=>S([]))).subscribe()}ngOnInit(){this.searchForm=this._fb.group({search:new oi("",[La.maxLength(30)])}),this.searchForm.get("search").valueChanges.pipe(Cn(this.destroyRef),pl(300),R(n=>{this.searchText=n})).subscribe()}ngAfterViewInit(){this.cdr.detectChanges()}showModal(){this.block.nativeElement.classList.add("modal-open")}closeModal(){this.languageFilesCount=0,this.block.nativeElement.classList.remove("modal-open")}onPageChange(n){this.pageNumber=n,window.scrollTo(0,0)}getRadomBadge(){let n=Math.floor(Math.random()*this.badges.length);return this.badges[n]}getGithubInfo(n){this._githubService.getGithubInfo(n).pipe(Cn(this.destroyRef),R(i=>{this.githubData=i}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}getGithubRepoLangs(n){this._githubService.getGithubRepoLangs(n).pipe(Cn(this.destroyRef),R(i=>{i&&(this.languageData=Object.keys(i).map(o=>({key:o,value:i[o]})),Object.values(this.languageData).forEach(o=>{this.languageFilesCount+=o.value}))}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}createSlug(n){let i=new URL(n).pathname,o=[];i&&(o=i.split("/"));var s=o.slice(-2);return s.length==2?`${s[0]}/${s[1]}`:""}receiveInfo(n){this.showModal();let i=this.createSlug(n.url);this.getGithubInfo(i),this.readMeData=`https://raw.githubusercontent.com/${i}/master/README.md`,this.getGithubRepoLangs(i)}decodeReadMe(n){return atob(n)}buildStarHistory(n){return`https://api.star-history.com/svg?repos=${n}&type=Timeline`}removeTime(n){if(n=="")return"";let i=new Date(n);return`${i.getDate()}/${i.getMonth()+1}/${i.getFullYear()}`}shuffleArray(n){return n.sort(()=>Math.random()-.5)}};e.\u0275fac=function(i){return new(i||e)(A(u0),A(mt),A(i0),A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-home"]],viewQuery:function(i,o){if(i&1&&Dm(rT,7),i&2){let s;Uu(s=Hu())&&(o.block=s.first)}},standalone:!0,features:[jr([]),ge],decls:23,vars:12,consts:[[1,"bgg"],[1,"pb-6","flex","md:flex","md:flex-grow","flex-row"],[1,"w-full","md:w-2/12",3,"formGroup"],[1,"input","input-bordered","flex","items-center"],["type","text","placeholder","Search","formControlName","search",1,"grow"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 16 16","fill","currentColor",1,"w-4","h-4","opacity-70"],["fill-rule","evenodd","d","M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z","clip-rule","evenodd"],[1,"grid","grid-cols-1","md:grid-cols-4","gap-6","lg:gap-4","sm:grid-cols-2","z-50"],["class","grid grid-cols-2"],["id","my_modal_4",1,"modal"],["dataBlock",""],[1,"modal-box","w-11/12","max-w-5xl"],["class","flex flex-col gap-4 w-full"],[1,"modal-action"],["method","dialog"],[1,"btn",3,"click"],[3,"metadata","info"],[1,"flex","items-center","justify-center"],["src","/assets/images/no-data.webp","alt","",1,"text-center","rounded-xl","transform-gpu","hover:scale-y-105","transition","duration-500"],[1,"grid","grid-cols-2"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","w-50","text-right","col-start-4","col-end-5"],[3,"responsive","pageChange"],[1,"flex","flex-col","gap-4","w-full"],[1,"skeleton","h-32","w-full"],[1,"skeleton","h-4","w-28"],[1,"skeleton","h-4","w-full"],["role","alert","class","alert alert-error"],["role","alert",1,"alert","alert-error"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"stroke-current","shrink-0","h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"bg-gray-600","bg-blend-multiply","border-2","rounded-lg","bg-no-repeat","bg-center"],[1,"hero-overlay","bg-opacity-40"],[1,"hero-content","text-center","text-neutral-content"],[1,"max-w-md"],[1,"mb-5","text-5xl","font-bold"],[1,"mb-5"],[1,"pt-6"],[1,"btn"],[1,"rating"],["type","radio","name","rating-4","checked","",1,"mask","mask-star-2","bg-yellow-500"],[1,"mockup-code","mt-6"],[1,"p-4"],[3,"src"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","text-center"],[1,"stats","stats-vertical","lg:stats-horizontal","shadow","w-full"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6"],[1,"flex","text-center","z-50"],[1,"timeline","timeline-vertical","lg:timeline-horizontal"],[1,"timeline-start"],[1,"timeline-middle"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5"],["fill-rule","evenodd","d","M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule","evenodd"],[1,"timeline-end","timeline-box"],["target","_blank",1,"link",3,"href"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","justify-center","items-center"],[1,"rounded-lg",3,"defaultImage","lazyLoad","alt"],[1,"badge","badge-secondary","pr-2","mr-2"],["class","badge badge-secondary pr-2 mr-2"],[1,"stat"],[1,"stat-title"],[1,"stat-value"],[3,"metadata"],["class","flex items-center justify-center"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"form",2)(3,"label",3),O(4,"input",4),Qe(),p(5,"svg",5),O(6,"path",6),m()()()(),rt(),p(7,"div",7),Fr(8,oT,1,1,"app-project",61,iT,!1,sT,2,0,"div",62),gt(11,"paginate"),gt(12,"filter"),m(),Te(13,aT,3,1,"div",8),m(),p(14,"dialog",9,10)(16,"div",11),Te(17,lT,5,0,"div",12)(18,vT,2,1),p(19,"div",13)(20,"form",14)(21,"button",15),pe("click",function(){return o.closeModal()}),w(22,"Close"),m()()()()()),i&2&&(_(2),ee("formGroup",o.searchForm),_(6),Lr(Gn(11,4,Gn(12,7,o.projects,o.searchText),Cm(10,yT,o.pageNumber))),_(5),Pr(13,o.projects.length>0?13:-1),_(4),Pr(17,o.isLoading?17:18))},dependencies:[fy,c0,a0,l0,Pt,Ot,qn,ia,Wm,o0,n0,za,Qy,Ky,xf,Mf,s0,Pa,Iy,Ra],styles:['.bgg[_ngcontent-%COMP%]{background-image:url("./media/bg-4-TILS5NJC.webp");background-position:bottom right;background-repeat:no-repeat}']});let t=e;return t})();var h0=(()=>{let e=class e{constructor(){this.defaultImage="./assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-aboutus"]],standalone:!0,features:[ge],decls:34,vars:2,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"],["href","https://angular.io/","target","_blank",1,"link"],["href","https://tailwindcss.com/","target","_blank",1,"link"],["href","https://daisyui.com/","target","_blank",1,"link"],[1,"mt-3","mb-3"],[1,"mockup-browser","border","border-base-300"],[1,"mockup-browser-toolbar"],[1,"input","border","border-base-300"],[1,"community","w-full","flex","justify-center","px-4","py-16","border-t","border-base-300"],["href","https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds","target","_blank"],["alt","lebanon-stars-community-links",1,"mt-2","w-32","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"About Us!"),m(),p(4,"p"),w(5," We're successful developers and software engineers from Lebanon who invented a bunch of success repositories in a place filled with obstacles and economic crises! "),m(),p(6,"p")(7,"b"),w(8,"Lebanon Stars"),m(),w(9," is a simple project created by "),p(10,"a",3),w(11,"Ali Alachkar"),m(),w(12," and with the help of contributors using "),p(13,"a",4),w(14,"Angular 17"),m(),w(15,", "),p(16,"a",5),w(17,"Tailwind"),m(),w(18,", and "),p(19,"a",6),w(20,"DaisyUI"),m(),w(21,". The main purpose of the project was to add all the Lebanese repos to be viewed by other developers, university students, or even recruiters! "),m(),p(22,"p",7),w(23," You can join us in our "),p(24,"b"),w(25," Tech & Code"),m(),w(26," coummity. "),m(),p(27,"div",8)(28,"div",9)(29,"div",10),w(30,"https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds"),m()(),p(31,"div",11)(32,"a",12),O(33,"img",13),m()()()()()),i&2&&(_(33),ee("defaultImage",o.defaultImage)("lazyLoad","assets/images/whatsapp-icon.webp"))},dependencies:[Pt,Ot],styles:['.community[_ngcontent-%COMP%]{background-image:url("./media/community-Y4EIT6CZ.webp");background-size:initial;opacity:.4}']});let t=e;return t})();var DT=(t,e)=>e.id;function wT(t,e){if(t&1&&(p(0,"div",4)(1,"a",5),O(2,"img",6),m()()),t&2){let r=e.$implicit,n=Q();Yt("data-tip",r.login),_(),Yt("href",r.html_url,Ri),_(),ee("defaultImage",n.defaultImage)("lazyLoad",r==null?null:r.avatar_url)}}var p0=(()=>{let e=class e{constructor(n){this._githubService=n,this.contributors=[],this.lebanonStar="AAVision/beSideYou",this.defaultImage="./assets/images/loader.gif",this._githubService.getGitHubContributors(this.lebanonStar).pipe(Cn(),R(i=>{this.contributors=i||[]}),Ee(i=>S([]))).subscribe()}};e.\u0275fac=function(i){return new(i||e)(A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-contributors"]],standalone:!0,features:[ge],decls:7,vars:0,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-6","gap-6","lg:gap-4","sm:grid-cols-2","z-50","place-items-center"],[1,"tooltip"],["target","_blank",1,"cursor-pointer"],["alt","",1,"rounded-lg","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"],["class","tooltip"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"Contributors!"),m(),p(4,"div",3),Fr(5,wT,3,4,"div",7,DT),m()()()),i&2&&(_(5),Lr(o.contributors))},dependencies:[Pt,Ot]});let t=e;return t})();var g0=[{path:"",title:"Home page",component:f0},{path:"about-us",title:"About Us",component:h0},{path:"contributors",title:"Contributors",component:p0}];var m0={providers:[ty(g0,lf(),sy()),iv(),pu(Pa.forRoot())]};var v0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-header"]],standalone:!0,features:[ge],decls:32,vars:0,consts:[[1,"navbar","bg-base-100"],[1,"navbar-start"],[1,"dropdown"],["tabindex","0","role","button","name","responsive-btn","aria-label","responsive-btn","id","responsive-btn",1,"btn","btn-ghost","lg:hidden"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-5","w-5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h8m-8 6h16"],["tabindex","0",1,"menu","menu-sm","dropdown-content","mt-3","z-[1]","p-2","shadow","bg-base-100","rounded-box","w-52"],["routerLink","","id","projects-main"],["routerLink","contributors","id","contributor-main"],["routerLink","about-us","id","about-us-main"],["name","lb-stars","aria-label","lb-stars","id","lb-stars",1,"btn","btn-ghost","text-xl"],[1,"navbar-center","hidden","lg:flex"],[1,"menu","menu-horizontal","px-1"],["routerLink","","id","projects-secondary"],["routerLink","contributors","id","contributor-secondary"],["routerLink","about-us","id","about-us-secondary"],[1,"navbar-end"],["name","github-link","aria-label","github-link","id","github-link","href","https://www.github.com/aavision/lebanon-stars","target","_blank",1,"btn","bg-transparent","border-0"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24"],["d","M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),Qe(),p(4,"svg",4),O(5,"path",5),m()(),rt(),p(6,"ul",6)(7,"li")(8,"a",7),w(9,"Projects"),m()(),p(10,"li")(11,"a",8),w(12,"Contributors"),m(),p(13,"a",9),w(14,"About Us"),m()()()(),p(15,"div",10),w(16,"Lebanon Stars "),m()(),p(17,"div",11)(18,"ul",12)(19,"li")(20,"a",13),w(21,"Projects"),m()(),p(22,"li")(23,"a",14),w(24,"Contributors"),m()(),p(25,"li")(26,"a",15),w(27,"About us"),m()()()(),p(28,"div",16)(29,"a",17),Qe(),p(30,"svg",18),O(31,"path",19),m()()()())},dependencies:[Ra,Jv]});let t=e;return t})();var y0=(()=>{let e=class e{constructor(){this.anio=new Date().getFullYear(),this.defaultImage="./assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-footer"]],standalone:!0,features:[ge],decls:8,vars:3,consts:[[1,"sticky","top-[100vh]"],[1,"footer","items-center","p-4","bg-slate-50"],[1,"items-center","grid-flow-col"],["alt","",3,"defaultImage","lazyLoad"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"footer",1)(2,"aside",2),O(3,"img",3),p(4,"p"),w(5),p(6,"a",4),w(7,"Ali Alachkar"),m()()()()()),i&2&&(_(3),ee("defaultImage",o.defaultImage)("lazyLoad","assets/images/lebanon-footer.svg"),_(2),We("Copyright \xA9 ",o.anio," - All right reserved by "))},dependencies:[Pt,Ot]});let t=e;return t})();var D0=(()=>{let e=class e{constructor(){this.title="leabnon-stars"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-root"]],standalone:!0,features:[ge],decls:4,vars:0,consts:[[1,"pt-3","w-11/12","mx-auto","p-6","lg:p-8","overflow-x-hidden"]],template:function(i,o){i&1&&(O(0,"app-header"),p(1,"div",0),O(2,"router-outlet"),m(),O(3,"app-footer"))},dependencies:[ef,v0,y0]});let t=e;return t})();fv(D0,m0).catch(t=>console.error(t)); + `),m()(),p(19,"div",43)(20,"div",44),Fr(21,gT,2,1,null,null,uT),m()(),p(23,"div",45)(24,"div",46)(25,"ul",47)(26,"li")(27,"div",48),w(28,"Created at"),m(),p(29,"div",49),Qe(),p(30,"svg",50),O(31,"path",51),m()(),rt(),p(32,"div",52),w(33),m(),O(34,"hr"),m(),p(35,"li"),O(36,"hr"),p(37,"div",48),w(38,"Last Updated at"),m(),p(39,"div",49),Qe(),p(40,"svg",50),O(41,"path",51),m()(),rt(),p(42,"div",52),w(43),m(),O(44,"hr"),m(),p(45,"li"),O(46,"hr"),p(47,"div",48),w(48,"Size"),m(),p(49,"div",49),Qe(),p(50,"svg",50),O(51,"path",51),m()(),rt(),p(52,"div",52),w(53),gt(54,"number"),m(),O(55,"hr"),m(),p(56,"li"),O(57,"hr"),p(58,"div",48),w(59,"Forks"),m(),p(60,"div",49),Qe(),p(61,"svg",50),O(62,"path",51),m()(),rt(),p(63,"div",52),w(64),m(),O(65,"hr"),m(),p(66,"li"),O(67,"hr"),p(68,"div",48),w(69,"Forks Count"),m(),p(70,"div",49),Qe(),p(71,"svg",50),O(72,"path",51),m()(),rt(),p(73,"div",52),w(74),m(),O(75,"hr"),m(),p(76,"li"),O(77,"hr"),p(78,"div",48),w(79,"License"),m(),p(80,"div",49),Qe(),p(81,"svg",50),O(82,"path",51),m()(),rt(),p(83,"div",52),w(84),m(),O(85,"hr"),m(),p(86,"li"),O(87,"hr"),p(88,"div",48),w(89,"Home Page"),m(),p(90,"div",49),Qe(),p(91,"svg",50),O(92,"path",51),m()(),rt(),p(93,"div",52)(94,"a",53),w(95),m()()()()()(),p(96,"div",54),O(97,"img",55),m()),t&2){let r=Q(2);wm("background-image: url(",r.githubData==null?null:r.githubData.owner.avatar_url,"); "),_(5),oe(r.githubData==null?null:r.githubData.name),_(2),oe(r.githubData==null?null:r.githubData.description),_(),Pr(8,r.githubData!=null&&r.githubData.topics?8:-1),_(3),We(" ",r.githubData==null?null:r.githubData.stargazers_count," "),_(6),ee("src",r.readMeData),_(4),Lr(r.languageData),_(12),oe(r.removeTime(r.githubData==null?null:r.githubData.created_at)),_(10),oe(r.removeTime(r.githubData==null?null:r.githubData.updated_at)),_(10),We("",Gn(54,19,(r.githubData==null?null:r.githubData.size)/1024,"1.0-2")," KB"),_(11),oe(r.githubData!=null&&r.githubData.fork?"\u2705":"\u274C"),_(10),oe(r.githubData==null?null:r.githubData.forks_count),_(10),oe(r.githubData==null?null:r.githubData.license.name),_(10),ee("href",r.githubData==null?null:r.githubData.homepage,Ri),_(),oe(r.githubData==null?null:r.githubData.homepage),_(2),Bu("alt","lebanon-stars-",r.githubData==null?null:r.githubData.full_name,""),ee("defaultImage",r.defaultImage)("lazyLoad",r.buildStarHistory(r.githubData==null?null:r.githubData.full_name))}}function vT(t,e){if(t&1&&Te(0,cT,5,0,"div",26)(1,mT,98,22),t&2){let r=Q();Pr(0,r.githubData?1:0)}}var yT=t=>({itemsPerPage:8,currentPage:t}),f0=(()=>{let e=class e{constructor(n,i,o,s){this._projectService=n,this.cdr=i,this._fb=o,this._githubService=s,this.destroyRef=y(Rr),this.languageFilesCount=0,this.isLoading=!0,this.badges=["badge-neutral","badge-primary","badge-secondary","badge-accent","badge-ghost"],this.projects=[],this.searchText="",this.defaultImage="./assets/images/loader.gif",this.pageNumber=1,this.languageData=[],this._projectService.getProjects().pipe(Cn(),R(a=>{this.projects=this.shuffleArray(a)}),Ee(a=>S([]))).subscribe()}ngOnInit(){this.searchForm=this._fb.group({search:new oi("",[La.maxLength(30)])}),this.searchForm.get("search").valueChanges.pipe(Cn(this.destroyRef),pl(300),R(n=>{this.searchText=n})).subscribe()}ngAfterViewInit(){this.cdr.detectChanges()}showModal(){this.block.nativeElement.classList.add("modal-open")}closeModal(){this.languageFilesCount=0,this.block.nativeElement.classList.remove("modal-open")}onPageChange(n){this.pageNumber=n,window.scrollTo(0,0)}getRadomBadge(){let n=Math.floor(Math.random()*this.badges.length);return this.badges[n]}getGithubInfo(n){this._githubService.getGithubInfo(n).pipe(Cn(this.destroyRef),R(i=>{this.githubData=i}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}getGithubRepoLangs(n){this._githubService.getGithubRepoLangs(n).pipe(Cn(this.destroyRef),R(i=>{i&&(this.languageData=Object.keys(i).map(o=>({key:o,value:i[o]})),Object.values(this.languageData).forEach(o=>{this.languageFilesCount+=o.value}))}),Ee(i=>S([])),ut(()=>{this.isLoading=!1})).subscribe()}createSlug(n){let i=new URL(n).pathname,o=[];i&&(o=i.split("/"));var s=o.slice(-2);return s.length==2?`${s[0]}/${s[1]}`:""}receiveInfo(n){this.showModal();let i=this.createSlug(n.url);this.getGithubInfo(i),this.readMeData=`https://raw.githubusercontent.com/${i}/master/README.md`,this.getGithubRepoLangs(i)}decodeReadMe(n){return atob(n)}buildStarHistory(n){return`https://api.star-history.com/svg?repos=${n}&type=Timeline`}removeTime(n){if(n=="")return"";let i=new Date(n);return`${i.getDate()}/${i.getMonth()+1}/${i.getFullYear()}`}shuffleArray(n){return n.sort(()=>Math.random()-.5)}};e.\u0275fac=function(i){return new(i||e)(A(u0),A(mt),A(i0),A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-home"]],viewQuery:function(i,o){if(i&1&&Dm(rT,7),i&2){let s;Uu(s=Hu())&&(o.block=s.first)}},standalone:!0,features:[jr([]),ge],decls:23,vars:12,consts:[[1,"bgg"],[1,"pb-6","flex","md:flex","md:flex-grow","flex-row"],[1,"w-full","md:w-2/12",3,"formGroup"],[1,"input","input-bordered","flex","items-center"],["type","text","placeholder","Search","formControlName","search",1,"grow"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 16 16","fill","currentColor",1,"w-4","h-4","opacity-70"],["fill-rule","evenodd","d","M9.965 11.026a5 5 0 1 1 1.06-1.06l2.755 2.754a.75.75 0 1 1-1.06 1.06l-2.755-2.754ZM10.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z","clip-rule","evenodd"],[1,"grid","grid-cols-1","md:grid-cols-4","gap-6","lg:gap-4","sm:grid-cols-2","z-50"],["class","grid grid-cols-2"],["id","my_modal_4",1,"modal"],["dataBlock",""],[1,"modal-box","w-11/12","max-w-5xl"],["class","flex flex-col gap-4 w-full"],[1,"modal-action"],["method","dialog"],[1,"btn",3,"click"],[3,"metadata","info"],[1,"flex","items-center","justify-center"],["src","./assets/images/no-data.webp","alt","",1,"text-center","rounded-xl","transform-gpu","hover:scale-y-105","transition","duration-500"],[1,"grid","grid-cols-2"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","w-50","text-right","col-start-4","col-end-5"],[3,"responsive","pageChange"],[1,"flex","flex-col","gap-4","w-full"],[1,"skeleton","h-32","w-full"],[1,"skeleton","h-4","w-28"],[1,"skeleton","h-4","w-full"],["role","alert","class","alert alert-error"],["role","alert",1,"alert","alert-error"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"stroke-current","shrink-0","h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"bg-gray-600","bg-blend-multiply","border-2","rounded-lg","bg-no-repeat","bg-center"],[1,"hero-overlay","bg-opacity-40"],[1,"hero-content","text-center","text-neutral-content"],[1,"max-w-md"],[1,"mb-5","text-5xl","font-bold"],[1,"mb-5"],[1,"pt-6"],[1,"btn"],[1,"rating"],["type","radio","name","rating-4","checked","",1,"mask","mask-star-2","bg-yellow-500"],[1,"mockup-code","mt-6"],[1,"p-4"],[3,"src"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","text-center"],[1,"stats","stats-vertical","lg:stats-horizontal","shadow","w-full"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6"],[1,"flex","text-center","z-50"],[1,"timeline","timeline-vertical","lg:timeline-horizontal"],[1,"timeline-start"],[1,"timeline-middle"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5"],["fill-rule","evenodd","d","M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule","evenodd"],[1,"timeline-end","timeline-box"],["target","_blank",1,"link",3,"href"],["role","alert",1,"alert","shadow-lg","mt-6","mb-6","flex","justify-center","items-center"],[1,"rounded-lg",3,"defaultImage","lazyLoad","alt"],[1,"badge","badge-secondary","pr-2","mr-2"],["class","badge badge-secondary pr-2 mr-2"],[1,"stat"],[1,"stat-title"],[1,"stat-value"],[3,"metadata"],["class","flex items-center justify-center"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"form",2)(3,"label",3),O(4,"input",4),Qe(),p(5,"svg",5),O(6,"path",6),m()()()(),rt(),p(7,"div",7),Fr(8,oT,1,1,"app-project",61,iT,!1,sT,2,0,"div",62),gt(11,"paginate"),gt(12,"filter"),m(),Te(13,aT,3,1,"div",8),m(),p(14,"dialog",9,10)(16,"div",11),Te(17,lT,5,0,"div",12)(18,vT,2,1),p(19,"div",13)(20,"form",14)(21,"button",15),pe("click",function(){return o.closeModal()}),w(22,"Close"),m()()()()()),i&2&&(_(2),ee("formGroup",o.searchForm),_(6),Lr(Gn(11,4,Gn(12,7,o.projects,o.searchText),Cm(10,yT,o.pageNumber))),_(5),Pr(13,o.projects.length>0?13:-1),_(4),Pr(17,o.isLoading?17:18))},dependencies:[fy,c0,a0,l0,Pt,Ot,qn,ia,Wm,o0,n0,za,Qy,Ky,xf,Mf,s0,Pa,Iy,Ra],styles:['.bgg[_ngcontent-%COMP%]{background-image:url("./media/bg-4-TILS5NJC.webp");background-position:bottom right;background-repeat:no-repeat}']});let t=e;return t})();var h0=(()=>{let e=class e{constructor(){this.defaultImage="./assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-aboutus"]],standalone:!0,features:[ge],decls:34,vars:2,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"],["href","https://angular.io/","target","_blank",1,"link"],["href","https://tailwindcss.com/","target","_blank",1,"link"],["href","https://daisyui.com/","target","_blank",1,"link"],[1,"mt-3","mb-3"],[1,"mockup-browser","border","border-base-300"],[1,"mockup-browser-toolbar"],[1,"input","border","border-base-300"],[1,"community","w-full","flex","justify-center","px-4","py-16","border-t","border-base-300"],["href","https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds","target","_blank"],["alt","lebanon-stars-community-links",1,"mt-2","w-32","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"About Us!"),m(),p(4,"p"),w(5," We're successful developers and software engineers from Lebanon who invented a bunch of success repositories in a place filled with obstacles and economic crises! "),m(),p(6,"p")(7,"b"),w(8,"Lebanon Stars"),m(),w(9," is a simple project created by "),p(10,"a",3),w(11,"Ali Alachkar"),m(),w(12," and with the help of contributors using "),p(13,"a",4),w(14,"Angular 17"),m(),w(15,", "),p(16,"a",5),w(17,"Tailwind"),m(),w(18,", and "),p(19,"a",6),w(20,"DaisyUI"),m(),w(21,". The main purpose of the project was to add all the Lebanese repos to be viewed by other developers, university students, or even recruiters! "),m(),p(22,"p",7),w(23," You can join us in our "),p(24,"b"),w(25," Tech & Code"),m(),w(26," coummity. "),m(),p(27,"div",8)(28,"div",9)(29,"div",10),w(30,"https://chat.whatsapp.com/I6E9gk8Re1JDFuDkUfxxds"),m()(),p(31,"div",11)(32,"a",12),O(33,"img",13),m()()()()()),i&2&&(_(33),ee("defaultImage",o.defaultImage)("lazyLoad","assets/images/whatsapp-icon.webp"))},dependencies:[Pt,Ot],styles:['.community[_ngcontent-%COMP%]{background-image:url("./media/community-Y4EIT6CZ.webp");background-size:initial;opacity:.4}']});let t=e;return t})();var DT=(t,e)=>e.id;function wT(t,e){if(t&1&&(p(0,"div",4)(1,"a",5),O(2,"img",6),m()()),t&2){let r=e.$implicit,n=Q();Yt("data-tip",r.login),_(),Yt("href",r.html_url,Ri),_(),ee("defaultImage",n.defaultImage)("lazyLoad",r==null?null:r.avatar_url)}}var p0=(()=>{let e=class e{constructor(n){this._githubService=n,this.contributors=[],this.lebanonStar="AAVision/beSideYou",this.defaultImage="./assets/images/loader.gif",this._githubService.getGitHubContributors(this.lebanonStar).pipe(Cn(),R(i=>{this.contributors=i||[]}),Ee(i=>S([]))).subscribe()}};e.\u0275fac=function(i){return new(i||e)(A(Wa))},e.\u0275cmp=de({type:e,selectors:[["app-contributors"]],standalone:!0,features:[ge],decls:7,vars:0,consts:[[1,"w-full","border","border-solid","border-[#9a9a9a]","bg-slate-50","rounded-lg","object-cover","shadow-xl","z-50"],[1,"pt-3","w-11/12","mx-auto","lg:p-8","overflow-x-hidden"],[1,"mb-4","text-4xl","font-extrabold","leading-none","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-6","gap-6","lg:gap-4","sm:grid-cols-2","z-50","place-items-center"],[1,"tooltip"],["target","_blank",1,"cursor-pointer"],["alt","",1,"rounded-lg","transform-gpu","hover:scale-y-105","transition","duration-500",3,"defaultImage","lazyLoad"],["class","tooltip"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1",2),w(3,"Contributors!"),m(),p(4,"div",3),Fr(5,wT,3,4,"div",7,DT),m()()()),i&2&&(_(5),Lr(o.contributors))},dependencies:[Pt,Ot]});let t=e;return t})();var g0=[{path:"",title:"Home page",component:f0},{path:"about-us",title:"About Us",component:h0},{path:"contributors",title:"Contributors",component:p0}];var m0={providers:[ty(g0,lf(),sy()),iv(),pu(Pa.forRoot())]};var v0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-header"]],standalone:!0,features:[ge],decls:32,vars:0,consts:[[1,"navbar","bg-base-100"],[1,"navbar-start"],[1,"dropdown"],["tabindex","0","role","button","name","responsive-btn","aria-label","responsive-btn","id","responsive-btn",1,"btn","btn-ghost","lg:hidden"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-5","w-5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h8m-8 6h16"],["tabindex","0",1,"menu","menu-sm","dropdown-content","mt-3","z-[1]","p-2","shadow","bg-base-100","rounded-box","w-52"],["routerLink","","id","projects-main"],["routerLink","contributors","id","contributor-main"],["routerLink","about-us","id","about-us-main"],["name","lb-stars","aria-label","lb-stars","id","lb-stars",1,"btn","btn-ghost","text-xl"],[1,"navbar-center","hidden","lg:flex"],[1,"menu","menu-horizontal","px-1"],["routerLink","","id","projects-secondary"],["routerLink","contributors","id","contributor-secondary"],["routerLink","about-us","id","about-us-secondary"],[1,"navbar-end"],["name","github-link","aria-label","github-link","id","github-link","href","https://www.github.com/aavision/lebanon-stars","target","_blank",1,"btn","bg-transparent","border-0"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24"],["d","M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),Qe(),p(4,"svg",4),O(5,"path",5),m()(),rt(),p(6,"ul",6)(7,"li")(8,"a",7),w(9,"Projects"),m()(),p(10,"li")(11,"a",8),w(12,"Contributors"),m(),p(13,"a",9),w(14,"About Us"),m()()()(),p(15,"div",10),w(16,"Lebanon Stars "),m()(),p(17,"div",11)(18,"ul",12)(19,"li")(20,"a",13),w(21,"Projects"),m()(),p(22,"li")(23,"a",14),w(24,"Contributors"),m()(),p(25,"li")(26,"a",15),w(27,"About us"),m()()()(),p(28,"div",16)(29,"a",17),Qe(),p(30,"svg",18),O(31,"path",19),m()()()())},dependencies:[Ra,Jv]});let t=e;return t})();var y0=(()=>{let e=class e{constructor(){this.anio=new Date().getFullYear(),this.defaultImage="./assets/images/loader.gif"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-footer"]],standalone:!0,features:[ge],decls:8,vars:3,consts:[[1,"sticky","top-[100vh]"],[1,"footer","items-center","p-4","bg-slate-50"],[1,"items-center","grid-flow-col"],["alt","",3,"defaultImage","lazyLoad"],["href","https://lb.linkedin.com/in/ali-alachkar-47b48a190","target","_blank",1,"link"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"footer",1)(2,"aside",2),O(3,"img",3),p(4,"p"),w(5),p(6,"a",4),w(7,"Ali Alachkar"),m()()()()()),i&2&&(_(3),ee("defaultImage",o.defaultImage)("lazyLoad","assets/images/lebanon-footer.svg"),_(2),We("Copyright \xA9 ",o.anio," - All right reserved by "))},dependencies:[Pt,Ot]});let t=e;return t})();var D0=(()=>{let e=class e{constructor(){this.title="leabnon-stars"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=de({type:e,selectors:[["app-root"]],standalone:!0,features:[ge],decls:4,vars:0,consts:[[1,"pt-3","w-11/12","mx-auto","p-6","lg:p-8","overflow-x-hidden"]],template:function(i,o){i&1&&(O(0,"app-header"),p(1,"div",0),O(2,"router-outlet"),m(),O(3,"app-footer"))},dependencies:[ef,v0,y0]});let t=e;return t})();fv(D0,m0).catch(t=>console.error(t));