/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/material-react-tables@1.20.0/dist/cjs/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";var jsxRuntime=require("react/jsx-runtime"),Box=require("@mui/material/Box"),Stack=require("@mui/material/Stack"),styles=require("@mui/material/styles"),Typography=require("@mui/material/Typography"),Grid=require("@mui/material/Grid"),React=require("react");const MaterialReactTable=()=>jsxRuntime.jsx("p",{children:" default component"});function __rest(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}const matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(e,t,o,n="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),o=r.pop(),i={provider:r.length>0?r[0]:n,prefix:o,name:e};return t&&!validateIconName(i)?null:i}const i=r[0],s=i.split("-");if(s.length>1){const e={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!validateIconName(e)?null:e}if(o&&""===n){const e={provider:n,prefix:"",name:i};return t&&!validateIconName(e,o)?null:e}return null},validateIconName=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(matchIconName)||!(t&&""===e.prefix||e.prefix.match(matchIconName))||!e.name.match(matchIconName)),defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}function mergeIconData(e,t){const o=mergeIconTransformations(e,t);for(const n in defaultExtendedIconProps)n in defaultIconTransformations?n in e&&!(n in o)&&(o[n]=defaultIconTransformations[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function getIconsTree(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(o).concat(Object.keys(n))).forEach((function e(t){if(o[t])return r[t]=[];if(!(t in r)){r[t]=null;const o=n[t]&&n[t].parent,i=o&&e(o);i&&(r[t]=[o].concat(i))}return r[t]})),r}function internalGetIconData(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let i={};function s(e){i=mergeIconData(n[e]||r[e],i)}return s(t),o.forEach(s),mergeIconData(e,i)}function parseIconSet(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),o.push(e)}));const n=getIconsTree(e);for(const r in n){const i=n[r];i&&(t(r,internalGetIconData(e,r,i)),o.push(r))}return o}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function quicklyValidateIconSet(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!checkOptionalProps(e,optionalPropertyDefaults))return null;const o=t.icons;for(const e in o){const t=o[e];if(!e.match(matchIconName)||"string"!=typeof t.body||!checkOptionalProps(t,defaultExtendedIconProps))return null}const n=t.aliases||Object.create(null);for(const e in n){const t=n[e],r=t.parent;if(!e.match(matchIconName)||"string"!=typeof r||!o[r]&&!n[r]||!checkOptionalProps(t,defaultExtendedIconProps))return null}return t}const dataStorage=Object.create(null);function newStorage(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function getStorage(e,t){const o=dataStorage[e]||(dataStorage[e]=Object.create(null));return o[t]||(o[t]=newStorage(e,t))}function addIconSet(e,t){return quicklyValidateIconSet(t)?parseIconSet(t,((t,o)=>{o?e.icons[t]=o:e.missing.add(t)})):[]}function addIconToStorage(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch(e){}return!1}let simpleNames=!1;function allowSimpleNames(e){return"boolean"==typeof e&&(simpleNames=e),simpleNames}function getIconData(e){const t="string"==typeof e?stringToIcon(e,!0,simpleNames):e;if(t){const e=getStorage(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}function addIcon(e,t){const o=stringToIcon(e,!0,simpleNames);if(!o)return!1;return addIconToStorage(getStorage(o.provider,o.prefix),o.name,t)}function addCollection(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),simpleNames&&!t&&!e.prefix){let t=!1;return quicklyValidateIconSet(e)&&(e.prefix="",parseIconSet(e,((e,o)=>{o&&addIcon(e,o)&&(t=!0)}))),t}const o=e.prefix;if(!validateIconName({provider:t,prefix:o,name:"a"}))return!1;return!!addIconSet(getStorage(t,o),e)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split(unitsSplit);if(null===n||!n.length)return e;const r=[];let i=n.shift(),s=unitsTest.test(i);for(;;){if(s){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*o)/o)}else r.push(i);if(i=n.shift(),void 0===i)return r.join("");s=!s}}const isUnsetKeyword=e=>"unset"===e||"undefined"===e||"none"===e;function iconToSVG(e,t){const o={...defaultIconProps,...e},n={...defaultIconCustomisations,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,n].forEach((e=>{const t=[],o=e.hFlip,n=e.vFlip;let s,a=e.rotate;switch(o?n?a+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:s=r.height/2+r.top,t.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:s=r.width/2+r.left,t.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")")}a%2==1&&(r.left!==r.top&&(s=r.left,r.left=r.top,r.top=s),r.width!==r.height&&(s=r.width,r.width=r.height,r.height=s)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const s=n.width,a=n.height,c=r.width,l=r.height;let u,f;null===s?(f=null===a?"1em":"auto"===a?l:a,u=calculateSize(f,c/l)):(u="auto"===s?c:s,f=null===a?calculateSize(u,l/c):"auto"===a?l:a);const d={},p=(e,t)=>{isUnsetKeyword(t)||(d[e]=t.toString())};return p("width",u),p("height",f),d.viewBox=r.left.toString()+" "+r.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:i}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let counter=0;function replaceIDs(e,t=randomPrefix){const o=[];let n;for(;n=regex.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach((o=>{const n="function"==typeof t?t(o):t+(counter++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+n+r+"$3")})),e=e.replace(new RegExp(r,"g"),"")}const storage=Object.create(null);function setAPIModule(e,t){storage[e]=t}function getAPIModule(e){return storage[e]||storage[""]}function createAPIConfig(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)1===fallBackAPISources.length||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());function addAPIProvider(e,t){const o=createAPIConfig(t);return null!==o&&(configStorage[e]=o,!0)}function getAPIConfig(e){return configStorage[e]}configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});const detectFetch=()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}};let fetchModule=detectFetch();function calculateMaxLength(e,t){const o=getAPIConfig(e);if(!o)return 0;let n;if(o.maxURL){let e=0;o.resources.forEach((t=>{const o=t;e=Math.max(e,o.length)}));const r=t+".json?icons=";n=o.maxURL-e-o.path.length-r.length}else n=0;return n}function shouldAbort(e){return 404===e}const prepare=(e,t,o)=>{const n=[],r=calculateMaxLength(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return o.forEach(((o,c)=>{a+=o.length+1,a>=r&&c>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=o.length),s.icons.push(o)})),n.push(s),n};function getPath(e){if("string"==typeof e){const t=getAPIConfig(e);if(t)return t.path}return"/"}const send=(e,t,o)=>{if(!fetchModule)return void o("abort",424);let n=getPath(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");n+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;n+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let r=503;fetchModule(e+n).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{o(shouldAbort(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{o("success",e)})):setTimeout((()=>{404===e?o("abort",e):o("next",r)}))})).catch((()=>{o("next",r)}))},fetchAPIModule={prepare:prepare,send:send};function sortIcons(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let n={provider:"",prefix:"",name:""};return e.forEach((e=>{if(n.name===e.name&&n.prefix===e.prefix&&n.provider===e.provider)return;n=e;const r=e.provider,i=e.prefix,s=e.name,a=o[r]||(o[r]=Object.create(null)),c=a[i]||(a[i]=getStorage(r,i));let l;l=s in c.icons?t.loaded:""===i||c.missing.has(s)?t.missing:t.pending;const u={provider:r,prefix:i,name:s};l.push(u)})),t}function removeCallback(e,t){e.forEach((e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter((e=>e.id!==t)))}))}function updateCallbacks(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const n=e.provider,r=e.prefix;t.forEach((t=>{const i=t.icons,s=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==r)return!0;const s=t.name;if(e.icons[s])i.loaded.push({provider:n,prefix:r,name:s});else{if(!e.missing.has(s))return o=!0,!0;i.missing.push({provider:n,prefix:r,name:s})}return!1})),i.pending.length!==s&&(o||removeCallback([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}let idCounter=0;function storeCallback(e,t,o){const n=idCounter++,r=removeCallback.bind(null,o,n);if(!t.pending.length)return r;const i={id:n,icons:t,callback:e,abort:r};return o.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),r}function listToIcons(e,t=!0,o=!1){const n=[];return e.forEach((e=>{const r="string"==typeof e?stringToIcon(e,t,o):e;r&&n.push(r)})),n}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(e,t,o,n){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let s;if(e.random){let t=e.resources.slice(0);for(s=[];t.length>1;){const e=Math.floor(Math.random()*t.length);s.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}s=s.concat(t)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c,l="pending",u=0,f=null,d=[],p=[];function g(){f&&(clearTimeout(f),f=null)}function h(){"pending"===l&&(l="aborted"),g(),d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function m(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){l="failed",p.forEach((e=>{e(void 0,c)}))}function I(){d.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),d=[]}function b(){if("pending"!==l)return;g();const n=s.shift();if(void 0===n)return d.length?void(f=setTimeout((()=>{g(),"pending"===l&&(I(),y())}),e.timeout)):void y();const r={status:"pending",resource:n,callback:(t,o)=>{!function(t,o,n){const r="success"!==o;switch(d=d.filter((e=>e!==t)),l){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return c=n,void y();if(r)return c=n,void(d.length||(s.length?b():y()));if(g(),I(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}l="completed",p.forEach((e=>{e(n)}))}(r,t,o)}};d.push(r),u++,f=setTimeout(b,e.rotate),o(n,t,r.callback)}return"function"==typeof n&&p.push(n),setTimeout(b),function(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:d.length,subscribe:m,abort:h}}}function initRedundancy(e){const t={...defaultConfig,...e};let o=[];function n(){o=o.filter((e=>"pending"===e().status))}return{query:function(e,r,i){const s=sendQuery(t,e,r,((e,t)=>{n(),i&&i(e,t)}));return o.push(s),s},find:function(e){return o.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:n}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(e){if(!redundancyCache[e]){const t=getAPIConfig(e);if(!t)return;const o={config:t,redundancy:initRedundancy(t)};redundancyCache[e]=o}return redundancyCache[e]}function sendAPIQuery(e,t,o){let n,r;if("string"==typeof e){const t=getAPIModule(e);if(!t)return o(void 0,424),emptyCallback$1;r=t.send;const i=getRedundancyCache(e);i&&(n=i.redundancy)}else{const t=createAPIConfig(e);if(t){n=initRedundancy(t);const o=getAPIModule(e.resources?e.resources[0]:"");o&&(r=o.send)}}return n&&r?n.query(t,r,o)().abort:(o(void 0,424),emptyCallback$1)}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey="iconify-count",browserCacheVersionKey="iconify-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(e,t){try{return e.getItem(t)}catch(e){}}function setStoredItem(e,t,o){try{return e.setItem(t,o),!0}catch(e){}}function removeStoredItem(e,t){try{e.removeItem(t)}catch(e){}}function setBrowserStorageItemsCount(e,t){return setStoredItem(e,"iconify-count",t.toString())}function getBrowserStorageItemsCount(e){return parseInt(getStoredItem(e,"iconify-count"))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(e){browserStorageStatus=e}let _window="undefined"==typeof window?{}:window;function getBrowserStorage(e){const t=e+"Storage";try{if(_window&&_window[t]&&"number"==typeof _window[t].length)return _window[t]}catch(e){}browserStorageConfig[e]=!1}function iterateBrowserStorage(e,t){const o=getBrowserStorage(e);if(!o)return;const n=getStoredItem(o,"iconify-version");if("iconify2"!==n){if(n){const e=getBrowserStorageItemsCount(o);for(let t=0;t<e;t++)removeStoredItem(o,"iconify"+t.toString())}return setStoredItem(o,"iconify-version","iconify2"),void setBrowserStorageItemsCount(o,0)}const r=Math.floor(Date.now()/36e5)-168,i=e=>{const n="iconify"+e.toString(),i=getStoredItem(o,n);if("string"==typeof i){try{const o=JSON.parse(i);if("object"==typeof o&&"number"==typeof o.cached&&o.cached>r&&"string"==typeof o.provider&&"object"==typeof o.data&&"string"==typeof o.data.prefix&&t(o,e))return!0}catch(e){}removeStoredItem(o,n)}};let s=getBrowserStorageItemsCount(o);for(let t=s-1;t>=0;t--)i(t)||(t===s-1?(s--,setBrowserStorageItemsCount(o,s)):browserStorageEmptyItems[e].add(t))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const e in browserStorageConfig)iterateBrowserStorage(e,(e=>{const t=e.data,o=getStorage(e.provider,t.prefix);if(!addIconSet(o,t).length)return!1;const n=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,n):n,!0}))}}function updateLastModified(e,t){const o=e.lastModifiedCached;if(o&&o>=t)return o===t;if(e.lastModifiedCached=t,o)for(const o in browserStorageConfig)iterateBrowserStorage(o,(o=>{const n=o.data;return o.provider!==e.provider||n.prefix!==e.prefix||n.lastModified===t}));return!0}function storeInBrowserStorage(e,t){function o(o){let n;if(!browserStorageConfig[o]||!(n=getBrowserStorage(o)))return;const r=browserStorageEmptyItems[o];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=getBrowserStorageItemsCount(n),!setBrowserStorageItemsCount(n,i+1))return;const s={cached:Math.floor(Date.now()/36e5),provider:e.provider,data:t};return setStoredItem(n,"iconify"+i.toString(),JSON.stringify(s))}browserStorageStatus||initBrowserStorage(),t.lastModified&&!updateLastModified(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,o("local")||o("session"))}function emptyCallback(){}function loadedNewIcons(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,updateCallbacks(e)})))}function loadNewIcons(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:o}=e,n=e.iconsToLoad;let r;if(delete e.iconsToLoad,!n||!(r=getAPIModule(t)))return;r.prepare(t,o,n).forEach((o=>{sendAPIQuery(t,o,(t=>{if("object"!=typeof t)o.icons.forEach((t=>{e.missing.add(t)}));else try{const o=addIconSet(e,t);if(!o.length)return;const n=e.pendingIcons;n&&o.forEach((e=>{n.delete(e)})),storeInBrowserStorage(e,t)}catch(e){console.error(e)}loadedNewIcons(e)}))}))})))}const loadIcons=(e,t)=>{const o=sortIcons(listToIcons(e,!0,allowSimpleNames()));if(!o.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(o.loaded,o.missing,o.pending,emptyCallback)})),()=>{e=!1}}const n=Object.create(null),r=[];let i,s;return o.pending.forEach((e=>{const{provider:t,prefix:o}=e;if(o===s&&t===i)return;i=t,s=o,r.push(getStorage(t,o));const a=n[t]||(n[t]=Object.create(null));a[o]||(a[o]=[])})),o.pending.forEach((e=>{const{provider:t,prefix:o,name:r}=e,i=getStorage(t,o),s=i.pendingIcons||(i.pendingIcons=new Set);s.has(r)||(s.add(r),n[t][o].push(r))})),r.forEach((e=>{const{provider:t,prefix:o}=e;n[t][o].length&&loadNewIcons(e,n[t][o])})),t?storeCallback(t,o,r):emptyCallback};function mergeCustomisations(e,t){const o={...e};for(const e in t){const n=t[e],r=typeof n;e in defaultIconSizeCustomisations?(null===n||n&&("string"===r||"number"===r))&&(o[e]=n):r===typeof o[e]&&(o[e]="rotate"===e?n%4:n)}return o}const separator=/[\s,]+/;function flipFromString(e,t){t.split(separator).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function rotateFromString(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:n(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-o.length));return isNaN(r)?0:(r/=t,r%1==0?n(r):0)}}return t}function iconToHTML(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)o+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function encodeSVGforURL(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(e){return"data:image/svg+xml,"+encodeSVGforURL(e)}function svgToURL(e){return'url("'+svgToData(e)+'")'}let policy;function createPolicy(){try{policy=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch(e){policy=null}}function cleanUpInnerHTML(e){return void 0===policy&&createPolicy(),policy?policy.createHTML(e):e}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={WebkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const e in propsToAddTo){const t=propsToAddTo[e];for(const o in propsToAdd)t[e+o]=propsToAdd[o]}const inlineDefaults={...defaultExtendedIconCustomisations,inline:!0};function fixSize(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const render=(e,t,o,n)=>{const r=o?inlineDefaults:defaultExtendedIconCustomisations,i=mergeCustomisations(r,t),s=t.mode||"svg",a={},c=t.style||{},l={..."svg"===s?svgDefaults:{},ref:n};for(let e in t){const o=t[e];if(void 0!==o)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":i[e]=!0===o||"true"===o||1===o;break;case"flip":"string"==typeof o&&flipFromString(i,o);break;case"color":a.color=o;break;case"rotate":"string"==typeof o?i[e]=rotateFromString(o):"number"==typeof o&&(i[e]=o);break;case"ariaHidden":case"aria-hidden":!0!==o&&"true"!==o&&delete l["aria-hidden"];break;default:void 0===r[e]&&(l[e]=o)}}const u=iconToSVG(e,i),f=u.attributes;if(i.inline&&(a.verticalAlign="-0.125em"),"svg"===s){l.style={...a,...c},Object.assign(l,f);let e=0,o=t.id;return"string"==typeof o&&(o=o.replace(/-/g,"_")),l.dangerouslySetInnerHTML={__html:cleanUpInnerHTML(replaceIDs(u.body,o?()=>o+"ID"+e++:"iconifyReact"))},React.createElement("svg",l)}const{body:d,width:p,height:g}=e,h="mask"===s||"bg"!==s&&-1!==d.indexOf("currentColor"),m=iconToHTML(d,{...f,width:p+"",height:g+""});return l.style={...a,"--svg":svgToURL(m),width:fixSize(f.width),height:fixSize(f.height),...commonProps,...h?monotoneProps:coloredProps,...c},React.createElement("span",l)};if(allowSimpleNames(!0),setAPIModule("",fetchAPIModule),"undefined"!=typeof document&&"undefined"!=typeof window){initBrowserStorage();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!addCollection(e))&&console.error(o)}catch(e){console.error(o)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;addAPIProvider(e,n)||console.error(o)}catch(e){console.error(o)}}}}class IconComponent extends React.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,o=this.props.icon;if("object"==typeof o&&null!==o&&"string"==typeof o.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:o}));let n;if("string"!=typeof o||null===(n=stringToIcon(o,!1,!0)))return this._abortLoading(),void this._setData(null);const r=getIconData(n);if(r){if(this._icon!==o||null===t.icon){this._abortLoading(),this._icon=o;const e=["iconify"];""!==n.prefix&&e.push("iconify--"+n.prefix),""!==n.provider&&e.push("iconify--"+n.provider),this._setData({data:r,classes:e}),this.props.onLoad&&this.props.onLoad(o)}}else this._loading&&this._loading.name===o||(this._abortLoading(),this._icon="",this._setData(null),null!==r&&(this._loading={name:o,abort:loadIcons([n],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,t=this.state.icon;if(null===t)return e.children?e.children:React.createElement("span",{});let o=e;return t.classes&&(o={...e,className:("string"==typeof e.className?e.className+" ":"")+t.classes.join(" ")}),render({...defaultIconProps,...t.data},o,e._inline,e._ref)}}const Icon=React.forwardRef((function(e,t){const o={...e,_ref:t,_inline:!1};return React.createElement(IconComponent,o)})),MRT_Iconify=React.forwardRef(((e,t)=>{var{icon:o,width:n=20,sx:r}=e,i=__rest(e,["icon","width","sx"]);return jsxRuntime.jsx(Box,Object.assign({ref:t,component:Icon,className:"component-iconify",icon:o,sx:Object.assign({width:n,height:n},r)},i))})),MRT_FieldLabel=({require:e,labelName:t,hint:o,children:n,size:r,alignment:i,errorText:s,theme:a})=>{i=null==i?"bottom":i;const c="small"==(r=null==r?"large":r)?14:17,l=a||styles.useTheme(),u="bottom"==i?"column":"row",f="bottom"==i?"start":"center";return jsxRuntime.jsxs(Stack,{spacing:1,style:{width:"100%"},children:[jsxRuntime.jsxs(Stack,{spacing:1,direction:u,alignItems:f,children:[jsxRuntime.jsxs(Stack,{direction:"row",spacing:1,children:[jsxRuntime.jsx(Typography,{variant:"subtitle2",gutterBottom:!0,children:t}),e&&jsxRuntime.jsx(Box,{sx:{fontSize:c,color:"red"},children:"*"})]}),n]}),o&&jsxRuntime.jsx(Box,{sx:{fontSize:12,color:l.palette.grey[700]},children:o}),s&&jsxRuntime.jsxs(Grid,{container:!0,direction:"row",justifyContent:"flex-start",alignItems:"flex-start",children:[jsxRuntime.jsx(MRT_Iconify,{style:{marginRight:"5px"},icon:"material-symbols:error-outline",width:18,color:"red"}),jsxRuntime.jsx(Box,{sx:{fontSize:12,color:"red"},children:s})]})]})};exports.MRT_FieldLabel=MRT_FieldLabel,exports.MaterialReactTable=MaterialReactTable;
//# sourceMappingURL=/sm/7db4956fbbd4eb365ea126352bef4ca2710330a5dc04ef41a748eafcb66e9e85.map