(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[4],{115:function(t,e,r){r(248),t.exports=self.fetch.bind(self)},119:function(t,e,r){"use strict";var n=r(3),a=r(40),o=r(44),i=r(41),c=r(0),s=r(39),u=r.n(s),f=r(220),l=r(76),d=r(58),p=r(81),h=r(95),b=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a0?D[0]/-2:void 0,q=D[1]>0?D[1]/-2:void 0;if(k&&(U.marginLeft=k,U.marginRight=k),B){var M=Object(i.a)(D,2);U.rowGap=M[1]}else q&&(U.marginTop=q,U.marginBottom=q);var F=c.useMemo((function(){return{gutter:D,wrap:j,supportFlexGap:B}}),[D,j,B]);return c.createElement(l.a.Provider,{value:F},c.createElement("div",Object(n.a)({},w,{className:I,style:Object(n.a)(Object(n.a)({},U),m),ref:e}),x))})));y.displayName="Row",e.a=y},121:function(t,e,r){var n=r(62),a=r(64);t.exports=function(t){return"symbol"==typeof t||a(t)&&"[object Symbol]"==n(t)}},122:function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},123:function(t,e,r){var n=r(257),a=r(122),o=r(259);t.exports=function(t){return a(t)?o(t):n(t)}},124:function(t,e,r){var n=r(206),a=r(69),o=r(121),i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=c.test(t);return r||s.test(t)?u(t.slice(2),r?2:8):i.test(t)?NaN:+t}},203:function(t,e,r){var n=r(253),a=r(204),o=r(255),i=r(122),c=r(123),s=r(260),u=Math.ceil;t.exports=function(t,e){var r=(e=void 0===e?" ":a(e)).length;if(r<2)return r?n(e,t):e;var f=n(e,u(t/c(e)));return i(e)?o(s(f),0,t).join(""):f.slice(0,t)}},204:function(t,e,r){var n=r(63),a=r(254),o=r(71),i=r(121),c=n?n.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return a(e,t)+"";if(i(e))return s?s.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},205:function(t,e,r){var n=r(263);t.exports=function(t){var e=n(t),r=e%1;return e===e?r?e-r:e:0}},206:function(t,e,r){var n=r(207),a=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(a,""):t}},207:function(t,e){var r=/\s/;t.exports=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}},208:function(t,e,r){var n=r(204);t.exports=function(t){return null==t?"":n(t)}},248:function(t,e,r){"use strict";r.r(e),r.d(e,"Headers",(function(){return h})),r.d(e,"Request",(function(){return g})),r.d(e,"Response",(function(){return E})),r.d(e,"DOMException",(function(){return T})),r.d(e,"fetch",(function(){return C}));var n="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof self&&self||"undefined"!==typeof n&&n,a="URLSearchParams"in n,o="Symbol"in n&&"iterator"in Symbol,i="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(t){return!1}}(),c="FormData"in n,s="ArrayBuffer"in n;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&u.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!==typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function d(t){return"string"!==typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function b(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function y(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function v(t){var e=new FileReader,r=y(e);return e.readAsArrayBuffer(t),r}function m(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"===typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:c&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:a&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():s&&i&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=m(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=m(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"===typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=b(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(v)}),this.text=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=y(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?e:t}(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),("GET"===this.method||"HEAD"===this.method)&&("no-store"===e.cache||"no-cache"===e.cache)){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function j(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(a))}})),e}function w(t){var e=new h;return t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var a=r.join(":").trim();e.append(n,a)}})),e}function E(t,e){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new h(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},x.call(g.prototype),x.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},E.error=function(){var t=new E(null,{status:0,statusText:""});return t.type="error",t};var A=[301,302,303,307,308];E.redirect=function(t,e){if(-1===A.indexOf(e))throw new RangeError("Invalid status code");return new E(null,{status:e,headers:{location:t}})};var T=n.DOMException;try{new T}catch(N){(T=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function C(t,e){return new Promise((function(r,a){var o=new g(t,e);if(o.signal&&o.signal.aborted)return a(new T("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}c.onload=function(){var t={status:c.status,statusText:c.statusText,headers:w(c.getAllResponseHeaders()||"")};t.url="responseURL"in c?c.responseURL:t.headers.get("X-Request-URL");var e="response"in c?c.response:c.responseText;setTimeout((function(){r(new E(e,t))}),0)},c.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){a(new T("Aborted","AbortError"))}),0)},c.open(o.method,function(t){try{return""===t&&n.location.href?n.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?c.withCredentials=!0:"omit"===o.credentials&&(c.withCredentials=!1),"responseType"in c&&(i?c.responseType="blob":s&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!e||"object"!==typeof e.headers||e.headers instanceof h?o.headers.forEach((function(t,e){c.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){c.setRequestHeader(t,d(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&o.signal.removeEventListener("abort",u)}),c.send("undefined"===typeof o._bodyInit?null:o._bodyInit)}))}C.polyfill=!0,n.fetch||(n.fetch=C,n.Headers=h,n.Request=g,n.Response=E)},252:function(t,e,r){var n=r(203),a=r(123),o=r(205),i=r(208);t.exports=function(t,e,r){t=i(t);var c=(e=o(e))?a(t):0;return e&&c9007199254740991)return n;do{e%2&&(n+=t),(e=r(e/2))&&(t+=t)}while(e);return n}},254:function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,a=Array(n);++r=a?t:n(t,e,r)}},256:function(t,e){t.exports=function(t,e,r){var n=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(r=r>a?a:r)<0&&(r+=a),a=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(a);++n=Date.now()?t.startTimer():t.stopTimer()},t.startTimer=function(){if(!t.countdownId){var e=t.props,r=e.onChange,n=L(e.value);t.countdownId=window.setInterval((function(){t.forceUpdate(),r&&n>Date.now()&&r(n-Date.now())}),F)}},t.stopTimer=function(){var e=t.props,r=e.onFinish,n=e.value;if(t.countdownId){clearInterval(t.countdownId),t.countdownId=void 0;var a=L(n);r&&a=1},subscribe:function(t){return c.size||this.register(),s+=1,c.set(s,t),t(u),s},unsubscribe:function(t){c.delete(t),c.size||this.unregister()},unregister:function(){var t=this;Object.keys(i).forEach((function(e){var r=i[e],n=t.matchHandlers[r];null===n||void 0===n||n.mql.removeListener(null===n||void 0===n?void 0:n.listener)})),c.clear()},register:function(){var t=this;Object.keys(i).forEach((function(e){var r=i[e],o=function(r){var o=r.matches;t.dispatch(Object(a.a)(Object(a.a)({},u),Object(n.a)({},e,o)))},c=window.matchMedia(r);c.addListener(o),t.matchHandlers[r]={mql:c,listener:o},o(c)}))}};e.a=f},84:function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(24))},91:function(t,e,r){"use strict";var n=r(40),a=r(3),o=r(44),i=r(0),c=r(39),s=r.n(c),u=r(76),f=r(220),l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a0){var D=y[0]/2;R.paddingLeft=D,R.paddingRight=D}if(y&&y[1]>0&&!m){var I=y[1]/2;R.paddingTop=I,R.paddingBottom=I}return C&&(R.flex=function(t){return"number"===typeof t?"".concat(t," ").concat(t," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(t)?"0 0 ".concat(t):t}(C),"auto"!==C||!1!==v||R.minWidth||(R.minWidth=0)),i.createElement("div",Object(a.a)({},P,{style:Object(a.a)(Object(a.a)({},R),N),className:S,ref:e}),T)}));p.displayName="Col",e.a=p},95:function(t,e,r){"use strict";var n,a=r(41),o=r(0),i=r(87),c=function(){return Object(i.a)()&&window.document.documentElement};e.a=function(){var t=o.useState(!1),e=Object(a.a)(t,2),r=e[0],i=e[1];return o.useEffect((function(){i(function(){if(!c())return!1;if(void 0!==n)return n;var t=document.createElement("div");return t.style.display="flex",t.style.flexDirection="column",t.style.rowGap="1px",t.appendChild(document.createElement("div")),t.appendChild(document.createElement("div")),document.body.appendChild(t),n=1===t.scrollHeight,document.body.removeChild(t),n}())}),[]),r}},96:function(t,e,r){var n=r(63),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,c=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,c),r=t[c];try{t[c]=void 0;var n=!0}catch(s){}var a=i.call(t);return n&&(e?t[c]=r:delete t[c]),a}},97:function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}}}]);