1import{ea as c}from"./chunk-V43IFE66.js";import"./chunk-XOVS2SB5.js";import{Nf as u,Sa as i,Xb as o,bc as a,lb as m}from"./chunk-ECJ5WCSC.js";import"./chunk-QLDVK2EQ.js";var p=class s{constructor(t,n,e){this._document=t;this.platformId=n;this.cmsComponentData=e}ngOnInit(){u(this.platformId)&&this.submitTrustmarkForm()}submitTrustmarkForm(){this.subscription=this.cmsComponentData.data$.subscribe(t=>{if(t){let n=[{name:"cert",value:t?.certValue},{name:"http",value:t?.httpValue},{name:"host",value:t?.hostValue}],e=this._document.createElement("form"),l=t?.urlValue;e.setAttribute("method","post"),e.setAttribute("action",l),n.forEach(({name:f,value:b})=>{let r=this._document.createElement("input");r.setAttribute("type","hidden"),r.setAttribute("name",f),r.setAttribute("value",b),e.appendChild(r)}),this._document.body.appendChild(e),e.submit()}})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static{this.\u0275fac=function(n){return new(n||s)(o(i),o(m),o(c))}}static{this.\u0275cmp=a({type:s,selectors:[["ung-trustmark"]],decls:0,vars:0,template:function(n,e){},encapsulation:2})}};export{p as UngTrustmarkComponent};
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.