summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt2
-rw-r--r--nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt14
-rw-r--r--sandbox/src/main/resources/static/spa.html3
3 files changed, 8 insertions, 11 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
index 4697567e..a7ec84ef 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
@@ -89,7 +89,7 @@ private suspend fun historyIncoming(call: ApplicationCall) {
history.incoming_transactions.add(
AnastasisIncomingBankTransaction(
// Rounded timestamp
- date = GnunetTimestamp((it.timestampMs / 1000) * 1000),
+ date = GnunetTimestamp(it.timestampMs / 1000L),
row_id = it.id.value,
amount = "${it.payment.currency}:${it.payment.amount}",
subject = it.subject,
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
index 60cbe80f..f7e8fd88 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
@@ -92,9 +92,7 @@ data class TalerOutgoingHistory(
var outgoing_transactions: MutableList<TalerOutgoingBankTransaction> = mutableListOf()
)
-data class GnunetTimestamp(
- val t_ms: Long
-)
+data class GnunetTimestamp(val t_s: Long)
/**
* Sort query results in descending order for negative deltas, and ascending otherwise.
@@ -228,7 +226,7 @@ private suspend fun talerTransfer(call: ApplicationCall) {
* Normally should point to the next round where the background
* routine will send new PAIN.001 data to the bank; work in progress..
*/
- timestamp = roundTimestamp(GnunetTimestamp(System.currentTimeMillis())),
+ timestamp = GnunetTimestamp(System.currentTimeMillis() / 1000L),
row_id = opaqueRowId
)
),
@@ -237,10 +235,6 @@ private suspend fun talerTransfer(call: ApplicationCall) {
)
}
-fun roundTimestamp(t: GnunetTimestamp): GnunetTimestamp {
- return GnunetTimestamp(t.t_ms - (t.t_ms % 1000))
-}
-
fun talerFilter(payment: NexusBankTransactionEntity, txDtls: TransactionDetails) {
val subject = txDtls.unstructuredRemittanceInformation
val debtorName = txDtls.debtor?.name
@@ -402,7 +396,7 @@ private suspend fun historyOutgoing(call: ApplicationCall) {
row_id = it.id.value,
amount = it.amount,
wtid = it.wtid,
- date = GnunetTimestamp(it.preparedPayment.preparationDate),
+ date = GnunetTimestamp(it.preparedPayment.preparationDate / 1000L),
credit_account = it.creditAccount,
debit_account = buildIbanPaytoUri(
subscriberBankAccount.iban,
@@ -442,7 +436,7 @@ private suspend fun historyIncoming(call: ApplicationCall) {
history.incoming_transactions.add(
TalerIncomingBankTransaction(
// Rounded timestamp
- date = GnunetTimestamp((it.timestampMs / 1000) * 1000),
+ date = GnunetTimestamp(it.timestampMs / 1000L),
row_id = it.id.value,
amount = "${it.payment.currency}:${it.payment.amount}",
reserve_pub = it.reservePublicKey,
diff --git a/sandbox/src/main/resources/static/spa.html b/sandbox/src/main/resources/static/spa.html
new file mode 100644
index 00000000..7a3cf557
--- /dev/null
+++ b/sandbox/src/main/resources/static/spa.html
@@ -0,0 +1,3 @@
+<!DOCTYPE html><html lang="en" class="has-aside-left has-aside-mobile-transition has-navbar-fixed-top has-aside-expanded"><head><meta charset="utf-8"><title>taler-bank</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="icon" href="data:;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAD///////////////////////////////////////////////////////////////////////////////////////////////////7//v38//78/P/+/fz//vz7///+/v/+/f3//vz7///+/v/+/fz//v38///////////////////////+/v3///7+/////////////////////////////////////////////////////////v3//v79///////+/v3///////r28v/ct5//06SG/9Gffv/Xqo7/7N/V/9e2nf/bsJb/6uDW/9Sskf/euKH/+/j2///////+/v3//////+3azv+/eE3/2rWd/9Kkhv/Vr5T/48i2/8J+VP/Qn3//3ryn/795Tf/WrpP/2LCW/8B6T//w4Nb///////Pn4P+/d0v/9u3n/+7d0v/EhV7//v///+HDr//fxLD/zph2/+TJt//8/Pv/woBX//Lm3f/y5dz/v3hN//bu6f/JjGn/4sW0///////Df1j/8OLZ//v6+P+/elH/+vj1//jy7f+/elL//////+zYzP/Eg13//////967p//MlHT/wn5X///////v4Nb/yY1s///////jw7H/06KG////////////z5t9/+fNvf//////x4pn//Pp4v/8+vn/w39X/8WEX///////5s/A/9CbfP//////27Oc/9y2n////////////9itlf/gu6f//////86Vdf/r2Mz//////8SCXP/Df1j//////+7d0v/KkG7//////+HBrf/VpYr////////////RnoH/5sq6///////Ii2n/8ubf//39/P/Cf1j/xohk/+bNvv//////wn5W//Tq4//58/D/wHxV//7+/f/59fH/v3xU//39/P/w4Nf/xIFb///////hw7H/yo9t/+/f1f/AeU3/+/n2/+nSxP/FhmD//////9qzm//Upon/4MSx/96+qf//////xINc/+3bz//48e3/v3hN//Pn3///////6M+//752S//gw6//06aK/8J+VP/kzLr/zZd1/8OCWv/q18r/17KZ/9Ooi//fv6r/v3dK/+vWyP///////v39///////27un/1aeK/9Opjv/m1cf/1KCC/9a0nP/n08T/0Jx8/82YdP/QnHz/16yR//jx7P///////v39///////+/f3///7+///////+//7//v7+///////+/v7//v/+/////////////////////////v7//v79///////////////////+/v/+/Pv//v39///+/v/+/Pv///7+//7+/f/+/Pv//v39//79/P/+/Pv///7+////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="><link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"><meta name="theme-color" content="#673ab8"><link rel="shortcut icon" href="/favicon.ico"></head><body><script>!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="Wwlg")}({"+TSP":function(e,t,n){e.exports=self.fetch||(self.fetch=n("Cf1v").default||n("Cf1v"))},"5+HP":function(e,t,n){"use strict";function r(e){return Boolean(e&&void 0!==e.length)}function o(){}function i(e){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(e,this)}function u(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void c(t.promise,e)}f(t.promise,r)}else(1===e._state?f:c)(t.promise,e._value)}))):e._deferreds.push(t)}function f(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void l((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,s(e)}catch(t){c(e,t)}var r,o}function c(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&i._immediateFn((function(){e._handled||i._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)u(e,e._deferreds[t]);e._deferreds=null}function a(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function l(e,t){var n=!1;try{e((function(e){n||(n=!0,f(t,e))}),(function(e){n||(n=!0,c(t,e))}))}catch(e){if(n)return;n=!0,c(t,e)}}n.r(t);var d=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},p=function(e){return new this((function(t,n){function r(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,(function(t){r(e,t)}),(function(n){o[e]={status:"rejected",reason:n},0==--i&&t(o)}))}o[e]={status:"fulfilled",value:n},0==--i&&t(o)}if(!e||void 0===e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var o=Array.prototype.slice.call(e);if(0===o.length)return t([]);for(var i=o.length,u=0;u<o.length;u++)r(u,o[u])}))},h=setTimeout,y="undefined"!=typeof setImmediate?setImmediate:null;i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){var n=new this.constructor(o);return u(this,new a(e,t,n)),n},i.prototype.finally=d,i.all=function(e){return new i((function(t,n){function o(e,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var f=r.then;if("function"==typeof f)return void f.call(r,(function(t){o(e,t)}),n)}i[e]=r,0==--u&&t(i)}catch(e){n(e)}}if(!r(e))return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var u=i.length,f=0;f<i.length;f++)o(f,i[f])}))},i.allSettled=p,i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i((function(t){t(e)}))},i.reject=function(e){return new i((function(t,n){n(e)}))},i.race=function(e){return new i((function(t,n){if(!r(e))return n(new TypeError("Promise.race accepts an array"));for(var o=0,u=e.length;o<u;o++)i.resolve(e[o]).then(t,n)}))},i._immediateFn="function"==typeof y&&function(e){y(e)}||function(e){h(e,0)},i._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};t.default=i},Cf1v:function(e,t,n){"use strict";n.r(t),t.default=function(e,t){return t=t||{},new Promise((function(n,r){var o=new XMLHttpRequest,i=[],u=[],f={};for(var c in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){i.push(t=t.toLowerCase()),u.push([t,n]),f[t]=f[t]?f[t]+","+n:n})),n(function e(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:e,headers:{keys:function(){return i},entries:function(){return u},get:function(e){return f[e.toLowerCase()]},has:function(e){return e.toLowerCase()in f}}}}())},o.onerror=r,o.withCredentials="include"==t.credentials,t.headers)o.setRequestHeader(c,t.headers[c]);o.send(t.body||null)}))}},Wwlg:function(e,t,n){(function(e){e.Promise||(e.Promise=n("5+HP").default),e.fetch||(e.fetch=n("+TSP"))}).call(this,n("t3e9"))},t3e9:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t}});
+//# sourceMappingURL=polyfills.61bd8.js.map</script><script>!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(e){return t[e]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s="d5eL")}({FaXh:function(t,e){e.read=function(t,e,n,r,i){var o,u,a=8*i-r-1,s=(1<<a)-1,l=s>>1,c=-7,f=n?i-1:0,h=n?-1:1,_=t[e+f];for(f+=h,o=_&(1<<-c)-1,_>>=-c,c+=a;c>0;o=256*o+t[e+f],f+=h,c-=8);for(u=o&(1<<-c)-1,o>>=-c,c+=r;c>0;u=256*u+t[e+f],f+=h,c-=8);if(0===o)o=1-l;else{if(o===s)return u?NaN:1/0*(_?-1:1);u+=Math.pow(2,r),o-=l}return(_?-1:1)*u*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var u,a,s,l=8*o-i-1,c=(1<<l)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,_=r?0:o-1,p=r?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-u))<1&&(u--,s*=2),(e+=u+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(u++,s/=2),u+f>=c?(a=0,u=c):u+f>=1?(a=(e*s-1)*Math.pow(2,i),u+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),u=0));i>=8;t[n+_]=255&a,_+=p,a/=256,i-=8);for(u=u<<i|a,l+=i;l>0;t[n+_]=255&u,_+=p,u/=256,l-=8);t[n+_-p]|=128*d}},KHYT:function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}function i(t){var e=t.parentNode;e&&e.removeChild(t)}function o(t,e,n){var r,i,o,a={};for(o in e)"key"==o?r=e[o]:"ref"==o?i=e[o]:a[o]=e[o];if(arguments.length>2&&(a.children=arguments.length>3?C.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(o in t.defaultProps)void 0===a[o]&&(a[o]=t.defaultProps[o]);return u(t,a,r,i,null)}function u(t,e,n,r,i){var o={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++j:i};return null==i&&null!=I.vnode&&I.vnode(o),o}function a(){return{current:null}}function s(t){return t.children}function l(t,e){this.props=t,this.context=e}function c(t,e){if(null==e)return t.__?c(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?c(t):null}function f(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return f(t)}}function h(t){(!t.__d&&(t.__d=!0)&&B.push(t)&&!_.__r++||F!==I.debounceRendering)&&((F=I.debounceRendering)||L)(_)}function _(){for(var t;_.__r=B.length;)t=B.sort((function(t,e){return t.__v.__b-e.__v.__b})),B=[],t.some((function(t){var e,n,i,o,u,a;t.__d&&(u=(o=(e=t).__v).__e,(a=e.__P)&&(n=[],(i=r({},o)).__v=o.__v+1,E(a,o,i,e.__n,void 0!==a.ownerSVGElement,null!=o.__h?[u]:null,n,null==u?c(o):u,o.__h),P(n,o),o.__e!=u&&f(o)))}))}function p(t,e,n,r,i,o,a,l,f,h){var _,p,g,v,m,w,b,P=r&&r.__k||N,x=P.length;for(n.__k=[],_=0;_<e.length;_++)if(null!=(v=n.__k[_]=null==(v=e[_])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?u(null,v,null,null,v):Array.isArray(v)?u(s,{children:v},null,null,null):v.__b>0?u(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(g=P[_])||g&&v.key==g.key&&v.type===g.type)P[_]=void 0;else for(p=0;p<x;p++){if((g=P[p])&&v.key==g.key&&v.type===g.type){P[p]=void 0;break}g=null}E(t,v,g=g||M,i,o,a,l,f,h),m=v.__e,(p=v.ref)&&g.ref!=p&&(b||(b=[]),g.ref&&b.push(g.ref,null,v),b.push(p,v.__c||m,v)),null!=m?(null==w&&(w=m),"function"==typeof v.type&&v.__k===g.__k?v.__d=f=d(v,f,t):f=y(t,v,g,P,m,f),"function"==typeof n.type&&(n.__d=f)):f&&g.__e==f&&f.parentNode!=t&&(f=c(g))}for(n.__e=w,_=x;_--;)null!=P[_]&&("function"==typeof n.type&&null!=P[_].__e&&P[_].__e==n.__d&&(n.__d=c(r,_+1)),A(P[_],P[_]));if(b)for(_=0;_<b.length;_++)k(b[_],b[++_],b[++_])}function d(t,e,n){for(var r,i=t.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=t,e="function"==typeof r.type?d(r,e,n):y(n,r,r,i,r.__e,e));return e}function g(t,e){return e=e||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){g(t,e)})):e.push(t)),e}function y(t,e,n,r,i,o){var u,a,s;if(void 0!==e.__d)u=e.__d,e.__d=void 0;else if(null==n||i!=o||null==i.parentNode)t:if(null==o||o.parentNode!==t)t.appendChild(i),u=null;else{for(a=o,s=0;(a=a.nextSibling)&&s<r.length;s+=2)if(a==i)break t;t.insertBefore(i,o),u=o}return void 0!==u?u:i.nextSibling}function v(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||Y.test(e)?n:n+"px"}function m(t,e,n,r,i){var o;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||v(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||v(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=n,n?r||t.addEventListener(e,o?b:w,o):t.removeEventListener(e,o?b:w,o);else if("dangerouslySetInnerHTML"!==e){if(i)e=e.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function w(t){this.l[t.type+!1](I.event?I.event(t):t)}function b(t){this.l[t.type+!0](I.event?I.event(t):t)}function E(t,e,n,i,o,u,a,c,f){var h,_,d,g,y,v,m,w,b,E,P,k=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(f=n.__h,c=e.__e=n.__e,e.__h=null,u=[c]),(h=I.__b)&&h(e);try{t:if("function"==typeof k){if(w=e.props,b=(h=k.contextType)&&i[h.__c],E=h?b?b.props.value:h.__:i,n.__c?m=(_=e.__c=n.__c).__=_.__E:("prototype"in k&&k.prototype.render?e.__c=_=new k(w,E):(e.__c=_=new l(w,E),_.constructor=k,_.render=O),b&&b.sub(_),_.props=w,_.state||(_.state={}),_.context=E,_.__n=i,d=_.__d=!0,_.__h=[]),null==_.__s&&(_.__s=_.state),null!=k.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=r({},_.__s)),r(_.__s,k.getDerivedStateFromProps(w,_.__s))),g=_.props,y=_.state,d)null==k.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(null==k.getDerivedStateFromProps&&w!==g&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(w,E),!_.__e&&null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(w,_.__s,E)||e.__v===n.__v){_.props=w,_.state=_.__s,e.__v!==n.__v&&(_.__d=!1),_.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),_.__h.length&&a.push(_);break t}null!=_.componentWillUpdate&&_.componentWillUpdate(w,_.__s,E),null!=_.componentDidUpdate&&_.__h.push((function(){_.componentDidUpdate(g,y,v)}))}_.context=E,_.props=w,_.state=_.__s,(h=I.__r)&&h(e),_.__d=!1,_.__v=e,_.__P=t,h=_.render(_.props,_.state,_.context),_.state=_.__s,null!=_.getChildContext&&(i=r(r({},i),_.getChildContext())),d||null==_.getSnapshotBeforeUpdate||(v=_.getSnapshotBeforeUpdate(g,y)),P=null!=h&&h.type===s&&null==h.key?h.props.children:h,p(t,Array.isArray(P)?P:[P],e,n,i,o,u,a,c,f),_.base=e.__e,e.__h=null,_.__h.length&&a.push(_),m&&(_.__E=_.__=null),_.__e=!1}else null==u&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=x(n.__e,e,n,i,o,u,a,f);(h=I.diffed)&&h(e)}catch(t){e.__v=null,(f||null!=u)&&(e.__e=c,e.__h=!!f,u[u.indexOf(c)]=null),I.__e(t,e,n)}}function P(t,e){I.__c&&I.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){I.__e(t,e.__v)}}))}function x(t,e,n,r,o,u,a,s){var l,f,h,_=n.props,d=e.props,g=e.type,y=0;if("svg"===g&&(o=!0),null!=u)for(;y<u.length;y++)if((l=u[y])&&"setAttribute"in l==!!g&&(g?l.localName===g:3===l.nodeType)){t=l,u[y]=null;break}if(null==t){if(null===g)return document.createTextNode(d);t=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,d.is&&d),u=null,s=!1}if(null===g)_===d||s&&t.data===d||(t.data=d);else{if(u=u&&C.call(t.childNodes),f=(_=n.props||M).dangerouslySetInnerHTML,h=d.dangerouslySetInnerHTML,!s){if(null!=u)for(_={},y=0;y<t.attributes.length;y++)_[t.attributes[y].name]=t.attributes[y].value;(h||f)&&(h&&(f&&h.__html==f.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(t,e,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in e||m(t,o,null,n[o],r);for(o in e)i&&"function"!=typeof e[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===e[o]||m(t,o,e[o],n[o],r)}(t,d,_,o,s),h)e.__k=[];else if(y=e.props.children,p(t,Array.isArray(y)?y:[y],e,n,r,o&&"foreignObject"!==g,u,a,u?u[0]:n.__k&&c(n,0),s),null!=u)for(y=u.length;y--;)null!=u[y]&&i(u[y]);s||("value"in d&&void 0!==(y=d.value)&&(y!==_.value||y!==t.value||"progress"===g&&!y)&&m(t,"value",y,_.value,!1),"checked"in d&&void 0!==(y=d.checked)&&y!==t.checked&&m(t,"checked",y,_.checked,!1))}return t}function k(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){I.__e(t,n)}}function A(t,e,n){var r,o;if(I.unmount&&I.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||k(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){I.__e(t,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&A(r[o],e,"function"!=typeof t.type);n||null==t.__e||i(t.__e),t.__e=t.__d=void 0}function O(t,e,n){return this.constructor(t,n)}function S(t,e,n){var r,i,u;I.__&&I.__(t,e),i=(r="function"==typeof n)?null:n&&n.__k||e.__k,u=[],E(e,t=(!r&&n||e).__k=o(s,null,[t]),i||M,M,void 0!==e.ownerSVGElement,!r&&n?[n]:i?null:e.firstChild?C.call(e.childNodes):null,u,!r&&n?n:i?i.__e:e.firstChild,r),P(u,t)}function R(t,e){S(t,e,R)}function T(t,e,n){var i,o,a,s=r({},t.props);for(a in e)"key"==a?i=e[a]:"ref"==a?o=e[a]:s[a]=e[a];return arguments.length>2&&(s.children=arguments.length>3?C.call(arguments,2):n),u(t.type,s,i||t.key,o||t.ref,null)}function U(t,e){var n={__c:e="__cC"+D++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some(h)},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}n.d(e,"j",(function(){return S})),n.d(e,"h",(function(){return R})),n.d(e,"e",(function(){return o})),n.d(e,"g",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"f",(function(){return a})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return T})),n.d(e,"d",(function(){return U})),n.d(e,"k",(function(){return g})),n.d(e,"i",(function(){return I}));var C,I,j,B,L,F,D,M={},N=[],Y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;C=N.slice,I={__e:function(t,e){for(var n,r,i;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(t)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(t),i=n.__d),i)return n.__E=n}catch(e){t=e}throw t}},j=0,l.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof t&&(t=t(r({},n),this.props)),t&&r(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),h(this))},l.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),h(this))},l.prototype.render=s,B=[],L="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_.__r=0,D=0},KlUR:function(t,e){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function r(t,e,n){for(var r,o=[],u=e;u<n;u+=3)o.push(i[(r=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]))>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return o.join("")}e.byteLength=function(t){var e=n(t),r=e[1];return 3*(e[0]+r)/4-r},e.toByteArray=function(t){var e,r,i=n(t),a=i[0],s=i[1],l=new u(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=o[t.charCodeAt(r)]<<18|o[t.charCodeAt(r+1)]<<12|o[t.charCodeAt(r+2)]<<6|o[t.charCodeAt(r+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,l[c++]=255&e),1===s&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,u=[],a=0,s=n-o;a<s;a+=16383)u.push(r(t,a,a+16383>s?s:a+16383));return 1===o?u.push(i[(e=t[n-1])>>2]+i[e<<4&63]+"=="):2===o&&u.push(i[(e=(t[n-2]<<8)+t[n-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),u.join("")};for(var i=[],o=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],o[a.charCodeAt(s)]=s;o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},XaFX:function(t,e,n){"use strict";(function(t){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=o.prototype:(null===t&&(t=new o(e)),t.length=e),t}function o(t,e,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return s(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);o.TYPED_ARRAY_SUPPORT?(t=e).__proto__=o.prototype:t=l(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(e,n),u=(t=i(t,r)).write(e,n);u!==r&&(t=t.slice(0,u));return t}(t,e,n):function(t,e){if(o.isBuffer(e)){var n=0|c(e.length);return 0===(t=i(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?i(t,0):l(t,e);if("Buffer"===e.type&&Y(e.data))return l(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function a(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function s(t,e){if(a(e),t=i(t,e<0?0:0|c(e)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function l(t,e){var n=e.length<0?0:0|c(e.length);t=i(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function c(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function f(t,e){if(o.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return L(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(r)return L(t).length;e=(""+e).toLowerCase(),r=!0}}function h(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return x(this,e,n);case"latin1":case"binary":return k(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function _(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function p(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:d(t,e,n,r,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):d(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function d(t,e,n,r,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var u,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}if(i){var c=-1;for(u=n;u<s;u++)if(o(t,u)===o(e,-1===c?0:u-c)){if(-1===c&&(c=u),u-c+1===l)return c*a}else-1!==c&&(u-=u-c),c=-1}else for(n+l>s&&(n=s-l),u=n;u>=0;u--){for(var f=!0,h=0;h<l;h++)if(o(t,u+h)!==o(e,h)){f=!1;break}if(f)return u}return-1}function g(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var u=0;u<r;++u){var a=parseInt(e.substr(2*u,2),16);if(isNaN(a))return u;t[n+u]=a}return u}function y(t,e,n,r){return D(L(e,t.length-n),t,n,r)}function v(t,e,n,r){return D(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function m(t,e,n,r){return v(t,e,n,r)}function w(t,e,n,r){return D(F(e),t,n,r)}function b(t,e,n,r){return D(function(t,e){for(var n,r,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=t.charCodeAt(o),r=n>>8,i.push(n%256),i.push(r);return i}(e,t.length-n),t,n,r)}function E(t,e,n){return M.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,u,a,s,l=t[i],c=null,f=l>239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=t[i+1]))&&(s=(31&l)<<6|63&o)>127&&(c=s);break;case 3:u=t[i+2],128==(192&(o=t[i+1]))&&128==(192&u)&&(s=(15&l)<<12|(63&o)<<6|63&u)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:u=t[i+2],a=t[i+3],128==(192&(o=t[i+1]))&&128==(192&u)&&128==(192&a)&&(s=(15&l)<<18|(63&o)<<12|(63&u)<<6|63&a)>65535&&s<1114112&&(c=s)}null===c?(c=65533,f=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function x(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function k(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function A(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=B(t[o]);return i}function O(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function S(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,n,r,i,u){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<u)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function T(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function U(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function C(t,e,n,r){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(t,e,n,r,i){return i||C(t,0,n,4),N.write(t,e,n,r,23,4),n+4}function j(t,e,n,r,i){return i||C(t,0,n,8),N.write(t,e,n,r,52,8),n+8}function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function L(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],u=0;u<r;++u){if((n=t.charCodeAt(u))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(u+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return M.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function D(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}var M=n("KlUR"),N=n("FaXh"),Y=n("kah5");e.Buffer=o,e.SlowBuffer=function(t){return+t!=t&&(t=0),o.alloc(+t)},e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,n){return u(null,t,e,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,n){return function(t,e,n,r){return a(e),e<=0?i(t,e):void 0!==n?"string"==typeof r?i(t,e).fill(n,r):i(t,e).fill(n):i(t,e)}(null,t,e,n)},o.allocUnsafe=function(t){return s(null,t)},o.allocUnsafeSlow=function(t){return s(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,u=Math.min(n,r);i<u;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(t,e){if(!Y(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=o.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var u=t[n];if(!o.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(r,i),i+=u.length}return r},o.byteLength=f,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)_(this,e,e+1);return this},o.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this},o.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this},o.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):h.apply(this,arguments)},o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},o.prototype.compare=function(t,e,n,r,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var u=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(u,a),l=this.slice(r,i),c=t.slice(e,n),f=0;f<s;++f)if(l[f]!==c[f]){u=l[f],a=c[f];break}return u<a?-1:a<u?1:0},o.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},o.prototype.indexOf=function(t,e,n){return p(this,t,e,n,!0)},o.prototype.lastIndexOf=function(t,e,n){return p(this,t,e,n,!1)},o.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return g(this,t,e,n);case"utf8":case"utf-8":return y(this,t,e,n);case"ascii":return v(this,t,e,n);case"latin1":case"binary":return m(this,t,e,n);case"base64":return w(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};o.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),o.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=o.prototype;else{var i=e-t;n=new o(i,void 0);for(var u=0;u<i;++u)n[u]=this[u+t]}return n},o.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||S(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},o.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||S(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUInt8=function(t,e){return e||S(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||S(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||S(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||S(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||S(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||S(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||S(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||S(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||S(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){e||S(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return e||S(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||S(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||S(t,4,this.length),N.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||S(t,4,this.length),N.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||S(t,8,this.length),N.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||S(t,8,this.length),N.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},o.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):U(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=0,u=1,a=0;for(this[e]=255&t;++o<n&&(u*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/u>>0)-a&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=n-1,u=1,a=0;for(this[e+o]=255&t;--o>=0&&(u*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/u>>0)-a&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):U(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,n){return I(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return I(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return j(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return j(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,u=r-n;if(this===t&&n<e&&e<r)for(i=u-1;i>=0;--i)t[i+e]=this[i+n];else if(u<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<u;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+u),e);return u},o.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var u;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(u=e;u<n;++u)this[u]=t;else{var a=o.isBuffer(t)?t:L(new o(t,r).toString()),s=a.length;for(u=0;u<n-e;++u)this[u+e]=a[u%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g}).call(this,n("t3e9"))},d5eL:function(t,e,n){"use strict";n.r(e);var r=n("KHYT"),i=r.g,o=r.j,u=r.h,a=function(t){return t&&t.default?t.default:t},s=function(t){return"/"===t[t.length-1]?t:t+"/"};if("function"==typeof a(n("qVkA"))){var l=document.getElementById("preact_root")||document.body.firstElementChild;0,function(){var t=a(n("qVkA")),e={},r=document.querySelector('[type="__PREACT_CLI_DATA__"]');r&&(e=JSON.parse(decodeURI(r.innerHTML)).preRenderData||e);var c={preRenderData:e},f=e.url?s(e.url):"",h=u&&f===s(location.pathname);l=(h?u:o)(i(t,{CLI_DATA:c}),document.body,l)}()}},jBoo:function(t,e){!function(){function n(t){return c.PF.compile(t||"nplurals=2; plural=(n != 1);")}function r(t,e){this._key=t,this._i18n=e}var i=Array.prototype,o=i.slice,u=Object.prototype.hasOwnProperty,a=i.forEach,s={},l={forEach:function(t,e,n){var r,i,o;if(null!==t)if(a&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length){for(r=0,i=t.length;r<i;r++)if(r in t&&e.call(n,t[r],r,t)===s)return}else for(o in t)if(u.call(t,o)&&e.call(n,t[o],o,t)===s)return},extend:function(t){return this.forEach(o.call(arguments,1),(function(e){for(var n in e)t[n]=e[n]})),t}},c=function(t){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=l.extend({},this.defaults,t),this.textdomain(this.options.domain),t.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+t.domain+"`")};c.context_delimiter=String.fromCharCode(4),l.extend(r.prototype,{onDomain:function(t){return this._domain=t,this},withContext:function(t){return this._context=t,this},ifPlural:function(t,e){return this._val=t,this._pkey=e,this},fetch:function(t){return"[object Array]"!={}.toString.call(t)&&(t=[].slice.call(arguments,0)),(t&&t.length?c.sprintf:function(t){return t})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),t)}}),l.extend(c.prototype,{translate:function(t){return new r(t,this)},textdomain:function(t){if(!t)return this._textdomain;this._textdomain=t},gettext:function(t){return this.dcnpgettext.call(this,void 0,void 0,t)},dgettext:function(t,e){return this.dcnpgettext.call(this,t,void 0,e)},dcgettext:function(t,e){return this.dcnpgettext.call(this,t,void 0,e)},ngettext:function(t,e,n){return this.dcnpgettext.call(this,void 0,void 0,t,e,n)},dngettext:function(t,e,n,r){return this.dcnpgettext.call(this,t,void 0,e,n,r)},dcngettext:function(t,e,n,r){return this.dcnpgettext.call(this,t,void 0,e,n,r)},pgettext:function(t,e){return this.dcnpgettext.call(this,void 0,t,e)},dpgettext:function(t,e,n){return this.dcnpgettext.call(this,t,e,n)},dcpgettext:function(t,e,n){return this.dcnpgettext.call(this,t,e,n)},npgettext:function(t,e,n,r){return this.dcnpgettext.call(this,void 0,t,e,n,r)},dnpgettext:function(t,e,n,r,i){return this.dcnpgettext.call(this,t,e,n,r,i)},dcnpgettext:function(t,e,r,i,o){var u;if(i=i||r,t=t||this._textdomain,!this.options)return(u=new c).dcnpgettext.call(u,void 0,void 0,r,i,o);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[t])throw new Error("Domain `"+t+"` was not found.");if(!this.options.locale_data[t][""])throw new Error("No locale meta information provided.");if(!r)throw new Error("No translation key found.");var a,s,l,f=e?e+c.context_delimiter+r:r,h=this.options.locale_data,_=h[t],p=(h.messages||this.defaults.locale_data.messages)[""],d=_[""].plural_forms||_[""]["Plural-Forms"]||_[""]["plural-forms"]||p.plural_forms||p["Plural-Forms"]||p["plural-forms"];if(void 0===o)l=0;else{if("number"!=typeof o&&(o=parseInt(o,10),isNaN(o)))throw new Error("The number that was passed in is not a number.");l=n(d)(o)}if(!_)throw new Error("No domain named `"+t+"` could be found.");return!(a=_[f])||l>a.length?(this.options.missing_key_callback&&this.options.missing_key_callback(f,t),s=[r,i],!0===this.options.debug&&console.log(s[n(d)(o)]),s[n()(o)]):(s=a[l])||(s=[r,i])[n()(o)]}});var f,h,_=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var n=[];e>0;n[--e]=t);return n.join("")}var n=function t(){return t.cache.hasOwnProperty(arguments[0])||(t.cache[arguments[0]]=t.parse(arguments[0])),t.format.call(null,t.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,o,u,a,s,l,c,f=1,h=n.length,p="",d=[];for(o=0;o<h;o++)if("string"===(p=t(n[o])))d.push(n[o]);else if("array"===p){if((a=n[o])[2])for(i=r[f],u=0;u<a[2].length;u++){if(!i.hasOwnProperty(a[2][u]))throw _('[sprintf] property "%s" does not exist',a[2][u]);i=i[a[2][u]]}else i=a[1]?r[a[1]]:r[f++];if(/[^s]/.test(a[8])&&"number"!=t(i))throw _("[sprintf] expecting number but found %s",t(i));switch(null==i&&(i=""),a[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=a[7]?i.toExponential(a[7]):i.toExponential();break;case"f":i=a[7]?parseFloat(i).toFixed(a[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&a[7]?i.substring(0,a[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(a[8])&&a[3]&&i>=0?"+"+i:i,l=a[4]?"0"==a[4]?"0":a[4].charAt(1):" ",c=a[6]-String(i).length,s=a[6]?e(l,c):"",d.push(a[5]?i+s:s+i)}return d.join("")},n.cache={},n.parse=function(t){for(var e=t,n=[],r=[],i=0;e;){if(null!==(n=/^[^\x25]+/.exec(e)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(e)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(e)))throw"[sprintf] huh?";if(n[2]){i|=1;var o=[],u=n[2],a=[];if(null===(a=/^([a-z_][a-z_\d]*)/i.exec(u)))throw"[sprintf] huh?";for(o.push(a[1]);""!==(u=u.substring(a[0].length));)if(null!==(a=/^\.([a-z_][a-z_\d]*)/i.exec(u)))o.push(a[1]);else{if(null===(a=/^\[(\d+)\]/.exec(u)))throw"[sprintf] huh?";o.push(a[1])}n[2]=o}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}e=e.substring(n[0].length)}return r},n}(),p=function(t,e){return e.unshift(t),_.apply(null,e)};c.parse_plural=function(t,e){return t=t.replace(/n/g,e),c.parse_expression(t)},c.sprintf=function(t,e){return"[object Array]"=={}.toString.call(e)?p(t,[].slice.call(e)):_.apply(this,[].slice.call(arguments))},c.prototype.sprintf=function(){return c.sprintf.apply(this,arguments)},(c.PF={}).parse=function(t){var e=c.PF.extractPluralExpr(t);return c.PF.parser.parse.call(c.PF.parser,e)},c.PF.compile=function(t){var e=c.PF.parse(t);return function(t){return!0===(n=c.PF.interpreter(e)(t))?1:n||0;var n}},c.PF.interpreter=function(t){return function(e){switch(t.type){case"GROUP":return c.PF.interpreter(t.expr)(e);case"TERNARY":return c.PF.interpreter(t.expr)(e)?c.PF.interpreter(t.truthy)(e):c.PF.interpreter(t.falsey)(e);case"OR":return c.PF.interpreter(t.left)(e)||c.PF.interpreter(t.right)(e);case"AND":return c.PF.interpreter(t.left)(e)&&c.PF.interpreter(t.right)(e);case"LT":return c.PF.interpreter(t.left)(e)<c.PF.interpreter(t.right)(e);case"GT":return c.PF.interpreter(t.left)(e)>c.PF.interpreter(t.right)(e);case"LTE":return c.PF.interpreter(t.left)(e)<=c.PF.interpreter(t.right)(e);case"GTE":return c.PF.interpreter(t.left)(e)>=c.PF.interpreter(t.right)(e);case"EQ":return c.PF.interpreter(t.left)(e)==c.PF.interpreter(t.right)(e);case"NEQ":return c.PF.interpreter(t.left)(e)!=c.PF.interpreter(t.right)(e);case"MOD":return c.PF.interpreter(t.left)(e)%c.PF.interpreter(t.right)(e);case"VAR":return e;case"NUM":return t.val;default:throw new Error("Invalid Token found.")}}},c.PF.extractPluralExpr=function(t){t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(t)||(t=t.concat(";"));var e,n=/nplurals\=(\d+);/,r=t.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+t);if(!((e=(t=t.replace(n,"")).match(/plural\=(.*);/))&&e.length>1))throw new Error("`plural` expression not found: "+t);return e[1]},c.PF.parser=(f={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(t,e,n,r,i,o){var u=o.length-1;switch(i){case 1:return{type:"GROUP",expr:o[u-1]};case 2:this.$={type:"TERNARY",expr:o[u-4],truthy:o[u-2],falsey:o[u]};break;case 3:this.$={type:"OR",left:o[u-2],right:o[u]};break;case 4:this.$={type:"AND",left:o[u-2],right:o[u]};break;case 5:this.$={type:"LT",left:o[u-2],right:o[u]};break;case 6:this.$={type:"LTE",left:o[u-2],right:o[u]};break;case 7:this.$={type:"GT",left:o[u-2],right:o[u]};break;case 8:this.$={type:"GTE",left:o[u-2],right:o[u]};break;case 9:this.$={type:"NEQ",left:o[u-2],right:o[u]};break;case 10:this.$={type:"EQ",left:o[u-2],right:o[u]};break;case 11:this.$={type:"MOD",left:o[u-2],right:o[u]};break;case 12:this.$={type:"GROUP",expr:o[u-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(t)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(t){throw new Error(t)},parse:function(t){function e(){var t;return"number"!=typeof(t=n.lexer.lex()||1)&&(t=n.symbols_[t]||t),t}var n=this,r=[0],i=[null],o=[],u=this.table,a="",s=0,l=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var f=this.lexer.yylloc;o.push(f),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,_,p,d,g,y,v,m,w,b={};;){if(this.defaultActions[p=r[r.length-1]]?d=this.defaultActions[p]:(null==h&&(h=e()),d=u[p]&&u[p][h]),void 0===d||!d.length||!d[0]){if(!c){for(y in m=[],u[p])this.terminals_[y]&&y>2&&m.push("'"+this.terminals_[y]+"'");var E="";E=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+m.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(E,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:f,expected:m})}if(3==c){if(1==h)throw new Error(E||"Parsing halted.");l=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,f=this.lexer.yylloc,h=e()}for(;!(2..toString()in u[p]);){if(0==p)throw new Error(E||"Parsing halted.");r.length=r.length-2*(w=1),i.length=i.length-w,o.length=o.length-w,p=r[r.length-1]}_=h,h=2,d=u[p=r[r.length-1]]&&u[p][2],c=3}if(d[0]instanceof Array&&d.length>1)throw new Error("Parse Error: multiple actions possible at state: "+p+", token: "+h);switch(d[0]){case 1:r.push(h),i.push(this.lexer.yytext),o.push(this.lexer.yylloc),r.push(d[1]),h=null,_?(h=_,_=null):(l=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,f=this.lexer.yylloc,c>0&&c--);break;case 2:if(b.$=i[i.length-(v=this.productions_[d[1]][1])],b._$={first_line:o[o.length-(v||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(v||1)].first_column,last_column:o[o.length-1].last_column},void 0!==(g=this.performAction.call(b,a,l,s,this.yy,d[1],i,o)))return g;v&&(r=r.slice(0,-1*v*2),i=i.slice(0,-1*v),o=o.slice(0,-1*v)),r.push(this.productions_[d[1]][0]),i.push(b.$),o.push(b._$),r.push(u[r[r.length-2]][r[r.length-1]]);break;case 3:return!0}}return!0}},h=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parseError)throw new Error(t);this.yy.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.match+=t,this.matched+=t,t.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),t},unput:function(t){return this._input=t+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(t=this._input.match(this.rules[n[r]]))return(e=t[0].match(/\n.*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},performAction:function(t,e,n){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return t}(),f.lexer=h,f),t.exports&&(e=t.exports=c),e.Jed=c}()},kah5:function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},qVkA:function(t,e,n){"use strict";function r(t,e){W.i.__h&&W.i.__h(Y,t,$||e),$=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function i(t){return $=1,o(y,t)}function o(t,e,n){var i=r(N++,2);return i.t=t,i.__c||(i.__=[n?n(e):y(void 0,e),function(t){var e=i.t(i.__[0],t);i.__[0]!==e&&(i.__=[e,i.__[1]],i.__c.setState({}))}],i.__c=Y),i.__}function u(t,e){var n=r(N++,3);!W.i.__s&&g(n.__H,e)&&(n.__=t,n.__H=e,Y.__H.__h.push(n))}function a(t,e){var n=r(N++,4);!W.i.__s&&g(n.__H,e)&&(n.__=t,n.__H=e,Y.__h.push(n))}function s(t){return $=5,l((function(){return{current:t}}),[])}function l(t,e){var n=r(N++,7);return g(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function c(t,e){return $=8,l((function(){return t}),e)}function f(t){var e=Y.context[t.__c],n=r(N++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(Y)),e.props.value):t.__}function h(t,e){W.i.useDebugValue&&W.i.useDebugValue(e?e(t):t)}function _(){V.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(p),t.__H.__h.forEach(d),t.__H.__h=[]}catch(e){t.__H.__h=[],W.i.__e(e,t.__v)}})),V=[]}function p(t){var e=Y;"function"==typeof t.__c&&t.__c(),Y=e}function d(t){var e=Y;t.__c=t.__(),Y=e}function g(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function y(t,e){return"function"==typeof e?e(t):e}function v(t,e){var n=i((function(){return"undefined"!=typeof window&&window.localStorage.getItem(t)||e})),r=n[0],o=n[1];return[r,function(e){var n=e instanceof Function?e(r):e;o(n),"undefined"!=typeof window&&(n?window.localStorage.setItem(t,n):window.localStorage.removeItem(t))}]}function m(t,e){for(var n in e)t[n]=e[n];return t}function w(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}function b(t){this.props=t}function E(){this.__u=0,this.t=null,this.__b=null}function P(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function x(){this.u=null,this.o=null}function k(){}function A(){return this.cancelBubble}function O(){return this.defaultPrevented}function S(t,e,n,r){return new(n||(n=Promise))((function(i,o){function u(t){try{s(r.next(t))}catch(t){o(t)}}function a(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(u,a)}s((r=r.apply(t,e||[])).next())}))}function R(t,e){function n(n){return function(u){return function(n){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,i&&(o=2&n[0]?i.return:n[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,n[1])).done)return o;switch(i=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){a.label=n[1];break}if(6===n[0]&&a.label<o[1]){a.label=o[1],o=n;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(n);break}o[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{r=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,u])}}var r,i,o,u,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u}function T(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}function U(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach((function(e){I(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j(t,e,n){return new Promise((function(r,i){var o,u,a;if(void 0===t)return console.log("Page has a problem: no credentials found in the state."),n((function(t){return C(C({},t),{},{hasError:!0,error:"No credentials found in the state"})})),r();if(void 0===e)return n((function(t){return C(C({},t),{},{hasError:!0,error:"Withdrawal ID wasn't found in the state; cannot confirm it."})})),r();var s=function(t){try{return console.log("Could not POST withdrawal confirmation to the bank",t),n((function(e){return C(C({},e),{},{hasError:!0,error:"Could not confirm the withdrawal: "+t})})),r()}catch(t){return i(t)}};try{return(o=new Headers).append("Authorization","Basic "+re.Buffer.from(t.username+":"+t.password).toString("base64")),o.append("Content-Type","application/json"),u=new URL("access-api/accounts/"+t.username+"/withdrawals/"+e+"/confirm",t.url),Promise.resolve(fetch(u.href,{method:"POST",headers:o})).then((function(t){try{return a=t,function(){try{return a.ok?(console.log("Withdrawal operation confirmed!"),n((function(t){delete t.talerWithdrawUri;return C(C({},T(t,ie)),{},{withdrawalOutcome:"Withdrawal confirmed!"})})),r()):(console.log("Withdrawal confirmation gave response error ("+a.status+")",a.statusText),n((function(t){return C(C({},t),{},{hasError:!0,error:"Withdrawal confirmation gave response error ("+a.status+")"})})),r())}catch(t){return i(t)}}()}catch(t){return s(t)}}),s)}catch(t){s(t)}}))}function B(t,e,n){return new Promise((function(r,i){var o,u,a,s;if(void 0===e)return console.log("Page has a problem: no credentials found in the state."),n((function(t){return C(C({},t),{},{hasError:!0,error:"No credentials found in the state"})})),r();var l=function(t){try{return console.log("Could not POST withdrawal request to the bank",t),n((function(e){return C(C({},e),{},{hasError:!0,error:"Could not create withdrawal operation: "+t})})),r()}catch(t){return i(t)}};try{return(o=new Headers).append("Authorization","Basic "+re.Buffer.from(e.username+":"+e.password).toString("base64")),o.append("Content-Type","application/json"),u=new URL("access-api/accounts/"+e.username+"/withdrawals",e.url),Promise.resolve(fetch(u.href,{method:"POST",headers:o,body:JSON.stringify({amount:t})})).then((function(t){try{return a=t,function(){try{return a.ok?(console.log("Withdrawal operation created!"),Promise.resolve(a.json()).then(function(e){try{return s=e,n((function(t){return C(C({},t),{},{withdrawalInProgress:!0,talerWithdrawUri:s.taler_withdraw_uri,withdrawalId:s.withdrawal_id})})),t.call(this)}catch(t){return i(t)}}.bind(this),i)):(console.log("Withdrawal creation gave response error ("+a.status+")",a.statusText),n((function(t){return C(C({},t),{},{hasError:!0,error:"Withdrawal creation gave response error ("+a.status+")"})})),r());function t(){return r()}}catch(t){return i(t)}}()}catch(t){return l(t)}}),l)}catch(t){l(t)}}))}function L(t,e,n){return new Promise((function(r,i){var o,u,a,s,l;(o=ue()).endsWith("/")||(o+="/"),(u=new Headers).append("Content-Type","application/json"),a=new URL("access-api/testing/register",o);var c=function(t){try{return console.log("Could not POST new registration to the bank",t),n((function(t){return C(C({},t),{},{hasError:!0})})),r()}catch(t){return i(t)}};try{return Promise.resolve(fetch(a.href,{method:"POST",body:JSON.stringify(t),headers:u})).then((function(u){try{return s=u,function(){try{return s.ok?(console.log("Credentials are valid"),n((function(t){return C(C({},t),{},{isLoggedIn:!0})})),e((function(e){return C(C({},e),{},{url:o,username:t.username,password:t.password})})),u.call(this)):Promise.resolve(s.text()).then(function(t){try{return l=t,console.log("New registration gave response error ("+s.status+")",s.statusText),n((function(t){return C(C({},t),{},{hasError:!0,error:l})})),u.call(this)}catch(t){return i(t)}}.bind(this),i);function u(){return r()}}catch(t){return i(t)}}()}catch(t){return c(t)}}),c)}catch(t){c(t)}}))}function F(t){var e=t.withdrawalOutcome,n=t.talerWithdrawUri,r=ne("access-api/accounts/"+t.accountLabel),i=r.data,o=r.error;if(console.log("account data",i),console.log("account error",o),void 0!==o)switch(o.status){case 404:return Object(W.g)("p",null,"Username was not found");case 401:return Object(W.g)("p",null,"Wrong credentials given");default:return Object(W.g)("p",null,"Account information could not be retrieved.")}return i?e?Object(W.g)("div",null,Object(W.g)("p",null,e),t.children):n?Object(W.g)("div",null,Object(W.g)("p",null,"Give this address to the Taler wallet: ",n),t.children):Object(W.g)("div",null,Object(W.g)("p",null,"Your balance is ",i.balance.amount,"."),t.children):Object(W.g)("p",null,"Retrieving the profile page...")}function D(t){var e=t.username,n=t.password,r=t.backendUrl,i=new Headers;return i.append("Authorization","Basic "+re.Buffer.from(e+":"+n).toString("base64")),console.log("Likely backend base URL",r),Object(W.g)(ee,{value:{fetcher:function(t){return fetch(r+t||"",{headers:i}).then((function(t){if(!t.ok)throw{status:t.status,json:t.json()};return t.json()}))}}},t.children)}function M(){var t,e,n=t?i(t):i(),r=n[0],o=n[1],u=function(t){return void 0===t&&(t={isLoggedIn:!1,hasError:!1,withdrawalInProgress:!1}),i(t)}(),a=u[0],s=u[1];!function(t){t?i(t):i()}();return a.hasError?Object(W.g)("p",null,"Page has a problem: ",a.error):a.isLoggedIn?void 0===r?(s((function(t){return C(C({},t),{},{hasError:!0})})),Object(W.g)("p",null,"Page has a problem: logged in but backend state is lost.")):Object(W.g)(D,{username:r.username,password:r.password,backendUrl:r.url},Object(W.g)(F,{withdrawalOutcome:a.withdrawalOutcome,talerWithdrawUri:a.talerWithdrawUri,accountLabel:r.username},!a.withdrawalInProgress&&Object(W.g)("button",{onClick:function(){B("EUR:5",r,s)}},"Charge Taler wallet"),a.withdrawalOutcome&&Object(W.g)("button",{onClick:function(){s((function(t){return C(C({},T(t,oe)),{},{withdrawalInProgress:!1})}))}},"Close"),a.talerWithdrawUri&&Object(W.g)("button",{onClick:function(){j(r,a.withdrawalId,s)}},"Confirm withdrawal"))):Object(W.g)("div",null,Object(W.g)("input",{type:"text",placeholder:"username",required:!0,onInput:function(t){e=C(C({},e),{},{username:t.currentTarget.value})}}),Object(W.g)("input",{type:"text",placeholder:"password",required:!0,onInput:function(t){e=C(C({},e),{},{password:t.currentTarget.value})}}),Object(W.g)("button",{onClick:function(){L(e,o,s)}},"Sign up"),Object(W.g)("button",{onClick:function(){!function(t,e,n){new Promise((function(r){return n((function(t){return C(C({},t),{},{isLoggedIn:!0})})),e((function(e){return C(C({},e),{},{url:ue(),username:t.username,password:t.password})})),r()}))}(e,o,s)}},"Sign in"))}n.r(e);var N,Y,H,W=n("KHYT"),$=0,V=[],z=W.i.__b,q=W.i.__r,G=W.i.diffed,X=W.i.__c,J=W.i.unmount;W.i.__b=function(t){Y=null,z&&z(t)},W.i.__r=function(t){q&&q(t),N=0;var e=(Y=t.__c).__H;e&&(e.__h.forEach(p),e.__h.forEach(d),e.__h=[])},W.i.diffed=function(t){G&&G(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(1!==V.push(e)&&H===W.i.requestAnimationFrame||((H=W.i.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),K&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);K&&(e=requestAnimationFrame(n))})(_)),Y=null},W.i.__c=function(t,e){e.some((function(t){try{t.__h.forEach(p),t.__h=t.__h.filter((function(t){return!t.__||d(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],W.i.__e(n,t.__v)}})),X&&X(t,e)},W.i.unmount=function(t){J&&J(t);var e=t.__c;if(e&&e.__H)try{e.__H.__.forEach(p)}catch(t){W.i.__e(t,e.__v)}};var K="function"==typeof requestAnimationFrame,Q=n("jBoo"),Z={de:{domain:"messages",locale_data:{messages:{"":{domain:"messages",plural_forms:"nplurals=2; plural=(n != 1);",lang:""}}}},en:{domain:"messages",locale_data:{messages:{"":{domain:"messages",plural_forms:"nplurals=2; plural=(n != 1);",lang:""}}}}},tt=Object(W.d)({lang:"en",handler:null,changeLanguage:function(){}}),et=function(t){var e=t.children,n=t.forceLang,r=function(t){return v("lang-preference",(("undefined"!=typeof window?navigator.language||navigator.userLanguage:void 0)||t||"en").substring(0,2))}(t.initial),i=r[0],o=r[1];u((function(){n&&o(n)}));var a=new Q.Jed(Z[i]||Z.en);return Object(W.g)(tt.Provider,{value:{lang:i,handler:a,changeLanguage:o},children:e})};(b.prototype=new W.a).isPureReactComponent=!0,b.prototype.shouldComponentUpdate=function(t,e){return w(this.props,t)||w(this.state,e)};var nt=W.i.__b;W.i.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),nt&&nt(t)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var rt=W.i.__e;W.i.__e=function(t,e,n){if(t.then)for(var r,i=e;i=i.__;)if((r=i.__c)&&r.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e);rt(t,e,n)};var it=W.i.unmount;W.i.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&!0===t.__h&&(t.type=null),it&&it(t)},(E.prototype=new W.a).__c=function(t,e){var n=e.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=P(r.__v),o=!1,u=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=u;var a=function(){if(!--r.__u){if(r.state.__e){var t=r.state.__e;r.__v.__k[0]=function t(e,n,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)})),e.__c&&e.__c.__P===n&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}(t,t.__c.__P,t.__c.__O)}var e;for(r.setState({__e:r.__b=null});e=r.t.pop();)e.forceUpdate()}},s=!0===e.__h;r.__u++||s||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(u,u)},E.prototype.componentWillUnmount=function(){this.t=[]},E.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function t(e,n,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),e.__c.__H=null),null!=(e=m({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)}))),e}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=e.__e&&Object(W.e)(W.b,null,t.fallback);return i&&(i.__h=null),[Object(W.e)(W.b,null,e.__e?null:t.children),i]};var ot=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};(x.prototype=new W.a).__e=function(t){var e=this,n=P(e.__v),r=e.o.get(t);return r[0]++,function(i){var o=function(){e.props.revealOrder?(r.push(i),ot(e,t,r)):i()};n?n(o):o()}},x.prototype.render=function(t){this.u=null,this.o=new Map;var e=Object(W.k)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},x.prototype.componentDidUpdate=x.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(e,n){ot(t,n,e)}))};var ut="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,at=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,st="undefined"!=typeof document,lt=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};W.a.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(W.a.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var ct=W.i.event;W.i.event=function(t){return ct&&(t=ct(t)),t.persist=k,t.isPropagationStopped=A,t.isDefaultPrevented=O,t.nativeEvent=t};var ft={configurable:!0,get:function(){return this.class}},ht=W.i.vnode;W.i.vnode=function(t){var e=t.type,n=t.props,r=n;if("string"==typeof e){var i=-1===e.indexOf("-");for(var o in r={},n){var u=n[o];st&&"children"===o&&"noscript"===e||"value"===o&&"defaultValue"in n&&null==u||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===u?u="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!lt(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():i&&at.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===u&&(u=void 0),r[o]=u)}"select"==e&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(W.k)(n.children).forEach((function(t){t.props.selected=-1!=r.value.indexOf(t.props.value)}))),"select"==e&&null!=r.defaultValue&&(r.value=Object(W.k)(n.children).forEach((function(t){t.props.selected=r.multiple?-1!=r.defaultValue.indexOf(t.props.value):r.defaultValue==t.props.value}))),t.props=r,n.class!=n.className&&(ft.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ft))}t.$$typeof=ut,ht&&ht(t)};var _t=W.i.__r;W.i.__r=function(t){_t&&_t(t),t.__c};var pt,dt=function(){},gt=dt(),yt=Object,vt=function(t){return t===gt},mt=function(t){return"function"==typeof t},wt=function(t,e){return yt.assign({},t,e)},bt=function(){return"undefined"!=typeof window},Et=new WeakMap,Pt=0,xt=function t(e){var n,r,i=typeof e,o=e&&e.constructor,u=o==Date;if(yt(e)!==e||u||o==RegExp)n=u?e.toJSON():"symbol"==i?e.toString():"string"==i?JSON.stringify(e):""+e;else{if(n=Et.get(e))return n;if(n=++Pt+"~",Et.set(e,n),o==Array){for(n="@",r=0;r<e.length;r++)n+=t(e[r])+",";Et.set(e,n)}if(o==yt){n="#";for(var a=yt.keys(e).sort();!vt(r=a.pop());)vt(e[r])||(n+=r+":"+t(e[r])+",");Et.set(e,n)}}return n},kt=!0,At=bt(),Ot="undefined"!=typeof document,St=At&&window.addEventListener?window.addEventListener.bind(window):dt,Rt=Ot?document.addEventListener.bind(document):dt,Tt=At&&window.removeEventListener?window.removeEventListener.bind(window):dt,Ut=Ot?document.removeEventListener.bind(document):dt,Ct={isOnline:function(){return kt},isVisible:function(){var t=Ot&&document.visibilityState;return!!vt(t)||"hidden"!==t}},It={initFocus:function(t){return Rt("visibilitychange",t),St("focus",t),function(){Ut("visibilitychange",t),Tt("focus",t)}},initReconnect:function(t){var e=function(){kt=!0,t()},n=function(){kt=!1};return St("online",e),St("offline",n),function(){Tt("online",e),Tt("offline",n)}}},jt=!bt()||"Deno"in window,Bt=jt?u:a,Lt="undefined"!=typeof navigator&&navigator.connection,Ft=!jt&&Lt&&(["slow-2g","2g"].includes(Lt.effectiveType)||Lt.saveData),Dt=function(t){if(mt(t))try{t=t()}catch(e){t=""}var e=[].concat(t);return[t="string"==typeof t?t:(Array.isArray(t)?t.length:t)?xt(t):"",e,t?"$err$"+t:"",t?"$req$"+t:""]},Mt=new WeakMap,Nt=function(t,e,n,r,i,o){for(var u=Mt.get(t),a=u[4],s=u[5],l=u[0][e],c=u[1][e]||[],f=0;f<c.length;++f)c[f](n,r,i);return o&&(delete a[e],delete s[e],l&&l[0])?l[0](2).then((function(){return t.get(e)})):t.get(e)},Yt=0,Ht=function(){return++Yt},Wt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return S(void 0,void 0,void 0,(function(){var e,n,r,i,o,u,a,s,l,c,f,h,_;return R(this,(function(p){switch(p.label){case 0:if(e=t[0],n=!1!==t[3],r=t[2],i=Dt(t[1]),u=i[2],!(o=i[0]))return[2];if(a=Mt.get(e),s=a[2],l=a[3],t.length<3)return[2,Nt(e,o,e.get(o),e.get(u),gt,n)];if(h=s[o]=Ht(),l[o]=0,mt(r))try{r=r(e.get(o))}catch(t){f=t}return r&&mt(r.then)?[4,r.catch((function(t){f=t}))]:[3,2];case 1:if(c=p.sent(),h!==s[o]){if(f)throw f;return[2,c]}return[3,3];case 2:c=r,p.label=3;case 3:return f||e.set(o,c),e.set(u,f),l[o]=Ht(),[4,Nt(e,o,c,f,gt,n)];case 4:if(_=p.sent(),f)throw f;return[2,_]}}))}))},$t=function(t,e){for(var n in t)t[n][0]&&t[n][0](e)},Vt=function(t,e){if(!Mt.has(t)){var n=wt(It,e),r={},i=Wt.bind(gt,t),o=dt;if(Mt.set(t,[r,{},{},{},{},{},i]),!jt){var u=n.initFocus($t.bind(gt,r,0)),a=n.initReconnect($t.bind(gt,r,1));o=function(){u&&u(),a&&a(),Mt.delete(t)}}return[t,i,o]}return[t,Mt.get(t)[6]]},zt=Vt(new Map),qt=zt[0],Gt=wt({onLoadingSlow:dt,onSuccess:dt,onError:dt,onErrorRetry:function(t,e,n,r,i){if(Ct.isVisible()){var o=n.errorRetryCount,u=i.retryCount,a=~~((Math.random()+.5)*(1<<(u<8?u:8)))*n.errorRetryInterval;!vt(o)&&u>o||setTimeout(r,a,i)}},onDiscarded:dt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ft?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:Ft?5e3:3e3,compare:function(t,e){return xt(t)==xt(e)},isPaused:function(){return!1},cache:qt,mutate:zt[1],fallback:{}},Ct),Xt=function(t,e){var n=wt(t,e);if(e){var r=t.use,i=t.fallback,o=e.use,u=e.fallback;r&&o&&(n.use=r.concat(o)),i&&u&&(n.fallback=wt(i,u))}return n},Jt=Object(W.d)({}),Kt=function(t){return mt(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(null===t[1]?t[2]:t[1])||{}]},Qt=function(){return wt(Gt,f(Jt))},Zt=function(t,e,n){var r=e[t]||(e[t]=[]);return r.push(n),function(){var t=r.indexOf(n);t>=0&&(r[t]=r[r.length-1],r.pop())}},te={dedupe:!0},ee=yt.defineProperty((function(t){var e=t.value,n=Xt(f(Jt),e),r=e&&e.provider,o=i((function(){return r?Vt(r(n.cache||qt),e):gt}))[0];return o&&(n.cache=o[0],n.mutate=o[1]),Bt((function(){return o?o[2]:gt}),[]),Object(W.e)(Jt.Provider,wt(t,{value:n}))}),"default",{value:Gt}),ne=(pt=function(t,e,n){var r=n.cache,o=n.compare,u=n.fallbackData,a=n.suspense,l=n.revalidateOnMount,f=n.refreshInterval,_=n.refreshWhenHidden,p=n.refreshWhenOffline,d=Mt.get(r),g=d[0],y=d[1],v=d[2],m=d[3],w=d[4],b=d[5],E=Dt(t),P=E[0],x=E[1],k=E[2],A=E[3],O=s(!1),T=s(!1),U=s(P),C=s(n),I=function(){return C.current},j=r.get(P),B=vt(u)?n.fallback[P]:u,L=vt(j)?B:j,F=r.get(k),D=function(){return vt(l)?!I().isPaused()&&(a?!vt(L):vt(L)||n.revalidateIfStale):l},M=!(!P||!e)&&(!!r.get(A)||!O.current&&D()),N=function(t,e){var n=i({})[1],r=s(t),o=s({data:!1,error:!1,isValidating:!1}),u=c((function(t){var i=!1,u=r.current;for(var a in t){var s=a;u[s]!==t[s]&&(u[s]=t[s],o.current[s]&&(i=!0))}i&&!e.current&&n({})}),[]);return Bt((function(){r.current=t})),[r,o.current,u]}({data:L,error:F,isValidating:M},T),Y=N[0],H=N[1],W=N[2],$=c((function(t){return S(void 0,void 0,void 0,(function(){var i,u,a,s,l,c,f,h,_,p;return R(this,(function(d){switch(d.label){case 0:if(!P||!e||T.current||I().isPaused())return[2,!1];a=!0,s=t||{},l=vt(w[P])||!s.dedupe,c=function(){return!T.current&&P===U.current&&O.current},f=function(){b[P]===u&&(delete w[P],delete b[P])},h={isValidating:!1},_=function(){r.set(A,!1),c()&&W(h)},r.set(A,!0),W({isValidating:!0}),d.label=1;case 1:return d.trys.push([1,3,,4]),l&&(Nt(r,P,Y.current.data,Y.current.error,!0),n.loadingTimeout&&!r.get(P)&&setTimeout((function(){a&&c()&&I().onLoadingSlow(P,n)}),n.loadingTimeout),b[P]=Ht(),w[P]=e.apply(void 0,x)),u=b[P],[4,w[P]];case 2:return i=d.sent(),l&&setTimeout(f,n.dedupingInterval),b[P]!==u?(l&&c()&&I().onDiscarded(P),[2,!1]):(r.set(k,gt),h.error=gt,!vt(v[P])&&(u<=v[P]||u<=m[P]||0===m[P])?(_(),l&&c()&&I().onDiscarded(P),[2,!1]):(o(Y.current.data,i)||(h.data=i),o(r.get(P),i)||r.set(P,i),l&&c()&&I().onSuccess(i,P,n),[3,4]));case 3:return p=d.sent(),f(),I().isPaused()||(r.set(k,p),h.error=p,l&&c()&&(I().onError(p,P,n),n.shouldRetryOnError&&I().onErrorRetry(p,P,n,$,{retryCount:(s.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return a=!1,_(),c()&&l&&Nt(r,P,h.data,h.error,!1),[2,!0]}}))}))}),[P]),V=c(Wt.bind(gt,r,(function(){return U.current})),[]);if(Bt((function(){C.current=n})),Bt((function(){if(P){var t=O.current,e=$.bind(gt,te),n=function(){return I().isVisible()&&I().isOnline()},r=0,i=Zt(P,y,(function(t,e,n){W(wt({error:e,isValidating:n},o(Y.current.data,t)?gt:{data:t}))})),u=Zt(P,g,(function(t){if(0==t){var i=Date.now();I().revalidateOnFocus&&i>r&&n()&&(r=i+I().focusThrottleInterval,e())}else if(1==t)I().revalidateOnReconnect&&n()&&e();else if(2==t)return $()}));return T.current=!1,U.current=P,O.current=!0,t&&W({data:L,error:F,isValidating:M}),D()&&(vt(L)||jt?e():function(t){bt()?window.requestAnimationFrame(t):setTimeout(t,1)}(e)),function(){T.current=!0,i(),u()}}}),[P,$]),Bt((function(){function t(){f&&-1!==n&&(n=setTimeout(e,f))}function e(){Y.current.error||!_&&!I().isVisible()||!p&&!I().isOnline()?t():$(te).then(t)}var n;return t(),function(){n&&(clearTimeout(n),n=-1)}}),[f,_,p,$]),h(L),a&&vt(L))throw vt(F)?$(te):F;return{mutate:V,get data(){return H.data=!0,L},get error(){return H.error=!0,F},get isValidating(){return H.isValidating=!0,M}}},function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Qt(),r=Kt(t),i=r[0],o=r[1],u=r[2],a=Xt(n,u),s=pt,l=a.use;if(l)for(var c=l.length;c-- >0;)s=l[c](s);return s(i,o||a.fetcher,a)}),re=n("XaFX"),ie=["talerWithdrawUri"],oe=["withdrawalOutcome"],ue=function(){return void 0!==typeof window?window.location.origin+window.location.pathname:"/"};e.default=function(){return Object(W.g)(et,null,Object(W.g)(M,null))}},t3e9:function(t){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e}});
+//# sourceMappingURL=bundle.bca04.js.map</script></body></html> \ No newline at end of file