PageSourceSearch

https://www.pnphome.co.za/chunk-Q6B5P5YP.js

js pnphome.co.za collected 2026-10-03 21:45:40 UTC 15,276 bytes, 1 lines download raw bytes

1import{a as oe}from"./chunk-KY37YEQC.js";import{a as ne}from"./chunk-TXTE6X5B.js";import"./chunk-LPRQ4IYJ.js";import{a as ie}from"./chunk-2EZFW2JP.js";import"./chunk-HSST7GW4.js";import{a as re}from"./chunk-3YZMG6MU.js";import"./chunk-63JSNVHU.js";import"./chunk-CVCO2TB7.js";import{a as te}from"./chunk-4CZ7HVBA.js";import"./chunk-A4ZZJHTC.js";import"./chunk-IX66ESAB.js";import"./chunk-EJFLYCWO.js";import"./chunk-NMMAPIEH.js";import{a as ee}from"./chunk-SK55644W.js";import"./chunk-RQ5QB5FP.js";import"./chunk-TYIBXJSS.js";import"./chunk-6HDEF4QX.js";import"./chunk-QGKISMWM.js";import{k as Z}from"./chunk-43DOVSCD.js";import"./chunk-D2EE26BO.js";import"./chunk-XQG2ZHDA.js";import"./chunk-QIZGHZGC.js";import"./chunk-HMRXYIUD.js";import"./chunk-BAT4WJFN.js";import"./chunk-PLMZCAVV.js";import"./chunk-BSLGRCY5.js";import"./chunk-VUERI27D.js";import"./chunk-6CQPCFUJ.js";import"./chunk-KOPZETE2.js";import{g as X}from"./chunk-VLOO5O7Z.js";import"./chunk-NB7D3KAH.js";import"./chunk-HRH6ARC7.js";import"./chunk-HE6SPJF2.js";import{e as V,r as _}from"./chunk-E457NSCN.js";import"./chunk-QJ5AWP4N.js";import"./chunk-GBVR3WUX.js";import"./chunk-MES46NTK.js";import"./chunk-SA3FXKEZ.js";import{la as K}from"./chunk-VGJNR7UK.js";import"./chunk-XFDPYF6F.js";import{Zc as G,gd as J,ob as Y}from"./chunk-KXQ22SIX.js";import"./chunk-RC4AHRA5.js";import{ha as Q,na as P}from"./chunk-DDJWHZK7.js";import{Ed as q,Fd as y,Gd as j,Hc as v,Jc as g,Ld as r,Ma as O,Md as a,N as A,Nb as N,Nc as x,Nd as W,Oc as o,Od as w,Pc as n,Qc as C,Tb as i,ed as u,ia as D,lc as L,n as B,pb as $,pc as U,qc as k,td as l,ud as f,va as F,vd as m,wd as H,xd as z,y as S,z as T}from"./chunk-VKCGIC6R.js";import"./chunk-2ZPGY3SD.js";var E=()=>["fal","edit"],le=()=>({cxRoute:"cart"}),pe=()=>({cxRoute:"cartDeliveryDetails"}),se=t=>({cxRoute:t});function me(t,s){t&1&&(o(0,"div",22),C(1,"ui-button-link",16),r(2,"cxTranslate"),r(3,"cxUrl"),n()),t&2&&(i(),x("icon",y(7,E))("text",a(2,3,"checkoutReview.editShippingMethod"))("href",a(3,5,y(8,pe))))}function ve(t,s){t&1&&(o(0,"div"),l(1),r(2,"cxTranslate"),n()),t&2&&(i(),f(a(2,1,"checkoutReview.deliverMethod")))}function ge(t,s){t&1&&(o(0,"div"),l(1),r(2,"cxTranslate"),n()),t&2&&(i(),f(a(2,1,"checkoutReview.collectionMethod")))}function ue(t,s){if(t&1&&(o(0,"div",18)(1,"div",19)(2,"span"),l(3),r(4,"cxTranslate"),n(),k(5,me,4,9,"div",20),n(),o(6,"div",10),v(7,ve,3,3,"div"),v(8,ge,3,3,"div"),n()(),o(9,"div",18),C(10,"cx-card",21),r(11,"async"),r(12,"async"),n()),t&2){let e=u(),d=u();i(3),m(" ",a(4,5,"checkoutReview.deliveryMethod")),i(2),x("cxFeatureLevel","1.1"),i(2),g((e==null||e.deliveryAddress==null?null:e.deliveryAddress.fulfilmentType)===d.fulfilmentTypeEnum.DELIVERY?7:-1),i(),g((e==null||e.deliveryAddress==null?null:e.deliveryAddress.fulfilmentType)===d.fulfilmentTypeEnum.COLLECTION?8:-1),i(2),x("content",a(12,9,d.getDeliveryAddressCard$(a(11,7,d.pnpDeliveryAddress$),s)))}}function xe(t,s){if(t&1&&(o(0,"div",22),C(1,"ui-button-link",16),r(2,"cxTranslate"),r(3,"cxUrl"),n()),t&2){let e=u(4);i(),x("icon",y(7,E))("text",a(2,3,"checkoutReview.editShippingMethod"))("href",a(3,5,j(8,se,e.getCheckoutStepUrlWithId("deliverySlot"))))}}function Ce(t,s){if(t&1&&(o(0,"div",23)(1,"div",8)(2,"div",19)(3,"span"),l(4),r(5,"cxTranslate"),n(),k(6,xe,4,10,"div",20),n(),o(7,"div",10),l(8),r(9,"date"),n()(),o(10,"div",8)(11,"div",9),l(12),r(13,"cxTranslate"),n(),o(14,"div",10),l(15),r(16,"cxTranslate"),r(17,"date"),r(18,"date"),n()()()),t&2){let e=u(2);i(4),f(a(5,7,"checkoutReview.reservationDay")),i(2),x("cxFeatureLevel","1.1"),i(2),m(" ",w(9,9,e.fulfilmentSlotReservation.fulfilmentSlot.startTime,"EEEE, d MMMM","+0200")," "),i(4),m(" ",a(13,13,"checkoutReview.reservationTime")," "),i(3),z(" ",a(16,15,"checkoutReview.reservationPeriod")," ",w(17,17,e.fulfilmentSlotReservation.fulfilmentSlot.startTime,"HH:mm","+0200")," - ",w(18,21,e.fulfilmentSlotReservation.fulfilmentSlot.endTime,"HH:mm","+0200")," ")}}function _e(t,s){if(t&1&&v(0,Ce,19,25,"div",23),t&2){let e=u();g(e.fulfilmentSlotReservation.fulfilmentSlot?0:-1)}}function he(t,s){if(t&1&&(o(0,"div",8)(1,"div",9),l(2),r(3,"cxTranslate"),n(),C(4,"div",24),r(5,"cmsInterpolateString"),n()),t&2){let e=u();i(2),m(" ",a(3,2,"checkoutReview.deliveryTime")," "),i(2),x("innerHTML",W(5,4,e==null?null:e.fulfilmentOption,e.fulfilmentOption.description),N)}}function fe(t,s){if(t&1&&(o(0,"div")(1,"div",8)(2,"div",9),l(3),r(4,"cxTranslate"),n(),o(5,"div",10),l(6),n()()()),t&2){let e=u();i(3),m(" ",a(4,2,"checkoutReview.deliveryInstructions")," "),i(3),m(" ",e.deliveryInstructions?e.deliveryInstructions:"---"," ")}}function ye(t,s){if(t&1&&(o(0,"div",9),l(1),r(2,"cxTranslate"),n(),o(3,"div",10),l(4),r(5,"cxTranslate"),n()),t&2){let e=u();i(),m(" ",a(2,3,"checkoutReview.packingNotes")," "),i(3),H(" ",a(5,5,"checkoutReview.shoppingBags")," ",e.shoppingBagPreference?"Yes":"No"," ")}}function Oe(t,s){if(t&1&&(o(0,"div",17),C(1,"ui-order-entry-list",25),n()),t&2){let e=s,d=u();i(),x("promotions",e.promotions)("entries",e.products)("hasHeader",!0)("siteMessages",d.productSiteMessageList)}}function we(t,s){if(t&1&&(o(0,"div",0)(1,"div",1)(2,"h1",2),l(3),r(4,"cxTranslate"),n(),o(5,"p",3),l(6),r(7,"cxTranslate"),n()(),o(8,"div",4)(9,"div",5)(10,"div",6),v(11,ue,13,11),n()(),C(12,"div",7),o(13,"div",5)(14,"div",6),v(15,_e,1,1),v(16,he,6,7,"div",8),o(17,"div",8)(18,"div",9),l(19),r(20,"cxTranslate"),n(),o(21,"div",10),l(22),n()(),v(23,fe,7,4,"div"),o(24,"div",8),v(25,ye,6,7),r(26,"async"),n()()()(),o(27,"div",11)(28,"div",12)(29,"div",13)(30,"span",14),l(31),r(32,"cxTranslate"),n(),o(33,"span"),l(34),n(),o(35,"span"),l(36),n()(),o(37,"div",15),C(38,"ui-button-link",16),r(39,"cxTranslate"),r(40,"cxUrl"),n()(),v(41,Oe,2,4,"div",17),r(42,"async"),n()()),t&2){let e,d,c=s,h=u();i(3),m(" ",a(4,16,"checkoutReview.review")," "),i(3),m(" ",a(7,18,"checkoutReview.headerMessage")," "),i(5),g((e=c.pointOfService)?11:-1,e),i(4),g(c.pointOfService!=null&&c.pointOfService.fulfilmentSlotReservationRequired&&c.fulfilmentSlotReservation?15:-1),i(),g(!(c.pointOfService!=null&&c.pointOfService.fulfilmentSlotReservationRequired)&&c.fulfilmentOption?16:-1),i(3),m(" ",a(20,20,"checkoutReview.cellphoneNumber")," "),i(3),f(c.mobileNumber),i(),g((c.pointOfService==null?null:c.pointOfService.type)===h.hubType?23:-1),i(2),g(a(26,22,h.isAllowShoppingBags$)?25:-1),i(6),f(a(32,24,"cartItems.cartTotal")),i(3),m("(",c.deliveryItemsQuantity,")"),i(2),f(c.totalPrice==null?null:c.totalPrice.formattedValue),i(2),x("icon",y(32,E))("text",a(39,26,"checkoutReview.edit
1Cart"))("href",a(40,28,y(33,le))),i(3),g((d=a(42,30,h.pnpEntries$))?41:-1,d)}}var ae=class t extends Z{constructor(){super(...arguments);this.pnpCheckoutConfigService=O(re);this.configService=O(X);this.cartDeliveryService=O(ee);this.hubType="HUB";this.fulfilmentTypeEnum=V;this.pnpEntries$=this.entries$.pipe(S(e=>{let[d,c]=oe(e);return{promotions:d,products:c}}))}ngOnInit(){this.setSiteShoppingPreferences()}get pnpCart$(){return this.cart$}get pnpDeliveryAddress$(){return T([this.checkoutDeliveryAddressFacade.getDeliveryAddressState(),this.cartDeliveryService.getDeliveryAddress$()]).pipe(F(([e,d])=>!_.isEmpty(d)&&!_.isNullOrUndefined(d)?this.cartDeliveryService.getDeliveryAddress$():this.checkoutDeliveryAddressFacade.getDeliveryAddressState()))}getCheckoutStepUrlWithId(e){return this.pnpCheckoutConfigService.getCheckoutStepWithId(e)?.routeName??""}getDeliveryAddressCard$(e,d){return T([this.translationService.translate("addressCard.shipTo"),this.translationService.translate("addressCard.collectFrom")]).pipe(S(c=>{let I=B(c,2),de=I[0],ce=I[1],M=de,p=e,R=_.isNullOrUndefined(p)?[]:[p.line1??"",p.line2??"",p.district??"",p.town??"",p.postalCode??""];!_.isNullOrUndefined(p)&&p.fulfilmentType==="COLLECTION"&&(M=ce,p=d.address);let b="";return!_.isNullOrUndefined(p)&&p.firstName&&p.lastName&&(b=`${p.firstName} ${p.lastName}`),!_.isNullOrUndefined(p)&&p.fulfilmentType==="COLLECTION"?{title:M,textBold:b,text:R}:{title:M,textBold:b,text:R}}))}setSiteShoppingPreferences(){this.pnpDeliveryAddress$.pipe(A(e=>!_.isNullOrUndefined(e)),D()).subscribe(e=>{e.fulfilmentType==="DELIVERY"?this.isAllowShoppingBags$=this.configService.isAllowShoppingBagsDelivery$():this.isAllowShoppingBags$=this.configService.isAllowShoppingBagsCollection$()})}static{this.\u0275fac=(()=>{let e;return function(c){return(e||(e=$(t)))(c||t)}})()}static{this.\u0275cmp=L({type:t,selectors:[["cms-order-review"]],standalone:!1,features:[q([P]),U],decls:2,vars:3,consts:[[1,"cx-review"],[1,"headings"],[1,"cx-review-title","d-md-block","d-lg-block","d-xl-block","checkout-review-header"],[1,"cx-review-title","d-md-block","d-lg-block","d-xl-block","checkout-review-wording"],[1,"cx-review-summary","row","col-xl-12"],[1,"cx-review-summary__section"],[1,"cx-review-summary-wrapper"],[1,"cx-review-summary__divider"],[1,"cx-review-summary-card","cx-review-card-shipping"],[1,"col-md-12","col-lg-6","delivery-method-header"],[1,"col-md-12","col-lg-6","delivery-method-wording"],[1,"cart-item-section"],[1,"cx-review-cart-total","row","col-lg-12","col-xl-12"],[1,"checkout-review-header","title-with-quantity"],[1,"title","title--small"],[1,"cx-review-cart-total-edit-step"],[3,"icon","text","href"],[1,"cx-review-cart-item","col-md-12"],[1,"cx-review-summary-card","cx-review-card-address"],[1,"col-md-12","col-lg-6","delivery-method-header","delivery-method-header__with-icon","pr-0"],["class","cx-review-summary-edit-step",4,"cxFeatureLevel"],["order-summary","",3,"content"],[1,"cx-review-summary-edit-step"],[1,"review-slot-information"],[1,"col-md-12","col-lg-6","delivery-method-wording",3,"innerHTML"],[3,"promotions","entries","hasHeader","siteMessages"]],template:function(d,c){if(d&1&&(v(0,we,43,34,"div",0),r(1,"async")),d&2){let h;g((h=a(1,1,c.pnpCart$))?0:-1,h)}},dependencies:[K,Y,ie,ne,Q,P,J,G,te],styles:['[_nghost-%COMP%]   .cx-review[_ngcontent-%COMP%]{display:grid;gap:24px}@media(max-width:1024px){[_nghost-%COMP%]   .cx-review[_ngcontent-%COMP%]{gap:20px}}[_nghost-%COMP%]   .headings[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;width:100%}@media(max-width:1024px){[_nghost-%COMP%]   .headings[_ngcontent-%COMP%]{width:auto;margin:0 16px}}[_nghost-%COMP%]   .checkout-review-header[_ngcontent-%COMP%]{padding:0!important;line-height:53px;font-size:24px;margin:0;color:#131313}[_nghost-%COMP%]   .checkout-review-header[_ngcontent-%COMP%]:not(h2){padding:24px 0 16px}@media(max-width:1024px){[_nghost-%COMP%]   .checkout-review-header[_ngcontent-%COMP%]{line-height:45px;padding:16px}[_nghost-%COMP%]   .checkout-review-header[_ngcontent-%COMP%]:not(h2){padding:16px}}[_nghost-%COMP%]   .checkout-review-wording[_ngcontent-%COMP%]{line-height:22px;color:#575757;font-size:16px;font-weight:400;margin:0}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;gap:16px;padding:8px;justify-content:space-between;margin:0;background-color:#fff;border:1px solid #cccccc;border-radius:3px}@media(max-width:1024px){[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]{border-radius:0;border-left:none;border-right:none}}@media(max-width:482px){[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]{border:none}}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .cx-review-summary-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .review-slot-information[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .cx-review-summary-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:empty, [_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .review-slot-information[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .cx-review-summary-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .delivery-method-header[_ngcontent-%COMP%]{line-height:22px;padding:0!important;font-weight:600;color:#3d3d3d;font-size:16px}@media(max-width:482px){[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .delivery-method-header[_ngcontent-%COMP%]{padding-bottom:0}}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .delivery-method-wording[_ngcontent-%COMP%]{line-height:22px;padding:0!important;font-size:16px;font-weight:400;color:#3d3d3d}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]     cx-card .card-body{padding:0}[_nghost-%COMP%]   .cx-review-summary-edit-step[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:#fff;padding:6px;color:#2b2b2b;text-decoration:none}[_nghost-%COMP%]   .cx-review-summary-edit-step[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Open Sans;font-weight:400;font-size:15px}[_nghost-%COMP%]   .cx-review-summary-edit-step[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{font-family:"Font Awesome 6 Pro"}[_nghost-%COMP%]   .cx-review-cart-item[_ngcontent-%COMP%]{padding:0}
1[_nghost-%COMP%]   .cart-item-section[_ngcontent-%COMP%]{display:grid;gap:8px}@media(max-width:1024px){[_nghost-%COMP%]   .cart-item-section[_ngcontent-%COMP%]{gap:20px}}[_nghost-%COMP%]   .cx-review-cart-total[_ngcontent-%COMP%]{height:53px;align-items:center;justify-content:space-between;padding:0;margin:0}@media(max-width:1024px){[_nghost-%COMP%]   .cx-review-cart-total[_ngcontent-%COMP%]{width:auto;margin:0 16px}}@media(max-width:482px){[_nghost-%COMP%]   .cx-review-cart-total[_ngcontent-%COMP%]{flex-wrap:nowrap}}[_nghost-%COMP%]   cx-card[order-summary][_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding:0}[_nghost-%COMP%]   cx-card[order-summary][_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .cx-card-title[_ngcontent-%COMP%]{font-weight:600;color:#3d3d3d;font-size:16px!important;padding-bottom:8px}[_nghost-%COMP%]   .cx-review-summary__divider[_ngcontent-%COMP%]{margin:16px 0;border:1px solid #dfdfdf}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .delivery-method-header__with-icon[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:space-between;max-width:unset;align-items:center;position:relative}[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]   .delivery-method-header__with-icon[_ngcontent-%COMP%]   .cx-review-summary-edit-step[_ngcontent-%COMP%]{position:absolute;right:0}[_nghost-%COMP%]   .cx-review-summary__section[_ngcontent-%COMP%]{padding:24px;width:100%}@media(max-width:768px){[_nghost-%COMP%]   .cx-review-summary[_ngcontent-%COMP%]{flex-direction:column}[_nghost-%COMP%]   .cx-review-summary__divider[_ngcontent-%COMP%]{margin:0 16px}}.edit-icon[_ngcontent-%COMP%]{color:#3875b3;display:flex;align-items:center;margin-right:5px;width:18px;height:18px}.edit-icon[_ngcontent-%COMP%]:before{content:"";width:15px;height:15px;color:#3875b3;background-color:#3875b3;display:inline-block;-webkit-mask-image:url(/assets/font-awesome/light/pen-to-sqare.svg);mask-image:url(/assets/font-awesome/light/pen-to-sqare.svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}'],changeDetection:0})}};export{ae as OrderReviewCmsComponent};

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.