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

26
node_modules/.package-lock.json generated vendored
View File

@@ -347,6 +347,26 @@
"postcss": "^8.1.0"
}
},
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"license": "MIT"
},
"node_modules/baseline-browser-mapping": {
"version": "2.10.0",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.0.tgz",
@@ -520,6 +540,12 @@
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
"license": "MIT"
},
"node_modules/dom-to-image-more": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/dom-to-image-more/-/dom-to-image-more-3.7.2.tgz",
"integrity": "sha512-uQf+pHv6eQhgfI8t2bFuinV0KsPyT8TZgCLwcSU8uBVgN9v6leb0mMpvp6HQAlAcplP3NCcGjxbdqef6pTzvmw==",
"license": "MIT"
},
"node_modules/electron-to-chromium": {
"version": "1.5.307",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.307.tgz",

View File

@@ -11,6 +11,7 @@ import {
text,
toHtml
} from "./chunk-363EPHLC.js";
import "./chunk-BUSYA2B4.js";
export {
config,
counter,

View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/@fortawesome/free-brands-svg-icons/index.mjs
var prefix = "fab";
var faMonero = {

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/@fortawesome/free-solid-svg-icons/index.mjs
var prefix = "fas";
var fa0 = {

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,7 @@ import {
parse,
text
} from "./chunk-363EPHLC.js";
import "./chunk-BUSYA2B4.js";
// node_modules/@fortawesome/vue-fontawesome/index.es.js
function ownKeys(object, enumerableOnly) {

File diff suppressed because one or more lines are too long

View File

@@ -1,55 +1,70 @@
{
"hash": "cd3decae",
"configHash": "b21f88d8",
"lockfileHash": "25c10b32",
"browserHash": "37204f5e",
"hash": "0330ab22",
"configHash": "f90330cb",
"lockfileHash": "39fdf142",
"browserHash": "d3dc3fba",
"optimized": {
"@fortawesome/fontawesome-svg-core": {
"src": "../../@fortawesome/fontawesome-svg-core/index.es.js",
"file": "@fortawesome_fontawesome-svg-core.js",
"fileHash": "edd5645b",
"fileHash": "6b48f86a",
"needsInterop": false
},
"@fortawesome/free-brands-svg-icons": {
"src": "../../@fortawesome/free-brands-svg-icons/index.mjs",
"file": "@fortawesome_free-brands-svg-icons.js",
"fileHash": "b61541e1",
"fileHash": "ea4f60fc",
"needsInterop": false
},
"@fortawesome/free-solid-svg-icons": {
"src": "../../@fortawesome/free-solid-svg-icons/index.mjs",
"file": "@fortawesome_free-solid-svg-icons.js",
"fileHash": "53bdb2e3",
"fileHash": "ef6bdef4",
"needsInterop": false
},
"@fortawesome/vue-fontawesome": {
"src": "../../@fortawesome/vue-fontawesome/index.es.js",
"file": "@fortawesome_vue-fontawesome.js",
"fileHash": "d68cd9bf",
"fileHash": "2e2a59dd",
"needsInterop": false
},
"base64-js": {
"src": "../../base64-js/index.js",
"file": "base64-js.js",
"fileHash": "39bc9617",
"needsInterop": true
},
"dom-to-image-more": {
"src": "../../dom-to-image-more/dist/dom-to-image-more.min.js",
"file": "dom-to-image-more.js",
"fileHash": "c2e7fe89",
"needsInterop": true
},
"vue": {
"src": "../../vue/dist/vue.runtime.esm.js",
"file": "vue.js",
"fileHash": "422d179c",
"fileHash": "2504c162",
"needsInterop": false
},
"vue-router": {
"src": "../../vue-router/dist/vue-router.esm.js",
"file": "vue-router.js",
"fileHash": "314ec933",
"fileHash": "466bbc84",
"needsInterop": false
},
"vuex": {
"src": "../../vuex/dist/vuex.esm.js",
"file": "vuex.js",
"fileHash": "3f17a003",
"fileHash": "4c8022e6",
"needsInterop": false
}
},
"chunks": {
"chunk-363EPHLC": {
"file": "chunk-363EPHLC.js"
},
"chunk-BUSYA2B4": {
"file": "chunk-BUSYA2B4.js"
}
}
}

105
node_modules/.vite/deps/base64-js.js generated vendored Normal file
View File

@@ -0,0 +1,105 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/base64-js/index.js
var require_base64_js = __commonJS({
"node_modules/base64-js/index.js"(exports) {
exports.byteLength = byteLength;
exports.toByteArray = toByteArray;
exports.fromByteArray = fromByteArray;
var lookup = [];
var revLookup = [];
var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
var code = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
for (i = 0, len = code.length; i < len; ++i) {
lookup[i] = code[i];
revLookup[code.charCodeAt(i)] = i;
}
var i;
var len;
revLookup["-".charCodeAt(0)] = 62;
revLookup["_".charCodeAt(0)] = 63;
function getLens(b64) {
var len2 = b64.length;
if (len2 % 4 > 0) {
throw new Error("Invalid string. Length must be a multiple of 4");
}
var validLen = b64.indexOf("=");
if (validLen === -1) validLen = len2;
var placeHoldersLen = validLen === len2 ? 0 : 4 - validLen % 4;
return [validLen, placeHoldersLen];
}
function byteLength(b64) {
var lens = getLens(b64);
var validLen = lens[0];
var placeHoldersLen = lens[1];
return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
}
function _byteLength(b64, validLen, placeHoldersLen) {
return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
}
function toByteArray(b64) {
var tmp;
var lens = getLens(b64);
var validLen = lens[0];
var placeHoldersLen = lens[1];
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));
var curByte = 0;
var len2 = placeHoldersLen > 0 ? validLen - 4 : validLen;
var i2;
for (i2 = 0; i2 < len2; i2 += 4) {
tmp = revLookup[b64.charCodeAt(i2)] << 18 | revLookup[b64.charCodeAt(i2 + 1)] << 12 | revLookup[b64.charCodeAt(i2 + 2)] << 6 | revLookup[b64.charCodeAt(i2 + 3)];
arr[curByte++] = tmp >> 16 & 255;
arr[curByte++] = tmp >> 8 & 255;
arr[curByte++] = tmp & 255;
}
if (placeHoldersLen === 2) {
tmp = revLookup[b64.charCodeAt(i2)] << 2 | revLookup[b64.charCodeAt(i2 + 1)] >> 4;
arr[curByte++] = tmp & 255;
}
if (placeHoldersLen === 1) {
tmp = revLookup[b64.charCodeAt(i2)] << 10 | revLookup[b64.charCodeAt(i2 + 1)] << 4 | revLookup[b64.charCodeAt(i2 + 2)] >> 2;
arr[curByte++] = tmp >> 8 & 255;
arr[curByte++] = tmp & 255;
}
return arr;
}
function tripletToBase64(num) {
return lookup[num >> 18 & 63] + lookup[num >> 12 & 63] + lookup[num >> 6 & 63] + lookup[num & 63];
}
function encodeChunk(uint8, start, end) {
var tmp;
var output = [];
for (var i2 = start; i2 < end; i2 += 3) {
tmp = (uint8[i2] << 16 & 16711680) + (uint8[i2 + 1] << 8 & 65280) + (uint8[i2 + 2] & 255);
output.push(tripletToBase64(tmp));
}
return output.join("");
}
function fromByteArray(uint8) {
var tmp;
var len2 = uint8.length;
var extraBytes = len2 % 3;
var parts = [];
var maxChunkLength = 16383;
for (var i2 = 0, len22 = len2 - extraBytes; i2 < len22; i2 += maxChunkLength) {
parts.push(encodeChunk(uint8, i2, i2 + maxChunkLength > len22 ? len22 : i2 + maxChunkLength));
}
if (extraBytes === 1) {
tmp = uint8[len2 - 1];
parts.push(
lookup[tmp >> 2] + lookup[tmp << 4 & 63] + "=="
);
} else if (extraBytes === 2) {
tmp = (uint8[len2 - 2] << 8) + uint8[len2 - 1];
parts.push(
lookup[tmp >> 10] + lookup[tmp >> 4 & 63] + lookup[tmp << 2 & 63] + "="
);
}
return parts.join("");
}
}
});
export default require_base64_js();
//# sourceMappingURL=base64-js.js.map

7
node_modules/.vite/deps/base64-js.js.map generated vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../base64-js/index.js"],
"sourcesContent": ["'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n"],
"mappings": ";;;;;AAAA;AAAA;AAEA,YAAQ,aAAa;AACrB,YAAQ,cAAc;AACtB,YAAQ,gBAAgB;AAExB,QAAI,SAAS,CAAC;AACd,QAAI,YAAY,CAAC;AACjB,QAAI,MAAM,OAAO,eAAe,cAAc,aAAa;AAE3D,QAAI,OAAO;AACX,SAAS,IAAI,GAAG,MAAM,KAAK,QAAQ,IAAI,KAAK,EAAE,GAAG;AAC/C,aAAO,CAAC,IAAI,KAAK,CAAC;AAClB,gBAAU,KAAK,WAAW,CAAC,CAAC,IAAI;AAAA,IAClC;AAHS;AAAO;AAOhB,cAAU,IAAI,WAAW,CAAC,CAAC,IAAI;AAC/B,cAAU,IAAI,WAAW,CAAC,CAAC,IAAI;AAE/B,aAAS,QAAS,KAAK;AACrB,UAAIA,OAAM,IAAI;AAEd,UAAIA,OAAM,IAAI,GAAG;AACf,cAAM,IAAI,MAAM,gDAAgD;AAAA,MAClE;AAIA,UAAI,WAAW,IAAI,QAAQ,GAAG;AAC9B,UAAI,aAAa,GAAI,YAAWA;AAEhC,UAAI,kBAAkB,aAAaA,OAC/B,IACA,IAAK,WAAW;AAEpB,aAAO,CAAC,UAAU,eAAe;AAAA,IACnC;AAGA,aAAS,WAAY,KAAK;AACxB,UAAI,OAAO,QAAQ,GAAG;AACtB,UAAI,WAAW,KAAK,CAAC;AACrB,UAAI,kBAAkB,KAAK,CAAC;AAC5B,cAAS,WAA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ated vendored Normal file
View File

@@ -0,0 +1,8 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
export {
__commonJS
};

7
node_modules/.vite/deps/chunk-BUSYA2B4.js.map generated vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

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

7
node_modules/.vite/deps/dom-to-image-more.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vue-router/dist/vue-router.esm.js
function assert(condition, message) {
if (!condition) {

File diff suppressed because one or more lines are too long

2
node_modules/.vite/deps/vue.js generated vendored
View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vue/dist/vue.runtime.esm.js
var emptyObject = Object.freeze({});
var isArray = Array.isArray;

2
node_modules/.vite/deps/vue.js.map generated vendored

File diff suppressed because one or more lines are too long

2
node_modules/.vite/deps/vuex.js generated vendored
View File

@@ -1,3 +1,5 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vuex/dist/vuex.esm.js
function applyMixin(Vue2) {
var version = Number(Vue2.version.split(".")[0]);

File diff suppressed because one or more lines are too long

21
node_modules/base64-js/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Jameson Little
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.

34
node_modules/base64-js/README.md generated vendored Normal file
View File

@@ -0,0 +1,34 @@
base64-js
=========
`base64-js` does basic base64 encoding/decoding in pure JS.
[![build status](https://secure.travis-ci.org/beatgammit/base64-js.png)](http://travis-ci.org/beatgammit/base64-js)
Many browsers already have base64 encoding/decoding functionality, but it is for text data, not all-purpose binary data.
Sometimes encoding/decoding binary data in the browser is useful, and that is what this module does.
## install
With [npm](https://npmjs.org) do:
`npm install base64-js` and `var base64js = require('base64-js')`
For use in web browsers do:
`<script src="base64js.min.js"></script>`
[Get supported base64-js with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-base64-js?utm_source=npm-base64-js&utm_medium=referral&utm_campaign=readme)
## methods
`base64js` has three exposed functions, `byteLength`, `toByteArray` and `fromByteArray`, which both take a single argument.
* `byteLength` - Takes a base64 string and returns length of byte array
* `toByteArray` - Takes a base64 string and returns a byte array
* `fromByteArray` - Takes a byte array and returns a base64 string
## license
MIT

1
node_modules/base64-js/base64js.min.js generated vendored Normal file
View File

@@ -0,0 +1 @@
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c<g.length;c++)a(g[c]);return a}return b}()({"/":[function(a,b,c){'use strict';function d(a){var b=a.length;if(0<b%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}function e(a,b,c){return 3*(b+c)/4-c}function f(a){var b,c,f=d(a),g=f[0],h=f[1],j=new m(e(a,g,h)),k=0,n=0<h?g-4:g;for(c=0;c<n;c+=4)b=l[a.charCodeAt(c)]<<18|l[a.charCodeAt(c+1)]<<12|l[a.charCodeAt(c+2)]<<6|l[a.charCodeAt(c+3)],j[k++]=255&b>>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;f<c;f+=3)d=(16711680&a[f]<<16)+(65280&a[f+1]<<8)+(255&a[f+2]),e.push(g(d));return e.join("")}function j(a){for(var b,c=a.length,d=c%3,e=[],f=16383,g=0,j=c-d;g<j;g+=f)e.push(h(a,g,g+f>j?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o<p;++o)k[o]=n[o],l[n.charCodeAt(o)]=o;l[45]=62,l[95]=63},{}]},{},[])("/")});

3
node_modules/base64-js/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export function byteLength(b64: string): number;
export function toByteArray(b64: string): Uint8Array;
export function fromByteArray(uint8: Uint8Array): string;

150
node_modules/base64-js/index.js generated vendored Normal file
View File

@@ -0,0 +1,150 @@
'use strict'
exports.byteLength = byteLength
exports.toByteArray = toByteArray
exports.fromByteArray = fromByteArray
var lookup = []
var revLookup = []
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
for (var i = 0, len = code.length; i < len; ++i) {
lookup[i] = code[i]
revLookup[code.charCodeAt(i)] = i
}
// Support decoding URL-safe base64 strings, as Node.js does.
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
revLookup['-'.charCodeAt(0)] = 62
revLookup['_'.charCodeAt(0)] = 63
function getLens (b64) {
var len = b64.length
if (len % 4 > 0) {
throw new Error('Invalid string. Length must be a multiple of 4')
}
// Trim off extra bytes after placeholder bytes are found
// See: https://github.com/beatgammit/base64-js/issues/42
var validLen = b64.indexOf('=')
if (validLen === -1) validLen = len
var placeHoldersLen = validLen === len
? 0
: 4 - (validLen % 4)
return [validLen, placeHoldersLen]
}
// base64 is 4/3 + up to two characters of the original data
function byteLength (b64) {
var lens = getLens(b64)
var validLen = lens[0]
var placeHoldersLen = lens[1]
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
}
function _byteLength (b64, validLen, placeHoldersLen) {
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
}
function toByteArray (b64) {
var tmp
var lens = getLens(b64)
var validLen = lens[0]
var placeHoldersLen = lens[1]
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
var curByte = 0
// if there are placeholders, only get up to the last complete 4 chars
var len = placeHoldersLen > 0
? validLen - 4
: validLen
var i
for (i = 0; i < len; i += 4) {
tmp =
(revLookup[b64.charCodeAt(i)] << 18) |
(revLookup[b64.charCodeAt(i + 1)] << 12) |
(revLookup[b64.charCodeAt(i + 2)] << 6) |
revLookup[b64.charCodeAt(i + 3)]
arr[curByte++] = (tmp >> 16) & 0xFF
arr[curByte++] = (tmp >> 8) & 0xFF
arr[curByte++] = tmp & 0xFF
}
if (placeHoldersLen === 2) {
tmp =
(revLookup[b64.charCodeAt(i)] << 2) |
(revLookup[b64.charCodeAt(i + 1)] >> 4)
arr[curByte++] = tmp & 0xFF
}
if (placeHoldersLen === 1) {
tmp =
(revLookup[b64.charCodeAt(i)] << 10) |
(revLookup[b64.charCodeAt(i + 1)] << 4) |
(revLookup[b64.charCodeAt(i + 2)] >> 2)
arr[curByte++] = (tmp >> 8) & 0xFF
arr[curByte++] = tmp & 0xFF
}
return arr
}
function tripletToBase64 (num) {
return lookup[num >> 18 & 0x3F] +
lookup[num >> 12 & 0x3F] +
lookup[num >> 6 & 0x3F] +
lookup[num & 0x3F]
}
function encodeChunk (uint8, start, end) {
var tmp
var output = []
for (var i = start; i < end; i += 3) {
tmp =
((uint8[i] << 16) & 0xFF0000) +
((uint8[i + 1] << 8) & 0xFF00) +
(uint8[i + 2] & 0xFF)
output.push(tripletToBase64(tmp))
}
return output.join('')
}
function fromByteArray (uint8) {
var tmp
var len = uint8.length
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
var parts = []
var maxChunkLength = 16383 // must be multiple of 3
// go through the array every three bytes, we'll deal with trailing stuff later
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
}
// pad the end with zeros, but make sure to not forget the extra bytes
if (extraBytes === 1) {
tmp = uint8[len - 1]
parts.push(
lookup[tmp >> 2] +
lookup[(tmp << 4) & 0x3F] +
'=='
)
} else if (extraBytes === 2) {
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
parts.push(
lookup[tmp >> 10] +
lookup[(tmp >> 4) & 0x3F] +
lookup[(tmp << 2) & 0x3F] +
'='
)
}
return parts.join('')
}

47
node_modules/base64-js/package.json generated vendored Normal file
View File

@@ -0,0 +1,47 @@
{
"name": "base64-js",
"description": "Base64 encoding/decoding in pure JS",
"version": "1.5.1",
"author": "T. Jameson Little <t.jameson.little@gmail.com>",
"typings": "index.d.ts",
"bugs": {
"url": "https://github.com/beatgammit/base64-js/issues"
},
"devDependencies": {
"babel-minify": "^0.5.1",
"benchmark": "^2.1.4",
"browserify": "^16.3.0",
"standard": "*",
"tape": "4.x"
},
"homepage": "https://github.com/beatgammit/base64-js",
"keywords": [
"base64"
],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/beatgammit/base64-js.git"
},
"scripts": {
"build": "browserify -s base64js -r ./ | minify > base64js.min.js",
"lint": "standard",
"test": "npm run lint && npm run unit",
"unit": "tape test/*.js"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
}

1
node_modules/dom-to-image-more/.gitattributes generated vendored Normal file
View File

@@ -0,0 +1 @@
dist/*.min.js -diff

View File

@@ -0,0 +1,14 @@
# Use case: description, code
[jsfiddle](https://jsfiddle.net/IDisposable/emjL1ow8/)
## Expected behavior
## Actual behavior (stack traces, console logs etc)
## Library version
## Browsers
- [ ] Chrome 49+
- [ ] Firefox 45+

19
node_modules/dom-to-image-more/.github/dependabot.yml generated vendored Normal file
View File

@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: docker
directory: '/'
schedule:
interval: weekly
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
labels:
- 'type: dependencies'

View File

@@ -0,0 +1,42 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: 'Breaking'
label: 'type: breaking'
- title: 'New'
label: 'type: feature'
- title: 'Bug Fixes'
label: 'type: bug'
- title: 'Maintenance'
label: 'type: maintenance'
- title: 'Documentation'
label: 'type: docs'
- title: 'Other changes'
- title: 'Dependency Updates'
label: 'type: dependencies'
collapse-after: 5
version-resolver:
major:
labels:
- 'type: breaking'
minor:
labels:
- 'type: feature'
patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: docs'
- 'type: dependencies'
- 'type: security'
exclude-labels:
- 'skip-changelog'

View File

@@ -0,0 +1,75 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
on:
push:
branches: ['main', 'v2.x']
pull_request:
# The branches below must be a subset of the branches above
branches: ['main', 'v2.x']
schedule:
- cron: '17 11 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'

View File

@@ -0,0 +1,12 @@
---
name: Sync labels
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "34 5 * * *"
workflow_dispatch:
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/labels.yaml@main

View File

@@ -0,0 +1,12 @@
---
name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/lock.yaml@main

View File

@@ -0,0 +1,15 @@
---
name: PR Labels
# yamllint disable-line rule:truthy
on:
pull_request_target:
types:
- opened
- labeled
- unlabeled
- synchronize
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/pr-labels.yaml@main

View File

@@ -0,0 +1,30 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '19.x'
registry-url: 'https://registry.npmjs.org'
- name: Install npm packages
run: npm ci
- name: Build
run: npm run build:ci
- name: Publish NPM package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -0,0 +1,17 @@
---
name: Release Drafter
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
jobs:
workflows:
permissions:
# Write permission is required to create a github release
contents: write
# Write permission is required for autolabeler
pull-requests: write
uses: hassio-addons/workflows/.github/workflows/release-drafter.yaml@main

View File

@@ -0,0 +1,12 @@
---
name: Stale
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/stale.yaml@main

View File

@@ -0,0 +1,30 @@
name: build
on:
push:
branches: [main, v2.x]
pull_request:
branches: [main, v2.x]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
- name: Check dependencies
run: npm ci --dry-run
- name: Install dependencies
run: npm ci
- name: Run build only
run: npm run build:ci

8
node_modules/dom-to-image-more/.gitpod.yml generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
tasks:
- init: npm install && npm run build

41
node_modules/dom-to-image-more/.jsbeautifyrc generated vendored Normal file
View File

@@ -0,0 +1,41 @@
{
"html": {
"brace_style": "collapse",
"end_with_newline": true,
"indent_char": " ",
"indent_scripts": "keep",
"indent_size": 4,
"preserve_newlines": true,
"max_preserve_newlines": 1,
"wrap_attributes": "auto",
"wrap_line_length": 100
},
"js": {
"allowed_file_extensions": ["js", "jsx", "json", "jsbeautifyrc"],
"brace_style": "collapse-preserve-inline",
"break_chained_methods": false,
"comma_first": false,
"e4x": false,
"end_with_newline": true,
"indent_char": " ",
"indent_level": 0,
"indent_size": 4,
"jslint_happy": false,
"keep_array_indentation": false,
"keep_function_indentation": false,
"max_preserve_newlines": 0,
"preserve_newlines": true,
"space_in_empty_paren": false,
"space_in_paren": false
},
"css": {
"allowed_file_extensions": ["css", "scss", "sass", "less"],
"end_with_newline": true,
"indent_char": " ",
"indent_size": 4,
"newline_between_rules": true,
"selector_separator": " ",
"selector_separator_newline": false,
"preserve_newlines": true
}
}

8
node_modules/dom-to-image-more/.jshintrc generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"eqeqeq": true,
"immed": true,
"newcap": true,
"unused": "strict",
"esnext": true,
"laxbreak": true
}

9
node_modules/dom-to-image-more/.markdownlink.json generated vendored Normal file
View File

@@ -0,0 +1,9 @@
{
"list-marker-space": {
"ul_multi": 3,
"ul_single": 3
},
"ul-indent": {
"indent": 4
}
}

2
node_modules/dom-to-image-more/.prettierignore generated vendored Normal file
View File

@@ -0,0 +1,2 @@
test-lib/
dist/

12
node_modules/dom-to-image-more/.prettierrc generated vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"singleQuote": true,
"semi": true,
"trailingComma": "es5",
"quoteProps": "consistent",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf",
"tabWidth": 4,
"printWidth": 90,
"proseWrap": "always"
}

5
node_modules/dom-to-image-more/.stylelintrc generated vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"rules": {
"indentation": 4
}
}

42
node_modules/dom-to-image-more/Gruntfile.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
files: ['Gruntfile.js', 'src/**/*.js', 'spec/**/*.js'],
options: {
jshintrc: true,
},
},
karma: {
unit: {
configFile: 'karma.conf.js',
background: false,
singleRun: true,
},
},
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n',
sourceMap: true,
},
dist: {
files: {
'dist/<%= pkg.name %>.min.js': ['src/dom-to-image-more.js'],
},
},
},
watch: {
files: ['<%= jshint.files %>'],
tasks: ['test'],
},
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('test', ['karma']);
grunt.registerTask('default', ['jshint', 'test', 'uglify']);
grunt.registerTask('ci', ['jshint', 'uglify']);
};

29
node_modules/dom-to-image-more/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,29 @@
The MIT License (MIT)
Copyright 2018 Marc Brooks
https://about.me/idisposable
Copyright 2015 Anatolii Saienko
https://github.com/tsayen
Copyright 2012 Paul Bakaus
http://paulbakaus.com/
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.

419
node_modules/dom-to-image-more/README.md generated vendored Normal file
View File

@@ -0,0 +1,419 @@
# DOM to Image
[![Version](https://img.shields.io/npm/v/dom-to-image-more.svg?style=flat-square)](https://npmjs.com/package/dom-to-image-more)
[![Bundle Size](https://img.shields.io/bundlephobia/minzip/dom-to-image-more?style=flat-square)](https://bundlephobia.com/result?p=dom-to-image-more)
[![Open Issues](https://img.shields.io/github/issues/1904labs/dom-to-image-more?style=flat-square)](https://github.com/1904labs/dom-to-image-more/issues)
[![GitHub Repo stars](https://img.shields.io/github/stars/1904labs/dom-to-image-more?style=social)](https://github.com/1904labs/dom-to-image-more)
[![Twitter](https://img.shields.io/twitter/follow/idisposable.svg?style=social&label=Follow)](https://www.twitter.com/idisposable)
## Breaking Change Notice
The 3.x release branch included some breaking changes in the very infrequently used
ability to configure some utility methods used in this internal processing of
dom-to-image-more. As browsers have matured, many of the hacks we're accumulated over the
years are not needed, or better ways have been found to handle some edge-cases. With the
help of folks like @meche-gh, in #99 we're stripping out the following members:
- `.mimes` - was the not-very-comprehensive list of mime types used to handle inlining
things
- `.parseExtension` - was a method to extract the extension from a filename, used to guess
mime types
- `.mimeType` - was a method to map file extensions to mime types
- `.dataAsUrl` - was a method to reassemble a `data:` URI from a Base64 representation and
mime type
The 3.x release branch should also fix more node compatibility and `iframe` issues.
## What is it
**dom-to-image-more** is a library which can turn arbitrary DOM node, including same
origin and blob iframes, into a vector (SVG) or raster (PNG or JPEG) image, written in
JavaScript.
This fork of
[dom-to-image by Anatolii Saienko (tsayen)](https://github.com/tsayen/dom-to-image) with
some important fixes merged. We are eternally grateful for his starting point.
Anatolii's version was based on [domvas by Paul Bakaus](https://github.com/pbakaus/domvas)
and has been completely rewritten, with some bugs fixed and some new features (like web
font and image support) added.
Moved to [1904labs organization](https://github.com/1904labs/) from my repositories
2019-02-06 as of version 2.7.3
## Installation
### NPM
`npm install dom-to-image-more`
Then load
```javascript
/* in ES 6 */
import domtoimage from 'dom-to-image-more';
/* in ES 5 */
var domtoimage = require('dom-to-image-more');
```
## Usage
All the top level functions accept DOM node and rendering options, and return promises,
which are fulfilled with corresponding data URLs. Get a PNG image base64-encoded data URL
and display right away:
```javascript
var node = document.getElementById('my-node');
domtoimage
.toPng(node)
.then(function (dataUrl) {
var img = new Image();
img.src = dataUrl;
document.body.appendChild(img);
})
.catch(function (error) {
console.error('oops, something went wrong!', error);
});
```
Get a PNG image blob and download it (using
[FileSaver](https://github.com/eligrey/FileSaver.js/), for example):
```javascript
domtoimage.toBlob(document.getElementById('my-node')).then(function (blob) {
window.saveAs(blob, 'my-node.png');
});
```
Save and download a compressed JPEG image:
```javascript
domtoimage
.toJpeg(document.getElementById('my-node'), { quality: 0.95 })
.then(function (dataUrl) {
var link = document.createElement('a');
link.download = 'my-image-name.jpeg';
link.href = dataUrl;
link.click();
});
```
Get an SVG data URL, but filter out all the `<i>` elements:
```javascript
function filter(node) {
return node.tagName !== 'i';
}
domtoimage
.toSvg(document.getElementById('my-node'), { filter: filter })
.then(function (dataUrl) {
/* do something */
});
```
Get the raw pixel data as a
[Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)
with every 4 array elements representing the RGBA data of a pixel:
```javascript
var node = document.getElementById('my-node');
domtoimage.toPixelData(node).then(function (pixels) {
for (var y = 0; y < node.scrollHeight; ++y) {
for (var x = 0; x < node.scrollWidth; ++x) {
pixelAtXYOffset = 4 * y * node.scrollHeight + 4 * x;
/* pixelAtXY is a Uint8Array[4] containing RGBA values of the pixel at (x, y) in the range 0..255 */
pixelAtXY = pixels.slice(pixelAtXYOffset, pixelAtXYOffset + 4);
}
}
});
```
Get a canvas object:
```javascript
domtoimage.toCanvas(document.getElementById('my-node')).then(function (canvas) {
console.log('canvas', canvas.width, canvas.height);
});
```
Adjust cloned nodes before/after children are cloned
[sample fiddle](https://jsfiddle.net/IDisposable/grLtjwe5/12/)
```javascript
const adjustClone = (node, clone, after) => {
if (!after && clone.id === 'element') {
clone.style.transform = 'translateY(100px)';
}
return clone;
};
const wrapper = document.getElementById('wrapper');
const blob = domtoimage.toBlob(wrapper, { adjustClonedNode: adjustClone });
```
---
_All the functions under `impl` are not public API and are exposed only for unit testing._
---
### Rendering options
#### filter
A function taking DOM node as argument. Should return true if passed node should be
included in the output (excluding node means excluding it's children as well). Not called
on the root node.
#### filterStyles
A function taking style propertie name as argument. Should return true if passed propertie
should be included in the output
Sample use:
```javascript
filterStyles(node, propertyName) {
return !propertyName.startssWith('--'); // to filter out CSS variables
}
```
#### adjustClonedNode
A function that will be invoked on each node as they are cloned. Useful to adjust nodes in
any way needed before the conversion. Note that this be invoked before the onclone
callback. The handler gets the original node, the cloned node, and a boolean that says if
we've cloned the children already (so you can handle either before or after)
Sample use:
```javascript
const adjustClone = (node, clone, after) => {
if (!after && clone.id === 'element') {
clone.style.transform = 'translateY(100px)';
}
return clone;
};
```
const wrapper = document.getElementById('wrapper'); const blob =
domtoimage.toBlob(wrapper, { adjustClonedNode: adjustClone});
#### onclone
A function taking the cloned and modified DOM node as argument. It allows to make final
adjustements to the elements before rendering, on the whole clone, after all elements have
been individually cloned. Note that this will be invoked after all the onclone callbacks
have been fired.
The cloned DOM might differ a lot from the original DOM, for example canvas will be
replaced with image tags, some class might have changed, the style are inlined. It can be
useful to log the clone to get a better senses of the transformations.
#### bgcolor
A string value for the background color, any valid CSS color value.
#### height, width
Height and width in pixels to be applied to node before rendering.
#### style
An object whose properties to be copied to node's style before rendering. You might want
to check
[this reference](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Properties_Reference)
for JavaScript names of CSS properties.
#### quality
A number between 0 and 1 indicating image quality (e.g. 0.92 => 92%) of the JPEG image.
Defaults to 1.0 (100%)
#### cacheBust
Set to true to append the current time as a query string to URL requests to enable cache
busting. Defaults to false
#### imagePlaceholder
A data URL for a placeholder image that will be used when fetching an image fails.
Defaults to undefined and will throw an error on failed images
#### copyDefaultStyles
Set to true to enable the copying of the default styles of elements. This will make the
process faster. Try disabling it if seeing extra padding and using resetting / normalizing
in CSS. Defaults to true.
#### disableInlineImages
Set to true to disable the normal inlining images into the SVG output. This will generate
SVGs that reference the original image files, so they my break if a referenced URL fails.
This is always safe to use when generating a PNG/JPG file because the entire SVG image is
rendered.
#### useCredentialFeatures
Allows optionally setting the `useCredentials` option if the resource matches a pattern in
the `useCredentialFilters` array.
#### scale
Scale value to be applied on canvas's `ctx.scale()` on both x and y axis. Can be used to
increase the image quality with higher image size.
### Alternative Solutions to CORS Policy Issue
Are you facing a [CORS policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
issue in your app? Don't worry, there are alternative solutions to this problem that you
can explore. Here are some options to consider:
1. **Use the option.corsImg support by passing images** With this option, you can setup a
proxy service that will process the requests in a safe CORS context.
2. **Use third-party services like [allOrigins](https://allorigins.win/).** With this
service, you can fetch the source code or an image in base64 format from any website.
However, this method can be a bit slow.
3. **Set up your own API service.** Compared to third-party services like
[allOrigins](https://allorigins.win/), this method can be faster, but you'll need to
convert the image URL to base64 format. You can use the
"[image-to-base64](https://github.com/renanbastos93/image-to-base64)" package for this
purpose.
4. **Utilize
[server-side functions](https://nextjs.org/docs/basic-features/data-fetching/get-server-side-props)
features of frameworks like [Next.js](https://nextjs.org/).** This is the easiest and
most convenient method, where you can directly fetch a URL source within
[server-side functions](https://nextjs.org/docs/basic-features/data-fetching/get-server-side-props)
and convert it to base64 format if needed.
By exploring these alternative solutions, you can overcome
[the CORS policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) issue in your
app and ensure that your images are accessible to everyone.
## Browsers
It's tested on latest Chrome and Firefox (49 and 45 respectively at the time of writing),
with Chrome performing significantly better on big DOM trees, possibly due to it's more
performant SVG support, and the fact that it supports `CSSStyleDeclaration.cssText`
property.
_Internet Explorer is not (and will not be) supported, as it does not support SVG
`<foreignObject>` tag_
_Safari [is not supported](https://github.com/tsayen/dom-to-image/issues/27), as it uses a
stricter security model on `<foreignObject`> tag. Suggested workaround is to use `toSvg`
and render on the server._`
## Dependencies
Uses Object.hasOwn() so needs at least Chrome/Edge 93, Firefox 92, Opera 79. Safari 15.4
or Node 16.9.0
### Source
Only standard lib is currently used, but make sure your browser supports:
- [Promise](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise)
- SVG `<foreignObject>` tag
### Tests
As of this v3 branch chain, the testing jig is taking advantage of the `onclone` hook to
insert the clone-output into the testing page. This should make it a tiny bit easier to
track down where exactly the inlining of CSS styles against the DOM nodes is wrong.
Most importantly, tests **only** depend on:
- [ocrad.js](https://github.com/antimatter15/ocrad.js), for the parts when you can't
compare images (due to the browser rendering differences) and just have to test whether
the text is rendered
## How it works
There might some day exist (or maybe already exists?) a simple and standard way of
exporting parts of the HTML to image (and then this script can only serve as an evidence
of all the hoops I had to jump through in order to get such obvious thing done) but I
haven't found one so far.
This library uses a feature of SVG that allows having arbitrary HTML content inside of the
`<foreignObject>` tag. So, in order to render that DOM node for you, following steps are
taken:
1. Clone the original DOM node recursively
1. Compute the style for the node and each sub-node and copy it to corresponding clone
- and don't forget to recreate pseudo-elements, as they are not cloned in any way, of
course
1. Embed web fonts
- find all the `@font-face` declarations that might represent web fonts
- parse file URLs, download corresponding files
- base64-encode and inline content as `data:` URLs
- concatenate all the processed CSS rules and put them into one `<style>` element,
then attach it to the clone
1. Embed images
- embed image URLs in `<img>` elements
- inline images used in `background` CSS property, in a fashion similar to fonts
1. Serialize the cloned node to XML
1. Wrap XML into the `<foreignObject>` tag, then into the SVG, then make it a data URL
1. Optionally, to get PNG content or raw pixel data as a Uint8Array, create an Image
element with the SVG as a source, and render it on an off-screen canvas, that you have
also created, then read the content from the canvas
1. Done!
## Using Typescript
1. Use original `dom-to-image` type definition
`npm install @types/dom-to-image --save-dev`
1. Create dom-to-image-more type definition (`dom-to-image-more.d.ts`)
```javascript
declare module 'dom-to-image-more' {
import domToImage = require('dom-to-image-more');
export = domToImage;
}
```
## Things to watch out for
- if the DOM node you want to render includes a `<canvas>` element with something drawn on
it, it should be handled fine, unless the canvas is
[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image) - in
this case rendering will rather not succeed.
- at the time of writing, Firefox has a problem with some external stylesheets (see issue
#13). In such case, the error will be caught and logged.
## Authors
Marc Brooks, Anatolii Saienko (original dom-to-image), Paul Bakaus (original idea), Aidas
Klimas (fixes), Edgardo Di Gesto (fixes), 樊冬 Fan Dong (fixes), Shrijan Tripathi (docs),
SNDST00M (optimize), Joseph White (performance CSS), Phani Rithvij (test), David
DOLCIMASCOLO (packaging), Zee (ZM) @zm-cttae (many major updates), Joshua Walsh
@JoshuaWalsh (Firefox issues), Emre Coban @emrecoban (documentation), Nate Stuyvesant
@nstuyvesant (fixes), King Wang @eachmawzw (CORS image proxy), TMM Schmit @tmmschmit
(useCredentialsFilters), Aravind @codesculpture (fix overridden props), Shi Wenyu @cWenyu
(shadow slot fix), David Burns @davidburns573 and Yujia Cheng @YujiaCheng1996 (font copy
optional), Julien Dorra @juliendorra (documentation), Sean Zhang @SeanZhang-eaton (regex
fixes), Ludovic Bouges @ludovic (style property filter), Roland Ma @RolandMa1986 (URL
regex)", Kasim Tan @kasimtan
## License
MIT

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

42
node_modules/dom-to-image-more/eslint.config.mjs generated vendored Normal file
View File

@@ -0,0 +1,42 @@
import globals from 'globals';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});
export default [
...compat.extends('eslint:recommended'),
{
languageOptions: {
globals: {
...globals.browser,
},
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'indent': ['error', 4],
'linebreak-style': ['error', 'unix'],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
},
},
];

54
node_modules/dom-to-image-more/karma.conf.js generated vendored Normal file
View File

@@ -0,0 +1,54 @@
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['mocha', 'chai'],
concurrency: 1,
files: [
{
pattern: 'spec/resources/**/*',
included: false,
served: true,
},
{
pattern: 'test-lib/fontawesome/webfonts/*.*',
included: false,
served: true,
},
{
pattern: 'test-lib/fontawesome/css/*.*',
included: false,
served: true,
},
'test-lib/tesseract-4.0.2.min.js',
'src/dom-to-image-more.js',
'spec/dom-to-image-more.spec.js',
],
exclude: [],
preprocessors: {},
reporters: ['mocha'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
client: {
captureConsole: true,
},
autoWatch: true,
browsers: ['chrome'],
customLaunchers: {
chrome: {
base: 'Chrome',
flags: [
'--no-sandbox --remote-debugging-port=9876 --window-size=1024,768',
],
debug: true,
},
},
singleRun: false,
browserNoActivityTimeout: 60000,
});
};

84
node_modules/dom-to-image-more/package.json generated vendored Normal file
View File

@@ -0,0 +1,84 @@
{
"name": "dom-to-image-more",
"version": "3.7.2",
"description": "Generates an image from a DOM node using HTML5 canvas and SVG",
"main": "dist/dom-to-image-more.min.js",
"devDependencies": {
"chai": "^4.4.1",
"eslint": "^9.38.0",
"grunt": "^1.6.1",
"grunt-cli": "^1.5.0",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-uglify": "^5.2.2",
"grunt-contrib-watch": "^1.1.0",
"grunt-karma": "^4.0.2",
"js-yaml": "^4.1.0",
"karma": "^6.4.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^11.7.4",
"prettier": "^3.6.2",
"semver": "^7.7.3"
},
"scripts": {
"format": "eslint src --fix && prettier --write .",
"lint": "eslint --max-warnings=0 src && prettier --check .",
"test": "grunt test --debug",
"build": "grunt",
"build:ci": "grunt ci",
"beta-version-patch": "npm version $(semver $npm_package_version -i prerelease --preid beta)",
"beta-version-minor": "npm version $(semver $npm_package_version -i preminor --preid beta)",
"beta-version-major": "npm version $(semver $npm_package_version -i premajor --preid beta)",
"rc-version": "npm version $(semver $npm_package_version -i prerelease --preid rc)",
"final-release": "npm version $(semver $npm_package_version -i)",
"postversion": "npm run test && git push && git push --tags"
},
"repository": "github:1904labs/dom-to-image-more",
"keywords": [
"dom",
"image",
"raster",
"render",
"html",
"canvas",
"svg",
"png"
],
"author": "Marc Brooks <idisposable@gmail.com> (https://about.me/IDisposable)",
"contributors": [
"Anatolii Saienko <anatoly.sayenko@gmail.com>",
"Marc Brooks <idisposable@gmail.com>",
"Daniel Fischer <daniel.fischer@iqdoq.de>",
"Aidas Klimas",
"Edgardo Di Gesto",
"樊冬 Fan Dong <CG-man@outlook.com>",
"Joseph White @JosWhite",
"Phani Rithvij @phanirithvij",
"David DOLCIMASCOLO @ddolcimascolo",
"Nikita Staroseltsev @Nikitozz13",
"Zee @zm-cttae",
"Andoni Zubimendi @AndoniZubimendi",
"Joshua Walsh @JoshuaWalsh",
"Emre Coban @emrecoban",
"Nate Stuyvesant @nstuyvesant",
"King Wang @eachmawzw",
"TMM Schmit @tmmschmit",
"Aravind @codesculpture",
"Shi Wenyu @cWenyu",
"David Burns @davidburns573",
"Yujia Cheng @YujiaCheng1996",
"Julien Dorra @juliendorra",
"Sean Zhang @SeanZhang-eaton",
"Ludovic Bouges @ludovic",
"Roland Ma @RolandMa1986",
"Kasim Tan @kasimtan"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/1904labs/dom-to-image-more/issues"
},
"homepage": "https://github.com/1904labs/dom-to-image-more#readme"
}

4
node_modules/dom-to-image-more/package.sh generated vendored Normal file
View File

@@ -0,0 +1,4 @@
npm run build
git push
git push --tags
npm publish

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<div class="high-gloss">There's a lot of style here</div>

View File

@@ -0,0 +1,34 @@
<div
class="high-gloss"
style="
background-image: linear-gradient(
rgba(50, 50, 50, 0.95) 24%,
rgb(186, 186, 186) 45%,
rgba(226, 235, 238, 0.953) 49%,
rgba(50, 50, 50, 0.93) 50%,
rgba(50, 50, 50, 0.97) 100%
);
block-size: 32px;
border-block-color: rgba(0, 0, 0, 0);
border-color: rgba(0, 0, 0, 0);
border-inline-color: rgba(0, 0, 0, 0);
box-sizing: border-box;
caret-color: rgba(0, 0, 0, 0);
color: rgba(0, 0, 0, 0);
column-rule-color: rgba(0, 0, 0, 0);
height: 32px;
inline-size: 914px;
outline-color: rgba(0, 0, 0, 0);
perspective-origin: 457px 16px;
text-decoration: none solid rgba(0, 0, 0, 0);
text-emphasis-color: rgba(0, 0, 0, 0);
text-shadow: rgba(0, 0, 0, 0.1) 5px 5px 10px;
transform-origin: 457px 16px;
width: 914px;
background-clip: text;
-webkit-text-fill-color: rgba(0, 0, 0, 0);
-webkit-text-stroke-color: rgba(0, 0, 0, 0);
"
>
There's a lot of style here
</div>

View File

@@ -0,0 +1,22 @@
#dom-node {
width: 400px;
height: 400px;
background-color: white;
color: black;
}
.high-gloss {
background: linear-gradient(
180deg,
rgba(50, 50, 50, 0.95) 24%,
rgba(186, 186, 186, 1) 45%,
rgba(226, 235, 238, 0.9514006286108193) 49%,
rgba(50, 50, 50, 0.93) 50%,
rgba(50, 50, 50, 0.97) 100%
);
color: transparent;
text-shadow: rgba(0, 0, 0, 0.1) 5px 5px 10px;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

View File

@@ -0,0 +1,3 @@
BARE TEXT NODES ARE FUN
<!-- This is a comment -->
<div>IGNORE ME</div>

View File

@@ -0,0 +1,16 @@
* {
color: black;
background-color: white;
font-family: monospace;
font-size: 20px;
font-style: normal;
font-weight: bold;
font-variant: normal;
}
#dom-node {
text-align: center;
width: 500px;
padding: 20px;
background-color: brown;
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAAAdxJREFUeF7t3MGJw1AUQ9HvCjL9V+kOPB1kIVAQ5nj/ZPleRHa57vt+zguez+fvBV9xzkXIlkdCtnxYyJgPQggpEfCjXgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdEVICm8YSkpIr3RFSApvGEpKSK90RUgKbxhKSkivdvUbI85xX/KNcyfPPYy9Cfs786wsJ2fJxCCFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LIWSMwFgdCyFkjMBYHQshZIzAWB0LGRPyD33xXUh8cFpQAAAAAElFTkSuQmCC

View File

@@ -0,0 +1 @@
<div id="content"></div>

View File

@@ -0,0 +1,10 @@
#dom-node {
height: 100px;
width: 100px;
}
#content {
height: 50px;
width: 50px;
background-color: #f0f0f0;
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABlCAYAAAC7vkbxAAABMElEQVR4nO3XwQnEMBAEwQ3dOSog3c8gHIAarh4VQTNCOzOzSZm91iLgCLJnuOgThPsEiTmCzDNcZCFBgsScT9b9j8Zfs5AgQWIchiEWEiRIjMMwxEKCBIlxGIZYSJAgMQ7DEAsJEiTGYRhiIUGCxDgMQywkSJAYh2GIhQQJEuMwDLGQIEFiHIYhFhIkSIzDMMRCggSJcRiGWEiQIDEOwxALCRIkxmEYYiFBgsQ4DEMsJEiQGIdhiIUECRLjMAyxkCBBYhyGIRYSJEiMwzDEQoIEiXEYhlhIkCAxDsMQCwkSJMZhGGIhQYLEOAxDLCRIkBiHYYiFBAkS4zAMsZAgQWIchiEWEiRIjMMwxEKCBIlxGIZYSJAgMQ7DEAsJEiTGYRhiIUGCxDgMQywk6A1Cxw8SIrcz/VMBBAAAAABJRU5ErkJggg==

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABjCAYAAABt56XsAAAB10lEQVR4Xu3dgW3CQBAAQegHV0OdVPP0A7IRj54KRvKmggujnLxvO1zHGK9LP8wncN1BbtvGDHTmQZ5jXA6QM38I2u8eCCZygGyPVpbgMu6tLMFhmaGVhZF8VtZ2w8Y65zhjPLvK0uhbWZhIYQiBFIYQxneUVhaGUhhCIIUhhNHKAjH2kQpDCKYwhDBaWSDGXFndMTR0CkPDoeN30GGOVBhCOoUhhNFVFohRGGIohSEGMv9CwLlOO1J3DCH6whDC6CoLxPhdZfUoKcFTGBIM6xA95IChdMcQAikMIYyuskCM7hhiKIUhBtJZlgrSO4aGTGFoOCxTFIYYSmEIgRSGEEZhCGIUhhhKYYiBFIYqSGFoyBSGhkNhCDrMkQpDSKcwhDAKQxCjMMRQCkMMpDBUQQpDQ6YwNBwKQ9ChMBRRCkNQpYccMJTeMYRACkMIo7MsEGOWemFo6BSGhkNhCDoUhiJKYQiqFIYYSmEIgRSGEEZhCGIUhhhKYYiB9JCDCtL3GBoyhaHh0FkW6LCeZfV1FQZRYWg4tLJAh7/j9/4rKWFUGBIM6xAdv2MovWMIgRSGEEbH7yDGPFwsDA2dwtBwKAxBh8JQRCkMQZXCEEMpDCGQwhDC+I7yBsViutvRkyz3AAAAAElFTkSuQmCC

View File

@@ -0,0 +1,5 @@
<div class="dom-child-node">
<div class="red"></div>
<div class="green"></div>
<div class="blue"></div>
</div>

View File

@@ -0,0 +1,26 @@
#dom-node {
width: 100px;
}
.child-node {
height: auto;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
.red,
.green,
.blue {
height: 3px;
border: 1px solid lightgrey;
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAACBElEQVR4Xu3dQQrDQAzAwPT/j25pX2DoYHxQzkZrJJaQU17P87yfnjMGXgU50+K3SEFu9SjIsR4FKcg1A8f26R1SkGMGjq3TDSnIMQPH1hnfkD7n/yv3FT15CjKxBGYKAiRKREGkTcAqCJAoEQWRNgGrIECiRBRE2gSsggCJElEQaROwCgIkSkRBpE3AKgiQKBEFkTYBqyBAokQURNoErIIAiRJREGkTsAoCJEpEQaRNwCoIkCgRBZE2AasgQKJEFETaBKyCAIkSURBpE7AKAiRKREGkTcAqCJAoEQWRNgGrIECiRBRE2gSsggCJElEQaROwCgIkSkRBpE3AKgiQKBEFkTYBqyBAokQURNoErIIAiRJREGkTsAoCJEpEQaRNwCoIkCgRBZE2AasgQKJEFETaBKyCAIkSURBpE7AKAiRKREGkTcAqCJAoEQWRNgGrIECiRBRE2gSsggCJElEQaROwCgIkSkRBpE3AKgiQKBEFkTYBqyBAokQURNoErIIAiRJREGkTsAoCJEpEQaRNwCoIkCgRBZE2AasgQKJEFETaBKyCAIkSURBpE7AKAiRKREGkTcAqCJAoEQWRNgGrIECiRBRE2gQsHgTsFGJg4Buuf9cPRG2NFGTL9PCcggxFbY0VZMv08JyCDEVtjRVky/TwnIIMRW2NFWTL9PCcggxFbY19AL3RtAEdMr15AAAAAElFTkSuQmCC

View File

View File

@@ -0,0 +1,9 @@
#dom-node {
font-size: 16px;
width: 100px;
height: 100px;
background-color: red;
border-color: black;
border: solid;
border-width: 10px 10px 0.625em 10px;
}

View File

@@ -0,0 +1 @@
<canvas id="content"></canvas>

View File

@@ -0,0 +1,7 @@
<div id="dom-node">
BLANK_TEMPLATE
<canvas width="0"></canvas>
</div>
<div id="result"></div>

View File

@@ -0,0 +1,11 @@
#dom-node {
height: 100px;
width: 200px;
background-color: lightgrey;
text-align: center;
padding: 1em;
}
#result {
margin-top: 10px;
}

View File

@@ -0,0 +1,10 @@
#dom-node {
height: 100px;
width: 100px;
font-family: monospace;
}
#content {
height: 100px;
width: 100px;
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAADWVJREFUeF7tXHWoFU8bnmt3o2JjgYXYLYqgiIKKXagYWPi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AWjpCAoHZfhBHiD1WgbR0hAQCs/0gjhB7rAJp6QgJBGb7QRwh9lgF0tIREgjM9oM4QuyxCqSlIyQQmO0HcYTYYxVIS0dIIDDbD+IIsccqkJaOkEBgth/EEWKPVSAtHSGBwGw/iCPEHqtAWjpCAoHZfhBHiD1WgbR0hAQCs/0gjhB7rAJp+T8vFKN6Qw3MEwAAAABJRU5ErkJggg==

View File

@@ -0,0 +1 @@
<div class="with-background"></div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,12 @@
#dom-node {
width: 100px;
height: 100px;
background-color: white;
color: black;
}
.with-background {
background: url(/base/spec/resources/css-bg/image.jpeg) no-repeat left top;
background-size: 100px 100px;
width: 100px;
height: 100px;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,53 @@
<div class="rounded-lg bg-gray-100 px-4 py-4" id="informacion_estadistica">
<div>
<h3 class="mt-5 text-2xl leading-6 font-medium text-gray-900">Results</h3>
<dl
class="m-auto w-3/4 mt-5 grid grid-cols-1 rounded-lg bg-white overflow-hidden shadow divide-y divide-gray-200 md:grid-cols-2 md:divide-y-0 md:divide-x"
>
<div class="px-4 py-5 sm:p-6">
<dt class="text-center text-base font-extrabold text-gray-900">
ABC <br />
DEF ABC ABC
</dt>
<dd class="mt-1 flex justify-center items-baseline md:block lg:flex">
<div class="text-gray-500">
<div
class="mx-auto px-2.5 py-0.5 text-5xl font-extrabold text-green-500 md:mt-2 lg:mt-0"
>
<p class="text-center">50.00%</p>
</div>
<div class="text-center text-sm">
<span class="font-semibold text-indigo-600">5</span> de
<span class="font-semibold text-indigo-600">10</span>
resueltas
</div>
</div>
</dd>
</div>
<div class="px-4 py-5 sm:p-6">
<dt class="text-center text-base font-extrabold text-gray-900">
Audiencias<br />
celebradas
</dt>
<dd class="mt-1 flex justify-center items-baseline md:block lg:flex">
<div class="text-gray-500">
<div
class="mx-auto px-2.5 py-0.5 text-5xl font-extrabold text-green-500 md:mt-2 lg:mt-0"
>
<p class="text-center">10</p>
</div>
<div class="text-center text-sm">
<span class="font-semibold text-indigo-600">5</span> Aud.
Preliminares
</div>
<div class="text-center text-sm">
<span class="font-semibold text-indigo-600">5</span> Aud.
Vista de Causa
</div>
</div>
</dd>
</div>
</dl>
</div>
<p class="text-sm text-gray-800 text-right mt-2">Last update: 2023-02-04</p>
</div>

View File

@@ -0,0 +1,405 @@
*,
:after,
:before {
border-style: none;
border-color: #e5e7eb;
box-sizing: border-box;
}
:after,
:before {
--tw-content: '';
}
html {
-webkit-text-size-adjust: 100%;
font-family: 'Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji';
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}
body {
line-height: inherit;
margin: 0;
}
h3 {
font-size: inherit;
font-weight: inherit;
}
:-moz-focusring {
outline: auto;
}
:-moz-ui-invalid {
box-shadow: none;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
dd,
dl,
h3,
p {
margin: 0;
}
:disabled {
cursor: default;
}
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-date-and-time-value {
min-height: 1.5em;
}
::-webkit-datetime-edit,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-meridiem-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-year-field {
padding-bottom: 0;
padding-top: 0;
}
*,
:after,
:before {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-scroll-snap-strictness: proximity;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59, 130, 246, 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}
::-webkit-backdrop {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-scroll-snap-strictness: proximity;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59, 130, 246, 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}
::backdrop {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-scroll-snap-strictness: proximity;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59, 130, 246, 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
}
.m-auto {
margin: auto;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.mt-2 {
margin-top: 0.5rem;
}
.mt-1 {
margin-top: 0.25rem;
}
.mt-5 {
margin-top: 1.25rem;
}
.block {
display: block;
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.w-3\/4 {
width: 75%;
}
.flex-1 {
flex: 1 1 0%;
}
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.items-baseline {
align-items: baseline;
}
.justify-center {
justify-content: center;
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
--tw-divide-y-reverse: 0;
border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
border-top-width: calc(1px * (1 - var(--tw-divide-y-reverse)));
}
.divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
--tw-divide-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-divide-opacity));
}
.overflow-hidden {
overflow: hidden;
}
.overflow-y-auto {
overflow-y: auto;
}
.rounded-lg {
border-radius: 0.5rem;
}
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.bg-indigo-50 {
--tw-bg-opacity: 1;
background-color: rgb(238 242 255 / var(--tw-bg-opacity));
}
.p-4 {
padding: 1rem;
}
.py-4 {
padding-bottom: 1rem;
padding-top: 1rem;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-5 {
padding-bottom: 1.25rem;
padding-top: 1.25rem;
}
.px-2\.5 {
padding-left: 0.625rem;
padding-right: 0.625rem;
}
.py-0\.5 {
padding-bottom: 0.125rem;
padding-top: 0.125rem;
}
.py-10 {
padding-bottom: 2.5rem;
padding-top: 2.5rem;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.text-5xl {
font-size: 3rem;
line-height: 1;
}
.text-base {
font-size: 1rem;
line-height: 1.5rem;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}
.font-extrabold {
font-weight: 800;
}
.font-medium {
font-weight: 500;
}
.font-semibold {
font-weight: 600;
}
.leading-6 {
line-height: 1.5rem;
}
.text-gray-800 {
--tw-text-opacity: 1;
color: rgb(31 41 55 / var(--tw-text-opacity));
}
.text-gray-500 {
--tw-text-opacity: 1;
color: rgb(107 114 128 / var(--tw-text-opacity));
}
.text-gray-900 {
--tw-text-opacity: 1;
color: rgb(17 24 39 / var(--tw-text-opacity));
}
.text-indigo-600 {
--tw-text-opacity: 1;
color: rgb(79 70 229 / var(--tw-text-opacity));
}
.text-green-500 {
--tw-text-opacity: 1;
color: rgb(34 197 94 / var(--tw-text-opacity));
}
.shadow {
--tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
--tw-shadow-colored:
0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
}
.shadow {
box-shadow:
var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
var(--tw-shadow);
}
@media (min-width: 640px) {
.sm\:p-6 {
padding: 1.5rem;
}
.sm\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
@media (min-width: 768px) {
.md\:mt-2 {
margin-top: 0.5rem;
}
.md\:block {
display: block;
}
.md\:grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.md\:divide-y-0 > :not([hidden]) ~ :not([hidden]) {
--tw-divide-y-reverse: 0;
border-bottom-width: calc(0px * var(--tw-divide-y-reverse));
border-top-width: calc(0px * (1 - var(--tw-divide-y-reverse)));
}
.md\:divide-x > :not([hidden]) ~ :not([hidden]) {
--tw-divide-x-reverse: 0;
border-left-width: calc(1px * (1 - var(--tw-divide-x-reverse)));
border-right-width: calc(1px * var(--tw-divide-x-reverse));
}
}
@media (min-width: 1024px) {
.lg\:mt-0 {
margin-top: 0;
}
.lg\:flex {
display: flex;
}
.lg\:px-8 {
padding-left: 2rem;
padding-right: 2rem;
}
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAFJklEQVR4Xu3VsRGAQAwEsaf/oqEBINj0RO7A8u9w3efcx0eAwKvAJRAvg8C3gEC8DgI/AgLxPAgIxBsg0AT8Q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upkYEBDJyaGs2AYE0N1MjAgIZObQ1m4BAmpupEQGBjBzamk1AIM3N1IiAQEYObc0mIJDmZmpEQCAjh7ZmExBIczM1IiCQkUNbswkIpLmZGhEQyMihrdkEBNLcTI0ICGTk0NZsAgJpbqZGBAQycmhrNgGBNDdTIwICGTm0NZuAQJqbqREBgYwc2ppNQCDNzdSIgEBGDm3NJiCQ5mZqREAgI4e2ZhMQSHMzNSIgkJFDW7MJCKS5mRoREMjIoa3ZBATS3EyNCAhk5NDWbAICaW6mRgQEMnJoazYBgTQ3UyMCAhk5tDWbgECam6kRAYGMHNqaTUAgzc3UiIBARg5tzSYgkOZmakRAICOHtmYTEEhzMzUiIJCRQ1uzCQikuZkaERDIyKGt2QQE0txMjQgIZOTQ1mwCAmlupkYEBDJyaGs2AYE0N1MjAgIZObQ1m4BAmpupEQGBjBzamk1AIM3N1IiAQEYObc0mIJDmZmpEQCAjh7ZmExBIczM1IiCQkUNbswkIpLmZGhEQyMihrdkEBNLcTI0ICGTk0NZsAgJpbqZGBAQycmhrNgGBNDdTIwICGTm0NZuAQJqbqREBgYwc2ppNQCDNzdSIwAOn4Y9IyHT+ZAAAAABJRU5ErkJggg==

View File

@@ -0,0 +1,5 @@
#dom-node {
width: 100px;
height: 100px;
background-color: red;
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<div id="element" style="width: 100px; height: 100px; background-color: green"></div>

View File

@@ -0,0 +1,5 @@
#dom-node {
width: 500px;
height: 500px;
background-color: blue;
}

View File

@@ -0,0 +1,4 @@
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600"
rel="stylesheet"
/>

View File

@@ -0,0 +1,5 @@
#dom-node {
height: 100px;
width: 100px;
background-color: black;
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAABbUlEQVR4Xu3VgQkAIAzEwHb/oRWc4sA4QUj6uDPnTI8xsAVhWjyQglg9CoL1KEhBNAMYT39IQTADGE4LKQhmAMNpIQXBDGA4LaQgmAEMp4UUBDOA4bSQgmAGMJwWUhDMAIbTQgqCGcBwWkhBMAMYTgspCGYAw2khBcEMYDgtpCCYAQynhRQEM4DhtJCCYAYwnBZSEMwAhtNCCoIZwHBaSEEwAxhOCykIZgDDaSEFwQxgOC2kIJgBDKeFFAQzgOG0kIJgBjCcxXi+xykIdgIFKQhmAMNpIQXBDGA4LaQgmAEMp4UUBDOA4bSQgmAGMJwWUhDMAIbTQgqCGcBwWkhBMAMYTgspCGYAw2khBcEMYDgtpCCYAQynhRQEM4DhtJCCYAYwnBZSEMwAhtNCCoIZwHBaSEEwAxhOCykIZgDDaSEFwQxgOC2kIJgBDKeFFAQzgOG0kIJgBjCcFlIQzACG00IKghnAcFpIQTADGM4FBilkAQH5WFMAAAAASUVORK5CYII=

View File

@@ -0,0 +1,2 @@
<div class="include"></div>
<div class="omit"></div>

View File

@@ -0,0 +1,13 @@
#dom-node {
width: 100px;
}
.include {
height: 50px;
background-color: blue;
}
.omit {
height: 50px;
background-color: red;
}

View File

@@ -0,0 +1 @@
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAABGBJREFUeF7tnV2oTWkYx39H+ShKadygyEdyMY1cDHFBuaCUfBZyR83kjtxMowhX8lFSciU3M1woIlcoSUq5IeWjZsyMfORCJDWKrKfeXavTOXutd7+v1bP3+u+bU2c977P+z/+3n/2uvU7rOUPo5cqBIVdqJAYBcfYmEBABceaAMznqkD4BsgE4CBwCLoyg+QfgbZda/gZmO6u1L+QM75DFwHFgaVC/pQLI9VGqNFjb+sIBZyLLQH4DpgJXgV+BzUA3IC+Bcc7q6Xs5o+0hfwYYAtIwYgFp2PCq0wlIlUMNH08BYhu3berzgJmA7Sn/AA+Bo8CzhmsZiNP1CmQssAz4C/gXmAjMBZYDvwMTgNXA3YFwqcEiegXSTaJdoZ0GLgKbGqxlIE71PYD8CDw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UdAKS6mDm9QKS2dDUdAKS6mDm9QKS2dDUdAKS6mDm9QKS2dDUdN8Aam+dZc9XznUAAAAASUVORK5CYII=

View File

@@ -0,0 +1,2 @@
<div class="rect1">15</div>
<div class="rect2">22</div>

View File

@@ -0,0 +1,15 @@
#dom-node {
width: 100px;
}
.rect1 {
height: 50px;
background-color: green;
font-size: x-large;
}
.rect2 {
height: 50px;
background-color: red;
font-size: x-large;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
<link rel="stylesheet" href="/base/test-lib/fontawesome/css/all.css" />
<div>HELLO <i class="fa fa-xmark"></i> THERE</div>

Some files were not shown because too many files have changed in this diff Show More