- Commit
- 2055a25330732ceee4f87f4f973043811ed150a1
- Parent
- 7f8a223c3691bb03ab2c6727d9d6320494073a07
- Author
- Pablo Escobar Gaviria <gark.garcia@protonmail.com>
- Date
Simplified the build process and fixed `script.min.js`.
A simple SVG markup editor for the web
Simplified the build process and fixed `script.min.js`.
3 files changed, 14 insertions, 18 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Added | build | 12 | 12 | 0 |
Deleted | build/build.py | 16 | 0 | 16 |
Modified | script.min.js | 4 | 2 | 2 |
diff --git a/build b/build @@ -0,0 +1,12 @@ +#!/bin/bash + +echo "Compiling source files..." +elm make src/Main.elm --optimize --output=./script.js + +echo "Compressing compiled ouput..." +minify ./script.js --mangle -o ./script.min.js + +rm ./script.js + +echo "All done!" +
diff --git a/build/build.py b/build/build.py @@ -1,16 +0,0 @@ -import os - -BUILD_CMD = "elm make \"src/Main.elm\" --optimize --output=build/output/script.js" -COMPRESS_CMD = "minify build/output/script.js --mangle -o script.min.js" -COPYRIGHT = "// Thiago Brevidelli ⓒ 2019. ALL RIGHTS RESERVED" - -print("Compiling source files...") -os.system(BUILD_CMD) - -print("Compressing compiled ouput...") -os.system(COMPRESS_CMD) - -with open("script.min.js", "w+", encoding="utf8") as c_file: - c_file.write(COPYRIGHT + c_file.read()) - -print("\nAll done!")
diff --git a/script.min.js b/script.min.js @@ -1 +1 @@ -// Thiago Brevidelli ⓒ 2019. ALL RIGHTS RESERVED- \ No newline at end of file +(function(e){'use strict';var ba=Math.floor,na=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(i){return function(d){return t(n,a,b,i,d)}}}}})}function i(t){return a(6,t,function(n){return function(a){return function(b){return function(i){return function(d){return function(e){return t(n,a,b,i,d,e)}}}}}})}function s(t){return a(7,t,function(n){return function(a){return function(b){return function(i){return function(d){return function(e){return function(s){return t(n,a,b,i,d,e,s)}}}}}}})}function l(t){return a(8,t,function(n){return function(a){return function(b){return function(i){return function(d){return function(e){return function(s){return function(l){return t(n,a,b,i,d,e,s,l)}}}}}}}})}function o(t){return a(9,t,function(n){return function(a){return function(b){return function(s){return function(d){return function(e){return function(l){return function(o){return function(r){return t(n,a,b,s,d,e,l,o,r)}}}}}}}}})}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 r(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,i,d){return 5===t.a?t.f(n,a,b,i,d):t(n)(a)(b)(i)(d)}function m(t,n,a,b,i,d,e){return 6===t.a?t.f(n,a,b,i,d,e):t(n)(a)(b)(i)(d)(e)}function u(t,n,a,b,i,d,e,s){return 7===t.a?t.f(n,a,b,i,d,e,s):t(n)(a)(b)(i)(d)(e)(s)}function p(t,n,a,b,i,d,e,s,l){return 8===t.a?t.f(n,a,b,i,d,e,s,l):t(n)(a)(b)(i)(d)(e)(s)(l)}function c(e,a){return{$:1,a:e,b:a}}function v(e){for(var a=ka,t=e.length;t--;)a=c(e[t],a);return a}function y(e){for(var a=[];e.b;e=e.b)a.push(e.a);return a}function k(){return"<internals>"}function A(e){throw new Error("https://github.com/elm/core/blob/1.0.0/hints/"+e+".md")}function E(e,a){for(var t,b=[],n=j(e,a,0,b);n&&(t=b.pop());n=j(t.a,t.b,0,b));return n}function j(e,a,t,b){if(100<t)return b.push(T(e,a)),!0;if(e===a)return!0;if("object"!=typeof e||null===e||null===a)return"function"==typeof e&&A(5),!1;for(var n in 0>e.$&&(e=An(e),a=An(a)),e)if(!j(e[n],a[n],t+1,b))return!1;return!0}function C(e,a,t){if("object"!=typeof e)return e===a?0:e<a?-1:1;if("undefined"==typeof e.$)return(t=C(e.a,a.a))?t:(t=C(e.b,a.b))?t:C(e.c,a.c);for(;e.b&&a.b&&!(t=C(e.a,a.a));e=e.b,a=a.b);return t||(e.b?1:a.b?-1:0)}function T(e,a){return{a:e,b:a}}function L(e,a,t){return{a:e,b:a,c:t}}function N(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=c(e.a,a);e=e.b;for(var b=t;e.b;e=e.b)b=b.b=c(e.a,a);return t}function O(e){return{$:2,b:e}}function S(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):K("null",a);case 3:return B(a)?R(e.b,a,v):K("a LIST",a);case 4:return B(a)?R(e.b,a,D):K("an ARRAY",a);case 6:var t=e.d;if("object"!=typeof a||null===a||!(t in a))return K("an OBJECT with a field named `"+t+"`",a);var b=I(e.b,a[t]);return Yn(b)?b:yd(h(xd,t,b.a));case 7:var n=e.e;if(!B(a))return K("an ARRAY",a);if(n>=a.length)return K("a LONGER array. Need index "+n+" but only see "+a.length+" entries",a);var b=I(e.b,a[n]);return Yn(b)?b:yd(h(Ad,n,b.a));case 8:if("object"!=typeof a||null===a||B(a))return K("an OBJECT",a);var d=ka;for(var s in a)if(a.hasOwnProperty(s)){var b=I(e.b,a[s]);if(!Yn(b))return yd(h(xd,s,b.a));d=c(T(s,b.a),d)}return _n(od(d));case 9:for(var b,l=e.f,o=e.g,r=0;r<o.length;r++){if(b=I(o[r],a),!Yn(b))return b;l=l(b.a)}return _n(l);case 10:var b=I(e.b,a);return Yn(b)?I(e.h(b.a),a):b;case 11:for(var b,$=ka,g=e.g;g.b;g=g.b){if(b=I(g.a,a),Yn(b))return b;$=c(b.a,$)}return yd(Ed(od($)));case 1:return yd(h(kd,e.a,q(a)));case 0:return _n(e.a);}}function R(e,a,t){for(var b,n=a.length,d=Array(n),s=0;s<n;s++){if(b=I(e,a[s]),!Yn(b))return yd(h(Ad,s,b.a));d[s]=b.a}return _n(t(d))}function B(e){return Array.isArray(e)||"undefined"!=typeof FileList&&e instanceof FileList}function D(e){return h(vd,e.length,function(a){return e[a]})}function K(e,a){return yd(h(kd,"Expecting "+e,q(a)))}function J(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 J(e.b,a.b);case 6:return e.d===a.d&&J(e.b,a.b);case 7:return e.e===a.e&&J(e.b,a.b);case 9:return e.f===a.f&&G(e.g,a.g);case 10:return e.h===a.h&&J(e.b,a.b);case 11:return G(e.g,a.g);}}function G(e,a){var t=e.length;if(t!==a.length)return!1;for(var b=0;b<t;b++)if(!J(e[b],a[b]))return!1;return!0}function q(e){return e}function F(e){return e}function M(e){return{$:0,a:e}}function X(e){return{$:1,a:e}}function P(e){return{$:2,b:e,c:null}}function H(e){return{$:5,b:e}}function W(e){var a={$:0,e:ab++,f:e,g:null,h:[]};return U(a),a}function z(e){return P(function(a){a(M(W(e)))})}function Z(e,a){e.h.push(a),U(e)}function U(e){if(nb.push(e),!bb){for(bb=!0;e=nb.shift();)Y(e);bb=!1}}function Y(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,U(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 V(e,a,t,b,n,d){function i(e,a){s=h(b,e,o),r(o=s.a,a),ne(l,s.b,n(o))}var s=h(Zt,e,q(a?a.flags:void 0));Yn(s)||A(2);var l={};s=t(s.a);var o=s.a,r=d(i,o),c=Q(l,i);return ne(l,s.b,n(o)),c?{ports:c}:{}}function Q(e,a){var t;for(var b in ib){var n=ib[b];n.a&&(t=t||{},t[b]=n.a(b,a)),e[b]=ae(n,a)}return t}function ee(e,a,t,b,n){return{b:e,c:a,d:t,e:b,f:n}}function ae(e,a){function t(e){return h(Qt,t,H(function(a){var t=a.a;return 0===a.$?$(d,b,t,e):i&&s?r(n,b,t.i,t.j,e):$(n,b,i?t.i:t.j,e)}))}var b={g:a,h:void 0},n=e.c,d=e.d,i=e.e,s=e.f;return b.h=W(h(Qt,t,e.b))}function te(e){return function(a){return{$:1,k:e,l:a}}}function be(e){return{$:2,m:e}}function ne(e,a,t){var b={};for(var n in de(!0,a,b,null),de(!1,t,b,null),e)Z(e[n],{$:"fx",a:b[n]||{i:ka,j:ka}})}function de(e,a,t,b){switch(a.$){case 1:var n=a.k,d=ie(e,n,b,a.l);return void(t[n]=se(e,d,t[n]));case 2:for(var i=a.m;i.b;i=i.b)de(e,i.a,t,b);return;case 3:return void de(e,a.o,t,{p:a.n,q:b});}}function ie(e,a,t,b){var n=e?ib[a].e:ib[a].f;return h(n,function(e){for(var a=t;a;a=a.q)e=a.p(e);return e},b)}function se(e,a,t){return t=t||{i:ka,j:ka},e?t.i=c(a,t.i):t.j=c(a,t.j),t}function le(e,a){for(var t in a)t in e?"init"==t?A(6):le(e[t],a[t]):e[t]=a[t]}function oe(e,a){for(var t=a.i;t.b;t=t.b)e.setRequestHeader(t.a.a,t.a.b);e.timeout=a.n.a||0,e.responseType=a.bf.d,e.withCredentials=a.B}function re(e,a){return h(200<=a.status&&300>a.status?zd:Hd,he(a),e(a.response))}function he(e){return{bN:e.responseURL,aY:e.status,bA:e.statusText,i:ce(e.getAllResponseHeaders())}}function ce(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 s=n.substring(0,d),l=n.substring(d+2);a=$(Zn,s,function(e){return Cn(Un(e)?l+", "+e.a:l)},a)}}return a}function $e(e,a,t){a.upload.addEventListener("progress",function(b){a.c||W(h(Xd,e,T(t,Yd({bz:b.loaded,ab:b.total}))))}),a.addEventListener("progress",function(b){a.c||W(h(Xd,e,T(t,Ud({bv:b.loaded,ab:b.lengthComputable?Cn(b.total):Tn}))))})}function ge(){return ia||(ia=document.createElement("a"))}function fe(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 me(e){return P(function(a){sa=document.createElement("input"),sa.type="file",sa.accept=h(Bd,",",e),sa.addEventListener("change",function(e){a(M(e.target.files[0]))}),fe(sa)})}function ue(e,a){e.appendChild(a)}function pe(e){return{$:0,a:e}}function ve(e,a){return{$:5,l:e,m:a,k:void 0}}function ye(e){return /^(on|formAction$)/i.test(e)?"data-"+e:e}function ke(e){return /^javascript:/i.test(e.replace(/\s/g,""))?"":e}function xe(e){return /^\s*(javascript:|data:text\/html)/i.test(e)?"":e}function Ae(e,a){var t=ns(a);return{$:a.$,a:t?$(ts,3>t?Gb:qb,bs(e),a.a):h(as,e,a.a)}}function Ee(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?je(a,n,F(d)):a[n]=F(d);continue}var i=a[b]||(a[b]={});"a3"===b&&"class"===n?je(i,n,d):i[n]=d}return a}function je(e,a,t){var b=e[a];e[a]=b?b+" "+t:t}function Ce(e,a){var t=e.$;if(5===t)return Ce(e.k||(e.k=e.m()),a);if(0===t)return vb.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},s=Ce(b,d);return s.elm_event_node_ref=d,s}if(3===t){var s=e.h(e.g);return Te(s,a,e.d),s}var s=e.f?vb.createElementNS(e.f,e.c):vb.createElement(e.c);la&&"a"==e.c&&s.addEventListener("click",la(s)),Te(s,a,e.d);for(var l=e.e,o=0;o<l.length;o++)ue(s,Ce(1===t?l[o]:l[o].b,a));return s}function Te(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?Ne(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 Ne(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],i=b[n];if(!d){e.removeEventListener(n,i),b[n]=void 0;continue}if(i){var s=i.q;if(s.$===d.$){i.q=d;continue}e.removeEventListener(n,i)}i=Oe(a,d),e.addEventListener(n,i,oa&&{passive:2>ns(d)}),b[n]=i}}function Oe(e,a){function t(a){var b=t.q,n=I(b.a,a);if(Yn(n)){for(var d,s,l=ns(b),o=n.a,r=l?3>l?o.a:o.t:o,h=1==l?o.b:3==l&&o.ad,c=(h&&a.stopPropagation(),(2==l?o.b:3==l&&o.aa)&&a.preventDefault(),e);d=c.j;){if("function"==typeof d)r=d(r);else for(var s=d.length;s--;)r=d[s](r);c=c.p}c(r,h)}}return t.q=a,t}function Se(e,a){return e.$==a.$&&J(e.a,a.a)}function Ie(e,a){var t=[];return Be(e,a,t,0),t}function Re(e,a,t,b){var n={$:a,r:t,s:b,t:void 0,u:void 0};return e.push(n),n}function Be(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 Re(t,0,b,a);switch(d){case 5:for(var s=e.l,l=a.l,o=s.length,r=o===l.length;r&&o--;)r=s[o]===l[o];if(r)return void(a.k=e.k);a.k=a.m();var h=[];return Be(e.k,a.k,h,0),void(0<h.length&&Re(t,1,b,h));case 4:for(var c=e.j,$=a.j,g=!1,f=e.k;4===f.$;)g=!0,"object"==typeof c?c.push(f.j):c=[c,f.j],f=f.k;for(var m=a.k;4===m.$;)g=!0,"object"==typeof $?$.push(m.j):$=[$,m.j],m=m.k;return g&&c.length!==$.length?void Re(t,0,b,a):((g?!De(c,$):c!==$)&&Re(t,2,b,$),void Be(f,m,t,b+1));case 0:return void(e.a!==a.a&&Re(t,3,b,a.a));case 1:return void Ke(e,a,t,b,Ge);case 2:return void Ke(e,a,t,b,qe);case 3:if(e.h!==a.h)return void Re(t,0,b,a);var u=Je(e.d,a.d);u&&Re(t,4,b,u);var p=a.i(e.g,a.g);return void(p&&Re(t,5,b,p));}}}function De(e,a){for(var t=0;t<e.length;t++)if(e[t]!==a[t])return!1;return!0}function Ke(e,a,t,b,n){if(e.c!==a.c||e.f!==a.f)return void Re(t,0,b,a);var d=Je(e.d,a.d);d&&Re(t,4,b,d),n(e,a,t,b)}function Je(e,a,t){var b;for(var n in e){if("a1"==n||"a0"==n||"a3"==n||"a4"==n){var d=Je(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 i=e[n],s=a[n];i===s&&"value"!=n&&"checked"!=n||"a0"===t&&Se(i,s)||(b=b||{},b[n]=s)}for(var l in a)l in e||(b=b||{},b[l]=a[l]);return b}function Ge(e,a,t,b){var n=e.e,d=a.e,s=n.length,l=d.length;s>l?Re(t,6,b,{v:l,i:s-l}):s<l&&Re(t,7,b,{v:s,e:d});for(var o,r=s<l?s:l,h=0;h<r;h++)o=n[h],Be(o,d[h],t,++b),b+=o.b||0}function qe(e,a,t,b){for(var n=[],d={},i=[],s=e.e,l=a.e,o=s.length,r=l.length,h=0,c=0,$=b;h<o&&c<r;){var g=s[h],f=l[c],m=g.a,u=f.a,p=g.b,v=f.b,k=void 0,A=void 0;if(m===u){$++,Be(p,v,n,$),$+=p.b||0,h++,c++;continue}var E=s[h+1],j=l[c+1];if(E){var C=E.a,T=E.b;A=u===C}if(j){var L=j.a,N=j.b;k=m===L}if(k&&A){$++,Be(p,N,n,$),Fe(d,n,m,v,c,i),$+=p.b||0,$++,Me(d,n,m,T,$),$+=T.b||0,h+=2,c+=2;continue}if(k){$++,Fe(d,n,u,v,c,i),Be(p,N,n,$),$+=p.b||0,h+=1,c+=2;continue}if(A){$++,Me(d,n,m,p,$),$+=p.b||0,$++,Be(T,v,n,$),$+=T.b||0,h+=2,c+=1;continue}if(E&&C===L){$++,Me(d,n,m,p,$),Fe(d,n,u,v,c,i),$+=p.b||0,$++,Be(T,N,n,$),$+=T.b||0,h+=2,c+=2;continue}break}for(;h<o;){$++;var g=s[h],p=g.b;Me(d,n,g.a,p,$),$+=p.b||0,h++}for(;c<r;){var _=_||[],f=l[c];Fe(d,n,f.a,f.b,void 0,_),c++}(0<n.length||0<i.length||_)&&Re(t,8,b,{w:n,x:i,y:_})}function Fe(e,a,t,b,n,d){var i=e[t];if(!i)return i={c:0,z:b,r:n,s:void 0},d.push({r:n,A:i}),void(e[t]=i);if(1===i.c){d.push({r:n,A:i}),i.c=2;var s=[];return Be(i.z,b,s,i.r),i.r=n,void(i.s.s={w:s,A:i})}Fe(e,a,t+"_elmW6BL",b,n,d)}function Me(e,a,t,b,n){var d=e[t];if(!d){var i=Re(a,9,n,void 0);return void(e[t]={c:1,z:b,r:n,s:i})}if(0===d.c){d.c=2;var s=[];return Be(b,d.z,s,n),void Re(a,9,n,{w:s,A:d})}Me(e,a,t+"_elmW6BL",b,n)}function Xe(e,a,t,b){Pe(e,a,t,0,0,a.b,b)}function Pe(e,a,t,b,n,d,s){for(var l,o=t[b],r=o.r;r===n;){if(l=o.$,1===l)Xe(e,a.k,o.s,s);else if(8===l){o.t=e,o.u=s;var h=o.s.w;0<h.length&&Pe(e,a,h,0,n,d,s)}else if(9===l){o.t=e,o.u=s;var c=o.s;if(c){c.A.s=e;var h=c.w;0<h.length&&Pe(e,a,h,0,n,d,s)}}else o.t=e,o.u=s;if(b++,!(o=t[b])||(r=o.r)>d)return b}var $=a.$;if(4===$){for(var g=a.k;4===g.$;)g=g.k;return Pe(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===$?f[u]:f[u].b,v=n+(p.b||0);if(n<=r&&r<=v&&(b=Pe(m[u],p,t,b,n,v,s),!(o=t[b])||(r=o.r)>d))return b;n=v}return b}function He(e,a,t,b){return 0===t.length?e:(Xe(e,a,t,b),We(e,t))}function We(e,a){for(var t=0;t<a.length;t++){var b=a[t],n=b.t,d=ze(n,b);n===e&&(e=d)}return e}function ze(e,a){switch(a.$){case 0:return Ze(e,a.s,a.u);case 4:return Te(e,a.u,a.s),e;case 3:return e.replaceData(0,e.length,a.s),e;case 1:return We(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(Ce(n[b],a.u),d);return e;case 9:var t=a.s;if(!t)return e.parentNode.removeChild(e),e;var s=t.A;return"undefined"!=typeof s.r&&e.parentNode.removeChild(e),s.s=We(e,t.w),e;case 8:return Ue(e,a);case 5:return a.s(e);default:A(10);}}function Ze(e,a,t){var b=e.parentNode,n=Ce(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 Ue(e,a){var t=a.s,b=Ye(t.y,a);e=We(e,t.w);for(var n=t.x,d=0;d<n.length;d++){var s=n[d],l=s.A,o=2===l.c?l.s:Ce(l.z,a.u);e.insertBefore(o,e.childNodes[s.r])}return b&&ue(e,b),e}function Ye(e,a){if(e){for(var t=vb.createDocumentFragment(),b=0;b<e.length;b++){var n=e[b],d=n.A;ue(t,2===d.c?d.s:Ce(d.z,a.u))}return t}}function Ve(e){if(3===e.nodeType)return pe(e.textContent);if(1!==e.nodeType)return pe("");for(var a=ka,t=e.attributes,b=t.length;b--;){var n=t[b],d=n.name,s=n.value;a=c(h(Db,d,s),a)}for(var l=e.tagName.toLowerCase(),o=ka,r=e.childNodes,b=r.length;b--;)o=c(Ve(r[b]),o);return $(xb,l,a,o)}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 ea(e,a){function t(){b=1===b?0:(en(t),a(e),1)}a(e);var b=0;return function(n,d){e=n,d?(a(e),2==b&&(b=1)):(0==b&&en(t),b=2)}}function aa(e,a){return P(function(t){en(function(){var b=document.getElementById(e);t(b?M(a(b)):X(rr(e)))})})}function ta(e){return P(function(a){en(function(){a(M(e()))})})}var da,ia,sa,la,oa,ra=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,T(t,a)}),ca=t(function(e,a){return a[e]}),$a=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}),ga=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}),fa=b(function(e,a,t){for(var b=t.length,n=0;n<b;n++)a=h(e,t[n],a);return a}),ma=b(function(e,a,t){for(var b=t.length-1;0<=b;b--)a=h(e,t[b],a);return a}),ua=t(function(e,a){for(var t=a.length,b=Array(t),n=0;n<t;n++)b[n]=e(a[n]);return b}),pa=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}),va=b(function(e,a,t){return t.slice(e,a)}),ya=b(function(e,a,t){var b=a.length,n=e-b;n>t.length&&(n=t.length);for(var d=b+n,s=Array(d),l=0;l<b;l++)s[l]=a[l];for(var l=0;l<n;l++)s[l+b]=t[l];return s}),ka={$:0},xa=t(c),Aa=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 v(b)}),Ea=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 v(n)}),ja=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(r(e,a.a,t.a,b.a,n.a));return v(d)}),Ca=i(function(e,a,t,b,n,d){for(var i=[];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)i.push(g(e,a.a,t.a,b.a,n.a,d.a));return v(i)}),Ta=t(function(e,a){return v(y(a).sort(function(t,a){return C(e(t),e(a))}))}),La=t(function(e,a){return v(y(a).sort(function(t,a){var b=h(e,t,a);return b===un?0:b===pn?-1:1}))}),Na=t(function(e,a){return a}),_a=t(function(e,a){return console.log(e+": "+k(a)),a}),wa=t(E),Oa=t(function(e,a){return!E(e,a)}),Sa=t(function(e,a){return 0>C(e,a)}),Ia=t(function(e,a){return 1>C(e,a)}),Ra=t(function(e,a){return 0<C(e,a)}),Ba=t(function(e,a){return 0<=C(e,a)}),Da=t(function(e,a){var t=C(e,a);return 0>t?pn:t?kn:un}),Ka=0,Ja=t(w),Ga=/.^/,qa=t(function(e,a){var t="g";e.aD&&(t+="m"),e.ag&&(t+="i");try{return Cn(new RegExp(a,t))}catch(e){return Tn}}),Fa=t(function(e,a){return null!==a.match(e)}),Ma=b(function(e,a,t){for(var b,n=[],d=0,s=a.lastIndex,l=-1;d++<e&&(b=a.exec(t))&&l!=a.lastIndex;){for(var o,h=b.length-1,c=Array(h);0<h;)o=b[h],c[--h]=o?Cn(o):Tn;n.push(r(Ln,b[0],b.index,d,v(c))),l=a.lastIndex}return a.lastIndex=s,v(n)}),Xa=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 s=arguments[b];n[--b]=s?Cn(s):Tn}return t(r(Ln,a,arguments[arguments.length-2],d,v(n)))}var d=0;return b.replace(a,n)}),Pa=b(function(e,a,t){for(var b,d=t,i=[],s=a.lastIndex,l=a.lastIndex;e--&&(b=a.exec(d),!!b);)i.push(d.slice(s,b.index)),s=a.lastIndex;return i.push(d.slice(s)),a.lastIndex=l,v(i)}),Ha=t(function(e,a){return e+a}),Wa=t(function(e,a){return e-a}),za=t(function(e,a){return e*a}),Za=t(function(e,a){return e/a}),Ua=t(function(e,a){return 0|e/a}),Ya=t(Math.pow),Va=t(function(e,t){return t%e}),Qa=t(function(e,a){var t=a%e;return 0===e?A(11):0<t&&0>e||0>t&&0<e?t+e:t}),et=Math.PI,at=Math.E,tt=Math.cos,bt=Math.sin,nt=Math.tan,dt=Math.acos,it=Math.asin,st=Math.atan,lt=t(Math.atan2),ot=Math.ceil,rt=Math.round,ht=Math.sqrt,ct=Math.log,$t=isNaN,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){return e+a}),vt=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(N(a[n]+a[n+1])),n+=2;continue}b[n]=e(N(a[n])),n++}return b.join("")}),yt=t(function(e,a){for(var t=[],b=a.length,n=0;n<b;){var d=a[n],s=a.charCodeAt(n);n++,55296<=s&&56319>=s&&(d+=a[n],n++),e(N(d))&&t.push(d)}return t.join("")}),kt=b(function(e,a,t){for(var b=t.length,n=0;n<b;){var d=t[n],s=t.charCodeAt(n);n++,55296<=s&&56319>=s&&(d+=t[n],n++),a=h(e,N(d),a)}return a}),xt=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,N(n),a)}return a}),At=t(function(e,a){return a.split(e)}),Et=t(function(e,a){return a.join(e)}),jt=b(function(e,a,t){return t.slice(e,a)}),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(N(b)))return!0}return!1}),Tt=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(N(b)))return!1}return!0}),Lt=t(function(e,a){return-1<a.indexOf(e)}),Nt=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 ka;for(var b=0,n=[];-1<(b=a.indexOf(e,b));)n.push(b),b+=t;return v(n)}),Ot=O(function(e){return"number"==typeof e?-2147483647<e&&2147483647>e&&(0|e)===e?_n(e):isFinite(e)&&!(e%1)?_n(e):K("an INT",e):K("an INT",e)}),St=O(function(e){return"boolean"==typeof e?_n(e):K("a BOOL",e)}),It=O(function(e){return"number"==typeof e?_n(e):K("a FLOAT",e)}),Rt=O(function(e){return _n(q(e))}),Bt=O(function(e){return"string"==typeof e?_n(e):e instanceof String?_n(e+""):K("a STRING",e)}),Dt=t(function(e,a){return{$:6,d:e,b:a}}),Kt=t(function(e,a){return{$:7,e:e,b:a}}),Jt=t(function(e,a){return{$:10,b:a,h:e}}),Gt=t(function(e,a){return S(e,[a])}),qt=b(function(e,a,t){return S(e,[a,t])}),Ft=n(function(e,a,t,b){return S(e,[a,t,b])}),Mt=d(function(e,a,t,b,n){return S(e,[a,t,b,n])}),Xt=i(function(e,a,t,b,n,d){return S(e,[a,t,b,n,d])}),Pt=s(function(e,a,t,b,n,d,i){return S(e,[a,t,b,n,d,i])}),Ht=l(function(e,a,t,b,n,d,i,s){return S(e,[a,t,b,n,d,i,s])}),Wt=o(function(e,a,t,b,n,d,i,s,l){return S(e,[a,t,b,n,d,i,s,l])}),zt=t(function(e,a){try{var t=JSON.parse(a);return I(e,t)}catch(t){return yd(h(kd,"This is not valid JSON! "+t.message,q(a)))}}),Zt=t(function(e,a){return I(e,F(a))}),Ut=t(function(e,a){return JSON.stringify(F(a),null,e)+""}),Yt=b(function(e,a,t){return t[e]=F(a),t}),Vt=q(null),Qt=t(function(e,a){return{$:3,b:e,d:a}}),eb=t(function(e,a){return{$:4,b:e,d:a}}),ab=0,tb=t(function(e,a){return P(function(t){Z(e,a),t(M(Ka))})}),bb=!1,nb=[],db=n(function(e,a,t,b){return V(a,b,e.bn,e.bL,e.bI,function(){return function(){}})}),ib={},sb=t(function(e,a){return P(function(t){e.g(a),t(M(Ka))})}),lb=t(function(e,a){return h(tb,e.h,{$:0,a:a})}),ob=t(function(e,a){return{$:3,n:e,o:a}}),rb=t(function(e,a){return a}),hb=t(function(e,a){return function(t){return e(a(t))}}),cb=b(function(e,a,t){return P(function(b){function n(e){b(a(t.bf.a(e)))}var d=new XMLHttpRequest;d.addEventListener("error",function(){n(Zd)}),d.addEventListener("timeout",function(){n(Vd)}),d.addEventListener("load",function(){n(re(t.bf.b,d))}),Un(t.o)&&$e(e,d,t.o.a);try{d.open(t.m,t.bN,!0)}catch(a){return n(Wd(t.bN))}return oe(d,t),t.a6.a&&d.setRequestHeader("Content-Type",t.a6.a),d.send(t.a6.b),function(){d.c=!0,d.abort()}})}),$b=b(function(e,a,t){return{$:0,d:e,b:a,a:t}}),gb=t(function(e,a){return{$:0,d:a.d,b:a.b,a:function(t){return e(a.a(t))}}}),fb=t(function(e,a){return{$:0,a:e,b:a}}),mb=t(function(e,a){return new Blob([a],{type:e})}),ub=O(function(e){return"undefined"!=typeof File&&e instanceof File?_n(e):K("a FILE",e)}),pb=b(function(e,a,t){return P(function(){var b=new Blob([t],{type:a});if(navigator.msSaveOrOpenBlob)return void navigator.msSaveOrOpenBlob(b,e);var n=ge(),d=URL.createObjectURL(b);n.href=d,n.download=e,fe(n),URL.revokeObjectURL(d)})}),vb="undefined"==typeof document?{}:document,yb=n(function(e,a,t,b){var n=b.node;return n.parentNode.replaceChild(Ce(e,function(){}),n),{}}),kb=t(function(e,a){return t(function(t,b){for(var n,d=[],i=0;b.b;b=b.b)n=b.a,i+=n.b||0,d.push(n);return i+=d.length,{$:1,c:a,d:Ee(t),e:d,f:e,b:i}})}),xb=kb(void 0),Ab=t(function(e,a){return t(function(t,b){for(var n,d=[],i=0;b.b;b=b.b)n=b.a,i+=n.b.b||0,d.push(n);return i+=d.length,{$:2,c:a,d:Ee(t),e:d,f:e,b:i}})}),Eb=Ab(void 0),jb=t(function(e,a){return{$:4,j:e,k:a,b:1+(a.b||0)}}),Cb=t(function(e,t){return ve([e,t],function(){return e(t)})}),Tb=b(function(e,t,a){return ve([e,t,a],function(){return h(e,t,a)})}),Lb=n(function(e,t,a,b){return ve([e,t,a,b],function(){return $(e,t,a,b)})}),Nb=d(function(e,t,a,b,n){return ve([e,t,a,b,n],function(){return r(e,t,a,b,n)})}),_b=i(function(t,n,a,b,i,d){return ve([t,n,a,b,i,d],function(){return g(t,n,a,b,i,d)})}),wb=s(function(t,n,a,b,i,d,e){return ve([t,n,a,b,i,d,e],function(){return m(t,n,a,b,i,d,e)})}),Ob=l(function(t,n,a,b,i,d,e,s){return ve([t,n,a,b,i,d,e,s],function(){return u(t,n,a,b,i,d,e,s)})}),Sb=o(function(t,n,a,b,i,d,e,s,l){return ve([t,n,a,b,i,d,e,s,l],function(){return p(t,n,a,b,i,d,e,s,l)})}),Ib=t(function(e,a){return{$:"a0",n:e,o:a}}),Rb=t(function(e,a){return{$:"a1",n:e,o:a}}),Bb=t(function(e,a){return{$:"a2",n:e,o:a}}),Db=t(function(e,a){return{$:"a3",n:e,o:a}}),Kb=b(function(e,a,t){return{$:"a4",n:a,o:{f:e,o:t}}}),Jb=t(function(e,a){return"a0"===a.$?h(Ib,a.n,Ae(e,a.o)):a}),Gb=t(function(e,a){return T(e(a.a),a.b)}),qb=t(function(e,a){return{t:e(a.t),ad:a.ad,aa:a.aa}});try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){oa=!0}}))}catch(a){}var Fb,Mb,Xb=d(function(e,a,t,b,n){for(var d,s=e.length,l=a+s<=n.length,o=0;l&&o<s;)d=n.charCodeAt(a),l=e[o++]===n[a++]&&(10===d?(t++,b=1):(b++,55296==(63488&d)?e[o++]===n[a++]:1));return L(l?a:-1,t,b)}),Pb=b(function(e,a,t){return t.length<=a?-1:55296==(63488&t.charCodeAt(a))?e(N(t.substr(a,2)))?a+2:-1:e(N(t[a]))?"\n"===t[a]?-2:a+1:-1}),Hb=b(function(e,a,t){return t.charCodeAt(a)===e}),Wb=t(function(e,a){for(;e<a.length;e++){var t=a.charCodeAt(e);if(48>t||57<t)return e}return e}),zb=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 T(a,n)}),Zb=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 T(e,b)}),Ub=d(function(e,a,t,b,n){for(var d=n.indexOf(e,a),i=0>d?n.length:d+e.length;a<i;){var s=n.charCodeAt(a++);10===s?(b=1,t++):(b++,55296==(63488&s)&&a++)}return L(d,t,b)}),Yb=Fb||n(function(e,a,t,b){return V(a,b,e.bn,e.bL,e.bI,function(a,t){var n=e.bO,d=b.node,i=Ve(d);return ea(t,function(e){var t=n(e),b=Ie(i,t);d=He(d,i,b,a),i=t})})}),Vb=Mb||n(function(e,a,t,b){return V(a,b,e.bn,e.bL,e.bI,function(a,t){var b=e.O&&e.O(a),n=e.bO,d=vb.title,i=vb.body,s=Ve(i);return ea(t,function(e){la=b;var t=n(e),l=xb("body")(ka)(t.a6),o=Ie(s,l);i=He(i,s,o,a),s=l,la=0,d!==t.bK&&(vb.title=d=t.bK)})})}),Qb="undefined"==typeof cancelAnimationFrame?function(e){clearTimeout(e)}:cancelAnimationFrame,en="undefined"==typeof requestAnimationFrame?function(e){return setTimeout(e,1e3/60)}:requestAnimationFrame,an=t(function(e,a){return h(Pi,Yi,P(function(){a&&history.go(a),e()}))}),tn=t(function(e,a){return h(Pi,Yi,P(function(){history.pushState({},"",a),e()}))}),bn=t(function(e,a){return h(Pi,Yi,P(function(){history.replaceState({},"",a),e()}))}),nn={addEventListener:function(){},removeEventListener:function(){}},dn="undefined"==typeof document?nn:document,sn="undefined"==typeof window?nn:window,ln=b(function(e,a,t){return z(P(function(){function b(e){W(t(e))}return e.addEventListener(a,b,oa&&{passive:!0}),function(){e.removeEventListener(a,b)}}))}),on=t(function(e,a){var t=I(e,a);return Yn(t)?Cn(t.a):Tn}),rn=t(function(e,a){return aa(a,function(a){return a[e](),Ka})}),hn=t(function(e,a){return ta(function(){return sn.scroll(e,a),Ka})}),cn=b(function(e,a,t){return aa(e,function(e){return e.scrollLeft=a,e.scrollTop=t,Ka})}),$n=t(function(e,a){return e(a)}),gn=t(function(e,a){if(!a.$){var t=a.a;return t}return e}),fn=ma,mn=b(function(e,a,b){var n=b.c,d=b.d,i=t(function(a,t){if(!a.$){var b=a.a;return $(fn,i,t,b)}var n=a.a;return $(fn,e,t,n)});return $(fn,i,$(fn,e,a,d),n)}),un=1,pn=0,vn=xa,yn=function(e){return $(mn,vn,ka,e)},kn=2,xn=b(function(e,a,b){foldr:for(;;){if(-2===b.$)return a;var n=b.b,d=b.c,i=b.d,s=b.e,l=e,o=$(e,n,d,$(xn,e,a,s));e=l,a=o,b=i;continue foldr}}),An=function(e){return $(xn,b(function(e,a,t){return h(vn,T(e,a),t)}),ka,e)},En=function(e){return $(xn,b(function(e,a,t){return h(vn,e,t)}),ka,e)},jn=function(e){return En(e)},Cn=function(e){return{$:0,a:e}},Tn={$:1},Ln=n(function(e,a,t,b){return{bm:a,bp:e,br:t,aZ:b}}),Nn={bd:T(0,0),W:"example.svg",T:"<svg> . . . </svg>",X:0,Z:0,aX:0,bM:h(gn,Ga,function(e){return h(qa,{ag:!1,aD:!1},e)}("!|#|\\$|%|&|'|\\(|\\)|\\*|\\+|,|\\/|:|;|=|\\?|@|\\[|\\]"))},_n=function(e){return{$:0,a:e}},wn=b(function(e,a,t){return a(e(t))}),On=function(e){return e},Sn={$:-2},In=Sn,Rn=Da,Bn=t(function(e,a){get:for(;;){if(-2===a.$)return Tn;var t=a.b,b=a.c,n=a.d,d=a.e,i=h(Rn,e,t);switch(i){case 0:var s=e,l=n;e=s,a=l;continue get;case 1:return Cn(b);default:var s=e,l=d;e=s,a=l;continue get;}}}),Dn=d(function(t,a,b,n,d){return{$:-1,a:t,b:a,c:b,d:n,e:d}}),Kn=d(function(e,a,t,b,n){if(-1===n.$&&!n.a){var d=n.a,i=n.b,s=n.c,l=n.d,o=n.e;if(-1===b.$&&!b.a){var r=b.a,h=b.b,c=b.c,$=b.d,f=b.e;return g(Dn,0,a,t,g(Dn,1,h,c,$,f),g(Dn,1,i,s,l,o))}return g(Dn,e,i,s,g(Dn,0,a,t,b,l),o)}if(-1===b.$&&!b.a&&-1===b.d.$&&!b.d.a){var m=b.a,h=b.b,c=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(Dn,0,h,c,g(Dn,1,v,y,k,x),g(Dn,1,a,t,f,n))}return g(Dn,e,a,t,b,n)}),Jn=b(function(e,a,t){if(-2===t.$)return g(Dn,0,e,a,Sn,Sn);var b=t.a,n=t.b,d=t.c,i=t.d,s=t.e,l=h(Rn,e,n);return 0===l?g(Kn,b,n,d,$(Jn,e,a,i),s):1===l?g(Dn,b,n,a,i,s):g(Kn,b,n,d,i,$(Jn,e,a,s))}),Gn=b(function(e,a,t){var b=$(Jn,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(Dn,1,d,i,s,l)}return b}),qn=function(e){getMin:for(;;)if(-1===e.$&&-1===e.d.$){var a=e.d;e=a;continue getMin}else return e},Fn=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,i=n.b,s=n.c,l=n.d,o=n.e,r=e.e,h=r.a,c=r.b,$=r.c,f=r.d,m=f.a,u=f.b,p=f.c,y=f.d,x=f.e,A=r.e;return g(Dn,0,u,p,g(Dn,1,t,b,g(Dn,0,i,s,l,o),y),g(Dn,1,c,$,x,A))}var a=e.a,t=e.b,b=e.c,E=e.d,d=E.a,i=E.b,s=E.c,l=E.d,o=E.e,j=e.e,h=j.a,c=j.b,$=j.c,f=j.d,A=j.e;return 1===a?g(Dn,1,t,b,g(Dn,0,i,s,l,o),g(Dn,0,c,$,f,A)):g(Dn,1,t,b,g(Dn,0,i,s,l,o),g(Dn,0,c,$,f,A))}return e},Mn=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,i=n.b,s=n.c,l=n.d,o=l.a,r=l.b,h=l.c,c=l.d,$=l.e,f=n.e,m=e.e,u=m.a,p=m.b,y=m.c,x=m.d,A=m.e;return g(Dn,0,i,s,g(Dn,1,r,h,c,$),g(Dn,1,t,b,f,g(Dn,0,p,y,x,A)))}var a=e.a,t=e.b,b=e.c,E=e.d,d=E.a,i=E.b,s=E.c,j=E.d,f=E.e,C=e.e,u=C.a,p=C.b,y=C.c,x=C.d,A=C.e;return 1===a?g(Dn,1,t,b,g(Dn,0,i,s,j,f),g(Dn,0,p,y,x,A)):g(Dn,1,t,b,g(Dn,0,i,s,j,f),g(Dn,0,p,y,x,A))}return e},Xn=s(function(e,a,t,b,n,d,i){if(-1===d.$&&!d.a){var s=d.a,l=d.b,o=d.c,r=d.d,h=d.e;return g(Dn,t,l,o,r,g(Dn,0,b,n,h,i))}_n2$2:for(;;)if(-1!==i.$||1!==i.a)break _n2$2;else if(-1===i.d.$){if(1===i.d.a){var c=i.a,$=i.d,f=$.a;return Mn(a)}break _n2$2}else{var m=i.a,u=i.d;return Mn(a)}return a}),Pn=function(e){if(-1===e.$&&-1===e.d.$){var a=e.a,t=e.b,b=e.c,n=e.d,d=n.a,i=n.d,s=e.e;if(1===d){if(-1===i.$&&!i.a){i.a;return g(Dn,a,t,b,Pn(n),s)}var l=Fn(e);if(-1===l.$){var o=l.a,r=l.b,h=l.c,c=l.d,$=l.e;return g(Kn,o,r,h,Pn(c),$)}return Sn}return g(Dn,a,t,b,Pn(n),s)}return Sn},Hn=t(function(e,a){if(-2===a.$)return Sn;var t=a.a,b=a.b,n=a.c,d=a.d,i=a.e;if(0>C(e,b)){if(-1===d.$&&1===d.a){var s=d.a,l=d.d;if(-1===l.$&&!l.a){l.a;return g(Dn,t,b,n,h(Hn,e,d),i)}var o=Fn(a);if(-1===o.$){var r=o.a,c=o.b,$=o.c,f=o.d,m=o.e;return g(Kn,r,c,$,h(Hn,e,f),m)}return Sn}return g(Dn,t,b,n,h(Hn,e,d),i)}return h(Wn,e,u(Xn,e,a,t,b,n,d,i))}),Wn=t(function(e,a){if(-1===a.$){var t=a.a,b=a.b,n=a.c,d=a.d,i=a.e;if(E(e,b)){var s=qn(i);if(-1===s.$){var l=s.b,o=s.c;return g(Kn,t,l,o,d,Pn(i))}return Sn}return g(Kn,t,b,n,d,h(Hn,e,i))}return Sn}),zn=t(function(e,a){var t=h(Hn,e,a);if(-1===t.$&&!t.a){var b=t.a,n=t.b,d=t.c,i=t.d,s=t.e;return g(Dn,1,n,d,i,s)}return t}),Zn=b(function(e,a,t){var b=a(h(Bn,e,t));if(!b.$){var n=b.a;return $(Gn,e,n,t)}return h(zn,e,t)}),Un=function(e){return!e.$},Yn=function(e){return!e.$},Vn=32,Qn=n(function(e,a,t,b){return{$:0,a:e,b:a,c:t,d:b}}),ed=ot,ad=t(function(e,a){return ct(a)/ct(e)}),td=ed(h(ad,2,Vn)),bd=[],nd=r(Qn,0,td,bd,bd),dd=function(e){return{$:1,a:e}},id=function(e){return{$:0,a:e}},sd=ha,ld=b(function(e,a,t){foldl:for(;;){if(!t.b)return a;var b=t.a,n=t.b,d=e,i=h(e,b,a);e=d,a=i,t=n;continue foldl}}),od=function(e){return $(ld,vn,ka,e)},rd=t(function(e,a){compressNodes:for(;;){var t=h(sd,Vn,e),b=t.a,n=t.b,d=h(vn,id(b),a);if(!n.b)return od(d);e=n,a=d;continue compressNodes}}),hd=t(function(e,a){return a(e)}),cd=function(e){var a=e.a;return a},$d=t(function(e,a){treeFromBuilder:for(;;){var t=ed(a/Vn);if(1===t)return h(sd,Vn,e).a;var b=h(rd,e,ka);e=b,a=t;continue treeFromBuilder}}),gd=t(function(e,a){return 0<C(e,a)?e:a}),fd=function(e){return e.length},md=t(function(e,a){if(!a.e)return r(Qn,fd(a.g),td,bd,a.g);var t=a.e*Vn,b=ba(h(ad,Vn,t-1)),n=e?od(a.h):a.h,d=h($d,n,a.e);return r(Qn,fd(a.g)+t,h(gd,5,b*td),d,a.g)}),ud=ra,pd=d(function(e,a,t,b,n){initializeHelp:for(;;){if(0>a)return h(md,!1,{h:b,e:0|t/Vn,g:n});var d=dd($(ud,Vn,a,e)),i=e,s=a-Vn,l=t,o=h(vn,d,b),r=n;e=i,a=s,t=l,b=o,n=r;continue initializeHelp}}),vd=t(function(e,a){if(0>=e)return nd;var t=e%Vn,b=$(ud,t,e-t,a);return g(pd,a,e-t-Vn,e,ka,b)}),yd=function(e){return{$:1,a:e}},kd=t(function(e,a){return{$:3,a:e,b:a}}),xd=t(function(e,a){return{$:0,a:e,b:a}}),Ad=t(function(e,a){return{$:1,a:e,b:a}}),Ed=function(e){return{$:2,a:e}},jd=function(e){var a=e.charCodeAt(0);return 55296<=a&&56319>=a?1024*(a-55296)+e.charCodeAt(1)-56320+65536:a},Cd=function(e){var a=jd(e);return 97<=a&&122>=a},Td=function(e){var a=jd(e);return 90>=a&&65<=a},Ld=function(e){return Cd(e)||Td(e)},Nd=function(e){var a=jd(e);return 57>=a&&48<=a},_d=function(e){return Cd(e)||Td(e)||Nd(e)},wd=function(e){return $(ld,t(function(e,a){return a+1}),0,e)},Od=b(function(e,a,t){rangeHelp:for(;;)if(1>C(e,a)){var b=e,n=a-1,d=h(vn,a,t);e=b,a=n,t=d;continue rangeHelp}else return t}),Sd=t(function(e,a){return $(Od,e,a,ka)}),Id=t(function(e,a){return $(Aa,e,h(Sd,0,wd(a)-1),a)}),Rd=function(e){return e+""},Bd=t(function(e,a){return h(Et,e,y(a))}),Dd=function(e){var a=e.charCodeAt(0);return a?Cn(55296<=a&&56319>=a?T(N(e[0]+e[1]),e.slice(2)):T(N(e[0]),e.slice(1))):Tn},Kd=t(function(e,a){return v(h(At,e,a))}),Jd=function(e){return h(Bd,"\n ",h(Kd,"\n",e))},Gd=t(function(e,a){return"\n\n("+(Rd(e+1)+(") "+Jd(qd(a))))}),qd=function(e){return h(Fd,e,ka)},Fd=t(function(e,a){errorToStringHelp:for(;;)switch(e.$){case 0:var t=e.a,b=e.b,n=function(){var e=Dd(t);if(1===e.$)return!1;var a=e.a,b=a.a,n=a.b;return Ld(b)&&h(Tt,_d,n)}(),d=n?"."+t:"['"+(t+"']"),s=b,l=h(vn,d,a);e=s,a=l;continue errorToStringHelp;case 1:var o=e.a,b=e.b,i="["+(Rd(o)+"]"),s=b,l=h(vn,i,a);e=s,a=l;continue errorToStringHelp;case 2:var r=e.a;if(!r.b)return"Ran into a Json.Decode.oneOf with no possibilities"+function(){return a.b?" at json"+h(Bd,"",od(a)):"!"}();if(!r.b.b){var b=r.a,s=b,l=a;e=s,a=l;continue errorToStringHelp}else{var c=function(){return a.b?"The Json.Decode.oneOf at json"+h(Bd,"",od(a)):"Json.Decode.oneOf"}(),$=c+(" failed in the following "+(Rd(wd(r))+" ways:"));return h(Bd,"\n\n",h(vn,$,h(Id,Gd,r)))}default:var g=e.a,f=e.b,$=function(){return a.b?"Problem with the value at json"+(h(Bd,"",od(a))+":\n\n "):"Problem with the given value:\n\n"}();return $+(Jd(h(Ut,4,f))+("\n\n"+g));}}),Md=sb,Xd=lb,Pd=t(function(t,b){if(!b.$){var n=b.a;return _n(t(n))}var a=b.a;return yd(a)}),Hd=t(function(e,a){return{$:3,a:e,b:a}}),Wd=function(e){return{$:0,a:e}},zd=t(function(e,a){return{$:4,a:e,b:a}}),Zd={$:2},Ud=function(e){return{$:1,a:e}},Yd=function(e){return{$:0,a:e}},Vd={$:1},Qd=t(function(e,a){return $($b,"",On,h(wn,a,e))}),ei=t(function(a,t){if(!t.$){var b=t.a;return _n(b)}var n=t.a;return yd(a(n))}),ai=function(e){return{$:4,a:e}},ti=function(e){return{$:3,a:e}},bi=function(e){return{$:0,a:e}},ni={$:2},di={$:1},ii=t(function(e,a){switch(a.$){case 0:var t=a.a;return yd(bi(t));case 1:return yd(di);case 2:return yd(ni);case 3:var b=a.a;return yd(ti(b.aY));default:var n=a.b;return h(ei,ai,e(n));}}),si={$:0},li=function(e){return{$:1,a:e}},oi=M,ri=t(function(e,a){return{aO:e,a_:a}}),hi=oi(h(ri,In,ka)),ci=Qt,$i=function(e){return P(function(a){var t=e.f;2===t.$&&t.c&&t.c(),e.f=null,a(M(0))})},gi=b(function(e,a,t){updateReqs:for(;;){if(!a.b)return oi(t);var b=a.a,n=a.b;if(!b.$){var d=b.a,i=h(Bn,d,t);if(1===i.$){var s=e,l=t;e=s,a=n,t=l;continue updateReqs}else{var o=i.a;return h(ci,function(){return $(gi,e,n,h(zn,d,t))},$i(o))}}else{var r=b.a;return h(ci,function(a){var b=r.o;if(1===b.$)return $(gi,e,n,t);var d=b.a;return $(gi,e,n,$(Gn,d,a,t))},z($(cb,e,Md(e),r)))}}}),fi=n(function(e,a,t,b){return h(ci,function(e){return oi(h(ri,e,t))},$(gi,e,a,b.aO))}),mi=n(function(e,t,n,i){if(!i.b)return t;var s=i.a,a=i.b;if(!a.b)return h(e,s,t);var l=a.a,b=a.b;if(!b.b)return h(e,s,h(e,l,t));var o=b.a,c=b.b;if(!c.b)return h(e,s,h(e,l,h(e,o,t)));var g=c.a,d=c.b,f=500<n?$(ld,e,t,od(d)):r(mi,e,t,n+1,d);return h(e,s,h(e,l,h(e,o,h(e,g,f))))}),ui=b(function(e,a,t){return r(mi,e,a,0,t)}),pi=b(function(e,a,t){var b=e(a);if(!b.$){var n=b.a;return h(vn,n,t)}return t}),vi=t(function(e,a){return $(ui,pi(e),ka,a)}),yi=b(function(e,a,t){return h(ci,function(n){return h(ci,function(a){return oi(h(e,n,a))},t)},a)}),ki=function(e){return $(ui,yi(vn),oi(ka),e)},xi=n(function(e,a,t,b){var n=b.a,d=b.b;return E(a,n)?Cn(h(Md,e,d(t))):Tn}),Ai=b(function(e,a,t){var b=a.a,n=a.b;return h(ci,function(){return oi(t)},ki(h(vi,$(xi,e,b,n),t.a_)))}),Ei=function(e){return{$:0,a:e}},ji=t(function(e,a){if(!a.$){var t=a.a;return Ei(t)}var b=a.a;return li({B:b.B,a6:b.a6,bf:h(gb,e,b.bf),i:b.i,m:b.m,n:b.n,o:b.o,bN:b.bN})}),Ci=t(function(e,a){return{$:0,a:e,b:a}}),Ti=t(function(e,a){var t=a.a,b=a.b;return h(Ci,t,h(wn,b,e))});ib.Http=ee(hi,fi,Ai,ji,Ti);var Li=te("Http"),Ni=te("Http"),_i=function(e){return Li(li({B:!1,a6:e.a6,bf:e.bf,i:e.i,m:e.m,n:e.n,o:e.o,bN:e.bN}))},wi=function(e){return _i({a6:si,bf:e.bf,i:ka,m:"GET",n:Tn,o:Tn,bN:e.bN})}({bf:function(e){return h(Qd,e,ii(_n))}(function(e){return{$:1,a:e}}),bN:"assets/example.svg"}),Oi=t(function(e,a){if(!a.$){var t=a.a;return _(e,{T:t,X:1})}return _(e,{X:1})}),Si=function(e){return e?0:1},Ii=function(e){return{$:1,a:e}},Ri=function(e){return{$:0,a:e}},Bi=function(e){return{$:5,a:e}},Di=oi(0),Ki=t(function(e,a){return $(ui,t(function(a,t){return h(vn,e(a),t)}),ka,a)}),Ji=t(function(e,a){return h(ci,function(t){return oi(e(t))},a)}),Gi=t(function(e,a){return z(h(ci,Md(e),a))}),qi=b(function(e,a){return h(Ji,function(){return 0},ki(h(Ki,Gi(e),a)))}),Fi=b(function(){return oi(0)}),Mi=t(function(e,a){return h(Ji,e,a)});ib.Task=ee(Di,qi,Fi,Mi);var Xi=te("Task"),Pi=t(function(e,a){return Xi(h(Ji,e,a))}),Hi=function(e){return e.name},Wi=function(e){return P(function(a){var t=new FileReader;return t.addEventListener("loadend",function(){a(M(t.result))}),t.readAsText(e),function(){t.abort()}})},zi=t(function(e,a){return h(Pi,a,me(e))}),Zi=t(function(e,a){if(!a.$)return T(e,h(zi,v(["image/svg+xml"]),function(e){return Bi(Ii(e))}));var t=a.a;return T(_(e,{W:Hi(t)}),h(Pi,Ri,Wi(t)))}),Ui=be(ka),Yi=function(e){never:for(;;){var a=e;e=a;continue never}},Vi=b(function(e,a,t){return h(Pi,Yi,$(pb,e,a,t))}),Qi=t(function(e,a){switch(e.$){case 0:var t=e.a;return T(_(a,{T:t}),Ui);case 1:var b=e.a;return T(h(Oi,a,b),Ui);case 2:var n=e.a;return T(_(a,{aX:n}),Ui);case 3:return T(_(a,{Z:Si(a.Z)}),Ui);case 4:return T(a,$(Vi,a.W,"image/svg+xml",a.T));case 5:var d=e.a;return h(Zi,a,d);default:var i=e.a;return T(_(a,{bd:i}),Ui);}}),es=t(function(e,t){if(!t.$){var b=t.a;return b}return e}),as=Gt,ts=qt,bs=function(e){return{$:0,a:e}},ns=function(e){switch(e.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3;}},ds=xb("code"),is=xb("pre"),ss=pe,ls=function(e){return v([e])},os=t(function(e,a){return h(Bb,e,q(a))}),rs=os("className"),hs=xb("div"),cs=t(function(e,a){return h(Db,ye(e),xe(a))}),$s=t(function(e,a){return $(ui,t(function(a,t){return e(a)?h(vn,a,t):t}),ka,a)}),gs=function(e){var a=e.b;return a},fs=function(e){return rs(h(Bd," ",h(Ki,cd,h($s,gs,e))))},ms=function(e){return""===e},us=xb("span"),ps=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"}()},vs=function(e){var a=e.bJ,t=e.bw,b=e.a4;return!t&&ms(b)?ss(a):h(us,v([fs(v([T(ps(t),t),T("elmsh-"+b,""!==b)]))]),v([ss(a)]))},ys=b(function(e,a,t){var b=t.bi,n=t.bk;return h(hs,v([fs(v([T("elmsh-line",!0),T("elmsh-hl",E(n,Cn(0))),T("elmsh-add",E(n,Cn(1))),T("elmsh-del",E(n,Cn(2)))])),h(cs,"data-elmsh-lc",Rd(e+a))]),h(Ki,vs,b))}),ks=t(function(e,a){return a.b?$(ui,vn,a,e):e}),xs=function(e){return $(ui,ks,ka,e)},As=function(e){return h(ds,v([rs("elmsh")]),xs(h(Ki,function(e){var a=e.bk,t=e.bi;return E(a,Tn)?h(Ki,vs,t):v([h(us,v([fs(v([T("elmsh-hl",E(a,Cn(0))),T("elmsh-add",E(a,Cn(1))),T("elmsh-del",E(a,Cn(2)))]))]),h(Ki,vs,t))])},e)))},Es=t(function(e,a){if(1===e.$)return h(is,v([rs("elmsh")]),v([As(a)]));var t=e.a;return h(is,v([rs("elmsh")]),ls(h(ds,ka,h(Id,ys(t),a))))}),js=t(function(e,a){return h(Es,e,a)}),Cs=b(function(e,a,t){return{ai:a,aI:t,aS:e}}),Ts=function(e){return $(Cs,e.aS,e.ai,e.aI)},Ls=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(vn,b,a);e=n,a=d;continue bagToList;default:var t=e.a,i=e.b,n=t,d=h(Ls,i,a);e=n,a=d;continue bagToList;}}),Ns=t(function(e,a){var t=e({ai:1,c:ka,d:1,b:0,aS:1,a:a});if(!t.$){var b=t.b;return _n(b)}var n=t.b;return yd(h(Ls,n,ka))}),_s=t(function(e,t){var b=h(Ns,e,t);if(!b.$){var n=b.a;return _n(n)}var a=b.a;return yd(h(Ki,Ts,a))}),ws=t(function(e,a){return{$:1,a:e,b:a}}),Os=b(function(e,a,t){return{$:0,a:e,b:a,c:t}}),Ss=t(function(e,t){return function(b){var n=t(b);if(!n.$){var d=n.a,i=n.b,a=n.c;return $(Os,d,e(i),a)}var d=n.a,s=n.b;return h(ws,d,s)}}),Is=Ss,Rs=function(e){return{$:1,a:e}},Bs=function(e){return{$:0,a:e}},Ds=function(e){if(!e.$){var t=e.a;return Bs(t)}var b=e.a;return Rs(b)},Ks=n(function(e,a,t,b){loopHelp:for(;;){var n=t(a),d=n(b);if(!d.$){var i=d.a,s=d.b,l=d.c;if(!s.$){var o=s.a,r=e||i,c=t;e=r,a=o,t=c,b=l;continue loopHelp}else{var g=s.a;return $(Os,e||i,g,l)}}else{var i=d.a,f=d.b;return h(ws,e||i,f)}}}),Js=t(function(e,a){return function(t){return r(Ks,!1,e,a,t)}}),Gs=t(function(e,a){return h(Js,e,function(e){return h(Is,Ds,a(e))})}),qs=function(e){return{$:1,a:e}},Fs=function(e){return{$:0,a:e}},Ms=t(function(e){return e}),Xs=jt,Ps=t(function(e,t){return function(b){var n=t(b);if(1===n.$){var d=n.a,i=n.b;return h(ws,d,i)}var d=n.a,s=n.b,a=n.c;return $(Os,d,h(e,$(Xs,b.b,a.b,b.a),s),a)}}),Hs=function(e){return h(Ps,Ms,e)},Ws={$:0},zs=t(function(e,a){return{$:2,a:e,b:a}}),Zs=b(function(e,a,t){oneOfHelp:for(;;){if(!t.b)return h(ws,!1,a);var b=t.a,n=t.b,d=b(e);if(!d.$){var i=d;return i}var i=d,s=i.a,l=i.b;if(s)return i;var o=e,r=h(zs,a,l);e=o,a=r,t=n;continue oneOfHelp}}),Us=function(e){return function(a){return $(Zs,a,Ws,e)}},Ys=function(e){return function(a){return $(Os,!1,e,a)}},Vs={$:11},Qs=t(function(e,a){return{$:1,a:e,b:a}}),el=n(function(e,a,t,b){return{ai:a,a9:b,aI:t,aS:e}}),al=t(function(e,a){return h(Qs,Ws,r(el,e.aS,e.ai,a,e.c))}),tl=Pb,bl=t(function(e,a){return function(t){var b=$(tl,e,t.b,t.a);return E(b,-1)?h(ws,!1,h(al,t,a)):E(b,-2)?$(Os,!0,0,{ai:1,c:t.c,d:t.d,b:t.b+1,aS:t.aS+1,a:t.a}):$(Os,!0,0,{ai:t.ai+1,c:t.c,d:t.d,b:b,aS:t.aS,a:t.a})}}),nl=function(e){return h(bl,e,Vs)},dl=d(function(e,a,t,b,n){chompWhileHelp:for(;;){var d=$(tl,e,a,n.a);if(E(d,-1))return $(Os,0>C(n.b,a),0,{ai:b,c:n.c,d:n.d,b:a,aS:t,a:n.a});if(E(d,-2)){var i=e,s=a+1,l=t+1,o=1,r=n;e=i,a=s,t=l,b=o,n=r;continue chompWhileHelp}else{var i=e,s=d,l=t,o=b+1,r=n;e=i,a=s,t=l,b=o,n=r;continue chompWhileHelp}}}),il=function(e){return function(a){return g(dl,e,a.b,a.aS,a.ai,a)}},sl=b(function(e,t,n){return function(d){var i=t(d);if(1===i.$){var s=i.a,l=i.b;return h(ws,s,l)}var o=i.a,r=i.b,a=i.c,c=n(a);if(1===c.$){var g=c.a,l=c.b;return h(ws,o||g,l)}var g=c.a,f=c.b,b=c.c;return $(Os,o||g,h(e,r,f),b)}}),ll=t(function(e,a){return $(sl,Ms,e,a)}),ol=ll,rl=function(e){return h(ol,h(ol,Ys(0),nl(e)),il(e))},hl=function(e){return"\n"===e},cl={$:0},$l=t(function(e,t){return function(n){var d=t(n);if(1===d.$){var i=d.a,s=d.b;return h(ws,i,s)}var l=d.a,o=d.b,a=d.c,r=e(o),c=r(a);if(1===c.$){var g=c.a,s=c.b;return h(ws,l||g,s)}var g=c.a,f=c.b,b=c.c;return $(Os,l||g,f,b)}}),gl=$l,fl=function(e){return{$:8,a:e}},ml=t(function(e,a){return{$:0,a:e,b:a}}),ul=function(e){var a=e.a,t=e.b,b=!ms(a);return function(e){var n=g(Xb,a,e.b,e.aS,e.ai,e.a),d=n.a,i=n.b,s=n.c;return E(d,-1)?h(ws,!1,h(al,e,t)):$(Os,b,0,{ai:s,c:e.c,d:e.d,b:d,aS:i,a:e.a})}},pl=function(e){return ul(h(ml,e,fl(e)))},vl=function(e){return{$:12,a:e}},yl=function(e){return function(a){return h(ws,!1,h(al,a,e))}},kl=function(e){return yl(vl(e))},xl=function(e){return e.length},Al=function(e){return function(a){return E(xl(a.a),a.b)?$(Os,!1,0,a):h(ws,!1,h(al,a,e))}}({$:10}),El=b(function(e,a,t){return h(gl,function(t){return e(w(t,a))},t)}),jl=b(function(e,a,t){return h(gl,function(t){return e(h(vn,t,a))},t)}),Cl=t(function(e,a){return h(ol,a,il(e))}),Tl=t(function(e,a){var t=e.am,b=e.ay,n=e.an,d=e.av;return Us(v([h(Is,Ms(h(vn,t(n),a)),pl(n)),h(Is,Ms(a),Al),$(El,Tl(e),a,Us(d)),$(jl,Tl(e),a,h(Is,t,Hs(h(Cl,b,nl(Ms(!0))))))]))}),Ll=b(function(e,a,t){var b=a.am,n=a.ay,d=a.ac,i=a.an,s=a.av;return Us(v([h(gl,function(t){return 1===e?Ys(t):$(Ll,e-1,a,t)},h(Is,Ms(h(vn,b(i),t)),pl(i))),$(jl,h(Ll,e+1,a),t,h(Is,b,Hs(h(Cl,n,pl(d))))),$(El,Tl(a),t,Us(s)),h(Is,Ms(t),Al),$(jl,h(Ll,e,a),t,h(Is,b,Hs(h(Cl,n,nl(Ms(!0))))))]))}),Nl=t(function(e,a){var t=e.ac,b=e.an,n=e.ay,d=T(Dd(e.ac),Dd(e.an));if(1===d.a.$){d.a;return kl("Trying to parse a delimited helper, but the start token cannot be an empty string!")}if(1===d.b.$){d.b;return kl("Trying to parse a delimited helper, but the end token cannot be an empty string!")}var i=d.a.a,s=i.a,l=d.b.a,o=l.a;return e.ax?$(Ll,1,_(e,{ay:function(e){return n(e)&&!E(e,s)&&!E(e,o)}}),a):h(Tl,_(e,{ay:function(e){return n(e)&&!E(e,o)}}),a)}),_l=function(e){var a=e.ac,t=e.ay,b=e.am;return h(gl,function(a){return h(Nl,e,v([a]))},h(Is,Ms(b(a)),pl(a)))},wl={$:1},Ol=b(function(e,a,t){return e(a(t))}),Sl=function(e){return{$:3,a:e}},Il={$:2},Rl=h(Is,function(){return T(Il,"\n")},pl("\n")),Bl=h(Is,ls,Rl),Dl={am:function(e){return T(Sl(2),e)},an:"\"",av:v([Bl]),ax:!1,ay:h(Ol,function(e){return!e},hl),ac:"\""},Kl=_l(_(Dl,{am:function(e){return T(wl,e)},an:"-->",ac:"<!--"})),Jl=h(ol,h(ol,Ys(0),nl(function(e){return"<"===e})),Us(v([nl(function(e){return"/"===e||"!"===e||"?"===e}),Ys(0)]))),Gl=function(e){return" "===e||"\t"===e},ql=function(e){return Gl(e)||hl(e)},Fl=_l(Dl),Ml=_l(_(Dl,{an:"'",ac:"'"})),Xl=Us(v([Fl,Ml,h(Is,function(e){return v([T(Sl(2),e)])},Hs(rl(function(e){return!ql(e)&&">"!==e})))])),Pl=Us(v([h(Is,function(e){return T(cl,e)},Hs(rl(Gl))),Rl])),Hl=function(e){return Us(v([$(jl,Hl,e,Pl),$(El,Ys,e,Xl),Ys(e)]))},Wl=function(e){return Us(v([$(jl,Wl,e,Pl),$(jl,Hl,e,h(Is,function(){return T(cl,"=")},pl("="))),Ys(e)]))},zl=function(e){return Td(e)||Cd(e)||Nd(e)},Zl=function(e){return zl(e)||"-"===e},Ul=function(e){return Zl(e)||"_"===e},Yl=function(e){return Us(v([h(Is,Fs,$(jl,Wl,e,h(Is,function(e){return T(Sl(1),e)},Hs(rl(Ul))))),h(Is,function(a){return Fs(h(vn,a,e))},Pl),h(Is,function(a){return Fs(h(vn,T(cl,a),e))},Hs(rl(function(e){return!ql(e)&&">"!==e}))),Ys(qs(e))]))},Vl=function(e){return Us(v([h(gl,function(a){return h(Gs,h(vn,a,e),Yl)},h(Is,function(e){return T(Sl(0),e)},Hs(h(Cl,Zl,nl(zl))))),Ys(e)]))},Ql=function(e){return h(gl,Vl,h(Is,function(a){return h(vn,T(cl,a),e)},Hs(Jl)))},eo=h(Gs,ka,function(e){return Us(v([h(Is,function(a){return Fs(h(vn,a,e))},Pl),h(Is,function(a){return Fs(w(a,e))},Kl),h(Is,function(a){return Fs(h(vn,T(cl,a),e))},Hs(rl(function(e){return"<"!==e&&!hl(e)}))),h(Is,Fs,Ql(e)),Ys(qs(e))]))}),ao=function(e){return{bi:e,bk:Tn}},to=t(function(e,a){var t=a.a,b=a.b;switch(t.$){case 0:return{a4:"",bw:0,bJ:b};case 1:return{a4:"",bw:1,bJ:b};case 2:return{a4:"",bw:0,bJ:b};default:var n=t.a,d=e(n),i=d.a,s=d.b;return{a4:s,bw:i,bJ:b};}}),bo=b(function(e,a,t){var b=a.a,n=a.b,d=t.a,i=t.b,s=t.c;if(E(b,Il))return L(h(vn,ao(i),d),v([h(to,e,T(b,n))]),Tn);if(E(Cn(b),s)){if(i.b){var l=i.a,o=i.b;return L(d,h(vn,_(l,{bJ:w(n,l.bJ)}),o),s)}return L(d,h(vn,h(to,e,T(b,n)),i),s)}return L(d,h(vn,h(to,e,T(b,n)),i),Cn(b))}),no=t(function(e,a){return function(e){var a=e.a,t=e.b;return h(vn,ao(t),a)}($(ld,bo(e),L(ka,ka,Tn),a))}),io=h(wn,_s(eo),Pd(no(function(e){return 0===e?T(4,"xml-t"):1===e?T(6,"xml-a"):T(3,"xlm-av")}))),so=h(wn,io,Pd(On)),lo=function(e){return h(es,h(is,ka,v([h(ds,ka,v([ss(e.T)]))])),h(Pd,js(Tn),so(""===e.T?"<svg ...> ... </svg>":e.T)))},oo=function(e){return{$:0,a:e}},ro=Ib,ho=t(function(e,a){return h(ro,e,oo(a))}),co=t(function(e,a){return $(ui,Dt,a,e)}),$o=Ot,go=function(e){return h(ho,"scroll",h(as,e,$(ts,function(e){return function(a){return T(e,a)}},h(co,v(["target","scrollLeft"]),$o),h(co,v(["target","scrollTop"]),$o))))},fo=function(e){return{$:6,a:e}},mo=xb("textarea"),uo=os("alt"),po=t(function(e,a){return h(Bb,e,q(a))}),vo=po("spellcheck"),yo=os("value"),ko=function(e){return T(e,!0)},xo=function(e){return{$:1,a:e}},Ao=t(function(e,a){return h(ro,e,xo(a))}),Eo=h(co,v(["target","value"]),Bt),jo=function(e){return h(Ao,"input",h(as,ko,h(as,e,Eo)))},Co=function(e){return h(mo,v([yo(e.T),jo(Ri),go(fo),vo(!1),uo("Text Editor")]),ka)},To=Rd,Lo=function(e){return h(Rb,"transform",e)},No=function(e){var a=e.a,t=e.b;return Lo("translate("+(To(-a)+("px, "+(To(-t)+"px)"))))},_o=os("id"),wo=function(e){return h(hs,v([_o("editor"),uo("Text Editor")]),v([h(hs,v([No(e.bd)]),v([lo(e)])),Co(e)]))},Oo={$:4},So={$:0},Io={$:3},Ro=function(e){return!!e},Bo=xb("img"),Do=function(e){return h(os,"src",xe(e))},Ko=function(e){return h(Bo,v([Do(Ro(e)?"assets/bulb-on.svg":"assets/bulb-off.svg"),uo("Toggle Dark Mode")]),ka)},Jo=h(Bo,v([Do("assets/download.svg"),uo("Download")]),ka),Go=h(Bo,v([_o("error"),Do("assets/error.svg"),uo("Something Went Wrong")]),ka),qo=function(e){return{$:2,a:e}},Fo=function(e){return h(ho,"error",bs(e))},Mo=function(e){return h(ho,"load",bs(e))},Xo=function(e){return!e},Po=function(e){return Xo(e.aX)?Fo(qo(1)):Mo(qo(0))},Ho=h(Bo,v([Do("assets/upload.svg"),uo("Upload")]),ka),Wo=function(e){var a=e.bp;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;}},zo=Xa(1/0),Zo=function(e){return"data:image/svg+xml;utf8,"+$(zo,e.bM,Wo,e.T)},Uo=xb("button"),Yo=function(e){return h(ho,"click",bs(e))},Vo=function(e){return h(hs,v([_o("display"),rs(Ro(e.Z)?"dark":"light")]),v([h(Bo,v([_o("image"),Do(Zo(e)),Po(e),uo("Picture Display")]),ka),Go,h(Uo,v([Yo(Oo),uo("Download")]),v([Jo])),h(Uo,v([Yo(Bi(So)),uo("Upload")]),v([Ho])),h(Uo,v([Yo(Io),uo("Toggle Dark Mode")]),v([Ko(e.Z)]))]))},Qo=h(Bo,v([Do("assets/github.svg"),uo("Github Repository")]),ka),er=xb("a"),ar=Db("rel"),tr=os("target"),br=t(function(e,a){return h(er,w(v([tr("_blank"),ar("noopener noreferrer")]),e),a)}),nr=h(Bo,v([Do("assets/logo.svg"),uo("RawSvg")]),ka),dr=function(e){return h(os,"href",ke(e))},ir=Cb,sr=function(e){return h(hs,v([_o("container"),rs(Xo(e.aX)?"valid":"error")]),v([h(hs,v([_o("title")]),v([nr,h(br,v([dr("https://github.com/GarkGarcia/RawSvg"),_o("github")]),v([Qo])),h(br,v([dr("https://github.com/GarkGarcia/RawSvg/blob/master/LICENSE"),_o("copyright"),rs("elmsh-comm"),uo("License Information")]),v([ss("<!-- GarkGarcia (C) 2019 -->")]))])),Vo(e),h(ir,wo,e)]))},lr=function(e){return{$:1,a:e}},or=function(e){return{$:0,a:e}},rr=On,hr=t(function(e,a){return 1>e?a:$(Xs,e,xl(a),a)}),cr=Nt,$r=wt,gr=t(function(e,a){return 1>e?"":$(Xs,0,e,a)}),fr=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 Tn;t=10*t+a-48}return d==n?Tn:Cn(45==b?-t:t)},mr=i(function(e,a,t,b,n,d){return{ar:d,at:a,aF:b,aH:t,aL:e,aM:n}}),ur=d(function(e,a,t,b,n){if(ms(n)||h(Lt,"@",n))return Tn;var d=h($r,":",n);if(!d.b)return Cn(m(mr,e,n,Tn,a,t,b));if(!d.b.b){var s=d.a,i=fr(h(hr,s+1,n));if(1===i.$)return Tn;return Cn(m(mr,e,h(gr,s,n),i,a,t,b))}return Tn}),pr=n(function(e,a,t,b){if(ms(b))return Tn;var n=h($r,"/",b);if(!n.b)return g(ur,e,"/",a,t,b);var d=n.a;return g(ur,e,h(hr,d,b),a,t,h(gr,d,b))}),vr=b(function(e,a,t){if(ms(t))return Tn;var b=h($r,"?",t);if(!b.b)return r(pr,e,Tn,a,t);var n=b.a;return r(pr,e,Cn(h(hr,n+1,t)),a,h(gr,n,t))}),yr=t(function(e,a){if(ms(a))return Tn;var t=h($r,"#",a);if(!t.b)return $(vr,e,Tn,a);var b=t.a;return $(vr,e,Cn(h(hr,b+1,a)),h(gr,b,a))}),kr=function(e){return h(cr,"http://",e)?h(yr,0,h(hr,7,e)):h(cr,"https://",e)?h(yr,1,h(hr,8,e)):Tn},xr=be(ka),Ar=Vb({bn:function(){return T(Nn,wi)},bI:function(){return xr},bL:Qi,bO:function(e){return{a6:function(){var a=e.X;return a?v([h(ir,sr,e)]):ka}(),bK:"RawSvg"}}});(function(a){e.Elm?le(e.Elm,a):e.Elm=a})({Main:{init:Ar(bs(0))(0)}})})(this);+ \ No newline at end of file