diff --git a/asset-manifest.json b/asset-manifest.json index 2daa1ef..4d1c3f5 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,10 +1,10 @@ { "files": { - "main.js": "./static/js/main.cd351624.js", + "main.js": "./static/js/main.93bff1ce.js", "index.html": "./index.html", - "main.cd351624.js.map": "./static/js/main.cd351624.js.map" + "main.93bff1ce.js.map": "./static/js/main.93bff1ce.js.map" }, "entrypoints": [ - "static/js/main.cd351624.js" + "static/js/main.93bff1ce.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 5e6431e..d62de08 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
0&&a(u)?r>1?e(u,r-1,a,i,s):n(s,u):i||(s[s.length]=u)}return s}},85099:function(e,t,r){var n=r(30372)();e.exports=n},98667:function(e,t,r){var n=r(43082),o=r(69793);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&ro?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n P(i,r))void 0!==l&&0>P(l,i)?(e[n]=l,e[s]=r,n=s):(e[n]=i,e[a]=r,n=a);else{if(!(void 0!==l&&0>P(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function P(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var E=[],_=[],Z=1,j=null,C=3,R=!1,T=!1,A=!1;function I(e){for(var t=O(_);null!==t;){if(null===t.callback)k(_);else{if(!(t.startTime<=e))break;k(_),t.sortIndex=t.expirationTime,S(E,t)}t=O(_)}}function M(e){if(A=!1,I(e),!T)if(null!==O(E))T=!0,r(N);else{var t=O(_);null!==t&&n(M,t.startTime-e)}}function N(e,r){T=!1,A&&(A=!1,o()),R=!0;var a=C;try{for(I(r),j=O(E);null!==j&&(!(j.expirationTime>r)||e&&!t.unstable_shouldYield());){var i=j.callback;if("function"===typeof i){j.callback=null,C=j.priorityLevel;var s=i(j.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?j.callback=s:j===O(E)&&k(E),I(r)}else k(E);j=O(E)}if(null!==j)var l=!0;else{var c=O(_);null!==c&&n(M,c.startTime-r),l=!1}return l}finally{j=null,C=a,R=!1}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){T||R||(T=!0,r(N))},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return O(E)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var r=C;C=t;try{return e()}finally{C=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=C;C=e;try{return t()}finally{C=r}},t.unstable_scheduleCallback=function(e,a,i){var s=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0s?(e.sortIndex=i,S(_,e),null===O(E)&&e===O(_)&&(A?o():A=!0,n(M,i-s))):(e.sortIndex=l,S(E,e),T||R||(T=!0,r(N))),e},t.unstable_wrapCallback=function(e){var t=C;return function(){var r=C;C=t;try{return e.apply(this,arguments)}finally{C=r}}}},45296:function(e,t,r){"use strict";e.exports=r(36813)},70845:function(e){"use strict";e.exports=function(e,t){if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},40499:function(e){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())}))}},52466:function(e,t,r){"use strict";var n=r(45243),o=r(20344),a=r(44037)("String.prototype.replace"),i=/^\s$/.test("\u180e"),s=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,l=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;e.exports=function(){var e=o(n(this));return a(a(e,s,""),l,"")}},95849:function(e,t,r){"use strict";var n=r(19722),o=r(9396),a=r(45243),i=r(52466),s=r(68310),l=r(33666),c=n(s()),u=function(e){return a(e),c(e)};o(u,{getPolyfill:s,implementation:i,shim:l}),e.exports=u},68310:function(e,t,r){"use strict";var n=r(52466),o="\u180e";e.exports=function(){return String.prototype.trim&&"\u200b"==="\u200b".trim()&&o.trim()===o&&"_\u180e"==="_\u180e".trim()&&"\u180e_"==="\u180e_".trim()?String.prototype.trim:n}},33666:function(e,t,r){"use strict";var n=r(9396),o=r(68310);e.exports=function(){var e=o();return n(String.prototype,{trim:e},{trim:function(){return String.prototype.trim!==e}}),e}},42391:function(e){"use strict";var t=function(){};e.exports=t},24654:function(){},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r 0&&a(u)?r>1?e(u,r-1,a,i,s):n(s,u):i||(s[s.length]=u)}return s}},85099:function(e,t,r){var n=r(30372)();e.exports=n},98667:function(e,t,r){var n=r(43082),o=r(69793);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&ro?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},20511:function(e,t,r){var n=r(38384);e.exports=function(){this.__data__=new n,this.size=0}},50835:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},90707:function(e){e.exports=function(e){return this.__data__.get(e)}},18832:function(e){e.exports=function(e){return this.__data__.has(e)}},35077:function(e,t,r){var n=r(38384),o=r(95797),a=r(78059);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},77167:function(e){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n2){if(!c[e])return[e];e=c[e]}var t=e.split(""),r=(0,n.Z)(t,2),o=r[0],a=r[1],i=s[o],u=l[a]||"";return Array.isArray(u)?u.map((function(e){return i+e})):[i+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function m(e,t,r,n){var o,i=null!=(o=(0,a.DW)(e,t,!1))?o:r;return"number"===typeof i?function(e){return"string"===typeof e?e:i*e}:Array.isArray(i)?function(e){return"string"===typeof e?e:i[e]}:"function"===typeof i?i:function(){}}function v(e){return m(e,"spacing",8)}function h(e,t){if("string"===typeof t||null==t)return t;var r=e(Math.abs(t));return t>=0?r:"number"===typeof r?-r:"-".concat(r)}function y(e,t,r,n){if(-1===t.indexOf(r))return null;var a=function(e,t){return function(r){return e.reduce((function(e,n){return e[n]=h(t,r),e}),{})}}(u(r),n),i=e[r];return(0,o.k9)(e,i,a)}function g(e,t){var r=v(e.theme);return Object.keys(e).map((function(n){return y(e,t,n,r)})).reduce(i.Z,{})}function b(e){return g(e,d)}function x(e){return g(e,f)}function w(e){return g(e,p)}b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p},83230:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return s}});var n=r(4942),o=r(79634),a=r(18574);function i(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&r){var n="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=n)return n}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function s(e,t,r){var n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"===typeof e?e(r):Array.isArray(e)?e[r]||o:i(e,r)||o,t&&(n=t(n,o,e)),n}t.ZP=function(e){var t=e.prop,r=e.cssProperty,l=void 0===r?e.prop:r,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var r=e[t],d=i(e.theme,c)||{};return(0,a.k9)(e,r,(function(e){var r=s(d,u,e);return e===r&&"string"===typeof e&&(r=s(d,u,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===l?r:(0,n.Z)({},l,r)}))};return d.propTypes={},d.filterProps=[t],d}},67390:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});var n=r(25332),o=r(83230),a=r(35981);var i=function(){for(var e=arguments.length,t=new Array(e),r=0;r received a React element as `filter` props. If you intended to set the list filter elements, use the `filters` (with an s) prop instead. The `filter` prop is internal and should not be set by the developer.");var w=rl(),S=rr(),O=AS({debounce:n,disableSyncWithLocation:a,filterDefaultValues:c,perPage:d,resource:g,sort:h,storeKey:y}),k=O[0],P=O[1],E=PS(g),_=E[0],Z=E[1],j=function(t,r,n){void 0===r&&(r={});var o=r.pagination,a=void 0===o?{page:1,perPage:25}:o,i=r.sort,s=void 0===i?{field:"id",order:"DESC"}:i,l=r.filter,c=void 0===l?{}:l,u=r.meta,d=nS(),f=(0,v.useQueryClient)(),p=(0,v.useQuery)([t,"getList",{pagination:a,sort:s,filter:c,meta:u}],(function(){return d.getList(t,{pagination:a,sort:s,filter:c,meta:u}).then((function(e){return{data:e.data,total:e.total,pageInfo:e.pageInfo}}))}),oS(oS({},n),{onSuccess:function(e){(null===e||void 0===e?void 0:e.data)&&e.data.length<=100&&e.data.forEach((function(e){f.setQueryData([t,"getOne",{id:String(e.id),meta:u}],(function(t){return null!==t&&void 0!==t?t:e}))})),(null===n||void 0===n?void 0:n.onSuccess)&&n.onSuccess(e)}}));return(0,e.useMemo)((function(){var e,t,r;return p.data?oS(oS({},p),{data:null===(e=p.data)||void 0===e?void 0:e.data,total:null===(t=p.data)||void 0===t?void 0:t.total,pageInfo:null===(r=p.data)||void 0===r?void 0:r.pageInfo}):p}),[p])}(g,{pagination:{page:k.page,perPage:k.perPage},sort:{field:k.sort,order:k.order},filter:VS(VS({},k.filter),l),meta:b},VS({keepPreviousData:!0,retry:!1,onError:function(e){return S((null===e||void 0===e?void 0:e.message)||"ra.notification.http_error",{type:"error",messageArgs:{_:null===e||void 0===e?void 0:e.message}})}},x)),C=j.data,R=j.pageInfo,T=j.total,A=j.error,I=j.isLoading,M=j.isFetching,N=j.refetch;(0,e.useEffect)((function(){if(k.page<=0||!M&&k.page>1&&(null==C||0===(null===C||void 0===C?void 0:C.length)))P.setPage(1);else if(null!=T){var e=Math.ceil(T/k.perPage)||1;!M&&k.page>e&&P.setPage(e)}}),[M,k.page,k.perPage,C,P,T]);var F=(0,e.useMemo)((function(){return{field:k.sort,order:k.order}}),[k.sort,k.order]),L=w("ra.page.list",{name:Xf()(g,2)});return{sort:F,data:C,defaultTitle:L,displayedFilters:k.displayedFilters,error:A,exporter:s,filter:l,filterValues:k.filterValues,hideFilter:P.hideFilter,isFetching:M,isLoading:I,onSelect:Z.select,onToggleItem:Z.toggle,onUnselectItems:Z.clearSelection,page:k.page,perPage:k.perPage,refetch:N,resource:g,selectedIds:_,setFilters:P.setFilters,setPage:P.setPage,setPerPage:P.setPerPage,setSort:P.setSort,showFilter:P.showFilter,total:T,hasNextPage:R?R.hasNextPage:null!=T?k.page*k.perPage
prop to be set");var E=i.filter((function(e){return!e.props.alwaysOn&&!p[e.props.source]&&"undefined"===typeof Nt()(m,e.props.source)})),_=(0,e.useCallback)((function(e){e.preventDefault(),k(!0),P.current=e.currentTarget}),[P,k]),Z=(0,e.useCallback)((function(){k(!1)}),[k]),j=(0,e.useCallback)((function(e){var t=e.source,r=e.defaultValue;y(t,""===r?void 0:r),setTimeout((function(){var e=document.querySelector("input[name='".concat(t,"']"));e&&e.focus()}),50),k(!1)}),[y,k]),C=(0,e.useState)(!1),R=C[0],T=C[1],A=(0,e.useState)(!1),I=A[0],M=A[1],N=function(){k(!1),M(!0)};return 0!==E.length||0!==x.length||b?e.createElement(T_,Z_({className:n},R_(a)),e.createElement(Hv,{className:"add-filter",label:"ra.action.add_filter","aria-haspopup":"true",onClick:_},e.createElement(x_.Z,null)),e.createElement(ju,{open:O,anchorEl:P.current,onClose:Z},E.map((function(t,r){return e.createElement(w_,{key:t.props.source,filter:t,resource:s,onShow:j,autoFocus:0===r})})),x.map((function(t,r){return Gt()(t.value,{filter:m,sort:g,perPage:v,displayedFilters:p})?e.createElement(ud,{onClick:N,key:r},l("ra.saved_queries.remove_label_with_name",{_:'Remove query "%{name}"',name:t.label})):e.createElement(ud,{onClick:function(){u({search:(0,Ew.stringify)({filter:JSON.stringify(t.value.filter),sort:t.value.sort.field,order:t.value.sort.order,page:1,perPage:t.value.perPage,displayedFilters:JSON.stringify(t.value.displayedFilters)})}),k(!1)},key:r},t.label)})),b&&!w&&!o&&e.createElement(ud,{onClick:function(){k(!1),T(!0)}},l("ra.saved_queries.new_label",{_:"Save current query..."})),b&&e.createElement(ud,{onClick:function(){h({},{},!1),k(!1)}},l("ra.action.remove_all_filters",{_:"Remove all filters"}))),!o&&e.createElement(e.Fragment,null,e.createElement(P_,{open:R,onClose:function(){T(!1)}}),e.createElement(__,{open:I,onClose:function(){M(!1)}}))):null},R_=function(e){e.displayedFilters,e.filterValues,e.showFilter;return j_(e,["displayedFilters","filterValues","showFilter"])};C_.propTypes={resource:lo().string,filters:lo().arrayOf(lo().node),displayedFilters:lo().object,filterValues:lo().object,showFilter:lo().func,className:lo().string};var T_=(0,Kn.ZP)("div",{name:"RaFilterButton",overridesResolver:function(e,t){return t.root}})({display:"inline-block"}),A_=function(){return A_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r
0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},20511:function(e,t,r){var n=r(38384);e.exports=function(){this.__data__=new n,this.size=0}},50835:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},90707:function(e){e.exports=function(e){return this.__data__.get(e)}},18832:function(e){e.exports=function(e){return this.__data__.has(e)}},35077:function(e,t,r){var n=r(38384),o=r(95797),a=r(78059);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},77167:function(e){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n