1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="751fab1d-c447-437b-8a9e-a8c13f755990",e._sentryDebugIdIdentifier="sentry-dbid-751fab1d-c447-437b-8a9e-a8c13f755990")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2867],{6715:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/purchase/additional",function(){return n(790)}])},790:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return me}});var r=n(5893),s=n(7294),i=n(7533),t=n(3879),o=n(4105),l=n(730),d=n(6418),c=n(2331),u=n(3887),h=n(4114),f=n(2550),m=n(2413),v=function(e){var a=e.namePrefix,n=e.personalData,s=e.onVulnerabilityChange,i=e.onVulnerabilityNotesChange;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Z,{namePrefix:a,personalData:n,onVulnerabilityChange:s,onVulnerabilityNotesChange:i}),(0,r.jsx)("p",{className:"mb-5 text-sm",children:"Once you have submitted your details for payment of a funeral plan, we will process your personal information to confirm your identity before we provide the funeral plan. This will include carrying out fraud and/or money laundering checks at the point of sale."}),(0,r.jsxs)("p",{className:"mb-5 text-sm",children:["Your personal information will be shared with Credit Referencing Agencies and Registered Fraud Prevention Agencies; however, this will not affect your credit score."," "]}),(0,r.jsxs)("p",{className:"mb-5 text-sm",children:["For further information on how we use and share your information, please see our Privacy Policy at"," ",(0,r.jsx)("a",{href:"www.dignityfunerals.co.uk/privacy-policy",children:"www.dignityfunerals.co.uk/privacy-policy"})," ","or request a written copy on"," ",(0,r.jsx)("a",{href:"tel:08008048056",children:"0800 804 8056"}),"."]})]})},x=n(9158),p=n(8880),y=n(1192),j=n(8773),g=n(9972),b=n(5054);var P=function(e){var a=e.namePrefix,n=e.personalData,s=e.onChange,i=g.T.isCoveredPersonAwareOfPlan(a);return(0,r.jsx)(y.Z,{name:i,options:b.Z.options,className:"mb-5",headingSize:j.od.h6,title:"Is the covered individual aware they have a plan?",onChange:function(e){var a,n,r;s((a={},n=j.WR.isCoveredPersonAwareOfPlan,r=b.Z.checkIsYes(e.target.value),n in a?Object.defineProperty(a,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[n]=r,a))},selected:b.Z.getTextValueFromBoolean(null===n||void 0===n?void 0:n.isCoveredPersonAwareOfPlan),isRequired:!0})},Z=n(5485),w=n(4480);function C(e,a){(null==a||a>e.length)&&(a=e.length);for(var n=0,r=new Array(a);n<a;n++)r[n]=e[n];return r}function N(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,a){if(!e)return;if("string"===typeof e)return C(e,a);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,a)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A=function(e){var a,n=e.namePrefix,s=e.personalData,i=e.onChange,o=(0,w.sJ)(t.iP),d=o?[j.n3].concat(N(o.relationships)):[],c=g.T.relationshipWithCustomer(n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{as:"h3",size:j.aK.h4b,className:"mb-5",children:"Relationship to you"}),(0,r.jsx)(Z.Z,{id:c,name:c,options:d,onChange:function(e){var a,n,r;i((a={},n=j.WR.relationshipWithCustomer,r=e.target.value,n in a?Object.defineProperty(a,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[n]=r,a))},selected:null!==(a=null===s||void 0===s?void 0:s.relationshipWithCustomer)&&void 0!==a?a:"",isRequired:!0})]})},D=n(3129),S=n(8282),T=n(7536);function V(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}var z=function(e){var a=e.namePrefix,n=e.personalData,i=e.showLabel,t=void 0!==i&&i,o=e.onChange,d=(0,s.use
1State)(!1),c=d[0],u=d[1],h=(0,T.Gc)(),f=h.trigger,m=h.setValue,v=b.Z.getTextValueFromBoolean(null===n||void 0===n?void 0:n.isSameAddressAsCustomer),x=g.T.isSameAddressAsCustomer(a),p=function(e){(0,S.X)(a,e,m,f),o(e,j.WR.address)};return(0,r.jsxs)("div",{children:[(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"mb-5",required:!0,children:"Address"}),(0,r.jsx)("p",{className:"mb-5",children:"Is the address the same as the individual purchasing the plan?"}),(0,r.jsx)(y.Z,{name:x,options:b.Z.options,className:"mb-5",onChange:function(e){var a;u(b.Z.checkIsNo(e.target.value)),o((V(a={},j.WR.isSameAddressAsCustomer,b.Z.checkIsYes(e.target.value)),V(a,j.WR.address,null),a))},selected:v}),(c||(null===n||void 0===n?void 0:n.address))&&(0,r.jsx)(D.Z,{namePrefix:a,selectedAddress:null===n||void 0===n?void 0:n.address,onManualChange:p,onSelectedAddress:p,showLabel:t})]})},R=n(1977),F=n(2900),I=n(3150),_=n(1139),k=n(4028),O=n(3115),B=n.n(O);function E(){var e=j.xA.coveredPerson,a=(0,I.Z)(e),n=a.setPersonalData,s=a.resetPersonalData,i=(0,_.Z)(e),t=(0,I.Z)(j.Pz.showCoveredPersonForm).setPersonalData,o=(0,_.Z)(j.Pz.showCoveredPersonForm),d=g.T.showPersonalDetailsForm(e);return(0,r.jsxs)(F.Z,{headingTitle:"Covered Individual",children:[(0,r.jsx)(l.Z,{as:"p",size:j.aK.size4b,className:"mb-5",required:!0,children:"Are you purchasing this plan for someone other than yourself?"}),(0,r.jsx)(y.Z,{name:d,options:b.Z.options,onChange:function(e){t(b.Z.checkIsYes(e.target.value)),s()},selected:b.Z.getTextValueFromBoolean(o),isRequired:!0}),o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"".concat(B().heading," border-t pt-6"),children:"About the covered individual"}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(P,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("small",{className:"block mb-10",children:"The covered individual will receive a copy of the plan in the post"}),(0,r.jsx)(l.Z,{as:"h2",size:j.aK.h4b,className:"mb-5",children:"About the covered individual"}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(R.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsxs)("div",{className:k.y.row,children:[(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(x.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(p.Z,{namePrefix:e,personalData:i,onChange:n})})]}),(0,r.jsx)(f.Z,{namePrefix:e,personalData:i,onChange:n}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(A,{namePrefix:e,personalData:i,onChange:n})})}),(null===i||void 0===i?void 0:i.isCoveredPersonAwareOfPlan)&&(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(z,{namePrefix:e,personalData:i,showLabel:!0,onChange:n})}),(null===i||void 0===i?void 0:i.isCoveredPersonAwareOfPlan)&&(0,r.jsx)("div",{className:"mb-10",children:(0,r.jsx)(h.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)(v,{namePrefix:e,personalData:i,onVulnerabilityChange:n,onVulnerabilityNotesChange:n})]})]})}var K=n(1950),W=n(2688),M=n(1033),q=n(437);function U(){var e=j.xA.nominatedRepresentative,a=(0,I.Z)(e),n=a.setPersonalData,s=a.resetPersonalData,i=(0,_.Z)(e),t=(0,I.Z)(j.Pz.showNominatedRepresentativeForm).setPersonalData,o=(0,_.Z)(j.Pz.showNominatedRepresentativeForm),d=g.T.showPersonalDetailsForm(e);return(0,r.jsxs)(F.Z,{headingTitle:"Nominated representative",children:[(0,r.jsx)(l.Z,{as:"p",size:j.aK.size4b,className:"mb-5",required:!0,children:"Would you like to add someone to act on your behalf to carry out your wishes?"}),(0,r.jsx)(y.Z,{name:d,options:b.Z.options,onChange:function(e){t(b.Z.checkIsYes(e.target.value)),s()},selected:b.Z.getTextValueFromBoolean(o),isRequired:!0}),o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"".concat(B().heading," border-t pt-6"),children:"About the nominated representative"}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(R.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsxs)("div",{className:k.y.row,children:[(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(x.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(p.Z,{namePrefix:e,personalData:i,onChange:n})})]}),(0,r.jsx)(f.Z,{namePrefix:e,personalData:i,onChange:n}),(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"mb-4",children:"Contact Details"}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(M.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(W.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(K.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)(h.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)(q.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)(v,{namePrefix:e,personalData:i,onVulnerabilityChange:n,onVulnerabilityNotesChange:n})]})]})}function Y(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}var L=function(e){var a=e.namePrefix,n=e.personalData,i=e.showLabel,t=void 0!==i&&i,o=e.onChange,d=(0,s.use
1State)(!1),c=d[0],u=d[1],h=(0,T.Gc)(),f=h.trigger,m=h.setValue,v=g.T.isSameBillingAddressAsCustomer(a),x=function(e){(0,S.X)(j.bd,e,m,f),o(e,j.WR.billingAddress)};return(0,r.jsxs)("div",{children:[(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"mb-5",required:!0,children:"Billing Address"}),(0,r.jsx)("p",{className:"mb-5",children:"Is the billing address the same as the individual purchasing the plan?"}),(0,r.jsx)(y.Z,{name:v,options:b.Z.options,onChange:function(e){var a;u(b.Z.checkIsNo(e.target.value)),o((Y(a={},j.WR.isSameBillingAddressAsCustomer,b.Z.checkIsYes(e.target.value)),Y(a,j.WR.billingAddress,null),a))},selected:b.Z.getTextValueFromBoolean(null===n||void 0===n?void 0:n.isSameBillingAddressAsCustomer)}),(c||(null===n||void 0===n?void 0:n.billingAddress))&&(0,r.jsx)(D.Z,{namePrefix:j.bd,selectedAddress:null===n||void 0===n?void 0:n.billingAddress,onManualChange:x,onSelectedAddress:x,showLabel:t})]})};function G(){var e=j.xA.payer,a=(0,I.Z)(e),n=a.setPersonalData,s=a.resetPersonalData,i=(0,_.Z)(e),t=(0,I.Z)(j.Pz.showPayerForm).setPersonalData,o=(0,_.Z)(j.Pz.showPayerForm),d=g.T.showPersonalDetailsForm(e);return(0,r.jsxs)(F.Z,{headingTitle:"Payment of the plan",children:[(0,r.jsx)(l.Z,{as:"p",size:j.aK.size4b,className:"mb-5",required:!0,children:"Is someone paying for the plan on your behalf?"}),(0,r.jsx)(y.Z,{name:d,options:b.Z.options,onChange:function(e){t(b.Z.checkIsYes(e.target.value)),s()},selected:b.Z.getTextValueFromBoolean(o),isRequired:!0}),o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"".concat(B().heading," border-t pt-6"),children:"About the payer"}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(R.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsxs)("div",{className:k.y.row,children:[(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(x.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(p.Z,{namePrefix:e,personalData:i,onChange:n})})]}),(0,r.jsx)(f.Z,{namePrefix:e,personalData:i,onChange:n}),(0,r.jsx)(l.Z,{as:"h3",size:j.aK.size4,className:"mb-4",children:"Contact Details"}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(M.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(W.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.rowShort,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(K.Z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(z,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(L,{namePrefix:e,personalData:i,onChange:n})})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)(h.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)("div",{className:k.y.row,children:(0,r.jsx)(q.Z,{namePrefix:e,personalData:i,onChange:n})}),(0,r.jsx)(v,{namePrefix:e,personalData:i,onVulnerabilityChange:n,onVulnerabilityNotesChange:n})]})]})}var X=n(4914),H=function(e){var a=e.referralCode,n=e.onChange,s=e.disabled,i=void 0!==s&&s,t=g.T.referralCode;return(0,r.jsx)(X.Z,{id:t,name:"referralNameThatdoesnotExist",placeholder:"Enter your referral code",onChange:function(e){n(e.target.value)},value:null!==a&&void 0!==a?a:"",disabled:i,disableIcon:!0})},J=n(2962),$=n(8991);function Q(e,a){(null==a||a>e.length)&&(a=e.length);for(var n=0,r=new Array(a);n<a;n++)r[n]=e[n];return r}function ee(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,s,i=[],t=!0,o=!1;try{for(n=n.call(e);!(t=(r=n.next()).done)&&(i.push(r.value),!a||i.length!==a);t=!0);}catch(l){o=!0,s=l}finally{try{t||null==n.return||n.return()}finally{if(o)throw s}}return i}}(e,a)||function(e,a){if(!e)return;if("string"===typeof e)return Q(e,a);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q(e,a)}
1(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e){var a=e.planId,n=e.setErrors,i=e.toggleSaveModalState,o=(0,J.Z)().validateReferralCode,d=ee((0,w.FV)(t.xA),2),c=d[0],h=d[1],f=(0,w.Zl)(t.kS),m=(0,s.useState)(""),v=m[0],x=m[1],p=(0,s.useState)(!1),y=p[0],g=p[1];return(0,r.jsxs)(F.Z,{headingTitle:"Referral Code",children:[(0,r.jsx)(l.Z,{as:"p",size:j.aK.size4b,className:"mb-5",children:"If you\u2018ve been given a referral code by a friend or relative, please enter it here. Click apply to add it to your plan."}),(0,r.jsxs)("div",{className:k.y.row,children:[(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(H,{referralCode:c,onChange:h,disabled:y})}),(0,r.jsx)("div",{className:k.y.field,children:(0,r.jsx)(u.K,{type:j.JB.button,onClick:function(){n(null),g(!0),i(),x(""),null!==c?o("".concat(c),"".concat(a)).then((function(e){i(),200!==e.status?(h(null),g(!1),n([{propertyPath:"Referral code",title:'The code "'.concat(c,'" you have entered is invalid or already in use')}])):(g(!0),x("Your code has been accepted!"),f(!0))})).catch((function(e){i(),h(null),g(!1),n([{propertyPath:"Referral code",title:"Error receiving user data: ",error:e}])})):(i(),h(null),g(!1),n([{propertyPath:"Referral code",title:'The code "'.concat(c,'" you have entered is invalid or already in use')}]))},id:$.V_.continueButton,disabled:y,children:"Apply referral code"})})]}),(0,r.jsx)("div",{className:k.y.row,children:v})]})}var ne=n(2385),re=n(8245),se=n(3368),ie=n(4631),te=n(6209),oe=n(8692),le=n(1163),de=n(6310);function ce(e,a,n){return a in e?Object.defineProperty(e,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[a]=n,e}var ue=function(){var e=(0,le.useRouter)(),a=(0,J.Z)().ApiHelper,n=(0,s.useState)(null),h=n[0],f=n[1],m=(0,w.sJ)(t.Gf),v=(0,_.Z)(j.Pz.showCoveredPersonForm),x=(0,_.Z)(j.Pz.showNominatedRepresentativeForm),p=(0,_.Z)(j.Pz.showPayerForm),y=(0,ie.Z)(!0),g=(0,w.Zl)(t.GD),b=(0,s.useState)(),P=b[0],Z=b[1],C=(0,i.X)(P),N=(0,T.cI)({mode:oe.Tg.mode.onBlur,reValidateMode:oe.Tg.reValidateMode.onBlur,resolver:C,shouldUseNativeValidation:!1,criteriaMode:oe.Tg.criteriaMode.all}),A=(0,s.useState)(!1),D=A[0],V=A[1],z=(0,s.useState)(null),R=z[0],F=z[1],I=(0,se.Z)().contactMethodsFields;(0,s.useEffect)((function(){var e=de.Ry(function(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(a){ce(e,a,n[a])}))}return e}({},(0,S.Up)(j.xA.coveredPerson,j.WR.showForm),v&&(0,S.nj)(j.xA.coveredPerson,I),(0,S.Up)(j.xA.nominatedRepresentative,j.WR.showForm),x&&(0,S.nj)(j.xA.nominatedRepresentative),(0,S.Up)(j.xA.payer,j.WR.showForm),p&&(0,S.nj)(j.xA.payer))).required();Z(e)}),[v,x,p]);var k=function(){V((function(e){return!e}))};return(0,r.jsxs)(ne.Z,{onSubmit:function(){te.sk||(k(),f(null),F(null),a(j.Y9.planCustomer(m),"PATCH",y).then((function(a){var n,r,s,i=a.data;(k(),200===a.status)?e.push(j.uu.purchaseOptions).then((function(){g(!0)})):f(null!==(s=null===i||void 0===i?void 0:i.violations)&&void 0!==s?s:[{propertyPath:null!==(n=a.status)&&void 0!==n?n:"Global",title:null!==(r=a.data)&&void 0!==r?r:"Fatal error please refresh or contact site admin"}])})))},formMethods:N,id:$.RG.other.purchaseForm,className:B().purchase__form,children:[(0,r.jsx)(c.ZP,{children:(0,r.jsx)(c.V9,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(l.Z,{as:j.od.h4,children:"Additional Information"}),(0,r.jsx)(re.Z,{text:"If you'd like to buy this plan for someone else, provide additional information about someone you'd like to act on your behalf or pay for the plan, please tell us here.",colour:j.TV.white,className:"mt-2"})]})})}),(0,r.jsx)(E,{}),(0,r.jsx)(U,{}),(0,r.jsx)(G,{}),(0,r.jsx)(ae,{planId:m,setErrors:f,toggleSaveModalState:k}),(0,r.jsxs)("div",{className:"flex justify-between items-end",children:[(0,r.jsx)(u.H,{linkTo:j.uu.purchaseCustomer,id:$.V_.backButton,children:"Back"}),(0,r.jsx)(u.K,{type:"submit",id:$.V_.continueButton,children:"Proceed"})]}),(0,r.jsx)(o.Z,{errors:h}),(0,r.jsx)(d.Z,{title:"Processing",isVisible:D,isLoading:!0,responseMessage:R,errors:h,onClose:k})]})},he=n(7655),fe=n(8170),me=function(){return(0,r.jsx)(he.Z,{mainContent:(0,r.jsx)(ue,{}),sidebarContent:(0,r.jsx)(fe.Z,{})})}}
1,3115:function(e){e.exports={heading:"purchase-additional_heading__7LQil",purchase__form:"purchase-additional_purchase__form__4aSjM"}},7533:function(e,a,n){"use strict";n.d(a,{X:function(){return l}});var r=n(7536);const s=(e,a,n)=>{if(e&&"reportValidity"in e){const s=(0,r.U2)(n,a);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},i=(e,a)=>{for(const n in a.fields){const r=a.fields[n];r&&r.ref&&"reportValidity"in r.ref?s(r.ref,n,e):r.refs&&r.refs.forEach((a=>s(a,n,e)))}},t=(e,a)=>{a.shouldUseNativeValidation&&i(e,a);const n={};for(const s in e){const i=(0,r.U2)(a.fields,s),t=Object.assign(e[s]||{},{ref:i&&i.ref});if(o(a.names||Object.keys(e),s)){const e=Object.assign({},(0,r.U2)(n,s));(0,r.t8)(e,"root",t),(0,r.t8)(n,s,e)}else(0,r.t8)(n,s,t)}return n},o=(e,a)=>e.some((e=>e.startsWith(a+".")));function l(e,a,n){return void 0===a&&(a={}),void 0===n&&(n={}),function(s,o,l){try{return Promise.resolve(function(r,t){try{var d=(a.context,Promise.resolve(e["sync"===n.mode?"validateSync":"validate"](s,Object.assign({abortEarly:!1},a,{context:o}))).then((function(e){return l.shouldUseNativeValidation&&i({},l),{values:n.raw?s:e,errors:{}}})))}catch(c){return t(c)}return d&&d.then?d.then(void 0,t):d}(0,(function(e){if(!e.inner)throw e;return{values:{},errors:t((a=e,n=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(a.inner||[]).reduce((function(e,a){if(e[a.path]||(e[a.path]={message:a.message,type:a.type}),n){var s=e[a.path].types,i=s&&s[a.type];e[a.path]=(0,r.KN)(a.path,n,e,a.type,i?[].concat(i,a.message):a.message)}return e}),{})),l)};var a,n})))}catch(d){return Promise.reject(d)}}}}},function(e){e.O(0,[4644,1601,2122,9600,6334,9774,2888,179],(function(){return a=6715,e(e.s=a);var a}));var a=e.O();_N_E=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.