1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8391],{391:(e,r,t)=>{"use strict";t.d(r,{A:()=>n,m:()=>l});var i=t(37876),s=t(68635);t(14232);var a=t(42546);let l=({showModal:e,close:r,children:t,size:l="md",className:n="text-black"})=>(0,i.jsxs)(s.Dialog,{size:l||void 0,open:e,handler:r??(()=>{}),dismiss:{enabled:!1},className:n,children:[r&&(0,i.jsx)("div",{className:"flex justify-end pe-1 pt-2",children:(0,i.jsx)("section",{className:"cursor-pointer",onClick:r,children:(0,i.jsx)(a.A,{})})}),(0,i.jsx)(s.DialogBody,{className:"max-h-[40rem] overflow-scroll p-3 text-black",children:t})]}),n=({showModal:e,children:r,close:t,width:s="max-w-[500px]"})=>e?(0,i.jsx)("div",{className:"fixed inset-0 z-50 flex h-screen bg-modal transition duration-1000 ease-in-out",children:(0,i.jsx)("div",{className:"flex h-screen w-full items-center justify-center",children:(0,i.jsxs)("div",{className:`relative w-[95%] ${s} max-h-[40rem] overflow-scroll rounded-[16px] bg-white p-4`,children:[t&&(0,i.jsx)("div",{className:"absolute right-2 top-2 cursor-pointer",onClick:t,children:(0,i.jsx)(a.A,{})}),(0,i.jsx)("section",{className:"mt-2",children:r})]})})}):null},12998:(e,r,t)=>{"use strict";t.d(r,{A:()=>c});var i=t(37876),s=t(15039),a=t.n(s),l=t(14232),n=t(50705),o=t(75862);function c({isClearable:e=!0,isDisabled:r=!1,isLoading:t=!1,isRtl:s=!1,isSearchable:c=!0,options:u,label:d,name:h,formik:x,containerStyle:m,isMulti:j=!1,handleChange:p,placeholder:b,bg:v="white",isSelectArrayItem:g,formikName:f,selectIndex:k,selectName:w,selectComponent:y,formatOptionLabel:q,inputPlaceholder:N="",...C}){let Y=(0,l.useRef)(),L=e=>{x.setFieldValue(h,e)},A={control:e=>({...e,border:0,boxShadow:"none",backgroundColor:v,fontSize:14}),containerStyle:e=>({...e,backgroundColor:v}),input:e=>({...e,padding:11,outline:"none",border:0,backgroundColor:"inherit"}),menu:e=>({...e,zIndex:9999}),menuPortal:e=>({...e,zIndex:9999})},I=e=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("label",{htmlFor:h,className:a()("mb-3 absolute left-2.5 z-10 origin-[0] -translate-y-1 scale-75 text-sm text-gray-500 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75",""),style:{left:10,pointerEvents:"none",position:"absolute",transition:"0.2s ease all",MozTransition:"0.2s ease all",WebkitTransition:"0.2s ease all",top:e.isFocused||e.hasValue?"0":"40%",fontSize:(e.isFocused||e.hasValue,"1rem")},children:b}),(0,i.jsx)(n.c.Control,{...e})]});return g&&f&&w&&void 0!==k&&!Number.isNaN(k)?(0,i.jsxs)("div",{className:a()("py-1",m),children:[d&&(0,i.jsx)("label",{className:"mb-3 block text-dark",htmlFor:h,children:d}),x?.values?.[f]?.[k]?.[w]?.value&&y,(0,i.jsx)(o.Ay,{ref:Y,className:a()("rounded-md border border-[#E3E6EA] px-3 py-1",v&&`bg-[${v}]`),classNamePrefix:"select",isDisabled:r,isLoading:t,isClearable:e,isRtl:s,isSearchable:c,options:u,onChange:e=>{let r=e||{label:"",value:""};p?p(r):L(r)},styles:A,isMulti:j,value:x?.values?.[f]?.[k]?.[w]?.value?x?.values?.[f]?.[k]?.[w]:"",components:b?{Control:I}:void 0,placeholder:"",instanceId:h,...C}),x.touched?.[f]?.[k]?.[w]?.value&&x.errors?.[f]?.[k]?.[w]?.value&&(0,i.jsx)("p",{className:"mt-2 text-xs italic text-red-400",children:x.errors?.[f]?.[k]?.[w]?.value})]}):j?(0,i.jsxs)("div",{className:a()("py-1",m),children:[d&&(0,i.jsx)("label",{className:"mb-1 block text-xs text-dark",htmlFor:h,children:d}),x?.values[h]?.value&&y,(0,i.jsx)(o.Ay,{ref:Y,className:a()("rounded-md border border-[#E3E6EA] px-3 py-1",v&&`bg-[${v}]`),classNamePrefix:"select",isDisabled:r,isLoading:t,isClearable:e,isRtl:s,isSearchable:c,options:u,styles:A,isMulti:j,components:b?{Control:I}:void 0,formatOptionLabel:q,placeholder:N,instanceId:h,...C}),x.touched[h]?.value&&x.errors[h]?.value&&(0,i.jsx)("p",{className:"mt-2 text-xs italic text-red-400",children:x.errors[h]?.value})]}):(0,i.jsxs)("div",{className:a()("py-1",m),children:[d&&(0,i.jsx)("label",{className:"mb-1 block text-xs text-dark",htmlFor:h,children:d}),x?.values[h]?.value&&y,(0,i.jsx)(o.Ay,{ref:Y,className:a()("rounded-md border border-[#
1E3E6EA] px-3 py-1",v&&`bg-[${v}]`,x?.touched[h]&&x?.errors[h]?" border border-red-400":"border border-[#E3E6EA]"),classNamePrefix:"select",isDisabled:r,isLoading:t,isClearable:e,isRtl:s,isSearchable:c,options:u,onChange:e=>{let r=e||{label:"",value:""};p?p(r):L(r)},styles:A,isMulti:j,value:x?.values[h]?.value?x?.values[h]:"",components:b?{Control:I}:void 0,formatOptionLabel:q,placeholder:N,instanceId:h,...C}),x.touched[h]?.value&&x.errors[h]?.value&&(0,i.jsx)("p",{className:"mt-2 text-xs italic text-red-400",children:x.errors[h]?.value})]})}},13547:(e,r,t)=>{"use strict";t.d(r,{A:()=>l});var i=t(37876);t(14232);let s=()=>(0,i.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M5.99998 10.6666L1.33331 5.99998L5.99998 1.33331",stroke:"#7C7D7E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});var a=t(55726);let l=({linkTitle:e="Back to login",link:r="/auth/login",title:t})=>(0,i.jsxs)("div",{className:"my-4 flex flex-col sm:flex-row sm:items-center sm:space-x-12",children:[(0,i.jsx)(a.A,{link:r,children:(0,i.jsxs)("section",{className:"flex cursor-pointer items-center space-x-2",children:[(0,i.jsx)(s,{}),(0,i.jsx)("span",{children:e})]})}),(0,i.jsx)("h2",{className:"text-[32px]",children:t})]})},14307:(e,r,t)=>{"use strict";t.d(r,{A:()=>a,U:()=>s});var i=t(37876);let s=()=>(0,i.jsx)("section",{className:"flex h-screen items-start justify-center",children:(0,i.jsx)("img",{src:"/static/images/Empty_Bulk.png",alt:"",className:"mt-10"})}),a=()=>(0,i.jsx)("section",{className:"flex h-screen items-start justify-center",children:(0,i.jsx)("img",{src:"/static/images/EmptyBeneficiary.png",alt:"",className:"mt-10"})})},32073:(e,r,t)=>{"use strict";t.d(r,{A:()=>o});var i=t(37876),s=t(68635);t(14232);var a=t(93871);function l(){return(0,i.jsxs)("svg",{width:"161",height:"160",viewBox:"0 0 161 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"0.5",width:"160",height:"160",rx:"80",fill:"#FFF2F2"}),(0,i.jsx)("rect",{x:"23.5",y:"22",width:"115",height:"115",rx:"57.5",fill:"#FF3D00"}),(0,i.jsx)("path",{d:"M65.5 95L96.5 64",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M65.5 64.0005L96.5 95.0005",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("rect",{x:"23.5",y:"22",width:"115",height:"115",rx:"57.5",stroke:"#FFE0E0",strokeWidth:"20.5357"})]})}var n=t(391);function o({show:e,close:r,buttonAction:t,buttonText:o="Close",title:c="Error",body:u}){return(0,i.jsx)(n.m,{showModal:e,close:r,size:"sm",children:(0,i.jsx)(s.DialogBody,{className:"overflow-scroll text-black",children:(0,i.jsxs)("section",{children:[(0,i.jsx)("div",{className:"flex justify-center",children:(0,i.jsx)(l,{})}),(0,i.jsx)("h2",{className:"mt-10 text-center text-3xl font-semibold",children:c}),(0,i.jsx)("div",{className:"mt-6 text-center text-lg",children:u}),o&&(0,i.jsx)(a.A,{title:o,containedClass:"mt-[50px] bg-primary text-white",onClick:t||r})]})})})}},36315:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});var i=t(37876);t(14232);let s=({title:e,activeTab:r,setActiveTab:t})=>(0,i.jsx)("section",{onClick:()=>t(e),className:`cursor-pointer whitespace-nowrap pb-1 text-center text-[16px] font-semibold ${r===e?"border-b-2 border-primary font-bold":"text-[#747474]"}`,children:e}),a=({sections:e,activeTab:r,handleTabChange:t})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("section",{className:"flex space-x-8 overflow-x-scroll border-b border-gray-400",children:e.map((e,a)=>(0,i.jsx)(s,{title:e.title,activeTab:r,setActiveTab:t},a))}),e.map((e,t)=>(0,i.jsx)("section",{className:"mt-3",children:e.title===r&&e.component},t))]})},36545:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/beneficiaries",function(){return t(9856)}])},51729:(e,r,t)=>{"use strict";t.d(r,{k5:()=>o});var i=t(14232),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=i.createContext&&i.createContext(s),l=function(){return(l=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&
1(e[s]=r[s]);return e}).apply(this,arguments)},n=function(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>r.indexOf(i)&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)0>r.indexOf(i[s])&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(t[i[s]]=e[i[s]]);return t};function o(e){return function(r){return i.createElement(c,l({attr:l({},e.attr)},r),function e(r){return r&&r.map(function(r,t){return i.createElement(r.tag,l({key:t},r.attr),e(r.child))})}(e.child))}}function c(e){var r=function(r){var t,s=e.attr,a=e.size,o=e.title,c=n(e,["attr","size","title"]),u=a||r.size||"1em";return r.className&&(t=r.className),e.className&&(t=(t?t+" ":"")+e.className),i.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,s,c,{className:t,style:l(l({color:e.color||r.color},r.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&i.createElement("title",null,o),e.children)};return void 0!==a?i.createElement(a.Consumer,null,function(e){return r(e)}):r(s)}},53481:(e,r,t)=>{"use strict";t.d(r,{A:()=>c});var i=t(37876),s=t(15039),a=t.n(s),l=t(14232);function n(){return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-eye",children:[(0,i.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}function o({size:e="24"}){return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-eye-off",children:[(0,i.jsx)("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),(0,i.jsx)("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]})}let c=({label:e,icon:r,containerClass:t,bg:s="bg-white",name:c="name",type:u,formik:d,isPasswordInput:h,placeholder:x,rightIcon:m,isInputArrayItem:j,inputIndex:p,formikName:b,inputName:v,isOptional:g=!1,trimValue:f=!1,isNumberField:k=!1,inputLength:w,regexString:y=/[^0-9]+/g,inputBorder:q="border border-[#E3E6EA]",...N})=>{let[C,Y]=(0,l.useState)(!1),[L,A]=(0,l.useState)(u),I=()=>{Y(!C),"password"===L?A("text"):A("password")},E=()=>h?C?(0,i.jsx)("div",{className:"ml-4 cursor-pointer",onClick:I,children:(0,i.jsx)(n,{})}):(0,i.jsx)("div",{className:"ml-4 cursor-pointer",onClick:I,children:(0,i.jsx)(o,{})}):m||null;return j&&b&&v&&void 0!==p&&!Number.isNaN(p)?(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:a()(t),children:[e&&(0,i.jsx)("label",{htmlFor:c,className:"mb-1 block text-xs",children:e}),g&&(0,i.jsx)("span",{className:"mb-1 block text-right text-[12px] text-[#98A2B3]",children:"Optional"}),(0,i.jsxs)("div",{className:a()("flex items-center px-3 py-1 rounded-md",s,d?.touched[c]&&d?.errors[c]?" border border-red-400":"border border-[#E3E6EA]"),children:[r&&(0,i.jsx)("section",{className:"mr-3",children:r}),(0,i.jsxs)("div",{className:"relative w-full",children:[(0,i.jsx)("input",{id:c,"aria-describedby":c,className:"peer block w-full appearance-none rounded-t-lg border-0 bg-inherit px-2.5 pb-2.5 pt-5 text-sm text-gray-900 focus:outline-none focus:ring-0",placeholder:" ",name:c,onChange:e=>{w?e.target.value.length<=w&&(e.target.value=f?e.target.value.trim():e.target.value,e.target.value=k?e.target.value.replace(y,""):e.target.value,d?.handleChange(e)):(e.target.value=f?e.target.value.trim():e.target.value,e.target.value=k?e.target.value.replace(y,""):e.target.value,d?.handleChange(e))},type:L,autoComplete:"off",value:d?.values?.[b]?.[p]?.[v],...N}),(0,i.jsx)("label",{htmlFor:c,className:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-sm text-gray-500 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75",children:x})]}),E()]}),d.touched?.[b]?.[p]?.[v]&&d.errors?.[b]?.[p]?.[v]&&(0,i.jsx)("p",{className:"mt-2 text-xs italic text-red-400",children:d.errors?.[b]?.[p]?.[v]})]})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:a()(t),
1children:[e&&(0,i.jsx)("label",{htmlFor:c,className:"mb-1 block text-xs",children:e}),g&&(0,i.jsx)("span",{className:"mb-1 block text-right text-[12px] text-[#98A2B3]",children:"Optional"}),(0,i.jsxs)("div",{className:a()("flex items-center px-3 py-1 rounded-md",s,d?.touched[c]&&d?.errors[c]?" border border-red-400":q),children:[r&&(0,i.jsx)("section",{className:"mr-3",children:r}),(0,i.jsxs)("div",{className:"relative w-full",children:[(0,i.jsx)("input",{id:c,"aria-describedby":c,className:"peer block w-full appearance-none rounded-t-lg border-0 bg-inherit px-2.5 pb-2.5 pt-5 text-sm text-gray-900 focus:outline-none focus:ring-0",placeholder:" ",name:c,onChange:e=>{w||"narration"===c?(w&&e.target.value.length<=w||"narration"===c&&e.target.value.length<=40)&&(e.target.value=f?e.target.value.trim():e.target.value,e.target.value=k?e.target.value.replace(y,""):e.target.value,d?.handleChange(e)):(e.target.value=f?e.target.value.trim():e.target.value,e.target.value=k?e.target.value.replace(y,""):e.target.value,d?.handleChange(e))},type:L,autoComplete:"off",value:d?.values[c],...N}),(0,i.jsx)("label",{htmlFor:c,className:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 text-sm text-gray-500 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75",children:x})]}),E()]}),d?.touched[c]&&d?.errors[c]&&(0,i.jsx)("p",{className:"text-xs italic text-red-400",children:d.errors[c]})]})})}},58632:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var i=t(37876);function s(){return(0,i.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("circle",{cx:"11",cy:"11",r:"8",stroke:"#9C9C9C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M16.5 16.958L21.5 21.958",stroke:"#9C9C9C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}t(14232)},66610:(e,r,t)=>{"use strict";t.d(r,{LR:()=>o,Or:()=>n,Rt:()=>c,SS:()=>l});var i=t(95602),s=t(82255),a=t(17415);async function l(){try{let e=(0,s.s)("customerId","authData"),r=await i.A.get(`${a.M5}utility-beneficiary/get-beneficiary`,{params:{customerId:e}});return r.data?.utilityBeneficiaries}catch(e){return Promise.reject(e)}}async function n(e){try{let r=(0,s.s)("customerId","authData"),t=await i.A.post(`${a.M5}utility-beneficiary/create-beneficiary`,{...e,customerId:r});if(!t)return;return t}catch(e){return Promise.reject(e)}}async function o(e){try{let r=await i.A.put(`${a.M5}utility-beneficiary/update-beneficiary`,e);if(!r)return;return r}catch(e){return Promise.reject(e)}}async function c(e){try{let r=await i.A.delete(`${a.M5}utility-beneficiary/delete-beneficiary`,{data:e});if(!r)return;return r}catch(e){return Promise.reject(e)}}},68283:(e,r,t)=>{"use strict";t.d(r,{Hs:()=>d,IJ:()=>o,VS:()=>n,cj:()=>h,iA:()=>s,iS:()=>l,mg:()=>a,w2:()=>u,wX:()=>c});var i=t(91408);let s=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),customerReference:i.Yj().min(10,"Invalid mobile number").max(11,"Invalid mobile number").required("Mobile number is required"),amount:i.ai().min(1,"Must be greater than 0").required("Amount is required")}),a=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),customerReference:i.Yj().min(10,"Invalid mobile number").max(11,"Invalid mobile number").required("Mobile number is required"),billerPackage:i.Yj().when("hasPackages",{is:e=>!0===e,then:()=>i.Ik({label:i.Yj().required("Product is required"),value:i.Yj().required("Product is required")}),otherwise:()=>i.Ik({label:i.Yj(),value:i.Yj()})}),billerCategory:i.Ik({label:i.Yj().required("Network provider is required"),value:i.Yj().required("Network provider is required")})}),l=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),customerReference:i.Yj().required("Meter number is required"),billerPackage:i.Yj().when("hasPackages",{is:e=>!0===e,then:()=>i.Ik({label:i.Yj().required("Product is required"),value:i.Yj().required("Product is required")}),otherwise:()=>i.Ik({label:i.Yj(),value:i.Yj()})}),billerCategory:i.Ik({label:i.Yj().required("Biller is required"),value:i.Yj().required("Biller is required")}),amount:i.ai().min(1,"Must be greater than 0").required("Amount is required")}),n=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),webguid:i.Yj().required("Payment reference is required"),type:i.Ik({label:i.Yj().required("Bill Type is required"),value:i.Yj().required("Bill Type is required")})}),o=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),payerId:i.Yj().required("Payer ID is required"),type:i.Ik({label:i.Yj().required("ID Type is required"),value:i.Yj().required("ID Type is required")})}),c=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),customerReference:i.Yj().required("Agent ID/Customer ID is required"),billerPackage:i.Yj().when("hasPackages",{is:e=>!0===e,then:()=>i.Ik({label:i.Yj().required("Product is required"),value:i.Yj().required("Product is required")}),otherwise:()=>i.Ik({label:i.Yj(),value:i.Yj()})}),billerCategory:i.Ik({label:i.Yj().required("Biller is required"),value:i.Yj().required("Biller is required")}),amount:i.ai().min(1,"Must be greater than 0").required("Amount is required")}),u=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),customerReference:i.Yj().required("Field is required"),billerPackage:i.Yj().when("hasPackages",{is:e=>!0===e,then:()=>i.Ik({label:i.Yj().required("Product is required"),value:i.Yj().required("Product is required")}),otherwise:()=>i.Ik({label:i.Yj(),value:i.Yj()})}),billerCategory:i.Ik({label:i.Yj().required("Biller is required"),value:i.Yj().required("Biller is required")}),category:i.Ik({label:i.Yj().required("Category is required"),value:i.Yj().required("Category is required")}),amount:i.ai().min(1,"Must be greater than 0").required("Amount is required")}),d=i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}
1),phone_number:i.Yj().required("Phone Number is required"),country:i.Ik({label:i.Yj().required("Country is required"),value:i.Yj().required("Country is required")}),operatorId:i.Ik({label:i.Yj().required("Operator is required"),value:i.Yj().required("Operator is required")}),operatorProduct:i.Ik({label:i.Yj().required("Product is required"),value:i.Yj().required("Product is required")}),amount:i.ai().min(1,"Must be greater than 0").required("Amount is required")});i.Ik().shape({debitAccountNumber:i.Ik({label:i.Yj().required("Source account is required"),value:i.Yj().required("Source account is required")}),phone_number:i.Yj().required("Phone Number is required")});let h=i.Ik().shape({billerName:i.Ik({label:i.Yj().required("Biller name is required"),value:i.Yj().required("Biller name is required")}),customerFieldOne:i.Yj().required("This field is required"),nickname:i.Yj().required("Nickname is required")})},70865:(e,r,t)=>{"use strict";t.d(r,{A:()=>h});var i=t(37876);t(14232);var s=t(95582),a=t(84517);function l(){return(0,i.jsxs)("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{width:"56",height:"56",rx:"28",fill:"#E6E5E5"}),(0,i.jsx)("path",{d:"M26.9718 18.7085C27.4382 17.9335 28.5618 17.9335 29.0282 18.7085L31.3586 22.5809C31.5262 22.8593 31.7995 23.0578 32.116 23.1312L36.5191 24.1509C37.4002 24.355 37.7474 25.4236 37.1545 26.1066L34.1918 29.5196C33.9788 29.765 33.8744 30.0863 33.9025 30.41L34.2932 34.9127C34.3714 35.8138 33.4625 36.4742 32.6296 36.1214L28.4681 34.3583C28.1689 34.2316 27.8311 34.2316 27.5319 34.3583L23.3704 36.1214C22.5375 36.4742 21.6286 35.8138 21.7068 34.9127L22.0975 30.41C22.1256 30.0863 22.0212 29.765 21.8082 29.5196L18.8455 26.1066C18.2526 25.4236 18.5998 24.355 19.4809 24.1509L23.884 23.1312C24.2005 23.0578 24.4738 22.8593 24.6414 22.5809L26.9718 18.7085Z",stroke:"#747474",strokeWidth:"1.5"})]})}var n=t(72847);function o(){return(0,i.jsxs)("svg",{width:"57",height:"56",viewBox:"0 0 57 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"0.5",width:"56",height:"56",rx:"28",fill:"#E5E5E5"}),(0,i.jsx)("path",{d:"M21.0704 24C21.8081 22.7223 22.8848 21.6735 24.1814 20.9695C25.478 20.2655 26.944 19.9338 28.4173 20.011C29.8907 20.0882 31.314 20.5713 32.5299 21.407C33.7458 22.2427 34.7069 23.3983 35.307 24.7461M19.2305 21.5154L19.9599 24.6749C20.0841 25.213 20.6211 25.5486 21.1592 25.4243L24.3187 24.6949M34.9269 31.9999C34.1892 33.2776 33.1125 34.3264 31.816 35.0304C30.5194 35.7344 29.0534 36.0661 27.58 35.9889C26.1066 35.9117 24.6833 35.4286 23.4674 34.5929C22.2515 33.7572 21.2904 32.6016 20.6903 31.2538M36.7669 34.4845L36.0375 31.325C35.9132 30.7869 35.3763 30.4513 34.8381 30.5756L31.6786 31.305",stroke:"#747474",strokeWidth:"1.5",strokeLinecap:"round"})]})}var c=t(87556),u=t(391),d=t(92155);function h({showModal:e,close:r,isScheduleTransfer:t,receiptAction:h,oneTapAction:x,scheduleAction:m,beneficiaryAction:j,successMessage:p}){return(0,i.jsx)(u.m,{showModal:e,close:r,size:"sm",children:(0,i.jsx)(d.A,{icon:(0,i.jsx)(s.A,{}),title:"Success",body:(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"mb-[48px]",children:p||"Successfully saved and authourized"}),!t&&(0,i.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[j&&(0,i.jsx)(c.L,{title:"Save beneficiary",icon:(0,i.jsx)(a.A,{}),cta:j}),m&&(0,i.jsx)(c.L,{title:"Schedule",icon:(0,i.jsx)(o,{}),cta:m}),h&&(0,i.jsx)(c.L,{title:"Share receipt",icon:(0,i.jsx)(n.A,{}),cta:h}),x&&(0,i.jsx)(c.L,{title:"Add 1-tap payment",icon:(0,i.jsx)(l,{}),cta:x})]})]})})})}},72847:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var i=t(37876);function s(){return(0,i.jsxs)("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{width:"56",height:"56",rx:"28",fill:"#E6E5E5"}),(0,i.jsx)("path",{d:"M25.3203 22.4999L27.8803 19.9399L30.4403 22.4999",stroke:"#747474",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M27.8789 30.1798V20.0098",stroke:"#747474",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M20 28C20 32.42 23 36 28 36C33 36 36 32.42 36 28",stroke:"#747474",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})}t(14232)},84517:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var i=t(37876);function s(){return(0,i.jsxs)("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{width:"56",height:"56",rx:"28",fill:"#E6E5E5"}),(0,i.jsx)("circle",{cx:"4",cy:"4",r:"4",transform:"matrix(-1 0 0 1 31.5 20.5)",stroke:"#747474",strokeWidth:"1.5"}),(0,i.jsx)("path",{d:"M20.5 34.4347C20.5 33.5743 21.0409 32.8068 21.8511 32.5175V32.5175C25.504 31.2128 29.496 31.2128 33.1489 32.5175V32.5175C33.9591 32.8068 34.5 33.5743 34.5 34.4347V35.7502C34.5 36.9376 33.4483 37.8498 32.2728 37.6818L31.3184 37.5455C28.7856 37.1837 26.2144 37.1837 23.6816 37.5455L22.7272 37.6818C21.5517 37.8498 20.5 36.9376 20.5 35.7502V34.4347Z",stroke:"#747474",strokeWidth:"1.5"}),(0,i.jsx)("path",{d:"M32.375 27.125H35.875",stroke:"#747474",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M34.125 25.375L34.125 28.875",stroke:"#747474",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}t(14232)},87556:(e,r,t)=>{"use strict";t.d(r,{L:()=>s});var i=t(37876);let s=({icon:e,title:r,cta:t})=>(0,i.jsxs)("div",{className:"flex cursor-pointer flex-col items-center rounded-[12px] bg-[#F5F5F5] py-[22px]",onClick:t,children:[e,(0,i.jsx)("span",{className:"mt-[8px] block text-[16px] text-[#747474]",children:r})]})},92155:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});var i=t(37876);t(14232);var s=t(93871);let a=({icon:e,title:r,body:t,buttonAction:a,buttonText:l})=>(0,i.jsxs)("section",{className:"p-4",children:[(0,i.jsx)("div",{className:"flex justify-center",children:e}),(0,i.jsx)("h2",{className:"mt-10 text-center text-3xl font-semibold",children:r}),(0,i.jsx)("div",{className:"mt-[16px] text-center text-lg",children:t}),a&&l&&(0,i.jsx)(s.A,{title:l,containedClass:"bg-primary text-white mt-10",onClick:a})]})},93871:(e,r,t)=>{"use strict";t.d(r,{A:()=>n,r:()=>l});var i=t(37876),s=t(15039),a=t.n(s);let l=({action:e,title:r,color:t,bg:s,icon:l})=>(0,i.jsxs)("button",{onClick:e,className:a()("flex cursor-pointer items-center justify-center space-x-2 rounded-[6px] p-2 px-3 text-[12px]",t,s),children:[(0,i.jsx)("span",{children:r}),l]}),n=({title:e,showRightIcon:r,outlined:t,containerClass:s,padding:a="py-4",containedClass:l="bg-primary text-white",outlinedClass:n="border border-primary text-primary",leftIcon:o,rightIcon:c,type:u="submit",loading:d,disabled:h,...x})=>(0,i.jsx)("section",{className:`${s} rounded font-semibold `,children:(0,i.jsxs)("button",{disabled:h||d,type:u,className:`flex w-full items-center shadow-md ${r?"justify-between":"justify-center "} rounded-[8px] ${t?n:l} ${a} text-base focus:outline-none`,...x,children:[o&&o,(0,i.jsx)("span",{className:"flex items-center",children:e}),r&&c]})})},95582:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var i=t(37876);t(14232);let s=()=>(0,i.jsxs)("svg",{width:"136",height:"137",viewBox:"0 0 136 137",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"10.5",y:"11",width:"115",height:"115",rx:"57.5",fill:"#0AA75E"}),(0,i.jsx)("path",{d:"M83.1458 57.0003L59.1875 80.9826L52 73.7951",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("rect",{x:"10.5",y:"11",width:"115",height:"115",rx:"57.5",stroke:"#E1FFF1",strokeWidth:"20.5357"})]})}},e=>{e.O(0,[9923,956,7743,9593,7100,8230,4691,1408,2068,5862,4356,9086,9856,636,6593,8792],()=>e(e.s=36545)),_N_E=e.O()}]);
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.