import{j as e,r}from"./router.chunk.YsRm4bSN.js";import{A as o}from"./main.chunk.N-eZ2ybB.js";const t=r.createContext(null),n=()=>{const e=r.useContext(t);if(!e)throw new Error("usePdf must be used within a PdfProvider");return e},i=({children:r,pdfReceiptTemplate:n,toCurrency:i,appConfig:s})=>{const a="1"===s[o.DonationMode];return e.jsx(t.Provider,{value:{pdfReceiptTemplate:n,toCurrency:i,isDonationMode:a,appConfig:s},children:r})};export{i as P,n as u};
