diff --git a/asset-manifest.json b/asset-manifest.json index a06ae89..ab576c7 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,10 +1,10 @@ { "files": { - "main.js": "./static/js/main.9e904fff.js", + "main.js": "./static/js/main.eef9c5cd.js", "index.html": "./index.html", - "main.9e904fff.js.map": "./static/js/main.9e904fff.js.map" + "main.eef9c5cd.js.map": "./static/js/main.eef9c5cd.js.map" }, "entrypoints": [ - "static/js/main.9e904fff.js" + "static/js/main.eef9c5cd.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 4f7315b..c3149f9 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
0&&a(c)?n>1?e(c,n-1,a,i,s):r(s,c):i||(s[s.length]=c)}return s}},5099:function(e,t,n){var r=n(372)();e.exports=r},8667:function(e,t,n){var r=n(3082),o=n(9793);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n=200){var h=t?null:s(e);if(h)return l(h);f=!1,c=i,m=new r}else m=t?[]:p;e:for(;++u 0&&a(c)?n>1?e(c,n-1,a,i,s):r(s,c):i||(s[s.length]=c)}return s}},5099:function(e,t,n){var r=n(372)();e.exports=r},8667:function(e,t,n){var r=n(3082),o=n(9793);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n=200){var h=t?null:s(e);if(h)return l(h);f=!1,c=i,m=new r}else m=t?[]:p;e:for(;++u0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),a=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},7167:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++ra}var yf="undefined"!==typeof window?window:null;var gf=n(812);function bf(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,i=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");a=parseInt(s[4],10),i=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(a-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-a,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(i-r.top,"px)"):"translateY(-".concat(r.top+r.height-i,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var wf={enter:gf.x9.enteringScreen,exit:gf.x9.leavingScreen},xf=e.forwardRef((function(n,r){var o=n.children,a=n.direction,i=void 0===a?"down":a,s=n.in,l=n.onEnter,u=n.onEntered,c=n.onEntering,d=n.onExit,f=n.onExited,p=n.onExiting,m=n.style,h=n.timeout,v=void 0===h?wf:h,y=n.TransitionComponent,g=void 0===y?Yl:y,w=(0,Sl.Z)(n,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),x=Ql(),E=e.useRef(null),S=e.useCallback((function(e){E.current=t.findDOMNode(e)}),[]),O=(0,eu.Z)(o.ref,S),_=(0,eu.Z)(O,r),k=function(e){return function(t){e&&(void 0===t?e(E.current):e(E.current,t))}},P=k((function(e,t){bf(i,e),Jl(e),l&&l(e,t)})),j=k((function(e,t){var n=Xl({timeout:v,style:m},{mode:"enter"});e.style.webkitTransition=x.transitions.create("-webkit-transform",(0,b.Z)({},n,{easing:x.transitions.easing.easeOut})),e.style.transition=x.transitions.create("transform",(0,b.Z)({},n,{easing:x.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",c&&c(e,t)})),C=k(u),R=k(p),T=k((function(e){var t=Xl({timeout:v,style:m},{mode:"exit"});e.style.webkitTransition=x.transitions.create("-webkit-transform",(0,b.Z)({},t,{easing:x.transitions.easing.sharp})),e.style.transition=x.transitions.create("transform",(0,b.Z)({},t,{easing:x.transitions.easing.sharp})),bf(i,e),d&&d(e)})),N=k((function(e){e.style.webkitTransition="",e.style.transition="",f&&f(e)})),A=e.useCallback((function(){E.current&&bf(i,E.current)}),[i]);return e.useEffect((function(){if(!s&&"down"!==i&&"right"!==i){var e=(0,Od.Z)((function(){E.current&&bf(i,E.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[i,s]),e.useEffect((function(){s||A()}),[s,A]),e.createElement(g,(0,b.Z)({nodeRef:E,onEnter:P,onEntered:C,onEntering:j,onExit:T,onExited:N,onExiting:R,appear:!0,in:s,timeout:v},w),(function(t,n){return e.cloneElement(o,(0,b.Z)({ref:_,style:(0,b.Z)({visibility:"exited"!==t||s?void 0:"hidden"},m,o.props.style)},n))}))})),Ef=xf;function Sf(t){var n=t.children,r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getTrigger,r=void 0===n?vf:n,o=t.target,a=void 0===o?yf:o,i=(0,Sl.Z)(t,["getTrigger","target"]),s=e.useRef(),l=e.useState((function(){return r(s,i)})),u=l[0],c=l[1];return e.useEffect((function(){var e=function(){c(r(s,(0,b.Z)({target:a},i)))};return e(),a.addEventListener("scroll",e),function(){a.removeEventListener("scroll",e)}}),[a,r,JSON.stringify(i)]),u}();return e.createElement(Ef,{appear:!1,direction:"down",in:!r},n)}Sf.propTypes={children:d().node.isRequired};var Of=Sf,_f=function(){return _f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n 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 y=l(),g=Fs(),b=hg({resource:v,filterDefaultValues:a,sort:u,perPage:d,debounce:m,syncWithLocation:h}),w=b[0],x=b[1],E=yg(v),S=E[0],O=E[1],_=function(t,n,r,o,a){var i=JSON.stringify({pagination:n,sort:r,filter:o}),s=(0,e.useRef)({}),l=Xg({type:"getList",resource:t,payload:{pagination:n,sort:r,filter:o}},a,(function(e){var n=Bf()(e.admin.resources,[t,"list","cachedRequests",i,"ids"]),r=Bf()(e.admin.resources,[t,"list","cachedRequests",i,"total"]),o=Bf()(e.admin.resources,[t,"list","ids"]),a=Bf()(e.admin.resources,[t,"list","total"]),l="undefined"===typeof n?o:n,u="undefined"===typeof r?a:r,c=Bf()(e.admin.resources,[t,"data"],tb);if(s.current.finalIds!==l||s.current.finalTotal!==u||s.current.allRecords!==c){var d={finalIds:l,finalTotal:u,allRecords:c};s.current={finalIds:l,finalTotal:u,allRecords:c,result:d}}return s.current.result}),(function(){return null}),nb),u=l.data,c=u.finalIds,d=u.finalTotal,f=u.allRecords,p=l.error,m=l.loading,h=l.loaded,v=l.refetch;return{data:(0,e.useMemo)((function(){return"undefined"===typeof c?tb:c.map((function(e){return f[e]})).reduce((function(e,t){return t?(e[t.id]=t,e):e}),{})}),[c,f]),ids:"undefined"===typeof c?eb:c,total:d,error:p,loading:m,loaded:h,refetch:v}}(v,{page:w.page,perPage:w.perPage},{field:w.sort,order:w.order},sb(sb({},w.filter),f),{action:ga,onFailure:function(e){return g("string"===typeof e?e:e.message||"ra.notification.http_error",{type:"warning",messageArgs:{_:"string"===typeof e?e:e&&e.message?e.message:void 0}})}}),k=_.ids,P=_.data,j=_.total,C=_.error,R=_.loading,T=_.loaded,N=_.refetch,A=Math.ceil(j/w.perPage)||1;return(0,e.useEffect)((function(){w.page<=0||!R&&w.page>1&&0===k.length?x.setPage(1):!R&&w.page>A&&x.setPage(A)}),[R,w.page,k,x,j,A]),{basePath:n,currentSort:(0,e.useMemo)((function(){return{field:w.sort,order:w.order}}),[w.sort,w.order]),data:P,defaultTitle:y("ra.page.list",{name:Yf()(v,2)}),displayedFilters:w.displayedFilters,error:C,exporter:o,filter:f,filterValues:w.filterValues,hasCreate:i,hideFilter:x.hideFilter,ids:k,loaded:T||k.length>0,loading:R,onSelect:O.select,onToggleItem:O.toggle,onUnselectItems:O.clearSelection,page:w.page,perPage:w.perPage,refetch:N,resource:v,selectedIds:S,setFilters:x.setFilters,setPage:x.setPage,setPerPage:x.setPerPage,setSort:x.setSort,showFilter:x.showFilter,total:j}},fb=e.forwardRef((function(t,n){var r=t.children,o=t.classes,a=t.className,i=t.color,s=void 0===i?"default":i,l=t.component,u=void 0===l?"button":l,c=t.disabled,d=void 0!==c&&c,f=t.disableFocusRipple,p=void 0!==f&&f,m=t.focusVisibleClassName,h=t.size,v=void 0===h?"large":h,y=t.variant,g=void 0===y?"circular":y,w=(0,Sl.Z)(t,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return e.createElement($c,(0,b.Z)({className:(0,Ol.default)(o.root,a,"large"!==v&&o["size".concat((0,_l.Z)(v))],d&&o.disabled,"extended"===g&&o.extended,{primary:o.primary,secondary:o.secondary,inherit:o.colorInherit}[s]),component:u,disabled:d,focusRipple:!p,focusVisibleClassName:(0,Ol.default)(o.focusVisible,m),ref:n},w),e.createElement("span",{className:o.label},r))})),pb=(0,hl.Z)((function(e){return{root:(0,b.Z)({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$focusVisible":{boxShadow:e.shadows[6]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(fb),mb=n(3459),hb=function(){return hb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n
-1},de.prototype.set=function(e,t){var n=this.__data__,r=ve(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},fe.prototype.clear=function(){this.__data__={hash:new ce,map:new(J||de),string:new ce}},fe.prototype.delete=function(e){return xe(this,e).delete(e)},fe.prototype.get=function(e){return xe(this,e).get(e)},fe.prototype.has=function(e){return xe(this,e).has(e)},fe.prototype.set=function(e,t){return xe(this,e).set(e,t),this},pe.prototype.add=pe.prototype.push=function(e){return this.__data__.set(e,r),this},pe.prototype.has=function(e){return this.__data__.has(e)},me.prototype.clear=function(){this.__data__=new de},me.prototype.delete=function(e){return this.__data__.delete(e)},me.prototype.get=function(e){return this.__data__.get(e)},me.prototype.has=function(e){return this.__data__.has(e)},me.prototype.set=function(e,t){var n=this.__data__;if(n instanceof de){var r=n.__data__;if(!J||r.length<199)return r.push([e,t]),this;n=this.__data__=new fe(r)}return n.set(e,t),this};var Se=function(e){return $.call(e)};function Oe(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),a=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},7167:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r