PageSourceSearch

https://www.pnphome.co.za/chunk-54BNWKYD.js

js pnphome.co.za collected 2026-10-03 21:45:57 UTC 5,607 bytes, 1 lines download raw bytes

1import{a as K}from"./chunk-SACT7SBB.js";import{b as z}from"./chunk-6QCVUFTY.js";import{a as J}from"./chunk-PX2X7JIB.js";import{a as G}from"./chunk-CVCO2TB7.js";import{a as q}from"./chunk-BJ6DKGPE.js";import{a as H}from"./chunk-HRH6ARC7.js";import"./chunk-HE6SPJF2.js";import"./chunk-E457NSCN.js";import{b as W}from"./chunk-QJ5AWP4N.js";import"./chunk-MLMGL4QO.js";import{c as $}from"./chunk-SA3FXKEZ.js";import{db as L,r as w}from"./chunk-VGJNR7UK.js";import"./chunk-XFDPYF6F.js";import{d as x,gd as V}from"./chunk-KXQ22SIX.js";import{A as U,H as B}from"./chunk-RC4AHRA5.js";import{W as T}from"./chunk-DDJWHZK7.js";import{A as D,Fc as A,Fd as C,Gd as R,Hc as v,J as O,Jc as f,Ld as F,Ma as i,N as S,Nc as s,Nd as j,Oc as c,Pc as l,Qc as u,Sb as P,Tb as r,Wa as d,Xa as g,Xc as I,cd as b,d as N,ed as p,hb as _,lc as M,qd as E,td as h,vd as k,wa as y}from"./chunk-VKCGIC6R.js";import"./chunk-2ZPGY3SD.js";var X=()=>["fal","user"],Y=e=>({name:e}),Z=()=>["fas","caret-down"];function tt(e,n){if(e&1&&u(0,"cx-navigation-ui",8),e&2){let t,o=p(2);s("@EnterLeave",void 0)("node",o.node())("flyout",!1)("ngClass",((t=o.cmsData())==null?null:t.styleClass)??"")}}function nt(e,n){if(e&1){let t=I();c(0,"button",0),b("click",function(a){d(t);let m=p();return g(m.toggleOpen(a))})("keydown.space",function(a){d(t);let m=p();return g(m.toggleOpen(a))}),c(1,"div",1),u(2,"ui-hover-icon",2),c(3,"div",3)(4,"span",4),h(5,"Account:"),l(),c(6,"div",5)(7,"span",6),h(8),F(9,"cxTranslate"),l()()()(),u(10,"fa-icon",7),l(),v(11,tt,1,4,"cx-navigation-ui",8)}if(e&2){let t=p();A("aria-expanded",t.toShowDropDown()),r(2),s("icon",C(10,X)),r(6),k(" ",j(9,7,"miniLogin.userGreeting",R(11,Y,n.firstName))," "),r(2),E("caret-icon-down",t.toShowDropDown()),s("icon",C(13,Z)),r(),f(t.toShowDropDown()?11:-1)}}var Q=class e{constructor(){this.userAccountFacade=i($);this.componentData=i(w);this.toShowDropDown=_(!1);this.nodeSubject$=new N;this.node=_({});this.user=x(this.userAccountFacade.get());this.cmsData=x(this.componentData.data$);this.isBrowser=i(H);this.router=i(B);this.navigationService=i(J);this.navigationData=i(w);this.navigationRestrictionSource=i(K);this.headerPopoversService=i(q)}ngOnInit(){this.subscribeOnRouterChange(),this.isBrowser&&this.initNodeDataUntilNodeFilled()}onDocumentClick(){this.toShowDropDown()&&this.toggleOpen(null,!1)}toggleOpen(n=null,t=null){this.toShowDropDown.update(o=>t??!o),this.headerPopoversService.isNavigationMenuPopoverOpened.set(this.toShowDropDown()),n?.stopPropagation()}initNodeDataUntilNodeFilled(){O(0,1e3).pipe(y(this.nodeSubject$),D(()=>{let n=this.navigationRestrictionSource.navigationRestrictionSource();return this.navigationService.getNavigationNode(this.componentData.data$,n)})).subscribe(n=>{this.node.set(n),this.nodeSubject$.next(n)})}subscribeOnRouterChange(){this.router.events.pipe(S(n=>n instanceof U)).subscribe(()=>{this.toShowDropDown()&&this.toggleOpen(null,!1)})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=M({type:e,selectors:[["ui-account-navigation"]],hostBindings:function(t,o){t&1&&b("click",function(){return o.onDocumentClick()},P)},standalone:!1,decls:1,vars:1,consts:[["role","button","aria-haspopup","true","aria-label","Open account navigation popup menu",1,"popup__button","hover-icon__parent",3,"click","keydown.space"],[1,"popup__button-row"],["size","sm",1,"user-icon",3,"icon"],[1,"popup__button-text-container"],[1,"popup__button-label"],[1,"popup__button-name"],[1,"name"],[1,"caret-icon",3,"icon"],["account-menu","",3,"node","flyout","ngClass"]],template:function(t,o){if(t&1&&v(0,nt,12,14),t&2){let a;f((a=o.user())?0:-1,a)}},dependencies:[T,L,W,G,V],styles:[".popup__button[_ngcontent-%COMP%]{position:relative;border:none;width:100%;padding:4px 10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;color:#2b2b2b;transition:.2s all;border-radius:6px;background-color:#f3f3f3}.popup__button[_ngcontent-%COMP%]:hover, .popup__button[_ngcontent-%COMP%]:focus-visible{background-color:var(--primary-theme-site-menu-button-hover-secondary);color:var(--primary-theme-site-button-text-hover-secondary)}.popup__button[_ngcontent-%COMP%]:hover   .user-icon[_ngcontent-%COMP%], .popup__button[_ngcontent-%COMP%]:focus-visible   .user-icon[_ngcontent-%COMP%]{font-weight:600}.popup__button[_ngcontent-%COMP%]:focus-visible{outline-offset:0;outline:auto #003359}.popup__button[_ngcontent-%COMP%]   .user-icon[_ngcontent-%COMP%]{width:21px;height:21px;
1display:flex;justify-content:center;align-items:center;color:inherit}.popup__button-row[_ngcontent-%COMP%]{display:flex;flex-direction:row}.popup__button-text-container[_ngcontent-%COMP%]{margin-left:8px;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;max-width:101px}@media(max-width:1024px){.popup__button-text-container[_ngcontent-%COMP%]{max-width:82px}}.popup__button-label[_ngcontent-%COMP%]{font-family:Open Sans;font-size:14px;font-weight:400;line-height:19px;letter-spacing:0;color:inherit}.popup__button-name[_ngcontent-%COMP%]{font-family:Open Sans;font-size:13px;font-weight:600;line-height:21px;letter-spacing:0;color:inherit;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.popup__button[_ngcontent-%COMP%]   .caret-icon[_ngcontent-%COMP%]{width:16px;height:16px;display:flex;justify-content:center;align-items:center;margin-left:8px;color:inherit;transition:.2s all}.popup__button[_ngcontent-%COMP%]   .caret-icon.caret-icon-down[_ngcontent-%COMP%]{transform:rotate(-180deg)}"],data:{animation:[z]},changeDetection:0})}};export{Q as AccountNavigationComponent};

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.