1import{a as E}from"./chunk-S7F7OLAH.js";import{a as R}from"./chunk-2I2GVVAN.js";import{a as O}from"./chunk-LVVUFNNR.js";import{a as B}from"./chunk-P57OCQX4.js";import{b as T}from"./chunk-FPS3ELQB.js";import{a as N}from"./chunk-DBO3HF7Z.js";import{B as H}from"./chunk-BTVWNK7A.js";import{b as S,c as I,e as A}from"./chunk-FIUEVGI5.js";import{s as w}from"./chunk-BOP5C3HE.js";import{Zb as M}from"./chunk-X3TAGFMO.js";import{$c as l,Nb as b,Oc as P,Pb as y,Pc as C,Vb as r,Wb as a,Xb as m,_c as k,cc as v,eb as s,gc as c,ic as x,ja as o,oa as g,pa as f,tb as h,wc as d,xc as _,yc as D}from"./chunk-OTOHZXCG.js";import{f as u}from"./chunk-CB6SQN6W.js";function j(i,z){if(i&1){let e=v();r(0,"button",9),c("click",function(t){g(e);let p=x();return f(p.onDeleteClick(t))}),m(1,"bss-icon-trash",10),a()}}var ne=(()=>{class i{constructor(){this.title=l(""),this.description=l(""),this.parentPage=l(""),this.onDelete=k(),this.hidePrev=l(!1),this.skipDelete=l(!1),this.modalService=o(H),this.page=o(N),this.router=o(w),this.translate=o(S),this.commonStore=o(M)}ngOnInit(){}onOpenHelpModal(){let e=this.page.pageName;e&&this.modalService.create({title:this.translate.instant("info.whyImportant"),component:R,componentProps:{fileName:e},cssClass:"max-lg:!h-full max-lg:!w-full lg:!w-[540px] lg:!h-[600px]"})}onPrev(){return u(this,null,function*(){let e=this.parentPage();if(T.includes(e)){let n=this.page,t=n.bnum!==void 0?n.bnum:0;
1yield this.router.navigate(this.buildApplyRoute(e,t))}else yield this.router.navigate(this.buildApplyRoute(e))})}buildApplyRoute(...e){let t=this.commonStore.getModuleBaseUrl("apply").replace(/^\//,"").split("/").filter(Boolean),p=e.map(V=>`${V}`);return[...t,...p]}onDeleteClick(e){this.onDelete.emit(e)}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=h({type:i,selectors:[["bss-apply-detail-page-header"]],inputs:{title:[1,"title"],description:[1,"description"],parentPage:[1,"parentPage"],hidePrev:[1,"hidePrev"],skipDelete:[1,"skipDelete"]},outputs:{onDelete:"onDelete"},decls:13,vars:5,consts:[[1,"w-full"],[1,"grid","grid-cols-[auto_1fr_auto]","items-center","gap-2","px-4","lg:px-10","py-4","md:py-7","z-20"],["type","button",1,"flex","items-center","gap-0.5","text-primary","text-sm","md:text-lg","cursor-pointer",3,"click"],[1,"w-6","h-6"],[1,"hidden","sm:inline"],[1,"flex","items-center","justify-center","gap-1","min-w-0"],[1,"text-base","md:text-xl","font-semibold","tracking-tight","leading-none","truncate","py-2"],["type","button",1,"flex","items-center","gap-0.5","text-primary","px-2","cursor-pointer","xl:hidden","shrink-0",3,"click"],["type","button",1,"flex","items-center","gap-0.5","text-primary","cursor-pointer"],["type","button",1,"flex","items-center","gap-0.5","text-primary","cursor-pointer",3,"click"],[1,"w-5","h-5"]],template:function(n,t){n&1&&(r(0,"div",0)(1,"div",1)(2,"button",2),c("click",function(){return t.onPrev()}),m(3,"bss-icon-chevron-left",3),r(4,"span",4),d(5),P(6,"translate"),a()(),r(7,"div",5)(8,"h2",6),d(9),a(),r(10,"button",7),c("click",function(){return t.onOpenHelpModal()}),m(11,"bss-icon-info"),a()(),b(12,j,2,0,"button",8),a()()),n&2&&(s(5),_(C(6,3,"text.backbutton")),s(4),D(" ",t.title()," "),s(3),y(t.skipDelete()?-1:12))},dependencies:[B,O,E,A,I],styles:["[_nghost-%COMP%]{display:contents}"]})}}return i})();export{ne 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.