1import{a as Pe,b as Be,c as Ye,d as We}from"./chunk-7LI7HYQ2.js";import{b as Xe}from"./chunk-X77MG2EI.js";import{c as E}from"./chunk-CFMEKB3S.js";import{a as U}from"./chunk-YB3TUYCO.js";import{c as Ve,d as H,f as A,h as N,i as Q,k as Z}from"./chunk-YZMYBD63.js";import{a as je}from"./chunk-JM37VUPM.js";import{e as Fe}from"./chunk-IZSNBMUU.js";import{A as F,N as Oe,a as q,b as T,d as k,f as G,ga as K,k as $,m as Me,ra as j,sa as Ae}from"./chunk-QGFWFXTF.js";import{C as Se,F as R,a as ze,j as Te,k as Ee,m as Le,q as Re,r as ke}from"./chunk-KJY6N5PL.js";import{$b as C,Aa as se,Ab as pe,Bb as ge,Ca as re,Db as he,Fb as d,Ha as le,Ic as ve,Jc as xe,Kc as W,Lb as _e,Lc as De,Mb as fe,Mc as we,Nb as s,Ob as ue,Qb as ye,Rb as X,Yb as p,Zb as g,_b as M,ac as b,bc as O,cc as x,ea as B,f as _,fa as oe,hc as D,ic as l,ja as V,ka as ae,lb as r,nd as Ie,pb as de,qb as y,qc as w,rc as I,sb as ce,sc as z,wa as f,wc as Y,xa as u,xc as Ce,yc as be,zb as me}from"./chunk-JMQPEIEX.js";import{a as ne}from"./chunk-J4XOFOAH.js";var Ze=["mask"],qe=["content"],Ge=["footer"],$e=["titlebar"],Ke=(t,o,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":o,"pointer-events":e}),Ue=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),Je=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),et=(t,o)=>({transform:t,transition:o}),tt=t=>({value:"visible",params:t});function it(t,o){if(t&1){let e=x();p(0,"div",14),D("mousedown",function(i){f(e);let a=l(2);return u(a.initResize(i))}),g()}t&2&&s("ngClass","p-resizable-handle")}function nt(t,o){t&1&&O(0)}function ot(t,o){t&1&&M(0,"WindowMaximizeIcon")}function at(t,o){t&1&&M(0,"WindowMinimizeIcon")}function st(t,o){if(t&1&&(C(0),d(1,ot,1,0,"WindowMaximizeIcon",11)(2,at,1,0,"WindowMinimizeIcon",11),b()),t&2){let e=l(5);r(),s("ngIf",!e.maximized&&!e.maximizeIconTemplate),r(),s("ngIf",e.maximized&&!e.minimizeIconTemplate)}}function rt(t,o){}function lt(t,o){t&1&&d(0,rt,0,0,"ng-template")}function dt(t,o){if(t&1&&(C(0),d(1,lt,1,0,null,21),b()),t&2){let e=l(5);r(),s("ngTemplateOutlet",e.maximizeIconTemplate)}}function ct(t,o){}function mt(t,o){t&1&&d(0,ct,0,0,"ng-template")}function pt(t,o){if(t&1&&(C(0),d(1,mt,1,0,null,21),b()),t&2){let e=l(5);r(),s("ngTemplateOutlet",e.minimizeIconTemplate)}}function gt(t,o){if(t&1){let e=x();p(0,"p-button",20),D("onClick",function(){f(e);let i=l(4);return u(i.maximize())})("keydown.enter",function(){f(e);let i=l(4);return u(i.maximize())}),d(1,st,3,2,"ng-container",11)(2,dt,2,1,"ng-container",11)(3,pt,2,1,"ng-container",11),g()}if(t&2){let e=l(4);s("styleClass","p-dialog-maximize-button")("tabindex",e.maximizable?"0":"-1"),r(),s("ngIf",!e.maximizeIcon),r(),s("ngIf",!e.maximized),r(),s("ngIf",e.maximized)}}function ht(t,o){t&1&&(C(0),M(1,"TimesIcon"),b())}function _t(t,o){}function ft(t,o){t&1&&d(0,_t,0,0,"ng-template")}function ut(t,o){if(t&1&&(p(0,"span"),d(1,ft,1,0,null,21),g()),t&2){let e=l(5);r(),s("ngTemplateOutlet",e.closeIconTemplate)}}function yt(t,o){if(t&1){let e=x();p(0,"p-button",22),D("onClick",function(){f(e);let i=l(4);return u(i.hide())})("keydown.enter",function(){f(e);let i=l(4);return u(i.hide())}),d(1,ht,2,0,"ng-container",11)(2,ut,2,1,"span",11),g()}if(t&2){let e=l(4);s("styleClass","p-dialog-close-button")("ariaLabel",e.ddconfig.closeAriaLabel||e.defaultCloseAriaLabel),r(),s("ngIf",!e.closeIconTemplate),r(),s("ngIf",e.closeIconTemplate)}}function Ct(t,o){if(t&1&&(C(0),p(1,"span",16),Y(2),g(),p(3,"div",17),d(4,gt,4,5,"p-button",18)(5,yt,3,4,"p-button",19),g(),b()),t&2){let e=l(3);r(),s("ngClass","p-dialog-title")("id",e.ariaLabelledBy),r(),Ce(e.ddconfig.header),r(),s("ngClass","p-dialog-header-actions"),r(),s("ngIf",e.ddconfig.maximizable),r(),s("ngIf",e.closable)}}function bt(t,o){if(t&1){let e=x();p(0,"div",15,3),D("mousedown",function(i){f(e);let a=l(2);return u(a.initDrag(i))}),d(2,nt,1,0,"ng-container",12)(3,Ct,6,6,"ng-container",11),g()}if(t&2){let e=l(2);s("ngClass","p-dialog-header"),r(2),s("ngComponentOutlet",e.headerTemplate),r(),s("ngIf",!e.headerTemplate)}}function vt(t,o){}function xt(t,o){t&1&&d(0,vt,0,0,"ng-template",23)}function Dt(t,o){t&1&&O(0)}function wt(t,o){if(t&1&&(C(0),Y(1),b()),t&2){let e=l(3);r(),be(" ",e.ddconfig.footer," ")}}function It(t,o){t&1&&O(0)}
1function zt(t,o){if(t&1&&(p(0,"div",17,4),d(2,wt,2,1,"ng-container",11)(3,It,1,0,"ng-container",12),g()),t&2){let e=l(2);s("ngClass","p-dialog-footer"),r(2),s("ngIf",!e.footerTemplate),r(),s("ngComponentOutlet",e.footerTemplate)}}function Tt(t,o){if(t&1){let e=x();p(0,"div",7,1),D("@animation.start",function(i){f(e);let a=l();return u(a.onAnimationStart(i))})("@animation.done",function(i){f(e);let a=l();return u(a.onAnimationEnd(i))}),d(2,it,1,1,"div",8)(3,bt,4,3,"div",9),p(4,"div",10,2),d(6,xt,1,0,null,11)(7,Dt,1,0,"ng-container",12),g(),d(8,zt,4,3,"div",13),g()}if(t&2){let e=l();ye(e.ddconfig.style),X(e.ddconfig.styleClass),ue("width",e.ddconfig.width)("height",e.ddconfig.height),s("ngClass",W(22,Ue,e.maximizable&&e.maximized))("ngStyle",xe(24,Je))("@animation",W(28,tt,De(25,et,e.transformOptions,e.ddconfig.transitionOptions||"150ms cubic-bezier(0, 0, 0.2, 1)")))("pFocusTrapDisabled",e.ddconfig.focusTrap===!1),fe("aria-labelledby",e.ariaLabelledBy)("aria-modal",!0)("id",e.dialogId),r(2),s("ngIf",e.ddconfig.resizable),r(),s("ngIf",e.ddconfig.showHeader!==!1),r(),s("ngClass","p-dialog-content")("ngStyle",e.ddconfig.contentStyle),r(2),s("ngIf",!e.contentTemplate),r(),s("ngComponentOutlet",e.contentTemplate),r(),s("ngIf",e.ddconfig.footer||e.footerTemplate)}}var He=(()=>{class t{viewContainerRef;constructor(e){this.viewContainerRef=e}static \u0275fac=function(n){return new(n||t)(y(ce))};static \u0275dir=ge({type:t,selectors:[["","pDynamicDialogContent",""]]})}return t})(),Ne=(()=>{class t extends We{name="dialog";static \u0275fac=(()=>{let e;return function(i){return(e||(e=se(t)))(i||t)}})();static \u0275prov=B({token:t,factory:t.\u0275fac})}return t})();var P=class{data;inputValues;header;ariaLabelledBy;footer;width;height;closeOnEscape=!1;focusOnShow=!0;focusTrap=!0;baseZIndex;autoZIndex=!1;dismissableMask=!1;rtl=!1;style;contentStyle;styleClass;transitionOptions;closable=!1;showHeader=!1;modal=!1;maskStyleClass;resizable=!1;draggable=!1;keepInViewport=!1;minX;minY;maximizable=!1;maximizeIcon;minimizeIcon;position;closeAriaLabel;appendTo;duplicate=!1;breakpoints;templates},S=class{constructor(){}close(o){this._onClose.next(o),setTimeout(()=>{this._onClose.complete()},1e3)}destroy(){this._onDestroy.next(null)}dragStart(o){this._onDragStart.next(o)}dragEnd(o){this._onDragEnd.next(o)}resizeInit(o){this._onResizeInit.next(o)}resizeEnd(o){this._onResizeEnd.next(o)}maximize(o){this._onMaximize.next(o)}_onClose=new _;onClose=this._onClose.asObservable();_onDestroy=new _;onDestroy=this._onDestroy.asObservable();_onDragStart=new _;onDragStart=this._onDragStart.asObservable();_onDragEnd=new _;onDragEnd=this._onDragEnd.asObservable();_onResizeInit=new _;onResizeInit=this._onResizeInit.asObservable();_onResizeEnd=new _;onResizeEnd=this._onResizeEnd.asObservable();_onMaximize=new _;onMaximize=this._onMaximize.asObservable();onChildComponentLoaded=new _},Et=Q([A({transform:"{{transform}}",opacity:0}),H("{{transition}}",A({transform:"none",opacity:1}))]),Lt=Q([H("{{transition}}",A({transform:"{{transform}}",opacity:0}))]),Qe=(()=>{class t extends Fe{renderer;ddconfig;dialogRef;zone;parentDialog;visible=!0;componentRef;mask;resizing;dragging;maximized;_style={};originalStyle;lastPageX;lastPageY;ariaLabelledBy;id=K("pn_id_");styleElement;insertionPoint;maskViewChild;contentViewChild;footerViewChild;headerViewChild;childComponentType;inputValues;container;wrapper;documentKeydownListener;documentEscapeListener;maskClickListener;transformOptions="scale(0.7)";documentResizeListener;documentResizeEndListener;documentDragListener;documentDragEndListener;_componentStyle=ae(Ne);get minX(){return this.ddconfig.minX?this.ddconfig.minX:0}get minY(){return this.ddconfig.minY?this.ddconfig.minY:0}get keepInViewport(){return this.ddconfig.keepInViewport}get maximizable(){return this.ddconfig.maximizable}get maximizeIcon(){return this.ddconfig.maximizeIcon}get minimizeIcon(){return this.ddconfig.minimizeIcon}get closable(){return this.ddconfig.closable}get style(){return this._style}get position(){return this.ddconfig.position}get defaultCloseAriaLabel(){return this.config.getTranslation(Ae.ARIA).close}set style(e){e&&(this._style=ne({},e),this.originalStyle=e)}get parent(){let e=Array.from(this.document.getElementsByClassName("p-dialog"));if(e.length>1)return e.pop()}get parentContent(){let e=Array.from(this.document.getElementsByClassName("p-dialog"));if(e.length>0){let n=e[e.length-1].querySelector(".p-dialog-content");
1if(n)return Array.isArray(n)?n[0]:n}}get header(){return this.ddconfig.header}get data(){return this.ddconfig.data}get breakpoints(){return this.ddconfig.breakpoints}get footerTemplate(){return this.ddconfig?.templates?.footer}get headerTemplate(){return this.ddconfig?.templates?.header}get contentTemplate(){return this.ddconfig?.templates?.content}get minimizeIconTemplate(){return this.ddconfig?.templates?.minimizeicon}get maximizeIconTemplate(){return this.ddconfig?.templates?.maximizeicon}get closeIconTemplate(){return this.ddconfig?.templates?.closeicon}get maskClass(){let n=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(i=>i===this.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":this.ddconfig.modal||this.ddconfig.dismissableMask,[`p-dialog-${n}`]:n}}get dialogId(){return this.attrSelector}zIndexForLayering;constructor(e,n,i,a,h){super(),this.renderer=e,this.ddconfig=n,this.dialogRef=i,this.zone=a,this.parentDialog=h}ngOnInit(){super.ngOnInit(),this.breakpoints&&this.createStyle()}createStyle(){if(R(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let n in this.breakpoints)e+=` 2 @media screen and (max-width: ${n}) { 3 .p-dialog[id=${this.dialogId}]:not(.p-dialog-maximized) { 4 width: ${this.breakpoints[n]} !important; 5 } 6 } 7 `;this.renderer.setProperty(this.styleElement,"innerHTML",e),Oe(this.styleElement,"nonce",this.config?.csp()?.nonce)}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngAfterViewInit(){super.ngAfterViewInit(),this.loadChildComponent(this.childComponentType),this.ariaLabelledBy=this.getAriaLabelledBy(),this.cd.detectChanges()}getAriaLabelledBy(){let{header:e,showHeader:n}=this.ddconfig;return e===null||n===!1?null:K("pn_id_")+"_header"}loadChildComponent(e){let n=this.insertionPoint?.viewContainerRef;n?.clear(),this.componentRef=n?.createComponent(e),this.inputValues&&Object.entries(this.inputValues).forEach(([i,a])=>{this.componentRef.setInput(i,a)}),this.dialogRef.onChildComponentLoaded.next(this.componentRef.instance)}moveOnTop(){this.ddconfig.autoZIndex!==!1?(E.set("modal",this.container,(this.ddconfig.baseZIndex||0)+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1)):this.zIndexForLayering=E.generateZIndex("modal",(this.ddconfig.baseZIndex||0)+this.config.zIndex.modal)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container.parentElement,this.moveOnTop(),this.parent&&this.unbindGlobalListeners(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.ddconfig.modal!==!1&&this.enableModality(),this.ddconfig.focusOnShow!==!1&&this.focus();break;case"void":this.wrapper&&this.ddconfig.modal!==!1&&T(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){e.toState==="void"&&(this.parentContent&&this.focus(this.parentContent),this.onContainerDestroy(),this.dialogRef.destroy())}onContainerDestroy(){this.unbindGlobalListeners(),this.container&&this.ddconfig.autoZIndex!==!1&&E.clear(this.container),this.zIndexForLayering&&E.revertZIndex(this.zIndexForLayering),this.ddconfig.modal!==!1&&this.disableModality(),this.container=null}close(){this.visible=!1,this.cd.markForCheck()}hide(){this.dialogRef&&this.dialogRef.close()}enableModality(){this.ddconfig.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.hide()})),this.ddconfig.modal!==!1&&T(this.document.body,"p-overflow-hidden")}disableModality(){this.wrapper&&(this.ddconfig.dismissableMask&&this.unbindMaskClickListener(),this.ddconfig.modal!==!1&&k(this.document.body,"p-overflow-hidden"),this.cd.destroyed||this.cd.detectChanges())}focus(e=this.contentViewChild.nativeElement){let n=U.getFocusableElement(e,"[autofocus]");if(n){this.zone.runOutsideAngular(()=>{setTimeout(()=>n.focus(),5)});return}let i=U.getFocusableElement(e);i?this.zone.runOutsideAngular(()=>{setTimeout(()=>i.focus(),5)}
7):this.footerViewChild?this.focus(this.footerViewChild.nativeElement):!i&&this.headerViewChild&&this.focus(this.headerViewChild.nativeElement)}maximize(){this.maximized=!this.maximized,this.maximized?T(this.document.body,"p-overflow-hidden"):k(this.document.body,"p-overflow-hidden"),this.dialogRef.maximize({maximized:this.maximized})}initResize(e){this.ddconfig.resizable&&(this.documentResizeListener||this.bindDocumentResizeListeners(),this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,T(this.document.body,"p-unselectable-text"),this.dialogRef.resizeInit(e))}onResize(e){if(this.resizing){let n=e.pageX-this.lastPageX,i=e.pageY-this.lastPageY,a=$(this.container),h=F(this.container),v=F(this.contentViewChild.nativeElement),c=a+n,m=h+i,L=this.container.style.minWidth,ee=this.container.style.minHeight,te=this.container.getBoundingClientRect(),ie=G();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(c+=n,m+=i),(!L||c>parseInt(L))&&te.left+c<ie.width&&(this._style.width=c+"px",this.container.style.width=this._style.width),(!ee||m>parseInt(ee))&&te.top+m<ie.height&&(this.contentViewChild.nativeElement.style.height=v+m-h+"px",this._style.height&&(this._style.height=m+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,k(this.document.body,"p-unselectable-text"),this.dialogRef.resizeEnd(e))}initDrag(e){q(e.target,"p-dialog-header-icon")||q(e.target.parentElement,"p-dialog-header-icon")||this.ddconfig.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",T(this.document.body,"p-unselectable-text"),this.dialogRef.dragStart(e))}onDrag(e){if(this.dragging){let n=$(this.container),i=F(this.container),a=e.pageX-this.lastPageX,h=e.pageY-this.lastPageY,v=this.container.getBoundingClientRect(),c=v.left+a,m=v.top+h,L=G();this.container.style.position="fixed",this.keepInViewport?(c>=this.minX&&c+n<L.width&&(this._style.left=c+"px",this.lastPageX=e.pageX,this.container.style.left=c+"px"),m>=this.minY&&m+i<L.height&&(this._style.top=m+"px",this.lastPageY=e.pageY,this.container.style.top=m+"px")):(this.lastPageX=e.pageX,this.container.style.left=c+"px",this.lastPageY=e.pageY,this.container.style.top=m+"px")}}endDrag(e){this.dragging&&(this.dragging=!1,k(this.document.body,"p-unselectable-text"),this.dialogRef.dragEnd(e),this.cd.detectChanges())}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}bindDocumentDragListener(){R(this.platformId)&&this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document,"mousemove",this.onDrag.bind(this))})}bindDocumentDragEndListener(){R(this.platformId)&&this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragListener=null)}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentResizeListeners(){R(this.platformId)&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindGlobalListeners(){this.ddconfig.closeOnEscape!==!1&&this.bindDocumentEscapeListener(),this.ddconfig.resizable&&this.bindDocumentResizeListeners(),this.ddconfig.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener())}unbindGlobalListeners(){this.unbindDocumentEscapeListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener()}bindDocumentEscapeListener(){let e=this.maskViewChild?this.maskViewChild.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{if(n.which==27){let i=E.getCurrent();(parseInt(this.container.style.zIndex)==i||this.zIndexForLayering==i)&&this.hide()}})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}ngOnDestroy(){this.onContainerDestroy(),this.componentRef&&this.componentRef.destroy(),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=function(n){return new(n||t)(y(de),y(P),y(S),y(le),y(t,12))};static \u0275cmp=me({type:t,selectors:[["p-dynamicDialog"],["p-dynamicdialog"],["p-dynamic-dialog"]],viewQuery:function(n,i){if
7(n&1&&(w(He,5),w(Ze,5),w(qe,5),w(Ge,5),w($e,5)),n&2){let a;I(a=z())&&(i.insertionPoint=a.first),I(a=z())&&(i.maskViewChild=a.first),I(a=z())&&(i.contentViewChild=a.first),I(a=z())&&(i.footerViewChild=a.first),I(a=z())&&(i.headerViewChild=a.first)}},features:[ve([Ne]),he],decls:3,vars:9,consts:[["mask",""],["container",""],["content",""],["titlebar",""],["footer",""],[3,"ngStyle","ngClass"],["role","dialog","pFocusTrap","",3,"ngClass","ngStyle","style","class","pFocusTrapDisabled","width","height",4,"ngIf"],["role","dialog","pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],[4,"ngIf"],[4,"ngComponentOutlet"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"ngClass","id"],[3,"ngClass"],["rounded","","text","",3,"styleClass","tabindex","onClick","keydown.enter",4,"ngIf"],["rounded","","text","","severity","secondary",3,"styleClass","ariaLabel","onClick","keydown.enter",4,"ngIf"],["rounded","","text","",3,"onClick","keydown.enter","styleClass","tabindex"],[4,"ngTemplateOutlet"],["rounded","","text","","severity","secondary",3,"onClick","keydown.enter","styleClass","ariaLabel"],["pDynamicDialogContent",""]],template:function(n,i){n&1&&(p(0,"div",5,0),d(2,Tt,9,30,"div",6),g()),n&2&&(X(i.ddconfig.maskStyleClass),s("ngStyle",we(5,Ke,i.position==="left"||i.position==="topleft"||i.position==="bottomleft"?"flex-start":i.position==="right"||i.position==="topright"||i.position==="bottomright"?"flex-end":"center",i.position==="top"||i.position==="topleft"||i.position==="topright"?"flex-start":i.position==="bottom"||i.position==="bottomleft"||i.position==="bottomright"?"flex-end":"center",i.ddconfig.modal?"auto":"none"))("ngClass",i.maskClass),r(2),s("ngIf",i.visible))},dependencies:[Se,Te,Ee,Le,ke,Re,j,He,Pe,Be,je,Xe,Ye],encapsulation:2,data:{animation:[Ve("animation",[N("void => visible",[Z(Et)]),N("visible => void",[Z(Lt)])])]}})}return t})(),ii=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=pe({type:t});static \u0275inj=oe({imports:[Qe,j,j]})}return t})(),J=class{_parentInjector;_additionalTokens;constructor(o,e){this._parentInjector=o,this._additionalTokens=e}get(o,e,n){let i=this._additionalTokens.get(o);return i||this._parentInjector.get(o,e)}},ni=(()=>{class t{appRef;injector;document;dialogComponentRefMap=new Map;constructor(e,n,i){this.appRef=e,this.injector=n,this.document=i}open(e,n){if(!this.duplicationPermission(e,n))return null;let i=this.appendDialogComponentToBody(n,e);return this.dialogComponentRefMap.get(i).instance.childComponentType=e,this.dialogComponentRefMap.get(i).instance.inputValues=n.inputValues,i}getInstance(e){return this.dialogComponentRefMap.get(e).instance}appendDialogComponentToBody(e,n){let i=new WeakMap;i.set(P,e);let a=new S;i.set(S,a);let h=a.onClose.subscribe(()=>{this.dialogComponentRefMap.get(a).instance.close()}),v=a.onDestroy.subscribe(()=>{this.removeDialogComponentFromBody(a),v.unsubscribe(),h.unsubscribe()}),c=Ie(Qe,{environmentInjector:this.appRef.injector,elementInjector:new J(this.injector,i)});this.appRef.attachView(c.hostView);let m=c.hostView.rootNodes[0];return!e.appendTo||e.appendTo==="body"?this.document.body.appendChild(m):Me(e.appendTo,m),this.dialogComponentRefMap.set(a,c),a}removeDialogComponentFromBody(e){if(!e||!this.dialogComponentRefMap.has(e))return;let n=this.dialogComponentRefMap.get(e);this.appRef.detachView(n.hostView),n.destroy(),n.changeDetectorRef.detectChanges(),this.dialogComponentRefMap.delete(e)}duplicationPermission(e,n){if(n.duplicate)return!0;let i=!0;for(let[a,h]of this.dialogComponentRefMap)if(h.instance.childComponentType===e){i=!1;break}return i}static \u0275fac=function(n){return new(n||t)(V(_e),V(re),V(ze))};static \u0275prov=B({token:t,factory:t.\u0275fac})}return t})();export{P as a,S as b,ii as c,ni as d};
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.