dgz-ui-shared 1.2.36 → 1.2.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ve=require("../chunks/useSortable-D9RgGUd0.cjs.js"),V=require("react/jsx-runtime"),$=require("react"),U=require("../chunks/PasswordConfirm-d5-QdLM5.cjs.js"),Le=require("../chunks/useFilter-D93ncAmn.cjs.js"),Ie=require("../chunks/_commonjsHelpers-DKOUU3wS.cjs.js"),Ye=require("../chunks/useTheme-hjEZ-FC3.cjs.js"),We=()=>{const e=$.useCallback(({onConfirm:a})=>{const n=crypto.randomUUID();U.y.warning(V.jsx(V.Fragment,{}),{toastId:n,autoClose:!1}),U.y.update(n,{position:"bottom-left",render:V.jsx(U.Confirm,{defaultOpen:!0,onConfirm:()=>{a(),U.y.dismiss(n)}})})},[]),o=$.useCallback(({onSubmit:a})=>{const n=crypto.randomUUID();U.y.warning(V.jsx(V.Fragment,{}),{position:"bottom-left",toastId:n,autoClose:!1}),U.y.update(n,{render:V.jsx(U.PasswordConfirm,{defaultOpen:!0,onSubmit:f=>{a(f),U.y.dismiss(n)}})})},[]);return{confirm:e,confirmPassword:o}},Fe=(e,o=!1)=>{const a=$.useRef(document.title);$.useEffect(()=>(o&&a.current===document.title&&(a.current=document.title),document.title=e,()=>{o&&(document.title=a.current)}),[e,o])};var G={},Ee;function Ue(){if(Ee)return G;Ee=1,G.match=c,G.parse=l;var e=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,a=/^(?:(min|max)-)?(.+)/,n=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/;function c(d,u){return l(d).some(function(v){var g=v.inverse,j=v.type==="all"||u.type===v.type;if(j&&g||!(j||g))return!1;var A=v.expressions.every(function(q){var D=q.feature,Y=q.modifier,x=q.value,S=u[D];if(!S)return!1;switch(D){case"orientation":case"scan":return S.toLowerCase()===x.toLowerCase();case"width":case"height":case"device-width":case"device-height":x=C(x),S=C(S);break;case"resolution":x=m(x),S=m(S);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":x=p(x),S=p(S);break;case"grid":case"color":case"color-index":case"monochrome":x=parseInt(x,10)||1,S=parseInt(S,10)||0;break}switch(Y){case"min":return S>=x;case"max":return S<=x;default:return S===x}});return A&&!g||!A&&g})}function l(d){return d.split(",").map(function(u){u=u.trim();var v=u.match(e),g=v[1],j=v[2],A=v[3]||"",q={};return q.inverse=!!g&&g.toLowerCase()==="not",q.type=j?j.toLowerCase():"all",A=A.match(/\([^\)]+\)/g)||[],q.expressions=A.map(function(D){var Y=D.match(o),x=Y[1].toLowerCase().match(a);return{modifier:x[1],feature:x[2],value:Y[2]}}),q})}function p(d){var u=Number(d),v;return u||(v=d.match(/^(\d+)\s*\/\s*(\d+)$/),u=v[1]/v[2]),u}function m(d){var u=parseFloat(d),v=String(d).match(f)[1];switch(v){case"dpcm":return u/2.54;case"dppx":return u*96;default:return u}}function C(d){var u=parseFloat(d),v=String(d).match(n)[1];switch(v){case"em":return u*16;case"rem":return u*16;case"cm":return u*96/2.54;case"mm":return u*96/2.54/10;case"in":return u*96;case"pt":return u*72;case"pc":return u*72/12;default:return u}}return G}var ce,Te;function ze(){if(Te)return ce;Te=1;var e=Ue().match,o=typeof window<"u"?window.matchMedia:null;function a(f,c,l){var p=this,m;o&&!l&&(m=o.call(window,f)),m?(this.matches=m.matches,this.media=m.media,m.addListener(u)):(this.matches=e(f,c),this.media=f),this.addListener=C,this.removeListener=d,this.dispose=v;function C(g){m&&m.addListener(g)}function d(g){m&&m.removeListener(g)}function u(g){p.matches=g.matches,p.media=g.media}function v(){m&&m.removeListener(u)}}function n(f,c,l){return new a(f,c,l)}return ce=n,ce}var Ne=ze();const He=Ie.getDefaultExportFromCjs(Ne);var Qe=/[A-Z]/g,Ve=/^ms-/,ue={};function Ke(e){return"-"+e.toLowerCase()}function qe(e){if(ue.hasOwnProperty(e))return ue[e];var o=e.replace(Qe,Ke);return ue[e]=Ve.test(o)?"-"+o:o}function Je(e,o){if(e===o)return!0;if(!e||!o)return!1;const a=Object.keys(e),n=Object.keys(o),f=a.length;if(n.length!==f)return!1;for(let c=0;c<f;c++){const l=a[c];if(e[l]!==o[l]||!Object.prototype.hasOwnProperty.call(o,l))return!1}return!0}var Z={exports:{}},B={exports:{}},_={};/** @license React v16.13.1
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ve=require("../chunks/useSortable-D9RgGUd0.cjs.js"),V=require("react/jsx-runtime"),$=require("react"),U=require("../chunks/PasswordConfirm-DvVJqDKG.cjs.js"),Le=require("../chunks/useFilter-D93ncAmn.cjs.js"),Ie=require("../chunks/_commonjsHelpers-DKOUU3wS.cjs.js"),Ye=require("../chunks/useTheme-hjEZ-FC3.cjs.js"),We=()=>{const e=$.useCallback(({onConfirm:a})=>{const o=crypto.randomUUID();U.y.warning(V.jsx(V.Fragment,{}),{toastId:o,autoClose:!1}),U.y.update(o,{position:"bottom-left",render:V.jsx(U.Confirm,{defaultOpen:!0,onConfirm:()=>{a(),U.y.dismiss(o)}})})},[]),n=$.useCallback(({onSubmit:a,title:o,description:f})=>{const s=crypto.randomUUID();U.y.warning(V.jsx(V.Fragment,{}),{position:"bottom-left",toastId:s,autoClose:!1}),U.y.update(s,{render:V.jsx(U.PasswordConfirm,{defaultOpen:!0,title:o,description:f,onSubmit:l=>{a(l),U.y.dismiss(s)}})})},[]);return{confirm:e,confirmPassword:n}},Fe=(e,n=!1)=>{const a=$.useRef(document.title);$.useEffect(()=>(n&&a.current===document.title&&(a.current=document.title),document.title=e,()=>{n&&(document.title=a.current)}),[e,n])};var G={},Ee;function Ue(){if(Ee)return G;Ee=1,G.match=s,G.parse=l;var e=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,n=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,a=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/;function s(d,u){return l(d).some(function(v){var g=v.inverse,j=v.type==="all"||u.type===v.type;if(j&&g||!(j||g))return!1;var A=v.expressions.every(function(q){var D=q.feature,Y=q.modifier,x=q.value,S=u[D];if(!S)return!1;switch(D){case"orientation":case"scan":return S.toLowerCase()===x.toLowerCase();case"width":case"height":case"device-width":case"device-height":x=C(x),S=C(S);break;case"resolution":x=m(x),S=m(S);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":x=p(x),S=p(S);break;case"grid":case"color":case"color-index":case"monochrome":x=parseInt(x,10)||1,S=parseInt(S,10)||0;break}switch(Y){case"min":return S>=x;case"max":return S<=x;default:return S===x}});return A&&!g||!A&&g})}function l(d){return d.split(",").map(function(u){u=u.trim();var v=u.match(e),g=v[1],j=v[2],A=v[3]||"",q={};return q.inverse=!!g&&g.toLowerCase()==="not",q.type=j?j.toLowerCase():"all",A=A.match(/\([^\)]+\)/g)||[],q.expressions=A.map(function(D){var Y=D.match(n),x=Y[1].toLowerCase().match(a);return{modifier:x[1],feature:x[2],value:Y[2]}}),q})}function p(d){var u=Number(d),v;return u||(v=d.match(/^(\d+)\s*\/\s*(\d+)$/),u=v[1]/v[2]),u}function m(d){var u=parseFloat(d),v=String(d).match(f)[1];switch(v){case"dpcm":return u/2.54;case"dppx":return u*96;default:return u}}function C(d){var u=parseFloat(d),v=String(d).match(o)[1];switch(v){case"em":return u*16;case"rem":return u*16;case"cm":return u*96/2.54;case"mm":return u*96/2.54/10;case"in":return u*96;case"pt":return u*72;case"pc":return u*72/12;default:return u}}return G}var ce,Te;function ze(){if(Te)return ce;Te=1;var e=Ue().match,n=typeof window<"u"?window.matchMedia:null;function a(f,s,l){var p=this,m;n&&!l&&(m=n.call(window,f)),m?(this.matches=m.matches,this.media=m.media,m.addListener(u)):(this.matches=e(f,s),this.media=f),this.addListener=C,this.removeListener=d,this.dispose=v;function C(g){m&&m.addListener(g)}function d(g){m&&m.removeListener(g)}function u(g){p.matches=g.matches,p.media=g.media}function v(){m&&m.removeListener(u)}}function o(f,s,l){return new a(f,s,l)}return ce=o,ce}var Ne=ze();const He=Ie.getDefaultExportFromCjs(Ne);var Qe=/[A-Z]/g,Ve=/^ms-/,ue={};function Ke(e){return"-"+e.toLowerCase()}function qe(e){if(ue.hasOwnProperty(e))return ue[e];var n=e.replace(Qe,Ke);return ue[e]=Ve.test(n)?"-"+n:n}function Je(e,n){if(e===n)return!0;if(!e||!n)return!1;const a=Object.keys(e),o=Object.keys(n),f=a.length;if(o.length!==f)return!1;for(let s=0;s<f;s++){const l=a[s];if(e[l]!==n[l]||!Object.prototype.hasOwnProperty.call(n,l))return!1}return!0}var Z={exports:{}},B={exports:{}},_={};/** @license React v16.13.1
2
2
  * react-is.production.min.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
- */var ge;function Xe(){if(ge)return _;ge=1;var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,f=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,C=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,j=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,q=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,Y=e?Symbol.for("react.scope"):60119;function x(i){if(typeof i=="object"&&i!==null){var z=i.$$typeof;switch(z){case o:switch(i=i.type,i){case m:case C:case n:case c:case f:case u:return i;default:switch(i=i&&i.$$typeof,i){case p:case d:case j:case g:case l:return i;default:return z}}case a:return z}}}function S(i){return x(i)===C}return _.AsyncMode=m,_.ConcurrentMode=C,_.ContextConsumer=p,_.ContextProvider=l,_.Element=o,_.ForwardRef=d,_.Fragment=n,_.Lazy=j,_.Memo=g,_.Portal=a,_.Profiler=c,_.StrictMode=f,_.Suspense=u,_.isAsyncMode=function(i){return S(i)||x(i)===m},_.isConcurrentMode=S,_.isContextConsumer=function(i){return x(i)===p},_.isContextProvider=function(i){return x(i)===l},_.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===o},_.isForwardRef=function(i){return x(i)===d},_.isFragment=function(i){return x(i)===n},_.isLazy=function(i){return x(i)===j},_.isMemo=function(i){return x(i)===g},_.isPortal=function(i){return x(i)===a},_.isProfiler=function(i){return x(i)===c},_.isStrictMode=function(i){return x(i)===f},_.isSuspense=function(i){return x(i)===u},_.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===n||i===C||i===c||i===f||i===u||i===v||typeof i=="object"&&i!==null&&(i.$$typeof===j||i.$$typeof===g||i.$$typeof===l||i.$$typeof===p||i.$$typeof===d||i.$$typeof===q||i.$$typeof===D||i.$$typeof===Y||i.$$typeof===A)},_.typeOf=x,_}var M={};/** @license React v16.13.1
8
+ */var ge;function Xe(){if(ge)return _;ge=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,f=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,C=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,j=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,q=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,Y=e?Symbol.for("react.scope"):60119;function x(i){if(typeof i=="object"&&i!==null){var z=i.$$typeof;switch(z){case n:switch(i=i.type,i){case m:case C:case o:case s:case f:case u:return i;default:switch(i=i&&i.$$typeof,i){case p:case d:case j:case g:case l:return i;default:return z}}case a:return z}}}function S(i){return x(i)===C}return _.AsyncMode=m,_.ConcurrentMode=C,_.ContextConsumer=p,_.ContextProvider=l,_.Element=n,_.ForwardRef=d,_.Fragment=o,_.Lazy=j,_.Memo=g,_.Portal=a,_.Profiler=s,_.StrictMode=f,_.Suspense=u,_.isAsyncMode=function(i){return S(i)||x(i)===m},_.isConcurrentMode=S,_.isContextConsumer=function(i){return x(i)===p},_.isContextProvider=function(i){return x(i)===l},_.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===n},_.isForwardRef=function(i){return x(i)===d},_.isFragment=function(i){return x(i)===o},_.isLazy=function(i){return x(i)===j},_.isMemo=function(i){return x(i)===g},_.isPortal=function(i){return x(i)===a},_.isProfiler=function(i){return x(i)===s},_.isStrictMode=function(i){return x(i)===f},_.isSuspense=function(i){return x(i)===u},_.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===o||i===C||i===s||i===f||i===u||i===v||typeof i=="object"&&i!==null&&(i.$$typeof===j||i.$$typeof===g||i.$$typeof===l||i.$$typeof===p||i.$$typeof===d||i.$$typeof===q||i.$$typeof===D||i.$$typeof===Y||i.$$typeof===A)},_.typeOf=x,_}var M={};/** @license React v16.13.1
9
9
  * react-is.development.js
10
10
  *
11
11
  * Copyright (c) Facebook, Inc. and its affiliates.
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
- */var xe;function Ge(){return xe||(xe=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,f=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,C=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,j=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,q=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,Y=e?Symbol.for("react.scope"):60119;function x(t){return typeof t=="string"||typeof t=="function"||t===n||t===C||t===c||t===f||t===u||t===v||typeof t=="object"&&t!==null&&(t.$$typeof===j||t.$$typeof===g||t.$$typeof===l||t.$$typeof===p||t.$$typeof===d||t.$$typeof===q||t.$$typeof===D||t.$$typeof===Y||t.$$typeof===A)}function S(t){if(typeof t=="object"&&t!==null){var F=t.$$typeof;switch(F){case o:var X=t.type;switch(X){case m:case C:case n:case c:case f:case u:return X;default:var be=X&&X.$$typeof;switch(be){case p:case d:case j:case g:case l:return be;default:return F}}case a:return F}}}var i=m,z=C,ee=p,re=l,te=o,ne=d,K=n,oe=j,ie=g,Q=a,ae=c,W=f,N=u,J=!1;function se(t){return J||(J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),r(t)||S(t)===m}function r(t){return S(t)===C}function s(t){return S(t)===p}function T(t){return S(t)===l}function b(t){return typeof t=="object"&&t!==null&&t.$$typeof===o}function y(t){return S(t)===d}function R(t){return S(t)===n}function h(t){return S(t)===j}function E(t){return S(t)===g}function w(t){return S(t)===a}function I(t){return S(t)===c}function O(t){return S(t)===f}function L(t){return S(t)===u}M.AsyncMode=i,M.ConcurrentMode=z,M.ContextConsumer=ee,M.ContextProvider=re,M.Element=te,M.ForwardRef=ne,M.Fragment=K,M.Lazy=oe,M.Memo=ie,M.Portal=Q,M.Profiler=ae,M.StrictMode=W,M.Suspense=N,M.isAsyncMode=se,M.isConcurrentMode=r,M.isContextConsumer=s,M.isContextProvider=T,M.isElement=b,M.isForwardRef=y,M.isFragment=R,M.isLazy=h,M.isMemo=E,M.isPortal=w,M.isProfiler=I,M.isStrictMode=O,M.isSuspense=L,M.isValidElementType=x,M.typeOf=S})()),M}var Se;function je(){return Se||(Se=1,process.env.NODE_ENV==="production"?B.exports=Xe():B.exports=Ge()),B.exports}/*
15
+ */var xe;function Ge(){return xe||(xe=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,f=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,C=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,j=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,q=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,Y=e?Symbol.for("react.scope"):60119;function x(t){return typeof t=="string"||typeof t=="function"||t===o||t===C||t===s||t===f||t===u||t===v||typeof t=="object"&&t!==null&&(t.$$typeof===j||t.$$typeof===g||t.$$typeof===l||t.$$typeof===p||t.$$typeof===d||t.$$typeof===q||t.$$typeof===D||t.$$typeof===Y||t.$$typeof===A)}function S(t){if(typeof t=="object"&&t!==null){var F=t.$$typeof;switch(F){case n:var X=t.type;switch(X){case m:case C:case o:case s:case f:case u:return X;default:var be=X&&X.$$typeof;switch(be){case p:case d:case j:case g:case l:return be;default:return F}}case a:return F}}}var i=m,z=C,ee=p,re=l,te=n,ne=d,K=o,oe=j,ie=g,Q=a,ae=s,W=f,N=u,J=!1;function se(t){return J||(J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),r(t)||S(t)===m}function r(t){return S(t)===C}function c(t){return S(t)===p}function T(t){return S(t)===l}function b(t){return typeof t=="object"&&t!==null&&t.$$typeof===n}function y(t){return S(t)===d}function R(t){return S(t)===o}function h(t){return S(t)===j}function E(t){return S(t)===g}function w(t){return S(t)===a}function I(t){return S(t)===s}function O(t){return S(t)===f}function L(t){return S(t)===u}M.AsyncMode=i,M.ConcurrentMode=z,M.ContextConsumer=ee,M.ContextProvider=re,M.Element=te,M.ForwardRef=ne,M.Fragment=K,M.Lazy=oe,M.Memo=ie,M.Portal=Q,M.Profiler=ae,M.StrictMode=W,M.Suspense=N,M.isAsyncMode=se,M.isConcurrentMode=r,M.isContextConsumer=c,M.isContextProvider=T,M.isElement=b,M.isForwardRef=y,M.isFragment=R,M.isLazy=h,M.isMemo=E,M.isPortal=w,M.isProfiler=I,M.isStrictMode=O,M.isSuspense=L,M.isValidElementType=x,M.typeOf=S})()),M}var Se;function je(){return Se||(Se=1,process.env.NODE_ENV==="production"?B.exports=Xe():B.exports=Ge()),B.exports}/*
16
16
  object-assign
17
17
  (c) Sindre Sorhus
18
18
  @license MIT
19
- */var fe,Re;function Ze(){if(Re)return fe;Re=1;var e=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function n(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function f(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var l={},p=0;p<10;p++)l["_"+String.fromCharCode(p)]=p;var m=Object.getOwnPropertyNames(l).map(function(d){return l[d]});if(m.join("")!=="0123456789")return!1;var C={};return"abcdefghijklmnopqrst".split("").forEach(function(d){C[d]=d}),Object.keys(Object.assign({},C)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return fe=f()?Object.assign:function(c,l){for(var p,m=n(c),C,d=1;d<arguments.length;d++){p=Object(arguments[d]);for(var u in p)o.call(p,u)&&(m[u]=p[u]);if(e){C=e(p);for(var v=0;v<C.length;v++)a.call(p,C[v])&&(m[C[v]]=p[C[v]])}}return m},fe}var le,we;function he(){if(we)return le;we=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return le=e,le}var de,Oe;function $e(){return Oe||(Oe=1,de=Function.call.bind(Object.prototype.hasOwnProperty)),de}var pe,Ce;function Be(){if(Ce)return pe;Ce=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var o=he(),a={},n=$e();e=function(c){var l="Warning: "+c;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function f(c,l,p,m,C){if(process.env.NODE_ENV!=="production"){for(var d in c)if(n(c,d)){var u;try{if(typeof c[d]!="function"){var v=Error((m||"React class")+": "+p+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}u=c[d](l,d,m,p,null,o)}catch(j){u=j}if(u&&!(u instanceof Error)&&e((m||"React class")+": type specification of "+p+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var g=C?C():"";e("Failed "+p+" type: "+u.message+(g??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},pe=f,pe}var ye,Pe;function er(){if(Pe)return ye;Pe=1;var e=je(),o=Ze(),a=he(),n=$e(),f=Be(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(p){var m="Warning: "+p;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function l(){return null}return ye=function(p,m){var C=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function u(r){var s=r&&(C&&r[C]||r[d]);if(typeof s=="function")return s}var v="<<anonymous>>",g={array:D("array"),bigint:D("bigint"),bool:D("boolean"),func:D("function"),number:D("number"),object:D("object"),string:D("string"),symbol:D("symbol"),any:Y(),arrayOf:x,element:S(),elementType:i(),instanceOf:z,node:ne(),objectOf:re,oneOf:ee,oneOfType:te,shape:oe,exact:ie};function j(r,s){return r===s?r!==0||1/r===1/s:r!==r&&s!==s}function A(r,s){this.message=r,this.data=s&&typeof s=="object"?s:{},this.stack=""}A.prototype=Error.prototype;function q(r){if(process.env.NODE_ENV!=="production")var s={},T=0;function b(R,h,E,w,I,O,L){if(w=w||v,O=O||E,L!==a){if(m){var t=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw t.name="Invariant Violation",t}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var F=w+":"+E;!s[F]&&T<3&&(c("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+w+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),s[F]=!0,T++)}}return h[E]==null?R?h[E]===null?new A("The "+I+" `"+O+"` is marked as required "+("in `"+w+"`, but its value is `null`.")):new A("The "+I+" `"+O+"` is marked as required in "+("`"+w+"`, but its value is `undefined`.")):null:r(h,E,w,I,O)}var y=b.bind(null,!1);return y.isRequired=b.bind(null,!0),y}function D(r){function s(T,b,y,R,h,E){var w=T[b],I=W(w);if(I!==r){var O=N(w);return new A("Invalid "+R+" `"+h+"` of type "+("`"+O+"` supplied to `"+y+"`, expected ")+("`"+r+"`."),{expectedType:r})}return null}return q(s)}function Y(){return q(l)}function x(r){function s(T,b,y,R,h){if(typeof r!="function")return new A("Property `"+h+"` of component `"+y+"` has invalid PropType notation inside arrayOf.");var E=T[b];if(!Array.isArray(E)){var w=W(E);return new A("Invalid "+R+" `"+h+"` of type "+("`"+w+"` supplied to `"+y+"`, expected an array."))}for(var I=0;I<E.length;I++){var O=r(E,I,y,R,h+"["+I+"]",a);if(O instanceof Error)return O}return null}return q(s)}function S(){function r(s,T,b,y,R){var h=s[T];if(!p(h)){var E=W(h);return new A("Invalid "+y+" `"+R+"` of type "+("`"+E+"` supplied to `"+b+"`, expected a single ReactElement."))}return null}return q(r)}function i(){function r(s,T,b,y,R){var h=s[T];if(!e.isValidElementType(h)){var E=W(h);return new A("Invalid "+y+" `"+R+"` of type "+("`"+E+"` supplied to `"+b+"`, expected a single ReactElement type."))}return null}return q(r)}function z(r){function s(T,b,y,R,h){if(!(T[b]instanceof r)){var E=r.name||v,w=se(T[b]);return new A("Invalid "+R+" `"+h+"` of type "+("`"+w+"` supplied to `"+y+"`, expected ")+("instance of `"+E+"`."))}return null}return q(s)}function ee(r){if(!Array.isArray(r))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array.")),l;function s(T,b,y,R,h){for(var E=T[b],w=0;w<r.length;w++)if(j(E,r[w]))return null;var I=JSON.stringify(r,function(L,t){var F=N(t);return F==="symbol"?String(t):t});return new A("Invalid "+R+" `"+h+"` of value `"+String(E)+"` "+("supplied to `"+y+"`, expected one of "+I+"."))}return q(s)}function re(r){function s(T,b,y,R,h){if(typeof r!="function")return new A("Property `"+h+"` of component `"+y+"` has invalid PropType notation inside objectOf.");var E=T[b],w=W(E);if(w!=="object")return new A("Invalid "+R+" `"+h+"` of type "+("`"+w+"` supplied to `"+y+"`, expected an object."));for(var I in E)if(n(E,I)){var O=r(E,I,y,R,h+"."+I,a);if(O instanceof Error)return O}return null}return q(s)}function te(r){if(!Array.isArray(r))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var s=0;s<r.length;s++){var T=r[s];if(typeof T!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+J(T)+" at index "+s+"."),l}function b(y,R,h,E,w){for(var I=[],O=0;O<r.length;O++){var L=r[O],t=L(y,R,h,E,w,a);if(t==null)return null;t.data&&n(t.data,"expectedType")&&I.push(t.data.expectedType)}var F=I.length>0?", expected one of type ["+I.join(", ")+"]":"";return new A("Invalid "+E+" `"+w+"` supplied to "+("`"+h+"`"+F+"."))}return q(b)}function ne(){function r(s,T,b,y,R){return Q(s[T])?null:new A("Invalid "+y+" `"+R+"` supplied to "+("`"+b+"`, expected a ReactNode."))}return q(r)}function K(r,s,T,b,y){return new A((r||"React class")+": "+s+" type `"+T+"."+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+y+"`.")}function oe(r){function s(T,b,y,R,h){var E=T[b],w=W(E);if(w!=="object")return new A("Invalid "+R+" `"+h+"` of type `"+w+"` "+("supplied to `"+y+"`, expected `object`."));for(var I in r){var O=r[I];if(typeof O!="function")return K(y,R,h,I,N(O));var L=O(E,I,y,R,h+"."+I,a);if(L)return L}return null}return q(s)}function ie(r){function s(T,b,y,R,h){var E=T[b],w=W(E);if(w!=="object")return new A("Invalid "+R+" `"+h+"` of type `"+w+"` "+("supplied to `"+y+"`, expected `object`."));var I=o({},T[b],r);for(var O in I){var L=r[O];if(n(r,O)&&typeof L!="function")return K(y,R,h,O,N(L));if(!L)return new A("Invalid "+R+" `"+h+"` key `"+O+"` supplied to `"+y+"`.\nBad object: "+JSON.stringify(T[b],null," ")+`
20
- Valid keys: `+JSON.stringify(Object.keys(r),null," "));var t=L(E,O,y,R,h+"."+O,a);if(t)return t}return null}return q(s)}function Q(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(Q);if(r===null||p(r))return!0;var s=u(r);if(s){var T=s.call(r),b;if(s!==r.entries){for(;!(b=T.next()).done;)if(!Q(b.value))return!1}else for(;!(b=T.next()).done;){var y=b.value;if(y&&!Q(y[1]))return!1}}else return!1;return!0;default:return!1}}function ae(r,s){return r==="symbol"?!0:s?s["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&s instanceof Symbol:!1}function W(r){var s=typeof r;return Array.isArray(r)?"array":r instanceof RegExp?"object":ae(s,r)?"symbol":s}function N(r){if(typeof r>"u"||r===null)return""+r;var s=W(r);if(s==="object"){if(r instanceof Date)return"date";if(r instanceof RegExp)return"regexp"}return s}function J(r){var s=N(r);switch(s){case"array":case"object":return"an "+s;case"boolean":case"date":case"regexp":return"a "+s;default:return s}}function se(r){return!r.constructor||!r.constructor.name?v:r.constructor.name}return g.checkPropTypes=f,g.resetWarningCache=f.resetWarningCache,g.PropTypes=g,g},ye}var me,_e;function rr(){if(_e)return me;_e=1;var e=he();function o(){}function a(){}return a.resetWarningCache=o,me=function(){function n(l,p,m,C,d,u){if(u!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}n.isRequired=n;function f(){return n}var c={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:f,element:n,elementType:n,instanceOf:f,node:n,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:a,resetWarningCache:o};return c.PropTypes=c,c},me}var Me;function tr(){if(Me)return Z.exports;if(Me=1,process.env.NODE_ENV!=="production"){var e=je(),o=!0;Z.exports=er()(e.isElement,o)}else Z.exports=rr()();return Z.exports}var nr=tr();const P=Ie.getDefaultExportFromCjs(nr),k=P.oneOfType([P.string,P.number]),De={all:P.bool,grid:P.bool,aural:P.bool,braille:P.bool,handheld:P.bool,print:P.bool,projection:P.bool,screen:P.bool,tty:P.bool,tv:P.bool,embossed:P.bool},or={orientation:P.oneOf(["portrait","landscape"]),scan:P.oneOf(["progressive","interlace"]),aspectRatio:P.string,deviceAspectRatio:P.string,height:k,deviceHeight:k,width:k,deviceWidth:k,color:P.bool,colorIndex:P.bool,monochrome:P.bool,resolution:k,type:Object.keys(De)},{type:Tr,...ir}=or,ar={minAspectRatio:P.string,maxAspectRatio:P.string,minDeviceAspectRatio:P.string,maxDeviceAspectRatio:P.string,minHeight:k,maxHeight:k,minDeviceHeight:k,maxDeviceHeight:k,minWidth:k,maxWidth:k,minDeviceWidth:k,maxDeviceWidth:k,minColor:P.number,maxColor:P.number,minColorIndex:P.number,maxColorIndex:P.number,minMonochrome:P.number,maxMonochrome:P.number,minResolution:k,maxResolution:k,...ir},sr={...De,...ar};var cr={all:sr};const ur=e=>`not ${e}`,fr=(e,o)=>{const a=qe(e);return typeof o=="number"&&(o=`${o}px`),o===!0?a:o===!1?ur(a):`(${a}: ${o})`},lr=e=>e.join(" and "),dr=e=>{const o=[];return Object.keys(cr.all).forEach(a=>{const n=e[a];n!=null&&o.push(fr(a,n))}),lr(o)},pr=$.createContext(void 0),yr=e=>e.query||dr(e),Ae=e=>e?Object.keys(e).reduce((a,n)=>(a[qe(n)]=e[n],a),{}):void 0,ke=()=>{const e=$.useRef(!1);return $.useEffect(()=>{e.current=!0},[]),e.current},mr=e=>{const o=$.useContext(pr),a=()=>Ae(e)||Ae(o),[n,f]=$.useState(a);return $.useEffect(()=>{const c=a();Je(n,c)||f(c)},[e,o]),n},vr=e=>{const o=()=>yr(e),[a,n]=$.useState(o);return $.useEffect(()=>{const f=o();a!==f&&n(f)},[e]),a},hr=(e,o)=>{const a=()=>He(e,o||{},!!o),[n,f]=$.useState(a),c=ke();return $.useEffect(()=>{if(c){const l=a();return f(l),()=>{l&&l.dispose()}}},[e,o]),n},br=e=>{const[o,a]=$.useState(e.matches);return $.useEffect(()=>{const n=f=>{a(f.matches)};return e.addListener(n),a(e.matches),()=>{e.removeListener(n)}},[e]),o},H=(e,o,a)=>{const n=mr(o),f=vr(e);if(!f)throw new Error("Invalid or missing MediaQuery!");const c=hr(f,n),l=br(c);return ke(),$.useEffect(()=>{},[l]),$.useEffect(()=>()=>{c&&c.dispose()},[]),l},Er=()=>{const e=H({query:"(min-width: 116rem)"}),o=H({query:"(min-width: 96rem)"}),a=H({query:"(min-width: 80rem)"}),n=H({query:"(min-width: 64rem)"}),f=H({query:"(min-width: 48rem)"}),c=H({query:"(min-width: 40rem)"}),l=H({query:"(max-width: 40rem)"});return{xxxl:e,xxl:o,xl:a,lg:n,md:f,sm:c,xs:l}};exports.useColumns=ve.useColumns;exports.useDataTable=ve.useDataTable;exports.useSortable=ve.useSortable;exports.useFilter=Le.useFilter;exports.useTheme=Ye.useTheme;exports.useConfirm=We;exports.useDocumentTitle=Fe;exports.useMediaQuerySizes=Er;
19
+ */var fe,Re;function Ze(){if(Re)return fe;Re=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function f(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var l={},p=0;p<10;p++)l["_"+String.fromCharCode(p)]=p;var m=Object.getOwnPropertyNames(l).map(function(d){return l[d]});if(m.join("")!=="0123456789")return!1;var C={};return"abcdefghijklmnopqrst".split("").forEach(function(d){C[d]=d}),Object.keys(Object.assign({},C)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return fe=f()?Object.assign:function(s,l){for(var p,m=o(s),C,d=1;d<arguments.length;d++){p=Object(arguments[d]);for(var u in p)n.call(p,u)&&(m[u]=p[u]);if(e){C=e(p);for(var v=0;v<C.length;v++)a.call(p,C[v])&&(m[C[v]]=p[C[v]])}}return m},fe}var le,we;function he(){if(we)return le;we=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return le=e,le}var de,Oe;function $e(){return Oe||(Oe=1,de=Function.call.bind(Object.prototype.hasOwnProperty)),de}var pe,Ce;function Be(){if(Ce)return pe;Ce=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var n=he(),a={},o=$e();e=function(s){var l="Warning: "+s;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}}}function f(s,l,p,m,C){if(process.env.NODE_ENV!=="production"){for(var d in s)if(o(s,d)){var u;try{if(typeof s[d]!="function"){var v=Error((m||"React class")+": "+p+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}u=s[d](l,d,m,p,null,n)}catch(j){u=j}if(u&&!(u instanceof Error)&&e((m||"React class")+": type specification of "+p+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var g=C?C():"";e("Failed "+p+" type: "+u.message+(g??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},pe=f,pe}var ye,Pe;function er(){if(Pe)return ye;Pe=1;var e=je(),n=Ze(),a=he(),o=$e(),f=Be(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(p){var m="Warning: "+p;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function l(){return null}return ye=function(p,m){var C=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function u(r){var c=r&&(C&&r[C]||r[d]);if(typeof c=="function")return c}var v="<<anonymous>>",g={array:D("array"),bigint:D("bigint"),bool:D("boolean"),func:D("function"),number:D("number"),object:D("object"),string:D("string"),symbol:D("symbol"),any:Y(),arrayOf:x,element:S(),elementType:i(),instanceOf:z,node:ne(),objectOf:re,oneOf:ee,oneOfType:te,shape:oe,exact:ie};function j(r,c){return r===c?r!==0||1/r===1/c:r!==r&&c!==c}function A(r,c){this.message=r,this.data=c&&typeof c=="object"?c:{},this.stack=""}A.prototype=Error.prototype;function q(r){if(process.env.NODE_ENV!=="production")var c={},T=0;function b(R,h,E,w,I,O,L){if(w=w||v,O=O||E,L!==a){if(m){var t=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw t.name="Invariant Violation",t}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var F=w+":"+E;!c[F]&&T<3&&(s("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+w+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),c[F]=!0,T++)}}return h[E]==null?R?h[E]===null?new A("The "+I+" `"+O+"` is marked as required "+("in `"+w+"`, but its value is `null`.")):new A("The "+I+" `"+O+"` is marked as required in "+("`"+w+"`, but its value is `undefined`.")):null:r(h,E,w,I,O)}var y=b.bind(null,!1);return y.isRequired=b.bind(null,!0),y}function D(r){function c(T,b,y,R,h,E){var w=T[b],I=W(w);if(I!==r){var O=N(w);return new A("Invalid "+R+" `"+h+"` of type "+("`"+O+"` supplied to `"+y+"`, expected ")+("`"+r+"`."),{expectedType:r})}return null}return q(c)}function Y(){return q(l)}function x(r){function c(T,b,y,R,h){if(typeof r!="function")return new A("Property `"+h+"` of component `"+y+"` has invalid PropType notation inside arrayOf.");var E=T[b];if(!Array.isArray(E)){var w=W(E);return new A("Invalid "+R+" `"+h+"` of type "+("`"+w+"` supplied to `"+y+"`, expected an array."))}for(var I=0;I<E.length;I++){var O=r(E,I,y,R,h+"["+I+"]",a);if(O instanceof Error)return O}return null}return q(c)}function S(){function r(c,T,b,y,R){var h=c[T];if(!p(h)){var E=W(h);return new A("Invalid "+y+" `"+R+"` of type "+("`"+E+"` supplied to `"+b+"`, expected a single ReactElement."))}return null}return q(r)}function i(){function r(c,T,b,y,R){var h=c[T];if(!e.isValidElementType(h)){var E=W(h);return new A("Invalid "+y+" `"+R+"` of type "+("`"+E+"` supplied to `"+b+"`, expected a single ReactElement type."))}return null}return q(r)}function z(r){function c(T,b,y,R,h){if(!(T[b]instanceof r)){var E=r.name||v,w=se(T[b]);return new A("Invalid "+R+" `"+h+"` of type "+("`"+w+"` supplied to `"+y+"`, expected ")+("instance of `"+E+"`."))}return null}return q(c)}function ee(r){if(!Array.isArray(r))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),l;function c(T,b,y,R,h){for(var E=T[b],w=0;w<r.length;w++)if(j(E,r[w]))return null;var I=JSON.stringify(r,function(L,t){var F=N(t);return F==="symbol"?String(t):t});return new A("Invalid "+R+" `"+h+"` of value `"+String(E)+"` "+("supplied to `"+y+"`, expected one of "+I+"."))}return q(c)}function re(r){function c(T,b,y,R,h){if(typeof r!="function")return new A("Property `"+h+"` of component `"+y+"` has invalid PropType notation inside objectOf.");var E=T[b],w=W(E);if(w!=="object")return new A("Invalid "+R+" `"+h+"` of type "+("`"+w+"` supplied to `"+y+"`, expected an object."));for(var I in E)if(o(E,I)){var O=r(E,I,y,R,h+"."+I,a);if(O instanceof Error)return O}return null}return q(c)}function te(r){if(!Array.isArray(r))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),l;for(var c=0;c<r.length;c++){var T=r[c];if(typeof T!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+J(T)+" at index "+c+"."),l}function b(y,R,h,E,w){for(var I=[],O=0;O<r.length;O++){var L=r[O],t=L(y,R,h,E,w,a);if(t==null)return null;t.data&&o(t.data,"expectedType")&&I.push(t.data.expectedType)}var F=I.length>0?", expected one of type ["+I.join(", ")+"]":"";return new A("Invalid "+E+" `"+w+"` supplied to "+("`"+h+"`"+F+"."))}return q(b)}function ne(){function r(c,T,b,y,R){return Q(c[T])?null:new A("Invalid "+y+" `"+R+"` supplied to "+("`"+b+"`, expected a ReactNode."))}return q(r)}function K(r,c,T,b,y){return new A((r||"React class")+": "+c+" type `"+T+"."+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+y+"`.")}function oe(r){function c(T,b,y,R,h){var E=T[b],w=W(E);if(w!=="object")return new A("Invalid "+R+" `"+h+"` of type `"+w+"` "+("supplied to `"+y+"`, expected `object`."));for(var I in r){var O=r[I];if(typeof O!="function")return K(y,R,h,I,N(O));var L=O(E,I,y,R,h+"."+I,a);if(L)return L}return null}return q(c)}function ie(r){function c(T,b,y,R,h){var E=T[b],w=W(E);if(w!=="object")return new A("Invalid "+R+" `"+h+"` of type `"+w+"` "+("supplied to `"+y+"`, expected `object`."));var I=n({},T[b],r);for(var O in I){var L=r[O];if(o(r,O)&&typeof L!="function")return K(y,R,h,O,N(L));if(!L)return new A("Invalid "+R+" `"+h+"` key `"+O+"` supplied to `"+y+"`.\nBad object: "+JSON.stringify(T[b],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(r),null," "));var t=L(E,O,y,R,h+"."+O,a);if(t)return t}return null}return q(c)}function Q(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(Q);if(r===null||p(r))return!0;var c=u(r);if(c){var T=c.call(r),b;if(c!==r.entries){for(;!(b=T.next()).done;)if(!Q(b.value))return!1}else for(;!(b=T.next()).done;){var y=b.value;if(y&&!Q(y[1]))return!1}}else return!1;return!0;default:return!1}}function ae(r,c){return r==="symbol"?!0:c?c["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&c instanceof Symbol:!1}function W(r){var c=typeof r;return Array.isArray(r)?"array":r instanceof RegExp?"object":ae(c,r)?"symbol":c}function N(r){if(typeof r>"u"||r===null)return""+r;var c=W(r);if(c==="object"){if(r instanceof Date)return"date";if(r instanceof RegExp)return"regexp"}return c}function J(r){var c=N(r);switch(c){case"array":case"object":return"an "+c;case"boolean":case"date":case"regexp":return"a "+c;default:return c}}function se(r){return!r.constructor||!r.constructor.name?v:r.constructor.name}return g.checkPropTypes=f,g.resetWarningCache=f.resetWarningCache,g.PropTypes=g,g},ye}var me,_e;function rr(){if(_e)return me;_e=1;var e=he();function n(){}function a(){}return a.resetWarningCache=n,me=function(){function o(l,p,m,C,d,u){if(u!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}o.isRequired=o;function f(){return o}var s={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:f,element:o,elementType:o,instanceOf:f,node:o,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:a,resetWarningCache:n};return s.PropTypes=s,s},me}var Me;function tr(){if(Me)return Z.exports;if(Me=1,process.env.NODE_ENV!=="production"){var e=je(),n=!0;Z.exports=er()(e.isElement,n)}else Z.exports=rr()();return Z.exports}var nr=tr();const P=Ie.getDefaultExportFromCjs(nr),k=P.oneOfType([P.string,P.number]),De={all:P.bool,grid:P.bool,aural:P.bool,braille:P.bool,handheld:P.bool,print:P.bool,projection:P.bool,screen:P.bool,tty:P.bool,tv:P.bool,embossed:P.bool},or={orientation:P.oneOf(["portrait","landscape"]),scan:P.oneOf(["progressive","interlace"]),aspectRatio:P.string,deviceAspectRatio:P.string,height:k,deviceHeight:k,width:k,deviceWidth:k,color:P.bool,colorIndex:P.bool,monochrome:P.bool,resolution:k,type:Object.keys(De)},{type:Tr,...ir}=or,ar={minAspectRatio:P.string,maxAspectRatio:P.string,minDeviceAspectRatio:P.string,maxDeviceAspectRatio:P.string,minHeight:k,maxHeight:k,minDeviceHeight:k,maxDeviceHeight:k,minWidth:k,maxWidth:k,minDeviceWidth:k,maxDeviceWidth:k,minColor:P.number,maxColor:P.number,minColorIndex:P.number,maxColorIndex:P.number,minMonochrome:P.number,maxMonochrome:P.number,minResolution:k,maxResolution:k,...ir},sr={...De,...ar};var cr={all:sr};const ur=e=>`not ${e}`,fr=(e,n)=>{const a=qe(e);return typeof n=="number"&&(n=`${n}px`),n===!0?a:n===!1?ur(a):`(${a}: ${n})`},lr=e=>e.join(" and "),dr=e=>{const n=[];return Object.keys(cr.all).forEach(a=>{const o=e[a];o!=null&&n.push(fr(a,o))}),lr(n)},pr=$.createContext(void 0),yr=e=>e.query||dr(e),Ae=e=>e?Object.keys(e).reduce((a,o)=>(a[qe(o)]=e[o],a),{}):void 0,ke=()=>{const e=$.useRef(!1);return $.useEffect(()=>{e.current=!0},[]),e.current},mr=e=>{const n=$.useContext(pr),a=()=>Ae(e)||Ae(n),[o,f]=$.useState(a);return $.useEffect(()=>{const s=a();Je(o,s)||f(s)},[e,n]),o},vr=e=>{const n=()=>yr(e),[a,o]=$.useState(n);return $.useEffect(()=>{const f=n();a!==f&&o(f)},[e]),a},hr=(e,n)=>{const a=()=>He(e,n||{},!!n),[o,f]=$.useState(a),s=ke();return $.useEffect(()=>{if(s){const l=a();return f(l),()=>{l&&l.dispose()}}},[e,n]),o},br=e=>{const[n,a]=$.useState(e.matches);return $.useEffect(()=>{const o=f=>{a(f.matches)};return e.addListener(o),a(e.matches),()=>{e.removeListener(o)}},[e]),n},H=(e,n,a)=>{const o=mr(n),f=vr(e);if(!f)throw new Error("Invalid or missing MediaQuery!");const s=hr(f,o),l=br(s);return ke(),$.useEffect(()=>{},[l]),$.useEffect(()=>()=>{s&&s.dispose()},[]),l},Er=()=>{const e=H({query:"(min-width: 116rem)"}),n=H({query:"(min-width: 96rem)"}),a=H({query:"(min-width: 80rem)"}),o=H({query:"(min-width: 64rem)"}),f=H({query:"(min-width: 48rem)"}),s=H({query:"(min-width: 40rem)"}),l=H({query:"(max-width: 40rem)"});return{xxxl:e,xxl:n,xl:a,lg:o,md:f,sm:s,xs:l}};exports.useColumns=ve.useColumns;exports.useDataTable=ve.useDataTable;exports.useSortable=ve.useSortable;exports.useFilter=Le.useFilter;exports.useTheme=Ye.useTheme;exports.useConfirm=We;exports.useDocumentTitle=Fe;exports.useMediaQuerySizes=Er;
21
21
  //# sourceMappingURL=index.cjs.js.map