- Commit
- 7631be316e2b19a2df9af6d91d933f72b0c26670
- Parent
- 79829bddf4ffc6e6f01cd9750256cd8e477e00ac
- Author
- Gark Garcia <37553739+GarkGarcia@users.noreply.github.com>
- Date
Optimized rendering by using Html.Lazy.lazy.
A simple SVG markup editor for the web
Optimized rendering by using Html.Lazy.lazy.
4 files changed, 64 insertions, 39 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | script.min.js | 4 | 2 | 2 |
Modified | src/Editor.elm | 9 | 6 | 3 |
Modified | src/View.elm | 38 | 25 | 13 |
Modified | styles.css | 52 | 31 | 21 |
diff --git a/script.min.js b/script.min.js @@ -1 +1 @@ -(function(e){'use strict';var ta=Math.floor,ba=String.fromCharCode;function a(e,a,t){return t.a=e,t.f=a,t}function t(e){return a(2,e,function(t){return function(a){return e(t,a)}})}function b(e){return a(3,e,function(t){return function(a){return function(b){return e(t,a,b)}}})}function n(e){return a(4,e,function(t){return function(a){return function(b){return function(n){return e(t,a,b,n)}}}})}function d(t){return a(5,t,function(n){return function(a){return function(b){return function(l){return function(d){return t(n,a,b,l,d)}}}}})}function l(t){return a(6,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return t(n,a,b,l,d,e)}}}}}})}function i(t){return a(7,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return function(i){return t(n,a,b,l,d,e,i)}}}}}}})}function s(t){return a(8,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return function(i){return function(s){return t(n,a,b,l,d,e,i,s)}}}}}}}})}function c(t){return a(9,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return function(s){return function(c){return function(h){return t(n,a,b,l,d,e,s,c,h)}}}}}}}}})}function h(e,t,a){return 2===e.a?e.f(t,a):e(t)(a)}function $(e,t,a,b){return 3===e.a?e.f(t,a,b):e(t)(a)(b)}function o(e,t,a,b,n){return 4===e.a?e.f(t,a,b,n):e(t)(a)(b)(n)}function g(t,n,a,b,l,d){return 5===t.a?t.f(n,a,b,l,d):t(n)(a)(b)(l)(d)}function r(t,n,a,b,l,d,e){return 6===t.a?t.f(n,a,b,l,d,e):t(n)(a)(b)(l)(d)(e)}function m(t,n,a,b,l,d,e,i){return 7===t.a?t.f(n,a,b,l,d,e,i):t(n)(a)(b)(l)(d)(e)(i)}function u(t,n,a,b,l,d,e,i,s){return 8===t.a?t.f(n,a,b,l,d,e,i,s):t(n)(a)(b)(l)(d)(e)(i)(s)}function f(e,a){return{$:1,a:e,b:a}}function p(e){for(var a=ya,t=e.length;t--;)a=f(e[t],a);return a}function v(e){for(var a=[];e.b;e=e.b)a.push(e.a);return a}function y(){return"<internals>"}function k(e){throw new Error("https://github.com/elm/core/blob/1.0.0/hints/"+e+".md")}function j(e,a){for(var t,b=[],n=E(e,a,0,b);n&&(t=b.pop());n=E(t.a,t.b,0,b));return n}function E(e,a,t,b){if(100<t)return b.push(C(e,a)),!0;if(e===a)return!0;if("object"!=typeof e||null===e||null===a)return"function"==typeof e&&k(5),!1;for(var n in 0>e.$&&(e=xn(e),a=xn(a)),e)if(!E(e[n],a[n],t+1,b))return!1;return!0}function A(e,a,t){if("object"!=typeof e)return e===a?0:e<a?-1:1;if("undefined"==typeof e.$)return(t=A(e.a,a.a))?t:(t=A(e.b,a.b))?t:A(e.c,a.c);for(;e.b&&a.b&&!(t=A(e.a,a.a));e=e.b,a=a.b);return t||(e.b?1:a.b?-1:0)}function C(e,a){return{a:e,b:a}}function L(e,a,t){return{a:e,b:a,c:t}}function O(e){return e}function _(e,a){var t={};for(var b in e)t[b]=e[b];for(var b in a)t[b]=a[b];return t}function w(e,a){if("string"==typeof e)return e+a;if(!e.b)return a;var t=f(e.a,a);e=e.b;for(var b=t;e.b;e=e.b)b=b.b=f(e.a,a);return t}function N(e){return{$:2,b:e}}function T(e,a){return{$:9,f:e,g:a}}function I(e,a){switch(e.$){case 2:return e.b(a);case 5:return null===a?_n(e.c):M("null",a);case 3:return S(a)?z(e.b,a,p):M("a LIST",a);case 4:return S(a)?z(e.b,a,H):M("an ARRAY",a);case 6:var t=e.d;if("object"!=typeof a||null===a||!(t in a))return M("an OBJECT with a field named `"+t+"`",a);var b=I(e.b,a[t]);return Un(b)?b:vd(h(kd,t,b.a));case 7:var n=e.e;if(!S(a))return M("an ARRAY",a);if(n>=a.length)return M("a LONGER array. Need index "+n+" but only see "+a.length+" entries",a);var b=I(e.b,a[n]);return Un(b)?b:vd(h(xd,n,b.a));case 8:if("object"!=typeof a||null===a||S(a))return M("an OBJECT",a);var d=ya;for(var l in a)if(a.hasOwnProperty(l)){var b=I(e.b,a[l]);if(!Un(b))return vd(h(kd,l,b.a));d=f(C(l,b.a),d)}return _n(sd(d));case 9:for(var b,s=e.f,c=e.g,$=0;$<c.length;$++){if(b=I(c[$],a),!Un(b))return b;s=s(b.a)}return _n(s);case 10:var b=I(e.b,a);return Un(b)?I(e.h(b.a),a):b;case 11:for(var b,o=ya,r=e.g;r.b;r=r.b){if(b=I(r.a,a),Un(b))return b;o=f(b.a,o)}return vd(jd(sd(o)));case 1:return vd(h(yd,e.a,R(a)));case 0:return _n(e.a);}}function z(e,a,t){for(var b,n=a.length,d=Array(n),l=0;l<n;l++){if(b=I(e,a[l]),!Un(b))return vd(h(xd,l,b.a));d[l]=b.a}return _n(t(d))}function S(e){return Array.isArray(e)||"undefined"!=typeof FileList&&e instanceof FileList}function H(e){return h(pd,e.length,function(a){return e[a]})}function M(e,a){return vd(h(yd,"Expecting "+e,R(a)))}function B(e,a){if(e===a)return!0;if(e.$!==a.$)return!1;switch(e.$){case 0:case 1:return e.a===a.a;case 2:return e.b===a.b;case 5:return e.c===a.c;case 3:case 4:case 8:return B(e.b,a.b);case 6:return e.d===a.d&&B(e.b,a.b);case 7:return e.e===a.e&&B(e.b,a.b);case 9:return e.f===a.f&&D(e.g,a.g);case 10:return e.h===a.h&&B(e.b,a.b);case 11:return D(e.g,a.g);}}function D(e,a){var t=e.length;if(t!==a.length)return!1;for(var b=0;b<t;b++)if(!B(e[b],a[b]))return!1;return!0}function R(e){return e}function K(e){return e}function F(e){return{$:0,a:e}}function Z(e){return{$:1,a:e}}function q(e){return{$:2,b:e,c:null}}function G(e){return{$:5,b:e}}function J(e){var a={$:0,e:eb++,f:e,g:null,h:[]};return W(a),a}function P(e){return q(function(a){a(F(J(e)))})}function V(e,a){e.h.push(a),W(e)}function W(e){if(bb.push(e),!tb){for(tb=!0;e=bb.shift();)U(e);tb=!1}}function U(e){for(;e.f;){var a=e.f.$;if(0===a||1===a){for(;e.g&&e.g.$!==a;)e.g=e.g.i;if(!e.g)return;e.f=e.g.b(e.f.a),e.g=e.g.i}else{if(2===a)return void(e.f.c=e.f.b(function(a){e.f=a,W(e)}));if(5===a){if(0===e.h.length)return;e.f=e.f.b(e.h.shift())}else e.g={$:3===a?0:1,b:e.f.b,i:e.g},e.f=e.f.d}}}function Y(e,a,t,b,n,d){function l(e,a){i=h(b,e,c),$(c=i.a,a),be(s,i.b,n(c))}var i=h(Vt,e,R(a?a.flags:void 0));Un(i)||k(2);var s={};i=t(i.a);var c=i.a,$=d(l,c),o=Q(s,l);return be(s,i.b,n(c)),o?{ports:o}:{}}function Q(e,a){var t;for(var b in db){var n=db[b];n.a&&(t=t||{},t[b]=n.a(b,a)),e[b]=ee(n,a)}return t}function X(e,a,t,b,n){return{b:e,c:a,d:t,e:b,f:n}}function ee(e,a){function t(e){return h(Qt,t,G(function(a){var t=a.a;return 0===a.$?$(d,b,t,e):l&&i?o(n,b,t.i,t.j,e):$(n,b,l?t.i:t.j,e)}))}var b={g:a,h:void 0},n=e.c,d=e.d,l=e.e,i=e.f;return b.h=J(h(Qt,t,e.b))}function ae(e){return function(a){return{$:1,k:e,l:a}}}function te(e){return{$:2,m:e}}function be(e,a,t){var b={};for(var n in ne(!0,a,b,null),ne(!1,t,b,null),e)V(e[n],{$:"fx",a:b[n]||{i:ya,j:ya}})}function ne(e,a,t,b){switch(a.$){case 1:var n=a.k,d=de(e,n,b,a.l);return void(t[n]=le(e,d,t[n]));case 2:for(var l=a.m;l.b;l=l.b)ne(e,l.a,t,b);return;case 3:return void ne(e,a.o,t,{p:a.n,q:b});}}function de(e,a,t,b){var n=e?db[a].e:db[a].f;return h(n,function(e){for(var a=t;a;a=a.q)e=a.p(e);return e},b)}function le(e,a,t){return t=t||{i:ya,j:ya},e?t.i=f(a,t.i):t.j=f(a,t.j),t}function ie(e,a){for(var t in a)t in e?"init"==t?k(6):ie(e[t],a[t]):e[t]=a[t]}function se(e,a){for(var t=a.i;t.b;t=t.b)e.setRequestHeader(t.a.a,t.a.b);e.timeout=a.m.a||0,e.responseType=a.a8.d,e.withCredentials=a.z}function ce(e,a){return h(200<=a.status&&300>a.status?Pd:Gd,he(a),e(a.response))}function he(e){return{bH:e.responseURL,aS:e.status,bt:e.statusText,i:$e(e.getAllResponseHeaders())}}function $e(e){if(!e)return In;for(var a=In,t=e.split("\r\n"),b=t.length;b--;){var n=t[b],d=n.indexOf(": ");if(0<d){var l=n.substring(0,d),s=n.substring(d+2);a=$(Vn,l,function(e){return An(Wn(e)?s+", "+e.a:s)},a)}}return a}function oe(e,a,t){a.upload.addEventListener("progress",function(b){a.c||J(h(Zd,e,C(t,Ud({bs:b.loaded,_:b.total}))))}),a.addEventListener("progress",function(b){a.c||J(h(Zd,e,C(t,Wd({bo:b.loaded,_:b.lengthComputable?An(b.total):Cn}))))})}function re(){return da||(da=document.createElement("a"))}function ge(e){if("function"==typeof MouseEvent)e.dispatchEvent(new MouseEvent("click"));else{var a=document.createEvent("MouseEvents");a.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),document.body.appendChild(e),e.dispatchEvent(a),document.body.removeChild(e)}}function fe(e){return q(function(a){la=document.createElement("input"),la.type="file",la.accept=h(Sd,",",e),la.addEventListener("change",function(e){a(F(e.target.files[0]))}),ge(la)})}function me(e,a){e.appendChild(a)}function ue(e){return{$:0,a:e}}function pe(e,a){return{$:5,l:e,m:a,k:void 0}}function ve(e){return /^(on|formAction$)/i.test(e)?"data-"+e:e}function ye(e){return /^javascript:/i.test(e.replace(/\s/g,""))?"":e}function ke(e){return /^\s*(javascript:|data:text\/html)/i.test(e)?"":e}function xe(e,a){var t=bi(a);return{$:a.$,a:t?$(ai,3>t?Db:Rb,ti(e),a.a):h(ei,e,a.a)}}function je(e){for(var a={};e.b;e=e.b){var t=e.a,b=t.$,n=t.n,d=t.o;if("a2"===b){"className"===n?Ee(a,n,K(d)):a[n]=K(d);continue}var l=a[b]||(a[b]={});"a3"===b&&"class"===n?Ee(l,n,d):l[n]=d}return a}function Ee(e,a,t){var b=e[a];e[a]=b?b+" "+t:t}function Ae(e,a){var t=e.$;if(5===t)return Ae(e.k||(e.k=e.m()),a);if(0===t)return pb.createTextNode(e.a);if(4===t){for(var b=e.k,n=e.j;4===b.$;)"object"==typeof n?n.push(b.j):n=[n,b.j],b=b.k;var d={j:n,p:a},l=Ae(b,d);return l.elm_event_node_ref=d,l}if(3===t){var l=e.h(e.g);return Ce(l,a,e.d),l}var l=e.f?pb.createElementNS(e.f,e.c):pb.createElement(e.c);ia&&"a"==e.c&&l.addEventListener("click",ia(l)),Ce(l,a,e.d);for(var s=e.e,c=0;c<s.length;c++)me(l,Ae(1===t?s[c]:s[c].b,a));return l}function Ce(e,a,t){for(var b in t){var n=t[b];"a1"==b?Le(e,n):"a0"==b?we(e,a,n):"a3"==b?Oe(e,n):"a4"==b?_e(e,n):("value"!=b&&"checked"!=b||e[b]!==n)&&(e[b]=n)}}function Le(e,a){var t=e.style;for(var b in a)t[b]=a[b]}function Oe(e,a){for(var t in a){var b=a[t];"undefined"==typeof b?e.removeAttribute(t):e.setAttribute(t,b)}}function _e(e,a){for(var t in a){var b=a[t],n=b.f,d=b.o;"undefined"==typeof d?e.removeAttributeNS(n,t):e.setAttributeNS(n,t,d)}}function we(e,a,t){var b=e.elmFs||(e.elmFs={});for(var n in t){var d=t[n],l=b[n];if(!d){e.removeEventListener(n,l),b[n]=void 0;continue}if(l){var i=l.q;if(i.$===d.$){l.q=d;continue}e.removeEventListener(n,l)}l=Ne(a,d),e.addEventListener(n,l,sa&&{passive:2>bi(d)}),b[n]=l}}function Ne(e,a){function t(a){var b=t.q,n=I(b.a,a);if(Un(n)){for(var d,l,s=bi(b),c=n.a,h=s?3>s?c.a:c.s:c,$=1==s?c.b:3==s&&c.ab,o=($&&a.stopPropagation(),(2==s?c.b:3==s&&c.Z)&&a.preventDefault(),e);d=o.j;){if("function"==typeof d)h=d(h);else for(var l=d.length;l--;)h=d[l](h);o=o.p}o(h,$)}}return t.q=a,t}function Te(e,a){return e.$==a.$&&B(e.a,a.a)}function Ie(e,a){var t=[];return Se(e,a,t,0),t}function ze(e,a,t,b){var n={$:a,r:t,s:b,t:void 0,u:void 0};return e.push(n),n}function Se(e,a,t,b){if(e!==a){var n=e.$,d=a.$;if(n!==d)if(1===n&&2===d)a=Qe(a),d=1;else return void ze(t,0,b,a);switch(d){case 5:for(var l=e.l,s=a.l,c=l.length,h=c===s.length;h&&c--;)h=l[c]===s[c];if(h)return void(a.k=e.k);a.k=a.m();var $=[];return Se(e.k,a.k,$,0),void(0<$.length&&ze(t,1,b,$));case 4:for(var o=e.j,r=a.j,g=!1,f=e.k;4===f.$;)g=!0,"object"==typeof o?o.push(f.j):o=[o,f.j],f=f.k;for(var m=a.k;4===m.$;)g=!0,"object"==typeof r?r.push(m.j):r=[r,m.j],m=m.k;return g&&o.length!==r.length?void ze(t,0,b,a):((g?!He(o,r):o!==r)&&ze(t,2,b,r),void Se(f,m,t,b+1));case 0:return void(e.a!==a.a&&ze(t,3,b,a.a));case 1:return void Me(e,a,t,b,De);case 2:return void Me(e,a,t,b,Re);case 3:if(e.h!==a.h)return void ze(t,0,b,a);var u=Be(e.d,a.d);u&&ze(t,4,b,u);var p=a.i(e.g,a.g);return void(p&&ze(t,5,b,p));}}}function He(e,a){for(var t=0;t<e.length;t++)if(e[t]!==a[t])return!1;return!0}function Me(e,a,t,b,n){if(e.c!==a.c||e.f!==a.f)return void ze(t,0,b,a);var d=Be(e.d,a.d);d&&ze(t,4,b,d),n(e,a,t,b)}function Be(e,a,t){var b;for(var n in e){if("a1"==n||"a0"==n||"a3"==n||"a4"==n){var d=Be(e[n],a[n]||{},n);d&&(b=b||{},b[n]=d);continue}if(!(n in a)){b=b||{},b[n]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:e[n].f,o:void 0}:"string"==typeof e[n]?"":null;continue}var l=e[n],i=a[n];l===i&&"value"!=n&&"checked"!=n||"a0"===t&&Te(l,i)||(b=b||{},b[n]=i)}for(var s in a)s in e||(b=b||{},b[s]=a[s]);return b}function De(e,a,t,b){var n=e.e,d=a.e,l=n.length,s=d.length;l>s?ze(t,6,b,{v:s,i:l-s}):l<s&&ze(t,7,b,{v:l,e:d});for(var c,h=l<s?l:s,$=0;$<h;$++)c=n[$],Se(c,d[$],t,++b),b+=c.b||0}function Re(e,a,t,b){for(var n=[],d={},l=[],i=e.e,s=a.e,c=i.length,h=s.length,$=0,o=0,r=b;$<c&&o<h;){var g=i[$],f=s[o],m=g.a,u=f.a,p=g.b,v=f.b,k=void 0,j=void 0;if(m===u){r++,Se(p,v,n,r),r+=p.b||0,$++,o++;continue}var E=i[$+1],A=s[o+1];if(E){var C=E.a,L=E.b;j=u===C}if(A){var O=A.a,_=A.b;k=m===O}if(k&&j){r++,Se(p,_,n,r),Ke(d,n,m,v,o,l),r+=p.b||0,r++,Fe(d,n,m,L,r),r+=L.b||0,$+=2,o+=2;continue}if(k){r++,Ke(d,n,u,v,o,l),Se(p,_,n,r),r+=p.b||0,$+=1,o+=2;continue}if(j){r++,Fe(d,n,m,p,r),r+=p.b||0,r++,Se(L,v,n,r),r+=L.b||0,$+=2,o+=1;continue}if(E&&C===O){r++,Fe(d,n,m,p,r),Ke(d,n,u,v,o,l),r+=p.b||0,r++,Se(L,_,n,r),r+=L.b||0,$+=2,o+=2;continue}break}for(;$<c;){r++;var g=i[$],p=g.b;Fe(d,n,g.a,p,r),r+=p.b||0,$++}for(;o<h;){var w=w||[],f=s[o];Ke(d,n,f.a,f.b,void 0,w),o++}(0<n.length||0<l.length||w)&&ze(t,8,b,{w:n,x:l,y:w})}function Ke(e,a,t,b,n,d){var l=e[t];if(!l)return l={c:0,z:b,r:n,s:void 0},d.push({r:n,A:l}),void(e[t]=l);if(1===l.c){d.push({r:n,A:l}),l.c=2;var i=[];return Se(l.z,b,i,l.r),l.r=n,void(l.s.s={w:i,A:l})}Ke(e,a,t+"_elmW6BL",b,n,d)}function Fe(e,a,t,b,n){var d=e[t];if(!d){var l=ze(a,9,n,void 0);return void(e[t]={c:1,z:b,r:n,s:l})}if(0===d.c){d.c=2;var i=[];return Se(b,d.z,i,n),void ze(a,9,n,{w:i,A:d})}Fe(e,a,t+"_elmW6BL",b,n)}function Ze(e,a,t,b){qe(e,a,t,0,0,a.b,b)}function qe(e,a,t,b,n,d,l){for(var s,c=t[b],h=c.r;h===n;){if(s=c.$,1===s)Ze(e,a.k,c.s,l);else if(8===s){c.t=e,c.u=l;var $=c.s.w;0<$.length&&qe(e,a,$,0,n,d,l)}else if(9===s){c.t=e,c.u=l;var o=c.s;if(o){o.A.s=e;var $=o.w;0<$.length&&qe(e,a,$,0,n,d,l)}}else c.t=e,c.u=l;if(b++,!(c=t[b])||(h=c.r)>d)return b}var r=a.$;if(4===r){for(var g=a.k;4===g.$;)g=g.k;return qe(e,g,t,b,n+1,d,e.elm_event_node_ref)}for(var f=a.e,m=e.childNodes,u=0;u<f.length;u++){n++;var p=1===r?f[u]:f[u].b,v=n+(p.b||0);if(n<=h&&h<=v&&(b=qe(m[u],p,t,b,n,v,l),!(c=t[b])||(h=c.r)>d))return b;n=v}return b}function Ge(e,a,t,b){return 0===t.length?e:(Ze(e,a,t,b),Je(e,t))}function Je(e,a){for(var t=0;t<a.length;t++){var b=a[t],n=b.t,d=Pe(n,b);n===e&&(e=d)}return e}function Pe(e,a){switch(a.$){case 0:return Ve(e,a.s,a.u);case 4:return Ce(e,a.u,a.s),e;case 3:return e.replaceData(0,e.length,a.s),e;case 1:return Je(e,a.s);case 2:return e.elm_event_node_ref?e.elm_event_node_ref.j=a.s:e.elm_event_node_ref={j:a.s,p:a.u},e;case 6:for(var t=a.s,b=0;b<t.i;b++)e.removeChild(e.childNodes[t.v]);return e;case 7:for(var t=a.s,n=t.e,b=t.v,d=e.childNodes[b];b<n.length;b++)e.insertBefore(Ae(n[b],a.u),d);return e;case 9:var t=a.s;if(!t)return e.parentNode.removeChild(e),e;var l=t.A;return"undefined"!=typeof l.r&&e.parentNode.removeChild(e),l.s=Je(e,t.w),e;case 8:return We(e,a);case 5:return a.s(e);default:k(10);}}function Ve(e,a,t){var b=e.parentNode,n=Ae(a,t);return n.elm_event_node_ref||(n.elm_event_node_ref=e.elm_event_node_ref),b&&n!==e&&b.replaceChild(n,e),n}function We(e,a){var t=a.s,b=Ue(t.y,a);e=Je(e,t.w);for(var n=t.x,d=0;d<n.length;d++){var l=n[d],s=l.A,c=2===s.c?s.s:Ae(s.z,a.u);e.insertBefore(c,e.childNodes[l.r])}return b&&me(e,b),e}function Ue(e,a){if(e){for(var t=pb.createDocumentFragment(),b=0;b<e.length;b++){var n=e[b],d=n.A;me(t,2===d.c?d.s:Ae(d.z,a.u))}return t}}function Ye(e){if(3===e.nodeType)return ue(e.textContent);if(1!==e.nodeType)return ue("");for(var a=ya,t=e.attributes,b=t.length;b--;){var n=t[b],d=n.name,l=n.value;a=f(h(Hb,d,l),a)}for(var s=e.tagName.toLowerCase(),c=ya,o=e.childNodes,b=o.length;b--;)c=f(Ye(o[b]),c);return $(kb,s,a,c)}function Qe(e){for(var a=e.e,t=a.length,b=Array(t),n=0;n<t;n++)b[n]=a[n].b;return{$:1,c:e.c,d:e.d,e:b,f:e.f,b:e.b}}function Xe(e,a){function t(){b=1===b?0:(Xb(t),a(e),1)}a(e);var b=0;return function(n,d){e=n,d?(a(e),2==b&&(b=1)):(0==b&&Xb(t),b=2)}}function ea(e,a){return q(function(t){Xb(function(){var b=document.getElementById(e);t(b?F(a(b)):Z(nh(e)))})})}function aa(e){return q(function(a){Xb(function(){a(F(e()))})})}var na,da,la,ia,sa,ca=b(function(e,a,t){for(var b=Array(e),n=0;n<e;n++)b[n]=t(a+n);return b}),ha=t(function(e,a){for(var t=Array(e),b=0;b<e&&a.b;b++)t[b]=a.a,a=a.b;return t.length=b,C(t,a)}),$a=t(function(e,a){return a[e]}),oa=b(function(e,a,t){for(var b=t.length,n=Array(b),d=0;d<b;d++)n[d]=t[d];return n[e]=a,n}),ra=t(function(e,a){for(var t=a.length,b=Array(t+1),n=0;n<t;n++)b[n]=a[n];return b[t]=e,b}),ga=b(function(e,a,t){for(var b=t.length,n=0;n<b;n++)a=h(e,t[n],a);return a}),fa=b(function(e,a,t){for(var b=t.length-1;0<=b;b--)a=h(e,t[b],a);return a}),ma=t(function(e,a){for(var t=a.length,b=Array(t),n=0;n<t;n++)b[n]=e(a[n]);return b}),ua=b(function(e,a,t){for(var b=t.length,n=Array(b),d=0;d<b;d++)n[d]=h(e,a+d,t[d]);return n}),pa=b(function(e,a,t){return t.slice(e,a)}),va=b(function(e,a,t){var b=a.length,n=e-b;n>t.length&&(n=t.length);for(var d=b+n,l=Array(d),s=0;s<b;s++)l[s]=a[s];for(var s=0;s<n;s++)l[s+b]=t[s];return l}),ya={$:0},ka=t(f),xa=b(function(e,a,t){for(var b=[];a.b&&t.b;a=a.b,t=t.b)b.push(h(e,a.a,t.a));return p(b)}),ja=n(function(e,a,t,b){for(var n=[];a.b&&t.b&&b.b;a=a.b,t=t.b,b=b.b)n.push($(e,a.a,t.a,b.a));return p(n)}),Ea=d(function(e,a,t,b,n){for(var d=[];a.b&&t.b&&b.b&&n.b;a=a.b,t=t.b,b=b.b,n=n.b)d.push(o(e,a.a,t.a,b.a,n.a));return p(d)}),Aa=l(function(e,a,t,b,n,d){for(var l=[];a.b&&t.b&&b.b&&n.b&&d.b;a=a.b,t=t.b,b=b.b,n=n.b,d=d.b)l.push(g(e,a.a,t.a,b.a,n.a,d.a));return p(l)}),Ca=t(function(e,a){return p(v(a).sort(function(t,a){return A(e(t),e(a))}))}),La=t(function(e,a){return p(v(a).sort(function(t,a){var b=h(e,t,a);return b===mn?0:b===un?-1:1}))}),Oa=t(function(e,a){return a}),_a=t(function(e,a){return console.log(e+": "+y(a)),a}),wa=t(j),Na=t(function(e,a){return!j(e,a)}),Ta=t(function(e,a){return 0>A(e,a)}),Ia=t(function(e,a){return 1>A(e,a)}),za=t(function(e,a){return 0<A(e,a)}),Sa=t(function(e,a){return 0<=A(e,a)}),Ha=t(function(e,a){var t=A(e,a);return 0>t?un:t?yn:mn}),Ma=0,Ba=t(w),Da=/.^/,Ra=t(function(e,a){var t="g";e.az&&(t+="m"),e.ae&&(t+="i");try{return An(new RegExp(a,t))}catch(e){return Cn}}),Ka=t(function(e,a){return null!==a.match(e)}),Fa=b(function(e,a,t){for(var b,n=[],d=0,l=a.lastIndex,s=-1;d++<e&&(b=a.exec(t))&&s!=a.lastIndex;){for(var c,h=b.length-1,$=Array(h);0<h;)c=b[h],$[--h]=c?An(c):Cn;n.push(o(Ln,b[0],b.index,d,p($))),s=a.lastIndex}return a.lastIndex=l,p(n)}),Za=n(function(e,a,t,b){function n(a){if(d++>=e)return a;for(var b=arguments.length-3,n=Array(b);0<b;){var l=arguments[b];n[--b]=l?An(l):Cn}return t(o(Ln,a,arguments[arguments.length-2],d,p(n)))}var d=0;return b.replace(a,n)}),qa=b(function(e,a,t){for(var b,d=t,l=[],i=a.lastIndex,s=a.lastIndex;e--&&(b=a.exec(d),!!b);)l.push(d.slice(i,b.index)),i=a.lastIndex;return l.push(d.slice(i)),a.lastIndex=s,p(l)}),Ga=t(function(e,a){return e+a}),Ja=t(function(e,a){return e-a}),Pa=t(function(e,a){return e*a}),Va=t(function(e,a){return e/a}),Wa=t(function(e,a){return 0|e/a}),Ua=t(Math.pow),Ya=t(function(e,t){return t%e}),Qa=t(function(e,a){var t=a%e;return 0===e?k(11):0<t&&0>e||0>t&&0<e?t+e:t}),Xa=Math.PI,et=Math.E,at=Math.cos,tt=Math.sin,bt=Math.tan,nt=Math.acos,dt=Math.asin,lt=Math.atan,it=t(Math.atan2),st=Math.ceil,ct=Math.round,ht=Math.sqrt,$t=Math.log,ot=isNaN,rt=t(function(e,a){return e&&a}),gt=t(function(e,a){return e||a}),ft=t(function(e,a){return e!==a}),mt=t(function(e,a){return e+a}),ut=t(function(e,a){return e+a}),pt=t(function(e,a){for(var t=a.length,b=Array(t),n=0;n<t;){var d=a.charCodeAt(n);if(55296<=d&&56319>=d){b[n]=e(O(a[n]+a[n+1])),n+=2;continue}b[n]=e(O(a[n])),n++}return b.join("")}),vt=t(function(e,a){for(var t=[],b=a.length,n=0;n<b;){var d=a[n],l=a.charCodeAt(n);n++,55296<=l&&56319>=l&&(d+=a[n],n++),e(O(d))&&t.push(d)}return t.join("")}),yt=b(function(e,a,t){for(var b=t.length,n=0;n<b;){var d=t[n],l=t.charCodeAt(n);n++,55296<=l&&56319>=l&&(d+=t[n],n++),a=h(e,O(d),a)}return a}),kt=b(function(e,a,t){for(var b=t.length;b--;){var n=t[b],d=t.charCodeAt(b);56320<=d&&57343>=d&&(b--,n=t[b]+n),a=h(e,O(n),a)}return a}),xt=t(function(e,a){return a.split(e)}),jt=t(function(e,a){return a.join(e)}),Et=b(function(e,a,t){return t.slice(e,a)}),At=t(function(e,a){for(var t=a.length;t--;){var b=a[t],n=a.charCodeAt(t);if(56320<=n&&57343>=n&&(t--,b=a[t]+b),e(O(b)))return!0}return!1}),Ct=t(function(e,a){for(var t=a.length;t--;){var b=a[t],n=a.charCodeAt(t);if(56320<=n&&57343>=n&&(t--,b=a[t]+b),!e(O(b)))return!1}return!0}),Lt=t(function(e,a){return-1<a.indexOf(e)}),Ot=t(function(e,a){return 0===a.indexOf(e)}),_t=t(function(e,a){return a.length>=e.length&&a.lastIndexOf(e)===a.length-e.length}),wt=t(function(e,a){var t=e.length;if(1>t)return ya;for(var b=0,n=[];-1<(b=a.indexOf(e,b));)n.push(b),b+=t;return p(n)}),Nt=N(function(e){return"number"==typeof e?-2147483647<e&&2147483647>e&&(0|e)===e?_n(e):isFinite(e)&&!(e%1)?_n(e):M("an INT",e):M("an INT",e)}),Tt=N(function(e){return"boolean"==typeof e?_n(e):M("a BOOL",e)}),It=N(function(e){return"number"==typeof e?_n(e):M("a FLOAT",e)}),zt=N(function(e){return _n(R(e))}),St=N(function(e){return"string"==typeof e?_n(e):e instanceof String?_n(e+""):M("a STRING",e)}),Ht=t(function(e,a){return{$:6,d:e,b:a}}),Mt=t(function(e,a){return{$:7,e:e,b:a}}),Bt=t(function(e,a){return{$:10,b:a,h:e}}),Dt=t(function(e,a){return T(e,[a])}),Rt=b(function(e,a,t){return T(e,[a,t])}),Kt=n(function(e,a,t,b){return T(e,[a,t,b])}),Ft=d(function(e,a,t,b,n){return T(e,[a,t,b,n])}),Zt=l(function(e,a,t,b,n,d){return T(e,[a,t,b,n,d])}),qt=i(function(e,a,t,b,n,d,l){return T(e,[a,t,b,n,d,l])}),Gt=s(function(e,a,t,b,n,d,l,i){return T(e,[a,t,b,n,d,l,i])}),Jt=c(function(e,a,t,b,n,d,l,i,s){return T(e,[a,t,b,n,d,l,i,s])}),Pt=t(function(e,a){try{var t=JSON.parse(a);return I(e,t)}catch(t){return vd(h(yd,"This is not valid JSON! "+t.message,R(a)))}}),Vt=t(function(e,a){return I(e,K(a))}),Wt=t(function(e,a){return JSON.stringify(K(a),null,e)+""}),Ut=b(function(e,a,t){return t[e]=K(a),t}),Yt=R(null),Qt=t(function(e,a){return{$:3,b:e,d:a}}),Xt=t(function(e,a){return{$:4,b:e,d:a}}),eb=0,ab=t(function(e,a){return q(function(t){V(e,a),t(F(Ma))})}),tb=!1,bb=[],nb=n(function(e,a,t,b){return Y(a,b,e.bg,e.bF,e.bC,function(){return function(){}})}),db={},lb=t(function(e,a){return q(function(t){e.g(a),t(F(Ma))})}),ib=t(function(e,a){return h(ab,e.h,{$:0,a:a})}),sb=t(function(e,a){return{$:3,n:e,o:a}}),cb=t(function(e,a){return a}),hb=t(function(e,a){return function(t){return e(a(t))}}),$b=b(function(e,a,t){return q(function(b){function n(e){b(a(t.a8.a(e)))}var d=new XMLHttpRequest;d.addEventListener("error",function(){n(Vd)}),d.addEventListener("timeout",function(){n(Yd)}),d.addEventListener("load",function(){n(ce(t.a8.b,d))}),Wn(t.n)&&oe(e,d,t.n.a);try{d.open(t.l,t.bH,!0)}catch(a){return n(Jd(t.bH))}return se(d,t),t.a$.a&&d.setRequestHeader("Content-Type",t.a$.a),d.send(t.a$.b),function(){d.c=!0,d.abort()}})}),ob=b(function(e,a,t){return{$:0,d:e,b:a,a:t}}),rb=t(function(e,a){return{$:0,d:a.d,b:a.b,a:function(t){return e(a.a(t))}}}),gb=t(function(e,a){return{$:0,a:e,b:a}}),fb=t(function(e,a){return new Blob([a],{type:e})}),mb=N(function(e){return"undefined"!=typeof File&&e instanceof File?_n(e):M("a FILE",e)}),ub=b(function(e,a,t){return q(function(){var b=new Blob([t],{type:a});if(navigator.msSaveOrOpenBlob)return void navigator.msSaveOrOpenBlob(b,e);var n=re(),d=URL.createObjectURL(b);n.href=d,n.download=e,ge(n),URL.revokeObjectURL(d)})}),pb="undefined"==typeof document?{}:document,vb=n(function(e,a,t,b){var n=b.node;return n.parentNode.replaceChild(Ae(e,function(){}),n),{}}),yb=t(function(e,a){return t(function(t,b){for(var n,d=[],l=0;b.b;b=b.b)n=b.a,l+=n.b||0,d.push(n);return l+=d.length,{$:1,c:a,d:je(t),e:d,f:e,b:l}})}),kb=yb(void 0),xb=t(function(e,a){return t(function(t,b){for(var n,d=[],l=0;b.b;b=b.b)n=b.a,l+=n.b.b||0,d.push(n);return l+=d.length,{$:2,c:a,d:je(t),e:d,f:e,b:l}})}),jb=xb(void 0),Eb=t(function(e,a){return{$:4,j:e,k:a,b:1+(a.b||0)}}),Ab=t(function(e,t){return pe([e,t],function(){return e(t)})}),Cb=b(function(e,t,a){return pe([e,t,a],function(){return h(e,t,a)})}),Lb=n(function(e,t,a,b){return pe([e,t,a,b],function(){return $(e,t,a,b)})}),Ob=d(function(e,t,a,b,n){return pe([e,t,a,b,n],function(){return o(e,t,a,b,n)})}),_b=l(function(t,n,a,b,l,d){return pe([t,n,a,b,l,d],function(){return g(t,n,a,b,l,d)})}),wb=i(function(t,n,a,b,l,d,e){return pe([t,n,a,b,l,d,e],function(){return r(t,n,a,b,l,d,e)})}),Nb=s(function(t,n,a,b,l,d,e,i){return pe([t,n,a,b,l,d,e,i],function(){return m(t,n,a,b,l,d,e,i)})}),Tb=c(function(t,n,a,b,l,d,e,i,s){return pe([t,n,a,b,l,d,e,i,s],function(){return u(t,n,a,b,l,d,e,i,s)})}),Ib=t(function(e,a){return{$:"a0",n:e,o:a}}),zb=t(function(e,a){return{$:"a1",n:e,o:a}}),Sb=t(function(e,a){return{$:"a2",n:e,o:a}}),Hb=t(function(e,a){return{$:"a3",n:e,o:a}}),Mb=b(function(e,a,t){return{$:"a4",n:a,o:{f:e,o:t}}}),Bb=t(function(e,a){return"a0"===a.$?h(Ib,a.n,xe(e,a.o)):a}),Db=t(function(e,a){return C(e(a.a),a.b)}),Rb=t(function(e,a){return{s:e(a.s),ab:a.ab,Z:a.Z}});try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){sa=!0}}))}catch(a){}var Kb,Fb,Zb=d(function(e,a,t,b,n){for(var d,l=e.length,s=a+l<=n.length,c=0;s&&c<l;)d=n.charCodeAt(a),s=e[c++]===n[a++]&&(10===d?(t++,b=1):(b++,55296==(63488&d)?e[c++]===n[a++]:1));return L(s?a:-1,t,b)}),qb=b(function(e,a,t){return t.length<=a?-1:55296==(63488&t.charCodeAt(a))?e(O(t.substr(a,2)))?a+2:-1:e(O(t[a]))?"\n"===t[a]?-2:a+1:-1}),Gb=b(function(e,a,t){return t.charCodeAt(a)===e}),Jb=t(function(e,a){for(;e<a.length;e++){var t=a.charCodeAt(e);if(48>t||57<t)return e}return e}),Pb=b(function(e,a,t){for(var b,n=0;a<t.length&&(b=t.charCodeAt(a)-48,!(0>b||e<=b));a++)n=e*n+b;return C(a,n)}),Vb=t(function(e,a){for(var t,b=0;e<a.length;e++)if(t=a.charCodeAt(e),48<=t&&57>=t)b=16*b+t-48;else if(65<=t&&70>=t)b=16*b+t-55;else if(97<=t&&102>=t)b=16*b+t-87;else break;return C(e,b)}),Wb=d(function(e,a,t,b,n){for(var d=n.indexOf(e,a),l=0>d?n.length:d+e.length;a<l;){var i=n.charCodeAt(a++);10===i?(b=1,t++):(b++,55296==(63488&i)&&a++)}return L(d,t,b)}),Ub=Kb||n(function(e,a,t,b){return Y(a,b,e.bg,e.bF,e.bC,function(a,t){var n=e.bI,d=b.node,l=Ye(d);return Xe(t,function(e){var t=n(e),b=Ie(l,t);d=Ge(d,l,b,a),l=t})})}),Yb=Fb||n(function(e,a,t,b){return Y(a,b,e.bg,e.bF,e.bC,function(a,t){var b=e.N&&e.N(a),n=e.bI,d=pb.title,l=pb.body,i=Ye(l);return Xe(t,function(e){ia=b;var t=n(e),s=kb("body")(ya)(t.a$),c=Ie(i,s);l=Ge(l,i,c,a),i=s,ia=0,d!==t.bE&&(pb.title=d=t.bE)})})}),Qb="undefined"==typeof cancelAnimationFrame?function(e){clearTimeout(e)}:cancelAnimationFrame,Xb="undefined"==typeof requestAnimationFrame?function(e){return setTimeout(e,1e3/60)}:requestAnimationFrame,en=t(function(e,a){return h(Fl,Ul,q(function(){a&&history.go(a),e()}))}),an=t(function(e,a){return h(Fl,Ul,q(function(){history.pushState({},"",a),e()}))}),tn=t(function(e,a){return h(Fl,Ul,q(function(){history.replaceState({},"",a),e()}))}),bn={addEventListener:function(){},removeEventListener:function(){}},nn="undefined"==typeof document?bn:document,dn="undefined"==typeof window?bn:window,ln=b(function(e,a,t){return P(q(function(){function b(e){J(t(e))}return e.addEventListener(a,b,sa&&{passive:!0}),function(){e.removeEventListener(a,b)}}))}),sn=t(function(e,a){var t=I(e,a);return Un(t)?An(t.a):Cn}),cn=t(function(e,a){return ea(a,function(a){return a[e](),Ma})}),hn=t(function(e,a){return aa(function(){return dn.scroll(e,a),Ma})}),$n=b(function(e,a,t){return ea(e,function(e){return e.scrollLeft=a,e.scrollTop=t,Ma})}),on=t(function(e,a){return e(a)}),rn=t(function(e,a){if(!a.$){var t=a.a;return t}return e}),gn=fa,fn=b(function(e,a,b){var n=b.c,d=b.d,l=t(function(a,t){if(!a.$){var b=a.a;return $(gn,l,t,b)}var n=a.a;return $(gn,e,t,n)});return $(gn,l,$(gn,e,a,d),n)}),mn=1,un=0,pn=ka,vn=function(e){return $(fn,pn,ya,e)},yn=2,kn=b(function(e,a,b){foldr:for(;;){if(-2===b.$)return a;var n=b.b,d=b.c,l=b.d,i=b.e,s=e,c=$(e,n,d,$(kn,e,a,i));e=s,a=c,b=l;continue foldr}}),xn=function(e){return $(kn,b(function(e,a,t){return h(pn,C(e,a),t)}),ya,e)},jn=function(e){return $(kn,b(function(e,a,t){return h(pn,e,t)}),ya,e)},En=function(e){return jn(e)},An=function(e){return{$:0,a:e}},Cn={$:1},Ln=n(function(e,a,t,b){return{bf:a,bi:e,bk:t,bB:b}}),On={V:!1,a6:C(0,0),W:"example.svg",S:"",av:!0,bG:h(rn,Da,function(e){return h(Ra,{ae:!1,az:!1},e)}("!|#|\\$|%|&|'|\\(|\\)|\\*|\\+|,|\\/|:|;|=|\\?|@|\\[|\\]"))},_n=function(e){return{$:0,a:e}},wn=b(function(e,a,t){return a(e(t))}),Nn=function(e){return e},Tn={$:-2},In=Tn,zn=Ha,Sn=t(function(e,a){get:for(;;){if(-2===a.$)return Cn;var t=a.b,b=a.c,n=a.d,d=a.e,l=h(zn,e,t);switch(l){case 0:var i=e,s=n;e=i,a=s;continue get;case 1:return An(b);default:var i=e,s=d;e=i,a=s;continue get;}}}),Hn=d(function(t,a,b,n,d){return{$:-1,a:t,b:a,c:b,d:n,e:d}}),Mn=d(function(e,a,t,b,n){if(-1===n.$&&!n.a){var d=n.a,l=n.b,i=n.c,s=n.d,c=n.e;if(-1===b.$&&!b.a){var h=b.a,$=b.b,o=b.c,r=b.d,f=b.e;return g(Hn,0,a,t,g(Hn,1,$,o,r,f),g(Hn,1,l,i,s,c))}return g(Hn,e,l,i,g(Hn,0,a,t,b,s),c)}if(-1===b.$&&!b.a&&-1===b.d.$&&!b.d.a){var m=b.a,$=b.b,o=b.c,u=b.d,p=u.a,v=u.b,y=u.c,k=u.d,x=u.e,f=b.e;return g(Hn,0,$,o,g(Hn,1,v,y,k,x),g(Hn,1,a,t,f,n))}return g(Hn,e,a,t,b,n)}),Bn=b(function(e,a,t){if(-2===t.$)return g(Hn,0,e,a,Tn,Tn);var b=t.a,n=t.b,d=t.c,l=t.d,i=t.e,s=h(zn,e,n);return 0===s?g(Mn,b,n,d,$(Bn,e,a,l),i):1===s?g(Hn,b,n,a,l,i):g(Mn,b,n,d,l,$(Bn,e,a,i))}),Dn=b(function(e,a,t){var b=$(Bn,e,a,t);if(-1===b.$&&!b.a){var n=b.a,d=b.b,i=b.c,s=b.d,l=b.e;return g(Hn,1,d,i,s,l)}return b}),Rn=function(e){getMin:for(;;)if(-1===e.$&&-1===e.d.$){var a=e.d;e=a;continue getMin}else return e},Kn=function(e){if(-1===e.$&&-1===e.d.$&&-1===e.e.$){if(-1===e.e.d.$&&!e.e.d.a){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,l=n.b,i=n.c,s=n.d,c=n.e,h=e.e,$=h.a,o=h.b,r=h.c,f=h.d,m=f.a,u=f.b,p=f.c,y=f.d,x=f.e,j=h.e;return g(Hn,0,u,p,g(Hn,1,t,b,g(Hn,0,l,i,s,c),y),g(Hn,1,o,r,x,j))}var a=e.a,t=e.b,b=e.c,E=e.d,d=E.a,l=E.b,i=E.c,s=E.d,c=E.e,A=e.e,$=A.a,o=A.b,r=A.c,f=A.d,j=A.e;return 1===a?g(Hn,1,t,b,g(Hn,0,l,i,s,c),g(Hn,0,o,r,f,j)):g(Hn,1,t,b,g(Hn,0,l,i,s,c),g(Hn,0,o,r,f,j))}return e},Fn=function(e){if(-1===e.$&&-1===e.d.$&&-1===e.e.$){if(-1===e.d.d.$&&!e.d.d.a){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,l=n.b,i=n.c,s=n.d,c=s.a,h=s.b,$=s.c,o=s.d,r=s.e,f=n.e,m=e.e,u=m.a,p=m.b,y=m.c,x=m.d,j=m.e;return g(Hn,0,l,i,g(Hn,1,h,$,o,r),g(Hn,1,t,b,f,g(Hn,0,p,y,x,j)))}var a=e.a,t=e.b,b=e.c,E=e.d,d=E.a,l=E.b,i=E.c,A=E.d,f=E.e,C=e.e,u=C.a,p=C.b,y=C.c,x=C.d,j=C.e;return 1===a?g(Hn,1,t,b,g(Hn,0,l,i,A,f),g(Hn,0,p,y,x,j)):g(Hn,1,t,b,g(Hn,0,l,i,A,f),g(Hn,0,p,y,x,j))}return e},Zn=i(function(e,a,t,b,n,d,l){if(-1===d.$&&!d.a){var i=d.a,s=d.b,c=d.c,h=d.d,$=d.e;return g(Hn,t,s,c,h,g(Hn,0,b,n,$,l))}_n2$2:for(;;)if(-1!==l.$||1!==l.a)break _n2$2;else if(-1===l.d.$){if(1===l.d.a){var o=l.a,r=l.d,f=r.a;return Fn(a)}break _n2$2}else{var m=l.a,u=l.d;return Fn(a)}return a}),qn=function(e){if(-1===e.$&&-1===e.d.$){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,l=n.d,i=e.e;if(1===d){if(-1===l.$&&!l.a){l.a;return g(Hn,a,t,b,qn(n),i)}var s=Kn(e);if(-1===s.$){var c=s.a,h=s.b,$=s.c,o=s.d,r=s.e;return g(Mn,c,h,$,qn(o),r)}return Tn}return g(Hn,a,t,b,qn(n),i)}return Tn},Gn=t(function(e,a){if(-2===a.$)return Tn;var t=a.a,b=a.b,n=a.c,d=a.d,l=a.e;if(0>A(e,b)){if(-1===d.$&&1===d.a){var i=d.a,s=d.d;if(-1===s.$&&!s.a){s.a;return g(Hn,t,b,n,h(Gn,e,d),l)}var c=Kn(a);if(-1===c.$){var $=c.a,o=c.b,r=c.c,f=c.d,u=c.e;return g(Mn,$,o,r,h(Gn,e,f),u)}return Tn}return g(Hn,t,b,n,h(Gn,e,d),l)}return h(Jn,e,m(Zn,e,a,t,b,n,d,l))}),Jn=t(function(e,a){if(-1===a.$){var t=a.a,b=a.b,n=a.c,d=a.d,l=a.e;if(j(e,b)){var i=Rn(l);if(-1===i.$){var s=i.b,c=i.c;return g(Mn,t,s,c,d,qn(l))}return Tn}return g(Mn,t,b,n,d,h(Gn,e,l))}return Tn}),Pn=t(function(e,a){var t=h(Gn,e,a);if(-1===t.$&&!t.a){var b=t.a,n=t.b,d=t.c,i=t.d,l=t.e;return g(Hn,1,n,d,i,l)}return t}),Vn=b(function(e,a,t){var b=a(h(Sn,e,t));if(!b.$){var n=b.a;return $(Dn,e,n,t)}return h(Pn,e,t)}),Wn=function(e){return!e.$},Un=function(e){return!e.$},Yn=32,Qn=n(function(e,a,t,b){return{$:0,a:e,b:a,c:t,d:b}}),Xn=st,ed=t(function(e,a){return $t(a)/$t(e)}),ad=Xn(h(ed,2,Yn)),td=[],bd=o(Qn,0,ad,td,td),nd=function(e){return{$:1,a:e}},dd=function(e){return{$:0,a:e}},ld=ha,id=b(function(e,a,t){foldl:for(;;){if(!t.b)return a;var b=t.a,n=t.b,d=e,l=h(e,b,a);e=d,a=l,t=n;continue foldl}}),sd=function(e){return $(id,pn,ya,e)},cd=t(function(e,a){compressNodes:for(;;){var t=h(ld,Yn,e),b=t.a,n=t.b,d=h(pn,dd(b),a);if(!n.b)return sd(d);e=n,a=d;continue compressNodes}}),hd=t(function(e,a){return a(e)}),$d=function(e){var a=e.a;return a},od=t(function(e,a){treeFromBuilder:for(;;){var t=Xn(a/Yn);if(1===t)return h(ld,Yn,e).a;var b=h(cd,e,ya);e=b,a=t;continue treeFromBuilder}}),rd=t(function(e,a){return 0<A(e,a)?e:a}),gd=function(e){return e.length},fd=t(function(e,a){if(!a.e)return o(Qn,gd(a.g),ad,td,a.g);var t=a.e*Yn,b=ta(h(ed,Yn,t-1)),n=e?sd(a.h):a.h,d=h(od,n,a.e);return o(Qn,gd(a.g)+t,h(rd,5,b*ad),d,a.g)}),md=ca,ud=d(function(e,a,t,b,n){initializeHelp:for(;;){if(0>a)return h(fd,!1,{h:b,e:0|t/Yn,g:n});var d=nd($(md,Yn,a,e)),l=e,i=a-Yn,s=t,c=h(pn,d,b),o=n;e=l,a=i,t=s,b=c,n=o;continue initializeHelp}}),pd=t(function(e,a){if(0>=e)return bd;var t=e%Yn,b=$(md,t,e-t,a);return g(ud,a,e-t-Yn,e,ya,b)}),vd=function(e){return{$:1,a:e}},yd=t(function(e,a){return{$:3,a:e,b:a}}),kd=t(function(e,a){return{$:0,a:e,b:a}}),xd=t(function(e,a){return{$:1,a:e,b:a}}),jd=function(e){return{$:2,a:e}},Ed=function(e){var a=e.charCodeAt(0);return 55296<=a&&56319>=a?1024*(a-55296)+e.charCodeAt(1)-56320+65536:a},Ad=function(e){var a=Ed(e);return 97<=a&&122>=a},Cd=function(e){var a=Ed(e);return 90>=a&&65<=a},Ld=function(e){return Ad(e)||Cd(e)},Od=function(e){var a=Ed(e);return 57>=a&&48<=a},_d=function(e){return Ad(e)||Cd(e)||Od(e)},wd=function(e){return $(id,t(function(e,a){return a+1}),0,e)},Nd=b(function(e,a,t){rangeHelp:for(;;)if(1>A(e,a)){var b=e,n=a-1,d=h(pn,a,t);e=b,a=n,t=d;continue rangeHelp}else return t}),Td=t(function(e,a){return $(Nd,e,a,ya)}),Id=t(function(e,a){return $(xa,e,h(Td,0,wd(a)-1),a)}),zd=function(e){return e+""},Sd=t(function(e,a){return h(jt,e,v(a))}),Hd=function(e){var a=e.charCodeAt(0);return a?An(55296<=a&&56319>=a?C(O(e[0]+e[1]),e.slice(2)):C(O(e[0]),e.slice(1))):Cn},Md=t(function(e,a){return p(h(xt,e,a))}),Bd=function(e){return h(Sd,"\n ",h(Md,"\n",e))},Dd=t(function(e,a){return"\n\n("+(zd(e+1)+(") "+Bd(Rd(a))))}),Rd=function(e){return h(Kd,e,ya)},Kd=t(function(e,a){errorToStringHelp:for(;;)switch(e.$){case 0:var t=e.a,b=e.b,n=function(){var e=Hd(t);if(1===e.$)return!1;var a=e.a,b=a.a,n=a.b;return Ld(b)&&h(Ct,_d,n)}(),d=n?"."+t:"['"+(t+"']"),l=b,s=h(pn,d,a);e=l,a=s;continue errorToStringHelp;case 1:var c=e.a,b=e.b,i="["+(zd(c)+"]"),l=b,s=h(pn,i,a);e=l,a=s;continue errorToStringHelp;case 2:var $=e.a;if(!$.b)return"Ran into a Json.Decode.oneOf with no possibilities"+function(){return a.b?" at json"+h(Sd,"",sd(a)):"!"}();if(!$.b.b){var b=$.a,l=b,s=a;e=l,a=s;continue errorToStringHelp}else{var o=function(){return a.b?"The Json.Decode.oneOf at json"+h(Sd,"",sd(a)):"Json.Decode.oneOf"}(),r=o+(" failed in the following "+(zd(wd($))+" ways:"));return h(Sd,"\n\n",h(pn,r,h(Id,Dd,$)))}default:var g=e.a,f=e.b,r=function(){return a.b?"Problem with the value at json"+(h(Sd,"",sd(a))+":\n\n "):"Problem with the given value:\n\n"}();return r+(Bd(h(Wt,4,f))+("\n\n"+g));}}),Fd=lb,Zd=ib,qd=t(function(t,b){if(!b.$){var n=b.a;return _n(t(n))}var a=b.a;return vd(a)}),Gd=t(function(e,a){return{$:3,a:e,b:a}}),Jd=function(e){return{$:0,a:e}},Pd=t(function(e,a){return{$:4,a:e,b:a}}),Vd={$:2},Wd=function(e){return{$:1,a:e}},Ud=function(e){return{$:0,a:e}},Yd={$:1},Qd=t(function(e,a){return $(ob,"",Nn,h(wn,a,e))}),Xd=t(function(a,t){if(!t.$){var b=t.a;return _n(b)}var n=t.a;return vd(a(n))}),el=function(e){return{$:4,a:e}},al=function(e){return{$:3,a:e}},tl=function(e){return{$:0,a:e}},bl={$:2},nl={$:1},dl=t(function(e,a){switch(a.$){case 0:var t=a.a;return vd(tl(t));case 1:return vd(nl);case 2:return vd(bl);case 3:var b=a.a;return vd(al(b.aS));default:var n=a.b;return h(Xd,el,e(n));}}),ll={$:0},il=function(e){return{$:1,a:e}},sl=F,cl=t(function(e,a){return{aK:e,aT:a}}),hl=sl(h(cl,In,ya)),$l=Qt,ol=function(e){return q(function(a){var t=e.f;2===t.$&&t.c&&t.c(),e.f=null,a(F(0))})},rl=b(function(e,a,t){updateReqs:for(;;){if(!a.b)return sl(t);var b=a.a,n=a.b;if(!b.$){var d=b.a,l=h(Sn,d,t);if(1===l.$){var i=e,s=t;e=i,a=n,t=s;continue updateReqs}else{var c=l.a;return h($l,function(){return $(rl,e,n,h(Pn,d,t))},ol(c))}}else{var o=b.a;return h($l,function(a){var b=o.n;if(1===b.$)return $(rl,e,n,t);var d=b.a;return $(rl,e,n,$(Dn,d,a,t))},P($($b,e,Fd(e),o)))}}}),gl=n(function(e,a,t,b){return h($l,function(e){return sl(h(cl,e,t))},$(rl,e,a,b.aK))}),fl=n(function(e,t,n,l){if(!l.b)return t;var i=l.a,a=l.b;if(!a.b)return h(e,i,t);var s=a.a,b=a.b;if(!b.b)return h(e,i,h(e,s,t));var r=b.a,c=b.b;if(!c.b)return h(e,i,h(e,s,h(e,r,t)));var g=c.a,d=c.b,f=500<n?$(id,e,t,sd(d)):o(fl,e,t,n+1,d);return h(e,i,h(e,s,h(e,r,h(e,g,f))))}),ml=b(function(e,a,t){return o(fl,e,a,0,t)}),ul=b(function(e,a,t){var b=e(a);if(!b.$){var n=b.a;return h(pn,n,t)}return t}),pl=t(function(e,a){return $(ml,ul(e),ya,a)}),vl=b(function(e,a,t){return h($l,function(n){return h($l,function(a){return sl(h(e,n,a))},t)},a)}),yl=function(e){return $(ml,vl(pn),sl(ya),e)},kl=n(function(e,a,t,b){var n=b.a,d=b.b;return j(a,n)?An(h(Fd,e,d(t))):Cn}),xl=b(function(e,a,t){var b=a.a,n=a.b;return h($l,function(){return sl(t)},yl(h(pl,$(kl,e,b,n),t.aT)))}),jl=function(e){return{$:0,a:e}},El=t(function(e,a){if(!a.$){var t=a.a;return jl(t)}var b=a.a;return il({z:b.z,a$:b.a$,a8:h(rb,e,b.a8),i:b.i,l:b.l,m:b.m,n:b.n,bH:b.bH})}),Al=t(function(e,a){return{$:0,a:e,b:a}}),Cl=t(function(e,a){var t=a.a,b=a.b;return h(Al,t,h(wn,b,e))});db.Http=X(hl,gl,xl,El,Cl);var Ll=ae("Http"),Ol=ae("Http"),_l=function(e){return Ll(il({z:!1,a$:e.a$,a8:e.a8,i:e.i,l:e.l,m:e.m,n:e.n,bH:e.bH}))},wl=function(e){return _l({a$:ll,a8:e.a8,i:ya,l:"GET",m:Cn,n:Cn,bH:e.bH})}({a8:function(e){return h(Qd,e,dl(_n))}(function(e){return{$:1,a:e}}),bH:"assets/example.svg"}),Nl=te(ya),Tl=function(e){return{$:0,a:e}},Il=te(ya),zl=sl(0),Sl=t(function(e,a){return $(ml,t(function(a,t){return h(pn,e(a),t)}),ya,a)}),Hl=t(function(e,a){return h($l,function(t){return sl(e(t))},a)}),Ml=t(function(e,a){return P(h($l,Fd(e),a))}),Bl=b(function(e,a){return h(Hl,function(){return 0},yl(h(Sl,Ml(e),a)))}),Dl=b(function(){return sl(0)}),Rl=t(function(e,a){return h(Hl,e,a)});db.Task=X(zl,Bl,Dl,Rl);var Kl=ae("Task"),Fl=t(function(e,a){return Kl(h(Hl,e,a))}),Zl=function(e){if(!e.$){var a=e.a;return h(Fl,Tl,sl(a))}return Il},ql=function(e){return{$:1,a:e}},Gl=function(e){return{$:5,a:e}},Jl=function(e){return e.name},Pl=function(e){return q(function(a){var t=new FileReader;return t.addEventListener("loadend",function(){a(F(t.result))}),t.readAsText(e),function(){t.abort()}})},Vl=t(function(e,a){return h(Fl,a,fe(e))}),Wl=t(function(e,a){if(!a.$)return C(e,h(Vl,p(["image/svg+xml"]),function(e){return Gl(ql(e))}));var t=a.a;return C(_(e,{W:Jl(t)}),h(Fl,Tl,Pl(t)))}),Ul=function(e){never:for(;;){var a=e;e=a;continue never}},Yl=b(function(e,a,t){return h(Fl,Ul,$(ub,e,a,t))}),Ql=t(function(e,a){switch(e.$){case 0:var t=e.a;return C(_(a,{S:t}),Il);case 1:var b=e.a;return C(a,Zl(b));case 2:var n=e.a;return C(_(a,{av:n}),Il);case 3:return C(_(a,{V:!a.V}),Il);case 4:return C(a,$(Yl,a.W,"image/svg+xml",a.S));case 5:var d=e.a;return h(Wl,a,d);default:var l=e.a;return C(_(a,{a6:l}),Il);}}),Xl=t(function(e,t){if(!t.$){var b=t.a;return b}return e}),ei=Dt,ai=Rt,ti=function(e){return{$:0,a:e}},bi=function(e){switch(e.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3;}},ni=kb("code"),di=kb("pre"),li=ue,ii=function(e){return p([e])},si=t(function(e,a){return h(Sb,e,R(a))}),ci=si("className"),hi=kb("div"),$i=t(function(e,a){return h(Hb,ve(e),ke(a))}),oi=t(function(e,a){return $(ml,t(function(a,t){return e(a)?h(pn,a,t):t}),ya,a)}),ri=function(e){var a=e.b;return a},gi=function(e){return ci(h(Sd," ",h(Sl,$d,h(oi,ri,e))))},fi=function(e){return""===e},mi=kb("span"),ui=function(e){return"elmsh"+function(){return 0===e?"0":1===e?"-comm":2===e?"1":3===e?"2":4===e?"3":5===e?"4":6===e?"5":7===e?"6":"7"}()},pi=function(e){var a=e.bD,t=e.bp,b=e.aZ;return!t&&fi(b)?li(a):h(mi,p([gi(p([C(ui(t),t),C("elmsh-"+b,""!==b)]))]),p([li(a)]))},vi=b(function(e,a,t){var b=t.bb,n=t.bd;return h(hi,p([gi(p([C("elmsh-line",!0),C("elmsh-hl",j(n,An(0))),C("elmsh-add",j(n,An(1))),C("elmsh-del",j(n,An(2)))])),h($i,"data-elmsh-lc",zd(e+a))]),h(Sl,pi,b))}),yi=t(function(e,a){return a.b?$(ml,pn,a,e):e}),ki=function(e){return $(ml,yi,ya,e)},xi=function(e){return h(ni,p([ci("elmsh")]),ki(h(Sl,function(e){var a=e.bd,t=e.bb;return j(a,Cn)?h(Sl,pi,t):p([h(mi,p([gi(p([C("elmsh-hl",j(a,An(0))),C("elmsh-add",j(a,An(1))),C("elmsh-del",j(a,An(2)))]))]),h(Sl,pi,t))])},e)))},ji=t(function(e,a){if(1===e.$)return h(di,p([ci("elmsh")]),p([xi(a)]));var t=e.a;return h(di,p([ci("elmsh")]),ii(h(ni,ya,h(Id,vi(t),a))))}),Ei=t(function(e,a){return h(ji,e,a)}),Ai=b(function(e,a,t){return{ag:a,aE:t,aO:e}}),Ci=function(e){return $(Ai,e.aO,e.ag,e.aE)},Li=t(function(e,a){bagToList:for(;;)switch(e.$){case 0:return a;case 1:var t=e.a,b=e.b,n=t,d=h(pn,b,a);e=n,a=d;continue bagToList;default:var t=e.a,l=e.b,n=t,d=h(Li,l,a);e=n,a=d;continue bagToList;}}),Oi=t(function(e,a){var t=e({ag:1,c:ya,d:1,b:0,aO:1,a:a});if(!t.$){var b=t.b;return _n(b)}var n=t.b;return vd(h(Li,n,ya))}),_i=t(function(e,t){var b=h(Oi,e,t);if(!b.$){var n=b.a;return _n(n)}var a=b.a;return vd(h(Sl,Ci,a))}),wi=t(function(e,a){return{$:1,a:e,b:a}}),Ni=b(function(e,a,t){return{$:0,a:e,b:a,c:t}}),Ti=t(function(e,t){return function(b){var n=t(b);if(!n.$){var d=n.a,l=n.b,a=n.c;return $(Ni,d,e(l),a)}var d=n.a,i=n.b;return h(wi,d,i)}}),Ii=Ti,zi=function(e){return{$:1,a:e}},Si=function(e){return{$:0,a:e}},Hi=function(e){if(!e.$){var t=e.a;return Si(t)}var b=e.a;return zi(b)},Mi=n(function(e,a,t,b){loopHelp:for(;;){var n=t(a),d=n(b);if(!d.$){var l=d.a,i=d.b,s=d.c;if(!i.$){var c=i.a,o=e||l,r=t;e=o,a=c,t=r,b=s;continue loopHelp}else{var g=i.a;return $(Ni,e||l,g,s)}}else{var l=d.a,f=d.b;return h(wi,e||l,f)}}}),Bi=t(function(e,a){return function(t){return o(Mi,!1,e,a,t)}}),Di=t(function(e,a){return h(Bi,e,function(e){return h(Ii,Hi,a(e))})}),Ri=function(e){return{$:1,a:e}},Ki=function(e){return{$:0,a:e}},Fi=t(function(e){return e}),Zi=Et,qi=t(function(e,t){return function(b){var n=t(b);if(1===n.$){var d=n.a,l=n.b;return h(wi,d,l)}var d=n.a,i=n.b,a=n.c;return $(Ni,d,h(e,$(Zi,b.b,a.b,b.a),i),a)}}),Gi=function(e){return h(qi,Fi,e)},Ji={$:0},Pi=t(function(e,a){return{$:2,a:e,b:a}}),Vi=b(function(e,a,t){oneOfHelp:for(;;){if(!t.b)return h(wi,!1,a);var b=t.a,n=t.b,d=b(e);if(!d.$){var l=d;return l}var l=d,i=l.a,s=l.b;if(i)return l;var c=e,$=h(Pi,a,s);e=c,a=$,t=n;continue oneOfHelp}}),Wi=function(e){return function(a){return $(Vi,a,Ji,e)}},Ui=function(e){return function(a){return $(Ni,!1,e,a)}},Yi={$:11},Qi=t(function(e,a){return{$:1,a:e,b:a}}),Xi=n(function(e,a,t,b){return{ag:a,a2:b,aE:t,aO:e}}),es=t(function(e,a){return h(Qi,Ji,o(Xi,e.aO,e.ag,a,e.c))}),as=qb,ts=t(function(e,a){return function(t){var b=$(as,e,t.b,t.a);return j(b,-1)?h(wi,!1,h(es,t,a)):j(b,-2)?$(Ni,!0,0,{ag:1,c:t.c,d:t.d,b:t.b+1,aO:t.aO+1,a:t.a}):$(Ni,!0,0,{ag:t.ag+1,c:t.c,d:t.d,b:b,aO:t.aO,a:t.a})}}),bs=function(e){return h(ts,e,Yi)},ns=d(function(e,a,t,b,n){chompWhileHelp:for(;;){var d=$(as,e,a,n.a);if(j(d,-1))return $(Ni,0>A(n.b,a),0,{ag:b,c:n.c,d:n.d,b:a,aO:t,a:n.a});if(j(d,-2)){var l=e,i=a+1,s=t+1,c=1,h=n;e=l,a=i,t=s,b=c,n=h;continue chompWhileHelp}else{var l=e,i=d,s=t,c=b+1,h=n;e=l,a=i,t=s,b=c,n=h;continue chompWhileHelp}}}),ds=function(e){return function(a){return g(ns,e,a.b,a.aO,a.ag,a)}},ls=b(function(e,t,n){return function(d){var l=t(d);if(1===l.$){var i=l.a,s=l.b;return h(wi,i,s)}var c=l.a,o=l.b,a=l.c,r=n(a);if(1===r.$){var g=r.a,s=r.b;return h(wi,c||g,s)}var g=r.a,f=r.b,b=r.c;return $(Ni,c||g,h(e,o,f),b)}}),is=t(function(e,a){return $(ls,Fi,e,a)}),ss=is,cs=function(e){return h(ss,h(ss,Ui(0),bs(e)),ds(e))},hs=function(e){return"\n"===e},$s={$:0},os=t(function(e,t){return function(n){var d=t(n);if(1===d.$){var l=d.a,i=d.b;return h(wi,l,i)}var s=d.a,c=d.b,a=d.c,o=e(c),r=o(a);if(1===r.$){var g=r.a,i=r.b;return h(wi,s||g,i)}var g=r.a,f=r.b,b=r.c;return $(Ni,s||g,f,b)}}),rs=os,gs=function(e){return{$:8,a:e}},fs=t(function(e,a){return{$:0,a:e,b:a}}),ms=function(e){var a=e.a,t=e.b,b=!fi(a);return function(e){var n=g(Zb,a,e.b,e.aO,e.ag,e.a),d=n.a,l=n.b,i=n.c;return j(d,-1)?h(wi,!1,h(es,e,t)):$(Ni,b,0,{ag:i,c:e.c,d:e.d,b:d,aO:l,a:e.a})}},us=function(e){return ms(h(fs,e,gs(e)))},ps=function(e){return{$:12,a:e}},vs=function(e){return function(a){return h(wi,!1,h(es,a,e))}},ys=function(e){return vs(ps(e))},ks=function(e){return e.length},xs=function(e){return function(a){return j(ks(a.a),a.b)?$(Ni,!1,0,a):h(wi,!1,h(es,a,e))}}({$:10}),js=b(function(e,a,t){return h(rs,function(t){return e(w(t,a))},t)}),Es=b(function(e,a,t){return h(rs,function(t){return e(h(pn,t,a))},t)}),As=t(function(e,a){return h(ss,a,ds(e))}),Cs=t(function(e,a){var t=e.ai,b=e.au,n=e.aj,d=e.ar;return Wi(p([h(Ii,Fi(h(pn,t(n),a)),us(n)),h(Ii,Fi(a),xs),$(js,Cs(e),a,Wi(d)),$(Es,Cs(e),a,h(Ii,t,Gi(h(As,b,bs(Fi(!0))))))]))}),Ls=b(function(e,a,t){var b=a.ai,n=a.au,d=a.aa,l=a.aj,i=a.ar;return Wi(p([h(rs,function(t){return 1===e?Ui(t):$(Ls,e-1,a,t)},h(Ii,Fi(h(pn,b(l),t)),us(l))),$(Es,h(Ls,e+1,a),t,h(Ii,b,Gi(h(As,n,us(d))))),$(js,Cs(a),t,Wi(i)),h(Ii,Fi(t),xs),$(Es,h(Ls,e,a),t,h(Ii,b,Gi(h(As,n,bs(Fi(!0))))))]))}),Os=t(function(e,a){var t=e.aa,b=e.aj,n=e.au,d=C(Hd(e.aa),Hd(e.aj));if(1===d.a.$){d.a;return ys("Trying to parse a delimited helper, but the start token cannot be an empty string!")}if(1===d.b.$){d.b;return ys("Trying to parse a delimited helper, but the end token cannot be an empty string!")}var l=d.a.a,i=l.a,s=d.b.a,o=s.a;return e.at?$(Ls,1,_(e,{au:function(e){return n(e)&&!j(e,i)&&!j(e,o)}}),a):h(Cs,_(e,{au:function(e){return n(e)&&!j(e,o)}}),a)}),_s=function(e){var a=e.aa,t=e.au,b=e.ai;return h(rs,function(a){return h(Os,e,p([a]))},h(Ii,Fi(b(a)),us(a)))},ws={$:1},Ns=b(function(e,a,t){return e(a(t))}),Ts=function(e){return{$:3,a:e}},Is={$:2},zs=h(Ii,function(){return C(Is,"\n")},us("\n")),Ss=h(Ii,ii,zs),Hs={ai:function(e){return C(Ts(2),e)},aj:"\"",ar:p([Ss]),at:!1,au:h(Ns,function(e){return!e},hs),aa:"\""},Ms=_s(_(Hs,{ai:function(e){return C(ws,e)},aj:"-->",aa:"<!--"})),Bs=h(ss,h(ss,Ui(0),bs(function(e){return"<"===e})),Wi(p([bs(function(e){return"/"===e||"!"===e}),Ui(0)]))),Ds=function(e){return" "===e||"\t"===e},Rs=function(e){return Ds(e)||hs(e)},Ks=_s(Hs),Fs=_s(_(Hs,{aj:"'",aa:"'"})),Zs=Wi(p([Ks,Fs,h(Ii,function(e){return p([C(Ts(2),e)])},Gi(cs(function(e){return!Rs(e)&&">"!==e})))])),qs=Wi(p([h(Ii,function(e){return C($s,e)},Gi(cs(Ds))),zs])),Gs=function(e){return Wi(p([$(Es,Gs,e,qs),$(js,Ui,e,Zs),Ui(e)]))},Js=function(e){return Wi(p([$(Es,Js,e,qs),$(Es,Gs,e,h(Ii,function(){return C($s,"=")},us("="))),Ui(e)]))},Ps=function(e){return Cd(e)||Ad(e)||Od(e)},Vs=function(e){return Ps(e)||"-"===e},Ws=function(e){return Vs(e)||"_"===e},Us=function(e){return Wi(p([h(Ii,Ki,$(Es,Js,e,h(Ii,function(e){return C(Ts(1),e)},Gi(cs(Ws))))),h(Ii,function(a){return Ki(h(pn,a,e))},qs),h(Ii,function(a){return Ki(h(pn,C($s,a),e))},Gi(cs(function(e){return!Rs(e)&&">"!==e}))),Ui(Ri(e))]))},Ys=function(e){return Wi(p([h(rs,function(a){return h(Di,h(pn,a,e),Us)},h(Ii,function(e){return C(Ts(0),e)},Gi(h(As,Vs,bs(Ps))))),Ui(e)]))},Qs=function(e){return h(rs,Ys,h(Ii,function(a){return h(pn,C($s,a),e)},Gi(Bs)))},Xs=h(Di,ya,function(e){return Wi(p([h(Ii,function(a){return Ki(h(pn,a,e))},qs),h(Ii,function(a){return Ki(w(a,e))},Ms),h(Ii,function(a){return Ki(h(pn,C($s,a),e))},Gi(cs(function(e){return"<"!==e&&!hs(e)}))),h(Ii,Ki,Qs(e)),Ui(Ri(e))]))}),ec=function(e){return{bb:e,bd:Cn}},ac=t(function(e,a){var t=a.a,b=a.b;switch(t.$){case 0:return{aZ:"",bp:0,bD:b};case 1:return{aZ:"",bp:1,bD:b};case 2:return{aZ:"",bp:0,bD:b};default:var n=t.a,d=e(n),l=d.a,i=d.b;return{aZ:i,bp:l,bD:b};}}),tc=b(function(e,a,t){var b=a.a,n=a.b,d=t.a,l=t.b,i=t.c;if(j(b,Is))return L(h(pn,ec(l),d),p([h(ac,e,C(b,n))]),Cn);if(j(An(b),i)){if(l.b){var s=l.a,c=l.b;return L(d,h(pn,_(s,{bD:w(n,s.bD)}),c),i)}return L(d,h(pn,h(ac,e,C(b,n)),l),i)}return L(d,h(pn,h(ac,e,C(b,n)),l),An(b))}),bc=t(function(e,a){return function(e){var a=e.a,t=e.b;return h(pn,ec(t),a)}($(id,tc(e),L(ya,ya,Cn),a))}),nc=h(wn,_i(Xs),qd(bc(function(e){return 0===e?C(4,"xml-t"):1===e?C(6,"xml-a"):C(3,"xlm-av")}))),dc=h(wn,nc,qd(Nn)),lc=function(e){return h(Xl,h(di,ya,p([h(ni,ya,p([li(e.S)]))])),h(qd,Ei(Cn),dc(""===e.S?"<svg ...> ... </svg>":e.S)))},ic=function(e){return{$:0,a:e}},sc=Ib,cc=t(function(e,a){return h(sc,e,ic(a))}),hc=t(function(e,a){return $(ml,Ht,a,e)}),$c=Nt,oc=function(e){return h(cc,"scroll",h(ei,e,$(ai,function(e){return function(a){return C(e,a)}},h(hc,p(["target","scrollLeft"]),$c),h(hc,p(["target","scrollTop"]),$c))))},rc=function(e){return{$:6,a:e}},gc=kb("textarea"),fc=t(function(e,a){return h(Sb,e,R(a))}),mc=fc("spellcheck"),uc=si("value"),pc=function(e){return C(e,!0)},vc=function(e){return{$:1,a:e}},yc=t(function(e,a){return h(sc,e,vc(a))}),kc=h(hc,p(["target","value"]),St),xc=function(e){return h(yc,"input",h(ei,pc,h(ei,e,kc)))},jc=function(e){return h(gc,p([uc(e.S),xc(Tl),oc(rc),mc(!1)]),ya)},Ec=function(e){return h(zb,"transform",e)},Ac=function(e){var a=e.a,t=e.b;return Ec("translate("+(zd(-a)+("px, "+(zd(-t)+"px)"))))},Cc=si("id"),Lc=function(e){return h(hi,p([Cc("editor")]),p([h(hi,p([Ac(e.a6)]),p([lc(e)])),jc(e)]))},Oc={$:3},_c={$:4},wc={$:0},Nc=function(e){return{$:2,a:e}},Tc=yb("http://www.w3.org/2000/svg"),Ic=Tc("path"),zc=Tc("svg"),Sc=Hb("d"),Hc=Hb("viewBox"),Mc=h(zc,p([Hc("0 0 60 60")]),p([h(Ic,p([Sc("M30,0.548l0,38.515m-9.063,-9.063l9.063,9.063m9.063,-9.063l-9.073,9.073")]),ya),h(Ic,p([Sc("M22.732,16.862l-14.5,0l0,42.547l43.536,0l0,-42.547l-14.5,0")]),ya)])),Bc=h(zc,p([Cc("error"),Hc("0 0 402 402")]),p([h(Ic,p([Sc("M238 301h-74c-4 0-9 2-12 6-4 4-6 8-6 13v64c0 5 2 9 6 13 3 3 8 5 12 5h74c4 0 9-2 12-5 4-4 6-8 6-13v-64c0-5-2-9-6-13-3-4-8-6-12-6zM259 5c-3-3-7-5-12-5h-92c-5 0-9 2-12 5-4 4-6 8-5 13l8 220c0 4 2 9 5 12 4 4 9 6 13 6h74c4 0 9-2 13-6 3-3 5-8 5-12l8-220c1-5-1-9-5-13z")]),ya)])),Dc=h(zc,p([Cc("light-toggle"),Hc("0 0 50 50")]),p([h(Ic,p([Sc("M14.087,3.101c-0.327,1.596 -0.499,3.248 -0.499,4.939c0,13.515 10.972,24.487 24.487,24.487c3.918,0 7.622,-0.922 10.907,-2.561c-2.287,11.15 -12.164,19.548 -23.987,19.548c-13.515,0 -24.487,-10.973 -24.487,-24.487c0,-9.597 5.533,-17.911 13.579,-21.926Z")]),ya)])),Rc=h(zc,p([Cc("light-toggle"),Hc("0 0 60 60")]),p([h(Ic,p([Sc("M30,14c8.831,0 16,7.169 16,16c0,8.831 -7.169,16 -16,16c-8.831,0 -16,-7.169 -16,-16c0,-8.831 7.169,-16 16,-16Zm0,-13l0,6m0,46l0,6m29,-29l-6,0m-46,0l-6,0m7,-22l6,6m38,-6l-6,6m-38,38l6,-6m38,6l-6,-6")]),ya)])),Kc=h(zc,p([Hc("0 0 60 60")]),p([h(Ic,p([Sc("M30,39.073l0,-38.514m-9.063,9.063l9.063,-9.063m9.063,9.063l-9.073,-9.074")]),ya),h(Ic,p([Sc("M22.732,16.862l-14.5,0l0,42.547l43.536,0l0,-42.547l-14.5,0")]),ya)])),Fc=function(e){var a=e.bi;switch(a){case"!":return"%21";case"#":return"%23";case"$":return"%24";case"%":return"%25";case"&":return"%26";case"'":return"%27";case"(":return"%28";case")":return"%29";case"*":return"%2A";case"+":return"%2B";case",":return"%2C";case"/":return"%2F";case":":return"%3A";case";":return"%3B";case"=":return"%3D";case"?":return"%3F";case"@":return"%40";case"[":return"%5B";case"]":return"%5D";default:return a;}},Zc=Za(1/0),qc=function(e){return"data:image/svg+xml;utf8,"+$(Zc,e.bG,Fc,e.S)},Gc=kb("button"),Jc=kb("img"),Pc=function(e){return h(si,"src",ke(e))},Vc=function(e){return h(cc,"click",ti(e))},Wc=function(e){return h(hi,p([Cc("display"),ci(e.V?"dark":"")]),p([h(Jc,p([Pc(qc(e)),e.av?h(cc,"error",ti(Nc(!1))):h(cc,"load",ti(Nc(!0)))]),ya),Bc,h(Gc,p([Vc(_c)]),p([Mc])),h(Gc,p([Vc(Gl(wc))]),p([Kc])),h(Gc,p([Vc(Oc)]),p([e.V?Rc:Dc]))]))},Uc=h(zc,p([Hc("0 0 50 50")]),p([h(Ic,p([Sc("M18.96 49.26l-.07-10.04-.73.12c-.46.09-1.05.13-1.76.11-.72 0-1.45-.08-2.22-.22a4.95 4.95 0 0 1-2.13-.95 4.04 4.04 0 0 1-1.4-1.96l-.32-.73a7.94 7.94 0 0 0-1-1.62c-.46-.6-.92-1-1.38-1.21l-.23-.16a2.35 2.35 0 0 1-.7-.83c-.06-.15 0-.27.16-.37.17-.1.48-.14.93-.14l.63.1c.43.08.95.33 1.58.76.62.42 1.14.98 1.54 1.65a5.63 5.63 0 0 0 1.77 2c.69.45 1.38.68 2.08.68.7 0 1.3-.06 1.82-.16.5-.1.98-.27 1.43-.48.19-1.42.7-2.51 1.56-3.28-1.21-.12-2.3-.31-3.27-.57-.96-.26-1.96-.67-2.99-1.24a8.59 8.59 0 0 1-2.56-2.13 10.25 10.25 0 0 1-1.67-3.35 15.92 15.92 0 0 1-.65-4.77c0-2.57.84-4.75 2.51-6.55-.78-1.94-.7-4.1.23-6.5.61-.19 1.52-.04 2.73.43a19.2 19.2 0 0 1 4.01 2.09c1.98-.55 4.01-.83 6.11-.83 2.1 0 4.14.28 6.11.83l1.21-.77c.83-.5 1.8-.97 2.93-1.4 1.12-.42 1.98-.54 2.58-.35.95 2.4 1.04 4.57.25 6.5a9.28 9.28 0 0 1 2.52 6.55c0 1.8-.22 3.4-.66 4.8-.43 1.38-1 2.5-1.68 3.33a8.9 8.9 0 0 1-2.58 2.12 13 13 0 0 1-3 1.24c-.96.26-2.04.45-3.25.57 1.1.96 1.65 2.46 1.65 4.52v12.2")]),ya)])),Yc=kb("a"),Qc=Hb("rel"),Xc=si("target"),eh=h(Yc,p([function(e){return h(si,"href",ye(e))}("https://github.com/GarkGarcia/RawSvg"),Xc("_blank"),Qc("noopener noreferrer")]),p([Uc])),ah=h(zc,p([Hc("0 0 586 110")]),p([h(Ic,p([Sc("M114.713 37.824c0 9.521-2.534 17.84-7.601 24.955-5.068 7.115-12.209 12.413-21.423 15.894L103.656 110H66.033L50.83 82.973h-8.907L36.548 110H.307L21.806 2.504h48.22c14.128 0 25.108 3.097 32.939 9.291 7.832 6.194 11.748 14.87 11.748 26.029zm-36.702 3.532c0-7.268-4.505-10.903-13.514-10.903H52.366l-5.068 25.185h14.896c5.016 0 8.907-1.254 11.671-3.762 2.764-2.509 4.146-6.015 4.146-10.52z")]),ya),h(Ic,p([Sc("M193.031 91.265h-41.002L141.28 110h-38.238l68.49-107.496h35.627L232.651 110h-36.088l-3.532-18.735zm-5.067-26.106l-5.222-27.488-15.817 27.488h21.039zM428.754 2.504L372.856 110h-38.852l-6.143-56.666L298.377 110h-38.852L246.626 2.504h35.78l6.911 61.273 31.941-61.273h33.324l6.142 62.194 32.403-62.194h35.627zM436.449 110c-4.696 0-9.271-.526-13.724-1.579-4.453-1.052-8.11-2.469-10.971-4.25l6.153-13.927c2.699 1.565 5.722 2.82 9.069 3.765 3.346.945 6.558 1.417 9.635 1.417 2.645 0 4.534-.256 5.667-.769 1.134-.513 1.701-1.282 1.701-2.308 0-1.187-.742-2.078-2.227-2.672-1.484-.593-3.927-1.241-7.327-1.943-4.373-.918-8.016-1.903-10.931-2.955-2.915-1.053-5.452-2.78-7.611-5.182-2.159-2.402-3.239-5.654-3.239-9.757 0-3.562.999-6.801 2.996-9.716 1.997-2.915 4.98-5.209 8.947-6.882 3.968-1.673 8.785-2.51 14.453-2.51 3.886 0 7.705.418 11.457 1.255 3.751.837 7.057 2.065 9.918 3.684l-5.748 13.845c-5.56-2.806-10.823-4.21-15.789-4.21-4.912 0-7.368 1.188-7.368 3.563 0 1.133.729 1.983 2.186 2.55 1.457.567 3.859 1.174 7.206 1.822 4.318.81 7.962 1.741 10.931 2.793 2.968 1.053 5.546 2.767 7.732 5.142 2.186 2.375 3.279 5.614 3.279 9.716 0 3.562-.998 6.788-2.996 9.675-1.997 2.888-4.979 5.182-8.946 6.883-3.968 1.7-8.785 2.55-14.453 2.55zM529.076 52.027l-23.967 56.678h-18.784l-23.967-56.678h20.566l13.522 33.116 13.845-33.116h18.785zM567.616 78.828h16.598v23.966c-3.346 2.321-7.233 4.102-11.659 5.344-4.426 1.241-8.771 1.862-13.036 1.862-6.045 0-11.47-1.255-16.274-3.765-4.804-2.51-8.569-6.018-11.295-10.526-2.726-4.507-4.089-9.621-4.089-15.343 0-5.722 1.363-10.836 4.089-15.343 2.726-4.507 6.531-8.016 11.416-10.526 4.885-2.51 10.405-3.765 16.558-3.765 5.56 0 10.539.931 14.939 2.793 4.399 1.863 8.056 4.575 10.971 8.138l-12.226 10.768c-3.563-4.156-7.8-6.234-12.712-6.234-4.211 0-7.557 1.268-10.04 3.805-2.483 2.537-3.725 5.992-3.725 10.364 0 4.264 1.228 7.692 3.684 10.283 2.456 2.591 5.736 3.886 9.838 3.886 2.429 0 4.75-.458 6.963-1.376V78.828z")]),ya)])),th=function(e){return{$:1,a:e}},bh=function(e){return{$:0,a:e}},nh=Nn,dh=t(function(e,a){return 1>e?a:$(Zi,e,ks(a),a)}),lh=Ot,ih=wt,sh=t(function(e,a){return 1>e?"":$(Zi,0,e,a)}),ch=function(e){for(var a,t=0,b=e.charCodeAt(0),n=43==b||45==b?1:0,d=n;d<e.length;++d){if(a=e.charCodeAt(d),48>a||57<a)return Cn;t=10*t+a-48}return d==n?Cn:An(45==b?-t:t)},hh=l(function(e,a,t,b,n,d){return{an:d,ap:a,aB:b,aD:t,aH:e,aI:n}}),$h=d(function(e,a,t,b,n){if(fi(n)||h(Lt,"@",n))return Cn;var d=h(ih,":",n);if(!d.b)return An(r(hh,e,n,Cn,a,t,b));if(!d.b.b){var l=d.a,i=ch(h(dh,l+1,n));if(1===i.$)return Cn;return An(r(hh,e,h(sh,l,n),i,a,t,b))}return Cn}),oh=n(function(e,a,t,b){if(fi(b))return Cn;var n=h(ih,"/",b);if(!n.b)return g($h,e,"/",a,t,b);var d=n.a;return g($h,e,h(dh,d,b),a,t,h(sh,d,b))}),rh=b(function(e,a,t){if(fi(t))return Cn;var b=h(ih,"?",t);if(!b.b)return o(oh,e,Cn,a,t);var n=b.a;return o(oh,e,An(h(dh,n+1,t)),a,h(sh,n,t))}),gh=t(function(e,a){if(fi(a))return Cn;var t=h(ih,"#",a);if(!t.b)return $(rh,e,Cn,a);var b=t.a;return $(rh,e,An(h(dh,b+1,a)),h(sh,b,a))}),fh=function(e){return h(lh,"http://",e)?h(gh,0,h(dh,7,e)):h(lh,"https://",e)?h(gh,1,h(dh,8,e)):Cn},mh=Yb({bg:function(){return C(On,wl)},bC:function(){return Nl},bF:Ql,bI:function(e){return{a$:p([h(hi,p([Cc("container"),ci(e.av?"":"error")]),p([h(hi,p([Cc("title")]),p([ah,eh])),Wc(e),Lc(e)]))]),bE:"RawSvg"}}});(function(a){e.Elm?ie(e.Elm,a):e.Elm=a})({Main:{init:mh(ti(0))(0)}})})(this);- \ No newline at end of file +(function(e){'use strict';var ta=Math.floor,ba=String.fromCharCode;function a(e,a,t){return t.a=e,t.f=a,t}function t(e){return a(2,e,function(t){return function(a){return e(t,a)}})}function b(e){return a(3,e,function(t){return function(a){return function(b){return e(t,a,b)}}})}function n(e){return a(4,e,function(t){return function(a){return function(b){return function(n){return e(t,a,b,n)}}}})}function d(t){return a(5,t,function(n){return function(a){return function(b){return function(l){return function(d){return t(n,a,b,l,d)}}}}})}function l(t){return a(6,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return t(n,a,b,l,d,e)}}}}}})}function i(t){return a(7,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return function(i){return t(n,a,b,l,d,e,i)}}}}}}})}function s(t){return a(8,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return function(i){return function(s){return t(n,a,b,l,d,e,i,s)}}}}}}}})}function c(t){return a(9,t,function(n){return function(a){return function(b){return function(l){return function(d){return function(e){return function(s){return function(c){return function(h){return t(n,a,b,l,d,e,s,c,h)}}}}}}}}})}function h(e,t,a){return 2===e.a?e.f(t,a):e(t)(a)}function $(e,t,a,b){return 3===e.a?e.f(t,a,b):e(t)(a)(b)}function o(e,t,a,b,n){return 4===e.a?e.f(t,a,b,n):e(t)(a)(b)(n)}function g(t,n,a,b,l,d){return 5===t.a?t.f(n,a,b,l,d):t(n)(a)(b)(l)(d)}function r(t,n,a,b,l,d,e){return 6===t.a?t.f(n,a,b,l,d,e):t(n)(a)(b)(l)(d)(e)}function m(t,n,a,b,l,d,e,i){return 7===t.a?t.f(n,a,b,l,d,e,i):t(n)(a)(b)(l)(d)(e)(i)}function u(t,n,a,b,l,d,e,i,s){return 8===t.a?t.f(n,a,b,l,d,e,i,s):t(n)(a)(b)(l)(d)(e)(i)(s)}function f(e,a){return{$:1,a:e,b:a}}function p(e){for(var a=ya,t=e.length;t--;)a=f(e[t],a);return a}function v(e){for(var a=[];e.b;e=e.b)a.push(e.a);return a}function y(){return"<internals>"}function k(e){throw new Error("https://github.com/elm/core/blob/1.0.0/hints/"+e+".md")}function j(e,a){for(var t,b=[],n=E(e,a,0,b);n&&(t=b.pop());n=E(t.a,t.b,0,b));return n}function E(e,a,t,b){if(100<t)return b.push(C(e,a)),!0;if(e===a)return!0;if("object"!=typeof e||null===e||null===a)return"function"==typeof e&&k(5),!1;for(var n in 0>e.$&&(e=xn(e),a=xn(a)),e)if(!E(e[n],a[n],t+1,b))return!1;return!0}function A(e,a,t){if("object"!=typeof e)return e===a?0:e<a?-1:1;if("undefined"==typeof e.$)return(t=A(e.a,a.a))?t:(t=A(e.b,a.b))?t:A(e.c,a.c);for(;e.b&&a.b&&!(t=A(e.a,a.a));e=e.b,a=a.b);return t||(e.b?1:a.b?-1:0)}function C(e,a){return{a:e,b:a}}function L(e,a,t){return{a:e,b:a,c:t}}function O(e){return e}function _(e,a){var t={};for(var b in e)t[b]=e[b];for(var b in a)t[b]=a[b];return t}function w(e,a){if("string"==typeof e)return e+a;if(!e.b)return a;var t=f(e.a,a);e=e.b;for(var b=t;e.b;e=e.b)b=b.b=f(e.a,a);return t}function N(e){return{$:2,b:e}}function T(e,a){return{$:9,f:e,g:a}}function I(e,a){switch(e.$){case 2:return e.b(a);case 5:return null===a?_n(e.c):M("null",a);case 3:return S(a)?z(e.b,a,p):M("a LIST",a);case 4:return S(a)?z(e.b,a,H):M("an ARRAY",a);case 6:var t=e.d;if("object"!=typeof a||null===a||!(t in a))return M("an OBJECT with a field named `"+t+"`",a);var b=I(e.b,a[t]);return Un(b)?b:vd(h(kd,t,b.a));case 7:var n=e.e;if(!S(a))return M("an ARRAY",a);if(n>=a.length)return M("a LONGER array. Need index "+n+" but only see "+a.length+" entries",a);var b=I(e.b,a[n]);return Un(b)?b:vd(h(xd,n,b.a));case 8:if("object"!=typeof a||null===a||S(a))return M("an OBJECT",a);var d=ya;for(var l in a)if(a.hasOwnProperty(l)){var b=I(e.b,a[l]);if(!Un(b))return vd(h(kd,l,b.a));d=f(C(l,b.a),d)}return _n(sd(d));case 9:for(var b,s=e.f,c=e.g,$=0;$<c.length;$++){if(b=I(c[$],a),!Un(b))return b;s=s(b.a)}return _n(s);case 10:var b=I(e.b,a);return Un(b)?I(e.h(b.a),a):b;case 11:for(var b,o=ya,r=e.g;r.b;r=r.b){if(b=I(r.a,a),Un(b))return b;o=f(b.a,o)}return vd(jd(sd(o)));case 1:return vd(h(yd,e.a,R(a)));case 0:return _n(e.a);}}function z(e,a,t){for(var b,n=a.length,d=Array(n),l=0;l<n;l++){if(b=I(e,a[l]),!Un(b))return vd(h(xd,l,b.a));d[l]=b.a}return _n(t(d))}function S(e){return Array.isArray(e)||"undefined"!=typeof FileList&&e instanceof FileList}function H(e){return h(pd,e.length,function(a){return e[a]})}function M(e,a){return vd(h(yd,"Expecting "+e,R(a)))}function B(e,a){if(e===a)return!0;if(e.$!==a.$)return!1;switch(e.$){case 0:case 1:return e.a===a.a;case 2:return e.b===a.b;case 5:return e.c===a.c;case 3:case 4:case 8:return B(e.b,a.b);case 6:return e.d===a.d&&B(e.b,a.b);case 7:return e.e===a.e&&B(e.b,a.b);case 9:return e.f===a.f&&D(e.g,a.g);case 10:return e.h===a.h&&B(e.b,a.b);case 11:return D(e.g,a.g);}}function D(e,a){var t=e.length;if(t!==a.length)return!1;for(var b=0;b<t;b++)if(!B(e[b],a[b]))return!1;return!0}function R(e){return e}function K(e){return e}function F(e){return{$:0,a:e}}function Z(e){return{$:1,a:e}}function q(e){return{$:2,b:e,c:null}}function G(e){return{$:5,b:e}}function J(e){var a={$:0,e:eb++,f:e,g:null,h:[]};return W(a),a}function P(e){return q(function(a){a(F(J(e)))})}function V(e,a){e.h.push(a),W(e)}function W(e){if(bb.push(e),!tb){for(tb=!0;e=bb.shift();)U(e);tb=!1}}function U(e){for(;e.f;){var a=e.f.$;if(0===a||1===a){for(;e.g&&e.g.$!==a;)e.g=e.g.i;if(!e.g)return;e.f=e.g.b(e.f.a),e.g=e.g.i}else{if(2===a)return void(e.f.c=e.f.b(function(a){e.f=a,W(e)}));if(5===a){if(0===e.h.length)return;e.f=e.f.b(e.h.shift())}else e.g={$:3===a?0:1,b:e.f.b,i:e.g},e.f=e.f.d}}}function Y(e,a,t,b,n,d){function l(e,a){i=h(b,e,c),$(c=i.a,a),be(s,i.b,n(c))}var i=h(Vt,e,R(a?a.flags:void 0));Un(i)||k(2);var s={};i=t(i.a);var c=i.a,$=d(l,c),o=Q(s,l);return be(s,i.b,n(c)),o?{ports:o}:{}}function Q(e,a){var t;for(var b in db){var n=db[b];n.a&&(t=t||{},t[b]=n.a(b,a)),e[b]=ee(n,a)}return t}function X(e,a,t,b,n){return{b:e,c:a,d:t,e:b,f:n}}function ee(e,a){function t(e){return h(Qt,t,G(function(a){var t=a.a;return 0===a.$?$(d,b,t,e):l&&i?o(n,b,t.i,t.j,e):$(n,b,l?t.i:t.j,e)}))}var b={g:a,h:void 0},n=e.c,d=e.d,l=e.e,i=e.f;return b.h=J(h(Qt,t,e.b))}function ae(e){return function(a){return{$:1,k:e,l:a}}}function te(e){return{$:2,m:e}}function be(e,a,t){var b={};for(var n in ne(!0,a,b,null),ne(!1,t,b,null),e)V(e[n],{$:"fx",a:b[n]||{i:ya,j:ya}})}function ne(e,a,t,b){switch(a.$){case 1:var n=a.k,d=de(e,n,b,a.l);return void(t[n]=le(e,d,t[n]));case 2:for(var l=a.m;l.b;l=l.b)ne(e,l.a,t,b);return;case 3:return void ne(e,a.o,t,{p:a.n,q:b});}}function de(e,a,t,b){var n=e?db[a].e:db[a].f;return h(n,function(e){for(var a=t;a;a=a.q)e=a.p(e);return e},b)}function le(e,a,t){return t=t||{i:ya,j:ya},e?t.i=f(a,t.i):t.j=f(a,t.j),t}function ie(e,a){for(var t in a)t in e?"init"==t?k(6):ie(e[t],a[t]):e[t]=a[t]}function se(e,a){for(var t=a.i;t.b;t=t.b)e.setRequestHeader(t.a.a,t.a.b);e.timeout=a.m.a||0,e.responseType=a.a8.d,e.withCredentials=a.z}function ce(e,a){return h(200<=a.status&&300>a.status?Pd:Gd,he(a),e(a.response))}function he(e){return{bH:e.responseURL,aS:e.status,bt:e.statusText,i:$e(e.getAllResponseHeaders())}}function $e(e){if(!e)return In;for(var a=In,t=e.split("\r\n"),b=t.length;b--;){var n=t[b],d=n.indexOf(": ");if(0<d){var l=n.substring(0,d),s=n.substring(d+2);a=$(Vn,l,function(e){return An(Wn(e)?s+", "+e.a:s)},a)}}return a}function oe(e,a,t){a.upload.addEventListener("progress",function(b){a.c||J(h(Zd,e,C(t,Ud({bs:b.loaded,_:b.total}))))}),a.addEventListener("progress",function(b){a.c||J(h(Zd,e,C(t,Wd({bo:b.loaded,_:b.lengthComputable?An(b.total):Cn}))))})}function re(){return da||(da=document.createElement("a"))}function ge(e){if("function"==typeof MouseEvent)e.dispatchEvent(new MouseEvent("click"));else{var a=document.createEvent("MouseEvents");a.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),document.body.appendChild(e),e.dispatchEvent(a),document.body.removeChild(e)}}function fe(e){return q(function(a){la=document.createElement("input"),la.type="file",la.accept=h(Sd,",",e),la.addEventListener("change",function(e){a(F(e.target.files[0]))}),ge(la)})}function me(e,a){e.appendChild(a)}function ue(e){return{$:0,a:e}}function pe(e,a){return{$:5,l:e,m:a,k:void 0}}function ve(e){return /^(on|formAction$)/i.test(e)?"data-"+e:e}function ye(e){return /^javascript:/i.test(e.replace(/\s/g,""))?"":e}function ke(e){return /^\s*(javascript:|data:text\/html)/i.test(e)?"":e}function xe(e,a){var t=bi(a);return{$:a.$,a:t?$(ai,3>t?Db:Rb,ti(e),a.a):h(ei,e,a.a)}}function je(e){for(var a={};e.b;e=e.b){var t=e.a,b=t.$,n=t.n,d=t.o;if("a2"===b){"className"===n?Ee(a,n,K(d)):a[n]=K(d);continue}var l=a[b]||(a[b]={});"a3"===b&&"class"===n?Ee(l,n,d):l[n]=d}return a}function Ee(e,a,t){var b=e[a];e[a]=b?b+" "+t:t}function Ae(e,a){var t=e.$;if(5===t)return Ae(e.k||(e.k=e.m()),a);if(0===t)return pb.createTextNode(e.a);if(4===t){for(var b=e.k,n=e.j;4===b.$;)"object"==typeof n?n.push(b.j):n=[n,b.j],b=b.k;var d={j:n,p:a},l=Ae(b,d);return l.elm_event_node_ref=d,l}if(3===t){var l=e.h(e.g);return Ce(l,a,e.d),l}var l=e.f?pb.createElementNS(e.f,e.c):pb.createElement(e.c);ia&&"a"==e.c&&l.addEventListener("click",ia(l)),Ce(l,a,e.d);for(var s=e.e,c=0;c<s.length;c++)me(l,Ae(1===t?s[c]:s[c].b,a));return l}function Ce(e,a,t){for(var b in t){var n=t[b];"a1"==b?Le(e,n):"a0"==b?we(e,a,n):"a3"==b?Oe(e,n):"a4"==b?_e(e,n):("value"!=b&&"checked"!=b||e[b]!==n)&&(e[b]=n)}}function Le(e,a){var t=e.style;for(var b in a)t[b]=a[b]}function Oe(e,a){for(var t in a){var b=a[t];"undefined"==typeof b?e.removeAttribute(t):e.setAttribute(t,b)}}function _e(e,a){for(var t in a){var b=a[t],n=b.f,d=b.o;"undefined"==typeof d?e.removeAttributeNS(n,t):e.setAttributeNS(n,t,d)}}function we(e,a,t){var b=e.elmFs||(e.elmFs={});for(var n in t){var d=t[n],l=b[n];if(!d){e.removeEventListener(n,l),b[n]=void 0;continue}if(l){var i=l.q;if(i.$===d.$){l.q=d;continue}e.removeEventListener(n,l)}l=Ne(a,d),e.addEventListener(n,l,sa&&{passive:2>bi(d)}),b[n]=l}}function Ne(e,a){function t(a){var b=t.q,n=I(b.a,a);if(Un(n)){for(var d,l,s=bi(b),c=n.a,h=s?3>s?c.a:c.s:c,$=1==s?c.b:3==s&&c.ab,o=($&&a.stopPropagation(),(2==s?c.b:3==s&&c.Z)&&a.preventDefault(),e);d=o.j;){if("function"==typeof d)h=d(h);else for(var l=d.length;l--;)h=d[l](h);o=o.p}o(h,$)}}return t.q=a,t}function Te(e,a){return e.$==a.$&&B(e.a,a.a)}function Ie(e,a){var t=[];return Se(e,a,t,0),t}function ze(e,a,t,b){var n={$:a,r:t,s:b,t:void 0,u:void 0};return e.push(n),n}function Se(e,a,t,b){if(e!==a){var n=e.$,d=a.$;if(n!==d)if(1===n&&2===d)a=Qe(a),d=1;else return void ze(t,0,b,a);switch(d){case 5:for(var l=e.l,s=a.l,c=l.length,h=c===s.length;h&&c--;)h=l[c]===s[c];if(h)return void(a.k=e.k);a.k=a.m();var $=[];return Se(e.k,a.k,$,0),void(0<$.length&&ze(t,1,b,$));case 4:for(var o=e.j,r=a.j,g=!1,f=e.k;4===f.$;)g=!0,"object"==typeof o?o.push(f.j):o=[o,f.j],f=f.k;for(var m=a.k;4===m.$;)g=!0,"object"==typeof r?r.push(m.j):r=[r,m.j],m=m.k;return g&&o.length!==r.length?void ze(t,0,b,a):((g?!He(o,r):o!==r)&&ze(t,2,b,r),void Se(f,m,t,b+1));case 0:return void(e.a!==a.a&&ze(t,3,b,a.a));case 1:return void Me(e,a,t,b,De);case 2:return void Me(e,a,t,b,Re);case 3:if(e.h!==a.h)return void ze(t,0,b,a);var u=Be(e.d,a.d);u&&ze(t,4,b,u);var p=a.i(e.g,a.g);return void(p&&ze(t,5,b,p));}}}function He(e,a){for(var t=0;t<e.length;t++)if(e[t]!==a[t])return!1;return!0}function Me(e,a,t,b,n){if(e.c!==a.c||e.f!==a.f)return void ze(t,0,b,a);var d=Be(e.d,a.d);d&&ze(t,4,b,d),n(e,a,t,b)}function Be(e,a,t){var b;for(var n in e){if("a1"==n||"a0"==n||"a3"==n||"a4"==n){var d=Be(e[n],a[n]||{},n);d&&(b=b||{},b[n]=d);continue}if(!(n in a)){b=b||{},b[n]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:e[n].f,o:void 0}:"string"==typeof e[n]?"":null;continue}var l=e[n],i=a[n];l===i&&"value"!=n&&"checked"!=n||"a0"===t&&Te(l,i)||(b=b||{},b[n]=i)}for(var s in a)s in e||(b=b||{},b[s]=a[s]);return b}function De(e,a,t,b){var n=e.e,d=a.e,l=n.length,s=d.length;l>s?ze(t,6,b,{v:s,i:l-s}):l<s&&ze(t,7,b,{v:l,e:d});for(var c,h=l<s?l:s,$=0;$<h;$++)c=n[$],Se(c,d[$],t,++b),b+=c.b||0}function Re(e,a,t,b){for(var n=[],d={},l=[],i=e.e,s=a.e,c=i.length,h=s.length,$=0,o=0,r=b;$<c&&o<h;){var g=i[$],f=s[o],m=g.a,u=f.a,p=g.b,v=f.b,k=void 0,j=void 0;if(m===u){r++,Se(p,v,n,r),r+=p.b||0,$++,o++;continue}var E=i[$+1],A=s[o+1];if(E){var C=E.a,L=E.b;j=u===C}if(A){var O=A.a,_=A.b;k=m===O}if(k&&j){r++,Se(p,_,n,r),Ke(d,n,m,v,o,l),r+=p.b||0,r++,Fe(d,n,m,L,r),r+=L.b||0,$+=2,o+=2;continue}if(k){r++,Ke(d,n,u,v,o,l),Se(p,_,n,r),r+=p.b||0,$+=1,o+=2;continue}if(j){r++,Fe(d,n,m,p,r),r+=p.b||0,r++,Se(L,v,n,r),r+=L.b||0,$+=2,o+=1;continue}if(E&&C===O){r++,Fe(d,n,m,p,r),Ke(d,n,u,v,o,l),r+=p.b||0,r++,Se(L,_,n,r),r+=L.b||0,$+=2,o+=2;continue}break}for(;$<c;){r++;var g=i[$],p=g.b;Fe(d,n,g.a,p,r),r+=p.b||0,$++}for(;o<h;){var w=w||[],f=s[o];Ke(d,n,f.a,f.b,void 0,w),o++}(0<n.length||0<l.length||w)&&ze(t,8,b,{w:n,x:l,y:w})}function Ke(e,a,t,b,n,d){var l=e[t];if(!l)return l={c:0,z:b,r:n,s:void 0},d.push({r:n,A:l}),void(e[t]=l);if(1===l.c){d.push({r:n,A:l}),l.c=2;var i=[];return Se(l.z,b,i,l.r),l.r=n,void(l.s.s={w:i,A:l})}Ke(e,a,t+"_elmW6BL",b,n,d)}function Fe(e,a,t,b,n){var d=e[t];if(!d){var l=ze(a,9,n,void 0);return void(e[t]={c:1,z:b,r:n,s:l})}if(0===d.c){d.c=2;var i=[];return Se(b,d.z,i,n),void ze(a,9,n,{w:i,A:d})}Fe(e,a,t+"_elmW6BL",b,n)}function Ze(e,a,t,b){qe(e,a,t,0,0,a.b,b)}function qe(e,a,t,b,n,d,l){for(var s,c=t[b],h=c.r;h===n;){if(s=c.$,1===s)Ze(e,a.k,c.s,l);else if(8===s){c.t=e,c.u=l;var $=c.s.w;0<$.length&&qe(e,a,$,0,n,d,l)}else if(9===s){c.t=e,c.u=l;var o=c.s;if(o){o.A.s=e;var $=o.w;0<$.length&&qe(e,a,$,0,n,d,l)}}else c.t=e,c.u=l;if(b++,!(c=t[b])||(h=c.r)>d)return b}var r=a.$;if(4===r){for(var g=a.k;4===g.$;)g=g.k;return qe(e,g,t,b,n+1,d,e.elm_event_node_ref)}for(var f=a.e,m=e.childNodes,u=0;u<f.length;u++){n++;var p=1===r?f[u]:f[u].b,v=n+(p.b||0);if(n<=h&&h<=v&&(b=qe(m[u],p,t,b,n,v,l),!(c=t[b])||(h=c.r)>d))return b;n=v}return b}function Ge(e,a,t,b){return 0===t.length?e:(Ze(e,a,t,b),Je(e,t))}function Je(e,a){for(var t=0;t<a.length;t++){var b=a[t],n=b.t,d=Pe(n,b);n===e&&(e=d)}return e}function Pe(e,a){switch(a.$){case 0:return Ve(e,a.s,a.u);case 4:return Ce(e,a.u,a.s),e;case 3:return e.replaceData(0,e.length,a.s),e;case 1:return Je(e,a.s);case 2:return e.elm_event_node_ref?e.elm_event_node_ref.j=a.s:e.elm_event_node_ref={j:a.s,p:a.u},e;case 6:for(var t=a.s,b=0;b<t.i;b++)e.removeChild(e.childNodes[t.v]);return e;case 7:for(var t=a.s,n=t.e,b=t.v,d=e.childNodes[b];b<n.length;b++)e.insertBefore(Ae(n[b],a.u),d);return e;case 9:var t=a.s;if(!t)return e.parentNode.removeChild(e),e;var l=t.A;return"undefined"!=typeof l.r&&e.parentNode.removeChild(e),l.s=Je(e,t.w),e;case 8:return We(e,a);case 5:return a.s(e);default:k(10);}}function Ve(e,a,t){var b=e.parentNode,n=Ae(a,t);return n.elm_event_node_ref||(n.elm_event_node_ref=e.elm_event_node_ref),b&&n!==e&&b.replaceChild(n,e),n}function We(e,a){var t=a.s,b=Ue(t.y,a);e=Je(e,t.w);for(var n=t.x,d=0;d<n.length;d++){var l=n[d],s=l.A,c=2===s.c?s.s:Ae(s.z,a.u);e.insertBefore(c,e.childNodes[l.r])}return b&&me(e,b),e}function Ue(e,a){if(e){for(var t=pb.createDocumentFragment(),b=0;b<e.length;b++){var n=e[b],d=n.A;me(t,2===d.c?d.s:Ae(d.z,a.u))}return t}}function Ye(e){if(3===e.nodeType)return ue(e.textContent);if(1!==e.nodeType)return ue("");for(var a=ya,t=e.attributes,b=t.length;b--;){var n=t[b],d=n.name,l=n.value;a=f(h(Hb,d,l),a)}for(var s=e.tagName.toLowerCase(),c=ya,o=e.childNodes,b=o.length;b--;)c=f(Ye(o[b]),c);return $(kb,s,a,c)}function Qe(e){for(var a=e.e,t=a.length,b=Array(t),n=0;n<t;n++)b[n]=a[n].b;return{$:1,c:e.c,d:e.d,e:b,f:e.f,b:e.b}}function Xe(e,a){function t(){b=1===b?0:(Xb(t),a(e),1)}a(e);var b=0;return function(n,d){e=n,d?(a(e),2==b&&(b=1)):(0==b&&Xb(t),b=2)}}function ea(e,a){return q(function(t){Xb(function(){var b=document.getElementById(e);t(b?F(a(b)):Z(hh(e)))})})}function aa(e){return q(function(a){Xb(function(){a(F(e()))})})}var na,da,la,ia,sa,ca=b(function(e,a,t){for(var b=Array(e),n=0;n<e;n++)b[n]=t(a+n);return b}),ha=t(function(e,a){for(var t=Array(e),b=0;b<e&&a.b;b++)t[b]=a.a,a=a.b;return t.length=b,C(t,a)}),$a=t(function(e,a){return a[e]}),oa=b(function(e,a,t){for(var b=t.length,n=Array(b),d=0;d<b;d++)n[d]=t[d];return n[e]=a,n}),ra=t(function(e,a){for(var t=a.length,b=Array(t+1),n=0;n<t;n++)b[n]=a[n];return b[t]=e,b}),ga=b(function(e,a,t){for(var b=t.length,n=0;n<b;n++)a=h(e,t[n],a);return a}),fa=b(function(e,a,t){for(var b=t.length-1;0<=b;b--)a=h(e,t[b],a);return a}),ma=t(function(e,a){for(var t=a.length,b=Array(t),n=0;n<t;n++)b[n]=e(a[n]);return b}),ua=b(function(e,a,t){for(var b=t.length,n=Array(b),d=0;d<b;d++)n[d]=h(e,a+d,t[d]);return n}),pa=b(function(e,a,t){return t.slice(e,a)}),va=b(function(e,a,t){var b=a.length,n=e-b;n>t.length&&(n=t.length);for(var d=b+n,l=Array(d),s=0;s<b;s++)l[s]=a[s];for(var s=0;s<n;s++)l[s+b]=t[s];return l}),ya={$:0},ka=t(f),xa=b(function(e,a,t){for(var b=[];a.b&&t.b;a=a.b,t=t.b)b.push(h(e,a.a,t.a));return p(b)}),ja=n(function(e,a,t,b){for(var n=[];a.b&&t.b&&b.b;a=a.b,t=t.b,b=b.b)n.push($(e,a.a,t.a,b.a));return p(n)}),Ea=d(function(e,a,t,b,n){for(var d=[];a.b&&t.b&&b.b&&n.b;a=a.b,t=t.b,b=b.b,n=n.b)d.push(o(e,a.a,t.a,b.a,n.a));return p(d)}),Aa=l(function(e,a,t,b,n,d){for(var l=[];a.b&&t.b&&b.b&&n.b&&d.b;a=a.b,t=t.b,b=b.b,n=n.b,d=d.b)l.push(g(e,a.a,t.a,b.a,n.a,d.a));return p(l)}),Ca=t(function(e,a){return p(v(a).sort(function(t,a){return A(e(t),e(a))}))}),La=t(function(e,a){return p(v(a).sort(function(t,a){var b=h(e,t,a);return b===mn?0:b===un?-1:1}))}),Oa=t(function(e,a){return a}),_a=t(function(e,a){return console.log(e+": "+y(a)),a}),wa=t(j),Na=t(function(e,a){return!j(e,a)}),Ta=t(function(e,a){return 0>A(e,a)}),Ia=t(function(e,a){return 1>A(e,a)}),za=t(function(e,a){return 0<A(e,a)}),Sa=t(function(e,a){return 0<=A(e,a)}),Ha=t(function(e,a){var t=A(e,a);return 0>t?un:t?yn:mn}),Ma=0,Ba=t(w),Da=/.^/,Ra=t(function(e,a){var t="g";e.az&&(t+="m"),e.ae&&(t+="i");try{return An(new RegExp(a,t))}catch(e){return Cn}}),Ka=t(function(e,a){return null!==a.match(e)}),Fa=b(function(e,a,t){for(var b,n=[],d=0,l=a.lastIndex,s=-1;d++<e&&(b=a.exec(t))&&s!=a.lastIndex;){for(var c,h=b.length-1,$=Array(h);0<h;)c=b[h],$[--h]=c?An(c):Cn;n.push(o(Ln,b[0],b.index,d,p($))),s=a.lastIndex}return a.lastIndex=l,p(n)}),Za=n(function(e,a,t,b){function n(a){if(d++>=e)return a;for(var b=arguments.length-3,n=Array(b);0<b;){var l=arguments[b];n[--b]=l?An(l):Cn}return t(o(Ln,a,arguments[arguments.length-2],d,p(n)))}var d=0;return b.replace(a,n)}),qa=b(function(e,a,t){for(var b,d=t,l=[],i=a.lastIndex,s=a.lastIndex;e--&&(b=a.exec(d),!!b);)l.push(d.slice(i,b.index)),i=a.lastIndex;return l.push(d.slice(i)),a.lastIndex=s,p(l)}),Ga=t(function(e,a){return e+a}),Ja=t(function(e,a){return e-a}),Pa=t(function(e,a){return e*a}),Va=t(function(e,a){return e/a}),Wa=t(function(e,a){return 0|e/a}),Ua=t(Math.pow),Ya=t(function(e,t){return t%e}),Qa=t(function(e,a){var t=a%e;return 0===e?k(11):0<t&&0>e||0>t&&0<e?t+e:t}),Xa=Math.PI,et=Math.E,at=Math.cos,tt=Math.sin,bt=Math.tan,nt=Math.acos,dt=Math.asin,lt=Math.atan,it=t(Math.atan2),st=Math.ceil,ct=Math.round,ht=Math.sqrt,$t=Math.log,ot=isNaN,rt=t(function(e,a){return e&&a}),gt=t(function(e,a){return e||a}),ft=t(function(e,a){return e!==a}),mt=t(function(e,a){return e+a}),ut=t(function(e,a){return e+a}),pt=t(function(e,a){for(var t=a.length,b=Array(t),n=0;n<t;){var d=a.charCodeAt(n);if(55296<=d&&56319>=d){b[n]=e(O(a[n]+a[n+1])),n+=2;continue}b[n]=e(O(a[n])),n++}return b.join("")}),vt=t(function(e,a){for(var t=[],b=a.length,n=0;n<b;){var d=a[n],l=a.charCodeAt(n);n++,55296<=l&&56319>=l&&(d+=a[n],n++),e(O(d))&&t.push(d)}return t.join("")}),yt=b(function(e,a,t){for(var b=t.length,n=0;n<b;){var d=t[n],l=t.charCodeAt(n);n++,55296<=l&&56319>=l&&(d+=t[n],n++),a=h(e,O(d),a)}return a}),kt=b(function(e,a,t){for(var b=t.length;b--;){var n=t[b],d=t.charCodeAt(b);56320<=d&&57343>=d&&(b--,n=t[b]+n),a=h(e,O(n),a)}return a}),xt=t(function(e,a){return a.split(e)}),jt=t(function(e,a){return a.join(e)}),Et=b(function(e,a,t){return t.slice(e,a)}),At=t(function(e,a){for(var t=a.length;t--;){var b=a[t],n=a.charCodeAt(t);if(56320<=n&&57343>=n&&(t--,b=a[t]+b),e(O(b)))return!0}return!1}),Ct=t(function(e,a){for(var t=a.length;t--;){var b=a[t],n=a.charCodeAt(t);if(56320<=n&&57343>=n&&(t--,b=a[t]+b),!e(O(b)))return!1}return!0}),Lt=t(function(e,a){return-1<a.indexOf(e)}),Ot=t(function(e,a){return 0===a.indexOf(e)}),_t=t(function(e,a){return a.length>=e.length&&a.lastIndexOf(e)===a.length-e.length}),wt=t(function(e,a){var t=e.length;if(1>t)return ya;for(var b=0,n=[];-1<(b=a.indexOf(e,b));)n.push(b),b+=t;return p(n)}),Nt=N(function(e){return"number"==typeof e?-2147483647<e&&2147483647>e&&(0|e)===e?_n(e):isFinite(e)&&!(e%1)?_n(e):M("an INT",e):M("an INT",e)}),Tt=N(function(e){return"boolean"==typeof e?_n(e):M("a BOOL",e)}),It=N(function(e){return"number"==typeof e?_n(e):M("a FLOAT",e)}),zt=N(function(e){return _n(R(e))}),St=N(function(e){return"string"==typeof e?_n(e):e instanceof String?_n(e+""):M("a STRING",e)}),Ht=t(function(e,a){return{$:6,d:e,b:a}}),Mt=t(function(e,a){return{$:7,e:e,b:a}}),Bt=t(function(e,a){return{$:10,b:a,h:e}}),Dt=t(function(e,a){return T(e,[a])}),Rt=b(function(e,a,t){return T(e,[a,t])}),Kt=n(function(e,a,t,b){return T(e,[a,t,b])}),Ft=d(function(e,a,t,b,n){return T(e,[a,t,b,n])}),Zt=l(function(e,a,t,b,n,d){return T(e,[a,t,b,n,d])}),qt=i(function(e,a,t,b,n,d,l){return T(e,[a,t,b,n,d,l])}),Gt=s(function(e,a,t,b,n,d,l,i){return T(e,[a,t,b,n,d,l,i])}),Jt=c(function(e,a,t,b,n,d,l,i,s){return T(e,[a,t,b,n,d,l,i,s])}),Pt=t(function(e,a){try{var t=JSON.parse(a);return I(e,t)}catch(t){return vd(h(yd,"This is not valid JSON! "+t.message,R(a)))}}),Vt=t(function(e,a){return I(e,K(a))}),Wt=t(function(e,a){return JSON.stringify(K(a),null,e)+""}),Ut=b(function(e,a,t){return t[e]=K(a),t}),Yt=R(null),Qt=t(function(e,a){return{$:3,b:e,d:a}}),Xt=t(function(e,a){return{$:4,b:e,d:a}}),eb=0,ab=t(function(e,a){return q(function(t){V(e,a),t(F(Ma))})}),tb=!1,bb=[],nb=n(function(e,a,t,b){return Y(a,b,e.bg,e.bF,e.bC,function(){return function(){}})}),db={},lb=t(function(e,a){return q(function(t){e.g(a),t(F(Ma))})}),ib=t(function(e,a){return h(ab,e.h,{$:0,a:a})}),sb=t(function(e,a){return{$:3,n:e,o:a}}),cb=t(function(e,a){return a}),hb=t(function(e,a){return function(t){return e(a(t))}}),$b=b(function(e,a,t){return q(function(b){function n(e){b(a(t.a8.a(e)))}var d=new XMLHttpRequest;d.addEventListener("error",function(){n(Vd)}),d.addEventListener("timeout",function(){n(Yd)}),d.addEventListener("load",function(){n(ce(t.a8.b,d))}),Wn(t.n)&&oe(e,d,t.n.a);try{d.open(t.l,t.bH,!0)}catch(a){return n(Jd(t.bH))}return se(d,t),t.a$.a&&d.setRequestHeader("Content-Type",t.a$.a),d.send(t.a$.b),function(){d.c=!0,d.abort()}})}),ob=b(function(e,a,t){return{$:0,d:e,b:a,a:t}}),rb=t(function(e,a){return{$:0,d:a.d,b:a.b,a:function(t){return e(a.a(t))}}}),gb=t(function(e,a){return{$:0,a:e,b:a}}),fb=t(function(e,a){return new Blob([a],{type:e})}),mb=N(function(e){return"undefined"!=typeof File&&e instanceof File?_n(e):M("a FILE",e)}),ub=b(function(e,a,t){return q(function(){var b=new Blob([t],{type:a});if(navigator.msSaveOrOpenBlob)return void navigator.msSaveOrOpenBlob(b,e);var n=re(),d=URL.createObjectURL(b);n.href=d,n.download=e,ge(n),URL.revokeObjectURL(d)})}),pb="undefined"==typeof document?{}:document,vb=n(function(e,a,t,b){var n=b.node;return n.parentNode.replaceChild(Ae(e,function(){}),n),{}}),yb=t(function(e,a){return t(function(t,b){for(var n,d=[],l=0;b.b;b=b.b)n=b.a,l+=n.b||0,d.push(n);return l+=d.length,{$:1,c:a,d:je(t),e:d,f:e,b:l}})}),kb=yb(void 0),xb=t(function(e,a){return t(function(t,b){for(var n,d=[],l=0;b.b;b=b.b)n=b.a,l+=n.b.b||0,d.push(n);return l+=d.length,{$:2,c:a,d:je(t),e:d,f:e,b:l}})}),jb=xb(void 0),Eb=t(function(e,a){return{$:4,j:e,k:a,b:1+(a.b||0)}}),Ab=t(function(e,t){return pe([e,t],function(){return e(t)})}),Cb=b(function(e,t,a){return pe([e,t,a],function(){return h(e,t,a)})}),Lb=n(function(e,t,a,b){return pe([e,t,a,b],function(){return $(e,t,a,b)})}),Ob=d(function(e,t,a,b,n){return pe([e,t,a,b,n],function(){return o(e,t,a,b,n)})}),_b=l(function(t,n,a,b,l,d){return pe([t,n,a,b,l,d],function(){return g(t,n,a,b,l,d)})}),wb=i(function(t,n,a,b,l,d,e){return pe([t,n,a,b,l,d,e],function(){return r(t,n,a,b,l,d,e)})}),Nb=s(function(t,n,a,b,l,d,e,i){return pe([t,n,a,b,l,d,e,i],function(){return m(t,n,a,b,l,d,e,i)})}),Tb=c(function(t,n,a,b,l,d,e,i,s){return pe([t,n,a,b,l,d,e,i,s],function(){return u(t,n,a,b,l,d,e,i,s)})}),Ib=t(function(e,a){return{$:"a0",n:e,o:a}}),zb=t(function(e,a){return{$:"a1",n:e,o:a}}),Sb=t(function(e,a){return{$:"a2",n:e,o:a}}),Hb=t(function(e,a){return{$:"a3",n:e,o:a}}),Mb=b(function(e,a,t){return{$:"a4",n:a,o:{f:e,o:t}}}),Bb=t(function(e,a){return"a0"===a.$?h(Ib,a.n,xe(e,a.o)):a}),Db=t(function(e,a){return C(e(a.a),a.b)}),Rb=t(function(e,a){return{s:e(a.s),ab:a.ab,Z:a.Z}});try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){sa=!0}}))}catch(a){}var Kb,Fb,Zb=d(function(e,a,t,b,n){for(var d,l=e.length,s=a+l<=n.length,c=0;s&&c<l;)d=n.charCodeAt(a),s=e[c++]===n[a++]&&(10===d?(t++,b=1):(b++,55296==(63488&d)?e[c++]===n[a++]:1));return L(s?a:-1,t,b)}),qb=b(function(e,a,t){return t.length<=a?-1:55296==(63488&t.charCodeAt(a))?e(O(t.substr(a,2)))?a+2:-1:e(O(t[a]))?"\n"===t[a]?-2:a+1:-1}),Gb=b(function(e,a,t){return t.charCodeAt(a)===e}),Jb=t(function(e,a){for(;e<a.length;e++){var t=a.charCodeAt(e);if(48>t||57<t)return e}return e}),Pb=b(function(e,a,t){for(var b,n=0;a<t.length&&(b=t.charCodeAt(a)-48,!(0>b||e<=b));a++)n=e*n+b;return C(a,n)}),Vb=t(function(e,a){for(var t,b=0;e<a.length;e++)if(t=a.charCodeAt(e),48<=t&&57>=t)b=16*b+t-48;else if(65<=t&&70>=t)b=16*b+t-55;else if(97<=t&&102>=t)b=16*b+t-87;else break;return C(e,b)}),Wb=d(function(e,a,t,b,n){for(var d=n.indexOf(e,a),l=0>d?n.length:d+e.length;a<l;){var i=n.charCodeAt(a++);10===i?(b=1,t++):(b++,55296==(63488&i)&&a++)}return L(d,t,b)}),Ub=Kb||n(function(e,a,t,b){return Y(a,b,e.bg,e.bF,e.bC,function(a,t){var n=e.bI,d=b.node,l=Ye(d);return Xe(t,function(e){var t=n(e),b=Ie(l,t);d=Ge(d,l,b,a),l=t})})}),Yb=Fb||n(function(e,a,t,b){return Y(a,b,e.bg,e.bF,e.bC,function(a,t){var b=e.N&&e.N(a),n=e.bI,d=pb.title,l=pb.body,i=Ye(l);return Xe(t,function(e){ia=b;var t=n(e),s=kb("body")(ya)(t.a$),c=Ie(i,s);l=Ge(l,i,c,a),i=s,ia=0,d!==t.bE&&(pb.title=d=t.bE)})})}),Qb="undefined"==typeof cancelAnimationFrame?function(e){clearTimeout(e)}:cancelAnimationFrame,Xb="undefined"==typeof requestAnimationFrame?function(e){return setTimeout(e,1e3/60)}:requestAnimationFrame,en=t(function(e,a){return h(Fl,Ul,q(function(){a&&history.go(a),e()}))}),an=t(function(e,a){return h(Fl,Ul,q(function(){history.pushState({},"",a),e()}))}),tn=t(function(e,a){return h(Fl,Ul,q(function(){history.replaceState({},"",a),e()}))}),bn={addEventListener:function(){},removeEventListener:function(){}},nn="undefined"==typeof document?bn:document,dn="undefined"==typeof window?bn:window,ln=b(function(e,a,t){return P(q(function(){function b(e){J(t(e))}return e.addEventListener(a,b,sa&&{passive:!0}),function(){e.removeEventListener(a,b)}}))}),sn=t(function(e,a){var t=I(e,a);return Un(t)?An(t.a):Cn}),cn=t(function(e,a){return ea(a,function(a){return a[e](),Ma})}),hn=t(function(e,a){return aa(function(){return dn.scroll(e,a),Ma})}),$n=b(function(e,a,t){return ea(e,function(e){return e.scrollLeft=a,e.scrollTop=t,Ma})}),on=t(function(e,a){return e(a)}),rn=t(function(e,a){if(!a.$){var t=a.a;return t}return e}),gn=fa,fn=b(function(e,a,b){var n=b.c,d=b.d,l=t(function(a,t){if(!a.$){var b=a.a;return $(gn,l,t,b)}var n=a.a;return $(gn,e,t,n)});return $(gn,l,$(gn,e,a,d),n)}),mn=1,un=0,pn=ka,vn=function(e){return $(fn,pn,ya,e)},yn=2,kn=b(function(e,a,b){foldr:for(;;){if(-2===b.$)return a;var n=b.b,d=b.c,l=b.d,i=b.e,s=e,c=$(e,n,d,$(kn,e,a,i));e=s,a=c,b=l;continue foldr}}),xn=function(e){return $(kn,b(function(e,a,t){return h(pn,C(e,a),t)}),ya,e)},jn=function(e){return $(kn,b(function(e,a,t){return h(pn,e,t)}),ya,e)},En=function(e){return jn(e)},An=function(e){return{$:0,a:e}},Cn={$:1},Ln=n(function(e,a,t,b){return{bf:a,bi:e,bk:t,bB:b}}),On={V:!1,a6:C(0,0),W:"example.svg",S:"",av:!0,bG:h(rn,Da,function(e){return h(Ra,{ae:!1,az:!1},e)}("!|#|\\$|%|&|'|\\(|\\)|\\*|\\+|,|\\/|:|;|=|\\?|@|\\[|\\]"))},_n=function(e){return{$:0,a:e}},wn=b(function(e,a,t){return a(e(t))}),Nn=function(e){return e},Tn={$:-2},In=Tn,zn=Ha,Sn=t(function(e,a){get:for(;;){if(-2===a.$)return Cn;var t=a.b,b=a.c,n=a.d,d=a.e,l=h(zn,e,t);switch(l){case 0:var i=e,s=n;e=i,a=s;continue get;case 1:return An(b);default:var i=e,s=d;e=i,a=s;continue get;}}}),Hn=d(function(t,a,b,n,d){return{$:-1,a:t,b:a,c:b,d:n,e:d}}),Mn=d(function(e,a,t,b,n){if(-1===n.$&&!n.a){var d=n.a,l=n.b,i=n.c,s=n.d,c=n.e;if(-1===b.$&&!b.a){var h=b.a,$=b.b,o=b.c,r=b.d,f=b.e;return g(Hn,0,a,t,g(Hn,1,$,o,r,f),g(Hn,1,l,i,s,c))}return g(Hn,e,l,i,g(Hn,0,a,t,b,s),c)}if(-1===b.$&&!b.a&&-1===b.d.$&&!b.d.a){var m=b.a,$=b.b,o=b.c,u=b.d,p=u.a,v=u.b,y=u.c,k=u.d,x=u.e,f=b.e;return g(Hn,0,$,o,g(Hn,1,v,y,k,x),g(Hn,1,a,t,f,n))}return g(Hn,e,a,t,b,n)}),Bn=b(function(e,a,t){if(-2===t.$)return g(Hn,0,e,a,Tn,Tn);var b=t.a,n=t.b,d=t.c,l=t.d,i=t.e,s=h(zn,e,n);return 0===s?g(Mn,b,n,d,$(Bn,e,a,l),i):1===s?g(Hn,b,n,a,l,i):g(Mn,b,n,d,l,$(Bn,e,a,i))}),Dn=b(function(e,a,t){var b=$(Bn,e,a,t);if(-1===b.$&&!b.a){var n=b.a,d=b.b,i=b.c,s=b.d,l=b.e;return g(Hn,1,d,i,s,l)}return b}),Rn=function(e){getMin:for(;;)if(-1===e.$&&-1===e.d.$){var a=e.d;e=a;continue getMin}else return e},Kn=function(e){if(-1===e.$&&-1===e.d.$&&-1===e.e.$){if(-1===e.e.d.$&&!e.e.d.a){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,l=n.b,i=n.c,s=n.d,c=n.e,h=e.e,$=h.a,o=h.b,r=h.c,f=h.d,m=f.a,u=f.b,p=f.c,y=f.d,x=f.e,j=h.e;return g(Hn,0,u,p,g(Hn,1,t,b,g(Hn,0,l,i,s,c),y),g(Hn,1,o,r,x,j))}var a=e.a,t=e.b,b=e.c,E=e.d,d=E.a,l=E.b,i=E.c,s=E.d,c=E.e,A=e.e,$=A.a,o=A.b,r=A.c,f=A.d,j=A.e;return 1===a?g(Hn,1,t,b,g(Hn,0,l,i,s,c),g(Hn,0,o,r,f,j)):g(Hn,1,t,b,g(Hn,0,l,i,s,c),g(Hn,0,o,r,f,j))}return e},Fn=function(e){if(-1===e.$&&-1===e.d.$&&-1===e.e.$){if(-1===e.d.d.$&&!e.d.d.a){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,l=n.b,i=n.c,s=n.d,c=s.a,h=s.b,$=s.c,o=s.d,r=s.e,f=n.e,m=e.e,u=m.a,p=m.b,y=m.c,x=m.d,j=m.e;return g(Hn,0,l,i,g(Hn,1,h,$,o,r),g(Hn,1,t,b,f,g(Hn,0,p,y,x,j)))}var a=e.a,t=e.b,b=e.c,E=e.d,d=E.a,l=E.b,i=E.c,A=E.d,f=E.e,C=e.e,u=C.a,p=C.b,y=C.c,x=C.d,j=C.e;return 1===a?g(Hn,1,t,b,g(Hn,0,l,i,A,f),g(Hn,0,p,y,x,j)):g(Hn,1,t,b,g(Hn,0,l,i,A,f),g(Hn,0,p,y,x,j))}return e},Zn=i(function(e,a,t,b,n,d,l){if(-1===d.$&&!d.a){var i=d.a,s=d.b,c=d.c,h=d.d,$=d.e;return g(Hn,t,s,c,h,g(Hn,0,b,n,$,l))}_n2$2:for(;;)if(-1!==l.$||1!==l.a)break _n2$2;else if(-1===l.d.$){if(1===l.d.a){var o=l.a,r=l.d,f=r.a;return Fn(a)}break _n2$2}else{var m=l.a,u=l.d;return Fn(a)}return a}),qn=function(e){if(-1===e.$&&-1===e.d.$){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,l=n.d,i=e.e;if(1===d){if(-1===l.$&&!l.a){l.a;return g(Hn,a,t,b,qn(n),i)}var s=Kn(e);if(-1===s.$){var c=s.a,h=s.b,$=s.c,o=s.d,r=s.e;return g(Mn,c,h,$,qn(o),r)}return Tn}return g(Hn,a,t,b,qn(n),i)}return Tn},Gn=t(function(e,a){if(-2===a.$)return Tn;var t=a.a,b=a.b,n=a.c,d=a.d,l=a.e;if(0>A(e,b)){if(-1===d.$&&1===d.a){var i=d.a,s=d.d;if(-1===s.$&&!s.a){s.a;return g(Hn,t,b,n,h(Gn,e,d),l)}var c=Kn(a);if(-1===c.$){var $=c.a,o=c.b,r=c.c,f=c.d,u=c.e;return g(Mn,$,o,r,h(Gn,e,f),u)}return Tn}return g(Hn,t,b,n,h(Gn,e,d),l)}return h(Jn,e,m(Zn,e,a,t,b,n,d,l))}),Jn=t(function(e,a){if(-1===a.$){var t=a.a,b=a.b,n=a.c,d=a.d,l=a.e;if(j(e,b)){var i=Rn(l);if(-1===i.$){var s=i.b,c=i.c;return g(Mn,t,s,c,d,qn(l))}return Tn}return g(Mn,t,b,n,d,h(Gn,e,l))}return Tn}),Pn=t(function(e,a){var t=h(Gn,e,a);if(-1===t.$&&!t.a){var b=t.a,n=t.b,d=t.c,i=t.d,l=t.e;return g(Hn,1,n,d,i,l)}return t}),Vn=b(function(e,a,t){var b=a(h(Sn,e,t));if(!b.$){var n=b.a;return $(Dn,e,n,t)}return h(Pn,e,t)}),Wn=function(e){return!e.$},Un=function(e){return!e.$},Yn=32,Qn=n(function(e,a,t,b){return{$:0,a:e,b:a,c:t,d:b}}),Xn=st,ed=t(function(e,a){return $t(a)/$t(e)}),ad=Xn(h(ed,2,Yn)),td=[],bd=o(Qn,0,ad,td,td),nd=function(e){return{$:1,a:e}},dd=function(e){return{$:0,a:e}},ld=ha,id=b(function(e,a,t){foldl:for(;;){if(!t.b)return a;var b=t.a,n=t.b,d=e,l=h(e,b,a);e=d,a=l,t=n;continue foldl}}),sd=function(e){return $(id,pn,ya,e)},cd=t(function(e,a){compressNodes:for(;;){var t=h(ld,Yn,e),b=t.a,n=t.b,d=h(pn,dd(b),a);if(!n.b)return sd(d);e=n,a=d;continue compressNodes}}),hd=t(function(e,a){return a(e)}),$d=function(e){var a=e.a;return a},od=t(function(e,a){treeFromBuilder:for(;;){var t=Xn(a/Yn);if(1===t)return h(ld,Yn,e).a;var b=h(cd,e,ya);e=b,a=t;continue treeFromBuilder}}),rd=t(function(e,a){return 0<A(e,a)?e:a}),gd=function(e){return e.length},fd=t(function(e,a){if(!a.e)return o(Qn,gd(a.g),ad,td,a.g);var t=a.e*Yn,b=ta(h(ed,Yn,t-1)),n=e?sd(a.h):a.h,d=h(od,n,a.e);return o(Qn,gd(a.g)+t,h(rd,5,b*ad),d,a.g)}),md=ca,ud=d(function(e,a,t,b,n){initializeHelp:for(;;){if(0>a)return h(fd,!1,{h:b,e:0|t/Yn,g:n});var d=nd($(md,Yn,a,e)),l=e,i=a-Yn,s=t,c=h(pn,d,b),o=n;e=l,a=i,t=s,b=c,n=o;continue initializeHelp}}),pd=t(function(e,a){if(0>=e)return bd;var t=e%Yn,b=$(md,t,e-t,a);return g(ud,a,e-t-Yn,e,ya,b)}),vd=function(e){return{$:1,a:e}},yd=t(function(e,a){return{$:3,a:e,b:a}}),kd=t(function(e,a){return{$:0,a:e,b:a}}),xd=t(function(e,a){return{$:1,a:e,b:a}}),jd=function(e){return{$:2,a:e}},Ed=function(e){var a=e.charCodeAt(0);return 55296<=a&&56319>=a?1024*(a-55296)+e.charCodeAt(1)-56320+65536:a},Ad=function(e){var a=Ed(e);return 97<=a&&122>=a},Cd=function(e){var a=Ed(e);return 90>=a&&65<=a},Ld=function(e){return Ad(e)||Cd(e)},Od=function(e){var a=Ed(e);return 57>=a&&48<=a},_d=function(e){return Ad(e)||Cd(e)||Od(e)},wd=function(e){return $(id,t(function(e,a){return a+1}),0,e)},Nd=b(function(e,a,t){rangeHelp:for(;;)if(1>A(e,a)){var b=e,n=a-1,d=h(pn,a,t);e=b,a=n,t=d;continue rangeHelp}else return t}),Td=t(function(e,a){return $(Nd,e,a,ya)}),Id=t(function(e,a){return $(xa,e,h(Td,0,wd(a)-1),a)}),zd=function(e){return e+""},Sd=t(function(e,a){return h(jt,e,v(a))}),Hd=function(e){var a=e.charCodeAt(0);return a?An(55296<=a&&56319>=a?C(O(e[0]+e[1]),e.slice(2)):C(O(e[0]),e.slice(1))):Cn},Md=t(function(e,a){return p(h(xt,e,a))}),Bd=function(e){return h(Sd,"\n ",h(Md,"\n",e))},Dd=t(function(e,a){return"\n\n("+(zd(e+1)+(") "+Bd(Rd(a))))}),Rd=function(e){return h(Kd,e,ya)},Kd=t(function(e,a){errorToStringHelp:for(;;)switch(e.$){case 0:var t=e.a,b=e.b,n=function(){var e=Hd(t);if(1===e.$)return!1;var a=e.a,b=a.a,n=a.b;return Ld(b)&&h(Ct,_d,n)}(),d=n?"."+t:"['"+(t+"']"),l=b,s=h(pn,d,a);e=l,a=s;continue errorToStringHelp;case 1:var c=e.a,b=e.b,i="["+(zd(c)+"]"),l=b,s=h(pn,i,a);e=l,a=s;continue errorToStringHelp;case 2:var $=e.a;if(!$.b)return"Ran into a Json.Decode.oneOf with no possibilities"+function(){return a.b?" at json"+h(Sd,"",sd(a)):"!"}();if(!$.b.b){var b=$.a,l=b,s=a;e=l,a=s;continue errorToStringHelp}else{var o=function(){return a.b?"The Json.Decode.oneOf at json"+h(Sd,"",sd(a)):"Json.Decode.oneOf"}(),r=o+(" failed in the following "+(zd(wd($))+" ways:"));return h(Sd,"\n\n",h(pn,r,h(Id,Dd,$)))}default:var g=e.a,f=e.b,r=function(){return a.b?"Problem with the value at json"+(h(Sd,"",sd(a))+":\n\n "):"Problem with the given value:\n\n"}();return r+(Bd(h(Wt,4,f))+("\n\n"+g));}}),Fd=lb,Zd=ib,qd=t(function(t,b){if(!b.$){var n=b.a;return _n(t(n))}var a=b.a;return vd(a)}),Gd=t(function(e,a){return{$:3,a:e,b:a}}),Jd=function(e){return{$:0,a:e}},Pd=t(function(e,a){return{$:4,a:e,b:a}}),Vd={$:2},Wd=function(e){return{$:1,a:e}},Ud=function(e){return{$:0,a:e}},Yd={$:1},Qd=t(function(e,a){return $(ob,"",Nn,h(wn,a,e))}),Xd=t(function(a,t){if(!t.$){var b=t.a;return _n(b)}var n=t.a;return vd(a(n))}),el=function(e){return{$:4,a:e}},al=function(e){return{$:3,a:e}},tl=function(e){return{$:0,a:e}},bl={$:2},nl={$:1},dl=t(function(e,a){switch(a.$){case 0:var t=a.a;return vd(tl(t));case 1:return vd(nl);case 2:return vd(bl);case 3:var b=a.a;return vd(al(b.aS));default:var n=a.b;return h(Xd,el,e(n));}}),ll={$:0},il=function(e){return{$:1,a:e}},sl=F,cl=t(function(e,a){return{aK:e,aT:a}}),hl=sl(h(cl,In,ya)),$l=Qt,ol=function(e){return q(function(a){var t=e.f;2===t.$&&t.c&&t.c(),e.f=null,a(F(0))})},rl=b(function(e,a,t){updateReqs:for(;;){if(!a.b)return sl(t);var b=a.a,n=a.b;if(!b.$){var d=b.a,l=h(Sn,d,t);if(1===l.$){var i=e,s=t;e=i,a=n,t=s;continue updateReqs}else{var c=l.a;return h($l,function(){return $(rl,e,n,h(Pn,d,t))},ol(c))}}else{var o=b.a;return h($l,function(a){var b=o.n;if(1===b.$)return $(rl,e,n,t);var d=b.a;return $(rl,e,n,$(Dn,d,a,t))},P($($b,e,Fd(e),o)))}}}),gl=n(function(e,a,t,b){return h($l,function(e){return sl(h(cl,e,t))},$(rl,e,a,b.aK))}),fl=n(function(e,t,n,l){if(!l.b)return t;var i=l.a,a=l.b;if(!a.b)return h(e,i,t);var s=a.a,b=a.b;if(!b.b)return h(e,i,h(e,s,t));var r=b.a,c=b.b;if(!c.b)return h(e,i,h(e,s,h(e,r,t)));var g=c.a,d=c.b,f=500<n?$(id,e,t,sd(d)):o(fl,e,t,n+1,d);return h(e,i,h(e,s,h(e,r,h(e,g,f))))}),ml=b(function(e,a,t){return o(fl,e,a,0,t)}),ul=b(function(e,a,t){var b=e(a);if(!b.$){var n=b.a;return h(pn,n,t)}return t}),pl=t(function(e,a){return $(ml,ul(e),ya,a)}),vl=b(function(e,a,t){return h($l,function(n){return h($l,function(a){return sl(h(e,n,a))},t)},a)}),yl=function(e){return $(ml,vl(pn),sl(ya),e)},kl=n(function(e,a,t,b){var n=b.a,d=b.b;return j(a,n)?An(h(Fd,e,d(t))):Cn}),xl=b(function(e,a,t){var b=a.a,n=a.b;return h($l,function(){return sl(t)},yl(h(pl,$(kl,e,b,n),t.aT)))}),jl=function(e){return{$:0,a:e}},El=t(function(e,a){if(!a.$){var t=a.a;return jl(t)}var b=a.a;return il({z:b.z,a$:b.a$,a8:h(rb,e,b.a8),i:b.i,l:b.l,m:b.m,n:b.n,bH:b.bH})}),Al=t(function(e,a){return{$:0,a:e,b:a}}),Cl=t(function(e,a){var t=a.a,b=a.b;return h(Al,t,h(wn,b,e))});db.Http=X(hl,gl,xl,El,Cl);var Ll=ae("Http"),Ol=ae("Http"),_l=function(e){return Ll(il({z:!1,a$:e.a$,a8:e.a8,i:e.i,l:e.l,m:e.m,n:e.n,bH:e.bH}))},wl=function(e){return _l({a$:ll,a8:e.a8,i:ya,l:"GET",m:Cn,n:Cn,bH:e.bH})}({a8:function(e){return h(Qd,e,dl(_n))}(function(e){return{$:1,a:e}}),bH:"assets/example.svg"}),Nl=te(ya),Tl=function(e){return{$:0,a:e}},Il=te(ya),zl=sl(0),Sl=t(function(e,a){return $(ml,t(function(a,t){return h(pn,e(a),t)}),ya,a)}),Hl=t(function(e,a){return h($l,function(t){return sl(e(t))},a)}),Ml=t(function(e,a){return P(h($l,Fd(e),a))}),Bl=b(function(e,a){return h(Hl,function(){return 0},yl(h(Sl,Ml(e),a)))}),Dl=b(function(){return sl(0)}),Rl=t(function(e,a){return h(Hl,e,a)});db.Task=X(zl,Bl,Dl,Rl);var Kl=ae("Task"),Fl=t(function(e,a){return Kl(h(Hl,e,a))}),Zl=function(e){if(!e.$){var a=e.a;return h(Fl,Tl,sl(a))}return Il},ql=function(e){return{$:1,a:e}},Gl=function(e){return{$:5,a:e}},Jl=function(e){return e.name},Pl=function(e){return q(function(a){var t=new FileReader;return t.addEventListener("loadend",function(){a(F(t.result))}),t.readAsText(e),function(){t.abort()}})},Vl=t(function(e,a){return h(Fl,a,fe(e))}),Wl=t(function(e,a){if(!a.$)return C(e,h(Vl,p(["image/svg+xml"]),function(e){return Gl(ql(e))}));var t=a.a;return C(_(e,{W:Jl(t)}),h(Fl,Tl,Pl(t)))}),Ul=function(e){never:for(;;){var a=e;e=a;continue never}},Yl=b(function(e,a,t){return h(Fl,Ul,$(ub,e,a,t))}),Ql=t(function(e,a){switch(e.$){case 0:var t=e.a;return C(_(a,{S:t}),Il);case 1:var b=e.a;return C(a,Zl(b));case 2:var n=e.a;return C(_(a,{av:n}),Il);case 3:return C(_(a,{V:!a.V}),Il);case 4:return C(a,$(Yl,a.W,"image/svg+xml",a.S));case 5:var d=e.a;return h(Wl,a,d);default:var l=e.a;return C(_(a,{a6:l}),Il);}}),Xl=t(function(e,t){if(!t.$){var b=t.a;return b}return e}),ei=Dt,ai=Rt,ti=function(e){return{$:0,a:e}},bi=function(e){switch(e.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3;}},ni=kb("code"),di=kb("pre"),li=ue,ii=function(e){return p([e])},si=t(function(e,a){return h(Sb,e,R(a))}),ci=si("className"),hi=kb("div"),$i=t(function(e,a){return h(Hb,ve(e),ke(a))}),oi=t(function(e,a){return $(ml,t(function(a,t){return e(a)?h(pn,a,t):t}),ya,a)}),ri=function(e){var a=e.b;return a},gi=function(e){return ci(h(Sd," ",h(Sl,$d,h(oi,ri,e))))},fi=function(e){return""===e},mi=kb("span"),ui=function(e){return"elmsh"+function(){return 0===e?"0":1===e?"-comm":2===e?"1":3===e?"2":4===e?"3":5===e?"4":6===e?"5":7===e?"6":"7"}()},pi=function(e){var a=e.bD,t=e.bp,b=e.aZ;return!t&&fi(b)?li(a):h(mi,p([gi(p([C(ui(t),t),C("elmsh-"+b,""!==b)]))]),p([li(a)]))},vi=b(function(e,a,t){var b=t.bb,n=t.bd;return h(hi,p([gi(p([C("elmsh-line",!0),C("elmsh-hl",j(n,An(0))),C("elmsh-add",j(n,An(1))),C("elmsh-del",j(n,An(2)))])),h($i,"data-elmsh-lc",zd(e+a))]),h(Sl,pi,b))}),yi=t(function(e,a){return a.b?$(ml,pn,a,e):e}),ki=function(e){return $(ml,yi,ya,e)},xi=function(e){return h(ni,p([ci("elmsh")]),ki(h(Sl,function(e){var a=e.bd,t=e.bb;return j(a,Cn)?h(Sl,pi,t):p([h(mi,p([gi(p([C("elmsh-hl",j(a,An(0))),C("elmsh-add",j(a,An(1))),C("elmsh-del",j(a,An(2)))]))]),h(Sl,pi,t))])},e)))},ji=t(function(e,a){if(1===e.$)return h(di,p([ci("elmsh")]),p([xi(a)]));var t=e.a;return h(di,p([ci("elmsh")]),ii(h(ni,ya,h(Id,vi(t),a))))}),Ei=t(function(e,a){return h(ji,e,a)}),Ai=b(function(e,a,t){return{ag:a,aE:t,aO:e}}),Ci=function(e){return $(Ai,e.aO,e.ag,e.aE)},Li=t(function(e,a){bagToList:for(;;)switch(e.$){case 0:return a;case 1:var t=e.a,b=e.b,n=t,d=h(pn,b,a);e=n,a=d;continue bagToList;default:var t=e.a,l=e.b,n=t,d=h(Li,l,a);e=n,a=d;continue bagToList;}}),Oi=t(function(e,a){var t=e({ag:1,c:ya,d:1,b:0,aO:1,a:a});if(!t.$){var b=t.b;return _n(b)}var n=t.b;return vd(h(Li,n,ya))}),_i=t(function(e,t){var b=h(Oi,e,t);if(!b.$){var n=b.a;return _n(n)}var a=b.a;return vd(h(Sl,Ci,a))}),wi=t(function(e,a){return{$:1,a:e,b:a}}),Ni=b(function(e,a,t){return{$:0,a:e,b:a,c:t}}),Ti=t(function(e,t){return function(b){var n=t(b);if(!n.$){var d=n.a,l=n.b,a=n.c;return $(Ni,d,e(l),a)}var d=n.a,i=n.b;return h(wi,d,i)}}),Ii=Ti,zi=function(e){return{$:1,a:e}},Si=function(e){return{$:0,a:e}},Hi=function(e){if(!e.$){var t=e.a;return Si(t)}var b=e.a;return zi(b)},Mi=n(function(e,a,t,b){loopHelp:for(;;){var n=t(a),d=n(b);if(!d.$){var l=d.a,i=d.b,s=d.c;if(!i.$){var c=i.a,o=e||l,r=t;e=o,a=c,t=r,b=s;continue loopHelp}else{var g=i.a;return $(Ni,e||l,g,s)}}else{var l=d.a,f=d.b;return h(wi,e||l,f)}}}),Bi=t(function(e,a){return function(t){return o(Mi,!1,e,a,t)}}),Di=t(function(e,a){return h(Bi,e,function(e){return h(Ii,Hi,a(e))})}),Ri=function(e){return{$:1,a:e}},Ki=function(e){return{$:0,a:e}},Fi=t(function(e){return e}),Zi=Et,qi=t(function(e,t){return function(b){var n=t(b);if(1===n.$){var d=n.a,l=n.b;return h(wi,d,l)}var d=n.a,i=n.b,a=n.c;return $(Ni,d,h(e,$(Zi,b.b,a.b,b.a),i),a)}}),Gi=function(e){return h(qi,Fi,e)},Ji={$:0},Pi=t(function(e,a){return{$:2,a:e,b:a}}),Vi=b(function(e,a,t){oneOfHelp:for(;;){if(!t.b)return h(wi,!1,a);var b=t.a,n=t.b,d=b(e);if(!d.$){var l=d;return l}var l=d,i=l.a,s=l.b;if(i)return l;var c=e,$=h(Pi,a,s);e=c,a=$,t=n;continue oneOfHelp}}),Wi=function(e){return function(a){return $(Vi,a,Ji,e)}},Ui=function(e){return function(a){return $(Ni,!1,e,a)}},Yi={$:11},Qi=t(function(e,a){return{$:1,a:e,b:a}}),Xi=n(function(e,a,t,b){return{ag:a,a2:b,aE:t,aO:e}}),es=t(function(e,a){return h(Qi,Ji,o(Xi,e.aO,e.ag,a,e.c))}),as=qb,ts=t(function(e,a){return function(t){var b=$(as,e,t.b,t.a);return j(b,-1)?h(wi,!1,h(es,t,a)):j(b,-2)?$(Ni,!0,0,{ag:1,c:t.c,d:t.d,b:t.b+1,aO:t.aO+1,a:t.a}):$(Ni,!0,0,{ag:t.ag+1,c:t.c,d:t.d,b:b,aO:t.aO,a:t.a})}}),bs=function(e){return h(ts,e,Yi)},ns=d(function(e,a,t,b,n){chompWhileHelp:for(;;){var d=$(as,e,a,n.a);if(j(d,-1))return $(Ni,0>A(n.b,a),0,{ag:b,c:n.c,d:n.d,b:a,aO:t,a:n.a});if(j(d,-2)){var l=e,i=a+1,s=t+1,c=1,h=n;e=l,a=i,t=s,b=c,n=h;continue chompWhileHelp}else{var l=e,i=d,s=t,c=b+1,h=n;e=l,a=i,t=s,b=c,n=h;continue chompWhileHelp}}}),ds=function(e){return function(a){return g(ns,e,a.b,a.aO,a.ag,a)}},ls=b(function(e,t,n){return function(d){var l=t(d);if(1===l.$){var i=l.a,s=l.b;return h(wi,i,s)}var c=l.a,o=l.b,a=l.c,r=n(a);if(1===r.$){var g=r.a,s=r.b;return h(wi,c||g,s)}var g=r.a,f=r.b,b=r.c;return $(Ni,c||g,h(e,o,f),b)}}),is=t(function(e,a){return $(ls,Fi,e,a)}),ss=is,cs=function(e){return h(ss,h(ss,Ui(0),bs(e)),ds(e))},hs=function(e){return"\n"===e},$s={$:0},os=t(function(e,t){return function(n){var d=t(n);if(1===d.$){var l=d.a,i=d.b;return h(wi,l,i)}var s=d.a,c=d.b,a=d.c,o=e(c),r=o(a);if(1===r.$){var g=r.a,i=r.b;return h(wi,s||g,i)}var g=r.a,f=r.b,b=r.c;return $(Ni,s||g,f,b)}}),rs=os,gs=function(e){return{$:8,a:e}},fs=t(function(e,a){return{$:0,a:e,b:a}}),ms=function(e){var a=e.a,t=e.b,b=!fi(a);return function(e){var n=g(Zb,a,e.b,e.aO,e.ag,e.a),d=n.a,l=n.b,i=n.c;return j(d,-1)?h(wi,!1,h(es,e,t)):$(Ni,b,0,{ag:i,c:e.c,d:e.d,b:d,aO:l,a:e.a})}},us=function(e){return ms(h(fs,e,gs(e)))},ps=function(e){return{$:12,a:e}},vs=function(e){return function(a){return h(wi,!1,h(es,a,e))}},ys=function(e){return vs(ps(e))},ks=function(e){return e.length},xs=function(e){return function(a){return j(ks(a.a),a.b)?$(Ni,!1,0,a):h(wi,!1,h(es,a,e))}}({$:10}),js=b(function(e,a,t){return h(rs,function(t){return e(w(t,a))},t)}),Es=b(function(e,a,t){return h(rs,function(t){return e(h(pn,t,a))},t)}),As=t(function(e,a){return h(ss,a,ds(e))}),Cs=t(function(e,a){var t=e.ai,b=e.au,n=e.aj,d=e.ar;return Wi(p([h(Ii,Fi(h(pn,t(n),a)),us(n)),h(Ii,Fi(a),xs),$(js,Cs(e),a,Wi(d)),$(Es,Cs(e),a,h(Ii,t,Gi(h(As,b,bs(Fi(!0))))))]))}),Ls=b(function(e,a,t){var b=a.ai,n=a.au,d=a.aa,l=a.aj,i=a.ar;return Wi(p([h(rs,function(t){return 1===e?Ui(t):$(Ls,e-1,a,t)},h(Ii,Fi(h(pn,b(l),t)),us(l))),$(Es,h(Ls,e+1,a),t,h(Ii,b,Gi(h(As,n,us(d))))),$(js,Cs(a),t,Wi(i)),h(Ii,Fi(t),xs),$(Es,h(Ls,e,a),t,h(Ii,b,Gi(h(As,n,bs(Fi(!0))))))]))}),Os=t(function(e,a){var t=e.aa,b=e.aj,n=e.au,d=C(Hd(e.aa),Hd(e.aj));if(1===d.a.$){d.a;return ys("Trying to parse a delimited helper, but the start token cannot be an empty string!")}if(1===d.b.$){d.b;return ys("Trying to parse a delimited helper, but the end token cannot be an empty string!")}var l=d.a.a,i=l.a,s=d.b.a,o=s.a;return e.at?$(Ls,1,_(e,{au:function(e){return n(e)&&!j(e,i)&&!j(e,o)}}),a):h(Cs,_(e,{au:function(e){return n(e)&&!j(e,o)}}),a)}),_s=function(e){var a=e.aa,t=e.au,b=e.ai;return h(rs,function(a){return h(Os,e,p([a]))},h(Ii,Fi(b(a)),us(a)))},ws={$:1},Ns=b(function(e,a,t){return e(a(t))}),Ts=function(e){return{$:3,a:e}},Is={$:2},zs=h(Ii,function(){return C(Is,"\n")},us("\n")),Ss=h(Ii,ii,zs),Hs={ai:function(e){return C(Ts(2),e)},aj:"\"",ar:p([Ss]),at:!1,au:h(Ns,function(e){return!e},hs),aa:"\""},Ms=_s(_(Hs,{ai:function(e){return C(ws,e)},aj:"-->",aa:"<!--"})),Bs=h(ss,h(ss,Ui(0),bs(function(e){return"<"===e})),Wi(p([bs(function(e){return"/"===e||"!"===e}),Ui(0)]))),Ds=function(e){return" "===e||"\t"===e},Rs=function(e){return Ds(e)||hs(e)},Ks=_s(Hs),Fs=_s(_(Hs,{aj:"'",aa:"'"})),Zs=Wi(p([Ks,Fs,h(Ii,function(e){return p([C(Ts(2),e)])},Gi(cs(function(e){return!Rs(e)&&">"!==e})))])),qs=Wi(p([h(Ii,function(e){return C($s,e)},Gi(cs(Ds))),zs])),Gs=function(e){return Wi(p([$(Es,Gs,e,qs),$(js,Ui,e,Zs),Ui(e)]))},Js=function(e){return Wi(p([$(Es,Js,e,qs),$(Es,Gs,e,h(Ii,function(){return C($s,"=")},us("="))),Ui(e)]))},Ps=function(e){return Cd(e)||Ad(e)||Od(e)},Vs=function(e){return Ps(e)||"-"===e},Ws=function(e){return Vs(e)||"_"===e},Us=function(e){return Wi(p([h(Ii,Ki,$(Es,Js,e,h(Ii,function(e){return C(Ts(1),e)},Gi(cs(Ws))))),h(Ii,function(a){return Ki(h(pn,a,e))},qs),h(Ii,function(a){return Ki(h(pn,C($s,a),e))},Gi(cs(function(e){return!Rs(e)&&">"!==e}))),Ui(Ri(e))]))},Ys=function(e){return Wi(p([h(rs,function(a){return h(Di,h(pn,a,e),Us)},h(Ii,function(e){return C(Ts(0),e)},Gi(h(As,Vs,bs(Ps))))),Ui(e)]))},Qs=function(e){return h(rs,Ys,h(Ii,function(a){return h(pn,C($s,a),e)},Gi(Bs)))},Xs=h(Di,ya,function(e){return Wi(p([h(Ii,function(a){return Ki(h(pn,a,e))},qs),h(Ii,function(a){return Ki(w(a,e))},Ms),h(Ii,function(a){return Ki(h(pn,C($s,a),e))},Gi(cs(function(e){return"<"!==e&&!hs(e)}))),h(Ii,Ki,Qs(e)),Ui(Ri(e))]))}),ec=function(e){return{bb:e,bd:Cn}},ac=t(function(e,a){var t=a.a,b=a.b;switch(t.$){case 0:return{aZ:"",bp:0,bD:b};case 1:return{aZ:"",bp:1,bD:b};case 2:return{aZ:"",bp:0,bD:b};default:var n=t.a,d=e(n),l=d.a,i=d.b;return{aZ:i,bp:l,bD:b};}}),tc=b(function(e,a,t){var b=a.a,n=a.b,d=t.a,l=t.b,i=t.c;if(j(b,Is))return L(h(pn,ec(l),d),p([h(ac,e,C(b,n))]),Cn);if(j(An(b),i)){if(l.b){var s=l.a,c=l.b;return L(d,h(pn,_(s,{bD:w(n,s.bD)}),c),i)}return L(d,h(pn,h(ac,e,C(b,n)),l),i)}return L(d,h(pn,h(ac,e,C(b,n)),l),An(b))}),bc=t(function(e,a){return function(e){var a=e.a,t=e.b;return h(pn,ec(t),a)}($(id,tc(e),L(ya,ya,Cn),a))}),nc=h(wn,_i(Xs),qd(bc(function(e){return 0===e?C(4,"xml-t"):1===e?C(6,"xml-a"):C(3,"xlm-av")}))),dc=h(wn,nc,qd(Nn)),lc=function(e){return h(Xl,h(di,ya,p([h(ni,ya,p([li(e.S)]))])),h(qd,Ei(Cn),dc(""===e.S?"<svg ...> ... </svg>":e.S)))},ic=function(e){return{$:0,a:e}},sc=Ib,cc=t(function(e,a){return h(sc,e,ic(a))}),hc=t(function(e,a){return $(ml,Ht,a,e)}),$c=Nt,oc=function(e){return h(cc,"scroll",h(ei,e,$(ai,function(e){return function(a){return C(e,a)}},h(hc,p(["target","scrollLeft"]),$c),h(hc,p(["target","scrollTop"]),$c))))},rc=function(e){return{$:6,a:e}},gc=kb("textarea"),fc=t(function(e,a){return h(Sb,e,R(a))}),mc=fc("spellcheck"),uc=si("value"),pc=function(e){return C(e,!0)},vc=function(e){return{$:1,a:e}},yc=t(function(e,a){return h(sc,e,vc(a))}),kc=h(hc,p(["target","value"]),St),xc=function(e){return h(yc,"input",h(ei,pc,h(ei,e,kc)))},jc=function(e){return h(gc,p([uc(e.S),xc(Tl),oc(rc),mc(!1)]),ya)},Ec=zd,Ac=function(e){return h(zb,"transform",e)},Cc=function(e){var a=e.a,t=e.b;return Ac("translate("+(Ec(-a)+("px, "+(Ec(-t)+"px)"))))},Lc=si("id"),Oc=function(e){return h(hi,p([Lc("editor")]),p([h(hi,p([Cc(e.a6)]),p([lc(e)])),jc(e)]))},_c={$:3},wc={$:4},Nc={$:0},Tc=yb("http://www.w3.org/2000/svg"),Ic=Tc("path"),zc=Tc("svg"),Sc=Hb("d"),Hc=Hb("viewBox"),Mc=h(zc,p([Hc("0 0 60 60")]),p([h(Ic,p([Sc("M30,0.548l0,38.515m-9.063,-9.063l9.063,9.063m9.063,-9.063l-9.073,9.073")]),ya),h(Ic,p([Sc("M22.732,16.862l-14.5,0l0,42.547l43.536,0l0,-42.547l-14.5,0")]),ya)])),Bc=h(zc,p([Lc("error"),Hc("0 0 402 402")]),p([h(Ic,p([Sc("M238 301h-74c-4 0-9 2-12 6-4 4-6 8-6 13v64c0 5 2 9 6 13 3 3 8 5 12 5h74c4 0 9-2 12-5 4-4 6-8 6-13v-64c0-5-2-9-6-13-3-4-8-6-12-6zM259 5c-3-3-7-5-12-5h-92c-5 0-9 2-12 5-4 4-6 8-5 13l8 220c0 4 2 9 5 12 4 4 9 6 13 6h74c4 0 9-2 13-6 3-3 5-8 5-12l8-220c1-5-1-9-5-13z")]),ya)])),Dc=function(e){return{$:2,a:e}},Rc=function(e){return h(cc,"error",ti(e))},Kc=function(e){return h(cc,"load",ti(e))},Fc=function(e){return e.av?Rc(Dc(!1)):Kc(Dc(!0))},Zc=h(zc,p([Lc("light-toggle"),Hc("0 0 50 50")]),p([h(Ic,p([Sc("M14.087,3.101c-0.327,1.596 -0.499,3.248 -0.499,4.939c0,13.515 10.972,24.487 24.487,24.487c3.918,0 7.622,-0.922 10.907,-2.561c-2.287,11.15 -12.164,19.548 -23.987,19.548c-13.515,0 -24.487,-10.973 -24.487,-24.487c0,-9.597 5.533,-17.911 13.579,-21.926Z")]),ya)])),qc=h(zc,p([Lc("light-toggle"),Hc("0 0 60 60")]),p([h(Ic,p([Sc("M30,14c8.831,0 16,7.169 16,16c0,8.831 -7.169,16 -16,16c-8.831,0 -16,-7.169 -16,-16c0,-8.831 7.169,-16 16,-16Zm0,-13l0,6m0,46l0,6m29,-29l-6,0m-46,0l-6,0m7,-22l6,6m38,-6l-6,6m-38,38l6,-6m38,6l-6,-6")]),ya)])),Gc=h(zc,p([Hc("0 0 60 60")]),p([h(Ic,p([Sc("M30,39.073l0,-38.514m-9.063,9.063l9.063,-9.063m9.063,9.063l-9.073,-9.074")]),ya),h(Ic,p([Sc("M22.732,16.862l-14.5,0l0,42.547l43.536,0l0,-42.547l-14.5,0")]),ya)])),Jc=function(e){var a=e.bi;switch(a){case"!":return"%21";case"#":return"%23";case"$":return"%24";case"%":return"%25";case"&":return"%26";case"'":return"%27";case"(":return"%28";case")":return"%29";case"*":return"%2A";case"+":return"%2B";case",":return"%2C";case"/":return"%2F";case":":return"%3A";case";":return"%3B";case"=":return"%3D";case"?":return"%3F";case"@":return"%40";case"[":return"%5B";case"]":return"%5D";default:return a;}},Pc=Za(1/0),Vc=function(e){return"data:image/svg+xml;utf8,"+$(Pc,e.bG,Jc,e.S)},Wc=kb("button"),Uc=kb("img"),Yc=function(e){return h(si,"src",ke(e))},Qc=function(e){return h(cc,"click",ti(e))},Xc=function(e){return h(hi,p([Lc("display"),ci(e.V?"dark":"")]),p([h(Uc,p([Yc(Vc(e)),Fc(e)]),ya),Bc,h(Wc,p([Qc(wc)]),p([Mc])),h(Wc,p([Qc(Gl(Nc))]),p([Gc])),h(Wc,p([Qc(_c)]),p([e.V?qc:Zc]))]))},eh=h(zc,p([Hc("0 0 50 50")]),p([h(Ic,p([Sc("M18.96 49.26l-.07-10.04-.73.12c-.46.09-1.05.13-1.76.11-.72 0-1.45-.08-2.22-.22a4.95 4.95 0 0 1-2.13-.95 4.04 4.04 0 0 1-1.4-1.96l-.32-.73a7.94 7.94 0 0 0-1-1.62c-.46-.6-.92-1-1.38-1.21l-.23-.16a2.35 2.35 0 0 1-.7-.83c-.06-.15 0-.27.16-.37.17-.1.48-.14.93-.14l.63.1c.43.08.95.33 1.58.76.62.42 1.14.98 1.54 1.65a5.63 5.63 0 0 0 1.77 2c.69.45 1.38.68 2.08.68.7 0 1.3-.06 1.82-.16.5-.1.98-.27 1.43-.48.19-1.42.7-2.51 1.56-3.28-1.21-.12-2.3-.31-3.27-.57-.96-.26-1.96-.67-2.99-1.24a8.59 8.59 0 0 1-2.56-2.13 10.25 10.25 0 0 1-1.67-3.35 15.92 15.92 0 0 1-.65-4.77c0-2.57.84-4.75 2.51-6.55-.78-1.94-.7-4.1.23-6.5.61-.19 1.52-.04 2.73.43a19.2 19.2 0 0 1 4.01 2.09c1.98-.55 4.01-.83 6.11-.83 2.1 0 4.14.28 6.11.83l1.21-.77c.83-.5 1.8-.97 2.93-1.4 1.12-.42 1.98-.54 2.58-.35.95 2.4 1.04 4.57.25 6.5a9.28 9.28 0 0 1 2.52 6.55c0 1.8-.22 3.4-.66 4.8-.43 1.38-1 2.5-1.68 3.33a8.9 8.9 0 0 1-2.58 2.12 13 13 0 0 1-3 1.24c-.96.26-2.04.45-3.25.57 1.1.96 1.65 2.46 1.65 4.52v12.2")]),ya)])),ah=kb("a"),th=Hb("rel"),bh=si("target"),nh=h(ah,p([function(e){return h(si,"href",ye(e))}("https://github.com/GarkGarcia/RawSvg"),bh("_blank"),th("noopener noreferrer")]),p([eh])),dh=h(zc,p([Hc("0 0 586 110")]),p([h(Ic,p([Sc("M114.713 37.824c0 9.521-2.534 17.84-7.601 24.955-5.068 7.115-12.209 12.413-21.423 15.894L103.656 110H66.033L50.83 82.973h-8.907L36.548 110H.307L21.806 2.504h48.22c14.128 0 25.108 3.097 32.939 9.291 7.832 6.194 11.748 14.87 11.748 26.029zm-36.702 3.532c0-7.268-4.505-10.903-13.514-10.903H52.366l-5.068 25.185h14.896c5.016 0 8.907-1.254 11.671-3.762 2.764-2.509 4.146-6.015 4.146-10.52z")]),ya),h(Ic,p([Sc("M193.031 91.265h-41.002L141.28 110h-38.238l68.49-107.496h35.627L232.651 110h-36.088l-3.532-18.735zm-5.067-26.106l-5.222-27.488-15.817 27.488h21.039zM428.754 2.504L372.856 110h-38.852l-6.143-56.666L298.377 110h-38.852L246.626 2.504h35.78l6.911 61.273 31.941-61.273h33.324l6.142 62.194 32.403-62.194h35.627zM436.449 110c-4.696 0-9.271-.526-13.724-1.579-4.453-1.052-8.11-2.469-10.971-4.25l6.153-13.927c2.699 1.565 5.722 2.82 9.069 3.765 3.346.945 6.558 1.417 9.635 1.417 2.645 0 4.534-.256 5.667-.769 1.134-.513 1.701-1.282 1.701-2.308 0-1.187-.742-2.078-2.227-2.672-1.484-.593-3.927-1.241-7.327-1.943-4.373-.918-8.016-1.903-10.931-2.955-2.915-1.053-5.452-2.78-7.611-5.182-2.159-2.402-3.239-5.654-3.239-9.757 0-3.562.999-6.801 2.996-9.716 1.997-2.915 4.98-5.209 8.947-6.882 3.968-1.673 8.785-2.51 14.453-2.51 3.886 0 7.705.418 11.457 1.255 3.751.837 7.057 2.065 9.918 3.684l-5.748 13.845c-5.56-2.806-10.823-4.21-15.789-4.21-4.912 0-7.368 1.188-7.368 3.563 0 1.133.729 1.983 2.186 2.55 1.457.567 3.859 1.174 7.206 1.822 4.318.81 7.962 1.741 10.931 2.793 2.968 1.053 5.546 2.767 7.732 5.142 2.186 2.375 3.279 5.614 3.279 9.716 0 3.562-.998 6.788-2.996 9.675-1.997 2.888-4.979 5.182-8.946 6.883-3.968 1.7-8.785 2.55-14.453 2.55zM529.076 52.027l-23.967 56.678h-18.784l-23.967-56.678h20.566l13.522 33.116 13.845-33.116h18.785zM567.616 78.828h16.598v23.966c-3.346 2.321-7.233 4.102-11.659 5.344-4.426 1.241-8.771 1.862-13.036 1.862-6.045 0-11.47-1.255-16.274-3.765-4.804-2.51-8.569-6.018-11.295-10.526-2.726-4.507-4.089-9.621-4.089-15.343 0-5.722 1.363-10.836 4.089-15.343 2.726-4.507 6.531-8.016 11.416-10.526 4.885-2.51 10.405-3.765 16.558-3.765 5.56 0 10.539.931 14.939 2.793 4.399 1.863 8.056 4.575 10.971 8.138l-12.226 10.768c-3.563-4.156-7.8-6.234-12.712-6.234-4.211 0-7.557 1.268-10.04 3.805-2.483 2.537-3.725 5.992-3.725 10.364 0 4.264 1.228 7.692 3.684 10.283 2.456 2.591 5.736 3.886 9.838 3.886 2.429 0 4.75-.458 6.963-1.376V78.828z")]),ya)])),lh=Ab,ih=function(e){return h(hi,p([Lc("container"),ci(e.av?"":"error")]),p([h(hi,p([Lc("title")]),p([dh,nh])),Xc(e),h(lh,Oc,e)]))},sh=function(e){return{$:1,a:e}},ch=function(e){return{$:0,a:e}},hh=Nn,$h=t(function(e,a){return 1>e?a:$(Zi,e,ks(a),a)}),oh=Ot,rh=wt,gh=t(function(e,a){return 1>e?"":$(Zi,0,e,a)}),fh=function(e){for(var a,t=0,b=e.charCodeAt(0),n=43==b||45==b?1:0,d=n;d<e.length;++d){if(a=e.charCodeAt(d),48>a||57<a)return Cn;t=10*t+a-48}return d==n?Cn:An(45==b?-t:t)},mh=l(function(e,a,t,b,n,d){return{an:d,ap:a,aB:b,aD:t,aH:e,aI:n}}),uh=d(function(e,a,t,b,n){if(fi(n)||h(Lt,"@",n))return Cn;var d=h(rh,":",n);if(!d.b)return An(r(mh,e,n,Cn,a,t,b));if(!d.b.b){var l=d.a,i=fh(h($h,l+1,n));if(1===i.$)return Cn;return An(r(mh,e,h(gh,l,n),i,a,t,b))}return Cn}),ph=n(function(e,a,t,b){if(fi(b))return Cn;var n=h(rh,"/",b);if(!n.b)return g(uh,e,"/",a,t,b);var d=n.a;return g(uh,e,h($h,d,b),a,t,h(gh,d,b))}),vh=b(function(e,a,t){if(fi(t))return Cn;var b=h(rh,"?",t);if(!b.b)return o(ph,e,Cn,a,t);var n=b.a;return o(ph,e,An(h($h,n+1,t)),a,h(gh,n,t))}),yh=t(function(e,a){if(fi(a))return Cn;var t=h(rh,"#",a);if(!t.b)return $(vh,e,Cn,a);var b=t.a;return $(vh,e,An(h($h,b+1,a)),h(gh,b,a))}),kh=function(e){return h(oh,"http://",e)?h(yh,0,h($h,7,e)):h(oh,"https://",e)?h(yh,1,h($h,8,e)):Cn},xh=Yb({bg:function(){return C(On,wl)},bC:function(){return Nl},bF:Ql,bI:function(e){return{a$:p([h(lh,ih,e)]),bE:"RawSvg"}}});(function(a){e.Elm?ie(e.Elm,a):e.Elm=a})({Main:{init:xh(ti(0))(0)}})})(this);+ \ No newline at end of file
diff --git a/src/Editor.elm b/src/Editor.elm @@ -46,8 +46,11 @@ transform str = translate : (Int, Int) -> Attribute Msg translate (x, y) = - transform ("translate(" ++ (String.fromInt -x) ++ "px, " ++ (String.fromInt -y) ++ "px)") + transform ("translate(" ++ (show -x) ++ "px, " ++ (show -y) ++ "px)") placeholder : String placeholder = - "<svg ...> ... </svg>"- \ No newline at end of file + "<svg ...> ... </svg>" + +show : Int -> String +show = String.fromInt+ \ No newline at end of file
diff --git a/src/View.elm b/src/View.elm @@ -2,9 +2,11 @@ module View exposing (view) import Types exposing (..) import Editor exposing (editor) -import Html exposing (Html, div, img, button, a, textarea, pre, code, text) + +import Html exposing (Html, Attribute, div, img, button, a, textarea, pre, code, text) import Html.Events exposing (onClick, onInput, on) import Html.Attributes exposing (id, class, src, href, value, style, spellcheck, placeholder, target, rel) +import Html.Lazy exposing (lazy) import Browser exposing (Document) import Svg exposing (svg, path) import Svg.Attributes exposing (d, viewBox, fill) @@ -16,23 +18,21 @@ view : Model -> Document Msg view model = { title = "RawSvg" , body = - [ div [ id "container", class (if model.isValid then "" else "error") ] - [ div [ id "title" ] [ logo, githubLink ] - , display model - , editor model - ] - ] + [ lazy container model ] } +container : Model -> Html Msg +container model = + div [ id "container", class (if model.isValid then "" else "error") ] + [ div [ id "title" ] [ logo, githubLink ] + , display model + , lazy editor model + ] + display : Model -> Html Msg display model = div [ id "display", class (if model.darkMode then "dark" else "") ] - [ img - [ src (uri model) - , if model.isValid - then on "error" (Json.Decode.succeed (Validation False)) - else on "load" (Json.Decode.succeed (Validation True)) - ] [] + [ img [ src (uri model), load model ] [] , errorIcon , button [ onClick Download ] [ downloadIcon ] , button [ onClick (Upload Requested) ] [ uploadIcon ] @@ -68,6 +68,18 @@ percentEscape m = "]" -> "%5D" str -> str +onError : msg -> Attribute msg +onError f = + on "error" (Json.Decode.succeed f) + +onLoad : msg -> Attribute msg +onLoad f = + on "load" (Json.Decode.succeed f) + +load : Model -> Attribute Msg +load model = + if model.isValid then onError (Validation False) else onLoad (Validation True) + logo : Html Msg logo = svg [ viewBox "0 0 586 110" ]
diff --git a/styles.css b/styles.css @@ -22,6 +22,7 @@ */ --background: #2D2B55; + --foreground: #A599E9; --selection: #A599E940; --light: #eeeeff; --dark: #000022; @@ -91,7 +92,7 @@ body > div#container { grid-template-rows: calc(4 * var(--tiny)) auto; grid-template-columns: 1fr 2fr; grid-template-areas: "display title" - "diplay text"; + "display text"; } } @@ -99,6 +100,8 @@ body > div#container { body > div#container { grid-template-rows: calc(4 * var(--tiny)) 1fr 2fr; grid-template-areas: "title" "display" "text"; + + height: calc(100vh - 2 * var(--small)); } } @@ -144,9 +147,6 @@ body > div#container > div#title > a > svg { body > div#container > div#display > svg#error, body > div#container > div#display > img { grid-area: image; - max-width: 100%; - max-height: 100%; - justify-self: center; align-self: center; } @@ -156,14 +156,17 @@ body > div#container, body > div#container > * { } body > div#container.error { - --background: #ae1210; + --background: #913534; + --foreground: #e999b4; --selection: #f12b5c40; --light: #ffefef; -} -body > div#container img { - width: 100%; - height: 100%; + --dark: #220000; + + --tag: #9EFFFF; + --prop: #FAD000; + --string: #A5FF90; + --comm: #ff75ba; } body > div#container > div#display { @@ -174,11 +177,8 @@ body > div#container > div#display { grid-template-columns: calc(4 * var(--tiny)) calc(4 * var(--tiny)) calc(4 * var(--tiny)) auto; grid-template-areas: "image image image image" "button button button ."; - grid-gap: calc(2 * var(--tiny)); - width: calc(100% - 4 * var(--tiny)); - height: calc(100% - 4 * var(--tiny)); - + grid-gap: calc(2 * var(--tiny)); padding: calc(2 * var(--tiny)); background: var(--light); @@ -187,12 +187,6 @@ body > div#container > div#display { box-shadow: 0 0 calc(.25 * var(--small)) .5vmax #00000015; } -@media (pointer: fine), (pointer: coarse) and (orientation: landscape) { - body > div#container > div#display { - grid-row: 1 / 3; - } -} - body > div#container > div#display.dark { background: var(--dark); } @@ -274,8 +268,24 @@ body > div#container > div#editor > textarea { color: transparent; caret-color: var(--light); - scrollbar-width: none; /*For Firefox*/ - -ms-overflow-style: none; /*For IE and Edge*/ + overflow: scroll; + + scrollbar-color: var(--foreground) transparent; + scrollbar-width: thin; +} + +body > div#container > div#editor > textarea::-webkit-scrollbar { + width: 2pt; +} + +body > div#container > div#editor > textarea::-webkit-scrollbar-track { + background: transparent; + outline: none; +} + +body > div#container > div#editor > textarea::-webkit-scrollbar-thumb { + background: var(--foreground); + outline: none; } body > div#container > div#editor > textarea::selection {