PageSourceSearch

https://portal.privacypillar.com/default-node_modules_primeng___iv…rimeng-dynamicdialog_js.dbc924f801254f97.js

js privacypillar.com collected 2026-09-24 09:07:49 UTC 10,530 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["default-node_modules_primeng___ivy_ngcc___fesm2015_primeng-dynamicdialog_js"],{90717:(F,y,c)=>{c.d(y,{E7:()=>p,S:()=>m,xA:()=>K});var a=c(37340),d=c(36895),r=c(98606),h=c(8929),e=c(94650);const D=["mask"];function v(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){e.CHM(t);const i=e.oxw(3);return e.KtG(i.hide())})("keydown.enter",function(){e.CHM(t);const i=e.oxw(3);return e.KtG(i.hide())}),e._UZ(1,"span",13),e.qZA()}2&n&&e.Q6J("ngClass","p-dialog-header-icon p-dialog-header-maximize p-link")}function C(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"span",9),e._uU(2),e.qZA(),e.TgZ(3,"div",10),e.YNc(4,v,2,1,"button",11),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Oqu(t.config.header),e.xp6(2),e.Q6J("ngIf",!1!==t.config.closable)}}function b(n,s){}function w(n,s){if(1&n&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.config.footer," ")}}const x=function(n){return{"p-dialog p-dynamic-dialog p-component":!0,"p-dialog-rtl":n}},k=function(n,s){return{transform:n,transition:s}},M=function(n){return{value:"visible",params:n}};function E(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",3),e.NdJ("@animation.start",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onAnimationStart(i))})("@animation.done",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.onAnimationEnd(i))}),e.YNc(1,C,5,2,"div",4),e.TgZ(2,"div",5),e.YNc(3,b,0,0,"ng-template",6),e.qZA(),e.YNc(4,w,2,1,"div",7),e.qZA()}if(2&n){const t=e.oxw();e.Tol(t.config.styleClass),e.Udp("width",t.config.width)("height",t.config.height),e.Q6J("ngClass",e.VKq(12,x,t.config.rtl))("ngStyle",t.config.style)("@animation",e.VKq(17,M,e.WLB(14,k,t.transformOptions,t.config.transitionOptions||"150ms cubic-bezier(0, 0, 0.2, 1)"))),e.xp6(1),e.Q6J("ngIf",!1!==t.config.showHeader),e.xp6(1),e.Q6J("ngStyle",t.config.contentStyle),e.xp6(2),e.Q6J("ngIf",t.config.footer)}}const L=function(n){return{"p-dialog-mask":!0,"p-component-overlay p-dialog-mask-scrollblocker":n}};let u=(()=>{class n{constructor(t){this.viewContainerRef=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.s_b))},n.\u0275dir=e.lG2({type:n,selectors:[["","pDynamicDialogContent",""]]}),n})();class m{}class p{constructor(){this._onClose=new h.xQ,this.onClose=this._onClose.asObservable(),this._onDestroy=new h.xQ,this.onDestroy=this._onDestroy.asObservable()}close(s){this._onClose.next(s)}destroy(){this._onDestroy.next()}}const R=(0,a.oQ)([(0,a.oB)({transform:"{{transform}}",opacity:0}),(0,a.jt)("{{transition}}",(0,a.oB)({transform:"none",opacity:1}))]),T=(0,a.oQ)([(0,a.jt)("{{transition}}",(0,a.oB)({transform:"{{transform}}",opacity:0}))]);let I=(()=>{class n{constructor(t,o,i,l,f,_){this.componentFactoryResolver=t,this.cd=o,this.renderer=i,this.config=l,this.dialogRef=f,this.zone=_,this.visible=!0,this.transformOptions="scale(0.7)"}ngAfterViewInit(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()}loadChildComponent(t){let o=this.componentFactoryResolver.resolveComponentFactory(t),i=this.insertionPoint.viewContainerRef;i.clear(),this.componentRef=i.createComponent(o)}moveOnTop(){if(!1!==this.config.autoZIndex){const t=(this.config.baseZIndex||0)+ ++r.p.zindex;this.container.style.zIndex=String(t),this.maskViewChild.nativeElement.style.zIndex=String(t-1)}}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container.parentElement,this.moveOnTop(),this.bindGlobalListeners(),!1!==this.config.modal&&this.enableModality(),this.focus();break;case"void":this.onContainerDestroy()}}onAnimationEnd(t){"void"===t.toState&&this.dialogRef.destroy()}onContainerDestroy(){this.unbindGlobalListeners(),!1!==this.config.modal&&this.disableModality(),this.container=null}close(){this.visible=!1,this.cd.markForCheck()}hide(){this.dialogRef&&this.dialogRef.close()}enableModality(){!1!==this.config.closable&&this.config.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.hide()})),!1!==this.config.modal&&r.p.addClass(document.body,"p-overflow-hidden")}disableModality(){this.wrapper&&(this.config.dismissableMask&&this.unbindMaskClickListener(),!1!==this.config.modal&&r.p.removeClass(document.body,"p-overflow-hidden"),this.cd.destroyed||this.cd.detectChanges())}onKeydown(t){if(9===t.which){t.preventDefault();let o=r.p.getFocusableElements(this.container);if(o&&o.length>0)if(o[0].ownerDocument.activeElement){let i=o.indexOf(o[0].ownerDocument.activeElement);t.shiftKey?-1==i||0===i?o[o.length-1].focus():o[i-1].focus():-1==i||i===o.length-1?o[0].focus():o[i+1].focus()}else o[0].focus()}}focus(){let t=r.p.findSingle(this.container,"[autofocus]");t&&this.zone.runOutsideAngular(()=>{setTimeout(()=>t.focus(),5)})}bindGlobalListeners(){this.bindDocumentKeydownListener(),!1!==this.config.closeOnEscape&&!1!==this.config.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentKeydownListener(),this.unbindDocumentEscapeListener()}bindDocumentKeydownListener(){this.zone.runOutsideAngular(()=>{this.documentKeydownListener=this.onKeydown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener)})}unbindDocumentKeydownListener(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.maskViewChild?this.maskViewChild.nativeElement.ownerDocument:"document","keydown",o=>{27==o.which&&parseInt(this.container.style.zIndex)==r.p.zindex+(this.config.baseZIndex?this.config.baseZIndex:0)&&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()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e._Vd),e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(m),e.Y36(p),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["p-dynamicDialog"]],viewQuery:function(t,o){if(1&t&&(e.Gf(u,5),e.Gf(D,5)),2&t){let i;e.iGM(i=e.CRH())&&(o.insertionPoint=i.first),e.iGM(i=e.CRH())&&(o.maskViewChild=i.first)}},decls:3,vars:4,consts:[[3,"ngClass"],["mask",""],["role","dialog",3,"ngClass","ngStyle","class","width","height",4,"ngIf"],["role","dialog",3,"ngClass","ngStyle"],["class","p-dialog-header",4,"ngIf"],[1,"p-dialog-content",3,"ngStyle"],["pDynamicDialogContent",""],["class","p-dialog-footer",4,"ngIf"],[1,"p-dialog-header"],[1,"p-dialog-title"],[1,"p-dialog-header-icons"],["type","button",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button",3,"ngClass","click","keydown.enter"],[1,"p-dialog-header-close-icon","pi","pi-times"],[1,"p-dialog-footer"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0,1),e.YNc(2,E,5,19,"div",2),e.qZA()),2&t&&(e.Q6J("ngClass",e.VKq(2,L,!1!==o.config.modal)),e.xp6(2),e.Q6J("ngIf",o.visible))},dependencies:[d.mk,d.O5,d.PC,u],styles:[".p-dialog-mask{align-items:center;background-color:transparent;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:fixed;top:0;transition-property:background-color;width:100%}.p-dialog,.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;max-height:90%;position:relative;transform:scale(1)}.p-dialog-content{overflow-y:auto}.p-dialog-header{align-items:center;display:flex;flex-shrink:0;justify-content:space-between}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{align-items:center;display:flex}.p-dialog .p-dialog-header-icon{align-items:center;display:flex;justify-content:center;overflow:hidden;position:relative}.p-dialog-mask.p-dialog-mask-leave{background-color:transparent}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-top .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{height:100%;left:0!important;max-height:100%;top:0!important;transform:none;transition:none;width:100vw!important}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top,.p-dialog-top-left{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start}.p-dialog-top-right{align-items:flex-start;justify-content:flex-end}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{align-items:flex-end;justify-content:flex-start}.p-dialog-bottom-right{align-items:flex-end;justify-content:flex-end}.p-dialog .p-resizable-handle{bottom:1px;cursor:se-resize;display:block;font-size:.1px;height:12px;position:absolute;right:1px;width:12px}.p-confirm-dialog .p-dialog-content{align-items:center;display:flex}"],encapsulation:2,data:{animation:[(0,a.X$)("animation",[(0,a.eR)("void => visible",[(0,a._7)(R)]),(0,a.eR)("visible => void",[(0,a._7)(T)])])]}}),n})();class O{constructor(s,t){this._parentInjector=s,this._additionalTokens=t}get(s,t,o){return this._additionalTokens.get(s)||this._parentInjector.get(s,t)}}let K=(()=>{class n{constructor(t,o,i){this.componentFactoryResolver=t,this.appRef=o,this.injector=i,this.dialogComponentRefMap=new Map}open(t,o){const i=this.appendDialogComponentToBody(o);return this.dialogComponentRefMap.get(i).instance.childComponentType=t,i}appendDialogComponentToBody(t){const o=new WeakMap;o.set(m,t);const i=new p;o.set(p,i);const l=i.onClose.subscribe(()=>{this.dialogComponentRefMap.get(i).instance.close()}),f=i.onDestroy.subscribe(()=>{this.removeDialogComponentFromBody(i),f.unsubscribe(),l.unsubscribe()}
1),g=this.componentFactoryResolver.resolveComponentFactory(I).create(new O(this.injector,o));return this.appRef.attachView(g.hostView),document.body.appendChild(g.hostView.rootNodes[0]),this.dialogComponentRefMap.set(i,g),i}removeDialogComponentFromBody(t){if(!t||!this.dialogComponentRefMap.has(t))return;const o=this.dialogComponentRefMap.get(t);this.appRef.detachView(o.hostView),o.destroy(),this.dialogComponentRefMap.delete(t)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(e.zs3))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})()}}]);

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.