1import{b as L}from"./chunk-3K5VECUF.js";import{D as p,Jd as w,Nb as _,Ob as v,T as m,U as d,Xa as s,Xb as E,Yb as x,Zb as I,_ as u,ba as h,cc as a,da as r,fb as c,gc as A,hc as D,ib as C,ic as j,ma as g,r as l,sb as S,u as f,uc as b,xa as y}from"./chunk-BS5DNKJD.js";var o=new h("Seal Config ");var k=(()=>{class i{constructor(){this.sealConfig=r(o),this.accountAPI=r(L),this.isEnabled=this.sealConfig.enabled==="true"}getSupportedSeals(){let t=this.sealConfig.sealList.filter(e=>e.countryIsoCodes.length===0);return this.accountAPI.getAccountLocation().pipe(l(e=>e?this.sealConfig?.sealList.filter(n=>n.countryIsoCodes?.length>0?n.countryIsoCodes.includes(e.countryCode):!0):t),p(e=>e&&e.length>0))}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275prov=u({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var F=["*"];function P(i,M){if(i&1&&(E(0,"a",0),I(1,"img",1),x()),i&2){let t=A();a("href",t.imgLink,s),c(),a("src",t.imgSrc,s)}}var Y=(()=>{class i{constructor(){this._document=r(g),this.platformId=r(y),this._renderer2=r(C),this.sealService=r(k),this._isDestroyed=!1,this.imgSrc=null,this.imgLink=null}ngAfterViewInit(){this.sealService.isEnabled&&w(this.platformId)&&this.sealService.getSupportedSeals().pipe(m(()=>!this._isDestroyed),f(),d(t=>{if(t.url){let e=this._renderer2.createElement("script");e.type="text/javascript",e.src=`${t.url}`,this._renderer2.appendChild(this._document.body,e);return}if(t.asset?.type==="script"){let e=this._renderer2.createElement("script");e.type="text/javascript",e.src=`${t.asset.url}`,this._renderer2.appendChild(this._document.body,e);return}if(t.asset?.type==="image"){this.imgSrc=t.asset.src,this.imgLink=t.asset.link;return}})).subscribe()}ngOnDestroy(){this._isDestroyed=!0}get classes(){return{"seal-effigy":!0}}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=S({type:i,selectors:[["fx-seal-effigy"]],hostVars:2,hostBindings:function(e,n){e&2&&b(n.classes)},ngContentSelectors:F,decls:2,vars:1,consts:[[3,"href"],["alt","",3,"src"]],template:function(e,n){e&1&&(D(),j(0),_(1,P,2,2,"a",0)),e&2&&(c(),v(n.imgSrc?1:-1))},styles:[`.seal-effigy{display:flex;justify-content:center;align-items:center}.seal-effigy__antillephone{width:120px}.seal-effigy img{width:150px;height:85px} 2`],encapsulation:2,changeDetection:1})}}return i})();var te=i=>[{provide:o,useValue:i}];export{Y as a,te as b};
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.