!function(){"use strict";varn,e,t,r,o,i,u,a,k=function(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e]},v=function(t,r){returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];returnt(r.apply(null,arguments))}},E=function(n){returnfunction(){returnn}},h=function(n){returnn},l=function(i){for(varn=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(varu=newArray(arguments.length-1),t=1;t<arguments.length;t++)u[t-1]=arguments[t];returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(vart=newArray(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];varo=u.concat(t);returni.apply(null,o)}},T=function(t){returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return!t.apply(null,arguments)}},c=function(n){returnfunction(){thrownewError(n)}},s=function(n){returnn()},f=E(!1),d=E(!0),m=function(e){returnfunction(n){returnfunction(n){if(null===n)return"null";vare=typeofn;return"object"===e&&Array.prototype.isPrototypeOf(n)?"array":"object"===e&&String.prototype.isPrototypeOf(n)?"string":e}(n)===e}},b=m("string"),g=m("object"),p=m("array"),y=m("boolean"),w=m("function"),x=m("number"),S=Object.prototype.hasOwnProperty,O=function(u){returnfunction(){for(varn=newArray(arguments.length),e=0;e<n.length;e++)n[e]=arguments[e];if(0===n.length)thrownewError("Can't merge zero objects");for(vart={},r=0;r<n.length;r++){varo=n[r];for(variino)S.call(o,i)&&(t[i]=u(t[i],o[i]))}returnt}},C=O(function(n,e){returng(n)&&g(e)?C(n,e):e}),D=O(function(n,e){returne}),A=f,R=d,M=function(){returnI},I=(r={fold:function(n,e){returnn()},is:A,isSome:A,isNone:R,getOr:t=function(n){returnn},getOrThunk:e=function(n){returnn()},getOrDie:function(n){thrownewError(n||"error: getOrDie called on none.")},getOrNull:function(){returnnull},getOrUndefined:function(){returnundefined},or:t,orThunk:e,map:M,ap:M,each:function(){},bind:M,flatten:M,exists:A,forall:R,filter:M,equals:n=function(n){returnn.isNone()},equals_:n,toArray:function(){return[]},toString:E("none()")},Object.freeze&&Object.freeze(r),r),N=function(t){varn=function(){returnt},e=function(){returno},r=function(n){returnn(t)},o={fold:function(n,e){returne(t)},is:function(n){returnt===n},isSome:R,isNone:A,getOr:n,getOrThunk:n,getOrDie:n,getOrNull:n,getOrUndefined:n,or:e,orThunk:e,map:function(n){returnN(n(t))},ap:function(n){returnn.fold(M,function(n){returnN(n(t))})},each:function(n){n(t)},bind:r,flatten:n,exists:r,forall:r,filter:function(n){returnn(t)?o:I},equals:function(n){returnn.is(t)},equals_:function(n,e){returnn.fold(A,function(n){returne(t,n)})},toArray:function(){return[t]},toString:function(){return"some("+t+")"}};returno},B={some:N,none:M,from:function(n){returnnull===n||n===undefined?I:N(n)}},F=Object.keys,V=function(n,e){for(vart=F(n),r=0,o=t.length;r<o;r++){vari=t[r];e(n[i],i,n)}},H=function(n,r){returnz(n,function(n,e,t){return{k:e,v:r(n,e,t)}})},z=function(r,o){vari={};returnV(r,function(n,e){vart=o(n,e,r);i[t.k]=t.v}),i},j=function(n,t){varr=[];returnV(n,function(n,e){r.push(t(n,e))}),r},L=E("touchstart"),U=E("touchmove"),P=E("touchend"),_=E("mousedown"),W=E("mousemove"),$=E("mouseup"),G=E("mouseover"),q=E("keydown"),Y=E("input"),X=E("change"),K=E("click"),J=E("transitionend"),Q=E("selectstart"),Z=function(t){varr,o=!1;returnfunction(){for(varn=[],e=0;e<arguments.length;e++)n[e]=arguments[e];returno||(o=!0,r=t.apply(null,n)),r}},nn=function(n,e){vart=function(n,e){for(vart=0;t<n.length;t++){varr=n[t];if(r.test(e))returnr}returnundefined}(n,e);if(!t)return{major:0,minor:0};varr=function(n){returnNumber(e.replace(t,"$"+n))};returntn(r(1),r(2))},en=function(){returntn(0,0)},tn=function(n,e){return{major:n,minor:e}},rn={nu:tn,detect:function(n,e){vart=String(e).toLowerCase();return0===n.length?en():nn(n,t)},unknown:en},on="Firefox",un=function(n,e){returnfunction(){returne===n}},an=function(n){vare=n.current;return{current:e,version:n.version,isEdge:un("Edge",e),isChrome:un("Chrome",e),isIE:un("IE",e),isOpera:un("Opera",e),isFirefox: