first commit

This commit is contained in:
2026-04-13 07:15:44 +00:00
parent ad29150770
commit 97a4e3af52
239 changed files with 6671 additions and 91 deletions

511
node_modules/.vite/deps/dom-to-image-more.js generated vendored Normal file
View File

@@ -0,0 +1,511 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/dom-to-image-more/dist/dom-to-image-more.min.js
var require_dom_to_image_more_min = __commonJS({
"node_modules/dom-to-image-more/dist/dom-to-image-more.min.js"(exports, module) {
((l) => {
let m = /* @__PURE__ */ (() => {
let e2 = 0;
return { escape: function(e3) {
return e3.replace(/([.*+?^${}()|[\]/\\])/g, "\\$1");
}, isDataUrl: function(e3) {
return -1 !== e3.search(/^(data:)/);
}, canvasToBlob: function(t3) {
if (t3.toBlob) return new Promise(function(e3) {
t3.toBlob(e3);
});
return ((r3) => new Promise(function(e3) {
var t4 = s(r3.toDataURL().split(",")[1]), n3 = t4.length, o3 = new Uint8Array(n3);
for (let e4 = 0; e4 < n3; e4++) o3[e4] = t4.charCodeAt(e4);
e3(new Blob([o3], { type: "image/png" }));
}))(t3);
}, resolveUrl: function(e3, t3) {
var n3 = document.implementation.createHTMLDocument(), o3 = n3.createElement("base"), r3 = (n3.head.appendChild(o3), n3.createElement("a"));
return n3.body.appendChild(r3), o3.href = t3, r3.href = e3, r3.href;
}, getAndEncode: function(l2) {
let e3 = d.impl.urlCache.find(function(e4) {
return e4.url === l2;
});
e3 || (e3 = { url: l2, promise: null }, d.impl.urlCache.push(e3));
null === e3.promise && (d.impl.options.cacheBust && (l2 += (/\?/.test(l2) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime()), e3.promise = new Promise(function(n3) {
let r3 = new XMLHttpRequest();
function i3(e5) {
console.error(e5), n3("");
}
function t3() {
var e5 = d.impl.options.imagePlaceholder;
e5 ? n3(e5) : i3("Status:" + r3.status + " while fetching resource: " + l2);
}
if (r3.timeout = d.impl.options.httpTimeout, r3.onerror = t3, r3.ontimeout = t3, r3.onloadend = function() {
if (r3.readyState === XMLHttpRequest.DONE) {
var e5 = r3.status;
if (0 === e5 && l2.toLowerCase().startsWith("file://") || 200 <= e5 && e5 <= 300 && null !== r3.response) {
e5 = r3.response;
e5 instanceof Blob || i3("Expected response to be a Blob, but got: " + typeof e5);
let t4 = new FileReader();
t4.onloadend = function() {
var e6 = t4.result;
n3(e6);
};
try {
t4.readAsDataURL(e5);
} catch (e6) {
i3("Failed to read the response as Data URL: " + e6.toString());
}
} else t3();
}
}, 0 < d.impl.options.useCredentialsFilters.length && (d.impl.options.useCredentials = 0 < d.impl.options.useCredentialsFilters.filter((e5) => 0 <= l2.search(e5)).length), d.impl.options.useCredentials && (r3.withCredentials = true), d.impl.options.corsImg && 0 === l2.indexOf("http") && -1 === l2.indexOf(window.location.origin)) {
var e4 = "POST" === (d.impl.options.corsImg.method || "GET").toUpperCase() ? "POST" : "GET";
r3.open(e4, (d.impl.options.corsImg.url || "").replace("#{cors}", l2), true);
let t4 = false, n4 = d.impl.options.corsImg.headers || {}, o3 = (Object.keys(n4).forEach(function(e5) {
-1 !== n4[e5].indexOf("application/json") && (t4 = true), r3.setRequestHeader(e5, n4[e5]);
}), ((e5) => {
try {
return JSON.parse(JSON.stringify(e5));
} catch (e6) {
i3("corsImg.data is missing or invalid:" + e6.toString());
}
})(d.impl.options.corsImg.data || ""));
Object.keys(o3).forEach(function(e5) {
"string" == typeof o3[e5] && (o3[e5] = o3[e5].replace("#{cors}", l2));
}), r3.responseType = "blob", r3.send(t4 ? JSON.stringify(o3) : o3);
} else r3.open("GET", l2, true), r3.responseType = "blob", r3.send();
}));
return e3.promise;
}, uid: function() {
return "u" + ("0000" + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4) + e2++;
}, asArray: function(t3) {
var n3 = [], o3 = t3.length;
for (let e3 = 0; e3 < o3; e3++) n3.push(t3[e3]);
return n3;
}, escapeXhtml: function(e3) {
return e3.replace(/%/g, "%25").replace(/#/g, "%23").replace(/\n/g, "%0A");
}, makeImage: function(r3) {
return "data:," !== r3 ? new Promise(function(e3, t3) {
let n3 = document.createElementNS("http://www.w3.org/2000/svg", "svg"), o3 = new Image();
d.impl.options.useCredentials && (o3.crossOrigin = "use-credentials"), o3.onload = function() {
document.body.removeChild(n3), window && window.requestAnimationFrame ? window.requestAnimationFrame(function() {
e3(o3);
}) : e3(o3);
}, o3.onerror = (e4) => {
document.body.removeChild(n3), t3(e4);
}, n3.appendChild(o3), o3.src = r3, document.body.appendChild(n3);
}) : Promise.resolve();
}, width: function(e3) {
var t3 = i2(e3, "width");
if (!isNaN(t3)) return t3;
var t3 = i2(e3, "border-left-width"), n3 = i2(e3, "border-right-width");
return e3.scrollWidth + t3 + n3;
}, height: function(e3) {
var t3 = i2(e3, "height");
if (!isNaN(t3)) return t3;
var t3 = i2(e3, "border-top-width"), n3 = i2(e3, "border-bottom-width");
return e3.scrollHeight + t3 + n3;
}, getWindow: t2, isElement: r2, isElementHostForOpenShadowRoot: function(e3) {
return r2(e3) && null !== e3.shadowRoot;
}, isShadowRoot: n2, isInShadowRoot: o2, isHTMLElement: function(e3) {
return e3 instanceof t2(e3).HTMLElement;
}, isHTMLCanvasElement: function(e3) {
return e3 instanceof t2(e3).HTMLCanvasElement;
}, isHTMLInputElement: function(e3) {
return e3 instanceof t2(e3).HTMLInputElement;
}, isHTMLImageElement: function(e3) {
return e3 instanceof t2(e3).HTMLImageElement;
}, isHTMLLinkElement: function(e3) {
return e3 instanceof t2(e3).HTMLLinkElement;
}, isHTMLScriptElement: function(e3) {
return e3 instanceof t2(e3).HTMLScriptElement;
}, isHTMLStyleElement: function(e3) {
return e3 instanceof t2(e3).HTMLStyleElement;
}, isHTMLTextAreaElement: function(e3) {
return e3 instanceof t2(e3).HTMLTextAreaElement;
}, isShadowSlotElement: function(e3) {
return o2(e3) && e3 instanceof t2(e3).HTMLSlotElement;
}, isSVGElement: function(e3) {
return e3 instanceof t2(e3).SVGElement;
}, isSVGRectElement: function(e3) {
return e3 instanceof t2(e3).SVGRectElement;
}, isDimensionMissing: function(e3) {
return isNaN(e3) || e3 <= 0;
} };
function t2(e3) {
e3 = e3 ? e3.ownerDocument : void 0;
return (e3 ? e3.defaultView : void 0) || window || l;
}
function n2(e3) {
return e3 instanceof t2(e3).ShadowRoot;
}
function o2(e3) {
return null != e3 && void 0 !== e3.getRootNode && n2(e3.getRootNode());
}
function r2(e3) {
return e3 instanceof t2(e3).Element;
}
function i2(t3, n3) {
if (t3.nodeType === f) {
let e3 = h(t3).getPropertyValue(n3);
if ("px" === e3.slice(-2)) return e3 = e3.slice(0, -2), parseFloat(e3);
}
return NaN;
}
})(), r = /* @__PURE__ */ (() => {
let o2 = /url\(\s*(["']?)((?:\\.|[^\\)])+)\1\s*\)/gm;
return { inlineAll: function(t2, o3, r3) {
if (!e2(t2)) return Promise.resolve(t2);
return Promise.resolve(t2).then(n2).then(function(e3) {
let n3 = Promise.resolve(t2);
return e3.forEach(function(t3) {
n3 = n3.then(function(e4) {
return i2(e4, t3, o3, r3);
});
}), n3;
});
}, shouldProcess: e2, impl: { readUrls: n2, inline: i2, urlAsRegex: r2 } };
function e2(e3) {
return -1 !== e3.search(o2);
}
function n2(e3) {
for (var t2, n3 = []; null !== (t2 = o2.exec(e3)); ) n3.push(t2[2]);
return n3.filter(function(e4) {
return !m.isDataUrl(e4);
});
}
function r2(e3) {
return new RegExp(`url\\((["']?)(${m.escape(e3)})\\1\\)`, "gm");
}
function i2(n3, o3, t2, e3) {
return Promise.resolve(o3).then(function(e4) {
return t2 ? m.resolveUrl(e4, t2) : e4;
}).then(e3 || m.getAndEncode).then(function(e4) {
var t3 = r2(o3);
return n3.replace(t3, `url($1${e4}$1)`);
});
}
})(), e = { resolveAll: function() {
return t().then(function(e2) {
return Promise.all(e2.map(function(e3) {
return e3.resolve();
}));
}).then(function(e2) {
return e2.join("\n");
});
}, impl: { readAll: t } };
function t() {
return Promise.resolve(m.asArray(document.styleSheets)).then(function(e2) {
let n2 = [];
return e2.forEach(function(t3) {
var e3 = Object.getPrototypeOf(t3);
if (Object.prototype.hasOwnProperty.call(e3, "cssRules")) try {
m.asArray(t3.cssRules || []).forEach(n2.push.bind(n2));
} catch (e4) {
console.error("domtoimage: Error while reading CSS rules from: " + t3.href, e4.toString());
}
}), n2;
}).then(function(e2) {
return e2.filter(function(e3) {
return e3.type === CSSRule.FONT_FACE_RULE;
}).filter(function(e3) {
return r.shouldProcess(e3.style.getPropertyValue("src"));
});
}).then(function(e2) {
return e2.map(t2);
});
function t2(t3) {
return { resolve: function() {
var e2 = (t3.parentStyleSheet || {}).href;
return r.inlineAll(t3.cssText, e2);
}, src: function() {
return t3.style.getPropertyValue("src");
} };
}
}
let n = { inlineAll: function t2(e2) {
if (!m.isElement(e2)) return Promise.resolve(e2);
return n2(e2).then(function() {
return m.isHTMLImageElement(e2) ? o(e2).inline() : Promise.all(m.asArray(e2.childNodes).map(function(e3) {
return t2(e3);
}));
});
function n2(o2) {
let e3 = ["background", "background-image"], t3 = e3.map(function(t4) {
let e4 = o2.style.getPropertyValue(t4), n3 = o2.style.getPropertyPriority(t4);
return e4 ? r.inlineAll(e4).then(function(e5) {
o2.style.setProperty(t4, e5, n3);
}) : Promise.resolve();
});
return Promise.all(t3).then(function() {
return o2;
});
}
}, impl: { newImage: o } };
function o(n2) {
return { inline: function(e2) {
if (m.isDataUrl(n2.src)) return Promise.resolve();
return Promise.resolve(n2.src).then(e2 || m.getAndEncode).then(function(t2) {
return new Promise(function(e3) {
n2.onload = e3, n2.onerror = e3, n2.src = t2;
});
});
} };
}
let i = { copyDefaultStyles: true, imagePlaceholder: void 0, cacheBust: false, useCredentials: false, useCredentialsFilters: [], httpTimeout: 3e4, styleCaching: "strict", corsImg: void 0, adjustClonedNode: void 0, filterStyles: void 0 }, d = { toSvg: u, toPng: function(e2, t2) {
return a(e2, t2).then(function(e3) {
return e3.toDataURL();
});
}, toJpeg: function(e2, t2) {
return a(e2, t2).then(function(e3) {
return e3.toDataURL("image/jpeg", (t2 ? t2.quality : void 0) || 1);
});
}, toBlob: function(e2, t2) {
return a(e2, t2).then(m.canvasToBlob);
}, toPixelData: function(t2, e2) {
return a(t2, e2).then(function(e3) {
return e3.getContext("2d").getImageData(0, 0, m.width(t2), m.height(t2)).data;
});
}, toCanvas: a, impl: { fontFaces: e, images: n, util: m, inliner: r, urlCache: [], options: {}, copyOptions: function(e2) {
void 0 === e2.copyDefaultStyles ? d.impl.options.copyDefaultStyles = i.copyDefaultStyles : d.impl.options.copyDefaultStyles = e2.copyDefaultStyles;
d.impl.options.imagePlaceholder = (void 0 === e2.imagePlaceholder ? i : e2).imagePlaceholder;
d.impl.options.cacheBust = (void 0 === e2.cacheBust ? i : e2).cacheBust;
d.impl.options.corsImg = (void 0 === e2.corsImg ? i : e2).corsImg;
d.impl.options.useCredentials = (void 0 === e2.useCredentials ? i : e2).useCredentials;
d.impl.options.useCredentialsFilters = (void 0 === e2.useCredentialsFilters ? i : e2).useCredentialsFilters;
d.impl.options.httpTimeout = (void 0 === e2.httpTimeout ? i : e2).httpTimeout;
d.impl.options.styleCaching = (void 0 === e2.styleCaching ? i : e2).styleCaching;
} } }, f = ("object" == typeof exports && "object" == typeof module ? module.exports = d : l.domtoimage = d, (void 0 === Node ? void 0 : Node.ELEMENT_NODE) || 1), h = (void 0 === l ? void 0 : l.getComputedStyle) || (void 0 === window ? void 0 : window.getComputedStyle) || globalThis.getComputedStyle, s = (void 0 === l ? void 0 : l.atob) || (void 0 === window ? void 0 : window.atob) || globalThis.atob;
function u(t2, r2) {
let n2 = d.impl.util.getWindow(t2), o2 = (r2 = r2 || {}, d.impl.copyOptions(r2), []);
return Promise.resolve(t2).then(function(e2) {
if (e2.nodeType === f) return e2;
var t3 = e2, n3 = document.createElement("span");
return t3.replaceWith(n3), n3.append(e2), o2.push({ child: t3, wrapper: n3 }), n3;
}).then(function(e2) {
return (function l2(t3, s2, i2, u2) {
let e3 = s2.filter;
if (t3 === p || m.isHTMLScriptElement(t3) || m.isHTMLStyleElement(t3) || m.isHTMLLinkElement(t3) || null !== i2 && e3 && !e3(t3)) return Promise.resolve();
return Promise.resolve(t3).then(n3).then(o3).then(function(e4) {
return c2(e4, a2(t3));
}).then(r3).then(function(e4) {
return d2(e4, t3);
});
function n3(e4) {
return m.isHTMLCanvasElement(e4) ? m.makeImage(e4.toDataURL()) : e4.cloneNode(false);
}
function o3(e4) {
return s2.adjustClonedNode && s2.adjustClonedNode(t3, e4, false), Promise.resolve(e4);
}
function r3(e4) {
return s2.adjustClonedNode && s2.adjustClonedNode(t3, e4, true), Promise.resolve(e4);
}
function a2(e4) {
return m.isElementHostForOpenShadowRoot(e4) ? e4.shadowRoot : e4;
}
function c2(n4, e4) {
let o4 = t4(e4), r4 = Promise.resolve();
if (0 !== o4.length) {
let t5 = h(i3(e4));
m.asArray(o4).forEach(function(e5) {
r4 = r4.then(function() {
return l2(e5, s2, t5, u2).then(function(e6) {
e6 && n4.appendChild(e6);
});
});
});
}
return r4.then(function() {
return n4;
});
function i3(e5) {
return m.isShadowRoot(e5) ? e5.host : e5;
}
function t4(t5) {
if (m.isShadowSlotElement(t5)) {
let e5 = t5.assignedNodes();
if (e5 && 0 < e5.length) return e5;
}
return t5.childNodes;
}
}
function d2(u3, a3) {
return !m.isElement(u3) || m.isShadowSlotElement(a3) ? Promise.resolve(u3) : Promise.resolve().then(t4).then(n4).then(o4).then(r4).then(e4).then(function() {
return u3;
});
function e4() {
m.isHTMLImageElement(u3) && (u3.removeAttribute("loading"), a3.srcset || a3.sizes) && (u3.removeAttribute("srcset"), u3.removeAttribute("sizes"), u3.src = a3.currentSrc || a3.src);
}
function t4() {
function o5(e6, t5) {
t5.font = e6.font, t5.fontFamily = e6.fontFamily, t5.fontFeatureSettings = e6.fontFeatureSettings, t5.fontKerning = e6.fontKerning, t5.fontSize = e6.fontSize, t5.fontStretch = e6.fontStretch, t5.fontStyle = e6.fontStyle, t5.fontVariant = e6.fontVariant, t5.fontVariantCaps = e6.fontVariantCaps, t5.fontVariantEastAsian = e6.fontVariantEastAsian, t5.fontVariantLigatures = e6.fontVariantLigatures, t5.fontVariantNumeric = e6.fontVariantNumeric, t5.fontVariationSettings = e6.fontVariationSettings, t5.fontWeight = e6.fontWeight;
}
function e5(e6, t5) {
let n5 = h(e6);
n5.cssText ? (t5.style.cssText = n5.cssText, o5(n5, t5.style)) : (y(s2, e6, n5, i2, t5), null === i2 && (["inset-block", "inset-block-start", "inset-block-end"].forEach((e7) => t5.style.removeProperty(e7)), ["left", "right", "top", "bottom"].forEach((e7) => {
t5.style.getPropertyValue(e7) && t5.style.setProperty(e7, "0px");
})));
}
e5(a3, u3);
}
function n4() {
let s3 = m.uid();
function t5(r5) {
let i3 = h(a3, r5), l3 = i3.getPropertyValue("content");
if ("" !== l3 && "none" !== l3) {
let n6 = function() {
let e6 = `.${s3}:` + r5, t7 = (i3.cssText ? n7 : o5)();
return document.createTextNode(e6 + `{${t7}}`);
function n7() {
return `${i3.cssText} content: ${l3};`;
}
function o5() {
let e7 = m.asArray(i3).map(t8).join("; ");
return e7 + ";";
function t8(e8) {
let t9 = i3.getPropertyValue(e8), n8 = i3.getPropertyPriority(e8) ? " !important" : "";
return e8 + ": " + t9 + n8;
}
}
};
var n5 = n6;
let e5 = u3.getAttribute("class") || "", t6 = (u3.setAttribute("class", e5 + " " + s3), document.createElement("style"));
t6.appendChild(n6()), u3.appendChild(t6);
}
}
[":before", ":after"].forEach(function(e5) {
t5(e5);
});
}
function o4() {
m.isHTMLTextAreaElement(a3) && (u3.innerHTML = a3.value), m.isHTMLInputElement(a3) && u3.setAttribute("value", a3.value);
}
function r4() {
m.isSVGElement(u3) && (u3.setAttribute("xmlns", "http://www.w3.org/2000/svg"), m.isSVGRectElement(u3)) && ["width", "height"].forEach(function(e5) {
let t5 = u3.getAttribute(e5);
t5 && u3.style.setProperty(e5, t5);
});
}
}
})(e2, r2, null, n2);
}).then(r2.disableEmbedFonts ? Promise.resolve(t2) : c).then(r2.disableInlineImages ? Promise.resolve(t2) : g).then(function(t3) {
r2.bgcolor && (t3.style.backgroundColor = r2.bgcolor);
r2.width && (t3.style.width = r2.width + "px");
r2.height && (t3.style.height = r2.height + "px");
r2.style && Object.keys(r2.style).forEach(function(e3) {
t3.style[e3] = r2.style[e3];
});
let e2 = null;
"function" == typeof r2.onclone && (e2 = r2.onclone(t3));
return Promise.resolve(e2).then(function() {
return t3;
});
}).then(function(e2) {
let n3 = r2.width || m.width(t2), o3 = r2.height || m.height(t2);
return Promise.resolve(e2).then(function(e3) {
return e3.setAttribute("xmlns", "http://www.w3.org/1999/xhtml"), new XMLSerializer().serializeToString(e3);
}).then(m.escapeXhtml).then(function(e3) {
var t3 = (m.isDimensionMissing(n3) ? ' width="100%"' : ` width="${n3}"`) + (m.isDimensionMissing(o3) ? ' height="100%"' : ` height="${o3}"`);
return `<svg xmlns="http://www.w3.org/2000/svg"${(m.isDimensionMissing(n3) ? "" : ` width="${n3}"`) + (m.isDimensionMissing(o3) ? "" : ` height="${o3}"`)}><foreignObject${t3}>${e3}</foreignObject></svg>`;
}).then(function(e3) {
return "data:image/svg+xml;charset=utf-8," + e3;
});
}).then(function(e2) {
for (; 0 < o2.length; ) {
var t3 = o2.pop();
t3.wrapper.replaceWith(t3.child);
}
return e2;
}).then(function(e2) {
return d.impl.urlCache = [], (() => {
p && (document.body.removeChild(p), p = null), v && clearTimeout(v), v = setTimeout(() => {
v = null, w = {};
}, 2e4);
})(), e2;
});
}
function a(r2, i2) {
return u(r2, i2 = i2 || {}).then(m.makeImage).then(function(e2) {
var t2 = "number" != typeof i2.scale ? 1 : i2.scale, n2 = ((e3, t3) => {
let n3 = i2.width || m.width(e3), o3 = i2.height || m.height(e3);
return m.isDimensionMissing(n3) && (n3 = m.isDimensionMissing(o3) ? 300 : 2 * o3), m.isDimensionMissing(o3) && (o3 = n3 / 2), (e3 = document.createElement("canvas")).width = n3 * t3, e3.height = o3 * t3, i2.bgcolor && ((t3 = e3.getContext("2d")).fillStyle = i2.bgcolor, t3.fillRect(0, 0, e3.width, e3.height)), e3;
})(r2, t2), o2 = n2.getContext("2d");
return o2.msImageSmoothingEnabled = false, o2.imageSmoothingEnabled = false, e2 && (o2.scale(t2, t2), o2.drawImage(e2, 0, 0)), n2;
});
}
let p = null;
function c(n2) {
return e.resolveAll().then(function(e2) {
var t2;
return "" !== e2 && (t2 = document.createElement("style"), n2.appendChild(t2), t2.appendChild(document.createTextNode(e2))), n2;
});
}
function g(e2) {
return n.inlineAll(e2).then(function() {
return e2;
});
}
function y(i2, l2, s2, u2, e2) {
let a2 = d.impl.options.copyDefaultStyles ? ((t2, e3) => {
var n2, o2 = ((e4) => ("relaxed" !== t2.styleCaching ? e4 : e4.filter((e5, t3, n3) => 0 === t3 || t3 === n3.length - 1)).join(">"))(e3 = ((e4) => {
var t3 = [];
do {
if (e4.nodeType === f) {
var n3 = e4.tagName;
if (t3.push(n3), E.includes(n3)) break;
}
} while (e4 = e4.parentNode);
return t3;
})(e3));
{
if (w[o2]) return w[o2];
e3 = ((e4, t3) => {
let n3 = e4.body;
do {
var o3 = t3.pop(), o3 = e4.createElement(o3);
n3.appendChild(o3), n3 = o3;
} while (0 < t3.length);
return n3.textContent = "", n3;
})((n2 = (() => {
if (p) return p.contentWindow;
t3 = document.characterSet || "UTF-8", e4 = (e4 = document.doctype) ? (`<!DOCTYPE ${s3(e4.name)} ${s3(e4.publicId)} ` + s3(e4.systemId)).trim() + ">" : "", (p = document.createElement("iframe")).id = "domtoimage-sandbox-" + m.uid(), p.style.top = "-9999px", p.style.visibility = "hidden", p.style.position = "fixed", document.body.appendChild(p);
var e4, t3, n3 = p, o3 = "domtoimage-sandbox";
try {
return n3.contentWindow.document.write(e4 + `<html><head><meta charset='${t3}'><title>${o3}</title></head><body></body></html>`), n3.contentWindow;
} catch (e5) {
}
var r3 = document.createElement("meta");
r3.setAttribute("charset", t3);
try {
var i4 = document.implementation.createHTMLDocument(o3), l3 = (i4.head.appendChild(r3), e4 + i4.documentElement.outerHTML);
return n3.setAttribute("srcdoc", l3), n3.contentWindow;
} catch (e5) {
}
return n3.contentDocument.head.appendChild(r3), n3.contentDocument.title = o3, n3.contentWindow;
function s3(e5) {
var t4;
return e5 ? ((t4 = document.createElement("div")).innerText = e5, t4.innerHTML) : "";
}
})()).document, e3), n2 = ((e4, t3) => {
let n3 = {}, o3 = e4.getComputedStyle(t3);
return m.asArray(o3).forEach(function(e5) {
n3[e5] = "width" === e5 || "height" === e5 ? "auto" : o3.getPropertyValue(e5);
}), n3;
})(n2, e3);
var r2 = e3;
do {
var i3 = r2.parentElement;
null !== i3 && i3.removeChild(r2), r2 = i3;
} while (r2 && "BODY" !== r2.tagName);
return w[o2] = n2;
}
})(i2, l2) : {}, c2 = e2.style;
m.asArray(s2).forEach(function(e3) {
var t2, n2, o2, r2;
i2.filterStyles && !i2.filterStyles(l2, e3) || (n2 = s2.getPropertyValue(e3), o2 = a2[e3], t2 = u2 ? u2.getPropertyValue(e3) : void 0, c2.getPropertyValue(e3)) || (n2 !== o2 || u2 && n2 !== t2) && (o2 = s2.getPropertyPriority(e3), t2 = c2, n2 = n2, o2 = o2, r2 = 0 <= ["background-clip"].indexOf(e3 = e3), o2 ? (t2.setProperty(e3, n2, o2), r2 && t2.setProperty("-webkit-" + e3, n2, o2)) : (t2.setProperty(e3, n2), r2 && t2.setProperty("-webkit-" + e3, n2)));
});
}
let v = null, w = {}, E = ["ADDRESS", "ARTICLE", "ASIDE", "BLOCKQUOTE", "DETAILS", "DIALOG", "DD", "DIV", "DL", "DT", "FIELDSET", "FIGCAPTION", "FIGURE", "FOOTER", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HEADER", "HGROUP", "HR", "LI", "MAIN", "NAV", "OL", "P", "PRE", "SECTION", "SVG", "TABLE", "UL", "math", "svg", "BODY", "HEAD", "HTML"];
})(exports);
}
});
export default require_dom_to_image_more_min();
//# sourceMappingURL=dom-to-image-more.js.map