]), s2[n2.nameID].push(a2); this.strings = s2, this.copyright = s2[0], this.fontFamily = s2[1], this.fontSubfamily = s2[2], this.uniqueSubfamily = s2[3], this.fontName = s2[4], this.version = s2[5]; try { this.postscriptName = s2[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g, ""); } catch (t4) { this.postscriptName = s2[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g, ""); } return this.trademark = s2[7], this.manufacturer = s2[8], this.designer = s2[9], this.description = s2[10], this.vendorUrl = s2[11], this.designerUrl = s2[12], this.license = s2[13], this.licenseUrl = s2[14], this.preferredFamily = s2[15], this.preferredSubfamily = s2[17], this.compatibleFull = s2[18], this.sampleText = s2[19]; }, e; }(); var ge = function(t2) { function e() { return e.__super__.constructor.apply(this, arguments); } return oe(e, re), e.prototype.tag = "maxp", e.prototype.parse = function(t3) { return t3.pos = this.offset, this.version = t3.readInt(), this.numGlyphs = t3.readUInt16(), this.maxPoints = t3.readUInt16(), this.maxContours = t3.readUInt16(), this.maxCompositePoints = t3.readUInt16(), this.maxComponentContours = t3.readUInt16(), this.maxZones = t3.readUInt16(), this.maxTwilightPoints = t3.readUInt16(), this.maxStorage = t3.readUInt16(), this.maxFunctionDefs = t3.readUInt16(), this.maxInstructionDefs = t3.readUInt16(), this.maxStackElements = t3.readUInt16(), this.maxSizeOfInstructions = t3.readUInt16(), this.maxComponentElements = t3.readUInt16(), this.maxComponentDepth = t3.readUInt16(); }, e; }(); var me = function(t2) { function e() { return e.__super__.constructor.apply(this, arguments); } return oe(e, re), e.prototype.tag = "hmtx", e.prototype.parse = function(t3) { var e2, r, n2, i2, a2, o2, s2; for (t3.pos = this.offset, this.metrics = [], e2 = 0, o2 = this.file.hhea.numberOfMetrics; 0 <= o2 ? e2 < o2 : e2 > o2; e2 = 0 <= o2 ? ++e2 : --e2) this.metrics.push({ advance: t3.readUInt16(), lsb: t3.readInt16() }); for (n2 = this.file.maxp.numGlyphs - this.file.hhea.numberOfMetrics, this.leftSideBearings = function() { var r2, i3; for (i3 = [], e2 = r2 = 0; 0 <= n2 ? r2 < n2 : r2 > n2; e2 = 0 <= n2 ? ++r2 : --r2) i3.push(t3.readInt16()); return i3; }(), this.widths = (function() { var t4, e3, r2, n3; for (n3 = [], t4 = 0, e3 = (r2 = this.metrics).length; t4 < e3; t4++) i2 = r2[t4], n3.push(i2.advance); return n3; }).call(this), r = this.widths[this.widths.length - 1], s2 = [], e2 = a2 = 0; 0 <= n2 ? a2 < n2 : a2 > n2; e2 = 0 <= n2 ? ++a2 : --a2) s2.push(this.widths.push(r)); return s2; }, e.prototype.forGlyph = function(t3) { return t3 in this.metrics ? this.metrics[t3] : { advance: this.metrics[this.metrics.length - 1].advance, lsb: this.leftSideBearings[t3 - this.metrics.length] }; }, e; }(); var ve = [].slice; var be = function(t2) { function e() { return e.__super__.constructor.apply(this, arguments); } return oe(e, re), e.prototype.tag = "glyf", e.prototype.parse = function() { return this.cache = {}; }, e.prototype.glyphFor = function(t3) { var e2, r, n2, i2, a2, o2, s2, c2, u2, h2; return t3 in this.cache ? this.cache[t3] : (i2 = this.file.loca, e2 = this.file.contents, r = i2.indexOf(t3), 0 === (n2 = i2.lengthOf(t3)) ? this.cache[t3] = null : (e2.pos = this.offset + r, a2 = (o2 = new ne(e2.read(n2))).readShort(), c2 = o2.readShort(), h2 = o2.readShort(), s2 = o2.readShort(), u2 = o2.readShort(), this.cache[t3] = -1 === a2 ? new we(o2, c2, h2, s2, u2) : new ye(o2, a2, c2, h2, s2, u2), this.cache[t3])); }, e.prototype.encode = function(t3, e2, r) { var n2, i2, a2, o2, s2; for (a2 = [], i2 = [], o2 = 0, s2 = e2.length; o2 < s2; o2++) n2 = t3[e2[o2]], i2.push(a2.length), n2 && (a2 = a2.concat(n2.encode(r))); return i2.push(a2.length), { table: a2, offsets: i2 }; }, e; }(); var ye = function() { function t2(t3, e, r, n2, i2, a2) { this.raw = t3, this.numberOfContours = e, this.xMin = r, this.yMin = n2, this.xMax = i2, this.yMax = a2, this.compound = false; } return t2.prototype.encode = function() { return this.raw.data; }, t2; }(); var we = function() { function t2(t3, e, r, n2, i2) { var a2, o2; for (this.raw = t3, this.xMin = e, this.yMin = r, this.xMax = n2, this.yMax = i2, this.compound = true, this.glyphIDs = [], this.glyphOffsets = [], a2 = this.raw; o2 = a2.readShort(), this.glyphOffsets.push(a2.pos), this.glyphIDs.push(a2.readUInt16()), 32 & o2; ) a2.pos += 1 & o2 ? 4 : 2, 128 & o2 ? a2.pos += 8 : 64 & o2 ? a2.pos += 4 : 8 & o2 && (a2.pos += 2); } return 1, 8, 32, 64, 128, t2.prototype.encode = function() { var t3, e, r; for (e = new ne(ve.call(this.raw.data)), t3 = 0, r = this.glyphIDs.length; t3 < r; ++t3) e.pos = this.glyphOffsets[t3]; return e.data; }, t2; }(); var Ne = function(t2) { function e() { return e.__super__.constructor.apply(this, arguments); } return oe(e, re), e.prototype.tag = "loca", e.prototype.parse = function(t3) { var e2, r; return t3.pos = this.offset, e2 = this.file.head.indexToLocFormat, this.offsets = 0 === e2 ? (function() { var e3, n2; for (n2 = [], r = 0, e3 = this.length; r < e3; r += 2) n2.push(2 * t3.readUInt16()); return n2; }).call(this) : (function() { var e3, n2; for (n2 = [], r = 0, e3 = this.length; r < e3; r += 4) n2.push(t3.readUInt32()); return n2; }).call(this); }, e.prototype.indexOf = function(t3) { return this.offsets[t3]; }, e.prototype.lengthOf = function(t3) { return this.offsets[t3 + 1] - this.offsets[t3]; }, e.prototype.encode = function(t3, e2) { for (var r = new Uint32Array(this.offsets.length), n2 = 0, i2 = 0, a2 = 0; a2 < r.length; ++a2) if (r[a2] = n2, i2 < e2.length && e2[i2] == a2) { ++i2, r[a2] = n2; var o2 = this.offsets[a2], s2 = this.offsets[a2 + 1] - o2; s2 > 0 && (n2 += s2); } for (var c2 = new Array(4 * r.length), u2 = 0; u2 < r.length; ++u2) c2[4 * u2 + 3] = 255 & r[u2], c2[4 * u2 + 2] = (65280 & r[u2]) >> 8, c2[4 * u2 + 1] = (16711680 & r[u2]) >> 16, c2[4 * u2] = (4278190080 & r[u2]) >> 24; return c2; }, e; }(); var Le = function() { function t2(t3) { this.font = t3, this.subset = {}, this.unicodes = {}, this.next = 33; } return t2.prototype.generateCmap = function() { var t3, e, r, n2, i2; for (e in n2 = this.font.cmap.tables[0].codeMap, t3 = {}, i2 = this.subset) r = i2[e], t3[e] = n2[r]; return t3; }, t2.prototype.glyphsFor = function(t3) { var e, r, n2, i2, a2, o2, s2; for (n2 = {}, a2 = 0, o2 = t3.length; a2 < o2; a2++) n2[i2 = t3[a2]] = this.font.glyf.glyphFor(i2); for (i2 in e = [], n2) (null != (r = n2[i2]) ? r.compound : void 0) && e.push.apply(e, r.glyphIDs); if (e.length > 0) for (i2 in s2 = this.glyphsFor(e)) r = s2[i2], n2[i2] = r; return n2; }, t2.prototype.encode = function(t3, e) { var r, n2, i2, a2, o2, s2, c2, u2, h2, l2, f2, d2, p2, g2, m2; for (n2 in r = ue.encode(this.generateCmap(), "unicode"), a2 = this.glyphsFor(t3), f2 = { 0: 0 }, m2 = r.charMap) f2[(s2 = m2[n2]).old] = s2.new; for (d2 in l2 = r.maxGlyphID, a2) d2 in f2 || (f2[d2] = l2++); return u2 = function(t4) { var e2, r2; for (e2 in r2 = {}, t4) r2[t4[e2]] = e2; return r2; }(f2), h2 = Object.keys(u2).sort(function(t4, e2) { return t4 - e2; }), p2 = function() { var t4, e2, r2; for (r2 = [], t4 = 0, e2 = h2.length; t4 < e2; t4++) o2 = h2[t4], r2.push(u2[o2]); return r2; }(), i2 = this.font.glyf.encode(a2, p2, f2), c2 = this.font.loca.encode(i2.offsets, p2), g2 = { cmap: this.font.cmap.raw(), glyf: i2.table, loca: c2, hmtx: this.font.hmtx.raw(), hhea: this.font.hhea.raw(), maxp: this.font.maxp.raw(), post: this.font.post.raw(), name: this.font.name.raw(), head: this.font.head.encode(e) }, this.font.os2.exists && (g2["OS/2"] = this.font.os2.raw()), this.font.directory.encode(g2); }, t2; }(); E.API.PDFObject = function() { var t2; function e() { } return t2 = function(t3, e2) { return (Array(e2 + 1).join("0") + t3).slice(-e2); }, e.convert = function(r) { var n2, i2, a2, o2; if (Array.isArray(r)) return "[" + function() { var t3, i3, a3; for (a3 = [], t3 = 0, i3 = r.length; t3 < i3; t3++) n2 = r[t3], a3.push(e.convert(n2)); return a3; }().join(" ") + "]"; if ("string" == typeof r) return "/" + r; if (null != r ? r.isString : void 0) return "(" + r + ")"; if (r instanceof Date) return "(D:" + t2(r.getUTCFullYear(), 4) + t2(r.getUTCMonth(), 2) + t2(r.getUTCDate(), 2) + t2(r.getUTCHours(), 2) + t2(r.getUTCMinutes(), 2) + t2(r.getUTCSeconds(), 2) + "Z)"; if ("[object Object]" === {}.toString.call(r)) { for (i2 in a2 = ["<<"], r) o2 = r[i2], a2.push("/" + i2 + " " + e.convert(o2)); return a2.push(">>"), a2.join("\n"); } return "" + r; }, e; }(); var jspdf_es_min_default = E; // node_modules/react-to-pdf/dist/module.js var $234747a9630b4642$export$bc7c183068c332b6 = 3.77952755906; var $234747a9630b4642$export$3e4ff2216a90b8a4; (function(Resolution) { Resolution[Resolution["LOW"] = 1] = "LOW"; Resolution[Resolution["NORMAL"] = 2] = "NORMAL"; Resolution[Resolution["MEDIUM"] = 3] = "MEDIUM"; Resolution[Resolution["HIGH"] = 7] = "HIGH"; Resolution[Resolution["EXTREME"] = 12] = "EXTREME"; })($234747a9630b4642$export$3e4ff2216a90b8a4 || ($234747a9630b4642$export$3e4ff2216a90b8a4 = {})); var $234747a9630b4642$export$e717bcf55e1dfb40; (function(Margin) { Margin[Margin["NONE"] = 0] = "NONE"; Margin[Margin["SMALL"] = 5] = "SMALL"; Margin[Margin["MEDIUM"] = 10] = "MEDIUM"; Margin[Margin["LARGE"] = 25] = "LARGE"; })($234747a9630b4642$export$e717bcf55e1dfb40 || ($234747a9630b4642$export$e717bcf55e1dfb40 = {})); var $234747a9630b4642$export$93ca5d3f8675ae4c = { method: "save", resolution: $234747a9630b4642$export$3e4ff2216a90b8a4.MEDIUM, page: { margin: $234747a9630b4642$export$e717bcf55e1dfb40.NONE, format: "A4", orientation: "portrait" }, canvas: { mimeType: "image/jpeg", qualityRatio: 1, useCORS: true, logging: false }, overrides: {} }; var $d6bf1d6779fcee23$export$2e2bcd8739ae039 = class { constructor(canvas, options) { var _a2; this.canvas = canvas; this.options = options; this.pdf = new (0, jspdf_es_min_default)({ format: this.options.page.format, orientation: this.options.page.orientation, ...(_a2 = this.options.overrides) == null ? void 0 : _a2.pdf, unit: "mm" }); } getMarginTopMM() { const margin = typeof this.options.page.margin === "object" ? this.options.page.margin.top : this.options.page.margin; return Number(margin); } getMarginLeftMM() { const margin = typeof this.options.page.margin === "object" ? this.options.page.margin.left : this.options.page.margin; return Number(margin); } getMarginRightMM() { const margin = typeof this.options.page.margin === "object" ? this.options.page.margin.right : this.options.page.margin; return Number(margin); } getMarginBottomMM() { const margin = typeof this.options.page.margin === "object" ? this.options.page.margin.bottom : this.options.page.margin; return Number(margin); } getMarginTop() { return this.getMarginTopMM() * (0, $234747a9630b4642$export$bc7c183068c332b6); } getMarginBottom() { return this.getMarginBottomMM() * (0, $234747a9630b4642$export$bc7c183068c332b6); } getMarginLeft() { return this.getMarginLeftMM() * (0, $234747a9630b4642$export$bc7c183068c332b6); } getMarginRight() { return this.getMarginRightMM() * (0, $234747a9630b4642$export$bc7c183068c332b6); } getScale() { return this.options.resolution; } getPageHeight() { return this.getPageHeightMM() * (0, $234747a9630b4642$export$bc7c183068c332b6); } getPageHeightMM() { return this.pdf.internal.pageSize.height; } getPageWidthMM() { return this.pdf.internal.pageSize.width; } getPageWidth() { return this.getPageWidthMM() * (0, $234747a9630b4642$export$bc7c183068c332b6); } getOriginalCanvasWidth() { return this.canvas.width / this.getScale(); } getOriginalCanvasHeight() { return this.canvas.height / this.getScale(); } getCanvasPageAvailableHeight() { return this.getPageAvailableHeight() * this.getScale() * this.getHorizontalFitFactor(); } getPageAvailableWidth() { return this.getPageWidth() - (this.getMarginLeft() + this.getMarginRight()); } getPageAvailableHeight() { return this.getPageHeight() - (this.getMarginTop() + this.getMarginBottom()); } getPageAvailableWidthMM() { return this.getPageAvailableWidth() / (0, $234747a9630b4642$export$bc7c183068c332b6); } getPageAvailableHeightMM() { return this.getPageAvailableHeight() / (0, $234747a9630b4642$export$bc7c183068c332b6); } getNumberPages() { return Math.ceil(this.canvas.height / this.getCanvasPageAvailableHeight()); } getHorizontalFitFactor() { if (this.getPageAvailableWidth() < this.getOriginalCanvasWidth()) return this.getOriginalCanvasWidth() / this.getPageAvailableWidth(); return 1; } getCanvasOffsetY(pageNumber) { return this.getCanvasPageAvailableHeight() * (pageNumber - 1); } getCanvasHeightLeft(pageNumber) { return this.canvas.height - this.getCanvasOffsetY(pageNumber); } getCanvasPageHeight(pageNumber) { if (this.canvas.height < this.getCanvasPageAvailableHeight()) return this.canvas.height; const canvasHeightPending = this.getCanvasHeightLeft(pageNumber); return canvasHeightPending < this.getCanvasPageAvailableHeight() ? canvasHeightPending : this.getCanvasPageAvailableHeight(); } getCanvasPageWidth() { return this.canvas.width; } createCanvasPage(pageNumber) { const canvasPageWidth = this.getCanvasPageWidth(); const canvasPageHeight = this.getCanvasPageHeight(pageNumber); const canvasPage = document.createElement("canvas"); canvasPage.setAttribute("width", String(canvasPageWidth)); canvasPage.setAttribute("height", String(canvasPageHeight)); const ctx = canvasPage.getContext("2d"); ctx.drawImage(this.canvas, 0, this.getCanvasOffsetY(pageNumber), this.canvas.width, canvasPageHeight, 0, 0, this.canvas.width, canvasPageHeight); return canvasPage; } convert() { let pageNumber = 1; const numberPages = this.getNumberPages(); while (pageNumber <= numberPages) { if (pageNumber > 1) this.pdf.addPage(this.options.page.format, this.options.page.orientation); const canvasPage = this.createCanvasPage(pageNumber); const pageImageDataURL = canvasPage.toDataURL(this.options.canvas.mimeType, this.options.canvas.qualityRatio); this.pdf.setPage(pageNumber); this.pdf.addImage({ imageData: pageImageDataURL, width: canvasPage.width / (this.getScale() * (0, $234747a9630b4642$export$bc7c183068c332b6) * this.getHorizontalFitFactor()), height: canvasPage.height / (this.getScale() * (0, $234747a9630b4642$export$bc7c183068c332b6) * this.getHorizontalFitFactor()), x: this.getMarginLeftMM(), y: this.getMarginTopMM() }); pageNumber += 1; } return this.pdf; } }; var $fab42eb3dee39b5b$export$697e52778de11d88 = (options) => { if (!options) return 0, $234747a9630b4642$export$93ca5d3f8675ae4c; return { ...(0, $234747a9630b4642$export$93ca5d3f8675ae4c), ...options, canvas: { ...(0, $234747a9630b4642$export$93ca5d3f8675ae4c).canvas, ...options.canvas }, page: { ...(0, $234747a9630b4642$export$93ca5d3f8675ae4c).page, ...options.page } }; }; var $149c1bd638913645$var$getTargetElement = (targetRefOrFunction) => { if (typeof targetRefOrFunction === "function") return targetRefOrFunction(); return targetRefOrFunction == null ? void 0 : targetRefOrFunction.current; }; var $149c1bd638913645$export$398b9fbd663a6614 = (usePDFoptions) => { const targetRef = (0, import_react.useRef)(); const toPDF = (0, import_react.useCallback)((toPDFoptions) => { return $149c1bd638913645$var$generatePDF(targetRef, usePDFoptions ?? toPDFoptions); }, [ targetRef, usePDFoptions ]); return { targetRef, toPDF }; }; var $149c1bd638913645$var$generatePDF = async (targetRefOrFunction, customOptions) => { var _a2; const options = (0, $fab42eb3dee39b5b$export$697e52778de11d88)(customOptions); const targetElement = $149c1bd638913645$var$getTargetElement(targetRefOrFunction); if (!targetElement) { console.error("Unable to get the target element."); return; } const canvas = await (0, html2canvas_esm_default)(targetElement, { useCORS: options.canvas.useCORS, logging: options.canvas.logging, scale: options.resolution, ...(_a2 = options.overrides) == null ? void 0 : _a2.canvas }); const converter = new (0, $d6bf1d6779fcee23$export$2e2bcd8739ae039)(canvas, options); const pdf = converter.convert(); switch (options.method) { case "build": return pdf; case "open": window.open(pdf.output("bloburl"), "_blank"); return pdf; case "save": default: { const pdfFilename = options.filename ?? `${(/* @__PURE__ */ new Date()).getTime()}.pdf`; await pdf.save(pdfFilename, { returnPromise: true }); return pdf; } } }; var $149c1bd638913645$export$2e2bcd8739ae039 = $149c1bd638913645$var$generatePDF; export { $234747a9630b4642$export$e717bcf55e1dfb40 as Margin, $234747a9630b4642$export$3e4ff2216a90b8a4 as Resolution, $149c1bd638913645$export$2e2bcd8739ae039 as default, $149c1bd638913645$export$398b9fbd663a6614 as usePDF }; /*! Bundled license information: jspdf/dist/jspdf.es.min.js: (** @license * * jsPDF - PDF Document creation from JavaScript * Version 2.5.2 Built on 2024-09-17T13:29:57.859Z * CommitID 00000000 * * Copyright (c) 2010-2021 James Hall , https://github.com/MrRio/jsPDF * 2015-2021 yWorks GmbH, http://www.yworks.com * 2015-2021 Lukas Holländer , https://github.com/HackbrettXXX * 2016-2018 Aras Abbasi * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, https://github.com/willowsystems * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco *) (** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it *) (** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong *) (** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php *) (** * @license * Licensed under the MIT License. * http://opensource.org/licenses/mit-license * Author: Owen Leong (@owenl131) * Date: 15 Oct 2020 * References: * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt * https://github.com/foliojs/pdfkit/blob/master/lib/security.js * http://www.fpdf.org/en/script/script37.php *) (** * @license * * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ==================================================================== *) (** * @license * (c) Dean McNamee , 2013. * * https://github.com/deanm/omggif * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. * * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, * including animation and compression. It does not rely on any specific * underlying system, so should run in the browser, Node, or Plask. *) (** * @license Copyright (c) 2008, Adobe Systems Incorporated All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Adobe Systems Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *) (** * @license * Copyright (c) 2017 Aras Abbasi * * Licensed under the MIT License. * http://opensource.org/licenses/mit-license *) */ //# sourceMappingURL=react-to-pdf.js.map Ә