PageSourceSearch

https://portal.payhawk.com/assets/remittanceAdvice-DNFequGe.js

js payhawk.com collected 2026-10-02 02:57:37 UTC 1,897 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`c884f511e2637bc8d4525c01a72d90f4a6056222`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`6a411377-6e41-4113-94b6-6a3dd0fb9db6`,e._sentryDebugIdIdentifier=`sentry-dbid-6a411377-6e41-4113-94b6-6a3dd0fb9db6`)}catch{}})();import{o as e}from"./rolldown-runtime-nEP6ovML.js";import{t}from"./_contracts-D_CZoK4N.js";import{t as n}from"./sortBy-BMtVkK6C.js";import{BD as r}from"./payhawk-CMDa5uvV.js";import{w as i}from"./_mobx-DuFRY-rR.js";var a=e(t()),o=320,s=e=>(0,r.validateEmail)(e)&&e.length<=o,c=e=>[...new Set((e??[]).map(e=>e.trim()).filter(e=>e.length>0))],l=(e,t)=>{let r=n(c(e)),i=n(c(t));return r.length===i.length&&r.every((e,t)=>e===i[t])},u=(e,t)=>{i(()=>{for(let n of e)n.supplier&&(n.supplier.defaultRecipientEmails=t)})},d=e=>c(e?.supplier?.defaultRecipientEmails),f=e=>e?.document?.attachmentType!==a.AttachmentType.CreditNote,p=new Set([a.BalancePaymentStatus.Approved,a.BalancePaymentStatus.Authorized,a.BalancePaymentStatus.Settled,a.ExternalPaymentStatus.Approved,a.ExternalPaymentStatus.Authorized,a.ExternalPaymentStatus.Settled]),m=e=>{switch(e.paymentData?.sourceType){case a.PaymentSourceType.Balance:return(e.balancePayments??[]).map(e=>({id:e.id,date:e.date,paymentAdviceType:a.PaymentAdvicePaymentType.Balance,status:e.status}));case a.PaymentSourceType.LinkedBankAccount:return(e.externalPayments??[]).map(e=>({id:e.id,date:e.date,paymentAdviceType:a.PaymentAdvicePaymentType.External,status:e.status}));default:return[]}},h=e=>{if(!e)return;let t=n(m(e),`date`).at(-1);return t&&p.has(t.status)?{id:t.id,paymentAdviceType:t.paymentAdviceType,date:t.date}:void 0};export{c as a,s as i,d as n,l as o,f as r,u as s,h as t};
2//# sourceMappingURL=remittanceAdvice-DNFequGe.js.map

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.