From e0019a06eacb2e92ff73e9669ccefd789f4ce0d0 Mon Sep 17 00:00:00 2001 From: thomasrosen Date: Sat, 23 Jan 2021 11:52:09 +0000 Subject: [PATCH] thomasrosen published a site update --- asset-manifest.json | 66 +++++++++---------- hammer.min.js | 7 ++ index.html | 2 +- static/css/main.9823fa1b.chunk.css | 2 + static/css/main.9823fa1b.chunk.css.map | 1 + static/css/main.e57341b8.chunk.css | 2 - static/css/main.e57341b8.chunk.css.map | 1 - ...812bcdbd.chunk.js => 10.ceded30d.chunk.js} | 4 +- ....chunk.js.map => 10.ceded30d.chunk.js.map} | 2 +- ...0b771e23.chunk.js => 11.aa878e28.chunk.js} | 4 +- ....chunk.js.map => 11.aa878e28.chunk.js.map} | 2 +- ...0eceec8b.chunk.js => 12.e16aff63.chunk.js} | 4 +- ....chunk.js.map => 12.e16aff63.chunk.js.map} | 2 +- static/js/2.7b4df116.chunk.js | 3 + ...SE.txt => 2.7b4df116.chunk.js.LICENSE.txt} | 6 ++ static/js/2.7b4df116.chunk.js.map | 1 + static/js/2.ef6f135a.chunk.js | 3 - static/js/2.ef6f135a.chunk.js.map | 1 - ....a1b5b932.chunk.js => 3.bca32895.chunk.js} | 4 +- ...2.chunk.js.map => 3.bca32895.chunk.js.map} | 2 +- ....0a22e011.chunk.js => 4.5126ad05.chunk.js} | 4 +- ...1.chunk.js.map => 4.5126ad05.chunk.js.map} | 2 +- ....f39be939.chunk.js => 5.445a274f.chunk.js} | 4 +- ...9.chunk.js.map => 5.445a274f.chunk.js.map} | 2 +- ....af364642.chunk.js => 6.a267c0e9.chunk.js} | 4 +- ...2.chunk.js.map => 6.a267c0e9.chunk.js.map} | 2 +- ....98537f00.chunk.js => 7.081c2b37.chunk.js} | 4 +- ...0.chunk.js.map => 7.081c2b37.chunk.js.map} | 2 +- ....386c5bac.chunk.js => 8.925e258e.chunk.js} | 4 +- ...c.chunk.js.map => 8.925e258e.chunk.js.map} | 2 +- ....b2f113da.chunk.js => 9.d803de57.chunk.js} | 4 +- ...a.chunk.js.map => 9.d803de57.chunk.js.map} | 2 +- static/js/main.67e708c3.chunk.js | 2 - static/js/main.67e708c3.chunk.js.map | 1 - static/js/main.e847d5f7.chunk.js | 2 + static/js/main.e847d5f7.chunk.js.map | 1 + static/js/runtime-main.338a13b0.js | 2 + ...09.js.map => runtime-main.338a13b0.js.map} | 2 +- static/js/runtime-main.bc0ce809.js | 2 - 39 files changed, 90 insertions(+), 77 deletions(-) create mode 100644 hammer.min.js create mode 100644 static/css/main.9823fa1b.chunk.css create mode 100644 static/css/main.9823fa1b.chunk.css.map delete mode 100644 static/css/main.e57341b8.chunk.css delete mode 100644 static/css/main.e57341b8.chunk.css.map rename static/js/{10.812bcdbd.chunk.js => 10.ceded30d.chunk.js} (58%) rename static/js/{10.812bcdbd.chunk.js.map => 10.ceded30d.chunk.js.map} (52%) rename static/js/{11.0b771e23.chunk.js => 11.aa878e28.chunk.js} (58%) rename static/js/{11.0b771e23.chunk.js.map => 11.aa878e28.chunk.js.map} (53%) rename static/js/{12.0eceec8b.chunk.js => 12.e16aff63.chunk.js} (59%) rename static/js/{12.0eceec8b.chunk.js.map => 12.e16aff63.chunk.js.map} (53%) create mode 100644 static/js/2.7b4df116.chunk.js rename static/js/{2.ef6f135a.chunk.js.LICENSE.txt => 2.7b4df116.chunk.js.LICENSE.txt} (87%) create mode 100644 static/js/2.7b4df116.chunk.js.map delete mode 100644 static/js/2.ef6f135a.chunk.js delete mode 100644 static/js/2.ef6f135a.chunk.js.map rename static/js/{3.a1b5b932.chunk.js => 3.bca32895.chunk.js} (96%) rename static/js/{3.a1b5b932.chunk.js.map => 3.bca32895.chunk.js.map} (99%) rename static/js/{4.0a22e011.chunk.js => 4.5126ad05.chunk.js} (58%) rename static/js/{4.0a22e011.chunk.js.map => 4.5126ad05.chunk.js.map} (52%) rename static/js/{5.f39be939.chunk.js => 5.445a274f.chunk.js} (58%) rename static/js/{5.f39be939.chunk.js.map => 5.445a274f.chunk.js.map} (53%) rename static/js/{6.af364642.chunk.js => 6.a267c0e9.chunk.js} (58%) rename static/js/{6.af364642.chunk.js.map => 6.a267c0e9.chunk.js.map} (53%) rename static/js/{7.98537f00.chunk.js => 7.081c2b37.chunk.js} (58%) rename static/js/{7.98537f00.chunk.js.map => 7.081c2b37.chunk.js.map} (53%) rename static/js/{8.386c5bac.chunk.js => 8.925e258e.chunk.js} (99%) rename static/js/{8.386c5bac.chunk.js.map => 8.925e258e.chunk.js.map} (99%) rename static/js/{9.b2f113da.chunk.js => 9.d803de57.chunk.js} (58%) rename static/js/{9.b2f113da.chunk.js.map => 9.d803de57.chunk.js.map} (52%) delete mode 100644 static/js/main.67e708c3.chunk.js delete mode 100644 static/js/main.67e708c3.chunk.js.map create mode 100644 static/js/main.e847d5f7.chunk.js create mode 100644 static/js/main.e847d5f7.chunk.js.map create mode 100644 static/js/runtime-main.338a13b0.js rename static/js/{runtime-main.bc0ce809.js.map => runtime-main.338a13b0.js.map} (97%) delete mode 100644 static/js/runtime-main.bc0ce809.js diff --git a/asset-manifest.json b/asset-manifest.json index 53ebe0c..0490b83 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,35 +1,35 @@ { "files": { - "main.css": "/static/css/main.e57341b8.chunk.css", - "main.js": "/static/js/main.67e708c3.chunk.js", - "main.js.map": "/static/js/main.67e708c3.chunk.js.map", - "runtime-main.js": "/static/js/runtime-main.bc0ce809.js", - "runtime-main.js.map": "/static/js/runtime-main.bc0ce809.js.map", - "static/js/2.ef6f135a.chunk.js": "/static/js/2.ef6f135a.chunk.js", - "static/js/2.ef6f135a.chunk.js.map": "/static/js/2.ef6f135a.chunk.js.map", - "static/js/3.a1b5b932.chunk.js": "/static/js/3.a1b5b932.chunk.js", - "static/js/3.a1b5b932.chunk.js.map": "/static/js/3.a1b5b932.chunk.js.map", - "static/js/4.0a22e011.chunk.js": "/static/js/4.0a22e011.chunk.js", - "static/js/4.0a22e011.chunk.js.map": "/static/js/4.0a22e011.chunk.js.map", - "static/js/5.f39be939.chunk.js": "/static/js/5.f39be939.chunk.js", - "static/js/5.f39be939.chunk.js.map": "/static/js/5.f39be939.chunk.js.map", - "static/js/6.af364642.chunk.js": "/static/js/6.af364642.chunk.js", - "static/js/6.af364642.chunk.js.map": "/static/js/6.af364642.chunk.js.map", - "static/js/7.98537f00.chunk.js": "/static/js/7.98537f00.chunk.js", - "static/js/7.98537f00.chunk.js.map": "/static/js/7.98537f00.chunk.js.map", - "static/js/8.386c5bac.chunk.js": "/static/js/8.386c5bac.chunk.js", - "static/js/8.386c5bac.chunk.js.map": "/static/js/8.386c5bac.chunk.js.map", - "static/js/9.b2f113da.chunk.js": "/static/js/9.b2f113da.chunk.js", - "static/js/9.b2f113da.chunk.js.map": "/static/js/9.b2f113da.chunk.js.map", - "static/js/10.812bcdbd.chunk.js": "/static/js/10.812bcdbd.chunk.js", - "static/js/10.812bcdbd.chunk.js.map": "/static/js/10.812bcdbd.chunk.js.map", - "static/js/11.0b771e23.chunk.js": "/static/js/11.0b771e23.chunk.js", - "static/js/11.0b771e23.chunk.js.map": "/static/js/11.0b771e23.chunk.js.map", - "static/js/12.0eceec8b.chunk.js": "/static/js/12.0eceec8b.chunk.js", - "static/js/12.0eceec8b.chunk.js.map": "/static/js/12.0eceec8b.chunk.js.map", + "main.css": "/static/css/main.9823fa1b.chunk.css", + "main.js": "/static/js/main.e847d5f7.chunk.js", + "main.js.map": "/static/js/main.e847d5f7.chunk.js.map", + "runtime-main.js": "/static/js/runtime-main.338a13b0.js", + "runtime-main.js.map": "/static/js/runtime-main.338a13b0.js.map", + "static/js/2.7b4df116.chunk.js": "/static/js/2.7b4df116.chunk.js", + "static/js/2.7b4df116.chunk.js.map": "/static/js/2.7b4df116.chunk.js.map", + "static/js/3.bca32895.chunk.js": "/static/js/3.bca32895.chunk.js", + "static/js/3.bca32895.chunk.js.map": "/static/js/3.bca32895.chunk.js.map", + "static/js/4.5126ad05.chunk.js": "/static/js/4.5126ad05.chunk.js", + "static/js/4.5126ad05.chunk.js.map": "/static/js/4.5126ad05.chunk.js.map", + "static/js/5.445a274f.chunk.js": "/static/js/5.445a274f.chunk.js", + "static/js/5.445a274f.chunk.js.map": "/static/js/5.445a274f.chunk.js.map", + "static/js/6.a267c0e9.chunk.js": "/static/js/6.a267c0e9.chunk.js", + "static/js/6.a267c0e9.chunk.js.map": "/static/js/6.a267c0e9.chunk.js.map", + "static/js/7.081c2b37.chunk.js": "/static/js/7.081c2b37.chunk.js", + "static/js/7.081c2b37.chunk.js.map": "/static/js/7.081c2b37.chunk.js.map", + "static/js/8.925e258e.chunk.js": "/static/js/8.925e258e.chunk.js", + "static/js/8.925e258e.chunk.js.map": "/static/js/8.925e258e.chunk.js.map", + "static/js/9.d803de57.chunk.js": "/static/js/9.d803de57.chunk.js", + "static/js/9.d803de57.chunk.js.map": "/static/js/9.d803de57.chunk.js.map", + "static/js/10.ceded30d.chunk.js": "/static/js/10.ceded30d.chunk.js", + "static/js/10.ceded30d.chunk.js.map": "/static/js/10.ceded30d.chunk.js.map", + "static/js/11.aa878e28.chunk.js": "/static/js/11.aa878e28.chunk.js", + "static/js/11.aa878e28.chunk.js.map": "/static/js/11.aa878e28.chunk.js.map", + "static/js/12.e16aff63.chunk.js": "/static/js/12.e16aff63.chunk.js", + "static/js/12.e16aff63.chunk.js.map": "/static/js/12.e16aff63.chunk.js.map", "index.html": "/index.html", - "static/css/main.e57341b8.chunk.css.map": "/static/css/main.e57341b8.chunk.css.map", - "static/js/2.ef6f135a.chunk.js.LICENSE.txt": "/static/js/2.ef6f135a.chunk.js.LICENSE.txt", + "static/css/main.9823fa1b.chunk.css.map": "/static/css/main.9823fa1b.chunk.css.map", + "static/js/2.7b4df116.chunk.js.LICENSE.txt": "/static/js/2.7b4df116.chunk.js.LICENSE.txt", "static/media/HeaderImage.1f39a672.svg": "/static/media/HeaderImage.1f39a672.svg", "static/media/ProfileFrame B&G Bars.png": "/static/media/ProfileFrame B&G Bars.2a430953.png", "static/media/ProfileFrame Blue Bars.png": "/static/media/ProfileFrame Blue Bars.82e50d9c.png", @@ -41,9 +41,9 @@ "static/media/ProfileFrame Yellow Bars.png": "/static/media/ProfileFrame Yellow Bars.00b147cf.png" }, "entrypoints": [ - "static/js/runtime-main.bc0ce809.js", - "static/js/2.ef6f135a.chunk.js", - "static/css/main.e57341b8.chunk.css", - "static/js/main.67e708c3.chunk.js" + "static/js/runtime-main.338a13b0.js", + "static/js/2.7b4df116.chunk.js", + "static/css/main.9823fa1b.chunk.css", + "static/js/main.e847d5f7.chunk.js" ] } \ No newline at end of file diff --git a/hammer.min.js b/hammer.min.js new file mode 100644 index 0000000..0fc914a --- /dev/null +++ b/hammer.min.js @@ -0,0 +1,7 @@ +/*! Hammer.JS - v2.0.8 - 2016-04-23 + * http://hammerjs.github.io/ + * + * Copyright (c) 2016 Jorik Tangelder; + * Licensed under the MIT license */ +!function (a, b, c, d) { "use strict"; function e(a, b, c) { return setTimeout(j(a, c), b) } function f(a, b, c) { return Array.isArray(a) ? (g(a, c[b], c), !0) : !1 } function g(a, b, c) { var e; if (a) if (a.forEach) a.forEach(b, c); else if (a.length !== d) for (e = 0; e < a.length;)b.call(c, a[e], e, a), e++; else for (e in a) a.hasOwnProperty(e) && b.call(c, a[e], e, a) } function h(b, c, d) { var e = "DEPRECATED METHOD: " + c + "\n" + d + " AT \n"; return function () { var c = new Error("get-stack-trace"), d = c && c.stack ? c.stack.replace(/^[^\(]+?[\n$]/gm, "").replace(/^\s+at\s+/gm, "").replace(/^Object.\s*\(/gm, "{anonymous}()@") : "Unknown Stack Trace", f = a.console && (a.console.warn || a.console.log); return f && f.call(a.console, e, d), b.apply(this, arguments) } } function i(a, b, c) { var d, e = b.prototype; d = a.prototype = Object.create(e), d.constructor = a, d._super = e, c && la(d, c) } function j(a, b) { return function () { return a.apply(b, arguments) } } function k(a, b) { return typeof a == oa ? a.apply(b ? b[0] || d : d, b) : a } function l(a, b) { return a === d ? b : a } function m(a, b, c) { g(q(b), function (b) { a.addEventListener(b, c, !1) }) } function n(a, b, c) { g(q(b), function (b) { a.removeEventListener(b, c, !1) }) } function o(a, b) { for (; a;) { if (a == b) return !0; a = a.parentNode } return !1 } function p(a, b) { return a.indexOf(b) > -1 } function q(a) { return a.trim().split(/\s+/g) } function r(a, b, c) { if (a.indexOf && !c) return a.indexOf(b); for (var d = 0; d < a.length;) { if (c && a[d][c] == b || !c && a[d] === b) return d; d++ } return -1 } function s(a) { return Array.prototype.slice.call(a, 0) } function t(a, b, c) { for (var d = [], e = [], f = 0; f < a.length;) { var g = b ? a[f][b] : a[f]; r(e, g) < 0 && d.push(a[f]), e[f] = g, f++ } return c && (d = b ? d.sort(function (a, c) { return a[b] > c[b] }) : d.sort()), d } function u(a, b) { for (var c, e, f = b[0].toUpperCase() + b.slice(1), g = 0; g < ma.length;) { if (c = ma[g], e = c ? c + f : b, e in a) return e; g++ } return d } function v() { return ua++ } function w(b) { var c = b.ownerDocument || b; return c.defaultView || c.parentWindow || a } function x(a, b) { var c = this; this.manager = a, this.callback = b, this.element = a.element, this.target = a.options.inputTarget, this.domHandler = function (b) { k(a.options.enable, [a]) && c.handler(b) }, this.init() } function y(a) { var b, c = a.options.inputClass; return new (b = c ? c : xa ? M : ya ? P : wa ? R : L)(a, z) } function z(a, b, c) { var d = c.pointers.length, e = c.changedPointers.length, f = b & Ea && d - e === 0, g = b & (Ga | Ha) && d - e === 0; c.isFirst = !!f, c.isFinal = !!g, f && (a.session = {}), c.eventType = b, A(a, c), a.emit("hammer.input", c), a.recognize(c), a.session.prevInput = c } function A(a, b) { var c = a.session, d = b.pointers, e = d.length; c.firstInput || (c.firstInput = D(b)), e > 1 && !c.firstMultiple ? c.firstMultiple = D(b) : 1 === e && (c.firstMultiple = !1); var f = c.firstInput, g = c.firstMultiple, h = g ? g.center : f.center, i = b.center = E(d); b.timeStamp = ra(), b.deltaTime = b.timeStamp - f.timeStamp, b.angle = I(h, i), b.distance = H(h, i), B(c, b), b.offsetDirection = G(b.deltaX, b.deltaY); var j = F(b.deltaTime, b.deltaX, b.deltaY); b.overallVelocityX = j.x, b.overallVelocityY = j.y, b.overallVelocity = qa(j.x) > qa(j.y) ? j.x : j.y, b.scale = g ? K(g.pointers, d) : 1, b.rotation = g ? J(g.pointers, d) : 0, b.maxPointers = c.prevInput ? b.pointers.length > c.prevInput.maxPointers ? b.pointers.length : c.prevInput.maxPointers : b.pointers.length, C(c, b); var k = a.element; o(b.srcEvent.target, k) && (k = b.srcEvent.target), b.target = k } function B(a, b) { var c = b.center, d = a.offsetDelta || {}, e = a.prevDelta || {}, f = a.prevInput || {}; b.eventType !== Ea && f.eventType !== Ga || (e = a.prevDelta = { x: f.deltaX || 0, y: f.deltaY || 0 }, d = a.offsetDelta = { x: c.x, y: c.y }), b.deltaX = e.x + (c.x - d.x), b.deltaY = e.y + (c.y - d.y) } function C(a, b) { var c, e, f, g, h = a.lastInterval || b, i = b.timeStamp - h.timeStamp; if (b.eventType != Ha && (i > Da || h.velocity === d)) { var j = b.deltaX - h.deltaX, k = b.deltaY - h.deltaY, l = F(i, j, k); e = l.x, f = l.y, c = qa(l.x) > qa(l.y) ? l.x : l.y, g = G(j, k), a.lastInterval = b } else c = h.velocity, e = h.velocityX, f = h.velocityY, g = h.direction; b.velocity = c, b.velocityX = e, b.velocityY = f, b.direction = g } function D(a) { for (var b = [], c = 0; c < a.pointers.length;)b[c] = { clientX: pa(a.pointers[c].clientX), clientY: pa(a.pointers[c].clientY) }, c++; return { timeStamp: ra(), pointers: b, center: E(b), deltaX: a.deltaX, deltaY: a.deltaY } } function E(a) { var b = a.length; if (1 === b) return { x: pa(a[0].clientX), y: pa(a[0].clientY) }; for (var c = 0, d = 0, e = 0; b > e;)c += a[e].clientX, d += a[e].clientY, e++; return { x: pa(c / b), y: pa(d / b) } } function F(a, b, c) { return { x: b / a || 0, y: c / a || 0 } } function G(a, b) { return a === b ? Ia : qa(a) >= qa(b) ? 0 > a ? Ja : Ka : 0 > b ? La : Ma } function H(a, b, c) { c || (c = Qa); var d = b[c[0]] - a[c[0]], e = b[c[1]] - a[c[1]]; return Math.sqrt(d * d + e * e) } function I(a, b, c) { c || (c = Qa); var d = b[c[0]] - a[c[0]], e = b[c[1]] - a[c[1]]; return 180 * Math.atan2(e, d) / Math.PI } function J(a, b) { return I(b[1], b[0], Ra) + I(a[1], a[0], Ra) } function K(a, b) { return H(b[0], b[1], Ra) / H(a[0], a[1], Ra) } function L() { this.evEl = Ta, this.evWin = Ua, this.pressed = !1, x.apply(this, arguments) } function M() { this.evEl = Xa, this.evWin = Ya, x.apply(this, arguments), this.store = this.manager.session.pointerEvents = [] } function N() { this.evTarget = $a, this.evWin = _a, this.started = !1, x.apply(this, arguments) } function O(a, b) { var c = s(a.touches), d = s(a.changedTouches); return b & (Ga | Ha) && (c = t(c.concat(d), "identifier", !0)), [c, d] } function P() { this.evTarget = bb, this.targetIds = {}, x.apply(this, arguments) } function Q(a, b) { var c = s(a.touches), d = this.targetIds; if (b & (Ea | Fa) && 1 === c.length) return d[c[0].identifier] = !0, [c, c]; var e, f, g = s(a.changedTouches), h = [], i = this.target; if (f = c.filter(function (a) { return o(a.target, i) }), b === Ea) for (e = 0; e < f.length;)d[f[e].identifier] = !0, e++; for (e = 0; e < g.length;)d[g[e].identifier] && h.push(g[e]), b & (Ga | Ha) && delete d[g[e].identifier], e++; return h.length ? [t(f.concat(h), "identifier", !0), h] : void 0 } function R() { x.apply(this, arguments); var a = j(this.handler, this); this.touch = new P(this.manager, a), this.mouse = new L(this.manager, a), this.primaryTouch = null, this.lastTouches = [] } function S(a, b) { a & Ea ? (this.primaryTouch = b.changedPointers[0].identifier, T.call(this, b)) : a & (Ga | Ha) && T.call(this, b) } function T(a) { var b = a.changedPointers[0]; if (b.identifier === this.primaryTouch) { var c = { x: b.clientX, y: b.clientY }; this.lastTouches.push(c); var d = this.lastTouches, e = function () { var a = d.indexOf(c); a > -1 && d.splice(a, 1) }; setTimeout(e, cb) } } function U(a) { for (var b = a.srcEvent.clientX, c = a.srcEvent.clientY, d = 0; d < this.lastTouches.length; d++) { var e = this.lastTouches[d], f = Math.abs(b - e.x), g = Math.abs(c - e.y); if (db >= f && db >= g) return !0 } return !1 } function V(a, b) { this.manager = a, this.set(b) } function W(a) { if (p(a, jb)) return jb; var b = p(a, kb), c = p(a, lb); return b && c ? jb : b || c ? b ? kb : lb : p(a, ib) ? ib : hb } function X() { if (!fb) return !1; var b = {}, c = a.CSS && a.CSS.supports; return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function (d) { b[d] = c ? a.CSS.supports("touch-action", d) : !0 }), b } function Y(a) { this.options = la({}, this.defaults, a || {}), this.id = v(), this.manager = null, this.options.enable = l(this.options.enable, !0), this.state = nb, this.simultaneous = {}, this.requireFail = [] } function Z(a) { return a & sb ? "cancel" : a & qb ? "end" : a & pb ? "move" : a & ob ? "start" : "" } function $(a) { return a == Ma ? "down" : a == La ? "up" : a == Ja ? "left" : a == Ka ? "right" : "" } function _(a, b) { var c = b.manager; return c ? c.get(a) : a } function aa() { Y.apply(this, arguments) } function ba() { aa.apply(this, arguments), this.pX = null, this.pY = null } function ca() { aa.apply(this, arguments) } function da() { Y.apply(this, arguments), this._timer = null, this._input = null } function ea() { aa.apply(this, arguments) } function fa() { aa.apply(this, arguments) } function ga() { Y.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0 } function ha(a, b) { return b = b || {}, b.recognizers = l(b.recognizers, ha.defaults.preset), new ia(a, b) } function ia(a, b) { this.options = la({}, ha.defaults, b || {}), this.options.inputTarget = this.options.inputTarget || a, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = a, this.input = y(this), this.touchAction = new V(this, this.options.touchAction), ja(this, !0), g(this.options.recognizers, function (a) { var b = this.add(new a[0](a[1])); a[2] && b.recognizeWith(a[2]), a[3] && b.requireFailure(a[3]) }, this) } function ja(a, b) { var c = a.element; if (c.style) { var d; g(a.options.cssProps, function (e, f) { d = u(c.style, f), b ? (a.oldCssProps[d] = c.style[d], c.style[d] = e) : c.style[d] = a.oldCssProps[d] || "" }), b || (a.oldCssProps = {}) } } function ka(a, c) { var d = b.createEvent("Event"); d.initEvent(a, !0, !0), d.gesture = c, c.target.dispatchEvent(d) } var la, ma = ["", "webkit", "Moz", "MS", "ms", "o"], na = b.createElement("div"), oa = "function", pa = Math.round, qa = Math.abs, ra = Date.now; la = "function" != typeof Object.assign ? function (a) { if (a === d || null === a) throw new TypeError("Cannot convert undefined or null to object"); for (var b = Object(a), c = 1; c < arguments.length; c++) { var e = arguments[c]; if (e !== d && null !== e) for (var f in e) e.hasOwnProperty(f) && (b[f] = e[f]) } return b } : Object.assign; var sa = h(function (a, b, c) { for (var e = Object.keys(b), f = 0; f < e.length;)(!c || c && a[e[f]] === d) && (a[e[f]] = b[e[f]]), f++; return a }, "extend", "Use `assign`."), ta = h(function (a, b) { return sa(a, b, !0) }, "merge", "Use `assign`."), ua = 1, va = /mobile|tablet|ip(ad|hone|od)|android/i, wa = "ontouchstart" in a, xa = u(a, "PointerEvent") !== d, ya = wa && va.test(navigator.userAgent), za = "touch", Aa = "pen", Ba = "mouse", Ca = "kinect", Da = 25, Ea = 1, Fa = 2, Ga = 4, Ha = 8, Ia = 1, Ja = 2, Ka = 4, La = 8, Ma = 16, Na = Ja | Ka, Oa = La | Ma, Pa = Na | Oa, Qa = ["x", "y"], Ra = ["clientX", "clientY"]; x.prototype = { handler: function () { }, init: function () { this.evEl && m(this.element, this.evEl, this.domHandler), this.evTarget && m(this.target, this.evTarget, this.domHandler), this.evWin && m(w(this.element), this.evWin, this.domHandler) }, destroy: function () { this.evEl && n(this.element, this.evEl, this.domHandler), this.evTarget && n(this.target, this.evTarget, this.domHandler), this.evWin && n(w(this.element), this.evWin, this.domHandler) } }; var Sa = { mousedown: Ea, mousemove: Fa, mouseup: Ga }, Ta = "mousedown", Ua = "mousemove mouseup"; i(L, x, { handler: function (a) { var b = Sa[a.type]; b & Ea && 0 === a.button && (this.pressed = !0), b & Fa && 1 !== a.which && (b = Ga), this.pressed && (b & Ga && (this.pressed = !1), this.callback(this.manager, b, { pointers: [a], changedPointers: [a], pointerType: Ba, srcEvent: a })) } }); var Va = { pointerdown: Ea, pointermove: Fa, pointerup: Ga, pointercancel: Ha, pointerout: Ha }, Wa = { 2: za, 3: Aa, 4: Ba, 5: Ca }, Xa = "pointerdown", Ya = "pointermove pointerup pointercancel"; a.MSPointerEvent && !a.PointerEvent && (Xa = "MSPointerDown", Ya = "MSPointerMove MSPointerUp MSPointerCancel"), i(M, x, { handler: function (a) { var b = this.store, c = !1, d = a.type.toLowerCase().replace("ms", ""), e = Va[d], f = Wa[a.pointerType] || a.pointerType, g = f == za, h = r(b, a.pointerId, "pointerId"); e & Ea && (0 === a.button || g) ? 0 > h && (b.push(a), h = b.length - 1) : e & (Ga | Ha) && (c = !0), 0 > h || (b[h] = a, this.callback(this.manager, e, { pointers: b, changedPointers: [a], pointerType: f, srcEvent: a }), c && b.splice(h, 1)) } }); var Za = { touchstart: Ea, touchmove: Fa, touchend: Ga, touchcancel: Ha }, $a = "touchstart", _a = "touchstart touchmove touchend touchcancel"; i(N, x, { handler: function (a) { var b = Za[a.type]; if (b === Ea && (this.started = !0), this.started) { var c = O.call(this, a, b); b & (Ga | Ha) && c[0].length - c[1].length === 0 && (this.started = !1), this.callback(this.manager, b, { pointers: c[0], changedPointers: c[1], pointerType: za, srcEvent: a }) } } }); var ab = { touchstart: Ea, touchmove: Fa, touchend: Ga, touchcancel: Ha }, bb = "touchstart touchmove touchend touchcancel"; i(P, x, { handler: function (a) { var b = ab[a.type], c = Q.call(this, a, b); c && this.callback(this.manager, b, { pointers: c[0], changedPointers: c[1], pointerType: za, srcEvent: a }) } }); var cb = 2500, db = 25; i(R, x, { handler: function (a, b, c) { var d = c.pointerType == za, e = c.pointerType == Ba; if (!(e && c.sourceCapabilities && c.sourceCapabilities.firesTouchEvents)) { if (d) S.call(this, b, c); else if (e && U.call(this, c)) return; this.callback(a, b, c) } }, destroy: function () { this.touch.destroy(), this.mouse.destroy() } }); var eb = u(na.style, "touchAction"), fb = eb !== d, gb = "compute", hb = "auto", ib = "manipulation", jb = "none", kb = "pan-x", lb = "pan-y", mb = X(); V.prototype = { set: function (a) { a == gb && (a = this.compute()), fb && this.manager.element.style && mb[a] && (this.manager.element.style[eb] = a), this.actions = a.toLowerCase().trim() }, update: function () { this.set(this.manager.options.touchAction) }, compute: function () { var a = []; return g(this.manager.recognizers, function (b) { k(b.options.enable, [b]) && (a = a.concat(b.getTouchAction())) }), W(a.join(" ")) }, preventDefaults: function (a) { var b = a.srcEvent, c = a.offsetDirection; if (this.manager.session.prevented) return void b.preventDefault(); var d = this.actions, e = p(d, jb) && !mb[jb], f = p(d, lb) && !mb[lb], g = p(d, kb) && !mb[kb]; if (e) { var h = 1 === a.pointers.length, i = a.distance < 2, j = a.deltaTime < 250; if (h && i && j) return } return g && f ? void 0 : e || f && c & Na || g && c & Oa ? this.preventSrc(b) : void 0 }, preventSrc: function (a) { this.manager.session.prevented = !0, a.preventDefault() } }; var nb = 1, ob = 2, pb = 4, qb = 8, rb = qb, sb = 16, tb = 32; Y.prototype = { defaults: {}, set: function (a) { return la(this.options, a), this.manager && this.manager.touchAction.update(), this }, recognizeWith: function (a) { if (f(a, "recognizeWith", this)) return this; var b = this.simultaneous; return a = _(a, this), b[a.id] || (b[a.id] = a, a.recognizeWith(this)), this }, dropRecognizeWith: function (a) { return f(a, "dropRecognizeWith", this) ? this : (a = _(a, this), delete this.simultaneous[a.id], this) }, requireFailure: function (a) { if (f(a, "requireFailure", this)) return this; var b = this.requireFail; return a = _(a, this), -1 === r(b, a) && (b.push(a), a.requireFailure(this)), this }, dropRequireFailure: function (a) { if (f(a, "dropRequireFailure", this)) return this; a = _(a, this); var b = r(this.requireFail, a); return b > -1 && this.requireFail.splice(b, 1), this }, hasRequireFailures: function () { return this.requireFail.length > 0 }, canRecognizeWith: function (a) { return !!this.simultaneous[a.id] }, emit: function (a) { function b(b) { c.manager.emit(b, a) } var c = this, d = this.state; qb > d && b(c.options.event + Z(d)), b(c.options.event), a.additionalEvent && b(a.additionalEvent), d >= qb && b(c.options.event + Z(d)) }, tryEmit: function (a) { return this.canEmit() ? this.emit(a) : void (this.state = tb) }, canEmit: function () { for (var a = 0; a < this.requireFail.length;) { if (!(this.requireFail[a].state & (tb | nb))) return !1; a++ } return !0 }, recognize: function (a) { var b = la({}, a); return k(this.options.enable, [this, b]) ? (this.state & (rb | sb | tb) && (this.state = nb), this.state = this.process(b), void (this.state & (ob | pb | qb | sb) && this.tryEmit(b))) : (this.reset(), void (this.state = tb)) }, process: function (a) { }, getTouchAction: function () { }, reset: function () { } }, i(aa, Y, { defaults: { pointers: 1 }, attrTest: function (a) { var b = this.options.pointers; return 0 === b || a.pointers.length === b }, process: function (a) { var b = this.state, c = a.eventType, d = b & (ob | pb), e = this.attrTest(a); return d && (c & Ha || !e) ? b | sb : d || e ? c & Ga ? b | qb : b & ob ? b | pb : ob : tb } }), i(ba, aa, { defaults: { event: "pan", threshold: 10, pointers: 1, direction: Pa }, getTouchAction: function () { var a = this.options.direction, b = []; return a & Na && b.push(lb), a & Oa && b.push(kb), b }, directionTest: function (a) { var b = this.options, c = !0, d = a.distance, e = a.direction, f = a.deltaX, g = a.deltaY; return e & b.direction || (b.direction & Na ? (e = 0 === f ? Ia : 0 > f ? Ja : Ka, c = f != this.pX, d = Math.abs(a.deltaX)) : (e = 0 === g ? Ia : 0 > g ? La : Ma, c = g != this.pY, d = Math.abs(a.deltaY))), a.direction = e, c && d > b.threshold && e & b.direction }, attrTest: function (a) { return aa.prototype.attrTest.call(this, a) && (this.state & ob || !(this.state & ob) && this.directionTest(a)) }, emit: function (a) { this.pX = a.deltaX, this.pY = a.deltaY; var b = $(a.direction); b && (a.additionalEvent = this.options.event + b), this._super.emit.call(this, a) } }), i(ca, aa, { defaults: { event: "pinch", threshold: 0, pointers: 2 }, getTouchAction: function () { return [jb] }, attrTest: function (a) { return this._super.attrTest.call(this, a) && (Math.abs(a.scale - 1) > this.options.threshold || this.state & ob) }, emit: function (a) { if (1 !== a.scale) { var b = a.scale < 1 ? "in" : "out"; a.additionalEvent = this.options.event + b } this._super.emit.call(this, a) } }), i(da, Y, { defaults: { event: "press", pointers: 1, time: 251, threshold: 9 }, getTouchAction: function () { return [hb] }, process: function (a) { var b = this.options, c = a.pointers.length === b.pointers, d = a.distance < b.threshold, f = a.deltaTime > b.time; if (this._input = a, !d || !c || a.eventType & (Ga | Ha) && !f) this.reset(); else if (a.eventType & Ea) this.reset(), this._timer = e(function () { this.state = rb, this.tryEmit() }, b.time, this); else if (a.eventType & Ga) return rb; return tb }, reset: function () { clearTimeout(this._timer) }, emit: function (a) { this.state === rb && (a && a.eventType & Ga ? this.manager.emit(this.options.event + "up", a) : (this._input.timeStamp = ra(), this.manager.emit(this.options.event, this._input))) } }), i(ea, aa, { defaults: { event: "rotate", threshold: 0, pointers: 2 }, getTouchAction: function () { return [jb] }, attrTest: function (a) { return this._super.attrTest.call(this, a) && (Math.abs(a.rotation) > this.options.threshold || this.state & ob) } }), i(fa, aa, { defaults: { event: "swipe", threshold: 10, velocity: .3, direction: Na | Oa, pointers: 1 }, getTouchAction: function () { return ba.prototype.getTouchAction.call(this) }, attrTest: function (a) { var b, c = this.options.direction; return c & (Na | Oa) ? b = a.overallVelocity : c & Na ? b = a.overallVelocityX : c & Oa && (b = a.overallVelocityY), this._super.attrTest.call(this, a) && c & a.offsetDirection && a.distance > this.options.threshold && a.maxPointers == this.options.pointers && qa(b) > this.options.velocity && a.eventType & Ga }, emit: function (a) { var b = $(a.offsetDirection); b && this.manager.emit(this.options.event + b, a), this.manager.emit(this.options.event, a) } }), i(ga, Y, { defaults: { event: "tap", pointers: 1, taps: 1, interval: 300, time: 250, threshold: 9, posThreshold: 10 }, getTouchAction: function () { return [ib] }, process: function (a) { var b = this.options, c = a.pointers.length === b.pointers, d = a.distance < b.threshold, f = a.deltaTime < b.time; if (this.reset(), a.eventType & Ea && 0 === this.count) return this.failTimeout(); if (d && f && c) { if (a.eventType != Ga) return this.failTimeout(); var g = this.pTime ? a.timeStamp - this.pTime < b.interval : !0, h = !this.pCenter || H(this.pCenter, a.center) < b.posThreshold; this.pTime = a.timeStamp, this.pCenter = a.center, h && g ? this.count += 1 : this.count = 1, this._input = a; var i = this.count % b.taps; if (0 === i) return this.hasRequireFailures() ? (this._timer = e(function () { this.state = rb, this.tryEmit() }, b.interval, this), ob) : rb } return tb }, failTimeout: function () { return this._timer = e(function () { this.state = tb }, this.options.interval, this), tb }, reset: function () { clearTimeout(this._timer) }, emit: function () { this.state == rb && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input)) } }), ha.VERSION = "2.0.8", ha.defaults = { domEvents: !1, touchAction: gb, enable: !0, inputTarget: null, inputClass: null, preset: [[ea, { enable: !1 }], [ca, { enable: !1 }, ["rotate"]], [fa, { direction: Na }], [ba, { direction: Na }, ["swipe"]], [ga], [ga, { event: "doubletap", taps: 2 }, ["tap"]], [da]], cssProps: { userSelect: "none", touchSelect: "none", touchCallout: "none", contentZooming: "none", userDrag: "none", tapHighlightColor: "rgba(0,0,0,0)" } }; var ub = 1, vb = 2; ia.prototype = { set: function (a) { return la(this.options, a), a.touchAction && this.touchAction.update(), a.inputTarget && (this.input.destroy(), this.input.target = a.inputTarget, this.input.init()), this }, stop: function (a) { this.session.stopped = a ? vb : ub }, recognize: function (a) { var b = this.session; if (!b.stopped) { this.touchAction.preventDefaults(a); var c, d = this.recognizers, e = b.curRecognizer; (!e || e && e.state & rb) && (e = b.curRecognizer = null); for (var f = 0; f < d.length;)c = d[f], b.stopped === vb || e && c != e && !c.canRecognizeWith(e) ? c.reset() : c.recognize(a), !e && c.state & (ob | pb | qb) && (e = b.curRecognizer = c), f++ } }, get: function (a) { if (a instanceof Y) return a; for (var b = this.recognizers, c = 0; c < b.length; c++)if (b[c].options.event == a) return b[c]; return null }, add: function (a) { if (f(a, "add", this)) return this; var b = this.get(a.options.event); return b && this.remove(b), this.recognizers.push(a), a.manager = this, this.touchAction.update(), a }, remove: function (a) { if (f(a, "remove", this)) return this; if (a = this.get(a)) { var b = this.recognizers, c = r(b, a); -1 !== c && (b.splice(c, 1), this.touchAction.update()) } return this }, on: function (a, b) { if (a !== d && b !== d) { var c = this.handlers; return g(q(a), function (a) { c[a] = c[a] || [], c[a].push(b) }), this } }, off: function (a, b) { if (a !== d) { var c = this.handlers; return g(q(a), function (a) { b ? c[a] && c[a].splice(r(c[a], b), 1) : delete c[a] }), this } }, emit: function (a, b) { this.options.domEvents && ka(a, b); var c = this.handlers[a] && this.handlers[a].slice(); if (c && c.length) { b.type = a, b.preventDefault = function () { b.srcEvent.preventDefault() }; for (var d = 0; d < c.length;)c[d](b), d++ } }, destroy: function () { this.element && ja(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null } }, la(ha, { INPUT_START: Ea, INPUT_MOVE: Fa, INPUT_END: Ga, INPUT_CANCEL: Ha, STATE_POSSIBLE: nb, STATE_BEGAN: ob, STATE_CHANGED: pb, STATE_ENDED: qb, STATE_RECOGNIZED: rb, STATE_CANCELLED: sb, STATE_FAILED: tb, DIRECTION_NONE: Ia, DIRECTION_LEFT: Ja, DIRECTION_RIGHT: Ka, DIRECTION_UP: La, DIRECTION_DOWN: Ma, DIRECTION_HORIZONTAL: Na, DIRECTION_VERTICAL: Oa, DIRECTION_ALL: Pa, Manager: ia, Input: x, TouchAction: V, TouchInput: P, MouseInput: L, PointerEventInput: M, TouchMouseInput: R, SingleTouchInput: N, Recognizer: Y, AttrRecognizer: aa, Tap: ga, Pan: ba, Swipe: fa, Pinch: ca, Rotate: ea, Press: da, on: m, off: n, each: g, merge: ta, extend: sa, assign: la, inherit: i, bindFn: j, prefixed: u }); var wb = "undefined" != typeof a ? a : "undefined" != typeof self ? self : {}; wb.Hammer = ha, "function" == typeof define && define.amd ? define(function () { return ha }) : "undefined" != typeof module && module.exports ? module.exports = ha : a[c] = ha }(window, document, "Hammer"); +//# sourceMappingURL=hammer.min.js.map diff --git a/index.html b/index.html index 08123e8..351c2c8 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Volt Social Media Frame Generator
\ No newline at end of file +Volt Social Media Frame Generator
\ No newline at end of file diff --git a/static/css/main.9823fa1b.chunk.css b/static/css/main.9823fa1b.chunk.css new file mode 100644 index 0000000..1090c9a --- /dev/null +++ b/static/css/main.9823fa1b.chunk.css @@ -0,0 +1,2 @@ +:root{--volt-purple:#582c83;--background:#140022}*{margin:0;padding:0;font-family:"Ubuntu",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background-color:#140022;background-color:var(--background)}.App{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff;padding:10vmin}h2{margin:10vh 0 2vh;font-size:calc(10px + 4vmin)}p{max-width:100%;width:calc(40vh + 15vw)}.HeaderImage{height:calc(10px + 30vmin);max-width:100%}.FinishedFrame{height:36vh;margin:2vh}.FrameChooser .frame{height:12vh;margin:2vh;cursor:pointer;box-shadow:0 0 0 1vh hsla(0,0%,100%,0);transition:transform .2s ease}.FrameChooser .frame:hover{transform-origin:center center;transform:scale(1.1)}.FrameChooser .frame.choosen{box-shadow:0 0 0 1vh #fff}.labelButton,button{outline:none;border:none;margin:2vh;padding:1vh 2vh;font-size:calc(10px + 2vmin);font-weight:700;cursor:pointer;background:#fff;color:#582c83;color:var(--volt-purple);transition:transform .2s ease}.labelButton:hover,button:hover{transform-origin:center center;transform:scale(1.05)}.labelButton img{display:inline;height:calc(10px + 4vmin);margin:0 2vh 0 -1vh}.labelButton img,.labelButton span{vertical-align:middle}.droparea{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:calc(10px + 10vmin);background:rgba(20,0,34,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:none;opacity:0;transition:opacity .2s ease}.droparea.active{opacity:1}.Editor{pointer-events:all;position:relative;margin:2vh;font-size:0;cursor:move;overflow:hidden}.Editor .background{pointer-events:none;position:absolute;top:50%;left:50%}.Editor .foreground{pointer-events:none;position:relative;width:36vh;height:36vh} +/*# sourceMappingURL=main.9823fa1b.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.9823fa1b.chunk.css.map b/static/css/main.9823fa1b.chunk.css.map new file mode 100644 index 0000000..0e176cf --- /dev/null +++ b/static/css/main.9823fa1b.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://src/App.css"],"names":[],"mappings":"AAAA,MACI,qBAAsB,CACtB,oBACJ,CAEA,EACI,QAAS,CACT,SAAU,CACV,mJAEU,CACV,kCAAmC,CACnC,iCACJ,CAEA,KACI,wBAAmC,CAAnC,kCACJ,CAEA,KACI,iBAAkB,CAGlB,YAAa,CACb,qBAAsB,CACtB,kBAAmB,CACnB,sBAAuB,CACvB,4BAA6B,CAC7B,UAAY,CACZ,cACJ,CAEA,GACI,iBAAoB,CACpB,4BACJ,CAEA,EACI,cAAe,CACf,uBACJ,CAEA,aACI,0BAA2B,CAC3B,cACJ,CAEA,eACI,WAAY,CACZ,UACJ,CAEA,qBACI,WAAY,CACZ,UAAW,CACX,cAAe,CACf,sCAAyC,CACzC,6BACJ,CACA,2BACI,8BAA+B,CAC/B,oBACJ,CACA,6BACI,yBACJ,CAEA,oBAEI,YAAa,CACb,WAAY,CACZ,UAAW,CACX,eAAgB,CAChB,4BAA6B,CAC7B,eAAiB,CACjB,cAAe,CAEf,eAAiB,CACjB,aAAyB,CAAzB,wBAAyB,CACzB,6BACJ,CACA,gCAEI,8BAA+B,CAC/B,qBACJ,CAEA,iBACI,cAAe,CACf,yBAA0B,CAE1B,mBACJ,CACA,mCAHI,qBAKJ,CAGA,UACI,cAAe,CACf,KAAM,CACN,OAAQ,CACR,QAAS,CACT,MAAO,CAEP,YAAa,CACb,kBAAmB,CACnB,sBAAuB,CAEvB,eAAiB,CACjB,6BAA8B,CAE9B,2BAAgC,CAChC,kCAA2B,CAA3B,0BAA2B,CAE3B,mBAAoB,CACpB,SAAU,CACV,2BACJ,CACA,iBACI,SACJ,CAGA,QACI,kBAAmB,CACnB,iBAAkB,CAClB,UAAW,CACX,WAAY,CACZ,WAAY,CACZ,eACJ,CACA,oBACI,mBAAoB,CACpB,iBAAkB,CAClB,OAAQ,CACR,QACJ,CACA,oBACI,mBAAoB,CACpB,iBAAkB,CAClB,UAAW,CACX,WACJ","file":"main.9823fa1b.chunk.css","sourcesContent":[":root{\n --volt-purple: #582C83;\n --background: #140022;\n}\n\n*{\n margin: 0;\n padding: 0;\n font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\nbody{\n background-color: var(--background);\n}\n\n.App {\n text-align: center;\n\n /* min-height: 100vh; */\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n padding: 10vmin;\n}\n\nh2{\n margin: 10vh 0 2vh 0;\n font-size: calc(10px + 4vmin);\n}\n\np{\n max-width: 100%;\n width: calc(40vh + 15vw);\n}\n\n.HeaderImage{\n height: calc(10px + 30vmin);\n max-width: 100%;\n}\n\n.FinishedFrame {\n height: 36vh;\n margin: 2vh;\n}\n\n.FrameChooser .frame{\n height: 12vh;\n margin: 2vh;\n cursor: pointer;\n box-shadow: 0 0 0 1vh rgba(255,255,255,0);\n transition: transform 0.2s ease;\n}\n.FrameChooser .frame:hover{\n transform-origin: center center;\n transform: scale(1.1);\n}\n.FrameChooser .frame.choosen{\n box-shadow: 0 0 0 1vh white;\n}\n\nbutton,\n.labelButton{\n outline: none;\n border: none;\n margin: 2vh;\n padding: 1vh 2vh;\n font-size: calc(10px + 2vmin);\n font-weight: bold;\n cursor: pointer;\n\n background: white;\n color: var(--volt-purple);\n transition: transform 0.2s ease;\n}\nbutton:hover,\n.labelButton:hover{\n transform-origin: center center;\n transform: scale(1.05);\n}\n\n.labelButton img{\n display: inline;\n height: calc(10px + 4vmin);\n vertical-align: middle;\n margin: 0 2vh 0 -1vh;\n}\n.labelButton span{\n vertical-align: middle;\n}\n\n\n.droparea{\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n \n display: flex;\n align-items: center;\n justify-content: center;\n\n font-weight: bold;\n font-size: calc(10px + 10vmin);\n\n background: rgba(20, 0, 34, 0.7);\n backdrop-filter: blur(10px);\n\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s ease;\n}\n.droparea.active{\n opacity: 1;\n}\n\n\n.Editor{\n pointer-events: all;\n position: relative;\n margin: 2vh;\n font-size: 0;\n cursor: move;\n overflow: hidden;\n}\n.Editor .background{\n pointer-events: none; \n position: absolute; \n top: 50%;\n left: 50%;\n}\n.Editor .foreground{\n pointer-events: none;\n position: relative;\n width: 36vh;\n height: 36vh;\n}\n\n"]} \ No newline at end of file diff --git a/static/css/main.e57341b8.chunk.css b/static/css/main.e57341b8.chunk.css deleted file mode 100644 index 2c9610a..0000000 --- a/static/css/main.e57341b8.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -:root{--volt-purple:#582c83;--background:#140022}*{margin:0;padding:0;font-family:"Ubuntu",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.App{text-align:center;background-color:#140022;background-color:var(--background);min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(10px + 2vmin);color:#fff;padding:10vmin}h2{margin:10vh 0 2vh;font-size:calc(10px + 4vmin)}p{max-width:100%;width:calc(40vh + 15vw)}.HeaderImage{height:calc(10px + 30vmin);max-width:100%}.FinishedFrame{height:36vh;margin:2vh}.FrameChooser .frame{height:12vh;margin:2vh;cursor:pointer;box-shadow:0 0 0 1vh hsla(0,0%,100%,0);transition:transform .2s ease}.FrameChooser .frame:hover{transform-origin:center center;transform:scale(1.1)}.FrameChooser .frame.choosen{box-shadow:0 0 0 1vh #fff}.labelButton,button{outline:none;border:none;margin:2vh;padding:1vh 2vh;font-size:calc(10px + 2vmin);font-weight:700;cursor:pointer;background:#fff;color:#582c83;color:var(--volt-purple);transition:transform .2s ease}.labelButton:hover,button:hover{transform-origin:center center;transform:scale(1.05)}.labelButton img{display:inline;height:calc(10px + 4vmin);margin:0 2vh 0 -1vh}.labelButton img,.labelButton span{vertical-align:middle}.droparea{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:calc(10px + 10vmin);background:rgba(20,0,34,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:none;opacity:0;transition:opacity .2s ease}.droparea.active{opacity:1} -/*# sourceMappingURL=main.e57341b8.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.e57341b8.chunk.css.map b/static/css/main.e57341b8.chunk.css.map deleted file mode 100644 index 17ed925..0000000 --- a/static/css/main.e57341b8.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack://src/App.css"],"names":[],"mappings":"AAAA,MACI,qBAAsB,CACtB,oBACJ,CAEA,EACI,QAAS,CACT,SAAU,CACV,mJAEU,CACV,kCAAmC,CACnC,iCACJ,CAEA,KACI,iBAAkB,CAElB,wBAAmC,CAAnC,kCAAmC,CACnC,gBAAiB,CACjB,YAAa,CACb,qBAAsB,CACtB,kBAAmB,CACnB,sBAAuB,CACvB,4BAA6B,CAC7B,UAAY,CACZ,cACJ,CAEA,GACI,iBAAoB,CACpB,4BACJ,CAEA,EACI,cAAe,CACf,uBACJ,CAEA,aACI,0BAA2B,CAC3B,cACJ,CAEA,eACI,WAAY,CACZ,UACJ,CAEA,qBACI,WAAY,CACZ,UAAW,CACX,cAAe,CACf,sCAAyC,CACzC,6BACJ,CACA,2BACI,8BAA+B,CAC/B,oBACJ,CACA,6BACI,yBACJ,CAEA,oBAEI,YAAa,CACb,WAAY,CACZ,UAAW,CACX,eAAgB,CAChB,4BAA6B,CAC7B,eAAiB,CACjB,cAAe,CAEf,eAAiB,CACjB,aAAyB,CAAzB,wBAAyB,CACzB,6BACJ,CACA,gCAEI,8BAA+B,CAC/B,qBACJ,CAEA,iBACI,cAAe,CACf,yBAA0B,CAE1B,mBACJ,CACA,mCAHI,qBAKJ,CAGA,UACI,cAAe,CACf,KAAM,CACN,OAAQ,CACR,QAAS,CACT,MAAO,CAEP,YAAa,CACb,kBAAmB,CACnB,sBAAuB,CAEvB,eAAiB,CACjB,6BAA8B,CAE9B,2BAAgC,CAChC,kCAA2B,CAA3B,0BAA2B,CAE3B,mBAAoB,CACpB,SAAU,CACV,2BACJ,CACA,iBACI,SACJ","file":"main.e57341b8.chunk.css","sourcesContent":[":root{\n --volt-purple: #582C83;\n --background: #140022;\n}\n\n*{\n margin: 0;\n padding: 0;\n font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.App {\n text-align: center;\n\n background-color: var(--background);\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n padding: 10vmin;\n}\n\nh2{\n margin: 10vh 0 2vh 0;\n font-size: calc(10px + 4vmin);\n}\n\np{\n max-width: 100%;\n width: calc(40vh + 15vw);\n}\n\n.HeaderImage{\n height: calc(10px + 30vmin);\n max-width: 100%;\n}\n\n.FinishedFrame {\n height: 36vh;\n margin: 2vh;\n}\n\n.FrameChooser .frame{\n height: 12vh;\n margin: 2vh;\n cursor: pointer;\n box-shadow: 0 0 0 1vh rgba(255,255,255,0);\n transition: transform 0.2s ease;\n}\n.FrameChooser .frame:hover{\n transform-origin: center center;\n transform: scale(1.1);\n}\n.FrameChooser .frame.choosen{\n box-shadow: 0 0 0 1vh white;\n}\n\nbutton,\n.labelButton{\n outline: none;\n border: none;\n margin: 2vh;\n padding: 1vh 2vh;\n font-size: calc(10px + 2vmin);\n font-weight: bold;\n cursor: pointer;\n\n background: white;\n color: var(--volt-purple);\n transition: transform 0.2s ease;\n}\nbutton:hover,\n.labelButton:hover{\n transform-origin: center center;\n transform: scale(1.05);\n}\n\n.labelButton img{\n display: inline;\n height: calc(10px + 4vmin);\n vertical-align: middle;\n margin: 0 2vh 0 -1vh;\n}\n.labelButton span{\n vertical-align: middle;\n}\n\n\n.droparea{\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n \n display: flex;\n align-items: center;\n justify-content: center;\n\n font-weight: bold;\n font-size: calc(10px + 10vmin);\n\n background: rgba(20, 0, 34, 0.7);\n backdrop-filter: blur(10px);\n\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s ease;\n}\n.droparea.active{\n opacity: 1;\n}\n"]} \ No newline at end of file diff --git a/static/js/10.812bcdbd.chunk.js b/static/js/10.ceded30d.chunk.js similarity index 58% rename from static/js/10.812bcdbd.chunk.js rename to static/js/10.ceded30d.chunk.js index 8eb6282..1e7b2ee 100644 --- a/static/js/10.812bcdbd.chunk.js +++ b/static/js/10.ceded30d.chunk.js @@ -1,2 +1,2 @@ -(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[10],{32:function(e,r,t){"use strict";t.r(r),r.default=t.p+"static/media/ProfileFrame Red Bars.ce89d447.png"}}]); -//# sourceMappingURL=10.812bcdbd.chunk.js.map \ No newline at end of file +(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[10],{34:function(e,r,t){"use strict";t.r(r),r.default=t.p+"static/media/ProfileFrame Red Bars.ce89d447.png"}}]); +//# sourceMappingURL=10.ceded30d.chunk.js.map \ No newline at end of file diff --git a/static/js/10.812bcdbd.chunk.js.map b/static/js/10.ceded30d.chunk.js.map similarity index 52% rename from static/js/10.812bcdbd.chunk.js.map rename to static/js/10.ceded30d.chunk.js.map index 68e51f4..09027ba 100644 --- a/static/js/10.812bcdbd.chunk.js.map +++ b/static/js/10.ceded30d.chunk.js.map @@ -1 +1 @@ -{"version":3,"sources":["frames/ProfileFrame Red Bars.png"],"names":[],"mappings":"8IAAA,OAAe,cAA0B","file":"static/js/10.812bcdbd.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/ProfileFrame Red Bars.ce89d447.png\";"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["frames/ProfileFrame Red Bars.png"],"names":[],"mappings":"8IAAA,OAAe,cAA0B","file":"static/js/10.ceded30d.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/ProfileFrame Red Bars.ce89d447.png\";"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/11.0b771e23.chunk.js b/static/js/11.aa878e28.chunk.js similarity index 58% rename from static/js/11.0b771e23.chunk.js rename to static/js/11.aa878e28.chunk.js index c334f56..b9bad79 100644 --- a/static/js/11.0b771e23.chunk.js +++ b/static/js/11.aa878e28.chunk.js @@ -1,2 +1,2 @@ -(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[11],{33:function(e,r,t){"use strict";t.r(r),r.default=t.p+"static/media/ProfileFrame White Bars.46fa013d.png"}}]); -//# sourceMappingURL=11.0b771e23.chunk.js.map \ No newline at end of file +(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[11],{35:function(e,r,t){"use strict";t.r(r),r.default=t.p+"static/media/ProfileFrame White Bars.46fa013d.png"}}]); +//# sourceMappingURL=11.aa878e28.chunk.js.map \ No newline at end of file diff --git a/static/js/11.0b771e23.chunk.js.map b/static/js/11.aa878e28.chunk.js.map similarity index 53% rename from static/js/11.0b771e23.chunk.js.map rename to static/js/11.aa878e28.chunk.js.map index c8ab285..f0b702c 100644 --- a/static/js/11.0b771e23.chunk.js.map +++ b/static/js/11.aa878e28.chunk.js.map @@ -1 +1 @@ -{"version":3,"sources":["frames/ProfileFrame White Bars.png"],"names":[],"mappings":"8IAAA,OAAe,cAA0B","file":"static/js/11.0b771e23.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/ProfileFrame White Bars.46fa013d.png\";"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["frames/ProfileFrame White Bars.png"],"names":[],"mappings":"8IAAA,OAAe,cAA0B","file":"static/js/11.aa878e28.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/ProfileFrame White Bars.46fa013d.png\";"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/12.0eceec8b.chunk.js b/static/js/12.e16aff63.chunk.js similarity index 59% rename from static/js/12.0eceec8b.chunk.js rename to static/js/12.e16aff63.chunk.js index b40aa8d..98e3e41 100644 --- a/static/js/12.0eceec8b.chunk.js +++ b/static/js/12.e16aff63.chunk.js @@ -1,2 +1,2 @@ -(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[12],{34:function(e,r,t){"use strict";t.r(r),r.default=t.p+"static/media/ProfileFrame Yellow Bars.00b147cf.png"}}]); -//# sourceMappingURL=12.0eceec8b.chunk.js.map \ No newline at end of file +(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[12],{36:function(e,r,t){"use strict";t.r(r),r.default=t.p+"static/media/ProfileFrame Yellow Bars.00b147cf.png"}}]); +//# sourceMappingURL=12.e16aff63.chunk.js.map \ No newline at end of file diff --git a/static/js/12.0eceec8b.chunk.js.map b/static/js/12.e16aff63.chunk.js.map similarity index 53% rename from static/js/12.0eceec8b.chunk.js.map rename to static/js/12.e16aff63.chunk.js.map index 7893675..5fadbf2 100644 --- a/static/js/12.0eceec8b.chunk.js.map +++ b/static/js/12.e16aff63.chunk.js.map @@ -1 +1 @@ -{"version":3,"sources":["frames/ProfileFrame Yellow Bars.png"],"names":[],"mappings":"8IAAA,OAAe,cAA0B","file":"static/js/12.0eceec8b.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/ProfileFrame Yellow Bars.00b147cf.png\";"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["frames/ProfileFrame Yellow Bars.png"],"names":[],"mappings":"8IAAA,OAAe,cAA0B","file":"static/js/12.e16aff63.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/ProfileFrame Yellow Bars.00b147cf.png\";"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/2.7b4df116.chunk.js b/static/js/2.7b4df116.chunk.js new file mode 100644 index 0000000..d0d1c77 --- /dev/null +++ b/static/js/2.7b4df116.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.7b4df116.chunk.js.LICENSE.txt */ +(this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(18)},function(e,t,n){"use strict";e.exports=n(17)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(6);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){e.exports=n(23)()},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),e.apply(this,arguments)}}u="function"!==typeof Object.assign?function(e){if(e===l||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n-1}function P(e){return e.trim().split(/\s+/g)}function O(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;rn[t]})):r.sort()),r}function L(e,t){for(var n,r,i=t[0].toUpperCase()+t.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=$(t):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,u=a?a.center:o.center,s=t.center=Y(r);t.timeStamp=p(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=K(u,s),t.distance=X(u,s),function(e,t){var n=t.center,r=e.offsetDelta||{},i=e.prevDelta||{},o=e.prevInput||{};1!==t.eventType&&4!==o.eventType||(i=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y});t.deltaX=i.x+(n.x-r.x),t.deltaY=i.y+(n.y-r.y)}(n,t),t.offsetDirection=Q(t.deltaX,t.deltaY);var c=q(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=d(c.x)>d(c.y)?c.x:c.y,t.scale=a?(f=a.pointers,h=r,X(h[0],h[1],W)/X(f[0],f[1],W)):1,t.rotation=a?function(e,t){return K(t[1],t[0],W)+K(e[1],e[0],W)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,i,o,a=e.lastInterval||t,u=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(u>25||a.velocity===l)){var s=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,f=q(u,s,c);r=f.x,i=f.y,n=d(f.x)>d(f.y)?f.x:f.y,o=Q(s,c),e.lastInterval=t}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=i,t.direction=o}(n,t);var f,h;var v=e.element;C(t.srcEvent.target,v)&&(v=t.srcEvent.target);t.target=v}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function $(e){for(var t=[],n=0;n=d(t)?e<0?2:4:t<0?8:16}function X(e,t,n){n||(n=V);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return Math.sqrt(r*r+i*i)}function K(e,t,n){n||(n=V);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return 180*Math.atan2(i,r)/Math.PI}B.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&_(this.element,this.evEl,this.domHandler),this.evTarget&&_(this.target,this.evTarget,this.domHandler),this.evWin&&_(R(this.element),this.evWin,this.domHandler)}};var G={mousedown:1,mousemove:2,mouseup:4},Z="mousedown",J="mousemove mouseup";function ee(){this.evEl=Z,this.evWin=J,this.pressed=!1,B.apply(this,arguments)}w(ee,B,{handler:function(e){var t=G[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:A,srcEvent:e}))}});var te={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ne={2:j,3:"pen",4:A,5:"kinect"},re="pointerdown",ie="pointermove pointerup pointercancel";function oe(){this.evEl=re,this.evWin=ie,B.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(re="MSPointerDown",ie="MSPointerMove MSPointerUp MSPointerCancel"),w(oe,B,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),i=te[r],o=ne[e.pointerType]||e.pointerType,a=o==j,l=O(t,e.pointerId,"pointerId");1&i&&(0===e.button||a)?l<0&&(t.push(e),l=t.length-1):12&i&&(n=!0),l<0||(t[l]=e,this.callback(this.manager,i,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(l,1))}});var ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8},le="touchstart",ue="touchstart touchmove touchend touchcancel";function se(){this.evTarget=le,this.evWin=ue,this.started=!1,B.apply(this,arguments)}function ce(e,t){var n=D(e.touches),r=D(e.changedTouches);return 12&t&&(n=N(n.concat(r),"identifier",!0)),[n,r]}w(se,B,{handler:function(e){var t=ae[e.type];if(1===t&&(this.started=!0),this.started){var n=ce.call(this,e,t);12&t&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:j,srcEvent:e})}}});var fe={touchstart:1,touchmove:2,touchend:4,touchcancel:8},de="touchstart touchmove touchend touchcancel";function pe(){this.evTarget=de,this.targetIds={},B.apply(this,arguments)}function he(e,t){var n=D(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,a=D(e.changedTouches),l=[],u=this.target;if(o=n.filter((function(e){return C(e.target,u)})),1===t)for(i=0;i-1&&r.splice(e,1)}),2500)}}function ye(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+Ne(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+Ne(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Oe},canEmit:function(){for(var e=0;et.threshold&&i&t.direction},attrTest:function(e){return Re.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Le(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),w(Fe,Re,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[xe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),w(Me,De,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ee]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distancet.time;if(this._input=e,!r||!n||12&e.eventType&&!i)this.reset();else if(1&e.eventType)this.reset(),this._timer=h((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return Oe},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),w(je,Re,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[xe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),w(Ae,Re,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ie.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:n&U&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&d(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=Le(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),w(Ue,De,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Se]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance=9||(o.SUPPORT=void 0!==n.onmousewheel?"mousewheel":"DOMMouseScroll"),t.addEventListener||(o.ADD_EVENT="attachEvent",o.REMOVE_EVENT="detachEvent",o.PREFIX="on")},event:function(e){var t={originalEvent:e,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"===e.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){e.stopPropagation?e.stopPropagation():e.cancelBubble=!1}};return e.wheelDelta&&(t.deltaY=-1/40*e.wheelDelta),e.wheelDeltaX&&(t.deltaX=-1/40*e.wheelDeltaX),e.detail&&(t.deltaY=e.detail),t},delta:function(e){var t,n,o,a=0,l=0,u=0;return e.deltaY&&(a=u=-1*e.deltaY),e.deltaX&&(a=-1*(l=e.deltaX)),e.wheelDelta&&(a=e.wheelDelta),e.wheelDeltaY&&(u=e.wheelDeltaY),e.wheelDeltaX&&(l=-1*e.wheelDeltaX),e.detail&&(a=-1*e.detail),0===a?[0,0,0]:(t=Math.abs(a),(!r||t0?"floor":"ceil",[a=Math[o](a/r),l=Math[o](l/i),u=Math[o](u/i)])}},"function"===typeof t.define&&t.define.amd?t.define("hamster",[],(function(){return o})):e.exports=o}(window,window.document)},function(e,t,n){"use strict";var r={format:"image/png",quality:.92,width:void 0,height:void 0,Canvas:void 0,crossOrigin:void 0};t.a=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t={}),new Promise((function(n){var i=(t=Object.assign({},r,t)).Canvas?new t.Canvas:window.document.createElement("canvas"),o=t.Image||window.Image,a=e.map((function(e){return new Promise((function(n,r){"Object"!==e.constructor.name&&(e={src:e});var i=new o;i.crossOrigin=t.crossOrigin,i.onerror=function(){return r(new Error("Couldn't load image"))},i.onload=function(){return n(Object.assign({},e,{img:i}))},i.src=e.src}))})),l=i.getContext("2d");n(Promise.all(a).then((function(e){var n=function(n){return t[n]||Math.max.apply(Math,e.map((function(e){return e.img[n]})))};return i.width=n("width"),i.height=n("height"),e.forEach((function(e){return l.globalAlpha=e.opacity?e.opacity:1,l.drawImage(e.img,e.x||0,e.y||0)})),t.Canvas&&"image/jpeg"===t.format?new Promise((function(e,n){i.toDataURL(t.format,{quality:t.quality,progressive:!1},(function(t,r){t?n(t):e(r)}))})):i.toDataURL(t.format,t.quality)})))}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return J}));var r=n(0),i=n.n(r),o=n(3),a=n.n(o);function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function l(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}u((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(l){i={error:l}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}Object.create;var c=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function f(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=c.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var d=[".DS_Store","Thumbs.db"];function p(e){return(null!==e.target&&e.target.files?m(e.target.files):[]).map((function(e){return f(e)}))}function h(e,t){return l(this,void 0,void 0,(function(){var n;return u(this,(function(r){switch(r.label){case 0:return e.items?(n=m(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(g))]):[3,2];case 1:return[2,v(y(r.sent()))];case 2:return[2,v(m(e.files).map((function(e){return f(e)})))]}}))}))}function v(e){return e.filter((function(e){return-1===d.indexOf(e.name)}))}function m(e){for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,P(n)];if(e.sizen)return[!1,P(n)]}return[!0,null]}function z(e){return void 0!==e&&null!==e}function R(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles;return!(!o&&t.length>1||o&&a>=1&&t.length>a)&&t.every((function(e){var t=_(N(e,n),1)[0],o=_(L(e,r,i),1)[0];return t&&o}))}function I(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function F(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function M(e){e.preventDefault()}function j(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function A(e){return-1!==e.indexOf("Edge/")}function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return j(e)||A(e)}function V(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),i=1;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var K=Object(r.forwardRef)((function(e,t){var n=e.children,o=J(X(e,["children"])),a=o.open,l=X(o,["open"]);return Object(r.useImperativeHandle)(t,(function(){return{open:a}}),[a]),i.a.createElement(r.Fragment,null,n(q(q({},l),{},{open:a})))}));K.displayName="Dropzone";var G={disabled:!1,getFilesFromEvent:function(e){return l(this,void 0,void 0,(function(){return u(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?h(e.dataTransfer,e.type):p(e))];var n}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1};K.defaultProps=G,K.propTypes={children:a.a.func,accept:a.a.oneOfType([a.a.string,a.a.arrayOf(a.a.string)]),multiple:a.a.bool,preventDropOnDocument:a.a.bool,noClick:a.a.bool,noKeyboard:a.a.bool,noDrag:a.a.bool,noDragEventsBubbling:a.a.bool,minSize:a.a.number,maxSize:a.a.number,maxFiles:a.a.number,disabled:a.a.bool,getFilesFromEvent:a.a.func,onFileDialogCancel:a.a.func,onDragEnter:a.a.func,onDragLeave:a.a.func,onDragOver:a.a.func,onDrop:a.a.func,onDropAccepted:a.a.func,onDropRejected:a.a.func};var Z={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=q(q({},G),e),n=t.accept,i=t.disabled,o=t.getFilesFromEvent,a=t.maxSize,l=t.minSize,u=t.multiple,s=t.maxFiles,c=t.onDragEnter,f=t.onDragLeave,d=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,v=t.onDropRejected,m=t.onFileDialogCancel,g=t.preventDropOnDocument,y=t.noClick,b=t.noKeyboard,w=t.noDrag,k=t.noDragEventsBubbling,E=Object(r.useRef)(null),S=Object(r.useRef)(null),x=Object(r.useReducer)(ee,Z),_=B(x,2),C=_[0],T=_[1],P=C.isFocused,O=C.isFileDialogActive,z=C.draggedFiles,j=Object(r.useCallback)((function(){S.current&&(T({type:"openDialog"}),S.current.value=null,S.current.click())}),[T]),A=function(){O&&setTimeout((function(){S.current&&(S.current.files.length||(T({type:"closeDialog"}),"function"===typeof m&&m()))}),300)};Object(r.useEffect)((function(){return window.addEventListener("focus",A,!1),function(){window.removeEventListener("focus",A,!1)}}),[S,O,m]);var H=Object(r.useCallback)((function(e){E.current&&E.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),j()))}),[E,S]),$=Object(r.useCallback)((function(){T({type:"focus"})}),[]),Y=Object(r.useCallback)((function(){T({type:"blur"})}),[]),K=Object(r.useCallback)((function(){y||(U()?setTimeout(j,0):j())}),[S,y]),J=Object(r.useRef)([]),te=function(e){E.current&&E.current.contains(e.target)||(e.preventDefault(),J.current=[])};Object(r.useEffect)((function(){return g&&(document.addEventListener("dragover",M,!1),document.addEventListener("drop",te,!1)),function(){g&&(document.removeEventListener("dragover",M),document.removeEventListener("drop",te))}}),[E,g]);var ne=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),se(e),J.current=[].concat(W(J.current),[e.target]),F(e)&&Promise.resolve(o(e)).then((function(t){I(e)&&!k||(T({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e))}))}),[o,c,k]),re=Object(r.useCallback)((function(e){if(e.preventDefault(),e.persist(),se(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(t){}return F(e)&&d&&d(e),!1}),[d,k]),ie=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),se(e);var t=J.current.filter((function(e){return E.current&&E.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),J.current=t,t.length>0||(T({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),F(e)&&f&&f(e))}),[E,f,k]),oe=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),se(e),J.current=[],F(e)&&Promise.resolve(o(e)).then((function(t){if(!I(e)||k){var r=[],i=[];t.forEach((function(e){var t=B(N(e,n),2),o=t[0],u=t[1],s=B(L(e,l,a),2),c=s[0],f=s[1];if(o&&c)r.push(e);else{var d=[u,f].filter((function(e){return e}));i.push({file:e,errors:d})}})),(!u&&r.length>1||u&&s>=1&&r.length>s)&&(r.forEach((function(e){i.push({file:e,errors:[D]})})),r.splice(0)),T({acceptedFiles:r,fileRejections:i,type:"setFiles"}),p&&p(r,i,e),i.length>0&&v&&v(i,e),r.length>0&&h&&h(r,e)}})),T({type:"reset"})}),[u,n,l,a,s,o,p,h,v,k]),ae=function(e){return i?null:e},le=function(e){return b?null:ae(e)},ue=function(e){return w?null:ae(e)},se=function(e){k&&e.stopPropagation()},ce=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,o=e.onFocus,a=e.onBlur,l=e.onClick,u=e.onDragEnter,s=e.onDragOver,c=e.onDragLeave,f=e.onDrop,d=X(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return q(q(Q({onKeyDown:le(V(r,H)),onFocus:le(V(o,$)),onBlur:le(V(a,Y)),onClick:ae(V(l,K)),onDragEnter:ue(V(u,ne)),onDragOver:ue(V(s,re)),onDragLeave:ue(V(c,ie)),onDrop:ue(V(f,oe))},n,E),i||b?{}:{tabIndex:0}),d)}}),[E,H,$,Y,K,ne,re,ie,oe,b,w,i]),fe=Object(r.useCallback)((function(e){e.stopPropagation()}),[]),de=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,i=e.onChange,o=e.onClick,a=X(e,["refKey","onChange","onClick"]),l=Q({accept:n,multiple:u,type:"file",style:{display:"none"},onChange:ae(V(i,oe)),onClick:ae(V(o,fe)),autoComplete:"off",tabIndex:-1},r,S);return q(q({},l),a)}}),[S,n,u,oe,i]),pe=z.length,he=pe>0&&R({files:z,accept:n,minSize:l,maxSize:a,multiple:u,maxFiles:s}),ve=pe>0&&!he;return q(q({},C),{},{isDragAccept:he,isDragReject:ve,isFocused:P&&!i,getRootProps:ce,getInputProps:de,rootRef:E,inputRef:S,open:ae(j)})}function ee(e,t){switch(t.type){case"focus":return q(q({},e),{},{isFocused:!0});case"blur":return q(q({},e),{},{isFocused:!1});case"openDialog":return q(q({},e),{},{isFileDialogActive:!0});case"closeDialog":return q(q({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return q(q({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return q(q({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return q(q({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}},function(e,t,n){"use strict";n(7);var r=n(0),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,o={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:s,ref:c,props:o,_owner:a.current}}t.jsx=s,t.jsxs=s},function(e,t,n){"use strict";var r=n(7),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,l=60110,u=60112;t.Suspense=60113;var s=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),l=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),c=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n