adpro-react 0.0.36 → 0.0.37
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.
- package/dist/adpro-react.cjs.js +1 -1
- package/dist/adpro-react.es.js +2 -1
- package/dist/components/multiSelectADPRO/hook/useMultiSelectADPRO.d.ts +1 -0
- package/dist/components/multiSelectADPRO/hook/useMultiSelectADPRO.d.ts.map +1 -1
- package/dist/components/multiSelectADPRO/view/MultiSelectADPRO.d.ts.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/adpro-react.cjs.js
CHANGED
|
@@ -531,7 +531,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
531
531
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
532
532
|
* See the License for the specific language governing permissions and
|
|
533
533
|
* limitations under the License.
|
|
534
|
-
*/function j2(e){return e.variant===b1.FIDELITY||e.variant===b1.CONTENT}function st(e){return e.variant===b1.MONOCHROME}function Eg(e,t,r,n){let o=r,a=Yr.from(e,t,r);if(a.chroma<t){let i=a.chroma;for(;a.chroma<t;){o+=n?-1:1;const l=Yr.from(e,t,o);if(i>l.chroma||Math.abs(l.chroma-t)<.4)break;const u=Math.abs(l.chroma-t),d=Math.abs(a.chroma-t);u<d&&(a=l),i=Math.max(i,l.chroma)}}return o}function Sg(e){return Qt.make(void 0,void 0,e.isDark?30:80,void 0,void 0)}function Wi(e,t){const r=e.inViewingConditions(Sg(t));return ue.tonePrefersLightForeground(e.tone)&&!ue.toneAllowsLightForeground(r.tone)?ue.enableLightForeground(e.tone):ue.enableLightForeground(r.tone)}class z{static highestSurface(t){return t.isDark?z.surfaceBright:z.surfaceDim}}z.contentAccentToneDelta=15;z.primaryPaletteKeyColor=ue.fromPalette({name:"primary_palette_key_color",palette:e=>e.primaryPalette,tone:e=>e.primaryPalette.keyColor.tone});z.secondaryPaletteKeyColor=ue.fromPalette({name:"secondary_palette_key_color",palette:e=>e.secondaryPalette,tone:e=>e.secondaryPalette.keyColor.tone});z.tertiaryPaletteKeyColor=ue.fromPalette({name:"tertiary_palette_key_color",palette:e=>e.tertiaryPalette,tone:e=>e.tertiaryPalette.keyColor.tone});z.neutralPaletteKeyColor=ue.fromPalette({name:"neutral_palette_key_color",palette:e=>e.neutralPalette,tone:e=>e.neutralPalette.keyColor.tone});z.neutralVariantPaletteKeyColor=ue.fromPalette({name:"neutral_variant_palette_key_color",palette:e=>e.neutralVariantPalette,tone:e=>e.neutralVariantPalette.keyColor.tone});z.background=ue.fromPalette({name:"background",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});z.onBackground=ue.fromPalette({name:"on_background",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>z.background,contrastCurve:new Ee(3,3,4.5,7)});z.surface=ue.fromPalette({name:"surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});z.surfaceDim=ue.fromPalette({name:"surface_dim",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:87,isBackground:!0});z.surfaceBright=ue.fromPalette({name:"surface_bright",palette:e=>e.neutralPalette,tone:e=>e.isDark?24:98,isBackground:!0});z.surfaceContainerLowest=ue.fromPalette({name:"surface_container_lowest",palette:e=>e.neutralPalette,tone:e=>e.isDark?4:100,isBackground:!0});z.surfaceContainerLow=ue.fromPalette({name:"surface_container_low",palette:e=>e.neutralPalette,tone:e=>e.isDark?10:96,isBackground:!0});z.surfaceContainer=ue.fromPalette({name:"surface_container",palette:e=>e.neutralPalette,tone:e=>e.isDark?12:94,isBackground:!0});z.surfaceContainerHigh=ue.fromPalette({name:"surface_container_high",palette:e=>e.neutralPalette,tone:e=>e.isDark?17:92,isBackground:!0});z.surfaceContainerHighest=ue.fromPalette({name:"surface_container_highest",palette:e=>e.neutralPalette,tone:e=>e.isDark?22:90,isBackground:!0});z.onSurface=ue.fromPalette({name:"on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>z.highestSurface(e),contrastCurve:new Ee(4.5,7,11,21)});z.surfaceVariant=ue.fromPalette({name:"surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:90,isBackground:!0});z.onSurfaceVariant=ue.fromPalette({name:"on_surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?80:30,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11)});z.inverseSurface=ue.fromPalette({name:"inverse_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:20});z.inverseOnSurface=ue.fromPalette({name:"inverse_on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?20:95,background:e=>z.inverseSurface,contrastCurve:new Ee(4.5,7,11,21)});z.outline=ue.fromPalette({name:"outline",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?60:50,background:e=>z.highestSurface(e),contrastCurve:new Ee(1.5,3,4.5,7)});z.outlineVariant=ue.fromPalette({name:"outline_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:80,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7)});z.shadow=ue.fromPalette({name:"shadow",palette:e=>e.neutralPalette,tone:e=>0});z.scrim=ue.fromPalette({name:"scrim",palette:e=>e.neutralPalette,tone:e=>0});z.surfaceTint=ue.fromPalette({name:"surface_tint",palette:e=>e.primaryPalette,tone:e=>e.isDark?80:40,isBackground:!0});z.primary=ue.fromPalette({name:"primary",palette:e=>e.primaryPalette,tone:e=>st(e)?e.isDark?100:0:e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.primaryContainer,z.primary,15,"nearer",!1)});z.onPrimary=ue.fromPalette({name:"on_primary",palette:e=>e.primaryPalette,tone:e=>st(e)?e.isDark?10:90:e.isDark?20:100,background:e=>z.primary,contrastCurve:new Ee(4.5,7,11,21)});z.primaryContainer=ue.fromPalette({name:"primary_container",palette:e=>e.primaryPalette,tone:e=>j2(e)?Wi(e.sourceColorHct,e):st(e)?e.isDark?85:25:e.isDark?30:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.primaryContainer,z.primary,15,"nearer",!1)});z.onPrimaryContainer=ue.fromPalette({name:"on_primary_container",palette:e=>e.primaryPalette,tone:e=>j2(e)?ue.foregroundTone(z.primaryContainer.tone(e),4.5):st(e)?e.isDark?0:100:e.isDark?90:10,background:e=>z.primaryContainer,contrastCurve:new Ee(4.5,7,11,21)});z.inversePrimary=ue.fromPalette({name:"inverse_primary",palette:e=>e.primaryPalette,tone:e=>e.isDark?40:80,background:e=>z.inverseSurface,contrastCurve:new Ee(3,4.5,7,11)});z.secondary=ue.fromPalette({name:"secondary",palette:e=>e.secondaryPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.secondaryContainer,z.secondary,15,"nearer",!1)});z.onSecondary=ue.fromPalette({name:"on_secondary",palette:e=>e.secondaryPalette,tone:e=>st(e)?e.isDark?10:100:e.isDark?20:100,background:e=>z.secondary,contrastCurve:new Ee(4.5,7,11,21)});z.secondaryContainer=ue.fromPalette({name:"secondary_container",palette:e=>e.secondaryPalette,tone:e=>{const t=e.isDark?30:90;if(st(e))return e.isDark?30:85;if(!j2(e))return t;let r=Eg(e.secondaryPalette.hue,e.secondaryPalette.chroma,t,!e.isDark);return r=Wi(e.secondaryPalette.getHct(r),e),r},isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.secondaryContainer,z.secondary,15,"nearer",!1)});z.onSecondaryContainer=ue.fromPalette({name:"on_secondary_container",palette:e=>e.secondaryPalette,tone:e=>j2(e)?ue.foregroundTone(z.secondaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>z.secondaryContainer,contrastCurve:new Ee(4.5,7,11,21)});z.tertiary=ue.fromPalette({name:"tertiary",palette:e=>e.tertiaryPalette,tone:e=>st(e)?e.isDark?90:25:e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.tertiaryContainer,z.tertiary,15,"nearer",!1)});z.onTertiary=ue.fromPalette({name:"on_tertiary",palette:e=>e.tertiaryPalette,tone:e=>st(e)?e.isDark?10:90:e.isDark?20:100,background:e=>z.tertiary,contrastCurve:new Ee(4.5,7,11,21)});z.tertiaryContainer=ue.fromPalette({name:"tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>{if(st(e))return e.isDark?60:49;if(!j2(e))return e.isDark?30:90;const t=Wi(e.tertiaryPalette.getHct(e.sourceColorHct.tone),e),r=e.tertiaryPalette.getHct(t);return Ui.fixIfDisliked(r).tone},isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.tertiaryContainer,z.tertiary,15,"nearer",!1)});z.onTertiaryContainer=ue.fromPalette({name:"on_tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>st(e)?e.isDark?0:100:j2(e)?ue.foregroundTone(z.tertiaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>z.tertiaryContainer,contrastCurve:new Ee(4.5,7,11,21)});z.error=ue.fromPalette({name:"error",palette:e=>e.errorPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.errorContainer,z.error,15,"nearer",!1)});z.onError=ue.fromPalette({name:"on_error",palette:e=>e.errorPalette,tone:e=>e.isDark?20:100,background:e=>z.error,contrastCurve:new Ee(4.5,7,11,21)});z.errorContainer=ue.fromPalette({name:"error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?30:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.errorContainer,z.error,15,"nearer",!1)});z.onErrorContainer=ue.fromPalette({name:"on_error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?90:10,background:e=>z.errorContainer,contrastCurve:new Ee(4.5,7,11,21)});z.primaryFixed=ue.fromPalette({name:"primary_fixed",palette:e=>e.primaryPalette,tone:e=>st(e)?40:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.primaryFixed,z.primaryFixedDim,10,"lighter",!0)});z.primaryFixedDim=ue.fromPalette({name:"primary_fixed_dim",palette:e=>e.primaryPalette,tone:e=>st(e)?30:80,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.primaryFixed,z.primaryFixedDim,10,"lighter",!0)});z.onPrimaryFixed=ue.fromPalette({name:"on_primary_fixed",palette:e=>e.primaryPalette,tone:e=>st(e)?100:10,background:e=>z.primaryFixedDim,secondBackground:e=>z.primaryFixed,contrastCurve:new Ee(4.5,7,11,21)});z.onPrimaryFixedVariant=ue.fromPalette({name:"on_primary_fixed_variant",palette:e=>e.primaryPalette,tone:e=>st(e)?90:30,background:e=>z.primaryFixedDim,secondBackground:e=>z.primaryFixed,contrastCurve:new Ee(3,4.5,7,11)});z.secondaryFixed=ue.fromPalette({name:"secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>st(e)?80:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.secondaryFixed,z.secondaryFixedDim,10,"lighter",!0)});z.secondaryFixedDim=ue.fromPalette({name:"secondary_fixed_dim",palette:e=>e.secondaryPalette,tone:e=>st(e)?70:80,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.secondaryFixed,z.secondaryFixedDim,10,"lighter",!0)});z.onSecondaryFixed=ue.fromPalette({name:"on_secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>10,background:e=>z.secondaryFixedDim,secondBackground:e=>z.secondaryFixed,contrastCurve:new Ee(4.5,7,11,21)});z.onSecondaryFixedVariant=ue.fromPalette({name:"on_secondary_fixed_variant",palette:e=>e.secondaryPalette,tone:e=>st(e)?25:30,background:e=>z.secondaryFixedDim,secondBackground:e=>z.secondaryFixed,contrastCurve:new Ee(3,4.5,7,11)});z.tertiaryFixed=ue.fromPalette({name:"tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>st(e)?40:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.tertiaryFixed,z.tertiaryFixedDim,10,"lighter",!0)});z.tertiaryFixedDim=ue.fromPalette({name:"tertiary_fixed_dim",palette:e=>e.tertiaryPalette,tone:e=>st(e)?30:80,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.tertiaryFixed,z.tertiaryFixedDim,10,"lighter",!0)});z.onTertiaryFixed=ue.fromPalette({name:"on_tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>st(e)?100:10,background:e=>z.tertiaryFixedDim,secondBackground:e=>z.tertiaryFixed,contrastCurve:new Ee(4.5,7,11,21)});z.onTertiaryFixedVariant=ue.fromPalette({name:"on_tertiary_fixed_variant",palette:e=>e.tertiaryPalette,tone:e=>st(e)?90:30,background:e=>z.tertiaryFixedDim,secondBackground:e=>z.tertiaryFixed,contrastCurve:new Ee(3,4.5,7,11)});const yo={...mt,components:{...mt.components,MuiTableHead:{styleOverrides:{root:{th:{padding:"0.2rem 0.5rem !important",borderBottom:"1px solid rgba(226, 227, 232, 1) !important",color:"text-primary",background:xa[50]},"th .MuiButtonBase-root":{color:"text-primary",cursor:"pointer"},td:{borderLeft:"none"}}}},MuiTableBody:{styleOverrides:{root:{".MuiTableCell-root":{padding:"0.1rem 0.5rem !important"},".MuiTableRow-root:hover":{backgroundColor:xa[100]}}}},MuiTableFooter:{styleOverrides:{root:{".MuiTableCell-footer":{padding:"2px 4px !important"}}}}}},x6=e=>{const{label:t,helperText:r,inputRef:n,name:o,customTheme:a,required:i,error:l,placeholder:u,size:d,type:f,labelText:m,optionAll:g,showId:v,action:C}=e,{dataList:c,loading:y,isFocused:x,autocompleteValue:w,textFieldValue:O,handleAutocompleteValue:S,handleTextFieldValue:b,handleReasonChangeTextField:F,setIsFocused:R,clearValues:B}=f0(e);let N=a||yo,h=g?[g,...c]:c;const D=p.useMemo(()=>{const A={...e};return delete A.handleValue,delete A.labelText,delete A.labelKey,delete A.helperText,delete A.error,delete A.ref,delete A.inputRef,delete A.name,delete A.labelSelection,delete A.size,delete A.optionAll,delete A.showId,A},[e]);return T.jsx(le.ThemeProvider,{theme:N,children:T.jsx(le.Autocomplete,{...D,filterOptions:A=>A,noOptionsText:"No se encontraron resultados.",options:h,onChange:(A,H)=>S(H),onInputChange:(A,H,V)=>{b(H),F(V)},getOptionLabel:e.getOptionLabel?e.getOptionLabel:A=>A?A[m]:"",renderOption:(A,H)=>p.createElement(le.Box,{component:"li",...A,key:`${H[e.labelKey]}-${H[e.labelText]}`,sx:{borderBottom:H[e.labelKey]==="-1"||H[e.labelKey]===-1?`${mt.palette.divider} 1px solid`:"inherit"}},v&&H[e.labelKey]!=="-1"&&H[e.labelKey]!==-1?`${H[e.labelKey]} - ${H[e.labelText]}`:`${H[e.labelText]}`),value:w,inputValue:O,loading:y,loadingText:"Consultando...",size:d,onBlur:()=>{R(!1)},renderInput:A=>T.jsx(le.TextField,{...A,label:t,value:O,error:l,helperText:r,placeholder:u,required:i,ref:n,name:o??"",size:d,onFocus:H=>{R(!0)},InputProps:{...A.InputProps,endAdornment:T.jsxs(T.Fragment,{children:[O&&f!=="list"?T.jsx(le.IconButton,{size:"small",onClick:B,sx:{height:"22px",width:"22px"},children:T.jsx(Iu,{fontSize:"small",color:"action",sx:{height:"16px",width:"16px"}})}):null,y?T.jsx(le.CircularProgress,{color:"primary",size:20}):f==="list"||C==="all"&&f==="request"?x?T.jsx($u,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):T.jsx(Au,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):T.jsx(Bu,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}})]})}})})})};function O6(e){const{options:t,value:r,onSelected:n,labelKey:o,labelText:a,todos:i,disableAutoSelectTodos:l}=e,u=i?{[o]:"-1",[a]:"Todos"}:null,d=i&&u?[u,...t]:t,f=d.filter(v=>v[o]!=="-1"),m=r.length===f.length;return p.useEffect(()=>{i&&!l&&r.length===0&&f.length>0&&n(f)},[]),{updatedOptions:d,handleChange:(v,C)=>{if(!i||!u){n(C);return}const c=C.some(y=>y[o]===u[o]);n(c?m?[]:f:C)},isAllSelected:m}}const E6=({text:e,variant:t="body3",align:r,placement:n,color:o})=>{const a=p.useRef(null),[i,l]=p.useState(!1);p.useEffect(()=>{const d=a.current;d&&l(d.offsetWidth<d.scrollWidth)},[e]);const u=T.jsx(le.Typography,{variant:t,noWrap:!0,ref:a,textAlign:r,color:o,children:e});return i?T.jsx(le.ThemeProvider,{theme:mt,children:T.jsx(le.Tooltip,{title:e,arrow:!0,placement:n,children:u})}):u};function Ga(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ya(e,t){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Ya(e,t)}function qi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ya(e,t)}var vs=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function wg(e,t){return!!(e===t||vs(e)&&vs(t))}function Lg(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!wg(e[r],t[r]))return!1;return!0}function ea(e,t){t===void 0&&(t=Lg);var r,n=[],o,a=!1;function i(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return a&&r===this&&t(l,n)||(o=e.apply(this,l),a=!0,r=this,n=l),o}return i}function S6(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Tg=typeof performance=="object"&&typeof performance.now=="function",xs=Tg?function(){return performance.now()}:function(){return Date.now()};function Os(e){cancelAnimationFrame(e.id)}function Mg(e,t){var r=xs();function n(){xs()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var ta=-1;function Es(e){if(e===void 0&&(e=!1),ta===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),ta=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return ta}var x2=null;function Ss(e){if(e===void 0&&(e=!1),x2===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?x2="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?x2="negative":x2="positive-ascending"),document.body.removeChild(t),x2}return x2}process.env.NODE_ENV;var Fg=150,Rg=function(t,r){return t},ln=null,sn=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ln=new WeakSet,sn=new WeakSet);function Pg(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=function(m){qi(g,m);function g(C){var c;return c=m.call(this,C)||this,c._instanceProps=u(c.props,Ga(c)),c._outerRef=void 0,c._resetIsScrollingTimeoutId=null,c.state={instance:Ga(c),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof c.props.initialScrollOffset=="number"?c.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},c._callOnItemsRendered=void 0,c._callOnItemsRendered=ea(function(y,x,w,O){return c.props.onItemsRendered({overscanStartIndex:y,overscanStopIndex:x,visibleStartIndex:w,visibleStopIndex:O})}),c._callOnScroll=void 0,c._callOnScroll=ea(function(y,x,w){return c.props.onScroll({scrollDirection:y,scrollOffset:x,scrollUpdateWasRequested:w})}),c._getItemStyle=void 0,c._getItemStyle=function(y){var x=c.props,w=x.direction,O=x.itemSize,S=x.layout,b=c._getItemStyleCache(d&&O,d&&S,d&&w),F;if(b.hasOwnProperty(y))F=b[y];else{var R=r(c.props,y,c._instanceProps),B=o(c.props,y,c._instanceProps),N=w==="horizontal"||S==="horizontal",h=w==="rtl",D=N?R:0;b[y]=F={position:"absolute",left:h?void 0:D,right:h?D:void 0,top:N?0:R,height:N?"100%":B,width:N?B:"100%"}}return F},c._getItemStyleCache=void 0,c._getItemStyleCache=ea(function(y,x,w){return{}}),c._onScrollHorizontal=function(y){var x=y.currentTarget,w=x.clientWidth,O=x.scrollLeft,S=x.scrollWidth;c.setState(function(b){if(b.scrollOffset===O)return null;var F=c.props.direction,R=O;if(F==="rtl")switch(Ss()){case"negative":R=-O;break;case"positive-descending":R=S-w-O;break}return R=Math.max(0,Math.min(R,S-w)),{isScrolling:!0,scrollDirection:b.scrollOffset<R?"forward":"backward",scrollOffset:R,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._onScrollVertical=function(y){var x=y.currentTarget,w=x.clientHeight,O=x.scrollHeight,S=x.scrollTop;c.setState(function(b){if(b.scrollOffset===S)return null;var F=Math.max(0,Math.min(S,O-w));return{isScrolling:!0,scrollDirection:b.scrollOffset<F?"forward":"backward",scrollOffset:F,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._outerRefSetter=function(y){var x=c.props.outerRef;c._outerRef=y,typeof x=="function"?x(y):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=y)},c._resetIsScrollingDebounced=function(){c._resetIsScrollingTimeoutId!==null&&Os(c._resetIsScrollingTimeoutId),c._resetIsScrollingTimeoutId=Mg(c._resetIsScrolling,Fg)},c._resetIsScrolling=function(){c._resetIsScrollingTimeoutId=null,c.setState({isScrolling:!1},function(){c._getItemStyleCache(-1,null)})},c}g.getDerivedStateFromProps=function(c,y){return kg(c,y),f(c),null};var v=g.prototype;return v.scrollTo=function(c){c=Math.max(0,c),this.setState(function(y){return y.scrollOffset===c?null:{scrollDirection:y.scrollOffset<c?"forward":"backward",scrollOffset:c,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},v.scrollToItem=function(c,y){y===void 0&&(y="auto");var x=this.props,w=x.itemCount,O=x.layout,S=this.state.scrollOffset;c=Math.max(0,Math.min(c,w-1));var b=0;if(this._outerRef){var F=this._outerRef;O==="vertical"?b=F.scrollWidth>F.clientWidth?Es():0:b=F.scrollHeight>F.clientHeight?Es():0}this.scrollTo(a(this.props,c,y,S,this._instanceProps,b))},v.componentDidMount=function(){var c=this.props,y=c.direction,x=c.initialScrollOffset,w=c.layout;if(typeof x=="number"&&this._outerRef!=null){var O=this._outerRef;y==="horizontal"||w==="horizontal"?O.scrollLeft=x:O.scrollTop=x}this._callPropsCallbacks()},v.componentDidUpdate=function(){var c=this.props,y=c.direction,x=c.layout,w=this.state,O=w.scrollOffset,S=w.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var b=this._outerRef;if(y==="horizontal"||x==="horizontal")if(y==="rtl")switch(Ss()){case"negative":b.scrollLeft=-O;break;case"positive-ascending":b.scrollLeft=O;break;default:var F=b.clientWidth,R=b.scrollWidth;b.scrollLeft=R-F-O;break}else b.scrollLeft=O;else b.scrollTop=O}this._callPropsCallbacks()},v.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Os(this._resetIsScrollingTimeoutId)},v.render=function(){var c=this.props,y=c.children,x=c.className,w=c.direction,O=c.height,S=c.innerRef,b=c.innerElementType,F=c.innerTagName,R=c.itemCount,B=c.itemData,N=c.itemKey,h=N===void 0?Rg:N,D=c.layout,A=c.outerElementType,H=c.outerTagName,V=c.style,$=c.useIsScrolling,j=c.width,Q=this.state.isScrolling,G=w==="horizontal"||D==="horizontal",J=G?this._onScrollHorizontal:this._onScrollVertical,P=this._getRangeToRender(),I=P[0],X=P[1],Y=[];if(R>0)for(var W=I;W<=X;W++)Y.push(p.createElement(y,{data:B,key:h(W,B),index:W,isScrolling:$?Q:void 0,style:this._getItemStyle(W)}));var ne=n(this.props,this._instanceProps);return p.createElement(A||H||"div",{className:x,onScroll:J,ref:this._outerRefSetter,style:R2({position:"relative",height:O,width:j,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:w},V)},p.createElement(b||F||"div",{children:Y,ref:S,style:{height:G?"100%":ne,pointerEvents:Q?"none":void 0,width:G?ne:"100%"}}))},v._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var c=this.props.itemCount;if(c>0){var y=this._getRangeToRender(),x=y[0],w=y[1],O=y[2],S=y[3];this._callOnItemsRendered(x,w,O,S)}}if(typeof this.props.onScroll=="function"){var b=this.state,F=b.scrollDirection,R=b.scrollOffset,B=b.scrollUpdateWasRequested;this._callOnScroll(F,R,B)}},v._getRangeToRender=function(){var c=this.props,y=c.itemCount,x=c.overscanCount,w=this.state,O=w.isScrolling,S=w.scrollDirection,b=w.scrollOffset;if(y===0)return[0,0,0,0];var F=i(this.props,b,this._instanceProps),R=l(this.props,F,b,this._instanceProps),B=!O||S==="backward"?Math.max(1,x):1,N=!O||S==="forward"?Math.max(1,x):1;return[Math.max(0,F-B),Math.max(0,Math.min(y-1,R+N)),F,R]},g}(p.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var kg=function(t,r){var n=t.children,o=t.direction,a=t.height,i=t.layout,l=t.innerTagName,u=t.outerTagName,d=t.width,f=r.instance;if(process.env.NODE_ENV!=="production"){(l!=null||u!=null)&&sn&&!sn.has(f)&&(sn.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var m=o==="horizontal"||i==="horizontal";switch(o){case"horizontal":case"vertical":ln&&!ln.has(f)&&(ln.add(f),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(i){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+i+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(m&&typeof d!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(d===null?"null":typeof d)+'" was specified.'));if(!m&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},Dg=Pg({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,o,a,i){var l=t.direction,u=t.height,d=t.itemCount,f=t.itemSize,m=t.layout,g=t.width,v=l==="horizontal"||m==="horizontal",C=v?g:u,c=Math.max(0,d*f-C),y=Math.min(c,r*f),x=Math.max(0,r*f-C+f+i);switch(n==="smart"&&(o>=x-C&&o<=y+C?n="auto":n="center"),n){case"start":return y;case"end":return x;case"center":{var w=Math.round(x+(y-x)/2);return w<Math.ceil(C/2)?0:w>c+Math.floor(C/2)?c:w}case"auto":default:return o>=x&&o<=y?o:o<x?x:y}},getStartIndexForOffset:function(t,r){var n=t.itemCount,o=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/o)))},getStopIndexForStartIndex:function(t,r,n){var o=t.direction,a=t.height,i=t.itemCount,l=t.itemSize,u=t.layout,d=t.width,f=o==="horizontal"||u==="horizontal",m=r*l,g=f?d:a,v=Math.ceil((g+n-m)/l);return Math.max(0,Math.min(i-1,r+v-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});const Ag=0,$g=35,Ig=35;function Vg(e){const{data:t,index:r,style:n}=e,o=t[r],a={...n,top:n.top+Ag};return p.cloneElement(o,{style:a})}const Hg=p.forwardRef(function(t,r){const{children:n,...o}=t,a=p.Children.toArray(n),i=a.length,u=window.matchMedia("(max-width: 600px)").matches?$g:Ig,d=()=>i>20?20*u:i*u;return T.jsx("div",{ref:r,...o,style:{overflow:"hidden"},children:T.jsx(Dg,{height:d(),width:"100%",itemSize:u,overscanCount:5,itemCount:i,itemData:a,children:Vg})})}),Ng=e=>{const{value:t,placeholder:r,labelKey:n,labelText:o,label:a,todos:i,showSelectedCount:l,customTheme:u,showId:d}=e,f=(c,y)=>y?"Todos":d?`${c[n]} - ${c[o]}`:String(c[o]),{isAllSelected:m,updatedOptions:g,handleChange:v}=O6(e);let C=u||yo;return T.jsx(le.ThemeProvider,{theme:C,children:T.jsx(le.Autocomplete,{multiple:!0,fullWidth:!0,limitTags:1,id:"checkboxes-multiselect",options:g,value:t,onChange:v,disableCloseOnSelect:!0,disableListWrap:!0,ListboxComponent:Hg,isOptionEqualToValue:(c,y)=>c[n]===y[n],getOptionLabel:c=>f(c,c[n]==="-1"),renderTags:c=>l?m?i?"Todos":`${c.length} seleccionados`:`${c.length} seleccionados`:T.jsx(T.Fragment,{}),renderOption:(c,y,{selected:x})=>{const{key:w,...O}=c,S=y[n]==="-1",b=S?m:x;return T.jsxs(le.MenuItem,{...O,sx:{borderBottom:i&&y[o]==="Todos"?"1px #0000001F solid":"",gap:1,padding:"7px 16px !important"},children:[T.jsx(le.Checkbox,{checked:b}),T.jsx(le.ListItemText,{children:T.jsx(E6,{text:f(y,S),variant:"body1",placement:"bottom"})})]},String(y[n]))},renderInput:c=>T.jsx(le.TextField,{...c,label:a,placeholder:l?"":r,fullWidth:!0})})})},ws="DD/MM/YYYY",Ls=(e,t)=>{const r=e!==""?Ut(e,ws):Ut().subtract(2,"month"),n=t!==""?Ut(t,ws):Ut();return{defaultI:r,defaultF:n}},w6=({defaultValue:e,onchange:t,onInvalidDate:r,clear:n})=>{const o=Ls((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||""),[a,i]=p.useState([o.defaultI,o.defaultF]),[l,u]=p.useState(null);p.useEffect(()=>{if(n===!0){const{defaultI:g,defaultF:v}=Ls((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||"");i([g,v])}},[n]);const d=g=>{const v=Ut(g[0]),C=Ut(g[1]),c=f([v,C]);i(g),c==""?u(""):(u(c),r&&r())},f=g=>{const v=Ut(g[0]),C=Ut(g[1]);return v.isValid()&&C.isValid()?v.year()<2010?"Fecha inicial mínima es del año 2010":C.year()<2010?"Fecha final mínima es del año 2010":v.isBefore(C)?"":"La fecha inicial debe ser menor que la fecha final":"Fecha no válida"};return{selectedDateRange:a,handleDateChange:d,warningMessage:l,handleClose:()=>{const g=Ut(a[0]),v=Ut(a[1]),C=f([g,v]);C==""?(u(""),t({fechai:g.format("DD/MM/YYYY"),fechaf:v.format("DD/MM/YYYY")})):(r&&r(),u(C))}}},Bg=e=>{const{selectedDateRange:t,handleDateChange:r,warningMessage:n,handleClose:o}=w6(e),a=Jn(),i=Dc(a.breakpoints.up("sm")),l=e.localeText??{start:"Fecha inicial",end:"Fecha final"};return T.jsx(q0,{display:"flex",gap:"0.75rem",width:"100%",justifyContent:"center",p:0,m:0,children:T.jsxs(r9,{width:"100%",sx:{color:"text.secondary"},children:[T.jsx(le.Typography,{paddingY:1,children:e.label}),T.jsx(cn.DateRangePicker,{sx:{"& .MuiMultiInputDateRangeField-separator":{display:"none"}},value:t,onClose:o,onChange:r,desktopModeMediaQuery:e.isInputIndividual&&i==!1?"sm":"",slots:e.isInputIndividual?{}:{field:cn.SingleInputDateRangeField},slotProps:{textField:u=>({size:"small",label:u.position==="start"?l.start:l.end,helperText:n,error:n!=""&&n!=null,fullWidth:!0,InputProps:{endAdornment:u.position==="start"?T.jsx(ju,{sx:{color:"rgba(16, 24, 64, 0.54)"}}):T.jsx(Vu,{sx:{color:"rgba(16, 24, 64, 0.54)"}})}})},localeText:l})]})})},jg="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='RE'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20453.5433%20453.5433'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Degradado_sin_nombre_34-4);%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-2%20{%20fill:%20url(%23Degradado_sin_nombre_34-2);%20}%20.cls-3%20{%20fill:%20url(%23Degradado_sin_nombre_38-2);%20}%20.cls-4%20{%20fill:%20url(%23Degradado_sin_nombre_38);%20}%20.cls-5%20{%20fill:%20url(%23Degradado_sin_nombre_34-3);%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-7%20{%20fill:%20url(%23Degradado_sin_nombre_34);%20}%20%3c/style%3e%3clinearGradient%20id='Degradado_sin_nombre_34'%20data-name='Degradado%20sin%20nombre%2034'%20x1='56.7178'%20y1='226.7717'%20x2='396.8255'%20y2='226.7717'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_34-2'%20data-name='Degradado%20sin%20nombre%2034'%20x1='14.4541'%20y1='175.1242'%20x2='234.3511'%20y2='175.1242'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_38'%20data-name='Degradado%20sin%20nombre%2038'%20x1='293.0693'%20y1='107.0773'%20x2='515.5374'%20y2='107.0773'%20gradientTransform='translate(68.1195%20732.5845)%20rotate(-90)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_38-2'%20data-name='Degradado%20sin%20nombre%2038'%20x1='314.2624'%20y1='364.163'%20x2='535.4932'%20y2='364.163'%20gradientTransform='translate(753.3515%20642.5821)%20rotate(-180)'%20xlink:href='%23Degradado_sin_nombre_38'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-3'%20data-name='Degradado%20sin%20nombre%2034'%20x1='117.6042'%20y1='14.1612'%20x2='122.7773'%20y2='14.1612'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-4'%20data-name='Degradado%20sin%20nombre%2034'%20x1='134.9218'%20y1='124.6425'%20x2='439.0892'%20y2='124.6425'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3c/defs%3e%3cg%3e%3crect%20class='cls-7'%20x='56.7178'%20y='60.1189'%20width='340.1077'%20height='333.3056'/%3e%3cpath%20class='cls-2'%20d='M124.4026,14.0281C63.6799,14.0281,14.4541,62.6329,14.4541,122.5894v213.6309c60.7232,0,109.9485-48.6043,109.9485-108.5614v-105.0695c0-59.9566,49.2258-108.5614,109.9485-108.5614h-109.9485Z'/%3e%3cpath%20class='cls-4'%20d='M14.4541,328.2812c0,61.4329,48.4982,111.234,108.3232,111.234h213.1623c0-61.4329-48.4977-111.234-108.3227-111.234h-104.8396c-59.825,0-108.3232-49.8009-108.3232-111.234v111.234Z'/%3e%3cpath%20class='cls-3'%20d='M328.4739,439.5152c61.0911,0,110.6151-48.6045,110.6151-108.5614V117.323c-61.0911,0-110.6151,48.6048-110.6151,108.5614v105.0695c0,59.9568-49.5245,108.5614-110.6156,108.5614h110.6156Z'/%3e%3cg%3e%3cpath%20class='cls-5'%20d='M122.7773,14.0281h-5.1731c0,.0903.0123.1765.0128.2663,1.7221-.083,3.4187-.2663,5.1603-.2663Z'/%3e%3cpath%20class='cls-1'%20d='M330.7665,14.0281h-99.666c-41.8918,0-78.1576,24.3255-96.1787,59.8592,19.2851,30.5087,52.7999,50.7552,91.0051,50.7552h104.8396c59.825,0,108.3227,49.5235,108.3227,110.6144v-110.6144c0-61.0904-48.4977-110.6144-108.3227-110.6144Z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M107.9407,179.8078c-2.6359-.9974-4.9904-2.2596-7.0614-3.785s-3.7469-3.3514-5.0268-5.4797c-1.281-2.1272-1.9209-4.6412-1.9209-7.5413,0-2.9376.6399-5.5829,1.9209-7.9369,1.2799-2.3534,2.9658-4.3499,5.0555-5.9884,2.0897-1.6379,4.4531-2.8996,7.0901-3.785,2.6348-.8843,5.3093-1.3273,8.0213-1.3273,2.1835,0,4.3119.2262,6.3839.678,2.0699.4518,4.0106,1.121,5.8179,2.0053,1.8084.8854,3.4457,1.9772,4.9154,3.2764,1.4685,1.2992,2.6922,2.8157,3.6719,4.5474.4138.678.5075,1.3659.2825,2.0621-.2262.6973-.5473,1.2523-.961,1.6666-.5274.4899-1.2148.7817-2.0621.8755-.8474.0943-1.666-.16-2.4571-.7624-2.1846-2.6739-4.5193-4.548-7.0051-5.621-2.4847-1.0736-5.3093-1.6103-8.4737-1.6103-1.7698,0-3.5395.2543-5.3093.763-1.7709.5081-3.3806,1.2523-4.8304,2.2315-1.4498.9798-2.637,2.2127-3.5594,3.7001-.9224,1.4879-1.3836,3.2113-1.3836,5.1686,0,2.0721.5451,3.7949,1.6385,5.1692,1.0912,1.3753,2.4759,2.5333,4.1519,3.4744,1.6749.9417,3.5108,1.7041,5.5079,2.2878,1.9959.5842,3.8981,1.1017,5.7054,1.5535,2.787.8667,5.5079,1.8453,8.1636,2.9376,2.6546,1.0923,5.0081,2.429,7.0614,4.0106,2.0522,1.5816,3.6995,3.4656,4.943,5.6491,1.2424,2.1846,1.8635,4.8017,1.8635,7.8525,0,3.2764-.6499,6.2422-1.9485,8.8973-1.2997,2.6546-3.0507,4.9341-5.2541,6.8352-2.2034,1.9022-4.7642,3.3707-7.6826,4.4062-2.9194,1.0355-5.979,1.5535-9.1798,1.5535-2.6745,0-5.2541-.358-7.7388-1.073-2.4858-.715-4.7742-1.6854-6.8639-2.9095-2.0908-1.2236-3.918-2.6734-5.4803-4.3499-1.5623-1.6754-2.7584-3.4739-3.587-5.3948-.5649-1.2048-.6499-2.2122-.2538-3.0221.395-.8099.9687-1.4211,1.7223-1.836.8661-.4893,1.6859-.5936,2.4582-.3111.7712.2825,1.5712.9516,2.4009,2.0059.715,1.5066,1.6848,2.8621,2.9084,4.0669,1.2236,1.206,2.6083,2.2315,4.153,3.0789,1.5436.8474,3.2195,1.4972,5.0268,1.9491,1.8084.4518,3.6719.678,5.5928.678,1.9959,0,3.9831-.3012,5.9602-.9042,1.9772-.6019,3.7569-1.5055,5.338-2.7115,1.5822-1.2048,2.8621-2.7015,3.8418-4.4911.9787-1.788,1.4685-3.8501,1.4685-6.1853,0-2.1471-.4899-3.945-1.4685-5.3953-.9798-1.4492-2.2795-2.6922-3.8981-3.7282-1.6197-1.0355-3.4457-1.9209-5.4792-2.6552-2.0346-.7343-4.0868-1.4404-6.1577-2.1184-2.712-.6399-5.3865-1.4592-8.0224-2.4571Z'/%3e%3cpath%20class='cls-6'%20d='M158.3292,213.335c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.3034c0-1.0167.3476-1.8547,1.0449-2.514.6962-.6587,1.5347-.9886,2.5145-.9886.9787,0,1.8161.3299,2.5134.9886.6962.6592,1.0449,1.4972,1.0449,2.514v65.3034Z'/%3e%3cpath%20class='cls-6'%20d='M180.1334,158.8212l-5.9316-8.4737c-.3762-.4888-.5925-1.0636-.6499-1.7229-.0563-.6587.0287-1.2799.2549-1.8641.2262-.5837.5737-1.0824,1.0449-1.4972.47-.4138,1.0449-.6212,1.7234-.6212h.2825c.3751.0756.7525.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412l.2251.1131c.1136.0761.2163.1694.3111.2825.0938.1131.1975.2262.3111.3387l.1688.2825,39.5443,56.3217v-54.5139c0-.9787.3476-1.8167,1.0449-2.514.6973-.6962,1.5535-1.0449,2.5708-1.0449s1.8547.3487,2.5134,1.0449c.6587.6973.9886,1.5353.9886,2.514v65.2472c0,.8667-.2736,1.6197-.8187,2.2596-.5462.641-1.2335,1.0366-2.0621,1.1866-.1512.0375-.3762.0563-.6775.0563-1.0548,0-1.9408-.3575-2.6557-1.0736l-.2251-.3387-.1699-.1694-39.488-56.4348v54.5139c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.1903c0-.9792.3476-1.8078,1.0449-2.4858.6962-.678,1.5347-1.0167,2.5145-1.0167h.2825c.4138.0756.79.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412.075,0,.1501.0381.2251.1131.4149.3018.7437.6973.9886,1.1861.2449.4899.3674,1.0173.3674,1.5822v10.6765Z'/%3e%3cpath%20class='cls-6'%20d='M297.6354,157.4089c0,.9417-.3398,1.7709-1.0173,2.4858-.7161.678-1.5734,1.0267-2.5708,1.0449-.9974.0193-1.8172-.3106-2.4571-.9886-2.9757-2.9376-6.2703-5.1405-9.8859-6.6096-3.6156-1.4685-7.3626-2.2028-11.2419-2.2028-4.0669,0-7.8999.7723-11.4957,2.3159-3.5969,1.5447-6.7315,3.6537-9.406,6.3271-2.6745,2.6745-4.783,5.8185-6.3266,9.4341-1.5447,3.6151-2.3159,7.4762-2.3159,11.5807,0,3.9544.7425,7.7206,2.231,11.2982,1.4873,3.5781,3.5395,6.7221,6.1577,9.4341,2.6171,2.7115,5.7241,4.8679,9.321,6.4678,3.5958,1.6015,7.5038,2.4009,11.7219,2.4009,3.8782.0381,7.6064-.6212,11.1857-1.9772,3.577-1.3555,6.8716-3.5395,9.8859-6.5527.715-.678,1.5623-1.0256,2.5421-1.0449.9787-.0188,1.8073.2918,2.4847.9318.715.678,1.0636,1.5254,1.046,2.5421-.0199,1.0167-.3487,1.8459-.9886,2.4858-3.6918,3.6912-7.7774,6.4115-12.2592,8.1631-4.4818,1.751-9.1147,2.6265-13.8966,2.6265-3.3519,0-6.5914-.443-9.716-1.3273-3.1269-.8843-6.0452-2.1184-8.7561-3.7001-2.712-1.5822-5.1791-3.4932-7.4012-5.7341-2.2221-2.2403-4.1232-4.7256-5.7054-7.4569-1.5811-2.7302-2.8058-5.6579-3.6719-8.7842-.8661-3.1258-1.2986-6.3834-1.2986-9.7728,0-3.2008.4138-6.3459,1.2424-9.4341.8275-3.0877,2.0059-5.9878,3.5307-8.6998,1.5248-2.7115,3.3795-5.2155,5.5641-7.5132,2.1835-2.2966,4.6418-4.2738,7.3725-5.9316,2.7297-1.6567,5.6855-2.9465,8.8687-3.8694,3.182-.9224,6.5616-1.3841,10.1408-1.3841,4.7444,0,9.3674.9235,13.8679,2.7683,4.5005,1.8453,8.5586,4.5756,12.1743,8.1912.715.7155,1.0736,1.5447,1.0736,2.4853Z'/%3e%3cpath%20class='cls-6'%20d='M353.4754,146.9018c4.4619,1.9204,8.36,4.5474,11.6932,7.8806,3.3332,3.3326,5.9691,7.2219,7.9087,11.6651,1.9397,4.4443,2.9095,9.2079,2.9095,14.2921,0,3.3895-.4435,6.6576-1.3273,9.8015-.886,3.1451-2.1184,6.0728-3.7006,8.7842-1.5822,2.7115-3.502,5.1973-5.7616,7.4569-2.2596,2.2596-4.7455,4.18-7.4575,5.7622-2.7109,1.5816-5.6403,2.8157-8.7837,3.7001-3.1456.8843-6.4126,1.3273-9.8021,1.3273s-6.6565-.443-9.801-1.3273c-3.1445-.8843-6.0728-2.1184-8.7837-3.7001-2.712-1.5822-5.1791-3.5026-7.4012-5.7622s-4.1232-4.7455-5.7054-7.4569c-1.5811-2.7115-2.8058-5.6392-3.6719-8.7842-.8661-3.144-1.2986-6.4121-1.2986-9.8015s.4325-6.6465,1.2986-9.7728c.8661-3.1252,2.0908-6.0447,3.6719-8.7561,1.5822-2.7115,3.4832-5.1874,5.7054-7.4282,2.2221-2.2403,4.6892-4.1612,7.4012-5.7622,2.7109-1.6004,5.6392-2.8334,8.7837-3.7001,3.1445-.8661,6.4115-1.2997,9.801-1.2997,5.0842,0,9.8583.9605,14.3214,2.8814ZM327.6021,153.5113c-3.5969,1.5447-6.7227,3.6532-9.3773,6.3266-2.6557,2.6745-4.7554,5.8003-6.299,9.3778-1.5447,3.5781-2.3159,7.4194-2.3159,11.5238,0,4.1436.7712,8.013,2.3159,11.6094,1.5436,3.5969,3.6432,6.732,6.299,9.4054,2.6546,2.6745,5.7804,4.7835,9.3773,6.3271,3.5958,1.5447,7.4652,2.3159,11.6094,2.3159,4.1044,0,7.9551-.7712,11.552-2.3159,3.5958-1.5436,6.7315-3.6526,9.406-6.3271,2.6734-2.6734,4.7819-5.8085,6.3266-9.4054,1.5436-3.5963,2.3159-7.4658,2.3159-11.6094,0-4.1044-.7723-7.9457-2.3159-11.5238-1.5447-3.5776-3.6532-6.7033-6.3266-9.3778-2.6745-2.6734-5.8102-4.7819-9.406-6.3266-3.5969-1.5441-7.4476-2.3165-11.552-2.3165-4.1441,0-8.0136.7723-11.6094,2.3165Z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M136.348,294.1054h-29.4172l-7.827,18.52c-.376.8531-.9724,1.4414-1.7911,1.7652-.8181.3235-1.6712.2979-2.558-.0768-.8525-.375-1.4064-.9721-1.6625-1.7908-.2561-.8184-.1967-1.6369.1792-2.4556l25.5289-59.0388c.5796-1.2959,1.5682-1.9441,2.9671-1.9441.6476,0,1.2278.1711,1.7393.5115.5121.3413.9037.8187,1.1772,1.4326l25.3753,59.0388c.3747.8531.4347,1.6803.1792,2.4812-.2561.8019-.7931,1.3902-1.6119,1.7652-.8187.3747-1.6543.4003-2.5068.0768-.8531-.3238-1.467-.8956-1.8417-1.714l-7.9301-18.5712ZM109.6425,287.6591h23.9945l-12.0232-28.2915-11.9713,28.2915Z'/%3e%3cpath%20class='cls-6'%20d='M172.3644,249.0844c3.0701,0,6.0284.3838,8.8762,1.151,2.8478.7675,5.5001,1.8595,7.9557,3.2743,2.4556,1.4158,4.707,3.1129,6.7529,5.0904,2.0465,1.9785,3.7864,4.1783,5.2184,6.5996,1.4326,2.4222,2.5493,5.0395,3.3511,7.8533.8013,2.8138,1.2022,5.7555,1.2022,8.825,0,4.6046-.8787,8.894-2.6348,12.8669-1.7568,3.9738-4.1437,7.4358-7.1619,10.3857-3.0189,2.9502-6.5487,5.2612-10.5905,6.9321-4.0419,1.6715-8.3648,2.5068-12.9693,2.5068h-10.999c-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h10.999ZM172.5181,255.5816h-7.9295v52.5417h7.827c3.7171,0,7.205-.6651,10.4625-1.9953,3.2568-1.3299,6.0959-3.1719,8.5184-5.5251,2.4212-2.3535,4.331-5.1241,5.7299-8.3135,1.3977-3.1888,2.0971-6.6589,2.0971-10.4113,0-3.6834-.6995-7.1279-2.0971-10.3342-1.3989-3.2056-3.2999-5.986-5.7043-8.3392-2.405-2.3535-5.2359-4.212-8.4928-5.5766-3.2575-1.3636-6.7279-2.0465-10.4113-2.0465Z'/%3e%3cpath%20class='cls-6'%20d='M221.8878,286.3801v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183s-.5034,5.1248-1.5088,7.3927c-1.0067,2.2686-2.3788,4.2295-4.1187,5.8836-1.7393,1.6547-3.7858,2.9505-6.139,3.8882-2.3532.9383-4.8781,1.4067-7.5716,1.4067h-13.9667ZM221.8878,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M303.8973,267.8089c0,2.3198-.3835,4.4943-1.151,6.5231-.7675,2.0297-1.8336,3.837-3.1975,5.423-1.3646,1.586-2.9846,2.9249-4.86,4.0159-1.876,1.092-3.9226,1.842-6.1396,2.2511l14.8366,23.7384c.4771.8874.5627,1.7571.2561,2.6092-.3073.8528-.8699,1.4667-1.6887,1.8417-.7844.4094-1.5775.4862-2.3788.2301-.8019-.2557-1.4245-.7585-1.8673-1.5091l-16.3198-26.5522h-10.7947v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183ZM270.5925,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M356.464,251.2331c4.0419,1.7396,7.5722,4.1184,10.5905,7.137,3.0183,3.0183,5.4052,6.5405,7.1626,10.5646,1.7561,4.0247,2.6342,8.3392,2.6342,12.9434,0,3.0698-.4009,6.0291-1.2022,8.8762-.8013,2.8484-1.9185,5.4998-3.3505,7.9557-1.4326,2.4556-3.1719,4.7067-5.2184,6.7529-2.0465,2.0465-4.2979,3.7861-6.7535,5.2184-2.4556,1.4326-5.1079,2.5502-7.9551,3.3511-2.8484.8009-5.8067,1.2022-8.8762,1.2022s-6.0291-.4013-8.8762-1.2022c-2.8484-.8009-5.5001-1.9185-7.9557-3.3511-2.4556-1.4323-4.6901-3.1719-6.7023-5.2184-2.0128-2.0462-3.7346-4.2973-5.1666-6.7529-1.4326-2.4559-2.5418-5.1073-3.3255-7.9557-.785-2.8472-1.1766-5.8064-1.1766-8.8762s.3916-6.0194,1.1766-8.8506c.7838-2.8306,1.8929-5.4742,3.3255-7.9298,1.432-2.4559,3.1538-4.6979,5.1666-6.7276,2.0122-2.029,4.2467-3.7683,6.7023-5.2184,2.4556-1.4492,5.1073-2.5661,7.9557-3.3508,2.8472-.7844,5.8061-1.1769,8.8762-1.1769,4.6039,0,8.9274.8699,12.9687,2.6092ZM333.0328,257.2187c-3.2575,1.3989-6.0878,3.3087-8.4928,5.7299-2.4044,2.4222-4.306,5.2528-5.7043,8.4928-1.3989,3.2406-2.0977,6.7195-2.0977,10.4366,0,3.7524.6988,7.2569,2.0977,10.5134,1.3983,3.2575,3.2999,6.0968,5.7043,8.5184,2.405,2.4222,5.2353,4.3316,8.4928,5.7299,3.2568,1.3989,6.761,2.0974,10.5137,2.0974,3.7171,0,7.2044-.6985,10.4619-2.0974,3.2568-1.3983,6.0959-3.3077,8.5184-5.7299,2.4212-2.4216,4.331-5.2609,5.7299-8.5184,1.3983-3.2565,2.0977-6.761,2.0977-10.5134,0-3.7171-.6995-7.196-2.0977-10.4366-1.3989-3.24-3.3087-6.0706-5.7299-8.4928-2.4225-2.4212-5.2615-4.331-8.5184-5.7299-3.2575-1.398-6.7448-2.0974-10.4619-2.0974-3.7527,0-7.2569.6995-10.5137,2.0974Z'/%3e%3c/g%3e%3c/svg%3e",_g=({title:e,isLoading:t,zIndex:r=9999,sx:n})=>t?T.jsx(le.ThemeProvider,{theme:mt,children:T.jsxs(le.Box,{className:"HttpRequestSpinnerCount",sx:{position:"fixed",height:"100%",width:"100%",background:"rgba(255, 255, 255, 0.5)",backdropFilter:"blur(5px)",top:0,left:0,display:"flex",justifyContent:"center",alignItems:"center",zIndex:r,...n},children:[T.jsxs(le.Box,{sx:{width:"auto",display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",fontFamily:"Nunito, Segoe UI, sans-serif"},children:[T.jsx("img",{src:jg,alt:"Logo ADPRO",className:"imagenLogoADPRO",width:"120px",style:{zIndex:10}}),T.jsxs(le.Box,{sx:{display:"flex",gap:"5px"},children:[T.jsx("div",{className:"pointLoading",style:{animationDelay:"0s"},children:"•"}),T.jsx("div",{className:"pointLoading",style:{animationDelay:"0.2s"},children:"•"}),T.jsx("div",{className:"pointLoading",style:{animationDelay:"0.4s"},children:"•"})]}),T.jsx(le.Box,{display:"flex",justifyContent:"center",alignItems:"center",children:T.jsx(le.Typography,{variant:"h5",sx:{color:"#10184099"},mt:1,children:e})})]}),T.jsx("style",{type:"text/css",children:`
|
|
534
|
+
*/function j2(e){return e.variant===b1.FIDELITY||e.variant===b1.CONTENT}function st(e){return e.variant===b1.MONOCHROME}function Eg(e,t,r,n){let o=r,a=Yr.from(e,t,r);if(a.chroma<t){let i=a.chroma;for(;a.chroma<t;){o+=n?-1:1;const l=Yr.from(e,t,o);if(i>l.chroma||Math.abs(l.chroma-t)<.4)break;const u=Math.abs(l.chroma-t),d=Math.abs(a.chroma-t);u<d&&(a=l),i=Math.max(i,l.chroma)}}return o}function Sg(e){return Qt.make(void 0,void 0,e.isDark?30:80,void 0,void 0)}function Wi(e,t){const r=e.inViewingConditions(Sg(t));return ue.tonePrefersLightForeground(e.tone)&&!ue.toneAllowsLightForeground(r.tone)?ue.enableLightForeground(e.tone):ue.enableLightForeground(r.tone)}class z{static highestSurface(t){return t.isDark?z.surfaceBright:z.surfaceDim}}z.contentAccentToneDelta=15;z.primaryPaletteKeyColor=ue.fromPalette({name:"primary_palette_key_color",palette:e=>e.primaryPalette,tone:e=>e.primaryPalette.keyColor.tone});z.secondaryPaletteKeyColor=ue.fromPalette({name:"secondary_palette_key_color",palette:e=>e.secondaryPalette,tone:e=>e.secondaryPalette.keyColor.tone});z.tertiaryPaletteKeyColor=ue.fromPalette({name:"tertiary_palette_key_color",palette:e=>e.tertiaryPalette,tone:e=>e.tertiaryPalette.keyColor.tone});z.neutralPaletteKeyColor=ue.fromPalette({name:"neutral_palette_key_color",palette:e=>e.neutralPalette,tone:e=>e.neutralPalette.keyColor.tone});z.neutralVariantPaletteKeyColor=ue.fromPalette({name:"neutral_variant_palette_key_color",palette:e=>e.neutralVariantPalette,tone:e=>e.neutralVariantPalette.keyColor.tone});z.background=ue.fromPalette({name:"background",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});z.onBackground=ue.fromPalette({name:"on_background",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>z.background,contrastCurve:new Ee(3,3,4.5,7)});z.surface=ue.fromPalette({name:"surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:98,isBackground:!0});z.surfaceDim=ue.fromPalette({name:"surface_dim",palette:e=>e.neutralPalette,tone:e=>e.isDark?6:87,isBackground:!0});z.surfaceBright=ue.fromPalette({name:"surface_bright",palette:e=>e.neutralPalette,tone:e=>e.isDark?24:98,isBackground:!0});z.surfaceContainerLowest=ue.fromPalette({name:"surface_container_lowest",palette:e=>e.neutralPalette,tone:e=>e.isDark?4:100,isBackground:!0});z.surfaceContainerLow=ue.fromPalette({name:"surface_container_low",palette:e=>e.neutralPalette,tone:e=>e.isDark?10:96,isBackground:!0});z.surfaceContainer=ue.fromPalette({name:"surface_container",palette:e=>e.neutralPalette,tone:e=>e.isDark?12:94,isBackground:!0});z.surfaceContainerHigh=ue.fromPalette({name:"surface_container_high",palette:e=>e.neutralPalette,tone:e=>e.isDark?17:92,isBackground:!0});z.surfaceContainerHighest=ue.fromPalette({name:"surface_container_highest",palette:e=>e.neutralPalette,tone:e=>e.isDark?22:90,isBackground:!0});z.onSurface=ue.fromPalette({name:"on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:10,background:e=>z.highestSurface(e),contrastCurve:new Ee(4.5,7,11,21)});z.surfaceVariant=ue.fromPalette({name:"surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:90,isBackground:!0});z.onSurfaceVariant=ue.fromPalette({name:"on_surface_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?80:30,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11)});z.inverseSurface=ue.fromPalette({name:"inverse_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?90:20});z.inverseOnSurface=ue.fromPalette({name:"inverse_on_surface",palette:e=>e.neutralPalette,tone:e=>e.isDark?20:95,background:e=>z.inverseSurface,contrastCurve:new Ee(4.5,7,11,21)});z.outline=ue.fromPalette({name:"outline",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?60:50,background:e=>z.highestSurface(e),contrastCurve:new Ee(1.5,3,4.5,7)});z.outlineVariant=ue.fromPalette({name:"outline_variant",palette:e=>e.neutralVariantPalette,tone:e=>e.isDark?30:80,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7)});z.shadow=ue.fromPalette({name:"shadow",palette:e=>e.neutralPalette,tone:e=>0});z.scrim=ue.fromPalette({name:"scrim",palette:e=>e.neutralPalette,tone:e=>0});z.surfaceTint=ue.fromPalette({name:"surface_tint",palette:e=>e.primaryPalette,tone:e=>e.isDark?80:40,isBackground:!0});z.primary=ue.fromPalette({name:"primary",palette:e=>e.primaryPalette,tone:e=>st(e)?e.isDark?100:0:e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.primaryContainer,z.primary,15,"nearer",!1)});z.onPrimary=ue.fromPalette({name:"on_primary",palette:e=>e.primaryPalette,tone:e=>st(e)?e.isDark?10:90:e.isDark?20:100,background:e=>z.primary,contrastCurve:new Ee(4.5,7,11,21)});z.primaryContainer=ue.fromPalette({name:"primary_container",palette:e=>e.primaryPalette,tone:e=>j2(e)?Wi(e.sourceColorHct,e):st(e)?e.isDark?85:25:e.isDark?30:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.primaryContainer,z.primary,15,"nearer",!1)});z.onPrimaryContainer=ue.fromPalette({name:"on_primary_container",palette:e=>e.primaryPalette,tone:e=>j2(e)?ue.foregroundTone(z.primaryContainer.tone(e),4.5):st(e)?e.isDark?0:100:e.isDark?90:10,background:e=>z.primaryContainer,contrastCurve:new Ee(4.5,7,11,21)});z.inversePrimary=ue.fromPalette({name:"inverse_primary",palette:e=>e.primaryPalette,tone:e=>e.isDark?40:80,background:e=>z.inverseSurface,contrastCurve:new Ee(3,4.5,7,11)});z.secondary=ue.fromPalette({name:"secondary",palette:e=>e.secondaryPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.secondaryContainer,z.secondary,15,"nearer",!1)});z.onSecondary=ue.fromPalette({name:"on_secondary",palette:e=>e.secondaryPalette,tone:e=>st(e)?e.isDark?10:100:e.isDark?20:100,background:e=>z.secondary,contrastCurve:new Ee(4.5,7,11,21)});z.secondaryContainer=ue.fromPalette({name:"secondary_container",palette:e=>e.secondaryPalette,tone:e=>{const t=e.isDark?30:90;if(st(e))return e.isDark?30:85;if(!j2(e))return t;let r=Eg(e.secondaryPalette.hue,e.secondaryPalette.chroma,t,!e.isDark);return r=Wi(e.secondaryPalette.getHct(r),e),r},isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.secondaryContainer,z.secondary,15,"nearer",!1)});z.onSecondaryContainer=ue.fromPalette({name:"on_secondary_container",palette:e=>e.secondaryPalette,tone:e=>j2(e)?ue.foregroundTone(z.secondaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>z.secondaryContainer,contrastCurve:new Ee(4.5,7,11,21)});z.tertiary=ue.fromPalette({name:"tertiary",palette:e=>e.tertiaryPalette,tone:e=>st(e)?e.isDark?90:25:e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.tertiaryContainer,z.tertiary,15,"nearer",!1)});z.onTertiary=ue.fromPalette({name:"on_tertiary",palette:e=>e.tertiaryPalette,tone:e=>st(e)?e.isDark?10:90:e.isDark?20:100,background:e=>z.tertiary,contrastCurve:new Ee(4.5,7,11,21)});z.tertiaryContainer=ue.fromPalette({name:"tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>{if(st(e))return e.isDark?60:49;if(!j2(e))return e.isDark?30:90;const t=Wi(e.tertiaryPalette.getHct(e.sourceColorHct.tone),e),r=e.tertiaryPalette.getHct(t);return Ui.fixIfDisliked(r).tone},isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.tertiaryContainer,z.tertiary,15,"nearer",!1)});z.onTertiaryContainer=ue.fromPalette({name:"on_tertiary_container",palette:e=>e.tertiaryPalette,tone:e=>st(e)?e.isDark?0:100:j2(e)?ue.foregroundTone(z.tertiaryContainer.tone(e),4.5):e.isDark?90:10,background:e=>z.tertiaryContainer,contrastCurve:new Ee(4.5,7,11,21)});z.error=ue.fromPalette({name:"error",palette:e=>e.errorPalette,tone:e=>e.isDark?80:40,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(3,4.5,7,11),toneDeltaPair:e=>new $t(z.errorContainer,z.error,15,"nearer",!1)});z.onError=ue.fromPalette({name:"on_error",palette:e=>e.errorPalette,tone:e=>e.isDark?20:100,background:e=>z.error,contrastCurve:new Ee(4.5,7,11,21)});z.errorContainer=ue.fromPalette({name:"error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?30:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.errorContainer,z.error,15,"nearer",!1)});z.onErrorContainer=ue.fromPalette({name:"on_error_container",palette:e=>e.errorPalette,tone:e=>e.isDark?90:10,background:e=>z.errorContainer,contrastCurve:new Ee(4.5,7,11,21)});z.primaryFixed=ue.fromPalette({name:"primary_fixed",palette:e=>e.primaryPalette,tone:e=>st(e)?40:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.primaryFixed,z.primaryFixedDim,10,"lighter",!0)});z.primaryFixedDim=ue.fromPalette({name:"primary_fixed_dim",palette:e=>e.primaryPalette,tone:e=>st(e)?30:80,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.primaryFixed,z.primaryFixedDim,10,"lighter",!0)});z.onPrimaryFixed=ue.fromPalette({name:"on_primary_fixed",palette:e=>e.primaryPalette,tone:e=>st(e)?100:10,background:e=>z.primaryFixedDim,secondBackground:e=>z.primaryFixed,contrastCurve:new Ee(4.5,7,11,21)});z.onPrimaryFixedVariant=ue.fromPalette({name:"on_primary_fixed_variant",palette:e=>e.primaryPalette,tone:e=>st(e)?90:30,background:e=>z.primaryFixedDim,secondBackground:e=>z.primaryFixed,contrastCurve:new Ee(3,4.5,7,11)});z.secondaryFixed=ue.fromPalette({name:"secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>st(e)?80:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.secondaryFixed,z.secondaryFixedDim,10,"lighter",!0)});z.secondaryFixedDim=ue.fromPalette({name:"secondary_fixed_dim",palette:e=>e.secondaryPalette,tone:e=>st(e)?70:80,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.secondaryFixed,z.secondaryFixedDim,10,"lighter",!0)});z.onSecondaryFixed=ue.fromPalette({name:"on_secondary_fixed",palette:e=>e.secondaryPalette,tone:e=>10,background:e=>z.secondaryFixedDim,secondBackground:e=>z.secondaryFixed,contrastCurve:new Ee(4.5,7,11,21)});z.onSecondaryFixedVariant=ue.fromPalette({name:"on_secondary_fixed_variant",palette:e=>e.secondaryPalette,tone:e=>st(e)?25:30,background:e=>z.secondaryFixedDim,secondBackground:e=>z.secondaryFixed,contrastCurve:new Ee(3,4.5,7,11)});z.tertiaryFixed=ue.fromPalette({name:"tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>st(e)?40:90,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.tertiaryFixed,z.tertiaryFixedDim,10,"lighter",!0)});z.tertiaryFixedDim=ue.fromPalette({name:"tertiary_fixed_dim",palette:e=>e.tertiaryPalette,tone:e=>st(e)?30:80,isBackground:!0,background:e=>z.highestSurface(e),contrastCurve:new Ee(1,1,3,7),toneDeltaPair:e=>new $t(z.tertiaryFixed,z.tertiaryFixedDim,10,"lighter",!0)});z.onTertiaryFixed=ue.fromPalette({name:"on_tertiary_fixed",palette:e=>e.tertiaryPalette,tone:e=>st(e)?100:10,background:e=>z.tertiaryFixedDim,secondBackground:e=>z.tertiaryFixed,contrastCurve:new Ee(4.5,7,11,21)});z.onTertiaryFixedVariant=ue.fromPalette({name:"on_tertiary_fixed_variant",palette:e=>e.tertiaryPalette,tone:e=>st(e)?90:30,background:e=>z.tertiaryFixedDim,secondBackground:e=>z.tertiaryFixed,contrastCurve:new Ee(3,4.5,7,11)});const yo={...mt,components:{...mt.components,MuiTableHead:{styleOverrides:{root:{th:{padding:"0.2rem 0.5rem !important",borderBottom:"1px solid rgba(226, 227, 232, 1) !important",color:"text-primary",background:xa[50]},"th .MuiButtonBase-root":{color:"text-primary",cursor:"pointer"},td:{borderLeft:"none"}}}},MuiTableBody:{styleOverrides:{root:{".MuiTableCell-root":{padding:"0.1rem 0.5rem !important"},".MuiTableRow-root:hover":{backgroundColor:xa[100]}}}},MuiTableFooter:{styleOverrides:{root:{".MuiTableCell-footer":{padding:"2px 4px !important"}}}}}},x6=e=>{const{label:t,helperText:r,inputRef:n,name:o,customTheme:a,required:i,error:l,placeholder:u,size:d,type:f,labelText:m,optionAll:g,showId:v,action:C}=e,{dataList:c,loading:y,isFocused:x,autocompleteValue:w,textFieldValue:O,handleAutocompleteValue:S,handleTextFieldValue:b,handleReasonChangeTextField:F,setIsFocused:R,clearValues:B}=f0(e);let N=a||yo,h=g?[g,...c]:c;const D=p.useMemo(()=>{const A={...e};return delete A.handleValue,delete A.labelText,delete A.labelKey,delete A.helperText,delete A.error,delete A.ref,delete A.inputRef,delete A.name,delete A.labelSelection,delete A.size,delete A.optionAll,delete A.showId,A},[e]);return T.jsx(le.ThemeProvider,{theme:N,children:T.jsx(le.Autocomplete,{...D,filterOptions:A=>A,noOptionsText:"No se encontraron resultados.",options:h,onChange:(A,H)=>S(H),onInputChange:(A,H,V)=>{b(H),F(V)},getOptionLabel:e.getOptionLabel?e.getOptionLabel:A=>A?A[m]:"",renderOption:(A,H)=>p.createElement(le.Box,{component:"li",...A,key:`${H[e.labelKey]}-${H[e.labelText]}`,sx:{borderBottom:H[e.labelKey]==="-1"||H[e.labelKey]===-1?`${mt.palette.divider} 1px solid`:"inherit"}},v&&H[e.labelKey]!=="-1"&&H[e.labelKey]!==-1?`${H[e.labelKey]} - ${H[e.labelText]}`:`${H[e.labelText]}`),value:w,inputValue:O,loading:y,loadingText:"Consultando...",size:d,onBlur:()=>{R(!1)},renderInput:A=>T.jsx(le.TextField,{...A,label:t,value:O,error:l,helperText:r,placeholder:u,required:i,ref:n,name:o??"",size:d,onFocus:H=>{R(!0)},InputProps:{...A.InputProps,endAdornment:T.jsxs(T.Fragment,{children:[O&&f!=="list"?T.jsx(le.IconButton,{size:"small",onClick:B,sx:{height:"22px",width:"22px"},children:T.jsx(Iu,{fontSize:"small",color:"action",sx:{height:"16px",width:"16px"}})}):null,y?T.jsx(le.CircularProgress,{color:"primary",size:20}):f==="list"||C==="all"&&f==="request"?x?T.jsx($u,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):T.jsx(Au,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}}):T.jsx(Bu,{color:"action",fontSize:"small",sx:{height:"16px",width:"16px"}})]})}})})})};function O6(e){const{options:t,value:r,onSelected:n,labelKey:o,labelText:a,todos:i,disableAutoSelectTodos:l}=e,u=i?{[o]:"-1",[a]:"Todos"}:null,d=i&&u?[u,...t]:t,f=d.filter(v=>v[o]!=="-1"),m=r.length===f.length;return p.useEffect(()=>{i&&!l&&r.length===0&&f.length>0&&n(f)},[]),{updatedOptions:d,handleChange:(v,C)=>{if(!i||!u){n(C);return}const c=C.some(y=>y[o]===u[o]);n(c?m?[]:f:C)},isAllSelected:m}}const E6=({text:e,variant:t="body3",align:r,placement:n,color:o})=>{const a=p.useRef(null),[i,l]=p.useState(!1);p.useEffect(()=>{const d=a.current;d&&l(d.offsetWidth<d.scrollWidth)},[e]);const u=T.jsx(le.Typography,{variant:t,noWrap:!0,ref:a,textAlign:r,color:o,children:e});return i?T.jsx(le.ThemeProvider,{theme:mt,children:T.jsx(le.Tooltip,{title:e,arrow:!0,placement:n,children:u})}):u};function Ga(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ya(e,t){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Ya(e,t)}function qi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ya(e,t)}var vs=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function wg(e,t){return!!(e===t||vs(e)&&vs(t))}function Lg(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!wg(e[r],t[r]))return!1;return!0}function ea(e,t){t===void 0&&(t=Lg);var r,n=[],o,a=!1;function i(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];return a&&r===this&&t(l,n)||(o=e.apply(this,l),a=!0,r=this,n=l),o}return i}function S6(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Tg=typeof performance=="object"&&typeof performance.now=="function",xs=Tg?function(){return performance.now()}:function(){return Date.now()};function Os(e){cancelAnimationFrame(e.id)}function Mg(e,t){var r=xs();function n(){xs()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var ta=-1;function Es(e){if(e===void 0&&(e=!1),ta===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),ta=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return ta}var x2=null;function Ss(e){if(e===void 0&&(e=!1),x2===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?x2="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?x2="negative":x2="positive-ascending"),document.body.removeChild(t),x2}return x2}process.env.NODE_ENV;var Fg=150,Rg=function(t,r){return t},ln=null,sn=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ln=new WeakSet,sn=new WeakSet);function Pg(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return t=function(m){qi(g,m);function g(C){var c;return c=m.call(this,C)||this,c._instanceProps=u(c.props,Ga(c)),c._outerRef=void 0,c._resetIsScrollingTimeoutId=null,c.state={instance:Ga(c),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof c.props.initialScrollOffset=="number"?c.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},c._callOnItemsRendered=void 0,c._callOnItemsRendered=ea(function(y,x,w,O){return c.props.onItemsRendered({overscanStartIndex:y,overscanStopIndex:x,visibleStartIndex:w,visibleStopIndex:O})}),c._callOnScroll=void 0,c._callOnScroll=ea(function(y,x,w){return c.props.onScroll({scrollDirection:y,scrollOffset:x,scrollUpdateWasRequested:w})}),c._getItemStyle=void 0,c._getItemStyle=function(y){var x=c.props,w=x.direction,O=x.itemSize,S=x.layout,b=c._getItemStyleCache(d&&O,d&&S,d&&w),F;if(b.hasOwnProperty(y))F=b[y];else{var R=r(c.props,y,c._instanceProps),B=o(c.props,y,c._instanceProps),N=w==="horizontal"||S==="horizontal",h=w==="rtl",D=N?R:0;b[y]=F={position:"absolute",left:h?void 0:D,right:h?D:void 0,top:N?0:R,height:N?"100%":B,width:N?B:"100%"}}return F},c._getItemStyleCache=void 0,c._getItemStyleCache=ea(function(y,x,w){return{}}),c._onScrollHorizontal=function(y){var x=y.currentTarget,w=x.clientWidth,O=x.scrollLeft,S=x.scrollWidth;c.setState(function(b){if(b.scrollOffset===O)return null;var F=c.props.direction,R=O;if(F==="rtl")switch(Ss()){case"negative":R=-O;break;case"positive-descending":R=S-w-O;break}return R=Math.max(0,Math.min(R,S-w)),{isScrolling:!0,scrollDirection:b.scrollOffset<R?"forward":"backward",scrollOffset:R,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._onScrollVertical=function(y){var x=y.currentTarget,w=x.clientHeight,O=x.scrollHeight,S=x.scrollTop;c.setState(function(b){if(b.scrollOffset===S)return null;var F=Math.max(0,Math.min(S,O-w));return{isScrolling:!0,scrollDirection:b.scrollOffset<F?"forward":"backward",scrollOffset:F,scrollUpdateWasRequested:!1}},c._resetIsScrollingDebounced)},c._outerRefSetter=function(y){var x=c.props.outerRef;c._outerRef=y,typeof x=="function"?x(y):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=y)},c._resetIsScrollingDebounced=function(){c._resetIsScrollingTimeoutId!==null&&Os(c._resetIsScrollingTimeoutId),c._resetIsScrollingTimeoutId=Mg(c._resetIsScrolling,Fg)},c._resetIsScrolling=function(){c._resetIsScrollingTimeoutId=null,c.setState({isScrolling:!1},function(){c._getItemStyleCache(-1,null)})},c}g.getDerivedStateFromProps=function(c,y){return kg(c,y),f(c),null};var v=g.prototype;return v.scrollTo=function(c){c=Math.max(0,c),this.setState(function(y){return y.scrollOffset===c?null:{scrollDirection:y.scrollOffset<c?"forward":"backward",scrollOffset:c,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},v.scrollToItem=function(c,y){y===void 0&&(y="auto");var x=this.props,w=x.itemCount,O=x.layout,S=this.state.scrollOffset;c=Math.max(0,Math.min(c,w-1));var b=0;if(this._outerRef){var F=this._outerRef;O==="vertical"?b=F.scrollWidth>F.clientWidth?Es():0:b=F.scrollHeight>F.clientHeight?Es():0}this.scrollTo(a(this.props,c,y,S,this._instanceProps,b))},v.componentDidMount=function(){var c=this.props,y=c.direction,x=c.initialScrollOffset,w=c.layout;if(typeof x=="number"&&this._outerRef!=null){var O=this._outerRef;y==="horizontal"||w==="horizontal"?O.scrollLeft=x:O.scrollTop=x}this._callPropsCallbacks()},v.componentDidUpdate=function(){var c=this.props,y=c.direction,x=c.layout,w=this.state,O=w.scrollOffset,S=w.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var b=this._outerRef;if(y==="horizontal"||x==="horizontal")if(y==="rtl")switch(Ss()){case"negative":b.scrollLeft=-O;break;case"positive-ascending":b.scrollLeft=O;break;default:var F=b.clientWidth,R=b.scrollWidth;b.scrollLeft=R-F-O;break}else b.scrollLeft=O;else b.scrollTop=O}this._callPropsCallbacks()},v.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Os(this._resetIsScrollingTimeoutId)},v.render=function(){var c=this.props,y=c.children,x=c.className,w=c.direction,O=c.height,S=c.innerRef,b=c.innerElementType,F=c.innerTagName,R=c.itemCount,B=c.itemData,N=c.itemKey,h=N===void 0?Rg:N,D=c.layout,A=c.outerElementType,H=c.outerTagName,V=c.style,$=c.useIsScrolling,j=c.width,Q=this.state.isScrolling,G=w==="horizontal"||D==="horizontal",J=G?this._onScrollHorizontal:this._onScrollVertical,P=this._getRangeToRender(),I=P[0],X=P[1],Y=[];if(R>0)for(var W=I;W<=X;W++)Y.push(p.createElement(y,{data:B,key:h(W,B),index:W,isScrolling:$?Q:void 0,style:this._getItemStyle(W)}));var ne=n(this.props,this._instanceProps);return p.createElement(A||H||"div",{className:x,onScroll:J,ref:this._outerRefSetter,style:R2({position:"relative",height:O,width:j,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:w},V)},p.createElement(b||F||"div",{children:Y,ref:S,style:{height:G?"100%":ne,pointerEvents:Q?"none":void 0,width:G?ne:"100%"}}))},v._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var c=this.props.itemCount;if(c>0){var y=this._getRangeToRender(),x=y[0],w=y[1],O=y[2],S=y[3];this._callOnItemsRendered(x,w,O,S)}}if(typeof this.props.onScroll=="function"){var b=this.state,F=b.scrollDirection,R=b.scrollOffset,B=b.scrollUpdateWasRequested;this._callOnScroll(F,R,B)}},v._getRangeToRender=function(){var c=this.props,y=c.itemCount,x=c.overscanCount,w=this.state,O=w.isScrolling,S=w.scrollDirection,b=w.scrollOffset;if(y===0)return[0,0,0,0];var F=i(this.props,b,this._instanceProps),R=l(this.props,F,b,this._instanceProps),B=!O||S==="backward"?Math.max(1,x):1,N=!O||S==="forward"?Math.max(1,x):1;return[Math.max(0,F-B),Math.max(0,Math.min(y-1,R+N)),F,R]},g}(p.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var kg=function(t,r){var n=t.children,o=t.direction,a=t.height,i=t.layout,l=t.innerTagName,u=t.outerTagName,d=t.width,f=r.instance;if(process.env.NODE_ENV!=="production"){(l!=null||u!=null)&&sn&&!sn.has(f)&&(sn.add(f),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var m=o==="horizontal"||i==="horizontal";switch(o){case"horizontal":case"vertical":ln&&!ln.has(f)&&(ln.add(f),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(i){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+i+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(m&&typeof d!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(d===null?"null":typeof d)+'" was specified.'));if(!m&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},Dg=Pg({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,o,a,i){var l=t.direction,u=t.height,d=t.itemCount,f=t.itemSize,m=t.layout,g=t.width,v=l==="horizontal"||m==="horizontal",C=v?g:u,c=Math.max(0,d*f-C),y=Math.min(c,r*f),x=Math.max(0,r*f-C+f+i);switch(n==="smart"&&(o>=x-C&&o<=y+C?n="auto":n="center"),n){case"start":return y;case"end":return x;case"center":{var w=Math.round(x+(y-x)/2);return w<Math.ceil(C/2)?0:w>c+Math.floor(C/2)?c:w}case"auto":default:return o>=x&&o<=y?o:o<x?x:y}},getStartIndexForOffset:function(t,r){var n=t.itemCount,o=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/o)))},getStopIndexForStartIndex:function(t,r,n){var o=t.direction,a=t.height,i=t.itemCount,l=t.itemSize,u=t.layout,d=t.width,f=o==="horizontal"||u==="horizontal",m=r*l,g=f?d:a,v=Math.ceil((g+n-m)/l);return Math.max(0,Math.min(i-1,r+v-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});const Ag=0,$g=35,Ig=35;function Vg(e){const{data:t,index:r,style:n}=e,o=t[r],a={...n,top:n.top+Ag};return p.cloneElement(o,{style:a})}const Hg=p.forwardRef(function(t,r){const{children:n,...o}=t,a=p.Children.toArray(n),i=a.length,u=window.matchMedia("(max-width: 600px)").matches?$g:Ig,d=()=>i>20?20*u:i*u;return T.jsx("div",{ref:r,...o,style:{overflow:"hidden"},children:T.jsx(Dg,{height:d(),width:"100%",itemSize:u,overscanCount:5,itemCount:i,itemData:a,children:Vg})})}),Ng=e=>{const{value:t,placeholder:r,labelKey:n,labelText:o,label:a,todos:i,showSelectedCount:l,customTheme:u,showId:d}=e,f=(c,y)=>y?"Todos":d?`${c[n]} - ${c[o]}`:String(c[o]),{isAllSelected:m,updatedOptions:g,handleChange:v}=O6(e);let C=u||yo;return T.jsx(le.ThemeProvider,{theme:C,children:T.jsx(le.Autocomplete,{multiple:!0,fullWidth:!0,limitTags:1,id:"checkboxes-multiselect",options:g,value:t,onChange:v,disableCloseOnSelect:!0,disableListWrap:!0,ListboxComponent:Hg,isOptionEqualToValue:(c,y)=>c[n]===y[n],getOptionLabel:c=>f(c,c[n]==="-1"),renderTags:c=>l?m?i?"Todos":`${c.length} seleccionados`:`${c.length} seleccionados`:T.jsx(T.Fragment,{}),renderOption:(c,y,{selected:x})=>{const{key:w,...O}=c,S=y[n]==="-1",b=S?m:x;return T.jsxs(le.MenuItem,{...O,sx:{borderBottom:i&&y[o]==="Todos"?"1px #0000001F solid":"",gap:1,padding:"7px 16px !important"},children:[T.jsx(le.Checkbox,{checked:b}),T.jsx(le.ListItemText,{children:T.jsx(E6,{text:f(y,S),variant:"body1",placement:"bottom"})})]},String(y[n]))},renderInput:c=>T.jsx(le.TextField,{...c,label:a,placeholder:l?"":r,fullWidth:!0}),onOpen:e.onOpen})})},ws="DD/MM/YYYY",Ls=(e,t)=>{const r=e!==""?Ut(e,ws):Ut().subtract(2,"month"),n=t!==""?Ut(t,ws):Ut();return{defaultI:r,defaultF:n}},w6=({defaultValue:e,onchange:t,onInvalidDate:r,clear:n})=>{const o=Ls((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||""),[a,i]=p.useState([o.defaultI,o.defaultF]),[l,u]=p.useState(null);p.useEffect(()=>{if(n===!0){const{defaultI:g,defaultF:v}=Ls((e==null?void 0:e.inicial)||"",(e==null?void 0:e.final)||"");i([g,v])}},[n]);const d=g=>{const v=Ut(g[0]),C=Ut(g[1]),c=f([v,C]);i(g),c==""?u(""):(u(c),r&&r())},f=g=>{const v=Ut(g[0]),C=Ut(g[1]);return v.isValid()&&C.isValid()?v.year()<2010?"Fecha inicial mínima es del año 2010":C.year()<2010?"Fecha final mínima es del año 2010":v.isBefore(C)?"":"La fecha inicial debe ser menor que la fecha final":"Fecha no válida"};return{selectedDateRange:a,handleDateChange:d,warningMessage:l,handleClose:()=>{const g=Ut(a[0]),v=Ut(a[1]),C=f([g,v]);C==""?(u(""),t({fechai:g.format("DD/MM/YYYY"),fechaf:v.format("DD/MM/YYYY")})):(r&&r(),u(C))}}},Bg=e=>{const{selectedDateRange:t,handleDateChange:r,warningMessage:n,handleClose:o}=w6(e),a=Jn(),i=Dc(a.breakpoints.up("sm")),l=e.localeText??{start:"Fecha inicial",end:"Fecha final"};return T.jsx(q0,{display:"flex",gap:"0.75rem",width:"100%",justifyContent:"center",p:0,m:0,children:T.jsxs(r9,{width:"100%",sx:{color:"text.secondary"},children:[T.jsx(le.Typography,{paddingY:1,children:e.label}),T.jsx(cn.DateRangePicker,{sx:{"& .MuiMultiInputDateRangeField-separator":{display:"none"}},value:t,onClose:o,onChange:r,desktopModeMediaQuery:e.isInputIndividual&&i==!1?"sm":"",slots:e.isInputIndividual?{}:{field:cn.SingleInputDateRangeField},slotProps:{textField:u=>({size:"small",label:u.position==="start"?l.start:l.end,helperText:n,error:n!=""&&n!=null,fullWidth:!0,InputProps:{endAdornment:u.position==="start"?T.jsx(ju,{sx:{color:"rgba(16, 24, 64, 0.54)"}}):T.jsx(Vu,{sx:{color:"rgba(16, 24, 64, 0.54)"}})}})},localeText:l})]})})},jg="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='RE'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20453.5433%20453.5433'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Degradado_sin_nombre_34-4);%20}%20.cls-1,%20.cls-2,%20.cls-3,%20.cls-4,%20.cls-5,%20.cls-6,%20.cls-7%20{%20stroke-width:%200px;%20}%20.cls-2%20{%20fill:%20url(%23Degradado_sin_nombre_34-2);%20}%20.cls-3%20{%20fill:%20url(%23Degradado_sin_nombre_38-2);%20}%20.cls-4%20{%20fill:%20url(%23Degradado_sin_nombre_38);%20}%20.cls-5%20{%20fill:%20url(%23Degradado_sin_nombre_34-3);%20}%20.cls-6%20{%20fill:%20%23fff;%20}%20.cls-7%20{%20fill:%20url(%23Degradado_sin_nombre_34);%20}%20%3c/style%3e%3clinearGradient%20id='Degradado_sin_nombre_34'%20data-name='Degradado%20sin%20nombre%2034'%20x1='56.7178'%20y1='226.7717'%20x2='396.8255'%20y2='226.7717'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_34-2'%20data-name='Degradado%20sin%20nombre%2034'%20x1='14.4541'%20y1='175.1242'%20x2='234.3511'%20y2='175.1242'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_38'%20data-name='Degradado%20sin%20nombre%2038'%20x1='293.0693'%20y1='107.0773'%20x2='515.5374'%20y2='107.0773'%20gradientTransform='translate(68.1195%20732.5845)%20rotate(-90)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230f666b'/%3e%3cstop%20offset='1'%20stop-color='%231d8d97'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Degradado_sin_nombre_38-2'%20data-name='Degradado%20sin%20nombre%2038'%20x1='314.2624'%20y1='364.163'%20x2='535.4932'%20y2='364.163'%20gradientTransform='translate(753.3515%20642.5821)%20rotate(-180)'%20xlink:href='%23Degradado_sin_nombre_38'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-3'%20data-name='Degradado%20sin%20nombre%2034'%20x1='117.6042'%20y1='14.1612'%20x2='122.7773'%20y2='14.1612'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3clinearGradient%20id='Degradado_sin_nombre_34-4'%20data-name='Degradado%20sin%20nombre%2034'%20x1='134.9218'%20y1='124.6425'%20x2='439.0892'%20y2='124.6425'%20xlink:href='%23Degradado_sin_nombre_34'/%3e%3c/defs%3e%3cg%3e%3crect%20class='cls-7'%20x='56.7178'%20y='60.1189'%20width='340.1077'%20height='333.3056'/%3e%3cpath%20class='cls-2'%20d='M124.4026,14.0281C63.6799,14.0281,14.4541,62.6329,14.4541,122.5894v213.6309c60.7232,0,109.9485-48.6043,109.9485-108.5614v-105.0695c0-59.9566,49.2258-108.5614,109.9485-108.5614h-109.9485Z'/%3e%3cpath%20class='cls-4'%20d='M14.4541,328.2812c0,61.4329,48.4982,111.234,108.3232,111.234h213.1623c0-61.4329-48.4977-111.234-108.3227-111.234h-104.8396c-59.825,0-108.3232-49.8009-108.3232-111.234v111.234Z'/%3e%3cpath%20class='cls-3'%20d='M328.4739,439.5152c61.0911,0,110.6151-48.6045,110.6151-108.5614V117.323c-61.0911,0-110.6151,48.6048-110.6151,108.5614v105.0695c0,59.9568-49.5245,108.5614-110.6156,108.5614h110.6156Z'/%3e%3cg%3e%3cpath%20class='cls-5'%20d='M122.7773,14.0281h-5.1731c0,.0903.0123.1765.0128.2663,1.7221-.083,3.4187-.2663,5.1603-.2663Z'/%3e%3cpath%20class='cls-1'%20d='M330.7665,14.0281h-99.666c-41.8918,0-78.1576,24.3255-96.1787,59.8592,19.2851,30.5087,52.7999,50.7552,91.0051,50.7552h104.8396c59.825,0,108.3227,49.5235,108.3227,110.6144v-110.6144c0-61.0904-48.4977-110.6144-108.3227-110.6144Z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M107.9407,179.8078c-2.6359-.9974-4.9904-2.2596-7.0614-3.785s-3.7469-3.3514-5.0268-5.4797c-1.281-2.1272-1.9209-4.6412-1.9209-7.5413,0-2.9376.6399-5.5829,1.9209-7.9369,1.2799-2.3534,2.9658-4.3499,5.0555-5.9884,2.0897-1.6379,4.4531-2.8996,7.0901-3.785,2.6348-.8843,5.3093-1.3273,8.0213-1.3273,2.1835,0,4.3119.2262,6.3839.678,2.0699.4518,4.0106,1.121,5.8179,2.0053,1.8084.8854,3.4457,1.9772,4.9154,3.2764,1.4685,1.2992,2.6922,2.8157,3.6719,4.5474.4138.678.5075,1.3659.2825,2.0621-.2262.6973-.5473,1.2523-.961,1.6666-.5274.4899-1.2148.7817-2.0621.8755-.8474.0943-1.666-.16-2.4571-.7624-2.1846-2.6739-4.5193-4.548-7.0051-5.621-2.4847-1.0736-5.3093-1.6103-8.4737-1.6103-1.7698,0-3.5395.2543-5.3093.763-1.7709.5081-3.3806,1.2523-4.8304,2.2315-1.4498.9798-2.637,2.2127-3.5594,3.7001-.9224,1.4879-1.3836,3.2113-1.3836,5.1686,0,2.0721.5451,3.7949,1.6385,5.1692,1.0912,1.3753,2.4759,2.5333,4.1519,3.4744,1.6749.9417,3.5108,1.7041,5.5079,2.2878,1.9959.5842,3.8981,1.1017,5.7054,1.5535,2.787.8667,5.5079,1.8453,8.1636,2.9376,2.6546,1.0923,5.0081,2.429,7.0614,4.0106,2.0522,1.5816,3.6995,3.4656,4.943,5.6491,1.2424,2.1846,1.8635,4.8017,1.8635,7.8525,0,3.2764-.6499,6.2422-1.9485,8.8973-1.2997,2.6546-3.0507,4.9341-5.2541,6.8352-2.2034,1.9022-4.7642,3.3707-7.6826,4.4062-2.9194,1.0355-5.979,1.5535-9.1798,1.5535-2.6745,0-5.2541-.358-7.7388-1.073-2.4858-.715-4.7742-1.6854-6.8639-2.9095-2.0908-1.2236-3.918-2.6734-5.4803-4.3499-1.5623-1.6754-2.7584-3.4739-3.587-5.3948-.5649-1.2048-.6499-2.2122-.2538-3.0221.395-.8099.9687-1.4211,1.7223-1.836.8661-.4893,1.6859-.5936,2.4582-.3111.7712.2825,1.5712.9516,2.4009,2.0059.715,1.5066,1.6848,2.8621,2.9084,4.0669,1.2236,1.206,2.6083,2.2315,4.153,3.0789,1.5436.8474,3.2195,1.4972,5.0268,1.9491,1.8084.4518,3.6719.678,5.5928.678,1.9959,0,3.9831-.3012,5.9602-.9042,1.9772-.6019,3.7569-1.5055,5.338-2.7115,1.5822-1.2048,2.8621-2.7015,3.8418-4.4911.9787-1.788,1.4685-3.8501,1.4685-6.1853,0-2.1471-.4899-3.945-1.4685-5.3953-.9798-1.4492-2.2795-2.6922-3.8981-3.7282-1.6197-1.0355-3.4457-1.9209-5.4792-2.6552-2.0346-.7343-4.0868-1.4404-6.1577-2.1184-2.712-.6399-5.3865-1.4592-8.0224-2.4571Z'/%3e%3cpath%20class='cls-6'%20d='M158.3292,213.335c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.3034c0-1.0167.3476-1.8547,1.0449-2.514.6962-.6587,1.5347-.9886,2.5145-.9886.9787,0,1.8161.3299,2.5134.9886.6962.6592,1.0449,1.4972,1.0449,2.514v65.3034Z'/%3e%3cpath%20class='cls-6'%20d='M180.1334,158.8212l-5.9316-8.4737c-.3762-.4888-.5925-1.0636-.6499-1.7229-.0563-.6587.0287-1.2799.2549-1.8641.2262-.5837.5737-1.0824,1.0449-1.4972.47-.4138,1.0449-.6212,1.7234-.6212h.2825c.3751.0756.7525.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412l.2251.1131c.1136.0761.2163.1694.3111.2825.0938.1131.1975.2262.3111.3387l.1688.2825,39.5443,56.3217v-54.5139c0-.9787.3476-1.8167,1.0449-2.514.6973-.6962,1.5535-1.0449,2.5708-1.0449s1.8547.3487,2.5134,1.0449c.6587.6973.9886,1.5353.9886,2.514v65.2472c0,.8667-.2736,1.6197-.8187,2.2596-.5462.641-1.2335,1.0366-2.0621,1.1866-.1512.0375-.3762.0563-.6775.0563-1.0548,0-1.9408-.3575-2.6557-1.0736l-.2251-.3387-.1699-.1694-39.488-56.4348v54.5139c0,.9798-.3487,1.8078-1.0449,2.4858-.6973.678-1.5347,1.0167-2.5134,1.0167-.9798,0-1.8183-.3387-2.5145-1.0167-.6973-.678-1.0449-1.5061-1.0449-2.4858v-65.1903c0-.9792.3476-1.8078,1.0449-2.4858.6962-.678,1.5347-1.0167,2.5145-1.0167h.2825c.4138.0756.79.1887,1.1298.3387h.1125c.075.0761.1501.123.2262.1412.075.0193.1501.0662.2262.1412.075,0,.1501.0381.2251.1131.4149.3018.7437.6973.9886,1.1861.2449.4899.3674,1.0173.3674,1.5822v10.6765Z'/%3e%3cpath%20class='cls-6'%20d='M297.6354,157.4089c0,.9417-.3398,1.7709-1.0173,2.4858-.7161.678-1.5734,1.0267-2.5708,1.0449-.9974.0193-1.8172-.3106-2.4571-.9886-2.9757-2.9376-6.2703-5.1405-9.8859-6.6096-3.6156-1.4685-7.3626-2.2028-11.2419-2.2028-4.0669,0-7.8999.7723-11.4957,2.3159-3.5969,1.5447-6.7315,3.6537-9.406,6.3271-2.6745,2.6745-4.783,5.8185-6.3266,9.4341-1.5447,3.6151-2.3159,7.4762-2.3159,11.5807,0,3.9544.7425,7.7206,2.231,11.2982,1.4873,3.5781,3.5395,6.7221,6.1577,9.4341,2.6171,2.7115,5.7241,4.8679,9.321,6.4678,3.5958,1.6015,7.5038,2.4009,11.7219,2.4009,3.8782.0381,7.6064-.6212,11.1857-1.9772,3.577-1.3555,6.8716-3.5395,9.8859-6.5527.715-.678,1.5623-1.0256,2.5421-1.0449.9787-.0188,1.8073.2918,2.4847.9318.715.678,1.0636,1.5254,1.046,2.5421-.0199,1.0167-.3487,1.8459-.9886,2.4858-3.6918,3.6912-7.7774,6.4115-12.2592,8.1631-4.4818,1.751-9.1147,2.6265-13.8966,2.6265-3.3519,0-6.5914-.443-9.716-1.3273-3.1269-.8843-6.0452-2.1184-8.7561-3.7001-2.712-1.5822-5.1791-3.4932-7.4012-5.7341-2.2221-2.2403-4.1232-4.7256-5.7054-7.4569-1.5811-2.7302-2.8058-5.6579-3.6719-8.7842-.8661-3.1258-1.2986-6.3834-1.2986-9.7728,0-3.2008.4138-6.3459,1.2424-9.4341.8275-3.0877,2.0059-5.9878,3.5307-8.6998,1.5248-2.7115,3.3795-5.2155,5.5641-7.5132,2.1835-2.2966,4.6418-4.2738,7.3725-5.9316,2.7297-1.6567,5.6855-2.9465,8.8687-3.8694,3.182-.9224,6.5616-1.3841,10.1408-1.3841,4.7444,0,9.3674.9235,13.8679,2.7683,4.5005,1.8453,8.5586,4.5756,12.1743,8.1912.715.7155,1.0736,1.5447,1.0736,2.4853Z'/%3e%3cpath%20class='cls-6'%20d='M353.4754,146.9018c4.4619,1.9204,8.36,4.5474,11.6932,7.8806,3.3332,3.3326,5.9691,7.2219,7.9087,11.6651,1.9397,4.4443,2.9095,9.2079,2.9095,14.2921,0,3.3895-.4435,6.6576-1.3273,9.8015-.886,3.1451-2.1184,6.0728-3.7006,8.7842-1.5822,2.7115-3.502,5.1973-5.7616,7.4569-2.2596,2.2596-4.7455,4.18-7.4575,5.7622-2.7109,1.5816-5.6403,2.8157-8.7837,3.7001-3.1456.8843-6.4126,1.3273-9.8021,1.3273s-6.6565-.443-9.801-1.3273c-3.1445-.8843-6.0728-2.1184-8.7837-3.7001-2.712-1.5822-5.1791-3.5026-7.4012-5.7622s-4.1232-4.7455-5.7054-7.4569c-1.5811-2.7115-2.8058-5.6392-3.6719-8.7842-.8661-3.144-1.2986-6.4121-1.2986-9.8015s.4325-6.6465,1.2986-9.7728c.8661-3.1252,2.0908-6.0447,3.6719-8.7561,1.5822-2.7115,3.4832-5.1874,5.7054-7.4282,2.2221-2.2403,4.6892-4.1612,7.4012-5.7622,2.7109-1.6004,5.6392-2.8334,8.7837-3.7001,3.1445-.8661,6.4115-1.2997,9.801-1.2997,5.0842,0,9.8583.9605,14.3214,2.8814ZM327.6021,153.5113c-3.5969,1.5447-6.7227,3.6532-9.3773,6.3266-2.6557,2.6745-4.7554,5.8003-6.299,9.3778-1.5447,3.5781-2.3159,7.4194-2.3159,11.5238,0,4.1436.7712,8.013,2.3159,11.6094,1.5436,3.5969,3.6432,6.732,6.299,9.4054,2.6546,2.6745,5.7804,4.7835,9.3773,6.3271,3.5958,1.5447,7.4652,2.3159,11.6094,2.3159,4.1044,0,7.9551-.7712,11.552-2.3159,3.5958-1.5436,6.7315-3.6526,9.406-6.3271,2.6734-2.6734,4.7819-5.8085,6.3266-9.4054,1.5436-3.5963,2.3159-7.4658,2.3159-11.6094,0-4.1044-.7723-7.9457-2.3159-11.5238-1.5447-3.5776-3.6532-6.7033-6.3266-9.3778-2.6745-2.6734-5.8102-4.7819-9.406-6.3266-3.5969-1.5441-7.4476-2.3165-11.552-2.3165-4.1441,0-8.0136.7723-11.6094,2.3165Z'/%3e%3c/g%3e%3cg%3e%3cpath%20class='cls-6'%20d='M136.348,294.1054h-29.4172l-7.827,18.52c-.376.8531-.9724,1.4414-1.7911,1.7652-.8181.3235-1.6712.2979-2.558-.0768-.8525-.375-1.4064-.9721-1.6625-1.7908-.2561-.8184-.1967-1.6369.1792-2.4556l25.5289-59.0388c.5796-1.2959,1.5682-1.9441,2.9671-1.9441.6476,0,1.2278.1711,1.7393.5115.5121.3413.9037.8187,1.1772,1.4326l25.3753,59.0388c.3747.8531.4347,1.6803.1792,2.4812-.2561.8019-.7931,1.3902-1.6119,1.7652-.8187.3747-1.6543.4003-2.5068.0768-.8531-.3238-1.467-.8956-1.8417-1.714l-7.9301-18.5712ZM109.6425,287.6591h23.9945l-12.0232-28.2915-11.9713,28.2915Z'/%3e%3cpath%20class='cls-6'%20d='M172.3644,249.0844c3.0701,0,6.0284.3838,8.8762,1.151,2.8478.7675,5.5001,1.8595,7.9557,3.2743,2.4556,1.4158,4.707,3.1129,6.7529,5.0904,2.0465,1.9785,3.7864,4.1783,5.2184,6.5996,1.4326,2.4222,2.5493,5.0395,3.3511,7.8533.8013,2.8138,1.2022,5.7555,1.2022,8.825,0,4.6046-.8787,8.894-2.6348,12.8669-1.7568,3.9738-4.1437,7.4358-7.1619,10.3857-3.0189,2.9502-6.5487,5.2612-10.5905,6.9321-4.0419,1.6715-8.3648,2.5068-12.9693,2.5068h-10.999c-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h10.999ZM172.5181,255.5816h-7.9295v52.5417h7.827c3.7171,0,7.205-.6651,10.4625-1.9953,3.2568-1.3299,6.0959-3.1719,8.5184-5.5251,2.4212-2.3535,4.331-5.1241,5.7299-8.3135,1.3977-3.1888,2.0971-6.6589,2.0971-10.4113,0-3.6834-.6995-7.1279-2.0971-10.3342-1.3989-3.2056-3.2999-5.986-5.7043-8.3392-2.405-2.3535-5.2359-4.212-8.4928-5.5766-3.2575-1.3636-6.7279-2.0465-10.4113-2.0465Z'/%3e%3cpath%20class='cls-6'%20d='M221.8878,286.3801v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183s-.5034,5.1248-1.5088,7.3927c-1.0067,2.2686-2.3788,4.2295-4.1187,5.8836-1.7393,1.6547-3.7858,2.9505-6.139,3.8882-2.3532.9383-4.8781,1.4067-7.5716,1.4067h-13.9667ZM221.8878,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M303.8973,267.8089c0,2.3198-.3835,4.4943-1.151,6.5231-.7675,2.0297-1.8336,3.837-3.1975,5.423-1.3646,1.586-2.9846,2.9249-4.86,4.0159-1.876,1.092-3.9226,1.842-6.1396,2.2511l14.8366,23.7384c.4771.8874.5627,1.7571.2561,2.6092-.3073.8528-.8699,1.4667-1.6887,1.8417-.7844.4094-1.5775.4862-2.3788.2301-.8019-.2557-1.4245-.7585-1.8673-1.5091l-16.3198-26.5522h-10.7947v25.0175c0,.8874-.316,1.6372-.9468,2.2511-.6314.6139-1.3902.9208-2.2764.9208-.8874,0-1.6462-.3069-2.277-.9208-.6314-.6139-.9461-1.3636-.9461-2.2511v-59.1413c0-.9208.3148-1.6796.9461-2.2767.6308-.5964,1.3895-.8952,2.277-.8952h17.1898c2.6935,0,5.2184.4781,7.5716,1.4323,2.3532.9555,4.3997,2.2689,6.139,3.9394,1.7399,1.6715,3.112,3.65,4.1187,5.9345,1.0055,2.2854,1.5088,4.7582,1.5088,7.4183ZM270.5925,255.4282v24.5057h14.0179c1.8417,0,3.5466-.3326,5.116-.9977,1.5682-.6648,2.924-1.5604,4.0668-2.6857,1.1422-1.1257,2.0378-2.4303,2.686-3.9138.6476-1.4835.9724-3.0439.9724-4.6811,0-1.7396-.3329-3.3511-.998-4.8347-.6651-1.4838-1.5694-2.7707-2.7116-3.8626-1.1429-1.091-2.5068-1.9522-4.0924-2.5836-1.5863-.6308-3.2999-.9465-5.1416-.9465h-13.9154Z'/%3e%3cpath%20class='cls-6'%20d='M356.464,251.2331c4.0419,1.7396,7.5722,4.1184,10.5905,7.137,3.0183,3.0183,5.4052,6.5405,7.1626,10.5646,1.7561,4.0247,2.6342,8.3392,2.6342,12.9434,0,3.0698-.4009,6.0291-1.2022,8.8762-.8013,2.8484-1.9185,5.4998-3.3505,7.9557-1.4326,2.4556-3.1719,4.7067-5.2184,6.7529-2.0465,2.0465-4.2979,3.7861-6.7535,5.2184-2.4556,1.4326-5.1079,2.5502-7.9551,3.3511-2.8484.8009-5.8067,1.2022-8.8762,1.2022s-6.0291-.4013-8.8762-1.2022c-2.8484-.8009-5.5001-1.9185-7.9557-3.3511-2.4556-1.4323-4.6901-3.1719-6.7023-5.2184-2.0128-2.0462-3.7346-4.2973-5.1666-6.7529-1.4326-2.4559-2.5418-5.1073-3.3255-7.9557-.785-2.8472-1.1766-5.8064-1.1766-8.8762s.3916-6.0194,1.1766-8.8506c.7838-2.8306,1.8929-5.4742,3.3255-7.9298,1.432-2.4559,3.1538-4.6979,5.1666-6.7276,2.0122-2.029,4.2467-3.7683,6.7023-5.2184,2.4556-1.4492,5.1073-2.5661,7.9557-3.3508,2.8472-.7844,5.8061-1.1769,8.8762-1.1769,4.6039,0,8.9274.8699,12.9687,2.6092ZM333.0328,257.2187c-3.2575,1.3989-6.0878,3.3087-8.4928,5.7299-2.4044,2.4222-4.306,5.2528-5.7043,8.4928-1.3989,3.2406-2.0977,6.7195-2.0977,10.4366,0,3.7524.6988,7.2569,2.0977,10.5134,1.3983,3.2575,3.2999,6.0968,5.7043,8.5184,2.405,2.4222,5.2353,4.3316,8.4928,5.7299,3.2568,1.3989,6.761,2.0974,10.5137,2.0974,3.7171,0,7.2044-.6985,10.4619-2.0974,3.2568-1.3983,6.0959-3.3077,8.5184-5.7299,2.4212-2.4216,4.331-5.2609,5.7299-8.5184,1.3983-3.2565,2.0977-6.761,2.0977-10.5134,0-3.7171-.6995-7.196-2.0977-10.4366-1.3989-3.24-3.3087-6.0706-5.7299-8.4928-2.4225-2.4212-5.2615-4.331-8.5184-5.7299-3.2575-1.398-6.7448-2.0974-10.4619-2.0974-3.7527,0-7.2569.6995-10.5137,2.0974Z'/%3e%3c/g%3e%3c/svg%3e",_g=({title:e,isLoading:t,zIndex:r=9999,sx:n})=>t?T.jsx(le.ThemeProvider,{theme:mt,children:T.jsxs(le.Box,{className:"HttpRequestSpinnerCount",sx:{position:"fixed",height:"100%",width:"100%",background:"rgba(255, 255, 255, 0.5)",backdropFilter:"blur(5px)",top:0,left:0,display:"flex",justifyContent:"center",alignItems:"center",zIndex:r,...n},children:[T.jsxs(le.Box,{sx:{width:"auto",display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",fontFamily:"Nunito, Segoe UI, sans-serif"},children:[T.jsx("img",{src:jg,alt:"Logo ADPRO",className:"imagenLogoADPRO",width:"120px",style:{zIndex:10}}),T.jsxs(le.Box,{sx:{display:"flex",gap:"5px"},children:[T.jsx("div",{className:"pointLoading",style:{animationDelay:"0s"},children:"•"}),T.jsx("div",{className:"pointLoading",style:{animationDelay:"0.2s"},children:"•"}),T.jsx("div",{className:"pointLoading",style:{animationDelay:"0.4s"},children:"•"})]}),T.jsx(le.Box,{display:"flex",justifyContent:"center",alignItems:"center",children:T.jsx(le.Typography,{variant:"h5",sx:{color:"#10184099"},mt:1,children:e})})]}),T.jsx("style",{type:"text/css",children:`
|
|
535
535
|
|
|
536
536
|
.pointLoading {
|
|
537
537
|
color: rgb(10, 91, 94);
|
package/dist/adpro-react.es.js
CHANGED
|
@@ -27876,7 +27876,8 @@ const xb = f.forwardRef(function(t, r) {
|
|
|
27876
27876
|
placeholder: l ? "" : r,
|
|
27877
27877
|
fullWidth: !0
|
|
27878
27878
|
}
|
|
27879
|
-
)
|
|
27879
|
+
),
|
|
27880
|
+
onOpen: e.onOpen
|
|
27880
27881
|
}
|
|
27881
27882
|
) });
|
|
27882
27883
|
}, Ds = "DD/MM/YYYY", As = (e, t) => {
|
|
@@ -12,6 +12,7 @@ export interface MultiSelectADPROProps<T extends Record<string, any>> {
|
|
|
12
12
|
customTheme?: Theme;
|
|
13
13
|
disableAutoSelectTodos?: boolean;
|
|
14
14
|
showId?: boolean;
|
|
15
|
+
onOpen?: () => void;
|
|
15
16
|
}
|
|
16
17
|
export declare function useMultiSelectADPRO<T extends Record<string, any>>(props: MultiSelectADPROProps<T>): {
|
|
17
18
|
updatedOptions: T[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMultiSelectADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/multiSelectADPRO/hook/useMultiSelectADPRO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAChE,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,UAAU,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useMultiSelectADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/multiSelectADPRO/hook/useMultiSelectADPRO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAChE,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,UAAU,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7D,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC;;sBAwBN,GAAG,eAAe,CAAC,EAAE;;EA0BjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/multiSelectADPRO/view/MultiSelectADPRO.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAuB,MAAM,6BAA6B,CAAC;AAyDzF,eAAO,MAAM,gBAAgB,GACxB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"MultiSelectADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/multiSelectADPRO/view/MultiSelectADPRO.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAuB,MAAM,6BAA6B,CAAC;AAyDzF,eAAO,MAAM,gBAAgB,GACxB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,4CAgF9D,CAAC"}
|
package/dist/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AA2IA,eAAO,MAAM,KAAK,+
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AA2IA,eAAO,MAAM,KAAK,+CA8XjB,CAAA"}
|