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AAA;YAAA,OAAAzB,QAAA,CAAA0B,IAAA;QAAA;MAAA;IAAA,GAAA/C,OAAA;EAAA,CACd;EAAA,gBA7DYL,eAAeA,CAAA;IAAA,OAAAC,IAAA,CAAAoD,KAAA,OAAA9B,SAAA;EAAA;AAAA,GA6D3B","sources":["webpack://smetio/./developement/js/functions/apps/invoices/downloadInvoice.js"],"sourcesContent":["\r\nexport const downloadInvoice = async (functionParameters = {}) => {\r\n\r\n let { downloadLink, invoiceNumber } = functionParameters;\r\n\r\n const { SmetioSmartbox } = (await import(/* webpackPrefetch: true */ \"../../../classes/smetioSmartbox/v1.0.0/SmetioSmartbox.js\"));\r\n const { setTxtV2 } = (await import(/* webpackPrefetch: true */ \"../../../classes/universal_methods/setTxtV2.js\"));\r\n const {copyToClipboard} = (await import(/* webpackPrefetch: true */ \"../../copyAndPaste/copyToClipboard.js\"));\r\n \r\n const copyPasteMsg = setTxtV2({\r\n attributes: {},\r\n txt: \"txt1857\",\r\n type: \"html\"\r\n });\r\n \r\n window.copyLinkInvoiceDownloadLink = () => {\r\n return copyToClipboard({ theDataToCopy: downloadLink, message:copyPasteMsg });\r\n };\r\n\r\n const preparingFile = setTxtV2({\r\n attributes: {},\r\n txt: \"txt1855\",\r\n type: \"html\"\r\n });\r\n const downloadStartsSoon = setTxtV2({\r\n attributes: {},\r\n txt: \"txt1859\",\r\n type: \"html\"\r\n });\r\n\r\n const copyLinkText = setTxtV2({\r\n attributes: {},\r\n txt: \"txt1858\",\r\n type: \"html\"\r\n });\r\n\r\n\r\n const content = `\r\n
${downloadStartsSoon}
\r\n \r\n \r\n