From 887adb1231f70c4b936952e7822305d9d38ffaff Mon Sep 17 00:00:00 2001 From: Joel Falknau Date: Sat, 31 Aug 2024 21:28:48 +1000 Subject: [PATCH] remove unneeded react --- frontend/README.md | 70 ------ frontend/build/asset-manifest.json | 13 -- frontend/build/index.html | 1 - frontend/build/static/css/main.ec2c1bf0.css | 2 - .../build/static/css/main.ec2c1bf0.css.map | 1 - frontend/build/static/js/main.60529e75.js | 3 - .../static/js/main.60529e75.js.LICENSE.txt | 73 ------- frontend/build/static/js/main.60529e75.js.map | 1 - frontend/package.json | 51 ----- frontend/public/index.html | 43 ---- frontend/src/apis/Dashboard.js | 21 -- frontend/src/components/DashTable.js | 135 ------------ frontend/src/components/ErrorLoader.js | 26 --- frontend/src/components/EveImages.js | 34 --- .../components/OpenCharacterButtonGroup.js | 16 -- frontend/src/components/OpenInGameButton.js | 17 -- frontend/src/components/PanelLoader.css | 81 ------- frontend/src/components/PanelLoader.js | 10 - frontend/src/components/StagingFilters.js | 48 ----- frontend/src/index.css | 199 ------------------ frontend/src/index.js | 22 -- 21 files changed, 867 deletions(-) delete mode 100644 frontend/README.md delete mode 100644 frontend/build/asset-manifest.json delete mode 100644 frontend/build/index.html delete mode 100644 frontend/build/static/css/main.ec2c1bf0.css delete mode 100644 frontend/build/static/css/main.ec2c1bf0.css.map delete mode 100644 frontend/build/static/js/main.60529e75.js delete mode 100644 frontend/build/static/js/main.60529e75.js.LICENSE.txt delete mode 100644 frontend/build/static/js/main.60529e75.js.map delete mode 100644 frontend/package.json delete mode 100644 frontend/public/index.html delete mode 100644 frontend/src/apis/Dashboard.js delete mode 100644 frontend/src/components/DashTable.js delete mode 100644 frontend/src/components/ErrorLoader.js delete mode 100644 frontend/src/components/EveImages.js delete mode 100644 frontend/src/components/OpenCharacterButtonGroup.js delete mode 100644 frontend/src/components/OpenInGameButton.js delete mode 100644 frontend/src/components/PanelLoader.css delete mode 100644 frontend/src/components/PanelLoader.js delete mode 100644 frontend/src/components/StagingFilters.js delete mode 100644 frontend/src/index.css delete mode 100644 frontend/src/index.js diff --git a/frontend/README.md b/frontend/README.md deleted file mode 100644 index c0541f9..0000000 --- a/frontend/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# Getting Started with Create React App - -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). - -## Available Scripts - -In the project directory, you can run: - -### `yarn start` - -Runs the app in the development mode.\ -Open [http://localhost:3000](http://localhost:3000) to view it in your browser. - -The page will reload when you make changes.\ -You may also see any lint errors in the console. - -### `yarn test` - -Launches the test runner in the interactive watch mode.\ -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -### `yarn build` - -Builds the app for production to the `build` folder.\ -It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.\ -Your app is ready to be deployed! - -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. - -### `yarn eject` - -**Note: this is a one-way operation. Once you `eject`, you can't go back!** - -If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. - -You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. - -## Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). - -### Code Splitting - -This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) - -### Analyzing the Bundle Size - -This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) - -### Making a Progressive Web App - -This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) - -### Advanced Configuration - -This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) - -### Deployment - -This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) - -### `yarn build` fails to minify - -This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) diff --git a/frontend/build/asset-manifest.json b/frontend/build/asset-manifest.json deleted file mode 100644 index 0c33ec6..0000000 --- a/frontend/build/asset-manifest.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "files": { - "main.css": "/static/css/main.ec2c1bf0.css", - "main.js": "/static/js/main.60529e75.js", - "index.html": "/index.html", - "main.ec2c1bf0.css.map": "/static/css/main.ec2c1bf0.css.map", - "main.60529e75.js.map": "/static/js/main.60529e75.js.map" - }, - "entrypoints": [ - "static/css/main.ec2c1bf0.css", - "static/js/main.60529e75.js" - ] -} diff --git a/frontend/build/index.html b/frontend/build/index.html deleted file mode 100644 index 6256bab..0000000 --- a/frontend/build/index.html +++ /dev/null @@ -1 +0,0 @@ -React Dev Auth? WTF!
diff --git a/frontend/build/static/css/main.ec2c1bf0.css b/frontend/build/static/css/main.ec2c1bf0.css deleted file mode 100644 index 85d3a0d..0000000 --- a/frontend/build/static/css/main.ec2c1bf0.css +++ /dev/null @@ -1,2 +0,0 @@ -*{margin:0;padding:0}.flex{align-items:center;display:flex;height:80px}.child{margin-right:20px}.child-end{margin-left:auto}.fill-width{overflow:auto}.float-left{float:left}.flex-container{align-items:center;flex-wrap:wrap}.flex-container,.flex-container-pull-right{align-content:center;display:flex;flex-direction:row;justify-content:center}.flex-container-pull-right{align-items:flex-end}.flex-container-vert-fill{align-content:stretch;align-items:stretch;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center}.flex-child{margin:10px}.spinner-size{height:30px;margin:200px;width:30px}.char-portrait{margin:auto;position:relative}.corp-logo{left:0}.alli-logo,.corp-logo{bottom:0;margin:5px;position:absolute}.alli-logo{right:0}.flex-body{align-items:center}.table-div{height:250px;overflow-y:overlay;width:400px}.table-div::-webkit-scrollbar{background:transparent;width:3}.table-div::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#375a7f4b;border-left:15px solid transparent}table tbbody tr td{vertical-align:middle!important}.no-wrap{white-space:nowrap}@media only screen and (max-width:1600px){.info-hide{display:none}}@media only screen and (max-width:1400px){.association-hide{display:none}}.btn-group.special{display:flex}.special .btn{background-color:initial;border:1px solid #f0ad4e;color:inherit;flex:1 1}.no-grow{background:#f0ad4e!important;color:#fff;flex-grow:0!important}.lds-ripple{display:inline-block;height:80px;position:relative;width:80px}.lds-ripple div{-webkit-animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #888;border-radius:50%;opacity:1;position:absolute}.lds-ripple div:nth-child(2){-webkit-animation-delay:-.5s;animation-delay:-.5s}@-webkit-keyframes lds-ripple{0%{height:0;left:36px;opacity:1;top:36px;width:0}to{height:72px;left:0;opacity:0;top:0;width:72px}}@keyframes lds-ripple{0%{height:0;left:36px;opacity:1;top:36px;width:0}to{height:72px;left:0;opacity:0;top:0;width:72px}}.flex-label-container{align-content:stretch;align-items:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start}.flex-label{margin:2px}.flex-select{flex:1 1;margin:2px}.flex-select-size{width:300px} -/*# sourceMappingURL=main.ec2c1bf0.css.map*/ diff --git a/frontend/build/static/css/main.ec2c1bf0.css.map b/frontend/build/static/css/main.ec2c1bf0.css.map deleted file mode 100644 index f5298a8..0000000 --- a/frontend/build/static/css/main.ec2c1bf0.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.ec2c1bf0.css","mappings":"AAAA,EACE,QAAS,CACT,SACF,CAEA,MAGE,kBAAmB,CAFnB,YAAa,CACb,WAEF,CAEA,OACE,iBACF,CAEA,WACE,gBACF,CACA,YACE,aACF,CACA,YACE,UACF,CACA,gBAEE,kBAAmB,CAGnB,cAEF,CAEA,2CALE,oBAAqB,CAHrB,YAAa,CAKb,kBAAmB,CAHnB,sBAYF,CANA,2BAEE,oBAIF,CAEA,0BAIE,qBAAsB,CAFtB,mBAAoB,CADpB,YAAa,CAKb,qBAAsB,CADtB,cAAe,CAFf,sBAIF,CAEA,YAEE,WACF,CAEA,cACE,WAAY,CAEZ,YAAa,CADb,UAEF,CAEA,eAIE,WAAY,CADZ,iBAEF,CAEA,WAGE,MAEF,CAEA,sBALE,QAAS,CAET,UAAW,CAHX,iBAWF,CALA,WAGE,OAEF,CAEA,WACE,kBACF,CAEA,WACE,YAAa,CAEb,kBAAmB,CADnB,WAEF,CAEA,8BAEE,sBAAuB,CADvB,OAEF,CAGA,oCAGE,2BAA4B,CAF5B,0BAA2B,CAC3B,kCAEF,CAEA,mBACE,+BACF,CACA,SACE,kBACF,CAKA,0CACE,WACE,YACF,CACF,CAKA,0CACE,kBACE,YACF,CACF,CAEA,mBACE,YACF,CAEA,cAIE,wBAA6B,CAD7B,wBAAyB,CADzB,aAAc,CADd,QAIF,CAEA,SAEE,4BAA8B,CAC9B,UAAY,CAFZ,qBAGF,CAEA,YACE,oBAAqB,CAGrB,WAAY,CAFZ,iBAAkB,CAClB,UAEF,CACA,gBAKE,gEAA8D,CAA9D,wDAA8D,CAH9D,qBAAoC,CAEpC,iBAAkB,CADlB,SAAU,CAFV,iBAKF,CACA,6BACE,4BAAsB,CAAtB,oBACF,CACA,8BACE,GAIE,QAAS,CAFT,SAAU,CAGV,SAAU,CAJV,QAAS,CAET,OAGF,CACA,GAIE,WAAY,CAFZ,MAAS,CAGT,SAAU,CAJV,KAAQ,CAER,UAGF,CACF,CAfA,sBACE,GAIE,QAAS,CAFT,SAAU,CAGV,SAAU,CAJV,QAAS,CAET,OAGF,CACA,GAIE,WAAY,CAFZ,MAAS,CAGT,SAAU,CAJV,KAAQ,CAER,UAGF,CACF,CAEA,sBAME,qBAAsB,CADtB,mBAAoB,CAJpB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,0BAGF,CAEA,YACE,UACF,CACA,aACE,QAAO,CACP,UACF,CAEA,kBACE,WACF","sources":["index.css"],"sourcesContent":["* {\n margin: 0;\n padding: 0;\n}\n\n.flex {\n display: flex;\n height: 80px;\n align-items: center;\n}\n\n.child {\n margin-right: 20px;\n}\n\n.child-end {\n margin-left: auto;\n}\n.fill-width {\n overflow: auto;\n}\n.float-left {\n float: left; /* [1] */\n}\n.flex-container {\n display: flex;\n align-items: center;\n justify-content: center;\n align-content: center;\n flex-wrap: wrap;\n flex-direction: row;\n}\n\n.flex-container-pull-right {\n display: flex;\n align-items: flex-end;\n justify-content: center;\n align-content: center;\n flex-direction: row;\n}\n\n.flex-container-vert-fill {\n display: flex;\n align-items: stretch;\n justify-content: center;\n align-content: stretch;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.flex-child {\n /*width: 33%;*/\n margin: 10px;\n}\n\n.spinner-size {\n height: 30px;\n width: 30px;\n margin: 200px;\n}\n\n.char-portrait {\n /*width: 512px;\n height: 512px;*/\n position: relative;\n margin: auto;\n}\n\n.corp-logo {\n position: absolute;\n bottom: 0;\n left: 0;\n margin: 5px;\n}\n\n.alli-logo {\n position: absolute;\n bottom: 0;\n right: 0;\n margin: 5px;\n}\n\n.flex-body {\n align-items: center;\n}\n\n.table-div {\n height: 250px;\n width: 400px;\n overflow-y: overlay;\n}\n\n.table-div::-webkit-scrollbar {\n width: 3; /* Remove scrollbar space */\n background: transparent; /* Optional: just make scrollbar invisible */\n}\n\n/* Optional: show position indicator in red */\n.table-div::-webkit-scrollbar-thumb {\n background-color: #375a7f4b;\n border-left: 15px solid transparent;\n background-clip: padding-box;\n}\n\ntable tbbody tr td {\n vertical-align: middle !important;\n}\n.no-wrap {\n white-space: nowrap;\n}\n\n.info-hide {\n}\n\n@media only screen and (max-width: 1600px) {\n .info-hide {\n display: none;\n }\n}\n\n.association-hide {\n}\n\n@media only screen and (max-width: 1400px) {\n .association-hide {\n display: none;\n }\n}\n\n.btn-group.special {\n display: flex;\n}\n\n.special .btn {\n flex: 1;\n color: inherit;\n border: 1px solid #f0ad4e;\n background-color: transparent;\n}\n\n.no-grow {\n flex-grow: 0 !important;\n background: #f0ad4e !important;\n color: white;\n}\n\n.lds-ripple {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n}\n.lds-ripple div {\n position: absolute;\n border: 4px solid rgb(136, 136, 136);\n opacity: 1;\n border-radius: 50%;\n animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;\n}\n.lds-ripple div:nth-child(2) {\n animation-delay: -0.5s;\n}\n@keyframes lds-ripple {\n 0% {\n top: 36px;\n left: 36px;\n width: 0;\n height: 0;\n opacity: 1;\n }\n 100% {\n top: 0px;\n left: 0px;\n width: 72px;\n height: 72px;\n opacity: 0;\n }\n}\n\n.flex-label-container {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: stretch;\n align-content: stretch;\n}\n\n.flex-label {\n margin: 2px;\n}\n.flex-select {\n flex: 1;\n margin: 2px;\n}\n\n.flex-select-size {\n width: 300px;\n}\n"],"names":[],"sourceRoot":""} diff --git a/frontend/build/static/js/main.60529e75.js b/frontend/build/static/js/main.60529e75.js deleted file mode 100644 index 0bd4f37..0000000 --- a/frontend/build/static/js/main.60529e75.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.60529e75.js.LICENSE.txt */ -!function(){var e={9023:function(e,t,n){var r=n(7424).default,o=n(215).default,i=n(4062).default,a=n(4704).default,u=n(861).default,l=n(8416).default,s=n(2122).default;!function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var c=n(t);function f(e,t){return"function"==typeof e?e(t):e}function d(e,t){return function(n){t.setState((function(t){return s(s({},t),{},l({},e,f(n,t[e])))}))}}function p(e){return e instanceof Function}function h(e,t){var n=[],r=function e(r){r.forEach((function(r){n.push(r);var o=t(r);null!=o&&o.length&&e(o)}))};return r(e),n}function m(e,t,n){var r,o=[];return function(){var i;n.key&&n.debug&&(i=Date.now());var a,l=e();if(l.length===o.length&&!l.some((function(e,t){return o[t]!==e})))return r;if(o=l,n.key&&n.debug&&(a=Date.now()),r=t.apply(void 0,u(l)),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){var s=Math.round(100*(Date.now()-i))/100,c=Math.round(100*(Date.now()-a))/100,f=c/16,d=function(e,t){for(e=String(e);e.length0&&e(a,o-1)},f=t.map((function(e,t){return v(n,e,{depth:a,index:t})}));c(f,a-1),s.reverse();var d=function e(t){return t.filter((function(e){return e.column.getIsVisible()})).map((function(t){var n=0,r=0,o=[0];return t.subHeaders&&t.subHeaders.length?(o=[],e(t.subHeaders).forEach((function(e){var t=e.colSpan,r=e.rowSpan;n+=t,o.push(r)}))):n=1,r+=Math.min.apply(Math,u(o)),t.colSpan=n,t.rowSpan=r,{colSpan:n,rowSpan:r}}))};return d(null!=(o=null==(i=s[0])?void 0:i.headers)?o:[]),s}var w={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},S={getDefaultColumnDef:function(){return w},getInitialState:function(e){return s({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}},e)},getDefaultOptions:function(e){return{columnResizeMode:"onEnd",onColumnSizingChange:d("columnSizing",e),onColumnSizingInfoChange:d("columnSizingInfo",e)}},createColumn:function(e,t){return{getSize:function(){var n,r,o,i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:w.minSize,null!=(r=null!=i?i:e.columnDef.size)?r:w.size),null!=(o=e.columnDef.maxSize)?o:w.maxSize)},getStart:function(n){var r=n?"left"===n?t.getLeftVisibleLeafColumns():t.getRightVisibleLeafColumns():t.getVisibleLeafColumns(),o=r.findIndex((function(t){return t.id===e.id}));if(o>0){var i=r[o-1];return i.getStart(n)+i.getSize()}return 0},resetSize:function(){t.setColumnSizing((function(t){var n=e.id;return t[n],o(t,[n].map(i))}))},getCanResize:function(){var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},getIsResizing:function(){return t.getState().columnSizingInfo.isResizingColumn===e.id}}},createHeader:function(e,t){return{getSize:function(){var t=0,n=function e(n){var r;n.subHeaders.length?n.subHeaders.forEach(e):t+=null!=(r=n.column.getSize())?r:0};return n(e),t},getStart:function(){if(e.index>0){var t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},getResizeHandler:function(){var n=t.getColumn(e.column.id),o=n.getCanResize();return function(i){if(o&&(null==i.persist||i.persist(),!(O(i)&&i.touches&&i.touches.length>1))){var a=e.getSize(),u=e?e.getLeafHeaders().map((function(e){return[e.column.id,e.column.getSize()]})):[[n.id,n.getSize()]],l=O(i)?Math.round(i.touches[0].clientX):i.clientX,c=function(e,n){if("number"==typeof n){var o={};t.setColumnSizingInfo((function(e){var t,i,a=n-(null!=(t=null==e?void 0:e.startOffset)?t:0),u=Math.max(a/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach((function(e){var t=r(e,2),n=t[0],i=t[1];o[n]=Math.round(100*Math.max(i+i*u,0))/100})),s(s({},e),{},{deltaOffset:a,deltaPercentage:u})})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((function(e){return s(s({},e),o)}))}},f={moveHandler:function(e){return t=e.clientX,c("move",t);var t},upHandler:function(e){var n;document.removeEventListener("mousemove",f.moveHandler),document.removeEventListener("mouseup",f.upHandler),n=e.clientX,c("end",n),t.setColumnSizingInfo((function(e){return s(s({},e),{},{isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})}))}},d=!!C()&&{passive:!1};O(i)||(document.addEventListener("mousemove",f.moveHandler,d),document.addEventListener("mouseup",f.upHandler,d)),t.setColumnSizingInfo((function(e){return s(s({},e),{},{startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:u,isResizingColumn:n.id})}))}}}}},createTable:function(e){return{setColumnSizing:function(t){return null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t)},setColumnSizingInfo:function(t){return null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t)},resetColumnSizing:function(t){var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},resetHeaderSizeInfo:function(t){var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},getTotalSize:function(){var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce((function(e,t){return e+t.getSize()}),0))?t:0},getLeftTotalSize:function(){var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce((function(e,t){return e+t.getSize()}),0))?t:0},getCenterTotalSize:function(){var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce((function(e,t){return e+t.getSize()}),0))?t:0},getRightTotalSize:function(){var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce((function(e,t){return e+t.getSize()}),0))?t:0}}}},x=null;function C(){if("boolean"==typeof x)return x;var e=!1;try{var n={get passive(){return e=!0,!1}},r=function(){};window.addEventListener("test",r,n),window.removeEventListener("test",r)}catch(t){e=!1}return x=e}function O(e){return"touchstart"===e.type}var E={getInitialState:function(e){return s({expanded:{}},e)},getDefaultOptions:function(e){return{onExpandedChange:d("expanded",e),paginateExpandedRows:!0}},createTable:function(e){var t=!1,n=!1;return{_autoResetExpanded:function(){var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((function(){e.resetExpanded(),n=!1}))}}else e._queue((function(){t=!0}))},setExpanded:function(t){return null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t)},toggleAllRowsExpanded:function(t){(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},resetExpanded:function(t){var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},getCanSomeRowsExpand:function(){return e.getRowModel().flatRows.some((function(e){return e.getCanExpand()}))},getToggleAllRowsExpandedHandler:function(){return function(t){null==t.persist||t.persist(),e.toggleAllRowsExpanded()}},getIsSomeRowsExpanded:function(){var t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},getIsAllRowsExpanded:function(){var t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((function(e){return e.getIsExpanded()}))},getExpandedDepth:function(){var t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t},getPreExpandedRowModel:function(){return e.getSortedRowModel()},getExpandedRowModel:function(){return!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel()}}},createRow:function(e,t){return{toggleExpanded:function(n){t.setExpanded((function(r){var a,u=!0===r||!(null==r||!r[e.id]),c={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((function(e){c[e]=!0})):c=r,n=null!=(a=n)?a:!u,!u&&n)return s(s({},c),{},l({},e.id,!0));if(u&&!n){var f=c,d=e.id;return f[d],o(f,[d].map(i))}return r}))},getIsExpanded:function(){var n,r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},getCanExpand:function(){var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},getToggleExpandedHandler:function(){var t=e.getCanExpand();return function(){t&&e.toggleExpanded()}}}}},k=function(e,t,n){var r,o=n.toLowerCase();return null==(r=e.getValue(t))?void 0:r.toLowerCase().includes(o)};k.autoRemove=function(e){return j(e)};var R=function(e,t,n){var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};R.autoRemove=function(e){return j(e)};var P=function(e,t,n){var r;return(null==(r=e.getValue(t))?void 0:r.toLowerCase())===n.toLowerCase()};P.autoRemove=function(e){return j(e)};var _=function(e,t,n){var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};_.autoRemove=function(e){return j(e)||!(null!=e&&e.length)};var M=function(e,t,n){return!n.some((function(n){var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}))};M.autoRemove=function(e){return j(e)||!(null!=e&&e.length)};var F=function(e,t,n){return n.some((function(n){var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}))};F.autoRemove=function(e){return j(e)||!(null!=e&&e.length)};var I=function(e,t,n){return e.getValue(t)===n};I.autoRemove=function(e){return j(e)};var T=function(e,t,n){return e.getValue(t)==n};T.autoRemove=function(e){return j(e)};var D=function(e,t,n){var o=r(n,2),i=o[0],a=o[1],u=e.getValue(t);return u>=i&&u<=a};D.resolveFilterValue=function(e){var t=r(e,2),n=t[0],o=t[1],i="number"!=typeof n?parseFloat(n):n,a="number"!=typeof o?parseFloat(o):o,u=null===n||Number.isNaN(i)?-1/0:i,l=null===o||Number.isNaN(a)?1/0:a;if(u>l){var s=u;u=l,l=s}return[u,l]},D.autoRemove=function(e){return j(e)||j(e[0])&&j(e[1])};var N={includesString:k,includesStringSensitive:R,equalsString:P,arrIncludes:_,arrIncludesAll:M,arrIncludesSome:F,equals:I,weakEquals:T,inNumberRange:D};function j(e){return null==e||""===e}var A={getDefaultColumnDef:function(){return{filterFn:"auto"}},getInitialState:function(e){return s({columnFilters:[],globalFilter:void 0},e)},getDefaultOptions:function(e){return{onColumnFiltersChange:d("columnFilters",e),onGlobalFilterChange:d("globalFilter",e),filterFromLeafRows:!1,globalFilterFn:"auto",getColumnCanGlobalFilter:function(t){var n,r,o=null==(n=e.getCoreRowModel().flatRows[0])||null==(r=n._getAllCellsByColumnId()[t.id])?void 0:r.getValue();return"string"==typeof o||"number"==typeof o}}},createColumn:function(e,t){return{getAutoFilterFn:function(){var n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?N.includesString:"number"==typeof r?N.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?N.equals:Array.isArray(r)?N.arrIncludes:N.weakEquals},getFilterFn:function(){var n,r;return p(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:N[e.columnDef.filterFn]},getCanFilter:function(){var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},getCanGlobalFilter:function(){var n,r,o,i;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn},getIsFiltered:function(){return e.getFilterIndex()>-1},getFilterValue:function(){var n,r;return null==(n=t.getState().columnFilters)||null==(r=n.find((function(t){return t.id===e.id})))?void 0:r.value},getFilterIndex:function(){var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((function(t){return t.id===e.id})))?n:-1},setFilterValue:function(n){t.setColumnFilters((function(t){var r,o=e.getFilterFn(),i=null==t?void 0:t.find((function(t){return t.id===e.id})),a=f(n,i?i.value:void 0);if(L(o,a,e))return null!=(r=null==t?void 0:t.filter((function(t){return t.id!==e.id})))?r:[];var l,s={id:e.id,value:a};return i?null!=(l=null==t?void 0:t.map((function(t){return t.id===e.id?s:t})))?l:[]:null!=t&&t.length?[].concat(u(t),[s]):[s]}))},_getFacetedRowModel:t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),getFacetedRowModel:function(){return e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel()},_getFacetedUniqueValues:t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),getFacetedUniqueValues:function(){return e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map},_getFacetedMinMaxValues:t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),getFacetedMinMaxValues:function(){if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},createRow:function(e,t){return{columnFilters:{},columnFiltersMeta:{}}},createTable:function(e){return{getGlobalAutoFilterFn:function(){return N.includesString},getGlobalFilterFn:function(){var t,n,r=e.options.globalFilterFn;return p(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:N[r]},setColumnFilters:function(t){var n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((function(e){var r;return null==(r=f(t,e))?void 0:r.filter((function(e){var t=n.find((function(t){return t.id===e.id}));return!t||!L(t.getFilterFn(),e.value,t)}))}))},setGlobalFilter:function(t){null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},resetGlobalFilter:function(t){e.setGlobalFilter(t?void 0:e.initialState.globalFilter)},resetColumnFilters:function(t){var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},getPreFilteredRowModel:function(){return e.getCoreRowModel()},getFilteredRowModel:function(){return!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()},_getGlobalFacetedRowModel:e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),getGlobalFacetedRowModel:function(){return e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel()},_getGlobalFacetedUniqueValues:e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),getGlobalFacetedUniqueValues:function(){return e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map},_getGlobalFacetedMinMaxValues:e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),getGlobalFacetedMinMaxValues:function(){if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}}};function L(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}var V={sum:function(e,t,n){return n.reduce((function(t,n){var r=n.getValue(e);return t+("number"==typeof r?r:0)}),0)},min:function(e,t,n){var r;return n.forEach((function(t){var n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:function(e,t,n){var r;return n.forEach((function(t){var n=t.getValue(e);null!=n&&(r=n)&&(r=n)})),r},extent:function(e,t,n){var r,o;return n.forEach((function(t){var n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o=o&&(++n,r+=o)})),n)return r/n},median:function(e,t){if(t.length){var n=0,r=0;return t.forEach((function(t){var o=t.getValue(e);"number"==typeof o&&(n=Math.min(n,o),r=Math.max(r,o))})),(n+r)/2}},unique:function(e,t){return Array.from(new Set(t.map((function(t){return t.getValue(e)}))).values())},uniqueCount:function(e,t){return new Set(t.map((function(t){return t.getValue(e)}))).size},count:function(e,t){return t.length}},U={getDefaultColumnDef:function(){return{aggregatedCell:function(e){var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}},getInitialState:function(e){return s({grouping:[]},e)},getDefaultOptions:function(e){return{onGroupingChange:d("grouping",e),groupedColumnMode:"reorder"}},createColumn:function(e,t){return{toggleGrouping:function(){t.setGrouping((function(t){return null!=t&&t.includes(e.id)?t.filter((function(t){return t!==e.id})):[].concat(u(null!=t?t:[]),[e.id])}))},getCanGroup:function(){var n,r,o,i;return null!=(n=null==(r=null!=(o=null==(i=e.columnDef.enableGrouping)||i)?o:t.options.enableGrouping)||r)?n:!!e.accessorFn},getIsGrouped:function(){var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},getGroupedIndex:function(){var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},getToggleGroupingHandler:function(){var t=e.getCanGroup();return function(){t&&e.toggleGrouping()}},getAutoAggregationFn:function(){var n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?V.sum:"[object Date]"===Object.prototype.toString.call(r)?V.extent:void 0},getAggregationFn:function(){var n,r;if(!e)throw new Error;return p(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:V[e.columnDef.aggregationFn]}}},createTable:function(e){return{setGrouping:function(t){return null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t)},resetGrouping:function(t){var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},getPreGroupedRowModel:function(){return e.getFilteredRowModel()},getGroupedRowModel:function(){return!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel()}}},createRow:function(e){return{getIsGrouped:function(){return!!e.groupingColumnId},_groupingValuesCache:{}}},createCell:function(e,t,n,r){return{getIsGrouped:function(){return t.getIsGrouped()&&t.id===n.groupingColumnId},getIsPlaceholder:function(){return!e.getIsGrouped()&&t.getIsGrouped()},getIsAggregated:function(){var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}}};function z(e,t,n){if(null==t||!t.length||!n)return e;var r=e.filter((function(e){return!t.includes(e.id)}));return"remove"===n?r:[].concat(u(t.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean)),u(r))}var B={getInitialState:function(e){return s({columnOrder:[]},e)},getDefaultOptions:function(e){return{onColumnOrderChange:d("columnOrder",e)}},createTable:function(e){return{setColumnOrder:function(t){return null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t)},resetColumnOrder:function(t){var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},_getOrderColumnsFn:m((function(){return[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]}),(function(e,t,n){return function(r){var o=[];if(null!=e&&e.length){for(var i=u(e),a=u(r),l=function(){var e=i.shift(),t=a.findIndex((function(t){return t.id===e}));t>-1&&o.push(a.splice(t,1)[0])};a.length&&i.length;)l();o=[].concat(u(o),u(a))}else o=r;return z(o,t,n)}}),{key:!1})}}},Q={getInitialState:function(e){return s(s({},e),{},{pagination:s({pageIndex:0,pageSize:10},null==e?void 0:e.pagination)})},getDefaultOptions:function(e){return{onPaginationChange:d("pagination",e)}},createTable:function(e){var t=!1,n=!1;return{_autoResetPageIndex:function(){var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((function(){e.resetPageIndex(),n=!1}))}}else e._queue((function(){t=!0}))},setPagination:function(t){return null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((function(e){return f(t,e)}))},resetPagination:function(t){var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},setPageIndex:function(t){e.setPagination((function(n){var r=f(t,n.pageIndex),o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.min(Math.max(0,r),o),s(s({},n),{},{pageIndex:r})}))},resetPageIndex:function(t){var n,r,o;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(o=r.pagination)?void 0:o.pageIndex)?n:0)},resetPageSize:function(t){var n,r,o;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(o=r.pagination)?void 0:o.pageSize)?n:10)},setPageSize:function(t){e.setPagination((function(e){var n=Math.max(1,f(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return s(s({},e),{},{pageIndex:o,pageSize:n})}))},setPageCount:function(t){return e.setPagination((function(n){var r,o=f(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),s(s({},n),{},{pageCount:o})}))},getPageOptions:m((function(){return[e.getPageCount()]}),(function(e){var t=[];return e&&e>0&&(t=u(new Array(e)).fill(null).map((function(e,t){return t}))),t}),{key:!1,debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}}),getCanPreviousPage:function(){return e.getState().pagination.pageIndex>0},getCanNextPage:function(){var t=e.getState().pagination.pageIndex,n=e.getPageCount();return-1===n||0!==n&&t0&&nt?1:-1}function Y(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function J(e,t){for(var n=e.split(X).filter(Boolean),r=t.split(X).filter(Boolean);n.length&&r.length;){var o=n.shift(),i=r.shift(),a=parseInt(o,10),u=parseInt(i,10),l=[a,u].sort();if(isNaN(l[0])){if(o>i)return 1;if(i>o)return-1}else{if(isNaN(l[1]))return isNaN(a)?-1:1;if(a>u)return 1;if(u>a)return-1}}return n.length-r.length}var ee={alphanumeric:function(e,t,n){return J(Y(e.getValue(n)).toLowerCase(),Y(t.getValue(n)).toLowerCase())},alphanumericCaseSensitive:function(e,t,n){return J(Y(e.getValue(n)),Y(t.getValue(n)))},text:function(e,t,n){return K(Y(e.getValue(n)).toLowerCase(),Y(t.getValue(n)).toLowerCase())},textCaseSensitive:function(e,t,n){return K(Y(e.getValue(n)),Y(t.getValue(n)))},datetime:function(e,t,n){var r=e.getValue(n),o=t.getValue(n);return r>o?1:r1))return ee.alphanumeric}}catch(s){i.e(s)}finally{i.f()}return o?ee.text:ee.basic},getAutoSortDir:function(){var n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},getSortingFn:function(){var n,r;if(!e)throw new Error;return p(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:ee[e.columnDef.sortingFn]},toggleSorting:function(n,r){var o=e.getNextSortingOrder(),i=null!=n;t.setSorting((function(a){var l,c,f=null==a?void 0:a.find((function(t){return t.id===e.id})),d=null==a?void 0:a.findIndex((function(t){return t.id===e.id})),p=[],h=i?n:"desc"===o;return"toggle"===(l=null!=a&&a.length&&e.getCanMultiSort()&&r?f?"toggle":"add":null!=a&&a.length&&d!==a.length-1?"replace":f?"toggle":"replace")&&(i||o||(l="remove")),"add"===l?(p=[].concat(u(a),[{id:e.id,desc:h}])).splice(0,p.length-(null!=(c=t.options.maxMultiSortColCount)?c:Number.MAX_SAFE_INTEGER)):p="toggle"===l?a.map((function(t){return t.id===e.id?s(s({},t),{},{desc:h}):t})):"remove"===l?a.filter((function(t){return t.id!==e.id})):[{id:e.id,desc:h}],p}))},getFirstSortDir:function(){var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},getNextSortingOrder:function(n){var r,o,i=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===i||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===a?"asc":"desc"):i},getCanSort:function(){var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},getCanMultiSort:function(){var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},getIsSorted:function(){var n,r=null==(n=t.getState().sorting)?void 0:n.find((function(t){return t.id===e.id}));return!!r&&(r.desc?"desc":"asc")},getSortIndex:function(){var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((function(t){return t.id===e.id})))?n:-1},clearSorting:function(){t.setSorting((function(t){return null!=t&&t.length?t.filter((function(t){return t.id!==e.id})):[]}))},getToggleSortingHandler:function(){var n=e.getCanSort();return function(r){n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}}},createTable:function(e){return{setSorting:function(t){return null==e.options.onSortingChange?void 0:e.options.onSortingChange(t)},resetSorting:function(t){var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},getPreSortedRowModel:function(){return e.getGroupedRowModel()},getSortedRowModel:function(){return!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel()}}}},ne={getInitialState:function(e){return s({columnVisibility:{}},e)},getDefaultOptions:function(e){return{onColumnVisibilityChange:d("columnVisibility",e)}},createColumn:function(e,t){return{toggleVisibility:function(n){e.getCanHide()&&t.setColumnVisibility((function(t){return s(s({},t),{},l({},e.id,null!=n?n:!e.getIsVisible()))}))},getIsVisible:function(){var n,r;return null==(n=null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},getCanHide:function(){var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},getToggleVisibilityHandler:function(){return function(t){null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}}}},createRow:function(e,t){return{_getAllVisibleCells:m((function(){return[e.getAllCells(),t.getState().columnVisibility]}),(function(e){return e.filter((function(e){return e.column.getIsVisible()}))}),{key:"row._getAllVisibleCells",debug:function(){var e;return null!=(e=t.options.debugAll)?e:t.options.debugRows}}),getVisibleCells:m((function(){return[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]}),(function(e,t,n){return[].concat(u(e),u(t),u(n))}),{key:!1,debug:function(){var e;return null!=(e=t.options.debugAll)?e:t.options.debugRows}})}},createTable:function(e){var t=function(t,n){return m((function(){return[n(),n().filter((function(e){return e.getIsVisible()})).map((function(e){return e.id})).join("_")]}),(function(e){return e.filter((function(e){return null==e.getIsVisible?void 0:e.getIsVisible()}))}),{key:t,debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugColumns}})};return{getVisibleFlatColumns:t("getVisibleFlatColumns",(function(){return e.getAllFlatColumns()})),getVisibleLeafColumns:t("getVisibleLeafColumns",(function(){return e.getAllLeafColumns()})),getLeftVisibleLeafColumns:t("getLeftVisibleLeafColumns",(function(){return e.getLeftLeafColumns()})),getRightVisibleLeafColumns:t("getRightVisibleLeafColumns",(function(){return e.getRightLeafColumns()})),getCenterVisibleLeafColumns:t("getCenterVisibleLeafColumns",(function(){return e.getCenterLeafColumns()})),setColumnVisibility:function(t){return null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t)},resetColumnVisibility:function(t){var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},toggleAllColumnsVisible:function(t){var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((function(e,n){return s(s({},e),{},l({},n.id,t||!(null!=n.getCanHide&&n.getCanHide())))}),{}))},getIsAllColumnsVisible:function(){return!e.getAllLeafColumns().some((function(e){return!(null!=e.getIsVisible&&e.getIsVisible())}))},getIsSomeColumnsVisible:function(){return e.getAllLeafColumns().some((function(e){return null==e.getIsVisible?void 0:e.getIsVisible()}))},getToggleAllColumnsVisibilityHandler:function(){return function(t){var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}}}},re=[y,ne,B,H,A,te,U,E,Q,G,S];function oe(e){var t;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");var n={_features:re},r=n._features.reduce((function(e,t){return Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(n))}),{}),o=s({},null!=(t=e.initialState)?t:{});n._features.forEach((function(e){var t;o=null!=(t=null==e.getInitialState?void 0:e.getInitialState(o))?t:o}));var i=[],a=!1,u={_features:re,options:s(s({},r),e),initialState:o,_queue:function(e){i.push(e),a||(a=!0,Promise.resolve().then((function(){for(;i.length;)i.shift()();a=!1})).catch((function(e){return setTimeout((function(){throw e}))})))},reset:function(){n.setState(n.initialState)},setOptions:function(e){var t=f(e,n.options);n.options=function(e){return n.options.mergeOptions?n.options.mergeOptions(r,e):s(s({},r),e)}(t)},getState:function(){return n.options.state},setState:function(e){null==n.options.onStateChange||n.options.onStateChange(e)},_getRowId:function(e,t,r){var o;return null!=(o=null==n.options.getRowId?void 0:n.options.getRowId(e,t,r))?o:""+(r?[r.id,t].join("."):t)},getCoreRowModel:function(){return n._getCoreRowModel||(n._getCoreRowModel=n.options.getCoreRowModel(n)),n._getCoreRowModel()},getRowModel:function(){return n.getPaginationRowModel()},getRow:function(e){var t=n.getRowModel().rowsById[e];if(!t)throw new Error;return t},_getDefaultColumnDef:m((function(){return[n.options.defaultColumn]}),(function(e){var t;return e=null!=(t=e)?t:{},s(s({header:function(e){var t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:function(e){var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null}},n._features.reduce((function(e,t){return Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())}),{})),e)}),{debug:function(){var e;return null!=(e=n.options.debugAll)?e:n.options.debugColumns},key:!1}),_getColumnDefs:function(){return n.options.columns},getAllColumns:m((function(){return[n._getColumnDefs()]}),(function(e){var t=function e(t,r,o){return void 0===o&&(o=0),t.map((function(t){var i=g(n,t,o,r),a=t;return i.columns=a.columns?e(a.columns,i,o+1):[],i}))};return t(e)}),{key:!1,debug:function(){var e;return null!=(e=n.options.debugAll)?e:n.options.debugColumns}}),getAllFlatColumns:m((function(){return[n.getAllColumns()]}),(function(e){return e.flatMap((function(e){return e.getFlatColumns()}))}),{key:!1,debug:function(){var e;return null!=(e=n.options.debugAll)?e:n.options.debugColumns}}),_getAllFlatColumnsById:m((function(){return[n.getAllFlatColumns()]}),(function(e){return e.reduce((function(e,t){return e[t.id]=t,e}),{})}),{key:!1,debug:function(){var e;return null!=(e=n.options.debugAll)?e:n.options.debugColumns}}),getAllLeafColumns:m((function(){return[n.getAllColumns(),n._getOrderColumnsFn()]}),(function(e,t){return t(e.flatMap((function(e){return e.getLeafColumns()})))}),{key:!1,debug:function(){var e;return null!=(e=n.options.debugAll)?e:n.options.debugColumns}}),getColumn:function(e){var t=n._getAllFlatColumnsById()[e];if(!t)throw new Error;return t}};return Object.assign(n,u),n._features.forEach((function(e){return Object.assign(n,null==e.createTable?void 0:e.createTable(n))})),n}function ie(e,t,n,r){var o={id:t.id+"_"+n.id,row:t,column:n,getValue:function(){return t.getValue(r)},renderValue:function(){var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:m((function(){return[e,n,t,o]}),(function(e,t,n,r){return{table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue}}),{key:!1,debug:function(){return e.options.debugAll}})};return e._features.forEach((function(r){Object.assign(o,null==r.createCell?void 0:r.createCell(o,n,t,e))}),{}),o}var ae=function(e,t,n,r,o,i){for(var a={id:t,index:r,original:n,depth:o,_valuesCache:{},getValue:function(t){if(a._valuesCache.hasOwnProperty(t))return a._valuesCache[t];var n=e.getColumn(t);return n.accessorFn?(a._valuesCache[t]=n.accessorFn(a.original,r),a._valuesCache[t]):void 0},renderValue:function(t){var n;return null!=(n=a.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:function(){return h(a.subRows,(function(e){return e.subRows}))},getAllCells:m((function(){return[e.getAllLeafColumns()]}),(function(t){return t.map((function(t){return ie(e,a,t,t.id)}))}),{key:!1,debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugRows}}),_getAllCellsByColumnId:m((function(){return[a.getAllCells()]}),(function(e){return e.reduce((function(e,t){return e[t.column.id]=t,e}),{})}),{key:"row.getAllCellsByColumnId",debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugRows}})},u=0;uo[1]&&(o[1]=a)}return o}}),{key:!1,debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:function(){}})}},e.getFacetedRowModel=function(){return function(e,t){return m((function(){return[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter,e.getFilteredRowModel()]}),(function(n,r,o){if(!n.rows.length||(null==r||!r.length)&&!o)return n;var i=[].concat(u(r.map((function(e){return e.id})).filter((function(e){return e!==t}))),[o?"__global__":void 0]).filter(Boolean);return ue(n.rows,(function(e){for(var t=0;t=o.length)return n.map((function(e){return e.depth=l,i.push(e),a[e.id]=e,e.subRows&&(e.subRows=t(e.subRows,l+1)),e}));var c=o[l],f=function(e,t){var n=new Map;return e.reduce((function(e,n){var r=""+n.getValue(t),o=e.get(r);return o?e.set(r,[].concat(u(o),[n])):e.set(r,[n]),e}),n)}(n,c),d=Array.from(f.entries()).map((function(n,u){var f=r(n,2),d=f[0],p=f[1],m=c+":"+d,g=t(p,l+1,m=s?s+">"+m:m),v=l?h(p,(function(e){return e.subRows})):p,y=ae(e,m,v[0].original,u,l);return Object.assign(y,{groupingColumnId:c,groupingValue:d,subRows:g,leafRows:v,getValue:function(t){var n;if(o.includes(t))return y._valuesCache.hasOwnProperty(t)||p[0]&&(y._valuesCache[t]=null!=(n=p[0].getValue(t))?n:void 0),y._valuesCache[t];if(y._groupingValuesCache.hasOwnProperty(t))return y._groupingValuesCache[t];var r=e.getColumn(t).getAggregationFn();return r?(y._groupingValuesCache[t]=r(t,v,p),y._groupingValuesCache[t]):void 0}}),g.forEach((function(e){i.push(e),a[e.id]=e})),y}));return d},s=l(n.rows,0,"");return s.forEach((function(e){i.push(e),a[e.id]=e})),{rows:s,flatRows:i,rowsById:a}}),{key:!1,debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable},onChange:function(){e._queue((function(){e._autoResetExpanded(),e._autoResetPageIndex()}))}})}},e.getPaginationRowModel=function(e){return function(e){return m((function(){return[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]}),(function(t,n){if(!n.rows.length)return n;var r,o=t.pageSize,i=t.pageIndex,a=n.rows,u=n.flatRows,l=n.rowsById,s=o*i,c=s+o;a=a.slice(s,c),(r=e.options.paginateExpandedRows?{rows:a,flatRows:u,rowsById:l}:le({rows:a,flatRows:u,rowsById:l})).flatRows=[];var f=function e(t){r.flatRows.push(t),t.subRows.length&&t.subRows.forEach(e)};return r.rows.forEach(f),r}),{key:!1,debug:function(){var t;return null!=(t=e.options.debugAll)?t:e.options.debugTable}})}},e.getSortedRowModel=function(){return function(e){return m((function(){return[e.getState().sorting,e.getPreSortedRowModel()]}),(function(t,n){if(!n.rows.length||null==t||!t.length)return n;var r=e.getState().sorting,o=[],i=r.filter((function(t){return e.getColumn(t.id).getCanSort()})),a={};i.forEach((function(t){var n=e.getColumn(t.id);a[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()}}));var u=function e(t){var n=t.slice();return n.sort((function(e,t){for(var n=0;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(a)})),e.exports=l},4049:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8089:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7835:function(e,t,n){"use strict";var r=n(8593),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function u(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]0;){var i=r[o],a=t[i];if(a){var u=e[i],l=void 0===u||a(u,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},3589:function(e,t,n){"use strict";var r=n(4049),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function u(e){return null!==e&&"object"===typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;nc;)if((u=l[c++])!=u)return!0}else for(;s>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},2767:function(e,t,n){var r=n(8584),o=n(5130)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},8584:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},1712:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},7328:function(e,t,n){"use strict";var r=n(4390),o=n(7097);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},4074:function(e,t,n){var r=n(807);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},8696:function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},8625:function(e,t,n){e.exports=!n(3979)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2465:function(e,t,n){var r=n(1890),o=n(8080).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},4175:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},3644:function(e,t,n){var r=n(8080),o=n(1712),i=n(4074),a=n(5448),u=n(8891),l=function e(t,n,l){var s,c,f,d=t&e.F,p=t&e.G,h=t&e.S,m=t&e.P,g=t&e.B,v=t&e.W,y=p?o:o[n]||(o[n]={}),b=y.prototype,w=p?r:h?r[n]:(r[n]||{}).prototype;for(s in p&&(l=n),l)(c=!d&&w&&void 0!==w[s])&&u(y,s)||(f=c?w[s]:l[s],y[s]=p&&"function"!=typeof w[s]?l[s]:g&&c?i(f,r):v&&w[s]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):m&&"function"==typeof f?i(Function.call,f):f,m&&((y.virtual||(y.virtual={}))[s]=f,t&e.R&&b&&!b[s]&&a(b,s,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},3979:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},8080:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},8891:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},5448:function(e,t,n){var r=n(4390),o=n(7097);e.exports=n(8625)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},8850:function(e,t,n){var r=n(8080).document;e.exports=r&&r.documentElement},2058:function(e,t,n){e.exports=!n(8625)&&!n(3979)((function(){return 7!=Object.defineProperty(n(2465)("div"),"a",{get:function(){return 7}}).a}))},8600:function(e,t,n){var r=n(8584);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},9593:function(e,t,n){var r=n(126),o=n(5130)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},9312:function(e,t,n){var r=n(8584);e.exports=Array.isArray||function(e){return"Array"==r(e)}},1890:function(e){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},9654:function(e,t,n){var r=n(6469);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e.return;throw void 0!==i&&r(i.call(e)),a}}},674:function(e,t,n){"use strict";var r=n(585),o=n(7097),i=n(3925),a={};n(5448)(a,n(5130)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},3108:function(e,t,n){"use strict";var r=n(8429),o=n(3644),i=n(1815),a=n(5448),u=n(126),l=n(674),s=n(3925),c=n(3915),f=n(5130)("iterator"),d=!([].keys&&"next"in[].keys()),p="keys",h="values",m=function(){return this};e.exports=function(e,t,n,g,v,y,b){l(n,t,g);var w,S,x,C=function(e){if(!d&&e in R)return R[e];switch(e){case p:case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",E=v==h,k=!1,R=e.prototype,P=R[f]||R["@@iterator"]||v&&R[v],_=P||C(v),M=v?E?C("entries"):_:void 0,F="Array"==t&&R.entries||P;if(F&&(x=c(F.call(new e)))!==Object.prototype&&x.next&&(s(x,O,!0),r||"function"==typeof x[f]||a(x,f,m)),E&&P&&P.name!==h&&(k=!0,_=function(){return P.call(this)}),r&&!b||!d&&!k&&R[f]||a(R,f,_),u[t]=_,u[O]=m,v)if(w={values:E?_:C(h),keys:y?_:C(p),entries:M},b)for(S in w)S in R||i(R,S,w[S]);else o(o.P+o.F*(d||k),t,w);return w}},4756:function(e,t,n){var r=n(5130)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},e(i)}catch(a){}return n}},126:function(e){e.exports={}},8429:function(e){e.exports=!0},2303:function(e,t,n){"use strict";var r=n(8625),o=n(231),i=n(7207),a=n(4159),u=n(5591),l=n(8600),s=Object.assign;e.exports=!s||n(3979)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r}))?function(e,t){for(var n=u(e),s=arguments.length,c=1,f=i.f,d=a.f;s>c;)for(var p,h=l(arguments[c++]),m=f?o(h).concat(f(h)):o(h),g=m.length,v=0;g>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:s},585:function(e,t,n){var r=n(6469),o=n(3494),i=n(4175),a=n(959)("IE_PROTO"),u=function(){},l=function(){var e,t=n(2465)("iframe"),r=i.length;for(t.style.display="none",n(8850).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("