-
Notifications
You must be signed in to change notification settings - Fork 1
/
chess.min.js
1 lines (1 loc) · 180 KB
/
chess.min.js
1
!function(v){"use strict";function g(n,r,t){return t.a=n,t.f=r,t}function _(t){return g(2,t,function(r){return function(n){return t(r,n)}})}function y(e){return g(3,e,function(t){return function(r){return function(n){return e(t,r,n)}}})}function i(u){return g(4,u,function(e){return function(t){return function(r){return function(n){return u(e,t,r,n)}}}})}function h(a){return g(5,a,function(u){return function(e){return function(t){return function(r){return function(n){return a(u,e,t,r,n)}}}}})}function $(c){return g(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 m(i){return g(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 w(o){return g(8,o,function(i){return function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return o(i,c,a,u,e,t,r,n)}}}}}}}})}function k(f){return g(9,f,function(o){return function(i){return function(c){return function(a){return function(u){return function(e){return function(t){return function(r){return function(n){return f(o,i,c,a,u,e,t,r,n)}}}}}}}}})}function j(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function z(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 l(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 q(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 K(n,r,t,e,u,a,c,i,o){return 8===n.a?n.f(r,t,e,u,a,c,i,o):n(r)(t)(e)(u)(a)(c)(i)(o)}function V(n,r,t,e,u,a,c,i,o,f){return 9===n.a?n.f(r,t,e,u,a,c,i,o,f):n(r)(t)(e)(u)(a)(c)(i)(o)(f)}function L(n,r){for(var t,e=[],u=J(n,r,0,e);u&&(t=e.pop());u=J(t.a,t.b,0,e));return u}function J(n,r,t,e){if(n!==r){if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&vn(5),!1;if(100<t)e.push({a:n,b:r});else for(var u in n.$<0&&(n=iu(n),r=iu(r)),n)if(!J(n[u],r[u],t+1,e))return!1}return!0}var G=_(L),Z=_(function(n,r){return!L(n,r)});function Q(n,r,t){if("object"!=typeof n)return n===r?0:n<r?-1:1;if(void 0===n.$)return(t=(t=Q(n.a,r.a))||Q(n.b,r.b))||Q(n.c,r.c);for(;n.b&&r.b&&!(t=Q(n.a,r.a));n=n.b,r=r.b);return t||(n.b?1:r.b?-1:0)}var W=_(function(n,r){n=Q(n,r);return n<0?au:n?uu:eu}),F=0;function X(n,r){return{a:n,b:r}}function C(n,r){var t,e={};for(t in n)e[t]=n[t];for(t in r)e[t]=r[t];return e}var nn=_(O);function O(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 M={$:0};function rn(n,r){return{$:1,a:n,b:r}}var tn=_(rn);function T(n){for(var r=M,t=n.length;t--;)r={$:1,a:n[t],b:r};return r}function en(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var un=y(function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(j(n,r.a,t.a));return T(e)}),an=_(function(t,n){return T(en(n).sort(function(n,r){return Q(t(n),t(r))}))});var cn=y(function(n,r,t){for(var e=Array(n),u=0;u<n;u++)e[u]=t(r+u);return e}),on=_(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}}),n=_(function(n,r){return r[n]}),fn=y(function(n,r,t){for(var e=t.length,u=Array(e),a=0;a<e;a++)u[a]=t[a];return u[n]=r,u}),bn=_(function(n,r){for(var t=r.length,e=Array(t+1),u=0;u<t;u++)e[u]=r[u];return e[t]=n,e}),sn=y(function(n,r,t){for(var e=t.length-1;0<=e;e--)r=j(n,t[e],r);return r}),ln=y(function(n,r,t){return t.slice(n,r)}),dn=y(function(n,r,t){for(var e=r.length,u=n-e,n=e+(u=t.length<u?t.length:u),a=Array(n),c=0;c<e;c++)a[c]=r[c];for(c=0;c<u;c++)a[c+e]=t[c];return a});function vn(n){throw Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}var gn=_(function(n,r){return n*r}),hn=_(Math.pow),$n=_(function(n,r){r%=n;return 0===n?vn(11):0<r&&n<0||r<0&&0<n?r+n:r}),pn=Math.cos,mn=Math.sin,wn=_(Math.atan2);var kn=Math.ceil,_n=Math.floor,yn=Math.round,xn=Math.sqrt,Ln=Math.log;var Cn=_(function(n,r){return n+r});var Mn=_(function(n,r){for(var t=[],e=r.length,u=0;u<e;){var a=r[u],c=r.charCodeAt(u);u++,c<55296||56319<c||(a+=r[u],u++),n(a)&&t.push(a)}return t.join("")});var Tn=y(function(n,r,t){for(var e=t.length,u=0;u<e;){var a=t[u],c=t.charCodeAt(u);u++,c<55296||56319<c||(a+=t[u],u++),r=j(n,a,r)}return r}),An=y(function(n,r,t){for(var e=t.length;e--;){var u=t[e],a=t.charCodeAt(e);r=j(n,u=a<56320||57343<a?u:t[--e]+u,r)}return r}),En=_(function(n,r){return r.split(n)}),Nn=_(function(n,r){return r.join(n)}),Pn=y(function(n,r,t){return t.slice(n,r)});var Sn=_(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}),jn=_(function(n,r){return 0==r.indexOf(n)});function zn(n){return n+""}var On={$:2,b:function(n){return"number"!=typeof n||(n<=-2147483647||2147483647<=n||(0|n)!==n)&&(!isFinite(n)||n%1)?nr("an INT",n):gu(n)}},Bn={$:2,b:function(n){return"boolean"==typeof n?gu(n):nr("a BOOL",n)}},r={$:2,b:function(n){return gu(n)}},In={$:2,b:function(n){return"string"==typeof n?gu(n):n instanceof String?gu(n+""):nr("a STRING",n)}};var t=_(function(n,r){return{$:6,d:n,b:r}});var Yn=_(function(n,r){return{$:10,b:r,h:n}});var Hn=_(function(n,r){return{$:9,f:n,g:[r]}}),Un=y(function(n,r,t){return{$:9,f:n,g:[r,t]}}),Rn=i(function(n,r,t,e){return{$:9,f:n,g:[r,t,e]}}),Dn=h(function(n,r,t,e,u){return{$:9,f:n,g:[r,t,e,u]}}),qn=$(function(n,r,t,e,u,a){return{$:9,f:n,g:[r,t,e,u,a]}}),Kn=m(function(n,r,t,e,u,a,c){return{$:9,f:n,g:[r,t,e,u,a,c]}}),Vn=w(function(n,r,t,e,u,a,c,i){return{$:9,f:n,g:[r,t,e,u,a,c,i]}}),Jn=k(function(n,r,t,e,u,a,c,i,o){return{$:9,f:n,g:[r,t,e,u,a,c,i,o]}}),Gn=_(function(n,r){try{return Qn(n,JSON.parse(r))}catch(n){return su(j(lu,"This is not valid JSON! "+n.message,r))}}),Zn=_(Qn);function Qn(n,r){switch(n.$){case 2:return n.b(r);case 5:return null===r?gu(n.c):nr("null",r);case 3:return Fn(r)?Wn(n.b,r,T):nr("a LIST",r);case 4:return Fn(r)?Wn(n.b,r,Xn):nr("an ARRAY",r);case 6:var t=n.d;return"object"==typeof r&&null!==r&&t in r?(a=Qn(n.b,r[t]),Xu(a)?a:su(j(du,t,a.a))):nr("an OBJECT with a field named `"+t+"`",r);case 7:t=n.e;return Fn(r)?t<r.length?(a=Qn(n.b,r[t]),Xu(a)?a:su(j(vu,t,a.a))):nr("a LONGER array. Need index "+t+" but only see "+r.length+" entries",r):nr("an ARRAY",r);case 8:if("object"!=typeof r||null===r||Fn(r))return nr("an OBJECT",r);var e,u=M;for(e in r)if(r.hasOwnProperty(e)){var a=Qn(n.b,r[e]);if(!Xu(a))return su(j(du,e,a.a));u={$:1,a:{a:e,b:a.a},b:u}}return gu(Tu(u));case 9:for(var c=n.f,i=n.g,o=0;o<i.length;o++){a=Qn(i[o],r);if(!Xu(a))return a;c=c(a.a)}return gu(c);case 10:a=Qn(n.b,r);return Xu(a)?Qn(n.h(a.a),r):a;case 11:for(var f=M,b=n.g;b.b;b=b.b){a=Qn(b.a,r);if(Xu(a))return a;f={$:1,a:a.a,b:f}}return su(hu(Tu(f)));case 1:return su(j(lu,n.a,r));case 0:return gu(n.a)}}function Wn(n,r,t){for(var e=r.length,u=Array(e),a=0;a<e;a++){var c=Qn(n,r[a]);if(!Xu(c))return su(j(vu,a,c.a));u[a]=c.a}return gu(t(u))}function Fn(n){return Array.isArray(n)||"undefined"!=typeof FileList&&n instanceof FileList}function Xn(r){return j(Fu,r.length,function(n){return r[n]})}function nr(n,r){return su(j(lu,"Expecting "+n,r))}function rr(n,r){if(n===r)return!0;if(n.$!==r.$)return!1;switch(n.$){case 0:case 1:return n.a===r.a;case 2:return n.b===r.b;case 5:return n.c===r.c;case 3:case 4:case 8:return rr(n.b,r.b);case 6:return n.d===r.d&&rr(n.b,r.b);case 7:return n.e===r.e&&rr(n.b,r.b);case 9:return n.f===r.f&&tr(n.g,r.g);case 10:return n.h===r.h&&rr(n.b,r.b);case 11:return tr(n.g,r.g)}}function tr(n,r){var t=n.length;if(t!==r.length)return!1;for(var e=0;e<t;e++)if(!rr(n[e],r[e]))return!1;return!0}var er=_(function(n,r){return JSON.stringify(r,null,n)+""});function ur(n){return n}var ar=y(function(n,r,t){return t[n]=r,t});function cr(n){return{$:0,a:n}}function ir(n){return{$:1,a:n}}var or=_(function(n,r){return{$:3,b:n,d:r}}),fr=_(function(n,r){return{$:4,b:n,d:r}});var br=0;function sr(n){n={$:0,e:br++,f:n,g:null,h:[]};return $r(n),n}function lr(r){return{$:2,b:function(n){n({$:0,a:sr(r)})},c:null}}function dr(n,r){n.h.push(r),$r(n)}var vr=_(function(r,t){return{$:2,b:function(n){dr(r,t),n({$:0,a:F})},c:null}});var gr=!1,hr=[];function $r(n){if(hr.push(n),!gr){for(gr=!0;n=hr.shift();)!function(r){for(;r.f;){var n=r.f.$;if(0===n||1===n){for(;r.g&&r.g.$!==n;)r.g=r.g.i;if(!r.g)return;r.f=r.g.b(r.f.a),r.g=r.g.i}else{if(2===n)return r.f.c=r.f.b(function(n){r.f=n,$r(r)});if(5===n){if(0===r.h.length)return;r.f=r.f.b(r.h.shift())}else r.g={$:3===n?0:1,b:r.f.b,i:r.g},r.f=r.f.d}}}(n);gr=!1}}function pr(t){return{$:2,b:function(n){var r=setTimeout(function(){n({$:0,a:F})},t);return function(){clearTimeout(r)}},c:null}}function mr(n,r,t,e,u,a){var n=j(Zn,n,r?r.flags:void 0),c=(Xu(n)||vn(2),{}),r=t(n.a),i=r.a,o=a(f,i),t=function(n,r){var t,e;for(e in wr){var u=wr[e];u.a&&((t=t||{})[e]=u.a(e,r)),n[e]=function(n,r){var e={g:r,h:void 0},u=n.c,a=n.d,c=n.e,i=n.f;function o(t){return j(or,o,{$:5,b:function(n){var r=n.a;return 0===n.$?z(a,e,r,t):c&&i?x(u,e,r.i,r.j,t):z(u,e,c?r.i:r.j,t)}})}return e.h=sr(j(or,o,n.b))}(u,r)}return t}(c,f);function f(n,r){n=j(e,n,i);o(i=n.a,r),Mr(c,n.b,u(i))}return Mr(c,r.b,u(i)),t?{ports:t}:{}}var wr={};var kr=_(function(r,t){return{$:2,b:function(n){r.g(t),n({$:0,a:F})},c:null}}),_r=_(function(n,r){return j(vr,n.h,{$:0,a:r})});function yr(r){return function(n){return{$:1,k:r,l:n}}}function xr(n){return{$:2,m:n}}var Lr=[],Cr=!1;function Mr(n,r,t){if(Lr.push({p:n,q:r,r:t}),!Cr){Cr=!0;for(var e;e=Lr.shift();)!function(n,r,t){var e,u={};for(e in Tr(!0,r,u,null),Tr(!1,t,u,null),n)dr(n[e],{$:"fx",a:u[e]||{i:M,j:M}})}(e.p,e.q,e.r);Cr=!1}}function Tr(n,r,t,e){switch(r.$){case 1:var u=r.k,a=function(n,r,t,e){function u(n){for(var r=t;r;r=r.t)n=r.s(n);return n}return j(n?wr[r].e:wr[r].f,u,e)}(n,u,e,r.l);return void(t[u]=function(n,r,t){return t=t||{i:M,j:M},n?t.i={$:1,a:r,b:t.i}:t.j={$:1,a:r,b:t.j},t}(n,a,t[u]));case 2:for(var c=r.m;c.b;c=c.b)Tr(n,c.a,t,e);return;case 3:Tr(n,r.o,t,{s:r.n,t:e})}}var Ar;var Er="undefined"!=typeof document?document:{};function Nr(n){return{$:0,a:n}}var Pr=_(function(a,c){return _(function(n,r){for(var t=[],e=0;r.b;r=r.b){var u=r.a;e+=u.b||0,t.push(u)}return e+=t.length,{$:1,c:c,d:Zr(n),e:t,f:a,b:e}})}),Sr=Pr(void 0),jr=_(function(a,c){return _(function(n,r){for(var t=[],e=0;r.b;r=r.b){var u=r.a;e+=u.b.b||0,t.push(u)}return e+=t.length,{$:2,c:c,d:Zr(n),e:t,f:a,b:e}})})(void 0);var zr=_(function(n,r){return{$:4,j:n,k:r,b:1+(r.b||0)}});var Or=_(function(n,r){return{$:"a0",n:n,o:r}}),Br=_(function(n,r){return{$:"a1",n:n,o:r}}),Ir=_(function(n,r){return{$:"a2",n:n,o:r}}),Yr=_(function(n,r){return{$:"a3",n:n,o:r}}),Hr=/^script$/i,Ur=/^(on|formAction$)/i,Rr=/^\s*(j\s*a\s*v\s*a\s*s\s*c\s*r\s*i\s*p\s*t\s*:|d\s*a\s*t\s*a\s*:\s*t\s*e\s*x\s*t\s*\/\s*h\s*t\s*m\s*l\s*(,|;))/i;function Dr(n){return Hr.test(n)?"p":n}function qr(n){return Rr.test(n)?"":n}var Kr=_(function(n,r){return"a0"===r.$?j(Or,r.n,function(n,r){var t=ea(r);return{$:r.$,a:t?z(ra,t<3?Jr:Gr,ta(n),r.a):j(na,n,r.a)}}(n,r.o)):r});var Vr,Jr=_(function(n,r){return{a:n(r.a),b:r.b}}),Gr=_(function(n,r){return{aq:n(r.aq),c$:r.c$,cQ:r.cQ}});function Zr(n){for(var r={};n.b;n=n.b){var t,e=n.a,u=e.$,a=e.n,e=e.o;"a2"===u?"className"===a?Qr(r,a,e):r[a]=e:(t=r[u]||(r[u]={}),"a3"===u&&"class"===a?Qr(t,a,e):t[a]=e)}return r}function Qr(n,r,t){var e=n[r];n[r]=e?e+" "+t:t}function Wr(n,r){var t=n.$;if(5===t)return Wr(n.k||(n.k=n.m()),r);if(0===t)return Er.createTextNode(n.a);if(4===t){for(var e=n.k,u=n.j;4===e.$;)"object"!=typeof u?u=[u,e.j]:u.push(e.j),e=e.k;var a={j:u,p:r};(c=Wr(e,a)).elm_event_node_ref=a}else if(3===t)Fr(c=n.h(n.g),r,n.d);else{var c=n.f?Er.createElementNS(n.f,n.c):Er.createElement(n.c);Ar&&"a"==n.c&&c.addEventListener("click",Ar(c)),Fr(c,r,n.d);for(var i=n.e,o=0;o<i.length;o++)c.appendChild(Wr(1===t?i[o]:i[o].b,r))}return c}function Fr(n,r,t){for(var e in t){var u=t[e];"a1"===e?function(n,r){var t,e=n.style;for(t in r)e[t]=r[t]}(n,u):"a0"===e?function(n,r,t){var e,u=n.elmFs||(n.elmFs={});for(e in t){var a=t[e],c=u[e];if(a){if(c){if(c.q.$===a.$){c.q=a;continue}n.removeEventListener(e,c)}c=function(o,n){function f(n){var r=f.q,t=Qn(r.a,n);if(Xu(t)){for(var e,r=ea(r),t=t.a,u=r?r<3?t.a:t.aq:t,a=1==r?t.b:3==r&&t.c$,c=(a&&n.stopPropagation(),(2==r?t.b:3==r&&t.cQ)&&n.preventDefault(),o);e=c.j;){if("function"==typeof e)u=e(u);else for(var i=e.length;i--;)u=e[i](u);c=c.p}c(u,a)}}return f.q=n,f}(r,a),n.addEventListener(e,c,Vr&&{passive:ea(a)<2}),u[e]=c}else n.removeEventListener(e,c),u[e]=void 0}}(n,r,u):"a3"===e?function(n,r){for(var t in r){var e=r[t];void 0!==e?n.setAttribute(t,e):n.removeAttribute(t)}}(n,u):"a4"===e?function(n,r){for(var t in r){var e=r[t],u=e.f,e=e.o;void 0!==e?n.setAttributeNS(u,t,e):n.removeAttributeNS(u,t)}}(n,u):("value"!==e&&"checked"!==e||n[e]!==u)&&(n[e]=u)}}try{window.addEventListener("t",null,Object.defineProperty({},"passive",{get:function(){Vr=!0}}))}catch(n){}function Xr(n,r){var t=[];return rt(n,r,t,0),t}function nt(n,r,t,e){r={$:r,r:t,s:e,t:void 0,u:void 0};return n.push(r),r}function rt(n,r,t,e){if(n!==r){var u=n.$,a=r.$;if(u!==a){if(1!==u||2!==a)return void nt(t,0,e,r);r=function(n){for(var r=n.e,t=r.length,e=Array(t),u=0;u<t;u++)e[u]=r[u].b;return{$:1,c:n.c,d:n.d,e:e,f:n.f,b:n.b}}(r),a=1}switch(a){case 5:for(var c=n.l,i=r.l,o=c.length,f=o===i.length;f&&o--;)f=c[o]===i[o];if(f)return void(r.k=n.k);r.k=r.m();var b=[];return rt(n.k,r.k,b,0),void(0<b.length&&nt(t,1,e,b));case 4:for(var s=n.j,l=r.j,d=!1,v=n.k;4===v.$;)d=!0,"object"!=typeof s?s=[s,v.j]:s.push(v.j),v=v.k;for(var g=r.k;4===g.$;)d=!0,"object"!=typeof l?l=[l,g.j]:l.push(g.j),g=g.k;return d&&s.length!==l.length?void nt(t,0,e,r):((d?function(n,r){for(var t=0;t<n.length;t++)if(n[t]!==r[t])return;return 1}(s,l):s===l)||nt(t,2,e,l),void rt(v,g,t,e+1));case 0:return void(n.a!==r.a&&nt(t,3,e,r.a));case 1:return void tt(n,r,t,e,ut);case 2:return void tt(n,r,t,e,at);case 3:if(n.h!==r.h)return void nt(t,0,e,r);b=et(n.d,r.d),b=(b&&nt(t,4,e,b),r.i(n.g,r.g));b&&nt(t,5,e,b)}}}function tt(n,r,t,e,u){var a;n.c!==r.c||n.f!==r.f?nt(t,0,e,r):((a=et(n.d,r.d))&&nt(t,4,e,a),u(n,r,t,e))}function et(n,r,t){var e,u,a,c,i;for(u in n)"a1"===u||"a0"===u||"a3"===u||"a4"===u?(a=et(n[u],r[u]||{},u))&&((e=e||{})[u]=a):u in r?(a=n[u])===(c=r[u])&&"value"!==u&&"checked"!==u||"a0"===t&&function(n,r){return n.$==r.$&&rr(n.a,r.a)}(a,c)||((e=e||{})[u]=c):(e=e||{})[u]=t?"a1"===t?"":"a0"===t||"a3"===t?void 0:{f:n[u].f,o:void 0}:"string"==typeof n[u]?"":null;for(i in r)i in n||((e=e||{})[i]=r[i]);return e}function ut(n,r,t,e){var u=n.e,a=r.e,n=u.length,r=a.length;r<n?nt(t,6,e,{v:r,i:n-r}):n<r&&nt(t,7,e,{v:n,e:a});for(var c=n<r?n:r,i=0;i<c;i++){var o=u[i];rt(o,a[i],t,++e),e+=o.b||0}}function at(n,r,t,e){for(var u=[],a={},c=[],i=n.e,o=r.e,f=i.length,b=o.length,s=0,l=0,d=e;s<f&&l<b;){var v=i[s],g=o[l],h=v.a,$=g.a,p=v.b,m=g.b,w=void 0,k=void 0;if(h===$)rt(p,m,u,++d),d+=p.b||0,s++,l++;else{var _,y,x,L,C=i[s+1],M=o[l+1];if(C&&(y=C.b,k=$===(_=C.a)),M&&(L=M.b,w=h===(x=M.a)),w&&k)rt(p,L,u,++d),it(a,u,h,m,l,c),d+=p.b||0,ot(a,u,h,y,++d),d+=y.b||0,s+=2,l+=2;else if(w)d++,it(a,u,$,m,l,c),rt(p,L,u,d),d+=p.b||0,s+=1,l+=2;else if(k)ot(a,u,h,p,++d),d+=p.b||0,rt(y,m,u,++d),d+=y.b||0,s+=2,l+=1;else{if(!C||_!==x)break;ot(a,u,h,p,++d),it(a,u,$,m,l,c),d+=p.b||0,rt(y,L,u,++d),d+=y.b||0,s+=2,l+=2}}}for(;s<f;){p=(v=i[s]).b;ot(a,u,v.a,p,++d),d+=p.b||0,s++}for(;l<b;){var T=T||[];it(a,u,(g=o[l]).a,g.b,void 0,T),l++}(0<u.length||0<c.length||T)&&nt(t,8,e,{w:u,x:c,y:T})}var ct="_elmW6BL";function it(n,r,t,e,u,a){var c,i=n[t];i?1===i.c?(a.push({r:u,A:i}),i.c=2,rt(i.z,e,c=[],i.r),i.r=u,i.s.s={w:c,A:i}):it(n,r,t+ct,e,u,a):(a.push({r:u,A:i={c:0,z:e,r:u,s:void 0}}),n[t]=i)}function ot(n,r,t,e,u){var a,c=n[t];c?0===c.c?(c.c=2,rt(e,c.z,a=[],u),nt(r,9,u,{w:a,A:c})):ot(n,r,t+ct,e,u):(a=nt(r,9,u,void 0),n[t]={c:1,z:e,r:u,s:a})}function ft(n,r,t,e){!function n(r,t,e,u,a,c,i){var o=e[u];var f=o.r;for(;f===a;){var b,s=o.$;if(1===s?ft(r,t.k,o.s,i):8===s?(o.t=r,o.u=i,0<(b=o.s.w).length&&n(r,t,b,0,a,c,i)):9===s?(o.t=r,o.u=i,(s=o.s)&&(s.A.s=r,0<(b=s.w).length)&&n(r,t,b,0,a,c,i)):(o.t=r,o.u=i),!(o=e[++u])||(f=o.r)>c)return u}var l=t.$;if(4===l){for(var d=t.k;4===d.$;)d=d.k;return n(r,d,e,u,a+1,c,r.elm_event_node_ref)}var v=t.e;var g=r.childNodes;for(var h=0;h<v.length;h++){var $=1===l?v[h]:v[h].b,p=++a+($.b||0);if(a<=f&&f<=p&&(u=n(g[h],$,e,u,a,p,i),!(o=e[u])||(f=o.r)>c))return u;a=p}return u}(n,r,t,0,0,r.b,e)}function bt(n,r,t,e){return 0===t.length?n:(ft(n,r,t,e),st(n,t))}function st(n,r){for(var t=0;t<r.length;t++){var e=r[t],u=e.t,e=function(n,r){switch(r.$){case 0:return function(n,r,t){var e=n.parentNode,r=Wr(r,t);r.elm_event_node_ref||(r.elm_event_node_ref=n.elm_event_node_ref);e&&r!==n&&e.replaceChild(r,n);return r}(n,r.s,r.u);case 4:return Fr(n,r.u,r.s),n;case 3:return n.replaceData(0,n.length,r.s),n;case 1:return st(n,r.s);case 2:return n.elm_event_node_ref?n.elm_event_node_ref.j=r.s:n.elm_event_node_ref={j:r.s,p:r.u},n;case 6:for(var t=r.s,e=0;e<t.i;e++)n.removeChild(n.childNodes[t.v]);return n;case 7:for(var u=(t=r.s).e,e=t.v,a=n.childNodes[e];e<u.length;e++)n.insertBefore(Wr(u[e],r.u),a);return n;case 9:var c;return(t=r.s)?(void 0!==(c=t.A).r&&n.parentNode.removeChild(n),c.s=st(n,t.w)):n.parentNode.removeChild(n),n;case 8:return function(n,r){for(var t=r.s,e=function(n,r){if(n){for(var t=Er.createDocumentFragment(),e=0;e<n.length;e++){var u=n[e].A;t.appendChild(2===u.c?u.s:Wr(u.z,r.u))}return t}}(t.y,r),u=(n=st(n,t.w),t.x),a=0;a<u.length;a++){var c=u[a],i=c.A,i=2===i.c?i.s:Wr(i.z,r.u);n.insertBefore(i,n.childNodes[c.r])}e&&n.appendChild(e);return n}(n,r);case 5:return r.s(n);default:vn(10)}}(u,e);u===n&&(n=e)}return n}function lt(n){if(3===n.nodeType)return{$:0,a:n.textContent};if(1!==n.nodeType)return{$:0,a:""};for(var r=M,t=n.attributes,e=t.length;e--;)var u=t[e],r={$:1,a:j(Yr,u.name,u.value),b:r};for(var a=n.tagName.toLowerCase(),c=M,i=n.childNodes,e=i.length;e--;)c={$:1,a:lt(i[e]),b:c};return z(Sr,a,r,c)}var dt=i(function(r,n,t,e){return mr(n,e,r.fU,r.hm,r.g_,function(e,n){var u=r.cX&&r.cX(e),a=r.ho,c=Er.title,i=Er.body,o=lt(i);return gt(n,function(n){Ar=u;var n=a(n),r=Sr("body")(M)(n.e5),t=Xr(o,r);i=bt(i,o,t,e),o=r,Ar=0,c!==n.hg&&(Er.title=c=n.hg)})})}),vt="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:function(n){return setTimeout(n,1e3/60)};function gt(t,e){e(t);var u=0;function a(){u=1===u?0:(vt(a),e(t),1)}return function(n,r){t=n,r?(e(t),2===u&&(u=1)):(0===u&&vt(a),u=2)}}var ht=_(function(t,e){return{$:2,b:function(n){var r=setInterval(function(){sr(e)},t);return function(){clearInterval(r)}},c:null}});var $t=y(function(e,u,a){return{$:2,b:function(r){function t(n){r(u(a.ch.a(n)))}var n=new XMLHttpRequest;n.addEventListener("error",function(){t(jc)}),n.addEventListener("timeout",function(){t(Bc)}),n.addEventListener("load",function(){t(function(n,r){return j(200<=r.status&&r.status<300?Sc:Nc,function(n){return{hn:n.responseURL,eu:n.status,gU:n.statusText,fJ:function(n){if(!n)return Ta;for(var r=Ta,t=n.split("\r\n"),e=t.length;e--;){var u,a,c=t[e],i=c.indexOf(": ");0<i&&(u=c.substring(0,i),a=c.substring(2+i),r=z(Dc,u,function(n){return A(Ic(n)?a+", "+n.a:a)},r))}return r}(n.getAllResponseHeaders())}}(r),n(r.response))}(a.ch.b,n))}),Ic(a.ex)&&function(r,t,e){t.upload.addEventListener("progress",function(n){t.c||sr(j(Ya,r,{a:e,b:Oc({gL:n.loaded,ep:n.total})}))}),t.addEventListener("progress",function(n){t.c||sr(j(Ya,r,{a:e,b:zc({gw:n.loaded,ep:n.lengthComputable?A(n.total):E})}))})}(e,n,a.ex.a);try{n.open(a.bp,a.hn,!0)}catch(n){return t(Pc(a.hn))}return function(n,r){for(var t=r.fJ;t.b;t=t.b)n.setRequestHeader(t.a.a,t.a.b);n.timeout=r.hf.a||0,n.responseType=r.ch.d,n.withCredentials=r.eW}(n,a),a.e5.a&&n.setRequestHeader("Content-Type",a.e5.a),n.send(a.e5.b),function(){n.c=!0,n.abort()}},c:null}});var pt=y(function(n,r,t){return{$:0,d:n,b:r,a:t}});var mt=_(function(n,r){return{$:0,a:n,b:r}});var wt=_(function(n,r){return n|r}),kt=_(function(n,r){return n^r});function _t(n){return j(N,"\n ",j(wu,"\n",n))}function yt(n){return 97<=(n=Cu(n))&&n<=122}function xt(n){return(n=Cu(n))<=90&&65<=n}function Lt(n){return(n=Cu(n))<=57&&48<=n}function Ct(n){return n}function Mt(n){return n.a}function Tt(n){return z(va,$a(B),la(M),n)}function At(n){return{$:2,a:n}}function Et(n){return{$:4,a:n}}function Nt(n){return{$:0,a:n}}function Pt(n){return{J:rc,dE:n,c7:E}}function St(n){return n.eg}function jt(n){return n.eD}function zt(n){return{a_:E,c6:n.c6}}function Ot(n){return{a_:n.a_,cs:!1,c6:n.c6}}function Bt(n){return{$:2,a:n}}function It(n){return n.b0}function Yt(n){return n.a+"="+n.b}function Ht(n){return j(ba,"/",n)?Ht(j(ca,1,n)):n}function Ut(n){var r,t,e,u,a,c,i,o;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.e.d.$||n.e.d.a?(e=(o=n.e).b,u=o.c,a=o.d,o=o.e,l(Na,1,n.b,n.c,l(Na,0,(r=n.d).b,r.c,r.d,r.e),l(Na,0,e,u,a,o))):(e=(t=n.e).b,u=t.c,c=(a=t.d).d,i=a.e,o=t.e,l(Na,0,a.b,a.c,l(Na,1,n.b,n.c,l(Na,0,(r=n.d).b,r.c,r.d,r.e),c),l(Na,1,e,u,i,o))):n}function Rt(n){var r,t,e,u,a,c,i,o,f;return-1===n.$&&-1===n.d.$&&-1===n.e.$?-1!==n.d.d.$||n.d.d.a?(c=(f=n.e).b,i=f.c,o=f.d,f=f.e,l(Na,1,r=n.b,t=n.c,l(Na,0,(u=n.d).b,u.c,u.d,u=u.e),l(Na,0,c,i,o,f))):(r=n.b,t=n.c,u=(e=n.d).e,c=(a=n.e).b,i=a.c,o=a.d,f=a.e,l(Na,0,e.b,e.c,l(Na,1,(a=e.d).b,a.c,a.d,a.e),l(Na,1,r,t,u,l(Na,0,c,i,o,f)))):n}function Dt(n){var r,t,e,u,a,c;return-1===n.$&&-1===n.d.$?(r=n.a,t=n.b,e=n.c,c=(u=n.d).d,a=n.e,1===u.a?-1!==c.$||c.a?-1===(c=Ut(n)).$?(n=c.e,l(Pa,c.a,c.b,c.c,Dt(c.d),n)):Ma:l(Na,r,t,e,Dt(u),a):l(Na,r,t,e,Dt(u),a)):Ma}function qt(n){return z(P,_(function(n,r){return z(ar,n.a,n.b,r)}),{},n)}function Kt(t){return j(Qa,function(n){n:for(;;)switch(n.$){case 2:var r;if(6===n.a.$)return(r=n.a.a.gA).$?oc(n):Kt(j(ga,function(n){return t},qc(1+r.a)));break n;case 0:if(3===n.a.$&&429===n.a.a)return Kt(j(ga,function(n){return t},qc(1e3)));break n;default:break n}return oc(n)},t)}function Vt(n){return{$:3,a:n}}function Jt(n){return{$:22,a:n}}function Gt(n){return{$:31,a:n}}function Zt(n){return{$:25,a:n}}function Qt(n){return{$:24,a:n}}function Wt(n){return{$:29,a:n}}function Ft(n){return{$:0,a:n}}function Xt(n){return{$:23,a:n}}function ne(n){return{$:21,a:n}}function re(n){return{$:27,a:n}}function te(n){return{$:14,a:n}}function ee(n){return{$:12,a:n}}function ue(n){return{$:6,a:n}}function ae(n){return{$:26,a:n}}function ce(n){return{$:2,a:n}}function ie(n){return{$:5,a:n}}function oe(n){return{$:4,a:n}}function fe(n){return{$:30,a:n}}function be(n){return{$:13,a:n}}function se(n){return{$:19,a:n}}function le(n){return{$:17,a:n}}function de(n){return{$:18,a:n}}function ve(n){return{$:15,a:n}}function ge(n){return{$:16,a:n}}function he(n){return{$:28,a:n}}function $e(n){return{$:9,a:n}}function pe(n){return{$:7,a:n}}function me(n){return{$:1,a:n}}function we(n){return{$:8,a:n}}function ke(n){return{$:20,a:n}}function _e(n){return{$:10,a:n}}function ye(n){return{$:11,a:n}}function xe(n){return Wc(T([j(na,A,n),ta(E)]))}function Le(n){return(n.$?oc:la)(n.a)}function Ce(n){return j(p,j(Cc,"GET","/_matrix/client/r0/account/whoami"),j(p,ai(T([Lc])),ei(ui)))}function Me(n){return j(p,j(Cc,"GET","/_matrix/client/v3/account/whoami"),j(p,ai(T([Lc])),ei(ci)))}function Te(n){return j(p,j(Cc,"GET","/_matrix/client/v3/account/whoami"),j(p,ai(T([Lc])),ei(oi)))}function Ae(n){return T([n])}function Ee(n){var r=n.dq;return{cy:r,a5:Ae(n=n.eC),eD:j(fi,n,r)}}function Ne(n){var r=n.aA,n=n.as;return j(p,j(Cc,"POST","/_matrix/client/r0/login"),j(p,ai(T([j(gi,"password",n),j(gi,"type","m.login.password"),j(gi,"user",r)])),ei($i)))}function Pe(n){var r=n.a_,t=n.a1,e=n.as,n=n.aA;return j(p,j(Cc,"POST","/_matrix/client/r0/login"),j(p,ai(T([j(gi,"type","m.login.password"),j(gi,"user",n),j(gi,"password",e),j(mi,"device_id",r),j(mi,"initial_device_display_name",t)])),ei(wi)))}function Se(n){var r=n.a_,t=n.a1,e=n.as,n=n.aA;return j(p,j(Cc,"POST","/_matrix/client/r0/login"),j(p,ai(T([j(gi,"type","m.login.password"),j(gi,"password",e),j(mi,"device_id",r),j(mi,"initial_device_display_name",t),j(di,"identifier",qt(T([{a:"type",b:vi("m.id.user")},{a:"user",b:vi(n)}])))])),ei(ki)))}function je(n){var r=n.a_,t=n.a1,e=n.as,n=n.aA;return j(p,j(Cc,"POST","/_matrix/client/r0/login"),j(p,ai(T([j(gi,"type","m.login.password"),j(gi,"password",e),j(mi,"device_id",r),j(mi,"initial_device_display_name",t),j(di,"identifier",qt(T([{a:"type",b:vi("m.id.user")},{a:"user",b:vi(n)}])))])),ei(_i)))}function ze(n){var r=n.a_,t=n.a1,e=n.as,n=n.aA;return j(p,j(Cc,"POST","/_matrix/client/v3/login"),j(p,ai(T([j(gi,"type","m.login.password"),j(gi,"password",e),j(mi,"device_id",r),j(mi,"initial_device_display_name",t),j(di,"identifier",qt(T([{a:"type",b:vi("m.id.user")},{a:"user",b:vi(n)}])))])),ei(_i)))}function Oe(n){var r=n.a_,t=n.a1,e=n.as,n=n.aA;return j(p,j(Cc,"POST","/_matrix/client/v3/login"),j(p,ai(T([j(gi,"type","m.login.password"),j(gi,"password",e),j(mi,"device_id",r),j(mi,"initial_device_display_name",t),j(xi,"refresh_token",!0),j(di,"identifier",qt(T([{a:"type",b:vi("m.id.user")},{a:"user",b:vi(n)}])))])),ei(Ci)))}function Be(n){return{b0:n.b0,a_:E,cp:n.cp,cS:n.cS,c6:n.c6}}function Ie(n){return{b0:n.b0,a_:E,cp:A(n.cp),cS:n.cS,c6:n.c6}}function Ye(n){return{b0:n.b0,a_:n.a_,cp:n.cp,cS:n.cS,c6:n.c6,c8:E}}function He(n){return{b0:n.b0,a_:n.a_,ci:E,cp:n.cp,cS:n.cS,c6:n.c6,c8:n.c8}}function Ue(n){switch(n.$){case 0:return xa(oc({$:1,a:fc}));case 1:return j(sc,bi,xa(la({bh:Ti({b0:t=n.a,bU:E}),bo:M})));case 2:var r=n.a;return xa(la({bh:j(p,Ti({b0:r.b0,bU:E}),lc(r.c6)),bo:M}));default:var t,r=n.a.aA,e=n.a.as,u=n.a.hh,a=n.a.a_,c=n.a.a1,i=n.a.c6;return u.$?j(sc,i.$?bi:j(Ai,Ei(i.a),bi),z(dc,function(n){return{bh:Ti({b0:n.b0,bU:A(o)}),bo:T([j(si,o,n)])}},Mi,o={a_:a,a1:c,as:e,aA:r})):(t=u.a,j(sc,(a=i).$?bi:Ei(a.a),xa(la({bh:Ti({b0:t,bU:E}),bo:M}))))}var o}function Re(n){return z(P,_(function(n,r){return z(ja,n.a,n.b,r)}),Ta,n)}function De(n){return j(na,Re,Ni(n))}function qe(n){return j(sc,j(Oi,5,(r=n.c7).$?ji:Bi(r.a)),(r=function(n){return n.dE}(n),xa(la({bh:Ii(r),bo:M}))));var r}function Ke(n){return j(p,n,Qa(xa(la({bh:s,bo:M}))))}function Ve(n){var r=n.J;switch(r.$){case 0:case 1:case 2:return rc;default:return Fa(C(r.a,{hh:E}))}}function Je(n){switch(n){case 0:return"offline";case 1:return"online";default:return"unavailable"}}var Ge,Ze=_(function(n,r){var t="g";n.gb&&(t+="m"),n.fd&&(t+="i");try{return A(RegExp(r,t))}catch(n){return E}}),Qe=i(function(u,n,a,r){var c=0;return r.replace(n,function(n){if(c++>=u)return n;for(var r=arguments.length-3,t=Array(r);0<r;){var e=arguments[r];t[--r]=e?A(e):E}return a(x(o1,n,arguments[arguments.length-2],c,T(t)))})}),We=h(function(n,r,t,e,u){for(var a=n.length,c=r+a<=u.length,i=0;c&&i<a;)var o=u.charCodeAt(r),c=n[i++]===u[r++]&&(10==o?(t++,e=1):(e++,55296==(63488&o)?n[i++]===u[r++]:1));return{a:c?r:-1,b:t,c:e}}),Fe=y(function(n,r,t){return r<t.length?55296==(63488&t.charCodeAt(r))?n(t.substr(r,2))?r+2:-1:n(t[r])?"\n"===t[r]?-2:r+1:-1:-1}),Xe=y(function(n,r,t){return t.charCodeAt(r)===n}),nu=_(function(n,r){for(;n<r.length;n++){var t=r.charCodeAt(n);if(t<48||57<t)return n}return n}),ru=y(function(n,r,t){for(var e=0;r<t.length;r++){var u=t.charCodeAt(r)-48;if(u<0||n<=u)break;e=n*e+u}return{a:r,b:e}}),tu=_(function(n,r){for(var t=0;n<r.length;n++){var e=r.charCodeAt(n);if(48>e||e>57)if(65>e||e>70){if(e<97||102<e)break;t=16*t+e-87}else t=16*t+e-55;else t=16*t+e-48}return{a:n,b:t}}),eu=1,uu=2,au=0,B=tn,cu=y(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.d,u=n,a=z(n,t.b,t.c,z(cu,n,r,t.e));n=u,r=a,t=e}}),iu=function(n){return z(cu,y(function(n,r,t){return j(B,{a:n,b:r},t)}),M,n)},ou=sn,fu=y(function(t,n,r){var e=r.c,r=r.d,u=_(function(n,r){return z(ou,n.$?t:u,r,n.a)});return z(ou,u,z(ou,t,n,r),e)}),bu=function(n){return z(fu,B,M,n)},su=function(n){return{$:1,a:n}},lu=_(function(n,r){return{$:3,a:n,b:r}}),du=_(function(n,r){return{$:0,a:n,b:r}}),vu=_(function(n,r){return{$:1,a:n,b:r}}),gu=function(n){return{$:0,a:n}},hu=function(n){return{$:2,a:n}},A=function(n){return{$:0,a:n}},E={$:1},$u=Sn,pu=nn,mu=er,I=zn,N=_(function(n,r){return j(Nn,n,en(r))}),wu=_(function(n,r){return T(j(En,n,r))}),P=y(function(n,r,t){for(;;){if(!t.b)return r;var e=t.b,u=n,a=j(n,t.a,r);n=u,r=a,t=e}}),ku=function(n){return z(P,_(function(n,r){return r+1}),0,n)},_u=un,yu=y(function(n,r,t){for(;;){if(1<=Q(n,r))return t;var e=n,u=r-1,a=j(B,r,t);n=e,r=u,t=a}}),xu=_(function(n,r){return z(yu,n,r,M)}),Lu=_(function(n,r){return z(_u,n,j(xu,0,ku(r)-1),r)}),Cu=function(n){var r=n.charCodeAt(0);return r<55296||56319<r?r:1024*(r-55296)+n.charCodeAt(1)-56320+65536},Mu=function(n){return yt(n)||xt(n)||Lt(n)},Tu=function(n){return z(P,B,M,n)},Au=function(n){var r=n.charCodeAt(0);return isNaN(r)?E:A(r<55296||56319<r?{a:n[0],b:n.slice(1)}:{a:n[0]+n[1],b:n.slice(2)})},Eu=_(function(n,r){return"\n\n("+I(n+1)+(") "+_t(Nu(r)))}),Nu=function(n){return j(Pu,n,M)},Pu=_(function(n,r){for(;;)switch(n.$){case 0:var t=n.a,e=n.b,u=(u=a=void 0,1!==(u=Au(t)).$&&(a=(u=u.a).b,function(n){return yt(n)||xt(n)}(u.a))&&j($u,Mu,a));n=e,r=j(B,u?"."+t:"['"+t+"']",r);continue;case 1:var e=n.b,a="["+I(n.a)+"]";n=e,r=j(B,a,r);continue;case 2:u=n.a;if(u.b){if(u.b.b)return c=(r.b?"The Json.Decode.oneOf at json"+j(N,"",Tu(r)):"Json.Decode.oneOf")+" failed in the following "+I(ku(u))+" ways:",j(N,"\n\n",j(B,c,j(Lu,Eu,u)));n=e=u.a,r=r;continue}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+j(N,"",Tu(r)):"!");default:var c,t=n.a,i=n.b;return(c=r.b?"Problem with the value at json"+j(N,"",Tu(r))+":\n\n ":"Problem with the given value:\n\n")+(_t(j(mu,4,i))+"\n\n")+t}var a,u}),Su=i(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),ju=[],zu=kn,Ou=_(function(n,r){return Ln(r)/Ln(n)}),Bu=zu(j(Ou,2,32)),Iu=x(Su,0,Bu,ju,ju),Yu=cn,Hu=_(function(n,r){return n(r)}),Uu=_(function(n,r){return r(n)}),Ru=G,Du=_n,qu=function(n){return n.length},Ku=_(function(n,r){return 0<Q(n,r)?n:r}),Vu=gn,Ju=on,Gu=_(function(n,r){for(;;){var t=j(Ju,32,n),e=t.b,t=j(B,{$:0,a:t.a},r);if(!e.b)return Tu(t);n=e,r=t}}),Zu=_(function(n,r){for(;;){var t=zu(r/32);if(1===t)return j(Ju,32,n).a;n=j(Gu,n,M),r=t}}),Qu=_(function(n,r){var t,e;return r.h?(e=Du(j(Ou,32,(t=32*r.h)-1)),n=n?Tu(r.j):r.j,n=j(Zu,n,r.h),x(Su,qu(r.i)+t,j(Ku,5,e*Bu),n,r.i)):x(Su,qu(r.i),Bu,ju,r.i)}),Wu=h(function(n,r,t,e,u){for(;;){if(r<0)return j(Qu,!1,{j:e,h:t/32|0,i:u});var a={$:1,a:z(Yu,32,r,n)};n=n,r=r-32,t=t,e=j(B,a,e),u=u}}),Fu=_(function(n,r){var t;return 0<n?l(Wu,r,n-(t=n%32)-32,n,M,z(Yu,t,n-t,r)):Iu}),Xu=function(n){return!n.$},na=Hn,ra=Un,ta=function(n){return{$:0,a:n}},ea=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},s=function(n){return n},ua=function(n){return n.length},aa=Pn,ca=_(function(n,r){return n<1?r:z(aa,n,ua(r),r)}),ia=function(n){return""===n},oa=_(function(n,r){return n<1?"":z(aa,0,n,r)}),fa=function(n){for(var r=0,t=n.charCodeAt(0),e=43==t||45==t?1:0,u=e;u<n.length;++u){var a=n.charCodeAt(u);if(a<48||57<a)return E;r=10*r+a-48}return u==e?E:A(45==t?-r:r)},ba=jn,sa=function(n){for(;;)0},la=cr,tn=la(0),da=i(function(n,r,t,e){var u,a,c,i;return e.b?(u=e.a,(e=e.b).b?(a=e.a,(e=e.b).b?(c=e.a,(e=e.b).b?(i=e.b,j(n,u,j(n,a,j(n,c,j(n,e.a,500<t?z(P,n,r,Tu(i)):x(da,n,r,t+1,i)))))):j(n,u,j(n,a,j(n,c,r)))):j(n,u,j(n,a,r))):j(n,u,r)):r}),va=y(function(n,r,t){return x(da,n,r,0,t)}),S=_(function(t,n){return z(va,_(function(n,r){return j(B,t(n),r)}),M,n)}),ga=or,ha=_(function(r,n){return j(ga,function(n){return la(r(n))},n)}),$a=y(function(t,n,e){return j(ga,function(r){return j(ga,function(n){return la(j(t,r,n))},e)},n)}),pa=kr,ma=_(function(n,r){return lr(j(ga,pa(n),r))}),sn=y(function(n,r,t){return j(ha,function(n){return 0},Tt(j(S,ma(n),r)))}),Sn=y(function(n,r,t){return la(0)}),nn=_(function(n,r){return j(ha,n,r)}),wa=(wr.Task={b:tn,c:sn,d:Sn,e:nn,f:void 0},yr("Task")),er=dt,ka=xr,_a=ka(M),ya={$:3},xa=_(function(n,r){return n}),La=_(function(n,r){return{$:0,a:n,b:r}}),Ca=_(function(n,r){return{d7:r,ew:n}}),Ma={$:-2},Ta=Ma,un=la(j(Ca,Ta,Ta)),Aa=W,Ea=_(function(n,r){for(;;){if(-2===r.$)return E;var t=r.c,e=r.d,u=r.e;switch(j(Aa,n,r.b)){case 0:n=n,r=e;continue;case 1:return A(t);default:n=n,r=u;continue}}}),Na=h(function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}}),Pa=h(function(n,r,t,e,u){var a,c,i,o;return-1!==u.$||u.a?-1!==e.$||e.a||-1!==e.d.$||e.d.a?l(Na,n,r,t,e,u):(a=e.d,o=e.e,l(Na,0,e.b,e.c,l(Na,1,a.b,a.c,a.d,a.e),l(Na,1,r,t,o,u))):(a=u.b,c=u.c,i=u.d,u=u.e,-1!==e.$||e.a?l(Na,n,a,c,l(Na,0,r,t,e,i),u):l(Na,0,r,t,l(Na,1,e.b,e.c,e.d,o=e.e),l(Na,1,a,c,i,u)))}),Sa=y(function(n,r,t){if(-2===t.$)return l(Na,0,n,r,Ma,Ma);var e=t.a,u=t.b,a=t.c,c=t.d,i=t.e;switch(j(Aa,n,u)){case 0:return l(Pa,e,u,a,z(Sa,n,r,c),i);case 1:return l(Na,e,u,r,c,i);default:return l(Pa,e,u,a,c,z(Sa,n,r,i))}}),ja=y(function(n,r,t){n=z(Sa,n,r,t);return-1!==n.$||n.a?n:l(Na,1,n.b,n.c,n.d,n.e)}),za=_(function(n,r){var t=n.a,n=n.b,e=j(Ea,t,r);return z(ja,t,1===e.$?T([n]):j(B,n,e.a),r)}),Oa=function(t){return{$:2,b:function(n){var r=t.f;2===r.$&&r.c&&r.c(),t.f=null,n({$:0,a:F})},c:null}},Ba=y(function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.e,u=n,a=z(n,t.b,t.c,z(Ba,n,r,t.d));n=u,r=a,t=e}}),Ia=$(function(o,f,b,n,r,t){n=z(Ba,y(function(n,r,t){for(;;){var e=t.a,u=t.b;if(!e.b)return{a:e,b:z(b,n,r,u)};var a=e.a,c=a.a,a=a.b,i=e.b;if(0<=Q(c,n))return 0<Q(c,n)?{a:e,b:z(b,n,r,u)}:{a:i,b:x(f,c,a,r,u)};n=n,r=r,t={a:i,b:z(o,c,a,u)}}}),{a:iu(n),b:t},r),t=n.a,r=n.b;return z(P,_(function(n,r){return z(o,n.a,n.b,r)}),r,t)}),Ya=_r,Ha=ht,Ua=lr,Ra=y(function(r,n,t){var e,u;return n.b?(u=n.b,n=Ua(j(Ha,e=n.a,j(Ya,r,e))),j(ga,function(n){return z(Ra,r,u,z(ja,e,n,t))},n)):la(t)}),kn=y(function(r,n,t){var t=t.d7,e=y(function(n,r,t){var e=t.c;return{a:t.a,b:t.b,c:j(ga,function(n){return e},Oa(r))}}),u=z(P,za,Ta,n),n=D(Ia,y(function(n,r,t){var e=t.b,u=t.c;return{a:j(B,n,t.a),b:e,c:u}}),i(function(n,r,t,e){var u=e.c;return{a:e.a,b:z(ja,n,t,e.b),c:u}}),e,u,t,{a:M,b:Ta,c:la(0)}),a=n.a,c=n.b;return j(ga,function(n){return la(j(Ca,u,n))},j(ga,function(n){return z(Ra,r,a,c)},n.c))}),cn=s,Da=(Ge=cn,{$:2,b:function(n){n({$:0,a:Ge(Date.now())})},c:null}),G=y(function(t,n,r){var e,n=j(Ea,n,r.ew);return 1===n.$?la(r):(e=n.a,j(ga,function(n){return la(r)},j(ga,function(r){return Tt(j(S,function(n){return j(pa,t,n(r))},e))},Da)))}),qa=y(function(n,r,t){return n(r(t))}),Ka=(wr.Time={b:un,c:kn,d:G,e:0,f:_(function(n,r){return j(La,r.a,j(qa,n,r.b))})},yr("Time")),Va=_(function(n,r){return Ka(j(La,n,r))}),Ja=xr(M),Ga=_(function(n,r){return{$:1,a:n,b:r}}),Za=_(function(n,r){return{$:2,a:n,b:r}}),Qa=fr,Wa=_(function(n,r){return wa(j(Qa,j(qa,j(qa,la,n),su),j(ga,j(qa,j(qa,la,n),gu),r)))}),p=y(function(n,r,t){return r(n(t))}),Fa=function(n){return{$:3,a:n}},Xa=_(function(n,r){switch(r.$){case 0:case 1:case 2:return{$:1,a:n};default:return Fa(C(r.a,{hh:A(n)}))}}),nc=_(function(n,r){return C(r,{J:j(Xa,n,r.J)})}),rc={$:0},_n=cn(0),tc={Z:Ta,a2:M,cx:_n,cT:{bk:St,X:Ta},cY:E},ec=function(n){return{bP:j(nc,n.b0,Pt(n.aV)),n:tc}},uc=_(function(n,r){return Fa({a_:E,a1:E,as:r,hh:E,c6:E,aA:n})}),ac=_(function(n,r){var t=n.aA,e=n.as;switch(r.$){case 0:return j(uc,t,e);case 1:return Fa({a_:E,a1:E,as:e,hh:A(r.a),c6:E,aA:t});case 2:var u=r.a.c6;return Fa({a_:r.a.a_,a1:E,as:e,hh:A(r.a.b0),c6:A(u),aA:t});default:return Fa(C(r.a,{as:e,aA:t}))}}),cc=_(function(n,r){return C(r,{J:j(ac,n,r.J)})}),ic=function(n){return{bP:j(cc,{as:n.as,aA:n.aA},Pt(n.aV)),n:tc}},Y=_(function(n,r){return r.$?E:A(n(r.a))}),oc=ir,fc={$:2},bc=_(function(n,r){return r.b?z(va,B,r,n):n}),sc=_(function(e,n){return function(t){return j(ga,function(n){var r=n;return j(ha,function(n){return{bh:j(p,r.bh,n.bh),bo:j(bc,r.bo,n.bo)}},e(r.bh(t)))},n(t))}}),lc=_(function(n,r){return C(r,{c6:n})}),dc=i(function(n,r,t,e){return j(ha,n,j(r,e,t))}),vc={$:3},gc=_(function(n,r){var t,e,u;return-2===r.$?Ma:(e=r.d,u=r.e,l(Na,r.a,t=r.b,j(n,t,r.c),j(gc,n,e),j(gc,n,u)))}),hc=_(function(n,r){var t=n.dq,e=n.fy,u=n.hl,n=n.eC;return{cy:t,a5:j(B,n,r.a5),eD:z(ja,n,t,j(gc,_(function(n,r){return j(p,e,j(p,r,u))}),r.eD))}}),$c=_(function(t,n){return z(va,_(function(n,r){return t(n)?j(B,n,r):r}),M,n)}),pc=y(function(n,r,t){n=n(r);return n.$?t:j(B,n.a,t)}),mc=_(function(n,r){return z(va,pc(n),M,r)}),wc=_(function(n,r){return j(Ea,n,r.eD)}),kc=function(n){return n.b?A(n.a):E},_c=_(function(n,r){for(;;){if(!r.b)return!1;var t=r.b;if(n(r.a))return!0;n=n,r=t}}),yc=_(function(r,n){return j(_c,function(n){return L(n,r)},n)}),xc=_(function(r,t){return kc(j(mc,function(n){return j(wc,n,t)},j($c,function(n){return j(yc,n,r)},t.a5)))}),e=_(function(n,r){return C(r,{a5:j(B,n,r.a5),eD:z(ja,n,r.cy,r.eD)})}),gn=_(function(n,r){return{$:0,a:n,b:r}}),Lc=j(p,It,j(p,pu("Bearer "),j(p,gn("Authorization"),Bt))),Cc=y(function(n,r,t){return{ah:T([{$:7,a:r}]),aV:t.aV,bP:t,bp:n}}),Mc=y(function(n,r,t){return n+("/"+(j(N,"/",r)+function(n){return n.b?"?"+j(N,"&",j(S,Yt,n)):""}(t)))}),Tc=y(function(n,r,t){return j(N,r,j(wu,n,t))}),Ac=j(p,j(P,_(function(n,r){switch(n.$){case 7:return n.a;case 5:return z(Tc,n.a,n.b,r);default:return r}}),""),j(p,Ht,wu("/"))),Ec=mc(function(n){return 4===n.$?A(n.a):E}),Nc=_(function(n,r){return{$:3,a:n,b:r}}),Pc=function(n){return{$:0,a:n}},Sc=_(function(n,r){return{$:4,a:n,b:r}}),jc={$:2},zc=function(n){return{$:1,a:n}},Oc=function(n){return{$:0,a:n}},Bc={$:1},Ic=function(n){return!n.$},Yc=m(function(n,r,t,e,u,a,c){if(-1!==a.$||a.a){for(;;){if(-1!==c.$||1!==c.a)break;if(-1!==c.d.$)return Rt(r);if(1===c.d.a)return Rt(r);break}return r}return l(Na,t,a.b,a.c,a.d,l(Na,0,e,u,a.e,c))}),Hc=_(function(n,r){var t,e,u,a,c,i,o;return-2===r.$?Ma:(t=r.a,u=r.c,a=r.d,c=r.e,Q(n,e=r.b)<0?-1===a.$&&1===a.a?-1!==(i=a.d).$||i.a?-1===(i=Ut(r)).$?(o=i.e,l(Pa,i.a,i.b,i.c,j(Hc,n,i.d),o)):Ma:l(Na,t,e,u,j(Hc,n,a),c):l(Na,t,e,u,j(Hc,n,a),c):j(Uc,n,q(Yc,n,r,t,e,u,a,c)))}),Uc=_(function(n,r){var t,e,u,a,c;return-1===r.$?(t=r.a,e=r.c,u=r.d,a=r.e,L(n,r=r.b)?-1===(c=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(a)).$?l(Pa,t,c.b,c.c,u,Dt(a)):Ma:l(Pa,t,r,e,u,j(Hc,n,a))):Ma}),Rc=_(function(n,r){n=j(Hc,n,r);return-1!==n.$||n.a?n:l(Na,1,n.b,n.c,n.d,n.e)}),Dc=y(function(n,r,t){r=r(j(Ea,n,t));return r.$?j(Rc,n,t):z(ja,n,r.a,t)}),qc=pr,Kc={$:2},Vc={$:1},Jc=Gn,on=Bn,Gc=Yn,Zc=function(n){return{$:1,a:n}},a=t,c=In,Hn=y(function(r,t,e){return j(Gc,function(n){return L(n,r)?j(na,t,e):Zc("Not the right errcode")},j(a,"errcode",c))}),Qc=On,Wc=function(n){return{$:11,g:n}},Fc=function(n){return{$:5,c:n}},Xc=r,u=_(function(r,t){return j(Gc,function(n){return n.$?ta(E):j(a,r,Wc(T([Fc(E),j(na,A,t)])))},xe(j(a,r,Xc)))}),Un=j(na,function(n){return{ao:n}},j(u,"error",c)),ni=Wc(T([z(Hn,"M_FORBIDDEN",Ft,Un),z(Hn,"M_UNKNOWN_TOKEN",me,z(ra,_(function(n,r){return{ao:n,eq:r}}),j(u,"error",c),j(u,"soft_logout",on))),z(Hn,"M_MISSING_TOKEN",ce,z(ra,_(function(n,r){return{ao:n,eq:r}}),j(u,"error",c),j(u,"soft_logout",on))),z(Hn,"M_BAD_JSON",Vt,Un),z(Hn,"M_NOT_JSON",oe,Un),z(Hn,"M_NOT_FOUND",ie,Un),z(Hn,"M_LIMIT_EXCEEDED",ue,z(ra,_(function(n,r){return{ao:n,gA:r}}),j(u,"error",c),j(u,"retry_after_ms",Qc))),z(Hn,"M_UNKNOWN",pe,Un),z(Hn,"M_UNRECOGNIZED",we,Un),z(Hn,"M_UNAUTHORIZED",$e,Un),z(Hn,"M_USER_DEACTIVATED",_e,Un),z(Hn,"M_USER_IN_USE",ye,Un),z(Hn,"M_INVALID_USERNAME",ee,Un),z(Hn,"M_ROOM_IN_USE",be,Un),z(Hn,"M_INVALID_ROOM_STATE",te,Un),z(Hn,"M_THREEPID_IN_USE",ve,Un),z(Hn,"M_THREEPID_NOT_FOUND",ge,Un),z(Hn,"M_THREEPID_AUTH_FAILED",le,Un),z(Hn,"M_THREEPID_DENIED",de,Un),z(Hn,"M_SERVER_NOT_TRUSTED",se,Un),z(Hn,"M_UNSUPPORTED_ROOM_VERSION",ke,Un),z(Hn,"M_INCOMPATIBLE_ROOM_VERSION",ne,z(ra,_(function(n,r){return{ao:n,gD:r}}),j(u,"error",c),j(u,"room_version",c))),z(Hn,"M_BAD_STATE",Jt,Un),z(Hn,"M_GUEST_ACCESS_FORBIDDEN",Xt,Un),z(Hn,"M_CAPTCHA_NEEDED",Qt,Un),z(Hn,"M_CAPTCHA_INVALID",Zt,Un),z(Hn,"M_MISSING_PARAM",ae,Un),z(Hn,"M_INVALID_PARAM",re,Un),z(Hn,"M_TOO_LARGE",he,Un),z(Hn,"M_EXCLUSIVE",Wt,Un),z(Hn,"M_RESOURCE_LIMIT_EXCEEDED",fe,z(ra,_(function(n,r){return{eN:r,ao:n}}),j(u,"error",c),j(a,"admin_contact",c))),z(Hn,"M_CANNOT_LEAVE_SERVER_NOTICE_ROOM",Gt,Un)])),ri=_(function(n,r){var t=j(Jc,Xc,r);return 1===t.$?su({$:1,a:{$:0,a:Nu(t.a)}}):(t=j(Jc,n,r)).$?(n=t.a,su((r=j(Jc,ni,r)).$?{$:1,a:{$:0,a:Nu(n)}}:{$:2,a:r.a})):gu(t.a)}),ti=j(pt,"",s),H=_(function(n,r){return r.$?n:r.a}),ei=_(function(n,r){var t;return Kt((t={e5:(t=j(H,qt(j(mc,function(n){return n.$?E:A({a:n.a,b:n.b})},r.ah)),kc(Tu(j(mc,function(n){return 1===n.$?A(n.a):E},r.ah)))),j(mt,"application/json",j(mu,0,t))),fJ:j(mc,function(n){return 2===n.$?A(n.a):E},r.ah),bp:r.bp,gy:function(e){return ti(function(n){switch(n.$){case 0:return su({$:0,a:{$:0,a:n.a}});case 1:return su({$:0,a:Vc});case 2:return su({$:0,a:Kc});default:var r=n.a,t=n.b;return j(ri,e(r.eu),t)}})}(xa(n)),hf:kc(Tu(j(mc,function(n){return 6===n.$?A(n.a):E},r.ah))),hn:function(n){var r=n.ah;return z(Mc,n.aV,Ac(r),Ec(r))}(r)},z($t,0,Le,{eW:!1,e5:t.e5,ch:t.gy,fJ:t.fJ,bp:t.bp,hf:t.hf,ex:E,hn:t.hn})))}),ui=j(na,function(n){return{c6:n}},j(a,"user_id",c)),ai=_(function(n,r){var t=r;return{ah:j(bc,t.ah,j(S,function(n){return n(t.bP)},n)),aV:t.aV,bP:t.bP,bp:t.bp}}),ci=z(ra,_(function(n,r){return{a_:n,c6:r}}),j(u,"device_id",c),j(a,"user_id",c)),ii=Rn,Pn=y(function(n,r,t){return j(na,H(r),j(u,n,t))}),oi=x(ii,y(function(n,r,t){return{a_:n,cs:r,c6:t}}),j(u,"device_id",c),z(Pn,"is_guest",!1,on),j(a,"user_id",c)),fi=_(function(n,r){return l(Na,1,n,r,Ma,Ma)}),bi=z(dc,function(n){return{bh:lc(n.c6),bo:T([{$:17,a:n}])}},_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(e,"v1.4",j(e,"v1.3",j(hc,{dq:Te,fy:s,hl:_(function(n,r){return j(ha,Ot,n(r))}),eC:"v1.2"},j(hc,{dq:Me,fy:s,hl:_(function(n,r){return j(ha,zt,n(r))}),eC:"v1.1"},j(e,"r0.6.1",j(e,"r0.6.0",j(e,"r0.5.0",j(e,"r0.4.0",Ee({dq:Ce,eC:"r0.3.0"}))))))))))))),Uu(r),n)}),0),si=_(function(n,r){return{$:10,a:n,b:r}}),li=_(function(n,r){return{$:0,a:n,b:r}}),di=y(function(n,r,t){return j(li,n,r)}),vi=ur,gi=_(function(n,r){return j(di,n,vi(r))}),hi=Dn,$i=l(hi,i(function(n,r,t,e){return{b0:n,cp:r,cS:t,c6:e}}),j(a,"access_token",c),j(a,"home_server",c),j(u,"refresh_token",c),j(a,"user_id",c)),pi={$:3},mi=_(function(n,r){return r.$?xa(pi):j(gi,n,r.a)}),jn=qn,wi=D(jn,h(function(n,r,t,e,u){return{b0:n,a_:r,cp:t,cS:e,c6:u}}),j(a,"access_token",c),j(na,A,j(a,"device_id",c)),j(a,"home_server",c),ta(E),j(a,"user_id",c)),ki=D(jn,h(function(n,r,t,e,u){return{b0:n,a_:r,cp:t,cS:e,c6:u}}),j(a,"access_token",c),j(na,A,j(a,"device_id",c)),ta(E),ta(E),j(a,"user_id",c)),kr=j(na,function(n){return{aV:n}},j(a,"base_url",c)),tn=j(na,function(n){return{aV:n}},j(a,"base_url",c)),sn=z(ra,_(function(n,r){return{cC:n,cD:r}}),j(a,"m.homeserver",kr),j(u,"m.identity_server",tn)),Sn=Kn,_i=q(Sn,$(function(n,r,t,e,u,a){return{b0:n,a_:r,cp:t,cS:e,c6:u,c8:a}}),j(a,"access_token",c),j(na,A,j(a,"device_id",c)),ta(E),ta(E),j(a,"user_id",c),j(u,"well_known",sn)),yi=ur,xi=_(function(n,r){return j(di,n,yi(r))}),nn=j(na,function(n){return{aV:n}},j(a,"base_url",c)),dt=j(na,function(n){return{aV:n}},j(a,"base_url",c)),W=z(ra,_(function(n,r){return{cC:n,cD:r}}),j(a,"m.homeserver",nn),j(u,"m.identity_server",dt)),Li=Vn,Ci=K(Li,m(function(n,r,t,e,u,a,c){return{b0:n,a_:r,ci:t,cp:e,cS:u,c6:a,c8:c}}),j(a,"access_token",c),j(na,A,j(a,"device_id",c)),j(u,"expires_in_ms",Qc),ta(E),j(u,"refresh_token",c),j(a,"user_id",c),j(u,"well_known",W)),Mi=_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(e,"v1.4",j(hc,{dq:Oe,fy:s,hl:_(function(n,r){return j(ha,He,n(r))}),eC:"v1.3"},j(e,"v1.2",j(hc,{dq:ze,fy:s,hl:s,eC:"v1.1"},j(e,"r0.6.1",j(e,"r0.6.0",j(hc,{dq:je,fy:s,hl:_(function(n,r){return j(ha,Ye,n(r))}),eC:"r0.5.0"},j(hc,{dq:Se,fy:s,hl:_(function(n,r){return j(ha,Ie,n(r))}),eC:"r0.4.0"},j(hc,{dq:Pe,fy:function(n){return{as:n.as,aA:n.aA}},hl:_(function(n,r){return j(ha,Be,n(r))}),eC:"r0.3.0"},j(e,"r0.2.0",j(e,"r0.1.0",j(e,"r0.0.1",Ee({dq:Ne,eC:"r0.0.0"}))))))))))))))))),Uu(r),n)}),Ti=_(function(n,r){return C(r,{b0:n.b0,bU:n.bU})}),Ai=y(function(n,r,t){return j(Qa,xa(n(t)),r(t))}),Ei=function(n){return xa(la({bh:lc(n),bo:M}))},Ni=function(n){return{$:8,b:n}},_r=function(n){return{$:3,b:n}},ht=z(ra,_(function(n,r){return{c5:n,eD:r}}),z(Pn,"unstable_features",Ta,De(on)),j(a,"versions",_r(c))),Pi=j(p,j(Cc,"GET","/_matrix/client/versions"),ei(ht)),Si=_(function(n,r){return C(r,{eD:n})}),ji=z(dc,function(n){return{bh:Si(n.eD),bo:T([{$:16,a:n}])}},_(function(n,r){return Pi(n)}),0),zi=_(function(t,e){return 0<t?j(Qa,function(n){var r=j(zi,t-1,e);switch(n.$){case 0:return n.a.$?r:oc(n);case 1:return n.a.$?oc(n):r;default:return oc(n)}},e):e}),Oi=y(function(n,r,t){return j(zi,n-1,r(t))}),Bi=function(n){return xa(la({bh:Si(n.eD),bo:M}))},Ii=_(function(n,r){return C(r,{aV:n})}),Yi=_(function(n,r){return{$:14,a:n,b:r}}),Hi=_(function(n,r){return{$:0,a:n,b:r}}),Ui=function(n){return encodeURIComponent(n)},Ri=_(function(n,r){return j(Hi,Ui(n),Ui(r))}),Di=y(function(n,r,t){return{$:4,a:j(Ri,n,r?"true":"false")}}),qi=_(function(n,r){return r.$?xa(pi):j(Di,n,r.a)}),Ki=_(function(n,r){return j(Hi,Ui(n),I(r))}),Vi=y(function(n,r,t){return{$:4,a:j(Ki,n,r)}}),Ji=_(function(n,r){return r.$?xa(pi):j(Vi,n,r.a)}),Gi=y(function(n,r,t){return{$:4,a:j(Ri,n,r)}}),Zi=_(function(n,r){return r.$?xa(pi):j(Gi,n,r.a)}),un=z(ra,_(function(n,r){return{bf:n,fB:r}}),j(a,"content",Xc),j(a,"type",c)),kn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(un))),G=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(un))),fr=l(hi,i(function(n,r,t,e){return{bf:n,fB:e,cU:r,gT:t}}),j(a,"content",Xc),j(a,"sender",c),j(a,"state_key",c),j(a,"type",c)),gn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(fr))),Gn=j(na,function(n){return{cr:n}},j(u,"invite_state",gn)),Bn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(un))),Yn=x(ii,y(function(n,r,t){return{cB:n,cE:r,cF:t}}),j(u,"m.heroes",_r(c)),j(u,"m.invited_member_count",Qc),j(u,"m.joined_member_count",Qc)),Qi=function(n){return j(Gc,n,ta(0))},Wi=j(na,cn,Qc);function Fi(){return l(hi,i(function(n,r,t,e){return{df:n,d4:r,ea:t,ez:e}}),j(u,"age",Qc),j(u,"prev_content",Xc),j(u,"redacted_because",Xi()),j(u,"transaction_id",c))}function Xi(){return K(Li,m(function(n,r,t,e,u,a,c){return{bf:n,du:r,fB:a,cN:t,cU:e,gT:u,c4:c}}),j(a,"content",Xc),j(a,"event_id",c),j(a,"origin_server_ts",Wi),j(a,"sender",c),j(u,"state_key",c),j(a,"type",c),j(u,"unsigned",Qi(function(n){return Fi()})))}function no(n){return j(p,j(Cc,"GET","/_matrix/client/v3/sync"),j(p,ai(T([Lc,j(Zi,"filter",n.ap),j(qi,"full_state",n.cj),j(Zi,"set_presence",j(Y,Je,n.cW)),j(Zi,"since",n.cY),j(Ji,"timeout",n.hf),uo(j(Y,j(p,Vu(1e3),Ct),n.hf))])),ei(eo)))}var ro=Fi(),to=(Fi=function(){return ro},Xi()),t=(Xi=function(){return to},j(na,function(n){return{e:n}},z(Pn,"events",M,_r(to)))),In=x(ii,y(function(n,r,t){return{e:n,cA:r,cP:t}}),z(Pn,"events",M,_r(to)),z(Pn,"limited",!1,on),j(u,"prev_batch",c)),On=z(ra,_(function(n,r){return{co:n,cL:r}}),j(u,"highlight_count",Qc),j(u,"notification_count",Qc)),r=q(Sn,$(function(n,r,t,e,u,a){return{Z:n,cg:r,es:t,c0:e,ba:u,c2:a}}),j(u,"account_data",kn),j(u,"ephemeral",Bn),j(u,"state",t),j(u,"summary",Yn),j(u,"timeline",In),j(u,"unread_notifications",On)),Hn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(fr))),Un=j(na,function(n){return{cw:n}},j(u,"knock_state",Hn)),pt=x(ii,y(function(n,r,t){return{Z:n,es:r,ba:t}}),j(u,"account_data",kn),j(u,"state",t),j(u,"timeline",In)),Rn=l(hi,i(function(n,r,t,e){return{cq:n,ct:r,cv:t,cz:e}}),z(Pn,"invite",Ta,De(Gn)),z(Pn,"join",Ta,De(r)),z(Pn,"knock",Ta,De(Un)),z(Pn,"leave",Ta,De(pt))),eo=l(hi,i(function(n,r,t,e){return{Z:n,cK:r,cO:t,cT:e}}),j(u,"account_data",kn),j(a,"next_batch",c),j(u,"presence",G),j(u,"rooms",Rn)),uo=_(function(n,r){return n.$?pi:{$:6,a:n.a}}),Dn=z(ra,_(function(n,r){return{bf:n,fB:r}}),j(a,"content",Xc),j(a,"type",c)),qn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(Dn))),jn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(Dn))),kr=l(hi,i(function(n,r,t,e){return{bf:n,fB:e,cU:r,gT:t}}),j(a,"content",Xc),j(a,"sender",c),j(a,"state_key",c),j(a,"type",c)),tn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(kr))),Kn=j(na,function(n){return{cr:n}},j(u,"invite_state",tn)),sn=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(Dn))),nn=x(ii,y(function(n,r,t){return{cB:n,cE:r,cF:t}}),j(u,"m.heroes",_r(c)),j(u,"m.invited_member_count",Qc),j(u,"m.joined_member_count",Qc));function ao(){return l(hi,i(function(n,r,t,e){return{df:n,d4:r,ea:t,ez:e}}),j(u,"age",Qc),j(u,"prev_content",Xc),j(u,"redacted_because",co()),j(u,"transaction_id",c))}function co(){return K(Li,m(function(n,r,t,e,u,a,c){return{bf:n,du:r,fB:a,cN:t,cU:e,gT:u,c4:c}}),j(a,"content",Xc),j(a,"event_id",c),j(a,"origin_server_ts",Wi),j(a,"sender",c),j(u,"state_key",c),j(a,"type",c),j(u,"unsigned",Qi(function(n){return ao()})))}function io(n){return j(p,j(Cc,"GET","/_matrix/client/v3/sync"),j(p,ai(T([Lc,j(Zi,"filter",n.ap),j(qi,"full_state",n.cj),j(Zi,"set_presence",j(Y,Je,n.cW)),j(Zi,"since",n.cY),j(Ji,"timeout",n.hf),uo(j(Y,j(p,Vu(1e3),Ct),n.hf))])),ei(If)))}function oo(n){return{df:n.df,d4:n.d4,ea:j(Y,Yf,n.ea),ez:n.ez}}function fo(n){return{e:j(S,Yf,n.e)}}function bo(n){return{e:j(S,Yf,n.e),cA:n.cA,cP:n.cP}}function so(n){return{cq:n.cq,ct:j(gc,function(n){return Hf},n.ct),cv:n.cv,cz:j(gc,function(n){return Uf},n.cz)}}function lo(n){return{Z:n.Z,cK:n.cK,cO:n.cO,cT:j(Y,so,n.cT)}}function vo(r){return z(dc,function(n){return{bh:s,bo:T([j(Yi,r,n)])}},Rf,r)}function go(n){return-n}function ho(n){return n<0?-n:n}function $o(n){switch(j(Aa,n,0)){case 2:return j(Df,0,Jf(n));case 1:return qf;default:return j(Df,1,Jf(ho(n)))}}function po(n){return j(u1,n,"")}function mo(n){var r;return 1===(n=n).$?"0":(r=n.b,O(1===n.a?"-":"",f1(z(P,pu,"",j(S,j(p,I,j(i1,7,"0")),r)))))}function wo(n){return j(sc,Ue(n.J),qe(n))}function ko(n){return n}function _o(n){return n}function yo(n){return n}function xo(n){return n}function Lo(n){return n}function Co(n){return Lo(n)>>3}function Mo(n){return j(C1,L1,ko(n))}function To(n){var r=n/x1|0;return j(C1,x1,n)+M1+(r+T1)*L1}function Ao(n){return To(A1(n)>>6&63)}function Eo(n){return!!(32768&A1(n))}function No(n){return To(63&A1(n))}function Po(n){return Eo(n)&&Q(ko(Ao(n)),ko(No(n)))<0}function So(n){return Eo(n)&&0<Q(ko(Ao(n)),ko(No(n)))}function jo(n){return j(U1,ko(n),D1)}function zo(n){return L(n=A1(n)>>12&7,0)?E:A(n)}function Oo(n){return ko(n)/L1|0}function Bo(n){return j(K1,-1,n)}function Io(n){return n}function Yo(n){return 7&Lo(n)}function Ho(n){return z(va,bc,M,n)}function Uo(n){return n.b?z(H0,n,M,0):Iu}function Ro(n){return"P"===(n=Z0(n))?A(k1):"N"===n?A(V0):"B"===n?A(K0):"R"===n?A(G0):"Q"===n?A(J0):"K"===n?A(p1):E}function Do(n){return 0<=(n=Cu(n)-Cu("a"))&&Q(n,x1)<0?A(n+M1):E}function qo(n){return 0<=(n=Cu(n)-Cu("1"))&&Q(n,z0)<0?A(n+T1):E}function Ko(n){var r=eb(j(ca,1,n));return(n=tb(n)).$?E:j(Y,P1(n.a),r)}function Vo(n){return function(n){return j(cb,n.L-1,n)}(n)}function Jo(n){var r=n.bt,n=n.C;return qt(j(mc,s,T([j(Y,j(p,vi,ib("reason")),r),A({a:"m.relates_to",b:qt(T([{a:"event_id",b:vi(n)},{a:"relType",b:vi("me.noordstar.game.meta")}]))})])))}function Go(n){return ob(n)}function Zo(n){return j(_(function(n,r){for(;;){var t=bb(r);if(1===t.$)return n;var t=t.a,e=sb(r);if(1===e.$)return n;e=e.a;n=j(B,t,n),r=e}}),M,g0(ob(n)))}function Qo(n){return j(cb,0,n)}function Wo(n){return 1+(i0(n).aG/2|0)}function Fo(n){return i0(n).aQ}function Xo(n){return L(n,d0)?T([kb,$b]):L(n,Eb)?T([wb,mb,_b,pb,Cb,Lb,Tb,xb]):L(n,Ab)?T([kb,$b,Mb,yb]):L(n,Pb)?T([u0,f0,V1,y1]):L(n,Nb)||L(n,l0)?T([kb,$b,Mb,yb,u0,f0,V1,y1]):L(n,_1)?T([Mb,yb]):L(n,vb)?T([wb,mb,_b,pb,Cb,Lb,Tb,xb]):L(n,db)?T([kb,$b,Mb,yb]):L(n,hb)?T([u0,f0,V1,y1]):L(n,gb)||L(n,w1)?T([kb,$b,Mb,yb,u0,f0,V1,y1]):M}function nf(n){return r=Mo(n),Q(E1(r),M1)<0||0<Q(E1(r),j0)||(r=Oo(n),Q(N1(r),T1)<0)||0<Q(N1(r),O0);var r}function rf(n){return j(qb,Fo(n),n)}function tf(n){return!n}function ef(n){var r=ko(n)/L1|0;return j(C1,L1,ko(n))-M1+x1*(r-T1)}function uf(n){return i0(n).a0}function af(r){return j(I0,function(n){return j($s,n,r)},Y0)}function cf(n){return rf(n)&&!ku(af(n))}function of(n){return L(n,k1)?"P":L(n,V0)?"N":L(n,K0)?"B":L(n,G0)?"R":L(n,J0)?"Q":L(n,p1)?"K":"?"}function ff(n){return O(ks(Mo(n)),_s(Oo(n)))}function bf(n){return function(n){return fb(n)+("\n"+Ds(n)+(" "+qs(n)))}(n)}function sf(n){var r=n.f,n=n.m;return qt(T([{a:"id",b:vi("me.noordstar.chess.1v1")},{a:"data",b:qt(T([{a:"black",b:vi(r)},{a:"white",b:vi(n)}]))}]))}function lf(n){return function(n){return j(cb,n.L+1,n)}(n)}function df(n){return function(n){return L(n.L,ab(n.au)-1)}(n)}function vf(n){return g0(n)}function gf(n){return n}function hf(n){return n.bu}function $f(n){return"x"!==n&&"="!==n&&"+"!==n&&"#"!==n}function pf(n){return j(rb,Ro,kc(X0(n)))}function mf(r){return function(n){return z(Ml,n,Ll,r)}}function wf(r){return function(n){return z(pl,!1,r,n)}}function kf(n){return j(Hl,n,Yl(n))}function _f(r){return function(n){return l(Dl,r,n.ge,n.eh,n.dn,n)}}function yf(n){return Jl(j(Gl,Zl(s),Kl(Wf(n))))}function xf(n){return Wl(j(Hl,n,{$:8,a:n}))}function Lf(n){return L(ua(n.gS),n.ge)?z(pl,!1,0,n):j($l,!1,j(Ol,n,zf))}function Cf(n){return n.$?{$:1,a:n.a}:{$:0,a:n.a}}function Mf(n){return{$:3,a:n}}function Tf(n){return{$:0,a:n}}function Af(n){return{$:4,a:n}}function Ef(n){return{$:5,a:n}}function Nf(n){return ad(ud(n))}function Pf(n){return ia(cd(n))?Nf("blank"):Zl(n)}function Sf(n){return function(n){var u=n.a,a=n.b,c=!ia(u);return function(n){var r=l(Bl,u,n.ge,n.eh,n.dn,n.gS),t=r.a,e=r.b,r=r.c;return L(t,-1)||0<=z(Rl,function(n){return Mu(n)||"_"===n},t,n.gS)?j($l,!1,j(Ol,n,a)):z(pl,c,0,{dn:r,bP:n.bP,c:n.c,ge:t,eh:e,gS:n.gS})}}(j(Hl,n,{$:9,a:n}))}var jf,zf,Of=ao(),Bf=(ao=function(){return Of},co()),dt=(co=function(){return Bf},j(na,function(n){return{e:n}},z(Pn,"events",M,_r(Bf)))),Vn=z(ra,_(function(n,r){return{co:n,cL:r}}),j(u,"highlight_count",Qc),j(u,"notification_count",Qc)),W=x(ii,y(function(n,r,t){return{e:n,cA:r,cP:t}}),z(Pn,"events",M,_r(Bf)),z(Pn,"limited",!1,on),j(u,"prev_batch",c)),ht=z(ra,_(function(n,r){return{co:n,cL:r}}),j(u,"highlight_count",Qc),j(u,"notification_count",Qc)),gn=K(Li,m(function(n,r,t,e,u,a,c){return{Z:n,cg:r,es:t,c0:e,ba:u,c2:a,c3:c}}),j(u,"account_data",qn),j(u,"ephemeral",sn),j(u,"state",dt),j(u,"summary",nn),j(u,"timeline",W),j(u,"unread_notifications",ht),z(Pn,"unread_thread_notifications",Ta,De(Vn))),un=j(na,function(n){return{e:n}},z(Pn,"events",M,_r(kr))),cn=j(na,function(n){return{cw:n}},j(u,"knock_state",un)),Sn=x(ii,y(function(n,r,t){return{Z:n,es:r,ba:t}}),j(u,"account_data",qn),j(u,"state",dt),j(u,"timeline",W)),Bn=l(hi,i(function(n,r,t,e){return{cq:n,ct:r,cv:t,cz:e}}),z(Pn,"invite",Ta,De(Kn)),z(Pn,"join",Ta,De(gn)),z(Pn,"knock",Ta,De(cn)),z(Pn,"leave",Ta,De(Sn))),If=l(hi,i(function(n,r,t,e){return{Z:n,cK:r,cO:t,cT:e}}),j(u,"account_data",qn),j(a,"next_batch",c),j(u,"presence",jn),j(u,"rooms",Bn)),Yf=function(n){return{bf:n.bf,du:n.du,fB:n.fB,cN:n.cN,cU:n.cU,gT:n.gT,c4:j(Y,oo,n.c4)}},Hf=function(n){return{Z:n.Z,cg:n.cg,es:j(Y,fo,n.es),c0:n.c0,ba:j(Y,bo,n.ba),c2:n.c2,c3:Ta}},Uf=function(n){return{Z:n.Z,es:j(Y,fo,n.es),ba:j(Y,bo,n.ba)}},Rf=_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(hc,{dq:io,fy:s,hl:_(function(n,r){return j(ha,lo,n(r))}),eC:"v1.4"},j(e,"v1.3",Ee({dq:no,eC:"v1.2"}))))))),Uu(r),n)}),Df=_(function(n,r){return{$:0,a:n,b:r}}),qf={$:1},Kf=hn,Vf=j(Kf,10,7),Jf=_(function(n,r){for(;;){var t=r/Vf|0;if(!t)return Tu(j(B,r,n));n=j(B,r%Vf,n),r=t}})(M),Gf=j(p,$o,s),Zf=i(function(n,r,t,e){return{aY:e,bk:t,aP:r,a8:n}}),Qf=_(function(n,r){return(65535&r)*n+(((r>>>16)*n&65535)<<16)}),Wf=Z,Ff=wt,Xf=_(function(n,r){return r<<n|r>>>32-n}),Yn=kt,n1=Tn,r1=_(function(n,r){return j(Qf,5,j(Xf,13,n^j(Qf,461845907,j(Xf,15,j(Qf,3432918353,r)))))+3864292196}),t1=_(function(n,r){n=r.bk|(255&Cu(n))<<r.a8;return 24===r.a8?{aY:r.aY+1,bk:0,aP:j(r1,r.aP,n),a8:0}:{aY:r.aY+1,bk:n,aP:r.aP,a8:r.a8+8}}),e1=j(p,_(function(n,r){n=z(n1,t1,x(Zf,0,n,0,0),r);return((n=j(Qf,3266489909,(n=j(Qf,2246822507,(n=(n.bk?n.aP^j(Qf,461845907,j(Xf,15,j(Qf,3432918353,n.bk))):n.aP)^n.aY)^n>>>16))^n>>>13))^n>>>16)>>>0})(6),Gf),u1=Cn,a1=y(function(n,r,t){return 0<n?z(a1,n>>1,O(r,r),1&n?O(t,r):t):t}),c1=_(function(n,r){return z(a1,n,r,"")}),i1=y(function(n,r,t){return O(j(c1,n-ua(t),po(r)),t)}),o1=i(function(n,r,t,e){return{fT:r,f7:n,gd:t,gZ:e}}),On=Ze,fr=/.^/,f1=j(Qe(1/0),j(H,fr,j(On,{fd:!1,gb:!1},"^0*")),function(n){return""}),Hn="elm"+mo(e1("leaked_transactionId")),b1={b0:"mistaken_access_token",aV:"https://matrix.example.org",bU:E,cV:"$unknown-event-id",c1:_n,ez:Hn,c6:"@alice:example.org",eD:M},s1=j(p,function(n){return j(ha,function(n){return n.bo},n(b1))},ha(function(n){return n.b&&!n.b.b?n.a:{$:0,a:n}})),l1=_(function(n,r){return s1(j(sc,Ke(vo(n)),j(sc,Ue(Ve(r)),qe(r))))}),d1=_(function(n,r){return s1(j(sc,vo(n),wo(r)))}),v1=function(n){var r=n.bP,t={ap:E,cj:E,cW:E,cY:function(n){return n.cY}(n.n),hf:A(30)};return j(Qa,function(n){switch(n.$){case 3:case 1:case 0:return oc(n);default:switch(n.a.$){case 1:case 2:return j(l1,t,r);default:return oc(n)}}},j(d1,t,r))},g1=_(function(n,r){return{$:1,a:n,b:r}}),h1="me.noordstar.game.chess.accept",$1=_(function(n,r){return ko(n)+_o(r)}),p1=6,m1=_(function(n,r){return yo(n)<<3|xo(r)}),w1=j(m1,1,p1),k1=1,_1=j(m1,1,k1),y1=1,x1=8,L1=2*x1-1,C1=$n,M1=1,T1=2,A1=function(n){return n},E1=function(n){return n},N1=function(n){return n},P1=_(function(n,r){return E1(n)+N1(r)*L1}),S1=4294967295>>>32-Bu,j1=n,z1=y(function(n,r,t){for(;;){var e=j(j1,S1&r>>>n,t);if(e.$)return j(j1,S1&r,e.a);n=n-Bu,r=r,t=e.a}}),O1=_(function(n,r){var t=r.a,e=r.b,u=r.c,r=r.d;return n<0||-1<Q(n,t)?E:-1<Q(n,t>>>5<<5)?A(j(j1,S1&n,r)):A(z(z1,e,n,u))}),B1=j(m1,3,0),I1=_(function(n,r){return j(H,B1,j(O1,ko(n),r))}),Y1=fn,H1=i(function(n,r,t,e){var u=S1&r>>>n,a=j(j1,u,e);return z(Y1,u,a.$?{$:1,a:z(Y1,S1&r,t,a.a)}:{$:0,a:x(H1,n-Bu,r,t,a.a)},e)}),U1=y(function(n,r,t){var e=t.a,u=t.b,a=t.c,c=t.d;return n<0||-1<Q(n,e)?t:-1<Q(n,e>>>5<<5)?x(Su,e,u,a,z(Y1,S1&n,r,c)):x(Su,e,u,x(H1,u,n,r,a),c)}),R1=_(function(n,r){return j(U1,ko(r),n)}),D1=j(m1,2,0),q1=y(function(n,r,t){return z(R1,j(I1,n,t),r,j(jo,n,t))}),K1=_(function(n,r){return n*_o(r)}),V1=Bo(y1),J1=_(function(n,r){var t,e=Co(j(I1,Ao(n),r)),u=No(n),a=Ao(n),c=zo(n);return 1===c.$?Po(n)?z(q1,j($1,u,y1),j($1,a,y1),z(q1,a,u,r)):So(n)?z(q1,j($1,u,j(K1,2,V1)),j($1,a,V1),z(q1,a,u,r)):function(n){return!!(65536&A1(n))}(n)?(n=Mo(u),t=Oo(a),j(jo,j(P1,n,t),z(q1,a,u,r))):z(q1,a,u,r):z(R1,j(m1,e,c.a),u,j(jo,a,r))}),t=M1,In=T1,G1=j(P1,t,In),Gn=T1+7,Z1=j(P1,t,Gn),Q1=_(function(n,r){return Io(r)&~(1<<2*yo(n))}),W1=_(function(n,r){return Io(r)&~(1<<2*yo(n)+1)}),F1=_(function(n,r){return j(W1,n,j(Q1,n,r))}),r=M1+4,X1=j(P1,r,In),n0=j(P1,r,Gn),Un=M1+7,r0=j(P1,Un,In),t0=j(P1,Un,Gn),e0=_(function(n,r){var t=No(n),n=Ao(n);return(L(n,n0)?F1(1):s)((L(n,X1)?F1(0):s)((L(n,t0)||L(t,t0)?Q1(1):s)((L(n,r0)||L(t,r0)?Q1(0):s)((L(n,Z1)||L(t,Z1)?W1(1):s)((L(n,G1)||L(t,G1)?W1(0):s)(r))))))}),u0=L1,pt=_(function(n,r){return _o(n)+_o(r)}),a0=j(pt,u0,u0),c0=j(p,yo,j(p,Yn(1),s)),i0=function(n){return n},o0=_(function(n,r){return j(I1,n,i0(r).bD)}),f0=Bo(u0),b0=j(pt,f0,f0),s0=_(function(n,r){return ko(n)-ko(r)}),l0=j(m1,0,p1),d0=j(m1,0,k1),v0=_(function(n,r){var t=No(n),e=Ao(n),u=j(o0,e,r),a=r;return{aj:L(u,w1)?A(t):a.aj,bD:j(J1,n,a.bD),ak:j(e0,n,a.ak),a0:L(u,d0)&&L(j(s0,t,e),a0)?A(j($1,e,u0)):L(u,_1)&&L(j(s0,t,e),b0)?A(j($1,e,f0)):E,aG:a.aG+1,M:A(n),a:A(r),aO:L(Yo(u),k1)||!L(j(o0,t,r),D1)?0:a.aO+1,aQ:c0(a.aQ),aB:L(u,l0)?A(t):a.aB}}),g0=function(n){return n.aZ},h0=bn,$0=function(n){return[n]},p0=i(function(n,r,t,e){var u,a,c=S1&r>>>n;return-1<Q(c,qu(e))?j(h0,5===n?{$:1,a:t}:a={$:0,a:x(p0,n-Bu,r,t,ju)},e):(u=j(j1,c,e)).$?(a={$:0,a:x(p0,n-Bu,r,t,$0(u))},z(Y1,c,a,e)):z(Y1,c,a={$:0,a:x(p0,n-Bu,r,t,u.a)},e)}),m0=_(function(n,r){var t,e=r.a,u=r.b,a=r.c,r=qu(r.d),c=qu(n),r=e+(c-r);return L(c,32)?0<Q(r>>>Bu,1<<u)?(t=x(p0,c=u+Bu,e,n,$0({$:0,a:a})),x(Su,r,c,t,ju)):x(Su,r,u,x(p0,u,e,n,a),ju):x(Su,r,u,a,n)}),w0=_(function(n,r){return j(m0,j(h0,n,r.d),r)}),k0=dn,_0=ln,y0=_(function(n,r){var t=qu(n),e=32-qu(r.i)-t,u=z(k0,32,r.i,n);return e<0?{j:j(B,{$:1,a:u},r.j),h:r.h+1,i:z(_0,e,t,n)}:e?{j:r.j,h:r.h,i:u}:{j:j(B,{$:1,a:u},r.j),h:r.h+1,i:ju}}),x0=_(function(n,r){for(;;){if(n<=0)return r;if(!r.b)return r;n=n-1,r=r.b}}),L0=_(function(n,r){var t,e=r.a,u=r.c,a=r.d;return n?-1<Q(n,e>>>5<<5)?x(Su,e-n,Bu,ju,z(_0,n-(e>>>5<<5),qu(a),a)):(e=n/32|0,a=z(ou,t=_(function(n,r){return n.$?j(B,n.a,r):z(ou,t,r,n.a)}),T([a]),u),(u=j(x0,e,a)).b?(a=u.b,e={j:M,h:0,i:z(_0,n-32*e,qu(n=u.a),n)},j(Qu,!0,z(P,y0,e,a))):Iu):r}),C0=i(function(n,r,t,e){for(;;){var u=j(j1,S1&t>>>n,e);if(u.$)return z(_0,0,S1&r,u.a);n=n-Bu,r=r,t=t,e=u.a}}),M0=y(function(n,r,t){for(;;){if(Q(n,r)<1||!qu(t))return t;var e=j(j1,0,t);if(e.$)return t;n=n-Bu,r=r,t=e.a}}),T0=y(function(n,r,t){var e=S1&r>>>n,u=j(j1,e,t);return!u.$&&qu(n=z(T0,n-Bu,r,u.a))?z(Y1,e,{$:0,a:n},z(_0,0,1+e,t)):z(_0,0,e,t)}),A0=_(function(n,r){var t=r.a,e=r.b,u=r.c,a=r.d;return L(n,t)?r:-1<Q(n,t>>>5<<5)?x(Su,n,e,u,z(_0,0,S1&n,a)):(t=Du(j(Ou,32,j(Ku,1,(r=n>>>5<<5)-1))),x(Su,n,a=j(Ku,5,t*Bu),z(M0,e,a,z(T0,e,r,u)),x(C0,e,n,r,u)))}),E0=_(function(n,r){r=r.a,n=n<0?r+n:n;return n<0?0:0<Q(n,r)?r:n}),N0=y(function(n,r,t){r=j(E0,r,t),n=j(E0,n,t);return 0<Q(n,r)?Iu:j(L0,n,j(A0,r,t))}),P0=_(function(n,r){n=j(v0,n,g0(r));return C(r,{L:r.L+1,aZ:n,au:j(w0,n,z(N0,0,1+r.L,r.au))})}),S0=_(function(n,r){return j(P0,n,r)}),j0=M1+x1-1,kn=j(S,s,j(xu,M1,j0)),z0=8,O0=T1+z0-1,B0=j(S,s,j(xu,T1,O0)),I0=_(function(n,r){return Ho(j(S,n,r))}),Y0=j(I0,function(n){return j(S,P1(n),B0)},kn),G=(z0+3)*L1+x1+2,H0=y(function(n,r,t){for(;;){var e=j(Ju,32,n),u=e.a,e=e.b;if(Q(qu(u),32)<0)return j(Qu,!0,{j:r,h:t,i:u});n=e,r=j(B,{$:1,a:u},r),t=t+1}}),U0=y(function(n,r,t){for(;;){if(r<=0)return n;n=j(B,t,n),r=r-1,t=t}}),R0=_(function(n,r){return z(U0,M,n,r)}),D0=z(P,_(function(n,r){return z(U1,ko(n),D1,r)}),Uo(j(R0,G,B1)),Y0),Rn={aj:E,bD:D0,ak:0,a0:E,aG:0,M:E,a:E,aO:0,aQ:0,aB:E},q0=y(function(n,r,t){return{bD:n,aE:r,bX:t}}),K0=3,V0=2,J0=5,G0=4,Z0=function(n){return n.toUpperCase()},Q0=_(function(n,r){return z(R1,n,To(r.aE+8*r.bX),r.bD)}),W0=_(function(n,r){var t=function(n){return j(Y,m1(xt(n)?0:1),Ro(n))}(n);return t.$?Lt(n)?C(r,{aE:r.aE+Cu(n)-Cu("0")}):"/"===n?C(r,{aE:0,bX:r.bX-1}):r:C(r,{bD:j(Q0,t.a,r),aE:r.aE+1})}),F0=An,X0=function(n){return z(F0,B,M,n)},nb=function(n){return"K"===n?1:"Q"===n?2:"k"===n?4:"q"===n?8:0},rb=_(function(n,r){return r.$?E:n(r.a)}),tn=function(n){return"w"===n?A(0):"b"===n?A(1):E},tb=function(n){return j(rb,Do,kc(X0(n)))},eb=function(n){return j(rb,qo,kc(X0(n)))},ub=j(H,Rn,(Dn=Uo(j(wu," ",Dn="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1")),sn=Ko(j(H,"-",j(O1,3,Dn))),nn=j(rb,tn,kc(X0(j(H,"w",j(O1,1,Dn))))),ht=function(n){return z(P,Ff,0,j(S,nb,X0(n)))}(j(H,"-",j(O1,2,Dn))),jf=function(n){return z(P,W0,z(q0,D0,0,z0-1),X0(n)).bD}(j(H,"",j(O1,0,Dn))),Dn=kc(j($c,function(n){return L(j(I1,n,jf),l0)},Y0)),Vn=kc(j($c,function(n){return L(j(I1,n,jf),w1)},Y0)),A({aj:Vn,bD:jf,ak:ht,a0:sn,aG:0,M:E,a:E,aO:0,aQ:j(H,0,nn),aB:Dn}))),ab=function(n){return n.a},cb=_(function(n,r){return n<0||-1<Q(n,ab(r.au))?r:C(r,{L:n,aZ:j(H,ub,j(O1,n,r.au))})}),ib=_(function(n,r){return{a:n,b:r}}),ob=function(n){return j(cb,ab(n.au)-1,n)},fb=function(n){return z(P,_(function(n,r){return O(r,"["+n.a+' "'+n.b+'"]\n')}),"",n.bw)},bb=function(n){return i0(n).M},sb=function(n){return i0(n).a},lb=_(function(n,r){return L(n,0)?i0(r).aB:i0(r).aj}),db=j(m1,1,K0),vb=j(m1,1,V0),gb=j(m1,1,J0),hb=j(m1,1,G0),$b=j(pt,u0,y1),pb=j(pt,u0,j(K1,2,y1)),mb=j(pt,j(K1,2,u0),y1),wb=j(pt,j(K1,2,u0),V1),kb=j(pt,u0,V1),_b=j(pt,u0,j(K1,2,V1)),yb=j(pt,f0,y1),xb=j(pt,f0,j(K1,2,y1)),Lb=j(pt,j(K1,2,f0),y1),Cb=j(pt,j(K1,2,f0),V1),Mb=j(pt,f0,V1),Tb=j(pt,f0,j(K1,2,V1)),Ab=j(m1,0,K0),Eb=j(m1,0,V0),Nb=j(m1,0,J0),Pb=j(m1,0,G0),Sb=j(p,Yo,function(n){return L(n,K0)||L(n,G0)||L(n,J0)}),jb=j0+O0*L1-(M1+T1*L1),zb=_(function(n,u){return Tu(j(_(function(n,r){for(;;){if(nf(n))return r;var t=j($1,n,u),e=j(B,n,r);n=t,r=e}}),j($1,n,u),M))}),Ob=_(function(r,n){return j(S,function(n){return j(s0,n,r)},j(zb,r,n))}),Bb=_(function(n,r){return j(Fu,n,function(n){return r})}),Ib=Uo(j(I0,function(n){var r=j(I0,function(r){return Sb(n)?j(S,function(n){return{a:r,b:n}},(t=r,z(P,_(function(n,r){n=j(Ob,n,t);return 0<Q(ku(n),ku(r))?n:r}),M,Y0))):T([{a:r,b:r}]);var t},Xo(n)),t=_o(jb);return bu(z(P,_(function(n,r){return z(U1,t+_o(n.b),A(n.a),r)}),j(Bb,2*t+1,E),r))},j(S,s,j(xu,0,Lo(w1))))),Yb=y(function(n,r,t){var e=_o(jb);return j(H,E,j(O1,Lo(n)*(2*e+1)+ko(t)-ko(r)+e,Ib))}),Hb=i(function(t,n,e,u){var a=_(function(n,r){return L(n,e)||L(j(I1,n,t),D1)&&j(a,j($1,n,u),r)});return j(a,j($1,n,u),e)}),Ub=y(function(n,r,t){var e=j(I1,n,t),u=z(Yb,e,n,r);return 1!==u.$&&(u=u.a,!Sb(e)||x(Hb,t,n,r,u))}),Rb=y(function(r,t,e){return j(_c,function(n){return L(Co(j(I1,n,e)),r)&&z(Ub,n,t,e)},Y0)}),Db=y(function(n,r,t){return z(Rb,n,r,i0(t).bD)}),qb=_(function(n,r){var t=j(lb,n,r);return 1!==t.$&&(t=t.a,z(Db,c0(n),t,r))}),Kb=_(function(n,r){return rf(j(v0,n,r))}),Vb=_(function(n,r){return!j(qb,Fo(n),j(v0,r,n))}),Jb=_(function(n,r){return L(j(I1,n,r),D1)}),Gb=_(function(n,r){return j(Jb,n,i0(r).bD)}),Zb=_(function(n,r){return ef(r)|ef(n)<<6}),Qb=y(function(u,a,c){var n=Fo(a),i=c0(n);return j(_(function(n,r){for(;;){if(!j(Gb,n,a))return L(Co(j(o0,n,a)),i)?j(B,j(Zb,u,n),r):r;var t=j($1,n,c),e=j(B,j(Zb,u,n),r);n=t,r=e}}),j($1,u,c),M)}),Wb=_(function(n,r){return j(I0,j(Qb,n,r),Xo(Ab))}),Fb=_(function(n,r){return!!(Io(r)&1<<2*yo(n))}),Xb=_(function(n,r){return j(Fb,n,i0(r).ak)}),ns=_(function(n,r){return!!(Io(r)&1<<2*yo(n)+1)}),rs=_(function(n,r){return j(ns,n,i0(r).ak)}),ts=_(function(n,r){return ef(r)|ef(n)<<6|32768}),es=i(function(n,r,t,e){return O(!j(Xb,n,e)||(a=j($1,u=j($1,t,y1),y1),!j(Gb,u,e))||!j(Gb,a,e)||z(Db,r,t,e)||z(Db,r,u,e)||z(Db,r,a,e)?M:T([j(ts,t,a)]),j(rs,n,e)&&(n=j($1,a=j($1,u=j($1,t,V1),V1),V1),j(Gb,u,e))&&j(Gb,a,e)&&j(Gb,n,e)&&!z(Db,r,t,e)&&!z(Db,r,u,e)&&!z(Db,r,a,e)?T([j(ts,t,a)]):M);var u,a}),us=_(function(r,t){var n=Fo(t),e=c0(n);return O(j(S,function(n){return j(Zb,r,n)},j($c,function(n){return j(Gb,n,t)||L(Co(j(o0,n,t)),e)},j(S,$1(r),Xo(l0)))),x(es,n,e,r,t))}),as=_(function(r,t){var e=c0(Fo(t));return j(S,function(n){return j(Zb,r,n)},j($c,function(n){return j(Gb,n,t)||L(Co(j(o0,n,t)),e)},j(S,$1(r),Xo(Eb))))}),cs=_(function(n,r){return Co(j(o0,n,r))}),is=_(function(n,r){return L(r,0)?L(N1(Oo(n)),T1+1):L(N1(Oo(n)),O0-1)}),os=y(function(n,r,t){return ef(r)|ef(n)<<6|xo(t)<<12}),fs=i(function(n,r,t,e){n=L(n,0)?T([kb,$b]):T([Mb,yb]),n=j($c,function(n){return L(j(cs,n,e),r)},j(S,$1(t),n));return j(is,t,r)?j(I0,function(n){return j(S,j(os,t,n),T([J0,G0,K0,V0]))},n):j(S,Zb(t),n)}),bs=_(function(n,r){return ef(r)|ef(n)<<6|65536}),ss=i(function(n,r,t,e){var e=uf(e);return 1===e.$?M:(e=e.a,n=L(n,0)?T([kb,$b]):T([Mb,yb]),j(S,bs(t),j($c,Ru(e),j(S,$1(t),n))))}),ls=i(function(n,r,t,e){var u=L(n,0)?u0:f0,a=j(K1,2,u);return j(Gb,j($1,t,u),e)?j(is,t,r)?j(S,j(os,t,j($1,t,u)),T([J0,G0,K0,V0])):j(is,t,n)?O(T([j(Zb,t,j($1,t,u))]),j(Gb,j($1,t,a),e)?T([j(Zb,t,j($1,t,a))]):M):T([j(Zb,t,j($1,t,u))]):M}),ds=_(function(n,r){var t=Fo(r),e=c0(t);return O(x(ls,t,e,n,r),O(x(fs,t,e,n,r),x(ss,t,e,n,r)))}),vs=_(function(n,r){return j(I0,j(Qb,n,r),Xo(Nb))}),gs=_(function(n,r){return j(I0,j(Qb,n,r),Xo(Pb))}),hs=_(function(n,r){var t=j(o0,n,r);return L(Co(t),Fo(r))?L(Yo(t),k1)?j(ds,n,r):L(Yo(t),V0)?j(as,n,r):L(Yo(t),K0)?j(Wb,n,r):L(Yo(t),G0)?j(gs,n,r):L(Yo(t),J0)?j(vs,n,r):L(Yo(t),p1)?j(us,n,r):M:M}),$s=_(function(n,r){return j($c,Vb(r),j(hs,n,r))}),ps=_(function(n,r){return cf(j(v0,n,r))}),ms=j(p,of,po),ws=function(n){return n<0||1114111<n?"�":65535<n?String.fromCharCode(55296+Math.floor((n-=65536)/1024),n%1024+56320):String.fromCharCode(n)},ks=j(p,function(n){return ws(E1(n)-M1+Cu("a"))},po),_s=j(p,function(n){return ws(N1(n)-T1+Cu("1"))},po),ys=function(n){return n.toUpperCase()},xs=_(function(n,r){var t=No(n),e=zo(n),n=Ao(n);return O(L(Mo(n),Mo(t))?"":ks(Mo(n))+"x",O(ff(t),1===e.$?"":"="+ys(ms(e.a))))}),Ls=_(function(n,r){return!j(_c,j(qa,tf,n),r)}),Cs=_(function(n,r){return L(n,r)||!L(Mo(Ao(n)),Mo(Ao(r)))}),Ms=_(function(n,r){return L(n,r)||!L(Oo(Ao(n)),Oo(Ao(r)))}),Ts=y(function(n,r,t){var e=c0(n),u=j(m1,n,k1),n=L(n,0)?T([Mb,yb]):T([kb,$b]);return j(I0,function(n){return j(is,n,e)?j(S,j(os,n,r),T([J0,G0,K0,V0])):T([j(Zb,n,r)])},j($c,function(n){return L(j(o0,n,t),u)},j(S,$1(r),n)))}),As=y(function(n,r,t){var e,u=uf(t);return 1!==u.$&&L(u.a,r)?(e=j(m1,n,k1),u=L(n,0)?T([Mb,yb]):T([kb,$b]),j(S,function(n){return j(bs,n,r)},j($c,function(n){return L(j(o0,n,t),e)},j(S,$1(r),u)))):M}),Es=y(function(n,r,t){var e=c0(n),u=L(n,0)?f0:u0,a=j(m1,n,k1),c=j($1,r,u);return L(j(o0,c,t),a)?j(is,c,e)?j(S,j(os,c,r),T([J0,G0,K0,V0])):T([j(Zb,c,r)]):j(Gb,c,t)&&j(is,e=j($1,c,u),n)&&L(j(o0,e,t),a)?T([j(Zb,e,r)]):M}),Ns=y(function(n,r,t){return O(z(As,n,r,t),z(j(Gb,r,t)?Es:Ts,n,r,t))}),Ps=y(function(n,r,t){for(var e=j($1,r,t);;){if(!L(j(I1,e,n),D1))return e;e=j($1,e,t)}}),Ss=y(function(n,r,t){return z(Ps,i0(n).bD,r,t)}),js=i(function(n,r,t,e){var u=j(m1,n,r);return j(S,function(n){return j(Zb,n,t)},j($c,function(n){return L(j(o0,n,e),u)},j(S,Sb(u)?j(Ss,e,t):$1(t),Xo(u))))}),zs=y(function(n,r,t){var e=Fo(t),u=c0(e),a=j(o0,r,t);return L(a,D1)||L(Co(a),u)?L(n,k1)?z(Ns,e,r,t):x(js,e,n,r,t):M}),Os=y(function(n,r,t){return j($c,Vb(t),z(zs,n,r,t))}),Bs=y(function(n,r,t){n=z(Os,Yo(n),No(r),t);return 1<ku(n)?j(Ls,Cs(r),n)?ks(Mo(Ao(r))):j(Ls,Ms(r),n)?_s(Oo(Ao(r))):ff(Ao(r)):""}),Is=function(n){return n.toLowerCase()},Ys=j(p,function(n){return(L(Co(n),0)?Z0:Is)(of(Yo(n)))},po),Hs=_(function(n,r){var t=j(o0,Ao(n),r);return O(ys(Ys(t)),O(z(Bs,t,n,r),O(j(Gb,No(n),r)?"":"x",ff(No(n)))))}),Us=_(function(n,r){return O(Po(n)?"O-O":So(n)?"O-O-O":(t=j(o0,Ao(n),r),L(Yo(t),k1)?j(xs,n,r):j(Hs,n,r)),j(ps,n,r)?"#":j(Kb,n,r)?"+":"");var t}),Rs=_(function(n,r){return O(L(Fo(r),1)?I(Wo(r))+"... ":"",z(P,_(function(n,r){var t=r.b;return{a:r.a+(" "+(L(Fo(t),0)?I(Wo(t))+". ":""))+j(Us,n,t),b:j(v0,n,t)}}),{a:"",b:r},n).a)}),Ds=function(n){return j(Rs,Zo(n),g0(Qo(n)))},qs=function(n){switch(n.ef){case 3:return"*";case 0:return"1-0";case 1:return"0-1";default:return"1/2-1/2"}},Ks=j(p,Go,j(p,bf,vi)),Vs=Jo,Js="me.noordstar.game.chess.move",Gs="me.noordstar.game.invite",Zs=$s,Qs="me.noordstar.game.chess.reject",_r=y(function(e,u,n){return z(Ba,y(function(n,r,t){return z(ar,e(n),u(r),t)}),{},n)}),Ws=j(p,gf,ur),Fs=j(_r,s,function(n){var r=n.E,t=n.o,e=n.bT,u=n.M,a=n.a3,c=n.m,i=n.I;return qt(T([{a:"black",b:vi(n.f)},{a:"black_accepted",b:yi(r)},{a:"instigator",b:vi(e)},{a:"last_move",b:vi(u)},{a:"origin_server_ts",b:Ws(a)},{a:"pgn",b:Ks(t)},{a:"white",b:vi(c)},{a:"white_accepted",b:yi(i)}]))}),Xs=_(function(n,r){return j(Ea,n,r.Z)}),nl=function(n){return j(p,hf,Xs(n))},rl=Jn,tl=Mn,el=_(function(n,r){return n<1?r:z(aa,0,-n,r)}),ul=y(function(n,r,t){var e;return 1===n.$?1===r.$||(e=r.a,L(Mo(Ao(t)),e)):(n=n.a,1===r.$?L(zo(t),A(n)):(e=r.a,L(zo(t),A(n))&&L(Mo(Ao(t)),e)))}),al=i(function(n,r,t,e){r=j($c,j(ul,r,t),z(Os,k1,n,e));return 1===ku(r)?kc(r):E}),cl=_(function(n,r){return n<1?"":z(aa,-n,ua(r),r)}),il=_(function(n,r){var t=pf(j(cl,1,n)),n=L(t,E)?n:j(el,1,n),e=Ko(j(cl,2,n)),n=kc(j(mc,Do,X0(j(el,2,n))));return 1===e.$?E:x(al,e.a,t,n,r)}),ol=h(function(n,r,t,e,u){var a;return 1===t.$?1===e.$||L(a=e.a,Oo(Ao(u))):(t=t.a,1===e.$?L(t,Mo(Ao(u))):(a=e.a,L(t,Mo(Ao(u)))&&L(a,Oo(No(u)))))}),fl=i(function(n,r,t,e){var t=X0(t),u=j(mc,Do,t),t=j(mc,qo,t);return ku(u)<=1&&ku(t)<=1&&(t=kc(t),u=kc(u),1===ku(u=j($c,x(ol,n,r,u,t),z(Os,n,r,e))))?kc(u):E}),bl=_(function(n,r){var t=Ko(j(cl,2,n)),e=pf(n),n=j(el,2,j(ca,1,n));return 1===e.$||1===t.$?E:x(fl,e.a,t.a,n,r)}),sl=_(function(n,r){var t,n=j(tl,$f,n);return"O-O"===n?function(n){return kc(j($c,Po,af(n)))}(r):"O-O-O"===n?function(n){return kc(j($c,So,af(n)))}(r):j("N"===(t=j(oa,1,n))||"B"===t||"R"===t||"Q"===t||"K"===t?bl:il,n,r)}),ll=_(function(n,r){return j(Y,function(n){return j(P0,n,r)},j(sl,n,r.aZ))}),dl=_(function(n,r){return j(P,j(qa,rb,n),A(r))}),vl=_(function(n,r){return z(dl,ll,r,n)}),gl={L:0,aZ:ub,au:Uo(T([ub])),ef:3,bw:M},hl=function(n){return r=gl,j(Y,Qo,j(vl,j(mc,function(n){return n.$?E:A(n.a)},n.cJ),C(r,{ef:function(n){return z(P,_(function(n,r){return 5===n.$?n.a:r}),3,n.cJ)}(n),bw:n.fJ})));var r},kr=_(function(n,r){return{fJ:n,cJ:r}}),$l=_(function(n,r){return{$:1,a:n,b:r}}),pl=y(function(n,r,t){return{$:0,a:n,b:r,c:t}}),ml=_(function(u,n){var a=n;return function(n){var r,t,e,n=a(n);return 1===n.$?j($l,n.a,n.b):(r=n.a,t=n.c,1===(n=u(n.b)(t)).$?(e=n.a,j($l,r||e,n.b)):(e=n.a,z(pl,r||e,n.b,n.c)))}}),wl=y(function(a,n,r){var c=n,i=r;return function(n){var r,t,e,u,n=c(n);return 1===n.$?j($l,n.a,n.b):(r=n.a,t=n.b,1===(n=i(n.c)).$?(e=n.a,j($l,r||e,n.b)):(e=n.a,u=n.c,z(pl,r||e,j(a,t,n.b),u)))}}),kl=_(function(n,r){return z(wl,xa,n,r)}),_l=i(function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$)return a=u.a,j($l,n||a,u.b);var a=u.a,c=u.b,u=u.c;if(c.$)return z(pl,n||a,c.a,u);n=n||a,r=c.a,t=t,e=u}}),yl=_(function(r,t){return function(n){return x(_l,!1,r,t,n)}}),xl=_(function(t,n){var e=n;return function(n){var r,n=e(n);return n.$?j($l,n.a,n.b):(r=n.c,z(pl,n.a,t(n.b),r))}}),Ll={$:0},Cl=_(function(n,r){return{$:2,a:n,b:r}}),Ml=y(function(n,r,t){for(;;){if(!t.b)return j($l,!1,r);var e,u=t.a,a=t.b,u=u(n);if(!u.$)return e=u;if((e=u).a)return e;n=n,r=j(Cl,r,e.b),t=a}}),Tl=_(function(n,r){return r}),Al=_(function(n,r){return z(wl,Tl,n,r)}),El=h(function(n,r,t,e,u){return j(Al,r,mf(T([j(Al,e,j(Al,r,j(xl,function(n){return{$:0,a:j(B,n,u)}},t))),j(xl,function(n){return{$:1,a:Tu(u)}},n)])))}),Nl=i(function(n,r,t,e){return mf(T([j(xl,function(n){return{$:0,a:j(B,n,e)}},j(kl,r,j(kl,n,j(kl,t,n)))),j(xl,function(n){return{$:1,a:Tu(e)}},wf(0))]))}),Pl=h(function(n,r,t,e,u){n=j(xl,function(n){return{$:1,a:Tu(u)}},n);return j(Al,r,mf(T([j(Al,e,j(Al,r,mf(T([j(xl,function(n){return{$:0,a:j(B,n,u)}},t),n])))),n])))}),Sl=h(function(r,t,e,u,a){return mf(T([j(ml,function(n){switch(a){case 0:return j(yl,T([n]),x(El,r,t,e,u));case 1:return j(yl,T([n]),x(Pl,r,t,e,u));default:return j(kl,j(Al,t,j(Al,u,j(Al,t,j(yl,T([n]),z(Nl,t,e,u))))),r)}},e),j(xl,function(n){return M},r)]))}),jl=_(function(n,r){return{$:1,a:n,b:r}}),zl=i(function(n,r,t,e){return{dn:r,fm:e,d5:t,eh:n}}),Ol=_(function(n,r){return j(jl,Ll,x(zl,n.eh,n.dn,r,n.bP))}),Bl=We,Il=function(n){var u=n.a,a=n.b,c=!ia(u);return function(n){var r=l(Bl,u,n.ge,n.eh,n.dn,n.gS),t=r.a,e=r.b,r=r.c;return L(t,-1)?j($l,!1,j(Ol,n,a)):z(pl,c,0,{dn:r,bP:n.bP,c:n.c,ge:t,eh:e,gS:n.gS})}},Yl=function(n){return{$:0,a:n}},Hl=_(function(n,r){return{$:0,a:n,b:r}}),Ul=function(n){return function(n){return j(Al,Il(n.c_),j(Al,n.er,l(Sl,Il(n.cf),n.er,n.dN,Il(n.em),n.ey)))}({cf:kf(n.cf),dN:n.dN,em:kf(n.em),er:n.er,c_:kf(n.c_),ey:function(n){switch(n){case 0:return 0;case 1:return 1;default:return 2}}(n.ey)})},Rl=Fe,Dl=h(function(n,r,t,e,u){for(;;){var a=z(Rl,n,r,u.gS);if(L(a,-1))return z(pl,Q(u.ge,r)<0,0,{dn:e,bP:u.bP,c:u.c,ge:r,eh:t,gS:u.gS});u=(e=L(a,-2)?(n=n,r=r+1,t=t+1,1):(n=n,r=a,t=t,e+1),u)}}),ql=_f(function(n){return" "===n||"\n"===n||"\r"===n}),Kl=_f,Vl=_(function(e,n){var u=n;return function(n){var r,t=u(n);return 1===t.$?j($l,t.a,t.b):(r=t.b,z(pl,t.a,j(e,z(aa,n.ge,(t=t.c).ge,n.gS),r),t))}}),Jl=function(n){return j(Vl,xa,n)},Gl=kl,Zl=wf,Ql=_(function(n,r){return z(wl,Hu,n,r)}),un=yf(" "),Wl=Il,dt=j(Ql,j(Ql,j(Gl,j(Gl,Zl(_(function(n,r){return{a:n,b:r}})),xf("[")),ql),j(Gl,j(Gl,un,ql),xf('"'))),j(Gl,j(Gl,j(Gl,yf('"'),xf('"')),ql),xf("]"))),W=Ul({cf:"",dN:dt,em:"",er:ql,c_:"",ey:1}),Fl=(zf={$:10},xl),Kn=_(function(n,r){return j(yl,n,function(n){return j(Fl,Cf,r(n))})}),Xl={$:1},nd=function(n){return{$:2,a:n}},rd=ml,td=j(Ql,j(Gl,Zl(s),xf("{")),j(Gl,yf("}"),xf("}"))),ed=function(r){return function(n){return r(0)(n)}},ud=function(n){return{$:12,a:n}},ad=function(r){return function(n){return j($l,!1,j(Ol,n,r))}},cd=function(n){return n.trim()},gn=Jl(j(Gl,Zl(s),Kl(function(n){return function(n){return!ia(cd(po(n)))}(n)&&")"!==n&&"("!==n}))),id=j(rd,Pf,gn),cn=j(rd,function(n){n=fa(n);return n.$?Nf("a move number should be an integer"):Zl(n.a)},Jl(Kl(Lt))),od=j(Ql,Zl(s),j(Gl,cn,xf("."))),Pn={$:1},fd=ru,bd=tu,sd=_(function(n,r){return{dn:r.dn+(n-r.ge),bP:r.bP,c:r.c,ge:n,eh:r.eh,gS:r.gS}}),ld=nu,dd=Xe,vd=_(function(n,r){var t;return z(dd,101,n,r)||z(dd,69,n,r)?L(t=z(dd,43,t=n+1,r)||z(dd,45,t,r)?t+1:t,t=j(ld,t,r))?-t:t:n}),gd=_(function(n,r){return j(vd,z(dd,46,n,r)?j(ld,n+1,r):n,r)}),hd=h(function(n,r,t,e,u){var a=e.a,e=e.b;return 1===r.$?j($l,!0,j(Ol,u,r.a)):(r=r.a,L(t,a)?j($l,Q(u.ge,t)<0,j(Ol,u,n)):z(pl,!0,r(e),j(sd,a,u)))}),$d=i(function(n,r,t,e){return j(jl,Ll,x(zl,n,r,t,e))}),pd=function(n){return 0!==n.length&&!/[\sxbo]/.test(n)&&(n=+n)==n?A(n):E},md=$(function(n,r,t,e,u,a){var c=u.a,i=j(gd,c,a.gS);return i<0?j($l,!0,x($d,a.eh,a.dn-(i+a.ge),n,a.bP)):L(a.ge,i)?j($l,!1,j(Ol,a,r)):L(c,i)?l(hd,n,t,a.ge,u,a):1===e.$?j($l,!0,j(Ol,a,n)):(r=e.a,1===(c=pd(z(aa,a.ge,i,a.gS))).$?j($l,!0,j(Ol,a,n)):z(pl,!0,r(c.a),j(sd,i,a)))}),Sn=j(_(function(n,r){return e={dk:su(r),dw:n,dx:su(r),fK:su(r),dL:gu(s),f$:r,dY:su(r)},function(n){var r,t;return z(dd,48,n.ge,n.gS)?(t=(r=n.ge+1)+1,z(dd,120,r,n.gS)?l(hd,e.f$,e.fK,t,j(bd,t,n.gS),n):z(dd,111,r,n.gS)?l(hd,e.f$,e.dY,t,z(fd,8,t,n.gS),n):z(dd,98,r,n.gS)?l(hd,e.f$,e.dk,t,z(fd,2,t,n.gS),n):D(md,e.f$,e.dw,e.dL,e.dx,{a:r,b:0},n)):D(md,e.f$,e.dw,e.dL,e.dx,z(fd,10,n.ge,n.gS),n)};var e}),Pn,Pn),wd=j(Ql,j(Gl,Zl(s),xf("$")),Sn),kd=mf,_d=kd(T([j(Gl,Zl(0),Sf("1-0")),j(Gl,Zl(1),Sf("0-1")),j(Gl,Zl(2),Sf("1/2-1/2")),j(Gl,Zl(3),xf("*"))]));function yd(){return kd(T([j(Fl,Mf,td),j(Fl,Ef,_d),j(Fl,function(n){return Xl},od),j(Fl,Af,wd),xd(),j(Fl,Tf,id)]))}function xd(){return j(rd,j(p,nd,Zl),Ul({cf:")",dN:ed(function(n){return yd()}),em:"",er:ql,c_:"(",ey:1}))}function Ld(n){return z(zd,n.eh,n.dn,n.d5)}function Cd(n){return j(Y,s,function(n){return j(rb,hl,Yd(j(Id,jd,n)))}(n))}function Md(n){return n.bQ}function Td(n){return n.fB}function Ad(n){return Yd(j(Rd,L(r=u2(n),Gs)?j(na,c2,v2):L(r,h1)?j(na,a2,s2):L(r,Qs)?j(na,f2,h2):L(r,Js)?j(na,o2,l2):L(r,d2)?j(na,i2,g2):Zc("Not a relevant event."),e2(n)));var r}function Ed(n){return n.du}function Nd(n){return Zo(n)}var Pd=yd(),Sd=(yd=function(){return Pd},xd()),qn=(xd=function(){return Sd},j(Kn,M,function(r){return kd(T([j(Ql,Zl(function(n){return{$:0,a:O(r,T([n]))}}),Pd),j(Gl,Zl({$:1,a:r}),Lf),j(Gl,Zl({$:0,a:r}),ql)]))})),jd=j(Ql,j(Ql,Zl(kr),W),qn),zd=y(function(n,r,t){return{dn:r,d5:t,eh:n}}),Od=_(function(n,r){for(;;)switch(n.$){case 0:return r;case 1:var t=n.a,e=n.b;n=t,r=j(B,e,r);continue;default:t=n.a,e=n.b;n=t,r=j(Od,e,r);continue}}),Bd=_(function(n,r){n=n({dn:1,bP:M,c:1,ge:0,eh:1,gS:r});return n.$?su(j(Od,n.b,M)):gu(n.b)}),Id=_(function(n,r){n=j(Bd,n,r);return n.$?su(j(S,Ld,n.a)):gu(n.a)}),Yd=function(n){return n.$?E:A(n.a)},Hd=j(Gc,function(n){n=Cd(n);return n.$?Zc("Invalid PGN"):ta(Go(n.a))},c),Ud=De(V(rl,w(function(n,r,t,e,u,a,c,i){return{f:n,E:r,o:e,bT:t,M:u,a3:a,m:c,I:i}}),j(a,"black",c),j(a,"black_accepted",on),j(a,"instigator",c),j(a,"pgn",Hd),j(a,"last_move",c),j(a,"origin_server_ts",Wi),j(a,"white",c),j(a,"white_accepted",on))),Rd=Zn,Dd=_(function(n,r){return j(Ea,n,r.X)}),qd=_(function(n,r){return j(Dd,n,r.cT)}),Kd=_(function(n,r){return{bP:n,bu:r}}),Vd=_(function(n,r){var t=r.n;return j(Y,Kd(r.bP),j(qd,n,t))}),Jd=Vd,Gd=_(function(n,r){return j(H,Ta,j(rb,Yd,j(Y,Rd(Ud),j(rb,nl("me.noordstar.game.chess"),j(Jd,n,r)))))}),Zd=function(n){return n=n.X,z(cu,y(function(n,r,t){return j(B,r,t)}),M,n)},Qd=function(n){var r=n.n;return j(S,Kd(n.bP),function(n){return Zd(n.cT)}(r))},Wd=function(n){return n.e},Fd=_(function(n,r){return{bP:n,bQ:r}}),Xd=function(n){var r=n.bu;return j(S,Fd(n.bP),function(n){return j(bc,Wd(n.ba),n.g0)}(r))},n2=j(p,hf,St),r2=n2,t2=an(j(p,function(n){return n.an},j(p,function(n){return n.a3},gf))),e2=j(p,Md,function(n){return n.bf}),u2=j(p,Md,Td),a2=function(n){return{$:1,a:n}},c2=function(n){return{$:0,a:n}},i2=function(n){return{$:4,a:n}},o2=function(n){return{$:3,a:n}},f2=function(n){return{$:2,a:n}},b2=_(function(n,r){return z(va,a,r,n)}),s2=j(Gc,function(n){return L(n,"me.noordstar.game.meta")?z(ra,_(function(n,r){return{bt:n,C:r}}),xe(j(a,"reason",c)),j(b2,T(["m.relates_to","event_id"]),c)):Zc("Invalid relType for accepting a chess game.")},j(b2,T(["m.relates_to","relType"]),c)),l2=j(Gc,function(n){return L(n,"me.noordstar.game.move")?x(ii,y(function(n,r,t){return{M:r,bV:n,C:t}}),j(a,"pgn",Hd),j(a,"last_move",c),j(b2,T(["m.relates_to","event_id"]),c)):Zc("Invalid relType for making a move in chess.")},j(b2,T(["m.relates_to","relType"]),c)),d2="me.noordstar.game.leave",v2=j(Gc,function(n){return L(n,"me.noordstar.chess.1v1")?z(ra,_(function(n,r){return{f:n,m:r}}),j(b2,T(["data","black"]),c),j(b2,T(["data","white"]),c)):Zc("Unsupported game type.")},j(a,"id",c)),g2=s2,h2=s2,$2=gl,p2=j(p,Md,Ed),m2=cf,w2=Fo,k2=_(function(n,r){var t=r.f,e=r.m,r=vf(Go(r.o));return!m2(r)&&(L(w2(r),1)?L(n,t):L(n,e))}),_2=_(function(r,n){var t=j(Y,function(n){return j(S0,n,Go(r))},kc(Tu(Nd(n))));return 1!==t.$&&L(Go(t.a),Go(n))}),y2=j(p,Md,function(n){return n.cN}),x2=j(p,Md,function(n){return n.eg}),L2=j(p,Md,function(n){return n.cU}),C2=_(function(r,n){var t=Ad(r);if(1===t.$)return n;switch(t.a.$){case 0:var e=t.a.a.f,u=t.a.a.m;return z(ja,p2(r),{f:e,E:L(L2(r),e),o:function(n){var r=n.f,t=n.du,e=n.eg,n=n.m;return j(H,$2,Cd(j(N,"",j(S,j(Tc,'"','\\"'),T(['[Event "',t,'"]\n[Site "',e,'"]\n[Black "',r,'"]\n[White "',n,'"]\n\n *'])))))}({f:e,du:p2(r),eg:x2(r),m:u}),bT:L2(r),M:p2(r),a3:y2(r),m:u,I:L(L2(r),u)},n);case 1:return z(Dc,t.a.a.C,Y(function(n){return C(n,{E:!!L(L2(r),n.f)||n.E,I:!!L(L2(r),n.m)||n.I})}),n);case 2:return z(Dc,t.a.a.C,rb(function(n){return 1<ku(Nd(n.o))?A(C(n,{E:!1,o:j(H,n.o,Cd(z(Uu,bf(n.o),pu,L(L2(r),n.f)?" 1-0":" 0-1"))),I:!1})):E}),n);case 4:return z(Dc,t.a.a.C,Y(function(n){return C(n,{E:!1,o:j(H,n.o,Cd(z(Uu,bf(n.o),pu,L(L2(r),n.f)?" 1-0":" 0-1"))),I:!1})}),n);default:var a=t.a.a.bV,c=t.a.a.M;return z(Dc,t.a.a.C,Y(function(n){return j(k2,L2(r),n)&&L(n.M,c)&&j(_2,n.o,a)&&n.E&&n.I?C(n,{o:a,M:p2(r),a3:y2(r)}):n}),n)}}),M2=_(function(n,r){return{$:4,a:n,b:r}});function T2(){return l(hi,i(function(n,r,t,e){return{df:n,d4:r,ea:t,ez:e}}),j(u,"age",Qc),j(u,"prev_content",Xc),j(u,"redacted_because",A2()),j(u,"transaction_id",c))}function A2(){return V(rl,w(function(n,r,t,e,u,a,c,i){return{bf:n,du:r,fB:c,cN:t,eg:e,cU:u,gT:a,c4:i}}),j(a,"content",Xc),j(a,"event_id",c),j(a,"origin_server_ts",Wi),j(a,"room_id",c),j(a,"sender",c),j(u,"state_key",c),j(a,"type",c),j(u,"unsigned",Qi(function(n){return T2()})))}function E2(r){return z(dc,function(n){return{bh:s,bo:T([j(M2,r,n)])}},v5,r)}function N2(n){return m5(Tu((e=(r=z(P,p5,{a:0,b:M},n)).a,r=r.b,e?r.b?(t=r.b,r.a+e?j(B,e,r):t):M:r)));var r,t,e}function P2(n){return 1===n.$?qf:n.a?j(Df,0,n.b):n}function S2(n){return 1===n.$?qf:n.a?j(Df,0,n.b):j(Df,1,n.b)}function j2(n){return n}function z2(n){var r=n.bf,t=n.fB,n=n.eg;return j(p,j(Cc,"PUT","/_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}"),j(p,ai(T([Lc,K5,j(l5,"eventType",t),j(l5,"roomId",n),q5(r)])),ei(D5)))}function O2(n){var r=n.bf,t=n.fB,n=n.eg;return j(p,j(Cc,"PUT","/_matrix/client/v3/rooms/{roomId}/send/{eventType}/{txnId}"),j(p,ai(T([Lc,K5,j(l5,"eventType",t),j(l5,"roomId",n),q5(r)])),ei(D5)))}function B2(n){var r=n.bf,t=n.fB,e=n.eg,n=n.gT;return j(p,j(Cc,"PUT","/_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}"),j(p,ai(T([Lc,j(l5,"eventType",t),j(l5,"roomId",e),j(l5,"stateKey",n),q5(r)])),ei(Q5)))}function I2(n){var r=n.bf,t=n.fB,e=n.eg,n=n.gT;return j(p,j(Cc,"PUT","/_matrix/client/v3/rooms/{roomId}/state/{eventType}/{stateKey}"),j(p,ai(T([Lc,j(l5,"eventType",t),j(l5,"roomId",e),j(l5,"stateKey",n),q5(r)])),ei(Q5)))}function Y2(n){return n.c6}function H2(n){return j(dv,sv(n.e),n.U)}function U2(n){return function(n){return Cv(n.J)}(n.bP)}function R2(n){return kv({bf:n.bf,du:n.du,fB:n.fB,cN:n.cN,eg:n.eg,cU:n.cU,gT:n.gT,c4:j(Y,function(n){return{df:n.df,d4:n.d4,ea:j(Y,R2,n.ea),ez:n.ez}},n.c4)})}function D2(n){return kv({bf:n.bf,du:n.du,fB:n.fB,cN:n.cN,eg:n.eg,cU:n.cU,gT:n.gT,c4:j(Y,function(n){return{df:n.df,d4:n.d4,ea:j(Y,D2,n.ea),ez:n.ez}},n.c4)})}function q2(n){return{$:0,a:n}}function K2(n){var r=n.cP,t=n.et;return{e:n.e,cK:n.cK,cP:j(H,"this_previous_batch_does_not_exist",r),q:j(H,Av,j(Y,q2,r)),U:j(H,bv,t)}}function V2(n){return{e:Re(j(S,function(n){return X(X(n.fB,n.gT),n)},n.e)),eg:n.eg}}function J2(n){return n.cx}function G2(n){return 31<n?{$:1,a:1<<n-32}:{$:0,a:1<<n}}function Z2(n){return x(Fv,n.cR,n.ck,n.b6,n.aC)}function Q2(n){return{$:1,a:n}}function W2(n){return{$:1,a:eg(n)}}function F2(n){return{$:0,a:n}}function X2(n){switch(n.$){case 0:return E;case 1:var r=n.a,t=r.b,e=r.c;return A("mv-"+Zv(r.a)+("-"+Zv(t)+("-"+Zv(e))));default:var r=n.a,t=r.b,e=r.c,u=n.b,a=u.a,c=u.b,u=u.c,i=n.c,o=i.a,f=i.b,i=i.c,b=n.d;return A("tfrm-"+Zv(r.a)+("-"+Zv(t)+("-"+Zv(e)+("-"+Zv(a)+("-"+Zv(c)+("-"+Zv(u)+("-"+Zv(o)+("-"+Zv(f)+("-"+Zv(i)+("-"+Zv(b)))))))))))}}function n5(n){switch(n.$){case 13:return r=n.a;case 12:var r=n.a;return r;case 0:return n.a;case 1:return r=n.a;case 2:return"font-size-"+I(n.a);case 3:case 4:return n.a;case 5:var t=n.a;return t;case 7:case 6:t=n.a;return t;case 8:t=n.a;return"grid-rows-"+j(N,"-",j(S,yg,t.gF))+("-cols-"+j(N,"-",j(S,yg,t.bK))+("-space-x-"+yg(t.gQ.a)+("-space-y-"+yg(t.gQ.b))));case 9:t=n.a;return"gp grid-pos-"+I(t.eh)+("-"+I(t.dn)+("-"+I(t.Y)+("-"+I(t.dB))));case 11:var e=n.a,t=n.b,r=function(){switch(e){case 0:return"fs";case 1:return"hv";default:return"act"}}();return j(N," ",j(S,function(n){n=n5(n);return""===n?"":n+"-"+r},t));default:return j(H,"",X2(n.a))}}function r5(n){return T([j(Ag,R(U.dy)+":focus-within",j(mc,s,T([j(Y,function(n){return j(Tg,"border-color",Ng(n))},n.e7),j(Y,function(n){return j(Tg,"background-color",Ng(n))},n.e$),j(Y,function(n){return j(Tg,"box-shadow",Pg({e4:n.e4,dp:n.dp,dK:!1,ge:j(Yv,Ct,j(Sg,Ct,n.ge)),ep:n.ep}))},n.gM),A(j(Tg,"outline","none"))]))),j(Ag,R(U.eY)+":focus .focusable, "+R(U.eY)+".focusable:focus, .ui-slide-bar:focus + "+R(U.eY)+" .focusable-thumb",j(mc,s,T([j(Y,function(n){return j(Tg,"border-color",Ng(n))},n.e7),j(Y,function(n){return j(Tg,"background-color",Ng(n))},n.e$),j(Y,function(n){return j(Tg,"box-shadow",Pg({e4:n.e4,dp:n.dp,dK:!1,ge:j(Yv,Ct,j(Sg,Ct,n.ge)),ep:n.ep}))},n.gM),A(j(Tg,"outline","none"))])))])}function t5(n){return Sr(Dr(n))}function e5(n){switch(n){case 0:return R(U.eV);case 1:return R(U.eO);case 2:return R(U.dh);case 3:return R(U.dg);case 4:return R(U.eP);default:return R(U.eQ)}}function u5(e){return{$:6,a:j(I0,function(n){var r=e(n),t=r.a,r=r.b;return T([j(f,function(n){switch(n){case 0:return R(U.fl);case 1:return R(U.bM);case 2:return R(U.bO);case 3:return R(U.bg);case 4:return R(U.bN);default:return R(U.am)}}(n),t),j(o,R(U.eY),T([j(f,e5(n),r)]))])},Og)}}function a5(n){return T([j(zg,".v-"+n,T([j(b,"font-feature-settings",'"'+n+'"')])),j(zg,".v-"+n+"-off",T([j(b,"font-feature-settings",'"'+n+'" 0')]))])}function c5(n){return j(N,"",n)}var i5,o5,f5=T2(),b5=(T2=function(){return f5},A2()),s5=(A2=function(){return b5},_(function(n,r){return{$:5,a:n,b:r}})),l5=y(function(n,r,t){return j(s5,"{"+n+"}",Ui(r))}),d5=_(function(n,r){return j(ei,b5,j(ai,T([Lc,j(l5,"eventId",r.cV),j(l5,"roomId",n.eg)]),z(Cc,"GET","/_matrix/client/v3/rooms/{roomId}/event/{eventId}",r)))}),v5=_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(e,"v1.4",j(e,"v1.3",j(e,"v1.2",j(e,"v1.1",j(e,"r0.6.1",j(e,"r0.6.0",Ee({dq:d5,eC:"r0.5.0"}))))))))))),Uu(r),n)}),g5=_(function(n,r){return C(r,{c1:n})}),h5=z(dc,function(n){return{bh:g5(n),bo:T([{$:3,a:n}])}},xa(xa(Da)),0),$5=y(function(n,r,t){for(;;){var e={a:n,b:r};if(!e.a.b)return e.b.b?O(Tu(t),r):Tu(t);if(!e.b.b)return O(Tu(t),n);var u=e.a,e=e.b;n=u.b,r=e.b,t=j(B,u.a+e.a,t)}}),p5=_(function(n,r){var t=r.b,n=n+r.a;return{a:n<0?-1:n/Vf|0,b:j(B,j(C1,Vf,n),t)}}),m5=j(va,_(function(n,r){return n||r.b?j(B,n,r):M}),M),w5=_(function(n,r){return N2(z($5,n,r,M))}),k5=_(function(n,r){for(;;){var t={a:n,b:r};if(!t.a.b)return t.b.b?(0,0):1;if(!t.b.b)return 0,2;var e=t.a,u=e.b,t=t.b,a=t.b;switch(j(Aa,e.a,t.a)){case 2:return 2;case 1:n=u,r=a;continue;default:return 0}}}),_5=_(function(n,r){switch(j(Aa,ku(n),ku(r))){case 2:return 2;case 0:return 0;default:return j(k5,Tu(n),Tu(r))}}),y5=_(function(n,r){for(var t={a:n,b:r};;){if(1===t.a.$)return r;if(1===t.b.$)return n;if(t.a.a){if(t.b.a)break;var e=t.a,u=e.b,e=t.b;switch(j(_5,u,c=e.b)){case 2:return j(Df,1,j(w5,u,j(S,go,c)));case 1:return qf;default:return j(Df,0,j(w5,j(S,go,u),c))}}else{if(1!==t.b.a)break;var e=t.a,u=e.b,a=t.b;switch(j(_5,u,c=a.b)){case 2:return j(Df,0,j(w5,u,j(S,go,c)));case 1:return qf;default:return j(Df,1,j(w5,j(S,go,u),c))}}}var c,i=t.a,u=i.b,o=t.b;return j(Df,i.a,j(w5,u,c=o.b))}),x5=y(function(n,r,t){for(var e=t.a,u=t.b,a={a:n,b:r};!a.a.$;){if(a.a.a){if(a.b.$)break;return a.b.a?{a:e,b:S2(u)}:{a:S2(e),b:S2(u)}}if(a.b.$||1!==a.b.a)break;return{a:S2(e),b:u}}return{a:e,b:u}}),L5=_(function(n,r){for(var t={a:n,b:r};;){if(1===t.a.$)return 1===t.b.$?1:t.b.a?2:0;if(1===t.b.$)return t.a.a?0:2;if(t.a.a){if(t.b.a)break;return 0}if(1===t.b.a)return 2;break}var n=t.a,r=n.a,e=t.b,u=e.a,n=j(_5,n.b,e.b);if(1!==r||1!==u)return n;switch(n){case 2:return 0;case 1:return 1;default:return 2}}),C5=_(function(r,n){return j(S,function(n){return j(S,Vu(n),r)},n)}),M5=_(function(n,r){return N2(function(n){return z(P,w5,M,n)}((n=j(C5,n,r),z(P,_(function(n,r){var t=r.a,r=r.b;return{a:t+1,b:j(B,j(bc,j(R0,t,0),n),r)}}),{a:0,b:M},n).b)))}),T5=_(function(n,r){var t,e,n={a:n,b:r};return 1===n.a.$?qf:1===n.b.$?qf:(t=(r=n.a).b,e=(n=n.b).b,r=L(r.a,n.a)?0:1,n=2===j(Aa,ku(t),ku(e))?j(M5,t,e):j(M5,e,t),j(Df,r,n))}),A5=j(Df,0,T([1])),E5=_(function(n,r){var t={a:n,b:r};return 1===t.a.$?S2(r):1===t.b.$?n:(0,0,j(y5,n,S2(r)))}),N5=i(function(n,r,t,e){for(;;)switch(j(L5,n,r)){case 0:return{a:e,b:n};case 1:return{a:j(y5,e,A5),b:qf};default:var u=j(T5,r,$o(t));switch(j(L5,n,u)){case 0:n=a=n,r=c=r,t=i=t/2|0,e=o=e;continue;case 1:return{a:j(y5,e,$o(t)),b:qf};default:var a=j(E5,n,u),c=r,i=t,o=j(y5,e,$o(t));n=a,r=c,t=i,e=o;continue}}}),P5=_(function(n,r){for(;;){if(1===r.$)return qf;if(n<=0)return r;n=n-1,r=j(Df,r.a,j(B,0,r.b))}}),S5=i(function(n,r,t,e){for(;;){var u={a:n,b:r};if(1===u.a.$)return A({a:t,b:e});c=u=void 0;u=1!==(a=n).$&&(u=a.a,(a=Tu(a.b)).b)?a.b.b?(c=a.b,{a:$o(a.a),b:j(Df,u,Tu(c))}):{a:$o(a.a),b:qf}:{a:qf,b:qf},c=u.b,a=x(N5,j(y5,u.a,j(P5,1,e)),r,Vf,qf),u=a.b;n=c,r=r,t=j(y5,a.a,j(P5,1,t)),e=u}var a,c}),j5=_(function(n,r){var t={a:n,b:r};n:for(;;){for(;;){if(1===t.b.$){if(1===t.a.$)break n;return E}if(1===t.a.$)break n;if(t.b.a){if(t.b.b.b&&1===t.b.b.a&&!t.b.b.b.b)return 0,A({a:S2(n),b:qf});break}if(t.b.b.b&&1===t.b.b.a&&!t.b.b.b.b)return 0,A({a:n,b:qf});break}var e=t.a,u=e.a,a=t.b,c=a.a;switch(j(_5,e.b,a.b)){case 0:return A({a:qf,b:n});case 1:var i=L(u,c)?0:1;return A({a:j(Df,i,T([1])),b:qf});default:return j(Y,j(x5,n,r),x(S5,P2(n),P2(r),qf,qf))}}return A({a:qf,b:qf})}),z5=_(function(n,r){return j(Y,Mt,j(j5,n,r))}),O5=qf,B5=_(function(n,r){return j(H,$o(0),(n=z(P,y5,O5,T([j(T5,n,n),j(T5,$o(3),n),j(T5,$o(3),j(T5,r,n)),r,j(T5,r,r)])),j(z5,n,$o(2))))}),I5=_(function(n,r){return!j(L5,n,r)}),Y5=_(function(n,r){var t={a:n,b:r};return j(I5,t.b,t.a)?j(B5,n,r):j(B5,r,n)}),H5=_(function(n,r){return C(r,{ez:n})}),U5=_(function(n,r){return j(sc,function(r){return xa(j(ha,function(n){return{bh:H5(r(gf(n))),bo:M}},Da))}(n),wo(r))}),R5=_(function(n,r){return{$:11,a:n,b:r}}),D5=j(na,function(n){return{du:n}},j(a,"event_id",c)),q5=_(function(n,r){return{$:1,a:n}}),K5=j(p,function(n){return n.ez},s5("txnId")),V5=_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(e,"v1.4",j(e,"v1.3",j(e,"v1.2",j(hc,{dq:O2,fy:s,hl:s,eC:"v1.1"},j(e,"r0.6.1",j(e,"r0.6.0",j(e,"r0.5.0",j(e,"r0.4.0",j(e,"r0.3.0",j(e,"r0.2.0",j(e,"r0.1.0",j(e,"r0.0.1",Ee({dq:z2,eC:"r0.0.0"}))))))))))))))))),Uu(r),n)}),J5=_(function(n,r){return C(r,{cV:n})}),G5=_(function(n,r){var t,e=n.bf,u=n.fB,a=n.bR,c=n.eg;return s1(j(sc,Ke(E2({eg:c})),j(sc,j(Oi,5,z(dc,function(n){return{bh:j(p,j2,J5(n.du)),bo:T([j(R5,t,n)])}},V5,t={bf:e,fB:u,eg:c})),j(sc,h5,j(U5,function(n){return mo(z(P,Y5,e1("send message"),T([Gf(n),e1(j(mu,0,e)),e1(u),e1(a),e1(c)])))},r)))))}),Z5=_(function(n,r){return{$:13,a:n,b:r}}),Q5=j(na,function(n){return{du:n}},j(a,"event_id",c)),W5=_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(e,"v1.4",j(e,"v1.3",j(e,"v1.2",j(hc,{dq:I2,fy:s,hl:s,eC:"v1.1"},j(e,"r0.6.1",j(e,"r0.6.0",j(e,"r0.5.0",j(e,"r0.4.0",j(e,"r0.3.0",j(e,"r0.2.0",j(e,"r0.1.0",j(e,"r0.0.1",Ee({dq:B2,eC:"r0.0.0"}))))))))))))))))),Uu(r),n)}),F5=_(function(n,r){return s1(j(sc,Ke(E2({eg:n.eg})),j(sc,j(Oi,5,z(dc,function(n){return{bh:J5(n.du),bo:T([j(Z5,t,n)])}},W5,t=n)),j(sc,h5,wo(r)))));var t}),X5=_(function(n,r){var t=n.fB,e=n.bf,n=n.gT,u=r.bP,r=r.bu;return 1===n.$?j(G5,{bf:e,fB:t,bR:"send-one-message",eg:St(r)},u):j(F5,{bf:e,fB:t,eg:St(r),gT:n.a},u)}),nv=_(function(n,r){return{$:1,a:n,b:r}}),rv=_(function(n,r){var t=n.bf,e=n.fB,n=n.eg;return z(p,n.$?j(Cc,"PUT","/_matrix/client/r0/user/{userId}/account_data/{type}"):(n=n.a,j(p,j(Cc,"PUT","/_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}"),ai(T([j(l5,"roomId",n)])))),j(p,ai(T([Lc,j(l5,"type",e),j(l5,"userId",Y2(r)),q5(t)])),ei(j(na,xa(0),Xc))),r)}),tv=_(function(n,r){var t=n.bf,e=n.fB,n=n.eg;return z(p,n.$?j(Cc,"PUT","/_matrix/client/v3/user/{userId}/account_data/{type}"):(n=n.a,j(p,j(Cc,"PUT","/_matrix/client/v3/user/{userId}/rooms/{roomId}/account_data/{type}"),ai(T([j(l5,"roomId",n)])))),j(p,ai(T([Lc,j(l5,"type",e),j(l5,"userId",Y2(r)),q5(t)])),ei(j(na,xa(0),Xc))),r)}),ev=_(function(n,r){return z(Uu,j(H,xa(xa(oc(vc))),j(xc,jt(n),j(e,"v1.6",j(e,"v1.5",j(e,"v1.4",j(e,"v1.3",j(e,"v1.2",j(hc,{dq:tv,fy:s,hl:s,eC:"v1.1"},j(e,"r0.6.1",j(e,"r0.6.0",j(e,"r0.5.0",j(e,"r0.4.0",j(e,"r0.3.0",j(e,"r0.2.0",j(e,"r0.1.0",j(e,"r0.0.1",Ee({dq:rv,eC:"r0.0.0"}))))))))))))))))),Uu(r),n)}),uv=_(function(n,r){return s1(j(sc,z(dc,function(n){return{bh:s,bo:T([j(nv,t,n)])}},ev,t=n),wo(r)));var t}),av=y(function(n,r,t){var e=t.bP;return j(uv,{bf:r,fB:n,eg:A(n2(t))},e)}),cv=No,iv=Wa(j(p,Nt,Et)),ov=y(function(n,r,t){return C(t,{Z:z(ja,n,r,t.Z)})}),fv=y(function(n,r,t){return j(Kd,t.bP,z(ov,n,r,t.bu))}),bv=Ta,sv=j(P,_(function(n,r){var t=function(n){return n.gT}(n);return t.$?r:z(ja,{a:Td(n),b:t.a},n,r)}),Ta),lv=_(function(n,r){return z(Ba,ja,r,n)}),dv=lv,vv=_(function(n,r){var t=n.e,e=n.cA,u=n.cK,a=n.cP,n=n.et;return L(a,r.cK)||!e?C(r,{e:O(r.e,t),cK:u}):{e:t,cK:u,cP:a,q:{$:1,a:r},U:j(dv,j(H,bv,n),H2(r))}}),gv=_(function(n,r){return C(r,{X:z(ja,r.bk(n),n,r.X)})}),hv=_(function(n,r){var t=n.e;return C(r,{e:z(P,gv,r.e,t),g0:j($c,function(n){return j(yc,Ed(n),j(S,Ed,t))},r.g0),ba:j(vv,n,r.ba)})}),$v=_(function(n,r){return C(r,{e:j(gv,n,r.e)})}),pv=_(function(n,r){return C(r,{bu:j($v,n,r.bu)})}),mv=_(function(n,r){return C(r,{a2:j(bc,r.a2,T([n]))})}),wv=_(function(n,r){return C(r,{cY:A(n)})}),kv=s,_v=_(function(n,r){return C(r,{g0:j(bc,r.g0,Ae(kv({bf:n.bf,du:n.du,fB:n.fB,cN:n.cN,eg:r.eg,cU:n.cU,gT:n.gT,c4:E})))})}),yv=_(function(n,r){return C(r,{c7:A(n)})}),xv=_(function(n,r){var t=n.a_,e=n.c6;switch(r.$){case 0:return rc;case 1:return{$:2,a:{b0:r.a,a_:t,c6:e}};case 2:return{$:2,a:C(r.a,{a_:t,c6:e})};default:return Fa(C(r.a,{a_:t,c6:A(e)}))}}),Lv=_(function(n,r){return C(r,{J:j(xv,n,r.J)})}),Cv=function(n){switch(n.$){case 0:case 1:return E;case 2:return A(n.a.c6);default:return n.a.c6}},Mv=_(function(r,n){return kv({bf:n.bf,du:n.du,fB:n.fB,cN:n.cN,eg:r,cU:n.cU,gT:n.gT,c4:j(Y,function(n){return{df:n.df,d4:n.d4,ea:j(Y,Mv(r),n.ea),ez:n.ez}},n.c4)})}),Tv=_(function(r,n){return{bk:r,X:Re(j(S,function(n){return{a:r(n),b:n}},n))}}),Av={$:2},Ev=_(function(r,t){return{Z:Re(j(S,function(n){return{a:n.fB,b:n.bf}},j(H,M,j(Y,function(n){return n.e},t.Z)))),cg:j(S,s,j(H,M,j(Y,function(n){return n.e},t.cg))),e:j(Tv,Ed,j(S,Mv(r.eg),j(H,M,j(Y,function(n){return n.e},t.ba)))),eg:r.eg,g0:M,ba:j(H,K2({e:M,cK:r.cK,cP:E,et:E}),j(Y,function(n){return K2({e:j(S,Mv(r.eg),n.e),cK:r.cK,cP:n.cP,et:j(Y,j(p,function(n){return n.e},j(p,S(Mv(r.eg)),sv)),t.es)})},t.ba))}}),Nv=_(function(n,r){return C(r,{Z:j(lv,n,r.Z)})}),Pv=_(function(n,r){var t=n.bf,e=n.fB,n=n.eg,u=r;return n.$?C(u,{Z:z(ja,e,t,u.Z)}):(r=n.a,j(H,u,j(Y,j(p,Nv(j(fi,e,t)),j(p,gv,j(p,Uu(u.cT),function(n){return C(u,{cT:n})}))),j(qd,r,u))))}),Sv=_(function(n,r){var t=n.e,e=n.cK,u=n.cP,a=n.et,c=r;if(1===u.$)return 1===(r=c.q).$?C(c,{q:{$:1,a:j(Sv,n,o=r.a)}}):L(e,c.cP)?C(c,{e:O(t,c.e),q:Av,U:bv}):C(c,{q:{$:1,a:K2(n)}});var i=u.a;if(L(c.cK,i))return C(c,{e:O(c.e,t),cK:e});if(!L(e,c.cP))return 1===(r=c.q).$?C(c,{q:{$:1,a:j(Sv,n,o=r.a)}}):c;var o,f=c.q;switch(f.$){case 1:return L((o=f.a).cK,i)?{e:O(o.e,O(t,c.e)),cK:c.cK,cP:o.cP,q:o.q,U:o.U}:C(c,{e:O(t,c.e),cP:i,U:j(H,bv,a)});case 0:return C(c,{e:O(t,c.e),cP:i,q:{$:0,a:i},U:j(H,bv,a)});default:return C(c,{e:O(t,c.e),cP:i,U:j(H,bv,a)})}}),jv=_(function(n,r){return z(Uu,C(r,{ba:j(Sv,n,r.ba)}),P($v),n.e)}),zv=_(function(n,r){return C(r,{cT:j(gv,n,r.cT)})}),Ov=j(p,hf,_(function(n,r){return C(r,{n:j(zv,n,r.n)})})),Bv=_(function(n,r){return C(r,{cx:n})}),Iv=y(function(n,r,t){return 1===r.$||1===t.$?E:A(j(n,r.a,t.a))}),Yv=_(function(n,r){return{a:r.a,b:n(r.b)}}),Hv=_(function(r,n){return C(n,{a2:j($c,function(n){return!L(n.eg,r)},n.a2)})}),Uv=_(function(n,u){var r,t=u,e=t.n,a=t.bP;switch(n.$){case 0:return z(P,Uv,u,n.a);case 1:var c=(i=n.a).eg;return c.$||(c=j(Vd,c.a,u)).$?u:z(Uu,z(fv,i.fB,i.bf,$=c.a),Ov,u);case 2:var i=n.a;return u;case 3:return{bP:a,n:j(Bv,n.a,e)};case 4:var i=n.a,o=n.b,c=j(Vd,i.eg,u);return c.$?u:($=c.a,z(Uu,z(Uu,R2(o),pv,$),Ov,u));case 5:var i=n.a,o=n.b,f=i.x?(c=o.cf).$?i.V:A(c.a):A(o.c_),b=i.x?A(o.c_):(b=o.cf).$?i.V:A(b.a),s={a:j(Vd,i.eg,u),b:b};return s.a.$||s.b.$?u:($=s.a.a,s=s.b.a,r=z(Uu,j(jv,{e:(r=j(S,D2,o.b9),i.x?Tu(r):r),cK:s,cP:f,et:A(sv(j(S,D2,o.es)))},hf($)),zv,e),{bP:a,n:r});case 6:case 7:return u;case 8:case 9:return{bP:a,n:j(Hv,(i=n.a).eg,e)};case 11:var l=n.a.bf,d=n.a.fB,v=n.a.eg,g=n.b.du;return j(H,u,j(Y,j(p,Kd(a),j(p,Ov,Uu(u))),z(Iv,_(function(n,r){return j(_v,{bf:l,du:g,fB:d,cN:J2(e),cU:r,gT:E},hf(n))}),j(Vd,v,u),U2(u))));case 12:return u;case 13:var l=n.a.bf,d=n.a.fB,v=n.a.eg,h=n.a.gT,g=n.b.du;return j(H,u,j(Y,j(p,Kd(a),j(p,Ov,Uu(u))),z(Iv,_(function(n,r){return j(_v,{bf:l,du:g,fB:d,cN:J2(e),cU:r,gT:A(h)},hf(n))}),j(Vd,v,u),U2(u))));case 14:var i=n.a,s=j(S,function(n){var r,t=n.a,n=n.b,e=j(Vd,t,u);return e.$?j(Ev,{cK:o.cK,eg:t},n):(e=e.a,r=(r=n.ba).$?hf(e):(r=r.a,j(hv,{e:j(S,Mv(t),r.e),cA:r.cA,cK:o.cK,cP:j(H,j(H,"",i.cY),r.cP),et:j(Y,j(p,function(n){return n.e},j(p,S(Mv(t)),sv)),n.es)},hf(e))),t=Re(j(S,function(n){return{a:n.fB,b:n.bf}},j(H,M,j(Y,function(n){return n.e},n.Z)))),j(Nv,t,r))},iu(j(H,Ta,j(Y,function(n){return n.ct},(o=n.b).cT)))),f=j(S,V2,j(S,function(n){return{e:n.b,eg:n.a}},j(S,Yv(H(M)),j(S,Yv(Y(function(n){return n.e})),j(S,Yv(function(n){return n.cr}),iu(j(H,Ta,j(Y,function(n){return n.cq},o.cT)))))))),$=j(S,function(n){return{bf:n.bf,fB:n.fB,eg:E}},j(H,M,j(Y,function(n){return n.e},o.Z)));return function(n){return{bP:a,n:n}}(z(Uu,z(Uu,j(wv,o.cK,z(P,Pv,e,$)),P(zv),s),P(mv),f));case 15:return C(t,{bP:j(nc,n.a,a)});case 16:return C(t,{bP:j(yv,n.a,a)});case 17:return C(t,{bP:j(Lv,n.a,a)});default:return C(t,{bP:j(nc,(o=n.b).b0,a)})}}),Rv=Uv,Dv=U2,qv=y(function(e,n,t){var u,r,a,c,i,o,f,b,s,l,d,v,g,h,$,p,m,w={a:n,b:t};n:for(;;)switch(w.a.$){case 8:return{a:e,b:{$:0,a:E},c:_a};case 0:return w.a.a.$?{a:e,b:t,c:_a}:(m=w.a.a.a,a=(r=function(e){return C(n=z(P,_(function(n,r){var t=n.es,n=n.dW,e=r.b1,r=r.bv;return{b1:1===n.$?e:j(B,n.a,e),bv:j(bc,t,r)}}),{b1:M,bv:M},j(S,function(r){var n=j(Gd,r2(r),e),t=z(Uu,n,P(C2),Xd(r));return{dW:L(n,t)?E:A({an:Fs(t),bu:r}),es:j(S,function(n){return{an:n.b,cG:n.a,bu:r}},iu(t))}},Qd(e))),{bv:t2(n.bv)});var n}(e)).b1,u=r.bv,{a:j(Rv,m,e),b:function(){var r;return 1===t.$?j(g1,t.a,j(H,r=t.b,j(Y,function(n){return L(Go(n.an.o),Go(r.o.an.o))?r:C(r,{o:C(n,{an:C(n=n.an,{o:Go(n.o)})}),R:E})},kc(j($c,function(n){return L(n.cG,r.o.cG)},u))))):t}(),c:ka(j(S,iv,j(S,function(n){return z(av,"me.noordstar.game.chess",n.an,n.bu)},a)))});case 4:var k=w.a.a;return{a:e,b:j(g1,E,{b7:L(Dv(e),A(k.an.m)),o:k,dS:L(Dv(e),A(k.an.f)),dT:L(Dv(e),A(k.an.m)),R:E}),c:_a};case 6:return 1===w.b.$?(v=w.b.b,{a:e,b:j(g1,A(w.a.a),v),c:_a}):{a:e,b:{$:0,a:A(v=w.a.a)},c:_a};case 7:return 1===w.b.$?(c=(r=w.a).a,f=r.b,{a:e,b:j(g1,E,v=w.b.b),c:(m=void 0,1===(m=Dv(e)).$?_a:iv(j(X5,{bf:sf({f:c,m:m.a}),fB:Gs,gT:E},f)))}):(c=(a=w.a).a,f=a.b,{a:e,b:{$:0,a:E},c:(p=void 0,1===(p=Dv(e)).$?_a:iv(j(X5,{bf:sf({f:c,m:p.a}),fB:Gs,gT:E},f)))});case 11:return{a:e,b:t,c:iv(j(X5,{bf:Jo({bt:E,C:(k=w.a.a).cG}),fB:h1,gT:E},k.bu))};case 12:return{a:e,b:t,c:iv(j(X5,{bf:Vs({bt:E,C:(k=w.a.a).cG}),fB:Qs,gT:E},k.bu))};case 5:if(w.b.$)return{a:e,b:j(g1,E,v=w.b.b),c:_a};break n;case 1:if(w.b.$)return i=w.a.a,h=(p=w.b).a,d=($=p.b).o,s=$.R,l=$.dS,b=$.dT,v=d.an,o=d.cG,f=d.bu,g={a:e,b:j(g1,h,C($,{R:E})),c:_a},(L(w2(vf(Go(v.o))),1)?l:b)&&df(v.o)?1===s.$?{a:e,b:j(g1,h,C($,{R:A(i)})),c:_a}:(l=s.a,j(H,{a:e,b:j(g1,h,C($,{R:A(i)})),c:_a},j(Y,function(n){var r,t,n=j(S0,n,Go(v.o));return{a:e,b:j(g1,h,C($,{o:C(d,{an:C(v,{o:n})}),R:E})),c:iv(j(X5,{bf:(r=(n={M:v.M,bV:n,C:o}).M,t=n.C,qt(T([{a:"pgn",b:Ks(n.bV)},{a:"last_move",b:vi(r)},{a:"m.relates_to",b:qt(T([{a:"event_id",b:vi(t)},{a:"relType",b:vi("me.noordstar.game.move")}]))}]))),fB:Js,gT:E},f))}},kc(j($c,function(n){return L(cv(n),i)},j(Zs,l,vf(Go(v.o)))))))):g;break n;case 3:if(w.b.$)return{a:e,b:j(g1,h=(b=w.b).a,C($=b.b,{o:C(d=$.o,{an:C(v=d.an,{o:Vo(v.o)})}),R:E})),c:_a};break n;case 2:if(w.b.$)return{a:e,b:j(g1,h=(s=w.b).a,C($=s.b,{o:C(d=$.o,{an:C(v=d.an,{o:lf(v.o)})}),R:E})),c:_a};break n;case 9:if(w.b.$)return{a:e,b:j(g1,h=(l=w.b).a,C($=l.b,{o:C(d=$.o,{an:C(v=d.an,{o:Go(v.o)})}),R:E})),c:_a};break n;default:if(w.b.$)return{a:e,b:j(g1,h=(g=w.b).a,C($=g.b,{b7:!$.b7})),c:_a};break n}return{a:e,b:{$:0,a:E},c:_a}}),jn=_(function(n,r){var t={a:r,b:n};switch(t.a.$){case 0:switch(t.b.$){case 0:return{a:{$:0,a:e=t.b.a},b:_a};case 1:var e=t.a.a,u=1===e.ek?ec({b0:e.b0,aV:e.aV}):ic({aV:e.aV,as:e.as,aA:e.aA});return{a:j(Ga,e,u),b:j(Wa,At,v1(u))};default:return{a:r,b:_a}}case 1:if(2!==t.b.$)return{a:r,b:_a};var a=t.a,e=a.a,u=a.b,c=t.b.a,i=function(n){return{a:{$:0,a:C(e,{ao:A(n)})},b:_a}};n:for(;;){if(!c.$)return{a:j(Za,j(Rv,c.a,u),{$:0,a:E}),b:_a};switch(c.a.$){case 0:switch(c.a.a.$){case 2:return i("You have a bad (or no) internet connection. Please try again.");case 1:return i("Connection timed out. The server is overloaded or your connection is bad.");default:break n}case 2:switch(c.a.a.$){case 0:var o=c.a.a.a.ao;return i(j(H,"Failed to login! Invalid login credentials",j(Y,pu("Login failed: "),o)));case 1:o=c.a.a.a.ao;return i(j(H,"The homeserver did not recognize your login credentials.",j(Y,pu("Unknown token: "),o)));case 9:o=c.a.a.a.ao;return i(j(H,"Server did not authorize login",j(Y,pu("Unauthorized: "),o)));default:break n}case 1:switch(c.a.a.$){case 0:return i("The homeserver returns bad JSON - are you sure you're pointing to a Matrix server?");case 2:return i("Access token rejected by homeserver");default:break n}default:return i("The homeserver and this SDK are incompatible - they do not have any shared versions.")}}return i("An unknown error has occurred.");default:switch(t.b.$){case 3:u=t.a.a;return{a:r,b:j(Wa,j(p,Nt,Et),v1(u))};case 4:var f=t.a,u=f.a,e=f.b,f=z(qv,u,t.b.a,e),b=f.c;return{a:j(Za,f.a,f.b),b:b};default:return{a:r,b:_a}}}}),Kv=y(function(n,r,t){return{$:4,a:n,b:r,c:t}}),Vv=_(function(n,r){return{$:4,a:n,b:r}}),Jv=G2(8),Gv=yn,Zv=function(n){return I(Gv(255*n))},Qv=function(n){var r=n.b,t=n.c,e=n.d;return Zv(n.a)+("-"+Zv(r)+("-"+Zv(t)+("-"+Zv(e))))},Wv=function(n){return j(Vv,Jv,z(Kv,"bg-"+Qv(n),"background-color",n))},Fv=i(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),Xv=function(n){return{aC:n.d,b6:n.c,ck:n.b,cR:n.a}},ng=j(p,Xv,j(p,Z2,Wv)),rg={$:6,a:1},U={eL:"a",dd:"atv",eO:"ab",eP:"cx",eQ:"cy",eR:"acb",eS:"accx",eT:"accy",eU:"acr",dg:"al",dh:"ar",eV:"at",b2:"ah",b3:"av",eY:"s",e1:"bh",e2:"b",e6:"w7",e8:"bd",e9:"bdt",bE:"bn",fa:"bs",bI:"cpe",fg:"cp",fh:"cpx",fi:"cpy",al:"c",bL:"ctr",bM:"cb",bN:"ccx",am:"ccy",bg:"cl",bO:"cr",fl:"ct",fn:"cptr",fo:"ctxt",fE:"fcs",dy:"focus-within",fF:"fs",fH:"g",cl:"hbh",cm:"hc",dC:"he",cn:"hf",dD:"hfp",fM:"hv",fQ:"ic",fS:"fr",bS:"lbl",fV:"iml",fW:"imlf",fX:"imlp",fY:"implw",fZ:"it",f0:"i",dQ:"lnk",a4:"nb",dX:"notxt",gg:"ol",gh:"or",aL:"oq",gq:"oh",d$:"pg",d0:"p",gr:"ppe",gE:"ui",eh:"r",gH:"sb",gI:"sbx",gJ:"sby",gK:"sbt",gN:"e",gO:"cap",gP:"sev",gX:"sk",g:"t",g1:"tc",g2:"w8",g3:"w2",g4:"w9",g5:"tj",bZ:"tja",g6:"tl",g7:"w3",g8:"w5",g9:"w4",ha:"tr",hb:"w6",hc:"w1",hd:"tun",eA:"ts",aT:"clr",hk:"u",c9:"wc",eG:"we",da:"wf",eH:"wfp",db:"wrp"},tg=_(function(n,r){return j(Ir,n,vi(r))}),eg=tg("className"),ug=_(function(n,r){return{$:2,a:n,b:r}}),ag=_(function(n,r){return{$:1,a:n,b:r}}),cg={$:0},ig={$:0},og=U.eY+" "+U.al,fg=U.eY+" "+U.fH,bg=U.eY+" "+U.d$,sg=U.eY+" "+U.d0,lg=U.eY+" "+U.eh,dg=U.eY+" "+U.gN,vg={$:0},gg=_(function(n,r){switch(r.$){case 0:return n;case 1:return O(r.a,n);case 2:return O(n,r.a);default:return O(r.a,O(n,r.b))}}),hg=y(function(r,n,t){switch(t.$){case 0:return n;case 1:return O(j(S,function(n){return{a:r,b:n}},e=t.a),n);case 2:return O(n,j(S,function(n){return{a:r,b:n}},u=t.a));default:var e=t.a,u=t.b;return O(j(S,function(n){return{a:r,b:n}},e),O(n,j(S,function(n){return{a:r,b:n}},u)))}}),$g=G2(41),pg=G2(40),mg=G2(42),wg=G2(43),kg=Sr("div"),_g=Ta,yg=function(n){switch(n.$){case 0:return I(n.a)+"px";case 1:return"auto";case 2:return I(n.a)+"fr";case 3:var r=n.b;return"min"+(I(n.a)+yg(r));default:r=n.b;return"max"+(I(n.a)+yg(r))}},xg=_(function(n,r){return z(ja,n,0,r)}),Lg=_(function(n,r){return!j(Ea,n,r).$}),Cg=_(function(n,r){return j(Lg,n,r)}),Mg=_(function(n,r){var t=r.a,e=r.b,u=n5(n);return j(Cg,u,t)?r:{a:j(xg,u,t),b:j(B,n,e)}}),Tg=_(function(n,r){return{$:0,a:n,b:r}}),Ag=_(function(n,r){return{$:0,a:n,b:r}}),R=function(n){return"."+n},Eg=zn,Ng=function(n){var r=n.b,t=n.c,e=n.d;return"rgba("+I(Gv(255*n.a))+(","+I(Gv(255*r))+","+I(Gv(255*t))+","+Eg(e))+")"},Pg=function(n){return j(N," ",j(mc,s,T([n.dK?A("inset"):E,A(Eg(n.ge.a)+"px"),A(Eg(n.ge.b)+"px"),A(Eg(n.e4)+"px"),A(Eg(n.ep)+"px"),A(Ng(n.dp))])))},Sg=_(function(n,r){var t=r.b;return{a:n(r.a),b:t}}),jg=_(function(n,r){return j(Ir,function(n){return"innerHTML"==n||"formAction"==n?"data-"+n:n}(n),function(n){return"string"==typeof n&&Rr.test(n)?"":n}(r))}),Bn=_(function(n,r){return{$:2,a:n,b:r}}),o=_(function(n,r){return{$:1,a:n,b:r}}),zg=_(function(n,r){return{$:0,a:n,b:r}}),f=_(function(n,r){return{$:4,a:n,b:r}}),b=_(function(n,r){return{$:0,a:n,b:r}}),hn=_(function(n,r){return{$:3,a:n,b:r}}),Og=T([0,1,2,3,4,5]),Z=T([j(b,"display","flex"),j(b,"flex-direction","column"),j(b,"white-space","pre"),j(f,R(U.cl),T([j(b,"z-index","0"),j(o,R(U.e1),T([j(b,"z-index","-1")]))])),j(f,R(U.gK),T([j(o,R(U.g),T([j(f,R(U.cn),T([j(b,"flex-grow","0")])),j(f,R(U.da),T([j(b,"align-self","auto !important")]))]))])),j(o,R(U.cm),T([j(b,"height","auto")])),j(o,R(U.cn),T([j(b,"flex-grow","100000")])),j(o,R(U.da),T([j(b,"width","100%")])),j(o,R(U.eH),T([j(b,"width","100%")])),j(o,R(U.c9),T([j(b,"align-self","flex-start")])),u5(function(n){switch(n){case 0:return{a:T([j(b,"justify-content","flex-start")]),b:T([j(b,"margin-bottom","auto !important"),j(b,"margin-top","0 !important")])};case 1:return{a:T([j(b,"justify-content","flex-end")]),b:T([j(b,"margin-top","auto !important"),j(b,"margin-bottom","0 !important")])};case 2:return{a:T([j(b,"align-items","flex-end")]),b:T([j(b,"align-self","flex-end")])};case 3:return{a:T([j(b,"align-items","flex-start")]),b:T([j(b,"align-self","flex-start")])};case 4:return{a:T([j(b,"align-items","center")]),b:T([j(b,"align-self","center")])};default:return{a:T([j(o,R(U.eY),T([j(b,"margin-top","auto"),j(b,"margin-bottom","auto")]))]),b:T([j(b,"margin-top","auto !important"),j(b,"margin-bottom","auto !important")])}}})]),wt=T([0,1,2,3,4,5]),kt=T([j(zg,"html,body",T([j(b,"height","100%"),j(b,"padding","0"),j(b,"margin","0")])),j(zg,O(R(U.eY),O(R(U.gN),R(U.fQ))),T([j(b,"display","block"),j(f,R(U.cn),T([j(o,"img",T([j(b,"max-height","100%"),j(b,"object-fit","cover")]))])),j(f,R(U.da),T([j(o,"img",T([j(b,"max-width","100%"),j(b,"object-fit","cover")]))]))])),j(zg,R(U.eY)+":focus",T([j(b,"outline","none")])),j(zg,R(U.gE),T([j(b,"width","100%"),j(b,"height","auto"),j(b,"min-height","100%"),j(b,"z-index","0"),j(f,O(R(U.eY),R(U.cn)),T([j(b,"height","100%"),j(o,R(U.cn),T([j(b,"height","100%")]))])),j(o,R(U.fS),T([j(f,R(U.a4),T([j(b,"position","fixed"),j(b,"z-index","20")]))]))])),j(zg,R(U.a4),T([j(b,"position","relative"),j(b,"border","none"),j(b,"display","flex"),j(b,"flex-direction","row"),j(b,"flex-basis","auto"),j(f,R(U.gN),Z),{$:6,a:j(S,function(n){switch(n){case 0:return j(f,R(U.eL),T([j(b,"position","absolute"),j(b,"bottom","100%"),j(b,"left","0"),j(b,"width","100%"),j(b,"z-index","20"),j(b,"margin","0 !important"),j(o,R(U.cn),T([j(b,"height","auto")])),j(o,R(U.da),T([j(b,"width","100%")])),j(b,"pointer-events","none"),j(o,"*",T([j(b,"pointer-events","auto")]))]));case 1:return j(f,R(U.e2),T([j(b,"position","absolute"),j(b,"bottom","0"),j(b,"left","0"),j(b,"height","0"),j(b,"width","100%"),j(b,"z-index","20"),j(b,"margin","0 !important"),j(b,"pointer-events","none"),j(o,"*",T([j(b,"pointer-events","auto")])),j(o,R(U.cn),T([j(b,"height","auto")]))]));case 2:return j(f,R(U.gh),T([j(b,"position","absolute"),j(b,"left","100%"),j(b,"top","0"),j(b,"height","100%"),j(b,"margin","0 !important"),j(b,"z-index","20"),j(b,"pointer-events","none"),j(o,"*",T([j(b,"pointer-events","auto")]))]));case 3:return j(f,R(U.gg),T([j(b,"position","absolute"),j(b,"right","100%"),j(b,"top","0"),j(b,"height","100%"),j(b,"margin","0 !important"),j(b,"z-index","20"),j(b,"pointer-events","none"),j(o,"*",T([j(b,"pointer-events","auto")]))]));case 4:return j(f,R(U.fS),T([j(b,"position","absolute"),j(b,"width","100%"),j(b,"height","100%"),j(b,"left","0"),j(b,"top","0"),j(b,"margin","0 !important"),j(b,"pointer-events","none"),j(o,"*",T([j(b,"pointer-events","auto")]))]));default:return j(f,R(U.e1),T([j(b,"position","absolute"),j(b,"width","100%"),j(b,"height","100%"),j(b,"left","0"),j(b,"top","0"),j(b,"margin","0 !important"),j(b,"z-index","0"),j(b,"pointer-events","none"),j(o,"*",T([j(b,"pointer-events","auto")]))]))}},wt)}])),j(zg,R(U.eY),T([j(b,"position","relative"),j(b,"border","none"),j(b,"flex-shrink","0"),j(b,"display","flex"),j(b,"flex-direction","row"),j(b,"flex-basis","auto"),j(b,"resize","none"),j(b,"font-feature-settings","inherit"),j(b,"box-sizing","border-box"),j(b,"margin","0"),j(b,"padding","0"),j(b,"border-width","0"),j(b,"border-style","solid"),j(b,"font-size","inherit"),j(b,"color","inherit"),j(b,"font-family","inherit"),j(b,"line-height","1"),j(b,"font-weight","inherit"),j(b,"text-decoration","none"),j(b,"font-style","inherit"),j(f,R(U.db),T([j(b,"flex-wrap","wrap")])),j(f,R(U.dX),T([j(b,"-moz-user-select","none"),j(b,"-webkit-user-select","none"),j(b,"-ms-user-select","none"),j(b,"user-select","none")])),j(f,R(U.fn),T([j(b,"cursor","pointer")])),j(f,R(U.fo),T([j(b,"cursor","text")])),j(f,R(U.gr),T([j(b,"pointer-events","none !important")])),j(f,R(U.bI),T([j(b,"pointer-events","auto !important")])),j(f,R(U.aT),T([j(b,"opacity","0")])),j(f,R(U.aL),T([j(b,"opacity","1")])),j(f,R(O(U.fM,U.aT))+":hover",T([j(b,"opacity","0")])),j(f,R(O(U.fM,U.aL))+":hover",T([j(b,"opacity","1")])),j(f,R(O(U.fE,U.aT))+":focus",T([j(b,"opacity","0")])),j(f,R(O(U.fE,U.aL))+":focus",T([j(b,"opacity","1")])),j(f,R(O(U.dd,U.aT))+":active",T([j(b,"opacity","0")])),j(f,R(O(U.dd,U.aL))+":active",T([j(b,"opacity","1")])),j(f,R(U.eA),T([j(b,"transition",j(N,", ",j(S,function(n){return n+" 160ms"},T(["transform","opacity","filter","background-color","color","font-size"]))))])),j(f,R(U.gH),T([j(b,"overflow","auto"),j(b,"flex-shrink","1")])),j(f,R(U.gI),T([j(b,"overflow-x","auto"),j(f,R(U.eh),T([j(b,"flex-shrink","1")]))])),j(f,R(U.gJ),T([j(b,"overflow-y","auto"),j(f,R(U.al),T([j(b,"flex-shrink","1")])),j(f,R(U.gN),T([j(b,"flex-shrink","1")]))])),j(f,R(U.fg),T([j(b,"overflow","hidden")])),j(f,R(U.fh),T([j(b,"overflow-x","hidden")])),j(f,R(U.fi),T([j(b,"overflow-y","hidden")])),j(f,R(U.c9),T([j(b,"width","auto")])),j(f,R(U.bE),T([j(b,"border-width","0")])),j(f,R(U.e8),T([j(b,"border-style","dashed")])),j(f,R(U.e9),T([j(b,"border-style","dotted")])),j(f,R(U.fa),T([j(b,"border-style","solid")])),j(f,R(U.g),T([j(b,"white-space","pre"),j(b,"display","inline-block")])),j(f,R(U.fZ),T([j(b,"line-height","1.05"),j(b,"background","transparent"),j(b,"text-align","inherit")])),j(f,R(U.gN),Z),j(f,R(U.eh),T([j(b,"display","flex"),j(b,"flex-direction","row"),j(o,R(U.eY),T([j(b,"flex-basis","0%"),j(f,R(U.eG),T([j(b,"flex-basis","auto")])),j(f,R(U.dQ),T([j(b,"flex-basis","auto")]))])),j(o,R(U.cn),T([j(b,"align-self","stretch !important")])),j(o,R(U.dD),T([j(b,"align-self","stretch !important")])),j(o,R(U.da),T([j(b,"flex-grow","100000")])),j(o,R(U.bL),T([j(b,"flex-grow","0"),j(b,"flex-basis","auto"),j(b,"align-self","stretch")])),j(o,"u:first-of-type."+U.eU,T([j(b,"flex-grow","1")])),j(o,"s:first-of-type."+U.eS,T([j(b,"flex-grow","1"),j(o,R(U.eP),T([j(b,"margin-left","auto !important")]))])),j(o,"s:last-of-type."+U.eS,T([j(b,"flex-grow","1"),j(o,R(U.eP),T([j(b,"margin-right","auto !important")]))])),j(o,"s:only-of-type."+U.eS,T([j(b,"flex-grow","1"),j(o,R(U.eQ),T([j(b,"margin-top","auto !important"),j(b,"margin-bottom","auto !important")]))])),j(o,"s:last-of-type."+U.eS+" ~ u",T([j(b,"flex-grow","0")])),j(o,"u:first-of-type."+U.eU+" ~ s."+U.eS,T([j(b,"flex-grow","0")])),u5(function(n){switch(n){case 0:return{a:T([j(b,"align-items","flex-start")]),b:T([j(b,"align-self","flex-start")])};case 1:return{a:T([j(b,"align-items","flex-end")]),b:T([j(b,"align-self","flex-end")])};case 2:return{a:T([j(b,"justify-content","flex-end")]),b:M};case 3:return{a:T([j(b,"justify-content","flex-start")]),b:M};case 4:return{a:T([j(b,"justify-content","center")]),b:M};default:return{a:T([j(b,"align-items","center")]),b:T([j(b,"align-self","center")])}}}),j(f,R(U.gP),T([j(b,"justify-content","space-between")])),j(f,R(U.bS),T([j(b,"align-items","baseline")]))])),j(f,R(U.al),T([j(b,"display","flex"),j(b,"flex-direction","column"),j(o,R(U.eY),T([j(b,"flex-basis","0px"),j(b,"min-height","min-content"),j(f,R(U.dC),T([j(b,"flex-basis","auto")]))])),j(o,R(U.cn),T([j(b,"flex-grow","100000")])),j(o,R(U.da),T([j(b,"width","100%")])),j(o,R(U.eH),T([j(b,"width","100%")])),j(o,R(U.c9),T([j(b,"align-self","flex-start")])),j(o,"u:first-of-type."+U.eR,T([j(b,"flex-grow","1")])),j(o,"s:first-of-type."+U.eT,T([j(b,"flex-grow","1"),j(o,R(U.eQ),T([j(b,"margin-top","auto !important"),j(b,"margin-bottom","0 !important")]))])),j(o,"s:last-of-type."+U.eT,T([j(b,"flex-grow","1"),j(o,R(U.eQ),T([j(b,"margin-bottom","auto !important"),j(b,"margin-top","0 !important")]))])),j(o,"s:only-of-type."+U.eT,T([j(b,"flex-grow","1"),j(o,R(U.eQ),T([j(b,"margin-top","auto !important"),j(b,"margin-bottom","auto !important")]))])),j(o,"s:last-of-type."+U.eT+" ~ u",T([j(b,"flex-grow","0")])),j(o,"u:first-of-type."+U.eR+" ~ s."+U.eT,T([j(b,"flex-grow","0")])),u5(function(n){switch(n){case 0:return{a:T([j(b,"justify-content","flex-start")]),b:T([j(b,"margin-bottom","auto")])};case 1:return{a:T([j(b,"justify-content","flex-end")]),b:T([j(b,"margin-top","auto")])};case 2:return{a:T([j(b,"align-items","flex-end")]),b:T([j(b,"align-self","flex-end")])};case 3:return{a:T([j(b,"align-items","flex-start")]),b:T([j(b,"align-self","flex-start")])};case 4:return{a:T([j(b,"align-items","center")]),b:T([j(b,"align-self","center")])};default:return{a:T([j(b,"justify-content","center")]),b:M}}}),j(o,R(U.bL),T([j(b,"flex-grow","0"),j(b,"flex-basis","auto"),j(b,"width","100%"),j(b,"align-self","stretch !important")])),j(f,R(U.gP),T([j(b,"justify-content","space-between")]))])),j(f,R(U.fH),T([j(b,"display","-ms-grid"),j(o,".gp",T([j(o,R(U.eY),T([j(b,"width","100%")]))])),j(hn,{a:"display",b:"grid"},T([{a:"display",b:"grid"}])),(i5=function(n){switch(n){case 0:return T([j(b,"justify-content","flex-start")]);case 1:return T([j(b,"justify-content","flex-end")]);case 2:return T([j(b,"align-items","flex-end")]);case 3:return T([j(b,"align-items","flex-start")]);case 4:return T([j(b,"align-items","center")]);default:return T([j(b,"justify-content","center")])}},{$:6,a:j(I0,function(n){return T([j(o,R(U.eY),T([j(f,e5(n),i5(n))]))])},Og)})])),j(f,R(U.d$),T([j(b,"display","block"),j(o,R(U.eY+":first-child"),T([j(b,"margin","0 !important")])),j(o,R(U.eY+(e5(3)+":first-child + .")+U.eY),T([j(b,"margin","0 !important")])),j(o,R(U.eY+(e5(2)+":first-child + .")+U.eY),T([j(b,"margin","0 !important")])),u5(function(n){switch(n){case 0:case 1:return{a:M,b:M};case 2:return{a:M,b:T([j(b,"float","right"),j(f,"::after",T([j(b,"content",'""'),j(b,"display","table"),j(b,"clear","both")]))])};case 3:return{a:M,b:T([j(b,"float","left"),j(f,"::after",T([j(b,"content",'""'),j(b,"display","table"),j(b,"clear","both")]))])};default:return{a:M,b:M}}})])),j(f,R(U.fV),T([j(b,"white-space","pre-wrap !important"),j(b,"height","100%"),j(b,"width","100%"),j(b,"background-color","transparent")])),j(f,R(U.fY),T([j(f,R(U.gN),T([j(b,"flex-basis","auto")]))])),j(f,R(U.fX),T([j(b,"white-space","pre-wrap !important"),j(b,"cursor","text"),j(o,R(U.fW),T([j(b,"white-space","pre-wrap !important"),j(b,"color","transparent")]))])),j(f,R(U.d0),T([j(b,"display","block"),j(b,"white-space","normal"),j(b,"overflow-wrap","break-word"),j(f,R(U.cl),T([j(b,"z-index","0"),j(o,R(U.e1),T([j(b,"z-index","-1")]))])),j(Bn,R(U.g),T([j(b,"display","inline"),j(b,"white-space","normal")])),j(Bn,R(U.d0),T([j(b,"display","inline"),j(f,"::after",T([j(b,"content","none")])),j(f,"::before",T([j(b,"content","none")]))])),j(Bn,R(U.gN),T([j(b,"display","inline"),j(b,"white-space","normal"),j(f,R(U.eG),T([j(b,"display","inline-block")])),j(f,R(U.fS),T([j(b,"display","flex")])),j(f,R(U.e1),T([j(b,"display","flex")])),j(f,R(U.eL),T([j(b,"display","flex")])),j(f,R(U.e2),T([j(b,"display","flex")])),j(f,R(U.gh),T([j(b,"display","flex")])),j(f,R(U.gg),T([j(b,"display","flex")])),j(o,R(U.g),T([j(b,"display","inline"),j(b,"white-space","normal")]))])),j(o,R(U.eh),T([j(b,"display","inline")])),j(o,R(U.al),T([j(b,"display","inline-flex")])),j(o,R(U.fH),T([j(b,"display","inline-grid")])),u5(function(n){switch(n){case 0:case 1:return{a:M,b:M};case 2:return{a:M,b:T([j(b,"float","right")])};case 3:return{a:M,b:T([j(b,"float","left")])};default:return{a:M,b:M}}})])),j(f,".hidden",T([j(b,"display","none")])),j(f,R(U.hc),T([j(b,"font-weight","100")])),j(f,R(U.g3),T([j(b,"font-weight","200")])),j(f,R(U.g7),T([j(b,"font-weight","300")])),j(f,R(U.g9),T([j(b,"font-weight","400")])),j(f,R(U.g8),T([j(b,"font-weight","500")])),j(f,R(U.hb),T([j(b,"font-weight","600")])),j(f,R(U.e6),T([j(b,"font-weight","700")])),j(f,R(U.g2),T([j(b,"font-weight","800")])),j(f,R(U.g4),T([j(b,"font-weight","900")])),j(f,R(U.f0),T([j(b,"font-style","italic")])),j(f,R(U.gX),T([j(b,"text-decoration","line-through")])),j(f,R(U.hk),T([j(b,"text-decoration","underline"),j(b,"text-decoration-skip-ink","auto"),j(b,"text-decoration-skip","ink")])),j(f,O(R(U.hk),R(U.gX)),T([j(b,"text-decoration","line-through underline"),j(b,"text-decoration-skip-ink","auto"),j(b,"text-decoration-skip","ink")])),j(f,R(U.hd),T([j(b,"font-style","normal")])),j(f,R(U.g5),T([j(b,"text-align","justify")])),j(f,R(U.bZ),T([j(b,"text-align","justify-all")])),j(f,R(U.g1),T([j(b,"text-align","center")])),j(f,R(U.ha),T([j(b,"text-align","right")])),j(f,R(U.g6),T([j(b,"text-align","left")])),j(f,".modal",T([j(b,"position","fixed"),j(b,"left","0"),j(b,"top","0"),j(b,"width","100%"),j(b,"height","100%"),j(b,"pointer-events","none")]))]))]),Tn=Ho(T([j(S,function(n){return j(zg,".border-"+I(n),T([j(b,"border-width",I(n)+"px")]))},j(xu,0,6)),j(S,function(n){return j(zg,".font-size-"+I(n),T([j(b,"font-size",I(n)+"px")]))},j(xu,8,32)),j(S,function(n){return j(zg,".p-"+I(n),T([j(b,"padding",I(n)+"px")]))},j(xu,0,24)),T([j(zg,".v-smcp",T([j(b,"font-variant","small-caps")])),j(zg,".v-smcp-off",T([j(b,"font-variant","normal")]))]),a5("zero"),a5("onum"),a5("liga"),a5("dlig"),a5("ordn"),a5("tnum"),a5("afrc"),a5("frac")])),Cn="\n.explain {\n border: 6px solid rgb(174, 121, 15) !important;\n}\n.explain > ."+U.eY+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n.ctr {\n border: none !important;\n}\n.explain > .ctr > ."+U.eY+" {\n border: 4px dashed rgb(0, 151, 167) !important;\n}\n\n",Ze="@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {"+R(U.eY)+(R(U.eh)+(" > "+R(U.eY)+(" { flex-basis: auto !important; } "+R(U.eY)+(R(U.eh)+(" > "+R(U.eY)+(R(U.bL)+' { flex-basis: auto !important; }}\ninput[type="search"],\ninput[type="search"]::-webkit-search-decoration,\ninput[type="search"]::-webkit-search-cancel-button,\ninput[type="search"]::-webkit-search-results-button,\ninput[type="search"]::-webkit-search-results-decoration {\n -webkit-appearance:none;\n}\n\ninput[type=range] {\n -webkit-appearance: none; \n background: transparent;\n position:absolute;\n left:0;\n top:0;\n z-index:10;\n width: 100%;\n outline: dashed 1px;\n height: 100%;\n opacity: 0;\n}\n\ninput[type=range]::-moz-range-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-ms-track {\n background: transparent;\n cursor: pointer;\n}\ninput[type=range]::-webkit-slider-runnable-track {\n background: transparent;\n cursor: pointer;\n}\n\ninput[type=range]::-webkit-slider-thumb {\n -webkit-appearance: none;\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-moz-range-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range]::-ms-thumb {\n opacity: 0.5;\n width: 80px;\n height: 80px;\n background-color: black;\n border:none;\n border-radius: 5px;\n}\ninput[type=range][orient=vertical]{\n writing-mode: bt-lr; /* IE */\n -webkit-appearance: slider-vertical; /* WebKit */\n}\n'))))))+Cn,Bg=_(function(n,r){return{bJ:r,l:M,aw:M,S:n}}),Ig=_(function(n,r){var a=n;return z(va,_(function(n,r){switch(n.$){case 0:return C(r,{aw:j(B,{a:n.a,b:n.b},r.aw)});case 3:var t=n.a;return C(r,{l:j(B,{bJ:"\n}",l:M,aw:n.b,S:"@supports ("+t.a+":"+t.b+") {"+a.S},r.l)});case 5:t=n.b;return C(r,{l:j(B,j(Ig,j(Bg,a.S+" + "+n.a,""),t),r.l)});case 1:var e=n.a,u=n.b;return C(r,{l:j(B,j(Ig,j(Bg,a.S+" > "+e,""),u),r.l)});case 2:e=n.a,u=n.b;return C(r,{l:j(B,j(Ig,j(Bg,a.S+" "+e,""),u),r.l)});case 4:t=n.b;return C(r,{l:j(B,j(Ig,j(Bg,O(a.S,n.a),""),t),r.l)});default:e=n.a;return C(r,{l:j(B,j(Ig,j(Bg,a.S,""),e),r.l)})}}),a,r)}),Yg=O(Ze,(Qe=O(kt,Tn),o5=function(n){return c5(j(S,function(n){return n.a+":"+n.b+";"},n))},c5(j(S,Hg,z(va,_(function(n,r){var t=n.b;return j(B,j(Ig,j(Bg,n.a,""),t),r)}),M,Qe)))));function Hg(n){return O(function(n){return n.aw.b?n.S+("{"+o5(n.aw))+(n.bJ+"}"):""}(n),c5(j(S,Hg,n.l)))}function Ug(n){switch(n.aJ){case 0:return z(t5,"div",M,T([z(t5,"style",M,T([kh(Yg)]))]));case 1:return kh("");default:return z(t5,"elm-ui-static-rules",T([j(jg,"rules",vi(Yg))]),M)}}function Rg(n){switch(n.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return'"'+(r=n.a)+'"';case 4:var r=n.a;return'"'+r+'"';default:return'"'+(r=n.a.gc)+'"'}}function Dg(n){switch(n.$){case 0:return"smcp"===n.a;case 1:return!1;default:return"smcp"===n.a&&1===n.b}}function qg(n){return 5===n.$&&j(_c,Dg,n.a.eB)}function Kg(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:return'"'+n.a+'" 0';default:return'"'+n.a+('" '+I(n.b))}}function Vg(n){return 5===n.$?A(j(N,", ",j(S,Kg,n.a.eB))):E}function Jg(n){return n.b?A(z(P,yh,n.a,n.b)):E}function Gg(n){function r(n){return 4===n.$?A("@import url('"+n.b+"');"):E}function t(n){return j(N,"\n",j(mc,r,n.b))}function e(n){var r=n.a,n=function(n){return z(P,_(function(n,r){return 1!==r.$||5!==n.$||1===(n=n.a.eM).$?r:A({a:jh(Sh(r=n.a).dA),b:jh(Sh(r).fc)})}),E,n)}(n.b);return j(N,"",j(S,1===n.$?Nh(r):j(Eh,r,n.a),u))}var u=j(S,Mt,n);return O(j(N,"\n",j(S,t,n)),j(N,"\n",j(S,e,n)))}function Zg(n){return jr(Dr(n))}function Qg(n){return j(kg,T([eg(Zh)]),T([Gh(n)]))}function Wg(n){return j(kg,T([eg(Qh)]),T([Gh(n)]))}function Fg(n){switch(n.$){case 0:var r=I(n.a),t="height-px-"+r;return{a:l3,b:U.dC+" "+t,c:T([z(Fh,t,"height",r+"px")])};case 1:return{a:j(n3,b3,l3),b:U.cm,c:M};case 2:t=n.a;return 1===t?{a:j(n3,Hh,l3),b:U.cn,c:M}:{a:j(n3,Hh,l3),b:U.dD+(" height-fill-"+I(t)),c:T([z(Fh,U.eY+("."+U.al+(" > "+R("height-fill-"+I(t)))),"flex-grow",I(1e5*t))])};case 3:var r=n.a,e=n.b,u="min-height-"+I(r),a=z(Fh,u,"min-height",I(r)+"px !important"),t=Fg(e),c=t.a,i=t.b,o=t.c;return{a:j(n3,Yh,c),b:u+" "+i,c:j(B,a,o)};default:r=n.a,e=n.b,u="max-height-"+I(r),a=z(Fh,u,"max-height",I(r)+"px"),t=Fg(e),c=t.a,i=t.b,o=t.c;return{a:j(n3,Yh,c),b:u+" "+i,c:j(B,a,o)}}}function Xg(n){switch(n.$){case 0:var r=n.a;return{a:l3,b:U.eG+(" width-px-"+I(r)),c:T([z(Fh,"width-px-"+I(r),"width",I(r)+"px")])};case 1:return{a:j(n3,d3,l3),b:U.c9,c:M};case 2:r=n.a;return 1===r?{a:j(n3,Vh,l3),b:U.da,c:M}:{a:j(n3,Vh,l3),b:U.eH+(" width-fill-"+I(r)),c:T([z(Fh,U.eY+("."+U.eh+(" > "+R("width-fill-"+I(r)))),"flex-grow",I(1e5*r))])};case 3:var r=n.a,t=n.b,e="min-width-"+I(r),u=z(Fh,e,"min-width",I(r)+"px"),r=Xg(t),a=r.a,c=r.b,i=r.c;return{a:j(n3,Kh,a),b:e+" "+c,c:j(B,u,i)};default:r=n.a,t=n.b,e="max-width-"+I(r),u=z(Fh,e,"max-width",I(r)+"px"),r=Xg(t),a=r.a,c=r.b,i=r.c;return{a:j(n3,Kh,a),b:e+" "+c,c:j(B,u,i)}}}function nh(n){return{$:8,a:n}}function rh(n){return{$:7,a:n}}function th(n){return{$:2,a:n}}function eh(n){return 4===n.$&&11===n.b.$&&!n.b.a}function uh(n){return{$:5,a:n}}function ah(n){return j(p,ep({bf:n.bf,_:n.cd.bf._,ab:n.cd.bf.ab,ac:n.cd.bf.ac,ad:n.cd.bf.ad,br:n.cd.bf.br}),B$(n.cd.cd))}function ch(n){return sp(n)}function ih(n){return j(Vv,lp,z(Fh,"ls-"+Zv(n),"letter-spacing",Eg(n)+"px"))}function oh(n){return j(Vv,M3,{$:2,a:n})}function fh(n){function r(n){var r=n*n*n;return.008856<r?r:(n-16/116)/7.787}var t=(n.ae+16)/116;return{eI:95.047*r(t+n.dc/500),eJ:100*r(t),bB:108.883*r(t-n.dj/200)}}function bh(n){return{bf:{_:T([j(Ep,16,12),Wv(d(n.ay)),Rp(d(l4(n.ay))),Up(d(j(u4,.14,n.bW.ay))),v$(j(Mp,344,m$))]),ab:T([ap({bF:0,bG:0,b_:4,b$:4})]),ac:T([ap({bF:4,bG:4,b_:0,b$:0})]),ad:T([cp(4),c4(1)]),br:T([cp(0)])},ds:T([v$(m$),e4(T([h4(p4(4))])),d4,cp(4),c4(1),Up(d(j(u4,.14,n.bW.ay)))])}}function sh(n){return j(p,O4(n.bf),g$(n.ds))}function lh(n){return Ea({a:n.fB,b:n.gT})}function dh(n){return function(n){return bb(g0(n))}(n)}function vh(n){return 1===(n=z(va,_(function(n,r){return 4===n.$&&5===n.b.$&&(n=n.b,1===r.$)?A(n.c):r}),E,n)).$?Z$:(n=Du(n.a/2),j(Vp,rm,nm(-n)))}function gh(n){return 8===n.$?A(n.a):E}function hh(n){return j(X4,4,n)}function $h(n){for(;;)switch(n.$){case 1:return!1;case 0:case 2:return!0;case 3:n=n.b;continue;default:return!0}}function ph(n){return{a:n,b:!0}}function mh(n){for(;;)switch(n.$){case 2:return 1;case 1:case 0:return;default:n=n.b;continue}}function wh(n){return 1===n.$?x$:(n=n.a,j(h$,T([v$(m$),Wv(z(em,1,0,0)),Rp(z(em,1,1,1)),S4(5)]),{$:2,a:n}))}var kh=Nr,_h=_(function(n,r){return z(P,function(t){return _(function(n,r){return r.push(t(n)),r})}(n),[],r)}),yh=_(function(n,r){return Q(n,r)<0?n:r}),xh=y(function(n,r,t){var e=r.a,r=r.b;return n?t+"\n "+e+": "+r+" !important;":t+"\n "+e+": "+r+";"}),Lh=i(function(n,r,t,e){if(1===r.$)return T([t+("{"+z(P,xh(!1),"",e))+"\n}"]);switch(r.a){case 1:switch(n.fM){case 0:return M;case 2:return T([t+("-hv {"+z(P,xh(!0),"",e))+"\n}"]);default:return T([t+("-hv:hover {"+z(P,xh(!1),"",e))+"\n}"])}case 0:var u=z(P,xh(!1),"",e);return T([t+"-fs:focus {"+u+"\n}","."+U.eY+":focus "+t+"-fs {"+u+"\n}",t+"-fs:focus-within {"+u+"\n}",".ui-slide-bar:focus + "+R(U.eY)+" .focusable-thumb"+t+"-fs {"+u+"\n}"]);default:return T([t+("-act:active {"+z(P,xh(!1),"",e))+"\n}"])}}),Ch=y(function(r,n,t){switch(n.$){case 0:return x(Lh,r,t,n.a,n.b);case 13:return x(Lh,r,t,"."+(u=n.a),T([j(Tg,"box-shadow",n.b)]));case 12:return x(Lh,r,t,"."+(u=n.a),T([j(Tg,"opacity",Eg(j(Ku,0,j(yh,1,1-n.b))))]));case 2:var e=n.a;return x(Lh,r,t,".font-size-"+I(e),T([j(Tg,"font-size",I(e)+"px")]));case 1:var u=n.a,e=n.b,a=j(N,", ",j(mc,Vg,e)),a=T([j(Tg,"font-family",j(N,", ",j(S,Rg,e))),j(Tg,"font-feature-settings",a),j(Tg,"font-variant",j(_c,qg,e)?"small-caps":"normal")]);return x(Lh,r,t,"."+u,a);case 3:return x(Lh,r,t,"."+(h=n.a),T([j(Tg,n.b,k=n.c)]));case 4:return x(Lh,r,t,"."+(h=n.a),T([j(Tg,n.b,Ng(n.c))]));case 5:var c=n.a,e=n.b,u=n.c,a=I(u)+"px",i=I(e)+"px",o="."+U.eh,f="."+U.db+o,b="."+U.dh,s="."+U.d0,l="."+U.d$,d="."+U.dg,v=Eg(u/2)+"px",e=Eg(e/2)+"px",g="."+U.al,h="."+c,$="."+U.eY;return Ho(T([x(Lh,r,t,h+o+" > "+$+" + "+$,T([j(Tg,"margin-left",i)])),x(Lh,r,t,h+f+" > "+$,T([j(Tg,"margin",v+" "+e)])),x(Lh,r,t,h+g+" > "+$+" + "+$,T([j(Tg,"margin-top",a)])),x(Lh,r,t,h+l+" > "+$+" + "+$,T([j(Tg,"margin-top",a)])),x(Lh,r,t,h+l+" > "+d,T([j(Tg,"margin-right",i)])),x(Lh,r,t,h+l+" > "+b,T([j(Tg,"margin-left",i)])),x(Lh,r,t,O(h,s),T([j(Tg,"line-height","calc(1em + "+I(u)+"px)")])),x(Lh,r,t,"textarea"+$+h,T([j(Tg,"line-height","calc(1em + "+I(u)+"px)"),j(Tg,"height","calc(100% + "+I(u)+"px)")])),x(Lh,r,t,h+s+" > "+d,T([j(Tg,"margin-right",i)])),x(Lh,r,t,h+s+" > "+b,T([j(Tg,"margin-left",i)])),x(Lh,r,t,h+s+"::after",T([j(Tg,"content","''"),j(Tg,"display","block"),j(Tg,"height","0"),j(Tg,"width","0"),j(Tg,"margin-top",I(-1*(u/2|0))+"px")])),x(Lh,r,t,h+s+"::before",T([j(Tg,"content","''"),j(Tg,"display","block"),j(Tg,"height","0"),j(Tg,"width","0"),j(Tg,"margin-bottom",I(-1*(u/2|0))+"px")]))]));case 7:var c=n.a,p=n.b,b=n.c,m=n.d,d=n.e;return x(Lh,r,t,h="."+c,T([j(Tg,"padding",Eg(p)+("px "+Eg(b)+("px "+Eg(m)+("px "+Eg(d))))+"px")]));case 6:c=n.a,p=n.b,b=n.c,m=n.d,d=n.e;return x(Lh,r,t,h="."+c,T([j(Tg,"border-width",I(p)+("px "+I(b)+("px "+I(m)+("px "+I(d))))+"px")]));case 8:var o=n.a,w=y(function(n,r,t){for(;;)switch(t.$){case 0:return I(t.a)+"px";case 1:var e={a:n,b:r};return 1===e.a.$?1===e.b.$?"max-content":"minmax(max-content, "+I(u=e.b.a)+"px)":1===e.b.$?"minmax("+I(e.a.a)+"px, max-content)":(u=e.b.a,"minmax("+I(e.a.a)+("px, "+I(u))+"px)");case 2:var u,e=t.a,a={a:n,b:r};return 1===a.a.$?1===a.b.$?I(e)+"fr":"minmax(max-content, "+I(u=a.b.a)+"px)":1===a.b.$?"minmax("+I(a.a.a)+("px, "+I(e))+"frfr)":(u=a.b.a,"minmax("+I(a.a.a)+("px, "+I(u))+"px)");case 3:var c=t.a,i=t.b;n=A(c),r=r,t=i;continue;default:c=t.a,i=t.b;n=n,r=A(c),t=i;continue}}),f=function(n){return z(w,E,E,n)},v=f(o.gQ.b),e="grid-template-rows: "+j(N," ",j(S,f,o.gF))+";",g="-ms-grid-rows: "+j(N,v,j(S,f,o.bK))+";",a="-ms-grid-columns: "+j(N,v,j(S,f,o.bK))+";",l="grid-row-gap:"+f(o.gQ.b)+";",$="grid-column-gap:"+f(o.gQ.a)+";",i="grid-template-columns: "+j(N," ",j(S,f,o.bK))+";";return T([(h=".grid-rows-"+j(N,"-",j(S,yg,o.gF))+("-cols-"+j(N,"-",j(S,yg,o.bK))+("-space-x-"+yg(o.gQ.a)+("-space-y-"+yg(o.gQ.b)))))+"{"+a+g+"}","@supports (display:grid) {"+(h+"{"+i+e+$+l+"}")+"}"]);case 9:s=n.a,u=j(N," ",T(["-ms-grid-row: "+I(s.eh)+";","-ms-grid-row-span: "+I(s.dB)+";","-ms-grid-column: "+I(s.dn)+";","-ms-grid-column-span: "+I(s.Y)+";"])),p=j(N," ",T(["grid-row: "+I(s.eh)+(" / "+I(s.eh+s.dB))+";","grid-column: "+I(s.dn)+(" / "+I(s.dn+s.Y))+";"]));return T([(h=".grid-pos-"+I(s.eh)+("-"+I(s.dn)+("-"+I(s.Y)+("-"+I(s.dB)))))+"{"+u+"}","@supports (display:grid) {"+(h+"{"+p+"}")+"}"]);case 11:h=n.a;return j(I0,function(n){return z(Ch,r,n,A(h))},n.b);default:var b=n.a,k=function(n){switch(n.$){case 0:return E;case 1:var r=n.a,t=r.b,e=r.c;return A("translate3d("+Eg(r.a)+("px, "+Eg(t)+("px, "+Eg(e)))+"px)");default:var r=n.a,t=r.b,e=r.c,u=n.b,a=u.a,c=u.b,u=u.c,i=n.c,o=i.a,f=i.b,i=i.c,b=n.d,r="translate3d("+Eg(r.a)+("px, "+Eg(t)+("px, "+Eg(e)))+"px)",t="scale3d("+Eg(a)+(", "+Eg(c)+(", "+Eg(u)))+")",e="rotate3d("+Eg(o)+(", "+Eg(f)+(", "+Eg(i)+(", "+Eg(b))))+"rad)";return A(r+" "+t+" "+e)}}(b),m={a:h=X2(b),b:k};return m.a.$||m.b.$?M:x(Lh,r,t,"."+(c=m.a.a),T([j(Tg,"transform",m.b.a)]))}}),Mh=_(function(t,n){return qt(j(S,function(n){var r=z(Ch,t,n,E);return{a:n5(n),b:j(_h,vi,r)}},n))}),Th=_(function(n,r){return n+" {"+j(N,"",j(S,function(n){return n.a+": "+n.b+";"},r))+"}"}),Ah=y(function(n,r,t){var e=t.b;return T([j(Th,"."+n+"."+r+", ."+n+" ."+r,t.a),j(Th,"."+n+"."+r+"> ."+U.g+", ."+n+" ."+r+" > ."+U.g,e)])}),Eh=y(function(n,r,t){var e=r.a,r=r.b,t=L(n,t)?n:t+" ."+n;return j(N," ",O(z(Ah,t,U.gO,r),z(Ah,t,U.fF,e)))}),Nh=_(function(n,r){r=L(n,r)?n:r+" ."+n;return j(N," ",T([j(Th,"."+r+"."+U.gO+", ."+r+" ."+U.gO,T([{a:"line-height",b:"1"}])),j(Th,"."+r+"."+U.gO+"> ."+U.g+", ."+r+" ."+U.gO+" > ."+U.g,T([{a:"vertical-align",b:"0"},{a:"line-height",b:"1"}]))]))}),Ph=y(function(n,r,t){return{dB:r/n,ep:n,eE:t}}),Sh=function(n){var r=T([n.fc,n.e0,n.fs,n.f6]),t=j(H,n.fs,Jg(r)),e=j(H,n.e0,Jg(j($c,function(n){return!L(n,t)},r))),r=j(H,n.fc,(n=r).b?A(z(P,Ku,n.a,n.b)):E),n=1/(r-t),u=1-r;return{fc:z(Ph,1/(r-e),r-e,1-r),dA:z(Ph,n,r-t,u)}},jh=function(n){return{a:T([{a:"display",b:"block"}]),b:T([{a:"display",b:"inline-block"},{a:"line-height",b:Eg(n.dB)},{a:"vertical-align",b:Eg(n.eE)+"em"},{a:"font-size",b:Eg(n.ep)+"em"}])}},zh=_(function(t,n){var n=z(P,_(function(n,r){return{bY:O(r.bY,z(Ch,t,n,E)),by:1===(n=1===(n=n).$?A({a:n.a,b:n.b}):E).$?r.by:j(B,n.a,r.by)}}),{bY:M,by:M},n),r=n.bY;return O(Gg(n.by),c5(r))}),Oh=_(function(n,r){switch(n.aJ){case 0:case 1:return z(t5,"div",M,T([z(t5,"style",M,T([kh(j(zh,n,r))]))]));default:return z(t5,"elm-ui-rules",T([j(jg,"rules",j(Mh,n,r))]),M)}}),Bh=i(function(n,r,t,e){t=j(Oh,r,z(P,Mg,{a:_g,b:r5(r.fE)},t).b);return n?j(B,{a:"static-stylesheet",b:Ug(r)},j(B,{a:"dynamic-stylesheet",b:t},e)):j(B,{a:"dynamic-stylesheet",b:t},e)}),Ih=i(function(n,r,t,e){t=j(Oh,r,z(P,Mg,{a:_g,b:r5(r.fE)},t).b);return n?j(B,Ug(r),j(B,t,e)):j(B,t,e)}),Yh=G2(45),Hh=G2(37),Uh=Sr("p"),Rh=_(function(n,r){var t,e=r.a;return n.$?L((t=n.a)&r.b,t):L((r=n.a)&e,r)}),Dh=Sr("s"),qh=Sr("u"),Kh=G2(44),Vh=G2(39),Jh=$(function(n,r,t,u,a,e){var c=_(function(n,r){var t,e;return 1===u.$?(t=u.a,z(Zg,n,r,function(){switch(a.$){case 0:return t;case 2:return x(Bh,!1,a.a,a.b,t);default:return x(Bh,!0,a.a,a.b,t)}}())):(e=u.a,j(function(){switch(n){case"div":return kg;case"p":return Uh;default:return t5(n)}}(),r,function(){switch(a.$){case 0:return e;case 2:return x(Ih,!1,a.a,a.b,e);default:return x(Ih,!0,a.a,a.b,e)}}()))}),i=function(){switch(r.$){case 0:return j(c,"div",t);case 1:return j(c,r.a,t);default:return z(t5,r.a,t,T([j(c,r.b,T([eg(U.eY+" "+U.gN)]))]))}}();switch(e){case 0:return j(Rh,Vh,n)&&!j(Rh,Kh,n)?i:j(Rh,pg,n)?j(qh,T([eg(j(N," ",T([U.eY,U.gN,U.bL,U.am,U.eU])))]),T([i])):j(Rh,mg,n)?j(Dh,T([eg(j(N," ",T([U.eY,U.gN,U.bL,U.am,U.eS])))]),T([i])):i;case 1:return j(Rh,Hh,n)&&!j(Rh,Yh,n)?i:j(Rh,wg,n)?j(Dh,T([eg(j(N," ",T([U.eY,U.gN,U.bL,U.eT])))]),T([i])):j(Rh,$g,n)?j(qh,T([eg(j(N," ",T([U.eY,U.gN,U.bL,U.eR])))]),T([i])):i;default:return i}}),Gh=kh,Zh=U.eY+" "+U.g+" "+U.c9+" "+U.cm,Qh=U.eY+" "+U.g+" "+U.da+" "+U.cn,Wh=y(function(i,n,r){var t,e,u,a,c=_(function(n,r){var t=n.a,e=n.b,u=r.a,a=r.b;switch(e.$){case 0:var c=e.a;return L(i,4),{a:j(B,{a:t,b:c(i)},u),b:a};case 1:c=e.a;return L(i,4),{a:j(B,{a:t,b:j(c.fN,vg,i)},u),b:a.b?O(c.gY,a):c.gY};case 2:c=e.a;return{a:j(B,{a:t,b:(L(i,2)?Wg:Qg)(c)},u),b:a};default:return{a:u,b:a}}}),o=_(function(n,r){var t=r.a,e=r.b;switch(n.$){case 0:var u=n.a;return L(i,4),{a:j(B,u(i),t),b:e};case 1:u=n.a;return L(i,4),{a:j(B,j(u.fN,vg,i),t),b:e.b?O(u.gY,e):u.gY};case 2:u=n.a;return{a:j(B,(L(i,2)?Wg:Qg)(u),t),b:e};default:return{a:t,b:e}}});return 1===n.$?(t=(c=z(va,c,{a:M,b:M},n.a)).a,(u=(e=c.b).b?O(r.gY,e):r.gY).b?(a=u,{$:1,a:{fN:x(Jh,r.aI,r.aK,r.ah,{$:1,a:z(hg,"nearby-element-pls",t,r.aD)}),gY:a}}):{$:0,a:l(Jh,r.aI,r.aK,r.ah,{$:1,a:z(hg,"nearby-element-pls",t,r.aD)},vg)}):(t=(c=z(va,o,{a:M,b:M},n.a)).a,(u=(e=c.b).b?O(r.gY,e):r.gY).b?(a=u,{$:1,a:{fN:x(Jh,r.aI,r.aK,r.ah,{$:0,a:j(gg,t,r.aD)}),gY:a}}):{$:0,a:l(Jh,r.aI,r.aK,r.ah,{$:0,a:j(gg,t,r.aD)},vg)})}),Fh=y(function(n,r,t){return{$:3,a:n,b:r,c:t}}),Xh=_(function(n,r){return{$:0,a:n,b:r}}),n3=_(function(n,r){var t=r.a,r=r.b;return n.$?j(Xh,t,n.a|r):j(Xh,n.a|t,r)}),r3=_(function(n,r){return{$:3,a:n,b:r}}),t3=_(function(n,r){return j(kg,T([eg(function(){switch(n){case 0:return j(N," ",T([U.a4,U.gN,U.eL]));case 1:return j(N," ",T([U.a4,U.gN,U.e2]));case 2:return j(N," ",T([U.a4,U.gN,U.gh]));case 3:return j(N," ",T([U.a4,U.gN,U.gg]));case 4:return j(N," ",T([U.a4,U.gN,U.fS]));default:return j(N," ",T([U.a4,U.gN,U.e1]))}}())]),T([function(){switch(r.$){case 3:return kh("");case 2:return Qg(r.a);case 0:return(0,r.a)(2);default:return j(r.a.fN,vg,2)}}()]))}),e3=y(function(n,r,t){var e=j(t3,n,r);switch(t.$){case 0:return 5===n?{$:1,a:T([e])}:{$:2,a:T([e])};case 1:var u=t.a;return 5===n?{$:1,a:j(B,e,u)}:j(r3,u,T([e]));case 2:var a=t.a;return 5===n?j(r3,T([e]),a):{$:2,a:j(B,e,a)};default:u=t.a,a=t.b;return 5===n?j(r3,j(B,e,u),a):j(r3,u,j(B,e,a))}}),u3=_(function(n,r){return{$:2,a:n,b:r}}),a3=_(function(n,r){switch(r.$){case 0:return{$:1,a:n};case 1:return j(u3,r.a,n);default:return j(u3,r.a,r.b)}}),c3=_(function(n,r){return j(Yr,function(n){return Ur.test(n)?"data-"+n:n}(n),qr(r))}),i3=i(function(n,r,t,e){return{$:2,a:n,b:r,c:t,d:e}}),o3=_(function(n,r){switch(n.$){case 0:switch(r.$){case 0:return{$:1,a:{a:t=r.a,b:0,c:0}};case 1:return{$:1,a:{a:0,b:e=r.a,c:0}};case 2:return{$:1,a:{a:0,b:0,c:u=r.a}};case 3:return{$:1,a:r.a};case 4:return x(i3,{a:0,b:0,c:0},{a:1,b:1,c:1},r.a,o=r.b);default:return x(i3,{a:0,b:0,c:0},r.a,{a:0,b:0,c:1},0)}case 1:var t=(a=n.a).a,e=a.b,u=a.c;switch(r.$){case 0:return{$:1,a:{a:r.a,b:e,c:u}};case 1:return{$:1,a:{a:t,b:r.a,c:u}};case 2:return{$:1,a:{a:t,b:e,c:r.a}};case 3:return{$:1,a:r.a};case 4:return x(i3,a,{a:1,b:1,c:1},r.a,o=r.b);default:return x(i3,a,r.a,{a:0,b:0,c:1},0)}default:var a,t=(a=n.a).a,e=a.b,u=a.c,c=n.b,i=n.c,o=n.d;switch(r.$){case 0:return x(i3,{a:r.a,b:e,c:u},c,i,o);case 1:return x(i3,{a:t,b:r.a,c:u},c,i,o);case 2:return x(i3,{a:t,b:e,c:r.a},c,i,o);case 3:return x(i3,r.a,c,i,o);case 4:return x(i3,a,c,r.a,r.b);default:return x(i3,a,r.a,i,o)}}}),f3=G2(7),b3=G2(36),s3=_(function(n,r){return j(Xh,n.a|r.a,n.b|r.b)}),l3=j(Xh,0,0),d3=G2(38),v3=G2(27),g3=_(function(n,r){if(L(n,v3)){if(3!==r.$)return!1;switch(r.c){case"0px":case"1px":case"2px":case"3px":case"4px":case"5px":case"6px":return!0;default:return!1}}else switch(r.$){case 2:var t=r.a;return 8<=t&&t<=32;case 7:var t=r.b,e=r.c,u=r.e;return L(t,r.d)&&L(t,e)&&L(t,u)&&0<=t&&t<=24;default:return!1}}),h3=G2(6),$3=G2(30),p3=G2(29),m3=w(function(n,r,t,e,u,a,c,i){for(;;){var o;if(!i.b)return 1===(o=X2(e)).$?{ah:j(B,eg(n),a),aD:c,aI:t,aK:r,gY:u}:{ah:j(B,eg(n+" "+o.a),a),aD:c,aI:t,aK:r,gY:j(B,{$:10,a:e},u)};var f=i.a,b=i.b;switch(f.$){case 0:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 3:var s=f.a,l=f.b;if(j(Rh,s,t)){n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}n=h=l+" "+n,r=$=r,t=p=j(n3,s,t),e=m=e,u=w=u,a=a,c=c,i=b;continue;case 1:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=j(B,f.a,a),c=c,i=b;continue;case 4:s=f.a,l=f.b;if(j(Rh,s,t)){n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}if(j(g3,s,l)){n=h=n5(l)+" "+n,r=$=r,t=p=j(n3,s,t),e=m=e,u=w=u,a=a,c=c,i=b;continue}n=h=n5(l)+" "+n,r=$=r,t=p=j(n3,s,t),e=m=e,u=w=j(B,l,u),a=a,c=c,i=b;continue;case 10:var s=f.a,d=f.b;n=h=n,r=$=r,t=p=j(n3,s,t),e=m=j(o3,e,d),u=w=u,a=a,c=c,i=b;continue;case 7:var v=f.a;if(j(Rh,h3,t)){n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}switch(v.$){case 0:var g=v.a,h=U.eG+(" width-px-"+I(g))+" "+n,$=r,p=j(n3,h3,t),m=e,w=j(B,z(Fh,"width-px-"+I(g),"width",I(g)+"px"),u);n=h,r=$,t=p,e=m,u=w,a=a,c=c,i=b;continue;case 1:n=h=n+" "+U.c9,r=$=r,t=p=j(n3,d3,j(n3,h3,t)),e=m=e,u=w=u,a=a,c=c,i=b;continue;case 2:if(1===(L=v.a)){n=h=n+" "+U.da,r=$=r,t=p=j(n3,Vh,j(n3,h3,t)),e=m=e,u=w=u,a=a,c=c,i=b;continue}h=n+(" "+U.eH+(" width-fill-"+I(L))),$=r,p=j(n3,Vh,j(n3,h3,t)),m=e,w=j(B,z(Fh,U.eY+("."+U.eh+(" > "+R("width-fill-"+I(L)))),"flex-grow",I(1e5*L)),u);n=h,r=$,t=p,e=m,u=w,a=a,c=c,i=b;continue;default:var k=Xg(v),_=k.a,y=k.b,x=k.c,h=n+" "+y,$=r,p=j(s3,_,j(n3,h3,t)),m=e,w=O(x,u);n=h,r=$,t=p,e=m,u=w,a=a,c=c,i=b;continue}case 8:var L,C=f.a;if(j(Rh,f3,t)){n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}switch(C.$){case 0:var M=I(g=C.a)+"px",T="height-px-"+M;n=h=U.dC+" "+T+" "+n,r=$=r,t=p=j(n3,f3,t),e=m=e,u=w=j(B,z(Fh,T,"height ",M),u),a=a,c=c,i=b;continue;case 1:n=h=U.cm+" "+n,r=$=r,t=p=j(n3,b3,j(n3,f3,t)),e=m=e,u=w=u,a=a,c=c,i=b;continue;case 2:if(1===(L=C.a)){n=h=U.cn+" "+n,r=$=r,t=p=j(n3,Hh,j(n3,f3,t)),e=m=e,u=w=u,a=a,c=c,i=b;continue}h=n+(" "+U.dD+(" height-fill-"+I(L))),$=r,p=j(n3,Hh,j(n3,f3,t)),m=e,w=j(B,z(Fh,U.eY+("."+U.al+(" > "+R("height-fill-"+I(L)))),"flex-grow",I(1e5*L)),u);n=h,r=$,t=p,e=m,u=w,a=a,c=c,i=b;continue;default:var T=Fg(C),_=T.a,y=T.b,x=T.c,h=n+" "+y,$=r,p=j(s3,_,j(n3,f3,t)),m=e,w=O(x,u);n=h,r=$,t=p,e=m,u=w,a=a,c=c,i=b;continue}case 2:var A=f.a;switch(A.$){case 0:n=h=n,r=$=j(a3,"main",r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 1:n=h=n,r=$=j(a3,"nav",r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 2:n=h=n,r=$=j(a3,"footer",r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 3:n=h=n,r=$=j(a3,"aside",r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 4:var E=A.a;if(1<E){if(E<7){n=h=n,r=$=j(a3,"h"+I(E),r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}n=h=n,r=$=j(a3,"h6",r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}n=h=n,r=$=j(a3,"h1",r),t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 9:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue;case 8:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=j(B,j(c3,"role","button"),a),c=c,i=b;continue;case 5:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=j(B,j(c3,"aria-label",A.a),a),c=c,i=b;continue;case 6:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=j(B,j(c3,"aria-live","polite"),a),c=c,i=b;continue;default:n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=j(B,j(c3,"aria-live","assertive"),a),c=c,i=b;continue}case 9:var d=f.a,N=f.b,x=function(){switch(N.$){case 3:return u;case 2:return u;case 0:return u;default:return O(u,N.a.gY)}}();n=h=n,r=$=r,t=p=t,e=m=e,u=w=x,a=a,c=z(e3,d,N,c),i=b;continue;case 6:var P=f.a;if(j(Rh,$3,t)){n=h=n,r=$=r,t=p=t,e=m=e,u=w=u,a=a,c=c,i=b;continue}n=h=function(n){switch(n){case 0:return U.b2+" "+U.dg;case 2:return U.b2+" "+U.dh;default:return U.b2+" "+U.eP}}(P)+" "+n,r=$=r,t=p=function(n){switch(P){case 1:return j(n3,mg,n);case 2:return j(n3,pg,n);default:return n}}(j(n3,$3,t)),e=m=e,u=w=u,a=a,c=c,i=b;continue;default:var S=f.a;i=(c=(a=(u=w=(e=m=(t=p=j(Rh,p3,t)?(n=h=n,r=$=r,t):(n=h=function(n){switch(n){case 0:return U.b3+" "+U.eV;case 2:return U.b3+" "+U.eO;default:return U.b3+" "+U.eQ}}(S)+" "+n,r=$=r,function(n){switch(S){case 1:return j(n3,wg,n);case 2:return j(n3,$g,n);default:return n}}(j(n3,p3,t))),e),u),a),c),b)}}}),w3={$:0},k3=w3,_3=i(function(n,r,t,e){return z(Wh,n,e,K(m3,function(n){switch(n){case 0:return lg;case 1:return og;case 2:return dg;case 3:return fg;case 4:return sg;default:return bg}}(n),r,l3,k3,M,M,ig,Tu(t)))}),y3={e$:E,e7:E,gM:A({e4:0,dp:x(Fv,155/255,203/255,1,1),ge:{a:0,b:0},ep:3})},x3=_(function(n,r){switch(r.$){case 0:return(0,r.a)(2);case 1:return j(r.a.fN,n(r.a.gY),2);case 2:return Qg(r.a);default:return Qg("")}}),L3=y(function(n,r,t){n=function(n){var r;return{fE:1===(r=(n=z(va,_(function(n,r){switch(n.$){case 0:return 1===r.fM.$?C(r,{fM:A(n.a)}):r;case 1:return 1===r.fE.$?C(r,{fE:A(n.a)}):r;default:return 1===r.aJ.$?C(r,{aJ:A(n.a)}):r}}),{fE:E,fM:E,aJ:E},n)).fE).$?y3:r.a,fM:1===(r=n.fM).$?1:r.a,aJ:1===(r=n.aJ).$?0:r.a}}(n),n=(1===n.aJ?ug:ag)(n);return j(x3,n,x(_3,2,cg,r,{$:0,a:T([t])}))}),fr=_(function(n,r){return{$:1,a:n,b:r}}),On={$:1},C3=G2(14),_n=G2(5),M3=G2(4),T3=function(n){return n.toLowerCase()},A3=function(n){return T(n.trim().split(/\s+/g))},Hn=_(function(r,n){return O(n,function(){switch(r.$){case 0:return"serif";case 1:return"sans-serif";case 2:return"monospace";case 3:return j(N,"-",A3(T3(n=r.a)));case 4:var n=r.a;return j(N,"-",A3(T3(n)));default:return j(N,"-",A3(T3(n=r.a.gc)))}}())}),E3=($n=T([{$:3,a:"Open Sans"},{$:3,a:"Helvetica"},{$:3,a:"Verdana"},On]),T([j(Vv,Jv,z(Kv,"bg-"+Qv(x(Fv,1,1,1,0)),"background-color",x(Fv,1,1,1,0))),j(Vv,C3,z(Kv,"fc-"+Qv(x(Fv,0,0,0,1)),"color",x(Fv,0,0,0,1))),j(Vv,M3,{$:2,a:20}),j(Vv,_n,j(fr,z(P,Hn,"font-",$n),$n))])),N3=y(function(n,r,t){return z(L3,n.gp,j(B,W2(j(N," ",T([U.gE,U.eY,U.gN]))),O(E3,r)),t)})({gp:M}),P3={$:6,a:2},S3=G1,j3=kn,z3=B0,O3=db,n=Yr("d"),fn=Pr("http://www.w3.org/2000/svg"),B3=fn("g"),I3=Yr("height"),t=fn("path"),r=Yr("style"),Y3=fn("svg"),In=Yr("transform"),Un=Yr("version"),Gn=Yr("viewBox"),H3=Yr("width"),U3=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("opacity:1; fill:none; fill-rule:evenodd; fill-opacity:1; stroke:#000000; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;"),In("translate(0,0.6)")]),T([j(B3,T([r("fill:#000000; stroke:#000000; stroke-linecap:butt;")]),T([j(t,T([n("M 9,36 C 12.39,35.03 19.11,36.43 22.5,34 C 25.89,36.43 32.61,35.03 36,36 C 36,36 37.65,36.54 39,38 C 38.32,38.97 37.35,38.99 36,38.5 C 32.61,37.53 25.89,38.96 22.5,37.5 C 19.11,38.96 12.39,37.53 9,38.5 C 7.65,38.99 6.68,38.97 6,38 C 7.35,36.54 9,36 9,36 z")]),M),j(t,T([n("M 15,32 C 17.5,34.5 27.5,34.5 30,32 C 30.5,30.5 30,30 30,30 C 30,27.5 27.5,26 27.5,26 C 33,24.5 33.5,14.5 22.5,10.5 C 11.5,14.5 12,24.5 17.5,26 C 17.5,26 15,27.5 15,30 C 15,30 14.5,30.5 15,32 z")]),M),j(t,T([n("M 25 8 A 2.5 2.5 0 1 1 20,8 A 2.5 2.5 0 1 1 25 8 z")]),M)])),j(t,T([n("M 17.5,26 L 27.5,26 M 15,30 L 30,30 M 22.5,15.5 L 22.5,20.5 M 20,18 L 25,18"),r("fill:none; stroke:#ffffff; stroke-linejoin:miter;")]),M)]))])),R3=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("opacity:1; fill:none; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;"),In("translate(0,0.3)")]),T([j(t,T([n("M 22,10 C 32.5,11 38.5,18 38,39 L 15,39 C 15,30 25,32.5 23,18"),r("fill:#000000; stroke:#000000;")]),M),j(t,T([n("M 24,18 C 24.38,20.91 18.45,25.37 16,27 C 13,29 13.18,31.34 11,31 C 9.958,30.06 12.41,27.96 11,28 C 10,28 11.19,29.23 10,30 C 9,30 5.997,31 6,26 C 6,24 12,14 12,14 C 12,14 13.89,12.1 14,10.5 C 13.27,9.506 13.5,8.5 13.5,7.5 C 14.5,6.5 16.5,10 16.5,10 L 18.5,10 C 18.5,10 19.28,8.008 21,7 C 22,7 22,10 22,10"),r("fill:#000000; stroke:#000000;")]),M),j(t,T([n("M 9.5 25.5 A 0.5 0.5 0 1 1 8.5,25.5 A 0.5 0.5 0 1 1 9.5 25.5 z"),r("fill:#ffffff; stroke:#ffffff;")]),M),j(t,T([n("M 15 15.5 A 0.5 1.5 0 1 1 14,15.5 A 0.5 1.5 0 1 1 15 15.5 z"),In("matrix(0.866,0.5,-0.5,0.866,9.693,-5.173)"),r("fill:#ffffff; stroke:#ffffff;")]),M),j(t,T([n("M 24.55,10.4 L 24.1,11.85 L 24.6,12 C 27.75,13 30.25,14.49 32.5,18.75 C 34.75,23.01 35.75,29.06 35.25,39 L 35.2,39.5 L 37.45,39.5 L 37.5,39 C 38,28.94 36.62,22.15 34.25,17.66 C 31.88,13.17 28.46,11.02 25.06,10.5 L 24.55,10.4 z "),r("fill:#ffffff; stroke:none;")]),M)]))])),D3=w1,Yn=Yr("id"),q3=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("fill:none; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;")]),T([j(t,T([n("M 22.5,11.63 L 22.5,6"),r("fill:none; stroke:#000000; stroke-linejoin:miter;"),Yn("path6570")]),M),j(t,T([n("M 22.5,25 C 22.5,25 27,17.5 25.5,14.5 C 25.5,14.5 24.5,12 22.5,12 C 20.5,12 19.5,14.5 19.5,14.5 C 18,17.5 22.5,25 22.5,25"),r("fill:#000000;fill-opacity:1; stroke-linecap:butt; stroke-linejoin:miter;")]),M),j(t,T([n("M 12.5,37 C 18,40.5 27,40.5 32.5,37 L 32.5,30 C 32.5,30 41.5,25.5 38.5,19.5 C 34.5,13 25,16 22.5,23.5 L 22.5,27 L 22.5,23.5 C 20,16 10.5,13 6.5,19.5 C 3.5,25.5 12.5,30 12.5,30 L 12.5,37"),r("fill:#000000; stroke:#000000;")]),M),j(t,T([n("M 20,8 L 25,8"),r("fill:none; stroke:#000000; stroke-linejoin:miter;")]),M),j(t,T([n("M 32,29.5 C 32,29.5 40.5,25.5 38.03,19.85 C 34.15,14 25,18 22.5,24.5 L 22.5,26.6 L 22.5,24.5 C 20,18 10.85,14 6.97,19.85 C 4.5,25.5 13,29.5 13,29.5"),r("fill:none; stroke:#ffffff;")]),M),j(t,T([n("M 12.5,30 C 18,27 27,27 32.5,30 M 12.5,33.5 C 18,30.5 27,30.5 32.5,33.5 M 12.5,37 C 18,34 27,34 32.5,37"),r("fill:none; stroke:#ffffff;")]),M)]))])),K3=vb,V3=_1,J3=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(t,T([n("m 22.5,9 c -2.21,0 -4,1.79 -4,4 0,0.89 0.29,1.71 0.78,2.38 C 17.33,16.5 16,18.59 16,21 c 0,2.03 0.94,3.84 2.41,5.03 C 15.41,27.09 11,31.58 11,39.5 H 34 C 34,31.58 29.59,27.09 26.59,26.03 28.06,24.84 29,23.03 29,21 29,18.59 27.67,16.5 25.72,15.38 26.21,14.71 26.5,13.89 26.5,13 c 0,-2.21 -1.79,-4 -4,-4 z"),r("opacity:1; fill:#000000; fill-opacity:1; fill-rule:nonzero; stroke:#000000; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;")]),M)])),G3=gb,bn=fn("circle"),dn=Yr("cx"),ln=Yr("cy"),G=Yr("r"),Z3=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("fill:#000000;stroke:#000000;stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round")]),T([j(t,T([n("M 9,26 C 17.5,24.5 30,24.5 36,26 L 38.5,13.5 L 31,25 L 30.7,10.9 L 25.5,24.5 L 22.5,10 L 19.5,24.5 L 14.3,10.9 L 14,25 L 6.5,13.5 L 9,26 z"),r("stroke-linecap:butt;fill:#000000")]),M),j(t,T([n("m 9,26 c 0,2 1.5,2 2.5,4 1,1.5 1,1 0.5,3.5 -1.5,1 -1,2.5 -1,2.5 -1.5,1.5 0,2.5 0,2.5 6.5,1 16.5,1 23,0 0,0 1.5,-1 0,-2.5 0,0 0.5,-1.5 -1,-2.5 -0.5,-2.5 -0.5,-2 0.5,-3.5 1,-2 2.5,-2 2.5,-4 -8.5,-1.5 -18.5,-1.5 -27,0 z")]),M),j(t,T([n("M 11.5,30 C 15,29 30,29 33.5,30")]),M),j(t,T([n("m 12,33.5 c 6,-1 15,-1 21,0")]),M),j(bn,T([dn("6"),ln("12"),G("2")]),M),j(bn,T([dn("14"),ln("9"),G("2")]),M),j(bn,T([dn("22.5"),ln("8"),G("2")]),M),j(bn,T([dn("31"),ln("9"),G("2")]),M),j(bn,T([dn("39"),ln("12"),G("2")]),M),j(t,T([n("M 11,38.5 A 35,35 1 0 0 34,38.5"),r("fill:none; stroke:#000000;stroke-linecap:butt;")]),M),j(B3,T([r("fill:none; stroke:#ffffff;")]),T([j(t,T([n("M 11,29 A 35,35 1 0 1 34,29")]),M),j(t,T([n("M 12.5,31.5 L 32.5,31.5")]),M),j(t,T([n("M 11.5,34.5 A 35,35 1 0 0 33.5,34.5")]),M),j(t,T([n("M 10.5,37.5 A 35,35 1 0 0 34.5,37.5")]),M)]))]))])),Q3=hb,W3=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("opacity:1; fill:#000000; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;"),In("translate(0,0.3)")]),T([j(t,T([n("M 9,39 L 36,39 L 36,36 L 9,36 L 9,39 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 12.5,32 L 14,29.5 L 31,29.5 L 32.5,32 L 12.5,32 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 12,36 L 12,32 L 33,32 L 33,36 L 12,36 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 14,29.5 L 14,16.5 L 31,16.5 L 31,29.5 L 14,29.5 z "),r("stroke-linecap:butt;stroke-linejoin:miter;")]),M),j(t,T([n("M 14,16.5 L 11,14 L 34,14 L 31,16.5 L 14,16.5 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 11,14 L 11,9 L 15,9 L 15,11 L 20,11 L 20,9 L 25,9 L 25,11 L 30,11 L 30,9 L 34,9 L 34,14 L 11,14 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 12,35.5 L 33,35.5 L 33,35.5"),r("fill:none; stroke:#ffffff; stroke-width:1; stroke-linejoin:miter;")]),M),j(t,T([n("M 13,31.5 L 32,31.5"),r("fill:none; stroke:#ffffff; stroke-width:1; stroke-linejoin:miter;")]),M),j(t,T([n("M 14,29.5 L 31,29.5"),r("fill:none; stroke:#ffffff; stroke-width:1; stroke-linejoin:miter;")]),M),j(t,T([n("M 14,16.5 L 31,16.5"),r("fill:none; stroke:#ffffff; stroke-width:1; stroke-linejoin:miter;")]),M),j(t,T([n("M 11,14 L 34,14"),r("fill:none; stroke:#ffffff; stroke-width:1; stroke-linejoin:miter;")]),M)]))])),F3=j(qa,F2,xa),X3=F3,n$=Ab,r$=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("opacity:1; fill:none; fill-rule:evenodd; fill-opacity:1; stroke:#000000; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;"),In("translate(0,0.6)")]),T([j(B3,T([r("fill:#ffffff; stroke:#000000; stroke-linecap:butt;")]),T([j(t,T([n("M 9,36 C 12.39,35.03 19.11,36.43 22.5,34 C 25.89,36.43 32.61,35.03 36,36 C 36,36 37.65,36.54 39,38 C 38.32,38.97 37.35,38.99 36,38.5 C 32.61,37.53 25.89,38.96 22.5,37.5 C 19.11,38.96 12.39,37.53 9,38.5 C 7.65,38.99 6.68,38.97 6,38 C 7.35,36.54 9,36 9,36 z")]),M),j(t,T([n("M 15,32 C 17.5,34.5 27.5,34.5 30,32 C 30.5,30.5 30,30 30,30 C 30,27.5 27.5,26 27.5,26 C 33,24.5 33.5,14.5 22.5,10.5 C 11.5,14.5 12,24.5 17.5,26 C 17.5,26 15,27.5 15,30 C 15,30 14.5,30.5 15,32 z")]),M),j(t,T([n("M 25 8 A 2.5 2.5 0 1 1 20,8 A 2.5 2.5 0 1 1 25 8 z")]),M)])),j(t,T([n("M 17.5,26 L 27.5,26 M 15,30 L 30,30 M 22.5,15.5 L 22.5,20.5 M 20,18 L 25,18"),r("fill:none; stroke:#000000; stroke-linejoin:miter;")]),M)]))])),t$=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("opacity:1; fill:none; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;"),In("translate(0,0.3)")]),T([j(t,T([n("M 22,10 C 32.5,11 38.5,18 38,39 L 15,39 C 15,30 25,32.5 23,18"),r("fill:#ffffff; stroke:#000000;")]),M),j(t,T([n("M 24,18 C 24.38,20.91 18.45,25.37 16,27 C 13,29 13.18,31.34 11,31 C 9.958,30.06 12.41,27.96 11,28 C 10,28 11.19,29.23 10,30 C 9,30 5.997,31 6,26 C 6,24 12,14 12,14 C 12,14 13.89,12.1 14,10.5 C 13.27,9.506 13.5,8.5 13.5,7.5 C 14.5,6.5 16.5,10 16.5,10 L 18.5,10 C 18.5,10 19.28,8.008 21,7 C 22,7 22,10 22,10"),r("fill:#ffffff; stroke:#000000;")]),M),j(t,T([n("M 9.5 25.5 A 0.5 0.5 0 1 1 8.5,25.5 A 0.5 0.5 0 1 1 9.5 25.5 z"),r("fill:#000000; stroke:#000000;")]),M),j(t,T([n("M 15 15.5 A 0.5 1.5 0 1 1 14,15.5 A 0.5 1.5 0 1 1 15 15.5 z"),In("matrix(0.866,0.5,-0.5,0.866,9.693,-5.173)"),r("fill:#000000; stroke:#000000;")]),M)]))])),e$=l0,u$=Yr("fill"),An=Yr("fill-rule"),Rn=Yr("stroke"),tn=Yr("stroke-linecap"),Vn=Yr("stroke-linejoin"),ht=Yr("stroke-width"),a$=j(Y3,T([Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([u$("none"),An("evenodd"),Rn("#000"),tn("round"),Vn("round"),ht("1.5")]),T([j(t,T([Vn("miter"),n("M22.5 11.63V6M20 8h5")]),M),j(t,T([u$("#fff"),tn("butt"),Vn("miter"),n("M22.5 25s4.5-7.5 3-10.5c0 0-1-2.5-3-2.5s-3 2.5-3 2.5c-1.5 3 3 10.5 3 10.5")]),M),j(t,T([u$("#fff"),n("M12.5 37c5.5 3.5 14.5 3.5 20 0v-7s9-4.5 6-10.5c-4-6.5-13.5-3.5-16 4V27v-3.5c-2.5-7.5-12-10.5-16-4-3 6 6 10.5 6 10.5v7")]),M),j(t,T([n("M12.5 30c5.5-3 14.5-3 20 0m-20 3.5c5.5-3 14.5-3 20 0m-20 3.5c5.5-3 14.5-3 20 0")]),M)]))])),c$=Eb,i$=d0,o$=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(t,T([n("m 22.5,9 c -2.21,0 -4,1.79 -4,4 0,0.89 0.29,1.71 0.78,2.38 C 17.33,16.5 16,18.59 16,21 c 0,2.03 0.94,3.84 2.41,5.03 C 15.41,27.09 11,31.58 11,39.5 H 34 C 34,31.58 29.59,27.09 26.59,26.03 28.06,24.84 29,23.03 29,21 29,18.59 27.67,16.5 25.72,15.38 26.21,14.71 26.5,13.89 26.5,13 c 0,-2.21 -1.79,-4 -4,-4 z"),r("opacity:1; fill:#ffffff; fill-opacity:1; fill-rule:nonzero; stroke:#000000; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;")]),M)])),f$=Nb,b$=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("fill:#ffffff;stroke:#000000;stroke-width:1.5;stroke-linejoin:round")]),T([j(t,T([n("M 9,26 C 17.5,24.5 30,24.5 36,26 L 38.5,13.5 L 31,25 L 30.7,10.9 L 25.5,24.5 L 22.5,10 L 19.5,24.5 L 14.3,10.9 L 14,25 L 6.5,13.5 L 9,26 z")]),M),j(t,T([n("M 9,26 C 9,28 10.5,28 11.5,30 C 12.5,31.5 12.5,31 12,33.5 C 10.5,34.5 11,36 11,36 C 9.5,37.5 11,38.5 11,38.5 C 17.5,39.5 27.5,39.5 34,38.5 C 34,38.5 35.5,37.5 34,36 C 34,36 34.5,34.5 33,33.5 C 32.5,31 32.5,31.5 33.5,30 C 34.5,28 36,28 36,26 C 27.5,24.5 17.5,24.5 9,26 z")]),M),j(t,T([n("M 11.5,30 C 15,29 30,29 33.5,30"),r("fill:none")]),M),j(t,T([n("M 12,33.5 C 18,32.5 27,32.5 33,33.5"),r("fill:none")]),M),j(bn,T([dn("6"),ln("12"),G("2")]),M),j(bn,T([dn("14"),ln("9"),G("2")]),M),j(bn,T([dn("22.5"),ln("8"),G("2")]),M),j(bn,T([dn("31"),ln("9"),G("2")]),M),j(bn,T([dn("39"),ln("12"),G("2")]),M)]))])),s$=j(Y3,T([Un("1.1"),Gn("0 0 45 45"),H3("100%"),I3("100%")]),T([j(B3,T([r("opacity:1; fill:#ffffff; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;"),In("translate(0,0.3)")]),T([j(t,T([n("M 9,39 L 36,39 L 36,36 L 9,36 L 9,39 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 12,36 L 12,32 L 33,32 L 33,36 L 12,36 z "),r("stroke-linecap:butt;")]),M),j(t,T([n("M 11,14 L 11,9 L 15,9 L 15,11 L 20,11 L 20,9 L 25,9 L 25,11 L 30,11 L 30,9 L 34,9 L 34,14"),r("stroke-linecap:butt;")]),M),j(t,T([n("M 34,14 L 31,17 L 14,17 L 11,14")]),M),j(t,T([n("M 31,17 L 31,29.5 L 14,29.5 L 14,17"),r("stroke-linecap:butt; stroke-linejoin:miter;")]),M),j(t,T([n("M 31,29.5 L 32.5,32 L 12.5,32 L 14,29.5")]),M),j(t,T([n("M 11,14 L 34,14"),r("fill:none; stroke:#000000; stroke-linejoin:miter;")]),M)]))])),l$=nh,d$={$:1},v$=rh,g$=_(function(n,r){return x(_3,1,cg,j(B,W2(U.fl+" "+U.bg),j(B,l$(d$),j(B,v$(d$),n))),{$:0,a:r})}),h$=_(function(n,r){return x(_3,2,cg,j(B,v$(d$),j(B,l$(d$),n)),{$:0,a:T([r])})}),$$=_(function(n,r){return ho(E1(r))-E1(n)}),p$=_(function(n,r){return j($$,Mo(r),Mo(n))}),m$={$:2,a:1},w$=Ao,k$=Q2,_$=P1,y$={$:3},x$=y$,L$=i(function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}}),C$=y(function(n,r,t){return x(L$,n/255,r/255,t/255,1)}),M$=z(C$,66,127,240),T$=z(C$,94,164,147),A$=z(C$,242,239,234),E$=z(C$,210,208,36),N$=Or,P$=_(function(n,r){return j(N$,n,{$:0,a:r})}),S$=j(qa,Q2,function(n){return j(P$,"click",ta(n))}),j$=_(function(n,r){n=j(o0,n,r);return L(n,D1)||L(n,B1)?E:A(n)}),z$=_(function(n,r){return ho(N1(r))-N1(n)}),O$=_(function(n,r){return j(z$,Oo(r),Oo(n))}),B$=_(function(n,r){return x(_3,0,cg,j(B,W2(U.bg+" "+U.am),j(B,v$(d$),j(B,l$(d$),n))),{$:0,a:r})}),I$=Br,Y$=i(function(e,u,a,n){return j(h$,T([k$(j(I$,"aspect-ratio","1 / 1"))]),j(B$,T([v$(m$),l$(m$)]),j(S,g$(T([v$(m$),l$(m$)])),(n?S(Tu):Tu)(j(S,function(t){return j(S,function(n){var n=j(_$,t,n),r=j(yc,n,u)?ng(M$):L(j(Y,w$,a),A(n))||L(j(Y,cv,a),A(n))?ng(E$):ng(j(C1,2,j(p$,S3,n)+j(O$,S3,n))?T$:A$);return j(h$,T([l$(m$),v$(m$),r,S$({$:4,a:{$:1,a:n}})]),1===(r=j(j$,n,e)).$?x$:function(n){return X3(L(n,O3)?U3:L(n,D3)?q3:L(n,K3)?R3:L(n,V3)?J3:L(n,G3)?Z3:L(n,Q3)?W3:L(n,n$)?r$:L(n,e$)?a$:L(n,c$)?t$:L(n,i$)?o$:L(n,f$)?b$:s$)}(r.a))},z3)},j3)))))}),H$={$:9},U$={$:3},R$={$:2},sn=u$,nn=i(function(n,r,t,e){var u,t=I(t);return j(Y3,O(n,T([I3(t),H3(t)])),T([j(B3,T([u$(e.$?"currentColor":(t=(n=e.a).b,e=n.c,u=n.d,c5(T(["rgba(",Eg(a(n.a)),"%,",Eg(a(t)),"%,",Eg(a(e)),"%,",Eg(Gv(1e3*u)/1e3),")"]))))]),r)]));function a(n){return Gv(1e4*n)/100}}),Dn=t,pt=Gn,D$=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z")]),M)])),q$=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z")]),M)])),K$=_(function(n,r){return C(r,{cc:n(r.cc)})}),V$=_(function(r,n){return j(K$,function(n){return O(n,r)},n)}),J$={$:8},_r=_(function(n,r){return j(Ir,n,yi(r))}),G$=_r("disabled"),Z$={$:0},Q$=_(function(n,r){return j(N$,n,{$:2,a:r})}),W$=_(function(n,r){return{$:3,a:n,b:r}}),F$=G2(21),X$=j(W$,F$,U.fn),np=_(function(n,r){var t,e,u=r.u,r=r.bm;return x(_3,2,cg,j(B,v$(d$),j(B,l$(d$),j(B,W2(U.bN+" "+U.am+" "+U.gK+" "+U.dX),j(B,X$,j(B,function(n){return j(_c,eh,n)?Z$:{$:1,a:eg("focusable")}}(n),j(B,{$:2,a:J$},j(B,{$:1,a:j(Yr,"tabIndex",I(0))},1===u.$?j(B,{$:1,a:G$(!0)},n):j(B,S$(t=u.a),j(B,(e=function(n){return L(n,"Enter")||L(n," ")?A(t):E},{$:1,a:j(Q$,"keydown",j(na,function(n){return{a:n,b:!0}},j(Gc,function(n){n=e(n);return 1===n.$?Zc("No key matched"):ta(n.a)},j(a,"key",c))))}),n))))))))),{$:0,a:T([r])})}),rp=j(qa,th,uh),tp=_(function(n,r){var t=r.a,r=r.b;return j(np,O(n.cc,O(L(r.u,E)?n.bl:t?n.fO:n.br,T([rp(r.g)]))),{bm:j(B$,n.bf.cd,T([r.H(L(r.u,E)?n.bf.bf.H.bl:t?n.bf.bf.H.fO:n.bf.bf.H.br),j(h$,n.bf.bf.g.fk,{$:2,a:r.g})])),u:r.u})}),ep=_(function(r,t){return j(Lu,function(n){return tp(j(V$,O(r._,1===ku(t)?r.ad:n?L(n,ku(t)-1)?r.ac:r.br:r.ab),r.bf))},t)}),up=G2(17),ap=function(n){var r=n.b_,t=n.b$,e=n.bF,n=n.bG;return j(Vv,up,z(Fh,"br-"+I(r)+("-"+I(t)+(I(e)+("-"+I(n)))),"border-radius",I(r)+("px "+I(t)+("px "+I(n)+("px "+I(e))))+"px"))},cp=function(n){return j(Vv,up,z(Fh,"br-"+I(n),"border-radius",I(n)+"px"))},Jn={bf:{_:M,ab:T([ap({bF:2,bG:0,b_:2,b$:0})]),ac:T([ap({bF:0,bG:2,b_:0,b$:2})]),ad:T([cp(2)]),br:T([cp(0)])},cd:M},ip=Jn,op=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z")]),M)])),fp=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z")]),M)])),bp=_(function(r,t){return function(n){return j(h$,M,X3(j(t,n.ep,r(n.dp))))}})(function(n){return{$:0,a:n}}),sp=function(n){return!n.L},lp=G2(16),Mn=G2(13),We=j(W$,Mn,U.hb),dp=T([k$(j(I$,"text-transform","uppercase")),oh(14),We,ih(1.25)]),vp={$:5,a:1},gp=pn,hp=y(function(n,r,t){return Q(t,n)<0?n:0<Q(t,r)?r:t}),$p=y(function(n,r,t){return x(L$,n,r,t,1)}),pp=mn,mp=j(p,function(n){var r=n.ae,t=n.be,n=n.bj;return{dc:t*gp(n),dj:t*pp(n),ae:r}},j(p,fh,function(n){function r(n){return z(hp,0,1,.0031308<n?1.055*j(Kf,n,1/2.4)-.055:12.92*n)}var t=n.bB/100,e=n.eJ/100,n=n.eI/100,u=-.969266*n+1.8760108*e+.041556*t,a=.0556434*n+-.2040259*e+1.0572252*t;return z($p,r(3.2404542*n+-1.5371385*e+-.4986*t),r(u),r(a))})),wp=function(n){return x(L$,n.cR,n.ck,n.b6,n.aC)},kp=wn,_p=xn,yp=j(p,j(p,function(n){function r(n){return 100*(.04045<n?j(Kf,(n+.055)/1.055,2.4):n/12.92)}var n=Xv(n),t=n.cR,e=n.ck,n=r(n.b6),e=r(e),t=r(t);return{eI:.4124*t+.3576*e+.1805*n,eJ:.2126*t+.7152*e+.0722*n,bB:.0193*t+.1192*e+.9505*n}},function(n){function r(n){return.008856<n?j(Kf,n,1/3):7.787*n+16/116}var t=n.eJ,e=n.bB,n=r(n.eI/95.047),t=r(t/100);return{dc:500*(n-t),dj:200*(t-r(e/108.883)),ae:116*t-16}}),function(n){var r=n.ae,t=n.dc,n=n.dj;return{be:_p(t*t+n*n),bj:j(kp,n,t),ae:r}}),xp=y(function(n,t,r){var e=_(function(n,r){return{be:n.be*(1-t)+r.be*t,bj:n.bj*(1-t)+r.bj*t,ae:n.ae*(1-t)+r.ae*t}}),u=Xv(r).aC;return wp(C(Xv(mp(j(e,yp(r),yp(n)))),{aC:u}))}),Lp=function(n){return z(xp,n.bW.ay,.5,n.ay)},Cp=_(function(n,r){return{$:3,a:n,b:r}}),Mp=_(function(n,r){return j(Cp,n,r)}),Tp=h(function(n,r,t,e,u){return{$:7,a:n,b:r,c:t,d:e,e:u}}),Ap=G2(2),Ep=_(function(n,r){var t;return L(n,r)?j(Vv,Ap,l(Tp,"p-"+I(t=n),t,t,t,t)):(t=r,j(Vv,Ap,l(Tp,"p-"+I(n=n)+("-"+I(r)),t,n,t,n)))}),Np=function(n){return{$:0,a:n}},Pp=y(function(n,r,t){return{$:5,a:n,b:r,c:t}}),Sp=G2(3),jp=_(function(n,r){return"spacing-"+I(n)+("-"+I(r))}),zp=function(n){return j(Vv,Sp,z(Pp,j(jp,n,n),n,n))},Op=function(n){return{bf:{bf:{H:{fO:{dp:Lp(n),ep:18},bl:{dp:Lp(n),ep:18},br:{dp:Lp(n),ep:18}},g:{fk:T([rg])}},cd:T([zp(8),v$(j(Mp,32,d$)),vp])},cc:O(dp,T([l$(Np(36)),j(Ep,8,8),cp(4)])),fO:M,bl:T([k$(j(I$,"cursor","not-allowed"))]),br:M}},Bp=.24,Ip=.08,Yp=.32,Hp=G2(28),Up=function(n){return j(Vv,Hp,z(Kv,"bc-"+Qv(n),"border-color",n))},Rp=function(n){return j(Vv,C3,z(Kv,"fc-"+Qv(n),"color",n))},Dp=_(function(n,r){return{$:11,a:n,b:r}}),qp=G2(31),Kp=_(function(n,r){return{$:9,a:n,b:r}}),Vp=_(function(n,r){return{$:10,a:n,b:r}}),Jp=zr,Gp=_(function(t,n){switch(n.$){case 1:var e=n.a;return{$:1,a:{fN:_(function(n,r){return j(Jp,t,j(e.fN,n,r))}),gY:e.gY}};case 0:var r=n.a;return{$:0,a:j(qa,Jp(t),r)};case 2:return{$:2,a:n.a};default:return y$}}),Zp=Kr,Qp=_(function(n,r){switch(r.$){case 0:return Z$;case 2:return{$:2,a:r.a};case 6:return{$:6,a:r.a};case 5:return{$:5,a:r.a};case 7:return{$:7,a:r.a};case 8:return{$:8,a:r.a};case 3:return j(W$,r.a,r.b);case 4:return j(Vv,r.a,r.b);case 9:return j(Kp,r.a,j(Gp,n,r.b));case 1:return{$:1,a:j(Zp,n,r.a)};default:return j(Vp,r.a,r.b)}}),Wp=_(function(n,r){var t=r.a,e=r.b,u=j(Qp,sa,n);switch(u.$){case 4:return{a:j(B,u.b,t),b:e};case 10:return{a:t,b:j(o3,e,u.b)};default:return{a:t,b:e}}}),Fp=function(n){n=z(P,Wp,{a:M,b:w3},n);return j(B,{$:10,a:n.b},n.a)},Xp=function(n){return j(Vv,qp,j(Dp,0,Fp(n)))},d=j(p,Xv,Z2),n4=G2(32),r4=function(n){return j(Vv,n4,j(Dp,2,Fp(n)))},t4=G2(33),e4=function(n){return j(Vv,t4,j(Dp,1,Fp(n)))},u4=function(r){return j(p,Xv,j(p,function(n){return C(n,{aC:n.aC*r})},wp))},a4=h(function(n,r,t,e,u){return{$:6,a:n,b:r,c:t,d:e,e:u}}),c4=function(n){return j(Vv,v3,l(a4,"b-"+I(n),n,n,n,n))},i4=function(n){return{bf:{bf:{H:{fO:{dp:n.av,ep:18},bl:{dp:Lp(n),ep:18},br:{dp:n.av,ep:18}},g:{fk:Op(n).bf.bf.g.fk}},cd:O(Op(n).bf.cd,T([j(Ep,8,0)]))},cc:O(Op(n).cc,T([c4(1),Rp(d(n.av)),Up(d(z(xp,n.av,Ip,j(u4,.14,n.bW.ay)))),r4(T([Wv(d(j(u4,Yp,n.av)))])),Xp(T([Wv(d(j(u4,Bp,n.av)))])),e4(T([Wv(d(j(u4,Ip,n.av)))]))])),fO:T([Wv(d(j(u4,Ip,n.av)))]),bl:O(Op(n).bl,T([Rp(d(Lp(n))),r4(M),e4(M),Xp(M)])),br:M}},Fe=x(L$,0,0,0,1),o4=z(C$,176,0,0),un=M$,dt=z(C$,255,138,101),gn=x(L$,1,1,1,1),cn=gn,ru=Fe,f4={ai:gn,ao:o4,bW:{ai:Fe,ao:gn,av:ru,ax:cn,ay:Fe},av:dt,ax:un,ay:gn},tu=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z")]),M)])),nu=Jn,b4=j(B$,T([v$(m$)]),T([j(ah,{bf:i4(f4),cd:nu},T([{a:!1,b:{H:bp(D$),u:A({$:4,a:{$:8}}),g:"Back"}}])),j(h$,T([P3]),j(ah,{bf:i4(f4),cd:nu},T([{a:!1,b:{H:bp(tu),u:A({$:4,a:{$:10}}),g:"Flip board"}}])))])),s4=function(n){function r(n){return.03928<n?j(Kf,(n+.055)/1.055,2.4):n/12.92}n=Xv(n);n={a:r(n.cR),b:r(n.ck),c:r(n.b6)};return.2126*n.a+.7152*n.b+.0722*n.c},l4=function(n){n=1+Xv(n).aC*(s4(n)-1);return Q(1.05/(.05+n),(.05+n)/.05)<0?z(C$,0,0,0):z(C$,255,255,255)},d4={$:5,a:0},v4=function(n){return c5(T([n.dK?"box-inset":"box-",Zv(n.ge.a)+"px",Zv(n.ge.b)+"px",Zv(n.e4)+"px",Zv(n.ep)+"px",Qv(n.dp)]))},g4=G2(19),h4=function(n){n={e4:n.e4,dp:n.dp,dK:!1,ge:n.ge,ep:n.ep};return j(Vv,g4,z(Fh,v4(n),"box-shadow",Pg(n)))},$4=i(function(n,r,t,e){return x(Fv,n/255,r/255,t/255,e)}),p4=function(n){return{e4:n,dp:x($4,0,0,0,.2),ge:{a:0,b:n},ep:0}},m4=function(n){n=bh(n);return O(n.ds,n.bf._)},w4=bh,k4=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z")]),M)])),_4=.38,y4=function(n){return{bf:{bf:{H:{fO:{dp:l4(n.av),ep:18},bl:{dp:Lp(n),ep:18},br:{dp:l4(n.av),ep:18}},g:{fk:Op(n).bf.bf.g.fk}},cd:O(Op(n).bf.cd,T([j(Ep,8,0)]))},cc:O(Op(n).cc,T([h4(p4(2)),r4(T([Wv(d(z(xp,n.bW.av,Yp,n.av))),h4(p4(12))])),Xp(T([Wv(d(z(xp,n.bW.av,Bp,n.av))),h4(p4(6))])),e4(T([Wv(d(z(xp,n.bW.av,Ip,n.av))),h4(p4(6))]))])),fO:T([Wv(d(z(xp,n.bW.av,Ip,n.av))),Rp(d(l4(n.av)))]),bl:O(Op(n).bl,T([Wv(d(j(u4,_4,Lp(n)))),Rp(d(Lp(n))),h4(p4(0)),r4(M),e4(M),Xp(M)])),br:T([Wv(d(n.av)),Rp(d(l4(n.av)))])}},x4={ai:A$,ao:o4,bW:{ai:Fe,ao:gn,av:gn,ax:gn,ay:Fe},av:z(C$,0,84,189),ax:z(C$,199,91,57),ay:A$},L4={ai:z(C$,255,255,255),ao:z(C$,176,0,32),bW:{ai:z(C$,0,0,0),ao:z(C$,255,255,255),av:z(C$,255,255,255),ax:z(C$,0,0,0),ay:z(C$,0,0,0)},av:z(C$,98,0,238),ax:z(C$,3,218,198),ay:z(C$,255,255,255)},C4=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z")]),M)])),M4=j(p,Xv,j(p,Z2,Rp)),T4=_(function(n,r){var t=r.u,e=r.g,r=r.H;return j(np,O(n.cc,O(L(t,E)?n.bl:n.br,T([rp(e)]))),{bm:j(h$,n.bf.cd,r(L(t,E)?n.bf.bf.H.bl:n.bf.bf.H.br)),u:t})}),A4={$:9},E4=_(function(n,r){return x(_3,4,cg,j(B,{$:2,a:A4},j(B,v$(m$),j(B,zp(5),n))),{$:0,a:r})}),N4=_(function(r,t){return function(n){return j(h$,O(n,r._),t(r.bf))}}),P4=_(function(n,r){var t=r.u,e=r.g,u=r.fP,a=r.bf;return j(N4,n,function(n){return j(np,O(n.cc,L(t,E)?n.bl:n.br),{bm:j(B$,n.bf.cd,T([j(h$,n.bf.bf.fP._,u),j(h$,n.bf.bf.g.bi,j(E4,M,Ae({$:2,a:e}))),a(n.bf.bf.bf)])),u:t})})}),S4=function(n){var r=n;return j(Vv,Ap,l(Tp,"p-"+I(n),r,r,r,r))},j4=function(n){return{bf:{bf:{bf:{bf:{dp:Lp(n),ep:24},fP:{_:T([v$(Np(40)),l$(Np(40))])},g:{bi:T([v$(m$)])}},cd:T([zp(16),v$(m$)])},cc:T([v$(m$),j(Ep,16,8)]),bl:T([r4(M),e4(M),Xp(M),k$(j(I$,"cursor","default"))]),br:T([r4(T([Wv(d(j(u4,Yp,Lp(n))))])),Xp(T([Wv(d(j(u4,Bp,Lp(n))))])),e4(T([Wv(d(j(u4,Ip,Lp(n))))]))])},_:T([S4(0)])}},z4=_(function(n,r){var t=r.an;return j(H,!1,j(Y,function(n){return!(t.E||!L(t.f,n))||!(t.I||!L(t.m,n))},Dv(n)))}),O4=_(function(t,e){return j(Lu,_(function(n,r){return r(O(t._,1===ku(e)?t.ad:n?L(n,ku(e)-1)?t.ac:t.br:t.ab))}),e)}),B4=_(function(n,r){return{$:4,a:n,b:r}}),I4=_(function(n,r){return j(B4,n,r)}),Y4=_(function(n,r){var t=r.an;return j(H,!1,j(Y,function(n){return!(!t.E||!t.I)&&(L(w2(vf(Go(t.o))),1)?L(n,t.f):L(n,t.m))},Dv(n)))}),H4=_(function(n,r){return j(lh,n,H2(r.ba))}),U4=_(function(n,r){var t=r.bu;return j(Y,Fd(r.bP),j(H4,n,t))}),R4=_(function(n,r){function t(n){return j(H,n,j(rb,j(p,Rd(j(a,"displayname",c)),Yd),j(Y,e2,j(U4,{fB:"m.room.member",gT:n},u))))}var e=r.an,u=r.bu,r=Dv(n);return 1===r.$?e.f:L(n=r.a,e.f)&&L(n,e.m)?"Against yourself":L(n,e.f)?t(e.m):t(e.f)}),D4={ai:A$,ao:o4,bW:{ai:Fe,ao:gn,av:cn,ax:ru,ay:Fe},av:un,ax:dt,ay:A$},q4=_(function(n,r){var t=r.u,e=r.g,r=r.H;return j(np,O(n.cc,O(L(t,E)?n.bl:n.br,T([rp(e)]))),{bm:j(B$,n.bf.cd,T([r(L(t,E)?n.bf.bf.H.bl:n.bf.bf.H.br),j(h$,n.bf.bf.g.fk,{$:2,a:e})])),u:t})}),K4=_(function(n,r){var t=r.u,r=r.g;return j(q4,n,{H:xa(x$),u:t,g:r})}),V4=_(function(n,r){return j(K4,n,{u:r.u,g:r.g})}),J4=function(n){return{bf:{bf:{H:{fO:{dp:n.av,ep:18},bl:{dp:Lp(n),ep:18},br:{dp:n.av,ep:18}},g:{fk:Op(n).bf.bf.g.fk}},cd:Op(n).bf.cd},cc:O(Op(n).cc,T([Rp(d(n.av)),r4(T([Wv(d(j(u4,Yp,n.av)))])),Xp(T([Wv(d(j(u4,Bp,n.av)))])),e4(T([Wv(d(j(u4,Ip,n.av)))]))])),fO:T([Wv(d(j(u4,Ip,n.av)))]),bl:O(Op(n).bl,T([Rp(d(Lp(n))),r4(M),e4(M),Xp(M)])),br:M}},G4=_(function(e,n){var r,t=function(n){return t2(Ho(j(S,function(r){return j(S,function(n){return{an:n.b,cG:n.a,bu:r}},iu(j(Gd,r2(r),n)))},Qd(n))))}(e);return n.$?(n=n.b,j(h$,T([v$(j(I4,500,m$)),rg]),j(g$,m4(L4),T([b4,x(Y$,vf(n.o.an.o),1===(r=n.R).$?M:j(S,cv,j(Zs,r.a,vf(n.o.an.o))),dh(n.o.an.o),n.b7),(r=n.o.an.o,j(h$,T([v$(m$)]),j(ah,{bf:i4(f4),cd:ip},T([{a:!1,b:{H:bp(fp),u:E,g:"Resign"}},{a:ch(r),b:{H:bp(D$),u:ch(r)?E:A({$:4,a:U$}),g:"Previous"}},{a:df(r),b:{H:bp(q$),u:df(r)?E:A({$:4,a:R$}),g:"Next"}},{a:df(r),b:{H:bp(op),u:df(r)?E:A({$:4,a:H$}),g:"Now"}}]))))])))):j(h$,T([v$(j(I4,750,d$)),rg]),j(h$,m4(L4),(n=t.b?j(sh,w4(D4),j(S,function(t){var n=t.an;return j(P4,j4(D4),{bf:function(n){var r=n.ep,n=n.dp;return j(z4,e,t)?j(B$,T([l$(Np(r))]),T([j(T4,y4(C(D4,{av:T$})),{H:bp(C4),u:A({$:4,a:{$:11,a:t}}),g:"Accept"}),j(T4,y4(C(D4,{av:o4})),{H:bp(k4),u:A({$:4,a:{$:12,a:t}}),g:"Reject"})])):j(Y4,e,t)?j(h$,T([ng(n),M4(A$),l$(Np(r)),cp(15),S4(5)]),{$:2,a:"YOUR TURN"}):x$},fP:j(h$,T([v$(Np(40)),l$(Np(40))]),x(Y$,vf(n.o),M,dh(n.o),L(Dv(e),A(t.an.m)))),u:j(z4,e,t)?E:A({$:4,a:{$:4,a:t}}),g:j(R4,e,t)+(" - turn "+I(ku(Nd(n.o))))})},Tu(t))):{$:2,a:"I could not detect any games. Try to create one!"},j(g$,T([v$(m$),zp(20)]),T([j(h$,T([P3]),j(V4,J4(x4),{u:A({$:4,a:{$:6,a:{bu:E,aA:""}}}),g:"CREATE"})),n])))))}),Z4={$:1},Q4={$:2,a:{$:6}},W4=y(function(n,r,t){if(1===r.$)return x(_3,1,{$:1,a:"label"},n,{$:0,a:T([t])});var e=r.a,u=x(_3,2,cg,r.b,{$:0,a:T([r.c])});switch(e){case 2:return x(_3,1,{$:1,a:"label"},j(B,W2(U.bS),n),{$:0,a:T([u,t])});case 3:return x(_3,1,{$:1,a:"label"},j(B,W2(U.bS),n),{$:0,a:T([t,u])});case 0:return x(_3,0,{$:1,a:"label"},j(B,W2(U.bS),n),{$:0,a:T([t,u])});default:return x(_3,0,{$:1,a:"label"},j(B,W2(U.bS),n),{$:0,a:T([u,t])})}}),F4=j(qa,Q2,c3("autocomplete")),X4=_(function(n,r){return 3===r.$?Z$:j(Kp,n,r)}),nm=function(n){return{$:1,a:n}},rm=G2(26),Xe=G2(20),tm=j(W$,Xe,U.fg),em=y(function(n,r,t){return x(Fv,n,r,t,1)}),Pn=z(em,186/255,189/255,182/255),Sn=j(Ep,12,12),Kn=z(em,1,1,1),um=T([Sn,cp(3),Up(Pn),Wv(Kn),c4(1),zp(5),v$(m$),l$(d$)]),am=_(function(n,r){return j(N$,n,{$:1,a:r})}),cm=j(b2,T(["target","value"]),c),im=i(function(n,r,t,e){return"pad-"+I(n)+("-"+I(r)+("-"+I(t)+("-"+I(e))))}),om=function(n){var r,t=n.hi,e=n.gB,u=n.fb,n=n.f3;return L(t,e)&&L(t,u)&&L(t,n)?j(Vv,Ap,l(Tp,"p-"+I(r=t),r,r,r,r)):j(Vv,Ap,l(Tp,x(im,t,e,u,n),t,e,u,n))},fm=i(function(n,r,t,e){return"pad-"+Zv(n)+("-"+Zv(r)+("-"+Zv(t)+("-"+Zv(e))))}),bm=i(function(n,r,t,e){switch(t.$){case 9:return C(e,{a:j(B,t,e.a)});case 7:return mh(t.a)?C(e,{d:j(B,t,e.d),k:j(B,t,e.k),a:j(B,t,e.a)}):C(e,r?{d:j(B,t,e.d)}:{a:j(B,t,e.a)});case 8:var u=t.a;return!r||mh(u)?C(e,{d:j(B,t,e.d),a:j(B,t,e.a)}):(function(n){for(;;)switch(n.$){case 1:return;case 0:return;case 2:return;default:n=n.b;continue}}(u),C(e,{a:j(B,t,e.a)}));case 6:case 5:return C(e,{d:j(B,t,e.d)});case 4:switch(t.b.$){case 5:return C(e,{d:j(B,t,e.d),k:j(B,t,e.k),a:j(B,t,e.a),bc:j(B,t,e.bc)});case 7:var a,c,i,o=t.b,f=o.b,b=o.c,s=o.d,o=o.e;return n?C(e,{w:j(B,t,e.w),a:j(B,t,e.a)}):(a=f-j(yh,f,s),c=k$(j(I$,"line-height","calc(1.0em + "+Eg(2*j(yh,f,s))+"px)")),i=k$(j(I$,"height","calc(1.0em + "+Eg(2*j(yh,f,s))+"px)")),s=j(Vv,Ap,l(Tp,x(fm,a,b,f=s-j(yh,f,s),o),a,b,f,o)),C(e,{w:j(B,t,e.w),k:j(B,i,j(B,c,e.k)),a:j(B,s,e.a)}));case 6:return C(e,{w:j(B,t,e.w),a:j(B,t,e.a)});case 10:return C(e,{w:j(B,t,e.w),a:j(B,t,e.a)});case 2:return C(e,{d:j(B,t,e.d)});case 1:return C(e,{d:j(B,t,e.d)});default:return C(e,{a:j(B,t,e.a)})}case 0:return e;case 1:return C(e,{k:j(B,t,e.k)});case 2:return C(e,{k:j(B,t,e.k)});case 3:return C(e,{a:j(B,t,e.a)});default:return C(e,{k:j(B,t,e.k)})}}),sm=y(function(n,r,t){return{w:Tu((n=z(P,j(bm,n,r),{w:M,d:M,k:M,a:M,bc:M},t)).w),d:Tu(n.d),k:Tu(n.k),a:Tu(n.a),bc:Tu(n.bc)}}),lm=_(function(n,r){return{$:12,a:n,b:r}}),dm=G2(0),vm=z(em,136/255,138/255,133/255),gm=Fv,hm=y(function(n,r,t){var e=n.a,n=n.b;return j(h$,O(r,O(T([Rp(vm),W2(U.dX+" "+U.gr),tm,Up(x(gm,0,0,0,0)),Wv(x(gm,0,0,0,0)),l$(m$),v$(m$),function(n){n=1-j(yh,1,j(Ku,0,n));return j(Vv,dm,j(lm,"transparency-"+Zv(n),n))}(t?1:0)]),e)),n)}),$m=j(W$,Xe,U.gJ),pm=Sr("span"),kr=_r("spellcheck"),mm=j(qa,Q2,kr),wm=tg("type"),W=tg("value"),km=j(qa,Q2,W),_m=y(function(r,n,t){var e,u,a,c=O(um,n),i=z(sm,L(r.t,Z4),function(n){if(n.$)return!0;switch(n.a){case 0:case 1:return!1;default:return!0}}(t.bm),c),o=!!r.t.$&&j(H,!1,j(Y,$h,kc(Tu(j(mc,gh,c))))),n=j(H,{fb:0,f3:0,gB:0,hi:0},kc(Tu(j(mc,function(n){var r,t,e;return 4===n.$&&7===n.b.$?(n=n.b,r=n.b,t=n.c,e=n.e,A({fb:j(Ku,0,Du(n.d-3)),f3:j(Ku,0,Du(e-3)),gB:j(Ku,0,Du(t-3)),hi:j(Ku,0,Du(r-3))})):E},c)))),f=x(_3,2,r.t.$?{$:1,a:"textarea"}:{$:1,a:"input"},O(T((a=r.t).$?[tm,l$(m$),W2(U.fV),vh(c),om(n),{$:1,a:j(I$,"margin",(b=(n={fb:-(n=n).fb,f3:-n.f3,gB:-n.gB,hi:-n.hi}).gB,e=n.fb,u=n.f3,I(n.hi)+("px "+I(b)+("px "+I(e)+("px "+I(u))))+"px"))},{$:1,a:j(I$,"box-sizing","content-box")}]:[{$:1,a:wm(a.a)},W2(U.fZ)]),O(T([km(t.g),{$:1,a:j(am,"input",j(na,ph,j(na,t.bq,cm)))},1===(n=t.bm).$?{$:2,a:{$:5,a:n.a}}:Z$,mm(r.T),j(H,Z$,j(Y,F4,r.K))]),i.k)),{$:0,a:M}),b=function(){var n=r.t;return 1===n.$?x(_3,2,cg,O((o?B($m):s)(T([v$(m$),j(_c,eh,c)?Z$:W2(U.dy),W2(U.fY)])),i.a),{$:0,a:T([x(_3,4,cg,j(B,v$(m$),j(B,l$(m$),j(B,hh(f),j(B,W2(U.fX),i.bc)))),{$:0,a:T(""===t.g?1===(n=t.bs).$?[{$:2,a:" "}]:[z(hm,n.a,M,""===t.g)]:[F3(j(pm,T([eg(U.fW)]),T([Gh(t.g+" ")])))])})])}):x(_3,2,cg,j(B,v$(m$),j(B,j(_c,eh,c)?Z$:W2(U.dy),Ho(T([i.a,1===(n=t.bs).$?M:T([j(X4,5,z(hm,n.a,i.w,""===t.g))])])))),{$:0,a:T([f])})}();return z(W4,j(B,j(W$,F$,U.fo),j(B,1===t.bm.$?Z$:zp(5),j(B,Q4,i.d))),t.bm,b)}),qn=_(function(n,r){return z(_m,{K:A("current-password"),T:!1,t:{$:0,a:r.eo?"text":"password"}},n,{bm:r.bm,bq:r.bq,bs:r.bs,g:r.g})}),ym=function(n){return{$:1,a:n}},xm=y(function(n,r,t){var e=t.bs,u=t.g,a=t.bq,c=t.eo;return j(B$,r.cd,T([j(n,r.bf.as.dt,{bm:ym(t.bm),bq:a,bs:e,eo:c,g:u})]))})(qn),Lm=function(n){return T([Wv(d(n)),Rp(d(l4(n)))])},Cm=function(n){return{bf:{as:{dt:O(Lm(n.ay),T([c4(0),e4(M),Xp(M),vp]))}},cd:O(Lm(n.ay),T([zp(8),j(Ep,8,0),c4(1),cp(4),Up(d(j(u4,.14,n.bW.ay))),Xp(T([h4(p4(4)),Up(d(n.av))])),e4(T([h4(p4(2))])),v$(Np(280))]))}},Mm=_(function(n,r){return{$:0,a:n,b:r}}),Tm=_(function(r,t){return j(h$,T([rg]),j(xm,Cm(D4),{bm:"Access token",bq:function(n){return t?{$:0,a:C(r,{b0:n})}:{$:0,a:r}},bs:A(j(Mm,M,{$:2,a:"Access token"})),eo:!1,g:r.b0}))}),on=y(function(n,r,t){var e=t.b8,u=t.bs,a=t.bm,c=t.g,t=t.bq;return j(B$,r.cd,T([e.b?j(B$,r.bf.b8.cd,j(S,q4(r.bf.b8.bf),e)):x$,j(n,r.bf.g.ce,{bm:ym(a),bq:t,bs:u,g:c})]))}),an=_m({K:E,T:!1,t:{$:0,a:"text"}}),Am=on(an),Em=.16,Nm=function(n){return z(xp,n.bW.ay,.14,n.ay)},Pm=function(n){return{bf:{b8:{bf:function(n){return{bf:{bf:{H:{fO:{dp:l4(Nm(n)),ep:18},bl:{dp:l4(Nm(n)),ep:18},br:{dp:l4(Nm(n)),ep:18}},g:{fk:M}},cd:T([zp(8),om({fb:0,f3:8,gB:0,hi:0}),vp])},cc:T([l$(Np(32)),om({fb:0,f3:4,gB:12,hi:0}),cp(16),r4(T([Wv(d(z(xp,n.bW.ay,Yp,Nm(n))))])),Xp(T([Wv(d(z(xp,n.bW.ay,Bp,Nm(n))))])),e4(T([Wv(d(z(xp,n.bW.ay,Ip,Nm(n))))]))]),fO:T([Wv(d(z(xp,n.bW.ay,Em,Nm(n)))),Rp(d(l4(Nm(n)))),h4(p4(4))]),bl:O(Op(n).bl,O(Lm(z(xp,n.bW.ay,_4,Nm(n))),T([r4(M),e4(M),Xp(M)]))),br:T([Wv(d(Nm(n))),Rp(d(l4(Nm(n))))])}}(n),cd:T([zp(8)])},g:{ce:O(Lm(n.ay),T([c4(0),e4(M),Xp(M),vp]))}},cd:O(Lm(n.ay),T([zp(8),j(Ep,8,0),c4(1),cp(4),Up(d(j(u4,.14,n.bW.ay))),Xp(T([h4(p4(4)),Up(d(n.av))])),v$(Np(280)),e4(T([h4(p4(2))]))]))}},Sm=function(n){switch(n){case"h":case"ht":case"htt":case"http":case"https":case"https:":case"https:/":case"https://":return"https://";case"http://":return"http://";default:return j(ba,"https://",n)?function(n){return j(ba,"https://",n)?Sm(j(ca,8,n)):j(ba,"http://",n)?n:"https://"+n}(j(ca,8,n)):j(ba,"http://",n)?n:"https://"+n}},jm=_(function(r,t){return j(h$,T([rg]),j(Am,Pm(D4),{b8:M,bm:"Homeserver URL",bq:function(n){return t?{$:0,a:C(r,{aV:Sm(n)})}:{$:0,a:r}},bs:A(j(Mm,M,{$:2,a:"Homeserver URL"})),g:r.aV}))}),zm=j(nn,T([pt("0 0 24 24")]),T([j(Dn,T([n("M0 0h24v24H0z"),sn("none")]),M),j(Dn,T([n("M20 12c0-1.1.9-2 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.9-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2zm-4.42 4.8L12 14.5l-3.58 2.3 1.08-4.12-3.29-2.69 4.24-.25L12 5.8l1.54 3.95 4.24.25-3.29 2.69 1.09 4.11z")]),M)])),Om=j(nn,T([Yr("enable-background")("new 0 0 24 24"),pt("0 0 24 24")]),T([j(B3,M,T([j(Dn,T([n("M0,0h24v24H0V0z"),sn("none")]),M)])),j(B3,M,T([j(B3,M,T([j(Dn,T([n("M2,17h20v2H2V17z M3.15,12.95L4,11.47l0.85,1.48l1.3-0.75L5.3,10.72H7v-1.5H5.3l0.85-1.47L4.85,7L4,8.47L3.15,7l-1.3,0.75 L2.7,9.22H1v1.5h1.7L1.85,12.2L3.15,12.95z M9.85,12.2l1.3,0.75L12,11.47l0.85,1.48l1.3-0.75l-0.85-1.48H15v-1.5h-1.7l0.85-1.47 L12.85,7L12,8.47L11.15,7l-1.3,0.75l0.85,1.47H9v1.5h1.7L9.85,12.2z M23,9.22h-1.7l0.85-1.47L20.85,7L20,8.47L19.15,7l-1.3,0.75 l0.85,1.47H17v1.5h1.7l-0.85,1.48l1.3,0.75L20,11.47l0.85,1.48l1.3-0.75l-0.85-1.48H23V9.22z")]),M)]))]))])),Bm=_(function(r,t){return j(h$,T([rg]),j(xm,Cm(t?L4:D4),{bm:"Password",bq:function(n){return t?{$:0,a:C(r,{as:n})}:{$:0,a:r}},bs:A(j(Mm,M,{$:2,a:"Password"})),eo:!1,g:r.as}))}),Im={$:1},Ym=ua("https://"),Hm=_(function(n,r){n=!(0<Q(ua(n.aV),Ym)&&(1===n.ek?ua(n.b0):ua(n.aA)*ua(n.as)));return j(h$,T([j(Vv,dm,n?j(lm,"transparent",1):j(lm,"visible",0)),rg]),j(V4,i4(D4),{u:r?A(Im):E,g:"Login"}))}),Um=_(function(n,r){var t=r.g$,r=r.bf;return j(g$,n.ds,T([j(B$,n.bf.g$.cd,j(S,tp(n.bf.g$.bf),function(n){var t=n.R,r=n.gp,e=n.gi;return j(Lu,_(function(n,r){return{a:L(t,A(n)),b:{H:r.H,u:e(n),g:r.g}}}),r)}(t))),j(h$,n.bf.bf,r(t.R))]))}),Rm=j(W$,Sp,U.gP),Dm=_(function(n,r){return j(Vv,v3,l(a4,"b-"+I(n)+("-"+I(r)),r,n,r,n))}),qm=function(n){var r=n.fb,t=n.hi,e=n.f3,n=n.gB;return L(t,r)&&L(e,n)?L(t,n)?c4(t):j(Dm,e,t):j(Vv,v3,l(a4,"b-"+I(t)+("-"+I(n)+("-"+I(r)+("-"+I(e)))),t,n,r,e))},Km=function(n){return{bf:{bf:T([v$(m$)]),g$:{bf:function(n){return{bf:{bf:{H:{fO:{dp:n.av,ep:18},bl:{dp:Lp(n),ep:18},br:{dp:n.av,ep:18}},g:{fk:M}},cd:T([zp(8),vp,rg])},cc:O(dp,T([l$(Np(48)),v$(j(Mp,90,j(I4,360,m$))),j(Ep,12,16),Rp(d(n.av)),r4(T([Wv(d(j(u4,Yp,n.av)))])),Xp(T([Wv(d(j(u4,Bp,n.av)))])),e4(T([Wv(d(j(u4,Ip,n.av)))]))])),fO:T([l$(Np(48)),qm({fb:2,f3:0,gB:0,hi:0})]),bl:O(Op(n).bl,T([Rp(d(Lp(n))),r4(M),e4(M),Xp(M)])),br:M}}(n),cd:T([Rm,h4(p4(4)),zp(8),v$(m$)])}},ds:T([zp(8),v$(m$)])}},yn=_m({K:A("username"),T:!1,t:{$:0,a:"text"}}),Vm=on(yn),Jm=_(function(r,t){return j(h$,T([rg]),j(Vm,Pm(D4),{b8:M,bm:"Username",bq:function(n){return t?{$:0,a:C(r,{aA:n})}:{$:0,a:r}},bs:A(j(Mm,M,{$:2,a:"Username"})),g:r.aA}))}),Gm=_(function(r,t){return j(h$,T([v$(j(I4,750,m$)),rg]),j(h$,m4(L4),j(Um,Km(D4),{bf:function(n){return j(g$,T([rg,zp(20),S4(20)]),function(){n:for(;;){if(n.$)break;switch(n.a){case 0:return T([wh(r.ao),j(jm,r,t),j(Tm,r,t),j(Hm,r,t)]);case 1:return T([wh(r.ao),j(jm,r,t),j(Jm,r,t),j(Bm,r,t),j(Hm,r,t)]);default:break n}}return T([wh(r.ao),j(jm,r,t),j(Tm,r,t),j(Hm,r,t)])}())},g$:{gi:function(n){switch(n){case 0:return A({$:0,a:C(r,{ek:1})});case 1:return A({$:0,a:C(r,{ek:0})});default:return E}},gp:T([{H:bp(zm),g:"Access token"},{H:bp(Om),g:"Username & password"}]),R:A(1===r.ek?0:1)}})))}),Zm=_(function(n,r){return{$:7,a:n,b:r}}),Qm={$:5},Wm=T([oh(14),We,ih(.1)]),Fm=function(n){return{bf:{bf:{fw:{_:M},hg:O(Wm,T([Rp(d(Lp(n))),j(Ep,16,8)]))},ds:T([v$(m$),zp(8)])},_:T([v$(m$),l$(d$),S4(0),qm({fb:0,f3:0,gB:0,hi:1}),Up(d(Nm(n)))])}},Xm=_(function(n,r){var t=r.u,e=r.g,u=r.H;return j(N4,n,function(n){return j(np,O(n.cc,L(t,E)?n.bl:n.br),{bm:j(B$,n.bf.cd,T([j(h$,n.bf.bf.g.bi,j(E4,M,Ae({$:2,a:e}))),u(n.bf.bf.H)])),u:t})})}),n6=function(n){n=function(n){return{bf:{bf:{bf:{bf:{dp:Lp(n),ep:24},H:{bf:{dp:Lp(n),ep:24},_:T([v$(Np(40)),l$(Np(24))])},g:{bi:T([v$(m$)])}},cd:T([zp(16),v$(m$)])},cc:T([v$(m$),S4(16)]),bl:T([r4(M),e4(M),Xp(M),k$(j(I$,"cursor","default"))]),br:T([r4(T([Wv(d(j(u4,Yp,Lp(n))))])),Xp(T([Wv(d(j(u4,Bp,Lp(n))))])),e4(T([Wv(d(j(u4,Ip,Lp(n))))]))])},_:T([S4(0)])}}(n);return{bf:{bf:{bf:{H:n.bf.bf.bf.bf,g:n.bf.bf.bf.g},cd:n.bf.bf.cd},cc:n.bf.cc,bl:n.bf.bl,br:n.bf.br},_:n._}},r6=_(function(n,t){return j(N4,n,function(n){var r=n.bf;return j(g$,n.ds,T([j(h$,r.fw._,x$),j(h$,r.hg,{$:2,a:t})]))})}),t6=tg("alt"),e6=_(function(n,r){var t=r.gS,r=r.ft,e=j($c,function(n){switch(n.$){case 7:case 8:return!0;default:return!1}},n);return x(_3,2,cg,j(B,W2(U.fQ),n),{$:0,a:T([x(_3,2,{$:1,a:"img"},O(T([{$:1,a:j(tg,"src",qr(t))},{$:1,a:t6(r)}]),e),{$:0,a:M})])})}),u6=_(function(n,r){return{bf:j(h$,T([rg,vp,v$(j(Mp,400,d$))]),(n=j(h$,T([v$(m$)]),j(sh,w4(f4),j(bc,T([j(r6,Fm(f4),"Select a room")]),j(S,function(t){var e=j(H,r2(t),j(rb,j(p,Rd(j(a,"name",c)),Yd),j(Y,e2,j(U4,{fB:"m.room.name",gT:""},t))));return j(Xm,j(H,!1,j(Y,Ru(r2(t)),j(Y,r2,r.bu)))?n6(D4):n6(f4),{H:function(n){var r=n.ep;return j(H,j(h$,T([ng(n.dp),M4(A$),v$(Np(r)),l$(Np(r))]),j(h$,T([rg,vp]),{$:2,a:ys(po(j(H,"!",kc(X0(e)))))})),j(Y,e6(T([l$(Np(r)),v$(Np(r))])),j(Y,function(n){return{ft:"Matrix room image",gS:n}},j(Y,function(n){return j(ba,"mxc://",n)?"https://matrix-client.matrix.org/_matrix/media/r0/thumbnail/"+j(ca,ua("mxc://"),n)+"?width="+I(r)+"&height="+I(r)+"&method=scale":"https://matrix-client.matrix.org/_matrix/media/r0/thumbnail/"+n+("?width="+I(r)+("&height="+I(r)))+"&method=scale"},j(rb,j(p,Rd(j(a,"url",c)),Yd),j(Y,e2,j(U4,{fB:"m.room.avatar",gT:""},t)))))))},u:A({$:4,a:{$:6,a:C(r,{bu:A(t)})}}),g:e})},Qd(n))))),j(g$,T([v$(m$)]),T([j(B$,T([rg]),T([j(h$,T([v$(m$)]),j(Am,Pm(L4),{b8:M,bm:"Username",bq:function(n){return{$:4,a:{$:6,a:C(r,{aA:n})}}},bs:A(j(Mm,M,{$:2,a:"@alice:example.org"})),g:r.aA})),j(V4,i4(f4),{u:1===(e={a:r.aA,b:r.bu}).b.$?E:""===e.a?E:(t=e.b.a,j(rb,function(n){return"join"===n?A({$:4,a:j(Zm,r.aA,t)}):E},j(rb,j(p,Rd(j(a,"membership",c)),Yd),j(Y,e2,j(U4,{fB:"m.room.member",gT:r.aA},t))))),g:"INVITE"})])),n])))),gf:A({$:4,a:Qm})};var t,e}),a6=_(function(n,r){return j(u6,n,r)}),c6=j(p,kc,j(p,Y(function(n){var r=n.bf;return O(function(n){return T([hh(j(h$,O(T([v$(m$),l$(m$),Wv(x($4,0,0,0,.5))]),j(H,M,j(Y,j(p,S$,Ae),n))),x$)),tm])}(n.gf),T([hh(r)]))}),H(M))),wt=er({fU:function(n){return{a:{$:0,a:{b0:"",aV:"https://",ao:E,as:"",ek:1,aA:""}},b:_a}},g_:function(n){switch(n.$){case 0:case 1:return Ja;default:return j(Va,2e3,xa(ya))}},hm:jn,ho:function(n){return{e5:Ae(j(N3,j(bc,T([rg,S4(25),ng(A$)]),c6(j(mc,s,T([2===n.$?(r=n.b.a,j(Y,a6(n.a),r)):E])))),function(){switch(n.$){case 0:return j(Gm,n.a,!0);case 1:return j(Gm,n.a,!1);default:return j(G4,n.a,n.b)}}())),hg:"Matrix chess"};var r}});Z={Main:{init:wt(ta(0))(0)}},v.Elm?function n(r,t){for(var e in t)e in r?"init"==e?vn(6):n(r[e],t[e]):r[e]=t[e]}(v.Elm,Z):v.Elm=Z}(this);