beancount-gs/public/static/js/475.25294e0d.chunk.js

1 line
48 KiB
JavaScript
Raw Normal View History

2024-10-29 05:40:39 +00:00
"use strict";(self.webpackChunkbeancount_web=self.webpackChunkbeancount_web||[]).push([[475],{1893:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(9379),i=n(9284);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var u=n(3768),a=function(e,t){return i.createElement(u.A,(0,o.A)((0,o.A)({},e),{},{ref:t,icon:r}))};const s=i.forwardRef(a)},6542:(e,t,n)=>{n.d(t,{L:()=>u,v:()=>a});var o=n(4467),i=n(4480),r=n.n(i);(0,n(993).P)("warning","error","");function u(e,t,n){return r()((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},"".concat(e,"-status-success"),"success"===t),"".concat(e,"-status-warning"),"warning"===t),"".concat(e,"-status-error"),"error"===t),"".concat(e,"-status-validating"),"validating"===t),"".concat(e,"-has-feedback"),n))}var a=function(e,t){return t||e}},2773:(e,t,n)=>{n.d(t,{A:()=>C});var o=n(8168),i=n(9284),r=n(4650),u=(n(2042),n(9379)),a=n(2284),s=n(7652),c=n(7095),l=i.createContext(null);var f=n(9919),p=new Map;var d=new f.A((function(e){e.forEach((function(e){var t,n=e.target;null===(t=p.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var h=n(3029),v=n(2901),m=n(5501),g=n(9426),w=function(e){(0,m.A)(n,e);var t=(0,g.A)(n);function n(){return(0,h.A)(this,n),t.apply(this,arguments)}return(0,v.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(i.Component);function y(e,t){var n=e.children,o=e.disabled,r=i.useRef(null),f=i.useRef(null),h=i.useContext(l),v="function"===typeof n,m=v?n(r):n,g=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),y=!v&&i.isValidElement(m)&&(0,c.f3)(m),b=y?m.ref:null,A=(0,c.xK)(b,r),M=function(){var e;return(0,s.Ay)(r.current)||(r.current&&"object"===(0,a.A)(r.current)?(0,s.Ay)(null===(e=r.current)||void 0===e?void 0:e.nativeElement):null)||(0,s.Ay)(f.current)};i.useImperativeHandle(t,(function(){return M()}));var C=i.useRef(e);C.current=e;var x=i.useCallback((function(e){var t=C.current,n=t.onResize,o=t.data,i=e.getBoundingClientRect(),r=i.width,a=i.height,s=e.offsetWidth,c=e.offsetHeight,l=Math.floor(r),f=Math.floor(a);if(g.current.width!==l||g.current.height!==f||g.current.offsetWidth!==s||g.current.offsetHeight!==c){var p={width:l,height:f,offsetWidth:s,offsetHeight:c};g.current=p;var d=s===Math.round(r)?r:s,v=c===Math.round(a)?a:c,m=(0,u.A)((0,u.A)({},p),{},{offsetWidth:d,offsetHeight:v});null===h||void 0===h||h(m,e,o),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return i.useEffect((function(){var e,t,n=M();return n&&!o&&(e=n,t=x,p.has(e)||(p.set(e,new Set),d.observe(e)),p.get(e).add(t)),function(){return function(e,t){p.has(e)&&(p.get(e).delete(t),p.get(e).size||(d.unobserve(e),p.delete(e)))}(n,x)}}),[r.current,o]),i.createElement(w,{ref:f},y?i.cloneElement(m,{ref:A}):m)}const b=i.forwardRef(y);function A(e,t){var n=e.children;return("function"===typeof n?[n]:(0,r.A)(n)).map((function(n,r){var u=(null===n||void 0===n?void 0:n.key)||"".concat("rc-observer-key","-").concat(r);return i.createElement(b,(0,o.A)({},e,{key:u,ref:0===r?t:void 0}),n)}))}var M=i.forwardRef(A);M.Collection=function(e){var t=e.children,n=e.onBatchResize,o=i.useRef(0),r=i.useRef([]),u=i.useContext(l),a=i.useCallback((function(e,t,i){o.current+=1;var a=o.current;r.current.push({size:e,element:t,data:i}),Promise.resolve().then((function(){a===o.current&&(null===n||void 0===n||n(r.current),r.current=[])})),null===u||void 0===u||u(e,t,i)}),[n,u]);return i.createElement(l.Provider,{value:a},t)};const C=M},9772:(e,t,n)=>{n.d(t,{A:()=>it});var o=n(9379),i=n(8168),r=n(3029),u=n(29