gostart/assets/main.min.js

1 line
37 KiB
JavaScript
Raw Normal View History

!function(W){"use strict";function R(n,r,t){return t.a=n,t.f=r,t}function r(t){return R(2,t,function(r){return function(n){return t(r,n)}})}function t(e){return R(3,e,function(t){return function(r){return function(n){return e(t,r,n)}}})}function n(u){return R(4,u,function(e){return function(t){return function(r){return function(n){return u(e,t,r,n)}}}})}function H(a){return R(5,a,function(u){return function(e){return function(t){return function(r){return function(n){return a(u,e,t,r,n)}}}}})}function F(c){return R(6,c,function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return c(a,u,e,t,r,n)}}}}}})}function q(i){return R(7,i,function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return i(c,a,u,e,t,r,n)}}}}}}})}function s(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function b(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function x(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function v(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function D(n,r,t,e,u,a,c){return 6===n.a?n.f(r,t,e,u,a,c):n(r)(t)(e)(u)(a)(c)}function G(n,r,t,e,u,a,c,i){return 7===n.a?n.f(r,t,e,u,a,c,i):n(r)(t)(e)(u)(a)(c)(i)}function V(n,r){for(var t,e=[],u=I(n,r,0,e);u&&(t=e.pop());u=I(t.a,t.b,0,e));return u}function I(n,r,t,e){if(n!==r){if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&tn(5),!1;if(100<t)e.push({a:n,b:r});else for(var u in n.$<0&&(n=gt(n),r=gt(r)),n)if(!I(n[u],r[u],t+1,e))return!1}return!0}function f(n,r,t){if("object"!=typeof n)return n===r?0:n<r?-1:1;if(void 0===n.$)return(t=(t=f(n.a,r.a))||f(n.b,r.b))||f(n.c,r.c);for(;n.b&&r.b&&!(t=f(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var J=r(function(n,r){n=f(n,r);return n<0?$t:n?dt:lt}),M=0;function e(n,r){var t,e={};for(t in n)e[t]=n[t];for(t in r)e[t]=r[t];return e}function P(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t={$:1,a:n.a,b:r};n=n.b;for(var e=t;n.b;n=n.b)e=e.b={$:1,a:n.a,b:r};return t}var l={$:0};function U(n,r){return{$:1,a:n,b:r}}var X=r(U);function d(n){for(var r=l,t=n.length;t--;)r={$:1,a:n[t],b:r};return r}function K(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var Q=t(function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(s(n,r.a,t.a));return d(e)}),Z=r(function(t,n){return d(K(n).sort(function(n,r){return f(t(n),t(r))}))});var nn=t(function(n,r,t){for(var e=Array(n),u=0;u<n;u++)e[u]=t(r+u);return e}),rn=r(function(n,r){for(var t=Array(n),e=0;e<n&&r.b;e++)t[e]=r.a,r=r.b;return t.length=e,{a:t,b:r}});function tn(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var en=Math.ceil,un=Math.floor,an=Math.log;var cn=r(function(n,r){return r.split(n)}),on=r(function(n,r){return r.join(n)});var fn=r(function(n,r){for(var t=r.length;t--;){var e=r[t],u=r.charCodeAt(t);if(!n(e=u<56320||57343<u?e:r[--t]+e))return!1}return!0});var bn={$:2,b:function(n){return"number"!=typeof n||(n<=-2147483647||2147483647<=n||(0|n)!==n)&&(!isFinite(n)||n%1)?h("an INT",n):m(n)}},sn={$:2,b:function(n){return"boolean"==typeof n?m(n):h("a BOOL",n)}},vn={$:2,b:function(n){return"string"==typeof n?m(n):n instanceof String?m(n+""):h("a STRING",n)}};var ln=r(function(n,r){return{$:6,d:n,b:r}});var u=r(function(n,r){return{$:9,f:n,g:[r]}}),dn=t(function(n,r,t){return{$:9,f:n,g:[r,t]}}),$n=F(function(n,r,t,e,u,a){return{$:9,f:n,g:[r,t,e,u,a]}}),hn=q(function(n,r,t,e,u,a,c){return{$:9,f:n,g:[r,t,e,u,a,c]}}),gn=r(function(n,r){try{return $(n,JSON.parse(r))}catch(n){return p(s(pt,"This is not valid JSON! "+n.message,r))}}),pn=r($);function $(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?m(n.c):h("null",r);case 3:return wn(r)?mn(n.b,r,d):h("a LIST",r);case 4:return wn(r)?mn(n.b,r,kn):h("an ARRAY",r);case 6:var t=n.d;return"object"==typeof r&&null!==r&&t in r?(a=$(n.b,r[t]),y(a)?a:p(s(mt,t,a.a))):h("an OBJECT with a field named `"+t+"`",r);case 7:t=n.e;return wn(r)?t<r.length?(a=$(n.b,r[t]),y(a)?a:p(s(wt,t,a.a))):h("a LONGER array. Need index "+t+" but only see "+r.length+" entries",r):h("an ARRAY